12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387253882538925390253912539225393253942539525396253972539825399254002540125402254032540425405254062540725408254092541025411254122541325414254152541625417254182541925420254212542225423254242542525426254272542825429254302543125432254332543425435254362543725438254392544025441254422544325444254452544625447254482544925450254512545225453254542545525456254572545825459254602546125462254632546425465254662546725468254692547025471254722547325474254752547625477254782547925480254812548225483254842548525486254872548825489254902549125492254932549425495254962549725498254992550025501255022550325504255052550625507255082550925510255112551225513255142551525516255172551825519255202552125522255232552425525255262552725528255292553025531255322553325534255352553625537255382553925540255412554225543255442554525546255472554825549255502555125552255532555425555255562555725558255592556025561255622556325564255652556625567255682556925570255712557225573255742557525576255772557825579255802558125582255832558425585255862558725588255892559025591255922559325594255952559625597255982559925600256012560225603256042560525606256072560825609256102561125612256132561425615256162561725618256192562025621256222562325624256252562625627256282562925630256312563225633256342563525636256372563825639256402564125642256432564425645256462564725648256492565025651256522565325654256552565625657256582565925660256612566225663256642566525666256672566825669256702567125672256732567425675256762567725678256792568025681256822568325684256852568625687256882568925690256912569225693256942569525696256972569825699257002570125702257032570425705257062570725708257092571025711257122571325714257152571625717257182571925720257212572225723257242572525726257272572825729257302573125732257332573425735257362573725738257392574025741257422574325744257452574625747257482574925750257512575225753257542575525756257572575825759257602576125762257632576425765257662576725768257692577025771257722577325774257752577625777257782577925780257812578225783257842578525786257872578825789257902579125792257932579425795257962579725798257992580025801258022580325804258052580625807258082580925810258112581225813258142581525816258172581825819258202582125822258232582425825258262582725828258292583025831258322583325834258352583625837258382583925840258412584225843258442584525846258472584825849258502585125852258532585425855258562585725858258592586025861258622586325864258652586625867258682586925870258712587225873258742587525876258772587825879258802588125882258832588425885258862588725888258892589025891258922589325894258952589625897258982589925900259012590225903259042590525906259072590825909259102591125912259132591425915259162591725918259192592025921259222592325924259252592625927259282592925930259312593225933259342593525936259372593825939259402594125942259432594425945259462594725948259492595025951259522595325954259552595625957259582595925960259612596225963259642596525966259672596825969259702597125972259732597425975259762597725978259792598025981259822598325984259852598625987259882598925990259912599225993259942599525996259972599825999260002600126002260032600426005260062600726008260092601026011260122601326014260152601626017260182601926020260212602226023260242602526026260272602826029260302603126032260332603426035260362603726038260392604026041260422604326044260452604626047260482604926050260512605226053260542605526056260572605826059260602606126062260632606426065260662606726068260692607026071260722607326074260752607626077260782607926080260812608226083260842608526086260872608826089260902609126092260932609426095260962609726098260992610026101261022610326104261052610626107261082610926110261112611226113261142611526116261172611826119261202612126122261232612426125261262612726128261292613026131261322613326134261352613626137261382613926140261412614226143261442614526146261472614826149261502615126152261532615426155261562615726158261592616026161261622616326164261652616626167261682616926170261712617226173261742617526176261772617826179261802618126182261832618426185261862618726188261892619026191261922619326194261952619626197261982619926200262012620226203262042620526206262072620826209262102621126212262132621426215262162621726218262192622026221262222622326224262252622626227262282622926230262312623226233262342623526236262372623826239262402624126242262432624426245262462624726248262492625026251262522625326254262552625626257262582625926260262612626226263262642626526266262672626826269262702627126272262732627426275262762627726278262792628026281262822628326284262852628626287262882628926290262912629226293262942629526296262972629826299263002630126302263032630426305263062630726308263092631026311263122631326314263152631626317263182631926320263212632226323263242632526326263272632826329263302633126332263332633426335263362633726338263392634026341263422634326344263452634626347263482634926350263512635226353263542635526356263572635826359263602636126362263632636426365263662636726368263692637026371263722637326374263752637626377263782637926380263812638226383263842638526386263872638826389263902639126392263932639426395263962639726398263992640026401264022640326404264052640626407264082640926410264112641226413264142641526416264172641826419264202642126422264232642426425264262642726428264292643026431264322643326434264352643626437264382643926440264412644226443264442644526446264472644826449264502645126452264532645426455264562645726458264592646026461264622646326464264652646626467264682646926470264712647226473264742647526476264772647826479264802648126482264832648426485264862648726488264892649026491264922649326494264952649626497264982649926500265012650226503265042650526506265072650826509265102651126512265132651426515265162651726518265192652026521265222652326524265252652626527265282652926530265312653226533265342653526536265372653826539265402654126542265432654426545265462654726548265492655026551265522655326554265552655626557265582655926560265612656226563265642656526566265672656826569265702657126572265732657426575265762657726578265792658026581265822658326584265852658626587265882658926590265912659226593265942659526596265972659826599266002660126602266032660426605266062660726608266092661026611266122661326614266152661626617266182661926620266212662226623266242662526626266272662826629266302663126632266332663426635266362663726638266392664026641266422664326644266452664626647266482664926650266512665226653266542665526656266572665826659266602666126662266632666426665266662666726668266692667026671266722667326674266752667626677266782667926680266812668226683266842668526686266872668826689266902669126692266932669426695266962669726698266992670026701267022670326704267052670626707267082670926710267112671226713267142671526716267172671826719267202672126722267232672426725267262672726728267292673026731267322673326734267352673626737267382673926740267412674226743267442674526746267472674826749267502675126752267532675426755267562675726758267592676026761267622676326764267652676626767267682676926770267712677226773267742677526776267772677826779267802678126782267832678426785267862678726788267892679026791267922679326794267952679626797267982679926800268012680226803268042680526806268072680826809268102681126812268132681426815268162681726818268192682026821268222682326824268252682626827268282682926830268312683226833268342683526836268372683826839268402684126842268432684426845268462684726848268492685026851268522685326854268552685626857268582685926860268612686226863268642686526866268672686826869268702687126872268732687426875268762687726878268792688026881268822688326884268852688626887268882688926890268912689226893268942689526896268972689826899269002690126902269032690426905269062690726908269092691026911269122691326914269152691626917269182691926920269212692226923269242692526926269272692826929269302693126932269332693426935269362693726938269392694026941269422694326944269452694626947269482694926950269512695226953269542695526956269572695826959269602696126962269632696426965269662696726968269692697026971269722697326974269752697626977269782697926980269812698226983269842698526986269872698826989269902699126992269932699426995269962699726998269992700027001270022700327004270052700627007270082700927010270112701227013270142701527016270172701827019270202702127022270232702427025270262702727028270292703027031270322703327034270352703627037270382703927040270412704227043270442704527046270472704827049270502705127052270532705427055270562705727058270592706027061270622706327064270652706627067270682706927070270712707227073270742707527076270772707827079270802708127082270832708427085270862708727088270892709027091270922709327094270952709627097270982709927100271012710227103271042710527106271072710827109271102711127112271132711427115271162711727118271192712027121271222712327124271252712627127271282712927130271312713227133271342713527136271372713827139271402714127142271432714427145271462714727148271492715027151271522715327154271552715627157271582715927160271612716227163271642716527166271672716827169271702717127172271732717427175271762717727178271792718027181271822718327184271852718627187271882718927190271912719227193271942719527196271972719827199272002720127202272032720427205272062720727208272092721027211272122721327214272152721627217272182721927220272212722227223272242722527226272272722827229272302723127232272332723427235272362723727238272392724027241272422724327244272452724627247272482724927250272512725227253272542725527256272572725827259272602726127262272632726427265272662726727268272692727027271272722727327274272752727627277272782727927280272812728227283272842728527286272872728827289272902729127292272932729427295272962729727298272992730027301273022730327304273052730627307273082730927310273112731227313273142731527316273172731827319273202732127322273232732427325273262732727328273292733027331273322733327334273352733627337273382733927340273412734227343273442734527346273472734827349273502735127352273532735427355273562735727358273592736027361273622736327364273652736627367273682736927370273712737227373273742737527376273772737827379273802738127382273832738427385273862738727388273892739027391273922739327394273952739627397273982739927400274012740227403274042740527406274072740827409274102741127412274132741427415274162741727418274192742027421274222742327424274252742627427274282742927430274312743227433274342743527436274372743827439274402744127442274432744427445274462744727448274492745027451274522745327454274552745627457274582745927460274612746227463274642746527466274672746827469274702747127472274732747427475274762747727478274792748027481274822748327484274852748627487274882748927490274912749227493274942749527496274972749827499275002750127502275032750427505275062750727508275092751027511275122751327514275152751627517275182751927520275212752227523275242752527526275272752827529275302753127532275332753427535275362753727538275392754027541275422754327544275452754627547275482754927550275512755227553275542755527556275572755827559275602756127562275632756427565275662756727568275692757027571275722757327574275752757627577275782757927580275812758227583275842758527586275872758827589275902759127592275932759427595275962759727598275992760027601276022760327604276052760627607276082760927610276112761227613276142761527616276172761827619276202762127622276232762427625276262762727628276292763027631276322763327634276352763627637276382763927640276412764227643276442764527646276472764827649276502765127652276532765427655276562765727658276592766027661276622766327664276652766627667276682766927670276712767227673276742767527676276772767827679276802768127682276832768427685276862768727688276892769027691276922769327694276952769627697276982769927700277012770227703277042770527706277072770827709277102771127712277132771427715277162771727718277192772027721277222772327724277252772627727277282772927730277312773227733277342773527736277372773827739277402774127742277432774427745277462774727748277492775027751277522775327754277552775627757277582775927760277612776227763277642776527766277672776827769277702777127772277732777427775277762777727778277792778027781277822778327784277852778627787277882778927790277912779227793277942779527796277972779827799278002780127802278032780427805278062780727808278092781027811278122781327814278152781627817278182781927820278212782227823278242782527826278272782827829278302783127832278332783427835278362783727838278392784027841278422784327844278452784627847278482784927850278512785227853278542785527856278572785827859278602786127862278632786427865278662786727868278692787027871278722787327874278752787627877278782787927880278812788227883278842788527886278872788827889278902789127892278932789427895278962789727898278992790027901279022790327904279052790627907279082790927910279112791227913279142791527916279172791827919279202792127922279232792427925279262792727928279292793027931279322793327934279352793627937279382793927940279412794227943279442794527946279472794827949279502795127952279532795427955279562795727958279592796027961279622796327964279652796627967279682796927970279712797227973279742797527976279772797827979279802798127982279832798427985279862798727988279892799027991279922799327994279952799627997279982799928000280012800228003280042800528006280072800828009280102801128012280132801428015280162801728018280192802028021280222802328024280252802628027280282802928030280312803228033280342803528036280372803828039280402804128042280432804428045280462804728048280492805028051280522805328054280552805628057280582805928060280612806228063280642806528066280672806828069280702807128072280732807428075280762807728078280792808028081280822808328084280852808628087280882808928090280912809228093280942809528096280972809828099281002810128102281032810428105281062810728108281092811028111281122811328114281152811628117281182811928120281212812228123281242812528126281272812828129281302813128132281332813428135281362813728138281392814028141281422814328144281452814628147281482814928150281512815228153281542815528156281572815828159281602816128162281632816428165281662816728168281692817028171281722817328174281752817628177281782817928180281812818228183281842818528186281872818828189281902819128192281932819428195281962819728198281992820028201282022820328204282052820628207282082820928210282112821228213282142821528216282172821828219282202822128222282232822428225282262822728228282292823028231282322823328234282352823628237282382823928240282412824228243282442824528246282472824828249282502825128252282532825428255282562825728258282592826028261282622826328264282652826628267282682826928270282712827228273282742827528276282772827828279282802828128282282832828428285282862828728288282892829028291282922829328294282952829628297282982829928300283012830228303283042830528306283072830828309283102831128312283132831428315283162831728318283192832028321283222832328324283252832628327283282832928330283312833228333283342833528336283372833828339283402834128342283432834428345283462834728348283492835028351283522835328354283552835628357283582835928360283612836228363283642836528366283672836828369283702837128372283732837428375283762837728378283792838028381283822838328384283852838628387283882838928390283912839228393283942839528396283972839828399284002840128402284032840428405284062840728408284092841028411284122841328414284152841628417284182841928420284212842228423284242842528426284272842828429284302843128432284332843428435284362843728438284392844028441284422844328444284452844628447284482844928450284512845228453284542845528456284572845828459284602846128462284632846428465284662846728468284692847028471284722847328474284752847628477284782847928480284812848228483284842848528486284872848828489284902849128492284932849428495284962849728498284992850028501285022850328504285052850628507285082850928510285112851228513285142851528516285172851828519285202852128522285232852428525285262852728528285292853028531285322853328534285352853628537285382853928540285412854228543285442854528546285472854828549285502855128552285532855428555285562855728558285592856028561285622856328564285652856628567285682856928570285712857228573285742857528576285772857828579285802858128582285832858428585285862858728588285892859028591285922859328594285952859628597285982859928600286012860228603286042860528606286072860828609286102861128612286132861428615286162861728618286192862028621286222862328624286252862628627286282862928630286312863228633286342863528636286372863828639286402864128642286432864428645286462864728648286492865028651286522865328654286552865628657286582865928660286612866228663286642866528666286672866828669286702867128672286732867428675286762867728678286792868028681286822868328684286852868628687286882868928690286912869228693286942869528696286972869828699287002870128702287032870428705287062870728708287092871028711287122871328714287152871628717287182871928720287212872228723287242872528726287272872828729287302873128732287332873428735287362873728738287392874028741287422874328744287452874628747287482874928750287512875228753287542875528756287572875828759287602876128762287632876428765287662876728768287692877028771287722877328774287752877628777287782877928780287812878228783287842878528786287872878828789287902879128792287932879428795287962879728798287992880028801288022880328804288052880628807288082880928810288112881228813288142881528816288172881828819288202882128822288232882428825288262882728828288292883028831288322883328834288352883628837288382883928840288412884228843288442884528846288472884828849288502885128852288532885428855288562885728858288592886028861288622886328864288652886628867288682886928870288712887228873288742887528876288772887828879288802888128882288832888428885288862888728888288892889028891288922889328894288952889628897288982889928900289012890228903289042890528906289072890828909289102891128912289132891428915289162891728918289192892028921289222892328924289252892628927289282892928930289312893228933289342893528936289372893828939289402894128942289432894428945289462894728948289492895028951289522895328954289552895628957289582895928960289612896228963289642896528966289672896828969289702897128972289732897428975289762897728978289792898028981289822898328984289852898628987289882898928990289912899228993289942899528996289972899828999290002900129002290032900429005290062900729008290092901029011290122901329014290152901629017290182901929020290212902229023290242902529026290272902829029290302903129032290332903429035290362903729038290392904029041290422904329044290452904629047290482904929050290512905229053290542905529056290572905829059290602906129062290632906429065290662906729068290692907029071290722907329074290752907629077290782907929080290812908229083290842908529086290872908829089290902909129092290932909429095290962909729098290992910029101291022910329104291052910629107291082910929110291112911229113291142911529116291172911829119291202912129122291232912429125291262912729128291292913029131291322913329134291352913629137291382913929140291412914229143291442914529146291472914829149291502915129152291532915429155291562915729158291592916029161291622916329164291652916629167291682916929170291712917229173291742917529176291772917829179291802918129182291832918429185291862918729188291892919029191291922919329194291952919629197291982919929200292012920229203292042920529206292072920829209292102921129212292132921429215292162921729218292192922029221292222922329224292252922629227292282922929230292312923229233292342923529236292372923829239292402924129242292432924429245292462924729248292492925029251292522925329254292552925629257292582925929260292612926229263292642926529266292672926829269292702927129272292732927429275292762927729278292792928029281292822928329284292852928629287292882928929290292912929229293292942929529296292972929829299293002930129302293032930429305293062930729308293092931029311293122931329314293152931629317293182931929320293212932229323293242932529326293272932829329293302933129332293332933429335293362933729338293392934029341293422934329344293452934629347293482934929350293512935229353293542935529356293572935829359293602936129362293632936429365293662936729368293692937029371293722937329374293752937629377293782937929380293812938229383293842938529386293872938829389293902939129392293932939429395293962939729398293992940029401294022940329404294052940629407294082940929410294112941229413294142941529416294172941829419294202942129422294232942429425294262942729428294292943029431294322943329434294352943629437294382943929440294412944229443294442944529446294472944829449294502945129452294532945429455294562945729458294592946029461294622946329464294652946629467294682946929470294712947229473294742947529476294772947829479294802948129482294832948429485294862948729488294892949029491294922949329494294952949629497294982949929500295012950229503295042950529506295072950829509295102951129512295132951429515295162951729518295192952029521295222952329524295252952629527295282952929530295312953229533295342953529536295372953829539295402954129542295432954429545295462954729548295492955029551295522955329554295552955629557295582955929560295612956229563295642956529566295672956829569295702957129572295732957429575295762957729578295792958029581295822958329584295852958629587295882958929590295912959229593295942959529596295972959829599296002960129602296032960429605296062960729608296092961029611296122961329614296152961629617296182961929620296212962229623296242962529626296272962829629296302963129632296332963429635296362963729638296392964029641296422964329644296452964629647296482964929650296512965229653296542965529656296572965829659296602966129662296632966429665296662966729668296692967029671296722967329674296752967629677296782967929680296812968229683296842968529686296872968829689296902969129692296932969429695296962969729698296992970029701297022970329704297052970629707297082970929710297112971229713297142971529716297172971829719297202972129722297232972429725297262972729728297292973029731297322973329734297352973629737297382973929740297412974229743297442974529746297472974829749297502975129752297532975429755297562975729758297592976029761297622976329764297652976629767297682976929770297712977229773297742977529776297772977829779297802978129782297832978429785297862978729788297892979029791297922979329794297952979629797297982979929800298012980229803298042980529806298072980829809298102981129812298132981429815298162981729818298192982029821298222982329824298252982629827298282982929830298312983229833298342983529836298372983829839298402984129842298432984429845298462984729848298492985029851298522985329854298552985629857298582985929860298612986229863298642986529866298672986829869298702987129872298732987429875298762987729878298792988029881298822988329884298852988629887298882988929890298912989229893298942989529896298972989829899299002990129902299032990429905299062990729908299092991029911299122991329914299152991629917299182991929920299212992229923299242992529926299272992829929299302993129932299332993429935299362993729938299392994029941299422994329944299452994629947299482994929950299512995229953299542995529956299572995829959299602996129962299632996429965299662996729968299692997029971299722997329974299752997629977299782997929980299812998229983299842998529986299872998829989299902999129992299932999429995299962999729998299993000030001300023000330004300053000630007300083000930010300113001230013300143001530016300173001830019300203002130022300233002430025300263002730028300293003030031300323003330034300353003630037300383003930040300413004230043300443004530046300473004830049300503005130052300533005430055300563005730058300593006030061300623006330064300653006630067300683006930070300713007230073300743007530076300773007830079300803008130082300833008430085300863008730088300893009030091300923009330094300953009630097300983009930100301013010230103301043010530106301073010830109301103011130112301133011430115301163011730118301193012030121301223012330124301253012630127301283012930130301313013230133301343013530136301373013830139301403014130142301433014430145301463014730148301493015030151301523015330154301553015630157301583015930160301613016230163301643016530166301673016830169301703017130172301733017430175301763017730178301793018030181301823018330184301853018630187301883018930190301913019230193301943019530196301973019830199302003020130202302033020430205302063020730208302093021030211302123021330214302153021630217302183021930220302213022230223302243022530226302273022830229302303023130232302333023430235302363023730238302393024030241302423024330244302453024630247302483024930250302513025230253302543025530256302573025830259302603026130262302633026430265302663026730268302693027030271302723027330274302753027630277302783027930280302813028230283302843028530286302873028830289302903029130292302933029430295302963029730298302993030030301303023030330304303053030630307303083030930310303113031230313303143031530316303173031830319303203032130322303233032430325303263032730328303293033030331303323033330334303353033630337303383033930340303413034230343303443034530346303473034830349303503035130352303533035430355303563035730358303593036030361303623036330364303653036630367303683036930370303713037230373303743037530376303773037830379303803038130382303833038430385303863038730388303893039030391303923039330394303953039630397303983039930400304013040230403304043040530406304073040830409304103041130412304133041430415304163041730418304193042030421304223042330424304253042630427304283042930430304313043230433304343043530436304373043830439304403044130442304433044430445304463044730448304493045030451304523045330454304553045630457304583045930460304613046230463304643046530466304673046830469304703047130472304733047430475304763047730478304793048030481304823048330484304853048630487304883048930490304913049230493304943049530496304973049830499305003050130502305033050430505305063050730508305093051030511305123051330514305153051630517305183051930520305213052230523305243052530526305273052830529305303053130532305333053430535305363053730538305393054030541305423054330544305453054630547305483054930550305513055230553305543055530556305573055830559305603056130562305633056430565305663056730568305693057030571305723057330574305753057630577305783057930580305813058230583305843058530586305873058830589305903059130592305933059430595305963059730598305993060030601306023060330604306053060630607306083060930610306113061230613306143061530616306173061830619306203062130622306233062430625306263062730628306293063030631306323063330634306353063630637306383063930640306413064230643306443064530646306473064830649306503065130652306533065430655306563065730658306593066030661306623066330664306653066630667306683066930670306713067230673306743067530676306773067830679306803068130682306833068430685306863068730688306893069030691306923069330694306953069630697306983069930700307013070230703307043070530706307073070830709307103071130712307133071430715307163071730718307193072030721307223072330724307253072630727307283072930730307313073230733307343073530736307373073830739307403074130742307433074430745307463074730748307493075030751307523075330754307553075630757307583075930760307613076230763307643076530766307673076830769307703077130772307733077430775307763077730778307793078030781307823078330784307853078630787307883078930790307913079230793307943079530796307973079830799308003080130802308033080430805308063080730808308093081030811308123081330814308153081630817308183081930820308213082230823308243082530826308273082830829308303083130832308333083430835308363083730838308393084030841308423084330844308453084630847308483084930850308513085230853308543085530856308573085830859308603086130862308633086430865308663086730868308693087030871308723087330874308753087630877308783087930880308813088230883308843088530886308873088830889308903089130892308933089430895308963089730898308993090030901309023090330904309053090630907309083090930910309113091230913309143091530916309173091830919309203092130922309233092430925309263092730928309293093030931309323093330934309353093630937309383093930940309413094230943309443094530946309473094830949309503095130952309533095430955309563095730958309593096030961309623096330964309653096630967309683096930970309713097230973309743097530976309773097830979309803098130982309833098430985309863098730988309893099030991309923099330994309953099630997309983099931000310013100231003310043100531006310073100831009310103101131012310133101431015310163101731018310193102031021310223102331024310253102631027310283102931030310313103231033310343103531036310373103831039310403104131042310433104431045310463104731048310493105031051310523105331054310553105631057310583105931060310613106231063310643106531066310673106831069310703107131072310733107431075310763107731078310793108031081310823108331084310853108631087310883108931090310913109231093310943109531096310973109831099311003110131102311033110431105311063110731108311093111031111311123111331114311153111631117311183111931120311213112231123311243112531126311273112831129311303113131132311333113431135311363113731138311393114031141311423114331144311453114631147311483114931150311513115231153311543115531156311573115831159311603116131162311633116431165311663116731168311693117031171311723117331174311753117631177311783117931180311813118231183311843118531186311873118831189311903119131192311933119431195311963119731198311993120031201312023120331204312053120631207312083120931210312113121231213312143121531216312173121831219312203122131222312233122431225312263122731228312293123031231312323123331234312353123631237312383123931240312413124231243312443124531246312473124831249312503125131252312533125431255312563125731258312593126031261312623126331264312653126631267312683126931270312713127231273312743127531276312773127831279312803128131282312833128431285312863128731288312893129031291312923129331294312953129631297312983129931300313013130231303313043130531306313073130831309313103131131312313133131431315313163131731318313193132031321313223132331324313253132631327313283132931330313313133231333313343133531336313373133831339313403134131342313433134431345313463134731348313493135031351313523135331354313553135631357313583135931360313613136231363313643136531366313673136831369313703137131372313733137431375313763137731378313793138031381313823138331384313853138631387313883138931390313913139231393313943139531396313973139831399314003140131402314033140431405314063140731408314093141031411314123141331414314153141631417314183141931420314213142231423314243142531426314273142831429314303143131432314333143431435314363143731438314393144031441314423144331444314453144631447314483144931450314513145231453314543145531456314573145831459314603146131462314633146431465314663146731468314693147031471314723147331474314753147631477314783147931480314813148231483314843148531486314873148831489314903149131492314933149431495314963149731498314993150031501315023150331504315053150631507315083150931510315113151231513315143151531516315173151831519315203152131522315233152431525315263152731528315293153031531315323153331534315353153631537315383153931540315413154231543315443154531546315473154831549315503155131552315533155431555315563155731558315593156031561315623156331564315653156631567315683156931570315713157231573315743157531576315773157831579315803158131582315833158431585315863158731588315893159031591315923159331594315953159631597315983159931600316013160231603316043160531606316073160831609316103161131612316133161431615316163161731618316193162031621316223162331624316253162631627316283162931630316313163231633316343163531636316373163831639316403164131642316433164431645316463164731648316493165031651316523165331654316553165631657316583165931660316613166231663316643166531666316673166831669316703167131672316733167431675316763167731678316793168031681316823168331684316853168631687316883168931690316913169231693316943169531696316973169831699317003170131702317033170431705317063170731708317093171031711317123171331714317153171631717317183171931720317213172231723317243172531726317273172831729317303173131732317333173431735317363173731738317393174031741317423174331744317453174631747317483174931750317513175231753317543175531756317573175831759317603176131762317633176431765317663176731768317693177031771317723177331774317753177631777317783177931780317813178231783317843178531786317873178831789317903179131792317933179431795317963179731798317993180031801318023180331804318053180631807318083180931810318113181231813318143181531816318173181831819318203182131822318233182431825318263182731828318293183031831318323183331834318353183631837318383183931840318413184231843318443184531846318473184831849318503185131852318533185431855318563185731858318593186031861318623186331864318653186631867318683186931870318713187231873318743187531876318773187831879318803188131882318833188431885318863188731888318893189031891318923189331894318953189631897318983189931900319013190231903319043190531906319073190831909319103191131912319133191431915319163191731918319193192031921319223192331924319253192631927319283192931930319313193231933319343193531936319373193831939319403194131942319433194431945319463194731948319493195031951319523195331954319553195631957319583195931960319613196231963319643196531966319673196831969319703197131972319733197431975319763197731978319793198031981319823198331984319853198631987319883198931990319913199231993319943199531996319973199831999320003200132002320033200432005320063200732008320093201032011320123201332014320153201632017320183201932020320213202232023320243202532026320273202832029320303203132032320333203432035320363203732038320393204032041320423204332044320453204632047320483204932050320513205232053320543205532056320573205832059320603206132062320633206432065320663206732068320693207032071320723207332074320753207632077320783207932080320813208232083320843208532086320873208832089320903209132092320933209432095320963209732098320993210032101321023210332104321053210632107321083210932110321113211232113321143211532116321173211832119321203212132122321233212432125321263212732128321293213032131321323213332134321353213632137321383213932140321413214232143321443214532146321473214832149321503215132152321533215432155321563215732158321593216032161321623216332164321653216632167321683216932170321713217232173321743217532176321773217832179321803218132182321833218432185321863218732188321893219032191321923219332194321953219632197321983219932200322013220232203322043220532206322073220832209322103221132212322133221432215322163221732218322193222032221322223222332224322253222632227322283222932230322313223232233322343223532236322373223832239322403224132242322433224432245322463224732248322493225032251322523225332254322553225632257322583225932260322613226232263322643226532266322673226832269322703227132272322733227432275322763227732278322793228032281322823228332284322853228632287322883228932290322913229232293322943229532296322973229832299323003230132302323033230432305323063230732308323093231032311323123231332314323153231632317323183231932320323213232232323323243232532326323273232832329323303233132332323333233432335323363233732338323393234032341323423234332344323453234632347323483234932350323513235232353323543235532356323573235832359323603236132362323633236432365323663236732368323693237032371323723237332374323753237632377323783237932380323813238232383323843238532386323873238832389323903239132392323933239432395323963239732398323993240032401324023240332404324053240632407324083240932410324113241232413324143241532416324173241832419324203242132422324233242432425324263242732428324293243032431324323243332434324353243632437324383243932440324413244232443324443244532446324473244832449324503245132452324533245432455324563245732458324593246032461324623246332464324653246632467324683246932470324713247232473324743247532476324773247832479324803248132482324833248432485324863248732488324893249032491324923249332494324953249632497324983249932500325013250232503325043250532506325073250832509325103251132512325133251432515325163251732518325193252032521325223252332524325253252632527325283252932530325313253232533325343253532536325373253832539325403254132542325433254432545325463254732548325493255032551325523255332554325553255632557325583255932560325613256232563325643256532566325673256832569325703257132572325733257432575325763257732578325793258032581325823258332584325853258632587325883258932590325913259232593325943259532596325973259832599326003260132602326033260432605326063260732608326093261032611326123261332614326153261632617326183261932620326213262232623326243262532626326273262832629326303263132632326333263432635326363263732638326393264032641326423264332644326453264632647326483264932650326513265232653326543265532656326573265832659326603266132662326633266432665326663266732668326693267032671326723267332674326753267632677326783267932680326813268232683326843268532686326873268832689326903269132692326933269432695326963269732698326993270032701327023270332704327053270632707327083270932710327113271232713327143271532716327173271832719327203272132722327233272432725327263272732728327293273032731327323273332734327353273632737327383273932740327413274232743327443274532746327473274832749327503275132752327533275432755327563275732758327593276032761327623276332764327653276632767327683276932770327713277232773327743277532776327773277832779327803278132782327833278432785327863278732788327893279032791327923279332794327953279632797327983279932800328013280232803328043280532806328073280832809328103281132812328133281432815328163281732818328193282032821328223282332824328253282632827328283282932830328313283232833328343283532836328373283832839328403284132842328433284432845328463284732848328493285032851328523285332854328553285632857328583285932860328613286232863328643286532866328673286832869328703287132872328733287432875328763287732878328793288032881328823288332884328853288632887328883288932890328913289232893328943289532896328973289832899329003290132902329033290432905329063290732908329093291032911329123291332914329153291632917329183291932920329213292232923329243292532926329273292832929329303293132932329333293432935329363293732938329393294032941329423294332944329453294632947329483294932950329513295232953329543295532956329573295832959329603296132962329633296432965329663296732968329693297032971329723297332974329753297632977329783297932980329813298232983329843298532986329873298832989329903299132992329933299432995329963299732998329993300033001330023300333004330053300633007330083300933010330113301233013330143301533016330173301833019330203302133022330233302433025330263302733028330293303033031330323303333034330353303633037330383303933040330413304233043330443304533046330473304833049330503305133052330533305433055330563305733058330593306033061330623306333064330653306633067330683306933070330713307233073330743307533076330773307833079330803308133082330833308433085330863308733088330893309033091330923309333094330953309633097330983309933100331013310233103331043310533106331073310833109331103311133112331133311433115331163311733118331193312033121331223312333124331253312633127331283312933130331313313233133331343313533136331373313833139331403314133142331433314433145331463314733148331493315033151331523315333154331553315633157331583315933160331613316233163331643316533166331673316833169331703317133172331733317433175331763317733178331793318033181331823318333184331853318633187331883318933190331913319233193331943319533196331973319833199332003320133202332033320433205332063320733208332093321033211332123321333214332153321633217332183321933220332213322233223332243322533226332273322833229332303323133232332333323433235332363323733238332393324033241332423324333244332453324633247332483324933250332513325233253332543325533256332573325833259332603326133262332633326433265332663326733268332693327033271332723327333274332753327633277332783327933280332813328233283332843328533286332873328833289332903329133292332933329433295332963329733298332993330033301333023330333304333053330633307333083330933310333113331233313333143331533316333173331833319333203332133322333233332433325333263332733328333293333033331333323333333334333353333633337333383333933340333413334233343333443334533346333473334833349333503335133352333533335433355333563335733358333593336033361333623336333364333653336633367333683336933370333713337233373333743337533376333773337833379333803338133382333833338433385333863338733388333893339033391333923339333394333953339633397333983339933400334013340233403334043340533406334073340833409334103341133412334133341433415334163341733418334193342033421334223342333424334253342633427334283342933430334313343233433334343343533436334373343833439334403344133442334433344433445334463344733448334493345033451334523345333454334553345633457334583345933460334613346233463334643346533466334673346833469334703347133472334733347433475334763347733478334793348033481334823348333484334853348633487334883348933490334913349233493334943349533496334973349833499335003350133502335033350433505335063350733508335093351033511335123351333514335153351633517335183351933520335213352233523335243352533526335273352833529335303353133532335333353433535335363353733538335393354033541335423354333544335453354633547335483354933550335513355233553335543355533556335573355833559335603356133562335633356433565335663356733568335693357033571335723357333574335753357633577335783357933580335813358233583335843358533586335873358833589335903359133592335933359433595335963359733598335993360033601336023360333604336053360633607336083360933610336113361233613336143361533616336173361833619336203362133622336233362433625336263362733628336293363033631336323363333634336353363633637336383363933640336413364233643336443364533646336473364833649336503365133652336533365433655336563365733658336593366033661336623366333664336653366633667336683366933670336713367233673336743367533676336773367833679336803368133682336833368433685336863368733688336893369033691336923369333694336953369633697336983369933700337013370233703337043370533706337073370833709337103371133712337133371433715337163371733718337193372033721337223372333724337253372633727337283372933730337313373233733337343373533736337373373833739337403374133742337433374433745337463374733748337493375033751337523375333754337553375633757337583375933760337613376233763337643376533766337673376833769337703377133772337733377433775337763377733778337793378033781337823378333784337853378633787337883378933790337913379233793337943379533796337973379833799338003380133802338033380433805338063380733808338093381033811338123381333814338153381633817338183381933820338213382233823338243382533826338273382833829338303383133832338333383433835338363383733838338393384033841338423384333844338453384633847338483384933850338513385233853338543385533856338573385833859338603386133862338633386433865338663386733868338693387033871338723387333874338753387633877338783387933880338813388233883338843388533886338873388833889338903389133892338933389433895338963389733898338993390033901339023390333904339053390633907339083390933910339113391233913339143391533916339173391833919339203392133922339233392433925339263392733928339293393033931339323393333934339353393633937339383393933940339413394233943339443394533946339473394833949339503395133952339533395433955339563395733958339593396033961339623396333964339653396633967339683396933970339713397233973339743397533976339773397833979339803398133982339833398433985339863398733988339893399033991339923399333994339953399633997339983399934000340013400234003340043400534006340073400834009340103401134012340133401434015340163401734018340193402034021340223402334024340253402634027340283402934030340313403234033340343403534036340373403834039340403404134042340433404434045340463404734048340493405034051340523405334054340553405634057340583405934060340613406234063340643406534066340673406834069340703407134072340733407434075340763407734078340793408034081340823408334084340853408634087340883408934090340913409234093340943409534096340973409834099341003410134102341033410434105341063410734108341093411034111341123411334114341153411634117341183411934120341213412234123341243412534126341273412834129341303413134132341333413434135341363413734138341393414034141341423414334144341453414634147341483414934150341513415234153341543415534156341573415834159341603416134162341633416434165341663416734168341693417034171341723417334174341753417634177341783417934180341813418234183341843418534186341873418834189341903419134192341933419434195341963419734198341993420034201342023420334204342053420634207342083420934210342113421234213342143421534216342173421834219342203422134222342233422434225342263422734228342293423034231342323423334234342353423634237342383423934240342413424234243342443424534246342473424834249342503425134252342533425434255342563425734258342593426034261342623426334264342653426634267342683426934270342713427234273342743427534276342773427834279342803428134282342833428434285342863428734288342893429034291342923429334294342953429634297342983429934300343013430234303343043430534306343073430834309343103431134312343133431434315343163431734318343193432034321343223432334324343253432634327343283432934330343313433234333343343433534336343373433834339343403434134342343433434434345343463434734348343493435034351343523435334354343553435634357343583435934360343613436234363343643436534366343673436834369343703437134372343733437434375343763437734378343793438034381343823438334384343853438634387343883438934390343913439234393343943439534396343973439834399344003440134402344033440434405344063440734408344093441034411344123441334414344153441634417344183441934420344213442234423344243442534426344273442834429344303443134432344333443434435344363443734438344393444034441344423444334444344453444634447344483444934450344513445234453344543445534456344573445834459344603446134462344633446434465344663446734468344693447034471344723447334474344753447634477344783447934480344813448234483344843448534486344873448834489344903449134492344933449434495344963449734498344993450034501345023450334504345053450634507345083450934510345113451234513345143451534516345173451834519345203452134522345233452434525345263452734528345293453034531345323453334534345353453634537345383453934540345413454234543345443454534546345473454834549345503455134552345533455434555345563455734558345593456034561345623456334564345653456634567345683456934570345713457234573345743457534576345773457834579345803458134582345833458434585345863458734588345893459034591345923459334594345953459634597345983459934600346013460234603346043460534606346073460834609346103461134612346133461434615346163461734618346193462034621346223462334624346253462634627346283462934630346313463234633346343463534636346373463834639346403464134642346433464434645346463464734648346493465034651346523465334654346553465634657346583465934660346613466234663346643466534666346673466834669346703467134672346733467434675346763467734678346793468034681346823468334684346853468634687346883468934690346913469234693346943469534696346973469834699347003470134702347033470434705347063470734708347093471034711347123471334714347153471634717347183471934720347213472234723347243472534726347273472834729347303473134732347333473434735347363473734738347393474034741347423474334744347453474634747347483474934750347513475234753347543475534756347573475834759347603476134762347633476434765347663476734768347693477034771347723477334774347753477634777347783477934780347813478234783347843478534786347873478834789347903479134792347933479434795347963479734798347993480034801348023480334804348053480634807348083480934810348113481234813348143481534816348173481834819348203482134822348233482434825348263482734828348293483034831348323483334834348353483634837348383483934840348413484234843348443484534846348473484834849348503485134852348533485434855348563485734858348593486034861348623486334864348653486634867348683486934870348713487234873348743487534876348773487834879348803488134882348833488434885348863488734888348893489034891348923489334894348953489634897348983489934900349013490234903349043490534906349073490834909349103491134912349133491434915349163491734918349193492034921349223492334924349253492634927349283492934930349313493234933349343493534936349373493834939349403494134942349433494434945349463494734948349493495034951349523495334954349553495634957349583495934960349613496234963349643496534966349673496834969349703497134972349733497434975349763497734978349793498034981349823498334984349853498634987349883498934990349913499234993349943499534996349973499834999350003500135002350033500435005350063500735008350093501035011350123501335014350153501635017350183501935020350213502235023350243502535026350273502835029350303503135032350333503435035350363503735038350393504035041350423504335044350453504635047350483504935050350513505235053350543505535056350573505835059350603506135062350633506435065350663506735068350693507035071350723507335074350753507635077350783507935080350813508235083350843508535086350873508835089350903509135092350933509435095350963509735098350993510035101351023510335104351053510635107351083510935110351113511235113351143511535116351173511835119351203512135122351233512435125351263512735128351293513035131351323513335134351353513635137351383513935140351413514235143351443514535146351473514835149351503515135152351533515435155351563515735158351593516035161351623516335164351653516635167351683516935170351713517235173351743517535176351773517835179351803518135182351833518435185351863518735188351893519035191351923519335194351953519635197351983519935200352013520235203352043520535206352073520835209352103521135212352133521435215352163521735218352193522035221352223522335224352253522635227352283522935230352313523235233352343523535236352373523835239352403524135242352433524435245352463524735248352493525035251352523525335254352553525635257352583525935260352613526235263352643526535266352673526835269352703527135272352733527435275352763527735278352793528035281352823528335284352853528635287352883528935290352913529235293352943529535296352973529835299353003530135302353033530435305353063530735308353093531035311353123531335314353153531635317353183531935320353213532235323353243532535326353273532835329353303533135332353333533435335353363533735338353393534035341353423534335344353453534635347353483534935350353513535235353353543535535356353573535835359353603536135362353633536435365353663536735368353693537035371353723537335374353753537635377353783537935380353813538235383353843538535386353873538835389353903539135392353933539435395353963539735398353993540035401354023540335404354053540635407354083540935410354113541235413354143541535416354173541835419354203542135422354233542435425354263542735428354293543035431354323543335434354353543635437354383543935440354413544235443354443544535446354473544835449354503545135452354533545435455354563545735458354593546035461354623546335464354653546635467354683546935470354713547235473354743547535476354773547835479354803548135482354833548435485354863548735488354893549035491354923549335494354953549635497354983549935500355013550235503355043550535506355073550835509355103551135512355133551435515355163551735518355193552035521355223552335524355253552635527355283552935530355313553235533355343553535536355373553835539355403554135542355433554435545355463554735548355493555035551355523555335554355553555635557355583555935560355613556235563355643556535566355673556835569355703557135572355733557435575355763557735578355793558035581355823558335584355853558635587355883558935590355913559235593355943559535596355973559835599356003560135602356033560435605356063560735608356093561035611356123561335614356153561635617356183561935620356213562235623356243562535626356273562835629356303563135632356333563435635356363563735638356393564035641356423564335644356453564635647356483564935650356513565235653356543565535656356573565835659356603566135662356633566435665356663566735668356693567035671356723567335674356753567635677356783567935680356813568235683356843568535686356873568835689356903569135692356933569435695356963569735698356993570035701357023570335704357053570635707357083570935710357113571235713357143571535716357173571835719357203572135722357233572435725357263572735728357293573035731357323573335734357353573635737357383573935740357413574235743357443574535746357473574835749357503575135752357533575435755357563575735758357593576035761357623576335764357653576635767357683576935770357713577235773357743577535776357773577835779357803578135782357833578435785357863578735788357893579035791357923579335794357953579635797357983579935800358013580235803358043580535806358073580835809358103581135812358133581435815358163581735818358193582035821358223582335824358253582635827358283582935830358313583235833358343583535836358373583835839358403584135842358433584435845358463584735848358493585035851358523585335854358553585635857358583585935860358613586235863358643586535866358673586835869358703587135872358733587435875358763587735878358793588035881358823588335884358853588635887358883588935890358913589235893358943589535896358973589835899359003590135902359033590435905359063590735908359093591035911359123591335914359153591635917359183591935920359213592235923359243592535926359273592835929359303593135932359333593435935359363593735938359393594035941359423594335944359453594635947359483594935950359513595235953359543595535956359573595835959359603596135962359633596435965359663596735968359693597035971359723597335974359753597635977359783597935980359813598235983359843598535986359873598835989359903599135992359933599435995359963599735998359993600036001360023600336004360053600636007360083600936010360113601236013360143601536016360173601836019360203602136022360233602436025360263602736028360293603036031360323603336034360353603636037360383603936040360413604236043360443604536046360473604836049360503605136052360533605436055360563605736058360593606036061360623606336064360653606636067360683606936070360713607236073360743607536076360773607836079360803608136082360833608436085360863608736088360893609036091360923609336094360953609636097360983609936100361013610236103361043610536106361073610836109361103611136112361133611436115361163611736118361193612036121361223612336124361253612636127361283612936130361313613236133361343613536136361373613836139361403614136142361433614436145361463614736148361493615036151361523615336154361553615636157361583615936160361613616236163361643616536166361673616836169361703617136172361733617436175361763617736178361793618036181361823618336184361853618636187361883618936190361913619236193361943619536196361973619836199362003620136202362033620436205362063620736208362093621036211362123621336214362153621636217362183621936220362213622236223362243622536226362273622836229362303623136232362333623436235362363623736238362393624036241362423624336244362453624636247362483624936250362513625236253362543625536256362573625836259362603626136262362633626436265362663626736268362693627036271362723627336274362753627636277362783627936280362813628236283362843628536286362873628836289362903629136292362933629436295362963629736298362993630036301363023630336304363053630636307363083630936310363113631236313363143631536316363173631836319363203632136322363233632436325363263632736328363293633036331363323633336334363353633636337363383633936340363413634236343363443634536346363473634836349363503635136352363533635436355363563635736358363593636036361363623636336364363653636636367363683636936370363713637236373363743637536376363773637836379363803638136382363833638436385363863638736388363893639036391363923639336394363953639636397363983639936400364013640236403364043640536406364073640836409364103641136412364133641436415364163641736418364193642036421364223642336424364253642636427364283642936430364313643236433364343643536436364373643836439364403644136442364433644436445364463644736448364493645036451364523645336454364553645636457364583645936460364613646236463364643646536466364673646836469364703647136472364733647436475364763647736478364793648036481364823648336484364853648636487364883648936490364913649236493364943649536496364973649836499365003650136502365033650436505365063650736508365093651036511365123651336514365153651636517365183651936520365213652236523365243652536526365273652836529365303653136532365333653436535365363653736538365393654036541365423654336544365453654636547365483654936550365513655236553365543655536556365573655836559365603656136562365633656436565365663656736568365693657036571365723657336574365753657636577365783657936580365813658236583365843658536586365873658836589365903659136592365933659436595365963659736598365993660036601366023660336604366053660636607366083660936610366113661236613366143661536616366173661836619366203662136622366233662436625366263662736628366293663036631366323663336634366353663636637366383663936640366413664236643366443664536646366473664836649366503665136652366533665436655366563665736658366593666036661366623666336664366653666636667366683666936670366713667236673366743667536676366773667836679366803668136682366833668436685366863668736688366893669036691366923669336694366953669636697366983669936700367013670236703367043670536706367073670836709367103671136712367133671436715367163671736718367193672036721367223672336724367253672636727367283672936730367313673236733367343673536736367373673836739367403674136742367433674436745367463674736748367493675036751367523675336754367553675636757367583675936760367613676236763367643676536766367673676836769367703677136772367733677436775367763677736778367793678036781367823678336784367853678636787367883678936790367913679236793367943679536796367973679836799368003680136802368033680436805368063680736808368093681036811368123681336814368153681636817368183681936820368213682236823368243682536826368273682836829368303683136832368333683436835368363683736838368393684036841368423684336844368453684636847368483684936850368513685236853368543685536856368573685836859368603686136862368633686436865368663686736868368693687036871368723687336874368753687636877368783687936880368813688236883368843688536886368873688836889368903689136892368933689436895368963689736898368993690036901369023690336904369053690636907369083690936910369113691236913369143691536916369173691836919369203692136922369233692436925369263692736928369293693036931369323693336934369353693636937369383693936940369413694236943369443694536946369473694836949369503695136952369533695436955369563695736958369593696036961369623696336964369653696636967369683696936970369713697236973369743697536976369773697836979369803698136982369833698436985369863698736988369893699036991369923699336994369953699636997369983699937000370013700237003370043700537006370073700837009370103701137012370133701437015370163701737018370193702037021370223702337024370253702637027370283702937030370313703237033370343703537036370373703837039370403704137042370433704437045370463704737048370493705037051370523705337054370553705637057370583705937060370613706237063370643706537066370673706837069370703707137072370733707437075370763707737078370793708037081370823708337084370853708637087370883708937090370913709237093370943709537096370973709837099371003710137102371033710437105371063710737108371093711037111371123711337114371153711637117371183711937120371213712237123371243712537126371273712837129371303713137132371333713437135371363713737138371393714037141371423714337144371453714637147371483714937150371513715237153371543715537156371573715837159371603716137162371633716437165371663716737168371693717037171371723717337174371753717637177371783717937180371813718237183371843718537186371873718837189371903719137192371933719437195371963719737198371993720037201372023720337204372053720637207372083720937210372113721237213372143721537216372173721837219372203722137222372233722437225372263722737228372293723037231372323723337234372353723637237372383723937240372413724237243372443724537246372473724837249372503725137252372533725437255372563725737258372593726037261372623726337264372653726637267372683726937270372713727237273372743727537276372773727837279372803728137282372833728437285372863728737288372893729037291372923729337294372953729637297372983729937300373013730237303373043730537306373073730837309373103731137312373133731437315373163731737318373193732037321373223732337324373253732637327373283732937330373313733237333373343733537336373373733837339373403734137342373433734437345373463734737348373493735037351373523735337354373553735637357373583735937360373613736237363373643736537366373673736837369373703737137372373733737437375373763737737378373793738037381373823738337384373853738637387373883738937390373913739237393373943739537396373973739837399374003740137402374033740437405374063740737408374093741037411374123741337414374153741637417374183741937420374213742237423374243742537426374273742837429374303743137432374333743437435374363743737438374393744037441374423744337444374453744637447374483744937450374513745237453374543745537456374573745837459374603746137462374633746437465374663746737468374693747037471374723747337474374753747637477374783747937480374813748237483374843748537486374873748837489374903749137492374933749437495374963749737498374993750037501375023750337504375053750637507375083750937510375113751237513375143751537516375173751837519375203752137522375233752437525375263752737528375293753037531375323753337534375353753637537375383753937540375413754237543375443754537546375473754837549375503755137552375533755437555375563755737558375593756037561375623756337564375653756637567375683756937570375713757237573375743757537576375773757837579375803758137582375833758437585375863758737588375893759037591375923759337594375953759637597375983759937600376013760237603376043760537606376073760837609376103761137612376133761437615376163761737618376193762037621376223762337624376253762637627376283762937630376313763237633376343763537636376373763837639376403764137642376433764437645376463764737648376493765037651376523765337654376553765637657376583765937660376613766237663376643766537666376673766837669376703767137672376733767437675376763767737678376793768037681376823768337684376853768637687376883768937690376913769237693376943769537696376973769837699377003770137702377033770437705377063770737708377093771037711377123771337714377153771637717377183771937720377213772237723377243772537726377273772837729377303773137732377333773437735377363773737738377393774037741377423774337744377453774637747377483774937750377513775237753377543775537756377573775837759377603776137762377633776437765377663776737768377693777037771377723777337774377753777637777377783777937780377813778237783377843778537786377873778837789377903779137792377933779437795377963779737798377993780037801378023780337804378053780637807378083780937810378113781237813378143781537816378173781837819378203782137822378233782437825378263782737828378293783037831378323783337834378353783637837378383783937840378413784237843378443784537846378473784837849378503785137852378533785437855378563785737858378593786037861378623786337864378653786637867378683786937870378713787237873378743787537876378773787837879378803788137882378833788437885378863788737888378893789037891378923789337894378953789637897378983789937900379013790237903379043790537906379073790837909379103791137912379133791437915379163791737918379193792037921379223792337924379253792637927379283792937930379313793237933379343793537936379373793837939379403794137942379433794437945379463794737948379493795037951379523795337954379553795637957379583795937960379613796237963379643796537966379673796837969379703797137972379733797437975379763797737978379793798037981379823798337984379853798637987379883798937990379913799237993379943799537996379973799837999380003800138002380033800438005380063800738008380093801038011380123801338014380153801638017380183801938020380213802238023380243802538026380273802838029380303803138032380333803438035380363803738038380393804038041380423804338044380453804638047380483804938050380513805238053380543805538056380573805838059380603806138062380633806438065380663806738068380693807038071380723807338074380753807638077380783807938080380813808238083380843808538086380873808838089380903809138092380933809438095380963809738098380993810038101381023810338104381053810638107381083810938110381113811238113381143811538116381173811838119381203812138122381233812438125381263812738128381293813038131381323813338134381353813638137381383813938140381413814238143381443814538146381473814838149381503815138152381533815438155381563815738158381593816038161381623816338164381653816638167381683816938170381713817238173381743817538176381773817838179381803818138182381833818438185381863818738188381893819038191381923819338194381953819638197381983819938200382013820238203382043820538206382073820838209382103821138212382133821438215382163821738218382193822038221382223822338224382253822638227382283822938230382313823238233382343823538236382373823838239382403824138242382433824438245382463824738248382493825038251382523825338254382553825638257382583825938260382613826238263382643826538266382673826838269382703827138272382733827438275382763827738278382793828038281382823828338284382853828638287382883828938290382913829238293382943829538296382973829838299383003830138302383033830438305383063830738308383093831038311383123831338314383153831638317383183831938320383213832238323383243832538326383273832838329383303833138332383333833438335383363833738338383393834038341383423834338344383453834638347383483834938350383513835238353383543835538356383573835838359383603836138362383633836438365383663836738368383693837038371383723837338374383753837638377383783837938380383813838238383383843838538386383873838838389383903839138392383933839438395383963839738398383993840038401384023840338404384053840638407384083840938410384113841238413384143841538416384173841838419384203842138422384233842438425384263842738428384293843038431384323843338434384353843638437384383843938440384413844238443384443844538446384473844838449384503845138452384533845438455384563845738458384593846038461384623846338464384653846638467384683846938470384713847238473384743847538476384773847838479384803848138482384833848438485384863848738488384893849038491384923849338494384953849638497384983849938500385013850238503385043850538506385073850838509385103851138512385133851438515385163851738518385193852038521385223852338524385253852638527385283852938530385313853238533385343853538536385373853838539385403854138542385433854438545385463854738548385493855038551385523855338554385553855638557385583855938560385613856238563385643856538566385673856838569385703857138572385733857438575385763857738578385793858038581385823858338584385853858638587385883858938590385913859238593385943859538596385973859838599386003860138602386033860438605386063860738608386093861038611386123861338614386153861638617386183861938620386213862238623386243862538626386273862838629386303863138632386333863438635386363863738638386393864038641386423864338644386453864638647386483864938650386513865238653386543865538656386573865838659386603866138662386633866438665386663866738668386693867038671386723867338674386753867638677386783867938680386813868238683386843868538686386873868838689386903869138692386933869438695386963869738698386993870038701387023870338704387053870638707387083870938710387113871238713387143871538716387173871838719387203872138722387233872438725387263872738728387293873038731387323873338734387353873638737387383873938740387413874238743387443874538746387473874838749387503875138752387533875438755387563875738758387593876038761387623876338764387653876638767387683876938770387713877238773387743877538776387773877838779387803878138782387833878438785387863878738788387893879038791387923879338794387953879638797387983879938800388013880238803388043880538806388073880838809388103881138812388133881438815388163881738818388193882038821388223882338824388253882638827388283882938830388313883238833388343883538836388373883838839388403884138842388433884438845388463884738848388493885038851388523885338854388553885638857388583885938860388613886238863388643886538866388673886838869 |
- --- recode-3.6.orig/config.sub
- +++ recode-3.6/config.sub
- @@ -1,6 +1,11 @@
- #! /bin/sh
- -# Configuration validation subroutine script, version 1.1.
- -# Copyright (C) 1991, 92-97, 1998, 1999 Free Software Foundation, Inc.
- +# Configuration validation subroutine script.
- +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
- +# 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
- +# Inc.
- +
- +timestamp='2006-09-20'
- +
- # This file is (in principle) common to ALL GNU software.
- # The presence of a machine in this file suggests that SOME GNU software
- # can handle that machine. It does not imply ALL GNU software can.
- @@ -17,14 +22,18 @@
- #
- # You should have received a copy of the GNU General Public License
- # along with this program; if not, write to the Free Software
- -# Foundation, Inc., 59 Temple Place - Suite 330,
- -# Boston, MA 02111-1307, USA.
- -
- +# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
- +# 02110-1301, USA.
- +#
- # As a special exception to the GNU General Public License, if you
- # distribute this file as part of a program that contains a
- # configuration script generated by Autoconf, you may include it under
- # the same distribution terms that you use for the rest of that program.
-
- +
- +# Please send patches to <config-patches@gnu.org>. Submit a context
- +# diff and a properly formatted ChangeLog entry.
- +#
- # Configuration subroutine to validate and canonicalize a configuration type.
- # Supply the specified configuration type as an argument.
- # If it is invalid, we print an error message on stderr and exit with code 1.
- @@ -45,30 +54,75 @@
- # CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM
- # It is wrong to echo any other type of specification.
-
- -if [ x$1 = x ]
- -then
- - echo Configuration name missing. 1>&2
- - echo "Usage: $0 CPU-MFR-OPSYS" 1>&2
- - echo "or $0 ALIAS" 1>&2
- - echo where ALIAS is a recognized configuration type. 1>&2
- - exit 1
- -fi
- +me=`echo "$0" | sed -e 's,.*/,,'`
-
- -# First pass through any local machine types.
- -case $1 in
- - *local*)
- - echo $1
- - exit 0
- - ;;
- - *)
- - ;;
- +usage="\
- +Usage: $0 [OPTION] CPU-MFR-OPSYS
- + $0 [OPTION] ALIAS
- +
- +Canonicalize a configuration name.
- +
- +Operation modes:
- + -h, --help print this help, then exit
- + -t, --time-stamp print date of last modification, then exit
- + -v, --version print version number, then exit
- +
- +Report bugs and patches to <config-patches@gnu.org>."
- +
- +version="\
- +GNU config.sub ($timestamp)
- +
- +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
- +Free Software Foundation, Inc.
- +
- +This is free software; see the source for copying conditions. There is NO
- +warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
- +
- +help="
- +Try \`$me --help' for more information."
- +
- +# Parse command line
- +while test $# -gt 0 ; do
- + case $1 in
- + --time-stamp | --time* | -t )
- + echo "$timestamp" ; exit ;;
- + --version | -v )
- + echo "$version" ; exit ;;
- + --help | --h* | -h )
- + echo "$usage"; exit ;;
- + -- ) # Stop option processing
- + shift; break ;;
- + - ) # Use stdin as input.
- + break ;;
- + -* )
- + echo "$me: invalid option $1$help"
- + exit 1 ;;
- +
- + *local*)
- + # First pass through any local machine types.
- + echo $1
- + exit ;;
- +
- + * )
- + break ;;
- + esac
- +done
- +
- +case $# in
- + 0) echo "$me: missing argument$help" >&2
- + exit 1;;
- + 1) ;;
- + *) echo "$me: too many arguments$help" >&2
- + exit 1;;
- esac
-
- # Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any).
- # Here we must recognize all the valid KERNEL-OS combinations.
- maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
- case $maybe_os in
- - linux-gnu*)
- + nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \
- + uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \
- + storm-chaos* | os2-emx* | rtmk-nova*)
- os=-$maybe_os
- basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
- ;;
- @@ -94,7 +148,7 @@
- -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
- -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
- -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
- - -apple)
- + -apple | -axis | -knuth | -cray)
- os=
- basic_machine=$1
- ;;
- @@ -108,9 +162,21 @@
- os=-vxworks
- basic_machine=$1
- ;;
- + -chorusos*)
- + os=-chorusos
- + basic_machine=$1
- + ;;
- + -chorusrdb)
- + os=-chorusrdb
- + basic_machine=$1
- + ;;
- -hiux*)
- os=-hiuxwe2
- ;;
- + -sco6)
- + os=-sco5v6
- + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
- + ;;
- -sco5)
- os=-sco3.2v5
- basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
- @@ -127,6 +193,10 @@
- # Don't forget version if it is 3.2v4 or newer.
- basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
- ;;
- + -sco5v6*)
- + # Don't forget version if it is 3.2v4 or newer.
- + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
- + ;;
- -sco*)
- os=-sco3.2v2
- basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
- @@ -166,27 +236,74 @@
- case $basic_machine in
- # Recognize the basic CPU types without company name.
- # Some are omitted here because they have special meanings below.
- - tahoe | i860 | ia64 | m32r | m68k | m68000 | m88k | ns32k | arc | arm \
- - | arme[lb] | pyramid | mn10200 | mn10300 | tron | a29k \
- - | 580 | i960 | h8300 \
- - | hppa | hppa1.0 | hppa1.1 | hppa2.0 | hppa2.0w | hppa2.0n \
- - | alpha | alphaev[4-7] | alphaev56 | alphapca5[67] \
- - | we32k | ns16k | clipper | i370 | sh | powerpc | powerpcle \
- - | 1750a | dsp16xx | pdp11 | mips16 | mips64 | mipsel | mips64el \
- - | mips64orion | mips64orionel | mipstx39 | mipstx39el \
- - | mips64vr4300 | mips64vr4300el | mips64vr4100 | mips64vr4100el \
- - | mips64vr5000 | miprs64vr5000el | mcore \
- - | sparc | sparclet | sparclite | sparc64 | sparcv9 | v850 | c4x \
- - | thumb | d10v)
- + 1750a | 580 \
- + | a29k \
- + | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
- + | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
- + | am33_2.0 \
- + | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \
- + | bfin \
- + | c4x | clipper \
- + | d10v | d30v | dlx | dsp16xx \
- + | fr30 | frv \
- + | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
- + | i370 | i860 | i960 | ia64 \
- + | ip2k | iq2000 \
- + | m32c | m32r | m32rle | m68000 | m68k | m88k \
- + | maxq | mb | microblaze | mcore \
- + | mips | mipsbe | mipseb | mipsel | mipsle \
- + | mips16 \
- + | mips64 | mips64el \
- + | mips64vr | mips64vrel \
- + | mips64orion | mips64orionel \
- + | mips64vr4100 | mips64vr4100el \
- + | mips64vr4300 | mips64vr4300el \
- + | mips64vr5000 | mips64vr5000el \
- + | mips64vr5900 | mips64vr5900el \
- + | mipsisa32 | mipsisa32el \
- + | mipsisa32r2 | mipsisa32r2el \
- + | mipsisa64 | mipsisa64el \
- + | mipsisa64r2 | mipsisa64r2el \
- + | mipsisa64sb1 | mipsisa64sb1el \
- + | mipsisa64sr71k | mipsisa64sr71kel \
- + | mipstx39 | mipstx39el \
- + | mn10200 | mn10300 \
- + | mt \
- + | msp430 \
- + | nios | nios2 \
- + | ns16k | ns32k \
- + | or32 \
- + | pdp10 | pdp11 | pj | pjl \
- + | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
- + | pyramid \
- + | score \
- + | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
- + | sh64 | sh64le \
- + | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
- + | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
- + | spu | strongarm \
- + | tahoe | thumb | tic4x | tic80 | tron \
- + | v850 | v850e \
- + | we32k \
- + | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \
- + | z8k)
- basic_machine=$basic_machine-unknown
- ;;
- - m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | z8k | v70 | h8500 | w65)
- + m6811 | m68hc11 | m6812 | m68hc12)
- + # Motorola 68HC11/12.
- + basic_machine=$basic_machine-unknown
- + os=-none
- + ;;
- + m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k)
- + ;;
- + ms1)
- + basic_machine=mt-unknown
- ;;
-
- # We use `pc' rather than `unknown'
- # because (1) that's what they normally are, and
- # (2) the word "unknown" tends to confuse beginning users.
- - i[34567]86)
- + i*86 | x86_64)
- basic_machine=$basic_machine-pc
- ;;
- # Object if more than one company name word.
- @@ -195,24 +312,66 @@
- exit 1
- ;;
- # Recognize the basic CPU types with company name.
- - # FIXME: clean up the formatting here.
- - vax-* | tahoe-* | i[34567]86-* | i860-* | ia64-* | m32r-* | m68k-* | m68000-* \
- - | m88k-* | sparc-* | ns32k-* | fx80-* | arc-* | arm-* | c[123]* \
- - | mips-* | pyramid-* | tron-* | a29k-* | romp-* | rs6000-* \
- - | power-* | none-* | 580-* | cray2-* | h8300-* | h8500-* | i960-* \
- - | xmp-* | ymp-* \
- - | hppa-* | hppa1.0-* | hppa1.1-* | hppa2.0-* | hppa2.0w-* | hppa2.0n-* \
- - | alpha-* | alphaev[4-7]-* | alphaev56-* | alphapca5[67]-* \
- - | we32k-* | cydra-* | ns16k-* | pn-* | np1-* | xps100-* \
- - | clipper-* | orion-* \
- - | sparclite-* | pdp11-* | sh-* | powerpc-* | powerpcle-* \
- - | sparc64-* | sparcv9-* | sparc86x-* | mips16-* | mips64-* | mipsel-* \
- - | mips64el-* | mips64orion-* | mips64orionel-* \
- - | mips64vr4100-* | mips64vr4100el-* | mips64vr4300-* | mips64vr4300el-* \
- - | mipstx39-* | mipstx39el-* | mcore-* \
- - | f301-* | armv*-* | t3e-* \
- - | m88110-* | m680[01234]0-* | m683?2-* | m68360-* | z8k-* | d10v-* \
- - | thumb-* | v850-* | d30v-* | tic30-* | c30-* )
- + 580-* \
- + | a29k-* \
- + | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
- + | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
- + | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
- + | arm-* | armbe-* | armle-* | armeb-* | armv*-* \
- + | avr-* | avr32-* \
- + | bfin-* | bs2000-* \
- + | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
- + | clipper-* | craynv-* | cydra-* \
- + | d10v-* | d30v-* | dlx-* \
- + | elxsi-* \
- + | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \
- + | h8300-* | h8500-* \
- + | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
- + | i*86-* | i860-* | i960-* | ia64-* \
- + | ip2k-* | iq2000-* \
- + | m32c-* | m32r-* | m32rle-* \
- + | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
- + | m88110-* | m88k-* | maxq-* | mcore-* \
- + | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
- + | mips16-* \
- + | mips64-* | mips64el-* \
- + | mips64vr-* | mips64vrel-* \
- + | mips64orion-* | mips64orionel-* \
- + | mips64vr4100-* | mips64vr4100el-* \
- + | mips64vr4300-* | mips64vr4300el-* \
- + | mips64vr5000-* | mips64vr5000el-* \
- + | mips64vr5900-* | mips64vr5900el-* \
- + | mipsisa32-* | mipsisa32el-* \
- + | mipsisa32r2-* | mipsisa32r2el-* \
- + | mipsisa64-* | mipsisa64el-* \
- + | mipsisa64r2-* | mipsisa64r2el-* \
- + | mipsisa64sb1-* | mipsisa64sb1el-* \
- + | mipsisa64sr71k-* | mipsisa64sr71kel-* \
- + | mipstx39-* | mipstx39el-* \
- + | mmix-* \
- + | mt-* \
- + | msp430-* \
- + | nios-* | nios2-* \
- + | none-* | np1-* | ns16k-* | ns32k-* \
- + | orion-* \
- + | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
- + | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
- + | pyramid-* \
- + | romp-* | rs6000-* \
- + | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
- + | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
- + | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
- + | sparclite-* \
- + | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \
- + | tahoe-* | thumb-* \
- + | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
- + | tron-* \
- + | v850-* | v850e-* | vax-* \
- + | we32k-* \
- + | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
- + | xstormy16-* | xtensa-* \
- + | ymp-* \
- + | z8k-*)
- ;;
- # Recognize the various machine names and aliases which stand
- # for a CPU type and a company and sometimes even an OS.
- @@ -230,6 +389,9 @@
- basic_machine=a29k-amd
- os=-udi
- ;;
- + abacus)
- + basic_machine=abacus-unknown
- + ;;
- adobe68k)
- basic_machine=m68010-adobe
- os=-scout
- @@ -244,19 +406,25 @@
- basic_machine=a29k-none
- os=-bsd
- ;;
- + amd64)
- + basic_machine=x86_64-pc
- + ;;
- + amd64-*)
- + basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'`
- + ;;
- amdahl)
- basic_machine=580-amdahl
- os=-sysv
- ;;
- amiga | amiga-*)
- - basic_machine=m68k-cbm
- + basic_machine=m68k-unknown
- ;;
- amigaos | amigados)
- - basic_machine=m68k-cbm
- + basic_machine=m68k-unknown
- os=-amigaos
- ;;
- amigaunix | amix)
- - basic_machine=m68k-cbm
- + basic_machine=m68k-unknown
- os=-sysv4
- ;;
- apollo68)
- @@ -275,6 +443,10 @@
- basic_machine=ns32k-sequent
- os=-dynix
- ;;
- + c90)
- + basic_machine=c90-cray
- + os=-unicos
- + ;;
- convex-c1)
- basic_machine=c1-convex
- os=-bsd
- @@ -295,27 +467,45 @@
- basic_machine=c38-convex
- os=-bsd
- ;;
- - cray | ymp)
- - basic_machine=ymp-cray
- + cray | j90)
- + basic_machine=j90-cray
- os=-unicos
- ;;
- - cray2)
- - basic_machine=cray2-cray
- - os=-unicos
- + craynv)
- + basic_machine=craynv-cray
- + os=-unicosmp
- ;;
- - [ctj]90-cray)
- - basic_machine=c90-cray
- - os=-unicos
- + cr16c)
- + basic_machine=cr16c-unknown
- + os=-elf
- ;;
- crds | unos)
- basic_machine=m68k-crds
- ;;
- + crisv32 | crisv32-* | etraxfs*)
- + basic_machine=crisv32-axis
- + ;;
- + cris | cris-* | etrax*)
- + basic_machine=cris-axis
- + ;;
- + crx)
- + basic_machine=crx-unknown
- + os=-elf
- + ;;
- da30 | da30-*)
- basic_machine=m68k-da30
- ;;
- decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn)
- basic_machine=mips-dec
- ;;
- + decsystem10* | dec10*)
- + basic_machine=pdp10-dec
- + os=-tops10
- + ;;
- + decsystem20* | dec20*)
- + basic_machine=pdp10-dec
- + os=-tops20
- + ;;
- delta | 3300 | motorola-3300 | motorola-delta \
- | 3300-motorola | delta-motorola)
- basic_machine=m68k-motorola
- @@ -324,6 +514,10 @@
- basic_machine=m88k-motorola
- os=-sysv3
- ;;
- + djgpp)
- + basic_machine=i586-pc
- + os=-msdosdjgpp
- + ;;
- dpx20 | dpx20-*)
- basic_machine=rs6000-bull
- os=-bosx
- @@ -357,6 +551,10 @@
- basic_machine=tron-gmicro
- os=-sysv
- ;;
- + go32)
- + basic_machine=i386-pc
- + os=-go32
- + ;;
- h3050r* | hiux*)
- basic_machine=hppa1.1-hitachi
- os=-hiuxwe2
- @@ -430,22 +628,21 @@
- ;;
- i370-ibm* | ibm*)
- basic_machine=i370-ibm
- - os=-mvs
- ;;
- # I'm not sure what "Sysv32" means. Should this be sysv3.2?
- - i[34567]86v32)
- + i*86v32)
- basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
- os=-sysv32
- ;;
- - i[34567]86v4*)
- + i*86v4*)
- basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
- os=-sysv4
- ;;
- - i[34567]86v)
- + i*86v)
- basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
- os=-sysv
- ;;
- - i[34567]86sol2)
- + i*86sol2)
- basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
- os=-solaris2
- ;;
- @@ -457,14 +654,6 @@
- basic_machine=i386-unknown
- os=-vsta
- ;;
- - i386-go32 | go32)
- - basic_machine=i386-unknown
- - os=-go32
- - ;;
- - i386-mingw32 | mingw32)
- - basic_machine=i386-unknown
- - os=-mingw32
- - ;;
- iris | iris4d)
- basic_machine=mips-sgi
- case $os in
- @@ -490,6 +679,10 @@
- basic_machine=ns32k-utek
- os=-sysv
- ;;
- + mingw32)
- + basic_machine=i386-pc
- + os=-mingw32
- + ;;
- miniframe)
- basic_machine=m68000-convergent
- ;;
- @@ -497,14 +690,6 @@
- basic_machine=m68k-atari
- os=-mint
- ;;
- - mipsel*-linux*)
- - basic_machine=mipsel-unknown
- - os=-linux-gnu
- - ;;
- - mips*-linux*)
- - basic_machine=mips-unknown
- - os=-linux-gnu
- - ;;
- mips3*-*)
- basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`
- ;;
- @@ -515,10 +700,21 @@
- basic_machine=m68k-rom68k
- os=-coff
- ;;
- + morphos)
- + basic_machine=powerpc-unknown
- + os=-morphos
- + ;;
- msdos)
- - basic_machine=i386-unknown
- + basic_machine=i386-pc
- os=-msdos
- ;;
- + ms1-*)
- + basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
- + ;;
- + mvs)
- + basic_machine=i370-ibm
- + os=-mvs
- + ;;
- ncr3000)
- basic_machine=i486-ncr
- os=-sysv4
- @@ -528,7 +724,7 @@
- os=-netbsd
- ;;
- netwinder)
- - basic_machine=armv4l-corel
- + basic_machine=armv4l-rebel
- os=-linux
- ;;
- news | news700 | news800 | news900)
- @@ -576,13 +772,27 @@
- basic_machine=i960-intel
- os=-mon960
- ;;
- + nonstopux)
- + basic_machine=mips-compaq
- + os=-nonstopux
- + ;;
- np1)
- basic_machine=np1-gould
- ;;
- + nsr-tandem)
- + basic_machine=nsr-tandem
- + ;;
- op50n-* | op60c-*)
- basic_machine=hppa1.1-oki
- os=-proelf
- ;;
- + openrisc | openrisc-*)
- + basic_machine=or32-unknown
- + ;;
- + os400)
- + basic_machine=powerpc-ibm
- + os=-os400
- + ;;
- OSE68000 | ose68000)
- basic_machine=m68000-ericsson
- os=-ose
- @@ -605,45 +815,75 @@
- pbb)
- basic_machine=m68k-tti
- ;;
- - pc532 | pc532-*)
- + pc532 | pc532-*)
- basic_machine=ns32k-pc532
- ;;
- - pentium | p5 | k5 | k6 | nexen)
- + pc98)
- + basic_machine=i386-pc
- + ;;
- + pc98-*)
- + basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'`
- + ;;
- + pentium | p5 | k5 | k6 | nexgen | viac3)
- basic_machine=i586-pc
- ;;
- - pentiumpro | p6 | 6x86)
- + pentiumpro | p6 | 6x86 | athlon | athlon_*)
- + basic_machine=i686-pc
- + ;;
- + pentiumii | pentium2 | pentiumiii | pentium3)
- basic_machine=i686-pc
- ;;
- - pentiumii | pentium2)
- + pentium4)
- basic_machine=i786-pc
- ;;
- - pentium-* | p5-* | k5-* | k6-* | nexen-*)
- + pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*)
- basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'`
- ;;
- - pentiumpro-* | p6-* | 6x86-*)
- + pentiumpro-* | p6-* | 6x86-* | athlon-*)
- basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
- ;;
- - pentiumii-* | pentium2-*)
- + pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*)
- + basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
- + ;;
- + pentium4-*)
- basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'`
- ;;
- pn)
- basic_machine=pn-gould
- ;;
- - power) basic_machine=rs6000-ibm
- + power) basic_machine=power-ibm
- ;;
- ppc) basic_machine=powerpc-unknown
- - ;;
- + ;;
- ppc-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
- ;;
- ppcle | powerpclittle | ppc-le | powerpc-little)
- basic_machine=powerpcle-unknown
- - ;;
- + ;;
- ppcle-* | powerpclittle-*)
- basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'`
- ;;
- + ppc64) basic_machine=powerpc64-unknown
- + ;;
- + ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'`
- + ;;
- + ppc64le | powerpc64little | ppc64-le | powerpc64-little)
- + basic_machine=powerpc64le-unknown
- + ;;
- + ppc64le-* | powerpc64little-*)
- + basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'`
- + ;;
- ps2)
- basic_machine=i386-ibm
- ;;
- + pw32)
- + basic_machine=i586-unknown
- + os=-pw32
- + ;;
- + rdos)
- + basic_machine=i386-pc
- + os=-rdos
- + ;;
- rom68k)
- basic_machine=m68k-rom68k
- os=-coff
- @@ -654,10 +894,30 @@
- rtpc | rtpc-*)
- basic_machine=romp-ibm
- ;;
- + s390 | s390-*)
- + basic_machine=s390-ibm
- + ;;
- + s390x | s390x-*)
- + basic_machine=s390x-ibm
- + ;;
- sa29200)
- basic_machine=a29k-amd
- os=-udi
- ;;
- + sb1)
- + basic_machine=mipsisa64sb1-unknown
- + ;;
- + sb1el)
- + basic_machine=mipsisa64sb1el-unknown
- + ;;
- + sde)
- + basic_machine=mipsisa32-sde
- + os=-elf
- + ;;
- + sei)
- + basic_machine=mips-sei
- + os=-seiux
- + ;;
- sequent)
- basic_machine=i386-sequent
- ;;
- @@ -665,7 +925,10 @@
- basic_machine=sh-hitachi
- os=-hms
- ;;
- - sparclite-wrs)
- + sh64)
- + basic_machine=sh64-unknown
- + ;;
- + sparclite-wrs | simso-wrs)
- basic_machine=sparclite-wrs
- os=-vxworks
- ;;
- @@ -723,23 +986,51 @@
- sun386 | sun386i | roadrunner)
- basic_machine=i386-sun
- ;;
- + sv1)
- + basic_machine=sv1-cray
- + os=-unicos
- + ;;
- symmetry)
- basic_machine=i386-sequent
- os=-dynix
- ;;
- t3e)
- - basic_machine=t3e-cray
- + basic_machine=alphaev5-cray
- + os=-unicos
- + ;;
- + t90)
- + basic_machine=t90-cray
- os=-unicos
- ;;
- + tic54x | c54x*)
- + basic_machine=tic54x-unknown
- + os=-coff
- + ;;
- + tic55x | c55x*)
- + basic_machine=tic55x-unknown
- + os=-coff
- + ;;
- + tic6x | c6x*)
- + basic_machine=tic6x-unknown
- + os=-coff
- + ;;
- tx39)
- basic_machine=mipstx39-unknown
- ;;
- tx39el)
- basic_machine=mipstx39el-unknown
- ;;
- + toad1)
- + basic_machine=pdp10-xkl
- + os=-tops20
- + ;;
- tower | tower-32)
- basic_machine=m68k-ncr
- ;;
- + tpf)
- + basic_machine=s390x-ibm
- + os=-tpf
- + ;;
- udi29k)
- basic_machine=a29k-amd
- os=-udi
- @@ -761,8 +1052,8 @@
- os=-vms
- ;;
- vpp*|vx|vx-*)
- - basic_machine=f301-fujitsu
- - ;;
- + basic_machine=f301-fujitsu
- + ;;
- vxworks960)
- basic_machine=i960-wrs
- os=-vxworks
- @@ -783,13 +1074,17 @@
- basic_machine=hppa1.1-winbond
- os=-proelf
- ;;
- - xmp)
- - basic_machine=xmp-cray
- - os=-unicos
- + xbox)
- + basic_machine=i686-pc
- + os=-mingw32
- ;;
- - xps | xps100)
- + xps | xps100)
- basic_machine=xps100-honeywell
- ;;
- + ymp)
- + basic_machine=ymp-cray
- + os=-unicos
- + ;;
- z8k-*-coff)
- basic_machine=z8k-unknown
- os=-sim
- @@ -810,32 +1105,35 @@
- op60c)
- basic_machine=hppa1.1-oki
- ;;
- - mips)
- - if [ x$os = x-linux-gnu ]; then
- - basic_machine=mips-unknown
- - else
- - basic_machine=mips-mips
- - fi
- - ;;
- romp)
- basic_machine=romp-ibm
- ;;
- + mmix)
- + basic_machine=mmix-knuth
- + ;;
- rs6000)
- basic_machine=rs6000-ibm
- ;;
- vax)
- basic_machine=vax-dec
- ;;
- + pdp10)
- + # there are many clones, so DEC is not a safe bet
- + basic_machine=pdp10-unknown
- + ;;
- pdp11)
- basic_machine=pdp11-dec
- ;;
- we32k)
- basic_machine=we32k-att
- ;;
- - sparc | sparcv9)
- + sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele)
- + basic_machine=sh-unknown
- + ;;
- + sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v)
- basic_machine=sparc-sun
- ;;
- - cydra)
- + cydra)
- basic_machine=cydra-cydrome
- ;;
- orion)
- @@ -850,9 +1148,8 @@
- pmac | pmac-mpw)
- basic_machine=powerpc-apple
- ;;
- - c4x*)
- - basic_machine=c4x-none
- - os=-coff
- + *-unknown)
- + # Make sure to match an already-canonicalized machine name.
- ;;
- *)
- echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
- @@ -906,22 +1203,49 @@
- | -aos* \
- | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
- | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
- - | -hiux* | -386bsd* | -netbsd* | -openbsd* | -freebsd* | -riscix* \
- - | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
- + | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
- + | -openbsd* | -solidbsd* \
- + | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
- + | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
- | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
- | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
- + | -chorusos* | -chorusrdb* \
- | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
- - | -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \
- - | -interix* | -uwin* | -rhapsody* | -openstep* | -oskit*)
- + | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \
- + | -uxpv* | -beos* | -mpeix* | -udk* \
- + | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
- + | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
- + | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
- + | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
- + | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
- + | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
- + | -skyos* | -haiku* | -rdos* | -toppers*)
- # Remember, each alternative MUST END IN *, to match a version number.
- ;;
- + -qnx*)
- + case $basic_machine in
- + x86-* | i*86-*)
- + ;;
- + *)
- + os=-nto$os
- + ;;
- + esac
- + ;;
- + -nto-qnx*)
- + ;;
- + -nto*)
- + os=`echo $os | sed -e 's|nto|nto-qnx|'`
- + ;;
- -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
- - | -windows* | -osx | -abug | -netware* | -os9* | -beos* \
- - | -macos* | -mpw* | -magic* | -mon960* | -lnews*)
- + | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \
- + | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*)
- ;;
- -mac*)
- os=`echo $os | sed -e 's|mac|macos|'`
- ;;
- + -linux-dietlibc)
- + os=-linux-dietlibc
- + ;;
- -linux*)
- os=`echo $os | sed -e 's|linux|linux-gnu|'`
- ;;
- @@ -931,6 +1255,15 @@
- -sunos6*)
- os=`echo $os | sed -e 's|sunos6|solaris3|'`
- ;;
- + -opened*)
- + os=-openedition
- + ;;
- + -os400*)
- + os=-os400
- + ;;
- + -wince*)
- + os=-wince
- + ;;
- -osfrose*)
- os=-osfrose
- ;;
- @@ -946,14 +1279,26 @@
- -acis*)
- os=-aos
- ;;
- + -atheos*)
- + os=-atheos
- + ;;
- + -syllable*)
- + os=-syllable
- + ;;
- -386bsd)
- os=-bsd
- ;;
- -ctix* | -uts*)
- os=-sysv
- ;;
- + -nova*)
- + os=-rtmk-nova
- + ;;
- -ns2 )
- - os=-nextstep2
- + os=-nextstep2
- + ;;
- + -nsk*)
- + os=-nsk
- ;;
- # Preserve the version number of sinix5.
- -sinix5.*)
- @@ -962,6 +1307,9 @@
- -sinix*)
- os=-sysv4
- ;;
- + -tpf*)
- + os=-tpf
- + ;;
- -triton*)
- os=-sysv3
- ;;
- @@ -989,8 +1337,17 @@
- -xenix)
- os=-xenix
- ;;
- - -*mint | -*MiNT)
- - os=-mint
- + -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
- + os=-mint
- + ;;
- + -aros*)
- + os=-aros
- + ;;
- + -kaos*)
- + os=-kaos
- + ;;
- + -zvmoe)
- + os=-zvmoe
- ;;
- -none)
- ;;
- @@ -1014,16 +1371,29 @@
- # system, and we'll never get to this point.
-
- case $basic_machine in
- + score-*)
- + os=-elf
- + ;;
- + spu-*)
- + os=-elf
- + ;;
- *-acorn)
- os=-riscix1.2
- ;;
- - arm*-corel)
- + arm*-rebel)
- os=-linux
- ;;
- arm*-semi)
- os=-aout
- ;;
- - pdp11-*)
- + c4x-* | tic4x-*)
- + os=-coff
- + ;;
- + # This must come before the *-dec entry.
- + pdp10-*)
- + os=-tops20
- + ;;
- + pdp11-*)
- os=-none
- ;;
- *-dec | vax-*)
- @@ -1050,6 +1420,9 @@
- mips*-*)
- os=-elf
- ;;
- + or32-*)
- + os=-coff
- + ;;
- *-tti) # must be before sparc entry or we get the wrong os.
- os=-sysv3
- ;;
- @@ -1059,9 +1432,15 @@
- *-be)
- os=-beos
- ;;
- + *-haiku)
- + os=-haiku
- + ;;
- *-ibm)
- os=-aix
- ;;
- + *-knuth)
- + os=-mmixware
- + ;;
- *-wec)
- os=-proelf
- ;;
- @@ -1113,25 +1492,25 @@
- *-next)
- os=-nextstep3
- ;;
- - *-gould)
- + *-gould)
- os=-sysv
- ;;
- - *-highlevel)
- + *-highlevel)
- os=-bsd
- ;;
- *-encore)
- os=-bsd
- ;;
- - *-sgi)
- + *-sgi)
- os=-irix
- ;;
- - *-siemens)
- + *-siemens)
- os=-sysv4
- ;;
- *-masscomp)
- os=-rtu
- ;;
- - f301-fujitsu)
- + f30[01]-fujitsu | f700-fujitsu)
- os=-uxpv
- ;;
- *-rom68k)
- @@ -1191,13 +1570,19 @@
- -genix*)
- vendor=ns
- ;;
- - -mvs*)
- + -mvs* | -opened*)
- + vendor=ibm
- + ;;
- + -os400*)
- vendor=ibm
- ;;
- -ptx*)
- vendor=sequent
- ;;
- - -vxsim* | -vxworks*)
- + -tpf*)
- + vendor=ibm
- + ;;
- + -vxsim* | -vxworks* | -windiss*)
- vendor=wrs
- ;;
- -aux*)
- @@ -1209,12 +1594,23 @@
- -mpw* | -macos*)
- vendor=apple
- ;;
- - -*mint | -*MiNT)
- + -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
- vendor=atari
- ;;
- + -vos*)
- + vendor=stratus
- + ;;
- esac
- basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"`
- ;;
- esac
-
- echo $basic_machine$os
- +exit
- +
- +# Local variables:
- +# eval: (add-hook 'write-file-hooks 'time-stamp)
- +# time-stamp-start: "timestamp='"
- +# time-stamp-format: "%:y-%02m-%02d"
- +# time-stamp-end: "'"
- +# End:
- --- recode-3.6.orig/src/request.c
- +++ recode-3.6/src/request.c
- @@ -1073,7 +1073,7 @@
- if (task->output.cursor + 4 >= task->output.limit)
- {
- RECODE_OUTER outer = task->request->outer;
- - size_t old_size = task->output.limit - task->output.buffer;
- + size_t old_size = task->output.cursor - task->output.buffer;
- size_t new_size = task->output.cursor + 4 - task->output.buffer;
-
- /* FIXME: Rethink about how the error should be reported. */
- --- recode-3.6.orig/src/libiconv.c
- +++ recode-3.6/src/libiconv.c
- @@ -1,5 +1,5 @@
- /* Conversion of files between different charsets and surfaces.
- - Copyright © 1999, 2000 Free Software Foundation, Inc.
- + Copyright © 1999, 2000, 2001 Free Software Foundation, Inc.
- Contributed by François Pinard <pinard@iro.umontreal.ca>, 1999,
- and Bruno Haible <haible@clisp.cons.org>, 2000.
-
- @@ -195,12 +195,17 @@
- memcpy() doesn't do here, because the regions might overlap.
- memmove() isn't worth it, because we rarely have to move more
- than 12 bytes. */
- - if (input > input_buffer && input_left > 0)
- + cursor = input_buffer;
- + if (input_left > 0)
- {
- - cursor = input_buffer;
- - do
- - *cursor++ = *input++;
- - while (--input_left > 0);
- + if (input > input_buffer)
- + {
- + do
- + *cursor++ = *input++;
- + while (--input_left > 0);
- + }
- + else
- + cursor += input_left;
- }
- }
-
- --- recode-3.6.orig/src/recodext.h
- +++ recode-3.6/src/recodext.h
- @@ -218,7 +218,7 @@
- enum recode_symbol_type type : 3;
-
- /* Non zero if this one should be ignored. */
- - bool ignore : 2;
- + bool ignore : 1;
- };
-
- struct recode_surface_list
- --- recode-3.6.orig/src/task.c
- +++ recode-3.6/src/task.c
- @@ -1198,6 +1198,8 @@
- else
- success = transform_mere_copy (subtask);
-
- + task->output = subtask->output;
- +
- if (subtask->input.name && *subtask->input.name)
- fclose (subtask->input.file);
- if (subtask->output.name && *subtask->output.name)
- --- recode-3.6.orig/src/Makefile.in
- +++ recode-3.6/src/Makefile.in
- @@ -819,7 +819,7 @@
- $(srcdir)/recode.1: recode
- @if test -r $@ && test ! -w $@; then \
- echo "WARNING: Page \`$@' read only, not updated"; \
- - elif $(PERL) $(top_srcdir)/doc/help2man --output=$@ ./recode; then \
- + elif $(PERL) $(top_srcdir)/doc/help2man --name="converts files between character sets" --output=$@ ./recode; then \
- echo "Page \`$@' has been updated"; \
- else \
- echo "WARNING: Page \`$@' has *not* been updated."; \
- --- recode-3.6.orig/src/hash.h
- +++ recode-3.6/src/hash.h
- @@ -21,6 +21,11 @@
- /* Make sure USE_OBSTACK is defined to 1 if you want the allocator to use
- obstacks instead of malloc, and recompile `hash.c' with same setting. */
-
- +#define hash_lookup recode_hash_lookup
- +#define hash_delete recode_hash_delete
- +#define hash_free recode_hash_free
- +#define hash_insert recode_hash_insert
- +
- #ifndef PARAMS
- # if PROTOTYPES || __STDC__
- # define PARAMS(Args) Args
- --- recode-3.6.orig/acinclude.m4
- +++ recode-3.6/acinclude.m4
- @@ -1,5 +1,6 @@
- -## libtool.m4 - Configure libtool for the target system. -*-Shell-script-*-
- -## Copyright (C) 1996-1999 Free Software Foundation, Inc.
- +# libtool.m4 - Configure libtool for the host system. -*-Shell-script-*-
- +## Copyright 1996, 1997, 1998, 1999, 2000, 2001
- +## Free Software Foundation, Inc.
- ## Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
- ##
- ## This program is free software; you can redistribute it and/or modify
- @@ -21,134 +22,3028 @@
- ## configuration script generated by Autoconf, you may include it under
- ## the same distribution terms that you use for the rest of that program.
-
- -# serial 40 AC_PROG_LIBTOOL
- -AC_DEFUN(AC_PROG_LIBTOOL,
- +# serial 46 AC_PROG_LIBTOOL
- +# Debian $Rev: 50 $
- +
- +AC_DEFUN([AC_PROG_LIBTOOL],
- [AC_REQUIRE([AC_LIBTOOL_SETUP])dnl
-
- -# Save cache, so that ltconfig can load it
- -AC_CACHE_SAVE
- +# This can be used to rebuild libtool when needed
- +LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
- +
- +# Always use our own libtool.
- +LIBTOOL='$(SHELL) $(top_builddir)/libtool'
- +AC_SUBST(LIBTOOL)dnl
- +
- +# Prevent multiple expansion
- +define([AC_PROG_LIBTOOL], [])
- +])
- +
- +AC_DEFUN([AC_LIBTOOL_SETUP],
- +[AC_PREREQ(2.13)dnl
- +AC_REQUIRE([AC_ENABLE_SHARED])dnl
- +AC_REQUIRE([AC_ENABLE_STATIC])dnl
- +AC_REQUIRE([AC_ENABLE_FAST_INSTALL])dnl
- +AC_REQUIRE([AC_CANONICAL_HOST])dnl
- +AC_REQUIRE([AC_CANONICAL_BUILD])dnl
- +AC_REQUIRE([AC_PROG_CC])dnl
- +AC_REQUIRE([AC_PROG_LD])dnl
- +AC_REQUIRE([AC_PROG_LD_RELOAD_FLAG])dnl
- +AC_REQUIRE([AC_PROG_NM])dnl
- +AC_REQUIRE([LT_AC_PROG_SED])dnl
- +
- +AC_REQUIRE([AC_PROG_LN_S])dnl
- +AC_REQUIRE([AC_DEPLIBS_CHECK_METHOD])dnl
- +AC_REQUIRE([AC_OBJEXT])dnl
- +AC_REQUIRE([AC_EXEEXT])dnl
- +dnl
- +
- +_LT_AC_PROG_ECHO_BACKSLASH
- +# Only perform the check for file, if the check method requires it
- +case $deplibs_check_method in
- +file_magic*)
- + if test "$file_magic_cmd" = '$MAGIC_CMD'; then
- + AC_PATH_MAGIC
- + fi
- + ;;
- +esac
- +
- +AC_CHECK_TOOL(RANLIB, ranlib, :)
- +AC_CHECK_TOOL(STRIP, strip, :)
- +
- +ifdef([AC_PROVIDE_AC_LIBTOOL_DLOPEN], enable_dlopen=yes, enable_dlopen=no)
- +ifdef([AC_PROVIDE_AC_LIBTOOL_WIN32_DLL],
- +enable_win32_dll=yes, enable_win32_dll=no)
- +
- +AC_ARG_ENABLE(libtool-lock,
- + [ --disable-libtool-lock avoid locking (might break parallel builds)])
- +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
- +
- +# Some flags need to be propagated to the compiler or linker for good
- +# libtool support.
- +case $host in
- +*-*-irix6*)
- + # Find out which ABI we are using.
- + echo '[#]line __oline__ "configure"' > conftest.$ac_ext
- + if AC_TRY_EVAL(ac_compile); then
- + case `/usr/bin/file conftest.$ac_objext` in
- + *32-bit*)
- + LD="${LD-ld} -32"
- + ;;
- + *N32*)
- + LD="${LD-ld} -n32"
- + ;;
- + *64-bit*)
- + LD="${LD-ld} -64"
- + ;;
- + esac
- + fi
- + rm -rf conftest*
- + ;;
- +
- +*-*-sco3.2v5*)
- + # On SCO OpenServer 5, we need -belf to get full-featured binaries.
- + SAVE_CFLAGS="$CFLAGS"
- + CFLAGS="$CFLAGS -belf"
- + AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,
- + [AC_LANG_SAVE
- + AC_LANG_C
- + AC_TRY_LINK([],[],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])
- + AC_LANG_RESTORE])
- + if test x"$lt_cv_cc_needs_belf" != x"yes"; then
- + # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
- + CFLAGS="$SAVE_CFLAGS"
- + fi
- + ;;
- +
- +ifdef([AC_PROVIDE_AC_LIBTOOL_WIN32_DLL],
- +[*-*-cygwin* | *-*-mingw* | *-*-pw32*)
- + AC_CHECK_TOOL(DLLTOOL, dlltool, false)
- + AC_CHECK_TOOL(AS, as, false)
- + AC_CHECK_TOOL(OBJDUMP, objdump, false)
- +
- + # recent cygwin and mingw systems supply a stub DllMain which the user
- + # can override, but on older systems we have to supply one
- + AC_CACHE_CHECK([if libtool should supply DllMain function], lt_cv_need_dllmain,
- + [AC_TRY_LINK([],
- + [extern int __attribute__((__stdcall__)) DllMain(void*, int, void*);
- + DllMain (0, 0, 0);],
- + [lt_cv_need_dllmain=no],[lt_cv_need_dllmain=yes])])
- +
- + case $host/$CC in
- + *-*-cygwin*/gcc*-mno-cygwin*|*-*-mingw*)
- + # old mingw systems require "-dll" to link a DLL, while more recent ones
- + # require "-mdll"
- + SAVE_CFLAGS="$CFLAGS"
- + CFLAGS="$CFLAGS -mdll"
- + AC_CACHE_CHECK([how to link DLLs], lt_cv_cc_dll_switch,
- + [AC_TRY_LINK([], [], [lt_cv_cc_dll_switch=-mdll],[lt_cv_cc_dll_switch=-dll])])
- + CFLAGS="$SAVE_CFLAGS" ;;
- + *-*-cygwin* | *-*-pw32*)
- + # cygwin systems need to pass --dll to the linker, and not link
- + # crt.o which will require a WinMain@16 definition.
- + lt_cv_cc_dll_switch="-Wl,--dll -nostartfiles" ;;
- + esac
- + ;;
- + ])
- +esac
- +
- +_LT_AC_LTCONFIG_HACK
- +
- +])
- +
- +# AC_LIBTOOL_HEADER_ASSERT
- +# ------------------------
- +AC_DEFUN([AC_LIBTOOL_HEADER_ASSERT],
- +[AC_CACHE_CHECK([whether $CC supports assert without backlinking],
- + [lt_cv_func_assert_works],
- + [case $host in
- + *-*-solaris*)
- + if test "$GCC" = yes && test "$with_gnu_ld" != yes; then
- + case `$CC --version 2>/dev/null` in
- + [[12]].*) lt_cv_func_assert_works=no ;;
- + *) lt_cv_func_assert_works=yes ;;
- + esac
- + fi
- + ;;
- + esac])
- +
- +if test "x$lt_cv_func_assert_works" = xyes; then
- + AC_CHECK_HEADERS(assert.h)
- +fi
- +])# AC_LIBTOOL_HEADER_ASSERT
- +
- +# _LT_AC_CHECK_DLFCN
- +# --------------------
- +AC_DEFUN([_LT_AC_CHECK_DLFCN],
- +[AC_CHECK_HEADERS(dlfcn.h)
- +])# _LT_AC_CHECK_DLFCN
- +
- +# AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
- +# ---------------------------------
- +AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE],
- +[AC_REQUIRE([AC_CANONICAL_HOST])
- +AC_REQUIRE([AC_PROG_NM])
- +AC_REQUIRE([AC_OBJEXT])
- +# Check for command to grab the raw symbol name followed by C symbol from nm.
- +AC_MSG_CHECKING([command to parse $NM output])
- +AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe], [dnl
- +
- +# These are sane defaults that work on at least a few old systems.
- +# [They come from Ultrix. What could be older than Ultrix?!! ;)]
- +
- +# Character class describing NM global symbol codes.
- +symcode='[[BCDEGRST]]'
- +
- +# Regexp to match symbols that can be accessed directly from C.
- +sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)'
- +
- +# Transform the above into a raw symbol and a C symbol.
- +symxfrm='\1 \2\3 \3'
- +
- +# Transform an extracted symbol line into a proper C declaration
- +lt_cv_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern char \1;/p'"
- +
- +# Transform an extracted symbol line into symbol name and symbol address
- +lt_cv_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
- +
- +# Define system-specific variables.
- +case $host_os in
- +aix*)
- + symcode='[[BCDT]]'
- + ;;
- +cygwin* | mingw* | pw32*)
- + symcode='[[ABCDGISTW]]'
- + ;;
- +hpux*) # Its linker distinguishes data from code symbols
- + lt_cv_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern char \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
- + lt_cv_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
- + ;;
- +irix* | nonstopux*)
- + symcode='[[BCDEGRST]]'
- + ;;
- +osf*)
- + symcode='[[BCDEGQRST]]'
- + ;;
- +solaris* | sysv5*)
- + symcode='[[BDT]]'
- + ;;
- +sysv4)
- + symcode='[[DFNSTU]]'
- + ;;
- +esac
- +
- +# Handle CRLF in mingw tool chain
- +opt_cr=
- +case $host_os in
- +mingw*)
- + opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
- + ;;
- +esac
- +
- +# If we're using GNU nm, then use its standard symbol codes.
- +if $NM -V 2>&1 | egrep '(GNU|with BFD)' > /dev/null; then
- + symcode='[[ABCDGISTW]]'
- +fi
- +
- +# Try without a prefix undercore, then with it.
- +for ac_symprfx in "" "_"; do
- +
- + # Write the raw and C identifiers.
- +lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
- +
- + # Check to see that the pipe works correctly.
- + pipe_works=no
- + rm -f conftest*
- + cat > conftest.$ac_ext <<EOF
- +#ifdef __cplusplus
- +extern "C" {
- +#endif
- +char nm_test_var;
- +void nm_test_func(){}
- +#ifdef __cplusplus
- +}
- +#endif
- +int main(){nm_test_var='a';nm_test_func();return(0);}
- +EOF
- +
- + if AC_TRY_EVAL(ac_compile); then
- + # Now try to grab the symbols.
- + nlist=conftest.nm
- + if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) && test -s "$nlist"; then
- + # Try sorting and uniquifying the output.
- + if sort "$nlist" | uniq > "$nlist"T; then
- + mv -f "$nlist"T "$nlist"
- + else
- + rm -f "$nlist"T
- + fi
- +
- + # Make sure that we snagged all the symbols we need.
- + if egrep ' nm_test_var$' "$nlist" >/dev/null; then
- + if egrep ' nm_test_func$' "$nlist" >/dev/null; then
- + cat <<EOF > conftest.$ac_ext
- +#ifdef __cplusplus
- +extern "C" {
- +#endif
- +
- +EOF
- + # Now generate the symbol file.
- + eval "$lt_cv_global_symbol_to_cdecl"' < "$nlist" >> conftest.$ac_ext'
- +
- + cat <<EOF >> conftest.$ac_ext
- +#if defined (__STDC__) && __STDC__
- +# define lt_ptr void *
- +#else
- +# define lt_ptr char *
- +# define const
- +#endif
- +
- +/* The mapping between symbol names and symbols. */
- +const struct {
- + const char *name;
- + lt_ptr address;
- +}
- +lt_preloaded_symbols[[]] =
- +{
- +EOF
- + sed "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr) \&\2},/" < "$nlist" >> conftest.$ac_ext
- + cat <<\EOF >> conftest.$ac_ext
- + {0, (lt_ptr) 0}
- +};
- +
- +#ifdef __cplusplus
- +}
- +#endif
- +EOF
- + # Now try linking the two files.
- + mv conftest.$ac_objext conftstm.$ac_objext
- + save_LIBS="$LIBS"
- + save_CFLAGS="$CFLAGS"
- + LIBS="conftstm.$ac_objext"
- + CFLAGS="$CFLAGS$no_builtin_flag"
- + if AC_TRY_EVAL(ac_link) && test -s conftest$ac_exeext; then
- + pipe_works=yes
- + fi
- + LIBS="$save_LIBS"
- + CFLAGS="$save_CFLAGS"
- + else
- + echo "cannot find nm_test_func in $nlist" >&AC_FD_CC
- + fi
- + else
- + echo "cannot find nm_test_var in $nlist" >&AC_FD_CC
- + fi
- + else
- + echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AC_FD_CC
- + fi
- + else
- + echo "$progname: failed program was:" >&AC_FD_CC
- + cat conftest.$ac_ext >&5
- + fi
- + rm -f conftest* conftst*
- +
- + # Do not use the global_symbol_pipe unless it works.
- + if test "$pipe_works" = yes; then
- + break
- + else
- + lt_cv_sys_global_symbol_pipe=
- + fi
- +done
- +])
- +global_symbol_pipe="$lt_cv_sys_global_symbol_pipe"
- +if test -z "$lt_cv_sys_global_symbol_pipe"; then
- + global_symbol_to_cdecl=
- + global_symbol_to_c_name_address=
- +else
- + global_symbol_to_cdecl="$lt_cv_global_symbol_to_cdecl"
- + global_symbol_to_c_name_address="$lt_cv_global_symbol_to_c_name_address"
- +fi
- +if test -z "$global_symbol_pipe$global_symbol_to_cdec$global_symbol_to_c_name_address";
- +then
- + AC_MSG_RESULT(failed)
- +else
- + AC_MSG_RESULT(ok)
- +fi
- +]) # AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
- +
- +# _LT_AC_LIBTOOL_SYS_PATH_SEPARATOR
- +# ---------------------------------
- +AC_DEFUN([_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR],
- +[# Find the correct PATH separator. Usually this is `:', but
- +# DJGPP uses `;' like DOS.
- +if test "X${PATH_SEPARATOR+set}" != Xset; then
- + UNAME=${UNAME-`uname 2>/dev/null`}
- + case X$UNAME in
- + *-DOS) lt_cv_sys_path_separator=';' ;;
- + *) lt_cv_sys_path_separator=':' ;;
- + esac
- + PATH_SEPARATOR=$lt_cv_sys_path_separator
- +fi
- +])# _LT_AC_LIBTOOL_SYS_PATH_SEPARATOR
- +
- +# _LT_AC_PROG_ECHO_BACKSLASH
- +# --------------------------
- +# Add some code to the start of the generated configure script which
- +# will find an echo command which doesn't interpret backslashes.
- +AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH],
- +[ifdef([AC_DIVERSION_NOTICE], [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)],
- + [AC_DIVERT_PUSH(NOTICE)])
- +_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR
- +
- +# Check that we are running under the correct shell.
- +SHELL=${CONFIG_SHELL-/bin/sh}
- +
- +case X$ECHO in
- +X*--fallback-echo)
- + # Remove one level of quotation (which was required for Make).
- + ECHO=`echo "$ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','`
- + ;;
- +esac
- +
- +echo=${ECHO-echo}
- +if test "X[$]1" = X--no-reexec; then
- + # Discard the --no-reexec flag, and continue.
- + shift
- +elif test "X[$]1" = X--fallback-echo; then
- + # Avoid inline document here, it may be left over
- + :
- +elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then
- + # Yippee, $echo works!
- + :
- +else
- + # Restart under the correct shell.
- + exec $SHELL "[$]0" --no-reexec ${1+"[$]@"}
- +fi
- +
- +if test "X[$]1" = X--fallback-echo; then
- + # used as fallback echo
- + shift
- + cat <<EOF
- +$*
- +EOF
- + exit 0
- +fi
- +
- +# The HP-UX ksh and POSIX shell print the target directory to stdout
- +# if CDPATH is set.
- +if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
- +
- +if test -z "$ECHO"; then
- +if test "X${echo_test_string+set}" != Xset; then
- +# find a string as large as possible, as long as the shell can cope with it
- + for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do
- + # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
- + if (echo_test_string="`eval $cmd`") 2>/dev/null &&
- + echo_test_string="`eval $cmd`" &&
- + (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
- + then
- + break
- + fi
- + done
- +fi
- +
- +if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
- + echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
- + test "X$echo_testing_string" = "X$echo_test_string"; then
- + :
- +else
- + # The Solaris, AIX, and Digital Unix default echo programs unquote
- + # backslashes. This makes it impossible to quote backslashes using
- + # echo "$something" | sed 's/\\/\\\\/g'
- + #
- + # So, first we look for a working echo in the user's PATH.
- +
- + IFS="${IFS= }"; save_ifs="$IFS"; IFS=$PATH_SEPARATOR
- + for dir in $PATH /usr/ucb; do
- + if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
- + test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
- + echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
- + test "X$echo_testing_string" = "X$echo_test_string"; then
- + echo="$dir/echo"
- + break
- + fi
- + done
- + IFS="$save_ifs"
- +
- + if test "X$echo" = Xecho; then
- + # We didn't find a better echo, so look for alternatives.
- + if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
- + echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
- + test "X$echo_testing_string" = "X$echo_test_string"; then
- + # This shell has a builtin print -r that does the trick.
- + echo='print -r'
- + elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
- + test "X$CONFIG_SHELL" != X/bin/ksh; then
- + # If we have ksh, try running configure again with it.
- + ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
- + export ORIGINAL_CONFIG_SHELL
- + CONFIG_SHELL=/bin/ksh
- + export CONFIG_SHELL
- + exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"}
- + else
- + # Try using printf.
- + echo='printf %s\n'
- + if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
- + echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
- + test "X$echo_testing_string" = "X$echo_test_string"; then
- + # Cool, printf works
- + :
- + elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
- + test "X$echo_testing_string" = 'X\t' &&
- + echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
- + test "X$echo_testing_string" = "X$echo_test_string"; then
- + CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
- + export CONFIG_SHELL
- + SHELL="$CONFIG_SHELL"
- + export SHELL
- + echo="$CONFIG_SHELL [$]0 --fallback-echo"
- + elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
- + test "X$echo_testing_string" = 'X\t' &&
- + echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
- + test "X$echo_testing_string" = "X$echo_test_string"; then
- + echo="$CONFIG_SHELL [$]0 --fallback-echo"
- + else
- + # maybe with a smaller string...
- + prev=:
- +
- + for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do
- + if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
- + then
- + break
- + fi
- + prev="$cmd"
- + done
- +
- + if test "$prev" != 'sed 50q "[$]0"'; then
- + echo_test_string=`eval $prev`
- + export echo_test_string
- + exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"}
- + else
- + # Oops. We lost completely, so just stick with echo.
- + echo=echo
- + fi
- + fi
- + fi
- + fi
- +fi
- +fi
- +
- +# Copy echo and quote the copy suitably for passing to libtool from
- +# the Makefile, instead of quoting the original, which is used later.
- +ECHO=$echo
- +if test "X$ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then
- + ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo"
- +fi
- +
- +AC_SUBST(ECHO)
- +AC_DIVERT_POP
- +])# _LT_AC_PROG_ECHO_BACKSLASH
- +
- +# _LT_AC_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
- +# ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
- +# ------------------------------------------------------------------
- +AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF],
- +[if test "$cross_compiling" = yes; then :
- + [$4]
- +else
- + AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
- + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
- + lt_status=$lt_dlunknown
- + cat > conftest.$ac_ext <<EOF
- +[#line __oline__ "configure"
- +#include "confdefs.h"
- +
- +#if HAVE_DLFCN_H
- +#include <dlfcn.h>
- +#endif
- +
- +#include <stdio.h>
- +
- +#ifdef RTLD_GLOBAL
- +# define LT_DLGLOBAL RTLD_GLOBAL
- +#else
- +# ifdef DL_GLOBAL
- +# define LT_DLGLOBAL DL_GLOBAL
- +# else
- +# define LT_DLGLOBAL 0
- +# endif
- +#endif
- +
- +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
- + find out it does not work in some platform. */
- +#ifndef LT_DLLAZY_OR_NOW
- +# ifdef RTLD_LAZY
- +# define LT_DLLAZY_OR_NOW RTLD_LAZY
- +# else
- +# ifdef DL_LAZY
- +# define LT_DLLAZY_OR_NOW DL_LAZY
- +# else
- +# ifdef RTLD_NOW
- +# define LT_DLLAZY_OR_NOW RTLD_NOW
- +# else
- +# ifdef DL_NOW
- +# define LT_DLLAZY_OR_NOW DL_NOW
- +# else
- +# define LT_DLLAZY_OR_NOW 0
- +# endif
- +# endif
- +# endif
- +# endif
- +#endif
- +
- +#ifdef __cplusplus
- +extern "C" void exit (int);
- +#endif
- +
- +void fnord() { int i=42;}
- +int main ()
- +{
- + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
- + int status = $lt_dlunknown;
- +
- + if (self)
- + {
- + if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
- + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
- + /* dlclose (self); */
- + }
- +
- + exit (status);
- +}]
- +EOF
- + if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then
- + (./conftest; exit; ) 2>/dev/null
- + lt_status=$?
- + case x$lt_status in
- + x$lt_dlno_uscore) $1 ;;
- + x$lt_dlneed_uscore) $2 ;;
- + x$lt_unknown|x*) $3 ;;
- + esac
- + else :
- + # compilation failed
- + $3
- + fi
- +fi
- +rm -fr conftest*
- +])# _LT_AC_TRY_DLOPEN_SELF
- +
- +# AC_LIBTOOL_DLOPEN_SELF
- +# -------------------
- +AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF],
- +[if test "x$enable_dlopen" != xyes; then
- + enable_dlopen=unknown
- + enable_dlopen_self=unknown
- + enable_dlopen_self_static=unknown
- +else
- + lt_cv_dlopen=no
- + lt_cv_dlopen_libs=
- +
- + case $host_os in
- + beos*)
- + lt_cv_dlopen="load_add_on"
- + lt_cv_dlopen_libs=
- + lt_cv_dlopen_self=yes
- + ;;
- +
- + cygwin* | mingw* | pw32*)
- + lt_cv_dlopen="LoadLibrary"
- + lt_cv_dlopen_libs=
- + ;;
- +
- + *)
- + AC_CHECK_FUNC([shl_load],
- + [lt_cv_dlopen="shl_load"],
- + [AC_CHECK_LIB([dld], [shl_load],
- + [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"],
- + [AC_CHECK_FUNC([dlopen],
- + [lt_cv_dlopen="dlopen"],
- + [AC_CHECK_LIB([dl], [dlopen],
- + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
- + [AC_CHECK_LIB([svld], [dlopen],
- + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
- + [AC_CHECK_LIB([dld], [dld_link],
- + [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
- + ])
- + ])
- + ])
- + ])
- + ])
- + ;;
- + esac
- +
- + if test "x$lt_cv_dlopen" != xno; then
- + enable_dlopen=yes
- + else
- + enable_dlopen=no
- + fi
- +
- + case $lt_cv_dlopen in
- + dlopen)
- + save_CPPFLAGS="$CPPFLAGS"
- + AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
- + test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
- +
- + save_LDFLAGS="$LDFLAGS"
- + eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
- +
- + save_LIBS="$LIBS"
- + LIBS="$lt_cv_dlopen_libs $LIBS"
- +
- + AC_CACHE_CHECK([whether a program can dlopen itself],
- + lt_cv_dlopen_self, [dnl
- + _LT_AC_TRY_DLOPEN_SELF(
- + lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes,
- + lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross)
- + ])
- +
- + if test "x$lt_cv_dlopen_self" = xyes; then
- + LDFLAGS="$LDFLAGS $link_static_flag"
- + AC_CACHE_CHECK([whether a statically linked program can dlopen itself],
- + lt_cv_dlopen_self_static, [dnl
- + _LT_AC_TRY_DLOPEN_SELF(
- + lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes,
- + lt_cv_dlopen_self_static=no, lt_cv_dlopen_self_static=cross)
- + ])
- + fi
- +
- + CPPFLAGS="$save_CPPFLAGS"
- + LDFLAGS="$save_LDFLAGS"
- + LIBS="$save_LIBS"
- + ;;
- + esac
- +
- + case $lt_cv_dlopen_self in
- + yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
- + *) enable_dlopen_self=unknown ;;
- + esac
- +
- + case $lt_cv_dlopen_self_static in
- + yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
- + *) enable_dlopen_self_static=unknown ;;
- + esac
- +fi
- +])# AC_LIBTOOL_DLOPEN_SELF
- +
- +AC_DEFUN([_LT_AC_LTCONFIG_HACK],
- +[AC_REQUIRE([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE])dnl
- +# Sed substitution that helps us do robust quoting. It backslashifies
- +# metacharacters that are still active within double-quoted strings.
- +Xsed='sed -e s/^X//'
- +sed_quote_subst='s/\([[\\"\\`$\\\\]]\)/\\\1/g'
- +
- +# Same as above, but do not quote variable references.
- +double_quote_subst='s/\([[\\"\\`\\\\]]\)/\\\1/g'
- +
- +# Sed substitution to delay expansion of an escaped shell variable in a
- +# double_quote_subst'ed string.
- +delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
- +
- +# Constants:
- +rm="rm -f"
- +
- +# Global variables:
- +default_ofile=libtool
- +can_build_shared=yes
- +
- +# All known linkers require a `.a' archive for static linking (except M$VC,
- +# which needs '.lib').
- +libext=a
- +ltmain="$ac_aux_dir/ltmain.sh"
- +ofile="$default_ofile"
- +with_gnu_ld="$lt_cv_prog_gnu_ld"
- +need_locks="$enable_libtool_lock"
- +
- +old_CC="$CC"
- +old_CFLAGS="$CFLAGS"
- +
- +# Set sane defaults for various variables
- +test -z "$AR" && AR=ar
- +test -z "$AR_FLAGS" && AR_FLAGS=cru
- +test -z "$AS" && AS=as
- +test -z "$CC" && CC=cc
- +test -z "$DLLTOOL" && DLLTOOL=dlltool
- +test -z "$LD" && LD=ld
- +test -z "$LN_S" && LN_S="ln -s"
- +test -z "$MAGIC_CMD" && MAGIC_CMD=file
- +test -z "$NM" && NM=nm
- +test -z "$OBJDUMP" && OBJDUMP=objdump
- +test -z "$RANLIB" && RANLIB=:
- +test -z "$STRIP" && STRIP=:
- +test -z "$ac_objext" && ac_objext=o
- +
- +if test x"$host" != x"$build"; then
- + ac_tool_prefix=${host_alias}-
- +else
- + ac_tool_prefix=
- +fi
- +
- +# Transform linux* to *-*-linux-gnu*, to support old configure scripts.
- +case $host_os in
- +linux-gnu*) ;;
- +linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'`
- +esac
- +
- +case $host_os in
- +aix3*)
- + # AIX sometimes has problems with the GCC collect2 program. For some
- + # reason, if we set the COLLECT_NAMES environment variable, the problems
- + # vanish in a puff of smoke.
- + if test "X${COLLECT_NAMES+set}" != Xset; then
- + COLLECT_NAMES=
- + export COLLECT_NAMES
- + fi
- + ;;
- +esac
- +
- +# Determine commands to create old-style static archives.
- +old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
- +old_postinstall_cmds='chmod 644 $oldlib'
- +old_postuninstall_cmds=
- +
- +if test -n "$RANLIB"; then
- + case $host_os in
- + openbsd*)
- + old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
- + ;;
- + *)
- + old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
- + ;;
- + esac
- + old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
- +fi
- +
- +# Allow CC to be a program name with arguments.
- +set dummy $CC
- +compiler="[$]2"
- +
- +## FIXME: this should be a separate macro
- +##
- +AC_MSG_CHECKING([for objdir])
- +rm -f .libs 2>/dev/null
- +mkdir .libs 2>/dev/null
- +if test -d .libs; then
- + objdir=.libs
- +else
- + # MS-DOS does not allow filenames that begin with a dot.
- + objdir=_libs
- +fi
- +rmdir .libs 2>/dev/null
- +AC_MSG_RESULT($objdir)
- +##
- +## END FIXME
- +
- +
- +## FIXME: this should be a separate macro
- +##
- +AC_ARG_WITH(pic,
- +[ --with-pic try to use only PIC/non-PIC objects [default=use both]],
- +pic_mode="$withval", pic_mode=default)
- +test -z "$pic_mode" && pic_mode=default
- +
- +# We assume here that the value for lt_cv_prog_cc_pic will not be cached
- +# in isolation, and that seeing it set (from the cache) indicates that
- +# the associated values are set (in the cache) correctly too.
- +AC_MSG_CHECKING([for $compiler option to produce PIC])
- +AC_CACHE_VAL(lt_cv_prog_cc_pic,
- +[ lt_cv_prog_cc_pic=
- + lt_cv_prog_cc_shlib=
- + lt_cv_prog_cc_wl=
- + lt_cv_prog_cc_static=
- + lt_cv_prog_cc_no_builtin=
- + lt_cv_prog_cc_can_build_shared=$can_build_shared
- +
- + if test "$GCC" = yes; then
- + lt_cv_prog_cc_wl='-Wl,'
- + lt_cv_prog_cc_static='-static'
- +
- + case $host_os in
- + aix*)
- + # Below there is a dirty hack to force normal static linking with -ldl
- + # The problem is because libdl dynamically linked with both libc and
- + # libC (AIX C++ library), which obviously doesn't included in libraries
- + # list by gcc. This cause undefined symbols with -static flags.
- + # This hack allows C programs to be linked with "-static -ldl", but
- + # not sure about C++ programs.
- + lt_cv_prog_cc_static="$lt_cv_prog_cc_static ${lt_cv_prog_cc_wl}-lC"
- + ;;
- + amigaos*)
- + # FIXME: we need at least 68020 code to build shared libraries, but
- + # adding the `-m68020' flag to GCC prevents building anything better,
- + # like `-m68040'.
- + lt_cv_prog_cc_pic='-m68020 -resident32 -malways-restore-a4'
- + ;;
- + beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
- + # PIC is the default for these OSes.
- + ;;
- + darwin* | rhapsody*)
- + # PIC is the default on this platform
- + # Common symbols not allowed in MH_DYLIB files
- + lt_cv_prog_cc_pic='-fno-common'
- + ;;
- + cygwin* | mingw* | pw32* | os2*)
- + # This hack is so that the source file can tell whether it is being
- + # built for inclusion in a dll (and should export symbols for example).
- + lt_cv_prog_cc_pic='-DDLL_EXPORT'
- + ;;
- + sysv4*MP*)
- + if test -d /usr/nec; then
- + lt_cv_prog_cc_pic=-Kconform_pic
- + fi
- + ;;
- + *)
- + lt_cv_prog_cc_pic='-fPIC'
- + ;;
- + esac
- + else
- + # PORTME Check for PIC flags for the system compiler.
- + case $host_os in
- + aix3* | aix4* | aix5*)
- + lt_cv_prog_cc_wl='-Wl,'
- + # All AIX code is PIC.
- + if test "$host_cpu" = ia64; then
- + # AIX 5 now supports IA64 processor
- + lt_cv_prog_cc_static='-Bstatic'
- + else
- + lt_cv_prog_cc_static='-bnso -bI:/lib/syscalls.exp'
- + fi
- + ;;
- +
- + hpux9* | hpux10* | hpux11*)
- + # Is there a better lt_cv_prog_cc_static that works with the bundled CC?
- + lt_cv_prog_cc_wl='-Wl,'
- + lt_cv_prog_cc_static="${lt_cv_prog_cc_wl}-a ${lt_cv_prog_cc_wl}archive"
- + lt_cv_prog_cc_pic='+Z'
- + ;;
- +
- + irix5* | irix6* | nonstopux*)
- + lt_cv_prog_cc_wl='-Wl,'
- + lt_cv_prog_cc_static='-non_shared'
- + # PIC (with -KPIC) is the default.
- + ;;
- +
- + cygwin* | mingw* | pw32* | os2*)
- + # This hack is so that the source file can tell whether it is being
- + # built for inclusion in a dll (and should export symbols for example).
- + lt_cv_prog_cc_pic='-DDLL_EXPORT'
- + ;;
- +
- + newsos6)
- + lt_cv_prog_cc_pic='-KPIC'
- + lt_cv_prog_cc_static='-Bstatic'
- + ;;
- +
- + osf3* | osf4* | osf5*)
- + # All OSF/1 code is PIC.
- + lt_cv_prog_cc_wl='-Wl,'
- + lt_cv_prog_cc_static='-non_shared'
- + ;;
- +
- + sco3.2v5*)
- + lt_cv_prog_cc_pic='-Kpic'
- + lt_cv_prog_cc_static='-dn'
- + lt_cv_prog_cc_shlib='-belf'
- + ;;
- +
- + solaris*)
- + lt_cv_prog_cc_pic='-KPIC'
- + lt_cv_prog_cc_static='-Bstatic'
- + lt_cv_prog_cc_wl='-Wl,'
- + ;;
- +
- + sunos4*)
- + lt_cv_prog_cc_pic='-PIC'
- + lt_cv_prog_cc_static='-Bstatic'
- + lt_cv_prog_cc_wl='-Qoption ld '
- + ;;
- +
- + sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
- + lt_cv_prog_cc_pic='-KPIC'
- + lt_cv_prog_cc_static='-Bstatic'
- + lt_cv_prog_cc_wl='-Wl,'
- + ;;
- +
- + uts4*)
- + lt_cv_prog_cc_pic='-pic'
- + lt_cv_prog_cc_static='-Bstatic'
- + ;;
- +
- + sysv4*MP*)
- + if test -d /usr/nec ;then
- + lt_cv_prog_cc_pic='-Kconform_pic'
- + lt_cv_prog_cc_static='-Bstatic'
- + fi
- + ;;
- +
- + *)
- + lt_cv_prog_cc_can_build_shared=no
- + ;;
- + esac
- + fi
- +])
- +if test -z "$lt_cv_prog_cc_pic"; then
- + AC_MSG_RESULT([none])
- +else
- + AC_MSG_RESULT([$lt_cv_prog_cc_pic])
- +
- + # Check to make sure the pic_flag actually works.
- + AC_MSG_CHECKING([if $compiler PIC flag $lt_cv_prog_cc_pic works])
- + AC_CACHE_VAL(lt_cv_prog_cc_pic_works, [dnl
- + save_CFLAGS="$CFLAGS"
- + CFLAGS="$CFLAGS $lt_cv_prog_cc_pic -DPIC"
- + AC_TRY_COMPILE([], [], [dnl
- + case $host_os in
- + hpux9* | hpux10* | hpux11*)
- + # On HP-UX, both CC and GCC only warn that PIC is supported... then
- + # they create non-PIC objects. So, if there were any warnings, we
- + # assume that PIC is not supported.
- + if test -s conftest.err; then
- + lt_cv_prog_cc_pic_works=no
- + else
- + lt_cv_prog_cc_pic_works=yes
- + fi
- + ;;
- + *)
- + lt_cv_prog_cc_pic_works=yes
- + ;;
- + esac
- + ], [dnl
- + lt_cv_prog_cc_pic_works=no
- + ])
- + CFLAGS="$save_CFLAGS"
- + ])
- +
- + if test "X$lt_cv_prog_cc_pic_works" = Xno; then
- + lt_cv_prog_cc_pic=
- + lt_cv_prog_cc_can_build_shared=no
- + else
- + lt_cv_prog_cc_pic=" $lt_cv_prog_cc_pic"
- + fi
- +
- + AC_MSG_RESULT([$lt_cv_prog_cc_pic_works])
- +fi
- +##
- +## END FIXME
- +
- +# Check for any special shared library compilation flags.
- +if test -n "$lt_cv_prog_cc_shlib"; then
- + AC_MSG_WARN([\`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries])
- + if echo "$old_CC $old_CFLAGS " | egrep -e "[[ ]]$lt_cv_prog_cc_shlib[[ ]]" >/dev/null; then :
- + else
- + AC_MSG_WARN([add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure])
- + lt_cv_prog_cc_can_build_shared=no
- + fi
- +fi
- +
- +## FIXME: this should be a separate macro
- +##
- +AC_MSG_CHECKING([if $compiler static flag $lt_cv_prog_cc_static works])
- +AC_CACHE_VAL([lt_cv_prog_cc_static_works], [dnl
- + lt_cv_prog_cc_static_works=no
- + save_LDFLAGS="$LDFLAGS"
- + LDFLAGS="$LDFLAGS $lt_cv_prog_cc_static"
- + AC_TRY_LINK([], [], [lt_cv_prog_cc_static_works=yes])
- + LDFLAGS="$save_LDFLAGS"
- +])
- +
- +# Belt *and* braces to stop my trousers falling down:
- +test "X$lt_cv_prog_cc_static_works" = Xno && lt_cv_prog_cc_static=
- +AC_MSG_RESULT([$lt_cv_prog_cc_static_works])
- +
- +pic_flag="$lt_cv_prog_cc_pic"
- +special_shlib_compile_flags="$lt_cv_prog_cc_shlib"
- +wl="$lt_cv_prog_cc_wl"
- +link_static_flag="$lt_cv_prog_cc_static"
- +no_builtin_flag="$lt_cv_prog_cc_no_builtin"
- +can_build_shared="$lt_cv_prog_cc_can_build_shared"
- +##
- +## END FIXME
- +
- +
- +## FIXME: this should be a separate macro
- +##
- +# Check to see if options -o and -c are simultaneously supported by compiler
- +AC_MSG_CHECKING([if $compiler supports -c -o file.$ac_objext])
- +AC_CACHE_VAL([lt_cv_compiler_c_o], [
- +$rm -r conftest 2>/dev/null
- +mkdir conftest
- +cd conftest
- +echo "int some_variable = 0;" > conftest.$ac_ext
- +mkdir out
- +# According to Tom Tromey, Ian Lance Taylor reported there are C compilers
- +# that will create temporary files in the current directory regardless of
- +# the output directory. Thus, making CWD read-only will cause this test
- +# to fail, enabling locking or at least warning the user not to do parallel
- +# builds.
- +chmod -w .
- +save_CFLAGS="$CFLAGS"
- +CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"
- +compiler_c_o=no
- +if { (eval echo configure:__oline__: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
- + # The compiler can only warn and ignore the option if not recognized
- + # So say no if there are warnings
- + if test -s out/conftest.err; then
- + lt_cv_compiler_c_o=no
- + else
- + lt_cv_compiler_c_o=yes
- + fi
- +else
- + # Append any errors to the config.log.
- + cat out/conftest.err 1>&AC_FD_CC
- + lt_cv_compiler_c_o=no
- +fi
- +CFLAGS="$save_CFLAGS"
- +chmod u+w .
- +$rm conftest* out/*
- +rmdir out
- +cd ..
- +rmdir conftest
- +$rm -r conftest 2>/dev/null
- +])
- +compiler_c_o=$lt_cv_compiler_c_o
- +AC_MSG_RESULT([$compiler_c_o])
- +
- +if test x"$compiler_c_o" = x"yes"; then
- + # Check to see if we can write to a .lo
- + AC_MSG_CHECKING([if $compiler supports -c -o file.lo])
- + AC_CACHE_VAL([lt_cv_compiler_o_lo], [
- + lt_cv_compiler_o_lo=no
- + save_CFLAGS="$CFLAGS"
- + CFLAGS="$CFLAGS -c -o conftest.lo"
- + save_objext="$ac_objext"
- + ac_objext=lo
- + AC_TRY_COMPILE([], [int some_variable = 0;], [dnl
- + # The compiler can only warn and ignore the option if not recognized
- + # So say no if there are warnings
- + if test -s conftest.err; then
- + lt_cv_compiler_o_lo=no
- + else
- + lt_cv_compiler_o_lo=yes
- + fi
- + ])
- + ac_objext="$save_objext"
- + CFLAGS="$save_CFLAGS"
- + ])
- + compiler_o_lo=$lt_cv_compiler_o_lo
- + AC_MSG_RESULT([$compiler_o_lo])
- +else
- + compiler_o_lo=no
- +fi
- +##
- +## END FIXME
- +
- +## FIXME: this should be a separate macro
- +##
- +# Check to see if we can do hard links to lock some files if needed
- +hard_links="nottested"
- +if test "$compiler_c_o" = no && test "$need_locks" != no; then
- + # do not overwrite the value of need_locks provided by the user
- + AC_MSG_CHECKING([if we can lock with hard links])
- + hard_links=yes
- + $rm conftest*
- + ln conftest.a conftest.b 2>/dev/null && hard_links=no
- + touch conftest.a
- + ln conftest.a conftest.b 2>&5 || hard_links=no
- + ln conftest.a conftest.b 2>/dev/null && hard_links=no
- + AC_MSG_RESULT([$hard_links])
- + if test "$hard_links" = no; then
- + AC_MSG_WARN([\`$CC' does not support \`-c -o', so \`make -j' may be unsafe])
- + need_locks=warn
- + fi
- +else
- + need_locks=no
- +fi
- +##
- +## END FIXME
- +
- +## FIXME: this should be a separate macro
- +##
- +if test "$GCC" = yes; then
- + # Check to see if options -fno-rtti -fno-exceptions are supported by compiler
- + AC_MSG_CHECKING([if $compiler supports -fno-rtti -fno-exceptions])
- + echo "int some_variable = 0;" > conftest.$ac_ext
- + save_CFLAGS="$CFLAGS"
- + CFLAGS="$CFLAGS -fno-rtti -fno-exceptions -c conftest.$ac_ext"
- + compiler_rtti_exceptions=no
- + AC_TRY_COMPILE([], [int some_variable = 0;], [dnl
- + # The compiler can only warn and ignore the option if not recognized
- + # So say no if there are warnings
- + if test -s conftest.err; then
- + compiler_rtti_exceptions=no
- + else
- + compiler_rtti_exceptions=yes
- + fi
- + ])
- + CFLAGS="$save_CFLAGS"
- + AC_MSG_RESULT([$compiler_rtti_exceptions])
- +
- + if test "$compiler_rtti_exceptions" = "yes"; then
- + no_builtin_flag=' -fno-builtin -fno-rtti -fno-exceptions'
- + else
- + no_builtin_flag=' -fno-builtin'
- + fi
- +fi
- +##
- +## END FIXME
- +
- +## FIXME: this should be a separate macro
- +##
- +# See if the linker supports building shared libraries.
- +AC_MSG_CHECKING([whether the linker ($LD) supports shared libraries])
- +
- +allow_undefined_flag=
- +no_undefined_flag=
- +need_lib_prefix=unknown
- +need_version=unknown
- +# when you set need_version to no, make sure it does not cause -set_version
- +# flags to be left without arguments
- +archive_cmds=
- +archive_expsym_cmds=
- +old_archive_from_new_cmds=
- +old_archive_from_expsyms_cmds=
- +export_dynamic_flag_spec=
- +whole_archive_flag_spec=
- +thread_safe_flag_spec=
- +hardcode_into_libs=no
- +hardcode_libdir_flag_spec=
- +hardcode_libdir_separator=
- +hardcode_direct=no
- +hardcode_minus_L=no
- +hardcode_shlibpath_var=unsupported
- +runpath_var=
- +link_all_deplibs=unknown
- +always_export_symbols=no
- +export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | sed '\''s/.* //'\'' | sort | uniq > $export_symbols'
- +# include_expsyms should be a list of space-separated symbols to be *always*
- +# included in the symbol list
- +include_expsyms=
- +# exclude_expsyms can be an egrep regular expression of symbols to exclude
- +# it will be wrapped by ` (' and `)$', so one must not match beginning or
- +# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
- +# as well as any symbol that contains `d'.
- +exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
- +# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
- +# platforms (ab)use it in PIC code, but their linkers get confused if
- +# the symbol is explicitly referenced. Since portable code cannot
- +# rely on this symbol name, it's probably fine to never include it in
- +# preloaded symbol tables.
- +extract_expsyms_cmds=
- +
- +case $host_os in
- +cygwin* | mingw* | pw32*)
- + # FIXME: the MSVC++ port hasn't been tested in a loooong time
- + # When not using gcc, we currently assume that we are using
- + # Microsoft Visual C++.
- + if test "$GCC" != yes; then
- + with_gnu_ld=no
- + fi
- + ;;
- +openbsd*)
- + with_gnu_ld=no
- + ;;
- +esac
- +
- +ld_shlibs=yes
- +if test "$with_gnu_ld" = yes; then
- + # If archive_cmds runs LD, not CC, wlarc should be empty
- + wlarc='${wl}'
- +
- + # See if GNU ld supports shared libraries.
- + case $host_os in
- + aix3* | aix4* | aix5*)
- + # On AIX, the GNU linker is very broken
- + # Note:Check GNU linker on AIX 5-IA64 when/if it becomes available.
- + ld_shlibs=no
- + cat <<EOF 1>&2
- +
- +*** Warning: the GNU linker, at least up to release 2.9.1, is reported
- +*** to be unable to reliably create shared libraries on AIX.
- +*** Therefore, libtool is disabling shared libraries support. If you
- +*** really care for shared libraries, you may want to modify your PATH
- +*** so that a non-GNU linker is found, and then restart.
- +
- +EOF
- + ;;
- +
- + amigaos*)
- + archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
- + hardcode_libdir_flag_spec='-L$libdir'
- + hardcode_minus_L=yes
- +
- + # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
- + # that the semantics of dynamic libraries on AmigaOS, at least up
- + # to version 4, is to share data among multiple programs linked
- + # with the same dynamic library. Since this doesn't match the
- + # behavior of shared libraries on other platforms, we can use
- + # them.
- + ld_shlibs=no
- + ;;
- +
- + beos*)
- + if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
- + allow_undefined_flag=unsupported
- + # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
- + # support --undefined. This deserves some investigation. FIXME
- + archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
- + else
- + ld_shlibs=no
- + fi
- + ;;
- +
- + cygwin* | mingw* | pw32*)
- + # hardcode_libdir_flag_spec is actually meaningless, as there is
- + # no search path for DLLs.
- + hardcode_libdir_flag_spec='-L$libdir'
- + allow_undefined_flag=unsupported
- + always_export_symbols=yes
- +
- + extract_expsyms_cmds='test -f $output_objdir/impgen.c || \
- + sed -e "/^# \/\* impgen\.c starts here \*\//,/^# \/\* impgen.c ends here \*\// { s/^# //;s/^# *$//; p; }" -e d < $''0 > $output_objdir/impgen.c~
- + test -f $output_objdir/impgen.exe || (cd $output_objdir && \
- + if test "x$HOST_CC" != "x" ; then $HOST_CC -o impgen impgen.c ; \
- + else $CC -o impgen impgen.c ; fi)~
- + $output_objdir/impgen $dir/$soroot > $output_objdir/$soname-def'
- +
- + old_archive_from_expsyms_cmds='$DLLTOOL --as=$AS --dllname $soname --def $output_objdir/$soname-def --output-lib $output_objdir/$newlib'
- +
- + # cygwin and mingw dlls have different entry points and sets of symbols
- + # to exclude.
- + # FIXME: what about values for MSVC?
- + dll_entry=__cygwin_dll_entry@12
- + dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12~
- + case $host_os in
- + mingw*)
- + # mingw values
- + dll_entry=_DllMainCRTStartup@12
- + dll_exclude_symbols=DllMain@12,DllMainCRTStartup@12,DllEntryPoint@12~
- + ;;
- + esac
- +
- + # mingw and cygwin differ, and it's simplest to just exclude the union
- + # of the two symbol sets.
- + dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12,DllMainCRTStartup@12,DllEntryPoint@12
- +
- + # recent cygwin and mingw systems supply a stub DllMain which the user
- + # can override, but on older systems we have to supply one (in ltdll.c)
- + if test "x$lt_cv_need_dllmain" = "xyes"; then
- + ltdll_obj='$output_objdir/$soname-ltdll.'"$ac_objext "
- + ltdll_cmds='test -f $output_objdir/$soname-ltdll.c || sed -e "/^# \/\* ltdll\.c starts here \*\//,/^# \/\* ltdll.c ends here \*\// { s/^# //; p; }" -e d < $''0 > $output_objdir/$soname-ltdll.c~
- + test -f $output_objdir/$soname-ltdll.$ac_objext || (cd $output_objdir && $CC -c $soname-ltdll.c)~'
- + else
- + ltdll_obj=
- + ltdll_cmds=
- + fi
- +
- + # Extract the symbol export list from an `--export-all' def file,
- + # then regenerate the def file from the symbol export list, so that
- + # the compiled dll only exports the symbol export list.
- + # Be careful not to strip the DATA tag left be newer dlltools.
- + export_symbols_cmds="$ltdll_cmds"'
- + $DLLTOOL --export-all --exclude-symbols '$dll_exclude_symbols' --output-def $output_objdir/$soname-def '$ltdll_obj'$libobjs $convenience~
- + sed -e "1,/EXPORTS/d" -e "s/ @ [[0-9]]*//" -e "s/ *;.*$//" < $output_objdir/$soname-def > $export_symbols'
- +
- + # If the export-symbols file already is a .def file (1st line
- + # is EXPORTS), use it as is.
- + # If DATA tags from a recent dlltool are present, honour them!
- + archive_expsym_cmds='if test "x`sed 1q $export_symbols`" = xEXPORTS; then
- + cp $export_symbols $output_objdir/$soname-def;
- + else
- + echo EXPORTS > $output_objdir/$soname-def;
- + _lt_hint=1;
- + cat $export_symbols | while read symbol; do
- + set dummy \$symbol;
- + case \[$]# in
- + 2) echo " \[$]2 @ \$_lt_hint ; " >> $output_objdir/$soname-def;;
- + 4) echo " \[$]2 \[$]3 \[$]4 ; " >> $output_objdir/$soname-def; _lt_hint=`expr \$_lt_hint - 1`;;
- + *) echo " \[$]2 @ \$_lt_hint \[$]3 ; " >> $output_objdir/$soname-def;;
- + esac;
- + _lt_hint=`expr 1 + \$_lt_hint`;
- + done;
- + fi~
- + '"$ltdll_cmds"'
- + $CC -Wl,--base-file,$output_objdir/$soname-base '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~
- + $DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp~
- + $CC -Wl,--base-file,$output_objdir/$soname-base $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~
- + $DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp --output-lib $output_objdir/$libname.dll.a~
- + $CC $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags'
- + ;;
- +
- + netbsd*)
- + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
- + archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
- + wlarc=
- + else
- + archive_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
- + archive_expsym_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
- + fi
- + ;;
- +
- + solaris* | sysv5*)
- + if $LD -v 2>&1 | egrep 'BFD 2\.8' > /dev/null; then
- + ld_shlibs=no
- + cat <<EOF 1>&2
- +
- +*** Warning: The releases 2.8.* of the GNU linker cannot reliably
- +*** create shared libraries on Solaris systems. Therefore, libtool
- +*** is disabling shared libraries support. We urge you to upgrade GNU
- +*** binutils to release 2.9.1 or newer. Another option is to modify
- +*** your PATH or compiler configuration so that the native linker is
- +*** used, and then restart.
- +
- +EOF
- + elif $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
- + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
- + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
- + else
- + ld_shlibs=no
- + fi
- + ;;
- +
- + sunos4*)
- + archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
- + wlarc=
- + hardcode_direct=yes
- + hardcode_shlibpath_var=no
- + ;;
- +
- + *)
- + if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
- + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
- + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
- + else
- + ld_shlibs=no
- + fi
- + ;;
- + esac
- +
- + if test "$ld_shlibs" = yes; then
- + runpath_var=LD_RUN_PATH
- + hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
- + export_dynamic_flag_spec='${wl}--export-dynamic'
- + case $host_os in
- + cygwin* | mingw* | pw32*)
- + # dlltool doesn't understand --whole-archive et. al.
- + whole_archive_flag_spec=
- + ;;
- + *)
- + # ancient GNU ld didn't support --whole-archive et. al.
- + if $LD --help 2>&1 | egrep 'no-whole-archive' > /dev/null; then
- + whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
- + else
- + whole_archive_flag_spec=
- + fi
- + ;;
- + esac
- + fi
- +else
- + # PORTME fill in a description of your system's linker (not GNU ld)
- + case $host_os in
- + aix3*)
- + allow_undefined_flag=unsupported
- + always_export_symbols=yes
- + archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
- + # Note: this linker hardcodes the directories in LIBPATH if there
- + # are no directories specified by -L.
- + hardcode_minus_L=yes
- + if test "$GCC" = yes && test -z "$link_static_flag"; then
- + # Neither direct hardcoding nor static linking is supported with a
- + # broken collect2.
- + hardcode_direct=unsupported
- + fi
- + ;;
- +
- + aix4* | aix5*)
- + if test "$host_cpu" = ia64; then
- + # On IA64, the linker does run time linking by default, so we don't
- + # have to do anything special.
- + aix_use_runtimelinking=no
- + exp_sym_flag='-Bexport'
- + no_entry_flag=""
- + else
- + aix_use_runtimelinking=no
- +
- + # Test if we are trying to use run time linking or normal
- + # AIX style linking. If -brtl is somewhere in LDFLAGS, we
- + # need to do runtime linking.
- + case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*)
- + for ld_flag in $LDFLAGS; do
- + case $ld_flag in
- + *-brtl*)
- + aix_use_runtimelinking=yes
- + break
- + ;;
- + esac
- + done
- + esac
- +
- + exp_sym_flag='-bexport'
- + no_entry_flag='-bnoentry'
- + fi
- +
- + # When large executables or shared objects are built, AIX ld can
- + # have problems creating the table of contents. If linking a library
- + # or program results in "error TOC overflow" add -mminimal-toc to
- + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
- + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
- +
- + hardcode_direct=yes
- + archive_cmds=''
- + hardcode_libdir_separator=':'
- + if test "$GCC" = yes; then
- + case $host_os in aix4.[[012]]|aix4.[[012]].*)
- + collect2name=`${CC} -print-prog-name=collect2`
- + if test -f "$collect2name" && \
- + strings "$collect2name" | grep resolve_lib_name >/dev/null
- + then
- + # We have reworked collect2
- + hardcode_direct=yes
- + else
- + # We have old collect2
- + hardcode_direct=unsupported
- + # It fails to find uninstalled libraries when the uninstalled
- + # path is not listed in the libpath. Setting hardcode_minus_L
- + # to unsupported forces relinking
- + hardcode_minus_L=yes
- + hardcode_libdir_flag_spec='-L$libdir'
- + hardcode_libdir_separator=
- + fi
- + esac
- +
- + shared_flag='-shared'
- + else
- + # not using gcc
- + if test "$host_cpu" = ia64; then
- + shared_flag='${wl}-G'
- + else
- + if test "$aix_use_runtimelinking" = yes; then
- + shared_flag='${wl}-G'
- + else
- + shared_flag='${wl}-bM:SRE'
- + fi
- + fi
- + fi
- +
- + # It seems that -bexpall can do strange things, so it is better to
- + # generate a list of symbols to export.
- + always_export_symbols=yes
- + if test "$aix_use_runtimelinking" = yes; then
- + # Warning - without using the other runtime loading flags (-brtl),
- + # -berok will link without error, but may produce a broken library.
- + allow_undefined_flag='-berok'
- + hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:/usr/lib:/lib'
- + archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
- + else
- + if test "$host_cpu" = ia64; then
- + hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
- + allow_undefined_flag="-z nodefs"
- + archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname ${wl}-h$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
- + else
- + hardcode_libdir_flag_spec='${wl}-bnolibpath ${wl}-blibpath:$libdir:/usr/lib:/lib'
- + # Warning - without using the other run time loading flags,
- + # -berok will link without error, but may produce a broken library.
- + allow_undefined_flag='${wl}-berok'
- + # This is a bit strange, but is similar to how AIX traditionally builds
- + # it's shared libraries.
- + archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"' ~$AR -crlo $output_objdir/$libname$release.a $output_objdir/$soname'
- + fi
- + fi
- + ;;
- +
- + amigaos*)
- + archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
- + hardcode_libdir_flag_spec='-L$libdir'
- + hardcode_minus_L=yes
- + # see comment about different semantics on the GNU ld section
- + ld_shlibs=no
- + ;;
- +
- + cygwin* | mingw* | pw32*)
- + # When not using gcc, we currently assume that we are using
- + # Microsoft Visual C++.
- + # hardcode_libdir_flag_spec is actually meaningless, as there is
- + # no search path for DLLs.
- + hardcode_libdir_flag_spec=' '
- + allow_undefined_flag=unsupported
- + # Tell ltmain to make .lib files, not .a files.
- + libext=lib
- + # FIXME: Setting linknames here is a bad hack.
- + archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | sed -e '\''s/ -lc$//'\''` -link -dll~linknames='
- + # The linker will automatically build a .lib file if we build a DLL.
- + old_archive_from_new_cmds='true'
- + # FIXME: Should let the user specify the lib program.
- + old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
- + fix_srcfile_path='`cygpath -w "$srcfile"`'
- + ;;
- +
- + darwin* | rhapsody*)
- + case "$host_os" in
- + rhapsody* | darwin1.[[012]])
- + allow_undefined_flag='-undefined suppress'
- + ;;
- + *) # Darwin 1.3 on
- + allow_undefined_flag='-flat_namespace -undefined suppress'
- + ;;
- + esac
- + # FIXME: Relying on posixy $() will cause problems for
- + # cross-compilation, but unfortunately the echo tests do not
- + # yet detect zsh echo's removal of \ escapes. Also zsh mangles
- + # `"' quotes if we put them in here... so don't!
- + archive_cmds='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs && $CC $(test .$module = .yes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib ${lib}-master.o $deplibs$linker_flags $(test .$module != .yes && echo -install_name $rpath/$soname $verstring)'
- + # We need to add '_' to the symbols in $export_symbols first
- + #archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols'
- + hardcode_direct=yes
- + hardcode_shlibpath_var=no
- + whole_archive_flag_spec='-all_load $convenience'
- + ;;
- +
- + freebsd1*)
- + ld_shlibs=no
- + ;;
- +
- + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
- + # support. Future versions do this automatically, but an explicit c++rt0.o
- + # does not break anything, and helps significantly (at the cost of a little
- + # extra space).
- + freebsd2.2*)
- + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
- + hardcode_libdir_flag_spec='-R$libdir'
- + hardcode_direct=yes
- + hardcode_shlibpath_var=no
- + ;;
- +
- + # Unfortunately, older versions of FreeBSD 2 do not have this feature.
- + freebsd2*)
- + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
- + hardcode_direct=yes
- + hardcode_minus_L=yes
- + hardcode_shlibpath_var=no
- + ;;
- +
- + # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
- + freebsd*)
- + archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
- + hardcode_libdir_flag_spec='-R$libdir'
- + hardcode_direct=yes
- + hardcode_shlibpath_var=no
- + ;;
- +
- + hpux9* | hpux10* | hpux11*)
- + case $host_os in
- + hpux9*) archive_cmds='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' ;;
- + *) archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' ;;
- + esac
- + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
- + hardcode_libdir_separator=:
- + hardcode_direct=yes
- + hardcode_minus_L=yes # Not in the search PATH, but as the default
- + # location of the library.
- + export_dynamic_flag_spec='${wl}-E'
- + ;;
- +
- + irix5* | irix6* | nonstopux*)
- + if test "$GCC" = yes; then
- + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
- + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
- + else
- + archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
- + hardcode_libdir_flag_spec='-rpath $libdir'
- + fi
- + hardcode_libdir_separator=:
- + link_all_deplibs=yes
- + ;;
- +
- + netbsd*)
- + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
- + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
- + else
- + archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
- + fi
- + hardcode_libdir_flag_spec='-R$libdir'
- + hardcode_direct=yes
- + hardcode_shlibpath_var=no
- + ;;
- +
- + newsos6)
- + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
- + hardcode_direct=yes
- + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
- + hardcode_libdir_separator=:
- + hardcode_shlibpath_var=no
- + ;;
- +
- + openbsd*)
- + hardcode_direct=yes
- + hardcode_shlibpath_var=no
- + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
- + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
- + hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
- + export_dynamic_flag_spec='${wl}-E'
- + else
- + case "$host_os" in
- + openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*)
- + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
- + hardcode_libdir_flag_spec='-R$libdir'
- + ;;
- + *)
- + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
- + hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
- + ;;
- + esac
- + fi
- + ;;
- +
- + os2*)
- + hardcode_libdir_flag_spec='-L$libdir'
- + hardcode_minus_L=yes
- + allow_undefined_flag=unsupported
- + 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'
- + old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
- + ;;
- +
- + osf3*)
- + if test "$GCC" = yes; then
- + allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
- + archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
- + else
- + allow_undefined_flag=' -expect_unresolved \*'
- + archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
- + fi
- + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
- + hardcode_libdir_separator=:
- + ;;
- +
- + osf4* | osf5*) # as osf3* with the addition of -msym flag
- + if test "$GCC" = yes; then
- + allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
- + archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
- + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
- + else
- + allow_undefined_flag=' -expect_unresolved \*'
- + archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
- + archive_expsym_cmds='for i in `cat $export_symbols`; do printf "-exported_symbol " >> $lib.exp; echo "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
- + $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
- +
- + #Both c and cxx compiler support -rpath directly
- + hardcode_libdir_flag_spec='-rpath $libdir'
- + fi
- + hardcode_libdir_separator=:
- + ;;
- +
- + sco3.2v5*)
- + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
- + hardcode_shlibpath_var=no
- + runpath_var=LD_RUN_PATH
- + hardcode_runpath_var=yes
- + export_dynamic_flag_spec='${wl}-Bexport'
- + ;;
- +
- + solaris*)
- + # gcc --version < 3.0 without binutils cannot create self contained
- + # shared libraries reliably, requiring libgcc.a to resolve some of
- + # the object symbols generated in some cases. Libraries that use
- + # assert need libgcc.a to resolve __eprintf, for example. Linking
- + # a copy of libgcc.a into every shared library to guarantee resolving
- + # such symbols causes other problems: According to Tim Van Holder
- + # <tim.van.holder@pandora.be>, C++ libraries end up with a separate
- + # (to the application) exception stack for one thing.
- + no_undefined_flag=' -z defs'
- + if test "$GCC" = yes; then
- + case `$CC --version 2>/dev/null` in
- + [[12]].*)
- + cat <<EOF 1>&2
- +
- +*** Warning: Releases of GCC earlier than version 3.0 cannot reliably
- +*** create self contained shared libraries on Solaris systems, without
- +*** introducing a dependency on libgcc.a. Therefore, libtool is disabling
- +*** -no-undefined support, which will at least allow you to build shared
- +*** libraries. However, you may find that when you link such libraries
- +*** into an application without using GCC, you have to manually add
- +*** \`gcc --print-libgcc-file-name\` to the link command. We urge you to
- +*** upgrade to a newer version of GCC. Another option is to rebuild your
- +*** current GCC to use the GNU linker from GNU binutils 2.9.1 or newer.
- +
- +EOF
- + no_undefined_flag=
- + ;;
- + esac
- + fi
- + # $CC -shared without GNU ld will not create a library from C++
- + # object files and a static libstdc++, better avoid it by now
- + archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
- + archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
- + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
- + hardcode_libdir_flag_spec='-R$libdir'
- + hardcode_shlibpath_var=no
- + case $host_os in
- + solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
- + *) # Supported since Solaris 2.6 (maybe 2.5.1?)
- + whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
- + esac
- + link_all_deplibs=yes
- + ;;
- +
- + sunos4*)
- + if test "x$host_vendor" = xsequent; then
- + # Use $CC to link under sequent, because it throws in some extra .o
- + # files that make .init and .fini sections work.
- + archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
- + else
- + archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
- + fi
- + hardcode_libdir_flag_spec='-L$libdir'
- + hardcode_direct=yes
- + hardcode_minus_L=yes
- + hardcode_shlibpath_var=no
- + ;;
- +
- + sysv4)
- + case $host_vendor in
- + sni)
- + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
- + hardcode_direct=yes # is this really true???
- + ;;
- + siemens)
- + ## LD is ld it makes a PLAMLIB
- + ## CC just makes a GrossModule.
- + archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
- + reload_cmds='$CC -r -o $output$reload_objs'
- + hardcode_direct=no
- + ;;
- + motorola)
- + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
- + hardcode_direct=no #Motorola manual says yes, but my tests say they lie
- + ;;
- + esac
- + runpath_var='LD_RUN_PATH'
- + hardcode_shlibpath_var=no
- + ;;
- +
- + sysv4.3*)
- + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
- + hardcode_shlibpath_var=no
- + export_dynamic_flag_spec='-Bexport'
- + ;;
- +
- + sysv5*)
- + no_undefined_flag=' -z text'
- + # $CC -shared without GNU ld will not create a library from C++
- + # object files and a static libstdc++, better avoid it by now
- + archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
- + archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
- + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
- + hardcode_libdir_flag_spec=
- + hardcode_shlibpath_var=no
- + runpath_var='LD_RUN_PATH'
- + ;;
- +
- + uts4*)
- + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
- + hardcode_libdir_flag_spec='-L$libdir'
- + hardcode_shlibpath_var=no
- + ;;
- +
- + dgux*)
- + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
- + hardcode_libdir_flag_spec='-L$libdir'
- + hardcode_shlibpath_var=no
- + ;;
- +
- + sysv4*MP*)
- + if test -d /usr/nec; then
- + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
- + hardcode_shlibpath_var=no
- + runpath_var=LD_RUN_PATH
- + hardcode_runpath_var=yes
- + ld_shlibs=yes
- + fi
- + ;;
- +
- + sysv4.2uw2*)
- + archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
- + hardcode_direct=yes
- + hardcode_minus_L=no
- + hardcode_shlibpath_var=no
- + hardcode_runpath_var=yes
- + runpath_var=LD_RUN_PATH
- + ;;
- +
- + sysv5uw7* | unixware7*)
- + no_undefined_flag='${wl}-z ${wl}text'
- + if test "$GCC" = yes; then
- + archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
- + else
- + archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
- + fi
- + runpath_var='LD_RUN_PATH'
- + hardcode_shlibpath_var=no
- + ;;
- +
- + *)
- + ld_shlibs=no
- + ;;
- + esac
- +fi
- +AC_MSG_RESULT([$ld_shlibs])
- +test "$ld_shlibs" = no && can_build_shared=no
- +##
- +## END FIXME
- +
- +## FIXME: this should be a separate macro
- +##
- +# Check hardcoding attributes.
- +AC_MSG_CHECKING([how to hardcode library paths into programs])
- +hardcode_action=
- +if test -n "$hardcode_libdir_flag_spec" || \
- + test -n "$runpath_var"; then
- +
- + # We can hardcode non-existant directories.
- + if test "$hardcode_direct" != no &&
- + # If the only mechanism to avoid hardcoding is shlibpath_var, we
- + # have to relink, otherwise we might link with an installed library
- + # when we should be linking with a yet-to-be-installed one
- + ## test "$hardcode_shlibpath_var" != no &&
- + test "$hardcode_minus_L" != no; then
- + # Linking always hardcodes the temporary library directory.
- + hardcode_action=relink
- + else
- + # We can link without hardcoding, and we can hardcode nonexisting dirs.
- + hardcode_action=immediate
- + fi
- +else
- + # We cannot hardcode anything, or else we can only hardcode existing
- + # directories.
- + hardcode_action=unsupported
- +fi
- +AC_MSG_RESULT([$hardcode_action])
- +##
- +## END FIXME
- +
- +## FIXME: this should be a separate macro
- +##
- +striplib=
- +old_striplib=
- +AC_MSG_CHECKING([whether stripping libraries is possible])
- +if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
- + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
- + test -z "$striplib" && striplib="$STRIP --strip-unneeded"
- + AC_MSG_RESULT([yes])
- +else
- + AC_MSG_RESULT([no])
- +fi
- +##
- +## END FIXME
- +
- +reload_cmds='$LD$reload_flag -o $output$reload_objs'
- +test -z "$deplibs_check_method" && deplibs_check_method=unknown
- +
- +## FIXME: this should be a separate macro
- +##
- +# PORTME Fill in your ld.so characteristics
- +AC_MSG_CHECKING([dynamic linker characteristics])
- +library_names_spec=
- +libname_spec='lib$name'
- +soname_spec=
- +postinstall_cmds=
- +postuninstall_cmds=
- +finish_cmds=
- +finish_eval=
- +shlibpath_var=
- +shlibpath_overrides_runpath=unknown
- +version_type=none
- +dynamic_linker="$host_os ld.so"
- +sys_lib_dlsearch_path_spec="/lib /usr/lib"
- +sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
- +
- +case $host_os in
- +aix3*)
- + version_type=linux
- + library_names_spec='${libname}${release}.so$versuffix $libname.a'
- + shlibpath_var=LIBPATH
- +
- + # AIX has no versioning support, so we append a major version to the name.
- + soname_spec='${libname}${release}.so$major'
- + ;;
- +
- +aix4* | aix5*)
- + version_type=linux
- + need_lib_prefix=no
- + need_version=no
- + hardcode_into_libs=yes
- + if test "$host_cpu" = ia64; then
- + # AIX 5 supports IA64
- + library_names_spec='${libname}${release}.so$major ${libname}${release}.so$versuffix $libname.so'
- + shlibpath_var=LD_LIBRARY_PATH
- + else
- + # With GCC up to 2.95.x, collect2 would create an import file
- + # for dependence libraries. The import file would start with
- + # the line `#! .'. This would cause the generated library to
- + # depend on `.', always an invalid library. This was fixed in
- + # development snapshots of GCC prior to 3.0.
- + case $host_os in
- + aix4 | aix4.[[01]] | aix4.[[01]].*)
- + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
- + echo ' yes '
- + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
- + :
- + else
- + can_build_shared=no
- + fi
- + ;;
- + esac
- + # AIX (on Power*) has no versioning support, so currently we can
- + # not hardcode correct soname into executable. Probably we can
- + # add versioning support to collect2, so additional links can
- + # be useful in future.
- + if test "$aix_use_runtimelinking" = yes; then
- + # If using run time linking (on AIX 4.2 or later) use lib<name>.so
- + # instead of lib<name>.a to let people know that these are not
- + # typical AIX shared libraries.
- + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
- + else
- + # We preserve .a as extension for shared libraries through AIX4.2
- + # and later when we are not doing run time linking.
- + library_names_spec='${libname}${release}.a $libname.a'
- + soname_spec='${libname}${release}.so$major'
- + fi
- + shlibpath_var=LIBPATH
- + fi
- + hardcode_into_libs=yes
- + ;;
- +
- +amigaos*)
- + library_names_spec='$libname.ixlibrary $libname.a'
- + # Create ${libname}_ixlibrary.a entries in /sys/libs.
- + 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'
- + ;;
- +
- +beos*)
- + library_names_spec='${libname}.so'
- + dynamic_linker="$host_os ld.so"
- + shlibpath_var=LIBRARY_PATH
- + ;;
- +
- +bsdi4*)
- + version_type=linux
- + need_version=no
- + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
- + soname_spec='${libname}${release}.so$major'
- + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
- + shlibpath_var=LD_LIBRARY_PATH
- + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
- + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
- + export_dynamic_flag_spec=-rdynamic
- + # the default ld.so.conf also contains /usr/contrib/lib and
- + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
- + # libtool to hard-code these into programs
- + ;;
- +
- +cygwin* | mingw* | pw32*)
- + version_type=windows
- + need_version=no
- + need_lib_prefix=no
- + case $GCC,$host_os in
- + yes,cygwin*)
- + library_names_spec='$libname.dll.a'
- + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | sed -e 's/[[.]]/-/g'`${versuffix}.dll'
- + postinstall_cmds='dlpath=`bash 2>&1 -c '\''. $dir/${file}i;echo \$dlname'\''`~
- + dldir=$destdir/`dirname \$dlpath`~
- + test -d \$dldir || mkdir -p \$dldir~
- + $install_prog .libs/$dlname \$dldir/$dlname'
- + postuninstall_cmds='dldll=`bash 2>&1 -c '\''. $file; echo \$dlname'\''`~
- + dlpath=$dir/\$dldll~
- + $rm \$dlpath'
- + ;;
- + yes,mingw*)
- + library_names_spec='${libname}`echo ${release} | sed -e 's/[[.]]/-/g'`${versuffix}.dll'
- + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s/;/ /g" -e "s,=/,/,g"`
- + ;;
- + yes,pw32*)
- + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll'
- + ;;
- + *)
- + library_names_spec='${libname}`echo ${release} | sed -e 's/[[.]]/-/g'`${versuffix}.dll $libname.lib'
- + ;;
- + esac
- + dynamic_linker='Win32 ld.exe'
- + # FIXME: first we should search . and the directory the executable is in
- + shlibpath_var=PATH
- + ;;
- +
- +darwin* | rhapsody*)
- + dynamic_linker="$host_os dyld"
- + version_type=darwin
- + need_lib_prefix=no
- + need_version=no
- + # FIXME: Relying on posixy $() will cause problems for
- + # cross-compilation, but unfortunately the echo tests do not
- + # yet detect zsh echo's removal of \ escapes.
- + library_names_spec='${libname}${release}${versuffix}.$(test .$module = .yes && echo so || echo dylib) ${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib) ${libname}.$(test .$module = .yes && echo so || echo dylib)'
- + soname_spec='${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib)'
- + shlibpath_overrides_runpath=yes
- + shlibpath_var=DYLD_LIBRARY_PATH
- + ;;
- +
- +freebsd1*)
- + dynamic_linker=no
- + ;;
- +
- +kfreebsd*-gnu*)
- + version_type=linux
- + need_lib_prefix=no
- + need_version=no
- + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
- + soname_spec='${libname}${release}.so$major'
- + shlibpath_var=LD_LIBRARY_PATH
- + shlibpath_overrides_runpath=no
- + hardcode_into_libs=yes
- + dynamic_linker='GNU/FreeBSD ld.so'
- + ;;
- +
- +freebsd*)
- + objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
- + version_type=freebsd-$objformat
- + case $version_type in
- + freebsd-elf*)
- + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so'
- + need_version=no
- + need_lib_prefix=no
- + ;;
- + freebsd-*)
- + library_names_spec='${libname}${release}.so$versuffix $libname.so$versuffix'
- + need_version=yes
- + ;;
- + esac
- + shlibpath_var=LD_LIBRARY_PATH
- + case $host_os in
- + freebsd2*)
- + shlibpath_overrides_runpath=yes
- + ;;
- + *)
- + shlibpath_overrides_runpath=no
- + hardcode_into_libs=yes
- + ;;
- + esac
- + ;;
- +
- +gnu*)
- + version_type=linux
- + need_lib_prefix=no
- + need_version=no
- + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so${major} ${libname}.so'
- + soname_spec='${libname}${release}.so$major'
- + shlibpath_var=LD_LIBRARY_PATH
- + hardcode_into_libs=yes
- + ;;
- +
- +hpux9* | hpux10* | hpux11*)
- + # Give a soname corresponding to the major version so that dld.sl refuses to
- + # link against other versions.
- + dynamic_linker="$host_os dld.sl"
- + version_type=sunos
- + need_lib_prefix=no
- + need_version=no
- + shlibpath_var=SHLIB_PATH
- + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
- + library_names_spec='${libname}${release}.sl$versuffix ${libname}${release}.sl$major $libname.sl'
- + soname_spec='${libname}${release}.sl$major'
- + # HP-UX runs *really* slowly unless shared libraries are mode 555.
- + postinstall_cmds='chmod 555 $lib'
- + ;;
- +
- +irix5* | irix6* | nonstopux*)
- + case $host_os in
- + nonstopux*) version_type=nonstopux ;;
- + *) version_type=irix ;;
- + esac
- + need_lib_prefix=no
- + need_version=no
- + soname_spec='${libname}${release}.so$major'
- + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so $libname.so'
- + case $host_os in
- + irix5* | nonstopux*)
- + libsuff= shlibsuff=
- + ;;
- + *)
- + case $LD in # libtool.m4 will add one of these switches to LD
- + *-32|*"-32 ") libsuff= shlibsuff= libmagic=32-bit;;
- + *-n32|*"-n32 ") libsuff=32 shlibsuff=N32 libmagic=N32;;
- + *-64|*"-64 ") libsuff=64 shlibsuff=64 libmagic=64-bit;;
- + *) libsuff= shlibsuff= libmagic=never-match;;
- + esac
- + ;;
- + esac
- + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
- + shlibpath_overrides_runpath=no
- + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
- + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
- + ;;
- +
- +# No shared lib support for Linux oldld, aout, or coff.
- +linux-gnuoldld* | linux-gnuaout* | linux-gnucoff*)
- + dynamic_linker=no
- + ;;
- +
- +# This must be Linux ELF.
- +linux-gnu*)
- + version_type=linux
- + need_lib_prefix=no
- + need_version=no
- + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
- + soname_spec='${libname}${release}.so$major'
- + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
- + shlibpath_var=LD_LIBRARY_PATH
- + shlibpath_overrides_runpath=no
- + # This implies no fast_install, which is unacceptable.
- + # Some rework will be needed to allow for fast_install
- + # before this can be enabled.
- + hardcode_into_libs=yes
- +
- + # We used to test for /lib/ld.so.1 and disable shared libraries on
- + # powerpc, because MkLinux only supported shared libraries with the
- + # GNU dynamic linker. Since this was broken with cross compilers,
- + # most powerpc-linux boxes support dynamic linking these days and
- + # people can always --disable-shared, the test was removed, and we
- + # assume the GNU/Linux dynamic linker is in use.
- + dynamic_linker='GNU/Linux ld.so'
- + ;;
- +
- +netbsd*)
- + version_type=sunos
- + need_lib_prefix=no
- + need_version=no
- + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
- + library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
- + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
- + dynamic_linker='NetBSD (a.out) ld.so'
- + else
- + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so ${libname}.so'
- + soname_spec='${libname}${release}.so$major'
- + dynamic_linker='NetBSD ld.elf_so'
- + fi
- + shlibpath_var=LD_LIBRARY_PATH
- + shlibpath_overrides_runpath=yes
- + hardcode_into_libs=yes
- + ;;
- +
- +newsos6)
- + version_type=linux
- + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
- + shlibpath_var=LD_LIBRARY_PATH
- + shlibpath_overrides_runpath=yes
- + ;;
- +
- +openbsd*)
- + version_type=sunos
- + need_lib_prefix=no
- + need_version=no
- + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
- + case "$host_os" in
- + openbsd2.[[89]] | openbsd2.[[89]].*)
- + shlibpath_overrides_runpath=no
- + ;;
- + *)
- + shlibpath_overrides_runpath=yes
- + ;;
- + esac
- + else
- + shlibpath_overrides_runpath=yes
- + fi
- + library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
- + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
- + shlibpath_var=LD_LIBRARY_PATH
- + ;;
- +
- +os2*)
- + libname_spec='$name'
- + need_lib_prefix=no
- + library_names_spec='$libname.dll $libname.a'
- + dynamic_linker='OS/2 ld.exe'
- + shlibpath_var=LIBPATH
- + ;;
- +
- +osf3* | osf4* | osf5*)
- + version_type=osf
- + need_version=no
- + need_lib_prefix=no
- + soname_spec='${libname}${release}.so$major'
- + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
- + shlibpath_var=LD_LIBRARY_PATH
- + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
- + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
- + hardcode_into_libs=yes
- + ;;
- +
- +sco3.2v5*)
- + version_type=osf
- + soname_spec='${libname}${release}.so$major'
- + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
- + shlibpath_var=LD_LIBRARY_PATH
- + ;;
- +
- +solaris*)
- + version_type=linux
- + need_lib_prefix=no
- + need_version=no
- + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
- + soname_spec='${libname}${release}.so$major'
- + shlibpath_var=LD_LIBRARY_PATH
- + shlibpath_overrides_runpath=yes
- + hardcode_into_libs=yes
- + # ldd complains unless libraries are executable
- + postinstall_cmds='chmod +x $lib'
- + ;;
- +
- +sunos4*)
- + version_type=sunos
- + library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
- + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
- + shlibpath_var=LD_LIBRARY_PATH
- + shlibpath_overrides_runpath=yes
- + if test "$with_gnu_ld" = yes; then
- + need_lib_prefix=no
- + fi
- + need_version=yes
- + ;;
- +
- +sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
- + version_type=linux
- + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
- + soname_spec='${libname}${release}.so$major'
- + shlibpath_var=LD_LIBRARY_PATH
- + case $host_vendor in
- + sni)
- + shlibpath_overrides_runpath=no
- + need_lib_prefix=no
- + export_dynamic_flag_spec='${wl}-Blargedynsym'
- + runpath_var=LD_RUN_PATH
- + ;;
- + siemens)
- + need_lib_prefix=no
- + ;;
- + motorola)
- + need_lib_prefix=no
- + need_version=no
- + shlibpath_overrides_runpath=no
- + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
- + ;;
- + esac
- + ;;
- +
- +uts4*)
- + version_type=linux
- + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
- + soname_spec='${libname}${release}.so$major'
- + shlibpath_var=LD_LIBRARY_PATH
- + ;;
- +
- +dgux*)
- + version_type=linux
- + need_lib_prefix=no
- + need_version=no
- + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
- + soname_spec='${libname}${release}.so$major'
- + shlibpath_var=LD_LIBRARY_PATH
- + ;;
- +
- +sysv4*MP*)
- + if test -d /usr/nec ;then
- + version_type=linux
- + library_names_spec='$libname.so.$versuffix $libname.so.$major $libname.so'
- + soname_spec='$libname.so.$major'
- + shlibpath_var=LD_LIBRARY_PATH
- + fi
- + ;;
- +
- +*)
- + dynamic_linker=no
- + ;;
- +esac
- +AC_MSG_RESULT([$dynamic_linker])
- +test "$dynamic_linker" = no && can_build_shared=no
- +##
- +## END FIXME
- +
- +## FIXME: this should be a separate macro
- +##
- +# Report the final consequences.
- +AC_MSG_CHECKING([if libtool supports shared libraries])
- +AC_MSG_RESULT([$can_build_shared])
- +##
- +## END FIXME
- +
- +## FIXME: this should be a separate macro
- +##
- +AC_MSG_CHECKING([whether to build shared libraries])
- +test "$can_build_shared" = "no" && enable_shared=no
- +
- +# On AIX, shared libraries and static libraries use the same namespace, and
- +# are all built from PIC.
- +case "$host_os" in
- +aix3*)
- + test "$enable_shared" = yes && enable_static=no
- + if test -n "$RANLIB"; then
- + archive_cmds="$archive_cmds~\$RANLIB \$lib"
- + postinstall_cmds='$RANLIB $lib'
- + fi
- + ;;
- +
- +aix4*)
- + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
- + test "$enable_shared" = yes && enable_static=no
- + fi
- + ;;
- +esac
- +AC_MSG_RESULT([$enable_shared])
- +##
- +## END FIXME
- +
- +## FIXME: this should be a separate macro
- +##
- +AC_MSG_CHECKING([whether to build static libraries])
- +# Make sure either enable_shared or enable_static is yes.
- +test "$enable_shared" = yes || enable_static=yes
- +AC_MSG_RESULT([$enable_static])
- +##
- +## END FIXME
- +
- +if test "$hardcode_action" = relink; then
- + # Fast installation is not supported
- + enable_fast_install=no
- +elif test "$shlibpath_overrides_runpath" = yes ||
- + test "$enable_shared" = no; then
- + # Fast installation is not necessary
- + enable_fast_install=needless
- +fi
- +
- +variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
- +if test "$GCC" = yes; then
- + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
- +fi
- +
- +AC_LIBTOOL_DLOPEN_SELF
- +
- +## FIXME: this should be a separate macro
- +##
- +if test "$enable_shared" = yes && test "$GCC" = yes; then
- + case $archive_cmds in
- + *'~'*)
- + # FIXME: we may have to deal with multi-command sequences.
- + ;;
- + '$CC '*)
- + # Test whether the compiler implicitly links with -lc since on some
- + # systems, -lgcc has to come before -lc. If gcc already passes -lc
- + # to ld, don't add -lc before -lgcc.
- + AC_MSG_CHECKING([whether -lc should be explicitly linked in])
- + AC_CACHE_VAL([lt_cv_archive_cmds_need_lc],
- + [$rm conftest*
- + echo 'static int dummy;' > conftest.$ac_ext
- +
- + if AC_TRY_EVAL(ac_compile); then
- + soname=conftest
- + lib=conftest
- + libobjs=conftest.$ac_objext
- + deplibs=
- + wl=$lt_cv_prog_cc_wl
- + compiler_flags=-v
- + linker_flags=-v
- + verstring=
- + output_objdir=.
- + libname=conftest
- + save_allow_undefined_flag=$allow_undefined_flag
- + allow_undefined_flag=
- + if AC_TRY_EVAL(archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1)
- + then
- + lt_cv_archive_cmds_need_lc=no
- + else
- + lt_cv_archive_cmds_need_lc=yes
- + fi
- + allow_undefined_flag=$save_allow_undefined_flag
- + else
- + cat conftest.err 1>&5
- + fi])
- + AC_MSG_RESULT([$lt_cv_archive_cmds_need_lc])
- + ;;
- + esac
- +fi
- +need_lc=${lt_cv_archive_cmds_need_lc-yes}
- +##
- +## END FIXME
- +
- +## FIXME: this should be a separate macro
- +##
- +# The second clause should only fire when bootstrapping the
- +# libtool distribution, otherwise you forgot to ship ltmain.sh
- +# with your package, and you will get complaints that there are
- +# no rules to generate ltmain.sh.
- +if test -f "$ltmain"; then
- + :
- +else
- + # If there is no Makefile yet, we rely on a make rule to execute
- + # `config.status --recheck' to rerun these tests and create the
- + # libtool script then.
- + test -f Makefile && make "$ltmain"
- +fi
-
- -# Actually configure libtool. ac_aux_dir is where install-sh is found.
- -CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
- -LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
- -LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" \
- -DLLTOOL="$DLLTOOL" AS="$AS" OBJDUMP="$OBJDUMP" \
- -${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
- -$libtool_flags --no-verify $ac_aux_dir/ltmain.sh $lt_target \
- -|| AC_MSG_ERROR([libtool configure failed])
- +if test -f "$ltmain"; then
- + trap "$rm \"${ofile}T\"; exit 1" 1 2 15
- + $rm -f "${ofile}T"
- +
- + echo creating $ofile
- +
- + # Now quote all the things that may contain metacharacters while being
- + # careful not to overquote the AC_SUBSTed values. We take copies of the
- + # variables and quote the copies for generation of the libtool script.
- + for var in echo old_CC old_CFLAGS SED \
- + AR AR_FLAGS CC LD LN_S NM SHELL \
- + reload_flag reload_cmds wl \
- + pic_flag link_static_flag no_builtin_flag export_dynamic_flag_spec \
- + thread_safe_flag_spec whole_archive_flag_spec libname_spec \
- + library_names_spec soname_spec \
- + RANLIB old_archive_cmds old_archive_from_new_cmds old_postinstall_cmds \
- + old_postuninstall_cmds archive_cmds archive_expsym_cmds postinstall_cmds \
- + postuninstall_cmds extract_expsyms_cmds old_archive_from_expsyms_cmds \
- + old_striplib striplib file_magic_cmd export_symbols_cmds \
- + deplibs_check_method allow_undefined_flag no_undefined_flag \
- + finish_cmds finish_eval global_symbol_pipe global_symbol_to_cdecl \
- + global_symbol_to_c_name_address \
- + hardcode_libdir_flag_spec hardcode_libdir_separator \
- + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
- + compiler_c_o compiler_o_lo need_locks exclude_expsyms include_expsyms; do
- +
- + case $var in
- + reload_cmds | old_archive_cmds | old_archive_from_new_cmds | \
- + old_postinstall_cmds | old_postuninstall_cmds | \
- + export_symbols_cmds | archive_cmds | archive_expsym_cmds | \
- + extract_expsyms_cmds | old_archive_from_expsyms_cmds | \
- + postinstall_cmds | postuninstall_cmds | \
- + finish_cmds | sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
- + # Double-quote double-evaled strings.
- + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
- + ;;
- + *)
- + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
- + ;;
- + esac
- + done
-
- -# Reload cache, that may have been modified by ltconfig
- -AC_CACHE_LOAD
- + cat <<__EOF__ > "${ofile}T"
- +#! $SHELL
-
- -# This can be used to rebuild libtool when needed
- -LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh"
- +# `$echo "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
- +# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
- +# NOTE: Changes made to this file will be lost: look at ltmain.sh.
- +#
- +# Copyright (C) 1996-2000 Free Software Foundation, Inc.
- +# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
- +#
- +# This program is free software; you can redistribute it and/or modify
- +# it under the terms of the GNU General Public License as published by
- +# the Free Software Foundation; either version 2 of the License, or
- +# (at your option) any later version.
- +#
- +# This program is distributed in the hope that it will be useful, but
- +# WITHOUT ANY WARRANTY; without even the implied warranty of
- +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- +# General Public License for more details.
- +#
- +# You should have received a copy of the GNU General Public License
- +# along with this program; if not, write to the Free Software
- +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
- +#
- +# As a special exception to the GNU General Public License, if you
- +# distribute this file as part of a program that contains a
- +# configuration script generated by Autoconf, you may include it under
- +# the same distribution terms that you use for the rest of that program.
-
- -# Always use our own libtool.
- -LIBTOOL='$(SHELL) $(top_builddir)/libtool'
- -AC_SUBST(LIBTOOL)dnl
- +# A sed that does not truncate output.
- +SED=$lt_SED
-
- -# Redirect the config.log output again, so that the ltconfig log is not
- -# clobbered by the next message.
- -exec 5>>./config.log
- -])
- +# Sed that helps us avoid accidentally triggering echo(1) options like -n.
- +Xsed="${SED} -e s/^X//"
-
- -AC_DEFUN(AC_LIBTOOL_SETUP,
- -[AC_PREREQ(2.13)dnl
- -AC_REQUIRE([AC_ENABLE_SHARED])dnl
- -AC_REQUIRE([AC_ENABLE_STATIC])dnl
- -AC_REQUIRE([AC_ENABLE_FAST_INSTALL])dnl
- -AC_REQUIRE([AC_CANONICAL_HOST])dnl
- -AC_REQUIRE([AC_CANONICAL_BUILD])dnl
- -AC_REQUIRE([AC_PROG_RANLIB])dnl
- -AC_REQUIRE([AC_PROG_CC])dnl
- -AC_REQUIRE([AC_PROG_LD])dnl
- -AC_REQUIRE([AC_PROG_NM])dnl
- -AC_REQUIRE([AC_PROG_LN_S])dnl
- -dnl
- +# The HP-UX ksh and POSIX shell print the target directory to stdout
- +# if CDPATH is set.
- +if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
-
- -case "$target" in
- -NONE) lt_target="$host" ;;
- -*) lt_target="$target" ;;
- -esac
- +# ### BEGIN LIBTOOL CONFIG
-
- -# Check for any special flags to pass to ltconfig.
- -libtool_flags="--cache-file=$cache_file"
- -test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
- -test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
- -test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
- -test "$ac_cv_prog_gcc" = yes && libtool_flags="$libtool_flags --with-gcc"
- -test "$ac_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
- -ifdef([AC_PROVIDE_AC_LIBTOOL_DLOPEN],
- -[libtool_flags="$libtool_flags --enable-dlopen"])
- -ifdef([AC_PROVIDE_AC_LIBTOOL_WIN32_DLL],
- -[libtool_flags="$libtool_flags --enable-win32-dll"])
- -AC_ARG_ENABLE(libtool-lock,
- - [ --disable-libtool-lock avoid locking (might break parallel builds)])
- -test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
- -test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
- +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
-
- -# Some flags need to be propagated to the compiler or linker for good
- -# libtool support.
- -case "$lt_target" in
- -*-*-irix6*)
- - # Find out which ABI we are using.
- - echo '[#]line __oline__ "configure"' > conftest.$ac_ext
- - if AC_TRY_EVAL(ac_compile); then
- - case "`/usr/bin/file conftest.o`" in
- - *32-bit*)
- - LD="${LD-ld} -32"
- - ;;
- - *N32*)
- - LD="${LD-ld} -n32"
- - ;;
- - *64-bit*)
- - LD="${LD-ld} -64"
- - ;;
- - esac
- - fi
- - rm -rf conftest*
- - ;;
- +# Shell to use when invoking shell scripts.
- +SHELL=$lt_SHELL
-
- -*-*-sco3.2v5*)
- - # On SCO OpenServer 5, we need -belf to get full-featured binaries.
- - SAVE_CFLAGS="$CFLAGS"
- - CFLAGS="$CFLAGS -belf"
- - AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,
- - [AC_TRY_LINK([],[],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])])
- - if test x"$lt_cv_cc_needs_belf" != x"yes"; then
- - # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
- - CFLAGS="$SAVE_CFLAGS"
- - fi
- - ;;
- +# Whether or not to build shared libraries.
- +build_libtool_libs=$enable_shared
-
- -ifdef([AC_PROVIDE_AC_LIBTOOL_WIN32_DLL],
- -[*-*-cygwin* | *-*-mingw*)
- - AC_CHECK_TOOL(DLLTOOL, dlltool, false)
- - AC_CHECK_TOOL(AS, as, false)
- - AC_CHECK_TOOL(OBJDUMP, objdump, false)
- - ;;
- -])
- -esac
- -])
- +# Whether or not to build static libraries.
- +build_old_libs=$enable_static
- +
- +# Whether or not to add -lc for building shared libraries.
- +build_libtool_need_lc=$need_lc
- +
- +# Whether or not to optimize for fast installation.
- +fast_install=$enable_fast_install
- +
- +# The host system.
- +host_alias=$host_alias
- +host=$host
- +
- +# An echo program that does not interpret backslashes.
- +echo=$lt_echo
- +
- +# The archiver.
- +AR=$lt_AR
- +AR_FLAGS=$lt_AR_FLAGS
- +
- +# The default C compiler.
- +CC=$lt_CC
- +
- +# Is the compiler the GNU C compiler?
- +with_gcc=$GCC
- +
- +# The linker used to build libraries.
- +LD=$lt_LD
- +
- +# Whether we need hard or soft links.
- +LN_S=$lt_LN_S
- +
- +# A BSD-compatible nm program.
- +NM=$lt_NM
- +
- +# A symbol stripping program
- +STRIP="$STRIP"
- +
- +# Used to examine libraries when file_magic_cmd begins "file"
- +MAGIC_CMD=$MAGIC_CMD
- +
- +# Used on cygwin: DLL creation program.
- +DLLTOOL="$DLLTOOL"
- +
- +# Used on cygwin: object dumper.
- +OBJDUMP="$OBJDUMP"
- +
- +# Used on cygwin: assembler.
- +AS="$AS"
- +
- +# The name of the directory that contains temporary libtool files.
- +objdir=$objdir
- +
- +# How to create reloadable object files.
- +reload_flag=$lt_reload_flag
- +reload_cmds=$lt_reload_cmds
- +
- +# How to pass a linker flag through the compiler.
- +wl=$lt_wl
- +
- +# Object file suffix (normally "o").
- +objext="$ac_objext"
- +
- +# Old archive suffix (normally "a").
- +libext="$libext"
- +
- +# Executable file suffix (normally "").
- +exeext="$exeext"
- +
- +# Additional compiler flags for building library objects.
- +pic_flag=$lt_pic_flag
- +pic_mode=$pic_mode
- +
- +# Does compiler simultaneously support -c and -o options?
- +compiler_c_o=$lt_compiler_c_o
- +
- +# Can we write directly to a .lo ?
- +compiler_o_lo=$lt_compiler_o_lo
- +
- +# Must we lock files when doing compilation ?
- +need_locks=$lt_need_locks
- +
- +# Do we need the lib prefix for modules?
- +need_lib_prefix=$need_lib_prefix
- +
- +# Do we need a version for libraries?
- +need_version=$need_version
- +
- +# Whether dlopen is supported.
- +dlopen_support=$enable_dlopen
- +
- +# Whether dlopen of programs is supported.
- +dlopen_self=$enable_dlopen_self
- +
- +# Whether dlopen of statically linked programs is supported.
- +dlopen_self_static=$enable_dlopen_self_static
- +
- +# Compiler flag to prevent dynamic linking.
- +link_static_flag=$lt_link_static_flag
- +
- +# Compiler flag to turn off builtin functions.
- +no_builtin_flag=$lt_no_builtin_flag
- +
- +# Compiler flag to allow reflexive dlopens.
- +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
- +
- +# Compiler flag to generate shared objects directly from archives.
- +whole_archive_flag_spec=$lt_whole_archive_flag_spec
- +
- +# Compiler flag to generate thread-safe objects.
- +thread_safe_flag_spec=$lt_thread_safe_flag_spec
- +
- +# Library versioning type.
- +version_type=$version_type
- +
- +# Format of library name prefix.
- +libname_spec=$lt_libname_spec
- +
- +# List of archive names. First name is the real one, the rest are links.
- +# The last name is the one that the linker finds with -lNAME.
- +library_names_spec=$lt_library_names_spec
- +
- +# The coded name of the library, if different from the real name.
- +soname_spec=$lt_soname_spec
- +
- +# Commands used to build and install an old-style archive.
- +RANLIB=$lt_RANLIB
- +old_archive_cmds=$lt_old_archive_cmds
- +old_postinstall_cmds=$lt_old_postinstall_cmds
- +old_postuninstall_cmds=$lt_old_postuninstall_cmds
- +
- +# Create an old-style archive from a shared archive.
- +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
- +
- +# Create a temporary old-style archive to link instead of a shared archive.
- +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
- +
- +# Commands used to build and install a shared archive.
- +archive_cmds=$lt_archive_cmds
- +archive_expsym_cmds=$lt_archive_expsym_cmds
- +postinstall_cmds=$lt_postinstall_cmds
- +postuninstall_cmds=$lt_postuninstall_cmds
- +
- +# Commands to strip libraries.
- +old_striplib=$lt_old_striplib
- +striplib=$lt_striplib
- +
- +# Method to check whether dependent libraries are shared objects.
- +deplibs_check_method=$lt_deplibs_check_method
- +
- +# Command to use when deplibs_check_method == file_magic.
- +file_magic_cmd=$lt_file_magic_cmd
- +
- +# Flag that allows shared libraries with undefined symbols to be built.
- +allow_undefined_flag=$lt_allow_undefined_flag
- +
- +# Flag that forces no undefined symbols.
- +no_undefined_flag=$lt_no_undefined_flag
- +
- +# Commands used to finish a libtool library installation in a directory.
- +finish_cmds=$lt_finish_cmds
- +
- +# Same as above, but a single script fragment to be evaled but not shown.
- +finish_eval=$lt_finish_eval
- +
- +# Take the output of nm and produce a listing of raw symbols and C names.
- +global_symbol_pipe=$lt_global_symbol_pipe
- +
- +# Transform the output of nm in a proper C declaration
- +global_symbol_to_cdecl=$lt_global_symbol_to_cdecl
- +
- +# Transform the output of nm in a C name address pair
- +global_symbol_to_c_name_address=$lt_global_symbol_to_c_name_address
- +
- +# This is the shared library runtime path variable.
- +runpath_var=$runpath_var
- +
- +# This is the shared library path variable.
- +shlibpath_var=$shlibpath_var
- +
- +# Is shlibpath searched before the hard-coded library search path?
- +shlibpath_overrides_runpath=$shlibpath_overrides_runpath
- +
- +# How to hardcode a shared library path into an executable.
- +hardcode_action=$hardcode_action
- +
- +# Whether we should hardcode library paths into libraries.
- +hardcode_into_libs=$hardcode_into_libs
- +
- +# Flag to hardcode \$libdir into a binary during linking.
- +# This must work even if \$libdir does not exist.
- +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
- +
- +# Whether we need a single -rpath flag with a separated argument.
- +hardcode_libdir_separator=$lt_hardcode_libdir_separator
- +
- +# Set to yes if using DIR/libNAME.so during linking hardcodes DIR into the
- +# resulting binary.
- +hardcode_direct=$hardcode_direct
- +
- +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
- +# resulting binary.
- +hardcode_minus_L=$hardcode_minus_L
- +
- +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
- +# the resulting binary.
- +hardcode_shlibpath_var=$hardcode_shlibpath_var
- +
- +# Variables whose values should be saved in libtool wrapper scripts and
- +# restored at relink time.
- +variables_saved_for_relink="$variables_saved_for_relink"
- +
- +# Whether libtool must link a program against all its dependency libraries.
- +link_all_deplibs=$link_all_deplibs
- +
- +# Compile-time system search path for libraries
- +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
- +
- +# Run-time system search path for libraries
- +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
- +
- +# Fix the shell variable \$srcfile for the compiler.
- +fix_srcfile_path="$fix_srcfile_path"
- +
- +# Set to yes if exported symbols are required.
- +always_export_symbols=$always_export_symbols
- +
- +# The commands to list exported symbols.
- +export_symbols_cmds=$lt_export_symbols_cmds
- +
- +# The commands to extract the exported symbol list from a shared archive.
- +extract_expsyms_cmds=$lt_extract_expsyms_cmds
- +
- +# Symbols that should not be listed in the preloaded symbols.
- +exclude_expsyms=$lt_exclude_expsyms
- +
- +# Symbols that must always be exported.
- +include_expsyms=$lt_include_expsyms
- +
- +# ### END LIBTOOL CONFIG
- +
- +__EOF__
- +
- + case $host_os in
- + aix3*)
- + cat <<\EOF >> "${ofile}T"
- +
- +# AIX sometimes has problems with the GCC collect2 program. For some
- +# reason, if we set the COLLECT_NAMES environment variable, the problems
- +# vanish in a puff of smoke.
- +if test "X${COLLECT_NAMES+set}" != Xset; then
- + COLLECT_NAMES=
- + export COLLECT_NAMES
- +fi
- +EOF
- + ;;
- + esac
- +
- + case $host_os in
- + cygwin* | mingw* | pw32* | os2*)
- + cat <<'EOF' >> "${ofile}T"
- + # This is a source program that is used to create dlls on Windows
- + # Don't remove nor modify the starting and closing comments
- +# /* ltdll.c starts here */
- +# #define WIN32_LEAN_AND_MEAN
- +# #include <windows.h>
- +# #undef WIN32_LEAN_AND_MEAN
- +# #include <stdio.h>
- +#
- +# #ifndef __CYGWIN__
- +# # ifdef __CYGWIN32__
- +# # define __CYGWIN__ __CYGWIN32__
- +# # endif
- +# #endif
- +#
- +# #ifdef __cplusplus
- +# extern "C" {
- +# #endif
- +# BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved);
- +# #ifdef __cplusplus
- +# }
- +# #endif
- +#
- +# #ifdef __CYGWIN__
- +# #include <cygwin/cygwin_dll.h>
- +# DECLARE_CYGWIN_DLL( DllMain );
- +# #endif
- +# HINSTANCE __hDllInstance_base;
- +#
- +# BOOL APIENTRY
- +# DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved)
- +# {
- +# __hDllInstance_base = hInst;
- +# return TRUE;
- +# }
- +# /* ltdll.c ends here */
- + # This is a source program that is used to create import libraries
- + # on Windows for dlls which lack them. Don't remove nor modify the
- + # starting and closing comments
- +# /* impgen.c starts here */
- +# /* Copyright (C) 1999-2000 Free Software Foundation, Inc.
- +#
- +# This file is part of GNU libtool.
- +#
- +# This program is free software; you can redistribute it and/or modify
- +# it under the terms of the GNU General Public License as published by
- +# the Free Software Foundation; either version 2 of the License, or
- +# (at your option) any later version.
- +#
- +# This program is distributed in the hope that it will be useful,
- +# but WITHOUT ANY WARRANTY; without even the implied warranty of
- +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- +# GNU General Public License for more details.
- +#
- +# You should have received a copy of the GNU General Public License
- +# along with this program; if not, write to the Free Software
- +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
- +# */
- +#
- +# #include <stdio.h> /* for printf() */
- +# #include <unistd.h> /* for open(), lseek(), read() */
- +# #include <fcntl.h> /* for O_RDONLY, O_BINARY */
- +# #include <string.h> /* for strdup() */
- +#
- +# /* O_BINARY isn't required (or even defined sometimes) under Unix */
- +# #ifndef O_BINARY
- +# #define O_BINARY 0
- +# #endif
- +#
- +# static unsigned int
- +# pe_get16 (fd, offset)
- +# int fd;
- +# int offset;
- +# {
- +# unsigned char b[2];
- +# lseek (fd, offset, SEEK_SET);
- +# read (fd, b, 2);
- +# return b[0] + (b[1]<<8);
- +# }
- +#
- +# static unsigned int
- +# pe_get32 (fd, offset)
- +# int fd;
- +# int offset;
- +# {
- +# unsigned char b[4];
- +# lseek (fd, offset, SEEK_SET);
- +# read (fd, b, 4);
- +# return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24);
- +# }
- +#
- +# static unsigned int
- +# pe_as32 (ptr)
- +# void *ptr;
- +# {
- +# unsigned char *b = ptr;
- +# return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24);
- +# }
- +#
- +# int
- +# main (argc, argv)
- +# int argc;
- +# char *argv[];
- +# {
- +# int dll;
- +# unsigned long pe_header_offset, opthdr_ofs, num_entries, i;
- +# unsigned long export_rva, export_size, nsections, secptr, expptr;
- +# unsigned long name_rvas, nexp;
- +# unsigned char *expdata, *erva;
- +# char *filename, *dll_name;
- +#
- +# filename = argv[1];
- +#
- +# dll = open(filename, O_RDONLY|O_BINARY);
- +# if (dll < 1)
- +# return 1;
- +#
- +# dll_name = filename;
- +#
- +# for (i=0; filename[i]; i++)
- +# if (filename[i] == '/' || filename[i] == '\\' || filename[i] == ':')
- +# dll_name = filename + i +1;
- +#
- +# pe_header_offset = pe_get32 (dll, 0x3c);
- +# opthdr_ofs = pe_header_offset + 4 + 20;
- +# num_entries = pe_get32 (dll, opthdr_ofs + 92);
- +#
- +# if (num_entries < 1) /* no exports */
- +# return 1;
- +#
- +# export_rva = pe_get32 (dll, opthdr_ofs + 96);
- +# export_size = pe_get32 (dll, opthdr_ofs + 100);
- +# nsections = pe_get16 (dll, pe_header_offset + 4 +2);
- +# secptr = (pe_header_offset + 4 + 20 +
- +# pe_get16 (dll, pe_header_offset + 4 + 16));
- +#
- +# expptr = 0;
- +# for (i = 0; i < nsections; i++)
- +# {
- +# char sname[8];
- +# unsigned long secptr1 = secptr + 40 * i;
- +# unsigned long vaddr = pe_get32 (dll, secptr1 + 12);
- +# unsigned long vsize = pe_get32 (dll, secptr1 + 16);
- +# unsigned long fptr = pe_get32 (dll, secptr1 + 20);
- +# lseek(dll, secptr1, SEEK_SET);
- +# read(dll, sname, 8);
- +# if (vaddr <= export_rva && vaddr+vsize > export_rva)
- +# {
- +# expptr = fptr + (export_rva - vaddr);
- +# if (export_rva + export_size > vaddr + vsize)
- +# export_size = vsize - (export_rva - vaddr);
- +# break;
- +# }
- +# }
- +#
- +# expdata = (unsigned char*)malloc(export_size);
- +# lseek (dll, expptr, SEEK_SET);
- +# read (dll, expdata, export_size);
- +# erva = expdata - export_rva;
- +#
- +# nexp = pe_as32 (expdata+24);
- +# name_rvas = pe_as32 (expdata+32);
- +#
- +# printf ("EXPORTS\n");
- +# for (i = 0; i<nexp; i++)
- +# {
- +# unsigned long name_rva = pe_as32 (erva+name_rvas+i*4);
- +# printf ("\t%s @ %ld ;\n", erva+name_rva, 1+ i);
- +# }
- +#
- +# return 0;
- +# }
- +# /* impgen.c ends here */
- +
- +EOF
- + ;;
- + esac
- +
- + # We use sed instead of cat because bash on DJGPP gets confused if
- + # if finds mixed CR/LF and LF-only lines. Since sed operates in
- + # text mode, it properly converts lines to CR/LF. This bash problem
- + # is reportedly fixed, but why not run on old versions too?
- + sed '$q' "$ltmain" >> "${ofile}T" || (rm -f "${ofile}T"; exit 1)
- +
- + mv -f "${ofile}T" "$ofile" || \
- + (rm -f "$ofile" && cp "${ofile}T" "$ofile" && rm -f "${ofile}T")
- + chmod +x "$ofile"
- +fi
- +##
- +## END FIXME
- +
- +])# _LT_AC_LTCONFIG_HACK
-
- # AC_LIBTOOL_DLOPEN - enable checks for dlopen support
- -AC_DEFUN(AC_LIBTOOL_DLOPEN, [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])])
- +AC_DEFUN([AC_LIBTOOL_DLOPEN], [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])])
-
- # AC_LIBTOOL_WIN32_DLL - declare package support for building win32 dll's
- -AC_DEFUN(AC_LIBTOOL_WIN32_DLL, [AC_BEFORE([$0], [AC_LIBTOOL_SETUP])])
- +AC_DEFUN([AC_LIBTOOL_WIN32_DLL], [AC_BEFORE([$0], [AC_LIBTOOL_SETUP])])
-
- # AC_ENABLE_SHARED - implement the --enable-shared flag
- # Usage: AC_ENABLE_SHARED[(DEFAULT)]
- # Where DEFAULT is either `yes' or `no'. If omitted, it defaults to
- # `yes'.
- -AC_DEFUN(AC_ENABLE_SHARED, [dnl
- -define([AC_ENABLE_SHARED_DEFAULT], ifelse($1, no, no, yes))dnl
- +AC_DEFUN([AC_ENABLE_SHARED],
- +[define([AC_ENABLE_SHARED_DEFAULT], ifelse($1, no, no, yes))dnl
- AC_ARG_ENABLE(shared,
- changequote(<<, >>)dnl
- << --enable-shared[=PKGS] build shared libraries [default=>>AC_ENABLE_SHARED_DEFAULT],
- changequote([, ])dnl
- [p=${PACKAGE-default}
- -case "$enableval" in
- +case $enableval in
- yes) enable_shared=yes ;;
- no) enable_shared=no ;;
- *)
- @@ -167,21 +3062,22 @@
- ])
-
- # AC_DISABLE_SHARED - set the default shared flag to --disable-shared
- -AC_DEFUN(AC_DISABLE_SHARED, [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
- +AC_DEFUN([AC_DISABLE_SHARED],
- +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
- AC_ENABLE_SHARED(no)])
-
- # AC_ENABLE_STATIC - implement the --enable-static flag
- # Usage: AC_ENABLE_STATIC[(DEFAULT)]
- # Where DEFAULT is either `yes' or `no'. If omitted, it defaults to
- # `yes'.
- -AC_DEFUN(AC_ENABLE_STATIC, [dnl
- -define([AC_ENABLE_STATIC_DEFAULT], ifelse($1, no, no, yes))dnl
- +AC_DEFUN([AC_ENABLE_STATIC],
- +[define([AC_ENABLE_STATIC_DEFAULT], ifelse($1, no, no, yes))dnl
- AC_ARG_ENABLE(static,
- changequote(<<, >>)dnl
- << --enable-static[=PKGS] build static libraries [default=>>AC_ENABLE_STATIC_DEFAULT],
- changequote([, ])dnl
- [p=${PACKAGE-default}
- -case "$enableval" in
- +case $enableval in
- yes) enable_static=yes ;;
- no) enable_static=no ;;
- *)
- @@ -200,7 +3096,8 @@
- ])
-
- # AC_DISABLE_STATIC - set the default static flag to --disable-static
- -AC_DEFUN(AC_DISABLE_STATIC, [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
- +AC_DEFUN([AC_DISABLE_STATIC],
- +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
- AC_ENABLE_STATIC(no)])
-
-
- @@ -208,14 +3105,14 @@
- # Usage: AC_ENABLE_FAST_INSTALL[(DEFAULT)]
- # Where DEFAULT is either `yes' or `no'. If omitted, it defaults to
- # `yes'.
- -AC_DEFUN(AC_ENABLE_FAST_INSTALL, [dnl
- -define([AC_ENABLE_FAST_INSTALL_DEFAULT], ifelse($1, no, no, yes))dnl
- +AC_DEFUN([AC_ENABLE_FAST_INSTALL],
- +[define([AC_ENABLE_FAST_INSTALL_DEFAULT], ifelse($1, no, no, yes))dnl
- AC_ARG_ENABLE(fast-install,
- changequote(<<, >>)dnl
- << --enable-fast-install[=PKGS] optimize for fast installation [default=>>AC_ENABLE_FAST_INSTALL_DEFAULT],
- changequote([, ])dnl
- [p=${PACKAGE-default}
- -case "$enableval" in
- +case $enableval in
- yes) enable_fast_install=yes ;;
- no) enable_fast_install=no ;;
- *)
- @@ -233,29 +3130,120 @@
- enable_fast_install=AC_ENABLE_FAST_INSTALL_DEFAULT)dnl
- ])
-
- -# AC_ENABLE_FAST_INSTALL - set the default to --disable-fast-install
- -AC_DEFUN(AC_DISABLE_FAST_INSTALL, [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
- +# AC_DISABLE_FAST_INSTALL - set the default to --disable-fast-install
- +AC_DEFUN([AC_DISABLE_FAST_INSTALL],
- +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
- AC_ENABLE_FAST_INSTALL(no)])
-
- +# AC_LIBTOOL_PICMODE - implement the --with-pic flag
- +# Usage: AC_LIBTOOL_PICMODE[(MODE)]
- +# Where MODE is either `yes' or `no'. If omitted, it defaults to
- +# `both'.
- +AC_DEFUN([AC_LIBTOOL_PICMODE],
- +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
- +pic_mode=ifelse($#,1,$1,default)])
- +
- +
- +# AC_PATH_TOOL_PREFIX - find a file program which can recognise shared library
- +AC_DEFUN([AC_PATH_TOOL_PREFIX],
- +[AC_MSG_CHECKING([for $1])
- +AC_CACHE_VAL(lt_cv_path_MAGIC_CMD,
- +[case $MAGIC_CMD in
- + /*)
- + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
- + ;;
- + ?:/*)
- + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
- + ;;
- + *)
- + ac_save_MAGIC_CMD="$MAGIC_CMD"
- + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
- +dnl $ac_dummy forces splitting on constant user-supplied paths.
- +dnl POSIX.2 word splitting is done only on the output of word expansions,
- +dnl not every word. This closes a longstanding sh security hole.
- + ac_dummy="ifelse([$2], , $PATH, [$2])"
- + for ac_dir in $ac_dummy; do
- + test -z "$ac_dir" && ac_dir=.
- + if test -f $ac_dir/$1; then
- + lt_cv_path_MAGIC_CMD="$ac_dir/$1"
- + if test -n "$file_magic_test_file"; then
- + case $deplibs_check_method in
- + "file_magic "*)
- + file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
- + MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
- + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
- + egrep "$file_magic_regex" > /dev/null; then
- + :
- + else
- + cat <<EOF 1>&2
- +
- +*** Warning: the command libtool uses to detect shared libraries,
- +*** $file_magic_cmd, produces output that libtool cannot recognize.
- +*** The result is that libtool may fail to recognize shared libraries
- +*** as such. This will affect the creation of libtool libraries that
- +*** depend on shared libraries, but programs linked with such libtool
- +*** libraries will work regardless of this problem. Nevertheless, you
- +*** may want to report the problem to your system manager and/or to
- +*** bug-libtool@gnu.org
- +
- +EOF
- + fi ;;
- + esac
- + fi
- + break
- + fi
- + done
- + IFS="$ac_save_ifs"
- + MAGIC_CMD="$ac_save_MAGIC_CMD"
- + ;;
- +esac])
- +MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
- +if test -n "$MAGIC_CMD"; then
- + AC_MSG_RESULT($MAGIC_CMD)
- +else
- + AC_MSG_RESULT(no)
- +fi
- +])
- +
- +
- +# AC_PATH_MAGIC - find a file program which can recognise a shared library
- +AC_DEFUN([AC_PATH_MAGIC],
- +[AC_REQUIRE([AC_CHECK_TOOL_PREFIX])dnl
- +AC_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin:$PATH)
- +if test -z "$lt_cv_path_MAGIC_CMD"; then
- + if test -n "$ac_tool_prefix"; then
- + AC_PATH_TOOL_PREFIX(file, /usr/bin:$PATH)
- + else
- + MAGIC_CMD=:
- + fi
- +fi
- +])
- +
- +
- # AC_PROG_LD - find the path to the GNU or non-GNU linker
- -AC_DEFUN(AC_PROG_LD,
- +AC_DEFUN([AC_PROG_LD],
- [AC_ARG_WITH(gnu-ld,
- [ --with-gnu-ld assume the C compiler uses GNU ld [default=no]],
- test "$withval" = no || with_gnu_ld=yes, with_gnu_ld=no)
- AC_REQUIRE([AC_PROG_CC])dnl
- AC_REQUIRE([AC_CANONICAL_HOST])dnl
- AC_REQUIRE([AC_CANONICAL_BUILD])dnl
- +AC_REQUIRE([_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR])dnl
- ac_prog=ld
- -if test "$ac_cv_prog_gcc" = yes; then
- +if test "$GCC" = yes; then
- # Check if gcc -print-prog-name=ld gives a path.
- AC_MSG_CHECKING([for ld used by GCC])
- - ac_prog=`($CC -print-prog-name=ld) 2>&5`
- - case "$ac_prog" in
- + case $host in
- + *-*-mingw*)
- + # gcc leaves a trailing carriage return which upsets mingw
- + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
- + *)
- + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
- + esac
- + case $ac_prog in
- # Accept absolute paths.
- -changequote(,)dnl
- - [\\/]* | [A-Za-z]:[\\/]*)
- - re_direlt='/[^/][^/]*/\.\./'
- -changequote([,])dnl
- + [[\\/]]* | [[A-Za-z]]:[[\\/]]*)
- + re_direlt='/[[^/]][[^/]]*/\.\./'
- # Canonicalize the path of ld
- ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
- while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
- @@ -277,17 +3265,17 @@
- else
- AC_MSG_CHECKING([for non-GNU ld])
- fi
- -AC_CACHE_VAL(ac_cv_path_LD,
- +AC_CACHE_VAL(lt_cv_path_LD,
- [if test -z "$LD"; then
- - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
- + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
- for ac_dir in $PATH; do
- test -z "$ac_dir" && ac_dir=.
- if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
- - ac_cv_path_LD="$ac_dir/$ac_prog"
- + lt_cv_path_LD="$ac_dir/$ac_prog"
- # Check to see if the program is GNU ld. I'd rather use --version,
- # but apparently some GNU ld's only accept -v.
- # Break only if it was the GNU/non-GNU ld that we prefer.
- - if "$ac_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
- + if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
- test "$with_gnu_ld" != no && break
- else
- test "$with_gnu_ld" != yes && break
- @@ -296,9 +3284,9 @@
- done
- IFS="$ac_save_ifs"
- else
- - ac_cv_path_LD="$LD" # Let the user override the test with a path.
- + lt_cv_path_LD="$LD" # Let the user override the test with a path.
- fi])
- -LD="$ac_cv_path_LD"
- +LD="$lt_cv_path_LD"
- if test -n "$LD"; then
- AC_MSG_RESULT($LD)
- else
- @@ -308,56 +3296,255 @@
- AC_PROG_LD_GNU
- ])
-
- -AC_DEFUN(AC_PROG_LD_GNU,
- -[AC_CACHE_CHECK([if the linker ($LD) is GNU ld], ac_cv_prog_gnu_ld,
- +# AC_PROG_LD_GNU -
- +AC_DEFUN([AC_PROG_LD_GNU],
- +[AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld,
- [# I'd rather use --version here, but apparently some GNU ld's only accept -v.
- if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
- - ac_cv_prog_gnu_ld=yes
- + lt_cv_prog_gnu_ld=yes
- else
- - ac_cv_prog_gnu_ld=no
- + lt_cv_prog_gnu_ld=no
- fi])
- +with_gnu_ld=$lt_cv_prog_gnu_ld
- +])
- +
- +# AC_PROG_LD_RELOAD_FLAG - find reload flag for linker
- +# -- PORTME Some linkers may need a different reload flag.
- +AC_DEFUN([AC_PROG_LD_RELOAD_FLAG],
- +[AC_CACHE_CHECK([for $LD option to reload object files], lt_cv_ld_reload_flag,
- +[lt_cv_ld_reload_flag='-r'])
- +reload_flag=$lt_cv_ld_reload_flag
- +test -n "$reload_flag" && reload_flag=" $reload_flag"
- +])
- +
- +# AC_DEPLIBS_CHECK_METHOD - how to check for library dependencies
- +# -- PORTME fill in with the dynamic library characteristics
- +AC_DEFUN([AC_DEPLIBS_CHECK_METHOD],
- +[AC_CACHE_CHECK([how to recognise dependent libraries],
- +lt_cv_deplibs_check_method,
- +[lt_cv_file_magic_cmd='$MAGIC_CMD'
- +lt_cv_file_magic_test_file=
- +lt_cv_deplibs_check_method='unknown'
- +# Need to set the preceding variable on all platforms that support
- +# interlibrary dependencies.
- +# 'none' -- dependencies not supported.
- +# `unknown' -- same as none, but documents that we really don't know.
- +# 'pass_all' -- all dependencies passed with no checks.
- +# 'test_compile' -- check by making test program.
- +# 'file_magic [[regex]]' -- check by looking for files in library path
- +# which responds to the $file_magic_cmd with a given egrep regex.
- +# If you have `file' or equivalent on your system and you're not sure
- +# whether `pass_all' will *always* work, you probably want this one.
- +
- +case $host_os in
- +aix4* | aix5*)
- + lt_cv_deplibs_check_method=pass_all
- + ;;
- +
- +beos*)
- + lt_cv_deplibs_check_method=pass_all
- + ;;
- +
- +bsdi4*)
- + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)'
- + lt_cv_file_magic_cmd='/usr/bin/file -L'
- + lt_cv_file_magic_test_file=/shlib/libc.so
- + ;;
- +
- +cygwin* | mingw* | pw32*)
- + lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
- + lt_cv_file_magic_cmd='$OBJDUMP -f'
- + ;;
- +
- +darwin* | rhapsody*)
- + lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
- + lt_cv_file_magic_cmd='/usr/bin/file -L'
- + case "$host_os" in
- + rhapsody* | darwin1.[[012]])
- + lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -1`
- + ;;
- + *) # Darwin 1.3 on
- + lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
- + ;;
- + esac
- + ;;
- +
- +freebsd*)
- + if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
- + case $host_cpu in
- + i*86 )
- + # Not sure whether the presence of OpenBSD here was a mistake.
- + # Let's accept both of them until this is cleared up.
- + lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[[3-9]]86 (compact )?demand paged shared library'
- + lt_cv_file_magic_cmd=/usr/bin/file
- + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
- + ;;
- + esac
- + else
- + lt_cv_deplibs_check_method=pass_all
- + fi
- + ;;
- +
- +gnu*)
- + lt_cv_deplibs_check_method=pass_all
- + ;;
- +
- +hpux10.20*|hpux11*)
- + lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library'
- + lt_cv_file_magic_cmd=/usr/bin/file
- + lt_cv_file_magic_test_file=/usr/lib/libc.sl
- + ;;
- +
- +irix5* | irix6* | nonstopux*)
- + case $host_os in
- + irix5* | nonstopux*)
- + # this will be overridden with pass_all, but let us keep it just in case
- + lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
- + ;;
- + *)
- + case $LD in
- + *-32|*"-32 ") libmagic=32-bit;;
- + *-n32|*"-n32 ") libmagic=N32;;
- + *-64|*"-64 ") libmagic=64-bit;;
- + *) libmagic=never-match;;
- + esac
- + # this will be overridden with pass_all, but let us keep it just in case
- + lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[[1234]] dynamic lib MIPS - version 1"
- + ;;
- + esac
- + lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
- + lt_cv_deplibs_check_method=pass_all
- + ;;
- +
- +# This must be Linux ELF.
- +linux-gnu*)
- + case $host_cpu in
- + alpha* | hppa* | i*86 | mips | mipsel | powerpc* | sparc* | ia64* | arm* | m68k)
- + lt_cv_deplibs_check_method=pass_all ;;
- + *)
- + # glibc up to 2.1.1 does not perform some relocations on ARM
- + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )' ;;
- + esac
- + lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
- + ;;
- +
- +netbsd*)
- + if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
- + lt_cv_deplibs_check_method='match_pattern /lib[[^/\.]]+\.so\.[[0-9]]+\.[[0-9]]+$'
- + else
- + lt_cv_deplibs_check_method='match_pattern /lib[[^/\.]]+\.so$'
- + fi
- + ;;
- +
- +newos6*)
- + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)'
- + lt_cv_file_magic_cmd=/usr/bin/file
- + lt_cv_file_magic_test_file=/usr/lib/libnls.so
- + ;;
- +
- +openbsd*)
- + lt_cv_file_magic_cmd=/usr/bin/file
- + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
- + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
- + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB shared object'
- + else
- + lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
- + fi
- + ;;
- +
- +osf3* | osf4* | osf5*)
- + # this will be overridden with pass_all, but let us keep it just in case
- + lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
- + lt_cv_file_magic_test_file=/shlib/libc.so
- + lt_cv_deplibs_check_method=pass_all
- + ;;
- +
- +sco3.2v5*)
- + lt_cv_deplibs_check_method=pass_all
- + ;;
- +
- +solaris*)
- + lt_cv_deplibs_check_method=pass_all
- + lt_cv_file_magic_test_file=/lib/libc.so
- + ;;
- +
- +sysv5uw[[78]]* | sysv4*uw2*)
- + lt_cv_deplibs_check_method=pass_all
- + ;;
- +
- +sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
- + case $host_vendor in
- + motorola)
- + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib) M[[0-9]][[0-9]]* Version [[0-9]]'
- + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
- + ;;
- + ncr)
- + lt_cv_deplibs_check_method=pass_all
- + ;;
- + sequent)
- + lt_cv_file_magic_cmd='/bin/file'
- + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )'
- + ;;
- + sni)
- + lt_cv_file_magic_cmd='/bin/file'
- + lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib"
- + lt_cv_file_magic_test_file=/lib/libc.so
- + ;;
- + siemens)
- + lt_cv_deplibs_check_method=pass_all
- + ;;
- + esac
- + ;;
- +esac
- +])
- +file_magic_cmd=$lt_cv_file_magic_cmd
- +deplibs_check_method=$lt_cv_deplibs_check_method
- ])
-
- +
- # AC_PROG_NM - find the path to a BSD-compatible name lister
- -AC_DEFUN(AC_PROG_NM,
- -[AC_MSG_CHECKING([for BSD-compatible nm])
- -AC_CACHE_VAL(ac_cv_path_NM,
- +AC_DEFUN([AC_PROG_NM],
- +[AC_REQUIRE([_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR])dnl
- +AC_MSG_CHECKING([for BSD-compatible nm])
- +AC_CACHE_VAL(lt_cv_path_NM,
- [if test -n "$NM"; then
- # Let the user override the test.
- - ac_cv_path_NM="$NM"
- + lt_cv_path_NM="$NM"
- else
- - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
- + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
- for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
- test -z "$ac_dir" && ac_dir=.
- - if test -f $ac_dir/nm || test -f $ac_dir/nm$ac_exeext ; then
- + tmp_nm=$ac_dir/${ac_tool_prefix}nm
- + if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
- # Check to see if the nm accepts a BSD-compat flag.
- # Adding the `sed 1q' prevents false positives on HP-UX, which says:
- # nm: unknown option "B" ignored
- - if ($ac_dir/nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
- - ac_cv_path_NM="$ac_dir/nm -B"
- + # Tru64's nm complains that /dev/null is an invalid object file
- + if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
- + lt_cv_path_NM="$tmp_nm -B"
- break
- - elif ($ac_dir/nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
- - ac_cv_path_NM="$ac_dir/nm -p"
- + elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
- + lt_cv_path_NM="$tmp_nm -p"
- break
- else
- - ac_cv_path_NM=${ac_cv_path_NM="$ac_dir/nm"} # keep the first match, but
- + lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
- continue # so that we can try to find one that supports BSD flags
- fi
- fi
- done
- IFS="$ac_save_ifs"
- - test -z "$ac_cv_path_NM" && ac_cv_path_NM=nm
- + test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
- fi])
- -NM="$ac_cv_path_NM"
- +NM="$lt_cv_path_NM"
- AC_MSG_RESULT([$NM])
- ])
-
- # AC_CHECK_LIBM - check for math library
- -AC_DEFUN(AC_CHECK_LIBM,
- +AC_DEFUN([AC_CHECK_LIBM],
- [AC_REQUIRE([AC_CANONICAL_HOST])dnl
- LIBM=
- -case "$lt_target" in
- -*-*-beos* | *-*-cygwin*)
- +case $host in
- +*-*-beos* | *-*-cygwin* | *-*-pw32*)
- # These system don't have libm
- ;;
- *-ncr-sysv4.3*)
- @@ -371,33 +3558,41 @@
- ])
-
- # AC_LIBLTDL_CONVENIENCE[(dir)] - sets LIBLTDL to the link flags for
- -# the libltdl convenience library, adds --enable-ltdl-convenience to
- -# the configure arguments. Note that LIBLTDL is not AC_SUBSTed, nor
- -# is AC_CONFIG_SUBDIRS called. If DIR is not provided, it is assumed
- -# to be `${top_builddir}/libltdl'. Make sure you start DIR with
- -# '${top_builddir}/' (note the single quotes!) if your package is not
- -# flat, and, if you're not using automake, define top_builddir as
- -# appropriate in the Makefiles.
- -AC_DEFUN(AC_LIBLTDL_CONVENIENCE, [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
- - case "$enable_ltdl_convenience" in
- +# the libltdl convenience library and LTDLINCL to the include flags for
- +# the libltdl header and adds --enable-ltdl-convenience to the
- +# configure arguments. Note that LIBLTDL and LTDLINCL are not
- +# AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called. If DIR is not
- +# provided, it is assumed to be `libltdl'. LIBLTDL will be prefixed
- +# with '${top_builddir}/' and LTDLINCL will be prefixed with
- +# '${top_srcdir}/' (note the single quotes!). If your package is not
- +# flat and you're not using automake, define top_builddir and
- +# top_srcdir appropriately in the Makefiles.
- +AC_DEFUN([AC_LIBLTDL_CONVENIENCE],
- +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
- + case $enable_ltdl_convenience in
- no) AC_MSG_ERROR([this package needs a convenience libltdl]) ;;
- "") enable_ltdl_convenience=yes
- ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
- esac
- - LIBLTDL=ifelse($#,1,$1,['${top_builddir}/libltdl'])/libltdlc.la
- - INCLTDL=ifelse($#,1,-I$1,['-I${top_builddir}/libltdl'])
- + LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdlc.la
- + LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
- + # For backwards non-gettext consistent compatibility...
- + INCLTDL="$LTDLINCL"
- ])
-
- # AC_LIBLTDL_INSTALLABLE[(dir)] - sets LIBLTDL to the link flags for
- -# the libltdl installable library, and adds --enable-ltdl-install to
- -# the configure arguments. Note that LIBLTDL is not AC_SUBSTed, nor
- -# is AC_CONFIG_SUBDIRS called. If DIR is not provided, it is assumed
- -# to be `${top_builddir}/libltdl'. Make sure you start DIR with
- -# '${top_builddir}/' (note the single quotes!) if your package is not
- -# flat, and, if you're not using automake, define top_builddir as
- -# appropriate in the Makefiles.
- +# the libltdl installable library and LTDLINCL to the include flags for
- +# the libltdl header and adds --enable-ltdl-install to the configure
- +# arguments. Note that LIBLTDL and LTDLINCL are not AC_SUBSTed, nor is
- +# AC_CONFIG_SUBDIRS called. If DIR is not provided and an installed
- +# libltdl is not found, it is assumed to be `libltdl'. LIBLTDL will
- +# be prefixed with '${top_builddir}/' and LTDLINCL will be prefixed
- +# with '${top_srcdir}/' (note the single quotes!). If your package is
- +# not flat and you're not using automake, define top_builddir and
- +# top_srcdir appropriately in the Makefiles.
- # In the future, this macro may have to be called after AC_PROG_LIBTOOL.
- -AC_DEFUN(AC_LIBLTDL_INSTALLABLE, [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
- +AC_DEFUN([AC_LIBLTDL_INSTALLABLE],
- +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
- AC_CHECK_LIB(ltdl, main,
- [test x"$enable_ltdl_install" != xyes && enable_ltdl_install=no],
- [if test x"$enable_ltdl_install" = xno; then
- @@ -408,23 +3603,116 @@
- ])
- if test x"$enable_ltdl_install" = x"yes"; then
- ac_configure_args="$ac_configure_args --enable-ltdl-install"
- - LIBLTDL=ifelse($#,1,$1,['${top_builddir}/libltdl'])/libltdl.la
- - INCLTDL=ifelse($#,1,-I$1,['-I${top_builddir}/libltdl'])
- + LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdl.la
- + LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
- else
- ac_configure_args="$ac_configure_args --enable-ltdl-install=no"
- LIBLTDL="-lltdl"
- - INCLTDL=
- + LTDLINCL=
- fi
- + # For backwards non-gettext consistent compatibility...
- + INCLTDL="$LTDLINCL"
- ])
-
- -dnl old names
- -AC_DEFUN(AM_PROG_LIBTOOL, [indir([AC_PROG_LIBTOOL])])dnl
- -AC_DEFUN(AM_ENABLE_SHARED, [indir([AC_ENABLE_SHARED], $@)])dnl
- -AC_DEFUN(AM_ENABLE_STATIC, [indir([AC_ENABLE_STATIC], $@)])dnl
- -AC_DEFUN(AM_DISABLE_SHARED, [indir([AC_DISABLE_SHARED], $@)])dnl
- -AC_DEFUN(AM_DISABLE_STATIC, [indir([AC_DISABLE_STATIC], $@)])dnl
- -AC_DEFUN(AM_PROG_LD, [indir([AC_PROG_LD])])dnl
- -AC_DEFUN(AM_PROG_NM, [indir([AC_PROG_NM])])dnl
- +# old names
- +AC_DEFUN([AM_PROG_LIBTOOL], [AC_PROG_LIBTOOL])
- +AC_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)])
- +AC_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)])
- +AC_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)])
- +AC_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)])
- +AC_DEFUN([AM_PROG_LD], [AC_PROG_LD])
- +AC_DEFUN([AM_PROG_NM], [AC_PROG_NM])
- +
- +# This is just to silence aclocal about the macro not being used
- +ifelse([AC_DISABLE_FAST_INSTALL])
- +
- +############################################################
- +# NOTE: This macro has been submitted for inclusion into #
- +# GNU Autoconf as AC_PROG_SED. When it is available in #
- +# a released version of Autoconf we should remove this #
- +# macro and use it instead. #
- +############################################################
- +# LT_AC_PROG_SED
- +# --------------
- +# Check for a fully-functional sed program, that truncates
- +# as few characters as possible. Prefer GNU sed if found.
- +AC_DEFUN([LT_AC_PROG_SED],
- +[AC_MSG_CHECKING([for a sed that does not truncate output])
- +AC_CACHE_VAL(lt_cv_path_SED,
- +[# Loop through the user's path and test for sed and gsed.
- +# Then use that list of sed's as ones to test for truncation.
- +as_executable_p="test -f"
- +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
- +for as_dir in $PATH
- +do
- + IFS=$as_save_IFS
- + test -z "$as_dir" && as_dir=.
- + for ac_prog in sed gsed; do
- + for ac_exec_ext in '' $ac_executable_extensions; do
- + if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
- + _sed_list="$_sed_list $as_dir/$ac_prog$ac_exec_ext"
- + fi
- + done
- + done
- +done
-
- -dnl This is just to silence aclocal about the macro not being used
- -ifelse([AC_DISABLE_FAST_INSTALL])dnl
- + # Create a temporary directory, and hook for its removal unless debugging.
- +$debug ||
- +{
- + trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
- + trap '{ (exit 1); exit 1; }' 1 2 13 15
- +}
- +
- +# Create a (secure) tmp directory for tmp files.
- +: ${TMPDIR=/tmp}
- +{
- + tmp=`(umask 077 && mktemp -d -q "$TMPDIR/sedXXXXXX") 2>/dev/null` &&
- + test -n "$tmp" && test -d "$tmp"
- +} ||
- +{
- + tmp=$TMPDIR/sed$$-$RANDOM
- + (umask 077 && mkdir $tmp)
- +} ||
- +{
- + echo "$me: cannot create a temporary directory in $TMPDIR" >&2
- + { (exit 1); exit 1; }
- +}
- + _max=0
- + _count=0
- + # Add /usr/xpg4/bin/sed as it is typically found on Solaris
- + # along with /bin/sed that truncates output.
- + for _sed in $_sed_list /usr/xpg4/bin/sed; do
- + test ! -f ${_sed} && break
- + cat /dev/null > "$tmp/sed.in"
- + _count=0
- + echo ${ECHO_N-$ac_n} "0123456789${ECHO_C-$ac_c}" >"$tmp/sed.in"
- + # Check for GNU sed and select it if it is found.
- + if "${_sed}" --version 2>&1 < /dev/null | egrep '(GNU)' > /dev/null; then
- + lt_cv_path_SED=${_sed}
- + break
- + fi
- + while true; do
- + cat "$tmp/sed.in" "$tmp/sed.in" >"$tmp/sed.tmp"
- + mv "$tmp/sed.tmp" "$tmp/sed.in"
- + cp "$tmp/sed.in" "$tmp/sed.nl"
- + echo >>"$tmp/sed.nl"
- + ${_sed} -e 's/a$//' < "$tmp/sed.nl" >"$tmp/sed.out" || break
- + cmp -s "$tmp/sed.out" "$tmp/sed.nl" || break
- + # 40000 chars as input seems more than enough
- + test $_count -gt 10 && break
- + _count=`expr $_count + 1`
- + if test $_count -gt $_max; then
- + _max=$_count
- + lt_cv_path_SED=$_sed
- + fi
- + done
- + done
- + rm -rf "$tmp"
- +])
- +if test "X$SED" != "X"; then
- + lt_cv_path_SED=$SED
- +else
- + SED=$lt_cv_path_SED
- +fi
- +AC_MSG_RESULT([$SED])
- +])
- --- recode-3.6.orig/debian/shlibs
- +++ recode-3.6/debian/shlibs
- @@ -0,0 +1 @@
- +librecode 0 librecode0 (>= 3.6)
- --- recode-3.6.orig/debian/recode-doc.prerm
- +++ recode-3.6/debian/recode-doc.prerm
- @@ -0,0 +1,7 @@
- +#!/bin/sh
- +set -e
- +if [ "$1" = "remove" ] || [ "$1" = "upgrade" ]; then
- + if command -v install-docs >/dev/null 2>&1; then
- + install-docs -r recode-doc
- + fi
- +fi
- --- recode-3.6.orig/debian/prerm
- +++ recode-3.6/debian/prerm
- @@ -0,0 +1,3 @@
- +#!/bin/sh
- +set -e
- +install-info --quiet --remove /usr/share/info/recode.info
- --- recode-3.6.orig/debian/recode-doc.postinst
- +++ recode-3.6/debian/recode-doc.postinst
- @@ -0,0 +1,7 @@
- +#!/bin/sh
- +set -e
- +if [ "$1" = "configure" ]; then
- + if command -v install-docs >/dev/null 2>&1; then
- + install-docs -i /usr/share/doc-base/recode-doc
- + fi
- +fi
- --- recode-3.6.orig/debian/shlibs.local
- +++ recode-3.6/debian/shlibs.local
- @@ -0,0 +1 @@
- +librecode 0 librecode0 (>= 3.6)
- --- recode-3.6.orig/debian/rules
- +++ recode-3.6/debian/rules
- @@ -0,0 +1,145 @@
- +#!/usr/bin/make -f
- +
- +package = recode
- +
- +CC = gcc
- +CFLAGS = -g -Wall -D_REENTRANT
- +INSTALL_PROGRAM = install
- +
- +STRIP = true
- +ATRIP = true
- +
- +ifeq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
- + CFLAGS += -O2
- +endif
- +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
- + INSTALL_PROGRAM += -s
- + STRIP=strip --strip-unneeded --remove-section=.comment --remove-section=.note
- + ATRIP=strip --strip-debug
- +endif
- +
- +build:
- + touch aclocal.m4
- + touch configure
- + touch stamp-h.in
- + touch config.h.in
- + touch Makefile.in
- + touch m4/Makefile.in
- + touch doc/Makefile.in
- + touch lib/Makefile.in
- + touch libiconv/Makefile.in
- + touch i18n/Makefile.in
- + touch src/Makefile.in
- + touch tests/Makefile.in
- + touch contrib/Makefile.in
- + ./configure --prefix=/usr --without-included-gettext
- + $(MAKE) CC="$(CC)" CFLAGS="$(CFLAGS)"
- + $(MAKE) install DESTDIR=`pwd`/debian/tmp \
- + INSTALL_PROGRAM="$(INSTALL_PROGRAM)"
- + touch build
- +
- +clean:
- + rm -f build
- + rm -f i18n/*.mo
- + -$(MAKE) distclean
- + rm -f `find . -name "*~"`
- + rm -rf debian/tmp debian/files* core debian/substvars
- + cd debian && rm -rf recode librecode0 librecode-dev recode-doc
- +
- +binary-indep: build
- + debian/rules recode-doc
- +
- +binary-arch: build
- + debian/rules recode
- + debian/rules librecode0
- + debian/rules librecode-dev
- +
- +recode-doc: build
- + rm -rf debian/$@
- + install -d debian/$@/DEBIAN debian/$@/usr/share/doc/$@
- + install -d debian/$@/usr/share/doc-base
- + install -m 644 debian/$@.doc-base debian/$@/usr/share/doc-base/$@
- + install -m 755 debian/$@.postinst debian/$@/DEBIAN/postinst
- + install -m 755 debian/$@.prerm debian/$@/DEBIAN/prerm
- + cd doc && texi2html -split_chapter $(package).texi
- + mv doc/$(package)/*.html debian/$@/usr/share/doc/$@
- + rm -rf doc/$(package)
- + ln -s $(package)_toc.html debian/$@/usr/share/doc/$@/index.html
- + cp -p debian/copyright debian/$@/usr/share/doc/$@
- + cp -p ChangeLog debian/$@/usr/share/doc/$@/changelog
- + cp -p debian/changelog debian/$@/usr/share/doc/$@/changelog.Debian
- + cd debian/$@/usr/share/doc/$@ && gzip -9 changelog changelog.Debian
- + dpkg-gencontrol -isp -p$@ -Pdebian/$@
- + cd debian/$@ && \
- + md5sum `find * -type f ! -regex "DEBIAN/.*"` > DEBIAN/md5sums
- + chown -R root:root debian/$@
- + chmod -R go=rX debian/$@
- + dpkg --build debian/$@ ..
- +
- +recode: build
- + rm -rf debian/$@
- + install -d debian/$@/DEBIAN debian/$@/usr/share/doc/$@
- + cp -a debian/tmp/usr/share/locale debian/$@/usr/share
- + cp -a debian/tmp/usr/info debian/$@/usr/share
- + cp -a debian/tmp/usr/man debian/$@/usr/share
- + cp -a debian/tmp/usr/bin debian/$@/usr
- + cd debian && install -m 755 prerm postinst $@/DEBIAN
- + cp -p TODO NEWS THANKS doc/File-Latin1 debian/copyright \
- + debian/$@/usr/share/doc/$@
- + cp -p ChangeLog debian/$@/usr/share/doc/$@/changelog
- + cp -p debian/changelog debian/$@/usr/share/doc/$@/changelog.Debian
- + cd debian/$@/usr/share/doc/$@ && gzip -9 changelog changelog.Debian
- + gzip -9 debian/$@/usr/share/info/*
- + gzip -r9 debian/$@/usr/share/man
- + LD_LIBRARY_PATH=`pwd`/debian/tmp/usr/lib:$$LD_LIBRARY_PATH \
- + dpkg-shlibdeps debian/tmp/usr/bin/recode
- + dpkg-gencontrol -isp -p$(package) -Pdebian/$@
- + cd debian/$@ && \
- + md5sum `find * -type f ! -regex "DEBIAN/.*"` > DEBIAN/md5sums
- + chown -R root:root debian/$@
- + chmod -R go=rX debian/$@
- + dpkg --build debian/$@ ..
- +
- +librecode0: build
- + rm -rf debian/$@
- + install -d debian/$@/DEBIAN debian/$@/usr/share/doc/$@
- + install -d debian/$@/usr/lib
- + cp -a debian/tmp/usr/lib/librecode.so.0* debian/$@/usr/lib
- + install -m 755 debian/$@.postinst debian/$@/DEBIAN/postinst
- + install -m 644 debian/shlibs debian/$@/DEBIAN
- + cp -p debian/copyright debian/$@/usr/share/doc/$@
- + cp -p ChangeLog debian/$@/usr/share/doc/$@/changelog
- + cp -p debian/changelog debian/$@/usr/share/doc/$@/changelog.Debian
- + cd debian/$@/usr/share/doc/$@ && gzip -9 changelog changelog.Debian
- + $(STRIP) debian/$@/usr/lib/*.so.0.0.0
- + chmod -x debian/$@/usr/lib/*
- + dpkg-shlibdeps debian/$@/usr/lib/librecode.so.0
- + dpkg-gencontrol -isp -p$@ -Pdebian/$@
- + cd debian/$@ && \
- + md5sum `find * -type f ! -regex "DEBIAN/.*"` > DEBIAN/md5sums
- + chown -R root:root debian/$@
- + chmod -R go=rX debian/$@
- + dpkg --build debian/$@ ..
- +
- +librecode-dev: build
- + rm -rf debian/$@
- + install -d debian/$@/DEBIAN debian/$@/usr/share/doc
- + install -d debian/$@/usr/lib
- + ln -s librecode0 debian/$@/usr/share/doc/$@
- + cp -a debian/tmp/usr/lib/*.so debian/$@/usr/lib
- + cp -p debian/tmp/usr/lib/*.a debian/$@/usr/lib
- + cp -p debian/tmp/usr/lib/*.la debian/$@/usr/lib
- + cp -a debian/tmp/usr/include debian/$@/usr
- + $(ATRIP) debian/$@/usr/lib/*.a
- + chmod -x debian/$@/usr/lib/*.la
- + dpkg-gencontrol -isp -p$@ -Pdebian/$@
- + cd debian/$@ && \
- + md5sum `find * -type f ! -regex "DEBIAN/.*"` > DEBIAN/md5sums
- + chown -R root:root debian/$@
- + chmod -R go=rX debian/$@
- + dpkg --build debian/$@ ..
- +
- +binary: binary-indep binary-arch
- +
- +.PHONY: binary binary-arch binary-indep clean
- +.PHONY: recode librecode0 librecode-dev recode-doc
- --- recode-3.6.orig/debian/control
- +++ recode-3.6/debian/control
- @@ -0,0 +1,46 @@
- +Source: recode
- +Section: text
- +Priority: optional
- +Maintainer: Santiago Vila <sanvila@debian.org>
- +Standards-Version: 3.7.2
- +Build-Depends: gettext
- +Build-Depends-Indep: texi2html (>= 1.76)
- +
- +Package: recode
- +Architecture: any
- +Depends: ${shlibs:Depends}
- +Description: Character set conversion utility
- + Free `recode' converts files between character sets and usages. When
- + exact transliterations are not possible, it may get rid of the
- + offending characters or fall back on approximations. This program
- + recognizes or produces nearly 300 different character sets and is able
- + to transliterate files between almost any pair. Most RFC 1345
- + character sets, and all `libiconv' character sets, are supported.
- +
- +Package: recode-doc
- +Section: doc
- +Priority: optional
- +Architecture: all
- +Description: Documentation for Free recode
- + This package contains the HTML documentation for Free recode.
- +
- +Package: librecode0
- +Section: libs
- +Priority: optional
- +Architecture: any
- +Depends: ${shlibs:Depends}
- +Description: Shared library on which recode is based
- + This recoding library converts files between various coded character
- + sets and surface encodings. The library recognizes or produces more
- + than 300 different character sets and is able to convert files between
- + almost any pair. Most RFC 1345 character sets, and all `libiconv'
- + character sets, are supported.
- +
- +Package: librecode-dev
- +Section: libdevel
- +Priority: optional
- +Architecture: any
- +Depends: ${shlibs:Depends}, librecode0 (>= 3.6)
- +Description: Development package for librecode0
- + This package contains the header files and static librecode.a
- + library needed to build applications based on librecode.
- --- recode-3.6.orig/debian/postinst
- +++ recode-3.6/debian/postinst
- @@ -0,0 +1,4 @@
- +#!/bin/sh
- +set -e
- +install-info --quiet --section "General Commands" "General Commands" \
- + --description="Character set conversion utility." /usr/share/info/recode.info
- --- recode-3.6.orig/debian/librecode0.postinst
- +++ recode-3.6/debian/librecode0.postinst
- @@ -0,0 +1,5 @@
- +#!/bin/sh
- +set -e
- +if [ "$1" = "configure" ]; then
- + ldconfig
- +fi
- --- recode-3.6.orig/debian/recode-doc.doc-base
- +++ recode-3.6/debian/recode-doc.doc-base
- @@ -0,0 +1,16 @@
- +Document: recode-doc
- +Title: Free recode manual
- +Author: François Pinard
- +Abstract: This manual documents Free recode.
- + This recoding library converts files between various coded character
- + sets and surface encodings. When this cannot be achieved exactly, it
- + may get rid of the offending characters or fall back on approximations.
- + The library recognises or produces nearly 150 different character sets
- + and is able to convert files between almost any pair. Most RFC 1345
- + character sets are supported. The `recode' program is a handy
- + front-end to the library.
- +Section: Apps/Tools
- +
- +Format: HTML
- +Index: /usr/share/doc/recode-doc/index.html
- +Files: /usr/share/doc/recode-doc/*.html
- --- recode-3.6.orig/debian/copyright
- +++ recode-3.6/debian/copyright
- @@ -0,0 +1,38 @@
- +This is the Debian prepackaged version of Free recode, a program that
- +converts files between character sets and usages. Free recode was
- +written by François Pinard <pinard@iro.umontreal.ca>.
- +
- +This package was first put together by Klee Dienes <klee@mit.edu>.
- +
- +It is currently maintained by Santiago Vila <sanvila@debian.org>,
- +from sources obtained from:
- +
- +ftp://ftp.gnu.org/gnu/recode/recode-3.6.tar.gz
- +
- +The changes were fairly minimal, and consisted solely of adding
- +various debian/* files to the distribution.
- +
- +Copyright:
- +
- +The entire recode package is Copyright (C) the Free Software Foundation,
- +with the exception of ansi2knr.c, which is Copyright (C) Aladdin Enterprises.
- +
- +The program is distributed under the terms of the GNU General Public License:
- +
- + This program is free software; you can redistribute it and/or modify it
- + under the terms of the GNU General Public License as published by the
- + Free Software Foundation; either version 2, or (at your option) any
- + later version.
- +
- +The library is distributed under the terms of the GNU Lesser General
- +Public License:
- +
- + This library is free software; you can redistribute it and/or
- + modify it under the terms of the GNU Lesser General Public License
- + as published by the Free Software Foundation; either version 2 of the
- + License, or (at your option) any later version.
- +
- +On Debian systems, the complete text of the GNU General Public License
- +can be found in `/usr/share/common-licenses/GPL', and the complete
- +text of the GNU Lesser General Public License can be found in
- +`/usr/share/common-licenses/LGPL'.
- --- recode-3.6.orig/debian/changelog
- +++ recode-3.6/debian/changelog
- @@ -0,0 +1,191 @@
- +recode (3.6-15) unstable; urgency=low
- +
- + * Reduced size of "ignore" element in struct recode_symbol to 1 bit.
- + Should make gcc-4.3 happy. Closes: #462004.
- +
- + -- Santiago Vila <sanvila@debian.org> Wed, 2 Apr 2008 10:02:30 +0200
- +
- +recode (3.6-14) unstable; urgency=low
- +
- + * Should build twice in a row. Closes: #424291.
- + * Updated po files from translation project. Closes: #313925, #427366.
- +
- + -- Santiago Vila <sanvila@debian.org> Thu, 28 Jun 2007 21:25:18 +0200
- +
- +recode (3.6-13) unstable; urgency=medium
- +
- + * Updated config.guess and config.sub.
- + * Fixed NAME section in manpage (Closes: #368634).
- + * Removed build-dependency on flex (Closes: #402023).
- +
- + -- Santiago Vila <sanvila@debian.org> Fri, 8 Dec 2006 13:07:44 +0100
- +
- +recode (3.6-12) unstable; urgency=low
- +
- + * Updated config.guess and config.sub for GNU/kFreeBSD (Closes: #333452).
- +
- + -- Santiago Vila <sanvila@debian.org> Wed, 12 Oct 2005 17:12:34 +0200
- +
- +recode (3.6-11) unstable; urgency=low
- +
- + * Fixed FTBFS bug caused by new texi2html behaviour (Closes: #318557).
- + * Updated URL for original source in copyright file.
- + * Changed doc-base and copyright files to UTF-8.
- +
- + -- Santiago Vila <sanvila@debian.org> Sat, 16 Jul 2005 18:40:54 +0200
- +
- +recode (3.6-10) unstable; urgency=low
- +
- + * Removed executable bit from librecode.la to make lintian happy.
- + * Added -D_REENTRANT to CFLAGS, since there are libraries here.
- + * Rewritten debian/rules to allow parallel make.
- +
- + -- Santiago Vila <sanvila@debian.org> Thu, 9 Oct 2003 13:18:56 +0200
- +
- +recode (3.6-9) unstable; urgency=low
- +
- + * ./configure --without-included-gettext. Messages should now be shown
- + in UTF-8 if that's the charset for the selected locale (Closes: #207736).
- + * Updated a lot of translations from the Free Translation Project
- + (those having all the messages translated).
- + * Added gettext to Build-Depends: accordingly.
- +
- + -- Santiago Vila <sanvila@debian.org> Fri, 29 Aug 2003 19:22:24 +0200
- +
- +recode (3.6-8) unstable; urgency=low
- +
- + * Updated libtool stuff (Closes: #201945). Note: The size of the diff
- + is not an error, it's mainly the result of running libtoolize, updating
- + m4/libtool.m4 and acinclude.m4, running aclocal, and running autoconf.
- + * Removed file from Build-Depends, the new libtool should not require it.
- + * Updated/improved description for recode and librecode0 (Closes: #206875).
- + * Moved librecode-dev to Section: libdevel.
- +
- + -- Santiago Vila <sanvila@debian.org> Thu, 28 Aug 2003 17:05:04 +0200
- +
- +recode (3.6-7) unstable; urgency=medium
- +
- + * Fixed wrong pointer re-calculation in guarantee_nul_terminator().
- + Thanks a lot to Enrik Berkhan (Closes: #156635).
- + * Standards-Version: 3.5.7.
- +
- + -- Santiago Vila <sanvila@debian.org> Sun, 20 Oct 2002 21:23:02 +0200
- +
- +recode (3.6-6) unstable; urgency=medium
- +
- + * Modified hash.h so that functions hash_lookup, hash_delete, hash_free and
- + hash_insert are prefixed by `recode_' to prevent collisions with php4.
- + Thanks a lot to Steve Langasek and Bruno Haible. Closes: #131080.
- +
- + -- Santiago Vila <sanvila@debian.org> Fri, 8 Mar 2002 18:44:36 +0100
- +
- +recode (3.6-5) unstable; urgency=low
- +
- + * Fixed a librecode bug in recode_perform_task (Closes: #134899).
- + Thanks to Frederic Gobry and Enrik Berkhan.
- +
- + -- Santiago Vila <sanvila@debian.org> Thu, 21 Feb 2002 17:37:56 +0100
- +
- +recode (3.6-4) unstable; urgency=low
- +
- + * Removed README from the doc directory, since it contains only
- + installation information (Closes: #123000).
- + * Added support for DEB_BUILD_OPTIONS.
- +
- + -- Santiago Vila <sanvila@debian.org> Sun, 9 Dec 2001 13:04:18 +0100
- +
- +recode (3.6-3) unstable; urgency=high
- +
- + * UTF-8 should now work. Patch by Bruno Haible.
- + Closes: #94966, #113742, #114850.
- +
- + -- Santiago Vila <sanvila@debian.org> Sat, 20 Oct 2001 20:01:38 +0200
- +
- +recode (3.6-2) unstable; urgency=low
- +
- + * Updated config.sub/config.guess for parisc (Closes: #95974).
- + * Made debian/rules to preserve LD_LIBRARY_PATH to allow the build
- + by using fakeroot (Closes: #102358).
- + * Registered HTML docs using doc-base.
- +
- + -- Santiago Vila <sanvila@debian.org> Sun, 1 Jul 2001 13:14:16 +0200
- +
- +recode (3.6-1) unstable; urgency=low
- +
- + * New upstream release.
- + * Updated copyright and control files.
- + * Use >= for the shlibs file, just in case.
- + * Build-Depends-Indep: texi2html, not tetex-bin.
- + * Removed .comment and .note sections from shared library.
- +
- + -- Santiago Vila <sanvila@debian.org> Sat, 10 Mar 2001 15:03:36 +0100
- +
- +recode (3.5-3) unstable; urgency=medium
- +
- + * Fixed typo in Build-Depends field (Closes: #81211).
- +
- + -- Santiago Vila <sanvila@debian.org> Thu, 4 Jan 2001 16:18:43 +0100
- +
- +recode (3.5-2) unstable; urgency=low
- +
- + * Standards-Version: 3.1.1.
- + * Moved librecode0 to libs section.
- + * Moved librecode-dev to devel section.
- + * Build-Depends: flex, file. Build-Depends-Indep: tetex-bin.
- +
- + -- Santiago Vila <sanvila@debian.org> Sat, 30 Dec 2000 19:00:14 +0100
- +
- +recode (3.5-1) unstable; urgency=low
- +
- + * New upstream release.
- + * recode(1) is no longer "undocumented".
- + * Created two new packages: librecode0 and librecode-dev.
- +
- + -- Santiago Vila <sanvila@ctv.es> Fri, 18 Jun 1999 10:44:55 +0200
- +
- +recode (3.4.1-11) unstable; urgency=low
- +
- + * Added HTML docs, in a separate package.
- +
- + -- Santiago Vila <sanvila@ctv.es> Tue, 13 Oct 1998 21:22:43 +0200
- +
- +recode (3.4.1-10) unstable; urgency=low
- +
- + * More detailed copyright file.
- + * Removed debstd dependency.
- + * First libc6 release.
- + * Pristine source.
- +
- + -- Santiago Vila <sanvila@ctv.es> Sun, 9 Nov 1997 18:36:26 +0100
- +
- +recode (3.4.1-9) unstable; urgency=low
- +
- + * Some minor debian/rules changes.
- + * Added MD5 sums.
- +
- + -- Santiago Vila <sanvila@ctv.es> Sun, 23 Feb 1997 17:35:41 +0100
- +
- +recode (3.4.1-8) unstable; urgency=low
- +
- + * Converted to standards 2.1.2.2.
- + * New maintainer.
- +
- + -- Santiago Vila <sanvila@ctv.es> Wed, 29 Jan 1997 00:30:45 +0100
- +
- +recode (3.4.1-3);
- +
- + * Incremented version number (upload to ftp.debian.org crashed).
- +
- + -- Klee Dienes <klee@mit.edu> Sat Jan 27 14:58:57 MST 1996
- +
- +recode (3.4.1-2);
- +
- + * Changed to add entry for recode into info directory.
- +
- + -- Klee Dienes <klee@mit.edu> Sat Jan 27 14:42:54 MST 1996
- +
- +recode (3.4.1-1);
- +
- + * Initial Release.
- +
- + -- Klee Dienes <klee@mit.edu> Thu Jan 25 10:07:24 MST 1996
- --- recode-3.6.orig/Makefile.in
- +++ recode-3.6/Makefile.in
- @@ -119,7 +119,7 @@
- DIST_COMMON = README ./stamp-h.in ABOUT-NLS AUTHORS BACKLOG COPYING \
- ChangeLog INSTALL Makefile.am Makefile.in NEWS THANKS TODO acconfig.h \
- acinclude.m4 aclocal.m4 config.guess config.h.in config.sub configure \
- -configure.in install-sh ltconfig ltmain.sh missing mkinstalldirs
- +configure.in install-sh ltmain.sh missing mkinstalldirs
-
-
- DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
- --- recode-3.6.orig/ltmain.sh
- +++ recode-3.6/ltmain.sh
- @@ -1,7 +1,8 @@
- # ltmain.sh - Provide generalized library-building support services.
- -# NOTE: Changing this file will not affect anything until you rerun ltconfig.
- +# NOTE: Changing this file will not affect anything until you rerun configure.
- #
- -# Copyright (C) 1996-1999 Free Software Foundation, Inc.
- +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
- +# Free Software Foundation, Inc.
- # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
- #
- # This program is free software; you can redistribute it and/or modify
- @@ -48,14 +49,14 @@
- fi
-
- # The name of this program.
- -progname=`$echo "$0" | sed 's%^.*/%%'`
- +progname=`$echo "$0" | ${SED} 's%^.*/%%'`
- modename="$progname"
-
- # Constants.
- PROGRAM=ltmain.sh
- PACKAGE=libtool
- -VERSION=1.3.4
- -TIMESTAMP=" (1.385.2.196 1999/12/07 21:47:57)"
- +VERSION=1.4.3
- +TIMESTAMP=" (1.922.2.111 2002/10/23 02:54:36) Debian$Rev: 50 $"
-
- default_mode=
- help="Try \`$progname --help' for more information."
- @@ -66,10 +67,19 @@
-
- # Sed substitution that helps us do robust quoting. It backslashifies
- # metacharacters that are still active within double-quoted strings.
- -Xsed='sed -e 1s/^X//'
- +Xsed="${SED}"' -e 1s/^X//'
- sed_quote_subst='s/\([\\`\\"$\\\\]\)/\\\1/g'
- -SP2NL='tr \040 \012'
- -NL2SP='tr \015\012 \040\040'
- +# test EBCDIC or ASCII
- +case `echo A|od -x` in
- + *[Cc]1*) # EBCDIC based system
- + SP2NL="tr '\100' '\n'"
- + NL2SP="tr '\r\n' '\100\100'"
- + ;;
- + *) # Assume ASCII based system
- + SP2NL="tr '\040' '\012'"
- + NL2SP="tr '\015\012' '\040\040'"
- + ;;
- +esac
-
- # NLS nuisances.
- # Only set LANG and LC_ALL to C if already set.
- @@ -83,11 +93,9 @@
- save_LANG="$LANG"; LANG=C; export LANG
- fi
-
- -if test "$LTCONFIG_VERSION" != "$VERSION"; then
- - echo "$modename: ltconfig version \`$LTCONFIG_VERSION' does not match $PROGRAM version \`$VERSION'" 1>&2
- - echo "Fatal configuration error. See the $PACKAGE docs for more information." 1>&2
- - exit 1
- -fi
- +# Make sure IFS has a sensible default
- +: ${IFS="
- +"}
-
- if test "$build_libtool_libs" != yes && test "$build_old_libs" != yes; then
- echo "$modename: not configured to build any kind of library" 1>&2
- @@ -113,16 +121,16 @@
- arg="$1"
- shift
-
- - case "$arg" in
- + case $arg in
- -*=*) optarg=`$echo "X$arg" | $Xsed -e 's/[-_a-zA-Z0-9]*=//'` ;;
- *) optarg= ;;
- esac
-
- # If the previous option needs an argument, assign it.
- if test -n "$prev"; then
- - case "$prev" in
- + case $prev in
- execute_dlfiles)
- - eval "$prev=\"\$$prev \$arg\""
- + execute_dlfiles="$execute_dlfiles $arg"
- ;;
- *)
- eval "$prev=\$arg"
- @@ -135,7 +143,7 @@
- fi
-
- # Have we seen a non-optional argument yet?
- - case "$arg" in
- + case $arg in
- --help)
- show_help=yes
- ;;
- @@ -146,7 +154,7 @@
- ;;
-
- --config)
- - sed -e '1,/^### BEGIN LIBTOOL CONFIG/d' -e '/^### END LIBTOOL CONFIG/,$d' $0
- + ${SED} -e '1,/^# ### BEGIN LIBTOOL CONFIG/d' -e '/^# ### END LIBTOOL CONFIG/,$d' $0
- exit 0
- ;;
-
- @@ -179,6 +187,8 @@
- --mode) prevopt="--mode" prev=mode ;;
- --mode=*) mode="$optarg" ;;
-
- + --preserve-dup-deps) duplicate_deps="yes" ;;
- +
- --quiet | --silent)
- show=:
- ;;
- @@ -207,16 +217,21 @@
- exit 1
- fi
-
- +# If this variable is set in any of the actions, the command in it
- +# will be execed at the end. This prevents here-documents from being
- +# left over by shells.
- +exec_cmd=
- +
- if test -z "$show_help"; then
-
- # Infer the operation mode.
- if test -z "$mode"; then
- - case "$nonopt" in
- - *cc | *++ | gcc* | *-gcc*)
- + case $nonopt in
- + *cc | *++ | gcc* | *-gcc* | g++* | xlc*)
- mode=link
- for arg
- do
- - case "$arg" in
- + case $arg in
- -c)
- mode=compile
- break
- @@ -261,12 +276,13 @@
- help="Try \`$modename --help --mode=$mode' for more information."
-
- # These modes are in order of execution frequency so that they run quickly.
- - case "$mode" in
- + case $mode in
- # libtool compile mode
- compile)
- modename="$modename: compile"
- # Get the compilation command and the source file.
- base_compile=
- + prev=
- lastarg=
- srcfile="$nonopt"
- suppress_output=
- @@ -274,8 +290,34 @@
- user_target=no
- for arg
- do
- + case $prev in
- + "") ;;
- + xcompiler)
- + # Aesthetically quote the previous argument.
- + prev=
- + lastarg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
- +
- + case $arg in
- + # Double-quote args containing other shell metacharacters.
- + # Many Bourne shells cannot handle close brackets correctly
- + # in scan sets, so we specify it separately.
- + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
- + arg="\"$arg\""
- + ;;
- + esac
- +
- + # Add the previous argument to base_compile.
- + if test -z "$base_compile"; then
- + base_compile="$lastarg"
- + else
- + base_compile="$base_compile $lastarg"
- + fi
- + continue
- + ;;
- + esac
- +
- # Accept any command-line options.
- - case "$arg" in
- + case $arg in
- -o)
- if test "$user_target" != "no"; then
- $echo "$modename: you cannot specify \`-o' more than once" 1>&2
- @@ -288,9 +330,53 @@
- build_old_libs=yes
- continue
- ;;
- +
- + -prefer-pic)
- + pic_mode=yes
- + continue
- + ;;
- +
- + -prefer-non-pic)
- + pic_mode=no
- + continue
- + ;;
- +
- + -Xcompiler)
- + prev=xcompiler
- + continue
- + ;;
- +
- + -Wc,*)
- + args=`$echo "X$arg" | $Xsed -e "s/^-Wc,//"`
- + lastarg=
- + save_ifs="$IFS"; IFS=','
- + for arg in $args; do
- + IFS="$save_ifs"
- +
- + # Double-quote args containing other shell metacharacters.
- + # Many Bourne shells cannot handle close brackets correctly
- + # in scan sets, so we specify it separately.
- + case $arg in
- + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
- + arg="\"$arg\""
- + ;;
- + esac
- + lastarg="$lastarg $arg"
- + done
- + IFS="$save_ifs"
- + lastarg=`$echo "X$lastarg" | $Xsed -e "s/^ //"`
- +
- + # Add the arguments to base_compile.
- + if test -z "$base_compile"; then
- + base_compile="$lastarg"
- + else
- + base_compile="$base_compile $lastarg"
- + fi
- + continue
- + ;;
- esac
-
- - case "$user_target" in
- + case $user_target in
- next)
- # The next one is the -o target name
- user_target=yes
- @@ -316,10 +402,10 @@
- lastarg=`$echo "X$lastarg" | $Xsed -e "$sed_quote_subst"`
-
- # Double-quote args containing other shell metacharacters.
- - # Many Bourne shells cannot handle close brackets correctly in scan
- - # sets, so we specify it separately.
- - case "$lastarg" in
- - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*)
- + # Many Bourne shells cannot handle close brackets correctly
- + # in scan sets, so we specify it separately.
- + case $lastarg in
- + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
- lastarg="\"$lastarg\""
- ;;
- esac
- @@ -332,7 +418,7 @@
- fi
- done
-
- - case "$user_target" in
- + case $user_target in
- set)
- ;;
- no)
- @@ -348,7 +434,7 @@
- # Recognize several different file suffixes.
- # If the user specifies -o file.o, it is replaced with file.lo
- xform='[cCFSfmso]'
- - case "$libobj" in
- + case $libobj in
- *.ada) xform=ada ;;
- *.adb) xform=adb ;;
- *.ads) xform=ads ;;
- @@ -363,7 +449,7 @@
-
- libobj=`$echo "X$libobj" | $Xsed -e "s/\.$xform$/.lo/"`
-
- - case "$libobj" in
- + case $libobj in
- *.lo) obj=`$echo "X$libobj" | $Xsed -e "$lo2o"` ;;
- *)
- $echo "$modename: cannot determine name of library object from \`$libobj'" 1>&2
- @@ -387,10 +473,21 @@
- $run $rm $removelist
- trap "$run $rm $removelist; exit 1" 1 2 15
-
- + # On Cygwin there's no "real" PIC flag so we must build both object types
- + case $host_os in
- + cygwin* | mingw* | pw32* | os2*)
- + pic_mode=default
- + ;;
- + esac
- + if test "$pic_mode" = no && test "$deplibs_check_method" != pass_all; then
- + # non-PIC code in shared libraries is not supported
- + pic_mode=default
- + fi
- +
- # Calculate the filename of the output object if compiler does
- # not support -o with -c
- if test "$compiler_c_o" = no; then
- - output_obj=`$echo "X$srcfile" | $Xsed -e 's%^.*/%%' -e 's%\..*$%%'`.${objext}
- + output_obj=`$echo "X$srcfile" | $Xsed -e 's%^.*/%%' -e 's%\.[^.]*$%%'`.${objext}
- lockfile="$output_obj.lock"
- removelist="$removelist $output_obj $lockfile"
- trap "$run $rm $removelist; exit 1" 1 2 15
- @@ -402,7 +499,7 @@
- # Lock this critical section if it is needed
- # We use this script file to make the link, it avoids creating a new file
- if test "$need_locks" = yes; then
- - until ln "$0" "$lockfile" 2>/dev/null; do
- + until $run ln "$0" "$lockfile" 2>/dev/null; do
- $show "Waiting for $lockfile to be removed"
- sleep 2
- done
- @@ -434,8 +531,13 @@
- # Without this assignment, base_compile gets emptied.
- fbsd_hideous_sh_bug=$base_compile
-
- - # All platforms use -DPIC, to notify preprocessed assembler code.
- - command="$base_compile $srcfile $pic_flag -DPIC"
- + if test "$pic_mode" != no; then
- + # All platforms use -DPIC, to notify preprocessed assembler code.
- + command="$base_compile $srcfile $pic_flag -DPIC"
- + else
- + # Don't build PIC code
- + command="$base_compile $srcfile"
- + fi
- if test "$build_old_libs" = yes; then
- lo_libobj="$libobj"
- dir=`$echo "X$libobj" | $Xsed -e 's%/[^/]*$%%'`
- @@ -506,7 +608,8 @@
- fi
-
- # If we have no pic_flag, then copy the object into place and finish.
- - if test -z "$pic_flag" && test "$build_old_libs" = yes; then
- + if (test -z "$pic_flag" || test "$pic_mode" != default) &&
- + test "$build_old_libs" = yes; then
- # Rename the .lo from within objdir to obj
- if test -f $obj; then
- $show $rm $obj
- @@ -532,6 +635,10 @@
- # Now arrange that obj and lo_libobj become the same file
- $show "(cd $xdir && $LN_S $baseobj $libobj)"
- if $run eval '(cd $xdir && $LN_S $baseobj $libobj)'; then
- + # Unlock the critical section if it was locked
- + if test "$need_locks" != no; then
- + $run $rm "$lockfile"
- + fi
- exit 0
- else
- error=$?
- @@ -546,7 +653,13 @@
-
- # Only build a position-dependent object if we build old libraries.
- if test "$build_old_libs" = yes; then
- - command="$base_compile $srcfile"
- + if test "$pic_mode" != yes; then
- + # Don't build PIC code
- + command="$base_compile $srcfile"
- + else
- + # All platforms use -DPIC, to notify preprocessed assembler code.
- + command="$base_compile $srcfile $pic_flag -DPIC"
- + fi
- if test "$compiler_c_o" = yes; then
- command="$command -o $obj"
- output_obj="$obj"
- @@ -612,17 +725,17 @@
-
- # Unlock the critical section if it was locked
- if test "$need_locks" != no; then
- - $rm "$lockfile"
- + $run $rm "$lockfile"
- fi
-
- exit 0
- ;;
-
- # libtool link mode
- - link)
- + link | relink)
- modename="$modename: link"
- - case "$host" in
- - *-*-cygwin* | *-*-mingw* | *-*-os2*)
- + case $host in
- + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
- # It is impossible to link a dll without this setting, and
- # we shouldn't force the makefile maintainer to figure out
- # which system we are compiling for in order to pass an extra
- @@ -635,179 +748,12 @@
- # -no-undefined on the libtool link line when we can be certain
- # that all symbols are satisfied, otherwise we get a static library.
- allow_undefined=yes
- -
- - # This is a source program that is used to create dlls on Windows
- - # Don't remove nor modify the starting and closing comments
- -# /* ltdll.c starts here */
- -# #define WIN32_LEAN_AND_MEAN
- -# #include <windows.h>
- -# #undef WIN32_LEAN_AND_MEAN
- -# #include <stdio.h>
- -#
- -# #ifndef __CYGWIN__
- -# # ifdef __CYGWIN32__
- -# # define __CYGWIN__ __CYGWIN32__
- -# # endif
- -# #endif
- -#
- -# #ifdef __cplusplus
- -# extern "C" {
- -# #endif
- -# BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved);
- -# #ifdef __cplusplus
- -# }
- -# #endif
- -#
- -# #ifdef __CYGWIN__
- -# #include <cygwin/cygwin_dll.h>
- -# DECLARE_CYGWIN_DLL( DllMain );
- -# #endif
- -# HINSTANCE __hDllInstance_base;
- -#
- -# BOOL APIENTRY
- -# DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved)
- -# {
- -# __hDllInstance_base = hInst;
- -# return TRUE;
- -# }
- -# /* ltdll.c ends here */
- - # This is a source program that is used to create import libraries
- - # on Windows for dlls which lack them. Don't remove nor modify the
- - # starting and closing comments
- -# /* impgen.c starts here */
- -# /* Copyright (C) 1999 Free Software Foundation, Inc.
- -#
- -# This file is part of GNU libtool.
- -#
- -# This program is free software; you can redistribute it and/or modify
- -# it under the terms of the GNU General Public License as published by
- -# the Free Software Foundation; either version 2 of the License, or
- -# (at your option) any later version.
- -#
- -# This program is distributed in the hope that it will be useful,
- -# but WITHOUT ANY WARRANTY; without even the implied warranty of
- -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- -# GNU General Public License for more details.
- -#
- -# You should have received a copy of the GNU General Public License
- -# along with this program; if not, write to the Free Software
- -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
- -# */
- -#
- -# #include <stdio.h> /* for printf() */
- -# #include <unistd.h> /* for open(), lseek(), read() */
- -# #include <fcntl.h> /* for O_RDONLY, O_BINARY */
- -# #include <string.h> /* for strdup() */
- -#
- -# static unsigned int
- -# pe_get16 (fd, offset)
- -# int fd;
- -# int offset;
- -# {
- -# unsigned char b[2];
- -# lseek (fd, offset, SEEK_SET);
- -# read (fd, b, 2);
- -# return b[0] + (b[1]<<8);
- -# }
- -#
- -# static unsigned int
- -# pe_get32 (fd, offset)
- -# int fd;
- -# int offset;
- -# {
- -# unsigned char b[4];
- -# lseek (fd, offset, SEEK_SET);
- -# read (fd, b, 4);
- -# return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24);
- -# }
- -#
- -# static unsigned int
- -# pe_as32 (ptr)
- -# void *ptr;
- -# {
- -# unsigned char *b = ptr;
- -# return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24);
- -# }
- -#
- -# int
- -# main (argc, argv)
- -# int argc;
- -# char *argv[];
- -# {
- -# int dll;
- -# unsigned long pe_header_offset, opthdr_ofs, num_entries, i;
- -# unsigned long export_rva, export_size, nsections, secptr, expptr;
- -# unsigned long name_rvas, nexp;
- -# unsigned char *expdata, *erva;
- -# char *filename, *dll_name;
- -#
- -# filename = argv[1];
- -#
- -# dll = open(filename, O_RDONLY|O_BINARY);
- -# if (!dll)
- -# return 1;
- -#
- -# dll_name = filename;
- -#
- -# for (i=0; filename[i]; i++)
- -# if (filename[i] == '/' || filename[i] == '\\' || filename[i] == ':')
- -# dll_name = filename + i +1;
- -#
- -# pe_header_offset = pe_get32 (dll, 0x3c);
- -# opthdr_ofs = pe_header_offset + 4 + 20;
- -# num_entries = pe_get32 (dll, opthdr_ofs + 92);
- -#
- -# if (num_entries < 1) /* no exports */
- -# return 1;
- -#
- -# export_rva = pe_get32 (dll, opthdr_ofs + 96);
- -# export_size = pe_get32 (dll, opthdr_ofs + 100);
- -# nsections = pe_get16 (dll, pe_header_offset + 4 +2);
- -# secptr = (pe_header_offset + 4 + 20 +
- -# pe_get16 (dll, pe_header_offset + 4 + 16));
- -#
- -# expptr = 0;
- -# for (i = 0; i < nsections; i++)
- -# {
- -# char sname[8];
- -# unsigned long secptr1 = secptr + 40 * i;
- -# unsigned long vaddr = pe_get32 (dll, secptr1 + 12);
- -# unsigned long vsize = pe_get32 (dll, secptr1 + 16);
- -# unsigned long fptr = pe_get32 (dll, secptr1 + 20);
- -# lseek(dll, secptr1, SEEK_SET);
- -# read(dll, sname, 8);
- -# if (vaddr <= export_rva && vaddr+vsize > export_rva)
- -# {
- -# expptr = fptr + (export_rva - vaddr);
- -# if (export_rva + export_size > vaddr + vsize)
- -# export_size = vsize - (export_rva - vaddr);
- -# break;
- -# }
- -# }
- -#
- -# expdata = (unsigned char*)malloc(export_size);
- -# lseek (dll, expptr, SEEK_SET);
- -# read (dll, expdata, export_size);
- -# erva = expdata - export_rva;
- -#
- -# nexp = pe_as32 (expdata+24);
- -# name_rvas = pe_as32 (expdata+32);
- -#
- -# printf ("EXPORTS\n");
- -# for (i = 0; i<nexp; i++)
- -# {
- -# unsigned long name_rva = pe_as32 (erva+name_rvas+i*4);
- -# printf ("\t%s @ %ld ;\n", erva+name_rva, 1+ i);
- -# }
- -#
- -# return 0;
- -# }
- -# /* impgen.c ends here */
- ;;
- *)
- allow_undefined=yes
- ;;
- esac
- + libtool_args="$nonopt"
- compile_command="$nonopt"
- finalize_command="$nonopt"
-
- @@ -818,18 +764,13 @@
- convenience=
- old_convenience=
- deplibs=
- - linkopts=
- + old_deplibs=
- + compiler_flags=
- + linker_flags=
- + dllsearchpath=
- + lib_search_path=`pwd`
- + inst_prefix_dir=
-
- - if test -n "$shlibpath_var"; then
- - # get the directories listed in $shlibpath_var
- - eval lib_search_path=\`\$echo \"X \${$shlibpath_var}\" \| \$Xsed -e \'s/:/ /g\'\`
- - else
- - lib_search_path=
- - fi
- - # now prepend the system-specific ones
- - eval lib_search_path=\"$sys_lib_search_path_spec\$lib_search_path\"
- - eval sys_lib_dlsearch_path=\"$sys_lib_dlsearch_path_spec\"
- -
- avoid_version=no
- dlfiles=
- dlprefiles=
- @@ -839,9 +780,9 @@
- export_symbols_regex=
- generated=
- libobjs=
- - link_against_libtool_libs=
- ltlibs=
- module=no
- + no_install=no
- objs=
- prefer_static_libs=no
- preload=no
- @@ -858,7 +799,7 @@
- # We need to know -static, to get the right output filenames.
- for arg
- do
- - case "$arg" in
- + case $arg in
- -all-static | -static)
- if test "X$arg" = "X-all-static"; then
- if test "$build_libtool_libs" = yes && test -z "$link_static_flag"; then
- @@ -887,17 +828,24 @@
- while test $# -gt 0; do
- arg="$1"
- shift
- + case $arg in
- + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
- + qarg=\"`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`\" ### testsuite: skip nested quoting test
- + ;;
- + *) qarg=$arg ;;
- + esac
- + libtool_args="$libtool_args $qarg"
-
- # If the previous option needs an argument, assign it.
- if test -n "$prev"; then
- - case "$prev" in
- + case $prev in
- output)
- compile_command="$compile_command @OUTPUT@"
- finalize_command="$finalize_command @OUTPUT@"
- ;;
- esac
-
- - case "$prev" in
- + case $prev in
- dlfiles|dlprefiles)
- if test "$preload" = no; then
- # Add the symbol object into the linking commands.
- @@ -905,7 +853,7 @@
- finalize_command="$finalize_command @SYMFILE@"
- preload=yes
- fi
- - case "$arg" in
- + case $arg in
- *.la | *.lo) ;; # We handle these cases below.
- force)
- if test "$dlself" = no; then
- @@ -934,6 +882,7 @@
- dlprefiles="$dlprefiles $arg"
- fi
- prev=
- + continue
- ;;
- esac
- ;;
- @@ -951,6 +900,11 @@
- prev=
- continue
- ;;
- + inst_prefix)
- + inst_prefix_dir="$arg"
- + prev=
- + continue
- + ;;
- release)
- release="-$arg"
- prev=
- @@ -958,7 +912,7 @@
- ;;
- rpath | xrpath)
- # We need an absolute path.
- - case "$arg" in
- + case $arg in
- [\\/]* | [A-Za-z]:[\\/]*) ;;
- *)
- $echo "$modename: only absolute run-paths are allowed" 1>&2
- @@ -979,17 +933,32 @@
- prev=
- continue
- ;;
- + xcompiler)
- + compiler_flags="$compiler_flags $qarg"
- + prev=
- + compile_command="$compile_command $qarg"
- + finalize_command="$finalize_command $qarg"
- + continue
- + ;;
- + xlinker)
- + linker_flags="$linker_flags $qarg"
- + compiler_flags="$compiler_flags $wl$qarg"
- + prev=
- + compile_command="$compile_command $wl$qarg"
- + finalize_command="$finalize_command $wl$qarg"
- + continue
- + ;;
- *)
- eval "$prev=\"\$arg\""
- prev=
- continue
- ;;
- esac
- - fi
- + fi # test -n $prev
-
- prevarg="$arg"
-
- - case "$arg" in
- + case $arg in
- -all-static)
- if test -n "$link_static_flag"; then
- compile_command="$compile_command $link_static_flag"
- @@ -1026,7 +995,7 @@
-
- -export-symbols | -export-symbols-regex)
- if test -n "$export_symbols" || test -n "$export_symbols_regex"; then
- - $echo "$modename: not more than one -exported-symbols argument allowed"
- + $echo "$modename: more than one -exported-symbols argument is not allowed"
- exit 1
- fi
- if test "X$arg" = "X-export-symbols"; then
- @@ -1037,58 +1006,83 @@
- continue
- ;;
-
- + -inst-prefix-dir)
- + prev=inst_prefix
- + continue
- + ;;
- +
- + # The native IRIX linker understands -LANG:*, -LIST:* and -LNO:*
- + # so, if we see these flags be careful not to treat them like -L
- + -L[A-Z][A-Z]*:*)
- + if test -z "$with_gcc"; then
- + case $host in
- + *-*-irix* | *-*-nonstopux*)
- + compile_command="$compile_command $arg"
- + finalize_command="$finalize_command $arg"
- + ;;
- + esac
- + fi
- + continue
- + ;;
- +
- -L*)
- dir=`$echo "X$arg" | $Xsed -e 's/^-L//'`
- # We need an absolute path.
- - case "$dir" in
- + case $dir in
- [\\/]* | [A-Za-z]:[\\/]*) ;;
- *)
- absdir=`cd "$dir" && pwd`
- if test -z "$absdir"; then
- - $echo "$modename: warning: cannot determine absolute directory name of \`$dir'" 1>&2
- - $echo "$modename: passing it literally to the linker, although it might fail" 1>&2
- - absdir="$dir"
- + $echo "$modename: cannot determine absolute directory name of \`$dir'" 1>&2
- + exit 1
- fi
- dir="$absdir"
- ;;
- esac
- - case " $deplibs " in
- - *" $arg "*) ;;
- - *) deplibs="$deplibs $arg";;
- - esac
- - case " $lib_search_path " in
- - *" $dir "*) ;;
- - *) lib_search_path="$lib_search_path $dir";;
- + case "$deplibs " in
- + *" -L$dir "*) ;;
- + *)
- + deplibs="$deplibs -L$dir"
- + lib_search_path="$lib_search_path $dir"
- + ;;
- esac
- - case "$host" in
- - *-*-cygwin* | *-*-mingw* | *-*-os2*)
- - dllsearchdir=`cd "$dir" && pwd || echo "$dir"`
- - case ":$dllsearchpath:" in
- - ::) dllsearchpath="$dllsearchdir";;
- - *":$dllsearchdir:"*) ;;
- - *) dllsearchpath="$dllsearchpath:$dllsearchdir";;
- + case $host in
- + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
- + case :$dllsearchpath: in
- + *":$dir:"*) ;;
- + *) dllsearchpath="$dllsearchpath:$dir";;
- esac
- ;;
- esac
- + continue
- ;;
-
- -l*)
- - if test "$arg" = "-lc"; then
- - case "$host" in
- - *-*-cygwin* | *-*-mingw* | *-*-os2* | *-*-beos*)
- - # These systems don't actually have c library (as such)
- + if test "X$arg" = "X-lc" || test "X$arg" = "X-lm"; then
- + case $host in
- + *-*-cygwin* | *-*-pw32* | *-*-beos*)
- + # These systems don't actually have a C or math library (as such)
- continue
- ;;
- + *-*-mingw* | *-*-os2*)
- + # These systems don't actually have a C library (as such)
- + test "X$arg" = "X-lc" && continue
- + ;;
- + *-*-openbsd* | *-*-freebsd*)
- + # Do not include libc due to us having libc/libc_r.
- + test "X$arg" = "X-lc" && continue
- + ;;
- esac
- - elif test "$arg" = "-lm"; then
- - case "$host" in
- - *-*-cygwin* | *-*-beos*)
- - # These systems don't actually have math library (as such)
- + elif test "X$arg" = "X-lc_r"; then
- + case $host in
- + *-*-openbsd* | *-*-freebsd*)
- + # Do not include libc_r directly, use -pthread flag.
- continue
- ;;
- esac
- fi
- deplibs="$deplibs $arg"
- + continue
- ;;
-
- -module)
- @@ -1096,6 +1090,25 @@
- continue
- ;;
-
- + -no-fast-install)
- + fast_install=no
- + continue
- + ;;
- +
- + -no-install)
- + case $host in
- + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
- + # The PATH hackery in wrapper scripts is required on Windows
- + # in order for the loader to find any dlls it needs.
- + $echo "$modename: warning: \`-no-install' is ignored for $host" 1>&2
- + $echo "$modename: warning: assuming \`-no-fast-install' instead" 1>&2
- + fast_install=no
- + ;;
- + *) no_install=yes ;;
- + esac
- + continue
- + ;;
- +
- -no-undefined)
- allow_undefined=no
- continue
- @@ -1121,7 +1134,7 @@
- -R*)
- dir=`$echo "X$arg" | $Xsed -e 's/^-R//'`
- # We need an absolute path.
- - case "$dir" in
- + case $dir in
- [\\/]* | [A-Za-z]:[\\/]*) ;;
- *)
- $echo "$modename: only absolute run-paths are allowed" 1>&2
- @@ -1136,11 +1149,11 @@
- ;;
-
- -static)
- - # If we have no pic_flag, then this is the same as -all-static.
- - if test -z "$pic_flag" && test -n "$link_static_flag"; then
- - compile_command="$compile_command $link_static_flag"
- - finalize_command="$finalize_command $link_static_flag"
- - fi
- + # The effects of -static are defined in a previous loop.
- + # We used to do the same as -all-static on platforms that
- + # didn't have a PIC flag, but the assumption that the effects
- + # would be equivalent was wrong. It would break on at least
- + # Digital Unix and AIX.
- continue
- ;;
-
- @@ -1154,28 +1167,76 @@
- continue
- ;;
-
- + -Wc,*)
- + args=`$echo "X$arg" | $Xsed -e "$sed_quote_subst" -e 's/^-Wc,//'`
- + arg=
- + save_ifs="$IFS"; IFS=','
- + for flag in $args; do
- + IFS="$save_ifs"
- + case $flag in
- + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
- + flag="\"$flag\""
- + ;;
- + esac
- + arg="$arg $wl$flag"
- + compiler_flags="$compiler_flags $flag"
- + done
- + IFS="$save_ifs"
- + arg=`$echo "X$arg" | $Xsed -e "s/^ //"`
- + ;;
- +
- + -Wl,*)
- + args=`$echo "X$arg" | $Xsed -e "$sed_quote_subst" -e 's/^-Wl,//'`
- + arg=
- + save_ifs="$IFS"; IFS=','
- + for flag in $args; do
- + IFS="$save_ifs"
- + case $flag in
- + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
- + flag="\"$flag\""
- + ;;
- + esac
- + arg="$arg $wl$flag"
- + compiler_flags="$compiler_flags $wl$flag"
- + linker_flags="$linker_flags $flag"
- + done
- + IFS="$save_ifs"
- + arg=`$echo "X$arg" | $Xsed -e "s/^ //"`
- + ;;
- +
- + -Xcompiler)
- + prev=xcompiler
- + continue
- + ;;
- +
- + -Xlinker)
- + prev=xlinker
- + continue
- + ;;
- +
- + -Kthread | -mthreads | -mt | -pthread | -pthreads | -threads | -qthreaded | -kthread )
- + compiler_flags="$compiler_flags $arg"
- + continue
- + ;;
- +
- # Some other compiler flag.
- -* | +*)
- # Unknown arguments in both finalize_command and compile_command need
- # to be aesthetically quoted because they are evaled later.
- arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
- - case "$arg" in
- - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*)
- + case $arg in
- + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
- arg="\"$arg\""
- ;;
- esac
- ;;
-
- - *.o | *.obj | *.a | *.lib)
- - # A standard object.
- - objs="$objs $arg"
- - ;;
- -
- - *.lo)
- - # A library object.
- + *.lo | *.$objext)
- + # A library or standard object.
- if test "$prev" = dlfiles; then
- - dlfiles="$dlfiles $arg"
- - if test "$build_libtool_libs" = yes && test "$dlopen" = yes; then
- + # This file was specified with -dlopen.
- + if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then
- + dlfiles="$dlfiles $arg"
- prev=
- continue
- else
- @@ -1188,357 +1249,917 @@
- # Preload the old-style object.
- dlprefiles="$dlprefiles "`$echo "X$arg" | $Xsed -e "$lo2o"`
- prev=
- + else
- + case $arg in
- + *.lo) libobjs="$libobjs $arg" ;;
- + *) objs="$objs $arg" ;;
- + esac
- fi
- - libobjs="$libobjs $arg"
- + ;;
- +
- + *.$libext)
- + # An archive.
- + deplibs="$deplibs $arg"
- + old_deplibs="$old_deplibs $arg"
- + continue
- ;;
-
- *.la)
- # A libtool-controlled library.
-
- - dlname=
- - libdir=
- - library_names=
- - old_library=
- -
- - # Check to see that this really is a libtool archive.
- - if (sed -e '2q' $arg | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then :
- + if test "$prev" = dlfiles; then
- + # This library was specified with -dlopen.
- + dlfiles="$dlfiles $arg"
- + prev=
- + elif test "$prev" = dlprefiles; then
- + # The library was specified with -dlpreopen.
- + dlprefiles="$dlprefiles $arg"
- + prev=
- else
- - $echo "$modename: \`$arg' is not a valid libtool archive" 1>&2
- - exit 1
- + deplibs="$deplibs $arg"
- fi
- + continue
- + ;;
-
- - # If the library was installed with an old release of libtool,
- - # it will not redefine variable installed.
- - installed=yes
- -
- - # Read the .la file
- - # If there is no directory component, then add one.
- - case "$arg" in
- - */* | *\\*) . $arg ;;
- - *) . ./$arg ;;
- + # Some other compiler argument.
- + *)
- + # Unknown arguments in both finalize_command and compile_command need
- + # to be aesthetically quoted because they are evaled later.
- + arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
- + case $arg in
- + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
- + arg="\"$arg\""
- + ;;
- esac
- + ;;
- + esac # arg
-
- - # Get the name of the library we link against.
- - linklib=
- - for l in $old_library $library_names; do
- - linklib="$l"
- - done
- -
- - if test -z "$linklib"; then
- - $echo "$modename: cannot find name of link library for \`$arg'" 1>&2
- - exit 1
- - fi
- -
- - # Find the relevant object directory and library name.
- - name=`$echo "X$arg" | $Xsed -e 's%^.*/%%' -e 's/\.la$//' -e 's/^lib//'`
- + # Now actually substitute the argument into the commands.
- + if test -n "$arg"; then
- + compile_command="$compile_command $arg"
- + finalize_command="$finalize_command $arg"
- + fi
- + done # argument parsing loop
-
- - if test "X$installed" = Xyes; then
- - dir="$libdir"
- - else
- - dir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'`
- - if test "X$dir" = "X$arg"; then
- - dir="$objdir"
- - else
- - dir="$dir/$objdir"
- - fi
- - fi
- + if test -n "$prev"; then
- + $echo "$modename: the \`$prevarg' option requires an argument" 1>&2
- + $echo "$help" 1>&2
- + exit 1
- + fi
-
- - if test -n "$dependency_libs"; then
- - # Extract -R and -L from dependency_libs
- - temp_deplibs=
- - for deplib in $dependency_libs; do
- - case "$deplib" in
- - -R*) temp_xrpath=`$echo "X$deplib" | $Xsed -e 's/^-R//'`
- - case " $rpath $xrpath " in
- - *" $temp_xrpath "*) ;;
- - *) xrpath="$xrpath $temp_xrpath";;
- - esac;;
- - -L*) case "$compile_command $temp_deplibs " in
- - *" $deplib "*) ;;
- - *) temp_deplibs="$temp_deplibs $deplib";;
- - esac
- - temp_dir=`$echo "X$deplib" | $Xsed -e 's/^-L//'`
- - case " $lib_search_path " in
- - *" $temp_dir "*) ;;
- - *) lib_search_path="$lib_search_path $temp_dir";;
- - esac
- - ;;
- - *) temp_deplibs="$temp_deplibs $deplib";;
- - esac
- - done
- - dependency_libs="$temp_deplibs"
- - fi
- + if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then
- + eval arg=\"$export_dynamic_flag_spec\"
- + compile_command="$compile_command $arg"
- + finalize_command="$finalize_command $arg"
- + fi
-
- - if test -z "$libdir"; then
- - # It is a libtool convenience library, so add in its objects.
- - convenience="$convenience $dir/$old_library"
- - old_convenience="$old_convenience $dir/$old_library"
- - deplibs="$deplibs$dependency_libs"
- - compile_command="$compile_command $dir/$old_library$dependency_libs"
- - finalize_command="$finalize_command $dir/$old_library$dependency_libs"
- - continue
- - fi
- + # calculate the name of the file, without its directory
- + outputname=`$echo "X$output" | $Xsed -e 's%^.*/%%'`
- + libobjs_save="$libobjs"
-
- - # This library was specified with -dlopen.
- - if test "$prev" = dlfiles; then
- - dlfiles="$dlfiles $arg"
- - if test -z "$dlname" || test "$dlopen" != yes || test "$build_libtool_libs" = no; then
- - # If there is no dlname, no dlopen support or we're linking statically,
- - # we need to preload.
- - prev=dlprefiles
- - else
- - # We should not create a dependency on this library, but we
- - # may need any libraries it requires.
- - compile_command="$compile_command$dependency_libs"
- - finalize_command="$finalize_command$dependency_libs"
- - prev=
- - continue
- - fi
- - fi
- + if test -n "$shlibpath_var"; then
- + # get the directories listed in $shlibpath_var
- + eval shlib_search_path=\`\$echo \"X\${$shlibpath_var}\" \| \$Xsed -e \'s/:/ /g\'\`
- + else
- + shlib_search_path=
- + fi
- + eval sys_lib_search_path=\"$sys_lib_search_path_spec\"
- + eval sys_lib_dlsearch_path=\"$sys_lib_dlsearch_path_spec\"
-
- - # The library was specified with -dlpreopen.
- - if test "$prev" = dlprefiles; then
- - # Prefer using a static library (so that no silly _DYNAMIC symbols
- - # are required to link).
- - if test -n "$old_library"; then
- - dlprefiles="$dlprefiles $dir/$old_library"
- - else
- - dlprefiles="$dlprefiles $dir/$linklib"
- - fi
- - prev=
- - fi
- + output_objdir=`$echo "X$output" | $Xsed -e 's%/[^/]*$%%'`
- + if test "X$output_objdir" = "X$output"; then
- + output_objdir="$objdir"
- + else
- + output_objdir="$output_objdir/$objdir"
- + fi
- + # Create the object directory.
- + if test ! -d $output_objdir; then
- + $show "$mkdir $output_objdir"
- + $run $mkdir $output_objdir
- + status=$?
- + if test $status -ne 0 && test ! -d $output_objdir; then
- + exit $status
- + fi
- + fi
-
- - if test -n "$library_names" &&
- - { test "$prefer_static_libs" = no || test -z "$old_library"; }; then
- - link_against_libtool_libs="$link_against_libtool_libs $arg"
- - if test -n "$shlibpath_var"; then
- - # Make sure the rpath contains only unique directories.
- - case "$temp_rpath " in
- - *" $dir "*) ;;
- - *) temp_rpath="$temp_rpath $dir" ;;
- - esac
- - fi
- + # Determine the type of output
- + case $output in
- + "")
- + $echo "$modename: you must specify an output file" 1>&2
- + $echo "$help" 1>&2
- + exit 1
- + ;;
- + *.$libext) linkmode=oldlib ;;
- + *.lo | *.$objext) linkmode=obj ;;
- + *.la) linkmode=lib ;;
- + *) linkmode=prog ;; # Anything else should be a program.
- + esac
-
- - # We need an absolute path.
- - case "$dir" in
- - [\\/] | [A-Za-z]:[\\/]*) absdir="$dir" ;;
- - *)
- - absdir=`cd "$dir" && pwd`
- - if test -z "$absdir"; then
- - $echo "$modename: warning: cannot determine absolute directory name of \`$dir'" 1>&2
- - $echo "$modename: passing it literally to the linker, although it might fail" 1>&2
- - absdir="$dir"
- - fi
- - ;;
- - esac
- -
- - # This is the magic to use -rpath.
- - # Skip directories that are in the system default run-time
- - # search path, unless they have been requested with -R.
- - case " $sys_lib_dlsearch_path " in
- - *" $absdir "*) ;;
- + specialdeplibs=
- + libs=
- + # Find all interdependent deplibs by searching for libraries
- + # that are linked more than once (e.g. -la -lb -la)
- + for deplib in $deplibs; do
- + if test "X$duplicate_deps" = "Xyes" ; then
- + case "$libs " in
- + *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
- + esac
- + fi
- + libs="$libs $deplib"
- + done
- + deplibs=
- + newdependency_libs=
- + newlib_search_path=
- + need_relink=no # whether we're linking any uninstalled libtool libraries
- + notinst_deplibs= # not-installed libtool libraries
- + notinst_path= # paths that contain not-installed libtool libraries
- + case $linkmode in
- + lib)
- + passes="conv link"
- + for file in $dlfiles $dlprefiles; do
- + case $file in
- + *.la) ;;
- *)
- - case "$compile_rpath " in
- - *" $absdir "*) ;;
- - *) compile_rpath="$compile_rpath $absdir"
- - esac
- + $echo "$modename: libraries can \`-dlopen' only libtool libraries: $file" 1>&2
- + exit 1
- ;;
- esac
- -
- - case " $sys_lib_dlsearch_path " in
- - *" $libdir "*) ;;
- - *)
- - case "$finalize_rpath " in
- - *" $libdir "*) ;;
- - *) finalize_rpath="$finalize_rpath $libdir"
- - esac
- - ;;
- - esac
- -
- - lib_linked=yes
- - case "$hardcode_action" in
- - immediate | unsupported)
- - if test "$hardcode_direct" = no; then
- - compile_command="$compile_command $dir/$linklib"
- - deplibs="$deplibs $dir/$linklib"
- - case "$host" in
- - *-*-cygwin* | *-*-mingw* | *-*-os2*)
- - dllsearchdir=`cd "$dir" && pwd || echo "$dir"`
- - if test -n "$dllsearchpath"; then
- - dllsearchpath="$dllsearchpath:$dllsearchdir"
- - else
- - dllsearchpath="$dllsearchdir"
- - fi
- - ;;
- - esac
- - elif test "$hardcode_minus_L" = no; then
- - case "$host" in
- - *-*-sunos*)
- - compile_shlibpath="$compile_shlibpath$dir:"
- - ;;
- - esac
- - case "$compile_command " in
- - *" -L$dir "*) ;;
- - *) compile_command="$compile_command -L$dir";;
- - esac
- - compile_command="$compile_command -l$name"
- - deplibs="$deplibs -L$dir -l$name"
- - elif test "$hardcode_shlibpath_var" = no; then
- - case ":$compile_shlibpath:" in
- - *":$dir:"*) ;;
- - *) compile_shlibpath="$compile_shlibpath$dir:";;
- - esac
- - compile_command="$compile_command -l$name"
- - deplibs="$deplibs -l$name"
- + done
- + ;;
- + prog)
- + compile_deplibs=
- + finalize_deplibs=
- + alldeplibs=no
- + newdlfiles=
- + newdlprefiles=
- + passes="conv scan dlopen dlpreopen link"
- + ;;
- + *) passes="conv"
- + ;;
- + esac
- + for pass in $passes; do
- + if test $linkmode = prog; then
- + # Determine which files to process
- + case $pass in
- + dlopen)
- + libs="$dlfiles"
- + save_deplibs="$deplibs" # Collect dlpreopened libraries
- + deplibs=
- + ;;
- + dlpreopen) libs="$dlprefiles" ;;
- + link) libs="$deplibs %DEPLIBS% $dependency_libs" ;;
- + esac
- + fi
- + for deplib in $libs; do
- + lib=
- + found=no
- + case $deplib in
- + -l*)
- + if test $linkmode = oldlib && test $linkmode = obj; then
- + $echo "$modename: warning: \`-l' is ignored for archives/objects: $deplib" 1>&2
- + continue
- + fi
- + if test $pass = conv; then
- + deplibs="$deplib $deplibs"
- + continue
- + fi
- + name=`$echo "X$deplib" | $Xsed -e 's/^-l//'`
- + for searchdir in $newlib_search_path $lib_search_path $sys_lib_search_path $shlib_search_path; do
- + # Search the libtool library
- + lib="$searchdir/lib${name}.la"
- + if test -f "$lib"; then
- + found=yes
- + break
- + fi
- + done
- + if test "$found" != yes; then
- + # deplib doesn't seem to be a libtool library
- + if test "$linkmode,$pass" = "prog,link"; then
- + compile_deplibs="$deplib $compile_deplibs"
- + finalize_deplibs="$deplib $finalize_deplibs"
- else
- - lib_linked=no
- + deplibs="$deplib $deplibs"
- + test $linkmode = lib && newdependency_libs="$deplib $newdependency_libs"
- fi
- + continue
- + fi
- + ;; # -l
- + -L*)
- + case $linkmode in
- + lib)
- + deplibs="$deplib $deplibs"
- + test $pass = conv && continue
- + newdependency_libs="$deplib $newdependency_libs"
- + newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'`
- ;;
- -
- - relink)
- - if test "$hardcode_direct" = yes; then
- - compile_command="$compile_command $absdir/$linklib"
- - deplibs="$deplibs $absdir/$linklib"
- - elif test "$hardcode_minus_L" = yes; then
- - case "$compile_command " in
- - *" -L$absdir "*) ;;
- - *) compile_command="$compile_command -L$absdir";;
- - esac
- - compile_command="$compile_command -l$name"
- - deplibs="$deplibs -L$absdir -l$name"
- - elif test "$hardcode_shlibpath_var" = yes; then
- - case ":$compile_shlibpath:" in
- - *":$absdir:"*) ;;
- - *) compile_shlibpath="$compile_shlibpath$absdir:";;
- - esac
- - compile_command="$compile_command -l$name"
- - deplibs="$deplibs -l$name"
- + prog)
- + if test $pass = conv; then
- + deplibs="$deplib $deplibs"
- + continue
- + fi
- + if test $pass = scan; then
- + deplibs="$deplib $deplibs"
- + newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'`
- else
- - lib_linked=no
- + compile_deplibs="$deplib $compile_deplibs"
- + finalize_deplibs="$deplib $finalize_deplibs"
- fi
- ;;
- -
- *)
- - lib_linked=no
- + $echo "$modename: warning: \`-L' is ignored for archives/objects: $deplib" 1>&2
- ;;
- - esac
- + esac # linkmode
- + continue
- + ;; # -L
- + -R*)
- + if test $pass = link; then
- + dir=`$echo "X$deplib" | $Xsed -e 's/^-R//'`
- + # Make sure the xrpath contains only unique directories.
- + case "$xrpath " in
- + *" $dir "*) ;;
- + *) xrpath="$xrpath $dir" ;;
- + esac
- + fi
- + deplibs="$deplib $deplibs"
- + continue
- + ;;
- + *.la) lib="$deplib" ;;
- + *.$libext)
- + if test $pass = conv; then
- + deplibs="$deplib $deplibs"
- + continue
- + fi
- + case $linkmode in
- + lib)
- + if test "$deplibs_check_method" != pass_all; then
- + echo
- + echo "*** Warning: Trying to link with static lib archive $deplib."
- + echo "*** I have the capability to make that library automatically link in when"
- + echo "*** you link to this library. But I can only do this if you have a"
- + echo "*** shared version of the library, which you do not appear to have"
- + echo "*** because the file extensions .$libext of this argument makes me believe"
- + echo "*** that it is just a static archive that I should not used here."
- + else
- + echo
- + echo "*** Warning: Linking the shared library $output against the"
- + echo "*** static library $deplib is not portable!"
- + deplibs="$deplib $deplibs"
- + fi
- + continue
- + ;;
- + prog)
- + if test $pass != link; then
- + deplibs="$deplib $deplibs"
- + else
- + compile_deplibs="$deplib $compile_deplibs"
- + finalize_deplibs="$deplib $finalize_deplibs"
- + fi
- + continue
- + ;;
- + esac # linkmode
- + ;; # *.$libext
- + *.lo | *.$objext)
- + if test $pass = dlpreopen || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then
- + # If there is no dlopen support or we're linking statically,
- + # we need to preload.
- + newdlprefiles="$newdlprefiles $deplib"
- + compile_deplibs="$deplib $compile_deplibs"
- + finalize_deplibs="$deplib $finalize_deplibs"
- + else
- + newdlfiles="$newdlfiles $deplib"
- + fi
- + continue
- + ;;
- + %DEPLIBS%)
- + alldeplibs=yes
- + continue
- + ;;
- + esac # case $deplib
- + if test $found = yes || test -f "$lib"; then :
- + else
- + $echo "$modename: cannot find the library \`$lib'" 1>&2
- + exit 1
- + fi
- +
- + # Check to see that this really is a libtool archive.
- + if (${SED} -e '2q' $lib | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then :
- + else
- + $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2
- + exit 1
- + fi
- +
- + ladir=`$echo "X$lib" | $Xsed -e 's%/[^/]*$%%'`
- + test "X$ladir" = "X$lib" && ladir="."
-
- - if test "$lib_linked" != yes; then
- - $echo "$modename: configuration error: unsupported hardcode properties"
- + dlname=
- + dlopen=
- + dlpreopen=
- + libdir=
- + library_names=
- + old_library=
- + # If the library was installed with an old release of libtool,
- + # it will not redefine variable installed.
- + installed=yes
- +
- + # Read the .la file
- + case $lib in
- + */* | *\\*) . $lib ;;
- + *) . ./$lib ;;
- + esac
- +
- + if test "$linkmode,$pass" = "lib,link" ||
- + test "$linkmode,$pass" = "prog,scan" ||
- + { test $linkmode = oldlib && test $linkmode = obj; }; then
- + # Add dl[pre]opened files of deplib
- + test -n "$dlopen" && dlfiles="$dlfiles $dlopen"
- + test -n "$dlpreopen" && dlprefiles="$dlprefiles $dlpreopen"
- + fi
- +
- + if test $pass = conv; then
- + # Only check for convenience libraries
- + deplibs="$lib $deplibs"
- + if test -z "$libdir"; then
- + if test -z "$old_library"; then
- + $echo "$modename: cannot find name of link library for \`$lib'" 1>&2
- + exit 1
- + fi
- + # It is a libtool convenience library, so add in its objects.
- + convenience="$convenience $ladir/$objdir/$old_library"
- + old_convenience="$old_convenience $ladir/$objdir/$old_library"
- + tmp_libs=
- + for deplib in $dependency_libs; do
- + deplibs="$deplib $deplibs"
- + if test "X$duplicate_deps" = "Xyes" ; then
- + case "$tmp_libs " in
- + *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
- + esac
- + fi
- + tmp_libs="$tmp_libs $deplib"
- + done
- + elif test $linkmode != prog && test $linkmode != lib; then
- + $echo "$modename: \`$lib' is not a convenience library" 1>&2
- exit 1
- fi
- + continue
- + fi # $pass = conv
-
- - # Finalize command for both is simple: just hardcode it.
- - if test "$hardcode_direct" = yes; then
- - finalize_command="$finalize_command $libdir/$linklib"
- - elif test "$hardcode_minus_L" = yes; then
- - case "$finalize_command " in
- - *" -L$libdir "*) ;;
- - *) finalize_command="$finalize_command -L$libdir";;
- - esac
- - finalize_command="$finalize_command -l$name"
- - elif test "$hardcode_shlibpath_var" = yes; then
- - case ":$finalize_shlibpath:" in
- - *":$libdir:"*) ;;
- - *) finalize_shlibpath="$finalize_shlibpath$libdir:";;
- - esac
- - finalize_command="$finalize_command -l$name"
- + # Get the name of the library we link against.
- + linklib=
- + for l in $old_library $library_names; do
- + linklib="$l"
- + done
- + if test -z "$linklib"; then
- + $echo "$modename: cannot find name of link library for \`$lib'" 1>&2
- + exit 1
- + fi
- +
- + # This library was specified with -dlopen.
- + if test $pass = dlopen; then
- + if test -z "$libdir"; then
- + $echo "$modename: cannot -dlopen a convenience library: \`$lib'" 1>&2
- + exit 1
- + fi
- + if test -z "$dlname" || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then
- + # If there is no dlname, no dlopen support or we're linking
- + # statically, we need to preload.
- + dlprefiles="$dlprefiles $lib"
- else
- - # We cannot seem to hardcode it, guess we'll fake it.
- - case "$finalize_command " in
- - *" -L$dir "*) ;;
- - *) finalize_command="$finalize_command -L$libdir";;
- - esac
- - finalize_command="$finalize_command -l$name"
- + newdlfiles="$newdlfiles $lib"
- + fi
- + continue
- + fi # $pass = dlopen
- +
- + # We need an absolute path.
- + case $ladir in
- + [\\/]* | [A-Za-z]:[\\/]*) abs_ladir="$ladir" ;;
- + *)
- + abs_ladir=`cd "$ladir" && pwd`
- + if test -z "$abs_ladir"; then
- + $echo "$modename: warning: cannot determine absolute directory name of \`$ladir'" 1>&2
- + $echo "$modename: passing it literally to the linker, although it might fail" 1>&2
- + abs_ladir="$ladir"
- + fi
- + ;;
- + esac
- + laname=`$echo "X$lib" | $Xsed -e 's%^.*/%%'`
- +
- + # Find the relevant object directory and library name.
- + if test "X$installed" = Xyes; then
- + if test ! -f "$libdir/$linklib" && test -f "$abs_ladir/$linklib"; then
- + $echo "$modename: warning: library \`$lib' was moved." 1>&2
- + dir="$ladir"
- + absdir="$abs_ladir"
- + libdir="$abs_ladir"
- + else
- + dir="$libdir"
- + absdir="$libdir"
- fi
- else
- - # Transform directly to old archives if we don't build new libraries.
- - if test -n "$pic_flag" && test -z "$old_library"; then
- - $echo "$modename: cannot find static library for \`$arg'" 1>&2
- + dir="$ladir/$objdir"
- + absdir="$abs_ladir/$objdir"
- + # Remove this search path later
- + notinst_path="$notinst_path $abs_ladir"
- + fi # $installed = yes
- + name=`$echo "X$laname" | $Xsed -e 's/\.la$//' -e 's/^lib//'`
- +
- + # This library was specified with -dlpreopen.
- + if test $pass = dlpreopen; then
- + if test -z "$libdir"; then
- + $echo "$modename: cannot -dlpreopen a convenience library: \`$lib'" 1>&2
- exit 1
- fi
- + # Prefer using a static library (so that no silly _DYNAMIC symbols
- + # are required to link).
- + if test -n "$old_library"; then
- + newdlprefiles="$newdlprefiles $dir/$old_library"
- + # Otherwise, use the dlname, so that lt_dlopen finds it.
- + elif test -n "$dlname"; then
- + newdlprefiles="$newdlprefiles $dir/$dlname"
- + else
- + newdlprefiles="$newdlprefiles $dir/$linklib"
- + fi
- + fi # $pass = dlpreopen
-
- - # Here we assume that one of hardcode_direct or hardcode_minus_L
- - # is not unsupported. This is valid on all known static and
- - # shared platforms.
- - if test "$hardcode_direct" != unsupported; then
- - test -n "$old_library" && linklib="$old_library"
- - compile_command="$compile_command $dir/$linklib"
- - finalize_command="$finalize_command $dir/$linklib"
- + if test -z "$libdir"; then
- + # Link the convenience library
- + if test $linkmode = lib; then
- + deplibs="$dir/$old_library $deplibs"
- + elif test "$linkmode,$pass" = "prog,link"; then
- + compile_deplibs="$dir/$old_library $compile_deplibs"
- + finalize_deplibs="$dir/$old_library $finalize_deplibs"
- else
- - case "$compile_command " in
- - *" -L$dir "*) ;;
- - *) compile_command="$compile_command -L$dir";;
- + deplibs="$lib $deplibs"
- + fi
- + continue
- + fi
- +
- + if test $linkmode = prog && test $pass != link; then
- + newlib_search_path="$newlib_search_path $ladir"
- + deplibs="$lib $deplibs"
- +
- + linkalldeplibs=no
- + if test "$link_all_deplibs" != no || test -z "$library_names" ||
- + test "$build_libtool_libs" = no; then
- + linkalldeplibs=yes
- + fi
- +
- + tmp_libs=
- + for deplib in $dependency_libs; do
- + case $deplib in
- + -L*) newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'`;; ### testsuite: skip nested quoting test
- + esac
- + # Need to link against all dependency_libs?
- + if test $linkalldeplibs = yes; then
- + deplibs="$deplib $deplibs"
- + else
- + # Need to hardcode shared library paths
- + # or/and link against static libraries
- + newdependency_libs="$deplib $newdependency_libs"
- + fi
- + if test "X$duplicate_deps" = "Xyes" ; then
- + case "$tmp_libs " in
- + *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
- + esac
- + fi
- + tmp_libs="$tmp_libs $deplib"
- + done # for deplib
- + continue
- + fi # $linkmode = prog...
- +
- + link_static=no # Whether the deplib will be linked statically
- + if test -n "$library_names" &&
- + { test "$prefer_static_libs" = no || test -z "$old_library"; }; then
- + # Link against this shared library
- +
- + if test "$linkmode,$pass" = "prog,link" ||
- + { test $linkmode = lib && test $hardcode_into_libs = yes; }; then
- + # Hardcode the library path.
- + # Skip directories that are in the system default run-time
- + # search path.
- + case " $sys_lib_dlsearch_path " in
- + *" $absdir "*) ;;
- + *)
- + case "$compile_rpath " in
- + *" $absdir "*) ;;
- + *) compile_rpath="$compile_rpath $absdir"
- + esac
- + ;;
- esac
- - compile_command="$compile_command -l$name"
- - case "$finalize_command " in
- - *" -L$dir "*) ;;
- - *) finalize_command="$finalize_command -L$dir";;
- + case " $sys_lib_dlsearch_path " in
- + *" $libdir "*) ;;
- + *)
- + case "$finalize_rpath " in
- + *" $libdir "*) ;;
- + *) finalize_rpath="$finalize_rpath $libdir"
- + esac
- + ;;
- esac
- - finalize_command="$finalize_command -l$name"
- + if test $linkmode = prog; then
- + # We need to hardcode the library path
- + if test -n "$shlibpath_var"; then
- + # Make sure the rpath contains only unique directories.
- + case "$temp_rpath " in
- + *" $dir "*) ;;
- + *" $absdir "*) ;;
- + *) temp_rpath="$temp_rpath $dir" ;;
- + esac
- + fi
- + fi
- + fi # $linkmode,$pass = prog,link...
- +
- + if test "$alldeplibs" = yes &&
- + { test "$deplibs_check_method" = pass_all ||
- + { test "$build_libtool_libs" = yes &&
- + test -n "$library_names"; }; }; then
- + # We only need to search for static libraries
- + continue
- fi
- - fi
-
- - # Add in any libraries that this one depends upon.
- - compile_command="$compile_command$dependency_libs"
- - finalize_command="$finalize_command$dependency_libs"
- - continue
- - ;;
- + if test "$installed" = no; then
- + notinst_deplibs="$notinst_deplibs $lib"
- + need_relink=yes
- + fi
- +
- + if test -n "$old_archive_from_expsyms_cmds"; then
- + # figure out the soname
- + set dummy $library_names
- + realname="$2"
- + shift; shift
- + libname=`eval \\$echo \"$libname_spec\"`
- + # use dlname if we got it. it's perfectly good, no?
- + if test -n "$dlname"; then
- + soname="$dlname"
- + elif test -n "$soname_spec"; then
- + # bleh windows
- + case $host in
- + *cygwin*)
- + major=`expr $current - $age`
- + versuffix="-$major"
- + ;;
- + esac
- + eval soname=\"$soname_spec\"
- + else
- + soname="$realname"
- + fi
-
- - # Some other compiler argument.
- - *)
- - # Unknown arguments in both finalize_command and compile_command need
- - # to be aesthetically quoted because they are evaled later.
- - arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
- - case "$arg" in
- - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*)
- - arg="\"$arg\""
- - ;;
- - esac
- - ;;
- - esac
- + # Make a new name for the extract_expsyms_cmds to use
- + soroot="$soname"
- + soname=`echo $soroot | ${SED} -e 's/^.*\///'`
- + newlib="libimp-`echo $soname | ${SED} 's/^lib//;s/\.dll$//'`.a"
-
- - # Now actually substitute the argument into the commands.
- - if test -n "$arg"; then
- - compile_command="$compile_command $arg"
- - finalize_command="$finalize_command $arg"
- - fi
- - done
- + # If the library has no export list, then create one now
- + if test -f "$output_objdir/$soname-def"; then :
- + else
- + $show "extracting exported symbol list from \`$soname'"
- + save_ifs="$IFS"; IFS='~'
- + eval cmds=\"$extract_expsyms_cmds\"
- + for cmd in $cmds; do
- + IFS="$save_ifs"
- + $show "$cmd"
- + $run eval "$cmd" || exit $?
- + done
- + IFS="$save_ifs"
- + fi
-
- - if test -n "$prev"; then
- - $echo "$modename: the \`$prevarg' option requires an argument" 1>&2
- - $echo "$help" 1>&2
- - exit 1
- - fi
- + # Create $newlib
- + if test -f "$output_objdir/$newlib"; then :; else
- + $show "generating import library for \`$soname'"
- + save_ifs="$IFS"; IFS='~'
- + eval cmds=\"$old_archive_from_expsyms_cmds\"
- + for cmd in $cmds; do
- + IFS="$save_ifs"
- + $show "$cmd"
- + $run eval "$cmd" || exit $?
- + done
- + IFS="$save_ifs"
- + fi
- + # make sure the library variables are pointing to the new library
- + dir=$output_objdir
- + linklib=$newlib
- + fi # test -n $old_archive_from_expsyms_cmds
- +
- + if test $linkmode = prog || test "$mode" != relink; then
- + add_shlibpath=
- + add_dir=
- + add=
- + lib_linked=yes
- + case $hardcode_action in
- + immediate | unsupported)
- + if test "$hardcode_direct" = no; then
- + add="$dir/$linklib"
- + elif test "$hardcode_minus_L" = no; then
- + case $host in
- + *-*-sunos*) add_shlibpath="$dir" ;;
- + esac
- + add_dir="-L$dir"
- + add="-l$name"
- + elif test "$hardcode_shlibpath_var" = no; then
- + add_shlibpath="$dir"
- + add="-l$name"
- + else
- + lib_linked=no
- + fi
- + ;;
- + relink)
- + if test "$hardcode_direct" = yes; then
- + add="$dir/$linklib"
- + elif test "$hardcode_minus_L" = yes; then
- + add_dir="-L$dir"
- + # Try looking first in the location we're being installed to.
- + if test -n "$inst_prefix_dir"; then
- + case "$libdir" in
- + [\/]*)
- + add_dir="$add_dir -L$inst_prefix_dir$libdir"
- + ;;
- + esac
- + fi
- + add="-l$name"
- + elif test "$hardcode_shlibpath_var" = yes; then
- + add_shlibpath="$dir"
- + add="-l$name"
- + else
- + lib_linked=no
- + fi
- + ;;
- + *) lib_linked=no ;;
- + esac
-
- - if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then
- - eval arg=\"$export_dynamic_flag_spec\"
- - compile_command="$compile_command $arg"
- - finalize_command="$finalize_command $arg"
- - fi
- + if test "$lib_linked" != yes; then
- + $echo "$modename: configuration error: unsupported hardcode properties"
- + exit 1
- + fi
-
- - oldlibs=
- - # calculate the name of the file, without its directory
- - outputname=`$echo "X$output" | $Xsed -e 's%^.*/%%'`
- - libobjs_save="$libobjs"
- + if test -n "$add_shlibpath"; then
- + case :$compile_shlibpath: in
- + *":$add_shlibpath:"*) ;;
- + *) compile_shlibpath="$compile_shlibpath$add_shlibpath:" ;;
- + esac
- + fi
- + if test $linkmode = prog; then
- + test -n "$add_dir" && compile_deplibs="$add_dir $compile_deplibs"
- + test -n "$add" && compile_deplibs="$add $compile_deplibs"
- + else
- + test -n "$add_dir" && deplibs="$add_dir $deplibs"
- + test -n "$add" && deplibs="$add $deplibs"
- + if test "$hardcode_direct" != yes && \
- + test "$hardcode_minus_L" != yes && \
- + test "$hardcode_shlibpath_var" = yes; then
- + case :$finalize_shlibpath: in
- + *":$libdir:"*) ;;
- + *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;;
- + esac
- + fi
- + fi
- + fi
-
- - case "$output" in
- - "")
- - $echo "$modename: you must specify an output file" 1>&2
- - $echo "$help" 1>&2
- - exit 1
- - ;;
- + if test $linkmode = prog || test "$mode" = relink; then
- + add_shlibpath=
- + add_dir=
- + add=
- + # Finalize command for both is simple: just hardcode it.
- + if test "$hardcode_direct" = yes; then
- + add="$libdir/$linklib"
- + elif test "$hardcode_minus_L" = yes; then
- + add_dir="-L$libdir"
- + add="-l$name"
- + elif test "$hardcode_shlibpath_var" = yes; then
- + case :$finalize_shlibpath: in
- + *":$libdir:"*) ;;
- + *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;;
- + esac
- + add="-l$name"
- + else
- + # We cannot seem to hardcode it, guess we'll fake it.
- + add_dir="-L$libdir"
- + # Try looking first in the location we're being installed to.
- + if test -n "$inst_prefix_dir"; then
- + case "$libdir" in
- + [\/]*)
- + add_dir="$add_dir -L$inst_prefix_dir$libdir"
- + ;;
- + esac
- + fi
- + add="-l$name"
- + fi
-
- - *.a | *.lib)
- - if test -n "$link_against_libtool_libs"; then
- - $echo "$modename: error: cannot link libtool libraries into archives" 1>&2
- - exit 1
- + if test $linkmode = prog; then
- + test -n "$add_dir" && finalize_deplibs="$add_dir $finalize_deplibs"
- + test -n "$add" && finalize_deplibs="$add $finalize_deplibs"
- + else
- + test -n "$add_dir" && deplibs="$add_dir $deplibs"
- + test -n "$add" && deplibs="$add $deplibs"
- + fi
- + fi
- + elif test $linkmode = prog; then
- + if test "$alldeplibs" = yes &&
- + { test "$deplibs_check_method" = pass_all ||
- + { test "$build_libtool_libs" = yes &&
- + test -n "$library_names"; }; }; then
- + # We only need to search for static libraries
- + continue
- + fi
- +
- + # Try to link the static library
- + # Here we assume that one of hardcode_direct or hardcode_minus_L
- + # is not unsupported. This is valid on all known static and
- + # shared platforms.
- + if test "$hardcode_direct" != unsupported; then
- + test -n "$old_library" && linklib="$old_library"
- + compile_deplibs="$dir/$linklib $compile_deplibs"
- + finalize_deplibs="$dir/$linklib $finalize_deplibs"
- + else
- + compile_deplibs="-l$name -L$dir $compile_deplibs"
- + finalize_deplibs="-l$name -L$dir $finalize_deplibs"
- + fi
- + elif test "$build_libtool_libs" = yes; then
- + # Not a shared library
- + if test "$deplibs_check_method" != pass_all; then
- + # We're trying link a shared library against a static one
- + # but the system doesn't support it.
- +
- + # Just print a warning and add the library to dependency_libs so
- + # that the program can be linked against the static library.
- + echo
- + echo "*** Warning: This system can not link to static lib archive $lib."
- + echo "*** I have the capability to make that library automatically link in when"
- + echo "*** you link to this library. But I can only do this if you have a"
- + echo "*** shared version of the library, which you do not appear to have."
- + if test "$module" = yes; then
- + echo "*** But as you try to build a module library, libtool will still create "
- + echo "*** a static module, that should work as long as the dlopening application"
- + echo "*** is linked with the -dlopen flag to resolve symbols at runtime."
- + if test -z "$global_symbol_pipe"; then
- + echo
- + echo "*** However, this would only work if libtool was able to extract symbol"
- + echo "*** lists from a program, using \`nm' or equivalent, but libtool could"
- + echo "*** not find such a program. So, this module is probably useless."
- + echo "*** \`nm' from GNU binutils and a full rebuild may help."
- + fi
- + if test "$build_old_libs" = no; then
- + build_libtool_libs=module
- + build_old_libs=yes
- + else
- + build_libtool_libs=no
- + fi
- + fi
- + else
- + convenience="$convenience $dir/$old_library"
- + old_convenience="$old_convenience $dir/$old_library"
- + deplibs="$dir/$old_library $deplibs"
- + link_static=yes
- + fi
- + fi # link shared/static library?
- +
- + if test $linkmode = lib; then
- + if test -n "$dependency_libs" &&
- + { test $hardcode_into_libs != yes || test $build_old_libs = yes ||
- + test $link_static = yes; }; then
- + # Extract -R from dependency_libs
- + temp_deplibs=
- + for libdir in $dependency_libs; do
- + case $libdir in
- + -R*) temp_xrpath=`$echo "X$libdir" | $Xsed -e 's/^-R//'`
- + case " $xrpath " in
- + *" $temp_xrpath "*) ;;
- + *) xrpath="$xrpath $temp_xrpath";;
- + esac;;
- + *) temp_deplibs="$temp_deplibs $libdir";;
- + esac
- + done
- + dependency_libs="$temp_deplibs"
- + fi
- +
- + newlib_search_path="$newlib_search_path $absdir"
- + # Link against this library
- + test "$link_static" = no && newdependency_libs="$abs_ladir/$laname $newdependency_libs"
- + # ... and its dependency_libs
- + tmp_libs=
- + for deplib in $dependency_libs; do
- + newdependency_libs="$deplib $newdependency_libs"
- + if test "X$duplicate_deps" = "Xyes" ; then
- + case "$tmp_libs " in
- + *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
- + esac
- + fi
- + tmp_libs="$tmp_libs $deplib"
- + done
- +
- + if test $link_all_deplibs != no; then
- + # Add the search paths of all dependency libraries
- + for deplib in $dependency_libs; do
- + case $deplib in
- + -L*) path="$deplib" ;;
- + *.la)
- + dir=`$echo "X$deplib" | $Xsed -e 's%/[^/]*$%%'`
- + test "X$dir" = "X$deplib" && dir="."
- + # We need an absolute path.
- + case $dir in
- + [\\/]* | [A-Za-z]:[\\/]*) absdir="$dir" ;;
- + *)
- + absdir=`cd "$dir" && pwd`
- + if test -z "$absdir"; then
- + $echo "$modename: warning: cannot determine absolute directory name of \`$dir'" 1>&2
- + absdir="$dir"
- + fi
- + ;;
- + esac
- + if grep "^installed=no" $deplib > /dev/null; then
- + path="-L$absdir/$objdir"
- + else
- + eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
- + if test -z "$libdir"; then
- + $echo "$modename: \`$deplib' is not a valid libtool archive" 1>&2
- + exit 1
- + fi
- + if test "$absdir" != "$libdir"; then
- + $echo "$modename: warning: \`$deplib' seems to be moved" 1>&2
- + fi
- + path="-L$absdir"
- + fi
- + ;;
- + *) continue ;;
- + esac
- + case " $deplibs " in
- + *" $path "*) ;;
- + *) deplibs="$deplibs $path" ;;
- + esac
- + done
- + fi # link_all_deplibs != no
- + fi # linkmode = lib
- + done # for deplib in $libs
- + if test $pass = dlpreopen; then
- + # Link the dlpreopened libraries before other libraries
- + for deplib in $save_deplibs; do
- + deplibs="$deplib $deplibs"
- + done
- fi
- + if test $pass != dlopen; then
- + test $pass != scan && dependency_libs="$newdependency_libs"
- + if test $pass != conv; then
- + # Make sure lib_search_path contains only unique directories.
- + lib_search_path=
- + for dir in $newlib_search_path; do
- + case "$lib_search_path " in
- + *" $dir "*) ;;
- + *) lib_search_path="$lib_search_path $dir" ;;
- + esac
- + done
- + newlib_search_path=
- + fi
-
- - if test -n "$deplibs"; then
- - $echo "$modename: warning: \`-l' and \`-L' are ignored for archives" 1>&2
- + if test "$linkmode,$pass" != "prog,link"; then
- + vars="deplibs"
- + else
- + vars="compile_deplibs finalize_deplibs"
- + fi
- + for var in $vars dependency_libs; do
- + # Add libraries to $var in reverse order
- + eval tmp_libs=\"\$$var\"
- + new_libs=
- + for deplib in $tmp_libs; do
- + case $deplib in
- + -L*) new_libs="$deplib $new_libs" ;;
- + *)
- + case " $specialdeplibs " in
- + *" $deplib "*) new_libs="$deplib $new_libs" ;;
- + *)
- + case " $new_libs " in
- + *" $deplib "*) ;;
- + *) new_libs="$deplib $new_libs" ;;
- + esac
- + ;;
- + esac
- + ;;
- + esac
- + done
- + tmp_libs=
- + for deplib in $new_libs; do
- + case $deplib in
- + -L*)
- + case " $tmp_libs " in
- + *" $deplib "*) ;;
- + *) tmp_libs="$tmp_libs $deplib" ;;
- + esac
- + ;;
- + *) tmp_libs="$tmp_libs $deplib" ;;
- + esac
- + done
- + eval $var=\"$tmp_libs\"
- + done # for var
- fi
- + if test "$pass" = "conv" &&
- + { test "$linkmode" = "lib" || test "$linkmode" = "prog"; }; then
- + libs="$deplibs" # reset libs
- + deplibs=
- + fi
- + done # for pass
- + if test $linkmode = prog; then
- + dlfiles="$newdlfiles"
- + dlprefiles="$newdlprefiles"
- + fi
-
- + case $linkmode in
- + oldlib)
- if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then
- $echo "$modename: warning: \`-dlopen' is ignored for archives" 1>&2
- fi
- @@ -1566,11 +2187,12 @@
- # Now set the variables for building old libraries.
- build_libtool_libs=no
- oldlibs="$output"
- + objs="$objs$old_deplibs"
- ;;
-
- - *.la)
- + lib)
- # Make sure we only generate libraries of the form `libNAME.la'.
- - case "$outputname" in
- + case $outputname in
- lib*)
- name=`$echo "X$outputname" | $Xsed -e 's/\.la$//' -e 's/^lib//'`
- eval libname=\"$libname_spec\"
- @@ -1591,26 +2213,20 @@
- ;;
- esac
-
- - output_objdir=`$echo "X$output" | $Xsed -e 's%/[^/]*$%%'`
- - if test "X$output_objdir" = "X$output"; then
- - output_objdir="$objdir"
- - else
- - output_objdir="$output_objdir/$objdir"
- - fi
- -
- if test -n "$objs"; then
- - $echo "$modename: cannot build libtool library \`$output' from non-libtool objects:$objs" 2>&1
- - exit 1
- - fi
- -
- - # How the heck are we supposed to write a wrapper for a shared library?
- - if test -n "$link_against_libtool_libs"; then
- - $echo "$modename: error: cannot link shared libraries into libtool libraries" 1>&2
- - exit 1
- + if test "$deplibs_check_method" != pass_all; then
- + $echo "$modename: cannot build libtool library \`$output' from non-libtool objects on this host:$objs" 2>&1
- + exit 1
- + else
- + echo
- + echo "*** Warning: Linking the shared library $output against the non-libtool"
- + echo "*** objects $objs is not portable!"
- + libobjs="$libobjs $objs"
- + fi
- fi
-
- - if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then
- - $echo "$modename: warning: \`-dlopen' is ignored for libtool libraries" 1>&2
- + if test "$dlself" != no; then
- + $echo "$modename: warning: \`-dlopen self' is ignored for libtool libraries" 1>&2
- fi
-
- set dummy $rpath
- @@ -1628,7 +2244,6 @@
- build_libtool_libs=convenience
- build_old_libs=yes
- fi
- - dependency_libs="$deplibs"
-
- if test -n "$vinfo"; then
- $echo "$modename: warning: \`-version-info' is ignored for convenience libraries" 1>&2
- @@ -1640,7 +2255,7 @@
- else
-
- # Parse the version information argument.
- - IFS="${IFS= }"; save_ifs="$IFS"; IFS=':'
- + save_ifs="$IFS"; IFS=':'
- set dummy $vinfo 0 0 0
- IFS="$save_ifs"
-
- @@ -1655,8 +2270,8 @@
- age="$4"
-
- # Check that each of the things are valid numbers.
- - case "$current" in
- - 0 | [1-9] | [1-9][0-9]*) ;;
- + case $current in
- + 0 | [1-9] | [1-9][0-9] | [1-9][0-9][0-9]) ;;
- *)
- $echo "$modename: CURRENT \`$current' is not a nonnegative integer" 1>&2
- $echo "$modename: \`$vinfo' is not valid version information" 1>&2
- @@ -1664,8 +2279,8 @@
- ;;
- esac
-
- - case "$revision" in
- - 0 | [1-9] | [1-9][0-9]*) ;;
- + case $revision in
- + 0 | [1-9] | [1-9][0-9] | [1-9][0-9][0-9]) ;;
- *)
- $echo "$modename: REVISION \`$revision' is not a nonnegative integer" 1>&2
- $echo "$modename: \`$vinfo' is not valid version information" 1>&2
- @@ -1673,8 +2288,8 @@
- ;;
- esac
-
- - case "$age" in
- - 0 | [1-9] | [1-9][0-9]*) ;;
- + case $age in
- + 0 | [1-9] | [1-9][0-9] | [1-9][0-9][0-9]) ;;
- *)
- $echo "$modename: AGE \`$age' is not a nonnegative integer" 1>&2
- $echo "$modename: \`$vinfo' is not valid version information" 1>&2
- @@ -1692,21 +2307,49 @@
- major=
- versuffix=
- verstring=
- - case "$version_type" in
- + case $version_type in
- none) ;;
-
- - irix)
- + darwin)
- + # Like Linux, but with the current version available in
- + # verstring for coding it into the library header
- + major=.`expr $current - $age`
- + versuffix="$major.$age.$revision"
- + # Darwin ld doesn't like 0 for these options...
- + minor_current=`expr $current + 1`
- + verstring="-compatibility_version $minor_current -current_version $minor_current.$revision"
- + ;;
- +
- + freebsd-aout)
- + major=".$current"
- + versuffix=".$current.$revision";
- + ;;
- +
- + freebsd-elf)
- + major=".$current"
- + versuffix=".$current";
- + ;;
- +
- + irix | nonstopux)
- major=`expr $current - $age + 1`
- - versuffix="$major.$revision"
- - verstring="sgi$major.$revision"
- +
- + case $version_type in
- + nonstopux) verstring_prefix=nonstopux ;;
- + *) verstring_prefix=sgi ;;
- + esac
- + verstring="$verstring_prefix$major.$revision"
-
- # Add in all the interfaces that we are compatible with.
- loop=$revision
- while test $loop != 0; do
- iface=`expr $revision - $loop`
- loop=`expr $loop - 1`
- - verstring="sgi$major.$iface:$verstring"
- + verstring="$verstring_prefix$major.$iface:$verstring"
- done
- +
- + # Before this point, $major must not contain `.'.
- + major=.$major
- + versuffix="$major.$revision"
- ;;
-
- linux)
- @@ -1715,7 +2358,7 @@
- ;;
-
- osf)
- - major=`expr $current - $age`
- + major=.`expr $current - $age`
- versuffix=".$current.$age.$revision"
- verstring="$current.$age.$revision"
-
- @@ -1736,21 +2379,11 @@
- versuffix=".$current.$revision"
- ;;
-
- - freebsd-aout)
- - major=".$current"
- - versuffix=".$current.$revision";
- - ;;
- -
- - freebsd-elf)
- - major=".$current"
- - versuffix=".$current";
- - ;;
- -
- windows)
- - # Like Linux, but with '-' rather than '.', since we only
- - # want one extension on Windows 95.
- + # Use '-' rather than '.', since we only want one
- + # extension on DOS 8.3 filesystems.
- major=`expr $current - $age`
- - versuffix="-$major-$age-$revision"
- + versuffix="-$major"
- ;;
-
- *)
- @@ -1764,6 +2397,16 @@
- if test -z "$vinfo" && test -n "$release"; then
- major=
- verstring="0.0"
- + case $version_type in
- + darwin)
- + # we can't check for "0.0" in archive_cmds due to quoting
- + # problems, so we reset it completely
- + verstring=""
- + ;;
- + *)
- + verstring="0.0"
- + ;;
- + esac
- if test "$need_version" = no; then
- versuffix=
- else
- @@ -1777,7 +2420,7 @@
- versuffix=
- verstring=""
- fi
- -
- +
- # Check to see if the archive will have undefined symbols.
- if test "$allow_undefined" = yes; then
- if test "$allow_undefined_flag" = unsupported; then
- @@ -1785,34 +2428,16 @@
- build_libtool_libs=no
- build_old_libs=yes
- fi
- - else
- - # Don't allow undefined symbols.
- - allow_undefined_flag="$no_undefined_flag"
- - fi
- -
- - dependency_libs="$deplibs"
- - case "$host" in
- - *-*-cygwin* | *-*-mingw* | *-*-os2* | *-*-beos*)
- - # these systems don't actually have a c library (as such)!
- - ;;
- - *)
- - # Add libc to deplibs on all other systems.
- - deplibs="$deplibs -lc"
- - ;;
- - esac
- + else
- + # Don't allow undefined symbols.
- + allow_undefined_flag="$no_undefined_flag"
- + fi
- fi
-
- - # Create the output directory, or remove our outputs if we need to.
- - if test -d $output_objdir; then
- + if test "$mode" != relink; then
- + # Remove our outputs.
- $show "${rm}r $output_objdir/$outputname $output_objdir/$libname.* $output_objdir/${libname}${release}.*"
- $run ${rm}r $output_objdir/$outputname $output_objdir/$libname.* $output_objdir/${libname}${release}.*
- - else
- - $show "$mkdir $output_objdir"
- - $run $mkdir $output_objdir
- - status=$?
- - if test $status -ne 0 && test ! -d $output_objdir; then
- - exit $status
- - fi
- fi
-
- # Now set the variables for building old libraries.
- @@ -1823,7 +2448,73 @@
- oldobjs="$objs "`$echo "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}'$/d' -e "$lo2o" | $NL2SP`
- fi
-
- + # Eliminate all temporary directories.
- + for path in $notinst_path; do
- + lib_search_path=`echo "$lib_search_path " | ${SED} -e 's% $path % %g'`
- + deplibs=`echo "$deplibs " | ${SED} -e 's% -L$path % %g'`
- + dependency_libs=`echo "$dependency_libs " | ${SED} -e 's% -L$path % %g'`
- + done
- +
- + if test -n "$xrpath"; then
- + # If the user specified any rpath flags, then add them.
- + temp_xrpath=
- + for libdir in $xrpath; do
- + temp_xrpath="$temp_xrpath -R$libdir"
- + case "$finalize_rpath " in
- + *" $libdir "*) ;;
- + *) finalize_rpath="$finalize_rpath $libdir" ;;
- + esac
- + done
- + if test $hardcode_into_libs != yes || test $build_old_libs = yes; then
- + dependency_libs="$temp_xrpath $dependency_libs"
- + fi
- + fi
- +
- + # Make sure dlfiles contains only unique files that won't be dlpreopened
- + old_dlfiles="$dlfiles"
- + dlfiles=
- + for lib in $old_dlfiles; do
- + case " $dlprefiles $dlfiles " in
- + *" $lib "*) ;;
- + *) dlfiles="$dlfiles $lib" ;;
- + esac
- + done
- +
- + # Make sure dlprefiles contains only unique files
- + old_dlprefiles="$dlprefiles"
- + dlprefiles=
- + for lib in $old_dlprefiles; do
- + case "$dlprefiles " in
- + *" $lib "*) ;;
- + *) dlprefiles="$dlprefiles $lib" ;;
- + esac
- + done
- +
- if test "$build_libtool_libs" = yes; then
- + if test -n "$rpath"; then
- + case $host in
- + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos*)
- + # these systems don't actually have a c library (as such)!
- + ;;
- + *-*-rhapsody* | *-*-darwin1.[012])
- + # Rhapsody C library is in the System framework
- + deplibs="$deplibs -framework System"
- + ;;
- + *-*-netbsd*)
- + # Don't link with libc until the a.out ld.so is fixed.
- + ;;
- + *-*-openbsd* | *-*-freebsd*)
- + # Do not include libc due to us having libc/libc_r.
- + ;;
- + *)
- + # Add libc to deplibs on all other systems if necessary.
- + if test $build_libtool_need_lc = "yes"; then
- + deplibs="$deplibs -lc"
- + fi
- + ;;
- + esac
- + fi
- +
- # Transform deplibs into only deplibs that can be linked in shared.
- name_save=$name
- libname_save=$libname
- @@ -1838,7 +2529,7 @@
- major=""
- newdeplibs=
- droppeddeps=no
- - case "$deplibs_check_method" in
- + case $deplibs_check_method in
- pass_all)
- # Don't check for shared/static. Everything works.
- # This might be a little naive. We might want to check
- @@ -1863,7 +2554,7 @@
- for i in $deplibs; do
- name="`expr $i : '-l\(.*\)'`"
- # If $name is empty we are operating on a -L argument.
- - if test "$name" != "" ; then
- + if test -n "$name" && test "$name" != "0"; then
- libname=`eval \\$echo \"$libname_spec\"`
- deplib_matches=`eval \\$echo \"$library_names_spec\"`
- set dummy $deplib_matches
- @@ -1873,22 +2564,24 @@
- else
- droppeddeps=yes
- echo
- - echo "*** Warning: This library needs some functionality provided by $i."
- + echo "*** Warning: dynamic linker does not accept needed library $i."
- echo "*** I have the capability to make that library automatically link in when"
- echo "*** you link to this library. But I can only do this if you have a"
- - echo "*** shared version of the library, which you do not appear to have."
- + echo "*** shared version of the library, which I believe you do not have"
- + echo "*** because a test_compile did reveal that the linker did not use it for"
- + echo "*** its dynamic dependency list that programs get resolved with at runtime."
- fi
- else
- newdeplibs="$newdeplibs $i"
- fi
- done
- else
- - # Error occured in the first compile. Let's try to salvage the situation:
- - # Compile a seperate program for each library.
- + # Error occured in the first compile. Let's try to salvage
- + # the situation: Compile a separate program for each library.
- for i in $deplibs; do
- name="`expr $i : '-l\(.*\)'`"
- # If $name is empty we are operating on a -L argument.
- - if test "$name" != "" ; then
- + if test -n "$name" && test "$name" != "0"; then
- $rm conftest
- $CC -o conftest conftest.c $i
- # Did it work?
- @@ -1903,10 +2596,12 @@
- else
- droppeddeps=yes
- echo
- - echo "*** Warning: This library needs some functionality provided by $i."
- + echo "*** Warning: dynamic linker does not accept needed library $i."
- echo "*** I have the capability to make that library automatically link in when"
- echo "*** you link to this library. But I can only do this if you have a"
- - echo "*** shared version of the library, which you do not appear to have."
- + echo "*** shared version of the library, which you do not appear to have"
- + echo "*** because a test_compile did reveal that the linker did not use this one"
- + echo "*** as a dynamic dependency that programs can get resolved with at runtime."
- fi
- else
- droppeddeps=yes
- @@ -1924,19 +2619,19 @@
- ;;
- file_magic*)
- set dummy $deplibs_check_method
- - file_magic_regex="`expr \"$deplibs_check_method\" : \"$2 \(.*\)\"`"
- + file_magic_regex=`expr "$deplibs_check_method" : "$2 \(.*\)"`
- for a_deplib in $deplibs; do
- name="`expr $a_deplib : '-l\(.*\)'`"
- # If $name is empty we are operating on a -L argument.
- - if test "$name" != "" ; then
- + if test -n "$name" && test "$name" != "0"; then
- libname=`eval \\$echo \"$libname_spec\"`
- - for i in $lib_search_path; do
- + for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do
- potential_libs=`ls $i/$libname[.-]* 2>/dev/null`
- for potent_lib in $potential_libs; do
- # Follow soft links.
- if ls -lLd "$potent_lib" 2>/dev/null \
- | grep " -> " >/dev/null; then
- - continue
- + continue
- fi
- # The statement above tries to avoid entering an
- # endless loop below, in case of cyclic links.
- @@ -1945,14 +2640,14 @@
- # but so what?
- potlib="$potent_lib"
- while test -h "$potlib" 2>/dev/null; do
- - potliblink=`ls -ld $potlib | sed 's/.* -> //'`
- - case "$potliblink" in
- + potliblink=`ls -ld $potlib | ${SED} 's/.* -> //'`
- + case $potliblink in
- [\\/]* | [A-Za-z]:[\\/]*) potlib="$potliblink";;
- *) potlib=`$echo "X$potlib" | $Xsed -e 's,[^/]*$,,'`"$potliblink";;
- esac
- done
- if eval $file_magic_cmd \"\$potlib\" 2>/dev/null \
- - | sed 10q \
- + | ${SED} 10q \
- | egrep "$file_magic_regex" > /dev/null; then
- newdeplibs="$newdeplibs $a_deplib"
- a_deplib=""
- @@ -1963,10 +2658,59 @@
- if test -n "$a_deplib" ; then
- droppeddeps=yes
- echo
- - echo "*** Warning: This library needs some functionality provided by $a_deplib."
- + echo "*** Warning: linker path does not have real file for library $a_deplib."
- + echo "*** I have the capability to make that library automatically link in when"
- + echo "*** you link to this library. But I can only do this if you have a"
- + echo "*** shared version of the library, which you do not appear to have"
- + echo "*** because I did check the linker path looking for a file starting"
- + if test -z "$potlib" ; then
- + echo "*** with $libname but no candidates were found. (...for file magic test)"
- + else
- + echo "*** with $libname and none of the candidates passed a file format test"
- + echo "*** using a file magic. Last file checked: $potlib"
- + fi
- + fi
- + else
- + # Add a -L argument.
- + newdeplibs="$newdeplibs $a_deplib"
- + fi
- + done # Gone through all deplibs.
- + ;;
- + match_pattern*)
- + set dummy $deplibs_check_method
- + match_pattern_regex=`expr "$deplibs_check_method" : "$2 \(.*\)"`
- + for a_deplib in $deplibs; do
- + name="`expr $a_deplib : '-l\(.*\)'`"
- + # If $name is empty we are operating on a -L argument.
- + if test -n "$name" && test "$name" != "0"; then
- + libname=`eval \\$echo \"$libname_spec\"`
- + for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do
- + potential_libs=`ls $i/$libname[.-]* 2>/dev/null`
- + for potent_lib in $potential_libs; do
- + potlib="$potent_lib" # see symlink-check below in file_magic test
- + if eval echo \"$potent_lib\" 2>/dev/null \
- + | ${SED} 10q \
- + | egrep "$match_pattern_regex" > /dev/null; then
- + newdeplibs="$newdeplibs $a_deplib"
- + a_deplib=""
- + break 2
- + fi
- + done
- + done
- + if test -n "$a_deplib" ; then
- + droppeddeps=yes
- + echo
- + echo "*** Warning: linker path does not have real file for library $a_deplib."
- echo "*** I have the capability to make that library automatically link in when"
- echo "*** you link to this library. But I can only do this if you have a"
- - echo "*** shared version of the library, which you do not appear to have."
- + echo "*** shared version of the library, which you do not appear to have"
- + echo "*** because I did check the linker path looking for a file starting"
- + if test -z "$potlib" ; then
- + echo "*** with $libname but no candidates were found. (...for regex pattern test)"
- + else
- + echo "*** with $libname and none of the candidates passed a file format test"
- + echo "*** using a regex pattern. Last file checked: $potlib"
- + fi
- fi
- else
- # Add a -L argument.
- @@ -1996,6 +2740,13 @@
- libname=$libname_save
- name=$name_save
-
- + case $host in
- + *-*-rhapsody* | *-*-darwin1.[012])
- + # On Rhapsody replace the C library is the System framework
- + newdeplibs=`$echo "X $newdeplibs" | $Xsed -e 's/ -lc / -framework System /'`
- + ;;
- + esac
- +
- if test "$droppeddeps" = yes; then
- if test "$module" = yes; then
- echo
- @@ -2021,6 +2772,21 @@
- echo "*** The inter-library dependencies that have been dropped here will be"
- echo "*** automatically added whenever a program is linked with this library"
- echo "*** or is declared to -dlopen it."
- +
- + if test $allow_undefined = no; then
- + echo
- + echo "*** Since this library must not contain undefined symbols,"
- + echo "*** because either the platform does not support them or"
- + echo "*** it was explicitly requested with -no-undefined,"
- + echo "*** libtool will only create a static version of it."
- + if test "$build_old_libs" = no; then
- + oldlibs="$output_objdir/$libname.$libext"
- + build_libtool_libs=module
- + build_old_libs=yes
- + else
- + build_libtool_libs=no
- + fi
- + fi
- fi
- fi
- # Done checking deplibs!
- @@ -2031,9 +2797,64 @@
- library_names=
- old_library=
- dlname=
- -
- +
- # Test again, we may have decided not to build it any more
- if test "$build_libtool_libs" = yes; then
- + if test $hardcode_into_libs = yes; then
- + # Hardcode the library paths
- + hardcode_libdirs=
- + dep_rpath=
- + rpath="$finalize_rpath"
- + test "$mode" != relink && rpath="$compile_rpath$rpath"
- + for libdir in $rpath; do
- + if test -n "$hardcode_libdir_flag_spec"; then
- + if test -n "$hardcode_libdir_separator"; then
- + if test -z "$hardcode_libdirs"; then
- + hardcode_libdirs="$libdir"
- + else
- + # Just accumulate the unique libdirs.
- + case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in
- + *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
- + ;;
- + *)
- + hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir"
- + ;;
- + esac
- + fi
- + else
- + eval flag=\"$hardcode_libdir_flag_spec\"
- + dep_rpath="$dep_rpath $flag"
- + fi
- + elif test -n "$runpath_var"; then
- + case "$perm_rpath " in
- + *" $libdir "*) ;;
- + *) perm_rpath="$perm_rpath $libdir" ;;
- + esac
- + fi
- + done
- + # Substitute the hardcoded libdirs into the rpath.
- + if test -n "$hardcode_libdir_separator" &&
- + test -n "$hardcode_libdirs"; then
- + libdir="$hardcode_libdirs"
- + eval dep_rpath=\"$hardcode_libdir_flag_spec\"
- + fi
- + if test -n "$runpath_var" && test -n "$perm_rpath"; then
- + # We should set the runpath_var.
- + rpath=
- + for dir in $perm_rpath; do
- + rpath="$rpath$dir:"
- + done
- + eval "$runpath_var='$rpath\$$runpath_var'; export $runpath_var"
- + fi
- + test -n "$dep_rpath" && deplibs="$dep_rpath $deplibs"
- + fi
- +
- + shlibpath="$finalize_shlibpath"
- + test "$mode" != relink && shlibpath="$compile_shlibpath$shlibpath"
- + if test -n "$shlibpath"; then
- + eval "$shlibpath_var='$shlibpath\$$shlibpath_var'; export $shlibpath_var"
- + fi
- +
- # Get the real and link names of the library.
- eval library_names=\"$library_names_spec\"
- set dummy $library_names
- @@ -2045,6 +2866,7 @@
- else
- soname="$realname"
- fi
- + test -z "$dlname" && dlname=$soname
-
- lib="$output_objdir/$realname"
- for link
- @@ -2079,7 +2901,7 @@
- export_symbols="$output_objdir/$libname.exp"
- $run $rm $export_symbols
- eval cmds=\"$export_symbols_cmds\"
- - IFS="${IFS= }"; save_ifs="$IFS"; IFS='~'
- + save_ifs="$IFS"; IFS='~'
- for cmd in $cmds; do
- IFS="$save_ifs"
- $show "$cmd"
- @@ -2116,7 +2938,7 @@
-
- for xlib in $convenience; do
- # Extract the objects.
- - case "$xlib" in
- + case $xlib in
- [\\/]* | [A-Za-z]:[\\/]*) xabs="$xlib" ;;
- *) xabs=`pwd`"/$xlib" ;;
- esac
- @@ -2141,16 +2963,32 @@
-
- if test "$thread_safe" = yes && test -n "$thread_safe_flag_spec"; then
- eval flag=\"$thread_safe_flag_spec\"
- - linkopts="$linkopts $flag"
- + linker_flags="$linker_flags $flag"
- + fi
- +
- + # Make a backup of the uninstalled library when relinking
- + if test "$mode" = relink; then
- + $run eval '(cd $output_objdir && $rm ${realname}U && $mv $realname ${realname}U)' || exit $?
- fi
-
- # Do each of the archive commands.
- if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then
- eval cmds=\"$archive_expsym_cmds\"
- else
- + save_deplibs="$deplibs"
- + for conv in $convenience; do
- + tmp_deplibs=
- + for test_deplib in $deplibs; do
- + if test "$test_deplib" != "$conv"; then
- + tmp_deplibs="$tmp_deplibs $test_deplib"
- + fi
- + done
- + deplibs="$tmp_deplibs"
- + done
- eval cmds=\"$archive_cmds\"
- + deplibs="$save_deplibs"
- fi
- - IFS="${IFS= }"; save_ifs="$IFS"; IFS='~'
- + save_ifs="$IFS"; IFS='~'
- for cmd in $cmds; do
- IFS="$save_ifs"
- $show "$cmd"
- @@ -2158,6 +2996,12 @@
- done
- IFS="$save_ifs"
-
- + # Restore the uninstalled library and exit
- + if test "$mode" = relink; then
- + $run eval '(cd $output_objdir && $rm ${realname}T && $mv $realname ${realname}T && $mv "$realname"U $realname)' || exit $?
- + exit 0
- + fi
- +
- # Create links to the real library.
- for linkname in $linknames; do
- if test "$realname" != "$linkname"; then
- @@ -2174,12 +3018,7 @@
- fi
- ;;
-
- - *.lo | *.o | *.obj)
- - if test -n "$link_against_libtool_libs"; then
- - $echo "$modename: error: cannot link libtool libraries into objects" 1>&2
- - exit 1
- - fi
- -
- + obj)
- if test -n "$deplibs"; then
- $echo "$modename: warning: \`-l' and \`-L' are ignored for objects" 1>&2
- fi
- @@ -2204,9 +3043,9 @@
- $echo "$modename: warning: \`-release' is ignored for objects" 1>&2
- fi
-
- - case "$output" in
- + case $output in
- *.lo)
- - if test -n "$objs"; then
- + if test -n "$objs$old_deplibs"; then
- $echo "$modename: cannot build library object \`$output' from non-libtool objects" 1>&2
- exit 1
- fi
- @@ -2230,7 +3069,7 @@
- gentop=
- # reload_cmds runs $LD directly, so let us get rid of
- # -Wl from whole_archive_flag_spec
- - wl=
- + wl=
-
- if test -n "$convenience"; then
- if test -n "$whole_archive_flag_spec"; then
- @@ -2249,7 +3088,7 @@
-
- for xlib in $convenience; do
- # Extract the objects.
- - case "$xlib" in
- + case $xlib in
- [\\/]* | [A-Za-z]:[\\/]*) xabs="$xlib" ;;
- *) xabs=`pwd`"/$xlib" ;;
- esac
- @@ -2273,11 +3112,11 @@
- fi
-
- # Create the old-style object.
- - reload_objs="$objs "`$echo "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}$'/d' -e '/\.lib$/d' -e "$lo2o" | $NL2SP`" $reload_conv_objs"
- + 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
-
- output="$obj"
- eval cmds=\"$reload_cmds\"
- - IFS="${IFS= }"; save_ifs="$IFS"; IFS='~'
- + save_ifs="$IFS"; IFS='~'
- for cmd in $cmds; do
- IFS="$save_ifs"
- $show "$cmd"
- @@ -2308,12 +3147,12 @@
- exit 0
- fi
-
- - if test -n "$pic_flag"; then
- + if test -n "$pic_flag" || test "$pic_mode" != default; then
- # Only do commands if we really have different PIC objects.
- reload_objs="$libobjs $reload_conv_objs"
- output="$libobj"
- eval cmds=\"$reload_cmds\"
- - IFS="${IFS= }"; save_ifs="$IFS"; IFS='~'
- + save_ifs="$IFS"; IFS='~'
- for cmd in $cmds; do
- IFS="$save_ifs"
- $show "$cmd"
- @@ -2344,8 +3183,10 @@
- exit 0
- ;;
-
- - # Anything else should be a program.
- - *)
- + prog)
- + case $host in
- + *cygwin*) output=`echo $output | ${SED} -e 's,.exe$,,;s,$,.exe,'` ;;
- + esac
- if test -n "$vinfo"; then
- $echo "$modename: warning: \`-version-info' is ignored for programs" 1>&2
- fi
- @@ -2355,20 +3196,34 @@
- fi
-
- if test "$preload" = yes; then
- - if test "$dlopen" = unknown && test "$dlopen_self" = unknown &&
- + if test "$dlopen_support" = unknown && test "$dlopen_self" = unknown &&
- test "$dlopen_self_static" = unknown; then
- $echo "$modename: warning: \`AC_LIBTOOL_DLOPEN' not used. Assuming no dlopen support."
- - fi
- + fi
- fi
- -
- +
- + case $host in
- + *-*-rhapsody* | *-*-darwin1.[012])
- + # On Rhapsody replace the C library is the System framework
- + compile_deplibs=`$echo "X $compile_deplibs" | $Xsed -e 's/ -lc / -framework System /'`
- + finalize_deplibs=`$echo "X $finalize_deplibs" | $Xsed -e 's/ -lc / -framework System /'`
- + case $host in
- + *darwin*)
- + # Don't allow lazy linking, it breaks C++ global constructors
- + compile_command="$compile_command ${wl}-bind_at_load"
- + finalize_command="$finalize_command ${wl}-bind_at_load"
- + ;;
- + esac
- + ;;
- + esac
- +
- + compile_command="$compile_command $compile_deplibs"
- + finalize_command="$finalize_command $finalize_deplibs"
- +
- if test -n "$rpath$xrpath"; then
- # If the user specified any rpath flags, then add them.
- for libdir in $rpath $xrpath; do
- # This is the magic to use -rpath.
- - case "$compile_rpath " in
- - *" $libdir "*) ;;
- - *) compile_rpath="$compile_rpath $libdir" ;;
- - esac
- case "$finalize_rpath " in
- *" $libdir "*) ;;
- *) finalize_rpath="$finalize_rpath $libdir" ;;
- @@ -2386,7 +3241,7 @@
- hardcode_libdirs="$libdir"
- else
- # Just accumulate the unique libdirs.
- - case "$hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator" in
- + case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in
- *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
- ;;
- *)
- @@ -2404,6 +3259,14 @@
- *) perm_rpath="$perm_rpath $libdir" ;;
- esac
- fi
- + case $host in
- + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
- + case :$dllsearchpath: in
- + *":$libdir:"*) ;;
- + *) dllsearchpath="$dllsearchpath:$libdir";;
- + esac
- + ;;
- + esac
- done
- # Substitute the hardcoded libdirs into the rpath.
- if test -n "$hardcode_libdir_separator" &&
- @@ -2422,7 +3285,7 @@
- hardcode_libdirs="$libdir"
- else
- # Just accumulate the unique libdirs.
- - case "$hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator" in
- + case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in
- *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
- ;;
- *)
- @@ -2449,23 +3312,6 @@
- fi
- finalize_rpath="$rpath"
-
- - output_objdir=`$echo "X$output" | $Xsed -e 's%/[^/]*$%%'`
- - if test "X$output_objdir" = "X$output"; then
- - output_objdir="$objdir"
- - else
- - output_objdir="$output_objdir/$objdir"
- - fi
- -
- - # Create the binary in the object directory, then wrap it.
- - if test ! -d $output_objdir; then
- - $show "$mkdir $output_objdir"
- - $run $mkdir $output_objdir
- - status=$?
- - if test $status -ne 0 && test ! -d $output_objdir; then
- - exit $status
- - fi
- - fi
- -
- if test -n "$libobjs" && test "$build_old_libs" = yes; then
- # Transform all the library objects into standard objects.
- compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
- @@ -2482,7 +3328,7 @@
- fi
-
- if test -n "$dlsyms"; then
- - case "$dlsyms" in
- + case $dlsyms in
- "") ;;
- *.c)
- # Discover the nlist of each of the dlfiles.
- @@ -2514,7 +3360,7 @@
- test -z "$run" && $echo ': @PROGRAM@ ' > "$nlist"
-
- # Add our own program objects to the symbol list.
- - progfiles=`$echo "X$objs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
- + progfiles=`$echo "X$objs$old_deplibs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
- for arg in $progfiles; do
- $show "extracting global C symbols from \`$arg'"
- $run eval "$NM $arg | $global_symbol_pipe >> '$nlist'"
- @@ -2524,7 +3370,7 @@
- $run eval 'egrep -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T'
- $run eval '$mv "$nlist"T "$nlist"'
- fi
- -
- +
- if test -n "$export_symbols_regex"; then
- $run eval 'egrep -e "$export_symbols_regex" "$nlist" > "$nlist"T'
- $run eval '$mv "$nlist"T "$nlist"'
- @@ -2534,9 +3380,9 @@
- if test -z "$export_symbols"; then
- export_symbols="$output_objdir/$output.exp"
- $run $rm $export_symbols
- - $run eval "sed -n -e '/^: @PROGRAM@$/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"'
- + $run eval "${SED} -n -e '/^: @PROGRAM@$/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"'
- else
- - $run eval "sed -e 's/\([][.*^$]\)/\\\1/g' -e 's/^/ /' -e 's/$/$/'"' < "$export_symbols" > "$output_objdir/$output.exp"'
- + $run eval "${SED} -e 's/\([][.*^$]\)/\\\1/g' -e 's/^/ /' -e 's/$/$/'"' < "$export_symbols" > "$output_objdir/$output.exp"'
- $run eval 'grep -f "$output_objdir/$output.exp" < "$nlist" > "$nlist"T'
- $run eval 'mv "$nlist"T "$nlist"'
- fi
- @@ -2544,7 +3390,7 @@
-
- for arg in $dlprefiles; do
- $show "extracting global C symbols from \`$arg'"
- - name=`echo "$arg" | sed -e 's%^.*/%%'`
- + name=`echo "$arg" | ${SED} -e 's%^.*/%%'`
- $run eval 'echo ": $name " >> "$nlist"'
- $run eval "$NM $arg | $global_symbol_pipe >> '$nlist'"
- done
- @@ -2559,7 +3405,13 @@
- fi
-
- # Try sorting and uniquifying the output.
- - if grep -v "^: " < "$nlist" | sort +2 | uniq > "$nlist"S; then
- + if grep -v "^: " < "$nlist" |
- + if sort -k 3 </dev/null >/dev/null 2>&1; then
- + sort -k 3
- + else
- + sort +2
- + fi |
- + uniq > "$nlist"S; then
- :
- else
- grep -v "^: " < "$nlist" > "$nlist"S
- @@ -2576,27 +3428,25 @@
- #undef lt_preloaded_symbols
-
- #if defined (__STDC__) && __STDC__
- -# define lt_ptr_t void *
- +# define lt_ptr void *
- #else
- -# define lt_ptr_t char *
- +# define lt_ptr char *
- # define const
- #endif
-
- /* The mapping between symbol names and symbols. */
- const struct {
- const char *name;
- - lt_ptr_t address;
- + lt_ptr address;
- }
- lt_preloaded_symbols[] =
- {\
- "
-
- - sed -n -e 's/^: \([^ ]*\) $/ {\"\1\", (lt_ptr_t) 0},/p' \
- - -e 's/^. \([^ ]*\) \([^ ]*\)$/ {"\2", (lt_ptr_t) \&\2},/p' \
- - < "$nlist" >> "$output_objdir/$dlsyms"
- + eval "$global_symbol_to_c_name_address" < "$nlist" >> "$output_objdir/$dlsyms"
-
- $echo >> "$output_objdir/$dlsyms" "\
- - {0, (lt_ptr_t) 0}
- + {0, (lt_ptr) 0}
- };
-
- /* This works around a problem in FreeBSD linker */
- @@ -2613,13 +3463,13 @@
- fi
-
- pic_flag_for_symtable=
- - case "$host" in
- + case $host in
- # compiling the symbol table file with pic_flag works around
- # a FreeBSD bug that causes programs to crash when -lm is
- # linked before any other PIC object. But we must not use
- # pic_flag when linking with -static. The problem exists in
- # FreeBSD 2.2.6 and is fixed in FreeBSD 3.1.
- - *-*-freebsd2*|*-*-freebsd3.0*|*-*-freebsdelf3.0*)
- + *-*-freebsd2*|*-*-freebsd3.0*|*-*-freebsdelf3.0*)
- case "$compile_command " in
- *" -static "*) ;;
- *) pic_flag_for_symtable=" $pic_flag -DPIC -DFREEBSD_WORKAROUND";;
- @@ -2658,7 +3508,7 @@
- finalize_command=`$echo "X$finalize_command" | $Xsed -e "s% @SYMFILE@%%"`
- fi
-
- - if test -z "$link_against_libtool_libs" || test "$build_libtool_libs" != yes; then
- + if test $need_relink = no || test "$build_libtool_libs" != yes; then
- # Replace the output file specification.
- compile_command=`$echo "X$compile_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'`
- link_command="$compile_command$compile_rpath"
- @@ -2667,7 +3517,7 @@
- $show "$link_command"
- $run eval "$link_command"
- status=$?
- -
- +
- # Delete the generated files.
- if test -n "$dlsyms"; then
- $show "$rm $output_objdir/${outputname}S.${objext}"
- @@ -2681,7 +3531,7 @@
- # We should set the shlibpath_var
- rpath=
- for dir in $temp_rpath; do
- - case "$dir" in
- + case $dir in
- [\\/]* | [A-Za-z]:[\\/]*)
- # Absolute path.
- rpath="$rpath$dir:"
- @@ -2723,11 +3573,24 @@
- fi
- fi
-
- + if test "$no_install" = yes; then
- + # We don't need to create a wrapper script.
- + link_command="$compile_var$compile_command$compile_rpath"
- + # Replace the output file specification.
- + link_command=`$echo "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'`
- + # Delete the old output file.
- + $run $rm $output
- + # Link the executable and exit
- + $show "$link_command"
- + $run eval "$link_command" || exit $?
- + exit 0
- + fi
- +
- if test "$hardcode_action" = relink; then
- # Fast installation is not supported
- link_command="$compile_var$compile_command$compile_rpath"
- relink_command="$finalize_var$finalize_command$finalize_rpath"
- -
- +
- $echo "$modename: warning: this platform does not like uninstalled shared libraries" 1>&2
- $echo "$modename: \`$output' will be relinked during installation" 1>&2
- else
- @@ -2747,7 +3610,7 @@
-
- # Replace the output file specification.
- link_command=`$echo "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output_objdir/$outputname"'%g'`
- -
- +
- # Delete the old output files.
- $run $rm $output $output_objdir/$outputname $output_objdir/lt-$outputname
-
- @@ -2759,12 +3622,24 @@
-
- # Quote the relink command for shipping.
- if test -n "$relink_command"; then
- + # Preserve any variables that may affect compiler behavior
- + for var in $variables_saved_for_relink; do
- + if eval test -z \"\${$var+set}\"; then
- + relink_command="{ test -z \"\${$var+set}\" || unset $var || { $var=; export $var; }; }; $relink_command"
- + elif eval var_value=\$$var; test -z "$var_value"; then
- + relink_command="$var=; export $var; $relink_command"
- + else
- + var_value=`$echo "X$var_value" | $Xsed -e "$sed_quote_subst"`
- + relink_command="$var=\"$var_value\"; export $var; $relink_command"
- + fi
- + done
- + relink_command="(cd `pwd`; $relink_command)"
- relink_command=`$echo "X$relink_command" | $Xsed -e "$sed_quote_subst"`
- fi
-
- # Quote $echo for shipping.
- if test "X$echo" = "X$SHELL $0 --fallback-echo"; then
- - case "$0" in
- + case $0 in
- [\\/]* | [A-Za-z]:[\\/]*) qecho="$SHELL $0 --fallback-echo";;
- *) qecho="$SHELL `pwd`/$0 --fallback-echo";;
- esac
- @@ -2778,7 +3653,12 @@
- # win32 will think the script is a binary if it has
- # a .exe suffix, so we strip it off here.
- case $output in
- - *.exe) output=`echo $output|sed 's,.exe$,,'` ;;
- + *.exe) output=`echo $output|${SED} 's,.exe$,,'` ;;
- + esac
- + # test for cygwin because mv fails w/o .exe extensions
- + case $host in
- + *cygwin*) exeext=.exe ;;
- + *) exeext= ;;
- esac
- $rm $output
- trap "$rm $output; exit 1" 1 2 15
- @@ -2797,7 +3677,7 @@
-
- # Sed substitution that helps us do robust quoting. It backslashifies
- # metacharacters that are still active within double-quoted strings.
- -Xsed='sed -e 1s/^X//'
- +Xsed="${SED}"' -e 1s/^X//'
- sed_quote_subst='$sed_quote_subst'
-
- # The HP-UX ksh and POSIX shell print the target directory to stdout
- @@ -2809,7 +3689,7 @@
- # This environment variable determines our operation mode.
- if test \"\$libtool_install_magic\" = \"$magic\"; then
- # install mode needs the following variable:
- - link_against_libtool_libs='$link_against_libtool_libs'
- + notinst_deplibs='$notinst_deplibs'
- else
- # When we are sourced in execute mode, \$file and \$echo are already set.
- if test \"\$libtool_execute_magic\" != \"$magic\"; then
- @@ -2835,20 +3715,20 @@
- test \"x\$thisdir\" = \"x\$file\" && thisdir=.
-
- # Follow symbolic links until we get to the real thisdir.
- - file=\`ls -ld \"\$file\" | sed -n 's/.*-> //p'\`
- + file=\`ls -ld \"\$file\" | ${SED} -n 's/.*-> //p'\`
- while test -n \"\$file\"; do
- destdir=\`\$echo \"X\$file\" | \$Xsed -e 's%/[^/]*\$%%'\`
-
- # If there was a directory component, then change thisdir.
- if test \"x\$destdir\" != \"x\$file\"; then
- case \"\$destdir\" in
- - [\\/]* | [A-Za-z]:[\\/]*) thisdir=\"\$destdir\" ;;
- + [\\\\/]* | [A-Za-z]:[\\\\/]*) thisdir=\"\$destdir\" ;;
- *) thisdir=\"\$thisdir/\$destdir\" ;;
- esac
- fi
-
- file=\`\$echo \"X\$file\" | \$Xsed -e 's%^.*/%%'\`
- - file=\`ls -ld \"\$thisdir/\$file\" | sed -n 's/.*-> //p'\`
- + file=\`ls -ld \"\$thisdir/\$file\" | ${SED} -n 's/.*-> //p'\`
- done
-
- # Try to get the absolute directory name.
- @@ -2858,11 +3738,11 @@
-
- if test "$fast_install" = yes; then
- echo >> $output "\
- - program=lt-'$outputname'
- + program=lt-'$outputname'$exeext
- progdir=\"\$thisdir/$objdir\"
- -
- +
- if test ! -f \"\$progdir/\$program\" || \\
- - { file=\`ls -1dt \"\$progdir/\$program\" \"\$progdir/../\$program\" 2>/dev/null | sed 1q\`; \\
- + { file=\`ls -1dt \"\$progdir/\$program\" \"\$progdir/../\$program\" 2>/dev/null | ${SED} 1q\`; \\
- test \"X\$file\" != \"X\$progdir/\$program\"; }; then
-
- file=\"\$\$-\$program\"
- @@ -2877,8 +3757,9 @@
-
- # relink executable if necessary
- if test -n \"\$relink_command\"; then
- - if (cd \"\$thisdir\" && eval \$relink_command); then :
- + if relink_command_output=\`eval \$relink_command 2>&1\`; then :
- else
- + $echo \"\$relink_command_output\" >&2
- $rm \"\$progdir/\$file\"
- exit 1
- fi
- @@ -2907,7 +3788,7 @@
- $shlibpath_var=\"$temp_rpath\$$shlibpath_var\"
-
- # Some systems cannot cope with colon-terminated $shlibpath_var
- - # The second colon is a workaround for a bug in BeOS R4 sed
- + # The second colon is a workaround for a bug in BeOS R4 ${SED}
- $shlibpath_var=\`\$echo \"X\$$shlibpath_var\" | \$Xsed -e 's/::*\$//'\`
-
- export $shlibpath_var
- @@ -2927,13 +3808,21 @@
- # Run the actual program with our arguments.
- "
- case $host in
- - *-*-cygwin* | *-*-mingw | *-*-os2*)
- - # win32 systems need to use the prog path for dll
- - # lookup to work
- + # win32 systems need to use the prog path for dll
- + # lookup to work
- + *-*-cygwin* | *-*-pw32*)
- + $echo >> $output "\
- + exec \$progdir/\$program \${1+\"\$@\"}
- +"
- + ;;
- +
- + # Backslashes separate directories on plain windows
- + *-*-mingw | *-*-os2*)
- $echo >> $output "\
- exec \$progdir\\\\\$program \${1+\"\$@\"}
- "
- ;;
- +
- *)
- $echo >> $output "\
- # Export the path to the program.
- @@ -2975,7 +3864,7 @@
- oldobjs="$libobjs_save"
- build_libtool_libs=no
- else
- - oldobjs="$objs "`$echo "X$libobjs_save" | $SP2NL | $Xsed -e '/\.'${libext}'$/d' -e '/\.lib$/d' -e "$lo2o" | $NL2SP`
- + oldobjs="$objs$old_deplibs "`$echo "X$libobjs_save" | $SP2NL | $Xsed -e '/\.'${libext}'$/d' -e '/\.lib$/d' -e "$lo2o" | $NL2SP`
- fi
- addlibs="$old_convenience"
- fi
- @@ -2991,11 +3880,11 @@
- exit $status
- fi
- generated="$generated $gentop"
- -
- +
- # Add in members from convenience archives.
- for xlib in $addlibs; do
- # Extract the objects.
- - case "$xlib" in
- + case $xlib in
- [\\/]* | [A-Za-z]:[\\/]*) xabs="$xlib" ;;
- *) xabs=`pwd`"/$xlib" ;;
- esac
- @@ -3041,7 +3930,7 @@
-
- eval cmds=\"$old_archive_cmds\"
- fi
- - IFS="${IFS= }"; save_ifs="$IFS"; IFS='~'
- + save_ifs="$IFS"; IFS='~'
- for cmd in $cmds; do
- IFS="$save_ifs"
- $show "$cmd"
- @@ -3056,19 +3945,26 @@
- fi
-
- # Now create the libtool archive.
- - case "$output" in
- + case $output in
- *.la)
- old_library=
- test "$build_old_libs" = yes && old_library="$libname.$libext"
- $show "creating $output"
-
- - if test -n "$xrpath"; then
- - temp_xrpath=
- - for libdir in $xrpath; do
- - temp_xrpath="$temp_xrpath -R$libdir"
- - done
- - dependency_libs="$temp_xrpath $dependency_libs"
- - fi
- + # Preserve any variables that may affect compiler behavior
- + for var in $variables_saved_for_relink; do
- + if eval test -z \"\${$var+set}\"; then
- + relink_command="{ test -z \"\${$var+set}\" || unset $var || { $var=; export $var; }; }; $relink_command"
- + elif eval var_value=\$$var; test -z "$var_value"; then
- + relink_command="$var=; export $var; $relink_command"
- + else
- + var_value=`$echo "X$var_value" | $Xsed -e "$sed_quote_subst"`
- + relink_command="$var=\"$var_value\"; export $var; $relink_command"
- + fi
- + done
- + # Quote the link command for shipping.
- + relink_command="(cd `pwd`; $SHELL $0 --mode=relink $libtool_args @inst_prefix_dir@)"
- + relink_command=`$echo "X$relink_command" | $Xsed -e "$sed_quote_subst"`
-
- # Only create the output if not a dry run.
- if test -z "$run"; then
- @@ -3078,8 +3974,52 @@
- break
- fi
- output="$output_objdir/$outputname"i
- + # Replace all uninstalled libtool libraries with the installed ones
- + newdependency_libs=
- + for deplib in $dependency_libs; do
- + case $deplib in
- + *.la)
- + name=`$echo "X$deplib" | $Xsed -e 's%^.*/%%'`
- + eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
- + if test -z "$libdir"; then
- + $echo "$modename: \`$deplib' is not a valid libtool archive" 1>&2
- + exit 1
- + fi
- + newdependency_libs="$newdependency_libs $libdir/$name"
- + ;;
- + *) newdependency_libs="$newdependency_libs $deplib" ;;
- + esac
- + done
- + dependency_libs="$newdependency_libs"
- + newdlfiles=
- + for lib in $dlfiles; do
- + name=`$echo "X$lib" | $Xsed -e 's%^.*/%%'`
- + eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib`
- + if test -z "$libdir"; then
- + $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2
- + exit 1
- + fi
- + newdlfiles="$newdlfiles $libdir/$name"
- + done
- + dlfiles="$newdlfiles"
- + newdlprefiles=
- + for lib in $dlprefiles; do
- + name=`$echo "X$lib" | $Xsed -e 's%^.*/%%'`
- + eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib`
- + if test -z "$libdir"; then
- + $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2
- + exit 1
- + fi
- + newdlprefiles="$newdlprefiles $libdir/$name"
- + done
- + dlprefiles="$newdlprefiles"
- fi
- $rm $output
- + # place dlname in correct position for cygwin
- + tdlname=$dlname
- + case $host,$output,$installed,$module,$dlname in
- + *cygwin*,*lai,yes,no,*.dll) tdlname=../bin/$dlname ;;
- + esac
- $echo > $output "\
- # $outputname - a libtool library file
- # Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP
- @@ -3088,7 +4028,7 @@
- # It is necessary for linking the library.
-
- # The name that we can dlopen(3).
- -dlname='$dlname'
- +dlname='$tdlname'
-
- # Names of this library.
- library_names='$library_names'
- @@ -3107,16 +4047,23 @@
- # Is this an already installed library?
- installed=$installed
-
- +# Files to dlopen/dlpreopen
- +dlopen='$dlfiles'
- +dlpreopen='$dlprefiles'
- +
- # Directory that this library needs to be installed in:
- -libdir='$install_libdir'\
- -"
- +libdir='$install_libdir'"
- + if test "$installed" = no && test $need_relink = yes; then
- + $echo >> $output "\
- +relink_command=\"$relink_command\""
- + fi
- done
- fi
-
- # Do a symbolic link so that the libtool archive can be found in
- # LD_LIBRARY_PATH before the program is installed.
- $show "(cd $output_objdir && $rm $outputname && $LN_S ../$outputname $outputname)"
- - $run eval "(cd $output_objdir && $rm $outputname && $LN_S ../$outputname $outputname)" || exit $?
- + $run eval '(cd $output_objdir && $rm $outputname && $LN_S ../$outputname $outputname)' || exit $?
- ;;
- esac
- exit 0
- @@ -3128,10 +4075,12 @@
-
- # There may be an optional sh(1) argument at the beginning of
- # install_prog (especially on Windows NT).
- - if test "$nonopt" = "$SHELL" || test "$nonopt" = /bin/sh; then
- + if test "$nonopt" = "$SHELL" || test "$nonopt" = /bin/sh ||
- + # Allow the use of GNU shtool's install command.
- + $echo "X$nonopt" | $Xsed | grep shtool > /dev/null; then
- # Aesthetically quote it.
- arg=`$echo "X$nonopt" | $Xsed -e "$sed_quote_subst"`
- - case "$arg" in
- + case $arg in
- *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*)
- arg="\"$arg\""
- ;;
- @@ -3147,7 +4096,7 @@
- # The real first argument should be the name of the installation program.
- # Aesthetically quote it.
- arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
- - case "$arg" in
- + case $arg in
- *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*)
- arg="\"$arg\""
- ;;
- @@ -3170,7 +4119,7 @@
- continue
- fi
-
- - case "$arg" in
- + case $arg in
- -d) isdir=yes ;;
- -f) prev="-f" ;;
- -g) prev="-g" ;;
- @@ -3195,7 +4144,7 @@
-
- # Aesthetically quote the argument.
- arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
- - case "$arg" in
- + case $arg in
- *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*)
- arg="\"$arg\""
- ;;
- @@ -3246,11 +4195,11 @@
- exit 1
- fi
- fi
- - case "$destdir" in
- + case $destdir in
- [\\/]* | [A-Za-z]:[\\/]*) ;;
- *)
- for file in $files; do
- - case "$file" in
- + case $file in
- *.lo) ;;
- *)
- $echo "$modename: \`$destdir' must be an absolute directory name" 1>&2
- @@ -3272,15 +4221,15 @@
- for file in $files; do
-
- # Do each installation.
- - case "$file" in
- - *.a | *.lib)
- + case $file in
- + *.$libext)
- # Do the static libraries later.
- staticlibs="$staticlibs $file"
- ;;
-
- *.la)
- # Check to see that this really is a libtool archive.
- - if (sed -e '2q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then :
- + if (${SED} -e '2q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then :
- else
- $echo "$modename: \`$file' is not a valid libtool archive" 1>&2
- $echo "$help" 1>&2
- @@ -3289,8 +4238,9 @@
-
- library_names=
- old_library=
- + relink_command=
- # If there is no directory component, then add one.
- - case "$file" in
- + case $file in
- */* | *\\*) . $file ;;
- *) . ./$file ;;
- esac
- @@ -3309,10 +4259,38 @@
- esac
- fi
-
- - dir="`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'`/"
- + dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'`/
- test "X$dir" = "X$file/" && dir=
- dir="$dir$objdir"
-
- + if test -n "$relink_command"; then
- + # Determine the prefix the user has applied to our future dir.
- + inst_prefix_dir=`$echo "$destdir" | sed "s%$libdir\$%%"`
- +
- + # Don't allow the user to place us outside of our expected
- + # location b/c this prevents finding dependent libraries that
- + # are installed to the same prefix.
- + if test "$inst_prefix_dir" = "$destdir"; then
- + $echo "$modename: error: cannot install \`$file' to a directory not ending in $libdir" 1>&2
- + exit 1
- + fi
- +
- + if test -n "$inst_prefix_dir"; then
- + # Stick the inst_prefix_dir data into the link command.
- + relink_command=`$echo "$relink_command" | sed "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%"`
- + else
- + relink_command=`$echo "$relink_command" | sed "s%@inst_prefix_dir@%%"`
- + fi
- +
- + $echo "$modename: warning: relinking \`$file'" 1>&2
- + $show "$relink_command"
- + if $run eval "$relink_command"; then :
- + else
- + $echo "$modename: error: relink \`$file' with the above command before installing it" 1>&2
- + exit 1
- + fi
- + fi
- +
- # See the names of the shared library.
- set dummy $library_names
- if test -n "$2"; then
- @@ -3320,9 +4298,16 @@
- shift
- shift
-
- + srcname="$realname"
- + test -n "$relink_command" && srcname="$realname"T
- +
- # Install the shared library and build the symlinks.
- - $show "$install_prog $dir/$realname $destdir/$realname"
- - $run eval "$install_prog $dir/$realname $destdir/$realname" || exit $?
- + $show "$install_prog $dir/$srcname $destdir/$realname"
- + $run eval "$install_prog $dir/$srcname $destdir/$realname" || exit $?
- + if test -n "$stripme" && test -n "$striplib"; then
- + $show "$striplib $destdir/$realname"
- + $run eval "$striplib $destdir/$realname" || exit $?
- + fi
-
- if test $# -gt 0; then
- # Delete the old symlinks, and create new ones.
- @@ -3338,7 +4323,7 @@
- # Do each command in the postinstall commands.
- lib="$destdir/$realname"
- eval cmds=\"$postinstall_cmds\"
- - IFS="${IFS= }"; save_ifs="$IFS"; IFS='~'
- + save_ifs="$IFS"; IFS='~'
- for cmd in $cmds; do
- IFS="$save_ifs"
- $show "$cmd"
- @@ -3369,11 +4354,11 @@
- fi
-
- # Deduce the name of the destination old-style object file.
- - case "$destfile" in
- + case $destfile in
- *.lo)
- staticdest=`$echo "X$destfile" | $Xsed -e "$lo2o"`
- ;;
- - *.o | *.obj)
- + *.$objext)
- staticdest="$destfile"
- destfile=
- ;;
- @@ -3411,40 +4396,55 @@
- fi
-
- # Do a test to see if this is really a libtool program.
- - if (sed -e '4q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
- - link_against_libtool_libs=
- + case $host in
- + *cygwin*|*mingw*)
- + wrapper=`echo $file | ${SED} -e 's,.exe$,,'`
- + ;;
- + *)
- + wrapper=$file
- + ;;
- + esac
- + if (${SED} -e '4q' $wrapper | egrep "^# Generated by .*$PACKAGE")>/dev/null 2>&1; then
- + notinst_deplibs=
- relink_command=
-
- # If there is no directory component, then add one.
- - case "$file" in
- - */* | *\\*) . $file ;;
- - *) . ./$file ;;
- + case $file in
- + */* | *\\*) . $wrapper ;;
- + *) . ./$wrapper ;;
- esac
-
- # Check the variables that should have been set.
- - if test -z "$link_against_libtool_libs"; then
- - $echo "$modename: invalid libtool wrapper script \`$file'" 1>&2
- + if test -z "$notinst_deplibs"; then
- + $echo "$modename: invalid libtool wrapper script \`$wrapper'" 1>&2
- exit 1
- fi
-
- finalize=yes
- - for lib in $link_against_libtool_libs; do
- + for lib in $notinst_deplibs; do
- # Check to see that each library is installed.
- libdir=
- if test -f "$lib"; then
- # If there is no directory component, then add one.
- - case "$lib" in
- + case $lib in
- */* | *\\*) . $lib ;;
- *) . ./$lib ;;
- esac
- fi
- - libfile="$libdir/`$echo "X$lib" | $Xsed -e 's%^.*/%%g'`"
- + libfile="$libdir/"`$echo "X$lib" | $Xsed -e 's%^.*/%%g'` ### testsuite: skip nested quoting test
- if test -n "$libdir" && test ! -f "$libfile"; then
- $echo "$modename: warning: \`$lib' has not been installed in \`$libdir'" 1>&2
- finalize=no
- fi
- done
-
- + relink_command=
- + # If there is no directory component, then add one.
- + case $file in
- + */* | *\\*) . $wrapper ;;
- + *) . ./$wrapper ;;
- + esac
- +
- outputname=
- if test "$fast_install" = no && test -n "$relink_command"; then
- if test "$finalize" = yes && test -z "$run"; then
- @@ -3456,6 +4456,7 @@
- $echo "$modename: error: cannot create temporary directory \`$tmpdir'" 1>&2
- continue
- fi
- + file=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
- outputname="$tmpdir/$file"
- # Replace the output file specification.
- relink_command=`$echo "X$relink_command" | $Xsed -e 's%@OUTPUT@%'"$outputname"'%g'`
- @@ -3477,6 +4478,23 @@
- fi
- fi
-
- + # remove .exe since cygwin /usr/bin/install will append another
- + # one anyways
- + case $install_prog,$host in
- + /usr/bin/install*,*cygwin*)
- + case $file:$destfile in
- + *.exe:*.exe)
- + # this is ok
- + ;;
- + *.exe:*)
- + destfile=$destfile.exe
- + ;;
- + *:*.exe)
- + destfile=`echo $destfile | ${SED} -e 's,.exe$,,'`
- + ;;
- + esac
- + ;;
- + esac
- $show "$install_prog$stripme $file $destfile"
- $run eval "$install_prog\$stripme \$file \$destfile" || exit $?
- test -n "$outputname" && ${rm}r "$tmpdir"
- @@ -3493,9 +4511,14 @@
- $show "$install_prog $file $oldlib"
- $run eval "$install_prog \$file \$oldlib" || exit $?
-
- + if test -n "$stripme" && test -n "$striplib"; then
- + $show "$old_striplib $oldlib"
- + $run eval "$old_striplib $oldlib" || exit $?
- + fi
- +
- # Do each command in the postinstall commands.
- eval cmds=\"$old_postinstall_cmds\"
- - IFS="${IFS= }"; save_ifs="$IFS"; IFS='~'
- + save_ifs="$IFS"; IFS='~'
- for cmd in $cmds; do
- IFS="$save_ifs"
- $show "$cmd"
- @@ -3511,11 +4534,10 @@
- if test -n "$current_libdirs"; then
- # Maybe just do a dry run.
- test -n "$run" && current_libdirs=" -n$current_libdirs"
- - exec $SHELL $0 --finish$current_libdirs
- - exit 1
- + exec_cmd='$SHELL $0 --finish$current_libdirs'
- + else
- + exit 0
- fi
- -
- - exit 0
- ;;
-
- # libtool finish mode
- @@ -3534,7 +4556,7 @@
- if test -n "$finish_cmds"; then
- # Do each command in the finish commands.
- eval cmds=\"$finish_cmds\"
- - IFS="${IFS= }"; save_ifs="$IFS"; IFS='~'
- + save_ifs="$IFS"; IFS='~'
- for cmd in $cmds; do
- IFS="$save_ifs"
- $show "$cmd"
- @@ -3553,7 +4575,7 @@
- fi
-
- # Exit here if they wanted silent mode.
- - test "$show" = : && exit 0
- + test "$show" = ":" && exit 0
-
- echo "----------------------------------------------------------------------"
- echo "Libraries have been installed in:"
- @@ -3563,7 +4585,7 @@
- echo
- echo "If you ever happen to want to link against installed libraries"
- echo "in a given directory, LIBDIR, you must either use libtool, and"
- - echo "specify the full pathname of the library, or use \`-LLIBDIR'"
- + echo "specify the full pathname of the library, or use the \`-LLIBDIR'"
- echo "flag during linking and do at least one of the following:"
- if test -n "$shlibpath_var"; then
- echo " - add LIBDIR to the \`$shlibpath_var' environment variable"
- @@ -3613,10 +4635,10 @@
- fi
-
- dir=
- - case "$file" in
- + case $file in
- *.la)
- # Check to see that this really is a libtool archive.
- - if (sed -e '2q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then :
- + if (${SED} -e '2q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then :
- else
- $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2
- $echo "$help" 1>&2
- @@ -3628,7 +4650,7 @@
- library_names=
-
- # If there is no directory component, then add one.
- - case "$file" in
- + case $file in
- */* | *\\*) . $file ;;
- *) . ./$file ;;
- esac
- @@ -3683,13 +4705,13 @@
- args=
- for file
- do
- - case "$file" in
- + case $file in
- -*) ;;
- *)
- # Do a test to see if this is really a libtool program.
- - if (sed -e '4q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
- + if (${SED} -e '4q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
- # If there is no directory component, then add one.
- - case "$file" in
- + case $file in
- */* | *\\*) . $file ;;
- *) . ./$file ;;
- esac
- @@ -3706,8 +4728,8 @@
-
- if test -z "$run"; then
- if test -n "$shlibpath_var"; then
- - # Export the shlibpath_var.
- - eval "export $shlibpath_var"
- + # Export the shlibpath_var.
- + eval "export $shlibpath_var"
- fi
-
- # Restore saved enviroment variables
- @@ -3718,31 +4740,35 @@
- LANG="$save_LANG"; export LANG
- fi
-
- - # Now actually exec the command.
- - eval "exec \$cmd$args"
- -
- - $echo "$modename: cannot exec \$cmd$args"
- - exit 1
- + # Now prepare to actually exec the command.
- + exec_cmd="\$cmd$args"
- else
- # Display what would be done.
- if test -n "$shlibpath_var"; then
- - eval "\$echo \"\$shlibpath_var=\$$shlibpath_var\""
- - $echo "export $shlibpath_var"
- + eval "\$echo \"\$shlibpath_var=\$$shlibpath_var\""
- + $echo "export $shlibpath_var"
- fi
- $echo "$cmd$args"
- exit 0
- fi
- ;;
-
- - # libtool uninstall mode
- - uninstall)
- - modename="$modename: uninstall"
- + # libtool clean and uninstall mode
- + clean | uninstall)
- + modename="$modename: $mode"
- rm="$nonopt"
- files=
- + rmforce=
- + exit_status=0
- +
- + # This variable tells wrapper scripts just to set variables rather
- + # than running their programs.
- + libtool_install_magic="$magic"
-
- for arg
- do
- - case "$arg" in
- + case $arg in
- + -f) rm="$rm $arg"; rmforce=yes ;;
- -*) rm="$rm $arg" ;;
- *) files="$files $arg" ;;
- esac
- @@ -3754,53 +4780,86 @@
- exit 1
- fi
-
- + rmdirs=
- +
- for file in $files; do
- dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'`
- - test "X$dir" = "X$file" && dir=.
- + if test "X$dir" = "X$file"; then
- + dir=.
- + objdir="$objdir"
- + else
- + objdir="$dir/$objdir"
- + fi
- name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
- + test $mode = uninstall && objdir="$dir"
- +
- + # Remember objdir for removal later, being careful to avoid duplicates
- + if test $mode = clean; then
- + case " $rmdirs " in
- + *" $objdir "*) ;;
- + *) rmdirs="$rmdirs $objdir" ;;
- + esac
- + fi
- +
- + # Don't error if the file doesn't exist and rm -f was used.
- + if (test -L "$file") >/dev/null 2>&1 \
- + || (test -h "$file") >/dev/null 2>&1 \
- + || test -f "$file"; then
- + :
- + elif test -d "$file"; then
- + exit_status=1
- + continue
- + elif test "$rmforce" = yes; then
- + continue
- + fi
-
- rmfiles="$file"
-
- - case "$name" in
- + case $name in
- *.la)
- # Possibly a libtool archive, so verify it.
- - if (sed -e '2q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
- + if (${SED} -e '2q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
- . $dir/$name
-
- # Delete the libtool libraries and symlinks.
- for n in $library_names; do
- - rmfiles="$rmfiles $dir/$n"
- + rmfiles="$rmfiles $objdir/$n"
- done
- - test -n "$old_library" && rmfiles="$rmfiles $dir/$old_library"
- + test -n "$old_library" && rmfiles="$rmfiles $objdir/$old_library"
- + test $mode = clean && rmfiles="$rmfiles $objdir/$name $objdir/${name}i"
-
- - $show "$rm $rmfiles"
- - $run $rm $rmfiles
- -
- - if test -n "$library_names"; then
- - # Do each command in the postuninstall commands.
- - eval cmds=\"$postuninstall_cmds\"
- - IFS="${IFS= }"; save_ifs="$IFS"; IFS='~'
- - for cmd in $cmds; do
- + if test $mode = uninstall; then
- + if test -n "$library_names"; then
- + # Do each command in the postuninstall commands.
- + eval cmds=\"$postuninstall_cmds\"
- + save_ifs="$IFS"; IFS='~'
- + for cmd in $cmds; do
- + IFS="$save_ifs"
- + $show "$cmd"
- + $run eval "$cmd"
- + if test $? != 0 && test "$rmforce" != yes; then
- + exit_status=1
- + fi
- + done
- IFS="$save_ifs"
- - $show "$cmd"
- - $run eval "$cmd"
- - done
- - IFS="$save_ifs"
- - fi
- + fi
-
- - if test -n "$old_library"; then
- - # Do each command in the old_postuninstall commands.
- - eval cmds=\"$old_postuninstall_cmds\"
- - IFS="${IFS= }"; save_ifs="$IFS"; IFS='~'
- - for cmd in $cmds; do
- + if test -n "$old_library"; then
- + # Do each command in the old_postuninstall commands.
- + eval cmds=\"$old_postuninstall_cmds\"
- + save_ifs="$IFS"; IFS='~'
- + for cmd in $cmds; do
- + IFS="$save_ifs"
- + $show "$cmd"
- + $run eval "$cmd"
- + if test $? != 0 && test "$rmforce" != yes; then
- + exit_status=1
- + fi
- + done
- IFS="$save_ifs"
- - $show "$cmd"
- - $run eval "$cmd"
- - done
- - IFS="$save_ifs"
- + fi
- + # FIXME: should reinstall the best remaining shared library.
- fi
- -
- - # FIXME: should reinstall the best remaining shared library.
- fi
- ;;
-
- @@ -3809,17 +4868,35 @@
- oldobj=`$echo "X$name" | $Xsed -e "$lo2o"`
- rmfiles="$rmfiles $dir/$oldobj"
- fi
- - $show "$rm $rmfiles"
- - $run $rm $rmfiles
- ;;
-
- *)
- - $show "$rm $rmfiles"
- - $run $rm $rmfiles
- + # Do a test to see if this is a libtool program.
- + if test $mode = clean &&
- + (${SED} -e '4q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
- + relink_command=
- + . $dir/$file
- +
- + rmfiles="$rmfiles $objdir/$name $objdir/${name}S.${objext}"
- + if test "$fast_install" = yes && test -n "$relink_command"; then
- + rmfiles="$rmfiles $objdir/lt-$name"
- + fi
- + fi
- ;;
- esac
- + $show "$rm $rmfiles"
- + $run $rm $rmfiles || exit_status=1
- done
- - exit 0
- +
- + # Try to remove the ${objdir}s in the directories where we deleted files
- + for dir in $rmdirs; do
- + if test -d "$dir"; then
- + $show "rmdir $dir"
- + $run rmdir $dir >/dev/null 2>&1
- + fi
- + done
- +
- + exit $exit_status
- ;;
-
- "")
- @@ -3829,13 +4906,20 @@
- ;;
- esac
-
- - $echo "$modename: invalid operation mode \`$mode'" 1>&2
- - $echo "$generic_help" 1>&2
- - exit 1
- + if test -z "$exec_cmd"; then
- + $echo "$modename: invalid operation mode \`$mode'" 1>&2
- + $echo "$generic_help" 1>&2
- + exit 1
- + fi
- fi # test -z "$show_help"
-
- +if test -n "$exec_cmd"; then
- + eval exec $exec_cmd
- + exit 1
- +fi
- +
- # We need to display help for each of the modes.
- -case "$mode" in
- +case $mode in
- "") $echo \
- "Usage: $modename [OPTION]... [MODE-ARG]...
-
- @@ -3854,6 +4938,7 @@
-
- MODE must be one of the following:
-
- + clean remove files from the build directory
- compile compile a source file into a libtool object
- execute automatically set library path, then run a program
- finish complete the installation of libtool libraries
- @@ -3866,6 +4951,20 @@
- exit 0
- ;;
-
- +clean)
- + $echo \
- +"Usage: $modename [OPTION]... --mode=clean RM [RM-OPTION]... FILE...
- +
- +Remove files from the build directory.
- +
- +RM is the name of the program to use to delete files associated with each FILE
- +(typically \`/bin/rm'). RM-OPTIONS are options (such as \`-f') to be passed
- +to RM.
- +
- +If FILE is a libtool library, object or program, all the files associated
- +with it are deleted. Otherwise, only FILE itself is deleted using RM."
- + ;;
- +
- compile)
- $echo \
- "Usage: $modename [OPTION]... --mode=compile COMPILE-COMMAND... SOURCEFILE
- @@ -3875,6 +4974,8 @@
- This mode accepts the following additional options:
-
- -o OUTPUT-FILE set the output file name to OUTPUT-FILE
- + -prefer-pic try to building PIC objects only
- + -prefer-non-pic try to building non-PIC objects only
- -static always build a \`.o' file suitable for static linking
-
- COMPILE-COMMAND is a command to be used in creating a \`standard' object file
- @@ -3954,6 +5055,8 @@
- -LLIBDIR search LIBDIR for required installed libraries
- -lNAME OUTPUT-FILE requires the installed library libNAME
- -module build a library that can dlopened
- + -no-fast-install disable the fast-install mode
- + -no-install link a not-installable executable
- -no-undefined declare that a library does not refer to external symbols
- -o OUTPUT-FILE create OUTPUT-FILE from the specified objects
- -release RELEASE specify package release information
- --- recode-3.6.orig/m4/libtool.m4
- +++ recode-3.6/m4/libtool.m4
- @@ -1,5 +1,6 @@
- -## libtool.m4 - Configure libtool for the target system. -*-Shell-script-*-
- -## Copyright (C) 1996-1999, 2000 Free Software Foundation, Inc.
- +# libtool.m4 - Configure libtool for the host system. -*-Shell-script-*-
- +## Copyright 1996, 1997, 1998, 1999, 2000, 2001
- +## Free Software Foundation, Inc.
- ## Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
- ##
- ## This program is free software; you can redistribute it and/or modify
- @@ -21,134 +22,3028 @@
- ## configuration script generated by Autoconf, you may include it under
- ## the same distribution terms that you use for the rest of that program.
-
- -# serial 40 AC_PROG_LIBTOOL
- -AC_DEFUN(AC_PROG_LIBTOOL,
- +# serial 46 AC_PROG_LIBTOOL
- +# Debian $Rev: 50 $
- +
- +AC_DEFUN([AC_PROG_LIBTOOL],
- [AC_REQUIRE([AC_LIBTOOL_SETUP])dnl
-
- -# Save cache, so that ltconfig can load it
- -AC_CACHE_SAVE
- +# This can be used to rebuild libtool when needed
- +LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
- +
- +# Always use our own libtool.
- +LIBTOOL='$(SHELL) $(top_builddir)/libtool'
- +AC_SUBST(LIBTOOL)dnl
- +
- +# Prevent multiple expansion
- +define([AC_PROG_LIBTOOL], [])
- +])
- +
- +AC_DEFUN([AC_LIBTOOL_SETUP],
- +[AC_PREREQ(2.13)dnl
- +AC_REQUIRE([AC_ENABLE_SHARED])dnl
- +AC_REQUIRE([AC_ENABLE_STATIC])dnl
- +AC_REQUIRE([AC_ENABLE_FAST_INSTALL])dnl
- +AC_REQUIRE([AC_CANONICAL_HOST])dnl
- +AC_REQUIRE([AC_CANONICAL_BUILD])dnl
- +AC_REQUIRE([AC_PROG_CC])dnl
- +AC_REQUIRE([AC_PROG_LD])dnl
- +AC_REQUIRE([AC_PROG_LD_RELOAD_FLAG])dnl
- +AC_REQUIRE([AC_PROG_NM])dnl
- +AC_REQUIRE([LT_AC_PROG_SED])dnl
- +
- +AC_REQUIRE([AC_PROG_LN_S])dnl
- +AC_REQUIRE([AC_DEPLIBS_CHECK_METHOD])dnl
- +AC_REQUIRE([AC_OBJEXT])dnl
- +AC_REQUIRE([AC_EXEEXT])dnl
- +dnl
- +
- +_LT_AC_PROG_ECHO_BACKSLASH
- +# Only perform the check for file, if the check method requires it
- +case $deplibs_check_method in
- +file_magic*)
- + if test "$file_magic_cmd" = '$MAGIC_CMD'; then
- + AC_PATH_MAGIC
- + fi
- + ;;
- +esac
- +
- +AC_CHECK_TOOL(RANLIB, ranlib, :)
- +AC_CHECK_TOOL(STRIP, strip, :)
- +
- +ifdef([AC_PROVIDE_AC_LIBTOOL_DLOPEN], enable_dlopen=yes, enable_dlopen=no)
- +ifdef([AC_PROVIDE_AC_LIBTOOL_WIN32_DLL],
- +enable_win32_dll=yes, enable_win32_dll=no)
- +
- +AC_ARG_ENABLE(libtool-lock,
- + [ --disable-libtool-lock avoid locking (might break parallel builds)])
- +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
- +
- +# Some flags need to be propagated to the compiler or linker for good
- +# libtool support.
- +case $host in
- +*-*-irix6*)
- + # Find out which ABI we are using.
- + echo '[#]line __oline__ "configure"' > conftest.$ac_ext
- + if AC_TRY_EVAL(ac_compile); then
- + case `/usr/bin/file conftest.$ac_objext` in
- + *32-bit*)
- + LD="${LD-ld} -32"
- + ;;
- + *N32*)
- + LD="${LD-ld} -n32"
- + ;;
- + *64-bit*)
- + LD="${LD-ld} -64"
- + ;;
- + esac
- + fi
- + rm -rf conftest*
- + ;;
- +
- +*-*-sco3.2v5*)
- + # On SCO OpenServer 5, we need -belf to get full-featured binaries.
- + SAVE_CFLAGS="$CFLAGS"
- + CFLAGS="$CFLAGS -belf"
- + AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,
- + [AC_LANG_SAVE
- + AC_LANG_C
- + AC_TRY_LINK([],[],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])
- + AC_LANG_RESTORE])
- + if test x"$lt_cv_cc_needs_belf" != x"yes"; then
- + # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
- + CFLAGS="$SAVE_CFLAGS"
- + fi
- + ;;
- +
- +ifdef([AC_PROVIDE_AC_LIBTOOL_WIN32_DLL],
- +[*-*-cygwin* | *-*-mingw* | *-*-pw32*)
- + AC_CHECK_TOOL(DLLTOOL, dlltool, false)
- + AC_CHECK_TOOL(AS, as, false)
- + AC_CHECK_TOOL(OBJDUMP, objdump, false)
- +
- + # recent cygwin and mingw systems supply a stub DllMain which the user
- + # can override, but on older systems we have to supply one
- + AC_CACHE_CHECK([if libtool should supply DllMain function], lt_cv_need_dllmain,
- + [AC_TRY_LINK([],
- + [extern int __attribute__((__stdcall__)) DllMain(void*, int, void*);
- + DllMain (0, 0, 0);],
- + [lt_cv_need_dllmain=no],[lt_cv_need_dllmain=yes])])
- +
- + case $host/$CC in
- + *-*-cygwin*/gcc*-mno-cygwin*|*-*-mingw*)
- + # old mingw systems require "-dll" to link a DLL, while more recent ones
- + # require "-mdll"
- + SAVE_CFLAGS="$CFLAGS"
- + CFLAGS="$CFLAGS -mdll"
- + AC_CACHE_CHECK([how to link DLLs], lt_cv_cc_dll_switch,
- + [AC_TRY_LINK([], [], [lt_cv_cc_dll_switch=-mdll],[lt_cv_cc_dll_switch=-dll])])
- + CFLAGS="$SAVE_CFLAGS" ;;
- + *-*-cygwin* | *-*-pw32*)
- + # cygwin systems need to pass --dll to the linker, and not link
- + # crt.o which will require a WinMain@16 definition.
- + lt_cv_cc_dll_switch="-Wl,--dll -nostartfiles" ;;
- + esac
- + ;;
- + ])
- +esac
- +
- +_LT_AC_LTCONFIG_HACK
- +
- +])
- +
- +# AC_LIBTOOL_HEADER_ASSERT
- +# ------------------------
- +AC_DEFUN([AC_LIBTOOL_HEADER_ASSERT],
- +[AC_CACHE_CHECK([whether $CC supports assert without backlinking],
- + [lt_cv_func_assert_works],
- + [case $host in
- + *-*-solaris*)
- + if test "$GCC" = yes && test "$with_gnu_ld" != yes; then
- + case `$CC --version 2>/dev/null` in
- + [[12]].*) lt_cv_func_assert_works=no ;;
- + *) lt_cv_func_assert_works=yes ;;
- + esac
- + fi
- + ;;
- + esac])
- +
- +if test "x$lt_cv_func_assert_works" = xyes; then
- + AC_CHECK_HEADERS(assert.h)
- +fi
- +])# AC_LIBTOOL_HEADER_ASSERT
- +
- +# _LT_AC_CHECK_DLFCN
- +# --------------------
- +AC_DEFUN([_LT_AC_CHECK_DLFCN],
- +[AC_CHECK_HEADERS(dlfcn.h)
- +])# _LT_AC_CHECK_DLFCN
- +
- +# AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
- +# ---------------------------------
- +AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE],
- +[AC_REQUIRE([AC_CANONICAL_HOST])
- +AC_REQUIRE([AC_PROG_NM])
- +AC_REQUIRE([AC_OBJEXT])
- +# Check for command to grab the raw symbol name followed by C symbol from nm.
- +AC_MSG_CHECKING([command to parse $NM output])
- +AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe], [dnl
- +
- +# These are sane defaults that work on at least a few old systems.
- +# [They come from Ultrix. What could be older than Ultrix?!! ;)]
- +
- +# Character class describing NM global symbol codes.
- +symcode='[[BCDEGRST]]'
- +
- +# Regexp to match symbols that can be accessed directly from C.
- +sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)'
- +
- +# Transform the above into a raw symbol and a C symbol.
- +symxfrm='\1 \2\3 \3'
- +
- +# Transform an extracted symbol line into a proper C declaration
- +lt_cv_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern char \1;/p'"
- +
- +# Transform an extracted symbol line into symbol name and symbol address
- +lt_cv_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
- +
- +# Define system-specific variables.
- +case $host_os in
- +aix*)
- + symcode='[[BCDT]]'
- + ;;
- +cygwin* | mingw* | pw32*)
- + symcode='[[ABCDGISTW]]'
- + ;;
- +hpux*) # Its linker distinguishes data from code symbols
- + lt_cv_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern char \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
- + lt_cv_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
- + ;;
- +irix* | nonstopux*)
- + symcode='[[BCDEGRST]]'
- + ;;
- +osf*)
- + symcode='[[BCDEGQRST]]'
- + ;;
- +solaris* | sysv5*)
- + symcode='[[BDT]]'
- + ;;
- +sysv4)
- + symcode='[[DFNSTU]]'
- + ;;
- +esac
- +
- +# Handle CRLF in mingw tool chain
- +opt_cr=
- +case $host_os in
- +mingw*)
- + opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
- + ;;
- +esac
- +
- +# If we're using GNU nm, then use its standard symbol codes.
- +if $NM -V 2>&1 | egrep '(GNU|with BFD)' > /dev/null; then
- + symcode='[[ABCDGISTW]]'
- +fi
- +
- +# Try without a prefix undercore, then with it.
- +for ac_symprfx in "" "_"; do
- +
- + # Write the raw and C identifiers.
- +lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
- +
- + # Check to see that the pipe works correctly.
- + pipe_works=no
- + rm -f conftest*
- + cat > conftest.$ac_ext <<EOF
- +#ifdef __cplusplus
- +extern "C" {
- +#endif
- +char nm_test_var;
- +void nm_test_func(){}
- +#ifdef __cplusplus
- +}
- +#endif
- +int main(){nm_test_var='a';nm_test_func();return(0);}
- +EOF
- +
- + if AC_TRY_EVAL(ac_compile); then
- + # Now try to grab the symbols.
- + nlist=conftest.nm
- + if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) && test -s "$nlist"; then
- + # Try sorting and uniquifying the output.
- + if sort "$nlist" | uniq > "$nlist"T; then
- + mv -f "$nlist"T "$nlist"
- + else
- + rm -f "$nlist"T
- + fi
- +
- + # Make sure that we snagged all the symbols we need.
- + if egrep ' nm_test_var$' "$nlist" >/dev/null; then
- + if egrep ' nm_test_func$' "$nlist" >/dev/null; then
- + cat <<EOF > conftest.$ac_ext
- +#ifdef __cplusplus
- +extern "C" {
- +#endif
- +
- +EOF
- + # Now generate the symbol file.
- + eval "$lt_cv_global_symbol_to_cdecl"' < "$nlist" >> conftest.$ac_ext'
- +
- + cat <<EOF >> conftest.$ac_ext
- +#if defined (__STDC__) && __STDC__
- +# define lt_ptr void *
- +#else
- +# define lt_ptr char *
- +# define const
- +#endif
- +
- +/* The mapping between symbol names and symbols. */
- +const struct {
- + const char *name;
- + lt_ptr address;
- +}
- +lt_preloaded_symbols[[]] =
- +{
- +EOF
- + sed "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr) \&\2},/" < "$nlist" >> conftest.$ac_ext
- + cat <<\EOF >> conftest.$ac_ext
- + {0, (lt_ptr) 0}
- +};
- +
- +#ifdef __cplusplus
- +}
- +#endif
- +EOF
- + # Now try linking the two files.
- + mv conftest.$ac_objext conftstm.$ac_objext
- + save_LIBS="$LIBS"
- + save_CFLAGS="$CFLAGS"
- + LIBS="conftstm.$ac_objext"
- + CFLAGS="$CFLAGS$no_builtin_flag"
- + if AC_TRY_EVAL(ac_link) && test -s conftest$ac_exeext; then
- + pipe_works=yes
- + fi
- + LIBS="$save_LIBS"
- + CFLAGS="$save_CFLAGS"
- + else
- + echo "cannot find nm_test_func in $nlist" >&AC_FD_CC
- + fi
- + else
- + echo "cannot find nm_test_var in $nlist" >&AC_FD_CC
- + fi
- + else
- + echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AC_FD_CC
- + fi
- + else
- + echo "$progname: failed program was:" >&AC_FD_CC
- + cat conftest.$ac_ext >&5
- + fi
- + rm -f conftest* conftst*
- +
- + # Do not use the global_symbol_pipe unless it works.
- + if test "$pipe_works" = yes; then
- + break
- + else
- + lt_cv_sys_global_symbol_pipe=
- + fi
- +done
- +])
- +global_symbol_pipe="$lt_cv_sys_global_symbol_pipe"
- +if test -z "$lt_cv_sys_global_symbol_pipe"; then
- + global_symbol_to_cdecl=
- + global_symbol_to_c_name_address=
- +else
- + global_symbol_to_cdecl="$lt_cv_global_symbol_to_cdecl"
- + global_symbol_to_c_name_address="$lt_cv_global_symbol_to_c_name_address"
- +fi
- +if test -z "$global_symbol_pipe$global_symbol_to_cdec$global_symbol_to_c_name_address";
- +then
- + AC_MSG_RESULT(failed)
- +else
- + AC_MSG_RESULT(ok)
- +fi
- +]) # AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
- +
- +# _LT_AC_LIBTOOL_SYS_PATH_SEPARATOR
- +# ---------------------------------
- +AC_DEFUN([_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR],
- +[# Find the correct PATH separator. Usually this is `:', but
- +# DJGPP uses `;' like DOS.
- +if test "X${PATH_SEPARATOR+set}" != Xset; then
- + UNAME=${UNAME-`uname 2>/dev/null`}
- + case X$UNAME in
- + *-DOS) lt_cv_sys_path_separator=';' ;;
- + *) lt_cv_sys_path_separator=':' ;;
- + esac
- + PATH_SEPARATOR=$lt_cv_sys_path_separator
- +fi
- +])# _LT_AC_LIBTOOL_SYS_PATH_SEPARATOR
- +
- +# _LT_AC_PROG_ECHO_BACKSLASH
- +# --------------------------
- +# Add some code to the start of the generated configure script which
- +# will find an echo command which doesn't interpret backslashes.
- +AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH],
- +[ifdef([AC_DIVERSION_NOTICE], [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)],
- + [AC_DIVERT_PUSH(NOTICE)])
- +_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR
- +
- +# Check that we are running under the correct shell.
- +SHELL=${CONFIG_SHELL-/bin/sh}
- +
- +case X$ECHO in
- +X*--fallback-echo)
- + # Remove one level of quotation (which was required for Make).
- + ECHO=`echo "$ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','`
- + ;;
- +esac
- +
- +echo=${ECHO-echo}
- +if test "X[$]1" = X--no-reexec; then
- + # Discard the --no-reexec flag, and continue.
- + shift
- +elif test "X[$]1" = X--fallback-echo; then
- + # Avoid inline document here, it may be left over
- + :
- +elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then
- + # Yippee, $echo works!
- + :
- +else
- + # Restart under the correct shell.
- + exec $SHELL "[$]0" --no-reexec ${1+"[$]@"}
- +fi
- +
- +if test "X[$]1" = X--fallback-echo; then
- + # used as fallback echo
- + shift
- + cat <<EOF
- +$*
- +EOF
- + exit 0
- +fi
- +
- +# The HP-UX ksh and POSIX shell print the target directory to stdout
- +# if CDPATH is set.
- +if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
- +
- +if test -z "$ECHO"; then
- +if test "X${echo_test_string+set}" != Xset; then
- +# find a string as large as possible, as long as the shell can cope with it
- + for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do
- + # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
- + if (echo_test_string="`eval $cmd`") 2>/dev/null &&
- + echo_test_string="`eval $cmd`" &&
- + (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
- + then
- + break
- + fi
- + done
- +fi
- +
- +if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
- + echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
- + test "X$echo_testing_string" = "X$echo_test_string"; then
- + :
- +else
- + # The Solaris, AIX, and Digital Unix default echo programs unquote
- + # backslashes. This makes it impossible to quote backslashes using
- + # echo "$something" | sed 's/\\/\\\\/g'
- + #
- + # So, first we look for a working echo in the user's PATH.
- +
- + IFS="${IFS= }"; save_ifs="$IFS"; IFS=$PATH_SEPARATOR
- + for dir in $PATH /usr/ucb; do
- + if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
- + test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
- + echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
- + test "X$echo_testing_string" = "X$echo_test_string"; then
- + echo="$dir/echo"
- + break
- + fi
- + done
- + IFS="$save_ifs"
- +
- + if test "X$echo" = Xecho; then
- + # We didn't find a better echo, so look for alternatives.
- + if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
- + echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
- + test "X$echo_testing_string" = "X$echo_test_string"; then
- + # This shell has a builtin print -r that does the trick.
- + echo='print -r'
- + elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
- + test "X$CONFIG_SHELL" != X/bin/ksh; then
- + # If we have ksh, try running configure again with it.
- + ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
- + export ORIGINAL_CONFIG_SHELL
- + CONFIG_SHELL=/bin/ksh
- + export CONFIG_SHELL
- + exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"}
- + else
- + # Try using printf.
- + echo='printf %s\n'
- + if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
- + echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
- + test "X$echo_testing_string" = "X$echo_test_string"; then
- + # Cool, printf works
- + :
- + elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
- + test "X$echo_testing_string" = 'X\t' &&
- + echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
- + test "X$echo_testing_string" = "X$echo_test_string"; then
- + CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
- + export CONFIG_SHELL
- + SHELL="$CONFIG_SHELL"
- + export SHELL
- + echo="$CONFIG_SHELL [$]0 --fallback-echo"
- + elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
- + test "X$echo_testing_string" = 'X\t' &&
- + echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
- + test "X$echo_testing_string" = "X$echo_test_string"; then
- + echo="$CONFIG_SHELL [$]0 --fallback-echo"
- + else
- + # maybe with a smaller string...
- + prev=:
- +
- + for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do
- + if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
- + then
- + break
- + fi
- + prev="$cmd"
- + done
- +
- + if test "$prev" != 'sed 50q "[$]0"'; then
- + echo_test_string=`eval $prev`
- + export echo_test_string
- + exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"}
- + else
- + # Oops. We lost completely, so just stick with echo.
- + echo=echo
- + fi
- + fi
- + fi
- + fi
- +fi
- +fi
- +
- +# Copy echo and quote the copy suitably for passing to libtool from
- +# the Makefile, instead of quoting the original, which is used later.
- +ECHO=$echo
- +if test "X$ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then
- + ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo"
- +fi
- +
- +AC_SUBST(ECHO)
- +AC_DIVERT_POP
- +])# _LT_AC_PROG_ECHO_BACKSLASH
- +
- +# _LT_AC_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
- +# ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
- +# ------------------------------------------------------------------
- +AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF],
- +[if test "$cross_compiling" = yes; then :
- + [$4]
- +else
- + AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
- + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
- + lt_status=$lt_dlunknown
- + cat > conftest.$ac_ext <<EOF
- +[#line __oline__ "configure"
- +#include "confdefs.h"
- +
- +#if HAVE_DLFCN_H
- +#include <dlfcn.h>
- +#endif
- +
- +#include <stdio.h>
- +
- +#ifdef RTLD_GLOBAL
- +# define LT_DLGLOBAL RTLD_GLOBAL
- +#else
- +# ifdef DL_GLOBAL
- +# define LT_DLGLOBAL DL_GLOBAL
- +# else
- +# define LT_DLGLOBAL 0
- +# endif
- +#endif
- +
- +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
- + find out it does not work in some platform. */
- +#ifndef LT_DLLAZY_OR_NOW
- +# ifdef RTLD_LAZY
- +# define LT_DLLAZY_OR_NOW RTLD_LAZY
- +# else
- +# ifdef DL_LAZY
- +# define LT_DLLAZY_OR_NOW DL_LAZY
- +# else
- +# ifdef RTLD_NOW
- +# define LT_DLLAZY_OR_NOW RTLD_NOW
- +# else
- +# ifdef DL_NOW
- +# define LT_DLLAZY_OR_NOW DL_NOW
- +# else
- +# define LT_DLLAZY_OR_NOW 0
- +# endif
- +# endif
- +# endif
- +# endif
- +#endif
- +
- +#ifdef __cplusplus
- +extern "C" void exit (int);
- +#endif
- +
- +void fnord() { int i=42;}
- +int main ()
- +{
- + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
- + int status = $lt_dlunknown;
- +
- + if (self)
- + {
- + if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
- + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
- + /* dlclose (self); */
- + }
- +
- + exit (status);
- +}]
- +EOF
- + if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then
- + (./conftest; exit; ) 2>/dev/null
- + lt_status=$?
- + case x$lt_status in
- + x$lt_dlno_uscore) $1 ;;
- + x$lt_dlneed_uscore) $2 ;;
- + x$lt_unknown|x*) $3 ;;
- + esac
- + else :
- + # compilation failed
- + $3
- + fi
- +fi
- +rm -fr conftest*
- +])# _LT_AC_TRY_DLOPEN_SELF
- +
- +# AC_LIBTOOL_DLOPEN_SELF
- +# -------------------
- +AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF],
- +[if test "x$enable_dlopen" != xyes; then
- + enable_dlopen=unknown
- + enable_dlopen_self=unknown
- + enable_dlopen_self_static=unknown
- +else
- + lt_cv_dlopen=no
- + lt_cv_dlopen_libs=
- +
- + case $host_os in
- + beos*)
- + lt_cv_dlopen="load_add_on"
- + lt_cv_dlopen_libs=
- + lt_cv_dlopen_self=yes
- + ;;
- +
- + cygwin* | mingw* | pw32*)
- + lt_cv_dlopen="LoadLibrary"
- + lt_cv_dlopen_libs=
- + ;;
- +
- + *)
- + AC_CHECK_FUNC([shl_load],
- + [lt_cv_dlopen="shl_load"],
- + [AC_CHECK_LIB([dld], [shl_load],
- + [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"],
- + [AC_CHECK_FUNC([dlopen],
- + [lt_cv_dlopen="dlopen"],
- + [AC_CHECK_LIB([dl], [dlopen],
- + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
- + [AC_CHECK_LIB([svld], [dlopen],
- + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
- + [AC_CHECK_LIB([dld], [dld_link],
- + [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
- + ])
- + ])
- + ])
- + ])
- + ])
- + ;;
- + esac
- +
- + if test "x$lt_cv_dlopen" != xno; then
- + enable_dlopen=yes
- + else
- + enable_dlopen=no
- + fi
- +
- + case $lt_cv_dlopen in
- + dlopen)
- + save_CPPFLAGS="$CPPFLAGS"
- + AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
- + test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
- +
- + save_LDFLAGS="$LDFLAGS"
- + eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
- +
- + save_LIBS="$LIBS"
- + LIBS="$lt_cv_dlopen_libs $LIBS"
- +
- + AC_CACHE_CHECK([whether a program can dlopen itself],
- + lt_cv_dlopen_self, [dnl
- + _LT_AC_TRY_DLOPEN_SELF(
- + lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes,
- + lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross)
- + ])
- +
- + if test "x$lt_cv_dlopen_self" = xyes; then
- + LDFLAGS="$LDFLAGS $link_static_flag"
- + AC_CACHE_CHECK([whether a statically linked program can dlopen itself],
- + lt_cv_dlopen_self_static, [dnl
- + _LT_AC_TRY_DLOPEN_SELF(
- + lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes,
- + lt_cv_dlopen_self_static=no, lt_cv_dlopen_self_static=cross)
- + ])
- + fi
- +
- + CPPFLAGS="$save_CPPFLAGS"
- + LDFLAGS="$save_LDFLAGS"
- + LIBS="$save_LIBS"
- + ;;
- + esac
- +
- + case $lt_cv_dlopen_self in
- + yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
- + *) enable_dlopen_self=unknown ;;
- + esac
- +
- + case $lt_cv_dlopen_self_static in
- + yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
- + *) enable_dlopen_self_static=unknown ;;
- + esac
- +fi
- +])# AC_LIBTOOL_DLOPEN_SELF
- +
- +AC_DEFUN([_LT_AC_LTCONFIG_HACK],
- +[AC_REQUIRE([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE])dnl
- +# Sed substitution that helps us do robust quoting. It backslashifies
- +# metacharacters that are still active within double-quoted strings.
- +Xsed='sed -e s/^X//'
- +sed_quote_subst='s/\([[\\"\\`$\\\\]]\)/\\\1/g'
- +
- +# Same as above, but do not quote variable references.
- +double_quote_subst='s/\([[\\"\\`\\\\]]\)/\\\1/g'
- +
- +# Sed substitution to delay expansion of an escaped shell variable in a
- +# double_quote_subst'ed string.
- +delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
- +
- +# Constants:
- +rm="rm -f"
- +
- +# Global variables:
- +default_ofile=libtool
- +can_build_shared=yes
- +
- +# All known linkers require a `.a' archive for static linking (except M$VC,
- +# which needs '.lib').
- +libext=a
- +ltmain="$ac_aux_dir/ltmain.sh"
- +ofile="$default_ofile"
- +with_gnu_ld="$lt_cv_prog_gnu_ld"
- +need_locks="$enable_libtool_lock"
- +
- +old_CC="$CC"
- +old_CFLAGS="$CFLAGS"
- +
- +# Set sane defaults for various variables
- +test -z "$AR" && AR=ar
- +test -z "$AR_FLAGS" && AR_FLAGS=cru
- +test -z "$AS" && AS=as
- +test -z "$CC" && CC=cc
- +test -z "$DLLTOOL" && DLLTOOL=dlltool
- +test -z "$LD" && LD=ld
- +test -z "$LN_S" && LN_S="ln -s"
- +test -z "$MAGIC_CMD" && MAGIC_CMD=file
- +test -z "$NM" && NM=nm
- +test -z "$OBJDUMP" && OBJDUMP=objdump
- +test -z "$RANLIB" && RANLIB=:
- +test -z "$STRIP" && STRIP=:
- +test -z "$ac_objext" && ac_objext=o
- +
- +if test x"$host" != x"$build"; then
- + ac_tool_prefix=${host_alias}-
- +else
- + ac_tool_prefix=
- +fi
- +
- +# Transform linux* to *-*-linux-gnu*, to support old configure scripts.
- +case $host_os in
- +linux-gnu*) ;;
- +linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'`
- +esac
- +
- +case $host_os in
- +aix3*)
- + # AIX sometimes has problems with the GCC collect2 program. For some
- + # reason, if we set the COLLECT_NAMES environment variable, the problems
- + # vanish in a puff of smoke.
- + if test "X${COLLECT_NAMES+set}" != Xset; then
- + COLLECT_NAMES=
- + export COLLECT_NAMES
- + fi
- + ;;
- +esac
- +
- +# Determine commands to create old-style static archives.
- +old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
- +old_postinstall_cmds='chmod 644 $oldlib'
- +old_postuninstall_cmds=
- +
- +if test -n "$RANLIB"; then
- + case $host_os in
- + openbsd*)
- + old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
- + ;;
- + *)
- + old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
- + ;;
- + esac
- + old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
- +fi
- +
- +# Allow CC to be a program name with arguments.
- +set dummy $CC
- +compiler="[$]2"
- +
- +## FIXME: this should be a separate macro
- +##
- +AC_MSG_CHECKING([for objdir])
- +rm -f .libs 2>/dev/null
- +mkdir .libs 2>/dev/null
- +if test -d .libs; then
- + objdir=.libs
- +else
- + # MS-DOS does not allow filenames that begin with a dot.
- + objdir=_libs
- +fi
- +rmdir .libs 2>/dev/null
- +AC_MSG_RESULT($objdir)
- +##
- +## END FIXME
- +
- +
- +## FIXME: this should be a separate macro
- +##
- +AC_ARG_WITH(pic,
- +[ --with-pic try to use only PIC/non-PIC objects [default=use both]],
- +pic_mode="$withval", pic_mode=default)
- +test -z "$pic_mode" && pic_mode=default
- +
- +# We assume here that the value for lt_cv_prog_cc_pic will not be cached
- +# in isolation, and that seeing it set (from the cache) indicates that
- +# the associated values are set (in the cache) correctly too.
- +AC_MSG_CHECKING([for $compiler option to produce PIC])
- +AC_CACHE_VAL(lt_cv_prog_cc_pic,
- +[ lt_cv_prog_cc_pic=
- + lt_cv_prog_cc_shlib=
- + lt_cv_prog_cc_wl=
- + lt_cv_prog_cc_static=
- + lt_cv_prog_cc_no_builtin=
- + lt_cv_prog_cc_can_build_shared=$can_build_shared
- +
- + if test "$GCC" = yes; then
- + lt_cv_prog_cc_wl='-Wl,'
- + lt_cv_prog_cc_static='-static'
- +
- + case $host_os in
- + aix*)
- + # Below there is a dirty hack to force normal static linking with -ldl
- + # The problem is because libdl dynamically linked with both libc and
- + # libC (AIX C++ library), which obviously doesn't included in libraries
- + # list by gcc. This cause undefined symbols with -static flags.
- + # This hack allows C programs to be linked with "-static -ldl", but
- + # not sure about C++ programs.
- + lt_cv_prog_cc_static="$lt_cv_prog_cc_static ${lt_cv_prog_cc_wl}-lC"
- + ;;
- + amigaos*)
- + # FIXME: we need at least 68020 code to build shared libraries, but
- + # adding the `-m68020' flag to GCC prevents building anything better,
- + # like `-m68040'.
- + lt_cv_prog_cc_pic='-m68020 -resident32 -malways-restore-a4'
- + ;;
- + beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
- + # PIC is the default for these OSes.
- + ;;
- + darwin* | rhapsody*)
- + # PIC is the default on this platform
- + # Common symbols not allowed in MH_DYLIB files
- + lt_cv_prog_cc_pic='-fno-common'
- + ;;
- + cygwin* | mingw* | pw32* | os2*)
- + # This hack is so that the source file can tell whether it is being
- + # built for inclusion in a dll (and should export symbols for example).
- + lt_cv_prog_cc_pic='-DDLL_EXPORT'
- + ;;
- + sysv4*MP*)
- + if test -d /usr/nec; then
- + lt_cv_prog_cc_pic=-Kconform_pic
- + fi
- + ;;
- + *)
- + lt_cv_prog_cc_pic='-fPIC'
- + ;;
- + esac
- + else
- + # PORTME Check for PIC flags for the system compiler.
- + case $host_os in
- + aix3* | aix4* | aix5*)
- + lt_cv_prog_cc_wl='-Wl,'
- + # All AIX code is PIC.
- + if test "$host_cpu" = ia64; then
- + # AIX 5 now supports IA64 processor
- + lt_cv_prog_cc_static='-Bstatic'
- + else
- + lt_cv_prog_cc_static='-bnso -bI:/lib/syscalls.exp'
- + fi
- + ;;
- +
- + hpux9* | hpux10* | hpux11*)
- + # Is there a better lt_cv_prog_cc_static that works with the bundled CC?
- + lt_cv_prog_cc_wl='-Wl,'
- + lt_cv_prog_cc_static="${lt_cv_prog_cc_wl}-a ${lt_cv_prog_cc_wl}archive"
- + lt_cv_prog_cc_pic='+Z'
- + ;;
- +
- + irix5* | irix6* | nonstopux*)
- + lt_cv_prog_cc_wl='-Wl,'
- + lt_cv_prog_cc_static='-non_shared'
- + # PIC (with -KPIC) is the default.
- + ;;
- +
- + cygwin* | mingw* | pw32* | os2*)
- + # This hack is so that the source file can tell whether it is being
- + # built for inclusion in a dll (and should export symbols for example).
- + lt_cv_prog_cc_pic='-DDLL_EXPORT'
- + ;;
- +
- + newsos6)
- + lt_cv_prog_cc_pic='-KPIC'
- + lt_cv_prog_cc_static='-Bstatic'
- + ;;
- +
- + osf3* | osf4* | osf5*)
- + # All OSF/1 code is PIC.
- + lt_cv_prog_cc_wl='-Wl,'
- + lt_cv_prog_cc_static='-non_shared'
- + ;;
- +
- + sco3.2v5*)
- + lt_cv_prog_cc_pic='-Kpic'
- + lt_cv_prog_cc_static='-dn'
- + lt_cv_prog_cc_shlib='-belf'
- + ;;
- +
- + solaris*)
- + lt_cv_prog_cc_pic='-KPIC'
- + lt_cv_prog_cc_static='-Bstatic'
- + lt_cv_prog_cc_wl='-Wl,'
- + ;;
- +
- + sunos4*)
- + lt_cv_prog_cc_pic='-PIC'
- + lt_cv_prog_cc_static='-Bstatic'
- + lt_cv_prog_cc_wl='-Qoption ld '
- + ;;
- +
- + sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
- + lt_cv_prog_cc_pic='-KPIC'
- + lt_cv_prog_cc_static='-Bstatic'
- + lt_cv_prog_cc_wl='-Wl,'
- + ;;
- +
- + uts4*)
- + lt_cv_prog_cc_pic='-pic'
- + lt_cv_prog_cc_static='-Bstatic'
- + ;;
- +
- + sysv4*MP*)
- + if test -d /usr/nec ;then
- + lt_cv_prog_cc_pic='-Kconform_pic'
- + lt_cv_prog_cc_static='-Bstatic'
- + fi
- + ;;
- +
- + *)
- + lt_cv_prog_cc_can_build_shared=no
- + ;;
- + esac
- + fi
- +])
- +if test -z "$lt_cv_prog_cc_pic"; then
- + AC_MSG_RESULT([none])
- +else
- + AC_MSG_RESULT([$lt_cv_prog_cc_pic])
- +
- + # Check to make sure the pic_flag actually works.
- + AC_MSG_CHECKING([if $compiler PIC flag $lt_cv_prog_cc_pic works])
- + AC_CACHE_VAL(lt_cv_prog_cc_pic_works, [dnl
- + save_CFLAGS="$CFLAGS"
- + CFLAGS="$CFLAGS $lt_cv_prog_cc_pic -DPIC"
- + AC_TRY_COMPILE([], [], [dnl
- + case $host_os in
- + hpux9* | hpux10* | hpux11*)
- + # On HP-UX, both CC and GCC only warn that PIC is supported... then
- + # they create non-PIC objects. So, if there were any warnings, we
- + # assume that PIC is not supported.
- + if test -s conftest.err; then
- + lt_cv_prog_cc_pic_works=no
- + else
- + lt_cv_prog_cc_pic_works=yes
- + fi
- + ;;
- + *)
- + lt_cv_prog_cc_pic_works=yes
- + ;;
- + esac
- + ], [dnl
- + lt_cv_prog_cc_pic_works=no
- + ])
- + CFLAGS="$save_CFLAGS"
- + ])
- +
- + if test "X$lt_cv_prog_cc_pic_works" = Xno; then
- + lt_cv_prog_cc_pic=
- + lt_cv_prog_cc_can_build_shared=no
- + else
- + lt_cv_prog_cc_pic=" $lt_cv_prog_cc_pic"
- + fi
- +
- + AC_MSG_RESULT([$lt_cv_prog_cc_pic_works])
- +fi
- +##
- +## END FIXME
- +
- +# Check for any special shared library compilation flags.
- +if test -n "$lt_cv_prog_cc_shlib"; then
- + AC_MSG_WARN([\`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries])
- + if echo "$old_CC $old_CFLAGS " | egrep -e "[[ ]]$lt_cv_prog_cc_shlib[[ ]]" >/dev/null; then :
- + else
- + AC_MSG_WARN([add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure])
- + lt_cv_prog_cc_can_build_shared=no
- + fi
- +fi
- +
- +## FIXME: this should be a separate macro
- +##
- +AC_MSG_CHECKING([if $compiler static flag $lt_cv_prog_cc_static works])
- +AC_CACHE_VAL([lt_cv_prog_cc_static_works], [dnl
- + lt_cv_prog_cc_static_works=no
- + save_LDFLAGS="$LDFLAGS"
- + LDFLAGS="$LDFLAGS $lt_cv_prog_cc_static"
- + AC_TRY_LINK([], [], [lt_cv_prog_cc_static_works=yes])
- + LDFLAGS="$save_LDFLAGS"
- +])
- +
- +# Belt *and* braces to stop my trousers falling down:
- +test "X$lt_cv_prog_cc_static_works" = Xno && lt_cv_prog_cc_static=
- +AC_MSG_RESULT([$lt_cv_prog_cc_static_works])
- +
- +pic_flag="$lt_cv_prog_cc_pic"
- +special_shlib_compile_flags="$lt_cv_prog_cc_shlib"
- +wl="$lt_cv_prog_cc_wl"
- +link_static_flag="$lt_cv_prog_cc_static"
- +no_builtin_flag="$lt_cv_prog_cc_no_builtin"
- +can_build_shared="$lt_cv_prog_cc_can_build_shared"
- +##
- +## END FIXME
- +
- +
- +## FIXME: this should be a separate macro
- +##
- +# Check to see if options -o and -c are simultaneously supported by compiler
- +AC_MSG_CHECKING([if $compiler supports -c -o file.$ac_objext])
- +AC_CACHE_VAL([lt_cv_compiler_c_o], [
- +$rm -r conftest 2>/dev/null
- +mkdir conftest
- +cd conftest
- +echo "int some_variable = 0;" > conftest.$ac_ext
- +mkdir out
- +# According to Tom Tromey, Ian Lance Taylor reported there are C compilers
- +# that will create temporary files in the current directory regardless of
- +# the output directory. Thus, making CWD read-only will cause this test
- +# to fail, enabling locking or at least warning the user not to do parallel
- +# builds.
- +chmod -w .
- +save_CFLAGS="$CFLAGS"
- +CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"
- +compiler_c_o=no
- +if { (eval echo configure:__oline__: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
- + # The compiler can only warn and ignore the option if not recognized
- + # So say no if there are warnings
- + if test -s out/conftest.err; then
- + lt_cv_compiler_c_o=no
- + else
- + lt_cv_compiler_c_o=yes
- + fi
- +else
- + # Append any errors to the config.log.
- + cat out/conftest.err 1>&AC_FD_CC
- + lt_cv_compiler_c_o=no
- +fi
- +CFLAGS="$save_CFLAGS"
- +chmod u+w .
- +$rm conftest* out/*
- +rmdir out
- +cd ..
- +rmdir conftest
- +$rm -r conftest 2>/dev/null
- +])
- +compiler_c_o=$lt_cv_compiler_c_o
- +AC_MSG_RESULT([$compiler_c_o])
- +
- +if test x"$compiler_c_o" = x"yes"; then
- + # Check to see if we can write to a .lo
- + AC_MSG_CHECKING([if $compiler supports -c -o file.lo])
- + AC_CACHE_VAL([lt_cv_compiler_o_lo], [
- + lt_cv_compiler_o_lo=no
- + save_CFLAGS="$CFLAGS"
- + CFLAGS="$CFLAGS -c -o conftest.lo"
- + save_objext="$ac_objext"
- + ac_objext=lo
- + AC_TRY_COMPILE([], [int some_variable = 0;], [dnl
- + # The compiler can only warn and ignore the option if not recognized
- + # So say no if there are warnings
- + if test -s conftest.err; then
- + lt_cv_compiler_o_lo=no
- + else
- + lt_cv_compiler_o_lo=yes
- + fi
- + ])
- + ac_objext="$save_objext"
- + CFLAGS="$save_CFLAGS"
- + ])
- + compiler_o_lo=$lt_cv_compiler_o_lo
- + AC_MSG_RESULT([$compiler_o_lo])
- +else
- + compiler_o_lo=no
- +fi
- +##
- +## END FIXME
- +
- +## FIXME: this should be a separate macro
- +##
- +# Check to see if we can do hard links to lock some files if needed
- +hard_links="nottested"
- +if test "$compiler_c_o" = no && test "$need_locks" != no; then
- + # do not overwrite the value of need_locks provided by the user
- + AC_MSG_CHECKING([if we can lock with hard links])
- + hard_links=yes
- + $rm conftest*
- + ln conftest.a conftest.b 2>/dev/null && hard_links=no
- + touch conftest.a
- + ln conftest.a conftest.b 2>&5 || hard_links=no
- + ln conftest.a conftest.b 2>/dev/null && hard_links=no
- + AC_MSG_RESULT([$hard_links])
- + if test "$hard_links" = no; then
- + AC_MSG_WARN([\`$CC' does not support \`-c -o', so \`make -j' may be unsafe])
- + need_locks=warn
- + fi
- +else
- + need_locks=no
- +fi
- +##
- +## END FIXME
- +
- +## FIXME: this should be a separate macro
- +##
- +if test "$GCC" = yes; then
- + # Check to see if options -fno-rtti -fno-exceptions are supported by compiler
- + AC_MSG_CHECKING([if $compiler supports -fno-rtti -fno-exceptions])
- + echo "int some_variable = 0;" > conftest.$ac_ext
- + save_CFLAGS="$CFLAGS"
- + CFLAGS="$CFLAGS -fno-rtti -fno-exceptions -c conftest.$ac_ext"
- + compiler_rtti_exceptions=no
- + AC_TRY_COMPILE([], [int some_variable = 0;], [dnl
- + # The compiler can only warn and ignore the option if not recognized
- + # So say no if there are warnings
- + if test -s conftest.err; then
- + compiler_rtti_exceptions=no
- + else
- + compiler_rtti_exceptions=yes
- + fi
- + ])
- + CFLAGS="$save_CFLAGS"
- + AC_MSG_RESULT([$compiler_rtti_exceptions])
- +
- + if test "$compiler_rtti_exceptions" = "yes"; then
- + no_builtin_flag=' -fno-builtin -fno-rtti -fno-exceptions'
- + else
- + no_builtin_flag=' -fno-builtin'
- + fi
- +fi
- +##
- +## END FIXME
- +
- +## FIXME: this should be a separate macro
- +##
- +# See if the linker supports building shared libraries.
- +AC_MSG_CHECKING([whether the linker ($LD) supports shared libraries])
- +
- +allow_undefined_flag=
- +no_undefined_flag=
- +need_lib_prefix=unknown
- +need_version=unknown
- +# when you set need_version to no, make sure it does not cause -set_version
- +# flags to be left without arguments
- +archive_cmds=
- +archive_expsym_cmds=
- +old_archive_from_new_cmds=
- +old_archive_from_expsyms_cmds=
- +export_dynamic_flag_spec=
- +whole_archive_flag_spec=
- +thread_safe_flag_spec=
- +hardcode_into_libs=no
- +hardcode_libdir_flag_spec=
- +hardcode_libdir_separator=
- +hardcode_direct=no
- +hardcode_minus_L=no
- +hardcode_shlibpath_var=unsupported
- +runpath_var=
- +link_all_deplibs=unknown
- +always_export_symbols=no
- +export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | sed '\''s/.* //'\'' | sort | uniq > $export_symbols'
- +# include_expsyms should be a list of space-separated symbols to be *always*
- +# included in the symbol list
- +include_expsyms=
- +# exclude_expsyms can be an egrep regular expression of symbols to exclude
- +# it will be wrapped by ` (' and `)$', so one must not match beginning or
- +# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
- +# as well as any symbol that contains `d'.
- +exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
- +# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
- +# platforms (ab)use it in PIC code, but their linkers get confused if
- +# the symbol is explicitly referenced. Since portable code cannot
- +# rely on this symbol name, it's probably fine to never include it in
- +# preloaded symbol tables.
- +extract_expsyms_cmds=
- +
- +case $host_os in
- +cygwin* | mingw* | pw32*)
- + # FIXME: the MSVC++ port hasn't been tested in a loooong time
- + # When not using gcc, we currently assume that we are using
- + # Microsoft Visual C++.
- + if test "$GCC" != yes; then
- + with_gnu_ld=no
- + fi
- + ;;
- +openbsd*)
- + with_gnu_ld=no
- + ;;
- +esac
- +
- +ld_shlibs=yes
- +if test "$with_gnu_ld" = yes; then
- + # If archive_cmds runs LD, not CC, wlarc should be empty
- + wlarc='${wl}'
- +
- + # See if GNU ld supports shared libraries.
- + case $host_os in
- + aix3* | aix4* | aix5*)
- + # On AIX, the GNU linker is very broken
- + # Note:Check GNU linker on AIX 5-IA64 when/if it becomes available.
- + ld_shlibs=no
- + cat <<EOF 1>&2
- +
- +*** Warning: the GNU linker, at least up to release 2.9.1, is reported
- +*** to be unable to reliably create shared libraries on AIX.
- +*** Therefore, libtool is disabling shared libraries support. If you
- +*** really care for shared libraries, you may want to modify your PATH
- +*** so that a non-GNU linker is found, and then restart.
- +
- +EOF
- + ;;
- +
- + amigaos*)
- + archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
- + hardcode_libdir_flag_spec='-L$libdir'
- + hardcode_minus_L=yes
- +
- + # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
- + # that the semantics of dynamic libraries on AmigaOS, at least up
- + # to version 4, is to share data among multiple programs linked
- + # with the same dynamic library. Since this doesn't match the
- + # behavior of shared libraries on other platforms, we can use
- + # them.
- + ld_shlibs=no
- + ;;
- +
- + beos*)
- + if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
- + allow_undefined_flag=unsupported
- + # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
- + # support --undefined. This deserves some investigation. FIXME
- + archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
- + else
- + ld_shlibs=no
- + fi
- + ;;
- +
- + cygwin* | mingw* | pw32*)
- + # hardcode_libdir_flag_spec is actually meaningless, as there is
- + # no search path for DLLs.
- + hardcode_libdir_flag_spec='-L$libdir'
- + allow_undefined_flag=unsupported
- + always_export_symbols=yes
- +
- + extract_expsyms_cmds='test -f $output_objdir/impgen.c || \
- + sed -e "/^# \/\* impgen\.c starts here \*\//,/^# \/\* impgen.c ends here \*\// { s/^# //;s/^# *$//; p; }" -e d < $''0 > $output_objdir/impgen.c~
- + test -f $output_objdir/impgen.exe || (cd $output_objdir && \
- + if test "x$HOST_CC" != "x" ; then $HOST_CC -o impgen impgen.c ; \
- + else $CC -o impgen impgen.c ; fi)~
- + $output_objdir/impgen $dir/$soroot > $output_objdir/$soname-def'
- +
- + old_archive_from_expsyms_cmds='$DLLTOOL --as=$AS --dllname $soname --def $output_objdir/$soname-def --output-lib $output_objdir/$newlib'
- +
- + # cygwin and mingw dlls have different entry points and sets of symbols
- + # to exclude.
- + # FIXME: what about values for MSVC?
- + dll_entry=__cygwin_dll_entry@12
- + dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12~
- + case $host_os in
- + mingw*)
- + # mingw values
- + dll_entry=_DllMainCRTStartup@12
- + dll_exclude_symbols=DllMain@12,DllMainCRTStartup@12,DllEntryPoint@12~
- + ;;
- + esac
- +
- + # mingw and cygwin differ, and it's simplest to just exclude the union
- + # of the two symbol sets.
- + dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12,DllMainCRTStartup@12,DllEntryPoint@12
- +
- + # recent cygwin and mingw systems supply a stub DllMain which the user
- + # can override, but on older systems we have to supply one (in ltdll.c)
- + if test "x$lt_cv_need_dllmain" = "xyes"; then
- + ltdll_obj='$output_objdir/$soname-ltdll.'"$ac_objext "
- + ltdll_cmds='test -f $output_objdir/$soname-ltdll.c || sed -e "/^# \/\* ltdll\.c starts here \*\//,/^# \/\* ltdll.c ends here \*\// { s/^# //; p; }" -e d < $''0 > $output_objdir/$soname-ltdll.c~
- + test -f $output_objdir/$soname-ltdll.$ac_objext || (cd $output_objdir && $CC -c $soname-ltdll.c)~'
- + else
- + ltdll_obj=
- + ltdll_cmds=
- + fi
- +
- + # Extract the symbol export list from an `--export-all' def file,
- + # then regenerate the def file from the symbol export list, so that
- + # the compiled dll only exports the symbol export list.
- + # Be careful not to strip the DATA tag left be newer dlltools.
- + export_symbols_cmds="$ltdll_cmds"'
- + $DLLTOOL --export-all --exclude-symbols '$dll_exclude_symbols' --output-def $output_objdir/$soname-def '$ltdll_obj'$libobjs $convenience~
- + sed -e "1,/EXPORTS/d" -e "s/ @ [[0-9]]*//" -e "s/ *;.*$//" < $output_objdir/$soname-def > $export_symbols'
- +
- + # If the export-symbols file already is a .def file (1st line
- + # is EXPORTS), use it as is.
- + # If DATA tags from a recent dlltool are present, honour them!
- + archive_expsym_cmds='if test "x`sed 1q $export_symbols`" = xEXPORTS; then
- + cp $export_symbols $output_objdir/$soname-def;
- + else
- + echo EXPORTS > $output_objdir/$soname-def;
- + _lt_hint=1;
- + cat $export_symbols | while read symbol; do
- + set dummy \$symbol;
- + case \[$]# in
- + 2) echo " \[$]2 @ \$_lt_hint ; " >> $output_objdir/$soname-def;;
- + 4) echo " \[$]2 \[$]3 \[$]4 ; " >> $output_objdir/$soname-def; _lt_hint=`expr \$_lt_hint - 1`;;
- + *) echo " \[$]2 @ \$_lt_hint \[$]3 ; " >> $output_objdir/$soname-def;;
- + esac;
- + _lt_hint=`expr 1 + \$_lt_hint`;
- + done;
- + fi~
- + '"$ltdll_cmds"'
- + $CC -Wl,--base-file,$output_objdir/$soname-base '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~
- + $DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp~
- + $CC -Wl,--base-file,$output_objdir/$soname-base $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~
- + $DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp --output-lib $output_objdir/$libname.dll.a~
- + $CC $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags'
- + ;;
- +
- + netbsd*)
- + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
- + archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
- + wlarc=
- + else
- + archive_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
- + archive_expsym_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
- + fi
- + ;;
- +
- + solaris* | sysv5*)
- + if $LD -v 2>&1 | egrep 'BFD 2\.8' > /dev/null; then
- + ld_shlibs=no
- + cat <<EOF 1>&2
- +
- +*** Warning: The releases 2.8.* of the GNU linker cannot reliably
- +*** create shared libraries on Solaris systems. Therefore, libtool
- +*** is disabling shared libraries support. We urge you to upgrade GNU
- +*** binutils to release 2.9.1 or newer. Another option is to modify
- +*** your PATH or compiler configuration so that the native linker is
- +*** used, and then restart.
- +
- +EOF
- + elif $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
- + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
- + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
- + else
- + ld_shlibs=no
- + fi
- + ;;
- +
- + sunos4*)
- + archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
- + wlarc=
- + hardcode_direct=yes
- + hardcode_shlibpath_var=no
- + ;;
- +
- + *)
- + if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
- + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
- + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
- + else
- + ld_shlibs=no
- + fi
- + ;;
- + esac
- +
- + if test "$ld_shlibs" = yes; then
- + runpath_var=LD_RUN_PATH
- + hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
- + export_dynamic_flag_spec='${wl}--export-dynamic'
- + case $host_os in
- + cygwin* | mingw* | pw32*)
- + # dlltool doesn't understand --whole-archive et. al.
- + whole_archive_flag_spec=
- + ;;
- + *)
- + # ancient GNU ld didn't support --whole-archive et. al.
- + if $LD --help 2>&1 | egrep 'no-whole-archive' > /dev/null; then
- + whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
- + else
- + whole_archive_flag_spec=
- + fi
- + ;;
- + esac
- + fi
- +else
- + # PORTME fill in a description of your system's linker (not GNU ld)
- + case $host_os in
- + aix3*)
- + allow_undefined_flag=unsupported
- + always_export_symbols=yes
- + archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
- + # Note: this linker hardcodes the directories in LIBPATH if there
- + # are no directories specified by -L.
- + hardcode_minus_L=yes
- + if test "$GCC" = yes && test -z "$link_static_flag"; then
- + # Neither direct hardcoding nor static linking is supported with a
- + # broken collect2.
- + hardcode_direct=unsupported
- + fi
- + ;;
- +
- + aix4* | aix5*)
- + if test "$host_cpu" = ia64; then
- + # On IA64, the linker does run time linking by default, so we don't
- + # have to do anything special.
- + aix_use_runtimelinking=no
- + exp_sym_flag='-Bexport'
- + no_entry_flag=""
- + else
- + aix_use_runtimelinking=no
- +
- + # Test if we are trying to use run time linking or normal
- + # AIX style linking. If -brtl is somewhere in LDFLAGS, we
- + # need to do runtime linking.
- + case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*)
- + for ld_flag in $LDFLAGS; do
- + case $ld_flag in
- + *-brtl*)
- + aix_use_runtimelinking=yes
- + break
- + ;;
- + esac
- + done
- + esac
- +
- + exp_sym_flag='-bexport'
- + no_entry_flag='-bnoentry'
- + fi
- +
- + # When large executables or shared objects are built, AIX ld can
- + # have problems creating the table of contents. If linking a library
- + # or program results in "error TOC overflow" add -mminimal-toc to
- + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
- + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
- +
- + hardcode_direct=yes
- + archive_cmds=''
- + hardcode_libdir_separator=':'
- + if test "$GCC" = yes; then
- + case $host_os in aix4.[[012]]|aix4.[[012]].*)
- + collect2name=`${CC} -print-prog-name=collect2`
- + if test -f "$collect2name" && \
- + strings "$collect2name" | grep resolve_lib_name >/dev/null
- + then
- + # We have reworked collect2
- + hardcode_direct=yes
- + else
- + # We have old collect2
- + hardcode_direct=unsupported
- + # It fails to find uninstalled libraries when the uninstalled
- + # path is not listed in the libpath. Setting hardcode_minus_L
- + # to unsupported forces relinking
- + hardcode_minus_L=yes
- + hardcode_libdir_flag_spec='-L$libdir'
- + hardcode_libdir_separator=
- + fi
- + esac
- +
- + shared_flag='-shared'
- + else
- + # not using gcc
- + if test "$host_cpu" = ia64; then
- + shared_flag='${wl}-G'
- + else
- + if test "$aix_use_runtimelinking" = yes; then
- + shared_flag='${wl}-G'
- + else
- + shared_flag='${wl}-bM:SRE'
- + fi
- + fi
- + fi
- +
- + # It seems that -bexpall can do strange things, so it is better to
- + # generate a list of symbols to export.
- + always_export_symbols=yes
- + if test "$aix_use_runtimelinking" = yes; then
- + # Warning - without using the other runtime loading flags (-brtl),
- + # -berok will link without error, but may produce a broken library.
- + allow_undefined_flag='-berok'
- + hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:/usr/lib:/lib'
- + archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
- + else
- + if test "$host_cpu" = ia64; then
- + hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
- + allow_undefined_flag="-z nodefs"
- + archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname ${wl}-h$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
- + else
- + hardcode_libdir_flag_spec='${wl}-bnolibpath ${wl}-blibpath:$libdir:/usr/lib:/lib'
- + # Warning - without using the other run time loading flags,
- + # -berok will link without error, but may produce a broken library.
- + allow_undefined_flag='${wl}-berok'
- + # This is a bit strange, but is similar to how AIX traditionally builds
- + # it's shared libraries.
- + archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"' ~$AR -crlo $output_objdir/$libname$release.a $output_objdir/$soname'
- + fi
- + fi
- + ;;
- +
- + amigaos*)
- + archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
- + hardcode_libdir_flag_spec='-L$libdir'
- + hardcode_minus_L=yes
- + # see comment about different semantics on the GNU ld section
- + ld_shlibs=no
- + ;;
- +
- + cygwin* | mingw* | pw32*)
- + # When not using gcc, we currently assume that we are using
- + # Microsoft Visual C++.
- + # hardcode_libdir_flag_spec is actually meaningless, as there is
- + # no search path for DLLs.
- + hardcode_libdir_flag_spec=' '
- + allow_undefined_flag=unsupported
- + # Tell ltmain to make .lib files, not .a files.
- + libext=lib
- + # FIXME: Setting linknames here is a bad hack.
- + archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | sed -e '\''s/ -lc$//'\''` -link -dll~linknames='
- + # The linker will automatically build a .lib file if we build a DLL.
- + old_archive_from_new_cmds='true'
- + # FIXME: Should let the user specify the lib program.
- + old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
- + fix_srcfile_path='`cygpath -w "$srcfile"`'
- + ;;
- +
- + darwin* | rhapsody*)
- + case "$host_os" in
- + rhapsody* | darwin1.[[012]])
- + allow_undefined_flag='-undefined suppress'
- + ;;
- + *) # Darwin 1.3 on
- + allow_undefined_flag='-flat_namespace -undefined suppress'
- + ;;
- + esac
- + # FIXME: Relying on posixy $() will cause problems for
- + # cross-compilation, but unfortunately the echo tests do not
- + # yet detect zsh echo's removal of \ escapes. Also zsh mangles
- + # `"' quotes if we put them in here... so don't!
- + archive_cmds='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs && $CC $(test .$module = .yes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib ${lib}-master.o $deplibs$linker_flags $(test .$module != .yes && echo -install_name $rpath/$soname $verstring)'
- + # We need to add '_' to the symbols in $export_symbols first
- + #archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols'
- + hardcode_direct=yes
- + hardcode_shlibpath_var=no
- + whole_archive_flag_spec='-all_load $convenience'
- + ;;
- +
- + freebsd1*)
- + ld_shlibs=no
- + ;;
- +
- + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
- + # support. Future versions do this automatically, but an explicit c++rt0.o
- + # does not break anything, and helps significantly (at the cost of a little
- + # extra space).
- + freebsd2.2*)
- + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
- + hardcode_libdir_flag_spec='-R$libdir'
- + hardcode_direct=yes
- + hardcode_shlibpath_var=no
- + ;;
- +
- + # Unfortunately, older versions of FreeBSD 2 do not have this feature.
- + freebsd2*)
- + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
- + hardcode_direct=yes
- + hardcode_minus_L=yes
- + hardcode_shlibpath_var=no
- + ;;
- +
- + # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
- + freebsd*)
- + archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
- + hardcode_libdir_flag_spec='-R$libdir'
- + hardcode_direct=yes
- + hardcode_shlibpath_var=no
- + ;;
- +
- + hpux9* | hpux10* | hpux11*)
- + case $host_os in
- + hpux9*) archive_cmds='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' ;;
- + *) archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' ;;
- + esac
- + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
- + hardcode_libdir_separator=:
- + hardcode_direct=yes
- + hardcode_minus_L=yes # Not in the search PATH, but as the default
- + # location of the library.
- + export_dynamic_flag_spec='${wl}-E'
- + ;;
- +
- + irix5* | irix6* | nonstopux*)
- + if test "$GCC" = yes; then
- + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
- + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
- + else
- + archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
- + hardcode_libdir_flag_spec='-rpath $libdir'
- + fi
- + hardcode_libdir_separator=:
- + link_all_deplibs=yes
- + ;;
- +
- + netbsd*)
- + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
- + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
- + else
- + archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
- + fi
- + hardcode_libdir_flag_spec='-R$libdir'
- + hardcode_direct=yes
- + hardcode_shlibpath_var=no
- + ;;
- +
- + newsos6)
- + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
- + hardcode_direct=yes
- + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
- + hardcode_libdir_separator=:
- + hardcode_shlibpath_var=no
- + ;;
- +
- + openbsd*)
- + hardcode_direct=yes
- + hardcode_shlibpath_var=no
- + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
- + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
- + hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
- + export_dynamic_flag_spec='${wl}-E'
- + else
- + case "$host_os" in
- + openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*)
- + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
- + hardcode_libdir_flag_spec='-R$libdir'
- + ;;
- + *)
- + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
- + hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
- + ;;
- + esac
- + fi
- + ;;
- +
- + os2*)
- + hardcode_libdir_flag_spec='-L$libdir'
- + hardcode_minus_L=yes
- + allow_undefined_flag=unsupported
- + 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'
- + old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
- + ;;
- +
- + osf3*)
- + if test "$GCC" = yes; then
- + allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
- + archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
- + else
- + allow_undefined_flag=' -expect_unresolved \*'
- + archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
- + fi
- + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
- + hardcode_libdir_separator=:
- + ;;
- +
- + osf4* | osf5*) # as osf3* with the addition of -msym flag
- + if test "$GCC" = yes; then
- + allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
- + archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
- + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
- + else
- + allow_undefined_flag=' -expect_unresolved \*'
- + archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
- + archive_expsym_cmds='for i in `cat $export_symbols`; do printf "-exported_symbol " >> $lib.exp; echo "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
- + $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
- +
- + #Both c and cxx compiler support -rpath directly
- + hardcode_libdir_flag_spec='-rpath $libdir'
- + fi
- + hardcode_libdir_separator=:
- + ;;
- +
- + sco3.2v5*)
- + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
- + hardcode_shlibpath_var=no
- + runpath_var=LD_RUN_PATH
- + hardcode_runpath_var=yes
- + export_dynamic_flag_spec='${wl}-Bexport'
- + ;;
- +
- + solaris*)
- + # gcc --version < 3.0 without binutils cannot create self contained
- + # shared libraries reliably, requiring libgcc.a to resolve some of
- + # the object symbols generated in some cases. Libraries that use
- + # assert need libgcc.a to resolve __eprintf, for example. Linking
- + # a copy of libgcc.a into every shared library to guarantee resolving
- + # such symbols causes other problems: According to Tim Van Holder
- + # <tim.van.holder@pandora.be>, C++ libraries end up with a separate
- + # (to the application) exception stack for one thing.
- + no_undefined_flag=' -z defs'
- + if test "$GCC" = yes; then
- + case `$CC --version 2>/dev/null` in
- + [[12]].*)
- + cat <<EOF 1>&2
- +
- +*** Warning: Releases of GCC earlier than version 3.0 cannot reliably
- +*** create self contained shared libraries on Solaris systems, without
- +*** introducing a dependency on libgcc.a. Therefore, libtool is disabling
- +*** -no-undefined support, which will at least allow you to build shared
- +*** libraries. However, you may find that when you link such libraries
- +*** into an application without using GCC, you have to manually add
- +*** \`gcc --print-libgcc-file-name\` to the link command. We urge you to
- +*** upgrade to a newer version of GCC. Another option is to rebuild your
- +*** current GCC to use the GNU linker from GNU binutils 2.9.1 or newer.
- +
- +EOF
- + no_undefined_flag=
- + ;;
- + esac
- + fi
- + # $CC -shared without GNU ld will not create a library from C++
- + # object files and a static libstdc++, better avoid it by now
- + archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
- + archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
- + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
- + hardcode_libdir_flag_spec='-R$libdir'
- + hardcode_shlibpath_var=no
- + case $host_os in
- + solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
- + *) # Supported since Solaris 2.6 (maybe 2.5.1?)
- + whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
- + esac
- + link_all_deplibs=yes
- + ;;
- +
- + sunos4*)
- + if test "x$host_vendor" = xsequent; then
- + # Use $CC to link under sequent, because it throws in some extra .o
- + # files that make .init and .fini sections work.
- + archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
- + else
- + archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
- + fi
- + hardcode_libdir_flag_spec='-L$libdir'
- + hardcode_direct=yes
- + hardcode_minus_L=yes
- + hardcode_shlibpath_var=no
- + ;;
- +
- + sysv4)
- + case $host_vendor in
- + sni)
- + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
- + hardcode_direct=yes # is this really true???
- + ;;
- + siemens)
- + ## LD is ld it makes a PLAMLIB
- + ## CC just makes a GrossModule.
- + archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
- + reload_cmds='$CC -r -o $output$reload_objs'
- + hardcode_direct=no
- + ;;
- + motorola)
- + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
- + hardcode_direct=no #Motorola manual says yes, but my tests say they lie
- + ;;
- + esac
- + runpath_var='LD_RUN_PATH'
- + hardcode_shlibpath_var=no
- + ;;
- +
- + sysv4.3*)
- + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
- + hardcode_shlibpath_var=no
- + export_dynamic_flag_spec='-Bexport'
- + ;;
- +
- + sysv5*)
- + no_undefined_flag=' -z text'
- + # $CC -shared without GNU ld will not create a library from C++
- + # object files and a static libstdc++, better avoid it by now
- + archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
- + archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
- + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
- + hardcode_libdir_flag_spec=
- + hardcode_shlibpath_var=no
- + runpath_var='LD_RUN_PATH'
- + ;;
- +
- + uts4*)
- + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
- + hardcode_libdir_flag_spec='-L$libdir'
- + hardcode_shlibpath_var=no
- + ;;
- +
- + dgux*)
- + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
- + hardcode_libdir_flag_spec='-L$libdir'
- + hardcode_shlibpath_var=no
- + ;;
- +
- + sysv4*MP*)
- + if test -d /usr/nec; then
- + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
- + hardcode_shlibpath_var=no
- + runpath_var=LD_RUN_PATH
- + hardcode_runpath_var=yes
- + ld_shlibs=yes
- + fi
- + ;;
- +
- + sysv4.2uw2*)
- + archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
- + hardcode_direct=yes
- + hardcode_minus_L=no
- + hardcode_shlibpath_var=no
- + hardcode_runpath_var=yes
- + runpath_var=LD_RUN_PATH
- + ;;
- +
- + sysv5uw7* | unixware7*)
- + no_undefined_flag='${wl}-z ${wl}text'
- + if test "$GCC" = yes; then
- + archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
- + else
- + archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
- + fi
- + runpath_var='LD_RUN_PATH'
- + hardcode_shlibpath_var=no
- + ;;
- +
- + *)
- + ld_shlibs=no
- + ;;
- + esac
- +fi
- +AC_MSG_RESULT([$ld_shlibs])
- +test "$ld_shlibs" = no && can_build_shared=no
- +##
- +## END FIXME
- +
- +## FIXME: this should be a separate macro
- +##
- +# Check hardcoding attributes.
- +AC_MSG_CHECKING([how to hardcode library paths into programs])
- +hardcode_action=
- +if test -n "$hardcode_libdir_flag_spec" || \
- + test -n "$runpath_var"; then
- +
- + # We can hardcode non-existant directories.
- + if test "$hardcode_direct" != no &&
- + # If the only mechanism to avoid hardcoding is shlibpath_var, we
- + # have to relink, otherwise we might link with an installed library
- + # when we should be linking with a yet-to-be-installed one
- + ## test "$hardcode_shlibpath_var" != no &&
- + test "$hardcode_minus_L" != no; then
- + # Linking always hardcodes the temporary library directory.
- + hardcode_action=relink
- + else
- + # We can link without hardcoding, and we can hardcode nonexisting dirs.
- + hardcode_action=immediate
- + fi
- +else
- + # We cannot hardcode anything, or else we can only hardcode existing
- + # directories.
- + hardcode_action=unsupported
- +fi
- +AC_MSG_RESULT([$hardcode_action])
- +##
- +## END FIXME
- +
- +## FIXME: this should be a separate macro
- +##
- +striplib=
- +old_striplib=
- +AC_MSG_CHECKING([whether stripping libraries is possible])
- +if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
- + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
- + test -z "$striplib" && striplib="$STRIP --strip-unneeded"
- + AC_MSG_RESULT([yes])
- +else
- + AC_MSG_RESULT([no])
- +fi
- +##
- +## END FIXME
- +
- +reload_cmds='$LD$reload_flag -o $output$reload_objs'
- +test -z "$deplibs_check_method" && deplibs_check_method=unknown
- +
- +## FIXME: this should be a separate macro
- +##
- +# PORTME Fill in your ld.so characteristics
- +AC_MSG_CHECKING([dynamic linker characteristics])
- +library_names_spec=
- +libname_spec='lib$name'
- +soname_spec=
- +postinstall_cmds=
- +postuninstall_cmds=
- +finish_cmds=
- +finish_eval=
- +shlibpath_var=
- +shlibpath_overrides_runpath=unknown
- +version_type=none
- +dynamic_linker="$host_os ld.so"
- +sys_lib_dlsearch_path_spec="/lib /usr/lib"
- +sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
- +
- +case $host_os in
- +aix3*)
- + version_type=linux
- + library_names_spec='${libname}${release}.so$versuffix $libname.a'
- + shlibpath_var=LIBPATH
- +
- + # AIX has no versioning support, so we append a major version to the name.
- + soname_spec='${libname}${release}.so$major'
- + ;;
- +
- +aix4* | aix5*)
- + version_type=linux
- + need_lib_prefix=no
- + need_version=no
- + hardcode_into_libs=yes
- + if test "$host_cpu" = ia64; then
- + # AIX 5 supports IA64
- + library_names_spec='${libname}${release}.so$major ${libname}${release}.so$versuffix $libname.so'
- + shlibpath_var=LD_LIBRARY_PATH
- + else
- + # With GCC up to 2.95.x, collect2 would create an import file
- + # for dependence libraries. The import file would start with
- + # the line `#! .'. This would cause the generated library to
- + # depend on `.', always an invalid library. This was fixed in
- + # development snapshots of GCC prior to 3.0.
- + case $host_os in
- + aix4 | aix4.[[01]] | aix4.[[01]].*)
- + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
- + echo ' yes '
- + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
- + :
- + else
- + can_build_shared=no
- + fi
- + ;;
- + esac
- + # AIX (on Power*) has no versioning support, so currently we can
- + # not hardcode correct soname into executable. Probably we can
- + # add versioning support to collect2, so additional links can
- + # be useful in future.
- + if test "$aix_use_runtimelinking" = yes; then
- + # If using run time linking (on AIX 4.2 or later) use lib<name>.so
- + # instead of lib<name>.a to let people know that these are not
- + # typical AIX shared libraries.
- + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
- + else
- + # We preserve .a as extension for shared libraries through AIX4.2
- + # and later when we are not doing run time linking.
- + library_names_spec='${libname}${release}.a $libname.a'
- + soname_spec='${libname}${release}.so$major'
- + fi
- + shlibpath_var=LIBPATH
- + fi
- + hardcode_into_libs=yes
- + ;;
- +
- +amigaos*)
- + library_names_spec='$libname.ixlibrary $libname.a'
- + # Create ${libname}_ixlibrary.a entries in /sys/libs.
- + 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'
- + ;;
- +
- +beos*)
- + library_names_spec='${libname}.so'
- + dynamic_linker="$host_os ld.so"
- + shlibpath_var=LIBRARY_PATH
- + ;;
- +
- +bsdi4*)
- + version_type=linux
- + need_version=no
- + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
- + soname_spec='${libname}${release}.so$major'
- + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
- + shlibpath_var=LD_LIBRARY_PATH
- + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
- + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
- + export_dynamic_flag_spec=-rdynamic
- + # the default ld.so.conf also contains /usr/contrib/lib and
- + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
- + # libtool to hard-code these into programs
- + ;;
- +
- +cygwin* | mingw* | pw32*)
- + version_type=windows
- + need_version=no
- + need_lib_prefix=no
- + case $GCC,$host_os in
- + yes,cygwin*)
- + library_names_spec='$libname.dll.a'
- + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | sed -e 's/[[.]]/-/g'`${versuffix}.dll'
- + postinstall_cmds='dlpath=`bash 2>&1 -c '\''. $dir/${file}i;echo \$dlname'\''`~
- + dldir=$destdir/`dirname \$dlpath`~
- + test -d \$dldir || mkdir -p \$dldir~
- + $install_prog .libs/$dlname \$dldir/$dlname'
- + postuninstall_cmds='dldll=`bash 2>&1 -c '\''. $file; echo \$dlname'\''`~
- + dlpath=$dir/\$dldll~
- + $rm \$dlpath'
- + ;;
- + yes,mingw*)
- + library_names_spec='${libname}`echo ${release} | sed -e 's/[[.]]/-/g'`${versuffix}.dll'
- + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s/;/ /g" -e "s,=/,/,g"`
- + ;;
- + yes,pw32*)
- + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll'
- + ;;
- + *)
- + library_names_spec='${libname}`echo ${release} | sed -e 's/[[.]]/-/g'`${versuffix}.dll $libname.lib'
- + ;;
- + esac
- + dynamic_linker='Win32 ld.exe'
- + # FIXME: first we should search . and the directory the executable is in
- + shlibpath_var=PATH
- + ;;
- +
- +darwin* | rhapsody*)
- + dynamic_linker="$host_os dyld"
- + version_type=darwin
- + need_lib_prefix=no
- + need_version=no
- + # FIXME: Relying on posixy $() will cause problems for
- + # cross-compilation, but unfortunately the echo tests do not
- + # yet detect zsh echo's removal of \ escapes.
- + library_names_spec='${libname}${release}${versuffix}.$(test .$module = .yes && echo so || echo dylib) ${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib) ${libname}.$(test .$module = .yes && echo so || echo dylib)'
- + soname_spec='${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib)'
- + shlibpath_overrides_runpath=yes
- + shlibpath_var=DYLD_LIBRARY_PATH
- + ;;
- +
- +freebsd1*)
- + dynamic_linker=no
- + ;;
- +
- +kfreebsd*-gnu*)
- + version_type=linux
- + need_lib_prefix=no
- + need_version=no
- + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
- + soname_spec='${libname}${release}.so$major'
- + shlibpath_var=LD_LIBRARY_PATH
- + shlibpath_overrides_runpath=no
- + hardcode_into_libs=yes
- + dynamic_linker='GNU/FreeBSD ld.so'
- + ;;
- +
- +freebsd*)
- + objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
- + version_type=freebsd-$objformat
- + case $version_type in
- + freebsd-elf*)
- + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so'
- + need_version=no
- + need_lib_prefix=no
- + ;;
- + freebsd-*)
- + library_names_spec='${libname}${release}.so$versuffix $libname.so$versuffix'
- + need_version=yes
- + ;;
- + esac
- + shlibpath_var=LD_LIBRARY_PATH
- + case $host_os in
- + freebsd2*)
- + shlibpath_overrides_runpath=yes
- + ;;
- + *)
- + shlibpath_overrides_runpath=no
- + hardcode_into_libs=yes
- + ;;
- + esac
- + ;;
- +
- +gnu*)
- + version_type=linux
- + need_lib_prefix=no
- + need_version=no
- + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so${major} ${libname}.so'
- + soname_spec='${libname}${release}.so$major'
- + shlibpath_var=LD_LIBRARY_PATH
- + hardcode_into_libs=yes
- + ;;
- +
- +hpux9* | hpux10* | hpux11*)
- + # Give a soname corresponding to the major version so that dld.sl refuses to
- + # link against other versions.
- + dynamic_linker="$host_os dld.sl"
- + version_type=sunos
- + need_lib_prefix=no
- + need_version=no
- + shlibpath_var=SHLIB_PATH
- + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
- + library_names_spec='${libname}${release}.sl$versuffix ${libname}${release}.sl$major $libname.sl'
- + soname_spec='${libname}${release}.sl$major'
- + # HP-UX runs *really* slowly unless shared libraries are mode 555.
- + postinstall_cmds='chmod 555 $lib'
- + ;;
- +
- +irix5* | irix6* | nonstopux*)
- + case $host_os in
- + nonstopux*) version_type=nonstopux ;;
- + *) version_type=irix ;;
- + esac
- + need_lib_prefix=no
- + need_version=no
- + soname_spec='${libname}${release}.so$major'
- + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so $libname.so'
- + case $host_os in
- + irix5* | nonstopux*)
- + libsuff= shlibsuff=
- + ;;
- + *)
- + case $LD in # libtool.m4 will add one of these switches to LD
- + *-32|*"-32 ") libsuff= shlibsuff= libmagic=32-bit;;
- + *-n32|*"-n32 ") libsuff=32 shlibsuff=N32 libmagic=N32;;
- + *-64|*"-64 ") libsuff=64 shlibsuff=64 libmagic=64-bit;;
- + *) libsuff= shlibsuff= libmagic=never-match;;
- + esac
- + ;;
- + esac
- + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
- + shlibpath_overrides_runpath=no
- + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
- + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
- + ;;
- +
- +# No shared lib support for Linux oldld, aout, or coff.
- +linux-gnuoldld* | linux-gnuaout* | linux-gnucoff*)
- + dynamic_linker=no
- + ;;
- +
- +# This must be Linux ELF.
- +linux-gnu*)
- + version_type=linux
- + need_lib_prefix=no
- + need_version=no
- + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
- + soname_spec='${libname}${release}.so$major'
- + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
- + shlibpath_var=LD_LIBRARY_PATH
- + shlibpath_overrides_runpath=no
- + # This implies no fast_install, which is unacceptable.
- + # Some rework will be needed to allow for fast_install
- + # before this can be enabled.
- + hardcode_into_libs=yes
- +
- + # We used to test for /lib/ld.so.1 and disable shared libraries on
- + # powerpc, because MkLinux only supported shared libraries with the
- + # GNU dynamic linker. Since this was broken with cross compilers,
- + # most powerpc-linux boxes support dynamic linking these days and
- + # people can always --disable-shared, the test was removed, and we
- + # assume the GNU/Linux dynamic linker is in use.
- + dynamic_linker='GNU/Linux ld.so'
- + ;;
- +
- +netbsd*)
- + version_type=sunos
- + need_lib_prefix=no
- + need_version=no
- + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
- + library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
- + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
- + dynamic_linker='NetBSD (a.out) ld.so'
- + else
- + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so ${libname}.so'
- + soname_spec='${libname}${release}.so$major'
- + dynamic_linker='NetBSD ld.elf_so'
- + fi
- + shlibpath_var=LD_LIBRARY_PATH
- + shlibpath_overrides_runpath=yes
- + hardcode_into_libs=yes
- + ;;
- +
- +newsos6)
- + version_type=linux
- + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
- + shlibpath_var=LD_LIBRARY_PATH
- + shlibpath_overrides_runpath=yes
- + ;;
- +
- +openbsd*)
- + version_type=sunos
- + need_lib_prefix=no
- + need_version=no
- + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
- + case "$host_os" in
- + openbsd2.[[89]] | openbsd2.[[89]].*)
- + shlibpath_overrides_runpath=no
- + ;;
- + *)
- + shlibpath_overrides_runpath=yes
- + ;;
- + esac
- + else
- + shlibpath_overrides_runpath=yes
- + fi
- + library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
- + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
- + shlibpath_var=LD_LIBRARY_PATH
- + ;;
- +
- +os2*)
- + libname_spec='$name'
- + need_lib_prefix=no
- + library_names_spec='$libname.dll $libname.a'
- + dynamic_linker='OS/2 ld.exe'
- + shlibpath_var=LIBPATH
- + ;;
- +
- +osf3* | osf4* | osf5*)
- + version_type=osf
- + need_version=no
- + need_lib_prefix=no
- + soname_spec='${libname}${release}.so$major'
- + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
- + shlibpath_var=LD_LIBRARY_PATH
- + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
- + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
- + hardcode_into_libs=yes
- + ;;
- +
- +sco3.2v5*)
- + version_type=osf
- + soname_spec='${libname}${release}.so$major'
- + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
- + shlibpath_var=LD_LIBRARY_PATH
- + ;;
- +
- +solaris*)
- + version_type=linux
- + need_lib_prefix=no
- + need_version=no
- + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
- + soname_spec='${libname}${release}.so$major'
- + shlibpath_var=LD_LIBRARY_PATH
- + shlibpath_overrides_runpath=yes
- + hardcode_into_libs=yes
- + # ldd complains unless libraries are executable
- + postinstall_cmds='chmod +x $lib'
- + ;;
- +
- +sunos4*)
- + version_type=sunos
- + library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
- + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
- + shlibpath_var=LD_LIBRARY_PATH
- + shlibpath_overrides_runpath=yes
- + if test "$with_gnu_ld" = yes; then
- + need_lib_prefix=no
- + fi
- + need_version=yes
- + ;;
- +
- +sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
- + version_type=linux
- + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
- + soname_spec='${libname}${release}.so$major'
- + shlibpath_var=LD_LIBRARY_PATH
- + case $host_vendor in
- + sni)
- + shlibpath_overrides_runpath=no
- + need_lib_prefix=no
- + export_dynamic_flag_spec='${wl}-Blargedynsym'
- + runpath_var=LD_RUN_PATH
- + ;;
- + siemens)
- + need_lib_prefix=no
- + ;;
- + motorola)
- + need_lib_prefix=no
- + need_version=no
- + shlibpath_overrides_runpath=no
- + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
- + ;;
- + esac
- + ;;
- +
- +uts4*)
- + version_type=linux
- + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
- + soname_spec='${libname}${release}.so$major'
- + shlibpath_var=LD_LIBRARY_PATH
- + ;;
- +
- +dgux*)
- + version_type=linux
- + need_lib_prefix=no
- + need_version=no
- + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
- + soname_spec='${libname}${release}.so$major'
- + shlibpath_var=LD_LIBRARY_PATH
- + ;;
- +
- +sysv4*MP*)
- + if test -d /usr/nec ;then
- + version_type=linux
- + library_names_spec='$libname.so.$versuffix $libname.so.$major $libname.so'
- + soname_spec='$libname.so.$major'
- + shlibpath_var=LD_LIBRARY_PATH
- + fi
- + ;;
- +
- +*)
- + dynamic_linker=no
- + ;;
- +esac
- +AC_MSG_RESULT([$dynamic_linker])
- +test "$dynamic_linker" = no && can_build_shared=no
- +##
- +## END FIXME
- +
- +## FIXME: this should be a separate macro
- +##
- +# Report the final consequences.
- +AC_MSG_CHECKING([if libtool supports shared libraries])
- +AC_MSG_RESULT([$can_build_shared])
- +##
- +## END FIXME
- +
- +## FIXME: this should be a separate macro
- +##
- +AC_MSG_CHECKING([whether to build shared libraries])
- +test "$can_build_shared" = "no" && enable_shared=no
- +
- +# On AIX, shared libraries and static libraries use the same namespace, and
- +# are all built from PIC.
- +case "$host_os" in
- +aix3*)
- + test "$enable_shared" = yes && enable_static=no
- + if test -n "$RANLIB"; then
- + archive_cmds="$archive_cmds~\$RANLIB \$lib"
- + postinstall_cmds='$RANLIB $lib'
- + fi
- + ;;
- +
- +aix4*)
- + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
- + test "$enable_shared" = yes && enable_static=no
- + fi
- + ;;
- +esac
- +AC_MSG_RESULT([$enable_shared])
- +##
- +## END FIXME
- +
- +## FIXME: this should be a separate macro
- +##
- +AC_MSG_CHECKING([whether to build static libraries])
- +# Make sure either enable_shared or enable_static is yes.
- +test "$enable_shared" = yes || enable_static=yes
- +AC_MSG_RESULT([$enable_static])
- +##
- +## END FIXME
- +
- +if test "$hardcode_action" = relink; then
- + # Fast installation is not supported
- + enable_fast_install=no
- +elif test "$shlibpath_overrides_runpath" = yes ||
- + test "$enable_shared" = no; then
- + # Fast installation is not necessary
- + enable_fast_install=needless
- +fi
- +
- +variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
- +if test "$GCC" = yes; then
- + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
- +fi
- +
- +AC_LIBTOOL_DLOPEN_SELF
- +
- +## FIXME: this should be a separate macro
- +##
- +if test "$enable_shared" = yes && test "$GCC" = yes; then
- + case $archive_cmds in
- + *'~'*)
- + # FIXME: we may have to deal with multi-command sequences.
- + ;;
- + '$CC '*)
- + # Test whether the compiler implicitly links with -lc since on some
- + # systems, -lgcc has to come before -lc. If gcc already passes -lc
- + # to ld, don't add -lc before -lgcc.
- + AC_MSG_CHECKING([whether -lc should be explicitly linked in])
- + AC_CACHE_VAL([lt_cv_archive_cmds_need_lc],
- + [$rm conftest*
- + echo 'static int dummy;' > conftest.$ac_ext
- +
- + if AC_TRY_EVAL(ac_compile); then
- + soname=conftest
- + lib=conftest
- + libobjs=conftest.$ac_objext
- + deplibs=
- + wl=$lt_cv_prog_cc_wl
- + compiler_flags=-v
- + linker_flags=-v
- + verstring=
- + output_objdir=.
- + libname=conftest
- + save_allow_undefined_flag=$allow_undefined_flag
- + allow_undefined_flag=
- + if AC_TRY_EVAL(archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1)
- + then
- + lt_cv_archive_cmds_need_lc=no
- + else
- + lt_cv_archive_cmds_need_lc=yes
- + fi
- + allow_undefined_flag=$save_allow_undefined_flag
- + else
- + cat conftest.err 1>&5
- + fi])
- + AC_MSG_RESULT([$lt_cv_archive_cmds_need_lc])
- + ;;
- + esac
- +fi
- +need_lc=${lt_cv_archive_cmds_need_lc-yes}
- +##
- +## END FIXME
- +
- +## FIXME: this should be a separate macro
- +##
- +# The second clause should only fire when bootstrapping the
- +# libtool distribution, otherwise you forgot to ship ltmain.sh
- +# with your package, and you will get complaints that there are
- +# no rules to generate ltmain.sh.
- +if test -f "$ltmain"; then
- + :
- +else
- + # If there is no Makefile yet, we rely on a make rule to execute
- + # `config.status --recheck' to rerun these tests and create the
- + # libtool script then.
- + test -f Makefile && make "$ltmain"
- +fi
-
- -# Actually configure libtool. ac_aux_dir is where install-sh is found.
- -CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
- -LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
- -LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" \
- -DLLTOOL="$DLLTOOL" AS="$AS" OBJDUMP="$OBJDUMP" \
- -${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig \
- -$libtool_flags --no-verify $ac_aux_dir/ltmain.sh $lt_target \
- -|| AC_MSG_ERROR([libtool configure failed])
- +if test -f "$ltmain"; then
- + trap "$rm \"${ofile}T\"; exit 1" 1 2 15
- + $rm -f "${ofile}T"
- +
- + echo creating $ofile
- +
- + # Now quote all the things that may contain metacharacters while being
- + # careful not to overquote the AC_SUBSTed values. We take copies of the
- + # variables and quote the copies for generation of the libtool script.
- + for var in echo old_CC old_CFLAGS SED \
- + AR AR_FLAGS CC LD LN_S NM SHELL \
- + reload_flag reload_cmds wl \
- + pic_flag link_static_flag no_builtin_flag export_dynamic_flag_spec \
- + thread_safe_flag_spec whole_archive_flag_spec libname_spec \
- + library_names_spec soname_spec \
- + RANLIB old_archive_cmds old_archive_from_new_cmds old_postinstall_cmds \
- + old_postuninstall_cmds archive_cmds archive_expsym_cmds postinstall_cmds \
- + postuninstall_cmds extract_expsyms_cmds old_archive_from_expsyms_cmds \
- + old_striplib striplib file_magic_cmd export_symbols_cmds \
- + deplibs_check_method allow_undefined_flag no_undefined_flag \
- + finish_cmds finish_eval global_symbol_pipe global_symbol_to_cdecl \
- + global_symbol_to_c_name_address \
- + hardcode_libdir_flag_spec hardcode_libdir_separator \
- + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
- + compiler_c_o compiler_o_lo need_locks exclude_expsyms include_expsyms; do
- +
- + case $var in
- + reload_cmds | old_archive_cmds | old_archive_from_new_cmds | \
- + old_postinstall_cmds | old_postuninstall_cmds | \
- + export_symbols_cmds | archive_cmds | archive_expsym_cmds | \
- + extract_expsyms_cmds | old_archive_from_expsyms_cmds | \
- + postinstall_cmds | postuninstall_cmds | \
- + finish_cmds | sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
- + # Double-quote double-evaled strings.
- + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
- + ;;
- + *)
- + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
- + ;;
- + esac
- + done
-
- -# Reload cache, that may have been modified by ltconfig
- -AC_CACHE_LOAD
- + cat <<__EOF__ > "${ofile}T"
- +#! $SHELL
-
- -# This can be used to rebuild libtool when needed
- -LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh"
- +# `$echo "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
- +# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
- +# NOTE: Changes made to this file will be lost: look at ltmain.sh.
- +#
- +# Copyright (C) 1996-2000 Free Software Foundation, Inc.
- +# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
- +#
- +# This program is free software; you can redistribute it and/or modify
- +# it under the terms of the GNU General Public License as published by
- +# the Free Software Foundation; either version 2 of the License, or
- +# (at your option) any later version.
- +#
- +# This program is distributed in the hope that it will be useful, but
- +# WITHOUT ANY WARRANTY; without even the implied warranty of
- +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- +# General Public License for more details.
- +#
- +# You should have received a copy of the GNU General Public License
- +# along with this program; if not, write to the Free Software
- +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
- +#
- +# As a special exception to the GNU General Public License, if you
- +# distribute this file as part of a program that contains a
- +# configuration script generated by Autoconf, you may include it under
- +# the same distribution terms that you use for the rest of that program.
-
- -# Always use our own libtool.
- -LIBTOOL='$(SHELL) $(top_builddir)/libtool'
- -AC_SUBST(LIBTOOL)dnl
- +# A sed that does not truncate output.
- +SED=$lt_SED
-
- -# Redirect the config.log output again, so that the ltconfig log is not
- -# clobbered by the next message.
- -exec 5>>./config.log
- -])
- +# Sed that helps us avoid accidentally triggering echo(1) options like -n.
- +Xsed="${SED} -e s/^X//"
-
- -AC_DEFUN(AC_LIBTOOL_SETUP,
- -[AC_PREREQ(2.13)dnl
- -AC_REQUIRE([AC_ENABLE_SHARED])dnl
- -AC_REQUIRE([AC_ENABLE_STATIC])dnl
- -AC_REQUIRE([AC_ENABLE_FAST_INSTALL])dnl
- -AC_REQUIRE([AC_CANONICAL_HOST])dnl
- -AC_REQUIRE([AC_CANONICAL_BUILD])dnl
- -AC_REQUIRE([AC_PROG_RANLIB])dnl
- -AC_REQUIRE([AC_PROG_CC])dnl
- -AC_REQUIRE([AC_PROG_LD])dnl
- -AC_REQUIRE([AC_PROG_NM])dnl
- -AC_REQUIRE([AC_PROG_LN_S])dnl
- -dnl
- +# The HP-UX ksh and POSIX shell print the target directory to stdout
- +# if CDPATH is set.
- +if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
-
- -case "$target" in
- -NONE) lt_target="$host" ;;
- -*) lt_target="$target" ;;
- -esac
- +# ### BEGIN LIBTOOL CONFIG
-
- -# Check for any special flags to pass to ltconfig.
- -libtool_flags=""
- -test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
- -test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
- -test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
- -test "$ac_cv_prog_gcc" = yes && libtool_flags="$libtool_flags --with-gcc"
- -test "$ac_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
- -ifdef([AC_PROVIDE_AC_LIBTOOL_DLOPEN],
- -[libtool_flags="$libtool_flags --enable-dlopen"])
- -ifdef([AC_PROVIDE_AC_LIBTOOL_WIN32_DLL],
- -[libtool_flags="$libtool_flags --enable-win32-dll"])
- -AC_ARG_ENABLE(libtool-lock,
- - [ --disable-libtool-lock avoid locking (might break parallel builds)])
- -test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
- -test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
- +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
-
- -# Some flags need to be propagated to the compiler or linker for good
- -# libtool support.
- -case "$lt_target" in
- -*-*-irix6*)
- - # Find out which ABI we are using.
- - echo '[#]line __oline__ "configure"' > conftest.$ac_ext
- - if AC_TRY_EVAL(ac_compile); then
- - case "`/usr/bin/file conftest.o`" in
- - *32-bit*)
- - LD="${LD-ld} -32"
- - ;;
- - *N32*)
- - LD="${LD-ld} -n32"
- - ;;
- - *64-bit*)
- - LD="${LD-ld} -64"
- - ;;
- - esac
- - fi
- - rm -rf conftest*
- - ;;
- +# Shell to use when invoking shell scripts.
- +SHELL=$lt_SHELL
-
- -*-*-sco3.2v5*)
- - # On SCO OpenServer 5, we need -belf to get full-featured binaries.
- - SAVE_CFLAGS="$CFLAGS"
- - CFLAGS="$CFLAGS -belf"
- - AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,
- - [AC_TRY_LINK([],[],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])])
- - if test x"$lt_cv_cc_needs_belf" != x"yes"; then
- - # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
- - CFLAGS="$SAVE_CFLAGS"
- - fi
- - ;;
- +# Whether or not to build shared libraries.
- +build_libtool_libs=$enable_shared
-
- -ifdef([AC_PROVIDE_AC_LIBTOOL_WIN32_DLL],
- -[*-*-cygwin* | *-*-mingw*)
- - AC_CHECK_TOOL(DLLTOOL, dlltool, false)
- - AC_CHECK_TOOL(AS, as, false)
- - AC_CHECK_TOOL(OBJDUMP, objdump, false)
- - ;;
- -])
- -esac
- -])
- +# Whether or not to build static libraries.
- +build_old_libs=$enable_static
- +
- +# Whether or not to add -lc for building shared libraries.
- +build_libtool_need_lc=$need_lc
- +
- +# Whether or not to optimize for fast installation.
- +fast_install=$enable_fast_install
- +
- +# The host system.
- +host_alias=$host_alias
- +host=$host
- +
- +# An echo program that does not interpret backslashes.
- +echo=$lt_echo
- +
- +# The archiver.
- +AR=$lt_AR
- +AR_FLAGS=$lt_AR_FLAGS
- +
- +# The default C compiler.
- +CC=$lt_CC
- +
- +# Is the compiler the GNU C compiler?
- +with_gcc=$GCC
- +
- +# The linker used to build libraries.
- +LD=$lt_LD
- +
- +# Whether we need hard or soft links.
- +LN_S=$lt_LN_S
- +
- +# A BSD-compatible nm program.
- +NM=$lt_NM
- +
- +# A symbol stripping program
- +STRIP="$STRIP"
- +
- +# Used to examine libraries when file_magic_cmd begins "file"
- +MAGIC_CMD=$MAGIC_CMD
- +
- +# Used on cygwin: DLL creation program.
- +DLLTOOL="$DLLTOOL"
- +
- +# Used on cygwin: object dumper.
- +OBJDUMP="$OBJDUMP"
- +
- +# Used on cygwin: assembler.
- +AS="$AS"
- +
- +# The name of the directory that contains temporary libtool files.
- +objdir=$objdir
- +
- +# How to create reloadable object files.
- +reload_flag=$lt_reload_flag
- +reload_cmds=$lt_reload_cmds
- +
- +# How to pass a linker flag through the compiler.
- +wl=$lt_wl
- +
- +# Object file suffix (normally "o").
- +objext="$ac_objext"
- +
- +# Old archive suffix (normally "a").
- +libext="$libext"
- +
- +# Executable file suffix (normally "").
- +exeext="$exeext"
- +
- +# Additional compiler flags for building library objects.
- +pic_flag=$lt_pic_flag
- +pic_mode=$pic_mode
- +
- +# Does compiler simultaneously support -c and -o options?
- +compiler_c_o=$lt_compiler_c_o
- +
- +# Can we write directly to a .lo ?
- +compiler_o_lo=$lt_compiler_o_lo
- +
- +# Must we lock files when doing compilation ?
- +need_locks=$lt_need_locks
- +
- +# Do we need the lib prefix for modules?
- +need_lib_prefix=$need_lib_prefix
- +
- +# Do we need a version for libraries?
- +need_version=$need_version
- +
- +# Whether dlopen is supported.
- +dlopen_support=$enable_dlopen
- +
- +# Whether dlopen of programs is supported.
- +dlopen_self=$enable_dlopen_self
- +
- +# Whether dlopen of statically linked programs is supported.
- +dlopen_self_static=$enable_dlopen_self_static
- +
- +# Compiler flag to prevent dynamic linking.
- +link_static_flag=$lt_link_static_flag
- +
- +# Compiler flag to turn off builtin functions.
- +no_builtin_flag=$lt_no_builtin_flag
- +
- +# Compiler flag to allow reflexive dlopens.
- +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
- +
- +# Compiler flag to generate shared objects directly from archives.
- +whole_archive_flag_spec=$lt_whole_archive_flag_spec
- +
- +# Compiler flag to generate thread-safe objects.
- +thread_safe_flag_spec=$lt_thread_safe_flag_spec
- +
- +# Library versioning type.
- +version_type=$version_type
- +
- +# Format of library name prefix.
- +libname_spec=$lt_libname_spec
- +
- +# List of archive names. First name is the real one, the rest are links.
- +# The last name is the one that the linker finds with -lNAME.
- +library_names_spec=$lt_library_names_spec
- +
- +# The coded name of the library, if different from the real name.
- +soname_spec=$lt_soname_spec
- +
- +# Commands used to build and install an old-style archive.
- +RANLIB=$lt_RANLIB
- +old_archive_cmds=$lt_old_archive_cmds
- +old_postinstall_cmds=$lt_old_postinstall_cmds
- +old_postuninstall_cmds=$lt_old_postuninstall_cmds
- +
- +# Create an old-style archive from a shared archive.
- +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
- +
- +# Create a temporary old-style archive to link instead of a shared archive.
- +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
- +
- +# Commands used to build and install a shared archive.
- +archive_cmds=$lt_archive_cmds
- +archive_expsym_cmds=$lt_archive_expsym_cmds
- +postinstall_cmds=$lt_postinstall_cmds
- +postuninstall_cmds=$lt_postuninstall_cmds
- +
- +# Commands to strip libraries.
- +old_striplib=$lt_old_striplib
- +striplib=$lt_striplib
- +
- +# Method to check whether dependent libraries are shared objects.
- +deplibs_check_method=$lt_deplibs_check_method
- +
- +# Command to use when deplibs_check_method == file_magic.
- +file_magic_cmd=$lt_file_magic_cmd
- +
- +# Flag that allows shared libraries with undefined symbols to be built.
- +allow_undefined_flag=$lt_allow_undefined_flag
- +
- +# Flag that forces no undefined symbols.
- +no_undefined_flag=$lt_no_undefined_flag
- +
- +# Commands used to finish a libtool library installation in a directory.
- +finish_cmds=$lt_finish_cmds
- +
- +# Same as above, but a single script fragment to be evaled but not shown.
- +finish_eval=$lt_finish_eval
- +
- +# Take the output of nm and produce a listing of raw symbols and C names.
- +global_symbol_pipe=$lt_global_symbol_pipe
- +
- +# Transform the output of nm in a proper C declaration
- +global_symbol_to_cdecl=$lt_global_symbol_to_cdecl
- +
- +# Transform the output of nm in a C name address pair
- +global_symbol_to_c_name_address=$lt_global_symbol_to_c_name_address
- +
- +# This is the shared library runtime path variable.
- +runpath_var=$runpath_var
- +
- +# This is the shared library path variable.
- +shlibpath_var=$shlibpath_var
- +
- +# Is shlibpath searched before the hard-coded library search path?
- +shlibpath_overrides_runpath=$shlibpath_overrides_runpath
- +
- +# How to hardcode a shared library path into an executable.
- +hardcode_action=$hardcode_action
- +
- +# Whether we should hardcode library paths into libraries.
- +hardcode_into_libs=$hardcode_into_libs
- +
- +# Flag to hardcode \$libdir into a binary during linking.
- +# This must work even if \$libdir does not exist.
- +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
- +
- +# Whether we need a single -rpath flag with a separated argument.
- +hardcode_libdir_separator=$lt_hardcode_libdir_separator
- +
- +# Set to yes if using DIR/libNAME.so during linking hardcodes DIR into the
- +# resulting binary.
- +hardcode_direct=$hardcode_direct
- +
- +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
- +# resulting binary.
- +hardcode_minus_L=$hardcode_minus_L
- +
- +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
- +# the resulting binary.
- +hardcode_shlibpath_var=$hardcode_shlibpath_var
- +
- +# Variables whose values should be saved in libtool wrapper scripts and
- +# restored at relink time.
- +variables_saved_for_relink="$variables_saved_for_relink"
- +
- +# Whether libtool must link a program against all its dependency libraries.
- +link_all_deplibs=$link_all_deplibs
- +
- +# Compile-time system search path for libraries
- +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
- +
- +# Run-time system search path for libraries
- +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
- +
- +# Fix the shell variable \$srcfile for the compiler.
- +fix_srcfile_path="$fix_srcfile_path"
- +
- +# Set to yes if exported symbols are required.
- +always_export_symbols=$always_export_symbols
- +
- +# The commands to list exported symbols.
- +export_symbols_cmds=$lt_export_symbols_cmds
- +
- +# The commands to extract the exported symbol list from a shared archive.
- +extract_expsyms_cmds=$lt_extract_expsyms_cmds
- +
- +# Symbols that should not be listed in the preloaded symbols.
- +exclude_expsyms=$lt_exclude_expsyms
- +
- +# Symbols that must always be exported.
- +include_expsyms=$lt_include_expsyms
- +
- +# ### END LIBTOOL CONFIG
- +
- +__EOF__
- +
- + case $host_os in
- + aix3*)
- + cat <<\EOF >> "${ofile}T"
- +
- +# AIX sometimes has problems with the GCC collect2 program. For some
- +# reason, if we set the COLLECT_NAMES environment variable, the problems
- +# vanish in a puff of smoke.
- +if test "X${COLLECT_NAMES+set}" != Xset; then
- + COLLECT_NAMES=
- + export COLLECT_NAMES
- +fi
- +EOF
- + ;;
- + esac
- +
- + case $host_os in
- + cygwin* | mingw* | pw32* | os2*)
- + cat <<'EOF' >> "${ofile}T"
- + # This is a source program that is used to create dlls on Windows
- + # Don't remove nor modify the starting and closing comments
- +# /* ltdll.c starts here */
- +# #define WIN32_LEAN_AND_MEAN
- +# #include <windows.h>
- +# #undef WIN32_LEAN_AND_MEAN
- +# #include <stdio.h>
- +#
- +# #ifndef __CYGWIN__
- +# # ifdef __CYGWIN32__
- +# # define __CYGWIN__ __CYGWIN32__
- +# # endif
- +# #endif
- +#
- +# #ifdef __cplusplus
- +# extern "C" {
- +# #endif
- +# BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved);
- +# #ifdef __cplusplus
- +# }
- +# #endif
- +#
- +# #ifdef __CYGWIN__
- +# #include <cygwin/cygwin_dll.h>
- +# DECLARE_CYGWIN_DLL( DllMain );
- +# #endif
- +# HINSTANCE __hDllInstance_base;
- +#
- +# BOOL APIENTRY
- +# DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved)
- +# {
- +# __hDllInstance_base = hInst;
- +# return TRUE;
- +# }
- +# /* ltdll.c ends here */
- + # This is a source program that is used to create import libraries
- + # on Windows for dlls which lack them. Don't remove nor modify the
- + # starting and closing comments
- +# /* impgen.c starts here */
- +# /* Copyright (C) 1999-2000 Free Software Foundation, Inc.
- +#
- +# This file is part of GNU libtool.
- +#
- +# This program is free software; you can redistribute it and/or modify
- +# it under the terms of the GNU General Public License as published by
- +# the Free Software Foundation; either version 2 of the License, or
- +# (at your option) any later version.
- +#
- +# This program is distributed in the hope that it will be useful,
- +# but WITHOUT ANY WARRANTY; without even the implied warranty of
- +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- +# GNU General Public License for more details.
- +#
- +# You should have received a copy of the GNU General Public License
- +# along with this program; if not, write to the Free Software
- +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
- +# */
- +#
- +# #include <stdio.h> /* for printf() */
- +# #include <unistd.h> /* for open(), lseek(), read() */
- +# #include <fcntl.h> /* for O_RDONLY, O_BINARY */
- +# #include <string.h> /* for strdup() */
- +#
- +# /* O_BINARY isn't required (or even defined sometimes) under Unix */
- +# #ifndef O_BINARY
- +# #define O_BINARY 0
- +# #endif
- +#
- +# static unsigned int
- +# pe_get16 (fd, offset)
- +# int fd;
- +# int offset;
- +# {
- +# unsigned char b[2];
- +# lseek (fd, offset, SEEK_SET);
- +# read (fd, b, 2);
- +# return b[0] + (b[1]<<8);
- +# }
- +#
- +# static unsigned int
- +# pe_get32 (fd, offset)
- +# int fd;
- +# int offset;
- +# {
- +# unsigned char b[4];
- +# lseek (fd, offset, SEEK_SET);
- +# read (fd, b, 4);
- +# return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24);
- +# }
- +#
- +# static unsigned int
- +# pe_as32 (ptr)
- +# void *ptr;
- +# {
- +# unsigned char *b = ptr;
- +# return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24);
- +# }
- +#
- +# int
- +# main (argc, argv)
- +# int argc;
- +# char *argv[];
- +# {
- +# int dll;
- +# unsigned long pe_header_offset, opthdr_ofs, num_entries, i;
- +# unsigned long export_rva, export_size, nsections, secptr, expptr;
- +# unsigned long name_rvas, nexp;
- +# unsigned char *expdata, *erva;
- +# char *filename, *dll_name;
- +#
- +# filename = argv[1];
- +#
- +# dll = open(filename, O_RDONLY|O_BINARY);
- +# if (dll < 1)
- +# return 1;
- +#
- +# dll_name = filename;
- +#
- +# for (i=0; filename[i]; i++)
- +# if (filename[i] == '/' || filename[i] == '\\' || filename[i] == ':')
- +# dll_name = filename + i +1;
- +#
- +# pe_header_offset = pe_get32 (dll, 0x3c);
- +# opthdr_ofs = pe_header_offset + 4 + 20;
- +# num_entries = pe_get32 (dll, opthdr_ofs + 92);
- +#
- +# if (num_entries < 1) /* no exports */
- +# return 1;
- +#
- +# export_rva = pe_get32 (dll, opthdr_ofs + 96);
- +# export_size = pe_get32 (dll, opthdr_ofs + 100);
- +# nsections = pe_get16 (dll, pe_header_offset + 4 +2);
- +# secptr = (pe_header_offset + 4 + 20 +
- +# pe_get16 (dll, pe_header_offset + 4 + 16));
- +#
- +# expptr = 0;
- +# for (i = 0; i < nsections; i++)
- +# {
- +# char sname[8];
- +# unsigned long secptr1 = secptr + 40 * i;
- +# unsigned long vaddr = pe_get32 (dll, secptr1 + 12);
- +# unsigned long vsize = pe_get32 (dll, secptr1 + 16);
- +# unsigned long fptr = pe_get32 (dll, secptr1 + 20);
- +# lseek(dll, secptr1, SEEK_SET);
- +# read(dll, sname, 8);
- +# if (vaddr <= export_rva && vaddr+vsize > export_rva)
- +# {
- +# expptr = fptr + (export_rva - vaddr);
- +# if (export_rva + export_size > vaddr + vsize)
- +# export_size = vsize - (export_rva - vaddr);
- +# break;
- +# }
- +# }
- +#
- +# expdata = (unsigned char*)malloc(export_size);
- +# lseek (dll, expptr, SEEK_SET);
- +# read (dll, expdata, export_size);
- +# erva = expdata - export_rva;
- +#
- +# nexp = pe_as32 (expdata+24);
- +# name_rvas = pe_as32 (expdata+32);
- +#
- +# printf ("EXPORTS\n");
- +# for (i = 0; i<nexp; i++)
- +# {
- +# unsigned long name_rva = pe_as32 (erva+name_rvas+i*4);
- +# printf ("\t%s @ %ld ;\n", erva+name_rva, 1+ i);
- +# }
- +#
- +# return 0;
- +# }
- +# /* impgen.c ends here */
- +
- +EOF
- + ;;
- + esac
- +
- + # We use sed instead of cat because bash on DJGPP gets confused if
- + # if finds mixed CR/LF and LF-only lines. Since sed operates in
- + # text mode, it properly converts lines to CR/LF. This bash problem
- + # is reportedly fixed, but why not run on old versions too?
- + sed '$q' "$ltmain" >> "${ofile}T" || (rm -f "${ofile}T"; exit 1)
- +
- + mv -f "${ofile}T" "$ofile" || \
- + (rm -f "$ofile" && cp "${ofile}T" "$ofile" && rm -f "${ofile}T")
- + chmod +x "$ofile"
- +fi
- +##
- +## END FIXME
- +
- +])# _LT_AC_LTCONFIG_HACK
-
- # AC_LIBTOOL_DLOPEN - enable checks for dlopen support
- -AC_DEFUN(AC_LIBTOOL_DLOPEN, [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])])
- +AC_DEFUN([AC_LIBTOOL_DLOPEN], [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])])
-
- # AC_LIBTOOL_WIN32_DLL - declare package support for building win32 dll's
- -AC_DEFUN(AC_LIBTOOL_WIN32_DLL, [AC_BEFORE([$0], [AC_LIBTOOL_SETUP])])
- +AC_DEFUN([AC_LIBTOOL_WIN32_DLL], [AC_BEFORE([$0], [AC_LIBTOOL_SETUP])])
-
- # AC_ENABLE_SHARED - implement the --enable-shared flag
- # Usage: AC_ENABLE_SHARED[(DEFAULT)]
- # Where DEFAULT is either `yes' or `no'. If omitted, it defaults to
- # `yes'.
- -AC_DEFUN(AC_ENABLE_SHARED, [dnl
- -define([AC_ENABLE_SHARED_DEFAULT], ifelse($1, no, no, yes))dnl
- +AC_DEFUN([AC_ENABLE_SHARED],
- +[define([AC_ENABLE_SHARED_DEFAULT], ifelse($1, no, no, yes))dnl
- AC_ARG_ENABLE(shared,
- changequote(<<, >>)dnl
- << --enable-shared[=PKGS] build shared libraries [default=>>AC_ENABLE_SHARED_DEFAULT],
- changequote([, ])dnl
- [p=${PACKAGE-default}
- -case "$enableval" in
- +case $enableval in
- yes) enable_shared=yes ;;
- no) enable_shared=no ;;
- *)
- @@ -167,21 +3062,22 @@
- ])
-
- # AC_DISABLE_SHARED - set the default shared flag to --disable-shared
- -AC_DEFUN(AC_DISABLE_SHARED, [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
- +AC_DEFUN([AC_DISABLE_SHARED],
- +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
- AC_ENABLE_SHARED(no)])
-
- # AC_ENABLE_STATIC - implement the --enable-static flag
- # Usage: AC_ENABLE_STATIC[(DEFAULT)]
- # Where DEFAULT is either `yes' or `no'. If omitted, it defaults to
- # `yes'.
- -AC_DEFUN(AC_ENABLE_STATIC, [dnl
- -define([AC_ENABLE_STATIC_DEFAULT], ifelse($1, no, no, yes))dnl
- +AC_DEFUN([AC_ENABLE_STATIC],
- +[define([AC_ENABLE_STATIC_DEFAULT], ifelse($1, no, no, yes))dnl
- AC_ARG_ENABLE(static,
- changequote(<<, >>)dnl
- << --enable-static[=PKGS] build static libraries [default=>>AC_ENABLE_STATIC_DEFAULT],
- changequote([, ])dnl
- [p=${PACKAGE-default}
- -case "$enableval" in
- +case $enableval in
- yes) enable_static=yes ;;
- no) enable_static=no ;;
- *)
- @@ -200,7 +3096,8 @@
- ])
-
- # AC_DISABLE_STATIC - set the default static flag to --disable-static
- -AC_DEFUN(AC_DISABLE_STATIC, [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
- +AC_DEFUN([AC_DISABLE_STATIC],
- +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
- AC_ENABLE_STATIC(no)])
-
-
- @@ -208,14 +3105,14 @@
- # Usage: AC_ENABLE_FAST_INSTALL[(DEFAULT)]
- # Where DEFAULT is either `yes' or `no'. If omitted, it defaults to
- # `yes'.
- -AC_DEFUN(AC_ENABLE_FAST_INSTALL, [dnl
- -define([AC_ENABLE_FAST_INSTALL_DEFAULT], ifelse($1, no, no, yes))dnl
- +AC_DEFUN([AC_ENABLE_FAST_INSTALL],
- +[define([AC_ENABLE_FAST_INSTALL_DEFAULT], ifelse($1, no, no, yes))dnl
- AC_ARG_ENABLE(fast-install,
- changequote(<<, >>)dnl
- << --enable-fast-install[=PKGS] optimize for fast installation [default=>>AC_ENABLE_FAST_INSTALL_DEFAULT],
- changequote([, ])dnl
- [p=${PACKAGE-default}
- -case "$enableval" in
- +case $enableval in
- yes) enable_fast_install=yes ;;
- no) enable_fast_install=no ;;
- *)
- @@ -233,29 +3130,120 @@
- enable_fast_install=AC_ENABLE_FAST_INSTALL_DEFAULT)dnl
- ])
-
- -# AC_ENABLE_FAST_INSTALL - set the default to --disable-fast-install
- -AC_DEFUN(AC_DISABLE_FAST_INSTALL, [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
- +# AC_DISABLE_FAST_INSTALL - set the default to --disable-fast-install
- +AC_DEFUN([AC_DISABLE_FAST_INSTALL],
- +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
- AC_ENABLE_FAST_INSTALL(no)])
-
- +# AC_LIBTOOL_PICMODE - implement the --with-pic flag
- +# Usage: AC_LIBTOOL_PICMODE[(MODE)]
- +# Where MODE is either `yes' or `no'. If omitted, it defaults to
- +# `both'.
- +AC_DEFUN([AC_LIBTOOL_PICMODE],
- +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
- +pic_mode=ifelse($#,1,$1,default)])
- +
- +
- +# AC_PATH_TOOL_PREFIX - find a file program which can recognise shared library
- +AC_DEFUN([AC_PATH_TOOL_PREFIX],
- +[AC_MSG_CHECKING([for $1])
- +AC_CACHE_VAL(lt_cv_path_MAGIC_CMD,
- +[case $MAGIC_CMD in
- + /*)
- + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
- + ;;
- + ?:/*)
- + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
- + ;;
- + *)
- + ac_save_MAGIC_CMD="$MAGIC_CMD"
- + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
- +dnl $ac_dummy forces splitting on constant user-supplied paths.
- +dnl POSIX.2 word splitting is done only on the output of word expansions,
- +dnl not every word. This closes a longstanding sh security hole.
- + ac_dummy="ifelse([$2], , $PATH, [$2])"
- + for ac_dir in $ac_dummy; do
- + test -z "$ac_dir" && ac_dir=.
- + if test -f $ac_dir/$1; then
- + lt_cv_path_MAGIC_CMD="$ac_dir/$1"
- + if test -n "$file_magic_test_file"; then
- + case $deplibs_check_method in
- + "file_magic "*)
- + file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
- + MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
- + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
- + egrep "$file_magic_regex" > /dev/null; then
- + :
- + else
- + cat <<EOF 1>&2
- +
- +*** Warning: the command libtool uses to detect shared libraries,
- +*** $file_magic_cmd, produces output that libtool cannot recognize.
- +*** The result is that libtool may fail to recognize shared libraries
- +*** as such. This will affect the creation of libtool libraries that
- +*** depend on shared libraries, but programs linked with such libtool
- +*** libraries will work regardless of this problem. Nevertheless, you
- +*** may want to report the problem to your system manager and/or to
- +*** bug-libtool@gnu.org
- +
- +EOF
- + fi ;;
- + esac
- + fi
- + break
- + fi
- + done
- + IFS="$ac_save_ifs"
- + MAGIC_CMD="$ac_save_MAGIC_CMD"
- + ;;
- +esac])
- +MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
- +if test -n "$MAGIC_CMD"; then
- + AC_MSG_RESULT($MAGIC_CMD)
- +else
- + AC_MSG_RESULT(no)
- +fi
- +])
- +
- +
- +# AC_PATH_MAGIC - find a file program which can recognise a shared library
- +AC_DEFUN([AC_PATH_MAGIC],
- +[AC_REQUIRE([AC_CHECK_TOOL_PREFIX])dnl
- +AC_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin:$PATH)
- +if test -z "$lt_cv_path_MAGIC_CMD"; then
- + if test -n "$ac_tool_prefix"; then
- + AC_PATH_TOOL_PREFIX(file, /usr/bin:$PATH)
- + else
- + MAGIC_CMD=:
- + fi
- +fi
- +])
- +
- +
- # AC_PROG_LD - find the path to the GNU or non-GNU linker
- -AC_DEFUN(AC_PROG_LD,
- +AC_DEFUN([AC_PROG_LD],
- [AC_ARG_WITH(gnu-ld,
- [ --with-gnu-ld assume the C compiler uses GNU ld [default=no]],
- test "$withval" = no || with_gnu_ld=yes, with_gnu_ld=no)
- AC_REQUIRE([AC_PROG_CC])dnl
- AC_REQUIRE([AC_CANONICAL_HOST])dnl
- AC_REQUIRE([AC_CANONICAL_BUILD])dnl
- +AC_REQUIRE([_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR])dnl
- ac_prog=ld
- -if test "$ac_cv_prog_gcc" = yes; then
- +if test "$GCC" = yes; then
- # Check if gcc -print-prog-name=ld gives a path.
- AC_MSG_CHECKING([for ld used by GCC])
- - ac_prog=`($CC -print-prog-name=ld) 2>&5`
- - case "$ac_prog" in
- + case $host in
- + *-*-mingw*)
- + # gcc leaves a trailing carriage return which upsets mingw
- + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
- + *)
- + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
- + esac
- + case $ac_prog in
- # Accept absolute paths.
- -changequote(,)dnl
- - [\\/]* | [A-Za-z]:[\\/]*)
- - re_direlt='/[^/][^/]*/\.\./'
- -changequote([,])dnl
- + [[\\/]]* | [[A-Za-z]]:[[\\/]]*)
- + re_direlt='/[[^/]][[^/]]*/\.\./'
- # Canonicalize the path of ld
- ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
- while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
- @@ -277,17 +3265,17 @@
- else
- AC_MSG_CHECKING([for non-GNU ld])
- fi
- -AC_CACHE_VAL(ac_cv_path_LD,
- +AC_CACHE_VAL(lt_cv_path_LD,
- [if test -z "$LD"; then
- - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
- + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
- for ac_dir in $PATH; do
- test -z "$ac_dir" && ac_dir=.
- if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
- - ac_cv_path_LD="$ac_dir/$ac_prog"
- + lt_cv_path_LD="$ac_dir/$ac_prog"
- # Check to see if the program is GNU ld. I'd rather use --version,
- # but apparently some GNU ld's only accept -v.
- # Break only if it was the GNU/non-GNU ld that we prefer.
- - if "$ac_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
- + if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
- test "$with_gnu_ld" != no && break
- else
- test "$with_gnu_ld" != yes && break
- @@ -296,9 +3284,9 @@
- done
- IFS="$ac_save_ifs"
- else
- - ac_cv_path_LD="$LD" # Let the user override the test with a path.
- + lt_cv_path_LD="$LD" # Let the user override the test with a path.
- fi])
- -LD="$ac_cv_path_LD"
- +LD="$lt_cv_path_LD"
- if test -n "$LD"; then
- AC_MSG_RESULT($LD)
- else
- @@ -308,56 +3296,255 @@
- AC_PROG_LD_GNU
- ])
-
- -AC_DEFUN(AC_PROG_LD_GNU,
- -[AC_CACHE_CHECK([if the linker ($LD) is GNU ld], ac_cv_prog_gnu_ld,
- +# AC_PROG_LD_GNU -
- +AC_DEFUN([AC_PROG_LD_GNU],
- +[AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld,
- [# I'd rather use --version here, but apparently some GNU ld's only accept -v.
- if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
- - ac_cv_prog_gnu_ld=yes
- + lt_cv_prog_gnu_ld=yes
- else
- - ac_cv_prog_gnu_ld=no
- + lt_cv_prog_gnu_ld=no
- fi])
- +with_gnu_ld=$lt_cv_prog_gnu_ld
- +])
- +
- +# AC_PROG_LD_RELOAD_FLAG - find reload flag for linker
- +# -- PORTME Some linkers may need a different reload flag.
- +AC_DEFUN([AC_PROG_LD_RELOAD_FLAG],
- +[AC_CACHE_CHECK([for $LD option to reload object files], lt_cv_ld_reload_flag,
- +[lt_cv_ld_reload_flag='-r'])
- +reload_flag=$lt_cv_ld_reload_flag
- +test -n "$reload_flag" && reload_flag=" $reload_flag"
- +])
- +
- +# AC_DEPLIBS_CHECK_METHOD - how to check for library dependencies
- +# -- PORTME fill in with the dynamic library characteristics
- +AC_DEFUN([AC_DEPLIBS_CHECK_METHOD],
- +[AC_CACHE_CHECK([how to recognise dependent libraries],
- +lt_cv_deplibs_check_method,
- +[lt_cv_file_magic_cmd='$MAGIC_CMD'
- +lt_cv_file_magic_test_file=
- +lt_cv_deplibs_check_method='unknown'
- +# Need to set the preceding variable on all platforms that support
- +# interlibrary dependencies.
- +# 'none' -- dependencies not supported.
- +# `unknown' -- same as none, but documents that we really don't know.
- +# 'pass_all' -- all dependencies passed with no checks.
- +# 'test_compile' -- check by making test program.
- +# 'file_magic [[regex]]' -- check by looking for files in library path
- +# which responds to the $file_magic_cmd with a given egrep regex.
- +# If you have `file' or equivalent on your system and you're not sure
- +# whether `pass_all' will *always* work, you probably want this one.
- +
- +case $host_os in
- +aix4* | aix5*)
- + lt_cv_deplibs_check_method=pass_all
- + ;;
- +
- +beos*)
- + lt_cv_deplibs_check_method=pass_all
- + ;;
- +
- +bsdi4*)
- + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)'
- + lt_cv_file_magic_cmd='/usr/bin/file -L'
- + lt_cv_file_magic_test_file=/shlib/libc.so
- + ;;
- +
- +cygwin* | mingw* | pw32*)
- + lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
- + lt_cv_file_magic_cmd='$OBJDUMP -f'
- + ;;
- +
- +darwin* | rhapsody*)
- + lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
- + lt_cv_file_magic_cmd='/usr/bin/file -L'
- + case "$host_os" in
- + rhapsody* | darwin1.[[012]])
- + lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -1`
- + ;;
- + *) # Darwin 1.3 on
- + lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
- + ;;
- + esac
- + ;;
- +
- +freebsd*)
- + if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
- + case $host_cpu in
- + i*86 )
- + # Not sure whether the presence of OpenBSD here was a mistake.
- + # Let's accept both of them until this is cleared up.
- + lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[[3-9]]86 (compact )?demand paged shared library'
- + lt_cv_file_magic_cmd=/usr/bin/file
- + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
- + ;;
- + esac
- + else
- + lt_cv_deplibs_check_method=pass_all
- + fi
- + ;;
- +
- +gnu*)
- + lt_cv_deplibs_check_method=pass_all
- + ;;
- +
- +hpux10.20*|hpux11*)
- + lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library'
- + lt_cv_file_magic_cmd=/usr/bin/file
- + lt_cv_file_magic_test_file=/usr/lib/libc.sl
- + ;;
- +
- +irix5* | irix6* | nonstopux*)
- + case $host_os in
- + irix5* | nonstopux*)
- + # this will be overridden with pass_all, but let us keep it just in case
- + lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
- + ;;
- + *)
- + case $LD in
- + *-32|*"-32 ") libmagic=32-bit;;
- + *-n32|*"-n32 ") libmagic=N32;;
- + *-64|*"-64 ") libmagic=64-bit;;
- + *) libmagic=never-match;;
- + esac
- + # this will be overridden with pass_all, but let us keep it just in case
- + lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[[1234]] dynamic lib MIPS - version 1"
- + ;;
- + esac
- + lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
- + lt_cv_deplibs_check_method=pass_all
- + ;;
- +
- +# This must be Linux ELF.
- +linux-gnu*)
- + case $host_cpu in
- + alpha* | hppa* | i*86 | mips | mipsel | powerpc* | sparc* | ia64* | arm* | m68k)
- + lt_cv_deplibs_check_method=pass_all ;;
- + *)
- + # glibc up to 2.1.1 does not perform some relocations on ARM
- + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )' ;;
- + esac
- + lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
- + ;;
- +
- +netbsd*)
- + if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
- + lt_cv_deplibs_check_method='match_pattern /lib[[^/\.]]+\.so\.[[0-9]]+\.[[0-9]]+$'
- + else
- + lt_cv_deplibs_check_method='match_pattern /lib[[^/\.]]+\.so$'
- + fi
- + ;;
- +
- +newos6*)
- + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)'
- + lt_cv_file_magic_cmd=/usr/bin/file
- + lt_cv_file_magic_test_file=/usr/lib/libnls.so
- + ;;
- +
- +openbsd*)
- + lt_cv_file_magic_cmd=/usr/bin/file
- + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
- + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
- + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB shared object'
- + else
- + lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
- + fi
- + ;;
- +
- +osf3* | osf4* | osf5*)
- + # this will be overridden with pass_all, but let us keep it just in case
- + lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
- + lt_cv_file_magic_test_file=/shlib/libc.so
- + lt_cv_deplibs_check_method=pass_all
- + ;;
- +
- +sco3.2v5*)
- + lt_cv_deplibs_check_method=pass_all
- + ;;
- +
- +solaris*)
- + lt_cv_deplibs_check_method=pass_all
- + lt_cv_file_magic_test_file=/lib/libc.so
- + ;;
- +
- +sysv5uw[[78]]* | sysv4*uw2*)
- + lt_cv_deplibs_check_method=pass_all
- + ;;
- +
- +sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
- + case $host_vendor in
- + motorola)
- + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib) M[[0-9]][[0-9]]* Version [[0-9]]'
- + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
- + ;;
- + ncr)
- + lt_cv_deplibs_check_method=pass_all
- + ;;
- + sequent)
- + lt_cv_file_magic_cmd='/bin/file'
- + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )'
- + ;;
- + sni)
- + lt_cv_file_magic_cmd='/bin/file'
- + lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib"
- + lt_cv_file_magic_test_file=/lib/libc.so
- + ;;
- + siemens)
- + lt_cv_deplibs_check_method=pass_all
- + ;;
- + esac
- + ;;
- +esac
- +])
- +file_magic_cmd=$lt_cv_file_magic_cmd
- +deplibs_check_method=$lt_cv_deplibs_check_method
- ])
-
- +
- # AC_PROG_NM - find the path to a BSD-compatible name lister
- -AC_DEFUN(AC_PROG_NM,
- -[AC_MSG_CHECKING([for BSD-compatible nm])
- -AC_CACHE_VAL(ac_cv_path_NM,
- +AC_DEFUN([AC_PROG_NM],
- +[AC_REQUIRE([_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR])dnl
- +AC_MSG_CHECKING([for BSD-compatible nm])
- +AC_CACHE_VAL(lt_cv_path_NM,
- [if test -n "$NM"; then
- # Let the user override the test.
- - ac_cv_path_NM="$NM"
- + lt_cv_path_NM="$NM"
- else
- - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
- + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
- for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
- test -z "$ac_dir" && ac_dir=.
- - if test -f $ac_dir/nm || test -f $ac_dir/nm$ac_exeext ; then
- + tmp_nm=$ac_dir/${ac_tool_prefix}nm
- + if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
- # Check to see if the nm accepts a BSD-compat flag.
- # Adding the `sed 1q' prevents false positives on HP-UX, which says:
- # nm: unknown option "B" ignored
- - if ($ac_dir/nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
- - ac_cv_path_NM="$ac_dir/nm -B"
- + # Tru64's nm complains that /dev/null is an invalid object file
- + if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
- + lt_cv_path_NM="$tmp_nm -B"
- break
- - elif ($ac_dir/nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
- - ac_cv_path_NM="$ac_dir/nm -p"
- + elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
- + lt_cv_path_NM="$tmp_nm -p"
- break
- else
- - ac_cv_path_NM=${ac_cv_path_NM="$ac_dir/nm"} # keep the first match, but
- + lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
- continue # so that we can try to find one that supports BSD flags
- fi
- fi
- done
- IFS="$ac_save_ifs"
- - test -z "$ac_cv_path_NM" && ac_cv_path_NM=nm
- + test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
- fi])
- -NM="$ac_cv_path_NM"
- +NM="$lt_cv_path_NM"
- AC_MSG_RESULT([$NM])
- ])
-
- # AC_CHECK_LIBM - check for math library
- -AC_DEFUN(AC_CHECK_LIBM,
- +AC_DEFUN([AC_CHECK_LIBM],
- [AC_REQUIRE([AC_CANONICAL_HOST])dnl
- LIBM=
- -case "$lt_target" in
- -*-*-beos* | *-*-cygwin*)
- +case $host in
- +*-*-beos* | *-*-cygwin* | *-*-pw32*)
- # These system don't have libm
- ;;
- *-ncr-sysv4.3*)
- @@ -371,37 +3558,41 @@
- ])
-
- # AC_LIBLTDL_CONVENIENCE[(dir)] - sets LIBLTDL to the link flags for
- -# the libltdl convenience library and INCLTDL to the include flags for
- +# the libltdl convenience library and LTDLINCL to the include flags for
- # the libltdl header and adds --enable-ltdl-convenience to the
- -# configure arguments. Note that LIBLTDL and INCLTDL are not
- +# configure arguments. Note that LIBLTDL and LTDLINCL are not
- # AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called. If DIR is not
- # provided, it is assumed to be `libltdl'. LIBLTDL will be prefixed
- -# with '${top_builddir}/' and INCLTDL will be prefixed with
- +# with '${top_builddir}/' and LTDLINCL will be prefixed with
- # '${top_srcdir}/' (note the single quotes!). If your package is not
- # flat and you're not using automake, define top_builddir and
- # top_srcdir appropriately in the Makefiles.
- -AC_DEFUN(AC_LIBLTDL_CONVENIENCE, [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
- - case "$enable_ltdl_convenience" in
- +AC_DEFUN([AC_LIBLTDL_CONVENIENCE],
- +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
- + case $enable_ltdl_convenience in
- no) AC_MSG_ERROR([this package needs a convenience libltdl]) ;;
- "") enable_ltdl_convenience=yes
- ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
- esac
- LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdlc.la
- - INCLTDL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
- + LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
- + # For backwards non-gettext consistent compatibility...
- + INCLTDL="$LTDLINCL"
- ])
-
- # AC_LIBLTDL_INSTALLABLE[(dir)] - sets LIBLTDL to the link flags for
- -# the libltdl installable library and INCLTDL to the include flags for
- +# the libltdl installable library and LTDLINCL to the include flags for
- # the libltdl header and adds --enable-ltdl-install to the configure
- -# arguments. Note that LIBLTDL and INCLTDL are not AC_SUBSTed, nor is
- +# arguments. Note that LIBLTDL and LTDLINCL are not AC_SUBSTed, nor is
- # AC_CONFIG_SUBDIRS called. If DIR is not provided and an installed
- # libltdl is not found, it is assumed to be `libltdl'. LIBLTDL will
- -# be prefixed with '${top_builddir}/' and INCLTDL will be prefixed
- +# be prefixed with '${top_builddir}/' and LTDLINCL will be prefixed
- # with '${top_srcdir}/' (note the single quotes!). If your package is
- # not flat and you're not using automake, define top_builddir and
- # top_srcdir appropriately in the Makefiles.
- # In the future, this macro may have to be called after AC_PROG_LIBTOOL.
- -AC_DEFUN(AC_LIBLTDL_INSTALLABLE, [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
- +AC_DEFUN([AC_LIBLTDL_INSTALLABLE],
- +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
- AC_CHECK_LIB(ltdl, main,
- [test x"$enable_ltdl_install" != xyes && enable_ltdl_install=no],
- [if test x"$enable_ltdl_install" = xno; then
- @@ -413,22 +3604,115 @@
- if test x"$enable_ltdl_install" = x"yes"; then
- ac_configure_args="$ac_configure_args --enable-ltdl-install"
- LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdl.la
- - INCLTDL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
- + LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
- else
- ac_configure_args="$ac_configure_args --enable-ltdl-install=no"
- LIBLTDL="-lltdl"
- - INCLTDL=
- + LTDLINCL=
- fi
- + # For backwards non-gettext consistent compatibility...
- + INCLTDL="$LTDLINCL"
- ])
-
- -dnl old names
- -AC_DEFUN(AM_PROG_LIBTOOL, [indir([AC_PROG_LIBTOOL])])dnl
- -AC_DEFUN(AM_ENABLE_SHARED, [indir([AC_ENABLE_SHARED], $@)])dnl
- -AC_DEFUN(AM_ENABLE_STATIC, [indir([AC_ENABLE_STATIC], $@)])dnl
- -AC_DEFUN(AM_DISABLE_SHARED, [indir([AC_DISABLE_SHARED], $@)])dnl
- -AC_DEFUN(AM_DISABLE_STATIC, [indir([AC_DISABLE_STATIC], $@)])dnl
- -AC_DEFUN(AM_PROG_LD, [indir([AC_PROG_LD])])dnl
- -AC_DEFUN(AM_PROG_NM, [indir([AC_PROG_NM])])dnl
- +# old names
- +AC_DEFUN([AM_PROG_LIBTOOL], [AC_PROG_LIBTOOL])
- +AC_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)])
- +AC_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)])
- +AC_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)])
- +AC_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)])
- +AC_DEFUN([AM_PROG_LD], [AC_PROG_LD])
- +AC_DEFUN([AM_PROG_NM], [AC_PROG_NM])
- +
- +# This is just to silence aclocal about the macro not being used
- +ifelse([AC_DISABLE_FAST_INSTALL])
- +
- +############################################################
- +# NOTE: This macro has been submitted for inclusion into #
- +# GNU Autoconf as AC_PROG_SED. When it is available in #
- +# a released version of Autoconf we should remove this #
- +# macro and use it instead. #
- +############################################################
- +# LT_AC_PROG_SED
- +# --------------
- +# Check for a fully-functional sed program, that truncates
- +# as few characters as possible. Prefer GNU sed if found.
- +AC_DEFUN([LT_AC_PROG_SED],
- +[AC_MSG_CHECKING([for a sed that does not truncate output])
- +AC_CACHE_VAL(lt_cv_path_SED,
- +[# Loop through the user's path and test for sed and gsed.
- +# Then use that list of sed's as ones to test for truncation.
- +as_executable_p="test -f"
- +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
- +for as_dir in $PATH
- +do
- + IFS=$as_save_IFS
- + test -z "$as_dir" && as_dir=.
- + for ac_prog in sed gsed; do
- + for ac_exec_ext in '' $ac_executable_extensions; do
- + if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
- + _sed_list="$_sed_list $as_dir/$ac_prog$ac_exec_ext"
- + fi
- + done
- + done
- +done
-
- -dnl This is just to silence aclocal about the macro not being used
- -ifelse([AC_DISABLE_FAST_INSTALL])dnl
- + # Create a temporary directory, and hook for its removal unless debugging.
- +$debug ||
- +{
- + trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
- + trap '{ (exit 1); exit 1; }' 1 2 13 15
- +}
- +
- +# Create a (secure) tmp directory for tmp files.
- +: ${TMPDIR=/tmp}
- +{
- + tmp=`(umask 077 && mktemp -d -q "$TMPDIR/sedXXXXXX") 2>/dev/null` &&
- + test -n "$tmp" && test -d "$tmp"
- +} ||
- +{
- + tmp=$TMPDIR/sed$$-$RANDOM
- + (umask 077 && mkdir $tmp)
- +} ||
- +{
- + echo "$me: cannot create a temporary directory in $TMPDIR" >&2
- + { (exit 1); exit 1; }
- +}
- + _max=0
- + _count=0
- + # Add /usr/xpg4/bin/sed as it is typically found on Solaris
- + # along with /bin/sed that truncates output.
- + for _sed in $_sed_list /usr/xpg4/bin/sed; do
- + test ! -f ${_sed} && break
- + cat /dev/null > "$tmp/sed.in"
- + _count=0
- + echo ${ECHO_N-$ac_n} "0123456789${ECHO_C-$ac_c}" >"$tmp/sed.in"
- + # Check for GNU sed and select it if it is found.
- + if "${_sed}" --version 2>&1 < /dev/null | egrep '(GNU)' > /dev/null; then
- + lt_cv_path_SED=${_sed}
- + break
- + fi
- + while true; do
- + cat "$tmp/sed.in" "$tmp/sed.in" >"$tmp/sed.tmp"
- + mv "$tmp/sed.tmp" "$tmp/sed.in"
- + cp "$tmp/sed.in" "$tmp/sed.nl"
- + echo >>"$tmp/sed.nl"
- + ${_sed} -e 's/a$//' < "$tmp/sed.nl" >"$tmp/sed.out" || break
- + cmp -s "$tmp/sed.out" "$tmp/sed.nl" || break
- + # 40000 chars as input seems more than enough
- + test $_count -gt 10 && break
- + _count=`expr $_count + 1`
- + if test $_count -gt $_max; then
- + _max=$_count
- + lt_cv_path_SED=$_sed
- + fi
- + done
- + done
- + rm -rf "$tmp"
- +])
- +if test "X$SED" != "X"; then
- + lt_cv_path_SED=$SED
- +else
- + SED=$lt_cv_path_SED
- +fi
- +AC_MSG_RESULT([$SED])
- +])
- --- recode-3.6.orig/i18n/el.po
- +++ recode-3.6/i18n/el.po
- @@ -70,9 +70,9 @@
- "along with this program; if not, write to the Free Software Foundation,\n"
- "Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n"
- msgstr ""
- -"Áõôü ôï ðñüãñáììá åßíáé åëåýèåñï ëïãéóìéêüÒ ìðïñåßôå íá ôï áíáäéáíåßìåôå\n"
- +"Áõôü ôï ðñüãñáììá åßíáé åëåýèåñï ëïãéóìéêü ìðïñåßôå íá ôï áíáäéáíåßìåôå\n"
- "êáé/Þ íá ôï ôñïðïðïéÞóåôå óýìöùíá ìå ôïõò êáíüíåò ôçò ÃåíéêÞò Äçìüóéáò\n"
- -"¶äåéáò GNU üðùò åêäßäåôáé áðü ôï Free Software FoundationÒ åßôå ôçí\n"
- +"¶äåéáò GNU üðùò åêäßäåôáé áðü ôï Free Software Foundation åßôå ôçí\n"
- "Ýêäïóç 2 åßôå (êáôÜ ôçí ðñïôßìçóÞ óáò) ïðïéáóäÞðïôå ìåôáãåíÝóôåñçò Ýêäïóçò.\n"
- "\n"
- "Áõôü ôï ðñüãñáììá äéáíÝìåôáé ìå ôçí åëðßäá üôé èá åßíáé ÷ñÞóéìï,\n"
- @@ -81,7 +81,7 @@
- "Áíáöåñèåßôå óôï GNU General Public License ãéá ðåñéóóüôåñåò ëåðôïìÝñåéåò.\n"
- "\n"
- "Èá ðñÝðåé íá Ý÷åôáé ëÜâåé Ýíá áíôßãñáöï ôçò ÃåíéêÞò Äçìüóéáò ¶äåéáò GNU\n"
- -"ìáæß ìå áõôü ôï ðñüãñáììáÒ åÜí ü÷é, ãñÜøôå óôï Free Software Foundation,\n"
- +"ìáæß ìå áõôü ôï ðñüãñáììá åÜí ü÷é, ãñÜøôå óôï Free Software Foundation,\n"
- "Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n"
-
- # src/main.c:479
- @@ -92,21 +92,14 @@
-
- # src/main.c:483
- #: src/main.c:237
- -msgid ""
- -"Free `recode' converts files between various character sets and surfaces.\n"
- -msgstr ""
- -"Ôï åëåýèåñï `recode' ìåôáôñÝðåé áñ÷åßá ìåôáîý ðïéêßëùí óõíüëùí ÷áñáêôÞñùí "
- -"êáé åðéöáíåéþí.\n"
- +msgid "Free `recode' converts files between various character sets and surfaces.\n"
- +msgstr "Ôï åëåýèåñï `recode' ìåôáôñÝðåé áñ÷åßá ìåôáîý ðïéêßëùí óõíüëùí ÷áñáêôÞñùí êáé åðéöáíåéþí.\n"
-
- # src/main.c:486
- #: src/main.c:241
- #, c-format
- -msgid ""
- -"\n"
- -"Usage: %s [OPTION]... [ [CHARSET] | REQUEST [FILE]... ]\n"
- -msgstr ""
- -"\n"
- -"×ñÞóç: %s [ÅÐÉËÏÃÇ]... [ [ÓÕÍÏËÏ×ÁÑÁÊÔ¹ÑÙÍ] | ÁÉÔÇÓÇ [ÁÑ×ÅÉÏ]...\n"
- +msgid "\nUsage: %s [OPTION]... [ [CHARSET] | REQUEST [FILE]... ]\n"
- +msgstr "\n×ñÞóç: %s [ÅÐÉËÏÃÇ]... [ [ÓÕÍÏËÏ×ÁÑÁÊÔ¹ÑÙÍ] | ÁÉÔÇÓÇ [ÁÑ×ÅÉÏ]...\n"
-
- # src/main.c:489
- #: src/main.c:244
- @@ -127,8 +120,7 @@
- "\n"
- "Listings:\n"
- " -l, --list[=FORMAT] list one or all known charsets and aliases\n"
- -" -k, --known=PAIRS restrict charsets according to known PAIRS "
- -"list\n"
- +" -k, --known=PAIRS restrict charsets according to known PAIRS list\n"
- " -h, --header[=[LN/]NAME] write table NAME on stdout using LN, then exit\n"
- " -F, --freeze-tables write out a C module holding all tables\n"
- " -T, --find-subsets report all charsets being subset of others\n"
- @@ -140,8 +132,7 @@
- "Åìöáíßóåéò:\n"
- " -l, --list[=ÌÏÑÖÇ] åìöÜíéóç Ýíá Þ üëá ôá ãíùóôÜ óýíïëá ÷áñáêôÞñùí\n"
- " -k, --known=ÆÅÕÃÇ ðåñéïñéóìüò ôùí óõíüëùí ÷áñáêôÞñùí óýìöùíá ìå\n"
- -" ôç ëßóôá áðü ãíùóôÜ ÆÅÕÃÇ. -h, "
- -"--header[=[LN/]ÏÍÏÌÁ] åìöÜíéóç ôïõ ðßíáêá ÏÍÏÌÁ óôçí êáíïíéêÞ Ýîïäï\n"
- +" ôç ëßóôá áðü ãíùóôÜ ÆÅÕÃÇ. -h, --header[=[LN/]ÏÍÏÌÁ] åìöÜíéóç ôïõ ðßíáêá ÏÍÏÌÁ óôçí êáíïíéêÞ Ýîïäï\n"
- " ìå ÷ñÞóç ôïõ LN, ìåôÜ Ýîïäïò\n"
- " -F, --freeze-tables åìöÜíéóç óå êþäéêá C ìå üëïõò ôïõò ðßíáêåò\n"
- " -T, --find-subsets áíáöïñÜ üëùí ôùí óõíüëùí ÷áñáêôÞñùí ðïõ åßíáé\n"
- @@ -166,10 +157,8 @@
- "ÊáôáóôÜóåéò ëåéôïõñãßáò:\n"
- " -v, --verbose áíáöïñÜ äéáäï÷Þò âçìÜôùí êáé ðñïüäïõ\n"
- " -q, --quiet, --silent áðüêñõøç ìçíõìÜôùí ìç-áíôéóôñåðôþí ìåôáôñïðþí\n"
- -" -f, --force åðéâïëÞ ìåôáôñïðþí áêüìá êáé áí åßíáé ìç "
- -"áíôéóôñåðôÝò\n"
- -" -t, --touch åíçìÝñùóç ôçò çìåñïìçíßáò ôùí ìåôáôñåðïìÝíùí "
- -"áñ÷åßùí\n"
- +" -f, --force åðéâïëÞ ìåôáôñïðþí áêüìá êáé áí åßíáé ìç áíôéóôñåðôÝò\n"
- +" -t, --touch åíçìÝñùóç ôçò çìåñïìçíßáò ôùí ìåôáôñåðïìÝíùí áñ÷åßùí\n"
- " ìåôÜ ôçí áíôéêáôÜóôáóç\n"
- " -i, --sequence=files ÷ñÞóç åíäéÜìåóùí áñ÷åßùí óôá äéáäï÷éêÜ ðåñÜóìáôá\n"
- " --sequence=memory ÷ñÞóç åíôáìéåõôþí ìíÞìçò óôá äéáäï÷éêÜ ðåñÜóìáôá\n"
- @@ -198,17 +187,13 @@
- msgstr ""
- "\n"
- "Ñõèìßóåéò:\n"
- -" -s, --strict ÷ñÞóç áõóôçñþí óõó÷åôßóåùí, áêüìá êáé åëåýèåñùí "
- -"÷áñáêôÞñùí\n"
- -" -d, --diacritics ìåôáôñïðÞ ìüíï äéáêñéôéêþí Þ ðáñüìïéùí ãéá "
- -"HTML/LaTeX\n"
- +" -s, --strict ÷ñÞóç áõóôçñþí óõó÷åôßóåùí, áêüìá êáé åëåýèåñùí ÷áñáêôÞñùí\n"
- +" -d, --diacritics ìåôáôñïðÞ ìüíï äéáêñéôéêþí Þ ðáñüìïéùí ãéá HTML/LaTeX\n"
- " -S, --source[=LN] ðåñéïñéóìüò ìåôáôñïðþí óå áëöáñéèìçôéêÜ êáé ó÷üëéá\n"
- " êÜôá ôï LN\n"
- -" -c, --colons ÷ñÞóç êïëþíùí áíôß äéðëþí åéóáãùãéêþí ãéá ôç "
- -"äéáßñåóç\n"
- +" -c, --colons ÷ñÞóç êïëþíùí áíôß äéðëþí åéóáãùãéêþí ãéá ôç äéáßñåóç\n"
- " -g, --graphics ðñïóÝããéóç êáíüíùí IBMPC ìå ASCII ãñáöéêÜ\n"
- -" -x, --ignore=ÐÉÍ×ÁÑ áãíüçóç ðßíáêá ÷áñáêôÞñùí (ÐÉÍ×ÁÑ) óôçí åðéëïãÞ "
- -"ìïíïðáôéïý ìåôáôñïðþí\n"
- +" -x, --ignore=ÐÉÍ×ÁÑ áãíüçóç ðßíáêá ÷áñáêôÞñùí (ÐÉÍ×ÁÑ) óôçí åðéëïãÞ ìïíïðáôéïý ìåôáôñïðþí\n"
-
- # src/main.c:294
- #: src/main.c:296
- @@ -226,8 +211,7 @@
- #: src/main.c:302
- #, fuzzy
- msgid ""
- -"Unless DEFAULT_CHARSET is set in environment, CHARSET defaults to the "
- -"locale\n"
- +"Unless DEFAULT_CHARSET is set in environment, CHARSET defaults to the locale\n"
- "dependent encoding, determined by LC_ALL, LC_CTYPE, LANG.\n"
- msgstr ""
- "Åêôüò êáé áí Ý÷åé ïñéóôåß ç ìåôáâëçôÞ ðåñéâÜëëïíôïò DEFAULT_CHARSET,\n"
- @@ -237,8 +221,7 @@
- #: src/main.c:307
- msgid ""
- "With -k, possible before charsets are listed for the given after CHARSET,\n"
- -"both being tabular charsets, with PAIRS of the form "
- -"`BEF1:AFT1,BEF2:AFT2,...'\n"
- +"both being tabular charsets, with PAIRS of the form `BEF1:AFT1,BEF2:AFT2,...'\n"
- "and BEFs and AFTs being codes are given as decimal numbers.\n"
- msgstr ""
- "Ìå -k, ðéèáíïß ðñïçãïýìåíïé ðßíáêåò ÷áñáêôÞñùí åìöáíßæïíôáé ãéá ôï äïèÝí\n"
- @@ -248,36 +231,26 @@
-
- # src/main.c:318
- #: src/main.c:312
- -msgid ""
- -"LN is some language, it may be `c', `perl' or `po'; `c' is the default.\n"
- -msgstr ""
- -"LN åßíáé ìéá ãëþóóá, ìðïñåß íá åßíáé `c', `perl' Þ `po'Ò åî'ïñéóìïý åßíáé "
- -"`c'.\n"
- +msgid "LN is some language, it may be `c', `perl' or `po'; `c' is the default.\n"
- +msgstr "LN åßíáé ìéá ãëþóóá, ìðïñåß íá åßíáé `c', `perl' Þ `po' åî'ïñéóìïý åßíáé `c'.\n"
-
- # src/main.c:321
- #: src/main.c:315
- msgid ""
- "\n"
- -"REQUEST is SUBREQUEST[,SUBREQUEST]...; SUBREQUEST is "
- -"ENCODING[..ENCODING]...\n"
- -"ENCODING is [CHARSET][/[SURFACE]]...; REQUEST often looks like "
- -"BEFORE..AFTER,\n"
- +"REQUEST is SUBREQUEST[,SUBREQUEST]...; SUBREQUEST is ENCODING[..ENCODING]...\n"
- +"ENCODING is [CHARSET][/[SURFACE]]...; REQUEST often looks like BEFORE..AFTER,\n"
- "with BEFORE and AFTER being charsets. An omitted CHARSET implies the usual\n"
- -"charset; an omitted [/SURFACE]... means the implied surfaces for CHARSET; a "
- -"/\n"
- +"charset; an omitted [/SURFACE]... means the implied surfaces for CHARSET; a /\n"
- "with an empty surface name means no surfaces at all. See the manual.\n"
- msgstr ""
- "\n"
- -"ÁÉÔÇÓÇ åßíáé ÕÐÏÁÉÔÇÓÇ[,ÕÐÏÁÉÔÇÓÇ]...Ò ÕÐÏÁÉÔÇÓÇ åßíáé "
- -"ÊÙÄÉÊÏÐÏÉÇÓÇ[...ÊÙÄÉÊÏÐÏÉÇÓÇ]...\n"
- -"ÊÙÄÉÊÏÐÏÉÇÓÇ åßíáé [ÐÉÍ×ÁÑ][/[ÅÐÉÖÁÍÅÉÁ]]...Ò ÁÉÔÇÓÇ óõíÞèùò ìïéÜæåé ìå "
- -"ÐÑÏÇÃÏÕÌÅÍÏ...ÅÐÏÌÅÍÏ,\n"
- +"ÁÉÔÇÓÇ åßíáé ÕÐÏÁÉÔÇÓÇ[,ÕÐÏÁÉÔÇÓÇ]... ÕÐÏÁÉÔÇÓÇ åßíáé ÊÙÄÉÊÏÐÏÉÇÓÇ[...ÊÙÄÉÊÏÐÏÉÇÓÇ]...\n"
- +"ÊÙÄÉÊÏÐÏÉÇÓÇ åßíáé [ÐÉÍ×ÁÑ][/[ÅÐÉÖÁÍÅÉÁ]]... ÁÉÔÇÓÇ óõíÞèùò ìïéÜæåé ìå ÐÑÏÇÃÏÕÌÅÍÏ...ÅÐÏÌÅÍÏ,\n"
- "ìå ÐÑÏÇÃÏÕÌÅÍÏ êáé ÅÐÏÌÅÍÏ íá åßíáé ðßíáêåò ÷áñáêôÞñùí. ¸íáò ÐÉÍ×ÁÑ ðïõ\n"
- -"Ý÷åé ðáñáëçöèåß, õðïäçëþíåé ôï óõíÞèåò ðßíáêá ÷áñáêôÞñùíÒ Ýíá "
- -"[/ÅÐÉÖÁÍÅÉÁ]...\n"
- -"ðïõ Ý÷åé ðáñáëçöèåß, óçìáßíåé ôéò õðïäçëùìÝíåò åðéöÜíåéåò ôïõ ÐÉÍ×ÁÑÒ Ýíá /\n"
- -"÷ùñßò üíïìá åðéöÜíåéáò óçìáßíåé ÷ùñßò êáèüëïõ åðéöÜíåéåò. ÊïéôÜîôå ôï "
- -"åã÷åéñßäéï.\n"
- +"Ý÷åé ðáñáëçöèåß, õðïäçëþíåé ôï óõíÞèåò ðßíáêá ÷áñáêôÞñùí Ýíá [/ÅÐÉÖÁÍÅÉÁ]...\n"
- +"ðïõ Ý÷åé ðáñáëçöèåß, óçìáßíåé ôéò õðïäçëùìÝíåò åðéöÜíåéåò ôïõ ÐÉÍ×ÁÑ Ýíá /\n"
- +"÷ùñßò üíïìá åðéöÜíåéáò óçìáßíåé ÷ùñßò êáèüëïõ åðéöÜíåéåò. ÊïéôÜîôå ôï åã÷åéñßäéï.\n"
-
- # src/main.c:556
- #: src/main.c:323
- @@ -288,20 +261,15 @@
- "FILE is specified, then act as a filter and recode stdin to stdout.\n"
- msgstr ""
- "\n"
- -"Áí êáíÝíá áðü ôá -i êáé -p äå äßäïíôáé, èåþñçóå -p áí äåí õðÜñ÷åé ÁÑ×ÅÉÏ, "
- -"áëëéþò -i.\n"
- +"Áí êáíÝíá áðü ôá -i êáé -p äå äßäïíôáé, èåþñçóå -p áí äåí õðÜñ÷åé ÁÑ×ÅÉÏ, áëëéþò -i.\n"
- "ÊÜèå ÁÑ×ÅÉÏ ìåôáôñÝðåôáé ðÜíù óôïí åáõôü ôïõ, êáôáóôñÝöïíôáò ôï ðñùôüôõðï.\n"
- "Áí êáíÝíá ÁÑ×ÅÉÏ äåí Ý÷åé ïñéóôåß, ôüôå öÝñóïõ óáí ößëôñï êáé ìåôÝôñåøå\n"
- "ôçí êáíïíéêÞ åßóïäï óôçí êáíïíéêÞ Ýîïäï.\n"
-
- # src/main.c:562
- #: src/main.c:329
- -msgid ""
- -"\n"
- -"Report bugs to <recode-bugs@iro.umontreal.ca>.\n"
- -msgstr ""
- -"\n"
- -"ÁíáöÝñáôå óöÜëìáôá óôï <recode-bugs@iro.umontreal.ca>.\n"
- +msgid "\nReport bugs to <recode-bugs@iro.umontreal.ca>.\n"
- +msgstr "\nÁíáöÝñáôå óöÜëìáôá óôï <recode-bugs@iro.umontreal.ca>.\n"
-
- #: src/main.c:430
- #, c-format
- @@ -338,18 +306,12 @@
- #: src/main.c:621
- #, fuzzy
- msgid "Written by Franc,ois Pinard <pinard@iro.umontreal.ca>.\n"
- -msgstr ""
- -"\n"
- -"ÃñáììÝíï áðü ôïí Franc,ois Pinard <pinard@iro.umontreal.ca>.\n"
- +msgstr "\nÃñáììÝíï áðü ôïí Franc,ois Pinard <pinard@iro.umontreal.ca>.\n"
-
- # src/main.c:622
- #: src/main.c:624
- -msgid ""
- -"\n"
- -"Copyright (C) 1990, 92, 93, 94, 96, 97, 99 Free Software Foundation, Inc.\n"
- -msgstr ""
- -"\n"
- -"Copyright (C) 1990, 92, 93, 94, 96, 97, 99 Free Software Foundation, Inc.\n"
- +msgid "\nCopyright (C) 1990, 92, 93, 94, 96, 97, 99 Free Software Foundation, Inc.\n"
- +msgstr "\nCopyright (C) 1990, 92, 93, 94, 96, 97, 99 Free Software Foundation, Inc.\n"
-
- # src/main.c:850
- #: src/main.c:628
- @@ -357,9 +319,8 @@
- "This is free software; see the source for copying conditions. There is NO\n"
- "warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n"
- msgstr ""
- -"Áõôü åßíáé åëåýèåñï ëïãéóìéêüÒ äåßôå ôï ðçãáßï êþäéêá ãéá ôïõò êáíüíåò "
- -"áíôéãñáöÞò.\n"
- -"ÄÅÍ õðÜñ÷åé åããýçóçÒ ïýôå áêüìá ãéá ×ÑÇÓÉÌÏÔÇÔÁ Þ ÊÁÔÁËËÇËÏÔÇÔÁ ÃÉÁ ÅÍÁ\n"
- +"Áõôü åßíáé åëåýèåñï ëïãéóìéêü äåßôå ôï ðçãáßï êþäéêá ãéá ôïõò êáíüíåò áíôéãñáöÞò.\n"
- +"ÄÅÍ õðÜñ÷åé åããýçóç ïýôå áêüìá ãéá ×ÑÇÓÉÌÏÔÇÔÁ Þ ÊÁÔÁËËÇËÏÔÇÔÁ ÃÉÁ ÅÍÁ\n"
- "ÓÕÃÊÅÊÑÉÌÅÍÏ ÓÊÏÐÏ.\n"
-
- #: src/main.c:669
- @@ -426,9 +387,7 @@
- #: src/names.c:831
- #, c-format
- msgid "Cannot list `%s', no names available for this charset"
- -msgstr ""
- -"Áäõíáìßá åìöÜíéóçò ôïõ `%s', äåí õðÜñ÷ïõí ïíüìáôá äéáèÝóéìá ãéá áõôüí ôïí "
- -"ðßíáêá ÷áñáêôÞñùí"
- +msgstr "Áäõíáìßá åìöÜíéóçò ôïõ `%s', äåí õðÜñ÷ïõí ïíüìáôá äéáèÝóéìá ãéá áõôüí ôïí ðßíáêá ÷áñáêôÞñùí"
-
- # src/names.c:974 src/names.c:1020
- #. code counter
- @@ -450,15 +409,13 @@
- #: src/outer.c:125
- #, c-format
- msgid "Resurfacer set more than once for `%s'"
- -msgstr ""
- -"Ï åðáíáôïðïèåôçôÞò åðéöÜíåéáò Ý÷åé ôåèåß ðåñéóóüôåñï áðü ìéá öïñÜ ãéá ôï `%s'"
- +msgstr "Ï åðáíáôïðïèåôçôÞò åðéöÜíåéáò Ý÷åé ôåèåß ðåñéóóüôåñï áðü ìéá öïñÜ ãéá ôï `%s'"
-
- # src/outer.c:102
- #: src/outer.c:133
- #, c-format
- msgid "Unsurfacer set more than once for `%s'"
- -msgstr ""
- -"Ï áíôéôïðïèåôçôÞò åðéöÜíåéáò Ý÷åé ôåèåß ðåñéóóüôåñï áðü ìéá öïñÜ ãéá ôï `%s'"
- +msgstr "Ï áíôéôïðïèåôçôÞò åðéöÜíåéáò Ý÷åé ôåèåß ðåñéóóüôåñï áðü ìéá öïñÜ ãéá ôï `%s'"
-
- # src/recode.c:117 src/recode.c:129
- #: src/recode.c:115 src/recode.c:127
- @@ -467,13 +424,13 @@
-
- # src/recode.c:157
- #: src/recode.c:155
- -#, c-format, ycp-format
- +#, c-format
- msgid "Codes %3d and %3d both recode to %3d"
- msgstr "Êáé ïé äýï êùäéêïß %3d êáé %3d ìåôáôñÝðïíôáé óå %3d"
-
- # src/recode.c:171
- #: src/recode.c:169
- -#, c-format, ycp-format
- +#, c-format
- msgid "No character recodes to %3d"
- msgstr "ÊáíÝíáò ÷áñáêôÞñáò äåí ìåôáôñÝðåôáé óå %3d"
-
- @@ -615,43 +572,39 @@
-
- # src/debug.c:287
- #: src/testdump.c:298
- -msgid ""
- -"UCS2 Mne Description\n"
- -"\n"
- -msgstr ""
- -"UCS2 Mne ÐåñéãñáöÞ\n"
- -"\n"
- +msgid "UCS2 Mne Description\n\n"
- +msgstr "UCS2 Mne ÐåñéãñáöÞ\n\n"
-
- -# src/main.c:308
- +#~ # src/main.c:308
- #~ msgid "CHARSET has no default, define DEFAULT_CHARSET in the environment.\n"
- #~ msgstr ""
- #~ "O ÐÉÍ×ÁÑ (ðßíáêáò ÷áñáêôÞñùí Þ CHARSET) äåí Ý÷åé åî' ïñéóìïý ôéìÞ,\n"
- #~ "ïñßóôå ôç ìåôáâëçôÞ ðåñéâÜëëïíôïò DEFAULT_CHARSET.\n"
-
- -# src/main.c:659
- +#~ # src/main.c:659
- #~ msgid "Ambiguous sequence `%s'"
- #~ msgstr "ÁóáöÞò óõìâïëïóåéñÜ `%s'"
-
- -# src/main.c:663
- +#~ # src/main.c:663
- #~ msgid "Unknown sequence `%s'"
- #~ msgstr "¶ãíùóôç óõìâïëïóåéñÜ `%s'"
-
- -# src/main.c:693 src/main.c:747
- +#~ # src/main.c:693 src/main.c:747
- #~ msgid "Ambiguous language `%s'"
- #~ msgstr "ÁóáöÞò ãëþóóá `%s'"
-
- -# src/main.c:697 src/main.c:751
- +#~ # src/main.c:697 src/main.c:751
- #~ msgid "Unknown language `%s'"
- #~ msgstr "¶ãíùóôç ãëþóóá `%s'"
-
- -# src/main.c:785
- +#~ # src/main.c:785
- #~ msgid "Ambiguous format `%s'"
- #~ msgstr "ÁóáöÞò ìïñöÞ `%s'"
-
- -# src/main.c:789
- +#~ # src/main.c:789
- #~ msgid "Unknown format `%s'"
- #~ msgstr "¶ãíùóôç ìïñöÞ `%s'"
-
- -# src/main.c:1005
- +#~ # src/main.c:1005
- #~ msgid "Erroneous request `%s'"
- #~ msgstr "ÅóöáëìÝíç áßôçóç `%s'"
- --- recode-3.6.orig/i18n/id.po
- +++ recode-3.6/i18n/id.po
- @@ -0,0 +1,511 @@
- +# recode 3.6 (Indonesian)
- +# Copyright (C) 2001 Free Software Foundation, Inc.
- +# Tedi Heriyanto <tedi_h@gmx.net>, 2002
- +#
- +msgid ""
- +msgstr ""
- +"Project-Id-Version: recode 3.6\n"
- +"POT-Creation-Date: 2001-01-02 22:35+0100\n"
- +"PO-Revision-Date: 2002-10-08 14:29GMT+0700\n"
- +"Last-Translator: Tedi Heriyanto <tedi_h@gmx.net>\n"
- +"Language-Team: Indonesian <translation-team-id@lists.sourceforge.net>\n"
- +"MIME-Version: 1.0\n"
- +"Content-Type: text/plain; charset=UTF-8\n"
- +"Content-Transfer-Encoding: 8bit\n"
- +"X-Generator: KBabel 0.9.5\n"
- +
- +#: src/main.c:142
- +msgid "No error"
- +msgstr "Tidak ada kesalahan"
- +
- +#: src/main.c:145
- +msgid "Non canonical input"
- +msgstr "Input non kanonikal"
- +
- +#: src/main.c:148
- +msgid "Ambiguous output"
- +msgstr "Output ambigu"
- +
- +#: src/main.c:151
- +msgid "Untranslatable input"
- +msgstr "Input tak dapat diterjemahkan"
- +
- +#: src/main.c:154
- +msgid "Invalid input"
- +msgstr "Input tidak valid"
- +
- +#: src/main.c:157
- +msgid "System detected problem"
- +msgstr "Sistem mendeteksi masalah"
- +
- +#: src/main.c:160
- +msgid "Misuse of recoding library"
- +msgstr "Kesalahan penggunaan library recoding"
- +
- +#: src/main.c:163
- +msgid "Internal recoding bug"
- +msgstr "Bug recoding internal"
- +
- +#: src/main.c:208
- +msgid ""
- +"This program is free software; you can redistribute it and/or modify\n"
- +"it under the terms of the GNU General Public License as published by\n"
- +"the Free Software Foundation; either version 2, or (at your option)\n"
- +"any later version.\n"
- +"\n"
- +"This program is distributed in the hope that it will be useful,\n"
- +"but WITHOUT ANY WARRANTY; without even the implied warranty of\n"
- +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n"
- +"GNU General Public License for more details.\n"
- +"\n"
- +"You should have received a copy of the GNU General Public License\n"
- +"along with this program; if not, write to the Free Software Foundation,\n"
- +"Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n"
- +msgstr ""
- +"This program is free software; you can redistribute it and/or modify\n"
- +"it under the terms of the GNU General Public License as published by\n"
- +"the Free Software Foundation; either version 2, or (at your option)\n"
- +"any later version.\n"
- +"\n"
- +"This program is distributed in the hope that it will be useful,\n"
- +"but WITHOUT ANY WARRANTY; without even the implied warranty of\n"
- +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n"
- +"GNU General Public License for more details.\n"
- +"\n"
- +"You should have received a copy of the GNU General Public License\n"
- +"along with this program; if not, write to the Free Software Foundation,\n"
- +"Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n"
- +
- +#: src/main.c:233
- +#, c-format
- +msgid "Try `%s %s' for more information.\n"
- +msgstr "Coba `%s %s' untuk informasi lengkap.\n"
- +
- +#: src/main.c:237
- +msgid "Free `recode' converts files between various character sets and surfaces.\n"
- +msgstr "Free `recode' mengkonversi file antar berbagai set karakter dan permukaan.\n"
- +
- +#: src/main.c:241
- +#, c-format
- +msgid ""
- +"\n"
- +"Usage: %s [OPTION]... [ [CHARSET] | REQUEST [FILE]... ]\n"
- +msgstr ""
- +"\n"
- +"Usage: %s [OPTION]... [ [CHARSET] | REQUEST [FILE]... ]\n"
- +
- +#: src/main.c:244
- +msgid ""
- +"\n"
- +"If a long option shows an argument as mandatory, then it is mandatory\n"
- +"for the equivalent short option also. Similarly for optional arguments.\n"
- +msgstr ""
- +"\n"
- +"Jika sebuah option long menunjukkan argumen sebagai mandatori, maka ia mandatori\n"
- +"juga option short yang ekivalen. Demikian pula untuk argumen optional.\n"
- +
- +#: src/main.c:250
- +msgid ""
- +"\n"
- +"Listings:\n"
- +" -l, --list[=FORMAT] list one or all known charsets and aliases\n"
- +" -k, --known=PAIRS restrict charsets according to known PAIRS list\n"
- +" -h, --header[=[LN/]NAME] write table NAME on stdout using LN, then exit\n"
- +" -F, --freeze-tables write out a C module holding all tables\n"
- +" -T, --find-subsets report all charsets being subset of others\n"
- +" -C, --copyright display Copyright and copying conditions\n"
- +" --help display this help and exit\n"
- +" --version output version information and exit\n"
- +msgstr ""
- +"\n"
- +"Listings:\n"
- +" -l, --list[=FORMAT] tampilkan satu atau semua charset dan alias yang dikenal\n"
- +" -k, --known=PAIRS batasi charset sesuai daftar PAIRS yang dikenal\n"
- +" -h, --header[=[LN/]NAME] tulis tabel NAME ke stdout menggunakan LN, kemudian keluar\n"
- +" -F, --freeze-tables tulis sebuah modul C yang menyimpan semua tabel\n"
- +" -T, --find-subsets laporkan semua charset yang menjadi subset yang lain\n"
- +" -C, --copyright tampilkan kondisi Copyright dan copying\n"
- +" --help tampilkan bantuan ini dan keluar\n"
- +" --version tampilkan informasi versi dan keluar\n"
- +
- +#: src/main.c:263
- +msgid ""
- +"\n"
- +"Operation modes:\n"
- +" -v, --verbose explain sequence of steps and report progress\n"
- +" -q, --quiet, --silent inhibit messages about irreversible recodings\n"
- +" -f, --force force recodings even when not reversible\n"
- +" -t, --touch touch the recoded files after replacement\n"
- +" -i, --sequence=files use intermediate files for sequencing passes\n"
- +" --sequence=memory use memory buffers for sequencing passes\n"
- +msgstr ""
- +"\n"
- +"Mode operasi:\n"
- +" -v, --verbose jelaskan urutan langkah dan laporkan kemajuan\n"
- +" -q, --quiet, --silent tiadakan pesan tentang recoding yang tidak dapat dikembalikan\n"
- +" -f, --force paksa recoding bahkan bila tidak dapat dikembalikan\n"
- +" -t, --touch touch file ter-recoded setelah penggantian\n"
- +" -i, --sequence=files gunakan file perantara untuk urutan pelewatan\n"
- +" --sequence=memory gunakan buffer memori untuk urutan pelewatan\n"
- +
- +#: src/main.c:275
- +msgid " -p, --sequence=pipe use pipe machinery for sequencing passes\n"
- +msgstr " -p, --sequence=pipe gunakan mesin pipa untuk urutan pelewatan\n"
- +
- +#: src/main.c:280
- +msgid " -p, --sequence=pipe same as -i (on this system)\n"
- +msgstr " -p, --sequence=pipe sama seperti -i (pada sistem ini)\n"
- +
- +#: src/main.c:285
- +msgid ""
- +"\n"
- +"Fine tuning:\n"
- +" -s, --strict use strict mappings, even loose characters\n"
- +" -d, --diacritics convert only diacritics or alike for HTML/LaTeX\n"
- +" -S, --source[=LN] limit recoding to strings and comments as for LN\n"
- +" -c, --colons use colons instead of double quotes for diaeresis\n"
- +" -g, --graphics approximate IBMPC rulers by ASCII graphics\n"
- +" -x, --ignore=CHARSET ignore CHARSET while choosing a recoding path\n"
- +msgstr ""
- +"\n"
- +"Fine tuning:\n"
- +" -s, --strict gunakan mapping yang ketat, bahkan hilangkan karakter\n"
- +" -d, --diacritics konversi hanya diacritics atau yang serupa untuk HTML/LaTeX\n"
- +" -S, --source[=LN] batasi recoding untuk string dan komentar sama seperti LN\n"
- +" -c, --colons gunakan titik koma alih-alih kuotasi ganda untuk diaeresis\n"
- +" -g, --graphics dekati penggaris IBMPC dengan grafik ASCII\n"
- +" -x, --ignore=CHARSET abatikan CHARSET saat memilih jalur recoding\n"
- +
- +#: src/main.c:296
- +msgid ""
- +"\n"
- +"Option -l with no FORMAT nor CHARSET list available charsets and surfaces.\n"
- +"FORMAT is `decimal', `octal', `hexadecimal' or `full' (or one of `dohf').\n"
- +msgstr ""
- +"\n"
- +"Option -l with no FORMAT nor CHARSET list available charsets and surfaces.\n"
- +"FORMAT adalah `decimal', `octal', `hexadecimal' atau `full' (atau satu `dohf').\n"
- +
- +#: src/main.c:302
- +msgid ""
- +"Unless DEFAULT_CHARSET is set in environment, CHARSET defaults to the locale\n"
- +"dependent encoding, determined by LC_ALL, LC_CTYPE, LANG.\n"
- +msgstr ""
- +"Kecuali DEFAULT_CHARSET diset dalam environment, CHARSET bakunya adalah lokal\n"
- +"tergantung enkoding, yang ditentukan oleh LC_ALL, LC_CTYPE, LANG.\n"
- +
- +#: src/main.c:307
- +msgid ""
- +"With -k, possible before charsets are listed for the given after CHARSET,\n"
- +"both being tabular charsets, with PAIRS of the form `BEF1:AFT1,BEF2:AFT2,...'\n"
- +"and BEFs and AFTs being codes are given as decimal numbers.\n"
- +msgstr ""
- +"Dengan -k, yang mungkin sebelum charset ditampilkan setelah CHARSET,\n"
- +"keduanya charset tabular, dengan PAIRS dalam bentuk `BEF1:AFT1,BEF2:AFT2,...'\n"
- +"dan BEF dan AFT adalah kode yang diberikan dalam bilangan desimal.\n"
- +
- +#: src/main.c:312
- +msgid "LN is some language, it may be `c', `perl' or `po'; `c' is the default.\n"
- +msgstr "LN adalah bahasa, mungkin berupa `c', `perl' atau `po'; `c' adalah bakunya.\n"
- +
- +#: src/main.c:315
- +msgid ""
- +"\n"
- +"REQUEST is SUBREQUEST[,SUBREQUEST]...; SUBREQUEST is ENCODING[..ENCODING]...\n"
- +"ENCODING is [CHARSET][/[SURFACE]]...; REQUEST often looks like BEFORE..AFTER,\n"
- +"with BEFORE and AFTER being charsets. An omitted CHARSET implies the usual\n"
- +"charset; an omitted [/SURFACE]... means the implied surfaces for CHARSET; a /\n"
- +"with an empty surface name means no surfaces at all. See the manual.\n"
- +msgstr ""
- +"\n"
- +"REQUEST is SUBREQUEST[,SUBREQUEST]...; SUBREQUEST is ENCODING[..ENCODING]...\n"
- +"ENCODING is [CHARSET][/[SURFACE]]...; REQUEST often looks like BEFORE..AFTER,\n"
- +"with BEFORE and AFTER being charsets. An omitted CHARSET implies the usual\n"
- +"charset; an omitted [/SURFACE]... means the implied surfaces for CHARSET; a /\n"
- +"with an empty surface name means no surfaces at all. See the manual.\n"
- +
- +#: src/main.c:323
- +msgid ""
- +"\n"
- +"If none of -i and -p are given, presume -p if no FILE, else -i.\n"
- +"Each FILE is recoded over itself, destroying the original. If no\n"
- +"FILE is specified, then act as a filter and recode stdin to stdout.\n"
- +msgstr ""
- +"\n"
- +"Jika tidak diberikan -i dan -p, asumsikan -p jika tidak ada FILE, sebaliknya -i.\n"
- +"Setiap FILE direcode dengan dirinya, menghancurkan aslinya. Jika tidak dispesifikasikan\n"
- +"FILE, maka berfungsi sebagai filter dan recode stdin ke stdout.\n"
- +
- +#: src/main.c:329
- +msgid ""
- +"\n"
- +"Report bugs to <recode-bugs@iro.umontreal.ca>.\n"
- +msgstr ""
- +"\n"
- +"Report bugs to <recode-bugs@iro.umontreal.ca>.\n"
- +
- +#: src/main.c:430
- +#, c-format
- +msgid "Sequence `%s' is ambiguous"
- +msgstr "Urutan `%s' ambigu"
- +
- +#: src/main.c:434
- +#, c-format
- +msgid "Sequence `%s' is unknown"
- +msgstr "Urutan `%s' tidak dikenal"
- +
- +#: src/main.c:464 src/main.c:522
- +#, c-format
- +msgid "Language `%s' is ambiguous"
- +msgstr "Bahasa `%s' ambigu"
- +
- +#. -1
- +#: src/main.c:468 src/main.c:526
- +#, c-format
- +msgid "Language `%s' is unknown"
- +msgstr "Bahasa `%s' tidak dikenal"
- +
- +#: src/main.c:560
- +#, c-format
- +msgid "Format `%s' is ambiguous"
- +msgstr "Format `%s' ambigu"
- +
- +#: src/main.c:564
- +#, c-format
- +msgid "Format `%s' is unknown"
- +msgstr "Format `%s' tidak dikenal"
- +
- +#: src/main.c:621
- +msgid "Written by Franc,ois Pinard <pinard@iro.umontreal.ca>.\n"
- +msgstr "Ditulis oleh Franc,ois Pinard <pinard@iro.umontreal.ca>.\n"
- +
- +#: src/main.c:624
- +msgid ""
- +"\n"
- +"Copyright (C) 1990, 92, 93, 94, 96, 97, 99 Free Software Foundation, Inc.\n"
- +msgstr ""
- +"\n"
- +"Copyright (C) 1990, 92, 93, 94, 96, 97, 99 Free Software Foundation, Inc.\n"
- +
- +#: src/main.c:628
- +msgid ""
- +"This is free software; see the source for copying conditions. There is NO\n"
- +"warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n"
- +msgstr ""
- +"This is free software; see the source for copying conditions. There is NO\n"
- +"warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n"
- +
- +#: src/main.c:669
- +#, c-format
- +msgid "Symbol `%s' is unknown"
- +msgstr "Simbol `%s' tidak dikenal"
- +
- +#: src/main.c:709 src/main.c:723
- +#, c-format
- +msgid "Charset `%s' is unknown or ambiguous"
- +msgstr "Charset `%s' tidak dikenal atau ambigu"
- +
- +#: src/main.c:754
- +msgid "Required argument is missing"
- +msgstr "Argumen yang dibutuhkan hilang"
- +
- +#: src/main.c:797
- +#, c-format
- +msgid "Syntax is deprecated, please prefer `%s'"
- +msgstr "Sintaks tidak digunakan lagi, silakan pilih `%s'"
- +
- +#: src/main.c:803
- +#, c-format
- +msgid "Request `%s' is erroneous"
- +msgstr "Permintaan `%s' salah"
- +
- +#: src/main.c:903
- +#, c-format
- +msgid "Recoding %s..."
- +msgstr "Merecoding %s..."
- +
- +#: src/main.c:913
- +msgid " done\n"
- +msgstr " selesai\n"
- +
- +#: src/main.c:954
- +#, c-format
- +msgid " failed: %s in step `%s..%s'\n"
- +msgstr " gagal: %s di langkah `%s..%s'\n"
- +
- +#: src/main.c:961
- +#, c-format
- +msgid "%s failed: %s in step `%s..%s'"
- +msgstr "%s gagal: %s di langkah `%s..%s'"
- +
- +#: src/main.c:984
- +#, c-format
- +msgid "%s in step `%s..%s'"
- +msgstr "%s di langkah `%s..%s'"
- +
- +#: src/names.c:335
- +#, c-format
- +msgid "Charset %s already exists and is not %s"
- +msgstr "Charset %s sudah ada dan bukan %s"
- +
- +#: src/names.c:831
- +#, c-format
- +msgid "Cannot list `%s', no names available for this charset"
- +msgstr "Tidak dapat medaftarkan `%s', tidak ada nama yang tersedia untuk charset ini"
- +
- +#. code counter
- +#. expected value for code counter
- +#. insert a while line before printing
- +#. Print the long table according to explode data.
- +#: src/names.c:984 src/names.c:1030
- +#, c-format
- +msgid "Dec Oct Hex UCS2 Mne %s\n"
- +msgstr "Dec Oct Hex UCS2 Mne %s\n"
- +
- +#: src/names.c:1049
- +#, c-format
- +msgid "Sorry, no names available for `%s'"
- +msgstr "Maaf, tidak ada tersedia untuk `%s'"
- +
- +#: src/outer.c:125
- +#, c-format
- +msgid "Resurfacer set more than once for `%s'"
- +msgstr "Resurfacer set lebih dari satu untuk `%s'"
- +
- +#: src/outer.c:133
- +#, c-format
- +msgid "Unsurfacer set more than once for `%s'"
- +msgstr "Unsurfacer set lebih dari satu untuk `%s'"
- +
- +#: src/recode.c:115 src/recode.c:127
- +msgid "Virtual memory exhausted"
- +msgstr "Memori virtual habis"
- +
- +#: src/recode.c:155
- +#, c-format, ycp-format
- +msgid "Codes %3d and %3d both recode to %3d"
- +msgstr "Kode %3d dan %3d kedua direcode ke %3d"
- +
- +#: src/recode.c:169
- +#, c-format, ycp-format
- +msgid "No character recodes to %3d"
- +msgstr "Tidak ada karakter recode ke %3d"
- +
- +#: src/recode.c:170
- +msgid "Cannot invert given one-to-one table"
- +msgstr "Tidak dapat membalik saat diberikan tabel satu-ke-satu"
- +
- +#: src/recode.c:224 src/recode.c:236
- +#, c-format
- +msgid "Following diagnostics for `%s' to `%s'"
- +msgstr "Berikut ini diagnostik untuk `%s' ke `%s'"
- +
- +#: src/recode.c:229 src/recode.c:241
- +#, c-format
- +msgid "Pair no. %d: <%3d, %3d> conflicts with <%3d, %3d>"
- +msgstr "Pasangan no %d: <%3d,%3d> konflik dengan <%3d, %3d>"
- +
- +#: src/recode.c:272
- +msgid "Cannot complete table from set of known pairs"
- +msgstr "Tidak dapat menyelesaikan tabel dari sejumlah pasangan dikenal"
- +
- +#: src/recode.c:497
- +msgid "Identity recoding, not worth a table"
- +msgstr "Recoding identitas, tidak perlu tabel"
- +
- +#: src/recode.c:504
- +msgid "Recoding is too complex for a mere table"
- +msgstr "Recoding terlalu kompleks untuk tabel"
- +
- +#. Print the header of the header file.
- +#: src/recode.c:536
- +#, c-format
- +msgid "%sConversion table generated mechanically by Free `%s' %s"
- +msgstr "%sTabel konversi dihasilkan secara mekanis dengan Free `%s' %s"
- +
- +#: src/recode.c:538
- +#, c-format
- +msgid "%sfor sequence %s.%s"
- +msgstr "%suntuk urutan %s.%s"
- +
- +#: src/recode.c:744
- +msgid "No table to print"
- +msgstr "Tidak ada tabel untuk dicetak"
- +
- +#: src/request.c:34
- +msgid "reversible"
- +msgstr "dapat dikembalikan"
- +
- +#: src/request.c:36
- +#, c-format
- +msgid "%s to %s"
- +msgstr "%s ke %s"
- +
- +#: src/request.c:37 src/request.c:39
- +msgid "byte"
- +msgstr "byte"
- +
- +#: src/request.c:38 src/request.c:40
- +msgid "ucs2"
- +msgstr "ucs2"
- +
- +#: src/request.c:38 src/request.c:40
- +msgid "variable"
- +msgstr "variabel"
- +
- +#: src/request.c:111
- +msgid "*Unachievable*"
- +msgstr "*Tidak dapat dicapai*"
- +
- +#: src/request.c:113
- +msgid "*mere copy*"
- +msgstr "*mere copy*"
- +
- +#: src/request.c:246
- +msgid "Virtual memory exhausted!"
- +msgstr "Memori virtual habis!"
- +
- +#: src/request.c:265
- +msgid "Step initialisation failed"
- +msgstr "Gagal langkah inisialisasi"
- +
- +#: src/request.c:272
- +msgid "Step initialisation failed (unprocessed options)"
- +msgstr "Gagal langkah inisialisasi (option tidak diproses)"
- +
- +#: src/request.c:568
- +#, c-format
- +msgid "Request: %s\n"
- +msgstr "Permintaan: %s\n"
- +
- +#: src/request.c:720
- +#, c-format
- +msgid "Shrunk to: %s\n"
- +msgstr "Diperkecil jadi: %s\n"
- +
- +#: src/request.c:823 src/request.c:932
- +#, c-format
- +msgid "Unrecognised surface name `%s'"
- +msgstr "Nama surface tidak dikenal `%s'"
- +
- +#: src/request.c:903
- +#, c-format
- +msgid "No way to recode from `%s' to `%s'"
- +msgstr "Tidak ada cara merecode dari `%s' ke `%s'"
- +
- +#: src/request.c:1013
- +msgid "Expecting `..' in request"
- +msgstr "Mengharapkan `..' dalam permintaan"
- +
- +#: src/task.c:826 src/task.c:1002
- +#, c-format
- +msgid "Child process wait status is 0x%0.2x"
- +msgstr "Status tunggu proses anak adalah 0x%0.2x"
- +
- +#: src/testdump.c:298
- +msgid ""
- +"UCS2 Mne Description\n"
- +"\n"
- +msgstr ""
- +"UCS2 Mne Description\n"
- +"\n"
- --- recode-3.6.orig/i18n/nl.po
- +++ recode-3.6/i18n/nl.po
- @@ -1,50 +1,54 @@
- -# Dutch messages for GNU recode.
- -# Copyright (C) 1996 Free Software Foundation, Inc.
- -# Erick Branderhorst <branderh@debian.org>, 1996.
- +# Translation of recode-3.6 to Dutch.
- +# Copyright (C) 1996, 2004, 2005, 2006 Free Software Foundation, Inc.
- +# This file is distributed under the same license as the recode package.
- +# Erick Branderhorst <branderh@debian.org>, 1996
- +# Taco Witte <tcwitte@cs.uu.nl>, 2004, 2005.
- +# Benno Schulenberg <benno@vertaalt.nl>, 2006, 2007
- #
- msgid ""
- msgstr ""
- -"Project-Id-Version: recode 3.4.2\n"
- +"Project-Id-Version: recode 3.6\n"
- +"Report-Msgid-Bugs-To: \n"
- "POT-Creation-Date: 2001-01-02 22:35+0100\n"
- -"PO-Revision-Date: 1996-10-07 10:05 MET DST\n"
- -"Last-Translator: Erick Branderhorst <branderh@debian.org>\n"
- -"Language-Team: Dutch <nl@li.org>\n"
- +"PO-Revision-Date: 2007-06-28 19:55+0200\n"
- +"Last-Translator: Benno Schulenberg <benno@vertaalt.nl>\n"
- +"Language-Team: Dutch <vertaling@vrijschrift.org>\n"
- "MIME-Version: 1.0\n"
- -"Content-Type: text/plain; charset=ISO-8859-1\n"
- -"Content-Transfer-Encoding: 8-bit\n"
- +"Content-Type: text/plain; charset=UTF-8\n"
- +"Content-Transfer-Encoding: 8bit\n"
- +"X-Generator: KBabel 1.11\n"
-
- #: src/main.c:142
- msgid "No error"
- -msgstr ""
- +msgstr "Geen fout"
-
- #: src/main.c:145
- msgid "Non canonical input"
- -msgstr ""
- +msgstr "Niet-canonieke invoer"
-
- #: src/main.c:148
- -#, fuzzy
- msgid "Ambiguous output"
- -msgstr "Dubbelzinnig format `%s'"
- +msgstr "Niet-eenduidige uitvoer"
-
- #: src/main.c:151
- msgid "Untranslatable input"
- -msgstr ""
- +msgstr "Onvertaalbare invoer"
-
- #: src/main.c:154
- msgid "Invalid input"
- -msgstr ""
- +msgstr "Ongeldige invoer"
-
- #: src/main.c:157
- msgid "System detected problem"
- -msgstr ""
- +msgstr "Systeem heeft fout gevonden"
-
- #: src/main.c:160
- msgid "Misuse of recoding library"
- -msgstr ""
- +msgstr "Verkeerd gebruik van hercoderings-bibliotheek"
-
- #: src/main.c:163
- msgid "Internal recoding bug"
- -msgstr ""
- +msgstr "Interne fout bij hercoderen"
-
- #: src/main.c:208
- msgid ""
- @@ -62,38 +66,38 @@
- "along with this program; if not, write to the Free Software Foundation,\n"
- "Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n"
- msgstr ""
- -"Dit programma is vrije software; het mag gedistribueerd en/of\n"
- -"veranderd worden onder de voorwaarden van de GNU General Public\n"
- -"License zoals gepubliceerd door de Free Software Foundation; versie 2,\n"
- -"of (als je daar voor kiest) enig latere versie.\n"
- -"\n"
- -"Dit programma is gedistribueerd in de hoop dat het bruikbaar is, maar\n"
- -"ZONDER ENIGE GARANTIE; zelfs zonder de geompliceerde garantie van\n"
- -"MERCHANTABILITY of GESCHIKTHEID VOOR EEN SPECIFIEK GEBRUIKSDOEL. Zie\n"
- -"de GNU General Public License voor verdere details.\n"
- -"\n"
- -"Samen met dit programma heb je een copie ontvangen van de GNU General\n"
- -"Public License; zo niet, schrijf dan naar de Free Software Foundation,\n"
- -"Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n"
- +"Dit programma is vrije software; u mag het verder verspreiden en/of\n"
- +"wijzigen onder de voorwaarden van de GNU General Public License zoals\n"
- +"gepubliceerd door de Free Software Foundation, naar keuze ofwel onder\n"
- +"versie 2 ofwel onder een nieuwere versie van die licentie.\n"
- +"\n"
- +"Dit programma wordt uitgegeven in de hoop dat het nuttig is,\n"
- +"maar ZONDER ENIGE GARANTIE; zelfs zonder de impliciete garantie\n"
- +"van VERKOOPBAARHEID of GESCHIKTHEID VOOR EEN BEPAALD DOEL.\n"
- +"Zie de GNU General Public License voor meer details.\n"
- +"\n"
- +"Bij dit programma hoort u een kopie van de GNU General Public License\n"
- +"ontvangen te hebben; is dit niet het geval, schrijf dan naar\n"
- +"Free Software Foundation, Inc., 51 Franklin Street, fifth floor,\n"
- +"Boston, MA 02110-1301, USA.\n"
-
- #: src/main.c:233
- #, c-format
- msgid "Try `%s %s' for more information.\n"
- -msgstr "Probeer `%s %s' voor meer informatie.\n"
- +msgstr "Probeer '%s %s' voor meer informatie.\n"
-
- #: src/main.c:237
- -msgid ""
- -"Free `recode' converts files between various character sets and surfaces.\n"
- -msgstr ""
- +msgid "Free `recode' converts files between various character sets and surfaces.\n"
- +msgstr "'recode' converteert bestanden van en naar allerlei tekensets en oppervlakken.\n"
-
- #: src/main.c:241
- -#, fuzzy, c-format
- +#, c-format
- msgid ""
- "\n"
- "Usage: %s [OPTION]... [ [CHARSET] | REQUEST [FILE]... ]\n"
- msgstr ""
- "\n"
- -"Gebruik: %s [OPTIE]... [KARAKTERSET]\n"
- +"Gebruik: %s [OPTIE]... [ [TEKENSET] | VERZOEK [BESTAND]... ]\n"
-
- #: src/main.c:244
- msgid ""
- @@ -101,14 +105,16 @@
- "If a long option shows an argument as mandatory, then it is mandatory\n"
- "for the equivalent short option also. Similarly for optional arguments.\n"
- msgstr ""
- +"\n"
- +"Een argument dat verplicht of optioneel is voor een lange optie, is dat\n"
- +"ook voor de overeenkomstige korte optie.\n"
-
- #: src/main.c:250
- msgid ""
- "\n"
- "Listings:\n"
- " -l, --list[=FORMAT] list one or all known charsets and aliases\n"
- -" -k, --known=PAIRS restrict charsets according to known PAIRS "
- -"list\n"
- +" -k, --known=PAIRS restrict charsets according to known PAIRS list\n"
- " -h, --header[=[LN/]NAME] write table NAME on stdout using LN, then exit\n"
- " -F, --freeze-tables write out a C module holding all tables\n"
- " -T, --find-subsets report all charsets being subset of others\n"
- @@ -116,6 +122,19 @@
- " --help display this help and exit\n"
- " --version output version information and exit\n"
- msgstr ""
- +"\n"
- +"Opsommingen:\n"
- +" -l, --list[=PRESENTATIE] alle bekende tekensets en aliassen opsommen,\n"
- +" of een tekenset in tabelvorm presenteren\n"
- +" -k, --known=PAREN opsomming beperken volgens deze bekende PAREN\n"
- +" -h, --header[=[TL/]NAAM] tabel NAAM naar standaarduitvoer schrijven\n"
- +" (in taal TL) en stoppen\n"
- +" -F, --freeze-tables een C-module schrijven die alle tabellen bevat\n"
- +" -T, --find-subsets alle tekensets opsommen die deelverzameling van\n"
- +" anderen zijn\n"
- +" -C, --copyright auteursrecht en kopieervoorwaarden tonen\n"
- +" --help deze hulptekst tonen en stoppen\n"
- +" --version versie-informatie tonen en stoppen\n"
-
- #: src/main.c:263
- msgid ""
- @@ -128,20 +147,24 @@
- " -i, --sequence=files use intermediate files for sequencing passes\n"
- " --sequence=memory use memory buffers for sequencing passes\n"
- msgstr ""
- +"\n"
- +"Uitvoermodus:\n"
- +" -v, --verbose tussenstappen uitleggen en voortgang tonen\n"
- +" -q, --quiet, --silent niets zeggen over onomkeerbare hercoderingen\n"
- +" -f, --force hercodering afdwingen, ook als deze onomkeerbaar is\n"
- +" -t, --touch tijdsstempel van gehercodeerde bestanden aanpassen\n"
- +" -i, --sequence=files tijdelijke bestanden gebruiken voor tussenstappen\n"
- +" --sequence=memory geheugenbuffers gebruiken voor tussenstappen\n"
-
- #: src/main.c:275
- msgid " -p, --sequence=pipe use pipe machinery for sequencing passes\n"
- -msgstr ""
- -" -p, --sequence=pipe gebruik pipe machinery for sequencing passes "
- -"(FIXME)\n"
- +msgstr " -p, --sequence=pipe 'pipes' gebruiken voor tussenstappen\n"
-
- #: src/main.c:280
- -#, fuzzy
- msgid " -p, --sequence=pipe same as -i (on this system)\n"
- -msgstr " -p, --sequence=pipe zelfde als -o (op dit systeem)\n"
- +msgstr " -p, --sequence=pipe hetzelfde als -i (op dit systeem)\n"
-
- #: src/main.c:285
- -#, fuzzy
- msgid ""
- "\n"
- "Fine tuning:\n"
- @@ -153,21 +176,16 @@
- " -x, --ignore=CHARSET ignore CHARSET while choosing a recoding path\n"
- msgstr ""
- "\n"
- -" -c, --colons gebruik punt in plaats van dubbele kwoots \n"
- -" voor diakritische tekens\n"
- -" -d, --diacritics limiteer conversie naar diakritische tekens of "
- -"zoals \n"
- -" voor LaTeX\n"
- -" -f, --force forceer omzetting zelfs als deze niet omkeerbaar "
- -"is\n"
- -" (LET OP: in deze versie, wordt altijd -f "
- -"gebruikt)\n"
- -" -g, --graphics benadering IBMPC lijnen met ASCII grafische "
- -"tekens\n"
- -" -h, --header[=NAAM] schrijf C code met tabel NAAM naar "
- -"standaarduitvoer\n"
- -" -i, --sequence=files gebruik tussen bestanden voor achtereenvolgende \n"
- -" sessies\n"
- +"Fijnafstelling:\n"
- +" -s, --strict strikt converteren, ook als dit tekens verliest\n"
- +" -d, --diacritics alleen diakritische tekens en dergelijke converteren\n"
- +" voor HTML/LaTeX\n"
- +" -S, --source[=TL] hercoderen beperken tot commentaar en tekenreeksen\n"
- +" als in taal TL ('c', 'perl', of 'po')\n"
- +" -c, --colons voor een trema een dubbele punt in plaats van een\n"
- +" dubbel aanhalingsteken gebruiken\n"
- +" -g, --graphics IBMPC-lijntjes benaderen met ASCII-tekens\n"
- +" -x, --ignore=TEKENSET TEKENSET negeren bij keuze van hercodeertraject\n"
-
- #: src/main.c:296
- msgid ""
- @@ -175,39 +193,49 @@
- "Option -l with no FORMAT nor CHARSET list available charsets and surfaces.\n"
- "FORMAT is `decimal', `octal', `hexadecimal' or `full' (or one of `dohf').\n"
- msgstr ""
- +"\n"
- +"Optie -l zonder PRESENTATIE of TEKENSET somt de beschikbare tekensets en\n"
- +"oppervlakken op. PRESENTATIE is 'decimal', 'octal', 'hexadecimal' of\n"
- +"'full' (volledig), die afgekort mogen worden tot 'd', 'o', 'h' en 'f'.\n"
-
- #: src/main.c:302
- msgid ""
- -"Unless DEFAULT_CHARSET is set in environment, CHARSET defaults to the "
- -"locale\n"
- +"Unless DEFAULT_CHARSET is set in environment, CHARSET defaults to the locale\n"
- "dependent encoding, determined by LC_ALL, LC_CTYPE, LANG.\n"
- msgstr ""
- +"Tenzij omgevingsvariabele DEFAULT_CHARSET is ingesteld, gebruikt TEKENSET\n"
- +"standaard de taalafhankelijke codering, bepaald door LC_ALL, LC_CTYPE, LANG.\n"
-
- #: src/main.c:307
- msgid ""
- "With -k, possible before charsets are listed for the given after CHARSET,\n"
- -"both being tabular charsets, with PAIRS of the form "
- -"`BEF1:AFT1,BEF2:AFT2,...'\n"
- +"both being tabular charsets, with PAIRS of the form `BEF1:AFT1,BEF2:AFT2,...'\n"
- "and BEFs and AFTs being codes are given as decimal numbers.\n"
- msgstr ""
- +"Met optie -k worden voor de gegeven NA-tekenset de mogelijke VOOR-tekensets\n"
- +"opgesomd, als tabel van PAREN in de vorm 'VOOR1:NA1,VOOR2:NA2,...', waarbij\n"
- +"de VOORs en NAs als decimale getallen gegeven worden.\n"
-
- #: src/main.c:312
- -msgid ""
- -"LN is some language, it may be `c', `perl' or `po'; `c' is the default.\n"
- -msgstr ""
- +msgid "LN is some language, it may be `c', `perl' or `po'; `c' is the default.\n"
- +msgstr "TL is een taal, en kan 'c', 'perl' of 'po' zijn; 'c' is standaard.\n"
-
- #: src/main.c:315
- msgid ""
- "\n"
- -"REQUEST is SUBREQUEST[,SUBREQUEST]...; SUBREQUEST is "
- -"ENCODING[..ENCODING]...\n"
- -"ENCODING is [CHARSET][/[SURFACE]]...; REQUEST often looks like "
- -"BEFORE..AFTER,\n"
- +"REQUEST is SUBREQUEST[,SUBREQUEST]...; SUBREQUEST is ENCODING[..ENCODING]...\n"
- +"ENCODING is [CHARSET][/[SURFACE]]...; REQUEST often looks like BEFORE..AFTER,\n"
- "with BEFORE and AFTER being charsets. An omitted CHARSET implies the usual\n"
- -"charset; an omitted [/SURFACE]... means the implied surfaces for CHARSET; a "
- -"/\n"
- +"charset; an omitted [/SURFACE]... means the implied surfaces for CHARSET; a /\n"
- "with an empty surface name means no surfaces at all. See the manual.\n"
- msgstr ""
- +"\n"
- +"VERZOEK is DEELVERZOEK[,DEELVERZOEK]...; DEELVERZOEK is CODERING[..CODERING]...\n"
- +"CODERING is [TEKENSET][/[OPPERVLAK]]...; VERZOEK ziet er vaak uit als VOOR..NA,\n"
- +"waarbij VOOR en NA tekensets zijn. Een weggelaten TEKENSET impliceert de\n"
- +"gebruikelijke tekenset; een weggelaten [/OPPERVLAK]... betekent de impliciete\n"
- +"oppervlakken voor TEKENSET; een / met een lege oppervlaknaam betekent helemaal\n"
- +"geen oppervlak. Zie ook de handleiding.\n"
-
- #: src/main.c:323
- msgid ""
- @@ -216,200 +244,201 @@
- "Each FILE is recoded over itself, destroying the original. If no\n"
- "FILE is specified, then act as a filter and recode stdin to stdout.\n"
- msgstr ""
- +"\n"
- +"Als er geen -i of -p gegeven is, wordt -p aangenomen als er geen BESTAND\n"
- +"gegeven is, anders -i. Elk BESTAND wordt over zichzelf gehercodeerd; het\n"
- +"origineel wordt dus overschreven.\n"
- +"Als er geen BESTAND gegeven is, functioneert 'recode' als een filter en\n"
- +"wordt van standaardinvoer naar standaarduitvoer gehercodeerd.\n"
-
- #: src/main.c:329
- -#, fuzzy
- msgid ""
- "\n"
- "Report bugs to <recode-bugs@iro.umontreal.ca>.\n"
- msgstr ""
- "\n"
- -"Meld fouten via <recode-bugs@gnu.ai.mit.edu>.\n"
- +"Rapporteer programmafouten aan <recode-bugs@iro.umontreal.ca>,\n"
- +"en fouten in de Nederlandse vertaling aan <vertaling@vrijschrift.org>.\n"
-
- #: src/main.c:430
- #, c-format
- msgid "Sequence `%s' is ambiguous"
- -msgstr ""
- +msgstr "Reeks '%s' is niet eenduidig"
-
- #: src/main.c:434
- #, c-format
- msgid "Sequence `%s' is unknown"
- -msgstr ""
- +msgstr "Reeks '%s' is onbekend"
-
- #: src/main.c:464 src/main.c:522
- #, c-format
- msgid "Language `%s' is ambiguous"
- -msgstr ""
- +msgstr "Taal '%s' is niet eenduidig"
-
- #. -1
- #: src/main.c:468 src/main.c:526
- #, c-format
- msgid "Language `%s' is unknown"
- -msgstr ""
- +msgstr "Taal '%s' is onbekend"
-
- #: src/main.c:560
- #, c-format
- msgid "Format `%s' is ambiguous"
- -msgstr ""
- +msgstr "Presentatie '%s' is niet eenduidig"
-
- #: src/main.c:564
- #, c-format
- msgid "Format `%s' is unknown"
- -msgstr ""
- +msgstr "Presentatie '%s' is onbekend"
-
- #: src/main.c:621
- -#, fuzzy
- msgid "Written by Franc,ois Pinard <pinard@iro.umontreal.ca>.\n"
- -msgstr ""
- -"\n"
- -"Geschreven door François Pinard <pinard@iro.umontreal.ca>.\n"
- +msgstr "Geschreven door François Pinard <pinard@iro.umontreal.ca>.\n"
-
- #: src/main.c:624
- -#, fuzzy
- msgid ""
- "\n"
- "Copyright (C) 1990, 92, 93, 94, 96, 97, 99 Free Software Foundation, Inc.\n"
- msgstr ""
- "\n"
- -"Copyright (C) 1990, 1992, 1993, 1994, 1996 Free Software Foundation, Inc.\n"
- +"Copyright (C) 1990, 92, 93, 94, 96, 97, 99 Free Software Foundation, Inc.\n"
-
- #: src/main.c:628
- msgid ""
- "This is free software; see the source for copying conditions. There is NO\n"
- "warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n"
- msgstr ""
- -"Dit is vrije programmatuur; zie de broncode voor kopieer condities.\n"
- +"Dit is vrije software; zie de brontekst voor de kopieervoorwaarden.\n"
- "Er is GEEN garantie; zelfs niet voor VERKOOPBAARHEID of GESCHIKTHEID\n"
- -"VOOR EEN BEPAALDE TOEPASSING.\n"
- +"VOOR EEN BEPAALD DOEL.\n"
-
- #: src/main.c:669
- #, c-format
- msgid "Symbol `%s' is unknown"
- -msgstr ""
- +msgstr "Symbool '%s' is onbekend"
-
- #: src/main.c:709 src/main.c:723
- #, c-format
- msgid "Charset `%s' is unknown or ambiguous"
- -msgstr ""
- +msgstr "Tekenset '%s' is onbekend of niet eenduidig"
-
- #: src/main.c:754
- msgid "Required argument is missing"
- -msgstr ""
- +msgstr "Een vereist argument ontbreekt"
-
- #: src/main.c:797
- #, c-format
- msgid "Syntax is deprecated, please prefer `%s'"
- -msgstr ""
- +msgstr "Deze syntax is verouderd; gebruik liever '%s'"
-
- #: src/main.c:803
- #, c-format
- msgid "Request `%s' is erroneous"
- -msgstr ""
- +msgstr "Verzoek '%s' is onjuist"
-
- #: src/main.c:903
- #, c-format
- msgid "Recoding %s..."
- -msgstr "Omzetten %s..."
- +msgstr "Bezig met hercoderen van %s..."
-
- #: src/main.c:913
- msgid " done\n"
- -msgstr " klaar\n"
- +msgstr " voltooid\n"
-
- #: src/main.c:954
- #, c-format
- msgid " failed: %s in step `%s..%s'\n"
- -msgstr ""
- +msgstr " mislukt: %s in stap '%s..%s'\n"
-
- #: src/main.c:961
- #, c-format
- msgid "%s failed: %s in step `%s..%s'"
- -msgstr ""
- +msgstr "%s mislukt: %s in stap '%s..%s'"
-
- #: src/main.c:984
- -#, fuzzy, c-format
- +#, c-format
- msgid "%s in step `%s..%s'"
- -msgstr "%svoor reeks %s.%s"
- +msgstr "%s in stap '%s..%s'"
-
- #: src/names.c:335
- #, c-format
- msgid "Charset %s already exists and is not %s"
- -msgstr "Karakterset %s bestaat reeds en is niet %s"
- +msgstr "Tekenset '%s' bestaat al en is niet %s"
-
- #: src/names.c:831
- -#, fuzzy, c-format
- +#, c-format
- msgid "Cannot list `%s', no names available for this charset"
- -msgstr ""
- -"Kan `%s' niet tonen, geen RFC 1345 namen beschikbaar voor deze karakterset"
- +msgstr "Kan '%s' niet opsommen; geen namen beschikbaar voor deze tekenset"
-
- #. code counter
- #. expected value for code counter
- #. insert a while line before printing
- #. Print the long table according to explode data.
- #: src/names.c:984 src/names.c:1030
- -#, fuzzy, c-format
- +#, c-format
- msgid "Dec Oct Hex UCS2 Mne %s\n"
- -msgstr "dec oct hex ch %s\n"
- +msgstr "Dec Oct Hex UCS2 Mne %s\n"
-
- #: src/names.c:1049
- -#, fuzzy, c-format
- +#, c-format
- msgid "Sorry, no names available for `%s'"
- -msgstr "Sorry, geen RFC 1345 namen beschikbaar voor `%s'"
- +msgstr "Sorry, geen namen beschikbaar voor '%s'"
-
- #: src/outer.c:125
- #, c-format
- msgid "Resurfacer set more than once for `%s'"
- -msgstr ""
- +msgstr "Her-oppervlakker meer dan eens gezet voor '%s'"
-
- #: src/outer.c:133
- #, c-format
- msgid "Unsurfacer set more than once for `%s'"
- -msgstr ""
- +msgstr "Ont-oppervlakker meer dan eens gezet voor '%s'"
-
- #: src/recode.c:115 src/recode.c:127
- msgid "Virtual memory exhausted"
- -msgstr ""
- +msgstr "Onvoldoende virtueel geheugen"
-
- #: src/recode.c:155
- #, c-format, ycp-format
- msgid "Codes %3d and %3d both recode to %3d"
- -msgstr "Code %3d en %3d beide omgezet naar %3d"
- +msgstr "Codes %3d en %3d hercoderen beide naar %3d"
-
- #: src/recode.c:169
- #, c-format, ycp-format
- msgid "No character recodes to %3d"
- -msgstr "Geen karakter omzetting naar %3d"
- +msgstr "Geen teken hercodeert naar %3d"
-
- #: src/recode.c:170
- msgid "Cannot invert given one-to-one table"
- -msgstr "Kan een-op-een tabel niet inverteren"
- +msgstr "Kan de gegeven één-op-één tabel niet omkeren"
-
- #: src/recode.c:224 src/recode.c:236
- #, c-format
- msgid "Following diagnostics for `%s' to `%s'"
- -msgstr "Volg diagnostiek (FIXME) van `%s' naar `%s'"
- +msgstr "Foutmeldingen voor '%s' naar '%s'"
-
- #: src/recode.c:229 src/recode.c:241
- -#, fuzzy, c-format
- +#, c-format
- msgid "Pair no. %d: <%3d, %3d> conflicts with <%3d, %3d>"
- -msgstr "Paar nummer %d: { %3d, %3d } conflictueerd met { %3d, %3d }"
- +msgstr "Paarnummer %d: <%3d, %3d> conflicteert met <%3d, %3d>"
-
- #: src/recode.c:272
- msgid "Cannot complete table from set of known pairs"
- -msgstr "Kan tabel niet compleet maken uit set van bekende paren"
- +msgstr "Kan tabel niet afmaken met de verzameling bekende paren"
-
- #: src/recode.c:497
- msgid "Identity recoding, not worth a table"
- -msgstr "Codering is identiek, geen tabel waardig"
- +msgstr "Identiteitshercodering; is geen tabel waard"
-
- #: src/recode.c:504
- msgid "Recoding is too complex for a mere table"
- -msgstr "Omzetting is te complex voor een mere tabel (FIXME)"
- +msgstr "Hercoderen is te complex voor slechts een tabel"
-
- #. Print the header of the header file.
- #: src/recode.c:536
- -#, fuzzy, c-format
- +#, c-format
- msgid "%sConversion table generated mechanically by Free `%s' %s"
- -msgstr "%sConversietabel mechanisch gegenereerd door GNU %s %s"
- +msgstr "%sConversietabel gegenereerd door '%s' %s"
-
- #: src/recode.c:538
- #, c-format
- @@ -418,261 +447,82 @@
-
- #: src/recode.c:744
- msgid "No table to print"
- -msgstr "Geen tabel om te tonen"
- +msgstr "Geen tabel om weer te geven"
-
- #: src/request.c:34
- msgid "reversible"
- msgstr "omkeerbaar"
-
- #: src/request.c:36
- -#, fuzzy, c-format
- +#, c-format
- msgid "%s to %s"
- -msgstr "%svoor reeks %s.%s"
- +msgstr "%s naar %s"
-
- #: src/request.c:37 src/request.c:39
- msgid "byte"
- -msgstr ""
- +msgstr "byte"
-
- #: src/request.c:38 src/request.c:40
- msgid "ucs2"
- -msgstr ""
- +msgstr "ucs2"
-
- #: src/request.c:38 src/request.c:40
- -#, fuzzy
- msgid "variable"
- -msgstr "omkeerbaar"
- +msgstr "variabel"
-
- #: src/request.c:111
- msgid "*Unachievable*"
- -msgstr "*Onmogelijk*"
- +msgstr "*Kan niet*"
-
- #: src/request.c:113
- msgid "*mere copy*"
- -msgstr "*gewone kopie*"
- +msgstr "*simpele kopie*"
-
- #: src/request.c:246
- msgid "Virtual memory exhausted!"
- -msgstr ""
- +msgstr "Onvoldoende virtueel geheugen!"
-
- #: src/request.c:265
- msgid "Step initialisation failed"
- -msgstr ""
- +msgstr "Stap-initialisatie is mislukt"
-
- #: src/request.c:272
- msgid "Step initialisation failed (unprocessed options)"
- -msgstr ""
- +msgstr "Stap-initialisatie is mislukt (onverwerkte opties)"
-
- #: src/request.c:568
- #, c-format
- msgid "Request: %s\n"
- -msgstr ""
- +msgstr "Verzoek: %s\n"
-
- #: src/request.c:720
- #, c-format
- msgid "Shrunk to: %s\n"
- -msgstr ""
- +msgstr "Gekrompen tot: %s\n"
-
- #: src/request.c:823 src/request.c:932
- #, c-format
- msgid "Unrecognised surface name `%s'"
- -msgstr ""
- +msgstr "Onbekende oppervlaknaam '%s'"
-
- #: src/request.c:903
- -#, fuzzy, c-format
- +#, c-format
- msgid "No way to recode from `%s' to `%s'"
- -msgstr "Geen mogelijkheid voor omzetting van %s naar %s"
- +msgstr "Er is geen manier om te hercoderen van '%s' naar '%s'"
-
- #: src/request.c:1013
- msgid "Expecting `..' in request"
- -msgstr ""
- +msgstr "'..' werd verwacht in verzoek"
-
- #: src/task.c:826 src/task.c:1002
- #, c-format
- msgid "Child process wait status is 0x%0.2x"
- -msgstr "Wacht status proces kind is 0x%0.2x"
- +msgstr "Wachtstatus van dochterproces is 0x%0.2x"
-
- #: src/testdump.c:298
- msgid ""
- "UCS2 Mne Description\n"
- "\n"
- msgstr ""
- -
- -#~ msgid "Ambiguous sequence `%s'"
- -#~ msgstr "Dubbelzinnig `sequence' `%s'"
- -
- -#~ msgid "Unknown sequence `%s'"
- -#~ msgstr "Onbekende `sequence' `%s' (FIXME)"
- -
- -#~ msgid "Ambiguous language `%s'"
- -#~ msgstr "Dubbelzinnige taal `%s'"
- -
- -#~ msgid "Unknown language `%s'"
- -#~ msgstr "Onbekende taal `%s'"
- -
- -#~ msgid "Ambiguous format `%s'"
- -#~ msgstr "Dubbelzinnig format `%s'"
- -
- -#~ msgid "Unknown format `%s'"
- -#~ msgstr "Onbekende format `%s'"
- -
- -#~ msgid "Hash stats: %d names using %d buckets out of %d\n"
- -#~ msgstr "Hash stats: %d names using %d buckets out of %d (FIXME)\n"
- -
- -#~ msgid "Currently, -s is ignored when -g is selected"
- -#~ msgstr "Op dit moment wordt -s genegeerd als -g is geselecteerd"
- -
- -#~ msgid "one to one"
- -#~ msgstr "een op een"
- -
- -#~ msgid "one to many"
- -#~ msgstr "een naar veel (FIXME)"
- -
- -#~ msgid "many to one"
- -#~ msgstr "veel naar een (FIXME)"
- -
- -#~ msgid "many to many"
- -#~ msgstr "veel te veel"
- -
- -#~ msgid "MAX_CHARSETS is too small"
- -#~ msgstr "MAX_CHARSETS is te klein"
- -
- -#~ msgid "Ambiguous charset or encoding `%s'"
- -#~ msgstr "Dubbelzinnige karakterset of codering `%s'"
- -
- -#~ msgid "Unknown charset or encoding `%s'"
- -#~ msgstr "Onbekende karakterset of codering `%s'"
- -
- -#~ msgid "Simplified to: %s\n"
- -#~ msgstr "Versimpeld naar: %s\n"
- -
- -#~ msgid "Unbalanced quotes in request"
- -#~ msgstr "Niet overeenkomstige kwoots in vraag"
- -
- -#~ msgid "Illegal backslash"
- -#~ msgstr "Ongeldige backslash"
- -
- -#~ msgid "Internal error - strategy undecided"
- -#~ msgstr "Interne fout - besluiteloze strategie"
- -
- -#~ msgid "ONE to SAME"
- -#~ msgstr "ONE naar SAME"
- -
- -#~ msgid "steps: %d"
- -#~ msgstr "stappen: %d"
- -
- -#~ msgid ", %d saved by merging"
- -#~ msgstr ", %d bewaard door samenvoegen"
- -
- -#~ msgid " UNACHIEVABLE\n"
- -#~ msgstr " ONBEREIKBAAR\n"
- -
- -#~ msgid "Cannot auto check the ignored charset"
- -#~ msgstr "Kan de genegeerde karakterset niet automatisch kontroleren"
- -
- -#~ msgid "Cannot auto check on %s"
- -#~ msgstr "Kan %s niet automatisch kontroleren"
- -
- -#~ msgid ""
- -#~ "Mandatory or optional arguments to long options are mandatory or optional\n"
- -#~ "for short options too.\n"
- -#~ "\n"
- -#~ " -C, --copyright display Copyright and copying conditions\n"
- -#~ " -a, --auto-check report about some or all recoding paths, then exit\n"
- -#~ " -l, --list[=FORMAT] list one or all known charsets\n"
- -#~ " -k, --known=PAIRS restrict charsets according to known PAIRS list\n"
- -#~ " --help display this help and exit\n"
- -#~ " --version output version information and exit\n"
- -#~ "\n"
- -#~ "FORMAT is a word among decimal, octal, hexadecimal or full (which may be\n"
- -#~ "abbreviated to one of `dohf'), it defaults to just the canonical name.\n"
- -#~ "With -k, possible before charsets are listed for the given after CHARSET,\n"
- -#~ "both being RFC1345 charsets, with PAIRS of the form "
- -#~ "`BEF1:AFT1,BEF2:AFT2,...\n"
- -#~ "and BEFs and AFTs being codes. All codes are given as decimal numbers.\n"
- -#~ msgstr ""
- -#~ "Verplichte of optionele argumenten bij lange opties, zijn ook\n"
- -#~ "verplicht of optioneel bij korte opties.\n"
- -#~ "\n"
- -#~ " -C, --copyright toon Copyright en copieer kondities\n"
- -#~ " -a, --auto-check bericht over sommige of alle omzettingstrajecten\n"
- -#~ " -l, --list[=FORMAT] toon een of alle bekende karaktersets\n"
- -#~ " -k, --known=PAREN beperk karaktersets volgens bekende PAREN lijst\n"
- -#~ " --help toon hulp-tekst en bekindig programma\n"
- -#~ " --version toon versie-informatie en bekindig programma\n"
- -#~ "\n"
- -#~ "FORMAT is een woord zoals decimaal, octaal, hexadecimaal of volledig\n"
- -#~ "(full) (wat mag worden afgekort als een van `dohf'), gewoonlijk wordt\n"
- -#~ "de standaardnaam gebruikt.\n"
- -#~ "\n"
- -#~ "(FIXME) With -k, possible before charsets are listed for the given\n"
- -#~ "after CHARSET, both being RFC1345 charsets, with PAIRS of the form\n"
- -#~ "`BEF1:AFT1,BEF2:AFT2,... and BEFs and AFTs being codes. All codes\n"
- -#~ "are given as decimal numbers.\n"
- -
- -#~ msgid ""
- -#~ "Option -l with no FORMAT nor CHARSET list all charsets, also see the "
- -#~ "Texinfo\n"
- -#~ "documentation. My preferred charsets are (each user has preferences):\n"
- -#~ "\n"
- -#~ " ascii-bs ASCII (7-bit), using backspace to apply diacritics\n"
- -#~ " ibmpc IBM-PC 8-bit characters, with proper newlines\n"
- -#~ " latex LaTeX coding of foreign and diacriticized characters\n"
- -#~ " latin1 ISO Latin-1 8-bit extension of ASCII\n"
- -#~ " texte Easy French convention for transmitting email messages\n"
- -#~ msgstr ""
- -#~ "Optie -l met geen FORMAT noch CHARSET laat alle karaktersets zien, zie\n"
- -#~ "ook de Texinfo documentatie. Mijn preferente karaktersets zijn (elke\n"
- -#~ "gebruiker heeft voorkeuren):\n"
- -#~ "\n"
- -#~ " ascii-bs ASCII (7-bit), gebruik backspace to apply diacritics\n"
- -#~ " ibmpc IBM-PC 8-bit karakter, met juiste nieuwe regels\n"
- -#~ " latex LaTeX codering van vreemde en dia-kritische karrakters\n"
- -#~ " latin1 ISO Latin-1 8-bit uitbreiding van ASCII\n"
- -#~ " texte Makkelijk franse conventie voor versturen email berichten\n"
- -
- -#~ msgid ""
- -#~ "\n"
- -#~ "Usage: %s [OPTION]... [BEFORE]:[AFTER] [FILE]...\n"
- -#~ msgstr ""
- -#~ "\n"
- -#~ "Gebruik: %s [OPTIE]... [VOOR]:[NA] [BESTAND]...\n"
- -
- -#~ msgid ""
- -#~ " -o, --sequence=popen use popen machinery for sequencing passes\n"
- -#~ msgstr ""
- -#~ " -o, --sequence=popen gebruiken popen machinery for sequencing passes "
- -#~ "(FIXME)\n"
- -
- -#~ msgid " -o, --sequence=popen same as -i (on this system)\n"
- -#~ msgstr " -o, --sequence=popen zelfde als -i (op dit systeem)\n"
- -
- -#~ msgid ""
- -#~ " -q, --quiet, --silent inhibit messages about irreversible recodings\n"
- -#~ " -s, --strict use strict mappings, even loose characters\n"
- -#~ " -t, --touch touch the recoded files after replacement\n"
- -#~ " -v, --verbose explain sequence of steps and report progress\n"
- -#~ " -x, --ignore=CHARSET ignore CHARSET while choosing a recoding path\n"
- -#~ "\n"
- -#~ "If none of -i, -o and -p are given, presume -p if no FILE, else -i.\n"
- -#~ "Each FILE is recoded over itself, destroying the original. If no\n"
- -#~ "FILE is specified, then act as a filter and recode stdin to stdout.\n"
- -#~ msgstr ""
- -#~ " -q, --quiet, --silent laat meldingen over onomkeerbaarheid achterwege\n"
- -#~ " -s, --strict gebruik strikte omzetting, zelfs voor loose chars\n"
- -#~ " -t, --touch verander de tijd van omgezette bestanden\n"
- -#~ " -v, --verbose laat zien wat er gebeurt\n"
- -#~ " -x, --ignore=CHARSET negeer CHARSET bij kiezen van omzettingstraject\n"
- -#~ "\n"
- -#~ "Als geen van -i, -o en -p gegeven zijn, veronderstel -p als geen\n"
- -#~ "BESTAND, anders -i. Elk BESTAND is omgezet over zichzelf, het\n"
- -#~ "origineel vernietigend. Als geen BESTAND is gespecificeerd, werk dan\n"
- -#~ "als een filter en zet standaardinvoer om naar standaarduitvoer.\n"
- -
- -#~ msgid "BEFORE and AFTER both default to `%s' when needed.\n"
- -#~ msgstr "VOOR en NA beiden `%s' indien noodzakelijk.\n"
- -
- -#~ msgid "%s: Recoding is not reversible"
- -#~ msgstr "%s: Omzetting is niet omkeerbaar"
- -
- -#~ msgid "Recoding is not reversible"
- -#~ msgstr "Omzetting is niet omkeerbaar"
- +"UCS2 Mne Omschrijving\n"
- +"\n"
- --- recode-3.6.orig/i18n/zh_CN.po
- +++ recode-3.6/i18n/zh_CN.po
- @@ -0,0 +1,509 @@
- +# Simplified Chinese translation for recode.
- +# Copyright (C) 2005 Free Software Foundation, Inc.
- +# Meng Jie <zuxyhere@eastday.com>, 2005.
- +#
- +msgid ""
- +msgstr ""
- +"Project-Id-Version: recode 3.6\n"
- +"POT-Creation-Date: 2001-01-02 22:35+0100\n"
- +"PO-Revision-Date: 2005-12-03 21:43+0800\n"
- +"Last-Translator: Meng Jie <zuxyhere@eastday.com>\n"
- +"Language-Team: Chinese (simplified) <i18n-translation@lists.linux.net.cn>\n"
- +"MIME-Version: 1.0\n"
- +"Content-Type: text/plain; charset=utf-8\n"
- +"Content-Transfer-Encoding: 8bit\n"
- +"X-Poedit-Basepath: z:\\recode-3.6\n"
- +
- +#: src/main.c:142
- +msgid "No error"
- +msgstr "没有错误"
- +
- +#: src/main.c:145
- +msgid "Non canonical input"
- +msgstr "ä¸�æ£è§„的输入"
- +
- +#: src/main.c:148
- +msgid "Ambiguous output"
- +msgstr "有æ§ä¹‰çš„输出"
- +
- +#: src/main.c:151
- +msgid "Untranslatable input"
- +msgstr "æ— æ³•ç¿»è¯‘çš„è¾“å…¥"
- +
- +#: src/main.c:154
- +msgid "Invalid input"
- +msgstr "æ— æ•ˆçš„è¾“å…¥"
- +
- +#: src/main.c:157
- +msgid "System detected problem"
- +msgstr "系统问题"
- +
- +#: src/main.c:160
- +msgid "Misuse of recoding library"
- +msgstr "对é‡�æ–°ç¼–ç �库的使用ä¸�æ£ç¡®"
- +
- +#: src/main.c:163
- +msgid "Internal recoding bug"
- +msgstr "内部é‡�æ–°ç¼–ç �缺陷"
- +
- +#: src/main.c:208
- +msgid ""
- +"This program is free software; you can redistribute it and/or modify\n"
- +"it under the terms of the GNU General Public License as published by\n"
- +"the Free Software Foundation; either version 2, or (at your option)\n"
- +"any later version.\n"
- +"\n"
- +"This program is distributed in the hope that it will be useful,\n"
- +"but WITHOUT ANY WARRANTY; without even the implied warranty of\n"
- +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n"
- +"GNU General Public License for more details.\n"
- +"\n"
- +"You should have received a copy of the GNU General Public License\n"
- +"along with this program; if not, write to the Free Software Foundation,\n"
- +"Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n"
- +msgstr ""
- +"æ¤ç¨‹åº�是自由软件;您å�¯ä»¥åœ¨è‡ªç”±è½¯ä»¶åŸºé‡‘会å�‘布的 GNU 通用公共许\n"
- +"��的�款下�新分�和(或)修改它;您�以选择使用 GPL 第二版,\n"
- +"或(按照您的�愿)任何更新的版本。\n"
- +"\n"
- +"该程�分�的目的是为了其他人�以使用它,但是没有任何担�;也没\n"
- +"有对其适销性和�一特定目的下的适用性的担�。请查阅 GNU 通用公\n"
- +"共许���获得更多的信�。\n"
- +"\n"
- +"ä½ åº”è¯¥å·²ç»�跟本程åº�一起收到一份 GNU 通用公共许å�¯è¯�;如果没有,\n"
- +"请写信至:Free Software Foundation, Inc., \n"
- +"59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n"
- +
- +#: src/main.c:233
- +#, c-format
- +msgid "Try `%s %s' for more information.\n"
- +msgstr "请�试执行‘%s %s’以得到更多信�。\n"
- +
- +#: src/main.c:237
- +msgid "Free `recode' converts files between various character sets and surfaces.\n"
- +msgstr "自由的‘recode’将文件在ä¸�å�Œçš„å—符集和外在编ç �间转æ�¢ã€‚\n"
- +
- +#: src/main.c:241
- +#, c-format
- +msgid ""
- +"\n"
- +"Usage: %s [OPTION]... [ [CHARSET] | REQUEST [FILE]... ]\n"
- +msgstr ""
- +"\n"
- +"用法:%s [选项]... [ [å—符集] | 请求 [文件]...]\n"
- +
- +#: src/main.c:244
- +msgid ""
- +"\n"
- +"If a long option shows an argument as mandatory, then it is mandatory\n"
- +"for the equivalent short option also. Similarly for optional arguments.\n"
- +msgstr ""
- +"\n"
- +"长选项必须带的å�‚数在使用与之ç‰ä»·çš„çŸé€‰é¡¹æ—¶ä¹Ÿæ˜¯å¿…须的。å�¯é€‰å�‚数亦是如æ¤ã€‚\n"
- +
- +#: src/main.c:250
- +msgid ""
- +"\n"
- +"Listings:\n"
- +" -l, --list[=FORMAT] list one or all known charsets and aliases\n"
- +" -k, --known=PAIRS restrict charsets according to known PAIRS list\n"
- +" -h, --header[=[LN/]NAME] write table NAME on stdout using LN, then exit\n"
- +" -F, --freeze-tables write out a C module holding all tables\n"
- +" -T, --find-subsets report all charsets being subset of others\n"
- +" -C, --copyright display Copyright and copying conditions\n"
- +" --help display this help and exit\n"
- +" --version output version information and exit\n"
- +msgstr ""
- +"\n"
- +"列表:\n"
- +" -l,--list[=æ ¼å¼�] 列出æŸ�个或所有已知的å—符集和别å��\n"
- +" -k,--known=æ˜ å°„ 仅列出匹é…�å·²çŸ¥â€œæ˜ å°„â€�列表的å—符集\n"
- +" -h,--header[=[è¯è¨€/]表å��] åœ¨æ ‡å‡†è¾“å‡ºä¸Šè¾“å‡ºç¬¦å�ˆæŸ�è¯è¨€è¯æ³•çš„转æ�¢è¡¨ï¼Œç„¶å�Žé€€å‡º\n"
- +" -F,--freeze-tables 输出一个包括所有转�表的 C 模�\n"
- +" -T,--find-subsets 报告所有是其他å—符集å�集的å—符集\n"
- +" -C,--copyright 显示版�信�和�制�件\n"
- +" --help 显示本帮助信��退出\n"
- +" --version 输出版本信��退出\n"
- +
- +#: src/main.c:263
- +msgid ""
- +"\n"
- +"Operation modes:\n"
- +" -v, --verbose explain sequence of steps and report progress\n"
- +" -q, --quiet, --silent inhibit messages about irreversible recodings\n"
- +" -f, --force force recodings even when not reversible\n"
- +" -t, --touch touch the recoded files after replacement\n"
- +" -i, --sequence=files use intermediate files for sequencing passes\n"
- +" --sequence=memory use memory buffers for sequencing passes\n"
- +msgstr ""
- +"\n"
- +"�作模�:\n"
- +" -v,--verbose 报告转æ�¢æ¥éª¤åº�列和过程\n"
- +" -q,--quiet,--silent ä¸�报告ä¸�å�¯é€†çš„é‡�æ–°ç¼–ç �\n"
- +" -f,--force 强制进行ä¸�å�¯é€†çš„é‡�æ–°ç¼–ç �\n"
- +" -t,--touch 在替æ�¢ä¹‹å�Ž touch é‡�æ–°ç¼–ç �的文件\n"
- +" -i,--sequence=files 为系列转æ�¢ä½¿ç”¨ä¸é—´æ–‡ä»¶\n"
- +" --sequence=memory 为系列转æ�¢ä½¿ç”¨å†…å˜ç¼“冲区\n"
- +
- +#: src/main.c:275
- +msgid " -p, --sequence=pipe use pipe machinery for sequencing passes\n"
- +msgstr " -p,--sequence=pipe 为系列转�使用管�机制\n"
- +
- +#: src/main.c:280
- +msgid " -p, --sequence=pipe same as -i (on this system)\n"
- +msgstr " -p,--sequence=pipe 在æ¤ç³»ç»Ÿä¸‹ä¸Ž -i ç‰æ•ˆ\n"
- +
- +#: src/main.c:285
- +msgid ""
- +"\n"
- +"Fine tuning:\n"
- +" -s, --strict use strict mappings, even loose characters\n"
- +" -d, --diacritics convert only diacritics or alike for HTML/LaTeX\n"
- +" -S, --source[=LN] limit recoding to strings and comments as for LN\n"
- +" -c, --colons use colons instead of double quotes for diaeresis\n"
- +" -g, --graphics approximate IBMPC rulers by ASCII graphics\n"
- +" -x, --ignore=CHARSET ignore CHARSET while choosing a recoding path\n"
- +msgstr ""
- +"\n"
- +"细节调整:\n"
- +" -s,--strict å�³ä½¿ä¸ºå�¯æ”¾æ�¾çš„å—ç¬¦ä¹Ÿä½¿ç”¨ä¸¥æ ¼æ˜ å°„\n"
- +" -d,--diacritics å�ªä¸º HTML/LaTeX 转æ�¢å�˜éŸ³è®°å�·ç‰\n"
- +" -S,--source[=è¯è¨€] å°†é‡�æ–°ç¼–ç �的范围é™�制在æŸ�编程è¯è¨€çš„å—符串和注释ä¸\n"
- +" -c,--colons 使用冒�而�是�引��表示分音符\n"
- +" -g,--graphics 用 ASCII 符å�·æ¨¡æ‹Ÿ IBMPC æ ‡å°º\n"
- +" -x,--ignore=å—符集 在选择é‡�æ–°ç¼–ç �途径时忽略æŸ�å—符集\n"
- +
- +#: src/main.c:296
- +msgid ""
- +"\n"
- +"Option -l with no FORMAT nor CHARSET list available charsets and surfaces.\n"
- +"FORMAT is `decimal', `octal', `hexadecimal' or `full' (or one of `dohf').\n"
- +msgstr ""
- +"\n"
- +"选项 -l å�Žå¦‚æžœæ²¡æœ‰æŒ‡å®šâ€œæ ¼å¼�â€�或“å—符集â€�,则列出所有å�¯ç”¨çš„å—符集和外在编ç �。\n"
- +"â€œæ ¼å¼�â€�å�¯ä»¥ä¸ºâ€˜decimal’ã€�‘octal’ã€�‘hexadecimal’或‘full’(或者‘dohf’\n"
- +"ä¸çš„任一个å—æ¯�)。\n"
- +
- +#: src/main.c:302
- +msgid ""
- +"Unless DEFAULT_CHARSET is set in environment, CHARSET defaults to the locale\n"
- +"dependent encoding, determined by LC_ALL, LC_CTYPE, LANG.\n"
- +msgstr ""
- +"如果没有设置 DEFAULT_CHARSET 环境å�˜é‡�,å—符集默认为区域选项的编ç �,由 LC_ALLã€�\n"
- +"LC_CTYPE�LANG 决定。\n"
- +
- +#: src/main.c:307
- +msgid ""
- +"With -k, possible before charsets are listed for the given after CHARSET,\n"
- +"both being tabular charsets, with PAIRS of the form `BEF1:AFT1,BEF2:AFT2,...'\n"
- +"and BEFs and AFTs being codes are given as decimal numbers.\n"
- +msgstr ""
- +"使用 -k æ—¶ï¼Œç›®æ ‡å—符集å�¯èƒ½å¯¹åº”的所有的æº�å—符集都将列出,两者å�‡ä¸ºè¡¨æ ¼åŒ–çš„å—符\n"
- +"é›†ï¼Œâ€œæ˜ å°„â€�具有‘æº�1:ç›®æ ‡1,æº�2:ç›®æ ‡2,...’的形å¼�,其ä¸â€œæº�xâ€�å’Œâ€œç›®æ ‡xâ€�å�‡\n"
- +"须以�进制数的形�给出。\n"
- +
- +#: src/main.c:312
- +msgid "LN is some language, it may be `c', `perl' or `po'; `c' is the default.\n"
- +msgstr "“è¯è¨€â€�是æŸ�ç§�ç¼–ç �è¯è¨€ï¼Œå�¯ä»¥ä¸ºâ€˜c’ã€�‘perl’或‘po’,‘c’为默认值。\n"
- +
- +#: src/main.c:315
- +msgid ""
- +"\n"
- +"REQUEST is SUBREQUEST[,SUBREQUEST]...; SUBREQUEST is ENCODING[..ENCODING]...\n"
- +"ENCODING is [CHARSET][/[SURFACE]]...; REQUEST often looks like BEFORE..AFTER,\n"
- +"with BEFORE and AFTER being charsets. An omitted CHARSET implies the usual\n"
- +"charset; an omitted [/SURFACE]... means the implied surfaces for CHARSET; a /\n"
- +"with an empty surface name means no surfaces at all. See the manual.\n"
- +msgstr ""
- +"\n"
- +"“请求â€�æ ¼å¼�为“å�请求[,å�请求]...â€�;“å�请求â€�æ ¼å¼�为“编ç �[..ç¼–ç �]...â€�\n"
- +"“编ç �â€�æ ¼å¼�为“[å—符集][/[外在编ç �]]...â€�;“请求â€�一般有“æº�..目的â€�çš„å½¢å¼�,\n"
- +"“æº�â€�和“目的â€�å�‡ä¸ºå—符集å��。如果çœ�略“å—符集â€�,则表示通常的å—符集;如果çœ�ç•¥\n"
- +"“[/外在编ç �]...â€�则表示“å—符集â€�默认的外在编ç �ï¼›å�ªç»™å‡ºâ€œ/â€�而在其å�Žä¸�给出任\n"
- +"何外在编ç �则表示没有任何外在编ç �。详情请å�‚è§�手册。\n"
- +
- +#: src/main.c:323
- +msgid ""
- +"\n"
- +"If none of -i and -p are given, presume -p if no FILE, else -i.\n"
- +"Each FILE is recoded over itself, destroying the original. If no\n"
- +"FILE is specified, then act as a filter and recode stdin to stdout.\n"
- +msgstr ""
- +"\n"
- +"如果没有给出 -i 或 -p,当命令行ä¸æœ‰æ–‡ä»¶æ—¶ä½¿ç”¨ -p,å�¦åˆ™ä½¿ç”¨ -i。\n"
- +"为æ¯�个文件就地é‡�æ–°ç¼–ç �,丢弃其原始内容。如果没有在命令行ä¸æŒ‡å®šæ–‡ä»¶ï¼Œ\n"
- +"åˆ™å°†æ ‡å‡†è¾“å…¥çš„å†…å®¹é‡�æ–°ç¼–ç �ä¸ºæ ‡å‡†è¾“å‡ºã€‚\n"
- +
- +#: src/main.c:329
- +msgid ""
- +"\n"
- +"Report bugs to <recode-bugs@iro.umontreal.ca>.\n"
- +msgstr ""
- +"\n"
- +"请� <recode-bugs@iro.umontreal.ca> 报告程�缺陷。\n"
- +
- +#: src/main.c:430
- +#, c-format
- +msgid "Sequence `%s' is ambiguous"
- +msgstr "�列‘%s’�义�明确"
- +
- +#: src/main.c:434
- +#, c-format
- +msgid "Sequence `%s' is unknown"
- +msgstr "�列‘%s’未知"
- +
- +#: src/main.c:464 src/main.c:522
- +#, c-format
- +msgid "Language `%s' is ambiguous"
- +msgstr "è¯è¨€â€˜%s’æ„�义ä¸�明确"
- +
- +#. -1
- +#: src/main.c:468 src/main.c:526
- +#, c-format
- +msgid "Language `%s' is unknown"
- +msgstr "è¯è¨€â€˜%s’未知"
- +
- +#: src/main.c:560
- +#, c-format
- +msgid "Format `%s' is ambiguous"
- +msgstr "æ ¼å¼�‘%s’æ„�义ä¸�明确"
- +
- +#: src/main.c:564
- +#, c-format
- +msgid "Format `%s' is unknown"
- +msgstr "æ ¼å¼�‘%s’未知"
- +
- +#: src/main.c:621
- +msgid "Written by Franc,ois Pinard <pinard@iro.umontreal.ca>.\n"
- +msgstr "由 Francois Pinard <pinard@iro.umontreal.ca> 编写。\n"
- +
- +#: src/main.c:624
- +msgid ""
- +"\n"
- +"Copyright (C) 1990, 92, 93, 94, 96, 97, 99 Free Software Foundation, Inc.\n"
- +msgstr ""
- +"\n"
- +"版�所有 (C) 1990,92,93,94,96,97,99 自由软件基金会。\n"
- +
- +#: src/main.c:628
- +msgid ""
- +"This is free software; see the source for copying conditions. There is NO\n"
- +"warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n"
- +msgstr ""
- +"本程åº�是自由软件;请å�‚看æº�代ç �的版æ�ƒå£°æ˜Žã€‚本软件ä¸�æ��供任何担ä¿�ï¼›\n"
- +"包括没有适销性和�一专用目的下的适用性担�。\n"
- +
- +#: src/main.c:669
- +#, c-format
- +msgid "Symbol `%s' is unknown"
- +msgstr "符�‘%s’未知"
- +
- +#: src/main.c:709 src/main.c:723
- +#, c-format
- +msgid "Charset `%s' is unknown or ambiguous"
- +msgstr "å—符集‘%s’未知或有æ§ä¹‰"
- +
- +#: src/main.c:754
- +msgid "Required argument is missing"
- +msgstr "缺少需�的�数"
- +
- +#: src/main.c:797
- +#, c-format
- +msgid "Syntax is deprecated, please prefer `%s'"
- +msgstr "è¯æ³•å·²è¿‡æ—¶ï¼Œè¯·æ”¹ç”¨â€˜%s’"
- +
- +#: src/main.c:803
- +#, c-format
- +msgid "Request `%s' is erroneous"
- +msgstr "请求‘%s’有错误"
- +
- +#: src/main.c:903
- +#, c-format
- +msgid "Recoding %s..."
- +msgstr "é‡�æ–°ç¼–ç � %s..."
- +
- +#: src/main.c:913
- +msgid " done\n"
- +msgstr " 完�\n"
- +
- +#: src/main.c:954
- +#, c-format
- +msgid " failed: %s in step `%s..%s'\n"
- +msgstr " 失败:%s 在æ¥éª¤â€˜%s..%s’ä¸\n"
- +
- +#: src/main.c:961
- +#, c-format
- +msgid "%s failed: %s in step `%s..%s'"
- +msgstr "%s 失败:%s 在æ¥éª¤â€˜%s..%s’ä¸"
- +
- +#: src/main.c:984
- +#, c-format
- +msgid "%s in step `%s..%s'"
- +msgstr "%s 在æ¥éª¤â€˜%s..%s’ä¸"
- +
- +#: src/names.c:335
- +#, c-format
- +msgid "Charset %s already exists and is not %s"
- +msgstr "å—符集 %s å·²å˜åœ¨ä¸”并é�ž %s"
- +
- +#: src/names.c:831
- +#, c-format
- +msgid "Cannot list `%s', no names available for this charset"
- +msgstr "æ— æ³•åˆ—å‡ºâ€˜%s’,æ¤å—符集没有å�¯ç”¨çš„å—符å��"
- +
- +#. code counter
- +#. expected value for code counter
- +#. insert a while line before printing
- +#. Print the long table according to explode data.
- +#: src/names.c:984 src/names.c:1030
- +#, c-format
- +msgid "Dec Oct Hex UCS2 Mne %s\n"
- +msgstr "å�� å…« å��å… UCS2 助记 %s\n"
- +
- +#: src/names.c:1049
- +#, c-format
- +msgid "Sorry, no names available for `%s'"
- +msgstr "对ä¸�起,‘%s’没有å�¯ç”¨çš„å—符å��"
- +
- +#: src/outer.c:125
- +#, c-format
- +msgid "Resurfacer set more than once for `%s'"
- +msgstr "为‘%sâ€™æ–½åŠ äº†å¤šäºŽä¸€ä¸ªçš„å¤–åœ¨ç¼–ç �"
- +
- +#: src/outer.c:133
- +#, c-format
- +msgid "Unsurfacer set more than once for `%s'"
- +msgstr "为‘%s’去除了多于一个的外在编ç �"
- +
- +#: src/recode.c:115 src/recode.c:127
- +msgid "Virtual memory exhausted"
- +msgstr "虚拟内å˜è€—å°½"
- +
- +#: src/recode.c:155
- +#, c-format, ycp-format
- +msgid "Codes %3d and %3d both recode to %3d"
- +msgstr "代ç � %3d å’Œ %3d 都将被é‡�æ–°ç¼–ç �为 %3d"
- +
- +#: src/recode.c:169
- +#, c-format, ycp-format
- +msgid "No character recodes to %3d"
- +msgstr "没有å—符集å�¯é‡�æ–°ç¼–ç �到 %3d"
- +
- +#: src/recode.c:170
- +msgid "Cannot invert given one-to-one table"
- +msgstr "æ— æ³•æ±‚å‡ºç»™å®šçš„ä¸€ä¸€å¯¹åº”è½¬æ�¢è¡¨çš„逆"
- +
- +#: src/recode.c:224 src/recode.c:236
- +#, c-format
- +msgid "Following diagnostics for `%s' to `%s'"
- +msgstr "‘%s’到‘%s’的诊æ–ä¿¡æ�¯"
- +
- +#: src/recode.c:229 src/recode.c:241
- +#, c-format
- +msgid "Pair no. %d: <%3d, %3d> conflicts with <%3d, %3d>"
- +msgstr "第 %d å�·æ˜ 射:<%3d,%3d> 与 <%3d,%3d> 冲çª�"
- +
- +#: src/recode.c:272
- +msgid "Cannot complete table from set of known pairs"
- +msgstr "æ— æ³•ä»Žå·²çŸ¥æ˜ å°„é›†ä¸å½¢æˆ�完整的转æ�¢è¡¨"
- +
- +#: src/recode.c:497
- +msgid "Identity recoding, not worth a table"
- +msgstr "æ�’ç‰å�˜æ�¢ï¼Œä¸�需è¦�转æ�¢è¡¨"
- +
- +#: src/recode.c:504
- +msgid "Recoding is too complex for a mere table"
- +msgstr "é‡�æ–°ç¼–ç �太过å¤�æ�‚ï¼Œæ— æ³•ä»¥ä¸€å¼ è½¬æ�¢è¡¨è¡¨ç¤º"
- +
- +#. Print the header of the header file.
- +#: src/recode.c:536
- +#, c-format
- +msgid "%sConversion table generated mechanically by Free `%s' %s"
- +msgstr "%sConversion table generated mechanically by Free `%s' %s"
- +
- +#: src/recode.c:538
- +#, c-format
- +msgid "%sfor sequence %s.%s"
- +msgstr "%s为转�系列 %s.%s"
- +
- +#: src/recode.c:744
- +msgid "No table to print"
- +msgstr "没有�以打�的转�表"
- +
- +#: src/request.c:34
- +msgid "reversible"
- +msgstr "�逆的"
- +
- +#: src/request.c:36
- +#, c-format
- +msgid "%s to %s"
- +msgstr "%s 到 %s"
- +
- +#: src/request.c:37 src/request.c:39
- +msgid "byte"
- +msgstr "å—节"
- +
- +#: src/request.c:38 src/request.c:40
- +msgid "ucs2"
- +msgstr "ucs2"
- +
- +#: src/request.c:38 src/request.c:40
- +msgid "variable"
- +msgstr "��"
- +
- +#: src/request.c:111
- +msgid "*Unachievable*"
- +msgstr "*æ— æ³•åˆ°è¾¾*"
- +
- +#: src/request.c:113
- +msgid "*mere copy*"
- +msgstr "*仅�制*"
- +
- +#: src/request.c:246
- +msgid "Virtual memory exhausted!"
- +msgstr "虚拟内å˜è€—å°½ï¼�"
- +
- +#: src/request.c:265
- +msgid "Step initialisation failed"
- +msgstr "æ¥éª¤åˆ�始化失败"
- +
- +#: src/request.c:272
- +msgid "Step initialisation failed (unprocessed options)"
- +msgstr "æ¥éª¤åˆ�始化失败(未处ç�†çš„选项)"
- +
- +#: src/request.c:568
- +#, c-format
- +msgid "Request: %s\n"
- +msgstr "请求:%s\n"
- +
- +#: src/request.c:720
- +#, c-format
- +msgid "Shrunk to: %s\n"
- +msgstr "缩�到:%s\n"
- +
- +#: src/request.c:823 src/request.c:932
- +#, c-format
- +msgid "Unrecognised surface name `%s'"
- +msgstr "æ— æ³•è¯†åˆ«çš„å¤–åœ¨ç¼–ç �‘%s’"
- +
- +#: src/request.c:903
- +#, c-format
- +msgid "No way to recode from `%s' to `%s'"
- +msgstr "没有从‘%s’é‡�æ–°ç¼–ç �至‘%s’的途径"
- +
- +#: src/request.c:1013
- +msgid "Expecting `..' in request"
- +msgstr "请求ä¸è¦�有‘..’"
- +
- +#: src/task.c:826 src/task.c:1002
- +#, c-format
- +msgid "Child process wait status is 0x%0.2x"
- +msgstr "å�进程ç‰å¾…状æ€�为 0x%0.2x"
- +
- +#: src/testdump.c:298
- +msgid ""
- +"UCS2 Mne Description\n"
- +"\n"
- +msgstr ""
- +"UCS2 助记 �述\n"
- +"\n"
- --- recode-3.6.orig/i18n/pl.po
- +++ recode-3.6/i18n/pl.po
- @@ -1,14 +1,15 @@
- # Polish translations for the GNU recode messages
- # Copyright (C) 1996 Free Software Foundation, Inc.
- -# Pawe³ Krawczyk <kravietz@ceti.pl>, 1996, 1997, 1998, 1999
- +# Pawe³ Krawczyk <kravietz@ceti.pl>, 1996, 1997, 1998, 1999.
- +# Jakub Bogusz <qboosh@pld-linux.org>, 2002.
- #
- msgid ""
- msgstr ""
- -"Project-Id-Version: recode 3.4r\n"
- +"Project-Id-Version: recode 3.6\n"
- "POT-Creation-Date: 2001-01-02 22:35+0100\n"
- -"PO-Revision-Date: 1999-05-26 14:49+02:00\n"
- -"Last-Translator: Pawe³ Krawczyk <kravietz@ceti.pl>\n"
- -"Language-Team: Polish <pl@li.org>\n"
- +"PO-Revision-Date: 2002-10-27 12:22+0100\n"
- +"Last-Translator: Jakub Bogusz <qboosh@pld-linux.org>\n"
- +"Language-Team: Polish <translation-team-pl@lists.sourceforge.net>\n"
- "MIME-Version: 1.0\n"
- "Content-Type: text/plain; charset=ISO-8859-2\n"
- "Content-Transfer-Encoding: 8-bit\n"
- @@ -81,13 +82,12 @@
- msgstr "Polecenie `%s %s' wy¶wietli wiêcej informacji.\n"
-
- #: src/main.c:237
- -msgid ""
- -"Free `recode' converts files between various character sets and surfaces.\n"
- +msgid "Free `recode' converts files between various character sets and surfaces.\n"
- msgstr ""
- "Program `recode' konwertuje pliki pomiêdzy ró¿nymi zestawami znaków\n"
- "i sposobami kodowania.\n"
-
- -# REQUEST t³umaczê wszêdzie konsekwentnie jako POLECENIE, a nie '¿±danie'
- +# REQUEST t³umaczê wszêdzie konsekwentnie jako POLECENIE, a nie '¿±danie' --pk
- #: src/main.c:241
- #, c-format
- msgid ""
- @@ -108,13 +108,11 @@
- "obowi±zkowe dla krótkich wersji. Analogicznie dla argumentów opcjonalnych.\n"
-
- #: src/main.c:250
- -#, fuzzy
- msgid ""
- "\n"
- "Listings:\n"
- " -l, --list[=FORMAT] list one or all known charsets and aliases\n"
- -" -k, --known=PAIRS restrict charsets according to known PAIRS "
- -"list\n"
- +" -k, --known=PAIRS restrict charsets according to known PAIRS list\n"
- " -h, --header[=[LN/]NAME] write table NAME on stdout using LN, then exit\n"
- " -F, --freeze-tables write out a C module holding all tables\n"
- " -T, --find-subsets report all charsets being subset of others\n"
- @@ -125,7 +123,7 @@
- "\n"
- "Listy:\n"
- " -l, --list[=FORMAT] wy¶wietla jeden lub wszystkie znane zestawy\n"
- -" znaków\n"
- +" znaków i aliasy\n"
- " -k, --known=PARY ogranicza listê zestawów do znanych PAR\n"
- " -h, --header[=[LN/]NAZWA] wy¶wietla tablicê NAZWA na standardowe wyj¶cie\n"
- " u¿ywaj±c LN i koñczy pracê\n"
- @@ -135,8 +133,8 @@
- " innych zestawów\n"
- " -C, --copyright wy¶wietla informacje o prawach autorskich\n"
- " oraz warunkach kopiowania\n"
- -" --version wy¶wietla wersjê programu i koñczy pracê\n"
- " --help wy¶wietla ten tekst pomocy i koñczy pracê\n"
- +" --version wy¶wietla wersjê programu i koñczy pracê\n"
-
- #: src/main.c:263
- msgid ""
- @@ -187,8 +185,7 @@
- " znaków\n"
- " -d, --diacritics konwertuje tylko znaki diakrytyczne oraz symbole\n"
- " znaków (takie jak w HTML i LaTeX)\n"
- -" -c, --colons u¿ywa dwukropków zamiast cudzys³owów dla "
- -"oznaczenia\n"
- +" -c, --colons u¿ywa dwukropków zamiast cudzys³owów dla oznaczenia\n"
- " umlautu\n"
- " -g, --graphics próbuje przybli¿aæ ramki IBMPC znakami ASCII\n"
- " -x, --ignore=ZESTAW ignoruje ZESTAW znaków podczas okre¶lania drogi\n"
- @@ -206,20 +203,18 @@
- "(lub jedna z liter `dohf').\n"
-
- #: src/main.c:302
- -#, fuzzy
- msgid ""
- -"Unless DEFAULT_CHARSET is set in environment, CHARSET defaults to the "
- -"locale\n"
- +"Unless DEFAULT_CHARSET is set in environment, CHARSET defaults to the locale\n"
- "dependent encoding, determined by LC_ALL, LC_CTYPE, LANG.\n"
- msgstr ""
- "Je¶li zmienna ¶rodowiskowa DEFAULT_CHARSET nie jest ustawiona, domy¶lnym\n"
- -"zestawem znaków jest `%s'.\n"
- +"zestawem znaków jest kodowanie zale¿ne od lokalizacji, okre¶lonej przez\n"
- +"zmienne LC_ALL, LC_CTYPE i LANG.\n"
-
- #: src/main.c:307
- msgid ""
- "With -k, possible before charsets are listed for the given after CHARSET,\n"
- -"both being tabular charsets, with PAIRS of the form "
- -"`BEF1:AFT1,BEF2:AFT2,...'\n"
- +"both being tabular charsets, with PAIRS of the form `BEF1:AFT1,BEF2:AFT2,...'\n"
- "and BEFs and AFTs being codes are given as decimal numbers.\n"
- msgstr ""
- "Je¶li podano opcjê -k, program wy¶wietla zestawy znaków z których mo¿na\n"
- @@ -228,8 +223,7 @@
- "SK¡D i DOK¡D s± kodami podanymi jako liczby dziesiêtne.\n"
-
- #: src/main.c:312
- -msgid ""
- -"LN is some language, it may be `c', `perl' or `po'; `c' is the default.\n"
- +msgid "LN is some language, it may be `c', `perl' or `po'; `c' is the default.\n"
- msgstr ""
- "LN jest jêzykiem programowania, do wyboru `c', `perl' lub `po'.\n"
- "Domy¶ln± warto¶ci± jest `c'.\n"
- @@ -237,13 +231,10 @@
- #: src/main.c:315
- msgid ""
- "\n"
- -"REQUEST is SUBREQUEST[,SUBREQUEST]...; SUBREQUEST is "
- -"ENCODING[..ENCODING]...\n"
- -"ENCODING is [CHARSET][/[SURFACE]]...; REQUEST often looks like "
- -"BEFORE..AFTER,\n"
- +"REQUEST is SUBREQUEST[,SUBREQUEST]...; SUBREQUEST is ENCODING[..ENCODING]...\n"
- +"ENCODING is [CHARSET][/[SURFACE]]...; REQUEST often looks like BEFORE..AFTER,\n"
- "with BEFORE and AFTER being charsets. An omitted CHARSET implies the usual\n"
- -"charset; an omitted [/SURFACE]... means the implied surfaces for CHARSET; a "
- -"/\n"
- +"charset; an omitted [/SURFACE]... means the implied surfaces for CHARSET; a /\n"
- "with an empty surface name means no surfaces at all. See the manual.\n"
- msgstr ""
- "\n"
- @@ -279,40 +270,37 @@
- #: src/main.c:430
- #, c-format
- msgid "Sequence `%s' is ambiguous"
- -msgstr ""
- +msgstr "Sekwencja `%s' jest niejednoznaczna"
-
- #: src/main.c:434
- #, c-format
- msgid "Sequence `%s' is unknown"
- -msgstr ""
- +msgstr "Sekwencja `%s' jest nieznana"
-
- #: src/main.c:464 src/main.c:522
- #, c-format
- msgid "Language `%s' is ambiguous"
- -msgstr ""
- +msgstr "Jêzyk `%s' jest niejednoznaczny"
-
- #. -1
- #: src/main.c:468 src/main.c:526
- #, c-format
- msgid "Language `%s' is unknown"
- -msgstr ""
- +msgstr "Jêzyk `%s' jest nieznany"
-
- #: src/main.c:560
- #, c-format
- msgid "Format `%s' is ambiguous"
- -msgstr ""
- +msgstr "Format `%s' jest niejednoznaczny"
-
- #: src/main.c:564
- #, c-format
- msgid "Format `%s' is unknown"
- -msgstr ""
- +msgstr "Format `%s' jest nieznany"
-
- #: src/main.c:621
- -#, fuzzy
- msgid "Written by Franc,ois Pinard <pinard@iro.umontreal.ca>.\n"
- -msgstr ""
- -"\n"
- -"Autorem jest Franc,ois Pinard <pinard@iro.umontreal.ca>.\n"
- +msgstr "Autorem jest François Pinard <pinard@iro.umontreal.ca>.\n"
-
- #: src/main.c:624
- msgid ""
- @@ -327,57 +315,57 @@
- "This is free software; see the source for copying conditions. There is NO\n"
- "warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n"
- msgstr ""
- -"Oprogramowanie darmowe; warunki jego kopiowania znajdziesz w kodzie\n"
- +"Oprogramowanie darmowe; warunki jego kopiowania znajduj± siê w kodzie\n"
- "¼ród³owym. Nie podlega ¿adnej gwarancji, nawet gwarancji przydatno¶ci\n"
- "do jakiegokolwiek zastosowania lub sprzeda¿y.\n"
-
- #: src/main.c:669
- #, c-format
- msgid "Symbol `%s' is unknown"
- -msgstr ""
- +msgstr "Symbol `%s' jest nieznany"
-
- #: src/main.c:709 src/main.c:723
- #, c-format
- msgid "Charset `%s' is unknown or ambiguous"
- -msgstr ""
- +msgstr "Zestaw znaków `%s' jest nieznany lub niejednoznaczny"
-
- #: src/main.c:754
- msgid "Required argument is missing"
- -msgstr ""
- +msgstr "Brak wymaganego parametru"
-
- #: src/main.c:797
- -#, fuzzy, c-format
- +#, c-format
- msgid "Syntax is deprecated, please prefer `%s'"
- msgstr "Odradza siê stosowanie tej sk³adni, proszê u¿ywaæ `%s'"
-
- #: src/main.c:803
- #, c-format
- msgid "Request `%s' is erroneous"
- -msgstr ""
- +msgstr "Polecenie `%s' jest b³êdne"
-
- #: src/main.c:903
- #, c-format
- msgid "Recoding %s..."
- -msgstr "Przekodowanie %s..."
- +msgstr "Przekodowywanie %s..."
-
- #: src/main.c:913
- msgid " done\n"
- msgstr " skoñczone\n"
-
- #: src/main.c:954
- -#, fuzzy, c-format
- +#, c-format
- msgid " failed: %s in step `%s..%s'\n"
- -msgstr " nie powiod³o siê: %s w %s..%s\n"
- +msgstr " nie powiod³o siê: %s w `%s..%s'\n"
-
- #: src/main.c:961
- -#, fuzzy, c-format
- +#, c-format
- msgid "%s failed: %s in step `%s..%s'"
- -msgstr "%s nie powiod³o siê: %s w %s..%s"
- +msgstr "%s nie powiod³o siê: %s w `%s..%s'"
-
- #: src/main.c:984
- -#, fuzzy, c-format
- +#, c-format
- msgid "%s in step `%s..%s'"
- -msgstr "%s w %s..%s"
- +msgstr "%s w `%s..%s'"
-
- #: src/names.c:335
- #, c-format
- @@ -531,7 +519,7 @@
-
- #: src/request.c:1013
- msgid "Expecting `..' in request"
- -msgstr "Spodziewane `..' w poleceniu"
- +msgstr "Oczekiwano `..' w poleceniu"
-
- #: src/task.c:826 src/task.c:1002
- #, c-format
- @@ -545,236 +533,3 @@
- msgstr ""
- "UCS2 Mne Description\n"
- "\n"
- -
- -#~ msgid "CHARSET has no default, define DEFAULT_CHARSET in the environment.\n"
- -#~ msgstr ""
- -#~ "ZESTAW znaków nie ma warto¶ci domy¶lnej, ustaw zmienn± ¶rodowiskow±\n"
- -#~ "DEFAULT_CHARSET.\n"
- -
- -#~ msgid "Ambiguous sequence `%s'"
- -#~ msgstr "Nierozpoznana sekwencja `%s'"
- -
- -#~ msgid "Unknown sequence `%s'"
- -#~ msgstr "Nieznana sekwencja `%s'"
- -
- -#~ msgid "Ambiguous language `%s'"
- -#~ msgstr "Nierozpoznany jêzyk `%s'"
- -
- -#~ msgid "Unknown language `%s'"
- -#~ msgstr "Nieznany jêzyk `%s'"
- -
- -#~ msgid "Ambiguous format `%s'"
- -#~ msgstr "Nierozpoznany format `%s'"
- -
- -#~ msgid "Unknown format `%s'"
- -#~ msgstr "Nieznany format `%s'"
- -
- -#~ msgid "Erroneous request `%s'"
- -#~ msgstr "B³êdne polecenie `%s'"
- -
- -#~ msgid " Each input char transforms into an output string,\n"
- -#~ msgstr " Ka¿dy znak wej¶ciowy jest konwertowany na ³añcuch wyj¶ciowy,\n"
- -
- -#~ msgid " Each input char transforms into an output string.\n"
- -#~ msgstr " Ka¿dy znak wej¶ciowy jest konwertowany na ³añcuch wyj¶ciowy.\n"
- -
- -#~ msgid " Programming is needed to handle multichar input.\n"
- -#~ msgstr ""
- -#~ " Do obs³ugi kodów wieloznakowych potrzebna jest umiejêtno¶æ "
- -#~ "programowania.\n"
- -
- -#~ msgid " The recoding might not be reversible.\n"
- -#~ msgstr " Konwersja mo¿e byæ nieodwracalna.\n"
- -
- -#~ msgid " The recoding should be reversible.\n"
- -#~ msgstr " Konwersja powinna byæ odwracalna.\n"
- -
- -#~ msgid " programming is needed to handle multichar input.\n"
- -#~ msgstr ""
- -#~ " do obs³ugi kodów wieloznakowych potrzebna jest umiejêtno¶æ "
- -#~ "programowania.\n"
- -
- -#~ msgid " UNACHIEVABLE\n"
- -#~ msgstr " NIEOSI¡GALNE\n"
- -
- -#~ msgid "%s: Recoding is not reversible"
- -#~ msgstr "%s: Konwersja jest nieodwracalna"
- -
- -#~ msgid ", %d saved by merging"
- -#~ msgstr ", %d zachowane przez z³±czenie"
- -
- -#~ msgid "/* Conversion table from `%s' charset to `%s' charset.\n"
- -#~ msgstr "/* Tablica konwersji zestawow znakow `%s' na `%s'.\n"
- -
- -#~ msgid "Cannot auto check on %s"
- -#~ msgstr "Nie mogê automatycznie sprawdziæ %s"
- -
- -#~ msgid "Cannot auto check the ignored charset"
- -#~ msgstr "Nie mogê automatycznie sprawdziæ ignorowanego zestawu znaków"
- -
- -#~ msgid "Currently, -s is ignored when -g is selected"
- -#~ msgstr "Opcja -s jest wy³±czana przez opcjê -g"
- -
- -#~ msgid "Hash stats: %d names using %d buckets out of %d\n"
- -#~ msgstr "Wyniki przeszukiwania: %d u¿ywa %d spo¶ród %d zbiorów\n"
- -
- -#~ msgid "Internal error - strategy undecided"
- -#~ msgstr "B³±d wewnêtrzy - niezdecydowana strategia"
- -
- -#~ msgid "MAX_CHARSETS is too small"
- -#~ msgstr "MAX_CHARSETS jest za ma³e"
- -
- -#~ msgid "MAX_SEQUENCE is too small"
- -#~ msgstr "MAX_SEQUENCE jest za ma³e"
- -
- -#~ msgid "MAX_SINGLE_STEPS is too small"
- -#~ msgstr "MAX_SINGLE_STEPS jest za ma³e"
- -
- -#~ msgid "Mere copy for the trivial recoding\n"
- -#~ msgstr "Zwyk³a kopia do prostego przekodowania\n"
- -
- -#~ msgid "ONE to SAME"
- -#~ msgstr "ONE na SAME"
- -
- -#~ msgid "Recoding is not reversible"
- -#~ msgstr "Przekodowanie jest nieodwracalne"
- -
- -#~ msgid "Simplified to: "
- -#~ msgstr "Uproszczone do: "
- -
- -#~ msgid "UNACHIEVABLE recoding!\n"
- -#~ msgstr "NIEOSI¡GALNE przekodowanie!\n"
- -
- -#~ msgid "You may not explicitly recode from RFC 1345"
- -#~ msgstr "Nie ma potrzebt ¶cis³ego przekodowania z RFC 1345"
- -
- -#~ msgid " -o, --sequence=popen same as -i (on this system)\n"
- -#~ msgstr " -o, --sequence=popen identyczne jak -i (w tym systemie)\n"
- -
- -#~ msgid ""
- -#~ " -o, --sequence=popen use popen machinery for sequencing passes\n"
- -#~ msgstr ""
- -#~ " -o, --sequence=popen u¿ycie techniki popen w przebiegach sekwencyjnych\n"
- -
- -#~ msgid ""
- -#~ " -q, --quiet, --silent inhibit messages about irreversible recodings\n"
- -#~ " -s, --strict use strict mappings, even loose characters\n"
- -#~ " -t, --touch touch the recoded files after replacement\n"
- -#~ " -v, --verbose explain sequence of steps and report progress\n"
- -#~ " -x, --ignore=CHARSET ignore CHARSET while choosing a recoding path\n"
- -#~ "\n"
- -#~ "If none of -i, -o and -p are given, presume -p if no FILE, else -i.\n"
- -#~ "Each FILE is recoded over itself, destroying the original. If no\n"
- -#~ "FILE is specified, then act as a filter and recode stdin to stdout.\n"
- -#~ msgstr ""
- -#~ " -q, --quiet, --silent blokuj komunikaty o nieodwracalnych konwersjach\n"
- -#~ " -s, --strict u¿ywaj ¶cis³ych odwzorowañ, nawet dla w±tpliwych "
- -#~ "znaków\n"
- -#~ " -t, --touch uaktualnij datê przekodowanego, podstawionego "
- -#~ "pliku\n"
- -#~ " -v, --verbose pokazuj kolejne kroki i postêp konwersji\n"
- -#~ " -x, --ignore=ZESTAW ignoruj ZESTAW znaków przy wyborze konwersji\n"
- -#~ "\n"
- -#~ "Je¶li nie wybrano ¿adnej z opcji -i, -o lub -p, i nie ma agumentu PLIK,\n"
- -#~ "domy¶lnie przyjmowana jest opcja -p, w przeciwnym wypadku -i. Ka¿dy PLIK\n"
- -#~ "po konwersji jest zapisywany pod t± sam± nazw±, z usuniêciem orygina³u.\n"
- -#~ "Je¶li brak PLIKu, recode dzia³a jak filtr i konwertuje z stdin na stdout.\n"
- -
- -#~ msgid "BEFORE and AFTER both default to `%s' when needed.\n"
- -#~ msgstr "PRZED i PO w razie potrzeby s± ustawiane domy¶lnie na `%s'.\n"
- -
- -#~ msgid ""
- -#~ "Mandatory or optional arguments to long options are mandatory or optional\n"
- -#~ "for short options too.\n"
- -#~ "\n"
- -#~ " -C, --copyright display Copyright and copying conditions\n"
- -#~ " -a, --auto-check report about some or all recoding paths, then exit\n"
- -#~ " -l, --list[=FORMAT] list one or all known charsets\n"
- -#~ " -k, --known=PAIRS restrict charsets according to known PAIRS list\n"
- -#~ " --help display this help and exit\n"
- -#~ " --version output version information and exit\n"
- -#~ "\n"
- -#~ "FORMAT is a word among decimal, octal, hexadecimal or full (which may be\n"
- -#~ "abbreviated to one of `dohf'), it defaults to just the canonical name.\n"
- -#~ "With -k, possible before charsets are listed for the given after CHARSET,\n"
- -#~ "both being RFC1345 charsets, with PAIRS of the form "
- -#~ "`BEF1:AFT1,BEF2:AFT2,...\n"
- -#~ "and BEFs and AFTs being codes. All codes are given as decimal numbers.\n"
- -#~ msgstr ""
- -#~ "Obowi±zkowe lub opcjonalne argumenty d³ugich form opcji maj± tak± sam±\n"
- -#~ "postaæ dla krótkich form.\n"
- -#~ "\n"
- -#~ " -C, --copyright wy¶wietl informacje licencyjne i warunki kopiowania\n"
- -#~ " -a, --auto-check wy¶wietl ¶cie¿ki konwersji i zakoñcz pracê\n"
- -#~ " -l, --list[=FORMAT] wy¶wietl znane zestawy znaków\n"
- -#~ " -k, --known=PARY ogranicz zestawy znaków wg. podanych PAR\n"
- -#~ " --help wy¶wietl ten tekst pomocy i zakoñcz pracê\n"
- -#~ " --version wy¶wietl wersjê programu i zakoñcz pracê\n"
- -#~ "\n"
- -#~ "FORMAT jest jednym z: decimal, octal, hexadecimal oraz full (skróty: dohf)\n"
- -#~ "Domy¶lnie wy¶wietlane s± tylko nazwy kanoniczne wszystkich standardów.\n"
- -#~ "Dla opcjê -k podaje siê dla danego zestawu PO pary decymalnych kodów znaków\n"
- -#~ "z zestawów RFC1345, postaci: PRZED1:PO2,PRZED2:PO2,...\n"
- -
- -#~ msgid ""
- -#~ "Option -l with no FORMAT nor CHARSET list all charsets, also see the "
- -#~ "Texinfo\n"
- -#~ "documentation. My preferred charsets are (each user has preferences):\n"
- -#~ "\n"
- -#~ " ascii-bs ASCII (7-bit), using backspace to apply diacritics\n"
- -#~ " ibmpc IBM-PC 8-bit characters, with proper newlines\n"
- -#~ " latex LaTeX coding of foreign and diacriticized characters\n"
- -#~ " latin1 ISO Latin-1 8-bit extension of ASCII\n"
- -#~ " texte Easy French convention for transmitting email messages\n"
- -#~ msgstr ""
- -#~ "Opcja -l bez podania FORMATu i ZESTAWu wy¶wietla listê wszystkich zestawów\n"
- -#~ "(szczegó³y w dokumentacji). Ulubione zestawy Autora to:\n"
- -#~ "\n"
- -#~ " ascii-bs ASCII (7-bitowy), znak BS u¿ywany do dodawania ogonków\n"
- -#~ " ibmpc IBM-PC 8-bitowe znaki, z odpowiednimi znakami nowej linii\n"
- -#~ " latex kodowanie znaków diakrytycznych w formacie LaTeXa\n"
- -#~ " latin1 ISO Latin-1 8-bitowe rozszerzenie ASCII\n"
- -#~ " texte popularny francuski standard stosowany w emailu\n"
- -
- -#~ msgid ""
- -#~ "\n"
- -#~ " -c, --colons use colons instead of double quotes for diaeresis\n"
- -#~ " -d, --diacritics limit conversion to diacritics or alike for LaTeX\n"
- -#~ " -f, --force force recodings even if they are not reversible\n"
- -#~ " (BEWARE: in this version, -f is always selected)\n"
- -#~ " -g, --graphics approximate IBMPC rulers by ASCII graphics\n"
- -#~ " -h, --header[=NAME] write C code with table NAME on stdout, then exit\n"
- -#~ " -i, --sequence=files use intermediate files for sequencing passes\n"
- -#~ msgstr ""
- -#~ "\n"
- -#~ " -c, --colons u¿ywaj dwukropków zamiast cudzys³owów\n"
- -#~ " -d, --diacritics ogranicz konwersjê do zn. diakryt. itp. dla "
- -#~ "LaTeXa\n"
- -#~ " -f, --force wymuszaj konwersje, nawet je¶li s± nieodwracalne\n"
- -#~ " (UWAGA: w tej wersji -f zawsze obowi±zuje)\n"
- -#~ " -g, --graphics przybli¿aj ramki IBMPC za pomoc± znaków ASCII\n"
- -#~ " -h, --header[=NAZWA] wypisz zestaw NAZWA w postaci kodu C na stdout\n"
- -#~ " -i, --sequence=pliki u¿ywaj plików po¶rednich do przebiegów "
- -#~ "sekwencyjnych\n"
- -
- -#~ msgid ""
- -#~ "\n"
- -#~ "Usage: %s [OPTION]... [BEFORE]:[AFTER] [FILE]...\n"
- -#~ msgstr ""
- -#~ "\n"
- -#~ "Sk³adnia: %s [OPCJA]... [PRZED]:[PO] [PLIK]...\n"
- -
- -#~ msgid "many to many"
- -#~ msgstr "wiele na wiele"
- -
- -#~ msgid "many to one"
- -#~ msgstr "wiele na jeden"
- -
- -#~ msgid "one to many"
- -#~ msgstr "jeden na wiele"
- -
- -#~ msgid "one to one"
- -#~ msgstr "jeden na jeden"
- -
- -#~ msgid "steps: %d"
- -#~ msgstr "kroków: %d"
- --- recode-3.6.orig/i18n/it.po
- +++ recode-3.6/i18n/it.po
- @@ -1,6 +1,6 @@
- -# MESSAGGI IN ITALIANO PER GNU RECODE.
- -# Copyright (C) 1999 Free Software Foundation, Inc.
- -# Lorenzo Cappelletti <L.Cappelletti@POBoxes.com>, 1999.
- +# PO FILE FOR GNU'S RECODE.
- +# Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc.
- +# Lorenzo Cappelletti <L.Cappelletti@mail.com>, 1999, 2000, 2001.
- #
- # table -> tabella
- # character set -> insieme di caratteri
- @@ -10,11 +10,11 @@
- #
- msgid ""
- msgstr ""
- -"Project-Id-Version: GNU recode 3.5\n"
- +"Project-Id-Version: GNU recode 3.6\n"
- "POT-Creation-Date: 2001-01-02 22:35+0100\n"
- -"PO-Revision-Date: 1999-11-19 23:30+01:00\n"
- -"Last-Translator: Lorenzo Cappelletti <L.Cappelletti@POBoxes.com>\n"
- -"Language-Team: Italian <it@li.org>\n"
- +"PO-Revision-Date: 2001-07-01 09:41+02:00\n"
- +"Last-Translator: Lorenzo Cappelletti <L.Cappelletti@mail.com>\n"
- +"Language-Team: Italian <tp@lists.linux.it>\n"
- "MIME-Version: 1.0\n"
- "Content-Type: text/plain; charset=ISO-8859-1\n"
- "Content-Transfer-Encoding: 8-bit\n"
- @@ -86,22 +86,16 @@
- msgid "Try `%s %s' for more information.\n"
- msgstr "Usare `%s %s' per ulteriori informazioni.\n"
-
- -# Libero `recode' non mi piace
- -# Cosa sono le surfaces in questo contesto?
- +# I dislike "Libero `recode'" as tranlation
- +# What does surface mean in this context?
- #: src/main.c:237
- -msgid ""
- -"Free `recode' converts files between various character sets and surfaces.\n"
- -msgstr ""
- -"`recode' gratuito converte file fra vari insiemi di caratteri e surface.\n"
- +msgid "Free `recode' converts files between various character sets and surfaces.\n"
- +msgstr "`recode' gratuito converte file fra vari insiemi di caratteri e surface.\n"
-
- #: src/main.c:241
- #, c-format
- -msgid ""
- -"\n"
- -"Usage: %s [OPTION]... [ [CHARSET] | REQUEST [FILE]... ]\n"
- -msgstr ""
- -"\n"
- -"Uso: %s [OPZIONI]... [ [CHARSET] | RICHIESTA [FILE]... ]\n"
- +msgid "\nUsage: %s [OPTION]... [ [CHARSET] | REQUEST [FILE]... ]\n"
- +msgstr "\nUso: %s [OPZIONI]... [ [CHARSET] | RICHIESTA [FILE]... ]\n"
-
- #: src/main.c:244
- msgid ""
- @@ -115,13 +109,11 @@
- "opzionali.\n"
-
- #: src/main.c:250
- -#, fuzzy
- msgid ""
- "\n"
- "Listings:\n"
- " -l, --list[=FORMAT] list one or all known charsets and aliases\n"
- -" -k, --known=PAIRS restrict charsets according to known PAIRS "
- -"list\n"
- +" -k, --known=PAIRS restrict charsets according to known PAIRS list\n"
- " -h, --header[=[LN/]NAME] write table NAME on stdout using LN, then exit\n"
- " -F, --freeze-tables write out a C module holding all tables\n"
- " -T, --find-subsets report all charsets being subset of others\n"
- @@ -131,16 +123,14 @@
- msgstr ""
- "\n"
- "Elenchi:\n"
- -" -l, --list[=FORMATO] lista uno o tutti i charset conosciuti\n"
- -" -k, --known=COPPIE restringe i charset secondo le COPPIE "
- -"conosciute\n"
- +" -l, --list[=FORMATO] lista uno o tutti i charset e alias conosciuti\n"
- +" -k, --known=COPPIE restringe i charset secondo le COPPIE conosciute\n"
- " -h, --header[=[LN/]NOME] scrive la tabella NOME sullo stdout usando LN,\n"
- -" poi esce\n"
- -" -F, --freeze-tables riporta un modulo C contenente tutte le "
- -"tabelle\n"
- +" quindi esce\n"
- +" -F, --freeze-tables riporta un modulo C contenente tutte le tabelle\n"
- " -T, --find-subsets riporta tutti i charset sottoinsiemi di altri\n"
- -" -C, --copyright mostra le condizioni del Copyright e "
- -"riproduzione\n"
- +" charset\n"
- +" -C, --copyright mostra le condizioni di Copyright e riproduzione\n"
- " --help mostra questo aiuto ed esce\n"
- " --version informazioni sulla versione ed uscita\n"
-
- @@ -157,8 +147,7 @@
- msgstr ""
- "\n"
- "Modi operativi:\n"
- -" -v, --verbose spiega le sequenze dei passi e riporta i "
- -"progressi\n"
- +" -v, --verbose spiega le sequenze dei passi e riporta i progressi\n"
- " -q, --quiet, --silent inibisce i messaggi di ricodifiche inreversibili\n"
- " -f, --force forza le ricodifiche anche quando non reversibili\n"
- " -t, --touch touch dei file ricodificati dopo la sostituzione\n"
- @@ -167,8 +156,7 @@
-
- #: src/main.c:275
- msgid " -p, --sequence=pipe use pipe machinery for sequencing passes\n"
- -msgstr ""
- -" -p, --sequence=pipe usa il sistema dei pipe per i passi sequenziali\n"
- +msgstr " -p, --sequence=pipe usa il sistema dei pipe per i passi sequenziali\n"
-
- #: src/main.c:280
- msgid " -p, --sequence=pipe same as -i (on this system)\n"
- @@ -187,17 +175,12 @@
- msgstr ""
- "\n"
- "Regolazioni fini:\n"
- -" -s, --strict usa mappature strettamente conformi, anche con "
- -"caratteri slegati\n"
- -" -d, --diacritics converte solo segni diacritici o simili per "
- -"HTML/LaTeX\n"
- -" -S, --source[=LN] limita la ricodifica a stringhe e commenti come per "
- -"LN\n"
- -" -c, --colons usa i due punti al posto delle virgolette per le "
- -"dieresi\n"
- +" -s, --strict usa mappature strettamente conformi, anche con caratteri slegati\n"
- +" -d, --diacritics converte solo segni diacritici o simili per HTML/LaTeX\n"
- +" -S, --source[=LN] limita la ricodifica a stringhe e commenti come per LN\n"
- +" -c, --colons usa i due punti al posto delle virgolette per le dieresi\n"
- " -g, --graphics approssima le regole IBMPC con grafica ASCII\n"
- -" -x, --ignore=CHARSET ignora CHARSET quando sceglie un percorso di "
- -"ricodifica\n"
- +" -x, --ignore=CHARSET ignora CHARSET quando sceglie un percorso di ricodifica\n"
-
- #: src/main.c:296
- msgid ""
- @@ -211,46 +194,33 @@
- "`esadecimale'(h) o `pieno'(f) (oppure uno tra `dohf').\n"
-
- #: src/main.c:302
- -#, fuzzy
- msgid ""
- -"Unless DEFAULT_CHARSET is set in environment, CHARSET defaults to the "
- -"locale\n"
- +"Unless DEFAULT_CHARSET is set in environment, CHARSET defaults to the locale\n"
- "dependent encoding, determined by LC_ALL, LC_CTYPE, LANG.\n"
- -msgstr ""
- -"Se DEFAULT_CHARSET non è specificato nell'ambiente, il CHARSET predefinito\n"
- -"è `%s`.\n"
- +msgstr "A meno che DEFAULT_CHARSET non sia specificato nell'ambiente, il CHARSET viene predefinito secondo la codifica locale, determinata da LC_ALL, LC_TYPE, LANG.\n"
-
- -# Non riesco assolutamente a capire la costruzione logica di questa frase
- +# I am not able to understand the logical structure of this sentence.
- #: src/main.c:307
- msgid ""
- "With -k, possible before charsets are listed for the given after CHARSET,\n"
- -"both being tabular charsets, with PAIRS of the form "
- -"`BEF1:AFT1,BEF2:AFT2,...'\n"
- +"both being tabular charsets, with PAIRS of the form `BEF1:AFT1,BEF2:AFT2,...'\n"
- "and BEFs and AFTs being codes are given as decimal numbers.\n"
- msgstr ""
- -"Con -k, possibile prima, charset vengono listati per quelli dati dopo "
- -"CHARSET,\n"
- -"entrambi essendo charset tabulari, con COPPIE nella foram "
- -"`BEF1:AFT1,BEF2:AFT2,...',\n"
- +"Con -k, possibile prima, charset vengono listati per quelli dati dopo CHARSET,\n"
- +"entrambi essendo charset tabulari, con COPPIE nella foram `BEF1:AFT1,BEF2:AFT2,...',\n"
- "dove BEF e AFT sono codici forniti come numeri decimali.\n"
-
- #: src/main.c:312
- -msgid ""
- -"LN is some language, it may be `c', `perl' or `po'; `c' is the default.\n"
- -msgstr ""
- -"LN è qualche lingua, può essere `c', `perl' o `po'; quella predefinita è "
- -"`c'.\n"
- +msgid "LN is some language, it may be `c', `perl' or `po'; `c' is the default.\n"
- +msgstr "LN è qualche lingua, può essere `c', `perl' o `po'; quella predefinita è `c'.\n"
-
- #: src/main.c:315
- msgid ""
- "\n"
- -"REQUEST is SUBREQUEST[,SUBREQUEST]...; SUBREQUEST is "
- -"ENCODING[..ENCODING]...\n"
- -"ENCODING is [CHARSET][/[SURFACE]]...; REQUEST often looks like "
- -"BEFORE..AFTER,\n"
- +"REQUEST is SUBREQUEST[,SUBREQUEST]...; SUBREQUEST is ENCODING[..ENCODING]...\n"
- +"ENCODING is [CHARSET][/[SURFACE]]...; REQUEST often looks like BEFORE..AFTER,\n"
- "with BEFORE and AFTER being charsets. An omitted CHARSET implies the usual\n"
- -"charset; an omitted [/SURFACE]... means the implied surfaces for CHARSET; a "
- -"/\n"
- +"charset; an omitted [/SURFACE]... means the implied surfaces for CHARSET; a /\n"
- "with an empty surface name means no surfaces at all. See the manual.\n"
- msgstr ""
- "\n"
- @@ -269,66 +239,53 @@
- "FILE is specified, then act as a filter and recode stdin to stdout.\n"
- msgstr ""
- "\n"
- -"Se non è dato -i né -p, si presume -p se FILE non è presente, altrimenti "
- -"-i.\n"
- -"Ogni FILE è ricodificato su se stesso, ditruggendo l'originale. Se non "
- -"viene\n"
- +"Se non è dato -i né -p, si presume -p se FILE non è presente, altrimenti -i.\n"
- +"Ogni FILE è ricodificato su se stesso, ditruggendo l'originale. Se non viene\n"
- "specificato nessun FILE, allora si comporta come un filtro ricodificando lo\n"
- "stdin sullo stdout.\n"
-
- #: src/main.c:329
- -msgid ""
- -"\n"
- -"Report bugs to <recode-bugs@iro.umontreal.ca>.\n"
- -msgstr ""
- -"\n"
- -"Segnalare i bug a <recode-bugs@iro.umontreal.ca>.\n"
- +msgid "\nReport bugs to <recode-bugs@iro.umontreal.ca>.\n"
- +msgstr "\nSegnalare i bug a <recode-bugs@iro.umontreal.ca>.\n"
-
- #: src/main.c:430
- #, c-format
- msgid "Sequence `%s' is ambiguous"
- -msgstr ""
- +msgstr "La sequenza `%s' è ambigua"
-
- #: src/main.c:434
- #, c-format
- msgid "Sequence `%s' is unknown"
- -msgstr ""
- +msgstr "La sequenza `%s' è sconosciuta"
-
- #: src/main.c:464 src/main.c:522
- #, c-format
- msgid "Language `%s' is ambiguous"
- -msgstr ""
- +msgstr "Il linguaggio `%s' è ambiguo"
-
- #. -1
- #: src/main.c:468 src/main.c:526
- #, c-format
- msgid "Language `%s' is unknown"
- -msgstr ""
- +msgstr "Il linguaggio `%s' è sconosciuto"
-
- #: src/main.c:560
- #, c-format
- msgid "Format `%s' is ambiguous"
- -msgstr ""
- +msgstr "Il formato `%s' è ambiguo"
-
- #: src/main.c:564
- #, c-format
- msgid "Format `%s' is unknown"
- -msgstr ""
- +msgstr "Il formato `%s' è sconosciuto"
-
- #: src/main.c:621
- -#, fuzzy
- msgid "Written by Franc,ois Pinard <pinard@iro.umontreal.ca>.\n"
- -msgstr ""
- -"\n"
- -"Scritto da Franc,ois Pinard <pinard@iro.umontreal.ca>.\n"
- +msgstr "Scritto da Franc,ois Pinard <pinard@iro.umontreal.ca>.\n"
-
- #: src/main.c:624
- -msgid ""
- -"\n"
- -"Copyright (C) 1990, 92, 93, 94, 96, 97, 99 Free Software Foundation, Inc.\n"
- -msgstr ""
- -"\n"
- -"Copyright (C) 1990, 92, 93, 94, 96, 97, 99 Free Software Foundation, Inc.\n"
- +msgid "\nCopyright (C) 1990, 92, 93, 94, 96, 97, 99 Free Software Foundation, Inc.\n"
- +msgstr "\nCopyright (C) 1990, 92, 93, 94, 96, 97, 99 Free Software Foundation, Inc.\n"
-
- #: src/main.c:628
- msgid ""
- @@ -342,26 +299,26 @@
- #: src/main.c:669
- #, c-format
- msgid "Symbol `%s' is unknown"
- -msgstr ""
- +msgstr "Il simbolo `%s' è sconosciuto"
-
- #: src/main.c:709 src/main.c:723
- #, c-format
- msgid "Charset `%s' is unknown or ambiguous"
- -msgstr ""
- +msgstr "Il charset `%s' è sconosciuto o ambiguo"
-
- #: src/main.c:754
- msgid "Required argument is missing"
- -msgstr ""
- +msgstr "Manca un argomento indispensabile"
-
- #: src/main.c:797
- -#, fuzzy, c-format
- +#, c-format
- msgid "Syntax is deprecated, please prefer `%s'"
- -msgstr "Sintassi sconsigliata, si preferisca `%s'"
- +msgstr "La sintassi è sconsigliata, si preferisca `%s'"
-
- #: src/main.c:803
- #, c-format
- msgid "Request `%s' is erroneous"
- -msgstr ""
- +msgstr "La richiesta `%s' è errata"
-
- #: src/main.c:903
- #, c-format
- @@ -373,19 +330,19 @@
- msgstr " fatto\n"
-
- #: src/main.c:954
- -#, fuzzy, c-format
- +#, c-format
- msgid " failed: %s in step `%s..%s'\n"
- -msgstr " fallito: %s in %s..%s\n"
- +msgstr " fallito: %s al passo `%s..%s'\n"
-
- #: src/main.c:961
- -#, fuzzy, c-format
- +#, c-format
- msgid "%s failed: %s in step `%s..%s'"
- -msgstr "%s fallito: %s in %s..%s"
- +msgstr "%s fallito: %s al passo `%s..%s'"
-
- #: src/main.c:984
- -#, fuzzy, c-format
- +#, c-format
- msgid "%s in step `%s..%s'"
- -msgstr "%s in %s..%s"
- +msgstr "%s al passo `%s..%s'"
-
- #: src/names.c:335
- #, c-format
- @@ -426,12 +383,12 @@
- msgstr "Memoria virtuale esaurita"
-
- #: src/recode.c:155
- -#, c-format, ycp-format
- +#, c-format
- msgid "Codes %3d and %3d both recode to %3d"
- msgstr "Entrambi i codici %3d e %3d si ricodificano in %3d"
-
- #: src/recode.c:169
- -#, c-format, ycp-format
- +#, c-format
- msgid "No character recodes to %3d"
- msgstr "Nessun carattere si ricodifica in %3d"
-
- @@ -453,7 +410,6 @@
- msgid "Cannot complete table from set of known pairs"
- msgstr "Impossibile completare la tabella dall'insieme delle coppie conosciute"
-
- -# Una forma migliore per identity recoding?
- #: src/recode.c:497
- msgid "Identity recoding, not worth a table"
- msgstr "Sto ricodificando nell'identità, tabella non significativa"
- @@ -490,7 +446,7 @@
- msgid "byte"
- msgstr "byte"
-
- -# Verificare il significato della sigla
- +# Chech out the meaning of the acronym
- #: src/request.c:38 src/request.c:40
- msgid "ucs2"
- msgstr "ucs2"
- @@ -549,14 +505,11 @@
- msgstr "Lo stato di attesa del processo figlio è 0x%0.2x"
-
- #: src/testdump.c:298
- -msgid ""
- -"UCS2 Mne Description\n"
- -"\n"
- +msgid "UCS2 Mne Description\n\n"
- msgstr "UCS2 Mne Descrizione\n"
-
- #~ msgid "CHARSET has no default, define DEFAULT_CHARSET in the environment.\n"
- -#~ msgstr ""
- -#~ "Nessun CHARSET predefinito, definire DEFAULT_CHARSET nell'ambiente.\n"
- +#~ msgstr "Nessun CHARSET predefinito, definire DEFAULT_CHARSET nell'ambiente.\n"
-
- #~ msgid "Ambiguous sequence `%s'"
- #~ msgstr "Sequenza ambigua `%s'"
- --- recode-3.6.orig/i18n/tr.po
- +++ recode-3.6/i18n/tr.po
- @@ -0,0 +1,517 @@
- +# Recode Turkish Translation
- +# Copyright (C) 2002 Free Software Foundation, Inc.
- +# Ä°rfan Macit <imacit@mail.cu.edu.tr>, 2002.
- +#
- +msgid ""
- +msgstr ""
- +"Project-Id-Version: recode 3.6\n"
- +"POT-Creation-Date: 2001-01-02 22:35+0100\n"
- +"PO-Revision-Date: 2002-06-20 11:00EET\n"
- +"Last-Translator: Ä°rfan Macit <imacit@mail.cu.edu.tr>\n"
- +"Language-Team: Turkish <gnu-tr-u12a@lists.sourceforge.net>\n"
- +"MIME-Version: 1.0\n"
- +"Content-Type: text/plain; charset=UTF-8\n"
- +"Content-Transfer-Encoding: 8bit\n"
- +
- +#: src/main.c:142
- +msgid "No error"
- +msgstr "Hata yok"
- +
- +#: src/main.c:145
- +msgid "Non canonical input"
- +msgstr "Ana biçem olmayan girdi"
- +
- +#: src/main.c:148
- +msgid "Ambiguous output"
- +msgstr "Belirsiz çıktı"
- +
- +#: src/main.c:151
- +msgid "Untranslatable input"
- +msgstr "Çevrilemeyen girdi"
- +
- +#: src/main.c:154
- +msgid "Invalid input"
- +msgstr "Geçersiz girdi"
- +
- +#: src/main.c:157
- +msgid "System detected problem"
- +msgstr "Sistem hata buldu"
- +
- +#: src/main.c:160
- +msgid "Misuse of recoding library"
- +msgstr "Yeniden kodlama kitaplığı hatalı kullanılmış"
- +
- +#: src/main.c:163
- +msgid "Internal recoding bug"
- +msgstr "İçsel yeniden kodlama hatası"
- +
- +#: src/main.c:208
- +msgid ""
- +"This program is free software; you can redistribute it and/or modify\n"
- +"it under the terms of the GNU General Public License as published by\n"
- +"the Free Software Foundation; either version 2, or (at your option)\n"
- +"any later version.\n"
- +"\n"
- +"This program is distributed in the hope that it will be useful,\n"
- +"but WITHOUT ANY WARRANTY; without even the implied warranty of\n"
- +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n"
- +"GNU General Public License for more details.\n"
- +"\n"
- +"You should have received a copy of the GNU General Public License\n"
- +"along with this program; if not, write to the Free Software Foundation,\n"
- +"Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n"
- +msgstr ""
- +"Bu bir serbest yazılımdır; Free Software Foundation tarafından yayınlanan\n"
- +"GNU Genel Kamu Lisansı'nın 2. veya (sizin tercihinize bağlı olarak) daha\n"
- +"sonraki bir sürümü altında yeniden dağıtabilir ve/veya değiştirebilirsiniz\n"
- +"\n"
- +"Bu yazılım faydalı olacağı umularak dağıtılmaktadır, fakat\n"
- +"HİÇ BİR GARANTİSİ YOKTUR; SATILABİLİRLİĞİ veya\n"
- +"HERHANGİ BİR AMACA UYGUNLUĞU için dahi zımni bir garanti\n"
- +"içermez. Daha fazla bilgi için GNU Genel Kamu Lisansı'na bakın.\n"
- +"\n"
- +"Bu yazılımla birlikte GNU Genel Kamu Lisansı'nın bir kopyası gelmiş\n"
- +"olmalıdır; eğer yok ise, lütfen Free Software Foundation, Inc., 59 Temple\n"
- +"Place - Suite 330, Boston, MA 02111-1307, USA/ABD adresine yazın.\n"
- +
- +#: src/main.c:233
- +#, c-format
- +msgid "Try `%s %s' for more information.\n"
- +msgstr "Daha fazla bilgi için '%s %s'.\n"
- +
- +#: src/main.c:237
- +msgid "Free `recode' converts files between various character sets and surfaces.\n"
- +msgstr "Serbest `recode', dosyaları değişik karakter kümeleri ve yüzeylere dönüştürür.\n"
- +
- +#: src/main.c:241
- +#, c-format
- +msgid ""
- +"\n"
- +"Usage: %s [OPTION]... [ [CHARSET] | REQUEST [FILE]... ]\n"
- +msgstr ""
- +"\n"
- +"Kullanım: %s [SEÇENEK]...[[KARKÜME] | İSTEK [DOSYA]... ]\n"
- +
- +#: src/main.c:244
- +msgid ""
- +"\n"
- +"If a long option shows an argument as mandatory, then it is mandatory\n"
- +"for the equivalent short option also. Similarly for optional arguments.\n"
- +msgstr ""
- +"\n"
- +"Uzun seçenekler için zorunlu olan argümanlar kısa seçenekler için de\n"
- +"zorunludur. Aynı şey bütün argümanlar için geçerlidir.\n"
- +
- +#: src/main.c:250
- +msgid ""
- +"\n"
- +"Listings:\n"
- +" -l, --list[=FORMAT] list one or all known charsets and aliases\n"
- +" -k, --known=PAIRS restrict charsets according to known PAIRS list\n"
- +" -h, --header[=[LN/]NAME] write table NAME on stdout using LN, then exit\n"
- +" -F, --freeze-tables write out a C module holding all tables\n"
- +" -T, --find-subsets report all charsets being subset of others\n"
- +" -C, --copyright display Copyright and copying conditions\n"
- +" --help display this help and exit\n"
- +" --version output version information and exit\n"
- +msgstr ""
- +"\n"
- +"Seçenekler:\n"
- +" -l, --list[=BİÇEM] bilinen karakter kümeleri ve rumuzların birini ya da hepsini listeler\n"
- +" -k, --known=ÇİFT karakter kümelerini bilinen ÇİFT listesine göre sınırlar.\n"
- +" -h, --header[=[LN/]İSİM] standart çıktıya LN'i kullanarak tablonun İSMİ'ni yazar ve çıkar\n"
- +" -F, --freeze-tables bütün tabloları içeren bir C modülü yazdırır\n"
- +" -T, --find-subsets bir başka kümenin alt kümesi olan bütün karakter kümelerini raporlar\n"
- +" -C, --copyright telif hakkı ve kopyalama koşullarını gösterir\n"
- +" --help bu yardımı gösterir ve çıkar\n"
- +" --version sürüm bilgisini gösterir ve çıkar\n"
- +
- +#: src/main.c:263
- +msgid ""
- +"\n"
- +"Operation modes:\n"
- +" -v, --verbose explain sequence of steps and report progress\n"
- +" -q, --quiet, --silent inhibit messages about irreversible recodings\n"
- +" -f, --force force recodings even when not reversible\n"
- +" -t, --touch touch the recoded files after replacement\n"
- +" -i, --sequence=files use intermediate files for sequencing passes\n"
- +" --sequence=memory use memory buffers for sequencing passes\n"
- +msgstr ""
- +"\n"
- +"Çalışma Kipleri:\n"
- +" -v, --verbose adım sıralarını anlatır ve durum bilgisi gösterir\n"
- +" -q, --quiet, --silent geri dönüşsüz yeniden kodlamalar hakkında bilgi vermez\n"
- +" -f, --force geri dönüşsüz bile olsa yeniden kodlamaları yapar\n"
- +" -t, --touch değişiklikten sonra yeniden kodlanmış dosyalara `touch' uygular\n"
- +" -i, --sequence=files çevrimleri sıralamak için ara dosyalar kullanır\n"
- +" --sequence=memory çevrimleri sıralamak için bellek yastıkları kullanır\n"
- +
- +#: src/main.c:275
- +msgid " -p, --sequence=pipe use pipe machinery for sequencing passes\n"
- +msgstr " -p, --sequence=pipe çevrimleri sıralamak için veriyolu (pipe) kullanır\n"
- +
- +#: src/main.c:280
- +msgid " -p, --sequence=pipe same as -i (on this system)\n"
- +msgstr " -p, --sequence=pipe (bu sistemde) -i ile aynı\n"
- +
- +#: src/main.c:285
- +msgid ""
- +"\n"
- +"Fine tuning:\n"
- +" -s, --strict use strict mappings, even loose characters\n"
- +" -d, --diacritics convert only diacritics or alike for HTML/LaTeX\n"
- +" -S, --source[=LN] limit recoding to strings and comments as for LN\n"
- +" -c, --colons use colons instead of double quotes for diaeresis\n"
- +" -g, --graphics approximate IBMPC rulers by ASCII graphics\n"
- +" -x, --ignore=CHARSET ignore CHARSET while choosing a recoding path\n"
- +msgstr ""
- +"\n"
- +"Ä°nce ayar:\n"
- +" -s, --strict kesin olmayan harflerde bile kesin eşlemeler kullanır\n"
- +" -d, --diacritics HTML/LaTeX için yalnız aksan v.b.'yi yeniden kodlar\n"
- +" -S, --source[=LN] yeniden kodlamayı dizgeler ve LN gibi açıklamalarla sınırlar\n"
- +" -c, --colons ö,ü'nin iki noktası için çift tırnak yerine iki nokta üstüste kullanır\n"
- +" -g, --graphics IBMPC cetvellerini ASCII grafikleriyle deÄŸiÅŸtirir\n"
- +" -x, --ignore=KARKÜME yeniden kodlama seçilirken KARKÜME dikkate alınmaz\n"
- +
- +#: src/main.c:296
- +msgid ""
- +"\n"
- +"Option -l with no FORMAT nor CHARSET list available charsets and surfaces.\n"
- +"FORMAT is `decimal', `octal', `hexadecimal' or `full' (or one of `dohf').\n"
- +msgstr ""
- +"\n"
- +"-l seçeneği, BİÇEM veya KARKÜME verilmezse mevcut karakter kümelerini listeler\n"
- +"BİÇEM, `decimal' (onluk), `octal' (sekizlik), `hexadecimal' (onaltılık), \n"
- +"`full' (tam) veya `dohf' seçeneklerinden birisi olabilir.\n"
- +
- +#: src/main.c:302
- +msgid ""
- +"Unless DEFAULT_CHARSET is set in environment, CHARSET defaults to the locale\n"
- +"dependent encoding, determined by LC_ALL, LC_CTYPE, LANG.\n"
- +msgstr ""
- +"Eğer DEFAULT_CHARSET çevre değişkeni atanmamışsa, KARKÜME yerel\n"
- +"ayarlarına bağlı kodlama olarak atanır ve LC_ALL, LC_CTYPE, LANG çevre\n"
- +"deÄŸiÅŸkenlerinden etkilenir.\n"
- +
- +#: src/main.c:307
- +msgid ""
- +"With -k, possible before charsets are listed for the given after CHARSET,\n"
- +"both being tabular charsets, with PAIRS of the form `BEF1:AFT1,BEF2:AFT2,...'\n"
- +"and BEFs and AFTs being codes are given as decimal numbers.\n"
- +msgstr ""
- +"-k seçeneği ile, dönüşecek karakter kümeleri, dönüştürülecek karakter kümeleri\n"
- +"ile birlikte ÇİFT'ler halinde listelenir: `ÖNC1:SON1,ÖNC2:SON2,...'\n"
- +"ÖNC ve SON karakter kümesi isimleri, ondalık sayı halinde kodlardan oluşur.\n"
- +
- +#: src/main.c:312
- +msgid "LN is some language, it may be `c', `perl' or `po'; `c' is the default.\n"
- +msgstr "LN bir bilgisayar dilidir, `c', `perl' veya `po' olabilir; öntanımlı: `c'\n"
- +
- +#: src/main.c:315
- +msgid ""
- +"\n"
- +"REQUEST is SUBREQUEST[,SUBREQUEST]...; SUBREQUEST is ENCODING[..ENCODING]...\n"
- +"ENCODING is [CHARSET][/[SURFACE]]...; REQUEST often looks like BEFORE..AFTER,\n"
- +"with BEFORE and AFTER being charsets. An omitted CHARSET implies the usual\n"
- +"charset; an omitted [/SURFACE]... means the implied surfaces for CHARSET; a /\n"
- +"with an empty surface name means no surfaces at all. See the manual.\n"
- +msgstr ""
- +"\n"
- +"Ä°STEK: ALTÄ°STEK,[ALTÄ°STEK]...; ALTÄ°STEK ise KODLAMA[..KODLAMA]...\n"
- +"KODLAMA: [KARKÜME][/YÜZEY]]...; İSTEK genelde ÖNCE..SONRA\n"
- +"biçeminde olur, ÖNCE ve SONRA karakter kümeleridir. Belirtilmemiş bir\n"
- +"karakter kümesi öntanımlı karakter kümesinin kullanılacağına işaret eder.\n"
- +"Belirtilmemiş [/YÜZEY]..., o KARKÜME için öntanımlı yüzeyin kullanılacağına\n"
- +"işaret eder. Yalnız / kullanılır ve yüzey belirtilmezse, hiç yüzey kullanılmaz.\n"
- +"Lütfen el kitabını inceleyin.\n"
- +
- +#: src/main.c:323
- +msgid ""
- +"\n"
- +"If none of -i and -p are given, presume -p if no FILE, else -i.\n"
- +"Each FILE is recoded over itself, destroying the original. If no\n"
- +"FILE is specified, then act as a filter and recode stdin to stdout.\n"
- +msgstr ""
- +"\n"
- +"Eğer -i ve -p'nin hiç birisi verilmemiş ve DOSYA yok ise, -p, aksi\n"
- +"halde -i varsayılır. Her DOSYA kendi üstüne yeniden kodlanır ve orjinali\n"
- +"yok edilir. Eğer DOSYA verilmemişse, bir filtre görevi yapar ve standart\n"
- +"girdiyi, standart çıktıya yeniden kodlar.\n"
- +
- +#: src/main.c:329
- +msgid ""
- +"\n"
- +"Report bugs to <recode-bugs@iro.umontreal.ca>.\n"
- +msgstr ""
- +"\n"
- +"Yazılım hatalarını <recode-bugs@iro.umontreal.ca> adresine,\n"
- +"Çeviri hatalarını <gnu-tr-u12a@lists.sourceforge.net> adresine yollayın.\n"
- +
- +#: src/main.c:430
- +#, c-format
- +msgid "Sequence `%s' is ambiguous"
- +msgstr "`%s' sırası belirsiz"
- +
- +#: src/main.c:434
- +#, c-format
- +msgid "Sequence `%s' is unknown"
- +msgstr "`%s' sırası bilinmiyor"
- +
- +#: src/main.c:464 src/main.c:522
- +#, c-format
- +msgid "Language `%s' is ambiguous"
- +msgstr "`%s' dili belirsiz"
- +
- +#. -1
- +#: src/main.c:468 src/main.c:526
- +#, c-format
- +msgid "Language `%s' is unknown"
- +msgstr "`%s' dili bilinmiyor"
- +
- +#: src/main.c:560
- +#, c-format
- +msgid "Format `%s' is ambiguous"
- +msgstr "`%s' biçemi belirsiz"
- +
- +#: src/main.c:564
- +#, c-format
- +msgid "Format `%s' is unknown"
- +msgstr "`%s' biçemi bilinmiyor"
- +
- +#: src/main.c:621
- +msgid "Written by Franc,ois Pinard <pinard@iro.umontreal.ca>.\n"
- +msgstr "Yazan: François Pinard <pinard@iro.umontreal.ca>.\n"
- +
- +#: src/main.c:624
- +msgid ""
- +"\n"
- +"Copyright (C) 1990, 92, 93, 94, 96, 97, 99 Free Software Foundation, Inc.\n"
- +msgstr ""
- +"\n"
- +"Telif Hakkı (C) 1990, 92, 93, 94, 96, 97, 99 Free Software Foundation, Inc.\n"
- +
- +#: src/main.c:628
- +msgid ""
- +"This is free software; see the source for copying conditions. There is NO\n"
- +"warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n"
- +msgstr ""
- +"Bu bir serbest yazılımdır; kopyalama koşulları için kaynak koduna bakınız.\n"
- +"HİÇ BİR GARANTİSİ YOKTUR; SATILABİLİRLİĞİ veya\n"
- +"HERHANGİ BİR AMACA UYGUNLUĞU için dahi zımni bir garanti\n"
- +"içermez.\n"
- +
- +#: src/main.c:669
- +#, c-format
- +msgid "Symbol `%s' is unknown"
- +msgstr "`%s' sembolü bilinmiyor"
- +
- +#: src/main.c:709 src/main.c:723
- +#, c-format
- +msgid "Charset `%s' is unknown or ambiguous"
- +msgstr "`%s' karakter kümesi bilinmiyor veya belirsiz"
- +
- +#: src/main.c:754
- +msgid "Required argument is missing"
- +msgstr "Zorunlu argüman eksik"
- +
- +#: src/main.c:797
- +#, c-format
- +msgid "Syntax is deprecated, please prefer `%s'"
- +msgstr "Biçem eski, lütfen `%s'i tercih edin"
- +
- +#: src/main.c:803
- +#, c-format
- +msgid "Request `%s' is erroneous"
- +msgstr "`%s' isteği hatalı"
- +
- +#: src/main.c:903
- +#, c-format
- +msgid "Recoding %s..."
- +msgstr "%s yeniden kodlanıyor..."
- +
- +#: src/main.c:913
- +msgid " done\n"
- +msgstr " bitti\n"
- +
- +#: src/main.c:954
- +#, c-format
- +msgid " failed: %s in step `%s..%s'\n"
- +msgstr "başarısız: `%2$s..%3$s' adımında %1$s\n"
- +
- +#: src/main.c:961
- +#, c-format
- +msgid "%s failed: %s in step `%s..%s'"
- +msgstr "%1$s başarısız: `%3$s..%4$s' adımında %2$s"
- +
- +#: src/main.c:984
- +#, c-format
- +msgid "%s in step `%s..%s'"
- +msgstr "`%2$s..%3$s' adımında %1$s"
- +
- +#: src/names.c:335
- +#, c-format
- +msgid "Charset %s already exists and is not %s"
- +msgstr "%s karakter kümesi zaten mevcut ve %s değil"
- +
- +#: src/names.c:831
- +#, c-format
- +msgid "Cannot list `%s', no names available for this charset"
- +msgstr "`%s' listelenemiyor, bu karakter kümesi için isim yok"
- +
- +#. code counter
- +#. expected value for code counter
- +#. insert a while line before printing
- +#. Print the long table according to explode data.
- +#: src/names.c:984 src/names.c:1030
- +#, c-format
- +msgid "Dec Oct Hex UCS2 Mne %s\n"
- +msgstr "Ond Sek OnaltıUCS2 Mne %s\n"
- +
- +#: src/names.c:1049
- +#, c-format
- +msgid "Sorry, no names available for `%s'"
- +msgstr "`%s' için hiç isim mevcut değil"
- +
- +#: src/outer.c:125
- +#, c-format
- +msgid "Resurfacer set more than once for `%s'"
- +msgstr "`%s' için yüzeyleyici birden fazla defa atanmış"
- +
- +#: src/outer.c:133
- +#, c-format
- +msgid "Unsurfacer set more than once for `%s'"
- +msgstr "`%s' için yüzey yokedici birden fazla defa atanmış"
- +
- +#: src/recode.c:115 src/recode.c:127
- +msgid "Virtual memory exhausted"
- +msgstr "Sanal bellek tükendi"
- +
- +#: src/recode.c:155
- +#, c-format, ycp-format
- +msgid "Codes %3d and %3d both recode to %3d"
- +msgstr "%3d ve %3d kodlarının ikisi de %3d'ye yeniden kodluyor"
- +
- +#: src/recode.c:169
- +#, c-format, ycp-format
- +msgid "No character recodes to %3d"
- +msgstr "%3d'ye yeniden kodlanan harf yok"
- +
- +#: src/recode.c:170
- +msgid "Cannot invert given one-to-one table"
- +msgstr "Verilen birebir eşlemeli tablo tersine çevrilemez"
- +
- +#: src/recode.c:224 src/recode.c:236
- +#, c-format
- +msgid "Following diagnostics for `%s' to `%s'"
- +msgstr "`%s'den `%s'e durum bildirimleri inceleniyor"
- +
- +#: src/recode.c:229 src/recode.c:241
- +#, c-format
- +msgid "Pair no. %d: <%3d, %3d> conflicts with <%3d, %3d>"
- +msgstr "%d no'lu çift <%3d, %3d>, <%3d, %3d> ile çakışıyor"
- +
- +#: src/recode.c:272
- +msgid "Cannot complete table from set of known pairs"
- +msgstr "Tablo bilinen çiftler kümesinden tamamlanamıyor"
- +
- +#: src/recode.c:497
- +msgid "Identity recoding, not worth a table"
- +msgstr "Birebir yeniden kodlama, tabloya gerek yok"
- +
- +#: src/recode.c:504
- +msgid "Recoding is too complex for a mere table"
- +msgstr "Yeniden kodlama bir tablo için fazla karmaşık"
- +
- +#. Print the header of the header file.
- +#: src/recode.c:536
- +#, c-format
- +msgid "%sConversion table generated mechanically by Free `%s' %s"
- +msgstr "%sDönüşüm tablosu mekanik olarak Free `%s' %s tarafından oluşturulmuştur"
- +
- +#: src/recode.c:538
- +#, c-format
- +msgid "%sfor sequence %s.%s"
- +msgstr "%2$s.%3$s sırası için %1$s"
- +
- +#: src/recode.c:744
- +msgid "No table to print"
- +msgstr "Yazdırılacak tablo yok"
- +
- +#: src/request.c:34
- +msgid "reversible"
- +msgstr "geri dönüşümlü"
- +
- +#: src/request.c:36
- +#, c-format
- +msgid "%s to %s"
- +msgstr "%s'den %s'e"
- +
- +#: src/request.c:37 src/request.c:39
- +msgid "byte"
- +msgstr "bayt"
- +
- +#: src/request.c:38 src/request.c:40
- +msgid "ucs2"
- +msgstr "ucs2"
- +
- +#: src/request.c:38 src/request.c:40
- +msgid "variable"
- +msgstr "deÄŸiÅŸken"
- +
- +#: src/request.c:111
- +msgid "*Unachievable*"
- +msgstr "*Ulaşılamaz*"
- +
- +#: src/request.c:113
- +msgid "*mere copy*"
- +msgstr "*yalnızca kopya*"
- +
- +#: src/request.c:246
- +msgid "Virtual memory exhausted!"
- +msgstr "Sanal bellek tükendi!"
- +
- +#: src/request.c:265
- +msgid "Step initialisation failed"
- +msgstr "Adım başlangıcı başarısız"
- +
- +#: src/request.c:272
- +msgid "Step initialisation failed (unprocessed options)"
- +msgstr "Adım başlangıcı başarısız (işlenmemiş seçenekler)"
- +
- +#: src/request.c:568
- +#, c-format
- +msgid "Request: %s\n"
- +msgstr "Ä°stek: %s\n"
- +
- +#: src/request.c:720
- +#, c-format
- +msgid "Shrunk to: %s\n"
- +msgstr "%s'e küçüldü\n"
- +
- +#: src/request.c:823 src/request.c:932
- +#, c-format
- +msgid "Unrecognised surface name `%s'"
- +msgstr "Bilinmeyen yüzey adı `%s'"
- +
- +#: src/request.c:903
- +#, c-format
- +msgid "No way to recode from `%s' to `%s'"
- +msgstr "`%s'den `%s'e yeniden kodlamanın yolu yok"
- +
- +#: src/request.c:1013
- +msgid "Expecting `..' in request"
- +msgstr "Ä°stekte `..' bekleniyordu"
- +
- +#: src/task.c:826 src/task.c:1002
- +#, c-format
- +msgid "Child process wait status is 0x%0.2x"
- +msgstr "Ast iÅŸlem bekleme durumu: 0x%0.2x"
- +
- +#: src/testdump.c:298
- +msgid ""
- +"UCS2 Mne Description\n"
- +"\n"
- +msgstr ""
- +"UCS2 Mne Açıklama\n"
- +"\n"
- --- recode-3.6.orig/i18n/de.po
- +++ recode-3.6/i18n/de.po
- @@ -1,18 +1,18 @@
- # recode.
- -# Copyright (C) 1995, 1996 Free Software Foundation, Inc.
- +# Copyright (C) 1995, 1996, 2006 Free Software Foundation, Inc.
- # Ulrich Drepper <drepper@gnu.ai.mit.edu>, 1995.
- -# Karl Eichwalder <ke@ke.Central.DE>, 1996
- +# Karl Eichwalder <ke@suse.de>, 1996, 2006
- #
- msgid ""
- msgstr ""
- -"Project-Id-Version: recode 3.5\n"
- +"Project-Id-Version: recode 3.6\n"
- "POT-Creation-Date: 2001-01-02 22:35+0100\n"
- -"PO-Revision-Date: 1999-09-14 22:51+01:00\n"
- -"Last-Translator: Daniel Naber <dnaber@mini.gt.owl.de>\n"
- -"Language-Team: German <de@li.org>\n"
- +"PO-Revision-Date: 2006-12-09 19:25+0100\n"
- +"Last-Translator: Karl Eichwalder <ke@suse.de>\n"
- +"Language-Team: German <translation-team-de@lists.sourceforge.net>\n"
- "MIME-Version: 1.0\n"
- -"Content-Type: text/plain; charset=ISO-8859-1\n"
- -"Content-Transfer-Encoding: 8-bit\n"
- +"Content-Type: text/plain; charset=UTF-8\n"
- +"Content-Transfer-Encoding: 8bit\n"
-
- #: src/main.c:142
- msgid "No error"
- @@ -20,7 +20,7 @@
-
- #: src/main.c:145
- msgid "Non canonical input"
- -msgstr "Keine gültige Eingabe"
- +msgstr "Keine gültige Eingabe"
-
- #: src/main.c:148
- msgid "Ambiguous output"
- @@ -28,15 +28,15 @@
-
- #: src/main.c:151
- msgid "Untranslatable input"
- -msgstr "Nicht übersetzbare Eingabe"
- +msgstr "Nicht übersetzbare Eingabe"
-
- #: src/main.c:154
- msgid "Invalid input"
- -msgstr "Ungültige Eingabe"
- +msgstr "Ungültige Eingabe"
-
- #: src/main.c:157
- msgid "System detected problem"
- -msgstr "Das System ist auf ein Problem gestossen"
- +msgstr "Das System ist auf ein Problem gestoßen"
-
- #: src/main.c:160
- msgid "Misuse of recoding library"
- @@ -62,23 +62,22 @@
- "along with this program; if not, write to the Free Software Foundation,\n"
- "Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n"
- msgstr ""
- -"Der folgende Text ist eine nicht überprüfte Übersetzung, die zur\n"
- +"Der folgende Text ist eine nicht überprüfte Übersetzung, die zur\n"
- "Information dient; in rechtlichen Fragen ist immer das englische\n"
- "Original ausschlaggebend.\n"
- "\n"
- -"Dieses Program ist freie Software; Sie können es nach den Bedingungen\n"
- +"Dieses Programm ist freie Software; Sie können es nach den Bedingungen\n"
- "der von der Free Software Foundation als \"GNU General Public License\"\n"
- -"veröffentlichten Lizenz weitergeben und/oder verändern; dabei gilt\n"
- -"die Version 2 oder (frei nach ihrer Wahl) jede spätere Version.\n"
- +"veröffentlichten Lizenz weitergeben und/oder verändern; dabei gilt\n"
- +"die Version 2 oder (frei nach ihrer Wahl) jede spätere Version.\n"
- "\n"
- -"Dieses Programm wird in der Hoffnung verteilt, daß es nützlich ist,\n"
- +"Dieses Programm wird in der Hoffnung verteilt, daß es nützlich ist,\n"
- "jedoch OHNE JEGLICHE GARANTIE; sogar ohne die implizite Garantie der\n"
- -"MARKTFÄHIGKEIT oder der ERFÜLLUNG EINES BESTIMMTEN ZWECKES. In der\n"
- -"\"GNU General Public License\" können weitere Einzelheiten nachgelesen\n"
- +"MARKTFÄHIGKEIT oder der ERFÜLLUNG EINES BESTIMMTEN ZWECKES. In der\n"
- +"\"GNU General Public License\" können weitere Einzelheiten nachgelesen\n"
- "werden.\n"
- "\n"
- -"Sie sollten mit diesem Programm eine Kopie der \"GNU General Public "
- -"License\"\n"
- +"Sie sollten mit diesem Programm eine Kopie der \"GNU General Public License\"\n"
- "erhalten haben; wenn nicht, schreiben Sie an die Free Software Foundation,\n"
- "Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n"
-
- @@ -88,10 +87,9 @@
- msgstr "`%s %s' zeigt weitere Informationen.\n"
-
- #: src/main.c:237
- -msgid ""
- -"Free `recode' converts files between various character sets and surfaces.\n"
- +msgid "Free `recode' converts files between various character sets and surfaces.\n"
- msgstr ""
- -"`recode' konvertiert Dateien zwischen diversen Zeichensätzen und\n"
- +"`recode' konvertiert Dateien zwischen diversen Zeichensätzen und\n"
- "-formaten.\n"
-
- #: src/main.c:241
- @@ -110,18 +108,16 @@
- "for the equivalent short option also. Similarly for optional arguments.\n"
- msgstr ""
- "\n"
- -"Wenn eine Option ein Argument zwingend braucht, gilt das unabhängig\n"
- +"Wenn eine Option ein Argument zwingend braucht, gilt das unabhängig\n"
- "davon, ob die Kurz- oder Langschreibweise der Option benutzt wird.\n"
- -"Entsprechendes gilt für optionale Argumente.\n"
- +"Entsprechendes gilt für optionale Argumente.\n"
-
- #: src/main.c:250
- -#, fuzzy
- msgid ""
- "\n"
- "Listings:\n"
- " -l, --list[=FORMAT] list one or all known charsets and aliases\n"
- -" -k, --known=PAIRS restrict charsets according to known PAIRS "
- -"list\n"
- +" -k, --known=PAIRS restrict charsets according to known PAIRS list\n"
- " -h, --header[=[LN/]NAME] write table NAME on stdout using LN, then exit\n"
- " -F, --freeze-tables write out a C module holding all tables\n"
- " -T, --find-subsets report all charsets being subset of others\n"
- @@ -131,15 +127,12 @@
- msgstr ""
- "\n"
- "Auflistungen:\n"
- -" -l, --list[=FORMAT] Einen oder alle bekannten Zeichensätze "
- -"auflisten\n"
- -" -k, --known=PAARE Zeichensätze auf Liste bekannter PAARE "
- -"beschränken\n"
- -" -h, --header[=[LN/]NAME] LN-Code für Tabelle NAME ausgeben\n"
- +" -l, --list[=FORMAT] Einen oder alle bekannten Zeichensätze auflisten\n"
- +" -k, --known=PAARE Zeichensätze auf Liste bekannter PAARE beschränken\n"
- +" -h, --header[=[LN/]NAME] LN-Code für Tabelle NAME ausgeben\n"
- " -F, --freeze-tables Ein C-Modul mit allen Tabellen ausgeben\n"
- -" -T, --find-subsets Alle Zeichensätze ausgeben, die Untermengen "
- -"von\n"
- -" anderen Zeichensätzen sind\n"
- +" -T, --find-subsets Alle Zeichensätze ausgeben, die Untermengen von\n"
- +" anderen Zeichensätzen sind\n"
- " -C, --copyright Copyright und Kopierbedingungen anzeigen\n"
- " --help Diese Hilfe anzeigen\n"
- " --version Versionsnummer ausgeben\n"
- @@ -157,23 +150,18 @@
- msgstr ""
- "\n"
- "Funktionsmodi:\n"
- -" -v, --verbose Reihenfolge der Umkodierungsschritte und "
- -"Fortschritt\n"
- +" -v, --verbose Reihenfolge der Umkodierungsschritte und Fortschritt\n"
- " anzeigen\n"
- -" -q, --quiet, --silent Keine Meldungen über nicht umkehrbare "
- -"Umkodierungen\n"
- -" -f, --force Umkodierung vornehmen, auch wenn sie nicht "
- -"umkehrbar ist\n"
- -" -t, --touch Nach der Umkodierung ein 'touch' auf die "
- -"umkodierte\n"
- -" Datei ausführen\n"
- -" -i, --sequence=files Für Zwischenschritte temporäre Dateien anlegen\n"
- -" --sequence=memory Für Zwischenschritte Speicherpuffer verwenden\n"
- +" -q, --quiet, --silent Keine Meldungen über nicht umkehrbare Umkodierungen\n"
- +" -f, --force Umkodierung vornehmen, auch wenn sie nicht umkehrbar ist\n"
- +" -t, --touch Nach der Umkodierung ein 'touch' auf die umkodierte\n"
- +" Datei ausführen\n"
- +" -i, --sequence=files Für Zwischenschritte temporäre Dateien anlegen\n"
- +" --sequence=memory Für Zwischenschritte Speicherpuffer verwenden\n"
-
- #: src/main.c:275
- msgid " -p, --sequence=pipe use pipe machinery for sequencing passes\n"
- -msgstr ""
- -" -p, --sequence=pipe benutze \"pipe\" für Abarbeitung der Schritte\n"
- +msgstr " -p, --sequence=pipe benutze \"pipe\" für Abarbeitung der Schritte\n"
-
- #: src/main.c:280
- msgid " -p, --sequence=pipe same as -i (on this system)\n"
- @@ -192,19 +180,14 @@
- msgstr ""
- "\n"
- "Feineinstellungen:\n"
- -" -s, --strict Strikte Abbildung benutzen, auch bei "
- -"Zeichenverlust\n"
- -" -d, --diacritics Nur Akzente/Umlaute umkodieren (z.B. für "
- -"HTML/LaTeX)\n"
- +" -s, --strict Strikte Abbildung benutzen, auch bei Zeichenverlust\n"
- +" -d, --diacritics Nur Akzente/Umlaute umkodieren (z.B. für HTML/LaTeX)\n"
- " -S, --source[=LN] Bei LN nur Zeichenketten und Kommentare umkodieren\n"
- -" -c, --colons benutze ':' statt '\"' für Umlaute (z.B. 'fu:r' "
- -"statt\n"
- +" -c, --colons benutze ':' statt '\"' für Umlaute (z.B. 'fu:r' statt\n"
- " ('fu\"r')\n"
- -" -g, --graphics 'Linienzeichen' des IBMPC-Zeichensatzes durch "
- -"ähnliche\n"
- +" -g, --graphics 'Linienzeichen' des IBMPC-Zeichensatzes durch ähnliche\n"
- " ASCII-Zeichen darstellen\n"
- -" -x, --ignore=ZEISATZ ZEISATZ bei der Wahl der Kodierungsschritte "
- -"ignorieren\n"
- +" -x, --ignore=ZEISATZ ZEISATZ bei der Wahl der Kodierungsschritte ignorieren\n"
-
- #: src/main.c:296
- msgid ""
- @@ -213,36 +196,30 @@
- "FORMAT is `decimal', `octal', `hexadecimal' or `full' (or one of `dohf').\n"
- msgstr ""
- "\n"
- -"Die Option -l ohne FORMAT und ZEISATZ listet alle Zeichensätze und -formate\n"
- -"auf. FORMAT ist `decimal', `octal', `hexadecimal' oder `full' (können durch "
- -"den\n"
- -"Anfangsbuchstaben abgekürzt werden)\n"
- +"Die Option -l ohne FORMAT und ZEISATZ listet alle Zeichensätze und -formate\n"
- +"auf. FORMAT ist `decimal', `octal', `hexadecimal' oder `full' (können durch den\n"
- +"Anfangsbuchstaben abgekürzt werden)\n"
-
- #: src/main.c:302
- -#, fuzzy
- msgid ""
- -"Unless DEFAULT_CHARSET is set in environment, CHARSET defaults to the "
- -"locale\n"
- +"Unless DEFAULT_CHARSET is set in environment, CHARSET defaults to the locale\n"
- "dependent encoding, determined by LC_ALL, LC_CTYPE, LANG.\n"
- msgstr ""
- -"Wenn die Umgebungsvariable DEFAULT_CHARSET nicht gesetzt ist,\n"
- -"gilt für ZEISATZ ist die Voreinstellung `%s'.\n"
- +"Wenn die Umgebungsvariable DEFAULT_CHARSET nicht gesetzt ist, gilt für ZEISATZ\n"
- +"die lokale-abhängiges Kodierung, festgelegt von LC_ALL, LC_CTYPE. LANG wird.\n"
-
- #: src/main.c:307
- msgid ""
- "With -k, possible before charsets are listed for the given after CHARSET,\n"
- -"both being tabular charsets, with PAIRS of the form "
- -"`BEF1:AFT1,BEF2:AFT2,...'\n"
- +"both being tabular charsets, with PAIRS of the form `BEF1:AFT1,BEF2:AFT2,...'\n"
- "and BEFs and AFTs being codes are given as decimal numbers.\n"
- msgstr ""
- -"Mit '-k' werden mögliche 'Vorher'-Zeichensätze für den 'Nachher'-ZEISATZ\n"
- -"ausgegeben, mit PAAREn der Form 'VOR1:NACH1,VOR2:NACH2,...', wobei die VORs "
- -"und\n"
- +"Mit '-k' werden mögliche 'Vorher'-Zeichensätze für den 'Nachher'-ZEISATZ\n"
- +"ausgegeben, mit PAAREn der Form 'VOR1:NACH1,VOR2:NACH2,...', wobei die VORs und\n"
- "NACHs Kodes sind. Alle Kodes werden als Dezimalzahlen angegeben.\n"
-
- #: src/main.c:312
- -msgid ""
- -"LN is some language, it may be `c', `perl' or `po'; `c' is the default.\n"
- +msgid "LN is some language, it may be `c', `perl' or `po'; `c' is the default.\n"
- msgstr ""
- "LN ist eine Programmiersprache, z.B. `c', `perl' oder `po', wobei `c' die\n"
- "Voreinstellung ist.\n"
- @@ -250,24 +227,18 @@
- #: src/main.c:315
- msgid ""
- "\n"
- -"REQUEST is SUBREQUEST[,SUBREQUEST]...; SUBREQUEST is "
- -"ENCODING[..ENCODING]...\n"
- -"ENCODING is [CHARSET][/[SURFACE]]...; REQUEST often looks like "
- -"BEFORE..AFTER,\n"
- +"REQUEST is SUBREQUEST[,SUBREQUEST]...; SUBREQUEST is ENCODING[..ENCODING]...\n"
- +"ENCODING is [CHARSET][/[SURFACE]]...; REQUEST often looks like BEFORE..AFTER,\n"
- "with BEFORE and AFTER being charsets. An omitted CHARSET implies the usual\n"
- -"charset; an omitted [/SURFACE]... means the implied surfaces for CHARSET; a "
- -"/\n"
- +"charset; an omitted [/SURFACE]... means the implied surfaces for CHARSET; a /\n"
- "with an empty surface name means no surfaces at all. See the manual.\n"
- msgstr ""
- "\n"
- -"ANFRAGE ist UNTERANFRAGE[,UNTERANFRAGE]...; UNTERANFRAGE ist "
- -"KODIERUNG[..KODIERUNG]...\n"
- -"KODIERUNG ist [ZEISATZ][/[SURFACE]]...; ANFRAGE ist meistens "
- -"VORHER..NACHHER,\n"
- -"wobei VORHER und NACHHER Zeichensätze sind. Ohne ZEISATZ wird der übliche\n"
- -"Zeichensatz benutzt; ohne [/SURFACE]... wird das für ZEISATZ übliche Format\n"
- -"angenommen; ein / ohne Angabe eines Formats heisst, dass kein Format "
- -"angenommen\n"
- +"ANFRAGE ist UNTERANFRAGE[,UNTERANFRAGE]...; UNTERANFRAGE ist KODIERUNG[..KODIERUNG]...\n"
- +"KODIERUNG ist [ZEISATZ][/[SURFACE]]...; ANFRAGE ist meistens VORHER..NACHHER,\n"
- +"wobei VORHER und NACHHER Zeichensätze sind. Ohne ZEISATZ wird der übliche\n"
- +"Zeichensatz benutzt; ohne [/SURFACE]... wird das für ZEISATZ übliche Format\n"
- +"angenommen; ein / ohne Angabe eines Formats heißt, dass kein Format angenommen\n"
- "wird. Siehe Anleitung.\n"
-
- #: src/main.c:323
- @@ -280,7 +251,7 @@
- "\n"
- "Wenn weder -i noch -p angegeben sind, wird -p angenommen wenn keine DATEI\n"
- "angegeben ist, sonst -i.\n"
- -"Jede DATEI wird bei mit der umkodierten Datei überschrieben. Wenn keine\n"
- +"Jede DATEI wird bei mit der umkodierten Datei überschrieben. Wenn keine\n"
- "DATEI angegen ist wird die Standardeingabe umkodiert und auf der\n"
- "Standardausgabe ausgegeben.\n"
-
- @@ -290,45 +261,42 @@
- "Report bugs to <recode-bugs@iro.umontreal.ca>.\n"
- msgstr ""
- "\n"
- -"Berichte über Programmfehler bitte an <recode-bugs@iro.umontreal.ca>.\n"
- +"Berichte über Programmfehler bitte an <recode-bugs@iro.umontreal.ca>.\n"
-
- #: src/main.c:430
- #, c-format
- msgid "Sequence `%s' is ambiguous"
- -msgstr ""
- +msgstr "Abfolge »%s« ist zweideutig"
-
- #: src/main.c:434
- #, c-format
- msgid "Sequence `%s' is unknown"
- -msgstr ""
- +msgstr "Abfolge »%s« ist unbekannt"
-
- #: src/main.c:464 src/main.c:522
- #, c-format
- msgid "Language `%s' is ambiguous"
- -msgstr ""
- +msgstr "Sprache »%s« ist zweideutig"
-
- #. -1
- #: src/main.c:468 src/main.c:526
- #, c-format
- msgid "Language `%s' is unknown"
- -msgstr ""
- +msgstr "Sprache »%s« ist unbekannt"
-
- #: src/main.c:560
- #, c-format
- msgid "Format `%s' is ambiguous"
- -msgstr ""
- +msgstr "Format »%s« ist zweideutig"
-
- #: src/main.c:564
- #, c-format
- msgid "Format `%s' is unknown"
- -msgstr ""
- +msgstr "Format »%s« ist unbekannt"
-
- #: src/main.c:621
- -#, fuzzy
- msgid "Written by Franc,ois Pinard <pinard@iro.umontreal.ca>.\n"
- -msgstr ""
- -"\n"
- -"Geschrieben von Franc,ois Pinard <pinard@iro.umontreal.ca>.\n"
- +msgstr "Geschrieben von François Pinard <pinard@iro.umontreal.ca>.\n"
-
- #: src/main.c:624
- msgid ""
- @@ -344,33 +312,33 @@
- "warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n"
- msgstr ""
- "Dieses Programm ist freie Software; die genauen Nutzungsbedingungen\n"
- -"sind der Datei »COPYING« in den Quellen zu entnehmen.\n"
- -"Es wird keinerlei Gewährleistung übernommen; auch nicht für gewerbliche\n"
- +"sind der Datei »COPYING« in den Quellen zu entnehmen.\n"
- +"Es wird keinerlei Gewährleistung übernommen; auch nicht für gewerbliche\n"
- "Nutzbarkeit oder Tauglichkeit zu einem anderen Zweck.\n"
-
- #: src/main.c:669
- #, c-format
- msgid "Symbol `%s' is unknown"
- -msgstr ""
- +msgstr "Symbol »%s« ist unbekannt"
-
- #: src/main.c:709 src/main.c:723
- #, c-format
- msgid "Charset `%s' is unknown or ambiguous"
- -msgstr ""
- +msgstr "Zeichensatz »%s« ist unbekannt oder zweideutig"
-
- #: src/main.c:754
- msgid "Required argument is missing"
- -msgstr ""
- +msgstr "Erforderliches Argument fehlt"
-
- #: src/main.c:797
- -#, fuzzy, c-format
- +#, c-format
- msgid "Syntax is deprecated, please prefer `%s'"
- -msgstr "Veraltete Syntax, bitte `%s' benutzen"
- +msgstr "Veraltete Syntax, bitte »%s« bevorzugen"
-
- #: src/main.c:803
- #, c-format
- msgid "Request `%s' is erroneous"
- -msgstr ""
- +msgstr "Anfrage »%s« ist fehlerhaft"
-
- #: src/main.c:903
- #, c-format
- @@ -382,19 +350,19 @@
- msgstr " fertig\n"
-
- #: src/main.c:954
- -#, fuzzy, c-format
- +#, c-format
- msgid " failed: %s in step `%s..%s'\n"
- -msgstr " fehlgeschlagen: %s in %s..%s\n"
- +msgstr " fehlgeschlagen: %s bei Schritt »%s..%s«\n"
-
- #: src/main.c:961
- -#, fuzzy, c-format
- +#, c-format
- msgid "%s failed: %s in step `%s..%s'"
- -msgstr "%s fehlgeschlagen: %s in %s..%s"
- +msgstr "%s fehlgeschlagen: %s bei Schritt »%s..%s«"
-
- #: src/main.c:984
- -#, fuzzy, c-format
- +#, c-format
- msgid "%s in step `%s..%s'"
- -msgstr "%s bei %s..%s"
- +msgstr "%s bei Schritt »%s..%s«"
-
- #: src/names.c:335
- #, c-format
- @@ -405,8 +373,8 @@
- #, c-format
- msgid "Cannot list `%s', no names available for this charset"
- msgstr ""
- -"Kann `%s' nicht anzeigen, keine Namen für diesen Zeichensatz\n"
- -" verfügbar"
- +"Kann `%s' nicht anzeigen, keine Namen für diesen Zeichensatz\n"
- +" verfügbar"
-
- #. code counter
- #. expected value for code counter
- @@ -420,17 +388,17 @@
- #: src/names.c:1049
- #, c-format
- msgid "Sorry, no names available for `%s'"
- -msgstr "Tut mir leid, aber es sind für `%s' keine Namen verfügbar"
- +msgstr "Tut mir leid, aber es sind für `%s' keine Namen verfügbar"
-
- #: src/outer.c:125
- #, c-format
- msgid "Resurfacer set more than once for `%s'"
- -msgstr "`Resurfacer' für `%s' mehr als einmal gesetzt."
- +msgstr "`Resurfacer' für `%s' mehr als einmal gesetzt."
-
- #: src/outer.c:133
- #, c-format
- msgid "Unsurfacer set more than once for `%s'"
- -msgstr "`Unsurfacer' für `%s' mehr als einmal gesetzt."
- +msgstr "`Unsurfacer' für `%s' mehr als einmal gesetzt."
-
- #: src/recode.c:115 src/recode.c:127
- msgid "Virtual memory exhausted"
- @@ -453,7 +421,7 @@
- #: src/recode.c:224 src/recode.c:236
- #, c-format
- msgid "Following diagnostics for `%s' to `%s'"
- -msgstr "Folgende Diagnose für Konvertierung von `%s' nach `%s'"
- +msgstr "Folgende Diagnose für Konvertierung von `%s' nach `%s'"
-
- #: src/recode.c:229 src/recode.c:241
- #, c-format
- @@ -462,27 +430,26 @@
-
- #: src/recode.c:272
- msgid "Cannot complete table from set of known pairs"
- -msgstr ""
- -"Kann die Tabelle aus der Menge der bekannten Paare nicht vervollständigen"
- +msgstr "Kann die Tabelle aus der Menge der bekannten Paare nicht vervollständigen"
-
- #: src/recode.c:497
- msgid "Identity recoding, not worth a table"
- -msgstr "Umkodierung ohne Änderung, zu trivial für eine Tabelle"
- +msgstr "Umkodierung ohne Änderung, zu trivial für eine Tabelle"
-
- #: src/recode.c:504
- msgid "Recoding is too complex for a mere table"
- -msgstr "Umkodierung ist für eine einfache Tabelle zu kompliziert"
- +msgstr "Umkodierung ist für eine einfache Tabelle zu kompliziert"
-
- #. Print the header of the header file.
- #: src/recode.c:536
- #, c-format
- msgid "%sConversion table generated mechanically by Free `%s' %s"
- -msgstr "%sKonvertierung automatisch generiert von »GNU %s %s«"
- +msgstr "%sKonvertierung automatisch generiert von »GNU %s %s«"
-
- #: src/recode.c:538
- #, c-format
- msgid "%sfor sequence %s.%s"
- -msgstr "%sfür Folge %s.%s"
- +msgstr "%sfür Folge %s.%s"
-
- #: src/recode.c:744
- msgid "No table to print"
- @@ -511,7 +478,7 @@
-
- #: src/request.c:111
- msgid "*Unachievable*"
- -msgstr "*unmöglich*"
- +msgstr "*unmöglich*"
-
- #: src/request.c:113
- msgid "*mere copy*"
- @@ -547,7 +514,7 @@
- #: src/request.c:903
- #, c-format
- msgid "No way to recode from `%s' to `%s'"
- -msgstr "Keine Möglichkeit, von `%s' nach `%s' umzukodieren"
- +msgstr "Keine Möglichkeit, von `%s' nach `%s' umzukodieren"
-
- #: src/request.c:1013
- msgid "Expecting `..' in request"
- @@ -565,29 +532,3 @@
- msgstr ""
- "UCS2 Mne Beschreibung\n"
- "\n"
- -
- -#~ msgid "CHARSET has no default, define DEFAULT_CHARSET in the environment.\n"
- -#~ msgstr ""
- -#~ "Für ZEISATZ existiert keine Voreinstellung, bitte die Umgebungsvariable\n"
- -#~ "DEFAULT_CHARSET setzen.\n"
- -
- -#~ msgid "Ambiguous sequence `%s'"
- -#~ msgstr "Mehrdeutige Folge `%s'"
- -
- -#~ msgid "Unknown sequence `%s'"
- -#~ msgstr "Unbekannte Folge `%s'"
- -
- -#~ msgid "Ambiguous language `%s'"
- -#~ msgstr "Mehrdeutiger Zeichensatz `%s'"
- -
- -#~ msgid "Unknown language `%s'"
- -#~ msgstr "Unbekannter Zeichensatz `%s'"
- -
- -#~ msgid "Ambiguous format `%s'"
- -#~ msgstr "Mehrdeutiges Format `%s'"
- -
- -#~ msgid "Unknown format `%s'"
- -#~ msgstr "Unbekanntes Format `%s'"
- -
- -#~ msgid "Erroneous request `%s'"
- -#~ msgstr "Fehlerhafte Anfrage `%s'"
- --- recode-3.6.orig/i18n/pt_BR.po
- +++ recode-3.6/i18n/pt_BR.po
- @@ -0,0 +1,522 @@
- +# recode: translation to Brazilian Portuguese (pt_BR)
- +# Copyright (C) 2002 Free Software Foundation, Inc.
- +# Alexandre Folle de Menezes <afmenez@terra.com.br>, 2002.
- +# based on the translation to Portuguese (pt) by
- +# Vitor Duarte <vad@di.fct.unl.pt>, maio de 1996.
- +# also based on the translation to Galician (gl) by
- +# Jacobo Tarrío Barreiro <jtarrio@trasno.net>, 2000.
- +#
- +msgid ""
- +msgstr ""
- +"Project-Id-Version: GNU recode 3.6\n"
- +"POT-Creation-Date: 2001-01-02 22:35+0100\n"
- +"PO-Revision-Date: 2002-12-14 02:00-0300\n"
- +"Last-Translator: Alexandre Folle de Menezes <afmenez@terra.com.br>\n"
- +"Language-Team: Brazilian Portuguese <ldp-br@bazar.conectiva.com.br>\n"
- +"MIME-Version: 1.0\n"
- +"Content-Type: text/plain; charset=ISO-8859-1\n"
- +"Content-Transfer-Encoding: 8-bit\n"
- +
- +#: src/main.c:142
- +msgid "No error"
- +msgstr "Sem erro"
- +
- +#: src/main.c:145
- +msgid "Non canonical input"
- +msgstr "Entrada não-canônica"
- +
- +#: src/main.c:148
- +msgid "Ambiguous output"
- +msgstr "Saída ambígua"
- +
- +#: src/main.c:151
- +msgid "Untranslatable input"
- +msgstr "Entrada intraduzível"
- +
- +#: src/main.c:154
- +msgid "Invalid input"
- +msgstr "Entrada inválida"
- +
- +#: src/main.c:157
- +msgid "System detected problem"
- +msgstr "O sistema detectou um problema"
- +
- +#: src/main.c:160
- +msgid "Misuse of recoding library"
- +msgstr "Uso incorreto da biblioteca de recodificação"
- +
- +#: src/main.c:163
- +msgid "Internal recoding bug"
- +msgstr "Erro interno de recodificação"
- +
- +#: src/main.c:208
- +msgid ""
- +"This program is free software; you can redistribute it and/or modify\n"
- +"it under the terms of the GNU General Public License as published by\n"
- +"the Free Software Foundation; either version 2, or (at your option)\n"
- +"any later version.\n"
- +"\n"
- +"This program is distributed in the hope that it will be useful,\n"
- +"but WITHOUT ANY WARRANTY; without even the implied warranty of\n"
- +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n"
- +"GNU General Public License for more details.\n"
- +"\n"
- +"You should have received a copy of the GNU General Public License\n"
- +"along with this program; if not, write to the Free Software Foundation,\n"
- +"Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n"
- +msgstr ""
- +"Este programa é software livre; a sua redistribuição e/ou modificação\n"
- +"nos termos da Licença Geral Pública GNU como publicada pela\n"
- +"Free Software Foundation, é permitida; de acordo com a versão 2 ou\n"
- +"(opcionalmente) qualquer outra versão posterior.\n"
- +"\n"
- +"Este programa é distribuído na esperança de que possa ser útil, mas\n"
- +"SEM QUALQUER GARANTIA; sem mesmo a garantia implícita de COMERCIABILIDADE ou\n"
- +"ADEQUAÇÃO À QUALQUER FINALIDADE PARTICULAR. Veja a Licença Geral Pública GNU\n"
- +"para mais detalhes.\n"
- +"\n"
- +"Deve ter sido recebida uma cópia da Licença Geral Pública GNU\n"
- +"junto com este programa; senão, escreva para a Free Software Foundation,\n"
- +"Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n"
- +
- +#: src/main.c:233
- +#, c-format
- +msgid "Try `%s %s' for more information.\n"
- +msgstr "Tente `%s %s' para obter mais informações.\n"
- +
- +#: src/main.c:237
- +msgid "Free `recode' converts files between various character sets and surfaces.\n"
- +msgstr "O `recode' converte arquivos entre vários conjuntos de caracteres e superfícies.\n"
- +
- +#: src/main.c:241
- +#, c-format
- +msgid ""
- +"\n"
- +"Usage: %s [OPTION]... [ [CHARSET] | REQUEST [FILE]... ]\n"
- +msgstr ""
- +"\n"
- +"Uso: %s [OPÇÃO]... [ [CHARSET] | REQUISIÇÃO [ARQUIVO]... ]\n"
- +
- +#: src/main.c:244
- +msgid ""
- +"\n"
- +"If a long option shows an argument as mandatory, then it is mandatory\n"
- +"for the equivalent short option also. Similarly for optional arguments.\n"
- +msgstr ""
- +"\n"
- +"Os argumentos obrigatórios para as opções longas são também obrigatórios\n"
- +"para as opções curtas. O mesmo vale para argumentos opcionais\n"
- +
- +#: src/main.c:250
- +msgid ""
- +"\n"
- +"Listings:\n"
- +" -l, --list[=FORMAT] list one or all known charsets and aliases\n"
- +" -k, --known=PAIRS restrict charsets according to known PAIRS list\n"
- +" -h, --header[=[LN/]NAME] write table NAME on stdout using LN, then exit\n"
- +" -F, --freeze-tables write out a C module holding all tables\n"
- +" -T, --find-subsets report all charsets being subset of others\n"
- +" -C, --copyright display Copyright and copying conditions\n"
- +" --help display this help and exit\n"
- +" --version output version information and exit\n"
- +msgstr ""
- +"\n"
- +"Listagens:\n"
- +" -l, --list[=FORMATO] lista um ou todos os conjuntos de caracteres e\n"
- +" apelidos conhecidos\n"
- +" -k, --known=PARES restringe os conjuntos de caracteres com a lista\n"
- +" de PARES conhecidos\n"
- +" -h, --header[=[LN/]NOME] escreve a tabela NOME na saída padrão usando LN,\n"
- +" depois sai\n"
- +" -F, --freeze-tables escreve um módulo C contendo todas as tabelas\n"
- +" -T, --find-subsets reporta todos os conjuntos de carcteres que são\n"
- +" subconjuntos de outros\n"
- +" -C, --copyright exibe Copyright e condições de cópia\n"
- +" --help exibe esta ajuda e sai\n"
- +" --version mostra informações de versão e sai\n"
- +
- +#: src/main.c:263
- +msgid ""
- +"\n"
- +"Operation modes:\n"
- +" -v, --verbose explain sequence of steps and report progress\n"
- +" -q, --quiet, --silent inhibit messages about irreversible recodings\n"
- +" -f, --force force recodings even when not reversible\n"
- +" -t, --touch touch the recoded files after replacement\n"
- +" -i, --sequence=files use intermediate files for sequencing passes\n"
- +" --sequence=memory use memory buffers for sequencing passes\n"
- +msgstr ""
- +"\n"
- +"Modos de operação:\n"
- +" -v, --verbose Explica a sequência de passos e relata o progresso\n"
- +" -q, --quiet, --silent inibe mensagens sobre recodificações irreversíveis\n"
- +" -f, --force força recodificações mesmo quando irreversíveis\n"
- +" -t, --touch atualiza horário dos arquivos processados\n"
- +" -i, --sequence=files usa arquivos intermediários na seqüência de passos\n"
- +" --sequence=memory usa buffers na memória na seqüência de passos\n"
- +
- +#: src/main.c:275
- +msgid " -p, --sequence=pipe use pipe machinery for sequencing passes\n"
- +msgstr " -p, --sequence=pipe usa redirecionamentos para seqüenciar os passos\n"
- +
- +#: src/main.c:280
- +msgid " -p, --sequence=pipe same as -i (on this system)\n"
- +msgstr " -p, --sequence=pipe o mesmo que -i (neste sistema)\n"
- +
- +#: src/main.c:285
- +msgid ""
- +"\n"
- +"Fine tuning:\n"
- +" -s, --strict use strict mappings, even loose characters\n"
- +" -d, --diacritics convert only diacritics or alike for HTML/LaTeX\n"
- +" -S, --source[=LN] limit recoding to strings and comments as for LN\n"
- +" -c, --colons use colons instead of double quotes for diaeresis\n"
- +" -g, --graphics approximate IBMPC rulers by ASCII graphics\n"
- +" -x, --ignore=CHARSET ignore CHARSET while choosing a recoding path\n"
- +msgstr ""
- +"\n"
- +"Ajuste fino:\n"
- +" -s, --strict usa mapeamentos estritos, mesmo perdendo caracteres\n"
- +" -d, --diacritics converte apenas os diacríticos ou semelhantes\n"
- +" para HTML/LaTeX\n"
- +" -S, --source[=LN] limita a recodificação à strings e comentários, como\n"
- +" para o LN\n"
- +" -c, --colons usa dois pontos em vez de aspas para o trema\n"
- +" -g, --graphics aproxima os gráficos do IBMPC com gráficos ASCII\n"
- +" -x, --ignore=CHARSET ignora o CHARSET na escolha da rota de recodificação\n"
- +
- +#: src/main.c:296
- +msgid ""
- +"\n"
- +"Option -l with no FORMAT nor CHARSET list available charsets and surfaces.\n"
- +"FORMAT is `decimal', `octal', `hexadecimal' or `full' (or one of `dohf').\n"
- +msgstr ""
- +"\n"
- +"A opção -l sem FORMATO ou CHARSET lista conjuntos de carcteres disponíveis.\n"
- +"FORMATO é `decimal', `octal', `hexadecimal' ou `full' (ou uma letra de `dohf').\n"
- +
- +#: src/main.c:302
- +msgid ""
- +"Unless DEFAULT_CHARSET is set in environment, CHARSET defaults to the locale\n"
- +"dependent encoding, determined by LC_ALL, LC_CTYPE, LANG.\n"
- +msgstr ""
- +"A menos que DEFAULT_CHARSET esteja setado no ambiente, o CHARSET padrão é o\n"
- +"local, determinado por LC_ALL, LC_CTYPE, LANG.\n"
- +
- +#: src/main.c:307
- +msgid ""
- +"With -k, possible before charsets are listed for the given after CHARSET,\n"
- +"both being tabular charsets, with PAIRS of the form `BEF1:AFT1,BEF2:AFT2,...'\n"
- +"and BEFs and AFTs being codes are given as decimal numbers.\n"
- +msgstr ""
- +"Com -k, são listados os conjuntos de caracteres de entrada possíveis para o\n"
- +"CHARSET charset fornecido, com PARES no formato `INI1:FIN1,INI2:BEF2,...'\n"
- +"sendo INIs e FINs os respectivos códigos em notação decimal.\n"
- +
- +#: src/main.c:312
- +msgid "LN is some language, it may be `c', `perl' or `po'; `c' is the default.\n"
- +msgstr "LN é alguma linguagem, pode ser `c', `perl' ou `po'; `c' é o padrão.\n"
- +
- +#: src/main.c:315
- +msgid ""
- +"\n"
- +"REQUEST is SUBREQUEST[,SUBREQUEST]...; SUBREQUEST is ENCODING[..ENCODING]...\n"
- +"ENCODING is [CHARSET][/[SURFACE]]...; REQUEST often looks like BEFORE..AFTER,\n"
- +"with BEFORE and AFTER being charsets. An omitted CHARSET implies the usual\n"
- +"charset; an omitted [/SURFACE]... means the implied surfaces for CHARSET; a /\n"
- +"with an empty surface name means no surfaces at all. See the manual.\n"
- +msgstr ""
- +"\n"
- +"REQUEST é SUBREQUEST[,SUBREQUEST]...; SUBREQUEST é ENCODING[..ENCODING]...\n"
- +"ENCODING é [CHARSET][/[SURFACE]]...; REQUEST geralmente é BEFORE..AFTER,\n"
- +"sendo BEFORE e AFTER conjuntos de caracters. Se CHARSET for omitido, é\n"
- +"assumido o conjunto de caracteres usual; se [/SURFACE]... for omitida, são\n"
- +"assumidas as superfícies implicadas para o CHARSET; uma / com um nome vazio de\n"
- +"superfície significa nenhuma superfície. Veja a documentação.\n"
- +
- +#: src/main.c:323
- +msgid ""
- +"\n"
- +"If none of -i and -p are given, presume -p if no FILE, else -i.\n"
- +"Each FILE is recoded over itself, destroying the original. If no\n"
- +"FILE is specified, then act as a filter and recode stdin to stdout.\n"
- +msgstr ""
- +"\n"
- +"Na ausência de -i e -p, assumir -p se não houver ARQUIVO, ou então -i.\n"
- +"Cada ARQUIVO é recodificado para ele nesmo, destruindo o original. Se não for\n"
- +"indicado ARQUIVO, atua como um filtro convertendo do stdin para stdout.\n"
- +
- +#: src/main.c:329
- +msgid ""
- +"\n"
- +"Report bugs to <recode-bugs@iro.umontreal.ca>.\n"
- +msgstr ""
- +"\n"
- +"Informe os erros para <recode-bugs@iro.umontreal.ca>.\n"
- +
- +#: src/main.c:430
- +#, c-format
- +msgid "Sequence `%s' is ambiguous"
- +msgstr "A seqüencia `%s' é ambígua"
- +
- +#: src/main.c:434
- +#, c-format
- +msgid "Sequence `%s' is unknown"
- +msgstr "A seqüencia `%s' é desconhecida"
- +
- +#: src/main.c:464 src/main.c:522
- +#, c-format
- +msgid "Language `%s' is ambiguous"
- +msgstr "A linguagem `%s' é ambígua"
- +
- +#. -1
- +#: src/main.c:468 src/main.c:526
- +#, c-format
- +msgid "Language `%s' is unknown"
- +msgstr "A linguagem `%s' é desconhecida"
- +
- +#: src/main.c:560
- +#, c-format
- +msgid "Format `%s' is ambiguous"
- +msgstr "O formato `%s' é ambíguo"
- +
- +#: src/main.c:564
- +#, c-format
- +msgid "Format `%s' is unknown"
- +msgstr "O formato `%s' é desconhecido"
- +
- +#: src/main.c:621
- +msgid "Written by Franc,ois Pinard <pinard@iro.umontreal.ca>.\n"
- +msgstr "Escrito por François Pinard <pinard@iro.umontreal.ca>.\n"
- +
- +#: src/main.c:624
- +msgid ""
- +"\n"
- +"Copyright (C) 1990, 92, 93, 94, 96, 97, 99 Free Software Foundation, Inc.\n"
- +msgstr ""
- +"\n"
- +"Copyright © 1990, 92, 93, 94, 96, 97, 99 Free Software Foundation, Inc.\n"
- +
- +#: src/main.c:628
- +msgid ""
- +"This is free software; see the source for copying conditions. There is NO\n"
- +"warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n"
- +msgstr ""
- +"Este programa é software livre; veja o código fonte para condições de cópia.\n"
- +"NÃO HÁ GARANTIA; nem mesmo de COMERCIABILIDADE ou ADEQUAÇÃO A QUALQUER\n"
- +"FIM PARTICULAR.\n"
- +
- +#: src/main.c:669
- +#, c-format
- +msgid "Symbol `%s' is unknown"
- +msgstr "O símbolo `%s' é desconhecido"
- +
- +#: src/main.c:709 src/main.c:723
- +#, c-format
- +msgid "Charset `%s' is unknown or ambiguous"
- +msgstr "O conjunto de caracteres `%s' é desconhecido ou ambíguo"
- +
- +#: src/main.c:754
- +msgid "Required argument is missing"
- +msgstr "Falta argumento obrigatório"
- +
- +#: src/main.c:797
- +#, c-format
- +msgid "Syntax is deprecated, please prefer `%s'"
- +msgstr "Sintaxe obsoleta, por favor use `%s'"
- +
- +#: src/main.c:803
- +#, c-format
- +msgid "Request `%s' is erroneous"
- +msgstr "Requisição `%s' está errada"
- +
- +#: src/main.c:903
- +#, c-format
- +msgid "Recoding %s..."
- +msgstr "Recodificando %s..."
- +
- +#: src/main.c:913
- +msgid " done\n"
- +msgstr " feito\n"
- +
- +#: src/main.c:954
- +#, c-format
- +msgid " failed: %s in step `%s..%s'\n"
- +msgstr " falhou: %s no passo `%s..%s'\n"
- +
- +#: src/main.c:961
- +#, c-format
- +msgid "%s failed: %s in step `%s..%s'"
- +msgstr "%s falhou: %s no passo `%s..%s'"
- +
- +#: src/main.c:984
- +#, c-format
- +msgid "%s in step `%s..%s'"
- +msgstr "%s no passo %s..%s"
- +
- +#: src/names.c:335
- +#, c-format
- +msgid "Charset %s already exists and is not %s"
- +msgstr "O conjunto de caracteres %s já existe e não é %s"
- +
- +#: src/names.c:831
- +#, c-format
- +msgid "Cannot list `%s', no names available for this charset"
- +msgstr "Impossível listar `%s', não existem nomes disponíveis para este charset"
- +
- +#. code counter
- +#. expected value for code counter
- +#. insert a while line before printing
- +#. Print the long table according to explode data.
- +#: src/names.c:984 src/names.c:1030
- +#, c-format
- +msgid "Dec Oct Hex UCS2 Mne %s\n"
- +msgstr "Dec Oct Hex UCS2 Mne %s\n"
- +
- +#: src/names.c:1049
- +#, c-format
- +msgid "Sorry, no names available for `%s'"
- +msgstr "Desculpe, não existem nomes disponíveis para `%s'"
- +
- +#: src/outer.c:125
- +#, c-format
- +msgid "Resurfacer set more than once for `%s'"
- +msgstr "Resurfacer setado mais de uma vez para `%s'"
- +
- +#: src/outer.c:133
- +#, c-format
- +msgid "Unsurfacer set more than once for `%s'"
- +msgstr "Unsurfacer setado mais de uma vez para `%s'"
- +
- +#: src/recode.c:115 src/recode.c:127
- +msgid "Virtual memory exhausted"
- +msgstr "Memória virtual esgotada"
- +
- +#: src/recode.c:155
- +#, c-format, ycp-format
- +msgid "Codes %3d and %3d both recode to %3d"
- +msgstr "Ambos os códigos %3d e %3d são recodificados para %3d"
- +
- +#: src/recode.c:169
- +#, c-format, ycp-format
- +msgid "No character recodes to %3d"
- +msgstr "Nenhum caracter é recodificado para %3d"
- +
- +#: src/recode.c:170
- +msgid "Cannot invert given one-to-one table"
- +msgstr "Impossível inverter a tabela um-para-um fornecida"
- +
- +#: src/recode.c:224 src/recode.c:236
- +#, c-format
- +msgid "Following diagnostics for `%s' to `%s'"
- +msgstr "Os seguintes diagnósticos aplica-se de `%s' para `%s'"
- +
- +#: src/recode.c:229 src/recode.c:241
- +#, c-format
- +msgid "Pair no. %d: <%3d, %3d> conflicts with <%3d, %3d>"
- +msgstr "Par nº %d: <%3d, %3d> em conflito com <%3d, %3d>"
- +
- +#: src/recode.c:272
- +msgid "Cannot complete table from set of known pairs"
- +msgstr "Impossível completar a tabela a partir do conjunto de pares conhecidos"
- +
- +#: src/recode.c:497
- +msgid "Identity recoding, not worth a table"
- +msgstr "A recodificação identidade não precisa de uma tabela"
- +
- +#: src/recode.c:504
- +msgid "Recoding is too complex for a mere table"
- +msgstr "Recodificação muito complexa para uma mera tabela"
- +
- +#. Print the header of the header file.
- +#: src/recode.c:536
- +#, c-format
- +msgid "%sConversion table generated mechanically by Free `%s' %s"
- +msgstr "%sTabela de conversão gerada automaticamente por Free `%s' %s"
- +
- +#: src/recode.c:538
- +#, c-format
- +msgid "%sfor sequence %s.%s"
- +msgstr "%spara a sequência %s.%s"
- +
- +#: src/recode.c:744
- +msgid "No table to print"
- +msgstr "Nenhuma tabela para imprimir"
- +
- +#: src/request.c:34
- +msgid "reversible"
- +msgstr "reversível"
- +
- +#: src/request.c:36
- +#, c-format
- +msgid "%s to %s"
- +msgstr "%s para %s"
- +
- +#: src/request.c:37 src/request.c:39
- +msgid "byte"
- +msgstr "byte"
- +
- +#: src/request.c:38 src/request.c:40
- +msgid "ucs2"
- +msgstr "ucs2"
- +
- +#: src/request.c:38 src/request.c:40
- +msgid "variable"
- +msgstr "variável"
- +
- +#: src/request.c:111
- +msgid "*Unachievable*"
- +msgstr "*Impossível*"
- +
- +#: src/request.c:113
- +msgid "*mere copy*"
- +msgstr "*simples cópia*"
- +
- +#: src/request.c:246
- +msgid "Virtual memory exhausted!"
- +msgstr "Memória virtual esgotada!"
- +
- +#: src/request.c:265
- +msgid "Step initialisation failed"
- +msgstr "A inicialização dos passos falhou"
- +
- +#: src/request.c:272
- +msgid "Step initialisation failed (unprocessed options)"
- +msgstr "A inicialização dos passos falhou (opções não foram processadas)"
- +
- +#: src/request.c:568
- +#, c-format
- +msgid "Request: %s\n"
- +msgstr "Requisição: %s\n"
- +
- +#: src/request.c:720
- +#, c-format
- +msgid "Shrunk to: %s\n"
- +msgstr "Encolhido para: %s\n"
- +
- +#: src/request.c:823 src/request.c:932
- +#, c-format
- +msgid "Unrecognised surface name `%s'"
- +msgstr "Nome de superfície `%s' não reconhecido"
- +
- +#: src/request.c:903
- +#, c-format
- +msgid "No way to recode from `%s' to `%s'"
- +msgstr "Impossível recodificar de `%s' para `%s'"
- +
- +#: src/request.c:1013
- +msgid "Expecting `..' in request"
- +msgstr "Esperado `..' na requisição"
- +
- +#: src/task.c:826 src/task.c:1002
- +#, c-format
- +msgid "Child process wait status is 0x%0.2x"
- +msgstr "O estado de espera do processo filho é 0x%0.2x"
- +
- +#: src/testdump.c:298
- +msgid ""
- +"UCS2 Mne Description\n"
- +"\n"
- +msgstr ""
- +"UCS2 Mne Descrição\n"
- +"\n"
- --- recode-3.6.orig/i18n/sv.po
- +++ recode-3.6/i18n/sv.po
- @@ -1,13 +1,13 @@
- # Swedish messages for recode
- -# Copyright © 1996, 1998 Free Software Foundation, Inc.
- -# Jan Djärv <Jan.Djarv@mbox200.swipnet.se>, 1996, 1998.
- -# $Revision: 1.14 $
- +# Copyright © 1996, 1998, 2001 Free Software Foundation, Inc.
- +# Jan Djärv <Jan.Djarv@mbox200.swipnet.se>, 1996, 1998, 2001.
- +# Revision: 1.16
- #
- msgid ""
- msgstr ""
- -"Project-Id-Version: recode 3.5\n"
- +"Project-Id-Version: recode 3.6\n"
- "POT-Creation-Date: 2001-01-02 22:35+0100\n"
- -"PO-Revision-Date: 1999-10-16 13:42 +02:00\n"
- +"PO-Revision-Date: 2001-06-12 12:54+0100\n"
- "Last-Translator: Jan Djärv <Jan.Djarv@mbox200.swipnet.se>\n"
- "Language-Team: Swedish <sv@li.org>\n"
- "MIME-Version: 1.0\n"
- @@ -66,8 +66,7 @@
- "informativt syfte. För alla juridiska tolkningar gäller den engelska\n"
- "originaltexten.\n"
- "\n"
- -"Detta program är fri programvara. Du kan distribuera den och/eller "
- -"modifiera\n"
- +"Detta program är fri programvara. Du kan distribuera den och/eller modifiera\n"
- "den under villkoren i GNU General Public License, publicerad av\n"
- "Free Software Foundation, antingen version 2 eller (om du så vill)\n"
- "någon senare version.\n"
- @@ -78,8 +77,7 @@
- "Public License för ytterligare information.\n"
- "\n"
- "Du bör ha fått en kopia av GNU General Public License\n"
- -"tillsammans med detta program. Om inte, skriv till Free Software "
- -"Foundation,\n"
- +"tillsammans med detta program. Om inte, skriv till Free Software Foundation,\n"
- "Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n"
-
- #: src/main.c:233
- @@ -88,19 +86,13 @@
- msgstr "Försök med \"%s %s\" för mer information\n"
-
- #: src/main.c:237
- -msgid ""
- -"Free `recode' converts files between various character sets and surfaces.\n"
- -msgstr ""
- -"Fria \"recode\" konverterar filer mellan olika teckenuppsättningar och ytor\n"
- +msgid "Free `recode' converts files between various character sets and surfaces.\n"
- +msgstr "Fria \"recode\" konverterar filer mellan olika teckenuppsättningar och ytor.\n"
-
- #: src/main.c:241
- #, c-format
- -msgid ""
- -"\n"
- -"Usage: %s [OPTION]... [ [CHARSET] | REQUEST [FILE]... ]\n"
- -msgstr ""
- -"\n"
- -"Användning: %s [FLAGGA]... [ [TECKENUPPSÄTTNING] | BEGÄRAN [FIL]...]\n"
- +msgid "\nUsage: %s [OPTION]... [ [CHARSET] | REQUEST [FILE]... ]\n"
- +msgstr "\nAnvändning: %s [FLAGGA]... [ [TECKENUPPSÄTTNING] | BEGÄRAN [FIL]...]\n"
-
- #: src/main.c:244
- msgid ""
- @@ -110,17 +102,14 @@
- msgstr ""
- "\n"
- "Om en lång flagga har ett obligatoriskt argument så är argumentet även\n"
- -"obligatoriskt för motsvarade korta flagga. Motsvarande för valfria "
- -"argument.\n"
- +"obligatoriskt för motsvarade korta flagga. Motsvarande för valfria argument.\n"
-
- #: src/main.c:250
- -#, fuzzy
- msgid ""
- "\n"
- "Listings:\n"
- " -l, --list[=FORMAT] list one or all known charsets and aliases\n"
- -" -k, --known=PAIRS restrict charsets according to known PAIRS "
- -"list\n"
- +" -k, --known=PAIRS restrict charsets according to known PAIRS list\n"
- " -h, --header[=[LN/]NAME] write table NAME on stdout using LN, then exit\n"
- " -F, --freeze-tables write out a C module holding all tables\n"
- " -T, --find-subsets report all charsets being subset of others\n"
- @@ -131,15 +120,13 @@
- "\n"
- "Listningar:\n"
- " -l, --list[=FORMAT] visa en eller alla kända teckenuppsättningar\n"
- -" -k, --known=PAR begränsa teckenuppsättningar till de i PAR "
- -"listan\n"
- +" -k, --known=PAR begränsa teckenuppsättningar till de i PAR-listan\n"
- " -h, --header[=[LN/]NAMN] skriv tabell NAMN för LN till standard ut\n"
- " och avsluta.\n"
- " -F, --freeze-tables skriv ut en C modul med alla tabeller\n"
- " -T, --find-subsets skriv ut teckenuppsättningar som är delmängder\n"
- " av andra\n"
- -" -C, --copyright visa copyrightinformation och "
- -"kopieringsvillkor\n"
- +" -C, --copyright visa copyrightinformation och kopieringsvillkor\n"
- " --help visa denna hjälptext och avsluta\n"
- " --version visa versionsinformation och avsluta\n"
-
- @@ -157,11 +144,9 @@
- "\n"
- "Exekveringsalternativ:\n"
- " -v, --verbose förklara delsteg och rapportera framsteg\n"
- -" -q, --quiet, --silent undertryck meddelanden om irreversibla "
- -"omkodningar\n"
- +" -q, --quiet, --silent undertryck meddelanden om irreversibla omkodningar\n"
- " -f, --force gör omkodning även när den är irreversibel\n"
- -" -t, --touch gör \"touch\" på filer som omkodas över sig "
- -"själva\n"
- +" -t, --touch gör \"touch\" på filer som omkodas över sig själva\n"
- " -i, --sequence=files använd temporärfiler mellan delsteg\n"
- " --sequence=memory använd minnesbuffertar mellan delsteg\n"
-
- @@ -204,25 +189,22 @@
- msgstr ""
- "\n"
- "Flagga -l utan FORMAT och TECKENUPPSÄTTNING visar alla tillgängliga\n"
- -"teckenuppsättningar och ytor. FORMAT är \"decimal\", \"octal\", "
- -"\"hexadecimal\"\n"
- +"teckenuppsättningar och ytor. FORMAT är \"decimal\", \"octal\", \"hexadecimal\"\n"
- "eller \"full\" (eller en av \"dohf\").\n"
-
- #: src/main.c:302
- -#, fuzzy
- msgid ""
- -"Unless DEFAULT_CHARSET is set in environment, CHARSET defaults to the "
- -"locale\n"
- +"Unless DEFAULT_CHARSET is set in environment, CHARSET defaults to the locale\n"
- "dependent encoding, determined by LC_ALL, LC_CTYPE, LANG.\n"
- msgstr ""
- "Om miljövariabeln DEFAULT_CHARSET inte är satt blir standardvärdet för\n"
- -"TECKENUPPSÄTTNING \"%s\"\n"
- +"TECKENUPPSÄTTNING den lokalspecifika kodningen, som bestäms av\n"
- +"miljövariablerna LC_ALL, LC_CTYPE och LANG.\n"
-
- #: src/main.c:307
- msgid ""
- "With -k, possible before charsets are listed for the given after CHARSET,\n"
- -"both being tabular charsets, with PAIRS of the form "
- -"`BEF1:AFT1,BEF2:AFT2,...'\n"
- +"both being tabular charsets, with PAIRS of the form `BEF1:AFT1,BEF2:AFT2,...'\n"
- "and BEFs and AFTs being codes are given as decimal numbers.\n"
- msgstr ""
- "Med -k, möjliga startuppsättningar visas för den givna slutuppsättningen,\n"
- @@ -231,28 +213,21 @@
- "som anges med decimala tal.\n"
-
- #: src/main.c:312
- -msgid ""
- -"LN is some language, it may be `c', `perl' or `po'; `c' is the default.\n"
- -msgstr ""
- -"LN är ett språk, det kan vara \"c\", \"perl\" eller \"po\"; \"c\" är "
- -"standardvärde.\n"
- +msgid "LN is some language, it may be `c', `perl' or `po'; `c' is the default.\n"
- +msgstr "LN är ett språk, det kan vara \"c\", \"perl\" eller \"po\"; \"c\" är standardvärde.\n"
-
- #: src/main.c:315
- msgid ""
- "\n"
- -"REQUEST is SUBREQUEST[,SUBREQUEST]...; SUBREQUEST is "
- -"ENCODING[..ENCODING]...\n"
- -"ENCODING is [CHARSET][/[SURFACE]]...; REQUEST often looks like "
- -"BEFORE..AFTER,\n"
- +"REQUEST is SUBREQUEST[,SUBREQUEST]...; SUBREQUEST is ENCODING[..ENCODING]...\n"
- +"ENCODING is [CHARSET][/[SURFACE]]...; REQUEST often looks like BEFORE..AFTER,\n"
- "with BEFORE and AFTER being charsets. An omitted CHARSET implies the usual\n"
- -"charset; an omitted [/SURFACE]... means the implied surfaces for CHARSET; a "
- -"/\n"
- +"charset; an omitted [/SURFACE]... means the implied surfaces for CHARSET; a /\n"
- "with an empty surface name means no surfaces at all. See the manual.\n"
- msgstr ""
- "\n"
- "BEGÄRAN är DELBEGÄRAN[,DELBEGÄRAN]..., DELBEGÄRAN är KODNING[..KODNING]...\n"
- -"KODNING är [TECKENUPPSÄTTNING][/[YTA]].... BEGÄRAN ser ofta ut som "
- -"START..SLUT,\n"
- +"KODNING är [TECKENUPPSÄTTNING][/[YTA]].... BEGÄRAN ser ofta ut som START..SLUT,\n"
- "där START och SLUT är teckenuppsättningar. Ett utelämnat TECKENUPPSÄTTNING\n"
- "innebär den normala teckenuppsättningen,\n"
- "en utelämnad [/YTA]... innebär den normala ytan för TECKENUPPSÄTTNING.\n"
- @@ -272,9 +247,7 @@
- "till standard ut.\n"
-
- #: src/main.c:329
- -msgid ""
- -"\n"
- -"Report bugs to <recode-bugs@iro.umontreal.ca>.\n"
- +msgid "\nReport bugs to <recode-bugs@iro.umontreal.ca>.\n"
- msgstr ""
- "\n"
- "Rapportera fel till <recode-bugs@iro.umontreal.ca>.\n"
- @@ -283,48 +256,41 @@
- #: src/main.c:430
- #, c-format
- msgid "Sequence `%s' is ambiguous"
- -msgstr ""
- +msgstr "Sekvens \"%s\" är tvetydig"
-
- #: src/main.c:434
- #, c-format
- msgid "Sequence `%s' is unknown"
- -msgstr ""
- +msgstr "Sekvens \"%s\" är okänd"
-
- #: src/main.c:464 src/main.c:522
- #, c-format
- msgid "Language `%s' is ambiguous"
- -msgstr ""
- +msgstr "Språk \"%s\" är tvetydigt"
-
- #. -1
- #: src/main.c:468 src/main.c:526
- #, c-format
- msgid "Language `%s' is unknown"
- -msgstr ""
- +msgstr "Språk \"%s\" är okänt"
-
- #: src/main.c:560
- #, c-format
- msgid "Format `%s' is ambiguous"
- -msgstr ""
- +msgstr "Format \"%s\" är tvetydigt"
-
- #: src/main.c:564
- #, c-format
- msgid "Format `%s' is unknown"
- -msgstr ""
- +msgstr "Format \"%s\" är okänt"
-
- #: src/main.c:621
- -#, fuzzy
- msgid "Written by Franc,ois Pinard <pinard@iro.umontreal.ca>.\n"
- -msgstr ""
- -"\n"
- -"Skriven av François Pinard <pinard@iro.umontreal.ca>.\n"
- +msgstr "Skriven av François Pinard <pinard@iro.umontreal.ca>.\n"
-
- #: src/main.c:624
- -msgid ""
- -"\n"
- -"Copyright (C) 1990, 92, 93, 94, 96, 97, 99 Free Software Foundation, Inc.\n"
- -msgstr ""
- -"\n"
- -"Copyright © 1990, 92, 93, 94, 96, 97, 1999 Free Software Foundation, Inc.\n"
- +msgid "\nCopyright (C) 1990, 92, 93, 94, 96, 97, 99 Free Software Foundation, Inc.\n"
- +msgstr "\nCopyright © 1990, 92, 93, 94, 96, 97, 1999 Free Software Foundation, Inc.\n"
-
- #: src/main.c:628
- msgid ""
- @@ -338,26 +304,26 @@
- #: src/main.c:669
- #, c-format
- msgid "Symbol `%s' is unknown"
- -msgstr ""
- +msgstr "Symbol \"%s\" är okänd"
-
- #: src/main.c:709 src/main.c:723
- #, c-format
- msgid "Charset `%s' is unknown or ambiguous"
- -msgstr ""
- +msgstr "Teckenuppsättning \"%s\" är okänd eller tvetydig"
-
- #: src/main.c:754
- msgid "Required argument is missing"
- -msgstr ""
- +msgstr "Obligatoriskt argument saknas"
-
- #: src/main.c:797
- -#, fuzzy, c-format
- +#, c-format
- msgid "Syntax is deprecated, please prefer `%s'"
- msgstr "Föråldrad syntax, använd hellre \"%s\""
-
- #: src/main.c:803
- #, c-format
- msgid "Request `%s' is erroneous"
- -msgstr ""
- +msgstr "Begäran \"%s\" är felaktig"
-
- #: src/main.c:903
- #, c-format
- @@ -369,19 +335,19 @@
- msgstr " klart\n"
-
- #: src/main.c:954
- -#, fuzzy, c-format
- +#, c-format
- msgid " failed: %s in step `%s..%s'\n"
- -msgstr " misslyckades: %s i %s..%s\n"
- +msgstr " misslyckades: %s i steg \"%s..%s\"\n"
-
- #: src/main.c:961
- -#, fuzzy, c-format
- +#, c-format
- msgid "%s failed: %s in step `%s..%s'"
- -msgstr "%s misslyckades: %s i %s..%s"
- +msgstr "%s misslyckades: %s i steg \"%s..%s\""
-
- #: src/main.c:984
- -#, fuzzy, c-format
- +#, c-format
- msgid "%s in step `%s..%s'"
- -msgstr "%s i %s..%s"
- +msgstr "%s i steg \"%s..%s\""
-
- #: src/names.c:335
- #, c-format
- @@ -391,8 +357,7 @@
- #: src/names.c:831
- #, c-format
- msgid "Cannot list `%s', no names available for this charset"
- -msgstr ""
- -"Kan inte visa \"%s\", inga namn tillgängliga för denna teckenuppsättning"
- +msgstr "Kan inte visa \"%s\", inga namn tillgängliga för denna teckenuppsättning"
-
- #. code counter
- #. expected value for code counter
- @@ -423,12 +388,12 @@
- msgstr "Virtuellt minne slut"
-
- #: src/recode.c:155
- -#, c-format, ycp-format
- +#, c-format
- msgid "Codes %3d and %3d both recode to %3d"
- msgstr "Teckenkoderna %3d och %3d omkodas båda till %3d"
-
- #: src/recode.c:169
- -#, c-format, ycp-format
- +#, c-format
- msgid "No character recodes to %3d"
- msgstr "Inget tecken omkodas till %3d"
-
- @@ -504,7 +469,7 @@
-
- #: src/request.c:246
- msgid "Virtual memory exhausted!"
- -msgstr "Virtuellt minne slut"
- +msgstr "Virtuellt minne slut!"
-
- #: src/request.c:265
- msgid "Step initialisation failed"
- @@ -527,7 +492,7 @@
- #: src/request.c:823 src/request.c:932
- #, c-format
- msgid "Unrecognised surface name `%s'"
- -msgstr "Okänt ytnamn: \"%s\""
- +msgstr "Okänt ytnamn \"%s\""
-
- #: src/request.c:903
- #, c-format
- @@ -541,38 +506,8 @@
- #: src/task.c:826 src/task.c:1002
- #, c-format
- msgid "Child process wait status is 0x%0.2x"
- -msgstr "Barnprocess slutstatus är 0x%0.2x"
- +msgstr "Barnprocessens slutstatus är 0x%0.2x"
-
- #: src/testdump.c:298
- -msgid ""
- -"UCS2 Mne Description\n"
- -"\n"
- -msgstr ""
- -"UCS2 Mne Beskrivning\n"
- -"\n"
- -
- -#~ msgid "CHARSET has no default, define DEFAULT_CHARSET in the environment.\n"
- -#~ msgstr ""
- -#~ "TECKENUPPSÄTTNING har inget standardvärde, sätt miljövariabeln "
- -#~ "DEFAULT_CHARSET.\n"
- -
- -#~ msgid "Ambiguous sequence `%s'"
- -#~ msgstr "Tvetydig sekvens \"%s\""
- -
- -#~ msgid "Unknown sequence `%s'"
- -#~ msgstr "Okänd sekvens \"%s\""
- -
- -#~ msgid "Ambiguous language `%s'"
- -#~ msgstr "Tvetydigt språk \"%s\""
- -
- -#~ msgid "Unknown language `%s'"
- -#~ msgstr "Okänt språk \"%s\""
- -
- -#~ msgid "Ambiguous format `%s'"
- -#~ msgstr "Tvetydigt format \"%s\""
- -
- -#~ msgid "Unknown format `%s'"
- -#~ msgstr "Okänt format \"%s\""
- -
- -#~ msgid "Erroneous request `%s'"
- -#~ msgstr "Felaktig begäran \"%s\""
- +msgid "UCS2 Mne Description\n\n"
- +msgstr "UCS2 Mne Beskrivning\n\n"
- --- recode-3.6.orig/i18n/fr.po
- +++ recode-3.6/i18n/fr.po
- @@ -1,17 +1,18 @@
- # Messages français pour Free recode.
- -# Copyright © 1996, 1998, 1999 Free Software Foundation, Inc.
- -# François Pinard <pinard@iro.umontreal.ca>, 1996.
- +# Copyright © 2004 Free Software Foundation, Inc.
- +# Michel Robitaille <robitail@iro.umontreal.ca>, traduction depuis/since 1996.
- #
- msgid ""
- msgstr ""
- -"Project-Id-Version: Free recode 3.5\n"
- +"Project-Id-Version: Free recode 3.6\n"
- "POT-Creation-Date: 2001-01-02 22:35+0100\n"
- -"PO-Revision-Date: 1999-08-17 14:14-04:00\n"
- -"Last-Translator: François Pinard <pinard@iro.umontreal.ca>\n"
- +"PO-Revision-Date: 2004-05-10 08:00-0500\n"
- +"Last-Translator: Michel Robitaille <robitail@IRO.UMontreal.CA>\n"
- "Language-Team: French <traduc@traduc.org>\n"
- "MIME-Version: 1.0\n"
- "Content-Type: text/plain; charset=ISO-8859-1\n"
- "Content-Transfer-Encoding: 8-bit\n"
- +"Plural-Forms: nplurals=2; plural=(n > 1);\n"
-
- #: src/main.c:142
- msgid "No error"
- @@ -27,7 +28,7 @@
-
- #: src/main.c:151
- msgid "Untranslatable input"
- -msgstr "Entrée non traductible"
- +msgstr "Entrée non traduisible"
-
- #: src/main.c:154
- msgid "Invalid input"
- @@ -78,14 +79,11 @@
- #: src/main.c:233
- #, c-format
- msgid "Try `%s %s' for more information.\n"
- -msgstr "Pour plus d'information, essayez «%s %s».\n"
- +msgstr "Pour plus d'information, essayez « %s %s ».\n"
-
- #: src/main.c:237
- -msgid ""
- -"Free `recode' converts files between various character sets and surfaces.\n"
- -msgstr ""
- -"« Free recode » transforme les jeux de caractères et les surfaces de "
- -"fichiers\n"
- +msgid "Free `recode' converts files between various character sets and surfaces.\n"
- +msgstr "« Free recode » transforme les jeux de caractères et les surfaces de fichiers\n"
-
- #: src/main.c:241
- #, c-format
- @@ -103,20 +101,16 @@
- "for the equivalent short option also. Similarly for optional arguments.\n"
- msgstr ""
- "\n"
- -"Un paramètre obligatoire pour une option de forme longue l'est aussi pour "
- -"une\n"
- -"option de forme courte. La même règle s'applique à un paramètre indiqué "
- -"comme\n"
- +"Un paramètre obligatoire pour une option de forme longue l'est aussi pour une\n"
- +"option de forme courte. La même règle s'applique à un paramètre indiqué comme\n"
- "étant optionnel.\n"
-
- #: src/main.c:250
- -#, fuzzy
- msgid ""
- "\n"
- "Listings:\n"
- " -l, --list[=FORMAT] list one or all known charsets and aliases\n"
- -" -k, --known=PAIRS restrict charsets according to known PAIRS "
- -"list\n"
- +" -k, --known=PAIRS restrict charsets according to known PAIRS list\n"
- " -h, --header[=[LN/]NAME] write table NAME on stdout using LN, then exit\n"
- " -F, --freeze-tables write out a C module holding all tables\n"
- " -T, --find-subsets report all charsets being subset of others\n"
- @@ -126,16 +120,11 @@
- msgstr ""
- "\n"
- "Listes:\n"
- -" -l, --list[=FORMAT] afficher un charset donné, ou fournir toute la "
- -"liste\n"
- -" -k, --known=PAIRES choisir les charsets selon quelques PAIRES "
- -"connues\n"
- -" -h, --header[=[LN/]NOM] tabuler NOM sur stdout, utilisant LN, puis "
- -"terminer\n"
- -" -F, --freeze-tables produire un module C contenant toutes les "
- -"tables\n"
- -" -T, --find-subsets lister tout charset qui est sous-ensemble d'un "
- -"autre\n"
- +" -l, --list[=FORMAT] afficher un charset donné, ou fournir toute la liste\n"
- +" -k, --known=PAIRES choisir les charsets selon quelques PAIRES connues\n"
- +" -h, --header[=[LN/]NOM] tabuler NOM sur stdout, utilisant LN, puis terminer\n"
- +" -F, --freeze-tables produire un module C contenant toutes les tables\n"
- +" -T, --find-subsets lister tout charset qui est sous-ensemble d'un autre\n"
- " -C, --copyright afficher les conditions de copie, puis terminer\n"
- " --help fournir ce message d'aide, puis terminer\n"
- " --version identifier la programme, puis terminer\n"
- @@ -153,20 +142,16 @@
- msgstr ""
- "\n"
- "Modes d'opération:\n"
- -" -v, --verbose afficher les étapes prévues, suivre la "
- -"progression\n"
- -" -q, --quiet, --silent taire les messages sur les recodages "
- -"irréversibles\n"
- +" -v, --verbose afficher les étapes prévues, suivre la progression\n"
- +" -q, --quiet, --silent taire les messages sur les recodages irréversibles\n"
- " -f, --force effectuer même les recodages irréversibles\n"
- -" -t, --touch «touch»er les fichiers après leur remplacement\n"
- -" -i, --sequence=files fabriquer des fichiers pour ordonnancer les "
- -"passes\n"
- +" -t, --touch toucher les fichiers après leur remplacement\n"
- +" -i, --sequence=files fabriquer des fichiers pour ordonnancer les passes\n"
- " --sequence=memory utiliser des tampons pour ordonnancer les passes\n"
-
- #: src/main.c:275
- msgid " -p, --sequence=pipe use pipe machinery for sequencing passes\n"
- -msgstr ""
- -" -p, --sequence=pipe utiliser «pipe» pour ordonnancer les passes\n"
- +msgstr " -p, --sequence=pipe utiliser « pipe » pour ordonnancer les passes\n"
-
- #: src/main.c:280
- msgid " -p, --sequence=pipe same as -i (on this system)\n"
- @@ -188,8 +173,8 @@
- " -s, --strict recoder strictement, perte possible de caractères\n"
- " -d, --diacritics se restreindre aux diacritiques pour HTML/LaTeX\n"
- " -S, --source[=LN] ne recoder que les chaînes et les commentaires LN\n"
- -" -c, --colons utiliser «:» plutôt que «\\\"» pour les trémas\n"
- -" -g, --graphics convertir au mieux possible les «rulers» IBMPC\n"
- +" -c, --colons utiliser « : » plutôt que « \\\" » pour les trémas\n"
- +" -g, --graphics convertir au mieux possible les « rulers » IBMPC\n"
- " -x, --ignore=CHARSET ignorer CHARSET durant le choix des étapes\n"
-
- #: src/main.c:296
- @@ -199,60 +184,48 @@
- "FORMAT is `decimal', `octal', `hexadecimal' or `full' (or one of `dohf').\n"
- msgstr ""
- "\n"
- -"L'option «-l» sans FORMAT ni CHARSET donne les charsets et surfaces "
- -"disponibles.\n"
- -"FORMAT vaut «decimal», «octal», «hexadecimal» ou «full», ou encore un "
- -"caractère\n"
- -"dans «dohf».\n"
- +"L'option « -l » sans FORMAT ni CHARSET donne les charsets et surfaces disponibles.\n"
- +"FORMAT vaut « decimal », « octal », « hexadecimal » ou « full », ou encore un caractère\n"
- +"dans « dohf ».\n"
-
- #: src/main.c:302
- -#, fuzzy
- msgid ""
- -"Unless DEFAULT_CHARSET is set in environment, CHARSET defaults to the "
- -"locale\n"
- +"Unless DEFAULT_CHARSET is set in environment, CHARSET defaults to the locale\n"
- "dependent encoding, determined by LC_ALL, LC_CTYPE, LANG.\n"
- msgstr ""
- -"«%s» est présumé sii DEFAULT_CHARSET n'est pas défini dans l'environnement.\n"
- +"À moins que DEFAULT_CHARSET ne soit initialisé dans l'environnement,\n"
- +"le CHARSET par défaut est locale selon l'encodage, déterminé par LC_ALL, LC_CTYPE, LANG.\n"
-
- #: src/main.c:307
- msgid ""
- "With -k, possible before charsets are listed for the given after CHARSET,\n"
- -"both being tabular charsets, with PAIRS of the form "
- -"`BEF1:AFT1,BEF2:AFT2,...'\n"
- +"both being tabular charsets, with PAIRS of the form `BEF1:AFT1,BEF2:AFT2,...'\n"
- "and BEFs and AFTs being codes are given as decimal numbers.\n"
- msgstr ""
- "Avec -k, les charsets antécédents possibles sont listés pour le CHARSET\n"
- "conséquent, tous deux étant des charsets RFC1345, restreints par les PAIRES\n"
- -"dites selon la syntaxe «AVANT1:APRÈS1,AVANT2:APRÈS2,...»; chaque code AVANT\n"
- +"dites selon la syntaxe « AVANT1:APRÈS1,AVANT2:APRÈS2,... »; chaque code AVANT\n"
- "et APRÈS est exprimé en décimal.\n"
-
- #: src/main.c:312
- -msgid ""
- -"LN is some language, it may be `c', `perl' or `po'; `c' is the default.\n"
- -msgstr ""
- -"LN est un langage de programmation, valant `c' (implicite), `perl' ou `po'.\n"
- +msgid "LN is some language, it may be `c', `perl' or `po'; `c' is the default.\n"
- +msgstr "LN est un langage de programmation, valant « c » (implicite), « perl » ou « po ».\n"
-
- #: src/main.c:315
- msgid ""
- "\n"
- -"REQUEST is SUBREQUEST[,SUBREQUEST]...; SUBREQUEST is "
- -"ENCODING[..ENCODING]...\n"
- -"ENCODING is [CHARSET][/[SURFACE]]...; REQUEST often looks like "
- -"BEFORE..AFTER,\n"
- +"REQUEST is SUBREQUEST[,SUBREQUEST]...; SUBREQUEST is ENCODING[..ENCODING]...\n"
- +"ENCODING is [CHARSET][/[SURFACE]]...; REQUEST often looks like BEFORE..AFTER,\n"
- "with BEFORE and AFTER being charsets. An omitted CHARSET implies the usual\n"
- -"charset; an omitted [/SURFACE]... means the implied surfaces for CHARSET; a "
- -"/\n"
- +"charset; an omitted [/SURFACE]... means the implied surfaces for CHARSET; a /\n"
- "with an empty surface name means no surfaces at all. See the manual.\n"
- msgstr ""
- "\n"
- -"DEMANDE est SOUS-DEMANDE[,SOUS-DEMANDE]...; SOUS-DEMANDE est "
- -"CODAGE[..CODAGE]...\n"
- -"CODAGE est [CHARSET][/[SURFACE]]...; DEMANDE ressemble souvent à "
- -"AVANT..APRÈs,\n"
- +"DEMANDE est SOUS-DEMANDE[,SOUS-DEMANDE]...; SOUS-DEMANDE est CODAGE[..CODAGE]...\n"
- +"CODAGE est [CHARSET][/[SURFACE]]...; DEMANDE ressemble souvent à AVANT..APRÈs,\n"
- "AVANT et APRÈS étant des charsets. Un CHARSET omis sous-entend le charset\n"
- "habituel; une [/SURFACE]... omise sous-entend les surfaces habituelles pour\n"
- -"CHARSET; un / sans surface indique l'absence de toute surface. Voir le "
- -"manuel!\n"
- +"CHARSET; un / sans surface indique l'absence de toute surface. Voir le manuel!\n"
-
- #: src/main.c:323
- msgid ""
- @@ -262,10 +235,9 @@
- "FILE is specified, then act as a filter and recode stdin to stdout.\n"
- msgstr ""
- "\n"
- -"En l'absence de «-i» ou «-p», choisir «-i» avec FICHIER, sinon «-p».\n"
- +"En l'absence de « -i » ou « -p », choisir « -i » avec FICHIER, sinon « -p ».\n"
- "Chaque FICHIER est recodé sur lui-même, détruisant l'original. Si aucun\n"
- -"FICHIER n'est donné, alors agir comme un filtre et recoder stdin sur "
- -"stdout.\n"
- +"FICHIER n'est donné, alors agir comme un filtre et recoder stdin sur stdout.\n"
-
- #: src/main.c:329
- msgid ""
- @@ -273,46 +245,42 @@
- "Report bugs to <recode-bugs@iro.umontreal.ca>.\n"
- msgstr ""
- "\n"
- -"Rapporter tout disfonctionnement à mailto:recode-bugs@iro.umontreal.ca;\n"
- -"et rapporter les problèmes de francisation à mailto:traduc@traduc.org.\n"
- +"Rapporter toutes anomalies à <recode-bugs@iro.umontreal.ca>.\n"
-
- #: src/main.c:430
- #, c-format
- msgid "Sequence `%s' is ambiguous"
- -msgstr ""
- +msgstr "Séquence « %s » est ambiguë"
-
- #: src/main.c:434
- #, c-format
- msgid "Sequence `%s' is unknown"
- -msgstr ""
- +msgstr "Séquence « %s » est inconnue"
-
- #: src/main.c:464 src/main.c:522
- #, c-format
- msgid "Language `%s' is ambiguous"
- -msgstr ""
- +msgstr "Langage « %s » est ambigu"
-
- #. -1
- #: src/main.c:468 src/main.c:526
- #, c-format
- msgid "Language `%s' is unknown"
- -msgstr ""
- +msgstr "Langage « %s » est inconnu"
-
- #: src/main.c:560
- #, c-format
- msgid "Format `%s' is ambiguous"
- -msgstr ""
- +msgstr "Format « %s » est ambigu"
-
- #: src/main.c:564
- #, c-format
- msgid "Format `%s' is unknown"
- -msgstr ""
- +msgstr "Format « %s » est inconnu"
-
- #: src/main.c:621
- -#, fuzzy
- msgid "Written by Franc,ois Pinard <pinard@iro.umontreal.ca>.\n"
- -msgstr ""
- -"\n"
- -"Écrit par François Pinard <pinard@iro.umontreal.ca>.\n"
- +msgstr "Écrit par François Pinard <pinard@iro.umontreal.ca>.\n"
-
- #: src/main.c:624
- msgid ""
- @@ -334,50 +302,50 @@
- #: src/main.c:669
- #, c-format
- msgid "Symbol `%s' is unknown"
- -msgstr ""
- +msgstr "¨Symbole « %s » est inconnu"
-
- #: src/main.c:709 src/main.c:723
- #, c-format
- msgid "Charset `%s' is unknown or ambiguous"
- -msgstr ""
- +msgstr "Charset « %s » est inconnu ou ambigu"
-
- #: src/main.c:754
- msgid "Required argument is missing"
- -msgstr ""
- +msgstr "Argument requis est manquant"
-
- #: src/main.c:797
- -#, fuzzy, c-format
- +#, c-format
- msgid "Syntax is deprecated, please prefer `%s'"
- -msgstr "Syntaxe désuète, veuillez préférer «%s»"
- +msgstr "Syntaxe désuète, veuillez préférer « %s »"
-
- #: src/main.c:803
- #, c-format
- msgid "Request `%s' is erroneous"
- -msgstr ""
- +msgstr "Requête « %s » est erronée"
-
- #: src/main.c:903
- #, c-format
- msgid "Recoding %s..."
- -msgstr "Recodage de «%s»..."
- +msgstr "Recodage de « %s »..."
-
- #: src/main.c:913
- msgid " done\n"
- msgstr " complété\n"
-
- #: src/main.c:954
- -#, fuzzy, c-format
- +#, c-format
- msgid " failed: %s in step `%s..%s'\n"
- -msgstr " non-réussi: %s dans %s..%s\n"
- +msgstr " non-réussi: %s dans « %s..%s »\n"
-
- #: src/main.c:961
- -#, fuzzy, c-format
- +#, c-format
- msgid "%s failed: %s in step `%s..%s'"
- -msgstr "%s non-réussi: %s dans %s..%s"
- +msgstr "%s non-réussi: %s dans « %s..%s »"
-
- #: src/main.c:984
- -#, fuzzy, c-format
- +#, c-format
- msgid "%s in step `%s..%s'"
- -msgstr "%s dans %s..%s"
- +msgstr "%s dans « %s..%s »"
-
- #: src/names.c:335
- #, c-format
- @@ -387,7 +355,7 @@
- #: src/names.c:831
- #, c-format
- msgid "Cannot list `%s', no names available for this charset"
- -msgstr "Incapable de lister «%s»: les noms n'y sont pas disponibles"
- +msgstr "Incapable de lister « %s »: les noms n'y sont pas disponibles"
-
- #. code counter
- #. expected value for code counter
- @@ -401,17 +369,17 @@
- #: src/names.c:1049
- #, c-format
- msgid "Sorry, no names available for `%s'"
- -msgstr "Désolé, aucun nom disponible pour «%s»"
- +msgstr "Désolé, aucun nom disponible pour « %s »"
-
- #: src/outer.c:125
- #, c-format
- msgid "Resurfacer set more than once for `%s'"
- -msgstr "Plus d'un re-surfaceur pour `%s'"
- +msgstr "Plus d'un re-surfaceur pour « %s »"
-
- #: src/outer.c:133
- #, c-format
- msgid "Unsurfacer set more than once for `%s'"
- -msgstr "Plus d'un dé-surfaceur pour `%s'"
- +msgstr "Plus d'un dé-surfaceur pour « %s »"
-
- #: src/recode.c:115 src/recode.c:127
- msgid "Virtual memory exhausted"
- @@ -434,7 +402,7 @@
- #: src/recode.c:224 src/recode.c:236
- #, c-format
- msgid "Following diagnostics for `%s' to `%s'"
- -msgstr "Les diagnostics suivants s'appliquent pour «%s» vers «%s»"
- +msgstr "Les diagnostics suivants s'appliquent pour « %s » vers « %s »"
-
- #: src/recode.c:229 src/recode.c:241
- #, c-format
- @@ -457,12 +425,12 @@
- #: src/recode.c:536
- #, c-format
- msgid "%sConversion table generated mechanically by Free `%s' %s"
- -msgstr "%sTable de conversion engendrée mécaniquement par Free «%s» %s"
- +msgstr "%sTable de conversion engendrée mécaniquement par Free « %s » %s"
-
- #: src/recode.c:538
- #, c-format
- msgid "%sfor sequence %s.%s"
- -msgstr "%spour séquence «%s».%s"
- +msgstr "%spour séquence « %s ».%s"
-
- #: src/recode.c:744
- msgid "No table to print"
- @@ -531,12 +499,12 @@
-
- #: src/request.c:1013
- msgid "Expecting `..' in request"
- -msgstr "Chaîne `..' attendue dans la demande"
- +msgstr "Chaîne « .. » attendue dans la demande"
-
- #: src/task.c:826 src/task.c:1002
- #, c-format
- msgid "Child process wait status is 0x%0.2x"
- -msgstr "Le constat «wait» du processus fils est 0x%0.2x"
- +msgstr "L'état du processus fils en attente est 0x%0.2x"
-
- #: src/testdump.c:298
- msgid ""
- @@ -547,8 +515,7 @@
- "\n"
-
- #~ msgid "CHARSET has no default, define DEFAULT_CHARSET in the environment.\n"
- -#~ msgstr ""
- -#~ "CHARSET ne peut être omis, définir DEFAULT_CHARSET dans l'environment.\n"
- +#~ msgstr "CHARSET ne peut être omis, définir DEFAULT_CHARSET dans l'environment.\n"
-
- #~ msgid "Ambiguous sequence `%s'"
- #~ msgstr "La séquence «%s» est ambiguë"
- @@ -611,5 +578,4 @@
- #~ msgstr "Recodage irréversible"
-
- #~ msgid "BEFORE and AFTER both default to `%s' when needed.\n"
- -#~ msgstr ""
- -#~ "AVANT et APRÈS ont implicitement la valeur canonique «%s», lorsqu'absents.\n"
- +#~ msgstr "AVANT et APRÈS ont implicitement la valeur canonique «%s», lorsqu'absents.\n"
- --- recode-3.6.orig/i18n/sl.po
- +++ recode-3.6/i18n/sl.po
- @@ -2,13 +2,13 @@
- # Copyright (C) 1996 Free Software Foundation, Inc.
- # Primoz Peterlin <primoz.peterlin@biofiz.mf.uni-lj.si>, 1996.
- #
- -# $Id: recode-3.5.sl.po,v 1.2 1999/12/21 16:04:38 peterlin Exp peterlin $
- +# $Id: recode-3.6.sl.po,v 1.2 2001/06/08 10:41:42 peterlin Exp $
- #
- msgid ""
- msgstr ""
- -"Project-Id-Version: recode 3.5\n"
- +"Project-Id-Version: recode 3.6\n"
- "POT-Creation-Date: 2001-01-02 22:35+0100\n"
- -"PO-Revision-Date: 1999-12-21 17:01 MET\n"
- +"PO-Revision-Date: 2001-06-08 12:41+02:00\n"
- "Last-Translator: Primoz Peterlin <primoz.peterlin@biofiz.mf.uni-lj.si>\n"
- "Language-Team: Slovenian <sl@li.org>\n"
- "MIME-Version: 1.0\n"
- @@ -67,11 +67,9 @@
- msgstr ""
- "Ta program je prosta programska oprema; lahko ga redistribuirate in/ali\n"
- "spreminjate po pogojih, doloèenih v ,,GNU General Public License``, izdani\n"
- -"pri Free Software Foundation; 2. izdaja (ali novej¹a, èe razpolagate z "
- -"njo).\n"
- +"pri Free Software Foundation; 2. izdaja (ali novej¹a, èe razpolagate z njo).\n"
- "\n"
- -"Ta program se distribuira v upanju, da je uporaben, vendar BREZ "
- -"KAKR©NEGAKOLI\n"
- +"Ta program se distribuira v upanju, da je uporaben, vendar BREZ KAKR©NEGAKOLI\n"
- "JAMSTVA; vkljuèno z impliciranim jamstvom prodajnosti ali uporabnosti za\n"
- "izbrani namen. Za podrobnosti si oglejte ,,GNU General Public License``.\n"
- "\n"
- @@ -85,20 +83,13 @@
- msgstr "Poskusite ,%s %s` za dodatne informacije.\n"
-
- #: src/main.c:237
- -msgid ""
- -"Free `recode' converts files between various character sets and surfaces.\n"
- -msgstr ""
- -"Prosti ,recode` pretvarja datoteke med razliènimi kodnimi nabori in "
- -"preèrkovanji.\n"
- +msgid "Free `recode' converts files between various character sets and surfaces.\n"
- +msgstr "Prosti ,recode` pretvarja datoteke med razliènimi kodnimi nabori in preèrkovanji.\n"
-
- #: src/main.c:241
- #, c-format
- -msgid ""
- -"\n"
- -"Usage: %s [OPTION]... [ [CHARSET] | REQUEST [FILE]... ]\n"
- -msgstr ""
- -"\n"
- -"Uporaba: %s [IZBIRA]... [ [NABOR] | ZAHTEVA [DATOTEKA]... ]\n"
- +msgid "\nUsage: %s [OPTION]... [ [CHARSET] | REQUEST [FILE]... ]\n"
- +msgstr "\nUporaba: %s [IZBIRA]... [ [NABOR] | ZAHTEVA [DATOTEKA]... ]\n"
-
- #: src/main.c:244
- msgid ""
- @@ -111,13 +102,11 @@
- "obveza tudi za kratko obliko. Podobno tudi za neobvezne argumente.\n"
-
- #: src/main.c:250
- -#, fuzzy
- msgid ""
- "\n"
- "Listings:\n"
- " -l, --list[=FORMAT] list one or all known charsets and aliases\n"
- -" -k, --known=PAIRS restrict charsets according to known PAIRS "
- -"list\n"
- +" -k, --known=PAIRS restrict charsets according to known PAIRS list\n"
- " -h, --header[=[LN/]NAME] write table NAME on stdout using LN, then exit\n"
- " -F, --freeze-tables write out a C module holding all tables\n"
- " -T, --find-subsets report all charsets being subset of others\n"
- @@ -127,14 +116,11 @@
- msgstr ""
- "\n"
- "Seznami:\n"
- -" -l, --list[=OBLIKA] izpi¹i en ali vse kodirane nabore znakov\n"
- -" -k, --known=PARI izpi¹i nabore, ki ustrezajo podanim PAROM "
- -"pretvorb\n"
- -" -h, --header[=[JEZIK/]IME] izpi¹i pretvorno tabelo z danim IMENOM v prog. "
- -"JEZIKU\n"
- +" -l, --list[=OBLIKA] izpi¹i enega ali vse kodirane nabore znakov\n"
- +" -k, --known=PARI izpi¹i nabore, ki ustrezajo podanim PAROM pretvorb\n"
- +" -h, --header[=[JEZIK/]IME] izpi¹i pretvorno tabelo z danim IMENOM v prog. JEZIKU\n"
- " -F, --freeze-tables izpi¹i modul v C z vsemi pretvornimi tabelami\n"
- -" -T, --find-subsets poroèaj o vseh naborih, ki so podmno¾ica "
- -"drugih\n"
- +" -T, --find-subsets poroèaj o vseh naborih, ki so podmno¾ica drugih\n"
- " -C, --copyright izpi¹i dovoljenje za uporabo in raz¹irjanje\n"
- " --help ta navodila\n"
- " --version razlièica programa\n"
- @@ -152,8 +138,7 @@
- msgstr ""
- "\n"
- "Naèini dela:\n"
- -" -v, --verbose med potekom razlagaj korake in komentiraj "
- -"napredek\n"
- +" -v, --verbose med potekom razlagaj korake in komentiraj napredek\n"
- " -q, --quiet, --silent brez opozoril o neobrnljivih pretvorbah\n"
- " -f, --force pretvorbo izvedi, èetudi ni obrnljiva\n"
- " -t, --touch pretvorjena datoteka naj nosi datum pretvorbe,\n"
- @@ -182,16 +167,11 @@
- msgstr ""
- "\n"
- "Natanènej¹e nastavljanje:\n"
- -" -s, --strict uporabi strogo pretvorbo, celo na raèun izgube "
- -"znakov\n"
- -" -d, --diacritics pretvori samo pregla¹ene in podobne znake za "
- -"HTML/LaTeX\n"
- -" -S, --source[=JEZIK] omeji pretvorbe na nize in komentarje, kot v "
- -"JEZIKU\n"
- -" -c, --colons nadomesti dierezo z dvopièjem, ne z dvojnim "
- -"narekovajem\n"
- -" -g, --graphics semigrafiène znake s PC pribl. nadomestimo z znaki "
- -"ASCII\n"
- +" -s, --strict uporabi strogo pretvorbo, celo na raèun izgube znakov\n"
- +" -d, --diacritics pretvori samo pregla¹ene in podobne znake za HTML/LaTeX\n"
- +" -S, --source[=JEZIK] omeji pretvorbe na nize in komentarje, kot v JEZIKU\n"
- +" -c, --colons nadomesti dierezo z dvopièjem, ne z dvojnim narekovajem\n"
- +" -g, --graphics semigrafiène znake s PC pribl. nadomestimo z znaki ASCII\n"
- " -x, --ignore=NABOR pri pretvorbi se izogni navedenemu vmesnemu NABORU\n"
-
- #: src/main.c:296
- @@ -201,26 +181,22 @@
- "FORMAT is `decimal', `octal', `hexadecimal' or `full' (or one of `dohf').\n"
- msgstr ""
- "\n"
- -"Izbira -l brez podane OBLIKE ali NABORA izpi¹e seznam vseh znanih kodnih "
- -"naborov\n"
- -"in preèrkovalnih shem. OBLIKA je lahko ,decimal` (deseti¹ka), ,octal` "
- -"(osmi¹ka),\n"
- +"Izbira -l brez podane OBLIKE ali NABORA izpi¹e seznam vseh znanih kodnih naborov\n"
- +"in preèrkovalnih shem. OBLIKA je lahko ,decimal` (deseti¹ka), ,octal` (osmi¹ka),\n"
- ",hexadecimal` (¹estnajsti¹ka) ali ,full` (polna), ali ena od èrk ,dohf`.\n"
-
- #: src/main.c:302
- -#, fuzzy
- msgid ""
- -"Unless DEFAULT_CHARSET is set in environment, CHARSET defaults to the "
- -"locale\n"
- +"Unless DEFAULT_CHARSET is set in environment, CHARSET defaults to the locale\n"
- "dependent encoding, determined by LC_ALL, LC_CTYPE, LANG.\n"
- msgstr ""
- -"Èe ni doloèena spremenljivka DEFAULT_CHARSET, je privzeti NABOR ,%s`.\n"
- +"Èe ni doloèena spremenljivka DEFAULT_CHARSET, se privzame NABOR,\n"
- +"doloèen s spremenljivkami LC_ALL, LC_CTYPE ali LANG.\n"
-
- #: src/main.c:307
- msgid ""
- "With -k, possible before charsets are listed for the given after CHARSET,\n"
- -"both being tabular charsets, with PAIRS of the form "
- -"`BEF1:AFT1,BEF2:AFT2,...'\n"
- +"both being tabular charsets, with PAIRS of the form `BEF1:AFT1,BEF2:AFT2,...'\n"
- "and BEFs and AFTs being codes are given as decimal numbers.\n"
- msgstr ""
- "Pri izbiri -k se izpi¹ejo vsi mo¾ni startni nabori za podani ciljni nabor.\n"
- @@ -229,30 +205,24 @@
- "znakov v startnem in ciljnem kodnem naboru.\n"
-
- #: src/main.c:312
- -msgid ""
- -"LN is some language, it may be `c', `perl' or `po'; `c' is the default.\n"
- +msgid "LN is some language, it may be `c', `perl' or `po'; `c' is the default.\n"
- msgstr "JEZIK je lahko ,c`, ,perl` ali ,po`; privzeto je ,c`.\n"
-
- #: src/main.c:315
- msgid ""
- "\n"
- -"REQUEST is SUBREQUEST[,SUBREQUEST]...; SUBREQUEST is "
- -"ENCODING[..ENCODING]...\n"
- -"ENCODING is [CHARSET][/[SURFACE]]...; REQUEST often looks like "
- -"BEFORE..AFTER,\n"
- +"REQUEST is SUBREQUEST[,SUBREQUEST]...; SUBREQUEST is ENCODING[..ENCODING]...\n"
- +"ENCODING is [CHARSET][/[SURFACE]]...; REQUEST often looks like BEFORE..AFTER,\n"
- "with BEFORE and AFTER being charsets. An omitted CHARSET implies the usual\n"
- -"charset; an omitted [/SURFACE]... means the implied surfaces for CHARSET; a "
- -"/\n"
- +"charset; an omitted [/SURFACE]... means the implied surfaces for CHARSET; a /\n"
- "with an empty surface name means no surfaces at all. See the manual.\n"
- msgstr ""
- "\n"
- "ZAHTEVEK ima obliko PODZAHTEVEK[,PODZAHTEVEK]...; PODZAHTEVEK ima obliko\n"
- "KODIRANJE[,KODIRANJE]...; KODIRANJE ima obliko [NABOR][/[SHEMA]]. ZAHTEVEK\n"
- -"ima pogosto obliko PREJ..POTEM, kjer sta PREJ in POTEM kodirana nabora "
- -"znakov.\n"
- +"ima pogosto obliko PREJ..POTEM, kjer sta PREJ in POTEM kodirana nabora znakov.\n"
- "Izpu¹èeni NABOR pomeni privzetega; izpu¹èena [/SHEMA] pomeni privzeto\n"
- -"preèrkovalno shemo za dani NABOR. Po¹evnica / brez sheme pomeni brez "
- -"preèrkovalne\n"
- +"preèrkovalno shemo za dani NABOR. Po¹evnica / brez sheme pomeni brez preèrkovalne\n"
- "sheme. Podrobnosti so v priroèniku.\n"
-
- #: src/main.c:323
- @@ -265,96 +235,83 @@
- "\n"
- "Èe nista podana niti -i niti -p, se uporabi -p, kadar ni podana DATOTEKA, \n"
- "sicer pa -i. Pretvorba vsake DATOTEKE se zapi¹e prek izvorne razlièice. Èe\n"
- -"DATOTEKA ni podana, recode deluje kot filter med standardnim vhodom in "
- -"izhodom.\n"
- +"DATOTEKA ni podana, recode deluje kot filter med standardnim vhodom in izhodom.\n"
-
- #: src/main.c:329
- -msgid ""
- -"\n"
- -"Report bugs to <recode-bugs@iro.umontreal.ca>.\n"
- -msgstr ""
- -"\n"
- -"Sporoèila o napakah javite na <recode-bugs@iro.umontreal.ca>.\n"
- +msgid "\nReport bugs to <recode-bugs@iro.umontreal.ca>.\n"
- +msgstr "\nSporoèila o napakah javite na <recode-bugs@iro.umontreal.ca>.\n"
-
- #: src/main.c:430
- #, c-format
- msgid "Sequence `%s' is ambiguous"
- -msgstr ""
- +msgstr "Zaporedje ,%s` je dvoumno"
-
- #: src/main.c:434
- #, c-format
- msgid "Sequence `%s' is unknown"
- -msgstr ""
- +msgstr "Zaporedje ,%s` je neznano"
-
- #: src/main.c:464 src/main.c:522
- #, c-format
- msgid "Language `%s' is ambiguous"
- -msgstr ""
- +msgstr "Jezik ,%s` je dvoumen"
-
- #. -1
- #: src/main.c:468 src/main.c:526
- #, c-format
- msgid "Language `%s' is unknown"
- -msgstr ""
- +msgstr "Jezik ,%s` je neznan"
-
- #: src/main.c:560
- #, c-format
- msgid "Format `%s' is ambiguous"
- -msgstr ""
- +msgstr "Oblika ,%s` je dvoumna"
-
- #: src/main.c:564
- #, c-format
- msgid "Format `%s' is unknown"
- -msgstr ""
- +msgstr "Oblika ,%s` je neznana"
-
- #: src/main.c:621
- -#, fuzzy
- msgid "Written by Franc,ois Pinard <pinard@iro.umontreal.ca>.\n"
- -msgstr ""
- -"\n"
- -"Avtor Franc,ois Pinard <pinard@iro.umontreal.ca>.\n"
- +msgstr "Avtor Franc,ois Pinard <pinard@iro.umontreal.ca>.\n"
-
- #: src/main.c:624
- -msgid ""
- -"\n"
- -"Copyright (C) 1990, 92, 93, 94, 96, 97, 99 Free Software Foundation, Inc.\n"
- -msgstr ""
- -"\n"
- -"Copyright (C) 1990, 92, 93, 94, 96, 97, 99 Free Software Foundation, Inc.\n"
- +msgid "\nCopyright (C) 1990, 92, 93, 94, 96, 97, 99 Free Software Foundation, Inc.\n"
- +msgstr "\nCopyright (C) 1990, 92, 93, 94, 96, 97, 99 Free Software Foundation, Inc.\n"
-
- #: src/main.c:628
- msgid ""
- "This is free software; see the source for copying conditions. There is NO\n"
- "warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n"
- msgstr ""
- -"To je prost program; pogoji, pod katerimi ga lahko uporabljate, "
- -"razmno¾ujete\n"
- +"To je prost program; pogoji, pod katerimi ga lahko uporabljate, razmno¾ujete\n"
- "in raz¹irjate so navedeni v izvorni kodi. Za program ni NOBENEGA jamstva,\n"
- "niti jamstev USTREZNOSTI ZA PRODAJO ali PRIMERNOSTI ZA UPORABO.\n"
-
- #: src/main.c:669
- #, c-format
- msgid "Symbol `%s' is unknown"
- -msgstr ""
- +msgstr "Znak ,%s` je neznan"
-
- #: src/main.c:709 src/main.c:723
- #, c-format
- msgid "Charset `%s' is unknown or ambiguous"
- -msgstr ""
- +msgstr "Nabor znakov ,%s` je neznan ali dvoumen"
-
- #: src/main.c:754
- msgid "Required argument is missing"
- -msgstr ""
- +msgstr "Zahtevani argument manjka"
-
- #: src/main.c:797
- -#, fuzzy, c-format
- +#, c-format
- msgid "Syntax is deprecated, please prefer `%s'"
- -msgstr "Neodobravana skladnja: prosimo, uporabljajte ,%s`"
- +msgstr "Neodobravana skladnja; prosimo, uporabljajte ,%s`"
-
- #: src/main.c:803
- #, c-format
- msgid "Request `%s' is erroneous"
- -msgstr ""
- +msgstr "Zahteva ,%s` je napaèna"
-
- #: src/main.c:903
- #, c-format
- @@ -366,19 +323,19 @@
- msgstr " opravljeno\n"
-
- #: src/main.c:954
- -#, fuzzy, c-format
- +#, c-format
- msgid " failed: %s in step `%s..%s'\n"
- -msgstr " neuspe¹no: %s v %s..%s\n"
- +msgstr " neuspe¹no: %s v koraku ,%s..%s`\n"
-
- #: src/main.c:961
- -#, fuzzy, c-format
- +#, c-format
- msgid "%s failed: %s in step `%s..%s'"
- -msgstr "%s neuspe¹no: %s v %s..%s"
- +msgstr "%s neuspe¹no: %s v koraku ,%s..%s`"
-
- #: src/main.c:984
- -#, fuzzy, c-format
- +#, c-format
- msgid "%s in step `%s..%s'"
- -msgstr "%s v %s..%s"
- +msgstr "%s v koraku ,%s..%s`"
-
- #: src/names.c:335
- #, c-format
- @@ -419,12 +376,12 @@
- msgstr "Virtualni pomnilnik porabljen"
-
- #: src/recode.c:155
- -#, c-format, ycp-format
- +#, c-format
- msgid "Codes %3d and %3d both recode to %3d"
- msgstr "Kodi %3d in %3d se obe preslikata v %3d"
-
- #: src/recode.c:169
- -#, c-format, ycp-format
- +#, c-format
- msgid "No character recodes to %3d"
- msgstr "Noben znak se ne preslika v %3d"
-
- @@ -540,17 +497,11 @@
- msgstr "Èakalni status procesa potomca je 0x%0.2x"
-
- #: src/testdump.c:298
- -msgid ""
- -"UCS2 Mne Description\n"
- -"\n"
- -msgstr ""
- -"UCS2 Mne Opis\n"
- -"\n"
- +msgid "UCS2 Mne Description\n\n"
- +msgstr "UCS2 Mne Opis\n\n"
-
- #~ msgid "CHARSET has no default, define DEFAULT_CHARSET in the environment.\n"
- -#~ msgstr ""
- -#~ "NABOR nima privzete vrednosti; doloèite spremenljivko okolja "
- -#~ "DEFAULT_CHARSET.\n"
- +#~ msgstr "NABOR nima privzete vrednosti; doloèite spremenljivko okolja DEFAULT_CHARSET.\n"
-
- #~ msgid "Ambiguous sequence `%s'"
- #~ msgstr "Dvoumno zaporedje ,%s`"
- @@ -613,8 +564,7 @@
- #~ msgstr "Za zdaj je izbira -s ignorirana, kadar je izbrano -g"
-
- #~ msgid "Hash stats: %d names using %d buckets out of %d\n"
- -#~ msgstr ""
- -#~ "Statistika za razpr¹itveno tabelo: %d imen porabilo %d od %d ko¹ev\n"
- +#~ msgstr "Statistika za razpr¹itveno tabelo: %d imen porabilo %d od %d ko¹ev\n"
-
- #~ msgid "Internal error - strategy undecided"
- #~ msgstr "Interna napaka - neodloèen o strategiji"
- @@ -649,8 +599,7 @@
- #~ msgid " -o, --sequence=popen same as -i (on this system)\n"
- #~ msgstr " -o, --sequence=popen isto kot -I (na tem sistemu)\n"
-
- -#~ msgid ""
- -#~ " -o, --sequence=popen use popen machinery for sequencing passes\n"
- +#~ msgid " -o, --sequence=popen use popen machinery for sequencing passes\n"
- #~ msgstr " -o, --sequence=popen uporabi mehanizem ,popen'\n"
-
- #~ msgid ""
- @@ -665,22 +614,19 @@
- #~ "FILE is specified, then act as a filter and recode stdin to stdout.\n"
- #~ msgstr ""
- #~ " -q, --quiet, --silent brez sporoèil o neobrnljivih pretvorbah\n"
- -#~ " -s, --strict striktna pretvorba, tudi na ¹kodo izgubljenih "
- -#~ "znakov\n"
- -#~ " -t, --touch konèna datoteka naj nosi datum pretvorbe, ne "
- -#~ "nastanka\n"
- +#~ " -s, --strict striktna pretvorba, tudi na ¹kodo izgubljenih znakov\n"
- +#~ " -t, --touch konèna datoteka naj nosi datum pretvorbe, ne nastanka\n"
- #~ " -v, --verbose z razlago poteka pretvorbe\n"
- #~ " -x, --ignore=NABOR izpusti NABOR pri izbiri poti pretvorbe\n"
- #~ "\n"
- -#~ "Èe ni podan -i, -o, ali -p, se privzame -p, kadar ni podana DATOTEKA, sicer "
- -#~ "-i.\n"
- +#~ "Èe ni podan -i, -o, ali -p, se privzame -p, kadar ni podana DATOTEKA, sicer -i.\n"
- #~ "Vsaka DATOTEKA se pretvori èez samo sebe in unièi izvirnik. Èe DATOTEKA\n"
- #~ "ni podana, deluje kot filter in pretvarja podatke z vhoda na izhod.\n"
-
- #~ msgid "BEFORE and AFTER both default to `%s' when needed.\n"
- #~ msgstr "Èe nabor PREJ ali POTEM ni podan, se nadomesti z ,%s'\n"
-
- -# POZOR
- +#~ # POZOR
- #~ msgid ""
- #~ "Mandatory or optional arguments to long options are mandatory or optional\n"
- #~ "for short options too.\n"
- @@ -695,12 +641,10 @@
- #~ "FORMAT is a word among decimal, octal, hexadecimal or full (which may be\n"
- #~ "abbreviated to one of `dohf'), it defaults to just the canonical name.\n"
- #~ "With -k, possible before charsets are listed for the given after CHARSET,\n"
- -#~ "both being RFC1345 charsets, with PAIRS of the form "
- -#~ "`BEF1:AFT1,BEF2:AFT2,...\n"
- +#~ "both being RFC1345 charsets, with PAIRS of the form `BEF1:AFT1,BEF2:AFT2,...\n"
- #~ "and BEFs and AFTs being codes. All codes are given as decimal numbers.\n"
- #~ msgstr ""
- -#~ "Argumenti, ki so obvezni za dolge oblike izbir so obvezni tudi za kratke "
- -#~ "oblike,\n"
- +#~ "Argumenti, ki so obvezni za dolge oblike izbir so obvezni tudi za kratke oblike,\n"
- #~ "in enako velja za neobvezne argumente.\n"
- #~ "\n"
- #~ " -C, --copyright obvestilo avtorskih pravicah\n"
- @@ -710,18 +654,14 @@
- #~ " --help ta navodila\n"
- #~ " --version verzija programa\n"
- #~ "\n"
- -#~ "FORMAT izpisa je eden od naslednjih: decimal, octal, hexadecimal ali full "
- -#~ "(mo¾na\n"
- -#~ "je okraj¹ava na prvo èrko: dohf), privzeta izbira je samo kanonièno ime "
- -#~ "nabora.\n"
- +#~ "FORMAT izpisa je eden od naslednjih: decimal, octal, hexadecimal ali full (mo¾na\n"
- +#~ "je okraj¹ava na prvo èrko: dohf), privzeta izbira je samo kanonièno ime nabora.\n"
- #~ "With -k, possible before charsets are listed for the given after CHARSET,\n"
- -#~ "both being RFC1345 charsets, with PAIRS of the form "
- -#~ "`BEF1:AFT1,BEF2:AFT2,...\n"
- +#~ "both being RFC1345 charsets, with PAIRS of the form `BEF1:AFT1,BEF2:AFT2,...\n"
- #~ "and BEFs and AFTs being codes. All codes are given as decimal numbers.\n"
-
- #~ msgid ""
- -#~ "Option -l with no FORMAT nor CHARSET list all charsets, also see the "
- -#~ "Texinfo\n"
- +#~ "Option -l with no FORMAT nor CHARSET list all charsets, also see the Texinfo\n"
- #~ "documentation. My preferred charsets are (each user has preferences):\n"
- #~ "\n"
- #~ " ascii-bs ASCII (7-bit), using backspace to apply diacritics\n"
- @@ -730,10 +670,8 @@
- #~ " latin1 ISO Latin-1 8-bit extension of ASCII\n"
- #~ " texte Easy French convention for transmitting email messages\n"
- #~ msgstr ""
- -#~ "Izbira -l brez podanih FORMAT ali NABOR dá seznam vseh naborov, oglejte si "
- -#~ "¹e\n"
- -#~ "dokumentacijo v Texinfo. Moji priljubljeni nabori (vsak uporabnik ima "
- -#~ "svoje):\n"
- +#~ "Izbira -l brez podanih FORMAT ali NABOR dá seznam vseh naborov, oglejte si ¹e\n"
- +#~ "dokumentacijo v Texinfo. Moji priljubljeni nabori (vsak uporabnik ima svoje):\n"
- #~ "\n"
- #~ " ascii-bs 7-bitni ASCII, z uporabo Backspace za tisk diakritiènih znakov\n"
- #~ " ibmpc 8-bitni nabor IBM-PC, zakljuèek vrstice CR LF\n"
- @@ -760,12 +698,8 @@
- #~ " -h, --header[=NAME] write C code with table NAME on stdout, then exit\n"
- #~ " -i, --sequence=files use intermediate files for sequencing passes\n"
-
- -#~ msgid ""
- -#~ "\n"
- -#~ "Usage: %s [OPTION]... [BEFORE]:[AFTER] [FILE]...\n"
- -#~ msgstr ""
- -#~ "\n"
- -#~ "Uporaba: %s [IZBIRA]... [PREJ]:[POTEM] [DATOTEKA]...\n"
- +#~ msgid "\nUsage: %s [OPTION]... [BEFORE]:[AFTER] [FILE]...\n"
- +#~ msgstr "\nUporaba: %s [IZBIRA]... [PREJ]:[POTEM] [DATOTEKA]...\n"
-
- #~ msgid "many to many"
- #~ msgstr "veè v veè"
- --- recode-3.6.orig/i18n/pt.po
- +++ recode-3.6/i18n/pt.po
- @@ -2,50 +2,50 @@
- # Copyright (C) 1996 Free Software Foundation, Inc.
- # Vitor Duarte <vad@di.fct.unl.pt>, Maio de 1996.
- # Thanks to Nuno Oliveira <nuno@eq.uc.pt>, 1996.
- +# Helder Correia <helder.pereira.correia@gmail.com>, 2005.
- #
- msgid ""
- msgstr ""
- -"Project-Id-Version: GNU recode 3.4.3\n"
- +"Project-Id-Version: GNU recode 3.6\n"
- "POT-Creation-Date: 2001-01-02 22:35+0100\n"
- -"PO-Revision-Date: 1996-11-25 10:00-0000\n"
- -"Last-Translator: Vitor Duarte <vad@di.fct.unl.pt>\n"
- -"Language-Team: Portuguese <pt@li.org>\n"
- +"PO-Revision-Date: 2005-11-13 15:20+0000\n"
- +"Last-Translator: Helder Correia <helder.pereira.correia@gmail.com>\n"
- +"Language-Team: Portuguese <translation-team-pt@lists.sourceforge.net>\n"
- "MIME-Version: 1.0\n"
- -"Content-Type: text/plain; charset=ISO-8859-1\n"
- -"Content-Transfer-Encoding: 8-bit\n"
- +"Content-Type: text/plain; charset=UTF-8\n"
- +"Content-Transfer-Encoding: 8bit\n"
-
- #: src/main.c:142
- msgid "No error"
- -msgstr ""
- +msgstr "Sem erros"
-
- #: src/main.c:145
- msgid "Non canonical input"
- -msgstr ""
- +msgstr "Entrada não canónica"
-
- #: src/main.c:148
- -#, fuzzy
- msgid "Ambiguous output"
- -msgstr "O formato «%s» é ambiguo"
- +msgstr "SaÃda ambÃgua"
-
- #: src/main.c:151
- msgid "Untranslatable input"
- -msgstr ""
- +msgstr "Entrada não traduzÃvel"
-
- #: src/main.c:154
- msgid "Invalid input"
- -msgstr ""
- +msgstr "Entrada inválida"
-
- #: src/main.c:157
- msgid "System detected problem"
- -msgstr ""
- +msgstr "O sistema detectou um problema"
-
- #: src/main.c:160
- msgid "Misuse of recoding library"
- -msgstr ""
- +msgstr "Uso incorrecto da biblioteca de recodificação"
-
- #: src/main.c:163
- msgid "Internal recoding bug"
- -msgstr ""
- +msgstr "Erro de recodificação interno"
-
- #: src/main.c:208
- msgid ""
- @@ -63,38 +63,37 @@
- "along with this program; if not, write to the Free Software Foundation,\n"
- "Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n"
- msgstr ""
- -"Este programa é «free software»; pode redistribuir-lo e/ou modificá-lo\n"
- -"nos termos previstos na licença da GNU (GNU General Public License),\n"
- -"publicada pela Free Software Foundation; de acordo com a versão 2 ou,\n"
- -"se preferir, alguma mais recente.\n"
- -"\n"
- -"Este programa é distribuido na esperança de que lhe seja útil, mas\n"
- -"SEM QUALQUER GARANTIA; nem mesmo a garantia implícita de COMERCIABILIDADE\n"
- -"ou UTILIDADE PARA QUALQUER UTILIZAÇÃO. Para mais informações consulte a\n"
- -"«GNU General Public License».\n"
- +"Este programa é livre; pode redistribuÃ-lo e/ou modificá-lo\n"
- +"nos termos previstos na Licença Pública Geral GNU,\n"
- +"publicada pela Free Software Foundation; de acordo com a versão 2 ou,\n"
- +"se preferir, alguma versão mais recente.\n"
- +"\n"
- +"Este programa é distribuÃdo na esperança que seja útil, mas\n"
- +"SEM QUALQUER GARANTIA; nem mesmo a garantia implÃcita de COMERCIABILIDADE\n"
- +"ou UTILIDADE PARA UM PROPÓSITO PARTICULAR. Para mais informações consulte a\n"
- +"Licença Pública Geral GNU.\n"
- "\n"
- -"Deve ter recebido uma cópia da licença «GNU General Public License» junto\n"
- -"com este programa; se assim não for, escreva para Free Software\n"
- +"Deve ter recebido uma cópia da Licença Pública Geral GNU junttamente\n"
- +"com este programa; se assim não for, escreva para Free Software\n"
- "Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, EUA.\n"
-
- #: src/main.c:233
- #, c-format
- msgid "Try `%s %s' for more information.\n"
- -msgstr "Para mais informação tente «%s %s».\n"
- +msgstr "Para mais informação, tente '%s %s'.\n"
-
- #: src/main.c:237
- -msgid ""
- -"Free `recode' converts files between various character sets and surfaces.\n"
- -msgstr ""
- +msgid "Free `recode' converts files between various character sets and surfaces.\n"
- +msgstr "Free 'recode' converte ficheiros entre vários conjuntos de caracteres e superfÃcies.\n"
-
- #: src/main.c:241
- -#, fuzzy, c-format
- +#, c-format
- msgid ""
- "\n"
- "Usage: %s [OPTION]... [ [CHARSET] | REQUEST [FILE]... ]\n"
- msgstr ""
- "\n"
- -"Uso: %s [OPÇÃO]... [CHARSET]\n"
- +"Utilização: %s [OPÇÃO]... [ [CONJCAR] | PEDIDO [FICHEIRO]... ]\n"
-
- #: src/main.c:244
- msgid ""
- @@ -102,14 +101,16 @@
- "If a long option shows an argument as mandatory, then it is mandatory\n"
- "for the equivalent short option also. Similarly for optional arguments.\n"
- msgstr ""
- +"\n"
- +"Se uma opção longa mostrar um argumento como mandatório, então é igualmente\n"
- +"mandatório para a versão curta. Similarmente para argumentos opcionais.\n"
-
- #: src/main.c:250
- msgid ""
- "\n"
- "Listings:\n"
- " -l, --list[=FORMAT] list one or all known charsets and aliases\n"
- -" -k, --known=PAIRS restrict charsets according to known PAIRS "
- -"list\n"
- +" -k, --known=PAIRS restrict charsets according to known PAIRS list\n"
- " -h, --header[=[LN/]NAME] write table NAME on stdout using LN, then exit\n"
- " -F, --freeze-tables write out a C module holding all tables\n"
- " -T, --find-subsets report all charsets being subset of others\n"
- @@ -117,6 +118,16 @@
- " --help display this help and exit\n"
- " --version output version information and exit\n"
- msgstr ""
- +"\n"
- +"Listagens:\n"
- +" -l, --list[=FORMATO] listar um ou todos os conj. caracteres conhecidos e pseudónimos\n"
- +" -k, --known=PARES restringir conj. caracteres de acordo com lista de PARES conhecidos\n"
- +" -h, --header[=[LN/]NOME] escrever NOME tabela usando LN e sair\n"
- +" -F, --freeze-tables escrever um módulo C com todas as tabelas\n"
- +" -T, --find-subsets reportar conj. de caracteres subconj. de outros\n"
- +" -C, --copyright exibir direitos de autor e condições de cópia\n"
- +" --help exibir esta ajuda e sair\n"
- +" --version exibir versão e sair\n"
-
- #: src/main.c:263
- msgid ""
- @@ -129,18 +140,24 @@
- " -i, --sequence=files use intermediate files for sequencing passes\n"
- " --sequence=memory use memory buffers for sequencing passes\n"
- msgstr ""
- +"\n"
- +"Modos de operação:\n"
- +" -v, --verbose explicar sequência de passos e relatar progresso\n"
- +" -q, --quiet, --silent inibir mensagens acerca de recodificações irreversÃveis\n"
- +" -f, --force forçar recodificações mesmo quando irreversÃveis\n"
- +" -t, --touch actualizar data dos ficheiros após recodificação\n"
- +" -i, --sequence=files usar ficheiros intermédios para passos sequenciais\n"
- +" --sequence=memory usar memória para passos sequenciais\n"
-
- #: src/main.c:275
- msgid " -p, --sequence=pipe use pipe machinery for sequencing passes\n"
- -msgstr " -p, --sequence=pipe usar «pipe» para sequenciar os passos\n"
- +msgstr " -p, --sequence=pipe usar pipe para sequenciar os passos\n"
-
- #: src/main.c:280
- -#, fuzzy
- msgid " -p, --sequence=pipe same as -i (on this system)\n"
- -msgstr " -p, --sequence=pipe o mesmo que -o (neste sistema)\n"
- +msgstr " -p, --sequence=pipe o mesmo que -i (neste sistema)\n"
-
- #: src/main.c:285
- -#, fuzzy
- msgid ""
- "\n"
- "Fine tuning:\n"
- @@ -152,16 +169,13 @@
- " -x, --ignore=CHARSET ignore CHARSET while choosing a recoding path\n"
- msgstr ""
- "\n"
- -" -c, --colons usa «:» em vez de «\"» para o trema\n"
- -" -d, --diacritics restringir a conversão aos diacrilicos do LaTeX\n"
- -" -f, --force efectuar mesmo as conversões irreversíveis\n"
- -" (ATENÇÃO: actualmente -f é sempre assumido)\n"
- -" -g, --graphics aproxima as «caixas» do IBMPC com caracteres "
- -"ASCII\n"
- -" -h, --header[=NAME] produzir apenas, no «stdout», a tabela NAME em\n"
- -" código C\n"
- -" -i, --sequence=files usar ficheiros intermédios para os passos "
- -"sucessivos\n"
- +"Afinação:\n"
- +" -s, --strict usar mapeamentos severos, até perder caracteres\n"
- +" -d, --diacritics converter apenas diacrÃticos ou afins para HTML/LaTeX\n"
- +" -S, --source[=LN] limitar recodificação de expressões e comentários como para LN\n"
- +" -c, --colons usar dois pontos em vez de aspas para diérese\n"
- +" -g, --graphics aproximar réguas IBMPC por gráficos ASCII\n"
- +" -x, --ignore=CONJCAR ignorar CONJCAR ao escolher um caminho a recodificar\n"
-
- #: src/main.c:296
- msgid ""
- @@ -169,39 +183,47 @@
- "Option -l with no FORMAT nor CHARSET list available charsets and surfaces.\n"
- "FORMAT is `decimal', `octal', `hexadecimal' or `full' (or one of `dohf').\n"
- msgstr ""
- +"\n"
- +"A opção -l sem FORMATO nem CONJCAR lista os conjuntos de caracteres e superfÃcies disponÃveis.\n"
- +"FORMATO é 'decimal', 'octal', 'hexadecimal' ou 'full' (ou um de 'dohf').\n"
-
- #: src/main.c:302
- msgid ""
- -"Unless DEFAULT_CHARSET is set in environment, CHARSET defaults to the "
- -"locale\n"
- +"Unless DEFAULT_CHARSET is set in environment, CHARSET defaults to the locale\n"
- "dependent encoding, determined by LC_ALL, LC_CTYPE, LANG.\n"
- msgstr ""
- +"A não ser que DEFAULT_CHARSET esteja definido no ambiente, CONJCAR toma o valor\n"
- +"da codificação por omissão da localização, determinado por LC_ALL, LC_CTYPE, LANG.\n"
-
- #: src/main.c:307
- msgid ""
- "With -k, possible before charsets are listed for the given after CHARSET,\n"
- -"both being tabular charsets, with PAIRS of the form "
- -"`BEF1:AFT1,BEF2:AFT2,...'\n"
- +"both being tabular charsets, with PAIRS of the form `BEF1:AFT1,BEF2:AFT2,...'\n"
- "and BEFs and AFTs being codes are given as decimal numbers.\n"
- msgstr ""
- +"Com -k, possÃvel antes de conj. caracteres serem listados para dados após CONJCAR,\n"
- +"sendo ambos tabulares, com PARES da forma `BEF1:AFT1,BEF2:AFT2,...'\n"
- +"e BEFs e AFTs sendo códigos são dados como números decimais.\n"
-
- #: src/main.c:312
- -msgid ""
- -"LN is some language, it may be `c', `perl' or `po'; `c' is the default.\n"
- -msgstr ""
- +msgid "LN is some language, it may be `c', `perl' or `po'; `c' is the default.\n"
- +msgstr "LN é uma linguagem, podendo ser 'c', 'perl' ou 'po'; 'c' é predefinido.\n"
-
- #: src/main.c:315
- msgid ""
- "\n"
- -"REQUEST is SUBREQUEST[,SUBREQUEST]...; SUBREQUEST is "
- -"ENCODING[..ENCODING]...\n"
- -"ENCODING is [CHARSET][/[SURFACE]]...; REQUEST often looks like "
- -"BEFORE..AFTER,\n"
- +"REQUEST is SUBREQUEST[,SUBREQUEST]...; SUBREQUEST is ENCODING[..ENCODING]...\n"
- +"ENCODING is [CHARSET][/[SURFACE]]...; REQUEST often looks like BEFORE..AFTER,\n"
- "with BEFORE and AFTER being charsets. An omitted CHARSET implies the usual\n"
- -"charset; an omitted [/SURFACE]... means the implied surfaces for CHARSET; a "
- -"/\n"
- +"charset; an omitted [/SURFACE]... means the implied surfaces for CHARSET; a /\n"
- "with an empty surface name means no surfaces at all. See the manual.\n"
- msgstr ""
- +"\n"
- +"PEDIDO é SUBPEDIDO[,SUBPEDIDO]...; SUBPEDIDO é CODIFICAÇÃO[..CODIFICAÇÃO]...\n"
- +"CODIFICAÇÃO é [CONJCAR][/[SUPERF�CIE]]...; PEDIDO pode parecer-se com ANTES..DEPOIS,\n"
- +"com ANTES e DEPOIS sendo conjuntos de caracteres. Um CONJCAR omitido implica o conjunto\n"
- +"habitual; um [/SURFACE]... omitido implica as superfćies para CONJCAR; um /\n"
- +"com um nome de superfÃcie vazio significa ausência de superfÃcies. Veja o manual manual.\n"
-
- #: src/main.c:323
- msgid ""
- @@ -210,95 +232,93 @@
- "Each FILE is recoded over itself, destroying the original. If no\n"
- "FILE is specified, then act as a filter and recode stdin to stdout.\n"
- msgstr ""
- +"\n"
- +"Se nem -i nem -p forem dados, presume-se -p sem FICHEIRO, senão -i.\n"
- +"Cada FICHEIRO é recodificado sobre si próprio, destruindo-se o original. Se\n"
- +"FICHEIRO não for especificado, actue-se como um filtro e recidifique-se a entrada padrão para a saÃda padrão.\n"
-
- #: src/main.c:329
- -#, fuzzy
- msgid ""
- "\n"
- "Report bugs to <recode-bugs@iro.umontreal.ca>.\n"
- msgstr ""
- "\n"
- -"Reporte os «bugs» para <recode-bugs@gnu.ai.mit.edu>.\n"
- +"Reporte erros para <recode-bugs@iro.umontreal.ca>.\n"
-
- #: src/main.c:430
- #, c-format
- msgid "Sequence `%s' is ambiguous"
- -msgstr ""
- +msgstr "A sequência '%s' é ambÃgua"
-
- #: src/main.c:434
- #, c-format
- msgid "Sequence `%s' is unknown"
- -msgstr ""
- +msgstr "A sequência '%s' é desconhecida"
-
- #: src/main.c:464 src/main.c:522
- #, c-format
- msgid "Language `%s' is ambiguous"
- -msgstr ""
- +msgstr "A linguagem '%s' é ambÃgua"
-
- #. -1
- #: src/main.c:468 src/main.c:526
- #, c-format
- msgid "Language `%s' is unknown"
- -msgstr ""
- +msgstr "A linguagem '%s' é desconhecida"
-
- #: src/main.c:560
- #, c-format
- msgid "Format `%s' is ambiguous"
- -msgstr ""
- +msgstr "O formato '%s' é ambÃguo"
-
- #: src/main.c:564
- #, c-format
- msgid "Format `%s' is unknown"
- -msgstr ""
- +msgstr "O formato '%s' é desconhecido"
-
- #: src/main.c:621
- -#, fuzzy
- msgid "Written by Franc,ois Pinard <pinard@iro.umontreal.ca>.\n"
- -msgstr ""
- -"\n"
- -"Escrito por Franc,ois Pinard <pinard@iro.umontreal.ca>.\n"
- +msgstr "Escrito por François Pinard <pinard@iro.umontreal.ca>.\n"
-
- #: src/main.c:624
- -#, fuzzy
- msgid ""
- "\n"
- "Copyright (C) 1990, 92, 93, 94, 96, 97, 99 Free Software Foundation, Inc.\n"
- msgstr ""
- "\n"
- -"Copyright (C) 1990, 1992, 1993, 1994, 1996 Free Software Foundation, Inc.\n"
- +"Copyright (C) 1990, 92, 93, 94, 96, 97, 99 Free Software Foundation, Inc.\n"
-
- #: src/main.c:628
- msgid ""
- "This is free software; see the source for copying conditions. There is NO\n"
- "warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n"
- msgstr ""
- -"Este programa é «free software»; veja o código fonte para saber em que\n"
- -"condições o pode copiar. SEM GARANTIA; nem mesmo de COMERCIABILIDADE ou\n"
- -"de UTILIDADE PARA QUALQUER UTILIZAÇÃO.\n"
- +"Este programa é livre; veja o código fonte para saber as condições de cópia.\n"
- +"NÃO H� GARANTIA; nem mesmo de COMERCIABILIDADE ou de UTILIDADE PARA UM PROPÓSITO PARTICULAR.\n"
-
- #: src/main.c:669
- #, c-format
- msgid "Symbol `%s' is unknown"
- -msgstr ""
- +msgstr "O sÃmbolo '%s' é desconhecido"
-
- #: src/main.c:709 src/main.c:723
- #, c-format
- msgid "Charset `%s' is unknown or ambiguous"
- -msgstr ""
- +msgstr "O conjunto de caracteres '%s' é desconhecido ou ambÃguo"
-
- #: src/main.c:754
- msgid "Required argument is missing"
- -msgstr ""
- +msgstr "Argumento requerido em falta"
-
- #: src/main.c:797
- #, c-format
- msgid "Syntax is deprecated, please prefer `%s'"
- -msgstr ""
- +msgstr "A sintaxe está desaprovada, por favor prefira '%s'"
-
- #: src/main.c:803
- #, c-format
- msgid "Request `%s' is erroneous"
- -msgstr ""
- +msgstr "O pedido '%s' é erróneo"
-
- #: src/main.c:903
- #, c-format
- @@ -312,359 +332,181 @@
- #: src/main.c:954
- #, c-format
- msgid " failed: %s in step `%s..%s'\n"
- -msgstr ""
- +msgstr " falhou: %s no passo '%s..%s'\n"
-
- #: src/main.c:961
- #, c-format
- msgid "%s failed: %s in step `%s..%s'"
- -msgstr ""
- +msgstr "%s falhou: %s no passo '%s..%s'"
-
- #: src/main.c:984
- -#, fuzzy, c-format
- +#, c-format
- msgid "%s in step `%s..%s'"
- -msgstr "%spara a sequência %s.%s"
- +msgstr "%s no passo '%s..%s'"
-
- #: src/names.c:335
- #, c-format
- msgid "Charset %s already exists and is not %s"
- -msgstr "O conjunto de caracteres %s já existe e não é %s"
- +msgstr "O conjunto de caracteres %s j�existe e n� �%s"
-
- #: src/names.c:831
- -#, fuzzy, c-format
- +#, c-format
- msgid "Cannot list `%s', no names available for this charset"
- -msgstr ""
- -"É impossível listar «%s». Não existem nomes no `RFC 1345' para os caracteres"
- +msgstr "Não é possÃvel listar '%s', sem nomes para este conjunto de caracteres"
-
- #. code counter
- #. expected value for code counter
- #. insert a while line before printing
- #. Print the long table according to explode data.
- #: src/names.c:984 src/names.c:1030
- -#, fuzzy, c-format
- +#, c-format
- msgid "Dec Oct Hex UCS2 Mne %s\n"
- -msgstr "dec oct hex ch %s\n"
- +msgstr "Dec Oct Hex UCS2 Mne %s\n"
-
- #: src/names.c:1049
- -#, fuzzy, c-format
- +#, c-format
- msgid "Sorry, no names available for `%s'"
- -msgstr "Desculpe, não existem nomes `RFC 1345' para «%s»"
- +msgstr "Desculpe, sem nomes para '%s'"
-
- #: src/outer.c:125
- #, c-format
- msgid "Resurfacer set more than once for `%s'"
- -msgstr ""
- +msgstr "Repolidor definido mais do que uma vez para '%s'"
-
- #: src/outer.c:133
- #, c-format
- msgid "Unsurfacer set more than once for `%s'"
- -msgstr ""
- +msgstr "Despolidor definido mais do que uma vez para '%s'"
-
- #: src/recode.c:115 src/recode.c:127
- msgid "Virtual memory exhausted"
- -msgstr ""
- +msgstr "Memória virtual esgotada"
-
- #: src/recode.c:155
- #, c-format, ycp-format
- msgid "Codes %3d and %3d both recode to %3d"
- -msgstr "Ambos os códigos %3d e %3d são convertidos em %3d"
- +msgstr "Ambos os c�igos %3d e %3d s� convertidos em %3d"
-
- #: src/recode.c:169
- #, c-format, ycp-format
- msgid "No character recodes to %3d"
- -msgstr "Nenhum carácter é convertido em %3d"
- +msgstr "Nenhum car�ter �convertido em %3d"
-
- #: src/recode.c:170
- msgid "Cannot invert given one-to-one table"
- -msgstr "Não se pode inverter a tabela de um-para-um dada"
- +msgstr "N� se pode inverter a tabela de um-para-um dada"
-
- #: src/recode.c:224 src/recode.c:236
- #, c-format
- msgid "Following diagnostics for `%s' to `%s'"
- -msgstr "Os diagnosticos seguintes aplicam-se de «%s» para «%s»"
- +msgstr "Os diagnosticos seguintes aplicam-se de %s para %s"
-
- #: src/recode.c:229 src/recode.c:241
- -#, fuzzy, c-format
- +#, c-format
- msgid "Pair no. %d: <%3d, %3d> conflicts with <%3d, %3d>"
- -msgstr "Par nº %d: { %3d, %3d } em conflito com { %3d, %3d }"
- +msgstr "Par nº %d: <%3d, %3d> em conflito com <%3d, %3d>"
-
- #: src/recode.c:272
- msgid "Cannot complete table from set of known pairs"
- -msgstr "Não posso completar a tabela a partir do conjunto de pares conhecidos"
- +msgstr "Não é possÃvel completar a tabela a partir do conjunto de pares conhecidos"
-
- #: src/recode.c:497
- msgid "Identity recoding, not worth a table"
- -msgstr "A conversão não necessita de tabela"
- +msgstr "Recodificação identidade, tabela desnecessária"
-
- #: src/recode.c:504
- msgid "Recoding is too complex for a mere table"
- -msgstr "Conversão demasiado complexa para uma simples tabela"
- +msgstr "A recodificação é demasiado complexa para uma mera tabela"
-
- #. Print the header of the header file.
- #: src/recode.c:536
- -#, fuzzy, c-format
- +#, c-format
- msgid "%sConversion table generated mechanically by Free `%s' %s"
- -msgstr "%sTabela de conversão gerada automaticamente por GNU %s %s"
- +msgstr "%sTabela de conversão gerada mecanicamente por Free '%s' %s"
-
- #: src/recode.c:538
- #, c-format
- msgid "%sfor sequence %s.%s"
- -msgstr "%spara a sequência %s.%s"
- +msgstr "%spara a sequência %s.%s"
-
- #: src/recode.c:744
- msgid "No table to print"
- -msgstr "Nenhuma tabela a imprimir"
- +msgstr "Nenhuma tabela para exibir"
-
- #: src/request.c:34
- msgid "reversible"
- -msgstr "reversível"
- +msgstr "reversÃvel"
-
- #: src/request.c:36
- -#, fuzzy, c-format
- +#, c-format
- msgid "%s to %s"
- -msgstr "%spara a sequência %s.%s"
- +msgstr "%s para %s"
-
- #: src/request.c:37 src/request.c:39
- msgid "byte"
- -msgstr ""
- +msgstr "byte"
-
- #: src/request.c:38 src/request.c:40
- msgid "ucs2"
- -msgstr ""
- +msgstr "ucs2"
-
- #: src/request.c:38 src/request.c:40
- -#, fuzzy
- msgid "variable"
- -msgstr "reversível"
- +msgstr "variável"
-
- #: src/request.c:111
- msgid "*Unachievable*"
- -msgstr "*Impossível*"
- +msgstr "*ImpossÃvel*"
-
- #: src/request.c:113
- msgid "*mere copy*"
- -msgstr "*simples cópia*"
- +msgstr "*mera cópia*"
-
- #: src/request.c:246
- msgid "Virtual memory exhausted!"
- -msgstr ""
- +msgstr "Memória virtual esgotada!"
-
- #: src/request.c:265
- msgid "Step initialisation failed"
- -msgstr ""
- +msgstr "A inicialização falhou"
-
- #: src/request.c:272
- msgid "Step initialisation failed (unprocessed options)"
- -msgstr ""
- +msgstr "A inicialização falhou (opções não processadas)"
-
- #: src/request.c:568
- #, c-format
- msgid "Request: %s\n"
- -msgstr ""
- +msgstr "Pedido: %s\n"
-
- #: src/request.c:720
- #, c-format
- msgid "Shrunk to: %s\n"
- -msgstr ""
- +msgstr "Diminuição para: %s\n"
-
- #: src/request.c:823 src/request.c:932
- #, c-format
- msgid "Unrecognised surface name `%s'"
- -msgstr ""
- +msgstr "Nome de superfÃcie '%s' não reconhecido"
-
- #: src/request.c:903
- -#, fuzzy, c-format
- +#, c-format
- msgid "No way to recode from `%s' to `%s'"
- -msgstr "É impossível passar de %s para %s"
- +msgstr "Não é possÃvel recodificar de '%s' para '%s'"
-
- #: src/request.c:1013
- msgid "Expecting `..' in request"
- -msgstr ""
- +msgstr "À espera de '..' no pedido"
-
- #: src/task.c:826 src/task.c:1002
- #, c-format
- msgid "Child process wait status is 0x%0.2x"
- -msgstr "O processo filho terminou com estado 0x%0.2x"
- +msgstr "O estado de espera do processo filho é 0x%0.2x"
-
- #: src/testdump.c:298
- msgid ""
- "UCS2 Mne Description\n"
- "\n"
- msgstr ""
- -
- -#~ msgid "Ambiguous sequence `%s'"
- -#~ msgstr "A sequência «%s» é ambígua"
- -
- -#~ msgid "Unknown sequence `%s'"
- -#~ msgstr "Sequência «%s» desconhecida"
- -
- -#~ msgid "Ambiguous language `%s'"
- -#~ msgstr "Linguagem «%s» ambígua"
- -
- -#~ msgid "Unknown language `%s'"
- -#~ msgstr "Lingua «%s» desconhecida"
- -
- -#~ msgid "Ambiguous format `%s'"
- -#~ msgstr "O formato «%s» é ambiguo"
- -
- -#~ msgid "Unknown format `%s'"
- -#~ msgstr "Formato «%s» desconhecido"
- -
- -#~ msgid "Hash stats: %d names using %d buckets out of %d\n"
- -#~ msgstr "Estatísticas de dispersão: %d nomes, usando %d de %d posições\n"
- -
- -#~ msgid "Currently, -s is ignored when -g is selected"
- -#~ msgstr "Actualmente, -s é ignorado quando -g é seleccionado"
- -
- -#~ msgid "one to one"
- -#~ msgstr "de um para um"
- -
- -#~ msgid "one to many"
- -#~ msgstr "de um para vários"
- -
- -#~ msgid "many to one"
- -#~ msgstr "de vários para um"
- -
- -#~ msgid "many to many"
- -#~ msgstr "de vários para vários"
- -
- -#~ msgid "MAX_CHARSETS is too small"
- -#~ msgstr "MAX_CHARSETS é demasiado pequeno"
- -
- -#~ msgid "Ambiguous charset or encoding `%s'"
- -#~ msgstr "Caracteres ou codificação «%s» ambiguos"
- -
- -#~ msgid "Unknown charset or encoding `%s'"
- -#~ msgstr "Conjunto de caracteres ou codificação «%s» desconhecido"
- -
- -#~ msgid "Simplified to: %s\n"
- -#~ msgstr "Reduzido a: %s\n"
- -
- -#~ msgid "Unbalanced quotes in request"
- -#~ msgstr "Plicas desemparelhadas no pedido"
- -
- -#~ msgid "Illegal backslash"
- -#~ msgstr "Barra invertida ilegal"
- -
- -#~ msgid "Internal error - strategy undecided"
- -#~ msgstr "Erro interno - estratégia não decidível"
- -
- -#~ msgid "ONE to SAME"
- -#~ msgstr "UM para o MESMO"
- -
- -#~ msgid "steps: %d"
- -#~ msgstr "passos: %d"
- -
- -#~ msgid ", %d saved by merging"
- -#~ msgstr ", %d gravado por fusão"
- -
- -#~ msgid " UNACHIEVABLE\n"
- -#~ msgstr " IMPOSSÍVEL\n"
- -
- -#~ msgid "Cannot auto check the ignored charset"
- -#~ msgstr ""
- -#~ "Verificação automática do conjunto de caracteres ignorados impossível"
- -
- -#~ msgid "Cannot auto check on %s"
- -#~ msgstr "Verificação automática em «%s» impossível"
- -
- -#~ msgid ""
- -#~ "Mandatory or optional arguments to long options are mandatory or optional\n"
- -#~ "for short options too.\n"
- -#~ "\n"
- -#~ " -C, --copyright display Copyright and copying conditions\n"
- -#~ " -a, --auto-check report about some or all recoding paths, then exit\n"
- -#~ " -l, --list[=FORMAT] list one or all known charsets\n"
- -#~ " -k, --known=PAIRS restrict charsets according to known PAIRS list\n"
- -#~ " --help display this help and exit\n"
- -#~ " --version output version information and exit\n"
- -#~ "\n"
- -#~ "FORMAT is a word among decimal, octal, hexadecimal or full (which may be\n"
- -#~ "abbreviated to one of `dohf'), it defaults to just the canonical name.\n"
- -#~ "With -k, possible before charsets are listed for the given after CHARSET,\n"
- -#~ "both being RFC1345 charsets, with PAIRS of the form "
- -#~ "`BEF1:AFT1,BEF2:AFT2,...\n"
- -#~ "and BEFs and AFTs being codes. All codes are given as decimal numbers.\n"
- -#~ msgstr ""
- -#~ "Os argumentos obrigatórios ou opcionais na forma longa das opções, também "
- -#~ "osão nas respectivas formas abreviadas.\n"
- -#~ "\n"
- -#~ " -C, --copyright afixar os direitos e condições de cópia\n"
- -#~ " -a, --auto-check verificar os passos para a conversão e terminar\n"
- -#~ " -l, --list[=FORMAT] listar os conjuntos de caracteres conhecidos\n"
- -#~ " -k, --known=PAIRES restringir os conjuntos de caracteres com PAIRES\n"
- -#~ " --help afixar esta ajuda e terminar\n"
- -#~ " --version afixar a versão do programa e terminar\n"
- -#~ "\n"
- -#~ "FORMAT é «decimal», «octal», «hexadecimal» ou «full» (que pode abreviar\n"
- -#~ "usando uma letra de `dohf'), se omitido, o nome canónico é assumido.\n"
- -#~ "Com -k, são listados os caracteres possíveis para cada CHARSET de saída,\n"
- -#~ "de acordo com o RFC1345, com PAIRES da forma «BEF1:AFT1,BEF2:AFT2,...»\n"
- -#~ "sendo BEFs e AFTs os respectivos códigos em notação decimal.\n"
- -
- -#~ msgid ""
- -#~ "Option -l with no FORMAT nor CHARSET list all charsets, also see the "
- -#~ "Texinfo\n"
- -#~ "documentation. My preferred charsets are (each user has preferences):\n"
- -#~ "\n"
- -#~ " ascii-bs ASCII (7-bit), using backspace to apply diacritics\n"
- -#~ " ibmpc IBM-PC 8-bit characters, with proper newlines\n"
- -#~ " latex LaTeX coding of foreign and diacriticized characters\n"
- -#~ " latin1 ISO Latin-1 8-bit extension of ASCII\n"
- -#~ " texte Easy French convention for transmitting email messages\n"
- -#~ msgstr ""
- -#~ "A opção -l sem FORMAT nem CHARSET lista todos os conjuntos de caracteres\n"
- -#~ "(ver manual). Alguns conjuntos de caracteres bastante comuns:\n"
- -#~ "\n"
- -#~ " ascii-bs ASCII (7-bit), usando «backspace» para a acentuação\n"
- -#~ " ibmpc IBM-PC (8-bit), com CR LF a marcar o fim das linhas\n"
- -#~ " latex codificação LaTeX para os caracteres acentuados e outros\n"
- -#~ " latin1 ISO Latin-1 8-bits (extensão do ASCII)\n"
- -#~ " texte convensão «Easy French» para mensagens «email»\n"
- -
- -#~ msgid ""
- -#~ "\n"
- -#~ "Usage: %s [OPTION]... [BEFORE]:[AFTER] [FILE]...\n"
- -#~ msgstr ""
- -#~ "\n"
- -#~ "Uso: %s [OPÇÃO]... [BEFORE]:[AFTER] [FILE]...\n"
- -
- -#~ msgid ""
- -#~ " -o, --sequence=popen use popen machinery for sequencing passes\n"
- -#~ msgstr " -o, --sequence=popen usar «popen» para sequenciar os passos\n"
- -
- -#~ msgid " -o, --sequence=popen same as -i (on this system)\n"
- -#~ msgstr " -o, --sequence=popen o mesmo que -i (neste sistema)\n"
- -
- -#~ msgid ""
- -#~ " -q, --quiet, --silent inhibit messages about irreversible recodings\n"
- -#~ " -s, --strict use strict mappings, even loose characters\n"
- -#~ " -t, --touch touch the recoded files after replacement\n"
- -#~ " -v, --verbose explain sequence of steps and report progress\n"
- -#~ " -x, --ignore=CHARSET ignore CHARSET while choosing a recoding path\n"
- -#~ "\n"
- -#~ "If none of -i, -o and -p are given, presume -p if no FILE, else -i.\n"
- -#~ "Each FILE is recoded over itself, destroying the original. If no\n"
- -#~ "FILE is specified, then act as a filter and recode stdin to stdout.\n"
- -#~ msgstr ""
- -#~ " -q, --quiet, --silent não afixar mensagens sobre conversões "
- -#~ "irreversíveis\n"
- -#~ " -s, --strict conversão estrita, podendo perder alguns "
- -#~ "caracteres\n"
- -#~ " -t, --touch actualizar a hora dos ficheiros processados\n"
- -#~ " -v, --verbose afixar a sequência de passos e relatar o "
- -#~ "progresso\n"
- -#~ " -x, --ignore=CHARSET ignorar CHARSET na escolha da sequência de passos\n"
- -#~ "\n"
- -#~ "Na ausência de -i, -o e -p, assumir -i se não der FILE, ou então -p.\n"
- -#~ "Cada FILE é convertido para ele nesmo, destruindo o original. Se não "
- -#~ "indicar\n"
- -#~ "qualquer FILE, actuar como um filtro convertendo do «stdin» para «stdout».\n"
- -
- -#~ msgid "BEFORE and AFTER both default to `%s' when needed.\n"
- -#~ msgstr "BEFORE e AFTER são ambos assumidos como «%s» quando necessário.\n"
- -
- -#~ msgid "%s: Recoding is not reversible"
- -#~ msgstr "%s: Conversão irreversível"
- -
- -#~ msgid "Recoding is not reversible"
- -#~ msgstr "Conversão irreversível"
- +"UCS2 Mne Descrição\n"
- +"\n"
- --- recode-3.6.orig/i18n/vi.po
- +++ recode-3.6/i18n/vi.po
- @@ -0,0 +1,512 @@
- +# Vietnamese translation for recode-3.6.
- +# Copyright (C) 2005 Free Software Foundation, Inc.
- +# Clytie Siddall <clytie@riverland.net.au>, 2005.
- +#
- +msgid ""
- +msgstr ""
- +"Project-Id-Version: recode 3.6\n"
- +"Report-Msgid-Bugs-To: <recode-bugs@iro.umontreal.ca>\n"
- +"POT-Creation-Date: 2001-01-02 22:35+0100\n"
- +"PO-Revision-Date: 2005-02-20 18:44+0950\n"
- +"Last-Translator: Clytie Siddall <clytie@riverland.net.au>\n"
- +"Language-Team: Vietnamese <gnomevi-list@lists.sourceforge.net> \n"
- +"MIME-Version: 1.0\n"
- +"Content-Type: text/plain; charset=utf-8\n"
- +"Content-Transfer-Encoding: 8bit\n"
- +
- +#: src/main.c:142
- +msgid "No error"
- +msgstr "Không có lỗi"
- +
- +#: src/main.c:145
- +msgid "Non canonical input"
- +msgstr "Dữ liệụ gõ không đúng tiêu chuẩn"
- +
- +#: src/main.c:148
- +msgid "Ambiguous output"
- +msgstr "Dữ liệu xuất là mơ hồ"
- +
- +#: src/main.c:151
- +msgid "Untranslatable input"
- +msgstr "Dữ liệu gõ không dịch được"
- +
- +#: src/main.c:154
- +msgid "Invalid input"
- +msgstr "Dữ liệu gõ không hợp lệ"
- +
- +#: src/main.c:157
- +msgid "System detected problem"
- +msgstr "Hệ thống mới gặp lỗi"
- +
- +#: src/main.c:160
- +msgid "Misuse of recoding library"
- +msgstr "Không sỠdụng thư viện mã hóa lại cho đúng"
- +
- +#: src/main.c:163
- +msgid "Internal recoding bug"
- +msgstr "Lỗi mã hóa lại nội bộ"
- +
- +#: src/main.c:208
- +msgid ""
- +"This program is free software; you can redistribute it and/or modify\n"
- +"it under the terms of the GNU General Public License as published by\n"
- +"the Free Software Foundation; either version 2, or (at your option)\n"
- +"any later version.\n"
- +"\n"
- +"This program is distributed in the hope that it will be useful,\n"
- +"but WITHOUT ANY WARRANTY; without even the implied warranty of\n"
- +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n"
- +"GNU General Public License for more details.\n"
- +"\n"
- +"You should have received a copy of the GNU General Public License\n"
- +"along with this program; if not, write to the Free Software Foundation,\n"
- +"Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n"
- +msgstr ""
- +"ChÆ°Æ¡ng trình nà y là phần má»�m tá»± do; bạn có thể phân phối và /hay sá»a đổÃ\n"
- +"nó với đi�u kiện cua Quy�n Công Chung Gnu (GPL) như được xuất do\n"
- +"Free Software Foundation; hoặc phiên bản 2, hoặc (tùy ch�n)\n"
- +"bất cứ phiên bản sau nà o.\n"
- +"\n"
- +"Chúng tôi phân phối chÆ°Æ¡ng trình nà y vì mong nó có Ãch, nhÆ°ng\n"
- +"không bảo đảm gì cả, không bảo đảm một cách ngụ ý\n"
- +"khả năng bán hay khả năng là m việc dứt khoát. Hãy xem\n"
- +"Quy�n Công Chung Gnu để tim thấy chi tiết thêm.\n"
- +"\n"
- +"Bạn nên được nháºn má»™t bản Quyá»�n Công Chung Gnu vá»›i\n"
- +"chương trình nà y; nếu không thì hãy viết thư cho Free Software Foundation,\n"
- +"Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA (Mỹ).\n"
- +
- +#: src/main.c:233
- +#, c-format
- +msgid "Try `%s %s' for more information.\n"
- +msgstr "ThỠlệnh `%s %s' để tìm thấy thông tin thêm.\n"
- +
- +#: src/main.c:237
- +msgid "Free `recode' converts files between various character sets and surfaces.\n"
- +msgstr "ChÆ°Æ¡ng trình `recode' (mã hóa lại) tá»± do thì chuyển đổi táºp tin giữa nhiá»�u bá»™ ký tá»± và mặt khác nhau.\n"
- +
- +#: src/main.c:241
- +#, c-format
- +msgid ""
- +"\n"
- +"Usage: %s [OPTION]... [ [CHARSET] | REQUEST [FILE]... ]\n"
- +msgstr ""
- +"\n"
- +"Cách sỠdụng: %s [TÙY_CHỌN]... [ [BỘ_K�_TỰ] | LỜI_YÊU_CẦU [TẬP_TIN]... ]\n"
- +
- +#: src/main.c:244
- +msgid ""
- +"\n"
- +"If a long option shows an argument as mandatory, then it is mandatory\n"
- +"for the equivalent short option also. Similarly for optional arguments.\n"
- +msgstr ""
- +"\n"
- +"Nếu tùy chá»�n dà i phải có đối số thì tùy chá»�n ngắn thÃch hợp cÅ©ng váºy.\n"
- +"�ối với đối số tùy ch�n thì cách giống nhau.\n"
- +
- +#: src/main.c:250
- +msgid ""
- +"\n"
- +"Listings:\n"
- +" -l, --list[=FORMAT] list one or all known charsets and aliases\n"
- +" -k, --known=PAIRS restrict charsets according to known PAIRS list\n"
- +" -h, --header[=[LN/]NAME] write table NAME on stdout using LN, then exit\n"
- +" -F, --freeze-tables write out a C module holding all tables\n"
- +" -T, --find-subsets report all charsets being subset of others\n"
- +" -C, --copyright display Copyright and copying conditions\n"
- +" --help display this help and exit\n"
- +" --version output version information and exit\n"
- +msgstr ""
- +"\n"
- +"Danh sách:\n"
- +" -l, --list[=DẠNG] _ghi danh sach_ một hay tất cả bộ ký tự và biệt hiệu được biết\n"
- +" -k, --known=CẶP hạn chế bộ ký tự theo danh sách CẶP _được biết_\n"
- +" -h, --header[=[NGÔN_NGỮ/]TÊN] ghi TÊN bảng ra thiết bị xuất chuẩn bằng sỠdụng ngôn ngữ ấy rồi thoát (_đầu đ�_)\n"
- +" -F, --freeze-tables ghi ra mô-đun C chứa tất cả _bảng_ (_là m đông đặc_)\n"
- +" -T, --find-subsets thông báo tât cả bộ ký tự là _nhóm phụ_ của bộ khác (_tìm_)\n"
- +" -C, --copyright hiển thị các đi�u kiện _bản quy�n_ và sao chép\n"
- +" --help hiển thị _trợ giúp_ nà y rồi thoát\n"
- +" --version xuất thông tin _phiên bản_ rồi thoát\n"
- +
- +#: src/main.c:263
- +msgid ""
- +"\n"
- +"Operation modes:\n"
- +" -v, --verbose explain sequence of steps and report progress\n"
- +" -q, --quiet, --silent inhibit messages about irreversible recodings\n"
- +" -f, --force force recodings even when not reversible\n"
- +" -t, --touch touch the recoded files after replacement\n"
- +" -i, --sequence=files use intermediate files for sequencing passes\n"
- +" --sequence=memory use memory buffers for sequencing passes\n"
- +msgstr ""
- +"\n"
- +"Chế độ thi hà nh:\n"
- +" -v, --verbose giải thÃch dãy bÆ°á»›c và thông báo tiến trình (_chi tiết_)\n"
- +" -q, --quiet, --silent thu hồi các thông điệp v� việc mã hóa lại không hoà n tác (_im_)\n"
- +" -f, --force _buộc_ tất cả việc mã hóa lại ngay cả khi không thể hoà n tác\n"
- +" -t, --touch _sá»�_ má»�i táºp tin được mã hóa lại sau khi thay thế\n"
- +" -i, --sequence=files sỠdụng _tâp tin_ trung cấp cho việc _sắp xếp_ \n"
- +" --sequence=memory sỠdụng bộ đệm _nhớ_ cho việc _sắp xếp_\n"
- +
- +#: src/main.c:275
- +msgid " -p, --sequence=pipe use pipe machinery for sequencing passes\n"
- +msgstr " -p, --sequence=pipe sỠdụng thiết bị _ống_ cho việc _sắp xếp_\n"
- +
- +#: src/main.c:280
- +msgid " -p, --sequence=pipe same as -i (on this system)\n"
- +msgstr " -p, --sequence=pipe bằng c� -i (trên hệ đi�u hà nh nà y)\n"
- +
- +#: src/main.c:285
- +msgid ""
- +"\n"
- +"Fine tuning:\n"
- +" -s, --strict use strict mappings, even loose characters\n"
- +" -d, --diacritics convert only diacritics or alike for HTML/LaTeX\n"
- +" -S, --source[=LN] limit recoding to strings and comments as for LN\n"
- +" -c, --colons use colons instead of double quotes for diaeresis\n"
- +" -g, --graphics approximate IBMPC rulers by ASCII graphics\n"
- +" -x, --ignore=CHARSET ignore CHARSET while choosing a recoding path\n"
- +msgstr ""
- +"\n"
- +"�i�u hưởng tinh:\n"
- +" -s, --strict sỠdụng ánh xạ _chặt chẽ_, ngay cả ký tự phóng\n"
- +" -d, --diacritics chuyển đổi chỉ _dấu phụ_ hay đi�u như nhau đối với HTML/LaTeX\n"
- +" -S, --source[=NGÔN_NGá»®] hạn chế việc ma hóa lại nên chỉ xá» lý chuá»—i và chú thÃch nhÆ° ngôn ngữ ấy (_nguồn_)\n"
- +" -c, --colons sỠdụng _dấu hai chấm_ thay thế dấu nháy kép cho dấu tách đôi\n"
- +" -g, --graphics ước các thước đo IBMPC bằng _đồ h�a_ ASCII\n"
- +" -x, --ignore=BÔ_K�_TỰ _b� qua_ bộ ký tự ấy khi ch�n đư�ng dẫn mã hóa lại\n"
- +
- +#: src/main.c:296
- +msgid ""
- +"\n"
- +"Option -l with no FORMAT nor CHARSET list available charsets and surfaces.\n"
- +"FORMAT is `decimal', `octal', `hexadecimal' or `full' (or one of `dohf').\n"
- +msgstr ""
- +"\n"
- +"Khi tùy ch�n -l không có DẠNG hay BỘ K� TỰ thi ghi danh sách tất cả bộ ký tự và mặt sẵn sà ng.\n"
- +"DẠNG là `decimal' (tháºp phân), `octal' (bát phân), `hexadecimal' (tháºp lục phân) hay `full' (toà n) (hay má»™t của chữ đầu `dohf').\n"
- +
- +#: src/main.c:302
- +msgid ""
- +"Unless DEFAULT_CHARSET is set in environment, CHARSET defaults to the locale\n"
- +"dependent encoding, determined by LC_ALL, LC_CTYPE, LANG.\n"
- +msgstr ""
- +"Nếu chÆ°a láºp BỘ_KÃ�_Tá»°_MẶC_Ä�ỊNH trong môi trÆ°á»�ng thì LC_ALL, LC_CTYPE, LANG\n"
- +"quyết định biên mã phụ thuộc và o mi�n địa phương, là BỘ_K�_TỰ mặc định\n"
- +
- +#: src/main.c:307
- +msgid ""
- +"With -k, possible before charsets are listed for the given after CHARSET,\n"
- +"both being tabular charsets, with PAIRS of the form `BEF1:AFT1,BEF2:AFT2,...'\n"
- +"and BEFs and AFTs being codes are given as decimal numbers.\n"
- +msgstr ""
- +"Có thể sỠdụng tùy ch�n -k trước khi ghi danh sách bộ ký tự sau BỘ_K�_TỰ,\n"
- +"cả hai bộ ký tự ấy có dạng bảng, có m�i đôi dạng `BEF1:AFT1,BEF2:AFT2,...'\n"
- +"và cả hai BEF và AFT là mã dạng số tháºp phân.\n"
- +
- +#: src/main.c:312
- +msgid "LN is some language, it may be `c', `perl' or `po'; `c' is the default.\n"
- +msgstr "LN hay NGÔN_NGỮ là một ngôn ngữ, có thể `c', `perl' hay `po'; còn `c' là mặc định.\n"
- +
- +#: src/main.c:315
- +msgid ""
- +"\n"
- +"REQUEST is SUBREQUEST[,SUBREQUEST]...; SUBREQUEST is ENCODING[..ENCODING]...\n"
- +"ENCODING is [CHARSET][/[SURFACE]]...; REQUEST often looks like BEFORE..AFTER,\n"
- +"with BEFORE and AFTER being charsets. An omitted CHARSET implies the usual\n"
- +"charset; an omitted [/SURFACE]... means the implied surfaces for CHARSET; a /\n"
- +"with an empty surface name means no surfaces at all. See the manual.\n"
- +msgstr ""
- +"\n"
- +"LỜI_YÊU_CẦU là PHỤ_LỜI_YÊU_CẦU[,PHỤ_LỜI_YÊU_CẦU]...;\n"
- +"PHỤ_LỜI_YÊU_CẦU là BIÊN_MÃ [..BIÊN_MÃ]... BIÊN_MÃ là [BỘ_K�_TỰ][/[MẶT]]...;\n"
- +"LỜI_YÊU_CẦU thư�ng hình như TRƯỚC..SAU, mà cả hai TRƯỚC và SAU là bô ký tự.\n"
- +"Khi không nháºp BỘ_KÃ�_Tá»° nên sá» dụng bá»™ ký tá»± thÆ°á»�ng; khi không nháºp [/MẶT]...\n"
- +"nên sỠdụng những mặt ngụ ý cho BỘ_K�_TỰ; ký tự / có tên mặt trống có nghĩa là \n"
- +"không có mặt nà o. Hãy xem sổ hướng dẫn.\n"
- +
- +#: src/main.c:323
- +msgid ""
- +"\n"
- +"If none of -i and -p are given, presume -p if no FILE, else -i.\n"
- +"Each FILE is recoded over itself, destroying the original. If no\n"
- +"FILE is specified, then act as a filter and recode stdin to stdout.\n"
- +msgstr ""
- +"\n"
- +"Nếu chÆ°a nháºn -i và -p thì giả sá» -p nếu không có TẬP_TIN, nếu có thì -i.\n"
- +"Sẽ mã hóa lại mỗi TẬP_TIN trên mình nên xóa b� đi�u trước. Nếu chưa ghi rõ TẬP_TIN\n"
- +"thì thay quy�n trình l�c và mã hóa lại dữ liệu gõ chuẩn ra thiết bị xuất chuẩn.\n"
- +
- +#: src/main.c:329
- +msgid ""
- +"\n"
- +"Report bugs to <recode-bugs@iro.umontreal.ca>.\n"
- +msgstr ""
- +"\n"
- +"Hãy thông báo lỗi cho <recode-bugs@iro.umontreal.ca>.\n"
- +
- +#: src/main.c:430
- +#, c-format
- +msgid "Sequence `%s' is ambiguous"
- +msgstr "Dãy `%s' mơ hồ"
- +
- +#: src/main.c:434
- +#, c-format
- +msgid "Sequence `%s' is unknown"
- +msgstr "Chưa biết dãy `%s' "
- +
- +#: src/main.c:464 src/main.c:522
- +#, c-format
- +msgid "Language `%s' is ambiguous"
- +msgstr "Ngôn ngữ `%s' mơ hồ"
- +
- +#. -1
- +#: src/main.c:468 src/main.c:526
- +#, c-format
- +msgid "Language `%s' is unknown"
- +msgstr "Chưa biết ngôn ngữ `%s'"
- +
- +#: src/main.c:560
- +#, c-format
- +msgid "Format `%s' is ambiguous"
- +msgstr "Dạng `%s' mơ hồ"
- +
- +#: src/main.c:564
- +#, c-format
- +msgid "Format `%s' is unknown"
- +msgstr "Chưa biết dạng `%s' "
- +
- +#: src/main.c:621
- +msgid "Written by Franc,ois Pinard <pinard@iro.umontreal.ca>.\n"
- +msgstr "Tác giả: François Pinard <pinard@iro.umontreal.ca>.\n"
- +
- +#: src/main.c:624
- +msgid ""
- +"\n"
- +"Copyright (C) 1990, 92, 93, 94, 96, 97, 99 Free Software Foundation, Inc.\n"
- +msgstr ""
- +"\n"
- +"Bản quy�n (C) năm 1990, 92, 93, 94, 96, 97, 99 Free Software Foundation, Inc.\n"
- +
- +#: src/main.c:628
- +msgid ""
- +"This is free software; see the source for copying conditions. There is NO\n"
- +"warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n"
- +msgstr ""
- +"�ây là phần m�m tự do; hãy xem mã nguồn để thấy đi�u kiện sao chép.\n"
- +"Không bảo đảm gì cả, dù khả năng bán hay khả năng là m việc dứt khoát.\n"
- +
- +#: src/main.c:669
- +#, c-format
- +msgid "Symbol `%s' is unknown"
- +msgstr "Chưa biết ký hiệu `%s' "
- +
- +#: src/main.c:709 src/main.c:723
- +#, c-format
- +msgid "Charset `%s' is unknown or ambiguous"
- +msgstr "Bộ ký tự `%s' là chưa được biệt hoặc mơ hồ"
- +
- +#: src/main.c:754
- +msgid "Required argument is missing"
- +msgstr "Thiếu đốà số bắt buộc"
- +
- +#: src/main.c:797
- +#, c-format
- +msgid "Syntax is deprecated, please prefer `%s'"
- +msgstr "Phản đối cú pháp ấy, hãy sỠdụng `%s' thay thế"
- +
- +#: src/main.c:803
- +#, c-format
- +msgid "Request `%s' is erroneous"
- +msgstr "L�i yêu cầu `%s' không đúng"
- +
- +#: src/main.c:903
- +#, c-format
- +msgid "Recoding %s..."
- +msgstr "�ang mã hóa lại %s..."
- +
- +#: src/main.c:913
- +msgid " done\n"
- +msgstr " xong rồi\n"
- +
- +#: src/main.c:954
- +#, c-format
- +msgid " failed: %s in step `%s..%s'\n"
- +msgstr " không xong được: %s trong bước `%s..%s'\n"
- +
- +#: src/main.c:961
- +#, c-format
- +msgid "%s failed: %s in step `%s..%s'"
- +msgstr "%s không xong được: %s trong bước `%s..%s'"
- +
- +#: src/main.c:984
- +#, c-format
- +msgid "%s in step `%s..%s'"
- +msgstr "%s trong bÆ°á»›c `%s..%s'"
- +
- +#: src/names.c:335
- +#, c-format
- +msgid "Charset %s already exists and is not %s"
- +msgstr "Bộ ký tự %s tồn tại rồi, không là %s"
- +
- +#: src/names.c:831
- +#, c-format
- +msgid "Cannot list `%s', no names available for this charset"
- +msgstr "Không ghi `%s' được vì không có tên nà o cho bộ ký tự nà y"
- +
- +#. code counter
- +#. expected value for code counter
- +#. insert a while line before printing
- +#. Print the long table according to explode data.
- +#: src/names.c:984 src/names.c:1030
- +#, c-format
- +msgid "Dec Oct Hex UCS2 Mne %s\n"
- +msgstr "Hệ2 Hệ8 Hệ16 UCS2 Nhớ %s\n"
- +
- +#: src/names.c:1049
- +#, c-format
- +msgid "Sorry, no names available for `%s'"
- +msgstr "Tiếc là không có tên nà o cho `%s'"
- +
- +#: src/outer.c:125
- +#, c-format
- +msgid "Resurfacer set more than once for `%s'"
- +msgstr "Ä�ã láºp việc tạo mặt lại hÆ¡n má»™t lần cho `%s'"
- +
- +#: src/outer.c:133
- +#, c-format
- +msgid "Unsurfacer set more than once for `%s'"
- +msgstr "Ä�ã láºp việc bá»� mặt hÆ¡n má»™t lần cho `%s'"
- +
- +#: src/recode.c:115 src/recode.c:127
- +msgid "Virtual memory exhausted"
- +msgstr "Hết bộ nhớ ảo rồì"
- +
- +#: src/recode.c:155
- +#, c-format, ycp-format
- +msgid "Codes %3d and %3d both recode to %3d"
- +msgstr "Có mã hóa lại cả hai mã %3d và %3d thà nh %3d"
- +
- +#: src/recode.c:169
- +#, c-format, ycp-format
- +msgid "No character recodes to %3d"
- +msgstr "Không mã hóa lại ký tự nà o thà nh %3d"
- +
- +#: src/recode.c:170
- +msgid "Cannot invert given one-to-one table"
- +msgstr "Không đảo được bảng một-đối-một đã cho"
- +
- +#: src/recode.c:224 src/recode.c:236
- +#, c-format
- +msgid "Following diagnostics for `%s' to `%s'"
- +msgstr "�ang theo phương pháp chẩn đoán cho `%s' đến `%s'"
- +
- +#: src/recode.c:229 src/recode.c:241
- +#, c-format
- +msgid "Pair no. %d: <%3d, %3d> conflicts with <%3d, %3d>"
- +msgstr "Số cặp %d: <%3d, %3d> xung đột với <%3d, %3d>"
- +
- +#: src/recode.c:272
- +msgid "Cannot complete table from set of known pairs"
- +msgstr "Không thể xong tạo bảng từ bộ cặp được biết"
- +
- +#: src/recode.c:497
- +msgid "Identity recoding, not worth a table"
- +msgstr "Việc mã hóa lại chỉ giống hệt, không cần bảng toà n"
- +
- +#: src/recode.c:504
- +msgid "Recoding is too complex for a mere table"
- +msgstr "Việc mã hóa lại quá phức tạp đối với bảng"
- +
- +#. Print the header of the header file.
- +#: src/recode.c:536
- +#, c-format
- +msgid "%sConversion table generated mechanically by Free `%s' %s"
- +msgstr "%sBảng chuyển đổi được tạo ra tự động do Free (Tự do) `%s' %s"
- +
- +#: src/recode.c:538
- +#, c-format
- +msgid "%sfor sequence %s.%s"
- +msgstr "%sđối với dãy %s.%s"
- +
- +#: src/recode.c:744
- +msgid "No table to print"
- +msgstr "Không có bảng nà o để in"
- +
- +#: src/request.c:34
- +msgid "reversible"
- +msgstr "có thể hoà n tác"
- +
- +#: src/request.c:36
- +#, c-format
- +msgid "%s to %s"
- +msgstr "%s thà nh %s"
- +
- +#: src/request.c:37 src/request.c:39
- +msgid "byte"
- +msgstr "byte"
- +
- +#: src/request.c:38 src/request.c:40
- +msgid "ucs2"
- +msgstr "ucs2"
- +
- +#: src/request.c:38 src/request.c:40
- +msgid "variable"
- +msgstr "biến đổi"
- +
- +#: src/request.c:111
- +msgid "*Unachievable*"
- +msgstr "*Không xong đươc*"
- +
- +#: src/request.c:113
- +msgid "*mere copy*"
- +msgstr "*chỉ bản sao*"
- +
- +#: src/request.c:246
- +msgid "Virtual memory exhausted!"
- +msgstr "Hết bộ nhớ ảo rồi."
- +
- +#: src/request.c:265
- +msgid "Step initialisation failed"
- +msgstr "Không khởi động bước được"
- +
- +#: src/request.c:272
- +msgid "Step initialisation failed (unprocessed options)"
- +msgstr "Không khởi động bước được (chưa xỠlý tùy ch�n)"
- +
- +#: src/request.c:568
- +#, c-format
- +msgid "Request: %s\n"
- +msgstr "L�i yêu cầu: %s\n"
- +
- +#: src/request.c:720
- +#, c-format
- +msgid "Shrunk to: %s\n"
- +msgstr "�ã co lại cho: %s\n"
- +
- +#: src/request.c:823 src/request.c:932
- +#, c-format
- +msgid "Unrecognised surface name `%s'"
- +msgstr "ChÆ°a chấp nháºn tên mặt `%s'"
- +
- +#: src/request.c:903
- +#, c-format
- +msgid "No way to recode from `%s' to `%s'"
- +msgstr "Không có cách mã hóa lại tư `%s' sang `%s'"
- +
- +#: src/request.c:1013
- +msgid "Expecting `..' in request"
- +msgstr "�ang ng� `..' trong l�i yêu cầu"
- +
- +#: src/task.c:826 src/task.c:1002
- +#, c-format
- +msgid "Child process wait status is 0x%0.2x"
- +msgstr "Trạng thái đ�i của xỠlý con là 0x%0.2x"
- +
- +#: src/testdump.c:298
- +msgid ""
- +"UCS2 Mne Description\n"
- +"\n"
- +msgstr ""
- +"UCS2 Nhớ Mô tả\n"
- +"\n"
- --- recode-3.6.orig/i18n/gl.po
- +++ recode-3.6/i18n/gl.po
- @@ -4,9 +4,9 @@
- #
- msgid ""
- msgstr ""
- -"Project-Id-Version: recode 3.5\n"
- +"Project-Id-Version: recode 3.6\n"
- "POT-Creation-Date: 2001-01-02 22:35+0100\n"
- -"PO-Revision-Date: 2000-05-06 01:44+02:00\n"
- +"PO-Revision-Date: 2001-06-09 17:28+0200\n"
- "Last-Translator: Jacobo Tarrío Barreiro <jtarrio@iname.com>\n"
- "Language-Team: Galician <gpul-traduccion@ceu.fi.udc.es>\n"
- "MIME-Version: 1.0\n"
- @@ -81,20 +81,13 @@
- msgstr "Escriba `%s %s' para obter máis información.\n"
-
- #: src/main.c:237
- -msgid ""
- -"Free `recode' converts files between various character sets and surfaces.\n"
- -msgstr ""
- -"O `recode' libre convirte ficheiros entre varios xogos de caracteres e "
- -"superficies.\n"
- +msgid "Free `recode' converts files between various character sets and surfaces.\n"
- +msgstr "O `recode' libre convirte ficheiros entre varios xogos de caracteres e superficies.\n"
-
- #: src/main.c:241
- #, c-format
- -msgid ""
- -"\n"
- -"Usage: %s [OPTION]... [ [CHARSET] | REQUEST [FILE]... ]\n"
- -msgstr ""
- -"\n"
- -"Uso: %s [OPCIÓN]... [ [XOGO-DE-CARACTERES] | PETICIÓN [FICHEIRO]... ]\n"
- +msgid "\nUsage: %s [OPTION]... [ [CHARSET] | REQUEST [FILE]... ]\n"
- +msgstr "\nUso: %s [OPCIÓN]... [ [XOGO-DE-CARACTERES] | PETICIÓN [FICHEIRO]... ]\n"
-
- #: src/main.c:244
- msgid ""
- @@ -104,18 +97,15 @@
- msgstr ""
- "\n"
- "Se unha opción longa amosa un parámetro como obrigatorio, entón tamén é\n"
- -"obrigatorio para a opción curta equivalente. Do mesmo xeito para "
- -"parámetros\n"
- +"obrigatorio para a opción curta equivalente. Do mesmo xeito para parámetros\n"
- "opcionais.\n"
-
- #: src/main.c:250
- -#, fuzzy
- msgid ""
- "\n"
- "Listings:\n"
- " -l, --list[=FORMAT] list one or all known charsets and aliases\n"
- -" -k, --known=PAIRS restrict charsets according to known PAIRS "
- -"list\n"
- +" -k, --known=PAIRS restrict charsets according to known PAIRS list\n"
- " -h, --header[=[LN/]NAME] write table NAME on stdout using LN, then exit\n"
- " -F, --freeze-tables write out a C module holding all tables\n"
- " -T, --find-subsets report all charsets being subset of others\n"
- @@ -125,15 +115,13 @@
- msgstr ""
- "\n"
- "Listados:\n"
- -" -l, --list[=FORMATO] listar un ou tódolos xogos de caracteres "
- -"coñecidos\n"
- -" -k, --known=PARES restrinxi-los xogos de acordo coa lista de "
- -"PARES\n"
- +" -l, --list[=FORMATO] listar un ou tódolos xogos de caracteres e alias\n"
- +" coñecidos\n"
- +" -k, --known=PARES restrinxi-los xogos de acordo coa lista de PARES\n"
- " coñecidos\n"
- " -h, --header[=[LN/]NOME] escribi-la táboa NOME na saída estándar usando\n"
- " LN, e logo sair\n"
- -" -F, --freeze-tables escribir un módulo en C que contén tódalas "
- -"táboas\n"
- +" -F, --freeze-tables escribir un módulo en C que contén tódalas táboas\n"
- " -T, --find-subsets informar dos xogos que son subconxuntos doutros\n"
- " -C, --copyright amosa-lo copyright e as condicións de copia\n"
- " --help amosar esta axuda e sair\n"
- @@ -160,14 +148,12 @@
- " reversibles\n"
- " -t, --touch toca-los ficheiros recodificados despois de\n"
- " cambialos\n"
- -" -i, --sequence=files usar ficheiros intermedios para pasos "
- -"secuenciais\n"
- +" -i, --sequence=files usar ficheiros intermedios para pasos secuenciais\n"
- " --sequence=memory usa-la memoria para pasos secuenciais\n"
-
- #: src/main.c:275
- msgid " -p, --sequence=pipe use pipe machinery for sequencing passes\n"
- -msgstr ""
- -" -p, --sequence=pipe usar canalizacións para pasos secuenciais\n"
- +msgstr " -p, --sequence=pipe usar canalizacións para pasos secuenciais\n"
-
- #: src/main.c:280
- msgid " -p, --sequence=pipe same as -i (on this system)\n"
- @@ -188,13 +174,10 @@
- "Axustes finos:\n"
- " -s, --strict usar mapeados estrictos, incluso perder caracteres\n"
- " -d, --diacritics converter só diacríticos ou similares para HTML/LaTeX\n"
- -" -S, --source[=LN] limita-la recodificación a cadeas e comentarios para "
- -"LN\n"
- -" -c, --colon usar dous puntos no canto de comiñas dobres para "
- -"diérese\n"
- +" -S, --source[=LN] limita-la recodificación a cadeas e comentarios para LN\n"
- +" -c, --colon usar dous puntos no canto de comiñas dobres para diérese\n"
- " -g, --graphics aproxima-las liñas de IBMPC con gráficos ASCII\n"
- -" -x, --ignore=XOGO ignora-lo XOGO ao escoller unha rota de "
- -"recodificación\n"
- +" -x, --ignore=XOGO ignora-lo XOGO ao escoller unha rota de recodificación\n"
-
- #: src/main.c:296
- msgid ""
- @@ -208,20 +191,15 @@
- "letra entre `dofh'.\n"
-
- #: src/main.c:302
- -#, fuzzy
- msgid ""
- -"Unless DEFAULT_CHARSET is set in environment, CHARSET defaults to the "
- -"locale\n"
- +"Unless DEFAULT_CHARSET is set in environment, CHARSET defaults to the locale\n"
- "dependent encoding, determined by LC_ALL, LC_CTYPE, LANG.\n"
- -msgstr ""
- -"A menos que se estableza a variable DEFAULT_CHARSET, XOGO é `%s' se non se "
- -"indica o contrario.\n"
- +msgstr "A menos que se estableza a variable de ambiente DEFAULT_CHARSET, XOGO é o do `locale'.\n"
-
- #: src/main.c:307
- msgid ""
- "With -k, possible before charsets are listed for the given after CHARSET,\n"
- -"both being tabular charsets, with PAIRS of the form "
- -"`BEF1:AFT1,BEF2:AFT2,...'\n"
- +"both being tabular charsets, with PAIRS of the form `BEF1:AFT1,BEF2:AFT2,...'\n"
- "and BEFs and AFTs being codes are given as decimal numbers.\n"
- msgstr ""
- "Con -k, os posibles xogos iniciais lístanse para o XOGO final indicado,\n"
- @@ -229,31 +207,25 @@
- "e os códigos INI e FIN dándose coma números decimais.\n"
-
- #: src/main.c:312
- -msgid ""
- -"LN is some language, it may be `c', `perl' or `po'; `c' is the default.\n"
- +msgid "LN is some language, it may be `c', `perl' or `po'; `c' is the default.\n"
- msgstr "LN é unha linguaxe, pode ser `c', `perl' ou `po'; `c' por defecto.\n"
-
- #: src/main.c:315
- msgid ""
- "\n"
- -"REQUEST is SUBREQUEST[,SUBREQUEST]...; SUBREQUEST is "
- -"ENCODING[..ENCODING]...\n"
- -"ENCODING is [CHARSET][/[SURFACE]]...; REQUEST often looks like "
- -"BEFORE..AFTER,\n"
- +"REQUEST is SUBREQUEST[,SUBREQUEST]...; SUBREQUEST is ENCODING[..ENCODING]...\n"
- +"ENCODING is [CHARSET][/[SURFACE]]...; REQUEST often looks like BEFORE..AFTER,\n"
- "with BEFORE and AFTER being charsets. An omitted CHARSET implies the usual\n"
- -"charset; an omitted [/SURFACE]... means the implied surfaces for CHARSET; a "
- -"/\n"
- +"charset; an omitted [/SURFACE]... means the implied surfaces for CHARSET; a /\n"
- "with an empty surface name means no surfaces at all. See the manual.\n"
- msgstr ""
- "\n"
- "PETICIÓN é SUBPETICIÓN[,SUBPETICIÓN]...; SUBPETICIÓN é\n"
- "CODIFICACIÓN[..CODIFICACIÓN]...; CODIFICACIÓN é [XOGO][/[SUPERFICIE]]...;\n"
- "PETICIÓN adoita parecer INICIAL..FINAL, sendo INICIAL e FINAL uns xogos de\n"
- -"caracteres. Se non se indica un XOGO tómase o xogo normal; se non se "
- -"indica\n"
- +"caracteres. Se non se indica un XOGO tómase o xogo normal; se non se indica\n"
- "unha [/SUPERFICIE]... tómanse as superficies implicadas en XOGO; cunha /\n"
- -"cun nome de superficie baleiro non se toma ningunha superficie. Lea o "
- -"manual.\n"
- +"cun nome de superficie baleiro non se toma ningunha superficie. Lea o manual.\n"
-
- #: src/main.c:323
- msgid ""
- @@ -263,98 +235,84 @@
- "FILE is specified, then act as a filter and recode stdin to stdout.\n"
- msgstr ""
- "\n"
- -"Se non se indica -i nin -p, suponse -p se non se indica un FICHEIRO, senón "
- -"-i.\n"
- +"Se non se indica -i nin -p, suponse -p se non se indica un FICHEIRO, senón -i.\n"
- "Cada FICHEIRO recodifícase sobre si mesmo, destruíndose o orixinal. Se non\n"
- "se indica un FICHEIRO, traballa coma un filtro e recodifica stdin a stdout.\n"
-
- #: src/main.c:329
- -msgid ""
- -"\n"
- -"Report bugs to <recode-bugs@iro.umontreal.ca>.\n"
- -msgstr ""
- -"\n"
- -"Informe dos erros en <recode-bugs@iro.umontreal.ca>.\n"
- +msgid "\nReport bugs to <recode-bugs@iro.umontreal.ca>.\n"
- +msgstr "\nInforme dos erros en <recode-bugs@iro.umontreal.ca>.\n"
-
- #: src/main.c:430
- #, c-format
- msgid "Sequence `%s' is ambiguous"
- -msgstr ""
- +msgstr "A secuencia `%s' é ambigua"
-
- #: src/main.c:434
- #, c-format
- msgid "Sequence `%s' is unknown"
- -msgstr ""
- +msgstr "A secuencia `%s' é descoñecida"
-
- #: src/main.c:464 src/main.c:522
- #, c-format
- msgid "Language `%s' is ambiguous"
- -msgstr ""
- +msgstr "A linguaxe `%s' é ambigua"
-
- #. -1
- #: src/main.c:468 src/main.c:526
- #, c-format
- msgid "Language `%s' is unknown"
- -msgstr ""
- +msgstr "A linguaxe `%s' é descoñecida"
-
- #: src/main.c:560
- #, c-format
- msgid "Format `%s' is ambiguous"
- -msgstr ""
- +msgstr "O formato `%s' é ambiguo"
-
- #: src/main.c:564
- #, c-format
- msgid "Format `%s' is unknown"
- -msgstr ""
- +msgstr "O formato `%s' é descoñecido"
-
- #: src/main.c:621
- -#, fuzzy
- msgid "Written by Franc,ois Pinard <pinard@iro.umontreal.ca>.\n"
- -msgstr ""
- -"\n"
- -"Escrito por François Pinard <pinard@iro.umontreal.ca>.\n"
- +msgstr "Escrito por François Pinard <pinard@iro.umontreal.ca>.\n"
-
- #: src/main.c:624
- -msgid ""
- -"\n"
- -"Copyright (C) 1990, 92, 93, 94, 96, 97, 99 Free Software Foundation, Inc.\n"
- -msgstr ""
- -"\n"
- -"Copyright (C) 1990, 92, 93, 94, 96, 97, 99 Free Software Foundation, Inc.\n"
- +msgid "\nCopyright (C) 1990, 92, 93, 94, 96, 97, 99 Free Software Foundation, Inc.\n"
- +msgstr "\nCopyright (C) 1990, 92, 93, 94, 96, 97, 99 Free Software Foundation, Inc.\n"
-
- #: src/main.c:628
- msgid ""
- "This is free software; see the source for copying conditions. There is NO\n"
- "warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n"
- msgstr ""
- -"Isto é software libre; vexa o código fonte polas condicións de copia. NON "
- -"hai\n"
- -"garantía; nin sequera de COMERCIABILIDADE ou APTITUDE PARA UN FIN "
- -"DETERMINADO.\n"
- +"Isto é software libre; vexa o código fonte polas condicións de copia. NON hai\n"
- +"garantía; nin sequera de COMERCIABILIDADE ou APTITUDE PARA UN FIN DETERMINADO.\n"
-
- #: src/main.c:669
- #, c-format
- msgid "Symbol `%s' is unknown"
- -msgstr ""
- +msgstr "O símbolo `%s' é descoñecido"
-
- #: src/main.c:709 src/main.c:723
- #, c-format
- msgid "Charset `%s' is unknown or ambiguous"
- -msgstr ""
- +msgstr "Xogo de caracteres `%s' descoñecido ou ambiguo"
-
- #: src/main.c:754
- msgid "Required argument is missing"
- -msgstr ""
- +msgstr "Falla o argumento requirido"
-
- #: src/main.c:797
- -#, fuzzy, c-format
- +#, c-format
- msgid "Syntax is deprecated, please prefer `%s'"
- msgstr "Sintaxe a estinguir, prefírese `%s'"
-
- #: src/main.c:803
- #, c-format
- msgid "Request `%s' is erroneous"
- -msgstr ""
- +msgstr "A petición `%s' é errónea"
-
- #: src/main.c:903
- #, c-format
- @@ -366,19 +324,19 @@
- msgstr " feito\n"
-
- #: src/main.c:954
- -#, fuzzy, c-format
- +#, c-format
- msgid " failed: %s in step `%s..%s'\n"
- -msgstr " fallou: %s en %s..%s\n"
- +msgstr " fallou: %s no paso `%s..%s'\n"
-
- #: src/main.c:961
- -#, fuzzy, c-format
- +#, c-format
- msgid "%s failed: %s in step `%s..%s'"
- -msgstr "%s fallou: %s en %s..%s"
- +msgstr "%s fallou: %s no paso `%s..%s'"
-
- #: src/main.c:984
- -#, fuzzy, c-format
- +#, c-format
- msgid "%s in step `%s..%s'"
- -msgstr "%s en %s..%s"
- +msgstr "%s no paso `%s..%s'"
-
- #: src/names.c:335
- #, c-format
- @@ -419,12 +377,12 @@
- msgstr "Memoria virtual esgotada"
-
- #: src/recode.c:155
- -#, c-format, ycp-format
- +#, c-format
- msgid "Codes %3d and %3d both recode to %3d"
- msgstr "Ámbolos dous códigos %3d e %3d recodifícanse a %3d"
-
- #: src/recode.c:169
- -#, c-format, ycp-format
- +#, c-format
- msgid "No character recodes to %3d"
- msgstr "Non hai caracteres que se recodifiquen a %3d"
-
- @@ -540,17 +498,11 @@
- msgstr "O estado de espera do proceso fillo é 0x%0.2x"
-
- #: src/testdump.c:298
- -msgid ""
- -"UCS2 Mne Description\n"
- -"\n"
- -msgstr ""
- -"UCS2 Mne Descripción\n"
- -"\n"
- +msgid "UCS2 Mne Description\n\n"
- +msgstr "UCS2 Mne Descripción\n\n"
-
- #~ msgid "CHARSET has no default, define DEFAULT_CHARSET in the environment.\n"
- -#~ msgstr ""
- -#~ "XOGO non ten valor por defecto, defina a variable de ambiente "
- -#~ "DEFAULT_CHARSET.\n"
- +#~ msgstr "XOGO non ten valor por defecto, defina a variable de ambiente DEFAULT_CHARSET.\n"
-
- #~ msgid "Ambiguous sequence `%s'"
- #~ msgstr "Secuencia `%s' ambigua"
- --- recode-3.6.orig/i18n/ga.po
- +++ recode-3.6/i18n/ga.po
- @@ -0,0 +1,520 @@
- +# Irish translations for recode.
- +# Copyright (C) 2005 Free Software Foundation, Inc.
- +# Kevin Patrick Scannell <scannell@SLU.EDU>, 2005.
- +#
- +msgid ""
- +msgstr ""
- +"Project-Id-Version: recode 3.6\n"
- +"POT-Creation-Date: 2001-01-02 22:35+0100\n"
- +"PO-Revision-Date: 2005-09-13 18:45-0500\n"
- +"Last-Translator: Kevin Patrick Scannell <scannell@SLU.EDU>\n"
- +"Language-Team: Irish <ga@li.org>\n"
- +"MIME-Version: 1.0\n"
- +"Content-Type: text/plain; charset=ISO-8859-1\n"
- +"Content-Transfer-Encoding: 8bit\n"
- +
- +#: src/main.c:142
- +msgid "No error"
- +msgstr "Ní raibh aon earráid"
- +
- +#: src/main.c:145
- +msgid "Non canonical input"
- +msgstr "Ionchur neamhchanónta"
- +
- +#: src/main.c:148
- +msgid "Ambiguous output"
- +msgstr "Aschur débhríoch"
- +
- +#: src/main.c:151
- +msgid "Untranslatable input"
- +msgstr "Aschur neamh-inaistrithe"
- +
- +#: src/main.c:154
- +msgid "Invalid input"
- +msgstr "Ionchur neamhbhailí"
- +
- +#: src/main.c:157
- +msgid "System detected problem"
- +msgstr "Bhraith an córas fadhb"
- +
- +#: src/main.c:160
- +msgid "Misuse of recoding library"
- +msgstr "Mí-úsáid den leabharlann ath-ionchódaithe"
- +
- +#: src/main.c:163
- +msgid "Internal recoding bug"
- +msgstr "Fabht inmheánach ath-ionchódaithe"
- +
- +#: src/main.c:208
- +msgid ""
- +"This program is free software; you can redistribute it and/or modify\n"
- +"it under the terms of the GNU General Public License as published by\n"
- +"the Free Software Foundation; either version 2, or (at your option)\n"
- +"any later version.\n"
- +"\n"
- +"This program is distributed in the hope that it will be useful,\n"
- +"but WITHOUT ANY WARRANTY; without even the implied warranty of\n"
- +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n"
- +"GNU General Public License for more details.\n"
- +"\n"
- +"You should have received a copy of the GNU General Public License\n"
- +"along with this program; if not, write to the Free Software Foundation,\n"
- +"Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n"
- +msgstr ""
- +"Is saorbhogearra an ríomhchlár seo; is féidir leat é a scaipeadh agus/nó\n"
- +"a athrú de réir na gcoinníollacha den GNU General Public License mar atá\n"
- +"foilsithe ag an Free Software Foundation; faoi leagan 2 den cheadúnas,\n"
- +"nó (más mian leat) aon leagan níos déanaí.\n"
- +"\n"
- +"Scaiptear an ríomhchlár seo le súil go mbeidh sé áisiúil,\n"
- +"ach GAN AON BARÁNTA; go fiú gan an barántas intuigthe de\n"
- +"INDÍOLTACHT nó FEILIÚNACHT DO FHEIDHM AR LEITH. Féach ar an\n"
- +"GNU General Public License chun níos mó sonraí a fháil.\n"
- +"\n"
- +"Ba chomhair go mbeifeá tar éis cóip den GNU General Public License a fháil in\n"
- +"éineacht leis an ríomhchlár seo; mura bhfuair, scríobh chuig an Free Software\n"
- +"Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n"
- +
- +#: src/main.c:233
- +#, c-format
- +msgid "Try `%s %s' for more information.\n"
- +msgstr "Bain triail as `%s %s' chun tuilleadh eolais a fháil.\n"
- +
- +#: src/main.c:237
- +msgid "Free `recode' converts files between various character sets and surfaces.\n"
- +msgstr "Tiontaíonn saorbhogearra `recode' comhaid idir tacair charachtar agus craicne éagsúla.\n"
- +
- +#: src/main.c:241
- +#, c-format
- +msgid ""
- +"\n"
- +"Usage: %s [OPTION]... [ [CHARSET] | REQUEST [FILE]... ]\n"
- +msgstr ""
- +"\n"
- +"Úsáid: %s [ROGHA]... [ [TACAR] | IARRATAS [COMHAD]... ]\n"
- +
- +#: src/main.c:244
- +msgid ""
- +"\n"
- +"If a long option shows an argument as mandatory, then it is mandatory\n"
- +"for the equivalent short option also. Similarly for optional arguments.\n"
- +msgstr ""
- +"\n"
- +"Is riachtanach le rogha ghearr aon argóint atá riachtanach\n"
- +"leis an rogha fhada, agus ar an nós céanna leis na hargóintí roghnacha.\n"
- +
- +#: src/main.c:250
- +msgid ""
- +"\n"
- +"Listings:\n"
- +" -l, --list[=FORMAT] list one or all known charsets and aliases\n"
- +" -k, --known=PAIRS restrict charsets according to known PAIRS list\n"
- +" -h, --header[=[LN/]NAME] write table NAME on stdout using LN, then exit\n"
- +" -F, --freeze-tables write out a C module holding all tables\n"
- +" -T, --find-subsets report all charsets being subset of others\n"
- +" -C, --copyright display Copyright and copying conditions\n"
- +" --help display this help and exit\n"
- +" --version output version information and exit\n"
- +msgstr ""
- +"\n"
- +"Liostú:\n"
- +" -l, --list[=FORMÁID] taispeáin tacair charachtar agus ailiasanna ar eolas\n"
- +" -k, --known=PÉIRÍ úsáid tacair charachtar ón liosta PÉIRÍ amháin\n"
- +" -h, --header[=[TN/]AINM] scríobh tábla AINM ar stdout le TN, agus scoir\n"
- +" -F, --freeze-tables scríobh modúl C le gach tábla ann\n"
- +" -T, --find-subsets taispeáin gach tacar carachtar atá i gceann eile\n"
- +" -C, --copyright taispeáin Cóipcheart agus coinníollacha cóipeála\n"
- +" --help taispeáin an chabhair seo agus scoir\n"
- +" --version taispeáin eolas faoin leagan agus scoir\n"
- +
- +#: src/main.c:263
- +msgid ""
- +"\n"
- +"Operation modes:\n"
- +" -v, --verbose explain sequence of steps and report progress\n"
- +" -q, --quiet, --silent inhibit messages about irreversible recodings\n"
- +" -f, --force force recodings even when not reversible\n"
- +" -t, --touch touch the recoded files after replacement\n"
- +" -i, --sequence=files use intermediate files for sequencing passes\n"
- +" --sequence=memory use memory buffers for sequencing passes\n"
- +msgstr ""
- +"\n"
- +"Móid oibríochta:\n"
- +" -v, --verbose taispeáin na céimeanna agus dul chun cinn\n"
- +" -q, --quiet, --silent ná taispeáin teachtaireachtaí maidir le\n"
- +" ath-ionchóduithe dochúlaithe\n"
- +" -f, --force fórsáil ath-ionchódú fiú más dochúlaithe é\n"
- +" -t, --touch teagmháil na comhaid ath-ionchódaithe tar éis\n"
- +" iad a athshuíomh\n"
- +" -i, --sequence=comhaid úsáid comhaid idirmheánacha le linn seicheamhaithe\n"
- +" --sequence=cuimhne úsáid maoláin chuimhne le linn seicheamhaithe\n"
- +
- +#: src/main.c:275
- +msgid " -p, --sequence=pipe use pipe machinery for sequencing passes\n"
- +msgstr " -p, --sequence=píopa úsáid píopa le linn seicheamhaithe\n"
- +
- +#: src/main.c:280
- +msgid " -p, --sequence=pipe same as -i (on this system)\n"
- +msgstr " -p, --sequence=píopa ar comhbhrí le -i (ar an gcóras seo)\n"
- +
- +#: src/main.c:285
- +msgid ""
- +"\n"
- +"Fine tuning:\n"
- +" -s, --strict use strict mappings, even loose characters\n"
- +" -d, --diacritics convert only diacritics or alike for HTML/LaTeX\n"
- +" -S, --source[=LN] limit recoding to strings and comments as for LN\n"
- +" -c, --colons use colons instead of double quotes for diaeresis\n"
- +" -g, --graphics approximate IBMPC rulers by ASCII graphics\n"
- +" -x, --ignore=CHARSET ignore CHARSET while choosing a recoding path\n"
- +msgstr ""
- +"\n"
- +"Mionchoigeartú:\n"
- +" -s, --strict úsáid dianmhapáil, fiú le carachtair neamhchruinn\n"
- +" -d, --diacritics tiontaigh diaicriticí amháin le haghaidh HTML/LaTeX\n"
- +" -S, --source[=TN] ath-ionchódaigh teaghráin agus nótaí amháin, mar le TN\n"
- +" -c, --colons úsáid idirstadanna in ionad \" le haghaidh déiréise\n"
- +" -g, --graphics neasaigh rialóirí IBMPC le grafaic ASCII\n"
- +" -x, --ignore=TACAR ná húsáid TACAR agus conair ath-ionchódaithe á roghnú\n"
- +
- +#: src/main.c:296
- +msgid ""
- +"\n"
- +"Option -l with no FORMAT nor CHARSET list available charsets and surfaces.\n"
- +"FORMAT is `decimal', `octal', `hexadecimal' or `full' (or one of `dohf').\n"
- +msgstr ""
- +"\n"
- +"Taispeánann rogha -l (gan FORMÁID gan TACAR) gach tacar carachtar agus\n"
- +"gach craiceann atá ar fáil. Is FORMÁID ceann de `decimal', `octal',\n"
- +"`hexadecimal' nó `full' (nó ceann de `dohf').\n"
- +
- +#: src/main.c:302
- +msgid ""
- +"Unless DEFAULT_CHARSET is set in environment, CHARSET defaults to the locale\n"
- +"dependent encoding, determined by LC_ALL, LC_CTYPE, LANG.\n"
- +msgstr ""
- +"Mura bhfuil DEFAULT_CHARSET socraithe mar athróg thimpeallachta, úsáid an\n"
- +"t-ionchódú ón logchaighdeán mar luach réamhshocraithe ar CHARSET;\n"
- +"socraítear an t-ionchódú seo leis na hathróga LC_ALL, LC_CTYPE, agus LANG.\n"
- +
- +#: src/main.c:307
- +msgid ""
- +"With -k, possible before charsets are listed for the given after CHARSET,\n"
- +"both being tabular charsets, with PAIRS of the form `BEF1:AFT1,BEF2:AFT2,...'\n"
- +"and BEFs and AFTs being codes are given as decimal numbers.\n"
- +msgstr ""
- +"Le -k, taispeántar gach tacar tosaithe gur féidir a úsáid leis\n"
- +"an TACAR deiridh, gach ina tacar táblach. Is san fhoirm\n"
- +"`TOS1:DEIR1,TOS2:DEIR2,...' iad na PÉIRÍ, agus na cóid TOS1, DEIR1,\n"
- +"srl. tugtha mar uimhreacha deachúlacha.\n"
- +
- +#: src/main.c:312
- +msgid "LN is some language, it may be `c', `perl' or `po'; `c' is the default.\n"
- +msgstr "Is teanga í TN, ceann de `c', `perl' nó `po'; is `c' an réamhshocrú é.\n"
- +
- +#: src/main.c:315
- +msgid ""
- +"\n"
- +"REQUEST is SUBREQUEST[,SUBREQUEST]...; SUBREQUEST is ENCODING[..ENCODING]...\n"
- +"ENCODING is [CHARSET][/[SURFACE]]...; REQUEST often looks like BEFORE..AFTER,\n"
- +"with BEFORE and AFTER being charsets. An omitted CHARSET implies the usual\n"
- +"charset; an omitted [/SURFACE]... means the implied surfaces for CHARSET; a /\n"
- +"with an empty surface name means no surfaces at all. See the manual.\n"
- +msgstr ""
- +"\n"
- +"Is san fhoirm FOIARRATAS[,FOIARRATAS]... é IARRATAS, is san fhoirm\n"
- +"IONCHÓDÚ[..IONCHÓDÚ]... é FOIARRATAS, agus is san fhoirm\n"
- +"[TACARCARACHTAR][/CRAICEANN]]... é IONCHÓDÚ; is IARRATAS cosúil le\n"
- +"TOSACH..DEIREADH go minic, le TOSACH agus DEIREADH ina dtacair\n"
- +"charachtar. Má tá TACAR ligthe ar lár, úsáid an gnáth-thacar;\n"
- +"Má tá [/CRAICEANN] ar lár, úsáid an craiceann intuigthe le TACAR;\n"
- +"Mura bhfuil ach `/' ann gan chraiceann, ná húsáid craiceann ar chor ar bith.\n"
- +"Féach ar an lámhleabhar.\n"
- +
- +#: src/main.c:323
- +msgid ""
- +"\n"
- +"If none of -i and -p are given, presume -p if no FILE, else -i.\n"
- +"Each FILE is recoded over itself, destroying the original. If no\n"
- +"FILE is specified, then act as a filter and recode stdin to stdout.\n"
- +msgstr ""
- +"\n"
- +"Mura bhfuil -i ná -p ann, glac le -p mura bhfuil COMHAD ann, agus\n"
- +"le -i i ngach cás eile. Ath-ionchódaítear gach COMHAD anuas air féin,\n"
- +"agus beidh na bunchóipeanna scriosta. Mura bhfuil COMHAD sonraithe,\n"
- +"oibríonn recode mar scagaire, agus ath-ionchódaítear stdin go stdout.\n"
- +
- +#: src/main.c:329
- +msgid ""
- +"\n"
- +"Report bugs to <recode-bugs@iro.umontreal.ca>.\n"
- +msgstr ""
- +"\n"
- +"Seol tuairiscí fabhtanna chuig <recode-bugs@iro.umontreal.ca>.\n"
- +
- +#: src/main.c:430
- +#, c-format
- +msgid "Sequence `%s' is ambiguous"
- +msgstr "Tá an seicheamh `%s' débhríoch"
- +
- +#: src/main.c:434
- +#, c-format
- +msgid "Sequence `%s' is unknown"
- +msgstr "Tá an seicheamh `%s' anaithnid"
- +
- +#: src/main.c:464 src/main.c:522
- +#, c-format
- +msgid "Language `%s' is ambiguous"
- +msgstr "Tá an teanga `%s' débhríoch"
- +
- +#. -1
- +#: src/main.c:468 src/main.c:526
- +#, c-format
- +msgid "Language `%s' is unknown"
- +msgstr "Teanga anaithnid `%s'"
- +
- +#: src/main.c:560
- +#, c-format
- +msgid "Format `%s' is ambiguous"
- +msgstr "Formáid dhébhríoch `%s'"
- +
- +#: src/main.c:564
- +#, c-format
- +msgid "Format `%s' is unknown"
- +msgstr "Formáid anaithnid `%s'"
- +
- +#: src/main.c:621
- +msgid "Written by Franc,ois Pinard <pinard@iro.umontreal.ca>.\n"
- +msgstr "Le François Pinard <pinard@iro.umontreal.ca>.\n"
- +
- +#: src/main.c:624
- +msgid ""
- +"\n"
- +"Copyright (C) 1990, 92, 93, 94, 96, 97, 99 Free Software Foundation, Inc.\n"
- +msgstr ""
- +"\n"
- +"Copyright © 1990, 92, 93, 94, 96, 97, 99 Free Software Foundation, Inc.\n"
- +
- +#: src/main.c:628
- +msgid ""
- +"This is free software; see the source for copying conditions. There is NO\n"
- +"warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n"
- +msgstr ""
- +"Is saorbhogearra an ríomhchlár seo; féach ar an bhunchód le haghaidh\n"
- +"coinníollacha cóipeála. Níl baránta ar bith ann; go fiú níl baránta ann\n"
- +"d'INDÍOLTACHT nó FEILIÚNACHT DO FHEIDHM AR LEITH.\n"
- +
- +#: src/main.c:669
- +#, c-format
- +msgid "Symbol `%s' is unknown"
- +msgstr "Siombail anaithnid `%s'"
- +
- +#: src/main.c:709 src/main.c:723
- +#, c-format
- +msgid "Charset `%s' is unknown or ambiguous"
- +msgstr "Tacar carachtar `%s' anaithnid nó débhríoch"
- +
- +#: src/main.c:754
- +msgid "Required argument is missing"
- +msgstr "Argóint riachtanach ar iarraidh"
- +
- +#: src/main.c:797
- +#, c-format
- +msgid "Syntax is deprecated, please prefer `%s'"
- +msgstr "Comhréir i léig, úsáid `%s' ina hionad"
- +
- +#: src/main.c:803
- +#, c-format
- +msgid "Request `%s' is erroneous"
- +msgstr "Iarratas lochtach `%s'"
- +
- +#: src/main.c:903
- +#, c-format
- +msgid "Recoding %s..."
- +msgstr "%s á ath-ionchódú..."
- +
- +#: src/main.c:913
- +msgid " done\n"
- +msgstr " críochnaithe\n"
- +
- +#: src/main.c:954
- +#, c-format
- +msgid " failed: %s in step `%s..%s'\n"
- +msgstr " teipthe: %s i gcéim `%s..%s'\n"
- +
- +#: src/main.c:961
- +#, c-format
- +msgid "%s failed: %s in step `%s..%s'"
- +msgstr "theip ar %s: %s i gcéim `%s..%s'"
- +
- +#: src/main.c:984
- +#, c-format
- +msgid "%s in step `%s..%s'"
- +msgstr "%s i gcéim `%s..%s'"
- +
- +#: src/names.c:335
- +#, c-format
- +msgid "Charset %s already exists and is not %s"
- +msgstr "Tá tacar carachtar %s ann cheana, agus ní %s é"
- +
- +#: src/names.c:831
- +#, c-format
- +msgid "Cannot list `%s', no names available for this charset"
- +msgstr "Ní féidir `%s' a liostú; níl aon ainm ar fáil le haghaidh an tacair carachtar seo"
- +
- +#. code counter
- +#. expected value for code counter
- +#. insert a while line before printing
- +#. Print the long table according to explode data.
- +#: src/names.c:984 src/names.c:1030
- +#, c-format
- +msgid "Dec Oct Hex UCS2 Mne %s\n"
- +msgstr "Deach Ocht Heics UCS2 Mne %s\n"
- +
- +#: src/names.c:1049
- +#, c-format
- +msgid "Sorry, no names available for `%s'"
- +msgstr "Tá brón orm, níl aon ainm ar fáil le haghaidh `%s'"
- +
- +#: src/outer.c:125
- +#, c-format
- +msgid "Resurfacer set more than once for `%s'"
- +msgstr "Athchraiceannadóir socraithe níos mó ná uair amháin le haghaidh `%s'"
- +
- +#: src/outer.c:133
- +#, c-format
- +msgid "Unsurfacer set more than once for `%s'"
- +msgstr "Feannadóir socraithe níos mó ná uair amháin le haghaidh `%s'"
- +
- +#: src/recode.c:115 src/recode.c:127
- +msgid "Virtual memory exhausted"
- +msgstr "Cuimhne fhíorúil ídithe"
- +
- +#: src/recode.c:155
- +#, c-format, ycp-format
- +msgid "Codes %3d and %3d both recode to %3d"
- +msgstr "Ath-ionchódaíonn na cóid %3d agus %3d go dtí %3d"
- +
- +#: src/recode.c:169
- +#, c-format, ycp-format
- +msgid "No character recodes to %3d"
- +msgstr "Níl aon charachtar a ath-ionchódaítear go dtí %3d"
- +
- +#: src/recode.c:170
- +msgid "Cannot invert given one-to-one table"
- +msgstr "Ní féidir an tábla tugtha aon-le-haon a inbhéartú"
- +
- +#: src/recode.c:224 src/recode.c:236
- +#, c-format
- +msgid "Following diagnostics for `%s' to `%s'"
- +msgstr "Diagnóisic le haghaidh `%s' go `%s'"
- +
- +#: src/recode.c:229 src/recode.c:241
- +#, c-format
- +msgid "Pair no. %d: <%3d, %3d> conflicts with <%3d, %3d>"
- +msgstr "Péire uimh. %d: tagann <%3d, %3d> agus <%3d, %3d> salach ar a chéile"
- +
- +#: src/recode.c:272
- +msgid "Cannot complete table from set of known pairs"
- +msgstr "Ní féidir an tábla a chur i gcrích le tacar de phéirí atá ar eolas"
- +
- +#: src/recode.c:497
- +msgid "Identity recoding, not worth a table"
- +msgstr "Ath-ionchódú ionannais; ní fiú tábla é"
- +
- +#: src/recode.c:504
- +msgid "Recoding is too complex for a mere table"
- +msgstr "Is róchasta é an t-ath-ionchódú mura bhfuil ach tábla ann"
- +
- +#. Print the header of the header file.
- +#: src/recode.c:536
- +#, c-format
- +msgid "%sConversion table generated mechanically by Free `%s' %s"
- +msgstr "%sTábla tiontaithe ginte go huathoibríoch ag saorbhogearrá `%s' %s"
- +
- +#: src/recode.c:538
- +#, c-format
- +msgid "%sfor sequence %s.%s"
- +msgstr "%sle haghaidh sheichimh %s.%s"
- +
- +#: src/recode.c:744
- +msgid "No table to print"
- +msgstr "Níl tábla ann le priontáil"
- +
- +#: src/request.c:34
- +msgid "reversible"
- +msgstr "inchúlaithe"
- +
- +#: src/request.c:36
- +#, c-format
- +msgid "%s to %s"
- +msgstr "%s go %s"
- +
- +#: src/request.c:37 src/request.c:39
- +msgid "byte"
- +msgstr "beart"
- +
- +#: src/request.c:38 src/request.c:40
- +msgid "ucs2"
- +msgstr "ucs2"
- +
- +#: src/request.c:38 src/request.c:40
- +msgid "variable"
- +msgstr "athróg"
- +
- +#: src/request.c:111
- +msgid "*Unachievable*"
- +msgstr "*Dodhéanta*"
- +
- +#: src/request.c:113
- +msgid "*mere copy*"
- +msgstr "*lomchóip*"
- +
- +#: src/request.c:246
- +msgid "Virtual memory exhausted!"
- +msgstr "Cuimhne fhíorúil ídithe!"
- +
- +#: src/request.c:265
- +msgid "Step initialisation failed"
- +msgstr "Theip ar thúsú na céime"
- +
- +#: src/request.c:272
- +msgid "Step initialisation failed (unprocessed options)"
- +msgstr "Theip ar thúsú na céime (roghanna gan phróiseáil)"
- +
- +#: src/request.c:568
- +#, c-format
- +msgid "Request: %s\n"
- +msgstr "Iarratas: %s\n"
- +
- +#: src/request.c:720
- +#, c-format
- +msgid "Shrunk to: %s\n"
- +msgstr "Crapadh go: %s\n"
- +
- +#: src/request.c:823 src/request.c:932
- +#, c-format
- +msgid "Unrecognised surface name `%s'"
- +msgstr "Ainm anaithnid craicinn `%s'"
- +
- +#: src/request.c:903
- +#, c-format
- +msgid "No way to recode from `%s' to `%s'"
- +msgstr "Ní féidir `%s' a ath-ionchódú mar `%s'"
- +
- +#: src/request.c:1013
- +msgid "Expecting `..' in request"
- +msgstr "Bhíothas ag súil le `..' san iarratas"
- +
- +#: src/task.c:826 src/task.c:1002
- +#, c-format
- +msgid "Child process wait status is 0x%0.2x"
- +msgstr "Is 0x%0.2x é stádas feithimh le haghaidh an mhacphróisis"
- +
- +#: src/testdump.c:298
- +msgid ""
- +"UCS2 Mne Description\n"
- +"\n"
- +msgstr ""
- +"UCS2 Mne Cur Síos\n"
- +"\n"
- --- recode-3.6.orig/i18n/eo.po
- +++ recode-3.6/i18n/eo.po
- @@ -0,0 +1,496 @@
- +# Esperantaj mesaøoj por recode.
- +# Copyright (C) 2001 Free Software Foundation, Inc.
- +# Edmund GRIMLEY EVANS <edmundo@rano.org>, 2001.
- +#
- +msgid ""
- +msgstr ""
- +"Project-Id-Version: recode 3.6\n"
- +"POT-Creation-Date: 2001-01-02 22:35+0100\n"
- +"PO-Revision-Date: 2001-06-06 20:34+01:00\n"
- +"Last-Translator: Edmund GRIMLEY EVANS <edmundo@rano.org>\n"
- +"Language-Team: Esperanto <eo@li.org>\n"
- +"MIME-Version: 1.0\n"
- +"Content-Type: text/plain; charset=iso-8859-3\n"
- +"Content-Transfer-Encoding: 8-bit\n"
- +
- +#: src/main.c:142
- +msgid "No error"
- +msgstr "Neniu eraro"
- +
- +#: src/main.c:145
- +msgid "Non canonical input"
- +msgstr "Nekanoneca enigo"
- +
- +#: src/main.c:148
- +msgid "Ambiguous output"
- +msgstr "Plursenca eligo"
- +
- +#: src/main.c:151
- +msgid "Untranslatable input"
- +msgstr "Netradukebla enigo"
- +
- +#: src/main.c:154
- +msgid "Invalid input"
- +msgstr "Nevalida enigo"
- +
- +#: src/main.c:157
- +msgid "System detected problem"
- +msgstr "Sistemo trovis problemon"
- +
- +#: src/main.c:160
- +msgid "Misuse of recoding library"
- +msgstr "Misuzo de la rekodado-biblioteko"
- +
- +#: src/main.c:163
- +msgid "Internal recoding bug"
- +msgstr "Interna eraro dum rekodado"
- +
- +#: src/main.c:208
- +msgid ""
- +"This program is free software; you can redistribute it and/or modify\n"
- +"it under the terms of the GNU General Public License as published by\n"
- +"the Free Software Foundation; either version 2, or (at your option)\n"
- +"any later version.\n"
- +"\n"
- +"This program is distributed in the hope that it will be useful,\n"
- +"but WITHOUT ANY WARRANTY; without even the implied warranty of\n"
- +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n"
- +"GNU General Public License for more details.\n"
- +"\n"
- +"You should have received a copy of the GNU General Public License\n"
- +"along with this program; if not, write to the Free Software Foundation,\n"
- +"Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n"
- +msgstr ""
- +"Æi tiu programo estas libera; vi povas pludoni kopiojn kaj modifi\n"
- +"øin sub la kondiæoj de la Øenerala Publika Rajtigilo de GNU,\n"
- +"kiel tio estas eldonita de Free Software Foundation; aý versio 2\n"
- +"de la Rajtigilo, aý (laý via elekto) iu sekva versio.\n"
- +"\n"
- +"Æi tiu programo estas disdonita kun la espero, ke øi estos utila,\n"
- +"sed SEN IA AJN GARANTIO; eæ sen la implicita garantio de\n"
- +"KOMERCA KVALITO aÝ ADEKVATECO POR DIFINITA CELO. Vidu la\n"
- +"Øeneralan Publikan Rajtigilon de GNU por pli da detaloj.\n"
- +"\n"
- +"Vi devus esti ricevinta kopion de la Øenerala Publika Rajtigilo de\n"
- +"GNU kun æi tiu programo; se ne, skribu al Free Software Foundation,\n"
- +"Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, Usono.\n"
- +
- +#: src/main.c:233
- +#, c-format
- +msgid "Try `%s %s' for more information.\n"
- +msgstr "Provu '%s %s' por pli da informoj.\n"
- +
- +#: src/main.c:237
- +msgid "Free `recode' converts files between various character sets and surfaces.\n"
- +msgstr "Libera 'recode' konvertas dosierojn inter diversaj signaroj kaj surfacoj.\n"
- +
- +#: src/main.c:241
- +#, c-format
- +msgid "\nUsage: %s [OPTION]... [ [CHARSET] | REQUEST [FILE]... ]\n"
- +msgstr "\nUzado: %s [OPCIO]... [ [SIGNARO] | PETO [DOSIERO]... ]\n"
- +
- +#: src/main.c:244
- +msgid ""
- +"\n"
- +"If a long option shows an argument as mandatory, then it is mandatory\n"
- +"for the equivalent short option also. Similarly for optional arguments.\n"
- +msgstr ""
- +"\n"
- +"Se longa opcio montras argumenton kiel devigan, tiam øi estas deviga\n"
- +"ankaý por la ekvivalenta mallonga opcio. Simile por nedevigaj argumentoj.\n"
- +
- +#: src/main.c:250
- +msgid ""
- +"\n"
- +"Listings:\n"
- +" -l, --list[=FORMAT] list one or all known charsets and aliases\n"
- +" -k, --known=PAIRS restrict charsets according to known PAIRS list\n"
- +" -h, --header[=[LN/]NAME] write table NAME on stdout using LN, then exit\n"
- +" -F, --freeze-tables write out a C module holding all tables\n"
- +" -T, --find-subsets report all charsets being subset of others\n"
- +" -C, --copyright display Copyright and copying conditions\n"
- +" --help display this help and exit\n"
- +" --version output version information and exit\n"
- +msgstr ""
- +"\n"
- +"Listigoj:\n"
- +" -l, --list[=FORMO] Listigi unu aý æiujn signarojn kaj kromnomojn\n"
- +" -k, --known=PAROJ Limigi signarojn laý konataj PAROJ\n"
- +" -h, --header[=[LN/]NOMO] Skribi tabelon NOMO al normala eligo per LN\n"
- +" -F, --freeze-tables Eligi C-modulon kun æiuj tabeloj\n"
- +" -T, --find-subsets Raporti signarojn, kiuj estas subaroj de aliaj\n"
- +" -C, --copyright Montri kopirajton kaj kopikondiæojn\n"
- +" --help Montri æi tiun helpon kaj eliri\n"
- +" --version Montri versiinformon kaj eliri\n"
- +
- +#: src/main.c:263
- +msgid ""
- +"\n"
- +"Operation modes:\n"
- +" -v, --verbose explain sequence of steps and report progress\n"
- +" -q, --quiet, --silent inhibit messages about irreversible recodings\n"
- +" -f, --force force recodings even when not reversible\n"
- +" -t, --touch touch the recoded files after replacement\n"
- +" -i, --sequence=files use intermediate files for sequencing passes\n"
- +" --sequence=memory use memory buffers for sequencing passes\n"
- +msgstr ""
- +"\n"
- +"Funkcimanieroj:\n"
- +" -v, --verbose klarigi sinsekvon de paþoj kaj raporti progreson\n"
- +" -q, --quiet, --silent subpremi mesaøojn pri neinversigeblaj rekodadoj\n"
- +" -f, --force fari rekodadon, ankaý kiam ne inversigebla\n"
- +" -t, --touch fari 'touch' al konvertitaj dosieroj\n"
- +" -i, --sequence=files uzi dumtempajn dosierojn por internaj paþoj\n"
- +" --sequence=memory uzi bufrojn en memoro por internaj paþoj\n"
- +
- +#: src/main.c:275
- +msgid " -p, --sequence=pipe use pipe machinery for sequencing passes\n"
- +msgstr " -p, --sequence=pipe uzi tubojn (\"pipe\") por internaj paþoj\n"
- +
- +#: src/main.c:280
- +msgid " -p, --sequence=pipe same as -i (on this system)\n"
- +msgstr " -p, --sequence=pipe same kiel -i (en æi tiu sistemo)\n"
- +
- +#: src/main.c:285
- +msgid ""
- +"\n"
- +"Fine tuning:\n"
- +" -s, --strict use strict mappings, even loose characters\n"
- +" -d, --diacritics convert only diacritics or alike for HTML/LaTeX\n"
- +" -S, --source[=LN] limit recoding to strings and comments as for LN\n"
- +" -c, --colons use colons instead of double quotes for diaeresis\n"
- +" -g, --graphics approximate IBMPC rulers by ASCII graphics\n"
- +" -x, --ignore=CHARSET ignore CHARSET while choosing a recoding path\n"
- +msgstr ""
- +"\n"
- +"Fajnaj agordoj:\n"
- +" -s, --strict uzi striktajn mapojn, eæ æe signoperdo\n"
- +" -d, --diacritics konverti nur kromsignojn aý simile por HTML/LaTeX\n"
- +" -S, --source[=LN] limigi rekodadon al signoæenoj kaj komentoj por LN\n"
- +" -c, --colons uzi ':' anstataý '\"' por diarezoj\n"
- +" -g, --graphics prezenti IBMPC-liniilojn per askiaj bildoj\n"
- +" -x, --ignore=SIGNARO ignori SIGNAROn dum elekto de rekodado-vojo\n"
- +
- +#: src/main.c:296
- +msgid ""
- +"\n"
- +"Option -l with no FORMAT nor CHARSET list available charsets and surfaces.\n"
- +"FORMAT is `decimal', `octal', `hexadecimal' or `full' (or one of `dohf').\n"
- +msgstr ""
- +"\n"
- +"La opcio -l kun neniu FORMO aý SIGNARO listigas æiujn disponatajn\n"
- +"signarojn kaj surfacojn. FORMO estas 'decimal', 'octal', 'hexadecimal'\n"
- +"aý 'full' (aý unu el 'dohf').\n"
- +
- +#: src/main.c:302
- +msgid ""
- +"Unless DEFAULT_CHARSET is set in environment, CHARSET defaults to the locale\n"
- +"dependent encoding, determined by LC_ALL, LC_CTYPE, LANG.\n"
- +msgstr ""
- +"Se la media variablo DEFAULT_CHARSET ne estas agordita, SIGNARO implicite\n"
- +"estas tiu de la loka¼aro, determinita de LC_ALL, LC_CTYPE, LANG.\n"
- +
- +#: src/main.c:307
- +msgid ""
- +"With -k, possible before charsets are listed for the given after CHARSET,\n"
- +"both being tabular charsets, with PAIRS of the form `BEF1:AFT1,BEF2:AFT2,...'\n"
- +"and BEFs and AFTs being codes are given as decimal numbers.\n"
- +msgstr ""
- +"Kun -k, eblaj antaýaj signaroj por la donita posta SIGNARO estas listigitaj,\n"
- +"kun PAROJ en la formo 'ANT1:POST1,ANT2,POST2,...', kie ANT-oj kaj POST-oj\n"
- +"estas kodoj donitaj kiel dekumaj nombroj.\n"
- +
- +#: src/main.c:312
- +msgid "LN is some language, it may be `c', `perl' or `po'; `c' is the default.\n"
- +msgstr "LN estas programlingvo, ekzemple 'c', 'perl' aý 'po'; implicite estas 'c'.\n"
- +
- +#: src/main.c:315
- +msgid ""
- +"\n"
- +"REQUEST is SUBREQUEST[,SUBREQUEST]...; SUBREQUEST is ENCODING[..ENCODING]...\n"
- +"ENCODING is [CHARSET][/[SURFACE]]...; REQUEST often looks like BEFORE..AFTER,\n"
- +"with BEFORE and AFTER being charsets. An omitted CHARSET implies the usual\n"
- +"charset; an omitted [/SURFACE]... means the implied surfaces for CHARSET; a /\n"
- +"with an empty surface name means no surfaces at all. See the manual.\n"
- +msgstr ""
- +"\n"
- +"PETO estas SUBPETO[,SUBPETO]...; SUBPETO estas KODO[..KODO]...\n"
- +"KODO estas [SIGNARO][/[SURFACO]]...; PETO ofte aspektas kiel ANTAÝ...POST,\n"
- +"kie ANTAÝ kaj POST estas signaroj. Ellasita SIGNARO implicas la kutiman\n"
- +"signaron; ellasita [/SURFACO]... signifas la implicitan surfacon por SIGNARO;\n"
- +"/ kun malplena surfaco-nomo signifas neniajn surfacojn. Vidu la manlibron.\n"
- +
- +#: src/main.c:323
- +msgid ""
- +"\n"
- +"If none of -i and -p are given, presume -p if no FILE, else -i.\n"
- +"Each FILE is recoded over itself, destroying the original. If no\n"
- +"FILE is specified, then act as a filter and recode stdin to stdout.\n"
- +msgstr ""
- +"\n"
- +"Se neniu el -i kaj -p estas donita, supozi -p, se neniu DOSIERO, alie -i.\n"
- +"Æiu DOSIERO estas rekodita surloke, anstataýante la originalon. Se neniu\n"
- +"DOSIERO estas specifita, agi kiel filtrilo kaj rekodi de la normala enigo\n"
- +"al la normala eligo.\n"
- +
- +#: src/main.c:329
- +msgid "\nReport bugs to <recode-bugs@iro.umontreal.ca>.\n"
- +msgstr "\nRaportu cimojn al <recode-bugs@iro.umontreal.ca>.\n"
- +
- +#: src/main.c:430
- +#, c-format
- +msgid "Sequence `%s' is ambiguous"
- +msgstr "Sinsekvo '%s' estas plursenca"
- +
- +#: src/main.c:434
- +#, c-format
- +msgid "Sequence `%s' is unknown"
- +msgstr "Sinsekvo '%s' estas nekonata"
- +
- +#: src/main.c:464 src/main.c:522
- +#, c-format
- +msgid "Language `%s' is ambiguous"
- +msgstr "Lingvo '%s' estas plursenca"
- +
- +#. -1
- +#: src/main.c:468 src/main.c:526
- +#, c-format
- +msgid "Language `%s' is unknown"
- +msgstr "Lingvo '%s' estas nekonata"
- +
- +#: src/main.c:560
- +#, c-format
- +msgid "Format `%s' is ambiguous"
- +msgstr "Formo '%s' estas plursenca"
- +
- +#: src/main.c:564
- +#, c-format
- +msgid "Format `%s' is unknown"
- +msgstr "Formo '%s' estas nekonata"
- +
- +#: src/main.c:621
- +msgid "Written by Franc,ois Pinard <pinard@iro.umontreal.ca>.\n"
- +msgstr "Verkita de François Pinard <pinard@iro.umontreal.ca>.\n"
- +
- +#: src/main.c:624
- +msgid "\nCopyright (C) 1990, 92, 93, 94, 96, 97, 99 Free Software Foundation, Inc.\n"
- +msgstr "\nKopirajto (C) 1990, 92, 93, 94, 96, 97, 99 Free Software Foundation, Inc.\n"
- +
- +#: src/main.c:628
- +msgid ""
- +"This is free software; see the source for copying conditions. There is NO\n"
- +"warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n"
- +msgstr ""
- +"Æi tio estas libera programo; vidu la fonton por kopikondiæoj. Estas\n"
- +"NENIA GARANTIO; eæ ne por KOMERCA KVALITO aý ADEKVATECO POR DIFINITA CELO.\n"
- +
- +#: src/main.c:669
- +#, c-format
- +msgid "Symbol `%s' is unknown"
- +msgstr "Simbolo '%s' estas nekonata"
- +
- +#: src/main.c:709 src/main.c:723
- +#, c-format
- +msgid "Charset `%s' is unknown or ambiguous"
- +msgstr "Signaro '%s' estas nekonata aý plursenca"
- +
- +#: src/main.c:754
- +msgid "Required argument is missing"
- +msgstr "Bezonata argumento mankas"
- +
- +#: src/main.c:797
- +#, c-format
- +msgid "Syntax is deprecated, please prefer `%s'"
- +msgstr "Malrekomendata sintakso; bonvolu uzi '%s'"
- +
- +#: src/main.c:803
- +#, c-format
- +msgid "Request `%s' is erroneous"
- +msgstr "Peto '%s' estas erara"
- +
- +#: src/main.c:903
- +#, c-format
- +msgid "Recoding %s..."
- +msgstr "Rekodas '%s' ..."
- +
- +#: src/main.c:913
- +msgid " done\n"
- +msgstr " preta\n"
- +
- +#: src/main.c:954
- +#, c-format
- +msgid " failed: %s in step `%s..%s'\n"
- +msgstr " malsukcesis: %s en paþo '%s..%s'\n"
- +
- +#: src/main.c:961
- +#, c-format
- +msgid "%s failed: %s in step `%s..%s'"
- +msgstr "%s malsukcesis: %s en paþo '%s..%s'"
- +
- +#: src/main.c:984
- +#, c-format
- +msgid "%s in step `%s..%s'"
- +msgstr "%s en paþo '%s..%s'"
- +
- +#: src/names.c:335
- +#, c-format
- +msgid "Charset %s already exists and is not %s"
- +msgstr "La signaro %s jam ekzistas kaj ne estas %s"
- +
- +#: src/names.c:831
- +#, c-format
- +msgid "Cannot list `%s', no names available for this charset"
- +msgstr "Ne povas montri '%s'; neniuj nomoj disponataj por æi tiu signaro"
- +
- +#. code counter
- +#. expected value for code counter
- +#. insert a while line before printing
- +#. Print the long table according to explode data.
- +#: src/names.c:984 src/names.c:1030
- +#, c-format
- +msgid "Dec Oct Hex UCS2 Mne %s\n"
- +msgstr "Dec Oct Hex UCS2 Mne %s\n"
- +
- +#: src/names.c:1049
- +#, c-format
- +msgid "Sorry, no names available for `%s'"
- +msgstr "Pardonu, sed neniaj nomoj disponataj por '%s'"
- +
- +#: src/outer.c:125
- +#, c-format
- +msgid "Resurfacer set more than once for `%s'"
- +msgstr "Resurfacigilo agordita pli ol unufoje por '%s'"
- +
- +#: src/outer.c:133
- +#, c-format
- +msgid "Unsurfacer set more than once for `%s'"
- +msgstr "Malsurfacigilo por '%s' agordita pli ol unufoje"
- +
- +#: src/recode.c:115 src/recode.c:127
- +msgid "Virtual memory exhausted"
- +msgstr "Vituala memoro elæerpiøis"
- +
- +#: src/recode.c:155
- +#, c-format
- +msgid "Codes %3d and %3d both recode to %3d"
- +msgstr "La kodoj %3d kaj %3d estas ambaý konvertataj al %3d"
- +
- +#: src/recode.c:169
- +#, c-format
- +msgid "No character recodes to %3d"
- +msgstr "Neniu signo estas konvertata al %3d"
- +
- +#: src/recode.c:170
- +msgid "Cannot invert given one-to-one table"
- +msgstr "Ne povas inversigi la donitan unusencan tabelon"
- +
- +#: src/recode.c:224 src/recode.c:236
- +#, c-format
- +msgid "Following diagnostics for `%s' to `%s'"
- +msgstr "Jena diagnozo por konvertado de '%s' al '%s'"
- +
- +#: src/recode.c:229 src/recode.c:241
- +#, c-format
- +msgid "Pair no. %d: <%3d, %3d> conflicts with <%3d, %3d>"
- +msgstr "Paro numero %d: <%3d, %3d> konfliktas kun <%3d, %3d>"
- +
- +#: src/recode.c:272
- +msgid "Cannot complete table from set of known pairs"
- +msgstr "Ne povas kompletigi tabelon el aro de konataj paroj"
- +
- +#: src/recode.c:497
- +msgid "Identity recoding, not worth a table"
- +msgstr "Senþanøa rekodado ne indas je tabelo"
- +
- +#: src/recode.c:504
- +msgid "Recoding is too complex for a mere table"
- +msgstr "Rekodado estas tro komplika por nura tabelo"
- +
- +#. Print the header of the header file.
- +#: src/recode.c:536
- +#, c-format
- +msgid "%sConversion table generated mechanically by Free `%s' %s"
- +msgstr "%sKonvertotabelo kreita aýtomate de Free '%s' %s"
- +
- +#: src/recode.c:538
- +#, c-format
- +msgid "%sfor sequence %s.%s"
- +msgstr "%spor sinsekvo %s.%s"
- +
- +#: src/recode.c:744
- +msgid "No table to print"
- +msgstr "Mankas tabelo por eligado"
- +
- +#: src/request.c:34
- +msgid "reversible"
- +msgstr "inversigebla"
- +
- +#: src/request.c:36
- +#, c-format
- +msgid "%s to %s"
- +msgstr "%s al %s"
- +
- +#: src/request.c:37 src/request.c:39
- +msgid "byte"
- +msgstr "bitoko"
- +
- +#: src/request.c:38 src/request.c:40
- +msgid "ucs2"
- +msgstr "ucs2"
- +
- +#: src/request.c:38 src/request.c:40
- +msgid "variable"
- +msgstr "variablo"
- +
- +#: src/request.c:111
- +msgid "*Unachievable*"
- +msgstr "*neebla*"
- +
- +#: src/request.c:113
- +msgid "*mere copy*"
- +msgstr "*nura kopio*"
- +
- +#: src/request.c:246
- +msgid "Virtual memory exhausted!"
- +msgstr "Virtuala memoro estas plena!"
- +
- +#: src/request.c:265
- +msgid "Step initialisation failed"
- +msgstr "Komencado de paþo malsukcesis"
- +
- +#: src/request.c:272
- +msgid "Step initialisation failed (unprocessed options)"
- +msgstr "Komencado de paþo malsukcesis (netraktitaj opcioj)"
- +
- +#: src/request.c:568
- +#, c-format
- +msgid "Request: %s\n"
- +msgstr "Peto: %s\n"
- +
- +#: src/request.c:720
- +#, c-format
- +msgid "Shrunk to: %s\n"
- +msgstr "Þrumpis øis: %s\n"
- +
- +#: src/request.c:823 src/request.c:932
- +#, c-format
- +msgid "Unrecognised surface name `%s'"
- +msgstr "Nekonata nomo de surfaco '%s'"
- +
- +#: src/request.c:903
- +#, c-format
- +msgid "No way to recode from `%s' to `%s'"
- +msgstr "Mankas eblo por konverti de '%s' al '%s'"
- +
- +#: src/request.c:1013
- +msgid "Expecting `..' in request"
- +msgstr "Atendas '..' en peto"
- +
- +#: src/task.c:826 src/task.c:1002
- +#, c-format
- +msgid "Child process wait status is 0x%0.2x"
- +msgstr "Atendostatuso de ido-procezo estas 0x%0.2x"
- +
- +#: src/testdump.c:298
- +msgid "UCS2 Mne Description\n\n"
- +msgstr "UCS2 Mne Priskribo\n\n"
- --- recode-3.6.orig/i18n/he.po
- +++ recode-3.6/i18n/he.po
- @@ -0,0 +1,500 @@
- +# Hebrew messages for Free recode -*- coding: hebrew-iso-8bit -*-
- +# Copyright (C) 2001 Free Software Foundation, Inc.
- +# Eli Zaretskii <eliz@is.elta.co.il>, 2001.
- +#
- +msgid ""
- +msgstr ""
- +"Project-Id-Version: Free recode 3.6\n"
- +"POT-Creation-Date: 2001-01-02 22:35+0100\n"
- +"PO-Revision-Date: 2001-05-27 17:06+0300\n"
- +"Last-Translator: Eli Zaretskii <eliz@gnu.org>\n"
- +"Language-Team: Hebrew <eliz@gnu.org>\n"
- +"MIME-Version: 1.0\n"
- +"Content-Type: text/plain; charset=ISO-8859-8\n"
- +"Content-Transfer-Encoding: 8-bit\n"
- +
- +#: src/main.c:142
- +msgid "No error"
- +msgstr "úåàéâù ïéà"
- +
- +#: src/main.c:145
- +msgid "Non canonical input"
- +msgstr "éð÷ú åðéà èì÷"
- +
- +#: src/main.c:148
- +msgid "Ambiguous output"
- +msgstr "éòîùî-ãç åðéà èìô"
- +
- +#: src/main.c:151
- +msgid "Untranslatable input"
- +msgstr "äøîúäì ïúéð åðéà èì÷"
- +
- +#: src/main.c:154
- +msgid "Invalid input"
- +msgstr "íéøëåî íðéàù íéãå÷ ììåë èì÷"
- +
- +#: src/main.c:157
- +msgid "System detected problem"
- +msgstr "úëøòî úì÷ú"
- +
- +#: src/main.c:160
- +msgid "Misuse of recoding library"
- +msgstr "ãåãé÷ úåøîúä úééøôñá éåâù ùåîéù"
- +
- +#: src/main.c:163
- +msgid "Internal recoding bug"
- +msgstr "ãåãé÷ úøîúä êéìäúá úéîéðô äì÷ú"
- +
- +#: src/main.c:208
- +msgid ""
- +"This program is free software; you can redistribute it and/or modify\n"
- +"it under the terms of the GNU General Public License as published by\n"
- +"the Free Software Foundation; either version 2, or (at your option)\n"
- +"any later version.\n"
- +"\n"
- +"This program is distributed in the hope that it will be useful,\n"
- +"but WITHOUT ANY WARRANTY; without even the implied warranty of\n"
- +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n"
- +"GNU General Public License for more details.\n"
- +"\n"
- +"You should have received a copy of the GNU General Public License\n"
- +"along with this program; if not, write to the Free Software Foundation,\n"
- +"Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n"
- +msgstr ""
- +" óåôëá äúåðùì åà/å äöéôäì êúåëæ ;úéùôç äðëú äðéä åæ úéðëú\n"
- +" é\"ò øåàì àöåéä ,GNU General Public License ïåéùøä éàðúì\n"
- +" íàå ,ïåéùøä ìù 2 àñøâá íà ;Free Software Foundation\n"
- +" .øúåé úøçåàî àñøâ ìëá (êì äøåîùä äéöôåàë)\n"
- +"\n"
- +" ,úìòåú àéáú àéäù äåå÷ú êåúî úöôåî åæ úéðëú\n"
- +" òîúùîá-úåéøçà àì åìéôà ;úåéøçà áúë ìë àìì íìåà\n"
- +" ,íéèøôì .úîéåñî úéìëú åæéàì äîàúä åà úåøéçñ ìù\n"
- +" .GNU General Public License-á ïééò àðà\n"
- +"\n"
- +";GNU General Public License ìù ÷úåòá äååìî úåéäì äøåîà åæ úéðëú\n"
- +" Free Software Foundation, Inc.-ì áåúë àðà ,åúåà úìáé÷ àì íà\n"
- +" .59 Temple Place - Suite 330, Boston, MA 02111-1307, USA\n"
- +
- +#: src/main.c:233
- +#, c-format
- +msgid "Try `%s %s' for more information.\n"
- +msgstr ".`%s %s' ãì÷ä ,åæ äðëåúá ùåîéù ìò óñåð òãéî úìá÷ì\n"
- +
- +#: src/main.c:237
- +msgid "Free `recode' converts files between various character sets and surfaces.\n"
- +msgstr " .úåðåù úåôéèòå íéååú úåöåá÷ ïéá íéöá÷ äøéîúî Free `recode' úéðëåú\n"
- +
- +#: src/main.c:241
- +#, c-format
- +msgid "\nUsage: %s [OPTION]... [ [CHARSET] | REQUEST [FILE]... ]\n"
- +msgstr "\n%s [íéðééôàî]... [ [äîéùî | íéååú úöåá÷ [õáå÷]... ] :ùåîéùä ïôåà\n"
- +
- +#: src/main.c:244
- +msgid ""
- +"\n"
- +"If a long option shows an argument as mandatory, then it is mandatory\n"
- +"for the equivalent short option also. Similarly for optional arguments.\n"
- +msgstr ""
- +"\n"
- +" øåáò íâ éçøëä àåä æà ,éçøëäë èðîåâøàä úà äàøî äëåøàä åúøåöá ïééôàî íà\n"
- +" .íééçøëä íðéàù íéèðîåâøà øåáò íâ êëå .ïééôàî åúåà ìù úøöå÷îä äøåöä\n"
- +
- +#: src/main.c:250
- +msgid ""
- +"\n"
- +"Listings:\n"
- +" -l, --list[=FORMAT] list one or all known charsets and aliases\n"
- +" -k, --known=PAIRS restrict charsets according to known PAIRS list\n"
- +" -h, --header[=[LN/]NAME] write table NAME on stdout using LN, then exit\n"
- +" -F, --freeze-tables write out a C module holding all tables\n"
- +" -T, --find-subsets report all charsets being subset of others\n"
- +" -C, --copyright display Copyright and copying conditions\n"
- +" --help display this help and exit\n"
- +" --version output version information and exit\n"
- +msgstr ""
- +"\n"
- +" :úåîéùø\n"
- +" íééôåìç úåîùå íéååúä úåöåá÷ ìë åà úçà äöåá÷ âöä -l, --list[=èîøåô]\n"
- +"íéòåãé úåâåæ úîéùøì úåîéàúîä íéååú úåöåá÷ ÷ø âöä -k, --known=úåâåæ\n"
- +" LN úåðëú úôùì äîéàúîä NAME íùá äìáè íåùø -h, --header[=[LN/]NAME]\n"
- +" úåàìáèä ìë úà ìéëîä C úôùá øå÷î õáå÷ íåùø -F, --freeze-tables\n"
- +"úåøçà úåöåá÷ ìù úåöåá÷-úú ïðéäù íéååú úåöåá÷ âöä -T, --find-subsets\n"
- +" ä÷úòä éàðúå íéøöåé úåéåëæ âöä -C, --copyright\n"
- +" äæ äøæò êñî âöä --help\n"
- +" úéðëúä úñøéâ úà âöä --version\n"
- +
- +#: src/main.c:263
- +msgid ""
- +"\n"
- +"Operation modes:\n"
- +" -v, --verbose explain sequence of steps and report progress\n"
- +" -q, --quiet, --silent inhibit messages about irreversible recodings\n"
- +" -f, --force force recodings even when not reversible\n"
- +" -t, --touch touch the recoded files after replacement\n"
- +" -i, --sequence=files use intermediate files for sequencing passes\n"
- +" --sequence=memory use memory buffers for sequencing passes\n"
- +msgstr ""
- +"\n"
- +" :äìåòô éðôåà\n"
- +" úåîã÷úä çååãå úåìåòôä úøãñ úà øáñä -v, --verbose\n"
- +" úåëéôä-éúìá úåøîúä ìò úåòãåä ñéôãú ìà -q, --quiet, --silent\n"
- +" äëéôä äðéà íà íâ äøîúä òöá -f, --force\n"
- +" íáåúëéù éøçà íéöá÷ ìù ïîæä úîéúç ïëãò -t, --touch\n"
- +"úåøîúä úøãñ ìù íééðéá úåàöåú úøéâàì íéöá÷á ùîúùä -i, --sequence=files\n"
- +" ïåøëæá úåøîúä úøãñ ìù íééðéáä úåàöåú øåâà --sequence=memory\n"
- +
- +#: src/main.c:275
- +msgid " -p, --sequence=pipe use pipe machinery for sequencing passes\n"
- +msgstr " úåøîúä úøãñ òåöéáì (pipe) ÷éôàá ùîúùä -p, --sequence=pipe\n"
- +
- +#: src/main.c:280
- +msgid " -p, --sequence=pipe same as -i (on this system)\n"
- +msgstr " (åæ úëøòîá) -i åîë -p, --sequence=pipe\n"
- +
- +#: src/main.c:285
- +msgid ""
- +"\n"
- +"Fine tuning:\n"
- +" -s, --strict use strict mappings, even loose characters\n"
- +" -d, --diacritics convert only diacritics or alike for HTML/LaTeX\n"
- +" -S, --source[=LN] limit recoding to strings and comments as for LN\n"
- +" -c, --colons use colons instead of double quotes for diaeresis\n"
- +" -g, --graphics approximate IBMPC rulers by ASCII graphics\n"
- +" -x, --ignore=CHARSET ignore CHARSET while choosing a recoding path\n"
- +msgstr ""
- +"\n"
- +" ïéãò ïåðååéë\n"
- +" íéååú ãåáéà øéçîá åìéôà ,øéîçî éåôéîá ùîúùä -s, --strict\n"
- +" LaTeX-å HTML øåáò íéèéø÷àéã íò íéååú ÷ø øîúä -d, --diacritics\n"
- +" LN úåðëú úôù úçðäá úåøòäå úåæåøçîì äøîúä ìáâä -S, --source[=LN]\n"
- +" ñéñøàéã ïåîéñì íééùøâ íå÷îá íééúåãå÷ðá ùîúùä -c, --colons\n"
- +" ASCII éååú äîë é\"ò IBM ìù íééôøâ íéååú áø÷ -g, --graphics\n"
- +" äøîúä áéúð úøéçá úòá CHARSET íéååú úöåá÷î íìòúä -x, --ignore=CHARSET\n"
- +
- +#: src/main.c:296
- +msgid ""
- +"\n"
- +"Option -l with no FORMAT nor CHARSET list available charsets and surfaces.\n"
- +"FORMAT is `decimal', `octal', `hexadecimal' or `full' (or one of `dohf').\n"
- +msgstr ""
- +"\n"
- +".úåôéèòäå íéååúä úåöåá÷ ìë úà âéöî íéååú úöåá÷ åà èîøåô ïåéö àìì -l ïééôàî\n"
- +" úçà úåà åà) `full' åà `hexadecimal' ,`octal' ,`decimal' úåéäì ìåëé èîøåô\n"
- +" .(`dohf' äöåá÷ä êåúî\n"
- +
- +#: src/main.c:302
- +msgid ""
- +"Unless DEFAULT_CHARSET is set in environment, CHARSET defaults to the locale\n"
- +"dependent encoding, determined by LC_ALL, LC_CTYPE, LANG.\n"
- +msgstr ""
- +" íéååú úöåá÷ ìù ìãçîä úøéøá ,øãâåî åðéà DEFAULT_CHARSET äáéáñ äðúùî íà\n"
- +".LANG, LC_CTYPE, LC_ALL íéðúùî éëøò êåúî òîúùîë úåéìà÷åì úåðåëú é\"ò úòá÷ð\n"
- +
- +#: src/main.c:307
- +msgid ""
- +"With -k, possible before charsets are listed for the given after CHARSET,\n"
- +"both being tabular charsets, with PAIRS of the form `BEF1:AFT1,BEF2:AFT2,...'\n"
- +"and BEFs and AFTs being codes are given as decimal numbers.\n"
- +msgstr ""
- +" úåâåæ úà úîàåú ãòéä úöåá÷ì ïúøîúä øùà íéååúä úåöåá÷ ìë äðâöåú ,-k úåçëåðá\n"
- +".íééðåøùò íéãå÷ íä AFT-å BEF-å ,`BEF1:AFT1,BEF2:AFT2,...'-ë íéðåúðä íéååúä\n"
- +
- +#: src/main.c:312
- +msgid "LN is some language, it may be `c', `perl' or `po'; `c' is the default.\n"
- +msgstr " .`c' àéä ìãçîä úøéøá ;`po' åà ,`perl' ,`c' :úåðëú úôù ïééöî LN\n"
- +
- +#: src/main.c:315
- +msgid ""
- +"\n"
- +"REQUEST is SUBREQUEST[,SUBREQUEST]...; SUBREQUEST is ENCODING[..ENCODING]...\n"
- +"ENCODING is [CHARSET][/[SURFACE]]...; REQUEST often looks like BEFORE..AFTER,\n"
- +"with BEFORE and AFTER being charsets. An omitted CHARSET implies the usual\n"
- +"charset; an omitted [/SURFACE]... means the implied surfaces for CHARSET; a /\n"
- +"with an empty surface name means no surfaces at all. See the manual.\n"
- +msgstr ""
- +"\n"
- +":åúøåö SUBREQUEST ìëå SUBREQUEST[,SUBREQUEST]...:åúøåö (REQUEST) äîéùî ïåéö\n"
- +" .[CHARSET][/[SURFACE]]... :åúøåö (ãåãé÷) ENCODING .ENCODING[..ENCODING]...\n"
- +" úèîùä .íéååú úåöåá÷ ïðéä AFTER-å BEFORE ;BEFORE..AFTER-ë äðåúð äîéùî ë\"ãá\n"
- +" äùåøéô [/SURFACE] äôéèò úèîùä ;äìéâø íéååú úöåá÷ äùåøéô CHARSET íéåú úöåá÷\n"
- +" ìë øãòéä åùåøéô äôéèò íù àìì / ïåéö .äðåúð íéååú úöåá÷ øåáò úìáå÷îä äôéèòä\n"
- +" .ùîúùîì êéøãîá ïééò ,èåøéô øúéì .äôéèò\n"
- +
- +#: src/main.c:323
- +msgid ""
- +"\n"
- +"If none of -i and -p are given, presume -p if no FILE, else -i.\n"
- +"Each FILE is recoded over itself, destroying the original. If no\n"
- +"FILE is specified, then act as a filter and recode stdin to stdout.\n"
- +msgstr ""
- +"\n"
- +".-i éôì úøçà ,FILE èðîåâøà øãòéäá -p éôì ìòô ,-p àì óàå -i àì íéðåúð àì íà\n"
- +" óà íéðééöî ïéà íà .úîìòð úéøå÷îä åúìåëúå ,äøîúä êåú áúëåùî FILE õáå÷ ìë\n"
- +" .éð÷ú èìô õåøòì äøîúä úåàöåú áåúëå éð÷ú èì÷ õåøò àø÷ :øèìéôë ìòô ,FILE\n"
- +
- +#: src/main.c:329
- +msgid "\nReport bugs to <recode-bugs@iro.umontreal.ca>.\n"
- +msgstr "\n .<recode-bugs@iro.umontreal.ca> úáåúëì (bugs) äì÷ú éçååéã çåìùì àð\n"
- +
- +#: src/main.c:430
- +#, c-format
- +msgid "Sequence `%s' is ambiguous"
- +msgstr "--sequence ïééôàîì èðîåâøà ìù éòîùî-ãç øåöé÷ åðéà `%s'"
- +
- +#: src/main.c:434
- +#, c-format
- +msgid "Sequence `%s' is unknown"
- +msgstr "--sequence ïééôàîì øëåî èðîåâøà åðéà `%s'"
- +
- +#: src/main.c:464 src/main.c:522
- +#, c-format
- +msgid "Language `%s' is ambiguous"
- +msgstr "úåðëú úôù ìù éòîùî-ãç øåöé÷ åðéà `%s'"
- +
- +#. -1
- +#: src/main.c:468 src/main.c:526
- +#, c-format
- +msgid "Language `%s' is unknown"
- +msgstr "úøëåî úåðëú úôù äðéà `%s'"
- +
- +#: src/main.c:560
- +#, c-format
- +msgid "Format `%s' is ambiguous"
- +msgstr "èîøåô ìù éòîùî-ãç øåöé÷ åðéà `%s'"
- +
- +#: src/main.c:564
- +#, c-format
- +msgid "Format `%s' is unknown"
- +msgstr "øëåî èîøåô åðéà `%s'"
- +
- +#: src/main.c:621
- +msgid "Written by Franc,ois Pinard <pinard@iro.umontreal.ca>.\n"
- +msgstr ".Franc,ois Pinard <pinard@iro.umontreal.ca> é\"ò äáúëð åæ úéðëú\n"
- +
- +#: src/main.c:624
- +msgid "\nCopyright (C) 1990, 92, 93, 94, 96, 97, 99 Free Software Foundation, Inc.\n"
- +msgstr "\nFree Software Foundation-ì úåøåîù úåéåëæä ìë (C) 1990,92,93,94,96,97,99\n"
- +
- +#: src/main.c:628
- +msgid ""
- +"This is free software; see the source for copying conditions. There is NO\n"
- +"warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n"
- +msgstr ""
- +"åìéôà ;úåéøçà ìë ïéà .øå÷î éöá÷á ïééò ,ä÷úòä éàðú ìò òãéîì ;úéùôç äðëú éäåæ\n"
- +" .úîéåñî úéìëú åæéàì äîàúä åà úåøéçñ ìù òîúùîá-úåéøçà àì\n"
- +
- +#: src/main.c:669
- +#, c-format
- +msgid "Symbol `%s' is unknown"
- +msgstr "úøëåî íéååú úöåá÷ äðéà `%s'"
- +
- +#: src/main.c:709 src/main.c:723
- +#, c-format
- +msgid "Charset `%s' is unknown or ambiguous"
- +msgstr "úøëåî íéååú úöåá÷ ìù éòîùî-ãç øåöé÷ åðéà `%s'"
- +
- +#: src/main.c:754
- +msgid "Required argument is missing"
- +msgstr "åðééöì çøëäù èðîåâøà øñç"
- +
- +#: src/main.c:797
- +#, c-format
- +msgid "Syntax is deprecated, please prefer `%s'"
- +msgstr "`%s' óãòä àðà àáäì ,ïùåéî øéáçúá úùîúùä"
- +
- +#: src/main.c:803
- +#, c-format
- +msgid "Request `%s' is erroneous"
- +msgstr "éåâù åðéä `%s' äîéùî ïåéö"
- +
- +#: src/main.c:903
- +#, c-format
- +msgid "Recoding %s..."
- +msgstr "`%s' úøîúä"
- +
- +# FIXME: this is lame! The method of printing "Frobbing...done"
- +# does not lend itself to good translations into languages where
- +# such sentences have a different structure, and should be rethought.
- +#: src/main.c:913
- +msgid " done\n"
- +msgstr " äçìöäá äîééúñä\n"
- +
- +#: src/main.c:954
- +#, c-format
- +msgid " failed: %s in step `%s..%s'\n"
- +msgstr "%s :ìùëð `%s..%s' äøîúä áìù\n"
- +
- +#: src/main.c:961
- +#, c-format
- +msgid "%s failed: %s in step `%s..%s'"
- +msgstr "%s õáå÷ øåáò %s á÷ò ìùëð `%s..%s' äøîúä áìù"
- +
- +#: src/main.c:984
- +#, c-format
- +msgid "%s in step `%s..%s'"
- +msgstr "%s :`%s..%s' äøîúä áìùá"
- +
- +#: src/names.c:335
- +#, c-format
- +msgid "Charset %s already exists and is not %s"
- +msgstr "íéååú úöåá÷ ìù (alias) éôåìç éåðéëë %s ìù úîãå÷ äøãâä øèåñ %s"
- +
- +#: src/names.c:831
- +#, c-format
- +msgid "Cannot list `%s', no names available for this charset"
- +msgstr "íééð÷ú úåîù ïéà åæ äöåá÷î íéååúì ïëù ,`%s' úà âéöäì ïúéð àì"
- +
- +#. code counter
- +#. expected value for code counter
- +#. insert a while line before printing
- +#. Print the long table according to explode data.
- +#: src/names.c:984 src/names.c:1030
- +#, c-format
- +msgid "Dec Oct Hex UCS2 Mne %s\n"
- +msgstr "Dec Oct Hex UCS2 Mne %s\n"
- +
- +#: src/names.c:1049
- +#, c-format
- +msgid "Sorry, no names available for `%s'"
- +msgstr "íééð÷ú úåîù ïéà `%s' äöåá÷î íéååúì ,íéøòèöî"
- +
- +#: src/outer.c:125
- +#, c-format
- +msgid "Resurfacer set more than once for `%s'"
- +msgstr "`%s' øåáò úçà íòôî øúåé äòá÷ð äôéèò úøîúä"
- +
- +#: src/outer.c:133
- +#, c-format
- +msgid "Unsurfacer set more than once for `%s'"
- +msgstr "`%s' øåáò úçà íòôî øúåé äòá÷ð äôéèò úãøåä"
- +
- +#: src/recode.c:115 src/recode.c:127
- +msgid "Virtual memory exhausted"
- +msgstr "ìæà éìàåèøéå ïåøëæ"
- +
- +#: src/recode.c:155
- +#, c-format, ycp-format
- +msgid "Codes %3d and %3d both recode to %3d"
- +msgstr "%3d-î ïäå %3d úøîúäî ïä ìá÷úî %3d ãå÷ ìòá åú"
- +
- +#: src/recode.c:169
- +#, c-format, ycp-format
- +msgid "No character recodes to %3d"
- +msgstr "%3d-ì øîúåî åðéà åú íåù"
- +
- +#: src/recode.c:170
- +msgid "Cannot invert given one-to-one table"
- +msgstr "äëéôäì úðúéð äðéà äøãâåäù äøîúä úìáè"
- +
- +#: src/recode.c:224 src/recode.c:236
- +#, c-format
- +msgid "Following diagnostics for `%s' to `%s'"
- +msgstr "`%s'-î `%s'-ì äøîúä øåáò äðéä äàáä äì÷úä úòãåä"
- +
- +#: src/recode.c:229 src/recode.c:241
- +#, c-format
- +msgid "Pair no. %d: <%3d, %3d> conflicts with <%3d, %3d>"
- +msgstr "%d åøôñîù <%3d, %3d> âåæä úà øèåñ <%3d, %3d> âåæä"
- +
- +#: src/recode.c:272
- +msgid "Cannot complete table from set of known pairs"
- +msgstr "íéòåãéä úåâåæä úöåá÷ êåúî äìáè íéìùäì úåøùôà ïéà"
- +
- +#: src/recode.c:497
- +msgid "Identity recoding, not worth a table"
- +msgstr "äìáèì ä÷ãöä ïéà ,(úåäæ) äãéçé úøîúä"
- +
- +#: src/recode.c:504
- +msgid "Recoding is too complex for a mere table"
- +msgstr "äìáèë äâéöäì äéäé øùôàù éãëî úáëøåî äøîúä"
- +
- +# FIXME: this goes into a comment; is it really worth translating?
- +#. Print the header of the header file.
- +#: src/recode.c:536
- +#, c-format
- +msgid "%sConversion table generated mechanically by Free `%s' %s"
- +msgstr "%sFree `%s' úéðëåú ìù %s àñøéâ é\"ò äáùåçù äøîúä úìáè"
- +
- +#: src/recode.c:538
- +#, c-format
- +msgid "%sfor sequence %s.%s"
- +msgstr "%s .%s úåøîúä úøãñ øåáò%s"
- +
- +#: src/recode.c:744
- +msgid "No table to print"
- +msgstr "äñôãäì äìáè ïéà"
- +
- +#: src/request.c:34
- +msgid "reversible"
- +msgstr "êéôä"
- +
- +# FIXME: these assume left-to-right direction. What else can I do?
- +#: src/request.c:36
- +#, c-format
- +msgid "%s to %s"
- +msgstr "%s -> %s"
- +
- +#: src/request.c:37 src/request.c:39
- +msgid "byte"
- +msgstr "byte"
- +
- +#: src/request.c:38 src/request.c:40
- +msgid "ucs2"
- +msgstr "ucs2"
- +
- +#: src/request.c:38 src/request.c:40
- +msgid "variable"
- +msgstr "variable"
- +
- +#: src/request.c:111
- +msgid "*Unachievable*"
- +msgstr "äâùäì ïúéð-éúìá*"
- +
- +#: src/request.c:113
- +msgid "*mere copy*"
- +msgstr "*äèåùô ä÷úòä*"
- +
- +#: src/request.c:246
- +msgid "Virtual memory exhausted!"
- +msgstr "!ìæà éìàåèøéå ïåøëæ"
- +
- +#: src/request.c:265
- +msgid "Step initialisation failed"
- +msgstr "ìùëð áìùä ìåçúà"
- +
- +#: src/request.c:272
- +msgid "Step initialisation failed (unprocessed options)"
- +msgstr "(åãáåò àì íéðééôàî äîë) ìùëð áìùä ìåçúà"
- +
- +#: src/request.c:568
- +#, c-format
- +msgid "Request: %s\n"
- +msgstr "%s :äîéùî\n"
- +
- +#: src/request.c:720
- +#, c-format
- +msgid "Shrunk to: %s\n"
- +msgstr "%s -:ì äîöîèöä\n"
- +
- +#: src/request.c:823 src/request.c:932
- +#, c-format
- +msgid "Unrecognised surface name `%s'"
- +msgstr "øëåî äôéèò íù åðéà `%s'"
- +
- +#: src/request.c:903
- +#, c-format
- +msgid "No way to recode from `%s' to `%s'"
- +msgstr "`%s'-î `%s'-ì äøîúä úåøùôà ïéà"
- +
- +#: src/request.c:1013
- +msgid "Expecting `..' in request"
- +msgstr "`..' ìåìëì äéä øåîà äîéùîä ïåéö"
- +
- +#: src/task.c:826 src/task.c:1002
- +#, c-format
- +msgid "Child process wait status is 0x%0.2x"
- +msgstr "0x%0.2x àåä úá-úéðëú íåéñ ãå÷"
- +
- +#: src/testdump.c:298
- +msgid "UCS2 Mne Description\n\n"
- +msgstr "UCS2 éðåîðî øåàéú\n\n"
- --- recode-3.6.orig/i18n/da.po
- +++ recode-3.6/i18n/da.po
- @@ -1,12 +1,15 @@
- # Danish message catalog for GNU recode.
- # Copyright (C) 1997 Free Software Foundation, Inc.
- # Niels Kristian Bech Jensen <nkbj@image.dk>, 1997-2000.
- +# Keld Simonsen <keld@dkuug.dk>, 2001.
- +#
- +# Reviewed: 2000-09-09: byrial@image.dk
- #
- msgid ""
- msgstr ""
- -"Project-Id-Version: recode 3.5\n"
- +"Project-Id-Version: recode 3.6\n"
- "POT-Creation-Date: 2001-01-02 22:35+0100\n"
- -"PO-Revision-Date: 2000-05-31 22:02+02:00\n"
- +"PO-Revision-Date: 2001-09-12 11:05+02:00\n"
- "Last-Translator: Niels Kristian Bech Jensen <nkbj@image.dk>\n"
- "Language-Team: Danish <dansk@klid.dk>\n"
- "MIME-Version: 1.0\n"
- @@ -19,7 +22,7 @@
-
- #: src/main.c:145
- msgid "Non canonical input"
- -msgstr "Ualmindelige inddata"
- +msgstr "Unormale inddata"
-
- #: src/main.c:148
- msgid "Ambiguous output"
- @@ -62,8 +65,7 @@
- "Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n"
- msgstr ""
- "Dette program er fri software; du må redistribuere det og/eller modificere\n"
- -"det under betingelserne givet i GNU General Public License som publiceret "
- -"af\n"
- +"det under betingelserne givet i GNU General Public License som publiceret af\n"
- "Free Software Foundation; enten version 2, eller (efter dit valg) en senere\n"
- "version.\n"
- "\n"
- @@ -79,22 +81,16 @@
- #: src/main.c:233
- #, c-format
- msgid "Try `%s %s' for more information.\n"
- -msgstr "Prøv \"%s %s\" for mere information.\n"
- +msgstr "Prøv '%s %s' for mere information.\n"
-
- #: src/main.c:237
- -msgid ""
- -"Free `recode' converts files between various character sets and surfaces.\n"
- -msgstr ""
- -"Fri \"recode\" konverterer filer mellem forskellige tegnsæt og pakninger.\n"
- +msgid "Free `recode' converts files between various character sets and surfaces.\n"
- +msgstr "Fri 'recode' konverterer filer mellem forskellige tegnsæt og indpakninger.\n"
-
- #: src/main.c:241
- #, c-format
- -msgid ""
- -"\n"
- -"Usage: %s [OPTION]... [ [CHARSET] | REQUEST [FILE]... ]\n"
- -msgstr ""
- -"\n"
- -"Brug: %s [TILVALG]... [ [TEGNSÆT] | FORESPØRGSEL [FIL]... ]\n"
- +msgid "\nUsage: %s [OPTION]... [ [CHARSET] | REQUEST [FILE]... ]\n"
- +msgstr "\nBrug: %s [TILVALG]... [ [TEGNSÆT] | FORESPØRGSEL [FIL]... ]\n"
-
- #: src/main.c:244
- msgid ""
- @@ -108,13 +104,11 @@
- "argumenter.\n"
-
- #: src/main.c:250
- -#, fuzzy
- msgid ""
- "\n"
- "Listings:\n"
- " -l, --list[=FORMAT] list one or all known charsets and aliases\n"
- -" -k, --known=PAIRS restrict charsets according to known PAIRS "
- -"list\n"
- +" -k, --known=PAIRS restrict charsets according to known PAIRS list\n"
- " -h, --header[=[LN/]NAME] write table NAME on stdout using LN, then exit\n"
- " -F, --freeze-tables write out a C module holding all tables\n"
- " -T, --find-subsets report all charsets being subset of others\n"
- @@ -145,13 +139,12 @@
- " --sequence=memory use memory buffers for sequencing passes\n"
- msgstr ""
- "\n"
- -"Operationsmåder:\n"
- -" -v, --verbose vis rækkefølgen af gennemløb, og rapportér "
- -"fremskridt\n"
- -" -q, --quiet, --silent udelad meddelelser om irreversible oversættelser\n"
- -" -f, --force gennemtving oversættelser, selv hvis de ikke er\n"
- +"Virkemåder:\n"
- +" -v, --verbose vis rækkefølgen af gennemløb, og rapportér fremskridt\n"
- +" -q, --quiet, --silent udelad meddelelser om irreversible omkodninger\n"
- +" -f, --force gennemtving omkodninger, selv hvis de ikke er\n"
- " reversible\n"
- -" -t, --touch giv den oversatte fil system-urets tid\n"
- +" -t, --touch giv den omkodede fil system-urets tid\n"
- " -i, --sequence=files brug midlertidige filer mellem gennemløbene\n"
- " --sequence=memory brug hukommelsesbuffere mellem gennemløbene\n"
-
- @@ -175,16 +168,14 @@
- " -x, --ignore=CHARSET ignore CHARSET while choosing a recoding path\n"
- msgstr ""
- "\n"
- -"Fintuning:\n"
- +"Finjustering:\n"
- " -s, --strict brug kun nøjagtige tegnsæt selvom der mistes tegn\n"
- -" -d, --diacritics oversæt kun diakritiske/specielle tegn i "
- -"HTML/LaTeX\n"
- -" -S, --source[=SPR] begræns omodning til strenge og kommentarer som\n"
- +" -d, --diacritics omkod kun diakritiske/specielle tegn i HTML/LaTeX\n"
- +" -S, --source[=SPR] begræns omkodning til strenge og kommentarer som\n"
- " for SPR\n"
- -" -c, --colons brug koloner i stedet for anførselstegn som trema "
- -"(¨)\n"
- -" -g, --graphics tilnærm IBMPC linie- og kassetegn med ASCII grafik\n"
- -" -x, --ignore=TEGNSÆT ignorér TEGNSÆT når en omkodningssti vælges\n"
- +" -c, --colons brug koloner i stedet for anførselstegn som trema (¨)\n"
- +" -g, --graphics tilnærm IBMPC linie- og kassetegn med ASCII-grafik\n"
- +" -x, --ignore=TEGNSÆT ignorér TEGNSÆT når en omkodningsrute vælges\n"
-
- #: src/main.c:296
- msgid ""
- @@ -194,56 +185,47 @@
- msgstr ""
- "\n"
- "Tilvalg -l uden FORMAT eller TEGNSÆT viser en liste over alle tegnsæt og\n"
- -"pakninger. FORMAT er et af ordene 'decimal', 'octal', 'hexadecimal' eller\n"
- +"indpakninger. FORMAT er et af ordene 'decimal', 'octal', 'hexadecimal' eller\n"
- "'full' (eller et af bogstaverne d, o, h eller f).\n"
-
- #: src/main.c:302
- -#, fuzzy
- msgid ""
- -"Unless DEFAULT_CHARSET is set in environment, CHARSET defaults to the "
- -"locale\n"
- +"Unless DEFAULT_CHARSET is set in environment, CHARSET defaults to the locale\n"
- "dependent encoding, determined by LC_ALL, LC_CTYPE, LANG.\n"
- -msgstr "Standard TEGNSÆT er \"%s\", med mindre DEFAULT_CHARSET er angivet.\n"
- +msgstr ""
- +"Med mindre DEFAULT_CHARSET er angivet i miljøet, er\n"
- +"Standard TEGNSÆT det lokaleafhængige tegnsæt, bestemt ud fra LC_ALL, LC_CTYPE og LANG.\n"
-
- #: src/main.c:307
- msgid ""
- "With -k, possible before charsets are listed for the given after CHARSET,\n"
- -"both being tabular charsets, with PAIRS of the form "
- -"`BEF1:AFT1,BEF2:AFT2,...'\n"
- +"both being tabular charsets, with PAIRS of the form `BEF1:AFT1,BEF2:AFT2,...'\n"
- "and BEFs and AFTs being codes are given as decimal numbers.\n"
- msgstr ""
- -"Med -k vises en liste over mulige før tegnsæt for det givne efter TEGNSÆT,\n"
- -"begge tabellariske tegnsæt, med PAR af typen "
- -"\"FØR1:EFTER1,FØR2:EFTER2,...\"\n"
- -"hvor FØR'er og EFTER'e er tegnkoder givet efter titalssystemet.\n"
- +"Med -k vises en liste over mulige før-tegnsæt for det givne efter-TEGNSÆT,\n"
- +"begge tabellariske tegnsæt, med PAR af typen 'FØR1:EFTER1,FØR2:EFTER2,...'\n"
- +"hvor FØR'er og EFTER'e er givet som decimale tal.\n"
-
- #: src/main.c:312
- -msgid ""
- -"LN is some language, it may be `c', `perl' or `po'; `c' is the default.\n"
- -msgstr ""
- -"SPR er et programmeringssprog, f.eks. \"c\", \"perl\" eller \"po\"; \"c\" er "
- -"standard.\n"
- +msgid "LN is some language, it may be `c', `perl' or `po'; `c' is the default.\n"
- +msgstr "SPR er et programmeringssprog, f.eks. 'c', 'perl' eller 'po'; 'c' er standard.\n"
-
- #: src/main.c:315
- msgid ""
- "\n"
- -"REQUEST is SUBREQUEST[,SUBREQUEST]...; SUBREQUEST is "
- -"ENCODING[..ENCODING]...\n"
- -"ENCODING is [CHARSET][/[SURFACE]]...; REQUEST often looks like "
- -"BEFORE..AFTER,\n"
- +"REQUEST is SUBREQUEST[,SUBREQUEST]...; SUBREQUEST is ENCODING[..ENCODING]...\n"
- +"ENCODING is [CHARSET][/[SURFACE]]...; REQUEST often looks like BEFORE..AFTER,\n"
- "with BEFORE and AFTER being charsets. An omitted CHARSET implies the usual\n"
- -"charset; an omitted [/SURFACE]... means the implied surfaces for CHARSET; a "
- -"/\n"
- +"charset; an omitted [/SURFACE]... means the implied surfaces for CHARSET; a /\n"
- "with an empty surface name means no surfaces at all. See the manual.\n"
- msgstr ""
- "\n"
- -"FORESPØRGSEL er UNDERFORESPØRGSEL[,UNDERFORESPØRGSEL]...; UNDERFORESPØRGSEL "
- -"er\n"
- -"INDKODNING[..INDKODNING]...; INDKODNING er [TEGNSÆT][/[PAKNING]]...\n"
- +"FORESPØRGSEL er UNDERFORESPØRGSEL[,UNDERFORESPØRGSEL]...; UNDERFORESPØRGSEL er\n"
- +"INDPAKNING[..INDPAKNING]...; INDPAKNING er [TEGNSÆT][/[INDPAKNING]]...\n"
- "FORESPØRGSEL har ofte formen FØR..EFTER, hvor FØR og EFTER er tegnsæt.\n"
- -"Hvis et TEGNSÆT udelades, anvendes det normale tegnsæt; hvis [/PAKNING]...\n"
- +"Hvis et TEGNSÆT udelades, anvendes det normale tegnsæt; hvis [/INDPAKNING]...\n"
- "udelades, anvendes den normale pakning af TEGNSÆT; / uden navnet på en\n"
- -"pakning betyder ingen pakning. Se manualen.\n"
- +"indpakning betyder ingen indpakninger. Se manualen.\n"
-
- #: src/main.c:323
- msgid ""
- @@ -253,65 +235,52 @@
- "FILE is specified, then act as a filter and recode stdin to stdout.\n"
- msgstr ""
- "\n"
- -"Hvis ingen af -i eller -p er valgt, bruges -p hvis ingen FIL, ellers -i.\n"
- -"Hver FIL bliver oversat oveni sig selv og overskriver originalen. Hvis "
- -"ingen\n"
- -"FIL er valgt, er programmet et filter, der oversætter fra std-ind til "
- -"std-ud.\n"
- +"Hvis hverken -i eller -p er valgt, bruges -p hvis ingen FIL, ellers -i.\n"
- +"Hver FIL bliver omkodet oven i sig selv og overskriver originalen. Hvis ingen\n"
- +"FIL er valgt, er programmet et filter, der omkoder fra std-ind til std-ud.\n"
-
- #: src/main.c:329
- -msgid ""
- -"\n"
- -"Report bugs to <recode-bugs@iro.umontreal.ca>.\n"
- -msgstr ""
- -"\n"
- -"Rapportér fejl til <recode-bugs@iro.umontreal.ca>.\n"
- +msgid "\nReport bugs to <recode-bugs@iro.umontreal.ca>.\n"
- +msgstr "\nRapportér fejl til <recode-bugs@iro.umontreal.ca>.\n"
-
- #: src/main.c:430
- #, c-format
- msgid "Sequence `%s' is ambiguous"
- -msgstr ""
- +msgstr "Sekvens '%s' er flertydig"
-
- #: src/main.c:434
- #, c-format
- msgid "Sequence `%s' is unknown"
- -msgstr ""
- +msgstr "Sekvens '%s' er ukendt"
-
- #: src/main.c:464 src/main.c:522
- #, c-format
- msgid "Language `%s' is ambiguous"
- -msgstr ""
- +msgstr "Sprog '%s' er flertydigt"
-
- #. -1
- #: src/main.c:468 src/main.c:526
- #, c-format
- msgid "Language `%s' is unknown"
- -msgstr ""
- +msgstr "Sprog '%s' er ukendt"
-
- #: src/main.c:560
- #, c-format
- msgid "Format `%s' is ambiguous"
- -msgstr ""
- +msgstr "Format '%s' er flertydigt"
-
- #: src/main.c:564
- #, c-format
- msgid "Format `%s' is unknown"
- -msgstr ""
- +msgstr "Format '%s' er ukendt"
-
- #: src/main.c:621
- -#, fuzzy
- msgid "Written by Franc,ois Pinard <pinard@iro.umontreal.ca>.\n"
- -msgstr ""
- -"\n"
- -"Skrevet af François Pinard <pinard@iro.umontreal.ca>.\n"
- +msgstr "Skrevet af François Pinard <pinard@iro.umontreal.ca>.\n"
-
- #: src/main.c:624
- -msgid ""
- -"\n"
- -"Copyright (C) 1990, 92, 93, 94, 96, 97, 99 Free Software Foundation, Inc.\n"
- -msgstr ""
- -"\n"
- -"Ophavsret (C) 1990, 92, 93, 94, 96, 97, 99 Free Software Foundation, Inc.\n"
- +msgid "\nCopyright (C) 1990, 92, 93, 94, 96, 97, 99 Free Software Foundation, Inc.\n"
- +msgstr "\nOphavsret (C) 1990, 92, 93, 94, 96, 97, 99 Free Software Foundation, Inc.\n"
-
- #: src/main.c:628
- msgid ""
- @@ -319,32 +288,31 @@
- "warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n"
- msgstr ""
- "Dette er fri software; se kopieringsbetingelserne i kildeteksten. Der gives\n"
- -"INGEN garanti; end ikke for SALGBARHED eller ANVENDELIGHED TIL NOGET "
- -"FORMÅL.\n"
- +"INGEN garanti; end ikke for SALGBARHED eller ANVENDELIGHED TIL NOGET FORMÅL.\n"
-
- #: src/main.c:669
- #, c-format
- msgid "Symbol `%s' is unknown"
- -msgstr ""
- +msgstr "Symbol '%s' er ukendt"
-
- #: src/main.c:709 src/main.c:723
- #, c-format
- msgid "Charset `%s' is unknown or ambiguous"
- -msgstr ""
- +msgstr "Tegnsæt '%s' er ukendt eller flertydigt"
-
- #: src/main.c:754
- msgid "Required argument is missing"
- -msgstr ""
- +msgstr "Krævet argument mangler"
-
- #: src/main.c:797
- -#, fuzzy, c-format
- +#, c-format
- msgid "Syntax is deprecated, please prefer `%s'"
- -msgstr "Forældet syntaks, brug hellere \"%s\""
- +msgstr "Forældet syntaks, brug hellere '%s'"
-
- #: src/main.c:803
- #, c-format
- msgid "Request `%s' is erroneous"
- -msgstr ""
- +msgstr "Forespørgsel '%s' er fejlagtig"
-
- #: src/main.c:903
- #, c-format
- @@ -356,19 +324,19 @@
- msgstr " færdig\n"
-
- #: src/main.c:954
- -#, fuzzy, c-format
- +#, c-format
- msgid " failed: %s in step `%s..%s'\n"
- -msgstr " fejlede: %s i %s..%s\n"
- +msgstr " fejlede: %s i trin '%s..%s'\n"
-
- #: src/main.c:961
- -#, fuzzy, c-format
- +#, c-format
- msgid "%s failed: %s in step `%s..%s'"
- -msgstr "%s fejlede: %s i %s..%s"
- +msgstr "%s fejlede: %s i trin '%s..%s'"
-
- #: src/main.c:984
- -#, fuzzy, c-format
- +#, c-format
- msgid "%s in step `%s..%s'"
- -msgstr "%s i %s..%s"
- +msgstr "%s i trin '%s..%s'"
-
- #: src/names.c:335
- #, c-format
- @@ -378,7 +346,7 @@
- #: src/names.c:831
- #, c-format
- msgid "Cannot list `%s', no names available for this charset"
- -msgstr "Kan ikke vise \"%s\", ingen navne tilgængelige for dette tegnsæt"
- +msgstr "Kan ikke vise '%s', ingen navne tilgængelige for dette tegnsæt"
-
- #. code counter
- #. expected value for code counter
- @@ -392,31 +360,31 @@
- #: src/names.c:1049
- #, c-format
- msgid "Sorry, no names available for `%s'"
- -msgstr "Beklager, ingen navne tilgængelige for \"%s\""
- +msgstr "Beklager, ingen navne tilgængelige for '%s'"
-
- #: src/outer.c:125
- #, c-format
- msgid "Resurfacer set more than once for `%s'"
- -msgstr "Genpakker indstillet flere gange for \"%s\""
- +msgstr "Genindpakker indstillet flere gange for '%s'"
-
- #: src/outer.c:133
- #, c-format
- msgid "Unsurfacer set more than once for `%s'"
- -msgstr "Udpakker indstillet flere gange for \"%s\""
- +msgstr "Udpakker indstillet flere gange for '%s'"
-
- #: src/recode.c:115 src/recode.c:127
- msgid "Virtual memory exhausted"
- msgstr "Virtuel hukommelse opbrugt"
-
- #: src/recode.c:155
- -#, c-format, ycp-format
- +#, c-format
- msgid "Codes %3d and %3d both recode to %3d"
- -msgstr "Tegnkoderne %3d og %3d oversættes begge til %3d"
- +msgstr "Tegnkoderne %3d og %3d omkodes begge til %3d"
-
- #: src/recode.c:169
- -#, c-format, ycp-format
- +#, c-format
- msgid "No character recodes to %3d"
- -msgstr "Ingen tegn oversættes til %3d"
- +msgstr "Ingen tegn omkodes til %3d"
-
- #: src/recode.c:170
- msgid "Cannot invert given one-to-one table"
- @@ -425,7 +393,7 @@
- #: src/recode.c:224 src/recode.c:236
- #, c-format
- msgid "Following diagnostics for `%s' to `%s'"
- -msgstr "Følgende fejl er for \"%s\" til \"%s\""
- +msgstr "Følgende fejl er for '%s' til '%s'"
-
- #: src/recode.c:229 src/recode.c:241
- #, c-format
- @@ -434,7 +402,7 @@
-
- #: src/recode.c:272
- msgid "Cannot complete table from set of known pairs"
- -msgstr "Kan ikke fuldende tabellen udfra mængden af kendte par"
- +msgstr "Kan ikke fuldende tabellen ud fra mængden af kendte par"
-
- #: src/recode.c:497
- msgid "Identity recoding, not worth a table"
- @@ -448,7 +416,7 @@
- #: src/recode.c:536
- #, c-format
- msgid "%sConversion table generated mechanically by Free `%s' %s"
- -msgstr "%sOmkodningstabellen er genereret automatisk af Free \"%s\" %s"
- +msgstr "%sOmkodningstabellen er genereret automatisk af Fri '%s' %s"
-
- #: src/recode.c:538
- #, c-format
- @@ -513,16 +481,16 @@
- #: src/request.c:823 src/request.c:932
- #, c-format
- msgid "Unrecognised surface name `%s'"
- -msgstr "Ukendt pakkenavn \"%s\""
- +msgstr "Ukendt indpakningsnavn '%s'"
-
- #: src/request.c:903
- #, c-format
- msgid "No way to recode from `%s' to `%s'"
- -msgstr "Umuligt at oversætte fra \"%s\" til \"%s\""
- +msgstr "Umuligt at omkode fra '%s' til '%s'"
-
- #: src/request.c:1013
- msgid "Expecting `..' in request"
- -msgstr "Forventer \"..\" i forespørgsel"
- +msgstr "Forventer '..' i forespørgsel"
-
- #: src/task.c:826 src/task.c:1002
- #, c-format
- @@ -530,33 +498,5 @@
- msgstr "Underprocessens ventestatus er 0x%0.2x"
-
- #: src/testdump.c:298
- -msgid ""
- -"UCS2 Mne Description\n"
- -"\n"
- -msgstr ""
- -"UCS2 Mne Beskrivelse\n"
- -"\n"
- -
- -#~ msgid "CHARSET has no default, define DEFAULT_CHARSET in the environment.\n"
- -#~ msgstr "Der findes ikke et standard TEGNSÆT, angiv DEFAULT_CHARSET.\n"
- -
- -#~ msgid "Ambiguous sequence `%s'"
- -#~ msgstr "Flertydig sekvens \"%s\""
- -
- -#~ msgid "Unknown sequence `%s'"
- -#~ msgstr "Ukendt sekvens \"%s\""
- -
- -#~ msgid "Ambiguous language `%s'"
- -#~ msgstr "Flertydigt sprog \"%s\""
- -
- -#~ msgid "Unknown language `%s'"
- -#~ msgstr "Ukendt sprog \"%s\""
- -
- -#~ msgid "Ambiguous format `%s'"
- -#~ msgstr "Flertydigt format \"%s\""
- -
- -#~ msgid "Unknown format `%s'"
- -#~ msgstr "Ukendt format \"%s\""
- -
- -#~ msgid "Erroneous request `%s'"
- -#~ msgstr "Fejlagtig forespørgsel \"%s\""
- +msgid "UCS2 Mne Description\n\n"
- +msgstr "UCS2 Mnem Beskrivelse\n\n"
- --- recode-3.6.orig/i18n/be.po
- +++ recode-3.6/i18n/be.po
- @@ -0,0 +1,522 @@
- +# SOME DESCRIPTIVE TITLE
- +# Copyright (C) 2003 Free Software Foundation, Inc.
- +# Hleb Valoska <el_globus@tut.by>, 2003.
- +#
- +msgid ""
- +msgstr ""
- +"Project-Id-Version: recode 3.6\n"
- +"POT-Creation-Date: 2001-01-02 22:35+0100\n"
- +"PO-Revision-Date: 2003-04-06 23:16+0300\n"
- +"Last-Translator: Ales Nyakhaychyk <nab@mail.by>\n"
- +"Language-Team: Belarusian <i18n@mova.org>\n"
- +"MIME-Version: 1.0\n"
- +"Content-Type: text/plain; charset=UTF-8\n"
- +"Content-Transfer-Encoding: 8bit\n"
- +"X-Generator: KBabel 0.9.6\n"
- +
- +#: src/main.c:142
- +msgid "No error"
- +msgstr "Без памылак"
- +
- +#: src/main.c:145
- +msgid "Non canonical input"
- +msgstr "�екананічна�ьць на ўваходзе"
- +
- +#: src/main.c:148
- +msgid "Ambiguous output"
- +msgstr "Двух��н�оўна�ьць на выхадзе"
- +
- +#: src/main.c:151
- +msgid "Untranslatable input"
- +msgstr "�еперакладальнае на ўваходзе"
- +
- +#: src/main.c:154
- +msgid "Invalid input"
- +msgstr "��правільнае на ўваходзе"
- +
- +#: src/main.c:157
- +msgid "System detected problem"
- +msgstr "Сы�т�ма вы�віла праблему"
- +
- +#: src/main.c:160
- +msgid "Misuse of recoding library"
- +msgstr "��правільнае ўжываньне біблі�т�кі перакадаваньн�"
- +
- +#: src/main.c:163
- +msgid "Internal recoding bug"
- +msgstr "�утрана� памылка перакадаваньн�"
- +
- +#: src/main.c:208
- +msgid ""
- +"This program is free software; you can redistribute it and/or modify\n"
- +"it under the terms of the GNU General Public License as published by\n"
- +"the Free Software Foundation; either version 2, or (at your option)\n"
- +"any later version.\n"
- +"\n"
- +"This program is distributed in the hope that it will be useful,\n"
- +"but WITHOUT ANY WARRANTY; without even the implied warranty of\n"
- +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n"
- +"GNU General Public License for more details.\n"
- +"\n"
- +"You should have received a copy of the GNU General Public License\n"
- +"along with this program; if not, write to the Free Software Foundation,\n"
- +"Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n"
- +msgstr ""
- +"Г�та� праграма зь�ўл�ецца �вабодным праграмным забе�ьп�ч�ньнем, �е\n"
- +"можна ра�паў�юджваць і/ці зьм�н�ць паводле ўмоваў �гульнай Публічнай\n"
- +"Ліц�нзіі (GPL) GNU, надрукаванай Free Software Foundation; другой ці\n"
- +"(на твой погл�д) пазьнейшай в�р�іі.\n"
- +"\n"
- +"Г�та� праграма разпаў�юджваецца з надзе�й, што �на будзе кары�най,\n"
- +"але БЕЗЬ �ІЯК�Е Г�Р��ТЫІ; нават без гарантыі К�ШТОЎ��СЬЦІ ці\n"
- +"ПРЫДÐ�ТÐ�Ð�СЬЦІ ДЛЯ КÐ�Ð�КРÐТÐ�Ð�Е ÐœÐТЫ. ГлÑ�дзі падрабÑ�знаÑ�ьці Ñž GNU GPL.\n"
- +"\n"
- +"Ты му�іш атрымаць копію �гульнай Публічнай Ліц�нзіі (GPL) GNU разам\n"
- +"з г�тай праграмай, калі не, напішы на адра� Free Software Foundation,\n"
- +"Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n"
- +
- +#: src/main.c:233
- +#, c-format
- +msgid "Try `%s %s' for more information.\n"
- +msgstr "Па�прабуй `%s %s', каб атрымаць болей інфармацыі.\n"
- +
- +#: src/main.c:237
- +msgid "Free `recode' converts files between various character sets and surfaces.\n"
- +msgstr "Свабодна� `recode' зьм�н�е знаказбор ці �по�аб кадаваньн� файла.\n"
- +
- +#: src/main.c:241
- +#, c-format
- +msgid ""
- +"\n"
- +"Usage: %s [OPTION]... [ [CHARSET] | REQUEST [FILE]... ]\n"
- +msgstr ""
- +"\n"
- +"Ужывай: %s [ОПЦЫІ]... [ [З��К�ЗБОР] | З�ПЫТ [Ф�ЙЛ]... ]\n"
- +
- +#: src/main.c:244
- +msgid ""
- +"\n"
- +"If a long option shows an argument as mandatory, then it is mandatory\n"
- +"for the equivalent short option also. Similarly for optional arguments.\n"
- +msgstr ""
- +"\n"
- +"Калі парам�тар абав�зковы дл� доўгае опцыі, то ён абав�зковы й дл�\n"
- +"кароткае опцыі так�ама. �нал�гічна дл� неабав�зковых парам�траў.\n"
- +
- +#: src/main.c:250
- +msgid ""
- +"\n"
- +"Listings:\n"
- +" -l, --list[=FORMAT] list one or all known charsets and aliases\n"
- +" -k, --known=PAIRS restrict charsets according to known PAIRS list\n"
- +" -h, --header[=[LN/]NAME] write table NAME on stdout using LN, then exit\n"
- +" -F, --freeze-tables write out a C module holding all tables\n"
- +" -T, --find-subsets report all charsets being subset of others\n"
- +" -C, --copyright display Copyright and copying conditions\n"
- +" --help display this help and exit\n"
- +" --version output version information and exit\n"
- +msgstr ""
- +"\n"
- +"�длю�траваньне:\n"
- +" -l, --list[=Ф�РМ�Т] паказаць адзін ці ў�е в�домы� знаказборы\n"
- +" -k, --known=П�РЫ абмежаваць знаказборы адпаведна �ьпі�у П�Р\n"
- +" -h, --header[=[МОВ�/]ІМЯ] запі�аць табліцу ІМЯ у stdout на МОВЕ й вый�ьці\n"
- +" -F, --freeze-tables запі�аць модуль С, �кі ўтрымлівае ў�е знаказборы\n"
- +" -T, --find-subsets паведаміць, �кі� знаказборы зь�ўл�юцца падмно�твам \n"
- +" іншых\n"
- +" -C, --copyright надрукаваць зьве�ткі аб аўтар�кіх правох і ўмовах\n"
- +" капі�ваньн�\n"
- +" --help надрукаваць г�ты �кран даведкі й вый�ьці\n"
- +" --version надрукаваць зьве�ткі аб в�р�іі праграмы й вый�ьці\n"
- +
- +#: src/main.c:263
- +msgid ""
- +"\n"
- +"Operation modes:\n"
- +" -v, --verbose explain sequence of steps and report progress\n"
- +" -q, --quiet, --silent inhibit messages about irreversible recodings\n"
- +" -f, --force force recodings even when not reversible\n"
- +" -t, --touch touch the recoded files after replacement\n"
- +" -i, --sequence=files use intermediate files for sequencing passes\n"
- +" --sequence=memory use memory buffers for sequencing passes\n"
- +msgstr ""
- +"\n"
- +"Р�жымы працы:\n"
- +" -v, --verbose інфармаваць пра па�ьл�доўна�ьць крокаў і \n"
- +" зьдзей�ьненую працу\n"
- +" -q, --quiet, --silent не паведамл�ць пра незваротны� перакадаваньні\n"
- +" -f, --force зьдз�й�ьн�ць перакадаваньне нават у выпадку\n"
- +" атрыманьн� незваротнага выніку\n"
- +" -t, --touch абнавіць ча� перакадаваных файлаў па�ьл� іх\n"
- +" замены\n"
- +" -i, --sequence=files ужываць ча�овы� файлы дл� працы\n"
- +" --sequence=memory ужываць буф�ры пам�ці дл� працы\n"
- +
- +#: src/main.c:275
- +msgid " -p, --sequence=pipe use pipe machinery for sequencing passes\n"
- +msgstr " -p, --sequence=pipe ужываць каналы пры апрацоўцы\n"
- +
- +#: src/main.c:280
- +msgid " -p, --sequence=pipe same as -i (on this system)\n"
- +msgstr " -p, --sequence=pipe анал�гічнае -i (на г�тай �ы�т�ме)\n"
- +
- +#: src/main.c:285
- +msgid ""
- +"\n"
- +"Fine tuning:\n"
- +" -s, --strict use strict mappings, even loose characters\n"
- +" -d, --diacritics convert only diacritics or alike for HTML/LaTeX\n"
- +" -S, --source[=LN] limit recoding to strings and comments as for LN\n"
- +" -c, --colons use colons instead of double quotes for diaeresis\n"
- +" -g, --graphics approximate IBMPC rulers by ASCII graphics\n"
- +" -x, --ignore=CHARSET ignore CHARSET while choosing a recoding path\n"
- +msgstr ""
- +"\n"
- +"Зьм�неньне парам�траў працы:\n"
- +" -s, --strict �трога� адпаведна�ьць, нават �а �тратай знакаў\n"
- +" -d, --diacritics канв�ртаваць толькі ды�крытычны� знакі, кшталту\n"
- +" ўжываных у HTML ці LaTeX\n"
- +" -S, --source[=МОВ�] перакадоўваць толькі радкі й кам�нтары МОВЫ\n"
- +" -c, --colons ужываць двухкроп'е заме�т двухко�ь�� ў ды�крытычных\n"
- +" знаках\n"
- +" -g, --graphics �праваць зам�ніць рамкі IBMPC знакамі ASCII\n"
- +" -x, --ignore=З��К�ЗБОРігнараваць З��К�ЗБОР, абіраючы шл�х кадаваньн�\n"
- +
- +#: src/main.c:296
- +msgid ""
- +"\n"
- +"Option -l with no FORMAT nor CHARSET list available charsets and surfaces.\n"
- +"FORMAT is `decimal', `octal', `hexadecimal' or `full' (or one of `dohf').\n"
- +msgstr ""
- +"\n"
- +"Опцы� -l без Ф�РМ�ТУ ні З��К�ЗБОРУ паказвае в�домы� табліцы знакаў і �по�абы\n"
- +"кадаваньн�.\n"
- +"Ф�РМ�Т -- `decimal', `octal', `hexadecimal' ці `full' (ці адзін з `dohf').\n"
- +
- +#: src/main.c:302
- +msgid ""
- +"Unless DEFAULT_CHARSET is set in environment, CHARSET defaults to the locale\n"
- +"dependent encoding, determined by LC_ALL, LC_CTYPE, LANG.\n"
- +msgstr ""
- +"Калі не атач�ньне н� мае у�талёўкі DEFAULT_CHARSET, то З��К�ЗБОРадпав�дае\n"
- +"кадзіроўцы л�калі, �ка� вызначаецца з LC_ALL, LC_CTYPE, LANG.\n"
- +
- +#: src/main.c:307
- +msgid ""
- +"With -k, possible before charsets are listed for the given after CHARSET,\n"
- +"both being tabular charsets, with PAIRS of the form `BEF1:AFT1,BEF2:AFT2,...'\n"
- +"and BEFs and AFTs being codes are given as decimal numbers.\n"
- +msgstr ""
- +"Опцы� -k адлю�троўвае магчымы� `зыходны�' знаказборы дл� зададзенага\n"
- +"`выніковага' З��К�ЗБОРУ, з П�Р�МІ перакадаваньн� ў фармаце Д�1:П�1,\n"
- +"Д�2:П�2,..., дзе Д� і П� зь�ўл�юцца кодамі, зададзенымі дзе��тковымі лікамі.\n"
- +"І зыходны�, і выніковы� знаказборы му��ць быць таблічнымі.\n"
- +
- +#: src/main.c:312
- +msgid "LN is some language, it may be `c', `perl' or `po'; `c' is the default.\n"
- +msgstr "МОВ� задае мову праграмаваньн�, прыкладам `c', `perl' ці `po'; даўн�та `c'.\n"
- +
- +#: src/main.c:315
- +msgid ""
- +"\n"
- +"REQUEST is SUBREQUEST[,SUBREQUEST]...; SUBREQUEST is ENCODING[..ENCODING]...\n"
- +"ENCODING is [CHARSET][/[SURFACE]]...; REQUEST often looks like BEFORE..AFTER,\n"
- +"with BEFORE and AFTER being charsets. An omitted CHARSET implies the usual\n"
- +"charset; an omitted [/SURFACE]... means the implied surfaces for CHARSET; a /\n"
- +"with an empty surface name means no surfaces at all. See the manual.\n"
- +msgstr ""
- +"\n"
- +"З�ПЫТ: П�ДЗ�ПЫТ[,П�ДЗ�ПЫТ]...; П�ДЗ�ПЫТ: К�ДЗІРОЎК�[..К�ДЗІРОЎК�]...;\n"
- +"К�ДЗІРОЎК�: [З��К�ЗБОР][/[СПОС�Б К�Д�В��Ь�Я]]...; З�ПЫТ ча�та выгл�дае\n"
- +"�к ПЕР�Д..П�СЬЛЯ, дзе ПЕР�Д і П�СЬЛЯ -- знаказборы. Заме�т прапушчанага\n"
- +"З��К�ЗБОРУ ужываецца даўн�ты знаказбор �ы�т�мы; заме�т прапушчанага\n"
- +"СПОС�БУ ўжываецца �по�аб, �тандартны дл� З��К�ЗБОР�; адзін / без зададзенага\n"
- +"СПОС�БУ азначае ад�утна�ьць СПОС�Б�Ў увогуле. Гл�дзі кіраўніцтва.\n"
- +
- +#: src/main.c:323
- +msgid ""
- +"\n"
- +"If none of -i and -p are given, presume -p if no FILE, else -i.\n"
- +"Each FILE is recoded over itself, destroying the original. If no\n"
- +"FILE is specified, then act as a filter and recode stdin to stdout.\n"
- +msgstr ""
- +"\n"
- +"Калі н� ўжыты� ані -i, ані -p, м�ркуецца -p, калі н� дадзены Ф�ЙЛ, ці -i у \n"
- +"адваротным выпадку.\n"
- +"Кожны Ф�ЙЛ перакадоўваецца паверх �амога ��бе, зьнішчаючы арыгінал. Калі Ф�ЙЛ\n"
- +"н� дадзены, то праграма працуе фільтрам і перакадоўвае з stdin на stdout.\n"
- +
- +#: src/main.c:329
- +msgid ""
- +"\n"
- +"Report bugs to <recode-bugs@iro.umontreal.ca>.\n"
- +msgstr ""
- +"\n"
- +"Паведамл�й пра памылкі на адра� <recode-bugs@iro.umontreal.ca>.\n"
- +
- +#: src/main.c:430
- +#, c-format
- +msgid "Sequence `%s' is ambiguous"
- +msgstr "Двух��н�оўна� па�ьл�доўна�ьць: `%s'"
- +
- +#: src/main.c:434
- +#, c-format
- +msgid "Sequence `%s' is unknown"
- +msgstr "�ев�дома� па�ьл�доўна�ьць: `%s'"
- +
- +#: src/main.c:464 src/main.c:522
- +#, c-format
- +msgid "Language `%s' is ambiguous"
- +msgstr "�ев�дома� мова: `%s'"
- +
- +#. -1
- +#: src/main.c:468 src/main.c:526
- +#, c-format
- +msgid "Language `%s' is unknown"
- +msgstr "�ев�дома� мова: `%s'"
- +
- +#: src/main.c:560
- +#, c-format
- +msgid "Format `%s' is ambiguous"
- +msgstr "Двух��н�оўны фармат: `%s'"
- +
- +#: src/main.c:564
- +#, c-format
- +msgid "Format `%s' is unknown"
- +msgstr "�ев�домы фармат: `%s'"
- +
- +#: src/main.c:621
- +msgid "Written by Franc,ois Pinard <pinard@iro.umontreal.ca>.\n"
- +msgstr "�апі�аў: Franc,ois Pinard <pinard@iro.umontreal.ca>.\n"
- +
- +#: src/main.c:624
- +msgid ""
- +"\n"
- +"Copyright (C) 1990, 92, 93, 94, 96, 97, 99 Free Software Foundation, Inc.\n"
- +msgstr ""
- +"\n"
- +"Copyright (C) 1990, 92, 93, 94, 96, 97, 99 Free Software Foundation, Inc.\n"
- +
- +#: src/main.c:628
- +msgid ""
- +"This is free software; see the source for copying conditions. There is NO\n"
- +"warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n"
- +msgstr ""
- +"Г�та �вабоднае праграмовае забе�ьп�ч�ньне; гл�дзі ўмовы капі�ваньн� ў\n"
- +"зыходным кодзе. ��ма �ІЯК�Е гарантыі, нават гарантыі К�ШТОЎ��СЬЦІ ці\n"
- +"ПРЫДÐ�ТÐ�Ð�СЬЦІ ДЛЯ КÐ�Ð�КРÐТÐ�Ð�Е ÐœÐТЫ.\n"
- +
- +#: src/main.c:669
- +#, c-format
- +msgid "Symbol `%s' is unknown"
- +msgstr "�ев�домы знак: `%s'"
- +
- +#: src/main.c:709 src/main.c:723
- +#, c-format
- +msgid "Charset `%s' is unknown or ambiguous"
- +msgstr "Знаказбор `%s' нев�домы ці двух��н�оўны"
- +
- +#: src/main.c:754
- +msgid "Required argument is missing"
- +msgstr "Прапушчаны патр�бны парам�тар"
- +
- +#: src/main.c:797
- +#, c-format
- +msgid "Syntax is deprecated, please prefer `%s'"
- +msgstr "Сынтак�ы� не найлепшы, ужывай, калі ла�ка, `%s'"
- +
- +#: src/main.c:803
- +#, c-format
- +msgid "Request `%s' is erroneous"
- +msgstr "Памылковы запыт: `%s'"
- +
- +#: src/main.c:903
- +#, c-format
- +msgid "Recoding %s..."
- +msgstr "Перакадаваньне %s..."
- +
- +#: src/main.c:913
- +msgid " done\n"
- +msgstr " зроблена\n"
- +
- +#: src/main.c:954
- +#, c-format
- +msgid " failed: %s in step `%s..%s'\n"
- +msgstr " н�ўдалае: %s у кроку `%s..%s'\n"
- +
- +#: src/main.c:961
- +#, c-format
- +msgid "%s failed: %s in step `%s..%s'"
- +msgstr "��ўдалае %s: %s у кроку `%s..%s'"
- +
- +#: src/main.c:984
- +#, c-format
- +msgid "%s in step `%s..%s'"
- +msgstr "%s у кроку `%s..%s'"
- +
- +#: src/names.c:335
- +#, c-format
- +msgid "Charset %s already exists and is not %s"
- +msgstr "Знаказбор %s ужо і�нуе і не зь�ўл�ецца %s"
- +
- +#: src/names.c:831
- +#, c-format
- +msgid "Cannot list `%s', no names available for this charset"
- +msgstr "�емагчыма адлю�траваць `%s', бо н�ма імёнаў дл� г�тага знаказбора"
- +
- +#. code counter
- +#. expected value for code counter
- +#. insert a while line before printing
- +#. Print the long table according to explode data.
- +#: src/names.c:984 src/names.c:1030
- +#, c-format
- +msgid "Dec Oct Hex UCS2 Mne %s\n"
- +msgstr "Дзе� Ва� Ша�н UCS2 Мн�ма %s\n"
- +
- +#: src/names.c:1049
- +#, c-format
- +msgid "Sorry, no names available for `%s'"
- +msgstr "�ажаль н�ма імёнаў дл� `%s'"
- +
- +#: src/outer.c:125
- +#, c-format
- +msgid "Resurfacer set more than once for `%s'"
- +msgstr "Прац�дура закадаваньн� ўжываецца ча�ьцей, �к адзін раз дл� `%s'"
- +
- +#: src/outer.c:133
- +#, c-format
- +msgid "Unsurfacer set more than once for `%s'"
- +msgstr "Прац�дура ра�кадаваньн� ўжываецца ча�ьцей, �к адзін раз дл� `%s'"
- +
- +#: src/recode.c:115 src/recode.c:127
- +msgid "Virtual memory exhausted"
- +msgstr "Скончыла�� віртуальна� пам�ць"
- +
- +#: src/recode.c:155
- +#, c-format, ycp-format
- +msgid "Codes %3d and %3d both recode to %3d"
- +msgstr "Коды %3d і %3d абодва кадуюцца ў %3d"
- +
- +#: src/recode.c:169
- +#, c-format, ycp-format
- +msgid "No character recodes to %3d"
- +msgstr "�іводзін знак не кадуецца ў %3d"
- +
- +#: src/recode.c:170
- +msgid "Cannot invert given one-to-one table"
- +msgstr "Зваротнае пераўтвар�ньне па дадзенай табліцы `адзін-у-адзін'"
- +
- +#: src/recode.c:224 src/recode.c:236
- +#, c-format
- +msgid "Following diagnostics for `%s' to `%s'"
- +msgstr "Ды�гно�тыка пераўтвар�ньн� з `%s' у `%s'"
- +
- +#: src/recode.c:229 src/recode.c:241
- +#, c-format
- +msgid "Pair no. %d: <%3d, %3d> conflicts with <%3d, %3d>"
- +msgstr "Пара нумар %d: <%3d, %3d> канфліктуе з <%3d, %3d>"
- +
- +#: src/recode.c:272
- +msgid "Cannot complete table from set of known pairs"
- +msgstr "�е магу ўтварыць табліцу з мно�тва в�домых пар"
- +
- +#: src/recode.c:497
- +msgid "Identity recoding, not worth a table"
- +msgstr "Про�тае перакадаваньне, �кому не патр�бна� табліца"
- +
- +#: src/recode.c:504
- +msgid "Recoding is too complex for a mere table"
- +msgstr "Перакадаваньне за�кладанае дл� про�тай табліцы"
- +
- +#. Print the header of the header file.
- +#: src/recode.c:536
- +#, c-format
- +msgid "%sConversion table generated mechanically by Free `%s' %s"
- +msgstr "%sТабліца перакадаваньн�, аўтаматычна �творана� з дапамогай GNU `%s' %s"
- +
- +#: src/recode.c:538
- +#, c-format
- +msgid "%sfor sequence %s.%s"
- +msgstr "%sдл� па�ьл�доўна�ьці %s.%s"
- +
- +#: src/recode.c:744
- +msgid "No table to print"
- +msgstr "��ма табліцы дл� друку"
- +
- +#: src/request.c:34
- +msgid "reversible"
- +msgstr "зваротна�"
- +
- +#: src/request.c:36
- +#, c-format
- +msgid "%s to %s"
- +msgstr "%s у %s"
- +
- +#: src/request.c:37 src/request.c:39
- +msgid "byte"
- +msgstr "байт"
- +
- +#: src/request.c:38 src/request.c:40
- +msgid "ucs2"
- +msgstr "ucs2"
- +
- +#: src/request.c:38 src/request.c:40
- +msgid "variable"
- +msgstr "пераменна�"
- +
- +#: src/request.c:111
- +msgid "*Unachievable*"
- +msgstr "*�еда��жна*"
- +
- +#: src/request.c:113
- +msgid "*mere copy*"
- +msgstr "*про�та� копі�*"
- +
- +#: src/request.c:246
- +msgid "Virtual memory exhausted!"
- +msgstr "Скончыла�� віртуальна� пам�ць!"
- +
- +#: src/request.c:265
- +msgid "Step initialisation failed"
- +msgstr "��ўдала� ініцы�лізацы� кроку"
- +
- +#: src/request.c:272
- +msgid "Step initialisation failed (unprocessed options)"
- +msgstr "��ўдала� ініцы�лізацы� кроку (неапрацаваны� опцыі)"
- +
- +#: src/request.c:568
- +#, c-format
- +msgid "Request: %s\n"
- +msgstr "Запыт: %s\n"
- +
- +#: src/request.c:720
- +#, c-format
- +msgid "Shrunk to: %s\n"
- +msgstr "Скарочаны да: %s\n"
- +
- +#: src/request.c:823 src/request.c:932
- +#, c-format
- +msgid "Unrecognised surface name `%s'"
- +msgstr "�ев�домае ім� �по�абу кадаваньн� `%s'"
- +
- +#: src/request.c:903
- +#, c-format
- +msgid "No way to recode from `%s' to `%s'"
- +msgstr "�емагчыма перакадаваць з `%s' у `%s'"
- +
- +#: src/request.c:1013
- +msgid "Expecting `..' in request"
- +msgstr "У запыце чакала�� `..'"
- +
- +#: src/task.c:826 src/task.c:1002
- +#, c-format
- +msgid "Child process wait status is 0x%0.2x"
- +msgstr "Стату� чаканьн� даччынага прац��у -- 0x%0.2x"
- +
- +#: src/testdump.c:298
- +msgid ""
- +"UCS2 Mne Description\n"
- +"\n"
- +msgstr ""
- +"UCS2 Мн�ма �пі�аньне\n"
- +"\n"
- --- recode-3.6.orig/i18n/ro.po
- +++ recode-3.6/i18n/ro.po
- @@ -0,0 +1,517 @@
- +# Mesajele în limba românã pentru pachetul recode.
- +# Copyright (C) 2003 Free Software Foundation, Inc.
- +# Eugen Hoanca <eugenh@urban-grafx.ro>, 2003.
- +#
- +msgid ""
- +msgstr ""
- +"Project-Id-Version: recode-3.6\n"
- +"POT-Creation-Date: 2001-01-02 22:35+0100\n"
- +"PO-Revision-Date: 2003-05-04 08:45+0300\n"
- +"Last-Translator: Eugen Hoanca <eugenh@urban-grafx.ro>\n"
- +"Language-Team: Romanian <translation-team-ro@lists.sourceforge.net>\n"
- +"MIME-Version: 1.0\n"
- +"Content-Type: text/plain; charset=ISO-8859-2\n"
- +"Content-Transfer-Encoding: 8bit\n"
- +"Plural-Forms: nplurals=2; plural=(n != 1);\n"
- +
- +#: src/main.c:142
- +msgid "No error"
- +msgstr "Nici o eroare"
- +
- +#: src/main.c:145
- +msgid "Non canonical input"
- +msgstr "Intrare(input) non canonicã"
- +
- +#: src/main.c:148
- +msgid "Ambiguous output"
- +msgstr "Output ambiguu"
- +
- +#: src/main.c:151
- +msgid "Untranslatable input"
- +msgstr "Intrare(input) intraductibilã"
- +
- +#: src/main.c:154
- +msgid "Invalid input"
- +msgstr "Input invalid"
- +
- +#: src/main.c:157
- +msgid "System detected problem"
- +msgstr "Sistemul a detectat o problemã"
- +
- +#: src/main.c:160
- +msgid "Misuse of recoding library"
- +msgstr "Folosire necorespunzãtoare a bibliotecii de recoding"
- +
- +#: src/main.c:163
- +msgid "Internal recoding bug"
- +msgstr "Bug intern de recoding"
- +
- +#: src/main.c:208
- +msgid ""
- +"This program is free software; you can redistribute it and/or modify\n"
- +"it under the terms of the GNU General Public License as published by\n"
- +"the Free Software Foundation; either version 2, or (at your option)\n"
- +"any later version.\n"
- +"\n"
- +"This program is distributed in the hope that it will be useful,\n"
- +"but WITHOUT ANY WARRANTY; without even the implied warranty of\n"
- +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n"
- +"GNU General Public License for more details.\n"
- +"\n"
- +"You should have received a copy of the GNU General Public License\n"
- +"along with this program; if not, write to the Free Software Foundation,\n"
- +"Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n"
- +msgstr ""
- +"Acest program este free software; puteþi sã-l redistribuiþi ºi/sau\n"
- +"modificaþi sub termenii Licenþei Publice Generale GNU publicatã de\n"
- +"Free Software Foundation; ori versiunea 2, sau (opþiunea dumneavoastrã)\n"
- +"orice versiune ulterioarã.\n"
- +"\n"
- +"Acest program este distribuit în speranþa cã va fi de folos,\n"
- +"dar FÃRÃ NICI O GARANÞIE; chiar fãrã presupusa garanþie a\n"
- +"VANDABILITÃÞII sau MODIFICÃRII PENTRU UN SCOP PRIVAT. Citiþi\n"
- +"Licenþa Publicã Generalã GNU pentru mai multe detalii.\n"
- +"\n"
- +"Ar fi trebuit sã fi primit o copie a Licenþei Publice Generale GNU\n"
- +"împreunã cu acest program; dacã nu, scrieþi la Free Software Foundation,\n"
- +"Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n"
- +
- +#: src/main.c:233
- +#, c-format
- +msgid "Try `%s %s' for more information.\n"
- +msgstr "Încercaþi `%s %s' pentru mai multe informaþii.\n"
- +
- +#: src/main.c:237
- +msgid "Free `recode' converts files between various character sets and surfaces.\n"
- +msgstr "`recode' este free ºi converteºte fiºiere între diferite seturi de caractere ºi înfãþiºãri(surfaces).\n"
- +
- +#: src/main.c:241
- +#, c-format
- +msgid ""
- +"\n"
- +"Usage: %s [OPTION]... [ [CHARSET] | REQUEST [FILE]... ]\n"
- +msgstr ""
- +"\n"
- +"Folosire: %s [OPÞIUNE]... [ [SET_CARACTERE] | CERERE [FIªIER]... ]\n"
- +
- +#: src/main.c:244
- +msgid ""
- +"\n"
- +"If a long option shows an argument as mandatory, then it is mandatory\n"
- +"for the equivalent short option also. Similarly for optional arguments.\n"
- +msgstr ""
- +"\n"
- +"Dacã o opþiune lungã afiºeazã un parametru obligatoriu, atunci este\n"
- +"obligatoriu ºi pentru opþiunea scurtã echivalentã. Similar ºi în cazul\n"
- +"parametrilor opþionali.\n"
- +
- +#: src/main.c:250
- +msgid ""
- +"\n"
- +"Listings:\n"
- +" -l, --list[=FORMAT] list one or all known charsets and aliases\n"
- +" -k, --known=PAIRS restrict charsets according to known PAIRS list\n"
- +" -h, --header[=[LN/]NAME] write table NAME on stdout using LN, then exit\n"
- +" -F, --freeze-tables write out a C module holding all tables\n"
- +" -T, --find-subsets report all charsets being subset of others\n"
- +" -C, --copyright display Copyright and copying conditions\n"
- +" --help display this help and exit\n"
- +" --version output version information and exit\n"
- +msgstr ""
- +"\n"
- +"Listãri:\n"
- +" -l, --list[=FORMAT] listeazã unul sau toate seturile de caractere ºi aliasurile cunoscute\n"
- +" -k, --known=PERECHI restricþioneaza seturile de caractere potrivit listei de PERECHIcunoscute\n"
- +" -h, --header[=[LN/]NUME] scrie tabelul NUME la stdout folosind LN, apoi terminã\n"
- +" -F, --freeze-tables scrie un modul C ce pãstreazã toate tabelele\n"
- +" -T, --find-subsets raporteazã toate seturile de caractere care sunt subseturi ale altora\n"
- +" -C, --copyright afiºeazã Copyright ºi condiþii de copiere\n"
- +" --help afiºeazã acest ajutor ºi terminã\n"
- +" --version afiºeazã informaþii versiune ºi terminã\n"
- +
- +#: src/main.c:263
- +msgid ""
- +"\n"
- +"Operation modes:\n"
- +" -v, --verbose explain sequence of steps and report progress\n"
- +" -q, --quiet, --silent inhibit messages about irreversible recodings\n"
- +" -f, --force force recodings even when not reversible\n"
- +" -t, --touch touch the recoded files after replacement\n"
- +" -i, --sequence=files use intermediate files for sequencing passes\n"
- +" --sequence=memory use memory buffers for sequencing passes\n"
- +msgstr ""
- +"\n"
- +"Moduri operaþie:\n"
- +" -v, --verbose explicã secvenþa de paºi ºi raporteazã desfãºurarea\n"
- +" -q, --quiet, --silent suprimã mesajele despre recodinguri ireversibile\n"
- +" -f, --force forþeazã recodingurile chiar ºi când nu sunt reversibile\n"
- +" -t, --touch efectueazã `touch' pe fiºierele recodate dupã înlocuire\n"
- +" -i, --sequence=files foloseºte fiºiere intermediare pentru treceri secvenþiale\n"
- +" --sequence=memory foloseºte bufferele de memorie pentru trecerile secvenþiale\n"
- +
- +#: src/main.c:275
- +msgid " -p, --sequence=pipe use pipe machinery for sequencing passes\n"
- +msgstr " -p, --sequence=pipe foloseºte mecanismul de `pipe' pentru treceri secvenþiale\n"
- +
- +#: src/main.c:280
- +msgid " -p, --sequence=pipe same as -i (on this system)\n"
- +msgstr " -p, --sequence=pipe la fel ca -i(pe acest system)\n"
- +
- +#: src/main.c:285
- +msgid ""
- +"\n"
- +"Fine tuning:\n"
- +" -s, --strict use strict mappings, even loose characters\n"
- +" -d, --diacritics convert only diacritics or alike for HTML/LaTeX\n"
- +" -S, --source[=LN] limit recoding to strings and comments as for LN\n"
- +" -c, --colons use colons instead of double quotes for diaeresis\n"
- +" -g, --graphics approximate IBMPC rulers by ASCII graphics\n"
- +" -x, --ignore=CHARSET ignore CHARSET while choosing a recoding path\n"
- +msgstr ""
- +"\n"
- +"Setãri de precizie(fine tuning):\n"
- +" -s, --strict foloseºte mapãri stricte, chiar dacã se pierd caractere\n"
- +" -d, --diacritics converteºte doar diacritice sau asemãnãtor pentru HTML/LaTeX\n"
- +" -S, --source[=LN] limiteazã recodinguri în ºiruri ºi comentarii ca pentru LN\n"
- +" -c, --colons foloseºte coloane în loc de ghilimele pentru diaeresis\n"
- +" -g, --graphics aproximeazã rigle(rulers) IBMPC prin graficã ASCII\n"
- +" -x, --ignore=SET_CARACTERE ignorã SET_CARACTERE în alegerea cãilor de recoding\n"
- +
- +#: src/main.c:296
- +msgid ""
- +"\n"
- +"Option -l with no FORMAT nor CHARSET list available charsets and surfaces.\n"
- +"FORMAT is `decimal', `octal', `hexadecimal' or `full' (or one of `dohf').\n"
- +msgstr ""
- +"\n"
- +"Opþiunea -l fãrã FORMAT sau SET_CARACTERE listeazã seturile de caractere ºi\n"
- +"înfãþiºãrile(surfaces) disponibile. FORMAT is `decimal', `octal',\n"
- +"`hexadecimal' sau `full' (sau unul din `dohf').\n"
- +
- +#: src/main.c:302
- +msgid ""
- +"Unless DEFAULT_CHARSET is set in environment, CHARSET defaults to the locale\n"
- +"dependent encoding, determined by LC_ALL, LC_CTYPE, LANG.\n"
- +msgstr ""
- +"Dacã DEFAULT_CHARSET nu este setat în mediu (environment) CHARSET va fi encodarea specificã\n"
- +"determinatã de LC_ALL, LC_CTYPE, LANG.\n"
- +
- +#: src/main.c:307
- +msgid ""
- +"With -k, possible before charsets are listed for the given after CHARSET,\n"
- +"both being tabular charsets, with PAIRS of the form `BEF1:AFT1,BEF2:AFT2,...'\n"
- +"and BEFs and AFTs being codes are given as decimal numbers.\n"
- +msgstr ""
- +"Cu -k, seturile de caractere posibile dinainte sunt listate dupã\n"
- +"SET_CARACTERE specificat, ambele fiind seturi de caractere tabulare,\n"
- +"cu PERECHI de forma `BEF1:AFT1,BEF2: AFT2,...'\n"
- +"unde BEF ºi AFT sunt coduri ce trebuie date ca numere zecimale.\n"
- +
- +#: src/main.c:312
- +msgid "LN is some language, it may be `c', `perl' or `po'; `c' is the default.\n"
- +msgstr "LN e un limbaj de programare, poate fi `c', `perl' sau `po'; `c' este implicit.\n"
- +
- +#: src/main.c:315
- +msgid ""
- +"\n"
- +"REQUEST is SUBREQUEST[,SUBREQUEST]...; SUBREQUEST is ENCODING[..ENCODING]...\n"
- +"ENCODING is [CHARSET][/[SURFACE]]...; REQUEST often looks like BEFORE..AFTER,\n"
- +"with BEFORE and AFTER being charsets. An omitted CHARSET implies the usual\n"
- +"charset; an omitted [/SURFACE]... means the implied surfaces for CHARSET; a /\n"
- +"with an empty surface name means no surfaces at all. See the manual.\n"
- +msgstr ""
- +"\n"
- +"CERERE(REQUEST) este SUBCERERE[,SUBCERERE]...; SUBCERERE este ENCODING[..ENCODING]...\n"
- +"ENCODING is [SET_CARACTERE][/[ÎNFÃÞIªARE]]...; CERERE se prezintã ca\n"
- +"PRECEDENT..ULTERIOR, cu PRECEDENT ºi ULTERIOR fiind seturi de caractere.\n"
- +"Un SET_CARACTERE omis sugereazã setul de caractere obiºnuit; o [/ÎNFÃÞIªARE]\n"
- +"omisã reprezintã infãþiºarea sugeratã pentru SET_CARACTERE; un /\n"
- +"fãrã nume de înfãþiºare înseamnã fãrã înfãþiºãri. Vedeþi manualul.\n"
- +
- +#: src/main.c:323
- +msgid ""
- +"\n"
- +"If none of -i and -p are given, presume -p if no FILE, else -i.\n"
- +"Each FILE is recoded over itself, destroying the original. If no\n"
- +"FILE is specified, then act as a filter and recode stdin to stdout.\n"
- +msgstr ""
- +"\n"
- +"Dacã nu sunt daþi nici unul dintre-i ºi -p, se presupune -p dacã nu FIªIER,\n"
- +"altfel -i. Fiecare FIªIER este recodat(recoded) peste sine, originalul\n"
- +"pierzându-se. Dacã nu este specificat FIªIER, atunci se comportã ca un\n"
- +"filtru ºi recodeazã stdin în stdout.\n"
- +
- +#: src/main.c:329
- +msgid ""
- +"\n"
- +"Report bugs to <recode-bugs@iro.umontreal.ca>.\n"
- +msgstr ""
- +"\n"
- +"Raportaþi bug-urile la <recode-bugs@iro.umontreal.ca>.\n"
- +
- +#: src/main.c:430
- +#, c-format
- +msgid "Sequence `%s' is ambiguous"
- +msgstr "Secvenþa `%s' este ambiguã"
- +
- +#: src/main.c:434
- +#, c-format
- +msgid "Sequence `%s' is unknown"
- +msgstr "Secvenþa `%s' nu este cunoscutã"
- +
- +#: src/main.c:464 src/main.c:522
- +#, c-format
- +msgid "Language `%s' is ambiguous"
- +msgstr "Limba `%s' este ambiguã"
- +
- +#. -1
- +#: src/main.c:468 src/main.c:526
- +#, c-format
- +msgid "Language `%s' is unknown"
- +msgstr "Limba `%s' nu este cunoscutã"
- +
- +#: src/main.c:560
- +#, c-format
- +msgid "Format `%s' is ambiguous"
- +msgstr "Formatul `%s' este ambiguu"
- +
- +#: src/main.c:564
- +#, c-format
- +msgid "Format `%s' is unknown"
- +msgstr "Formatul `%s' nu este cunoscut"
- +
- +#: src/main.c:621
- +msgid "Written by Franc,ois Pinard <pinard@iro.umontreal.ca>.\n"
- +msgstr "Scris de Franc,ois Pinard <pinard@iro.umontreal.ca>.\n"
- +
- +#: src/main.c:624
- +msgid ""
- +"\n"
- +"Copyright (C) 1990, 92, 93, 94, 96, 97, 99 Free Software Foundation, Inc.\n"
- +msgstr ""
- +"\n"
- +"Copyright (C) 1990, 92, 93, 94, 96, 97, 99 Free Software Foundation, Inc.\n"
- +
- +#: src/main.c:628
- +msgid ""
- +"This is free software; see the source for copying conditions. There is NO\n"
- +"warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n"
- +msgstr ""
- +"Acesta este free software; vedeþi sursele pentur condiþiile de copiere.\n"
- +"NU existã NICI o garanþie; nici mãcar pentru VANDABILITATE sau MODIFICARE\n"
- +"PENTRU UN SCOP PRIVAT.\n"
- +
- +#: src/main.c:669
- +#, c-format
- +msgid "Symbol `%s' is unknown"
- +msgstr "Simbolul `%s' nu este cunoscut"
- +
- +#: src/main.c:709 src/main.c:723
- +#, c-format
- +msgid "Charset `%s' is unknown or ambiguous"
- +msgstr "Setul de caractere `%s' nu este cunoscut sau este ambiguu"
- +
- +#: src/main.c:754
- +msgid "Required argument is missing"
- +msgstr "Lipseºte parametrul solicitat"
- +
- +#: src/main.c:797
- +#, c-format
- +msgid "Syntax is deprecated, please prefer `%s'"
- +msgstr "Sintaxã învechitã(deprecated), utilizaþi `%s'"
- +
- +#: src/main.c:803
- +#, c-format
- +msgid "Request `%s' is erroneous"
- +msgstr "Cererea `%s' este greºitã"
- +
- +#: src/main.c:903
- +#, c-format
- +msgid "Recoding %s..."
- +msgstr "Recodare %s..."
- +
- +#: src/main.c:913
- +msgid " done\n"
- +msgstr " finalizatã\n"
- +
- +#: src/main.c:954
- +#, c-format
- +msgid " failed: %s in step `%s..%s'\n"
- +msgstr " eºuatã: %s în pasul `%s..%s'\n"
- +
- +#: src/main.c:961
- +#, c-format
- +msgid "%s failed: %s in step `%s..%s'"
- +msgstr "%s a eºuat: %s în pasul `%s..%s'"
- +
- +#: src/main.c:984
- +#, c-format
- +msgid "%s in step `%s..%s'"
- +msgstr "%s în pasul `%s..%s'"
- +
- +#: src/names.c:335
- +#, c-format
- +msgid "Charset %s already exists and is not %s"
- +msgstr "Setul de caractere %s existã deja ºi nu este %s"
- +
- +#: src/names.c:831
- +#, c-format
- +msgid "Cannot list `%s', no names available for this charset"
- +msgstr "Nu se poate lista `%s', nici un nume disponibil pentru acest set de caractere"
- +
- +#. code counter
- +#. expected value for code counter
- +#. insert a while line before printing
- +#. Print the long table according to explode data.
- +#: src/names.c:984 src/names.c:1030
- +#, c-format
- +msgid "Dec Oct Hex UCS2 Mne %s\n"
- +msgstr "Zec Oct Hex UCS2 Mne %s\n"
- +
- +#: src/names.c:1049
- +#, c-format
- +msgid "Sorry, no names available for `%s'"
- +msgstr "Ne pare rãu, nici un nume disponibil pentru `%s'"
- +
- +#: src/outer.c:125
- +#, c-format
- +msgid "Resurfacer set more than once for `%s'"
- +msgstr "Schimbãtorul de înfãþiºãri(resurfacer) setat mai multe decât o datã pentru `%s'"
- +
- +#: src/outer.c:133
- +#, c-format
- +msgid "Unsurfacer set more than once for `%s'"
- +msgstr "Schimbãtorul de înfãþiºãri(unsurfacer) setat mai mult decât o datã pentru `%s'"
- +
- +#: src/recode.c:115 src/recode.c:127
- +msgid "Virtual memory exhausted"
- +msgstr "Memorie virtualã plinã"
- +
- +#: src/recode.c:155
- +#, c-format, ycp-format
- +msgid "Codes %3d and %3d both recode to %3d"
- +msgstr "Codurile %3d ºi %3d ambele recodate în %3d"
- +
- +#: src/recode.c:169
- +#, c-format, ycp-format
- +msgid "No character recodes to %3d"
- +msgstr "Nici un caracter recodat în %3d"
- +
- +#: src/recode.c:170
- +msgid "Cannot invert given one-to-one table"
- +msgstr "Nu se poate inversa tabela unu la unu datã"
- +
- +#: src/recode.c:224 src/recode.c:236
- +#, c-format
- +msgid "Following diagnostics for `%s' to `%s'"
- +msgstr "Se urmãresc diagnosticele pentru `%s' în `%s'"
- +
- +#: src/recode.c:229 src/recode.c:241
- +#, c-format
- +msgid "Pair no. %d: <%3d, %3d> conflicts with <%3d, %3d>"
- +msgstr "Perechea numãrul %d <%3d, %3d> în conflict cu <%3d, %3d>"
- +
- +#: src/recode.c:272
- +msgid "Cannot complete table from set of known pairs"
- +msgstr "Nu s-a putut completa tabelul din setul de perechi cunoscute"
- +
- +#: src/recode.c:497
- +msgid "Identity recoding, not worth a table"
- +msgstr "Recodare de identitate, nu necesitã tabel"
- +
- +#: src/recode.c:504
- +msgid "Recoding is too complex for a mere table"
- +msgstr "Recodarea este prea complexã pentru un tabel simplu"
- +
- +#. Print the header of the header file.
- +#: src/recode.c:536
- +#, c-format
- +msgid "%sConversion table generated mechanically by Free `%s' %s"
- +msgstr "%sTabelul de conversie generat mecanic de `%s' Free %s"
- +
- +#: src/recode.c:538
- +#, c-format
- +msgid "%sfor sequence %s.%s"
- +msgstr "%s pentru secvenþa %s.%s"
- +
- +#: src/recode.c:744
- +msgid "No table to print"
- +msgstr "Nu existã tabel de tipãrit"
- +
- +#: src/request.c:34
- +msgid "reversible"
- +msgstr "reversibil"
- +
- +#: src/request.c:36
- +#, c-format
- +msgid "%s to %s"
- +msgstr "%s în %s"
- +
- +#: src/request.c:37 src/request.c:39
- +msgid "byte"
- +msgstr "octet"
- +
- +#: src/request.c:38 src/request.c:40
- +msgid "ucs2"
- +msgstr "ucs2"
- +
- +#: src/request.c:38 src/request.c:40
- +msgid "variable"
- +msgstr "variabil(ã)"
- +
- +#: src/request.c:111
- +msgid "*Unachievable*"
- +msgstr "*Neîndeplinibil*"
- +
- +#: src/request.c:113
- +msgid "*mere copy*"
- +msgstr "*copiere-simplã*"
- +
- +#: src/request.c:246
- +msgid "Virtual memory exhausted!"
- +msgstr "Memorie virtualã plinã!"
- +
- +#: src/request.c:265
- +msgid "Step initialisation failed"
- +msgstr "Pas de iniþializare eºuat"
- +
- +#: src/request.c:272
- +msgid "Step initialisation failed (unprocessed options)"
- +msgstr "Pas de iniþializare eºuat (opþiuni neprocesate)"
- +
- +#: src/request.c:568
- +#, c-format
- +msgid "Request: %s\n"
- +msgstr "Cerere: %s\n"
- +
- +#: src/request.c:720
- +#, c-format
- +msgid "Shrunk to: %s\n"
- +msgstr "Micºorat la: %s\n"
- +
- +#: src/request.c:823 src/request.c:932
- +#, c-format
- +msgid "Unrecognised surface name `%s'"
- +msgstr "Nume înfãþiºare necunoscut: `%s'"
- +
- +#: src/request.c:903
- +#, c-format
- +msgid "No way to recode from `%s' to `%s'"
- +msgstr "Nici o ºansã de recodare din `%s' în `%s'"
- +
- +#: src/request.c:1013
- +msgid "Expecting `..' in request"
- +msgstr "Se aºteaptã `..' în cerere"
- +
- +#: src/task.c:826 src/task.c:1002
- +#, c-format
- +msgid "Child process wait status is 0x%0.2x"
- +msgstr "Starea de aºteptare a procesului derivat(child) este 0x%0.2x"
- +
- +#: src/testdump.c:298
- +msgid ""
- +"UCS2 Mne Description\n"
- +"\n"
- +msgstr ""
- +"UCS2 Mne Descriere\n"
- +"\n"
- --- recode-3.6.orig/i18n/ca.po
- +++ recode-3.6/i18n/ca.po
- @@ -0,0 +1,578 @@
- +# Catalan translation of GNU recode.
- +# Copyright © 2002, 2003 Free Software Foundation, Inc.
- +# Jordi Mallach <jordi@gnu.org>, 2002, 2003.
- +#
- +msgid ""
- +msgstr ""
- +"Project-Id-Version: recode 3.6\n"
- +"POT-Creation-Date: 2001-01-02 22:35+0100\n"
- +"PO-Revision-Date: 2003-08-30 16:48+0200\n"
- +"Last-Translator: Jordi Mallach <jordi@gnu.org>\n"
- +"Language-Team: Catalan <ca@dodds.net>\n"
- +"MIME-Version: 1.0\n"
- +"Content-Type: text/plain; charset=ISO-8859-1\n"
- +"Content-Transfer-Encoding: 8bit\n"
- +"X-Generator: KBabel 0.9.6\n"
- +
- +#: src/main.c:142
- +msgid "No error"
- +msgstr "No hi ha cap error"
- +
- +#: src/main.c:145
- +msgid "Non canonical input"
- +msgstr "L'entrada no és canònica"
- +
- +#: src/main.c:148
- +msgid "Ambiguous output"
- +msgstr "L'eixida és ambigua"
- +
- +#: src/main.c:151
- +msgid "Untranslatable input"
- +msgstr "L'entrada no és convertible"
- +
- +#: src/main.c:154
- +msgid "Invalid input"
- +msgstr "L'entrada és invàlida"
- +
- +#: src/main.c:157
- +msgid "System detected problem"
- +msgstr "El sistema ha detectat un problema"
- +
- +# El verb "to misuse" vol dir "desaprofitar" o també "fer mal ús". Crec
- +# que en aquest cas la traducció més correcta seria: "Mal ús de la
- +# biblioteca de recodificació" o, si es prefereix, "Ús incorrecte de
- +# la biblioteca de recodificació". mvs
- +# Bé, les teues frases són en "indi", que diem Ivan i jo...
- +# es a dir, no són frases completes. No veig massa diferència entre
- +# «Ús incorrecte de la biblioteca de recodificació» i la forma que he
- +# fet servir jo... jm
- +#: src/main.c:160
- +msgid "Misuse of recoding library"
- +msgstr "L'ús de la biblioteca de recodificació és incorrecte"
- +
- +#: src/main.c:163
- +msgid "Internal recoding bug"
- +msgstr "S'ha produït un error intern de recodificació"
- +
- +#: src/main.c:208
- +msgid ""
- +"This program is free software; you can redistribute it and/or modify\n"
- +"it under the terms of the GNU General Public License as published by\n"
- +"the Free Software Foundation; either version 2, or (at your option)\n"
- +"any later version.\n"
- +"\n"
- +"This program is distributed in the hope that it will be useful,\n"
- +"but WITHOUT ANY WARRANTY; without even the implied warranty of\n"
- +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n"
- +"GNU General Public License for more details.\n"
- +"\n"
- +"You should have received a copy of the GNU General Public License\n"
- +"along with this program; if not, write to the Free Software Foundation,\n"
- +"Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n"
- +msgstr ""
- +"Açò és programari lliure; podeu redistribuir-lo i/o modificar-lo\n"
- +"sota els termes de la Llicència Pública General GNU tal i com ha estat\n"
- +"publicada per la Free Software Foundation; bé sota la versió 2 de la\n"
- +"Llicència o bé (si ho preferiu) sota qualsevol versió posterior.\n"
- +"\n"
- +"Aquest programa es distribueix amb l'expectativa de que serà útil,\n"
- +"però SENSE CAP GARANTIA; ni tan sols la garantia implícita de\n"
- +"COMERCIABILITAT o ADEQUACIÓ PER UN PROPÒSIT PARTICULAR. Vegeu la\n"
- +"Llicència Pública General GNU per obtenir-ne més detalls.\n"
- +"\n"
- +"Hauríeu d'haver rebut una còpia de la Llicència Pública General GNU\n"
- +"juntament amb aquest programa; en cas contrari, escriviu a la Free\n"
- +"Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,\n"
- +"MA 02111, USA.\n"
- +
- +#: src/main.c:233
- +#, c-format
- +msgid "Try `%s %s' for more information.\n"
- +msgstr "Proveu «%s %s» per a obtindre més informació.\n"
- +
- +# On posa "entre varios", açò no és un castellanisme?.
- +# Em sembla que seria més correcte posar "diversos" en voltes de "varios". mvs
- +# I tant... jm
- +#: src/main.c:237
- +msgid "Free `recode' converts files between various character sets and surfaces.\n"
- +msgstr "El «recode» lliure converteix fitxers entre diversos jocs de caràcters i superfícies.\n"
- +
- +#: src/main.c:241
- +#, c-format
- +msgid ""
- +"\n"
- +"Usage: %s [OPTION]... [ [CHARSET] | REQUEST [FILE]... ]\n"
- +msgstr ""
- +"\n"
- +"Forma d'ús: %s [OPCIÓ]... [ [JOC DE CARÀCTERS] | PETICIÓ [FITXER]... ]\n"
- +
- +# Aquest programa s'executa en terminal o en un
- +# servidor x?. Si és per a una terminal potser caldria respectar
- +# un salt de línia fins la columna núm. 70. S'edita el missatge
- +# a un editor de textos que aplique salt de línia automàticament,
- +# i el copiem al programa traductor (si feu servir kbabel, no
- +# oblideu d'afegir "\n" al final de cada línia). mvs
- +# Sí, és en mode text, i corregit. El kbabel us fa ficar el salt
- +# de línia a ma? Què mal... :) jm
- +#: src/main.c:244
- +msgid ""
- +"\n"
- +"If a long option shows an argument as mandatory, then it is mandatory\n"
- +"for the equivalent short option also. Similarly for optional arguments.\n"
- +msgstr ""
- +"\n"
- +"Si una opció llarga mostra un argument com requerit, aleshores també és\n"
- +"requerit per a l'opció curta equivalent, i de forma similar per als\n"
- +"arguments opcionals.\n"
- +
- +# Que tal si traduim "copyright", per "drets reservats"?.
- +# També on posa "copying conditions", ¿això no vol dir
- +# "condicions de l'autor" en voltes de "condicions de còpia"? mvs
- +# «copyright» != «drets reservats», això seria «all rights reserved»
- +# o similar. Crec que «copying conditions» és l'evident: «condicions
- +# de còpia». El tema de traduir o no «copyright» s'ha discutit alguna
- +# vegada si no recorde mal, i sempre s'ha preferit no traduir-ho. jm
- +#: src/main.c:250
- +msgid ""
- +"\n"
- +"Listings:\n"
- +" -l, --list[=FORMAT] list one or all known charsets and aliases\n"
- +" -k, --known=PAIRS restrict charsets according to known PAIRS list\n"
- +" -h, --header[=[LN/]NAME] write table NAME on stdout using LN, then exit\n"
- +" -F, --freeze-tables write out a C module holding all tables\n"
- +" -T, --find-subsets report all charsets being subset of others\n"
- +" -C, --copyright display Copyright and copying conditions\n"
- +" --help display this help and exit\n"
- +" --version output version information and exit\n"
- +msgstr ""
- +"\n"
- +"Llistats:\n"
- +" -l, --list[=FORMAT] llista un o tots els jocs de caràcters i àlies\n"
- +" coneguts\n"
- +" -k, --known=PARELLES limita els jocs de caràcters d'acord amb la\n"
- +" llista de PARELLES conegudes\n"
- +" -h, --header=[={LN/}NOM} mostra la taula NOM a l'eixida estàndard\n"
- +" utilitzant LN, i surt a continuació\n"
- +" -F, --freeze-tables mostra un mòdul de C contenint totes les taules\n"
- +" -T, --find-subsets informa de tots els jocs de caràcters que són\n"
- +" subconjunts d'altres\n"
- +" -C, --copyright mostra el Copyright i les condicions de còpia\n"
- +" --help mostra aquesta ajuda i ix\n"
- +" --version mostra la informació sobre la versió i ix\n"
- +
- +# Una "passa" no és un "pas". "Passa" es un sinònim de
- +# epidèmia. Per tant, hauria de posar-se "passos" i no "passes".
- +# Concretant:
- +# "step" és "pas" ("passos") o "iteració"
- +# "pass" és "passi" ("passis"), sinònim de permís
- +# ("cinema session pass" = "passi de sessió de cinema"). mvs
- +# Uff. Aquesta errada l'arrossegue en altres traduccions, aleshores.
- +# Caldrà fer una bonica sessió de greps. jm
- +#: src/main.c:263
- +msgid ""
- +"\n"
- +"Operation modes:\n"
- +" -v, --verbose explain sequence of steps and report progress\n"
- +" -q, --quiet, --silent inhibit messages about irreversible recodings\n"
- +" -f, --force force recodings even when not reversible\n"
- +" -t, --touch touch the recoded files after replacement\n"
- +" -i, --sequence=files use intermediate files for sequencing passes\n"
- +" --sequence=memory use memory buffers for sequencing passes\n"
- +msgstr ""
- +"\n"
- +"Modes d'operació:\n"
- +" -v, --verbose explica la seqüència de passos i informa del progrés\n"
- +" -q, --quiet, --silent inhabilita els missatges sobre recodificacions\n"
- +" irreversibles\n"
- +" -f, --force força les recodificacions inclús si són irreversibles\n"
- +" -t, --touch toca els fitxers recodificats després del reemplaç\n"
- +" -i, --sequence=files utilitza fitxers intermedis per als passos\n"
- +" --sequence=memory utilitza búfers de memòria per als passos\n"
- +
- +# Vegeu la mateixa observació que vaig fer al missatge núm 15. mvs
- +#: src/main.c:275
- +msgid " -p, --sequence=pipe use pipe machinery for sequencing passes\n"
- +msgstr ""
- +" -p, --sequence=pipe utilitza conductes per als passos de\n"
- +" seqüències\n"
- +
- +#: src/main.c:280
- +msgid " -p, --sequence=pipe same as -i (on this system)\n"
- +msgstr " -p, --sequence=pipe el mateix que -i (en aquest sistema)\n"
- +
- +# A l'opció "-g" has obviat la paraula "rules", que
- +# voldria dir "normes". Així, "IBMPC rulers" voldria dir
- +# "normes IBMPC", encara que no estic del tot segur. mvs
- +# No, he traduït «rules» per «gràfics». Es refereix als caràcters
- +# amb els que es dibuixen les caixetes i tal. jm
- +#: src/main.c:285
- +msgid ""
- +"\n"
- +"Fine tuning:\n"
- +" -s, --strict use strict mappings, even loose characters\n"
- +" -d, --diacritics convert only diacritics or alike for HTML/LaTeX\n"
- +" -S, --source[=LN] limit recoding to strings and comments as for LN\n"
- +" -c, --colons use colons instead of double quotes for diaeresis\n"
- +" -g, --graphics approximate IBMPC rulers by ASCII graphics\n"
- +" -x, --ignore=CHARSET ignore CHARSET while choosing a recoding path\n"
- +msgstr ""
- +"\n"
- +"Ajustament afinat:\n"
- +" -s, --strict utilitza coincidències estrictes, encara que es\n"
- +" perden caràcters\n"
- +" -d, --diacritics converteix només els accents o pareguts per a\n"
- +" HTML/LaTeX\n"
- +" -S, --source[=LN] limita la recodificació a cadenes i comentaris\n"
- +" segons LN\n"
- +" -c, --colons utilitza dos punts en comptes de cometes dobles\n"
- +" per a la dièresis\n"
- +" -g, --graphics aproxima els gràfics IBMPC amb gràfics ASCII\n"
- +" -x, --ignore=JOC descarta JOC al escollir un camí de recodificació\n"
- +
- +# "L'opció "-l" sense cap FORMAT ni JOC DE CARACTERS llista..." mvs
- +# Fet. jm
- +#: src/main.c:296
- +msgid ""
- +"\n"
- +"Option -l with no FORMAT nor CHARSET list available charsets and surfaces.\n"
- +"FORMAT is `decimal', `octal', `hexadecimal' or `full' (or one of `dohf').\n"
- +msgstr ""
- +"\n"
- +"L'opció -l sense cap FORMAT o JOC DE CARÀCTERS llista els jocs de caràcters\n"
- +"i facetes disponibles. FORMAT és «decimal», «octal», «hexadecimal» o «full»\n"
- +"(o un de «dohf»).\n"
- +
- +# "... de la que depén...", això és un castellanisme.
- +# El correcte és dir: "... de la qual depèn...", o
- +# "... de què depèn...", (ull!: amb laccent tancat). mvs
- +# Oops. Volia haver ficat «de la qual». jm
- +#: src/main.c:302
- +msgid ""
- +"Unless DEFAULT_CHARSET is set in environment, CHARSET defaults to the locale\n"
- +"dependent encoding, determined by LC_ALL, LC_CTYPE, LANG.\n"
- +msgstr ""
- +"A no ser que s'establisca DEFAULT_CHARSET a l'entorn, el valor\n"
- +"predeterminat de CHARSET és la codificació de la qual depen el locale,\n"
- +"determinat per LC_ALL, LC_CTYPE, LANG.\n"
- +
- +#: src/main.c:307
- +msgid ""
- +"With -k, possible before charsets are listed for the given after CHARSET,\n"
- +"both being tabular charsets, with PAIRS of the form `BEF1:AFT1,BEF2:AFT2,...'\n"
- +"and BEFs and AFTs being codes are given as decimal numbers.\n"
- +msgstr ""
- +"Amb -k, es mostren els possibles jocs de caràcters «abans» per al JOC\n"
- +"«després» donat, sent ambdós jocs de caràcters tabulars, amb PARELLES de la\n"
- +"forma «ABAN1:DESP1,ABAN2:DESP2,...» i sent els ABAN i DESP codis donats com\n"
- +"números decimals.\n"
- +
- +#: src/main.c:312
- +msgid "LN is some language, it may be `c', `perl' or `po'; `c' is the default.\n"
- +msgstr "LN és un llenguatge, pot ser «c», «perl» o «po; «c» és el predeterminat.\n"
- +
- +#: src/main.c:315
- +msgid ""
- +"\n"
- +"REQUEST is SUBREQUEST[,SUBREQUEST]...; SUBREQUEST is ENCODING[..ENCODING]...\n"
- +"ENCODING is [CHARSET][/[SURFACE]]...; REQUEST often looks like BEFORE..AFTER,\n"
- +"with BEFORE and AFTER being charsets. An omitted CHARSET implies the usual\n"
- +"charset; an omitted [/SURFACE]... means the implied surfaces for CHARSET; a /\n"
- +"with an empty surface name means no surfaces at all. See the manual.\n"
- +msgstr ""
- +"\n"
- +"PETICIÓ és SUBPETICIÓ[,SUBPETICIÓ]...;\n"
- +"SUBPETICIÓ és CODIFICACIÓ[..CODIFICACIÓ]...\n"
- +"CODIFICACIÓ és [JOC DE CARÀCTERS[/[FACETA]]...;\n"
- +"PETICIÓ sovint és ABANS..DESPRÉS,\n"
- +"amb ABANS i DESPRÉS sent jocs de caràcters. Un JOC DE CARÀCTERS omés\n"
- +"implica el joc de caràcters habitual; una [/FACETA] omesa vol dir la faceta\n"
- +"implícita per al JOC DE CARÀCTERS; un / amb una faceta buida vol dir que no\n"
- +"hi ha faceta. Vegeu el manual.\n"
- +
- +#: src/main.c:323
- +msgid ""
- +"\n"
- +"If none of -i and -p are given, presume -p if no FILE, else -i.\n"
- +"Each FILE is recoded over itself, destroying the original. If no\n"
- +"FILE is specified, then act as a filter and recode stdin to stdout.\n"
- +msgstr ""
- +"\n"
- +"Si no es dona cap de -i i -p, es suposa -p si no hi ha cap FITXER, si no, -i.\n"
- +"Cada FITXER es recodifica damunt d'ell mateix, destruïnt l'original. Si no\n"
- +"s'especifica cap FITXER, aleshores actua com un filtre i recodifica\n"
- +"l'entrada estàndard a l'eixida estàndard.\n"
- +
- +#: src/main.c:329
- +msgid ""
- +"\n"
- +"Report bugs to <recode-bugs@iro.umontreal.ca>.\n"
- +msgstr ""
- +"\n"
- +"Informeu dels errors a <recode-bugs@iro.umontreal.ca>.\n"
- +
- +#: src/main.c:430
- +#, c-format
- +msgid "Sequence `%s' is ambiguous"
- +msgstr "La seqüència «%s» és ambígua"
- +
- +#: src/main.c:434
- +#, c-format
- +msgid "Sequence `%s' is unknown"
- +msgstr "La seqüència «%s» és desconeguda"
- +
- +#: src/main.c:464 src/main.c:522
- +#, c-format
- +msgid "Language `%s' is ambiguous"
- +msgstr "El llenguatge «%s» és ambigu"
- +
- +#. -1
- +#: src/main.c:468 src/main.c:526
- +#, c-format
- +msgid "Language `%s' is unknown"
- +msgstr "El llenguatge «%s» és desconegut"
- +
- +#: src/main.c:560
- +#, c-format
- +msgid "Format `%s' is ambiguous"
- +msgstr "El format «%s» és ambigu"
- +
- +#: src/main.c:564
- +#, c-format
- +msgid "Format `%s' is unknown"
- +msgstr "El format «%s» és desconegut"
- +
- +#: src/main.c:621
- +msgid "Written by Franc,ois Pinard <pinard@iro.umontreal.ca>.\n"
- +msgstr "Escrit per François Pinard <pinard@iro.umontreal.ca>.\n"
- +
- +#: src/main.c:624
- +msgid ""
- +"\n"
- +"Copyright (C) 1990, 92, 93, 94, 96, 97, 99 Free Software Foundation, Inc.\n"
- +msgstr ""
- +"\n"
- +"Copyright © 1990, 92, 93, 94, 96, 97, 99 Free Software Foundation, Inc.\n"
- +
- +#: src/main.c:628
- +msgid ""
- +"This is free software; see the source for copying conditions. There is NO\n"
- +"warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n"
- +msgstr ""
- +"Açò és Programari Lliure; vegeu el codi font per les condicions de\n"
- +"còpia. NO hi ha CAP garantia; ni tan sols de COMERCIABILITAT o ADEQUACIÓ\n"
- +"PER UN PROPÒSIT DETERMINAT.\n"
- +
- +#: src/main.c:669
- +#, c-format
- +msgid "Symbol `%s' is unknown"
- +msgstr "El símbol «%s» és desconegut"
- +
- +#: src/main.c:709 src/main.c:723
- +#, c-format
- +msgid "Charset `%s' is unknown or ambiguous"
- +msgstr "El joc de caràcters «%s» és desconegut o ambigu"
- +
- +#: src/main.c:754
- +msgid "Required argument is missing"
- +msgstr "Manca un argument requerit"
- +
- +#: src/main.c:797
- +#, c-format
- +msgid "Syntax is deprecated, please prefer `%s'"
- +msgstr "Aquesta sintaxi és desaconsellada, si us plau, utilitzeu «%s»"
- +
- +#: src/main.c:803
- +#, c-format
- +msgid "Request `%s' is erroneous"
- +msgstr "La petició «%s» és errònia"
- +
- +#: src/main.c:903
- +#, c-format
- +msgid "Recoding %s..."
- +msgstr "S'està recodificant %s..."
- +
- +#: src/main.c:913
- +msgid " done\n"
- +msgstr " fet\n"
- +
- +#: src/main.c:954
- +#, c-format
- +msgid " failed: %s in step `%s..%s'\n"
- +msgstr " ha fallat: %s al pas «%s..%s»\n"
- +
- +#: src/main.c:961
- +#, c-format
- +msgid "%s failed: %s in step `%s..%s'"
- +msgstr "%s ha fallat: %s al pas «%s..%s»"
- +
- +#: src/main.c:984
- +#, c-format
- +msgid "%s in step `%s..%s'"
- +msgstr "%s al pas «%s..%s»"
- +
- +#: src/names.c:335
- +#, c-format
- +msgid "Charset %s already exists and is not %s"
- +msgstr "El joc de caràcters %s ja existeix i no és %s"
- +
- +#: src/names.c:831
- +#, c-format
- +msgid "Cannot list `%s', no names available for this charset"
- +msgstr ""
- +"No es pot llistar «%s», no hi ha noms disponibles per a aquest\n"
- +"joc de caràcters"
- +
- +#. code counter
- +#. expected value for code counter
- +#. insert a while line before printing
- +#. Print the long table according to explode data.
- +#: src/names.c:984 src/names.c:1030
- +#, c-format
- +msgid "Dec Oct Hex UCS2 Mne %s\n"
- +msgstr "Dec Oct Hex UCS2 Mne %s\n"
- +
- +#: src/names.c:1049
- +#, c-format
- +msgid "Sorry, no names available for `%s'"
- +msgstr "No hi ha noms disponibles per a «%s»"
- +
- +#: src/outer.c:125
- +#, c-format
- +msgid "Resurfacer set more than once for `%s'"
- +msgstr "S'ha establert «resurfacer» més d'una vegada per a «%s»"
- +
- +#: src/outer.c:133
- +#, c-format
- +msgid "Unsurfacer set more than once for `%s'"
- +msgstr "S'ha establert «unsurfacer» més d'una vegada per a «%s»"
- +
- +#: src/recode.c:115 src/recode.c:127
- +msgid "Virtual memory exhausted"
- +msgstr "La memòria virtual s'ha exhaurit"
- +
- +#: src/recode.c:155
- +#, c-format, ycp-format
- +msgid "Codes %3d and %3d both recode to %3d"
- +msgstr "Els codis %3d i %3d es recodifiquen ambdós a %3d"
- +
- +#: src/recode.c:169
- +#, c-format, ycp-format
- +msgid "No character recodes to %3d"
- +msgstr "Cap caràcter es recodifica a %3d"
- +
- +#: src/recode.c:170
- +msgid "Cannot invert given one-to-one table"
- +msgstr "No es pot invertir la taula un-a-un donada"
- +
- +#: src/recode.c:224 src/recode.c:236
- +#, c-format
- +msgid "Following diagnostics for `%s' to `%s'"
- +msgstr "S'estan seguint els diagnòstics per «%s» a «%s»"
- +
- +#: src/recode.c:229 src/recode.c:241
- +#, c-format
- +msgid "Pair no. %d: <%3d, %3d> conflicts with <%3d, %3d>"
- +msgstr "La parella no. %d: <%3d, %3d> és conflictiu amb <%3d, %3d>"
- +
- +#: src/recode.c:272
- +msgid "Cannot complete table from set of known pairs"
- +msgstr "No es pot completar la taula des del joc de parelles conegudes"
- +
- +#: src/recode.c:497
- +msgid "Identity recoding, not worth a table"
- +msgstr "Recodificació identitat, no mereix una taula"
- +
- +#: src/recode.c:504
- +msgid "Recoding is too complex for a mere table"
- +msgstr "La recodificació és massa complexa per a una simple taula"
- +
- +#. Print the header of the header file.
- +#: src/recode.c:536
- +#, c-format
- +msgid "%sConversion table generated mechanically by Free `%s' %s"
- +msgstr "%sTaula de conversió generada mecànicament per Free «%s» %s"
- +
- +#: src/recode.c:538
- +#, c-format
- +msgid "%sfor sequence %s.%s"
- +msgstr "%sper la seqüència %s.%s"
- +
- +#: src/recode.c:744
- +msgid "No table to print"
- +msgstr "No hi ha cap taula a imprimir"
- +
- +#: src/request.c:34
- +msgid "reversible"
- +msgstr "reversible"
- +
- +#: src/request.c:36
- +#, c-format
- +msgid "%s to %s"
- +msgstr "%s a %s"
- +
- +#: src/request.c:37 src/request.c:39
- +msgid "byte"
- +msgstr "byte"
- +
- +#: src/request.c:38 src/request.c:40
- +msgid "ucs2"
- +msgstr "ucs2"
- +
- +#: src/request.c:38 src/request.c:40
- +msgid "variable"
- +msgstr "variable"
- +
- +#: src/request.c:111
- +msgid "*Unachievable*"
- +msgstr "*Impossible*"
- +
- +#: src/request.c:113
- +msgid "*mere copy*"
- +msgstr "*simple còpia*"
- +
- +#: src/request.c:246
- +msgid "Virtual memory exhausted!"
- +msgstr "La memòria virtual s'ha exhaurit!"
- +
- +#: src/request.c:265
- +msgid "Step initialisation failed"
- +msgstr "L'inicialització del pas ha fallat"
- +
- +#: src/request.c:272
- +msgid "Step initialisation failed (unprocessed options)"
- +msgstr "L'inicialització del pas ha fallat (opcions no processades)"
- +
- +#: src/request.c:568
- +#, c-format
- +msgid "Request: %s\n"
- +msgstr "Petició: %s\n"
- +
- +#: src/request.c:720
- +#, c-format
- +msgid "Shrunk to: %s\n"
- +msgstr "Encogit a: %s\n"
- +
- +#: src/request.c:823 src/request.c:932
- +#, c-format
- +msgid "Unrecognised surface name `%s'"
- +msgstr "El nom de faceta «%s» és desconegut"
- +
- +#: src/request.c:903
- +#, c-format
- +msgid "No way to recode from `%s' to `%s'"
- +msgstr "No hi ha manera de recodificar de «%s» a «%s»"
- +
- +#: src/request.c:1013
- +msgid "Expecting `..' in request"
- +msgstr "S'esperava «..» a la petició"
- +
- +#: src/task.c:826 src/task.c:1002
- +#, c-format
- +msgid "Child process wait status is 0x%0.2x"
- +msgstr "L'estat d'espera del procés fill és 0x%0.2x"
- +
- +#: src/testdump.c:298
- +msgid ""
- +"UCS2 Mne Description\n"
- +"\n"
- +msgstr "UCS2 Mne Descripció\n"
- --- recode-3.6.orig/i18n/es.po
- +++ recode-3.6/i18n/es.po
- @@ -1,12 +1,12 @@
- -# Mensajes en español para GNU recode.
- -# Copyright (C) 1999 Free Software Foundation, Inc.
- -# Santiago Vila Doncel <sanvila@unex.es>, 1999.
- +# Mensajes en español para Free recode.
- +# Copyright (C) 1999, 2001, 2002 Free Software Foundation, Inc.
- +# Santiago Vila Doncel <sanvila@unex.es>, 1999, 2001, 2002.
- #
- msgid ""
- msgstr ""
- -"Project-Id-Version: GNU recode 3.4r\n"
- +"Project-Id-Version: Free recode 3.6\n"
- "POT-Creation-Date: 2001-01-02 22:35+0100\n"
- -"PO-Revision-Date: 1999-05-21 18:45+0200\n"
- +"PO-Revision-Date: 2002-09-17 00:28+0200\n"
- "Last-Translator: Santiago Vila Doncel <sanvila@unex.es>\n"
- "Language-Team: Spanish <es@li.org>\n"
- "MIME-Version: 1.0\n"
- @@ -83,13 +83,9 @@
- msgid "Try `%s %s' for more information.\n"
- msgstr "Pruebe `%s %s' para más información.\n"
-
- -# FUZZY. GNU/Free.
- #: src/main.c:237
- -msgid ""
- -"Free `recode' converts files between various character sets and surfaces.\n"
- -msgstr ""
- -"GNU `recode' convierte ficheros entre varios juegos de caracteres y "
- -"facetas.\n"
- +msgid "Free `recode' converts files between various character sets and surfaces.\n"
- +msgstr "Free `recode' convierte ficheros entre varios juegos de caracteres y facetas.\n"
-
- #: src/main.c:241
- #, c-format
- @@ -112,13 +108,11 @@
- "argumentos opcionales.\n"
-
- #: src/main.c:250
- -#, fuzzy
- msgid ""
- "\n"
- "Listings:\n"
- " -l, --list[=FORMAT] list one or all known charsets and aliases\n"
- -" -k, --known=PAIRS restrict charsets according to known PAIRS "
- -"list\n"
- +" -k, --known=PAIRS restrict charsets according to known PAIRS list\n"
- " -h, --header[=[LN/]NAME] write table NAME on stdout using LN, then exit\n"
- " -F, --freeze-tables write out a C module holding all tables\n"
- " -T, --find-subsets report all charsets being subset of others\n"
- @@ -128,18 +122,15 @@
- msgstr ""
- "\n"
- "Listados:\n"
- -" -l, --list[=FORMATO] muestra uno o todos los juegos conocidos\n"
- -" -k, --known=PARES restringe los juegos de acuerdo con la lista "
- -"de\n"
- +" -l, --list[=FORMATO] muestra uno o todos los juegos y alias conocidos\n"
- +" -k, --known=PARES restringe los juegos de acuerdo con la lista de\n"
- " PARES conocidos\n"
- " -h, --header[=[LN/]NOMBRE escribe la tabla NOMBRE en la salida estándar\n"
- " usando LN, y finaliza\n"
- " -F, --freeze-tables escribe un módulo en C con todas las tablas\n"
- -" -T, --find-subsets informa acerca de todos los juegos de "
- -"caracteres\n"
- +" -T, --find-subsets informa acerca de todos los juegos de caracteres\n"
- " que son subconjuntos de otros\n"
- -" -C, --copyright muestra el Copyright y las condiciones de "
- -"copia\n"
- +" -C, --copyright muestra el Copyright y las condiciones de copia\n"
- " --help muestra esta ayuda y finaliza\n"
- " --version muestra la versión y finaliza\n"
-
- @@ -156,13 +147,10 @@
- msgstr ""
- "\n"
- "Modos de operación:\n"
- -" -v, --verbose explica la sucesión de pasos e informa del "
- -"desarrollo\n"
- -" -q, --quiet, --silent no muestra mensajes sobre conversiones "
- -"irreversibles\n"
- +" -v, --verbose explica la sucesión de pasos e informa del desarrollo\n"
- +" -q, --quiet, --silent no muestra mensajes sobre conversiones irreversibles\n"
- " -f, --force realiza la conversión incluso si no es reversible\n"
- -" -t, --touch toca los ficheros convertidos después del "
- -"reemplazo\n"
- +" -t, --touch toca los ficheros convertidos después del reemplazo\n"
- " -i, --sequence=files utiliza ficheros intermedios para las pasadas\n"
- " --sequence=memory utiliza búfers en memoria para las pasadas\n"
-
- @@ -196,15 +184,11 @@
- msgstr ""
- "\n"
- "Ajuste `fino':\n"
- -" -s, --strict utiliza correspondencias estrictas, aunque se "
- -"pierdan\n"
- +" -s, --strict utiliza correspondencias estrictas, aunque se pierdan\n"
- " caracteres\n"
- -" -d, --diacritics convierte solamente acentos y demás para "
- -"HTML/LaTeX\n"
- -" -S, --source[=LN] limita la conversión a cadenas y comentarios según "
- -"LN\n"
- -" -c, --colons utiliza dos puntos en vez de comillas para "
- -"diéresis\n"
- +" -d, --diacritics convierte solamente acentos y demás para HTML/LaTeX\n"
- +" -S, --source[=LN] limita la conversión a cadenas y comentarios según LN\n"
- +" -c, --colons utiliza dos puntos en vez de comillas para diéresis\n"
- " -g, --graphics aproxima gráficos IBMPC mediante gráficos ASCII\n"
- " -x, --ignore=JUEGO descarta JUEGO al escoger un camino de conversión\n"
-
- @@ -215,61 +199,51 @@
- "FORMAT is `decimal', `octal', `hexadecimal' or `full' (or one of `dohf').\n"
- msgstr ""
- "\n"
- -"La opción -l sin FORMATO ni JUEGO muestra los juegos de caracteres y "
- -"facetas.\n"
- -"disponibles. FORMATO es `decimal', `octal', `hexadecimal' o `full' (o uno "
- -"de\n"
- +"La opción -l sin FORMATO ni JUEGO muestra los juegos de caracteres y facetas.\n"
- +"disponibles. FORMATO es `decimal', `octal', `hexadecimal' o `full' (o uno de\n"
- "entre `dohf').\n"
-
- #: src/main.c:302
- -#, fuzzy
- msgid ""
- -"Unless DEFAULT_CHARSET is set in environment, CHARSET defaults to the "
- -"locale\n"
- +"Unless DEFAULT_CHARSET is set in environment, CHARSET defaults to the locale\n"
- "dependent encoding, determined by LC_ALL, LC_CTYPE, LANG.\n"
- msgstr ""
- -"A menos que se establezca DEFAULT_CHARSET en el entorno,\n"
- -"CHARSET es `%s' por omisión.\n"
- +"A menos que se establezca DEFAULT_CHARSET en el entorno, el valor\n"
- +"predeterminado de CHARSET es la codificación de la que depende el locale,\n"
- +"determinada por LC_ALL, LC_CTYPE, LANG.\n"
-
- #: src/main.c:307
- msgid ""
- "With -k, possible before charsets are listed for the given after CHARSET,\n"
- -"both being tabular charsets, with PAIRS of the form "
- -"`BEF1:AFT1,BEF2:AFT2,...'\n"
- +"both being tabular charsets, with PAIRS of the form `BEF1:AFT1,BEF2:AFT2,...'\n"
- "and BEFs and AFTs being codes are given as decimal numbers.\n"
- msgstr ""
- -"Con -k, se muestran los posibles juegos `antes' para el JUEGO `después' "
- -"dado,\n"
- +"Con -k, se muestran los posibles juegos `antes' para el JUEGO `después' dado,\n"
- "siendo ambos juegos de caracteres tabulares, con PAREJAS de la forma\n"
- "`ANT1:DES1,ANT2:DES2,...' y siendo los ANTs y los DESs códigos dados\n"
- "como números decimales.\n"
-
- #: src/main.c:312
- -msgid ""
- -"LN is some language, it may be `c', `perl' or `po'; `c' is the default.\n"
- +msgid "LN is some language, it may be `c', `perl' or `po'; `c' is the default.\n"
- msgstr ""
- -"LN es algún lenguage, puede ser `c', `perl' o `po', el valor predeterminado\n"
- +"LN es algún lenguaje, puede ser `c', `perl' o `po', el valor predeterminado\n"
- "es `c'\n"
-
- # FIXME: [SURFACE]... means the usual surfaces or the usual surface?
- #: src/main.c:315
- msgid ""
- "\n"
- -"REQUEST is SUBREQUEST[,SUBREQUEST]...; SUBREQUEST is "
- -"ENCODING[..ENCODING]...\n"
- -"ENCODING is [CHARSET][/[SURFACE]]...; REQUEST often looks like "
- -"BEFORE..AFTER,\n"
- +"REQUEST is SUBREQUEST[,SUBREQUEST]...; SUBREQUEST is ENCODING[..ENCODING]...\n"
- +"ENCODING is [CHARSET][/[SURFACE]]...; REQUEST often looks like BEFORE..AFTER,\n"
- "with BEFORE and AFTER being charsets. An omitted CHARSET implies the usual\n"
- -"charset; an omitted [/SURFACE]... means the implied surfaces for CHARSET; a "
- -"/\n"
- +"charset; an omitted [/SURFACE]... means the implied surfaces for CHARSET; a /\n"
- "with an empty surface name means no surfaces at all. See the manual.\n"
- msgstr ""
- "\n"
- "PETICIÓN es SUBPETICIÓN[,SUBPETICIÓN]...;\n"
- "SUBPETICIÓN es CODIFICACIÓN[..CODIFICACIÓN]...\n"
- "CODIFICACIÓN es [JUEGO][/[FACETA]]...; PETICIÓN suele ser ANTES..DESPUÉS,\n"
- -"donde ANTES y DESPUÉS son juegos de caracteres. Un JUEGO omitido implica "
- -"el\n"
- +"donde ANTES y DESPUÉS son juegos de caracteres. Un JUEGO omitido implica el\n"
- "juego de caracteres usual; una [/FACETA]... omitida significa la faceta\n"
- "implícita para el JUEGO; una / con una faceta vacía significa que no hay\n"
- "ninguna faceta. Véase el manual.\n"
- @@ -284,8 +258,7 @@
- "\n"
- "Si no se especifica ninguna de las opciones -i ó -p, se supone -p si no\n"
- "hay ningún FICHERO, o si no, -i. Cada FICHERO se convierte sobre sí mismo,\n"
- -"destruyendo el original. Si no es especifica ningún FICHERO, entonces "
- -"funciona\n"
- +"destruyendo el original. Si no es especifica ningún FICHERO, entonces funciona\n"
- "como filtro y convierte la entrada estándar en la salida estándar.\n"
-
- #: src/main.c:329
- @@ -294,46 +267,43 @@
- "Report bugs to <recode-bugs@iro.umontreal.ca>.\n"
- msgstr ""
- "\n"
- -"Comunicar `bugs' a <recode-bugs@iro.umontreal.ca>.\n"
- +"Comunicar bichos a <recode-bugs@iro.umontreal.ca>.\n"
-
- #: src/main.c:430
- #, c-format
- msgid "Sequence `%s' is ambiguous"
- -msgstr ""
- +msgstr "La sucesión `%s' es ambigua"
-
- #: src/main.c:434
- #, c-format
- msgid "Sequence `%s' is unknown"
- -msgstr ""
- +msgstr "La sucesión `%s' es desconocida"
-
- #: src/main.c:464 src/main.c:522
- #, c-format
- msgid "Language `%s' is ambiguous"
- -msgstr ""
- +msgstr "El idioma `%s' es ambiguo"
-
- #. -1
- #: src/main.c:468 src/main.c:526
- #, c-format
- msgid "Language `%s' is unknown"
- -msgstr ""
- +msgstr "El idioma `%s' es desconocido"
-
- #: src/main.c:560
- #, c-format
- msgid "Format `%s' is ambiguous"
- -msgstr ""
- +msgstr "El formato `%s' es ambiguo"
-
- #: src/main.c:564
- #, c-format
- msgid "Format `%s' is unknown"
- -msgstr ""
- +msgstr "El formato `%s' es desconocido"
-
- # Se entiende que los usuarios españoles sí tendrán iso-8859-1.
- #: src/main.c:621
- -#, fuzzy
- msgid "Written by Franc,ois Pinard <pinard@iro.umontreal.ca>.\n"
- -msgstr ""
- -"\n"
- -"Escrito por François Pinard <pinard@iro.umontreal.ca>.\n"
- +msgstr "Escrito por François Pinard <pinard@iro.umontreal.ca>.\n"
-
- # FIXME: Añadir 1998 (?).
- #: src/main.c:624
- @@ -356,26 +326,26 @@
- #: src/main.c:669
- #, c-format
- msgid "Symbol `%s' is unknown"
- -msgstr ""
- +msgstr "El símbolo `%s' es desconocido"
-
- #: src/main.c:709 src/main.c:723
- #, c-format
- msgid "Charset `%s' is unknown or ambiguous"
- -msgstr ""
- +msgstr "El juego de caracteres `%s' es desconocido o ambiguo"
-
- #: src/main.c:754
- msgid "Required argument is missing"
- -msgstr ""
- +msgstr "Falta el argumento requerido"
-
- #: src/main.c:797
- -#, fuzzy, c-format
- +#, c-format
- msgid "Syntax is deprecated, please prefer `%s'"
- -msgstr "Sintaxis antigua, por favor utilice `%s'"
- +msgstr "La sintaxis es antigua, por favor utilice `%s'"
-
- #: src/main.c:803
- #, c-format
- msgid "Request `%s' is erroneous"
- -msgstr ""
- +msgstr "La petición `%s' es errónea"
-
- #: src/main.c:903
- #, c-format
- @@ -387,19 +357,19 @@
- msgstr " hecho\n"
-
- #: src/main.c:954
- -#, fuzzy, c-format
- +#, c-format
- msgid " failed: %s in step `%s..%s'\n"
- -msgstr " falló: %s en %s..%s\n"
- +msgstr " falló: %s en el paso %s..%s\n"
-
- #: src/main.c:961
- -#, fuzzy, c-format
- +#, c-format
- msgid "%s failed: %s in step `%s..%s'"
- -msgstr "%s falló: %s en %s..%s"
- +msgstr "%s falló: %s en el paso %s..%s"
-
- #: src/main.c:984
- -#, fuzzy, c-format
- +#, c-format
- msgid "%s in step `%s..%s'"
- -msgstr "%s en %s..%s"
- +msgstr "%s en el paso %s..%s"
-
- #: src/names.c:335
- #, c-format
- @@ -472,8 +442,7 @@
-
- #: src/recode.c:272
- msgid "Cannot complete table from set of known pairs"
- -msgstr ""
- -"No se puede completar la tabla a partir del conjunto de pares conocidos"
- +msgstr "No se puede completar la tabla a partir del conjunto de pares conocidos"
-
- #: src/recode.c:497
- msgid "Identity recoding, not worth a table"
- @@ -491,7 +460,7 @@
- #: src/recode.c:536
- #, c-format
- msgid "%sConversion table generated mechanically by Free `%s' %s"
- -msgstr "%sTabla de conversión generada automáticamente por GNU %s %s"
- +msgstr "%sTabla de conversión generada automáticamente por Free `%s' %s"
-
- #: src/recode.c:538
- #, c-format
- @@ -500,7 +469,7 @@
-
- #: src/recode.c:744
- msgid "No table to print"
- -msgstr "No hay tabla que mostrar"
- +msgstr "No hay ninguna tabla que mostrar"
-
- #: src/request.c:34
- msgid "reversible"
- @@ -580,32 +549,6 @@
- "UCS2 Nem Descripción\n"
- "\n"
-
- -#~ msgid "CHARSET has no default, define DEFAULT_CHARSET in the environment.\n"
- -#~ msgstr ""
- -#~ "CHARSET no tiene ningún valor predeterminado, defina DEFAULT_CHARSET en el\n"
- -#~ "entorno.\n"
- -
- -#~ msgid "Ambiguous sequence `%s'"
- -#~ msgstr "Sucesión ambigua `%s'"
- -
- -#~ msgid "Unknown sequence `%s'"
- -#~ msgstr "Sucesión desconocida `%s'"
- -
- -#~ msgid "Ambiguous language `%s'"
- -#~ msgstr "Idioma ambiguo `%s'"
- -
- -#~ msgid "Unknown language `%s'"
- -#~ msgstr "Idioma desconocido `%s'"
- -
- -#~ msgid "Ambiguous format `%s'"
- -#~ msgstr "Formato ambiguo `%s'"
- -
- -#~ msgid "Unknown format `%s'"
- -#~ msgstr "Formato desconocido `%s'"
- -
- -#~ msgid "Erroneous request `%s'"
- -#~ msgstr "Petición errónea `%s'"
- -
- # Este es difícil. Se admiten sugerencias.
- # Especialmente de alguien que conozca bien el programa.
- # Creo que "stats" en este caso es abreviatura de "statistics"
- @@ -730,12 +673,10 @@
- #~ "FORMAT is a word among decimal, octal, hexadecimal or full (which may be\n"
- #~ "abbreviated to one of `dohf'), it defaults to just the canonical name.\n"
- #~ "With -k, possible before charsets are listed for the given after CHARSET,\n"
- -#~ "both being RFC1345 charsets, with PAIRS of the form "
- -#~ "`BEF1:AFT1,BEF2:AFT2,...\n"
- +#~ "both being RFC1345 charsets, with PAIRS of the form `BEF1:AFT1,BEF2:AFT2,...\n"
- #~ "and BEFs and AFTs being codes. All codes are given as decimal numbers.\n"
- #~ msgstr ""
- -#~ "Los argumentos obligatorios u opcionales para las opciones largas también "
- -#~ "son\n"
- +#~ "Los argumentos obligatorios u opcionales para las opciones largas también son\n"
- #~ "obligatorios u opcionales para las opciones cortas.\n"
- #~ "\n"
- #~ " -C, --copyright muestra el Copyright y la condiciones de copia\n"
- @@ -749,8 +690,7 @@
- #~ "\n"
- #~ "FORMATO es la palabra decimal, octal, hexadecimal o full (que se pueden\n"
- #~ "abreviar por una de las letras `dohf'), por omisión el nombre canónico.\n"
- -#~ "Con -k, se muestran los posibles juegos \"antes\" para el JUEGO \"después\" "
- -#~ "dado,\n"
- +#~ "Con -k, se muestran los posibles juegos \"antes\" para el JUEGO \"después\" dado,\n"
- #~ "siendo ambos juegos RFC1345, con PARES de la forma `ANT1:DES1,ANT2:DES2,...\n"
- #~ "donde los ANTs y los DESs son códigos. Todos los códigos se dan en decimal\n"
-
- @@ -762,8 +702,7 @@
- # "Mis juegos favoritos (y los de Pinard :-) son..."
- #
- #~ msgid ""
- -#~ "Option -l with no FORMAT nor CHARSET list all charsets, also see the "
- -#~ "Texinfo\n"
- +#~ "Option -l with no FORMAT nor CHARSET list all charsets, also see the Texinfo\n"
- #~ "documentation. My preferred charsets are (each user has preferences):\n"
- #~ "\n"
- #~ " ascii-bs ASCII (7-bit), using backspace to apply diacritics\n"
- @@ -772,10 +711,8 @@
- #~ " latin1 ISO Latin-1 8-bit extension of ASCII\n"
- #~ " texte Easy French convention for transmitting email messages\n"
- #~ msgstr ""
- -#~ "La opción -l sin FORMATO ni JUEGO muestra todos los juegos, véase también "
- -#~ "la\n"
- -#~ "documentación de Texinfo. Mis juegos favoritos son (cada uno tendrá los "
- -#~ "suyos):\n"
- +#~ "La opción -l sin FORMATO ni JUEGO muestra todos los juegos, véase también la\n"
- +#~ "documentación de Texinfo. Mis juegos favoritos son (cada uno tendrá los suyos):\n"
- #~ "\n"
- #~ " ascii-bs ASCII (7-bit), utilizando backspace para acentos y demás\n"
- #~ " ibmpc IBM-PC (8-bit), con retornos de carro adecuados\n"
- @@ -805,8 +742,7 @@
- # De momento no veo qué de malo tiene "pasada".
- # Si acaso, que modernamente tenga otros significados ("¡es una pasada!" :-).
- #
- -#~ msgid ""
- -#~ " -o, --sequence=popen use popen machinery for sequencing passes\n"
- +#~ msgid " -o, --sequence=popen use popen machinery for sequencing passes\n"
- #~ msgstr " -o, --sequence=popen utiliza popen para las pasadas\n"
-
- #~ msgid " -o, --sequence=popen same as -i (on this system)\n"
- @@ -867,8 +803,5 @@
- #~ msgid "Mere copy for the trivial recoding\n"
- #~ msgstr "Copia pura y simple para la conversión trivial\n"
-
- -#~ msgid "UNACHIEVABLE recoding!\n"
- -#~ msgstr "¡Conversión IMPOSIBLE!\n"
- -
- #~ msgid "You may not explicitly recode from RFC 1345"
- #~ msgstr "No se puede convertir explícitamente a partir de RFC 1345"
- --- recode-3.6.orig/aclocal.m4
- +++ recode-3.6/aclocal.m4
- @@ -1,6 +1,6 @@
- -dnl aclocal.m4 generated automatically by aclocal 1.4
- +dnl aclocal.m4 generated automatically by aclocal 1.4-p6
-
- -dnl Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
- +dnl Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
- dnl This file is free software; the Free Software Foundation
- dnl gives unlimited permission to copy and/or distribute it,
- dnl with or without modifications, as long as this notice is preserved.
- @@ -10,81 +10,73 @@
- dnl even the implied warranty of MERCHANTABILITY or FITNESS FOR A
- dnl PARTICULAR PURPOSE.
-
- +# libtool.m4 - Configure libtool for the host system. -*-Shell-script-*-
-
- -# serial 40 AC_PROG_LIBTOOL
- -AC_DEFUN(AC_PROG_LIBTOOL,
- -[AC_REQUIRE([AC_LIBTOOL_SETUP])dnl
- -
- -# Save cache, so that ltconfig can load it
- -AC_CACHE_SAVE
- +# serial 46 AC_PROG_LIBTOOL
- +# Debian $Rev: 50 $
-
- -# Actually configure libtool. ac_aux_dir is where install-sh is found.
- -CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
- -LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
- -LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" \
- -DLLTOOL="$DLLTOOL" AS="$AS" OBJDUMP="$OBJDUMP" \
- -${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
- -$libtool_flags --no-verify $ac_aux_dir/ltmain.sh $lt_target \
- -|| AC_MSG_ERROR([libtool configure failed])
- -
- -# Reload cache, that may have been modified by ltconfig
- -AC_CACHE_LOAD
- +AC_DEFUN([AC_PROG_LIBTOOL],
- +[AC_REQUIRE([AC_LIBTOOL_SETUP])dnl
-
- # This can be used to rebuild libtool when needed
- -LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh"
- +LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
-
- # Always use our own libtool.
- LIBTOOL='$(SHELL) $(top_builddir)/libtool'
- AC_SUBST(LIBTOOL)dnl
-
- -# Redirect the config.log output again, so that the ltconfig log is not
- -# clobbered by the next message.
- -exec 5>>./config.log
- +# Prevent multiple expansion
- +define([AC_PROG_LIBTOOL], [])
- ])
-
- -AC_DEFUN(AC_LIBTOOL_SETUP,
- +AC_DEFUN([AC_LIBTOOL_SETUP],
- [AC_PREREQ(2.13)dnl
- AC_REQUIRE([AC_ENABLE_SHARED])dnl
- AC_REQUIRE([AC_ENABLE_STATIC])dnl
- AC_REQUIRE([AC_ENABLE_FAST_INSTALL])dnl
- AC_REQUIRE([AC_CANONICAL_HOST])dnl
- AC_REQUIRE([AC_CANONICAL_BUILD])dnl
- -AC_REQUIRE([AC_PROG_RANLIB])dnl
- AC_REQUIRE([AC_PROG_CC])dnl
- AC_REQUIRE([AC_PROG_LD])dnl
- +AC_REQUIRE([AC_PROG_LD_RELOAD_FLAG])dnl
- AC_REQUIRE([AC_PROG_NM])dnl
- +AC_REQUIRE([LT_AC_PROG_SED])dnl
- +
- AC_REQUIRE([AC_PROG_LN_S])dnl
- +AC_REQUIRE([AC_DEPLIBS_CHECK_METHOD])dnl
- +AC_REQUIRE([AC_OBJEXT])dnl
- +AC_REQUIRE([AC_EXEEXT])dnl
- dnl
-
- -case "$target" in
- -NONE) lt_target="$host" ;;
- -*) lt_target="$target" ;;
- +_LT_AC_PROG_ECHO_BACKSLASH
- +# Only perform the check for file, if the check method requires it
- +case $deplibs_check_method in
- +file_magic*)
- + if test "$file_magic_cmd" = '$MAGIC_CMD'; then
- + AC_PATH_MAGIC
- + fi
- + ;;
- esac
-
- -# Check for any special flags to pass to ltconfig.
- -libtool_flags="--cache-file=$cache_file"
- -test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
- -test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
- -test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
- -test "$ac_cv_prog_gcc" = yes && libtool_flags="$libtool_flags --with-gcc"
- -test "$ac_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
- -ifdef([AC_PROVIDE_AC_LIBTOOL_DLOPEN],
- -[libtool_flags="$libtool_flags --enable-dlopen"])
- +AC_CHECK_TOOL(RANLIB, ranlib, :)
- +AC_CHECK_TOOL(STRIP, strip, :)
- +
- +ifdef([AC_PROVIDE_AC_LIBTOOL_DLOPEN], enable_dlopen=yes, enable_dlopen=no)
- ifdef([AC_PROVIDE_AC_LIBTOOL_WIN32_DLL],
- -[libtool_flags="$libtool_flags --enable-win32-dll"])
- +enable_win32_dll=yes, enable_win32_dll=no)
- +
- AC_ARG_ENABLE(libtool-lock,
- [ --disable-libtool-lock avoid locking (might break parallel builds)])
- -test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
- -test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
- +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
-
- # Some flags need to be propagated to the compiler or linker for good
- # libtool support.
- -case "$lt_target" in
- +case $host in
- *-*-irix6*)
- # Find out which ABI we are using.
- echo '[#]line __oline__ "configure"' > conftest.$ac_ext
- if AC_TRY_EVAL(ac_compile); then
- - case "`/usr/bin/file conftest.o`" in
- + case `/usr/bin/file conftest.$ac_objext` in
- *32-bit*)
- LD="${LD-ld} -32"
- ;;
- @@ -104,41 +96,2884 @@
- SAVE_CFLAGS="$CFLAGS"
- CFLAGS="$CFLAGS -belf"
- AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,
- - [AC_TRY_LINK([],[],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])])
- + [AC_LANG_SAVE
- + AC_LANG_C
- + AC_TRY_LINK([],[],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])
- + AC_LANG_RESTORE])
- if test x"$lt_cv_cc_needs_belf" != x"yes"; then
- # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
- CFLAGS="$SAVE_CFLAGS"
- fi
- ;;
-
- -ifdef([AC_PROVIDE_AC_LIBTOOL_WIN32_DLL],
- -[*-*-cygwin* | *-*-mingw*)
- - AC_CHECK_TOOL(DLLTOOL, dlltool, false)
- - AC_CHECK_TOOL(AS, as, false)
- - AC_CHECK_TOOL(OBJDUMP, objdump, false)
- - ;;
- -])
- -esac
- -])
- +ifdef([AC_PROVIDE_AC_LIBTOOL_WIN32_DLL],
- +[*-*-cygwin* | *-*-mingw* | *-*-pw32*)
- + AC_CHECK_TOOL(DLLTOOL, dlltool, false)
- + AC_CHECK_TOOL(AS, as, false)
- + AC_CHECK_TOOL(OBJDUMP, objdump, false)
- +
- + # recent cygwin and mingw systems supply a stub DllMain which the user
- + # can override, but on older systems we have to supply one
- + AC_CACHE_CHECK([if libtool should supply DllMain function], lt_cv_need_dllmain,
- + [AC_TRY_LINK([],
- + [extern int __attribute__((__stdcall__)) DllMain(void*, int, void*);
- + DllMain (0, 0, 0);],
- + [lt_cv_need_dllmain=no],[lt_cv_need_dllmain=yes])])
- +
- + case $host/$CC in
- + *-*-cygwin*/gcc*-mno-cygwin*|*-*-mingw*)
- + # old mingw systems require "-dll" to link a DLL, while more recent ones
- + # require "-mdll"
- + SAVE_CFLAGS="$CFLAGS"
- + CFLAGS="$CFLAGS -mdll"
- + AC_CACHE_CHECK([how to link DLLs], lt_cv_cc_dll_switch,
- + [AC_TRY_LINK([], [], [lt_cv_cc_dll_switch=-mdll],[lt_cv_cc_dll_switch=-dll])])
- + CFLAGS="$SAVE_CFLAGS" ;;
- + *-*-cygwin* | *-*-pw32*)
- + # cygwin systems need to pass --dll to the linker, and not link
- + # crt.o which will require a WinMain@16 definition.
- + lt_cv_cc_dll_switch="-Wl,--dll -nostartfiles" ;;
- + esac
- + ;;
- + ])
- +esac
- +
- +_LT_AC_LTCONFIG_HACK
- +
- +])
- +
- +# AC_LIBTOOL_HEADER_ASSERT
- +# ------------------------
- +AC_DEFUN([AC_LIBTOOL_HEADER_ASSERT],
- +[AC_CACHE_CHECK([whether $CC supports assert without backlinking],
- + [lt_cv_func_assert_works],
- + [case $host in
- + *-*-solaris*)
- + if test "$GCC" = yes && test "$with_gnu_ld" != yes; then
- + case `$CC --version 2>/dev/null` in
- + [[12]].*) lt_cv_func_assert_works=no ;;
- + *) lt_cv_func_assert_works=yes ;;
- + esac
- + fi
- + ;;
- + esac])
- +
- +if test "x$lt_cv_func_assert_works" = xyes; then
- + AC_CHECK_HEADERS(assert.h)
- +fi
- +])# AC_LIBTOOL_HEADER_ASSERT
- +
- +# _LT_AC_CHECK_DLFCN
- +# --------------------
- +AC_DEFUN([_LT_AC_CHECK_DLFCN],
- +[AC_CHECK_HEADERS(dlfcn.h)
- +])# _LT_AC_CHECK_DLFCN
- +
- +# AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
- +# ---------------------------------
- +AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE],
- +[AC_REQUIRE([AC_CANONICAL_HOST])
- +AC_REQUIRE([AC_PROG_NM])
- +AC_REQUIRE([AC_OBJEXT])
- +# Check for command to grab the raw symbol name followed by C symbol from nm.
- +AC_MSG_CHECKING([command to parse $NM output])
- +AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe], [dnl
- +
- +# These are sane defaults that work on at least a few old systems.
- +# [They come from Ultrix. What could be older than Ultrix?!! ;)]
- +
- +# Character class describing NM global symbol codes.
- +symcode='[[BCDEGRST]]'
- +
- +# Regexp to match symbols that can be accessed directly from C.
- +sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)'
- +
- +# Transform the above into a raw symbol and a C symbol.
- +symxfrm='\1 \2\3 \3'
- +
- +# Transform an extracted symbol line into a proper C declaration
- +lt_cv_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern char \1;/p'"
- +
- +# Transform an extracted symbol line into symbol name and symbol address
- +lt_cv_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
- +
- +# Define system-specific variables.
- +case $host_os in
- +aix*)
- + symcode='[[BCDT]]'
- + ;;
- +cygwin* | mingw* | pw32*)
- + symcode='[[ABCDGISTW]]'
- + ;;
- +hpux*) # Its linker distinguishes data from code symbols
- + lt_cv_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern char \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
- + lt_cv_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
- + ;;
- +irix* | nonstopux*)
- + symcode='[[BCDEGRST]]'
- + ;;
- +osf*)
- + symcode='[[BCDEGQRST]]'
- + ;;
- +solaris* | sysv5*)
- + symcode='[[BDT]]'
- + ;;
- +sysv4)
- + symcode='[[DFNSTU]]'
- + ;;
- +esac
- +
- +# Handle CRLF in mingw tool chain
- +opt_cr=
- +case $host_os in
- +mingw*)
- + opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
- + ;;
- +esac
- +
- +# If we're using GNU nm, then use its standard symbol codes.
- +if $NM -V 2>&1 | egrep '(GNU|with BFD)' > /dev/null; then
- + symcode='[[ABCDGISTW]]'
- +fi
- +
- +# Try without a prefix undercore, then with it.
- +for ac_symprfx in "" "_"; do
- +
- + # Write the raw and C identifiers.
- +lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
- +
- + # Check to see that the pipe works correctly.
- + pipe_works=no
- + rm -f conftest*
- + cat > conftest.$ac_ext <<EOF
- +#ifdef __cplusplus
- +extern "C" {
- +#endif
- +char nm_test_var;
- +void nm_test_func(){}
- +#ifdef __cplusplus
- +}
- +#endif
- +int main(){nm_test_var='a';nm_test_func();return(0);}
- +EOF
- +
- + if AC_TRY_EVAL(ac_compile); then
- + # Now try to grab the symbols.
- + nlist=conftest.nm
- + if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) && test -s "$nlist"; then
- + # Try sorting and uniquifying the output.
- + if sort "$nlist" | uniq > "$nlist"T; then
- + mv -f "$nlist"T "$nlist"
- + else
- + rm -f "$nlist"T
- + fi
- +
- + # Make sure that we snagged all the symbols we need.
- + if egrep ' nm_test_var$' "$nlist" >/dev/null; then
- + if egrep ' nm_test_func$' "$nlist" >/dev/null; then
- + cat <<EOF > conftest.$ac_ext
- +#ifdef __cplusplus
- +extern "C" {
- +#endif
- +
- +EOF
- + # Now generate the symbol file.
- + eval "$lt_cv_global_symbol_to_cdecl"' < "$nlist" >> conftest.$ac_ext'
- +
- + cat <<EOF >> conftest.$ac_ext
- +#if defined (__STDC__) && __STDC__
- +# define lt_ptr void *
- +#else
- +# define lt_ptr char *
- +# define const
- +#endif
- +
- +/* The mapping between symbol names and symbols. */
- +const struct {
- + const char *name;
- + lt_ptr address;
- +}
- +lt_preloaded_symbols[[]] =
- +{
- +EOF
- + sed "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr) \&\2},/" < "$nlist" >> conftest.$ac_ext
- + cat <<\EOF >> conftest.$ac_ext
- + {0, (lt_ptr) 0}
- +};
- +
- +#ifdef __cplusplus
- +}
- +#endif
- +EOF
- + # Now try linking the two files.
- + mv conftest.$ac_objext conftstm.$ac_objext
- + save_LIBS="$LIBS"
- + save_CFLAGS="$CFLAGS"
- + LIBS="conftstm.$ac_objext"
- + CFLAGS="$CFLAGS$no_builtin_flag"
- + if AC_TRY_EVAL(ac_link) && test -s conftest$ac_exeext; then
- + pipe_works=yes
- + fi
- + LIBS="$save_LIBS"
- + CFLAGS="$save_CFLAGS"
- + else
- + echo "cannot find nm_test_func in $nlist" >&AC_FD_CC
- + fi
- + else
- + echo "cannot find nm_test_var in $nlist" >&AC_FD_CC
- + fi
- + else
- + echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AC_FD_CC
- + fi
- + else
- + echo "$progname: failed program was:" >&AC_FD_CC
- + cat conftest.$ac_ext >&5
- + fi
- + rm -f conftest* conftst*
- +
- + # Do not use the global_symbol_pipe unless it works.
- + if test "$pipe_works" = yes; then
- + break
- + else
- + lt_cv_sys_global_symbol_pipe=
- + fi
- +done
- +])
- +global_symbol_pipe="$lt_cv_sys_global_symbol_pipe"
- +if test -z "$lt_cv_sys_global_symbol_pipe"; then
- + global_symbol_to_cdecl=
- + global_symbol_to_c_name_address=
- +else
- + global_symbol_to_cdecl="$lt_cv_global_symbol_to_cdecl"
- + global_symbol_to_c_name_address="$lt_cv_global_symbol_to_c_name_address"
- +fi
- +if test -z "$global_symbol_pipe$global_symbol_to_cdec$global_symbol_to_c_name_address";
- +then
- + AC_MSG_RESULT(failed)
- +else
- + AC_MSG_RESULT(ok)
- +fi
- +]) # AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
- +
- +# _LT_AC_LIBTOOL_SYS_PATH_SEPARATOR
- +# ---------------------------------
- +AC_DEFUN([_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR],
- +[# Find the correct PATH separator. Usually this is `:', but
- +# DJGPP uses `;' like DOS.
- +if test "X${PATH_SEPARATOR+set}" != Xset; then
- + UNAME=${UNAME-`uname 2>/dev/null`}
- + case X$UNAME in
- + *-DOS) lt_cv_sys_path_separator=';' ;;
- + *) lt_cv_sys_path_separator=':' ;;
- + esac
- + PATH_SEPARATOR=$lt_cv_sys_path_separator
- +fi
- +])# _LT_AC_LIBTOOL_SYS_PATH_SEPARATOR
- +
- +# _LT_AC_PROG_ECHO_BACKSLASH
- +# --------------------------
- +# Add some code to the start of the generated configure script which
- +# will find an echo command which doesn't interpret backslashes.
- +AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH],
- +[ifdef([AC_DIVERSION_NOTICE], [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)],
- + [AC_DIVERT_PUSH(NOTICE)])
- +_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR
- +
- +# Check that we are running under the correct shell.
- +SHELL=${CONFIG_SHELL-/bin/sh}
- +
- +case X$ECHO in
- +X*--fallback-echo)
- + # Remove one level of quotation (which was required for Make).
- + ECHO=`echo "$ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','`
- + ;;
- +esac
- +
- +echo=${ECHO-echo}
- +if test "X[$]1" = X--no-reexec; then
- + # Discard the --no-reexec flag, and continue.
- + shift
- +elif test "X[$]1" = X--fallback-echo; then
- + # Avoid inline document here, it may be left over
- + :
- +elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then
- + # Yippee, $echo works!
- + :
- +else
- + # Restart under the correct shell.
- + exec $SHELL "[$]0" --no-reexec ${1+"[$]@"}
- +fi
- +
- +if test "X[$]1" = X--fallback-echo; then
- + # used as fallback echo
- + shift
- + cat <<EOF
- +$*
- +EOF
- + exit 0
- +fi
- +
- +# The HP-UX ksh and POSIX shell print the target directory to stdout
- +# if CDPATH is set.
- +if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
- +
- +if test -z "$ECHO"; then
- +if test "X${echo_test_string+set}" != Xset; then
- +# find a string as large as possible, as long as the shell can cope with it
- + for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do
- + # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
- + if (echo_test_string="`eval $cmd`") 2>/dev/null &&
- + echo_test_string="`eval $cmd`" &&
- + (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
- + then
- + break
- + fi
- + done
- +fi
- +
- +if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
- + echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
- + test "X$echo_testing_string" = "X$echo_test_string"; then
- + :
- +else
- + # The Solaris, AIX, and Digital Unix default echo programs unquote
- + # backslashes. This makes it impossible to quote backslashes using
- + # echo "$something" | sed 's/\\/\\\\/g'
- + #
- + # So, first we look for a working echo in the user's PATH.
- +
- + IFS="${IFS= }"; save_ifs="$IFS"; IFS=$PATH_SEPARATOR
- + for dir in $PATH /usr/ucb; do
- + if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
- + test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
- + echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
- + test "X$echo_testing_string" = "X$echo_test_string"; then
- + echo="$dir/echo"
- + break
- + fi
- + done
- + IFS="$save_ifs"
- +
- + if test "X$echo" = Xecho; then
- + # We didn't find a better echo, so look for alternatives.
- + if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
- + echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
- + test "X$echo_testing_string" = "X$echo_test_string"; then
- + # This shell has a builtin print -r that does the trick.
- + echo='print -r'
- + elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
- + test "X$CONFIG_SHELL" != X/bin/ksh; then
- + # If we have ksh, try running configure again with it.
- + ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
- + export ORIGINAL_CONFIG_SHELL
- + CONFIG_SHELL=/bin/ksh
- + export CONFIG_SHELL
- + exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"}
- + else
- + # Try using printf.
- + echo='printf %s\n'
- + if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
- + echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
- + test "X$echo_testing_string" = "X$echo_test_string"; then
- + # Cool, printf works
- + :
- + elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
- + test "X$echo_testing_string" = 'X\t' &&
- + echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
- + test "X$echo_testing_string" = "X$echo_test_string"; then
- + CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
- + export CONFIG_SHELL
- + SHELL="$CONFIG_SHELL"
- + export SHELL
- + echo="$CONFIG_SHELL [$]0 --fallback-echo"
- + elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
- + test "X$echo_testing_string" = 'X\t' &&
- + echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
- + test "X$echo_testing_string" = "X$echo_test_string"; then
- + echo="$CONFIG_SHELL [$]0 --fallback-echo"
- + else
- + # maybe with a smaller string...
- + prev=:
- +
- + for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do
- + if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
- + then
- + break
- + fi
- + prev="$cmd"
- + done
- +
- + if test "$prev" != 'sed 50q "[$]0"'; then
- + echo_test_string=`eval $prev`
- + export echo_test_string
- + exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"}
- + else
- + # Oops. We lost completely, so just stick with echo.
- + echo=echo
- + fi
- + fi
- + fi
- + fi
- +fi
- +fi
- +
- +# Copy echo and quote the copy suitably for passing to libtool from
- +# the Makefile, instead of quoting the original, which is used later.
- +ECHO=$echo
- +if test "X$ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then
- + ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo"
- +fi
- +
- +AC_SUBST(ECHO)
- +AC_DIVERT_POP
- +])# _LT_AC_PROG_ECHO_BACKSLASH
- +
- +# _LT_AC_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
- +# ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
- +# ------------------------------------------------------------------
- +AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF],
- +[if test "$cross_compiling" = yes; then :
- + [$4]
- +else
- + AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
- + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
- + lt_status=$lt_dlunknown
- + cat > conftest.$ac_ext <<EOF
- +[#line __oline__ "configure"
- +#include "confdefs.h"
- +
- +#if HAVE_DLFCN_H
- +#include <dlfcn.h>
- +#endif
- +
- +#include <stdio.h>
- +
- +#ifdef RTLD_GLOBAL
- +# define LT_DLGLOBAL RTLD_GLOBAL
- +#else
- +# ifdef DL_GLOBAL
- +# define LT_DLGLOBAL DL_GLOBAL
- +# else
- +# define LT_DLGLOBAL 0
- +# endif
- +#endif
- +
- +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
- + find out it does not work in some platform. */
- +#ifndef LT_DLLAZY_OR_NOW
- +# ifdef RTLD_LAZY
- +# define LT_DLLAZY_OR_NOW RTLD_LAZY
- +# else
- +# ifdef DL_LAZY
- +# define LT_DLLAZY_OR_NOW DL_LAZY
- +# else
- +# ifdef RTLD_NOW
- +# define LT_DLLAZY_OR_NOW RTLD_NOW
- +# else
- +# ifdef DL_NOW
- +# define LT_DLLAZY_OR_NOW DL_NOW
- +# else
- +# define LT_DLLAZY_OR_NOW 0
- +# endif
- +# endif
- +# endif
- +# endif
- +#endif
- +
- +#ifdef __cplusplus
- +extern "C" void exit (int);
- +#endif
- +
- +void fnord() { int i=42;}
- +int main ()
- +{
- + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
- + int status = $lt_dlunknown;
- +
- + if (self)
- + {
- + if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
- + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
- + /* dlclose (self); */
- + }
- +
- + exit (status);
- +}]
- +EOF
- + if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then
- + (./conftest; exit; ) 2>/dev/null
- + lt_status=$?
- + case x$lt_status in
- + x$lt_dlno_uscore) $1 ;;
- + x$lt_dlneed_uscore) $2 ;;
- + x$lt_unknown|x*) $3 ;;
- + esac
- + else :
- + # compilation failed
- + $3
- + fi
- +fi
- +rm -fr conftest*
- +])# _LT_AC_TRY_DLOPEN_SELF
- +
- +# AC_LIBTOOL_DLOPEN_SELF
- +# -------------------
- +AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF],
- +[if test "x$enable_dlopen" != xyes; then
- + enable_dlopen=unknown
- + enable_dlopen_self=unknown
- + enable_dlopen_self_static=unknown
- +else
- + lt_cv_dlopen=no
- + lt_cv_dlopen_libs=
- +
- + case $host_os in
- + beos*)
- + lt_cv_dlopen="load_add_on"
- + lt_cv_dlopen_libs=
- + lt_cv_dlopen_self=yes
- + ;;
- +
- + cygwin* | mingw* | pw32*)
- + lt_cv_dlopen="LoadLibrary"
- + lt_cv_dlopen_libs=
- + ;;
- +
- + *)
- + AC_CHECK_FUNC([shl_load],
- + [lt_cv_dlopen="shl_load"],
- + [AC_CHECK_LIB([dld], [shl_load],
- + [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"],
- + [AC_CHECK_FUNC([dlopen],
- + [lt_cv_dlopen="dlopen"],
- + [AC_CHECK_LIB([dl], [dlopen],
- + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
- + [AC_CHECK_LIB([svld], [dlopen],
- + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
- + [AC_CHECK_LIB([dld], [dld_link],
- + [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
- + ])
- + ])
- + ])
- + ])
- + ])
- + ;;
- + esac
- +
- + if test "x$lt_cv_dlopen" != xno; then
- + enable_dlopen=yes
- + else
- + enable_dlopen=no
- + fi
- +
- + case $lt_cv_dlopen in
- + dlopen)
- + save_CPPFLAGS="$CPPFLAGS"
- + AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
- + test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
- +
- + save_LDFLAGS="$LDFLAGS"
- + eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
- +
- + save_LIBS="$LIBS"
- + LIBS="$lt_cv_dlopen_libs $LIBS"
- +
- + AC_CACHE_CHECK([whether a program can dlopen itself],
- + lt_cv_dlopen_self, [dnl
- + _LT_AC_TRY_DLOPEN_SELF(
- + lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes,
- + lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross)
- + ])
- +
- + if test "x$lt_cv_dlopen_self" = xyes; then
- + LDFLAGS="$LDFLAGS $link_static_flag"
- + AC_CACHE_CHECK([whether a statically linked program can dlopen itself],
- + lt_cv_dlopen_self_static, [dnl
- + _LT_AC_TRY_DLOPEN_SELF(
- + lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes,
- + lt_cv_dlopen_self_static=no, lt_cv_dlopen_self_static=cross)
- + ])
- + fi
- +
- + CPPFLAGS="$save_CPPFLAGS"
- + LDFLAGS="$save_LDFLAGS"
- + LIBS="$save_LIBS"
- + ;;
- + esac
- +
- + case $lt_cv_dlopen_self in
- + yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
- + *) enable_dlopen_self=unknown ;;
- + esac
- +
- + case $lt_cv_dlopen_self_static in
- + yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
- + *) enable_dlopen_self_static=unknown ;;
- + esac
- +fi
- +])# AC_LIBTOOL_DLOPEN_SELF
- +
- +AC_DEFUN([_LT_AC_LTCONFIG_HACK],
- +[AC_REQUIRE([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE])dnl
- +# Sed substitution that helps us do robust quoting. It backslashifies
- +# metacharacters that are still active within double-quoted strings.
- +Xsed='sed -e s/^X//'
- +sed_quote_subst='s/\([[\\"\\`$\\\\]]\)/\\\1/g'
- +
- +# Same as above, but do not quote variable references.
- +double_quote_subst='s/\([[\\"\\`\\\\]]\)/\\\1/g'
- +
- +# Sed substitution to delay expansion of an escaped shell variable in a
- +# double_quote_subst'ed string.
- +delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
- +
- +# Constants:
- +rm="rm -f"
- +
- +# Global variables:
- +default_ofile=libtool
- +can_build_shared=yes
- +
- +# All known linkers require a `.a' archive for static linking (except M$VC,
- +# which needs '.lib').
- +libext=a
- +ltmain="$ac_aux_dir/ltmain.sh"
- +ofile="$default_ofile"
- +with_gnu_ld="$lt_cv_prog_gnu_ld"
- +need_locks="$enable_libtool_lock"
- +
- +old_CC="$CC"
- +old_CFLAGS="$CFLAGS"
- +
- +# Set sane defaults for various variables
- +test -z "$AR" && AR=ar
- +test -z "$AR_FLAGS" && AR_FLAGS=cru
- +test -z "$AS" && AS=as
- +test -z "$CC" && CC=cc
- +test -z "$DLLTOOL" && DLLTOOL=dlltool
- +test -z "$LD" && LD=ld
- +test -z "$LN_S" && LN_S="ln -s"
- +test -z "$MAGIC_CMD" && MAGIC_CMD=file
- +test -z "$NM" && NM=nm
- +test -z "$OBJDUMP" && OBJDUMP=objdump
- +test -z "$RANLIB" && RANLIB=:
- +test -z "$STRIP" && STRIP=:
- +test -z "$ac_objext" && ac_objext=o
- +
- +if test x"$host" != x"$build"; then
- + ac_tool_prefix=${host_alias}-
- +else
- + ac_tool_prefix=
- +fi
- +
- +# Transform linux* to *-*-linux-gnu*, to support old configure scripts.
- +case $host_os in
- +linux-gnu*) ;;
- +linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'`
- +esac
- +
- +case $host_os in
- +aix3*)
- + # AIX sometimes has problems with the GCC collect2 program. For some
- + # reason, if we set the COLLECT_NAMES environment variable, the problems
- + # vanish in a puff of smoke.
- + if test "X${COLLECT_NAMES+set}" != Xset; then
- + COLLECT_NAMES=
- + export COLLECT_NAMES
- + fi
- + ;;
- +esac
- +
- +# Determine commands to create old-style static archives.
- +old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
- +old_postinstall_cmds='chmod 644 $oldlib'
- +old_postuninstall_cmds=
- +
- +if test -n "$RANLIB"; then
- + case $host_os in
- + openbsd*)
- + old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
- + ;;
- + *)
- + old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
- + ;;
- + esac
- + old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
- +fi
- +
- +# Allow CC to be a program name with arguments.
- +set dummy $CC
- +compiler="[$]2"
- +
- +AC_MSG_CHECKING([for objdir])
- +rm -f .libs 2>/dev/null
- +mkdir .libs 2>/dev/null
- +if test -d .libs; then
- + objdir=.libs
- +else
- + # MS-DOS does not allow filenames that begin with a dot.
- + objdir=_libs
- +fi
- +rmdir .libs 2>/dev/null
- +AC_MSG_RESULT($objdir)
- +
- +
- +AC_ARG_WITH(pic,
- +[ --with-pic try to use only PIC/non-PIC objects [default=use both]],
- +pic_mode="$withval", pic_mode=default)
- +test -z "$pic_mode" && pic_mode=default
- +
- +# We assume here that the value for lt_cv_prog_cc_pic will not be cached
- +# in isolation, and that seeing it set (from the cache) indicates that
- +# the associated values are set (in the cache) correctly too.
- +AC_MSG_CHECKING([for $compiler option to produce PIC])
- +AC_CACHE_VAL(lt_cv_prog_cc_pic,
- +[ lt_cv_prog_cc_pic=
- + lt_cv_prog_cc_shlib=
- + lt_cv_prog_cc_wl=
- + lt_cv_prog_cc_static=
- + lt_cv_prog_cc_no_builtin=
- + lt_cv_prog_cc_can_build_shared=$can_build_shared
- +
- + if test "$GCC" = yes; then
- + lt_cv_prog_cc_wl='-Wl,'
- + lt_cv_prog_cc_static='-static'
- +
- + case $host_os in
- + aix*)
- + # Below there is a dirty hack to force normal static linking with -ldl
- + # The problem is because libdl dynamically linked with both libc and
- + # libC (AIX C++ library), which obviously doesn't included in libraries
- + # list by gcc. This cause undefined symbols with -static flags.
- + # This hack allows C programs to be linked with "-static -ldl", but
- + # not sure about C++ programs.
- + lt_cv_prog_cc_static="$lt_cv_prog_cc_static ${lt_cv_prog_cc_wl}-lC"
- + ;;
- + amigaos*)
- + # FIXME: we need at least 68020 code to build shared libraries, but
- + # adding the `-m68020' flag to GCC prevents building anything better,
- + # like `-m68040'.
- + lt_cv_prog_cc_pic='-m68020 -resident32 -malways-restore-a4'
- + ;;
- + beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
- + # PIC is the default for these OSes.
- + ;;
- + darwin* | rhapsody*)
- + # PIC is the default on this platform
- + # Common symbols not allowed in MH_DYLIB files
- + lt_cv_prog_cc_pic='-fno-common'
- + ;;
- + cygwin* | mingw* | pw32* | os2*)
- + # This hack is so that the source file can tell whether it is being
- + # built for inclusion in a dll (and should export symbols for example).
- + lt_cv_prog_cc_pic='-DDLL_EXPORT'
- + ;;
- + sysv4*MP*)
- + if test -d /usr/nec; then
- + lt_cv_prog_cc_pic=-Kconform_pic
- + fi
- + ;;
- + *)
- + lt_cv_prog_cc_pic='-fPIC'
- + ;;
- + esac
- + else
- + # PORTME Check for PIC flags for the system compiler.
- + case $host_os in
- + aix3* | aix4* | aix5*)
- + lt_cv_prog_cc_wl='-Wl,'
- + # All AIX code is PIC.
- + if test "$host_cpu" = ia64; then
- + # AIX 5 now supports IA64 processor
- + lt_cv_prog_cc_static='-Bstatic'
- + else
- + lt_cv_prog_cc_static='-bnso -bI:/lib/syscalls.exp'
- + fi
- + ;;
- +
- + hpux9* | hpux10* | hpux11*)
- + # Is there a better lt_cv_prog_cc_static that works with the bundled CC?
- + lt_cv_prog_cc_wl='-Wl,'
- + lt_cv_prog_cc_static="${lt_cv_prog_cc_wl}-a ${lt_cv_prog_cc_wl}archive"
- + lt_cv_prog_cc_pic='+Z'
- + ;;
- +
- + irix5* | irix6* | nonstopux*)
- + lt_cv_prog_cc_wl='-Wl,'
- + lt_cv_prog_cc_static='-non_shared'
- + # PIC (with -KPIC) is the default.
- + ;;
- +
- + cygwin* | mingw* | pw32* | os2*)
- + # This hack is so that the source file can tell whether it is being
- + # built for inclusion in a dll (and should export symbols for example).
- + lt_cv_prog_cc_pic='-DDLL_EXPORT'
- + ;;
- +
- + newsos6)
- + lt_cv_prog_cc_pic='-KPIC'
- + lt_cv_prog_cc_static='-Bstatic'
- + ;;
- +
- + osf3* | osf4* | osf5*)
- + # All OSF/1 code is PIC.
- + lt_cv_prog_cc_wl='-Wl,'
- + lt_cv_prog_cc_static='-non_shared'
- + ;;
- +
- + sco3.2v5*)
- + lt_cv_prog_cc_pic='-Kpic'
- + lt_cv_prog_cc_static='-dn'
- + lt_cv_prog_cc_shlib='-belf'
- + ;;
- +
- + solaris*)
- + lt_cv_prog_cc_pic='-KPIC'
- + lt_cv_prog_cc_static='-Bstatic'
- + lt_cv_prog_cc_wl='-Wl,'
- + ;;
- +
- + sunos4*)
- + lt_cv_prog_cc_pic='-PIC'
- + lt_cv_prog_cc_static='-Bstatic'
- + lt_cv_prog_cc_wl='-Qoption ld '
- + ;;
- +
- + sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
- + lt_cv_prog_cc_pic='-KPIC'
- + lt_cv_prog_cc_static='-Bstatic'
- + lt_cv_prog_cc_wl='-Wl,'
- + ;;
- +
- + uts4*)
- + lt_cv_prog_cc_pic='-pic'
- + lt_cv_prog_cc_static='-Bstatic'
- + ;;
- +
- + sysv4*MP*)
- + if test -d /usr/nec ;then
- + lt_cv_prog_cc_pic='-Kconform_pic'
- + lt_cv_prog_cc_static='-Bstatic'
- + fi
- + ;;
- +
- + *)
- + lt_cv_prog_cc_can_build_shared=no
- + ;;
- + esac
- + fi
- +])
- +if test -z "$lt_cv_prog_cc_pic"; then
- + AC_MSG_RESULT([none])
- +else
- + AC_MSG_RESULT([$lt_cv_prog_cc_pic])
- +
- + # Check to make sure the pic_flag actually works.
- + AC_MSG_CHECKING([if $compiler PIC flag $lt_cv_prog_cc_pic works])
- + AC_CACHE_VAL(lt_cv_prog_cc_pic_works, [dnl
- + save_CFLAGS="$CFLAGS"
- + CFLAGS="$CFLAGS $lt_cv_prog_cc_pic -DPIC"
- + AC_TRY_COMPILE([], [], [dnl
- + case $host_os in
- + hpux9* | hpux10* | hpux11*)
- + # On HP-UX, both CC and GCC only warn that PIC is supported... then
- + # they create non-PIC objects. So, if there were any warnings, we
- + # assume that PIC is not supported.
- + if test -s conftest.err; then
- + lt_cv_prog_cc_pic_works=no
- + else
- + lt_cv_prog_cc_pic_works=yes
- + fi
- + ;;
- + *)
- + lt_cv_prog_cc_pic_works=yes
- + ;;
- + esac
- + ], [dnl
- + lt_cv_prog_cc_pic_works=no
- + ])
- + CFLAGS="$save_CFLAGS"
- + ])
- +
- + if test "X$lt_cv_prog_cc_pic_works" = Xno; then
- + lt_cv_prog_cc_pic=
- + lt_cv_prog_cc_can_build_shared=no
- + else
- + lt_cv_prog_cc_pic=" $lt_cv_prog_cc_pic"
- + fi
- +
- + AC_MSG_RESULT([$lt_cv_prog_cc_pic_works])
- +fi
- +
- +# Check for any special shared library compilation flags.
- +if test -n "$lt_cv_prog_cc_shlib"; then
- + AC_MSG_WARN([\`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries])
- + if echo "$old_CC $old_CFLAGS " | egrep -e "[[ ]]$lt_cv_prog_cc_shlib[[ ]]" >/dev/null; then :
- + else
- + AC_MSG_WARN([add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure])
- + lt_cv_prog_cc_can_build_shared=no
- + fi
- +fi
- +
- +AC_MSG_CHECKING([if $compiler static flag $lt_cv_prog_cc_static works])
- +AC_CACHE_VAL([lt_cv_prog_cc_static_works], [dnl
- + lt_cv_prog_cc_static_works=no
- + save_LDFLAGS="$LDFLAGS"
- + LDFLAGS="$LDFLAGS $lt_cv_prog_cc_static"
- + AC_TRY_LINK([], [], [lt_cv_prog_cc_static_works=yes])
- + LDFLAGS="$save_LDFLAGS"
- +])
- +
- +# Belt *and* braces to stop my trousers falling down:
- +test "X$lt_cv_prog_cc_static_works" = Xno && lt_cv_prog_cc_static=
- +AC_MSG_RESULT([$lt_cv_prog_cc_static_works])
- +
- +pic_flag="$lt_cv_prog_cc_pic"
- +special_shlib_compile_flags="$lt_cv_prog_cc_shlib"
- +wl="$lt_cv_prog_cc_wl"
- +link_static_flag="$lt_cv_prog_cc_static"
- +no_builtin_flag="$lt_cv_prog_cc_no_builtin"
- +can_build_shared="$lt_cv_prog_cc_can_build_shared"
- +
- +
- +# Check to see if options -o and -c are simultaneously supported by compiler
- +AC_MSG_CHECKING([if $compiler supports -c -o file.$ac_objext])
- +AC_CACHE_VAL([lt_cv_compiler_c_o], [
- +$rm -r conftest 2>/dev/null
- +mkdir conftest
- +cd conftest
- +echo "int some_variable = 0;" > conftest.$ac_ext
- +mkdir out
- +# According to Tom Tromey, Ian Lance Taylor reported there are C compilers
- +# that will create temporary files in the current directory regardless of
- +# the output directory. Thus, making CWD read-only will cause this test
- +# to fail, enabling locking or at least warning the user not to do parallel
- +# builds.
- +chmod -w .
- +save_CFLAGS="$CFLAGS"
- +CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"
- +compiler_c_o=no
- +if { (eval echo configure:__oline__: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
- + # The compiler can only warn and ignore the option if not recognized
- + # So say no if there are warnings
- + if test -s out/conftest.err; then
- + lt_cv_compiler_c_o=no
- + else
- + lt_cv_compiler_c_o=yes
- + fi
- +else
- + # Append any errors to the config.log.
- + cat out/conftest.err 1>&AC_FD_CC
- + lt_cv_compiler_c_o=no
- +fi
- +CFLAGS="$save_CFLAGS"
- +chmod u+w .
- +$rm conftest* out/*
- +rmdir out
- +cd ..
- +rmdir conftest
- +$rm -r conftest 2>/dev/null
- +])
- +compiler_c_o=$lt_cv_compiler_c_o
- +AC_MSG_RESULT([$compiler_c_o])
- +
- +if test x"$compiler_c_o" = x"yes"; then
- + # Check to see if we can write to a .lo
- + AC_MSG_CHECKING([if $compiler supports -c -o file.lo])
- + AC_CACHE_VAL([lt_cv_compiler_o_lo], [
- + lt_cv_compiler_o_lo=no
- + save_CFLAGS="$CFLAGS"
- + CFLAGS="$CFLAGS -c -o conftest.lo"
- + save_objext="$ac_objext"
- + ac_objext=lo
- + AC_TRY_COMPILE([], [int some_variable = 0;], [dnl
- + # The compiler can only warn and ignore the option if not recognized
- + # So say no if there are warnings
- + if test -s conftest.err; then
- + lt_cv_compiler_o_lo=no
- + else
- + lt_cv_compiler_o_lo=yes
- + fi
- + ])
- + ac_objext="$save_objext"
- + CFLAGS="$save_CFLAGS"
- + ])
- + compiler_o_lo=$lt_cv_compiler_o_lo
- + AC_MSG_RESULT([$compiler_o_lo])
- +else
- + compiler_o_lo=no
- +fi
- +
- +# Check to see if we can do hard links to lock some files if needed
- +hard_links="nottested"
- +if test "$compiler_c_o" = no && test "$need_locks" != no; then
- + # do not overwrite the value of need_locks provided by the user
- + AC_MSG_CHECKING([if we can lock with hard links])
- + hard_links=yes
- + $rm conftest*
- + ln conftest.a conftest.b 2>/dev/null && hard_links=no
- + touch conftest.a
- + ln conftest.a conftest.b 2>&5 || hard_links=no
- + ln conftest.a conftest.b 2>/dev/null && hard_links=no
- + AC_MSG_RESULT([$hard_links])
- + if test "$hard_links" = no; then
- + AC_MSG_WARN([\`$CC' does not support \`-c -o', so \`make -j' may be unsafe])
- + need_locks=warn
- + fi
- +else
- + need_locks=no
- +fi
- +
- +if test "$GCC" = yes; then
- + # Check to see if options -fno-rtti -fno-exceptions are supported by compiler
- + AC_MSG_CHECKING([if $compiler supports -fno-rtti -fno-exceptions])
- + echo "int some_variable = 0;" > conftest.$ac_ext
- + save_CFLAGS="$CFLAGS"
- + CFLAGS="$CFLAGS -fno-rtti -fno-exceptions -c conftest.$ac_ext"
- + compiler_rtti_exceptions=no
- + AC_TRY_COMPILE([], [int some_variable = 0;], [dnl
- + # The compiler can only warn and ignore the option if not recognized
- + # So say no if there are warnings
- + if test -s conftest.err; then
- + compiler_rtti_exceptions=no
- + else
- + compiler_rtti_exceptions=yes
- + fi
- + ])
- + CFLAGS="$save_CFLAGS"
- + AC_MSG_RESULT([$compiler_rtti_exceptions])
- +
- + if test "$compiler_rtti_exceptions" = "yes"; then
- + no_builtin_flag=' -fno-builtin -fno-rtti -fno-exceptions'
- + else
- + no_builtin_flag=' -fno-builtin'
- + fi
- +fi
- +
- +# See if the linker supports building shared libraries.
- +AC_MSG_CHECKING([whether the linker ($LD) supports shared libraries])
- +
- +allow_undefined_flag=
- +no_undefined_flag=
- +need_lib_prefix=unknown
- +need_version=unknown
- +# when you set need_version to no, make sure it does not cause -set_version
- +# flags to be left without arguments
- +archive_cmds=
- +archive_expsym_cmds=
- +old_archive_from_new_cmds=
- +old_archive_from_expsyms_cmds=
- +export_dynamic_flag_spec=
- +whole_archive_flag_spec=
- +thread_safe_flag_spec=
- +hardcode_into_libs=no
- +hardcode_libdir_flag_spec=
- +hardcode_libdir_separator=
- +hardcode_direct=no
- +hardcode_minus_L=no
- +hardcode_shlibpath_var=unsupported
- +runpath_var=
- +link_all_deplibs=unknown
- +always_export_symbols=no
- +export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | sed '\''s/.* //'\'' | sort | uniq > $export_symbols'
- +# include_expsyms should be a list of space-separated symbols to be *always*
- +# included in the symbol list
- +include_expsyms=
- +# exclude_expsyms can be an egrep regular expression of symbols to exclude
- +# it will be wrapped by ` (' and `)$', so one must not match beginning or
- +# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
- +# as well as any symbol that contains `d'.
- +exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
- +# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
- +# platforms (ab)use it in PIC code, but their linkers get confused if
- +# the symbol is explicitly referenced. Since portable code cannot
- +# rely on this symbol name, it's probably fine to never include it in
- +# preloaded symbol tables.
- +extract_expsyms_cmds=
- +
- +case $host_os in
- +cygwin* | mingw* | pw32*)
- + # FIXME: the MSVC++ port hasn't been tested in a loooong time
- + # When not using gcc, we currently assume that we are using
- + # Microsoft Visual C++.
- + if test "$GCC" != yes; then
- + with_gnu_ld=no
- + fi
- + ;;
- +openbsd*)
- + with_gnu_ld=no
- + ;;
- +esac
- +
- +ld_shlibs=yes
- +if test "$with_gnu_ld" = yes; then
- + # If archive_cmds runs LD, not CC, wlarc should be empty
- + wlarc='${wl}'
- +
- + # See if GNU ld supports shared libraries.
- + case $host_os in
- + aix3* | aix4* | aix5*)
- + # On AIX, the GNU linker is very broken
- + # Note:Check GNU linker on AIX 5-IA64 when/if it becomes available.
- + ld_shlibs=no
- + cat <<EOF 1>&2
- +
- +*** Warning: the GNU linker, at least up to release 2.9.1, is reported
- +*** to be unable to reliably create shared libraries on AIX.
- +*** Therefore, libtool is disabling shared libraries support. If you
- +*** really care for shared libraries, you may want to modify your PATH
- +*** so that a non-GNU linker is found, and then restart.
- +
- +EOF
- + ;;
- +
- + amigaos*)
- + archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
- + hardcode_libdir_flag_spec='-L$libdir'
- + hardcode_minus_L=yes
- +
- + # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
- + # that the semantics of dynamic libraries on AmigaOS, at least up
- + # to version 4, is to share data among multiple programs linked
- + # with the same dynamic library. Since this doesn't match the
- + # behavior of shared libraries on other platforms, we can use
- + # them.
- + ld_shlibs=no
- + ;;
- +
- + beos*)
- + if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
- + allow_undefined_flag=unsupported
- + # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
- + # support --undefined. This deserves some investigation. FIXME
- + archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
- + else
- + ld_shlibs=no
- + fi
- + ;;
- +
- + cygwin* | mingw* | pw32*)
- + # hardcode_libdir_flag_spec is actually meaningless, as there is
- + # no search path for DLLs.
- + hardcode_libdir_flag_spec='-L$libdir'
- + allow_undefined_flag=unsupported
- + always_export_symbols=yes
- +
- + extract_expsyms_cmds='test -f $output_objdir/impgen.c || \
- + sed -e "/^# \/\* impgen\.c starts here \*\//,/^# \/\* impgen.c ends here \*\// { s/^# //;s/^# *$//; p; }" -e d < $''0 > $output_objdir/impgen.c~
- + test -f $output_objdir/impgen.exe || (cd $output_objdir && \
- + if test "x$HOST_CC" != "x" ; then $HOST_CC -o impgen impgen.c ; \
- + else $CC -o impgen impgen.c ; fi)~
- + $output_objdir/impgen $dir/$soroot > $output_objdir/$soname-def'
- +
- + old_archive_from_expsyms_cmds='$DLLTOOL --as=$AS --dllname $soname --def $output_objdir/$soname-def --output-lib $output_objdir/$newlib'
- +
- + # cygwin and mingw dlls have different entry points and sets of symbols
- + # to exclude.
- + # FIXME: what about values for MSVC?
- + dll_entry=__cygwin_dll_entry@12
- + dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12~
- + case $host_os in
- + mingw*)
- + # mingw values
- + dll_entry=_DllMainCRTStartup@12
- + dll_exclude_symbols=DllMain@12,DllMainCRTStartup@12,DllEntryPoint@12~
- + ;;
- + esac
- +
- + # mingw and cygwin differ, and it's simplest to just exclude the union
- + # of the two symbol sets.
- + dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12,DllMainCRTStartup@12,DllEntryPoint@12
- +
- + # recent cygwin and mingw systems supply a stub DllMain which the user
- + # can override, but on older systems we have to supply one (in ltdll.c)
- + if test "x$lt_cv_need_dllmain" = "xyes"; then
- + ltdll_obj='$output_objdir/$soname-ltdll.'"$ac_objext "
- + ltdll_cmds='test -f $output_objdir/$soname-ltdll.c || sed -e "/^# \/\* ltdll\.c starts here \*\//,/^# \/\* ltdll.c ends here \*\// { s/^# //; p; }" -e d < $''0 > $output_objdir/$soname-ltdll.c~
- + test -f $output_objdir/$soname-ltdll.$ac_objext || (cd $output_objdir && $CC -c $soname-ltdll.c)~'
- + else
- + ltdll_obj=
- + ltdll_cmds=
- + fi
- +
- + # Extract the symbol export list from an `--export-all' def file,
- + # then regenerate the def file from the symbol export list, so that
- + # the compiled dll only exports the symbol export list.
- + # Be careful not to strip the DATA tag left be newer dlltools.
- + export_symbols_cmds="$ltdll_cmds"'
- + $DLLTOOL --export-all --exclude-symbols '$dll_exclude_symbols' --output-def $output_objdir/$soname-def '$ltdll_obj'$libobjs $convenience~
- + sed -e "1,/EXPORTS/d" -e "s/ @ [[0-9]]*//" -e "s/ *;.*$//" < $output_objdir/$soname-def > $export_symbols'
- +
- + # If the export-symbols file already is a .def file (1st line
- + # is EXPORTS), use it as is.
- + # If DATA tags from a recent dlltool are present, honour them!
- + archive_expsym_cmds='if test "x`sed 1q $export_symbols`" = xEXPORTS; then
- + cp $export_symbols $output_objdir/$soname-def;
- + else
- + echo EXPORTS > $output_objdir/$soname-def;
- + _lt_hint=1;
- + cat $export_symbols | while read symbol; do
- + set dummy \$symbol;
- + case \[$]# in
- + 2) echo " \[$]2 @ \$_lt_hint ; " >> $output_objdir/$soname-def;;
- + 4) echo " \[$]2 \[$]3 \[$]4 ; " >> $output_objdir/$soname-def; _lt_hint=`expr \$_lt_hint - 1`;;
- + *) echo " \[$]2 @ \$_lt_hint \[$]3 ; " >> $output_objdir/$soname-def;;
- + esac;
- + _lt_hint=`expr 1 + \$_lt_hint`;
- + done;
- + fi~
- + '"$ltdll_cmds"'
- + $CC -Wl,--base-file,$output_objdir/$soname-base '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~
- + $DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp~
- + $CC -Wl,--base-file,$output_objdir/$soname-base $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~
- + $DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp --output-lib $output_objdir/$libname.dll.a~
- + $CC $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags'
- + ;;
- +
- + netbsd*)
- + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
- + archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
- + wlarc=
- + else
- + archive_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
- + archive_expsym_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
- + fi
- + ;;
- +
- + solaris* | sysv5*)
- + if $LD -v 2>&1 | egrep 'BFD 2\.8' > /dev/null; then
- + ld_shlibs=no
- + cat <<EOF 1>&2
- +
- +*** Warning: The releases 2.8.* of the GNU linker cannot reliably
- +*** create shared libraries on Solaris systems. Therefore, libtool
- +*** is disabling shared libraries support. We urge you to upgrade GNU
- +*** binutils to release 2.9.1 or newer. Another option is to modify
- +*** your PATH or compiler configuration so that the native linker is
- +*** used, and then restart.
- +
- +EOF
- + elif $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
- + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
- + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
- + else
- + ld_shlibs=no
- + fi
- + ;;
- +
- + sunos4*)
- + archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
- + wlarc=
- + hardcode_direct=yes
- + hardcode_shlibpath_var=no
- + ;;
- +
- + *)
- + if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
- + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
- + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
- + else
- + ld_shlibs=no
- + fi
- + ;;
- + esac
- +
- + if test "$ld_shlibs" = yes; then
- + runpath_var=LD_RUN_PATH
- + hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
- + export_dynamic_flag_spec='${wl}--export-dynamic'
- + case $host_os in
- + cygwin* | mingw* | pw32*)
- + # dlltool doesn't understand --whole-archive et. al.
- + whole_archive_flag_spec=
- + ;;
- + *)
- + # ancient GNU ld didn't support --whole-archive et. al.
- + if $LD --help 2>&1 | egrep 'no-whole-archive' > /dev/null; then
- + whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
- + else
- + whole_archive_flag_spec=
- + fi
- + ;;
- + esac
- + fi
- +else
- + # PORTME fill in a description of your system's linker (not GNU ld)
- + case $host_os in
- + aix3*)
- + allow_undefined_flag=unsupported
- + always_export_symbols=yes
- + archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
- + # Note: this linker hardcodes the directories in LIBPATH if there
- + # are no directories specified by -L.
- + hardcode_minus_L=yes
- + if test "$GCC" = yes && test -z "$link_static_flag"; then
- + # Neither direct hardcoding nor static linking is supported with a
- + # broken collect2.
- + hardcode_direct=unsupported
- + fi
- + ;;
- +
- + aix4* | aix5*)
- + if test "$host_cpu" = ia64; then
- + # On IA64, the linker does run time linking by default, so we don't
- + # have to do anything special.
- + aix_use_runtimelinking=no
- + exp_sym_flag='-Bexport'
- + no_entry_flag=""
- + else
- + aix_use_runtimelinking=no
- +
- + # Test if we are trying to use run time linking or normal
- + # AIX style linking. If -brtl is somewhere in LDFLAGS, we
- + # need to do runtime linking.
- + case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*)
- + for ld_flag in $LDFLAGS; do
- + case $ld_flag in
- + *-brtl*)
- + aix_use_runtimelinking=yes
- + break
- + ;;
- + esac
- + done
- + esac
- +
- + exp_sym_flag='-bexport'
- + no_entry_flag='-bnoentry'
- + fi
- +
- + # When large executables or shared objects are built, AIX ld can
- + # have problems creating the table of contents. If linking a library
- + # or program results in "error TOC overflow" add -mminimal-toc to
- + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
- + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
- +
- + hardcode_direct=yes
- + archive_cmds=''
- + hardcode_libdir_separator=':'
- + if test "$GCC" = yes; then
- + case $host_os in aix4.[[012]]|aix4.[[012]].*)
- + collect2name=`${CC} -print-prog-name=collect2`
- + if test -f "$collect2name" && \
- + strings "$collect2name" | grep resolve_lib_name >/dev/null
- + then
- + # We have reworked collect2
- + hardcode_direct=yes
- + else
- + # We have old collect2
- + hardcode_direct=unsupported
- + # It fails to find uninstalled libraries when the uninstalled
- + # path is not listed in the libpath. Setting hardcode_minus_L
- + # to unsupported forces relinking
- + hardcode_minus_L=yes
- + hardcode_libdir_flag_spec='-L$libdir'
- + hardcode_libdir_separator=
- + fi
- + esac
- +
- + shared_flag='-shared'
- + else
- + # not using gcc
- + if test "$host_cpu" = ia64; then
- + shared_flag='${wl}-G'
- + else
- + if test "$aix_use_runtimelinking" = yes; then
- + shared_flag='${wl}-G'
- + else
- + shared_flag='${wl}-bM:SRE'
- + fi
- + fi
- + fi
- +
- + # It seems that -bexpall can do strange things, so it is better to
- + # generate a list of symbols to export.
- + always_export_symbols=yes
- + if test "$aix_use_runtimelinking" = yes; then
- + # Warning - without using the other runtime loading flags (-brtl),
- + # -berok will link without error, but may produce a broken library.
- + allow_undefined_flag='-berok'
- + hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:/usr/lib:/lib'
- + archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
- + else
- + if test "$host_cpu" = ia64; then
- + hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
- + allow_undefined_flag="-z nodefs"
- + archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname ${wl}-h$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
- + else
- + hardcode_libdir_flag_spec='${wl}-bnolibpath ${wl}-blibpath:$libdir:/usr/lib:/lib'
- + # Warning - without using the other run time loading flags,
- + # -berok will link without error, but may produce a broken library.
- + allow_undefined_flag='${wl}-berok'
- + # This is a bit strange, but is similar to how AIX traditionally builds
- + # it's shared libraries.
- + archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"' ~$AR -crlo $output_objdir/$libname$release.a $output_objdir/$soname'
- + fi
- + fi
- + ;;
- +
- + amigaos*)
- + archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
- + hardcode_libdir_flag_spec='-L$libdir'
- + hardcode_minus_L=yes
- + # see comment about different semantics on the GNU ld section
- + ld_shlibs=no
- + ;;
- +
- + cygwin* | mingw* | pw32*)
- + # When not using gcc, we currently assume that we are using
- + # Microsoft Visual C++.
- + # hardcode_libdir_flag_spec is actually meaningless, as there is
- + # no search path for DLLs.
- + hardcode_libdir_flag_spec=' '
- + allow_undefined_flag=unsupported
- + # Tell ltmain to make .lib files, not .a files.
- + libext=lib
- + # FIXME: Setting linknames here is a bad hack.
- + archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | sed -e '\''s/ -lc$//'\''` -link -dll~linknames='
- + # The linker will automatically build a .lib file if we build a DLL.
- + old_archive_from_new_cmds='true'
- + # FIXME: Should let the user specify the lib program.
- + old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
- + fix_srcfile_path='`cygpath -w "$srcfile"`'
- + ;;
- +
- + darwin* | rhapsody*)
- + case "$host_os" in
- + rhapsody* | darwin1.[[012]])
- + allow_undefined_flag='-undefined suppress'
- + ;;
- + *) # Darwin 1.3 on
- + allow_undefined_flag='-flat_namespace -undefined suppress'
- + ;;
- + esac
- + # FIXME: Relying on posixy $() will cause problems for
- + # cross-compilation, but unfortunately the echo tests do not
- + # yet detect zsh echo's removal of \ escapes. Also zsh mangles
- + # `"' quotes if we put them in here... so don't!
- + archive_cmds='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs && $CC $(test .$module = .yes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib ${lib}-master.o $deplibs$linker_flags $(test .$module != .yes && echo -install_name $rpath/$soname $verstring)'
- + # We need to add '_' to the symbols in $export_symbols first
- + #archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols'
- + hardcode_direct=yes
- + hardcode_shlibpath_var=no
- + whole_archive_flag_spec='-all_load $convenience'
- + ;;
- +
- + freebsd1*)
- + ld_shlibs=no
- + ;;
- +
- + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
- + # support. Future versions do this automatically, but an explicit c++rt0.o
- + # does not break anything, and helps significantly (at the cost of a little
- + # extra space).
- + freebsd2.2*)
- + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
- + hardcode_libdir_flag_spec='-R$libdir'
- + hardcode_direct=yes
- + hardcode_shlibpath_var=no
- + ;;
- +
- + # Unfortunately, older versions of FreeBSD 2 do not have this feature.
- + freebsd2*)
- + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
- + hardcode_direct=yes
- + hardcode_minus_L=yes
- + hardcode_shlibpath_var=no
- + ;;
- +
- + # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
- + freebsd*)
- + archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
- + hardcode_libdir_flag_spec='-R$libdir'
- + hardcode_direct=yes
- + hardcode_shlibpath_var=no
- + ;;
- +
- + hpux9* | hpux10* | hpux11*)
- + case $host_os in
- + hpux9*) archive_cmds='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' ;;
- + *) archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' ;;
- + esac
- + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
- + hardcode_libdir_separator=:
- + hardcode_direct=yes
- + hardcode_minus_L=yes # Not in the search PATH, but as the default
- + # location of the library.
- + export_dynamic_flag_spec='${wl}-E'
- + ;;
- +
- + irix5* | irix6* | nonstopux*)
- + if test "$GCC" = yes; then
- + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
- + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
- + else
- + archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
- + hardcode_libdir_flag_spec='-rpath $libdir'
- + fi
- + hardcode_libdir_separator=:
- + link_all_deplibs=yes
- + ;;
- +
- + netbsd*)
- + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
- + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
- + else
- + archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
- + fi
- + hardcode_libdir_flag_spec='-R$libdir'
- + hardcode_direct=yes
- + hardcode_shlibpath_var=no
- + ;;
- +
- + newsos6)
- + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
- + hardcode_direct=yes
- + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
- + hardcode_libdir_separator=:
- + hardcode_shlibpath_var=no
- + ;;
- +
- + openbsd*)
- + hardcode_direct=yes
- + hardcode_shlibpath_var=no
- + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
- + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
- + hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
- + export_dynamic_flag_spec='${wl}-E'
- + else
- + case "$host_os" in
- + openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*)
- + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
- + hardcode_libdir_flag_spec='-R$libdir'
- + ;;
- + *)
- + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
- + hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
- + ;;
- + esac
- + fi
- + ;;
- +
- + os2*)
- + hardcode_libdir_flag_spec='-L$libdir'
- + hardcode_minus_L=yes
- + allow_undefined_flag=unsupported
- + 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'
- + old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
- + ;;
- +
- + osf3*)
- + if test "$GCC" = yes; then
- + allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
- + archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
- + else
- + allow_undefined_flag=' -expect_unresolved \*'
- + archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
- + fi
- + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
- + hardcode_libdir_separator=:
- + ;;
- +
- + osf4* | osf5*) # as osf3* with the addition of -msym flag
- + if test "$GCC" = yes; then
- + allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
- + archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
- + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
- + else
- + allow_undefined_flag=' -expect_unresolved \*'
- + archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
- + archive_expsym_cmds='for i in `cat $export_symbols`; do printf "-exported_symbol " >> $lib.exp; echo "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
- + $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
- +
- + #Both c and cxx compiler support -rpath directly
- + hardcode_libdir_flag_spec='-rpath $libdir'
- + fi
- + hardcode_libdir_separator=:
- + ;;
- +
- + sco3.2v5*)
- + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
- + hardcode_shlibpath_var=no
- + runpath_var=LD_RUN_PATH
- + hardcode_runpath_var=yes
- + export_dynamic_flag_spec='${wl}-Bexport'
- + ;;
- +
- + solaris*)
- + # gcc --version < 3.0 without binutils cannot create self contained
- + # shared libraries reliably, requiring libgcc.a to resolve some of
- + # the object symbols generated in some cases. Libraries that use
- + # assert need libgcc.a to resolve __eprintf, for example. Linking
- + # a copy of libgcc.a into every shared library to guarantee resolving
- + # such symbols causes other problems: According to Tim Van Holder
- + # <tim.van.holder@pandora.be>, C++ libraries end up with a separate
- + # (to the application) exception stack for one thing.
- + no_undefined_flag=' -z defs'
- + if test "$GCC" = yes; then
- + case `$CC --version 2>/dev/null` in
- + [[12]].*)
- + cat <<EOF 1>&2
- +
- +*** Warning: Releases of GCC earlier than version 3.0 cannot reliably
- +*** create self contained shared libraries on Solaris systems, without
- +*** introducing a dependency on libgcc.a. Therefore, libtool is disabling
- +*** -no-undefined support, which will at least allow you to build shared
- +*** libraries. However, you may find that when you link such libraries
- +*** into an application without using GCC, you have to manually add
- +*** \`gcc --print-libgcc-file-name\` to the link command. We urge you to
- +*** upgrade to a newer version of GCC. Another option is to rebuild your
- +*** current GCC to use the GNU linker from GNU binutils 2.9.1 or newer.
- +
- +EOF
- + no_undefined_flag=
- + ;;
- + esac
- + fi
- + # $CC -shared without GNU ld will not create a library from C++
- + # object files and a static libstdc++, better avoid it by now
- + archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
- + archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
- + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
- + hardcode_libdir_flag_spec='-R$libdir'
- + hardcode_shlibpath_var=no
- + case $host_os in
- + solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
- + *) # Supported since Solaris 2.6 (maybe 2.5.1?)
- + whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
- + esac
- + link_all_deplibs=yes
- + ;;
- +
- + sunos4*)
- + if test "x$host_vendor" = xsequent; then
- + # Use $CC to link under sequent, because it throws in some extra .o
- + # files that make .init and .fini sections work.
- + archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
- + else
- + archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
- + fi
- + hardcode_libdir_flag_spec='-L$libdir'
- + hardcode_direct=yes
- + hardcode_minus_L=yes
- + hardcode_shlibpath_var=no
- + ;;
- +
- + sysv4)
- + case $host_vendor in
- + sni)
- + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
- + hardcode_direct=yes # is this really true???
- + ;;
- + siemens)
- + ## LD is ld it makes a PLAMLIB
- + ## CC just makes a GrossModule.
- + archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
- + reload_cmds='$CC -r -o $output$reload_objs'
- + hardcode_direct=no
- + ;;
- + motorola)
- + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
- + hardcode_direct=no #Motorola manual says yes, but my tests say they lie
- + ;;
- + esac
- + runpath_var='LD_RUN_PATH'
- + hardcode_shlibpath_var=no
- + ;;
- +
- + sysv4.3*)
- + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
- + hardcode_shlibpath_var=no
- + export_dynamic_flag_spec='-Bexport'
- + ;;
- +
- + sysv5*)
- + no_undefined_flag=' -z text'
- + # $CC -shared without GNU ld will not create a library from C++
- + # object files and a static libstdc++, better avoid it by now
- + archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
- + archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
- + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
- + hardcode_libdir_flag_spec=
- + hardcode_shlibpath_var=no
- + runpath_var='LD_RUN_PATH'
- + ;;
- +
- + uts4*)
- + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
- + hardcode_libdir_flag_spec='-L$libdir'
- + hardcode_shlibpath_var=no
- + ;;
- +
- + dgux*)
- + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
- + hardcode_libdir_flag_spec='-L$libdir'
- + hardcode_shlibpath_var=no
- + ;;
- +
- + sysv4*MP*)
- + if test -d /usr/nec; then
- + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
- + hardcode_shlibpath_var=no
- + runpath_var=LD_RUN_PATH
- + hardcode_runpath_var=yes
- + ld_shlibs=yes
- + fi
- + ;;
- +
- + sysv4.2uw2*)
- + archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
- + hardcode_direct=yes
- + hardcode_minus_L=no
- + hardcode_shlibpath_var=no
- + hardcode_runpath_var=yes
- + runpath_var=LD_RUN_PATH
- + ;;
- +
- + sysv5uw7* | unixware7*)
- + no_undefined_flag='${wl}-z ${wl}text'
- + if test "$GCC" = yes; then
- + archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
- + else
- + archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
- + fi
- + runpath_var='LD_RUN_PATH'
- + hardcode_shlibpath_var=no
- + ;;
- +
- + *)
- + ld_shlibs=no
- + ;;
- + esac
- +fi
- +AC_MSG_RESULT([$ld_shlibs])
- +test "$ld_shlibs" = no && can_build_shared=no
- +
- +# Check hardcoding attributes.
- +AC_MSG_CHECKING([how to hardcode library paths into programs])
- +hardcode_action=
- +if test -n "$hardcode_libdir_flag_spec" || \
- + test -n "$runpath_var"; then
- +
- + # We can hardcode non-existant directories.
- + if test "$hardcode_direct" != no &&
- + # If the only mechanism to avoid hardcoding is shlibpath_var, we
- + # have to relink, otherwise we might link with an installed library
- + # when we should be linking with a yet-to-be-installed one
- + ## test "$hardcode_shlibpath_var" != no &&
- + test "$hardcode_minus_L" != no; then
- + # Linking always hardcodes the temporary library directory.
- + hardcode_action=relink
- + else
- + # We can link without hardcoding, and we can hardcode nonexisting dirs.
- + hardcode_action=immediate
- + fi
- +else
- + # We cannot hardcode anything, or else we can only hardcode existing
- + # directories.
- + hardcode_action=unsupported
- +fi
- +AC_MSG_RESULT([$hardcode_action])
- +
- +striplib=
- +old_striplib=
- +AC_MSG_CHECKING([whether stripping libraries is possible])
- +if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
- + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
- + test -z "$striplib" && striplib="$STRIP --strip-unneeded"
- + AC_MSG_RESULT([yes])
- +else
- + AC_MSG_RESULT([no])
- +fi
- +
- +reload_cmds='$LD$reload_flag -o $output$reload_objs'
- +test -z "$deplibs_check_method" && deplibs_check_method=unknown
- +
- +# PORTME Fill in your ld.so characteristics
- +AC_MSG_CHECKING([dynamic linker characteristics])
- +library_names_spec=
- +libname_spec='lib$name'
- +soname_spec=
- +postinstall_cmds=
- +postuninstall_cmds=
- +finish_cmds=
- +finish_eval=
- +shlibpath_var=
- +shlibpath_overrides_runpath=unknown
- +version_type=none
- +dynamic_linker="$host_os ld.so"
- +sys_lib_dlsearch_path_spec="/lib /usr/lib"
- +sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
- +
- +case $host_os in
- +aix3*)
- + version_type=linux
- + library_names_spec='${libname}${release}.so$versuffix $libname.a'
- + shlibpath_var=LIBPATH
- +
- + # AIX has no versioning support, so we append a major version to the name.
- + soname_spec='${libname}${release}.so$major'
- + ;;
- +
- +aix4* | aix5*)
- + version_type=linux
- + need_lib_prefix=no
- + need_version=no
- + hardcode_into_libs=yes
- + if test "$host_cpu" = ia64; then
- + # AIX 5 supports IA64
- + library_names_spec='${libname}${release}.so$major ${libname}${release}.so$versuffix $libname.so'
- + shlibpath_var=LD_LIBRARY_PATH
- + else
- + # With GCC up to 2.95.x, collect2 would create an import file
- + # for dependence libraries. The import file would start with
- + # the line `#! .'. This would cause the generated library to
- + # depend on `.', always an invalid library. This was fixed in
- + # development snapshots of GCC prior to 3.0.
- + case $host_os in
- + aix4 | aix4.[[01]] | aix4.[[01]].*)
- + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
- + echo ' yes '
- + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
- + :
- + else
- + can_build_shared=no
- + fi
- + ;;
- + esac
- + # AIX (on Power*) has no versioning support, so currently we can
- + # not hardcode correct soname into executable. Probably we can
- + # add versioning support to collect2, so additional links can
- + # be useful in future.
- + if test "$aix_use_runtimelinking" = yes; then
- + # If using run time linking (on AIX 4.2 or later) use lib<name>.so
- + # instead of lib<name>.a to let people know that these are not
- + # typical AIX shared libraries.
- + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
- + else
- + # We preserve .a as extension for shared libraries through AIX4.2
- + # and later when we are not doing run time linking.
- + library_names_spec='${libname}${release}.a $libname.a'
- + soname_spec='${libname}${release}.so$major'
- + fi
- + shlibpath_var=LIBPATH
- + fi
- + hardcode_into_libs=yes
- + ;;
- +
- +amigaos*)
- + library_names_spec='$libname.ixlibrary $libname.a'
- + # Create ${libname}_ixlibrary.a entries in /sys/libs.
- + 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'
- + ;;
- +
- +beos*)
- + library_names_spec='${libname}.so'
- + dynamic_linker="$host_os ld.so"
- + shlibpath_var=LIBRARY_PATH
- + ;;
- +
- +bsdi4*)
- + version_type=linux
- + need_version=no
- + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
- + soname_spec='${libname}${release}.so$major'
- + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
- + shlibpath_var=LD_LIBRARY_PATH
- + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
- + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
- + export_dynamic_flag_spec=-rdynamic
- + # the default ld.so.conf also contains /usr/contrib/lib and
- + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
- + # libtool to hard-code these into programs
- + ;;
- +
- +cygwin* | mingw* | pw32*)
- + version_type=windows
- + need_version=no
- + need_lib_prefix=no
- + case $GCC,$host_os in
- + yes,cygwin*)
- + library_names_spec='$libname.dll.a'
- + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | sed -e 's/[[.]]/-/g'`${versuffix}.dll'
- + postinstall_cmds='dlpath=`bash 2>&1 -c '\''. $dir/${file}i;echo \$dlname'\''`~
- + dldir=$destdir/`dirname \$dlpath`~
- + test -d \$dldir || mkdir -p \$dldir~
- + $install_prog .libs/$dlname \$dldir/$dlname'
- + postuninstall_cmds='dldll=`bash 2>&1 -c '\''. $file; echo \$dlname'\''`~
- + dlpath=$dir/\$dldll~
- + $rm \$dlpath'
- + ;;
- + yes,mingw*)
- + library_names_spec='${libname}`echo ${release} | sed -e 's/[[.]]/-/g'`${versuffix}.dll'
- + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s/;/ /g" -e "s,=/,/,g"`
- + ;;
- + yes,pw32*)
- + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll'
- + ;;
- + *)
- + library_names_spec='${libname}`echo ${release} | sed -e 's/[[.]]/-/g'`${versuffix}.dll $libname.lib'
- + ;;
- + esac
- + dynamic_linker='Win32 ld.exe'
- + # FIXME: first we should search . and the directory the executable is in
- + shlibpath_var=PATH
- + ;;
- +
- +darwin* | rhapsody*)
- + dynamic_linker="$host_os dyld"
- + version_type=darwin
- + need_lib_prefix=no
- + need_version=no
- + # FIXME: Relying on posixy $() will cause problems for
- + # cross-compilation, but unfortunately the echo tests do not
- + # yet detect zsh echo's removal of \ escapes.
- + library_names_spec='${libname}${release}${versuffix}.$(test .$module = .yes && echo so || echo dylib) ${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib) ${libname}.$(test .$module = .yes && echo so || echo dylib)'
- + soname_spec='${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib)'
- + shlibpath_overrides_runpath=yes
- + shlibpath_var=DYLD_LIBRARY_PATH
- + ;;
- +
- +freebsd1*)
- + dynamic_linker=no
- + ;;
- +
- +kfreebsd*-gnu*)
- + version_type=linux
- + need_lib_prefix=no
- + need_version=no
- + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
- + soname_spec='${libname}${release}.so$major'
- + shlibpath_var=LD_LIBRARY_PATH
- + shlibpath_overrides_runpath=no
- + hardcode_into_libs=yes
- + dynamic_linker='GNU/FreeBSD ld.so'
- + ;;
- +
- +freebsd*)
- + objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
- + version_type=freebsd-$objformat
- + case $version_type in
- + freebsd-elf*)
- + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so'
- + need_version=no
- + need_lib_prefix=no
- + ;;
- + freebsd-*)
- + library_names_spec='${libname}${release}.so$versuffix $libname.so$versuffix'
- + need_version=yes
- + ;;
- + esac
- + shlibpath_var=LD_LIBRARY_PATH
- + case $host_os in
- + freebsd2*)
- + shlibpath_overrides_runpath=yes
- + ;;
- + *)
- + shlibpath_overrides_runpath=no
- + hardcode_into_libs=yes
- + ;;
- + esac
- + ;;
- +
- +gnu*)
- + version_type=linux
- + need_lib_prefix=no
- + need_version=no
- + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so${major} ${libname}.so'
- + soname_spec='${libname}${release}.so$major'
- + shlibpath_var=LD_LIBRARY_PATH
- + hardcode_into_libs=yes
- + ;;
- +
- +hpux9* | hpux10* | hpux11*)
- + # Give a soname corresponding to the major version so that dld.sl refuses to
- + # link against other versions.
- + dynamic_linker="$host_os dld.sl"
- + version_type=sunos
- + need_lib_prefix=no
- + need_version=no
- + shlibpath_var=SHLIB_PATH
- + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
- + library_names_spec='${libname}${release}.sl$versuffix ${libname}${release}.sl$major $libname.sl'
- + soname_spec='${libname}${release}.sl$major'
- + # HP-UX runs *really* slowly unless shared libraries are mode 555.
- + postinstall_cmds='chmod 555 $lib'
- + ;;
- +
- +irix5* | irix6* | nonstopux*)
- + case $host_os in
- + nonstopux*) version_type=nonstopux ;;
- + *) version_type=irix ;;
- + esac
- + need_lib_prefix=no
- + need_version=no
- + soname_spec='${libname}${release}.so$major'
- + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so $libname.so'
- + case $host_os in
- + irix5* | nonstopux*)
- + libsuff= shlibsuff=
- + ;;
- + *)
- + case $LD in # libtool.m4 will add one of these switches to LD
- + *-32|*"-32 ") libsuff= shlibsuff= libmagic=32-bit;;
- + *-n32|*"-n32 ") libsuff=32 shlibsuff=N32 libmagic=N32;;
- + *-64|*"-64 ") libsuff=64 shlibsuff=64 libmagic=64-bit;;
- + *) libsuff= shlibsuff= libmagic=never-match;;
- + esac
- + ;;
- + esac
- + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
- + shlibpath_overrides_runpath=no
- + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
- + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
- + ;;
- +
- +# No shared lib support for Linux oldld, aout, or coff.
- +linux-gnuoldld* | linux-gnuaout* | linux-gnucoff*)
- + dynamic_linker=no
- + ;;
- +
- +# This must be Linux ELF.
- +linux-gnu*)
- + version_type=linux
- + need_lib_prefix=no
- + need_version=no
- + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
- + soname_spec='${libname}${release}.so$major'
- + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
- + shlibpath_var=LD_LIBRARY_PATH
- + shlibpath_overrides_runpath=no
- + # This implies no fast_install, which is unacceptable.
- + # Some rework will be needed to allow for fast_install
- + # before this can be enabled.
- + hardcode_into_libs=yes
- +
- + # We used to test for /lib/ld.so.1 and disable shared libraries on
- + # powerpc, because MkLinux only supported shared libraries with the
- + # GNU dynamic linker. Since this was broken with cross compilers,
- + # most powerpc-linux boxes support dynamic linking these days and
- + # people can always --disable-shared, the test was removed, and we
- + # assume the GNU/Linux dynamic linker is in use.
- + dynamic_linker='GNU/Linux ld.so'
- + ;;
- +
- +netbsd*)
- + version_type=sunos
- + need_lib_prefix=no
- + need_version=no
- + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
- + library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
- + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
- + dynamic_linker='NetBSD (a.out) ld.so'
- + else
- + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so ${libname}.so'
- + soname_spec='${libname}${release}.so$major'
- + dynamic_linker='NetBSD ld.elf_so'
- + fi
- + shlibpath_var=LD_LIBRARY_PATH
- + shlibpath_overrides_runpath=yes
- + hardcode_into_libs=yes
- + ;;
- +
- +newsos6)
- + version_type=linux
- + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
- + shlibpath_var=LD_LIBRARY_PATH
- + shlibpath_overrides_runpath=yes
- + ;;
- +
- +openbsd*)
- + version_type=sunos
- + need_lib_prefix=no
- + need_version=no
- + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
- + case "$host_os" in
- + openbsd2.[[89]] | openbsd2.[[89]].*)
- + shlibpath_overrides_runpath=no
- + ;;
- + *)
- + shlibpath_overrides_runpath=yes
- + ;;
- + esac
- + else
- + shlibpath_overrides_runpath=yes
- + fi
- + library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
- + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
- + shlibpath_var=LD_LIBRARY_PATH
- + ;;
- +
- +os2*)
- + libname_spec='$name'
- + need_lib_prefix=no
- + library_names_spec='$libname.dll $libname.a'
- + dynamic_linker='OS/2 ld.exe'
- + shlibpath_var=LIBPATH
- + ;;
- +
- +osf3* | osf4* | osf5*)
- + version_type=osf
- + need_version=no
- + need_lib_prefix=no
- + soname_spec='${libname}${release}.so$major'
- + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
- + shlibpath_var=LD_LIBRARY_PATH
- + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
- + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
- + hardcode_into_libs=yes
- + ;;
- +
- +sco3.2v5*)
- + version_type=osf
- + soname_spec='${libname}${release}.so$major'
- + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
- + shlibpath_var=LD_LIBRARY_PATH
- + ;;
- +
- +solaris*)
- + version_type=linux
- + need_lib_prefix=no
- + need_version=no
- + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
- + soname_spec='${libname}${release}.so$major'
- + shlibpath_var=LD_LIBRARY_PATH
- + shlibpath_overrides_runpath=yes
- + hardcode_into_libs=yes
- + # ldd complains unless libraries are executable
- + postinstall_cmds='chmod +x $lib'
- + ;;
- +
- +sunos4*)
- + version_type=sunos
- + library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
- + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
- + shlibpath_var=LD_LIBRARY_PATH
- + shlibpath_overrides_runpath=yes
- + if test "$with_gnu_ld" = yes; then
- + need_lib_prefix=no
- + fi
- + need_version=yes
- + ;;
- +
- +sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
- + version_type=linux
- + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
- + soname_spec='${libname}${release}.so$major'
- + shlibpath_var=LD_LIBRARY_PATH
- + case $host_vendor in
- + sni)
- + shlibpath_overrides_runpath=no
- + need_lib_prefix=no
- + export_dynamic_flag_spec='${wl}-Blargedynsym'
- + runpath_var=LD_RUN_PATH
- + ;;
- + siemens)
- + need_lib_prefix=no
- + ;;
- + motorola)
- + need_lib_prefix=no
- + need_version=no
- + shlibpath_overrides_runpath=no
- + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
- + ;;
- + esac
- + ;;
- +
- +uts4*)
- + version_type=linux
- + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
- + soname_spec='${libname}${release}.so$major'
- + shlibpath_var=LD_LIBRARY_PATH
- + ;;
- +
- +dgux*)
- + version_type=linux
- + need_lib_prefix=no
- + need_version=no
- + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
- + soname_spec='${libname}${release}.so$major'
- + shlibpath_var=LD_LIBRARY_PATH
- + ;;
- +
- +sysv4*MP*)
- + if test -d /usr/nec ;then
- + version_type=linux
- + library_names_spec='$libname.so.$versuffix $libname.so.$major $libname.so'
- + soname_spec='$libname.so.$major'
- + shlibpath_var=LD_LIBRARY_PATH
- + fi
- + ;;
- +
- +*)
- + dynamic_linker=no
- + ;;
- +esac
- +AC_MSG_RESULT([$dynamic_linker])
- +test "$dynamic_linker" = no && can_build_shared=no
- +
- +# Report the final consequences.
- +AC_MSG_CHECKING([if libtool supports shared libraries])
- +AC_MSG_RESULT([$can_build_shared])
- +
- +AC_MSG_CHECKING([whether to build shared libraries])
- +test "$can_build_shared" = "no" && enable_shared=no
- +
- +# On AIX, shared libraries and static libraries use the same namespace, and
- +# are all built from PIC.
- +case "$host_os" in
- +aix3*)
- + test "$enable_shared" = yes && enable_static=no
- + if test -n "$RANLIB"; then
- + archive_cmds="$archive_cmds~\$RANLIB \$lib"
- + postinstall_cmds='$RANLIB $lib'
- + fi
- + ;;
- +
- +aix4*)
- + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
- + test "$enable_shared" = yes && enable_static=no
- + fi
- + ;;
- +esac
- +AC_MSG_RESULT([$enable_shared])
- +
- +AC_MSG_CHECKING([whether to build static libraries])
- +# Make sure either enable_shared or enable_static is yes.
- +test "$enable_shared" = yes || enable_static=yes
- +AC_MSG_RESULT([$enable_static])
- +
- +if test "$hardcode_action" = relink; then
- + # Fast installation is not supported
- + enable_fast_install=no
- +elif test "$shlibpath_overrides_runpath" = yes ||
- + test "$enable_shared" = no; then
- + # Fast installation is not necessary
- + enable_fast_install=needless
- +fi
- +
- +variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
- +if test "$GCC" = yes; then
- + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
- +fi
- +
- +AC_LIBTOOL_DLOPEN_SELF
- +
- +if test "$enable_shared" = yes && test "$GCC" = yes; then
- + case $archive_cmds in
- + *'~'*)
- + # FIXME: we may have to deal with multi-command sequences.
- + ;;
- + '$CC '*)
- + # Test whether the compiler implicitly links with -lc since on some
- + # systems, -lgcc has to come before -lc. If gcc already passes -lc
- + # to ld, don't add -lc before -lgcc.
- + AC_MSG_CHECKING([whether -lc should be explicitly linked in])
- + AC_CACHE_VAL([lt_cv_archive_cmds_need_lc],
- + [$rm conftest*
- + echo 'static int dummy;' > conftest.$ac_ext
- +
- + if AC_TRY_EVAL(ac_compile); then
- + soname=conftest
- + lib=conftest
- + libobjs=conftest.$ac_objext
- + deplibs=
- + wl=$lt_cv_prog_cc_wl
- + compiler_flags=-v
- + linker_flags=-v
- + verstring=
- + output_objdir=.
- + libname=conftest
- + save_allow_undefined_flag=$allow_undefined_flag
- + allow_undefined_flag=
- + if AC_TRY_EVAL(archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1)
- + then
- + lt_cv_archive_cmds_need_lc=no
- + else
- + lt_cv_archive_cmds_need_lc=yes
- + fi
- + allow_undefined_flag=$save_allow_undefined_flag
- + else
- + cat conftest.err 1>&5
- + fi])
- + AC_MSG_RESULT([$lt_cv_archive_cmds_need_lc])
- + ;;
- + esac
- +fi
- +need_lc=${lt_cv_archive_cmds_need_lc-yes}
- +
- +# The second clause should only fire when bootstrapping the
- +# libtool distribution, otherwise you forgot to ship ltmain.sh
- +# with your package, and you will get complaints that there are
- +# no rules to generate ltmain.sh.
- +if test -f "$ltmain"; then
- + :
- +else
- + # If there is no Makefile yet, we rely on a make rule to execute
- + # `config.status --recheck' to rerun these tests and create the
- + # libtool script then.
- + test -f Makefile && make "$ltmain"
- +fi
- +
- +if test -f "$ltmain"; then
- + trap "$rm \"${ofile}T\"; exit 1" 1 2 15
- + $rm -f "${ofile}T"
- +
- + echo creating $ofile
- +
- + # Now quote all the things that may contain metacharacters while being
- + # careful not to overquote the AC_SUBSTed values. We take copies of the
- + # variables and quote the copies for generation of the libtool script.
- + for var in echo old_CC old_CFLAGS SED \
- + AR AR_FLAGS CC LD LN_S NM SHELL \
- + reload_flag reload_cmds wl \
- + pic_flag link_static_flag no_builtin_flag export_dynamic_flag_spec \
- + thread_safe_flag_spec whole_archive_flag_spec libname_spec \
- + library_names_spec soname_spec \
- + RANLIB old_archive_cmds old_archive_from_new_cmds old_postinstall_cmds \
- + old_postuninstall_cmds archive_cmds archive_expsym_cmds postinstall_cmds \
- + postuninstall_cmds extract_expsyms_cmds old_archive_from_expsyms_cmds \
- + old_striplib striplib file_magic_cmd export_symbols_cmds \
- + deplibs_check_method allow_undefined_flag no_undefined_flag \
- + finish_cmds finish_eval global_symbol_pipe global_symbol_to_cdecl \
- + global_symbol_to_c_name_address \
- + hardcode_libdir_flag_spec hardcode_libdir_separator \
- + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
- + compiler_c_o compiler_o_lo need_locks exclude_expsyms include_expsyms; do
- +
- + case $var in
- + reload_cmds | old_archive_cmds | old_archive_from_new_cmds | \
- + old_postinstall_cmds | old_postuninstall_cmds | \
- + export_symbols_cmds | archive_cmds | archive_expsym_cmds | \
- + extract_expsyms_cmds | old_archive_from_expsyms_cmds | \
- + postinstall_cmds | postuninstall_cmds | \
- + finish_cmds | sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
- + # Double-quote double-evaled strings.
- + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
- + ;;
- + *)
- + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
- + ;;
- + esac
- + done
- +
- + cat <<__EOF__ > "${ofile}T"
- +#! $SHELL
- +
- +# `$echo "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
- +# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
- +# NOTE: Changes made to this file will be lost: look at ltmain.sh.
- +#
- +# Copyright (C) 1996-2000 Free Software Foundation, Inc.
- +# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
- +#
- +# This program is free software; you can redistribute it and/or modify
- +# it under the terms of the GNU General Public License as published by
- +# the Free Software Foundation; either version 2 of the License, or
- +# (at your option) any later version.
- +#
- +# This program is distributed in the hope that it will be useful, but
- +# WITHOUT ANY WARRANTY; without even the implied warranty of
- +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- +# General Public License for more details.
- +#
- +# You should have received a copy of the GNU General Public License
- +# along with this program; if not, write to the Free Software
- +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
- +#
- +# As a special exception to the GNU General Public License, if you
- +# distribute this file as part of a program that contains a
- +# configuration script generated by Autoconf, you may include it under
- +# the same distribution terms that you use for the rest of that program.
- +
- +# A sed that does not truncate output.
- +SED=$lt_SED
- +
- +# Sed that helps us avoid accidentally triggering echo(1) options like -n.
- +Xsed="${SED} -e s/^X//"
- +
- +# The HP-UX ksh and POSIX shell print the target directory to stdout
- +# if CDPATH is set.
- +if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
- +
- +# ### BEGIN LIBTOOL CONFIG
- +
- +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
- +
- +# Shell to use when invoking shell scripts.
- +SHELL=$lt_SHELL
- +
- +# Whether or not to build shared libraries.
- +build_libtool_libs=$enable_shared
- +
- +# Whether or not to build static libraries.
- +build_old_libs=$enable_static
- +
- +# Whether or not to add -lc for building shared libraries.
- +build_libtool_need_lc=$need_lc
- +
- +# Whether or not to optimize for fast installation.
- +fast_install=$enable_fast_install
- +
- +# The host system.
- +host_alias=$host_alias
- +host=$host
- +
- +# An echo program that does not interpret backslashes.
- +echo=$lt_echo
- +
- +# The archiver.
- +AR=$lt_AR
- +AR_FLAGS=$lt_AR_FLAGS
- +
- +# The default C compiler.
- +CC=$lt_CC
- +
- +# Is the compiler the GNU C compiler?
- +with_gcc=$GCC
- +
- +# The linker used to build libraries.
- +LD=$lt_LD
- +
- +# Whether we need hard or soft links.
- +LN_S=$lt_LN_S
- +
- +# A BSD-compatible nm program.
- +NM=$lt_NM
- +
- +# A symbol stripping program
- +STRIP="$STRIP"
- +
- +# Used to examine libraries when file_magic_cmd begins "file"
- +MAGIC_CMD=$MAGIC_CMD
- +
- +# Used on cygwin: DLL creation program.
- +DLLTOOL="$DLLTOOL"
- +
- +# Used on cygwin: object dumper.
- +OBJDUMP="$OBJDUMP"
- +
- +# Used on cygwin: assembler.
- +AS="$AS"
- +
- +# The name of the directory that contains temporary libtool files.
- +objdir=$objdir
- +
- +# How to create reloadable object files.
- +reload_flag=$lt_reload_flag
- +reload_cmds=$lt_reload_cmds
- +
- +# How to pass a linker flag through the compiler.
- +wl=$lt_wl
- +
- +# Object file suffix (normally "o").
- +objext="$ac_objext"
- +
- +# Old archive suffix (normally "a").
- +libext="$libext"
- +
- +# Executable file suffix (normally "").
- +exeext="$exeext"
- +
- +# Additional compiler flags for building library objects.
- +pic_flag=$lt_pic_flag
- +pic_mode=$pic_mode
- +
- +# Does compiler simultaneously support -c and -o options?
- +compiler_c_o=$lt_compiler_c_o
- +
- +# Can we write directly to a .lo ?
- +compiler_o_lo=$lt_compiler_o_lo
- +
- +# Must we lock files when doing compilation ?
- +need_locks=$lt_need_locks
- +
- +# Do we need the lib prefix for modules?
- +need_lib_prefix=$need_lib_prefix
- +
- +# Do we need a version for libraries?
- +need_version=$need_version
- +
- +# Whether dlopen is supported.
- +dlopen_support=$enable_dlopen
- +
- +# Whether dlopen of programs is supported.
- +dlopen_self=$enable_dlopen_self
- +
- +# Whether dlopen of statically linked programs is supported.
- +dlopen_self_static=$enable_dlopen_self_static
- +
- +# Compiler flag to prevent dynamic linking.
- +link_static_flag=$lt_link_static_flag
- +
- +# Compiler flag to turn off builtin functions.
- +no_builtin_flag=$lt_no_builtin_flag
- +
- +# Compiler flag to allow reflexive dlopens.
- +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
- +
- +# Compiler flag to generate shared objects directly from archives.
- +whole_archive_flag_spec=$lt_whole_archive_flag_spec
- +
- +# Compiler flag to generate thread-safe objects.
- +thread_safe_flag_spec=$lt_thread_safe_flag_spec
- +
- +# Library versioning type.
- +version_type=$version_type
- +
- +# Format of library name prefix.
- +libname_spec=$lt_libname_spec
- +
- +# List of archive names. First name is the real one, the rest are links.
- +# The last name is the one that the linker finds with -lNAME.
- +library_names_spec=$lt_library_names_spec
- +
- +# The coded name of the library, if different from the real name.
- +soname_spec=$lt_soname_spec
- +
- +# Commands used to build and install an old-style archive.
- +RANLIB=$lt_RANLIB
- +old_archive_cmds=$lt_old_archive_cmds
- +old_postinstall_cmds=$lt_old_postinstall_cmds
- +old_postuninstall_cmds=$lt_old_postuninstall_cmds
- +
- +# Create an old-style archive from a shared archive.
- +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
- +
- +# Create a temporary old-style archive to link instead of a shared archive.
- +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
- +
- +# Commands used to build and install a shared archive.
- +archive_cmds=$lt_archive_cmds
- +archive_expsym_cmds=$lt_archive_expsym_cmds
- +postinstall_cmds=$lt_postinstall_cmds
- +postuninstall_cmds=$lt_postuninstall_cmds
- +
- +# Commands to strip libraries.
- +old_striplib=$lt_old_striplib
- +striplib=$lt_striplib
- +
- +# Method to check whether dependent libraries are shared objects.
- +deplibs_check_method=$lt_deplibs_check_method
- +
- +# Command to use when deplibs_check_method == file_magic.
- +file_magic_cmd=$lt_file_magic_cmd
- +
- +# Flag that allows shared libraries with undefined symbols to be built.
- +allow_undefined_flag=$lt_allow_undefined_flag
- +
- +# Flag that forces no undefined symbols.
- +no_undefined_flag=$lt_no_undefined_flag
- +
- +# Commands used to finish a libtool library installation in a directory.
- +finish_cmds=$lt_finish_cmds
- +
- +# Same as above, but a single script fragment to be evaled but not shown.
- +finish_eval=$lt_finish_eval
- +
- +# Take the output of nm and produce a listing of raw symbols and C names.
- +global_symbol_pipe=$lt_global_symbol_pipe
- +
- +# Transform the output of nm in a proper C declaration
- +global_symbol_to_cdecl=$lt_global_symbol_to_cdecl
- +
- +# Transform the output of nm in a C name address pair
- +global_symbol_to_c_name_address=$lt_global_symbol_to_c_name_address
- +
- +# This is the shared library runtime path variable.
- +runpath_var=$runpath_var
- +
- +# This is the shared library path variable.
- +shlibpath_var=$shlibpath_var
- +
- +# Is shlibpath searched before the hard-coded library search path?
- +shlibpath_overrides_runpath=$shlibpath_overrides_runpath
- +
- +# How to hardcode a shared library path into an executable.
- +hardcode_action=$hardcode_action
- +
- +# Whether we should hardcode library paths into libraries.
- +hardcode_into_libs=$hardcode_into_libs
- +
- +# Flag to hardcode \$libdir into a binary during linking.
- +# This must work even if \$libdir does not exist.
- +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
- +
- +# Whether we need a single -rpath flag with a separated argument.
- +hardcode_libdir_separator=$lt_hardcode_libdir_separator
- +
- +# Set to yes if using DIR/libNAME.so during linking hardcodes DIR into the
- +# resulting binary.
- +hardcode_direct=$hardcode_direct
- +
- +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
- +# resulting binary.
- +hardcode_minus_L=$hardcode_minus_L
- +
- +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
- +# the resulting binary.
- +hardcode_shlibpath_var=$hardcode_shlibpath_var
- +
- +# Variables whose values should be saved in libtool wrapper scripts and
- +# restored at relink time.
- +variables_saved_for_relink="$variables_saved_for_relink"
- +
- +# Whether libtool must link a program against all its dependency libraries.
- +link_all_deplibs=$link_all_deplibs
- +
- +# Compile-time system search path for libraries
- +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
- +
- +# Run-time system search path for libraries
- +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
- +
- +# Fix the shell variable \$srcfile for the compiler.
- +fix_srcfile_path="$fix_srcfile_path"
- +
- +# Set to yes if exported symbols are required.
- +always_export_symbols=$always_export_symbols
- +
- +# The commands to list exported symbols.
- +export_symbols_cmds=$lt_export_symbols_cmds
- +
- +# The commands to extract the exported symbol list from a shared archive.
- +extract_expsyms_cmds=$lt_extract_expsyms_cmds
- +
- +# Symbols that should not be listed in the preloaded symbols.
- +exclude_expsyms=$lt_exclude_expsyms
- +
- +# Symbols that must always be exported.
- +include_expsyms=$lt_include_expsyms
- +
- +# ### END LIBTOOL CONFIG
- +
- +__EOF__
- +
- + case $host_os in
- + aix3*)
- + cat <<\EOF >> "${ofile}T"
- +
- +# AIX sometimes has problems with the GCC collect2 program. For some
- +# reason, if we set the COLLECT_NAMES environment variable, the problems
- +# vanish in a puff of smoke.
- +if test "X${COLLECT_NAMES+set}" != Xset; then
- + COLLECT_NAMES=
- + export COLLECT_NAMES
- +fi
- +EOF
- + ;;
- + esac
- +
- + case $host_os in
- + cygwin* | mingw* | pw32* | os2*)
- + cat <<'EOF' >> "${ofile}T"
- + # This is a source program that is used to create dlls on Windows
- + # Don't remove nor modify the starting and closing comments
- +# /* ltdll.c starts here */
- +# #define WIN32_LEAN_AND_MEAN
- +# #include <windows.h>
- +# #undef WIN32_LEAN_AND_MEAN
- +# #include <stdio.h>
- +#
- +# #ifndef __CYGWIN__
- +# # ifdef __CYGWIN32__
- +# # define __CYGWIN__ __CYGWIN32__
- +# # endif
- +# #endif
- +#
- +# #ifdef __cplusplus
- +# extern "C" {
- +# #endif
- +# BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved);
- +# #ifdef __cplusplus
- +# }
- +# #endif
- +#
- +# #ifdef __CYGWIN__
- +# #include <cygwin/cygwin_dll.h>
- +# DECLARE_CYGWIN_DLL( DllMain );
- +# #endif
- +# HINSTANCE __hDllInstance_base;
- +#
- +# BOOL APIENTRY
- +# DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved)
- +# {
- +# __hDllInstance_base = hInst;
- +# return TRUE;
- +# }
- +# /* ltdll.c ends here */
- + # This is a source program that is used to create import libraries
- + # on Windows for dlls which lack them. Don't remove nor modify the
- + # starting and closing comments
- +# /* impgen.c starts here */
- +# /* Copyright (C) 1999-2000 Free Software Foundation, Inc.
- +#
- +# This file is part of GNU libtool.
- +#
- +# This program is free software; you can redistribute it and/or modify
- +# it under the terms of the GNU General Public License as published by
- +# the Free Software Foundation; either version 2 of the License, or
- +# (at your option) any later version.
- +#
- +# This program is distributed in the hope that it will be useful,
- +# but WITHOUT ANY WARRANTY; without even the implied warranty of
- +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- +# GNU General Public License for more details.
- +#
- +# You should have received a copy of the GNU General Public License
- +# along with this program; if not, write to the Free Software
- +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
- +# */
- +#
- +# #include <stdio.h> /* for printf() */
- +# #include <unistd.h> /* for open(), lseek(), read() */
- +# #include <fcntl.h> /* for O_RDONLY, O_BINARY */
- +# #include <string.h> /* for strdup() */
- +#
- +# /* O_BINARY isn't required (or even defined sometimes) under Unix */
- +# #ifndef O_BINARY
- +# #define O_BINARY 0
- +# #endif
- +#
- +# static unsigned int
- +# pe_get16 (fd, offset)
- +# int fd;
- +# int offset;
- +# {
- +# unsigned char b[2];
- +# lseek (fd, offset, SEEK_SET);
- +# read (fd, b, 2);
- +# return b[0] + (b[1]<<8);
- +# }
- +#
- +# static unsigned int
- +# pe_get32 (fd, offset)
- +# int fd;
- +# int offset;
- +# {
- +# unsigned char b[4];
- +# lseek (fd, offset, SEEK_SET);
- +# read (fd, b, 4);
- +# return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24);
- +# }
- +#
- +# static unsigned int
- +# pe_as32 (ptr)
- +# void *ptr;
- +# {
- +# unsigned char *b = ptr;
- +# return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24);
- +# }
- +#
- +# int
- +# main (argc, argv)
- +# int argc;
- +# char *argv[];
- +# {
- +# int dll;
- +# unsigned long pe_header_offset, opthdr_ofs, num_entries, i;
- +# unsigned long export_rva, export_size, nsections, secptr, expptr;
- +# unsigned long name_rvas, nexp;
- +# unsigned char *expdata, *erva;
- +# char *filename, *dll_name;
- +#
- +# filename = argv[1];
- +#
- +# dll = open(filename, O_RDONLY|O_BINARY);
- +# if (dll < 1)
- +# return 1;
- +#
- +# dll_name = filename;
- +#
- +# for (i=0; filename[i]; i++)
- +# if (filename[i] == '/' || filename[i] == '\\' || filename[i] == ':')
- +# dll_name = filename + i +1;
- +#
- +# pe_header_offset = pe_get32 (dll, 0x3c);
- +# opthdr_ofs = pe_header_offset + 4 + 20;
- +# num_entries = pe_get32 (dll, opthdr_ofs + 92);
- +#
- +# if (num_entries < 1) /* no exports */
- +# return 1;
- +#
- +# export_rva = pe_get32 (dll, opthdr_ofs + 96);
- +# export_size = pe_get32 (dll, opthdr_ofs + 100);
- +# nsections = pe_get16 (dll, pe_header_offset + 4 +2);
- +# secptr = (pe_header_offset + 4 + 20 +
- +# pe_get16 (dll, pe_header_offset + 4 + 16));
- +#
- +# expptr = 0;
- +# for (i = 0; i < nsections; i++)
- +# {
- +# char sname[8];
- +# unsigned long secptr1 = secptr + 40 * i;
- +# unsigned long vaddr = pe_get32 (dll, secptr1 + 12);
- +# unsigned long vsize = pe_get32 (dll, secptr1 + 16);
- +# unsigned long fptr = pe_get32 (dll, secptr1 + 20);
- +# lseek(dll, secptr1, SEEK_SET);
- +# read(dll, sname, 8);
- +# if (vaddr <= export_rva && vaddr+vsize > export_rva)
- +# {
- +# expptr = fptr + (export_rva - vaddr);
- +# if (export_rva + export_size > vaddr + vsize)
- +# export_size = vsize - (export_rva - vaddr);
- +# break;
- +# }
- +# }
- +#
- +# expdata = (unsigned char*)malloc(export_size);
- +# lseek (dll, expptr, SEEK_SET);
- +# read (dll, expdata, export_size);
- +# erva = expdata - export_rva;
- +#
- +# nexp = pe_as32 (expdata+24);
- +# name_rvas = pe_as32 (expdata+32);
- +#
- +# printf ("EXPORTS\n");
- +# for (i = 0; i<nexp; i++)
- +# {
- +# unsigned long name_rva = pe_as32 (erva+name_rvas+i*4);
- +# printf ("\t%s @ %ld ;\n", erva+name_rva, 1+ i);
- +# }
- +#
- +# return 0;
- +# }
- +# /* impgen.c ends here */
- +
- +EOF
- + ;;
- + esac
- +
- + # We use sed instead of cat because bash on DJGPP gets confused if
- + # if finds mixed CR/LF and LF-only lines. Since sed operates in
- + # text mode, it properly converts lines to CR/LF. This bash problem
- + # is reportedly fixed, but why not run on old versions too?
- + sed '$q' "$ltmain" >> "${ofile}T" || (rm -f "${ofile}T"; exit 1)
- +
- + mv -f "${ofile}T" "$ofile" || \
- + (rm -f "$ofile" && cp "${ofile}T" "$ofile" && rm -f "${ofile}T")
- + chmod +x "$ofile"
- +fi
- +
- +])# _LT_AC_LTCONFIG_HACK
-
- # AC_LIBTOOL_DLOPEN - enable checks for dlopen support
- -AC_DEFUN(AC_LIBTOOL_DLOPEN, [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])])
- +AC_DEFUN([AC_LIBTOOL_DLOPEN], [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])])
-
- # AC_LIBTOOL_WIN32_DLL - declare package support for building win32 dll's
- -AC_DEFUN(AC_LIBTOOL_WIN32_DLL, [AC_BEFORE([$0], [AC_LIBTOOL_SETUP])])
- +AC_DEFUN([AC_LIBTOOL_WIN32_DLL], [AC_BEFORE([$0], [AC_LIBTOOL_SETUP])])
-
- # AC_ENABLE_SHARED - implement the --enable-shared flag
- # Usage: AC_ENABLE_SHARED[(DEFAULT)]
- # Where DEFAULT is either `yes' or `no'. If omitted, it defaults to
- # `yes'.
- -AC_DEFUN(AC_ENABLE_SHARED, [dnl
- -define([AC_ENABLE_SHARED_DEFAULT], ifelse($1, no, no, yes))dnl
- +AC_DEFUN([AC_ENABLE_SHARED],
- +[define([AC_ENABLE_SHARED_DEFAULT], ifelse($1, no, no, yes))dnl
- AC_ARG_ENABLE(shared,
- changequote(<<, >>)dnl
- << --enable-shared[=PKGS] build shared libraries [default=>>AC_ENABLE_SHARED_DEFAULT],
- changequote([, ])dnl
- [p=${PACKAGE-default}
- -case "$enableval" in
- +case $enableval in
- yes) enable_shared=yes ;;
- no) enable_shared=no ;;
- *)
- @@ -157,21 +2992,22 @@
- ])
-
- # AC_DISABLE_SHARED - set the default shared flag to --disable-shared
- -AC_DEFUN(AC_DISABLE_SHARED, [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
- +AC_DEFUN([AC_DISABLE_SHARED],
- +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
- AC_ENABLE_SHARED(no)])
-
- # AC_ENABLE_STATIC - implement the --enable-static flag
- # Usage: AC_ENABLE_STATIC[(DEFAULT)]
- # Where DEFAULT is either `yes' or `no'. If omitted, it defaults to
- # `yes'.
- -AC_DEFUN(AC_ENABLE_STATIC, [dnl
- -define([AC_ENABLE_STATIC_DEFAULT], ifelse($1, no, no, yes))dnl
- +AC_DEFUN([AC_ENABLE_STATIC],
- +[define([AC_ENABLE_STATIC_DEFAULT], ifelse($1, no, no, yes))dnl
- AC_ARG_ENABLE(static,
- changequote(<<, >>)dnl
- << --enable-static[=PKGS] build static libraries [default=>>AC_ENABLE_STATIC_DEFAULT],
- changequote([, ])dnl
- [p=${PACKAGE-default}
- -case "$enableval" in
- +case $enableval in
- yes) enable_static=yes ;;
- no) enable_static=no ;;
- *)
- @@ -190,7 +3026,8 @@
- ])
-
- # AC_DISABLE_STATIC - set the default static flag to --disable-static
- -AC_DEFUN(AC_DISABLE_STATIC, [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
- +AC_DEFUN([AC_DISABLE_STATIC],
- +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
- AC_ENABLE_STATIC(no)])
-
-
- @@ -198,14 +3035,14 @@
- # Usage: AC_ENABLE_FAST_INSTALL[(DEFAULT)]
- # Where DEFAULT is either `yes' or `no'. If omitted, it defaults to
- # `yes'.
- -AC_DEFUN(AC_ENABLE_FAST_INSTALL, [dnl
- -define([AC_ENABLE_FAST_INSTALL_DEFAULT], ifelse($1, no, no, yes))dnl
- +AC_DEFUN([AC_ENABLE_FAST_INSTALL],
- +[define([AC_ENABLE_FAST_INSTALL_DEFAULT], ifelse($1, no, no, yes))dnl
- AC_ARG_ENABLE(fast-install,
- changequote(<<, >>)dnl
- << --enable-fast-install[=PKGS] optimize for fast installation [default=>>AC_ENABLE_FAST_INSTALL_DEFAULT],
- changequote([, ])dnl
- [p=${PACKAGE-default}
- -case "$enableval" in
- +case $enableval in
- yes) enable_fast_install=yes ;;
- no) enable_fast_install=no ;;
- *)
- @@ -223,29 +3060,120 @@
- enable_fast_install=AC_ENABLE_FAST_INSTALL_DEFAULT)dnl
- ])
-
- -# AC_ENABLE_FAST_INSTALL - set the default to --disable-fast-install
- -AC_DEFUN(AC_DISABLE_FAST_INSTALL, [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
- +# AC_DISABLE_FAST_INSTALL - set the default to --disable-fast-install
- +AC_DEFUN([AC_DISABLE_FAST_INSTALL],
- +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
- AC_ENABLE_FAST_INSTALL(no)])
-
- +# AC_LIBTOOL_PICMODE - implement the --with-pic flag
- +# Usage: AC_LIBTOOL_PICMODE[(MODE)]
- +# Where MODE is either `yes' or `no'. If omitted, it defaults to
- +# `both'.
- +AC_DEFUN([AC_LIBTOOL_PICMODE],
- +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
- +pic_mode=ifelse($#,1,$1,default)])
- +
- +
- +# AC_PATH_TOOL_PREFIX - find a file program which can recognise shared library
- +AC_DEFUN([AC_PATH_TOOL_PREFIX],
- +[AC_MSG_CHECKING([for $1])
- +AC_CACHE_VAL(lt_cv_path_MAGIC_CMD,
- +[case $MAGIC_CMD in
- + /*)
- + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
- + ;;
- + ?:/*)
- + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
- + ;;
- + *)
- + ac_save_MAGIC_CMD="$MAGIC_CMD"
- + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
- +dnl $ac_dummy forces splitting on constant user-supplied paths.
- +dnl POSIX.2 word splitting is done only on the output of word expansions,
- +dnl not every word. This closes a longstanding sh security hole.
- + ac_dummy="ifelse([$2], , $PATH, [$2])"
- + for ac_dir in $ac_dummy; do
- + test -z "$ac_dir" && ac_dir=.
- + if test -f $ac_dir/$1; then
- + lt_cv_path_MAGIC_CMD="$ac_dir/$1"
- + if test -n "$file_magic_test_file"; then
- + case $deplibs_check_method in
- + "file_magic "*)
- + file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
- + MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
- + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
- + egrep "$file_magic_regex" > /dev/null; then
- + :
- + else
- + cat <<EOF 1>&2
- +
- +*** Warning: the command libtool uses to detect shared libraries,
- +*** $file_magic_cmd, produces output that libtool cannot recognize.
- +*** The result is that libtool may fail to recognize shared libraries
- +*** as such. This will affect the creation of libtool libraries that
- +*** depend on shared libraries, but programs linked with such libtool
- +*** libraries will work regardless of this problem. Nevertheless, you
- +*** may want to report the problem to your system manager and/or to
- +*** bug-libtool@gnu.org
- +
- +EOF
- + fi ;;
- + esac
- + fi
- + break
- + fi
- + done
- + IFS="$ac_save_ifs"
- + MAGIC_CMD="$ac_save_MAGIC_CMD"
- + ;;
- +esac])
- +MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
- +if test -n "$MAGIC_CMD"; then
- + AC_MSG_RESULT($MAGIC_CMD)
- +else
- + AC_MSG_RESULT(no)
- +fi
- +])
- +
- +
- +# AC_PATH_MAGIC - find a file program which can recognise a shared library
- +AC_DEFUN([AC_PATH_MAGIC],
- +[AC_REQUIRE([AC_CHECK_TOOL_PREFIX])dnl
- +AC_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin:$PATH)
- +if test -z "$lt_cv_path_MAGIC_CMD"; then
- + if test -n "$ac_tool_prefix"; then
- + AC_PATH_TOOL_PREFIX(file, /usr/bin:$PATH)
- + else
- + MAGIC_CMD=:
- + fi
- +fi
- +])
- +
- +
- # AC_PROG_LD - find the path to the GNU or non-GNU linker
- -AC_DEFUN(AC_PROG_LD,
- +AC_DEFUN([AC_PROG_LD],
- [AC_ARG_WITH(gnu-ld,
- [ --with-gnu-ld assume the C compiler uses GNU ld [default=no]],
- test "$withval" = no || with_gnu_ld=yes, with_gnu_ld=no)
- AC_REQUIRE([AC_PROG_CC])dnl
- AC_REQUIRE([AC_CANONICAL_HOST])dnl
- AC_REQUIRE([AC_CANONICAL_BUILD])dnl
- +AC_REQUIRE([_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR])dnl
- ac_prog=ld
- -if test "$ac_cv_prog_gcc" = yes; then
- +if test "$GCC" = yes; then
- # Check if gcc -print-prog-name=ld gives a path.
- AC_MSG_CHECKING([for ld used by GCC])
- - ac_prog=`($CC -print-prog-name=ld) 2>&5`
- - case "$ac_prog" in
- + case $host in
- + *-*-mingw*)
- + # gcc leaves a trailing carriage return which upsets mingw
- + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
- + *)
- + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
- + esac
- + case $ac_prog in
- # Accept absolute paths.
- -changequote(,)dnl
- - [\\/]* | [A-Za-z]:[\\/]*)
- - re_direlt='/[^/][^/]*/\.\./'
- -changequote([,])dnl
- + [[\\/]]* | [[A-Za-z]]:[[\\/]]*)
- + re_direlt='/[[^/]][[^/]]*/\.\./'
- # Canonicalize the path of ld
- ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
- while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
- @@ -267,17 +3195,17 @@
- else
- AC_MSG_CHECKING([for non-GNU ld])
- fi
- -AC_CACHE_VAL(ac_cv_path_LD,
- +AC_CACHE_VAL(lt_cv_path_LD,
- [if test -z "$LD"; then
- - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
- + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
- for ac_dir in $PATH; do
- test -z "$ac_dir" && ac_dir=.
- if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
- - ac_cv_path_LD="$ac_dir/$ac_prog"
- + lt_cv_path_LD="$ac_dir/$ac_prog"
- # Check to see if the program is GNU ld. I'd rather use --version,
- # but apparently some GNU ld's only accept -v.
- # Break only if it was the GNU/non-GNU ld that we prefer.
- - if "$ac_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
- + if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
- test "$with_gnu_ld" != no && break
- else
- test "$with_gnu_ld" != yes && break
- @@ -286,9 +3214,9 @@
- done
- IFS="$ac_save_ifs"
- else
- - ac_cv_path_LD="$LD" # Let the user override the test with a path.
- + lt_cv_path_LD="$LD" # Let the user override the test with a path.
- fi])
- -LD="$ac_cv_path_LD"
- +LD="$lt_cv_path_LD"
- if test -n "$LD"; then
- AC_MSG_RESULT($LD)
- else
- @@ -298,56 +3226,255 @@
- AC_PROG_LD_GNU
- ])
-
- -AC_DEFUN(AC_PROG_LD_GNU,
- -[AC_CACHE_CHECK([if the linker ($LD) is GNU ld], ac_cv_prog_gnu_ld,
- +# AC_PROG_LD_GNU -
- +AC_DEFUN([AC_PROG_LD_GNU],
- +[AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld,
- [# I'd rather use --version here, but apparently some GNU ld's only accept -v.
- if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
- - ac_cv_prog_gnu_ld=yes
- + lt_cv_prog_gnu_ld=yes
- else
- - ac_cv_prog_gnu_ld=no
- + lt_cv_prog_gnu_ld=no
- fi])
- +with_gnu_ld=$lt_cv_prog_gnu_ld
- +])
- +
- +# AC_PROG_LD_RELOAD_FLAG - find reload flag for linker
- +# -- PORTME Some linkers may need a different reload flag.
- +AC_DEFUN([AC_PROG_LD_RELOAD_FLAG],
- +[AC_CACHE_CHECK([for $LD option to reload object files], lt_cv_ld_reload_flag,
- +[lt_cv_ld_reload_flag='-r'])
- +reload_flag=$lt_cv_ld_reload_flag
- +test -n "$reload_flag" && reload_flag=" $reload_flag"
- +])
- +
- +# AC_DEPLIBS_CHECK_METHOD - how to check for library dependencies
- +# -- PORTME fill in with the dynamic library characteristics
- +AC_DEFUN([AC_DEPLIBS_CHECK_METHOD],
- +[AC_CACHE_CHECK([how to recognise dependent libraries],
- +lt_cv_deplibs_check_method,
- +[lt_cv_file_magic_cmd='$MAGIC_CMD'
- +lt_cv_file_magic_test_file=
- +lt_cv_deplibs_check_method='unknown'
- +# Need to set the preceding variable on all platforms that support
- +# interlibrary dependencies.
- +# 'none' -- dependencies not supported.
- +# `unknown' -- same as none, but documents that we really don't know.
- +# 'pass_all' -- all dependencies passed with no checks.
- +# 'test_compile' -- check by making test program.
- +# 'file_magic [[regex]]' -- check by looking for files in library path
- +# which responds to the $file_magic_cmd with a given egrep regex.
- +# If you have `file' or equivalent on your system and you're not sure
- +# whether `pass_all' will *always* work, you probably want this one.
- +
- +case $host_os in
- +aix4* | aix5*)
- + lt_cv_deplibs_check_method=pass_all
- + ;;
- +
- +beos*)
- + lt_cv_deplibs_check_method=pass_all
- + ;;
- +
- +bsdi4*)
- + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)'
- + lt_cv_file_magic_cmd='/usr/bin/file -L'
- + lt_cv_file_magic_test_file=/shlib/libc.so
- + ;;
- +
- +cygwin* | mingw* | pw32*)
- + lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
- + lt_cv_file_magic_cmd='$OBJDUMP -f'
- + ;;
- +
- +darwin* | rhapsody*)
- + lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
- + lt_cv_file_magic_cmd='/usr/bin/file -L'
- + case "$host_os" in
- + rhapsody* | darwin1.[[012]])
- + lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -1`
- + ;;
- + *) # Darwin 1.3 on
- + lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
- + ;;
- + esac
- + ;;
- +
- +freebsd*)
- + if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
- + case $host_cpu in
- + i*86 )
- + # Not sure whether the presence of OpenBSD here was a mistake.
- + # Let's accept both of them until this is cleared up.
- + lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[[3-9]]86 (compact )?demand paged shared library'
- + lt_cv_file_magic_cmd=/usr/bin/file
- + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
- + ;;
- + esac
- + else
- + lt_cv_deplibs_check_method=pass_all
- + fi
- + ;;
- +
- +gnu*)
- + lt_cv_deplibs_check_method=pass_all
- + ;;
- +
- +hpux10.20*|hpux11*)
- + lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library'
- + lt_cv_file_magic_cmd=/usr/bin/file
- + lt_cv_file_magic_test_file=/usr/lib/libc.sl
- + ;;
- +
- +irix5* | irix6* | nonstopux*)
- + case $host_os in
- + irix5* | nonstopux*)
- + # this will be overridden with pass_all, but let us keep it just in case
- + lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
- + ;;
- + *)
- + case $LD in
- + *-32|*"-32 ") libmagic=32-bit;;
- + *-n32|*"-n32 ") libmagic=N32;;
- + *-64|*"-64 ") libmagic=64-bit;;
- + *) libmagic=never-match;;
- + esac
- + # this will be overridden with pass_all, but let us keep it just in case
- + lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[[1234]] dynamic lib MIPS - version 1"
- + ;;
- + esac
- + lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
- + lt_cv_deplibs_check_method=pass_all
- + ;;
- +
- +# This must be Linux ELF.
- +linux-gnu*)
- + case $host_cpu in
- + alpha* | hppa* | i*86 | mips | mipsel | powerpc* | sparc* | ia64* | arm* | m68k)
- + lt_cv_deplibs_check_method=pass_all ;;
- + *)
- + # glibc up to 2.1.1 does not perform some relocations on ARM
- + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )' ;;
- + esac
- + lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
- + ;;
- +
- +netbsd*)
- + if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
- + lt_cv_deplibs_check_method='match_pattern /lib[[^/\.]]+\.so\.[[0-9]]+\.[[0-9]]+$'
- + else
- + lt_cv_deplibs_check_method='match_pattern /lib[[^/\.]]+\.so$'
- + fi
- + ;;
- +
- +newos6*)
- + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)'
- + lt_cv_file_magic_cmd=/usr/bin/file
- + lt_cv_file_magic_test_file=/usr/lib/libnls.so
- + ;;
- +
- +openbsd*)
- + lt_cv_file_magic_cmd=/usr/bin/file
- + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
- + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
- + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB shared object'
- + else
- + lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
- + fi
- + ;;
- +
- +osf3* | osf4* | osf5*)
- + # this will be overridden with pass_all, but let us keep it just in case
- + lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
- + lt_cv_file_magic_test_file=/shlib/libc.so
- + lt_cv_deplibs_check_method=pass_all
- + ;;
- +
- +sco3.2v5*)
- + lt_cv_deplibs_check_method=pass_all
- + ;;
- +
- +solaris*)
- + lt_cv_deplibs_check_method=pass_all
- + lt_cv_file_magic_test_file=/lib/libc.so
- + ;;
- +
- +sysv5uw[[78]]* | sysv4*uw2*)
- + lt_cv_deplibs_check_method=pass_all
- + ;;
- +
- +sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
- + case $host_vendor in
- + motorola)
- + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib) M[[0-9]][[0-9]]* Version [[0-9]]'
- + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
- + ;;
- + ncr)
- + lt_cv_deplibs_check_method=pass_all
- + ;;
- + sequent)
- + lt_cv_file_magic_cmd='/bin/file'
- + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )'
- + ;;
- + sni)
- + lt_cv_file_magic_cmd='/bin/file'
- + lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib"
- + lt_cv_file_magic_test_file=/lib/libc.so
- + ;;
- + siemens)
- + lt_cv_deplibs_check_method=pass_all
- + ;;
- + esac
- + ;;
- +esac
- +])
- +file_magic_cmd=$lt_cv_file_magic_cmd
- +deplibs_check_method=$lt_cv_deplibs_check_method
- ])
-
- +
- # AC_PROG_NM - find the path to a BSD-compatible name lister
- -AC_DEFUN(AC_PROG_NM,
- -[AC_MSG_CHECKING([for BSD-compatible nm])
- -AC_CACHE_VAL(ac_cv_path_NM,
- +AC_DEFUN([AC_PROG_NM],
- +[AC_REQUIRE([_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR])dnl
- +AC_MSG_CHECKING([for BSD-compatible nm])
- +AC_CACHE_VAL(lt_cv_path_NM,
- [if test -n "$NM"; then
- # Let the user override the test.
- - ac_cv_path_NM="$NM"
- + lt_cv_path_NM="$NM"
- else
- - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
- + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
- for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
- test -z "$ac_dir" && ac_dir=.
- - if test -f $ac_dir/nm || test -f $ac_dir/nm$ac_exeext ; then
- + tmp_nm=$ac_dir/${ac_tool_prefix}nm
- + if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
- # Check to see if the nm accepts a BSD-compat flag.
- # Adding the `sed 1q' prevents false positives on HP-UX, which says:
- # nm: unknown option "B" ignored
- - if ($ac_dir/nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
- - ac_cv_path_NM="$ac_dir/nm -B"
- + # Tru64's nm complains that /dev/null is an invalid object file
- + if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
- + lt_cv_path_NM="$tmp_nm -B"
- break
- - elif ($ac_dir/nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
- - ac_cv_path_NM="$ac_dir/nm -p"
- + elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
- + lt_cv_path_NM="$tmp_nm -p"
- break
- else
- - ac_cv_path_NM=${ac_cv_path_NM="$ac_dir/nm"} # keep the first match, but
- + lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
- continue # so that we can try to find one that supports BSD flags
- fi
- fi
- done
- IFS="$ac_save_ifs"
- - test -z "$ac_cv_path_NM" && ac_cv_path_NM=nm
- + test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
- fi])
- -NM="$ac_cv_path_NM"
- +NM="$lt_cv_path_NM"
- AC_MSG_RESULT([$NM])
- ])
-
- # AC_CHECK_LIBM - check for math library
- -AC_DEFUN(AC_CHECK_LIBM,
- +AC_DEFUN([AC_CHECK_LIBM],
- [AC_REQUIRE([AC_CANONICAL_HOST])dnl
- LIBM=
- -case "$lt_target" in
- -*-*-beos* | *-*-cygwin*)
- +case $host in
- +*-*-beos* | *-*-cygwin* | *-*-pw32*)
- # These system don't have libm
- ;;
- *-ncr-sysv4.3*)
- @@ -361,33 +3488,41 @@
- ])
-
- # AC_LIBLTDL_CONVENIENCE[(dir)] - sets LIBLTDL to the link flags for
- -# the libltdl convenience library, adds --enable-ltdl-convenience to
- -# the configure arguments. Note that LIBLTDL is not AC_SUBSTed, nor
- -# is AC_CONFIG_SUBDIRS called. If DIR is not provided, it is assumed
- -# to be `${top_builddir}/libltdl'. Make sure you start DIR with
- -# '${top_builddir}/' (note the single quotes!) if your package is not
- -# flat, and, if you're not using automake, define top_builddir as
- -# appropriate in the Makefiles.
- -AC_DEFUN(AC_LIBLTDL_CONVENIENCE, [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
- - case "$enable_ltdl_convenience" in
- +# the libltdl convenience library and LTDLINCL to the include flags for
- +# the libltdl header and adds --enable-ltdl-convenience to the
- +# configure arguments. Note that LIBLTDL and LTDLINCL are not
- +# AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called. If DIR is not
- +# provided, it is assumed to be `libltdl'. LIBLTDL will be prefixed
- +# with '${top_builddir}/' and LTDLINCL will be prefixed with
- +# '${top_srcdir}/' (note the single quotes!). If your package is not
- +# flat and you're not using automake, define top_builddir and
- +# top_srcdir appropriately in the Makefiles.
- +AC_DEFUN([AC_LIBLTDL_CONVENIENCE],
- +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
- + case $enable_ltdl_convenience in
- no) AC_MSG_ERROR([this package needs a convenience libltdl]) ;;
- "") enable_ltdl_convenience=yes
- ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
- esac
- - LIBLTDL=ifelse($#,1,$1,['${top_builddir}/libltdl'])/libltdlc.la
- - INCLTDL=ifelse($#,1,-I$1,['-I${top_builddir}/libltdl'])
- + LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdlc.la
- + LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
- + # For backwards non-gettext consistent compatibility...
- + INCLTDL="$LTDLINCL"
- ])
-
- # AC_LIBLTDL_INSTALLABLE[(dir)] - sets LIBLTDL to the link flags for
- -# the libltdl installable library, and adds --enable-ltdl-install to
- -# the configure arguments. Note that LIBLTDL is not AC_SUBSTed, nor
- -# is AC_CONFIG_SUBDIRS called. If DIR is not provided, it is assumed
- -# to be `${top_builddir}/libltdl'. Make sure you start DIR with
- -# '${top_builddir}/' (note the single quotes!) if your package is not
- -# flat, and, if you're not using automake, define top_builddir as
- -# appropriate in the Makefiles.
- +# the libltdl installable library and LTDLINCL to the include flags for
- +# the libltdl header and adds --enable-ltdl-install to the configure
- +# arguments. Note that LIBLTDL and LTDLINCL are not AC_SUBSTed, nor is
- +# AC_CONFIG_SUBDIRS called. If DIR is not provided and an installed
- +# libltdl is not found, it is assumed to be `libltdl'. LIBLTDL will
- +# be prefixed with '${top_builddir}/' and LTDLINCL will be prefixed
- +# with '${top_srcdir}/' (note the single quotes!). If your package is
- +# not flat and you're not using automake, define top_builddir and
- +# top_srcdir appropriately in the Makefiles.
- # In the future, this macro may have to be called after AC_PROG_LIBTOOL.
- -AC_DEFUN(AC_LIBLTDL_INSTALLABLE, [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
- +AC_DEFUN([AC_LIBLTDL_INSTALLABLE],
- +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
- AC_CHECK_LIB(ltdl, main,
- [test x"$enable_ltdl_install" != xyes && enable_ltdl_install=no],
- [if test x"$enable_ltdl_install" = xno; then
- @@ -398,30 +3533,940 @@
- ])
- if test x"$enable_ltdl_install" = x"yes"; then
- ac_configure_args="$ac_configure_args --enable-ltdl-install"
- - LIBLTDL=ifelse($#,1,$1,['${top_builddir}/libltdl'])/libltdl.la
- - INCLTDL=ifelse($#,1,-I$1,['-I${top_builddir}/libltdl'])
- + LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdl.la
- + LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
- else
- ac_configure_args="$ac_configure_args --enable-ltdl-install=no"
- LIBLTDL="-lltdl"
- - INCLTDL=
- + LTDLINCL=
- + fi
- + # For backwards non-gettext consistent compatibility...
- + INCLTDL="$LTDLINCL"
- +])
- +
- +# old names
- +AC_DEFUN([AM_PROG_LIBTOOL], [AC_PROG_LIBTOOL])
- +AC_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)])
- +AC_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)])
- +AC_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)])
- +AC_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)])
- +AC_DEFUN([AM_PROG_LD], [AC_PROG_LD])
- +AC_DEFUN([AM_PROG_NM], [AC_PROG_NM])
- +
- +# This is just to silence aclocal about the macro not being used
- +ifelse([AC_DISABLE_FAST_INSTALL])
- +
- +# NOTE: This macro has been submitted for inclusion into #
- +# GNU Autoconf as AC_PROG_SED. When it is available in #
- +# a released version of Autoconf we should remove this #
- +# macro and use it instead. #
- +# LT_AC_PROG_SED
- +# --------------
- +# Check for a fully-functional sed program, that truncates
- +# as few characters as possible. Prefer GNU sed if found.
- +AC_DEFUN([LT_AC_PROG_SED],
- +[AC_MSG_CHECKING([for a sed that does not truncate output])
- +AC_CACHE_VAL(lt_cv_path_SED,
- +[# Loop through the user's path and test for sed and gsed.
- +# Then use that list of sed's as ones to test for truncation.
- +as_executable_p="test -f"
- +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
- +for as_dir in $PATH
- +do
- + IFS=$as_save_IFS
- + test -z "$as_dir" && as_dir=.
- + for ac_prog in sed gsed; do
- + for ac_exec_ext in '' $ac_executable_extensions; do
- + if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
- + _sed_list="$_sed_list $as_dir/$ac_prog$ac_exec_ext"
- + fi
- + done
- + done
- +done
- +
- + # Create a temporary directory, and hook for its removal unless debugging.
- +$debug ||
- +{
- + trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
- + trap '{ (exit 1); exit 1; }' 1 2 13 15
- +}
- +
- +# Create a (secure) tmp directory for tmp files.
- +: ${TMPDIR=/tmp}
- +{
- + tmp=`(umask 077 && mktemp -d -q "$TMPDIR/sedXXXXXX") 2>/dev/null` &&
- + test -n "$tmp" && test -d "$tmp"
- +} ||
- +{
- + tmp=$TMPDIR/sed$$-$RANDOM
- + (umask 077 && mkdir $tmp)
- +} ||
- +{
- + echo "$me: cannot create a temporary directory in $TMPDIR" >&2
- + { (exit 1); exit 1; }
- +}
- + _max=0
- + _count=0
- + # Add /usr/xpg4/bin/sed as it is typically found on Solaris
- + # along with /bin/sed that truncates output.
- + for _sed in $_sed_list /usr/xpg4/bin/sed; do
- + test ! -f ${_sed} && break
- + cat /dev/null > "$tmp/sed.in"
- + _count=0
- + echo ${ECHO_N-$ac_n} "0123456789${ECHO_C-$ac_c}" >"$tmp/sed.in"
- + # Check for GNU sed and select it if it is found.
- + if "${_sed}" --version 2>&1 < /dev/null | egrep '(GNU)' > /dev/null; then
- + lt_cv_path_SED=${_sed}
- + break
- + fi
- + while true; do
- + cat "$tmp/sed.in" "$tmp/sed.in" >"$tmp/sed.tmp"
- + mv "$tmp/sed.tmp" "$tmp/sed.in"
- + cp "$tmp/sed.in" "$tmp/sed.nl"
- + echo >>"$tmp/sed.nl"
- + ${_sed} -e 's/a$//' < "$tmp/sed.nl" >"$tmp/sed.out" || break
- + cmp -s "$tmp/sed.out" "$tmp/sed.nl" || break
- + # 40000 chars as input seems more than enough
- + test $_count -gt 10 && break
- + _count=`expr $_count + 1`
- + if test $_count -gt $_max; then
- + _max=$_count
- + lt_cv_path_SED=$_sed
- + fi
- + done
- + done
- + rm -rf "$tmp"
- +])
- +if test "X$SED" != "X"; then
- + lt_cv_path_SED=$SED
- +else
- + SED=$lt_cv_path_SED
- +fi
- +AC_MSG_RESULT([$SED])
- +])
- +
- +# lib-prefix.m4 serial 3 (gettext-0.12.2)
- +dnl Copyright (C) 2001-2003 Free Software Foundation, Inc.
- +dnl This file is free software, distributed under the terms of the GNU
- +dnl General Public License. As a special exception to the GNU General
- +dnl Public License, this file may be distributed as part of a program
- +dnl that contains a configuration script generated by Autoconf, under
- +dnl the same distribution terms as the rest of that program.
- +
- +dnl From Bruno Haible.
- +
- +dnl AC_LIB_ARG_WITH is synonymous to AC_ARG_WITH in autoconf-2.13, and
- +dnl similar to AC_ARG_WITH in autoconf 2.52...2.57 except that is doesn't
- +dnl require excessive bracketing.
- +ifdef([AC_HELP_STRING],
- +[AC_DEFUN([AC_LIB_ARG_WITH], [AC_ARG_WITH([$1],[[$2]],[$3],[$4])])],
- +[AC_DEFUN([AC_][LIB_ARG_WITH], [AC_ARG_WITH([$1],[$2],[$3],[$4])])])
- +
- +dnl AC_LIB_PREFIX adds to the CPPFLAGS and LDFLAGS the flags that are needed
- +dnl to access previously installed libraries. The basic assumption is that
- +dnl a user will want packages to use other packages he previously installed
- +dnl with the same --prefix option.
- +dnl This macro is not needed if only AC_LIB_LINKFLAGS is used to locate
- +dnl libraries, but is otherwise very convenient.
- +AC_DEFUN([AC_LIB_PREFIX],
- +[
- + AC_BEFORE([$0], [AC_LIB_LINKFLAGS])
- + AC_REQUIRE([AC_PROG_CC])
- + AC_REQUIRE([AC_CANONICAL_HOST])
- + AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
- + dnl By default, look in $includedir and $libdir.
- + use_additional=yes
- + AC_LIB_WITH_FINAL_PREFIX([
- + eval additional_includedir=\"$includedir\"
- + eval additional_libdir=\"$libdir\"
- + ])
- + AC_LIB_ARG_WITH([lib-prefix],
- +[ --with-lib-prefix[=DIR] search for libraries in DIR/include and DIR/lib
- + --without-lib-prefix don't search for libraries in includedir and libdir],
- +[
- + if test "X$withval" = "Xno"; then
- + use_additional=no
- + else
- + if test "X$withval" = "X"; then
- + AC_LIB_WITH_FINAL_PREFIX([
- + eval additional_includedir=\"$includedir\"
- + eval additional_libdir=\"$libdir\"
- + ])
- + else
- + additional_includedir="$withval/include"
- + additional_libdir="$withval/lib"
- + fi
- + fi
- +])
- + if test $use_additional = yes; then
- + dnl Potentially add $additional_includedir to $CPPFLAGS.
- + dnl But don't add it
- + dnl 1. if it's the standard /usr/include,
- + dnl 2. if it's already present in $CPPFLAGS,
- + dnl 3. if it's /usr/local/include and we are using GCC on Linux,
- + dnl 4. if it doesn't exist as a directory.
- + if test "X$additional_includedir" != "X/usr/include"; then
- + haveit=
- + for x in $CPPFLAGS; do
- + AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
- + if test "X$x" = "X-I$additional_includedir"; then
- + haveit=yes
- + break
- + fi
- + done
- + if test -z "$haveit"; then
- + if test "X$additional_includedir" = "X/usr/local/include"; then
- + if test -n "$GCC"; then
- + case $host_os in
- + linux*) haveit=yes;;
- + esac
- + fi
- + fi
- + if test -z "$haveit"; then
- + if test -d "$additional_includedir"; then
- + dnl Really add $additional_includedir to $CPPFLAGS.
- + CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }-I$additional_includedir"
- + fi
- + fi
- + fi
- + fi
- + dnl Potentially add $additional_libdir to $LDFLAGS.
- + dnl But don't add it
- + dnl 1. if it's the standard /usr/lib,
- + dnl 2. if it's already present in $LDFLAGS,
- + dnl 3. if it's /usr/local/lib and we are using GCC on Linux,
- + dnl 4. if it doesn't exist as a directory.
- + if test "X$additional_libdir" != "X/usr/lib"; then
- + haveit=
- + for x in $LDFLAGS; do
- + AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
- + if test "X$x" = "X-L$additional_libdir"; then
- + haveit=yes
- + break
- + fi
- + done
- + if test -z "$haveit"; then
- + if test "X$additional_libdir" = "X/usr/local/lib"; then
- + if test -n "$GCC"; then
- + case $host_os in
- + linux*) haveit=yes;;
- + esac
- + fi
- + fi
- + if test -z "$haveit"; then
- + if test -d "$additional_libdir"; then
- + dnl Really add $additional_libdir to $LDFLAGS.
- + LDFLAGS="${LDFLAGS}${LDFLAGS:+ }-L$additional_libdir"
- + fi
- + fi
- + fi
- + fi
- + fi
- +])
- +
- +dnl AC_LIB_PREPARE_PREFIX creates variables acl_final_prefix,
- +dnl acl_final_exec_prefix, containing the values to which $prefix and
- +dnl $exec_prefix will expand at the end of the configure script.
- +AC_DEFUN([AC_LIB_PREPARE_PREFIX],
- +[
- + dnl Unfortunately, prefix and exec_prefix get only finally determined
- + dnl at the end of configure.
- + if test "X$prefix" = "XNONE"; then
- + acl_final_prefix="$ac_default_prefix"
- + else
- + acl_final_prefix="$prefix"
- + fi
- + if test "X$exec_prefix" = "XNONE"; then
- + acl_final_exec_prefix='${prefix}'
- + else
- + acl_final_exec_prefix="$exec_prefix"
- + fi
- + acl_save_prefix="$prefix"
- + prefix="$acl_final_prefix"
- + eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
- + prefix="$acl_save_prefix"
- +])
- +
- +dnl AC_LIB_WITH_FINAL_PREFIX([statement]) evaluates statement, with the
- +dnl variables prefix and exec_prefix bound to the values they will have
- +dnl at the end of the configure script.
- +AC_DEFUN([AC_LIB_WITH_FINAL_PREFIX],
- +[
- + acl_save_prefix="$prefix"
- + prefix="$acl_final_prefix"
- + acl_save_exec_prefix="$exec_prefix"
- + exec_prefix="$acl_final_exec_prefix"
- + $1
- + exec_prefix="$acl_save_exec_prefix"
- + prefix="$acl_save_prefix"
- +])
- +
- +# lib-link.m4 serial 4 (gettext-0.12)
- +dnl Copyright (C) 2001-2003 Free Software Foundation, Inc.
- +dnl This file is free software, distributed under the terms of the GNU
- +dnl General Public License. As a special exception to the GNU General
- +dnl Public License, this file may be distributed as part of a program
- +dnl that contains a configuration script generated by Autoconf, under
- +dnl the same distribution terms as the rest of that program.
- +
- +dnl From Bruno Haible.
- +
- +dnl AC_LIB_LINKFLAGS(name [, dependencies]) searches for libname and
- +dnl the libraries corresponding to explicit and implicit dependencies.
- +dnl Sets and AC_SUBSTs the LIB${NAME} and LTLIB${NAME} variables and
- +dnl augments the CPPFLAGS variable.
- +AC_DEFUN([AC_LIB_LINKFLAGS],
- +[
- + AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
- + AC_REQUIRE([AC_LIB_RPATH])
- + define([Name],[translit([$1],[./-], [___])])
- + define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-],
- + [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])])
- + AC_CACHE_CHECK([how to link with lib[]$1], [ac_cv_lib[]Name[]_libs], [
- + AC_LIB_LINKFLAGS_BODY([$1], [$2])
- + ac_cv_lib[]Name[]_libs="$LIB[]NAME"
- + ac_cv_lib[]Name[]_ltlibs="$LTLIB[]NAME"
- + ac_cv_lib[]Name[]_cppflags="$INC[]NAME"
- + ])
- + LIB[]NAME="$ac_cv_lib[]Name[]_libs"
- + LTLIB[]NAME="$ac_cv_lib[]Name[]_ltlibs"
- + INC[]NAME="$ac_cv_lib[]Name[]_cppflags"
- + AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME)
- + AC_SUBST([LIB]NAME)
- + AC_SUBST([LTLIB]NAME)
- + dnl Also set HAVE_LIB[]NAME so that AC_LIB_HAVE_LINKFLAGS can reuse the
- + dnl results of this search when this library appears as a dependency.
- + HAVE_LIB[]NAME=yes
- + undefine([Name])
- + undefine([NAME])
- +])
- +
- +dnl AC_LIB_HAVE_LINKFLAGS(name, dependencies, includes, testcode)
- +dnl searches for libname and the libraries corresponding to explicit and
- +dnl implicit dependencies, together with the specified include files and
- +dnl the ability to compile and link the specified testcode. If found, it
- +dnl sets and AC_SUBSTs HAVE_LIB${NAME}=yes and the LIB${NAME} and
- +dnl LTLIB${NAME} variables and augments the CPPFLAGS variable, and
- +dnl #defines HAVE_LIB${NAME} to 1. Otherwise, it sets and AC_SUBSTs
- +dnl HAVE_LIB${NAME}=no and LIB${NAME} and LTLIB${NAME} to empty.
- +AC_DEFUN([AC_LIB_HAVE_LINKFLAGS],
- +[
- + AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
- + AC_REQUIRE([AC_LIB_RPATH])
- + define([Name],[translit([$1],[./-], [___])])
- + define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-],
- + [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])])
- +
- + dnl Search for lib[]Name and define LIB[]NAME, LTLIB[]NAME and INC[]NAME
- + dnl accordingly.
- + AC_LIB_LINKFLAGS_BODY([$1], [$2])
- +
- + dnl Add $INC[]NAME to CPPFLAGS before performing the following checks,
- + dnl because if the user has installed lib[]Name and not disabled its use
- + dnl via --without-lib[]Name-prefix, he wants to use it.
- + ac_save_CPPFLAGS="$CPPFLAGS"
- + AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME)
- +
- + AC_CACHE_CHECK([for lib[]$1], [ac_cv_lib[]Name], [
- + ac_save_LIBS="$LIBS"
- + LIBS="$LIBS $LIB[]NAME"
- + AC_TRY_LINK([$3], [$4], [ac_cv_lib[]Name=yes], [ac_cv_lib[]Name=no])
- + LIBS="$ac_save_LIBS"
- + ])
- + if test "$ac_cv_lib[]Name" = yes; then
- + HAVE_LIB[]NAME=yes
- + AC_DEFINE([HAVE_LIB]NAME, 1, [Define if you have the $1 library.])
- + AC_MSG_CHECKING([how to link with lib[]$1])
- + AC_MSG_RESULT([$LIB[]NAME])
- + else
- + HAVE_LIB[]NAME=no
- + dnl If $LIB[]NAME didn't lead to a usable library, we don't need
- + dnl $INC[]NAME either.
- + CPPFLAGS="$ac_save_CPPFLAGS"
- + LIB[]NAME=
- + LTLIB[]NAME=
- + fi
- + AC_SUBST([HAVE_LIB]NAME)
- + AC_SUBST([LIB]NAME)
- + AC_SUBST([LTLIB]NAME)
- + undefine([Name])
- + undefine([NAME])
- +])
- +
- +dnl Determine the platform dependent parameters needed to use rpath:
- +dnl libext, shlibext, hardcode_libdir_flag_spec, hardcode_libdir_separator,
- +dnl hardcode_direct, hardcode_minus_L.
- +AC_DEFUN([AC_LIB_RPATH],
- +[
- + AC_REQUIRE([AC_PROG_CC]) dnl we use $CC, $GCC, $LDFLAGS
- + AC_REQUIRE([AC_LIB_PROG_LD]) dnl we use $LD, $with_gnu_ld
- + AC_REQUIRE([AC_CANONICAL_HOST]) dnl we use $host
- + AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT]) dnl we use $ac_aux_dir
- + AC_CACHE_CHECK([for shared library run path origin], acl_cv_rpath, [
- + CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
- + ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
- + . ./conftest.sh
- + rm -f ./conftest.sh
- + acl_cv_rpath=done
- + ])
- + wl="$acl_cv_wl"
- + libext="$acl_cv_libext"
- + shlibext="$acl_cv_shlibext"
- + hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
- + hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
- + hardcode_direct="$acl_cv_hardcode_direct"
- + hardcode_minus_L="$acl_cv_hardcode_minus_L"
- + dnl Determine whether the user wants rpath handling at all.
- + AC_ARG_ENABLE(rpath,
- + [ --disable-rpath do not hardcode runtime library paths],
- + :, enable_rpath=yes)
- +])
- +
- +dnl AC_LIB_LINKFLAGS_BODY(name [, dependencies]) searches for libname and
- +dnl the libraries corresponding to explicit and implicit dependencies.
- +dnl Sets the LIB${NAME}, LTLIB${NAME} and INC${NAME} variables.
- +AC_DEFUN([AC_LIB_LINKFLAGS_BODY],
- +[
- + define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-],
- + [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])])
- + dnl By default, look in $includedir and $libdir.
- + use_additional=yes
- + AC_LIB_WITH_FINAL_PREFIX([
- + eval additional_includedir=\"$includedir\"
- + eval additional_libdir=\"$libdir\"
- + ])
- + AC_LIB_ARG_WITH([lib$1-prefix],
- +[ --with-lib$1-prefix[=DIR] search for lib$1 in DIR/include and DIR/lib
- + --without-lib$1-prefix don't search for lib$1 in includedir and libdir],
- +[
- + if test "X$withval" = "Xno"; then
- + use_additional=no
- + else
- + if test "X$withval" = "X"; then
- + AC_LIB_WITH_FINAL_PREFIX([
- + eval additional_includedir=\"$includedir\"
- + eval additional_libdir=\"$libdir\"
- + ])
- + else
- + additional_includedir="$withval/include"
- + additional_libdir="$withval/lib"
- + fi
- + fi
- +])
- + dnl Search the library and its dependencies in $additional_libdir and
- + dnl $LDFLAGS. Using breadth-first-seach.
- + LIB[]NAME=
- + LTLIB[]NAME=
- + INC[]NAME=
- + rpathdirs=
- + ltrpathdirs=
- + names_already_handled=
- + names_next_round='$1 $2'
- + while test -n "$names_next_round"; do
- + names_this_round="$names_next_round"
- + names_next_round=
- + for name in $names_this_round; do
- + already_handled=
- + for n in $names_already_handled; do
- + if test "$n" = "$name"; then
- + already_handled=yes
- + break
- + fi
- + done
- + if test -z "$already_handled"; then
- + names_already_handled="$names_already_handled $name"
- + dnl See if it was already located by an earlier AC_LIB_LINKFLAGS
- + dnl or AC_LIB_HAVE_LINKFLAGS call.
- + uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
- + eval value=\"\$HAVE_LIB$uppername\"
- + if test -n "$value"; then
- + if test "$value" = yes; then
- + eval value=\"\$LIB$uppername\"
- + test -z "$value" || LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$value"
- + eval value=\"\$LTLIB$uppername\"
- + test -z "$value" || LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$value"
- + else
- + dnl An earlier call to AC_LIB_HAVE_LINKFLAGS has determined
- + dnl that this library doesn't exist. So just drop it.
- + :
- + fi
- + else
- + dnl Search the library lib$name in $additional_libdir and $LDFLAGS
- + dnl and the already constructed $LIBNAME/$LTLIBNAME.
- + found_dir=
- + found_la=
- + found_so=
- + found_a=
- + if test $use_additional = yes; then
- + if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
- + found_dir="$additional_libdir"
- + found_so="$additional_libdir/lib$name.$shlibext"
- + if test -f "$additional_libdir/lib$name.la"; then
- + found_la="$additional_libdir/lib$name.la"
- + fi
- + else
- + if test -f "$additional_libdir/lib$name.$libext"; then
- + found_dir="$additional_libdir"
- + found_a="$additional_libdir/lib$name.$libext"
- + if test -f "$additional_libdir/lib$name.la"; then
- + found_la="$additional_libdir/lib$name.la"
- + fi
- + fi
- + fi
- + fi
- + if test "X$found_dir" = "X"; then
- + for x in $LDFLAGS $LTLIB[]NAME; do
- + AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
- + case "$x" in
- + -L*)
- + dir=`echo "X$x" | sed -e 's/^X-L//'`
- + if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
- + found_dir="$dir"
- + found_so="$dir/lib$name.$shlibext"
- + if test -f "$dir/lib$name.la"; then
- + found_la="$dir/lib$name.la"
- + fi
- + else
- + if test -f "$dir/lib$name.$libext"; then
- + found_dir="$dir"
- + found_a="$dir/lib$name.$libext"
- + if test -f "$dir/lib$name.la"; then
- + found_la="$dir/lib$name.la"
- + fi
- + fi
- + fi
- + ;;
- + esac
- + if test "X$found_dir" != "X"; then
- + break
- + fi
- + done
- + fi
- + if test "X$found_dir" != "X"; then
- + dnl Found the library.
- + LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$found_dir -l$name"
- + if test "X$found_so" != "X"; then
- + dnl Linking with a shared library. We attempt to hardcode its
- + dnl directory into the executable's runpath, unless it's the
- + dnl standard /usr/lib.
- + if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
- + dnl No hardcoding is needed.
- + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
- + else
- + dnl Use an explicit option to hardcode DIR into the resulting
- + dnl binary.
- + dnl Potentially add DIR to ltrpathdirs.
- + dnl The ltrpathdirs will be appended to $LTLIBNAME at the end.
- + haveit=
- + for x in $ltrpathdirs; do
- + if test "X$x" = "X$found_dir"; then
- + haveit=yes
- + break
- + fi
- + done
- + if test -z "$haveit"; then
- + ltrpathdirs="$ltrpathdirs $found_dir"
- + fi
- + dnl The hardcoding into $LIBNAME is system dependent.
- + if test "$hardcode_direct" = yes; then
- + dnl Using DIR/libNAME.so during linking hardcodes DIR into the
- + dnl resulting binary.
- + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
- + else
- + if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
- + dnl Use an explicit option to hardcode DIR into the resulting
- + dnl binary.
- + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
- + dnl Potentially add DIR to rpathdirs.
- + dnl The rpathdirs will be appended to $LIBNAME at the end.
- + haveit=
- + for x in $rpathdirs; do
- + if test "X$x" = "X$found_dir"; then
- + haveit=yes
- + break
- + fi
- + done
- + if test -z "$haveit"; then
- + rpathdirs="$rpathdirs $found_dir"
- + fi
- + else
- + dnl Rely on "-L$found_dir".
- + dnl But don't add it if it's already contained in the LDFLAGS
- + dnl or the already constructed $LIBNAME
- + haveit=
- + for x in $LDFLAGS $LIB[]NAME; do
- + AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
- + if test "X$x" = "X-L$found_dir"; then
- + haveit=yes
- + break
- + fi
- + done
- + if test -z "$haveit"; then
- + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir"
- + fi
- + if test "$hardcode_minus_L" != no; then
- + dnl FIXME: Not sure whether we should use
- + dnl "-L$found_dir -l$name" or "-L$found_dir $found_so"
- + dnl here.
- + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
- + else
- + dnl We cannot use $hardcode_runpath_var and LD_RUN_PATH
- + dnl here, because this doesn't fit in flags passed to the
- + dnl compiler. So give up. No hardcoding. This affects only
- + dnl very old systems.
- + dnl FIXME: Not sure whether we should use
- + dnl "-L$found_dir -l$name" or "-L$found_dir $found_so"
- + dnl here.
- + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name"
- + fi
- + fi
- + fi
- + fi
- + else
- + if test "X$found_a" != "X"; then
- + dnl Linking with a static library.
- + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_a"
- + else
- + dnl We shouldn't come here, but anyway it's good to have a
- + dnl fallback.
- + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir -l$name"
- + fi
- + fi
- + dnl Assume the include files are nearby.
- + additional_includedir=
- + case "$found_dir" in
- + */lib | */lib/)
- + basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
- + additional_includedir="$basedir/include"
- + ;;
- + esac
- + if test "X$additional_includedir" != "X"; then
- + dnl Potentially add $additional_includedir to $INCNAME.
- + dnl But don't add it
- + dnl 1. if it's the standard /usr/include,
- + dnl 2. if it's /usr/local/include and we are using GCC on Linux,
- + dnl 3. if it's already present in $CPPFLAGS or the already
- + dnl constructed $INCNAME,
- + dnl 4. if it doesn't exist as a directory.
- + if test "X$additional_includedir" != "X/usr/include"; then
- + haveit=
- + if test "X$additional_includedir" = "X/usr/local/include"; then
- + if test -n "$GCC"; then
- + case $host_os in
- + linux*) haveit=yes;;
- + esac
- + fi
- + fi
- + if test -z "$haveit"; then
- + for x in $CPPFLAGS $INC[]NAME; do
- + AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
- + if test "X$x" = "X-I$additional_includedir"; then
- + haveit=yes
- + break
- + fi
- + done
- + if test -z "$haveit"; then
- + if test -d "$additional_includedir"; then
- + dnl Really add $additional_includedir to $INCNAME.
- + INC[]NAME="${INC[]NAME}${INC[]NAME:+ }-I$additional_includedir"
- + fi
- + fi
- + fi
- + fi
- + fi
- + dnl Look for dependencies.
- + if test -n "$found_la"; then
- + dnl Read the .la file. It defines the variables
- + dnl dlname, library_names, old_library, dependency_libs, current,
- + dnl age, revision, installed, dlopen, dlpreopen, libdir.
- + save_libdir="$libdir"
- + case "$found_la" in
- + */* | *\\*) . "$found_la" ;;
- + *) . "./$found_la" ;;
- + esac
- + libdir="$save_libdir"
- + dnl We use only dependency_libs.
- + for dep in $dependency_libs; do
- + case "$dep" in
- + -L*)
- + additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
- + dnl Potentially add $additional_libdir to $LIBNAME and $LTLIBNAME.
- + dnl But don't add it
- + dnl 1. if it's the standard /usr/lib,
- + dnl 2. if it's /usr/local/lib and we are using GCC on Linux,
- + dnl 3. if it's already present in $LDFLAGS or the already
- + dnl constructed $LIBNAME,
- + dnl 4. if it doesn't exist as a directory.
- + if test "X$additional_libdir" != "X/usr/lib"; then
- + haveit=
- + if test "X$additional_libdir" = "X/usr/local/lib"; then
- + if test -n "$GCC"; then
- + case $host_os in
- + linux*) haveit=yes;;
- + esac
- + fi
- + fi
- + if test -z "$haveit"; then
- + haveit=
- + for x in $LDFLAGS $LIB[]NAME; do
- + AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
- + if test "X$x" = "X-L$additional_libdir"; then
- + haveit=yes
- + break
- + fi
- + done
- + if test -z "$haveit"; then
- + if test -d "$additional_libdir"; then
- + dnl Really add $additional_libdir to $LIBNAME.
- + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$additional_libdir"
- + fi
- + fi
- + haveit=
- + for x in $LDFLAGS $LTLIB[]NAME; do
- + AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
- + if test "X$x" = "X-L$additional_libdir"; then
- + haveit=yes
- + break
- + fi
- + done
- + if test -z "$haveit"; then
- + if test -d "$additional_libdir"; then
- + dnl Really add $additional_libdir to $LTLIBNAME.
- + LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$additional_libdir"
- + fi
- + fi
- + fi
- + fi
- + ;;
- + -R*)
- + dir=`echo "X$dep" | sed -e 's/^X-R//'`
- + if test "$enable_rpath" != no; then
- + dnl Potentially add DIR to rpathdirs.
- + dnl The rpathdirs will be appended to $LIBNAME at the end.
- + haveit=
- + for x in $rpathdirs; do
- + if test "X$x" = "X$dir"; then
- + haveit=yes
- + break
- + fi
- + done
- + if test -z "$haveit"; then
- + rpathdirs="$rpathdirs $dir"
- + fi
- + dnl Potentially add DIR to ltrpathdirs.
- + dnl The ltrpathdirs will be appended to $LTLIBNAME at the end.
- + haveit=
- + for x in $ltrpathdirs; do
- + if test "X$x" = "X$dir"; then
- + haveit=yes
- + break
- + fi
- + done
- + if test -z "$haveit"; then
- + ltrpathdirs="$ltrpathdirs $dir"
- + fi
- + fi
- + ;;
- + -l*)
- + dnl Handle this in the next round.
- + names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
- + ;;
- + *.la)
- + dnl Handle this in the next round. Throw away the .la's
- + dnl directory; it is already contained in a preceding -L
- + dnl option.
- + names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
- + ;;
- + *)
- + dnl Most likely an immediate library name.
- + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$dep"
- + LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$dep"
- + ;;
- + esac
- + done
- + fi
- + else
- + dnl Didn't find the library; assume it is in the system directories
- + dnl known to the linker and runtime loader. (All the system
- + dnl directories known to the linker should also be known to the
- + dnl runtime loader, otherwise the system is severely misconfigured.)
- + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name"
- + LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-l$name"
- + fi
- + fi
- + fi
- + done
- + done
- + if test "X$rpathdirs" != "X"; then
- + if test -n "$hardcode_libdir_separator"; then
- + dnl Weird platform: only the last -rpath option counts, the user must
- + dnl pass all path elements in one option. We can arrange that for a
- + dnl single library, but not when more than one $LIBNAMEs are used.
- + alldirs=
- + for found_dir in $rpathdirs; do
- + alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
- + done
- + dnl Note: hardcode_libdir_flag_spec uses $libdir and $wl.
- + acl_save_libdir="$libdir"
- + libdir="$alldirs"
- + eval flag=\"$hardcode_libdir_flag_spec\"
- + libdir="$acl_save_libdir"
- + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag"
- + else
- + dnl The -rpath options are cumulative.
- + for found_dir in $rpathdirs; do
- + acl_save_libdir="$libdir"
- + libdir="$found_dir"
- + eval flag=\"$hardcode_libdir_flag_spec\"
- + libdir="$acl_save_libdir"
- + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag"
- + done
- + fi
- + fi
- + if test "X$ltrpathdirs" != "X"; then
- + dnl When using libtool, the option that works for both libraries and
- + dnl executables is -R. The -R options are cumulative.
- + for found_dir in $ltrpathdirs; do
- + LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-R$found_dir"
- + done
- + fi
- +])
- +
- +dnl AC_LIB_APPENDTOVAR(VAR, CONTENTS) appends the elements of CONTENTS to VAR,
- +dnl unless already present in VAR.
- +dnl Works only for CPPFLAGS, not for LIB* variables because that sometimes
- +dnl contains two or three consecutive elements that belong together.
- +AC_DEFUN([AC_LIB_APPENDTOVAR],
- +[
- + for element in [$2]; do
- + haveit=
- + for x in $[$1]; do
- + AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
- + if test "X$x" = "X$element"; then
- + haveit=yes
- + break
- + fi
- + done
- + if test -z "$haveit"; then
- + [$1]="${[$1]}${[$1]:+ }$element"
- + fi
- + done
- +])
- +
- +# lib-ld.m4 serial 2 (gettext-0.12)
- +dnl Copyright (C) 1996-2003 Free Software Foundation, Inc.
- +dnl This file is free software, distributed under the terms of the GNU
- +dnl General Public License. As a special exception to the GNU General
- +dnl Public License, this file may be distributed as part of a program
- +dnl that contains a configuration script generated by Autoconf, under
- +dnl the same distribution terms as the rest of that program.
- +
- +dnl Subroutines of libtool.m4,
- +dnl with replacements s/AC_/AC_LIB/ and s/lt_cv/acl_cv/ to avoid collision
- +dnl with libtool.m4.
- +
- +dnl From libtool-1.4. Sets the variable with_gnu_ld to yes or no.
- +AC_DEFUN([AC_LIB_PROG_LD_GNU],
- +[AC_CACHE_CHECK([if the linker ($LD) is GNU ld], acl_cv_prog_gnu_ld,
- +[# I'd rather use --version here, but apparently some GNU ld's only accept -v.
- +if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
- + acl_cv_prog_gnu_ld=yes
- +else
- + acl_cv_prog_gnu_ld=no
- +fi])
- +with_gnu_ld=$acl_cv_prog_gnu_ld
- +])
- +
- +dnl From libtool-1.4. Sets the variable LD.
- +AC_DEFUN([AC_LIB_PROG_LD],
- +[AC_ARG_WITH(gnu-ld,
- +[ --with-gnu-ld assume the C compiler uses GNU ld [default=no]],
- +test "$withval" = no || with_gnu_ld=yes, with_gnu_ld=no)
- +AC_REQUIRE([AC_PROG_CC])dnl
- +AC_REQUIRE([AC_CANONICAL_HOST])dnl
- +# Prepare PATH_SEPARATOR.
- +# The user is always right.
- +if test "${PATH_SEPARATOR+set}" != set; then
- + echo "#! /bin/sh" >conf$$.sh
- + echo "exit 0" >>conf$$.sh
- + chmod +x conf$$.sh
- + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
- + PATH_SEPARATOR=';'
- + else
- + PATH_SEPARATOR=:
- fi
- + rm -f conf$$.sh
- +fi
- +ac_prog=ld
- +if test "$GCC" = yes; then
- + # Check if gcc -print-prog-name=ld gives a path.
- + AC_MSG_CHECKING([for ld used by GCC])
- + case $host in
- + *-*-mingw*)
- + # gcc leaves a trailing carriage return which upsets mingw
- + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
- + *)
- + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
- + esac
- + case $ac_prog in
- + # Accept absolute paths.
- + [[\\/]* | [A-Za-z]:[\\/]*)]
- + [re_direlt='/[^/][^/]*/\.\./']
- + # Canonicalize the path of ld
- + ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
- + while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
- + ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
- + done
- + test -z "$LD" && LD="$ac_prog"
- + ;;
- + "")
- + # If it fails, then pretend we aren't using GCC.
- + ac_prog=ld
- + ;;
- + *)
- + # If it is relative, then search for the first ld in PATH.
- + with_gnu_ld=unknown
- + ;;
- + esac
- +elif test "$with_gnu_ld" = yes; then
- + AC_MSG_CHECKING([for GNU ld])
- +else
- + AC_MSG_CHECKING([for non-GNU ld])
- +fi
- +AC_CACHE_VAL(acl_cv_path_LD,
- +[if test -z "$LD"; then
- + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
- + for ac_dir in $PATH; do
- + test -z "$ac_dir" && ac_dir=.
- + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
- + acl_cv_path_LD="$ac_dir/$ac_prog"
- + # Check to see if the program is GNU ld. I'd rather use --version,
- + # but apparently some GNU ld's only accept -v.
- + # Break only if it was the GNU/non-GNU ld that we prefer.
- + if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
- + test "$with_gnu_ld" != no && break
- + else
- + test "$with_gnu_ld" != yes && break
- + fi
- + fi
- + done
- + IFS="$ac_save_ifs"
- +else
- + acl_cv_path_LD="$LD" # Let the user override the test with a path.
- +fi])
- +LD="$acl_cv_path_LD"
- +if test -n "$LD"; then
- + AC_MSG_RESULT($LD)
- +else
- + AC_MSG_RESULT(no)
- +fi
- +test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
- +AC_LIB_PROG_LD_GNU
- ])
-
- -dnl old names
- -AC_DEFUN(AM_PROG_LIBTOOL, [indir([AC_PROG_LIBTOOL])])dnl
- -AC_DEFUN(AM_ENABLE_SHARED, [indir([AC_ENABLE_SHARED], $@)])dnl
- -AC_DEFUN(AM_ENABLE_STATIC, [indir([AC_ENABLE_STATIC], $@)])dnl
- -AC_DEFUN(AM_DISABLE_SHARED, [indir([AC_DISABLE_SHARED], $@)])dnl
- -AC_DEFUN(AM_DISABLE_STATIC, [indir([AC_DISABLE_STATIC], $@)])dnl
- -AC_DEFUN(AM_PROG_LD, [indir([AC_PROG_LD])])dnl
- -AC_DEFUN(AM_PROG_NM, [indir([AC_PROG_NM])])dnl
- -
- -dnl This is just to silence aclocal about the macro not being used
- -ifelse([AC_DISABLE_FAST_INSTALL])dnl
- -
- # Like AC_CONFIG_HEADER, but automatically create stamp file.
-
- -AC_DEFUN(AM_CONFIG_HEADER,
- +AC_DEFUN([AM_CONFIG_HEADER],
- [AC_PREREQ([2.12])
- AC_CONFIG_HEADER([$1])
- dnl When config.status generates a header, we must update the stamp-h file.
- @@ -451,8 +4496,9 @@
- dnl Usage:
- dnl AM_INIT_AUTOMAKE(package,version, [no-define])
-
- -AC_DEFUN(AM_INIT_AUTOMAKE,
- -[AC_REQUIRE([AC_PROG_INSTALL])
- +AC_DEFUN([AM_INIT_AUTOMAKE],
- +[AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
- +AC_REQUIRE([AC_PROG_INSTALL])
- PACKAGE=[$1]
- AC_SUBST(PACKAGE)
- VERSION=[$2]
- @@ -468,18 +4514,47 @@
- AC_REQUIRE([AC_ARG_PROGRAM])
- dnl FIXME This is truly gross.
- missing_dir=`cd $ac_aux_dir && pwd`
- -AM_MISSING_PROG(ACLOCAL, aclocal, $missing_dir)
- +AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version}, $missing_dir)
- AM_MISSING_PROG(AUTOCONF, autoconf, $missing_dir)
- -AM_MISSING_PROG(AUTOMAKE, automake, $missing_dir)
- +AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}, $missing_dir)
- AM_MISSING_PROG(AUTOHEADER, autoheader, $missing_dir)
- AM_MISSING_PROG(MAKEINFO, makeinfo, $missing_dir)
- AC_REQUIRE([AC_PROG_MAKE_SET])])
-
- +# Copyright 2002 Free Software Foundation, Inc.
- +
- +# This program is free software; you can redistribute it and/or modify
- +# it under the terms of the GNU General Public License as published by
- +# the Free Software Foundation; either version 2, or (at your option)
- +# any later version.
- +
- +# This program is distributed in the hope that it will be useful,
- +# but WITHOUT ANY WARRANTY; without even the implied warranty of
- +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- +# GNU General Public License for more details.
- +
- +# You should have received a copy of the GNU General Public License
- +# along with this program; if not, write to the Free Software
- +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
- +
- +# AM_AUTOMAKE_VERSION(VERSION)
- +# ----------------------------
- +# Automake X.Y traces this macro to ensure aclocal.m4 has been
- +# generated from the m4 files accompanying Automake X.Y.
- +AC_DEFUN([AM_AUTOMAKE_VERSION],[am__api_version="1.4"])
- +
- +# AM_SET_CURRENT_AUTOMAKE_VERSION
- +# -------------------------------
- +# Call AM_AUTOMAKE_VERSION so it can be traced.
- +# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
- +AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
- + [AM_AUTOMAKE_VERSION([1.4-p6])])
- +
- #
- # Check to make sure that the build environment is sane.
- #
-
- -AC_DEFUN(AM_SANITY_CHECK,
- +AC_DEFUN([AM_SANITY_CHECK],
- [AC_MSG_CHECKING([whether build environment is sane])
- # Just in case
- sleep 1
- @@ -520,7 +4595,7 @@
-
- dnl AM_MISSING_PROG(NAME, PROGRAM, DIRECTORY)
- dnl The program must properly implement --version.
- -AC_DEFUN(AM_MISSING_PROG,
- +AC_DEFUN([AM_MISSING_PROG],
- [AC_MSG_CHECKING(for working $2)
- # Run test in a subshell; some versions of sh will print an error if
- # an executable is not found, even if stderr is redirected.
- @@ -572,10 +4647,37 @@
- AC_SUBST(ECHO_C)dnl
- ])
-
- +# isc-posix.m4 serial 2 (gettext-0.11.2)
- +dnl Copyright (C) 1995-2002 Free Software Foundation, Inc.
- +dnl This file is free software, distributed under the terms of the GNU
- +dnl General Public License. As a special exception to the GNU General
- +dnl Public License, this file may be distributed as part of a program
- +dnl that contains a configuration script generated by Autoconf, under
- +dnl the same distribution terms as the rest of that program.
- +
- +# This file is not needed with autoconf-2.53 and newer. Remove it in 2005.
- +
- +# This test replaces the one in autoconf.
- +# Currently this macro should have the same name as the autoconf macro
- +# because gettext's gettext.m4 (distributed in the automake package)
- +# still uses it. Otherwise, the use in gettext.m4 makes autoheader
- +# give these diagnostics:
- +# configure.in:556: AC_TRY_COMPILE was called before AC_ISC_POSIX
- +# configure.in:556: AC_TRY_RUN was called before AC_ISC_POSIX
- +
- +undefine([AC_ISC_POSIX])
- +
- +AC_DEFUN([AC_ISC_POSIX],
- + [
- + dnl This test replaces the obsolescent AC_ISC_POSIX kludge.
- + AC_CHECK_LIB(cposix, strerror, [LIBS="$LIBS -lcposix"])
- + ]
- +)
- +
-
- # serial 1
-
- -AC_DEFUN(AM_C_PROTOTYPES,
- +AC_DEFUN([AM_C_PROTOTYPES],
- [AC_REQUIRE([AM_PROG_CC_STDC])
- AC_REQUIRE([AC_PROG_CPP])
- AC_MSG_CHECKING([for function prototypes])
- @@ -612,7 +4714,7 @@
- # program @code{ansi2knr}, which comes with Ghostscript.
- # @end defmac
-
- -AC_DEFUN(AM_PROG_CC_STDC,
- +AC_DEFUN([AM_PROG_CC_STDC],
- [AC_REQUIRE([AC_PROG_CC])
- AC_BEFORE([$0], [AC_C_INLINE])
- AC_BEFORE([$0], [AC_C_CONST])
- @@ -862,7 +4964,7 @@
-
- # serial 1
-
- -AC_DEFUN(AM_WITH_DMALLOC,
- +AC_DEFUN([AM_WITH_DMALLOC],
- [AC_MSG_CHECKING(if malloc debugging is wanted)
- AC_ARG_WITH(dmalloc,
- [ --with-dmalloc use dmalloc, as in
- @@ -1011,18 +5113,1138 @@
- fi
- fi])
-
- -# Define a conditional.
- +# gettext.m4 serial 20 (gettext-0.12)
- +dnl Copyright (C) 1995-2003 Free Software Foundation, Inc.
- +dnl This file is free software, distributed under the terms of the GNU
- +dnl General Public License. As a special exception to the GNU General
- +dnl Public License, this file may be distributed as part of a program
- +dnl that contains a configuration script generated by Autoconf, under
- +dnl the same distribution terms as the rest of that program.
- +dnl
- +dnl This file can can be used in projects which are not available under
- +dnl the GNU General Public License or the GNU Library General Public
- +dnl License but which still want to provide support for the GNU gettext
- +dnl functionality.
- +dnl Please note that the actual code of the GNU gettext library is covered
- +dnl by the GNU Library General Public License, and the rest of the GNU
- +dnl gettext package package is covered by the GNU General Public License.
- +dnl They are *not* in the public domain.
- +
- +dnl Authors:
- +dnl Ulrich Drepper <drepper@cygnus.com>, 1995-2000.
- +dnl Bruno Haible <haible@clisp.cons.org>, 2000-2003.
- +
- +dnl Macro to add for using GNU gettext.
- +
- +dnl Usage: AM_GNU_GETTEXT([INTLSYMBOL], [NEEDSYMBOL], [INTLDIR]).
- +dnl INTLSYMBOL can be one of 'external', 'no-libtool', 'use-libtool'. The
- +dnl default (if it is not specified or empty) is 'no-libtool'.
- +dnl INTLSYMBOL should be 'external' for packages with no intl directory,
- +dnl and 'no-libtool' or 'use-libtool' for packages with an intl directory.
- +dnl If INTLSYMBOL is 'use-libtool', then a libtool library
- +dnl $(top_builddir)/intl/libintl.la will be created (shared and/or static,
- +dnl depending on --{enable,disable}-{shared,static} and on the presence of
- +dnl AM-DISABLE-SHARED). If INTLSYMBOL is 'no-libtool', a static library
- +dnl $(top_builddir)/intl/libintl.a will be created.
- +dnl If NEEDSYMBOL is specified and is 'need-ngettext', then GNU gettext
- +dnl implementations (in libc or libintl) without the ngettext() function
- +dnl will be ignored. If NEEDSYMBOL is specified and is
- +dnl 'need-formatstring-macros', then GNU gettext implementations that don't
- +dnl support the ISO C 99 <inttypes.h> formatstring macros will be ignored.
- +dnl INTLDIR is used to find the intl libraries. If empty,
- +dnl the value `$(top_builddir)/intl/' is used.
- +dnl
- +dnl The result of the configuration is one of three cases:
- +dnl 1) GNU gettext, as included in the intl subdirectory, will be compiled
- +dnl and used.
- +dnl Catalog format: GNU --> install in $(datadir)
- +dnl Catalog extension: .mo after installation, .gmo in source tree
- +dnl 2) GNU gettext has been found in the system's C library.
- +dnl Catalog format: GNU --> install in $(datadir)
- +dnl Catalog extension: .mo after installation, .gmo in source tree
- +dnl 3) No internationalization, always use English msgid.
- +dnl Catalog format: none
- +dnl Catalog extension: none
- +dnl If INTLSYMBOL is 'external', only cases 2 and 3 can occur.
- +dnl The use of .gmo is historical (it was needed to avoid overwriting the
- +dnl GNU format catalogs when building on a platform with an X/Open gettext),
- +dnl but we keep it in order not to force irrelevant filename changes on the
- +dnl maintainers.
- +dnl
- +AC_DEFUN([AM_GNU_GETTEXT],
- +[
- + dnl Argument checking.
- + ifelse([$1], [], , [ifelse([$1], [external], , [ifelse([$1], [no-libtool], , [ifelse([$1], [use-libtool], ,
- + [errprint([ERROR: invalid first argument to AM_GNU_GETTEXT
- +])])])])])
- + ifelse([$2], [], , [ifelse([$2], [need-ngettext], , [ifelse([$2], [need-formatstring-macros], ,
- + [errprint([ERROR: invalid second argument to AM_GNU_GETTEXT
- +])])])])
- + define(gt_included_intl, ifelse([$1], [external], [no], [yes]))
- + define(gt_libtool_suffix_prefix, ifelse([$1], [use-libtool], [l], []))
- +
- + AC_REQUIRE([AM_PO_SUBDIRS])dnl
- + ifelse(gt_included_intl, yes, [
- + AC_REQUIRE([AM_INTL_SUBDIR])dnl
- + ])
-
- -AC_DEFUN(AM_CONDITIONAL,
- -[AC_SUBST($1_TRUE)
- -AC_SUBST($1_FALSE)
- -if $2; then
- - $1_TRUE=
- - $1_FALSE='#'
- + dnl Prerequisites of AC_LIB_LINKFLAGS_BODY.
- + AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
- + AC_REQUIRE([AC_LIB_RPATH])
- +
- + dnl Sometimes libintl requires libiconv, so first search for libiconv.
- + dnl Ideally we would do this search only after the
- + dnl if test "$USE_NLS" = "yes"; then
- + dnl if test "$gt_cv_func_gnugettext_libc" != "yes"; then
- + dnl tests. But if configure.in invokes AM_ICONV after AM_GNU_GETTEXT
- + dnl the configure script would need to contain the same shell code
- + dnl again, outside any 'if'. There are two solutions:
- + dnl - Invoke AM_ICONV_LINKFLAGS_BODY here, outside any 'if'.
- + dnl - Control the expansions in more detail using AC_PROVIDE_IFELSE.
- + dnl Since AC_PROVIDE_IFELSE is only in autoconf >= 2.52 and not
- + dnl documented, we avoid it.
- + ifelse(gt_included_intl, yes, , [
- + AC_REQUIRE([AM_ICONV_LINKFLAGS_BODY])
- + ])
- +
- + dnl Set USE_NLS.
- + AM_NLS
- +
- + ifelse(gt_included_intl, yes, [
- + BUILD_INCLUDED_LIBINTL=no
- + USE_INCLUDED_LIBINTL=no
- + ])
- + LIBINTL=
- + LTLIBINTL=
- + POSUB=
- +
- + dnl If we use NLS figure out what method
- + if test "$USE_NLS" = "yes"; then
- + gt_use_preinstalled_gnugettext=no
- + ifelse(gt_included_intl, yes, [
- + AC_MSG_CHECKING([whether included gettext is requested])
- + AC_ARG_WITH(included-gettext,
- + [ --with-included-gettext use the GNU gettext library included here],
- + nls_cv_force_use_gnu_gettext=$withval,
- + nls_cv_force_use_gnu_gettext=no)
- + AC_MSG_RESULT($nls_cv_force_use_gnu_gettext)
- +
- + nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext"
- + if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
- + ])
- + dnl User does not insist on using GNU NLS library. Figure out what
- + dnl to use. If GNU gettext is available we use this. Else we have
- + dnl to fall back to GNU NLS library.
- +
- + dnl Add a version number to the cache macros.
- + define([gt_api_version], ifelse([$2], [need-formatstring-macros], 3, ifelse([$2], [need-ngettext], 2, 1)))
- + define([gt_cv_func_gnugettext_libc], [gt_cv_func_gnugettext]gt_api_version[_libc])
- + define([gt_cv_func_gnugettext_libintl], [gt_cv_func_gnugettext]gt_api_version[_libintl])
- +
- + AC_CACHE_CHECK([for GNU gettext in libc], gt_cv_func_gnugettext_libc,
- + [AC_TRY_LINK([#include <libintl.h>
- +]ifelse([$2], [need-formatstring-macros],
- +[#ifndef __GNU_GETTEXT_SUPPORTED_REVISION
- +#define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
- +#endif
- +changequote(,)dnl
- +typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
- +changequote([,])dnl
- +], [])[extern int _nl_msg_cat_cntr;
- +extern int *_nl_domain_bindings;],
- + [bindtextdomain ("", "");
- +return (int) gettext ("")]ifelse([$2], [need-ngettext], [ + (int) ngettext ("", "", 0)], [])[ + _nl_msg_cat_cntr + *_nl_domain_bindings],
- + gt_cv_func_gnugettext_libc=yes,
- + gt_cv_func_gnugettext_libc=no)])
- +
- + if test "$gt_cv_func_gnugettext_libc" != "yes"; then
- + dnl Sometimes libintl requires libiconv, so first search for libiconv.
- + ifelse(gt_included_intl, yes, , [
- + AM_ICONV_LINK
- + ])
- + dnl Search for libintl and define LIBINTL, LTLIBINTL and INCINTL
- + dnl accordingly. Don't use AC_LIB_LINKFLAGS_BODY([intl],[iconv])
- + dnl because that would add "-liconv" to LIBINTL and LTLIBINTL
- + dnl even if libiconv doesn't exist.
- + AC_LIB_LINKFLAGS_BODY([intl])
- + AC_CACHE_CHECK([for GNU gettext in libintl],
- + gt_cv_func_gnugettext_libintl,
- + [gt_save_CPPFLAGS="$CPPFLAGS"
- + CPPFLAGS="$CPPFLAGS $INCINTL"
- + gt_save_LIBS="$LIBS"
- + LIBS="$LIBS $LIBINTL"
- + dnl Now see whether libintl exists and does not depend on libiconv.
- + AC_TRY_LINK([#include <libintl.h>
- +]ifelse([$2], [need-formatstring-macros],
- +[#ifndef __GNU_GETTEXT_SUPPORTED_REVISION
- +#define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
- +#endif
- +changequote(,)dnl
- +typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
- +changequote([,])dnl
- +], [])[extern int _nl_msg_cat_cntr;
- +extern
- +#ifdef __cplusplus
- +"C"
- +#endif
- +const char *_nl_expand_alias ();],
- + [bindtextdomain ("", "");
- +return (int) gettext ("")]ifelse([$2], [need-ngettext], [ + (int) ngettext ("", "", 0)], [])[ + _nl_msg_cat_cntr + *_nl_expand_alias (0)],
- + gt_cv_func_gnugettext_libintl=yes,
- + gt_cv_func_gnugettext_libintl=no)
- + dnl Now see whether libintl exists and depends on libiconv.
- + if test "$gt_cv_func_gnugettext_libintl" != yes && test -n "$LIBICONV"; then
- + LIBS="$LIBS $LIBICONV"
- + AC_TRY_LINK([#include <libintl.h>
- +]ifelse([$2], [need-formatstring-macros],
- +[#ifndef __GNU_GETTEXT_SUPPORTED_REVISION
- +#define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
- +#endif
- +changequote(,)dnl
- +typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
- +changequote([,])dnl
- +], [])[extern int _nl_msg_cat_cntr;
- +extern
- +#ifdef __cplusplus
- +"C"
- +#endif
- +const char *_nl_expand_alias ();],
- + [bindtextdomain ("", "");
- +return (int) gettext ("")]ifelse([$2], [need-ngettext], [ + (int) ngettext ("", "", 0)], [])[ + _nl_msg_cat_cntr + *_nl_expand_alias (0)],
- + [LIBINTL="$LIBINTL $LIBICONV"
- + LTLIBINTL="$LTLIBINTL $LTLIBICONV"
- + gt_cv_func_gnugettext_libintl=yes
- + ])
- + fi
- + CPPFLAGS="$gt_save_CPPFLAGS"
- + LIBS="$gt_save_LIBS"])
- + fi
- +
- + dnl If an already present or preinstalled GNU gettext() is found,
- + dnl use it. But if this macro is used in GNU gettext, and GNU
- + dnl gettext is already preinstalled in libintl, we update this
- + dnl libintl. (Cf. the install rule in intl/Makefile.in.)
- + if test "$gt_cv_func_gnugettext_libc" = "yes" \
- + || { test "$gt_cv_func_gnugettext_libintl" = "yes" \
- + && test "$PACKAGE" != gettext-runtime \
- + && test "$PACKAGE" != gettext-tools; }; then
- + gt_use_preinstalled_gnugettext=yes
- + else
- + dnl Reset the values set by searching for libintl.
- + LIBINTL=
- + LTLIBINTL=
- + INCINTL=
- + fi
- +
- + ifelse(gt_included_intl, yes, [
- + if test "$gt_use_preinstalled_gnugettext" != "yes"; then
- + dnl GNU gettext is not found in the C library.
- + dnl Fall back on included GNU gettext library.
- + nls_cv_use_gnu_gettext=yes
- + fi
- + fi
- +
- + if test "$nls_cv_use_gnu_gettext" = "yes"; then
- + dnl Mark actions used to generate GNU NLS library.
- + BUILD_INCLUDED_LIBINTL=yes
- + USE_INCLUDED_LIBINTL=yes
- + LIBINTL="ifelse([$3],[],\${top_builddir}/intl,[$3])/libintl.[]gt_libtool_suffix_prefix[]a $LIBICONV"
- + LTLIBINTL="ifelse([$3],[],\${top_builddir}/intl,[$3])/libintl.[]gt_libtool_suffix_prefix[]a $LTLIBICONV"
- + LIBS=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'`
- + fi
- +
- + if test "$gt_use_preinstalled_gnugettext" = "yes" \
- + || test "$nls_cv_use_gnu_gettext" = "yes"; then
- + dnl Mark actions to use GNU gettext tools.
- + CATOBJEXT=.gmo
- + fi
- + ])
- +
- + if test "$gt_use_preinstalled_gnugettext" = "yes" \
- + || test "$nls_cv_use_gnu_gettext" = "yes"; then
- + AC_DEFINE(ENABLE_NLS, 1,
- + [Define to 1 if translation of program messages to the user's native language
- + is requested.])
- + else
- + USE_NLS=no
- + fi
- + fi
- +
- + AC_MSG_CHECKING([whether to use NLS])
- + AC_MSG_RESULT([$USE_NLS])
- + if test "$USE_NLS" = "yes"; then
- + AC_MSG_CHECKING([where the gettext function comes from])
- + if test "$gt_use_preinstalled_gnugettext" = "yes"; then
- + if test "$gt_cv_func_gnugettext_libintl" = "yes"; then
- + gt_source="external libintl"
- + else
- + gt_source="libc"
- + fi
- + else
- + gt_source="included intl directory"
- + fi
- + AC_MSG_RESULT([$gt_source])
- + fi
- +
- + if test "$USE_NLS" = "yes"; then
- +
- + if test "$gt_use_preinstalled_gnugettext" = "yes"; then
- + if test "$gt_cv_func_gnugettext_libintl" = "yes"; then
- + AC_MSG_CHECKING([how to link with libintl])
- + AC_MSG_RESULT([$LIBINTL])
- + AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCINTL])
- + fi
- +
- + dnl For backward compatibility. Some packages may be using this.
- + AC_DEFINE(HAVE_GETTEXT, 1,
- + [Define if the GNU gettext() function is already present or preinstalled.])
- + AC_DEFINE(HAVE_DCGETTEXT, 1,
- + [Define if the GNU dcgettext() function is already present or preinstalled.])
- + fi
- +
- + dnl We need to process the po/ directory.
- + POSUB=po
- + fi
- +
- + ifelse(gt_included_intl, yes, [
- + dnl If this is used in GNU gettext we have to set BUILD_INCLUDED_LIBINTL
- + dnl to 'yes' because some of the testsuite requires it.
- + if test "$PACKAGE" = gettext-runtime || test "$PACKAGE" = gettext-tools; then
- + BUILD_INCLUDED_LIBINTL=yes
- + fi
- +
- + dnl Make all variables we use known to autoconf.
- + AC_SUBST(BUILD_INCLUDED_LIBINTL)
- + AC_SUBST(USE_INCLUDED_LIBINTL)
- + AC_SUBST(CATOBJEXT)
- +
- + dnl For backward compatibility. Some configure.ins may be using this.
- + nls_cv_header_intl=
- + nls_cv_header_libgt=
- +
- + dnl For backward compatibility. Some Makefiles may be using this.
- + DATADIRNAME=share
- + AC_SUBST(DATADIRNAME)
- +
- + dnl For backward compatibility. Some Makefiles may be using this.
- + INSTOBJEXT=.mo
- + AC_SUBST(INSTOBJEXT)
- +
- + dnl For backward compatibility. Some Makefiles may be using this.
- + GENCAT=gencat
- + AC_SUBST(GENCAT)
- +
- + dnl For backward compatibility. Some Makefiles may be using this.
- + if test "$USE_INCLUDED_LIBINTL" = yes; then
- + INTLOBJS="\$(GETTOBJS)"
- + fi
- + AC_SUBST(INTLOBJS)
- +
- + dnl Enable libtool support if the surrounding package wishes it.
- + INTL_LIBTOOL_SUFFIX_PREFIX=gt_libtool_suffix_prefix
- + AC_SUBST(INTL_LIBTOOL_SUFFIX_PREFIX)
- + ])
- +
- + dnl For backward compatibility. Some Makefiles may be using this.
- + INTLLIBS="$LIBINTL"
- + AC_SUBST(INTLLIBS)
- +
- + dnl Make all documented variables known to autoconf.
- + AC_SUBST(LIBINTL)
- + AC_SUBST(LTLIBINTL)
- + AC_SUBST(POSUB)
- +])
- +
- +
- +dnl Checks for all prerequisites of the intl subdirectory,
- +dnl except for INTL_LIBTOOL_SUFFIX_PREFIX (and possibly LIBTOOL), INTLOBJS,
- +dnl USE_INCLUDED_LIBINTL, BUILD_INCLUDED_LIBINTL.
- +AC_DEFUN([AM_INTL_SUBDIR],
- +[
- + AC_REQUIRE([AC_PROG_INSTALL])dnl
- + AC_REQUIRE([AM_MKINSTALLDIRS])dnl
- + AC_REQUIRE([AC_PROG_CC])dnl
- + AC_REQUIRE([AC_CANONICAL_HOST])dnl
- + AC_REQUIRE([AC_PROG_RANLIB])dnl
- + AC_REQUIRE([AC_ISC_POSIX])dnl
- + AC_REQUIRE([AC_HEADER_STDC])dnl
- + AC_REQUIRE([AC_C_CONST])dnl
- + AC_REQUIRE([AC_C_INLINE])dnl
- + AC_REQUIRE([AC_TYPE_OFF_T])dnl
- + AC_REQUIRE([AC_TYPE_SIZE_T])dnl
- + AC_REQUIRE([AC_FUNC_ALLOCA])dnl
- + AC_REQUIRE([AC_FUNC_MMAP])dnl
- + AC_REQUIRE([jm_GLIBC21])dnl
- + AC_REQUIRE([gt_INTDIV0])dnl
- + AC_REQUIRE([jm_AC_TYPE_UINTMAX_T])dnl
- + AC_REQUIRE([gt_HEADER_INTTYPES_H])dnl
- + AC_REQUIRE([gt_INTTYPES_PRI])dnl
- +
- + AC_CHECK_HEADERS([argz.h limits.h locale.h nl_types.h malloc.h stddef.h \
- +stdlib.h string.h unistd.h sys/param.h])
- + AC_CHECK_FUNCS([feof_unlocked fgets_unlocked getc_unlocked getcwd getegid \
- +geteuid getgid getuid mempcpy munmap putenv setenv setlocale stpcpy \
- +strcasecmp strdup strtoul tsearch __argz_count __argz_stringify __argz_next \
- +__fsetlocking])
- +
- + AM_ICONV
- + AM_LANGINFO_CODESET
- + if test $ac_cv_header_locale_h = yes; then
- + AM_LC_MESSAGES
- + fi
- +
- + dnl intl/plural.c is generated from intl/plural.y. It requires bison,
- + dnl because plural.y uses bison specific features. It requires at least
- + dnl bison-1.26 because earlier versions generate a plural.c that doesn't
- + dnl compile.
- + dnl bison is only needed for the maintainer (who touches plural.y). But in
- + dnl order to avoid separate Makefiles or --enable-maintainer-mode, we put
- + dnl the rule in general Makefile. Now, some people carelessly touch the
- + dnl files or have a broken "make" program, hence the plural.c rule will
- + dnl sometimes fire. To avoid an error, defines BISON to ":" if it is not
- + dnl present or too old.
- + AC_CHECK_PROGS([INTLBISON], [bison])
- + if test -z "$INTLBISON"; then
- + ac_verc_fail=yes
- + else
- + dnl Found it, now check the version.
- + AC_MSG_CHECKING([version of bison])
- +changequote(<<,>>)dnl
- + ac_prog_version=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
- + case $ac_prog_version in
- + '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
- + 1.2[6-9]* | 1.[3-9][0-9]* | [2-9].*)
- +changequote([,])dnl
- + ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
- + *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
- + esac
- + AC_MSG_RESULT([$ac_prog_version])
- + fi
- + if test $ac_verc_fail = yes; then
- + INTLBISON=:
- + fi
- +])
- +
- +
- +dnl Usage: AM_GNU_GETTEXT_VERSION([gettext-version])
- +AC_DEFUN([AM_GNU_GETTEXT_VERSION], [])
- +
- +# po.m4 serial 1 (gettext-0.12)
- +dnl Copyright (C) 1995-2003 Free Software Foundation, Inc.
- +dnl This file is free software, distributed under the terms of the GNU
- +dnl General Public License. As a special exception to the GNU General
- +dnl Public License, this file may be distributed as part of a program
- +dnl that contains a configuration script generated by Autoconf, under
- +dnl the same distribution terms as the rest of that program.
- +dnl
- +dnl This file can can be used in projects which are not available under
- +dnl the GNU General Public License or the GNU Library General Public
- +dnl License but which still want to provide support for the GNU gettext
- +dnl functionality.
- +dnl Please note that the actual code of the GNU gettext library is covered
- +dnl by the GNU Library General Public License, and the rest of the GNU
- +dnl gettext package package is covered by the GNU General Public License.
- +dnl They are *not* in the public domain.
- +
- +dnl Authors:
- +dnl Ulrich Drepper <drepper@cygnus.com>, 1995-2000.
- +dnl Bruno Haible <haible@clisp.cons.org>, 2000-2003.
- +
- +dnl Checks for all prerequisites of the po subdirectory.
- +AC_DEFUN([AM_PO_SUBDIRS],
- +[
- + AC_REQUIRE([AC_PROG_MAKE_SET])dnl
- + AC_REQUIRE([AC_PROG_INSTALL])dnl
- + AC_REQUIRE([AM_MKINSTALLDIRS])dnl
- + AC_REQUIRE([AM_NLS])dnl
- +
- + dnl Perform the following tests also if --disable-nls has been given,
- + dnl because they are needed for "make dist" to work.
- +
- + dnl Search for GNU msgfmt in the PATH.
- + dnl The first test excludes Solaris msgfmt and early GNU msgfmt versions.
- + dnl The second test excludes FreeBSD msgfmt.
- + AM_PATH_PROG_WITH_TEST(MSGFMT, msgfmt,
- + [$ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 &&
- + (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi)],
- + :)
- + AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT)
- +
- + dnl Search for GNU xgettext 0.12 or newer in the PATH.
- + dnl The first test excludes Solaris xgettext and early GNU xgettext versions.
- + dnl The second test excludes FreeBSD xgettext.
- + AM_PATH_PROG_WITH_TEST(XGETTEXT, xgettext,
- + [$ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
- + (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi)],
- + :)
- + dnl Remove leftover from FreeBSD xgettext call.
- + rm -f messages.po
- +
- + dnl Search for GNU msgmerge 0.11 or newer in the PATH.
- + AM_PATH_PROG_WITH_TEST(MSGMERGE, msgmerge,
- + [$ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1], :)
- +
- + dnl This could go away some day; the PATH_PROG_WITH_TEST already does it.
- + dnl Test whether we really found GNU msgfmt.
- + if test "$GMSGFMT" != ":"; then
- + dnl If it is no GNU msgfmt we define it as : so that the
- + dnl Makefiles still can work.
- + if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 &&
- + (if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
- + : ;
- + else
- + GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
- + AC_MSG_RESULT(
- + [found $GMSGFMT program is not GNU msgfmt; ignore it])
- + GMSGFMT=":"
- + fi
- + fi
- +
- + dnl This could go away some day; the PATH_PROG_WITH_TEST already does it.
- + dnl Test whether we really found GNU xgettext.
- + if test "$XGETTEXT" != ":"; then
- + dnl If it is no GNU xgettext we define it as : so that the
- + dnl Makefiles still can work.
- + if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
- + (if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
- + : ;
- + else
- + AC_MSG_RESULT(
- + [found xgettext program is not GNU xgettext; ignore it])
- + XGETTEXT=":"
- + fi
- + dnl Remove leftover from FreeBSD xgettext call.
- + rm -f messages.po
- + fi
- +
- + AC_OUTPUT_COMMANDS([
- + for ac_file in $CONFIG_FILES; do
- + # Support "outfile[:infile[:infile...]]"
- + case "$ac_file" in
- + *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
- + esac
- + # PO directories have a Makefile.in generated from Makefile.in.in.
- + case "$ac_file" in */Makefile.in)
- + # Adjust a relative srcdir.
- + ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
- + ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
- + ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
- + # In autoconf-2.13 it is called $ac_given_srcdir.
- + # In autoconf-2.50 it is called $srcdir.
- + test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
- + case "$ac_given_srcdir" in
- + .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
- + /*) top_srcdir="$ac_given_srcdir" ;;
- + *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
- + esac
- + if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
- + rm -f "$ac_dir/POTFILES"
- + test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
- + cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
- + POMAKEFILEDEPS="POTFILES.in"
- + # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
- + # on $ac_dir but don't depend on user-specified configuration
- + # parameters.
- + if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
- + # The LINGUAS file contains the set of available languages.
- + if test -n "$OBSOLETE_ALL_LINGUAS"; then
- + test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
- + fi
- + ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
- + # Hide the ALL_LINGUAS assigment from automake.
- + eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
- + POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
- + else
- + # The set of available languages was given in configure.in.
- + eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
- + fi
- + case "$ac_given_srcdir" in
- + .) srcdirpre= ;;
- + *) srcdirpre='$(srcdir)/' ;;
- + esac
- + POFILES=
- + GMOFILES=
- + UPDATEPOFILES=
- + DUMMYPOFILES=
- + for lang in $ALL_LINGUAS; do
- + POFILES="$POFILES $srcdirpre$lang.po"
- + GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
- + UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
- + DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
- + done
- + # CATALOGS depends on both $ac_dir and the user's LINGUAS
- + # environment variable.
- + INST_LINGUAS=
- + if test -n "$ALL_LINGUAS"; then
- + for presentlang in $ALL_LINGUAS; do
- + useit=no
- + if test "%UNSET%" != "$LINGUAS"; then
- + desiredlanguages="$LINGUAS"
- + else
- + desiredlanguages="$ALL_LINGUAS"
- + fi
- + for desiredlang in $desiredlanguages; do
- + # Use the presentlang catalog if desiredlang is
- + # a. equal to presentlang, or
- + # b. a variant of presentlang (because in this case,
- + # presentlang can be used as a fallback for messages
- + # which are not translated in the desiredlang catalog).
- + case "$desiredlang" in
- + "$presentlang"*) useit=yes;;
- + esac
- + done
- + if test $useit = yes; then
- + INST_LINGUAS="$INST_LINGUAS $presentlang"
- + fi
- + done
- + fi
- + CATALOGS=
- + if test -n "$INST_LINGUAS"; then
- + for lang in $INST_LINGUAS; do
- + CATALOGS="$CATALOGS $lang.gmo"
- + done
- + fi
- + test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
- + sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
- + for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
- + if test -f "$f"; then
- + case "$f" in
- + *.orig | *.bak | *~) ;;
- + *) cat "$f" >> "$ac_dir/Makefile" ;;
- + esac
- + fi
- + done
- + fi
- + ;;
- + esac
- + done],
- + [# Capture the value of obsolete ALL_LINGUAS because we need it to compute
- + # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
- + # from automake.
- + eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
- + # Capture the value of LINGUAS because we need it to compute CATALOGS.
- + LINGUAS="${LINGUAS-%UNSET%}"
- + ])
- +])
- +
- +# nls.m4 serial 1 (gettext-0.12)
- +dnl Copyright (C) 1995-2003 Free Software Foundation, Inc.
- +dnl This file is free software, distributed under the terms of the GNU
- +dnl General Public License. As a special exception to the GNU General
- +dnl Public License, this file may be distributed as part of a program
- +dnl that contains a configuration script generated by Autoconf, under
- +dnl the same distribution terms as the rest of that program.
- +dnl
- +dnl This file can can be used in projects which are not available under
- +dnl the GNU General Public License or the GNU Library General Public
- +dnl License but which still want to provide support for the GNU gettext
- +dnl functionality.
- +dnl Please note that the actual code of the GNU gettext library is covered
- +dnl by the GNU Library General Public License, and the rest of the GNU
- +dnl gettext package package is covered by the GNU General Public License.
- +dnl They are *not* in the public domain.
- +
- +dnl Authors:
- +dnl Ulrich Drepper <drepper@cygnus.com>, 1995-2000.
- +dnl Bruno Haible <haible@clisp.cons.org>, 2000-2003.
- +
- +AC_DEFUN([AM_NLS],
- +[
- + AC_MSG_CHECKING([whether NLS is requested])
- + dnl Default is enabled NLS
- + AC_ARG_ENABLE(nls,
- + [ --disable-nls do not use Native Language Support],
- + USE_NLS=$enableval, USE_NLS=yes)
- + AC_MSG_RESULT($USE_NLS)
- + AC_SUBST(USE_NLS)
- +])
- +
- +AC_DEFUN([AM_MKINSTALLDIRS],
- +[
- + dnl If the AC_CONFIG_AUX_DIR macro for autoconf is used we possibly
- + dnl find the mkinstalldirs script in another subdir but $(top_srcdir).
- + dnl Try to locate it.
- + MKINSTALLDIRS=
- + if test -n "$ac_aux_dir"; then
- + case "$ac_aux_dir" in
- + /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;;
- + *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
- + esac
- + fi
- + if test -z "$MKINSTALLDIRS"; then
- + MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
- + fi
- + AC_SUBST(MKINSTALLDIRS)
- +])
- +
- +# progtest.m4 serial 3 (gettext-0.12)
- +dnl Copyright (C) 1996-2003 Free Software Foundation, Inc.
- +dnl This file is free software, distributed under the terms of the GNU
- +dnl General Public License. As a special exception to the GNU General
- +dnl Public License, this file may be distributed as part of a program
- +dnl that contains a configuration script generated by Autoconf, under
- +dnl the same distribution terms as the rest of that program.
- +dnl
- +dnl This file can can be used in projects which are not available under
- +dnl the GNU General Public License or the GNU Library General Public
- +dnl License but which still want to provide support for the GNU gettext
- +dnl functionality.
- +dnl Please note that the actual code of the GNU gettext library is covered
- +dnl by the GNU Library General Public License, and the rest of the GNU
- +dnl gettext package package is covered by the GNU General Public License.
- +dnl They are *not* in the public domain.
- +
- +dnl Authors:
- +dnl Ulrich Drepper <drepper@cygnus.com>, 1996.
- +
- +# Search path for a program which passes the given test.
- +
- +dnl AM_PATH_PROG_WITH_TEST(VARIABLE, PROG-TO-CHECK-FOR,
- +dnl TEST-PERFORMED-ON-FOUND_PROGRAM [, VALUE-IF-NOT-FOUND [, PATH]])
- +AC_DEFUN([AM_PATH_PROG_WITH_TEST],
- +[
- +# Prepare PATH_SEPARATOR.
- +# The user is always right.
- +if test "${PATH_SEPARATOR+set}" != set; then
- + echo "#! /bin/sh" >conf$$.sh
- + echo "exit 0" >>conf$$.sh
- + chmod +x conf$$.sh
- + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
- + PATH_SEPARATOR=';'
- + else
- + PATH_SEPARATOR=:
- + fi
- + rm -f conf$$.sh
- +fi
- +
- +# Find out how to test for executable files. Don't use a zero-byte file,
- +# as systems may use methods other than mode bits to determine executability.
- +cat >conf$$.file <<_ASEOF
- +#! /bin/sh
- +exit 0
- +_ASEOF
- +chmod +x conf$$.file
- +if test -x conf$$.file >/dev/null 2>&1; then
- + ac_executable_p="test -x"
- else
- - $1_TRUE='#'
- - $1_FALSE=
- -fi])
- + ac_executable_p="test -f"
- +fi
- +rm -f conf$$.file
- +
- +# Extract the first word of "$2", so it can be a program name with args.
- +set dummy $2; ac_word=[$]2
- +AC_MSG_CHECKING([for $ac_word])
- +AC_CACHE_VAL(ac_cv_path_$1,
- +[case "[$]$1" in
- + [[\\/]]* | ?:[[\\/]]*)
- + ac_cv_path_$1="[$]$1" # Let the user override the test with a path.
- + ;;
- + *)
- + ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
- + for ac_dir in ifelse([$5], , $PATH, [$5]); do
- + IFS="$ac_save_IFS"
- + test -z "$ac_dir" && ac_dir=.
- + for ac_exec_ext in '' $ac_executable_extensions; do
- + if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
- + if [$3]; then
- + ac_cv_path_$1="$ac_dir/$ac_word$ac_exec_ext"
- + break 2
- + fi
- + fi
- + done
- + done
- + IFS="$ac_save_IFS"
- +dnl If no 4th arg is given, leave the cache variable unset,
- +dnl so AC_PATH_PROGS will keep looking.
- +ifelse([$4], , , [ test -z "[$]ac_cv_path_$1" && ac_cv_path_$1="$4"
- +])dnl
- + ;;
- +esac])dnl
- +$1="$ac_cv_path_$1"
- +if test ifelse([$4], , [-n "[$]$1"], ["[$]$1" != "$4"]); then
- + AC_MSG_RESULT([$]$1)
- +else
- + AC_MSG_RESULT(no)
- +fi
- +AC_SUBST($1)dnl
- +])
- +
- +# iconv.m4 serial AM4 (gettext-0.11.3)
- +dnl Copyright (C) 2000-2002 Free Software Foundation, Inc.
- +dnl This file is free software, distributed under the terms of the GNU
- +dnl General Public License. As a special exception to the GNU General
- +dnl Public License, this file may be distributed as part of a program
- +dnl that contains a configuration script generated by Autoconf, under
- +dnl the same distribution terms as the rest of that program.
- +
- +dnl From Bruno Haible.
- +
- +AC_DEFUN([AM_ICONV_LINKFLAGS_BODY],
- +[
- + dnl Prerequisites of AC_LIB_LINKFLAGS_BODY.
- + AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
- + AC_REQUIRE([AC_LIB_RPATH])
- +
- + dnl Search for libiconv and define LIBICONV, LTLIBICONV and INCICONV
- + dnl accordingly.
- + AC_LIB_LINKFLAGS_BODY([iconv])
- +])
- +
- +AC_DEFUN([AM_ICONV_LINK],
- +[
- + dnl Some systems have iconv in libc, some have it in libiconv (OSF/1 and
- + dnl those with the standalone portable GNU libiconv installed).
- +
- + dnl Search for libiconv and define LIBICONV, LTLIBICONV and INCICONV
- + dnl accordingly.
- + AC_REQUIRE([AM_ICONV_LINKFLAGS_BODY])
- +
- + dnl Add $INCICONV to CPPFLAGS before performing the following checks,
- + dnl because if the user has installed libiconv and not disabled its use
- + dnl via --without-libiconv-prefix, he wants to use it. The first
- + dnl AC_TRY_LINK will then fail, the second AC_TRY_LINK will succeed.
- + am_save_CPPFLAGS="$CPPFLAGS"
- + AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCICONV])
- +
- + AC_CACHE_CHECK(for iconv, am_cv_func_iconv, [
- + am_cv_func_iconv="no, consider installing GNU libiconv"
- + am_cv_lib_iconv=no
- + AC_TRY_LINK([#include <stdlib.h>
- +#include <iconv.h>],
- + [iconv_t cd = iconv_open("","");
- + iconv(cd,NULL,NULL,NULL,NULL);
- + iconv_close(cd);],
- + am_cv_func_iconv=yes)
- + if test "$am_cv_func_iconv" != yes; then
- + am_save_LIBS="$LIBS"
- + LIBS="$LIBS $LIBICONV"
- + AC_TRY_LINK([#include <stdlib.h>
- +#include <iconv.h>],
- + [iconv_t cd = iconv_open("","");
- + iconv(cd,NULL,NULL,NULL,NULL);
- + iconv_close(cd);],
- + am_cv_lib_iconv=yes
- + am_cv_func_iconv=yes)
- + LIBS="$am_save_LIBS"
- + fi
- + ])
- + if test "$am_cv_func_iconv" = yes; then
- + AC_DEFINE(HAVE_ICONV, 1, [Define if you have the iconv() function.])
- + fi
- + if test "$am_cv_lib_iconv" = yes; then
- + AC_MSG_CHECKING([how to link with libiconv])
- + AC_MSG_RESULT([$LIBICONV])
- + else
- + dnl If $LIBICONV didn't lead to a usable library, we don't need $INCICONV
- + dnl either.
- + CPPFLAGS="$am_save_CPPFLAGS"
- + LIBICONV=
- + LTLIBICONV=
- + fi
- + AC_SUBST(LIBICONV)
- + AC_SUBST(LTLIBICONV)
- +])
- +
- +AC_DEFUN([AM_ICONV],
- +[
- + AM_ICONV_LINK
- + if test "$am_cv_func_iconv" = yes; then
- + AC_MSG_CHECKING([for iconv declaration])
- + AC_CACHE_VAL(am_cv_proto_iconv, [
- + AC_TRY_COMPILE([
- +#include <stdlib.h>
- +#include <iconv.h>
- +extern
- +#ifdef __cplusplus
- +"C"
- +#endif
- +#if defined(__STDC__) || defined(__cplusplus)
- +size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
- +#else
- +size_t iconv();
- +#endif
- +], [], am_cv_proto_iconv_arg1="", am_cv_proto_iconv_arg1="const")
- + am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"])
- + am_cv_proto_iconv=`echo "[$]am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
- + AC_MSG_RESULT([$]{ac_t:-
- + }[$]am_cv_proto_iconv)
- + AC_DEFINE_UNQUOTED(ICONV_CONST, $am_cv_proto_iconv_arg1,
- + [Define as const if the declaration of iconv() needs const.])
- + fi
- +])
- +
- +# intdiv0.m4 serial 1 (gettext-0.11.3)
- +dnl Copyright (C) 2002 Free Software Foundation, Inc.
- +dnl This file is free software, distributed under the terms of the GNU
- +dnl General Public License. As a special exception to the GNU General
- +dnl Public License, this file may be distributed as part of a program
- +dnl that contains a configuration script generated by Autoconf, under
- +dnl the same distribution terms as the rest of that program.
- +
- +dnl From Bruno Haible.
- +
- +AC_DEFUN([gt_INTDIV0],
- +[
- + AC_REQUIRE([AC_PROG_CC])dnl
- + AC_REQUIRE([AC_CANONICAL_HOST])dnl
- +
- + AC_CACHE_CHECK([whether integer division by zero raises SIGFPE],
- + gt_cv_int_divbyzero_sigfpe,
- + [
- + AC_TRY_RUN([
- +#include <stdlib.h>
- +#include <signal.h>
- +
- +static void
- +#ifdef __cplusplus
- +sigfpe_handler (int sig)
- +#else
- +sigfpe_handler (sig) int sig;
- +#endif
- +{
- + /* Exit with code 0 if SIGFPE, with code 1 if any other signal. */
- + exit (sig != SIGFPE);
- +}
- +
- +int x = 1;
- +int y = 0;
- +int z;
- +int nan;
- +
- +int main ()
- +{
- + signal (SIGFPE, sigfpe_handler);
- +/* IRIX and AIX (when "xlc -qcheck" is used) yield signal SIGTRAP. */
- +#if (defined (__sgi) || defined (_AIX)) && defined (SIGTRAP)
- + signal (SIGTRAP, sigfpe_handler);
- +#endif
- +/* Linux/SPARC yields signal SIGILL. */
- +#if defined (__sparc__) && defined (__linux__)
- + signal (SIGILL, sigfpe_handler);
- +#endif
- +
- + z = x / y;
- + nan = y / y;
- + exit (1);
- +}
- +], gt_cv_int_divbyzero_sigfpe=yes, gt_cv_int_divbyzero_sigfpe=no,
- + [
- + # Guess based on the CPU.
- + case "$host_cpu" in
- + alpha* | i[34567]86 | m68k | s390*)
- + gt_cv_int_divbyzero_sigfpe="guessing yes";;
- + *)
- + gt_cv_int_divbyzero_sigfpe="guessing no";;
- + esac
- + ])
- + ])
- + case "$gt_cv_int_divbyzero_sigfpe" in
- + *yes) value=1;;
- + *) value=0;;
- + esac
- + AC_DEFINE_UNQUOTED(INTDIV0_RAISES_SIGFPE, $value,
- + [Define if integer division by zero raises signal SIGFPE.])
- +])
- +
- +# uintmax_t.m4 serial 7 (gettext-0.12)
- +dnl Copyright (C) 1997-2003 Free Software Foundation, Inc.
- +dnl This file is free software, distributed under the terms of the GNU
- +dnl General Public License. As a special exception to the GNU General
- +dnl Public License, this file may be distributed as part of a program
- +dnl that contains a configuration script generated by Autoconf, under
- +dnl the same distribution terms as the rest of that program.
- +
- +dnl From Paul Eggert.
- +
- +AC_PREREQ(2.13)
- +
- +# Define uintmax_t to 'unsigned long' or 'unsigned long long'
- +# if it is not already defined in <stdint.h> or <inttypes.h>.
- +
- +AC_DEFUN([jm_AC_TYPE_UINTMAX_T],
- +[
- + AC_REQUIRE([jm_AC_HEADER_INTTYPES_H])
- + AC_REQUIRE([jm_AC_HEADER_STDINT_H])
- + if test $jm_ac_cv_header_inttypes_h = no && test $jm_ac_cv_header_stdint_h = no; then
- + AC_REQUIRE([jm_AC_TYPE_UNSIGNED_LONG_LONG])
- + test $ac_cv_type_unsigned_long_long = yes \
- + && ac_type='unsigned long long' \
- + || ac_type='unsigned long'
- + AC_DEFINE_UNQUOTED(uintmax_t, $ac_type,
- + [Define to unsigned long or unsigned long long
- + if <stdint.h> and <inttypes.h> don't define.])
- + else
- + AC_DEFINE(HAVE_UINTMAX_T, 1,
- + [Define if you have the 'uintmax_t' type in <stdint.h> or <inttypes.h>.])
- + fi
- +])
- +
- +# inttypes_h.m4 serial 5 (gettext-0.12)
- +dnl Copyright (C) 1997-2003 Free Software Foundation, Inc.
- +dnl This file is free software, distributed under the terms of the GNU
- +dnl General Public License. As a special exception to the GNU General
- +dnl Public License, this file may be distributed as part of a program
- +dnl that contains a configuration script generated by Autoconf, under
- +dnl the same distribution terms as the rest of that program.
- +
- +dnl From Paul Eggert.
- +
- +# Define HAVE_INTTYPES_H_WITH_UINTMAX if <inttypes.h> exists,
- +# doesn't clash with <sys/types.h>, and declares uintmax_t.
- +
- +AC_DEFUN([jm_AC_HEADER_INTTYPES_H],
- +[
- + AC_CACHE_CHECK([for inttypes.h], jm_ac_cv_header_inttypes_h,
- + [AC_TRY_COMPILE(
- + [#include <sys/types.h>
- +#include <inttypes.h>],
- + [uintmax_t i = (uintmax_t) -1;],
- + jm_ac_cv_header_inttypes_h=yes,
- + jm_ac_cv_header_inttypes_h=no)])
- + if test $jm_ac_cv_header_inttypes_h = yes; then
- + AC_DEFINE_UNQUOTED(HAVE_INTTYPES_H_WITH_UINTMAX, 1,
- + [Define if <inttypes.h> exists, doesn't clash with <sys/types.h>,
- + and declares uintmax_t. ])
- + fi
- +])
- +
- +# stdint_h.m4 serial 3 (gettext-0.12)
- +dnl Copyright (C) 1997-2003 Free Software Foundation, Inc.
- +dnl This file is free software, distributed under the terms of the GNU
- +dnl General Public License. As a special exception to the GNU General
- +dnl Public License, this file may be distributed as part of a program
- +dnl that contains a configuration script generated by Autoconf, under
- +dnl the same distribution terms as the rest of that program.
- +
- +dnl From Paul Eggert.
- +
- +# Define HAVE_STDINT_H_WITH_UINTMAX if <stdint.h> exists,
- +# doesn't clash with <sys/types.h>, and declares uintmax_t.
- +
- +AC_DEFUN([jm_AC_HEADER_STDINT_H],
- +[
- + AC_CACHE_CHECK([for stdint.h], jm_ac_cv_header_stdint_h,
- + [AC_TRY_COMPILE(
- + [#include <sys/types.h>
- +#include <stdint.h>],
- + [uintmax_t i = (uintmax_t) -1;],
- + jm_ac_cv_header_stdint_h=yes,
- + jm_ac_cv_header_stdint_h=no)])
- + if test $jm_ac_cv_header_stdint_h = yes; then
- + AC_DEFINE_UNQUOTED(HAVE_STDINT_H_WITH_UINTMAX, 1,
- + [Define if <stdint.h> exists, doesn't clash with <sys/types.h>,
- + and declares uintmax_t. ])
- + fi
- +])
- +
- +# ulonglong.m4 serial 2 (fileutils-4.0.32, gettext-0.10.40)
- +dnl Copyright (C) 1999-2002 Free Software Foundation, Inc.
- +dnl This file is free software, distributed under the terms of the GNU
- +dnl General Public License. As a special exception to the GNU General
- +dnl Public License, this file may be distributed as part of a program
- +dnl that contains a configuration script generated by Autoconf, under
- +dnl the same distribution terms as the rest of that program.
- +
- +dnl From Paul Eggert.
- +
- +AC_DEFUN([jm_AC_TYPE_UNSIGNED_LONG_LONG],
- +[
- + AC_CACHE_CHECK([for unsigned long long], ac_cv_type_unsigned_long_long,
- + [AC_TRY_LINK([unsigned long long ull = 1; int i = 63;],
- + [unsigned long long ullmax = (unsigned long long) -1;
- + return ull << i | ull >> i | ullmax / ull | ullmax % ull;],
- + ac_cv_type_unsigned_long_long=yes,
- + ac_cv_type_unsigned_long_long=no)])
- + if test $ac_cv_type_unsigned_long_long = yes; then
- + AC_DEFINE(HAVE_UNSIGNED_LONG_LONG, 1,
- + [Define if you have the unsigned long long type.])
- + fi
- +])
- +
- +# inttypes.m4 serial 1 (gettext-0.11.4)
- +dnl Copyright (C) 1997-2002 Free Software Foundation, Inc.
- +dnl This file is free software, distributed under the terms of the GNU
- +dnl General Public License. As a special exception to the GNU General
- +dnl Public License, this file may be distributed as part of a program
- +dnl that contains a configuration script generated by Autoconf, under
- +dnl the same distribution terms as the rest of that program.
- +
- +dnl From Paul Eggert.
- +
- +# Define HAVE_INTTYPES_H if <inttypes.h> exists and doesn't clash with
- +# <sys/types.h>.
- +
- +AC_DEFUN([gt_HEADER_INTTYPES_H],
- +[
- + AC_CACHE_CHECK([for inttypes.h], gt_cv_header_inttypes_h,
- + [
- + AC_TRY_COMPILE(
- + [#include <sys/types.h>
- +#include <inttypes.h>],
- + [], gt_cv_header_inttypes_h=yes, gt_cv_header_inttypes_h=no)
- + ])
- + if test $gt_cv_header_inttypes_h = yes; then
- + AC_DEFINE_UNQUOTED(HAVE_INTTYPES_H, 1,
- + [Define if <inttypes.h> exists and doesn't clash with <sys/types.h>.])
- + fi
- +])
- +
- +# inttypes-pri.m4 serial 1 (gettext-0.11.4)
- +dnl Copyright (C) 1997-2002 Free Software Foundation, Inc.
- +dnl This file is free software, distributed under the terms of the GNU
- +dnl General Public License. As a special exception to the GNU General
- +dnl Public License, this file may be distributed as part of a program
- +dnl that contains a configuration script generated by Autoconf, under
- +dnl the same distribution terms as the rest of that program.
- +
- +dnl From Bruno Haible.
- +
- +# Define PRI_MACROS_BROKEN if <inttypes.h> exists and defines the PRI*
- +# macros to non-string values. This is the case on AIX 4.3.3.
- +
- +AC_DEFUN([gt_INTTYPES_PRI],
- +[
- + AC_REQUIRE([gt_HEADER_INTTYPES_H])
- + if test $gt_cv_header_inttypes_h = yes; then
- + AC_CACHE_CHECK([whether the inttypes.h PRIxNN macros are broken],
- + gt_cv_inttypes_pri_broken,
- + [
- + AC_TRY_COMPILE([#include <inttypes.h>
- +#ifdef PRId32
- +char *p = PRId32;
- +#endif
- +], [], gt_cv_inttypes_pri_broken=no, gt_cv_inttypes_pri_broken=yes)
- + ])
- + fi
- + if test "$gt_cv_inttypes_pri_broken" = yes; then
- + AC_DEFINE_UNQUOTED(PRI_MACROS_BROKEN, 1,
- + [Define if <inttypes.h> exists and defines unusable PRI* macros.])
- + fi
- +])
- +
- +# codeset.m4 serial AM1 (gettext-0.10.40)
- +dnl Copyright (C) 2000-2002 Free Software Foundation, Inc.
- +dnl This file is free software, distributed under the terms of the GNU
- +dnl General Public License. As a special exception to the GNU General
- +dnl Public License, this file may be distributed as part of a program
- +dnl that contains a configuration script generated by Autoconf, under
- +dnl the same distribution terms as the rest of that program.
- +
- +dnl From Bruno Haible.
- +
- +AC_DEFUN([AM_LANGINFO_CODESET],
- +[
- + AC_CACHE_CHECK([for nl_langinfo and CODESET], am_cv_langinfo_codeset,
- + [AC_TRY_LINK([#include <langinfo.h>],
- + [char* cs = nl_langinfo(CODESET);],
- + am_cv_langinfo_codeset=yes,
- + am_cv_langinfo_codeset=no)
- + ])
- + if test $am_cv_langinfo_codeset = yes; then
- + AC_DEFINE(HAVE_LANGINFO_CODESET, 1,
- + [Define if you have <langinfo.h> and nl_langinfo(CODESET).])
- + fi
- +])
-
- # Check whether LC_MESSAGES is available in <locale.h>.
- # Ulrich Drepper <drepper@cygnus.com>, 1995.
- @@ -1047,3 +6269,16 @@
- fi
- fi])
-
- +# Define a conditional.
- +
- +AC_DEFUN([AM_CONDITIONAL],
- +[AC_SUBST($1_TRUE)
- +AC_SUBST($1_FALSE)
- +if $2; then
- + $1_TRUE=
- + $1_FALSE='#'
- +else
- + $1_TRUE='#'
- + $1_FALSE=
- +fi])
- +
- --- recode-3.6.orig/configure.in
- +++ recode-3.6/configure.in
- @@ -7,7 +7,7 @@
- AM_CONFIG_HEADER(config.h)
- AM_INIT_AUTOMAKE(recode, 3.6)
- AT_CONFIG(../src)
- -ALL_LINGUAS="da de el es fr gl it nl pl pt sl sv"
- +ALL_LINGUAS="be ca da de el eo es fr ga gl he id it nl pl pt pt_BR ro sl sv tr vi zh_CN"
-
- AC_PROG_CC
- AC_AIX
- --- recode-3.6.orig/configure
- +++ recode-3.6/configure
- @@ -19,9 +19,170 @@
- --enable-fast-install[=PKGS] optimize for fast installation [default=yes]"
- ac_help="$ac_help
- --with-gnu-ld assume the C compiler uses GNU ld [default=no]"
- +
- +# Find the correct PATH separator. Usually this is `:', but
- +# DJGPP uses `;' like DOS.
- +if test "X${PATH_SEPARATOR+set}" != Xset; then
- + UNAME=${UNAME-`uname 2>/dev/null`}
- + case X$UNAME in
- + *-DOS) lt_cv_sys_path_separator=';' ;;
- + *) lt_cv_sys_path_separator=':' ;;
- + esac
- + PATH_SEPARATOR=$lt_cv_sys_path_separator
- +fi
- +
- +
- +# Check that we are running under the correct shell.
- +SHELL=${CONFIG_SHELL-/bin/sh}
- +
- +case X$ECHO in
- +X*--fallback-echo)
- + # Remove one level of quotation (which was required for Make).
- + ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
- + ;;
- +esac
- +
- +echo=${ECHO-echo}
- +if test "X$1" = X--no-reexec; then
- + # Discard the --no-reexec flag, and continue.
- + shift
- +elif test "X$1" = X--fallback-echo; then
- + # Avoid inline document here, it may be left over
- + :
- +elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then
- + # Yippee, $echo works!
- + :
- +else
- + # Restart under the correct shell.
- + exec $SHELL "$0" --no-reexec ${1+"$@"}
- +fi
- +
- +if test "X$1" = X--fallback-echo; then
- + # used as fallback echo
- + shift
- + cat <<EOF
- +
- +EOF
- + exit 0
- +fi
- +
- +# The HP-UX ksh and POSIX shell print the target directory to stdout
- +# if CDPATH is set.
- +if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
- +
- +if test -z "$ECHO"; then
- +if test "X${echo_test_string+set}" != Xset; then
- +# find a string as large as possible, as long as the shell can cope with it
- + for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
- + # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
- + if (echo_test_string="`eval $cmd`") 2>/dev/null &&
- + echo_test_string="`eval $cmd`" &&
- + (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
- + then
- + break
- + fi
- + done
- +fi
- +
- +if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
- + echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
- + test "X$echo_testing_string" = "X$echo_test_string"; then
- + :
- +else
- + # The Solaris, AIX, and Digital Unix default echo programs unquote
- + # backslashes. This makes it impossible to quote backslashes using
- + # echo "$something" | sed 's/\\/\\\\/g'
- + #
- + # So, first we look for a working echo in the user's PATH.
- +
- + IFS="${IFS= }"; save_ifs="$IFS"; IFS=$PATH_SEPARATOR
- + for dir in $PATH /usr/ucb; do
- + if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
- + test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
- + echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
- + test "X$echo_testing_string" = "X$echo_test_string"; then
- + echo="$dir/echo"
- + break
- + fi
- + done
- + IFS="$save_ifs"
- +
- + if test "X$echo" = Xecho; then
- + # We didn't find a better echo, so look for alternatives.
- + if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
- + echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
- + test "X$echo_testing_string" = "X$echo_test_string"; then
- + # This shell has a builtin print -r that does the trick.
- + echo='print -r'
- + elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
- + test "X$CONFIG_SHELL" != X/bin/ksh; then
- + # If we have ksh, try running configure again with it.
- + ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
- + export ORIGINAL_CONFIG_SHELL
- + CONFIG_SHELL=/bin/ksh
- + export CONFIG_SHELL
- + exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
- + else
- + # Try using printf.
- + echo='printf %s\n'
- + if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
- + echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
- + test "X$echo_testing_string" = "X$echo_test_string"; then
- + # Cool, printf works
- + :
- + elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
- + test "X$echo_testing_string" = 'X\t' &&
- + echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
- + test "X$echo_testing_string" = "X$echo_test_string"; then
- + CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
- + export CONFIG_SHELL
- + SHELL="$CONFIG_SHELL"
- + export SHELL
- + echo="$CONFIG_SHELL $0 --fallback-echo"
- + elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
- + test "X$echo_testing_string" = 'X\t' &&
- + echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
- + test "X$echo_testing_string" = "X$echo_test_string"; then
- + echo="$CONFIG_SHELL $0 --fallback-echo"
- + else
- + # maybe with a smaller string...
- + prev=:
- +
- + for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
- + if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
- + then
- + break
- + fi
- + prev="$cmd"
- + done
- +
- + if test "$prev" != 'sed 50q "$0"'; then
- + echo_test_string=`eval $prev`
- + export echo_test_string
- + exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
- + else
- + # Oops. We lost completely, so just stick with echo.
- + echo=echo
- + fi
- + fi
- + fi
- + fi
- +fi
- +fi
- +
- +# Copy echo and quote the copy suitably for passing to libtool from
- +# the Makefile, instead of quoting the original, which is used later.
- +ECHO=$echo
- +if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
- + ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
- +fi
- +
- +
- ac_help="$ac_help
- --disable-libtool-lock avoid locking (might break parallel builds)"
- ac_help="$ac_help
- + --with-pic try to use only PIC/non-PIC objects [default=use both]"
- +ac_help="$ac_help
- --with-dmalloc use dmalloc, as in
- ftp://ftp.letters.com/src/dmalloc/dmalloc.tar.gz"
- ac_help="$ac_help
- @@ -563,6 +724,7 @@
- ac_config_sub=$ac_aux_dir/config.sub
- ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
-
- +am__api_version="1.4"
- # Find a good install program. We prefer a C program (faster),
- # so one script is as good as another. But avoid the broken or
- # incompatible versions:
- @@ -575,7 +737,7 @@
- # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
- # ./install, which can be erroneously created by make from ./install.sh.
- echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
- -echo "configure:579: checking for a BSD compatible install" >&5
- +echo "configure:741: checking for a BSD compatible install" >&5
- if test -z "$INSTALL"; then
- if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
- @@ -628,7 +790,7 @@
- test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
-
- echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
- -echo "configure:632: checking whether build environment is sane" >&5
- +echo "configure:794: checking whether build environment is sane" >&5
- # Just in case
- sleep 1
- echo timestamp > conftestfile
- @@ -685,7 +847,7 @@
- test "$program_transform_name" = "" && program_transform_name="s,x,x,"
-
- echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
- -echo "configure:689: checking whether ${MAKE-make} sets \${MAKE}" >&5
- +echo "configure:851: checking whether ${MAKE-make} sets \${MAKE}" >&5
- set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
- if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
- @@ -730,21 +892,21 @@
-
-
- missing_dir=`cd $ac_aux_dir && pwd`
- -echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
- -echo "configure:735: checking for working aclocal" >&5
- +echo $ac_n "checking for working aclocal-${am__api_version}""... $ac_c" 1>&6
- +echo "configure:897: checking for working aclocal-${am__api_version}" >&5
- # Run test in a subshell; some versions of sh will print an error if
- # an executable is not found, even if stderr is redirected.
- # Redirect stdin to placate older versions of autoconf. Sigh.
- -if (aclocal --version) < /dev/null > /dev/null 2>&1; then
- - ACLOCAL=aclocal
- +if (aclocal-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then
- + ACLOCAL=aclocal-${am__api_version}
- echo "$ac_t""found" 1>&6
- else
- - ACLOCAL="$missing_dir/missing aclocal"
- + ACLOCAL="$missing_dir/missing aclocal-${am__api_version}"
- echo "$ac_t""missing" 1>&6
- fi
-
- echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
- -echo "configure:748: checking for working autoconf" >&5
- +echo "configure:910: checking for working autoconf" >&5
- # Run test in a subshell; some versions of sh will print an error if
- # an executable is not found, even if stderr is redirected.
- # Redirect stdin to placate older versions of autoconf. Sigh.
- @@ -756,21 +918,21 @@
- echo "$ac_t""missing" 1>&6
- fi
-
- -echo $ac_n "checking for working automake""... $ac_c" 1>&6
- -echo "configure:761: checking for working automake" >&5
- +echo $ac_n "checking for working automake-${am__api_version}""... $ac_c" 1>&6
- +echo "configure:923: checking for working automake-${am__api_version}" >&5
- # Run test in a subshell; some versions of sh will print an error if
- # an executable is not found, even if stderr is redirected.
- # Redirect stdin to placate older versions of autoconf. Sigh.
- -if (automake --version) < /dev/null > /dev/null 2>&1; then
- - AUTOMAKE=automake
- +if (automake-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then
- + AUTOMAKE=automake-${am__api_version}
- echo "$ac_t""found" 1>&6
- else
- - AUTOMAKE="$missing_dir/missing automake"
- + AUTOMAKE="$missing_dir/missing automake-${am__api_version}"
- echo "$ac_t""missing" 1>&6
- fi
-
- echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
- -echo "configure:774: checking for working autoheader" >&5
- +echo "configure:936: checking for working autoheader" >&5
- # Run test in a subshell; some versions of sh will print an error if
- # an executable is not found, even if stderr is redirected.
- # Redirect stdin to placate older versions of autoconf. Sigh.
- @@ -783,7 +945,7 @@
- fi
-
- echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
- -echo "configure:787: checking for working makeinfo" >&5
- +echo "configure:949: checking for working makeinfo" >&5
- # Run test in a subshell; some versions of sh will print an error if
- # an executable is not found, even if stderr is redirected.
- # Redirect stdin to placate older versions of autoconf. Sigh.
- @@ -799,7 +961,7 @@
- AT_TESTPATH=../src
-
- echo $ac_n "checking how to suppress newlines using echo""... $ac_c" 1>&6
- -echo "configure:803: checking how to suppress newlines using echo" >&5
- +echo "configure:965: checking how to suppress newlines using echo" >&5
- if eval "test \"`echo '$''{'fp_cv_prog_echo_nonl'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- @@ -825,12 +987,12 @@
- esac
-
-
- -ALL_LINGUAS="da de el es fr gl it nl pl pt sl sv"
- +ALL_LINGUAS="be ca da de el eo es fr ga gl he id it nl pl pt pt_BR ro sl sv tr vi zh_CN"
-
- # Extract the first word of "gcc", so it can be a program name with args.
- set dummy gcc; ac_word=$2
- echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
- -echo "configure:834: checking for $ac_word" >&5
- +echo "configure:996: checking for $ac_word" >&5
- if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- @@ -860,7 +1022,7 @@
- # Extract the first word of "cc", so it can be a program name with args.
- set dummy cc; ac_word=$2
- echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
- -echo "configure:864: checking for $ac_word" >&5
- +echo "configure:1026: checking for $ac_word" >&5
- if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- @@ -911,7 +1073,7 @@
- # Extract the first word of "cl", so it can be a program name with args.
- set dummy cl; ac_word=$2
- echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
- -echo "configure:915: checking for $ac_word" >&5
- +echo "configure:1077: checking for $ac_word" >&5
- if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- @@ -943,7 +1105,7 @@
- fi
-
- echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
- -echo "configure:947: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
- +echo "configure:1109: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
-
- ac_ext=c
- # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
- @@ -954,12 +1116,12 @@
-
- cat > conftest.$ac_ext << EOF
-
- -#line 958 "configure"
- +#line 1120 "configure"
- #include "confdefs.h"
-
- main(){return(0);}
- EOF
- -if { (eval echo configure:963: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- +if { (eval echo configure:1125: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- ac_cv_prog_cc_works=yes
- # If we can't run a trivial program, we are probably using a cross compiler.
- if (./conftest; exit) 2>/dev/null; then
- @@ -985,12 +1147,12 @@
- { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
- fi
- echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
- -echo "configure:989: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
- +echo "configure:1151: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
- echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
- cross_compiling=$ac_cv_prog_cc_cross
-
- echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
- -echo "configure:994: checking whether we are using GNU C" >&5
- +echo "configure:1156: checking whether we are using GNU C" >&5
- if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- @@ -999,7 +1161,7 @@
- yes;
- #endif
- EOF
- -if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1003: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
- +if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1165: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
- ac_cv_prog_gcc=yes
- else
- ac_cv_prog_gcc=no
- @@ -1018,7 +1180,7 @@
- ac_save_CFLAGS="$CFLAGS"
- CFLAGS=
- echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
- -echo "configure:1022: checking whether ${CC-cc} accepts -g" >&5
- +echo "configure:1184: checking whether ${CC-cc} accepts -g" >&5
- if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- @@ -1050,7 +1212,7 @@
- fi
-
- echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
- -echo "configure:1054: checking how to run the C preprocessor" >&5
- +echo "configure:1216: checking how to run the C preprocessor" >&5
- # On Suns, sometimes $CPP names a directory.
- if test -n "$CPP" && test -d "$CPP"; then
- CPP=
- @@ -1065,13 +1227,13 @@
- # On the NeXT, cc -E runs the code through the compiler's parser,
- # not just through cpp.
- cat > conftest.$ac_ext <<EOF
- -#line 1069 "configure"
- +#line 1231 "configure"
- #include "confdefs.h"
- #include <assert.h>
- Syntax Error
- EOF
- ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
- -{ (eval echo configure:1075: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
- +{ (eval echo configure:1237: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
- ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
- if test -z "$ac_err"; then
- :
- @@ -1082,13 +1244,13 @@
- rm -rf conftest*
- CPP="${CC-cc} -E -traditional-cpp"
- cat > conftest.$ac_ext <<EOF
- -#line 1086 "configure"
- +#line 1248 "configure"
- #include "confdefs.h"
- #include <assert.h>
- Syntax Error
- EOF
- ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
- -{ (eval echo configure:1092: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
- +{ (eval echo configure:1254: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
- ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
- if test -z "$ac_err"; then
- :
- @@ -1099,13 +1261,13 @@
- rm -rf conftest*
- CPP="${CC-cc} -nologo -E"
- cat > conftest.$ac_ext <<EOF
- -#line 1103 "configure"
- +#line 1265 "configure"
- #include "confdefs.h"
- #include <assert.h>
- Syntax Error
- EOF
- ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
- -{ (eval echo configure:1109: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
- +{ (eval echo configure:1271: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
- ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
- if test -z "$ac_err"; then
- :
- @@ -1130,9 +1292,9 @@
- echo "$ac_t""$CPP" 1>&6
-
- echo $ac_n "checking for AIX""... $ac_c" 1>&6
- -echo "configure:1134: checking for AIX" >&5
- +echo "configure:1296: checking for AIX" >&5
- cat > conftest.$ac_ext <<EOF
- -#line 1136 "configure"
- +#line 1298 "configure"
- #include "confdefs.h"
- #ifdef _AIX
- yes
- @@ -1155,17 +1317,17 @@
-
- ac_safe=`echo "minix/config.h" | sed 'y%./+-%__p_%'`
- echo $ac_n "checking for minix/config.h""... $ac_c" 1>&6
- -echo "configure:1159: checking for minix/config.h" >&5
- +echo "configure:1321: checking for minix/config.h" >&5
- if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- cat > conftest.$ac_ext <<EOF
- -#line 1164 "configure"
- +#line 1326 "configure"
- #include "confdefs.h"
- #include <minix/config.h>
- EOF
- ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
- -{ (eval echo configure:1169: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
- +{ (eval echo configure:1331: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
- ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
- if test -z "$ac_err"; then
- rm -rf conftest*
- @@ -1202,11 +1364,84 @@
-
- fi
-
- +# Find the correct PATH separator. Usually this is `:', but
- +# DJGPP uses `;' like DOS.
- +if test "X${PATH_SEPARATOR+set}" != Xset; then
- + UNAME=${UNAME-`uname 2>/dev/null`}
- + case X$UNAME in
- + *-DOS) lt_cv_sys_path_separator=';' ;;
- + *) lt_cv_sys_path_separator=':' ;;
- + esac
- + PATH_SEPARATOR=$lt_cv_sys_path_separator
- +fi
- +
- +echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
- +echo "configure:1380: checking for Cygwin environment" >&5
- +if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
- + echo $ac_n "(cached) $ac_c" 1>&6
- +else
- + cat > conftest.$ac_ext <<EOF
- +#line 1385 "configure"
- +#include "confdefs.h"
- +
- +int main() {
- +
- +#ifndef __CYGWIN__
- +#define __CYGWIN__ __CYGWIN32__
- +#endif
- +return __CYGWIN__;
- +; return 0; }
- +EOF
- +if { (eval echo configure:1396: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- + rm -rf conftest*
- + ac_cv_cygwin=yes
- +else
- + echo "configure: failed program was:" >&5
- + cat conftest.$ac_ext >&5
- + rm -rf conftest*
- + ac_cv_cygwin=no
- +fi
- +rm -f conftest*
- +rm -f conftest*
- +fi
- +
- +echo "$ac_t""$ac_cv_cygwin" 1>&6
- +CYGWIN=
- +test "$ac_cv_cygwin" = yes && CYGWIN=yes
- +echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
- +echo "configure:1413: checking for mingw32 environment" >&5
- +if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
- + echo $ac_n "(cached) $ac_c" 1>&6
- +else
- + cat > conftest.$ac_ext <<EOF
- +#line 1418 "configure"
- +#include "confdefs.h"
- +
- +int main() {
- +return __MINGW32__;
- +; return 0; }
- +EOF
- +if { (eval echo configure:1425: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- + rm -rf conftest*
- + ac_cv_mingw32=yes
- +else
- + echo "configure: failed program was:" >&5
- + cat conftest.$ac_ext >&5
- + rm -rf conftest*
- + ac_cv_mingw32=no
- +fi
- +rm -f conftest*
- +rm -f conftest*
- +fi
- +
- +echo "$ac_t""$ac_cv_mingw32" 1>&6
- +MINGW32=
- +test "$ac_cv_mingw32" = yes && MINGW32=yes
- # Check whether --enable-shared or --disable-shared was given.
- if test "${enable_shared+set}" = set; then
- enableval="$enable_shared"
- p=${PACKAGE-default}
- -case "$enableval" in
- +case $enableval in
- yes) enable_shared=yes ;;
- no) enable_shared=no ;;
- *)
- @@ -1229,7 +1464,7 @@
- if test "${enable_static+set}" = set; then
- enableval="$enable_static"
- p=${PACKAGE-default}
- -case "$enableval" in
- +case $enableval in
- yes) enable_static=yes ;;
- no) enable_static=no ;;
- *)
- @@ -1252,7 +1487,7 @@
- if test "${enable_fast_install+set}" = set; then
- enableval="$enable_fast_install"
- p=${PACKAGE-default}
- -case "$enableval" in
- +case $enableval in
- yes) enable_fast_install=yes ;;
- no) enable_fast_install=no ;;
- *)
- @@ -1278,7 +1513,7 @@
- fi
-
- echo $ac_n "checking host system type""... $ac_c" 1>&6
- -echo "configure:1282: checking host system type" >&5
- +echo "configure:1517: checking host system type" >&5
-
- host_alias=$host
- case "$host_alias" in
- @@ -1299,7 +1534,7 @@
- echo "$ac_t""$host" 1>&6
-
- echo $ac_n "checking build system type""... $ac_c" 1>&6
- -echo "configure:1303: checking build system type" >&5
- +echo "configure:1538: checking build system type" >&5
-
- build_alias=$build
- case "$build_alias" in
- @@ -1316,36 +1551,6 @@
- build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
- echo "$ac_t""$build" 1>&6
-
- -# Extract the first word of "ranlib", so it can be a program name with args.
- -set dummy ranlib; ac_word=$2
- -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
- -echo "configure:1323: checking for $ac_word" >&5
- -if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
- - echo $ac_n "(cached) $ac_c" 1>&6
- -else
- - if test -n "$RANLIB"; then
- - ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
- -else
- - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
- - ac_dummy="$PATH"
- - for ac_dir in $ac_dummy; do
- - test -z "$ac_dir" && ac_dir=.
- - if test -f $ac_dir/$ac_word; then
- - ac_cv_prog_RANLIB="ranlib"
- - break
- - fi
- - done
- - IFS="$ac_save_ifs"
- - test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
- -fi
- -fi
- -RANLIB="$ac_cv_prog_RANLIB"
- -if test -n "$RANLIB"; then
- - echo "$ac_t""$RANLIB" 1>&6
- -else
- - echo "$ac_t""no" 1>&6
- -fi
- -
- # Check whether --with-gnu-ld or --without-gnu-ld was given.
- if test "${with_gnu_ld+set}" = set; then
- withval="$with_gnu_ld"
- @@ -1355,12 +1560,18 @@
- fi
-
- ac_prog=ld
- -if test "$ac_cv_prog_gcc" = yes; then
- +if test "$GCC" = yes; then
- # Check if gcc -print-prog-name=ld gives a path.
- echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
- -echo "configure:1362: checking for ld used by GCC" >&5
- - ac_prog=`($CC -print-prog-name=ld) 2>&5`
- - case "$ac_prog" in
- +echo "configure:1567: checking for ld used by GCC" >&5
- + case $host in
- + *-*-mingw*)
- + # gcc leaves a trailing carriage return which upsets mingw
- + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
- + *)
- + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
- + esac
- + case $ac_prog in
- # Accept absolute paths.
- [\\/]* | [A-Za-z]:[\\/]*)
- re_direlt='/[^/][^/]*/\.\./'
- @@ -1382,24 +1593,24 @@
- esac
- elif test "$with_gnu_ld" = yes; then
- echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
- -echo "configure:1386: checking for GNU ld" >&5
- +echo "configure:1597: checking for GNU ld" >&5
- else
- echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
- -echo "configure:1389: checking for non-GNU ld" >&5
- +echo "configure:1600: checking for non-GNU ld" >&5
- fi
- -if eval "test \"`echo '$''{'ac_cv_path_LD'+set}'`\" = set"; then
- +if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- if test -z "$LD"; then
- - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
- + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
- for ac_dir in $PATH; do
- test -z "$ac_dir" && ac_dir=.
- if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
- - ac_cv_path_LD="$ac_dir/$ac_prog"
- + lt_cv_path_LD="$ac_dir/$ac_prog"
- # Check to see if the program is GNU ld. I'd rather use --version,
- # but apparently some GNU ld's only accept -v.
- # Break only if it was the GNU/non-GNU ld that we prefer.
- - if "$ac_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
- + if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
- test "$with_gnu_ld" != no && break
- else
- test "$with_gnu_ld" != yes && break
- @@ -1408,281 +1619,3938 @@
- done
- IFS="$ac_save_ifs"
- else
- - ac_cv_path_LD="$LD" # Let the user override the test with a path.
- + lt_cv_path_LD="$LD" # Let the user override the test with a path.
- +fi
- +fi
- +
- +LD="$lt_cv_path_LD"
- +if test -n "$LD"; then
- + echo "$ac_t""$LD" 1>&6
- +else
- + echo "$ac_t""no" 1>&6
- +fi
- +test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
- +echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6
- +echo "configure:1635: checking if the linker ($LD) is GNU ld" >&5
- +if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then
- + echo $ac_n "(cached) $ac_c" 1>&6
- +else
- + # I'd rather use --version here, but apparently some GNU ld's only accept -v.
- +if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
- + lt_cv_prog_gnu_ld=yes
- +else
- + lt_cv_prog_gnu_ld=no
- +fi
- +fi
- +
- +echo "$ac_t""$lt_cv_prog_gnu_ld" 1>&6
- +with_gnu_ld=$lt_cv_prog_gnu_ld
- +
- +
- +echo $ac_n "checking for $LD option to reload object files""... $ac_c" 1>&6
- +echo "configure:1652: checking for $LD option to reload object files" >&5
- +if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then
- + echo $ac_n "(cached) $ac_c" 1>&6
- +else
- + lt_cv_ld_reload_flag='-r'
- +fi
- +
- +echo "$ac_t""$lt_cv_ld_reload_flag" 1>&6
- +reload_flag=$lt_cv_ld_reload_flag
- +test -n "$reload_flag" && reload_flag=" $reload_flag"
- +
- +echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
- +echo "configure:1664: checking for BSD-compatible nm" >&5
- +if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then
- + echo $ac_n "(cached) $ac_c" 1>&6
- +else
- + if test -n "$NM"; then
- + # Let the user override the test.
- + lt_cv_path_NM="$NM"
- +else
- + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
- + for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
- + test -z "$ac_dir" && ac_dir=.
- + tmp_nm=$ac_dir/${ac_tool_prefix}nm
- + if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
- + # Check to see if the nm accepts a BSD-compat flag.
- + # Adding the `sed 1q' prevents false positives on HP-UX, which says:
- + # nm: unknown option "B" ignored
- + # Tru64's nm complains that /dev/null is an invalid object file
- + if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
- + lt_cv_path_NM="$tmp_nm -B"
- + break
- + elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
- + lt_cv_path_NM="$tmp_nm -p"
- + break
- + else
- + lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
- + continue # so that we can try to find one that supports BSD flags
- + fi
- + fi
- + done
- + IFS="$ac_save_ifs"
- + test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
- +fi
- +fi
- +
- +NM="$lt_cv_path_NM"
- +echo "$ac_t""$NM" 1>&6
- +
- +echo $ac_n "checking for a sed that does not truncate output""... $ac_c" 1>&6
- +echo "configure:1702: checking for a sed that does not truncate output" >&5
- +if eval "test \"`echo '$''{'lt_cv_path_SED'+set}'`\" = set"; then
- + echo $ac_n "(cached) $ac_c" 1>&6
- +else
- + # Loop through the user's path and test for sed and gsed.
- +# Then use that list of sed's as ones to test for truncation.
- +as_executable_p="test -f"
- +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
- +for as_dir in $PATH
- +do
- + IFS=$as_save_IFS
- + test -z "$as_dir" && as_dir=.
- + for ac_prog in sed gsed; do
- + for ac_exec_ext in '' $ac_executable_extensions; do
- + if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
- + _sed_list="$_sed_list $as_dir/$ac_prog$ac_exec_ext"
- + fi
- + done
- + done
- +done
- +
- + # Create a temporary directory, and hook for its removal unless debugging.
- +$debug ||
- +{
- + trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
- + trap '{ (exit 1); exit 1; }' 1 2 13 15
- +}
- +
- +# Create a (secure) tmp directory for tmp files.
- +: ${TMPDIR=/tmp}
- +{
- + tmp=`(umask 077 && mktemp -d -q "$TMPDIR/sedXXXXXX") 2>/dev/null` &&
- + test -n "$tmp" && test -d "$tmp"
- +} ||
- +{
- + tmp=$TMPDIR/sed$$-$RANDOM
- + (umask 077 && mkdir $tmp)
- +} ||
- +{
- + echo "$me: cannot create a temporary directory in $TMPDIR" >&2
- + { (exit 1); exit 1; }
- +}
- + _max=0
- + _count=0
- + # Add /usr/xpg4/bin/sed as it is typically found on Solaris
- + # along with /bin/sed that truncates output.
- + for _sed in $_sed_list /usr/xpg4/bin/sed; do
- + test ! -f ${_sed} && break
- + cat /dev/null > "$tmp/sed.in"
- + _count=0
- + echo ${ECHO_N-$ac_n} "0123456789${ECHO_C-$ac_c}" >"$tmp/sed.in"
- + # Check for GNU sed and select it if it is found.
- + if "${_sed}" --version 2>&1 < /dev/null | egrep '(GNU)' > /dev/null; then
- + lt_cv_path_SED=${_sed}
- + break
- + fi
- + while true; do
- + cat "$tmp/sed.in" "$tmp/sed.in" >"$tmp/sed.tmp"
- + mv "$tmp/sed.tmp" "$tmp/sed.in"
- + cp "$tmp/sed.in" "$tmp/sed.nl"
- + echo >>"$tmp/sed.nl"
- + ${_sed} -e 's/a$//' < "$tmp/sed.nl" >"$tmp/sed.out" || break
- + cmp -s "$tmp/sed.out" "$tmp/sed.nl" || break
- + # 40000 chars as input seems more than enough
- + test $_count -gt 10 && break
- + _count=`expr $_count + 1`
- + if test $_count -gt $_max; then
- + _max=$_count
- + lt_cv_path_SED=$_sed
- + fi
- + done
- + done
- + rm -rf "$tmp"
- +
- +fi
- +
- +if test "X$SED" != "X"; then
- + lt_cv_path_SED=$SED
- +else
- + SED=$lt_cv_path_SED
- +fi
- +echo "$ac_t""$SED" 1>&6
- +
- +echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
- +echo "configure:1786: checking whether ln -s works" >&5
- +if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
- + echo $ac_n "(cached) $ac_c" 1>&6
- +else
- + rm -f conftestdata
- +if ln -s X conftestdata 2>/dev/null
- +then
- + rm -f conftestdata
- + ac_cv_prog_LN_S="ln -s"
- +else
- + ac_cv_prog_LN_S=ln
- fi
- fi
- +LN_S="$ac_cv_prog_LN_S"
- +if test "$ac_cv_prog_LN_S" = "ln -s"; then
- + echo "$ac_t""yes" 1>&6
- +else
- + echo "$ac_t""no" 1>&6
- +fi
- +
- +echo $ac_n "checking how to recognise dependent libraries""... $ac_c" 1>&6
- +echo "configure:1807: checking how to recognise dependent libraries" >&5
- +if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then
- + echo $ac_n "(cached) $ac_c" 1>&6
- +else
- + lt_cv_file_magic_cmd='$MAGIC_CMD'
- +lt_cv_file_magic_test_file=
- +lt_cv_deplibs_check_method='unknown'
- +# Need to set the preceding variable on all platforms that support
- +# interlibrary dependencies.
- +# 'none' -- dependencies not supported.
- +# `unknown' -- same as none, but documents that we really don't know.
- +# 'pass_all' -- all dependencies passed with no checks.
- +# 'test_compile' -- check by making test program.
- +# 'file_magic [[regex]]' -- check by looking for files in library path
- +# which responds to the $file_magic_cmd with a given egrep regex.
- +# If you have `file' or equivalent on your system and you're not sure
- +# whether `pass_all' will *always* work, you probably want this one.
- +
- +case $host_os in
- +aix4* | aix5*)
- + lt_cv_deplibs_check_method=pass_all
- + ;;
- +
- +beos*)
- + lt_cv_deplibs_check_method=pass_all
- + ;;
- +
- +bsdi4*)
- + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
- + lt_cv_file_magic_cmd='/usr/bin/file -L'
- + lt_cv_file_magic_test_file=/shlib/libc.so
- + ;;
- +
- +cygwin* | mingw* | pw32*)
- + lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
- + lt_cv_file_magic_cmd='$OBJDUMP -f'
- + ;;
- +
- +darwin* | rhapsody*)
- + lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
- + lt_cv_file_magic_cmd='/usr/bin/file -L'
- + case "$host_os" in
- + rhapsody* | darwin1.[012])
- + lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -1`
- + ;;
- + *) # Darwin 1.3 on
- + lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
- + ;;
- + esac
- + ;;
- +
- +freebsd*)
- + if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
- + case $host_cpu in
- + i*86 )
- + # Not sure whether the presence of OpenBSD here was a mistake.
- + # Let's accept both of them until this is cleared up.
- + lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
- + lt_cv_file_magic_cmd=/usr/bin/file
- + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
- + ;;
- + esac
- + else
- + lt_cv_deplibs_check_method=pass_all
- + fi
- + ;;
- +
- +gnu*)
- + lt_cv_deplibs_check_method=pass_all
- + ;;
- +
- +hpux10.20*|hpux11*)
- + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
- + lt_cv_file_magic_cmd=/usr/bin/file
- + lt_cv_file_magic_test_file=/usr/lib/libc.sl
- + ;;
- +
- +irix5* | irix6* | nonstopux*)
- + case $host_os in
- + irix5* | nonstopux*)
- + # this will be overridden with pass_all, but let us keep it just in case
- + lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
- + ;;
- + *)
- + case $LD in
- + *-32|*"-32 ") libmagic=32-bit;;
- + *-n32|*"-n32 ") libmagic=N32;;
- + *-64|*"-64 ") libmagic=64-bit;;
- + *) libmagic=never-match;;
- + esac
- + # this will be overridden with pass_all, but let us keep it just in case
- + lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
- + ;;
- + esac
- + lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
- + lt_cv_deplibs_check_method=pass_all
- + ;;
- +
- +# This must be Linux ELF.
- +linux-gnu*)
- + case $host_cpu in
- + alpha* | hppa* | i*86 | mips | mipsel | powerpc* | sparc* | ia64* | arm* | m68k)
- + lt_cv_deplibs_check_method=pass_all ;;
- + *)
- + # glibc up to 2.1.1 does not perform some relocations on ARM
- + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
- + esac
- + lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
- + ;;
- +
- +netbsd*)
- + if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
- + lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
- + else
- + lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
- + fi
- + ;;
- +
- +newos6*)
- + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
- + lt_cv_file_magic_cmd=/usr/bin/file
- + lt_cv_file_magic_test_file=/usr/lib/libnls.so
- + ;;
- +
- +openbsd*)
- + lt_cv_file_magic_cmd=/usr/bin/file
- + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
- + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
- + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
- + else
- + lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
- + fi
- + ;;
- +
- +osf3* | osf4* | osf5*)
- + # this will be overridden with pass_all, but let us keep it just in case
- + lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
- + lt_cv_file_magic_test_file=/shlib/libc.so
- + lt_cv_deplibs_check_method=pass_all
- + ;;
- +
- +sco3.2v5*)
- + lt_cv_deplibs_check_method=pass_all
- + ;;
- +
- +solaris*)
- + lt_cv_deplibs_check_method=pass_all
- + lt_cv_file_magic_test_file=/lib/libc.so
- + ;;
- +
- +sysv5uw[78]* | sysv4*uw2*)
- + lt_cv_deplibs_check_method=pass_all
- + ;;
- +
- +sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
- + case $host_vendor in
- + motorola)
- + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
- + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
- + ;;
- + ncr)
- + lt_cv_deplibs_check_method=pass_all
- + ;;
- + sequent)
- + lt_cv_file_magic_cmd='/bin/file'
- + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
- + ;;
- + sni)
- + lt_cv_file_magic_cmd='/bin/file'
- + lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
- + lt_cv_file_magic_test_file=/lib/libc.so
- + ;;
- + siemens)
- + lt_cv_deplibs_check_method=pass_all
- + ;;
- + esac
- + ;;
- +esac
- +
- +fi
- +
- +echo "$ac_t""$lt_cv_deplibs_check_method" 1>&6
- +file_magic_cmd=$lt_cv_file_magic_cmd
- +deplibs_check_method=$lt_cv_deplibs_check_method
- +
- +echo $ac_n "checking for object suffix""... $ac_c" 1>&6
- +echo "configure:1993: checking for object suffix" >&5
- +if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then
- + echo $ac_n "(cached) $ac_c" 1>&6
- +else
- + rm -f conftest*
- +echo 'int i = 1;' > conftest.$ac_ext
- +if { (eval echo configure:1999: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- + for ac_file in conftest.*; do
- + case $ac_file in
- + *.c) ;;
- + *) ac_cv_objext=`echo $ac_file | sed -e s/conftest.//` ;;
- + esac
- + done
- +else
- + { echo "configure: error: installation or configuration problem; compiler does not work" 1>&2; exit 1; }
- +fi
- +rm -f conftest*
- +fi
- +
- +echo "$ac_t""$ac_cv_objext" 1>&6
- +OBJEXT=$ac_cv_objext
- +ac_objext=$ac_cv_objext
- +
- +
- +
- +echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
- +echo "configure:2019: checking for executable suffix" >&5
- +if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
- + echo $ac_n "(cached) $ac_c" 1>&6
- +else
- + if test "$CYGWIN" = yes || test "$MINGW32" = yes; then
- + ac_cv_exeext=.exe
- +else
- + rm -f conftest*
- + echo 'int main () { return 0; }' > conftest.$ac_ext
- + ac_cv_exeext=
- + if { (eval echo configure:2029: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
- + for file in conftest.*; do
- + case $file in
- + *.$ac_ext | *.c | *.o | *.obj) ;;
- + *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;
- + esac
- + done
- + else
- + { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; }
- + fi
- + rm -f conftest*
- + test x"${ac_cv_exeext}" = x && ac_cv_exeext=no
- +fi
- +fi
- +
- +EXEEXT=""
- +test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext}
- +echo "$ac_t""${ac_cv_exeext}" 1>&6
- +ac_exeext=$EXEEXT
- +
- +if test $host != $build; then
- + ac_tool_prefix=${host_alias}-
- +else
- + ac_tool_prefix=
- +fi
- +
- +
- +
- +
- +# Check for command to grab the raw symbol name followed by C symbol from nm.
- +echo $ac_n "checking command to parse $NM output""... $ac_c" 1>&6
- +echo "configure:2060: checking command to parse $NM output" >&5
- +if eval "test \"`echo '$''{'lt_cv_sys_global_symbol_pipe'+set}'`\" = set"; then
- + echo $ac_n "(cached) $ac_c" 1>&6
- +else
- +
- +# These are sane defaults that work on at least a few old systems.
- +# [They come from Ultrix. What could be older than Ultrix?!! ;)]
- +
- +# Character class describing NM global symbol codes.
- +symcode='[BCDEGRST]'
- +
- +# Regexp to match symbols that can be accessed directly from C.
- +sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
- +
- +# Transform the above into a raw symbol and a C symbol.
- +symxfrm='\1 \2\3 \3'
- +
- +# Transform an extracted symbol line into a proper C declaration
- +lt_cv_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern char \1;/p'"
- +
- +# Transform an extracted symbol line into symbol name and symbol address
- +lt_cv_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
- +
- +# Define system-specific variables.
- +case $host_os in
- +aix*)
- + symcode='[BCDT]'
- + ;;
- +cygwin* | mingw* | pw32*)
- + symcode='[ABCDGISTW]'
- + ;;
- +hpux*) # Its linker distinguishes data from code symbols
- + lt_cv_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern char \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
- + lt_cv_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
- + ;;
- +irix* | nonstopux*)
- + symcode='[BCDEGRST]'
- + ;;
- +osf*)
- + symcode='[BCDEGQRST]'
- + ;;
- +solaris* | sysv5*)
- + symcode='[BDT]'
- + ;;
- +sysv4)
- + symcode='[DFNSTU]'
- + ;;
- +esac
- +
- +# Handle CRLF in mingw tool chain
- +opt_cr=
- +case $host_os in
- +mingw*)
- + opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
- + ;;
- +esac
- +
- +# If we're using GNU nm, then use its standard symbol codes.
- +if $NM -V 2>&1 | egrep '(GNU|with BFD)' > /dev/null; then
- + symcode='[ABCDGISTW]'
- +fi
- +
- +# Try without a prefix undercore, then with it.
- +for ac_symprfx in "" "_"; do
- +
- + # Write the raw and C identifiers.
- +lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
- +
- + # Check to see that the pipe works correctly.
- + pipe_works=no
- + rm -f conftest*
- + cat > conftest.$ac_ext <<EOF
- +#ifdef __cplusplus
- +extern "C" {
- +#endif
- +char nm_test_var;
- +void nm_test_func(){}
- +#ifdef __cplusplus
- +}
- +#endif
- +int main(){nm_test_var='a';nm_test_func();return(0);}
- +EOF
- +
- + if { (eval echo configure:2143: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- + # Now try to grab the symbols.
- + nlist=conftest.nm
- + if { (eval echo configure:2146: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\") 1>&5; (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5; } && test -s "$nlist"; then
- + # Try sorting and uniquifying the output.
- + if sort "$nlist" | uniq > "$nlist"T; then
- + mv -f "$nlist"T "$nlist"
- + else
- + rm -f "$nlist"T
- + fi
- +
- + # Make sure that we snagged all the symbols we need.
- + if egrep ' nm_test_var$' "$nlist" >/dev/null; then
- + if egrep ' nm_test_func$' "$nlist" >/dev/null; then
- + cat <<EOF > conftest.$ac_ext
- +#ifdef __cplusplus
- +extern "C" {
- +#endif
- +
- +EOF
- + # Now generate the symbol file.
- + eval "$lt_cv_global_symbol_to_cdecl"' < "$nlist" >> conftest.$ac_ext'
- +
- + cat <<EOF >> conftest.$ac_ext
- +#if defined (__STDC__) && __STDC__
- +# define lt_ptr void *
- +#else
- +# define lt_ptr char *
- +# define const
- +#endif
- +
- +/* The mapping between symbol names and symbols. */
- +const struct {
- + const char *name;
- + lt_ptr address;
- +}
- +lt_preloaded_symbols[] =
- +{
- +EOF
- + sed "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr) \&\2},/" < "$nlist" >> conftest.$ac_ext
- + cat <<\EOF >> conftest.$ac_ext
- + {0, (lt_ptr) 0}
- +};
- +
- +#ifdef __cplusplus
- +}
- +#endif
- +EOF
- + # Now try linking the two files.
- + mv conftest.$ac_objext conftstm.$ac_objext
- + save_LIBS="$LIBS"
- + save_CFLAGS="$CFLAGS"
- + LIBS="conftstm.$ac_objext"
- + CFLAGS="$CFLAGS$no_builtin_flag"
- + if { (eval echo configure:2197: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
- + pipe_works=yes
- + fi
- + LIBS="$save_LIBS"
- + CFLAGS="$save_CFLAGS"
- + else
- + echo "cannot find nm_test_func in $nlist" >&5
- + fi
- + else
- + echo "cannot find nm_test_var in $nlist" >&5
- + fi
- + else
- + echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
- + fi
- + else
- + echo "$progname: failed program was:" >&5
- + cat conftest.$ac_ext >&5
- + fi
- + rm -f conftest* conftst*
- +
- + # Do not use the global_symbol_pipe unless it works.
- + if test "$pipe_works" = yes; then
- + break
- + else
- + lt_cv_sys_global_symbol_pipe=
- + fi
- +done
- +
- +fi
- +
- +global_symbol_pipe="$lt_cv_sys_global_symbol_pipe"
- +if test -z "$lt_cv_sys_global_symbol_pipe"; then
- + global_symbol_to_cdecl=
- + global_symbol_to_c_name_address=
- +else
- + global_symbol_to_cdecl="$lt_cv_global_symbol_to_cdecl"
- + global_symbol_to_c_name_address="$lt_cv_global_symbol_to_c_name_address"
- +fi
- +if test -z "$global_symbol_pipe$global_symbol_to_cdec$global_symbol_to_c_name_address";
- +then
- + echo "$ac_t""failed" 1>&6
- +else
- + echo "$ac_t""ok" 1>&6
- +fi
- +
- +for ac_hdr in dlfcn.h
- +do
- +ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
- +echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
- +echo "configure:2246: checking for $ac_hdr" >&5
- +if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
- + echo $ac_n "(cached) $ac_c" 1>&6
- +else
- + cat > conftest.$ac_ext <<EOF
- +#line 2251 "configure"
- +#include "confdefs.h"
- +#include <$ac_hdr>
- +EOF
- +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
- +{ (eval echo configure:2256: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
- +ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
- +if test -z "$ac_err"; then
- + rm -rf conftest*
- + eval "ac_cv_header_$ac_safe=yes"
- +else
- + echo "$ac_err" >&5
- + echo "configure: failed program was:" >&5
- + cat conftest.$ac_ext >&5
- + rm -rf conftest*
- + eval "ac_cv_header_$ac_safe=no"
- +fi
- +rm -f conftest*
- +fi
- +if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
- + echo "$ac_t""yes" 1>&6
- + ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
- + cat >> confdefs.h <<EOF
- +#define $ac_tr_hdr 1
- +EOF
- +
- +else
- + echo "$ac_t""no" 1>&6
- +fi
- +done
- +
- +
- +
- +
- +
- +
- +# Only perform the check for file, if the check method requires it
- +case $deplibs_check_method in
- +file_magic*)
- + if test "$file_magic_cmd" = '$MAGIC_CMD'; then
- + echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6
- +echo "configure:2292: checking for ${ac_tool_prefix}file" >&5
- +if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
- + echo $ac_n "(cached) $ac_c" 1>&6
- +else
- + case $MAGIC_CMD in
- + /*)
- + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
- + ;;
- + ?:/*)
- + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
- + ;;
- + *)
- + ac_save_MAGIC_CMD="$MAGIC_CMD"
- + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
- + ac_dummy="/usr/bin:$PATH"
- + for ac_dir in $ac_dummy; do
- + test -z "$ac_dir" && ac_dir=.
- + if test -f $ac_dir/${ac_tool_prefix}file; then
- + lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
- + if test -n "$file_magic_test_file"; then
- + case $deplibs_check_method in
- + "file_magic "*)
- + file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
- + MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
- + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
- + egrep "$file_magic_regex" > /dev/null; then
- + :
- + else
- + cat <<EOF 1>&2
- +
- +*** Warning: the command libtool uses to detect shared libraries,
- +*** $file_magic_cmd, produces output that libtool cannot recognize.
- +*** The result is that libtool may fail to recognize shared libraries
- +*** as such. This will affect the creation of libtool libraries that
- +*** depend on shared libraries, but programs linked with such libtool
- +*** libraries will work regardless of this problem. Nevertheless, you
- +*** may want to report the problem to your system manager and/or to
- +*** bug-libtool@gnu.org
- +
- +EOF
- + fi ;;
- + esac
- + fi
- + break
- + fi
- + done
- + IFS="$ac_save_ifs"
- + MAGIC_CMD="$ac_save_MAGIC_CMD"
- + ;;
- +esac
- +fi
- +
- +MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
- +if test -n "$MAGIC_CMD"; then
- + echo "$ac_t""$MAGIC_CMD" 1>&6
- +else
- + echo "$ac_t""no" 1>&6
- +fi
- +
- +if test -z "$lt_cv_path_MAGIC_CMD"; then
- + if test -n "$ac_tool_prefix"; then
- + echo $ac_n "checking for file""... $ac_c" 1>&6
- +echo "configure:2354: checking for file" >&5
- +if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
- + echo $ac_n "(cached) $ac_c" 1>&6
- +else
- + case $MAGIC_CMD in
- + /*)
- + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
- + ;;
- + ?:/*)
- + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
- + ;;
- + *)
- + ac_save_MAGIC_CMD="$MAGIC_CMD"
- + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
- + ac_dummy="/usr/bin:$PATH"
- + for ac_dir in $ac_dummy; do
- + test -z "$ac_dir" && ac_dir=.
- + if test -f $ac_dir/file; then
- + lt_cv_path_MAGIC_CMD="$ac_dir/file"
- + if test -n "$file_magic_test_file"; then
- + case $deplibs_check_method in
- + "file_magic "*)
- + file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
- + MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
- + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
- + egrep "$file_magic_regex" > /dev/null; then
- + :
- + else
- + cat <<EOF 1>&2
- +
- +*** Warning: the command libtool uses to detect shared libraries,
- +*** $file_magic_cmd, produces output that libtool cannot recognize.
- +*** The result is that libtool may fail to recognize shared libraries
- +*** as such. This will affect the creation of libtool libraries that
- +*** depend on shared libraries, but programs linked with such libtool
- +*** libraries will work regardless of this problem. Nevertheless, you
- +*** may want to report the problem to your system manager and/or to
- +*** bug-libtool@gnu.org
- +
- +EOF
- + fi ;;
- + esac
- + fi
- + break
- + fi
- + done
- + IFS="$ac_save_ifs"
- + MAGIC_CMD="$ac_save_MAGIC_CMD"
- + ;;
- +esac
- +fi
- +
- +MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
- +if test -n "$MAGIC_CMD"; then
- + echo "$ac_t""$MAGIC_CMD" 1>&6
- +else
- + echo "$ac_t""no" 1>&6
- +fi
- +
- + else
- + MAGIC_CMD=:
- + fi
- +fi
- +
- + fi
- + ;;
- +esac
- +
- +# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
- +set dummy ${ac_tool_prefix}ranlib; ac_word=$2
- +echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
- +echo "configure:2425: checking for $ac_word" >&5
- +if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
- + echo $ac_n "(cached) $ac_c" 1>&6
- +else
- + if test -n "$RANLIB"; then
- + ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
- +else
- + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
- + ac_dummy="$PATH"
- + for ac_dir in $ac_dummy; do
- + test -z "$ac_dir" && ac_dir=.
- + if test -f $ac_dir/$ac_word; then
- + ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
- + break
- + fi
- + done
- + IFS="$ac_save_ifs"
- +fi
- +fi
- +RANLIB="$ac_cv_prog_RANLIB"
- +if test -n "$RANLIB"; then
- + echo "$ac_t""$RANLIB" 1>&6
- +else
- + echo "$ac_t""no" 1>&6
- +fi
- +
- +
- +if test -z "$ac_cv_prog_RANLIB"; then
- +if test -n "$ac_tool_prefix"; then
- + # Extract the first word of "ranlib", so it can be a program name with args.
- +set dummy ranlib; ac_word=$2
- +echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
- +echo "configure:2457: checking for $ac_word" >&5
- +if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
- + echo $ac_n "(cached) $ac_c" 1>&6
- +else
- + if test -n "$RANLIB"; then
- + ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
- +else
- + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
- + ac_dummy="$PATH"
- + for ac_dir in $ac_dummy; do
- + test -z "$ac_dir" && ac_dir=.
- + if test -f $ac_dir/$ac_word; then
- + ac_cv_prog_RANLIB="ranlib"
- + break
- + fi
- + done
- + IFS="$ac_save_ifs"
- + test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
- +fi
- +fi
- +RANLIB="$ac_cv_prog_RANLIB"
- +if test -n "$RANLIB"; then
- + echo "$ac_t""$RANLIB" 1>&6
- +else
- + echo "$ac_t""no" 1>&6
- +fi
- +
- +else
- + RANLIB=":"
- +fi
- +fi
- +
- +# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
- +set dummy ${ac_tool_prefix}strip; ac_word=$2
- +echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
- +echo "configure:2492: checking for $ac_word" >&5
- +if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
- + echo $ac_n "(cached) $ac_c" 1>&6
- +else
- + if test -n "$STRIP"; then
- + ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
- +else
- + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
- + ac_dummy="$PATH"
- + for ac_dir in $ac_dummy; do
- + test -z "$ac_dir" && ac_dir=.
- + if test -f $ac_dir/$ac_word; then
- + ac_cv_prog_STRIP="${ac_tool_prefix}strip"
- + break
- + fi
- + done
- + IFS="$ac_save_ifs"
- +fi
- +fi
- +STRIP="$ac_cv_prog_STRIP"
- +if test -n "$STRIP"; then
- + echo "$ac_t""$STRIP" 1>&6
- +else
- + echo "$ac_t""no" 1>&6
- +fi
- +
- +
- +if test -z "$ac_cv_prog_STRIP"; then
- +if test -n "$ac_tool_prefix"; then
- + # Extract the first word of "strip", so it can be a program name with args.
- +set dummy strip; ac_word=$2
- +echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
- +echo "configure:2524: checking for $ac_word" >&5
- +if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
- + echo $ac_n "(cached) $ac_c" 1>&6
- +else
- + if test -n "$STRIP"; then
- + ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
- +else
- + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
- + ac_dummy="$PATH"
- + for ac_dir in $ac_dummy; do
- + test -z "$ac_dir" && ac_dir=.
- + if test -f $ac_dir/$ac_word; then
- + ac_cv_prog_STRIP="strip"
- + break
- + fi
- + done
- + IFS="$ac_save_ifs"
- + test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP=":"
- +fi
- +fi
- +STRIP="$ac_cv_prog_STRIP"
- +if test -n "$STRIP"; then
- + echo "$ac_t""$STRIP" 1>&6
- +else
- + echo "$ac_t""no" 1>&6
- +fi
- +
- +else
- + STRIP=":"
- +fi
- +fi
- +
- +
- +enable_dlopen=no
- +enable_win32_dll=no
- +
- +# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
- +if test "${enable_libtool_lock+set}" = set; then
- + enableval="$enable_libtool_lock"
- + :
- +fi
- +
- +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
- +
- +# Some flags need to be propagated to the compiler or linker for good
- +# libtool support.
- +case $host in
- +*-*-irix6*)
- + # Find out which ABI we are using.
- + echo '#line 2573 "configure"' > conftest.$ac_ext
- + if { (eval echo configure:2574: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- + case `/usr/bin/file conftest.$ac_objext` in
- + *32-bit*)
- + LD="${LD-ld} -32"
- + ;;
- + *N32*)
- + LD="${LD-ld} -n32"
- + ;;
- + *64-bit*)
- + LD="${LD-ld} -64"
- + ;;
- + esac
- + fi
- + rm -rf conftest*
- + ;;
- +
- +*-*-sco3.2v5*)
- + # On SCO OpenServer 5, we need -belf to get full-featured binaries.
- + SAVE_CFLAGS="$CFLAGS"
- + CFLAGS="$CFLAGS -belf"
- + echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
- +echo "configure:2595: checking whether the C compiler needs -belf" >&5
- +if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
- + echo $ac_n "(cached) $ac_c" 1>&6
- +else
- +
- + ac_ext=c
- +# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
- +ac_cpp='$CPP $CPPFLAGS'
- +ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
- +ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
- +cross_compiling=$ac_cv_prog_cc_cross
- +
- + cat > conftest.$ac_ext <<EOF
- +#line 2608 "configure"
- +#include "confdefs.h"
- +
- +int main() {
- +
- +; return 0; }
- +EOF
- +if { (eval echo configure:2615: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- + rm -rf conftest*
- + lt_cv_cc_needs_belf=yes
- +else
- + echo "configure: failed program was:" >&5
- + cat conftest.$ac_ext >&5
- + rm -rf conftest*
- + lt_cv_cc_needs_belf=no
- +fi
- +rm -f conftest*
- + ac_ext=c
- +# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
- +ac_cpp='$CPP $CPPFLAGS'
- +ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
- +ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
- +cross_compiling=$ac_cv_prog_cc_cross
- +
- +fi
- +
- +echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6
- + if test x"$lt_cv_cc_needs_belf" != x"yes"; then
- + # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
- + CFLAGS="$SAVE_CFLAGS"
- + fi
- + ;;
- +
- +
- +esac
- +
- +# Sed substitution that helps us do robust quoting. It backslashifies
- +# metacharacters that are still active within double-quoted strings.
- +Xsed='sed -e s/^X//'
- +sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
- +
- +# Same as above, but do not quote variable references.
- +double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
- +
- +# Sed substitution to delay expansion of an escaped shell variable in a
- +# double_quote_subst'ed string.
- +delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
- +
- +# Constants:
- +rm="rm -f"
- +
- +# Global variables:
- +default_ofile=libtool
- +can_build_shared=yes
- +
- +# All known linkers require a `.a' archive for static linking (except M$VC,
- +# which needs '.lib').
- +libext=a
- +ltmain="$ac_aux_dir/ltmain.sh"
- +ofile="$default_ofile"
- +with_gnu_ld="$lt_cv_prog_gnu_ld"
- +need_locks="$enable_libtool_lock"
- +
- +old_CC="$CC"
- +old_CFLAGS="$CFLAGS"
- +
- +# Set sane defaults for various variables
- +test -z "$AR" && AR=ar
- +test -z "$AR_FLAGS" && AR_FLAGS=cru
- +test -z "$AS" && AS=as
- +test -z "$CC" && CC=cc
- +test -z "$DLLTOOL" && DLLTOOL=dlltool
- +test -z "$LD" && LD=ld
- +test -z "$LN_S" && LN_S="ln -s"
- +test -z "$MAGIC_CMD" && MAGIC_CMD=file
- +test -z "$NM" && NM=nm
- +test -z "$OBJDUMP" && OBJDUMP=objdump
- +test -z "$RANLIB" && RANLIB=:
- +test -z "$STRIP" && STRIP=:
- +test -z "$ac_objext" && ac_objext=o
- +
- +if test x"$host" != x"$build"; then
- + ac_tool_prefix=${host_alias}-
- +else
- + ac_tool_prefix=
- +fi
- +
- +# Transform linux* to *-*-linux-gnu*, to support old configure scripts.
- +case $host_os in
- +linux-gnu*) ;;
- +linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'`
- +esac
- +
- +case $host_os in
- +aix3*)
- + # AIX sometimes has problems with the GCC collect2 program. For some
- + # reason, if we set the COLLECT_NAMES environment variable, the problems
- + # vanish in a puff of smoke.
- + if test "X${COLLECT_NAMES+set}" != Xset; then
- + COLLECT_NAMES=
- + export COLLECT_NAMES
- + fi
- + ;;
- +esac
- +
- +# Determine commands to create old-style static archives.
- +old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
- +old_postinstall_cmds='chmod 644 $oldlib'
- +old_postuninstall_cmds=
- +
- +if test -n "$RANLIB"; then
- + case $host_os in
- + openbsd*)
- + old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
- + ;;
- + *)
- + old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
- + ;;
- + esac
- + old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
- +fi
- +
- +# Allow CC to be a program name with arguments.
- +set dummy $CC
- +compiler="$2"
- +
- +echo $ac_n "checking for objdir""... $ac_c" 1>&6
- +echo "configure:2735: checking for objdir" >&5
- +rm -f .libs 2>/dev/null
- +mkdir .libs 2>/dev/null
- +if test -d .libs; then
- + objdir=.libs
- +else
- + # MS-DOS does not allow filenames that begin with a dot.
- + objdir=_libs
- +fi
- +rmdir .libs 2>/dev/null
- +echo "$ac_t""$objdir" 1>&6
- +
- +
- +# Check whether --with-pic or --without-pic was given.
- +if test "${with_pic+set}" = set; then
- + withval="$with_pic"
- + pic_mode="$withval"
- +else
- + pic_mode=default
- +fi
- +
- +test -z "$pic_mode" && pic_mode=default
- +
- +# We assume here that the value for lt_cv_prog_cc_pic will not be cached
- +# in isolation, and that seeing it set (from the cache) indicates that
- +# the associated values are set (in the cache) correctly too.
- +echo $ac_n "checking for $compiler option to produce PIC""... $ac_c" 1>&6
- +echo "configure:2762: checking for $compiler option to produce PIC" >&5
- +if eval "test \"`echo '$''{'lt_cv_prog_cc_pic'+set}'`\" = set"; then
- + echo $ac_n "(cached) $ac_c" 1>&6
- +else
- + lt_cv_prog_cc_pic=
- + lt_cv_prog_cc_shlib=
- + lt_cv_prog_cc_wl=
- + lt_cv_prog_cc_static=
- + lt_cv_prog_cc_no_builtin=
- + lt_cv_prog_cc_can_build_shared=$can_build_shared
- +
- + if test "$GCC" = yes; then
- + lt_cv_prog_cc_wl='-Wl,'
- + lt_cv_prog_cc_static='-static'
- +
- + case $host_os in
- + aix*)
- + # Below there is a dirty hack to force normal static linking with -ldl
- + # The problem is because libdl dynamically linked with both libc and
- + # libC (AIX C++ library), which obviously doesn't included in libraries
- + # list by gcc. This cause undefined symbols with -static flags.
- + # This hack allows C programs to be linked with "-static -ldl", but
- + # not sure about C++ programs.
- + lt_cv_prog_cc_static="$lt_cv_prog_cc_static ${lt_cv_prog_cc_wl}-lC"
- + ;;
- + amigaos*)
- + # FIXME: we need at least 68020 code to build shared libraries, but
- + # adding the `-m68020' flag to GCC prevents building anything better,
- + # like `-m68040'.
- + lt_cv_prog_cc_pic='-m68020 -resident32 -malways-restore-a4'
- + ;;
- + beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
- + # PIC is the default for these OSes.
- + ;;
- + darwin* | rhapsody*)
- + # PIC is the default on this platform
- + # Common symbols not allowed in MH_DYLIB files
- + lt_cv_prog_cc_pic='-fno-common'
- + ;;
- + cygwin* | mingw* | pw32* | os2*)
- + # This hack is so that the source file can tell whether it is being
- + # built for inclusion in a dll (and should export symbols for example).
- + lt_cv_prog_cc_pic='-DDLL_EXPORT'
- + ;;
- + sysv4*MP*)
- + if test -d /usr/nec; then
- + lt_cv_prog_cc_pic=-Kconform_pic
- + fi
- + ;;
- + *)
- + lt_cv_prog_cc_pic='-fPIC'
- + ;;
- + esac
- + else
- + # PORTME Check for PIC flags for the system compiler.
- + case $host_os in
- + aix3* | aix4* | aix5*)
- + lt_cv_prog_cc_wl='-Wl,'
- + # All AIX code is PIC.
- + if test "$host_cpu" = ia64; then
- + # AIX 5 now supports IA64 processor
- + lt_cv_prog_cc_static='-Bstatic'
- + else
- + lt_cv_prog_cc_static='-bnso -bI:/lib/syscalls.exp'
- + fi
- + ;;
- +
- + hpux9* | hpux10* | hpux11*)
- + # Is there a better lt_cv_prog_cc_static that works with the bundled CC?
- + lt_cv_prog_cc_wl='-Wl,'
- + lt_cv_prog_cc_static="${lt_cv_prog_cc_wl}-a ${lt_cv_prog_cc_wl}archive"
- + lt_cv_prog_cc_pic='+Z'
- + ;;
- +
- + irix5* | irix6* | nonstopux*)
- + lt_cv_prog_cc_wl='-Wl,'
- + lt_cv_prog_cc_static='-non_shared'
- + # PIC (with -KPIC) is the default.
- + ;;
- +
- + cygwin* | mingw* | pw32* | os2*)
- + # This hack is so that the source file can tell whether it is being
- + # built for inclusion in a dll (and should export symbols for example).
- + lt_cv_prog_cc_pic='-DDLL_EXPORT'
- + ;;
- +
- + newsos6)
- + lt_cv_prog_cc_pic='-KPIC'
- + lt_cv_prog_cc_static='-Bstatic'
- + ;;
- +
- + osf3* | osf4* | osf5*)
- + # All OSF/1 code is PIC.
- + lt_cv_prog_cc_wl='-Wl,'
- + lt_cv_prog_cc_static='-non_shared'
- + ;;
- +
- + sco3.2v5*)
- + lt_cv_prog_cc_pic='-Kpic'
- + lt_cv_prog_cc_static='-dn'
- + lt_cv_prog_cc_shlib='-belf'
- + ;;
- +
- + solaris*)
- + lt_cv_prog_cc_pic='-KPIC'
- + lt_cv_prog_cc_static='-Bstatic'
- + lt_cv_prog_cc_wl='-Wl,'
- + ;;
- +
- + sunos4*)
- + lt_cv_prog_cc_pic='-PIC'
- + lt_cv_prog_cc_static='-Bstatic'
- + lt_cv_prog_cc_wl='-Qoption ld '
- + ;;
- +
- + sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
- + lt_cv_prog_cc_pic='-KPIC'
- + lt_cv_prog_cc_static='-Bstatic'
- + lt_cv_prog_cc_wl='-Wl,'
- + ;;
- +
- + uts4*)
- + lt_cv_prog_cc_pic='-pic'
- + lt_cv_prog_cc_static='-Bstatic'
- + ;;
- +
- + sysv4*MP*)
- + if test -d /usr/nec ;then
- + lt_cv_prog_cc_pic='-Kconform_pic'
- + lt_cv_prog_cc_static='-Bstatic'
- + fi
- + ;;
- +
- + *)
- + lt_cv_prog_cc_can_build_shared=no
- + ;;
- + esac
- + fi
- +
- +fi
- +
- +if test -z "$lt_cv_prog_cc_pic"; then
- + echo "$ac_t""none" 1>&6
- +else
- + echo "$ac_t""$lt_cv_prog_cc_pic" 1>&6
- +
- + # Check to make sure the pic_flag actually works.
- + echo $ac_n "checking if $compiler PIC flag $lt_cv_prog_cc_pic works""... $ac_c" 1>&6
- +echo "configure:2910: checking if $compiler PIC flag $lt_cv_prog_cc_pic works" >&5
- + if eval "test \"`echo '$''{'lt_cv_prog_cc_pic_works'+set}'`\" = set"; then
- + echo $ac_n "(cached) $ac_c" 1>&6
- +else
- + save_CFLAGS="$CFLAGS"
- + CFLAGS="$CFLAGS $lt_cv_prog_cc_pic -DPIC"
- + cat > conftest.$ac_ext <<EOF
- +#line 2917 "configure"
- +#include "confdefs.h"
- +
- +int main() {
- +
- +; return 0; }
- +EOF
- +if { (eval echo configure:2924: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- + rm -rf conftest*
- + case $host_os in
- + hpux9* | hpux10* | hpux11*)
- + # On HP-UX, both CC and GCC only warn that PIC is supported... then
- + # they create non-PIC objects. So, if there were any warnings, we
- + # assume that PIC is not supported.
- + if test -s conftest.err; then
- + lt_cv_prog_cc_pic_works=no
- + else
- + lt_cv_prog_cc_pic_works=yes
- + fi
- + ;;
- + *)
- + lt_cv_prog_cc_pic_works=yes
- + ;;
- + esac
- +
- +else
- + echo "configure: failed program was:" >&5
- + cat conftest.$ac_ext >&5
- + rm -rf conftest*
- + lt_cv_prog_cc_pic_works=no
- +
- +fi
- +rm -f conftest*
- + CFLAGS="$save_CFLAGS"
- +
- +fi
- +
- +
- + if test "X$lt_cv_prog_cc_pic_works" = Xno; then
- + lt_cv_prog_cc_pic=
- + lt_cv_prog_cc_can_build_shared=no
- + else
- + lt_cv_prog_cc_pic=" $lt_cv_prog_cc_pic"
- + fi
- +
- + echo "$ac_t""$lt_cv_prog_cc_pic_works" 1>&6
- +fi
- +
- +# Check for any special shared library compilation flags.
- +if test -n "$lt_cv_prog_cc_shlib"; then
- + echo "configure: warning: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" 1>&2
- + if echo "$old_CC $old_CFLAGS " | egrep -e "[ ]$lt_cv_prog_cc_shlib[ ]" >/dev/null; then :
- + else
- + echo "configure: warning: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" 1>&2
- + lt_cv_prog_cc_can_build_shared=no
- + fi
- +fi
- +
- +echo $ac_n "checking if $compiler static flag $lt_cv_prog_cc_static works""... $ac_c" 1>&6
- +echo "configure:2976: checking if $compiler static flag $lt_cv_prog_cc_static works" >&5
- +if eval "test \"`echo '$''{'lt_cv_prog_cc_static_works'+set}'`\" = set"; then
- + echo $ac_n "(cached) $ac_c" 1>&6
- +else
- + lt_cv_prog_cc_static_works=no
- + save_LDFLAGS="$LDFLAGS"
- + LDFLAGS="$LDFLAGS $lt_cv_prog_cc_static"
- + cat > conftest.$ac_ext <<EOF
- +#line 2984 "configure"
- +#include "confdefs.h"
- +
- +int main() {
- +
- +; return 0; }
- +EOF
- +if { (eval echo configure:2991: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- + rm -rf conftest*
- + lt_cv_prog_cc_static_works=yes
- +else
- + echo "configure: failed program was:" >&5
- + cat conftest.$ac_ext >&5
- +fi
- +rm -f conftest*
- + LDFLAGS="$save_LDFLAGS"
- +
- +fi
- +
- +
- +# Belt *and* braces to stop my trousers falling down:
- +test "X$lt_cv_prog_cc_static_works" = Xno && lt_cv_prog_cc_static=
- +echo "$ac_t""$lt_cv_prog_cc_static_works" 1>&6
- +
- +pic_flag="$lt_cv_prog_cc_pic"
- +special_shlib_compile_flags="$lt_cv_prog_cc_shlib"
- +wl="$lt_cv_prog_cc_wl"
- +link_static_flag="$lt_cv_prog_cc_static"
- +no_builtin_flag="$lt_cv_prog_cc_no_builtin"
- +can_build_shared="$lt_cv_prog_cc_can_build_shared"
- +
- +
- +# Check to see if options -o and -c are simultaneously supported by compiler
- +echo $ac_n "checking if $compiler supports -c -o file.$ac_objext""... $ac_c" 1>&6
- +echo "configure:3018: checking if $compiler supports -c -o file.$ac_objext" >&5
- +if eval "test \"`echo '$''{'lt_cv_compiler_c_o'+set}'`\" = set"; then
- + echo $ac_n "(cached) $ac_c" 1>&6
- +else
- +
- +$rm -r conftest 2>/dev/null
- +mkdir conftest
- +cd conftest
- +echo "int some_variable = 0;" > conftest.$ac_ext
- +mkdir out
- +# According to Tom Tromey, Ian Lance Taylor reported there are C compilers
- +# that will create temporary files in the current directory regardless of
- +# the output directory. Thus, making CWD read-only will cause this test
- +# to fail, enabling locking or at least warning the user not to do parallel
- +# builds.
- +chmod -w .
- +save_CFLAGS="$CFLAGS"
- +CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"
- +compiler_c_o=no
- +if { (eval echo configure:3037: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
- + # The compiler can only warn and ignore the option if not recognized
- + # So say no if there are warnings
- + if test -s out/conftest.err; then
- + lt_cv_compiler_c_o=no
- + else
- + lt_cv_compiler_c_o=yes
- + fi
- +else
- + # Append any errors to the config.log.
- + cat out/conftest.err 1>&5
- + lt_cv_compiler_c_o=no
- +fi
- +CFLAGS="$save_CFLAGS"
- +chmod u+w .
- +$rm conftest* out/*
- +rmdir out
- +cd ..
- +rmdir conftest
- +$rm -r conftest 2>/dev/null
- +
- +fi
- +
- +compiler_c_o=$lt_cv_compiler_c_o
- +echo "$ac_t""$compiler_c_o" 1>&6
- +
- +if test x"$compiler_c_o" = x"yes"; then
- + # Check to see if we can write to a .lo
- + echo $ac_n "checking if $compiler supports -c -o file.lo""... $ac_c" 1>&6
- +echo "configure:3066: checking if $compiler supports -c -o file.lo" >&5
- + if eval "test \"`echo '$''{'lt_cv_compiler_o_lo'+set}'`\" = set"; then
- + echo $ac_n "(cached) $ac_c" 1>&6
- +else
- +
- + lt_cv_compiler_o_lo=no
- + save_CFLAGS="$CFLAGS"
- + CFLAGS="$CFLAGS -c -o conftest.lo"
- + save_objext="$ac_objext"
- + ac_objext=lo
- + cat > conftest.$ac_ext <<EOF
- +#line 3077 "configure"
- +#include "confdefs.h"
- +
- +int main() {
- +int some_variable = 0;
- +; return 0; }
- +EOF
- +if { (eval echo configure:3084: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- + rm -rf conftest*
- + # The compiler can only warn and ignore the option if not recognized
- + # So say no if there are warnings
- + if test -s conftest.err; then
- + lt_cv_compiler_o_lo=no
- + else
- + lt_cv_compiler_o_lo=yes
- + fi
- +
- +else
- + echo "configure: failed program was:" >&5
- + cat conftest.$ac_ext >&5
- +fi
- +rm -f conftest*
- + ac_objext="$save_objext"
- + CFLAGS="$save_CFLAGS"
- +
- +fi
- +
- + compiler_o_lo=$lt_cv_compiler_o_lo
- + echo "$ac_t""$compiler_o_lo" 1>&6
- +else
- + compiler_o_lo=no
- +fi
- +
- +# Check to see if we can do hard links to lock some files if needed
- +hard_links="nottested"
- +if test "$compiler_c_o" = no && test "$need_locks" != no; then
- + # do not overwrite the value of need_locks provided by the user
- + echo $ac_n "checking if we can lock with hard links""... $ac_c" 1>&6
- +echo "configure:3115: checking if we can lock with hard links" >&5
- + hard_links=yes
- + $rm conftest*
- + ln conftest.a conftest.b 2>/dev/null && hard_links=no
- + touch conftest.a
- + ln conftest.a conftest.b 2>&5 || hard_links=no
- + ln conftest.a conftest.b 2>/dev/null && hard_links=no
- + echo "$ac_t""$hard_links" 1>&6
- + if test "$hard_links" = no; then
- + echo "configure: warning: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" 1>&2
- + need_locks=warn
- + fi
- +else
- + need_locks=no
- +fi
- +
- +if test "$GCC" = yes; then
- + # Check to see if options -fno-rtti -fno-exceptions are supported by compiler
- + echo $ac_n "checking if $compiler supports -fno-rtti -fno-exceptions""... $ac_c" 1>&6
- +echo "configure:3134: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
- + echo "int some_variable = 0;" > conftest.$ac_ext
- + save_CFLAGS="$CFLAGS"
- + CFLAGS="$CFLAGS -fno-rtti -fno-exceptions -c conftest.$ac_ext"
- + compiler_rtti_exceptions=no
- + cat > conftest.$ac_ext <<EOF
- +#line 3140 "configure"
- +#include "confdefs.h"
- +
- +int main() {
- +int some_variable = 0;
- +; return 0; }
- +EOF
- +if { (eval echo configure:3147: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- + rm -rf conftest*
- + # The compiler can only warn and ignore the option if not recognized
- + # So say no if there are warnings
- + if test -s conftest.err; then
- + compiler_rtti_exceptions=no
- + else
- + compiler_rtti_exceptions=yes
- + fi
- +
- +else
- + echo "configure: failed program was:" >&5
- + cat conftest.$ac_ext >&5
- +fi
- +rm -f conftest*
- + CFLAGS="$save_CFLAGS"
- + echo "$ac_t""$compiler_rtti_exceptions" 1>&6
- +
- + if test "$compiler_rtti_exceptions" = "yes"; then
- + no_builtin_flag=' -fno-builtin -fno-rtti -fno-exceptions'
- + else
- + no_builtin_flag=' -fno-builtin'
- + fi
- +fi
- +
- +# See if the linker supports building shared libraries.
- +echo $ac_n "checking whether the linker ($LD) supports shared libraries""... $ac_c" 1>&6
- +echo "configure:3174: checking whether the linker ($LD) supports shared libraries" >&5
- +
- +allow_undefined_flag=
- +no_undefined_flag=
- +need_lib_prefix=unknown
- +need_version=unknown
- +# when you set need_version to no, make sure it does not cause -set_version
- +# flags to be left without arguments
- +archive_cmds=
- +archive_expsym_cmds=
- +old_archive_from_new_cmds=
- +old_archive_from_expsyms_cmds=
- +export_dynamic_flag_spec=
- +whole_archive_flag_spec=
- +thread_safe_flag_spec=
- +hardcode_into_libs=no
- +hardcode_libdir_flag_spec=
- +hardcode_libdir_separator=
- +hardcode_direct=no
- +hardcode_minus_L=no
- +hardcode_shlibpath_var=unsupported
- +runpath_var=
- +link_all_deplibs=unknown
- +always_export_symbols=no
- +export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | sed '\''s/.* //'\'' | sort | uniq > $export_symbols'
- +# include_expsyms should be a list of space-separated symbols to be *always*
- +# included in the symbol list
- +include_expsyms=
- +# exclude_expsyms can be an egrep regular expression of symbols to exclude
- +# it will be wrapped by ` (' and `)$', so one must not match beginning or
- +# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
- +# as well as any symbol that contains `d'.
- +exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
- +# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
- +# platforms (ab)use it in PIC code, but their linkers get confused if
- +# the symbol is explicitly referenced. Since portable code cannot
- +# rely on this symbol name, it's probably fine to never include it in
- +# preloaded symbol tables.
- +extract_expsyms_cmds=
- +
- +case $host_os in
- +cygwin* | mingw* | pw32*)
- + # FIXME: the MSVC++ port hasn't been tested in a loooong time
- + # When not using gcc, we currently assume that we are using
- + # Microsoft Visual C++.
- + if test "$GCC" != yes; then
- + with_gnu_ld=no
- + fi
- + ;;
- +openbsd*)
- + with_gnu_ld=no
- + ;;
- +esac
- +
- +ld_shlibs=yes
- +if test "$with_gnu_ld" = yes; then
- + # If archive_cmds runs LD, not CC, wlarc should be empty
- + wlarc='${wl}'
- +
- + # See if GNU ld supports shared libraries.
- + case $host_os in
- + aix3* | aix4* | aix5*)
- + # On AIX, the GNU linker is very broken
- + # Note:Check GNU linker on AIX 5-IA64 when/if it becomes available.
- + ld_shlibs=no
- + cat <<EOF 1>&2
- +
- +*** Warning: the GNU linker, at least up to release 2.9.1, is reported
- +*** to be unable to reliably create shared libraries on AIX.
- +*** Therefore, libtool is disabling shared libraries support. If you
- +*** really care for shared libraries, you may want to modify your PATH
- +*** so that a non-GNU linker is found, and then restart.
- +
- +EOF
- + ;;
- +
- + amigaos*)
- + archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
- + hardcode_libdir_flag_spec='-L$libdir'
- + hardcode_minus_L=yes
- +
- + # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
- + # that the semantics of dynamic libraries on AmigaOS, at least up
- + # to version 4, is to share data among multiple programs linked
- + # with the same dynamic library. Since this doesn't match the
- + # behavior of shared libraries on other platforms, we can use
- + # them.
- + ld_shlibs=no
- + ;;
- +
- + beos*)
- + if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
- + allow_undefined_flag=unsupported
- + # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
- + # support --undefined. This deserves some investigation. FIXME
- + archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
- + else
- + ld_shlibs=no
- + fi
- + ;;
- +
- + cygwin* | mingw* | pw32*)
- + # hardcode_libdir_flag_spec is actually meaningless, as there is
- + # no search path for DLLs.
- + hardcode_libdir_flag_spec='-L$libdir'
- + allow_undefined_flag=unsupported
- + always_export_symbols=yes
- +
- + extract_expsyms_cmds='test -f $output_objdir/impgen.c || \
- + sed -e "/^# \/\* impgen\.c starts here \*\//,/^# \/\* impgen.c ends here \*\// { s/^# //;s/^# *$//; p; }" -e d < $''0 > $output_objdir/impgen.c~
- + test -f $output_objdir/impgen.exe || (cd $output_objdir && \
- + if test "x$HOST_CC" != "x" ; then $HOST_CC -o impgen impgen.c ; \
- + else $CC -o impgen impgen.c ; fi)~
- + $output_objdir/impgen $dir/$soroot > $output_objdir/$soname-def'
- +
- + old_archive_from_expsyms_cmds='$DLLTOOL --as=$AS --dllname $soname --def $output_objdir/$soname-def --output-lib $output_objdir/$newlib'
- +
- + # cygwin and mingw dlls have different entry points and sets of symbols
- + # to exclude.
- + # FIXME: what about values for MSVC?
- + dll_entry=__cygwin_dll_entry@12
- + dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12~
- + case $host_os in
- + mingw*)
- + # mingw values
- + dll_entry=_DllMainCRTStartup@12
- + dll_exclude_symbols=DllMain@12,DllMainCRTStartup@12,DllEntryPoint@12~
- + ;;
- + esac
- +
- + # mingw and cygwin differ, and it's simplest to just exclude the union
- + # of the two symbol sets.
- + dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12,DllMainCRTStartup@12,DllEntryPoint@12
- +
- + # recent cygwin and mingw systems supply a stub DllMain which the user
- + # can override, but on older systems we have to supply one (in ltdll.c)
- + if test "x$lt_cv_need_dllmain" = "xyes"; then
- + ltdll_obj='$output_objdir/$soname-ltdll.'"$ac_objext "
- + ltdll_cmds='test -f $output_objdir/$soname-ltdll.c || sed -e "/^# \/\* ltdll\.c starts here \*\//,/^# \/\* ltdll.c ends here \*\// { s/^# //; p; }" -e d < $''0 > $output_objdir/$soname-ltdll.c~
- + test -f $output_objdir/$soname-ltdll.$ac_objext || (cd $output_objdir && $CC -c $soname-ltdll.c)~'
- + else
- + ltdll_obj=
- + ltdll_cmds=
- + fi
- +
- + # Extract the symbol export list from an `--export-all' def file,
- + # then regenerate the def file from the symbol export list, so that
- + # the compiled dll only exports the symbol export list.
- + # Be careful not to strip the DATA tag left be newer dlltools.
- + export_symbols_cmds="$ltdll_cmds"'
- + $DLLTOOL --export-all --exclude-symbols '$dll_exclude_symbols' --output-def $output_objdir/$soname-def '$ltdll_obj'$libobjs $convenience~
- + sed -e "1,/EXPORTS/d" -e "s/ @ [0-9]*//" -e "s/ *;.*$//" < $output_objdir/$soname-def > $export_symbols'
- +
- + # If the export-symbols file already is a .def file (1st line
- + # is EXPORTS), use it as is.
- + # If DATA tags from a recent dlltool are present, honour them!
- + archive_expsym_cmds='if test "x`sed 1q $export_symbols`" = xEXPORTS; then
- + cp $export_symbols $output_objdir/$soname-def;
- + else
- + echo EXPORTS > $output_objdir/$soname-def;
- + _lt_hint=1;
- + cat $export_symbols | while read symbol; do
- + set dummy \$symbol;
- + case \$# in
- + 2) echo " \$2 @ \$_lt_hint ; " >> $output_objdir/$soname-def;;
- + 4) echo " \$2 \$3 \$4 ; " >> $output_objdir/$soname-def; _lt_hint=`expr \$_lt_hint - 1`;;
- + *) echo " \$2 @ \$_lt_hint \$3 ; " >> $output_objdir/$soname-def;;
- + esac;
- + _lt_hint=`expr 1 + \$_lt_hint`;
- + done;
- + fi~
- + '"$ltdll_cmds"'
- + $CC -Wl,--base-file,$output_objdir/$soname-base '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~
- + $DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp~
- + $CC -Wl,--base-file,$output_objdir/$soname-base $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~
- + $DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp --output-lib $output_objdir/$libname.dll.a~
- + $CC $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags'
- + ;;
- +
- + netbsd*)
- + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
- + archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
- + wlarc=
- + else
- + archive_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
- + archive_expsym_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
- + fi
- + ;;
- +
- + solaris* | sysv5*)
- + if $LD -v 2>&1 | egrep 'BFD 2\.8' > /dev/null; then
- + ld_shlibs=no
- + cat <<EOF 1>&2
- +
- +*** Warning: The releases 2.8.* of the GNU linker cannot reliably
- +*** create shared libraries on Solaris systems. Therefore, libtool
- +*** is disabling shared libraries support. We urge you to upgrade GNU
- +*** binutils to release 2.9.1 or newer. Another option is to modify
- +*** your PATH or compiler configuration so that the native linker is
- +*** used, and then restart.
- +
- +EOF
- + elif $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
- + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
- + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
- + else
- + ld_shlibs=no
- + fi
- + ;;
- +
- + sunos4*)
- + archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
- + wlarc=
- + hardcode_direct=yes
- + hardcode_shlibpath_var=no
- + ;;
- +
- + *)
- + if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
- + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
- + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
- + else
- + ld_shlibs=no
- + fi
- + ;;
- + esac
- +
- + if test "$ld_shlibs" = yes; then
- + runpath_var=LD_RUN_PATH
- + hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
- + export_dynamic_flag_spec='${wl}--export-dynamic'
- + case $host_os in
- + cygwin* | mingw* | pw32*)
- + # dlltool doesn't understand --whole-archive et. al.
- + whole_archive_flag_spec=
- + ;;
- + *)
- + # ancient GNU ld didn't support --whole-archive et. al.
- + if $LD --help 2>&1 | egrep 'no-whole-archive' > /dev/null; then
- + whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
- + else
- + whole_archive_flag_spec=
- + fi
- + ;;
- + esac
- + fi
- +else
- + # PORTME fill in a description of your system's linker (not GNU ld)
- + case $host_os in
- + aix3*)
- + allow_undefined_flag=unsupported
- + always_export_symbols=yes
- + archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
- + # Note: this linker hardcodes the directories in LIBPATH if there
- + # are no directories specified by -L.
- + hardcode_minus_L=yes
- + if test "$GCC" = yes && test -z "$link_static_flag"; then
- + # Neither direct hardcoding nor static linking is supported with a
- + # broken collect2.
- + hardcode_direct=unsupported
- + fi
- + ;;
- +
- + aix4* | aix5*)
- + if test "$host_cpu" = ia64; then
- + # On IA64, the linker does run time linking by default, so we don't
- + # have to do anything special.
- + aix_use_runtimelinking=no
- + exp_sym_flag='-Bexport'
- + no_entry_flag=""
- + else
- + aix_use_runtimelinking=no
- +
- + # Test if we are trying to use run time linking or normal
- + # AIX style linking. If -brtl is somewhere in LDFLAGS, we
- + # need to do runtime linking.
- + case $host_os in aix4.[23]|aix4.[23].*|aix5*)
- + for ld_flag in $LDFLAGS; do
- + case $ld_flag in
- + *-brtl*)
- + aix_use_runtimelinking=yes
- + break
- + ;;
- + esac
- + done
- + esac
- +
- + exp_sym_flag='-bexport'
- + no_entry_flag='-bnoentry'
- + fi
- +
- + # When large executables or shared objects are built, AIX ld can
- + # have problems creating the table of contents. If linking a library
- + # or program results in "error TOC overflow" add -mminimal-toc to
- + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
- + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
- +
- + hardcode_direct=yes
- + archive_cmds=''
- + hardcode_libdir_separator=':'
- + if test "$GCC" = yes; then
- + case $host_os in aix4.[012]|aix4.[012].*)
- + collect2name=`${CC} -print-prog-name=collect2`
- + if test -f "$collect2name" && \
- + strings "$collect2name" | grep resolve_lib_name >/dev/null
- + then
- + # We have reworked collect2
- + hardcode_direct=yes
- + else
- + # We have old collect2
- + hardcode_direct=unsupported
- + # It fails to find uninstalled libraries when the uninstalled
- + # path is not listed in the libpath. Setting hardcode_minus_L
- + # to unsupported forces relinking
- + hardcode_minus_L=yes
- + hardcode_libdir_flag_spec='-L$libdir'
- + hardcode_libdir_separator=
- + fi
- + esac
- +
- + shared_flag='-shared'
- + else
- + # not using gcc
- + if test "$host_cpu" = ia64; then
- + shared_flag='${wl}-G'
- + else
- + if test "$aix_use_runtimelinking" = yes; then
- + shared_flag='${wl}-G'
- + else
- + shared_flag='${wl}-bM:SRE'
- + fi
- + fi
- + fi
- +
- + # It seems that -bexpall can do strange things, so it is better to
- + # generate a list of symbols to export.
- + always_export_symbols=yes
- + if test "$aix_use_runtimelinking" = yes; then
- + # Warning - without using the other runtime loading flags (-brtl),
- + # -berok will link without error, but may produce a broken library.
- + allow_undefined_flag='-berok'
- + hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:/usr/lib:/lib'
- + archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
- + else
- + if test "$host_cpu" = ia64; then
- + hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
- + allow_undefined_flag="-z nodefs"
- + archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname ${wl}-h$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
- + else
- + hardcode_libdir_flag_spec='${wl}-bnolibpath ${wl}-blibpath:$libdir:/usr/lib:/lib'
- + # Warning - without using the other run time loading flags,
- + # -berok will link without error, but may produce a broken library.
- + allow_undefined_flag='${wl}-berok'
- + # This is a bit strange, but is similar to how AIX traditionally builds
- + # it's shared libraries.
- + archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"' ~$AR -crlo $output_objdir/$libname$release.a $output_objdir/$soname'
- + fi
- + fi
- + ;;
- +
- + amigaos*)
- + archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
- + hardcode_libdir_flag_spec='-L$libdir'
- + hardcode_minus_L=yes
- + # see comment about different semantics on the GNU ld section
- + ld_shlibs=no
- + ;;
- +
- + cygwin* | mingw* | pw32*)
- + # When not using gcc, we currently assume that we are using
- + # Microsoft Visual C++.
- + # hardcode_libdir_flag_spec is actually meaningless, as there is
- + # no search path for DLLs.
- + hardcode_libdir_flag_spec=' '
- + allow_undefined_flag=unsupported
- + # Tell ltmain to make .lib files, not .a files.
- + libext=lib
- + # FIXME: Setting linknames here is a bad hack.
- + archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | sed -e '\''s/ -lc$//'\''` -link -dll~linknames='
- + # The linker will automatically build a .lib file if we build a DLL.
- + old_archive_from_new_cmds='true'
- + # FIXME: Should let the user specify the lib program.
- + old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
- + fix_srcfile_path='`cygpath -w "$srcfile"`'
- + ;;
- +
- + darwin* | rhapsody*)
- + case "$host_os" in
- + rhapsody* | darwin1.[012])
- + allow_undefined_flag='-undefined suppress'
- + ;;
- + *) # Darwin 1.3 on
- + allow_undefined_flag='-flat_namespace -undefined suppress'
- + ;;
- + esac
- + # FIXME: Relying on posixy $() will cause problems for
- + # cross-compilation, but unfortunately the echo tests do not
- + # yet detect zsh echo's removal of \ escapes. Also zsh mangles
- + # `"' quotes if we put them in here... so don't!
- + archive_cmds='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs && $CC $(test .$module = .yes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib ${lib}-master.o $deplibs$linker_flags $(test .$module != .yes && echo -install_name $rpath/$soname $verstring)'
- + # We need to add '_' to the symbols in $export_symbols first
- + #archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols'
- + hardcode_direct=yes
- + hardcode_shlibpath_var=no
- + whole_archive_flag_spec='-all_load $convenience'
- + ;;
- +
- + freebsd1*)
- + ld_shlibs=no
- + ;;
- +
- + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
- + # support. Future versions do this automatically, but an explicit c++rt0.o
- + # does not break anything, and helps significantly (at the cost of a little
- + # extra space).
- + freebsd2.2*)
- + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
- + hardcode_libdir_flag_spec='-R$libdir'
- + hardcode_direct=yes
- + hardcode_shlibpath_var=no
- + ;;
- +
- + # Unfortunately, older versions of FreeBSD 2 do not have this feature.
- + freebsd2*)
- + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
- + hardcode_direct=yes
- + hardcode_minus_L=yes
- + hardcode_shlibpath_var=no
- + ;;
- +
- + # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
- + freebsd*)
- + archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
- + hardcode_libdir_flag_spec='-R$libdir'
- + hardcode_direct=yes
- + hardcode_shlibpath_var=no
- + ;;
- +
- + hpux9* | hpux10* | hpux11*)
- + case $host_os in
- + hpux9*) archive_cmds='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' ;;
- + *) archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' ;;
- + esac
- + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
- + hardcode_libdir_separator=:
- + hardcode_direct=yes
- + hardcode_minus_L=yes # Not in the search PATH, but as the default
- + # location of the library.
- + export_dynamic_flag_spec='${wl}-E'
- + ;;
- +
- + irix5* | irix6* | nonstopux*)
- + if test "$GCC" = yes; then
- + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
- + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
- + else
- + archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
- + hardcode_libdir_flag_spec='-rpath $libdir'
- + fi
- + hardcode_libdir_separator=:
- + link_all_deplibs=yes
- + ;;
- +
- + netbsd*)
- + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
- + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
- + else
- + archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
- + fi
- + hardcode_libdir_flag_spec='-R$libdir'
- + hardcode_direct=yes
- + hardcode_shlibpath_var=no
- + ;;
- +
- + newsos6)
- + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
- + hardcode_direct=yes
- + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
- + hardcode_libdir_separator=:
- + hardcode_shlibpath_var=no
- + ;;
- +
- + openbsd*)
- + hardcode_direct=yes
- + hardcode_shlibpath_var=no
- + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
- + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
- + hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
- + export_dynamic_flag_spec='${wl}-E'
- + else
- + case "$host_os" in
- + openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
- + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
- + hardcode_libdir_flag_spec='-R$libdir'
- + ;;
- + *)
- + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
- + hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
- + ;;
- + esac
- + fi
- + ;;
- +
- + os2*)
- + hardcode_libdir_flag_spec='-L$libdir'
- + hardcode_minus_L=yes
- + allow_undefined_flag=unsupported
- + 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'
- + old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
- + ;;
- +
- + osf3*)
- + if test "$GCC" = yes; then
- + allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
- + archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
- + else
- + allow_undefined_flag=' -expect_unresolved \*'
- + archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
- + fi
- + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
- + hardcode_libdir_separator=:
- + ;;
- +
- + osf4* | osf5*) # as osf3* with the addition of -msym flag
- + if test "$GCC" = yes; then
- + allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
- + archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
- + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
- + else
- + allow_undefined_flag=' -expect_unresolved \*'
- + archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
- + archive_expsym_cmds='for i in `cat $export_symbols`; do printf "-exported_symbol " >> $lib.exp; echo "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
- + $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
- +
- + #Both c and cxx compiler support -rpath directly
- + hardcode_libdir_flag_spec='-rpath $libdir'
- + fi
- + hardcode_libdir_separator=:
- + ;;
- +
- + sco3.2v5*)
- + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
- + hardcode_shlibpath_var=no
- + runpath_var=LD_RUN_PATH
- + hardcode_runpath_var=yes
- + export_dynamic_flag_spec='${wl}-Bexport'
- + ;;
- +
- + solaris*)
- + # gcc --version < 3.0 without binutils cannot create self contained
- + # shared libraries reliably, requiring libgcc.a to resolve some of
- + # the object symbols generated in some cases. Libraries that use
- + # assert need libgcc.a to resolve __eprintf, for example. Linking
- + # a copy of libgcc.a into every shared library to guarantee resolving
- + # such symbols causes other problems: According to Tim Van Holder
- + # <tim.van.holder@pandora.be>, C++ libraries end up with a separate
- + # (to the application) exception stack for one thing.
- + no_undefined_flag=' -z defs'
- + if test "$GCC" = yes; then
- + case `$CC --version 2>/dev/null` in
- + [12].*)
- + cat <<EOF 1>&2
- +
- +*** Warning: Releases of GCC earlier than version 3.0 cannot reliably
- +*** create self contained shared libraries on Solaris systems, without
- +*** introducing a dependency on libgcc.a. Therefore, libtool is disabling
- +*** -no-undefined support, which will at least allow you to build shared
- +*** libraries. However, you may find that when you link such libraries
- +*** into an application without using GCC, you have to manually add
- +*** \`gcc --print-libgcc-file-name\` to the link command. We urge you to
- +*** upgrade to a newer version of GCC. Another option is to rebuild your
- +*** current GCC to use the GNU linker from GNU binutils 2.9.1 or newer.
- +
- +EOF
- + no_undefined_flag=
- + ;;
- + esac
- + fi
- + # $CC -shared without GNU ld will not create a library from C++
- + # object files and a static libstdc++, better avoid it by now
- + archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
- + archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
- + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
- + hardcode_libdir_flag_spec='-R$libdir'
- + hardcode_shlibpath_var=no
- + case $host_os in
- + solaris2.[0-5] | solaris2.[0-5].*) ;;
- + *) # Supported since Solaris 2.6 (maybe 2.5.1?)
- + whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
- + esac
- + link_all_deplibs=yes
- + ;;
- +
- + sunos4*)
- + if test "x$host_vendor" = xsequent; then
- + # Use $CC to link under sequent, because it throws in some extra .o
- + # files that make .init and .fini sections work.
- + archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
- + else
- + archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
- + fi
- + hardcode_libdir_flag_spec='-L$libdir'
- + hardcode_direct=yes
- + hardcode_minus_L=yes
- + hardcode_shlibpath_var=no
- + ;;
- +
- + sysv4)
- + case $host_vendor in
- + sni)
- + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
- + hardcode_direct=yes # is this really true???
- + ;;
- + siemens)
- + ## LD is ld it makes a PLAMLIB
- + ## CC just makes a GrossModule.
- + archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
- + reload_cmds='$CC -r -o $output$reload_objs'
- + hardcode_direct=no
- + ;;
- + motorola)
- + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
- + hardcode_direct=no #Motorola manual says yes, but my tests say they lie
- + ;;
- + esac
- + runpath_var='LD_RUN_PATH'
- + hardcode_shlibpath_var=no
- + ;;
- +
- + sysv4.3*)
- + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
- + hardcode_shlibpath_var=no
- + export_dynamic_flag_spec='-Bexport'
- + ;;
- +
- + sysv5*)
- + no_undefined_flag=' -z text'
- + # $CC -shared without GNU ld will not create a library from C++
- + # object files and a static libstdc++, better avoid it by now
- + archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
- + archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
- + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
- + hardcode_libdir_flag_spec=
- + hardcode_shlibpath_var=no
- + runpath_var='LD_RUN_PATH'
- + ;;
- +
- + uts4*)
- + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
- + hardcode_libdir_flag_spec='-L$libdir'
- + hardcode_shlibpath_var=no
- + ;;
- +
- + dgux*)
- + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
- + hardcode_libdir_flag_spec='-L$libdir'
- + hardcode_shlibpath_var=no
- + ;;
- +
- + sysv4*MP*)
- + if test -d /usr/nec; then
- + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
- + hardcode_shlibpath_var=no
- + runpath_var=LD_RUN_PATH
- + hardcode_runpath_var=yes
- + ld_shlibs=yes
- + fi
- + ;;
- +
- + sysv4.2uw2*)
- + archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
- + hardcode_direct=yes
- + hardcode_minus_L=no
- + hardcode_shlibpath_var=no
- + hardcode_runpath_var=yes
- + runpath_var=LD_RUN_PATH
- + ;;
- +
- + sysv5uw7* | unixware7*)
- + no_undefined_flag='${wl}-z ${wl}text'
- + if test "$GCC" = yes; then
- + archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
- + else
- + archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
- + fi
- + runpath_var='LD_RUN_PATH'
- + hardcode_shlibpath_var=no
- + ;;
- +
- + *)
- + ld_shlibs=no
- + ;;
- + esac
- +fi
- +echo "$ac_t""$ld_shlibs" 1>&6
- +test "$ld_shlibs" = no && can_build_shared=no
- +
- +# Check hardcoding attributes.
- +echo $ac_n "checking how to hardcode library paths into programs""... $ac_c" 1>&6
- +echo "configure:3873: checking how to hardcode library paths into programs" >&5
- +hardcode_action=
- +if test -n "$hardcode_libdir_flag_spec" || \
- + test -n "$runpath_var"; then
- +
- + # We can hardcode non-existant directories.
- + if test "$hardcode_direct" != no &&
- + # If the only mechanism to avoid hardcoding is shlibpath_var, we
- + # have to relink, otherwise we might link with an installed library
- + # when we should be linking with a yet-to-be-installed one
- + ## test "$hardcode_shlibpath_var" != no &&
- + test "$hardcode_minus_L" != no; then
- + # Linking always hardcodes the temporary library directory.
- + hardcode_action=relink
- + else
- + # We can link without hardcoding, and we can hardcode nonexisting dirs.
- + hardcode_action=immediate
- + fi
- +else
- + # We cannot hardcode anything, or else we can only hardcode existing
- + # directories.
- + hardcode_action=unsupported
- +fi
- +echo "$ac_t""$hardcode_action" 1>&6
- +
- +striplib=
- +old_striplib=
- +echo $ac_n "checking whether stripping libraries is possible""... $ac_c" 1>&6
- +echo "configure:3901: checking whether stripping libraries is possible" >&5
- +if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
- + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
- + test -z "$striplib" && striplib="$STRIP --strip-unneeded"
- + echo "$ac_t""yes" 1>&6
- +else
- + echo "$ac_t""no" 1>&6
- +fi
- +
- +reload_cmds='$LD$reload_flag -o $output$reload_objs'
- +test -z "$deplibs_check_method" && deplibs_check_method=unknown
- +
- +# PORTME Fill in your ld.so characteristics
- +echo $ac_n "checking dynamic linker characteristics""... $ac_c" 1>&6
- +echo "configure:3915: checking dynamic linker characteristics" >&5
- +library_names_spec=
- +libname_spec='lib$name'
- +soname_spec=
- +postinstall_cmds=
- +postuninstall_cmds=
- +finish_cmds=
- +finish_eval=
- +shlibpath_var=
- +shlibpath_overrides_runpath=unknown
- +version_type=none
- +dynamic_linker="$host_os ld.so"
- +sys_lib_dlsearch_path_spec="/lib /usr/lib"
- +sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
- +
- +case $host_os in
- +aix3*)
- + version_type=linux
- + library_names_spec='${libname}${release}.so$versuffix $libname.a'
- + shlibpath_var=LIBPATH
- +
- + # AIX has no versioning support, so we append a major version to the name.
- + soname_spec='${libname}${release}.so$major'
- + ;;
- +
- +aix4* | aix5*)
- + version_type=linux
- + need_lib_prefix=no
- + need_version=no
- + hardcode_into_libs=yes
- + if test "$host_cpu" = ia64; then
- + # AIX 5 supports IA64
- + library_names_spec='${libname}${release}.so$major ${libname}${release}.so$versuffix $libname.so'
- + shlibpath_var=LD_LIBRARY_PATH
- + else
- + # With GCC up to 2.95.x, collect2 would create an import file
- + # for dependence libraries. The import file would start with
- + # the line `#! .'. This would cause the generated library to
- + # depend on `.', always an invalid library. This was fixed in
- + # development snapshots of GCC prior to 3.0.
- + case $host_os in
- + aix4 | aix4.[01] | aix4.[01].*)
- + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
- + echo ' yes '
- + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
- + :
- + else
- + can_build_shared=no
- + fi
- + ;;
- + esac
- + # AIX (on Power*) has no versioning support, so currently we can
- + # not hardcode correct soname into executable. Probably we can
- + # add versioning support to collect2, so additional links can
- + # be useful in future.
- + if test "$aix_use_runtimelinking" = yes; then
- + # If using run time linking (on AIX 4.2 or later) use lib<name>.so
- + # instead of lib<name>.a to let people know that these are not
- + # typical AIX shared libraries.
- + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
- + else
- + # We preserve .a as extension for shared libraries through AIX4.2
- + # and later when we are not doing run time linking.
- + library_names_spec='${libname}${release}.a $libname.a'
- + soname_spec='${libname}${release}.so$major'
- + fi
- + shlibpath_var=LIBPATH
- + fi
- + hardcode_into_libs=yes
- + ;;
- +
- +amigaos*)
- + library_names_spec='$libname.ixlibrary $libname.a'
- + # Create ${libname}_ixlibrary.a entries in /sys/libs.
- + 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'
- + ;;
- +
- +beos*)
- + library_names_spec='${libname}.so'
- + dynamic_linker="$host_os ld.so"
- + shlibpath_var=LIBRARY_PATH
- + ;;
- +
- +bsdi4*)
- + version_type=linux
- + need_version=no
- + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
- + soname_spec='${libname}${release}.so$major'
- + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
- + shlibpath_var=LD_LIBRARY_PATH
- + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
- + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
- + export_dynamic_flag_spec=-rdynamic
- + # the default ld.so.conf also contains /usr/contrib/lib and
- + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
- + # libtool to hard-code these into programs
- + ;;
- +
- +cygwin* | mingw* | pw32*)
- + version_type=windows
- + need_version=no
- + need_lib_prefix=no
- + case $GCC,$host_os in
- + yes,cygwin*)
- + library_names_spec='$libname.dll.a'
- + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll'
- + postinstall_cmds='dlpath=`bash 2>&1 -c '\''. $dir/${file}i;echo \$dlname'\''`~
- + dldir=$destdir/`dirname \$dlpath`~
- + test -d \$dldir || mkdir -p \$dldir~
- + $install_prog .libs/$dlname \$dldir/$dlname'
- + postuninstall_cmds='dldll=`bash 2>&1 -c '\''. $file; echo \$dlname'\''`~
- + dlpath=$dir/\$dldll~
- + $rm \$dlpath'
- + ;;
- + yes,mingw*)
- + library_names_spec='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll'
- + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s/;/ /g" -e "s,=/,/,g"`
- + ;;
- + yes,pw32*)
- + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | sed -e 's/./-/g'`${versuffix}.dll'
- + ;;
- + *)
- + library_names_spec='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll $libname.lib'
- + ;;
- + esac
- + dynamic_linker='Win32 ld.exe'
- + # FIXME: first we should search . and the directory the executable is in
- + shlibpath_var=PATH
- + ;;
- +
- +darwin* | rhapsody*)
- + dynamic_linker="$host_os dyld"
- + version_type=darwin
- + need_lib_prefix=no
- + need_version=no
- + # FIXME: Relying on posixy $() will cause problems for
- + # cross-compilation, but unfortunately the echo tests do not
- + # yet detect zsh echo's removal of \ escapes.
- + library_names_spec='${libname}${release}${versuffix}.$(test .$module = .yes && echo so || echo dylib) ${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib) ${libname}.$(test .$module = .yes && echo so || echo dylib)'
- + soname_spec='${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib)'
- + shlibpath_overrides_runpath=yes
- + shlibpath_var=DYLD_LIBRARY_PATH
- + ;;
- +
- +freebsd1*)
- + dynamic_linker=no
- + ;;
- +
- +kfreebsd*-gnu*)
- + version_type=linux
- + need_lib_prefix=no
- + need_version=no
- + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
- + soname_spec='${libname}${release}.so$major'
- + shlibpath_var=LD_LIBRARY_PATH
- + shlibpath_overrides_runpath=no
- + hardcode_into_libs=yes
- + dynamic_linker='GNU/FreeBSD ld.so'
- + ;;
- +
- +freebsd*)
- + objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
- + version_type=freebsd-$objformat
- + case $version_type in
- + freebsd-elf*)
- + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so'
- + need_version=no
- + need_lib_prefix=no
- + ;;
- + freebsd-*)
- + library_names_spec='${libname}${release}.so$versuffix $libname.so$versuffix'
- + need_version=yes
- + ;;
- + esac
- + shlibpath_var=LD_LIBRARY_PATH
- + case $host_os in
- + freebsd2*)
- + shlibpath_overrides_runpath=yes
- + ;;
- + *)
- + shlibpath_overrides_runpath=no
- + hardcode_into_libs=yes
- + ;;
- + esac
- + ;;
- +
- +gnu*)
- + version_type=linux
- + need_lib_prefix=no
- + need_version=no
- + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so${major} ${libname}.so'
- + soname_spec='${libname}${release}.so$major'
- + shlibpath_var=LD_LIBRARY_PATH
- + hardcode_into_libs=yes
- + ;;
- +
- +hpux9* | hpux10* | hpux11*)
- + # Give a soname corresponding to the major version so that dld.sl refuses to
- + # link against other versions.
- + dynamic_linker="$host_os dld.sl"
- + version_type=sunos
- + need_lib_prefix=no
- + need_version=no
- + shlibpath_var=SHLIB_PATH
- + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
- + library_names_spec='${libname}${release}.sl$versuffix ${libname}${release}.sl$major $libname.sl'
- + soname_spec='${libname}${release}.sl$major'
- + # HP-UX runs *really* slowly unless shared libraries are mode 555.
- + postinstall_cmds='chmod 555 $lib'
- + ;;
- +
- +irix5* | irix6* | nonstopux*)
- + case $host_os in
- + nonstopux*) version_type=nonstopux ;;
- + *) version_type=irix ;;
- + esac
- + need_lib_prefix=no
- + need_version=no
- + soname_spec='${libname}${release}.so$major'
- + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so $libname.so'
- + case $host_os in
- + irix5* | nonstopux*)
- + libsuff= shlibsuff=
- + ;;
- + *)
- + case $LD in # libtool.m4 will add one of these switches to LD
- + *-32|*"-32 ") libsuff= shlibsuff= libmagic=32-bit;;
- + *-n32|*"-n32 ") libsuff=32 shlibsuff=N32 libmagic=N32;;
- + *-64|*"-64 ") libsuff=64 shlibsuff=64 libmagic=64-bit;;
- + *) libsuff= shlibsuff= libmagic=never-match;;
- + esac
- + ;;
- + esac
- + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
- + shlibpath_overrides_runpath=no
- + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
- + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
- + ;;
- +
- +# No shared lib support for Linux oldld, aout, or coff.
- +linux-gnuoldld* | linux-gnuaout* | linux-gnucoff*)
- + dynamic_linker=no
- + ;;
- +
- +# This must be Linux ELF.
- +linux-gnu*)
- + version_type=linux
- + need_lib_prefix=no
- + need_version=no
- + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
- + soname_spec='${libname}${release}.so$major'
- + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
- + shlibpath_var=LD_LIBRARY_PATH
- + shlibpath_overrides_runpath=no
- + # This implies no fast_install, which is unacceptable.
- + # Some rework will be needed to allow for fast_install
- + # before this can be enabled.
- + hardcode_into_libs=yes
- +
- + # We used to test for /lib/ld.so.1 and disable shared libraries on
- + # powerpc, because MkLinux only supported shared libraries with the
- + # GNU dynamic linker. Since this was broken with cross compilers,
- + # most powerpc-linux boxes support dynamic linking these days and
- + # people can always --disable-shared, the test was removed, and we
- + # assume the GNU/Linux dynamic linker is in use.
- + dynamic_linker='GNU/Linux ld.so'
- + ;;
- +
- +netbsd*)
- + version_type=sunos
- + need_lib_prefix=no
- + need_version=no
- + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
- + library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
- + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
- + dynamic_linker='NetBSD (a.out) ld.so'
- + else
- + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so ${libname}.so'
- + soname_spec='${libname}${release}.so$major'
- + dynamic_linker='NetBSD ld.elf_so'
- + fi
- + shlibpath_var=LD_LIBRARY_PATH
- + shlibpath_overrides_runpath=yes
- + hardcode_into_libs=yes
- + ;;
- +
- +newsos6)
- + version_type=linux
- + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
- + shlibpath_var=LD_LIBRARY_PATH
- + shlibpath_overrides_runpath=yes
- + ;;
- +
- +openbsd*)
- + version_type=sunos
- + need_lib_prefix=no
- + need_version=no
- + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
- + case "$host_os" in
- + openbsd2.[89] | openbsd2.[89].*)
- + shlibpath_overrides_runpath=no
- + ;;
- + *)
- + shlibpath_overrides_runpath=yes
- + ;;
- + esac
- + else
- + shlibpath_overrides_runpath=yes
- + fi
- + library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
- + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
- + shlibpath_var=LD_LIBRARY_PATH
- + ;;
- +
- +os2*)
- + libname_spec='$name'
- + need_lib_prefix=no
- + library_names_spec='$libname.dll $libname.a'
- + dynamic_linker='OS/2 ld.exe'
- + shlibpath_var=LIBPATH
- + ;;
- +
- +osf3* | osf4* | osf5*)
- + version_type=osf
- + need_version=no
- + need_lib_prefix=no
- + soname_spec='${libname}${release}.so$major'
- + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
- + shlibpath_var=LD_LIBRARY_PATH
- + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
- + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
- + hardcode_into_libs=yes
- + ;;
- +
- +sco3.2v5*)
- + version_type=osf
- + soname_spec='${libname}${release}.so$major'
- + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
- + shlibpath_var=LD_LIBRARY_PATH
- + ;;
- +
- +solaris*)
- + version_type=linux
- + need_lib_prefix=no
- + need_version=no
- + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
- + soname_spec='${libname}${release}.so$major'
- + shlibpath_var=LD_LIBRARY_PATH
- + shlibpath_overrides_runpath=yes
- + hardcode_into_libs=yes
- + # ldd complains unless libraries are executable
- + postinstall_cmds='chmod +x $lib'
- + ;;
- +
- +sunos4*)
- + version_type=sunos
- + library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
- + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
- + shlibpath_var=LD_LIBRARY_PATH
- + shlibpath_overrides_runpath=yes
- + if test "$with_gnu_ld" = yes; then
- + need_lib_prefix=no
- + fi
- + need_version=yes
- + ;;
- +
- +sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
- + version_type=linux
- + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
- + soname_spec='${libname}${release}.so$major'
- + shlibpath_var=LD_LIBRARY_PATH
- + case $host_vendor in
- + sni)
- + shlibpath_overrides_runpath=no
- + need_lib_prefix=no
- + export_dynamic_flag_spec='${wl}-Blargedynsym'
- + runpath_var=LD_RUN_PATH
- + ;;
- + siemens)
- + need_lib_prefix=no
- + ;;
- + motorola)
- + need_lib_prefix=no
- + need_version=no
- + shlibpath_overrides_runpath=no
- + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
- + ;;
- + esac
- + ;;
- +
- +uts4*)
- + version_type=linux
- + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
- + soname_spec='${libname}${release}.so$major'
- + shlibpath_var=LD_LIBRARY_PATH
- + ;;
- +
- +dgux*)
- + version_type=linux
- + need_lib_prefix=no
- + need_version=no
- + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
- + soname_spec='${libname}${release}.so$major'
- + shlibpath_var=LD_LIBRARY_PATH
- + ;;
- +
- +sysv4*MP*)
- + if test -d /usr/nec ;then
- + version_type=linux
- + library_names_spec='$libname.so.$versuffix $libname.so.$major $libname.so'
- + soname_spec='$libname.so.$major'
- + shlibpath_var=LD_LIBRARY_PATH
- + fi
- + ;;
- +
- +*)
- + dynamic_linker=no
- + ;;
- +esac
- +echo "$ac_t""$dynamic_linker" 1>&6
- +test "$dynamic_linker" = no && can_build_shared=no
- +
- +# Report the final consequences.
- +echo $ac_n "checking if libtool supports shared libraries""... $ac_c" 1>&6
- +echo "configure:4339: checking if libtool supports shared libraries" >&5
- +echo "$ac_t""$can_build_shared" 1>&6
- +
- +echo $ac_n "checking whether to build shared libraries""... $ac_c" 1>&6
- +echo "configure:4343: checking whether to build shared libraries" >&5
- +test "$can_build_shared" = "no" && enable_shared=no
- +
- +# On AIX, shared libraries and static libraries use the same namespace, and
- +# are all built from PIC.
- +case "$host_os" in
- +aix3*)
- + test "$enable_shared" = yes && enable_static=no
- + if test -n "$RANLIB"; then
- + archive_cmds="$archive_cmds~\$RANLIB \$lib"
- + postinstall_cmds='$RANLIB $lib'
- + fi
- + ;;
- +
- +aix4*)
- + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
- + test "$enable_shared" = yes && enable_static=no
- + fi
- + ;;
- +esac
- +echo "$ac_t""$enable_shared" 1>&6
- +
- +echo $ac_n "checking whether to build static libraries""... $ac_c" 1>&6
- +echo "configure:4366: checking whether to build static libraries" >&5
- +# Make sure either enable_shared or enable_static is yes.
- +test "$enable_shared" = yes || enable_static=yes
- +echo "$ac_t""$enable_static" 1>&6
- +
- +if test "$hardcode_action" = relink; then
- + # Fast installation is not supported
- + enable_fast_install=no
- +elif test "$shlibpath_overrides_runpath" = yes ||
- + test "$enable_shared" = no; then
- + # Fast installation is not necessary
- + enable_fast_install=needless
- +fi
- +
- +variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
- +if test "$GCC" = yes; then
- + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
- +fi
- +
- +if test "x$enable_dlopen" != xyes; then
- + enable_dlopen=unknown
- + enable_dlopen_self=unknown
- + enable_dlopen_self_static=unknown
- +else
- + lt_cv_dlopen=no
- + lt_cv_dlopen_libs=
- +
- + case $host_os in
- + beos*)
- + lt_cv_dlopen="load_add_on"
- + lt_cv_dlopen_libs=
- + lt_cv_dlopen_self=yes
- + ;;
- +
- + cygwin* | mingw* | pw32*)
- + lt_cv_dlopen="LoadLibrary"
- + lt_cv_dlopen_libs=
- + ;;
- +
- + *)
- + echo $ac_n "checking for shl_load""... $ac_c" 1>&6
- +echo "configure:4407: checking for shl_load" >&5
- +if eval "test \"`echo '$''{'ac_cv_func_shl_load'+set}'`\" = set"; then
- + echo $ac_n "(cached) $ac_c" 1>&6
- +else
- + cat > conftest.$ac_ext <<EOF
- +#line 4412 "configure"
- +#include "confdefs.h"
- +/* System header to define __stub macros and hopefully few prototypes,
- + which can conflict with char shl_load(); below. */
- +#include <assert.h>
- +/* Override any gcc2 internal prototype to avoid an error. */
- +/* We use char because int might match the return type of a gcc2
- + builtin and then its argument prototype would still apply. */
- +char shl_load();
- +
- +int main() {
- +
- +/* The GNU C library defines this for functions which it implements
- + to always fail with ENOSYS. Some functions are actually named
- + something starting with __ and the normal name is an alias. */
- +#if defined (__stub_shl_load) || defined (__stub___shl_load)
- +choke me
- +#else
- +shl_load();
- +#endif
- +
- +; return 0; }
- +EOF
- +if { (eval echo configure:4435: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- + rm -rf conftest*
- + eval "ac_cv_func_shl_load=yes"
- +else
- + echo "configure: failed program was:" >&5
- + cat conftest.$ac_ext >&5
- + rm -rf conftest*
- + eval "ac_cv_func_shl_load=no"
- +fi
- +rm -f conftest*
- +fi
- +
- +if eval "test \"`echo '$ac_cv_func_'shl_load`\" = yes"; then
- + echo "$ac_t""yes" 1>&6
- + lt_cv_dlopen="shl_load"
- +else
- + echo "$ac_t""no" 1>&6
- +echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6
- +echo "configure:4453: checking for shl_load in -ldld" >&5
- +ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'`
- +if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
- + echo $ac_n "(cached) $ac_c" 1>&6
- +else
- + ac_save_LIBS="$LIBS"
- +LIBS="-ldld $LIBS"
- +cat > conftest.$ac_ext <<EOF
- +#line 4461 "configure"
- +#include "confdefs.h"
- +/* Override any gcc2 internal prototype to avoid an error. */
- +/* We use char because int might match the return type of a gcc2
- + builtin and then its argument prototype would still apply. */
- +char shl_load();
- +
- +int main() {
- +shl_load()
- +; return 0; }
- +EOF
- +if { (eval echo configure:4472: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- + rm -rf conftest*
- + eval "ac_cv_lib_$ac_lib_var=yes"
- +else
- + echo "configure: failed program was:" >&5
- + cat conftest.$ac_ext >&5
- + rm -rf conftest*
- + eval "ac_cv_lib_$ac_lib_var=no"
- +fi
- +rm -f conftest*
- +LIBS="$ac_save_LIBS"
- +
- +fi
- +if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
- + echo "$ac_t""yes" 1>&6
- + lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
- +else
- + echo "$ac_t""no" 1>&6
- +echo $ac_n "checking for dlopen""... $ac_c" 1>&6
- +echo "configure:4491: checking for dlopen" >&5
- +if eval "test \"`echo '$''{'ac_cv_func_dlopen'+set}'`\" = set"; then
- + echo $ac_n "(cached) $ac_c" 1>&6
- +else
- + cat > conftest.$ac_ext <<EOF
- +#line 4496 "configure"
- +#include "confdefs.h"
- +/* System header to define __stub macros and hopefully few prototypes,
- + which can conflict with char dlopen(); below. */
- +#include <assert.h>
- +/* Override any gcc2 internal prototype to avoid an error. */
- +/* We use char because int might match the return type of a gcc2
- + builtin and then its argument prototype would still apply. */
- +char dlopen();
- +
- +int main() {
- +
- +/* The GNU C library defines this for functions which it implements
- + to always fail with ENOSYS. Some functions are actually named
- + something starting with __ and the normal name is an alias. */
- +#if defined (__stub_dlopen) || defined (__stub___dlopen)
- +choke me
- +#else
- +dlopen();
- +#endif
- +
- +; return 0; }
- +EOF
- +if { (eval echo configure:4519: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- + rm -rf conftest*
- + eval "ac_cv_func_dlopen=yes"
- +else
- + echo "configure: failed program was:" >&5
- + cat conftest.$ac_ext >&5
- + rm -rf conftest*
- + eval "ac_cv_func_dlopen=no"
- +fi
- +rm -f conftest*
- +fi
- +
- +if eval "test \"`echo '$ac_cv_func_'dlopen`\" = yes"; then
- + echo "$ac_t""yes" 1>&6
- + lt_cv_dlopen="dlopen"
- +else
- + echo "$ac_t""no" 1>&6
- +echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
- +echo "configure:4537: checking for dlopen in -ldl" >&5
- +ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
- +if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
- + echo $ac_n "(cached) $ac_c" 1>&6
- +else
- + ac_save_LIBS="$LIBS"
- +LIBS="-ldl $LIBS"
- +cat > conftest.$ac_ext <<EOF
- +#line 4545 "configure"
- +#include "confdefs.h"
- +/* Override any gcc2 internal prototype to avoid an error. */
- +/* We use char because int might match the return type of a gcc2
- + builtin and then its argument prototype would still apply. */
- +char dlopen();
- +
- +int main() {
- +dlopen()
- +; return 0; }
- +EOF
- +if { (eval echo configure:4556: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- + rm -rf conftest*
- + eval "ac_cv_lib_$ac_lib_var=yes"
- +else
- + echo "configure: failed program was:" >&5
- + cat conftest.$ac_ext >&5
- + rm -rf conftest*
- + eval "ac_cv_lib_$ac_lib_var=no"
- +fi
- +rm -f conftest*
- +LIBS="$ac_save_LIBS"
- +
- +fi
- +if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
- + echo "$ac_t""yes" 1>&6
- + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
- +else
- + echo "$ac_t""no" 1>&6
- +echo $ac_n "checking for dlopen in -lsvld""... $ac_c" 1>&6
- +echo "configure:4575: checking for dlopen in -lsvld" >&5
- +ac_lib_var=`echo svld'_'dlopen | sed 'y%./+-%__p_%'`
- +if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
- + echo $ac_n "(cached) $ac_c" 1>&6
- +else
- + ac_save_LIBS="$LIBS"
- +LIBS="-lsvld $LIBS"
- +cat > conftest.$ac_ext <<EOF
- +#line 4583 "configure"
- +#include "confdefs.h"
- +/* Override any gcc2 internal prototype to avoid an error. */
- +/* We use char because int might match the return type of a gcc2
- + builtin and then its argument prototype would still apply. */
- +char dlopen();
- +
- +int main() {
- +dlopen()
- +; return 0; }
- +EOF
- +if { (eval echo configure:4594: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- + rm -rf conftest*
- + eval "ac_cv_lib_$ac_lib_var=yes"
- +else
- + echo "configure: failed program was:" >&5
- + cat conftest.$ac_ext >&5
- + rm -rf conftest*
- + eval "ac_cv_lib_$ac_lib_var=no"
- +fi
- +rm -f conftest*
- +LIBS="$ac_save_LIBS"
- +
- +fi
- +if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
- + echo "$ac_t""yes" 1>&6
- + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
- +else
- + echo "$ac_t""no" 1>&6
- +echo $ac_n "checking for dld_link in -ldld""... $ac_c" 1>&6
- +echo "configure:4613: checking for dld_link in -ldld" >&5
- +ac_lib_var=`echo dld'_'dld_link | sed 'y%./+-%__p_%'`
- +if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
- + echo $ac_n "(cached) $ac_c" 1>&6
- +else
- + ac_save_LIBS="$LIBS"
- +LIBS="-ldld $LIBS"
- +cat > conftest.$ac_ext <<EOF
- +#line 4621 "configure"
- +#include "confdefs.h"
- +/* Override any gcc2 internal prototype to avoid an error. */
- +/* We use char because int might match the return type of a gcc2
- + builtin and then its argument prototype would still apply. */
- +char dld_link();
- +
- +int main() {
- +dld_link()
- +; return 0; }
- +EOF
- +if { (eval echo configure:4632: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- + rm -rf conftest*
- + eval "ac_cv_lib_$ac_lib_var=yes"
- +else
- + echo "configure: failed program was:" >&5
- + cat conftest.$ac_ext >&5
- + rm -rf conftest*
- + eval "ac_cv_lib_$ac_lib_var=no"
- +fi
- +rm -f conftest*
- +LIBS="$ac_save_LIBS"
- +
- +fi
- +if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
- + echo "$ac_t""yes" 1>&6
- + lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
- +else
- + echo "$ac_t""no" 1>&6
- +fi
- +
- +
- +fi
- +
- +
- +fi
- +
- +
- +fi
- +
- +
- +fi
- +
- +
- +fi
- +
- + ;;
- + esac
- +
- + if test "x$lt_cv_dlopen" != xno; then
- + enable_dlopen=yes
- + else
- + enable_dlopen=no
- + fi
- +
- + case $lt_cv_dlopen in
- + dlopen)
- + save_CPPFLAGS="$CPPFLAGS"
- + test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
- +
- + save_LDFLAGS="$LDFLAGS"
- + eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
- +
- + save_LIBS="$LIBS"
- + LIBS="$lt_cv_dlopen_libs $LIBS"
- +
- + echo $ac_n "checking whether a program can dlopen itself""... $ac_c" 1>&6
- +echo "configure:4688: checking whether a program can dlopen itself" >&5
- +if eval "test \"`echo '$''{'lt_cv_dlopen_self'+set}'`\" = set"; then
- + echo $ac_n "(cached) $ac_c" 1>&6
- +else
- + if test "$cross_compiling" = yes; then :
- + lt_cv_dlopen_self=cross
- +else
- + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
- + lt_status=$lt_dlunknown
- + cat > conftest.$ac_ext <<EOF
- +#line 4698 "configure"
- +#include "confdefs.h"
- +
- +#if HAVE_DLFCN_H
- +#include <dlfcn.h>
- +#endif
- +
- +#include <stdio.h>
- +
- +#ifdef RTLD_GLOBAL
- +# define LT_DLGLOBAL RTLD_GLOBAL
- +#else
- +# ifdef DL_GLOBAL
- +# define LT_DLGLOBAL DL_GLOBAL
- +# else
- +# define LT_DLGLOBAL 0
- +# endif
- +#endif
- +
- +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
- + find out it does not work in some platform. */
- +#ifndef LT_DLLAZY_OR_NOW
- +# ifdef RTLD_LAZY
- +# define LT_DLLAZY_OR_NOW RTLD_LAZY
- +# else
- +# ifdef DL_LAZY
- +# define LT_DLLAZY_OR_NOW DL_LAZY
- +# else
- +# ifdef RTLD_NOW
- +# define LT_DLLAZY_OR_NOW RTLD_NOW
- +# else
- +# ifdef DL_NOW
- +# define LT_DLLAZY_OR_NOW DL_NOW
- +# else
- +# define LT_DLLAZY_OR_NOW 0
- +# endif
- +# endif
- +# endif
- +# endif
- +#endif
- +
- +#ifdef __cplusplus
- +extern "C" void exit (int);
- +#endif
- +
- +void fnord() { int i=42;}
- +int main ()
- +{
- + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
- + int status = $lt_dlunknown;
- +
- + if (self)
- + {
- + if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
- + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
- + /* dlclose (self); */
- + }
- +
- + exit (status);
- +}
- +EOF
- + if { (eval echo configure:4759: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} 2>/dev/null; then
- + (./conftest; exit; ) 2>/dev/null
- + lt_status=$?
- + case x$lt_status in
- + x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
- + x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
- + x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
- + esac
- + else :
- + # compilation failed
- + lt_cv_dlopen_self=no
- + fi
- +fi
- +rm -fr conftest*
- +
- +
- +fi
- +
- +echo "$ac_t""$lt_cv_dlopen_self" 1>&6
- +
- + if test "x$lt_cv_dlopen_self" = xyes; then
- + LDFLAGS="$LDFLAGS $link_static_flag"
- + echo $ac_n "checking whether a statically linked program can dlopen itself""... $ac_c" 1>&6
- +echo "configure:4782: checking whether a statically linked program can dlopen itself" >&5
- +if eval "test \"`echo '$''{'lt_cv_dlopen_self_static'+set}'`\" = set"; then
- + echo $ac_n "(cached) $ac_c" 1>&6
- +else
- + if test "$cross_compiling" = yes; then :
- + lt_cv_dlopen_self_static=cross
- +else
- + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
- + lt_status=$lt_dlunknown
- + cat > conftest.$ac_ext <<EOF
- +#line 4792 "configure"
- +#include "confdefs.h"
- +
- +#if HAVE_DLFCN_H
- +#include <dlfcn.h>
- +#endif
- +
- +#include <stdio.h>
- +
- +#ifdef RTLD_GLOBAL
- +# define LT_DLGLOBAL RTLD_GLOBAL
- +#else
- +# ifdef DL_GLOBAL
- +# define LT_DLGLOBAL DL_GLOBAL
- +# else
- +# define LT_DLGLOBAL 0
- +# endif
- +#endif
- +
- +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
- + find out it does not work in some platform. */
- +#ifndef LT_DLLAZY_OR_NOW
- +# ifdef RTLD_LAZY
- +# define LT_DLLAZY_OR_NOW RTLD_LAZY
- +# else
- +# ifdef DL_LAZY
- +# define LT_DLLAZY_OR_NOW DL_LAZY
- +# else
- +# ifdef RTLD_NOW
- +# define LT_DLLAZY_OR_NOW RTLD_NOW
- +# else
- +# ifdef DL_NOW
- +# define LT_DLLAZY_OR_NOW DL_NOW
- +# else
- +# define LT_DLLAZY_OR_NOW 0
- +# endif
- +# endif
- +# endif
- +# endif
- +#endif
- +
- +#ifdef __cplusplus
- +extern "C" void exit (int);
- +#endif
- +
- +void fnord() { int i=42;}
- +int main ()
- +{
- + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
- + int status = $lt_dlunknown;
- +
- + if (self)
- + {
- + if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
- + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
- + /* dlclose (self); */
- + }
- +
- + exit (status);
- +}
- +EOF
- + if { (eval echo configure:4853: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} 2>/dev/null; then
- + (./conftest; exit; ) 2>/dev/null
- + lt_status=$?
- + case x$lt_status in
- + x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
- + x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
- + x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
- + esac
- + else :
- + # compilation failed
- + lt_cv_dlopen_self_static=no
- + fi
- +fi
- +rm -fr conftest*
- +
- +
- +fi
- +
- +echo "$ac_t""$lt_cv_dlopen_self_static" 1>&6
- + fi
- +
- + CPPFLAGS="$save_CPPFLAGS"
- + LDFLAGS="$save_LDFLAGS"
- + LIBS="$save_LIBS"
- + ;;
- + esac
- +
- + case $lt_cv_dlopen_self in
- + yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
- + *) enable_dlopen_self=unknown ;;
- + esac
- +
- + case $lt_cv_dlopen_self_static in
- + yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
- + *) enable_dlopen_self_static=unknown ;;
- + esac
- +fi
- +
- +
- +if test "$enable_shared" = yes && test "$GCC" = yes; then
- + case $archive_cmds in
- + *'~'*)
- + # FIXME: we may have to deal with multi-command sequences.
- + ;;
- + '$CC '*)
- + # Test whether the compiler implicitly links with -lc since on some
- + # systems, -lgcc has to come before -lc. If gcc already passes -lc
- + # to ld, don't add -lc before -lgcc.
- + echo $ac_n "checking whether -lc should be explicitly linked in""... $ac_c" 1>&6
- +echo "configure:4902: checking whether -lc should be explicitly linked in" >&5
- + if eval "test \"`echo '$''{'lt_cv_archive_cmds_need_lc'+set}'`\" = set"; then
- + echo $ac_n "(cached) $ac_c" 1>&6
- +else
- + $rm conftest*
- + echo 'static int dummy;' > conftest.$ac_ext
- +
- + if { (eval echo configure:4909: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- + soname=conftest
- + lib=conftest
- + libobjs=conftest.$ac_objext
- + deplibs=
- + wl=$lt_cv_prog_cc_wl
- + compiler_flags=-v
- + linker_flags=-v
- + verstring=
- + output_objdir=.
- + libname=conftest
- + save_allow_undefined_flag=$allow_undefined_flag
- + allow_undefined_flag=
- + if { (eval echo configure:4922: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\") 1>&5; (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5; }
- + then
- + lt_cv_archive_cmds_need_lc=no
- + else
- + lt_cv_archive_cmds_need_lc=yes
- + fi
- + allow_undefined_flag=$save_allow_undefined_flag
- + else
- + cat conftest.err 1>&5
- + fi
- +fi
- +
- + echo "$ac_t""$lt_cv_archive_cmds_need_lc" 1>&6
- + ;;
- + esac
- +fi
- +need_lc=${lt_cv_archive_cmds_need_lc-yes}
- +
- +# The second clause should only fire when bootstrapping the
- +# libtool distribution, otherwise you forgot to ship ltmain.sh
- +# with your package, and you will get complaints that there are
- +# no rules to generate ltmain.sh.
- +if test -f "$ltmain"; then
- + :
- +else
- + # If there is no Makefile yet, we rely on a make rule to execute
- + # `config.status --recheck' to rerun these tests and create the
- + # libtool script then.
- + test -f Makefile && make "$ltmain"
- +fi
- +
- +if test -f "$ltmain"; then
- + trap "$rm \"${ofile}T\"; exit 1" 1 2 15
- + $rm -f "${ofile}T"
- +
- + echo creating $ofile
- +
- + # Now quote all the things that may contain metacharacters while being
- + # careful not to overquote the AC_SUBSTed values. We take copies of the
- + # variables and quote the copies for generation of the libtool script.
- + for var in echo old_CC old_CFLAGS SED \
- + AR AR_FLAGS CC LD LN_S NM SHELL \
- + reload_flag reload_cmds wl \
- + pic_flag link_static_flag no_builtin_flag export_dynamic_flag_spec \
- + thread_safe_flag_spec whole_archive_flag_spec libname_spec \
- + library_names_spec soname_spec \
- + RANLIB old_archive_cmds old_archive_from_new_cmds old_postinstall_cmds \
- + old_postuninstall_cmds archive_cmds archive_expsym_cmds postinstall_cmds \
- + postuninstall_cmds extract_expsyms_cmds old_archive_from_expsyms_cmds \
- + old_striplib striplib file_magic_cmd export_symbols_cmds \
- + deplibs_check_method allow_undefined_flag no_undefined_flag \
- + finish_cmds finish_eval global_symbol_pipe global_symbol_to_cdecl \
- + global_symbol_to_c_name_address \
- + hardcode_libdir_flag_spec hardcode_libdir_separator \
- + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
- + compiler_c_o compiler_o_lo need_locks exclude_expsyms include_expsyms; do
- +
- + case $var in
- + reload_cmds | old_archive_cmds | old_archive_from_new_cmds | \
- + old_postinstall_cmds | old_postuninstall_cmds | \
- + export_symbols_cmds | archive_cmds | archive_expsym_cmds | \
- + extract_expsyms_cmds | old_archive_from_expsyms_cmds | \
- + postinstall_cmds | postuninstall_cmds | \
- + finish_cmds | sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
- + # Double-quote double-evaled strings.
- + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
- + ;;
- + *)
- + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
- + ;;
- + esac
- + done
- +
- + cat <<__EOF__ > "${ofile}T"
- +#! $SHELL
- +
- +# `$echo "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
- +# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
- +# NOTE: Changes made to this file will be lost: look at ltmain.sh.
- +#
- +# Copyright (C) 1996-2000 Free Software Foundation, Inc.
- +# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
- +#
- +# This program is free software; you can redistribute it and/or modify
- +# it under the terms of the GNU General Public License as published by
- +# the Free Software Foundation; either version 2 of the License, or
- +# (at your option) any later version.
- +#
- +# This program is distributed in the hope that it will be useful, but
- +# WITHOUT ANY WARRANTY; without even the implied warranty of
- +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- +# General Public License for more details.
- +#
- +# You should have received a copy of the GNU General Public License
- +# along with this program; if not, write to the Free Software
- +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
- +#
- +# As a special exception to the GNU General Public License, if you
- +# distribute this file as part of a program that contains a
- +# configuration script generated by Autoconf, you may include it under
- +# the same distribution terms that you use for the rest of that program.
- +
- +# A sed that does not truncate output.
- +SED=$lt_SED
- +
- +# Sed that helps us avoid accidentally triggering echo(1) options like -n.
- +Xsed="${SED} -e s/^X//"
- +
- +# The HP-UX ksh and POSIX shell print the target directory to stdout
- +# if CDPATH is set.
- +if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
- +
- +# ### BEGIN LIBTOOL CONFIG
- +
- +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
- +
- +# Shell to use when invoking shell scripts.
- +SHELL=$lt_SHELL
- +
- +# Whether or not to build shared libraries.
- +build_libtool_libs=$enable_shared
- +
- +# Whether or not to build static libraries.
- +build_old_libs=$enable_static
- +
- +# Whether or not to add -lc for building shared libraries.
- +build_libtool_need_lc=$need_lc
- +
- +# Whether or not to optimize for fast installation.
- +fast_install=$enable_fast_install
- +
- +# The host system.
- +host_alias=$host_alias
- +host=$host
- +
- +# An echo program that does not interpret backslashes.
- +echo=$lt_echo
- +
- +# The archiver.
- +AR=$lt_AR
- +AR_FLAGS=$lt_AR_FLAGS
- +
- +# The default C compiler.
- +CC=$lt_CC
- +
- +# Is the compiler the GNU C compiler?
- +with_gcc=$GCC
- +
- +# The linker used to build libraries.
- +LD=$lt_LD
- +
- +# Whether we need hard or soft links.
- +LN_S=$lt_LN_S
- +
- +# A BSD-compatible nm program.
- +NM=$lt_NM
- +
- +# A symbol stripping program
- +STRIP="$STRIP"
- +
- +# Used to examine libraries when file_magic_cmd begins "file"
- +MAGIC_CMD=$MAGIC_CMD
- +
- +# Used on cygwin: DLL creation program.
- +DLLTOOL="$DLLTOOL"
- +
- +# Used on cygwin: object dumper.
- +OBJDUMP="$OBJDUMP"
- +
- +# Used on cygwin: assembler.
- +AS="$AS"
- +
- +# The name of the directory that contains temporary libtool files.
- +objdir=$objdir
- +
- +# How to create reloadable object files.
- +reload_flag=$lt_reload_flag
- +reload_cmds=$lt_reload_cmds
- +
- +# How to pass a linker flag through the compiler.
- +wl=$lt_wl
- +
- +# Object file suffix (normally "o").
- +objext="$ac_objext"
- +
- +# Old archive suffix (normally "a").
- +libext="$libext"
- +
- +# Executable file suffix (normally "").
- +exeext="$exeext"
- +
- +# Additional compiler flags for building library objects.
- +pic_flag=$lt_pic_flag
- +pic_mode=$pic_mode
- +
- +# Does compiler simultaneously support -c and -o options?
- +compiler_c_o=$lt_compiler_c_o
- +
- +# Can we write directly to a .lo ?
- +compiler_o_lo=$lt_compiler_o_lo
- +
- +# Must we lock files when doing compilation ?
- +need_locks=$lt_need_locks
- +
- +# Do we need the lib prefix for modules?
- +need_lib_prefix=$need_lib_prefix
-
- -LD="$ac_cv_path_LD"
- -if test -n "$LD"; then
- - echo "$ac_t""$LD" 1>&6
- -else
- - echo "$ac_t""no" 1>&6
- -fi
- -test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
- -echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6
- -echo "configure:1424: checking if the linker ($LD) is GNU ld" >&5
- -if eval "test \"`echo '$''{'ac_cv_prog_gnu_ld'+set}'`\" = set"; then
- - echo $ac_n "(cached) $ac_c" 1>&6
- -else
- - # I'd rather use --version here, but apparently some GNU ld's only accept -v.
- -if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
- - ac_cv_prog_gnu_ld=yes
- -else
- - ac_cv_prog_gnu_ld=no
- -fi
- -fi
- +# Do we need a version for libraries?
- +need_version=$need_version
-
- -echo "$ac_t""$ac_cv_prog_gnu_ld" 1>&6
- +# Whether dlopen is supported.
- +dlopen_support=$enable_dlopen
-
- +# Whether dlopen of programs is supported.
- +dlopen_self=$enable_dlopen_self
-
- -echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
- -echo "configure:1440: checking for BSD-compatible nm" >&5
- -if eval "test \"`echo '$''{'ac_cv_path_NM'+set}'`\" = set"; then
- - echo $ac_n "(cached) $ac_c" 1>&6
- -else
- - if test -n "$NM"; then
- - # Let the user override the test.
- - ac_cv_path_NM="$NM"
- -else
- - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
- - for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
- - test -z "$ac_dir" && ac_dir=.
- - if test -f $ac_dir/nm || test -f $ac_dir/nm$ac_exeext ; then
- - # Check to see if the nm accepts a BSD-compat flag.
- - # Adding the `sed 1q' prevents false positives on HP-UX, which says:
- - # nm: unknown option "B" ignored
- - if ($ac_dir/nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
- - ac_cv_path_NM="$ac_dir/nm -B"
- - break
- - elif ($ac_dir/nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
- - ac_cv_path_NM="$ac_dir/nm -p"
- - break
- - else
- - ac_cv_path_NM=${ac_cv_path_NM="$ac_dir/nm"} # keep the first match, but
- - continue # so that we can try to find one that supports BSD flags
- - fi
- - fi
- - done
- - IFS="$ac_save_ifs"
- - test -z "$ac_cv_path_NM" && ac_cv_path_NM=nm
- -fi
- -fi
- +# Whether dlopen of statically linked programs is supported.
- +dlopen_self_static=$enable_dlopen_self_static
-
- -NM="$ac_cv_path_NM"
- -echo "$ac_t""$NM" 1>&6
- +# Compiler flag to prevent dynamic linking.
- +link_static_flag=$lt_link_static_flag
-
- -echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
- -echo "configure:1476: checking whether ln -s works" >&5
- -if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
- - echo $ac_n "(cached) $ac_c" 1>&6
- -else
- - rm -f conftestdata
- -if ln -s X conftestdata 2>/dev/null
- -then
- - rm -f conftestdata
- - ac_cv_prog_LN_S="ln -s"
- -else
- - ac_cv_prog_LN_S=ln
- -fi
- -fi
- -LN_S="$ac_cv_prog_LN_S"
- -if test "$ac_cv_prog_LN_S" = "ln -s"; then
- - echo "$ac_t""yes" 1>&6
- -else
- - echo "$ac_t""no" 1>&6
- -fi
- +# Compiler flag to turn off builtin functions.
- +no_builtin_flag=$lt_no_builtin_flag
-
- +# Compiler flag to allow reflexive dlopens.
- +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
-
- -case "$target" in
- -NONE) lt_target="$host" ;;
- -*) lt_target="$target" ;;
- -esac
- +# Compiler flag to generate shared objects directly from archives.
- +whole_archive_flag_spec=$lt_whole_archive_flag_spec
-
- -# Check for any special flags to pass to ltconfig.
- -libtool_flags="--cache-file=$cache_file"
- -test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
- -test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
- -test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
- -test "$ac_cv_prog_gcc" = yes && libtool_flags="$libtool_flags --with-gcc"
- -test "$ac_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
- +# Compiler flag to generate thread-safe objects.
- +thread_safe_flag_spec=$lt_thread_safe_flag_spec
-
- +# Library versioning type.
- +version_type=$version_type
-
- -# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
- -if test "${enable_libtool_lock+set}" = set; then
- - enableval="$enable_libtool_lock"
- - :
- -fi
- +# Format of library name prefix.
- +libname_spec=$lt_libname_spec
-
- -test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
- -test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
- +# List of archive names. First name is the real one, the rest are links.
- +# The last name is the one that the linker finds with -lNAME.
- +library_names_spec=$lt_library_names_spec
-
- -# Some flags need to be propagated to the compiler or linker for good
- -# libtool support.
- -case "$lt_target" in
- -*-*-irix6*)
- - # Find out which ABI we are using.
- - echo '#line 1525 "configure"' > conftest.$ac_ext
- - if { (eval echo configure:1526: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- - case "`/usr/bin/file conftest.o`" in
- - *32-bit*)
- - LD="${LD-ld} -32"
- - ;;
- - *N32*)
- - LD="${LD-ld} -n32"
- - ;;
- - *64-bit*)
- - LD="${LD-ld} -64"
- - ;;
- - esac
- - fi
- - rm -rf conftest*
- - ;;
- +# The coded name of the library, if different from the real name.
- +soname_spec=$lt_soname_spec
-
- -*-*-sco3.2v5*)
- - # On SCO OpenServer 5, we need -belf to get full-featured binaries.
- - SAVE_CFLAGS="$CFLAGS"
- - CFLAGS="$CFLAGS -belf"
- - echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
- -echo "configure:1547: checking whether the C compiler needs -belf" >&5
- -if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
- - echo $ac_n "(cached) $ac_c" 1>&6
- -else
- - cat > conftest.$ac_ext <<EOF
- -#line 1552 "configure"
- -#include "confdefs.h"
- +# Commands used to build and install an old-style archive.
- +RANLIB=$lt_RANLIB
- +old_archive_cmds=$lt_old_archive_cmds
- +old_postinstall_cmds=$lt_old_postinstall_cmds
- +old_postuninstall_cmds=$lt_old_postuninstall_cmds
-
- -int main() {
- +# Create an old-style archive from a shared archive.
- +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
-
- -; return 0; }
- -EOF
- -if { (eval echo configure:1559: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- - rm -rf conftest*
- - lt_cv_cc_needs_belf=yes
- -else
- - echo "configure: failed program was:" >&5
- - cat conftest.$ac_ext >&5
- - rm -rf conftest*
- - lt_cv_cc_needs_belf=no
- -fi
- -rm -f conftest*
- -fi
- +# Create a temporary old-style archive to link instead of a shared archive.
- +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
-
- -echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6
- - if test x"$lt_cv_cc_needs_belf" != x"yes"; then
- - # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
- - CFLAGS="$SAVE_CFLAGS"
- - fi
- - ;;
- +# Commands used to build and install a shared archive.
- +archive_cmds=$lt_archive_cmds
- +archive_expsym_cmds=$lt_archive_expsym_cmds
- +postinstall_cmds=$lt_postinstall_cmds
- +postuninstall_cmds=$lt_postuninstall_cmds
-
- +# Commands to strip libraries.
- +old_striplib=$lt_old_striplib
- +striplib=$lt_striplib
-
- -esac
- +# Method to check whether dependent libraries are shared objects.
- +deplibs_check_method=$lt_deplibs_check_method
-
- +# Command to use when deplibs_check_method == file_magic.
- +file_magic_cmd=$lt_file_magic_cmd
-
- -# Save cache, so that ltconfig can load it
- -cat > confcache <<\EOF
- -# This file is a shell script that caches the results of configure
- -# tests run on this system so they can be shared between configure
- -# scripts and configure runs. It is not useful on other systems.
- -# If it contains results you don't want to keep, you may remove or edit it.
- +# Flag that allows shared libraries with undefined symbols to be built.
- +allow_undefined_flag=$lt_allow_undefined_flag
- +
- +# Flag that forces no undefined symbols.
- +no_undefined_flag=$lt_no_undefined_flag
- +
- +# Commands used to finish a libtool library installation in a directory.
- +finish_cmds=$lt_finish_cmds
- +
- +# Same as above, but a single script fragment to be evaled but not shown.
- +finish_eval=$lt_finish_eval
- +
- +# Take the output of nm and produce a listing of raw symbols and C names.
- +global_symbol_pipe=$lt_global_symbol_pipe
- +
- +# Transform the output of nm in a proper C declaration
- +global_symbol_to_cdecl=$lt_global_symbol_to_cdecl
- +
- +# Transform the output of nm in a C name address pair
- +global_symbol_to_c_name_address=$lt_global_symbol_to_c_name_address
- +
- +# This is the shared library runtime path variable.
- +runpath_var=$runpath_var
- +
- +# This is the shared library path variable.
- +shlibpath_var=$shlibpath_var
- +
- +# Is shlibpath searched before the hard-coded library search path?
- +shlibpath_overrides_runpath=$shlibpath_overrides_runpath
- +
- +# How to hardcode a shared library path into an executable.
- +hardcode_action=$hardcode_action
- +
- +# Whether we should hardcode library paths into libraries.
- +hardcode_into_libs=$hardcode_into_libs
- +
- +# Flag to hardcode \$libdir into a binary during linking.
- +# This must work even if \$libdir does not exist.
- +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
- +
- +# Whether we need a single -rpath flag with a separated argument.
- +hardcode_libdir_separator=$lt_hardcode_libdir_separator
- +
- +# Set to yes if using DIR/libNAME.so during linking hardcodes DIR into the
- +# resulting binary.
- +hardcode_direct=$hardcode_direct
- +
- +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
- +# resulting binary.
- +hardcode_minus_L=$hardcode_minus_L
- +
- +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
- +# the resulting binary.
- +hardcode_shlibpath_var=$hardcode_shlibpath_var
- +
- +# Variables whose values should be saved in libtool wrapper scripts and
- +# restored at relink time.
- +variables_saved_for_relink="$variables_saved_for_relink"
- +
- +# Whether libtool must link a program against all its dependency libraries.
- +link_all_deplibs=$link_all_deplibs
- +
- +# Compile-time system search path for libraries
- +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
- +
- +# Run-time system search path for libraries
- +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
- +
- +# Fix the shell variable \$srcfile for the compiler.
- +fix_srcfile_path="$fix_srcfile_path"
- +
- +# Set to yes if exported symbols are required.
- +always_export_symbols=$always_export_symbols
- +
- +# The commands to list exported symbols.
- +export_symbols_cmds=$lt_export_symbols_cmds
- +
- +# The commands to extract the exported symbol list from a shared archive.
- +extract_expsyms_cmds=$lt_extract_expsyms_cmds
- +
- +# Symbols that should not be listed in the preloaded symbols.
- +exclude_expsyms=$lt_exclude_expsyms
- +
- +# Symbols that must always be exported.
- +include_expsyms=$lt_include_expsyms
- +
- +# ### END LIBTOOL CONFIG
- +
- +__EOF__
- +
- + case $host_os in
- + aix3*)
- + cat <<\EOF >> "${ofile}T"
- +
- +# AIX sometimes has problems with the GCC collect2 program. For some
- +# reason, if we set the COLLECT_NAMES environment variable, the problems
- +# vanish in a puff of smoke.
- +if test "X${COLLECT_NAMES+set}" != Xset; then
- + COLLECT_NAMES=
- + export COLLECT_NAMES
- +fi
- +EOF
- + ;;
- + esac
- +
- + case $host_os in
- + cygwin* | mingw* | pw32* | os2*)
- + cat <<'EOF' >> "${ofile}T"
- + # This is a source program that is used to create dlls on Windows
- + # Don't remove nor modify the starting and closing comments
- +# /* ltdll.c starts here */
- +# #define WIN32_LEAN_AND_MEAN
- +# #include <windows.h>
- +# #undef WIN32_LEAN_AND_MEAN
- +# #include <stdio.h>
- #
- -# By default, configure uses ./config.cache as the cache file,
- -# creating it if it does not exist already. You can give configure
- -# the --cache-file=FILE option to use a different cache file; that is
- -# what configure does when it calls configure scripts in
- -# subdirectories, so they share the cache.
- -# Giving --cache-file=/dev/null disables caching, for debugging configure.
- -# config.status only pays attention to the cache file if you give it the
- -# --recheck option to rerun configure.
- +# #ifndef __CYGWIN__
- +# # ifdef __CYGWIN32__
- +# # define __CYGWIN__ __CYGWIN32__
- +# # endif
- +# #endif
- +#
- +# #ifdef __cplusplus
- +# extern "C" {
- +# #endif
- +# BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved);
- +# #ifdef __cplusplus
- +# }
- +# #endif
- +#
- +# #ifdef __CYGWIN__
- +# #include <cygwin/cygwin_dll.h>
- +# DECLARE_CYGWIN_DLL( DllMain );
- +# #endif
- +# HINSTANCE __hDllInstance_base;
- +#
- +# BOOL APIENTRY
- +# DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved)
- +# {
- +# __hDllInstance_base = hInst;
- +# return TRUE;
- +# }
- +# /* ltdll.c ends here */
- + # This is a source program that is used to create import libraries
- + # on Windows for dlls which lack them. Don't remove nor modify the
- + # starting and closing comments
- +# /* impgen.c starts here */
- +# /* Copyright (C) 1999-2000 Free Software Foundation, Inc.
- +#
- +# This file is part of GNU libtool.
- #
- +# This program is free software; you can redistribute it and/or modify
- +# it under the terms of the GNU General Public License as published by
- +# the Free Software Foundation; either version 2 of the License, or
- +# (at your option) any later version.
- +#
- +# This program is distributed in the hope that it will be useful,
- +# but WITHOUT ANY WARRANTY; without even the implied warranty of
- +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- +# GNU General Public License for more details.
- +#
- +# You should have received a copy of the GNU General Public License
- +# along with this program; if not, write to the Free Software
- +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
- +# */
- +#
- +# #include <stdio.h> /* for printf() */
- +# #include <unistd.h> /* for open(), lseek(), read() */
- +# #include <fcntl.h> /* for O_RDONLY, O_BINARY */
- +# #include <string.h> /* for strdup() */
- +#
- +# /* O_BINARY isn't required (or even defined sometimes) under Unix */
- +# #ifndef O_BINARY
- +# #define O_BINARY 0
- +# #endif
- +#
- +# static unsigned int
- +# pe_get16 (fd, offset)
- +# int fd;
- +# int offset;
- +# {
- +# unsigned char b[2];
- +# lseek (fd, offset, SEEK_SET);
- +# read (fd, b, 2);
- +# return b[0] + (b[1]<<8);
- +# }
- +#
- +# static unsigned int
- +# pe_get32 (fd, offset)
- +# int fd;
- +# int offset;
- +# {
- +# unsigned char b[4];
- +# lseek (fd, offset, SEEK_SET);
- +# read (fd, b, 4);
- +# return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24);
- +# }
- +#
- +# static unsigned int
- +# pe_as32 (ptr)
- +# void *ptr;
- +# {
- +# unsigned char *b = ptr;
- +# return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24);
- +# }
- +#
- +# int
- +# main (argc, argv)
- +# int argc;
- +# char *argv[];
- +# {
- +# int dll;
- +# unsigned long pe_header_offset, opthdr_ofs, num_entries, i;
- +# unsigned long export_rva, export_size, nsections, secptr, expptr;
- +# unsigned long name_rvas, nexp;
- +# unsigned char *expdata, *erva;
- +# char *filename, *dll_name;
- +#
- +# filename = argv[1];
- +#
- +# dll = open(filename, O_RDONLY|O_BINARY);
- +# if (dll < 1)
- +# return 1;
- +#
- +# dll_name = filename;
- +#
- +# for (i=0; filename[i]; i++)
- +# if (filename[i] == '/' || filename[i] == '\\' || filename[i] == ':')
- +# dll_name = filename + i +1;
- +#
- +# pe_header_offset = pe_get32 (dll, 0x3c);
- +# opthdr_ofs = pe_header_offset + 4 + 20;
- +# num_entries = pe_get32 (dll, opthdr_ofs + 92);
- +#
- +# if (num_entries < 1) /* no exports */
- +# return 1;
- +#
- +# export_rva = pe_get32 (dll, opthdr_ofs + 96);
- +# export_size = pe_get32 (dll, opthdr_ofs + 100);
- +# nsections = pe_get16 (dll, pe_header_offset + 4 +2);
- +# secptr = (pe_header_offset + 4 + 20 +
- +# pe_get16 (dll, pe_header_offset + 4 + 16));
- +#
- +# expptr = 0;
- +# for (i = 0; i < nsections; i++)
- +# {
- +# char sname[8];
- +# unsigned long secptr1 = secptr + 40 * i;
- +# unsigned long vaddr = pe_get32 (dll, secptr1 + 12);
- +# unsigned long vsize = pe_get32 (dll, secptr1 + 16);
- +# unsigned long fptr = pe_get32 (dll, secptr1 + 20);
- +# lseek(dll, secptr1, SEEK_SET);
- +# read(dll, sname, 8);
- +# if (vaddr <= export_rva && vaddr+vsize > export_rva)
- +# {
- +# expptr = fptr + (export_rva - vaddr);
- +# if (export_rva + export_size > vaddr + vsize)
- +# export_size = vsize - (export_rva - vaddr);
- +# break;
- +# }
- +# }
- +#
- +# expdata = (unsigned char*)malloc(export_size);
- +# lseek (dll, expptr, SEEK_SET);
- +# read (dll, expdata, export_size);
- +# erva = expdata - export_rva;
- +#
- +# nexp = pe_as32 (expdata+24);
- +# name_rvas = pe_as32 (expdata+32);
- +#
- +# printf ("EXPORTS\n");
- +# for (i = 0; i<nexp; i++)
- +# {
- +# unsigned long name_rva = pe_as32 (erva+name_rvas+i*4);
- +# printf ("\t%s @ %ld ;\n", erva+name_rva, 1+ i);
- +# }
- +#
- +# return 0;
- +# }
- +# /* impgen.c ends here */
- +
- EOF
- -# The following way of writing the cache mishandles newlines in values,
- -# but we know of no workaround that is simple, portable, and efficient.
- -# So, don't put newlines in cache variables' values.
- -# Ultrix sh set writes to stderr and can't be redirected directly,
- -# and sets the high bit in the cache file unless we assign to the vars.
- -(set) 2>&1 |
- - case `(ac_space=' '; set | grep ac_space) 2>&1` in
- - *ac_space=\ *)
- - # `set' does not quote correctly, so add quotes (double-quote substitution
- - # turns \\\\ into \\, and sed turns \\ into \).
- - sed -n \
- - -e "s/'/'\\\\''/g" \
- - -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
- - ;;
- - *)
- - # `set' quotes correctly as required by POSIX, so do not add quotes.
- - sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
- ;;
- - esac >> confcache
- -if cmp -s $cache_file confcache; then
- - :
- -else
- - if test -w $cache_file; then
- - echo "updating cache $cache_file"
- - cat confcache > $cache_file
- - else
- - echo "not updating unwritable cache $cache_file"
- - fi
- + esac
- +
- + # We use sed instead of cat because bash on DJGPP gets confused if
- + # if finds mixed CR/LF and LF-only lines. Since sed operates in
- + # text mode, it properly converts lines to CR/LF. This bash problem
- + # is reportedly fixed, but why not run on old versions too?
- + sed '$q' "$ltmain" >> "${ofile}T" || (rm -f "${ofile}T"; exit 1)
- +
- + mv -f "${ofile}T" "$ofile" || \
- + (rm -f "$ofile" && cp "${ofile}T" "$ofile" && rm -f "${ofile}T")
- + chmod +x "$ofile"
- fi
- -rm -f confcache
-
-
- -# Actually configure libtool. ac_aux_dir is where install-sh is found.
- -CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
- -LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
- -LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" \
- -DLLTOOL="$DLLTOOL" AS="$AS" OBJDUMP="$OBJDUMP" \
- -${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
- -$libtool_flags --no-verify $ac_aux_dir/ltmain.sh $lt_target \
- -|| { echo "configure: error: libtool configure failed" 1>&2; exit 1; }
-
- -# Reload cache, that may have been modified by ltconfig
- -if test -r "$cache_file"; then
- - echo "loading cache $cache_file"
- - . $cache_file
- -else
- - echo "creating cache $cache_file"
- - > $cache_file
- -fi
-
-
- # This can be used to rebuild libtool when needed
- -LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh"
- +LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
-
- # Always use our own libtool.
- LIBTOOL='$(SHELL) $(top_builddir)/libtool'
-
- -# Redirect the config.log output again, so that the ltconfig log is not
- -# clobbered by the next message.
- -exec 5>>./config.log
- +# Prevent multiple expansion
-
-
- -echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&6
- -echo "configure:1662: checking for POSIXized ISC" >&5
- -if test -d /etc/conf/kconfig.d &&
- - grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1
- -then
- - echo "$ac_t""yes" 1>&6
- - ISC=yes # If later tests want to check for ISC.
- - cat >> confdefs.h <<\EOF
- -#define _POSIX_SOURCE 1
- +
- +
- + echo $ac_n "checking for strerror in -lcposix""... $ac_c" 1>&6
- +echo "configure:5509: checking for strerror in -lcposix" >&5
- +ac_lib_var=`echo cposix'_'strerror | sed 'y%./+-%__p_%'`
- +if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
- + echo $ac_n "(cached) $ac_c" 1>&6
- +else
- + ac_save_LIBS="$LIBS"
- +LIBS="-lcposix $LIBS"
- +cat > conftest.$ac_ext <<EOF
- +#line 5517 "configure"
- +#include "confdefs.h"
- +/* Override any gcc2 internal prototype to avoid an error. */
- +/* We use char because int might match the return type of a gcc2
- + builtin and then its argument prototype would still apply. */
- +char strerror();
- +
- +int main() {
- +strerror()
- +; return 0; }
- EOF
- +if { (eval echo configure:5528: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- + rm -rf conftest*
- + eval "ac_cv_lib_$ac_lib_var=yes"
- +else
- + echo "configure: failed program was:" >&5
- + cat conftest.$ac_ext >&5
- + rm -rf conftest*
- + eval "ac_cv_lib_$ac_lib_var=no"
- +fi
- +rm -f conftest*
- +LIBS="$ac_save_LIBS"
-
- - if test "$GCC" = yes; then
- - CC="$CC -posix"
- - else
- - CC="$CC -Xp"
- - fi
- +fi
- +if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
- + echo "$ac_t""yes" 1>&6
- + LIBS="$LIBS -lcposix"
- else
- echo "$ac_t""no" 1>&6
- - ISC=
- fi
-
- +
- +
-
-
-
- echo $ac_n "checking for ${CC-cc} option to accept ANSI C""... $ac_c" 1>&6
- -echo "configure:1686: checking for ${CC-cc} option to accept ANSI C" >&5
- +echo "configure:5554: checking for ${CC-cc} option to accept ANSI C" >&5
- if eval "test \"`echo '$''{'am_cv_prog_cc_stdc'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- @@ -1698,7 +5566,7 @@
- do
- CC="$ac_save_CC $ac_arg"
- cat > conftest.$ac_ext <<EOF
- -#line 1702 "configure"
- +#line 5570 "configure"
- #include "confdefs.h"
- #include <stdarg.h>
- #include <stdio.h>
- @@ -1735,7 +5603,7 @@
-
- ; return 0; }
- EOF
- -if { (eval echo configure:1739: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- +if { (eval echo configure:5607: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
- am_cv_prog_cc_stdc="$ac_arg"; break
- else
- @@ -1761,7 +5629,7 @@
-
-
- echo $ac_n "checking for function prototypes""... $ac_c" 1>&6
- -echo "configure:1765: checking for function prototypes" >&5
- +echo "configure:5633: checking for function prototypes" >&5
- if test "$am_cv_prog_cc_stdc" != no; then
- echo "$ac_t""yes" 1>&6
- cat >> confdefs.h <<\EOF
- @@ -1774,12 +5642,12 @@
- U=_ ANSI2KNR=./ansi2knr
- # Ensure some checks needed by ansi2knr itself.
- echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
- -echo "configure:1778: checking for ANSI C header files" >&5
- +echo "configure:5646: checking for ANSI C header files" >&5
- if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- cat > conftest.$ac_ext <<EOF
- -#line 1783 "configure"
- +#line 5651 "configure"
- #include "confdefs.h"
- #include <stdlib.h>
- #include <stdarg.h>
- @@ -1787,7 +5655,7 @@
- #include <float.h>
- EOF
- ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
- -{ (eval echo configure:1791: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
- +{ (eval echo configure:5659: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
- ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
- if test -z "$ac_err"; then
- rm -rf conftest*
- @@ -1804,7 +5672,7 @@
- if test $ac_cv_header_stdc = yes; then
- # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
- cat > conftest.$ac_ext <<EOF
- -#line 1808 "configure"
- +#line 5676 "configure"
- #include "confdefs.h"
- #include <string.h>
- EOF
- @@ -1822,7 +5690,7 @@
- if test $ac_cv_header_stdc = yes; then
- # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
- cat > conftest.$ac_ext <<EOF
- -#line 1826 "configure"
- +#line 5694 "configure"
- #include "confdefs.h"
- #include <stdlib.h>
- EOF
- @@ -1843,7 +5711,7 @@
- :
- else
- cat > conftest.$ac_ext <<EOF
- -#line 1847 "configure"
- +#line 5715 "configure"
- #include "confdefs.h"
- #include <ctype.h>
- #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
- @@ -1854,7 +5722,7 @@
- exit (0); }
-
- EOF
- -if { (eval echo configure:1858: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
- +if { (eval echo configure:5726: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
- then
- :
- else
- @@ -1881,17 +5749,17 @@
- do
- ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
- echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
- -echo "configure:1885: checking for $ac_hdr" >&5
- +echo "configure:5753: checking for $ac_hdr" >&5
- if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- cat > conftest.$ac_ext <<EOF
- -#line 1890 "configure"
- +#line 5758 "configure"
- #include "confdefs.h"
- #include <$ac_hdr>
- EOF
- ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
- -{ (eval echo configure:1895: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
- +{ (eval echo configure:5763: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
- ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
- if test -z "$ac_err"; then
- rm -rf conftest*
- @@ -1920,12 +5788,12 @@
- fi
-
- echo $ac_n "checking for working const""... $ac_c" 1>&6
- -echo "configure:1924: checking for working const" >&5
- +echo "configure:5792: checking for working const" >&5
- if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- cat > conftest.$ac_ext <<EOF
- -#line 1929 "configure"
- +#line 5797 "configure"
- #include "confdefs.h"
-
- int main() {
- @@ -1974,7 +5842,7 @@
-
- ; return 0; }
- EOF
- -if { (eval echo configure:1978: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- +if { (eval echo configure:5846: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
- ac_cv_c_const=yes
- else
- @@ -1995,21 +5863,21 @@
- fi
-
- echo $ac_n "checking for inline""... $ac_c" 1>&6
- -echo "configure:1999: checking for inline" >&5
- +echo "configure:5867: checking for inline" >&5
- if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- ac_cv_c_inline=no
- for ac_kw in inline __inline__ __inline; do
- cat > conftest.$ac_ext <<EOF
- -#line 2006 "configure"
- +#line 5874 "configure"
- #include "confdefs.h"
-
- int main() {
- } $ac_kw foo() {
- ; return 0; }
- EOF
- -if { (eval echo configure:2013: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- +if { (eval echo configure:5881: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
- ac_cv_c_inline=$ac_kw; break
- else
- @@ -2039,7 +5907,7 @@
- # Extract the first word of "$ac_prog", so it can be a program name with args.
- set dummy $ac_prog; ac_word=$2
- echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
- -echo "configure:2043: checking for $ac_word" >&5
- +echo "configure:5911: checking for $ac_word" >&5
- if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- @@ -2076,7 +5944,7 @@
- # Extract the first word of "flex", so it can be a program name with args.
- set dummy flex; ac_word=$2
- echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
- -echo "configure:2080: checking for $ac_word" >&5
- +echo "configure:5948: checking for $ac_word" >&5
- if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- @@ -2110,7 +5978,7 @@
- *) ac_lib=l ;;
- esac
- echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
- -echo "configure:2114: checking for yywrap in -l$ac_lib" >&5
- +echo "configure:5982: checking for yywrap in -l$ac_lib" >&5
- ac_lib_var=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
- if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
- @@ -2118,7 +5986,7 @@
- ac_save_LIBS="$LIBS"
- LIBS="-l$ac_lib $LIBS"
- cat > conftest.$ac_ext <<EOF
- -#line 2122 "configure"
- +#line 5990 "configure"
- #include "confdefs.h"
- /* Override any gcc2 internal prototype to avoid an error. */
- /* We use char because int might match the return type of a gcc2
- @@ -2129,7 +5997,7 @@
- yywrap()
- ; return 0; }
- EOF
- -if { (eval echo configure:2133: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- +if { (eval echo configure:6001: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_lib_$ac_lib_var=yes"
- else
- @@ -2152,7 +6020,7 @@
- fi
-
- echo $ac_n "checking lex output file root""... $ac_c" 1>&6
- -echo "configure:2156: checking lex output file root" >&5
- +echo "configure:6024: checking lex output file root" >&5
- if eval "test \"`echo '$''{'ac_cv_prog_lex_root'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- @@ -2173,7 +6041,7 @@
- LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
-
- echo $ac_n "checking whether yytext is a pointer""... $ac_c" 1>&6
- -echo "configure:2177: checking whether yytext is a pointer" >&5
- +echo "configure:6045: checking whether yytext is a pointer" >&5
- if eval "test \"`echo '$''{'ac_cv_prog_lex_yytext_pointer'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- @@ -2185,14 +6053,14 @@
- ac_save_LIBS="$LIBS"
- LIBS="$LIBS $LEXLIB"
- cat > conftest.$ac_ext <<EOF
- -#line 2189 "configure"
- +#line 6057 "configure"
- #include "confdefs.h"
- `cat $LEX_OUTPUT_ROOT.c`
- int main() {
-
- ; return 0; }
- EOF
- -if { (eval echo configure:2196: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- +if { (eval echo configure:6064: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- ac_cv_prog_lex_yytext_pointer=yes
- else
- @@ -2216,12 +6084,12 @@
- fi
-
- echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
- -echo "configure:2220: checking for ANSI C header files" >&5
- +echo "configure:6088: checking for ANSI C header files" >&5
- if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- cat > conftest.$ac_ext <<EOF
- -#line 2225 "configure"
- +#line 6093 "configure"
- #include "confdefs.h"
- #include <stdlib.h>
- #include <stdarg.h>
- @@ -2229,7 +6097,7 @@
- #include <float.h>
- EOF
- ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
- -{ (eval echo configure:2233: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
- +{ (eval echo configure:6101: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
- ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
- if test -z "$ac_err"; then
- rm -rf conftest*
- @@ -2246,7 +6114,7 @@
- if test $ac_cv_header_stdc = yes; then
- # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
- cat > conftest.$ac_ext <<EOF
- -#line 2250 "configure"
- +#line 6118 "configure"
- #include "confdefs.h"
- #include <string.h>
- EOF
- @@ -2264,7 +6132,7 @@
- if test $ac_cv_header_stdc = yes; then
- # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
- cat > conftest.$ac_ext <<EOF
- -#line 2268 "configure"
- +#line 6136 "configure"
- #include "confdefs.h"
- #include <stdlib.h>
- EOF
- @@ -2285,7 +6153,7 @@
- :
- else
- cat > conftest.$ac_ext <<EOF
- -#line 2289 "configure"
- +#line 6157 "configure"
- #include "confdefs.h"
- #include <ctype.h>
- #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
- @@ -2296,7 +6164,7 @@
- exit (0); }
-
- EOF
- -if { (eval echo configure:2300: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
- +if { (eval echo configure:6168: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
- then
- :
- else
- @@ -2323,17 +6191,17 @@
- do
- ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
- echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
- -echo "configure:2327: checking for $ac_hdr" >&5
- +echo "configure:6195: checking for $ac_hdr" >&5
- if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- cat > conftest.$ac_ext <<EOF
- -#line 2332 "configure"
- +#line 6200 "configure"
- #include "confdefs.h"
- #include <$ac_hdr>
- EOF
- ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
- -{ (eval echo configure:2337: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
- +{ (eval echo configure:6205: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
- ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
- if test -z "$ac_err"; then
- rm -rf conftest*
- @@ -2360,12 +6228,12 @@
- done
-
- echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
- -echo "configure:2364: checking return type of signal handlers" >&5
- +echo "configure:6232: checking return type of signal handlers" >&5
- if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- cat > conftest.$ac_ext <<EOF
- -#line 2369 "configure"
- +#line 6237 "configure"
- #include "confdefs.h"
- #include <sys/types.h>
- #include <signal.h>
- @@ -2382,7 +6250,7 @@
- int i;
- ; return 0; }
- EOF
- -if { (eval echo configure:2386: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- +if { (eval echo configure:6254: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
- ac_cv_type_signal=void
- else
- @@ -2401,12 +6269,12 @@
-
-
- echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
- -echo "configure:2405: checking whether time.h and sys/time.h may both be included" >&5
- +echo "configure:6273: checking whether time.h and sys/time.h may both be included" >&5
- if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- cat > conftest.$ac_ext <<EOF
- -#line 2410 "configure"
- +#line 6278 "configure"
- #include "confdefs.h"
- #include <sys/types.h>
- #include <sys/time.h>
- @@ -2415,7 +6283,7 @@
- struct tm *tp;
- ; return 0; }
- EOF
- -if { (eval echo configure:2419: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- +if { (eval echo configure:6287: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
- ac_cv_header_time=yes
- else
- @@ -2440,17 +6308,17 @@
- do
- ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
- echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
- -echo "configure:2444: checking for $ac_hdr" >&5
- +echo "configure:6312: checking for $ac_hdr" >&5
- if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- cat > conftest.$ac_ext <<EOF
- -#line 2449 "configure"
- +#line 6317 "configure"
- #include "confdefs.h"
- #include <$ac_hdr>
- EOF
- ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
- -{ (eval echo configure:2454: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
- +{ (eval echo configure:6322: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
- ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
- if test -z "$ac_err"; then
- rm -rf conftest*
- @@ -2478,12 +6346,12 @@
-
-
- echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6
- -echo "configure:2482: checking for struct utimbuf" >&5
- +echo "configure:6350: checking for struct utimbuf" >&5
- if eval "test \"`echo '$''{'fu_cv_sys_struct_utimbuf'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- cat > conftest.$ac_ext <<EOF
- -#line 2487 "configure"
- +#line 6355 "configure"
- #include "confdefs.h"
-
- #ifdef TIME_WITH_SYS_TIME
- @@ -2504,7 +6372,7 @@
- static struct utimbuf x; x.actime = x.modtime;
- ; return 0; }
- EOF
- -if { (eval echo configure:2508: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- +if { (eval echo configure:6376: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
- fu_cv_sys_struct_utimbuf=yes
- else
- @@ -2530,12 +6398,12 @@
- for ac_func in dup2 mbrtowc rename setlocale strerror strndup wcrtomb
- do
- echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
- -echo "configure:2534: checking for $ac_func" >&5
- +echo "configure:6402: checking for $ac_func" >&5
- if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- cat > conftest.$ac_ext <<EOF
- -#line 2539 "configure"
- +#line 6407 "configure"
- #include "confdefs.h"
- /* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char $ac_func(); below. */
- @@ -2558,7 +6426,7 @@
-
- ; return 0; }
- EOF
- -if { (eval echo configure:2562: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- +if { (eval echo configure:6430: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_$ac_func=yes"
- else
- @@ -2585,12 +6453,12 @@
- for ac_func in strtol strtoul
- do
- echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
- -echo "configure:2589: checking for $ac_func" >&5
- +echo "configure:6457: checking for $ac_func" >&5
- if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- cat > conftest.$ac_ext <<EOF
- -#line 2594 "configure"
- +#line 6462 "configure"
- #include "confdefs.h"
- /* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char $ac_func(); below. */
- @@ -2613,7 +6481,7 @@
-
- ; return 0; }
- EOF
- -if { (eval echo configure:2617: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- +if { (eval echo configure:6485: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_$ac_func=yes"
- else
- @@ -2642,19 +6510,19 @@
- # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
- # for constant arguments. Useless!
- echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6
- -echo "configure:2646: checking for working alloca.h" >&5
- +echo "configure:6514: checking for working alloca.h" >&5
- if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- cat > conftest.$ac_ext <<EOF
- -#line 2651 "configure"
- +#line 6519 "configure"
- #include "confdefs.h"
- #include <alloca.h>
- int main() {
- char *p = alloca(2 * sizeof(int));
- ; return 0; }
- EOF
- -if { (eval echo configure:2658: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- +if { (eval echo configure:6526: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- ac_cv_header_alloca_h=yes
- else
- @@ -2675,12 +6543,12 @@
- fi
-
- echo $ac_n "checking for alloca""... $ac_c" 1>&6
- -echo "configure:2679: checking for alloca" >&5
- +echo "configure:6547: checking for alloca" >&5
- if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- cat > conftest.$ac_ext <<EOF
- -#line 2684 "configure"
- +#line 6552 "configure"
- #include "confdefs.h"
-
- #ifdef __GNUC__
- @@ -2708,7 +6576,7 @@
- char *p = (char *) alloca(1);
- ; return 0; }
- EOF
- -if { (eval echo configure:2712: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- +if { (eval echo configure:6580: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- ac_cv_func_alloca_works=yes
- else
- @@ -2740,12 +6608,12 @@
-
-
- echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6
- -echo "configure:2744: checking whether alloca needs Cray hooks" >&5
- +echo "configure:6612: checking whether alloca needs Cray hooks" >&5
- if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- cat > conftest.$ac_ext <<EOF
- -#line 2749 "configure"
- +#line 6617 "configure"
- #include "confdefs.h"
- #if defined(CRAY) && ! defined(CRAY2)
- webecray
- @@ -2770,12 +6638,12 @@
- if test $ac_cv_os_cray = yes; then
- for ac_func in _getb67 GETB67 getb67; do
- echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
- -echo "configure:2774: checking for $ac_func" >&5
- +echo "configure:6642: checking for $ac_func" >&5
- if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- cat > conftest.$ac_ext <<EOF
- -#line 2779 "configure"
- +#line 6647 "configure"
- #include "confdefs.h"
- /* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char $ac_func(); below. */
- @@ -2798,7 +6666,7 @@
-
- ; return 0; }
- EOF
- -if { (eval echo configure:2802: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- +if { (eval echo configure:6670: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_$ac_func=yes"
- else
- @@ -2825,7 +6693,7 @@
- fi
-
- echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6
- -echo "configure:2829: checking stack direction for C alloca" >&5
- +echo "configure:6697: checking stack direction for C alloca" >&5
- if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- @@ -2833,7 +6701,7 @@
- ac_cv_c_stack_direction=0
- else
- cat > conftest.$ac_ext <<EOF
- -#line 2837 "configure"
- +#line 6705 "configure"
- #include "confdefs.h"
- find_stack_direction ()
- {
- @@ -2852,7 +6720,7 @@
- exit (find_stack_direction() < 0);
- }
- EOF
- -if { (eval echo configure:2856: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
- +if { (eval echo configure:6724: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
- then
- ac_cv_c_stack_direction=1
- else
- @@ -2874,12 +6742,12 @@
- fi
-
- echo $ac_n "checking for vprintf""... $ac_c" 1>&6
- -echo "configure:2878: checking for vprintf" >&5
- +echo "configure:6746: checking for vprintf" >&5
- if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- cat > conftest.$ac_ext <<EOF
- -#line 2883 "configure"
- +#line 6751 "configure"
- #include "confdefs.h"
- /* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char vprintf(); below. */
- @@ -2902,7 +6770,7 @@
-
- ; return 0; }
- EOF
- -if { (eval echo configure:2906: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- +if { (eval echo configure:6774: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_vprintf=yes"
- else
- @@ -2926,12 +6794,12 @@
-
- if test "$ac_cv_func_vprintf" != yes; then
- echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
- -echo "configure:2930: checking for _doprnt" >&5
- +echo "configure:6798: checking for _doprnt" >&5
- if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- cat > conftest.$ac_ext <<EOF
- -#line 2935 "configure"
- +#line 6803 "configure"
- #include "confdefs.h"
- /* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char _doprnt(); below. */
- @@ -2954,7 +6822,7 @@
-
- ; return 0; }
- EOF
- -if { (eval echo configure:2958: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- +if { (eval echo configure:6826: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func__doprnt=yes"
- else
- @@ -2986,7 +6854,7 @@
-
-
- echo $ac_n "checking for working malloc""... $ac_c" 1>&6
- -echo "configure:2990: checking for working malloc" >&5
- +echo "configure:6858: checking for working malloc" >&5
- if eval "test \"`echo '$''{'jm_cv_func_working_malloc'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- @@ -2994,7 +6862,7 @@
- jm_cv_func_working_malloc=no
- else
- cat > conftest.$ac_ext <<EOF
- -#line 2998 "configure"
- +#line 6866 "configure"
- #include "confdefs.h"
-
- char *malloc ();
- @@ -3005,7 +6873,7 @@
- }
-
- EOF
- -if { (eval echo configure:3009: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
- +if { (eval echo configure:6877: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
- then
- jm_cv_func_working_malloc=yes
- else
- @@ -3037,7 +6905,7 @@
-
-
- echo $ac_n "checking for working realloc""... $ac_c" 1>&6
- -echo "configure:3041: checking for working realloc" >&5
- +echo "configure:6909: checking for working realloc" >&5
- if eval "test \"`echo '$''{'jm_cv_func_working_realloc'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- @@ -3045,7 +6913,7 @@
- jm_cv_func_working_realloc=no
- else
- cat > conftest.$ac_ext <<EOF
- -#line 3049 "configure"
- +#line 6917 "configure"
- #include "confdefs.h"
-
- char *realloc ();
- @@ -3056,7 +6924,7 @@
- }
-
- EOF
- -if { (eval echo configure:3060: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
- +if { (eval echo configure:6928: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
- then
- jm_cv_func_working_realloc=yes
- else
- @@ -3090,7 +6958,7 @@
- fi
-
- echo $ac_n "checking host system type""... $ac_c" 1>&6
- -echo "configure:3094: checking host system type" >&5
- +echo "configure:6962: checking host system type" >&5
-
- host_alias=$host
- case "$host_alias" in
- @@ -3115,17 +6983,17 @@
- do
- ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
- echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
- -echo "configure:3119: checking for $ac_hdr" >&5
- +echo "configure:6987: checking for $ac_hdr" >&5
- if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- cat > conftest.$ac_ext <<EOF
- -#line 3124 "configure"
- +#line 6992 "configure"
- #include "confdefs.h"
- #include <$ac_hdr>
- EOF
- ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
- -{ (eval echo configure:3129: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
- +{ (eval echo configure:6997: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
- ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
- if test -z "$ac_err"; then
- rm -rf conftest*
- @@ -3154,12 +7022,12 @@
- for ac_func in nl_langinfo
- do
- echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
- -echo "configure:3158: checking for $ac_func" >&5
- +echo "configure:7026: checking for $ac_func" >&5
- if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- cat > conftest.$ac_ext <<EOF
- -#line 3163 "configure"
- +#line 7031 "configure"
- #include "confdefs.h"
- /* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char $ac_func(); below. */
- @@ -3182,7 +7050,7 @@
-
- ; return 0; }
- EOF
- -if { (eval echo configure:3186: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- +if { (eval echo configure:7054: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_$ac_func=yes"
- else
- @@ -3208,19 +7076,19 @@
-
-
- echo $ac_n "checking for nl_langinfo and CODESET""... $ac_c" 1>&6
- -echo "configure:3212: checking for nl_langinfo and CODESET" >&5
- +echo "configure:7080: checking for nl_langinfo and CODESET" >&5
- if eval "test \"`echo '$''{'jm_cv_langinfo_codeset'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- cat > conftest.$ac_ext <<EOF
- -#line 3217 "configure"
- +#line 7085 "configure"
- #include "confdefs.h"
- #include <langinfo.h>
- int main() {
- char* cs = nl_langinfo(CODESET);
- ; return 0; }
- EOF
- -if { (eval echo configure:3224: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- +if { (eval echo configure:7092: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- jm_cv_langinfo_codeset=yes
- else
- @@ -3243,12 +7111,12 @@
-
-
- echo $ac_n "checking whether we are using the GNU C Library 2.1 or newer""... $ac_c" 1>&6
- -echo "configure:3247: checking whether we are using the GNU C Library 2.1 or newer" >&5
- +echo "configure:7115: checking whether we are using the GNU C Library 2.1 or newer" >&5
- if eval "test \"`echo '$''{'ac_cv_gnu_library_2_1'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- cat > conftest.$ac_ext <<EOF
- -#line 3252 "configure"
- +#line 7120 "configure"
- #include "confdefs.h"
-
- #include <features.h>
- @@ -3280,7 +7148,7 @@
-
-
- echo $ac_n "checking if malloc debugging is wanted""... $ac_c" 1>&6
- -echo "configure:3284: checking if malloc debugging is wanted" >&5
- +echo "configure:7152: checking if malloc debugging is wanted" >&5
- # Check whether --with-dmalloc or --without-dmalloc was given.
- if test "${with_dmalloc+set}" = set; then
- withval="$with_dmalloc"
- @@ -3303,7 +7171,7 @@
-
-
- echo $ac_n "checking whether NLS is wanted""... $ac_c" 1>&6
- -echo "configure:3307: checking whether NLS is wanted" >&5
- +echo "configure:7175: checking whether NLS is wanted" >&5
- # Check whether --enable-nls or --disable-nls was given.
- if test "${enable_nls+set}" = set; then
- enableval="$enable_nls"
- @@ -3340,12 +7208,12 @@
- for ac_func in gettext
- do
- echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
- -echo "configure:3344: checking for $ac_func" >&5
- +echo "configure:7212: checking for $ac_func" >&5
- if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- cat > conftest.$ac_ext <<EOF
- -#line 3349 "configure"
- +#line 7217 "configure"
- #include "confdefs.h"
- /* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char $ac_func(); below. */
- @@ -3368,7 +7236,7 @@
-
- ; return 0; }
- EOF
- -if { (eval echo configure:3372: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- +if { (eval echo configure:7240: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_$ac_func=yes"
- else
- @@ -3393,7 +7261,7 @@
- done
-
- echo $ac_n "checking for gettext in -lintl""... $ac_c" 1>&6
- -echo "configure:3397: checking for gettext in -lintl" >&5
- +echo "configure:7265: checking for gettext in -lintl" >&5
- ac_lib_var=`echo intl'_'gettext | sed 'y%./+-%__p_%'`
- if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
- @@ -3401,7 +7269,7 @@
- ac_save_LIBS="$LIBS"
- LIBS="-lintl $LIBS"
- cat > conftest.$ac_ext <<EOF
- -#line 3405 "configure"
- +#line 7273 "configure"
- #include "confdefs.h"
- /* Override any gcc2 internal prototype to avoid an error. */
- /* We use char because int might match the return type of a gcc2
- @@ -3412,7 +7280,7 @@
- gettext()
- ; return 0; }
- EOF
- -if { (eval echo configure:3416: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- +if { (eval echo configure:7284: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_lib_$ac_lib_var=yes"
- else
- @@ -3434,7 +7302,7 @@
-
- if test $ac_cv_lib_intl_gettext$ac_cv_func_gettext != nono; then
- echo $ac_n "checking whether the included gettext is preferred""... $ac_c" 1>&6
- -echo "configure:3438: checking whether the included gettext is preferred" >&5
- +echo "configure:7306: checking whether the included gettext is preferred" >&5
- # Check whether --with-included-gettext or --without-included-gettext was given.
- if test "${with_included_gettext+set}" = set; then
- withval="$with_included_gettext"
- @@ -3465,17 +7333,17 @@
- do
- ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
- echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
- -echo "configure:3469: checking for $ac_hdr" >&5
- +echo "configure:7337: checking for $ac_hdr" >&5
- if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- cat > conftest.$ac_ext <<EOF
- -#line 3474 "configure"
- +#line 7342 "configure"
- #include "confdefs.h"
- #include <$ac_hdr>
- EOF
- ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
- -{ (eval echo configure:3479: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
- +{ (eval echo configure:7347: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
- ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
- if test -z "$ac_err"; then
- rm -rf conftest*
- @@ -3504,12 +7372,12 @@
- for ac_func in dcgettext gettext
- do
- echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
- -echo "configure:3508: checking for $ac_func" >&5
- +echo "configure:7376: checking for $ac_func" >&5
- if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- cat > conftest.$ac_ext <<EOF
- -#line 3513 "configure"
- +#line 7381 "configure"
- #include "confdefs.h"
- /* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char $ac_func(); below. */
- @@ -3532,7 +7400,7 @@
-
- ; return 0; }
- EOF
- -if { (eval echo configure:3536: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- +if { (eval echo configure:7404: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_$ac_func=yes"
- else
- @@ -3562,17 +7430,17 @@
- do
- ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
- echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
- -echo "configure:3566: checking for $ac_hdr" >&5
- +echo "configure:7434: checking for $ac_hdr" >&5
- if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- cat > conftest.$ac_ext <<EOF
- -#line 3571 "configure"
- +#line 7439 "configure"
- #include "confdefs.h"
- #include <$ac_hdr>
- EOF
- ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
- -{ (eval echo configure:3576: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
- +{ (eval echo configure:7444: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
- ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
- if test -z "$ac_err"; then
- rm -rf conftest*
- @@ -3602,17 +7470,17 @@
- do
- ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
- echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
- -echo "configure:3606: checking for $ac_hdr" >&5
- +echo "configure:7474: checking for $ac_hdr" >&5
- if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- cat > conftest.$ac_ext <<EOF
- -#line 3611 "configure"
- +#line 7479 "configure"
- #include "confdefs.h"
- #include <$ac_hdr>
- EOF
- ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
- -{ (eval echo configure:3616: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
- +{ (eval echo configure:7484: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
- ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
- if test -z "$ac_err"; then
- rm -rf conftest*
- @@ -3641,12 +7509,12 @@
- for ac_func in getpagesize
- do
- echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
- -echo "configure:3645: checking for $ac_func" >&5
- +echo "configure:7513: checking for $ac_func" >&5
- if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- cat > conftest.$ac_ext <<EOF
- -#line 3650 "configure"
- +#line 7518 "configure"
- #include "confdefs.h"
- /* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char $ac_func(); below. */
- @@ -3669,7 +7537,7 @@
-
- ; return 0; }
- EOF
- -if { (eval echo configure:3673: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- +if { (eval echo configure:7541: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_$ac_func=yes"
- else
- @@ -3694,7 +7562,7 @@
- done
-
- echo $ac_n "checking for working mmap""... $ac_c" 1>&6
- -echo "configure:3698: checking for working mmap" >&5
- +echo "configure:7566: checking for working mmap" >&5
- if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- @@ -3702,7 +7570,7 @@
- ac_cv_func_mmap_fixed_mapped=no
- else
- cat > conftest.$ac_ext <<EOF
- -#line 3706 "configure"
- +#line 7574 "configure"
- #include "confdefs.h"
-
- /* Thanks to Mike Haertel and Jim Avera for this test.
- @@ -3842,7 +7710,7 @@
- }
-
- EOF
- -if { (eval echo configure:3846: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
- +if { (eval echo configure:7714: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
- then
- ac_cv_func_mmap_fixed_mapped=yes
- else
- @@ -3867,12 +7735,12 @@
- for ac_func in getcwd mempcpy munmap setlocale stpcpy strcasecmp strchr strdup __argz_count __argz_stringify __argz_next
- do
- echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
- -echo "configure:3871: checking for $ac_func" >&5
- +echo "configure:7739: checking for $ac_func" >&5
- if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- cat > conftest.$ac_ext <<EOF
- -#line 3876 "configure"
- +#line 7744 "configure"
- #include "confdefs.h"
- /* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char $ac_func(); below. */
- @@ -3895,7 +7763,7 @@
-
- ; return 0; }
- EOF
- -if { (eval echo configure:3899: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- +if { (eval echo configure:7767: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_$ac_func=yes"
- else
- @@ -3921,19 +7789,19 @@
-
- if test $ac_cv_header_locale_h = yes; then
- echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6
- -echo "configure:3925: checking for LC_MESSAGES" >&5
- +echo "configure:7793: checking for LC_MESSAGES" >&5
- if eval "test \"`echo '$''{'am_cv_val_LC_MESSAGES'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- cat > conftest.$ac_ext <<EOF
- -#line 3930 "configure"
- +#line 7798 "configure"
- #include "confdefs.h"
- #include <locale.h>
- int main() {
- return LC_MESSAGES
- ; return 0; }
- EOF
- -if { (eval echo configure:3937: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- +if { (eval echo configure:7805: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- am_cv_val_LC_MESSAGES=yes
- else
- @@ -3968,7 +7836,7 @@
-
-
- echo $ac_n "checking which translations to install""... $ac_c" 1>&6
- -echo "configure:3972: checking which translations to install" >&5
- +echo "configure:7840: checking which translations to install" >&5
- if test -z "$LINGUAS"; then
- ac_print="$ALL_LINGUAS"
- MOFILES="$ALL_MOFILES"
- @@ -4172,8 +8040,12 @@
- s%@build_cpu@%$build_cpu%g
- s%@build_vendor@%$build_vendor%g
- s%@build_os@%$build_os%g
- -s%@RANLIB@%$RANLIB%g
- s%@LN_S@%$LN_S%g
- +s%@OBJEXT@%$OBJEXT%g
- +s%@EXEEXT@%$EXEEXT%g
- +s%@ECHO@%$ECHO%g
- +s%@RANLIB@%$RANLIB%g
- +s%@STRIP@%$STRIP%g
- s%@LIBTOOL@%$LIBTOOL%g
- s%@U@%$U%g
- s%@ANSI2KNR@%$ANSI2KNR%g
- --- recode-3.6.orig/config.guess
- +++ recode-3.6/config.guess
- @@ -1,8 +1,11 @@
- #! /bin/sh
- # Attempt to guess a canonical system name.
- -# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999
- -# Free Software Foundation, Inc.
- -#
- +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
- +# 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
- +# Inc.
- +
- +timestamp='2006-07-02'
- +
- # This file is free software; you can redistribute it and/or modify it
- # under the terms of the GNU General Public License as published by
- # the Free Software Foundation; either version 2 of the License, or
- @@ -15,156 +18,293 @@
- #
- # You should have received a copy of the GNU General Public License
- # along with this program; if not, write to the Free Software
- -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
- +# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
- +# 02110-1301, USA.
- #
- # As a special exception to the GNU General Public License, if you
- # distribute this file as part of a program that contains a
- # configuration script generated by Autoconf, you may include it under
- # the same distribution terms that you use for the rest of that program.
-
- -# Written by Per Bothner <bothner@cygnus.com>.
- -# The master version of this file is at the FSF in /home/gd/gnu/lib.
- -# Please send patches to <autoconf-patches@gnu.org>.
- +
- +# Originally written by Per Bothner <per@bothner.com>.
- +# Please send patches to <config-patches@gnu.org>. Submit a context
- +# diff and a properly formatted ChangeLog entry.
- #
- # This script attempts to guess a canonical system name similar to
- # config.sub. If it succeeds, it prints the system name on stdout, and
- # exits with 0. Otherwise, it exits with 1.
- #
- # The plan is that this can be called by configure scripts if you
- -# don't specify an explicit system type (host/target name).
- -#
- -# Only a few systems have been added to this list; please add others
- -# (but try to keep the structure clean).
- -#
- +# don't specify an explicit build system type.
-
- -# Use $HOST_CC if defined. $CC may point to a cross-compiler
- -if test x"$CC_FOR_BUILD" = x; then
- - if test x"$HOST_CC" != x; then
- - CC_FOR_BUILD="$HOST_CC"
- - else
- - if test x"$CC" != x; then
- - CC_FOR_BUILD="$CC"
- - else
- - CC_FOR_BUILD=cc
- - fi
- - fi
- +me=`echo "$0" | sed -e 's,.*/,,'`
- +
- +usage="\
- +Usage: $0 [OPTION]
- +
- +Output the configuration name of the system \`$me' is run on.
- +
- +Operation modes:
- + -h, --help print this help, then exit
- + -t, --time-stamp print date of last modification, then exit
- + -v, --version print version number, then exit
- +
- +Report bugs and patches to <config-patches@gnu.org>."
- +
- +version="\
- +GNU config.guess ($timestamp)
- +
- +Originally written by Per Bothner.
- +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
- +Free Software Foundation, Inc.
- +
- +This is free software; see the source for copying conditions. There is NO
- +warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
- +
- +help="
- +Try \`$me --help' for more information."
- +
- +# Parse command line
- +while test $# -gt 0 ; do
- + case $1 in
- + --time-stamp | --time* | -t )
- + echo "$timestamp" ; exit ;;
- + --version | -v )
- + echo "$version" ; exit ;;
- + --help | --h* | -h )
- + echo "$usage"; exit ;;
- + -- ) # Stop option processing
- + shift; break ;;
- + - ) # Use stdin as input.
- + break ;;
- + -* )
- + echo "$me: invalid option $1$help" >&2
- + exit 1 ;;
- + * )
- + break ;;
- + esac
- +done
- +
- +if test $# != 0; then
- + echo "$me: too many arguments$help" >&2
- + exit 1
- fi
-
- +trap 'exit 1' 1 2 15
- +
- +# CC_FOR_BUILD -- compiler used by this script. Note that the use of a
- +# compiler to aid in system detection is discouraged as it requires
- +# temporary files to be created and, as you can see below, it is a
- +# headache to deal with in a portable fashion.
- +
- +# Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still
- +# use `HOST_CC' if defined, but it is deprecated.
- +
- +# Portable tmp directory creation inspired by the Autoconf team.
- +
- +set_cc_for_build='
- +trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ;
- +trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ;
- +: ${TMPDIR=/tmp} ;
- + { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
- + { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } ||
- + { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } ||
- + { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ;
- +dummy=$tmp/dummy ;
- +tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ;
- +case $CC_FOR_BUILD,$HOST_CC,$CC in
- + ,,) echo "int x;" > $dummy.c ;
- + for c in cc gcc c89 c99 ; do
- + if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then
- + CC_FOR_BUILD="$c"; break ;
- + fi ;
- + done ;
- + if test x"$CC_FOR_BUILD" = x ; then
- + CC_FOR_BUILD=no_compiler_found ;
- + fi
- + ;;
- + ,,*) CC_FOR_BUILD=$CC ;;
- + ,*,*) CC_FOR_BUILD=$HOST_CC ;;
- +esac ; set_cc_for_build= ;'
-
- # This is needed to find uname on a Pyramid OSx when run in the BSD universe.
- -# (ghazi@noc.rutgers.edu 8/24/94.)
- +# (ghazi@noc.rutgers.edu 1994-08-24)
- if (test -f /.attbin/uname) >/dev/null 2>&1 ; then
- PATH=$PATH:/.attbin ; export PATH
- fi
-
- UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown
- UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown
- -UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown
- +UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown
- UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
-
- -dummy=dummy-$$
- -trap 'rm -f $dummy.c $dummy.o $dummy; exit 1' 1 2 15
- -
- # Note: order is significant - the case branches are not exclusive.
-
- case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
- + *:NetBSD:*:*)
- + # NetBSD (nbsd) targets should (where applicable) match one or
- + # more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*,
- + # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently
- + # switched to ELF, *-*-netbsd* would select the old
- + # object file format. This provides both forward
- + # compatibility and a consistent mechanism for selecting the
- + # object file format.
- + #
- + # Note: NetBSD doesn't particularly care about the vendor
- + # portion of the name. We always set it to "unknown".
- + sysctl="sysctl -n hw.machine_arch"
- + UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \
- + /usr/sbin/$sysctl 2>/dev/null || echo unknown)`
- + case "${UNAME_MACHINE_ARCH}" in
- + armeb) machine=armeb-unknown ;;
- + arm*) machine=arm-unknown ;;
- + sh3el) machine=shl-unknown ;;
- + sh3eb) machine=sh-unknown ;;
- + *) machine=${UNAME_MACHINE_ARCH}-unknown ;;
- + esac
- + # The Operating System including object format, if it has switched
- + # to ELF recently, or will in the future.
- + case "${UNAME_MACHINE_ARCH}" in
- + arm*|i386|m68k|ns32k|sh3*|sparc|vax)
- + eval $set_cc_for_build
- + if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
- + | grep __ELF__ >/dev/null
- + then
- + # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout).
- + # Return netbsd for either. FIX?
- + os=netbsd
- + else
- + os=netbsdelf
- + fi
- + ;;
- + *)
- + os=netbsd
- + ;;
- + esac
- + # The OS release
- + # Debian GNU/NetBSD machines have a different userland, and
- + # thus, need a distinct triplet. However, they do not need
- + # kernel version information, so it can be replaced with a
- + # suitable tag, in the style of linux-gnu.
- + case "${UNAME_VERSION}" in
- + Debian*)
- + release='-gnu'
- + ;;
- + *)
- + release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
- + ;;
- + esac
- + # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM:
- + # contains redundant information, the shorter form:
- + # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
- + echo "${machine}-${os}${release}"
- + exit ;;
- + *:OpenBSD:*:*)
- + UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'`
- + echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE}
- + exit ;;
- + *:ekkoBSD:*:*)
- + echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE}
- + exit ;;
- + *:SolidBSD:*:*)
- + echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE}
- + exit ;;
- + macppc:MirBSD:*:*)
- + echo powerpc-unknown-mirbsd${UNAME_RELEASE}
- + exit ;;
- + *:MirBSD:*:*)
- + echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE}
- + exit ;;
- alpha:OSF1:*:*)
- - if test $UNAME_RELEASE = "V4.0"; then
- + case $UNAME_RELEASE in
- + *4.0)
- UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
- - fi
- + ;;
- + *5.*)
- + UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
- + ;;
- + esac
- + # According to Compaq, /usr/sbin/psrinfo has been available on
- + # OSF/1 and Tru64 systems produced since 1995. I hope that
- + # covers most systems running today. This code pipes the CPU
- + # types through head -n 1, so we only detect the type of CPU 0.
- + ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1`
- + case "$ALPHA_CPU_TYPE" in
- + "EV4 (21064)")
- + UNAME_MACHINE="alpha" ;;
- + "EV4.5 (21064)")
- + UNAME_MACHINE="alpha" ;;
- + "LCA4 (21066/21068)")
- + UNAME_MACHINE="alpha" ;;
- + "EV5 (21164)")
- + UNAME_MACHINE="alphaev5" ;;
- + "EV5.6 (21164A)")
- + UNAME_MACHINE="alphaev56" ;;
- + "EV5.6 (21164PC)")
- + UNAME_MACHINE="alphapca56" ;;
- + "EV5.7 (21164PC)")
- + UNAME_MACHINE="alphapca57" ;;
- + "EV6 (21264)")
- + UNAME_MACHINE="alphaev6" ;;
- + "EV6.7 (21264A)")
- + UNAME_MACHINE="alphaev67" ;;
- + "EV6.8CB (21264C)")
- + UNAME_MACHINE="alphaev68" ;;
- + "EV6.8AL (21264B)")
- + UNAME_MACHINE="alphaev68" ;;
- + "EV6.8CX (21264D)")
- + UNAME_MACHINE="alphaev68" ;;
- + "EV6.9A (21264/EV69A)")
- + UNAME_MACHINE="alphaev69" ;;
- + "EV7 (21364)")
- + UNAME_MACHINE="alphaev7" ;;
- + "EV7.9 (21364A)")
- + UNAME_MACHINE="alphaev79" ;;
- + esac
- + # A Pn.n version is a patched version.
- # A Vn.n version is a released version.
- # A Tn.n version is a released field test version.
- # A Xn.n version is an unreleased experimental baselevel.
- # 1.2 uses "1.2" for uname -r.
- - cat <<EOF >$dummy.s
- - .globl main
- - .ent main
- -main:
- - .frame \$30,0,\$26,0
- - .prologue 0
- - .long 0x47e03d80 # implver $0
- - lda \$2,259
- - .long 0x47e20c21 # amask $2,$1
- - srl \$1,8,\$2
- - sll \$2,2,\$2
- - sll \$0,3,\$0
- - addl \$1,\$0,\$0
- - addl \$2,\$0,\$0
- - ret \$31,(\$26),1
- - .end main
- -EOF
- - $CC_FOR_BUILD $dummy.s -o $dummy 2>/dev/null
- - if test "$?" = 0 ; then
- - ./$dummy
- - case "$?" in
- - 7)
- - UNAME_MACHINE="alpha"
- - ;;
- - 15)
- - UNAME_MACHINE="alphaev5"
- - ;;
- - 14)
- - UNAME_MACHINE="alphaev56"
- - ;;
- - 10)
- - UNAME_MACHINE="alphapca56"
- - ;;
- - 16)
- - UNAME_MACHINE="alphaev6"
- - ;;
- - esac
- - fi
- - rm -f $dummy.s $dummy
- - echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[VTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
- - exit 0 ;;
- + echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
- + exit ;;
- Alpha\ *:Windows_NT*:*)
- # How do we know it's Interix rather than the generic POSIX subsystem?
- # Should we change UNAME_MACHINE based on the output of uname instead
- # of the specific Alpha model?
- echo alpha-pc-interix
- - exit 0 ;;
- + exit ;;
- 21064:Windows_NT:50:3)
- echo alpha-dec-winnt3.5
- - exit 0 ;;
- + exit ;;
- Amiga*:UNIX_System_V:4.0:*)
- - echo m68k-cbm-sysv4
- - exit 0;;
- - amiga:NetBSD:*:*)
- - echo m68k-cbm-netbsd${UNAME_RELEASE}
- - exit 0 ;;
- - amiga:OpenBSD:*:*)
- - echo m68k-unknown-openbsd${UNAME_RELEASE}
- - exit 0 ;;
- + echo m68k-unknown-sysv4
- + exit ;;
- *:[Aa]miga[Oo][Ss]:*:*)
- echo ${UNAME_MACHINE}-unknown-amigaos
- - exit 0 ;;
- - arc64:OpenBSD:*:*)
- - echo mips64el-unknown-openbsd${UNAME_RELEASE}
- - exit 0 ;;
- - arc:OpenBSD:*:*)
- - echo mipsel-unknown-openbsd${UNAME_RELEASE}
- - exit 0 ;;
- - hkmips:OpenBSD:*:*)
- - echo mips-unknown-openbsd${UNAME_RELEASE}
- - exit 0 ;;
- - pmax:OpenBSD:*:*)
- - echo mipsel-unknown-openbsd${UNAME_RELEASE}
- - exit 0 ;;
- - sgi:OpenBSD:*:*)
- - echo mips-unknown-openbsd${UNAME_RELEASE}
- - exit 0 ;;
- - wgrisc:OpenBSD:*:*)
- - echo mipsel-unknown-openbsd${UNAME_RELEASE}
- - exit 0 ;;
- + exit ;;
- + *:[Mm]orph[Oo][Ss]:*:*)
- + echo ${UNAME_MACHINE}-unknown-morphos
- + exit ;;
- + *:OS/390:*:*)
- + echo i370-ibm-openedition
- + exit ;;
- + *:z/VM:*:*)
- + echo s390-ibm-zvmoe
- + exit ;;
- + *:OS400:*:*)
- + echo powerpc-ibm-os400
- + exit ;;
- arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
- echo arm-acorn-riscix${UNAME_RELEASE}
- - exit 0;;
- - arm32:NetBSD:*:*)
- - echo arm-unknown-netbsd`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
- - exit 0 ;;
- - SR2?01:HI-UX/MPP:*:*)
- + exit ;;
- + arm:riscos:*:*|arm:RISCOS:*:*)
- + echo arm-unknown-riscos
- + exit ;;
- + SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*)
- echo hppa1.1-hitachi-hiuxmpp
- - exit 0;;
- + exit ;;
- Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*)
- # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE.
- if test "`(/bin/universe) 2>/dev/null`" = att ; then
- @@ -172,25 +312,32 @@
- else
- echo pyramid-pyramid-bsd
- fi
- - exit 0 ;;
- + exit ;;
- NILE*:*:*:dcosx)
- echo pyramid-pyramid-svr4
- - exit 0 ;;
- + exit ;;
- + DRS?6000:unix:4.0:6*)
- + echo sparc-icl-nx6
- + exit ;;
- + DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*)
- + case `/usr/bin/uname -p` in
- + sparc) echo sparc-icl-nx7; exit ;;
- + esac ;;
- sun4H:SunOS:5.*:*)
- echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
- - exit 0 ;;
- + exit ;;
- sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
- echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
- - exit 0 ;;
- + exit ;;
- i86pc:SunOS:5.*:*)
- echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
- - exit 0 ;;
- + exit ;;
- sun4*:SunOS:6*:*)
- # According to config.sub, this is the proper way to canonicalize
- # SunOS6. Hard to guess exactly what SunOS6 will be like, but
- # it's likely to be more like Solaris than SunOS4.
- echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
- - exit 0 ;;
- + exit ;;
- sun4*:SunOS:*:*)
- case "`/usr/bin/arch -k`" in
- Series*|S4*)
- @@ -199,12 +346,12 @@
- esac
- # Japanese Language versions have a version number like `4.1.3-JL'.
- echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'`
- - exit 0 ;;
- + exit ;;
- sun3*:SunOS:*:*)
- echo m68k-sun-sunos${UNAME_RELEASE}
- - exit 0 ;;
- + exit ;;
- sun*:*:4.2BSD:*)
- - UNAME_RELEASE=`(head -1 /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`
- + UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`
- test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3
- case "`/bin/arch`" in
- sun3)
- @@ -214,19 +361,13 @@
- echo sparc-sun-sunos${UNAME_RELEASE}
- ;;
- esac
- - exit 0 ;;
- + exit ;;
- aushp:SunOS:*:*)
- echo sparc-auspex-sunos${UNAME_RELEASE}
- - exit 0 ;;
- - atari*:NetBSD:*:*)
- - echo m68k-atari-netbsd${UNAME_RELEASE}
- - exit 0 ;;
- - atari*:OpenBSD:*:*)
- - echo m68k-unknown-openbsd${UNAME_RELEASE}
- - exit 0 ;;
- + exit ;;
- # The situation for MiNT is a little confusing. The machine name
- # can be virtually everything (everything which is not
- - # "atarist" or "atariste" at least should have a processor
- + # "atarist" or "atariste" at least should have a processor
- # > m68000). The system name ranges from "MiNT" over "FreeMiNT"
- # to the lowercase version "mint" (or "freemint"). Finally
- # the system name "TOS" denotes a system which is actually not
- @@ -234,61 +375,45 @@
- # be no problem.
- atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*)
- echo m68k-atari-mint${UNAME_RELEASE}
- - exit 0 ;;
- + exit ;;
- atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*)
- echo m68k-atari-mint${UNAME_RELEASE}
- - exit 0 ;;
- + exit ;;
- *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*)
- echo m68k-atari-mint${UNAME_RELEASE}
- - exit 0 ;;
- + exit ;;
- milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*)
- echo m68k-milan-mint${UNAME_RELEASE}
- - exit 0 ;;
- + exit ;;
- hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*)
- echo m68k-hades-mint${UNAME_RELEASE}
- - exit 0 ;;
- + exit ;;
- *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
- echo m68k-unknown-mint${UNAME_RELEASE}
- - exit 0 ;;
- - sun3*:NetBSD:*:*)
- - echo m68k-sun-netbsd${UNAME_RELEASE}
- - exit 0 ;;
- - sun3*:OpenBSD:*:*)
- - echo m68k-unknown-openbsd${UNAME_RELEASE}
- - exit 0 ;;
- - mac68k:NetBSD:*:*)
- - echo m68k-apple-netbsd${UNAME_RELEASE}
- - exit 0 ;;
- - mac68k:OpenBSD:*:*)
- - echo m68k-unknown-openbsd${UNAME_RELEASE}
- - exit 0 ;;
- - mvme68k:OpenBSD:*:*)
- - echo m68k-unknown-openbsd${UNAME_RELEASE}
- - exit 0 ;;
- - mvme88k:OpenBSD:*:*)
- - echo m88k-unknown-openbsd${UNAME_RELEASE}
- - exit 0 ;;
- + exit ;;
- + m68k:machten:*:*)
- + echo m68k-apple-machten${UNAME_RELEASE}
- + exit ;;
- powerpc:machten:*:*)
- echo powerpc-apple-machten${UNAME_RELEASE}
- - exit 0 ;;
- - macppc:NetBSD:*:*)
- - echo powerpc-apple-netbsd${UNAME_RELEASE}
- - exit 0 ;;
- + exit ;;
- RISC*:Mach:*:*)
- echo mips-dec-mach_bsd4.3
- - exit 0 ;;
- + exit ;;
- RISC*:ULTRIX:*:*)
- echo mips-dec-ultrix${UNAME_RELEASE}
- - exit 0 ;;
- + exit ;;
- VAX*:ULTRIX*:*:*)
- echo vax-dec-ultrix${UNAME_RELEASE}
- - exit 0 ;;
- + exit ;;
- 2020:CLIX:*:* | 2430:CLIX:*:*)
- echo clipper-intergraph-clix${UNAME_RELEASE}
- - exit 0 ;;
- + exit ;;
- mips:*:*:UMIPS | mips:*:*:RISCos)
- + eval $set_cc_for_build
- sed 's/^ //' << EOF >$dummy.c
- #ifdef __cplusplus
- +#include <stdio.h> /* for printf() prototype */
- int main (int argc, char *argv[]) {
- #else
- int main (argc, argv) int argc; char *argv[]; {
- @@ -307,61 +432,82 @@
- exit (-1);
- }
- EOF
- - $CC_FOR_BUILD $dummy.c -o $dummy \
- - && ./$dummy `echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` \
- - && rm $dummy.c $dummy && exit 0
- - rm -f $dummy.c $dummy
- + $CC_FOR_BUILD -o $dummy $dummy.c &&
- + dummyarg=`echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` &&
- + SYSTEM_NAME=`$dummy $dummyarg` &&
- + { echo "$SYSTEM_NAME"; exit; }
- echo mips-mips-riscos${UNAME_RELEASE}
- - exit 0 ;;
- + exit ;;
- + Motorola:PowerMAX_OS:*:*)
- + echo powerpc-motorola-powermax
- + exit ;;
- + Motorola:*:4.3:PL8-*)
- + echo powerpc-harris-powermax
- + exit ;;
- + Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*)
- + echo powerpc-harris-powermax
- + exit ;;
- Night_Hawk:Power_UNIX:*:*)
- echo powerpc-harris-powerunix
- - exit 0 ;;
- + exit ;;
- m88k:CX/UX:7*:*)
- echo m88k-harris-cxux7
- - exit 0 ;;
- + exit ;;
- m88k:*:4*:R4*)
- echo m88k-motorola-sysv4
- - exit 0 ;;
- + exit ;;
- m88k:*:3*:R3*)
- echo m88k-motorola-sysv3
- - exit 0 ;;
- + exit ;;
- AViiON:dgux:*:*)
- # DG/UX returns AViiON for all architectures
- UNAME_PROCESSOR=`/usr/bin/uname -p`
- - if [ $UNAME_PROCESSOR = mc88100 -o $UNAME_PROCESSOR = mc88110 ] ; then
- - if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx \
- - -o ${TARGET_BINARY_INTERFACE}x = x ] ; then
- + if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ]
- + then
- + if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \
- + [ ${TARGET_BINARY_INTERFACE}x = x ]
- + then
- echo m88k-dg-dgux${UNAME_RELEASE}
- - else
- + else
- echo m88k-dg-dguxbcs${UNAME_RELEASE}
- + fi
- + else
- + echo i586-dg-dgux${UNAME_RELEASE}
- fi
- - else echo i586-dg-dgux${UNAME_RELEASE}
- - fi
- - exit 0 ;;
- + exit ;;
- M88*:DolphinOS:*:*) # DolphinOS (SVR3)
- echo m88k-dolphin-sysv3
- - exit 0 ;;
- + exit ;;
- M88*:*:R3*:*)
- # Delta 88k system running SVR3
- echo m88k-motorola-sysv3
- - exit 0 ;;
- + exit ;;
- XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3)
- echo m88k-tektronix-sysv3
- - exit 0 ;;
- + exit ;;
- Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD)
- echo m68k-tektronix-bsd
- - exit 0 ;;
- + exit ;;
- *:IRIX*:*:*)
- echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'`
- - exit 0 ;;
- + exit ;;
- ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX.
- - echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id
- - exit 0 ;; # Note that: echo "'`uname -s`'" gives 'AIX '
- - i?86:AIX:*:*)
- + echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id
- + exit ;; # Note that: echo "'`uname -s`'" gives 'AIX '
- + i*86:AIX:*:*)
- echo i386-ibm-aix
- - exit 0 ;;
- + exit ;;
- + ia64:AIX:*:*)
- + if [ -x /usr/bin/oslevel ] ; then
- + IBM_REV=`/usr/bin/oslevel`
- + else
- + IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
- + fi
- + echo ${UNAME_MACHINE}-ibm-aix${IBM_REV}
- + exit ;;
- *:AIX:2:3)
- if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then
- + eval $set_cc_for_build
- sed 's/^ //' << EOF >$dummy.c
- #include <sys/systemcfg.h>
-
- @@ -373,18 +519,21 @@
- exit(0);
- }
- EOF
- - $CC_FOR_BUILD $dummy.c -o $dummy && ./$dummy && rm $dummy.c $dummy && exit 0
- - rm -f $dummy.c $dummy
- - echo rs6000-ibm-aix3.2.5
- + if $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy`
- + then
- + echo "$SYSTEM_NAME"
- + else
- + echo rs6000-ibm-aix3.2.5
- + fi
- elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then
- echo rs6000-ibm-aix3.2.4
- else
- echo rs6000-ibm-aix3.2
- fi
- - exit 0 ;;
- - *:AIX:*:4)
- - IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | head -1 | awk '{ print $1 }'`
- - if /usr/sbin/lsattr -EHl ${IBM_CPU_ID} | grep POWER >/dev/null 2>&1; then
- + exit ;;
- + *:AIX:*:[45])
- + IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
- + if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
- IBM_ARCH=rs6000
- else
- IBM_ARCH=powerpc
- @@ -392,37 +541,56 @@
- if [ -x /usr/bin/oslevel ] ; then
- IBM_REV=`/usr/bin/oslevel`
- else
- - IBM_REV=4.${UNAME_RELEASE}
- + IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
- fi
- echo ${IBM_ARCH}-ibm-aix${IBM_REV}
- - exit 0 ;;
- + exit ;;
- *:AIX:*:*)
- echo rs6000-ibm-aix
- - exit 0 ;;
- + exit ;;
- ibmrt:4.4BSD:*|romp-ibm:BSD:*)
- echo romp-ibm-bsd4.4
- - exit 0 ;;
- - ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC NetBSD and
- + exit ;;
- + ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and
- echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to
- - exit 0 ;; # report: romp-ibm BSD 4.3
- + exit ;; # report: romp-ibm BSD 4.3
- *:BOSX:*:*)
- echo rs6000-bull-bosx
- - exit 0 ;;
- + exit ;;
- DPX/2?00:B.O.S.:*:*)
- echo m68k-bull-sysv3
- - exit 0 ;;
- + exit ;;
- 9000/[34]??:4.3bsd:1.*:*)
- echo m68k-hp-bsd
- - exit 0 ;;
- + exit ;;
- hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*)
- echo m68k-hp-bsd4.4
- - exit 0 ;;
- + exit ;;
- 9000/[34678]??:HP-UX:*:*)
- + HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
- case "${UNAME_MACHINE}" in
- 9000/31? ) HP_ARCH=m68000 ;;
- 9000/[34]?? ) HP_ARCH=m68k ;;
- 9000/[678][0-9][0-9])
- - sed 's/^ //' << EOF >$dummy.c
- + if [ -x /usr/bin/getconf ]; then
- + sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null`
- + sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`
- + case "${sc_cpu_version}" in
- + 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0
- + 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1
- + 532) # CPU_PA_RISC2_0
- + case "${sc_kernel_bits}" in
- + 32) HP_ARCH="hppa2.0n" ;;
- + 64) HP_ARCH="hppa2.0w" ;;
- + '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20
- + esac ;;
- + esac
- + fi
- + if [ "${HP_ARCH}" = "" ]; then
- + eval $set_cc_for_build
- + sed 's/^ //' << EOF >$dummy.c
- +
- + #define _HPUX_SOURCE
- #include <stdlib.h>
- #include <unistd.h>
-
- @@ -453,13 +621,39 @@
- exit (0);
- }
- EOF
- - ($CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null ) && HP_ARCH=`./$dummy`
- - rm -f $dummy.c $dummy
- + (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy`
- + test -z "$HP_ARCH" && HP_ARCH=hppa
- + fi ;;
- esac
- - HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
- + if [ ${HP_ARCH} = "hppa2.0w" ]
- + then
- + eval $set_cc_for_build
- +
- + # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating
- + # 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler
- + # generating 64-bit code. GNU and HP use different nomenclature:
- + #
- + # $ CC_FOR_BUILD=cc ./config.guess
- + # => hppa2.0w-hp-hpux11.23
- + # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess
- + # => hppa64-hp-hpux11.23
- +
- + if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) |
- + grep __LP64__ >/dev/null
- + then
- + HP_ARCH="hppa2.0w"
- + else
- + HP_ARCH="hppa64"
- + fi
- + fi
- echo ${HP_ARCH}-hp-hpux${HPUX_REV}
- - exit 0 ;;
- + exit ;;
- + ia64:HP-UX:*:*)
- + HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
- + echo ia64-hp-hpux${HPUX_REV}
- + exit ;;
- 3050*:HI-UX:*:*)
- + eval $set_cc_for_build
- sed 's/^ //' << EOF >$dummy.c
- #include <unistd.h>
- int
- @@ -485,410 +679,475 @@
- exit (0);
- }
- EOF
- - $CC_FOR_BUILD $dummy.c -o $dummy && ./$dummy && rm $dummy.c $dummy && exit 0
- - rm -f $dummy.c $dummy
- + $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` &&
- + { echo "$SYSTEM_NAME"; exit; }
- echo unknown-hitachi-hiuxwe2
- - exit 0 ;;
- + exit ;;
- 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* )
- echo hppa1.1-hp-bsd
- - exit 0 ;;
- + exit ;;
- 9000/8??:4.3bsd:*:*)
- echo hppa1.0-hp-bsd
- - exit 0 ;;
- - *9??*:MPE/iX:*:*)
- + exit ;;
- + *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*)
- echo hppa1.0-hp-mpeix
- - exit 0 ;;
- + exit ;;
- hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* )
- echo hppa1.1-hp-osf
- - exit 0 ;;
- + exit ;;
- hp8??:OSF1:*:*)
- echo hppa1.0-hp-osf
- - exit 0 ;;
- - i?86:OSF1:*:*)
- + exit ;;
- + i*86:OSF1:*:*)
- if [ -x /usr/sbin/sysversion ] ; then
- echo ${UNAME_MACHINE}-unknown-osf1mk
- else
- echo ${UNAME_MACHINE}-unknown-osf1
- fi
- - exit 0 ;;
- + exit ;;
- parisc*:Lites*:*:*)
- echo hppa1.1-hp-lites
- - exit 0 ;;
- - hppa*:OpenBSD:*:*)
- - echo hppa-unknown-openbsd
- - exit 0 ;;
- + exit ;;
- C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*)
- echo c1-convex-bsd
- - exit 0 ;;
- + exit ;;
- C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*)
- if getsysinfo -f scalar_acc
- then echo c32-convex-bsd
- else echo c2-convex-bsd
- fi
- - exit 0 ;;
- + exit ;;
- C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*)
- echo c34-convex-bsd
- - exit 0 ;;
- + exit ;;
- C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*)
- echo c38-convex-bsd
- - exit 0 ;;
- + exit ;;
- C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*)
- echo c4-convex-bsd
- - exit 0 ;;
- - CRAY*X-MP:*:*:*)
- - echo xmp-cray-unicos
- - exit 0 ;;
- + exit ;;
- CRAY*Y-MP:*:*:*)
- - echo ymp-cray-unicos${UNAME_RELEASE}
- - exit 0 ;;
- + echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
- + exit ;;
- CRAY*[A-Z]90:*:*:*)
- echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \
- | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \
- - -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/
- - exit 0 ;;
- + -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \
- + -e 's/\.[^.]*$/.X/'
- + exit ;;
- CRAY*TS:*:*:*)
- - echo t90-cray-unicos${UNAME_RELEASE}
- - exit 0 ;;
- + echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
- + exit ;;
- CRAY*T3E:*:*:*)
- - echo alpha-cray-unicosmk${UNAME_RELEASE}
- - exit 0 ;;
- - CRAY-2:*:*:*)
- - echo cray2-cray-unicos
- - exit 0 ;;
- - F300:UNIX_System_V:*:*)
- + echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
- + exit ;;
- + CRAY*SV1:*:*:*)
- + echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
- + exit ;;
- + *:UNICOS/mp:*:*)
- + echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
- + exit ;;
- + F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
- + FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
- FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
- FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
- - echo "f300-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
- - exit 0 ;;
- - F301:UNIX_System_V:*:*)
- - echo f301-fujitsu-uxpv`echo $UNAME_RELEASE | sed 's/ .*//'`
- - exit 0 ;;
- - hp3[0-9][05]:NetBSD:*:*)
- - echo m68k-hp-netbsd${UNAME_RELEASE}
- - exit 0 ;;
- - hp300:OpenBSD:*:*)
- - echo m68k-unknown-openbsd${UNAME_RELEASE}
- - exit 0 ;;
- - i?86:BSD/386:*:* | i?86:BSD/OS:*:*)
- + echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
- + exit ;;
- + 5000:UNIX_System_V:4.*:*)
- + FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
- + FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'`
- + echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
- + exit ;;
- + i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
- echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
- - exit 0 ;;
- + exit ;;
- sparc*:BSD/OS:*:*)
- echo sparc-unknown-bsdi${UNAME_RELEASE}
- - exit 0 ;;
- + exit ;;
- *:BSD/OS:*:*)
- echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
- - exit 0 ;;
- + exit ;;
- *:FreeBSD:*:*)
- - if test -x /usr/bin/objformat; then
- - if test "elf" = "`/usr/bin/objformat`"; then
- - echo ${UNAME_MACHINE}-unknown-freebsdelf`echo ${UNAME_RELEASE}|sed -e 's/[-_].*//'`
- - exit 0
- - fi
- - fi
- - echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
- - exit 0 ;;
- - *:NetBSD:*:*)
- - echo ${UNAME_MACHINE}-unknown-netbsd`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
- - exit 0 ;;
- - *:OpenBSD:*:*)
- - echo ${UNAME_MACHINE}-unknown-openbsd`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
- - exit 0 ;;
- + case ${UNAME_MACHINE} in
- + pc98)
- + echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
- + amd64)
- + echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
- + *)
- + echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
- + esac
- + exit ;;
- i*:CYGWIN*:*)
- echo ${UNAME_MACHINE}-pc-cygwin
- - exit 0 ;;
- + exit ;;
- i*:MINGW*:*)
- echo ${UNAME_MACHINE}-pc-mingw32
- - exit 0 ;;
- + exit ;;
- + i*:windows32*:*)
- + # uname -m includes "-pc" on this system.
- + echo ${UNAME_MACHINE}-mingw32
- + exit ;;
- + i*:PW*:*)
- + echo ${UNAME_MACHINE}-pc-pw32
- + exit ;;
- + x86:Interix*:[3456]*)
- + echo i586-pc-interix${UNAME_RELEASE}
- + exit ;;
- + EM64T:Interix*:[3456]*)
- + echo x86_64-unknown-interix${UNAME_RELEASE}
- + exit ;;
- + [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
- + echo i${UNAME_MACHINE}-pc-mks
- + exit ;;
- i*:Windows_NT*:* | Pentium*:Windows_NT*:*)
- # How do we know it's Interix rather than the generic POSIX subsystem?
- # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we
- # UNAME_MACHINE based on the output of uname instead of i386?
- - echo i386-pc-interix
- - exit 0 ;;
- + echo i586-pc-interix
- + exit ;;
- i*:UWIN*:*)
- echo ${UNAME_MACHINE}-pc-uwin
- - exit 0 ;;
- + exit ;;
- + amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*)
- + echo x86_64-unknown-cygwin
- + exit ;;
- p*:CYGWIN*:*)
- echo powerpcle-unknown-cygwin
- - exit 0 ;;
- + exit ;;
- prep*:SunOS:5.*:*)
- echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
- - exit 0 ;;
- + exit ;;
- *:GNU:*:*)
- + # the GNU system
- echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
- - exit 0 ;;
- - *:Linux:*:*)
- - # uname on the ARM produces all sorts of strangeness, and we need to
- - # filter it out.
- - case "$UNAME_MACHINE" in
- - armv*) UNAME_MACHINE=$UNAME_MACHINE ;;
- - arm* | sa110*) UNAME_MACHINE="arm" ;;
- + exit ;;
- + *:GNU/*:*:*)
- + # other systems with GNU libc and userland
- + echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu
- + exit ;;
- + i*86:Minix:*:*)
- + echo ${UNAME_MACHINE}-pc-minix
- + exit ;;
- + arm*:Linux:*:*)
- + echo ${UNAME_MACHINE}-unknown-linux-gnu
- + exit ;;
- + avr32*:Linux:*:*)
- + echo ${UNAME_MACHINE}-unknown-linux-gnu
- + exit ;;
- + cris:Linux:*:*)
- + echo cris-axis-linux-gnu
- + exit ;;
- + crisv32:Linux:*:*)
- + echo crisv32-axis-linux-gnu
- + exit ;;
- + frv:Linux:*:*)
- + echo frv-unknown-linux-gnu
- + exit ;;
- + ia64:Linux:*:*)
- + echo ${UNAME_MACHINE}-unknown-linux-gnu
- + exit ;;
- + m32r*:Linux:*:*)
- + echo ${UNAME_MACHINE}-unknown-linux-gnu
- + exit ;;
- + m68*:Linux:*:*)
- + echo ${UNAME_MACHINE}-unknown-linux-gnu
- + exit ;;
- + mips:Linux:*:*)
- + eval $set_cc_for_build
- + sed 's/^ //' << EOF >$dummy.c
- + #undef CPU
- + #undef mips
- + #undef mipsel
- + #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
- + CPU=mipsel
- + #else
- + #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
- + CPU=mips
- + #else
- + CPU=
- + #endif
- + #endif
- +EOF
- + eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
- + /^CPU/{
- + s: ::g
- + p
- + }'`"
- + test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
- + ;;
- + mips64:Linux:*:*)
- + eval $set_cc_for_build
- + sed 's/^ //' << EOF >$dummy.c
- + #undef CPU
- + #undef mips64
- + #undef mips64el
- + #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
- + CPU=mips64el
- + #else
- + #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
- + CPU=mips64
- + #else
- + CPU=
- + #endif
- + #endif
- +EOF
- + eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
- + /^CPU/{
- + s: ::g
- + p
- + }'`"
- + test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
- + ;;
- + or32:Linux:*:*)
- + echo or32-unknown-linux-gnu
- + exit ;;
- + ppc:Linux:*:*)
- + echo powerpc-unknown-linux-gnu
- + exit ;;
- + ppc64:Linux:*:*)
- + echo powerpc64-unknown-linux-gnu
- + exit ;;
- + alpha:Linux:*:*)
- + case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
- + EV5) UNAME_MACHINE=alphaev5 ;;
- + EV56) UNAME_MACHINE=alphaev56 ;;
- + PCA56) UNAME_MACHINE=alphapca56 ;;
- + PCA57) UNAME_MACHINE=alphapca56 ;;
- + EV6) UNAME_MACHINE=alphaev6 ;;
- + EV67) UNAME_MACHINE=alphaev67 ;;
- + EV68*) UNAME_MACHINE=alphaev68 ;;
- + esac
- + objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null
- + if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
- + echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
- + exit ;;
- + parisc:Linux:*:* | hppa:Linux:*:*)
- + # Look for CPU level
- + case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
- + PA7*) echo hppa1.1-unknown-linux-gnu ;;
- + PA8*) echo hppa2.0-unknown-linux-gnu ;;
- + *) echo hppa-unknown-linux-gnu ;;
- esac
- -
- + exit ;;
- + parisc64:Linux:*:* | hppa64:Linux:*:*)
- + echo hppa64-unknown-linux-gnu
- + exit ;;
- + s390:Linux:*:* | s390x:Linux:*:*)
- + echo ${UNAME_MACHINE}-ibm-linux
- + exit ;;
- + sh64*:Linux:*:*)
- + echo ${UNAME_MACHINE}-unknown-linux-gnu
- + exit ;;
- + sh*:Linux:*:*)
- + echo ${UNAME_MACHINE}-unknown-linux-gnu
- + exit ;;
- + sparc:Linux:*:* | sparc64:Linux:*:*)
- + echo ${UNAME_MACHINE}-unknown-linux-gnu
- + exit ;;
- + vax:Linux:*:*)
- + echo ${UNAME_MACHINE}-dec-linux-gnu
- + exit ;;
- + x86_64:Linux:*:*)
- + echo x86_64-unknown-linux-gnu
- + exit ;;
- + i*86:Linux:*:*)
- # The BFD linker knows what the default object file format is, so
- # first see if it will tell us. cd to the root directory to prevent
- # problems with other programs or directories called `ld' in the path.
- - ld_help_string=`cd /; ld --help 2>&1`
- - ld_supported_emulations=`echo $ld_help_string \
- - | sed -ne '/supported emulations:/!d
- + # Set LC_ALL=C to ensure ld outputs messages in English.
- + ld_supported_targets=`cd /; LC_ALL=C ld --help 2>&1 \
- + | sed -ne '/supported targets:/!d
- s/[ ][ ]*/ /g
- - s/.*supported emulations: *//
- + s/.*supported targets: *//
- s/ .*//
- p'`
- - case "$ld_supported_emulations" in
- - *ia64) echo "${UNAME_MACHINE}-unknown-linux" ; exit 0 ;;
- - i?86linux) echo "${UNAME_MACHINE}-pc-linux-gnuaout" ; exit 0 ;;
- - i?86coff) echo "${UNAME_MACHINE}-pc-linux-gnucoff" ; exit 0 ;;
- - sparclinux) echo "${UNAME_MACHINE}-unknown-linux-gnuaout" ; exit 0 ;;
- - armlinux) echo "${UNAME_MACHINE}-unknown-linux-gnuaout" ; exit 0 ;;
- - m68klinux) echo "${UNAME_MACHINE}-unknown-linux-gnuaout" ; exit 0 ;;
- - elf32ppc | elf32ppclinux)
- - # Determine Lib Version
- - cat >$dummy.c <<EOF
- -#include <features.h>
- -#if defined(__GLIBC__)
- -extern char __libc_version[];
- -extern char __libc_release[];
- -#endif
- -main(argc, argv)
- - int argc;
- - char *argv[];
- -{
- -#if defined(__GLIBC__)
- - printf("%s %s\n", __libc_version, __libc_release);
- -#else
- - printf("unkown\n");
- -#endif
- - return 0;
- -}
- -EOF
- - LIBC=""
- - $CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null
- - if test "$?" = 0 ; then
- - ./$dummy | grep 1\.99 > /dev/null
- - if test "$?" = 0 ; then
- - LIBC="libc1"
- - fi
- - fi
- - rm -f $dummy.c $dummy
- - echo powerpc-unknown-linux-gnu${LIBC} ; exit 0 ;;
- + case "$ld_supported_targets" in
- + elf32-i386)
- + TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu"
- + ;;
- + a.out-i386-linux)
- + echo "${UNAME_MACHINE}-pc-linux-gnuaout"
- + exit ;;
- + coff-i386)
- + echo "${UNAME_MACHINE}-pc-linux-gnucoff"
- + exit ;;
- + "")
- + # Either a pre-BFD a.out linker (linux-gnuoldld) or
- + # one that does not give us useful --help.
- + echo "${UNAME_MACHINE}-pc-linux-gnuoldld"
- + exit ;;
- esac
- -
- - if test "${UNAME_MACHINE}" = "alpha" ; then
- - sed 's/^ //' <<EOF >$dummy.s
- - .globl main
- - .ent main
- - main:
- - .frame \$30,0,\$26,0
- - .prologue 0
- - .long 0x47e03d80 # implver $0
- - lda \$2,259
- - .long 0x47e20c21 # amask $2,$1
- - srl \$1,8,\$2
- - sll \$2,2,\$2
- - sll \$0,3,\$0
- - addl \$1,\$0,\$0
- - addl \$2,\$0,\$0
- - ret \$31,(\$26),1
- - .end main
- -EOF
- - LIBC=""
- - $CC_FOR_BUILD $dummy.s -o $dummy 2>/dev/null
- - if test "$?" = 0 ; then
- - ./$dummy
- - case "$?" in
- - 7)
- - UNAME_MACHINE="alpha"
- - ;;
- - 15)
- - UNAME_MACHINE="alphaev5"
- - ;;
- - 14)
- - UNAME_MACHINE="alphaev56"
- - ;;
- - 10)
- - UNAME_MACHINE="alphapca56"
- - ;;
- - 16)
- - UNAME_MACHINE="alphaev6"
- - ;;
- - esac
- -
- - objdump --private-headers $dummy | \
- - grep ld.so.1 > /dev/null
- - if test "$?" = 0 ; then
- - LIBC="libc1"
- - fi
- - fi
- - rm -f $dummy.s $dummy
- - echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC} ; exit 0
- - elif test "${UNAME_MACHINE}" = "mips" ; then
- - cat >$dummy.c <<EOF
- -#ifdef __cplusplus
- - int main (int argc, char *argv[]) {
- -#else
- - int main (argc, argv) int argc; char *argv[]; {
- -#endif
- -#ifdef __MIPSEB__
- - printf ("%s-unknown-linux-gnu\n", argv[1]);
- -#endif
- -#ifdef __MIPSEL__
- - printf ("%sel-unknown-linux-gnu\n", argv[1]);
- -#endif
- - return 0;
- -}
- -EOF
- - $CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null && ./$dummy "${UNAME_MACHINE}" && rm $dummy.c $dummy && exit 0
- - rm -f $dummy.c $dummy
- - else
- - # Either a pre-BFD a.out linker (linux-gnuoldld)
- - # or one that does not give us useful --help.
- - # GCC wants to distinguish between linux-gnuoldld and linux-gnuaout.
- - # If ld does not provide *any* "supported emulations:"
- - # that means it is gnuoldld.
- - echo "$ld_help_string" | grep >/dev/null 2>&1 "supported emulations:"
- - test $? != 0 && echo "${UNAME_MACHINE}-pc-linux-gnuoldld" && exit 0
- -
- - case "${UNAME_MACHINE}" in
- - i?86)
- - VENDOR=pc;
- - ;;
- - *)
- - VENDOR=unknown;
- - ;;
- - esac
- - # Determine whether the default compiler is a.out or elf
- - cat >$dummy.c <<EOF
- -#include <features.h>
- -#ifdef __cplusplus
- - int main (int argc, char *argv[]) {
- -#else
- - int main (argc, argv) int argc; char *argv[]; {
- -#endif
- -#ifdef __ELF__
- -# ifdef __GLIBC__
- -# if __GLIBC__ >= 2
- - printf ("%s-${VENDOR}-linux-gnu\n", argv[1]);
- -# else
- - printf ("%s-${VENDOR}-linux-gnulibc1\n", argv[1]);
- -# endif
- -# else
- - printf ("%s-${VENDOR}-linux-gnulibc1\n", argv[1]);
- -# endif
- -#else
- - printf ("%s-${VENDOR}-linux-gnuaout\n", argv[1]);
- -#endif
- - return 0;
- -}
- + # Determine whether the default compiler is a.out or elf
- + eval $set_cc_for_build
- + sed 's/^ //' << EOF >$dummy.c
- + #include <features.h>
- + #ifdef __ELF__
- + # ifdef __GLIBC__
- + # if __GLIBC__ >= 2
- + LIBC=gnu
- + # else
- + LIBC=gnulibc1
- + # endif
- + # else
- + LIBC=gnulibc1
- + # endif
- + #else
- + #if defined(__INTEL_COMPILER) || defined(__PGI) || defined(__SUNPRO_C) || defined(__SUNPRO_CC)
- + LIBC=gnu
- + #else
- + LIBC=gnuaout
- + #endif
- + #endif
- + #ifdef __dietlibc__
- + LIBC=dietlibc
- + #endif
- EOF
- - $CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null && ./$dummy "${UNAME_MACHINE}" && rm $dummy.c $dummy && exit 0
- - rm -f $dummy.c $dummy
- - fi ;;
- -# ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. earlier versions
- -# are messed up and put the nodename in both sysname and nodename.
- - i?86:DYNIX/ptx:4*:*)
- + eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
- + /^LIBC/{
- + s: ::g
- + p
- + }'`"
- + test x"${LIBC}" != x && {
- + echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
- + exit
- + }
- + test x"${TENTATIVE}" != x && { echo "${TENTATIVE}"; exit; }
- + ;;
- + i*86:DYNIX/ptx:4*:*)
- + # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
- + # earlier versions are messed up and put the nodename in both
- + # sysname and nodename.
- echo i386-sequent-sysv4
- - exit 0 ;;
- - i?86:UNIX_SV:4.2MP:2.*)
- + exit ;;
- + i*86:UNIX_SV:4.2MP:2.*)
- # Unixware is an offshoot of SVR4, but it has its own version
- # number series starting with 2...
- # I am not positive that other SVR4 systems won't match this,
- # I just have to hope. -- rms.
- # Use sysv4.2uw... so that sysv4* matches it.
- echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION}
- - exit 0 ;;
- - i?86:*:4.*:* | i?86:SYSTEM_V:4.*:*)
- + exit ;;
- + i*86:OS/2:*:*)
- + # If we were able to find `uname', then EMX Unix compatibility
- + # is probably installed.
- + echo ${UNAME_MACHINE}-pc-os2-emx
- + exit ;;
- + i*86:XTS-300:*:STOP)
- + echo ${UNAME_MACHINE}-unknown-stop
- + exit ;;
- + i*86:atheos:*:*)
- + echo ${UNAME_MACHINE}-unknown-atheos
- + exit ;;
- + i*86:syllable:*:*)
- + echo ${UNAME_MACHINE}-pc-syllable
- + exit ;;
- + i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*)
- + echo i386-unknown-lynxos${UNAME_RELEASE}
- + exit ;;
- + i*86:*DOS:*:*)
- + echo ${UNAME_MACHINE}-pc-msdosdjgpp
- + exit ;;
- + i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*)
- + UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'`
- if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then
- - echo ${UNAME_MACHINE}-univel-sysv${UNAME_RELEASE}
- + echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL}
- else
- - echo ${UNAME_MACHINE}-pc-sysv${UNAME_RELEASE}
- + echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL}
- fi
- - exit 0 ;;
- - i?86:*:5:7*)
- - UNAME_REL=`(/bin/uname -X|egrep Release|sed -e 's/.*= //')`
- - (/bin/uname -X|egrep i80486 >/dev/null) && UNAME_MACHINE=i486
- - (/bin/uname -X|egrep '^Machine.*Pentium' >/dev/null) && UNAME_MACHINE=i586
- - (/bin/uname -X|egrep '^Machine.*Pent.*II' >/dev/null) && UNAME_MACHINE=i686
- - (/bin/uname -X|egrep '^Machine.*Pentium Pro' >/dev/null) && UNAME_MACHINE=i585
- - echo ${UNAME_MACHINE}-${UNAME_SYSTEM}${UNAME_VERSION}-sysv${UNAME_RELEASE}
- - exit 0 ;;
- - i?86:*:3.2:*)
- + exit ;;
- + i*86:*:5:[678]*)
- + # UnixWare 7.x, OpenUNIX and OpenServer 6.
- + case `/bin/uname -X | grep "^Machine"` in
- + *486*) UNAME_MACHINE=i486 ;;
- + *Pentium) UNAME_MACHINE=i586 ;;
- + *Pent*|*Celeron) UNAME_MACHINE=i686 ;;
- + esac
- + echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION}
- + exit ;;
- + i*86:*:3.2:*)
- if test -f /usr/options/cb.name; then
- UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name`
- echo ${UNAME_MACHINE}-pc-isc$UNAME_REL
- elif /bin/uname -X 2>/dev/null >/dev/null ; then
- - UNAME_REL=`(/bin/uname -X|egrep Release|sed -e 's/.*= //')`
- - (/bin/uname -X|egrep i80486 >/dev/null) && UNAME_MACHINE=i486
- - (/bin/uname -X|egrep '^Machine.*Pentium' >/dev/null) \
- + UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')`
- + (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486
- + (/bin/uname -X|grep '^Machine.*Pentium' >/dev/null) \
- && UNAME_MACHINE=i586
- - (/bin/uname -X|egrep '^Machine.*Pent ?II' >/dev/null) \
- + (/bin/uname -X|grep '^Machine.*Pent *II' >/dev/null) \
- && UNAME_MACHINE=i686
- - (/bin/uname -X|egrep '^Machine.*Pentium Pro' >/dev/null) \
- + (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \
- && UNAME_MACHINE=i686
- echo ${UNAME_MACHINE}-pc-sco$UNAME_REL
- else
- echo ${UNAME_MACHINE}-pc-sysv32
- fi
- - exit 0 ;;
- + exit ;;
- pc:*:*:*)
- + # Left here for compatibility:
- # uname -m prints for DJGPP always 'pc', but it prints nothing about
- # the processor, so we play safe by assuming i386.
- echo i386-pc-msdosdjgpp
- - exit 0 ;;
- + exit ;;
- Intel:Mach:3*:*)
- echo i386-pc-mach3
- - exit 0 ;;
- + exit ;;
- paragon:*:*:*)
- echo i860-intel-osf1
- - exit 0 ;;
- + exit ;;
- i860:*:4.*:*) # i860-SVR4
- if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then
- echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4
- else # Add other i860-SVR4 vendors below as they are discovered.
- echo i860-unknown-sysv${UNAME_RELEASE} # Unknown i860-SVR4
- fi
- - exit 0 ;;
- + exit ;;
- mini*:CTIX:SYS*5:*)
- # "miniframe"
- echo m68010-convergent-sysv
- - exit 0 ;;
- - M68*:*:R3V[567]*:*)
- - test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;;
- - 3[34]??:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 4850:*:4.0:3.0)
- + exit ;;
- + mc68k:UNIX:SYSTEM5:3.51m)
- + echo m68k-convergent-sysv
- + exit ;;
- + M680?0:D-NIX:5.3:*)
- + echo m68k-diab-dnix
- + exit ;;
- + M68*:*:R3V[5678]*:*)
- + test -r /sysV68 && { echo 'm68k-motorola-sysv'; exit; } ;;
- + 3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0 | S7501*:*:4.0:3.0)
- OS_REL=''
- test -r /etc/.relid \
- && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
- /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
- - && echo i486-ncr-sysv4.3${OS_REL} && exit 0
- + && { echo i486-ncr-sysv4.3${OS_REL}; exit; }
- /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
- - && echo i586-ncr-sysv4.3${OS_REL} && exit 0 ;;
- + && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
- 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
- /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
- - && echo i486-ncr-sysv4 && exit 0 ;;
- - m68*:LynxOS:2.*:*)
- + && { echo i486-ncr-sysv4; exit; } ;;
- + m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*)
- echo m68k-unknown-lynxos${UNAME_RELEASE}
- - exit 0 ;;
- + exit ;;
- mc68030:UNIX_System_V:4.*:*)
- echo m68k-atari-sysv4
- - exit 0 ;;
- - i?86:LynxOS:2.*:* | i?86:LynxOS:3.[01]*:*)
- - echo i386-unknown-lynxos${UNAME_RELEASE}
- - exit 0 ;;
- + exit ;;
- TSUNAMI:LynxOS:2.*:*)
- echo sparc-unknown-lynxos${UNAME_RELEASE}
- - exit 0 ;;
- - rs6000:LynxOS:2.*:* | PowerPC:LynxOS:2.*:*)
- + exit ;;
- + rs6000:LynxOS:2.*:*)
- echo rs6000-unknown-lynxos${UNAME_RELEASE}
- - exit 0 ;;
- + exit ;;
- + PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.0*:*)
- + echo powerpc-unknown-lynxos${UNAME_RELEASE}
- + exit ;;
- SM[BE]S:UNIX_SV:*:*)
- echo mips-dde-sysv${UNAME_RELEASE}
- - exit 0 ;;
- + exit ;;
- RM*:ReliantUNIX-*:*:*)
- echo mips-sni-sysv4
- - exit 0 ;;
- + exit ;;
- RM*:SINIX-*:*:*)
- echo mips-sni-sysv4
- - exit 0 ;;
- + exit ;;
- *:SINIX-*:*:*)
- if uname -p 2>/dev/null >/dev/null ; then
- UNAME_MACHINE=`(uname -p) 2>/dev/null`
- @@ -896,59 +1155,155 @@
- else
- echo ns32k-sni-sysv
- fi
- - exit 0 ;;
- - PENTIUM:CPunix:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort
- - # says <Richard.M.Bartel@ccMail.Census.GOV>
- + exit ;;
- + PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort
- + # says <Richard.M.Bartel@ccMail.Census.GOV>
- echo i586-unisys-sysv4
- - exit 0 ;;
- + exit ;;
- *:UNIX_System_V:4*:FTX*)
- # From Gerald Hewes <hewes@openmarket.com>.
- # How about differentiating between stratus architectures? -djm
- echo hppa1.1-stratus-sysv4
- - exit 0 ;;
- + exit ;;
- *:*:*:FTX*)
- # From seanf@swdc.stratus.com.
- echo i860-stratus-sysv4
- - exit 0 ;;
- + exit ;;
- + i*86:VOS:*:*)
- + # From Paul.Green@stratus.com.
- + echo ${UNAME_MACHINE}-stratus-vos
- + exit ;;
- + *:VOS:*:*)
- + # From Paul.Green@stratus.com.
- + echo hppa1.1-stratus-vos
- + exit ;;
- mc68*:A/UX:*:*)
- echo m68k-apple-aux${UNAME_RELEASE}
- - exit 0 ;;
- - news*:NEWS-OS:*:6*)
- + exit ;;
- + news*:NEWS-OS:6*:*)
- echo mips-sony-newsos6
- - exit 0 ;;
- + exit ;;
- R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*)
- if [ -d /usr/nec ]; then
- echo mips-nec-sysv${UNAME_RELEASE}
- else
- echo mips-unknown-sysv${UNAME_RELEASE}
- fi
- - exit 0 ;;
- + exit ;;
- BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only.
- echo powerpc-be-beos
- - exit 0 ;;
- + exit ;;
- BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only.
- echo powerpc-apple-beos
- - exit 0 ;;
- + exit ;;
- BePC:BeOS:*:*) # BeOS running on Intel PC compatible.
- echo i586-pc-beos
- - exit 0 ;;
- + exit ;;
- SX-4:SUPER-UX:*:*)
- echo sx4-nec-superux${UNAME_RELEASE}
- - exit 0 ;;
- + exit ;;
- SX-5:SUPER-UX:*:*)
- echo sx5-nec-superux${UNAME_RELEASE}
- - exit 0 ;;
- + exit ;;
- + SX-6:SUPER-UX:*:*)
- + echo sx6-nec-superux${UNAME_RELEASE}
- + exit ;;
- Power*:Rhapsody:*:*)
- echo powerpc-apple-rhapsody${UNAME_RELEASE}
- - exit 0 ;;
- + exit ;;
- *:Rhapsody:*:*)
- echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE}
- - exit 0 ;;
- + exit ;;
- + *:Darwin:*:*)
- + UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
- + case $UNAME_PROCESSOR in
- + unknown) UNAME_PROCESSOR=powerpc ;;
- + esac
- + echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
- + exit ;;
- + *:procnto*:*:* | *:QNX:[0123456789]*:*)
- + UNAME_PROCESSOR=`uname -p`
- + if test "$UNAME_PROCESSOR" = "x86"; then
- + UNAME_PROCESSOR=i386
- + UNAME_MACHINE=pc
- + fi
- + echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE}
- + exit ;;
- + *:QNX:*:4*)
- + echo i386-pc-qnx
- + exit ;;
- + NSE-?:NONSTOP_KERNEL:*:*)
- + echo nse-tandem-nsk${UNAME_RELEASE}
- + exit ;;
- + NSR-?:NONSTOP_KERNEL:*:*)
- + echo nsr-tandem-nsk${UNAME_RELEASE}
- + exit ;;
- + *:NonStop-UX:*:*)
- + echo mips-compaq-nonstopux
- + exit ;;
- + BS2000:POSIX*:*:*)
- + echo bs2000-siemens-sysv
- + exit ;;
- + DS/*:UNIX_System_V:*:*)
- + echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE}
- + exit ;;
- + *:Plan9:*:*)
- + # "uname -m" is not consistent, so use $cputype instead. 386
- + # is converted to i386 for consistency with other x86
- + # operating systems.
- + if test "$cputype" = "386"; then
- + UNAME_MACHINE=i386
- + else
- + UNAME_MACHINE="$cputype"
- + fi
- + echo ${UNAME_MACHINE}-unknown-plan9
- + exit ;;
- + *:TOPS-10:*:*)
- + echo pdp10-unknown-tops10
- + exit ;;
- + *:TENEX:*:*)
- + echo pdp10-unknown-tenex
- + exit ;;
- + KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*)
- + echo pdp10-dec-tops20
- + exit ;;
- + XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*)
- + echo pdp10-xkl-tops20
- + exit ;;
- + *:TOPS-20:*:*)
- + echo pdp10-unknown-tops20
- + exit ;;
- + *:ITS:*:*)
- + echo pdp10-unknown-its
- + exit ;;
- + SEI:*:*:SEIUX)
- + echo mips-sei-seiux${UNAME_RELEASE}
- + exit ;;
- + *:DragonFly:*:*)
- + echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
- + exit ;;
- + *:*VMS:*:*)
- + UNAME_MACHINE=`(uname -p) 2>/dev/null`
- + case "${UNAME_MACHINE}" in
- + A*) echo alpha-dec-vms ; exit ;;
- + I*) echo ia64-dec-vms ; exit ;;
- + V*) echo vax-dec-vms ; exit ;;
- + esac ;;
- + *:XENIX:*:SysV)
- + echo i386-pc-xenix
- + exit ;;
- + i*86:skyos:*:*)
- + echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//'
- + exit ;;
- + i*86:rdos:*:*)
- + echo ${UNAME_MACHINE}-pc-rdos
- + exit ;;
- esac
-
- #echo '(No uname command or uname output not recognized.)' 1>&2
- #echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2
-
- +eval $set_cc_for_build
- cat >$dummy.c <<EOF
- #ifdef _SEQUENT_
- # include <sys/types.h>
- @@ -974,7 +1329,7 @@
- #endif
-
- #if defined (__arm) && defined (__acorn) && defined (__unix)
- - printf ("arm-acorn-riscix"); exit (0);
- + printf ("arm-acorn-riscix\n"); exit (0);
- #endif
-
- #if defined (hp300) && !defined (hpux)
- @@ -1035,11 +1390,24 @@
- #endif
-
- #if defined (vax)
- -#if !defined (ultrix)
- - printf ("vax-dec-bsd\n"); exit (0);
- -#else
- - printf ("vax-dec-ultrix\n"); exit (0);
- -#endif
- +# if !defined (ultrix)
- +# include <sys/param.h>
- +# if defined (BSD)
- +# if BSD == 43
- + printf ("vax-dec-bsd4.3\n"); exit (0);
- +# else
- +# if BSD == 199006
- + printf ("vax-dec-bsd4.3reno\n"); exit (0);
- +# else
- + printf ("vax-dec-bsd\n"); exit (0);
- +# endif
- +# endif
- +# else
- + printf ("vax-dec-bsd\n"); exit (0);
- +# endif
- +# else
- + printf ("vax-dec-ultrix\n"); exit (0);
- +# endif
- #endif
-
- #if defined (alliant) && defined (i860)
- @@ -1050,12 +1418,12 @@
- }
- EOF
-
- -$CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null && ./$dummy && rm $dummy.c $dummy && exit 0
- -rm -f $dummy.c $dummy
- +$CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && SYSTEM_NAME=`$dummy` &&
- + { echo "$SYSTEM_NAME"; exit; }
-
- # Apollos put the system type in the environment.
-
- -test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit 0; }
- +test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit; }
-
- # Convex versions that predate uname can use getsysinfo(1)
-
- @@ -1064,25 +1432,69 @@
- case `getsysinfo -f cpu_type` in
- c1*)
- echo c1-convex-bsd
- - exit 0 ;;
- + exit ;;
- c2*)
- if getsysinfo -f scalar_acc
- then echo c32-convex-bsd
- else echo c2-convex-bsd
- fi
- - exit 0 ;;
- + exit ;;
- c34*)
- echo c34-convex-bsd
- - exit 0 ;;
- + exit ;;
- c38*)
- echo c38-convex-bsd
- - exit 0 ;;
- + exit ;;
- c4*)
- echo c4-convex-bsd
- - exit 0 ;;
- + exit ;;
- esac
- fi
-
- -#echo '(Unable to guess system type)' 1>&2
- +cat >&2 <<EOF
- +$0: unable to guess system type
- +
- +This script, last modified $timestamp, has failed to recognize
- +the operating system you are using. It is advised that you
- +download the most up to date version of the config scripts from
- +
- + http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.guess
- +and
- + http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.sub
- +
- +If the version you run ($0) is already up to date, please
- +send the following data and any information you think might be
- +pertinent to <config-patches@gnu.org> in order to provide the needed
- +information to handle your system.
- +
- +config.guess timestamp = $timestamp
- +
- +uname -m = `(uname -m) 2>/dev/null || echo unknown`
- +uname -r = `(uname -r) 2>/dev/null || echo unknown`
- +uname -s = `(uname -s) 2>/dev/null || echo unknown`
- +uname -v = `(uname -v) 2>/dev/null || echo unknown`
- +
- +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null`
- +/bin/uname -X = `(/bin/uname -X) 2>/dev/null`
- +
- +hostinfo = `(hostinfo) 2>/dev/null`
- +/bin/universe = `(/bin/universe) 2>/dev/null`
- +/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null`
- +/bin/arch = `(/bin/arch) 2>/dev/null`
- +/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null`
- +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null`
- +
- +UNAME_MACHINE = ${UNAME_MACHINE}
- +UNAME_RELEASE = ${UNAME_RELEASE}
- +UNAME_SYSTEM = ${UNAME_SYSTEM}
- +UNAME_VERSION = ${UNAME_VERSION}
- +EOF
-
- exit 1
- +
- +# Local variables:
- +# eval: (add-hook 'write-file-hooks 'time-stamp)
- +# time-stamp-start: "timestamp='"
- +# time-stamp-format: "%:y-%02m-%02d"
- +# time-stamp-end: "'"
- +# End:
|