autotool.patch 503 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925
  1. diff -Nur strongswan-4.4.1.orig/configure strongswan-4.4.1/configure
  2. --- strongswan-4.4.1.orig/configure 2010-07-29 20:11:18.000000000 +0200
  3. +++ strongswan-4.4.1/configure 2010-07-31 21:12:35.784499923 +0200
  4. @@ -171,7 +171,15 @@
  5. as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
  6. eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
  7. test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
  8. -test \$(( 1 + 1 )) = 2 || exit 1"
  9. +test \$(( 1 + 1 )) = 2 || exit 1
  10. +
  11. + test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
  12. + ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  13. + ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
  14. + ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
  15. + PATH=/empty FPATH=/empty; export PATH FPATH
  16. + test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
  17. + || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
  18. if (eval "$as_required") 2>/dev/null; then :
  19. as_have_required=yes
  20. else
  21. @@ -525,155 +533,8 @@
  22. # Sed expression to map a string onto a valid variable name.
  23. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  24. -
  25. -
  26. -# Check that we are running under the correct shell.
  27. SHELL=${CONFIG_SHELL-/bin/sh}
  28. -case X$lt_ECHO in
  29. -X*--fallback-echo)
  30. - # Remove one level of quotation (which was required for Make).
  31. - ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
  32. - ;;
  33. -esac
  34. -
  35. -ECHO=${lt_ECHO-echo}
  36. -if test "X$1" = X--no-reexec; then
  37. - # Discard the --no-reexec flag, and continue.
  38. - shift
  39. -elif test "X$1" = X--fallback-echo; then
  40. - # Avoid inline document here, it may be left over
  41. - :
  42. -elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
  43. - # Yippee, $ECHO works!
  44. - :
  45. -else
  46. - # Restart under the correct shell.
  47. - exec $SHELL "$0" --no-reexec ${1+"$@"}
  48. -fi
  49. -
  50. -if test "X$1" = X--fallback-echo; then
  51. - # used as fallback echo
  52. - shift
  53. - cat <<_LT_EOF
  54. -$*
  55. -_LT_EOF
  56. - exit 0
  57. -fi
  58. -
  59. -# The HP-UX ksh and POSIX shell print the target directory to stdout
  60. -# if CDPATH is set.
  61. -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  62. -
  63. -if test -z "$lt_ECHO"; then
  64. - if test "X${echo_test_string+set}" != Xset; then
  65. - # find a string as large as possible, as long as the shell can cope with it
  66. - for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
  67. - # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
  68. - if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
  69. - { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
  70. - then
  71. - break
  72. - fi
  73. - done
  74. - fi
  75. -
  76. - if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
  77. - echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
  78. - test "X$echo_testing_string" = "X$echo_test_string"; then
  79. - :
  80. - else
  81. - # The Solaris, AIX, and Digital Unix default echo programs unquote
  82. - # backslashes. This makes it impossible to quote backslashes using
  83. - # echo "$something" | sed 's/\\/\\\\/g'
  84. - #
  85. - # So, first we look for a working echo in the user's PATH.
  86. -
  87. - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  88. - for dir in $PATH /usr/ucb; do
  89. - IFS="$lt_save_ifs"
  90. - if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
  91. - test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
  92. - echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
  93. - test "X$echo_testing_string" = "X$echo_test_string"; then
  94. - ECHO="$dir/echo"
  95. - break
  96. - fi
  97. - done
  98. - IFS="$lt_save_ifs"
  99. -
  100. - if test "X$ECHO" = Xecho; then
  101. - # We didn't find a better echo, so look for alternatives.
  102. - if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
  103. - echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
  104. - test "X$echo_testing_string" = "X$echo_test_string"; then
  105. - # This shell has a builtin print -r that does the trick.
  106. - ECHO='print -r'
  107. - elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
  108. - test "X$CONFIG_SHELL" != X/bin/ksh; then
  109. - # If we have ksh, try running configure again with it.
  110. - ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
  111. - export ORIGINAL_CONFIG_SHELL
  112. - CONFIG_SHELL=/bin/ksh
  113. - export CONFIG_SHELL
  114. - exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
  115. - else
  116. - # Try using printf.
  117. - ECHO='printf %s\n'
  118. - if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
  119. - echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
  120. - test "X$echo_testing_string" = "X$echo_test_string"; then
  121. - # Cool, printf works
  122. - :
  123. - elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
  124. - test "X$echo_testing_string" = 'X\t' &&
  125. - echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
  126. - test "X$echo_testing_string" = "X$echo_test_string"; then
  127. - CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
  128. - export CONFIG_SHELL
  129. - SHELL="$CONFIG_SHELL"
  130. - export SHELL
  131. - ECHO="$CONFIG_SHELL $0 --fallback-echo"
  132. - elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
  133. - test "X$echo_testing_string" = 'X\t' &&
  134. - echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
  135. - test "X$echo_testing_string" = "X$echo_test_string"; then
  136. - ECHO="$CONFIG_SHELL $0 --fallback-echo"
  137. - else
  138. - # maybe with a smaller string...
  139. - prev=:
  140. -
  141. - for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
  142. - if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
  143. - then
  144. - break
  145. - fi
  146. - prev="$cmd"
  147. - done
  148. -
  149. - if test "$prev" != 'sed 50q "$0"'; then
  150. - echo_test_string=`eval $prev`
  151. - export echo_test_string
  152. - exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
  153. - else
  154. - # Oops. We lost completely, so just stick with echo.
  155. - ECHO=echo
  156. - fi
  157. - fi
  158. - fi
  159. - fi
  160. - fi
  161. -fi
  162. -
  163. -# Copy echo and quote the copy suitably for passing to libtool from
  164. -# the Makefile, instead of quoting the original, which is used later.
  165. -lt_ECHO=$ECHO
  166. -if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
  167. - lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
  168. -fi
  169. -
  170. -
  171. -
  172. test -n "$DJDIR" || exec 7<&0 </dev/null
  173. exec 6>&1
  174. @@ -959,9 +820,10 @@
  175. LIPO
  176. NMEDIT
  177. DSYMUTIL
  178. -lt_ECHO
  179. +MANIFEST_TOOL
  180. RANLIB
  181. AR
  182. +DLLTOOL
  183. OBJDUMP
  184. LN_S
  185. NM
  186. @@ -6969,8 +6831,8 @@
  187. -macro_version='2.2.6b'
  188. -macro_revision='1.3017'
  189. +macro_version='2.2.11a'
  190. +macro_revision='1.3216'
  191. @@ -6986,6 +6848,75 @@
  192. ltmain="$ac_aux_dir/ltmain.sh"
  193. +# Backslashify metacharacters that are still active within
  194. +# double-quoted strings.
  195. +sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
  196. +
  197. +# Same as above, but do not quote variable references.
  198. +double_quote_subst='s/\(["`\\]\)/\\\1/g'
  199. +
  200. +# Sed substitution to delay expansion of an escaped shell variable in a
  201. +# double_quote_subst'ed string.
  202. +delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
  203. +
  204. +# Sed substitution to delay expansion of an escaped single quote.
  205. +delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
  206. +
  207. +# Sed substitution to avoid accidental globbing in evaled expressions
  208. +no_glob_subst='s/\*/\\\*/g'
  209. +
  210. +ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  211. +ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
  212. +ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
  213. +
  214. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
  215. +$as_echo_n "checking how to print strings... " >&6; }
  216. +# Test print first, because it will be a builtin if present.
  217. +if test "X`print -r -- -n 2>/dev/null`" = X-n && \
  218. + test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
  219. + ECHO='print -r --'
  220. +elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
  221. + ECHO='printf %s\n'
  222. +else
  223. + # Use this function as a fallback that always works.
  224. + func_fallback_echo ()
  225. + {
  226. + eval 'cat <<_LTECHO_EOF
  227. +$1
  228. +_LTECHO_EOF'
  229. + }
  230. + ECHO='func_fallback_echo'
  231. +fi
  232. +
  233. +# func_echo_all arg...
  234. +# Invoke $ECHO with all args, space-separated.
  235. +func_echo_all ()
  236. +{
  237. + $ECHO ""
  238. +}
  239. +
  240. +case "$ECHO" in
  241. + printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
  242. +$as_echo "printf" >&6; } ;;
  243. + print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
  244. +$as_echo "print -r" >&6; } ;;
  245. + *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
  246. +$as_echo "cat" >&6; } ;;
  247. +esac
  248. +
  249. +
  250. +
  251. +
  252. +
  253. +
  254. +
  255. +
  256. +
  257. +
  258. +
  259. +
  260. +
  261. +
  262. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
  263. $as_echo_n "checking for a sed that does not truncate output... " >&6; }
  264. if test "${ac_cv_path_SED+set}" = set; then :
  265. @@ -7321,8 +7252,11 @@
  266. NM="$lt_cv_path_NM"
  267. else
  268. # Didn't find any BSD compatible name lister, look for dumpbin.
  269. - if test -n "$ac_tool_prefix"; then
  270. - for ac_prog in "dumpbin -symbols" "link -dump -symbols"
  271. + if test -n "$DUMPBIN"; then :
  272. + # Let the user override the test.
  273. + else
  274. + if test -n "$ac_tool_prefix"; then
  275. + for ac_prog in dumpbin "link -dump"
  276. do
  277. # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  278. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  279. @@ -7366,7 +7300,7 @@
  280. fi
  281. if test -z "$DUMPBIN"; then
  282. ac_ct_DUMPBIN=$DUMPBIN
  283. - for ac_prog in "dumpbin -symbols" "link -dump -symbols"
  284. + for ac_prog in dumpbin "link -dump"
  285. do
  286. # Extract the first word of "$ac_prog", so it can be a program name with args.
  287. set dummy $ac_prog; ac_word=$2
  288. @@ -7421,6 +7355,15 @@
  289. fi
  290. fi
  291. + case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
  292. + *COFF*)
  293. + DUMPBIN="$DUMPBIN -symbols"
  294. + ;;
  295. + *)
  296. + DUMPBIN=:
  297. + ;;
  298. + esac
  299. + fi
  300. if test "$DUMPBIN" != ":"; then
  301. NM="$DUMPBIN"
  302. @@ -7440,13 +7383,13 @@
  303. else
  304. lt_cv_nm_interface="BSD nm"
  305. echo "int some_variable = 0;" > conftest.$ac_ext
  306. - (eval echo "\"\$as_me:7443: $ac_compile\"" >&5)
  307. + (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
  308. (eval "$ac_compile" 2>conftest.err)
  309. cat conftest.err >&5
  310. - (eval echo "\"\$as_me:7446: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
  311. + (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
  312. (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
  313. cat conftest.err >&5
  314. - (eval echo "\"\$as_me:7449: output\"" >&5)
  315. + (eval echo "\"\$as_me:$LINENO: output\"" >&5)
  316. cat conftest.out >&5
  317. if $GREP 'External.*some_variable' conftest.out > /dev/null; then
  318. lt_cv_nm_interface="MS dumpbin"
  319. @@ -7503,6 +7446,11 @@
  320. lt_cv_sys_max_cmd_len=8192;
  321. ;;
  322. + mint*)
  323. + # On MiNT this can take a long time and run out of memory.
  324. + lt_cv_sys_max_cmd_len=8192;
  325. + ;;
  326. +
  327. amigaos*)
  328. # On AmigaOS with pdksh, this test takes hours, literally.
  329. # So we just punt and use a minimum line length of 8192.
  330. @@ -7567,8 +7515,8 @@
  331. # If test is not a shell built-in, we'll probably end up computing a
  332. # maximum length that is only half of the actual maximum length, but
  333. # we can't tell.
  334. - while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
  335. - = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
  336. + while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
  337. + = "X$teststring$teststring"; } >/dev/null 2>&1 &&
  338. test $i != 17 # 1/2 MB should be enough
  339. do
  340. i=`expr $i + 1`
  341. @@ -7610,8 +7558,8 @@
  342. # Try some XSI features
  343. xsi_shell=no
  344. ( _lt_dummy="a/b/c"
  345. - test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
  346. - = c,a/b,, \
  347. + test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
  348. + = c,a/b,b/c, \
  349. && eval 'test $(( 1 + 1 )) -eq 2 \
  350. && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
  351. && xsi_shell=yes
  352. @@ -7839,16 +7787,18 @@
  353. # Base MSYS/MinGW do not provide the 'file' command needed by
  354. # func_win32_libid shell function, so use a weaker test based on 'objdump',
  355. # unless we find 'file', for example because we are cross-compiling.
  356. - if ( file / ) >/dev/null 2>&1; then
  357. + # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
  358. + if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
  359. lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
  360. lt_cv_file_magic_cmd='func_win32_libid'
  361. else
  362. - lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
  363. + # Keep this pattern in sync with the one in func_win32_libid.
  364. + lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
  365. lt_cv_file_magic_cmd='$OBJDUMP -f'
  366. fi
  367. ;;
  368. -cegcc)
  369. +cegcc*)
  370. # use the weaker test based on 'objdump'. See mingw*.
  371. lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
  372. lt_cv_file_magic_cmd='$OBJDUMP -f'
  373. @@ -7878,6 +7828,10 @@
  374. lt_cv_deplibs_check_method=pass_all
  375. ;;
  376. +haiku*)
  377. + lt_cv_deplibs_check_method=pass_all
  378. + ;;
  379. +
  380. hpux10.20* | hpux11*)
  381. lt_cv_file_magic_cmd=/usr/bin/file
  382. case $host_cpu in
  383. @@ -7886,11 +7840,11 @@
  384. lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
  385. ;;
  386. hppa*64*)
  387. - 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]'
  388. + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
  389. lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
  390. ;;
  391. *)
  392. - lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
  393. + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
  394. lt_cv_file_magic_test_file=/usr/lib/libc.sl
  395. ;;
  396. esac
  397. @@ -7916,7 +7870,7 @@
  398. lt_cv_deplibs_check_method=pass_all
  399. ;;
  400. -netbsd* | netbsdelf*-gnu)
  401. +netbsd*)
  402. if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
  403. lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
  404. else
  405. @@ -7993,6 +7947,21 @@
  406. fi
  407. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
  408. $as_echo "$lt_cv_deplibs_check_method" >&6; }
  409. +
  410. +file_magic_glob=
  411. +want_nocaseglob=no
  412. +if test "$build" = "$host"; then
  413. + case $host_os in
  414. + mingw* | pw32*)
  415. + if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
  416. + want_nocaseglob=yes
  417. + else
  418. + file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
  419. + fi
  420. + ;;
  421. + esac
  422. +fi
  423. +
  424. file_magic_cmd=$lt_cv_file_magic_cmd
  425. deplibs_check_method=$lt_cv_deplibs_check_method
  426. test -z "$deplibs_check_method" && deplibs_check_method=unknown
  427. @@ -8008,6 +7977,157 @@
  428. +
  429. +
  430. +
  431. +
  432. +
  433. +
  434. +
  435. +
  436. +
  437. +
  438. +if test -n "$ac_tool_prefix"; then
  439. + # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
  440. +set dummy ${ac_tool_prefix}dlltool; ac_word=$2
  441. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  442. +$as_echo_n "checking for $ac_word... " >&6; }
  443. +if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
  444. + $as_echo_n "(cached) " >&6
  445. +else
  446. + if test -n "$DLLTOOL"; then
  447. + ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
  448. +else
  449. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  450. +for as_dir in $PATH
  451. +do
  452. + IFS=$as_save_IFS
  453. + test -z "$as_dir" && as_dir=.
  454. + for ac_exec_ext in '' $ac_executable_extensions; do
  455. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  456. + ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
  457. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  458. + break 2
  459. + fi
  460. +done
  461. + done
  462. +IFS=$as_save_IFS
  463. +
  464. +fi
  465. +fi
  466. +DLLTOOL=$ac_cv_prog_DLLTOOL
  467. +if test -n "$DLLTOOL"; then
  468. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
  469. +$as_echo "$DLLTOOL" >&6; }
  470. +else
  471. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  472. +$as_echo "no" >&6; }
  473. +fi
  474. +
  475. +
  476. +fi
  477. +if test -z "$ac_cv_prog_DLLTOOL"; then
  478. + ac_ct_DLLTOOL=$DLLTOOL
  479. + # Extract the first word of "dlltool", so it can be a program name with args.
  480. +set dummy dlltool; ac_word=$2
  481. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  482. +$as_echo_n "checking for $ac_word... " >&6; }
  483. +if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then :
  484. + $as_echo_n "(cached) " >&6
  485. +else
  486. + if test -n "$ac_ct_DLLTOOL"; then
  487. + ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
  488. +else
  489. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  490. +for as_dir in $PATH
  491. +do
  492. + IFS=$as_save_IFS
  493. + test -z "$as_dir" && as_dir=.
  494. + for ac_exec_ext in '' $ac_executable_extensions; do
  495. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  496. + ac_cv_prog_ac_ct_DLLTOOL="dlltool"
  497. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  498. + break 2
  499. + fi
  500. +done
  501. + done
  502. +IFS=$as_save_IFS
  503. +
  504. +fi
  505. +fi
  506. +ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
  507. +if test -n "$ac_ct_DLLTOOL"; then
  508. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
  509. +$as_echo "$ac_ct_DLLTOOL" >&6; }
  510. +else
  511. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  512. +$as_echo "no" >&6; }
  513. +fi
  514. +
  515. + if test "x$ac_ct_DLLTOOL" = x; then
  516. + DLLTOOL="false"
  517. + else
  518. + case $cross_compiling:$ac_tool_warned in
  519. +yes:)
  520. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  521. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  522. +ac_tool_warned=yes ;;
  523. +esac
  524. + DLLTOOL=$ac_ct_DLLTOOL
  525. + fi
  526. +else
  527. + DLLTOOL="$ac_cv_prog_DLLTOOL"
  528. +fi
  529. +
  530. +test -z "$DLLTOOL" && DLLTOOL=dlltool
  531. +
  532. +
  533. +
  534. +
  535. +
  536. +
  537. +
  538. +
  539. +
  540. +
  541. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
  542. +$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
  543. +if test "${lt_cv_sharedlib_from_linklib_cmd+set}" = set; then :
  544. + $as_echo_n "(cached) " >&6
  545. +else
  546. + lt_cv_sharedlib_from_linklib_cmd='unknown'
  547. +
  548. +case $host_os in
  549. +cygwin* | mingw* | pw32* | cegcc*)
  550. + # two different shell functions defined in ltmain.sh
  551. + # decide which to use based on capabilities of $DLLTOOL
  552. + case `$DLLTOOL --help 2>&1` in
  553. + *--identify-strict*)
  554. + lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
  555. + ;;
  556. + *)
  557. + lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
  558. + ;;
  559. + esac
  560. + ;;
  561. +*)
  562. + # fallback: assume linklib IS sharedlib
  563. + lt_cv_sharedlib_from_linklib_cmd="$ECHO"
  564. + ;;
  565. +esac
  566. +
  567. +fi
  568. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
  569. +$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
  570. +sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
  571. +test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
  572. +
  573. +
  574. +
  575. +
  576. +
  577. +
  578. +
  579. if test -n "$ac_tool_prefix"; then
  580. # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
  581. set dummy ${ac_tool_prefix}ar; ac_word=$2
  582. @@ -8328,6 +8448,18 @@
  583. old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
  584. fi
  585. +case $host_os in
  586. + darwin*)
  587. + lock_old_archive_extraction=yes ;;
  588. + *)
  589. + lock_old_archive_extraction=no ;;
  590. +esac
  591. +
  592. +
  593. +
  594. +
  595. +
  596. +
  597. @@ -8435,8 +8567,8 @@
  598. lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
  599. # Transform an extracted symbol line into symbol name and symbol address
  600. -lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
  601. -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'"
  602. +lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
  603. +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'"
  604. # Handle CRLF in mingw tool chain
  605. opt_cr=
  606. @@ -8497,8 +8629,8 @@
  607. test $ac_status = 0; }; then
  608. # Now try to grab the symbols.
  609. nlist=conftest.nm
  610. - if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
  611. - (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
  612. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
  613. + (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
  614. ac_status=$?
  615. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  616. test $ac_status = 0; } && test -s "$nlist"; then
  617. @@ -8599,6 +8731,18 @@
  618. $as_echo "ok" >&6; }
  619. fi
  620. +# Response file support.
  621. +if test "$lt_cv_nm_interface" = "MS dumpbin"; then
  622. + nm_file_list_spec='@'
  623. +elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
  624. + nm_file_list_spec='@'
  625. +fi
  626. +
  627. +
  628. +
  629. +
  630. +
  631. +
  632. @@ -8651,7 +8795,7 @@
  633. ;;
  634. *-*-irix6*)
  635. # Find out which ABI we are using.
  636. - echo '#line 8654 "configure"' > conftest.$ac_ext
  637. + echo '#line '$LINENO' "configure"' > conftest.$ac_ext
  638. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  639. (eval $ac_compile) 2>&5
  640. ac_status=$?
  641. @@ -8813,6 +8957,123 @@
  642. need_locks="$enable_libtool_lock"
  643. +if test -n "$ac_tool_prefix"; then
  644. + # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
  645. +set dummy ${ac_tool_prefix}mt; ac_word=$2
  646. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  647. +$as_echo_n "checking for $ac_word... " >&6; }
  648. +if test "${ac_cv_prog_MANIFEST_TOOL+set}" = set; then :
  649. + $as_echo_n "(cached) " >&6
  650. +else
  651. + if test -n "$MANIFEST_TOOL"; then
  652. + ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
  653. +else
  654. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  655. +for as_dir in $PATH
  656. +do
  657. + IFS=$as_save_IFS
  658. + test -z "$as_dir" && as_dir=.
  659. + for ac_exec_ext in '' $ac_executable_extensions; do
  660. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  661. + ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
  662. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  663. + break 2
  664. + fi
  665. +done
  666. + done
  667. +IFS=$as_save_IFS
  668. +
  669. +fi
  670. +fi
  671. +MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
  672. +if test -n "$MANIFEST_TOOL"; then
  673. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
  674. +$as_echo "$MANIFEST_TOOL" >&6; }
  675. +else
  676. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  677. +$as_echo "no" >&6; }
  678. +fi
  679. +
  680. +
  681. +fi
  682. +if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
  683. + ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
  684. + # Extract the first word of "mt", so it can be a program name with args.
  685. +set dummy mt; ac_word=$2
  686. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  687. +$as_echo_n "checking for $ac_word... " >&6; }
  688. +if test "${ac_cv_prog_ac_ct_MANIFEST_TOOL+set}" = set; then :
  689. + $as_echo_n "(cached) " >&6
  690. +else
  691. + if test -n "$ac_ct_MANIFEST_TOOL"; then
  692. + ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
  693. +else
  694. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  695. +for as_dir in $PATH
  696. +do
  697. + IFS=$as_save_IFS
  698. + test -z "$as_dir" && as_dir=.
  699. + for ac_exec_ext in '' $ac_executable_extensions; do
  700. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  701. + ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
  702. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  703. + break 2
  704. + fi
  705. +done
  706. + done
  707. +IFS=$as_save_IFS
  708. +
  709. +fi
  710. +fi
  711. +ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
  712. +if test -n "$ac_ct_MANIFEST_TOOL"; then
  713. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
  714. +$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
  715. +else
  716. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  717. +$as_echo "no" >&6; }
  718. +fi
  719. +
  720. + if test "x$ac_ct_MANIFEST_TOOL" = x; then
  721. + MANIFEST_TOOL=":"
  722. + else
  723. + case $cross_compiling:$ac_tool_warned in
  724. +yes:)
  725. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  726. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  727. +ac_tool_warned=yes ;;
  728. +esac
  729. + MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
  730. + fi
  731. +else
  732. + MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
  733. +fi
  734. +
  735. +test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
  736. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
  737. +$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
  738. +if test "${lt_cv_path_mainfest_tool+set}" = set; then :
  739. + $as_echo_n "(cached) " >&6
  740. +else
  741. + lt_cv_path_mainfest_tool=no
  742. + echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
  743. + $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
  744. + cat conftest.err >&5
  745. + if $GREP 'Manifest Tool' conftest.out > /dev/null; then
  746. + lt_cv_path_mainfest_tool=yes
  747. + fi
  748. + rm -f conftest*
  749. +fi
  750. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
  751. +$as_echo "$lt_cv_path_mainfest_tool" >&6; }
  752. +if test "x$lt_cv_path_mainfest_tool" != xyes; then
  753. + MANIFEST_TOOL=:
  754. +fi
  755. +
  756. +
  757. +
  758. +
  759. +
  760. case $host_os in
  761. rhapsody* | darwin*)
  762. @@ -9363,6 +9624,38 @@
  763. fi
  764. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
  765. $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
  766. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
  767. +$as_echo_n "checking for -force_load linker flag... " >&6; }
  768. +if test "${lt_cv_ld_force_load+set}" = set; then :
  769. + $as_echo_n "(cached) " >&6
  770. +else
  771. + lt_cv_ld_force_load=no
  772. + cat > conftest.c << _LT_EOF
  773. +int forced_loaded() { return 2;}
  774. +_LT_EOF
  775. + echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
  776. + $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
  777. + echo "$AR cru libconftest.a conftest.o" >&5
  778. + $AR cru libconftest.a conftest.o 2>&5
  779. + echo "$RANLIB libconftest.a" >&5
  780. + $RANLIB libconftest.a 2>&5
  781. + cat > conftest.c << _LT_EOF
  782. +int main() { return 0;}
  783. +_LT_EOF
  784. + echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
  785. + $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
  786. + _lt_result=$?
  787. + if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
  788. + lt_cv_ld_force_load=yes
  789. + else
  790. + cat conftest.err >&5
  791. + fi
  792. + rm -f conftest.err libconftest.a conftest conftest.c
  793. + rm -rf conftest.dSYM
  794. +
  795. +fi
  796. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
  797. +$as_echo "$lt_cv_ld_force_load" >&6; }
  798. case $host_os in
  799. rhapsody* | darwin1.[012])
  800. _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
  801. @@ -9390,7 +9683,7 @@
  802. else
  803. _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
  804. fi
  805. - if test "$DSYMUTIL" != ":"; then
  806. + if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
  807. _lt_dsymutil='~$DSYMUTIL $lib || :'
  808. else
  809. _lt_dsymutil=
  810. @@ -9413,6 +9706,8 @@
  811. +
  812. +
  813. # Set options
  814. @@ -9565,6 +9860,7 @@
  815. +
  816. test -z "$LN_S" && LN_S="ln -s"
  817. @@ -9614,19 +9910,6 @@
  818. -
  819. -
  820. -
  821. -
  822. -
  823. -
  824. -
  825. -
  826. -
  827. -
  828. -
  829. -
  830. -
  831. case $host_os in
  832. aix3*)
  833. # AIX sometimes has problems with the GCC collect2 program. For some
  834. @@ -9639,23 +9922,6 @@
  835. ;;
  836. esac
  837. -# Sed substitution that helps us do robust quoting. It backslashifies
  838. -# metacharacters that are still active within double-quoted strings.
  839. -sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
  840. -
  841. -# Same as above, but do not quote variable references.
  842. -double_quote_subst='s/\(["`\\]\)/\\\1/g'
  843. -
  844. -# Sed substitution to delay expansion of an escaped shell variable in a
  845. -# double_quote_subst'ed string.
  846. -delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
  847. -
  848. -# Sed substitution to delay expansion of an escaped single quote.
  849. -delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
  850. -
  851. -# Sed substitution to avoid accidental globbing in evaled expressions
  852. -no_glob_subst='s/\*/\\\*/g'
  853. -
  854. # Global variables:
  855. ofile=libtool
  856. can_build_shared=yes
  857. @@ -9684,7 +9950,7 @@
  858. *) break;;
  859. esac
  860. done
  861. -cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
  862. +cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
  863. # Only perform the check for file, if the check method requires it
  864. @@ -9893,7 +10159,12 @@
  865. lt_prog_compiler_no_builtin_flag=
  866. if test "$GCC" = yes; then
  867. - lt_prog_compiler_no_builtin_flag=' -fno-builtin'
  868. + case $cc_basename in
  869. + nvcc*)
  870. + lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
  871. + *)
  872. + lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
  873. + esac
  874. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
  875. $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
  876. @@ -9913,15 +10184,15 @@
  877. -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  878. -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  879. -e 's:$: $lt_compiler_flag:'`
  880. - (eval echo "\"\$as_me:9916: $lt_compile\"" >&5)
  881. + (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  882. (eval "$lt_compile" 2>conftest.err)
  883. ac_status=$?
  884. cat conftest.err >&5
  885. - echo "$as_me:9920: \$? = $ac_status" >&5
  886. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  887. if (exit $ac_status) && test -s "$ac_outfile"; then
  888. # The compiler can only warn and ignore the option if not recognized
  889. # So say no if there are warnings other than the usual output.
  890. - $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
  891. + $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
  892. $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  893. if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  894. lt_cv_prog_compiler_rtti_exceptions=yes
  895. @@ -9950,8 +10221,6 @@
  896. lt_prog_compiler_pic=
  897. lt_prog_compiler_static=
  898. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
  899. -$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
  900. if test "$GCC" = yes; then
  901. lt_prog_compiler_wl='-Wl,'
  902. @@ -9999,6 +10268,12 @@
  903. lt_prog_compiler_pic='-fno-common'
  904. ;;
  905. + haiku*)
  906. + # PIC is the default for Haiku.
  907. + # The "-static" flag exists, but is broken.
  908. + lt_prog_compiler_static=
  909. + ;;
  910. +
  911. hpux*)
  912. # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
  913. # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
  914. @@ -10041,6 +10316,13 @@
  915. lt_prog_compiler_pic='-fPIC'
  916. ;;
  917. esac
  918. +
  919. + case $cc_basename in
  920. + nvcc*) # Cuda Compiler Driver 2.2
  921. + lt_prog_compiler_wl='-Xlinker '
  922. + lt_prog_compiler_pic='-Xcompiler -fPIC'
  923. + ;;
  924. + esac
  925. else
  926. # PORTME Check for flag to pass linker flags through the system compiler.
  927. case $host_os in
  928. @@ -10103,7 +10385,7 @@
  929. lt_prog_compiler_pic='--shared'
  930. lt_prog_compiler_static='--static'
  931. ;;
  932. - pgcc* | pgf77* | pgf90* | pgf95*)
  933. + pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
  934. # Portland Group compilers (*not* the Pentium gcc compiler,
  935. # which looks to be a dead project)
  936. lt_prog_compiler_wl='-Wl,'
  937. @@ -10115,25 +10397,25 @@
  938. # All Alpha code is PIC.
  939. lt_prog_compiler_static='-non_shared'
  940. ;;
  941. - xl*)
  942. - # IBM XL C 8.0/Fortran 10.1 on PPC
  943. + xl* | bgxl* | bgf* | mpixl*)
  944. + # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
  945. lt_prog_compiler_wl='-Wl,'
  946. lt_prog_compiler_pic='-qpic'
  947. lt_prog_compiler_static='-qstaticlink'
  948. ;;
  949. *)
  950. case `$CC -V 2>&1 | sed 5q` in
  951. - *Sun\ C*)
  952. - # Sun C 5.9
  953. + *Sun\ F* | *Sun*Fortran*)
  954. + # Sun Fortran 8.3 passes all unrecognized flags to the linker
  955. lt_prog_compiler_pic='-KPIC'
  956. lt_prog_compiler_static='-Bstatic'
  957. - lt_prog_compiler_wl='-Wl,'
  958. + lt_prog_compiler_wl=''
  959. ;;
  960. - *Sun\ F*)
  961. - # Sun Fortran 8.3 passes all unrecognized flags to the linker
  962. + *Sun\ C*)
  963. + # Sun C 5.9
  964. lt_prog_compiler_pic='-KPIC'
  965. lt_prog_compiler_static='-Bstatic'
  966. - lt_prog_compiler_wl=''
  967. + lt_prog_compiler_wl='-Wl,'
  968. ;;
  969. esac
  970. ;;
  971. @@ -10165,7 +10447,7 @@
  972. lt_prog_compiler_pic='-KPIC'
  973. lt_prog_compiler_static='-Bstatic'
  974. case $cc_basename in
  975. - f77* | f90* | f95*)
  976. + f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
  977. lt_prog_compiler_wl='-Qoption ld ';;
  978. *)
  979. lt_prog_compiler_wl='-Wl,';;
  980. @@ -10222,13 +10504,17 @@
  981. lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
  982. ;;
  983. esac
  984. -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
  985. -$as_echo "$lt_prog_compiler_pic" >&6; }
  986. -
  987. -
  988. -
  989. -
  990. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
  991. +$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
  992. +if test "${lt_cv_prog_compiler_pic+set}" = set; then :
  993. + $as_echo_n "(cached) " >&6
  994. +else
  995. + lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
  996. +fi
  997. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
  998. +$as_echo "$lt_cv_prog_compiler_pic" >&6; }
  999. +lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
  1000. #
  1001. # Check to make sure the PIC flag actually works.
  1002. @@ -10252,15 +10538,15 @@
  1003. -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  1004. -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  1005. -e 's:$: $lt_compiler_flag:'`
  1006. - (eval echo "\"\$as_me:10255: $lt_compile\"" >&5)
  1007. + (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  1008. (eval "$lt_compile" 2>conftest.err)
  1009. ac_status=$?
  1010. cat conftest.err >&5
  1011. - echo "$as_me:10259: \$? = $ac_status" >&5
  1012. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1013. if (exit $ac_status) && test -s "$ac_outfile"; then
  1014. # The compiler can only warn and ignore the option if not recognized
  1015. # So say no if there are warnings other than the usual output.
  1016. - $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
  1017. + $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
  1018. $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  1019. if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  1020. lt_cv_prog_compiler_pic_works=yes
  1021. @@ -10289,6 +10575,11 @@
  1022. +
  1023. +
  1024. +
  1025. +
  1026. +
  1027. #
  1028. # Check to make sure the static flag actually works.
  1029. #
  1030. @@ -10308,7 +10599,7 @@
  1031. if test -s conftest.err; then
  1032. # Append any errors to the config.log.
  1033. cat conftest.err 1>&5
  1034. - $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
  1035. + $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
  1036. $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  1037. if diff conftest.exp conftest.er2 >/dev/null; then
  1038. lt_cv_prog_compiler_static_works=yes
  1039. @@ -10357,16 +10648,16 @@
  1040. -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  1041. -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  1042. -e 's:$: $lt_compiler_flag:'`
  1043. - (eval echo "\"\$as_me:10360: $lt_compile\"" >&5)
  1044. + (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  1045. (eval "$lt_compile" 2>out/conftest.err)
  1046. ac_status=$?
  1047. cat out/conftest.err >&5
  1048. - echo "$as_me:10364: \$? = $ac_status" >&5
  1049. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1050. if (exit $ac_status) && test -s out/conftest2.$ac_objext
  1051. then
  1052. # The compiler can only warn and ignore the option if not recognized
  1053. # So say no if there are warnings
  1054. - $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
  1055. + $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
  1056. $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  1057. if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  1058. lt_cv_prog_compiler_c_o=yes
  1059. @@ -10412,16 +10703,16 @@
  1060. -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  1061. -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  1062. -e 's:$: $lt_compiler_flag:'`
  1063. - (eval echo "\"\$as_me:10415: $lt_compile\"" >&5)
  1064. + (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  1065. (eval "$lt_compile" 2>out/conftest.err)
  1066. ac_status=$?
  1067. cat out/conftest.err >&5
  1068. - echo "$as_me:10419: \$? = $ac_status" >&5
  1069. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1070. if (exit $ac_status) && test -s out/conftest2.$ac_objext
  1071. then
  1072. # The compiler can only warn and ignore the option if not recognized
  1073. # So say no if there are warnings
  1074. - $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
  1075. + $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
  1076. $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  1077. if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  1078. lt_cv_prog_compiler_c_o=yes
  1079. @@ -10531,13 +10822,36 @@
  1080. openbsd*)
  1081. with_gnu_ld=no
  1082. ;;
  1083. - linux* | k*bsd*-gnu)
  1084. - link_all_deplibs=no
  1085. - ;;
  1086. esac
  1087. ld_shlibs=yes
  1088. +
  1089. + # On some targets, GNU ld is compatible enough with the native linker
  1090. + # that we're better off using the native interface for both.
  1091. + lt_use_gnu_ld_interface=no
  1092. if test "$with_gnu_ld" = yes; then
  1093. + case $host_os in
  1094. + aix*)
  1095. + # The AIX port of GNU ld has always aspired to compatibility
  1096. + # with the native linker. However, as the warning in the GNU ld
  1097. + # block says, versions before 2.19.5* couldn't really create working
  1098. + # shared libraries, regardless of the interface used.
  1099. + case `$LD -v 2>&1` in
  1100. + *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
  1101. + *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
  1102. + *\ \(GNU\ Binutils\)\ [3-9]*) ;;
  1103. + *)
  1104. + lt_use_gnu_ld_interface=yes
  1105. + ;;
  1106. + esac
  1107. + ;;
  1108. + *)
  1109. + lt_use_gnu_ld_interface=yes
  1110. + ;;
  1111. + esac
  1112. + fi
  1113. +
  1114. + if test "$lt_use_gnu_ld_interface" = yes; then
  1115. # If archive_cmds runs LD, not CC, wlarc should be empty
  1116. wlarc='${wl}'
  1117. @@ -10571,11 +10885,12 @@
  1118. ld_shlibs=no
  1119. cat <<_LT_EOF 1>&2
  1120. -*** Warning: the GNU linker, at least up to release 2.9.1, is reported
  1121. +*** Warning: the GNU linker, at least up to release 2.19, is reported
  1122. *** to be unable to reliably create shared libraries on AIX.
  1123. *** Therefore, libtool is disabling shared libraries support. If you
  1124. -*** really care for shared libraries, you may want to modify your PATH
  1125. -*** so that a non-GNU linker is found, and then restart.
  1126. +*** really care for shared libraries, you may want to install binutils
  1127. +*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
  1128. +*** You will then need to restart the configuration process.
  1129. _LT_EOF
  1130. fi
  1131. @@ -10611,10 +10926,12 @@
  1132. # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
  1133. # as there is no search path for DLLs.
  1134. hardcode_libdir_flag_spec='-L$libdir'
  1135. + export_dynamic_flag_spec='${wl}--export-all-symbols'
  1136. allow_undefined_flag=unsupported
  1137. always_export_symbols=no
  1138. enable_shared_with_static_runtimes=yes
  1139. - export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
  1140. + export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
  1141. + exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
  1142. if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
  1143. archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  1144. @@ -10632,6 +10949,11 @@
  1145. fi
  1146. ;;
  1147. + haiku*)
  1148. + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  1149. + link_all_deplibs=yes
  1150. + ;;
  1151. +
  1152. interix[3-9]*)
  1153. hardcode_direct=no
  1154. hardcode_shlibpath_var=no
  1155. @@ -10661,11 +10983,12 @@
  1156. tmp_sharedflag='-shared'
  1157. case $cc_basename,$host_cpu in
  1158. pgcc*) # Portland Group C compiler
  1159. - 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'
  1160. + whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
  1161. tmp_addflag=' $pic_flag'
  1162. ;;
  1163. - pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
  1164. - 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'
  1165. + pgf77* | pgf90* | pgf95* | pgfortran*)
  1166. + # Portland Group f77 and f90 compilers
  1167. + whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
  1168. tmp_addflag=' $pic_flag -Mnomain' ;;
  1169. ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
  1170. tmp_addflag=' -i_dynamic' ;;
  1171. @@ -10676,13 +10999,17 @@
  1172. lf95*) # Lahey Fortran 8.1
  1173. whole_archive_flag_spec=
  1174. tmp_sharedflag='--shared' ;;
  1175. - xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
  1176. + xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
  1177. tmp_sharedflag='-qmkshrobj'
  1178. tmp_addflag= ;;
  1179. + nvcc*) # Cuda Compiler Driver 2.2
  1180. + whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
  1181. + compiler_needs_object=yes
  1182. + ;;
  1183. esac
  1184. case `$CC -V 2>&1 | sed 5q` in
  1185. *Sun\ C*) # Sun C 5.9
  1186. - 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'
  1187. + whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
  1188. compiler_needs_object=yes
  1189. tmp_sharedflag='-G' ;;
  1190. *Sun\ F*) # Sun Fortran 8.3
  1191. @@ -10698,17 +11025,17 @@
  1192. fi
  1193. case $cc_basename in
  1194. - xlf*)
  1195. + xlf* | bgf* | bgxlf* | mpixlf*)
  1196. # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
  1197. whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
  1198. hardcode_libdir_flag_spec=
  1199. hardcode_libdir_flag_spec_ld='-rpath $libdir'
  1200. - archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
  1201. + archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
  1202. if test "x$supports_anon_versioning" = xyes; then
  1203. archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
  1204. cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  1205. echo "local: *; };" >> $output_objdir/$libname.ver~
  1206. - $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
  1207. + $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
  1208. fi
  1209. ;;
  1210. esac
  1211. @@ -10717,7 +11044,7 @@
  1212. fi
  1213. ;;
  1214. - netbsd* | netbsdelf*-gnu)
  1215. + netbsd*)
  1216. if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  1217. archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
  1218. wlarc=
  1219. @@ -10829,8 +11156,10 @@
  1220. else
  1221. # If we're using GNU nm, then we don't want the "-C" option.
  1222. # -C means demangle to AIX nm, but means don't demangle with GNU nm
  1223. + # Also, AIX nm treats weak defined symbols like other global
  1224. + # defined symbols, whereas GNU nm marks them as "W".
  1225. if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
  1226. - 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'
  1227. + export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
  1228. else
  1229. 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'
  1230. fi
  1231. @@ -10892,7 +11221,6 @@
  1232. if test "$aix_use_runtimelinking" = yes; then
  1233. shared_flag="$shared_flag "'${wl}-G'
  1234. fi
  1235. - link_all_deplibs=no
  1236. else
  1237. # not using gcc
  1238. if test "$host_cpu" = ia64; then
  1239. @@ -10949,7 +11277,7 @@
  1240. if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  1241. hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
  1242. - 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"
  1243. + archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
  1244. else
  1245. if test "$host_cpu" = ia64; then
  1246. hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
  1247. @@ -10993,8 +11321,13 @@
  1248. # -berok will link without error, but may produce a broken library.
  1249. no_undefined_flag=' ${wl}-bernotok'
  1250. allow_undefined_flag=' ${wl}-berok'
  1251. - # Exported symbols can be pulled into shared objects from archives
  1252. - whole_archive_flag_spec='$convenience'
  1253. + if test "$with_gnu_ld" = yes; then
  1254. + # We only use this code for GNU lds that support --whole-archive.
  1255. + whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
  1256. + else
  1257. + # Exported symbols can be pulled into shared objects from archives
  1258. + whole_archive_flag_spec='$convenience'
  1259. + fi
  1260. archive_cmds_need_lc=yes
  1261. # This is similar to how AIX traditionally builds its shared libraries.
  1262. 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'
  1263. @@ -11026,20 +11359,60 @@
  1264. # Microsoft Visual C++.
  1265. # hardcode_libdir_flag_spec is actually meaningless, as there is
  1266. # no search path for DLLs.
  1267. - hardcode_libdir_flag_spec=' '
  1268. - allow_undefined_flag=unsupported
  1269. - # Tell ltmain to make .lib files, not .a files.
  1270. - libext=lib
  1271. - # Tell ltmain to make .dll files, not .so files.
  1272. - shrext_cmds=".dll"
  1273. - # FIXME: Setting linknames here is a bad hack.
  1274. - archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
  1275. - # The linker will automatically build a .lib file if we build a DLL.
  1276. - old_archive_from_new_cmds='true'
  1277. - # FIXME: Should let the user specify the lib program.
  1278. - old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
  1279. - fix_srcfile_path='`cygpath -w "$srcfile"`'
  1280. - enable_shared_with_static_runtimes=yes
  1281. + case $cc_basename in
  1282. + cl*)
  1283. + # Native MSVC
  1284. + hardcode_libdir_flag_spec=' '
  1285. + allow_undefined_flag=unsupported
  1286. + always_export_symbols=yes
  1287. + file_list_spec='@'
  1288. + # Tell ltmain to make .lib files, not .a files.
  1289. + libext=lib
  1290. + # Tell ltmain to make .dll files, not .so files.
  1291. + shrext_cmds=".dll"
  1292. + # FIXME: Setting linknames here is a bad hack.
  1293. + archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
  1294. + archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
  1295. + sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
  1296. + else
  1297. + sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
  1298. + fi~
  1299. + $CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs @$output_objdir/$soname.exp -Wl,-DLL~
  1300. + linknames='
  1301. + # The linker will not automatically build a static lib if we build a DLL.
  1302. + # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
  1303. + enable_shared_with_static_runtimes=yes
  1304. + export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
  1305. + # Don't use ranlib
  1306. + old_postinstall_cmds='chmod 644 $oldlib'
  1307. + postlink_cmds='lt_outputfile="@OUTPUT@"~
  1308. + case $lt_outputfile in
  1309. + *.exe|*.EXE) ;;
  1310. + *) lt_outputfile="$lt_outputfile.exe" ;;
  1311. + esac~
  1312. + if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
  1313. + $MANIFEST_TOOL -manifest "$lt_outputfile.manifest" -outputresource:"$lt_outputfile" || exit 1;
  1314. + $RM "$lt_outputfile.manifest";
  1315. + fi'
  1316. + ;;
  1317. + *)
  1318. + # Assume MSVC wrapper
  1319. + hardcode_libdir_flag_spec=' '
  1320. + allow_undefined_flag=unsupported
  1321. + # Tell ltmain to make .lib files, not .a files.
  1322. + libext=lib
  1323. + # Tell ltmain to make .dll files, not .so files.
  1324. + shrext_cmds=".dll"
  1325. + # FIXME: Setting linknames here is a bad hack.
  1326. + archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
  1327. + # The linker will automatically build a .lib file if we build a DLL.
  1328. + old_archive_from_new_cmds='true'
  1329. + # FIXME: Should let the user specify the lib program.
  1330. + old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
  1331. + fix_srcfile_path='`cygpath -w "$srcfile"`'
  1332. + enable_shared_with_static_runtimes=yes
  1333. + ;;
  1334. + esac
  1335. ;;
  1336. darwin* | rhapsody*)
  1337. @@ -11049,7 +11422,11 @@
  1338. hardcode_direct=no
  1339. hardcode_automatic=yes
  1340. hardcode_shlibpath_var=unsupported
  1341. - whole_archive_flag_spec=''
  1342. + if test "$lt_cv_ld_force_load" = "yes"; then
  1343. + whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
  1344. + else
  1345. + whole_archive_flag_spec=''
  1346. + fi
  1347. link_all_deplibs=yes
  1348. allow_undefined_flag="$_lt_dar_allow_undefined"
  1349. case $cc_basename in
  1350. @@ -11057,7 +11434,7 @@
  1351. *) _lt_dar_can_shared=$GCC ;;
  1352. esac
  1353. if test "$_lt_dar_can_shared" = "yes"; then
  1354. - output_verbose_link_cmd=echo
  1355. + output_verbose_link_cmd=func_echo_all
  1356. archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
  1357. module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
  1358. 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}"
  1359. @@ -11123,7 +11500,7 @@
  1360. ;;
  1361. hpux10*)
  1362. - if test "$GCC" = yes -a "$with_gnu_ld" = no; then
  1363. + if test "$GCC" = yes && test "$with_gnu_ld" = no; then
  1364. archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  1365. else
  1366. archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
  1367. @@ -11142,7 +11519,7 @@
  1368. ;;
  1369. hpux11*)
  1370. - if test "$GCC" = yes -a "$with_gnu_ld" = no; then
  1371. + if test "$GCC" = yes && test "$with_gnu_ld" = no; then
  1372. case $host_cpu in
  1373. hppa*64*)
  1374. archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  1375. @@ -11163,7 +11540,46 @@
  1376. archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  1377. ;;
  1378. *)
  1379. - archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  1380. +
  1381. + # Older versions of the 11.00 compiler do not understand -b yet
  1382. + # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
  1383. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
  1384. +$as_echo_n "checking if $CC understands -b... " >&6; }
  1385. +if test "${lt_cv_prog_compiler__b+set}" = set; then :
  1386. + $as_echo_n "(cached) " >&6
  1387. +else
  1388. + lt_cv_prog_compiler__b=no
  1389. + save_LDFLAGS="$LDFLAGS"
  1390. + LDFLAGS="$LDFLAGS -b"
  1391. + echo "$lt_simple_link_test_code" > conftest.$ac_ext
  1392. + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
  1393. + # The linker can only warn and ignore the option if not recognized
  1394. + # So say no if there are warnings
  1395. + if test -s conftest.err; then
  1396. + # Append any errors to the config.log.
  1397. + cat conftest.err 1>&5
  1398. + $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
  1399. + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  1400. + if diff conftest.exp conftest.er2 >/dev/null; then
  1401. + lt_cv_prog_compiler__b=yes
  1402. + fi
  1403. + else
  1404. + lt_cv_prog_compiler__b=yes
  1405. + fi
  1406. + fi
  1407. + $RM -r conftest*
  1408. + LDFLAGS="$save_LDFLAGS"
  1409. +
  1410. +fi
  1411. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
  1412. +$as_echo "$lt_cv_prog_compiler__b" >&6; }
  1413. +
  1414. +if test x"$lt_cv_prog_compiler__b" = xyes; then
  1415. + archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  1416. +else
  1417. + archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
  1418. +fi
  1419. +
  1420. ;;
  1421. esac
  1422. fi
  1423. @@ -11191,7 +11607,7 @@
  1424. irix5* | irix6* | nonstopux*)
  1425. if test "$GCC" = yes; then
  1426. - 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'
  1427. + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  1428. # Try to use the -exported_symbol ld option, if it does not
  1429. # work, assume that -exports_file does not work either and
  1430. # implicitly export all symbols.
  1431. @@ -11202,15 +11618,15 @@
  1432. int foo(void) {}
  1433. _ACEOF
  1434. if ac_fn_c_try_link "$LINENO"; then :
  1435. - 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'
  1436. + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
  1437. fi
  1438. rm -f core conftest.err conftest.$ac_objext \
  1439. conftest$ac_exeext conftest.$ac_ext
  1440. LDFLAGS="$save_LDFLAGS"
  1441. else
  1442. - 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'
  1443. - 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'
  1444. + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
  1445. + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
  1446. fi
  1447. archive_cmds_need_lc='no'
  1448. hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  1449. @@ -11219,7 +11635,7 @@
  1450. link_all_deplibs=yes
  1451. ;;
  1452. - netbsd* | netbsdelf*-gnu)
  1453. + netbsd*)
  1454. if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  1455. archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
  1456. else
  1457. @@ -11272,17 +11688,17 @@
  1458. hardcode_libdir_flag_spec='-L$libdir'
  1459. hardcode_minus_L=yes
  1460. allow_undefined_flag=unsupported
  1461. - 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'
  1462. + 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'
  1463. old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
  1464. ;;
  1465. osf3*)
  1466. if test "$GCC" = yes; then
  1467. allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
  1468. - 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'
  1469. + archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  1470. else
  1471. allow_undefined_flag=' -expect_unresolved \*'
  1472. - 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'
  1473. + archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
  1474. fi
  1475. archive_cmds_need_lc='no'
  1476. hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  1477. @@ -11292,13 +11708,13 @@
  1478. osf4* | osf5*) # as osf3* with the addition of -msym flag
  1479. if test "$GCC" = yes; then
  1480. allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
  1481. - 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'
  1482. + archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  1483. hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  1484. else
  1485. allow_undefined_flag=' -expect_unresolved \*'
  1486. - 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'
  1487. + archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
  1488. 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~
  1489. - $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'
  1490. + $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
  1491. # Both c and cxx compiler support -rpath directly
  1492. hardcode_libdir_flag_spec='-rpath $libdir'
  1493. @@ -11501,44 +11917,50 @@
  1494. # to ld, don't add -lc before -lgcc.
  1495. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
  1496. $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
  1497. - $RM conftest*
  1498. - echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  1499. +if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
  1500. + $as_echo_n "(cached) " >&6
  1501. +else
  1502. + $RM conftest*
  1503. + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  1504. - if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  1505. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  1506. (eval $ac_compile) 2>&5
  1507. ac_status=$?
  1508. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1509. test $ac_status = 0; } 2>conftest.err; then
  1510. - soname=conftest
  1511. - lib=conftest
  1512. - libobjs=conftest.$ac_objext
  1513. - deplibs=
  1514. - wl=$lt_prog_compiler_wl
  1515. - pic_flag=$lt_prog_compiler_pic
  1516. - compiler_flags=-v
  1517. - linker_flags=-v
  1518. - verstring=
  1519. - output_objdir=.
  1520. - libname=conftest
  1521. - lt_save_allow_undefined_flag=$allow_undefined_flag
  1522. - allow_undefined_flag=
  1523. - if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
  1524. + soname=conftest
  1525. + lib=conftest
  1526. + libobjs=conftest.$ac_objext
  1527. + deplibs=
  1528. + wl=$lt_prog_compiler_wl
  1529. + pic_flag=$lt_prog_compiler_pic
  1530. + compiler_flags=-v
  1531. + linker_flags=-v
  1532. + verstring=
  1533. + output_objdir=.
  1534. + libname=conftest
  1535. + lt_save_allow_undefined_flag=$allow_undefined_flag
  1536. + allow_undefined_flag=
  1537. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
  1538. (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
  1539. ac_status=$?
  1540. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1541. test $ac_status = 0; }
  1542. - then
  1543. - archive_cmds_need_lc=no
  1544. - else
  1545. - archive_cmds_need_lc=yes
  1546. - fi
  1547. - allow_undefined_flag=$lt_save_allow_undefined_flag
  1548. - else
  1549. - cat conftest.err 1>&5
  1550. - fi
  1551. - $RM conftest*
  1552. - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
  1553. -$as_echo "$archive_cmds_need_lc" >&6; }
  1554. + then
  1555. + lt_cv_archive_cmds_need_lc=no
  1556. + else
  1557. + lt_cv_archive_cmds_need_lc=yes
  1558. + fi
  1559. + allow_undefined_flag=$lt_save_allow_undefined_flag
  1560. + else
  1561. + cat conftest.err 1>&5
  1562. + fi
  1563. + $RM conftest*
  1564. +
  1565. +fi
  1566. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
  1567. +$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
  1568. + archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
  1569. ;;
  1570. esac
  1571. fi
  1572. @@ -11701,6 +12123,11 @@
  1573. +
  1574. +
  1575. +
  1576. +
  1577. +
  1578. { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
  1579. $as_echo_n "checking dynamic linker characteristics... " >&6; }
  1580. @@ -11709,16 +12136,23 @@
  1581. darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
  1582. *) lt_awk_arg="/^libraries:/" ;;
  1583. esac
  1584. - lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
  1585. - if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
  1586. + case $host_os in
  1587. + mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
  1588. + *) lt_sed_strip_eq="s,=/,/,g" ;;
  1589. + esac
  1590. + lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
  1591. + case $lt_search_path_spec in
  1592. + *\;*)
  1593. # if the path contains ";" then we assume it to be the separator
  1594. # otherwise default to the standard path separator (i.e. ":") - it is
  1595. # assumed that no part of a normal pathname contains ";" but that should
  1596. # okay in the real world where ";" in dirpaths is itself problematic.
  1597. - lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
  1598. - else
  1599. - lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
  1600. - fi
  1601. + lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
  1602. + ;;
  1603. + *)
  1604. + lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
  1605. + ;;
  1606. + esac
  1607. # Ok, now we have the path, separated by spaces, we can step through it
  1608. # and add multilib dir if necessary.
  1609. lt_tmp_lt_search_path_spec=
  1610. @@ -11731,7 +12165,7 @@
  1611. lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
  1612. fi
  1613. done
  1614. - lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
  1615. + lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
  1616. BEGIN {RS=" "; FS="/|\n";} {
  1617. lt_foo="";
  1618. lt_count=0;
  1619. @@ -11751,7 +12185,13 @@
  1620. if (lt_foo != "") { lt_freq[lt_foo]++; }
  1621. if (lt_freq[lt_foo] == 1) { print lt_foo; }
  1622. }'`
  1623. - sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
  1624. + # AWK program above erroneously prepends '/' to C:/dos/paths
  1625. + # for these hosts.
  1626. + case $host_os in
  1627. + mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
  1628. + $SED 's,/\([A-Za-z]:\),\1,g'` ;;
  1629. + esac
  1630. + sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
  1631. else
  1632. sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
  1633. fi
  1634. @@ -11839,7 +12279,7 @@
  1635. m68k)
  1636. library_names_spec='$libname.ixlibrary $libname.a'
  1637. # Create ${libname}_ixlibrary.a entries in /sys/libs.
  1638. - 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'
  1639. + finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
  1640. ;;
  1641. esac
  1642. ;;
  1643. @@ -11870,8 +12310,9 @@
  1644. need_version=no
  1645. need_lib_prefix=no
  1646. - case $GCC,$host_os in
  1647. - yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
  1648. + case $GCC,$cc_basename in
  1649. + yes,*)
  1650. + # gcc
  1651. library_names_spec='$libname.dll.a'
  1652. # DLL is installed to $(libdir)/../bin by postinstall_cmds
  1653. postinstall_cmds='base_file=`basename \${file}`~
  1654. @@ -11892,36 +12333,54 @@
  1655. cygwin*)
  1656. # Cygwin DLLs use 'cyg' prefix rather than 'lib'
  1657. soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  1658. - sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
  1659. +
  1660. + sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
  1661. ;;
  1662. mingw* | cegcc*)
  1663. # MinGW DLLs use traditional 'lib' prefix
  1664. soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  1665. - sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
  1666. - if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
  1667. - # It is most probably a Windows format PATH printed by
  1668. - # mingw gcc, but we are running on Cygwin. Gcc prints its search
  1669. - # path with ; separators, and with drive letters. We can handle the
  1670. - # drive letters (cygwin fileutils understands them), so leave them,
  1671. - # especially as we might pass files found there to a mingw objdump,
  1672. - # which wouldn't understand a cygwinified path. Ahh.
  1673. - sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
  1674. - else
  1675. - sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
  1676. - fi
  1677. ;;
  1678. pw32*)
  1679. # pw32 DLLs use 'pw' prefix rather than 'lib'
  1680. library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  1681. ;;
  1682. esac
  1683. + dynamic_linker='Win32 ld.exe'
  1684. + ;;
  1685. +
  1686. + *,cl*)
  1687. + # Native MSVC
  1688. + libname_spec='$name'
  1689. + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  1690. + library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}.lib'
  1691. + sys_lib_search_path_spec="$LIB"
  1692. + if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
  1693. + # It is most probably a Windows format PATH.
  1694. + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
  1695. + else
  1696. + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
  1697. + fi
  1698. + # FIXME: find the short name or the path components, as spaces are
  1699. + # common. (e.g. "Program Files" -> "PROGRA~1")
  1700. + # DLL is installed to $(libdir)/../bin by postinstall_cmds
  1701. + postinstall_cmds='base_file=`basename \${file}`~
  1702. + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
  1703. + dldir=$destdir/`dirname \$dlpath`~
  1704. + test -d \$dldir || mkdir -p \$dldir~
  1705. + $install_prog $dir/$dlname \$dldir/$dlname'
  1706. + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
  1707. + dlpath=$dir/\$dldll~
  1708. + $RM \$dlpath'
  1709. + shlibpath_overrides_runpath=yes
  1710. + dynamic_linker='Win32 link.exe'
  1711. ;;
  1712. *)
  1713. + # Assume MSVC wrapper
  1714. library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
  1715. + dynamic_linker='Win32 ld.exe'
  1716. ;;
  1717. esac
  1718. - dynamic_linker='Win32 ld.exe'
  1719. # FIXME: first we should search . and the directory the executable is in
  1720. shlibpath_var=PATH
  1721. ;;
  1722. @@ -12008,6 +12467,19 @@
  1723. hardcode_into_libs=yes
  1724. ;;
  1725. +haiku*)
  1726. + version_type=linux
  1727. + need_lib_prefix=no
  1728. + need_version=no
  1729. + dynamic_linker="$host_os runtime_loader"
  1730. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
  1731. + soname_spec='${libname}${release}${shared_ext}$major'
  1732. + shlibpath_var=LIBRARY_PATH
  1733. + shlibpath_overrides_runpath=yes
  1734. + sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
  1735. + hardcode_into_libs=yes
  1736. + ;;
  1737. +
  1738. hpux9* | hpux10* | hpux11*)
  1739. # Give a soname corresponding to the major version so that dld.sl refuses to
  1740. # link against other versions.
  1741. @@ -12050,8 +12522,10 @@
  1742. soname_spec='${libname}${release}${shared_ext}$major'
  1743. ;;
  1744. esac
  1745. - # HP-UX runs *really* slowly unless shared libraries are mode 555.
  1746. + # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
  1747. postinstall_cmds='chmod 555 $lib'
  1748. + # or fails outright, so override atomically:
  1749. + install_override_mode=555
  1750. ;;
  1751. interix[3-9]*)
  1752. @@ -12118,12 +12592,17 @@
  1753. finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
  1754. shlibpath_var=LD_LIBRARY_PATH
  1755. shlibpath_overrides_runpath=no
  1756. +
  1757. # Some binutils ld are patched to set DT_RUNPATH
  1758. - save_LDFLAGS=$LDFLAGS
  1759. - save_libdir=$libdir
  1760. - eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
  1761. - LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
  1762. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1763. + if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
  1764. + $as_echo_n "(cached) " >&6
  1765. +else
  1766. + lt_cv_shlibpath_overrides_runpath=no
  1767. + save_LDFLAGS=$LDFLAGS
  1768. + save_libdir=$libdir
  1769. + eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
  1770. + LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
  1771. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1772. /* end confdefs.h. */
  1773. int
  1774. @@ -12136,13 +12615,17 @@
  1775. _ACEOF
  1776. if ac_fn_c_try_link "$LINENO"; then :
  1777. if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
  1778. - shlibpath_overrides_runpath=yes
  1779. + lt_cv_shlibpath_overrides_runpath=yes
  1780. fi
  1781. fi
  1782. rm -f core conftest.err conftest.$ac_objext \
  1783. conftest$ac_exeext conftest.$ac_ext
  1784. - LDFLAGS=$save_LDFLAGS
  1785. - libdir=$save_libdir
  1786. + LDFLAGS=$save_LDFLAGS
  1787. + libdir=$save_libdir
  1788. +
  1789. +fi
  1790. +
  1791. + shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
  1792. # This implies no fast_install, which is unacceptable.
  1793. # Some rework will be needed to allow for fast_install
  1794. @@ -12151,7 +12634,7 @@
  1795. # Append ld.so.conf contents to the search path
  1796. if test -f /etc/ld.so.conf; then
  1797. - 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' ' '`
  1798. + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
  1799. sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
  1800. fi
  1801. @@ -12164,18 +12647,6 @@
  1802. dynamic_linker='GNU/Linux ld.so'
  1803. ;;
  1804. -netbsdelf*-gnu)
  1805. - version_type=linux
  1806. - need_lib_prefix=no
  1807. - need_version=no
  1808. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  1809. - soname_spec='${libname}${release}${shared_ext}$major'
  1810. - shlibpath_var=LD_LIBRARY_PATH
  1811. - shlibpath_overrides_runpath=no
  1812. - hardcode_into_libs=yes
  1813. - dynamic_linker='NetBSD ld.elf_so'
  1814. - ;;
  1815. -
  1816. netbsd*)
  1817. version_type=sunos
  1818. need_lib_prefix=no
  1819. @@ -12466,6 +12937,11 @@
  1820. +
  1821. +
  1822. +
  1823. +
  1824. +
  1825. { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
  1826. $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
  1827. hardcode_action=
  1828. @@ -12796,7 +13272,7 @@
  1829. lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
  1830. lt_status=$lt_dlunknown
  1831. cat > conftest.$ac_ext <<_LT_EOF
  1832. -#line 12799 "configure"
  1833. +#line $LINENO "configure"
  1834. #include "confdefs.h"
  1835. #if HAVE_DLFCN_H
  1836. @@ -12837,7 +13313,13 @@
  1837. # endif
  1838. #endif
  1839. -void fnord() { int i=42;}
  1840. +/* When -fvisbility=hidden is used, assume the code has been annotated
  1841. + correspondingly for the symbols needed. */
  1842. +#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
  1843. +int fnord () __attribute__((visibility("default")));
  1844. +#endif
  1845. +
  1846. +int fnord () { return 42; }
  1847. int main ()
  1848. {
  1849. void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
  1850. @@ -12846,7 +13328,11 @@
  1851. if (self)
  1852. {
  1853. if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
  1854. - else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
  1855. + else
  1856. + {
  1857. + if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
  1858. + else puts (dlerror ());
  1859. + }
  1860. /* dlclose (self); */
  1861. }
  1862. else
  1863. @@ -12892,7 +13378,7 @@
  1864. lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
  1865. lt_status=$lt_dlunknown
  1866. cat > conftest.$ac_ext <<_LT_EOF
  1867. -#line 12895 "configure"
  1868. +#line $LINENO "configure"
  1869. #include "confdefs.h"
  1870. #if HAVE_DLFCN_H
  1871. @@ -12933,7 +13419,13 @@
  1872. # endif
  1873. #endif
  1874. -void fnord() { int i=42;}
  1875. +/* When -fvisbility=hidden is used, assume the code has been annotated
  1876. + correspondingly for the symbols needed. */
  1877. +#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
  1878. +int fnord () __attribute__((visibility("default")));
  1879. +#endif
  1880. +
  1881. +int fnord () { return 42; }
  1882. int main ()
  1883. {
  1884. void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
  1885. @@ -12942,7 +13434,11 @@
  1886. if (self)
  1887. {
  1888. if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
  1889. - else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
  1890. + else
  1891. + {
  1892. + if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
  1893. + else puts (dlerror ());
  1894. + }
  1895. /* dlclose (self); */
  1896. }
  1897. else
  1898. @@ -13526,6 +14022,7 @@
  1899. $as_echo "not found" >&6; }
  1900. fi
  1901. +if test x"$cross_compiling" = xno; then
  1902. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid of user \"$ipsecuser\"" >&5
  1903. $as_echo_n "checking for uid of user \"$ipsecuser\"... " >&6; }
  1904. ipsecuid=`id -u $ipsecuser 2>/dev/null`
  1905. @@ -13546,6 +14043,11 @@
  1906. else
  1907. as_fn_error "not found" "$LINENO" 5
  1908. fi
  1909. +else
  1910. + ipsecuid=0
  1911. + ipsecgid=0
  1912. +fi
  1913. +
  1914. if test x$eap_aka_3gpp2 = xtrue; then
  1915. @@ -18041,131 +18543,150 @@
  1916. sed_quote_subst='$sed_quote_subst'
  1917. double_quote_subst='$double_quote_subst'
  1918. delay_variable_subst='$delay_variable_subst'
  1919. -macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
  1920. -macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
  1921. -enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
  1922. -enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
  1923. -pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
  1924. -enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
  1925. -host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
  1926. -host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
  1927. -host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
  1928. -build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
  1929. -build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
  1930. -build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
  1931. -SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
  1932. -Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
  1933. -GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
  1934. -EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
  1935. -FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
  1936. -LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
  1937. -NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
  1938. -LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
  1939. -max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
  1940. -ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
  1941. -exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
  1942. -lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
  1943. -lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
  1944. -lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
  1945. -reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
  1946. -reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  1947. -OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
  1948. -deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
  1949. -file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
  1950. -AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
  1951. -AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
  1952. -STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
  1953. -RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
  1954. -old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  1955. -old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  1956. -old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  1957. -CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
  1958. -CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
  1959. -compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
  1960. -GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
  1961. -lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
  1962. -lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
  1963. -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"`'
  1964. -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"`'
  1965. -objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
  1966. -SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
  1967. -ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
  1968. -MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
  1969. -lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
  1970. -lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
  1971. -lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
  1972. -lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
  1973. -lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
  1974. -need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
  1975. -DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
  1976. -NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
  1977. -LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
  1978. -OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
  1979. -OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
  1980. -libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
  1981. -shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  1982. -extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  1983. -archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
  1984. -enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
  1985. -export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
  1986. -whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
  1987. -compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
  1988. -old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  1989. -old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  1990. -archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  1991. -archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  1992. -module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  1993. -module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  1994. -with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
  1995. -allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
  1996. -no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
  1997. -hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
  1998. -hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
  1999. -hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
  2000. -hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
  2001. -hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
  2002. -hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
  2003. -hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
  2004. -hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
  2005. -inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
  2006. -link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
  2007. -fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
  2008. -always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
  2009. -export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  2010. -exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
  2011. -include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
  2012. -prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  2013. -file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
  2014. -variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
  2015. -need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
  2016. -need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
  2017. -version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
  2018. -runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
  2019. -shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
  2020. -shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
  2021. -libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
  2022. -library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
  2023. -soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
  2024. -postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  2025. -postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  2026. -finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  2027. -finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
  2028. -hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
  2029. -sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
  2030. -sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
  2031. -hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
  2032. -enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
  2033. -enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
  2034. -enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
  2035. -old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
  2036. -striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
  2037. +macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
  2038. +macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
  2039. +enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
  2040. +enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
  2041. +pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
  2042. +enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
  2043. +SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
  2044. +ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
  2045. +host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
  2046. +host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
  2047. +host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
  2048. +build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
  2049. +build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
  2050. +build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
  2051. +SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
  2052. +Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
  2053. +GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
  2054. +EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
  2055. +FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
  2056. +LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
  2057. +NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
  2058. +LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
  2059. +max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
  2060. +ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
  2061. +exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
  2062. +lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
  2063. +lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
  2064. +lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
  2065. +reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
  2066. +reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
  2067. +OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
  2068. +deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
  2069. +file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
  2070. +file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
  2071. +want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
  2072. +DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
  2073. +sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
  2074. +AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
  2075. +AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
  2076. +STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
  2077. +RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
  2078. +old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
  2079. +old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
  2080. +old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
  2081. +lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
  2082. +CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
  2083. +CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
  2084. +compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
  2085. +GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
  2086. +lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
  2087. +lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
  2088. +lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
  2089. +lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
  2090. +nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
  2091. +objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
  2092. +MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
  2093. +lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
  2094. +lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
  2095. +lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
  2096. +lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
  2097. +lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
  2098. +need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
  2099. +MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
  2100. +DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
  2101. +NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
  2102. +LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
  2103. +OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
  2104. +OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
  2105. +libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
  2106. +shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
  2107. +extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
  2108. +archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
  2109. +enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
  2110. +export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
  2111. +whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
  2112. +compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
  2113. +old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
  2114. +old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
  2115. +archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
  2116. +archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
  2117. +module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
  2118. +module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
  2119. +with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
  2120. +allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
  2121. +no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
  2122. +hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
  2123. +hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
  2124. +hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
  2125. +hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
  2126. +hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
  2127. +hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
  2128. +hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
  2129. +hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
  2130. +inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
  2131. +link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
  2132. +fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
  2133. +always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
  2134. +export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
  2135. +exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
  2136. +include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
  2137. +prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
  2138. +postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
  2139. +file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
  2140. +variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
  2141. +need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
  2142. +need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
  2143. +version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
  2144. +runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
  2145. +shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
  2146. +shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
  2147. +libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
  2148. +library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
  2149. +soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
  2150. +install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
  2151. +postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
  2152. +postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
  2153. +finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
  2154. +finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
  2155. +hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
  2156. +sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
  2157. +sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
  2158. +hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
  2159. +enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
  2160. +enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
  2161. +enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
  2162. +old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
  2163. +striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
  2164. LTCC='$LTCC'
  2165. LTCFLAGS='$LTCFLAGS'
  2166. compiler='$compiler_DEFAULT'
  2167. +# A function that is used when there is no print builtin or printf.
  2168. +func_fallback_echo ()
  2169. +{
  2170. + eval 'cat <<_LTECHO_EOF
  2171. +\$1
  2172. +_LTECHO_EOF'
  2173. +}
  2174. +
  2175. # Quote evaled strings.
  2176. -for var in SED \
  2177. +for var in SHELL \
  2178. +ECHO \
  2179. +SED \
  2180. GREP \
  2181. EGREP \
  2182. FGREP \
  2183. @@ -18178,6 +18699,10 @@
  2184. OBJDUMP \
  2185. deplibs_check_method \
  2186. file_magic_cmd \
  2187. +file_magic_glob \
  2188. +want_nocaseglob \
  2189. +DLLTOOL \
  2190. +sharedlib_from_linklib_cmd \
  2191. AR \
  2192. AR_FLAGS \
  2193. STRIP \
  2194. @@ -18189,14 +18714,14 @@
  2195. lt_cv_sys_global_symbol_to_cdecl \
  2196. lt_cv_sys_global_symbol_to_c_name_address \
  2197. lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
  2198. -SHELL \
  2199. -ECHO \
  2200. +nm_file_list_spec \
  2201. lt_prog_compiler_no_builtin_flag \
  2202. -lt_prog_compiler_wl \
  2203. lt_prog_compiler_pic \
  2204. +lt_prog_compiler_wl \
  2205. lt_prog_compiler_static \
  2206. lt_cv_prog_compiler_c_o \
  2207. need_locks \
  2208. +MANIFEST_TOOL \
  2209. DSYMUTIL \
  2210. NMEDIT \
  2211. LIPO \
  2212. @@ -18220,12 +18745,13 @@
  2213. libname_spec \
  2214. library_names_spec \
  2215. soname_spec \
  2216. +install_override_mode \
  2217. finish_eval \
  2218. old_striplib \
  2219. striplib; do
  2220. - case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
  2221. + case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
  2222. *[\\\\\\\`\\"\\\$]*)
  2223. - eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
  2224. + eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
  2225. ;;
  2226. *)
  2227. eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
  2228. @@ -18247,14 +18773,15 @@
  2229. module_expsym_cmds \
  2230. export_symbols_cmds \
  2231. prelink_cmds \
  2232. +postlink_cmds \
  2233. postinstall_cmds \
  2234. postuninstall_cmds \
  2235. finish_cmds \
  2236. sys_lib_search_path_spec \
  2237. sys_lib_dlsearch_path_spec; do
  2238. - case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
  2239. + case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
  2240. *[\\\\\\\`\\"\\\$]*)
  2241. - eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
  2242. + eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
  2243. ;;
  2244. *)
  2245. eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
  2246. @@ -18262,12 +18789,6 @@
  2247. esac
  2248. done
  2249. -# Fix-up fallback echo if it was mangled by the above quoting rules.
  2250. -case \$lt_ECHO in
  2251. -*'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
  2252. - ;;
  2253. -esac
  2254. -
  2255. ac_aux_dir='$ac_aux_dir'
  2256. xsi_shell='$xsi_shell'
  2257. lt_shell_append='$lt_shell_append'
  2258. @@ -18926,7 +19447,8 @@
  2259. # NOTE: Changes made to this file will be lost: look at ltmain.sh.
  2260. #
  2261. # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
  2262. -# 2006, 2007, 2008 Free Software Foundation, Inc.
  2263. +# 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
  2264. +# Inc.
  2265. # Written by Gordon Matzigkeit, 1996
  2266. #
  2267. # This file is part of GNU Libtool.
  2268. @@ -18974,6 +19496,12 @@
  2269. # Whether or not to optimize for fast installation.
  2270. fast_install=$enable_fast_install
  2271. +# Shell to use when invoking shell scripts.
  2272. +SHELL=$lt_SHELL
  2273. +
  2274. +# An echo program that protects backslashes.
  2275. +ECHO=$lt_ECHO
  2276. +
  2277. # The host system.
  2278. host_alias=$host_alias
  2279. host=$host
  2280. @@ -19023,19 +19551,27 @@
  2281. # turn newlines into spaces.
  2282. NL2SP=$lt_lt_NL2SP
  2283. -# How to create reloadable object files.
  2284. -reload_flag=$lt_reload_flag
  2285. -reload_cmds=$lt_reload_cmds
  2286. -
  2287. # An object symbol dumper.
  2288. OBJDUMP=$lt_OBJDUMP
  2289. # Method to check whether dependent libraries are shared objects.
  2290. deplibs_check_method=$lt_deplibs_check_method
  2291. -# Command to use when deplibs_check_method == "file_magic".
  2292. +# Command to use when deplibs_check_method = "file_magic".
  2293. file_magic_cmd=$lt_file_magic_cmd
  2294. +# How to find potential files when deplibs_check_method = "file_magic".
  2295. +file_magic_glob=$lt_file_magic_glob
  2296. +
  2297. +# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
  2298. +want_nocaseglob=$lt_want_nocaseglob
  2299. +
  2300. +# DLL creation program.
  2301. +DLLTOOL=$lt_DLLTOOL
  2302. +
  2303. +# Command to associate shared and link libraries.
  2304. +sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
  2305. +
  2306. # The archiver.
  2307. AR=$lt_AR
  2308. AR_FLAGS=$lt_AR_FLAGS
  2309. @@ -19048,6 +19584,9 @@
  2310. old_postinstall_cmds=$lt_old_postinstall_cmds
  2311. old_postuninstall_cmds=$lt_old_postuninstall_cmds
  2312. +# Whether to use a lock for old archive extraction.
  2313. +lock_old_archive_extraction=$lock_old_archive_extraction
  2314. +
  2315. # A C compiler.
  2316. LTCC=$lt_CC
  2317. @@ -19066,21 +19605,21 @@
  2318. # Transform the output of nm in a C name address pair when lib prefix is needed.
  2319. global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
  2320. +# Specify filename containing input files for \$NM.
  2321. +nm_file_list_spec=$lt_nm_file_list_spec
  2322. +
  2323. # The name of the directory that contains temporary libtool files.
  2324. objdir=$objdir
  2325. -# Shell to use when invoking shell scripts.
  2326. -SHELL=$lt_SHELL
  2327. -
  2328. -# An echo program that does not interpret backslashes.
  2329. -ECHO=$lt_ECHO
  2330. -
  2331. # Used to examine libraries when file_magic_cmd begins with "file".
  2332. MAGIC_CMD=$MAGIC_CMD
  2333. # Must we lock files when doing compilation?
  2334. need_locks=$lt_need_locks
  2335. +# Manifest tool.
  2336. +MANIFEST_TOOL=$lt_MANIFEST_TOOL
  2337. +
  2338. # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
  2339. DSYMUTIL=$lt_DSYMUTIL
  2340. @@ -19137,6 +19676,9 @@
  2341. # The coded name of the library, if different from the real name.
  2342. soname_spec=$lt_soname_spec
  2343. +# Permission mode override for installation of shared libraries.
  2344. +install_override_mode=$lt_install_override_mode
  2345. +
  2346. # Command to use after installation of a shared archive.
  2347. postinstall_cmds=$lt_postinstall_cmds
  2348. @@ -19176,6 +19718,10 @@
  2349. # The linker used to build libraries.
  2350. LD=$lt_LD
  2351. +# How to create reloadable object files.
  2352. +reload_flag=$lt_reload_flag
  2353. +reload_cmds=$lt_reload_cmds
  2354. +
  2355. # Commands used to build an old-style archive.
  2356. old_archive_cmds=$lt_old_archive_cmds
  2357. @@ -19188,12 +19734,12 @@
  2358. # Compiler flag to turn off builtin functions.
  2359. no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
  2360. -# How to pass a linker flag through the compiler.
  2361. -wl=$lt_lt_prog_compiler_wl
  2362. -
  2363. # Additional compiler flags for building library objects.
  2364. pic_flag=$lt_lt_prog_compiler_pic
  2365. +# How to pass a linker flag through the compiler.
  2366. +wl=$lt_lt_prog_compiler_wl
  2367. +
  2368. # Compiler flag to prevent dynamic linking.
  2369. link_static_flag=$lt_lt_prog_compiler_static
  2370. @@ -19298,6 +19844,9 @@
  2371. # Commands necessary for linking programs (against libraries) with templates.
  2372. prelink_cmds=$lt_prelink_cmds
  2373. +# Commands necessary for finishing linking programs.
  2374. +postlink_cmds=$lt_postlink_cmds
  2375. +
  2376. # Specify filename containing input files.
  2377. file_list_spec=$lt_file_list_spec
  2378. @@ -19330,212 +19879,169 @@
  2379. # if finds mixed CR/LF and LF-only lines. Since sed operates in
  2380. # text mode, it properly converts lines to CR/LF. This bash problem
  2381. # is reportedly fixed, but why not run on old versions too?
  2382. - sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
  2383. - || (rm -f "$cfgfile"; exit 1)
  2384. -
  2385. - case $xsi_shell in
  2386. - yes)
  2387. - cat << \_LT_EOF >> "$cfgfile"
  2388. -
  2389. -# func_dirname file append nondir_replacement
  2390. -# Compute the dirname of FILE. If nonempty, add APPEND to the result,
  2391. -# otherwise set result to NONDIR_REPLACEMENT.
  2392. -func_dirname ()
  2393. -{
  2394. - case ${1} in
  2395. - */*) func_dirname_result="${1%/*}${2}" ;;
  2396. - * ) func_dirname_result="${3}" ;;
  2397. - esac
  2398. -}
  2399. -
  2400. -# func_basename file
  2401. -func_basename ()
  2402. -{
  2403. - func_basename_result="${1##*/}"
  2404. -}
  2405. -
  2406. -# func_dirname_and_basename file append nondir_replacement
  2407. -# perform func_basename and func_dirname in a single function
  2408. -# call:
  2409. -# dirname: Compute the dirname of FILE. If nonempty,
  2410. -# add APPEND to the result, otherwise set result
  2411. -# to NONDIR_REPLACEMENT.
  2412. -# value returned in "$func_dirname_result"
  2413. -# basename: Compute filename of FILE.
  2414. -# value retuned in "$func_basename_result"
  2415. -# Implementation must be kept synchronized with func_dirname
  2416. -# and func_basename. For efficiency, we do not delegate to
  2417. -# those functions but instead duplicate the functionality here.
  2418. -func_dirname_and_basename ()
  2419. -{
  2420. - case ${1} in
  2421. - */*) func_dirname_result="${1%/*}${2}" ;;
  2422. - * ) func_dirname_result="${3}" ;;
  2423. - esac
  2424. - func_basename_result="${1##*/}"
  2425. -}
  2426. -
  2427. -# func_stripname prefix suffix name
  2428. -# strip PREFIX and SUFFIX off of NAME.
  2429. -# PREFIX and SUFFIX must not contain globbing or regex special
  2430. -# characters, hashes, percent signs, but SUFFIX may contain a leading
  2431. -# dot (in which case that matches only a dot).
  2432. -func_stripname ()
  2433. -{
  2434. - # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
  2435. - # positional parameters, so assign one to ordinary parameter first.
  2436. - func_stripname_result=${3}
  2437. - func_stripname_result=${func_stripname_result#"${1}"}
  2438. - func_stripname_result=${func_stripname_result%"${2}"}
  2439. -}
  2440. -
  2441. -# func_opt_split
  2442. -func_opt_split ()
  2443. -{
  2444. - func_opt_split_opt=${1%%=*}
  2445. - func_opt_split_arg=${1#*=}
  2446. -}
  2447. -
  2448. -# func_lo2o object
  2449. -func_lo2o ()
  2450. -{
  2451. - case ${1} in
  2452. - *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
  2453. - *) func_lo2o_result=${1} ;;
  2454. - esac
  2455. -}
  2456. -
  2457. -# func_xform libobj-or-source
  2458. -func_xform ()
  2459. -{
  2460. - func_xform_result=${1%.*}.lo
  2461. -}
  2462. -
  2463. -# func_arith arithmetic-term...
  2464. -func_arith ()
  2465. -{
  2466. - func_arith_result=$(( $* ))
  2467. -}
  2468. -
  2469. -# func_len string
  2470. -# STRING may not start with a hyphen.
  2471. -func_len ()
  2472. -{
  2473. - func_len_result=${#1}
  2474. -}
  2475. -
  2476. -_LT_EOF
  2477. - ;;
  2478. - *) # Bourne compatible functions.
  2479. - cat << \_LT_EOF >> "$cfgfile"
  2480. -
  2481. -# func_dirname file append nondir_replacement
  2482. -# Compute the dirname of FILE. If nonempty, add APPEND to the result,
  2483. -# otherwise set result to NONDIR_REPLACEMENT.
  2484. -func_dirname ()
  2485. -{
  2486. - # Extract subdirectory from the argument.
  2487. - func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
  2488. - if test "X$func_dirname_result" = "X${1}"; then
  2489. - func_dirname_result="${3}"
  2490. - else
  2491. - func_dirname_result="$func_dirname_result${2}"
  2492. - fi
  2493. -}
  2494. -
  2495. -# func_basename file
  2496. -func_basename ()
  2497. -{
  2498. - func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
  2499. -}
  2500. -
  2501. -
  2502. -# func_stripname prefix suffix name
  2503. -# strip PREFIX and SUFFIX off of NAME.
  2504. -# PREFIX and SUFFIX must not contain globbing or regex special
  2505. -# characters, hashes, percent signs, but SUFFIX may contain a leading
  2506. -# dot (in which case that matches only a dot).
  2507. -# func_strip_suffix prefix name
  2508. -func_stripname ()
  2509. -{
  2510. - case ${2} in
  2511. - .*) func_stripname_result=`$ECHO "X${3}" \
  2512. - | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
  2513. - *) func_stripname_result=`$ECHO "X${3}" \
  2514. - | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
  2515. - esac
  2516. -}
  2517. -
  2518. -# sed scripts:
  2519. -my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
  2520. -my_sed_long_arg='1s/^-[^=]*=//'
  2521. -
  2522. -# func_opt_split
  2523. -func_opt_split ()
  2524. -{
  2525. - func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
  2526. - func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
  2527. -}
  2528. -
  2529. -# func_lo2o object
  2530. -func_lo2o ()
  2531. -{
  2532. - func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
  2533. -}
  2534. -
  2535. -# func_xform libobj-or-source
  2536. -func_xform ()
  2537. -{
  2538. - func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
  2539. -}
  2540. -
  2541. -# func_arith arithmetic-term...
  2542. -func_arith ()
  2543. -{
  2544. - func_arith_result=`expr "$@"`
  2545. -}
  2546. -
  2547. -# func_len string
  2548. -# STRING may not start with a hyphen.
  2549. -func_len ()
  2550. -{
  2551. - func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
  2552. -}
  2553. -
  2554. -_LT_EOF
  2555. -esac
  2556. -
  2557. -case $lt_shell_append in
  2558. - yes)
  2559. - cat << \_LT_EOF >> "$cfgfile"
  2560. -
  2561. -# func_append var value
  2562. -# Append VALUE to the end of shell variable VAR.
  2563. -func_append ()
  2564. -{
  2565. - eval "$1+=\$2"
  2566. -}
  2567. -_LT_EOF
  2568. - ;;
  2569. - *)
  2570. - cat << \_LT_EOF >> "$cfgfile"
  2571. -
  2572. -# func_append var value
  2573. -# Append VALUE to the end of shell variable VAR.
  2574. -func_append ()
  2575. -{
  2576. - eval "$1=\$$1\$2"
  2577. -}
  2578. -
  2579. -_LT_EOF
  2580. - ;;
  2581. - esac
  2582. + sed '$q' "$ltmain" >> "$cfgfile" \
  2583. + || (rm -f "$cfgfile"; exit 1)
  2584. + if test x"$xsi_shell" = xyes; then
  2585. + sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
  2586. +func_dirname ()\
  2587. +{\
  2588. +\ case ${1} in\
  2589. +\ */*) func_dirname_result="${1%/*}${2}" ;;\
  2590. +\ * ) func_dirname_result="${3}" ;;\
  2591. +\ esac\
  2592. +} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
  2593. + && mv -f "$cfgfile.tmp" "$cfgfile" \
  2594. + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  2595. +test 0 -eq $? || _lt_function_replace_fail=:
  2596. +
  2597. +
  2598. + sed -e '/^func_basename ()$/,/^} # func_basename /c\
  2599. +func_basename ()\
  2600. +{\
  2601. +\ func_basename_result="${1##*/}"\
  2602. +} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
  2603. + && mv -f "$cfgfile.tmp" "$cfgfile" \
  2604. + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  2605. +test 0 -eq $? || _lt_function_replace_fail=:
  2606. +
  2607. +
  2608. + sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
  2609. +func_dirname_and_basename ()\
  2610. +{\
  2611. +\ case ${1} in\
  2612. +\ */*) func_dirname_result="${1%/*}${2}" ;;\
  2613. +\ * ) func_dirname_result="${3}" ;;\
  2614. +\ esac\
  2615. +\ func_basename_result="${1##*/}"\
  2616. +} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
  2617. + && mv -f "$cfgfile.tmp" "$cfgfile" \
  2618. + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  2619. +test 0 -eq $? || _lt_function_replace_fail=:
  2620. +
  2621. +
  2622. + sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
  2623. +func_stripname ()\
  2624. +{\
  2625. +\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
  2626. +\ # positional parameters, so assign one to ordinary parameter first.\
  2627. +\ func_stripname_result=${3}\
  2628. +\ func_stripname_result=${func_stripname_result#"${1}"}\
  2629. +\ func_stripname_result=${func_stripname_result%"${2}"}\
  2630. +} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
  2631. + && mv -f "$cfgfile.tmp" "$cfgfile" \
  2632. + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  2633. +test 0 -eq $? || _lt_function_replace_fail=:
  2634. +
  2635. +
  2636. + sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
  2637. +func_split_long_opt ()\
  2638. +{\
  2639. +\ func_split_long_opt_name=${1%%=*}\
  2640. +\ func_split_long_opt_arg=${1#*=}\
  2641. +} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
  2642. + && mv -f "$cfgfile.tmp" "$cfgfile" \
  2643. + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  2644. +test 0 -eq $? || _lt_function_replace_fail=:
  2645. +
  2646. +
  2647. + sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
  2648. +func_split_short_opt ()\
  2649. +{\
  2650. +\ func_split_short_opt_arg=${1#??}\
  2651. +\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
  2652. +} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
  2653. + && mv -f "$cfgfile.tmp" "$cfgfile" \
  2654. + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  2655. +test 0 -eq $? || _lt_function_replace_fail=:
  2656. +
  2657. +
  2658. + sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
  2659. +func_lo2o ()\
  2660. +{\
  2661. +\ case ${1} in\
  2662. +\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
  2663. +\ *) func_lo2o_result=${1} ;;\
  2664. +\ esac\
  2665. +} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
  2666. + && mv -f "$cfgfile.tmp" "$cfgfile" \
  2667. + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  2668. +test 0 -eq $? || _lt_function_replace_fail=:
  2669. +
  2670. +
  2671. + sed -e '/^func_xform ()$/,/^} # func_xform /c\
  2672. +func_xform ()\
  2673. +{\
  2674. + func_xform_result=${1%.*}.lo\
  2675. +} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
  2676. + && mv -f "$cfgfile.tmp" "$cfgfile" \
  2677. + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  2678. +test 0 -eq $? || _lt_function_replace_fail=:
  2679. +
  2680. +
  2681. + sed -e '/^func_arith ()$/,/^} # func_arith /c\
  2682. +func_arith ()\
  2683. +{\
  2684. + func_arith_result=$(( $* ))\
  2685. +} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
  2686. + && mv -f "$cfgfile.tmp" "$cfgfile" \
  2687. + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  2688. +test 0 -eq $? || _lt_function_replace_fail=:
  2689. +
  2690. +
  2691. + sed -e '/^func_len ()$/,/^} # func_len /c\
  2692. +func_len ()\
  2693. +{\
  2694. + func_len_result=${#1}\
  2695. +} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
  2696. + && mv -f "$cfgfile.tmp" "$cfgfile" \
  2697. + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  2698. +test 0 -eq $? || _lt_function_replace_fail=:
  2699. +
  2700. +fi
  2701. +
  2702. +if test x"$lt_shell_append" = xyes; then
  2703. + sed -e '/^func_append ()$/,/^} # func_append /c\
  2704. +func_append ()\
  2705. +{\
  2706. + eval "${1}+=\\${2}"\
  2707. +} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
  2708. + && mv -f "$cfgfile.tmp" "$cfgfile" \
  2709. + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  2710. +test 0 -eq $? || _lt_function_replace_fail=:
  2711. +
  2712. +
  2713. + sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
  2714. +func_append_quoted ()\
  2715. +{\
  2716. +\ func_quote_for_eval "${2}"\
  2717. +\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
  2718. +} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
  2719. + && mv -f "$cfgfile.tmp" "$cfgfile" \
  2720. + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  2721. +test 0 -eq $? || _lt_function_replace_fail=:
  2722. +
  2723. +
  2724. + # Save a `func_append' function call where possible by direct use of '+='
  2725. + sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
  2726. + && mv -f "$cfgfile.tmp" "$cfgfile" \
  2727. + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  2728. + test 0 -eq $? || _lt_function_replace_fail=:
  2729. +else
  2730. + # Save a `func_append' function call even when '+=' is not available
  2731. + sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
  2732. + && mv -f "$cfgfile.tmp" "$cfgfile" \
  2733. + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  2734. + test 0 -eq $? || _lt_function_replace_fail=:
  2735. +fi
  2736. +
  2737. +if test x"$_lt_function_replace_fail" = x":"; then
  2738. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
  2739. +$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
  2740. +fi
  2741. - sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
  2742. - || (rm -f "$cfgfile"; exit 1)
  2743. - mv -f "$cfgfile" "$ofile" ||
  2744. + mv -f "$cfgfile" "$ofile" ||
  2745. (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
  2746. chmod +x "$ofile"
  2747. diff -Nur strongswan-4.4.1.orig/configure.in strongswan-4.4.1/configure.in
  2748. --- strongswan-4.4.1.orig/configure.in 2010-07-29 20:10:16.000000000 +0200
  2749. +++ strongswan-4.4.1/configure.in 2010-07-31 21:12:07.164501625 +0200
  2750. @@ -189,6 +189,7 @@
  2751. fi
  2752. dnl translate user/group to numercial ids
  2753. +if test x"$cross_compiling" = xno; then
  2754. AC_MSG_CHECKING([for uid of user "$ipsecuser"])
  2755. ipsecuid=`id -u $ipsecuser 2>/dev/null`
  2756. if test -n "$ipsecuid"; then
  2757. @@ -205,6 +206,11 @@
  2758. else
  2759. AC_MSG_ERROR([not found])
  2760. fi
  2761. +else
  2762. + ipsecuid=0
  2763. + ipsecgid=0
  2764. +fi
  2765. +
  2766. dnl =========================
  2767. dnl dependency calculation
  2768. diff -Nur strongswan-4.4.1.orig/ltmain.sh strongswan-4.4.1/ltmain.sh
  2769. --- strongswan-4.4.1.orig/ltmain.sh 2010-01-06 11:24:25.000000000 +0100
  2770. +++ strongswan-4.4.1/ltmain.sh 2010-07-31 21:12:25.148503831 +0200
  2771. @@ -1,9 +1,10 @@
  2772. # Generated from ltmain.m4sh.
  2773. -# ltmain.sh (GNU libtool) 2.2.6b
  2774. +# libtool (GNU libtool 1.3216 2010-07-08) 2.2.11a
  2775. # Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
  2776. -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006, 2007 2008 Free Software Foundation, Inc.
  2777. +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006,
  2778. +# 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
  2779. # This is free software; see the source for copying conditions. There is NO
  2780. # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  2781. @@ -32,50 +33,56 @@
  2782. #
  2783. # Provide generalized library-building support services.
  2784. #
  2785. -# --config show all configuration variables
  2786. -# --debug enable verbose shell tracing
  2787. -# -n, --dry-run display commands without modifying any files
  2788. -# --features display basic configuration information and exit
  2789. -# --mode=MODE use operation mode MODE
  2790. -# --preserve-dup-deps don't remove duplicate dependency libraries
  2791. -# --quiet, --silent don't print informational messages
  2792. -# --tag=TAG use configuration variables from tag TAG
  2793. -# -v, --verbose print informational messages (default)
  2794. -# --version print version information
  2795. -# -h, --help print short or long help message
  2796. +# --config show all configuration variables
  2797. +# --debug enable verbose shell tracing
  2798. +# -n, --dry-run display commands without modifying any files
  2799. +# --features display basic configuration information and exit
  2800. +# --mode=MODE use operation mode MODE
  2801. +# --preserve-dup-deps don't remove duplicate dependency libraries
  2802. +# --quiet, --silent don't print informational messages
  2803. +# --no-quiet, --no-silent
  2804. +# print informational messages (default)
  2805. +# --tag=TAG use configuration variables from tag TAG
  2806. +# -v, --verbose print more informational messages than default
  2807. +# --no-verbose don't print the extra informational messages
  2808. +# --version print version information
  2809. +# -h, --help, --help-all print short, long, or detailed help message
  2810. #
  2811. # MODE must be one of the following:
  2812. #
  2813. -# clean remove files from the build directory
  2814. -# compile compile a source file into a libtool object
  2815. -# execute automatically set library path, then run a program
  2816. -# finish complete the installation of libtool libraries
  2817. -# install install libraries or executables
  2818. -# link create a library or an executable
  2819. -# uninstall remove libraries from an installed directory
  2820. +# clean remove files from the build directory
  2821. +# compile compile a source file into a libtool object
  2822. +# execute automatically set library path, then run a program
  2823. +# finish complete the installation of libtool libraries
  2824. +# install install libraries or executables
  2825. +# link create a library or an executable
  2826. +# uninstall remove libraries from an installed directory
  2827. #
  2828. -# MODE-ARGS vary depending on the MODE.
  2829. +# MODE-ARGS vary depending on the MODE. When passed as first option,
  2830. +# `--mode=MODE' may be abbreviated as `MODE' or a unique abbreviation of that.
  2831. # Try `$progname --help --mode=MODE' for a more detailed description of MODE.
  2832. #
  2833. # When reporting a bug, please describe a test case to reproduce it and
  2834. # include the following information:
  2835. #
  2836. -# host-triplet: $host
  2837. -# shell: $SHELL
  2838. -# compiler: $LTCC
  2839. -# compiler flags: $LTCFLAGS
  2840. -# linker: $LD (gnu? $with_gnu_ld)
  2841. -# $progname: (GNU libtool) 2.2.6b Debian-2.2.6b-2ubuntu1
  2842. -# automake: $automake_version
  2843. -# autoconf: $autoconf_version
  2844. +# host-triplet: $host
  2845. +# shell: $SHELL
  2846. +# compiler: $LTCC
  2847. +# compiler flags: $LTCFLAGS
  2848. +# linker: $LD (gnu? $with_gnu_ld)
  2849. +# $progname: (GNU libtool 1.3216 2010-07-08) 2.2.11a
  2850. +# automake: $automake_version
  2851. +# autoconf: $autoconf_version
  2852. #
  2853. # Report bugs to <bug-libtool@gnu.org>.
  2854. +# GNU libtool home page: <http://www.gnu.org/software/libtool/>.
  2855. +# General help using GNU software: <http://www.gnu.org/gethelp/>.
  2856. -PROGRAM=ltmain.sh
  2857. +PROGRAM=libtool
  2858. PACKAGE=libtool
  2859. -VERSION="2.2.6b Debian-2.2.6b-2ubuntu1"
  2860. -TIMESTAMP=""
  2861. -package_revision=1.3017
  2862. +VERSION=2.2.11a
  2863. +TIMESTAMP=" 1.3216 2010-07-08"
  2864. +package_revision=1.3216
  2865. # Be Bourne compatible
  2866. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  2867. @@ -91,10 +98,15 @@
  2868. BIN_SH=xpg4; export BIN_SH # for Tru64
  2869. DUALCASE=1; export DUALCASE # for MKS sh
  2870. +# A function that is used when there is no print builtin or printf.
  2871. +func_fallback_echo ()
  2872. +{
  2873. + eval 'cat <<_LTECHO_EOF
  2874. +$1
  2875. +_LTECHO_EOF'
  2876. +}
  2877. +
  2878. # NLS nuisances: We save the old values to restore during execute mode.
  2879. -# Only set LANG and LC_ALL to C if already set.
  2880. -# These must not be set unconditionally because not all systems understand
  2881. -# e.g. LANG=C (notably SCO).
  2882. lt_user_locale=
  2883. lt_safe_locale=
  2884. for lt_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES
  2885. @@ -107,15 +119,24 @@
  2886. lt_safe_locale=\"$lt_var=C; \$lt_safe_locale\"
  2887. fi"
  2888. done
  2889. +LC_ALL=C
  2890. +LANGUAGE=C
  2891. +export LANGUAGE LC_ALL
  2892. $lt_unset CDPATH
  2893. +# Work around backward compatibility issue on IRIX 6.5. On IRIX 6.4+, sh
  2894. +# is ksh but when the shell is invoked as "sh" and the current value of
  2895. +# the _XPG environment variable is not equal to 1 (one), the special
  2896. +# positional parameter $0, within a function call, is the name of the
  2897. +# function.
  2898. +progpath="$0"
  2899. : ${CP="cp -f"}
  2900. -: ${ECHO="echo"}
  2901. +test "${ECHO+set}" = set || ECHO=${as_echo-'printf %s\n'}
  2902. : ${EGREP="/bin/grep -E"}
  2903. : ${FGREP="/bin/grep -F"}
  2904. : ${GREP="/bin/grep"}
  2905. @@ -144,6 +165,27 @@
  2906. dirname="s,/[^/]*$,,"
  2907. basename="s,^.*/,,"
  2908. +# func_dirname file append nondir_replacement
  2909. +# Compute the dirname of FILE. If nonempty, add APPEND to the result,
  2910. +# otherwise set result to NONDIR_REPLACEMENT.
  2911. +func_dirname ()
  2912. +{
  2913. + func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
  2914. + if test "X$func_dirname_result" = "X${1}"; then
  2915. + func_dirname_result="${3}"
  2916. + else
  2917. + func_dirname_result="$func_dirname_result${2}"
  2918. + fi
  2919. +} # func_dirname may be replaced by extended shell implementation
  2920. +
  2921. +
  2922. +# func_basename file
  2923. +func_basename ()
  2924. +{
  2925. + func_basename_result=`$ECHO "${1}" | $SED "$basename"`
  2926. +} # func_basename may be replaced by extended shell implementation
  2927. +
  2928. +
  2929. # func_dirname_and_basename file append nondir_replacement
  2930. # perform func_basename and func_dirname in a single function
  2931. # call:
  2932. @@ -158,33 +200,183 @@
  2933. # those functions but instead duplicate the functionality here.
  2934. func_dirname_and_basename ()
  2935. {
  2936. - # Extract subdirectory from the argument.
  2937. - func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
  2938. - if test "X$func_dirname_result" = "X${1}"; then
  2939. - func_dirname_result="${3}"
  2940. - else
  2941. - func_dirname_result="$func_dirname_result${2}"
  2942. - fi
  2943. - func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
  2944. + # Extract subdirectory from the argument.
  2945. + func_dirname_result=`$ECHO "${1}" | $SED -e "$dirname"`
  2946. + if test "X$func_dirname_result" = "X${1}"; then
  2947. + func_dirname_result="${3}"
  2948. + else
  2949. + func_dirname_result="$func_dirname_result${2}"
  2950. + fi
  2951. + func_basename_result=`$ECHO "${1}" | $SED -e "$basename"`
  2952. +} # func_dirname_and_basename may be replaced by extended shell implementation
  2953. +
  2954. +
  2955. +# func_stripname prefix suffix name
  2956. +# strip PREFIX and SUFFIX off of NAME.
  2957. +# PREFIX and SUFFIX must not contain globbing or regex special
  2958. +# characters, hashes, percent signs, but SUFFIX may contain a leading
  2959. +# dot (in which case that matches only a dot).
  2960. +# func_strip_suffix prefix name
  2961. +func_stripname ()
  2962. +{
  2963. + case ${2} in
  2964. + .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
  2965. + *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
  2966. + esac
  2967. +} # func_stripname may be replaced by extended shell implementation
  2968. +
  2969. +
  2970. +# These SED scripts presuppose an absolute path with a trailing slash.
  2971. +pathcar='s,^/\([^/]*\).*$,\1,'
  2972. +pathcdr='s,^/[^/]*,,'
  2973. +removedotparts=':dotsl
  2974. + s@/\./@/@g
  2975. + t dotsl
  2976. + s,/\.$,/,'
  2977. +collapseslashes='s@/\{1,\}@/@g'
  2978. +finalslash='s,/*$,/,'
  2979. +
  2980. +# func_normal_abspath PATH
  2981. +# Remove doubled-up and trailing slashes, "." path components,
  2982. +# and cancel out any ".." path components in PATH after making
  2983. +# it an absolute path.
  2984. +# value returned in "$func_normal_abspath_result"
  2985. +func_normal_abspath ()
  2986. +{
  2987. + # Start from root dir and reassemble the path.
  2988. + func_normal_abspath_result=
  2989. + func_normal_abspath_tpath=$1
  2990. + func_normal_abspath_altnamespace=
  2991. + case $func_normal_abspath_tpath in
  2992. + "")
  2993. + # Empty path, that just means $cwd.
  2994. + func_stripname '' '/' "`pwd`"
  2995. + func_normal_abspath_result=$func_stripname_result
  2996. + return
  2997. + ;;
  2998. + # The next three entries are used to spot a run of precisely
  2999. + # two leading slashes without using negated character classes;
  3000. + # we take advantage of case's first-match behaviour.
  3001. + ///*)
  3002. + # Unusual form of absolute path, do nothing.
  3003. + ;;
  3004. + //*)
  3005. + # Not necessarily an ordinary path; POSIX reserves leading '//'
  3006. + # and for example Cygwin uses it to access remote file shares
  3007. + # over CIFS/SMB, so we conserve a leading double slash if found.
  3008. + func_normal_abspath_altnamespace=/
  3009. + ;;
  3010. + /*)
  3011. + # Absolute path, do nothing.
  3012. + ;;
  3013. + *)
  3014. + # Relative path, prepend $cwd.
  3015. + func_normal_abspath_tpath=`pwd`/$func_normal_abspath_tpath
  3016. + ;;
  3017. + esac
  3018. + # Cancel out all the simple stuff to save iterations. We also want
  3019. + # the path to end with a slash for ease of parsing, so make sure
  3020. + # there is one (and only one) here.
  3021. + func_normal_abspath_tpath=`$ECHO "$func_normal_abspath_tpath" | $SED \
  3022. + -e "$removedotparts" -e "$collapseslashes" -e "$finalslash"`
  3023. + while :; do
  3024. + # Processed it all yet?
  3025. + if test "$func_normal_abspath_tpath" = / ; then
  3026. + # If we ascended to the root using ".." the result may be empty now.
  3027. + if test -z "$func_normal_abspath_result" ; then
  3028. + func_normal_abspath_result=/
  3029. + fi
  3030. + break
  3031. + fi
  3032. + func_normal_abspath_tcomponent=`$ECHO "$func_normal_abspath_tpath" | $SED \
  3033. + -e "$pathcar"`
  3034. + func_normal_abspath_tpath=`$ECHO "$func_normal_abspath_tpath" | $SED \
  3035. + -e "$pathcdr"`
  3036. + # Figure out what to do with it
  3037. + case $func_normal_abspath_tcomponent in
  3038. + "")
  3039. + # Trailing empty path component, ignore it.
  3040. + ;;
  3041. + ..)
  3042. + # Parent dir; strip last assembled component from result.
  3043. + func_dirname "$func_normal_abspath_result"
  3044. + func_normal_abspath_result=$func_dirname_result
  3045. + ;;
  3046. + *)
  3047. + # Actual path component, append it.
  3048. + func_normal_abspath_result=$func_normal_abspath_result/$func_normal_abspath_tcomponent
  3049. + ;;
  3050. + esac
  3051. + done
  3052. + # Restore leading double-slash if one was found on entry.
  3053. + func_normal_abspath_result=$func_normal_abspath_altnamespace$func_normal_abspath_result
  3054. }
  3055. -# Generated shell functions inserted here.
  3056. +# func_relative_path SRCDIR DSTDIR
  3057. +# generates a relative path from SRCDIR to DSTDIR, with a trailing
  3058. +# slash if non-empty, suitable for immediately appending a filename
  3059. +# without needing to append a separator.
  3060. +# value returned in "$func_relative_path_result"
  3061. +func_relative_path ()
  3062. +{
  3063. + func_relative_path_result=
  3064. + func_normal_abspath "$1"
  3065. + func_relative_path_tlibdir=$func_normal_abspath_result
  3066. + func_normal_abspath "$2"
  3067. + func_relative_path_tbindir=$func_normal_abspath_result
  3068. +
  3069. + # Ascend the tree starting from libdir
  3070. + while :; do
  3071. + # check if we have found a prefix of bindir
  3072. + case $func_relative_path_tbindir in
  3073. + $func_relative_path_tlibdir)
  3074. + # found an exact match
  3075. + func_relative_path_tcancelled=
  3076. + break
  3077. + ;;
  3078. + $func_relative_path_tlibdir*)
  3079. + # found a matching prefix
  3080. + func_stripname "$func_relative_path_tlibdir" '' "$func_relative_path_tbindir"
  3081. + func_relative_path_tcancelled=$func_stripname_result
  3082. + if test -z "$func_relative_path_result"; then
  3083. + func_relative_path_result=.
  3084. + fi
  3085. + break
  3086. + ;;
  3087. + *)
  3088. + func_dirname $func_relative_path_tlibdir
  3089. + func_relative_path_tlibdir=${func_dirname_result}
  3090. + if test "x$func_relative_path_tlibdir" = x ; then
  3091. + # Have to descend all the way to the root!
  3092. + func_relative_path_result=../$func_relative_path_result
  3093. + func_relative_path_tcancelled=$func_relative_path_tbindir
  3094. + break
  3095. + fi
  3096. + func_relative_path_result=../$func_relative_path_result
  3097. + ;;
  3098. + esac
  3099. + done
  3100. -# Work around backward compatibility issue on IRIX 6.5. On IRIX 6.4+, sh
  3101. -# is ksh but when the shell is invoked as "sh" and the current value of
  3102. -# the _XPG environment variable is not equal to 1 (one), the special
  3103. -# positional parameter $0, within a function call, is the name of the
  3104. -# function.
  3105. -progpath="$0"
  3106. + # Now calculate path; take care to avoid doubling-up slashes.
  3107. + func_stripname '' '/' "$func_relative_path_result"
  3108. + func_relative_path_result=$func_stripname_result
  3109. + func_stripname '/' '/' "$func_relative_path_tcancelled"
  3110. + if test "x$func_stripname_result" != x ; then
  3111. + func_relative_path_result=${func_relative_path_result}/${func_stripname_result}
  3112. + fi
  3113. +
  3114. + # Normalisation. If bindir is libdir, return empty string,
  3115. + # else relative path ending with a slash; either way, target
  3116. + # file name can be directly appended.
  3117. + if test ! -z "$func_relative_path_result"; then
  3118. + func_stripname './' '' "$func_relative_path_result/"
  3119. + func_relative_path_result=$func_stripname_result
  3120. + fi
  3121. +}
  3122. # The name of this program:
  3123. -# In the unlikely event $progname began with a '-', it would play havoc with
  3124. -# func_echo (imagine progname=-n), so we prepend ./ in that case:
  3125. func_dirname_and_basename "$progpath"
  3126. progname=$func_basename_result
  3127. -case $progname in
  3128. - -*) progname=./$progname ;;
  3129. -esac
  3130. # Make sure we have an absolute path for reexecution:
  3131. case $progpath in
  3132. @@ -243,7 +435,7 @@
  3133. # name if it has been set yet.
  3134. func_echo ()
  3135. {
  3136. - $ECHO "$progname${mode+: }$mode: $*"
  3137. + $ECHO "$progname: ${opt_mode+$opt_mode: }$*"
  3138. }
  3139. # func_verbose arg...
  3140. @@ -258,18 +450,25 @@
  3141. :
  3142. }
  3143. +# func_echo_all arg...
  3144. +# Invoke $ECHO with all args, space-separated.
  3145. +func_echo_all ()
  3146. +{
  3147. + $ECHO "$*"
  3148. +}
  3149. +
  3150. # func_error arg...
  3151. # Echo program name prefixed message to standard error.
  3152. func_error ()
  3153. {
  3154. - $ECHO "$progname${mode+: }$mode: "${1+"$@"} 1>&2
  3155. + $ECHO "$progname: ${opt_mode+$opt_mode: }"${1+"$@"} 1>&2
  3156. }
  3157. # func_warning arg...
  3158. # Echo program name prefixed warning message to standard error.
  3159. func_warning ()
  3160. {
  3161. - $opt_warning && $ECHO "$progname${mode+: }$mode: warning: "${1+"$@"} 1>&2
  3162. + $opt_warning && $ECHO "$progname: ${opt_mode+$opt_mode: }warning: "${1+"$@"} 1>&2
  3163. # bash bug again:
  3164. :
  3165. @@ -326,9 +525,9 @@
  3166. case $my_directory_path in */*) ;; *) break ;; esac
  3167. # ...otherwise throw away the child directory and loop
  3168. - my_directory_path=`$ECHO "X$my_directory_path" | $Xsed -e "$dirname"`
  3169. + my_directory_path=`$ECHO "$my_directory_path" | $SED -e "$dirname"`
  3170. done
  3171. - my_dir_list=`$ECHO "X$my_dir_list" | $Xsed -e 's,:*$,,'`
  3172. + my_dir_list=`$ECHO "$my_dir_list" | $SED 's,:*$,,'`
  3173. save_mkdir_p_IFS="$IFS"; IFS=':'
  3174. for my_dir in $my_dir_list; do
  3175. @@ -378,7 +577,7 @@
  3176. func_fatal_error "cannot create temporary directory \`$my_tmpdir'"
  3177. fi
  3178. - $ECHO "X$my_tmpdir" | $Xsed
  3179. + $ECHO "$my_tmpdir"
  3180. }
  3181. @@ -392,7 +591,7 @@
  3182. {
  3183. case $1 in
  3184. *[\\\`\"\$]*)
  3185. - func_quote_for_eval_unquoted_result=`$ECHO "X$1" | $Xsed -e "$sed_quote_subst"` ;;
  3186. + func_quote_for_eval_unquoted_result=`$ECHO "$1" | $SED "$sed_quote_subst"` ;;
  3187. *)
  3188. func_quote_for_eval_unquoted_result="$1" ;;
  3189. esac
  3190. @@ -419,7 +618,7 @@
  3191. {
  3192. case $1 in
  3193. *[\\\`\"]*)
  3194. - my_arg=`$ECHO "X$1" | $Xsed \
  3195. + my_arg=`$ECHO "$1" | $SED \
  3196. -e "$double_quote_subst" -e "$sed_double_backslash"` ;;
  3197. *)
  3198. my_arg="$1" ;;
  3199. @@ -488,15 +687,39 @@
  3200. fi
  3201. }
  3202. -
  3203. -
  3204. +# func_tr_sh
  3205. +# Turn $1 into a string suitable for a shell variable name.
  3206. +# Result is stored in $func_tr_sh_result. All characters
  3207. +# not in the set a-zA-Z0-9_ are replaced with '_'. Further,
  3208. +# if $1 begins with a digit, a '_' is prepended as well.
  3209. +func_tr_sh ()
  3210. +{
  3211. + case $1 in
  3212. + [0-9]* | *[!a-zA-Z0-9_]*)
  3213. + func_tr_sh_result=`$ECHO "$1" | $SED 's/^\([0-9]\)/_\1/; s/[^a-zA-Z0-9_]/_/g'`
  3214. + ;;
  3215. + * )
  3216. + func_tr_sh_result=$1
  3217. + ;;
  3218. + esac
  3219. +}
  3220. # func_version
  3221. # Echo version message to standard output and exit.
  3222. func_version ()
  3223. {
  3224. - $SED -n '/^# '$PROGRAM' (GNU /,/# warranty; / {
  3225. + $opt_debug
  3226. +
  3227. + $SED -n '/(C)/!b go
  3228. + :more
  3229. + /\./!{
  3230. + N
  3231. + s/\n# / /
  3232. + b more
  3233. + }
  3234. + :go
  3235. + /^# '$PROGRAM' (GNU /,/# warranty; / {
  3236. s/^# //
  3237. s/^# *$//
  3238. s/\((C)\)[ 0-9,-]*\( [1-9][0-9]*\)/\1\2/
  3239. @@ -509,22 +732,28 @@
  3240. # Echo short help message to standard output and exit.
  3241. func_usage ()
  3242. {
  3243. - $SED -n '/^# Usage:/,/# -h/ {
  3244. + $opt_debug
  3245. +
  3246. + $SED -n '/^# Usage:/,/^# *.*--help/ {
  3247. s/^# //
  3248. s/^# *$//
  3249. s/\$progname/'$progname'/
  3250. p
  3251. }' < "$progpath"
  3252. - $ECHO
  3253. + echo
  3254. $ECHO "run \`$progname --help | more' for full usage"
  3255. exit $?
  3256. }
  3257. -# func_help
  3258. -# Echo long help message to standard output and exit.
  3259. +# func_help [NOEXIT]
  3260. +# Echo long help message to standard output and exit,
  3261. +# unless 'noexit' is passed as argument.
  3262. func_help ()
  3263. {
  3264. + $opt_debug
  3265. +
  3266. $SED -n '/^# Usage:/,/# Report bugs to/ {
  3267. + :print
  3268. s/^# //
  3269. s/^# *$//
  3270. s*\$progname*'$progname'*
  3271. @@ -537,8 +766,15 @@
  3272. s/\$automake_version/'"`(automake --version) 2>/dev/null |$SED 1q`"'/
  3273. s/\$autoconf_version/'"`(autoconf --version) 2>/dev/null |$SED 1q`"'/
  3274. p
  3275. - }' < "$progpath"
  3276. - exit $?
  3277. + d
  3278. + }
  3279. + /^# .* home page:/b print
  3280. + /^# General help using/b print
  3281. + ' < "$progpath"
  3282. + ret=$?
  3283. + if test -z "$1"; then
  3284. + exit $ret
  3285. + fi
  3286. }
  3287. # func_missing_arg argname
  3288. @@ -546,63 +782,105 @@
  3289. # exit_cmd.
  3290. func_missing_arg ()
  3291. {
  3292. - func_error "missing argument for $1"
  3293. + $opt_debug
  3294. +
  3295. + func_error "missing argument for $1."
  3296. exit_cmd=exit
  3297. }
  3298. -exit_cmd=:
  3299. +# func_split_short_opt shortopt
  3300. +# Set func_split_short_opt_name and func_split_short_opt_arg shell
  3301. +# variables after splitting SHORTOPT after the 2nd character.
  3302. +func_split_short_opt ()
  3303. +{
  3304. + my_sed_short_opt='1s/^\(..\).*$/\1/;q'
  3305. + my_sed_short_rest='1s/^..\(.*\)$/\1/;q'
  3306. +
  3307. + func_split_short_opt_name=`$ECHO "$1" | $SED "$my_sed_short_opt"`
  3308. + func_split_short_opt_arg=`$ECHO "$1" | $SED "$my_sed_short_rest"`
  3309. +} # func_split_short_opt may be replaced by extended shell implementation
  3310. +
  3311. +
  3312. +# func_split_long_opt longopt
  3313. +# Set func_split_long_opt_name and func_split_long_opt_arg shell
  3314. +# variables after splitting LONGOPT at the `=' sign.
  3315. +func_split_long_opt ()
  3316. +{
  3317. + my_sed_long_opt='1s/^\(--[^=]*\)=.*/\1/;q'
  3318. + my_sed_long_arg='1s/^--[^=]*=//'
  3319. +
  3320. + func_split_long_opt_name=`$ECHO "$1" | $SED "$my_sed_long_opt"`
  3321. + func_split_long_opt_arg=`$ECHO "$1" | $SED "$my_sed_long_arg"`
  3322. +} # func_split_long_opt may be replaced by extended shell implementation
  3323. +exit_cmd=:
  3324. -# Check that we have a working $ECHO.
  3325. -if test "X$1" = X--no-reexec; then
  3326. - # Discard the --no-reexec flag, and continue.
  3327. - shift
  3328. -elif test "X$1" = X--fallback-echo; then
  3329. - # Avoid inline document here, it may be left over
  3330. - :
  3331. -elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t'; then
  3332. - # Yippee, $ECHO works!
  3333. - :
  3334. -else
  3335. - # Restart under the correct shell, and then maybe $ECHO will work.
  3336. - exec $SHELL "$progpath" --no-reexec ${1+"$@"}
  3337. -fi
  3338. -if test "X$1" = X--fallback-echo; then
  3339. - # used as fallback echo
  3340. - shift
  3341. - cat <<EOF
  3342. -$*
  3343. -EOF
  3344. - exit $EXIT_SUCCESS
  3345. -fi
  3346. magic="%%%MAGIC variable%%%"
  3347. magic_exe="%%%MAGIC EXE variable%%%"
  3348. # Global variables.
  3349. -# $mode is unset
  3350. nonopt=
  3351. -execute_dlfiles=
  3352. preserve_args=
  3353. lo2o="s/\\.lo\$/.${objext}/"
  3354. o2lo="s/\\.${objext}\$/.lo/"
  3355. extracted_archives=
  3356. extracted_serial=0
  3357. -opt_dry_run=false
  3358. -opt_duplicate_deps=false
  3359. -opt_silent=false
  3360. -opt_debug=:
  3361. -
  3362. # If this variable is set in any of the actions, the command in it
  3363. # will be execed at the end. This prevents here-documents from being
  3364. # left over by shells.
  3365. exec_cmd=
  3366. +# func_append var value
  3367. +# Append VALUE to the end of shell variable VAR.
  3368. +func_append ()
  3369. +{
  3370. + eval "${1}=\$${1}\${2}"
  3371. +} # func_append may be replaced by extended shell implementation
  3372. +
  3373. +# func_append_quoted var value
  3374. +# Quote VALUE and append to the end of shell variable VAR.
  3375. +func_append_quoted ()
  3376. +{
  3377. + func_quote_for_eval "${2}"
  3378. + eval "${1}=\$${1}\\ \$func_quote_for_eval_result"
  3379. +} # func_append_quoted may be replaced by extended shell implementation
  3380. +
  3381. +
  3382. +# func_arith arithmetic-term...
  3383. +func_arith ()
  3384. +{
  3385. + func_arith_result=`expr "${@}"`
  3386. +} # func_arith may be replaced by extended shell implementation
  3387. +
  3388. +
  3389. +# func_len string
  3390. +# STRING may not start with a hyphen.
  3391. +func_len ()
  3392. +{
  3393. + func_len_result=`expr "${1}" : ".*" 2>/dev/null || echo $max_cmd_len`
  3394. +} # func_len may be replaced by extended shell implementation
  3395. +
  3396. +
  3397. +# func_lo2o object
  3398. +func_lo2o ()
  3399. +{
  3400. + func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
  3401. +} # func_lo2o may be replaced by extended shell implementation
  3402. +
  3403. +
  3404. +# func_xform libobj-or-source
  3405. +func_xform ()
  3406. +{
  3407. + func_xform_result=`$ECHO "${1}" | $SED 's/\.[[^.]]*$/.lo/'`
  3408. +} # func_xform may be replaced by extended shell implementation
  3409. +
  3410. +
  3411. # func_fatal_configuration arg...
  3412. # Echo program name prefixed message to standard error, followed by
  3413. # a configuration failure hint, and exit.
  3414. @@ -636,16 +914,16 @@
  3415. # Display the features supported by this script.
  3416. func_features ()
  3417. {
  3418. - $ECHO "host: $host"
  3419. + echo "host: $host"
  3420. if test "$build_libtool_libs" = yes; then
  3421. - $ECHO "enable shared libraries"
  3422. + echo "enable shared libraries"
  3423. else
  3424. - $ECHO "disable shared libraries"
  3425. + echo "disable shared libraries"
  3426. fi
  3427. if test "$build_old_libs" = yes; then
  3428. - $ECHO "enable static libraries"
  3429. + echo "enable static libraries"
  3430. else
  3431. - $ECHO "disable static libraries"
  3432. + echo "disable static libraries"
  3433. fi
  3434. exit $?
  3435. @@ -692,117 +970,201 @@
  3436. esac
  3437. }
  3438. -# Parse options once, thoroughly. This comes as soon as possible in
  3439. -# the script to make things like `libtool --version' happen quickly.
  3440. +# func_check_version_match
  3441. +# Ensure that we are using m4 macros, and libtool script from the same
  3442. +# release of libtool.
  3443. +func_check_version_match ()
  3444. {
  3445. + if test "$package_revision" != "$macro_revision"; then
  3446. + if test "$VERSION" != "$macro_version"; then
  3447. + if test -z "$macro_version"; then
  3448. + cat >&2 <<_LT_EOF
  3449. +$progname: Version mismatch error. This is $PACKAGE $VERSION, but the
  3450. +$progname: definition of this LT_INIT comes from an older release.
  3451. +$progname: You should recreate aclocal.m4 with macros from $PACKAGE $VERSION
  3452. +$progname: and run autoconf again.
  3453. +_LT_EOF
  3454. + else
  3455. + cat >&2 <<_LT_EOF
  3456. +$progname: Version mismatch error. This is $PACKAGE $VERSION, but the
  3457. +$progname: definition of this LT_INIT comes from $PACKAGE $macro_version.
  3458. +$progname: You should recreate aclocal.m4 with macros from $PACKAGE $VERSION
  3459. +$progname: and run autoconf again.
  3460. +_LT_EOF
  3461. + fi
  3462. + else
  3463. + cat >&2 <<_LT_EOF
  3464. +$progname: Version mismatch error. This is $PACKAGE $VERSION, revision $package_revision,
  3465. +$progname: but the definition of this LT_INIT comes from revision $macro_revision.
  3466. +$progname: You should recreate aclocal.m4 with macros from revision $package_revision
  3467. +$progname: of $PACKAGE $VERSION and run autoconf again.
  3468. +_LT_EOF
  3469. + fi
  3470. - # Shorthand for --mode=foo, only valid as the first argument
  3471. - case $1 in
  3472. - clean|clea|cle|cl)
  3473. - shift; set dummy --mode clean ${1+"$@"}; shift
  3474. - ;;
  3475. - compile|compil|compi|comp|com|co|c)
  3476. - shift; set dummy --mode compile ${1+"$@"}; shift
  3477. - ;;
  3478. - execute|execut|execu|exec|exe|ex|e)
  3479. - shift; set dummy --mode execute ${1+"$@"}; shift
  3480. - ;;
  3481. - finish|finis|fini|fin|fi|f)
  3482. - shift; set dummy --mode finish ${1+"$@"}; shift
  3483. - ;;
  3484. - install|instal|insta|inst|ins|in|i)
  3485. - shift; set dummy --mode install ${1+"$@"}; shift
  3486. - ;;
  3487. - link|lin|li|l)
  3488. - shift; set dummy --mode link ${1+"$@"}; shift
  3489. - ;;
  3490. - uninstall|uninstal|uninsta|uninst|unins|unin|uni|un|u)
  3491. - shift; set dummy --mode uninstall ${1+"$@"}; shift
  3492. - ;;
  3493. - esac
  3494. + exit $EXIT_MISMATCH
  3495. + fi
  3496. +}
  3497. +
  3498. +
  3499. +# Shorthand for --mode=foo, only valid as the first argument
  3500. +case $1 in
  3501. +clean|clea|cle|cl)
  3502. + shift; set dummy --mode clean ${1+"$@"}; shift
  3503. + ;;
  3504. +compile|compil|compi|comp|com|co|c)
  3505. + shift; set dummy --mode compile ${1+"$@"}; shift
  3506. + ;;
  3507. +execute|execut|execu|exec|exe|ex|e)
  3508. + shift; set dummy --mode execute ${1+"$@"}; shift
  3509. + ;;
  3510. +finish|finis|fini|fin|fi|f)
  3511. + shift; set dummy --mode finish ${1+"$@"}; shift
  3512. + ;;
  3513. +install|instal|insta|inst|ins|in|i)
  3514. + shift; set dummy --mode install ${1+"$@"}; shift
  3515. + ;;
  3516. +link|lin|li|l)
  3517. + shift; set dummy --mode link ${1+"$@"}; shift
  3518. + ;;
  3519. +uninstall|uninstal|uninsta|uninst|unins|unin|uni|un|u)
  3520. + shift; set dummy --mode uninstall ${1+"$@"}; shift
  3521. + ;;
  3522. +esac
  3523. - # Parse non-mode specific arguments:
  3524. - while test "$#" -gt 0; do
  3525. +
  3526. +
  3527. +# Option defaults:
  3528. +opt_debug=:
  3529. +opt_dry_run=false
  3530. +opt_config=false
  3531. +opt_preserve_dup_deps=false
  3532. +opt_features=false
  3533. +opt_finish=false
  3534. +opt_help=false
  3535. +opt_help_all=false
  3536. +opt_silent=:
  3537. +opt_verbose=:
  3538. +opt_silent=false
  3539. +opt_verbose=false
  3540. +
  3541. +
  3542. +# Parse options once, thoroughly. This comes as soon as possible in the
  3543. +# script to make things like `--version' happen as quickly as we can.
  3544. +{
  3545. + # this just eases exit handling
  3546. + while test $# -gt 0; do
  3547. opt="$1"
  3548. shift
  3549. -
  3550. case $opt in
  3551. - --config) func_config ;;
  3552. -
  3553. - --debug) preserve_args="$preserve_args $opt"
  3554. + --debug|-x) opt_debug='set -x'
  3555. func_echo "enabling shell trace mode"
  3556. - opt_debug='set -x'
  3557. $opt_debug
  3558. ;;
  3559. -
  3560. - -dlopen) test "$#" -eq 0 && func_missing_arg "$opt" && break
  3561. - execute_dlfiles="$execute_dlfiles $1"
  3562. - shift
  3563. + --dry-run|--dryrun|-n)
  3564. + opt_dry_run=:
  3565. ;;
  3566. -
  3567. - --dry-run | -n) opt_dry_run=: ;;
  3568. - --features) func_features ;;
  3569. - --finish) mode="finish" ;;
  3570. -
  3571. - --mode) test "$#" -eq 0 && func_missing_arg "$opt" && break
  3572. - case $1 in
  3573. - # Valid mode arguments:
  3574. - clean) ;;
  3575. - compile) ;;
  3576. - execute) ;;
  3577. - finish) ;;
  3578. - install) ;;
  3579. - link) ;;
  3580. - relink) ;;
  3581. - uninstall) ;;
  3582. -
  3583. - # Catch anything else as an error
  3584. - *) func_error "invalid argument for $opt"
  3585. - exit_cmd=exit
  3586. - break
  3587. - ;;
  3588. - esac
  3589. -
  3590. - mode="$1"
  3591. + --config)
  3592. + opt_config=:
  3593. +func_config
  3594. + ;;
  3595. + --dlopen|-dlopen)
  3596. + optarg="$1"
  3597. + opt_dlopen="${opt_dlopen+$opt_dlopen
  3598. +}$optarg"
  3599. shift
  3600. ;;
  3601. -
  3602. --preserve-dup-deps)
  3603. - opt_duplicate_deps=: ;;
  3604. -
  3605. - --quiet|--silent) preserve_args="$preserve_args $opt"
  3606. - opt_silent=:
  3607. + opt_preserve_dup_deps=:
  3608. ;;
  3609. -
  3610. - --verbose| -v) preserve_args="$preserve_args $opt"
  3611. + --features)
  3612. + opt_features=:
  3613. +func_features
  3614. + ;;
  3615. + --finish)
  3616. + opt_finish=:
  3617. +set dummy --mode finish ${1+"$@"}; shift
  3618. + ;;
  3619. + --help)
  3620. + opt_help=:
  3621. + ;;
  3622. + --help-all)
  3623. + opt_help_all=:
  3624. +opt_help=': help-all'
  3625. + ;;
  3626. + --mode)
  3627. + test $# = 0 && func_missing_arg $opt && break
  3628. + optarg="$1"
  3629. + opt_mode="$optarg"
  3630. +case $optarg in
  3631. + # Valid mode arguments:
  3632. + clean|compile|execute|finish|install|link|relink|uninstall) ;;
  3633. +
  3634. + # Catch anything else as an error
  3635. + *) func_error "invalid argument for $opt"
  3636. + exit_cmd=exit
  3637. + break
  3638. + ;;
  3639. +esac
  3640. + shift
  3641. + ;;
  3642. + --no-silent|--no-quiet)
  3643. opt_silent=false
  3644. +func_append preserve_args " $opt"
  3645. ;;
  3646. -
  3647. - --tag) test "$#" -eq 0 && func_missing_arg "$opt" && break
  3648. - preserve_args="$preserve_args $opt $1"
  3649. - func_enable_tag "$1" # tagname is set here
  3650. + --no-verbose)
  3651. + opt_verbose=false
  3652. +func_append preserve_args " $opt"
  3653. + ;;
  3654. + --silent|--quiet)
  3655. + opt_silent=:
  3656. +func_append preserve_args " $opt"
  3657. + opt_verbose=false
  3658. + ;;
  3659. + --verbose|-v)
  3660. + opt_verbose=:
  3661. +func_append preserve_args " $opt"
  3662. +opt_silent=false
  3663. + ;;
  3664. + --tag)
  3665. + test $# = 0 && func_missing_arg $opt && break
  3666. + optarg="$1"
  3667. + opt_tag="$optarg"
  3668. +func_append preserve_args " $opt $optarg"
  3669. +func_enable_tag "$optarg"
  3670. shift
  3671. ;;
  3672. + -\?|-h) func_usage ;;
  3673. + --help) func_help ;;
  3674. + --version) func_version ;;
  3675. +
  3676. # Separate optargs to long options:
  3677. - -dlopen=*|--mode=*|--tag=*)
  3678. - func_opt_split "$opt"
  3679. - set dummy "$func_opt_split_opt" "$func_opt_split_arg" ${1+"$@"}
  3680. + --*=*)
  3681. + func_split_long_opt "$opt"
  3682. + set dummy "$func_split_long_opt_name" "$func_split_long_opt_arg" ${1+"$@"}
  3683. shift
  3684. ;;
  3685. - -\?|-h) func_usage ;;
  3686. - --help) opt_help=: ;;
  3687. - --version) func_version ;;
  3688. -
  3689. - -*) func_fatal_help "unrecognized option \`$opt'" ;;
  3690. -
  3691. - *) nonopt="$opt"
  3692. - break
  3693. + # Separate non-argument short options:
  3694. + -\?*|-h*|-n*|-v*)
  3695. + func_split_short_opt "$opt"
  3696. + set dummy "$func_split_short_opt_name" "-$func_split_short_opt_arg" ${1+"$@"}
  3697. + shift
  3698. ;;
  3699. +
  3700. + --) break ;;
  3701. + -*) func_fatal_help "unrecognized option \`$opt'" ;;
  3702. + *) set dummy "$opt" ${1+"$@"}; shift; break ;;
  3703. esac
  3704. done
  3705. + # Validate options:
  3706. +
  3707. + # save first non-option argument
  3708. + nonopt="$opt"; shift
  3709. +
  3710. + # preserve --debug
  3711. + $opt_debug && func_append preserve_args " --debug"
  3712. case $host in
  3713. *cygwin* | *mingw* | *pw32* | *cegcc*)
  3714. @@ -810,82 +1172,46 @@
  3715. opt_duplicate_compiler_generated_deps=:
  3716. ;;
  3717. *)
  3718. - opt_duplicate_compiler_generated_deps=$opt_duplicate_deps
  3719. + opt_duplicate_compiler_generated_deps=$opt_preserve_dup_deps
  3720. ;;
  3721. esac
  3722. - # Having warned about all mis-specified options, bail out if
  3723. - # anything was wrong.
  3724. - $exit_cmd $EXIT_FAILURE
  3725. -}
  3726. + $opt_help || {
  3727. + # Sanity checks first:
  3728. + func_check_version_match
  3729. -# func_check_version_match
  3730. -# Ensure that we are using m4 macros, and libtool script from the same
  3731. -# release of libtool.
  3732. -func_check_version_match ()
  3733. -{
  3734. - if test "$package_revision" != "$macro_revision"; then
  3735. - if test "$VERSION" != "$macro_version"; then
  3736. - if test -z "$macro_version"; then
  3737. - cat >&2 <<_LT_EOF
  3738. -$progname: Version mismatch error. This is $PACKAGE $VERSION, but the
  3739. -$progname: definition of this LT_INIT comes from an older release.
  3740. -$progname: You should recreate aclocal.m4 with macros from $PACKAGE $VERSION
  3741. -$progname: and run autoconf again.
  3742. -_LT_EOF
  3743. - else
  3744. - cat >&2 <<_LT_EOF
  3745. -$progname: Version mismatch error. This is $PACKAGE $VERSION, but the
  3746. -$progname: definition of this LT_INIT comes from $PACKAGE $macro_version.
  3747. -$progname: You should recreate aclocal.m4 with macros from $PACKAGE $VERSION
  3748. -$progname: and run autoconf again.
  3749. -_LT_EOF
  3750. - fi
  3751. - else
  3752. - cat >&2 <<_LT_EOF
  3753. -$progname: Version mismatch error. This is $PACKAGE $VERSION, revision $package_revision,
  3754. -$progname: but the definition of this LT_INIT comes from revision $macro_revision.
  3755. -$progname: You should recreate aclocal.m4 with macros from revision $package_revision
  3756. -$progname: of $PACKAGE $VERSION and run autoconf again.
  3757. -_LT_EOF
  3758. + if test "$build_libtool_libs" != yes && test "$build_old_libs" != yes; then
  3759. + func_fatal_configuration "not configured to build any kind of library"
  3760. fi
  3761. - exit $EXIT_MISMATCH
  3762. - fi
  3763. -}
  3764. -
  3765. + test -z "$opt_mode" && func_fatal_error "error: you must specify a MODE."
  3766. -## ----------- ##
  3767. -## Main. ##
  3768. -## ----------- ##
  3769. + # Darwin sucks
  3770. + eval std_shrext=\"$shrext_cmds\"
  3771. -$opt_help || {
  3772. - # Sanity checks first:
  3773. - func_check_version_match
  3774. -
  3775. - if test "$build_libtool_libs" != yes && test "$build_old_libs" != yes; then
  3776. - func_fatal_configuration "not configured to build any kind of library"
  3777. - fi
  3778. + # Only execute mode is allowed to have -dlopen flags.
  3779. + if test -n "$opt_dlopen" && test "$opt_mode" != execute; then
  3780. + func_error "unrecognized option \`-dlopen'"
  3781. + $ECHO "$help" 1>&2
  3782. + exit $EXIT_FAILURE
  3783. + fi
  3784. - test -z "$mode" && func_fatal_error "error: you must specify a MODE."
  3785. + # Change the help message to a mode-specific one.
  3786. + generic_help="$help"
  3787. + help="Try \`$progname --help --mode=$opt_mode' for more information."
  3788. + }
  3789. - # Darwin sucks
  3790. - eval std_shrext=\"$shrext_cmds\"
  3791. + # Bail if the options were screwed
  3792. + $exit_cmd $EXIT_FAILURE
  3793. +}
  3794. - # Only execute mode is allowed to have -dlopen flags.
  3795. - if test -n "$execute_dlfiles" && test "$mode" != execute; then
  3796. - func_error "unrecognized option \`-dlopen'"
  3797. - $ECHO "$help" 1>&2
  3798. - exit $EXIT_FAILURE
  3799. - fi
  3800. - # Change the help message to a mode-specific one.
  3801. - generic_help="$help"
  3802. - help="Try \`$progname --help --mode=$mode' for more information."
  3803. -}
  3804. +## ----------- ##
  3805. +## Main. ##
  3806. +## ----------- ##
  3807. # func_lalib_p file
  3808. # True iff FILE is a libtool `.la' library or `.lo' object file.
  3809. @@ -950,12 +1276,9 @@
  3810. # temporary ltwrapper_script.
  3811. func_ltwrapper_scriptname ()
  3812. {
  3813. - func_ltwrapper_scriptname_result=""
  3814. - if func_ltwrapper_executable_p "$1"; then
  3815. - func_dirname_and_basename "$1" "" "."
  3816. - func_stripname '' '.exe' "$func_basename_result"
  3817. - func_ltwrapper_scriptname_result="$func_dirname_result/$objdir/${func_stripname_result}_ltshwrapper"
  3818. - fi
  3819. + func_dirname_and_basename "$1" "" "."
  3820. + func_stripname '' '.exe' "$func_basename_result"
  3821. + func_ltwrapper_scriptname_result="$func_dirname_result/$objdir/${func_stripname_result}_ltshwrapper"
  3822. }
  3823. # func_ltwrapper_p file
  3824. @@ -1013,13 +1336,15 @@
  3825. if test -n "$available_tags" && test -z "$tagname"; then
  3826. CC_quoted=
  3827. for arg in $CC; do
  3828. - func_quote_for_eval "$arg"
  3829. - CC_quoted="$CC_quoted $func_quote_for_eval_result"
  3830. + func_append_quoted CC_quoted "$arg"
  3831. done
  3832. + CC_expanded=`func_echo_all $CC`
  3833. + CC_quoted_expanded=`func_echo_all $CC_quoted`
  3834. case $@ in
  3835. # Blanks in the command may have been stripped by the calling shell,
  3836. # but not from the CC environment variable when configure was run.
  3837. - " $CC "* | "$CC "* | " `$ECHO $CC` "* | "`$ECHO $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$ECHO $CC_quoted` "* | "`$ECHO $CC_quoted` "*) ;;
  3838. + " $CC "* | "$CC "* | " $CC_expanded "* | "$CC_expanded "* | \
  3839. + " $CC_quoted"* | "$CC_quoted "* | " $CC_quoted_expanded "* | "$CC_quoted_expanded "*) ;;
  3840. # Blanks at the start of $base_compile will cause this to fail
  3841. # if we don't check for them as well.
  3842. *)
  3843. @@ -1030,11 +1355,13 @@
  3844. CC_quoted=
  3845. for arg in $CC; do
  3846. # Double-quote args containing other shell metacharacters.
  3847. - func_quote_for_eval "$arg"
  3848. - CC_quoted="$CC_quoted $func_quote_for_eval_result"
  3849. + func_append_quoted CC_quoted "$arg"
  3850. done
  3851. + CC_expanded=`func_echo_all $CC`
  3852. + CC_quoted_expanded=`func_echo_all $CC_quoted`
  3853. case "$@ " in
  3854. - " $CC "* | "$CC "* | " `$ECHO $CC` "* | "`$ECHO $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$ECHO $CC_quoted` "* | "`$ECHO $CC_quoted` "*)
  3855. + " $CC "* | "$CC "* | " $CC_expanded "* | "$CC_expanded "* | \
  3856. + " $CC_quoted"* | "$CC_quoted "* | " $CC_quoted_expanded "* | "$CC_quoted_expanded "*)
  3857. # The compiler in the base compile command matches
  3858. # the one in the tagged configuration.
  3859. # Assume this is the tagged configuration we want.
  3860. @@ -1137,12 +1464,12 @@
  3861. ;;
  3862. -pie | -fpie | -fPIE)
  3863. - pie_flag="$pie_flag $arg"
  3864. + func_append pie_flag " $arg"
  3865. continue
  3866. ;;
  3867. -shared | -static | -prefer-pic | -prefer-non-pic)
  3868. - later="$later $arg"
  3869. + func_append later " $arg"
  3870. continue
  3871. ;;
  3872. @@ -1163,15 +1490,14 @@
  3873. save_ifs="$IFS"; IFS=','
  3874. for arg in $args; do
  3875. IFS="$save_ifs"
  3876. - func_quote_for_eval "$arg"
  3877. - lastarg="$lastarg $func_quote_for_eval_result"
  3878. + func_append_quoted lastarg " $arg"
  3879. done
  3880. IFS="$save_ifs"
  3881. func_stripname ' ' '' "$lastarg"
  3882. lastarg=$func_stripname_result
  3883. # Add the arguments to base_compile.
  3884. - base_compile="$base_compile $lastarg"
  3885. + func_append base_compile " $lastarg"
  3886. continue
  3887. ;;
  3888. @@ -1187,8 +1513,7 @@
  3889. esac # case $arg_mode
  3890. # Aesthetically quote the previous argument.
  3891. - func_quote_for_eval "$lastarg"
  3892. - base_compile="$base_compile $func_quote_for_eval_result"
  3893. + func_append_quoted base_compile "$lastarg"
  3894. done # for arg
  3895. case $arg_mode in
  3896. @@ -1213,7 +1538,7 @@
  3897. *.[cCFSifmso] | \
  3898. *.ada | *.adb | *.ads | *.asm | \
  3899. *.c++ | *.cc | *.ii | *.class | *.cpp | *.cxx | \
  3900. - *.[fF][09]? | *.for | *.java | *.obj | *.sx)
  3901. + *.[fF][09]? | *.for | *.java | *.obj | *.sx | *.cu | *.cup)
  3902. func_xform "$libobj"
  3903. libobj=$func_xform_result
  3904. ;;
  3905. @@ -1288,7 +1613,7 @@
  3906. # Calculate the filename of the output object if compiler does
  3907. # not support -o with -c
  3908. if test "$compiler_c_o" = no; then
  3909. - output_obj=`$ECHO "X$srcfile" | $Xsed -e 's%^.*/%%' -e 's%\.[^.]*$%%'`.${objext}
  3910. + output_obj=`$ECHO "$srcfile" | $SED 's%^.*/%%; s%\.[^.]*$%%'`.${objext}
  3911. lockfile="$output_obj.lock"
  3912. else
  3913. output_obj=
  3914. @@ -1319,12 +1644,12 @@
  3915. $opt_dry_run || $RM $removelist
  3916. exit $EXIT_FAILURE
  3917. fi
  3918. - removelist="$removelist $output_obj"
  3919. + func_append removelist " $output_obj"
  3920. $ECHO "$srcfile" > "$lockfile"
  3921. fi
  3922. $opt_dry_run || $RM $removelist
  3923. - removelist="$removelist $lockfile"
  3924. + func_append removelist " $lockfile"
  3925. trap '$opt_dry_run || $RM $removelist; exit $EXIT_FAILURE' 1 2 15
  3926. if test -n "$fix_srcfile_path"; then
  3927. @@ -1349,7 +1674,7 @@
  3928. if test -z "$output_obj"; then
  3929. # Place PIC objects in $objdir
  3930. - command="$command -o $lobj"
  3931. + func_append command " -o $lobj"
  3932. fi
  3933. func_show_eval_locale "$command" \
  3934. @@ -1396,11 +1721,11 @@
  3935. command="$base_compile $qsrcfile $pic_flag"
  3936. fi
  3937. if test "$compiler_c_o" = yes; then
  3938. - command="$command -o $obj"
  3939. + func_append command " -o $obj"
  3940. fi
  3941. # Suppress compiler output if we already did a PIC compilation.
  3942. - command="$command$suppress_output"
  3943. + func_append command "$suppress_output"
  3944. func_show_eval_locale "$command" \
  3945. '$opt_dry_run || $RM $removelist; exit $EXIT_FAILURE'
  3946. @@ -1445,13 +1770,13 @@
  3947. }
  3948. $opt_help || {
  3949. -test "$mode" = compile && func_mode_compile ${1+"$@"}
  3950. + test "$opt_mode" = compile && func_mode_compile ${1+"$@"}
  3951. }
  3952. func_mode_help ()
  3953. {
  3954. # We need to display help for each of the modes.
  3955. - case $mode in
  3956. + case $opt_mode in
  3957. "")
  3958. # Generic help is extracted from the usage comments
  3959. # at the start of this file.
  3960. @@ -1482,10 +1807,11 @@
  3961. -o OUTPUT-FILE set the output file name to OUTPUT-FILE
  3962. -no-suppress do not suppress compiler output for multiple passes
  3963. - -prefer-pic try to building PIC objects only
  3964. - -prefer-non-pic try to building non-PIC objects only
  3965. + -prefer-pic try to build PIC objects only
  3966. + -prefer-non-pic try to build non-PIC objects only
  3967. -shared do not build a \`.o' file suitable for static linking
  3968. -static only build a \`.o' file suitable for static linking
  3969. + -Wc,FLAG pass FLAG directly to the compiler
  3970. COMPILE-COMMAND is a command to be used in creating a \`standard' object file
  3971. from the given SOURCEFILE.
  3972. @@ -1538,7 +1864,7 @@
  3973. The following components of INSTALL-COMMAND are treated specially:
  3974. - -inst-prefix PREFIX-DIR Use PREFIX-DIR as a staging area for installation
  3975. + -inst-prefix-dir PREFIX-DIR Use PREFIX-DIR as a staging area for installation
  3976. The rest of the components are interpreted as arguments to that command (only
  3977. BSD-compatible install options are recognized)."
  3978. @@ -1558,6 +1884,8 @@
  3979. -all-static do not do any dynamic linking at all
  3980. -avoid-version do not add a version suffix if possible
  3981. + -bindir BINDIR specify path to binaries directory (for systems where
  3982. + libraries must be found in the PATH setting at runtime)
  3983. -dlopen FILE \`-dlpreopen' FILE if it cannot be dlopened at runtime
  3984. -dlpreopen FILE link in FILE and add its symbols to lt_preloaded_symbols
  3985. -export-dynamic allow symbols from OUTPUT-FILE to be resolved with dlsym(3)
  3986. @@ -1586,6 +1914,11 @@
  3987. -version-info CURRENT[:REVISION[:AGE]]
  3988. specify library version info [each variable defaults to 0]
  3989. -weak LIBNAME declare that the target provides the LIBNAME interface
  3990. + -Wc,FLAG
  3991. + -Xcompiler FLAG pass linker-specific FLAG directly to the compiler
  3992. + -Wl,FLAG
  3993. + -Xlinker FLAG pass linker-specific FLAG directly to the linker
  3994. + -XCClinker FLAG pass link-specific FLAG to the compiler driver (CC)
  3995. All other options (arguments beginning with \`-') are ignored.
  3996. @@ -1619,18 +1952,44 @@
  3997. ;;
  3998. *)
  3999. - func_fatal_help "invalid operation mode \`$mode'"
  4000. + func_fatal_help "invalid operation mode \`$opt_mode'"
  4001. ;;
  4002. esac
  4003. - $ECHO
  4004. + echo
  4005. $ECHO "Try \`$progname --help' for more information about other modes."
  4006. -
  4007. - exit $?
  4008. }
  4009. - # Now that we've collected a possible --mode arg, show help if necessary
  4010. - $opt_help && func_mode_help
  4011. +# Now that we've collected a possible --mode arg, show help if necessary
  4012. +if $opt_help; then
  4013. + if test "$opt_help" = :; then
  4014. + func_mode_help
  4015. + else
  4016. + {
  4017. + func_help noexit
  4018. + for opt_mode in compile link execute install finish uninstall clean; do
  4019. + func_mode_help
  4020. + done
  4021. + } | sed -n '1p; 2,$s/^Usage:/ or: /p'
  4022. + {
  4023. + func_help noexit
  4024. + for opt_mode in compile link execute install finish uninstall clean; do
  4025. + echo
  4026. + func_mode_help
  4027. + done
  4028. + } |
  4029. + sed '1d
  4030. + /^When reporting/,/^Report/{
  4031. + H
  4032. + d
  4033. + }
  4034. + $x
  4035. + /information about other modes/d
  4036. + /more detailed .*MODE/d
  4037. + s/^Usage:.*--mode=\([^ ]*\) .*/Description of \1 mode:/'
  4038. + fi
  4039. + exit $?
  4040. +fi
  4041. # func_mode_execute arg...
  4042. @@ -1643,7 +2002,7 @@
  4043. func_fatal_help "you must specify a COMMAND"
  4044. # Handle -dlopen flags immediately.
  4045. - for file in $execute_dlfiles; do
  4046. + for file in $opt_dlopen; do
  4047. test -f "$file" \
  4048. || func_fatal_help "\`$file' is not a file"
  4049. @@ -1671,7 +2030,7 @@
  4050. dir="$func_dirname_result"
  4051. if test -f "$dir/$objdir/$dlname"; then
  4052. - dir="$dir/$objdir"
  4053. + func_append dir "/$objdir"
  4054. else
  4055. if test ! -f "$dir/$dlname"; then
  4056. func_fatal_error "cannot find \`$dlname' in \`$dir' or \`$dir/$objdir'"
  4057. @@ -1712,7 +2071,7 @@
  4058. for file
  4059. do
  4060. case $file in
  4061. - -*) ;;
  4062. + -* | *.la | *.lo ) ;;
  4063. *)
  4064. # Do a test to see if this is really a libtool program.
  4065. if func_ltwrapper_script_p "$file"; then
  4066. @@ -1728,8 +2087,7 @@
  4067. ;;
  4068. esac
  4069. # Quote arguments (to preserve shell metacharacters).
  4070. - func_quote_for_eval "$file"
  4071. - args="$args $func_quote_for_eval_result"
  4072. + func_append_quoted args "$file"
  4073. done
  4074. if test "X$opt_dry_run" = Xfalse; then
  4075. @@ -1754,14 +2112,14 @@
  4076. # Display what would be done.
  4077. if test -n "$shlibpath_var"; then
  4078. eval "\$ECHO \"\$shlibpath_var=\$$shlibpath_var\""
  4079. - $ECHO "export $shlibpath_var"
  4080. + echo "export $shlibpath_var"
  4081. fi
  4082. $ECHO "$cmd$args"
  4083. exit $EXIT_SUCCESS
  4084. fi
  4085. }
  4086. -test "$mode" = execute && func_mode_execute ${1+"$@"}
  4087. +test "$opt_mode" = execute && func_mode_execute ${1+"$@"}
  4088. # func_mode_finish arg...
  4089. @@ -1774,7 +2132,7 @@
  4090. if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then
  4091. for dir
  4092. do
  4093. - libdirs="$libdirs $dir"
  4094. + func_append libdirs " $dir"
  4095. done
  4096. for libdir in $libdirs; do
  4097. @@ -1786,7 +2144,7 @@
  4098. if test -n "$finish_eval"; then
  4099. # Do the single finish_eval.
  4100. eval cmds=\"$finish_eval\"
  4101. - $opt_dry_run || eval "$cmds" || admincmds="$admincmds
  4102. + $opt_dry_run || eval "$cmds" || func_append admincmds "
  4103. $cmds"
  4104. fi
  4105. done
  4106. @@ -1795,23 +2153,23 @@
  4107. # Exit here if they wanted silent mode.
  4108. $opt_silent && exit $EXIT_SUCCESS
  4109. - $ECHO "X----------------------------------------------------------------------" | $Xsed
  4110. - $ECHO "Libraries have been installed in:"
  4111. + echo "----------------------------------------------------------------------"
  4112. + echo "Libraries have been installed in:"
  4113. for libdir in $libdirs; do
  4114. $ECHO " $libdir"
  4115. done
  4116. - $ECHO
  4117. - $ECHO "If you ever happen to want to link against installed libraries"
  4118. - $ECHO "in a given directory, LIBDIR, you must either use libtool, and"
  4119. - $ECHO "specify the full pathname of the library, or use the \`-LLIBDIR'"
  4120. - $ECHO "flag during linking and do at least one of the following:"
  4121. + echo
  4122. + echo "If you ever happen to want to link against installed libraries"
  4123. + echo "in a given directory, LIBDIR, you must either use libtool, and"
  4124. + echo "specify the full pathname of the library, or use the \`-LLIBDIR'"
  4125. + echo "flag during linking and do at least one of the following:"
  4126. if test -n "$shlibpath_var"; then
  4127. - $ECHO " - add LIBDIR to the \`$shlibpath_var' environment variable"
  4128. - $ECHO " during execution"
  4129. + echo " - add LIBDIR to the \`$shlibpath_var' environment variable"
  4130. + echo " during execution"
  4131. fi
  4132. if test -n "$runpath_var"; then
  4133. - $ECHO " - add LIBDIR to the \`$runpath_var' environment variable"
  4134. - $ECHO " during linking"
  4135. + echo " - add LIBDIR to the \`$runpath_var' environment variable"
  4136. + echo " during linking"
  4137. fi
  4138. if test -n "$hardcode_libdir_flag_spec"; then
  4139. libdir=LIBDIR
  4140. @@ -1823,25 +2181,25 @@
  4141. $ECHO " - have your system administrator run these commands:$admincmds"
  4142. fi
  4143. if test -f /etc/ld.so.conf; then
  4144. - $ECHO " - have your system administrator add LIBDIR to \`/etc/ld.so.conf'"
  4145. + echo " - have your system administrator add LIBDIR to \`/etc/ld.so.conf'"
  4146. fi
  4147. - $ECHO
  4148. + echo
  4149. - $ECHO "See any operating system documentation about shared libraries for"
  4150. + echo "See any operating system documentation about shared libraries for"
  4151. case $host in
  4152. solaris2.[6789]|solaris2.1[0-9])
  4153. - $ECHO "more information, such as the ld(1), crle(1) and ld.so(8) manual"
  4154. - $ECHO "pages."
  4155. + echo "more information, such as the ld(1), crle(1) and ld.so(8) manual"
  4156. + echo "pages."
  4157. ;;
  4158. *)
  4159. - $ECHO "more information, such as the ld(1) and ld.so(8) manual pages."
  4160. + echo "more information, such as the ld(1) and ld.so(8) manual pages."
  4161. ;;
  4162. esac
  4163. - $ECHO "X----------------------------------------------------------------------" | $Xsed
  4164. + echo "----------------------------------------------------------------------"
  4165. exit $EXIT_SUCCESS
  4166. }
  4167. -test "$mode" = finish && func_mode_finish ${1+"$@"}
  4168. +test "$opt_mode" = finish && func_mode_finish ${1+"$@"}
  4169. # func_mode_install arg...
  4170. @@ -1852,7 +2210,7 @@
  4171. # install_prog (especially on Windows NT).
  4172. if test "$nonopt" = "$SHELL" || test "$nonopt" = /bin/sh ||
  4173. # Allow the use of GNU shtool's install command.
  4174. - $ECHO "X$nonopt" | $GREP shtool >/dev/null; then
  4175. + case $nonopt in *shtool*) :;; *) false;; esac; then
  4176. # Aesthetically quote it.
  4177. func_quote_for_eval "$nonopt"
  4178. install_prog="$func_quote_for_eval_result "
  4179. @@ -1866,7 +2224,12 @@
  4180. # The real first argument should be the name of the installation program.
  4181. # Aesthetically quote it.
  4182. func_quote_for_eval "$arg"
  4183. - install_prog="$install_prog$func_quote_for_eval_result"
  4184. + func_append install_prog "$func_quote_for_eval_result"
  4185. + install_shared_prog=$install_prog
  4186. + case " $install_prog " in
  4187. + *[\\\ /]cp\ *) install_cp=: ;;
  4188. + *) install_cp=false ;;
  4189. + esac
  4190. # We need to accept at least all the BSD install flags.
  4191. dest=
  4192. @@ -1876,10 +2239,12 @@
  4193. install_type=
  4194. isdir=no
  4195. stripme=
  4196. + no_mode=:
  4197. for arg
  4198. do
  4199. + arg2=
  4200. if test -n "$dest"; then
  4201. - files="$files $dest"
  4202. + func_append files " $dest"
  4203. dest=$arg
  4204. continue
  4205. fi
  4206. @@ -1887,10 +2252,9 @@
  4207. case $arg in
  4208. -d) isdir=yes ;;
  4209. -f)
  4210. - case " $install_prog " in
  4211. - *[\\\ /]cp\ *) ;;
  4212. - *) prev=$arg ;;
  4213. - esac
  4214. + if $install_cp; then :; else
  4215. + prev=$arg
  4216. + fi
  4217. ;;
  4218. -g | -m | -o)
  4219. prev=$arg
  4220. @@ -1904,6 +2268,10 @@
  4221. *)
  4222. # If the previous option needed an argument, then skip it.
  4223. if test -n "$prev"; then
  4224. + if test "x$prev" = x-m && test -n "$install_override_mode"; then
  4225. + arg2=$install_override_mode
  4226. + no_mode=false
  4227. + fi
  4228. prev=
  4229. else
  4230. dest=$arg
  4231. @@ -1914,7 +2282,11 @@
  4232. # Aesthetically quote the argument.
  4233. func_quote_for_eval "$arg"
  4234. - install_prog="$install_prog $func_quote_for_eval_result"
  4235. + func_append install_prog " $func_quote_for_eval_result"
  4236. + if test -n "$arg2"; then
  4237. + func_quote_for_eval "$arg2"
  4238. + fi
  4239. + func_append install_shared_prog " $func_quote_for_eval_result"
  4240. done
  4241. test -z "$install_prog" && \
  4242. @@ -1923,6 +2295,13 @@
  4243. test -n "$prev" && \
  4244. func_fatal_help "the \`$prev' option requires an argument"
  4245. + if test -n "$install_override_mode" && $no_mode; then
  4246. + if $install_cp; then :; else
  4247. + func_quote_for_eval "$install_override_mode"
  4248. + func_append install_shared_prog " -m $func_quote_for_eval_result"
  4249. + fi
  4250. + fi
  4251. +
  4252. if test -z "$files"; then
  4253. if test -z "$dest"; then
  4254. func_fatal_help "no file or destination specified"
  4255. @@ -1977,7 +2356,7 @@
  4256. case $file in
  4257. *.$libext)
  4258. # Do the static libraries later.
  4259. - staticlibs="$staticlibs $file"
  4260. + func_append staticlibs " $file"
  4261. ;;
  4262. *.la)
  4263. @@ -1994,23 +2373,23 @@
  4264. if test "X$destdir" = "X$libdir"; then
  4265. case "$current_libdirs " in
  4266. *" $libdir "*) ;;
  4267. - *) current_libdirs="$current_libdirs $libdir" ;;
  4268. + *) func_append current_libdirs " $libdir" ;;
  4269. esac
  4270. else
  4271. # Note the libdir as a future libdir.
  4272. case "$future_libdirs " in
  4273. *" $libdir "*) ;;
  4274. - *) future_libdirs="$future_libdirs $libdir" ;;
  4275. + *) func_append future_libdirs " $libdir" ;;
  4276. esac
  4277. fi
  4278. func_dirname "$file" "/" ""
  4279. dir="$func_dirname_result"
  4280. - dir="$dir$objdir"
  4281. + func_append dir "$objdir"
  4282. if test -n "$relink_command"; then
  4283. # Determine the prefix the user has applied to our future dir.
  4284. - inst_prefix_dir=`$ECHO "X$destdir" | $Xsed -e "s%$libdir\$%%"`
  4285. + inst_prefix_dir=`$ECHO "$destdir" | $SED -e "s%$libdir\$%%"`
  4286. # Don't allow the user to place us outside of our expected
  4287. # location b/c this prevents finding dependent libraries that
  4288. @@ -2023,9 +2402,9 @@
  4289. if test -n "$inst_prefix_dir"; then
  4290. # Stick the inst_prefix_dir data into the link command.
  4291. - relink_command=`$ECHO "X$relink_command" | $Xsed -e "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%"`
  4292. + relink_command=`$ECHO "$relink_command" | $SED "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%"`
  4293. else
  4294. - relink_command=`$ECHO "X$relink_command" | $Xsed -e "s%@inst_prefix_dir@%%"`
  4295. + relink_command=`$ECHO "$relink_command" | $SED "s%@inst_prefix_dir@%%"`
  4296. fi
  4297. func_warning "relinking \`$file'"
  4298. @@ -2043,7 +2422,7 @@
  4299. test -n "$relink_command" && srcname="$realname"T
  4300. # Install the shared library and build the symlinks.
  4301. - func_show_eval "$install_prog $dir/$srcname $destdir/$realname" \
  4302. + func_show_eval "$install_shared_prog $dir/$srcname $destdir/$realname" \
  4303. 'exit $?'
  4304. tstripme="$stripme"
  4305. case $host_os in
  4306. @@ -2083,7 +2462,7 @@
  4307. func_show_eval "$install_prog $instname $destdir/$name" 'exit $?'
  4308. # Maybe install the static library, too.
  4309. - test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"
  4310. + test -n "$old_library" && func_append staticlibs " $dir/$old_library"
  4311. ;;
  4312. *.lo)
  4313. @@ -2183,7 +2562,7 @@
  4314. if test -f "$lib"; then
  4315. func_source "$lib"
  4316. fi
  4317. - libfile="$libdir/"`$ECHO "X$lib" | $Xsed -e 's%^.*/%%g'` ### testsuite: skip nested quoting test
  4318. + libfile="$libdir/"`$ECHO "$lib" | $SED 's%^.*/%%g'` ### testsuite: skip nested quoting test
  4319. if test -n "$libdir" && test ! -f "$libfile"; then
  4320. func_warning "\`$lib' has not been installed in \`$libdir'"
  4321. finalize=no
  4322. @@ -2202,7 +2581,7 @@
  4323. file="$func_basename_result"
  4324. outputname="$tmpdir/$file"
  4325. # Replace the output file specification.
  4326. - relink_command=`$ECHO "X$relink_command" | $Xsed -e 's%@OUTPUT@%'"$outputname"'%g'`
  4327. + relink_command=`$ECHO "$relink_command" | $SED 's%@OUTPUT@%'"$outputname"'%g'`
  4328. $opt_silent || {
  4329. func_quote_for_expand "$relink_command"
  4330. @@ -2221,7 +2600,7 @@
  4331. }
  4332. else
  4333. # Install the binary that we compiled earlier.
  4334. - file=`$ECHO "X$file$stripped_ext" | $Xsed -e "s%\([^/]*\)$%$objdir/\1%"`
  4335. + file=`$ECHO "$file$stripped_ext" | $SED "s%\([^/]*\)$%$objdir/\1%"`
  4336. fi
  4337. fi
  4338. @@ -2280,7 +2659,7 @@
  4339. fi
  4340. }
  4341. -test "$mode" = install && func_mode_install ${1+"$@"}
  4342. +test "$opt_mode" = install && func_mode_install ${1+"$@"}
  4343. # func_generate_dlsyms outputname originator pic_p
  4344. @@ -2323,6 +2702,10 @@
  4345. extern \"C\" {
  4346. #endif
  4347. +#if defined(__GNUC__) && (((__GNUC__ == 4) && (__GNUC_MINOR__ >= 4)) || (__GNUC__ > 4))
  4348. +#pragma GCC diagnostic ignored \"-Wstrict-prototypes\"
  4349. +#endif
  4350. +
  4351. /* External symbol declarations for the compiler. */\
  4352. "
  4353. @@ -2332,7 +2715,7 @@
  4354. $opt_dry_run || echo ': @PROGRAM@ ' > "$nlist"
  4355. # Add our own program objects to the symbol list.
  4356. - progfiles=`$ECHO "X$objs$old_deplibs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
  4357. + progfiles=`$ECHO "$objs$old_deplibs" | $SP2NL | $SED "$lo2o" | $NL2SP`
  4358. for progfile in $progfiles; do
  4359. func_verbose "extracting global C symbols from \`$progfile'"
  4360. $opt_dry_run || eval "$NM $progfile | $global_symbol_pipe >> '$nlist'"
  4361. @@ -2371,7 +2754,7 @@
  4362. eval '$GREP -f "$output_objdir/$outputname.exp" < "$nlist" > "$nlist"T'
  4363. eval '$MV "$nlist"T "$nlist"'
  4364. case $host in
  4365. - *cygwin | *mingw* | *cegcc* )
  4366. + *cygwin* | *mingw* | *cegcc* )
  4367. eval "echo EXPORTS "'> "$output_objdir/$outputname.def"'
  4368. eval 'cat "$nlist" >> "$output_objdir/$outputname.def"'
  4369. ;;
  4370. @@ -2384,10 +2767,49 @@
  4371. func_verbose "extracting global C symbols from \`$dlprefile'"
  4372. func_basename "$dlprefile"
  4373. name="$func_basename_result"
  4374. - $opt_dry_run || {
  4375. - eval '$ECHO ": $name " >> "$nlist"'
  4376. - eval "$NM $dlprefile 2>/dev/null | $global_symbol_pipe >> '$nlist'"
  4377. - }
  4378. + case $host in
  4379. + *cygwin* | *mingw* | *cegcc* )
  4380. + # if an import library, we need to obtain dlname
  4381. + if func_win32_import_lib_p "$dlprefile"; then
  4382. + func_tr_sh "$dlprefile"
  4383. + eval "curr_lafile=\$libfile_$func_tr_sh_result"
  4384. + dlprefile_dlbasename=""
  4385. + if test -n "$curr_lafile" && func_lalib_p "$curr_lafile"; then
  4386. + # Use subshell, to avoid clobbering current variable values
  4387. + dlprefile_dlname=`source "$curr_lafile" && echo "$dlname"`
  4388. + if test -n "$dlprefile_dlname" ; then
  4389. + func_basename "$dlprefile_dlname"
  4390. + dlprefile_dlbasename="$func_basename_result"
  4391. + else
  4392. + # no lafile. user explicitly requested -dlpreopen <import library>.
  4393. + $sharedlib_from_linklib "$dlprefile"
  4394. + dlprefile_dlbasename=$sharedlib_from_linklib_result
  4395. + fi
  4396. + fi
  4397. + $opt_dry_run || {
  4398. + if test -n "$dlprefile_dlbasename" ; then
  4399. + eval '$ECHO ": $dlprefile_dlbasename" >> "$nlist"'
  4400. + else
  4401. + func_warning "Could not compute DLL name from $name"
  4402. + eval '$ECHO ": $name " >> "$nlist"'
  4403. + fi
  4404. + eval "$NM $dlprefile 2>/dev/null | $global_symbol_pipe |
  4405. + $SED -e '/I __imp/d' -e 's/I __nm_/D /;s/_nm__//' >> '$nlist'"
  4406. + }
  4407. + else # not an import lib
  4408. + $opt_dry_run || {
  4409. + eval '$ECHO ": $name " >> "$nlist"'
  4410. + eval "$NM $dlprefile 2>/dev/null | $global_symbol_pipe >> '$nlist'"
  4411. + }
  4412. + fi
  4413. + ;;
  4414. + *)
  4415. + $opt_dry_run || {
  4416. + eval '$ECHO ": $name " >> "$nlist"'
  4417. + eval "$NM $dlprefile 2>/dev/null | $global_symbol_pipe >> '$nlist'"
  4418. + }
  4419. + ;;
  4420. + esac
  4421. done
  4422. $opt_dry_run || {
  4423. @@ -2415,10 +2837,10 @@
  4424. if test -f "$nlist"S; then
  4425. eval "$global_symbol_to_cdecl"' < "$nlist"S >> "$output_objdir/$my_dlsyms"'
  4426. else
  4427. - $ECHO '/* NONE */' >> "$output_objdir/$my_dlsyms"
  4428. + echo '/* NONE */' >> "$output_objdir/$my_dlsyms"
  4429. fi
  4430. - $ECHO >> "$output_objdir/$my_dlsyms" "\
  4431. + echo >> "$output_objdir/$my_dlsyms" "\
  4432. /* The mapping between symbol names and symbols. */
  4433. typedef struct {
  4434. @@ -2428,7 +2850,7 @@
  4435. "
  4436. case $host in
  4437. *cygwin* | *mingw* | *cegcc* )
  4438. - $ECHO >> "$output_objdir/$my_dlsyms" "\
  4439. + echo >> "$output_objdir/$my_dlsyms" "\
  4440. /* DATA imports from DLLs on WIN32 con't be const, because
  4441. runtime relocations are performed -- see ld's documentation
  4442. on pseudo-relocs. */"
  4443. @@ -2441,7 +2863,7 @@
  4444. lt_dlsym_const=const ;;
  4445. esac
  4446. - $ECHO >> "$output_objdir/$my_dlsyms" "\
  4447. + echo >> "$output_objdir/$my_dlsyms" "\
  4448. extern $lt_dlsym_const lt_dlsymlist
  4449. lt_${my_prefix}_LTX_preloaded_symbols[];
  4450. $lt_dlsym_const lt_dlsymlist
  4451. @@ -2457,7 +2879,7 @@
  4452. eval "$global_symbol_to_c_name_address_lib_prefix" < "$nlist" >> "$output_objdir/$my_dlsyms"
  4453. ;;
  4454. esac
  4455. - $ECHO >> "$output_objdir/$my_dlsyms" "\
  4456. + echo >> "$output_objdir/$my_dlsyms" "\
  4457. {0, (void *) 0}
  4458. };
  4459. @@ -2500,7 +2922,7 @@
  4460. for arg in $LTCFLAGS; do
  4461. case $arg in
  4462. -pie | -fpie | -fPIE) ;;
  4463. - *) symtab_cflags="$symtab_cflags $arg" ;;
  4464. + *) func_append symtab_cflags " $arg" ;;
  4465. esac
  4466. done
  4467. @@ -2515,16 +2937,16 @@
  4468. case $host in
  4469. *cygwin* | *mingw* | *cegcc* )
  4470. if test -f "$output_objdir/$my_outputname.def"; then
  4471. - compile_command=`$ECHO "X$compile_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"`
  4472. - finalize_command=`$ECHO "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"`
  4473. + compile_command=`$ECHO "$compile_command" | $SED "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"`
  4474. + finalize_command=`$ECHO "$finalize_command" | $SED "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"`
  4475. else
  4476. - compile_command=`$ECHO "X$compile_command" | $Xsed -e "s%@SYMFILE@%$symfileobj%"`
  4477. - finalize_command=`$ECHO "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$symfileobj%"`
  4478. + compile_command=`$ECHO "$compile_command" | $SED "s%@SYMFILE@%$symfileobj%"`
  4479. + finalize_command=`$ECHO "$finalize_command" | $SED "s%@SYMFILE@%$symfileobj%"`
  4480. fi
  4481. ;;
  4482. *)
  4483. - compile_command=`$ECHO "X$compile_command" | $Xsed -e "s%@SYMFILE@%$symfileobj%"`
  4484. - finalize_command=`$ECHO "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$symfileobj%"`
  4485. + compile_command=`$ECHO "$compile_command" | $SED "s%@SYMFILE@%$symfileobj%"`
  4486. + finalize_command=`$ECHO "$finalize_command" | $SED "s%@SYMFILE@%$symfileobj%"`
  4487. ;;
  4488. esac
  4489. ;;
  4490. @@ -2538,8 +2960,8 @@
  4491. # really was required.
  4492. # Nullify the symbol file.
  4493. - compile_command=`$ECHO "X$compile_command" | $Xsed -e "s% @SYMFILE@%%"`
  4494. - finalize_command=`$ECHO "X$finalize_command" | $Xsed -e "s% @SYMFILE@%%"`
  4495. + compile_command=`$ECHO "$compile_command" | $SED "s% @SYMFILE@%%"`
  4496. + finalize_command=`$ECHO "$finalize_command" | $SED "s% @SYMFILE@%%"`
  4497. fi
  4498. }
  4499. @@ -2549,6 +2971,7 @@
  4500. # Need a lot of goo to handle *both* DLLs and import libs
  4501. # Has to be a shell function in order to 'eat' the argument
  4502. # that is supplied when $file_magic_command is called.
  4503. +# Despite the name, also deal with 64 bit binaries.
  4504. func_win32_libid ()
  4505. {
  4506. $opt_debug
  4507. @@ -2559,8 +2982,9 @@
  4508. win32_libid_type="x86 archive import"
  4509. ;;
  4510. *ar\ archive*) # could be an import, or static
  4511. + # Keep the egrep pattern in sync with the one in _LT_CHECK_MAGIC_METHOD.
  4512. if eval $OBJDUMP -f $1 | $SED -e '10q' 2>/dev/null |
  4513. - $EGREP 'file format pe-i386(.*architecture: i386)?' >/dev/null ; then
  4514. + $EGREP 'file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' >/dev/null; then
  4515. win32_nmres=`eval $NM -f posix -A $1 |
  4516. $SED -n -e '
  4517. 1,100{
  4518. @@ -2590,6 +3014,129 @@
  4519. $ECHO "$win32_libid_type"
  4520. }
  4521. +# func_cygming_dll_for_implib ARG
  4522. +#
  4523. +# Platform-specific function to extract the
  4524. +# name of the DLL associated with the specified
  4525. +# import library ARG.
  4526. +# Invoked by eval'ing the libtool variable
  4527. +# $sharedlib_from_linklib_cmd
  4528. +# Result is available in the variable
  4529. +# $sharedlib_from_linklib_result
  4530. +func_cygming_dll_for_implib ()
  4531. +{
  4532. + $opt_debug
  4533. + sharedlib_from_linklib_result=`$DLLTOOL --identify-strict --identify "$1"`
  4534. +}
  4535. +
  4536. +# func_cygming_dll_for_implib_fallback_core SECTION_NAME LIBNAMEs
  4537. +#
  4538. +# The is the core of a fallback implementation of a
  4539. +# platform-specific function to extract the name of the
  4540. +# DLL associated with the specified import library LIBNAME.
  4541. +#
  4542. +# SECTION_NAME is either .idata$6 or .idata$7, depending
  4543. +# on the platform and compiler that created the implib.
  4544. +#
  4545. +# Echos the name of the DLL associated with the
  4546. +# specified import library.
  4547. +func_cygming_dll_for_implib_fallback_core ()
  4548. +{
  4549. + $opt_debug
  4550. + match_literal=`$ECHO "$1" | $SED 's/[].[^$\\*|]/\\\\&/g'`
  4551. + $OBJDUMP -s --section "$1" "$2" 2>/dev/null |
  4552. + $SED '/^Contents of section '"$match_literal"':/{
  4553. + # Place marker at beginning of archive member dllname section
  4554. + s/.*/====MARK====/
  4555. + p
  4556. + d
  4557. + }
  4558. + # These lines can sometimes be longer than 43 characters, but
  4559. + # are always uninteresting
  4560. + /:[ ]*file format pe[i]\{,1\}-/d
  4561. + /^In archive [^:]*:/d
  4562. + # Ensure marker is printed
  4563. + /^====MARK====/p
  4564. + # Remove all lines with less than 43 characters
  4565. + /^.\{43\}/!d
  4566. + # From remaining lines, remove first 43 characters
  4567. + s/^.\{43\}//' |
  4568. + $SED -n '
  4569. + # Join marker and all lines until next marker into a single line
  4570. + /^====MARK====/ b para
  4571. + H
  4572. + $ b para
  4573. + b
  4574. + :para
  4575. + x
  4576. + s/\n//g
  4577. + # Remove the marker
  4578. + s/^====MARK====//
  4579. + # Remove trailing dots and whitespace
  4580. + s/[\. \t]*$//
  4581. + # Print
  4582. + /./p' |
  4583. + # we now have a list, one entry per line, of the stringified
  4584. + # contents of the appropriate section of all members of the
  4585. + # archive which possess that section. Heuristic: eliminate
  4586. + # all those which have a first or second character that is
  4587. + # a '.' (that is, objdump's representation of an unprintable
  4588. + # character.) This should work for all archives with less than
  4589. + # 0x302f exports -- but will fail for DLLs whose name actually
  4590. + # begins with a literal '.' or a single character followed by
  4591. + # a '.'.
  4592. + #
  4593. + # Of those that remain, print the first one.
  4594. + $SED -e '/^\./d;/^.\./d;q'
  4595. +}
  4596. +
  4597. +# func_cygming_gnu_implib_p ARG
  4598. +# This predicate returns with zero status (TRUE) if
  4599. +# ARG is a GNU/binutils-style import library. Returns
  4600. +# with nonzero status (FALSE) otherwise.
  4601. +func_cygming_gnu_implib_p ()
  4602. +{
  4603. + $opt_debug
  4604. + func_cygming_gnu_implib_tmp=`$NM $1 | eval "$global_symbol_pipe" | $EGREP ' (_head_[A-Za-z0-9_]+_[ad]l*|[A-Za-z0-9_]+_[ad]l*_iname)$'`
  4605. + test -n "$func_cygming_gnu_implib_tmp"
  4606. +}
  4607. +
  4608. +# func_cygming_ms_implib_p ARG
  4609. +# This predicate returns with zero status (TRUE) if
  4610. +# ARG is an MS-style import library. Returns
  4611. +# with nonzero status (FALSE) otherwise.
  4612. +func_cygming_ms_implib_p ()
  4613. +{
  4614. + $opt_debug
  4615. + func_cygming_ms_implib_tmp=`$NM $1 | eval "$global_symbol_pipe" | $GREP '_NULL_IMPORT_DESCRIPTOR'`
  4616. + test -n "$func_cygming_ms_implib_tmp"
  4617. +}
  4618. +
  4619. +# func_cygming_dll_for_implib_fallback ARG
  4620. +# Platform-specific function to extract the
  4621. +# name of the DLL associated with the specified
  4622. +# import library ARG.
  4623. +#
  4624. +# This fallback implementation is for use when $DLLTOOL
  4625. +# does not support the --identify-strict option.
  4626. +# Invoked by eval'ing the libtool variable
  4627. +# $sharedlib_from_linklib_cmd
  4628. +# Result is available in the variable
  4629. +# $sharedlib_from_linklib_result
  4630. +func_cygming_dll_for_implib_fallback ()
  4631. +{
  4632. + $opt_debug
  4633. + if func_cygming_gnu_implib_p "$1" ; then
  4634. + # binutils import library
  4635. + sharedlib_from_linklib_result=`func_cygming_dll_for_implib_fallback_core '.idata$7' "$1"`
  4636. + elif func_cygming_ms_implib_p "$1" ; then
  4637. + # ms-generated import library
  4638. + sharedlib_from_linklib_result=`func_cygming_dll_for_implib_fallback_core '.idata$6' "$1"`
  4639. + else
  4640. + # unknown
  4641. + sharedlib_from_linklib_result=""
  4642. + fi
  4643. +}
  4644. # func_extract_an_archive dir oldlib
  4645. @@ -2598,7 +3145,18 @@
  4646. $opt_debug
  4647. f_ex_an_ar_dir="$1"; shift
  4648. f_ex_an_ar_oldlib="$1"
  4649. - func_show_eval "(cd \$f_ex_an_ar_dir && $AR x \"\$f_ex_an_ar_oldlib\")" 'exit $?'
  4650. + if test "$lock_old_archive_extraction" = yes; then
  4651. + lockfile=$f_ex_an_ar_oldlib.lock
  4652. + until $opt_dry_run || ln "$progpath" "$lockfile" 2>/dev/null; do
  4653. + func_echo "Waiting for $lockfile to be removed"
  4654. + sleep 2
  4655. + done
  4656. + fi
  4657. + func_show_eval "(cd \$f_ex_an_ar_dir && $AR x \"\$f_ex_an_ar_oldlib\")" \
  4658. + 'stat=$?; rm -f "$lockfile"; exit $stat'
  4659. + if test "$lock_old_archive_extraction" = yes; then
  4660. + $opt_dry_run || rm -f "$lockfile"
  4661. + fi
  4662. if ($AR t "$f_ex_an_ar_oldlib" | sort | sort -uc >/dev/null 2>&1); then
  4663. :
  4664. else
  4665. @@ -2669,7 +3227,7 @@
  4666. darwin_file=
  4667. darwin_files=
  4668. for darwin_file in $darwin_filelist; do
  4669. - darwin_files=`find unfat-$$ -name $darwin_file -print | $NL2SP`
  4670. + darwin_files=`find unfat-$$ -name $darwin_file -print | sort | $NL2SP`
  4671. $LIPO -create -output "$darwin_file" $darwin_files
  4672. done # $darwin_filelist
  4673. $RM -rf unfat-$$
  4674. @@ -2684,25 +3242,30 @@
  4675. func_extract_an_archive "$my_xdir" "$my_xabs"
  4676. ;;
  4677. esac
  4678. - my_oldobjs="$my_oldobjs "`find $my_xdir -name \*.$objext -print -o -name \*.lo -print | $NL2SP`
  4679. + func_append my_oldobjs " "`find $my_xdir -name \*.$objext -print -o -name \*.lo -print | sort | $NL2SP`
  4680. done
  4681. func_extract_archives_result="$my_oldobjs"
  4682. }
  4683. -
  4684. -# func_emit_wrapper_part1 [arg=no]
  4685. +# func_emit_wrapper [arg=no]
  4686. #
  4687. -# Emit the first part of a libtool wrapper script on stdout.
  4688. -# For more information, see the description associated with
  4689. -# func_emit_wrapper(), below.
  4690. -func_emit_wrapper_part1 ()
  4691. -{
  4692. - func_emit_wrapper_part1_arg1=no
  4693. - if test -n "$1" ; then
  4694. - func_emit_wrapper_part1_arg1=$1
  4695. - fi
  4696. +# Emit a libtool wrapper script on stdout.
  4697. +# Don't directly open a file because we may want to
  4698. +# incorporate the script contents within a cygwin/mingw
  4699. +# wrapper executable. Must ONLY be called from within
  4700. +# func_mode_link because it depends on a number of variables
  4701. +# set therein.
  4702. +#
  4703. +# ARG is the value that the WRAPPER_SCRIPT_BELONGS_IN_OBJDIR
  4704. +# variable will take. If 'yes', then the emitted script
  4705. +# will assume that the directory in which it is stored is
  4706. +# the $objdir directory. This is a cygwin/mingw-specific
  4707. +# behavior.
  4708. +func_emit_wrapper ()
  4709. +{
  4710. + func_emit_wrapper_arg1=${1-no}
  4711. $ECHO "\
  4712. #! $SHELL
  4713. @@ -2718,7 +3281,6 @@
  4714. # Sed substitution that helps us do robust quoting. It backslashifies
  4715. # metacharacters that are still active within double-quoted strings.
  4716. -Xsed='${SED} -e 1s/^X//'
  4717. sed_quote_subst='$sed_quote_subst'
  4718. # Be Bourne compatible
  4719. @@ -2749,31 +3311,132 @@
  4720. else
  4721. # When we are sourced in execute mode, \$file and \$ECHO are already set.
  4722. if test \"\$libtool_execute_magic\" != \"$magic\"; then
  4723. - ECHO=\"$qecho\"
  4724. - file=\"\$0\"
  4725. - # Make sure echo works.
  4726. - if test \"X\$1\" = X--no-reexec; then
  4727. - # Discard the --no-reexec flag, and continue.
  4728. - shift
  4729. - elif test \"X\`{ \$ECHO '\t'; } 2>/dev/null\`\" = 'X\t'; then
  4730. - # Yippee, \$ECHO works!
  4731. - :
  4732. - else
  4733. - # Restart under the correct shell, and then maybe \$ECHO will work.
  4734. - exec $SHELL \"\$0\" --no-reexec \${1+\"\$@\"}
  4735. - fi
  4736. - fi\
  4737. + file=\"\$0\""
  4738. +
  4739. + qECHO=`$ECHO "$ECHO" | $SED "$sed_quote_subst"`
  4740. + $ECHO "\
  4741. +
  4742. +# A function that is used when there is no print builtin or printf.
  4743. +func_fallback_echo ()
  4744. +{
  4745. + eval 'cat <<_LTECHO_EOF
  4746. +\$1
  4747. +_LTECHO_EOF'
  4748. +}
  4749. + ECHO=\"$qECHO\"
  4750. + fi
  4751. +
  4752. +# Very basic option parsing. These options are (a) specific to
  4753. +# the libtool wrapper, (b) are identical between the wrapper
  4754. +# /script/ and the wrapper /executable/ which is used only on
  4755. +# windows platforms, and (c) all begin with the string "--lt-"
  4756. +# (application programs are unlikely to have options which match
  4757. +# this pattern).
  4758. +#
  4759. +# There are only two supported options: --lt-debug and
  4760. +# --lt-dump-script. There is, deliberately, no --lt-help.
  4761. +#
  4762. +# The first argument to this parsing function should be the
  4763. +# script's $0 value, followed by "$@".
  4764. +lt_option_debug=
  4765. +func_parse_lt_options ()
  4766. +{
  4767. + lt_script_arg0=\$0
  4768. + shift
  4769. + for lt_opt
  4770. + do
  4771. + case \"\$lt_opt\" in
  4772. + --lt-debug) lt_option_debug=1 ;;
  4773. + --lt-dump-script)
  4774. + lt_dump_D=\`\$ECHO \"X\$lt_script_arg0\" | $SED -e 's/^X//' -e 's%/[^/]*$%%'\`
  4775. + test \"X\$lt_dump_D\" = \"X\$lt_script_arg0\" && lt_dump_D=.
  4776. + lt_dump_F=\`\$ECHO \"X\$lt_script_arg0\" | $SED -e 's/^X//' -e 's%^.*/%%'\`
  4777. + cat \"\$lt_dump_D/\$lt_dump_F\"
  4778. + exit 0
  4779. + ;;
  4780. + --lt-*)
  4781. + \$ECHO \"Unrecognized --lt- option: '\$lt_opt'\" 1>&2
  4782. + exit 1
  4783. + ;;
  4784. + esac
  4785. + done
  4786. +
  4787. + # Print the debug banner immediately:
  4788. + if test -n \"\$lt_option_debug\"; then
  4789. + echo \"${outputname}:${output}:\${LINENO}: libtool wrapper (GNU $PACKAGE$TIMESTAMP) $VERSION\" 1>&2
  4790. + fi
  4791. +}
  4792. +
  4793. +# Used when --lt-debug. Prints its arguments to stdout
  4794. +# (redirection is the responsibility of the caller)
  4795. +func_lt_dump_args ()
  4796. +{
  4797. + lt_dump_args_N=1;
  4798. + for lt_arg
  4799. + do
  4800. + \$ECHO \"${outputname}:${output}:\${LINENO}: newargv[\$lt_dump_args_N]: \$lt_arg\"
  4801. + lt_dump_args_N=\`expr \$lt_dump_args_N + 1\`
  4802. + done
  4803. +}
  4804. +
  4805. +# Core function for launching the target application
  4806. +func_exec_program_core ()
  4807. +{
  4808. "
  4809. - $ECHO "\
  4810. + case $host in
  4811. + # Backslashes separate directories on plain windows
  4812. + *-*-mingw | *-*-os2* | *-cegcc*)
  4813. + $ECHO "\
  4814. + if test -n \"\$lt_option_debug\"; then
  4815. + \$ECHO \"${outputname}:${output}:\${LINENO}: newargv[0]: \$progdir\\\\\$program\" 1>&2
  4816. + func_lt_dump_args \${1+\"\$@\"} 1>&2
  4817. + fi
  4818. + exec \"\$progdir\\\\\$program\" \${1+\"\$@\"}
  4819. +"
  4820. + ;;
  4821. +
  4822. + *)
  4823. + $ECHO "\
  4824. + if test -n \"\$lt_option_debug\"; then
  4825. + \$ECHO \"${outputname}:${output}:\${LINENO}: newargv[0]: \$progdir/\$program\" 1>&2
  4826. + func_lt_dump_args \${1+\"\$@\"} 1>&2
  4827. + fi
  4828. + exec \"\$progdir/\$program\" \${1+\"\$@\"}
  4829. +"
  4830. + ;;
  4831. + esac
  4832. + $ECHO "\
  4833. + \$ECHO \"\$0: cannot exec \$program \$*\" 1>&2
  4834. + exit 1
  4835. +}
  4836. +
  4837. +# A function to encapsulate launching the target application
  4838. +# Strips options in the --lt-* namespace from \$@ and
  4839. +# launches target application with the remaining arguments.
  4840. +func_exec_program ()
  4841. +{
  4842. + for lt_wr_arg
  4843. + do
  4844. + case \$lt_wr_arg in
  4845. + --lt-*) ;;
  4846. + *) set x \"\$@\" \"\$lt_wr_arg\"; shift;;
  4847. + esac
  4848. + shift
  4849. + done
  4850. + func_exec_program_core \${1+\"\$@\"}
  4851. +}
  4852. +
  4853. + # Parse options
  4854. + func_parse_lt_options \"\$0\" \${1+\"\$@\"}
  4855. # Find the directory that this script lives in.
  4856. - thisdir=\`\$ECHO \"X\$file\" | \$Xsed -e 's%/[^/]*$%%'\`
  4857. + thisdir=\`\$ECHO \"\$file\" | $SED 's%/[^/]*$%%'\`
  4858. test \"x\$thisdir\" = \"x\$file\" && thisdir=.
  4859. # Follow symbolic links until we get to the real thisdir.
  4860. - file=\`ls -ld \"\$file\" | ${SED} -n 's/.*-> //p'\`
  4861. + file=\`ls -ld \"\$file\" | $SED -n 's/.*-> //p'\`
  4862. while test -n \"\$file\"; do
  4863. - destdir=\`\$ECHO \"X\$file\" | \$Xsed -e 's%/[^/]*\$%%'\`
  4864. + destdir=\`\$ECHO \"\$file\" | $SED 's%/[^/]*\$%%'\`
  4865. # If there was a directory component, then change thisdir.
  4866. if test \"x\$destdir\" != \"x\$file\"; then
  4867. @@ -2783,30 +3446,13 @@
  4868. esac
  4869. fi
  4870. - file=\`\$ECHO \"X\$file\" | \$Xsed -e 's%^.*/%%'\`
  4871. - file=\`ls -ld \"\$thisdir/\$file\" | ${SED} -n 's/.*-> //p'\`
  4872. + file=\`\$ECHO \"\$file\" | $SED 's%^.*/%%'\`
  4873. + file=\`ls -ld \"\$thisdir/\$file\" | $SED -n 's/.*-> //p'\`
  4874. done
  4875. -"
  4876. -}
  4877. -# end: func_emit_wrapper_part1
  4878. -
  4879. -# func_emit_wrapper_part2 [arg=no]
  4880. -#
  4881. -# Emit the second part of a libtool wrapper script on stdout.
  4882. -# For more information, see the description associated with
  4883. -# func_emit_wrapper(), below.
  4884. -func_emit_wrapper_part2 ()
  4885. -{
  4886. - func_emit_wrapper_part2_arg1=no
  4887. - if test -n "$1" ; then
  4888. - func_emit_wrapper_part2_arg1=$1
  4889. - fi
  4890. -
  4891. - $ECHO "\
  4892. # Usually 'no', except on cygwin/mingw when embedded into
  4893. # the cwrapper.
  4894. - WRAPPER_SCRIPT_BELONGS_IN_OBJDIR=$func_emit_wrapper_part2_arg1
  4895. + WRAPPER_SCRIPT_BELONGS_IN_OBJDIR=$func_emit_wrapper_arg1
  4896. if test \"\$WRAPPER_SCRIPT_BELONGS_IN_OBJDIR\" = \"yes\"; then
  4897. # special case for '.'
  4898. if test \"\$thisdir\" = \".\"; then
  4899. @@ -2814,7 +3460,7 @@
  4900. fi
  4901. # remove .libs from thisdir
  4902. case \"\$thisdir\" in
  4903. - *[\\\\/]$objdir ) thisdir=\`\$ECHO \"X\$thisdir\" | \$Xsed -e 's%[\\\\/][^\\\\/]*$%%'\` ;;
  4904. + *[\\\\/]$objdir ) thisdir=\`\$ECHO \"\$thisdir\" | $SED 's%[\\\\/][^\\\\/]*$%%'\` ;;
  4905. $objdir ) thisdir=. ;;
  4906. esac
  4907. fi
  4908. @@ -2877,7 +3523,7 @@
  4909. # Some systems cannot cope with colon-terminated $shlibpath_var
  4910. # The second colon is a workaround for a bug in BeOS R4 sed
  4911. - $shlibpath_var=\`\$ECHO \"X\$$shlibpath_var\" | \$Xsed -e 's/::*\$//'\`
  4912. + $shlibpath_var=\`\$ECHO \"\$$shlibpath_var\" | $SED 's/::*\$//'\`
  4913. export $shlibpath_var
  4914. "
  4915. @@ -2894,63 +3540,17 @@
  4916. $ECHO "\
  4917. if test \"\$libtool_execute_magic\" != \"$magic\"; then
  4918. # Run the actual program with our arguments.
  4919. -"
  4920. - case $host in
  4921. - # Backslashes separate directories on plain windows
  4922. - *-*-mingw | *-*-os2* | *-cegcc*)
  4923. - $ECHO "\
  4924. - exec \"\$progdir\\\\\$program\" \${1+\"\$@\"}
  4925. -"
  4926. - ;;
  4927. -
  4928. - *)
  4929. - $ECHO "\
  4930. - exec \"\$progdir/\$program\" \${1+\"\$@\"}
  4931. -"
  4932. - ;;
  4933. - esac
  4934. - $ECHO "\
  4935. - \$ECHO \"\$0: cannot exec \$program \$*\" 1>&2
  4936. - exit 1
  4937. + func_exec_program \${1+\"\$@\"}
  4938. fi
  4939. else
  4940. # The program doesn't exist.
  4941. - \$ECHO \"\$0: error: \\\`\$progdir/\$program' does not exist\" 1>&2
  4942. - \$ECHO \"This script is just a wrapper for \$program.\" 1>&2
  4943. - $ECHO \"See the $PACKAGE documentation for more information.\" 1>&2
  4944. - exit 1
  4945. - fi
  4946. -fi\
  4947. -"
  4948. -}
  4949. -# end: func_emit_wrapper_part2
  4950. -
  4951. -
  4952. -# func_emit_wrapper [arg=no]
  4953. -#
  4954. -# Emit a libtool wrapper script on stdout.
  4955. -# Don't directly open a file because we may want to
  4956. -# incorporate the script contents within a cygwin/mingw
  4957. -# wrapper executable. Must ONLY be called from within
  4958. -# func_mode_link because it depends on a number of variables
  4959. -# set therein.
  4960. -#
  4961. -# ARG is the value that the WRAPPER_SCRIPT_BELONGS_IN_OBJDIR
  4962. -# variable will take. If 'yes', then the emitted script
  4963. -# will assume that the directory in which it is stored is
  4964. -# the $objdir directory. This is a cygwin/mingw-specific
  4965. -# behavior.
  4966. -func_emit_wrapper ()
  4967. -{
  4968. - func_emit_wrapper_arg1=no
  4969. - if test -n "$1" ; then
  4970. - func_emit_wrapper_arg1=$1
  4971. - fi
  4972. -
  4973. - # split this up so that func_emit_cwrapperexe_src
  4974. - # can call each part independently.
  4975. - func_emit_wrapper_part1 "${func_emit_wrapper_arg1}"
  4976. - func_emit_wrapper_part2 "${func_emit_wrapper_arg1}"
  4977. + \$ECHO \"\$0: error: \\\`\$progdir/\$program' does not exist\" 1>&2
  4978. + \$ECHO \"This script is just a wrapper for \$program.\" 1>&2
  4979. + \$ECHO \"See the $PACKAGE documentation for more information.\" 1>&2
  4980. + exit 1
  4981. + fi
  4982. +fi\
  4983. +"
  4984. }
  4985. @@ -2978,23 +3578,19 @@
  4986. func_to_host_path ()
  4987. {
  4988. func_to_host_path_result="$1"
  4989. - if test -n "$1" ; then
  4990. + if test -n "$1"; then
  4991. case $host in
  4992. *mingw* )
  4993. lt_sed_naive_backslashify='s|\\\\*|\\|g;s|/|\\|g;s|\\|\\\\|g'
  4994. case $build in
  4995. *mingw* ) # actually, msys
  4996. # awkward: cmd appends spaces to result
  4997. - lt_sed_strip_trailing_spaces="s/[ ]*\$//"
  4998. - func_to_host_path_tmp1=`( cmd //c echo "$1" |\
  4999. - $SED -e "$lt_sed_strip_trailing_spaces" ) 2>/dev/null || echo ""`
  5000. - func_to_host_path_result=`echo "$func_to_host_path_tmp1" |\
  5001. - $SED -e "$lt_sed_naive_backslashify"`
  5002. + func_to_host_path_result=`( cmd //c echo "$1" ) 2>/dev/null |
  5003. + $SED -e 's/[ ]*$//' -e "$lt_sed_naive_backslashify"`
  5004. ;;
  5005. *cygwin* )
  5006. - func_to_host_path_tmp1=`cygpath -w "$1"`
  5007. - func_to_host_path_result=`echo "$func_to_host_path_tmp1" |\
  5008. - $SED -e "$lt_sed_naive_backslashify"`
  5009. + func_to_host_path_result=`cygpath -w "$1" |
  5010. + $SED -e "$lt_sed_naive_backslashify"`
  5011. ;;
  5012. * )
  5013. # Unfortunately, winepath does not exit with a non-zero
  5014. @@ -3006,17 +3602,17 @@
  5015. # the odd construction:
  5016. func_to_host_path_tmp1=`winepath -w "$1" 2>/dev/null`
  5017. if test "$?" -eq 0 && test -n "${func_to_host_path_tmp1}"; then
  5018. - func_to_host_path_result=`echo "$func_to_host_path_tmp1" |\
  5019. + func_to_host_path_result=`$ECHO "$func_to_host_path_tmp1" |
  5020. $SED -e "$lt_sed_naive_backslashify"`
  5021. else
  5022. # Allow warning below.
  5023. - func_to_host_path_result=""
  5024. + func_to_host_path_result=
  5025. fi
  5026. ;;
  5027. esac
  5028. if test -z "$func_to_host_path_result" ; then
  5029. func_error "Could not determine host path corresponding to"
  5030. - func_error " '$1'"
  5031. + func_error " \`$1'"
  5032. func_error "Continuing, but uninstalled executables may not work."
  5033. # Fallback:
  5034. func_to_host_path_result="$1"
  5035. @@ -3049,30 +3645,24 @@
  5036. func_to_host_pathlist ()
  5037. {
  5038. func_to_host_pathlist_result="$1"
  5039. - if test -n "$1" ; then
  5040. + if test -n "$1"; then
  5041. case $host in
  5042. *mingw* )
  5043. lt_sed_naive_backslashify='s|\\\\*|\\|g;s|/|\\|g;s|\\|\\\\|g'
  5044. # Remove leading and trailing path separator characters from
  5045. # ARG. msys behavior is inconsistent here, cygpath turns them
  5046. # into '.;' and ';.', and winepath ignores them completely.
  5047. - func_to_host_pathlist_tmp2="$1"
  5048. - # Once set for this call, this variable should not be
  5049. - # reassigned. It is used in tha fallback case.
  5050. - func_to_host_pathlist_tmp1=`echo "$func_to_host_pathlist_tmp2" |\
  5051. - $SED -e 's|^:*||' -e 's|:*$||'`
  5052. + func_stripname : : "$1"
  5053. + func_to_host_pathlist_tmp1=$func_stripname_result
  5054. case $build in
  5055. *mingw* ) # Actually, msys.
  5056. # Awkward: cmd appends spaces to result.
  5057. - lt_sed_strip_trailing_spaces="s/[ ]*\$//"
  5058. - func_to_host_pathlist_tmp2=`( cmd //c echo "$func_to_host_pathlist_tmp1" |\
  5059. - $SED -e "$lt_sed_strip_trailing_spaces" ) 2>/dev/null || echo ""`
  5060. - func_to_host_pathlist_result=`echo "$func_to_host_pathlist_tmp2" |\
  5061. - $SED -e "$lt_sed_naive_backslashify"`
  5062. + func_to_host_pathlist_result=`
  5063. + ( cmd //c echo "$func_to_host_pathlist_tmp1" ) 2>/dev/null |
  5064. + $SED -e 's/[ ]*$//' -e "$lt_sed_naive_backslashify"`
  5065. ;;
  5066. *cygwin* )
  5067. - func_to_host_pathlist_tmp2=`cygpath -w -p "$func_to_host_pathlist_tmp1"`
  5068. - func_to_host_pathlist_result=`echo "$func_to_host_pathlist_tmp2" |\
  5069. + func_to_host_pathlist_result=`cygpath -w -p "$func_to_host_pathlist_tmp1" |
  5070. $SED -e "$lt_sed_naive_backslashify"`
  5071. ;;
  5072. * )
  5073. @@ -3088,18 +3678,17 @@
  5074. if test -z "$func_to_host_pathlist_result" ; then
  5075. func_to_host_pathlist_result="$func_to_host_path_result"
  5076. else
  5077. - func_to_host_pathlist_result="$func_to_host_pathlist_result;$func_to_host_path_result"
  5078. + func_append func_to_host_pathlist_result ";$func_to_host_path_result"
  5079. fi
  5080. fi
  5081. fi
  5082. - IFS=:
  5083. done
  5084. IFS=$func_to_host_pathlist_oldIFS
  5085. ;;
  5086. esac
  5087. - if test -z "$func_to_host_pathlist_result" ; then
  5088. + if test -z "$func_to_host_pathlist_result"; then
  5089. func_error "Could not determine the host path(s) corresponding to"
  5090. - func_error " '$1'"
  5091. + func_error " \`$1'"
  5092. func_error "Continuing, but uninstalled executables may not work."
  5093. # Fallback. This may break if $1 contains DOS-style drive
  5094. # specifications. The fix is not to complicate the expression
  5095. @@ -3116,7 +3705,7 @@
  5096. ;;
  5097. esac
  5098. case "$1" in
  5099. - *: ) func_to_host_pathlist_result="$func_to_host_pathlist_result;"
  5100. + *: ) func_append func_to_host_pathlist_result ";"
  5101. ;;
  5102. esac
  5103. ;;
  5104. @@ -3141,31 +3730,23 @@
  5105. This wrapper executable should never be moved out of the build directory.
  5106. If it is, it will not operate correctly.
  5107. -
  5108. - Currently, it simply execs the wrapper *script* "$SHELL $output",
  5109. - but could eventually absorb all of the scripts functionality and
  5110. - exec $objdir/$outputname directly.
  5111. */
  5112. EOF
  5113. cat <<"EOF"
  5114. +#ifdef _MSC_VER
  5115. +# define _CRT_SECURE_NO_DEPRECATE 1
  5116. +#endif
  5117. #include <stdio.h>
  5118. #include <stdlib.h>
  5119. #ifdef _MSC_VER
  5120. # include <direct.h>
  5121. # include <process.h>
  5122. # include <io.h>
  5123. -# define setmode _setmode
  5124. #else
  5125. # include <unistd.h>
  5126. # include <stdint.h>
  5127. # ifdef __CYGWIN__
  5128. # include <io.h>
  5129. -# define HAVE_SETENV
  5130. -# ifdef __STRICT_ANSI__
  5131. -char *realpath (const char *, char *);
  5132. -int putenv (char *);
  5133. -int setenv (const char *, const char *, int);
  5134. -# endif
  5135. # endif
  5136. #endif
  5137. #include <malloc.h>
  5138. @@ -3177,6 +3758,44 @@
  5139. #include <fcntl.h>
  5140. #include <sys/stat.h>
  5141. +/* declarations of non-ANSI functions */
  5142. +#if defined(__MINGW32__)
  5143. +# ifdef __STRICT_ANSI__
  5144. +int _putenv (const char *);
  5145. +# endif
  5146. +#elif defined(__CYGWIN__)
  5147. +# ifdef __STRICT_ANSI__
  5148. +char *realpath (const char *, char *);
  5149. +int putenv (char *);
  5150. +int setenv (const char *, const char *, int);
  5151. +# endif
  5152. +/* #elif defined (other platforms) ... */
  5153. +#endif
  5154. +
  5155. +/* portability defines, excluding path handling macros */
  5156. +#if defined(_MSC_VER)
  5157. +# define setmode _setmode
  5158. +# define stat _stat
  5159. +# define chmod _chmod
  5160. +# define getcwd _getcwd
  5161. +# define putenv _putenv
  5162. +# define S_IXUSR _S_IEXEC
  5163. +# ifndef _INTPTR_T_DEFINED
  5164. +# define _INTPTR_T_DEFINED
  5165. +# define intptr_t int
  5166. +# endif
  5167. +#elif defined(__MINGW32__)
  5168. +# define setmode _setmode
  5169. +# define stat _stat
  5170. +# define chmod _chmod
  5171. +# define getcwd _getcwd
  5172. +# define putenv _putenv
  5173. +#elif defined(__CYGWIN__)
  5174. +# define HAVE_SETENV
  5175. +# define FOPEN_WB "wb"
  5176. +/* #elif defined (other platforms) ... */
  5177. +#endif
  5178. +
  5179. #if defined(PATH_MAX)
  5180. # define LT_PATHMAX PATH_MAX
  5181. #elif defined(MAXPATHLEN)
  5182. @@ -3192,14 +3811,7 @@
  5183. # define S_IXGRP 0
  5184. #endif
  5185. -#ifdef _MSC_VER
  5186. -# define S_IXUSR _S_IEXEC
  5187. -# define stat _stat
  5188. -# ifndef _INTPTR_T_DEFINED
  5189. -# define intptr_t int
  5190. -# endif
  5191. -#endif
  5192. -
  5193. +/* path handling portability macros */
  5194. #ifndef DIR_SEPARATOR
  5195. # define DIR_SEPARATOR '/'
  5196. # define PATH_SEPARATOR ':'
  5197. @@ -3230,10 +3842,6 @@
  5198. # define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR_2)
  5199. #endif /* PATH_SEPARATOR_2 */
  5200. -#ifdef __CYGWIN__
  5201. -# define FOPEN_WB "wb"
  5202. -#endif
  5203. -
  5204. #ifndef FOPEN_WB
  5205. # define FOPEN_WB "w"
  5206. #endif
  5207. @@ -3246,22 +3854,13 @@
  5208. if (stale) { free ((void *) stale); stale = 0; } \
  5209. } while (0)
  5210. -#undef LTWRAPPER_DEBUGPRINTF
  5211. -#if defined DEBUGWRAPPER
  5212. -# define LTWRAPPER_DEBUGPRINTF(args) ltwrapper_debugprintf args
  5213. -static void
  5214. -ltwrapper_debugprintf (const char *fmt, ...)
  5215. -{
  5216. - va_list args;
  5217. - va_start (args, fmt);
  5218. - (void) vfprintf (stderr, fmt, args);
  5219. - va_end (args);
  5220. -}
  5221. +#if defined(LT_DEBUGWRAPPER)
  5222. +static int lt_debug = 1;
  5223. #else
  5224. -# define LTWRAPPER_DEBUGPRINTF(args)
  5225. +static int lt_debug = 0;
  5226. #endif
  5227. -const char *program_name = NULL;
  5228. +const char *program_name = "libtool-wrapper"; /* in case xstrdup fails */
  5229. void *xmalloc (size_t num);
  5230. char *xstrdup (const char *string);
  5231. @@ -3271,31 +3870,17 @@
  5232. int make_executable (const char *path);
  5233. int check_executable (const char *path);
  5234. char *strendzap (char *str, const char *pat);
  5235. -void lt_fatal (const char *message, ...);
  5236. +void lt_debugprintf (const char *file, int line, const char *fmt, ...);
  5237. +void lt_fatal (const char *file, int line, const char *message, ...);
  5238. +static const char *nonnull (const char *s);
  5239. +static const char *nonempty (const char *s);
  5240. void lt_setenv (const char *name, const char *value);
  5241. char *lt_extend_str (const char *orig_value, const char *add, int to_end);
  5242. -void lt_opt_process_env_set (const char *arg);
  5243. -void lt_opt_process_env_prepend (const char *arg);
  5244. -void lt_opt_process_env_append (const char *arg);
  5245. -int lt_split_name_value (const char *arg, char** name, char** value);
  5246. void lt_update_exe_path (const char *name, const char *value);
  5247. void lt_update_lib_path (const char *name, const char *value);
  5248. -
  5249. -static const char *script_text_part1 =
  5250. -EOF
  5251. -
  5252. - func_emit_wrapper_part1 yes |
  5253. - $SED -e 's/\([\\"]\)/\\\1/g' \
  5254. - -e 's/^/ "/' -e 's/$/\\n"/'
  5255. - echo ";"
  5256. - cat <<EOF
  5257. -
  5258. -static const char *script_text_part2 =
  5259. +char **prepare_spawn (char **argv);
  5260. +void lt_dump_script (FILE *f);
  5261. EOF
  5262. - func_emit_wrapper_part2 yes |
  5263. - $SED -e 's/\([\\"]\)/\\\1/g' \
  5264. - -e 's/^/ "/' -e 's/$/\\n"/'
  5265. - echo ";"
  5266. cat <<EOF
  5267. const char * MAGIC_EXE = "$magic_exe";
  5268. @@ -3340,24 +3925,10 @@
  5269. cat <<"EOF"
  5270. #define LTWRAPPER_OPTION_PREFIX "--lt-"
  5271. -#define LTWRAPPER_OPTION_PREFIX_LENGTH 5
  5272. -static const size_t opt_prefix_len = LTWRAPPER_OPTION_PREFIX_LENGTH;
  5273. static const char *ltwrapper_option_prefix = LTWRAPPER_OPTION_PREFIX;
  5274. -
  5275. static const char *dumpscript_opt = LTWRAPPER_OPTION_PREFIX "dump-script";
  5276. -
  5277. -static const size_t env_set_opt_len = LTWRAPPER_OPTION_PREFIX_LENGTH + 7;
  5278. -static const char *env_set_opt = LTWRAPPER_OPTION_PREFIX "env-set";
  5279. - /* argument is putenv-style "foo=bar", value of foo is set to bar */
  5280. -
  5281. -static const size_t env_prepend_opt_len = LTWRAPPER_OPTION_PREFIX_LENGTH + 11;
  5282. -static const char *env_prepend_opt = LTWRAPPER_OPTION_PREFIX "env-prepend";
  5283. - /* argument is putenv-style "foo=bar", new value of foo is bar${foo} */
  5284. -
  5285. -static const size_t env_append_opt_len = LTWRAPPER_OPTION_PREFIX_LENGTH + 10;
  5286. -static const char *env_append_opt = LTWRAPPER_OPTION_PREFIX "env-append";
  5287. - /* argument is putenv-style "foo=bar", new value of foo is ${foo}bar */
  5288. +static const char *debug_opt = LTWRAPPER_OPTION_PREFIX "debug";
  5289. int
  5290. main (int argc, char *argv[])
  5291. @@ -3374,10 +3945,13 @@
  5292. int i;
  5293. program_name = (char *) xstrdup (base_name (argv[0]));
  5294. - LTWRAPPER_DEBUGPRINTF (("(main) argv[0] : %s\n", argv[0]));
  5295. - LTWRAPPER_DEBUGPRINTF (("(main) program_name : %s\n", program_name));
  5296. + newargz = XMALLOC (char *, argc + 1);
  5297. - /* very simple arg parsing; don't want to rely on getopt */
  5298. + /* very simple arg parsing; don't want to rely on getopt
  5299. + * also, copy all non cwrapper options to newargz, except
  5300. + * argz[0], which is handled differently
  5301. + */
  5302. + newargc=0;
  5303. for (i = 1; i < argc; i++)
  5304. {
  5305. if (strcmp (argv[i], dumpscript_opt) == 0)
  5306. @@ -3391,25 +3965,57 @@
  5307. esac
  5308. cat <<"EOF"
  5309. - printf ("%s", script_text_part1);
  5310. - printf ("%s", script_text_part2);
  5311. + lt_dump_script (stdout);
  5312. return 0;
  5313. }
  5314. + if (strcmp (argv[i], debug_opt) == 0)
  5315. + {
  5316. + lt_debug = 1;
  5317. + continue;
  5318. + }
  5319. + if (strcmp (argv[i], ltwrapper_option_prefix) == 0)
  5320. + {
  5321. + /* however, if there is an option in the LTWRAPPER_OPTION_PREFIX
  5322. + namespace, but it is not one of the ones we know about and
  5323. + have already dealt with, above (inluding dump-script), then
  5324. + report an error. Otherwise, targets might begin to believe
  5325. + they are allowed to use options in the LTWRAPPER_OPTION_PREFIX
  5326. + namespace. The first time any user complains about this, we'll
  5327. + need to make LTWRAPPER_OPTION_PREFIX a configure-time option
  5328. + or a configure.ac-settable value.
  5329. + */
  5330. + lt_fatal (__FILE__, __LINE__,
  5331. + "unrecognized %s option: '%s'",
  5332. + ltwrapper_option_prefix, argv[i]);
  5333. + }
  5334. + /* otherwise ... */
  5335. + newargz[++newargc] = xstrdup (argv[i]);
  5336. }
  5337. + newargz[++newargc] = NULL;
  5338. +
  5339. +EOF
  5340. + cat <<EOF
  5341. + /* The GNU banner must be the first non-error debug message */
  5342. + lt_debugprintf (__FILE__, __LINE__, "libtool wrapper (GNU $PACKAGE$TIMESTAMP) $VERSION\n");
  5343. +EOF
  5344. + cat <<"EOF"
  5345. + lt_debugprintf (__FILE__, __LINE__, "(main) argv[0]: %s\n", argv[0]);
  5346. + lt_debugprintf (__FILE__, __LINE__, "(main) program_name: %s\n", program_name);
  5347. - newargz = XMALLOC (char *, argc + 1);
  5348. tmp_pathspec = find_executable (argv[0]);
  5349. if (tmp_pathspec == NULL)
  5350. - lt_fatal ("Couldn't find %s", argv[0]);
  5351. - LTWRAPPER_DEBUGPRINTF (("(main) found exe (before symlink chase) at : %s\n",
  5352. - tmp_pathspec));
  5353. + lt_fatal (__FILE__, __LINE__, "couldn't find %s", argv[0]);
  5354. + lt_debugprintf (__FILE__, __LINE__,
  5355. + "(main) found exe (before symlink chase) at: %s\n",
  5356. + tmp_pathspec);
  5357. actual_cwrapper_path = chase_symlinks (tmp_pathspec);
  5358. - LTWRAPPER_DEBUGPRINTF (("(main) found exe (after symlink chase) at : %s\n",
  5359. - actual_cwrapper_path));
  5360. + lt_debugprintf (__FILE__, __LINE__,
  5361. + "(main) found exe (after symlink chase) at: %s\n",
  5362. + actual_cwrapper_path);
  5363. XFREE (tmp_pathspec);
  5364. - actual_cwrapper_name = xstrdup( base_name (actual_cwrapper_path));
  5365. + actual_cwrapper_name = xstrdup (base_name (actual_cwrapper_path));
  5366. strendzap (actual_cwrapper_path, actual_cwrapper_name);
  5367. /* wrapper name transforms */
  5368. @@ -3427,8 +4033,9 @@
  5369. target_name = tmp_pathspec;
  5370. tmp_pathspec = 0;
  5371. - LTWRAPPER_DEBUGPRINTF (("(main) libtool target name: %s\n",
  5372. - target_name));
  5373. + lt_debugprintf (__FILE__, __LINE__,
  5374. + "(main) libtool target name: %s\n",
  5375. + target_name);
  5376. EOF
  5377. cat <<EOF
  5378. @@ -3481,77 +4088,12 @@
  5379. lt_update_lib_path (LIB_PATH_VARNAME, LIB_PATH_VALUE);
  5380. lt_update_exe_path (EXE_PATH_VARNAME, EXE_PATH_VALUE);
  5381. - newargc=0;
  5382. - for (i = 1; i < argc; i++)
  5383. - {
  5384. - if (strncmp (argv[i], env_set_opt, env_set_opt_len) == 0)
  5385. - {
  5386. - if (argv[i][env_set_opt_len] == '=')
  5387. - {
  5388. - const char *p = argv[i] + env_set_opt_len + 1;
  5389. - lt_opt_process_env_set (p);
  5390. - }
  5391. - else if (argv[i][env_set_opt_len] == '\0' && i + 1 < argc)
  5392. - {
  5393. - lt_opt_process_env_set (argv[++i]); /* don't copy */
  5394. - }
  5395. - else
  5396. - lt_fatal ("%s missing required argument", env_set_opt);
  5397. - continue;
  5398. - }
  5399. - if (strncmp (argv[i], env_prepend_opt, env_prepend_opt_len) == 0)
  5400. - {
  5401. - if (argv[i][env_prepend_opt_len] == '=')
  5402. - {
  5403. - const char *p = argv[i] + env_prepend_opt_len + 1;
  5404. - lt_opt_process_env_prepend (p);
  5405. - }
  5406. - else if (argv[i][env_prepend_opt_len] == '\0' && i + 1 < argc)
  5407. - {
  5408. - lt_opt_process_env_prepend (argv[++i]); /* don't copy */
  5409. - }
  5410. - else
  5411. - lt_fatal ("%s missing required argument", env_prepend_opt);
  5412. - continue;
  5413. - }
  5414. - if (strncmp (argv[i], env_append_opt, env_append_opt_len) == 0)
  5415. - {
  5416. - if (argv[i][env_append_opt_len] == '=')
  5417. - {
  5418. - const char *p = argv[i] + env_append_opt_len + 1;
  5419. - lt_opt_process_env_append (p);
  5420. - }
  5421. - else if (argv[i][env_append_opt_len] == '\0' && i + 1 < argc)
  5422. - {
  5423. - lt_opt_process_env_append (argv[++i]); /* don't copy */
  5424. - }
  5425. - else
  5426. - lt_fatal ("%s missing required argument", env_append_opt);
  5427. - continue;
  5428. - }
  5429. - if (strncmp (argv[i], ltwrapper_option_prefix, opt_prefix_len) == 0)
  5430. - {
  5431. - /* however, if there is an option in the LTWRAPPER_OPTION_PREFIX
  5432. - namespace, but it is not one of the ones we know about and
  5433. - have already dealt with, above (inluding dump-script), then
  5434. - report an error. Otherwise, targets might begin to believe
  5435. - they are allowed to use options in the LTWRAPPER_OPTION_PREFIX
  5436. - namespace. The first time any user complains about this, we'll
  5437. - need to make LTWRAPPER_OPTION_PREFIX a configure-time option
  5438. - or a configure.ac-settable value.
  5439. - */
  5440. - lt_fatal ("Unrecognized option in %s namespace: '%s'",
  5441. - ltwrapper_option_prefix, argv[i]);
  5442. - }
  5443. - /* otherwise ... */
  5444. - newargz[++newargc] = xstrdup (argv[i]);
  5445. - }
  5446. - newargz[++newargc] = NULL;
  5447. -
  5448. - LTWRAPPER_DEBUGPRINTF (("(main) lt_argv_zero : %s\n", (lt_argv_zero ? lt_argv_zero : "<NULL>")));
  5449. + lt_debugprintf (__FILE__, __LINE__, "(main) lt_argv_zero: %s\n",
  5450. + nonnull (lt_argv_zero));
  5451. for (i = 0; i < newargc; i++)
  5452. {
  5453. - LTWRAPPER_DEBUGPRINTF (("(main) newargz[%d] : %s\n", i, (newargz[i] ? newargz[i] : "<NULL>")));
  5454. + lt_debugprintf (__FILE__, __LINE__, "(main) newargz[%d]: %s\n",
  5455. + i, nonnull (newargz[i]));
  5456. }
  5457. EOF
  5458. @@ -3560,11 +4102,14 @@
  5459. mingw*)
  5460. cat <<"EOF"
  5461. /* execv doesn't actually work on mingw as expected on unix */
  5462. + newargz = prepare_spawn (newargz);
  5463. rval = _spawnv (_P_WAIT, lt_argv_zero, (const char * const *) newargz);
  5464. if (rval == -1)
  5465. {
  5466. /* failed to start process */
  5467. - LTWRAPPER_DEBUGPRINTF (("(main) failed to launch target \"%s\": errno = %d\n", lt_argv_zero, errno));
  5468. + lt_debugprintf (__FILE__, __LINE__,
  5469. + "(main) failed to launch target \"%s\": %s\n",
  5470. + lt_argv_zero, nonnull (strerror (errno)));
  5471. return 127;
  5472. }
  5473. return rval;
  5474. @@ -3586,7 +4131,7 @@
  5475. {
  5476. void *p = (void *) malloc (num);
  5477. if (!p)
  5478. - lt_fatal ("Memory exhausted");
  5479. + lt_fatal (__FILE__, __LINE__, "memory exhausted");
  5480. return p;
  5481. }
  5482. @@ -3620,8 +4165,8 @@
  5483. {
  5484. struct stat st;
  5485. - LTWRAPPER_DEBUGPRINTF (("(check_executable) : %s\n",
  5486. - path ? (*path ? path : "EMPTY!") : "NULL!"));
  5487. + lt_debugprintf (__FILE__, __LINE__, "(check_executable): %s\n",
  5488. + nonempty (path));
  5489. if ((!path) || (!*path))
  5490. return 0;
  5491. @@ -3638,8 +4183,8 @@
  5492. int rval = 0;
  5493. struct stat st;
  5494. - LTWRAPPER_DEBUGPRINTF (("(make_executable) : %s\n",
  5495. - path ? (*path ? path : "EMPTY!") : "NULL!"));
  5496. + lt_debugprintf (__FILE__, __LINE__, "(make_executable): %s\n",
  5497. + nonempty (path));
  5498. if ((!path) || (!*path))
  5499. return 0;
  5500. @@ -3665,8 +4210,8 @@
  5501. int tmp_len;
  5502. char *concat_name;
  5503. - LTWRAPPER_DEBUGPRINTF (("(find_executable) : %s\n",
  5504. - wrapper ? (*wrapper ? wrapper : "EMPTY!") : "NULL!"));
  5505. + lt_debugprintf (__FILE__, __LINE__, "(find_executable): %s\n",
  5506. + nonempty (wrapper));
  5507. if ((wrapper == NULL) || (*wrapper == '\0'))
  5508. return NULL;
  5509. @@ -3719,7 +4264,8 @@
  5510. {
  5511. /* empty path: current directory */
  5512. if (getcwd (tmp, LT_PATHMAX) == NULL)
  5513. - lt_fatal ("getcwd failed");
  5514. + lt_fatal (__FILE__, __LINE__, "getcwd failed: %s",
  5515. + nonnull (strerror (errno)));
  5516. tmp_len = strlen (tmp);
  5517. concat_name =
  5518. XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1);
  5519. @@ -3744,7 +4290,8 @@
  5520. }
  5521. /* Relative path | not found in path: prepend cwd */
  5522. if (getcwd (tmp, LT_PATHMAX) == NULL)
  5523. - lt_fatal ("getcwd failed");
  5524. + lt_fatal (__FILE__, __LINE__, "getcwd failed: %s",
  5525. + nonnull (strerror (errno)));
  5526. tmp_len = strlen (tmp);
  5527. concat_name = XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1);
  5528. memcpy (concat_name, tmp, tmp_len);
  5529. @@ -3770,8 +4317,9 @@
  5530. int has_symlinks = 0;
  5531. while (strlen (tmp_pathspec) && !has_symlinks)
  5532. {
  5533. - LTWRAPPER_DEBUGPRINTF (("checking path component for symlinks: %s\n",
  5534. - tmp_pathspec));
  5535. + lt_debugprintf (__FILE__, __LINE__,
  5536. + "checking path component for symlinks: %s\n",
  5537. + tmp_pathspec);
  5538. if (lstat (tmp_pathspec, &s) == 0)
  5539. {
  5540. if (S_ISLNK (s.st_mode) != 0)
  5541. @@ -3793,8 +4341,9 @@
  5542. }
  5543. else
  5544. {
  5545. - char *errstr = strerror (errno);
  5546. - lt_fatal ("Error accessing file %s (%s)", tmp_pathspec, errstr);
  5547. + lt_fatal (__FILE__, __LINE__,
  5548. + "error accessing file \"%s\": %s",
  5549. + tmp_pathspec, nonnull (strerror (errno)));
  5550. }
  5551. }
  5552. XFREE (tmp_pathspec);
  5553. @@ -3807,7 +4356,8 @@
  5554. tmp_pathspec = realpath (pathspec, buf);
  5555. if (tmp_pathspec == 0)
  5556. {
  5557. - lt_fatal ("Could not follow symlinks for %s", pathspec);
  5558. + lt_fatal (__FILE__, __LINE__,
  5559. + "could not follow symlinks for %s", pathspec);
  5560. }
  5561. return xstrdup (tmp_pathspec);
  5562. #endif
  5563. @@ -3833,11 +4383,25 @@
  5564. return str;
  5565. }
  5566. +void
  5567. +lt_debugprintf (const char *file, int line, const char *fmt, ...)
  5568. +{
  5569. + va_list args;
  5570. + if (lt_debug)
  5571. + {
  5572. + (void) fprintf (stderr, "%s:%s:%d: ", program_name, file, line);
  5573. + va_start (args, fmt);
  5574. + (void) vfprintf (stderr, fmt, args);
  5575. + va_end (args);
  5576. + }
  5577. +}
  5578. +
  5579. static void
  5580. -lt_error_core (int exit_status, const char *mode,
  5581. +lt_error_core (int exit_status, const char *file,
  5582. + int line, const char *mode,
  5583. const char *message, va_list ap)
  5584. {
  5585. - fprintf (stderr, "%s: %s: ", program_name, mode);
  5586. + fprintf (stderr, "%s:%s:%d: %s: ", program_name, file, line, mode);
  5587. vfprintf (stderr, message, ap);
  5588. fprintf (stderr, ".\n");
  5589. @@ -3846,20 +4410,32 @@
  5590. }
  5591. void
  5592. -lt_fatal (const char *message, ...)
  5593. +lt_fatal (const char *file, int line, const char *message, ...)
  5594. {
  5595. va_list ap;
  5596. va_start (ap, message);
  5597. - lt_error_core (EXIT_FAILURE, "FATAL", message, ap);
  5598. + lt_error_core (EXIT_FAILURE, file, line, "FATAL", message, ap);
  5599. va_end (ap);
  5600. }
  5601. +static const char *
  5602. +nonnull (const char *s)
  5603. +{
  5604. + return s ? s : "(null)";
  5605. +}
  5606. +
  5607. +static const char *
  5608. +nonempty (const char *s)
  5609. +{
  5610. + return (s && !*s) ? "(empty)" : nonnull (s);
  5611. +}
  5612. +
  5613. void
  5614. lt_setenv (const char *name, const char *value)
  5615. {
  5616. - LTWRAPPER_DEBUGPRINTF (("(lt_setenv) setting '%s' to '%s'\n",
  5617. - (name ? name : "<NULL>"),
  5618. - (value ? value : "<NULL>")));
  5619. + lt_debugprintf (__FILE__, __LINE__,
  5620. + "(lt_setenv) setting '%s' to '%s'\n",
  5621. + nonnull (name), nonnull (value));
  5622. {
  5623. #ifdef HAVE_SETENV
  5624. /* always make a copy, for consistency with !HAVE_SETENV */
  5625. @@ -3904,95 +4480,12 @@
  5626. return new_value;
  5627. }
  5628. -int
  5629. -lt_split_name_value (const char *arg, char** name, char** value)
  5630. -{
  5631. - const char *p;
  5632. - int len;
  5633. - if (!arg || !*arg)
  5634. - return 1;
  5635. -
  5636. - p = strchr (arg, (int)'=');
  5637. -
  5638. - if (!p)
  5639. - return 1;
  5640. -
  5641. - *value = xstrdup (++p);
  5642. -
  5643. - len = strlen (arg) - strlen (*value);
  5644. - *name = XMALLOC (char, len);
  5645. - strncpy (*name, arg, len-1);
  5646. - (*name)[len - 1] = '\0';
  5647. -
  5648. - return 0;
  5649. -}
  5650. -
  5651. -void
  5652. -lt_opt_process_env_set (const char *arg)
  5653. -{
  5654. - char *name = NULL;
  5655. - char *value = NULL;
  5656. -
  5657. - if (lt_split_name_value (arg, &name, &value) != 0)
  5658. - {
  5659. - XFREE (name);
  5660. - XFREE (value);
  5661. - lt_fatal ("bad argument for %s: '%s'", env_set_opt, arg);
  5662. - }
  5663. -
  5664. - lt_setenv (name, value);
  5665. - XFREE (name);
  5666. - XFREE (value);
  5667. -}
  5668. -
  5669. -void
  5670. -lt_opt_process_env_prepend (const char *arg)
  5671. -{
  5672. - char *name = NULL;
  5673. - char *value = NULL;
  5674. - char *new_value = NULL;
  5675. -
  5676. - if (lt_split_name_value (arg, &name, &value) != 0)
  5677. - {
  5678. - XFREE (name);
  5679. - XFREE (value);
  5680. - lt_fatal ("bad argument for %s: '%s'", env_prepend_opt, arg);
  5681. - }
  5682. -
  5683. - new_value = lt_extend_str (getenv (name), value, 0);
  5684. - lt_setenv (name, new_value);
  5685. - XFREE (new_value);
  5686. - XFREE (name);
  5687. - XFREE (value);
  5688. -}
  5689. -
  5690. -void
  5691. -lt_opt_process_env_append (const char *arg)
  5692. -{
  5693. - char *name = NULL;
  5694. - char *value = NULL;
  5695. - char *new_value = NULL;
  5696. -
  5697. - if (lt_split_name_value (arg, &name, &value) != 0)
  5698. - {
  5699. - XFREE (name);
  5700. - XFREE (value);
  5701. - lt_fatal ("bad argument for %s: '%s'", env_append_opt, arg);
  5702. - }
  5703. -
  5704. - new_value = lt_extend_str (getenv (name), value, 1);
  5705. - lt_setenv (name, new_value);
  5706. - XFREE (new_value);
  5707. - XFREE (name);
  5708. - XFREE (value);
  5709. -}
  5710. -
  5711. void
  5712. lt_update_exe_path (const char *name, const char *value)
  5713. {
  5714. - LTWRAPPER_DEBUGPRINTF (("(lt_update_exe_path) modifying '%s' by prepending '%s'\n",
  5715. - (name ? name : "<NULL>"),
  5716. - (value ? value : "<NULL>")));
  5717. + lt_debugprintf (__FILE__, __LINE__,
  5718. + "(lt_update_exe_path) modifying '%s' by prepending '%s'\n",
  5719. + nonnull (name), nonnull (value));
  5720. if (name && *name && value && *value)
  5721. {
  5722. @@ -4011,9 +4504,9 @@
  5723. void
  5724. lt_update_lib_path (const char *name, const char *value)
  5725. {
  5726. - LTWRAPPER_DEBUGPRINTF (("(lt_update_lib_path) modifying '%s' by prepending '%s'\n",
  5727. - (name ? name : "<NULL>"),
  5728. - (value ? value : "<NULL>")));
  5729. + lt_debugprintf (__FILE__, __LINE__,
  5730. + "(lt_update_lib_path) modifying '%s' by prepending '%s'\n",
  5731. + nonnull (name), nonnull (value));
  5732. if (name && *name && value && *value)
  5733. {
  5734. @@ -4023,11 +4516,152 @@
  5735. }
  5736. }
  5737. +EOF
  5738. + case $host_os in
  5739. + mingw*)
  5740. + cat <<"EOF"
  5741. +
  5742. +/* Prepares an argument vector before calling spawn().
  5743. + Note that spawn() does not by itself call the command interpreter
  5744. + (getenv ("COMSPEC") != NULL ? getenv ("COMSPEC") :
  5745. + ({ OSVERSIONINFO v; v.dwOSVersionInfoSize = sizeof(OSVERSIONINFO);
  5746. + GetVersionEx(&v);
  5747. + v.dwPlatformId == VER_PLATFORM_WIN32_NT;
  5748. + }) ? "cmd.exe" : "command.com").
  5749. + Instead it simply concatenates the arguments, separated by ' ', and calls
  5750. + CreateProcess(). We must quote the arguments since Win32 CreateProcess()
  5751. + interprets characters like ' ', '\t', '\\', '"' (but not '<' and '>') in a
  5752. + special way:
  5753. + - Space and tab are interpreted as delimiters. They are not treated as
  5754. + delimiters if they are surrounded by double quotes: "...".
  5755. + - Unescaped double quotes are removed from the input. Their only effect is
  5756. + that within double quotes, space and tab are treated like normal
  5757. + characters.
  5758. + - Backslashes not followed by double quotes are not special.
  5759. + - But 2*n+1 backslashes followed by a double quote become
  5760. + n backslashes followed by a double quote (n >= 0):
  5761. + \" -> "
  5762. + \\\" -> \"
  5763. + \\\\\" -> \\"
  5764. + */
  5765. +#define SHELL_SPECIAL_CHARS "\"\\ \001\002\003\004\005\006\007\010\011\012\013\014\015\016\017\020\021\022\023\024\025\026\027\030\031\032\033\034\035\036\037"
  5766. +#define SHELL_SPACE_CHARS " \001\002\003\004\005\006\007\010\011\012\013\014\015\016\017\020\021\022\023\024\025\026\027\030\031\032\033\034\035\036\037"
  5767. +char **
  5768. +prepare_spawn (char **argv)
  5769. +{
  5770. + size_t argc;
  5771. + char **new_argv;
  5772. + size_t i;
  5773. +
  5774. + /* Count number of arguments. */
  5775. + for (argc = 0; argv[argc] != NULL; argc++)
  5776. + ;
  5777. +
  5778. + /* Allocate new argument vector. */
  5779. + new_argv = XMALLOC (char *, argc + 1);
  5780. +
  5781. + /* Put quoted arguments into the new argument vector. */
  5782. + for (i = 0; i < argc; i++)
  5783. + {
  5784. + const char *string = argv[i];
  5785. +
  5786. + if (string[0] == '\0')
  5787. + new_argv[i] = xstrdup ("\"\"");
  5788. + else if (strpbrk (string, SHELL_SPECIAL_CHARS) != NULL)
  5789. + {
  5790. + int quote_around = (strpbrk (string, SHELL_SPACE_CHARS) != NULL);
  5791. + size_t length;
  5792. + unsigned int backslashes;
  5793. + const char *s;
  5794. + char *quoted_string;
  5795. + char *p;
  5796. +
  5797. + length = 0;
  5798. + backslashes = 0;
  5799. + if (quote_around)
  5800. + length++;
  5801. + for (s = string; *s != '\0'; s++)
  5802. + {
  5803. + char c = *s;
  5804. + if (c == '"')
  5805. + length += backslashes + 1;
  5806. + length++;
  5807. + if (c == '\\')
  5808. + backslashes++;
  5809. + else
  5810. + backslashes = 0;
  5811. + }
  5812. + if (quote_around)
  5813. + length += backslashes + 1;
  5814. +
  5815. + quoted_string = XMALLOC (char, length + 1);
  5816. +
  5817. + p = quoted_string;
  5818. + backslashes = 0;
  5819. + if (quote_around)
  5820. + *p++ = '"';
  5821. + for (s = string; *s != '\0'; s++)
  5822. + {
  5823. + char c = *s;
  5824. + if (c == '"')
  5825. + {
  5826. + unsigned int j;
  5827. + for (j = backslashes + 1; j > 0; j--)
  5828. + *p++ = '\\';
  5829. + }
  5830. + *p++ = c;
  5831. + if (c == '\\')
  5832. + backslashes++;
  5833. + else
  5834. + backslashes = 0;
  5835. + }
  5836. + if (quote_around)
  5837. + {
  5838. + unsigned int j;
  5839. + for (j = backslashes; j > 0; j--)
  5840. + *p++ = '\\';
  5841. + *p++ = '"';
  5842. + }
  5843. + *p = '\0';
  5844. +
  5845. + new_argv[i] = quoted_string;
  5846. + }
  5847. + else
  5848. + new_argv[i] = (char *) string;
  5849. + }
  5850. + new_argv[argc] = NULL;
  5851. +
  5852. + return new_argv;
  5853. +}
  5854. +EOF
  5855. + ;;
  5856. + esac
  5857. +
  5858. + cat <<"EOF"
  5859. +void lt_dump_script (FILE* f)
  5860. +{
  5861. +EOF
  5862. + func_emit_wrapper yes |
  5863. + $SED -e 's/\([\\"]\)/\\\1/g' \
  5864. + -e 's/^/ fputs ("/' -e 's/$/\\n", f);/'
  5865. + cat <<"EOF"
  5866. +}
  5867. EOF
  5868. }
  5869. # end: func_emit_cwrapperexe_src
  5870. +# func_win32_import_lib_p ARG
  5871. +# True if ARG is an import lib, as indicated by $file_magic_cmd
  5872. +func_win32_import_lib_p ()
  5873. +{
  5874. + $opt_debug
  5875. + case `eval $file_magic_cmd \"\$1\" 2>/dev/null | $SED -e 10q` in
  5876. + *import*) : ;;
  5877. + *) false ;;
  5878. + esac
  5879. +}
  5880. +
  5881. # func_mode_link arg...
  5882. func_mode_link ()
  5883. {
  5884. @@ -4072,6 +4706,7 @@
  5885. new_inherited_linker_flags=
  5886. avoid_version=no
  5887. + bindir=
  5888. dlfiles=
  5889. dlprefiles=
  5890. dlself=no
  5891. @@ -4164,6 +4799,11 @@
  5892. esac
  5893. case $prev in
  5894. + bindir)
  5895. + bindir="$arg"
  5896. + prev=
  5897. + continue
  5898. + ;;
  5899. dlfiles|dlprefiles)
  5900. if test "$preload" = no; then
  5901. # Add the symbol object into the linking commands.
  5902. @@ -4195,9 +4835,9 @@
  5903. ;;
  5904. *)
  5905. if test "$prev" = dlfiles; then
  5906. - dlfiles="$dlfiles $arg"
  5907. + func_append dlfiles " $arg"
  5908. else
  5909. - dlprefiles="$dlprefiles $arg"
  5910. + func_append dlprefiles " $arg"
  5911. fi
  5912. prev=
  5913. continue
  5914. @@ -4221,7 +4861,7 @@
  5915. *-*-darwin*)
  5916. case "$deplibs " in
  5917. *" $qarg.ltframework "*) ;;
  5918. - *) deplibs="$deplibs $qarg.ltframework" # this is fixed later
  5919. + *) func_append deplibs " $qarg.ltframework" # this is fixed later
  5920. ;;
  5921. esac
  5922. ;;
  5923. @@ -4240,7 +4880,7 @@
  5924. moreargs=
  5925. for fil in `cat "$save_arg"`
  5926. do
  5927. -# moreargs="$moreargs $fil"
  5928. +# func_append moreargs " $fil"
  5929. arg=$fil
  5930. # A libtool-controlled object.
  5931. @@ -4269,7 +4909,7 @@
  5932. if test "$prev" = dlfiles; then
  5933. if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then
  5934. - dlfiles="$dlfiles $pic_object"
  5935. + func_append dlfiles " $pic_object"
  5936. prev=
  5937. continue
  5938. else
  5939. @@ -4281,7 +4921,7 @@
  5940. # CHECK ME: I think I busted this. -Ossama
  5941. if test "$prev" = dlprefiles; then
  5942. # Preload the old-style object.
  5943. - dlprefiles="$dlprefiles $pic_object"
  5944. + func_append dlprefiles " $pic_object"
  5945. prev=
  5946. fi
  5947. @@ -4351,12 +4991,12 @@
  5948. if test "$prev" = rpath; then
  5949. case "$rpath " in
  5950. *" $arg "*) ;;
  5951. - *) rpath="$rpath $arg" ;;
  5952. + *) func_append rpath " $arg" ;;
  5953. esac
  5954. else
  5955. case "$xrpath " in
  5956. *" $arg "*) ;;
  5957. - *) xrpath="$xrpath $arg" ;;
  5958. + *) func_append xrpath " $arg" ;;
  5959. esac
  5960. fi
  5961. prev=
  5962. @@ -4368,28 +5008,28 @@
  5963. continue
  5964. ;;
  5965. weak)
  5966. - weak_libs="$weak_libs $arg"
  5967. + func_append weak_libs " $arg"
  5968. prev=
  5969. continue
  5970. ;;
  5971. xcclinker)
  5972. - linker_flags="$linker_flags $qarg"
  5973. - compiler_flags="$compiler_flags $qarg"
  5974. + func_append linker_flags " $qarg"
  5975. + func_append compiler_flags " $qarg"
  5976. prev=
  5977. func_append compile_command " $qarg"
  5978. func_append finalize_command " $qarg"
  5979. continue
  5980. ;;
  5981. xcompiler)
  5982. - compiler_flags="$compiler_flags $qarg"
  5983. + func_append compiler_flags " $qarg"
  5984. prev=
  5985. func_append compile_command " $qarg"
  5986. func_append finalize_command " $qarg"
  5987. continue
  5988. ;;
  5989. xlinker)
  5990. - linker_flags="$linker_flags $qarg"
  5991. - compiler_flags="$compiler_flags $wl$qarg"
  5992. + func_append linker_flags " $qarg"
  5993. + func_append compiler_flags " $wl$qarg"
  5994. prev=
  5995. func_append compile_command " $wl$qarg"
  5996. func_append finalize_command " $wl$qarg"
  5997. @@ -4425,6 +5065,11 @@
  5998. continue
  5999. ;;
  6000. + -bindir)
  6001. + prev=bindir
  6002. + continue
  6003. + ;;
  6004. +
  6005. -dlopen)
  6006. prev=dlfiles
  6007. continue
  6008. @@ -4497,22 +5142,22 @@
  6009. case "$deplibs " in
  6010. *" -L$dir "*) ;;
  6011. *)
  6012. - deplibs="$deplibs -L$dir"
  6013. - lib_search_path="$lib_search_path $dir"
  6014. + func_append deplibs " -L$dir"
  6015. + func_append lib_search_path " $dir"
  6016. ;;
  6017. esac
  6018. case $host in
  6019. *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*)
  6020. - testbindir=`$ECHO "X$dir" | $Xsed -e 's*/lib$*/bin*'`
  6021. + testbindir=`$ECHO "$dir" | $SED 's*/lib$*/bin*'`
  6022. case :$dllsearchpath: in
  6023. *":$dir:"*) ;;
  6024. ::) dllsearchpath=$dir;;
  6025. - *) dllsearchpath="$dllsearchpath:$dir";;
  6026. + *) func_append dllsearchpath ":$dir";;
  6027. esac
  6028. case :$dllsearchpath: in
  6029. *":$testbindir:"*) ;;
  6030. ::) dllsearchpath=$testbindir;;
  6031. - *) dllsearchpath="$dllsearchpath:$testbindir";;
  6032. + *) func_append dllsearchpath ":$testbindir";;
  6033. esac
  6034. ;;
  6035. esac
  6036. @@ -4522,7 +5167,7 @@
  6037. -l*)
  6038. if test "X$arg" = "X-lc" || test "X$arg" = "X-lm"; then
  6039. case $host in
  6040. - *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-beos* | *-cegcc*)
  6041. + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-beos* | *-cegcc* | *-*-haiku*)
  6042. # These systems don't actually have a C or math library (as such)
  6043. continue
  6044. ;;
  6045. @@ -4536,7 +5181,7 @@
  6046. ;;
  6047. *-*-rhapsody* | *-*-darwin1.[012])
  6048. # Rhapsody C and math libraries are in the System framework
  6049. - deplibs="$deplibs System.ltframework"
  6050. + func_append deplibs " System.ltframework"
  6051. continue
  6052. ;;
  6053. *-*-sco3.2v5* | *-*-sco5v6*)
  6054. @@ -4556,7 +5201,7 @@
  6055. ;;
  6056. esac
  6057. fi
  6058. - deplibs="$deplibs $arg"
  6059. + func_append deplibs " $arg"
  6060. continue
  6061. ;;
  6062. @@ -4569,7 +5214,7 @@
  6063. # classes, name mangling, and exception handling.
  6064. # Darwin uses the -arch flag to determine output architecture.
  6065. -model|-arch|-isysroot)
  6066. - compiler_flags="$compiler_flags $arg"
  6067. + func_append compiler_flags " $arg"
  6068. func_append compile_command " $arg"
  6069. func_append finalize_command " $arg"
  6070. prev=xcompiler
  6071. @@ -4577,12 +5222,12 @@
  6072. ;;
  6073. -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads)
  6074. - compiler_flags="$compiler_flags $arg"
  6075. + func_append compiler_flags " $arg"
  6076. func_append compile_command " $arg"
  6077. func_append finalize_command " $arg"
  6078. case "$new_inherited_linker_flags " in
  6079. *" $arg "*) ;;
  6080. - * ) new_inherited_linker_flags="$new_inherited_linker_flags $arg" ;;
  6081. + * ) func_append new_inherited_linker_flags " $arg" ;;
  6082. esac
  6083. continue
  6084. ;;
  6085. @@ -4655,7 +5300,7 @@
  6086. esac
  6087. case "$xrpath " in
  6088. *" $dir "*) ;;
  6089. - *) xrpath="$xrpath $dir" ;;
  6090. + *) func_append xrpath " $dir" ;;
  6091. esac
  6092. continue
  6093. ;;
  6094. @@ -4708,8 +5353,8 @@
  6095. for flag in $args; do
  6096. IFS="$save_ifs"
  6097. func_quote_for_eval "$flag"
  6098. - arg="$arg $wl$func_quote_for_eval_result"
  6099. - compiler_flags="$compiler_flags $func_quote_for_eval_result"
  6100. + func_append arg " $func_quote_for_eval_result"
  6101. + func_append compiler_flags " $func_quote_for_eval_result"
  6102. done
  6103. IFS="$save_ifs"
  6104. func_stripname ' ' '' "$arg"
  6105. @@ -4724,9 +5369,9 @@
  6106. for flag in $args; do
  6107. IFS="$save_ifs"
  6108. func_quote_for_eval "$flag"
  6109. - arg="$arg $wl$func_quote_for_eval_result"
  6110. - compiler_flags="$compiler_flags $wl$func_quote_for_eval_result"
  6111. - linker_flags="$linker_flags $func_quote_for_eval_result"
  6112. + func_append arg " $wl$func_quote_for_eval_result"
  6113. + func_append compiler_flags " $wl$func_quote_for_eval_result"
  6114. + func_append linker_flags " $func_quote_for_eval_result"
  6115. done
  6116. IFS="$save_ifs"
  6117. func_stripname ' ' '' "$arg"
  6118. @@ -4754,23 +5399,24 @@
  6119. arg="$func_quote_for_eval_result"
  6120. ;;
  6121. - # -64, -mips[0-9] enable 64-bit mode on the SGI compiler
  6122. - # -r[0-9][0-9]* specifies the processor on the SGI compiler
  6123. - # -xarch=*, -xtarget=* enable 64-bit mode on the Sun compiler
  6124. - # +DA*, +DD* enable 64-bit mode on the HP compiler
  6125. - # -q* pass through compiler args for the IBM compiler
  6126. - # -m*, -t[45]*, -txscale* pass through architecture-specific
  6127. - # compiler args for GCC
  6128. - # -F/path gives path to uninstalled frameworks, gcc on darwin
  6129. - # -p, -pg, --coverage, -fprofile-* pass through profiling flag for GCC
  6130. - # @file GCC response files
  6131. + # Flags to be passed through unchanged, with rationale:
  6132. + # -64, -mips[0-9] enable 64-bit mode for the SGI compiler
  6133. + # -r[0-9][0-9]* specify processor for the SGI compiler
  6134. + # -xarch=*, -xtarget=* enable 64-bit mode for the Sun compiler
  6135. + # +DA*, +DD* enable 64-bit mode for the HP compiler
  6136. + # -q* compiler args for the IBM compiler
  6137. + # -m*, -t[45]*, -txscale* architecture-specific flags for GCC
  6138. + # -F/path path to uninstalled frameworks, gcc on darwin
  6139. + # -p, -pg, --coverage, -fprofile-* profiling flags for GCC
  6140. + # @file GCC response files
  6141. + # -tp=* Portland pgcc target processor selection
  6142. -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \
  6143. - -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*)
  6144. + -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*)
  6145. func_quote_for_eval "$arg"
  6146. arg="$func_quote_for_eval_result"
  6147. func_append compile_command " $arg"
  6148. func_append finalize_command " $arg"
  6149. - compiler_flags="$compiler_flags $arg"
  6150. + func_append compiler_flags " $arg"
  6151. continue
  6152. ;;
  6153. @@ -4782,7 +5428,7 @@
  6154. *.$objext)
  6155. # A standard object.
  6156. - objs="$objs $arg"
  6157. + func_append objs " $arg"
  6158. ;;
  6159. *.lo)
  6160. @@ -4813,7 +5459,7 @@
  6161. if test "$prev" = dlfiles; then
  6162. if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then
  6163. - dlfiles="$dlfiles $pic_object"
  6164. + func_append dlfiles " $pic_object"
  6165. prev=
  6166. continue
  6167. else
  6168. @@ -4825,7 +5471,7 @@
  6169. # CHECK ME: I think I busted this. -Ossama
  6170. if test "$prev" = dlprefiles; then
  6171. # Preload the old-style object.
  6172. - dlprefiles="$dlprefiles $pic_object"
  6173. + func_append dlprefiles " $pic_object"
  6174. prev=
  6175. fi
  6176. @@ -4870,8 +5516,8 @@
  6177. *.$libext)
  6178. # An archive.
  6179. - deplibs="$deplibs $arg"
  6180. - old_deplibs="$old_deplibs $arg"
  6181. + func_append deplibs " $arg"
  6182. + func_append old_deplibs " $arg"
  6183. continue
  6184. ;;
  6185. @@ -4880,14 +5526,14 @@
  6186. if test "$prev" = dlfiles; then
  6187. # This library was specified with -dlopen.
  6188. - dlfiles="$dlfiles $arg"
  6189. + func_append dlfiles " $arg"
  6190. prev=
  6191. elif test "$prev" = dlprefiles; then
  6192. # The library was specified with -dlpreopen.
  6193. - dlprefiles="$dlprefiles $arg"
  6194. + func_append dlprefiles " $arg"
  6195. prev=
  6196. else
  6197. - deplibs="$deplibs $arg"
  6198. + func_append deplibs " $arg"
  6199. fi
  6200. continue
  6201. ;;
  6202. @@ -4925,7 +5571,7 @@
  6203. if test -n "$shlibpath_var"; then
  6204. # get the directories listed in $shlibpath_var
  6205. - eval shlib_search_path=\`\$ECHO \"X\${$shlibpath_var}\" \| \$Xsed -e \'s/:/ /g\'\`
  6206. + eval shlib_search_path=\`\$ECHO \"\${$shlibpath_var}\" \| \$SED \'s/:/ /g\'\`
  6207. else
  6208. shlib_search_path=
  6209. fi
  6210. @@ -4954,12 +5600,12 @@
  6211. # Find all interdependent deplibs by searching for libraries
  6212. # that are linked more than once (e.g. -la -lb -la)
  6213. for deplib in $deplibs; do
  6214. - if $opt_duplicate_deps ; then
  6215. + if $opt_preserve_dup_deps ; then
  6216. case "$libs " in
  6217. - *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
  6218. + *" $deplib "*) func_append specialdeplibs " $deplib" ;;
  6219. esac
  6220. fi
  6221. - libs="$libs $deplib"
  6222. + func_append libs " $deplib"
  6223. done
  6224. if test "$linkmode" = lib; then
  6225. @@ -4972,9 +5618,9 @@
  6226. if $opt_duplicate_compiler_generated_deps; then
  6227. for pre_post_dep in $predeps $postdeps; do
  6228. case "$pre_post_deps " in
  6229. - *" $pre_post_dep "*) specialdeplibs="$specialdeplibs $pre_post_deps" ;;
  6230. + *" $pre_post_dep "*) func_append specialdeplibs " $pre_post_deps" ;;
  6231. esac
  6232. - pre_post_deps="$pre_post_deps $pre_post_dep"
  6233. + func_append pre_post_deps " $pre_post_dep"
  6234. done
  6235. fi
  6236. pre_post_deps=
  6237. @@ -5033,10 +5679,7 @@
  6238. case $pass in
  6239. dlopen) libs="$dlfiles" ;;
  6240. dlpreopen) libs="$dlprefiles" ;;
  6241. - link)
  6242. - libs="$deplibs %DEPLIBS%"
  6243. - test "X$link_all_deplibs" != Xno && libs="$libs $dependency_libs"
  6244. - ;;
  6245. + link) libs="$deplibs %DEPLIBS% $dependency_libs" ;;
  6246. esac
  6247. fi
  6248. if test "$linkmode,$pass" = "lib,dlpreopen"; then
  6249. @@ -5051,10 +5694,11 @@
  6250. # Collect preopened libtool deplibs, except any this library
  6251. # has declared as weak libs
  6252. for deplib in $dependency_libs; do
  6253. - deplib_base=`$ECHO "X$deplib" | $Xsed -e "$basename"`
  6254. + func_basename "$deplib"
  6255. + deplib_base=$func_basename_result
  6256. case " $weak_libs " in
  6257. *" $deplib_base "*) ;;
  6258. - *) deplibs="$deplibs $deplib" ;;
  6259. + *) func_append deplibs " $deplib" ;;
  6260. esac
  6261. done
  6262. done
  6263. @@ -5075,11 +5719,11 @@
  6264. compile_deplibs="$deplib $compile_deplibs"
  6265. finalize_deplibs="$deplib $finalize_deplibs"
  6266. else
  6267. - compiler_flags="$compiler_flags $deplib"
  6268. + func_append compiler_flags " $deplib"
  6269. if test "$linkmode" = lib ; then
  6270. case "$new_inherited_linker_flags " in
  6271. *" $deplib "*) ;;
  6272. - * ) new_inherited_linker_flags="$new_inherited_linker_flags $deplib" ;;
  6273. + * ) func_append new_inherited_linker_flags " $deplib" ;;
  6274. esac
  6275. fi
  6276. fi
  6277. @@ -5164,7 +5808,7 @@
  6278. if test "$linkmode" = lib ; then
  6279. case "$new_inherited_linker_flags " in
  6280. *" $deplib "*) ;;
  6281. - * ) new_inherited_linker_flags="$new_inherited_linker_flags $deplib" ;;
  6282. + * ) func_append new_inherited_linker_flags " $deplib" ;;
  6283. esac
  6284. fi
  6285. fi
  6286. @@ -5177,7 +5821,7 @@
  6287. test "$pass" = conv && continue
  6288. newdependency_libs="$deplib $newdependency_libs"
  6289. func_stripname '-L' '' "$deplib"
  6290. - newlib_search_path="$newlib_search_path $func_stripname_result"
  6291. + func_append newlib_search_path " $func_stripname_result"
  6292. ;;
  6293. prog)
  6294. if test "$pass" = conv; then
  6295. @@ -5191,7 +5835,7 @@
  6296. finalize_deplibs="$deplib $finalize_deplibs"
  6297. fi
  6298. func_stripname '-L' '' "$deplib"
  6299. - newlib_search_path="$newlib_search_path $func_stripname_result"
  6300. + func_append newlib_search_path " $func_stripname_result"
  6301. ;;
  6302. *)
  6303. func_warning "\`-L' is ignored for archives/objects"
  6304. @@ -5206,7 +5850,7 @@
  6305. # Make sure the xrpath contains only unique directories.
  6306. case "$xrpath " in
  6307. *" $dir "*) ;;
  6308. - *) xrpath="$xrpath $dir" ;;
  6309. + *) func_append xrpath " $dir" ;;
  6310. esac
  6311. fi
  6312. deplibs="$deplib $deplibs"
  6313. @@ -5230,7 +5874,7 @@
  6314. match_pattern*)
  6315. set dummy $deplibs_check_method; shift
  6316. match_pattern_regex=`expr "$deplibs_check_method" : "$1 \(.*\)"`
  6317. - if eval "\$ECHO \"X$deplib\"" 2>/dev/null | $Xsed -e 10q \
  6318. + if eval "\$ECHO \"$deplib\"" 2>/dev/null | $SED 10q \
  6319. | $EGREP "$match_pattern_regex" > /dev/null; then
  6320. valid_a_lib=yes
  6321. fi
  6322. @@ -5240,15 +5884,15 @@
  6323. ;;
  6324. esac
  6325. if test "$valid_a_lib" != yes; then
  6326. - $ECHO
  6327. + echo
  6328. $ECHO "*** Warning: Trying to link with static lib archive $deplib."
  6329. - $ECHO "*** I have the capability to make that library automatically link in when"
  6330. - $ECHO "*** you link to this library. But I can only do this if you have a"
  6331. - $ECHO "*** shared version of the library, which you do not appear to have"
  6332. - $ECHO "*** because the file extensions .$libext of this argument makes me believe"
  6333. - $ECHO "*** that it is just a static archive that I should not use here."
  6334. + echo "*** I have the capability to make that library automatically link in when"
  6335. + echo "*** you link to this library. But I can only do this if you have a"
  6336. + echo "*** shared version of the library, which you do not appear to have"
  6337. + echo "*** because the file extensions .$libext of this argument makes me believe"
  6338. + echo "*** that it is just a static archive that I should not use here."
  6339. else
  6340. - $ECHO
  6341. + echo
  6342. $ECHO "*** Warning: Linking the shared library $output against the"
  6343. $ECHO "*** static library $deplib is not portable!"
  6344. deplibs="$deplib $deplibs"
  6345. @@ -5275,11 +5919,11 @@
  6346. if test "$pass" = dlpreopen || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then
  6347. # If there is no dlopen support or we're linking statically,
  6348. # we need to preload.
  6349. - newdlprefiles="$newdlprefiles $deplib"
  6350. + func_append newdlprefiles " $deplib"
  6351. compile_deplibs="$deplib $compile_deplibs"
  6352. finalize_deplibs="$deplib $finalize_deplibs"
  6353. else
  6354. - newdlfiles="$newdlfiles $deplib"
  6355. + func_append newdlfiles " $deplib"
  6356. fi
  6357. fi
  6358. continue
  6359. @@ -5321,20 +5965,20 @@
  6360. # Convert "-framework foo" to "foo.ltframework"
  6361. if test -n "$inherited_linker_flags"; then
  6362. - tmp_inherited_linker_flags=`$ECHO "X$inherited_linker_flags" | $Xsed -e 's/-framework \([^ $]*\)/\1.ltframework/g'`
  6363. + tmp_inherited_linker_flags=`$ECHO "$inherited_linker_flags" | $SED 's/-framework \([^ $]*\)/\1.ltframework/g'`
  6364. for tmp_inherited_linker_flag in $tmp_inherited_linker_flags; do
  6365. case " $new_inherited_linker_flags " in
  6366. *" $tmp_inherited_linker_flag "*) ;;
  6367. - *) new_inherited_linker_flags="$new_inherited_linker_flags $tmp_inherited_linker_flag";;
  6368. + *) func_append new_inherited_linker_flags " $tmp_inherited_linker_flag";;
  6369. esac
  6370. done
  6371. fi
  6372. - dependency_libs=`$ECHO "X $dependency_libs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
  6373. + dependency_libs=`$ECHO " $dependency_libs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
  6374. if test "$linkmode,$pass" = "lib,link" ||
  6375. test "$linkmode,$pass" = "prog,scan" ||
  6376. { test "$linkmode" != prog && test "$linkmode" != lib; }; then
  6377. - test -n "$dlopen" && dlfiles="$dlfiles $dlopen"
  6378. - test -n "$dlpreopen" && dlprefiles="$dlprefiles $dlpreopen"
  6379. + test -n "$dlopen" && func_append dlfiles " $dlopen"
  6380. + test -n "$dlpreopen" && func_append dlprefiles " $dlpreopen"
  6381. fi
  6382. if test "$pass" = conv; then
  6383. @@ -5345,21 +5989,21 @@
  6384. func_fatal_error "cannot find name of link library for \`$lib'"
  6385. fi
  6386. # It is a libtool convenience library, so add in its objects.
  6387. - convenience="$convenience $ladir/$objdir/$old_library"
  6388. - old_convenience="$old_convenience $ladir/$objdir/$old_library"
  6389. - tmp_libs=
  6390. - for deplib in $dependency_libs; do
  6391. - deplibs="$deplib $deplibs"
  6392. - if $opt_duplicate_deps ; then
  6393. - case "$tmp_libs " in
  6394. - *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
  6395. - esac
  6396. - fi
  6397. - tmp_libs="$tmp_libs $deplib"
  6398. - done
  6399. + func_append convenience " $ladir/$objdir/$old_library"
  6400. + func_append old_convenience " $ladir/$objdir/$old_library"
  6401. elif test "$linkmode" != prog && test "$linkmode" != lib; then
  6402. func_fatal_error "\`$lib' is not a convenience library"
  6403. fi
  6404. + tmp_libs=
  6405. + for deplib in $dependency_libs; do
  6406. + deplibs="$deplib $deplibs"
  6407. + if $opt_preserve_dup_deps ; then
  6408. + case "$tmp_libs " in
  6409. + *" $deplib "*) func_append specialdeplibs " $deplib" ;;
  6410. + esac
  6411. + fi
  6412. + func_append tmp_libs " $deplib"
  6413. + done
  6414. continue
  6415. fi # $pass = conv
  6416. @@ -5385,9 +6029,9 @@
  6417. # statically, we need to preload. We also need to preload any
  6418. # dependent libraries so libltdl's deplib preloader doesn't
  6419. # bomb out in the load deplibs phase.
  6420. - dlprefiles="$dlprefiles $lib $dependency_libs"
  6421. + func_append dlprefiles " $lib $dependency_libs"
  6422. else
  6423. - newdlfiles="$newdlfiles $lib"
  6424. + func_append newdlfiles " $lib"
  6425. fi
  6426. continue
  6427. fi # $pass = dlopen
  6428. @@ -5424,12 +6068,12 @@
  6429. dir="$ladir"
  6430. absdir="$abs_ladir"
  6431. # Remove this search path later
  6432. - notinst_path="$notinst_path $abs_ladir"
  6433. + func_append notinst_path " $abs_ladir"
  6434. else
  6435. dir="$ladir/$objdir"
  6436. absdir="$abs_ladir/$objdir"
  6437. # Remove this search path later
  6438. - notinst_path="$notinst_path $abs_ladir"
  6439. + func_append notinst_path " $abs_ladir"
  6440. fi
  6441. fi # $installed = yes
  6442. func_stripname 'lib' '.la' "$laname"
  6443. @@ -5440,20 +6084,46 @@
  6444. if test -z "$libdir" && test "$linkmode" = prog; then
  6445. func_fatal_error "only libraries may -dlpreopen a convenience library: \`$lib'"
  6446. fi
  6447. - # Prefer using a static library (so that no silly _DYNAMIC symbols
  6448. - # are required to link).
  6449. - if test -n "$old_library"; then
  6450. - newdlprefiles="$newdlprefiles $dir/$old_library"
  6451. - # Keep a list of preopened convenience libraries to check
  6452. - # that they are being used correctly in the link pass.
  6453. - test -z "$libdir" && \
  6454. - dlpreconveniencelibs="$dlpreconveniencelibs $dir/$old_library"
  6455. - # Otherwise, use the dlname, so that lt_dlopen finds it.
  6456. - elif test -n "$dlname"; then
  6457. - newdlprefiles="$newdlprefiles $dir/$dlname"
  6458. - else
  6459. - newdlprefiles="$newdlprefiles $dir/$linklib"
  6460. - fi
  6461. + case "$host" in
  6462. + # special handling for platforms with PE-DLLs.
  6463. + *cygwin* | *mingw* | *cegcc* )
  6464. + # Linker will automatically link against shared library if both
  6465. + # static and shared are present. Therefore, ensure we extract
  6466. + # symbols from the import library if a shared library is present
  6467. + # (otherwise, the dlopen module name will be incorrect). We do
  6468. + # this by putting the import library name into $newdlprefiles.
  6469. + # We recover the dlopen module name by 'saving' the la file
  6470. + # name in a special purpose variable, and (later) extracting the
  6471. + # dlname from the la file.
  6472. + if test -n "$dlname"; then
  6473. + func_tr_sh "$dir/$linklib"
  6474. + eval "libfile_$func_tr_sh_result=\$abs_ladir/\$laname"
  6475. + func_append newdlprefiles " $dir/$linklib"
  6476. + else
  6477. + func_append newdlprefiles " $dir/$old_library"
  6478. + # Keep a list of preopened convenience libraries to check
  6479. + # that they are being used correctly in the link pass.
  6480. + test -z "$libdir" && \
  6481. + func_append dlpreconveniencelibs " $dir/$old_library"
  6482. + fi
  6483. + ;;
  6484. + * )
  6485. + # Prefer using a static library (so that no silly _DYNAMIC symbols
  6486. + # are required to link).
  6487. + if test -n "$old_library"; then
  6488. + func_append newdlprefiles " $dir/$old_library"
  6489. + # Keep a list of preopened convenience libraries to check
  6490. + # that they are being used correctly in the link pass.
  6491. + test -z "$libdir" && \
  6492. + func_append dlpreconveniencelibs " $dir/$old_library"
  6493. + # Otherwise, use the dlname, so that lt_dlopen finds it.
  6494. + elif test -n "$dlname"; then
  6495. + func_append newdlprefiles " $dir/$dlname"
  6496. + else
  6497. + func_append newdlprefiles " $dir/$linklib"
  6498. + fi
  6499. + ;;
  6500. + esac
  6501. fi # $pass = dlpreopen
  6502. if test -z "$libdir"; then
  6503. @@ -5471,7 +6141,7 @@
  6504. if test "$linkmode" = prog && test "$pass" != link; then
  6505. - newlib_search_path="$newlib_search_path $ladir"
  6506. + func_append newlib_search_path " $ladir"
  6507. deplibs="$lib $deplibs"
  6508. linkalldeplibs=no
  6509. @@ -5484,7 +6154,7 @@
  6510. for deplib in $dependency_libs; do
  6511. case $deplib in
  6512. -L*) func_stripname '-L' '' "$deplib"
  6513. - newlib_search_path="$newlib_search_path $func_stripname_result"
  6514. + func_append newlib_search_path " $func_stripname_result"
  6515. ;;
  6516. esac
  6517. # Need to link against all dependency_libs?
  6518. @@ -5495,12 +6165,12 @@
  6519. # or/and link against static libraries
  6520. newdependency_libs="$deplib $newdependency_libs"
  6521. fi
  6522. - if $opt_duplicate_deps ; then
  6523. + if $opt_preserve_dup_deps ; then
  6524. case "$tmp_libs " in
  6525. - *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
  6526. + *" $deplib "*) func_append specialdeplibs " $deplib" ;;
  6527. esac
  6528. fi
  6529. - tmp_libs="$tmp_libs $deplib"
  6530. + func_append tmp_libs " $deplib"
  6531. done # for deplib
  6532. continue
  6533. fi # $linkmode = prog...
  6534. @@ -5515,7 +6185,7 @@
  6535. # Make sure the rpath contains only unique directories.
  6536. case "$temp_rpath:" in
  6537. *"$absdir:"*) ;;
  6538. - *) temp_rpath="$temp_rpath$absdir:" ;;
  6539. + *) func_append temp_rpath "$absdir:" ;;
  6540. esac
  6541. fi
  6542. @@ -5527,7 +6197,7 @@
  6543. *)
  6544. case "$compile_rpath " in
  6545. *" $absdir "*) ;;
  6546. - *) compile_rpath="$compile_rpath $absdir"
  6547. + *) func_append compile_rpath " $absdir" ;;
  6548. esac
  6549. ;;
  6550. esac
  6551. @@ -5536,7 +6206,7 @@
  6552. *)
  6553. case "$finalize_rpath " in
  6554. *" $libdir "*) ;;
  6555. - *) finalize_rpath="$finalize_rpath $libdir"
  6556. + *) func_append finalize_rpath " $libdir" ;;
  6557. esac
  6558. ;;
  6559. esac
  6560. @@ -5561,12 +6231,12 @@
  6561. case $host in
  6562. *cygwin* | *mingw* | *cegcc*)
  6563. # No point in relinking DLLs because paths are not encoded
  6564. - notinst_deplibs="$notinst_deplibs $lib"
  6565. + func_append notinst_deplibs " $lib"
  6566. need_relink=no
  6567. ;;
  6568. *)
  6569. if test "$installed" = no; then
  6570. - notinst_deplibs="$notinst_deplibs $lib"
  6571. + func_append notinst_deplibs " $lib"
  6572. need_relink=yes
  6573. fi
  6574. ;;
  6575. @@ -5583,7 +6253,7 @@
  6576. fi
  6577. done
  6578. if test -z "$dlopenmodule" && test "$shouldnotlink" = yes && test "$pass" = link; then
  6579. - $ECHO
  6580. + echo
  6581. if test "$linkmode" = prog; then
  6582. $ECHO "*** Warning: Linking the executable $output against the loadable module"
  6583. else
  6584. @@ -5601,7 +6271,7 @@
  6585. *)
  6586. case "$compile_rpath " in
  6587. *" $absdir "*) ;;
  6588. - *) compile_rpath="$compile_rpath $absdir"
  6589. + *) func_append compile_rpath " $absdir" ;;
  6590. esac
  6591. ;;
  6592. esac
  6593. @@ -5610,7 +6280,7 @@
  6594. *)
  6595. case "$finalize_rpath " in
  6596. *" $libdir "*) ;;
  6597. - *) finalize_rpath="$finalize_rpath $libdir"
  6598. + *) func_append finalize_rpath " $libdir" ;;
  6599. esac
  6600. ;;
  6601. esac
  6602. @@ -5664,7 +6334,7 @@
  6603. linklib=$newlib
  6604. fi # test -n "$old_archive_from_expsyms_cmds"
  6605. - if test "$linkmode" = prog || test "$mode" != relink; then
  6606. + if test "$linkmode" = prog || test "$opt_mode" != relink; then
  6607. add_shlibpath=
  6608. add_dir=
  6609. add=
  6610. @@ -5686,9 +6356,9 @@
  6611. if test "X$dlopenmodule" != "X$lib"; then
  6612. $ECHO "*** Warning: lib $linklib is a module, not a shared library"
  6613. if test -z "$old_library" ; then
  6614. - $ECHO
  6615. - $ECHO "*** And there doesn't seem to be a static archive available"
  6616. - $ECHO "*** The link will probably fail, sorry"
  6617. + echo
  6618. + echo "*** And there doesn't seem to be a static archive available"
  6619. + echo "*** The link will probably fail, sorry"
  6620. else
  6621. add="$dir/$old_library"
  6622. fi
  6623. @@ -5720,7 +6390,7 @@
  6624. if test -n "$inst_prefix_dir"; then
  6625. case $libdir in
  6626. [\\/]*)
  6627. - add_dir="$add_dir -L$inst_prefix_dir$libdir"
  6628. + func_append add_dir " -L$inst_prefix_dir$libdir"
  6629. ;;
  6630. esac
  6631. fi
  6632. @@ -5742,7 +6412,7 @@
  6633. if test -n "$add_shlibpath"; then
  6634. case :$compile_shlibpath: in
  6635. *":$add_shlibpath:"*) ;;
  6636. - *) compile_shlibpath="$compile_shlibpath$add_shlibpath:" ;;
  6637. + *) func_append compile_shlibpath "$add_shlibpath:" ;;
  6638. esac
  6639. fi
  6640. if test "$linkmode" = prog; then
  6641. @@ -5756,13 +6426,13 @@
  6642. test "$hardcode_shlibpath_var" = yes; then
  6643. case :$finalize_shlibpath: in
  6644. *":$libdir:"*) ;;
  6645. - *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;;
  6646. + *) func_append finalize_shlibpath "$libdir:" ;;
  6647. esac
  6648. fi
  6649. fi
  6650. fi
  6651. - if test "$linkmode" = prog || test "$mode" = relink; then
  6652. + if test "$linkmode" = prog || test "$opt_mode" = relink; then
  6653. add_shlibpath=
  6654. add_dir=
  6655. add=
  6656. @@ -5776,7 +6446,7 @@
  6657. elif test "$hardcode_shlibpath_var" = yes; then
  6658. case :$finalize_shlibpath: in
  6659. *":$libdir:"*) ;;
  6660. - *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;;
  6661. + *) func_append finalize_shlibpath "$libdir:" ;;
  6662. esac
  6663. add="-l$name"
  6664. elif test "$hardcode_automatic" = yes; then
  6665. @@ -5793,7 +6463,7 @@
  6666. if test -n "$inst_prefix_dir"; then
  6667. case $libdir in
  6668. [\\/]*)
  6669. - add_dir="$add_dir -L$inst_prefix_dir$libdir"
  6670. + func_append add_dir " -L$inst_prefix_dir$libdir"
  6671. ;;
  6672. esac
  6673. fi
  6674. @@ -5828,21 +6498,21 @@
  6675. # Just print a warning and add the library to dependency_libs so
  6676. # that the program can be linked against the static library.
  6677. - $ECHO
  6678. + echo
  6679. $ECHO "*** Warning: This system can not link to static lib archive $lib."
  6680. - $ECHO "*** I have the capability to make that library automatically link in when"
  6681. - $ECHO "*** you link to this library. But I can only do this if you have a"
  6682. - $ECHO "*** shared version of the library, which you do not appear to have."
  6683. + echo "*** I have the capability to make that library automatically link in when"
  6684. + echo "*** you link to this library. But I can only do this if you have a"
  6685. + echo "*** shared version of the library, which you do not appear to have."
  6686. if test "$module" = yes; then
  6687. - $ECHO "*** But as you try to build a module library, libtool will still create "
  6688. - $ECHO "*** a static module, that should work as long as the dlopening application"
  6689. - $ECHO "*** is linked with the -dlopen flag to resolve symbols at runtime."
  6690. + echo "*** But as you try to build a module library, libtool will still create "
  6691. + echo "*** a static module, that should work as long as the dlopening application"
  6692. + echo "*** is linked with the -dlopen flag to resolve symbols at runtime."
  6693. if test -z "$global_symbol_pipe"; then
  6694. - $ECHO
  6695. - $ECHO "*** However, this would only work if libtool was able to extract symbol"
  6696. - $ECHO "*** lists from a program, using \`nm' or equivalent, but libtool could"
  6697. - $ECHO "*** not find such a program. So, this module is probably useless."
  6698. - $ECHO "*** \`nm' from GNU binutils and a full rebuild may help."
  6699. + echo
  6700. + echo "*** However, this would only work if libtool was able to extract symbol"
  6701. + echo "*** lists from a program, using \`nm' or equivalent, but libtool could"
  6702. + echo "*** not find such a program. So, this module is probably useless."
  6703. + echo "*** \`nm' from GNU binutils and a full rebuild may help."
  6704. fi
  6705. if test "$build_old_libs" = no; then
  6706. build_libtool_libs=module
  6707. @@ -5870,27 +6540,27 @@
  6708. temp_xrpath=$func_stripname_result
  6709. case " $xrpath " in
  6710. *" $temp_xrpath "*) ;;
  6711. - *) xrpath="$xrpath $temp_xrpath";;
  6712. + *) func_append xrpath " $temp_xrpath";;
  6713. esac;;
  6714. - *) temp_deplibs="$temp_deplibs $libdir";;
  6715. + *) func_append temp_deplibs " $libdir";;
  6716. esac
  6717. done
  6718. dependency_libs="$temp_deplibs"
  6719. fi
  6720. - newlib_search_path="$newlib_search_path $absdir"
  6721. + func_append newlib_search_path " $absdir"
  6722. # Link against this library
  6723. test "$link_static" = no && newdependency_libs="$abs_ladir/$laname $newdependency_libs"
  6724. # ... and its dependency_libs
  6725. tmp_libs=
  6726. for deplib in $dependency_libs; do
  6727. newdependency_libs="$deplib $newdependency_libs"
  6728. - if $opt_duplicate_deps ; then
  6729. + if $opt_preserve_dup_deps ; then
  6730. case "$tmp_libs " in
  6731. - *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
  6732. + *" $deplib "*) func_append specialdeplibs " $deplib" ;;
  6733. esac
  6734. fi
  6735. - tmp_libs="$tmp_libs $deplib"
  6736. + func_append tmp_libs " $deplib"
  6737. done
  6738. if test "$link_all_deplibs" != no; then
  6739. @@ -5928,8 +6598,8 @@
  6740. if test -z "$darwin_install_name"; then
  6741. darwin_install_name=`${OTOOL64} -L $depdepl | awk '{if (NR == 2) {print $1;exit}}'`
  6742. fi
  6743. - compiler_flags="$compiler_flags ${wl}-dylib_file ${wl}${darwin_install_name}:${depdepl}"
  6744. - linker_flags="$linker_flags -dylib_file ${darwin_install_name}:${depdepl}"
  6745. + func_append compiler_flags " ${wl}-dylib_file ${wl}${darwin_install_name}:${depdepl}"
  6746. + func_append linker_flags " -dylib_file ${darwin_install_name}:${depdepl}"
  6747. path=
  6748. fi
  6749. fi
  6750. @@ -5962,7 +6632,7 @@
  6751. compile_deplibs="$new_inherited_linker_flags $compile_deplibs"
  6752. finalize_deplibs="$new_inherited_linker_flags $finalize_deplibs"
  6753. else
  6754. - compiler_flags="$compiler_flags "`$ECHO "X $new_inherited_linker_flags" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
  6755. + func_append compiler_flags " "`$ECHO " $new_inherited_linker_flags" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
  6756. fi
  6757. fi
  6758. dependency_libs="$newdependency_libs"
  6759. @@ -5979,7 +6649,7 @@
  6760. for dir in $newlib_search_path; do
  6761. case "$lib_search_path " in
  6762. *" $dir "*) ;;
  6763. - *) lib_search_path="$lib_search_path $dir" ;;
  6764. + *) func_append lib_search_path " $dir" ;;
  6765. esac
  6766. done
  6767. newlib_search_path=
  6768. @@ -6037,10 +6707,10 @@
  6769. -L*)
  6770. case " $tmp_libs " in
  6771. *" $deplib "*) ;;
  6772. - *) tmp_libs="$tmp_libs $deplib" ;;
  6773. + *) func_append tmp_libs " $deplib" ;;
  6774. esac
  6775. ;;
  6776. - *) tmp_libs="$tmp_libs $deplib" ;;
  6777. + *) func_append tmp_libs " $deplib" ;;
  6778. esac
  6779. done
  6780. eval $var=\"$tmp_libs\"
  6781. @@ -6056,7 +6726,7 @@
  6782. ;;
  6783. esac
  6784. if test -n "$i" ; then
  6785. - tmp_libs="$tmp_libs $i"
  6786. + func_append tmp_libs " $i"
  6787. fi
  6788. done
  6789. dependency_libs=$tmp_libs
  6790. @@ -6097,7 +6767,7 @@
  6791. # Now set the variables for building old libraries.
  6792. build_libtool_libs=no
  6793. oldlibs="$output"
  6794. - objs="$objs$old_deplibs"
  6795. + func_append objs "$old_deplibs"
  6796. ;;
  6797. lib)
  6798. @@ -6130,10 +6800,10 @@
  6799. if test "$deplibs_check_method" != pass_all; then
  6800. func_fatal_error "cannot build libtool library \`$output' from non-libtool objects on this host:$objs"
  6801. else
  6802. - $ECHO
  6803. + echo
  6804. $ECHO "*** Warning: Linking the shared library $output against the non-libtool"
  6805. $ECHO "*** objects $objs is not portable!"
  6806. - libobjs="$libobjs $objs"
  6807. + func_append libobjs " $objs"
  6808. fi
  6809. fi
  6810. @@ -6198,7 +6868,7 @@
  6811. age="$number_minor"
  6812. revision="$number_revision"
  6813. ;;
  6814. - freebsd-aout|freebsd-elf|sunos)
  6815. + freebsd-aout|freebsd-elf|qnx|sunos)
  6816. current="$number_major"
  6817. revision="$number_minor"
  6818. age="0"
  6819. @@ -6210,9 +6880,6 @@
  6820. revision="$number_minor"
  6821. lt_irix_increment=no
  6822. ;;
  6823. - *)
  6824. - func_fatal_configuration "$modename: unknown library version type \`$version_type'"
  6825. - ;;
  6826. esac
  6827. ;;
  6828. no)
  6829. @@ -6334,7 +7001,7 @@
  6830. done
  6831. # Make executables depend on our current version.
  6832. - verstring="$verstring:${current}.0"
  6833. + func_append verstring ":${current}.0"
  6834. ;;
  6835. qnx)
  6836. @@ -6402,10 +7069,10 @@
  6837. fi
  6838. func_generate_dlsyms "$libname" "$libname" "yes"
  6839. - libobjs="$libobjs $symfileobj"
  6840. + func_append libobjs " $symfileobj"
  6841. test "X$libobjs" = "X " && libobjs=
  6842. - if test "$mode" != relink; then
  6843. + if test "$opt_mode" != relink; then
  6844. # Remove our outputs, but don't remove object files since they
  6845. # may have been created when compiling PIC objects.
  6846. removelist=
  6847. @@ -6421,7 +7088,7 @@
  6848. continue
  6849. fi
  6850. fi
  6851. - removelist="$removelist $p"
  6852. + func_append removelist " $p"
  6853. ;;
  6854. *) ;;
  6855. esac
  6856. @@ -6432,27 +7099,27 @@
  6857. # Now set the variables for building old libraries.
  6858. if test "$build_old_libs" = yes && test "$build_libtool_libs" != convenience ; then
  6859. - oldlibs="$oldlibs $output_objdir/$libname.$libext"
  6860. + func_append oldlibs " $output_objdir/$libname.$libext"
  6861. # Transform .lo files to .o files.
  6862. - oldobjs="$objs "`$ECHO "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}'$/d' -e "$lo2o" | $NL2SP`
  6863. + oldobjs="$objs "`$ECHO "$libobjs" | $SP2NL | $SED "/\.${libext}$/d; $lo2o" | $NL2SP`
  6864. fi
  6865. # Eliminate all temporary directories.
  6866. #for path in $notinst_path; do
  6867. - # lib_search_path=`$ECHO "X$lib_search_path " | $Xsed -e "s% $path % %g"`
  6868. - # deplibs=`$ECHO "X$deplibs " | $Xsed -e "s% -L$path % %g"`
  6869. - # dependency_libs=`$ECHO "X$dependency_libs " | $Xsed -e "s% -L$path % %g"`
  6870. + # lib_search_path=`$ECHO "$lib_search_path " | $SED "s% $path % %g"`
  6871. + # deplibs=`$ECHO "$deplibs " | $SED "s% -L$path % %g"`
  6872. + # dependency_libs=`$ECHO "$dependency_libs " | $SED "s% -L$path % %g"`
  6873. #done
  6874. if test -n "$xrpath"; then
  6875. # If the user specified any rpath flags, then add them.
  6876. temp_xrpath=
  6877. for libdir in $xrpath; do
  6878. - temp_xrpath="$temp_xrpath -R$libdir"
  6879. + func_append temp_xrpath " -R$libdir"
  6880. case "$finalize_rpath " in
  6881. *" $libdir "*) ;;
  6882. - *) finalize_rpath="$finalize_rpath $libdir" ;;
  6883. + *) func_append finalize_rpath " $libdir" ;;
  6884. esac
  6885. done
  6886. if test "$hardcode_into_libs" != yes || test "$build_old_libs" = yes; then
  6887. @@ -6466,7 +7133,7 @@
  6888. for lib in $old_dlfiles; do
  6889. case " $dlprefiles $dlfiles " in
  6890. *" $lib "*) ;;
  6891. - *) dlfiles="$dlfiles $lib" ;;
  6892. + *) func_append dlfiles " $lib" ;;
  6893. esac
  6894. done
  6895. @@ -6476,19 +7143,19 @@
  6896. for lib in $old_dlprefiles; do
  6897. case "$dlprefiles " in
  6898. *" $lib "*) ;;
  6899. - *) dlprefiles="$dlprefiles $lib" ;;
  6900. + *) func_append dlprefiles " $lib" ;;
  6901. esac
  6902. done
  6903. if test "$build_libtool_libs" = yes; then
  6904. if test -n "$rpath"; then
  6905. case $host in
  6906. - *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos* | *-cegcc*)
  6907. + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos* | *-cegcc* | *-*-haiku*)
  6908. # these systems don't actually have a c library (as such)!
  6909. ;;
  6910. *-*-rhapsody* | *-*-darwin1.[012])
  6911. # Rhapsody C library is in the System framework
  6912. - deplibs="$deplibs System.ltframework"
  6913. + func_append deplibs " System.ltframework"
  6914. ;;
  6915. *-*-netbsd*)
  6916. # Don't link with libc until the a.out ld.so is fixed.
  6917. @@ -6505,7 +7172,7 @@
  6918. *)
  6919. # Add libc to deplibs on all other systems if necessary.
  6920. if test "$build_libtool_need_lc" = "yes"; then
  6921. - deplibs="$deplibs -lc"
  6922. + func_append deplibs " -lc"
  6923. fi
  6924. ;;
  6925. esac
  6926. @@ -6554,7 +7221,7 @@
  6927. if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
  6928. case " $predeps $postdeps " in
  6929. *" $i "*)
  6930. - newdeplibs="$newdeplibs $i"
  6931. + func_append newdeplibs " $i"
  6932. i=""
  6933. ;;
  6934. esac
  6935. @@ -6565,21 +7232,21 @@
  6936. set dummy $deplib_matches; shift
  6937. deplib_match=$1
  6938. if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0 ; then
  6939. - newdeplibs="$newdeplibs $i"
  6940. + func_append newdeplibs " $i"
  6941. else
  6942. droppeddeps=yes
  6943. - $ECHO
  6944. + echo
  6945. $ECHO "*** Warning: dynamic linker does not accept needed library $i."
  6946. - $ECHO "*** I have the capability to make that library automatically link in when"
  6947. - $ECHO "*** you link to this library. But I can only do this if you have a"
  6948. - $ECHO "*** shared version of the library, which I believe you do not have"
  6949. - $ECHO "*** because a test_compile did reveal that the linker did not use it for"
  6950. - $ECHO "*** its dynamic dependency list that programs get resolved with at runtime."
  6951. + echo "*** I have the capability to make that library automatically link in when"
  6952. + echo "*** you link to this library. But I can only do this if you have a"
  6953. + echo "*** shared version of the library, which I believe you do not have"
  6954. + echo "*** because a test_compile did reveal that the linker did not use it for"
  6955. + echo "*** its dynamic dependency list that programs get resolved with at runtime."
  6956. fi
  6957. fi
  6958. ;;
  6959. *)
  6960. - newdeplibs="$newdeplibs $i"
  6961. + func_append newdeplibs " $i"
  6962. ;;
  6963. esac
  6964. done
  6965. @@ -6597,7 +7264,7 @@
  6966. if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
  6967. case " $predeps $postdeps " in
  6968. *" $i "*)
  6969. - newdeplibs="$newdeplibs $i"
  6970. + func_append newdeplibs " $i"
  6971. i=""
  6972. ;;
  6973. esac
  6974. @@ -6608,29 +7275,29 @@
  6975. set dummy $deplib_matches; shift
  6976. deplib_match=$1
  6977. if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0 ; then
  6978. - newdeplibs="$newdeplibs $i"
  6979. + func_append newdeplibs " $i"
  6980. else
  6981. droppeddeps=yes
  6982. - $ECHO
  6983. + echo
  6984. $ECHO "*** Warning: dynamic linker does not accept needed library $i."
  6985. - $ECHO "*** I have the capability to make that library automatically link in when"
  6986. - $ECHO "*** you link to this library. But I can only do this if you have a"
  6987. - $ECHO "*** shared version of the library, which you do not appear to have"
  6988. - $ECHO "*** because a test_compile did reveal that the linker did not use this one"
  6989. - $ECHO "*** as a dynamic dependency that programs can get resolved with at runtime."
  6990. + echo "*** I have the capability to make that library automatically link in when"
  6991. + echo "*** you link to this library. But I can only do this if you have a"
  6992. + echo "*** shared version of the library, which you do not appear to have"
  6993. + echo "*** because a test_compile did reveal that the linker did not use this one"
  6994. + echo "*** as a dynamic dependency that programs can get resolved with at runtime."
  6995. fi
  6996. fi
  6997. else
  6998. droppeddeps=yes
  6999. - $ECHO
  7000. + echo
  7001. $ECHO "*** Warning! Library $i is needed by this library but I was not able to"
  7002. - $ECHO "*** make it link in! You will probably need to install it or some"
  7003. - $ECHO "*** library that it depends on before this library will be fully"
  7004. - $ECHO "*** functional. Installing it before continuing would be even better."
  7005. + echo "*** make it link in! You will probably need to install it or some"
  7006. + echo "*** library that it depends on before this library will be fully"
  7007. + echo "*** functional. Installing it before continuing would be even better."
  7008. fi
  7009. ;;
  7010. *)
  7011. - newdeplibs="$newdeplibs $i"
  7012. + func_append newdeplibs " $i"
  7013. ;;
  7014. esac
  7015. done
  7016. @@ -6647,15 +7314,27 @@
  7017. if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
  7018. case " $predeps $postdeps " in
  7019. *" $a_deplib "*)
  7020. - newdeplibs="$newdeplibs $a_deplib"
  7021. + func_append newdeplibs " $a_deplib"
  7022. a_deplib=""
  7023. ;;
  7024. esac
  7025. fi
  7026. if test -n "$a_deplib" ; then
  7027. libname=`eval "\\$ECHO \"$libname_spec\""`
  7028. + if test -n "$file_magic_glob"; then
  7029. + libnameglob=`func_echo_all "$libname" | $SED -e $file_magic_glob`
  7030. + else
  7031. + libnameglob=$libname
  7032. + fi
  7033. + test "$want_nocaseglob" = yes && nocaseglob=`shopt -p nocaseglob`
  7034. for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do
  7035. - potential_libs=`ls $i/$libname[.-]* 2>/dev/null`
  7036. + if test "$want_nocaseglob" = yes; then
  7037. + shopt -s nocaseglob
  7038. + potential_libs=`ls $i/$libnameglob[.-]* 2>/dev/null`
  7039. + $nocaseglob
  7040. + else
  7041. + potential_libs=`ls $i/$libnameglob[.-]* 2>/dev/null`
  7042. + fi
  7043. for potent_lib in $potential_libs; do
  7044. # Follow soft links.
  7045. if ls -lLd "$potent_lib" 2>/dev/null |
  7046. @@ -6672,13 +7351,13 @@
  7047. potliblink=`ls -ld $potlib | ${SED} 's/.* -> //'`
  7048. case $potliblink in
  7049. [\\/]* | [A-Za-z]:[\\/]*) potlib="$potliblink";;
  7050. - *) potlib=`$ECHO "X$potlib" | $Xsed -e 's,[^/]*$,,'`"$potliblink";;
  7051. + *) potlib=`$ECHO "$potlib" | $SED 's,[^/]*$,,'`"$potliblink";;
  7052. esac
  7053. done
  7054. if eval $file_magic_cmd \"\$potlib\" 2>/dev/null |
  7055. $SED -e 10q |
  7056. $EGREP "$file_magic_regex" > /dev/null; then
  7057. - newdeplibs="$newdeplibs $a_deplib"
  7058. + func_append newdeplibs " $a_deplib"
  7059. a_deplib=""
  7060. break 2
  7061. fi
  7062. @@ -6687,12 +7366,12 @@
  7063. fi
  7064. if test -n "$a_deplib" ; then
  7065. droppeddeps=yes
  7066. - $ECHO
  7067. + echo
  7068. $ECHO "*** Warning: linker path does not have real file for library $a_deplib."
  7069. - $ECHO "*** I have the capability to make that library automatically link in when"
  7070. - $ECHO "*** you link to this library. But I can only do this if you have a"
  7071. - $ECHO "*** shared version of the library, which you do not appear to have"
  7072. - $ECHO "*** because I did check the linker path looking for a file starting"
  7073. + echo "*** I have the capability to make that library automatically link in when"
  7074. + echo "*** you link to this library. But I can only do this if you have a"
  7075. + echo "*** shared version of the library, which you do not appear to have"
  7076. + echo "*** because I did check the linker path looking for a file starting"
  7077. if test -z "$potlib" ; then
  7078. $ECHO "*** with $libname but no candidates were found. (...for file magic test)"
  7079. else
  7080. @@ -6703,7 +7382,7 @@
  7081. ;;
  7082. *)
  7083. # Add a -L argument.
  7084. - newdeplibs="$newdeplibs $a_deplib"
  7085. + func_append newdeplibs " $a_deplib"
  7086. ;;
  7087. esac
  7088. done # Gone through all deplibs.
  7089. @@ -6719,7 +7398,7 @@
  7090. if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
  7091. case " $predeps $postdeps " in
  7092. *" $a_deplib "*)
  7093. - newdeplibs="$newdeplibs $a_deplib"
  7094. + func_append newdeplibs " $a_deplib"
  7095. a_deplib=""
  7096. ;;
  7097. esac
  7098. @@ -6730,9 +7409,9 @@
  7099. potential_libs=`ls $i/$libname[.-]* 2>/dev/null`
  7100. for potent_lib in $potential_libs; do
  7101. potlib="$potent_lib" # see symlink-check above in file_magic test
  7102. - if eval "\$ECHO \"X$potent_lib\"" 2>/dev/null | $Xsed -e 10q | \
  7103. + if eval "\$ECHO \"$potent_lib\"" 2>/dev/null | $SED 10q | \
  7104. $EGREP "$match_pattern_regex" > /dev/null; then
  7105. - newdeplibs="$newdeplibs $a_deplib"
  7106. + func_append newdeplibs " $a_deplib"
  7107. a_deplib=""
  7108. break 2
  7109. fi
  7110. @@ -6741,12 +7420,12 @@
  7111. fi
  7112. if test -n "$a_deplib" ; then
  7113. droppeddeps=yes
  7114. - $ECHO
  7115. + echo
  7116. $ECHO "*** Warning: linker path does not have real file for library $a_deplib."
  7117. - $ECHO "*** I have the capability to make that library automatically link in when"
  7118. - $ECHO "*** you link to this library. But I can only do this if you have a"
  7119. - $ECHO "*** shared version of the library, which you do not appear to have"
  7120. - $ECHO "*** because I did check the linker path looking for a file starting"
  7121. + echo "*** I have the capability to make that library automatically link in when"
  7122. + echo "*** you link to this library. But I can only do this if you have a"
  7123. + echo "*** shared version of the library, which you do not appear to have"
  7124. + echo "*** because I did check the linker path looking for a file starting"
  7125. if test -z "$potlib" ; then
  7126. $ECHO "*** with $libname but no candidates were found. (...for regex pattern test)"
  7127. else
  7128. @@ -6757,32 +7436,32 @@
  7129. ;;
  7130. *)
  7131. # Add a -L argument.
  7132. - newdeplibs="$newdeplibs $a_deplib"
  7133. + func_append newdeplibs " $a_deplib"
  7134. ;;
  7135. esac
  7136. done # Gone through all deplibs.
  7137. ;;
  7138. none | unknown | *)
  7139. newdeplibs=""
  7140. - tmp_deplibs=`$ECHO "X $deplibs" | $Xsed \
  7141. - -e 's/ -lc$//' -e 's/ -[LR][^ ]*//g'`
  7142. + tmp_deplibs=`$ECHO " $deplibs" | $SED 's/ -lc$//; s/ -[LR][^ ]*//g'`
  7143. if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
  7144. for i in $predeps $postdeps ; do
  7145. # can't use Xsed below, because $i might contain '/'
  7146. - tmp_deplibs=`$ECHO "X $tmp_deplibs" | $Xsed -e "s,$i,,"`
  7147. + tmp_deplibs=`$ECHO " $tmp_deplibs" | $SED "s,$i,,"`
  7148. done
  7149. fi
  7150. - if $ECHO "X $tmp_deplibs" | $Xsed -e 's/[ ]//g' |
  7151. - $GREP . >/dev/null; then
  7152. - $ECHO
  7153. + case $tmp_deplibs in
  7154. + *[!\ \ ]*)
  7155. + echo
  7156. if test "X$deplibs_check_method" = "Xnone"; then
  7157. - $ECHO "*** Warning: inter-library dependencies are not supported in this platform."
  7158. + echo "*** Warning: inter-library dependencies are not supported in this platform."
  7159. else
  7160. - $ECHO "*** Warning: inter-library dependencies are not known to be supported."
  7161. + echo "*** Warning: inter-library dependencies are not known to be supported."
  7162. fi
  7163. - $ECHO "*** All declared inter-library dependencies are being dropped."
  7164. + echo "*** All declared inter-library dependencies are being dropped."
  7165. droppeddeps=yes
  7166. - fi
  7167. + ;;
  7168. + esac
  7169. ;;
  7170. esac
  7171. versuffix=$versuffix_save
  7172. @@ -6794,23 +7473,23 @@
  7173. case $host in
  7174. *-*-rhapsody* | *-*-darwin1.[012])
  7175. # On Rhapsody replace the C library with the System framework
  7176. - newdeplibs=`$ECHO "X $newdeplibs" | $Xsed -e 's/ -lc / System.ltframework /'`
  7177. + newdeplibs=`$ECHO " $newdeplibs" | $SED 's/ -lc / System.ltframework /'`
  7178. ;;
  7179. esac
  7180. if test "$droppeddeps" = yes; then
  7181. if test "$module" = yes; then
  7182. - $ECHO
  7183. - $ECHO "*** Warning: libtool could not satisfy all declared inter-library"
  7184. + echo
  7185. + echo "*** Warning: libtool could not satisfy all declared inter-library"
  7186. $ECHO "*** dependencies of module $libname. Therefore, libtool will create"
  7187. - $ECHO "*** a static module, that should work as long as the dlopening"
  7188. - $ECHO "*** application is linked with the -dlopen flag."
  7189. + echo "*** a static module, that should work as long as the dlopening"
  7190. + echo "*** application is linked with the -dlopen flag."
  7191. if test -z "$global_symbol_pipe"; then
  7192. - $ECHO
  7193. - $ECHO "*** However, this would only work if libtool was able to extract symbol"
  7194. - $ECHO "*** lists from a program, using \`nm' or equivalent, but libtool could"
  7195. - $ECHO "*** not find such a program. So, this module is probably useless."
  7196. - $ECHO "*** \`nm' from GNU binutils and a full rebuild may help."
  7197. + echo
  7198. + echo "*** However, this would only work if libtool was able to extract symbol"
  7199. + echo "*** lists from a program, using \`nm' or equivalent, but libtool could"
  7200. + echo "*** not find such a program. So, this module is probably useless."
  7201. + echo "*** \`nm' from GNU binutils and a full rebuild may help."
  7202. fi
  7203. if test "$build_old_libs" = no; then
  7204. oldlibs="$output_objdir/$libname.$libext"
  7205. @@ -6820,16 +7499,16 @@
  7206. build_libtool_libs=no
  7207. fi
  7208. else
  7209. - $ECHO "*** The inter-library dependencies that have been dropped here will be"
  7210. - $ECHO "*** automatically added whenever a program is linked with this library"
  7211. - $ECHO "*** or is declared to -dlopen it."
  7212. + echo "*** The inter-library dependencies that have been dropped here will be"
  7213. + echo "*** automatically added whenever a program is linked with this library"
  7214. + echo "*** or is declared to -dlopen it."
  7215. if test "$allow_undefined" = no; then
  7216. - $ECHO
  7217. - $ECHO "*** Since this library must not contain undefined symbols,"
  7218. - $ECHO "*** because either the platform does not support them or"
  7219. - $ECHO "*** it was explicitly requested with -no-undefined,"
  7220. - $ECHO "*** libtool will only create a static version of it."
  7221. + echo
  7222. + echo "*** Since this library must not contain undefined symbols,"
  7223. + echo "*** because either the platform does not support them or"
  7224. + echo "*** it was explicitly requested with -no-undefined,"
  7225. + echo "*** libtool will only create a static version of it."
  7226. if test "$build_old_libs" = no; then
  7227. oldlibs="$output_objdir/$libname.$libext"
  7228. build_libtool_libs=module
  7229. @@ -6846,9 +7525,9 @@
  7230. # Time to change all our "foo.ltframework" stuff back to "-framework foo"
  7231. case $host in
  7232. *-*-darwin*)
  7233. - newdeplibs=`$ECHO "X $newdeplibs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
  7234. - new_inherited_linker_flags=`$ECHO "X $new_inherited_linker_flags" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
  7235. - deplibs=`$ECHO "X $deplibs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
  7236. + newdeplibs=`$ECHO " $newdeplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
  7237. + new_inherited_linker_flags=`$ECHO " $new_inherited_linker_flags" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
  7238. + deplibs=`$ECHO " $deplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
  7239. ;;
  7240. esac
  7241. @@ -6861,7 +7540,7 @@
  7242. *)
  7243. case " $deplibs " in
  7244. *" -L$path/$objdir "*)
  7245. - new_libs="$new_libs -L$path/$objdir" ;;
  7246. + func_append new_libs " -L$path/$objdir" ;;
  7247. esac
  7248. ;;
  7249. esac
  7250. @@ -6871,10 +7550,10 @@
  7251. -L*)
  7252. case " $new_libs " in
  7253. *" $deplib "*) ;;
  7254. - *) new_libs="$new_libs $deplib" ;;
  7255. + *) func_append new_libs " $deplib" ;;
  7256. esac
  7257. ;;
  7258. - *) new_libs="$new_libs $deplib" ;;
  7259. + *) func_append new_libs " $deplib" ;;
  7260. esac
  7261. done
  7262. deplibs="$new_libs"
  7263. @@ -6891,7 +7570,7 @@
  7264. hardcode_libdirs=
  7265. dep_rpath=
  7266. rpath="$finalize_rpath"
  7267. - test "$mode" != relink && rpath="$compile_rpath$rpath"
  7268. + test "$opt_mode" != relink && rpath="$compile_rpath$rpath"
  7269. for libdir in $rpath; do
  7270. if test -n "$hardcode_libdir_flag_spec"; then
  7271. if test -n "$hardcode_libdir_separator"; then
  7272. @@ -6903,18 +7582,18 @@
  7273. *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
  7274. ;;
  7275. *)
  7276. - hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir"
  7277. + func_append hardcode_libdirs "$hardcode_libdir_separator$libdir"
  7278. ;;
  7279. esac
  7280. fi
  7281. else
  7282. eval flag=\"$hardcode_libdir_flag_spec\"
  7283. - dep_rpath="$dep_rpath $flag"
  7284. + func_append dep_rpath " $flag"
  7285. fi
  7286. elif test -n "$runpath_var"; then
  7287. case "$perm_rpath " in
  7288. *" $libdir "*) ;;
  7289. - *) perm_rpath="$perm_rpath $libdir" ;;
  7290. + *) func_apped perm_rpath " $libdir" ;;
  7291. esac
  7292. fi
  7293. done
  7294. @@ -6932,7 +7611,7 @@
  7295. # We should set the runpath_var.
  7296. rpath=
  7297. for dir in $perm_rpath; do
  7298. - rpath="$rpath$dir:"
  7299. + func_append rpath "$dir:"
  7300. done
  7301. eval "$runpath_var='$rpath\$$runpath_var'; export $runpath_var"
  7302. fi
  7303. @@ -6940,7 +7619,7 @@
  7304. fi
  7305. shlibpath="$finalize_shlibpath"
  7306. - test "$mode" != relink && shlibpath="$compile_shlibpath$shlibpath"
  7307. + test "$opt_mode" != relink && shlibpath="$compile_shlibpath$shlibpath"
  7308. if test -n "$shlibpath"; then
  7309. eval "$shlibpath_var='$shlibpath\$$shlibpath_var'; export $shlibpath_var"
  7310. fi
  7311. @@ -6966,18 +7645,18 @@
  7312. linknames=
  7313. for link
  7314. do
  7315. - linknames="$linknames $link"
  7316. + func_append linknames " $link"
  7317. done
  7318. # Use standard objects if they are pic
  7319. - test -z "$pic_flag" && libobjs=`$ECHO "X$libobjs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
  7320. + test -z "$pic_flag" && libobjs=`$ECHO "$libobjs" | $SP2NL | $SED "$lo2o" | $NL2SP`
  7321. test "X$libobjs" = "X " && libobjs=
  7322. delfiles=
  7323. if test -n "$export_symbols" && test -n "$include_expsyms"; then
  7324. $opt_dry_run || cp "$export_symbols" "$output_objdir/$libname.uexp"
  7325. export_symbols="$output_objdir/$libname.uexp"
  7326. - delfiles="$delfiles $export_symbols"
  7327. + func_append delfiles " $export_symbols"
  7328. fi
  7329. orig_export_symbols=
  7330. @@ -7008,14 +7687,31 @@
  7331. $opt_dry_run || $RM $export_symbols
  7332. cmds=$export_symbols_cmds
  7333. save_ifs="$IFS"; IFS='~'
  7334. - for cmd in $cmds; do
  7335. + for cmd1 in $cmds; do
  7336. IFS="$save_ifs"
  7337. - eval cmd=\"$cmd\"
  7338. + eval cmd=\"$cmd1\"
  7339. func_len " $cmd"
  7340. len=$func_len_result
  7341. if test "$len" -lt "$max_cmd_len" || test "$max_cmd_len" -le -1; then
  7342. func_show_eval "$cmd" 'exit $?'
  7343. skipped_export=false
  7344. + elif test -n "$nm_file_list_spec"; then
  7345. + func_basename "$output"
  7346. + output_la=$func_basename_result
  7347. + save_libobjs=$libobjs
  7348. + save_output=$output
  7349. + output=${output_objdir}/${output_la}.nm
  7350. + libobjs=$nm_file_list_spec$output
  7351. + func_append delfiles " $output"
  7352. + func_verbose "creating $NM input file list: $output"
  7353. + for obj in $save_libobjs; do
  7354. + $ECHO "$obj"
  7355. + done > "$output"
  7356. + eval cmd=\"$cmd1\"
  7357. + func_show_eval "$cmd" 'exit $?'
  7358. + output=$save_output
  7359. + libobjs=$save_libobjs
  7360. + skipped_export=false
  7361. else
  7362. # The command line is too long to execute in one step.
  7363. func_verbose "using reloadable object file for export list..."
  7364. @@ -7036,7 +7732,7 @@
  7365. if test -n "$export_symbols" && test -n "$include_expsyms"; then
  7366. tmp_export_symbols="$export_symbols"
  7367. test -n "$orig_export_symbols" && tmp_export_symbols="$orig_export_symbols"
  7368. - $opt_dry_run || eval '$ECHO "X$include_expsyms" | $Xsed | $SP2NL >> "$tmp_export_symbols"'
  7369. + $opt_dry_run || eval '$ECHO "$include_expsyms" | $SP2NL >> "$tmp_export_symbols"'
  7370. fi
  7371. if test "X$skipped_export" != "X:" && test -n "$orig_export_symbols"; then
  7372. @@ -7048,7 +7744,7 @@
  7373. # global variables. join(1) would be nice here, but unfortunately
  7374. # isn't a blessed tool.
  7375. $opt_dry_run || $SED -e '/[ ,]DATA/!d;s,\(.*\)\([ \,].*\),s|^\1$|\1\2|,' < $export_symbols > $output_objdir/$libname.filter
  7376. - delfiles="$delfiles $export_symbols $output_objdir/$libname.filter"
  7377. + func_append delfiles " $export_symbols $output_objdir/$libname.filter"
  7378. export_symbols=$output_objdir/$libname.def
  7379. $opt_dry_run || $SED -f $output_objdir/$libname.filter < $orig_export_symbols > $export_symbols
  7380. fi
  7381. @@ -7058,7 +7754,7 @@
  7382. case " $convenience " in
  7383. *" $test_deplib "*) ;;
  7384. *)
  7385. - tmp_deplibs="$tmp_deplibs $test_deplib"
  7386. + func_append tmp_deplibs " $test_deplib"
  7387. ;;
  7388. esac
  7389. done
  7390. @@ -7078,21 +7774,21 @@
  7391. test "X$libobjs" = "X " && libobjs=
  7392. else
  7393. gentop="$output_objdir/${outputname}x"
  7394. - generated="$generated $gentop"
  7395. + func_append generated " $gentop"
  7396. func_extract_archives $gentop $convenience
  7397. - libobjs="$libobjs $func_extract_archives_result"
  7398. + func_append libobjs " $func_extract_archives_result"
  7399. test "X$libobjs" = "X " && libobjs=
  7400. fi
  7401. fi
  7402. if test "$thread_safe" = yes && test -n "$thread_safe_flag_spec"; then
  7403. eval flag=\"$thread_safe_flag_spec\"
  7404. - linker_flags="$linker_flags $flag"
  7405. + func_append linker_flags " $flag"
  7406. fi
  7407. # Make a backup of the uninstalled library when relinking
  7408. - if test "$mode" = relink; then
  7409. + if test "$opt_mode" = relink; then
  7410. $opt_dry_run || eval '(cd $output_objdir && $RM ${realname}U && $MV $realname ${realname}U)' || exit $?
  7411. fi
  7412. @@ -7137,7 +7833,8 @@
  7413. save_libobjs=$libobjs
  7414. fi
  7415. save_output=$output
  7416. - output_la=`$ECHO "X$output" | $Xsed -e "$basename"`
  7417. + func_basename "$output"
  7418. + output_la=$func_basename_result
  7419. # Clear the reloadable object creation command queue and
  7420. # initialize k to one.
  7421. @@ -7150,13 +7847,13 @@
  7422. if test -n "$save_libobjs" && test "X$skipped_export" != "X:" && test "$with_gnu_ld" = yes; then
  7423. output=${output_objdir}/${output_la}.lnkscript
  7424. func_verbose "creating GNU ld script: $output"
  7425. - $ECHO 'INPUT (' > $output
  7426. + echo 'INPUT (' > $output
  7427. for obj in $save_libobjs
  7428. do
  7429. $ECHO "$obj" >> $output
  7430. done
  7431. - $ECHO ')' >> $output
  7432. - delfiles="$delfiles $output"
  7433. + echo ')' >> $output
  7434. + func_append delfiles " $output"
  7435. elif test -n "$save_libobjs" && test "X$skipped_export" != "X:" && test "X$file_list_spec" != X; then
  7436. output=${output_objdir}/${output_la}.lnk
  7437. func_verbose "creating linker input file list: $output"
  7438. @@ -7172,7 +7869,7 @@
  7439. do
  7440. $ECHO "$obj" >> $output
  7441. done
  7442. - delfiles="$delfiles $output"
  7443. + func_append delfiles " $output"
  7444. output=$firstobj\"$file_list_spec$output\"
  7445. else
  7446. if test -n "$save_libobjs"; then
  7447. @@ -7197,17 +7894,19 @@
  7448. # command to the queue.
  7449. if test "$k" -eq 1 ; then
  7450. # The first file doesn't have a previous command to add.
  7451. - eval concat_cmds=\"$reload_cmds $objlist $last_robj\"
  7452. + reload_objs=$objlist
  7453. + eval concat_cmds=\"$reload_cmds\"
  7454. else
  7455. # All subsequent reloadable object files will link in
  7456. # the last one created.
  7457. - eval concat_cmds=\"\$concat_cmds~$reload_cmds $objlist $last_robj~\$RM $last_robj\"
  7458. + reload_objs="$objlist $last_robj"
  7459. + eval concat_cmds=\"\$concat_cmds~$reload_cmds~\$RM $last_robj\"
  7460. fi
  7461. last_robj=$output_objdir/$output_la-${k}.$objext
  7462. func_arith $k + 1
  7463. k=$func_arith_result
  7464. output=$output_objdir/$output_la-${k}.$objext
  7465. - objlist=$obj
  7466. + objlist=" $obj"
  7467. func_len " $last_robj"
  7468. func_arith $len0 + $func_len_result
  7469. len=$func_arith_result
  7470. @@ -7217,11 +7916,12 @@
  7471. # reloadable object file. All subsequent reloadable object
  7472. # files will link in the last one created.
  7473. test -z "$concat_cmds" || concat_cmds=$concat_cmds~
  7474. - eval concat_cmds=\"\${concat_cmds}$reload_cmds $objlist $last_robj\"
  7475. + reload_objs="$objlist $last_robj"
  7476. + eval concat_cmds=\"\${concat_cmds}$reload_cmds\"
  7477. if test -n "$last_robj"; then
  7478. eval concat_cmds=\"\${concat_cmds}~\$RM $last_robj\"
  7479. fi
  7480. - delfiles="$delfiles $output"
  7481. + func_append delfiles " $output"
  7482. else
  7483. output=
  7484. @@ -7255,7 +7955,7 @@
  7485. lt_exit=$?
  7486. # Restore the uninstalled library and exit
  7487. - if test "$mode" = relink; then
  7488. + if test "$opt_mode" = relink; then
  7489. ( cd "$output_objdir" && \
  7490. $RM "${realname}T" && \
  7491. $MV "${realname}U" "$realname" )
  7492. @@ -7276,7 +7976,7 @@
  7493. if test -n "$export_symbols" && test -n "$include_expsyms"; then
  7494. tmp_export_symbols="$export_symbols"
  7495. test -n "$orig_export_symbols" && tmp_export_symbols="$orig_export_symbols"
  7496. - $opt_dry_run || eval '$ECHO "X$include_expsyms" | $Xsed | $SP2NL >> "$tmp_export_symbols"'
  7497. + $opt_dry_run || eval '$ECHO "$include_expsyms" | $SP2NL >> "$tmp_export_symbols"'
  7498. fi
  7499. if test -n "$orig_export_symbols"; then
  7500. @@ -7288,7 +7988,7 @@
  7501. # global variables. join(1) would be nice here, but unfortunately
  7502. # isn't a blessed tool.
  7503. $opt_dry_run || $SED -e '/[ ,]DATA/!d;s,\(.*\)\([ \,].*\),s|^\1$|\1\2|,' < $export_symbols > $output_objdir/$libname.filter
  7504. - delfiles="$delfiles $export_symbols $output_objdir/$libname.filter"
  7505. + func_append delfiles " $export_symbols $output_objdir/$libname.filter"
  7506. export_symbols=$output_objdir/$libname.def
  7507. $opt_dry_run || $SED -f $output_objdir/$libname.filter < $orig_export_symbols > $export_symbols
  7508. fi
  7509. @@ -7329,10 +8029,10 @@
  7510. # Add any objects from preloaded convenience libraries
  7511. if test -n "$dlprefiles"; then
  7512. gentop="$output_objdir/${outputname}x"
  7513. - generated="$generated $gentop"
  7514. + func_append generated " $gentop"
  7515. func_extract_archives $gentop $dlprefiles
  7516. - libobjs="$libobjs $func_extract_archives_result"
  7517. + func_append libobjs " $func_extract_archives_result"
  7518. test "X$libobjs" = "X " && libobjs=
  7519. fi
  7520. @@ -7348,7 +8048,7 @@
  7521. lt_exit=$?
  7522. # Restore the uninstalled library and exit
  7523. - if test "$mode" = relink; then
  7524. + if test "$opt_mode" = relink; then
  7525. ( cd "$output_objdir" && \
  7526. $RM "${realname}T" && \
  7527. $MV "${realname}U" "$realname" )
  7528. @@ -7360,7 +8060,7 @@
  7529. IFS="$save_ifs"
  7530. # Restore the uninstalled library and exit
  7531. - if test "$mode" = relink; then
  7532. + if test "$opt_mode" = relink; then
  7533. $opt_dry_run || eval '(cd $output_objdir && $RM ${realname}T && $MV $realname ${realname}T && $MV ${realname}U $realname)' || exit $?
  7534. if test -n "$convenience"; then
  7535. @@ -7441,18 +8141,21 @@
  7536. if test -n "$convenience"; then
  7537. if test -n "$whole_archive_flag_spec"; then
  7538. eval tmp_whole_archive_flags=\"$whole_archive_flag_spec\"
  7539. - reload_conv_objs=$reload_objs\ `$ECHO "X$tmp_whole_archive_flags" | $Xsed -e 's|,| |g'`
  7540. + reload_conv_objs=$reload_objs\ `$ECHO "$tmp_whole_archive_flags" | $SED 's|,| |g'`
  7541. else
  7542. gentop="$output_objdir/${obj}x"
  7543. - generated="$generated $gentop"
  7544. + func_append generated " $gentop"
  7545. func_extract_archives $gentop $convenience
  7546. reload_conv_objs="$reload_objs $func_extract_archives_result"
  7547. fi
  7548. fi
  7549. + # If we're not building shared, we need to use non_pic_objs
  7550. + test "$build_libtool_libs" != yes && libobjs="$non_pic_objects"
  7551. +
  7552. # Create the old-style object.
  7553. - 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
  7554. + reload_objs="$objs$old_deplibs "`$ECHO "$libobjs" | $SP2NL | $SED "/\.${libext}$/d; /\.lib$/d; $lo2o" | $NL2SP`" $reload_conv_objs" ### testsuite: skip nested quoting test
  7555. output="$obj"
  7556. func_execute_cmds "$reload_cmds" 'exit $?'
  7557. @@ -7512,8 +8215,8 @@
  7558. case $host in
  7559. *-*-rhapsody* | *-*-darwin1.[012])
  7560. # On Rhapsody replace the C library is the System framework
  7561. - compile_deplibs=`$ECHO "X $compile_deplibs" | $Xsed -e 's/ -lc / System.ltframework /'`
  7562. - finalize_deplibs=`$ECHO "X $finalize_deplibs" | $Xsed -e 's/ -lc / System.ltframework /'`
  7563. + compile_deplibs=`$ECHO " $compile_deplibs" | $SED 's/ -lc / System.ltframework /'`
  7564. + finalize_deplibs=`$ECHO " $finalize_deplibs" | $SED 's/ -lc / System.ltframework /'`
  7565. ;;
  7566. esac
  7567. @@ -7524,14 +8227,14 @@
  7568. if test "$tagname" = CXX ; then
  7569. case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
  7570. 10.[0123])
  7571. - compile_command="$compile_command ${wl}-bind_at_load"
  7572. - finalize_command="$finalize_command ${wl}-bind_at_load"
  7573. + func_append compile_command " ${wl}-bind_at_load"
  7574. + func_append finalize_command " ${wl}-bind_at_load"
  7575. ;;
  7576. esac
  7577. fi
  7578. # Time to change all our "foo.ltframework" stuff back to "-framework foo"
  7579. - compile_deplibs=`$ECHO "X $compile_deplibs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
  7580. - finalize_deplibs=`$ECHO "X $finalize_deplibs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
  7581. + compile_deplibs=`$ECHO " $compile_deplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
  7582. + finalize_deplibs=`$ECHO " $finalize_deplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
  7583. ;;
  7584. esac
  7585. @@ -7545,7 +8248,7 @@
  7586. *)
  7587. case " $compile_deplibs " in
  7588. *" -L$path/$objdir "*)
  7589. - new_libs="$new_libs -L$path/$objdir" ;;
  7590. + func_append new_libs " -L$path/$objdir" ;;
  7591. esac
  7592. ;;
  7593. esac
  7594. @@ -7555,17 +8258,17 @@
  7595. -L*)
  7596. case " $new_libs " in
  7597. *" $deplib "*) ;;
  7598. - *) new_libs="$new_libs $deplib" ;;
  7599. + *) func_append new_libs " $deplib" ;;
  7600. esac
  7601. ;;
  7602. - *) new_libs="$new_libs $deplib" ;;
  7603. + *) func_append new_libs " $deplib" ;;
  7604. esac
  7605. done
  7606. compile_deplibs="$new_libs"
  7607. - compile_command="$compile_command $compile_deplibs"
  7608. - finalize_command="$finalize_command $finalize_deplibs"
  7609. + func_append compile_command " $compile_deplibs"
  7610. + func_append finalize_command " $finalize_deplibs"
  7611. if test -n "$rpath$xrpath"; then
  7612. # If the user specified any rpath flags, then add them.
  7613. @@ -7573,7 +8276,7 @@
  7614. # This is the magic to use -rpath.
  7615. case "$finalize_rpath " in
  7616. *" $libdir "*) ;;
  7617. - *) finalize_rpath="$finalize_rpath $libdir" ;;
  7618. + *) func_append finalize_rpath " $libdir" ;;
  7619. esac
  7620. done
  7621. fi
  7622. @@ -7592,18 +8295,18 @@
  7623. *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
  7624. ;;
  7625. *)
  7626. - hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir"
  7627. + func_append hardcode_libdirs "$hardcode_libdir_separator$libdir"
  7628. ;;
  7629. esac
  7630. fi
  7631. else
  7632. eval flag=\"$hardcode_libdir_flag_spec\"
  7633. - rpath="$rpath $flag"
  7634. + func_append rpath " $flag"
  7635. fi
  7636. elif test -n "$runpath_var"; then
  7637. case "$perm_rpath " in
  7638. *" $libdir "*) ;;
  7639. - *) perm_rpath="$perm_rpath $libdir" ;;
  7640. + *) func_append perm_rpath " $libdir" ;;
  7641. esac
  7642. fi
  7643. case $host in
  7644. @@ -7612,12 +8315,12 @@
  7645. case :$dllsearchpath: in
  7646. *":$libdir:"*) ;;
  7647. ::) dllsearchpath=$libdir;;
  7648. - *) dllsearchpath="$dllsearchpath:$libdir";;
  7649. + *) func_append dllsearchpath ":$libdir";;
  7650. esac
  7651. case :$dllsearchpath: in
  7652. *":$testbindir:"*) ;;
  7653. ::) dllsearchpath=$testbindir;;
  7654. - *) dllsearchpath="$dllsearchpath:$testbindir";;
  7655. + *) func_append dllsearchpath ":$testbindir";;
  7656. esac
  7657. ;;
  7658. esac
  7659. @@ -7643,18 +8346,18 @@
  7660. *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
  7661. ;;
  7662. *)
  7663. - hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir"
  7664. + func_append hardcode_libdirs "_libdirs$hardcode_libdir_separator$libdir"
  7665. ;;
  7666. esac
  7667. fi
  7668. else
  7669. eval flag=\"$hardcode_libdir_flag_spec\"
  7670. - rpath="$rpath $flag"
  7671. + func_append rpath " $flag"
  7672. fi
  7673. elif test -n "$runpath_var"; then
  7674. case "$finalize_perm_rpath " in
  7675. *" $libdir "*) ;;
  7676. - *) finalize_perm_rpath="$finalize_perm_rpath $libdir" ;;
  7677. + *) func_append finalize_perm_rpath " $libdir" ;;
  7678. esac
  7679. fi
  7680. done
  7681. @@ -7668,8 +8371,8 @@
  7682. if test -n "$libobjs" && test "$build_old_libs" = yes; then
  7683. # Transform all the library objects into standard objects.
  7684. - compile_command=`$ECHO "X$compile_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
  7685. - finalize_command=`$ECHO "X$finalize_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
  7686. + compile_command=`$ECHO "$compile_command" | $SP2NL | $SED "$lo2o" | $NL2SP`
  7687. + finalize_command=`$ECHO "$finalize_command" | $SP2NL | $SED "$lo2o" | $NL2SP`
  7688. fi
  7689. func_generate_dlsyms "$outputname" "@PROGRAM@" "no"
  7690. @@ -7681,15 +8384,15 @@
  7691. wrappers_required=yes
  7692. case $host in
  7693. + *cegcc* | *mingw32ce*)
  7694. + # Disable wrappers for cegcc and mingw32ce hosts, we are cross compiling anyway.
  7695. + wrappers_required=no
  7696. + ;;
  7697. *cygwin* | *mingw* )
  7698. if test "$build_libtool_libs" != yes; then
  7699. wrappers_required=no
  7700. fi
  7701. ;;
  7702. - *cegcc)
  7703. - # Disable wrappers for cegcc, we are cross compiling anyway.
  7704. - wrappers_required=no
  7705. - ;;
  7706. *)
  7707. if test "$need_relink" = no || test "$build_libtool_libs" != yes; then
  7708. wrappers_required=no
  7709. @@ -7698,13 +8401,18 @@
  7710. esac
  7711. if test "$wrappers_required" = no; then
  7712. # Replace the output file specification.
  7713. - compile_command=`$ECHO "X$compile_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'`
  7714. + compile_command=`$ECHO "$compile_command" | $SED 's%@OUTPUT@%'"$output"'%g'`
  7715. link_command="$compile_command$compile_rpath"
  7716. # We have no uninstalled library dependencies, so finalize right now.
  7717. exit_status=0
  7718. func_show_eval "$link_command" 'exit_status=$?'
  7719. + if test -n "$postlink_cmds"; then
  7720. + postlink_cmds=`func_echo_all "$postlink_cmds" | $SED -e 's%@OUTPUT@%'"$output"'%g'`
  7721. + func_execute_cmds "$postlink_cmds" 'exit $?'
  7722. + fi
  7723. +
  7724. # Delete the generated files.
  7725. if test -f "$output_objdir/${outputname}S.${objext}"; then
  7726. func_show_eval '$RM "$output_objdir/${outputname}S.${objext}"'
  7727. @@ -7727,7 +8435,7 @@
  7728. # We should set the runpath_var.
  7729. rpath=
  7730. for dir in $perm_rpath; do
  7731. - rpath="$rpath$dir:"
  7732. + func_append rpath "$dir:"
  7733. done
  7734. compile_var="$runpath_var=\"$rpath\$$runpath_var\" "
  7735. fi
  7736. @@ -7735,7 +8443,7 @@
  7737. # We should set the runpath_var.
  7738. rpath=
  7739. for dir in $finalize_perm_rpath; do
  7740. - rpath="$rpath$dir:"
  7741. + func_append rpath "$dir:"
  7742. done
  7743. finalize_var="$runpath_var=\"$rpath\$$runpath_var\" "
  7744. fi
  7745. @@ -7745,11 +8453,17 @@
  7746. # We don't need to create a wrapper script.
  7747. link_command="$compile_var$compile_command$compile_rpath"
  7748. # Replace the output file specification.
  7749. - link_command=`$ECHO "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'`
  7750. + link_command=`$ECHO "$link_command" | $SED 's%@OUTPUT@%'"$output"'%g'`
  7751. # Delete the old output file.
  7752. $opt_dry_run || $RM $output
  7753. # Link the executable and exit
  7754. func_show_eval "$link_command" 'exit $?'
  7755. +
  7756. + if test -n "$postlink_cmds"; then
  7757. + postlink_cmds=`func_echo_all "$postlink_cmds" | $SED -e 's%@OUTPUT@%'"$output"'%g'`
  7758. + func_execute_cmds "$postlink_cmds" 'exit $?'
  7759. + fi
  7760. +
  7761. exit $EXIT_SUCCESS
  7762. fi
  7763. @@ -7764,7 +8478,7 @@
  7764. if test "$fast_install" != no; then
  7765. link_command="$finalize_var$compile_command$finalize_rpath"
  7766. if test "$fast_install" = yes; then
  7767. - relink_command=`$ECHO "X$compile_var$compile_command$compile_rpath" | $Xsed -e 's%@OUTPUT@%\$progdir/\$file%g'`
  7768. + relink_command=`$ECHO "$compile_var$compile_command$compile_rpath" | $SED 's%@OUTPUT@%\$progdir/\$file%g'`
  7769. else
  7770. # fast_install is set to needless
  7771. relink_command=
  7772. @@ -7776,13 +8490,18 @@
  7773. fi
  7774. # Replace the output file specification.
  7775. - link_command=`$ECHO "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output_objdir/$outputname"'%g'`
  7776. + link_command=`$ECHO "$link_command" | $SED 's%@OUTPUT@%'"$output_objdir/$outputname"'%g'`
  7777. # Delete the old output files.
  7778. $opt_dry_run || $RM $output $output_objdir/$outputname $output_objdir/lt-$outputname
  7779. func_show_eval "$link_command" 'exit $?'
  7780. + if test -n "$postlink_cmds"; then
  7781. + postlink_cmds=`func_echo_all "$postlink_cmds" | $SED -e 's%@OUTPUT@%'"$output_objdir/$outputname"'%g'`
  7782. + func_execute_cmds "$postlink_cmds" 'exit $?'
  7783. + fi
  7784. +
  7785. # Now create the wrapper script.
  7786. func_verbose "creating $output"
  7787. @@ -7800,18 +8519,7 @@
  7788. fi
  7789. done
  7790. relink_command="(cd `pwd`; $relink_command)"
  7791. - relink_command=`$ECHO "X$relink_command" | $Xsed -e "$sed_quote_subst"`
  7792. - fi
  7793. -
  7794. - # Quote $ECHO for shipping.
  7795. - if test "X$ECHO" = "X$SHELL $progpath --fallback-echo"; then
  7796. - case $progpath in
  7797. - [\\/]* | [A-Za-z]:[\\/]*) qecho="$SHELL $progpath --fallback-echo";;
  7798. - *) qecho="$SHELL `pwd`/$progpath --fallback-echo";;
  7799. - esac
  7800. - qecho=`$ECHO "X$qecho" | $Xsed -e "$sed_quote_subst"`
  7801. - else
  7802. - qecho=`$ECHO "X$ECHO" | $Xsed -e "$sed_quote_subst"`
  7803. + relink_command=`$ECHO "$relink_command" | $SED "$sed_quote_subst"`
  7804. fi
  7805. # Only actually do things if not in dry run mode.
  7806. @@ -7891,7 +8599,7 @@
  7807. else
  7808. oldobjs="$old_deplibs $non_pic_objects"
  7809. if test "$preload" = yes && test -f "$symfileobj"; then
  7810. - oldobjs="$oldobjs $symfileobj"
  7811. + func_append oldobjs " $symfileobj"
  7812. fi
  7813. fi
  7814. addlibs="$old_convenience"
  7815. @@ -7899,10 +8607,10 @@
  7816. if test -n "$addlibs"; then
  7817. gentop="$output_objdir/${outputname}x"
  7818. - generated="$generated $gentop"
  7819. + func_append generated " $gentop"
  7820. func_extract_archives $gentop $addlibs
  7821. - oldobjs="$oldobjs $func_extract_archives_result"
  7822. + func_append oldobjs " $func_extract_archives_result"
  7823. fi
  7824. # Do each command in the archive commands.
  7825. @@ -7913,10 +8621,10 @@
  7826. # Add any objects from preloaded convenience libraries
  7827. if test -n "$dlprefiles"; then
  7828. gentop="$output_objdir/${outputname}x"
  7829. - generated="$generated $gentop"
  7830. + func_append generated " $gentop"
  7831. func_extract_archives $gentop $dlprefiles
  7832. - oldobjs="$oldobjs $func_extract_archives_result"
  7833. + func_append oldobjs " $func_extract_archives_result"
  7834. fi
  7835. # POSIX demands no paths to be encoded in archives. We have
  7836. @@ -7932,9 +8640,9 @@
  7837. done | sort | sort -uc >/dev/null 2>&1); then
  7838. :
  7839. else
  7840. - $ECHO "copying selected object files to avoid basename conflicts..."
  7841. + echo "copying selected object files to avoid basename conflicts..."
  7842. gentop="$output_objdir/${outputname}x"
  7843. - generated="$generated $gentop"
  7844. + func_append generated " $gentop"
  7845. func_mkdir_p "$gentop"
  7846. save_oldobjs=$oldobjs
  7847. oldobjs=
  7848. @@ -7958,9 +8666,9 @@
  7849. esac
  7850. done
  7851. func_show_eval "ln $obj $gentop/$newobj || cp $obj $gentop/$newobj"
  7852. - oldobjs="$oldobjs $gentop/$newobj"
  7853. + func_append oldobjs " $gentop/$newobj"
  7854. ;;
  7855. - *) oldobjs="$oldobjs $obj" ;;
  7856. + *) func_append oldobjs " $obj" ;;
  7857. esac
  7858. done
  7859. fi
  7860. @@ -8043,7 +8751,7 @@
  7861. done
  7862. # Quote the link command for shipping.
  7863. relink_command="(cd `pwd`; $SHELL $progpath $preserve_args --mode=relink $libtool_args @inst_prefix_dir@)"
  7864. - relink_command=`$ECHO "X$relink_command" | $Xsed -e "$sed_quote_subst"`
  7865. + relink_command=`$ECHO "$relink_command" | $SED "$sed_quote_subst"`
  7866. if test "$hardcode_automatic" = yes ; then
  7867. relink_command=
  7868. fi
  7869. @@ -8066,9 +8774,9 @@
  7870. eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
  7871. test -z "$libdir" && \
  7872. func_fatal_error "\`$deplib' is not a valid libtool archive"
  7873. - newdependency_libs="$newdependency_libs $libdir/$name"
  7874. + func_append newdependency_libs " $libdir/$name"
  7875. ;;
  7876. - *) newdependency_libs="$newdependency_libs $deplib" ;;
  7877. + *) func_append newdependency_libs " $deplib" ;;
  7878. esac
  7879. done
  7880. dependency_libs="$newdependency_libs"
  7881. @@ -8082,9 +8790,9 @@
  7882. eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib`
  7883. test -z "$libdir" && \
  7884. func_fatal_error "\`$lib' is not a valid libtool archive"
  7885. - newdlfiles="$newdlfiles $libdir/$name"
  7886. + func_append newdlfiles " $libdir/$name"
  7887. ;;
  7888. - *) newdlfiles="$newdlfiles $lib" ;;
  7889. + *) func_append newdlfiles " $lib" ;;
  7890. esac
  7891. done
  7892. dlfiles="$newdlfiles"
  7893. @@ -8101,7 +8809,7 @@
  7894. eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib`
  7895. test -z "$libdir" && \
  7896. func_fatal_error "\`$lib' is not a valid libtool archive"
  7897. - newdlprefiles="$newdlprefiles $libdir/$name"
  7898. + func_append newdlprefiles " $libdir/$name"
  7899. ;;
  7900. esac
  7901. done
  7902. @@ -8113,7 +8821,7 @@
  7903. [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;;
  7904. *) abs=`pwd`"/$lib" ;;
  7905. esac
  7906. - newdlfiles="$newdlfiles $abs"
  7907. + func_append newdlfiles " $abs"
  7908. done
  7909. dlfiles="$newdlfiles"
  7910. newdlprefiles=
  7911. @@ -8122,15 +8830,33 @@
  7912. [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;;
  7913. *) abs=`pwd`"/$lib" ;;
  7914. esac
  7915. - newdlprefiles="$newdlprefiles $abs"
  7916. + func_append newdlprefiles " $abs"
  7917. done
  7918. dlprefiles="$newdlprefiles"
  7919. fi
  7920. $RM $output
  7921. # place dlname in correct position for cygwin
  7922. + # In fact, it would be nice if we could use this code for all target
  7923. + # systems that can't hard-code library paths into their executables
  7924. + # and that have no shared library path variable independent of PATH,
  7925. + # but it turns out we can't easily determine that from inspecting
  7926. + # libtool variables, so we have to hard-code the OSs to which it
  7927. + # applies here; at the moment, that means platforms that use the PE
  7928. + # object format with DLL files. See the long comment at the top of
  7929. + # tests/bindir.at for full details.
  7930. tdlname=$dlname
  7931. case $host,$output,$installed,$module,$dlname in
  7932. - *cygwin*,*lai,yes,no,*.dll | *mingw*,*lai,yes,no,*.dll | *cegcc*,*lai,yes,no,*.dll) tdlname=../bin/$dlname ;;
  7933. + *cygwin*,*lai,yes,no,*.dll | *mingw*,*lai,yes,no,*.dll | *cegcc*,*lai,yes,no,*.dll)
  7934. + # If a -bindir argument was supplied, place the dll there.
  7935. + if test "x$bindir" != x ;
  7936. + then
  7937. + func_relative_path "$install_libdir" "$bindir"
  7938. + tdlname=$func_relative_path_result$dlname
  7939. + else
  7940. + # Otherwise fall back on heuristic.
  7941. + tdlname=../bin/$dlname
  7942. + fi
  7943. + ;;
  7944. esac
  7945. $ECHO > $output "\
  7946. # $outputname - a libtool library file
  7947. @@ -8189,7 +8915,7 @@
  7948. exit $EXIT_SUCCESS
  7949. }
  7950. -{ test "$mode" = link || test "$mode" = relink; } &&
  7951. +{ test "$opt_mode" = link || test "$opt_mode" = relink; } &&
  7952. func_mode_link ${1+"$@"}
  7953. @@ -8209,9 +8935,9 @@
  7954. for arg
  7955. do
  7956. case $arg in
  7957. - -f) RM="$RM $arg"; rmforce=yes ;;
  7958. - -*) RM="$RM $arg" ;;
  7959. - *) files="$files $arg" ;;
  7960. + -f) func_append RM " $arg"; rmforce=yes ;;
  7961. + -*) func_append RM " $arg" ;;
  7962. + *) func_append files " $arg" ;;
  7963. esac
  7964. done
  7965. @@ -8220,24 +8946,23 @@
  7966. rmdirs=
  7967. - origobjdir="$objdir"
  7968. for file in $files; do
  7969. func_dirname "$file" "" "."
  7970. dir="$func_dirname_result"
  7971. if test "X$dir" = X.; then
  7972. - objdir="$origobjdir"
  7973. + odir="$objdir"
  7974. else
  7975. - objdir="$dir/$origobjdir"
  7976. + odir="$dir/$objdir"
  7977. fi
  7978. func_basename "$file"
  7979. name="$func_basename_result"
  7980. - test "$mode" = uninstall && objdir="$dir"
  7981. + test "$opt_mode" = uninstall && odir="$dir"
  7982. - # Remember objdir for removal later, being careful to avoid duplicates
  7983. - if test "$mode" = clean; then
  7984. + # Remember odir for removal later, being careful to avoid duplicates
  7985. + if test "$opt_mode" = clean; then
  7986. case " $rmdirs " in
  7987. - *" $objdir "*) ;;
  7988. - *) rmdirs="$rmdirs $objdir" ;;
  7989. + *" $odir "*) ;;
  7990. + *) func_append rmdirs " $odir" ;;
  7991. esac
  7992. fi
  7993. @@ -8263,18 +8988,17 @@
  7994. # Delete the libtool libraries and symlinks.
  7995. for n in $library_names; do
  7996. - rmfiles="$rmfiles $objdir/$n"
  7997. + func_append rmfiles " $odir/$n"
  7998. done
  7999. - test -n "$old_library" && rmfiles="$rmfiles $objdir/$old_library"
  8000. + test -n "$old_library" && func_append rmfiles " $odir/$old_library"
  8001. - case "$mode" in
  8002. + case "$opt_mode" in
  8003. clean)
  8004. - case " $library_names " in
  8005. - # " " in the beginning catches empty $dlname
  8006. + case " $library_names " in
  8007. *" $dlname "*) ;;
  8008. - *) rmfiles="$rmfiles $objdir/$dlname" ;;
  8009. + *) test -n "$dlname" && func_append rmfiles " $odir/$dlname" ;;
  8010. esac
  8011. - test -n "$libdir" && rmfiles="$rmfiles $objdir/$name $objdir/${name}i"
  8012. + test -n "$libdir" && func_append rmfiles " $odir/$name $odir/${name}i"
  8013. ;;
  8014. uninstall)
  8015. if test -n "$library_names"; then
  8016. @@ -8302,19 +9026,19 @@
  8017. # Add PIC object to the list of files to remove.
  8018. if test -n "$pic_object" &&
  8019. test "$pic_object" != none; then
  8020. - rmfiles="$rmfiles $dir/$pic_object"
  8021. + func_append rmfiles " $dir/$pic_object"
  8022. fi
  8023. # Add non-PIC object to the list of files to remove.
  8024. if test -n "$non_pic_object" &&
  8025. test "$non_pic_object" != none; then
  8026. - rmfiles="$rmfiles $dir/$non_pic_object"
  8027. + func_append rmfiles " $dir/$non_pic_object"
  8028. fi
  8029. fi
  8030. ;;
  8031. *)
  8032. - if test "$mode" = clean ; then
  8033. + if test "$opt_mode" = clean ; then
  8034. noexename=$name
  8035. case $file in
  8036. *.exe)
  8037. @@ -8324,7 +9048,7 @@
  8038. noexename=$func_stripname_result
  8039. # $file with .exe has already been added to rmfiles,
  8040. # add $file without .exe
  8041. - rmfiles="$rmfiles $file"
  8042. + func_append rmfiles " $file"
  8043. ;;
  8044. esac
  8045. # Do a test to see if this is a libtool program.
  8046. @@ -8333,7 +9057,7 @@
  8047. func_ltwrapper_scriptname "$file"
  8048. relink_command=
  8049. func_source $func_ltwrapper_scriptname_result
  8050. - rmfiles="$rmfiles $func_ltwrapper_scriptname_result"
  8051. + func_append rmfiles " $func_ltwrapper_scriptname_result"
  8052. else
  8053. relink_command=
  8054. func_source $dir/$noexename
  8055. @@ -8341,12 +9065,12 @@
  8056. # note $name still contains .exe if it was in $file originally
  8057. # as does the version of $file that was added into $rmfiles
  8058. - rmfiles="$rmfiles $objdir/$name $objdir/${name}S.${objext}"
  8059. + func_append rmfiles " $odir/$name $odir/${name}S.${objext}"
  8060. if test "$fast_install" = yes && test -n "$relink_command"; then
  8061. - rmfiles="$rmfiles $objdir/lt-$name"
  8062. + func_append rmfiles " $odir/lt-$name"
  8063. fi
  8064. if test "X$noexename" != "X$name" ; then
  8065. - rmfiles="$rmfiles $objdir/lt-${noexename}.c"
  8066. + func_append rmfiles " $odir/lt-${noexename}.c"
  8067. fi
  8068. fi
  8069. fi
  8070. @@ -8354,7 +9078,6 @@
  8071. esac
  8072. func_show_eval "$RM $rmfiles" 'exit_status=1'
  8073. done
  8074. - objdir="$origobjdir"
  8075. # Try to remove the ${objdir}s in the directories where we deleted files
  8076. for dir in $rmdirs; do
  8077. @@ -8366,16 +9089,16 @@
  8078. exit $exit_status
  8079. }
  8080. -{ test "$mode" = uninstall || test "$mode" = clean; } &&
  8081. +{ test "$opt_mode" = uninstall || test "$opt_mode" = clean; } &&
  8082. func_mode_uninstall ${1+"$@"}
  8083. -test -z "$mode" && {
  8084. +test -z "$opt_mode" && {
  8085. help="$generic_help"
  8086. func_fatal_help "you must specify a MODE"
  8087. }
  8088. test -z "$exec_cmd" && \
  8089. - func_fatal_help "invalid operation mode \`$mode'"
  8090. + func_fatal_help "invalid operation mode \`$opt_mode'"
  8091. if test -n "$exec_cmd"; then
  8092. eval exec "$exec_cmd"
  8093. diff -Nur strongswan-4.4.1.orig/m4/config/libtool.m4 strongswan-4.4.1/m4/config/libtool.m4
  8094. --- strongswan-4.4.1.orig/m4/config/libtool.m4 2010-01-06 11:24:25.000000000 +0100
  8095. +++ strongswan-4.4.1/m4/config/libtool.m4 2010-07-31 21:12:25.272504820 +0200
  8096. @@ -1,7 +1,8 @@
  8097. # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
  8098. #
  8099. # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
  8100. -# 2006, 2007, 2008 Free Software Foundation, Inc.
  8101. +# 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
  8102. +# Inc.
  8103. # Written by Gordon Matzigkeit, 1996
  8104. #
  8105. # This file is free software; the Free Software Foundation gives
  8106. @@ -10,7 +11,8 @@
  8107. m4_define([_LT_COPYING], [dnl
  8108. # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
  8109. -# 2006, 2007, 2008 Free Software Foundation, Inc.
  8110. +# 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
  8111. +# Inc.
  8112. # Written by Gordon Matzigkeit, 1996
  8113. #
  8114. # This file is part of GNU Libtool.
  8115. @@ -37,7 +39,7 @@
  8116. # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  8117. ])
  8118. -# serial 56 LT_INIT
  8119. +# serial 57 LT_INIT
  8120. # LT_PREREQ(VERSION)
  8121. @@ -66,6 +68,7 @@
  8122. # ------------------
  8123. AC_DEFUN([LT_INIT],
  8124. [AC_PREREQ([2.58])dnl We use AC_INCLUDES_DEFAULT
  8125. +AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
  8126. AC_BEFORE([$0], [LT_LANG])dnl
  8127. AC_BEFORE([$0], [LT_OUTPUT])dnl
  8128. AC_BEFORE([$0], [LTDL_INIT])dnl
  8129. @@ -82,6 +85,8 @@
  8130. AC_REQUIRE([LTOBSOLETE_VERSION])dnl
  8131. m4_require([_LT_PROG_LTMAIN])dnl
  8132. +_LT_SHELL_INIT([SHELL=${CONFIG_SHELL-/bin/sh}])
  8133. +
  8134. dnl Parse OPTIONS
  8135. _LT_SET_OPTIONS([$0], [$1])
  8136. @@ -118,7 +123,7 @@
  8137. *) break;;
  8138. esac
  8139. done
  8140. -cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
  8141. +cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
  8142. ])
  8143. @@ -138,6 +143,9 @@
  8144. m4_defun([_LT_SETUP],
  8145. [AC_REQUIRE([AC_CANONICAL_HOST])dnl
  8146. AC_REQUIRE([AC_CANONICAL_BUILD])dnl
  8147. +AC_REQUIRE([_LT_PREPARE_SED_QUOTE_VARS])dnl
  8148. +AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH])dnl
  8149. +
  8150. _LT_DECL([], [host_alias], [0], [The host system])dnl
  8151. _LT_DECL([], [host], [0])dnl
  8152. _LT_DECL([], [host_os], [0])dnl
  8153. @@ -162,6 +170,7 @@
  8154. m4_require([_LT_CHECK_SHELL_FEATURES])dnl
  8155. m4_require([_LT_CMD_RELOAD])dnl
  8156. m4_require([_LT_CHECK_MAGIC_METHOD])dnl
  8157. +m4_require([_LT_CHECK_SHAREDLIB_FROM_LINKLIB])dnl
  8158. m4_require([_LT_CMD_OLD_ARCHIVE])dnl
  8159. m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl
  8160. @@ -179,7 +188,6 @@
  8161. _LT_CHECK_OBJDIR
  8162. m4_require([_LT_TAG_COMPILER])dnl
  8163. -_LT_PROG_ECHO_BACKSLASH
  8164. case $host_os in
  8165. aix3*)
  8166. @@ -193,23 +201,6 @@
  8167. ;;
  8168. esac
  8169. -# Sed substitution that helps us do robust quoting. It backslashifies
  8170. -# metacharacters that are still active within double-quoted strings.
  8171. -sed_quote_subst='s/\([["`$\\]]\)/\\\1/g'
  8172. -
  8173. -# Same as above, but do not quote variable references.
  8174. -double_quote_subst='s/\([["`\\]]\)/\\\1/g'
  8175. -
  8176. -# Sed substitution to delay expansion of an escaped shell variable in a
  8177. -# double_quote_subst'ed string.
  8178. -delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
  8179. -
  8180. -# Sed substitution to delay expansion of an escaped single quote.
  8181. -delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
  8182. -
  8183. -# Sed substitution to avoid accidental globbing in evaled expressions
  8184. -no_glob_subst='s/\*/\\\*/g'
  8185. -
  8186. # Global variables:
  8187. ofile=libtool
  8188. can_build_shared=yes
  8189. @@ -250,6 +241,28 @@
  8190. ])# _LT_SETUP
  8191. +# _LT_PREPARE_SED_QUOTE_VARS
  8192. +# --------------------------
  8193. +# Define a few sed substitution that help us do robust quoting.
  8194. +m4_defun([_LT_PREPARE_SED_QUOTE_VARS],
  8195. +[# Backslashify metacharacters that are still active within
  8196. +# double-quoted strings.
  8197. +sed_quote_subst='s/\([["`$\\]]\)/\\\1/g'
  8198. +
  8199. +# Same as above, but do not quote variable references.
  8200. +double_quote_subst='s/\([["`\\]]\)/\\\1/g'
  8201. +
  8202. +# Sed substitution to delay expansion of an escaped shell variable in a
  8203. +# double_quote_subst'ed string.
  8204. +delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
  8205. +
  8206. +# Sed substitution to delay expansion of an escaped single quote.
  8207. +delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
  8208. +
  8209. +# Sed substitution to avoid accidental globbing in evaled expressions
  8210. +no_glob_subst='s/\*/\\\*/g'
  8211. +])
  8212. +
  8213. # _LT_PROG_LTMAIN
  8214. # ---------------
  8215. # Note that this code is called both from `configure', and `config.status'
  8216. @@ -408,7 +421,7 @@
  8217. # declaration there will have the same value as in `configure'. VARNAME
  8218. # must have a single quote delimited value for this to work.
  8219. m4_define([_LT_CONFIG_STATUS_DECLARE],
  8220. -[$1='`$ECHO "X$][$1" | $Xsed -e "$delay_single_quote_subst"`'])
  8221. +[$1='`$ECHO "$][$1" | $SED "$delay_single_quote_subst"`'])
  8222. # _LT_CONFIG_STATUS_DECLARATIONS
  8223. @@ -418,7 +431,7 @@
  8224. # embedded single quotes properly. In configure, this macro expands
  8225. # each variable declared with _LT_DECL (and _LT_TAGDECL) into:
  8226. #
  8227. -# <var>='`$ECHO "X$<var>" | $Xsed -e "$delay_single_quote_subst"`'
  8228. +# <var>='`$ECHO "$<var>" | $SED "$delay_single_quote_subst"`'
  8229. m4_defun([_LT_CONFIG_STATUS_DECLARATIONS],
  8230. [m4_foreach([_lt_var], m4_quote(lt_decl_all_varnames),
  8231. [m4_n([_LT_CONFIG_STATUS_DECLARE(_lt_var)])])])
  8232. @@ -517,12 +530,20 @@
  8233. LTCFLAGS='$LTCFLAGS'
  8234. compiler='$compiler_DEFAULT'
  8235. +# A function that is used when there is no print builtin or printf.
  8236. +func_fallback_echo ()
  8237. +{
  8238. + eval 'cat <<_LTECHO_EOF
  8239. +\$[]1
  8240. +_LTECHO_EOF'
  8241. +}
  8242. +
  8243. # Quote evaled strings.
  8244. for var in lt_decl_all_varnames([[ \
  8245. ]], lt_decl_quote_varnames); do
  8246. - case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
  8247. + case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
  8248. *[[\\\\\\\`\\"\\\$]]*)
  8249. - eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
  8250. + eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
  8251. ;;
  8252. *)
  8253. eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
  8254. @@ -533,9 +554,9 @@
  8255. # Double-quote double-evaled strings.
  8256. for var in lt_decl_all_varnames([[ \
  8257. ]], lt_decl_dquote_varnames); do
  8258. - case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
  8259. + case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
  8260. *[[\\\\\\\`\\"\\\$]]*)
  8261. - eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
  8262. + eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
  8263. ;;
  8264. *)
  8265. eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
  8266. @@ -543,16 +564,38 @@
  8267. esac
  8268. done
  8269. -# Fix-up fallback echo if it was mangled by the above quoting rules.
  8270. -case \$lt_ECHO in
  8271. -*'\\\[$]0 --fallback-echo"')dnl "
  8272. - lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\[$]0 --fallback-echo"\[$]/\[$]0 --fallback-echo"/'\`
  8273. - ;;
  8274. -esac
  8275. -
  8276. _LT_OUTPUT_LIBTOOL_INIT
  8277. ])
  8278. +# _LT_GENERATED_FILE_INIT(FILE, [COMMENT])
  8279. +# ------------------------------------
  8280. +# Generate a child script FILE with all initialization necessary to
  8281. +# reuse the environment learned by the parent script, and make the
  8282. +# file executable. If COMMENT is supplied, it is inserted after the
  8283. +# `#!' sequence but before initialization text begins. After this
  8284. +# macro, additional text can be appended to FILE to form the body of
  8285. +# the child script. The macro ends with non-zero status if the
  8286. +# file could not be fully written (such as if the disk is full).
  8287. +m4_ifdef([AS_INIT_GENERATED],
  8288. +[m4_defun([_LT_GENERATED_FILE_INIT],[AS_INIT_GENERATED($@)])],
  8289. +[m4_defun([_LT_GENERATED_FILE_INIT],
  8290. +[m4_require([AS_PREPARE])]dnl
  8291. +[m4_pushdef([AS_MESSAGE_LOG_FD])]dnl
  8292. +[lt_write_fail=0
  8293. +cat >$1 <<_ASEOF || lt_write_fail=1
  8294. +#! $SHELL
  8295. +# Generated by $as_me.
  8296. +$2
  8297. +SHELL=\${CONFIG_SHELL-$SHELL}
  8298. +export SHELL
  8299. +_ASEOF
  8300. +cat >>$1 <<\_ASEOF || lt_write_fail=1
  8301. +AS_SHELL_SANITIZE
  8302. +_AS_PREPARE
  8303. +exec AS_MESSAGE_FD>&1
  8304. +_ASEOF
  8305. +test $lt_write_fail = 0 && chmod +x $1[]dnl
  8306. +m4_popdef([AS_MESSAGE_LOG_FD])])])# _LT_GENERATED_FILE_INIT
  8307. # LT_OUTPUT
  8308. # ---------
  8309. @@ -562,20 +605,11 @@
  8310. AC_DEFUN([LT_OUTPUT],
  8311. [: ${CONFIG_LT=./config.lt}
  8312. AC_MSG_NOTICE([creating $CONFIG_LT])
  8313. -cat >"$CONFIG_LT" <<_LTEOF
  8314. -#! $SHELL
  8315. -# Generated by $as_me.
  8316. -# Run this file to recreate a libtool stub with the current configuration.
  8317. -
  8318. -lt_cl_silent=false
  8319. -SHELL=\${CONFIG_SHELL-$SHELL}
  8320. -_LTEOF
  8321. +_LT_GENERATED_FILE_INIT(["$CONFIG_LT"],
  8322. +[# Run this file to recreate a libtool stub with the current configuration.])
  8323. cat >>"$CONFIG_LT" <<\_LTEOF
  8324. -AS_SHELL_SANITIZE
  8325. -_AS_PREPARE
  8326. -
  8327. -exec AS_MESSAGE_FD>&1
  8328. +lt_cl_silent=false
  8329. exec AS_MESSAGE_LOG_FD>>config.log
  8330. {
  8331. echo
  8332. @@ -601,7 +635,7 @@
  8333. m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION])
  8334. configured by $[0], generated by m4_PACKAGE_STRING.
  8335. -Copyright (C) 2008 Free Software Foundation, Inc.
  8336. +Copyright (C) 2010 Free Software Foundation, Inc.
  8337. This config.lt script is free software; the Free Software Foundation
  8338. gives unlimited permision to copy, distribute and modify it."
  8339. @@ -646,15 +680,13 @@
  8340. # appending to config.log, which fails on DOS, as config.log is still kept
  8341. # open by configure. Here we exec the FD to /dev/null, effectively closing
  8342. # config.log, so it can be properly (re)opened and appended to by config.lt.
  8343. -if test "$no_create" != yes; then
  8344. - lt_cl_success=:
  8345. - test "$silent" = yes &&
  8346. - lt_config_lt_args="$lt_config_lt_args --quiet"
  8347. - exec AS_MESSAGE_LOG_FD>/dev/null
  8348. - $SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false
  8349. - exec AS_MESSAGE_LOG_FD>>config.log
  8350. - $lt_cl_success || AS_EXIT(1)
  8351. -fi
  8352. +lt_cl_success=:
  8353. +test "$silent" = yes &&
  8354. + lt_config_lt_args="$lt_config_lt_args --quiet"
  8355. +exec AS_MESSAGE_LOG_FD>/dev/null
  8356. +$SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false
  8357. +exec AS_MESSAGE_LOG_FD>>config.log
  8358. +$lt_cl_success || AS_EXIT(1)
  8359. ])# LT_OUTPUT
  8360. @@ -717,15 +749,12 @@
  8361. # if finds mixed CR/LF and LF-only lines. Since sed operates in
  8362. # text mode, it properly converts lines to CR/LF. This bash problem
  8363. # is reportedly fixed, but why not run on old versions too?
  8364. - sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
  8365. - || (rm -f "$cfgfile"; exit 1)
  8366. -
  8367. - _LT_PROG_XSI_SHELLFNS
  8368. + sed '$q' "$ltmain" >> "$cfgfile" \
  8369. + || (rm -f "$cfgfile"; exit 1)
  8370. - sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
  8371. - || (rm -f "$cfgfile"; exit 1)
  8372. + _LT_PROG_REPLACE_SHELLFNS
  8373. - mv -f "$cfgfile" "$ofile" ||
  8374. + mv -f "$cfgfile" "$ofile" ||
  8375. (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
  8376. chmod +x "$ofile"
  8377. ],
  8378. @@ -831,11 +860,13 @@
  8379. AU_DEFUN([AC_LIBTOOL_F77], [LT_LANG(Fortran 77)])
  8380. AU_DEFUN([AC_LIBTOOL_FC], [LT_LANG(Fortran)])
  8381. AU_DEFUN([AC_LIBTOOL_GCJ], [LT_LANG(Java)])
  8382. +AU_DEFUN([AC_LIBTOOL_RC], [LT_LANG(Windows Resource)])
  8383. dnl aclocal-1.4 backwards compatibility:
  8384. dnl AC_DEFUN([AC_LIBTOOL_CXX], [])
  8385. dnl AC_DEFUN([AC_LIBTOOL_F77], [])
  8386. dnl AC_DEFUN([AC_LIBTOOL_FC], [])
  8387. dnl AC_DEFUN([AC_LIBTOOL_GCJ], [])
  8388. +dnl AC_DEFUN([AC_LIBTOOL_RC], [])
  8389. # _LT_TAG_COMPILER
  8390. @@ -940,6 +971,31 @@
  8391. [lt_cv_ld_exported_symbols_list=no])
  8392. LDFLAGS="$save_LDFLAGS"
  8393. ])
  8394. + AC_CACHE_CHECK([for -force_load linker flag],[lt_cv_ld_force_load],
  8395. + [lt_cv_ld_force_load=no
  8396. + cat > conftest.c << _LT_EOF
  8397. +int forced_loaded() { return 2;}
  8398. +_LT_EOF
  8399. + echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&AS_MESSAGE_LOG_FD
  8400. + $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&AS_MESSAGE_LOG_FD
  8401. + echo "$AR cru libconftest.a conftest.o" >&AS_MESSAGE_LOG_FD
  8402. + $AR cru libconftest.a conftest.o 2>&AS_MESSAGE_LOG_FD
  8403. + echo "$RANLIB libconftest.a" >&AS_MESSAGE_LOG_FD
  8404. + $RANLIB libconftest.a 2>&AS_MESSAGE_LOG_FD
  8405. + cat > conftest.c << _LT_EOF
  8406. +int main() { return 0;}
  8407. +_LT_EOF
  8408. + echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&AS_MESSAGE_LOG_FD
  8409. + $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
  8410. + _lt_result=$?
  8411. + if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
  8412. + lt_cv_ld_force_load=yes
  8413. + else
  8414. + cat conftest.err >&AS_MESSAGE_LOG_FD
  8415. + fi
  8416. + rm -f conftest.err libconftest.a conftest conftest.c
  8417. + rm -rf conftest.dSYM
  8418. + ])
  8419. case $host_os in
  8420. rhapsody* | darwin1.[[012]])
  8421. _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
  8422. @@ -967,7 +1023,7 @@
  8423. else
  8424. _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
  8425. fi
  8426. - if test "$DSYMUTIL" != ":"; then
  8427. + if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
  8428. _lt_dsymutil='~$DSYMUTIL $lib || :'
  8429. else
  8430. _lt_dsymutil=
  8431. @@ -987,7 +1043,11 @@
  8432. _LT_TAGVAR(hardcode_direct, $1)=no
  8433. _LT_TAGVAR(hardcode_automatic, $1)=yes
  8434. _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
  8435. - _LT_TAGVAR(whole_archive_flag_spec, $1)=''
  8436. + if test "$lt_cv_ld_force_load" = "yes"; then
  8437. + _LT_TAGVAR(whole_archive_flag_spec, $1)='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
  8438. + else
  8439. + _LT_TAGVAR(whole_archive_flag_spec, $1)=''
  8440. + fi
  8441. _LT_TAGVAR(link_all_deplibs, $1)=yes
  8442. _LT_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined"
  8443. case $cc_basename in
  8444. @@ -995,7 +1055,7 @@
  8445. *) _lt_dar_can_shared=$GCC ;;
  8446. esac
  8447. if test "$_lt_dar_can_shared" = "yes"; then
  8448. - output_verbose_link_cmd=echo
  8449. + output_verbose_link_cmd=func_echo_all
  8450. _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}"
  8451. _LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
  8452. _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}"
  8453. @@ -1041,170 +1101,65 @@
  8454. # _LT_SHELL_INIT(ARG)
  8455. # -------------------
  8456. m4_define([_LT_SHELL_INIT],
  8457. -[ifdef([AC_DIVERSION_NOTICE],
  8458. - [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)],
  8459. - [AC_DIVERT_PUSH(NOTICE)])
  8460. -$1
  8461. -AC_DIVERT_POP
  8462. -])# _LT_SHELL_INIT
  8463. +[m4_divert_text([M4SH-INIT], [$1
  8464. +])])# _LT_SHELL_INIT
  8465. +
  8466. # _LT_PROG_ECHO_BACKSLASH
  8467. # -----------------------
  8468. -# Add some code to the start of the generated configure script which
  8469. -# will find an echo command which doesn't interpret backslashes.
  8470. +# Find how we can fake an echo command that does not interpret backslash.
  8471. +# In particular, with Autoconf 2.60 or later we add some code to the start
  8472. +# of the generated configure script which will find a shell with a builtin
  8473. +# printf (which we can use as an echo command).
  8474. m4_defun([_LT_PROG_ECHO_BACKSLASH],
  8475. -[_LT_SHELL_INIT([
  8476. -# Check that we are running under the correct shell.
  8477. -SHELL=${CONFIG_SHELL-/bin/sh}
  8478. -
  8479. -case X$lt_ECHO in
  8480. -X*--fallback-echo)
  8481. - # Remove one level of quotation (which was required for Make).
  8482. - ECHO=`echo "$lt_ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','`
  8483. - ;;
  8484. -esac
  8485. -
  8486. -ECHO=${lt_ECHO-echo}
  8487. -if test "X[$]1" = X--no-reexec; then
  8488. - # Discard the --no-reexec flag, and continue.
  8489. - shift
  8490. -elif test "X[$]1" = X--fallback-echo; then
  8491. - # Avoid inline document here, it may be left over
  8492. - :
  8493. -elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
  8494. - # Yippee, $ECHO works!
  8495. - :
  8496. +[ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  8497. +ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
  8498. +ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
  8499. +
  8500. +AC_MSG_CHECKING([how to print strings])
  8501. +# Test print first, because it will be a builtin if present.
  8502. +if test "X`print -r -- -n 2>/dev/null`" = X-n && \
  8503. + test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
  8504. + ECHO='print -r --'
  8505. +elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
  8506. + ECHO='printf %s\n'
  8507. else
  8508. - # Restart under the correct shell.
  8509. - exec $SHELL "[$]0" --no-reexec ${1+"[$]@"}
  8510. -fi
  8511. -
  8512. -if test "X[$]1" = X--fallback-echo; then
  8513. - # used as fallback echo
  8514. - shift
  8515. - cat <<_LT_EOF
  8516. -[$]*
  8517. -_LT_EOF
  8518. - exit 0
  8519. + # Use this function as a fallback that always works.
  8520. + func_fallback_echo ()
  8521. + {
  8522. + eval 'cat <<_LTECHO_EOF
  8523. +$[]1
  8524. +_LTECHO_EOF'
  8525. + }
  8526. + ECHO='func_fallback_echo'
  8527. fi
  8528. -# The HP-UX ksh and POSIX shell print the target directory to stdout
  8529. -# if CDPATH is set.
  8530. -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  8531. -
  8532. -if test -z "$lt_ECHO"; then
  8533. - if test "X${echo_test_string+set}" != Xset; then
  8534. - # find a string as large as possible, as long as the shell can cope with it
  8535. - for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do
  8536. - # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
  8537. - if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
  8538. - { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
  8539. - then
  8540. - break
  8541. - fi
  8542. - done
  8543. - fi
  8544. -
  8545. - if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
  8546. - echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
  8547. - test "X$echo_testing_string" = "X$echo_test_string"; then
  8548. - :
  8549. - else
  8550. - # The Solaris, AIX, and Digital Unix default echo programs unquote
  8551. - # backslashes. This makes it impossible to quote backslashes using
  8552. - # echo "$something" | sed 's/\\/\\\\/g'
  8553. - #
  8554. - # So, first we look for a working echo in the user's PATH.
  8555. -
  8556. - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  8557. - for dir in $PATH /usr/ucb; do
  8558. - IFS="$lt_save_ifs"
  8559. - if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
  8560. - test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
  8561. - echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
  8562. - test "X$echo_testing_string" = "X$echo_test_string"; then
  8563. - ECHO="$dir/echo"
  8564. - break
  8565. - fi
  8566. - done
  8567. - IFS="$lt_save_ifs"
  8568. -
  8569. - if test "X$ECHO" = Xecho; then
  8570. - # We didn't find a better echo, so look for alternatives.
  8571. - if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
  8572. - echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
  8573. - test "X$echo_testing_string" = "X$echo_test_string"; then
  8574. - # This shell has a builtin print -r that does the trick.
  8575. - ECHO='print -r'
  8576. - elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
  8577. - test "X$CONFIG_SHELL" != X/bin/ksh; then
  8578. - # If we have ksh, try running configure again with it.
  8579. - ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
  8580. - export ORIGINAL_CONFIG_SHELL
  8581. - CONFIG_SHELL=/bin/ksh
  8582. - export CONFIG_SHELL
  8583. - exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"}
  8584. - else
  8585. - # Try using printf.
  8586. - ECHO='printf %s\n'
  8587. - if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
  8588. - echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
  8589. - test "X$echo_testing_string" = "X$echo_test_string"; then
  8590. - # Cool, printf works
  8591. - :
  8592. - elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
  8593. - test "X$echo_testing_string" = 'X\t' &&
  8594. - echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
  8595. - test "X$echo_testing_string" = "X$echo_test_string"; then
  8596. - CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
  8597. - export CONFIG_SHELL
  8598. - SHELL="$CONFIG_SHELL"
  8599. - export SHELL
  8600. - ECHO="$CONFIG_SHELL [$]0 --fallback-echo"
  8601. - elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
  8602. - test "X$echo_testing_string" = 'X\t' &&
  8603. - echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
  8604. - test "X$echo_testing_string" = "X$echo_test_string"; then
  8605. - ECHO="$CONFIG_SHELL [$]0 --fallback-echo"
  8606. - else
  8607. - # maybe with a smaller string...
  8608. - prev=:
  8609. -
  8610. - for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do
  8611. - if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
  8612. - then
  8613. - break
  8614. - fi
  8615. - prev="$cmd"
  8616. - done
  8617. +# func_echo_all arg...
  8618. +# Invoke $ECHO with all args, space-separated.
  8619. +func_echo_all ()
  8620. +{
  8621. + $ECHO "$*"
  8622. +}
  8623. - if test "$prev" != 'sed 50q "[$]0"'; then
  8624. - echo_test_string=`eval $prev`
  8625. - export echo_test_string
  8626. - exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"}
  8627. - else
  8628. - # Oops. We lost completely, so just stick with echo.
  8629. - ECHO=echo
  8630. - fi
  8631. - fi
  8632. - fi
  8633. - fi
  8634. - fi
  8635. -fi
  8636. +case "$ECHO" in
  8637. + printf*) AC_MSG_RESULT([printf]) ;;
  8638. + print*) AC_MSG_RESULT([print -r]) ;;
  8639. + *) AC_MSG_RESULT([cat]) ;;
  8640. +esac
  8641. -# Copy echo and quote the copy suitably for passing to libtool from
  8642. -# the Makefile, instead of quoting the original, which is used later.
  8643. -lt_ECHO=$ECHO
  8644. -if test "X$lt_ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then
  8645. - lt_ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo"
  8646. -fi
  8647. +m4_ifdef([_AS_DETECT_SUGGESTED],
  8648. +[_AS_DETECT_SUGGESTED([
  8649. + test -n "${ZSH_VERSION+set}${BASH_VERSION+set}" || (
  8650. + ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  8651. + ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
  8652. + ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
  8653. + PATH=/empty FPATH=/empty; export PATH FPATH
  8654. + test "X`printf %s $ECHO`" = "X$ECHO" \
  8655. + || test "X`print -r -- $ECHO`" = "X$ECHO" )])])
  8656. -AC_SUBST(lt_ECHO)
  8657. -])
  8658. _LT_DECL([], [SHELL], [1], [Shell to use when invoking shell scripts])
  8659. -_LT_DECL([], [ECHO], [1],
  8660. - [An echo program that does not interpret backslashes])
  8661. +_LT_DECL([], [ECHO], [1], [An echo program that protects backslashes])
  8662. ])# _LT_PROG_ECHO_BACKSLASH
  8663. @@ -1236,7 +1191,7 @@
  8664. ;;
  8665. *-*-irix6*)
  8666. # Find out which ABI we are using.
  8667. - echo '[#]line __oline__ "configure"' > conftest.$ac_ext
  8668. + echo '[#]line '$LINENO' "configure"' > conftest.$ac_ext
  8669. if AC_TRY_EVAL(ac_compile); then
  8670. if test "$lt_cv_prog_gnu_ld" = yes; then
  8671. case `/usr/bin/file conftest.$ac_objext` in
  8672. @@ -1388,10 +1343,19 @@
  8673. esac
  8674. old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
  8675. fi
  8676. +
  8677. +case $host_os in
  8678. + darwin*)
  8679. + lock_old_archive_extraction=yes ;;
  8680. + *)
  8681. + lock_old_archive_extraction=no ;;
  8682. +esac
  8683. _LT_DECL([], [old_postinstall_cmds], [2])
  8684. _LT_DECL([], [old_postuninstall_cmds], [2])
  8685. _LT_TAGDECL([], [old_archive_cmds], [2],
  8686. [Commands used to build an old-style archive])
  8687. +_LT_DECL([], [lock_old_archive_extraction], [0],
  8688. + [Whether to use a lock for old archive extraction])
  8689. ])# _LT_CMD_OLD_ARCHIVE
  8690. @@ -1416,15 +1380,15 @@
  8691. -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  8692. -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
  8693. -e 's:$: $lt_compiler_flag:'`
  8694. - (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
  8695. + (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
  8696. (eval "$lt_compile" 2>conftest.err)
  8697. ac_status=$?
  8698. cat conftest.err >&AS_MESSAGE_LOG_FD
  8699. - echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
  8700. + echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
  8701. if (exit $ac_status) && test -s "$ac_outfile"; then
  8702. # The compiler can only warn and ignore the option if not recognized
  8703. # So say no if there are warnings other than the usual output.
  8704. - $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
  8705. + $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
  8706. $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  8707. if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  8708. $2=yes
  8709. @@ -1464,7 +1428,7 @@
  8710. if test -s conftest.err; then
  8711. # Append any errors to the config.log.
  8712. cat conftest.err 1>&AS_MESSAGE_LOG_FD
  8713. - $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
  8714. + $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
  8715. $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  8716. if diff conftest.exp conftest.er2 >/dev/null; then
  8717. $2=yes
  8718. @@ -1527,6 +1491,11 @@
  8719. lt_cv_sys_max_cmd_len=8192;
  8720. ;;
  8721. + mint*)
  8722. + # On MiNT this can take a long time and run out of memory.
  8723. + lt_cv_sys_max_cmd_len=8192;
  8724. + ;;
  8725. +
  8726. amigaos*)
  8727. # On AmigaOS with pdksh, this test takes hours, literally.
  8728. # So we just punt and use a minimum line length of 8192.
  8729. @@ -1591,8 +1560,8 @@
  8730. # If test is not a shell built-in, we'll probably end up computing a
  8731. # maximum length that is only half of the actual maximum length, but
  8732. # we can't tell.
  8733. - while { test "X"`$SHELL [$]0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
  8734. - = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
  8735. + while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
  8736. + = "X$teststring$teststring"; } >/dev/null 2>&1 &&
  8737. test $i != 17 # 1/2 MB should be enough
  8738. do
  8739. i=`expr $i + 1`
  8740. @@ -1643,7 +1612,7 @@
  8741. lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
  8742. lt_status=$lt_dlunknown
  8743. cat > conftest.$ac_ext <<_LT_EOF
  8744. -[#line __oline__ "configure"
  8745. +[#line $LINENO "configure"
  8746. #include "confdefs.h"
  8747. #if HAVE_DLFCN_H
  8748. @@ -1684,7 +1653,13 @@
  8749. # endif
  8750. #endif
  8751. -void fnord() { int i=42;}
  8752. +/* When -fvisbility=hidden is used, assume the code has been annotated
  8753. + correspondingly for the symbols needed. */
  8754. +#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
  8755. +int fnord () __attribute__((visibility("default")));
  8756. +#endif
  8757. +
  8758. +int fnord () { return 42; }
  8759. int main ()
  8760. {
  8761. void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
  8762. @@ -1693,7 +1668,11 @@
  8763. if (self)
  8764. {
  8765. if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
  8766. - else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
  8767. + else
  8768. + {
  8769. + if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
  8770. + else puts (dlerror ());
  8771. + }
  8772. /* dlclose (self); */
  8773. }
  8774. else
  8775. @@ -1869,16 +1848,16 @@
  8776. -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  8777. -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
  8778. -e 's:$: $lt_compiler_flag:'`
  8779. - (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
  8780. + (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
  8781. (eval "$lt_compile" 2>out/conftest.err)
  8782. ac_status=$?
  8783. cat out/conftest.err >&AS_MESSAGE_LOG_FD
  8784. - echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
  8785. + echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
  8786. if (exit $ac_status) && test -s out/conftest2.$ac_objext
  8787. then
  8788. # The compiler can only warn and ignore the option if not recognized
  8789. # So say no if there are warnings
  8790. - $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
  8791. + $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
  8792. $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  8793. if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  8794. _LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
  8795. @@ -2037,6 +2016,7 @@
  8796. m4_require([_LT_FILEUTILS_DEFAULTS])dnl
  8797. m4_require([_LT_DECL_OBJDUMP])dnl
  8798. m4_require([_LT_DECL_SED])dnl
  8799. +m4_require([_LT_CHECK_SHELL_FEATURES])dnl
  8800. AC_MSG_CHECKING([dynamic linker characteristics])
  8801. m4_if([$1],
  8802. [], [
  8803. @@ -2045,16 +2025,23 @@
  8804. darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
  8805. *) lt_awk_arg="/^libraries:/" ;;
  8806. esac
  8807. - lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
  8808. - if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
  8809. + case $host_os in
  8810. + mingw* | cegcc*) lt_sed_strip_eq="s,=\([[A-Za-z]]:\),\1,g" ;;
  8811. + *) lt_sed_strip_eq="s,=/,/,g" ;;
  8812. + esac
  8813. + lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
  8814. + case $lt_search_path_spec in
  8815. + *\;*)
  8816. # if the path contains ";" then we assume it to be the separator
  8817. # otherwise default to the standard path separator (i.e. ":") - it is
  8818. # assumed that no part of a normal pathname contains ";" but that should
  8819. # okay in the real world where ";" in dirpaths is itself problematic.
  8820. - lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
  8821. - else
  8822. - lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
  8823. - fi
  8824. + lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
  8825. + ;;
  8826. + *)
  8827. + lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
  8828. + ;;
  8829. + esac
  8830. # Ok, now we have the path, separated by spaces, we can step through it
  8831. # and add multilib dir if necessary.
  8832. lt_tmp_lt_search_path_spec=
  8833. @@ -2067,7 +2054,7 @@
  8834. lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
  8835. fi
  8836. done
  8837. - lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
  8838. + lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
  8839. BEGIN {RS=" "; FS="/|\n";} {
  8840. lt_foo="";
  8841. lt_count=0;
  8842. @@ -2087,7 +2074,13 @@
  8843. if (lt_foo != "") { lt_freq[[lt_foo]]++; }
  8844. if (lt_freq[[lt_foo]] == 1) { print lt_foo; }
  8845. }'`
  8846. - sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
  8847. + # AWK program above erroneously prepends '/' to C:/dos/paths
  8848. + # for these hosts.
  8849. + case $host_os in
  8850. + mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
  8851. + $SED 's,/\([[A-Za-z]]:\),\1,g'` ;;
  8852. + esac
  8853. + sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
  8854. else
  8855. sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
  8856. fi])
  8857. @@ -2175,7 +2168,7 @@
  8858. m68k)
  8859. library_names_spec='$libname.ixlibrary $libname.a'
  8860. # Create ${libname}_ixlibrary.a entries in /sys/libs.
  8861. - 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'
  8862. + finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
  8863. ;;
  8864. esac
  8865. ;;
  8866. @@ -2206,8 +2199,9 @@
  8867. need_version=no
  8868. need_lib_prefix=no
  8869. - case $GCC,$host_os in
  8870. - yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
  8871. + case $GCC,$cc_basename in
  8872. + yes,*)
  8873. + # gcc
  8874. library_names_spec='$libname.dll.a'
  8875. # DLL is installed to $(libdir)/../bin by postinstall_cmds
  8876. postinstall_cmds='base_file=`basename \${file}`~
  8877. @@ -2228,36 +2222,54 @@
  8878. cygwin*)
  8879. # Cygwin DLLs use 'cyg' prefix rather than 'lib'
  8880. soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
  8881. - sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
  8882. +m4_if([$1], [],[
  8883. + sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"])
  8884. ;;
  8885. mingw* | cegcc*)
  8886. # MinGW DLLs use traditional 'lib' prefix
  8887. soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
  8888. - sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
  8889. - if $ECHO "$sys_lib_search_path_spec" | [$GREP ';[c-zC-Z]:/' >/dev/null]; then
  8890. - # It is most probably a Windows format PATH printed by
  8891. - # mingw gcc, but we are running on Cygwin. Gcc prints its search
  8892. - # path with ; separators, and with drive letters. We can handle the
  8893. - # drive letters (cygwin fileutils understands them), so leave them,
  8894. - # especially as we might pass files found there to a mingw objdump,
  8895. - # which wouldn't understand a cygwinified path. Ahh.
  8896. - sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
  8897. - else
  8898. - sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
  8899. - fi
  8900. ;;
  8901. pw32*)
  8902. # pw32 DLLs use 'pw' prefix rather than 'lib'
  8903. library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
  8904. ;;
  8905. esac
  8906. + dynamic_linker='Win32 ld.exe'
  8907. + ;;
  8908. +
  8909. + *,cl*)
  8910. + # Native MSVC
  8911. + libname_spec='$name'
  8912. + soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
  8913. + library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}.lib'
  8914. + sys_lib_search_path_spec="$LIB"
  8915. + if $ECHO "$sys_lib_search_path_spec" | [$GREP ';[c-zC-Z]:/' >/dev/null]; then
  8916. + # It is most probably a Windows format PATH.
  8917. + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
  8918. + else
  8919. + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
  8920. + fi
  8921. + # FIXME: find the short name or the path components, as spaces are
  8922. + # common. (e.g. "Program Files" -> "PROGRA~1")
  8923. + # DLL is installed to $(libdir)/../bin by postinstall_cmds
  8924. + postinstall_cmds='base_file=`basename \${file}`~
  8925. + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
  8926. + dldir=$destdir/`dirname \$dlpath`~
  8927. + test -d \$dldir || mkdir -p \$dldir~
  8928. + $install_prog $dir/$dlname \$dldir/$dlname'
  8929. + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
  8930. + dlpath=$dir/\$dldll~
  8931. + $RM \$dlpath'
  8932. + shlibpath_overrides_runpath=yes
  8933. + dynamic_linker='Win32 link.exe'
  8934. ;;
  8935. *)
  8936. + # Assume MSVC wrapper
  8937. library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib'
  8938. + dynamic_linker='Win32 ld.exe'
  8939. ;;
  8940. esac
  8941. - dynamic_linker='Win32 ld.exe'
  8942. # FIXME: first we should search . and the directory the executable is in
  8943. shlibpath_var=PATH
  8944. ;;
  8945. @@ -2344,6 +2356,19 @@
  8946. hardcode_into_libs=yes
  8947. ;;
  8948. +haiku*)
  8949. + version_type=linux
  8950. + need_lib_prefix=no
  8951. + need_version=no
  8952. + dynamic_linker="$host_os runtime_loader"
  8953. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
  8954. + soname_spec='${libname}${release}${shared_ext}$major'
  8955. + shlibpath_var=LIBRARY_PATH
  8956. + shlibpath_overrides_runpath=yes
  8957. + sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
  8958. + hardcode_into_libs=yes
  8959. + ;;
  8960. +
  8961. hpux9* | hpux10* | hpux11*)
  8962. # Give a soname corresponding to the major version so that dld.sl refuses to
  8963. # link against other versions.
  8964. @@ -2386,8 +2411,10 @@
  8965. soname_spec='${libname}${release}${shared_ext}$major'
  8966. ;;
  8967. esac
  8968. - # HP-UX runs *really* slowly unless shared libraries are mode 555.
  8969. + # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
  8970. postinstall_cmds='chmod 555 $lib'
  8971. + # or fails outright, so override atomically:
  8972. + install_override_mode=555
  8973. ;;
  8974. interix[[3-9]]*)
  8975. @@ -2454,16 +2481,21 @@
  8976. finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
  8977. shlibpath_var=LD_LIBRARY_PATH
  8978. shlibpath_overrides_runpath=no
  8979. +
  8980. # Some binutils ld are patched to set DT_RUNPATH
  8981. - save_LDFLAGS=$LDFLAGS
  8982. - save_libdir=$libdir
  8983. - eval "libdir=/foo; wl=\"$_LT_TAGVAR(lt_prog_compiler_wl, $1)\"; \
  8984. - LDFLAGS=\"\$LDFLAGS $_LT_TAGVAR(hardcode_libdir_flag_spec, $1)\""
  8985. - AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
  8986. - [AS_IF([ ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null],
  8987. - [shlibpath_overrides_runpath=yes])])
  8988. - LDFLAGS=$save_LDFLAGS
  8989. - libdir=$save_libdir
  8990. + AC_CACHE_VAL([lt_cv_shlibpath_overrides_runpath],
  8991. + [lt_cv_shlibpath_overrides_runpath=no
  8992. + save_LDFLAGS=$LDFLAGS
  8993. + save_libdir=$libdir
  8994. + eval "libdir=/foo; wl=\"$_LT_TAGVAR(lt_prog_compiler_wl, $1)\"; \
  8995. + LDFLAGS=\"\$LDFLAGS $_LT_TAGVAR(hardcode_libdir_flag_spec, $1)\""
  8996. + AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
  8997. + [AS_IF([ ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null],
  8998. + [lt_cv_shlibpath_overrides_runpath=yes])])
  8999. + LDFLAGS=$save_LDFLAGS
  9000. + libdir=$save_libdir
  9001. + ])
  9002. + shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
  9003. # This implies no fast_install, which is unacceptable.
  9004. # Some rework will be needed to allow for fast_install
  9005. @@ -2472,7 +2504,7 @@
  9006. # Append ld.so.conf contents to the search path
  9007. if test -f /etc/ld.so.conf; then
  9008. - 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' ' '`
  9009. + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
  9010. sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
  9011. fi
  9012. @@ -2485,18 +2517,6 @@
  9013. dynamic_linker='GNU/Linux ld.so'
  9014. ;;
  9015. -netbsdelf*-gnu)
  9016. - version_type=linux
  9017. - need_lib_prefix=no
  9018. - need_version=no
  9019. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  9020. - soname_spec='${libname}${release}${shared_ext}$major'
  9021. - shlibpath_var=LD_LIBRARY_PATH
  9022. - shlibpath_overrides_runpath=no
  9023. - hardcode_into_libs=yes
  9024. - dynamic_linker='NetBSD ld.elf_so'
  9025. - ;;
  9026. -
  9027. netbsd*)
  9028. version_type=sunos
  9029. need_lib_prefix=no
  9030. @@ -2717,6 +2737,8 @@
  9031. The last name is the one that the linker finds with -lNAME]])
  9032. _LT_DECL([], [soname_spec], [1],
  9033. [[The coded name of the library, if different from the real name]])
  9034. +_LT_DECL([], [install_override_mode], [1],
  9035. + [Permission mode override for installation of shared libraries])
  9036. _LT_DECL([], [postinstall_cmds], [2],
  9037. [Command to use after installation of a shared archive])
  9038. _LT_DECL([], [postuninstall_cmds], [2],
  9039. @@ -2829,6 +2851,7 @@
  9040. AC_REQUIRE([AC_CANONICAL_BUILD])dnl
  9041. m4_require([_LT_DECL_SED])dnl
  9042. m4_require([_LT_DECL_EGREP])dnl
  9043. +m4_require([_LT_PROG_ECHO_BACKSLASH])dnl
  9044. AC_ARG_WITH([gnu-ld],
  9045. [AS_HELP_STRING([--with-gnu-ld],
  9046. @@ -2958,8 +2981,8 @@
  9047. fi
  9048. ;;
  9049. esac
  9050. -_LT_DECL([], [reload_flag], [1], [How to create reloadable object files])dnl
  9051. -_LT_DECL([], [reload_cmds], [2])dnl
  9052. +_LT_TAGDECL([], [reload_flag], [1], [How to create reloadable object files])dnl
  9053. +_LT_TAGDECL([], [reload_cmds], [2])dnl
  9054. ])# _LT_CMD_RELOAD
  9055. @@ -3011,16 +3034,18 @@
  9056. # Base MSYS/MinGW do not provide the 'file' command needed by
  9057. # func_win32_libid shell function, so use a weaker test based on 'objdump',
  9058. # unless we find 'file', for example because we are cross-compiling.
  9059. - if ( file / ) >/dev/null 2>&1; then
  9060. + # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
  9061. + if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
  9062. lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
  9063. lt_cv_file_magic_cmd='func_win32_libid'
  9064. else
  9065. - lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
  9066. + # Keep this pattern in sync with the one in func_win32_libid.
  9067. + lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
  9068. lt_cv_file_magic_cmd='$OBJDUMP -f'
  9069. fi
  9070. ;;
  9071. -cegcc)
  9072. +cegcc*)
  9073. # use the weaker test based on 'objdump'. See mingw*.
  9074. lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
  9075. lt_cv_file_magic_cmd='$OBJDUMP -f'
  9076. @@ -3050,6 +3075,10 @@
  9077. lt_cv_deplibs_check_method=pass_all
  9078. ;;
  9079. +haiku*)
  9080. + lt_cv_deplibs_check_method=pass_all
  9081. + ;;
  9082. +
  9083. hpux10.20* | hpux11*)
  9084. lt_cv_file_magic_cmd=/usr/bin/file
  9085. case $host_cpu in
  9086. @@ -3058,11 +3087,11 @@
  9087. lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
  9088. ;;
  9089. hppa*64*)
  9090. - [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]']
  9091. + [lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]']
  9092. lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
  9093. ;;
  9094. *)
  9095. - lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library'
  9096. + lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]]\.[[0-9]]) shared library'
  9097. lt_cv_file_magic_test_file=/usr/lib/libc.sl
  9098. ;;
  9099. esac
  9100. @@ -3088,7 +3117,7 @@
  9101. lt_cv_deplibs_check_method=pass_all
  9102. ;;
  9103. -netbsd* | netbsdelf*-gnu)
  9104. +netbsd*)
  9105. if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
  9106. lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
  9107. else
  9108. @@ -3162,6 +3191,21 @@
  9109. ;;
  9110. esac
  9111. ])
  9112. +
  9113. +file_magic_glob=
  9114. +want_nocaseglob=no
  9115. +if test "$build" = "$host"; then
  9116. + case $host_os in
  9117. + mingw* | pw32*)
  9118. + if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
  9119. + want_nocaseglob=yes
  9120. + else
  9121. + file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[[\1]]\/[[\1]]\/g;/g"`
  9122. + fi
  9123. + ;;
  9124. + esac
  9125. +fi
  9126. +
  9127. file_magic_cmd=$lt_cv_file_magic_cmd
  9128. deplibs_check_method=$lt_cv_deplibs_check_method
  9129. test -z "$deplibs_check_method" && deplibs_check_method=unknown
  9130. @@ -3169,7 +3213,11 @@
  9131. _LT_DECL([], [deplibs_check_method], [1],
  9132. [Method to check whether dependent libraries are shared objects])
  9133. _LT_DECL([], [file_magic_cmd], [1],
  9134. - [Command to use when deplibs_check_method == "file_magic"])
  9135. + [Command to use when deplibs_check_method = "file_magic"])
  9136. +_LT_DECL([], [file_magic_glob], [1],
  9137. + [How to find potential files when deplibs_check_method = "file_magic"])
  9138. +_LT_DECL([], [want_nocaseglob], [1],
  9139. + [Find potential files using nocaseglob when deplibs_check_method = "file_magic"])
  9140. ])# _LT_CHECK_MAGIC_METHOD
  9141. @@ -3226,7 +3274,19 @@
  9142. NM="$lt_cv_path_NM"
  9143. else
  9144. # Didn't find any BSD compatible name lister, look for dumpbin.
  9145. - AC_CHECK_TOOLS(DUMPBIN, ["dumpbin -symbols" "link -dump -symbols"], :)
  9146. + if test -n "$DUMPBIN"; then :
  9147. + # Let the user override the test.
  9148. + else
  9149. + AC_CHECK_TOOLS(DUMPBIN, [dumpbin "link -dump"], :)
  9150. + case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
  9151. + *COFF*)
  9152. + DUMPBIN="$DUMPBIN -symbols"
  9153. + ;;
  9154. + *)
  9155. + DUMPBIN=:
  9156. + ;;
  9157. + esac
  9158. + fi
  9159. AC_SUBST([DUMPBIN])
  9160. if test "$DUMPBIN" != ":"; then
  9161. NM="$DUMPBIN"
  9162. @@ -3239,13 +3299,13 @@
  9163. AC_CACHE_CHECK([the name lister ($NM) interface], [lt_cv_nm_interface],
  9164. [lt_cv_nm_interface="BSD nm"
  9165. echo "int some_variable = 0;" > conftest.$ac_ext
  9166. - (eval echo "\"\$as_me:__oline__: $ac_compile\"" >&AS_MESSAGE_LOG_FD)
  9167. + (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&AS_MESSAGE_LOG_FD)
  9168. (eval "$ac_compile" 2>conftest.err)
  9169. cat conftest.err >&AS_MESSAGE_LOG_FD
  9170. - (eval echo "\"\$as_me:__oline__: $NM \\\"conftest.$ac_objext\\\"\"" >&AS_MESSAGE_LOG_FD)
  9171. + (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&AS_MESSAGE_LOG_FD)
  9172. (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
  9173. cat conftest.err >&AS_MESSAGE_LOG_FD
  9174. - (eval echo "\"\$as_me:__oline__: output\"" >&AS_MESSAGE_LOG_FD)
  9175. + (eval echo "\"\$as_me:$LINENO: output\"" >&AS_MESSAGE_LOG_FD)
  9176. cat conftest.out >&AS_MESSAGE_LOG_FD
  9177. if $GREP 'External.*some_variable' conftest.out > /dev/null; then
  9178. lt_cv_nm_interface="MS dumpbin"
  9179. @@ -3260,6 +3320,67 @@
  9180. dnl AC_DEFUN([AM_PROG_NM], [])
  9181. dnl AC_DEFUN([AC_PROG_NM], [])
  9182. +# _LT_CHECK_SHAREDLIB_FROM_LINKLIB
  9183. +# --------------------------------
  9184. +# how to determine the name of the shared library
  9185. +# associated with a specific link library.
  9186. +# -- PORTME fill in with the dynamic library characteristics
  9187. +m4_defun([_LT_CHECK_SHAREDLIB_FROM_LINKLIB],
  9188. +[m4_require([_LT_DECL_EGREP])
  9189. +m4_require([_LT_DECL_OBJDUMP])
  9190. +m4_require([_LT_DECL_DLLTOOL])
  9191. +AC_CACHE_CHECK([how to associate runtime and link libraries],
  9192. +lt_cv_sharedlib_from_linklib_cmd,
  9193. +[lt_cv_sharedlib_from_linklib_cmd='unknown'
  9194. +
  9195. +case $host_os in
  9196. +cygwin* | mingw* | pw32* | cegcc*)
  9197. + # two different shell functions defined in ltmain.sh
  9198. + # decide which to use based on capabilities of $DLLTOOL
  9199. + case `$DLLTOOL --help 2>&1` in
  9200. + *--identify-strict*)
  9201. + lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
  9202. + ;;
  9203. + *)
  9204. + lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
  9205. + ;;
  9206. + esac
  9207. + ;;
  9208. +*)
  9209. + # fallback: assume linklib IS sharedlib
  9210. + lt_cv_sharedlib_from_linklib_cmd="$ECHO"
  9211. + ;;
  9212. +esac
  9213. +])
  9214. +sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
  9215. +test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
  9216. +
  9217. +_LT_DECL([], [sharedlib_from_linklib_cmd], [1],
  9218. + [Command to associate shared and link libraries])
  9219. +])# _LT_CHECK_SHAREDLIB_FROM_LINKLIB
  9220. +
  9221. +
  9222. +# _LT_PATH_MANIFEST_TOOL
  9223. +# ----------------------
  9224. +# locate the manifest tool
  9225. +m4_defun([_LT_PATH_MANIFEST_TOOL],
  9226. +[AC_CHECK_TOOL(MANIFEST_TOOL, mt, :)
  9227. +test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
  9228. +AC_CACHE_CHECK([if $MANIFEST_TOOL is a manifest tool], [lt_cv_path_mainfest_tool],
  9229. + [lt_cv_path_mainfest_tool=no
  9230. + echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&AS_MESSAGE_LOG_FD
  9231. + $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
  9232. + cat conftest.err >&AS_MESSAGE_LOG_FD
  9233. + if $GREP 'Manifest Tool' conftest.out > /dev/null; then
  9234. + lt_cv_path_mainfest_tool=yes
  9235. + fi
  9236. + rm -f conftest*])
  9237. +if test "x$lt_cv_path_mainfest_tool" != xyes; then
  9238. + MANIFEST_TOOL=:
  9239. +fi
  9240. +_LT_DECL([], [MANIFEST_TOOL], [1], [Manifest tool])dnl
  9241. +])# _LT_PATH_MANIFEST_TOOL
  9242. +
  9243. # LT_LIB_M
  9244. # --------
  9245. @@ -3268,7 +3389,7 @@
  9246. [AC_REQUIRE([AC_CANONICAL_HOST])dnl
  9247. LIBM=
  9248. case $host in
  9249. -*-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*)
  9250. +*-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*)
  9251. # These system don't have libm, or don't need it
  9252. ;;
  9253. *-ncr-sysv4.3*)
  9254. @@ -3296,7 +3417,12 @@
  9255. _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
  9256. if test "$GCC" = yes; then
  9257. - _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
  9258. + case $cc_basename in
  9259. + nvcc*)
  9260. + _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -Xcompiler -fno-builtin' ;;
  9261. + *)
  9262. + _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' ;;
  9263. + esac
  9264. _LT_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions],
  9265. lt_cv_prog_compiler_rtti_exceptions,
  9266. @@ -3313,6 +3439,7 @@
  9267. m4_defun([_LT_CMD_GLOBAL_SYMBOLS],
  9268. [AC_REQUIRE([AC_CANONICAL_HOST])dnl
  9269. AC_REQUIRE([AC_PROG_CC])dnl
  9270. +AC_REQUIRE([AC_PROG_AWK])dnl
  9271. AC_REQUIRE([LT_PATH_NM])dnl
  9272. AC_REQUIRE([LT_PATH_LD])dnl
  9273. m4_require([_LT_DECL_SED])dnl
  9274. @@ -3380,8 +3507,8 @@
  9275. lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
  9276. # Transform an extracted symbol line into symbol name and symbol address
  9277. -lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (void *) \&\2},/p'"
  9278. -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'"
  9279. +lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\)[[ ]]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (void *) \&\2},/p'"
  9280. +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'"
  9281. # Handle CRLF in mingw tool chain
  9282. opt_cr=
  9283. @@ -3438,7 +3565,7 @@
  9284. if AC_TRY_EVAL(ac_compile); then
  9285. # Now try to grab the symbols.
  9286. nlist=conftest.nm
  9287. - if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) && test -s "$nlist"; then
  9288. + if AC_TRY_EVAL(NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) && test -s "$nlist"; then
  9289. # Try sorting and uniquifying the output.
  9290. if sort "$nlist" | uniq > "$nlist"T; then
  9291. mv -f "$nlist"T "$nlist"
  9292. @@ -3528,6 +3655,13 @@
  9293. AC_MSG_RESULT(ok)
  9294. fi
  9295. +# Response file support.
  9296. +if test "$lt_cv_nm_interface" = "MS dumpbin"; then
  9297. + nm_file_list_spec='@'
  9298. +elif $NM --help 2>/dev/null | grep '[[@]]FILE' >/dev/null; then
  9299. + nm_file_list_spec='@'
  9300. +fi
  9301. +
  9302. _LT_DECL([global_symbol_pipe], [lt_cv_sys_global_symbol_pipe], [1],
  9303. [Take the output of nm and produce a listing of raw symbols and C names])
  9304. _LT_DECL([global_symbol_to_cdecl], [lt_cv_sys_global_symbol_to_cdecl], [1],
  9305. @@ -3538,6 +3672,8 @@
  9306. _LT_DECL([global_symbol_to_c_name_address_lib_prefix],
  9307. [lt_cv_sys_global_symbol_to_c_name_address_lib_prefix], [1],
  9308. [Transform the output of nm in a C name address pair when lib prefix is needed])
  9309. +_LT_DECL([], [nm_file_list_spec], [1],
  9310. + [Specify filename containing input files for $NM])
  9311. ]) # _LT_CMD_GLOBAL_SYMBOLS
  9312. @@ -3549,7 +3685,6 @@
  9313. _LT_TAGVAR(lt_prog_compiler_pic, $1)=
  9314. _LT_TAGVAR(lt_prog_compiler_static, $1)=
  9315. -AC_MSG_CHECKING([for $compiler option to produce PIC])
  9316. m4_if([$1], [CXX], [
  9317. # C++ specific cases for pic, static, wl, etc.
  9318. if test "$GXX" = yes; then
  9319. @@ -3600,6 +3735,11 @@
  9320. # DJGPP does not support shared libraries at all
  9321. _LT_TAGVAR(lt_prog_compiler_pic, $1)=
  9322. ;;
  9323. + haiku*)
  9324. + # PIC is the default for Haiku.
  9325. + # The "-static" flag exists, but is broken.
  9326. + _LT_TAGVAR(lt_prog_compiler_static, $1)=
  9327. + ;;
  9328. interix[[3-9]]*)
  9329. # Interix 3.x gcc -fpic/-fPIC options generate broken code.
  9330. # Instead, we relocate shared libraries at runtime.
  9331. @@ -3738,8 +3878,8 @@
  9332. _LT_TAGVAR(lt_prog_compiler_pic, $1)=
  9333. _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
  9334. ;;
  9335. - xlc* | xlC*)
  9336. - # IBM XL 8.0 on PPC
  9337. + xlc* | xlC* | bgxl[[cC]]* | mpixl[[cC]]*)
  9338. + # IBM XL 8.0, 9.0 on PPC and BlueGene
  9339. _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  9340. _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic'
  9341. _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink'
  9342. @@ -3769,7 +3909,7 @@
  9343. ;;
  9344. esac
  9345. ;;
  9346. - netbsd* | netbsdelf*-gnu)
  9347. + netbsd*)
  9348. ;;
  9349. *qnx* | *nto*)
  9350. # QNX uses GNU C++, but need to define -shared option too, otherwise
  9351. @@ -3801,7 +3941,7 @@
  9352. ;;
  9353. solaris*)
  9354. case $cc_basename in
  9355. - CC*)
  9356. + CC* | sunCC*)
  9357. # Sun C++ 4.2, 5.x and Centerline C++
  9358. _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  9359. _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  9360. @@ -3905,6 +4045,12 @@
  9361. _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
  9362. ;;
  9363. + haiku*)
  9364. + # PIC is the default for Haiku.
  9365. + # The "-static" flag exists, but is broken.
  9366. + _LT_TAGVAR(lt_prog_compiler_static, $1)=
  9367. + ;;
  9368. +
  9369. hpux*)
  9370. # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
  9371. # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
  9372. @@ -3947,6 +4093,13 @@
  9373. _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  9374. ;;
  9375. esac
  9376. +
  9377. + case $cc_basename in
  9378. + nvcc*) # Cuda Compiler Driver 2.2
  9379. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Xlinker '
  9380. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-Xcompiler -fPIC'
  9381. + ;;
  9382. + esac
  9383. else
  9384. # PORTME Check for flag to pass linker flags through the system compiler.
  9385. case $host_os in
  9386. @@ -4010,7 +4163,7 @@
  9387. _LT_TAGVAR(lt_prog_compiler_pic, $1)='--shared'
  9388. _LT_TAGVAR(lt_prog_compiler_static, $1)='--static'
  9389. ;;
  9390. - pgcc* | pgf77* | pgf90* | pgf95*)
  9391. + pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
  9392. # Portland Group compilers (*not* the Pentium gcc compiler,
  9393. # which looks to be a dead project)
  9394. _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  9395. @@ -4022,25 +4175,25 @@
  9396. # All Alpha code is PIC.
  9397. _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
  9398. ;;
  9399. - xl*)
  9400. - # IBM XL C 8.0/Fortran 10.1 on PPC
  9401. + xl* | bgxl* | bgf* | mpixl*)
  9402. + # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
  9403. _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  9404. _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic'
  9405. _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink'
  9406. ;;
  9407. *)
  9408. case `$CC -V 2>&1 | sed 5q` in
  9409. - *Sun\ C*)
  9410. - # Sun C 5.9
  9411. + *Sun\ F* | *Sun*Fortran*)
  9412. + # Sun Fortran 8.3 passes all unrecognized flags to the linker
  9413. _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  9414. _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  9415. - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  9416. + _LT_TAGVAR(lt_prog_compiler_wl, $1)=''
  9417. ;;
  9418. - *Sun\ F*)
  9419. - # Sun Fortran 8.3 passes all unrecognized flags to the linker
  9420. + *Sun\ C*)
  9421. + # Sun C 5.9
  9422. _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  9423. _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  9424. - _LT_TAGVAR(lt_prog_compiler_wl, $1)=''
  9425. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  9426. ;;
  9427. esac
  9428. ;;
  9429. @@ -4072,7 +4225,7 @@
  9430. _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  9431. _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  9432. case $cc_basename in
  9433. - f77* | f90* | f95*)
  9434. + f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
  9435. _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';;
  9436. *)
  9437. _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';;
  9438. @@ -4129,9 +4282,11 @@
  9439. _LT_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])"
  9440. ;;
  9441. esac
  9442. -AC_MSG_RESULT([$_LT_TAGVAR(lt_prog_compiler_pic, $1)])
  9443. -_LT_TAGDECL([wl], [lt_prog_compiler_wl], [1],
  9444. - [How to pass a linker flag through the compiler])
  9445. +
  9446. +AC_CACHE_CHECK([for $compiler option to produce PIC],
  9447. + [_LT_TAGVAR(lt_cv_prog_compiler_pic, $1)],
  9448. + [_LT_TAGVAR(lt_cv_prog_compiler_pic, $1)=$_LT_TAGVAR(lt_prog_compiler_pic, $1)])
  9449. +_LT_TAGVAR(lt_prog_compiler_pic, $1)=$_LT_TAGVAR(lt_cv_prog_compiler_pic, $1)
  9450. #
  9451. # Check to make sure the PIC flag actually works.
  9452. @@ -4150,6 +4305,8 @@
  9453. _LT_TAGDECL([pic_flag], [lt_prog_compiler_pic], [1],
  9454. [Additional compiler flags for building library objects])
  9455. +_LT_TAGDECL([wl], [lt_prog_compiler_wl], [1],
  9456. + [How to pass a linker flag through the compiler])
  9457. #
  9458. # Check to make sure the static flag actually works.
  9459. #
  9460. @@ -4170,6 +4327,7 @@
  9461. m4_defun([_LT_LINKER_SHLIBS],
  9462. [AC_REQUIRE([LT_PATH_LD])dnl
  9463. AC_REQUIRE([LT_PATH_NM])dnl
  9464. +m4_require([_LT_PATH_MANIFEST_TOOL])dnl
  9465. m4_require([_LT_FILEUTILS_DEFAULTS])dnl
  9466. m4_require([_LT_DECL_EGREP])dnl
  9467. m4_require([_LT_DECL_SED])dnl
  9468. @@ -4178,30 +4336,35 @@
  9469. AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
  9470. m4_if([$1], [CXX], [
  9471. _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  9472. + _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
  9473. case $host_os in
  9474. aix[[4-9]]*)
  9475. # If we're using GNU nm, then we don't want the "-C" option.
  9476. # -C means demangle to AIX nm, but means don't demangle with GNU nm
  9477. + # Also, AIX nm treats weak defined symbols like other global defined
  9478. + # symbols, whereas GNU nm marks them as "W".
  9479. if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
  9480. - _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'
  9481. + _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
  9482. else
  9483. _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'
  9484. fi
  9485. ;;
  9486. pw32*)
  9487. _LT_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds"
  9488. - ;;
  9489. + ;;
  9490. cygwin* | mingw* | cegcc*)
  9491. - _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'
  9492. - ;;
  9493. - linux* | k*bsd*-gnu)
  9494. - _LT_TAGVAR(link_all_deplibs, $1)=no
  9495. - ;;
  9496. + case $cc_basename in
  9497. + cl*) ;;
  9498. + *)
  9499. + _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\'' | sort | uniq > $export_symbols'
  9500. + _LT_TAGVAR(exclude_expsyms, $1)=['[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname']
  9501. + ;;
  9502. + esac
  9503. + ;;
  9504. *)
  9505. _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  9506. - ;;
  9507. + ;;
  9508. esac
  9509. - _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
  9510. ], [
  9511. runpath_var=
  9512. _LT_TAGVAR(allow_undefined_flag, $1)=
  9513. @@ -4261,13 +4424,36 @@
  9514. openbsd*)
  9515. with_gnu_ld=no
  9516. ;;
  9517. - linux* | k*bsd*-gnu)
  9518. - _LT_TAGVAR(link_all_deplibs, $1)=no
  9519. - ;;
  9520. esac
  9521. _LT_TAGVAR(ld_shlibs, $1)=yes
  9522. +
  9523. + # On some targets, GNU ld is compatible enough with the native linker
  9524. + # that we're better off using the native interface for both.
  9525. + lt_use_gnu_ld_interface=no
  9526. if test "$with_gnu_ld" = yes; then
  9527. + case $host_os in
  9528. + aix*)
  9529. + # The AIX port of GNU ld has always aspired to compatibility
  9530. + # with the native linker. However, as the warning in the GNU ld
  9531. + # block says, versions before 2.19.5* couldn't really create working
  9532. + # shared libraries, regardless of the interface used.
  9533. + case `$LD -v 2>&1` in
  9534. + *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
  9535. + *\ \(GNU\ Binutils\)\ 2.[[2-9]]*) ;;
  9536. + *\ \(GNU\ Binutils\)\ [[3-9]]*) ;;
  9537. + *)
  9538. + lt_use_gnu_ld_interface=yes
  9539. + ;;
  9540. + esac
  9541. + ;;
  9542. + *)
  9543. + lt_use_gnu_ld_interface=yes
  9544. + ;;
  9545. + esac
  9546. + fi
  9547. +
  9548. + if test "$lt_use_gnu_ld_interface" = yes; then
  9549. # If archive_cmds runs LD, not CC, wlarc should be empty
  9550. wlarc='${wl}'
  9551. @@ -4301,11 +4487,12 @@
  9552. _LT_TAGVAR(ld_shlibs, $1)=no
  9553. cat <<_LT_EOF 1>&2
  9554. -*** Warning: the GNU linker, at least up to release 2.9.1, is reported
  9555. +*** Warning: the GNU linker, at least up to release 2.19, is reported
  9556. *** to be unable to reliably create shared libraries on AIX.
  9557. *** Therefore, libtool is disabling shared libraries support. If you
  9558. -*** really care for shared libraries, you may want to modify your PATH
  9559. -*** so that a non-GNU linker is found, and then restart.
  9560. +*** really care for shared libraries, you may want to install binutils
  9561. +*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
  9562. +*** You will then need to restart the configuration process.
  9563. _LT_EOF
  9564. fi
  9565. @@ -4341,10 +4528,12 @@
  9566. # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
  9567. # as there is no search path for DLLs.
  9568. _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  9569. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-all-symbols'
  9570. _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
  9571. _LT_TAGVAR(always_export_symbols, $1)=no
  9572. _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
  9573. - _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'
  9574. + _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\'' | sort | uniq > $export_symbols'
  9575. + _LT_TAGVAR(exclude_expsyms, $1)=['[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname']
  9576. if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
  9577. _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'
  9578. @@ -4362,6 +4551,11 @@
  9579. fi
  9580. ;;
  9581. + haiku*)
  9582. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  9583. + _LT_TAGVAR(link_all_deplibs, $1)=yes
  9584. + ;;
  9585. +
  9586. interix[[3-9]]*)
  9587. _LT_TAGVAR(hardcode_direct, $1)=no
  9588. _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  9589. @@ -4391,11 +4585,12 @@
  9590. tmp_sharedflag='-shared'
  9591. case $cc_basename,$host_cpu in
  9592. pgcc*) # Portland Group C compiler
  9593. - _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'
  9594. + _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
  9595. tmp_addflag=' $pic_flag'
  9596. ;;
  9597. - pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
  9598. - _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'
  9599. + pgf77* | pgf90* | pgf95* | pgfortran*)
  9600. + # Portland Group f77 and f90 compilers
  9601. + _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
  9602. tmp_addflag=' $pic_flag -Mnomain' ;;
  9603. ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
  9604. tmp_addflag=' -i_dynamic' ;;
  9605. @@ -4406,13 +4601,17 @@
  9606. lf95*) # Lahey Fortran 8.1
  9607. _LT_TAGVAR(whole_archive_flag_spec, $1)=
  9608. tmp_sharedflag='--shared' ;;
  9609. - xl[[cC]]*) # IBM XL C 8.0 on PPC (deal with xlf below)
  9610. + xl[[cC]]* | bgxl[[cC]]* | mpixl[[cC]]*) # IBM XL C 8.0 on PPC (deal with xlf below)
  9611. tmp_sharedflag='-qmkshrobj'
  9612. tmp_addflag= ;;
  9613. + nvcc*) # Cuda Compiler Driver 2.2
  9614. + _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
  9615. + _LT_TAGVAR(compiler_needs_object, $1)=yes
  9616. + ;;
  9617. esac
  9618. case `$CC -V 2>&1 | sed 5q` in
  9619. *Sun\ C*) # Sun C 5.9
  9620. - _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'
  9621. + _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
  9622. _LT_TAGVAR(compiler_needs_object, $1)=yes
  9623. tmp_sharedflag='-G' ;;
  9624. *Sun\ F*) # Sun Fortran 8.3
  9625. @@ -4428,17 +4627,17 @@
  9626. fi
  9627. case $cc_basename in
  9628. - xlf*)
  9629. + xlf* | bgf* | bgxlf* | mpixlf*)
  9630. # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
  9631. _LT_TAGVAR(whole_archive_flag_spec, $1)='--whole-archive$convenience --no-whole-archive'
  9632. _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
  9633. _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir'
  9634. - _LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
  9635. + _LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
  9636. if test "x$supports_anon_versioning" = xyes; then
  9637. _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
  9638. cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  9639. echo "local: *; };" >> $output_objdir/$libname.ver~
  9640. - $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
  9641. + $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
  9642. fi
  9643. ;;
  9644. esac
  9645. @@ -4447,7 +4646,7 @@
  9646. fi
  9647. ;;
  9648. - netbsd* | netbsdelf*-gnu)
  9649. + netbsd*)
  9650. if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  9651. _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
  9652. wlarc=
  9653. @@ -4559,8 +4758,10 @@
  9654. else
  9655. # If we're using GNU nm, then we don't want the "-C" option.
  9656. # -C means demangle to AIX nm, but means don't demangle with GNU nm
  9657. + # Also, AIX nm treats weak defined symbols like other global
  9658. + # defined symbols, whereas GNU nm marks them as "W".
  9659. if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
  9660. - _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'
  9661. + _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
  9662. else
  9663. _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'
  9664. fi
  9665. @@ -4622,7 +4823,6 @@
  9666. if test "$aix_use_runtimelinking" = yes; then
  9667. shared_flag="$shared_flag "'${wl}-G'
  9668. fi
  9669. - _LT_TAGVAR(link_all_deplibs, $1)=no
  9670. else
  9671. # not using gcc
  9672. if test "$host_cpu" = ia64; then
  9673. @@ -4650,7 +4850,7 @@
  9674. # empty executable.
  9675. _LT_SYS_MODULE_PATH_AIX
  9676. _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
  9677. - _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"
  9678. + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
  9679. else
  9680. if test "$host_cpu" = ia64; then
  9681. _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
  9682. @@ -4665,8 +4865,13 @@
  9683. # -berok will link without error, but may produce a broken library.
  9684. _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
  9685. _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
  9686. - # Exported symbols can be pulled into shared objects from archives
  9687. - _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
  9688. + if test "$with_gnu_ld" = yes; then
  9689. + # We only use this code for GNU lds that support --whole-archive.
  9690. + _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
  9691. + else
  9692. + # Exported symbols can be pulled into shared objects from archives
  9693. + _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
  9694. + fi
  9695. _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
  9696. # This is similar to how AIX traditionally builds its shared libraries.
  9697. _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'
  9698. @@ -4698,20 +4903,60 @@
  9699. # Microsoft Visual C++.
  9700. # hardcode_libdir_flag_spec is actually meaningless, as there is
  9701. # no search path for DLLs.
  9702. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
  9703. - _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
  9704. - # Tell ltmain to make .lib files, not .a files.
  9705. - libext=lib
  9706. - # Tell ltmain to make .dll files, not .so files.
  9707. - shrext_cmds=".dll"
  9708. - # FIXME: Setting linknames here is a bad hack.
  9709. - _LT_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
  9710. - # The linker will automatically build a .lib file if we build a DLL.
  9711. - _LT_TAGVAR(old_archive_from_new_cmds, $1)='true'
  9712. - # FIXME: Should let the user specify the lib program.
  9713. - _LT_TAGVAR(old_archive_cmds, $1)='lib -OUT:$oldlib$oldobjs$old_deplibs'
  9714. - _LT_TAGVAR(fix_srcfile_path, $1)='`cygpath -w "$srcfile"`'
  9715. - _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
  9716. + case $cc_basename in
  9717. + cl*)
  9718. + # Native MSVC
  9719. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
  9720. + _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
  9721. + _LT_TAGVAR(always_export_symbols, $1)=yes
  9722. + _LT_TAGVAR(file_list_spec, $1)='@'
  9723. + # Tell ltmain to make .lib files, not .a files.
  9724. + libext=lib
  9725. + # Tell ltmain to make .dll files, not .so files.
  9726. + shrext_cmds=".dll"
  9727. + # FIXME: Setting linknames here is a bad hack.
  9728. + _LT_TAGVAR(archive_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
  9729. + _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
  9730. + sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
  9731. + else
  9732. + sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
  9733. + fi~
  9734. + $CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs @$output_objdir/$soname.exp -Wl,-DLL~
  9735. + linknames='
  9736. + # The linker will not automatically build a static lib if we build a DLL.
  9737. + # _LT_TAGVAR(old_archive_from_new_cmds, $1)='true'
  9738. + _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
  9739. + _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'
  9740. + # Don't use ranlib
  9741. + _LT_TAGVAR(old_postinstall_cmds, $1)='chmod 644 $oldlib'
  9742. + _LT_TAGVAR(postlink_cmds, $1)='lt_outputfile="@OUTPUT@"~
  9743. + case $lt_outputfile in
  9744. + *.exe|*.EXE) ;;
  9745. + *) lt_outputfile="$lt_outputfile.exe" ;;
  9746. + esac~
  9747. + if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
  9748. + $MANIFEST_TOOL -manifest "$lt_outputfile.manifest" -outputresource:"$lt_outputfile" || exit 1;
  9749. + $RM "$lt_outputfile.manifest";
  9750. + fi'
  9751. + ;;
  9752. + *)
  9753. + # Assume MSVC wrapper
  9754. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
  9755. + _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
  9756. + # Tell ltmain to make .lib files, not .a files.
  9757. + libext=lib
  9758. + # Tell ltmain to make .dll files, not .so files.
  9759. + shrext_cmds=".dll"
  9760. + # FIXME: Setting linknames here is a bad hack.
  9761. + _LT_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
  9762. + # The linker will automatically build a .lib file if we build a DLL.
  9763. + _LT_TAGVAR(old_archive_from_new_cmds, $1)='true'
  9764. + # FIXME: Should let the user specify the lib program.
  9765. + _LT_TAGVAR(old_archive_cmds, $1)='lib -OUT:$oldlib$oldobjs$old_deplibs'
  9766. + _LT_TAGVAR(fix_srcfile_path, $1)='`cygpath -w "$srcfile"`'
  9767. + _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
  9768. + ;;
  9769. + esac
  9770. ;;
  9771. darwin* | rhapsody*)
  9772. @@ -4772,7 +5017,7 @@
  9773. ;;
  9774. hpux10*)
  9775. - if test "$GCC" = yes -a "$with_gnu_ld" = no; then
  9776. + if test "$GCC" = yes && test "$with_gnu_ld" = no; then
  9777. _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  9778. else
  9779. _LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
  9780. @@ -4791,7 +5036,7 @@
  9781. ;;
  9782. hpux11*)
  9783. - if test "$GCC" = yes -a "$with_gnu_ld" = no; then
  9784. + if test "$GCC" = yes && test "$with_gnu_ld" = no; then
  9785. case $host_cpu in
  9786. hppa*64*)
  9787. _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  9788. @@ -4812,7 +5057,14 @@
  9789. _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  9790. ;;
  9791. *)
  9792. - _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  9793. + m4_if($1, [], [
  9794. + # Older versions of the 11.00 compiler do not understand -b yet
  9795. + # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
  9796. + _LT_LINKER_OPTION([if $CC understands -b],
  9797. + _LT_TAGVAR(lt_cv_prog_compiler__b, $1), [-b],
  9798. + [_LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'],
  9799. + [_LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'])],
  9800. + [_LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'])
  9801. ;;
  9802. esac
  9803. fi
  9804. @@ -4840,19 +5092,19 @@
  9805. irix5* | irix6* | nonstopux*)
  9806. if test "$GCC" = yes; then
  9807. - _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'
  9808. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  9809. # Try to use the -exported_symbol ld option, if it does not
  9810. # work, assume that -exports_file does not work either and
  9811. # implicitly export all symbols.
  9812. save_LDFLAGS="$LDFLAGS"
  9813. LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
  9814. AC_LINK_IFELSE(int foo(void) {},
  9815. - _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'
  9816. + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
  9817. )
  9818. LDFLAGS="$save_LDFLAGS"
  9819. else
  9820. - _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'
  9821. - _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'
  9822. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
  9823. + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
  9824. fi
  9825. _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
  9826. _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  9827. @@ -4861,7 +5113,7 @@
  9828. _LT_TAGVAR(link_all_deplibs, $1)=yes
  9829. ;;
  9830. - netbsd* | netbsdelf*-gnu)
  9831. + netbsd*)
  9832. if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  9833. _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
  9834. else
  9835. @@ -4914,17 +5166,17 @@
  9836. _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  9837. _LT_TAGVAR(hardcode_minus_L, $1)=yes
  9838. _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
  9839. - _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'
  9840. + _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'
  9841. _LT_TAGVAR(old_archive_from_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
  9842. ;;
  9843. osf3*)
  9844. if test "$GCC" = yes; then
  9845. _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
  9846. - _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'
  9847. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  9848. else
  9849. _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
  9850. - _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'
  9851. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
  9852. fi
  9853. _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
  9854. _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  9855. @@ -4934,13 +5186,13 @@
  9856. osf4* | osf5*) # as osf3* with the addition of -msym flag
  9857. if test "$GCC" = yes; then
  9858. _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
  9859. - _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'
  9860. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  9861. _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  9862. else
  9863. _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
  9864. - _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'
  9865. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
  9866. _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~
  9867. - $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'
  9868. + $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
  9869. # Both c and cxx compiler support -rpath directly
  9870. _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
  9871. @@ -5131,36 +5383,38 @@
  9872. # Test whether the compiler implicitly links with -lc since on some
  9873. # systems, -lgcc has to come before -lc. If gcc already passes -lc
  9874. # to ld, don't add -lc before -lgcc.
  9875. - AC_MSG_CHECKING([whether -lc should be explicitly linked in])
  9876. - $RM conftest*
  9877. - echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  9878. -
  9879. - if AC_TRY_EVAL(ac_compile) 2>conftest.err; then
  9880. - soname=conftest
  9881. - lib=conftest
  9882. - libobjs=conftest.$ac_objext
  9883. - deplibs=
  9884. - wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1)
  9885. - pic_flag=$_LT_TAGVAR(lt_prog_compiler_pic, $1)
  9886. - compiler_flags=-v
  9887. - linker_flags=-v
  9888. - verstring=
  9889. - output_objdir=.
  9890. - libname=conftest
  9891. - lt_save_allow_undefined_flag=$_LT_TAGVAR(allow_undefined_flag, $1)
  9892. - _LT_TAGVAR(allow_undefined_flag, $1)=
  9893. - if AC_TRY_EVAL(_LT_TAGVAR(archive_cmds, $1) 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1)
  9894. - then
  9895. - _LT_TAGVAR(archive_cmds_need_lc, $1)=no
  9896. - else
  9897. - _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
  9898. - fi
  9899. - _LT_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag
  9900. - else
  9901. - cat conftest.err 1>&5
  9902. - fi
  9903. - $RM conftest*
  9904. - AC_MSG_RESULT([$_LT_TAGVAR(archive_cmds_need_lc, $1)])
  9905. + AC_CACHE_CHECK([whether -lc should be explicitly linked in],
  9906. + [lt_cv_]_LT_TAGVAR(archive_cmds_need_lc, $1),
  9907. + [$RM conftest*
  9908. + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  9909. +
  9910. + if AC_TRY_EVAL(ac_compile) 2>conftest.err; then
  9911. + soname=conftest
  9912. + lib=conftest
  9913. + libobjs=conftest.$ac_objext
  9914. + deplibs=
  9915. + wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1)
  9916. + pic_flag=$_LT_TAGVAR(lt_prog_compiler_pic, $1)
  9917. + compiler_flags=-v
  9918. + linker_flags=-v
  9919. + verstring=
  9920. + output_objdir=.
  9921. + libname=conftest
  9922. + lt_save_allow_undefined_flag=$_LT_TAGVAR(allow_undefined_flag, $1)
  9923. + _LT_TAGVAR(allow_undefined_flag, $1)=
  9924. + if AC_TRY_EVAL(_LT_TAGVAR(archive_cmds, $1) 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1)
  9925. + then
  9926. + lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1)=no
  9927. + else
  9928. + lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1)=yes
  9929. + fi
  9930. + _LT_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag
  9931. + else
  9932. + cat conftest.err 1>&5
  9933. + fi
  9934. + $RM conftest*
  9935. + ])
  9936. + _LT_TAGVAR(archive_cmds_need_lc, $1)=$lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1)
  9937. ;;
  9938. esac
  9939. fi
  9940. @@ -5237,6 +5491,8 @@
  9941. [Symbols that must always be exported])
  9942. _LT_TAGDECL([], [prelink_cmds], [2],
  9943. [Commands necessary for linking programs (against libraries) with templates])
  9944. +_LT_TAGDECL([], [postlink_cmds], [2],
  9945. + [Commands necessary for finishing linking programs])
  9946. _LT_TAGDECL([], [file_list_spec], [1],
  9947. [Specify filename containing input files])
  9948. dnl FIXME: Not yet implemented
  9949. @@ -5330,37 +5586,22 @@
  9950. ])# _LT_LANG_C_CONFIG
  9951. -# _LT_PROG_CXX
  9952. -# ------------
  9953. -# Since AC_PROG_CXX is broken, in that it returns g++ if there is no c++
  9954. -# compiler, we have our own version here.
  9955. -m4_defun([_LT_PROG_CXX],
  9956. -[
  9957. -pushdef([AC_MSG_ERROR], [_lt_caught_CXX_error=yes])
  9958. -AC_PROG_CXX
  9959. -if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
  9960. - ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
  9961. - (test "X$CXX" != "Xg++"))) ; then
  9962. - AC_PROG_CXXCPP
  9963. -else
  9964. - _lt_caught_CXX_error=yes
  9965. -fi
  9966. -popdef([AC_MSG_ERROR])
  9967. -])# _LT_PROG_CXX
  9968. -
  9969. -dnl aclocal-1.4 backwards compatibility:
  9970. -dnl AC_DEFUN([_LT_PROG_CXX], [])
  9971. -
  9972. -
  9973. # _LT_LANG_CXX_CONFIG([TAG])
  9974. # --------------------------
  9975. # Ensure that the configuration variables for a C++ compiler are suitably
  9976. # defined. These variables are subsequently used by _LT_CONFIG to write
  9977. # the compiler configuration to `libtool'.
  9978. m4_defun([_LT_LANG_CXX_CONFIG],
  9979. -[AC_REQUIRE([_LT_PROG_CXX])dnl
  9980. -m4_require([_LT_FILEUTILS_DEFAULTS])dnl
  9981. +[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
  9982. m4_require([_LT_DECL_EGREP])dnl
  9983. +m4_require([_LT_PATH_MANIFEST_TOOL])dnl
  9984. +if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
  9985. + ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
  9986. + (test "X$CXX" != "Xg++"))) ; then
  9987. + AC_PROG_CXXCPP
  9988. +else
  9989. + _lt_caught_CXX_error=yes
  9990. +fi
  9991. AC_LANG_PUSH(C++)
  9992. _LT_TAGVAR(archive_cmds_need_lc, $1)=no
  9993. @@ -5382,6 +5623,8 @@
  9994. _LT_TAGVAR(module_expsym_cmds, $1)=
  9995. _LT_TAGVAR(link_all_deplibs, $1)=unknown
  9996. _LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
  9997. +_LT_TAGVAR(reload_flag, $1)=$reload_flag
  9998. +_LT_TAGVAR(reload_cmds, $1)=$reload_cmds
  9999. _LT_TAGVAR(no_undefined_flag, $1)=
  10000. _LT_TAGVAR(whole_archive_flag_spec, $1)=
  10001. _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
  10002. @@ -5484,7 +5727,7 @@
  10003. # Commands to make compiler produce verbose output that lists
  10004. # what "hidden" libraries, object files and flags are used when
  10005. # linking a shared library.
  10006. - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
  10007. + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
  10008. else
  10009. GXX=no
  10010. @@ -5596,7 +5839,7 @@
  10011. _LT_SYS_MODULE_PATH_AIX
  10012. _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
  10013. - _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"
  10014. + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
  10015. else
  10016. if test "$host_cpu" = ia64; then
  10017. _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
  10018. @@ -5611,8 +5854,13 @@
  10019. # -berok will link without error, but may produce a broken library.
  10020. _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
  10021. _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
  10022. - # Exported symbols can be pulled into shared objects from archives
  10023. - _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
  10024. + if test "$with_gnu_ld" = yes; then
  10025. + # We only use this code for GNU lds that support --whole-archive.
  10026. + _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
  10027. + else
  10028. + # Exported symbols can be pulled into shared objects from archives
  10029. + _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
  10030. + fi
  10031. _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
  10032. # This is similar to how AIX traditionally builds its shared
  10033. # libraries.
  10034. @@ -5642,28 +5890,70 @@
  10035. ;;
  10036. cygwin* | mingw* | pw32* | cegcc*)
  10037. - # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
  10038. - # as there is no search path for DLLs.
  10039. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  10040. - _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
  10041. - _LT_TAGVAR(always_export_symbols, $1)=no
  10042. - _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
  10043. -
  10044. - if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
  10045. - _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'
  10046. - # If the export-symbols file already is a .def file (1st line
  10047. - # is EXPORTS), use it as is; otherwise, prepend...
  10048. - _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
  10049. - cp $export_symbols $output_objdir/$soname.def;
  10050. - else
  10051. - echo EXPORTS > $output_objdir/$soname.def;
  10052. - cat $export_symbols >> $output_objdir/$soname.def;
  10053. - fi~
  10054. - $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'
  10055. - else
  10056. - _LT_TAGVAR(ld_shlibs, $1)=no
  10057. - fi
  10058. - ;;
  10059. + case $GXX,$cc_basename in
  10060. + ,cl* | no,cl*)
  10061. + # Native MSVC
  10062. + # hardcode_libdir_flag_spec is actually meaningless, as there is
  10063. + # no search path for DLLs.
  10064. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
  10065. + _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
  10066. + _LT_TAGVAR(always_export_symbols, $1)=yes
  10067. + _LT_TAGVAR(file_list_spec, $1)='@'
  10068. + # Tell ltmain to make .lib files, not .a files.
  10069. + libext=lib
  10070. + # Tell ltmain to make .dll files, not .so files.
  10071. + shrext_cmds=".dll"
  10072. + # FIXME: Setting linknames here is a bad hack.
  10073. + _LT_TAGVAR(archive_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
  10074. + _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
  10075. + $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
  10076. + else
  10077. + $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
  10078. + fi~
  10079. + $CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs @$output_objdir/$soname.exp -Wl,-DLL~
  10080. + linknames='
  10081. + # The linker will not automatically build a static lib if we build a DLL.
  10082. + # _LT_TAGVAR(old_archive_from_new_cmds, $1)='true'
  10083. + _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
  10084. + # Don't use ranlib
  10085. + _LT_TAGVAR(old_postinstall_cmds, $1)='chmod 644 $oldlib'
  10086. + _LT_TAGVAR(postlink_cmds, $1)='lt_outputfile="@OUTPUT@"~
  10087. + case $lt_outputfile in
  10088. + *.exe|*.EXE) ;;
  10089. + *) lt_outputfile="$lt_outputfile.exe" ;;
  10090. + esac~
  10091. + if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
  10092. + $MANIFEST_TOOL -manifest "$lt_outputfile.manifest" -outputresource:"$lt_outputfile" || exit 1;
  10093. + $RM "$lt_outputfile.manifest";
  10094. + fi'
  10095. + ;;
  10096. + *)
  10097. + # g++
  10098. + # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
  10099. + # as there is no search path for DLLs.
  10100. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  10101. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-all-symbols'
  10102. + _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
  10103. + _LT_TAGVAR(always_export_symbols, $1)=no
  10104. + _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
  10105. +
  10106. + if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
  10107. + _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'
  10108. + # If the export-symbols file already is a .def file (1st line
  10109. + # is EXPORTS), use it as is; otherwise, prepend...
  10110. + _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
  10111. + cp $export_symbols $output_objdir/$soname.def;
  10112. + else
  10113. + echo EXPORTS > $output_objdir/$soname.def;
  10114. + cat $export_symbols >> $output_objdir/$soname.def;
  10115. + fi~
  10116. + $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'
  10117. + else
  10118. + _LT_TAGVAR(ld_shlibs, $1)=no
  10119. + fi
  10120. + ;;
  10121. + esac
  10122. + ;;
  10123. darwin* | rhapsody*)
  10124. _LT_DARWIN_LINKER_FEATURES($1)
  10125. ;;
  10126. @@ -5705,6 +5995,11 @@
  10127. gnu*)
  10128. ;;
  10129. + haiku*)
  10130. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  10131. + _LT_TAGVAR(link_all_deplibs, $1)=yes
  10132. + ;;
  10133. +
  10134. hpux9*)
  10135. _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
  10136. _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  10137. @@ -5729,7 +6024,7 @@
  10138. # explicitly linking system object files so we need to strip them
  10139. # from the output so that they don't get included in the library
  10140. # dependencies.
  10141. - 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'
  10142. + output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
  10143. ;;
  10144. *)
  10145. if test "$GXX" = yes; then
  10146. @@ -5794,7 +6089,7 @@
  10147. # explicitly linking system object files so we need to strip them
  10148. # from the output so that they don't get included in the library
  10149. # dependencies.
  10150. - 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'
  10151. + output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
  10152. ;;
  10153. *)
  10154. if test "$GXX" = yes; then
  10155. @@ -5837,7 +6132,7 @@
  10156. case $cc_basename in
  10157. CC*)
  10158. # SGI C++
  10159. - _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'
  10160. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
  10161. # Archives containing C++ object files must be created using
  10162. # "CC -ar", where "CC" is the IRIX C++ compiler. This is
  10163. @@ -5848,9 +6143,9 @@
  10164. *)
  10165. if test "$GXX" = yes; then
  10166. if test "$with_gnu_ld" = no; then
  10167. - _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'
  10168. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  10169. else
  10170. - _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'
  10171. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
  10172. fi
  10173. fi
  10174. _LT_TAGVAR(link_all_deplibs, $1)=yes
  10175. @@ -5879,7 +6174,7 @@
  10176. # explicitly linking system object files so we need to strip them
  10177. # from the output so that they don't get included in the library
  10178. # dependencies.
  10179. - 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'
  10180. + output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
  10181. _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  10182. _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
  10183. @@ -5916,26 +6211,26 @@
  10184. pgCC* | pgcpp*)
  10185. # Portland Group C++ compiler
  10186. case `$CC -V` in
  10187. - *pgCC\ [[1-5]]* | *pgcpp\ [[1-5]]*)
  10188. + *pgCC\ [[1-5]].* | *pgcpp\ [[1-5]].*)
  10189. _LT_TAGVAR(prelink_cmds, $1)='tpldir=Template.dir~
  10190. rm -rf $tpldir~
  10191. $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
  10192. - compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
  10193. + compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
  10194. _LT_TAGVAR(old_archive_cmds, $1)='tpldir=Template.dir~
  10195. rm -rf $tpldir~
  10196. $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
  10197. - $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
  10198. + $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
  10199. $RANLIB $oldlib'
  10200. _LT_TAGVAR(archive_cmds, $1)='tpldir=Template.dir~
  10201. rm -rf $tpldir~
  10202. $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
  10203. - $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
  10204. + $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
  10205. _LT_TAGVAR(archive_expsym_cmds, $1)='tpldir=Template.dir~
  10206. rm -rf $tpldir~
  10207. $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
  10208. - $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'
  10209. + $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
  10210. ;;
  10211. - *) # Version 6 will use weak symbols
  10212. + *) # Version 6 and above use weak symbols
  10213. _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
  10214. _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'
  10215. ;;
  10216. @@ -5943,7 +6238,7 @@
  10217. _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
  10218. _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
  10219. - _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'
  10220. + _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
  10221. ;;
  10222. cxx*)
  10223. # Compaq C++
  10224. @@ -5962,9 +6257,9 @@
  10225. # explicitly linking system object files so we need to strip them
  10226. # from the output so that they don't get included in the library
  10227. # dependencies.
  10228. - 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'
  10229. + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
  10230. ;;
  10231. - xl*)
  10232. + xl* | mpixl* | bgxl*)
  10233. # IBM XL 8.0 on PPC, with GNU ld
  10234. _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  10235. _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
  10236. @@ -5984,13 +6279,13 @@
  10237. _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  10238. _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'
  10239. _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
  10240. - _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'
  10241. + _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
  10242. _LT_TAGVAR(compiler_needs_object, $1)=yes
  10243. # Not sure whether something based on
  10244. # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
  10245. # would be better.
  10246. - output_verbose_link_cmd='echo'
  10247. + output_verbose_link_cmd='func_echo_all'
  10248. # Archives containing C++ object files must be created using
  10249. # "CC -xar", where "CC" is the Sun C++ compiler. This is
  10250. @@ -6059,7 +6354,7 @@
  10251. _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  10252. _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
  10253. fi
  10254. - output_verbose_link_cmd=echo
  10255. + output_verbose_link_cmd=func_echo_all
  10256. else
  10257. _LT_TAGVAR(ld_shlibs, $1)=no
  10258. fi
  10259. @@ -6094,15 +6389,15 @@
  10260. case $host in
  10261. osf3*)
  10262. _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
  10263. - _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'
  10264. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
  10265. _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  10266. ;;
  10267. *)
  10268. _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
  10269. - _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'
  10270. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
  10271. _LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
  10272. echo "-hidden">> $lib.exp~
  10273. - $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~
  10274. + $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~
  10275. $RM $lib.exp'
  10276. _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
  10277. ;;
  10278. @@ -6118,17 +6413,17 @@
  10279. # explicitly linking system object files so we need to strip them
  10280. # from the output so that they don't get included in the library
  10281. # dependencies.
  10282. - 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'
  10283. + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
  10284. ;;
  10285. *)
  10286. if test "$GXX" = yes && test "$with_gnu_ld" = no; then
  10287. _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
  10288. case $host in
  10289. osf3*)
  10290. - _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'
  10291. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  10292. ;;
  10293. *)
  10294. - _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'
  10295. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  10296. ;;
  10297. esac
  10298. @@ -6138,7 +6433,7 @@
  10299. # Commands to make compiler produce verbose output that lists
  10300. # what "hidden" libraries, object files and flags are used when
  10301. # linking a shared library.
  10302. - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
  10303. + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
  10304. else
  10305. # FIXME: insert proper C++ library support
  10306. @@ -6174,7 +6469,7 @@
  10307. solaris*)
  10308. case $cc_basename in
  10309. - CC*)
  10310. + CC* | sunCC*)
  10311. # Sun C++ 4.2, 5.x and Centerline C++
  10312. _LT_TAGVAR(archive_cmds_need_lc,$1)=yes
  10313. _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs'
  10314. @@ -6195,7 +6490,7 @@
  10315. esac
  10316. _LT_TAGVAR(link_all_deplibs, $1)=yes
  10317. - output_verbose_link_cmd='echo'
  10318. + output_verbose_link_cmd='func_echo_all'
  10319. # Archives containing C++ object files must be created using
  10320. # "CC -xar", where "CC" is the Sun C++ compiler. This is
  10321. @@ -6222,7 +6517,7 @@
  10322. # Commands to make compiler produce verbose output that lists
  10323. # what "hidden" libraries, object files and flags are used when
  10324. # linking a shared library.
  10325. - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
  10326. + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
  10327. else
  10328. # g++ 2.7 appears to require `-G' NOT `-shared' on this
  10329. # platform.
  10330. @@ -6233,7 +6528,7 @@
  10331. # Commands to make compiler produce verbose output that lists
  10332. # what "hidden" libraries, object files and flags are used when
  10333. # linking a shared library.
  10334. - output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
  10335. + output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
  10336. fi
  10337. _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir'
  10338. @@ -6287,6 +6582,10 @@
  10339. CC*)
  10340. _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  10341. _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  10342. + _LT_TAGVAR(old_archive_cmds, $1)='$CC -Tprelink_objects $oldobjs~
  10343. + '"$_LT_TAGVAR(old_archive_cmds, $1)"
  10344. + _LT_TAGVAR(reload_cmds, $1)='$CC -Tprelink_objects $reload_objs~
  10345. + '"$_LT_TAGVAR(reload_cmds, $1)"
  10346. ;;
  10347. *)
  10348. _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  10349. @@ -6533,7 +6832,7 @@
  10350. solaris*)
  10351. case $cc_basename in
  10352. - CC*)
  10353. + CC* | sunCC*)
  10354. # The more standards-conforming stlport4 library is
  10355. # incompatible with the Cstd library. Avoid specifying
  10356. # it if it's in CXXFLAGS. Ignore libCrun as
  10357. @@ -6577,32 +6876,16 @@
  10358. ])# _LT_SYS_HIDDEN_LIBDEPS
  10359. -# _LT_PROG_F77
  10360. -# ------------
  10361. -# Since AC_PROG_F77 is broken, in that it returns the empty string
  10362. -# if there is no fortran compiler, we have our own version here.
  10363. -m4_defun([_LT_PROG_F77],
  10364. -[
  10365. -pushdef([AC_MSG_ERROR], [_lt_disable_F77=yes])
  10366. -AC_PROG_F77
  10367. -if test -z "$F77" || test "X$F77" = "Xno"; then
  10368. - _lt_disable_F77=yes
  10369. -fi
  10370. -popdef([AC_MSG_ERROR])
  10371. -])# _LT_PROG_F77
  10372. -
  10373. -dnl aclocal-1.4 backwards compatibility:
  10374. -dnl AC_DEFUN([_LT_PROG_F77], [])
  10375. -
  10376. -
  10377. # _LT_LANG_F77_CONFIG([TAG])
  10378. # --------------------------
  10379. # Ensure that the configuration variables for a Fortran 77 compiler are
  10380. # suitably defined. These variables are subsequently used by _LT_CONFIG
  10381. # to write the compiler configuration to `libtool'.
  10382. m4_defun([_LT_LANG_F77_CONFIG],
  10383. -[AC_REQUIRE([_LT_PROG_F77])dnl
  10384. -AC_LANG_PUSH(Fortran 77)
  10385. +[AC_LANG_PUSH(Fortran 77)
  10386. +if test -z "$F77" || test "X$F77" = "Xno"; then
  10387. + _lt_disable_F77=yes
  10388. +fi
  10389. _LT_TAGVAR(archive_cmds_need_lc, $1)=no
  10390. _LT_TAGVAR(allow_undefined_flag, $1)=
  10391. @@ -6621,6 +6904,8 @@
  10392. _LT_TAGVAR(module_expsym_cmds, $1)=
  10393. _LT_TAGVAR(link_all_deplibs, $1)=unknown
  10394. _LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
  10395. +_LT_TAGVAR(reload_flag, $1)=$reload_flag
  10396. +_LT_TAGVAR(reload_cmds, $1)=$reload_cmds
  10397. _LT_TAGVAR(no_undefined_flag, $1)=
  10398. _LT_TAGVAR(whole_archive_flag_spec, $1)=
  10399. _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
  10400. @@ -6720,32 +7005,17 @@
  10401. ])# _LT_LANG_F77_CONFIG
  10402. -# _LT_PROG_FC
  10403. -# -----------
  10404. -# Since AC_PROG_FC is broken, in that it returns the empty string
  10405. -# if there is no fortran compiler, we have our own version here.
  10406. -m4_defun([_LT_PROG_FC],
  10407. -[
  10408. -pushdef([AC_MSG_ERROR], [_lt_disable_FC=yes])
  10409. -AC_PROG_FC
  10410. -if test -z "$FC" || test "X$FC" = "Xno"; then
  10411. - _lt_disable_FC=yes
  10412. -fi
  10413. -popdef([AC_MSG_ERROR])
  10414. -])# _LT_PROG_FC
  10415. -
  10416. -dnl aclocal-1.4 backwards compatibility:
  10417. -dnl AC_DEFUN([_LT_PROG_FC], [])
  10418. -
  10419. -
  10420. # _LT_LANG_FC_CONFIG([TAG])
  10421. # -------------------------
  10422. # Ensure that the configuration variables for a Fortran compiler are
  10423. # suitably defined. These variables are subsequently used by _LT_CONFIG
  10424. # to write the compiler configuration to `libtool'.
  10425. m4_defun([_LT_LANG_FC_CONFIG],
  10426. -[AC_REQUIRE([_LT_PROG_FC])dnl
  10427. -AC_LANG_PUSH(Fortran)
  10428. +[AC_LANG_PUSH(Fortran)
  10429. +
  10430. +if test -z "$FC" || test "X$FC" = "Xno"; then
  10431. + _lt_disable_FC=yes
  10432. +fi
  10433. _LT_TAGVAR(archive_cmds_need_lc, $1)=no
  10434. _LT_TAGVAR(allow_undefined_flag, $1)=
  10435. @@ -6764,6 +7034,8 @@
  10436. _LT_TAGVAR(module_expsym_cmds, $1)=
  10437. _LT_TAGVAR(link_all_deplibs, $1)=unknown
  10438. _LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
  10439. +_LT_TAGVAR(reload_flag, $1)=$reload_flag
  10440. +_LT_TAGVAR(reload_cmds, $1)=$reload_cmds
  10441. _LT_TAGVAR(no_undefined_flag, $1)=
  10442. _LT_TAGVAR(whole_archive_flag_spec, $1)=
  10443. _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
  10444. @@ -6909,6 +7181,8 @@
  10445. _LT_TAGVAR(archive_cmds_need_lc, $1)=no
  10446. _LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
  10447. +_LT_TAGVAR(reload_flag, $1)=$reload_flag
  10448. +_LT_TAGVAR(reload_cmds, $1)=$reload_cmds
  10449. ## CAVEAT EMPTOR:
  10450. ## There is no encapsulation within the following macros, do not change
  10451. @@ -7037,6 +7311,15 @@
  10452. AC_SUBST([OBJDUMP])
  10453. ])
  10454. +# _LT_DECL_DLLTOOL
  10455. +# ----------------
  10456. +# Ensure DLLTOOL variable is set.
  10457. +m4_defun([_LT_DECL_DLLTOOL],
  10458. +[AC_CHECK_TOOL(DLLTOOL, dlltool, false)
  10459. +test -z "$DLLTOOL" && DLLTOOL=dlltool
  10460. +_LT_DECL([], [DLLTOOL], [1], [DLL creation program])
  10461. +AC_SUBST([DLLTOOL])
  10462. +])
  10463. # _LT_DECL_SED
  10464. # ------------
  10465. @@ -7130,8 +7413,8 @@
  10466. # Try some XSI features
  10467. xsi_shell=no
  10468. ( _lt_dummy="a/b/c"
  10469. - test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
  10470. - = c,a/b,, \
  10471. + test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
  10472. + = c,a/b,b/c, \
  10473. && eval 'test $(( 1 + 1 )) -eq 2 \
  10474. && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
  10475. && xsi_shell=yes
  10476. @@ -7170,208 +7453,95 @@
  10477. ])# _LT_CHECK_SHELL_FEATURES
  10478. -# _LT_PROG_XSI_SHELLFNS
  10479. -# ---------------------
  10480. -# Bourne and XSI compatible variants of some useful shell functions.
  10481. -m4_defun([_LT_PROG_XSI_SHELLFNS],
  10482. -[case $xsi_shell in
  10483. - yes)
  10484. - cat << \_LT_EOF >> "$cfgfile"
  10485. -
  10486. -# func_dirname file append nondir_replacement
  10487. -# Compute the dirname of FILE. If nonempty, add APPEND to the result,
  10488. -# otherwise set result to NONDIR_REPLACEMENT.
  10489. -func_dirname ()
  10490. -{
  10491. - case ${1} in
  10492. - */*) func_dirname_result="${1%/*}${2}" ;;
  10493. - * ) func_dirname_result="${3}" ;;
  10494. - esac
  10495. -}
  10496. -
  10497. -# func_basename file
  10498. -func_basename ()
  10499. -{
  10500. - func_basename_result="${1##*/}"
  10501. -}
  10502. -
  10503. -# func_dirname_and_basename file append nondir_replacement
  10504. -# perform func_basename and func_dirname in a single function
  10505. -# call:
  10506. -# dirname: Compute the dirname of FILE. If nonempty,
  10507. -# add APPEND to the result, otherwise set result
  10508. -# to NONDIR_REPLACEMENT.
  10509. -# value returned in "$func_dirname_result"
  10510. -# basename: Compute filename of FILE.
  10511. -# value retuned in "$func_basename_result"
  10512. -# Implementation must be kept synchronized with func_dirname
  10513. -# and func_basename. For efficiency, we do not delegate to
  10514. -# those functions but instead duplicate the functionality here.
  10515. -func_dirname_and_basename ()
  10516. -{
  10517. - case ${1} in
  10518. - */*) func_dirname_result="${1%/*}${2}" ;;
  10519. - * ) func_dirname_result="${3}" ;;
  10520. - esac
  10521. - func_basename_result="${1##*/}"
  10522. -}
  10523. -
  10524. -# func_stripname prefix suffix name
  10525. -# strip PREFIX and SUFFIX off of NAME.
  10526. -# PREFIX and SUFFIX must not contain globbing or regex special
  10527. -# characters, hashes, percent signs, but SUFFIX may contain a leading
  10528. -# dot (in which case that matches only a dot).
  10529. -func_stripname ()
  10530. -{
  10531. - # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
  10532. - # positional parameters, so assign one to ordinary parameter first.
  10533. - func_stripname_result=${3}
  10534. - func_stripname_result=${func_stripname_result#"${1}"}
  10535. - func_stripname_result=${func_stripname_result%"${2}"}
  10536. -}
  10537. -
  10538. -# func_opt_split
  10539. -func_opt_split ()
  10540. -{
  10541. - func_opt_split_opt=${1%%=*}
  10542. - func_opt_split_arg=${1#*=}
  10543. -}
  10544. -
  10545. -# func_lo2o object
  10546. -func_lo2o ()
  10547. -{
  10548. - case ${1} in
  10549. - *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
  10550. - *) func_lo2o_result=${1} ;;
  10551. - esac
  10552. -}
  10553. -
  10554. -# func_xform libobj-or-source
  10555. -func_xform ()
  10556. -{
  10557. - func_xform_result=${1%.*}.lo
  10558. -}
  10559. -
  10560. -# func_arith arithmetic-term...
  10561. -func_arith ()
  10562. -{
  10563. - func_arith_result=$(( $[*] ))
  10564. -}
  10565. -
  10566. -# func_len string
  10567. -# STRING may not start with a hyphen.
  10568. -func_len ()
  10569. -{
  10570. - func_len_result=${#1}
  10571. -}
  10572. -
  10573. -_LT_EOF
  10574. - ;;
  10575. - *) # Bourne compatible functions.
  10576. - cat << \_LT_EOF >> "$cfgfile"
  10577. +# _LT_PROG_FUNCTION_REPLACE (FUNCNAME, REPLACEMENT-BODY)
  10578. +# ------------------------------------------------------
  10579. +# In `$cfgfile', look for function FUNCNAME delimited by `^FUNCNAME ()$' and
  10580. +# '^} FUNCNAME ', and replace its body with REPLACEMENT-BODY.
  10581. +m4_defun([_LT_PROG_FUNCTION_REPLACE],
  10582. +[dnl {
  10583. +sed -e '/^$1 ()$/,/^} # $1 /c\
  10584. +$1 ()\
  10585. +{\
  10586. +m4_bpatsubsts([$2], [$], [\\], [^\([ ]\)], [\\\1])
  10587. +} # Extended-shell $1 implementation' "$cfgfile" > $cfgfile.tmp \
  10588. + && mv -f "$cfgfile.tmp" "$cfgfile" \
  10589. + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  10590. +test 0 -eq $? || _lt_function_replace_fail=:
  10591. +])
  10592. -# func_dirname file append nondir_replacement
  10593. -# Compute the dirname of FILE. If nonempty, add APPEND to the result,
  10594. -# otherwise set result to NONDIR_REPLACEMENT.
  10595. -func_dirname ()
  10596. -{
  10597. - # Extract subdirectory from the argument.
  10598. - func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
  10599. - if test "X$func_dirname_result" = "X${1}"; then
  10600. - func_dirname_result="${3}"
  10601. - else
  10602. - func_dirname_result="$func_dirname_result${2}"
  10603. - fi
  10604. -}
  10605. -# func_basename file
  10606. -func_basename ()
  10607. -{
  10608. - func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
  10609. -}
  10610. +# _LT_PROG_REPLACE_SHELLFNS
  10611. +# -------------------------
  10612. +# Replace existing portable implementations of several shell functions with
  10613. +# equivalent extended shell implementations where those features are available..
  10614. +m4_defun([_LT_PROG_REPLACE_SHELLFNS],
  10615. +[if test x"$xsi_shell" = xyes; then
  10616. + _LT_PROG_FUNCTION_REPLACE([func_dirname], [dnl
  10617. + case ${1} in
  10618. + */*) func_dirname_result="${1%/*}${2}" ;;
  10619. + * ) func_dirname_result="${3}" ;;
  10620. + esac])
  10621. +
  10622. + _LT_PROG_FUNCTION_REPLACE([func_basename], [dnl
  10623. + func_basename_result="${1##*/}"])
  10624. +
  10625. + _LT_PROG_FUNCTION_REPLACE([func_dirname_and_basename], [dnl
  10626. + case ${1} in
  10627. + */*) func_dirname_result="${1%/*}${2}" ;;
  10628. + * ) func_dirname_result="${3}" ;;
  10629. + esac
  10630. + func_basename_result="${1##*/}"])
  10631. -dnl func_dirname_and_basename
  10632. -dnl A portable version of this function is already defined in general.m4sh
  10633. -dnl so there is no need for it here.
  10634. -
  10635. -# func_stripname prefix suffix name
  10636. -# strip PREFIX and SUFFIX off of NAME.
  10637. -# PREFIX and SUFFIX must not contain globbing or regex special
  10638. -# characters, hashes, percent signs, but SUFFIX may contain a leading
  10639. -# dot (in which case that matches only a dot).
  10640. -# func_strip_suffix prefix name
  10641. -func_stripname ()
  10642. -{
  10643. - case ${2} in
  10644. - .*) func_stripname_result=`$ECHO "X${3}" \
  10645. - | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
  10646. - *) func_stripname_result=`$ECHO "X${3}" \
  10647. - | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
  10648. - esac
  10649. -}
  10650. + _LT_PROG_FUNCTION_REPLACE([func_stripname], [dnl
  10651. + # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
  10652. + # positional parameters, so assign one to ordinary parameter first.
  10653. + func_stripname_result=${3}
  10654. + func_stripname_result=${func_stripname_result#"${1}"}
  10655. + func_stripname_result=${func_stripname_result%"${2}"}])
  10656. -# sed scripts:
  10657. -my_sed_long_opt='1s/^\(-[[^=]]*\)=.*/\1/;q'
  10658. -my_sed_long_arg='1s/^-[[^=]]*=//'
  10659. + _LT_PROG_FUNCTION_REPLACE([func_split_long_opt], [dnl
  10660. + func_split_long_opt_name=${1%%=*}
  10661. + func_split_long_opt_arg=${1#*=}])
  10662. -# func_opt_split
  10663. -func_opt_split ()
  10664. -{
  10665. - func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
  10666. - func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
  10667. -}
  10668. + _LT_PROG_FUNCTION_REPLACE([func_split_short_opt], [dnl
  10669. + func_split_short_opt_arg=${1#??}
  10670. + func_split_short_opt_name=${1%"$func_split_short_opt_arg"}])
  10671. -# func_lo2o object
  10672. -func_lo2o ()
  10673. -{
  10674. - func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
  10675. -}
  10676. + _LT_PROG_FUNCTION_REPLACE([func_lo2o], [dnl
  10677. + case ${1} in
  10678. + *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
  10679. + *) func_lo2o_result=${1} ;;
  10680. + esac])
  10681. -# func_xform libobj-or-source
  10682. -func_xform ()
  10683. -{
  10684. - func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[[^.]]*$/.lo/'`
  10685. -}
  10686. + _LT_PROG_FUNCTION_REPLACE([func_xform], [ func_xform_result=${1%.*}.lo])
  10687. -# func_arith arithmetic-term...
  10688. -func_arith ()
  10689. -{
  10690. - func_arith_result=`expr "$[@]"`
  10691. -}
  10692. + _LT_PROG_FUNCTION_REPLACE([func_arith], [ func_arith_result=$(( $[*] ))])
  10693. -# func_len string
  10694. -# STRING may not start with a hyphen.
  10695. -func_len ()
  10696. -{
  10697. - func_len_result=`expr "$[1]" : ".*" 2>/dev/null || echo $max_cmd_len`
  10698. -}
  10699. + _LT_PROG_FUNCTION_REPLACE([func_len], [ func_len_result=${#1}])
  10700. +fi
  10701. -_LT_EOF
  10702. -esac
  10703. +if test x"$lt_shell_append" = xyes; then
  10704. + _LT_PROG_FUNCTION_REPLACE([func_append], [ eval "${1}+=\\${2}"])
  10705. -case $lt_shell_append in
  10706. - yes)
  10707. - cat << \_LT_EOF >> "$cfgfile"
  10708. -
  10709. -# func_append var value
  10710. -# Append VALUE to the end of shell variable VAR.
  10711. -func_append ()
  10712. -{
  10713. - eval "$[1]+=\$[2]"
  10714. -}
  10715. -_LT_EOF
  10716. - ;;
  10717. - *)
  10718. - cat << \_LT_EOF >> "$cfgfile"
  10719. + _LT_PROG_FUNCTION_REPLACE([func_append_quoted], [dnl
  10720. + func_quote_for_eval "${2}"
  10721. +dnl m4 expansion turns \\\\ into \\, and then the shell eval turns that into \
  10722. + eval "${1}+=\\\\ \\$func_quote_for_eval_result"])
  10723. -# func_append var value
  10724. -# Append VALUE to the end of shell variable VAR.
  10725. -func_append ()
  10726. -{
  10727. - eval "$[1]=\$$[1]\$[2]"
  10728. -}
  10729. + # Save a `func_append' function call where possible by direct use of '+='
  10730. + sed -e 's%func_append \([[a-zA-Z_]]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
  10731. + && mv -f "$cfgfile.tmp" "$cfgfile" \
  10732. + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  10733. + test 0 -eq $? || _lt_function_replace_fail=:
  10734. +else
  10735. + # Save a `func_append' function call even when '+=' is not available
  10736. + sed -e 's%func_append \([[a-zA-Z_]]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
  10737. + && mv -f "$cfgfile.tmp" "$cfgfile" \
  10738. + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  10739. + test 0 -eq $? || _lt_function_replace_fail=:
  10740. +fi
  10741. -_LT_EOF
  10742. - ;;
  10743. - esac
  10744. +if test x"$_lt_function_replace_fail" = x":"; then
  10745. + AC_MSG_WARN([Unable to substitute extended shell functions in $ofile])
  10746. +fi
  10747. ])
  10748. diff -Nur strongswan-4.4.1.orig/m4/config/lt~obsolete.m4 strongswan-4.4.1/m4/config/lt~obsolete.m4
  10749. --- strongswan-4.4.1.orig/m4/config/lt~obsolete.m4 2010-01-06 11:24:25.000000000 +0100
  10750. +++ strongswan-4.4.1/m4/config/lt~obsolete.m4 2010-07-31 21:12:25.672506327 +0200
  10751. @@ -1,13 +1,13 @@
  10752. # lt~obsolete.m4 -- aclocal satisfying obsolete definitions. -*-Autoconf-*-
  10753. #
  10754. -# Copyright (C) 2004, 2005, 2007 Free Software Foundation, Inc.
  10755. +# Copyright (C) 2004, 2005, 2007, 2009 Free Software Foundation, Inc.
  10756. # Written by Scott James Remnant, 2004.
  10757. #
  10758. # This file is free software; the Free Software Foundation gives
  10759. # unlimited permission to copy and/or distribute it, with or without
  10760. # modifications, as long as this notice is preserved.
  10761. -# serial 4 lt~obsolete.m4
  10762. +# serial 5 lt~obsolete.m4
  10763. # These exist entirely to fool aclocal when bootstrapping libtool.
  10764. #
  10765. @@ -77,7 +77,6 @@
  10766. m4_ifndef([_LT_AC_LANG_CXX], [AC_DEFUN([_LT_AC_LANG_CXX])])
  10767. m4_ifndef([_LT_AC_LANG_F77], [AC_DEFUN([_LT_AC_LANG_F77])])
  10768. m4_ifndef([_LT_AC_LANG_GCJ], [AC_DEFUN([_LT_AC_LANG_GCJ])])
  10769. -m4_ifndef([AC_LIBTOOL_RC], [AC_DEFUN([AC_LIBTOOL_RC])])
  10770. m4_ifndef([AC_LIBTOOL_LANG_C_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG])])
  10771. m4_ifndef([_LT_AC_LANG_C_CONFIG], [AC_DEFUN([_LT_AC_LANG_C_CONFIG])])
  10772. m4_ifndef([AC_LIBTOOL_LANG_CXX_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG])])
  10773. @@ -90,3 +89,10 @@
  10774. m4_ifndef([_LT_AC_LANG_RC_CONFIG], [AC_DEFUN([_LT_AC_LANG_RC_CONFIG])])
  10775. m4_ifndef([AC_LIBTOOL_CONFIG], [AC_DEFUN([AC_LIBTOOL_CONFIG])])
  10776. m4_ifndef([_LT_AC_FILE_LTDLL_C], [AC_DEFUN([_LT_AC_FILE_LTDLL_C])])
  10777. +m4_ifndef([_LT_REQUIRED_DARWIN_CHECKS], [AC_DEFUN([_LT_REQUIRED_DARWIN_CHECKS])])
  10778. +m4_ifndef([_LT_AC_PROG_CXXCPP], [AC_DEFUN([_LT_AC_PROG_CXXCPP])])
  10779. +m4_ifndef([_LT_PREPARE_SED_QUOTE_VARS], [AC_DEFUN([_LT_PREPARE_SED_QUOTE_VARS])])
  10780. +m4_ifndef([_LT_PROG_ECHO_BACKSLASH], [AC_DEFUN([_LT_PROG_ECHO_BACKSLASH])])
  10781. +m4_ifndef([_LT_PROG_F77], [AC_DEFUN([_LT_PROG_F77])])
  10782. +m4_ifndef([_LT_PROG_FC], [AC_DEFUN([_LT_PROG_FC])])
  10783. +m4_ifndef([_LT_PROG_CXX], [AC_DEFUN([_LT_PROG_CXX])])
  10784. diff -Nur strongswan-4.4.1.orig/m4/config/ltoptions.m4 strongswan-4.4.1/m4/config/ltoptions.m4
  10785. --- strongswan-4.4.1.orig/m4/config/ltoptions.m4 2010-01-06 11:24:25.000000000 +0100
  10786. +++ strongswan-4.4.1/m4/config/ltoptions.m4 2010-07-31 21:12:25.388506195 +0200
  10787. @@ -1,13 +1,14 @@
  10788. # Helper functions for option handling. -*- Autoconf -*-
  10789. #
  10790. -# Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc.
  10791. +# Copyright (C) 2004, 2005, 2007, 2008, 2009 Free Software Foundation,
  10792. +# Inc.
  10793. # Written by Gary V. Vaughan, 2004
  10794. #
  10795. # This file is free software; the Free Software Foundation gives
  10796. # unlimited permission to copy and/or distribute it, with or without
  10797. # modifications, as long as this notice is preserved.
  10798. -# serial 6 ltoptions.m4
  10799. +# serial 7 ltoptions.m4
  10800. # This is to help aclocal find these macros, as it can't see m4_define.
  10801. AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])])
  10802. @@ -125,7 +126,7 @@
  10803. [enable_win32_dll=yes
  10804. case $host in
  10805. -*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
  10806. +*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
  10807. AC_CHECK_TOOL(AS, as, false)
  10808. AC_CHECK_TOOL(DLLTOOL, dlltool, false)
  10809. AC_CHECK_TOOL(OBJDUMP, objdump, false)
  10810. @@ -133,13 +134,13 @@
  10811. esac
  10812. test -z "$AS" && AS=as
  10813. -_LT_DECL([], [AS], [0], [Assembler program])dnl
  10814. +_LT_DECL([], [AS], [1], [Assembler program])dnl
  10815. test -z "$DLLTOOL" && DLLTOOL=dlltool
  10816. -_LT_DECL([], [DLLTOOL], [0], [DLL creation program])dnl
  10817. +_LT_DECL([], [DLLTOOL], [1], [DLL creation program])dnl
  10818. test -z "$OBJDUMP" && OBJDUMP=objdump
  10819. -_LT_DECL([], [OBJDUMP], [0], [Object dumper program])dnl
  10820. +_LT_DECL([], [OBJDUMP], [1], [Object dumper program])dnl
  10821. ])# win32-dll
  10822. AU_DEFUN([AC_LIBTOOL_WIN32_DLL],
  10823. diff -Nur strongswan-4.4.1.orig/m4/config/ltversion.m4 strongswan-4.4.1/m4/config/ltversion.m4
  10824. --- strongswan-4.4.1.orig/m4/config/ltversion.m4 2010-01-06 11:24:25.000000000 +0100
  10825. +++ strongswan-4.4.1/m4/config/ltversion.m4 2010-07-31 21:12:25.544503719 +0200
  10826. @@ -9,15 +9,15 @@
  10827. # Generated from ltversion.in.
  10828. -# serial 3017 ltversion.m4
  10829. +# serial 3216 ltversion.m4
  10830. # This file is part of GNU Libtool
  10831. -m4_define([LT_PACKAGE_VERSION], [2.2.6b])
  10832. -m4_define([LT_PACKAGE_REVISION], [1.3017])
  10833. +m4_define([LT_PACKAGE_VERSION], [2.2.11a])
  10834. +m4_define([LT_PACKAGE_REVISION], [1.3216])
  10835. AC_DEFUN([LTVERSION_VERSION],
  10836. -[macro_version='2.2.6b'
  10837. -macro_revision='1.3017'
  10838. +[macro_version='2.2.11a'
  10839. +macro_revision='1.3216'
  10840. _LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])
  10841. _LT_DECL(, macro_revision, 0)
  10842. ])
  10843. diff -Nur strongswan-4.4.1.orig/Makefile.in strongswan-4.4.1/Makefile.in
  10844. --- strongswan-4.4.1.orig/Makefile.in 2010-07-29 20:11:18.000000000 +0200
  10845. +++ strongswan-4.4.1/Makefile.in 2010-07-31 21:12:58.824502787 +0200
  10846. @@ -127,6 +127,7 @@
  10847. DEFS = @DEFS@
  10848. DEPDIR = @DEPDIR@
  10849. DLLIB = @DLLIB@
  10850. +DLLTOOL = @DLLTOOL@
  10851. DSYMUTIL = @DSYMUTIL@
  10852. DUMPBIN = @DUMPBIN@
  10853. ECHO_C = @ECHO_C@
  10854. @@ -154,6 +155,7 @@
  10855. LN_S = @LN_S@
  10856. LTLIBOBJS = @LTLIBOBJS@
  10857. MAKEINFO = @MAKEINFO@
  10858. +MANIFEST_TOOL = @MANIFEST_TOOL@
  10859. MKDIR_P = @MKDIR_P@
  10860. MYSQLCFLAG = @MYSQLCFLAG@
  10861. MYSQLCONFIG = @MYSQLCONFIG@
  10862. @@ -234,7 +236,6 @@
  10863. linux_headers = @linux_headers@
  10864. localedir = @localedir@
  10865. localstatedir = @localstatedir@
  10866. -lt_ECHO = @lt_ECHO@
  10867. mandir = @mandir@
  10868. mkdir_p = @mkdir_p@
  10869. nm_CFLAGS = @nm_CFLAGS@
  10870. diff -Nur strongswan-4.4.1.orig/scripts/Makefile.in strongswan-4.4.1/scripts/Makefile.in
  10871. --- strongswan-4.4.1.orig/scripts/Makefile.in 2010-07-29 20:11:10.000000000 +0200
  10872. +++ strongswan-4.4.1/scripts/Makefile.in 2010-07-31 21:12:37.316499254 +0200
  10873. @@ -124,6 +124,7 @@
  10874. DEFS = @DEFS@
  10875. DEPDIR = @DEPDIR@
  10876. DLLIB = @DLLIB@
  10877. +DLLTOOL = @DLLTOOL@
  10878. DSYMUTIL = @DSYMUTIL@
  10879. DUMPBIN = @DUMPBIN@
  10880. ECHO_C = @ECHO_C@
  10881. @@ -151,6 +152,7 @@
  10882. LN_S = @LN_S@
  10883. LTLIBOBJS = @LTLIBOBJS@
  10884. MAKEINFO = @MAKEINFO@
  10885. +MANIFEST_TOOL = @MANIFEST_TOOL@
  10886. MKDIR_P = @MKDIR_P@
  10887. MYSQLCFLAG = @MYSQLCFLAG@
  10888. MYSQLCONFIG = @MYSQLCONFIG@
  10889. @@ -231,7 +233,6 @@
  10890. linux_headers = @linux_headers@
  10891. localedir = @localedir@
  10892. localstatedir = @localstatedir@
  10893. -lt_ECHO = @lt_ECHO@
  10894. mandir = @mandir@
  10895. mkdir_p = @mkdir_p@
  10896. nm_CFLAGS = @nm_CFLAGS@
  10897. diff -Nur strongswan-4.4.1.orig/src/charon/Makefile.in strongswan-4.4.1/src/charon/Makefile.in
  10898. --- strongswan-4.4.1.orig/src/charon/Makefile.in 2010-07-29 20:11:10.000000000 +0200
  10899. +++ strongswan-4.4.1/src/charon/Makefile.in 2010-07-31 21:12:38.156499541 +0200
  10900. @@ -97,6 +97,7 @@
  10901. DEFS = @DEFS@
  10902. DEPDIR = @DEPDIR@
  10903. DLLIB = @DLLIB@
  10904. +DLLTOOL = @DLLTOOL@
  10905. DSYMUTIL = @DSYMUTIL@
  10906. DUMPBIN = @DUMPBIN@
  10907. ECHO_C = @ECHO_C@
  10908. @@ -124,6 +125,7 @@
  10909. LN_S = @LN_S@
  10910. LTLIBOBJS = @LTLIBOBJS@
  10911. MAKEINFO = @MAKEINFO@
  10912. +MANIFEST_TOOL = @MANIFEST_TOOL@
  10913. MKDIR_P = @MKDIR_P@
  10914. MYSQLCFLAG = @MYSQLCFLAG@
  10915. MYSQLCONFIG = @MYSQLCONFIG@
  10916. @@ -204,7 +206,6 @@
  10917. linux_headers = @linux_headers@
  10918. localedir = @localedir@
  10919. localstatedir = @localstatedir@
  10920. -lt_ECHO = @lt_ECHO@
  10921. mandir = @mandir@
  10922. mkdir_p = @mkdir_p@
  10923. nm_CFLAGS = @nm_CFLAGS@
  10924. diff -Nur strongswan-4.4.1.orig/src/checksum/Makefile.in strongswan-4.4.1/src/checksum/Makefile.in
  10925. --- strongswan-4.4.1.orig/src/checksum/Makefile.in 2010-07-29 20:11:11.000000000 +0200
  10926. +++ strongswan-4.4.1/src/checksum/Makefile.in 2010-07-31 21:12:38.364502299 +0200
  10927. @@ -135,6 +135,7 @@
  10928. DEFS = @DEFS@
  10929. DEPDIR = @DEPDIR@
  10930. DLLIB = @DLLIB@
  10931. +DLLTOOL = @DLLTOOL@
  10932. DSYMUTIL = @DSYMUTIL@
  10933. DUMPBIN = @DUMPBIN@
  10934. ECHO_C = @ECHO_C@
  10935. @@ -162,6 +163,7 @@
  10936. LN_S = @LN_S@
  10937. LTLIBOBJS = @LTLIBOBJS@
  10938. MAKEINFO = @MAKEINFO@
  10939. +MANIFEST_TOOL = @MANIFEST_TOOL@
  10940. MKDIR_P = @MKDIR_P@
  10941. MYSQLCFLAG = @MYSQLCFLAG@
  10942. MYSQLCONFIG = @MYSQLCONFIG@
  10943. @@ -242,7 +244,6 @@
  10944. linux_headers = @linux_headers@
  10945. localedir = @localedir@
  10946. localstatedir = @localstatedir@
  10947. -lt_ECHO = @lt_ECHO@
  10948. mandir = @mandir@
  10949. mkdir_p = @mkdir_p@
  10950. nm_CFLAGS = @nm_CFLAGS@
  10951. diff -Nur strongswan-4.4.1.orig/src/_copyright/Makefile.in strongswan-4.4.1/src/_copyright/Makefile.in
  10952. --- strongswan-4.4.1.orig/src/_copyright/Makefile.in 2010-07-29 20:11:10.000000000 +0200
  10953. +++ strongswan-4.4.1/src/_copyright/Makefile.in 2010-07-31 21:12:37.668499672 +0200
  10954. @@ -119,6 +119,7 @@
  10955. DEFS = @DEFS@
  10956. DEPDIR = @DEPDIR@
  10957. DLLIB = @DLLIB@
  10958. +DLLTOOL = @DLLTOOL@
  10959. DSYMUTIL = @DSYMUTIL@
  10960. DUMPBIN = @DUMPBIN@
  10961. ECHO_C = @ECHO_C@
  10962. @@ -146,6 +147,7 @@
  10963. LN_S = @LN_S@
  10964. LTLIBOBJS = @LTLIBOBJS@
  10965. MAKEINFO = @MAKEINFO@
  10966. +MANIFEST_TOOL = @MANIFEST_TOOL@
  10967. MKDIR_P = @MKDIR_P@
  10968. MYSQLCFLAG = @MYSQLCFLAG@
  10969. MYSQLCONFIG = @MYSQLCONFIG@
  10970. @@ -226,7 +228,6 @@
  10971. linux_headers = @linux_headers@
  10972. localedir = @localedir@
  10973. localstatedir = @localstatedir@
  10974. -lt_ECHO = @lt_ECHO@
  10975. mandir = @mandir@
  10976. mkdir_p = @mkdir_p@
  10977. nm_CFLAGS = @nm_CFLAGS@
  10978. diff -Nur strongswan-4.4.1.orig/src/dumm/Makefile.in strongswan-4.4.1/src/dumm/Makefile.in
  10979. --- strongswan-4.4.1.orig/src/dumm/Makefile.in 2010-07-29 20:11:11.000000000 +0200
  10980. +++ strongswan-4.4.1/src/dumm/Makefile.in 2010-07-31 21:12:38.560499331 +0200
  10981. @@ -124,6 +124,7 @@
  10982. DEFS = @DEFS@
  10983. DEPDIR = @DEPDIR@
  10984. DLLIB = @DLLIB@
  10985. +DLLTOOL = @DLLTOOL@
  10986. DSYMUTIL = @DSYMUTIL@
  10987. DUMPBIN = @DUMPBIN@
  10988. ECHO_C = @ECHO_C@
  10989. @@ -151,6 +152,7 @@
  10990. LN_S = @LN_S@
  10991. LTLIBOBJS = @LTLIBOBJS@
  10992. MAKEINFO = @MAKEINFO@
  10993. +MANIFEST_TOOL = @MANIFEST_TOOL@
  10994. MKDIR_P = @MKDIR_P@
  10995. MYSQLCFLAG = @MYSQLCFLAG@
  10996. MYSQLCONFIG = @MYSQLCONFIG@
  10997. @@ -231,7 +233,6 @@
  10998. linux_headers = @linux_headers@
  10999. localedir = @localedir@
  11000. localstatedir = @localstatedir@
  11001. -lt_ECHO = @lt_ECHO@
  11002. mandir = @mandir@
  11003. mkdir_p = @mkdir_p@
  11004. nm_CFLAGS = @nm_CFLAGS@
  11005. diff -Nur strongswan-4.4.1.orig/src/include/Makefile.in strongswan-4.4.1/src/include/Makefile.in
  11006. --- strongswan-4.4.1.orig/src/include/Makefile.in 2010-07-29 20:11:11.000000000 +0200
  11007. +++ strongswan-4.4.1/src/include/Makefile.in 2010-07-31 21:12:38.696502118 +0200
  11008. @@ -70,6 +70,7 @@
  11009. DEFS = @DEFS@
  11010. DEPDIR = @DEPDIR@
  11011. DLLIB = @DLLIB@
  11012. +DLLTOOL = @DLLTOOL@
  11013. DSYMUTIL = @DSYMUTIL@
  11014. DUMPBIN = @DUMPBIN@
  11015. ECHO_C = @ECHO_C@
  11016. @@ -97,6 +98,7 @@
  11017. LN_S = @LN_S@
  11018. LTLIBOBJS = @LTLIBOBJS@
  11019. MAKEINFO = @MAKEINFO@
  11020. +MANIFEST_TOOL = @MANIFEST_TOOL@
  11021. MKDIR_P = @MKDIR_P@
  11022. MYSQLCFLAG = @MYSQLCFLAG@
  11023. MYSQLCONFIG = @MYSQLCONFIG@
  11024. @@ -177,7 +179,6 @@
  11025. linux_headers = @linux_headers@
  11026. localedir = @localedir@
  11027. localstatedir = @localstatedir@
  11028. -lt_ECHO = @lt_ECHO@
  11029. mandir = @mandir@
  11030. mkdir_p = @mkdir_p@
  11031. nm_CFLAGS = @nm_CFLAGS@
  11032. diff -Nur strongswan-4.4.1.orig/src/ipsec/Makefile.in strongswan-4.4.1/src/ipsec/Makefile.in
  11033. --- strongswan-4.4.1.orig/src/ipsec/Makefile.in 2010-07-29 20:11:11.000000000 +0200
  11034. +++ strongswan-4.4.1/src/ipsec/Makefile.in 2010-07-31 21:12:38.840499519 +0200
  11035. @@ -98,6 +98,7 @@
  11036. DEFS = @DEFS@
  11037. DEPDIR = @DEPDIR@
  11038. DLLIB = @DLLIB@
  11039. +DLLTOOL = @DLLTOOL@
  11040. DSYMUTIL = @DSYMUTIL@
  11041. DUMPBIN = @DUMPBIN@
  11042. ECHO_C = @ECHO_C@
  11043. @@ -125,6 +126,7 @@
  11044. LN_S = @LN_S@
  11045. LTLIBOBJS = @LTLIBOBJS@
  11046. MAKEINFO = @MAKEINFO@
  11047. +MANIFEST_TOOL = @MANIFEST_TOOL@
  11048. MKDIR_P = @MKDIR_P@
  11049. MYSQLCFLAG = @MYSQLCFLAG@
  11050. MYSQLCONFIG = @MYSQLCONFIG@
  11051. @@ -205,7 +207,6 @@
  11052. linux_headers = @linux_headers@
  11053. localedir = @localedir@
  11054. localstatedir = @localstatedir@
  11055. -lt_ECHO = @lt_ECHO@
  11056. mandir = @mandir@
  11057. mkdir_p = @mkdir_p@
  11058. nm_CFLAGS = @nm_CFLAGS@
  11059. diff -Nur strongswan-4.4.1.orig/src/libcharon/Makefile.in strongswan-4.4.1/src/libcharon/Makefile.in
  11060. --- strongswan-4.4.1.orig/src/libcharon/Makefile.in 2010-07-29 20:11:11.000000000 +0200
  11061. +++ strongswan-4.4.1/src/libcharon/Makefile.in 2010-07-31 21:12:40.036506053 +0200
  11062. @@ -437,6 +437,7 @@
  11063. DEFS = @DEFS@
  11064. DEPDIR = @DEPDIR@
  11065. DLLIB = @DLLIB@
  11066. +DLLTOOL = @DLLTOOL@
  11067. DSYMUTIL = @DSYMUTIL@
  11068. DUMPBIN = @DUMPBIN@
  11069. ECHO_C = @ECHO_C@
  11070. @@ -464,6 +465,7 @@
  11071. LN_S = @LN_S@
  11072. LTLIBOBJS = @LTLIBOBJS@
  11073. MAKEINFO = @MAKEINFO@
  11074. +MANIFEST_TOOL = @MANIFEST_TOOL@
  11075. MKDIR_P = @MKDIR_P@
  11076. MYSQLCFLAG = @MYSQLCFLAG@
  11077. MYSQLCONFIG = @MYSQLCONFIG@
  11078. @@ -544,7 +546,6 @@
  11079. linux_headers = @linux_headers@
  11080. localedir = @localedir@
  11081. localstatedir = @localstatedir@
  11082. -lt_ECHO = @lt_ECHO@
  11083. mandir = @mandir@
  11084. mkdir_p = @mkdir_p@
  11085. nm_CFLAGS = @nm_CFLAGS@
  11086. diff -Nur strongswan-4.4.1.orig/src/libcharon/plugins/addrblock/Makefile.in strongswan-4.4.1/src/libcharon/plugins/addrblock/Makefile.in
  11087. --- strongswan-4.4.1.orig/src/libcharon/plugins/addrblock/Makefile.in 2010-07-29 20:11:11.000000000 +0200
  11088. +++ strongswan-4.4.1/src/libcharon/plugins/addrblock/Makefile.in 2010-07-31 21:12:40.260499937 +0200
  11089. @@ -121,6 +121,7 @@
  11090. DEFS = @DEFS@
  11091. DEPDIR = @DEPDIR@
  11092. DLLIB = @DLLIB@
  11093. +DLLTOOL = @DLLTOOL@
  11094. DSYMUTIL = @DSYMUTIL@
  11095. DUMPBIN = @DUMPBIN@
  11096. ECHO_C = @ECHO_C@
  11097. @@ -148,6 +149,7 @@
  11098. LN_S = @LN_S@
  11099. LTLIBOBJS = @LTLIBOBJS@
  11100. MAKEINFO = @MAKEINFO@
  11101. +MANIFEST_TOOL = @MANIFEST_TOOL@
  11102. MKDIR_P = @MKDIR_P@
  11103. MYSQLCFLAG = @MYSQLCFLAG@
  11104. MYSQLCONFIG = @MYSQLCONFIG@
  11105. @@ -228,7 +230,6 @@
  11106. linux_headers = @linux_headers@
  11107. localedir = @localedir@
  11108. localstatedir = @localstatedir@
  11109. -lt_ECHO = @lt_ECHO@
  11110. mandir = @mandir@
  11111. mkdir_p = @mkdir_p@
  11112. nm_CFLAGS = @nm_CFLAGS@
  11113. diff -Nur strongswan-4.4.1.orig/src/libcharon/plugins/android/Makefile.in strongswan-4.4.1/src/libcharon/plugins/android/Makefile.in
  11114. --- strongswan-4.4.1.orig/src/libcharon/plugins/android/Makefile.in 2010-07-29 20:11:11.000000000 +0200
  11115. +++ strongswan-4.4.1/src/libcharon/plugins/android/Makefile.in 2010-07-31 21:12:40.480499758 +0200
  11116. @@ -121,6 +121,7 @@
  11117. DEFS = @DEFS@
  11118. DEPDIR = @DEPDIR@
  11119. DLLIB = @DLLIB@
  11120. +DLLTOOL = @DLLTOOL@
  11121. DSYMUTIL = @DSYMUTIL@
  11122. DUMPBIN = @DUMPBIN@
  11123. ECHO_C = @ECHO_C@
  11124. @@ -148,6 +149,7 @@
  11125. LN_S = @LN_S@
  11126. LTLIBOBJS = @LTLIBOBJS@
  11127. MAKEINFO = @MAKEINFO@
  11128. +MANIFEST_TOOL = @MANIFEST_TOOL@
  11129. MKDIR_P = @MKDIR_P@
  11130. MYSQLCFLAG = @MYSQLCFLAG@
  11131. MYSQLCONFIG = @MYSQLCONFIG@
  11132. @@ -228,7 +230,6 @@
  11133. linux_headers = @linux_headers@
  11134. localedir = @localedir@
  11135. localstatedir = @localstatedir@
  11136. -lt_ECHO = @lt_ECHO@
  11137. mandir = @mandir@
  11138. mkdir_p = @mkdir_p@
  11139. nm_CFLAGS = @nm_CFLAGS@
  11140. diff -Nur strongswan-4.4.1.orig/src/libcharon/plugins/dhcp/Makefile.in strongswan-4.4.1/src/libcharon/plugins/dhcp/Makefile.in
  11141. --- strongswan-4.4.1.orig/src/libcharon/plugins/dhcp/Makefile.in 2010-07-29 20:11:11.000000000 +0200
  11142. +++ strongswan-4.4.1/src/libcharon/plugins/dhcp/Makefile.in 2010-07-31 21:12:40.680499803 +0200
  11143. @@ -118,6 +118,7 @@
  11144. DEFS = @DEFS@
  11145. DEPDIR = @DEPDIR@
  11146. DLLIB = @DLLIB@
  11147. +DLLTOOL = @DLLTOOL@
  11148. DSYMUTIL = @DSYMUTIL@
  11149. DUMPBIN = @DUMPBIN@
  11150. ECHO_C = @ECHO_C@
  11151. @@ -145,6 +146,7 @@
  11152. LN_S = @LN_S@
  11153. LTLIBOBJS = @LTLIBOBJS@
  11154. MAKEINFO = @MAKEINFO@
  11155. +MANIFEST_TOOL = @MANIFEST_TOOL@
  11156. MKDIR_P = @MKDIR_P@
  11157. MYSQLCFLAG = @MYSQLCFLAG@
  11158. MYSQLCONFIG = @MYSQLCONFIG@
  11159. @@ -225,7 +227,6 @@
  11160. linux_headers = @linux_headers@
  11161. localedir = @localedir@
  11162. localstatedir = @localstatedir@
  11163. -lt_ECHO = @lt_ECHO@
  11164. mandir = @mandir@
  11165. mkdir_p = @mkdir_p@
  11166. nm_CFLAGS = @nm_CFLAGS@
  11167. diff -Nur strongswan-4.4.1.orig/src/libcharon/plugins/eap_aka/Makefile.in strongswan-4.4.1/src/libcharon/plugins/eap_aka/Makefile.in
  11168. --- strongswan-4.4.1.orig/src/libcharon/plugins/eap_aka/Makefile.in 2010-07-29 20:11:11.000000000 +0200
  11169. +++ strongswan-4.4.1/src/libcharon/plugins/eap_aka/Makefile.in 2010-07-31 21:12:40.856500721 +0200
  11170. @@ -121,6 +121,7 @@
  11171. DEFS = @DEFS@
  11172. DEPDIR = @DEPDIR@
  11173. DLLIB = @DLLIB@
  11174. +DLLTOOL = @DLLTOOL@
  11175. DSYMUTIL = @DSYMUTIL@
  11176. DUMPBIN = @DUMPBIN@
  11177. ECHO_C = @ECHO_C@
  11178. @@ -148,6 +149,7 @@
  11179. LN_S = @LN_S@
  11180. LTLIBOBJS = @LTLIBOBJS@
  11181. MAKEINFO = @MAKEINFO@
  11182. +MANIFEST_TOOL = @MANIFEST_TOOL@
  11183. MKDIR_P = @MKDIR_P@
  11184. MYSQLCFLAG = @MYSQLCFLAG@
  11185. MYSQLCONFIG = @MYSQLCONFIG@
  11186. @@ -228,7 +230,6 @@
  11187. linux_headers = @linux_headers@
  11188. localedir = @localedir@
  11189. localstatedir = @localstatedir@
  11190. -lt_ECHO = @lt_ECHO@
  11191. mandir = @mandir@
  11192. mkdir_p = @mkdir_p@
  11193. nm_CFLAGS = @nm_CFLAGS@
  11194. diff -Nur strongswan-4.4.1.orig/src/libcharon/plugins/eap_aka_3gpp2/Makefile.in strongswan-4.4.1/src/libcharon/plugins/eap_aka_3gpp2/Makefile.in
  11195. --- strongswan-4.4.1.orig/src/libcharon/plugins/eap_aka_3gpp2/Makefile.in 2010-07-29 20:11:12.000000000 +0200
  11196. +++ strongswan-4.4.1/src/libcharon/plugins/eap_aka_3gpp2/Makefile.in 2010-07-31 21:12:41.032499956 +0200
  11197. @@ -122,6 +122,7 @@
  11198. DEFS = @DEFS@
  11199. DEPDIR = @DEPDIR@
  11200. DLLIB = @DLLIB@
  11201. +DLLTOOL = @DLLTOOL@
  11202. DSYMUTIL = @DSYMUTIL@
  11203. DUMPBIN = @DUMPBIN@
  11204. ECHO_C = @ECHO_C@
  11205. @@ -149,6 +150,7 @@
  11206. LN_S = @LN_S@
  11207. LTLIBOBJS = @LTLIBOBJS@
  11208. MAKEINFO = @MAKEINFO@
  11209. +MANIFEST_TOOL = @MANIFEST_TOOL@
  11210. MKDIR_P = @MKDIR_P@
  11211. MYSQLCFLAG = @MYSQLCFLAG@
  11212. MYSQLCONFIG = @MYSQLCONFIG@
  11213. @@ -229,7 +231,6 @@
  11214. linux_headers = @linux_headers@
  11215. localedir = @localedir@
  11216. localstatedir = @localstatedir@
  11217. -lt_ECHO = @lt_ECHO@
  11218. mandir = @mandir@
  11219. mkdir_p = @mkdir_p@
  11220. nm_CFLAGS = @nm_CFLAGS@
  11221. diff -Nur strongswan-4.4.1.orig/src/libcharon/plugins/eap_gtc/Makefile.in strongswan-4.4.1/src/libcharon/plugins/eap_gtc/Makefile.in
  11222. --- strongswan-4.4.1.orig/src/libcharon/plugins/eap_gtc/Makefile.in 2010-07-29 20:11:12.000000000 +0200
  11223. +++ strongswan-4.4.1/src/libcharon/plugins/eap_gtc/Makefile.in 2010-07-31 21:12:41.200500113 +0200
  11224. @@ -119,6 +119,7 @@
  11225. DEFS = @DEFS@
  11226. DEPDIR = @DEPDIR@
  11227. DLLIB = @DLLIB@
  11228. +DLLTOOL = @DLLTOOL@
  11229. DSYMUTIL = @DSYMUTIL@
  11230. DUMPBIN = @DUMPBIN@
  11231. ECHO_C = @ECHO_C@
  11232. @@ -146,6 +147,7 @@
  11233. LN_S = @LN_S@
  11234. LTLIBOBJS = @LTLIBOBJS@
  11235. MAKEINFO = @MAKEINFO@
  11236. +MANIFEST_TOOL = @MANIFEST_TOOL@
  11237. MKDIR_P = @MKDIR_P@
  11238. MYSQLCFLAG = @MYSQLCFLAG@
  11239. MYSQLCONFIG = @MYSQLCONFIG@
  11240. @@ -226,7 +228,6 @@
  11241. linux_headers = @linux_headers@
  11242. localedir = @localedir@
  11243. localstatedir = @localstatedir@
  11244. -lt_ECHO = @lt_ECHO@
  11245. mandir = @mandir@
  11246. mkdir_p = @mkdir_p@
  11247. nm_CFLAGS = @nm_CFLAGS@
  11248. diff -Nur strongswan-4.4.1.orig/src/libcharon/plugins/eap_identity/Makefile.in strongswan-4.4.1/src/libcharon/plugins/eap_identity/Makefile.in
  11249. --- strongswan-4.4.1.orig/src/libcharon/plugins/eap_identity/Makefile.in 2010-07-29 20:11:12.000000000 +0200
  11250. +++ strongswan-4.4.1/src/libcharon/plugins/eap_identity/Makefile.in 2010-07-31 21:12:41.372501083 +0200
  11251. @@ -121,6 +121,7 @@
  11252. DEFS = @DEFS@
  11253. DEPDIR = @DEPDIR@
  11254. DLLIB = @DLLIB@
  11255. +DLLTOOL = @DLLTOOL@
  11256. DSYMUTIL = @DSYMUTIL@
  11257. DUMPBIN = @DUMPBIN@
  11258. ECHO_C = @ECHO_C@
  11259. @@ -148,6 +149,7 @@
  11260. LN_S = @LN_S@
  11261. LTLIBOBJS = @LTLIBOBJS@
  11262. MAKEINFO = @MAKEINFO@
  11263. +MANIFEST_TOOL = @MANIFEST_TOOL@
  11264. MKDIR_P = @MKDIR_P@
  11265. MYSQLCFLAG = @MYSQLCFLAG@
  11266. MYSQLCONFIG = @MYSQLCONFIG@
  11267. @@ -228,7 +230,6 @@
  11268. linux_headers = @linux_headers@
  11269. localedir = @localedir@
  11270. localstatedir = @localstatedir@
  11271. -lt_ECHO = @lt_ECHO@
  11272. mandir = @mandir@
  11273. mkdir_p = @mkdir_p@
  11274. nm_CFLAGS = @nm_CFLAGS@
  11275. diff -Nur strongswan-4.4.1.orig/src/libcharon/plugins/eap_md5/Makefile.in strongswan-4.4.1/src/libcharon/plugins/eap_md5/Makefile.in
  11276. --- strongswan-4.4.1.orig/src/libcharon/plugins/eap_md5/Makefile.in 2010-07-29 20:11:12.000000000 +0200
  11277. +++ strongswan-4.4.1/src/libcharon/plugins/eap_md5/Makefile.in 2010-07-31 21:12:41.540499299 +0200
  11278. @@ -119,6 +119,7 @@
  11279. DEFS = @DEFS@
  11280. DEPDIR = @DEPDIR@
  11281. DLLIB = @DLLIB@
  11282. +DLLTOOL = @DLLTOOL@
  11283. DSYMUTIL = @DSYMUTIL@
  11284. DUMPBIN = @DUMPBIN@
  11285. ECHO_C = @ECHO_C@
  11286. @@ -146,6 +147,7 @@
  11287. LN_S = @LN_S@
  11288. LTLIBOBJS = @LTLIBOBJS@
  11289. MAKEINFO = @MAKEINFO@
  11290. +MANIFEST_TOOL = @MANIFEST_TOOL@
  11291. MKDIR_P = @MKDIR_P@
  11292. MYSQLCFLAG = @MYSQLCFLAG@
  11293. MYSQLCONFIG = @MYSQLCONFIG@
  11294. @@ -226,7 +228,6 @@
  11295. linux_headers = @linux_headers@
  11296. localedir = @localedir@
  11297. localstatedir = @localstatedir@
  11298. -lt_ECHO = @lt_ECHO@
  11299. mandir = @mandir@
  11300. mkdir_p = @mkdir_p@
  11301. nm_CFLAGS = @nm_CFLAGS@
  11302. diff -Nur strongswan-4.4.1.orig/src/libcharon/plugins/eap_mschapv2/Makefile.in strongswan-4.4.1/src/libcharon/plugins/eap_mschapv2/Makefile.in
  11303. --- strongswan-4.4.1.orig/src/libcharon/plugins/eap_mschapv2/Makefile.in 2010-07-29 20:11:12.000000000 +0200
  11304. +++ strongswan-4.4.1/src/libcharon/plugins/eap_mschapv2/Makefile.in 2010-07-31 21:12:41.728502003 +0200
  11305. @@ -121,6 +121,7 @@
  11306. DEFS = @DEFS@
  11307. DEPDIR = @DEPDIR@
  11308. DLLIB = @DLLIB@
  11309. +DLLTOOL = @DLLTOOL@
  11310. DSYMUTIL = @DSYMUTIL@
  11311. DUMPBIN = @DUMPBIN@
  11312. ECHO_C = @ECHO_C@
  11313. @@ -148,6 +149,7 @@
  11314. LN_S = @LN_S@
  11315. LTLIBOBJS = @LTLIBOBJS@
  11316. MAKEINFO = @MAKEINFO@
  11317. +MANIFEST_TOOL = @MANIFEST_TOOL@
  11318. MKDIR_P = @MKDIR_P@
  11319. MYSQLCFLAG = @MYSQLCFLAG@
  11320. MYSQLCONFIG = @MYSQLCONFIG@
  11321. @@ -228,7 +230,6 @@
  11322. linux_headers = @linux_headers@
  11323. localedir = @localedir@
  11324. localstatedir = @localstatedir@
  11325. -lt_ECHO = @lt_ECHO@
  11326. mandir = @mandir@
  11327. mkdir_p = @mkdir_p@
  11328. nm_CFLAGS = @nm_CFLAGS@
  11329. diff -Nur strongswan-4.4.1.orig/src/libcharon/plugins/eap_radius/Makefile.in strongswan-4.4.1/src/libcharon/plugins/eap_radius/Makefile.in
  11330. --- strongswan-4.4.1.orig/src/libcharon/plugins/eap_radius/Makefile.in 2010-07-29 20:11:12.000000000 +0200
  11331. +++ strongswan-4.4.1/src/libcharon/plugins/eap_radius/Makefile.in 2010-07-31 21:12:41.960500283 +0200
  11332. @@ -122,6 +122,7 @@
  11333. DEFS = @DEFS@
  11334. DEPDIR = @DEPDIR@
  11335. DLLIB = @DLLIB@
  11336. +DLLTOOL = @DLLTOOL@
  11337. DSYMUTIL = @DSYMUTIL@
  11338. DUMPBIN = @DUMPBIN@
  11339. ECHO_C = @ECHO_C@
  11340. @@ -149,6 +150,7 @@
  11341. LN_S = @LN_S@
  11342. LTLIBOBJS = @LTLIBOBJS@
  11343. MAKEINFO = @MAKEINFO@
  11344. +MANIFEST_TOOL = @MANIFEST_TOOL@
  11345. MKDIR_P = @MKDIR_P@
  11346. MYSQLCFLAG = @MYSQLCFLAG@
  11347. MYSQLCONFIG = @MYSQLCONFIG@
  11348. @@ -229,7 +231,6 @@
  11349. linux_headers = @linux_headers@
  11350. localedir = @localedir@
  11351. localstatedir = @localstatedir@
  11352. -lt_ECHO = @lt_ECHO@
  11353. mandir = @mandir@
  11354. mkdir_p = @mkdir_p@
  11355. nm_CFLAGS = @nm_CFLAGS@
  11356. diff -Nur strongswan-4.4.1.orig/src/libcharon/plugins/eap_sim/Makefile.in strongswan-4.4.1/src/libcharon/plugins/eap_sim/Makefile.in
  11357. --- strongswan-4.4.1.orig/src/libcharon/plugins/eap_sim/Makefile.in 2010-07-29 20:11:12.000000000 +0200
  11358. +++ strongswan-4.4.1/src/libcharon/plugins/eap_sim/Makefile.in 2010-07-31 21:12:42.212502758 +0200
  11359. @@ -121,6 +121,7 @@
  11360. DEFS = @DEFS@
  11361. DEPDIR = @DEPDIR@
  11362. DLLIB = @DLLIB@
  11363. +DLLTOOL = @DLLTOOL@
  11364. DSYMUTIL = @DSYMUTIL@
  11365. DUMPBIN = @DUMPBIN@
  11366. ECHO_C = @ECHO_C@
  11367. @@ -148,6 +149,7 @@
  11368. LN_S = @LN_S@
  11369. LTLIBOBJS = @LTLIBOBJS@
  11370. MAKEINFO = @MAKEINFO@
  11371. +MANIFEST_TOOL = @MANIFEST_TOOL@
  11372. MKDIR_P = @MKDIR_P@
  11373. MYSQLCFLAG = @MYSQLCFLAG@
  11374. MYSQLCONFIG = @MYSQLCONFIG@
  11375. @@ -228,7 +230,6 @@
  11376. linux_headers = @linux_headers@
  11377. localedir = @localedir@
  11378. localstatedir = @localstatedir@
  11379. -lt_ECHO = @lt_ECHO@
  11380. mandir = @mandir@
  11381. mkdir_p = @mkdir_p@
  11382. nm_CFLAGS = @nm_CFLAGS@
  11383. diff -Nur strongswan-4.4.1.orig/src/libcharon/plugins/eap_simaka_pseudonym/Makefile.in strongswan-4.4.1/src/libcharon/plugins/eap_simaka_pseudonym/Makefile.in
  11384. --- strongswan-4.4.1.orig/src/libcharon/plugins/eap_simaka_pseudonym/Makefile.in 2010-07-29 20:11:12.000000000 +0200
  11385. +++ strongswan-4.4.1/src/libcharon/plugins/eap_simaka_pseudonym/Makefile.in 2010-07-31 21:12:42.688501100 +0200
  11386. @@ -123,6 +123,7 @@
  11387. DEFS = @DEFS@
  11388. DEPDIR = @DEPDIR@
  11389. DLLIB = @DLLIB@
  11390. +DLLTOOL = @DLLTOOL@
  11391. DSYMUTIL = @DSYMUTIL@
  11392. DUMPBIN = @DUMPBIN@
  11393. ECHO_C = @ECHO_C@
  11394. @@ -150,6 +151,7 @@
  11395. LN_S = @LN_S@
  11396. LTLIBOBJS = @LTLIBOBJS@
  11397. MAKEINFO = @MAKEINFO@
  11398. +MANIFEST_TOOL = @MANIFEST_TOOL@
  11399. MKDIR_P = @MKDIR_P@
  11400. MYSQLCFLAG = @MYSQLCFLAG@
  11401. MYSQLCONFIG = @MYSQLCONFIG@
  11402. @@ -230,7 +232,6 @@
  11403. linux_headers = @linux_headers@
  11404. localedir = @localedir@
  11405. localstatedir = @localstatedir@
  11406. -lt_ECHO = @lt_ECHO@
  11407. mandir = @mandir@
  11408. mkdir_p = @mkdir_p@
  11409. nm_CFLAGS = @nm_CFLAGS@
  11410. diff -Nur strongswan-4.4.1.orig/src/libcharon/plugins/eap_simaka_reauth/Makefile.in strongswan-4.4.1/src/libcharon/plugins/eap_simaka_reauth/Makefile.in
  11411. --- strongswan-4.4.1.orig/src/libcharon/plugins/eap_simaka_reauth/Makefile.in 2010-07-29 20:11:12.000000000 +0200
  11412. +++ strongswan-4.4.1/src/libcharon/plugins/eap_simaka_reauth/Makefile.in 2010-07-31 21:12:42.900499902 +0200
  11413. @@ -122,6 +122,7 @@
  11414. DEFS = @DEFS@
  11415. DEPDIR = @DEPDIR@
  11416. DLLIB = @DLLIB@
  11417. +DLLTOOL = @DLLTOOL@
  11418. DSYMUTIL = @DSYMUTIL@
  11419. DUMPBIN = @DUMPBIN@
  11420. ECHO_C = @ECHO_C@
  11421. @@ -149,6 +150,7 @@
  11422. LN_S = @LN_S@
  11423. LTLIBOBJS = @LTLIBOBJS@
  11424. MAKEINFO = @MAKEINFO@
  11425. +MANIFEST_TOOL = @MANIFEST_TOOL@
  11426. MKDIR_P = @MKDIR_P@
  11427. MYSQLCFLAG = @MYSQLCFLAG@
  11428. MYSQLCONFIG = @MYSQLCONFIG@
  11429. @@ -229,7 +231,6 @@
  11430. linux_headers = @linux_headers@
  11431. localedir = @localedir@
  11432. localstatedir = @localstatedir@
  11433. -lt_ECHO = @lt_ECHO@
  11434. mandir = @mandir@
  11435. mkdir_p = @mkdir_p@
  11436. nm_CFLAGS = @nm_CFLAGS@
  11437. diff -Nur strongswan-4.4.1.orig/src/libcharon/plugins/eap_simaka_sql/Makefile.in strongswan-4.4.1/src/libcharon/plugins/eap_simaka_sql/Makefile.in
  11438. --- strongswan-4.4.1.orig/src/libcharon/plugins/eap_simaka_sql/Makefile.in 2010-07-29 20:11:12.000000000 +0200
  11439. +++ strongswan-4.4.1/src/libcharon/plugins/eap_simaka_sql/Makefile.in 2010-07-31 21:12:43.116501713 +0200
  11440. @@ -121,6 +121,7 @@
  11441. DEFS = @DEFS@
  11442. DEPDIR = @DEPDIR@
  11443. DLLIB = @DLLIB@
  11444. +DLLTOOL = @DLLTOOL@
  11445. DSYMUTIL = @DSYMUTIL@
  11446. DUMPBIN = @DUMPBIN@
  11447. ECHO_C = @ECHO_C@
  11448. @@ -148,6 +149,7 @@
  11449. LN_S = @LN_S@
  11450. LTLIBOBJS = @LTLIBOBJS@
  11451. MAKEINFO = @MAKEINFO@
  11452. +MANIFEST_TOOL = @MANIFEST_TOOL@
  11453. MKDIR_P = @MKDIR_P@
  11454. MYSQLCFLAG = @MYSQLCFLAG@
  11455. MYSQLCONFIG = @MYSQLCONFIG@
  11456. @@ -228,7 +230,6 @@
  11457. linux_headers = @linux_headers@
  11458. localedir = @localedir@
  11459. localstatedir = @localstatedir@
  11460. -lt_ECHO = @lt_ECHO@
  11461. mandir = @mandir@
  11462. mkdir_p = @mkdir_p@
  11463. nm_CFLAGS = @nm_CFLAGS@
  11464. diff -Nur strongswan-4.4.1.orig/src/libcharon/plugins/eap_sim_file/Makefile.in strongswan-4.4.1/src/libcharon/plugins/eap_sim_file/Makefile.in
  11465. --- strongswan-4.4.1.orig/src/libcharon/plugins/eap_sim_file/Makefile.in 2010-07-29 20:11:12.000000000 +0200
  11466. +++ strongswan-4.4.1/src/libcharon/plugins/eap_sim_file/Makefile.in 2010-07-31 21:12:42.448500151 +0200
  11467. @@ -122,6 +122,7 @@
  11468. DEFS = @DEFS@
  11469. DEPDIR = @DEPDIR@
  11470. DLLIB = @DLLIB@
  11471. +DLLTOOL = @DLLTOOL@
  11472. DSYMUTIL = @DSYMUTIL@
  11473. DUMPBIN = @DUMPBIN@
  11474. ECHO_C = @ECHO_C@
  11475. @@ -149,6 +150,7 @@
  11476. LN_S = @LN_S@
  11477. LTLIBOBJS = @LTLIBOBJS@
  11478. MAKEINFO = @MAKEINFO@
  11479. +MANIFEST_TOOL = @MANIFEST_TOOL@
  11480. MKDIR_P = @MKDIR_P@
  11481. MYSQLCFLAG = @MYSQLCFLAG@
  11482. MYSQLCONFIG = @MYSQLCONFIG@
  11483. @@ -229,7 +231,6 @@
  11484. linux_headers = @linux_headers@
  11485. localedir = @localedir@
  11486. localstatedir = @localstatedir@
  11487. -lt_ECHO = @lt_ECHO@
  11488. mandir = @mandir@
  11489. mkdir_p = @mkdir_p@
  11490. nm_CFLAGS = @nm_CFLAGS@
  11491. diff -Nur strongswan-4.4.1.orig/src/libcharon/plugins/farp/Makefile.in strongswan-4.4.1/src/libcharon/plugins/farp/Makefile.in
  11492. --- strongswan-4.4.1.orig/src/libcharon/plugins/farp/Makefile.in 2010-07-29 20:11:12.000000000 +0200
  11493. +++ strongswan-4.4.1/src/libcharon/plugins/farp/Makefile.in 2010-07-31 21:12:43.600513644 +0200
  11494. @@ -118,6 +118,7 @@
  11495. DEFS = @DEFS@
  11496. DEPDIR = @DEPDIR@
  11497. DLLIB = @DLLIB@
  11498. +DLLTOOL = @DLLTOOL@
  11499. DSYMUTIL = @DSYMUTIL@
  11500. DUMPBIN = @DUMPBIN@
  11501. ECHO_C = @ECHO_C@
  11502. @@ -145,6 +146,7 @@
  11503. LN_S = @LN_S@
  11504. LTLIBOBJS = @LTLIBOBJS@
  11505. MAKEINFO = @MAKEINFO@
  11506. +MANIFEST_TOOL = @MANIFEST_TOOL@
  11507. MKDIR_P = @MKDIR_P@
  11508. MYSQLCFLAG = @MYSQLCFLAG@
  11509. MYSQLCONFIG = @MYSQLCONFIG@
  11510. @@ -225,7 +227,6 @@
  11511. linux_headers = @linux_headers@
  11512. localedir = @localedir@
  11513. localstatedir = @localstatedir@
  11514. -lt_ECHO = @lt_ECHO@
  11515. mandir = @mandir@
  11516. mkdir_p = @mkdir_p@
  11517. nm_CFLAGS = @nm_CFLAGS@
  11518. diff -Nur strongswan-4.4.1.orig/src/libcharon/plugins/ha/Makefile.in strongswan-4.4.1/src/libcharon/plugins/ha/Makefile.in
  11519. --- strongswan-4.4.1.orig/src/libcharon/plugins/ha/Makefile.in 2010-07-29 20:11:12.000000000 +0200
  11520. +++ strongswan-4.4.1/src/libcharon/plugins/ha/Makefile.in 2010-07-31 21:12:43.784499924 +0200
  11521. @@ -120,6 +120,7 @@
  11522. DEFS = @DEFS@
  11523. DEPDIR = @DEPDIR@
  11524. DLLIB = @DLLIB@
  11525. +DLLTOOL = @DLLTOOL@
  11526. DSYMUTIL = @DSYMUTIL@
  11527. DUMPBIN = @DUMPBIN@
  11528. ECHO_C = @ECHO_C@
  11529. @@ -147,6 +148,7 @@
  11530. LN_S = @LN_S@
  11531. LTLIBOBJS = @LTLIBOBJS@
  11532. MAKEINFO = @MAKEINFO@
  11533. +MANIFEST_TOOL = @MANIFEST_TOOL@
  11534. MKDIR_P = @MKDIR_P@
  11535. MYSQLCFLAG = @MYSQLCFLAG@
  11536. MYSQLCONFIG = @MYSQLCONFIG@
  11537. @@ -227,7 +229,6 @@
  11538. linux_headers = @linux_headers@
  11539. localedir = @localedir@
  11540. localstatedir = @localstatedir@
  11541. -lt_ECHO = @lt_ECHO@
  11542. mandir = @mandir@
  11543. mkdir_p = @mkdir_p@
  11544. nm_CFLAGS = @nm_CFLAGS@
  11545. diff -Nur strongswan-4.4.1.orig/src/libcharon/plugins/kernel_klips/Makefile.in strongswan-4.4.1/src/libcharon/plugins/kernel_klips/Makefile.in
  11546. --- strongswan-4.4.1.orig/src/libcharon/plugins/kernel_klips/Makefile.in 2010-07-29 20:11:12.000000000 +0200
  11547. +++ strongswan-4.4.1/src/libcharon/plugins/kernel_klips/Makefile.in 2010-07-31 21:12:44.110776392 +0200
  11548. @@ -121,6 +121,7 @@
  11549. DEFS = @DEFS@
  11550. DEPDIR = @DEPDIR@
  11551. DLLIB = @DLLIB@
  11552. +DLLTOOL = @DLLTOOL@
  11553. DSYMUTIL = @DSYMUTIL@
  11554. DUMPBIN = @DUMPBIN@
  11555. ECHO_C = @ECHO_C@
  11556. @@ -148,6 +149,7 @@
  11557. LN_S = @LN_S@
  11558. LTLIBOBJS = @LTLIBOBJS@
  11559. MAKEINFO = @MAKEINFO@
  11560. +MANIFEST_TOOL = @MANIFEST_TOOL@
  11561. MKDIR_P = @MKDIR_P@
  11562. MYSQLCFLAG = @MYSQLCFLAG@
  11563. MYSQLCONFIG = @MYSQLCONFIG@
  11564. @@ -228,7 +230,6 @@
  11565. linux_headers = @linux_headers@
  11566. localedir = @localedir@
  11567. localstatedir = @localstatedir@
  11568. -lt_ECHO = @lt_ECHO@
  11569. mandir = @mandir@
  11570. mkdir_p = @mkdir_p@
  11571. nm_CFLAGS = @nm_CFLAGS@
  11572. diff -Nur strongswan-4.4.1.orig/src/libcharon/plugins/kernel_netlink/Makefile.in strongswan-4.4.1/src/libcharon/plugins/kernel_netlink/Makefile.in
  11573. --- strongswan-4.4.1.orig/src/libcharon/plugins/kernel_netlink/Makefile.in 2010-07-29 20:11:13.000000000 +0200
  11574. +++ strongswan-4.4.1/src/libcharon/plugins/kernel_netlink/Makefile.in 2010-07-31 21:12:44.284499918 +0200
  11575. @@ -122,6 +122,7 @@
  11576. DEFS = @DEFS@
  11577. DEPDIR = @DEPDIR@
  11578. DLLIB = @DLLIB@
  11579. +DLLTOOL = @DLLTOOL@
  11580. DSYMUTIL = @DSYMUTIL@
  11581. DUMPBIN = @DUMPBIN@
  11582. ECHO_C = @ECHO_C@
  11583. @@ -149,6 +150,7 @@
  11584. LN_S = @LN_S@
  11585. LTLIBOBJS = @LTLIBOBJS@
  11586. MAKEINFO = @MAKEINFO@
  11587. +MANIFEST_TOOL = @MANIFEST_TOOL@
  11588. MKDIR_P = @MKDIR_P@
  11589. MYSQLCFLAG = @MYSQLCFLAG@
  11590. MYSQLCONFIG = @MYSQLCONFIG@
  11591. @@ -229,7 +231,6 @@
  11592. linux_headers = @linux_headers@
  11593. localedir = @localedir@
  11594. localstatedir = @localstatedir@
  11595. -lt_ECHO = @lt_ECHO@
  11596. mandir = @mandir@
  11597. mkdir_p = @mkdir_p@
  11598. nm_CFLAGS = @nm_CFLAGS@
  11599. diff -Nur strongswan-4.4.1.orig/src/libcharon/plugins/kernel_pfkey/Makefile.in strongswan-4.4.1/src/libcharon/plugins/kernel_pfkey/Makefile.in
  11600. --- strongswan-4.4.1.orig/src/libcharon/plugins/kernel_pfkey/Makefile.in 2010-07-29 20:11:13.000000000 +0200
  11601. +++ strongswan-4.4.1/src/libcharon/plugins/kernel_pfkey/Makefile.in 2010-07-31 21:12:44.456499769 +0200
  11602. @@ -121,6 +121,7 @@
  11603. DEFS = @DEFS@
  11604. DEPDIR = @DEPDIR@
  11605. DLLIB = @DLLIB@
  11606. +DLLTOOL = @DLLTOOL@
  11607. DSYMUTIL = @DSYMUTIL@
  11608. DUMPBIN = @DUMPBIN@
  11609. ECHO_C = @ECHO_C@
  11610. @@ -148,6 +149,7 @@
  11611. LN_S = @LN_S@
  11612. LTLIBOBJS = @LTLIBOBJS@
  11613. MAKEINFO = @MAKEINFO@
  11614. +MANIFEST_TOOL = @MANIFEST_TOOL@
  11615. MKDIR_P = @MKDIR_P@
  11616. MYSQLCFLAG = @MYSQLCFLAG@
  11617. MYSQLCONFIG = @MYSQLCONFIG@
  11618. @@ -228,7 +230,6 @@
  11619. linux_headers = @linux_headers@
  11620. localedir = @localedir@
  11621. localstatedir = @localstatedir@
  11622. -lt_ECHO = @lt_ECHO@
  11623. mandir = @mandir@
  11624. mkdir_p = @mkdir_p@
  11625. nm_CFLAGS = @nm_CFLAGS@
  11626. diff -Nur strongswan-4.4.1.orig/src/libcharon/plugins/kernel_pfroute/Makefile.in strongswan-4.4.1/src/libcharon/plugins/kernel_pfroute/Makefile.in
  11627. --- strongswan-4.4.1.orig/src/libcharon/plugins/kernel_pfroute/Makefile.in 2010-07-29 20:11:13.000000000 +0200
  11628. +++ strongswan-4.4.1/src/libcharon/plugins/kernel_pfroute/Makefile.in 2010-07-31 21:12:44.628500443 +0200
  11629. @@ -121,6 +121,7 @@
  11630. DEFS = @DEFS@
  11631. DEPDIR = @DEPDIR@
  11632. DLLIB = @DLLIB@
  11633. +DLLTOOL = @DLLTOOL@
  11634. DSYMUTIL = @DSYMUTIL@
  11635. DUMPBIN = @DUMPBIN@
  11636. ECHO_C = @ECHO_C@
  11637. @@ -148,6 +149,7 @@
  11638. LN_S = @LN_S@
  11639. LTLIBOBJS = @LTLIBOBJS@
  11640. MAKEINFO = @MAKEINFO@
  11641. +MANIFEST_TOOL = @MANIFEST_TOOL@
  11642. MKDIR_P = @MKDIR_P@
  11643. MYSQLCFLAG = @MYSQLCFLAG@
  11644. MYSQLCONFIG = @MYSQLCONFIG@
  11645. @@ -228,7 +230,6 @@
  11646. linux_headers = @linux_headers@
  11647. localedir = @localedir@
  11648. localstatedir = @localstatedir@
  11649. -lt_ECHO = @lt_ECHO@
  11650. mandir = @mandir@
  11651. mkdir_p = @mkdir_p@
  11652. nm_CFLAGS = @nm_CFLAGS@
  11653. diff -Nur strongswan-4.4.1.orig/src/libcharon/plugins/load_tester/Makefile.in strongswan-4.4.1/src/libcharon/plugins/load_tester/Makefile.in
  11654. --- strongswan-4.4.1.orig/src/libcharon/plugins/load_tester/Makefile.in 2010-07-29 20:11:13.000000000 +0200
  11655. +++ strongswan-4.4.1/src/libcharon/plugins/load_tester/Makefile.in 2010-07-31 21:12:44.800499446 +0200
  11656. @@ -123,6 +123,7 @@
  11657. DEFS = @DEFS@
  11658. DEPDIR = @DEPDIR@
  11659. DLLIB = @DLLIB@
  11660. +DLLTOOL = @DLLTOOL@
  11661. DSYMUTIL = @DSYMUTIL@
  11662. DUMPBIN = @DUMPBIN@
  11663. ECHO_C = @ECHO_C@
  11664. @@ -150,6 +151,7 @@
  11665. LN_S = @LN_S@
  11666. LTLIBOBJS = @LTLIBOBJS@
  11667. MAKEINFO = @MAKEINFO@
  11668. +MANIFEST_TOOL = @MANIFEST_TOOL@
  11669. MKDIR_P = @MKDIR_P@
  11670. MYSQLCFLAG = @MYSQLCFLAG@
  11671. MYSQLCONFIG = @MYSQLCONFIG@
  11672. @@ -230,7 +232,6 @@
  11673. linux_headers = @linux_headers@
  11674. localedir = @localedir@
  11675. localstatedir = @localstatedir@
  11676. -lt_ECHO = @lt_ECHO@
  11677. mandir = @mandir@
  11678. mkdir_p = @mkdir_p@
  11679. nm_CFLAGS = @nm_CFLAGS@
  11680. diff -Nur strongswan-4.4.1.orig/src/libcharon/plugins/medcli/Makefile.in strongswan-4.4.1/src/libcharon/plugins/medcli/Makefile.in
  11681. --- strongswan-4.4.1.orig/src/libcharon/plugins/medcli/Makefile.in 2010-07-29 20:11:13.000000000 +0200
  11682. +++ strongswan-4.4.1/src/libcharon/plugins/medcli/Makefile.in 2010-07-31 21:12:45.000500627 +0200
  11683. @@ -120,6 +120,7 @@
  11684. DEFS = @DEFS@
  11685. DEPDIR = @DEPDIR@
  11686. DLLIB = @DLLIB@
  11687. +DLLTOOL = @DLLTOOL@
  11688. DSYMUTIL = @DSYMUTIL@
  11689. DUMPBIN = @DUMPBIN@
  11690. ECHO_C = @ECHO_C@
  11691. @@ -147,6 +148,7 @@
  11692. LN_S = @LN_S@
  11693. LTLIBOBJS = @LTLIBOBJS@
  11694. MAKEINFO = @MAKEINFO@
  11695. +MANIFEST_TOOL = @MANIFEST_TOOL@
  11696. MKDIR_P = @MKDIR_P@
  11697. MYSQLCFLAG = @MYSQLCFLAG@
  11698. MYSQLCONFIG = @MYSQLCONFIG@
  11699. @@ -227,7 +229,6 @@
  11700. linux_headers = @linux_headers@
  11701. localedir = @localedir@
  11702. localstatedir = @localstatedir@
  11703. -lt_ECHO = @lt_ECHO@
  11704. mandir = @mandir@
  11705. mkdir_p = @mkdir_p@
  11706. nm_CFLAGS = @nm_CFLAGS@
  11707. diff -Nur strongswan-4.4.1.orig/src/libcharon/plugins/medsrv/Makefile.in strongswan-4.4.1/src/libcharon/plugins/medsrv/Makefile.in
  11708. --- strongswan-4.4.1.orig/src/libcharon/plugins/medsrv/Makefile.in 2010-07-29 20:11:13.000000000 +0200
  11709. +++ strongswan-4.4.1/src/libcharon/plugins/medsrv/Makefile.in 2010-07-31 21:12:45.326366147 +0200
  11710. @@ -120,6 +120,7 @@
  11711. DEFS = @DEFS@
  11712. DEPDIR = @DEPDIR@
  11713. DLLIB = @DLLIB@
  11714. +DLLTOOL = @DLLTOOL@
  11715. DSYMUTIL = @DSYMUTIL@
  11716. DUMPBIN = @DUMPBIN@
  11717. ECHO_C = @ECHO_C@
  11718. @@ -147,6 +148,7 @@
  11719. LN_S = @LN_S@
  11720. LTLIBOBJS = @LTLIBOBJS@
  11721. MAKEINFO = @MAKEINFO@
  11722. +MANIFEST_TOOL = @MANIFEST_TOOL@
  11723. MKDIR_P = @MKDIR_P@
  11724. MYSQLCFLAG = @MYSQLCFLAG@
  11725. MYSQLCONFIG = @MYSQLCONFIG@
  11726. @@ -227,7 +229,6 @@
  11727. linux_headers = @linux_headers@
  11728. localedir = @localedir@
  11729. localstatedir = @localstatedir@
  11730. -lt_ECHO = @lt_ECHO@
  11731. mandir = @mandir@
  11732. mkdir_p = @mkdir_p@
  11733. nm_CFLAGS = @nm_CFLAGS@
  11734. diff -Nur strongswan-4.4.1.orig/src/libcharon/plugins/nm/Makefile.in strongswan-4.4.1/src/libcharon/plugins/nm/Makefile.in
  11735. --- strongswan-4.4.1.orig/src/libcharon/plugins/nm/Makefile.in 2010-07-29 20:11:13.000000000 +0200
  11736. +++ strongswan-4.4.1/src/libcharon/plugins/nm/Makefile.in 2010-07-31 21:12:45.536499063 +0200
  11737. @@ -119,6 +119,7 @@
  11738. DEFS = @DEFS@
  11739. DEPDIR = @DEPDIR@
  11740. DLLIB = @DLLIB@
  11741. +DLLTOOL = @DLLTOOL@
  11742. DSYMUTIL = @DSYMUTIL@
  11743. DUMPBIN = @DUMPBIN@
  11744. ECHO_C = @ECHO_C@
  11745. @@ -146,6 +147,7 @@
  11746. LN_S = @LN_S@
  11747. LTLIBOBJS = @LTLIBOBJS@
  11748. MAKEINFO = @MAKEINFO@
  11749. +MANIFEST_TOOL = @MANIFEST_TOOL@
  11750. MKDIR_P = @MKDIR_P@
  11751. MYSQLCFLAG = @MYSQLCFLAG@
  11752. MYSQLCONFIG = @MYSQLCONFIG@
  11753. @@ -226,7 +228,6 @@
  11754. linux_headers = @linux_headers@
  11755. localedir = @localedir@
  11756. localstatedir = @localstatedir@
  11757. -lt_ECHO = @lt_ECHO@
  11758. mandir = @mandir@
  11759. mkdir_p = @mkdir_p@
  11760. nm_CFLAGS = @nm_CFLAGS@
  11761. diff -Nur strongswan-4.4.1.orig/src/libcharon/plugins/smp/Makefile.in strongswan-4.4.1/src/libcharon/plugins/smp/Makefile.in
  11762. --- strongswan-4.4.1.orig/src/libcharon/plugins/smp/Makefile.in 2010-07-29 20:11:13.000000000 +0200
  11763. +++ strongswan-4.4.1/src/libcharon/plugins/smp/Makefile.in 2010-07-31 21:12:45.740499619 +0200
  11764. @@ -118,6 +118,7 @@
  11765. DEFS = @DEFS@
  11766. DEPDIR = @DEPDIR@
  11767. DLLIB = @DLLIB@
  11768. +DLLTOOL = @DLLTOOL@
  11769. DSYMUTIL = @DSYMUTIL@
  11770. DUMPBIN = @DUMPBIN@
  11771. ECHO_C = @ECHO_C@
  11772. @@ -145,6 +146,7 @@
  11773. LN_S = @LN_S@
  11774. LTLIBOBJS = @LTLIBOBJS@
  11775. MAKEINFO = @MAKEINFO@
  11776. +MANIFEST_TOOL = @MANIFEST_TOOL@
  11777. MKDIR_P = @MKDIR_P@
  11778. MYSQLCFLAG = @MYSQLCFLAG@
  11779. MYSQLCONFIG = @MYSQLCONFIG@
  11780. @@ -225,7 +227,6 @@
  11781. linux_headers = @linux_headers@
  11782. localedir = @localedir@
  11783. localstatedir = @localstatedir@
  11784. -lt_ECHO = @lt_ECHO@
  11785. mandir = @mandir@
  11786. mkdir_p = @mkdir_p@
  11787. nm_CFLAGS = @nm_CFLAGS@
  11788. diff -Nur strongswan-4.4.1.orig/src/libcharon/plugins/socket_default/Makefile.in strongswan-4.4.1/src/libcharon/plugins/socket_default/Makefile.in
  11789. --- strongswan-4.4.1.orig/src/libcharon/plugins/socket_default/Makefile.in 2010-07-29 20:11:13.000000000 +0200
  11790. +++ strongswan-4.4.1/src/libcharon/plugins/socket_default/Makefile.in 2010-07-31 21:12:46.084499865 +0200
  11791. @@ -121,6 +121,7 @@
  11792. DEFS = @DEFS@
  11793. DEPDIR = @DEPDIR@
  11794. DLLIB = @DLLIB@
  11795. +DLLTOOL = @DLLTOOL@
  11796. DSYMUTIL = @DSYMUTIL@
  11797. DUMPBIN = @DUMPBIN@
  11798. ECHO_C = @ECHO_C@
  11799. @@ -148,6 +149,7 @@
  11800. LN_S = @LN_S@
  11801. LTLIBOBJS = @LTLIBOBJS@
  11802. MAKEINFO = @MAKEINFO@
  11803. +MANIFEST_TOOL = @MANIFEST_TOOL@
  11804. MKDIR_P = @MKDIR_P@
  11805. MYSQLCFLAG = @MYSQLCFLAG@
  11806. MYSQLCONFIG = @MYSQLCONFIG@
  11807. @@ -228,7 +230,6 @@
  11808. linux_headers = @linux_headers@
  11809. localedir = @localedir@
  11810. localstatedir = @localstatedir@
  11811. -lt_ECHO = @lt_ECHO@
  11812. mandir = @mandir@
  11813. mkdir_p = @mkdir_p@
  11814. nm_CFLAGS = @nm_CFLAGS@
  11815. diff -Nur strongswan-4.4.1.orig/src/libcharon/plugins/socket_dynamic/Makefile.in strongswan-4.4.1/src/libcharon/plugins/socket_dynamic/Makefile.in
  11816. --- strongswan-4.4.1.orig/src/libcharon/plugins/socket_dynamic/Makefile.in 2010-07-29 20:11:13.000000000 +0200
  11817. +++ strongswan-4.4.1/src/libcharon/plugins/socket_dynamic/Makefile.in 2010-07-31 21:12:46.527245082 +0200
  11818. @@ -121,6 +121,7 @@
  11819. DEFS = @DEFS@
  11820. DEPDIR = @DEPDIR@
  11821. DLLIB = @DLLIB@
  11822. +DLLTOOL = @DLLTOOL@
  11823. DSYMUTIL = @DSYMUTIL@
  11824. DUMPBIN = @DUMPBIN@
  11825. ECHO_C = @ECHO_C@
  11826. @@ -148,6 +149,7 @@
  11827. LN_S = @LN_S@
  11828. LTLIBOBJS = @LTLIBOBJS@
  11829. MAKEINFO = @MAKEINFO@
  11830. +MANIFEST_TOOL = @MANIFEST_TOOL@
  11831. MKDIR_P = @MKDIR_P@
  11832. MYSQLCFLAG = @MYSQLCFLAG@
  11833. MYSQLCONFIG = @MYSQLCONFIG@
  11834. @@ -228,7 +230,6 @@
  11835. linux_headers = @linux_headers@
  11836. localedir = @localedir@
  11837. localstatedir = @localstatedir@
  11838. -lt_ECHO = @lt_ECHO@
  11839. mandir = @mandir@
  11840. mkdir_p = @mkdir_p@
  11841. nm_CFLAGS = @nm_CFLAGS@
  11842. diff -Nur strongswan-4.4.1.orig/src/libcharon/plugins/socket_raw/Makefile.in strongswan-4.4.1/src/libcharon/plugins/socket_raw/Makefile.in
  11843. --- strongswan-4.4.1.orig/src/libcharon/plugins/socket_raw/Makefile.in 2010-07-29 20:11:13.000000000 +0200
  11844. +++ strongswan-4.4.1/src/libcharon/plugins/socket_raw/Makefile.in 2010-07-31 21:12:46.720499855 +0200
  11845. @@ -121,6 +121,7 @@
  11846. DEFS = @DEFS@
  11847. DEPDIR = @DEPDIR@
  11848. DLLIB = @DLLIB@
  11849. +DLLTOOL = @DLLTOOL@
  11850. DSYMUTIL = @DSYMUTIL@
  11851. DUMPBIN = @DUMPBIN@
  11852. ECHO_C = @ECHO_C@
  11853. @@ -148,6 +149,7 @@
  11854. LN_S = @LN_S@
  11855. LTLIBOBJS = @LTLIBOBJS@
  11856. MAKEINFO = @MAKEINFO@
  11857. +MANIFEST_TOOL = @MANIFEST_TOOL@
  11858. MKDIR_P = @MKDIR_P@
  11859. MYSQLCFLAG = @MYSQLCFLAG@
  11860. MYSQLCONFIG = @MYSQLCONFIG@
  11861. @@ -228,7 +230,6 @@
  11862. linux_headers = @linux_headers@
  11863. localedir = @localedir@
  11864. localstatedir = @localstatedir@
  11865. -lt_ECHO = @lt_ECHO@
  11866. mandir = @mandir@
  11867. mkdir_p = @mkdir_p@
  11868. nm_CFLAGS = @nm_CFLAGS@
  11869. diff -Nur strongswan-4.4.1.orig/src/libcharon/plugins/sql/Makefile.in strongswan-4.4.1/src/libcharon/plugins/sql/Makefile.in
  11870. --- strongswan-4.4.1.orig/src/libcharon/plugins/sql/Makefile.in 2010-07-29 20:11:13.000000000 +0200
  11871. +++ strongswan-4.4.1/src/libcharon/plugins/sql/Makefile.in 2010-07-31 21:12:46.920501044 +0200
  11872. @@ -118,6 +118,7 @@
  11873. DEFS = @DEFS@
  11874. DEPDIR = @DEPDIR@
  11875. DLLIB = @DLLIB@
  11876. +DLLTOOL = @DLLTOOL@
  11877. DSYMUTIL = @DSYMUTIL@
  11878. DUMPBIN = @DUMPBIN@
  11879. ECHO_C = @ECHO_C@
  11880. @@ -145,6 +146,7 @@
  11881. LN_S = @LN_S@
  11882. LTLIBOBJS = @LTLIBOBJS@
  11883. MAKEINFO = @MAKEINFO@
  11884. +MANIFEST_TOOL = @MANIFEST_TOOL@
  11885. MKDIR_P = @MKDIR_P@
  11886. MYSQLCFLAG = @MYSQLCFLAG@
  11887. MYSQLCONFIG = @MYSQLCONFIG@
  11888. @@ -225,7 +227,6 @@
  11889. linux_headers = @linux_headers@
  11890. localedir = @localedir@
  11891. localstatedir = @localstatedir@
  11892. -lt_ECHO = @lt_ECHO@
  11893. mandir = @mandir@
  11894. mkdir_p = @mkdir_p@
  11895. nm_CFLAGS = @nm_CFLAGS@
  11896. diff -Nur strongswan-4.4.1.orig/src/libcharon/plugins/stroke/Makefile.in strongswan-4.4.1/src/libcharon/plugins/stroke/Makefile.in
  11897. --- strongswan-4.4.1.orig/src/libcharon/plugins/stroke/Makefile.in 2010-07-29 20:11:13.000000000 +0200
  11898. +++ strongswan-4.4.1/src/libcharon/plugins/stroke/Makefile.in 2010-07-31 21:12:47.120501656 +0200
  11899. @@ -121,6 +121,7 @@
  11900. DEFS = @DEFS@
  11901. DEPDIR = @DEPDIR@
  11902. DLLIB = @DLLIB@
  11903. +DLLTOOL = @DLLTOOL@
  11904. DSYMUTIL = @DSYMUTIL@
  11905. DUMPBIN = @DUMPBIN@
  11906. ECHO_C = @ECHO_C@
  11907. @@ -148,6 +149,7 @@
  11908. LN_S = @LN_S@
  11909. LTLIBOBJS = @LTLIBOBJS@
  11910. MAKEINFO = @MAKEINFO@
  11911. +MANIFEST_TOOL = @MANIFEST_TOOL@
  11912. MKDIR_P = @MKDIR_P@
  11913. MYSQLCFLAG = @MYSQLCFLAG@
  11914. MYSQLCONFIG = @MYSQLCONFIG@
  11915. @@ -228,7 +230,6 @@
  11916. linux_headers = @linux_headers@
  11917. localedir = @localedir@
  11918. localstatedir = @localstatedir@
  11919. -lt_ECHO = @lt_ECHO@
  11920. mandir = @mandir@
  11921. mkdir_p = @mkdir_p@
  11922. nm_CFLAGS = @nm_CFLAGS@
  11923. diff -Nur strongswan-4.4.1.orig/src/libcharon/plugins/uci/Makefile.in strongswan-4.4.1/src/libcharon/plugins/uci/Makefile.in
  11924. --- strongswan-4.4.1.orig/src/libcharon/plugins/uci/Makefile.in 2010-07-29 20:11:13.000000000 +0200
  11925. +++ strongswan-4.4.1/src/libcharon/plugins/uci/Makefile.in 2010-07-31 21:12:47.308506611 +0200
  11926. @@ -118,6 +118,7 @@
  11927. DEFS = @DEFS@
  11928. DEPDIR = @DEPDIR@
  11929. DLLIB = @DLLIB@
  11930. +DLLTOOL = @DLLTOOL@
  11931. DSYMUTIL = @DSYMUTIL@
  11932. DUMPBIN = @DUMPBIN@
  11933. ECHO_C = @ECHO_C@
  11934. @@ -145,6 +146,7 @@
  11935. LN_S = @LN_S@
  11936. LTLIBOBJS = @LTLIBOBJS@
  11937. MAKEINFO = @MAKEINFO@
  11938. +MANIFEST_TOOL = @MANIFEST_TOOL@
  11939. MKDIR_P = @MKDIR_P@
  11940. MYSQLCFLAG = @MYSQLCFLAG@
  11941. MYSQLCONFIG = @MYSQLCONFIG@
  11942. @@ -225,7 +227,6 @@
  11943. linux_headers = @linux_headers@
  11944. localedir = @localedir@
  11945. localstatedir = @localstatedir@
  11946. -lt_ECHO = @lt_ECHO@
  11947. mandir = @mandir@
  11948. mkdir_p = @mkdir_p@
  11949. nm_CFLAGS = @nm_CFLAGS@
  11950. diff -Nur strongswan-4.4.1.orig/src/libcharon/plugins/unit_tester/Makefile.in strongswan-4.4.1/src/libcharon/plugins/unit_tester/Makefile.in
  11951. --- strongswan-4.4.1.orig/src/libcharon/plugins/unit_tester/Makefile.in 2010-07-29 20:11:14.000000000 +0200
  11952. +++ strongswan-4.4.1/src/libcharon/plugins/unit_tester/Makefile.in 2010-07-31 21:12:47.592502286 +0200
  11953. @@ -124,6 +124,7 @@
  11954. DEFS = @DEFS@
  11955. DEPDIR = @DEPDIR@
  11956. DLLIB = @DLLIB@
  11957. +DLLTOOL = @DLLTOOL@
  11958. DSYMUTIL = @DSYMUTIL@
  11959. DUMPBIN = @DUMPBIN@
  11960. ECHO_C = @ECHO_C@
  11961. @@ -151,6 +152,7 @@
  11962. LN_S = @LN_S@
  11963. LTLIBOBJS = @LTLIBOBJS@
  11964. MAKEINFO = @MAKEINFO@
  11965. +MANIFEST_TOOL = @MANIFEST_TOOL@
  11966. MKDIR_P = @MKDIR_P@
  11967. MYSQLCFLAG = @MYSQLCFLAG@
  11968. MYSQLCONFIG = @MYSQLCONFIG@
  11969. @@ -231,7 +233,6 @@
  11970. linux_headers = @linux_headers@
  11971. localedir = @localedir@
  11972. localstatedir = @localstatedir@
  11973. -lt_ECHO = @lt_ECHO@
  11974. mandir = @mandir@
  11975. mkdir_p = @mkdir_p@
  11976. nm_CFLAGS = @nm_CFLAGS@
  11977. diff -Nur strongswan-4.4.1.orig/src/libcharon/plugins/updown/Makefile.in strongswan-4.4.1/src/libcharon/plugins/updown/Makefile.in
  11978. --- strongswan-4.4.1.orig/src/libcharon/plugins/updown/Makefile.in 2010-07-29 20:11:14.000000000 +0200
  11979. +++ strongswan-4.4.1/src/libcharon/plugins/updown/Makefile.in 2010-07-31 21:12:47.776501418 +0200
  11980. @@ -120,6 +120,7 @@
  11981. DEFS = @DEFS@
  11982. DEPDIR = @DEPDIR@
  11983. DLLIB = @DLLIB@
  11984. +DLLTOOL = @DLLTOOL@
  11985. DSYMUTIL = @DSYMUTIL@
  11986. DUMPBIN = @DUMPBIN@
  11987. ECHO_C = @ECHO_C@
  11988. @@ -147,6 +148,7 @@
  11989. LN_S = @LN_S@
  11990. LTLIBOBJS = @LTLIBOBJS@
  11991. MAKEINFO = @MAKEINFO@
  11992. +MANIFEST_TOOL = @MANIFEST_TOOL@
  11993. MKDIR_P = @MKDIR_P@
  11994. MYSQLCFLAG = @MYSQLCFLAG@
  11995. MYSQLCONFIG = @MYSQLCONFIG@
  11996. @@ -227,7 +229,6 @@
  11997. linux_headers = @linux_headers@
  11998. localedir = @localedir@
  11999. localstatedir = @localstatedir@
  12000. -lt_ECHO = @lt_ECHO@
  12001. mandir = @mandir@
  12002. mkdir_p = @mkdir_p@
  12003. nm_CFLAGS = @nm_CFLAGS@
  12004. diff -Nur strongswan-4.4.1.orig/src/libfast/Makefile.in strongswan-4.4.1/src/libfast/Makefile.in
  12005. --- strongswan-4.4.1.orig/src/libfast/Makefile.in 2010-07-29 20:11:14.000000000 +0200
  12006. +++ strongswan-4.4.1/src/libfast/Makefile.in 2010-07-31 21:12:47.956499494 +0200
  12007. @@ -115,6 +115,7 @@
  12008. DEFS = @DEFS@
  12009. DEPDIR = @DEPDIR@
  12010. DLLIB = @DLLIB@
  12011. +DLLTOOL = @DLLTOOL@
  12012. DSYMUTIL = @DSYMUTIL@
  12013. DUMPBIN = @DUMPBIN@
  12014. ECHO_C = @ECHO_C@
  12015. @@ -142,6 +143,7 @@
  12016. LN_S = @LN_S@
  12017. LTLIBOBJS = @LTLIBOBJS@
  12018. MAKEINFO = @MAKEINFO@
  12019. +MANIFEST_TOOL = @MANIFEST_TOOL@
  12020. MKDIR_P = @MKDIR_P@
  12021. MYSQLCFLAG = @MYSQLCFLAG@
  12022. MYSQLCONFIG = @MYSQLCONFIG@
  12023. @@ -222,7 +224,6 @@
  12024. linux_headers = @linux_headers@
  12025. localedir = @localedir@
  12026. localstatedir = @localstatedir@
  12027. -lt_ECHO = @lt_ECHO@
  12028. mandir = @mandir@
  12029. mkdir_p = @mkdir_p@
  12030. nm_CFLAGS = @nm_CFLAGS@
  12031. diff -Nur strongswan-4.4.1.orig/src/libfreeswan/Makefile.in strongswan-4.4.1/src/libfreeswan/Makefile.in
  12032. --- strongswan-4.4.1.orig/src/libfreeswan/Makefile.in 2010-07-29 20:11:14.000000000 +0200
  12033. +++ strongswan-4.4.1/src/libfreeswan/Makefile.in 2010-07-31 21:12:48.180503993 +0200
  12034. @@ -132,6 +132,7 @@
  12035. DEFS = @DEFS@
  12036. DEPDIR = @DEPDIR@
  12037. DLLIB = @DLLIB@
  12038. +DLLTOOL = @DLLTOOL@
  12039. DSYMUTIL = @DSYMUTIL@
  12040. DUMPBIN = @DUMPBIN@
  12041. ECHO_C = @ECHO_C@
  12042. @@ -159,6 +160,7 @@
  12043. LN_S = @LN_S@
  12044. LTLIBOBJS = @LTLIBOBJS@
  12045. MAKEINFO = @MAKEINFO@
  12046. +MANIFEST_TOOL = @MANIFEST_TOOL@
  12047. MKDIR_P = @MKDIR_P@
  12048. MYSQLCFLAG = @MYSQLCFLAG@
  12049. MYSQLCONFIG = @MYSQLCONFIG@
  12050. @@ -239,7 +241,6 @@
  12051. linux_headers = @linux_headers@
  12052. localedir = @localedir@
  12053. localstatedir = @localstatedir@
  12054. -lt_ECHO = @lt_ECHO@
  12055. mandir = @mandir@
  12056. mkdir_p = @mkdir_p@
  12057. nm_CFLAGS = @nm_CFLAGS@
  12058. diff -Nur strongswan-4.4.1.orig/src/libhydra/Makefile.in strongswan-4.4.1/src/libhydra/Makefile.in
  12059. --- strongswan-4.4.1.orig/src/libhydra/Makefile.in 2010-07-29 20:11:14.000000000 +0200
  12060. +++ strongswan-4.4.1/src/libhydra/Makefile.in 2010-07-31 21:12:48.400502695 +0200
  12061. @@ -158,6 +158,7 @@
  12062. DEFS = @DEFS@
  12063. DEPDIR = @DEPDIR@
  12064. DLLIB = @DLLIB@
  12065. +DLLTOOL = @DLLTOOL@
  12066. DSYMUTIL = @DSYMUTIL@
  12067. DUMPBIN = @DUMPBIN@
  12068. ECHO_C = @ECHO_C@
  12069. @@ -185,6 +186,7 @@
  12070. LN_S = @LN_S@
  12071. LTLIBOBJS = @LTLIBOBJS@
  12072. MAKEINFO = @MAKEINFO@
  12073. +MANIFEST_TOOL = @MANIFEST_TOOL@
  12074. MKDIR_P = @MKDIR_P@
  12075. MYSQLCFLAG = @MYSQLCFLAG@
  12076. MYSQLCONFIG = @MYSQLCONFIG@
  12077. @@ -265,7 +267,6 @@
  12078. linux_headers = @linux_headers@
  12079. localedir = @localedir@
  12080. localstatedir = @localstatedir@
  12081. -lt_ECHO = @lt_ECHO@
  12082. mandir = @mandir@
  12083. mkdir_p = @mkdir_p@
  12084. nm_CFLAGS = @nm_CFLAGS@
  12085. diff -Nur strongswan-4.4.1.orig/src/libhydra/plugins/attr/Makefile.in strongswan-4.4.1/src/libhydra/plugins/attr/Makefile.in
  12086. --- strongswan-4.4.1.orig/src/libhydra/plugins/attr/Makefile.in 2010-07-29 20:11:14.000000000 +0200
  12087. +++ strongswan-4.4.1/src/libhydra/plugins/attr/Makefile.in 2010-07-31 21:12:48.572500859 +0200
  12088. @@ -117,6 +117,7 @@
  12089. DEFS = @DEFS@
  12090. DEPDIR = @DEPDIR@
  12091. DLLIB = @DLLIB@
  12092. +DLLTOOL = @DLLTOOL@
  12093. DSYMUTIL = @DSYMUTIL@
  12094. DUMPBIN = @DUMPBIN@
  12095. ECHO_C = @ECHO_C@
  12096. @@ -144,6 +145,7 @@
  12097. LN_S = @LN_S@
  12098. LTLIBOBJS = @LTLIBOBJS@
  12099. MAKEINFO = @MAKEINFO@
  12100. +MANIFEST_TOOL = @MANIFEST_TOOL@
  12101. MKDIR_P = @MKDIR_P@
  12102. MYSQLCFLAG = @MYSQLCFLAG@
  12103. MYSQLCONFIG = @MYSQLCONFIG@
  12104. @@ -224,7 +226,6 @@
  12105. linux_headers = @linux_headers@
  12106. localedir = @localedir@
  12107. localstatedir = @localstatedir@
  12108. -lt_ECHO = @lt_ECHO@
  12109. mandir = @mandir@
  12110. mkdir_p = @mkdir_p@
  12111. nm_CFLAGS = @nm_CFLAGS@
  12112. diff -Nur strongswan-4.4.1.orig/src/libhydra/plugins/attr_sql/Makefile.in strongswan-4.4.1/src/libhydra/plugins/attr_sql/Makefile.in
  12113. --- strongswan-4.4.1.orig/src/libhydra/plugins/attr_sql/Makefile.in 2010-07-29 20:11:14.000000000 +0200
  12114. +++ strongswan-4.4.1/src/libhydra/plugins/attr_sql/Makefile.in 2010-07-31 21:12:48.760499657 +0200
  12115. @@ -130,6 +130,7 @@
  12116. DEFS = @DEFS@
  12117. DEPDIR = @DEPDIR@
  12118. DLLIB = @DLLIB@
  12119. +DLLTOOL = @DLLTOOL@
  12120. DSYMUTIL = @DSYMUTIL@
  12121. DUMPBIN = @DUMPBIN@
  12122. ECHO_C = @ECHO_C@
  12123. @@ -157,6 +158,7 @@
  12124. LN_S = @LN_S@
  12125. LTLIBOBJS = @LTLIBOBJS@
  12126. MAKEINFO = @MAKEINFO@
  12127. +MANIFEST_TOOL = @MANIFEST_TOOL@
  12128. MKDIR_P = @MKDIR_P@
  12129. MYSQLCFLAG = @MYSQLCFLAG@
  12130. MYSQLCONFIG = @MYSQLCONFIG@
  12131. @@ -237,7 +239,6 @@
  12132. linux_headers = @linux_headers@
  12133. localedir = @localedir@
  12134. localstatedir = @localstatedir@
  12135. -lt_ECHO = @lt_ECHO@
  12136. mandir = @mandir@
  12137. mkdir_p = @mkdir_p@
  12138. nm_CFLAGS = @nm_CFLAGS@
  12139. diff -Nur strongswan-4.4.1.orig/src/libhydra/plugins/resolve/Makefile.in strongswan-4.4.1/src/libhydra/plugins/resolve/Makefile.in
  12140. --- strongswan-4.4.1.orig/src/libhydra/plugins/resolve/Makefile.in 2010-07-29 20:11:14.000000000 +0200
  12141. +++ strongswan-4.4.1/src/libhydra/plugins/resolve/Makefile.in 2010-07-31 21:12:48.960499724 +0200
  12142. @@ -120,6 +120,7 @@
  12143. DEFS = @DEFS@
  12144. DEPDIR = @DEPDIR@
  12145. DLLIB = @DLLIB@
  12146. +DLLTOOL = @DLLTOOL@
  12147. DSYMUTIL = @DSYMUTIL@
  12148. DUMPBIN = @DUMPBIN@
  12149. ECHO_C = @ECHO_C@
  12150. @@ -147,6 +148,7 @@
  12151. LN_S = @LN_S@
  12152. LTLIBOBJS = @LTLIBOBJS@
  12153. MAKEINFO = @MAKEINFO@
  12154. +MANIFEST_TOOL = @MANIFEST_TOOL@
  12155. MKDIR_P = @MKDIR_P@
  12156. MYSQLCFLAG = @MYSQLCFLAG@
  12157. MYSQLCONFIG = @MYSQLCONFIG@
  12158. @@ -227,7 +229,6 @@
  12159. linux_headers = @linux_headers@
  12160. localedir = @localedir@
  12161. localstatedir = @localstatedir@
  12162. -lt_ECHO = @lt_ECHO@
  12163. mandir = @mandir@
  12164. mkdir_p = @mkdir_p@
  12165. nm_CFLAGS = @nm_CFLAGS@
  12166. diff -Nur strongswan-4.4.1.orig/src/libsimaka/Makefile.in strongswan-4.4.1/src/libsimaka/Makefile.in
  12167. --- strongswan-4.4.1.orig/src/libsimaka/Makefile.in 2010-07-29 20:11:14.000000000 +0200
  12168. +++ strongswan-4.4.1/src/libsimaka/Makefile.in 2010-07-31 21:12:49.144499410 +0200
  12169. @@ -90,6 +90,7 @@
  12170. DEFS = @DEFS@
  12171. DEPDIR = @DEPDIR@
  12172. DLLIB = @DLLIB@
  12173. +DLLTOOL = @DLLTOOL@
  12174. DSYMUTIL = @DSYMUTIL@
  12175. DUMPBIN = @DUMPBIN@
  12176. ECHO_C = @ECHO_C@
  12177. @@ -117,6 +118,7 @@
  12178. LN_S = @LN_S@
  12179. LTLIBOBJS = @LTLIBOBJS@
  12180. MAKEINFO = @MAKEINFO@
  12181. +MANIFEST_TOOL = @MANIFEST_TOOL@
  12182. MKDIR_P = @MKDIR_P@
  12183. MYSQLCFLAG = @MYSQLCFLAG@
  12184. MYSQLCONFIG = @MYSQLCONFIG@
  12185. @@ -197,7 +199,6 @@
  12186. linux_headers = @linux_headers@
  12187. localedir = @localedir@
  12188. localstatedir = @localstatedir@
  12189. -lt_ECHO = @lt_ECHO@
  12190. mandir = @mandir@
  12191. mkdir_p = @mkdir_p@
  12192. nm_CFLAGS = @nm_CFLAGS@
  12193. diff -Nur strongswan-4.4.1.orig/src/libstrongswan/Makefile.in strongswan-4.4.1/src/libstrongswan/Makefile.in
  12194. --- strongswan-4.4.1.orig/src/libstrongswan/Makefile.in 2010-07-29 20:11:15.000000000 +0200
  12195. +++ strongswan-4.4.1/src/libstrongswan/Makefile.in 2010-07-31 21:12:49.848505008 +0200
  12196. @@ -311,6 +311,7 @@
  12197. DEFS = @DEFS@
  12198. DEPDIR = @DEPDIR@
  12199. DLLIB = @DLLIB@
  12200. +DLLTOOL = @DLLTOOL@
  12201. DSYMUTIL = @DSYMUTIL@
  12202. DUMPBIN = @DUMPBIN@
  12203. ECHO_C = @ECHO_C@
  12204. @@ -338,6 +339,7 @@
  12205. LN_S = @LN_S@
  12206. LTLIBOBJS = @LTLIBOBJS@
  12207. MAKEINFO = @MAKEINFO@
  12208. +MANIFEST_TOOL = @MANIFEST_TOOL@
  12209. MKDIR_P = @MKDIR_P@
  12210. MYSQLCFLAG = @MYSQLCFLAG@
  12211. MYSQLCONFIG = @MYSQLCONFIG@
  12212. @@ -418,7 +420,6 @@
  12213. linux_headers = @linux_headers@
  12214. localedir = @localedir@
  12215. localstatedir = @localstatedir@
  12216. -lt_ECHO = @lt_ECHO@
  12217. mandir = @mandir@
  12218. mkdir_p = @mkdir_p@
  12219. nm_CFLAGS = @nm_CFLAGS@
  12220. diff -Nur strongswan-4.4.1.orig/src/libstrongswan/plugins/aes/Makefile.in strongswan-4.4.1/src/libstrongswan/plugins/aes/Makefile.in
  12221. --- strongswan-4.4.1.orig/src/libstrongswan/plugins/aes/Makefile.in 2010-07-29 20:11:15.000000000 +0200
  12222. +++ strongswan-4.4.1/src/libstrongswan/plugins/aes/Makefile.in 2010-07-31 21:12:50.060502962 +0200
  12223. @@ -117,6 +117,7 @@
  12224. DEFS = @DEFS@
  12225. DEPDIR = @DEPDIR@
  12226. DLLIB = @DLLIB@
  12227. +DLLTOOL = @DLLTOOL@
  12228. DSYMUTIL = @DSYMUTIL@
  12229. DUMPBIN = @DUMPBIN@
  12230. ECHO_C = @ECHO_C@
  12231. @@ -144,6 +145,7 @@
  12232. LN_S = @LN_S@
  12233. LTLIBOBJS = @LTLIBOBJS@
  12234. MAKEINFO = @MAKEINFO@
  12235. +MANIFEST_TOOL = @MANIFEST_TOOL@
  12236. MKDIR_P = @MKDIR_P@
  12237. MYSQLCFLAG = @MYSQLCFLAG@
  12238. MYSQLCONFIG = @MYSQLCONFIG@
  12239. @@ -224,7 +226,6 @@
  12240. linux_headers = @linux_headers@
  12241. localedir = @localedir@
  12242. localstatedir = @localstatedir@
  12243. -lt_ECHO = @lt_ECHO@
  12244. mandir = @mandir@
  12245. mkdir_p = @mkdir_p@
  12246. nm_CFLAGS = @nm_CFLAGS@
  12247. diff -Nur strongswan-4.4.1.orig/src/libstrongswan/plugins/agent/Makefile.in strongswan-4.4.1/src/libstrongswan/plugins/agent/Makefile.in
  12248. --- strongswan-4.4.1.orig/src/libstrongswan/plugins/agent/Makefile.in 2010-07-29 20:11:15.000000000 +0200
  12249. +++ strongswan-4.4.1/src/libstrongswan/plugins/agent/Makefile.in 2010-07-31 21:12:50.264500726 +0200
  12250. @@ -119,6 +119,7 @@
  12251. DEFS = @DEFS@
  12252. DEPDIR = @DEPDIR@
  12253. DLLIB = @DLLIB@
  12254. +DLLTOOL = @DLLTOOL@
  12255. DSYMUTIL = @DSYMUTIL@
  12256. DUMPBIN = @DUMPBIN@
  12257. ECHO_C = @ECHO_C@
  12258. @@ -146,6 +147,7 @@
  12259. LN_S = @LN_S@
  12260. LTLIBOBJS = @LTLIBOBJS@
  12261. MAKEINFO = @MAKEINFO@
  12262. +MANIFEST_TOOL = @MANIFEST_TOOL@
  12263. MKDIR_P = @MKDIR_P@
  12264. MYSQLCFLAG = @MYSQLCFLAG@
  12265. MYSQLCONFIG = @MYSQLCONFIG@
  12266. @@ -226,7 +228,6 @@
  12267. linux_headers = @linux_headers@
  12268. localedir = @localedir@
  12269. localstatedir = @localstatedir@
  12270. -lt_ECHO = @lt_ECHO@
  12271. mandir = @mandir@
  12272. mkdir_p = @mkdir_p@
  12273. nm_CFLAGS = @nm_CFLAGS@
  12274. diff -Nur strongswan-4.4.1.orig/src/libstrongswan/plugins/blowfish/Makefile.in strongswan-4.4.1/src/libstrongswan/plugins/blowfish/Makefile.in
  12275. --- strongswan-4.4.1.orig/src/libstrongswan/plugins/blowfish/Makefile.in 2010-07-29 20:11:15.000000000 +0200
  12276. +++ strongswan-4.4.1/src/libstrongswan/plugins/blowfish/Makefile.in 2010-07-31 21:12:50.456499773 +0200
  12277. @@ -121,6 +121,7 @@
  12278. DEFS = @DEFS@
  12279. DEPDIR = @DEPDIR@
  12280. DLLIB = @DLLIB@
  12281. +DLLTOOL = @DLLTOOL@
  12282. DSYMUTIL = @DSYMUTIL@
  12283. DUMPBIN = @DUMPBIN@
  12284. ECHO_C = @ECHO_C@
  12285. @@ -148,6 +149,7 @@
  12286. LN_S = @LN_S@
  12287. LTLIBOBJS = @LTLIBOBJS@
  12288. MAKEINFO = @MAKEINFO@
  12289. +MANIFEST_TOOL = @MANIFEST_TOOL@
  12290. MKDIR_P = @MKDIR_P@
  12291. MYSQLCFLAG = @MYSQLCFLAG@
  12292. MYSQLCONFIG = @MYSQLCONFIG@
  12293. @@ -228,7 +230,6 @@
  12294. linux_headers = @linux_headers@
  12295. localedir = @localedir@
  12296. localstatedir = @localstatedir@
  12297. -lt_ECHO = @lt_ECHO@
  12298. mandir = @mandir@
  12299. mkdir_p = @mkdir_p@
  12300. nm_CFLAGS = @nm_CFLAGS@
  12301. diff -Nur strongswan-4.4.1.orig/src/libstrongswan/plugins/curl/Makefile.in strongswan-4.4.1/src/libstrongswan/plugins/curl/Makefile.in
  12302. --- strongswan-4.4.1.orig/src/libstrongswan/plugins/curl/Makefile.in 2010-07-29 20:11:15.000000000 +0200
  12303. +++ strongswan-4.4.1/src/libstrongswan/plugins/curl/Makefile.in 2010-07-31 21:12:50.692500212 +0200
  12304. @@ -117,6 +117,7 @@
  12305. DEFS = @DEFS@
  12306. DEPDIR = @DEPDIR@
  12307. DLLIB = @DLLIB@
  12308. +DLLTOOL = @DLLTOOL@
  12309. DSYMUTIL = @DSYMUTIL@
  12310. DUMPBIN = @DUMPBIN@
  12311. ECHO_C = @ECHO_C@
  12312. @@ -144,6 +145,7 @@
  12313. LN_S = @LN_S@
  12314. LTLIBOBJS = @LTLIBOBJS@
  12315. MAKEINFO = @MAKEINFO@
  12316. +MANIFEST_TOOL = @MANIFEST_TOOL@
  12317. MKDIR_P = @MKDIR_P@
  12318. MYSQLCFLAG = @MYSQLCFLAG@
  12319. MYSQLCONFIG = @MYSQLCONFIG@
  12320. @@ -224,7 +226,6 @@
  12321. linux_headers = @linux_headers@
  12322. localedir = @localedir@
  12323. localstatedir = @localstatedir@
  12324. -lt_ECHO = @lt_ECHO@
  12325. mandir = @mandir@
  12326. mkdir_p = @mkdir_p@
  12327. nm_CFLAGS = @nm_CFLAGS@
  12328. diff -Nur strongswan-4.4.1.orig/src/libstrongswan/plugins/des/Makefile.in strongswan-4.4.1/src/libstrongswan/plugins/des/Makefile.in
  12329. --- strongswan-4.4.1.orig/src/libstrongswan/plugins/des/Makefile.in 2010-07-29 20:11:15.000000000 +0200
  12330. +++ strongswan-4.4.1/src/libstrongswan/plugins/des/Makefile.in 2010-07-31 21:12:50.924499887 +0200
  12331. @@ -117,6 +117,7 @@
  12332. DEFS = @DEFS@
  12333. DEPDIR = @DEPDIR@
  12334. DLLIB = @DLLIB@
  12335. +DLLTOOL = @DLLTOOL@
  12336. DSYMUTIL = @DSYMUTIL@
  12337. DUMPBIN = @DUMPBIN@
  12338. ECHO_C = @ECHO_C@
  12339. @@ -144,6 +145,7 @@
  12340. LN_S = @LN_S@
  12341. LTLIBOBJS = @LTLIBOBJS@
  12342. MAKEINFO = @MAKEINFO@
  12343. +MANIFEST_TOOL = @MANIFEST_TOOL@
  12344. MKDIR_P = @MKDIR_P@
  12345. MYSQLCFLAG = @MYSQLCFLAG@
  12346. MYSQLCONFIG = @MYSQLCONFIG@
  12347. @@ -224,7 +226,6 @@
  12348. linux_headers = @linux_headers@
  12349. localedir = @localedir@
  12350. localstatedir = @localstatedir@
  12351. -lt_ECHO = @lt_ECHO@
  12352. mandir = @mandir@
  12353. mkdir_p = @mkdir_p@
  12354. nm_CFLAGS = @nm_CFLAGS@
  12355. diff -Nur strongswan-4.4.1.orig/src/libstrongswan/plugins/dnskey/Makefile.in strongswan-4.4.1/src/libstrongswan/plugins/dnskey/Makefile.in
  12356. --- strongswan-4.4.1.orig/src/libstrongswan/plugins/dnskey/Makefile.in 2010-07-29 20:11:15.000000000 +0200
  12357. +++ strongswan-4.4.1/src/libstrongswan/plugins/dnskey/Makefile.in 2010-07-31 21:12:51.144502483 +0200
  12358. @@ -120,6 +120,7 @@
  12359. DEFS = @DEFS@
  12360. DEPDIR = @DEPDIR@
  12361. DLLIB = @DLLIB@
  12362. +DLLTOOL = @DLLTOOL@
  12363. DSYMUTIL = @DSYMUTIL@
  12364. DUMPBIN = @DUMPBIN@
  12365. ECHO_C = @ECHO_C@
  12366. @@ -147,6 +148,7 @@
  12367. LN_S = @LN_S@
  12368. LTLIBOBJS = @LTLIBOBJS@
  12369. MAKEINFO = @MAKEINFO@
  12370. +MANIFEST_TOOL = @MANIFEST_TOOL@
  12371. MKDIR_P = @MKDIR_P@
  12372. MYSQLCFLAG = @MYSQLCFLAG@
  12373. MYSQLCONFIG = @MYSQLCONFIG@
  12374. @@ -227,7 +229,6 @@
  12375. linux_headers = @linux_headers@
  12376. localedir = @localedir@
  12377. localstatedir = @localstatedir@
  12378. -lt_ECHO = @lt_ECHO@
  12379. mandir = @mandir@
  12380. mkdir_p = @mkdir_p@
  12381. nm_CFLAGS = @nm_CFLAGS@
  12382. diff -Nur strongswan-4.4.1.orig/src/libstrongswan/plugins/fips_prf/Makefile.in strongswan-4.4.1/src/libstrongswan/plugins/fips_prf/Makefile.in
  12383. --- strongswan-4.4.1.orig/src/libstrongswan/plugins/fips_prf/Makefile.in 2010-07-29 20:11:15.000000000 +0200
  12384. +++ strongswan-4.4.1/src/libstrongswan/plugins/fips_prf/Makefile.in 2010-07-31 21:12:51.316499533 +0200
  12385. @@ -120,6 +120,7 @@
  12386. DEFS = @DEFS@
  12387. DEPDIR = @DEPDIR@
  12388. DLLIB = @DLLIB@
  12389. +DLLTOOL = @DLLTOOL@
  12390. DSYMUTIL = @DSYMUTIL@
  12391. DUMPBIN = @DUMPBIN@
  12392. ECHO_C = @ECHO_C@
  12393. @@ -147,6 +148,7 @@
  12394. LN_S = @LN_S@
  12395. LTLIBOBJS = @LTLIBOBJS@
  12396. MAKEINFO = @MAKEINFO@
  12397. +MANIFEST_TOOL = @MANIFEST_TOOL@
  12398. MKDIR_P = @MKDIR_P@
  12399. MYSQLCFLAG = @MYSQLCFLAG@
  12400. MYSQLCONFIG = @MYSQLCONFIG@
  12401. @@ -227,7 +229,6 @@
  12402. linux_headers = @linux_headers@
  12403. localedir = @localedir@
  12404. localstatedir = @localstatedir@
  12405. -lt_ECHO = @lt_ECHO@
  12406. mandir = @mandir@
  12407. mkdir_p = @mkdir_p@
  12408. nm_CFLAGS = @nm_CFLAGS@
  12409. diff -Nur strongswan-4.4.1.orig/src/libstrongswan/plugins/gcrypt/Makefile.in strongswan-4.4.1/src/libstrongswan/plugins/gcrypt/Makefile.in
  12410. --- strongswan-4.4.1.orig/src/libstrongswan/plugins/gcrypt/Makefile.in 2010-07-29 20:11:15.000000000 +0200
  12411. +++ strongswan-4.4.1/src/libstrongswan/plugins/gcrypt/Makefile.in 2010-07-31 21:12:51.512499923 +0200
  12412. @@ -121,6 +121,7 @@
  12413. DEFS = @DEFS@
  12414. DEPDIR = @DEPDIR@
  12415. DLLIB = @DLLIB@
  12416. +DLLTOOL = @DLLTOOL@
  12417. DSYMUTIL = @DSYMUTIL@
  12418. DUMPBIN = @DUMPBIN@
  12419. ECHO_C = @ECHO_C@
  12420. @@ -148,6 +149,7 @@
  12421. LN_S = @LN_S@
  12422. LTLIBOBJS = @LTLIBOBJS@
  12423. MAKEINFO = @MAKEINFO@
  12424. +MANIFEST_TOOL = @MANIFEST_TOOL@
  12425. MKDIR_P = @MKDIR_P@
  12426. MYSQLCFLAG = @MYSQLCFLAG@
  12427. MYSQLCONFIG = @MYSQLCONFIG@
  12428. @@ -228,7 +230,6 @@
  12429. linux_headers = @linux_headers@
  12430. localedir = @localedir@
  12431. localstatedir = @localstatedir@
  12432. -lt_ECHO = @lt_ECHO@
  12433. mandir = @mandir@
  12434. mkdir_p = @mkdir_p@
  12435. nm_CFLAGS = @nm_CFLAGS@
  12436. diff -Nur strongswan-4.4.1.orig/src/libstrongswan/plugins/gmp/Makefile.in strongswan-4.4.1/src/libstrongswan/plugins/gmp/Makefile.in
  12437. --- strongswan-4.4.1.orig/src/libstrongswan/plugins/gmp/Makefile.in 2010-07-29 20:11:15.000000000 +0200
  12438. +++ strongswan-4.4.1/src/libstrongswan/plugins/gmp/Makefile.in 2010-07-31 21:12:51.736499949 +0200
  12439. @@ -118,6 +118,7 @@
  12440. DEFS = @DEFS@
  12441. DEPDIR = @DEPDIR@
  12442. DLLIB = @DLLIB@
  12443. +DLLTOOL = @DLLTOOL@
  12444. DSYMUTIL = @DSYMUTIL@
  12445. DUMPBIN = @DUMPBIN@
  12446. ECHO_C = @ECHO_C@
  12447. @@ -145,6 +146,7 @@
  12448. LN_S = @LN_S@
  12449. LTLIBOBJS = @LTLIBOBJS@
  12450. MAKEINFO = @MAKEINFO@
  12451. +MANIFEST_TOOL = @MANIFEST_TOOL@
  12452. MKDIR_P = @MKDIR_P@
  12453. MYSQLCFLAG = @MYSQLCFLAG@
  12454. MYSQLCONFIG = @MYSQLCONFIG@
  12455. @@ -225,7 +227,6 @@
  12456. linux_headers = @linux_headers@
  12457. localedir = @localedir@
  12458. localstatedir = @localstatedir@
  12459. -lt_ECHO = @lt_ECHO@
  12460. mandir = @mandir@
  12461. mkdir_p = @mkdir_p@
  12462. nm_CFLAGS = @nm_CFLAGS@
  12463. diff -Nur strongswan-4.4.1.orig/src/libstrongswan/plugins/hmac/Makefile.in strongswan-4.4.1/src/libstrongswan/plugins/hmac/Makefile.in
  12464. --- strongswan-4.4.1.orig/src/libstrongswan/plugins/hmac/Makefile.in 2010-07-29 20:11:15.000000000 +0200
  12465. +++ strongswan-4.4.1/src/libstrongswan/plugins/hmac/Makefile.in 2010-07-31 21:12:51.992503241 +0200
  12466. @@ -118,6 +118,7 @@
  12467. DEFS = @DEFS@
  12468. DEPDIR = @DEPDIR@
  12469. DLLIB = @DLLIB@
  12470. +DLLTOOL = @DLLTOOL@
  12471. DSYMUTIL = @DSYMUTIL@
  12472. DUMPBIN = @DUMPBIN@
  12473. ECHO_C = @ECHO_C@
  12474. @@ -145,6 +146,7 @@
  12475. LN_S = @LN_S@
  12476. LTLIBOBJS = @LTLIBOBJS@
  12477. MAKEINFO = @MAKEINFO@
  12478. +MANIFEST_TOOL = @MANIFEST_TOOL@
  12479. MKDIR_P = @MKDIR_P@
  12480. MYSQLCFLAG = @MYSQLCFLAG@
  12481. MYSQLCONFIG = @MYSQLCONFIG@
  12482. @@ -225,7 +227,6 @@
  12483. linux_headers = @linux_headers@
  12484. localedir = @localedir@
  12485. localstatedir = @localstatedir@
  12486. -lt_ECHO = @lt_ECHO@
  12487. mandir = @mandir@
  12488. mkdir_p = @mkdir_p@
  12489. nm_CFLAGS = @nm_CFLAGS@
  12490. diff -Nur strongswan-4.4.1.orig/src/libstrongswan/plugins/ldap/Makefile.in strongswan-4.4.1/src/libstrongswan/plugins/ldap/Makefile.in
  12491. --- strongswan-4.4.1.orig/src/libstrongswan/plugins/ldap/Makefile.in 2010-07-29 20:11:15.000000000 +0200
  12492. +++ strongswan-4.4.1/src/libstrongswan/plugins/ldap/Makefile.in 2010-07-31 21:12:52.208500572 +0200
  12493. @@ -117,6 +117,7 @@
  12494. DEFS = @DEFS@
  12495. DEPDIR = @DEPDIR@
  12496. DLLIB = @DLLIB@
  12497. +DLLTOOL = @DLLTOOL@
  12498. DSYMUTIL = @DSYMUTIL@
  12499. DUMPBIN = @DUMPBIN@
  12500. ECHO_C = @ECHO_C@
  12501. @@ -144,6 +145,7 @@
  12502. LN_S = @LN_S@
  12503. LTLIBOBJS = @LTLIBOBJS@
  12504. MAKEINFO = @MAKEINFO@
  12505. +MANIFEST_TOOL = @MANIFEST_TOOL@
  12506. MKDIR_P = @MKDIR_P@
  12507. MYSQLCFLAG = @MYSQLCFLAG@
  12508. MYSQLCONFIG = @MYSQLCONFIG@
  12509. @@ -224,7 +226,6 @@
  12510. linux_headers = @linux_headers@
  12511. localedir = @localedir@
  12512. localstatedir = @localstatedir@
  12513. -lt_ECHO = @lt_ECHO@
  12514. mandir = @mandir@
  12515. mkdir_p = @mkdir_p@
  12516. nm_CFLAGS = @nm_CFLAGS@
  12517. diff -Nur strongswan-4.4.1.orig/src/libstrongswan/plugins/md4/Makefile.in strongswan-4.4.1/src/libstrongswan/plugins/md4/Makefile.in
  12518. --- strongswan-4.4.1.orig/src/libstrongswan/plugins/md4/Makefile.in 2010-07-29 20:11:15.000000000 +0200
  12519. +++ strongswan-4.4.1/src/libstrongswan/plugins/md4/Makefile.in 2010-07-31 21:12:52.424499887 +0200
  12520. @@ -117,6 +117,7 @@
  12521. DEFS = @DEFS@
  12522. DEPDIR = @DEPDIR@
  12523. DLLIB = @DLLIB@
  12524. +DLLTOOL = @DLLTOOL@
  12525. DSYMUTIL = @DSYMUTIL@
  12526. DUMPBIN = @DUMPBIN@
  12527. ECHO_C = @ECHO_C@
  12528. @@ -144,6 +145,7 @@
  12529. LN_S = @LN_S@
  12530. LTLIBOBJS = @LTLIBOBJS@
  12531. MAKEINFO = @MAKEINFO@
  12532. +MANIFEST_TOOL = @MANIFEST_TOOL@
  12533. MKDIR_P = @MKDIR_P@
  12534. MYSQLCFLAG = @MYSQLCFLAG@
  12535. MYSQLCONFIG = @MYSQLCONFIG@
  12536. @@ -224,7 +226,6 @@
  12537. linux_headers = @linux_headers@
  12538. localedir = @localedir@
  12539. localstatedir = @localstatedir@
  12540. -lt_ECHO = @lt_ECHO@
  12541. mandir = @mandir@
  12542. mkdir_p = @mkdir_p@
  12543. nm_CFLAGS = @nm_CFLAGS@
  12544. diff -Nur strongswan-4.4.1.orig/src/libstrongswan/plugins/md5/Makefile.in strongswan-4.4.1/src/libstrongswan/plugins/md5/Makefile.in
  12545. --- strongswan-4.4.1.orig/src/libstrongswan/plugins/md5/Makefile.in 2010-07-29 20:11:15.000000000 +0200
  12546. +++ strongswan-4.4.1/src/libstrongswan/plugins/md5/Makefile.in 2010-07-31 21:12:52.624503289 +0200
  12547. @@ -117,6 +117,7 @@
  12548. DEFS = @DEFS@
  12549. DEPDIR = @DEPDIR@
  12550. DLLIB = @DLLIB@
  12551. +DLLTOOL = @DLLTOOL@
  12552. DSYMUTIL = @DSYMUTIL@
  12553. DUMPBIN = @DUMPBIN@
  12554. ECHO_C = @ECHO_C@
  12555. @@ -144,6 +145,7 @@
  12556. LN_S = @LN_S@
  12557. LTLIBOBJS = @LTLIBOBJS@
  12558. MAKEINFO = @MAKEINFO@
  12559. +MANIFEST_TOOL = @MANIFEST_TOOL@
  12560. MKDIR_P = @MKDIR_P@
  12561. MYSQLCFLAG = @MYSQLCFLAG@
  12562. MYSQLCONFIG = @MYSQLCONFIG@
  12563. @@ -224,7 +226,6 @@
  12564. linux_headers = @linux_headers@
  12565. localedir = @localedir@
  12566. localstatedir = @localstatedir@
  12567. -lt_ECHO = @lt_ECHO@
  12568. mandir = @mandir@
  12569. mkdir_p = @mkdir_p@
  12570. nm_CFLAGS = @nm_CFLAGS@
  12571. diff -Nur strongswan-4.4.1.orig/src/libstrongswan/plugins/mysql/Makefile.in strongswan-4.4.1/src/libstrongswan/plugins/mysql/Makefile.in
  12572. --- strongswan-4.4.1.orig/src/libstrongswan/plugins/mysql/Makefile.in 2010-07-29 20:11:16.000000000 +0200
  12573. +++ strongswan-4.4.1/src/libstrongswan/plugins/mysql/Makefile.in 2010-07-31 21:12:52.820500881 +0200
  12574. @@ -119,6 +119,7 @@
  12575. DEFS = @DEFS@
  12576. DEPDIR = @DEPDIR@
  12577. DLLIB = @DLLIB@
  12578. +DLLTOOL = @DLLTOOL@
  12579. DSYMUTIL = @DSYMUTIL@
  12580. DUMPBIN = @DUMPBIN@
  12581. ECHO_C = @ECHO_C@
  12582. @@ -146,6 +147,7 @@
  12583. LN_S = @LN_S@
  12584. LTLIBOBJS = @LTLIBOBJS@
  12585. MAKEINFO = @MAKEINFO@
  12586. +MANIFEST_TOOL = @MANIFEST_TOOL@
  12587. MKDIR_P = @MKDIR_P@
  12588. MYSQLCFLAG = @MYSQLCFLAG@
  12589. MYSQLCONFIG = @MYSQLCONFIG@
  12590. @@ -226,7 +228,6 @@
  12591. linux_headers = @linux_headers@
  12592. localedir = @localedir@
  12593. localstatedir = @localstatedir@
  12594. -lt_ECHO = @lt_ECHO@
  12595. mandir = @mandir@
  12596. mkdir_p = @mkdir_p@
  12597. nm_CFLAGS = @nm_CFLAGS@
  12598. diff -Nur strongswan-4.4.1.orig/src/libstrongswan/plugins/openssl/Makefile.in strongswan-4.4.1/src/libstrongswan/plugins/openssl/Makefile.in
  12599. --- strongswan-4.4.1.orig/src/libstrongswan/plugins/openssl/Makefile.in 2010-07-29 20:11:16.000000000 +0200
  12600. +++ strongswan-4.4.1/src/libstrongswan/plugins/openssl/Makefile.in 2010-07-31 21:12:53.032499955 +0200
  12601. @@ -124,6 +124,7 @@
  12602. DEFS = @DEFS@
  12603. DEPDIR = @DEPDIR@
  12604. DLLIB = @DLLIB@
  12605. +DLLTOOL = @DLLTOOL@
  12606. DSYMUTIL = @DSYMUTIL@
  12607. DUMPBIN = @DUMPBIN@
  12608. ECHO_C = @ECHO_C@
  12609. @@ -151,6 +152,7 @@
  12610. LN_S = @LN_S@
  12611. LTLIBOBJS = @LTLIBOBJS@
  12612. MAKEINFO = @MAKEINFO@
  12613. +MANIFEST_TOOL = @MANIFEST_TOOL@
  12614. MKDIR_P = @MKDIR_P@
  12615. MYSQLCFLAG = @MYSQLCFLAG@
  12616. MYSQLCONFIG = @MYSQLCONFIG@
  12617. @@ -231,7 +233,6 @@
  12618. linux_headers = @linux_headers@
  12619. localedir = @localedir@
  12620. localstatedir = @localstatedir@
  12621. -lt_ECHO = @lt_ECHO@
  12622. mandir = @mandir@
  12623. mkdir_p = @mkdir_p@
  12624. nm_CFLAGS = @nm_CFLAGS@
  12625. diff -Nur strongswan-4.4.1.orig/src/libstrongswan/plugins/padlock/Makefile.in strongswan-4.4.1/src/libstrongswan/plugins/padlock/Makefile.in
  12626. --- strongswan-4.4.1.orig/src/libstrongswan/plugins/padlock/Makefile.in 2010-07-29 20:11:16.000000000 +0200
  12627. +++ strongswan-4.4.1/src/libstrongswan/plugins/padlock/Makefile.in 2010-07-31 21:12:53.264500167 +0200
  12628. @@ -120,6 +120,7 @@
  12629. DEFS = @DEFS@
  12630. DEPDIR = @DEPDIR@
  12631. DLLIB = @DLLIB@
  12632. +DLLTOOL = @DLLTOOL@
  12633. DSYMUTIL = @DSYMUTIL@
  12634. DUMPBIN = @DUMPBIN@
  12635. ECHO_C = @ECHO_C@
  12636. @@ -147,6 +148,7 @@
  12637. LN_S = @LN_S@
  12638. LTLIBOBJS = @LTLIBOBJS@
  12639. MAKEINFO = @MAKEINFO@
  12640. +MANIFEST_TOOL = @MANIFEST_TOOL@
  12641. MKDIR_P = @MKDIR_P@
  12642. MYSQLCFLAG = @MYSQLCFLAG@
  12643. MYSQLCONFIG = @MYSQLCONFIG@
  12644. @@ -227,7 +229,6 @@
  12645. linux_headers = @linux_headers@
  12646. localedir = @localedir@
  12647. localstatedir = @localstatedir@
  12648. -lt_ECHO = @lt_ECHO@
  12649. mandir = @mandir@
  12650. mkdir_p = @mkdir_p@
  12651. nm_CFLAGS = @nm_CFLAGS@
  12652. diff -Nur strongswan-4.4.1.orig/src/libstrongswan/plugins/pem/Makefile.in strongswan-4.4.1/src/libstrongswan/plugins/pem/Makefile.in
  12653. --- strongswan-4.4.1.orig/src/libstrongswan/plugins/pem/Makefile.in 2010-07-29 20:11:16.000000000 +0200
  12654. +++ strongswan-4.4.1/src/libstrongswan/plugins/pem/Makefile.in 2010-07-31 21:12:53.475691043 +0200
  12655. @@ -118,6 +118,7 @@
  12656. DEFS = @DEFS@
  12657. DEPDIR = @DEPDIR@
  12658. DLLIB = @DLLIB@
  12659. +DLLTOOL = @DLLTOOL@
  12660. DSYMUTIL = @DSYMUTIL@
  12661. DUMPBIN = @DUMPBIN@
  12662. ECHO_C = @ECHO_C@
  12663. @@ -145,6 +146,7 @@
  12664. LN_S = @LN_S@
  12665. LTLIBOBJS = @LTLIBOBJS@
  12666. MAKEINFO = @MAKEINFO@
  12667. +MANIFEST_TOOL = @MANIFEST_TOOL@
  12668. MKDIR_P = @MKDIR_P@
  12669. MYSQLCFLAG = @MYSQLCFLAG@
  12670. MYSQLCONFIG = @MYSQLCONFIG@
  12671. @@ -225,7 +227,6 @@
  12672. linux_headers = @linux_headers@
  12673. localedir = @localedir@
  12674. localstatedir = @localstatedir@
  12675. -lt_ECHO = @lt_ECHO@
  12676. mandir = @mandir@
  12677. mkdir_p = @mkdir_p@
  12678. nm_CFLAGS = @nm_CFLAGS@
  12679. diff -Nur strongswan-4.4.1.orig/src/libstrongswan/plugins/pgp/Makefile.in strongswan-4.4.1/src/libstrongswan/plugins/pgp/Makefile.in
  12680. --- strongswan-4.4.1.orig/src/libstrongswan/plugins/pgp/Makefile.in 2010-07-29 20:11:16.000000000 +0200
  12681. +++ strongswan-4.4.1/src/libstrongswan/plugins/pgp/Makefile.in 2010-07-31 21:12:53.716501870 +0200
  12682. @@ -118,6 +118,7 @@
  12683. DEFS = @DEFS@
  12684. DEPDIR = @DEPDIR@
  12685. DLLIB = @DLLIB@
  12686. +DLLTOOL = @DLLTOOL@
  12687. DSYMUTIL = @DSYMUTIL@
  12688. DUMPBIN = @DUMPBIN@
  12689. ECHO_C = @ECHO_C@
  12690. @@ -145,6 +146,7 @@
  12691. LN_S = @LN_S@
  12692. LTLIBOBJS = @LTLIBOBJS@
  12693. MAKEINFO = @MAKEINFO@
  12694. +MANIFEST_TOOL = @MANIFEST_TOOL@
  12695. MKDIR_P = @MKDIR_P@
  12696. MYSQLCFLAG = @MYSQLCFLAG@
  12697. MYSQLCONFIG = @MYSQLCONFIG@
  12698. @@ -225,7 +227,6 @@
  12699. linux_headers = @linux_headers@
  12700. localedir = @localedir@
  12701. localstatedir = @localstatedir@
  12702. -lt_ECHO = @lt_ECHO@
  12703. mandir = @mandir@
  12704. mkdir_p = @mkdir_p@
  12705. nm_CFLAGS = @nm_CFLAGS@
  12706. diff -Nur strongswan-4.4.1.orig/src/libstrongswan/plugins/pkcs1/Makefile.in strongswan-4.4.1/src/libstrongswan/plugins/pkcs1/Makefile.in
  12707. --- strongswan-4.4.1.orig/src/libstrongswan/plugins/pkcs1/Makefile.in 2010-07-29 20:11:16.000000000 +0200
  12708. +++ strongswan-4.4.1/src/libstrongswan/plugins/pkcs1/Makefile.in 2010-07-31 21:12:54.024498928 +0200
  12709. @@ -119,6 +119,7 @@
  12710. DEFS = @DEFS@
  12711. DEPDIR = @DEPDIR@
  12712. DLLIB = @DLLIB@
  12713. +DLLTOOL = @DLLTOOL@
  12714. DSYMUTIL = @DSYMUTIL@
  12715. DUMPBIN = @DUMPBIN@
  12716. ECHO_C = @ECHO_C@
  12717. @@ -146,6 +147,7 @@
  12718. LN_S = @LN_S@
  12719. LTLIBOBJS = @LTLIBOBJS@
  12720. MAKEINFO = @MAKEINFO@
  12721. +MANIFEST_TOOL = @MANIFEST_TOOL@
  12722. MKDIR_P = @MKDIR_P@
  12723. MYSQLCFLAG = @MYSQLCFLAG@
  12724. MYSQLCONFIG = @MYSQLCONFIG@
  12725. @@ -226,7 +228,6 @@
  12726. linux_headers = @linux_headers@
  12727. localedir = @localedir@
  12728. localstatedir = @localstatedir@
  12729. -lt_ECHO = @lt_ECHO@
  12730. mandir = @mandir@
  12731. mkdir_p = @mkdir_p@
  12732. nm_CFLAGS = @nm_CFLAGS@
  12733. diff -Nur strongswan-4.4.1.orig/src/libstrongswan/plugins/pubkey/Makefile.in strongswan-4.4.1/src/libstrongswan/plugins/pubkey/Makefile.in
  12734. --- strongswan-4.4.1.orig/src/libstrongswan/plugins/pubkey/Makefile.in 2010-07-29 20:11:16.000000000 +0200
  12735. +++ strongswan-4.4.1/src/libstrongswan/plugins/pubkey/Makefile.in 2010-07-31 21:12:54.240499897 +0200
  12736. @@ -119,6 +119,7 @@
  12737. DEFS = @DEFS@
  12738. DEPDIR = @DEPDIR@
  12739. DLLIB = @DLLIB@
  12740. +DLLTOOL = @DLLTOOL@
  12741. DSYMUTIL = @DSYMUTIL@
  12742. DUMPBIN = @DUMPBIN@
  12743. ECHO_C = @ECHO_C@
  12744. @@ -146,6 +147,7 @@
  12745. LN_S = @LN_S@
  12746. LTLIBOBJS = @LTLIBOBJS@
  12747. MAKEINFO = @MAKEINFO@
  12748. +MANIFEST_TOOL = @MANIFEST_TOOL@
  12749. MKDIR_P = @MKDIR_P@
  12750. MYSQLCFLAG = @MYSQLCFLAG@
  12751. MYSQLCONFIG = @MYSQLCONFIG@
  12752. @@ -226,7 +228,6 @@
  12753. linux_headers = @linux_headers@
  12754. localedir = @localedir@
  12755. localstatedir = @localstatedir@
  12756. -lt_ECHO = @lt_ECHO@
  12757. mandir = @mandir@
  12758. mkdir_p = @mkdir_p@
  12759. nm_CFLAGS = @nm_CFLAGS@
  12760. diff -Nur strongswan-4.4.1.orig/src/libstrongswan/plugins/random/Makefile.in strongswan-4.4.1/src/libstrongswan/plugins/random/Makefile.in
  12761. --- strongswan-4.4.1.orig/src/libstrongswan/plugins/random/Makefile.in 2010-07-29 20:11:16.000000000 +0200
  12762. +++ strongswan-4.4.1/src/libstrongswan/plugins/random/Makefile.in 2010-07-31 21:12:54.472499574 +0200
  12763. @@ -119,6 +119,7 @@
  12764. DEFS = @DEFS@
  12765. DEPDIR = @DEPDIR@
  12766. DLLIB = @DLLIB@
  12767. +DLLTOOL = @DLLTOOL@
  12768. DSYMUTIL = @DSYMUTIL@
  12769. DUMPBIN = @DUMPBIN@
  12770. ECHO_C = @ECHO_C@
  12771. @@ -146,6 +147,7 @@
  12772. LN_S = @LN_S@
  12773. LTLIBOBJS = @LTLIBOBJS@
  12774. MAKEINFO = @MAKEINFO@
  12775. +MANIFEST_TOOL = @MANIFEST_TOOL@
  12776. MKDIR_P = @MKDIR_P@
  12777. MYSQLCFLAG = @MYSQLCFLAG@
  12778. MYSQLCONFIG = @MYSQLCONFIG@
  12779. @@ -226,7 +228,6 @@
  12780. linux_headers = @linux_headers@
  12781. localedir = @localedir@
  12782. localstatedir = @localstatedir@
  12783. -lt_ECHO = @lt_ECHO@
  12784. mandir = @mandir@
  12785. mkdir_p = @mkdir_p@
  12786. nm_CFLAGS = @nm_CFLAGS@
  12787. diff -Nur strongswan-4.4.1.orig/src/libstrongswan/plugins/revocation/Makefile.in strongswan-4.4.1/src/libstrongswan/plugins/revocation/Makefile.in
  12788. --- strongswan-4.4.1.orig/src/libstrongswan/plugins/revocation/Makefile.in 2010-07-29 20:11:16.000000000 +0200
  12789. +++ strongswan-4.4.1/src/libstrongswan/plugins/revocation/Makefile.in 2010-07-31 21:12:54.688500819 +0200
  12790. @@ -121,6 +121,7 @@
  12791. DEFS = @DEFS@
  12792. DEPDIR = @DEPDIR@
  12793. DLLIB = @DLLIB@
  12794. +DLLTOOL = @DLLTOOL@
  12795. DSYMUTIL = @DSYMUTIL@
  12796. DUMPBIN = @DUMPBIN@
  12797. ECHO_C = @ECHO_C@
  12798. @@ -148,6 +149,7 @@
  12799. LN_S = @LN_S@
  12800. LTLIBOBJS = @LTLIBOBJS@
  12801. MAKEINFO = @MAKEINFO@
  12802. +MANIFEST_TOOL = @MANIFEST_TOOL@
  12803. MKDIR_P = @MKDIR_P@
  12804. MYSQLCFLAG = @MYSQLCFLAG@
  12805. MYSQLCONFIG = @MYSQLCONFIG@
  12806. @@ -228,7 +230,6 @@
  12807. linux_headers = @linux_headers@
  12808. localedir = @localedir@
  12809. localstatedir = @localstatedir@
  12810. -lt_ECHO = @lt_ECHO@
  12811. mandir = @mandir@
  12812. mkdir_p = @mkdir_p@
  12813. nm_CFLAGS = @nm_CFLAGS@
  12814. diff -Nur strongswan-4.4.1.orig/src/libstrongswan/plugins/sha1/Makefile.in strongswan-4.4.1/src/libstrongswan/plugins/sha1/Makefile.in
  12815. --- strongswan-4.4.1.orig/src/libstrongswan/plugins/sha1/Makefile.in 2010-07-29 20:11:16.000000000 +0200
  12816. +++ strongswan-4.4.1/src/libstrongswan/plugins/sha1/Makefile.in 2010-07-31 21:12:54.868499735 +0200
  12817. @@ -118,6 +118,7 @@
  12818. DEFS = @DEFS@
  12819. DEPDIR = @DEPDIR@
  12820. DLLIB = @DLLIB@
  12821. +DLLTOOL = @DLLTOOL@
  12822. DSYMUTIL = @DSYMUTIL@
  12823. DUMPBIN = @DUMPBIN@
  12824. ECHO_C = @ECHO_C@
  12825. @@ -145,6 +146,7 @@
  12826. LN_S = @LN_S@
  12827. LTLIBOBJS = @LTLIBOBJS@
  12828. MAKEINFO = @MAKEINFO@
  12829. +MANIFEST_TOOL = @MANIFEST_TOOL@
  12830. MKDIR_P = @MKDIR_P@
  12831. MYSQLCFLAG = @MYSQLCFLAG@
  12832. MYSQLCONFIG = @MYSQLCONFIG@
  12833. @@ -225,7 +227,6 @@
  12834. linux_headers = @linux_headers@
  12835. localedir = @localedir@
  12836. localstatedir = @localstatedir@
  12837. -lt_ECHO = @lt_ECHO@
  12838. mandir = @mandir@
  12839. mkdir_p = @mkdir_p@
  12840. nm_CFLAGS = @nm_CFLAGS@
  12841. diff -Nur strongswan-4.4.1.orig/src/libstrongswan/plugins/sha2/Makefile.in strongswan-4.4.1/src/libstrongswan/plugins/sha2/Makefile.in
  12842. --- strongswan-4.4.1.orig/src/libstrongswan/plugins/sha2/Makefile.in 2010-07-29 20:11:16.000000000 +0200
  12843. +++ strongswan-4.4.1/src/libstrongswan/plugins/sha2/Makefile.in 2010-07-31 21:12:55.100502189 +0200
  12844. @@ -117,6 +117,7 @@
  12845. DEFS = @DEFS@
  12846. DEPDIR = @DEPDIR@
  12847. DLLIB = @DLLIB@
  12848. +DLLTOOL = @DLLTOOL@
  12849. DSYMUTIL = @DSYMUTIL@
  12850. DUMPBIN = @DUMPBIN@
  12851. ECHO_C = @ECHO_C@
  12852. @@ -144,6 +145,7 @@
  12853. LN_S = @LN_S@
  12854. LTLIBOBJS = @LTLIBOBJS@
  12855. MAKEINFO = @MAKEINFO@
  12856. +MANIFEST_TOOL = @MANIFEST_TOOL@
  12857. MKDIR_P = @MKDIR_P@
  12858. MYSQLCFLAG = @MYSQLCFLAG@
  12859. MYSQLCONFIG = @MYSQLCONFIG@
  12860. @@ -224,7 +226,6 @@
  12861. linux_headers = @linux_headers@
  12862. localedir = @localedir@
  12863. localstatedir = @localstatedir@
  12864. -lt_ECHO = @lt_ECHO@
  12865. mandir = @mandir@
  12866. mkdir_p = @mkdir_p@
  12867. nm_CFLAGS = @nm_CFLAGS@
  12868. diff -Nur strongswan-4.4.1.orig/src/libstrongswan/plugins/sqlite/Makefile.in strongswan-4.4.1/src/libstrongswan/plugins/sqlite/Makefile.in
  12869. --- strongswan-4.4.1.orig/src/libstrongswan/plugins/sqlite/Makefile.in 2010-07-29 20:11:16.000000000 +0200
  12870. +++ strongswan-4.4.1/src/libstrongswan/plugins/sqlite/Makefile.in 2010-07-31 21:12:55.272499790 +0200
  12871. @@ -120,6 +120,7 @@
  12872. DEFS = @DEFS@
  12873. DEPDIR = @DEPDIR@
  12874. DLLIB = @DLLIB@
  12875. +DLLTOOL = @DLLTOOL@
  12876. DSYMUTIL = @DSYMUTIL@
  12877. DUMPBIN = @DUMPBIN@
  12878. ECHO_C = @ECHO_C@
  12879. @@ -147,6 +148,7 @@
  12880. LN_S = @LN_S@
  12881. LTLIBOBJS = @LTLIBOBJS@
  12882. MAKEINFO = @MAKEINFO@
  12883. +MANIFEST_TOOL = @MANIFEST_TOOL@
  12884. MKDIR_P = @MKDIR_P@
  12885. MYSQLCFLAG = @MYSQLCFLAG@
  12886. MYSQLCONFIG = @MYSQLCONFIG@
  12887. @@ -227,7 +229,6 @@
  12888. linux_headers = @linux_headers@
  12889. localedir = @localedir@
  12890. localstatedir = @localstatedir@
  12891. -lt_ECHO = @lt_ECHO@
  12892. mandir = @mandir@
  12893. mkdir_p = @mkdir_p@
  12894. nm_CFLAGS = @nm_CFLAGS@
  12895. diff -Nur strongswan-4.4.1.orig/src/libstrongswan/plugins/test_vectors/Makefile.in strongswan-4.4.1/src/libstrongswan/plugins/test_vectors/Makefile.in
  12896. --- strongswan-4.4.1.orig/src/libstrongswan/plugins/test_vectors/Makefile.in 2010-07-29 20:11:17.000000000 +0200
  12897. +++ strongswan-4.4.1/src/libstrongswan/plugins/test_vectors/Makefile.in 2010-07-31 21:12:55.700499833 +0200
  12898. @@ -124,6 +124,7 @@
  12899. DEFS = @DEFS@
  12900. DEPDIR = @DEPDIR@
  12901. DLLIB = @DLLIB@
  12902. +DLLTOOL = @DLLTOOL@
  12903. DSYMUTIL = @DSYMUTIL@
  12904. DUMPBIN = @DUMPBIN@
  12905. ECHO_C = @ECHO_C@
  12906. @@ -151,6 +152,7 @@
  12907. LN_S = @LN_S@
  12908. LTLIBOBJS = @LTLIBOBJS@
  12909. MAKEINFO = @MAKEINFO@
  12910. +MANIFEST_TOOL = @MANIFEST_TOOL@
  12911. MKDIR_P = @MKDIR_P@
  12912. MYSQLCFLAG = @MYSQLCFLAG@
  12913. MYSQLCONFIG = @MYSQLCONFIG@
  12914. @@ -231,7 +233,6 @@
  12915. linux_headers = @linux_headers@
  12916. localedir = @localedir@
  12917. localstatedir = @localstatedir@
  12918. -lt_ECHO = @lt_ECHO@
  12919. mandir = @mandir@
  12920. mkdir_p = @mkdir_p@
  12921. nm_CFLAGS = @nm_CFLAGS@
  12922. diff -Nur strongswan-4.4.1.orig/src/libstrongswan/plugins/x509/Makefile.in strongswan-4.4.1/src/libstrongswan/plugins/x509/Makefile.in
  12923. --- strongswan-4.4.1.orig/src/libstrongswan/plugins/x509/Makefile.in 2010-07-29 20:11:17.000000000 +0200
  12924. +++ strongswan-4.4.1/src/libstrongswan/plugins/x509/Makefile.in 2010-07-31 21:12:55.944500479 +0200
  12925. @@ -119,6 +119,7 @@
  12926. DEFS = @DEFS@
  12927. DEPDIR = @DEPDIR@
  12928. DLLIB = @DLLIB@
  12929. +DLLTOOL = @DLLTOOL@
  12930. DSYMUTIL = @DSYMUTIL@
  12931. DUMPBIN = @DUMPBIN@
  12932. ECHO_C = @ECHO_C@
  12933. @@ -146,6 +147,7 @@
  12934. LN_S = @LN_S@
  12935. LTLIBOBJS = @LTLIBOBJS@
  12936. MAKEINFO = @MAKEINFO@
  12937. +MANIFEST_TOOL = @MANIFEST_TOOL@
  12938. MKDIR_P = @MKDIR_P@
  12939. MYSQLCFLAG = @MYSQLCFLAG@
  12940. MYSQLCONFIG = @MYSQLCONFIG@
  12941. @@ -226,7 +228,6 @@
  12942. linux_headers = @linux_headers@
  12943. localedir = @localedir@
  12944. localstatedir = @localstatedir@
  12945. -lt_ECHO = @lt_ECHO@
  12946. mandir = @mandir@
  12947. mkdir_p = @mkdir_p@
  12948. nm_CFLAGS = @nm_CFLAGS@
  12949. diff -Nur strongswan-4.4.1.orig/src/libstrongswan/plugins/xcbc/Makefile.in strongswan-4.4.1/src/libstrongswan/plugins/xcbc/Makefile.in
  12950. --- strongswan-4.4.1.orig/src/libstrongswan/plugins/xcbc/Makefile.in 2010-07-29 20:11:17.000000000 +0200
  12951. +++ strongswan-4.4.1/src/libstrongswan/plugins/xcbc/Makefile.in 2010-07-31 21:12:56.124499378 +0200
  12952. @@ -118,6 +118,7 @@
  12953. DEFS = @DEFS@
  12954. DEPDIR = @DEPDIR@
  12955. DLLIB = @DLLIB@
  12956. +DLLTOOL = @DLLTOOL@
  12957. DSYMUTIL = @DSYMUTIL@
  12958. DUMPBIN = @DUMPBIN@
  12959. ECHO_C = @ECHO_C@
  12960. @@ -145,6 +146,7 @@
  12961. LN_S = @LN_S@
  12962. LTLIBOBJS = @LTLIBOBJS@
  12963. MAKEINFO = @MAKEINFO@
  12964. +MANIFEST_TOOL = @MANIFEST_TOOL@
  12965. MKDIR_P = @MKDIR_P@
  12966. MYSQLCFLAG = @MYSQLCFLAG@
  12967. MYSQLCONFIG = @MYSQLCONFIG@
  12968. @@ -225,7 +227,6 @@
  12969. linux_headers = @linux_headers@
  12970. localedir = @localedir@
  12971. localstatedir = @localstatedir@
  12972. -lt_ECHO = @lt_ECHO@
  12973. mandir = @mandir@
  12974. mkdir_p = @mkdir_p@
  12975. nm_CFLAGS = @nm_CFLAGS@
  12976. diff -Nur strongswan-4.4.1.orig/src/Makefile.in strongswan-4.4.1/src/Makefile.in
  12977. --- strongswan-4.4.1.orig/src/Makefile.in 2010-07-29 20:11:10.000000000 +0200
  12978. +++ strongswan-4.4.1/src/Makefile.in 2010-07-31 21:12:37.492499331 +0200
  12979. @@ -127,6 +127,7 @@
  12980. DEFS = @DEFS@
  12981. DEPDIR = @DEPDIR@
  12982. DLLIB = @DLLIB@
  12983. +DLLTOOL = @DLLTOOL@
  12984. DSYMUTIL = @DSYMUTIL@
  12985. DUMPBIN = @DUMPBIN@
  12986. ECHO_C = @ECHO_C@
  12987. @@ -154,6 +155,7 @@
  12988. LN_S = @LN_S@
  12989. LTLIBOBJS = @LTLIBOBJS@
  12990. MAKEINFO = @MAKEINFO@
  12991. +MANIFEST_TOOL = @MANIFEST_TOOL@
  12992. MKDIR_P = @MKDIR_P@
  12993. MYSQLCFLAG = @MYSQLCFLAG@
  12994. MYSQLCONFIG = @MYSQLCONFIG@
  12995. @@ -234,7 +236,6 @@
  12996. linux_headers = @linux_headers@
  12997. localedir = @localedir@
  12998. localstatedir = @localstatedir@
  12999. -lt_ECHO = @lt_ECHO@
  13000. mandir = @mandir@
  13001. mkdir_p = @mkdir_p@
  13002. nm_CFLAGS = @nm_CFLAGS@
  13003. diff -Nur strongswan-4.4.1.orig/src/manager/Makefile.in strongswan-4.4.1/src/manager/Makefile.in
  13004. --- strongswan-4.4.1.orig/src/manager/Makefile.in 2010-07-29 20:11:17.000000000 +0200
  13005. +++ strongswan-4.4.1/src/manager/Makefile.in 2010-07-31 21:12:56.436499460 +0200
  13006. @@ -134,6 +134,7 @@
  13007. DEFS = @DEFS@
  13008. DEPDIR = @DEPDIR@
  13009. DLLIB = @DLLIB@
  13010. +DLLTOOL = @DLLTOOL@
  13011. DSYMUTIL = @DSYMUTIL@
  13012. DUMPBIN = @DUMPBIN@
  13013. ECHO_C = @ECHO_C@
  13014. @@ -161,6 +162,7 @@
  13015. LN_S = @LN_S@
  13016. LTLIBOBJS = @LTLIBOBJS@
  13017. MAKEINFO = @MAKEINFO@
  13018. +MANIFEST_TOOL = @MANIFEST_TOOL@
  13019. MKDIR_P = @MKDIR_P@
  13020. MYSQLCFLAG = @MYSQLCFLAG@
  13021. MYSQLCONFIG = @MYSQLCONFIG@
  13022. @@ -241,7 +243,6 @@
  13023. linux_headers = @linux_headers@
  13024. localedir = @localedir@
  13025. localstatedir = @localstatedir@
  13026. -lt_ECHO = @lt_ECHO@
  13027. mandir = @mandir@
  13028. mkdir_p = @mkdir_p@
  13029. nm_CFLAGS = @nm_CFLAGS@
  13030. diff -Nur strongswan-4.4.1.orig/src/medsrv/Makefile.in strongswan-4.4.1/src/medsrv/Makefile.in
  13031. --- strongswan-4.4.1.orig/src/medsrv/Makefile.in 2010-07-29 20:11:17.000000000 +0200
  13032. +++ strongswan-4.4.1/src/medsrv/Makefile.in 2010-07-31 21:12:56.680499523 +0200
  13033. @@ -124,6 +124,7 @@
  13034. DEFS = @DEFS@
  13035. DEPDIR = @DEPDIR@
  13036. DLLIB = @DLLIB@
  13037. +DLLTOOL = @DLLTOOL@
  13038. DSYMUTIL = @DSYMUTIL@
  13039. DUMPBIN = @DUMPBIN@
  13040. ECHO_C = @ECHO_C@
  13041. @@ -151,6 +152,7 @@
  13042. LN_S = @LN_S@
  13043. LTLIBOBJS = @LTLIBOBJS@
  13044. MAKEINFO = @MAKEINFO@
  13045. +MANIFEST_TOOL = @MANIFEST_TOOL@
  13046. MKDIR_P = @MKDIR_P@
  13047. MYSQLCFLAG = @MYSQLCFLAG@
  13048. MYSQLCONFIG = @MYSQLCONFIG@
  13049. @@ -231,7 +233,6 @@
  13050. linux_headers = @linux_headers@
  13051. localedir = @localedir@
  13052. localstatedir = @localstatedir@
  13053. -lt_ECHO = @lt_ECHO@
  13054. mandir = @mandir@
  13055. mkdir_p = @mkdir_p@
  13056. nm_CFLAGS = @nm_CFLAGS@
  13057. diff -Nur strongswan-4.4.1.orig/src/openac/Makefile.in strongswan-4.4.1/src/openac/Makefile.in
  13058. --- strongswan-4.4.1.orig/src/openac/Makefile.in 2010-07-29 20:11:17.000000000 +0200
  13059. +++ strongswan-4.4.1/src/openac/Makefile.in 2010-07-31 21:12:56.900500181 +0200
  13060. @@ -118,6 +118,7 @@
  13061. DEFS = @DEFS@
  13062. DEPDIR = @DEPDIR@
  13063. DLLIB = @DLLIB@
  13064. +DLLTOOL = @DLLTOOL@
  13065. DSYMUTIL = @DSYMUTIL@
  13066. DUMPBIN = @DUMPBIN@
  13067. ECHO_C = @ECHO_C@
  13068. @@ -145,6 +146,7 @@
  13069. LN_S = @LN_S@
  13070. LTLIBOBJS = @LTLIBOBJS@
  13071. MAKEINFO = @MAKEINFO@
  13072. +MANIFEST_TOOL = @MANIFEST_TOOL@
  13073. MKDIR_P = @MKDIR_P@
  13074. MYSQLCFLAG = @MYSQLCFLAG@
  13075. MYSQLCONFIG = @MYSQLCONFIG@
  13076. @@ -225,7 +227,6 @@
  13077. linux_headers = @linux_headers@
  13078. localedir = @localedir@
  13079. localstatedir = @localstatedir@
  13080. -lt_ECHO = @lt_ECHO@
  13081. mandir = @mandir@
  13082. mkdir_p = @mkdir_p@
  13083. nm_CFLAGS = @nm_CFLAGS@
  13084. diff -Nur strongswan-4.4.1.orig/src/pki/Makefile.in strongswan-4.4.1/src/pki/Makefile.in
  13085. --- strongswan-4.4.1.orig/src/pki/Makefile.in 2010-07-29 20:11:17.000000000 +0200
  13086. +++ strongswan-4.4.1/src/pki/Makefile.in 2010-07-31 21:12:57.224502610 +0200
  13087. @@ -95,6 +95,7 @@
  13088. DEFS = @DEFS@
  13089. DEPDIR = @DEPDIR@
  13090. DLLIB = @DLLIB@
  13091. +DLLTOOL = @DLLTOOL@
  13092. DSYMUTIL = @DSYMUTIL@
  13093. DUMPBIN = @DUMPBIN@
  13094. ECHO_C = @ECHO_C@
  13095. @@ -122,6 +123,7 @@
  13096. LN_S = @LN_S@
  13097. LTLIBOBJS = @LTLIBOBJS@
  13098. MAKEINFO = @MAKEINFO@
  13099. +MANIFEST_TOOL = @MANIFEST_TOOL@
  13100. MKDIR_P = @MKDIR_P@
  13101. MYSQLCFLAG = @MYSQLCFLAG@
  13102. MYSQLCONFIG = @MYSQLCONFIG@
  13103. @@ -202,7 +204,6 @@
  13104. linux_headers = @linux_headers@
  13105. localedir = @localedir@
  13106. localstatedir = @localstatedir@
  13107. -lt_ECHO = @lt_ECHO@
  13108. mandir = @mandir@
  13109. mkdir_p = @mkdir_p@
  13110. nm_CFLAGS = @nm_CFLAGS@
  13111. diff -Nur strongswan-4.4.1.orig/src/pluto/Makefile.in strongswan-4.4.1/src/pluto/Makefile.in
  13112. --- strongswan-4.4.1.orig/src/pluto/Makefile.in 2010-07-29 20:11:17.000000000 +0200
  13113. +++ strongswan-4.4.1/src/pluto/Makefile.in 2010-07-31 21:12:57.460501959 +0200
  13114. @@ -204,6 +204,7 @@
  13115. DEFS = @DEFS@
  13116. DEPDIR = @DEPDIR@
  13117. DLLIB = @DLLIB@
  13118. +DLLTOOL = @DLLTOOL@
  13119. DSYMUTIL = @DSYMUTIL@
  13120. DUMPBIN = @DUMPBIN@
  13121. ECHO_C = @ECHO_C@
  13122. @@ -231,6 +232,7 @@
  13123. LN_S = @LN_S@
  13124. LTLIBOBJS = @LTLIBOBJS@
  13125. MAKEINFO = @MAKEINFO@
  13126. +MANIFEST_TOOL = @MANIFEST_TOOL@
  13127. MKDIR_P = @MKDIR_P@
  13128. MYSQLCFLAG = @MYSQLCFLAG@
  13129. MYSQLCONFIG = @MYSQLCONFIG@
  13130. @@ -311,7 +313,6 @@
  13131. linux_headers = @linux_headers@
  13132. localedir = @localedir@
  13133. localstatedir = @localstatedir@
  13134. -lt_ECHO = @lt_ECHO@
  13135. mandir = @mandir@
  13136. mkdir_p = @mkdir_p@
  13137. nm_CFLAGS = @nm_CFLAGS@
  13138. diff -Nur strongswan-4.4.1.orig/src/pluto/plugins/xauth/Makefile.in strongswan-4.4.1/src/pluto/plugins/xauth/Makefile.in
  13139. --- strongswan-4.4.1.orig/src/pluto/plugins/xauth/Makefile.in 2010-07-29 20:11:17.000000000 +0200
  13140. +++ strongswan-4.4.1/src/pluto/plugins/xauth/Makefile.in 2010-07-31 21:12:57.692502727 +0200
  13141. @@ -116,6 +116,7 @@
  13142. DEFS = @DEFS@
  13143. DEPDIR = @DEPDIR@
  13144. DLLIB = @DLLIB@
  13145. +DLLTOOL = @DLLTOOL@
  13146. DSYMUTIL = @DSYMUTIL@
  13147. DUMPBIN = @DUMPBIN@
  13148. ECHO_C = @ECHO_C@
  13149. @@ -143,6 +144,7 @@
  13150. LN_S = @LN_S@
  13151. LTLIBOBJS = @LTLIBOBJS@
  13152. MAKEINFO = @MAKEINFO@
  13153. +MANIFEST_TOOL = @MANIFEST_TOOL@
  13154. MKDIR_P = @MKDIR_P@
  13155. MYSQLCFLAG = @MYSQLCFLAG@
  13156. MYSQLCONFIG = @MYSQLCONFIG@
  13157. @@ -223,7 +225,6 @@
  13158. linux_headers = @linux_headers@
  13159. localedir = @localedir@
  13160. localstatedir = @localstatedir@
  13161. -lt_ECHO = @lt_ECHO@
  13162. mandir = @mandir@
  13163. mkdir_p = @mkdir_p@
  13164. nm_CFLAGS = @nm_CFLAGS@
  13165. diff -Nur strongswan-4.4.1.orig/src/scepclient/Makefile.in strongswan-4.4.1/src/scepclient/Makefile.in
  13166. --- strongswan-4.4.1.orig/src/scepclient/Makefile.in 2010-07-29 20:11:17.000000000 +0200
  13167. +++ strongswan-4.4.1/src/scepclient/Makefile.in 2010-07-31 21:12:57.888500328 +0200
  13168. @@ -126,6 +126,7 @@
  13169. DEFS = @DEFS@
  13170. DEPDIR = @DEPDIR@
  13171. DLLIB = @DLLIB@
  13172. +DLLTOOL = @DLLTOOL@
  13173. DSYMUTIL = @DSYMUTIL@
  13174. DUMPBIN = @DUMPBIN@
  13175. ECHO_C = @ECHO_C@
  13176. @@ -153,6 +154,7 @@
  13177. LN_S = @LN_S@
  13178. LTLIBOBJS = @LTLIBOBJS@
  13179. MAKEINFO = @MAKEINFO@
  13180. +MANIFEST_TOOL = @MANIFEST_TOOL@
  13181. MKDIR_P = @MKDIR_P@
  13182. MYSQLCFLAG = @MYSQLCFLAG@
  13183. MYSQLCONFIG = @MYSQLCONFIG@
  13184. @@ -233,7 +235,6 @@
  13185. linux_headers = @linux_headers@
  13186. localedir = @localedir@
  13187. localstatedir = @localstatedir@
  13188. -lt_ECHO = @lt_ECHO@
  13189. mandir = @mandir@
  13190. mkdir_p = @mkdir_p@
  13191. nm_CFLAGS = @nm_CFLAGS@
  13192. diff -Nur strongswan-4.4.1.orig/src/starter/Makefile.in strongswan-4.4.1/src/starter/Makefile.in
  13193. --- strongswan-4.4.1.orig/src/starter/Makefile.in 2010-07-29 20:11:17.000000000 +0200
  13194. +++ strongswan-4.4.1/src/starter/Makefile.in 2010-07-31 21:12:58.088502617 +0200
  13195. @@ -131,6 +131,7 @@
  13196. DEFS = @DEFS@
  13197. DEPDIR = @DEPDIR@
  13198. DLLIB = @DLLIB@
  13199. +DLLTOOL = @DLLTOOL@
  13200. DSYMUTIL = @DSYMUTIL@
  13201. DUMPBIN = @DUMPBIN@
  13202. ECHO_C = @ECHO_C@
  13203. @@ -158,6 +159,7 @@
  13204. LN_S = @LN_S@
  13205. LTLIBOBJS = @LTLIBOBJS@
  13206. MAKEINFO = @MAKEINFO@
  13207. +MANIFEST_TOOL = @MANIFEST_TOOL@
  13208. MKDIR_P = @MKDIR_P@
  13209. MYSQLCFLAG = @MYSQLCFLAG@
  13210. MYSQLCONFIG = @MYSQLCONFIG@
  13211. @@ -238,7 +240,6 @@
  13212. linux_headers = @linux_headers@
  13213. localedir = @localedir@
  13214. localstatedir = @localstatedir@
  13215. -lt_ECHO = @lt_ECHO@
  13216. mandir = @mandir@
  13217. mkdir_p = @mkdir_p@
  13218. nm_CFLAGS = @nm_CFLAGS@
  13219. diff -Nur strongswan-4.4.1.orig/src/stroke/Makefile.in strongswan-4.4.1/src/stroke/Makefile.in
  13220. --- strongswan-4.4.1.orig/src/stroke/Makefile.in 2010-07-29 20:11:17.000000000 +0200
  13221. +++ strongswan-4.4.1/src/stroke/Makefile.in 2010-07-31 21:12:58.332502689 +0200
  13222. @@ -95,6 +95,7 @@
  13223. DEFS = @DEFS@
  13224. DEPDIR = @DEPDIR@
  13225. DLLIB = @DLLIB@
  13226. +DLLTOOL = @DLLTOOL@
  13227. DSYMUTIL = @DSYMUTIL@
  13228. DUMPBIN = @DUMPBIN@
  13229. ECHO_C = @ECHO_C@
  13230. @@ -122,6 +123,7 @@
  13231. LN_S = @LN_S@
  13232. LTLIBOBJS = @LTLIBOBJS@
  13233. MAKEINFO = @MAKEINFO@
  13234. +MANIFEST_TOOL = @MANIFEST_TOOL@
  13235. MKDIR_P = @MKDIR_P@
  13236. MYSQLCFLAG = @MYSQLCFLAG@
  13237. MYSQLCONFIG = @MYSQLCONFIG@
  13238. @@ -202,7 +204,6 @@
  13239. linux_headers = @linux_headers@
  13240. localedir = @localedir@
  13241. localstatedir = @localstatedir@
  13242. -lt_ECHO = @lt_ECHO@
  13243. mandir = @mandir@
  13244. mkdir_p = @mkdir_p@
  13245. nm_CFLAGS = @nm_CFLAGS@
  13246. diff -Nur strongswan-4.4.1.orig/src/_updown/Makefile.in strongswan-4.4.1/src/_updown/Makefile.in
  13247. --- strongswan-4.4.1.orig/src/_updown/Makefile.in 2010-07-29 20:11:10.000000000 +0200
  13248. +++ strongswan-4.4.1/src/_updown/Makefile.in 2010-07-31 21:12:37.828499387 +0200
  13249. @@ -98,6 +98,7 @@
  13250. DEFS = @DEFS@
  13251. DEPDIR = @DEPDIR@
  13252. DLLIB = @DLLIB@
  13253. +DLLTOOL = @DLLTOOL@
  13254. DSYMUTIL = @DSYMUTIL@
  13255. DUMPBIN = @DUMPBIN@
  13256. ECHO_C = @ECHO_C@
  13257. @@ -125,6 +126,7 @@
  13258. LN_S = @LN_S@
  13259. LTLIBOBJS = @LTLIBOBJS@
  13260. MAKEINFO = @MAKEINFO@
  13261. +MANIFEST_TOOL = @MANIFEST_TOOL@
  13262. MKDIR_P = @MKDIR_P@
  13263. MYSQLCFLAG = @MYSQLCFLAG@
  13264. MYSQLCONFIG = @MYSQLCONFIG@
  13265. @@ -205,7 +207,6 @@
  13266. linux_headers = @linux_headers@
  13267. localedir = @localedir@
  13268. localstatedir = @localstatedir@
  13269. -lt_ECHO = @lt_ECHO@
  13270. mandir = @mandir@
  13271. mkdir_p = @mkdir_p@
  13272. nm_CFLAGS = @nm_CFLAGS@
  13273. diff -Nur strongswan-4.4.1.orig/src/_updown_espmark/Makefile.in strongswan-4.4.1/src/_updown_espmark/Makefile.in
  13274. --- strongswan-4.4.1.orig/src/_updown_espmark/Makefile.in 2010-07-29 20:11:10.000000000 +0200
  13275. +++ strongswan-4.4.1/src/_updown_espmark/Makefile.in 2010-07-31 21:12:37.988502453 +0200
  13276. @@ -98,6 +98,7 @@
  13277. DEFS = @DEFS@
  13278. DEPDIR = @DEPDIR@
  13279. DLLIB = @DLLIB@
  13280. +DLLTOOL = @DLLTOOL@
  13281. DSYMUTIL = @DSYMUTIL@
  13282. DUMPBIN = @DUMPBIN@
  13283. ECHO_C = @ECHO_C@
  13284. @@ -125,6 +126,7 @@
  13285. LN_S = @LN_S@
  13286. LTLIBOBJS = @LTLIBOBJS@
  13287. MAKEINFO = @MAKEINFO@
  13288. +MANIFEST_TOOL = @MANIFEST_TOOL@
  13289. MKDIR_P = @MKDIR_P@
  13290. MYSQLCFLAG = @MYSQLCFLAG@
  13291. MYSQLCONFIG = @MYSQLCONFIG@
  13292. @@ -205,7 +207,6 @@
  13293. linux_headers = @linux_headers@
  13294. localedir = @localedir@
  13295. localstatedir = @localstatedir@
  13296. -lt_ECHO = @lt_ECHO@
  13297. mandir = @mandir@
  13298. mkdir_p = @mkdir_p@
  13299. nm_CFLAGS = @nm_CFLAGS@
  13300. diff -Nur strongswan-4.4.1.orig/src/whack/Makefile.in strongswan-4.4.1/src/whack/Makefile.in
  13301. --- strongswan-4.4.1.orig/src/whack/Makefile.in 2010-07-29 20:11:17.000000000 +0200
  13302. +++ strongswan-4.4.1/src/whack/Makefile.in 2010-07-31 21:12:58.512500202 +0200
  13303. @@ -94,6 +94,7 @@
  13304. DEFS = @DEFS@
  13305. DEPDIR = @DEPDIR@
  13306. DLLIB = @DLLIB@
  13307. +DLLTOOL = @DLLTOOL@
  13308. DSYMUTIL = @DSYMUTIL@
  13309. DUMPBIN = @DUMPBIN@
  13310. ECHO_C = @ECHO_C@
  13311. @@ -121,6 +122,7 @@
  13312. LN_S = @LN_S@
  13313. LTLIBOBJS = @LTLIBOBJS@
  13314. MAKEINFO = @MAKEINFO@
  13315. +MANIFEST_TOOL = @MANIFEST_TOOL@
  13316. MKDIR_P = @MKDIR_P@
  13317. MYSQLCFLAG = @MYSQLCFLAG@
  13318. MYSQLCONFIG = @MYSQLCONFIG@
  13319. @@ -201,7 +203,6 @@
  13320. linux_headers = @linux_headers@
  13321. localedir = @localedir@
  13322. localstatedir = @localstatedir@
  13323. -lt_ECHO = @lt_ECHO@
  13324. mandir = @mandir@
  13325. mkdir_p = @mkdir_p@
  13326. nm_CFLAGS = @nm_CFLAGS@
  13327. diff -Nur strongswan-4.4.1.orig/testing/Makefile.in strongswan-4.4.1/testing/Makefile.in
  13328. --- strongswan-4.4.1.orig/testing/Makefile.in 2010-07-29 20:11:18.000000000 +0200
  13329. +++ strongswan-4.4.1/testing/Makefile.in 2010-07-31 21:12:58.660500888 +0200
  13330. @@ -73,6 +73,7 @@
  13331. DEFS = @DEFS@
  13332. DEPDIR = @DEPDIR@
  13333. DLLIB = @DLLIB@
  13334. +DLLTOOL = @DLLTOOL@
  13335. DSYMUTIL = @DSYMUTIL@
  13336. DUMPBIN = @DUMPBIN@
  13337. ECHO_C = @ECHO_C@
  13338. @@ -100,6 +101,7 @@
  13339. LN_S = @LN_S@
  13340. LTLIBOBJS = @LTLIBOBJS@
  13341. MAKEINFO = @MAKEINFO@
  13342. +MANIFEST_TOOL = @MANIFEST_TOOL@
  13343. MKDIR_P = @MKDIR_P@
  13344. MYSQLCFLAG = @MYSQLCFLAG@
  13345. MYSQLCONFIG = @MYSQLCONFIG@
  13346. @@ -180,7 +182,6 @@
  13347. linux_headers = @linux_headers@
  13348. localedir = @localedir@
  13349. localstatedir = @localstatedir@
  13350. -lt_ECHO = @lt_ECHO@
  13351. mandir = @mandir@
  13352. mkdir_p = @mkdir_p@
  13353. nm_CFLAGS = @nm_CFLAGS@