recode_3.6-15.diff 1.3 MB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387253882538925390253912539225393253942539525396253972539825399254002540125402254032540425405254062540725408254092541025411254122541325414254152541625417254182541925420254212542225423254242542525426254272542825429254302543125432254332543425435254362543725438254392544025441254422544325444254452544625447254482544925450254512545225453254542545525456254572545825459254602546125462254632546425465254662546725468254692547025471254722547325474254752547625477254782547925480254812548225483254842548525486254872548825489254902549125492254932549425495254962549725498254992550025501255022550325504255052550625507255082550925510255112551225513255142551525516255172551825519255202552125522255232552425525255262552725528255292553025531255322553325534255352553625537255382553925540255412554225543255442554525546255472554825549255502555125552255532555425555255562555725558255592556025561255622556325564255652556625567255682556925570255712557225573255742557525576255772557825579255802558125582255832558425585255862558725588255892559025591255922559325594255952559625597255982559925600256012560225603256042560525606256072560825609256102561125612256132561425615256162561725618256192562025621256222562325624256252562625627256282562925630256312563225633256342563525636256372563825639256402564125642256432564425645256462564725648256492565025651256522565325654256552565625657256582565925660256612566225663256642566525666256672566825669256702567125672256732567425675256762567725678256792568025681256822568325684256852568625687256882568925690256912569225693256942569525696256972569825699257002570125702257032570425705257062570725708257092571025711257122571325714257152571625717257182571925720257212572225723257242572525726257272572825729257302573125732257332573425735257362573725738257392574025741257422574325744257452574625747257482574925750257512575225753257542575525756257572575825759257602576125762257632576425765257662576725768257692577025771257722577325774257752577625777257782577925780257812578225783257842578525786257872578825789257902579125792257932579425795257962579725798257992580025801258022580325804258052580625807258082580925810258112581225813258142581525816258172581825819258202582125822258232582425825258262582725828258292583025831258322583325834258352583625837258382583925840258412584225843258442584525846258472584825849258502585125852258532585425855258562585725858258592586025861258622586325864258652586625867258682586925870258712587225873258742587525876258772587825879258802588125882258832588425885258862588725888258892589025891258922589325894258952589625897258982589925900259012590225903259042590525906259072590825909259102591125912259132591425915259162591725918259192592025921259222592325924259252592625927259282592925930259312593225933259342593525936259372593825939259402594125942259432594425945259462594725948259492595025951259522595325954259552595625957259582595925960259612596225963259642596525966259672596825969259702597125972259732597425975259762597725978259792598025981259822598325984259852598625987259882598925990259912599225993259942599525996259972599825999260002600126002260032600426005260062600726008260092601026011260122601326014260152601626017260182601926020260212602226023260242602526026260272602826029260302603126032260332603426035260362603726038260392604026041260422604326044260452604626047260482604926050260512605226053260542605526056260572605826059260602606126062260632606426065260662606726068260692607026071260722607326074260752607626077260782607926080260812608226083260842608526086260872608826089260902609126092260932609426095260962609726098260992610026101261022610326104261052610626107261082610926110261112611226113261142611526116261172611826119261202612126122261232612426125261262612726128261292613026131261322613326134261352613626137261382613926140261412614226143261442614526146261472614826149261502615126152261532615426155261562615726158261592616026161261622616326164261652616626167261682616926170261712617226173261742617526176261772617826179261802618126182261832618426185261862618726188261892619026191261922619326194261952619626197261982619926200262012620226203262042620526206262072620826209262102621126212262132621426215262162621726218262192622026221262222622326224262252622626227262282622926230262312623226233262342623526236262372623826239262402624126242262432624426245262462624726248262492625026251262522625326254262552625626257262582625926260262612626226263262642626526266262672626826269262702627126272262732627426275262762627726278262792628026281262822628326284262852628626287262882628926290262912629226293262942629526296262972629826299263002630126302263032630426305263062630726308263092631026311263122631326314263152631626317263182631926320263212632226323263242632526326263272632826329263302633126332263332633426335263362633726338263392634026341263422634326344263452634626347263482634926350263512635226353263542635526356263572635826359263602636126362263632636426365263662636726368263692637026371263722637326374263752637626377263782637926380263812638226383263842638526386263872638826389263902639126392263932639426395263962639726398263992640026401264022640326404264052640626407264082640926410264112641226413264142641526416264172641826419264202642126422264232642426425264262642726428264292643026431264322643326434264352643626437264382643926440264412644226443264442644526446264472644826449264502645126452264532645426455264562645726458264592646026461264622646326464264652646626467264682646926470264712647226473264742647526476264772647826479264802648126482264832648426485264862648726488264892649026491264922649326494264952649626497264982649926500265012650226503265042650526506265072650826509265102651126512265132651426515265162651726518265192652026521265222652326524265252652626527265282652926530265312653226533265342653526536265372653826539265402654126542265432654426545265462654726548265492655026551265522655326554265552655626557265582655926560265612656226563265642656526566265672656826569265702657126572265732657426575265762657726578265792658026581265822658326584265852658626587265882658926590265912659226593265942659526596265972659826599266002660126602266032660426605266062660726608266092661026611266122661326614266152661626617266182661926620266212662226623266242662526626266272662826629266302663126632266332663426635266362663726638266392664026641266422664326644266452664626647266482664926650266512665226653266542665526656266572665826659266602666126662266632666426665266662666726668266692667026671266722667326674266752667626677266782667926680266812668226683266842668526686266872668826689266902669126692266932669426695266962669726698266992670026701267022670326704267052670626707267082670926710267112671226713267142671526716267172671826719267202672126722267232672426725267262672726728267292673026731267322673326734267352673626737267382673926740267412674226743267442674526746267472674826749267502675126752267532675426755267562675726758267592676026761267622676326764267652676626767267682676926770267712677226773267742677526776267772677826779267802678126782267832678426785267862678726788267892679026791267922679326794267952679626797267982679926800268012680226803268042680526806268072680826809268102681126812268132681426815268162681726818268192682026821268222682326824268252682626827268282682926830268312683226833268342683526836268372683826839268402684126842268432684426845268462684726848268492685026851268522685326854268552685626857268582685926860268612686226863268642686526866268672686826869268702687126872268732687426875268762687726878268792688026881268822688326884268852688626887268882688926890268912689226893268942689526896268972689826899269002690126902269032690426905269062690726908269092691026911269122691326914269152691626917269182691926920269212692226923269242692526926269272692826929269302693126932269332693426935269362693726938269392694026941269422694326944269452694626947269482694926950269512695226953269542695526956269572695826959269602696126962269632696426965269662696726968269692697026971269722697326974269752697626977269782697926980269812698226983269842698526986269872698826989269902699126992269932699426995269962699726998269992700027001270022700327004270052700627007270082700927010270112701227013270142701527016270172701827019270202702127022270232702427025270262702727028270292703027031270322703327034270352703627037270382703927040270412704227043270442704527046270472704827049270502705127052270532705427055270562705727058270592706027061270622706327064270652706627067270682706927070270712707227073270742707527076270772707827079270802708127082270832708427085270862708727088270892709027091270922709327094270952709627097270982709927100271012710227103271042710527106271072710827109271102711127112271132711427115271162711727118271192712027121271222712327124271252712627127271282712927130271312713227133271342713527136271372713827139271402714127142271432714427145271462714727148271492715027151271522715327154271552715627157271582715927160271612716227163271642716527166271672716827169271702717127172271732717427175271762717727178271792718027181271822718327184271852718627187271882718927190271912719227193271942719527196271972719827199272002720127202272032720427205272062720727208272092721027211272122721327214272152721627217272182721927220272212722227223272242722527226272272722827229272302723127232272332723427235272362723727238272392724027241272422724327244272452724627247272482724927250272512725227253272542725527256272572725827259272602726127262272632726427265272662726727268272692727027271272722727327274272752727627277272782727927280272812728227283272842728527286272872728827289272902729127292272932729427295272962729727298272992730027301273022730327304273052730627307273082730927310273112731227313273142731527316273172731827319273202732127322273232732427325273262732727328273292733027331273322733327334273352733627337273382733927340273412734227343273442734527346273472734827349273502735127352273532735427355273562735727358273592736027361273622736327364273652736627367273682736927370273712737227373273742737527376273772737827379273802738127382273832738427385273862738727388273892739027391273922739327394273952739627397273982739927400274012740227403274042740527406274072740827409274102741127412274132741427415274162741727418274192742027421274222742327424274252742627427274282742927430274312743227433274342743527436274372743827439274402744127442274432744427445274462744727448274492745027451274522745327454274552745627457274582745927460274612746227463274642746527466274672746827469274702747127472274732747427475274762747727478274792748027481274822748327484274852748627487274882748927490274912749227493274942749527496274972749827499275002750127502275032750427505275062750727508275092751027511275122751327514275152751627517275182751927520275212752227523275242752527526275272752827529275302753127532275332753427535275362753727538275392754027541275422754327544275452754627547275482754927550275512755227553275542755527556275572755827559275602756127562275632756427565275662756727568275692757027571275722757327574275752757627577275782757927580275812758227583275842758527586275872758827589275902759127592275932759427595275962759727598275992760027601276022760327604276052760627607276082760927610276112761227613276142761527616276172761827619276202762127622276232762427625276262762727628276292763027631276322763327634276352763627637276382763927640276412764227643276442764527646276472764827649276502765127652276532765427655276562765727658276592766027661276622766327664276652766627667276682766927670276712767227673276742767527676276772767827679276802768127682276832768427685276862768727688276892769027691276922769327694276952769627697276982769927700277012770227703277042770527706277072770827709277102771127712277132771427715277162771727718277192772027721277222772327724277252772627727277282772927730277312773227733277342773527736277372773827739277402774127742277432774427745277462774727748277492775027751277522775327754277552775627757277582775927760277612776227763277642776527766277672776827769277702777127772277732777427775277762777727778277792778027781277822778327784277852778627787277882778927790277912779227793277942779527796277972779827799278002780127802278032780427805278062780727808278092781027811278122781327814278152781627817278182781927820278212782227823278242782527826278272782827829278302783127832278332783427835278362783727838278392784027841278422784327844278452784627847278482784927850278512785227853278542785527856278572785827859278602786127862278632786427865278662786727868278692787027871278722787327874278752787627877278782787927880278812788227883278842788527886278872788827889278902789127892278932789427895278962789727898278992790027901279022790327904279052790627907279082790927910279112791227913279142791527916279172791827919279202792127922279232792427925279262792727928279292793027931279322793327934279352793627937279382793927940279412794227943279442794527946279472794827949279502795127952279532795427955279562795727958279592796027961279622796327964279652796627967279682796927970279712797227973279742797527976279772797827979279802798127982279832798427985279862798727988279892799027991279922799327994279952799627997279982799928000280012800228003280042800528006280072800828009280102801128012280132801428015280162801728018280192802028021280222802328024280252802628027280282802928030280312803228033280342803528036280372803828039280402804128042280432804428045280462804728048280492805028051280522805328054280552805628057280582805928060280612806228063280642806528066280672806828069280702807128072280732807428075280762807728078280792808028081280822808328084280852808628087280882808928090280912809228093280942809528096280972809828099281002810128102281032810428105281062810728108281092811028111281122811328114281152811628117281182811928120281212812228123281242812528126281272812828129281302813128132281332813428135281362813728138281392814028141281422814328144281452814628147281482814928150281512815228153281542815528156281572815828159281602816128162281632816428165281662816728168281692817028171281722817328174281752817628177281782817928180281812818228183281842818528186281872818828189281902819128192281932819428195281962819728198281992820028201282022820328204282052820628207282082820928210282112821228213282142821528216282172821828219282202822128222282232822428225282262822728228282292823028231282322823328234282352823628237282382823928240282412824228243282442824528246282472824828249282502825128252282532825428255282562825728258282592826028261282622826328264282652826628267282682826928270282712827228273282742827528276282772827828279282802828128282282832828428285282862828728288282892829028291282922829328294282952829628297282982829928300283012830228303283042830528306283072830828309283102831128312283132831428315283162831728318283192832028321283222832328324283252832628327283282832928330283312833228333283342833528336283372833828339283402834128342283432834428345283462834728348283492835028351283522835328354283552835628357283582835928360283612836228363283642836528366283672836828369283702837128372283732837428375283762837728378283792838028381283822838328384283852838628387283882838928390283912839228393283942839528396283972839828399284002840128402284032840428405284062840728408284092841028411284122841328414284152841628417284182841928420284212842228423284242842528426284272842828429284302843128432284332843428435284362843728438284392844028441284422844328444284452844628447284482844928450284512845228453284542845528456284572845828459284602846128462284632846428465284662846728468284692847028471284722847328474284752847628477284782847928480284812848228483284842848528486284872848828489284902849128492284932849428495284962849728498284992850028501285022850328504285052850628507285082850928510285112851228513285142851528516285172851828519285202852128522285232852428525285262852728528285292853028531285322853328534285352853628537285382853928540285412854228543285442854528546285472854828549285502855128552285532855428555285562855728558285592856028561285622856328564285652856628567285682856928570285712857228573285742857528576285772857828579285802858128582285832858428585285862858728588285892859028591285922859328594285952859628597285982859928600286012860228603286042860528606286072860828609286102861128612286132861428615286162861728618286192862028621286222862328624286252862628627286282862928630286312863228633286342863528636286372863828639286402864128642286432864428645286462864728648286492865028651286522865328654286552865628657286582865928660286612866228663286642866528666286672866828669286702867128672286732867428675286762867728678286792868028681286822868328684286852868628687286882868928690286912869228693286942869528696286972869828699287002870128702287032870428705287062870728708287092871028711287122871328714287152871628717287182871928720287212872228723287242872528726287272872828729287302873128732287332873428735287362873728738287392874028741287422874328744287452874628747287482874928750287512875228753287542875528756287572875828759287602876128762287632876428765287662876728768287692877028771287722877328774287752877628777287782877928780287812878228783287842878528786287872878828789287902879128792287932879428795287962879728798287992880028801288022880328804288052880628807288082880928810288112881228813288142881528816288172881828819288202882128822288232882428825288262882728828288292883028831288322883328834288352883628837288382883928840288412884228843288442884528846288472884828849288502885128852288532885428855288562885728858288592886028861288622886328864288652886628867288682886928870288712887228873288742887528876288772887828879288802888128882288832888428885288862888728888288892889028891288922889328894288952889628897288982889928900289012890228903289042890528906289072890828909289102891128912289132891428915289162891728918289192892028921289222892328924289252892628927289282892928930289312893228933289342893528936289372893828939289402894128942289432894428945289462894728948289492895028951289522895328954289552895628957289582895928960289612896228963289642896528966289672896828969289702897128972289732897428975289762897728978289792898028981289822898328984289852898628987289882898928990289912899228993289942899528996289972899828999290002900129002290032900429005290062900729008290092901029011290122901329014290152901629017290182901929020290212902229023290242902529026290272902829029290302903129032290332903429035290362903729038290392904029041290422904329044290452904629047290482904929050290512905229053290542905529056290572905829059290602906129062290632906429065290662906729068290692907029071290722907329074290752907629077290782907929080290812908229083290842908529086290872908829089290902909129092290932909429095290962909729098290992910029101291022910329104291052910629107291082910929110291112911229113291142911529116291172911829119291202912129122291232912429125291262912729128291292913029131291322913329134291352913629137291382913929140291412914229143291442914529146291472914829149291502915129152291532915429155291562915729158291592916029161291622916329164291652916629167291682916929170291712917229173291742917529176291772917829179291802918129182291832918429185291862918729188291892919029191291922919329194291952919629197291982919929200292012920229203292042920529206292072920829209292102921129212292132921429215292162921729218292192922029221292222922329224292252922629227292282922929230292312923229233292342923529236292372923829239292402924129242292432924429245292462924729248292492925029251292522925329254292552925629257292582925929260292612926229263292642926529266292672926829269292702927129272292732927429275292762927729278292792928029281292822928329284292852928629287292882928929290292912929229293292942929529296292972929829299293002930129302293032930429305293062930729308293092931029311293122931329314293152931629317293182931929320293212932229323293242932529326293272932829329293302933129332293332933429335293362933729338293392934029341293422934329344293452934629347293482934929350293512935229353293542935529356293572935829359293602936129362293632936429365293662936729368293692937029371293722937329374293752937629377293782937929380293812938229383293842938529386293872938829389293902939129392293932939429395293962939729398293992940029401294022940329404294052940629407294082940929410294112941229413294142941529416294172941829419294202942129422294232942429425294262942729428294292943029431294322943329434294352943629437294382943929440294412944229443294442944529446294472944829449294502945129452294532945429455294562945729458294592946029461294622946329464294652946629467294682946929470294712947229473294742947529476294772947829479294802948129482294832948429485294862948729488294892949029491294922949329494294952949629497294982949929500295012950229503295042950529506295072950829509295102951129512295132951429515295162951729518295192952029521295222952329524295252952629527295282952929530295312953229533295342953529536295372953829539295402954129542295432954429545295462954729548295492955029551295522955329554295552955629557295582955929560295612956229563295642956529566295672956829569295702957129572295732957429575295762957729578295792958029581295822958329584295852958629587295882958929590295912959229593295942959529596295972959829599296002960129602296032960429605296062960729608296092961029611296122961329614296152961629617296182961929620296212962229623296242962529626296272962829629296302963129632296332963429635296362963729638296392964029641296422964329644296452964629647296482964929650296512965229653296542965529656296572965829659296602966129662296632966429665296662966729668296692967029671296722967329674296752967629677296782967929680296812968229683296842968529686296872968829689296902969129692296932969429695296962969729698296992970029701297022970329704297052970629707297082970929710297112971229713297142971529716297172971829719297202972129722297232972429725297262972729728297292973029731297322973329734297352973629737297382973929740297412974229743297442974529746297472974829749297502975129752297532975429755297562975729758297592976029761297622976329764297652976629767297682976929770297712977229773297742977529776297772977829779297802978129782297832978429785297862978729788297892979029791297922979329794297952979629797297982979929800298012980229803298042980529806298072980829809298102981129812298132981429815298162981729818298192982029821298222982329824298252982629827298282982929830298312983229833298342983529836298372983829839298402984129842298432984429845298462984729848298492985029851298522985329854298552985629857298582985929860298612986229863298642986529866298672986829869298702987129872298732987429875298762987729878298792988029881298822988329884298852988629887298882988929890298912989229893298942989529896298972989829899299002990129902299032990429905299062990729908299092991029911299122991329914299152991629917299182991929920299212992229923299242992529926299272992829929299302993129932299332993429935299362993729938299392994029941299422994329944299452994629947299482994929950299512995229953299542995529956299572995829959299602996129962299632996429965299662996729968299692997029971299722997329974299752997629977299782997929980299812998229983299842998529986299872998829989299902999129992299932999429995299962999729998299993000030001300023000330004300053000630007300083000930010300113001230013300143001530016300173001830019300203002130022300233002430025300263002730028300293003030031300323003330034300353003630037300383003930040300413004230043300443004530046300473004830049300503005130052300533005430055300563005730058300593006030061300623006330064300653006630067300683006930070300713007230073300743007530076300773007830079300803008130082300833008430085300863008730088300893009030091300923009330094300953009630097300983009930100301013010230103301043010530106301073010830109301103011130112301133011430115301163011730118301193012030121301223012330124301253012630127301283012930130301313013230133301343013530136301373013830139301403014130142301433014430145301463014730148301493015030151301523015330154301553015630157301583015930160301613016230163301643016530166301673016830169301703017130172301733017430175301763017730178301793018030181301823018330184301853018630187301883018930190301913019230193301943019530196301973019830199302003020130202302033020430205302063020730208302093021030211302123021330214302153021630217302183021930220302213022230223302243022530226302273022830229302303023130232302333023430235302363023730238302393024030241302423024330244302453024630247302483024930250302513025230253302543025530256302573025830259302603026130262302633026430265302663026730268302693027030271302723027330274302753027630277302783027930280302813028230283302843028530286302873028830289302903029130292302933029430295302963029730298302993030030301303023030330304303053030630307303083030930310303113031230313303143031530316303173031830319303203032130322303233032430325303263032730328303293033030331303323033330334303353033630337303383033930340303413034230343303443034530346303473034830349303503035130352303533035430355303563035730358303593036030361303623036330364303653036630367303683036930370303713037230373303743037530376303773037830379303803038130382303833038430385303863038730388303893039030391303923039330394303953039630397303983039930400304013040230403304043040530406304073040830409304103041130412304133041430415304163041730418304193042030421304223042330424304253042630427304283042930430304313043230433304343043530436304373043830439304403044130442304433044430445304463044730448304493045030451304523045330454304553045630457304583045930460304613046230463304643046530466304673046830469304703047130472304733047430475304763047730478304793048030481304823048330484304853048630487304883048930490304913049230493304943049530496304973049830499305003050130502305033050430505305063050730508305093051030511305123051330514305153051630517305183051930520305213052230523305243052530526305273052830529305303053130532305333053430535305363053730538305393054030541305423054330544305453054630547305483054930550305513055230553305543055530556305573055830559305603056130562305633056430565305663056730568305693057030571305723057330574305753057630577305783057930580305813058230583305843058530586305873058830589305903059130592305933059430595305963059730598305993060030601306023060330604306053060630607306083060930610306113061230613306143061530616306173061830619306203062130622306233062430625306263062730628306293063030631306323063330634306353063630637306383063930640306413064230643306443064530646306473064830649306503065130652306533065430655306563065730658306593066030661306623066330664306653066630667306683066930670306713067230673306743067530676306773067830679306803068130682306833068430685306863068730688306893069030691306923069330694306953069630697306983069930700307013070230703307043070530706307073070830709307103071130712307133071430715307163071730718307193072030721307223072330724307253072630727307283072930730307313073230733307343073530736307373073830739307403074130742307433074430745307463074730748307493075030751307523075330754307553075630757307583075930760307613076230763307643076530766307673076830769307703077130772307733077430775307763077730778307793078030781307823078330784307853078630787307883078930790307913079230793307943079530796307973079830799308003080130802308033080430805308063080730808308093081030811308123081330814308153081630817308183081930820308213082230823308243082530826308273082830829308303083130832308333083430835308363083730838308393084030841308423084330844308453084630847308483084930850308513085230853308543085530856308573085830859308603086130862308633086430865308663086730868308693087030871308723087330874308753087630877308783087930880308813088230883308843088530886308873088830889308903089130892308933089430895308963089730898308993090030901309023090330904309053090630907309083090930910309113091230913309143091530916309173091830919309203092130922309233092430925309263092730928309293093030931309323093330934309353093630937309383093930940309413094230943309443094530946309473094830949309503095130952309533095430955309563095730958309593096030961309623096330964309653096630967309683096930970309713097230973309743097530976309773097830979309803098130982309833098430985309863098730988309893099030991309923099330994309953099630997309983099931000310013100231003310043100531006310073100831009310103101131012310133101431015310163101731018310193102031021310223102331024310253102631027310283102931030310313103231033310343103531036310373103831039310403104131042310433104431045310463104731048310493105031051310523105331054310553105631057310583105931060310613106231063310643106531066310673106831069310703107131072310733107431075310763107731078310793108031081310823108331084310853108631087310883108931090310913109231093310943109531096310973109831099311003110131102311033110431105311063110731108311093111031111311123111331114311153111631117311183111931120311213112231123311243112531126311273112831129311303113131132311333113431135311363113731138311393114031141311423114331144311453114631147311483114931150311513115231153311543115531156311573115831159311603116131162311633116431165311663116731168311693117031171311723117331174311753117631177311783117931180311813118231183311843118531186311873118831189311903119131192311933119431195311963119731198311993120031201312023120331204312053120631207312083120931210312113121231213312143121531216312173121831219312203122131222312233122431225312263122731228312293123031231312323123331234312353123631237312383123931240312413124231243312443124531246312473124831249312503125131252312533125431255312563125731258312593126031261312623126331264312653126631267312683126931270312713127231273312743127531276312773127831279312803128131282312833128431285312863128731288312893129031291312923129331294312953129631297312983129931300313013130231303313043130531306313073130831309313103131131312313133131431315313163131731318313193132031321313223132331324313253132631327313283132931330313313133231333313343133531336313373133831339313403134131342313433134431345313463134731348313493135031351313523135331354313553135631357313583135931360313613136231363313643136531366313673136831369313703137131372313733137431375313763137731378313793138031381313823138331384313853138631387313883138931390313913139231393313943139531396313973139831399314003140131402314033140431405314063140731408314093141031411314123141331414314153141631417314183141931420314213142231423314243142531426314273142831429314303143131432314333143431435314363143731438314393144031441314423144331444314453144631447314483144931450314513145231453314543145531456314573145831459314603146131462314633146431465314663146731468314693147031471314723147331474314753147631477314783147931480314813148231483314843148531486314873148831489314903149131492314933149431495314963149731498314993150031501315023150331504315053150631507315083150931510315113151231513315143151531516315173151831519315203152131522315233152431525315263152731528315293153031531315323153331534315353153631537315383153931540315413154231543315443154531546315473154831549315503155131552315533155431555315563155731558315593156031561315623156331564315653156631567315683156931570315713157231573315743157531576315773157831579315803158131582315833158431585315863158731588315893159031591315923159331594315953159631597315983159931600316013160231603316043160531606316073160831609316103161131612316133161431615316163161731618316193162031621316223162331624316253162631627316283162931630316313163231633316343163531636316373163831639316403164131642316433164431645316463164731648316493165031651316523165331654316553165631657316583165931660316613166231663316643166531666316673166831669316703167131672316733167431675316763167731678316793168031681316823168331684316853168631687316883168931690316913169231693316943169531696316973169831699317003170131702317033170431705317063170731708317093171031711317123171331714317153171631717317183171931720317213172231723317243172531726317273172831729317303173131732317333173431735317363173731738317393174031741317423174331744317453174631747317483174931750317513175231753317543175531756317573175831759317603176131762317633176431765317663176731768317693177031771317723177331774317753177631777317783177931780317813178231783317843178531786317873178831789317903179131792317933179431795317963179731798317993180031801318023180331804318053180631807318083180931810318113181231813318143181531816318173181831819318203182131822318233182431825318263182731828318293183031831318323183331834318353183631837318383183931840318413184231843318443184531846318473184831849318503185131852318533185431855318563185731858318593186031861318623186331864318653186631867318683186931870318713187231873318743187531876318773187831879318803188131882318833188431885318863188731888318893189031891318923189331894318953189631897318983189931900319013190231903319043190531906319073190831909319103191131912319133191431915319163191731918319193192031921319223192331924319253192631927319283192931930319313193231933319343193531936319373193831939319403194131942319433194431945319463194731948319493195031951319523195331954319553195631957319583195931960319613196231963319643196531966319673196831969319703197131972319733197431975319763197731978319793198031981319823198331984319853198631987319883198931990319913199231993319943199531996319973199831999320003200132002320033200432005320063200732008320093201032011320123201332014320153201632017320183201932020320213202232023320243202532026320273202832029320303203132032320333203432035320363203732038320393204032041320423204332044320453204632047320483204932050320513205232053320543205532056320573205832059320603206132062320633206432065320663206732068320693207032071320723207332074320753207632077320783207932080320813208232083320843208532086320873208832089320903209132092320933209432095320963209732098320993210032101321023210332104321053210632107321083210932110321113211232113321143211532116321173211832119321203212132122321233212432125321263212732128321293213032131321323213332134321353213632137321383213932140321413214232143321443214532146321473214832149321503215132152321533215432155321563215732158321593216032161321623216332164321653216632167321683216932170321713217232173321743217532176321773217832179321803218132182321833218432185321863218732188321893219032191321923219332194321953219632197321983219932200322013220232203322043220532206322073220832209322103221132212322133221432215322163221732218322193222032221322223222332224322253222632227322283222932230322313223232233322343223532236322373223832239322403224132242322433224432245322463224732248322493225032251322523225332254322553225632257322583225932260322613226232263322643226532266322673226832269322703227132272322733227432275322763227732278322793228032281322823228332284322853228632287322883228932290322913229232293322943229532296322973229832299323003230132302323033230432305323063230732308323093231032311323123231332314323153231632317323183231932320323213232232323323243232532326323273232832329323303233132332323333233432335323363233732338323393234032341323423234332344323453234632347323483234932350323513235232353323543235532356323573235832359323603236132362323633236432365323663236732368323693237032371323723237332374323753237632377323783237932380323813238232383323843238532386323873238832389323903239132392323933239432395323963239732398323993240032401324023240332404324053240632407324083240932410324113241232413324143241532416324173241832419324203242132422324233242432425324263242732428324293243032431324323243332434324353243632437324383243932440324413244232443324443244532446324473244832449324503245132452324533245432455324563245732458324593246032461324623246332464324653246632467324683246932470324713247232473324743247532476324773247832479324803248132482324833248432485324863248732488324893249032491324923249332494324953249632497324983249932500325013250232503325043250532506325073250832509325103251132512325133251432515325163251732518325193252032521325223252332524325253252632527325283252932530325313253232533325343253532536325373253832539325403254132542325433254432545325463254732548325493255032551325523255332554325553255632557325583255932560325613256232563325643256532566325673256832569325703257132572325733257432575325763257732578325793258032581325823258332584325853258632587325883258932590325913259232593325943259532596325973259832599326003260132602326033260432605326063260732608326093261032611326123261332614326153261632617326183261932620326213262232623326243262532626326273262832629326303263132632326333263432635326363263732638326393264032641326423264332644326453264632647326483264932650326513265232653326543265532656326573265832659326603266132662326633266432665326663266732668326693267032671326723267332674326753267632677326783267932680326813268232683326843268532686326873268832689326903269132692326933269432695326963269732698326993270032701327023270332704327053270632707327083270932710327113271232713327143271532716327173271832719327203272132722327233272432725327263272732728327293273032731327323273332734327353273632737327383273932740327413274232743327443274532746327473274832749327503275132752327533275432755327563275732758327593276032761327623276332764327653276632767327683276932770327713277232773327743277532776327773277832779327803278132782327833278432785327863278732788327893279032791327923279332794327953279632797327983279932800328013280232803328043280532806328073280832809328103281132812328133281432815328163281732818328193282032821328223282332824328253282632827328283282932830328313283232833328343283532836328373283832839328403284132842328433284432845328463284732848328493285032851328523285332854328553285632857328583285932860328613286232863328643286532866328673286832869328703287132872328733287432875328763287732878328793288032881328823288332884328853288632887328883288932890328913289232893328943289532896328973289832899329003290132902329033290432905329063290732908329093291032911329123291332914329153291632917329183291932920329213292232923329243292532926329273292832929329303293132932329333293432935329363293732938329393294032941329423294332944329453294632947329483294932950329513295232953329543295532956329573295832959329603296132962329633296432965329663296732968329693297032971329723297332974329753297632977329783297932980329813298232983329843298532986329873298832989329903299132992329933299432995329963299732998329993300033001330023300333004330053300633007330083300933010330113301233013330143301533016330173301833019330203302133022330233302433025330263302733028330293303033031330323303333034330353303633037330383303933040330413304233043330443304533046330473304833049330503305133052330533305433055330563305733058330593306033061330623306333064330653306633067330683306933070330713307233073330743307533076330773307833079330803308133082330833308433085330863308733088330893309033091330923309333094330953309633097330983309933100331013310233103331043310533106331073310833109331103311133112331133311433115331163311733118331193312033121331223312333124331253312633127331283312933130331313313233133331343313533136331373313833139331403314133142331433314433145331463314733148331493315033151331523315333154331553315633157331583315933160331613316233163331643316533166331673316833169331703317133172331733317433175331763317733178331793318033181331823318333184331853318633187331883318933190331913319233193331943319533196331973319833199332003320133202332033320433205332063320733208332093321033211332123321333214332153321633217332183321933220332213322233223332243322533226332273322833229332303323133232332333323433235332363323733238332393324033241332423324333244332453324633247332483324933250332513325233253332543325533256332573325833259332603326133262332633326433265332663326733268332693327033271332723327333274332753327633277332783327933280332813328233283332843328533286332873328833289332903329133292332933329433295332963329733298332993330033301333023330333304333053330633307333083330933310333113331233313333143331533316333173331833319333203332133322333233332433325333263332733328333293333033331333323333333334333353333633337333383333933340333413334233343333443334533346333473334833349333503335133352333533335433355333563335733358333593336033361333623336333364333653336633367333683336933370333713337233373333743337533376333773337833379333803338133382333833338433385333863338733388333893339033391333923339333394333953339633397333983339933400334013340233403334043340533406334073340833409334103341133412334133341433415334163341733418334193342033421334223342333424334253342633427334283342933430334313343233433334343343533436334373343833439334403344133442334433344433445334463344733448334493345033451334523345333454334553345633457334583345933460334613346233463334643346533466334673346833469334703347133472334733347433475334763347733478334793348033481334823348333484334853348633487334883348933490334913349233493334943349533496334973349833499335003350133502335033350433505335063350733508335093351033511335123351333514335153351633517335183351933520335213352233523335243352533526335273352833529335303353133532335333353433535335363353733538335393354033541335423354333544335453354633547335483354933550335513355233553335543355533556335573355833559335603356133562335633356433565335663356733568335693357033571335723357333574335753357633577335783357933580335813358233583335843358533586335873358833589335903359133592335933359433595335963359733598335993360033601336023360333604336053360633607336083360933610336113361233613336143361533616336173361833619336203362133622336233362433625336263362733628336293363033631336323363333634336353363633637336383363933640336413364233643336443364533646336473364833649336503365133652336533365433655336563365733658336593366033661336623366333664336653366633667336683366933670336713367233673336743367533676336773367833679336803368133682336833368433685336863368733688336893369033691336923369333694336953369633697336983369933700337013370233703337043370533706337073370833709337103371133712337133371433715337163371733718337193372033721337223372333724337253372633727337283372933730337313373233733337343373533736337373373833739337403374133742337433374433745337463374733748337493375033751337523375333754337553375633757337583375933760337613376233763337643376533766337673376833769337703377133772337733377433775337763377733778337793378033781337823378333784337853378633787337883378933790337913379233793337943379533796337973379833799338003380133802338033380433805338063380733808338093381033811338123381333814338153381633817338183381933820338213382233823338243382533826338273382833829338303383133832338333383433835338363383733838338393384033841338423384333844338453384633847338483384933850338513385233853338543385533856338573385833859338603386133862338633386433865338663386733868338693387033871338723387333874338753387633877338783387933880338813388233883338843388533886338873388833889338903389133892338933389433895338963389733898338993390033901339023390333904339053390633907339083390933910339113391233913339143391533916339173391833919339203392133922339233392433925339263392733928339293393033931339323393333934339353393633937339383393933940339413394233943339443394533946339473394833949339503395133952339533395433955339563395733958339593396033961339623396333964339653396633967339683396933970339713397233973339743397533976339773397833979339803398133982339833398433985339863398733988339893399033991339923399333994339953399633997339983399934000340013400234003340043400534006340073400834009340103401134012340133401434015340163401734018340193402034021340223402334024340253402634027340283402934030340313403234033340343403534036340373403834039340403404134042340433404434045340463404734048340493405034051340523405334054340553405634057340583405934060340613406234063340643406534066340673406834069340703407134072340733407434075340763407734078340793408034081340823408334084340853408634087340883408934090340913409234093340943409534096340973409834099341003410134102341033410434105341063410734108341093411034111341123411334114341153411634117341183411934120341213412234123341243412534126341273412834129341303413134132341333413434135341363413734138341393414034141341423414334144341453414634147341483414934150341513415234153341543415534156341573415834159341603416134162341633416434165341663416734168341693417034171341723417334174341753417634177341783417934180341813418234183341843418534186341873418834189341903419134192341933419434195341963419734198341993420034201342023420334204342053420634207342083420934210342113421234213342143421534216342173421834219342203422134222342233422434225342263422734228342293423034231342323423334234342353423634237342383423934240342413424234243342443424534246342473424834249342503425134252342533425434255342563425734258342593426034261342623426334264342653426634267342683426934270342713427234273342743427534276342773427834279342803428134282342833428434285342863428734288342893429034291342923429334294342953429634297342983429934300343013430234303343043430534306343073430834309343103431134312343133431434315343163431734318343193432034321343223432334324343253432634327343283432934330343313433234333343343433534336343373433834339343403434134342343433434434345343463434734348343493435034351343523435334354343553435634357343583435934360343613436234363343643436534366343673436834369343703437134372343733437434375343763437734378343793438034381343823438334384343853438634387343883438934390343913439234393343943439534396343973439834399344003440134402344033440434405344063440734408344093441034411344123441334414344153441634417344183441934420344213442234423344243442534426344273442834429344303443134432344333443434435344363443734438344393444034441344423444334444344453444634447344483444934450344513445234453344543445534456344573445834459344603446134462344633446434465344663446734468344693447034471344723447334474344753447634477344783447934480344813448234483344843448534486344873448834489344903449134492344933449434495344963449734498344993450034501345023450334504345053450634507345083450934510345113451234513345143451534516345173451834519345203452134522345233452434525345263452734528345293453034531345323453334534345353453634537345383453934540345413454234543345443454534546345473454834549345503455134552345533455434555345563455734558345593456034561345623456334564345653456634567345683456934570345713457234573345743457534576345773457834579345803458134582345833458434585345863458734588345893459034591345923459334594345953459634597345983459934600346013460234603346043460534606346073460834609346103461134612346133461434615346163461734618346193462034621346223462334624346253462634627346283462934630346313463234633346343463534636346373463834639346403464134642346433464434645346463464734648346493465034651346523465334654346553465634657346583465934660346613466234663346643466534666346673466834669346703467134672346733467434675346763467734678346793468034681346823468334684346853468634687346883468934690346913469234693346943469534696346973469834699347003470134702347033470434705347063470734708347093471034711347123471334714347153471634717347183471934720347213472234723347243472534726347273472834729347303473134732347333473434735347363473734738347393474034741347423474334744347453474634747347483474934750347513475234753347543475534756347573475834759347603476134762347633476434765347663476734768347693477034771347723477334774347753477634777347783477934780347813478234783347843478534786347873478834789347903479134792347933479434795347963479734798347993480034801348023480334804348053480634807348083480934810348113481234813348143481534816348173481834819348203482134822348233482434825348263482734828348293483034831348323483334834348353483634837348383483934840348413484234843348443484534846348473484834849348503485134852348533485434855348563485734858348593486034861348623486334864348653486634867348683486934870348713487234873348743487534876348773487834879348803488134882348833488434885348863488734888348893489034891348923489334894348953489634897348983489934900349013490234903349043490534906349073490834909349103491134912349133491434915349163491734918349193492034921349223492334924349253492634927349283492934930349313493234933349343493534936349373493834939349403494134942349433494434945349463494734948349493495034951349523495334954349553495634957349583495934960349613496234963349643496534966349673496834969349703497134972349733497434975349763497734978349793498034981349823498334984349853498634987349883498934990349913499234993349943499534996349973499834999350003500135002350033500435005350063500735008350093501035011350123501335014350153501635017350183501935020350213502235023350243502535026350273502835029350303503135032350333503435035350363503735038350393504035041350423504335044350453504635047350483504935050350513505235053350543505535056350573505835059350603506135062350633506435065350663506735068350693507035071350723507335074350753507635077350783507935080350813508235083350843508535086350873508835089350903509135092350933509435095350963509735098350993510035101351023510335104351053510635107351083510935110351113511235113351143511535116351173511835119351203512135122351233512435125351263512735128351293513035131351323513335134351353513635137351383513935140351413514235143351443514535146351473514835149351503515135152351533515435155351563515735158351593516035161351623516335164351653516635167351683516935170351713517235173351743517535176351773517835179351803518135182351833518435185351863518735188351893519035191351923519335194351953519635197351983519935200352013520235203352043520535206352073520835209352103521135212352133521435215352163521735218352193522035221352223522335224352253522635227352283522935230352313523235233352343523535236352373523835239352403524135242352433524435245352463524735248352493525035251352523525335254352553525635257352583525935260352613526235263352643526535266352673526835269352703527135272352733527435275352763527735278352793528035281352823528335284352853528635287352883528935290352913529235293352943529535296352973529835299353003530135302353033530435305353063530735308353093531035311353123531335314353153531635317353183531935320353213532235323353243532535326353273532835329353303533135332353333533435335353363533735338353393534035341353423534335344353453534635347353483534935350353513535235353353543535535356353573535835359353603536135362353633536435365353663536735368353693537035371353723537335374353753537635377353783537935380353813538235383353843538535386353873538835389353903539135392353933539435395353963539735398353993540035401354023540335404354053540635407354083540935410354113541235413354143541535416354173541835419354203542135422354233542435425354263542735428354293543035431354323543335434354353543635437354383543935440354413544235443354443544535446354473544835449354503545135452354533545435455354563545735458354593546035461354623546335464354653546635467354683546935470354713547235473354743547535476354773547835479354803548135482354833548435485354863548735488354893549035491354923549335494354953549635497354983549935500355013550235503355043550535506355073550835509355103551135512355133551435515355163551735518355193552035521355223552335524355253552635527355283552935530355313553235533355343553535536355373553835539355403554135542355433554435545355463554735548355493555035551355523555335554355553555635557355583555935560355613556235563355643556535566355673556835569355703557135572355733557435575355763557735578355793558035581355823558335584355853558635587355883558935590355913559235593355943559535596355973559835599356003560135602356033560435605356063560735608356093561035611356123561335614356153561635617356183561935620356213562235623356243562535626356273562835629356303563135632356333563435635356363563735638356393564035641356423564335644356453564635647356483564935650356513565235653356543565535656356573565835659356603566135662356633566435665356663566735668356693567035671356723567335674356753567635677356783567935680356813568235683356843568535686356873568835689356903569135692356933569435695356963569735698356993570035701357023570335704357053570635707357083570935710357113571235713357143571535716357173571835719357203572135722357233572435725357263572735728357293573035731357323573335734357353573635737357383573935740357413574235743357443574535746357473574835749357503575135752357533575435755357563575735758357593576035761357623576335764357653576635767357683576935770357713577235773357743577535776357773577835779357803578135782357833578435785357863578735788357893579035791357923579335794357953579635797357983579935800358013580235803358043580535806358073580835809358103581135812358133581435815358163581735818358193582035821358223582335824358253582635827358283582935830358313583235833358343583535836358373583835839358403584135842358433584435845358463584735848358493585035851358523585335854358553585635857358583585935860358613586235863358643586535866358673586835869358703587135872358733587435875358763587735878358793588035881358823588335884358853588635887358883588935890358913589235893358943589535896358973589835899359003590135902359033590435905359063590735908359093591035911359123591335914359153591635917359183591935920359213592235923359243592535926359273592835929359303593135932359333593435935359363593735938359393594035941359423594335944359453594635947359483594935950359513595235953359543595535956359573595835959359603596135962359633596435965359663596735968359693597035971359723597335974359753597635977359783597935980359813598235983359843598535986359873598835989359903599135992359933599435995359963599735998359993600036001360023600336004360053600636007360083600936010360113601236013360143601536016360173601836019360203602136022360233602436025360263602736028360293603036031360323603336034360353603636037360383603936040360413604236043360443604536046360473604836049360503605136052360533605436055360563605736058360593606036061360623606336064360653606636067360683606936070360713607236073360743607536076360773607836079360803608136082360833608436085360863608736088360893609036091360923609336094360953609636097360983609936100361013610236103361043610536106361073610836109361103611136112361133611436115361163611736118361193612036121361223612336124361253612636127361283612936130361313613236133361343613536136361373613836139361403614136142361433614436145361463614736148361493615036151361523615336154361553615636157361583615936160361613616236163361643616536166361673616836169361703617136172361733617436175361763617736178361793618036181361823618336184361853618636187361883618936190361913619236193361943619536196361973619836199362003620136202362033620436205362063620736208362093621036211362123621336214362153621636217362183621936220362213622236223362243622536226362273622836229362303623136232362333623436235362363623736238362393624036241362423624336244362453624636247362483624936250362513625236253362543625536256362573625836259362603626136262362633626436265362663626736268362693627036271362723627336274362753627636277362783627936280362813628236283362843628536286362873628836289362903629136292362933629436295362963629736298362993630036301363023630336304363053630636307363083630936310363113631236313363143631536316363173631836319363203632136322363233632436325363263632736328363293633036331363323633336334363353633636337363383633936340363413634236343363443634536346363473634836349363503635136352363533635436355363563635736358363593636036361363623636336364363653636636367363683636936370363713637236373363743637536376363773637836379363803638136382363833638436385363863638736388363893639036391363923639336394363953639636397363983639936400364013640236403364043640536406364073640836409364103641136412364133641436415364163641736418364193642036421364223642336424364253642636427364283642936430364313643236433364343643536436364373643836439364403644136442364433644436445364463644736448364493645036451364523645336454364553645636457364583645936460364613646236463364643646536466364673646836469364703647136472364733647436475364763647736478364793648036481364823648336484364853648636487364883648936490364913649236493364943649536496364973649836499365003650136502365033650436505365063650736508365093651036511365123651336514365153651636517365183651936520365213652236523365243652536526365273652836529365303653136532365333653436535365363653736538365393654036541365423654336544365453654636547365483654936550365513655236553365543655536556365573655836559365603656136562365633656436565365663656736568365693657036571365723657336574365753657636577365783657936580365813658236583365843658536586365873658836589365903659136592365933659436595365963659736598365993660036601366023660336604366053660636607366083660936610366113661236613366143661536616366173661836619366203662136622366233662436625366263662736628366293663036631366323663336634366353663636637366383663936640366413664236643366443664536646366473664836649366503665136652366533665436655366563665736658366593666036661366623666336664366653666636667366683666936670366713667236673366743667536676366773667836679366803668136682366833668436685366863668736688366893669036691366923669336694366953669636697366983669936700367013670236703367043670536706367073670836709367103671136712367133671436715367163671736718367193672036721367223672336724367253672636727367283672936730367313673236733367343673536736367373673836739367403674136742367433674436745367463674736748367493675036751367523675336754367553675636757367583675936760367613676236763367643676536766367673676836769367703677136772367733677436775367763677736778367793678036781367823678336784367853678636787367883678936790367913679236793367943679536796367973679836799368003680136802368033680436805368063680736808368093681036811368123681336814368153681636817368183681936820368213682236823368243682536826368273682836829368303683136832368333683436835368363683736838368393684036841368423684336844368453684636847368483684936850368513685236853368543685536856368573685836859368603686136862368633686436865368663686736868368693687036871368723687336874368753687636877368783687936880368813688236883368843688536886368873688836889368903689136892368933689436895368963689736898368993690036901369023690336904369053690636907369083690936910369113691236913369143691536916369173691836919369203692136922369233692436925369263692736928369293693036931369323693336934369353693636937369383693936940369413694236943369443694536946369473694836949369503695136952369533695436955369563695736958369593696036961369623696336964369653696636967369683696936970369713697236973369743697536976369773697836979369803698136982369833698436985369863698736988369893699036991369923699336994369953699636997369983699937000370013700237003370043700537006370073700837009370103701137012370133701437015370163701737018370193702037021370223702337024370253702637027370283702937030370313703237033370343703537036370373703837039370403704137042370433704437045370463704737048370493705037051370523705337054370553705637057370583705937060370613706237063370643706537066370673706837069370703707137072370733707437075370763707737078370793708037081370823708337084370853708637087370883708937090370913709237093370943709537096370973709837099371003710137102371033710437105371063710737108371093711037111371123711337114371153711637117371183711937120371213712237123371243712537126371273712837129371303713137132371333713437135371363713737138371393714037141371423714337144371453714637147371483714937150371513715237153371543715537156371573715837159371603716137162371633716437165371663716737168371693717037171371723717337174371753717637177371783717937180371813718237183371843718537186371873718837189371903719137192371933719437195371963719737198371993720037201372023720337204372053720637207372083720937210372113721237213372143721537216372173721837219372203722137222372233722437225372263722737228372293723037231372323723337234372353723637237372383723937240372413724237243372443724537246372473724837249372503725137252372533725437255372563725737258372593726037261372623726337264372653726637267372683726937270372713727237273372743727537276372773727837279372803728137282372833728437285372863728737288372893729037291372923729337294372953729637297372983729937300373013730237303373043730537306373073730837309373103731137312373133731437315373163731737318373193732037321373223732337324373253732637327373283732937330373313733237333373343733537336373373733837339373403734137342373433734437345373463734737348373493735037351373523735337354373553735637357373583735937360373613736237363373643736537366373673736837369373703737137372373733737437375373763737737378373793738037381373823738337384373853738637387373883738937390373913739237393373943739537396373973739837399374003740137402374033740437405374063740737408374093741037411374123741337414374153741637417374183741937420374213742237423374243742537426374273742837429374303743137432374333743437435374363743737438374393744037441374423744337444374453744637447374483744937450374513745237453374543745537456374573745837459374603746137462374633746437465374663746737468374693747037471374723747337474374753747637477374783747937480374813748237483374843748537486374873748837489374903749137492374933749437495374963749737498374993750037501375023750337504375053750637507375083750937510375113751237513375143751537516375173751837519375203752137522375233752437525375263752737528375293753037531375323753337534375353753637537375383753937540375413754237543375443754537546375473754837549375503755137552375533755437555375563755737558375593756037561375623756337564375653756637567375683756937570375713757237573375743757537576375773757837579375803758137582375833758437585375863758737588375893759037591375923759337594375953759637597375983759937600376013760237603376043760537606376073760837609376103761137612376133761437615376163761737618376193762037621376223762337624376253762637627376283762937630376313763237633376343763537636376373763837639376403764137642376433764437645376463764737648376493765037651376523765337654376553765637657376583765937660376613766237663376643766537666376673766837669376703767137672376733767437675376763767737678376793768037681376823768337684376853768637687376883768937690376913769237693376943769537696376973769837699377003770137702377033770437705377063770737708377093771037711377123771337714377153771637717377183771937720377213772237723377243772537726377273772837729377303773137732377333773437735377363773737738377393774037741377423774337744377453774637747377483774937750377513775237753377543775537756377573775837759377603776137762377633776437765377663776737768377693777037771377723777337774377753777637777377783777937780377813778237783377843778537786377873778837789377903779137792377933779437795377963779737798377993780037801378023780337804378053780637807378083780937810378113781237813378143781537816378173781837819378203782137822378233782437825378263782737828378293783037831378323783337834378353783637837378383783937840378413784237843378443784537846378473784837849378503785137852378533785437855378563785737858378593786037861378623786337864378653786637867378683786937870378713787237873378743787537876378773787837879378803788137882378833788437885378863788737888378893789037891378923789337894378953789637897378983789937900379013790237903379043790537906379073790837909379103791137912379133791437915379163791737918379193792037921379223792337924379253792637927379283792937930379313793237933379343793537936379373793837939379403794137942379433794437945379463794737948379493795037951379523795337954379553795637957379583795937960379613796237963379643796537966379673796837969379703797137972379733797437975379763797737978379793798037981379823798337984379853798637987379883798937990379913799237993379943799537996379973799837999380003800138002380033800438005380063800738008380093801038011380123801338014380153801638017380183801938020380213802238023380243802538026380273802838029380303803138032380333803438035380363803738038380393804038041380423804338044380453804638047380483804938050380513805238053380543805538056380573805838059380603806138062380633806438065380663806738068380693807038071380723807338074380753807638077380783807938080380813808238083380843808538086380873808838089380903809138092380933809438095380963809738098380993810038101381023810338104381053810638107381083810938110381113811238113381143811538116381173811838119381203812138122381233812438125381263812738128381293813038131381323813338134381353813638137381383813938140381413814238143381443814538146381473814838149381503815138152381533815438155381563815738158381593816038161381623816338164381653816638167381683816938170381713817238173381743817538176381773817838179381803818138182381833818438185381863818738188381893819038191381923819338194381953819638197381983819938200382013820238203382043820538206382073820838209382103821138212382133821438215382163821738218382193822038221382223822338224382253822638227382283822938230382313823238233382343823538236382373823838239382403824138242382433824438245382463824738248382493825038251382523825338254382553825638257382583825938260382613826238263382643826538266382673826838269382703827138272382733827438275382763827738278382793828038281382823828338284382853828638287382883828938290382913829238293382943829538296382973829838299383003830138302383033830438305383063830738308383093831038311383123831338314383153831638317383183831938320383213832238323383243832538326383273832838329383303833138332383333833438335383363833738338383393834038341383423834338344383453834638347383483834938350383513835238353383543835538356383573835838359383603836138362383633836438365383663836738368383693837038371383723837338374383753837638377383783837938380383813838238383383843838538386383873838838389383903839138392383933839438395383963839738398383993840038401384023840338404384053840638407384083840938410384113841238413384143841538416384173841838419384203842138422384233842438425384263842738428384293843038431384323843338434384353843638437384383843938440384413844238443384443844538446384473844838449384503845138452384533845438455384563845738458384593846038461384623846338464384653846638467384683846938470384713847238473384743847538476384773847838479384803848138482384833848438485384863848738488384893849038491384923849338494384953849638497384983849938500385013850238503385043850538506385073850838509385103851138512385133851438515385163851738518385193852038521385223852338524385253852638527385283852938530385313853238533385343853538536385373853838539385403854138542385433854438545385463854738548385493855038551385523855338554385553855638557385583855938560385613856238563385643856538566385673856838569385703857138572385733857438575385763857738578385793858038581385823858338584385853858638587385883858938590385913859238593385943859538596385973859838599386003860138602386033860438605386063860738608386093861038611386123861338614386153861638617386183861938620386213862238623386243862538626386273862838629386303863138632386333863438635386363863738638386393864038641386423864338644386453864638647386483864938650386513865238653386543865538656386573865838659386603866138662386633866438665386663866738668386693867038671386723867338674386753867638677386783867938680386813868238683386843868538686386873868838689386903869138692386933869438695386963869738698386993870038701387023870338704387053870638707387083870938710387113871238713387143871538716387173871838719387203872138722387233872438725387263872738728387293873038731387323873338734387353873638737387383873938740387413874238743387443874538746387473874838749387503875138752387533875438755387563875738758387593876038761387623876338764387653876638767387683876938770387713877238773387743877538776387773877838779387803878138782387833878438785387863878738788387893879038791387923879338794387953879638797387983879938800388013880238803388043880538806388073880838809388103881138812388133881438815388163881738818388193882038821388223882338824388253882638827388283882938830388313883238833388343883538836388373883838839388403884138842388433884438845388463884738848388493885038851388523885338854388553885638857388583885938860388613886238863388643886538866388673886838869
  1. --- recode-3.6.orig/config.sub
  2. +++ recode-3.6/config.sub
  3. @@ -1,6 +1,11 @@
  4. #! /bin/sh
  5. -# Configuration validation subroutine script, version 1.1.
  6. -# Copyright (C) 1991, 92-97, 1998, 1999 Free Software Foundation, Inc.
  7. +# Configuration validation subroutine script.
  8. +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
  9. +# 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
  10. +# Inc.
  11. +
  12. +timestamp='2006-09-20'
  13. +
  14. # This file is (in principle) common to ALL GNU software.
  15. # The presence of a machine in this file suggests that SOME GNU software
  16. # can handle that machine. It does not imply ALL GNU software can.
  17. @@ -17,14 +22,18 @@
  18. #
  19. # You should have received a copy of the GNU General Public License
  20. # along with this program; if not, write to the Free Software
  21. -# Foundation, Inc., 59 Temple Place - Suite 330,
  22. -# Boston, MA 02111-1307, USA.
  23. -
  24. +# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
  25. +# 02110-1301, USA.
  26. +#
  27. # As a special exception to the GNU General Public License, if you
  28. # distribute this file as part of a program that contains a
  29. # configuration script generated by Autoconf, you may include it under
  30. # the same distribution terms that you use for the rest of that program.
  31. +
  32. +# Please send patches to <config-patches@gnu.org>. Submit a context
  33. +# diff and a properly formatted ChangeLog entry.
  34. +#
  35. # Configuration subroutine to validate and canonicalize a configuration type.
  36. # Supply the specified configuration type as an argument.
  37. # If it is invalid, we print an error message on stderr and exit with code 1.
  38. @@ -45,30 +54,75 @@
  39. # CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM
  40. # It is wrong to echo any other type of specification.
  41. -if [ x$1 = x ]
  42. -then
  43. - echo Configuration name missing. 1>&2
  44. - echo "Usage: $0 CPU-MFR-OPSYS" 1>&2
  45. - echo "or $0 ALIAS" 1>&2
  46. - echo where ALIAS is a recognized configuration type. 1>&2
  47. - exit 1
  48. -fi
  49. +me=`echo "$0" | sed -e 's,.*/,,'`
  50. -# First pass through any local machine types.
  51. -case $1 in
  52. - *local*)
  53. - echo $1
  54. - exit 0
  55. - ;;
  56. - *)
  57. - ;;
  58. +usage="\
  59. +Usage: $0 [OPTION] CPU-MFR-OPSYS
  60. + $0 [OPTION] ALIAS
  61. +
  62. +Canonicalize a configuration name.
  63. +
  64. +Operation modes:
  65. + -h, --help print this help, then exit
  66. + -t, --time-stamp print date of last modification, then exit
  67. + -v, --version print version number, then exit
  68. +
  69. +Report bugs and patches to <config-patches@gnu.org>."
  70. +
  71. +version="\
  72. +GNU config.sub ($timestamp)
  73. +
  74. +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
  75. +Free Software Foundation, Inc.
  76. +
  77. +This is free software; see the source for copying conditions. There is NO
  78. +warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
  79. +
  80. +help="
  81. +Try \`$me --help' for more information."
  82. +
  83. +# Parse command line
  84. +while test $# -gt 0 ; do
  85. + case $1 in
  86. + --time-stamp | --time* | -t )
  87. + echo "$timestamp" ; exit ;;
  88. + --version | -v )
  89. + echo "$version" ; exit ;;
  90. + --help | --h* | -h )
  91. + echo "$usage"; exit ;;
  92. + -- ) # Stop option processing
  93. + shift; break ;;
  94. + - ) # Use stdin as input.
  95. + break ;;
  96. + -* )
  97. + echo "$me: invalid option $1$help"
  98. + exit 1 ;;
  99. +
  100. + *local*)
  101. + # First pass through any local machine types.
  102. + echo $1
  103. + exit ;;
  104. +
  105. + * )
  106. + break ;;
  107. + esac
  108. +done
  109. +
  110. +case $# in
  111. + 0) echo "$me: missing argument$help" >&2
  112. + exit 1;;
  113. + 1) ;;
  114. + *) echo "$me: too many arguments$help" >&2
  115. + exit 1;;
  116. esac
  117. # Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any).
  118. # Here we must recognize all the valid KERNEL-OS combinations.
  119. maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
  120. case $maybe_os in
  121. - linux-gnu*)
  122. + nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \
  123. + uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \
  124. + storm-chaos* | os2-emx* | rtmk-nova*)
  125. os=-$maybe_os
  126. basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
  127. ;;
  128. @@ -94,7 +148,7 @@
  129. -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
  130. -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
  131. -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
  132. - -apple)
  133. + -apple | -axis | -knuth | -cray)
  134. os=
  135. basic_machine=$1
  136. ;;
  137. @@ -108,9 +162,21 @@
  138. os=-vxworks
  139. basic_machine=$1
  140. ;;
  141. + -chorusos*)
  142. + os=-chorusos
  143. + basic_machine=$1
  144. + ;;
  145. + -chorusrdb)
  146. + os=-chorusrdb
  147. + basic_machine=$1
  148. + ;;
  149. -hiux*)
  150. os=-hiuxwe2
  151. ;;
  152. + -sco6)
  153. + os=-sco5v6
  154. + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
  155. + ;;
  156. -sco5)
  157. os=-sco3.2v5
  158. basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
  159. @@ -127,6 +193,10 @@
  160. # Don't forget version if it is 3.2v4 or newer.
  161. basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
  162. ;;
  163. + -sco5v6*)
  164. + # Don't forget version if it is 3.2v4 or newer.
  165. + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
  166. + ;;
  167. -sco*)
  168. os=-sco3.2v2
  169. basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
  170. @@ -166,27 +236,74 @@
  171. case $basic_machine in
  172. # Recognize the basic CPU types without company name.
  173. # Some are omitted here because they have special meanings below.
  174. - tahoe | i860 | ia64 | m32r | m68k | m68000 | m88k | ns32k | arc | arm \
  175. - | arme[lb] | pyramid | mn10200 | mn10300 | tron | a29k \
  176. - | 580 | i960 | h8300 \
  177. - | hppa | hppa1.0 | hppa1.1 | hppa2.0 | hppa2.0w | hppa2.0n \
  178. - | alpha | alphaev[4-7] | alphaev56 | alphapca5[67] \
  179. - | we32k | ns16k | clipper | i370 | sh | powerpc | powerpcle \
  180. - | 1750a | dsp16xx | pdp11 | mips16 | mips64 | mipsel | mips64el \
  181. - | mips64orion | mips64orionel | mipstx39 | mipstx39el \
  182. - | mips64vr4300 | mips64vr4300el | mips64vr4100 | mips64vr4100el \
  183. - | mips64vr5000 | miprs64vr5000el | mcore \
  184. - | sparc | sparclet | sparclite | sparc64 | sparcv9 | v850 | c4x \
  185. - | thumb | d10v)
  186. + 1750a | 580 \
  187. + | a29k \
  188. + | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
  189. + | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
  190. + | am33_2.0 \
  191. + | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \
  192. + | bfin \
  193. + | c4x | clipper \
  194. + | d10v | d30v | dlx | dsp16xx \
  195. + | fr30 | frv \
  196. + | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
  197. + | i370 | i860 | i960 | ia64 \
  198. + | ip2k | iq2000 \
  199. + | m32c | m32r | m32rle | m68000 | m68k | m88k \
  200. + | maxq | mb | microblaze | mcore \
  201. + | mips | mipsbe | mipseb | mipsel | mipsle \
  202. + | mips16 \
  203. + | mips64 | mips64el \
  204. + | mips64vr | mips64vrel \
  205. + | mips64orion | mips64orionel \
  206. + | mips64vr4100 | mips64vr4100el \
  207. + | mips64vr4300 | mips64vr4300el \
  208. + | mips64vr5000 | mips64vr5000el \
  209. + | mips64vr5900 | mips64vr5900el \
  210. + | mipsisa32 | mipsisa32el \
  211. + | mipsisa32r2 | mipsisa32r2el \
  212. + | mipsisa64 | mipsisa64el \
  213. + | mipsisa64r2 | mipsisa64r2el \
  214. + | mipsisa64sb1 | mipsisa64sb1el \
  215. + | mipsisa64sr71k | mipsisa64sr71kel \
  216. + | mipstx39 | mipstx39el \
  217. + | mn10200 | mn10300 \
  218. + | mt \
  219. + | msp430 \
  220. + | nios | nios2 \
  221. + | ns16k | ns32k \
  222. + | or32 \
  223. + | pdp10 | pdp11 | pj | pjl \
  224. + | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
  225. + | pyramid \
  226. + | score \
  227. + | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
  228. + | sh64 | sh64le \
  229. + | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
  230. + | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
  231. + | spu | strongarm \
  232. + | tahoe | thumb | tic4x | tic80 | tron \
  233. + | v850 | v850e \
  234. + | we32k \
  235. + | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \
  236. + | z8k)
  237. basic_machine=$basic_machine-unknown
  238. ;;
  239. - m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | z8k | v70 | h8500 | w65)
  240. + m6811 | m68hc11 | m6812 | m68hc12)
  241. + # Motorola 68HC11/12.
  242. + basic_machine=$basic_machine-unknown
  243. + os=-none
  244. + ;;
  245. + m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k)
  246. + ;;
  247. + ms1)
  248. + basic_machine=mt-unknown
  249. ;;
  250. # We use `pc' rather than `unknown'
  251. # because (1) that's what they normally are, and
  252. # (2) the word "unknown" tends to confuse beginning users.
  253. - i[34567]86)
  254. + i*86 | x86_64)
  255. basic_machine=$basic_machine-pc
  256. ;;
  257. # Object if more than one company name word.
  258. @@ -195,24 +312,66 @@
  259. exit 1
  260. ;;
  261. # Recognize the basic CPU types with company name.
  262. - # FIXME: clean up the formatting here.
  263. - vax-* | tahoe-* | i[34567]86-* | i860-* | ia64-* | m32r-* | m68k-* | m68000-* \
  264. - | m88k-* | sparc-* | ns32k-* | fx80-* | arc-* | arm-* | c[123]* \
  265. - | mips-* | pyramid-* | tron-* | a29k-* | romp-* | rs6000-* \
  266. - | power-* | none-* | 580-* | cray2-* | h8300-* | h8500-* | i960-* \
  267. - | xmp-* | ymp-* \
  268. - | hppa-* | hppa1.0-* | hppa1.1-* | hppa2.0-* | hppa2.0w-* | hppa2.0n-* \
  269. - | alpha-* | alphaev[4-7]-* | alphaev56-* | alphapca5[67]-* \
  270. - | we32k-* | cydra-* | ns16k-* | pn-* | np1-* | xps100-* \
  271. - | clipper-* | orion-* \
  272. - | sparclite-* | pdp11-* | sh-* | powerpc-* | powerpcle-* \
  273. - | sparc64-* | sparcv9-* | sparc86x-* | mips16-* | mips64-* | mipsel-* \
  274. - | mips64el-* | mips64orion-* | mips64orionel-* \
  275. - | mips64vr4100-* | mips64vr4100el-* | mips64vr4300-* | mips64vr4300el-* \
  276. - | mipstx39-* | mipstx39el-* | mcore-* \
  277. - | f301-* | armv*-* | t3e-* \
  278. - | m88110-* | m680[01234]0-* | m683?2-* | m68360-* | z8k-* | d10v-* \
  279. - | thumb-* | v850-* | d30v-* | tic30-* | c30-* )
  280. + 580-* \
  281. + | a29k-* \
  282. + | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
  283. + | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
  284. + | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
  285. + | arm-* | armbe-* | armle-* | armeb-* | armv*-* \
  286. + | avr-* | avr32-* \
  287. + | bfin-* | bs2000-* \
  288. + | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
  289. + | clipper-* | craynv-* | cydra-* \
  290. + | d10v-* | d30v-* | dlx-* \
  291. + | elxsi-* \
  292. + | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \
  293. + | h8300-* | h8500-* \
  294. + | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
  295. + | i*86-* | i860-* | i960-* | ia64-* \
  296. + | ip2k-* | iq2000-* \
  297. + | m32c-* | m32r-* | m32rle-* \
  298. + | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
  299. + | m88110-* | m88k-* | maxq-* | mcore-* \
  300. + | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
  301. + | mips16-* \
  302. + | mips64-* | mips64el-* \
  303. + | mips64vr-* | mips64vrel-* \
  304. + | mips64orion-* | mips64orionel-* \
  305. + | mips64vr4100-* | mips64vr4100el-* \
  306. + | mips64vr4300-* | mips64vr4300el-* \
  307. + | mips64vr5000-* | mips64vr5000el-* \
  308. + | mips64vr5900-* | mips64vr5900el-* \
  309. + | mipsisa32-* | mipsisa32el-* \
  310. + | mipsisa32r2-* | mipsisa32r2el-* \
  311. + | mipsisa64-* | mipsisa64el-* \
  312. + | mipsisa64r2-* | mipsisa64r2el-* \
  313. + | mipsisa64sb1-* | mipsisa64sb1el-* \
  314. + | mipsisa64sr71k-* | mipsisa64sr71kel-* \
  315. + | mipstx39-* | mipstx39el-* \
  316. + | mmix-* \
  317. + | mt-* \
  318. + | msp430-* \
  319. + | nios-* | nios2-* \
  320. + | none-* | np1-* | ns16k-* | ns32k-* \
  321. + | orion-* \
  322. + | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
  323. + | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
  324. + | pyramid-* \
  325. + | romp-* | rs6000-* \
  326. + | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
  327. + | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
  328. + | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
  329. + | sparclite-* \
  330. + | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \
  331. + | tahoe-* | thumb-* \
  332. + | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
  333. + | tron-* \
  334. + | v850-* | v850e-* | vax-* \
  335. + | we32k-* \
  336. + | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
  337. + | xstormy16-* | xtensa-* \
  338. + | ymp-* \
  339. + | z8k-*)
  340. ;;
  341. # Recognize the various machine names and aliases which stand
  342. # for a CPU type and a company and sometimes even an OS.
  343. @@ -230,6 +389,9 @@
  344. basic_machine=a29k-amd
  345. os=-udi
  346. ;;
  347. + abacus)
  348. + basic_machine=abacus-unknown
  349. + ;;
  350. adobe68k)
  351. basic_machine=m68010-adobe
  352. os=-scout
  353. @@ -244,19 +406,25 @@
  354. basic_machine=a29k-none
  355. os=-bsd
  356. ;;
  357. + amd64)
  358. + basic_machine=x86_64-pc
  359. + ;;
  360. + amd64-*)
  361. + basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'`
  362. + ;;
  363. amdahl)
  364. basic_machine=580-amdahl
  365. os=-sysv
  366. ;;
  367. amiga | amiga-*)
  368. - basic_machine=m68k-cbm
  369. + basic_machine=m68k-unknown
  370. ;;
  371. amigaos | amigados)
  372. - basic_machine=m68k-cbm
  373. + basic_machine=m68k-unknown
  374. os=-amigaos
  375. ;;
  376. amigaunix | amix)
  377. - basic_machine=m68k-cbm
  378. + basic_machine=m68k-unknown
  379. os=-sysv4
  380. ;;
  381. apollo68)
  382. @@ -275,6 +443,10 @@
  383. basic_machine=ns32k-sequent
  384. os=-dynix
  385. ;;
  386. + c90)
  387. + basic_machine=c90-cray
  388. + os=-unicos
  389. + ;;
  390. convex-c1)
  391. basic_machine=c1-convex
  392. os=-bsd
  393. @@ -295,27 +467,45 @@
  394. basic_machine=c38-convex
  395. os=-bsd
  396. ;;
  397. - cray | ymp)
  398. - basic_machine=ymp-cray
  399. + cray | j90)
  400. + basic_machine=j90-cray
  401. os=-unicos
  402. ;;
  403. - cray2)
  404. - basic_machine=cray2-cray
  405. - os=-unicos
  406. + craynv)
  407. + basic_machine=craynv-cray
  408. + os=-unicosmp
  409. ;;
  410. - [ctj]90-cray)
  411. - basic_machine=c90-cray
  412. - os=-unicos
  413. + cr16c)
  414. + basic_machine=cr16c-unknown
  415. + os=-elf
  416. ;;
  417. crds | unos)
  418. basic_machine=m68k-crds
  419. ;;
  420. + crisv32 | crisv32-* | etraxfs*)
  421. + basic_machine=crisv32-axis
  422. + ;;
  423. + cris | cris-* | etrax*)
  424. + basic_machine=cris-axis
  425. + ;;
  426. + crx)
  427. + basic_machine=crx-unknown
  428. + os=-elf
  429. + ;;
  430. da30 | da30-*)
  431. basic_machine=m68k-da30
  432. ;;
  433. decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn)
  434. basic_machine=mips-dec
  435. ;;
  436. + decsystem10* | dec10*)
  437. + basic_machine=pdp10-dec
  438. + os=-tops10
  439. + ;;
  440. + decsystem20* | dec20*)
  441. + basic_machine=pdp10-dec
  442. + os=-tops20
  443. + ;;
  444. delta | 3300 | motorola-3300 | motorola-delta \
  445. | 3300-motorola | delta-motorola)
  446. basic_machine=m68k-motorola
  447. @@ -324,6 +514,10 @@
  448. basic_machine=m88k-motorola
  449. os=-sysv3
  450. ;;
  451. + djgpp)
  452. + basic_machine=i586-pc
  453. + os=-msdosdjgpp
  454. + ;;
  455. dpx20 | dpx20-*)
  456. basic_machine=rs6000-bull
  457. os=-bosx
  458. @@ -357,6 +551,10 @@
  459. basic_machine=tron-gmicro
  460. os=-sysv
  461. ;;
  462. + go32)
  463. + basic_machine=i386-pc
  464. + os=-go32
  465. + ;;
  466. h3050r* | hiux*)
  467. basic_machine=hppa1.1-hitachi
  468. os=-hiuxwe2
  469. @@ -430,22 +628,21 @@
  470. ;;
  471. i370-ibm* | ibm*)
  472. basic_machine=i370-ibm
  473. - os=-mvs
  474. ;;
  475. # I'm not sure what "Sysv32" means. Should this be sysv3.2?
  476. - i[34567]86v32)
  477. + i*86v32)
  478. basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
  479. os=-sysv32
  480. ;;
  481. - i[34567]86v4*)
  482. + i*86v4*)
  483. basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
  484. os=-sysv4
  485. ;;
  486. - i[34567]86v)
  487. + i*86v)
  488. basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
  489. os=-sysv
  490. ;;
  491. - i[34567]86sol2)
  492. + i*86sol2)
  493. basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
  494. os=-solaris2
  495. ;;
  496. @@ -457,14 +654,6 @@
  497. basic_machine=i386-unknown
  498. os=-vsta
  499. ;;
  500. - i386-go32 | go32)
  501. - basic_machine=i386-unknown
  502. - os=-go32
  503. - ;;
  504. - i386-mingw32 | mingw32)
  505. - basic_machine=i386-unknown
  506. - os=-mingw32
  507. - ;;
  508. iris | iris4d)
  509. basic_machine=mips-sgi
  510. case $os in
  511. @@ -490,6 +679,10 @@
  512. basic_machine=ns32k-utek
  513. os=-sysv
  514. ;;
  515. + mingw32)
  516. + basic_machine=i386-pc
  517. + os=-mingw32
  518. + ;;
  519. miniframe)
  520. basic_machine=m68000-convergent
  521. ;;
  522. @@ -497,14 +690,6 @@
  523. basic_machine=m68k-atari
  524. os=-mint
  525. ;;
  526. - mipsel*-linux*)
  527. - basic_machine=mipsel-unknown
  528. - os=-linux-gnu
  529. - ;;
  530. - mips*-linux*)
  531. - basic_machine=mips-unknown
  532. - os=-linux-gnu
  533. - ;;
  534. mips3*-*)
  535. basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`
  536. ;;
  537. @@ -515,10 +700,21 @@
  538. basic_machine=m68k-rom68k
  539. os=-coff
  540. ;;
  541. + morphos)
  542. + basic_machine=powerpc-unknown
  543. + os=-morphos
  544. + ;;
  545. msdos)
  546. - basic_machine=i386-unknown
  547. + basic_machine=i386-pc
  548. os=-msdos
  549. ;;
  550. + ms1-*)
  551. + basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
  552. + ;;
  553. + mvs)
  554. + basic_machine=i370-ibm
  555. + os=-mvs
  556. + ;;
  557. ncr3000)
  558. basic_machine=i486-ncr
  559. os=-sysv4
  560. @@ -528,7 +724,7 @@
  561. os=-netbsd
  562. ;;
  563. netwinder)
  564. - basic_machine=armv4l-corel
  565. + basic_machine=armv4l-rebel
  566. os=-linux
  567. ;;
  568. news | news700 | news800 | news900)
  569. @@ -576,13 +772,27 @@
  570. basic_machine=i960-intel
  571. os=-mon960
  572. ;;
  573. + nonstopux)
  574. + basic_machine=mips-compaq
  575. + os=-nonstopux
  576. + ;;
  577. np1)
  578. basic_machine=np1-gould
  579. ;;
  580. + nsr-tandem)
  581. + basic_machine=nsr-tandem
  582. + ;;
  583. op50n-* | op60c-*)
  584. basic_machine=hppa1.1-oki
  585. os=-proelf
  586. ;;
  587. + openrisc | openrisc-*)
  588. + basic_machine=or32-unknown
  589. + ;;
  590. + os400)
  591. + basic_machine=powerpc-ibm
  592. + os=-os400
  593. + ;;
  594. OSE68000 | ose68000)
  595. basic_machine=m68000-ericsson
  596. os=-ose
  597. @@ -605,45 +815,75 @@
  598. pbb)
  599. basic_machine=m68k-tti
  600. ;;
  601. - pc532 | pc532-*)
  602. + pc532 | pc532-*)
  603. basic_machine=ns32k-pc532
  604. ;;
  605. - pentium | p5 | k5 | k6 | nexen)
  606. + pc98)
  607. + basic_machine=i386-pc
  608. + ;;
  609. + pc98-*)
  610. + basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'`
  611. + ;;
  612. + pentium | p5 | k5 | k6 | nexgen | viac3)
  613. basic_machine=i586-pc
  614. ;;
  615. - pentiumpro | p6 | 6x86)
  616. + pentiumpro | p6 | 6x86 | athlon | athlon_*)
  617. + basic_machine=i686-pc
  618. + ;;
  619. + pentiumii | pentium2 | pentiumiii | pentium3)
  620. basic_machine=i686-pc
  621. ;;
  622. - pentiumii | pentium2)
  623. + pentium4)
  624. basic_machine=i786-pc
  625. ;;
  626. - pentium-* | p5-* | k5-* | k6-* | nexen-*)
  627. + pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*)
  628. basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'`
  629. ;;
  630. - pentiumpro-* | p6-* | 6x86-*)
  631. + pentiumpro-* | p6-* | 6x86-* | athlon-*)
  632. basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
  633. ;;
  634. - pentiumii-* | pentium2-*)
  635. + pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*)
  636. + basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
  637. + ;;
  638. + pentium4-*)
  639. basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'`
  640. ;;
  641. pn)
  642. basic_machine=pn-gould
  643. ;;
  644. - power) basic_machine=rs6000-ibm
  645. + power) basic_machine=power-ibm
  646. ;;
  647. ppc) basic_machine=powerpc-unknown
  648. - ;;
  649. + ;;
  650. ppc-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
  651. ;;
  652. ppcle | powerpclittle | ppc-le | powerpc-little)
  653. basic_machine=powerpcle-unknown
  654. - ;;
  655. + ;;
  656. ppcle-* | powerpclittle-*)
  657. basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'`
  658. ;;
  659. + ppc64) basic_machine=powerpc64-unknown
  660. + ;;
  661. + ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'`
  662. + ;;
  663. + ppc64le | powerpc64little | ppc64-le | powerpc64-little)
  664. + basic_machine=powerpc64le-unknown
  665. + ;;
  666. + ppc64le-* | powerpc64little-*)
  667. + basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'`
  668. + ;;
  669. ps2)
  670. basic_machine=i386-ibm
  671. ;;
  672. + pw32)
  673. + basic_machine=i586-unknown
  674. + os=-pw32
  675. + ;;
  676. + rdos)
  677. + basic_machine=i386-pc
  678. + os=-rdos
  679. + ;;
  680. rom68k)
  681. basic_machine=m68k-rom68k
  682. os=-coff
  683. @@ -654,10 +894,30 @@
  684. rtpc | rtpc-*)
  685. basic_machine=romp-ibm
  686. ;;
  687. + s390 | s390-*)
  688. + basic_machine=s390-ibm
  689. + ;;
  690. + s390x | s390x-*)
  691. + basic_machine=s390x-ibm
  692. + ;;
  693. sa29200)
  694. basic_machine=a29k-amd
  695. os=-udi
  696. ;;
  697. + sb1)
  698. + basic_machine=mipsisa64sb1-unknown
  699. + ;;
  700. + sb1el)
  701. + basic_machine=mipsisa64sb1el-unknown
  702. + ;;
  703. + sde)
  704. + basic_machine=mipsisa32-sde
  705. + os=-elf
  706. + ;;
  707. + sei)
  708. + basic_machine=mips-sei
  709. + os=-seiux
  710. + ;;
  711. sequent)
  712. basic_machine=i386-sequent
  713. ;;
  714. @@ -665,7 +925,10 @@
  715. basic_machine=sh-hitachi
  716. os=-hms
  717. ;;
  718. - sparclite-wrs)
  719. + sh64)
  720. + basic_machine=sh64-unknown
  721. + ;;
  722. + sparclite-wrs | simso-wrs)
  723. basic_machine=sparclite-wrs
  724. os=-vxworks
  725. ;;
  726. @@ -723,23 +986,51 @@
  727. sun386 | sun386i | roadrunner)
  728. basic_machine=i386-sun
  729. ;;
  730. + sv1)
  731. + basic_machine=sv1-cray
  732. + os=-unicos
  733. + ;;
  734. symmetry)
  735. basic_machine=i386-sequent
  736. os=-dynix
  737. ;;
  738. t3e)
  739. - basic_machine=t3e-cray
  740. + basic_machine=alphaev5-cray
  741. + os=-unicos
  742. + ;;
  743. + t90)
  744. + basic_machine=t90-cray
  745. os=-unicos
  746. ;;
  747. + tic54x | c54x*)
  748. + basic_machine=tic54x-unknown
  749. + os=-coff
  750. + ;;
  751. + tic55x | c55x*)
  752. + basic_machine=tic55x-unknown
  753. + os=-coff
  754. + ;;
  755. + tic6x | c6x*)
  756. + basic_machine=tic6x-unknown
  757. + os=-coff
  758. + ;;
  759. tx39)
  760. basic_machine=mipstx39-unknown
  761. ;;
  762. tx39el)
  763. basic_machine=mipstx39el-unknown
  764. ;;
  765. + toad1)
  766. + basic_machine=pdp10-xkl
  767. + os=-tops20
  768. + ;;
  769. tower | tower-32)
  770. basic_machine=m68k-ncr
  771. ;;
  772. + tpf)
  773. + basic_machine=s390x-ibm
  774. + os=-tpf
  775. + ;;
  776. udi29k)
  777. basic_machine=a29k-amd
  778. os=-udi
  779. @@ -761,8 +1052,8 @@
  780. os=-vms
  781. ;;
  782. vpp*|vx|vx-*)
  783. - basic_machine=f301-fujitsu
  784. - ;;
  785. + basic_machine=f301-fujitsu
  786. + ;;
  787. vxworks960)
  788. basic_machine=i960-wrs
  789. os=-vxworks
  790. @@ -783,13 +1074,17 @@
  791. basic_machine=hppa1.1-winbond
  792. os=-proelf
  793. ;;
  794. - xmp)
  795. - basic_machine=xmp-cray
  796. - os=-unicos
  797. + xbox)
  798. + basic_machine=i686-pc
  799. + os=-mingw32
  800. ;;
  801. - xps | xps100)
  802. + xps | xps100)
  803. basic_machine=xps100-honeywell
  804. ;;
  805. + ymp)
  806. + basic_machine=ymp-cray
  807. + os=-unicos
  808. + ;;
  809. z8k-*-coff)
  810. basic_machine=z8k-unknown
  811. os=-sim
  812. @@ -810,32 +1105,35 @@
  813. op60c)
  814. basic_machine=hppa1.1-oki
  815. ;;
  816. - mips)
  817. - if [ x$os = x-linux-gnu ]; then
  818. - basic_machine=mips-unknown
  819. - else
  820. - basic_machine=mips-mips
  821. - fi
  822. - ;;
  823. romp)
  824. basic_machine=romp-ibm
  825. ;;
  826. + mmix)
  827. + basic_machine=mmix-knuth
  828. + ;;
  829. rs6000)
  830. basic_machine=rs6000-ibm
  831. ;;
  832. vax)
  833. basic_machine=vax-dec
  834. ;;
  835. + pdp10)
  836. + # there are many clones, so DEC is not a safe bet
  837. + basic_machine=pdp10-unknown
  838. + ;;
  839. pdp11)
  840. basic_machine=pdp11-dec
  841. ;;
  842. we32k)
  843. basic_machine=we32k-att
  844. ;;
  845. - sparc | sparcv9)
  846. + sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele)
  847. + basic_machine=sh-unknown
  848. + ;;
  849. + sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v)
  850. basic_machine=sparc-sun
  851. ;;
  852. - cydra)
  853. + cydra)
  854. basic_machine=cydra-cydrome
  855. ;;
  856. orion)
  857. @@ -850,9 +1148,8 @@
  858. pmac | pmac-mpw)
  859. basic_machine=powerpc-apple
  860. ;;
  861. - c4x*)
  862. - basic_machine=c4x-none
  863. - os=-coff
  864. + *-unknown)
  865. + # Make sure to match an already-canonicalized machine name.
  866. ;;
  867. *)
  868. echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
  869. @@ -906,22 +1203,49 @@
  870. | -aos* \
  871. | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
  872. | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
  873. - | -hiux* | -386bsd* | -netbsd* | -openbsd* | -freebsd* | -riscix* \
  874. - | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
  875. + | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
  876. + | -openbsd* | -solidbsd* \
  877. + | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
  878. + | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
  879. | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
  880. | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
  881. + | -chorusos* | -chorusrdb* \
  882. | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
  883. - | -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \
  884. - | -interix* | -uwin* | -rhapsody* | -openstep* | -oskit*)
  885. + | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \
  886. + | -uxpv* | -beos* | -mpeix* | -udk* \
  887. + | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
  888. + | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
  889. + | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
  890. + | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
  891. + | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
  892. + | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
  893. + | -skyos* | -haiku* | -rdos* | -toppers*)
  894. # Remember, each alternative MUST END IN *, to match a version number.
  895. ;;
  896. + -qnx*)
  897. + case $basic_machine in
  898. + x86-* | i*86-*)
  899. + ;;
  900. + *)
  901. + os=-nto$os
  902. + ;;
  903. + esac
  904. + ;;
  905. + -nto-qnx*)
  906. + ;;
  907. + -nto*)
  908. + os=`echo $os | sed -e 's|nto|nto-qnx|'`
  909. + ;;
  910. -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
  911. - | -windows* | -osx | -abug | -netware* | -os9* | -beos* \
  912. - | -macos* | -mpw* | -magic* | -mon960* | -lnews*)
  913. + | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \
  914. + | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*)
  915. ;;
  916. -mac*)
  917. os=`echo $os | sed -e 's|mac|macos|'`
  918. ;;
  919. + -linux-dietlibc)
  920. + os=-linux-dietlibc
  921. + ;;
  922. -linux*)
  923. os=`echo $os | sed -e 's|linux|linux-gnu|'`
  924. ;;
  925. @@ -931,6 +1255,15 @@
  926. -sunos6*)
  927. os=`echo $os | sed -e 's|sunos6|solaris3|'`
  928. ;;
  929. + -opened*)
  930. + os=-openedition
  931. + ;;
  932. + -os400*)
  933. + os=-os400
  934. + ;;
  935. + -wince*)
  936. + os=-wince
  937. + ;;
  938. -osfrose*)
  939. os=-osfrose
  940. ;;
  941. @@ -946,14 +1279,26 @@
  942. -acis*)
  943. os=-aos
  944. ;;
  945. + -atheos*)
  946. + os=-atheos
  947. + ;;
  948. + -syllable*)
  949. + os=-syllable
  950. + ;;
  951. -386bsd)
  952. os=-bsd
  953. ;;
  954. -ctix* | -uts*)
  955. os=-sysv
  956. ;;
  957. + -nova*)
  958. + os=-rtmk-nova
  959. + ;;
  960. -ns2 )
  961. - os=-nextstep2
  962. + os=-nextstep2
  963. + ;;
  964. + -nsk*)
  965. + os=-nsk
  966. ;;
  967. # Preserve the version number of sinix5.
  968. -sinix5.*)
  969. @@ -962,6 +1307,9 @@
  970. -sinix*)
  971. os=-sysv4
  972. ;;
  973. + -tpf*)
  974. + os=-tpf
  975. + ;;
  976. -triton*)
  977. os=-sysv3
  978. ;;
  979. @@ -989,8 +1337,17 @@
  980. -xenix)
  981. os=-xenix
  982. ;;
  983. - -*mint | -*MiNT)
  984. - os=-mint
  985. + -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
  986. + os=-mint
  987. + ;;
  988. + -aros*)
  989. + os=-aros
  990. + ;;
  991. + -kaos*)
  992. + os=-kaos
  993. + ;;
  994. + -zvmoe)
  995. + os=-zvmoe
  996. ;;
  997. -none)
  998. ;;
  999. @@ -1014,16 +1371,29 @@
  1000. # system, and we'll never get to this point.
  1001. case $basic_machine in
  1002. + score-*)
  1003. + os=-elf
  1004. + ;;
  1005. + spu-*)
  1006. + os=-elf
  1007. + ;;
  1008. *-acorn)
  1009. os=-riscix1.2
  1010. ;;
  1011. - arm*-corel)
  1012. + arm*-rebel)
  1013. os=-linux
  1014. ;;
  1015. arm*-semi)
  1016. os=-aout
  1017. ;;
  1018. - pdp11-*)
  1019. + c4x-* | tic4x-*)
  1020. + os=-coff
  1021. + ;;
  1022. + # This must come before the *-dec entry.
  1023. + pdp10-*)
  1024. + os=-tops20
  1025. + ;;
  1026. + pdp11-*)
  1027. os=-none
  1028. ;;
  1029. *-dec | vax-*)
  1030. @@ -1050,6 +1420,9 @@
  1031. mips*-*)
  1032. os=-elf
  1033. ;;
  1034. + or32-*)
  1035. + os=-coff
  1036. + ;;
  1037. *-tti) # must be before sparc entry or we get the wrong os.
  1038. os=-sysv3
  1039. ;;
  1040. @@ -1059,9 +1432,15 @@
  1041. *-be)
  1042. os=-beos
  1043. ;;
  1044. + *-haiku)
  1045. + os=-haiku
  1046. + ;;
  1047. *-ibm)
  1048. os=-aix
  1049. ;;
  1050. + *-knuth)
  1051. + os=-mmixware
  1052. + ;;
  1053. *-wec)
  1054. os=-proelf
  1055. ;;
  1056. @@ -1113,25 +1492,25 @@
  1057. *-next)
  1058. os=-nextstep3
  1059. ;;
  1060. - *-gould)
  1061. + *-gould)
  1062. os=-sysv
  1063. ;;
  1064. - *-highlevel)
  1065. + *-highlevel)
  1066. os=-bsd
  1067. ;;
  1068. *-encore)
  1069. os=-bsd
  1070. ;;
  1071. - *-sgi)
  1072. + *-sgi)
  1073. os=-irix
  1074. ;;
  1075. - *-siemens)
  1076. + *-siemens)
  1077. os=-sysv4
  1078. ;;
  1079. *-masscomp)
  1080. os=-rtu
  1081. ;;
  1082. - f301-fujitsu)
  1083. + f30[01]-fujitsu | f700-fujitsu)
  1084. os=-uxpv
  1085. ;;
  1086. *-rom68k)
  1087. @@ -1191,13 +1570,19 @@
  1088. -genix*)
  1089. vendor=ns
  1090. ;;
  1091. - -mvs*)
  1092. + -mvs* | -opened*)
  1093. + vendor=ibm
  1094. + ;;
  1095. + -os400*)
  1096. vendor=ibm
  1097. ;;
  1098. -ptx*)
  1099. vendor=sequent
  1100. ;;
  1101. - -vxsim* | -vxworks*)
  1102. + -tpf*)
  1103. + vendor=ibm
  1104. + ;;
  1105. + -vxsim* | -vxworks* | -windiss*)
  1106. vendor=wrs
  1107. ;;
  1108. -aux*)
  1109. @@ -1209,12 +1594,23 @@
  1110. -mpw* | -macos*)
  1111. vendor=apple
  1112. ;;
  1113. - -*mint | -*MiNT)
  1114. + -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
  1115. vendor=atari
  1116. ;;
  1117. + -vos*)
  1118. + vendor=stratus
  1119. + ;;
  1120. esac
  1121. basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"`
  1122. ;;
  1123. esac
  1124. echo $basic_machine$os
  1125. +exit
  1126. +
  1127. +# Local variables:
  1128. +# eval: (add-hook 'write-file-hooks 'time-stamp)
  1129. +# time-stamp-start: "timestamp='"
  1130. +# time-stamp-format: "%:y-%02m-%02d"
  1131. +# time-stamp-end: "'"
  1132. +# End:
  1133. --- recode-3.6.orig/src/request.c
  1134. +++ recode-3.6/src/request.c
  1135. @@ -1073,7 +1073,7 @@
  1136. if (task->output.cursor + 4 >= task->output.limit)
  1137. {
  1138. RECODE_OUTER outer = task->request->outer;
  1139. - size_t old_size = task->output.limit - task->output.buffer;
  1140. + size_t old_size = task->output.cursor - task->output.buffer;
  1141. size_t new_size = task->output.cursor + 4 - task->output.buffer;
  1142. /* FIXME: Rethink about how the error should be reported. */
  1143. --- recode-3.6.orig/src/libiconv.c
  1144. +++ recode-3.6/src/libiconv.c
  1145. @@ -1,5 +1,5 @@
  1146. /* Conversion of files between different charsets and surfaces.
  1147. - Copyright © 1999, 2000 Free Software Foundation, Inc.
  1148. + Copyright © 1999, 2000, 2001 Free Software Foundation, Inc.
  1149. Contributed by François Pinard <pinard@iro.umontreal.ca>, 1999,
  1150. and Bruno Haible <haible@clisp.cons.org>, 2000.
  1151. @@ -195,12 +195,17 @@
  1152. memcpy() doesn't do here, because the regions might overlap.
  1153. memmove() isn't worth it, because we rarely have to move more
  1154. than 12 bytes. */
  1155. - if (input > input_buffer && input_left > 0)
  1156. + cursor = input_buffer;
  1157. + if (input_left > 0)
  1158. {
  1159. - cursor = input_buffer;
  1160. - do
  1161. - *cursor++ = *input++;
  1162. - while (--input_left > 0);
  1163. + if (input > input_buffer)
  1164. + {
  1165. + do
  1166. + *cursor++ = *input++;
  1167. + while (--input_left > 0);
  1168. + }
  1169. + else
  1170. + cursor += input_left;
  1171. }
  1172. }
  1173. --- recode-3.6.orig/src/recodext.h
  1174. +++ recode-3.6/src/recodext.h
  1175. @@ -218,7 +218,7 @@
  1176. enum recode_symbol_type type : 3;
  1177. /* Non zero if this one should be ignored. */
  1178. - bool ignore : 2;
  1179. + bool ignore : 1;
  1180. };
  1181. struct recode_surface_list
  1182. --- recode-3.6.orig/src/task.c
  1183. +++ recode-3.6/src/task.c
  1184. @@ -1198,6 +1198,8 @@
  1185. else
  1186. success = transform_mere_copy (subtask);
  1187. + task->output = subtask->output;
  1188. +
  1189. if (subtask->input.name && *subtask->input.name)
  1190. fclose (subtask->input.file);
  1191. if (subtask->output.name && *subtask->output.name)
  1192. --- recode-3.6.orig/src/Makefile.in
  1193. +++ recode-3.6/src/Makefile.in
  1194. @@ -819,7 +819,7 @@
  1195. $(srcdir)/recode.1: recode
  1196. @if test -r $@ && test ! -w $@; then \
  1197. echo "WARNING: Page \`$@' read only, not updated"; \
  1198. - elif $(PERL) $(top_srcdir)/doc/help2man --output=$@ ./recode; then \
  1199. + elif $(PERL) $(top_srcdir)/doc/help2man --name="converts files between character sets" --output=$@ ./recode; then \
  1200. echo "Page \`$@' has been updated"; \
  1201. else \
  1202. echo "WARNING: Page \`$@' has *not* been updated."; \
  1203. --- recode-3.6.orig/src/hash.h
  1204. +++ recode-3.6/src/hash.h
  1205. @@ -21,6 +21,11 @@
  1206. /* Make sure USE_OBSTACK is defined to 1 if you want the allocator to use
  1207. obstacks instead of malloc, and recompile `hash.c' with same setting. */
  1208. +#define hash_lookup recode_hash_lookup
  1209. +#define hash_delete recode_hash_delete
  1210. +#define hash_free recode_hash_free
  1211. +#define hash_insert recode_hash_insert
  1212. +
  1213. #ifndef PARAMS
  1214. # if PROTOTYPES || __STDC__
  1215. # define PARAMS(Args) Args
  1216. --- recode-3.6.orig/acinclude.m4
  1217. +++ recode-3.6/acinclude.m4
  1218. @@ -1,5 +1,6 @@
  1219. -## libtool.m4 - Configure libtool for the target system. -*-Shell-script-*-
  1220. -## Copyright (C) 1996-1999 Free Software Foundation, Inc.
  1221. +# libtool.m4 - Configure libtool for the host system. -*-Shell-script-*-
  1222. +## Copyright 1996, 1997, 1998, 1999, 2000, 2001
  1223. +## Free Software Foundation, Inc.
  1224. ## Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
  1225. ##
  1226. ## This program is free software; you can redistribute it and/or modify
  1227. @@ -21,134 +22,3028 @@
  1228. ## configuration script generated by Autoconf, you may include it under
  1229. ## the same distribution terms that you use for the rest of that program.
  1230. -# serial 40 AC_PROG_LIBTOOL
  1231. -AC_DEFUN(AC_PROG_LIBTOOL,
  1232. +# serial 46 AC_PROG_LIBTOOL
  1233. +# Debian $Rev: 50 $
  1234. +
  1235. +AC_DEFUN([AC_PROG_LIBTOOL],
  1236. [AC_REQUIRE([AC_LIBTOOL_SETUP])dnl
  1237. -# Save cache, so that ltconfig can load it
  1238. -AC_CACHE_SAVE
  1239. +# This can be used to rebuild libtool when needed
  1240. +LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
  1241. +
  1242. +# Always use our own libtool.
  1243. +LIBTOOL='$(SHELL) $(top_builddir)/libtool'
  1244. +AC_SUBST(LIBTOOL)dnl
  1245. +
  1246. +# Prevent multiple expansion
  1247. +define([AC_PROG_LIBTOOL], [])
  1248. +])
  1249. +
  1250. +AC_DEFUN([AC_LIBTOOL_SETUP],
  1251. +[AC_PREREQ(2.13)dnl
  1252. +AC_REQUIRE([AC_ENABLE_SHARED])dnl
  1253. +AC_REQUIRE([AC_ENABLE_STATIC])dnl
  1254. +AC_REQUIRE([AC_ENABLE_FAST_INSTALL])dnl
  1255. +AC_REQUIRE([AC_CANONICAL_HOST])dnl
  1256. +AC_REQUIRE([AC_CANONICAL_BUILD])dnl
  1257. +AC_REQUIRE([AC_PROG_CC])dnl
  1258. +AC_REQUIRE([AC_PROG_LD])dnl
  1259. +AC_REQUIRE([AC_PROG_LD_RELOAD_FLAG])dnl
  1260. +AC_REQUIRE([AC_PROG_NM])dnl
  1261. +AC_REQUIRE([LT_AC_PROG_SED])dnl
  1262. +
  1263. +AC_REQUIRE([AC_PROG_LN_S])dnl
  1264. +AC_REQUIRE([AC_DEPLIBS_CHECK_METHOD])dnl
  1265. +AC_REQUIRE([AC_OBJEXT])dnl
  1266. +AC_REQUIRE([AC_EXEEXT])dnl
  1267. +dnl
  1268. +
  1269. +_LT_AC_PROG_ECHO_BACKSLASH
  1270. +# Only perform the check for file, if the check method requires it
  1271. +case $deplibs_check_method in
  1272. +file_magic*)
  1273. + if test "$file_magic_cmd" = '$MAGIC_CMD'; then
  1274. + AC_PATH_MAGIC
  1275. + fi
  1276. + ;;
  1277. +esac
  1278. +
  1279. +AC_CHECK_TOOL(RANLIB, ranlib, :)
  1280. +AC_CHECK_TOOL(STRIP, strip, :)
  1281. +
  1282. +ifdef([AC_PROVIDE_AC_LIBTOOL_DLOPEN], enable_dlopen=yes, enable_dlopen=no)
  1283. +ifdef([AC_PROVIDE_AC_LIBTOOL_WIN32_DLL],
  1284. +enable_win32_dll=yes, enable_win32_dll=no)
  1285. +
  1286. +AC_ARG_ENABLE(libtool-lock,
  1287. + [ --disable-libtool-lock avoid locking (might break parallel builds)])
  1288. +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
  1289. +
  1290. +# Some flags need to be propagated to the compiler or linker for good
  1291. +# libtool support.
  1292. +case $host in
  1293. +*-*-irix6*)
  1294. + # Find out which ABI we are using.
  1295. + echo '[#]line __oline__ "configure"' > conftest.$ac_ext
  1296. + if AC_TRY_EVAL(ac_compile); then
  1297. + case `/usr/bin/file conftest.$ac_objext` in
  1298. + *32-bit*)
  1299. + LD="${LD-ld} -32"
  1300. + ;;
  1301. + *N32*)
  1302. + LD="${LD-ld} -n32"
  1303. + ;;
  1304. + *64-bit*)
  1305. + LD="${LD-ld} -64"
  1306. + ;;
  1307. + esac
  1308. + fi
  1309. + rm -rf conftest*
  1310. + ;;
  1311. +
  1312. +*-*-sco3.2v5*)
  1313. + # On SCO OpenServer 5, we need -belf to get full-featured binaries.
  1314. + SAVE_CFLAGS="$CFLAGS"
  1315. + CFLAGS="$CFLAGS -belf"
  1316. + AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,
  1317. + [AC_LANG_SAVE
  1318. + AC_LANG_C
  1319. + AC_TRY_LINK([],[],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])
  1320. + AC_LANG_RESTORE])
  1321. + if test x"$lt_cv_cc_needs_belf" != x"yes"; then
  1322. + # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
  1323. + CFLAGS="$SAVE_CFLAGS"
  1324. + fi
  1325. + ;;
  1326. +
  1327. +ifdef([AC_PROVIDE_AC_LIBTOOL_WIN32_DLL],
  1328. +[*-*-cygwin* | *-*-mingw* | *-*-pw32*)
  1329. + AC_CHECK_TOOL(DLLTOOL, dlltool, false)
  1330. + AC_CHECK_TOOL(AS, as, false)
  1331. + AC_CHECK_TOOL(OBJDUMP, objdump, false)
  1332. +
  1333. + # recent cygwin and mingw systems supply a stub DllMain which the user
  1334. + # can override, but on older systems we have to supply one
  1335. + AC_CACHE_CHECK([if libtool should supply DllMain function], lt_cv_need_dllmain,
  1336. + [AC_TRY_LINK([],
  1337. + [extern int __attribute__((__stdcall__)) DllMain(void*, int, void*);
  1338. + DllMain (0, 0, 0);],
  1339. + [lt_cv_need_dllmain=no],[lt_cv_need_dllmain=yes])])
  1340. +
  1341. + case $host/$CC in
  1342. + *-*-cygwin*/gcc*-mno-cygwin*|*-*-mingw*)
  1343. + # old mingw systems require "-dll" to link a DLL, while more recent ones
  1344. + # require "-mdll"
  1345. + SAVE_CFLAGS="$CFLAGS"
  1346. + CFLAGS="$CFLAGS -mdll"
  1347. + AC_CACHE_CHECK([how to link DLLs], lt_cv_cc_dll_switch,
  1348. + [AC_TRY_LINK([], [], [lt_cv_cc_dll_switch=-mdll],[lt_cv_cc_dll_switch=-dll])])
  1349. + CFLAGS="$SAVE_CFLAGS" ;;
  1350. + *-*-cygwin* | *-*-pw32*)
  1351. + # cygwin systems need to pass --dll to the linker, and not link
  1352. + # crt.o which will require a WinMain@16 definition.
  1353. + lt_cv_cc_dll_switch="-Wl,--dll -nostartfiles" ;;
  1354. + esac
  1355. + ;;
  1356. + ])
  1357. +esac
  1358. +
  1359. +_LT_AC_LTCONFIG_HACK
  1360. +
  1361. +])
  1362. +
  1363. +# AC_LIBTOOL_HEADER_ASSERT
  1364. +# ------------------------
  1365. +AC_DEFUN([AC_LIBTOOL_HEADER_ASSERT],
  1366. +[AC_CACHE_CHECK([whether $CC supports assert without backlinking],
  1367. + [lt_cv_func_assert_works],
  1368. + [case $host in
  1369. + *-*-solaris*)
  1370. + if test "$GCC" = yes && test "$with_gnu_ld" != yes; then
  1371. + case `$CC --version 2>/dev/null` in
  1372. + [[12]].*) lt_cv_func_assert_works=no ;;
  1373. + *) lt_cv_func_assert_works=yes ;;
  1374. + esac
  1375. + fi
  1376. + ;;
  1377. + esac])
  1378. +
  1379. +if test "x$lt_cv_func_assert_works" = xyes; then
  1380. + AC_CHECK_HEADERS(assert.h)
  1381. +fi
  1382. +])# AC_LIBTOOL_HEADER_ASSERT
  1383. +
  1384. +# _LT_AC_CHECK_DLFCN
  1385. +# --------------------
  1386. +AC_DEFUN([_LT_AC_CHECK_DLFCN],
  1387. +[AC_CHECK_HEADERS(dlfcn.h)
  1388. +])# _LT_AC_CHECK_DLFCN
  1389. +
  1390. +# AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
  1391. +# ---------------------------------
  1392. +AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE],
  1393. +[AC_REQUIRE([AC_CANONICAL_HOST])
  1394. +AC_REQUIRE([AC_PROG_NM])
  1395. +AC_REQUIRE([AC_OBJEXT])
  1396. +# Check for command to grab the raw symbol name followed by C symbol from nm.
  1397. +AC_MSG_CHECKING([command to parse $NM output])
  1398. +AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe], [dnl
  1399. +
  1400. +# These are sane defaults that work on at least a few old systems.
  1401. +# [They come from Ultrix. What could be older than Ultrix?!! ;)]
  1402. +
  1403. +# Character class describing NM global symbol codes.
  1404. +symcode='[[BCDEGRST]]'
  1405. +
  1406. +# Regexp to match symbols that can be accessed directly from C.
  1407. +sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)'
  1408. +
  1409. +# Transform the above into a raw symbol and a C symbol.
  1410. +symxfrm='\1 \2\3 \3'
  1411. +
  1412. +# Transform an extracted symbol line into a proper C declaration
  1413. +lt_cv_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern char \1;/p'"
  1414. +
  1415. +# Transform an extracted symbol line into symbol name and symbol address
  1416. +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'"
  1417. +
  1418. +# Define system-specific variables.
  1419. +case $host_os in
  1420. +aix*)
  1421. + symcode='[[BCDT]]'
  1422. + ;;
  1423. +cygwin* | mingw* | pw32*)
  1424. + symcode='[[ABCDGISTW]]'
  1425. + ;;
  1426. +hpux*) # Its linker distinguishes data from code symbols
  1427. + lt_cv_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern char \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
  1428. + 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'"
  1429. + ;;
  1430. +irix* | nonstopux*)
  1431. + symcode='[[BCDEGRST]]'
  1432. + ;;
  1433. +osf*)
  1434. + symcode='[[BCDEGQRST]]'
  1435. + ;;
  1436. +solaris* | sysv5*)
  1437. + symcode='[[BDT]]'
  1438. + ;;
  1439. +sysv4)
  1440. + symcode='[[DFNSTU]]'
  1441. + ;;
  1442. +esac
  1443. +
  1444. +# Handle CRLF in mingw tool chain
  1445. +opt_cr=
  1446. +case $host_os in
  1447. +mingw*)
  1448. + opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
  1449. + ;;
  1450. +esac
  1451. +
  1452. +# If we're using GNU nm, then use its standard symbol codes.
  1453. +if $NM -V 2>&1 | egrep '(GNU|with BFD)' > /dev/null; then
  1454. + symcode='[[ABCDGISTW]]'
  1455. +fi
  1456. +
  1457. +# Try without a prefix undercore, then with it.
  1458. +for ac_symprfx in "" "_"; do
  1459. +
  1460. + # Write the raw and C identifiers.
  1461. +lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
  1462. +
  1463. + # Check to see that the pipe works correctly.
  1464. + pipe_works=no
  1465. + rm -f conftest*
  1466. + cat > conftest.$ac_ext <<EOF
  1467. +#ifdef __cplusplus
  1468. +extern "C" {
  1469. +#endif
  1470. +char nm_test_var;
  1471. +void nm_test_func(){}
  1472. +#ifdef __cplusplus
  1473. +}
  1474. +#endif
  1475. +int main(){nm_test_var='a';nm_test_func();return(0);}
  1476. +EOF
  1477. +
  1478. + if AC_TRY_EVAL(ac_compile); then
  1479. + # Now try to grab the symbols.
  1480. + nlist=conftest.nm
  1481. + if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) && test -s "$nlist"; then
  1482. + # Try sorting and uniquifying the output.
  1483. + if sort "$nlist" | uniq > "$nlist"T; then
  1484. + mv -f "$nlist"T "$nlist"
  1485. + else
  1486. + rm -f "$nlist"T
  1487. + fi
  1488. +
  1489. + # Make sure that we snagged all the symbols we need.
  1490. + if egrep ' nm_test_var$' "$nlist" >/dev/null; then
  1491. + if egrep ' nm_test_func$' "$nlist" >/dev/null; then
  1492. + cat <<EOF > conftest.$ac_ext
  1493. +#ifdef __cplusplus
  1494. +extern "C" {
  1495. +#endif
  1496. +
  1497. +EOF
  1498. + # Now generate the symbol file.
  1499. + eval "$lt_cv_global_symbol_to_cdecl"' < "$nlist" >> conftest.$ac_ext'
  1500. +
  1501. + cat <<EOF >> conftest.$ac_ext
  1502. +#if defined (__STDC__) && __STDC__
  1503. +# define lt_ptr void *
  1504. +#else
  1505. +# define lt_ptr char *
  1506. +# define const
  1507. +#endif
  1508. +
  1509. +/* The mapping between symbol names and symbols. */
  1510. +const struct {
  1511. + const char *name;
  1512. + lt_ptr address;
  1513. +}
  1514. +lt_preloaded_symbols[[]] =
  1515. +{
  1516. +EOF
  1517. + sed "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr) \&\2},/" < "$nlist" >> conftest.$ac_ext
  1518. + cat <<\EOF >> conftest.$ac_ext
  1519. + {0, (lt_ptr) 0}
  1520. +};
  1521. +
  1522. +#ifdef __cplusplus
  1523. +}
  1524. +#endif
  1525. +EOF
  1526. + # Now try linking the two files.
  1527. + mv conftest.$ac_objext conftstm.$ac_objext
  1528. + save_LIBS="$LIBS"
  1529. + save_CFLAGS="$CFLAGS"
  1530. + LIBS="conftstm.$ac_objext"
  1531. + CFLAGS="$CFLAGS$no_builtin_flag"
  1532. + if AC_TRY_EVAL(ac_link) && test -s conftest$ac_exeext; then
  1533. + pipe_works=yes
  1534. + fi
  1535. + LIBS="$save_LIBS"
  1536. + CFLAGS="$save_CFLAGS"
  1537. + else
  1538. + echo "cannot find nm_test_func in $nlist" >&AC_FD_CC
  1539. + fi
  1540. + else
  1541. + echo "cannot find nm_test_var in $nlist" >&AC_FD_CC
  1542. + fi
  1543. + else
  1544. + echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AC_FD_CC
  1545. + fi
  1546. + else
  1547. + echo "$progname: failed program was:" >&AC_FD_CC
  1548. + cat conftest.$ac_ext >&5
  1549. + fi
  1550. + rm -f conftest* conftst*
  1551. +
  1552. + # Do not use the global_symbol_pipe unless it works.
  1553. + if test "$pipe_works" = yes; then
  1554. + break
  1555. + else
  1556. + lt_cv_sys_global_symbol_pipe=
  1557. + fi
  1558. +done
  1559. +])
  1560. +global_symbol_pipe="$lt_cv_sys_global_symbol_pipe"
  1561. +if test -z "$lt_cv_sys_global_symbol_pipe"; then
  1562. + global_symbol_to_cdecl=
  1563. + global_symbol_to_c_name_address=
  1564. +else
  1565. + global_symbol_to_cdecl="$lt_cv_global_symbol_to_cdecl"
  1566. + global_symbol_to_c_name_address="$lt_cv_global_symbol_to_c_name_address"
  1567. +fi
  1568. +if test -z "$global_symbol_pipe$global_symbol_to_cdec$global_symbol_to_c_name_address";
  1569. +then
  1570. + AC_MSG_RESULT(failed)
  1571. +else
  1572. + AC_MSG_RESULT(ok)
  1573. +fi
  1574. +]) # AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
  1575. +
  1576. +# _LT_AC_LIBTOOL_SYS_PATH_SEPARATOR
  1577. +# ---------------------------------
  1578. +AC_DEFUN([_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR],
  1579. +[# Find the correct PATH separator. Usually this is `:', but
  1580. +# DJGPP uses `;' like DOS.
  1581. +if test "X${PATH_SEPARATOR+set}" != Xset; then
  1582. + UNAME=${UNAME-`uname 2>/dev/null`}
  1583. + case X$UNAME in
  1584. + *-DOS) lt_cv_sys_path_separator=';' ;;
  1585. + *) lt_cv_sys_path_separator=':' ;;
  1586. + esac
  1587. + PATH_SEPARATOR=$lt_cv_sys_path_separator
  1588. +fi
  1589. +])# _LT_AC_LIBTOOL_SYS_PATH_SEPARATOR
  1590. +
  1591. +# _LT_AC_PROG_ECHO_BACKSLASH
  1592. +# --------------------------
  1593. +# Add some code to the start of the generated configure script which
  1594. +# will find an echo command which doesn't interpret backslashes.
  1595. +AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH],
  1596. +[ifdef([AC_DIVERSION_NOTICE], [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)],
  1597. + [AC_DIVERT_PUSH(NOTICE)])
  1598. +_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR
  1599. +
  1600. +# Check that we are running under the correct shell.
  1601. +SHELL=${CONFIG_SHELL-/bin/sh}
  1602. +
  1603. +case X$ECHO in
  1604. +X*--fallback-echo)
  1605. + # Remove one level of quotation (which was required for Make).
  1606. + ECHO=`echo "$ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','`
  1607. + ;;
  1608. +esac
  1609. +
  1610. +echo=${ECHO-echo}
  1611. +if test "X[$]1" = X--no-reexec; then
  1612. + # Discard the --no-reexec flag, and continue.
  1613. + shift
  1614. +elif test "X[$]1" = X--fallback-echo; then
  1615. + # Avoid inline document here, it may be left over
  1616. + :
  1617. +elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then
  1618. + # Yippee, $echo works!
  1619. + :
  1620. +else
  1621. + # Restart under the correct shell.
  1622. + exec $SHELL "[$]0" --no-reexec ${1+"[$]@"}
  1623. +fi
  1624. +
  1625. +if test "X[$]1" = X--fallback-echo; then
  1626. + # used as fallback echo
  1627. + shift
  1628. + cat <<EOF
  1629. +$*
  1630. +EOF
  1631. + exit 0
  1632. +fi
  1633. +
  1634. +# The HP-UX ksh and POSIX shell print the target directory to stdout
  1635. +# if CDPATH is set.
  1636. +if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
  1637. +
  1638. +if test -z "$ECHO"; then
  1639. +if test "X${echo_test_string+set}" != Xset; then
  1640. +# find a string as large as possible, as long as the shell can cope with it
  1641. + for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do
  1642. + # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
  1643. + if (echo_test_string="`eval $cmd`") 2>/dev/null &&
  1644. + echo_test_string="`eval $cmd`" &&
  1645. + (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
  1646. + then
  1647. + break
  1648. + fi
  1649. + done
  1650. +fi
  1651. +
  1652. +if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
  1653. + echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
  1654. + test "X$echo_testing_string" = "X$echo_test_string"; then
  1655. + :
  1656. +else
  1657. + # The Solaris, AIX, and Digital Unix default echo programs unquote
  1658. + # backslashes. This makes it impossible to quote backslashes using
  1659. + # echo "$something" | sed 's/\\/\\\\/g'
  1660. + #
  1661. + # So, first we look for a working echo in the user's PATH.
  1662. +
  1663. + IFS="${IFS= }"; save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  1664. + for dir in $PATH /usr/ucb; do
  1665. + if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
  1666. + test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
  1667. + echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
  1668. + test "X$echo_testing_string" = "X$echo_test_string"; then
  1669. + echo="$dir/echo"
  1670. + break
  1671. + fi
  1672. + done
  1673. + IFS="$save_ifs"
  1674. +
  1675. + if test "X$echo" = Xecho; then
  1676. + # We didn't find a better echo, so look for alternatives.
  1677. + if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
  1678. + echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
  1679. + test "X$echo_testing_string" = "X$echo_test_string"; then
  1680. + # This shell has a builtin print -r that does the trick.
  1681. + echo='print -r'
  1682. + elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
  1683. + test "X$CONFIG_SHELL" != X/bin/ksh; then
  1684. + # If we have ksh, try running configure again with it.
  1685. + ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
  1686. + export ORIGINAL_CONFIG_SHELL
  1687. + CONFIG_SHELL=/bin/ksh
  1688. + export CONFIG_SHELL
  1689. + exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"}
  1690. + else
  1691. + # Try using printf.
  1692. + echo='printf %s\n'
  1693. + if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
  1694. + echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
  1695. + test "X$echo_testing_string" = "X$echo_test_string"; then
  1696. + # Cool, printf works
  1697. + :
  1698. + elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
  1699. + test "X$echo_testing_string" = 'X\t' &&
  1700. + echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
  1701. + test "X$echo_testing_string" = "X$echo_test_string"; then
  1702. + CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
  1703. + export CONFIG_SHELL
  1704. + SHELL="$CONFIG_SHELL"
  1705. + export SHELL
  1706. + echo="$CONFIG_SHELL [$]0 --fallback-echo"
  1707. + elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
  1708. + test "X$echo_testing_string" = 'X\t' &&
  1709. + echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
  1710. + test "X$echo_testing_string" = "X$echo_test_string"; then
  1711. + echo="$CONFIG_SHELL [$]0 --fallback-echo"
  1712. + else
  1713. + # maybe with a smaller string...
  1714. + prev=:
  1715. +
  1716. + for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do
  1717. + if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
  1718. + then
  1719. + break
  1720. + fi
  1721. + prev="$cmd"
  1722. + done
  1723. +
  1724. + if test "$prev" != 'sed 50q "[$]0"'; then
  1725. + echo_test_string=`eval $prev`
  1726. + export echo_test_string
  1727. + exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"}
  1728. + else
  1729. + # Oops. We lost completely, so just stick with echo.
  1730. + echo=echo
  1731. + fi
  1732. + fi
  1733. + fi
  1734. + fi
  1735. +fi
  1736. +fi
  1737. +
  1738. +# Copy echo and quote the copy suitably for passing to libtool from
  1739. +# the Makefile, instead of quoting the original, which is used later.
  1740. +ECHO=$echo
  1741. +if test "X$ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then
  1742. + ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo"
  1743. +fi
  1744. +
  1745. +AC_SUBST(ECHO)
  1746. +AC_DIVERT_POP
  1747. +])# _LT_AC_PROG_ECHO_BACKSLASH
  1748. +
  1749. +# _LT_AC_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
  1750. +# ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
  1751. +# ------------------------------------------------------------------
  1752. +AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF],
  1753. +[if test "$cross_compiling" = yes; then :
  1754. + [$4]
  1755. +else
  1756. + AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
  1757. + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
  1758. + lt_status=$lt_dlunknown
  1759. + cat > conftest.$ac_ext <<EOF
  1760. +[#line __oline__ "configure"
  1761. +#include "confdefs.h"
  1762. +
  1763. +#if HAVE_DLFCN_H
  1764. +#include <dlfcn.h>
  1765. +#endif
  1766. +
  1767. +#include <stdio.h>
  1768. +
  1769. +#ifdef RTLD_GLOBAL
  1770. +# define LT_DLGLOBAL RTLD_GLOBAL
  1771. +#else
  1772. +# ifdef DL_GLOBAL
  1773. +# define LT_DLGLOBAL DL_GLOBAL
  1774. +# else
  1775. +# define LT_DLGLOBAL 0
  1776. +# endif
  1777. +#endif
  1778. +
  1779. +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
  1780. + find out it does not work in some platform. */
  1781. +#ifndef LT_DLLAZY_OR_NOW
  1782. +# ifdef RTLD_LAZY
  1783. +# define LT_DLLAZY_OR_NOW RTLD_LAZY
  1784. +# else
  1785. +# ifdef DL_LAZY
  1786. +# define LT_DLLAZY_OR_NOW DL_LAZY
  1787. +# else
  1788. +# ifdef RTLD_NOW
  1789. +# define LT_DLLAZY_OR_NOW RTLD_NOW
  1790. +# else
  1791. +# ifdef DL_NOW
  1792. +# define LT_DLLAZY_OR_NOW DL_NOW
  1793. +# else
  1794. +# define LT_DLLAZY_OR_NOW 0
  1795. +# endif
  1796. +# endif
  1797. +# endif
  1798. +# endif
  1799. +#endif
  1800. +
  1801. +#ifdef __cplusplus
  1802. +extern "C" void exit (int);
  1803. +#endif
  1804. +
  1805. +void fnord() { int i=42;}
  1806. +int main ()
  1807. +{
  1808. + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
  1809. + int status = $lt_dlunknown;
  1810. +
  1811. + if (self)
  1812. + {
  1813. + if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
  1814. + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
  1815. + /* dlclose (self); */
  1816. + }
  1817. +
  1818. + exit (status);
  1819. +}]
  1820. +EOF
  1821. + if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then
  1822. + (./conftest; exit; ) 2>/dev/null
  1823. + lt_status=$?
  1824. + case x$lt_status in
  1825. + x$lt_dlno_uscore) $1 ;;
  1826. + x$lt_dlneed_uscore) $2 ;;
  1827. + x$lt_unknown|x*) $3 ;;
  1828. + esac
  1829. + else :
  1830. + # compilation failed
  1831. + $3
  1832. + fi
  1833. +fi
  1834. +rm -fr conftest*
  1835. +])# _LT_AC_TRY_DLOPEN_SELF
  1836. +
  1837. +# AC_LIBTOOL_DLOPEN_SELF
  1838. +# -------------------
  1839. +AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF],
  1840. +[if test "x$enable_dlopen" != xyes; then
  1841. + enable_dlopen=unknown
  1842. + enable_dlopen_self=unknown
  1843. + enable_dlopen_self_static=unknown
  1844. +else
  1845. + lt_cv_dlopen=no
  1846. + lt_cv_dlopen_libs=
  1847. +
  1848. + case $host_os in
  1849. + beos*)
  1850. + lt_cv_dlopen="load_add_on"
  1851. + lt_cv_dlopen_libs=
  1852. + lt_cv_dlopen_self=yes
  1853. + ;;
  1854. +
  1855. + cygwin* | mingw* | pw32*)
  1856. + lt_cv_dlopen="LoadLibrary"
  1857. + lt_cv_dlopen_libs=
  1858. + ;;
  1859. +
  1860. + *)
  1861. + AC_CHECK_FUNC([shl_load],
  1862. + [lt_cv_dlopen="shl_load"],
  1863. + [AC_CHECK_LIB([dld], [shl_load],
  1864. + [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"],
  1865. + [AC_CHECK_FUNC([dlopen],
  1866. + [lt_cv_dlopen="dlopen"],
  1867. + [AC_CHECK_LIB([dl], [dlopen],
  1868. + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
  1869. + [AC_CHECK_LIB([svld], [dlopen],
  1870. + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
  1871. + [AC_CHECK_LIB([dld], [dld_link],
  1872. + [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
  1873. + ])
  1874. + ])
  1875. + ])
  1876. + ])
  1877. + ])
  1878. + ;;
  1879. + esac
  1880. +
  1881. + if test "x$lt_cv_dlopen" != xno; then
  1882. + enable_dlopen=yes
  1883. + else
  1884. + enable_dlopen=no
  1885. + fi
  1886. +
  1887. + case $lt_cv_dlopen in
  1888. + dlopen)
  1889. + save_CPPFLAGS="$CPPFLAGS"
  1890. + AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
  1891. + test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
  1892. +
  1893. + save_LDFLAGS="$LDFLAGS"
  1894. + eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
  1895. +
  1896. + save_LIBS="$LIBS"
  1897. + LIBS="$lt_cv_dlopen_libs $LIBS"
  1898. +
  1899. + AC_CACHE_CHECK([whether a program can dlopen itself],
  1900. + lt_cv_dlopen_self, [dnl
  1901. + _LT_AC_TRY_DLOPEN_SELF(
  1902. + lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes,
  1903. + lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross)
  1904. + ])
  1905. +
  1906. + if test "x$lt_cv_dlopen_self" = xyes; then
  1907. + LDFLAGS="$LDFLAGS $link_static_flag"
  1908. + AC_CACHE_CHECK([whether a statically linked program can dlopen itself],
  1909. + lt_cv_dlopen_self_static, [dnl
  1910. + _LT_AC_TRY_DLOPEN_SELF(
  1911. + lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes,
  1912. + lt_cv_dlopen_self_static=no, lt_cv_dlopen_self_static=cross)
  1913. + ])
  1914. + fi
  1915. +
  1916. + CPPFLAGS="$save_CPPFLAGS"
  1917. + LDFLAGS="$save_LDFLAGS"
  1918. + LIBS="$save_LIBS"
  1919. + ;;
  1920. + esac
  1921. +
  1922. + case $lt_cv_dlopen_self in
  1923. + yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
  1924. + *) enable_dlopen_self=unknown ;;
  1925. + esac
  1926. +
  1927. + case $lt_cv_dlopen_self_static in
  1928. + yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
  1929. + *) enable_dlopen_self_static=unknown ;;
  1930. + esac
  1931. +fi
  1932. +])# AC_LIBTOOL_DLOPEN_SELF
  1933. +
  1934. +AC_DEFUN([_LT_AC_LTCONFIG_HACK],
  1935. +[AC_REQUIRE([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE])dnl
  1936. +# Sed substitution that helps us do robust quoting. It backslashifies
  1937. +# metacharacters that are still active within double-quoted strings.
  1938. +Xsed='sed -e s/^X//'
  1939. +sed_quote_subst='s/\([[\\"\\`$\\\\]]\)/\\\1/g'
  1940. +
  1941. +# Same as above, but do not quote variable references.
  1942. +double_quote_subst='s/\([[\\"\\`\\\\]]\)/\\\1/g'
  1943. +
  1944. +# Sed substitution to delay expansion of an escaped shell variable in a
  1945. +# double_quote_subst'ed string.
  1946. +delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
  1947. +
  1948. +# Constants:
  1949. +rm="rm -f"
  1950. +
  1951. +# Global variables:
  1952. +default_ofile=libtool
  1953. +can_build_shared=yes
  1954. +
  1955. +# All known linkers require a `.a' archive for static linking (except M$VC,
  1956. +# which needs '.lib').
  1957. +libext=a
  1958. +ltmain="$ac_aux_dir/ltmain.sh"
  1959. +ofile="$default_ofile"
  1960. +with_gnu_ld="$lt_cv_prog_gnu_ld"
  1961. +need_locks="$enable_libtool_lock"
  1962. +
  1963. +old_CC="$CC"
  1964. +old_CFLAGS="$CFLAGS"
  1965. +
  1966. +# Set sane defaults for various variables
  1967. +test -z "$AR" && AR=ar
  1968. +test -z "$AR_FLAGS" && AR_FLAGS=cru
  1969. +test -z "$AS" && AS=as
  1970. +test -z "$CC" && CC=cc
  1971. +test -z "$DLLTOOL" && DLLTOOL=dlltool
  1972. +test -z "$LD" && LD=ld
  1973. +test -z "$LN_S" && LN_S="ln -s"
  1974. +test -z "$MAGIC_CMD" && MAGIC_CMD=file
  1975. +test -z "$NM" && NM=nm
  1976. +test -z "$OBJDUMP" && OBJDUMP=objdump
  1977. +test -z "$RANLIB" && RANLIB=:
  1978. +test -z "$STRIP" && STRIP=:
  1979. +test -z "$ac_objext" && ac_objext=o
  1980. +
  1981. +if test x"$host" != x"$build"; then
  1982. + ac_tool_prefix=${host_alias}-
  1983. +else
  1984. + ac_tool_prefix=
  1985. +fi
  1986. +
  1987. +# Transform linux* to *-*-linux-gnu*, to support old configure scripts.
  1988. +case $host_os in
  1989. +linux-gnu*) ;;
  1990. +linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'`
  1991. +esac
  1992. +
  1993. +case $host_os in
  1994. +aix3*)
  1995. + # AIX sometimes has problems with the GCC collect2 program. For some
  1996. + # reason, if we set the COLLECT_NAMES environment variable, the problems
  1997. + # vanish in a puff of smoke.
  1998. + if test "X${COLLECT_NAMES+set}" != Xset; then
  1999. + COLLECT_NAMES=
  2000. + export COLLECT_NAMES
  2001. + fi
  2002. + ;;
  2003. +esac
  2004. +
  2005. +# Determine commands to create old-style static archives.
  2006. +old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
  2007. +old_postinstall_cmds='chmod 644 $oldlib'
  2008. +old_postuninstall_cmds=
  2009. +
  2010. +if test -n "$RANLIB"; then
  2011. + case $host_os in
  2012. + openbsd*)
  2013. + old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
  2014. + ;;
  2015. + *)
  2016. + old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
  2017. + ;;
  2018. + esac
  2019. + old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
  2020. +fi
  2021. +
  2022. +# Allow CC to be a program name with arguments.
  2023. +set dummy $CC
  2024. +compiler="[$]2"
  2025. +
  2026. +## FIXME: this should be a separate macro
  2027. +##
  2028. +AC_MSG_CHECKING([for objdir])
  2029. +rm -f .libs 2>/dev/null
  2030. +mkdir .libs 2>/dev/null
  2031. +if test -d .libs; then
  2032. + objdir=.libs
  2033. +else
  2034. + # MS-DOS does not allow filenames that begin with a dot.
  2035. + objdir=_libs
  2036. +fi
  2037. +rmdir .libs 2>/dev/null
  2038. +AC_MSG_RESULT($objdir)
  2039. +##
  2040. +## END FIXME
  2041. +
  2042. +
  2043. +## FIXME: this should be a separate macro
  2044. +##
  2045. +AC_ARG_WITH(pic,
  2046. +[ --with-pic try to use only PIC/non-PIC objects [default=use both]],
  2047. +pic_mode="$withval", pic_mode=default)
  2048. +test -z "$pic_mode" && pic_mode=default
  2049. +
  2050. +# We assume here that the value for lt_cv_prog_cc_pic will not be cached
  2051. +# in isolation, and that seeing it set (from the cache) indicates that
  2052. +# the associated values are set (in the cache) correctly too.
  2053. +AC_MSG_CHECKING([for $compiler option to produce PIC])
  2054. +AC_CACHE_VAL(lt_cv_prog_cc_pic,
  2055. +[ lt_cv_prog_cc_pic=
  2056. + lt_cv_prog_cc_shlib=
  2057. + lt_cv_prog_cc_wl=
  2058. + lt_cv_prog_cc_static=
  2059. + lt_cv_prog_cc_no_builtin=
  2060. + lt_cv_prog_cc_can_build_shared=$can_build_shared
  2061. +
  2062. + if test "$GCC" = yes; then
  2063. + lt_cv_prog_cc_wl='-Wl,'
  2064. + lt_cv_prog_cc_static='-static'
  2065. +
  2066. + case $host_os in
  2067. + aix*)
  2068. + # Below there is a dirty hack to force normal static linking with -ldl
  2069. + # The problem is because libdl dynamically linked with both libc and
  2070. + # libC (AIX C++ library), which obviously doesn't included in libraries
  2071. + # list by gcc. This cause undefined symbols with -static flags.
  2072. + # This hack allows C programs to be linked with "-static -ldl", but
  2073. + # not sure about C++ programs.
  2074. + lt_cv_prog_cc_static="$lt_cv_prog_cc_static ${lt_cv_prog_cc_wl}-lC"
  2075. + ;;
  2076. + amigaos*)
  2077. + # FIXME: we need at least 68020 code to build shared libraries, but
  2078. + # adding the `-m68020' flag to GCC prevents building anything better,
  2079. + # like `-m68040'.
  2080. + lt_cv_prog_cc_pic='-m68020 -resident32 -malways-restore-a4'
  2081. + ;;
  2082. + beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
  2083. + # PIC is the default for these OSes.
  2084. + ;;
  2085. + darwin* | rhapsody*)
  2086. + # PIC is the default on this platform
  2087. + # Common symbols not allowed in MH_DYLIB files
  2088. + lt_cv_prog_cc_pic='-fno-common'
  2089. + ;;
  2090. + cygwin* | mingw* | pw32* | os2*)
  2091. + # This hack is so that the source file can tell whether it is being
  2092. + # built for inclusion in a dll (and should export symbols for example).
  2093. + lt_cv_prog_cc_pic='-DDLL_EXPORT'
  2094. + ;;
  2095. + sysv4*MP*)
  2096. + if test -d /usr/nec; then
  2097. + lt_cv_prog_cc_pic=-Kconform_pic
  2098. + fi
  2099. + ;;
  2100. + *)
  2101. + lt_cv_prog_cc_pic='-fPIC'
  2102. + ;;
  2103. + esac
  2104. + else
  2105. + # PORTME Check for PIC flags for the system compiler.
  2106. + case $host_os in
  2107. + aix3* | aix4* | aix5*)
  2108. + lt_cv_prog_cc_wl='-Wl,'
  2109. + # All AIX code is PIC.
  2110. + if test "$host_cpu" = ia64; then
  2111. + # AIX 5 now supports IA64 processor
  2112. + lt_cv_prog_cc_static='-Bstatic'
  2113. + else
  2114. + lt_cv_prog_cc_static='-bnso -bI:/lib/syscalls.exp'
  2115. + fi
  2116. + ;;
  2117. +
  2118. + hpux9* | hpux10* | hpux11*)
  2119. + # Is there a better lt_cv_prog_cc_static that works with the bundled CC?
  2120. + lt_cv_prog_cc_wl='-Wl,'
  2121. + lt_cv_prog_cc_static="${lt_cv_prog_cc_wl}-a ${lt_cv_prog_cc_wl}archive"
  2122. + lt_cv_prog_cc_pic='+Z'
  2123. + ;;
  2124. +
  2125. + irix5* | irix6* | nonstopux*)
  2126. + lt_cv_prog_cc_wl='-Wl,'
  2127. + lt_cv_prog_cc_static='-non_shared'
  2128. + # PIC (with -KPIC) is the default.
  2129. + ;;
  2130. +
  2131. + cygwin* | mingw* | pw32* | os2*)
  2132. + # This hack is so that the source file can tell whether it is being
  2133. + # built for inclusion in a dll (and should export symbols for example).
  2134. + lt_cv_prog_cc_pic='-DDLL_EXPORT'
  2135. + ;;
  2136. +
  2137. + newsos6)
  2138. + lt_cv_prog_cc_pic='-KPIC'
  2139. + lt_cv_prog_cc_static='-Bstatic'
  2140. + ;;
  2141. +
  2142. + osf3* | osf4* | osf5*)
  2143. + # All OSF/1 code is PIC.
  2144. + lt_cv_prog_cc_wl='-Wl,'
  2145. + lt_cv_prog_cc_static='-non_shared'
  2146. + ;;
  2147. +
  2148. + sco3.2v5*)
  2149. + lt_cv_prog_cc_pic='-Kpic'
  2150. + lt_cv_prog_cc_static='-dn'
  2151. + lt_cv_prog_cc_shlib='-belf'
  2152. + ;;
  2153. +
  2154. + solaris*)
  2155. + lt_cv_prog_cc_pic='-KPIC'
  2156. + lt_cv_prog_cc_static='-Bstatic'
  2157. + lt_cv_prog_cc_wl='-Wl,'
  2158. + ;;
  2159. +
  2160. + sunos4*)
  2161. + lt_cv_prog_cc_pic='-PIC'
  2162. + lt_cv_prog_cc_static='-Bstatic'
  2163. + lt_cv_prog_cc_wl='-Qoption ld '
  2164. + ;;
  2165. +
  2166. + sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
  2167. + lt_cv_prog_cc_pic='-KPIC'
  2168. + lt_cv_prog_cc_static='-Bstatic'
  2169. + lt_cv_prog_cc_wl='-Wl,'
  2170. + ;;
  2171. +
  2172. + uts4*)
  2173. + lt_cv_prog_cc_pic='-pic'
  2174. + lt_cv_prog_cc_static='-Bstatic'
  2175. + ;;
  2176. +
  2177. + sysv4*MP*)
  2178. + if test -d /usr/nec ;then
  2179. + lt_cv_prog_cc_pic='-Kconform_pic'
  2180. + lt_cv_prog_cc_static='-Bstatic'
  2181. + fi
  2182. + ;;
  2183. +
  2184. + *)
  2185. + lt_cv_prog_cc_can_build_shared=no
  2186. + ;;
  2187. + esac
  2188. + fi
  2189. +])
  2190. +if test -z "$lt_cv_prog_cc_pic"; then
  2191. + AC_MSG_RESULT([none])
  2192. +else
  2193. + AC_MSG_RESULT([$lt_cv_prog_cc_pic])
  2194. +
  2195. + # Check to make sure the pic_flag actually works.
  2196. + AC_MSG_CHECKING([if $compiler PIC flag $lt_cv_prog_cc_pic works])
  2197. + AC_CACHE_VAL(lt_cv_prog_cc_pic_works, [dnl
  2198. + save_CFLAGS="$CFLAGS"
  2199. + CFLAGS="$CFLAGS $lt_cv_prog_cc_pic -DPIC"
  2200. + AC_TRY_COMPILE([], [], [dnl
  2201. + case $host_os in
  2202. + hpux9* | hpux10* | hpux11*)
  2203. + # On HP-UX, both CC and GCC only warn that PIC is supported... then
  2204. + # they create non-PIC objects. So, if there were any warnings, we
  2205. + # assume that PIC is not supported.
  2206. + if test -s conftest.err; then
  2207. + lt_cv_prog_cc_pic_works=no
  2208. + else
  2209. + lt_cv_prog_cc_pic_works=yes
  2210. + fi
  2211. + ;;
  2212. + *)
  2213. + lt_cv_prog_cc_pic_works=yes
  2214. + ;;
  2215. + esac
  2216. + ], [dnl
  2217. + lt_cv_prog_cc_pic_works=no
  2218. + ])
  2219. + CFLAGS="$save_CFLAGS"
  2220. + ])
  2221. +
  2222. + if test "X$lt_cv_prog_cc_pic_works" = Xno; then
  2223. + lt_cv_prog_cc_pic=
  2224. + lt_cv_prog_cc_can_build_shared=no
  2225. + else
  2226. + lt_cv_prog_cc_pic=" $lt_cv_prog_cc_pic"
  2227. + fi
  2228. +
  2229. + AC_MSG_RESULT([$lt_cv_prog_cc_pic_works])
  2230. +fi
  2231. +##
  2232. +## END FIXME
  2233. +
  2234. +# Check for any special shared library compilation flags.
  2235. +if test -n "$lt_cv_prog_cc_shlib"; then
  2236. + AC_MSG_WARN([\`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries])
  2237. + if echo "$old_CC $old_CFLAGS " | egrep -e "[[ ]]$lt_cv_prog_cc_shlib[[ ]]" >/dev/null; then :
  2238. + else
  2239. + AC_MSG_WARN([add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure])
  2240. + lt_cv_prog_cc_can_build_shared=no
  2241. + fi
  2242. +fi
  2243. +
  2244. +## FIXME: this should be a separate macro
  2245. +##
  2246. +AC_MSG_CHECKING([if $compiler static flag $lt_cv_prog_cc_static works])
  2247. +AC_CACHE_VAL([lt_cv_prog_cc_static_works], [dnl
  2248. + lt_cv_prog_cc_static_works=no
  2249. + save_LDFLAGS="$LDFLAGS"
  2250. + LDFLAGS="$LDFLAGS $lt_cv_prog_cc_static"
  2251. + AC_TRY_LINK([], [], [lt_cv_prog_cc_static_works=yes])
  2252. + LDFLAGS="$save_LDFLAGS"
  2253. +])
  2254. +
  2255. +# Belt *and* braces to stop my trousers falling down:
  2256. +test "X$lt_cv_prog_cc_static_works" = Xno && lt_cv_prog_cc_static=
  2257. +AC_MSG_RESULT([$lt_cv_prog_cc_static_works])
  2258. +
  2259. +pic_flag="$lt_cv_prog_cc_pic"
  2260. +special_shlib_compile_flags="$lt_cv_prog_cc_shlib"
  2261. +wl="$lt_cv_prog_cc_wl"
  2262. +link_static_flag="$lt_cv_prog_cc_static"
  2263. +no_builtin_flag="$lt_cv_prog_cc_no_builtin"
  2264. +can_build_shared="$lt_cv_prog_cc_can_build_shared"
  2265. +##
  2266. +## END FIXME
  2267. +
  2268. +
  2269. +## FIXME: this should be a separate macro
  2270. +##
  2271. +# Check to see if options -o and -c are simultaneously supported by compiler
  2272. +AC_MSG_CHECKING([if $compiler supports -c -o file.$ac_objext])
  2273. +AC_CACHE_VAL([lt_cv_compiler_c_o], [
  2274. +$rm -r conftest 2>/dev/null
  2275. +mkdir conftest
  2276. +cd conftest
  2277. +echo "int some_variable = 0;" > conftest.$ac_ext
  2278. +mkdir out
  2279. +# According to Tom Tromey, Ian Lance Taylor reported there are C compilers
  2280. +# that will create temporary files in the current directory regardless of
  2281. +# the output directory. Thus, making CWD read-only will cause this test
  2282. +# to fail, enabling locking or at least warning the user not to do parallel
  2283. +# builds.
  2284. +chmod -w .
  2285. +save_CFLAGS="$CFLAGS"
  2286. +CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"
  2287. +compiler_c_o=no
  2288. +if { (eval echo configure:__oline__: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
  2289. + # The compiler can only warn and ignore the option if not recognized
  2290. + # So say no if there are warnings
  2291. + if test -s out/conftest.err; then
  2292. + lt_cv_compiler_c_o=no
  2293. + else
  2294. + lt_cv_compiler_c_o=yes
  2295. + fi
  2296. +else
  2297. + # Append any errors to the config.log.
  2298. + cat out/conftest.err 1>&AC_FD_CC
  2299. + lt_cv_compiler_c_o=no
  2300. +fi
  2301. +CFLAGS="$save_CFLAGS"
  2302. +chmod u+w .
  2303. +$rm conftest* out/*
  2304. +rmdir out
  2305. +cd ..
  2306. +rmdir conftest
  2307. +$rm -r conftest 2>/dev/null
  2308. +])
  2309. +compiler_c_o=$lt_cv_compiler_c_o
  2310. +AC_MSG_RESULT([$compiler_c_o])
  2311. +
  2312. +if test x"$compiler_c_o" = x"yes"; then
  2313. + # Check to see if we can write to a .lo
  2314. + AC_MSG_CHECKING([if $compiler supports -c -o file.lo])
  2315. + AC_CACHE_VAL([lt_cv_compiler_o_lo], [
  2316. + lt_cv_compiler_o_lo=no
  2317. + save_CFLAGS="$CFLAGS"
  2318. + CFLAGS="$CFLAGS -c -o conftest.lo"
  2319. + save_objext="$ac_objext"
  2320. + ac_objext=lo
  2321. + AC_TRY_COMPILE([], [int some_variable = 0;], [dnl
  2322. + # The compiler can only warn and ignore the option if not recognized
  2323. + # So say no if there are warnings
  2324. + if test -s conftest.err; then
  2325. + lt_cv_compiler_o_lo=no
  2326. + else
  2327. + lt_cv_compiler_o_lo=yes
  2328. + fi
  2329. + ])
  2330. + ac_objext="$save_objext"
  2331. + CFLAGS="$save_CFLAGS"
  2332. + ])
  2333. + compiler_o_lo=$lt_cv_compiler_o_lo
  2334. + AC_MSG_RESULT([$compiler_o_lo])
  2335. +else
  2336. + compiler_o_lo=no
  2337. +fi
  2338. +##
  2339. +## END FIXME
  2340. +
  2341. +## FIXME: this should be a separate macro
  2342. +##
  2343. +# Check to see if we can do hard links to lock some files if needed
  2344. +hard_links="nottested"
  2345. +if test "$compiler_c_o" = no && test "$need_locks" != no; then
  2346. + # do not overwrite the value of need_locks provided by the user
  2347. + AC_MSG_CHECKING([if we can lock with hard links])
  2348. + hard_links=yes
  2349. + $rm conftest*
  2350. + ln conftest.a conftest.b 2>/dev/null && hard_links=no
  2351. + touch conftest.a
  2352. + ln conftest.a conftest.b 2>&5 || hard_links=no
  2353. + ln conftest.a conftest.b 2>/dev/null && hard_links=no
  2354. + AC_MSG_RESULT([$hard_links])
  2355. + if test "$hard_links" = no; then
  2356. + AC_MSG_WARN([\`$CC' does not support \`-c -o', so \`make -j' may be unsafe])
  2357. + need_locks=warn
  2358. + fi
  2359. +else
  2360. + need_locks=no
  2361. +fi
  2362. +##
  2363. +## END FIXME
  2364. +
  2365. +## FIXME: this should be a separate macro
  2366. +##
  2367. +if test "$GCC" = yes; then
  2368. + # Check to see if options -fno-rtti -fno-exceptions are supported by compiler
  2369. + AC_MSG_CHECKING([if $compiler supports -fno-rtti -fno-exceptions])
  2370. + echo "int some_variable = 0;" > conftest.$ac_ext
  2371. + save_CFLAGS="$CFLAGS"
  2372. + CFLAGS="$CFLAGS -fno-rtti -fno-exceptions -c conftest.$ac_ext"
  2373. + compiler_rtti_exceptions=no
  2374. + AC_TRY_COMPILE([], [int some_variable = 0;], [dnl
  2375. + # The compiler can only warn and ignore the option if not recognized
  2376. + # So say no if there are warnings
  2377. + if test -s conftest.err; then
  2378. + compiler_rtti_exceptions=no
  2379. + else
  2380. + compiler_rtti_exceptions=yes
  2381. + fi
  2382. + ])
  2383. + CFLAGS="$save_CFLAGS"
  2384. + AC_MSG_RESULT([$compiler_rtti_exceptions])
  2385. +
  2386. + if test "$compiler_rtti_exceptions" = "yes"; then
  2387. + no_builtin_flag=' -fno-builtin -fno-rtti -fno-exceptions'
  2388. + else
  2389. + no_builtin_flag=' -fno-builtin'
  2390. + fi
  2391. +fi
  2392. +##
  2393. +## END FIXME
  2394. +
  2395. +## FIXME: this should be a separate macro
  2396. +##
  2397. +# See if the linker supports building shared libraries.
  2398. +AC_MSG_CHECKING([whether the linker ($LD) supports shared libraries])
  2399. +
  2400. +allow_undefined_flag=
  2401. +no_undefined_flag=
  2402. +need_lib_prefix=unknown
  2403. +need_version=unknown
  2404. +# when you set need_version to no, make sure it does not cause -set_version
  2405. +# flags to be left without arguments
  2406. +archive_cmds=
  2407. +archive_expsym_cmds=
  2408. +old_archive_from_new_cmds=
  2409. +old_archive_from_expsyms_cmds=
  2410. +export_dynamic_flag_spec=
  2411. +whole_archive_flag_spec=
  2412. +thread_safe_flag_spec=
  2413. +hardcode_into_libs=no
  2414. +hardcode_libdir_flag_spec=
  2415. +hardcode_libdir_separator=
  2416. +hardcode_direct=no
  2417. +hardcode_minus_L=no
  2418. +hardcode_shlibpath_var=unsupported
  2419. +runpath_var=
  2420. +link_all_deplibs=unknown
  2421. +always_export_symbols=no
  2422. +export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | sed '\''s/.* //'\'' | sort | uniq > $export_symbols'
  2423. +# include_expsyms should be a list of space-separated symbols to be *always*
  2424. +# included in the symbol list
  2425. +include_expsyms=
  2426. +# exclude_expsyms can be an egrep regular expression of symbols to exclude
  2427. +# it will be wrapped by ` (' and `)$', so one must not match beginning or
  2428. +# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
  2429. +# as well as any symbol that contains `d'.
  2430. +exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
  2431. +# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
  2432. +# platforms (ab)use it in PIC code, but their linkers get confused if
  2433. +# the symbol is explicitly referenced. Since portable code cannot
  2434. +# rely on this symbol name, it's probably fine to never include it in
  2435. +# preloaded symbol tables.
  2436. +extract_expsyms_cmds=
  2437. +
  2438. +case $host_os in
  2439. +cygwin* | mingw* | pw32*)
  2440. + # FIXME: the MSVC++ port hasn't been tested in a loooong time
  2441. + # When not using gcc, we currently assume that we are using
  2442. + # Microsoft Visual C++.
  2443. + if test "$GCC" != yes; then
  2444. + with_gnu_ld=no
  2445. + fi
  2446. + ;;
  2447. +openbsd*)
  2448. + with_gnu_ld=no
  2449. + ;;
  2450. +esac
  2451. +
  2452. +ld_shlibs=yes
  2453. +if test "$with_gnu_ld" = yes; then
  2454. + # If archive_cmds runs LD, not CC, wlarc should be empty
  2455. + wlarc='${wl}'
  2456. +
  2457. + # See if GNU ld supports shared libraries.
  2458. + case $host_os in
  2459. + aix3* | aix4* | aix5*)
  2460. + # On AIX, the GNU linker is very broken
  2461. + # Note:Check GNU linker on AIX 5-IA64 when/if it becomes available.
  2462. + ld_shlibs=no
  2463. + cat <<EOF 1>&2
  2464. +
  2465. +*** Warning: the GNU linker, at least up to release 2.9.1, is reported
  2466. +*** to be unable to reliably create shared libraries on AIX.
  2467. +*** Therefore, libtool is disabling shared libraries support. If you
  2468. +*** really care for shared libraries, you may want to modify your PATH
  2469. +*** so that a non-GNU linker is found, and then restart.
  2470. +
  2471. +EOF
  2472. + ;;
  2473. +
  2474. + amigaos*)
  2475. + 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)'
  2476. + hardcode_libdir_flag_spec='-L$libdir'
  2477. + hardcode_minus_L=yes
  2478. +
  2479. + # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
  2480. + # that the semantics of dynamic libraries on AmigaOS, at least up
  2481. + # to version 4, is to share data among multiple programs linked
  2482. + # with the same dynamic library. Since this doesn't match the
  2483. + # behavior of shared libraries on other platforms, we can use
  2484. + # them.
  2485. + ld_shlibs=no
  2486. + ;;
  2487. +
  2488. + beos*)
  2489. + if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
  2490. + allow_undefined_flag=unsupported
  2491. + # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
  2492. + # support --undefined. This deserves some investigation. FIXME
  2493. + archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  2494. + else
  2495. + ld_shlibs=no
  2496. + fi
  2497. + ;;
  2498. +
  2499. + cygwin* | mingw* | pw32*)
  2500. + # hardcode_libdir_flag_spec is actually meaningless, as there is
  2501. + # no search path for DLLs.
  2502. + hardcode_libdir_flag_spec='-L$libdir'
  2503. + allow_undefined_flag=unsupported
  2504. + always_export_symbols=yes
  2505. +
  2506. + extract_expsyms_cmds='test -f $output_objdir/impgen.c || \
  2507. + sed -e "/^# \/\* impgen\.c starts here \*\//,/^# \/\* impgen.c ends here \*\// { s/^# //;s/^# *$//; p; }" -e d < $''0 > $output_objdir/impgen.c~
  2508. + test -f $output_objdir/impgen.exe || (cd $output_objdir && \
  2509. + if test "x$HOST_CC" != "x" ; then $HOST_CC -o impgen impgen.c ; \
  2510. + else $CC -o impgen impgen.c ; fi)~
  2511. + $output_objdir/impgen $dir/$soroot > $output_objdir/$soname-def'
  2512. +
  2513. + old_archive_from_expsyms_cmds='$DLLTOOL --as=$AS --dllname $soname --def $output_objdir/$soname-def --output-lib $output_objdir/$newlib'
  2514. +
  2515. + # cygwin and mingw dlls have different entry points and sets of symbols
  2516. + # to exclude.
  2517. + # FIXME: what about values for MSVC?
  2518. + dll_entry=__cygwin_dll_entry@12
  2519. + dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12~
  2520. + case $host_os in
  2521. + mingw*)
  2522. + # mingw values
  2523. + dll_entry=_DllMainCRTStartup@12
  2524. + dll_exclude_symbols=DllMain@12,DllMainCRTStartup@12,DllEntryPoint@12~
  2525. + ;;
  2526. + esac
  2527. +
  2528. + # mingw and cygwin differ, and it's simplest to just exclude the union
  2529. + # of the two symbol sets.
  2530. + dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12,DllMainCRTStartup@12,DllEntryPoint@12
  2531. +
  2532. + # recent cygwin and mingw systems supply a stub DllMain which the user
  2533. + # can override, but on older systems we have to supply one (in ltdll.c)
  2534. + if test "x$lt_cv_need_dllmain" = "xyes"; then
  2535. + ltdll_obj='$output_objdir/$soname-ltdll.'"$ac_objext "
  2536. + 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~
  2537. + test -f $output_objdir/$soname-ltdll.$ac_objext || (cd $output_objdir && $CC -c $soname-ltdll.c)~'
  2538. + else
  2539. + ltdll_obj=
  2540. + ltdll_cmds=
  2541. + fi
  2542. +
  2543. + # Extract the symbol export list from an `--export-all' def file,
  2544. + # then regenerate the def file from the symbol export list, so that
  2545. + # the compiled dll only exports the symbol export list.
  2546. + # Be careful not to strip the DATA tag left be newer dlltools.
  2547. + export_symbols_cmds="$ltdll_cmds"'
  2548. + $DLLTOOL --export-all --exclude-symbols '$dll_exclude_symbols' --output-def $output_objdir/$soname-def '$ltdll_obj'$libobjs $convenience~
  2549. + sed -e "1,/EXPORTS/d" -e "s/ @ [[0-9]]*//" -e "s/ *;.*$//" < $output_objdir/$soname-def > $export_symbols'
  2550. +
  2551. + # If the export-symbols file already is a .def file (1st line
  2552. + # is EXPORTS), use it as is.
  2553. + # If DATA tags from a recent dlltool are present, honour them!
  2554. + archive_expsym_cmds='if test "x`sed 1q $export_symbols`" = xEXPORTS; then
  2555. + cp $export_symbols $output_objdir/$soname-def;
  2556. + else
  2557. + echo EXPORTS > $output_objdir/$soname-def;
  2558. + _lt_hint=1;
  2559. + cat $export_symbols | while read symbol; do
  2560. + set dummy \$symbol;
  2561. + case \[$]# in
  2562. + 2) echo " \[$]2 @ \$_lt_hint ; " >> $output_objdir/$soname-def;;
  2563. + 4) echo " \[$]2 \[$]3 \[$]4 ; " >> $output_objdir/$soname-def; _lt_hint=`expr \$_lt_hint - 1`;;
  2564. + *) echo " \[$]2 @ \$_lt_hint \[$]3 ; " >> $output_objdir/$soname-def;;
  2565. + esac;
  2566. + _lt_hint=`expr 1 + \$_lt_hint`;
  2567. + done;
  2568. + fi~
  2569. + '"$ltdll_cmds"'
  2570. + $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~
  2571. + $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~
  2572. + $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~
  2573. + $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~
  2574. + $CC $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags'
  2575. + ;;
  2576. +
  2577. + netbsd*)
  2578. + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
  2579. + archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
  2580. + wlarc=
  2581. + else
  2582. + archive_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  2583. + archive_expsym_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  2584. + fi
  2585. + ;;
  2586. +
  2587. + solaris* | sysv5*)
  2588. + if $LD -v 2>&1 | egrep 'BFD 2\.8' > /dev/null; then
  2589. + ld_shlibs=no
  2590. + cat <<EOF 1>&2
  2591. +
  2592. +*** Warning: The releases 2.8.* of the GNU linker cannot reliably
  2593. +*** create shared libraries on Solaris systems. Therefore, libtool
  2594. +*** is disabling shared libraries support. We urge you to upgrade GNU
  2595. +*** binutils to release 2.9.1 or newer. Another option is to modify
  2596. +*** your PATH or compiler configuration so that the native linker is
  2597. +*** used, and then restart.
  2598. +
  2599. +EOF
  2600. + elif $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
  2601. + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  2602. + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  2603. + else
  2604. + ld_shlibs=no
  2605. + fi
  2606. + ;;
  2607. +
  2608. + sunos4*)
  2609. + archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  2610. + wlarc=
  2611. + hardcode_direct=yes
  2612. + hardcode_shlibpath_var=no
  2613. + ;;
  2614. +
  2615. + *)
  2616. + if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
  2617. + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  2618. + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  2619. + else
  2620. + ld_shlibs=no
  2621. + fi
  2622. + ;;
  2623. + esac
  2624. +
  2625. + if test "$ld_shlibs" = yes; then
  2626. + runpath_var=LD_RUN_PATH
  2627. + hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
  2628. + export_dynamic_flag_spec='${wl}--export-dynamic'
  2629. + case $host_os in
  2630. + cygwin* | mingw* | pw32*)
  2631. + # dlltool doesn't understand --whole-archive et. al.
  2632. + whole_archive_flag_spec=
  2633. + ;;
  2634. + *)
  2635. + # ancient GNU ld didn't support --whole-archive et. al.
  2636. + if $LD --help 2>&1 | egrep 'no-whole-archive' > /dev/null; then
  2637. + whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
  2638. + else
  2639. + whole_archive_flag_spec=
  2640. + fi
  2641. + ;;
  2642. + esac
  2643. + fi
  2644. +else
  2645. + # PORTME fill in a description of your system's linker (not GNU ld)
  2646. + case $host_os in
  2647. + aix3*)
  2648. + allow_undefined_flag=unsupported
  2649. + always_export_symbols=yes
  2650. + 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'
  2651. + # Note: this linker hardcodes the directories in LIBPATH if there
  2652. + # are no directories specified by -L.
  2653. + hardcode_minus_L=yes
  2654. + if test "$GCC" = yes && test -z "$link_static_flag"; then
  2655. + # Neither direct hardcoding nor static linking is supported with a
  2656. + # broken collect2.
  2657. + hardcode_direct=unsupported
  2658. + fi
  2659. + ;;
  2660. +
  2661. + aix4* | aix5*)
  2662. + if test "$host_cpu" = ia64; then
  2663. + # On IA64, the linker does run time linking by default, so we don't
  2664. + # have to do anything special.
  2665. + aix_use_runtimelinking=no
  2666. + exp_sym_flag='-Bexport'
  2667. + no_entry_flag=""
  2668. + else
  2669. + aix_use_runtimelinking=no
  2670. +
  2671. + # Test if we are trying to use run time linking or normal
  2672. + # AIX style linking. If -brtl is somewhere in LDFLAGS, we
  2673. + # need to do runtime linking.
  2674. + case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*)
  2675. + for ld_flag in $LDFLAGS; do
  2676. + case $ld_flag in
  2677. + *-brtl*)
  2678. + aix_use_runtimelinking=yes
  2679. + break
  2680. + ;;
  2681. + esac
  2682. + done
  2683. + esac
  2684. +
  2685. + exp_sym_flag='-bexport'
  2686. + no_entry_flag='-bnoentry'
  2687. + fi
  2688. +
  2689. + # When large executables or shared objects are built, AIX ld can
  2690. + # have problems creating the table of contents. If linking a library
  2691. + # or program results in "error TOC overflow" add -mminimal-toc to
  2692. + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
  2693. + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
  2694. +
  2695. + hardcode_direct=yes
  2696. + archive_cmds=''
  2697. + hardcode_libdir_separator=':'
  2698. + if test "$GCC" = yes; then
  2699. + case $host_os in aix4.[[012]]|aix4.[[012]].*)
  2700. + collect2name=`${CC} -print-prog-name=collect2`
  2701. + if test -f "$collect2name" && \
  2702. + strings "$collect2name" | grep resolve_lib_name >/dev/null
  2703. + then
  2704. + # We have reworked collect2
  2705. + hardcode_direct=yes
  2706. + else
  2707. + # We have old collect2
  2708. + hardcode_direct=unsupported
  2709. + # It fails to find uninstalled libraries when the uninstalled
  2710. + # path is not listed in the libpath. Setting hardcode_minus_L
  2711. + # to unsupported forces relinking
  2712. + hardcode_minus_L=yes
  2713. + hardcode_libdir_flag_spec='-L$libdir'
  2714. + hardcode_libdir_separator=
  2715. + fi
  2716. + esac
  2717. +
  2718. + shared_flag='-shared'
  2719. + else
  2720. + # not using gcc
  2721. + if test "$host_cpu" = ia64; then
  2722. + shared_flag='${wl}-G'
  2723. + else
  2724. + if test "$aix_use_runtimelinking" = yes; then
  2725. + shared_flag='${wl}-G'
  2726. + else
  2727. + shared_flag='${wl}-bM:SRE'
  2728. + fi
  2729. + fi
  2730. + fi
  2731. +
  2732. + # It seems that -bexpall can do strange things, so it is better to
  2733. + # generate a list of symbols to export.
  2734. + always_export_symbols=yes
  2735. + if test "$aix_use_runtimelinking" = yes; then
  2736. + # Warning - without using the other runtime loading flags (-brtl),
  2737. + # -berok will link without error, but may produce a broken library.
  2738. + allow_undefined_flag='-berok'
  2739. + hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:/usr/lib:/lib'
  2740. + 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"
  2741. + else
  2742. + if test "$host_cpu" = ia64; then
  2743. + hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
  2744. + allow_undefined_flag="-z nodefs"
  2745. + 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"
  2746. + else
  2747. + hardcode_libdir_flag_spec='${wl}-bnolibpath ${wl}-blibpath:$libdir:/usr/lib:/lib'
  2748. + # Warning - without using the other run time loading flags,
  2749. + # -berok will link without error, but may produce a broken library.
  2750. + allow_undefined_flag='${wl}-berok'
  2751. + # This is a bit strange, but is similar to how AIX traditionally builds
  2752. + # it's shared libraries.
  2753. + 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'
  2754. + fi
  2755. + fi
  2756. + ;;
  2757. +
  2758. + amigaos*)
  2759. + 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)'
  2760. + hardcode_libdir_flag_spec='-L$libdir'
  2761. + hardcode_minus_L=yes
  2762. + # see comment about different semantics on the GNU ld section
  2763. + ld_shlibs=no
  2764. + ;;
  2765. +
  2766. + cygwin* | mingw* | pw32*)
  2767. + # When not using gcc, we currently assume that we are using
  2768. + # Microsoft Visual C++.
  2769. + # hardcode_libdir_flag_spec is actually meaningless, as there is
  2770. + # no search path for DLLs.
  2771. + hardcode_libdir_flag_spec=' '
  2772. + allow_undefined_flag=unsupported
  2773. + # Tell ltmain to make .lib files, not .a files.
  2774. + libext=lib
  2775. + # FIXME: Setting linknames here is a bad hack.
  2776. + archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | sed -e '\''s/ -lc$//'\''` -link -dll~linknames='
  2777. + # The linker will automatically build a .lib file if we build a DLL.
  2778. + old_archive_from_new_cmds='true'
  2779. + # FIXME: Should let the user specify the lib program.
  2780. + old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
  2781. + fix_srcfile_path='`cygpath -w "$srcfile"`'
  2782. + ;;
  2783. +
  2784. + darwin* | rhapsody*)
  2785. + case "$host_os" in
  2786. + rhapsody* | darwin1.[[012]])
  2787. + allow_undefined_flag='-undefined suppress'
  2788. + ;;
  2789. + *) # Darwin 1.3 on
  2790. + allow_undefined_flag='-flat_namespace -undefined suppress'
  2791. + ;;
  2792. + esac
  2793. + # FIXME: Relying on posixy $() will cause problems for
  2794. + # cross-compilation, but unfortunately the echo tests do not
  2795. + # yet detect zsh echo's removal of \ escapes. Also zsh mangles
  2796. + # `"' quotes if we put them in here... so don't!
  2797. + 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)'
  2798. + # We need to add '_' to the symbols in $export_symbols first
  2799. + #archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols'
  2800. + hardcode_direct=yes
  2801. + hardcode_shlibpath_var=no
  2802. + whole_archive_flag_spec='-all_load $convenience'
  2803. + ;;
  2804. +
  2805. + freebsd1*)
  2806. + ld_shlibs=no
  2807. + ;;
  2808. +
  2809. + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
  2810. + # support. Future versions do this automatically, but an explicit c++rt0.o
  2811. + # does not break anything, and helps significantly (at the cost of a little
  2812. + # extra space).
  2813. + freebsd2.2*)
  2814. + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
  2815. + hardcode_libdir_flag_spec='-R$libdir'
  2816. + hardcode_direct=yes
  2817. + hardcode_shlibpath_var=no
  2818. + ;;
  2819. +
  2820. + # Unfortunately, older versions of FreeBSD 2 do not have this feature.
  2821. + freebsd2*)
  2822. + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  2823. + hardcode_direct=yes
  2824. + hardcode_minus_L=yes
  2825. + hardcode_shlibpath_var=no
  2826. + ;;
  2827. +
  2828. + # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
  2829. + freebsd*)
  2830. + archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
  2831. + hardcode_libdir_flag_spec='-R$libdir'
  2832. + hardcode_direct=yes
  2833. + hardcode_shlibpath_var=no
  2834. + ;;
  2835. +
  2836. + hpux9* | hpux10* | hpux11*)
  2837. + case $host_os in
  2838. + 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' ;;
  2839. + *) archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' ;;
  2840. + esac
  2841. + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
  2842. + hardcode_libdir_separator=:
  2843. + hardcode_direct=yes
  2844. + hardcode_minus_L=yes # Not in the search PATH, but as the default
  2845. + # location of the library.
  2846. + export_dynamic_flag_spec='${wl}-E'
  2847. + ;;
  2848. +
  2849. + irix5* | irix6* | nonstopux*)
  2850. + if test "$GCC" = yes; then
  2851. + 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'
  2852. + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  2853. + else
  2854. + 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'
  2855. + hardcode_libdir_flag_spec='-rpath $libdir'
  2856. + fi
  2857. + hardcode_libdir_separator=:
  2858. + link_all_deplibs=yes
  2859. + ;;
  2860. +
  2861. + netbsd*)
  2862. + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
  2863. + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
  2864. + else
  2865. + archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
  2866. + fi
  2867. + hardcode_libdir_flag_spec='-R$libdir'
  2868. + hardcode_direct=yes
  2869. + hardcode_shlibpath_var=no
  2870. + ;;
  2871. +
  2872. + newsos6)
  2873. + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  2874. + hardcode_direct=yes
  2875. + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  2876. + hardcode_libdir_separator=:
  2877. + hardcode_shlibpath_var=no
  2878. + ;;
  2879. +
  2880. + openbsd*)
  2881. + hardcode_direct=yes
  2882. + hardcode_shlibpath_var=no
  2883. + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  2884. + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  2885. + hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
  2886. + export_dynamic_flag_spec='${wl}-E'
  2887. + else
  2888. + case "$host_os" in
  2889. + openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*)
  2890. + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  2891. + hardcode_libdir_flag_spec='-R$libdir'
  2892. + ;;
  2893. + *)
  2894. + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  2895. + hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
  2896. + ;;
  2897. + esac
  2898. + fi
  2899. + ;;
  2900. +
  2901. + os2*)
  2902. + hardcode_libdir_flag_spec='-L$libdir'
  2903. + hardcode_minus_L=yes
  2904. + allow_undefined_flag=unsupported
  2905. + 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'
  2906. + old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
  2907. + ;;
  2908. +
  2909. + osf3*)
  2910. + if test "$GCC" = yes; then
  2911. + allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
  2912. + 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'
  2913. + else
  2914. + allow_undefined_flag=' -expect_unresolved \*'
  2915. + 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'
  2916. + fi
  2917. + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  2918. + hardcode_libdir_separator=:
  2919. + ;;
  2920. +
  2921. + osf4* | osf5*) # as osf3* with the addition of -msym flag
  2922. + if test "$GCC" = yes; then
  2923. + allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
  2924. + 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'
  2925. + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  2926. + else
  2927. + allow_undefined_flag=' -expect_unresolved \*'
  2928. + 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'
  2929. + archive_expsym_cmds='for i in `cat $export_symbols`; do printf "-exported_symbol " >> $lib.exp; echo "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
  2930. + $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'
  2931. +
  2932. + #Both c and cxx compiler support -rpath directly
  2933. + hardcode_libdir_flag_spec='-rpath $libdir'
  2934. + fi
  2935. + hardcode_libdir_separator=:
  2936. + ;;
  2937. +
  2938. + sco3.2v5*)
  2939. + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  2940. + hardcode_shlibpath_var=no
  2941. + runpath_var=LD_RUN_PATH
  2942. + hardcode_runpath_var=yes
  2943. + export_dynamic_flag_spec='${wl}-Bexport'
  2944. + ;;
  2945. +
  2946. + solaris*)
  2947. + # gcc --version < 3.0 without binutils cannot create self contained
  2948. + # shared libraries reliably, requiring libgcc.a to resolve some of
  2949. + # the object symbols generated in some cases. Libraries that use
  2950. + # assert need libgcc.a to resolve __eprintf, for example. Linking
  2951. + # a copy of libgcc.a into every shared library to guarantee resolving
  2952. + # such symbols causes other problems: According to Tim Van Holder
  2953. + # <tim.van.holder@pandora.be>, C++ libraries end up with a separate
  2954. + # (to the application) exception stack for one thing.
  2955. + no_undefined_flag=' -z defs'
  2956. + if test "$GCC" = yes; then
  2957. + case `$CC --version 2>/dev/null` in
  2958. + [[12]].*)
  2959. + cat <<EOF 1>&2
  2960. +
  2961. +*** Warning: Releases of GCC earlier than version 3.0 cannot reliably
  2962. +*** create self contained shared libraries on Solaris systems, without
  2963. +*** introducing a dependency on libgcc.a. Therefore, libtool is disabling
  2964. +*** -no-undefined support, which will at least allow you to build shared
  2965. +*** libraries. However, you may find that when you link such libraries
  2966. +*** into an application without using GCC, you have to manually add
  2967. +*** \`gcc --print-libgcc-file-name\` to the link command. We urge you to
  2968. +*** upgrade to a newer version of GCC. Another option is to rebuild your
  2969. +*** current GCC to use the GNU linker from GNU binutils 2.9.1 or newer.
  2970. +
  2971. +EOF
  2972. + no_undefined_flag=
  2973. + ;;
  2974. + esac
  2975. + fi
  2976. + # $CC -shared without GNU ld will not create a library from C++
  2977. + # object files and a static libstdc++, better avoid it by now
  2978. + archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
  2979. + archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
  2980. + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
  2981. + hardcode_libdir_flag_spec='-R$libdir'
  2982. + hardcode_shlibpath_var=no
  2983. + case $host_os in
  2984. + solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
  2985. + *) # Supported since Solaris 2.6 (maybe 2.5.1?)
  2986. + whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
  2987. + esac
  2988. + link_all_deplibs=yes
  2989. + ;;
  2990. +
  2991. + sunos4*)
  2992. + if test "x$host_vendor" = xsequent; then
  2993. + # Use $CC to link under sequent, because it throws in some extra .o
  2994. + # files that make .init and .fini sections work.
  2995. + archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
  2996. + else
  2997. + archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
  2998. + fi
  2999. + hardcode_libdir_flag_spec='-L$libdir'
  3000. + hardcode_direct=yes
  3001. + hardcode_minus_L=yes
  3002. + hardcode_shlibpath_var=no
  3003. + ;;
  3004. +
  3005. + sysv4)
  3006. + case $host_vendor in
  3007. + sni)
  3008. + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  3009. + hardcode_direct=yes # is this really true???
  3010. + ;;
  3011. + siemens)
  3012. + ## LD is ld it makes a PLAMLIB
  3013. + ## CC just makes a GrossModule.
  3014. + archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
  3015. + reload_cmds='$CC -r -o $output$reload_objs'
  3016. + hardcode_direct=no
  3017. + ;;
  3018. + motorola)
  3019. + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  3020. + hardcode_direct=no #Motorola manual says yes, but my tests say they lie
  3021. + ;;
  3022. + esac
  3023. + runpath_var='LD_RUN_PATH'
  3024. + hardcode_shlibpath_var=no
  3025. + ;;
  3026. +
  3027. + sysv4.3*)
  3028. + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  3029. + hardcode_shlibpath_var=no
  3030. + export_dynamic_flag_spec='-Bexport'
  3031. + ;;
  3032. +
  3033. + sysv5*)
  3034. + no_undefined_flag=' -z text'
  3035. + # $CC -shared without GNU ld will not create a library from C++
  3036. + # object files and a static libstdc++, better avoid it by now
  3037. + archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
  3038. + archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
  3039. + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
  3040. + hardcode_libdir_flag_spec=
  3041. + hardcode_shlibpath_var=no
  3042. + runpath_var='LD_RUN_PATH'
  3043. + ;;
  3044. +
  3045. + uts4*)
  3046. + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  3047. + hardcode_libdir_flag_spec='-L$libdir'
  3048. + hardcode_shlibpath_var=no
  3049. + ;;
  3050. +
  3051. + dgux*)
  3052. + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  3053. + hardcode_libdir_flag_spec='-L$libdir'
  3054. + hardcode_shlibpath_var=no
  3055. + ;;
  3056. +
  3057. + sysv4*MP*)
  3058. + if test -d /usr/nec; then
  3059. + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  3060. + hardcode_shlibpath_var=no
  3061. + runpath_var=LD_RUN_PATH
  3062. + hardcode_runpath_var=yes
  3063. + ld_shlibs=yes
  3064. + fi
  3065. + ;;
  3066. +
  3067. + sysv4.2uw2*)
  3068. + archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
  3069. + hardcode_direct=yes
  3070. + hardcode_minus_L=no
  3071. + hardcode_shlibpath_var=no
  3072. + hardcode_runpath_var=yes
  3073. + runpath_var=LD_RUN_PATH
  3074. + ;;
  3075. +
  3076. + sysv5uw7* | unixware7*)
  3077. + no_undefined_flag='${wl}-z ${wl}text'
  3078. + if test "$GCC" = yes; then
  3079. + archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  3080. + else
  3081. + archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  3082. + fi
  3083. + runpath_var='LD_RUN_PATH'
  3084. + hardcode_shlibpath_var=no
  3085. + ;;
  3086. +
  3087. + *)
  3088. + ld_shlibs=no
  3089. + ;;
  3090. + esac
  3091. +fi
  3092. +AC_MSG_RESULT([$ld_shlibs])
  3093. +test "$ld_shlibs" = no && can_build_shared=no
  3094. +##
  3095. +## END FIXME
  3096. +
  3097. +## FIXME: this should be a separate macro
  3098. +##
  3099. +# Check hardcoding attributes.
  3100. +AC_MSG_CHECKING([how to hardcode library paths into programs])
  3101. +hardcode_action=
  3102. +if test -n "$hardcode_libdir_flag_spec" || \
  3103. + test -n "$runpath_var"; then
  3104. +
  3105. + # We can hardcode non-existant directories.
  3106. + if test "$hardcode_direct" != no &&
  3107. + # If the only mechanism to avoid hardcoding is shlibpath_var, we
  3108. + # have to relink, otherwise we might link with an installed library
  3109. + # when we should be linking with a yet-to-be-installed one
  3110. + ## test "$hardcode_shlibpath_var" != no &&
  3111. + test "$hardcode_minus_L" != no; then
  3112. + # Linking always hardcodes the temporary library directory.
  3113. + hardcode_action=relink
  3114. + else
  3115. + # We can link without hardcoding, and we can hardcode nonexisting dirs.
  3116. + hardcode_action=immediate
  3117. + fi
  3118. +else
  3119. + # We cannot hardcode anything, or else we can only hardcode existing
  3120. + # directories.
  3121. + hardcode_action=unsupported
  3122. +fi
  3123. +AC_MSG_RESULT([$hardcode_action])
  3124. +##
  3125. +## END FIXME
  3126. +
  3127. +## FIXME: this should be a separate macro
  3128. +##
  3129. +striplib=
  3130. +old_striplib=
  3131. +AC_MSG_CHECKING([whether stripping libraries is possible])
  3132. +if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
  3133. + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
  3134. + test -z "$striplib" && striplib="$STRIP --strip-unneeded"
  3135. + AC_MSG_RESULT([yes])
  3136. +else
  3137. + AC_MSG_RESULT([no])
  3138. +fi
  3139. +##
  3140. +## END FIXME
  3141. +
  3142. +reload_cmds='$LD$reload_flag -o $output$reload_objs'
  3143. +test -z "$deplibs_check_method" && deplibs_check_method=unknown
  3144. +
  3145. +## FIXME: this should be a separate macro
  3146. +##
  3147. +# PORTME Fill in your ld.so characteristics
  3148. +AC_MSG_CHECKING([dynamic linker characteristics])
  3149. +library_names_spec=
  3150. +libname_spec='lib$name'
  3151. +soname_spec=
  3152. +postinstall_cmds=
  3153. +postuninstall_cmds=
  3154. +finish_cmds=
  3155. +finish_eval=
  3156. +shlibpath_var=
  3157. +shlibpath_overrides_runpath=unknown
  3158. +version_type=none
  3159. +dynamic_linker="$host_os ld.so"
  3160. +sys_lib_dlsearch_path_spec="/lib /usr/lib"
  3161. +sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
  3162. +
  3163. +case $host_os in
  3164. +aix3*)
  3165. + version_type=linux
  3166. + library_names_spec='${libname}${release}.so$versuffix $libname.a'
  3167. + shlibpath_var=LIBPATH
  3168. +
  3169. + # AIX has no versioning support, so we append a major version to the name.
  3170. + soname_spec='${libname}${release}.so$major'
  3171. + ;;
  3172. +
  3173. +aix4* | aix5*)
  3174. + version_type=linux
  3175. + need_lib_prefix=no
  3176. + need_version=no
  3177. + hardcode_into_libs=yes
  3178. + if test "$host_cpu" = ia64; then
  3179. + # AIX 5 supports IA64
  3180. + library_names_spec='${libname}${release}.so$major ${libname}${release}.so$versuffix $libname.so'
  3181. + shlibpath_var=LD_LIBRARY_PATH
  3182. + else
  3183. + # With GCC up to 2.95.x, collect2 would create an import file
  3184. + # for dependence libraries. The import file would start with
  3185. + # the line `#! .'. This would cause the generated library to
  3186. + # depend on `.', always an invalid library. This was fixed in
  3187. + # development snapshots of GCC prior to 3.0.
  3188. + case $host_os in
  3189. + aix4 | aix4.[[01]] | aix4.[[01]].*)
  3190. + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
  3191. + echo ' yes '
  3192. + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
  3193. + :
  3194. + else
  3195. + can_build_shared=no
  3196. + fi
  3197. + ;;
  3198. + esac
  3199. + # AIX (on Power*) has no versioning support, so currently we can
  3200. + # not hardcode correct soname into executable. Probably we can
  3201. + # add versioning support to collect2, so additional links can
  3202. + # be useful in future.
  3203. + if test "$aix_use_runtimelinking" = yes; then
  3204. + # If using run time linking (on AIX 4.2 or later) use lib<name>.so
  3205. + # instead of lib<name>.a to let people know that these are not
  3206. + # typical AIX shared libraries.
  3207. + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
  3208. + else
  3209. + # We preserve .a as extension for shared libraries through AIX4.2
  3210. + # and later when we are not doing run time linking.
  3211. + library_names_spec='${libname}${release}.a $libname.a'
  3212. + soname_spec='${libname}${release}.so$major'
  3213. + fi
  3214. + shlibpath_var=LIBPATH
  3215. + fi
  3216. + hardcode_into_libs=yes
  3217. + ;;
  3218. +
  3219. +amigaos*)
  3220. + library_names_spec='$libname.ixlibrary $libname.a'
  3221. + # Create ${libname}_ixlibrary.a entries in /sys/libs.
  3222. + 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'
  3223. + ;;
  3224. +
  3225. +beos*)
  3226. + library_names_spec='${libname}.so'
  3227. + dynamic_linker="$host_os ld.so"
  3228. + shlibpath_var=LIBRARY_PATH
  3229. + ;;
  3230. +
  3231. +bsdi4*)
  3232. + version_type=linux
  3233. + need_version=no
  3234. + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
  3235. + soname_spec='${libname}${release}.so$major'
  3236. + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
  3237. + shlibpath_var=LD_LIBRARY_PATH
  3238. + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
  3239. + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
  3240. + export_dynamic_flag_spec=-rdynamic
  3241. + # the default ld.so.conf also contains /usr/contrib/lib and
  3242. + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
  3243. + # libtool to hard-code these into programs
  3244. + ;;
  3245. +
  3246. +cygwin* | mingw* | pw32*)
  3247. + version_type=windows
  3248. + need_version=no
  3249. + need_lib_prefix=no
  3250. + case $GCC,$host_os in
  3251. + yes,cygwin*)
  3252. + library_names_spec='$libname.dll.a'
  3253. + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | sed -e 's/[[.]]/-/g'`${versuffix}.dll'
  3254. + postinstall_cmds='dlpath=`bash 2>&1 -c '\''. $dir/${file}i;echo \$dlname'\''`~
  3255. + dldir=$destdir/`dirname \$dlpath`~
  3256. + test -d \$dldir || mkdir -p \$dldir~
  3257. + $install_prog .libs/$dlname \$dldir/$dlname'
  3258. + postuninstall_cmds='dldll=`bash 2>&1 -c '\''. $file; echo \$dlname'\''`~
  3259. + dlpath=$dir/\$dldll~
  3260. + $rm \$dlpath'
  3261. + ;;
  3262. + yes,mingw*)
  3263. + library_names_spec='${libname}`echo ${release} | sed -e 's/[[.]]/-/g'`${versuffix}.dll'
  3264. + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s/;/ /g" -e "s,=/,/,g"`
  3265. + ;;
  3266. + yes,pw32*)
  3267. + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll'
  3268. + ;;
  3269. + *)
  3270. + library_names_spec='${libname}`echo ${release} | sed -e 's/[[.]]/-/g'`${versuffix}.dll $libname.lib'
  3271. + ;;
  3272. + esac
  3273. + dynamic_linker='Win32 ld.exe'
  3274. + # FIXME: first we should search . and the directory the executable is in
  3275. + shlibpath_var=PATH
  3276. + ;;
  3277. +
  3278. +darwin* | rhapsody*)
  3279. + dynamic_linker="$host_os dyld"
  3280. + version_type=darwin
  3281. + need_lib_prefix=no
  3282. + need_version=no
  3283. + # FIXME: Relying on posixy $() will cause problems for
  3284. + # cross-compilation, but unfortunately the echo tests do not
  3285. + # yet detect zsh echo's removal of \ escapes.
  3286. + 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)'
  3287. + soname_spec='${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib)'
  3288. + shlibpath_overrides_runpath=yes
  3289. + shlibpath_var=DYLD_LIBRARY_PATH
  3290. + ;;
  3291. +
  3292. +freebsd1*)
  3293. + dynamic_linker=no
  3294. + ;;
  3295. +
  3296. +kfreebsd*-gnu*)
  3297. + version_type=linux
  3298. + need_lib_prefix=no
  3299. + need_version=no
  3300. + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
  3301. + soname_spec='${libname}${release}.so$major'
  3302. + shlibpath_var=LD_LIBRARY_PATH
  3303. + shlibpath_overrides_runpath=no
  3304. + hardcode_into_libs=yes
  3305. + dynamic_linker='GNU/FreeBSD ld.so'
  3306. + ;;
  3307. +
  3308. +freebsd*)
  3309. + objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
  3310. + version_type=freebsd-$objformat
  3311. + case $version_type in
  3312. + freebsd-elf*)
  3313. + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so'
  3314. + need_version=no
  3315. + need_lib_prefix=no
  3316. + ;;
  3317. + freebsd-*)
  3318. + library_names_spec='${libname}${release}.so$versuffix $libname.so$versuffix'
  3319. + need_version=yes
  3320. + ;;
  3321. + esac
  3322. + shlibpath_var=LD_LIBRARY_PATH
  3323. + case $host_os in
  3324. + freebsd2*)
  3325. + shlibpath_overrides_runpath=yes
  3326. + ;;
  3327. + *)
  3328. + shlibpath_overrides_runpath=no
  3329. + hardcode_into_libs=yes
  3330. + ;;
  3331. + esac
  3332. + ;;
  3333. +
  3334. +gnu*)
  3335. + version_type=linux
  3336. + need_lib_prefix=no
  3337. + need_version=no
  3338. + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so${major} ${libname}.so'
  3339. + soname_spec='${libname}${release}.so$major'
  3340. + shlibpath_var=LD_LIBRARY_PATH
  3341. + hardcode_into_libs=yes
  3342. + ;;
  3343. +
  3344. +hpux9* | hpux10* | hpux11*)
  3345. + # Give a soname corresponding to the major version so that dld.sl refuses to
  3346. + # link against other versions.
  3347. + dynamic_linker="$host_os dld.sl"
  3348. + version_type=sunos
  3349. + need_lib_prefix=no
  3350. + need_version=no
  3351. + shlibpath_var=SHLIB_PATH
  3352. + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
  3353. + library_names_spec='${libname}${release}.sl$versuffix ${libname}${release}.sl$major $libname.sl'
  3354. + soname_spec='${libname}${release}.sl$major'
  3355. + # HP-UX runs *really* slowly unless shared libraries are mode 555.
  3356. + postinstall_cmds='chmod 555 $lib'
  3357. + ;;
  3358. +
  3359. +irix5* | irix6* | nonstopux*)
  3360. + case $host_os in
  3361. + nonstopux*) version_type=nonstopux ;;
  3362. + *) version_type=irix ;;
  3363. + esac
  3364. + need_lib_prefix=no
  3365. + need_version=no
  3366. + soname_spec='${libname}${release}.so$major'
  3367. + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so $libname.so'
  3368. + case $host_os in
  3369. + irix5* | nonstopux*)
  3370. + libsuff= shlibsuff=
  3371. + ;;
  3372. + *)
  3373. + case $LD in # libtool.m4 will add one of these switches to LD
  3374. + *-32|*"-32 ") libsuff= shlibsuff= libmagic=32-bit;;
  3375. + *-n32|*"-n32 ") libsuff=32 shlibsuff=N32 libmagic=N32;;
  3376. + *-64|*"-64 ") libsuff=64 shlibsuff=64 libmagic=64-bit;;
  3377. + *) libsuff= shlibsuff= libmagic=never-match;;
  3378. + esac
  3379. + ;;
  3380. + esac
  3381. + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
  3382. + shlibpath_overrides_runpath=no
  3383. + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
  3384. + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
  3385. + ;;
  3386. +
  3387. +# No shared lib support for Linux oldld, aout, or coff.
  3388. +linux-gnuoldld* | linux-gnuaout* | linux-gnucoff*)
  3389. + dynamic_linker=no
  3390. + ;;
  3391. +
  3392. +# This must be Linux ELF.
  3393. +linux-gnu*)
  3394. + version_type=linux
  3395. + need_lib_prefix=no
  3396. + need_version=no
  3397. + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
  3398. + soname_spec='${libname}${release}.so$major'
  3399. + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
  3400. + shlibpath_var=LD_LIBRARY_PATH
  3401. + shlibpath_overrides_runpath=no
  3402. + # This implies no fast_install, which is unacceptable.
  3403. + # Some rework will be needed to allow for fast_install
  3404. + # before this can be enabled.
  3405. + hardcode_into_libs=yes
  3406. +
  3407. + # We used to test for /lib/ld.so.1 and disable shared libraries on
  3408. + # powerpc, because MkLinux only supported shared libraries with the
  3409. + # GNU dynamic linker. Since this was broken with cross compilers,
  3410. + # most powerpc-linux boxes support dynamic linking these days and
  3411. + # people can always --disable-shared, the test was removed, and we
  3412. + # assume the GNU/Linux dynamic linker is in use.
  3413. + dynamic_linker='GNU/Linux ld.so'
  3414. + ;;
  3415. +
  3416. +netbsd*)
  3417. + version_type=sunos
  3418. + need_lib_prefix=no
  3419. + need_version=no
  3420. + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
  3421. + library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
  3422. + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  3423. + dynamic_linker='NetBSD (a.out) ld.so'
  3424. + else
  3425. + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so ${libname}.so'
  3426. + soname_spec='${libname}${release}.so$major'
  3427. + dynamic_linker='NetBSD ld.elf_so'
  3428. + fi
  3429. + shlibpath_var=LD_LIBRARY_PATH
  3430. + shlibpath_overrides_runpath=yes
  3431. + hardcode_into_libs=yes
  3432. + ;;
  3433. +
  3434. +newsos6)
  3435. + version_type=linux
  3436. + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
  3437. + shlibpath_var=LD_LIBRARY_PATH
  3438. + shlibpath_overrides_runpath=yes
  3439. + ;;
  3440. +
  3441. +openbsd*)
  3442. + version_type=sunos
  3443. + need_lib_prefix=no
  3444. + need_version=no
  3445. + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  3446. + case "$host_os" in
  3447. + openbsd2.[[89]] | openbsd2.[[89]].*)
  3448. + shlibpath_overrides_runpath=no
  3449. + ;;
  3450. + *)
  3451. + shlibpath_overrides_runpath=yes
  3452. + ;;
  3453. + esac
  3454. + else
  3455. + shlibpath_overrides_runpath=yes
  3456. + fi
  3457. + library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
  3458. + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  3459. + shlibpath_var=LD_LIBRARY_PATH
  3460. + ;;
  3461. +
  3462. +os2*)
  3463. + libname_spec='$name'
  3464. + need_lib_prefix=no
  3465. + library_names_spec='$libname.dll $libname.a'
  3466. + dynamic_linker='OS/2 ld.exe'
  3467. + shlibpath_var=LIBPATH
  3468. + ;;
  3469. +
  3470. +osf3* | osf4* | osf5*)
  3471. + version_type=osf
  3472. + need_version=no
  3473. + need_lib_prefix=no
  3474. + soname_spec='${libname}${release}.so$major'
  3475. + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
  3476. + shlibpath_var=LD_LIBRARY_PATH
  3477. + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
  3478. + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
  3479. + hardcode_into_libs=yes
  3480. + ;;
  3481. +
  3482. +sco3.2v5*)
  3483. + version_type=osf
  3484. + soname_spec='${libname}${release}.so$major'
  3485. + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
  3486. + shlibpath_var=LD_LIBRARY_PATH
  3487. + ;;
  3488. +
  3489. +solaris*)
  3490. + version_type=linux
  3491. + need_lib_prefix=no
  3492. + need_version=no
  3493. + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
  3494. + soname_spec='${libname}${release}.so$major'
  3495. + shlibpath_var=LD_LIBRARY_PATH
  3496. + shlibpath_overrides_runpath=yes
  3497. + hardcode_into_libs=yes
  3498. + # ldd complains unless libraries are executable
  3499. + postinstall_cmds='chmod +x $lib'
  3500. + ;;
  3501. +
  3502. +sunos4*)
  3503. + version_type=sunos
  3504. + library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
  3505. + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
  3506. + shlibpath_var=LD_LIBRARY_PATH
  3507. + shlibpath_overrides_runpath=yes
  3508. + if test "$with_gnu_ld" = yes; then
  3509. + need_lib_prefix=no
  3510. + fi
  3511. + need_version=yes
  3512. + ;;
  3513. +
  3514. +sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
  3515. + version_type=linux
  3516. + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
  3517. + soname_spec='${libname}${release}.so$major'
  3518. + shlibpath_var=LD_LIBRARY_PATH
  3519. + case $host_vendor in
  3520. + sni)
  3521. + shlibpath_overrides_runpath=no
  3522. + need_lib_prefix=no
  3523. + export_dynamic_flag_spec='${wl}-Blargedynsym'
  3524. + runpath_var=LD_RUN_PATH
  3525. + ;;
  3526. + siemens)
  3527. + need_lib_prefix=no
  3528. + ;;
  3529. + motorola)
  3530. + need_lib_prefix=no
  3531. + need_version=no
  3532. + shlibpath_overrides_runpath=no
  3533. + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
  3534. + ;;
  3535. + esac
  3536. + ;;
  3537. +
  3538. +uts4*)
  3539. + version_type=linux
  3540. + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
  3541. + soname_spec='${libname}${release}.so$major'
  3542. + shlibpath_var=LD_LIBRARY_PATH
  3543. + ;;
  3544. +
  3545. +dgux*)
  3546. + version_type=linux
  3547. + need_lib_prefix=no
  3548. + need_version=no
  3549. + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
  3550. + soname_spec='${libname}${release}.so$major'
  3551. + shlibpath_var=LD_LIBRARY_PATH
  3552. + ;;
  3553. +
  3554. +sysv4*MP*)
  3555. + if test -d /usr/nec ;then
  3556. + version_type=linux
  3557. + library_names_spec='$libname.so.$versuffix $libname.so.$major $libname.so'
  3558. + soname_spec='$libname.so.$major'
  3559. + shlibpath_var=LD_LIBRARY_PATH
  3560. + fi
  3561. + ;;
  3562. +
  3563. +*)
  3564. + dynamic_linker=no
  3565. + ;;
  3566. +esac
  3567. +AC_MSG_RESULT([$dynamic_linker])
  3568. +test "$dynamic_linker" = no && can_build_shared=no
  3569. +##
  3570. +## END FIXME
  3571. +
  3572. +## FIXME: this should be a separate macro
  3573. +##
  3574. +# Report the final consequences.
  3575. +AC_MSG_CHECKING([if libtool supports shared libraries])
  3576. +AC_MSG_RESULT([$can_build_shared])
  3577. +##
  3578. +## END FIXME
  3579. +
  3580. +## FIXME: this should be a separate macro
  3581. +##
  3582. +AC_MSG_CHECKING([whether to build shared libraries])
  3583. +test "$can_build_shared" = "no" && enable_shared=no
  3584. +
  3585. +# On AIX, shared libraries and static libraries use the same namespace, and
  3586. +# are all built from PIC.
  3587. +case "$host_os" in
  3588. +aix3*)
  3589. + test "$enable_shared" = yes && enable_static=no
  3590. + if test -n "$RANLIB"; then
  3591. + archive_cmds="$archive_cmds~\$RANLIB \$lib"
  3592. + postinstall_cmds='$RANLIB $lib'
  3593. + fi
  3594. + ;;
  3595. +
  3596. +aix4*)
  3597. + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
  3598. + test "$enable_shared" = yes && enable_static=no
  3599. + fi
  3600. + ;;
  3601. +esac
  3602. +AC_MSG_RESULT([$enable_shared])
  3603. +##
  3604. +## END FIXME
  3605. +
  3606. +## FIXME: this should be a separate macro
  3607. +##
  3608. +AC_MSG_CHECKING([whether to build static libraries])
  3609. +# Make sure either enable_shared or enable_static is yes.
  3610. +test "$enable_shared" = yes || enable_static=yes
  3611. +AC_MSG_RESULT([$enable_static])
  3612. +##
  3613. +## END FIXME
  3614. +
  3615. +if test "$hardcode_action" = relink; then
  3616. + # Fast installation is not supported
  3617. + enable_fast_install=no
  3618. +elif test "$shlibpath_overrides_runpath" = yes ||
  3619. + test "$enable_shared" = no; then
  3620. + # Fast installation is not necessary
  3621. + enable_fast_install=needless
  3622. +fi
  3623. +
  3624. +variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
  3625. +if test "$GCC" = yes; then
  3626. + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
  3627. +fi
  3628. +
  3629. +AC_LIBTOOL_DLOPEN_SELF
  3630. +
  3631. +## FIXME: this should be a separate macro
  3632. +##
  3633. +if test "$enable_shared" = yes && test "$GCC" = yes; then
  3634. + case $archive_cmds in
  3635. + *'~'*)
  3636. + # FIXME: we may have to deal with multi-command sequences.
  3637. + ;;
  3638. + '$CC '*)
  3639. + # Test whether the compiler implicitly links with -lc since on some
  3640. + # systems, -lgcc has to come before -lc. If gcc already passes -lc
  3641. + # to ld, don't add -lc before -lgcc.
  3642. + AC_MSG_CHECKING([whether -lc should be explicitly linked in])
  3643. + AC_CACHE_VAL([lt_cv_archive_cmds_need_lc],
  3644. + [$rm conftest*
  3645. + echo 'static int dummy;' > conftest.$ac_ext
  3646. +
  3647. + if AC_TRY_EVAL(ac_compile); then
  3648. + soname=conftest
  3649. + lib=conftest
  3650. + libobjs=conftest.$ac_objext
  3651. + deplibs=
  3652. + wl=$lt_cv_prog_cc_wl
  3653. + compiler_flags=-v
  3654. + linker_flags=-v
  3655. + verstring=
  3656. + output_objdir=.
  3657. + libname=conftest
  3658. + save_allow_undefined_flag=$allow_undefined_flag
  3659. + allow_undefined_flag=
  3660. + if AC_TRY_EVAL(archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1)
  3661. + then
  3662. + lt_cv_archive_cmds_need_lc=no
  3663. + else
  3664. + lt_cv_archive_cmds_need_lc=yes
  3665. + fi
  3666. + allow_undefined_flag=$save_allow_undefined_flag
  3667. + else
  3668. + cat conftest.err 1>&5
  3669. + fi])
  3670. + AC_MSG_RESULT([$lt_cv_archive_cmds_need_lc])
  3671. + ;;
  3672. + esac
  3673. +fi
  3674. +need_lc=${lt_cv_archive_cmds_need_lc-yes}
  3675. +##
  3676. +## END FIXME
  3677. +
  3678. +## FIXME: this should be a separate macro
  3679. +##
  3680. +# The second clause should only fire when bootstrapping the
  3681. +# libtool distribution, otherwise you forgot to ship ltmain.sh
  3682. +# with your package, and you will get complaints that there are
  3683. +# no rules to generate ltmain.sh.
  3684. +if test -f "$ltmain"; then
  3685. + :
  3686. +else
  3687. + # If there is no Makefile yet, we rely on a make rule to execute
  3688. + # `config.status --recheck' to rerun these tests and create the
  3689. + # libtool script then.
  3690. + test -f Makefile && make "$ltmain"
  3691. +fi
  3692. -# Actually configure libtool. ac_aux_dir is where install-sh is found.
  3693. -CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
  3694. -LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
  3695. -LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" \
  3696. -DLLTOOL="$DLLTOOL" AS="$AS" OBJDUMP="$OBJDUMP" \
  3697. -${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
  3698. -$libtool_flags --no-verify $ac_aux_dir/ltmain.sh $lt_target \
  3699. -|| AC_MSG_ERROR([libtool configure failed])
  3700. +if test -f "$ltmain"; then
  3701. + trap "$rm \"${ofile}T\"; exit 1" 1 2 15
  3702. + $rm -f "${ofile}T"
  3703. +
  3704. + echo creating $ofile
  3705. +
  3706. + # Now quote all the things that may contain metacharacters while being
  3707. + # careful not to overquote the AC_SUBSTed values. We take copies of the
  3708. + # variables and quote the copies for generation of the libtool script.
  3709. + for var in echo old_CC old_CFLAGS SED \
  3710. + AR AR_FLAGS CC LD LN_S NM SHELL \
  3711. + reload_flag reload_cmds wl \
  3712. + pic_flag link_static_flag no_builtin_flag export_dynamic_flag_spec \
  3713. + thread_safe_flag_spec whole_archive_flag_spec libname_spec \
  3714. + library_names_spec soname_spec \
  3715. + RANLIB old_archive_cmds old_archive_from_new_cmds old_postinstall_cmds \
  3716. + old_postuninstall_cmds archive_cmds archive_expsym_cmds postinstall_cmds \
  3717. + postuninstall_cmds extract_expsyms_cmds old_archive_from_expsyms_cmds \
  3718. + old_striplib striplib file_magic_cmd export_symbols_cmds \
  3719. + deplibs_check_method allow_undefined_flag no_undefined_flag \
  3720. + finish_cmds finish_eval global_symbol_pipe global_symbol_to_cdecl \
  3721. + global_symbol_to_c_name_address \
  3722. + hardcode_libdir_flag_spec hardcode_libdir_separator \
  3723. + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
  3724. + compiler_c_o compiler_o_lo need_locks exclude_expsyms include_expsyms; do
  3725. +
  3726. + case $var in
  3727. + reload_cmds | old_archive_cmds | old_archive_from_new_cmds | \
  3728. + old_postinstall_cmds | old_postuninstall_cmds | \
  3729. + export_symbols_cmds | archive_cmds | archive_expsym_cmds | \
  3730. + extract_expsyms_cmds | old_archive_from_expsyms_cmds | \
  3731. + postinstall_cmds | postuninstall_cmds | \
  3732. + finish_cmds | sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
  3733. + # Double-quote double-evaled strings.
  3734. + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
  3735. + ;;
  3736. + *)
  3737. + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
  3738. + ;;
  3739. + esac
  3740. + done
  3741. -# Reload cache, that may have been modified by ltconfig
  3742. -AC_CACHE_LOAD
  3743. + cat <<__EOF__ > "${ofile}T"
  3744. +#! $SHELL
  3745. -# This can be used to rebuild libtool when needed
  3746. -LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh"
  3747. +# `$echo "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
  3748. +# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
  3749. +# NOTE: Changes made to this file will be lost: look at ltmain.sh.
  3750. +#
  3751. +# Copyright (C) 1996-2000 Free Software Foundation, Inc.
  3752. +# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
  3753. +#
  3754. +# This program is free software; you can redistribute it and/or modify
  3755. +# it under the terms of the GNU General Public License as published by
  3756. +# the Free Software Foundation; either version 2 of the License, or
  3757. +# (at your option) any later version.
  3758. +#
  3759. +# This program is distributed in the hope that it will be useful, but
  3760. +# WITHOUT ANY WARRANTY; without even the implied warranty of
  3761. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  3762. +# General Public License for more details.
  3763. +#
  3764. +# You should have received a copy of the GNU General Public License
  3765. +# along with this program; if not, write to the Free Software
  3766. +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  3767. +#
  3768. +# As a special exception to the GNU General Public License, if you
  3769. +# distribute this file as part of a program that contains a
  3770. +# configuration script generated by Autoconf, you may include it under
  3771. +# the same distribution terms that you use for the rest of that program.
  3772. -# Always use our own libtool.
  3773. -LIBTOOL='$(SHELL) $(top_builddir)/libtool'
  3774. -AC_SUBST(LIBTOOL)dnl
  3775. +# A sed that does not truncate output.
  3776. +SED=$lt_SED
  3777. -# Redirect the config.log output again, so that the ltconfig log is not
  3778. -# clobbered by the next message.
  3779. -exec 5>>./config.log
  3780. -])
  3781. +# Sed that helps us avoid accidentally triggering echo(1) options like -n.
  3782. +Xsed="${SED} -e s/^X//"
  3783. -AC_DEFUN(AC_LIBTOOL_SETUP,
  3784. -[AC_PREREQ(2.13)dnl
  3785. -AC_REQUIRE([AC_ENABLE_SHARED])dnl
  3786. -AC_REQUIRE([AC_ENABLE_STATIC])dnl
  3787. -AC_REQUIRE([AC_ENABLE_FAST_INSTALL])dnl
  3788. -AC_REQUIRE([AC_CANONICAL_HOST])dnl
  3789. -AC_REQUIRE([AC_CANONICAL_BUILD])dnl
  3790. -AC_REQUIRE([AC_PROG_RANLIB])dnl
  3791. -AC_REQUIRE([AC_PROG_CC])dnl
  3792. -AC_REQUIRE([AC_PROG_LD])dnl
  3793. -AC_REQUIRE([AC_PROG_NM])dnl
  3794. -AC_REQUIRE([AC_PROG_LN_S])dnl
  3795. -dnl
  3796. +# The HP-UX ksh and POSIX shell print the target directory to stdout
  3797. +# if CDPATH is set.
  3798. +if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
  3799. -case "$target" in
  3800. -NONE) lt_target="$host" ;;
  3801. -*) lt_target="$target" ;;
  3802. -esac
  3803. +# ### BEGIN LIBTOOL CONFIG
  3804. -# Check for any special flags to pass to ltconfig.
  3805. -libtool_flags="--cache-file=$cache_file"
  3806. -test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
  3807. -test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
  3808. -test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
  3809. -test "$ac_cv_prog_gcc" = yes && libtool_flags="$libtool_flags --with-gcc"
  3810. -test "$ac_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
  3811. -ifdef([AC_PROVIDE_AC_LIBTOOL_DLOPEN],
  3812. -[libtool_flags="$libtool_flags --enable-dlopen"])
  3813. -ifdef([AC_PROVIDE_AC_LIBTOOL_WIN32_DLL],
  3814. -[libtool_flags="$libtool_flags --enable-win32-dll"])
  3815. -AC_ARG_ENABLE(libtool-lock,
  3816. - [ --disable-libtool-lock avoid locking (might break parallel builds)])
  3817. -test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
  3818. -test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
  3819. +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
  3820. -# Some flags need to be propagated to the compiler or linker for good
  3821. -# libtool support.
  3822. -case "$lt_target" in
  3823. -*-*-irix6*)
  3824. - # Find out which ABI we are using.
  3825. - echo '[#]line __oline__ "configure"' > conftest.$ac_ext
  3826. - if AC_TRY_EVAL(ac_compile); then
  3827. - case "`/usr/bin/file conftest.o`" in
  3828. - *32-bit*)
  3829. - LD="${LD-ld} -32"
  3830. - ;;
  3831. - *N32*)
  3832. - LD="${LD-ld} -n32"
  3833. - ;;
  3834. - *64-bit*)
  3835. - LD="${LD-ld} -64"
  3836. - ;;
  3837. - esac
  3838. - fi
  3839. - rm -rf conftest*
  3840. - ;;
  3841. +# Shell to use when invoking shell scripts.
  3842. +SHELL=$lt_SHELL
  3843. -*-*-sco3.2v5*)
  3844. - # On SCO OpenServer 5, we need -belf to get full-featured binaries.
  3845. - SAVE_CFLAGS="$CFLAGS"
  3846. - CFLAGS="$CFLAGS -belf"
  3847. - AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,
  3848. - [AC_TRY_LINK([],[],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])])
  3849. - if test x"$lt_cv_cc_needs_belf" != x"yes"; then
  3850. - # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
  3851. - CFLAGS="$SAVE_CFLAGS"
  3852. - fi
  3853. - ;;
  3854. +# Whether or not to build shared libraries.
  3855. +build_libtool_libs=$enable_shared
  3856. -ifdef([AC_PROVIDE_AC_LIBTOOL_WIN32_DLL],
  3857. -[*-*-cygwin* | *-*-mingw*)
  3858. - AC_CHECK_TOOL(DLLTOOL, dlltool, false)
  3859. - AC_CHECK_TOOL(AS, as, false)
  3860. - AC_CHECK_TOOL(OBJDUMP, objdump, false)
  3861. - ;;
  3862. -])
  3863. -esac
  3864. -])
  3865. +# Whether or not to build static libraries.
  3866. +build_old_libs=$enable_static
  3867. +
  3868. +# Whether or not to add -lc for building shared libraries.
  3869. +build_libtool_need_lc=$need_lc
  3870. +
  3871. +# Whether or not to optimize for fast installation.
  3872. +fast_install=$enable_fast_install
  3873. +
  3874. +# The host system.
  3875. +host_alias=$host_alias
  3876. +host=$host
  3877. +
  3878. +# An echo program that does not interpret backslashes.
  3879. +echo=$lt_echo
  3880. +
  3881. +# The archiver.
  3882. +AR=$lt_AR
  3883. +AR_FLAGS=$lt_AR_FLAGS
  3884. +
  3885. +# The default C compiler.
  3886. +CC=$lt_CC
  3887. +
  3888. +# Is the compiler the GNU C compiler?
  3889. +with_gcc=$GCC
  3890. +
  3891. +# The linker used to build libraries.
  3892. +LD=$lt_LD
  3893. +
  3894. +# Whether we need hard or soft links.
  3895. +LN_S=$lt_LN_S
  3896. +
  3897. +# A BSD-compatible nm program.
  3898. +NM=$lt_NM
  3899. +
  3900. +# A symbol stripping program
  3901. +STRIP="$STRIP"
  3902. +
  3903. +# Used to examine libraries when file_magic_cmd begins "file"
  3904. +MAGIC_CMD=$MAGIC_CMD
  3905. +
  3906. +# Used on cygwin: DLL creation program.
  3907. +DLLTOOL="$DLLTOOL"
  3908. +
  3909. +# Used on cygwin: object dumper.
  3910. +OBJDUMP="$OBJDUMP"
  3911. +
  3912. +# Used on cygwin: assembler.
  3913. +AS="$AS"
  3914. +
  3915. +# The name of the directory that contains temporary libtool files.
  3916. +objdir=$objdir
  3917. +
  3918. +# How to create reloadable object files.
  3919. +reload_flag=$lt_reload_flag
  3920. +reload_cmds=$lt_reload_cmds
  3921. +
  3922. +# How to pass a linker flag through the compiler.
  3923. +wl=$lt_wl
  3924. +
  3925. +# Object file suffix (normally "o").
  3926. +objext="$ac_objext"
  3927. +
  3928. +# Old archive suffix (normally "a").
  3929. +libext="$libext"
  3930. +
  3931. +# Executable file suffix (normally "").
  3932. +exeext="$exeext"
  3933. +
  3934. +# Additional compiler flags for building library objects.
  3935. +pic_flag=$lt_pic_flag
  3936. +pic_mode=$pic_mode
  3937. +
  3938. +# Does compiler simultaneously support -c and -o options?
  3939. +compiler_c_o=$lt_compiler_c_o
  3940. +
  3941. +# Can we write directly to a .lo ?
  3942. +compiler_o_lo=$lt_compiler_o_lo
  3943. +
  3944. +# Must we lock files when doing compilation ?
  3945. +need_locks=$lt_need_locks
  3946. +
  3947. +# Do we need the lib prefix for modules?
  3948. +need_lib_prefix=$need_lib_prefix
  3949. +
  3950. +# Do we need a version for libraries?
  3951. +need_version=$need_version
  3952. +
  3953. +# Whether dlopen is supported.
  3954. +dlopen_support=$enable_dlopen
  3955. +
  3956. +# Whether dlopen of programs is supported.
  3957. +dlopen_self=$enable_dlopen_self
  3958. +
  3959. +# Whether dlopen of statically linked programs is supported.
  3960. +dlopen_self_static=$enable_dlopen_self_static
  3961. +
  3962. +# Compiler flag to prevent dynamic linking.
  3963. +link_static_flag=$lt_link_static_flag
  3964. +
  3965. +# Compiler flag to turn off builtin functions.
  3966. +no_builtin_flag=$lt_no_builtin_flag
  3967. +
  3968. +# Compiler flag to allow reflexive dlopens.
  3969. +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
  3970. +
  3971. +# Compiler flag to generate shared objects directly from archives.
  3972. +whole_archive_flag_spec=$lt_whole_archive_flag_spec
  3973. +
  3974. +# Compiler flag to generate thread-safe objects.
  3975. +thread_safe_flag_spec=$lt_thread_safe_flag_spec
  3976. +
  3977. +# Library versioning type.
  3978. +version_type=$version_type
  3979. +
  3980. +# Format of library name prefix.
  3981. +libname_spec=$lt_libname_spec
  3982. +
  3983. +# List of archive names. First name is the real one, the rest are links.
  3984. +# The last name is the one that the linker finds with -lNAME.
  3985. +library_names_spec=$lt_library_names_spec
  3986. +
  3987. +# The coded name of the library, if different from the real name.
  3988. +soname_spec=$lt_soname_spec
  3989. +
  3990. +# Commands used to build and install an old-style archive.
  3991. +RANLIB=$lt_RANLIB
  3992. +old_archive_cmds=$lt_old_archive_cmds
  3993. +old_postinstall_cmds=$lt_old_postinstall_cmds
  3994. +old_postuninstall_cmds=$lt_old_postuninstall_cmds
  3995. +
  3996. +# Create an old-style archive from a shared archive.
  3997. +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
  3998. +
  3999. +# Create a temporary old-style archive to link instead of a shared archive.
  4000. +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
  4001. +
  4002. +# Commands used to build and install a shared archive.
  4003. +archive_cmds=$lt_archive_cmds
  4004. +archive_expsym_cmds=$lt_archive_expsym_cmds
  4005. +postinstall_cmds=$lt_postinstall_cmds
  4006. +postuninstall_cmds=$lt_postuninstall_cmds
  4007. +
  4008. +# Commands to strip libraries.
  4009. +old_striplib=$lt_old_striplib
  4010. +striplib=$lt_striplib
  4011. +
  4012. +# Method to check whether dependent libraries are shared objects.
  4013. +deplibs_check_method=$lt_deplibs_check_method
  4014. +
  4015. +# Command to use when deplibs_check_method == file_magic.
  4016. +file_magic_cmd=$lt_file_magic_cmd
  4017. +
  4018. +# Flag that allows shared libraries with undefined symbols to be built.
  4019. +allow_undefined_flag=$lt_allow_undefined_flag
  4020. +
  4021. +# Flag that forces no undefined symbols.
  4022. +no_undefined_flag=$lt_no_undefined_flag
  4023. +
  4024. +# Commands used to finish a libtool library installation in a directory.
  4025. +finish_cmds=$lt_finish_cmds
  4026. +
  4027. +# Same as above, but a single script fragment to be evaled but not shown.
  4028. +finish_eval=$lt_finish_eval
  4029. +
  4030. +# Take the output of nm and produce a listing of raw symbols and C names.
  4031. +global_symbol_pipe=$lt_global_symbol_pipe
  4032. +
  4033. +# Transform the output of nm in a proper C declaration
  4034. +global_symbol_to_cdecl=$lt_global_symbol_to_cdecl
  4035. +
  4036. +# Transform the output of nm in a C name address pair
  4037. +global_symbol_to_c_name_address=$lt_global_symbol_to_c_name_address
  4038. +
  4039. +# This is the shared library runtime path variable.
  4040. +runpath_var=$runpath_var
  4041. +
  4042. +# This is the shared library path variable.
  4043. +shlibpath_var=$shlibpath_var
  4044. +
  4045. +# Is shlibpath searched before the hard-coded library search path?
  4046. +shlibpath_overrides_runpath=$shlibpath_overrides_runpath
  4047. +
  4048. +# How to hardcode a shared library path into an executable.
  4049. +hardcode_action=$hardcode_action
  4050. +
  4051. +# Whether we should hardcode library paths into libraries.
  4052. +hardcode_into_libs=$hardcode_into_libs
  4053. +
  4054. +# Flag to hardcode \$libdir into a binary during linking.
  4055. +# This must work even if \$libdir does not exist.
  4056. +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
  4057. +
  4058. +# Whether we need a single -rpath flag with a separated argument.
  4059. +hardcode_libdir_separator=$lt_hardcode_libdir_separator
  4060. +
  4061. +# Set to yes if using DIR/libNAME.so during linking hardcodes DIR into the
  4062. +# resulting binary.
  4063. +hardcode_direct=$hardcode_direct
  4064. +
  4065. +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
  4066. +# resulting binary.
  4067. +hardcode_minus_L=$hardcode_minus_L
  4068. +
  4069. +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
  4070. +# the resulting binary.
  4071. +hardcode_shlibpath_var=$hardcode_shlibpath_var
  4072. +
  4073. +# Variables whose values should be saved in libtool wrapper scripts and
  4074. +# restored at relink time.
  4075. +variables_saved_for_relink="$variables_saved_for_relink"
  4076. +
  4077. +# Whether libtool must link a program against all its dependency libraries.
  4078. +link_all_deplibs=$link_all_deplibs
  4079. +
  4080. +# Compile-time system search path for libraries
  4081. +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
  4082. +
  4083. +# Run-time system search path for libraries
  4084. +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
  4085. +
  4086. +# Fix the shell variable \$srcfile for the compiler.
  4087. +fix_srcfile_path="$fix_srcfile_path"
  4088. +
  4089. +# Set to yes if exported symbols are required.
  4090. +always_export_symbols=$always_export_symbols
  4091. +
  4092. +# The commands to list exported symbols.
  4093. +export_symbols_cmds=$lt_export_symbols_cmds
  4094. +
  4095. +# The commands to extract the exported symbol list from a shared archive.
  4096. +extract_expsyms_cmds=$lt_extract_expsyms_cmds
  4097. +
  4098. +# Symbols that should not be listed in the preloaded symbols.
  4099. +exclude_expsyms=$lt_exclude_expsyms
  4100. +
  4101. +# Symbols that must always be exported.
  4102. +include_expsyms=$lt_include_expsyms
  4103. +
  4104. +# ### END LIBTOOL CONFIG
  4105. +
  4106. +__EOF__
  4107. +
  4108. + case $host_os in
  4109. + aix3*)
  4110. + cat <<\EOF >> "${ofile}T"
  4111. +
  4112. +# AIX sometimes has problems with the GCC collect2 program. For some
  4113. +# reason, if we set the COLLECT_NAMES environment variable, the problems
  4114. +# vanish in a puff of smoke.
  4115. +if test "X${COLLECT_NAMES+set}" != Xset; then
  4116. + COLLECT_NAMES=
  4117. + export COLLECT_NAMES
  4118. +fi
  4119. +EOF
  4120. + ;;
  4121. + esac
  4122. +
  4123. + case $host_os in
  4124. + cygwin* | mingw* | pw32* | os2*)
  4125. + cat <<'EOF' >> "${ofile}T"
  4126. + # This is a source program that is used to create dlls on Windows
  4127. + # Don't remove nor modify the starting and closing comments
  4128. +# /* ltdll.c starts here */
  4129. +# #define WIN32_LEAN_AND_MEAN
  4130. +# #include <windows.h>
  4131. +# #undef WIN32_LEAN_AND_MEAN
  4132. +# #include <stdio.h>
  4133. +#
  4134. +# #ifndef __CYGWIN__
  4135. +# # ifdef __CYGWIN32__
  4136. +# # define __CYGWIN__ __CYGWIN32__
  4137. +# # endif
  4138. +# #endif
  4139. +#
  4140. +# #ifdef __cplusplus
  4141. +# extern "C" {
  4142. +# #endif
  4143. +# BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved);
  4144. +# #ifdef __cplusplus
  4145. +# }
  4146. +# #endif
  4147. +#
  4148. +# #ifdef __CYGWIN__
  4149. +# #include <cygwin/cygwin_dll.h>
  4150. +# DECLARE_CYGWIN_DLL( DllMain );
  4151. +# #endif
  4152. +# HINSTANCE __hDllInstance_base;
  4153. +#
  4154. +# BOOL APIENTRY
  4155. +# DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved)
  4156. +# {
  4157. +# __hDllInstance_base = hInst;
  4158. +# return TRUE;
  4159. +# }
  4160. +# /* ltdll.c ends here */
  4161. + # This is a source program that is used to create import libraries
  4162. + # on Windows for dlls which lack them. Don't remove nor modify the
  4163. + # starting and closing comments
  4164. +# /* impgen.c starts here */
  4165. +# /* Copyright (C) 1999-2000 Free Software Foundation, Inc.
  4166. +#
  4167. +# This file is part of GNU libtool.
  4168. +#
  4169. +# This program is free software; you can redistribute it and/or modify
  4170. +# it under the terms of the GNU General Public License as published by
  4171. +# the Free Software Foundation; either version 2 of the License, or
  4172. +# (at your option) any later version.
  4173. +#
  4174. +# This program is distributed in the hope that it will be useful,
  4175. +# but WITHOUT ANY WARRANTY; without even the implied warranty of
  4176. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  4177. +# GNU General Public License for more details.
  4178. +#
  4179. +# You should have received a copy of the GNU General Public License
  4180. +# along with this program; if not, write to the Free Software
  4181. +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  4182. +# */
  4183. +#
  4184. +# #include <stdio.h> /* for printf() */
  4185. +# #include <unistd.h> /* for open(), lseek(), read() */
  4186. +# #include <fcntl.h> /* for O_RDONLY, O_BINARY */
  4187. +# #include <string.h> /* for strdup() */
  4188. +#
  4189. +# /* O_BINARY isn't required (or even defined sometimes) under Unix */
  4190. +# #ifndef O_BINARY
  4191. +# #define O_BINARY 0
  4192. +# #endif
  4193. +#
  4194. +# static unsigned int
  4195. +# pe_get16 (fd, offset)
  4196. +# int fd;
  4197. +# int offset;
  4198. +# {
  4199. +# unsigned char b[2];
  4200. +# lseek (fd, offset, SEEK_SET);
  4201. +# read (fd, b, 2);
  4202. +# return b[0] + (b[1]<<8);
  4203. +# }
  4204. +#
  4205. +# static unsigned int
  4206. +# pe_get32 (fd, offset)
  4207. +# int fd;
  4208. +# int offset;
  4209. +# {
  4210. +# unsigned char b[4];
  4211. +# lseek (fd, offset, SEEK_SET);
  4212. +# read (fd, b, 4);
  4213. +# return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24);
  4214. +# }
  4215. +#
  4216. +# static unsigned int
  4217. +# pe_as32 (ptr)
  4218. +# void *ptr;
  4219. +# {
  4220. +# unsigned char *b = ptr;
  4221. +# return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24);
  4222. +# }
  4223. +#
  4224. +# int
  4225. +# main (argc, argv)
  4226. +# int argc;
  4227. +# char *argv[];
  4228. +# {
  4229. +# int dll;
  4230. +# unsigned long pe_header_offset, opthdr_ofs, num_entries, i;
  4231. +# unsigned long export_rva, export_size, nsections, secptr, expptr;
  4232. +# unsigned long name_rvas, nexp;
  4233. +# unsigned char *expdata, *erva;
  4234. +# char *filename, *dll_name;
  4235. +#
  4236. +# filename = argv[1];
  4237. +#
  4238. +# dll = open(filename, O_RDONLY|O_BINARY);
  4239. +# if (dll < 1)
  4240. +# return 1;
  4241. +#
  4242. +# dll_name = filename;
  4243. +#
  4244. +# for (i=0; filename[i]; i++)
  4245. +# if (filename[i] == '/' || filename[i] == '\\' || filename[i] == ':')
  4246. +# dll_name = filename + i +1;
  4247. +#
  4248. +# pe_header_offset = pe_get32 (dll, 0x3c);
  4249. +# opthdr_ofs = pe_header_offset + 4 + 20;
  4250. +# num_entries = pe_get32 (dll, opthdr_ofs + 92);
  4251. +#
  4252. +# if (num_entries < 1) /* no exports */
  4253. +# return 1;
  4254. +#
  4255. +# export_rva = pe_get32 (dll, opthdr_ofs + 96);
  4256. +# export_size = pe_get32 (dll, opthdr_ofs + 100);
  4257. +# nsections = pe_get16 (dll, pe_header_offset + 4 +2);
  4258. +# secptr = (pe_header_offset + 4 + 20 +
  4259. +# pe_get16 (dll, pe_header_offset + 4 + 16));
  4260. +#
  4261. +# expptr = 0;
  4262. +# for (i = 0; i < nsections; i++)
  4263. +# {
  4264. +# char sname[8];
  4265. +# unsigned long secptr1 = secptr + 40 * i;
  4266. +# unsigned long vaddr = pe_get32 (dll, secptr1 + 12);
  4267. +# unsigned long vsize = pe_get32 (dll, secptr1 + 16);
  4268. +# unsigned long fptr = pe_get32 (dll, secptr1 + 20);
  4269. +# lseek(dll, secptr1, SEEK_SET);
  4270. +# read(dll, sname, 8);
  4271. +# if (vaddr <= export_rva && vaddr+vsize > export_rva)
  4272. +# {
  4273. +# expptr = fptr + (export_rva - vaddr);
  4274. +# if (export_rva + export_size > vaddr + vsize)
  4275. +# export_size = vsize - (export_rva - vaddr);
  4276. +# break;
  4277. +# }
  4278. +# }
  4279. +#
  4280. +# expdata = (unsigned char*)malloc(export_size);
  4281. +# lseek (dll, expptr, SEEK_SET);
  4282. +# read (dll, expdata, export_size);
  4283. +# erva = expdata - export_rva;
  4284. +#
  4285. +# nexp = pe_as32 (expdata+24);
  4286. +# name_rvas = pe_as32 (expdata+32);
  4287. +#
  4288. +# printf ("EXPORTS\n");
  4289. +# for (i = 0; i<nexp; i++)
  4290. +# {
  4291. +# unsigned long name_rva = pe_as32 (erva+name_rvas+i*4);
  4292. +# printf ("\t%s @ %ld ;\n", erva+name_rva, 1+ i);
  4293. +# }
  4294. +#
  4295. +# return 0;
  4296. +# }
  4297. +# /* impgen.c ends here */
  4298. +
  4299. +EOF
  4300. + ;;
  4301. + esac
  4302. +
  4303. + # We use sed instead of cat because bash on DJGPP gets confused if
  4304. + # if finds mixed CR/LF and LF-only lines. Since sed operates in
  4305. + # text mode, it properly converts lines to CR/LF. This bash problem
  4306. + # is reportedly fixed, but why not run on old versions too?
  4307. + sed '$q' "$ltmain" >> "${ofile}T" || (rm -f "${ofile}T"; exit 1)
  4308. +
  4309. + mv -f "${ofile}T" "$ofile" || \
  4310. + (rm -f "$ofile" && cp "${ofile}T" "$ofile" && rm -f "${ofile}T")
  4311. + chmod +x "$ofile"
  4312. +fi
  4313. +##
  4314. +## END FIXME
  4315. +
  4316. +])# _LT_AC_LTCONFIG_HACK
  4317. # AC_LIBTOOL_DLOPEN - enable checks for dlopen support
  4318. -AC_DEFUN(AC_LIBTOOL_DLOPEN, [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])])
  4319. +AC_DEFUN([AC_LIBTOOL_DLOPEN], [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])])
  4320. # AC_LIBTOOL_WIN32_DLL - declare package support for building win32 dll's
  4321. -AC_DEFUN(AC_LIBTOOL_WIN32_DLL, [AC_BEFORE([$0], [AC_LIBTOOL_SETUP])])
  4322. +AC_DEFUN([AC_LIBTOOL_WIN32_DLL], [AC_BEFORE([$0], [AC_LIBTOOL_SETUP])])
  4323. # AC_ENABLE_SHARED - implement the --enable-shared flag
  4324. # Usage: AC_ENABLE_SHARED[(DEFAULT)]
  4325. # Where DEFAULT is either `yes' or `no'. If omitted, it defaults to
  4326. # `yes'.
  4327. -AC_DEFUN(AC_ENABLE_SHARED, [dnl
  4328. -define([AC_ENABLE_SHARED_DEFAULT], ifelse($1, no, no, yes))dnl
  4329. +AC_DEFUN([AC_ENABLE_SHARED],
  4330. +[define([AC_ENABLE_SHARED_DEFAULT], ifelse($1, no, no, yes))dnl
  4331. AC_ARG_ENABLE(shared,
  4332. changequote(<<, >>)dnl
  4333. << --enable-shared[=PKGS] build shared libraries [default=>>AC_ENABLE_SHARED_DEFAULT],
  4334. changequote([, ])dnl
  4335. [p=${PACKAGE-default}
  4336. -case "$enableval" in
  4337. +case $enableval in
  4338. yes) enable_shared=yes ;;
  4339. no) enable_shared=no ;;
  4340. *)
  4341. @@ -167,21 +3062,22 @@
  4342. ])
  4343. # AC_DISABLE_SHARED - set the default shared flag to --disable-shared
  4344. -AC_DEFUN(AC_DISABLE_SHARED, [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
  4345. +AC_DEFUN([AC_DISABLE_SHARED],
  4346. +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
  4347. AC_ENABLE_SHARED(no)])
  4348. # AC_ENABLE_STATIC - implement the --enable-static flag
  4349. # Usage: AC_ENABLE_STATIC[(DEFAULT)]
  4350. # Where DEFAULT is either `yes' or `no'. If omitted, it defaults to
  4351. # `yes'.
  4352. -AC_DEFUN(AC_ENABLE_STATIC, [dnl
  4353. -define([AC_ENABLE_STATIC_DEFAULT], ifelse($1, no, no, yes))dnl
  4354. +AC_DEFUN([AC_ENABLE_STATIC],
  4355. +[define([AC_ENABLE_STATIC_DEFAULT], ifelse($1, no, no, yes))dnl
  4356. AC_ARG_ENABLE(static,
  4357. changequote(<<, >>)dnl
  4358. << --enable-static[=PKGS] build static libraries [default=>>AC_ENABLE_STATIC_DEFAULT],
  4359. changequote([, ])dnl
  4360. [p=${PACKAGE-default}
  4361. -case "$enableval" in
  4362. +case $enableval in
  4363. yes) enable_static=yes ;;
  4364. no) enable_static=no ;;
  4365. *)
  4366. @@ -200,7 +3096,8 @@
  4367. ])
  4368. # AC_DISABLE_STATIC - set the default static flag to --disable-static
  4369. -AC_DEFUN(AC_DISABLE_STATIC, [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
  4370. +AC_DEFUN([AC_DISABLE_STATIC],
  4371. +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
  4372. AC_ENABLE_STATIC(no)])
  4373. @@ -208,14 +3105,14 @@
  4374. # Usage: AC_ENABLE_FAST_INSTALL[(DEFAULT)]
  4375. # Where DEFAULT is either `yes' or `no'. If omitted, it defaults to
  4376. # `yes'.
  4377. -AC_DEFUN(AC_ENABLE_FAST_INSTALL, [dnl
  4378. -define([AC_ENABLE_FAST_INSTALL_DEFAULT], ifelse($1, no, no, yes))dnl
  4379. +AC_DEFUN([AC_ENABLE_FAST_INSTALL],
  4380. +[define([AC_ENABLE_FAST_INSTALL_DEFAULT], ifelse($1, no, no, yes))dnl
  4381. AC_ARG_ENABLE(fast-install,
  4382. changequote(<<, >>)dnl
  4383. << --enable-fast-install[=PKGS] optimize for fast installation [default=>>AC_ENABLE_FAST_INSTALL_DEFAULT],
  4384. changequote([, ])dnl
  4385. [p=${PACKAGE-default}
  4386. -case "$enableval" in
  4387. +case $enableval in
  4388. yes) enable_fast_install=yes ;;
  4389. no) enable_fast_install=no ;;
  4390. *)
  4391. @@ -233,29 +3130,120 @@
  4392. enable_fast_install=AC_ENABLE_FAST_INSTALL_DEFAULT)dnl
  4393. ])
  4394. -# AC_ENABLE_FAST_INSTALL - set the default to --disable-fast-install
  4395. -AC_DEFUN(AC_DISABLE_FAST_INSTALL, [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
  4396. +# AC_DISABLE_FAST_INSTALL - set the default to --disable-fast-install
  4397. +AC_DEFUN([AC_DISABLE_FAST_INSTALL],
  4398. +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
  4399. AC_ENABLE_FAST_INSTALL(no)])
  4400. +# AC_LIBTOOL_PICMODE - implement the --with-pic flag
  4401. +# Usage: AC_LIBTOOL_PICMODE[(MODE)]
  4402. +# Where MODE is either `yes' or `no'. If omitted, it defaults to
  4403. +# `both'.
  4404. +AC_DEFUN([AC_LIBTOOL_PICMODE],
  4405. +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
  4406. +pic_mode=ifelse($#,1,$1,default)])
  4407. +
  4408. +
  4409. +# AC_PATH_TOOL_PREFIX - find a file program which can recognise shared library
  4410. +AC_DEFUN([AC_PATH_TOOL_PREFIX],
  4411. +[AC_MSG_CHECKING([for $1])
  4412. +AC_CACHE_VAL(lt_cv_path_MAGIC_CMD,
  4413. +[case $MAGIC_CMD in
  4414. + /*)
  4415. + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
  4416. + ;;
  4417. + ?:/*)
  4418. + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
  4419. + ;;
  4420. + *)
  4421. + ac_save_MAGIC_CMD="$MAGIC_CMD"
  4422. + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
  4423. +dnl $ac_dummy forces splitting on constant user-supplied paths.
  4424. +dnl POSIX.2 word splitting is done only on the output of word expansions,
  4425. +dnl not every word. This closes a longstanding sh security hole.
  4426. + ac_dummy="ifelse([$2], , $PATH, [$2])"
  4427. + for ac_dir in $ac_dummy; do
  4428. + test -z "$ac_dir" && ac_dir=.
  4429. + if test -f $ac_dir/$1; then
  4430. + lt_cv_path_MAGIC_CMD="$ac_dir/$1"
  4431. + if test -n "$file_magic_test_file"; then
  4432. + case $deplibs_check_method in
  4433. + "file_magic "*)
  4434. + file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
  4435. + MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  4436. + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
  4437. + egrep "$file_magic_regex" > /dev/null; then
  4438. + :
  4439. + else
  4440. + cat <<EOF 1>&2
  4441. +
  4442. +*** Warning: the command libtool uses to detect shared libraries,
  4443. +*** $file_magic_cmd, produces output that libtool cannot recognize.
  4444. +*** The result is that libtool may fail to recognize shared libraries
  4445. +*** as such. This will affect the creation of libtool libraries that
  4446. +*** depend on shared libraries, but programs linked with such libtool
  4447. +*** libraries will work regardless of this problem. Nevertheless, you
  4448. +*** may want to report the problem to your system manager and/or to
  4449. +*** bug-libtool@gnu.org
  4450. +
  4451. +EOF
  4452. + fi ;;
  4453. + esac
  4454. + fi
  4455. + break
  4456. + fi
  4457. + done
  4458. + IFS="$ac_save_ifs"
  4459. + MAGIC_CMD="$ac_save_MAGIC_CMD"
  4460. + ;;
  4461. +esac])
  4462. +MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  4463. +if test -n "$MAGIC_CMD"; then
  4464. + AC_MSG_RESULT($MAGIC_CMD)
  4465. +else
  4466. + AC_MSG_RESULT(no)
  4467. +fi
  4468. +])
  4469. +
  4470. +
  4471. +# AC_PATH_MAGIC - find a file program which can recognise a shared library
  4472. +AC_DEFUN([AC_PATH_MAGIC],
  4473. +[AC_REQUIRE([AC_CHECK_TOOL_PREFIX])dnl
  4474. +AC_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin:$PATH)
  4475. +if test -z "$lt_cv_path_MAGIC_CMD"; then
  4476. + if test -n "$ac_tool_prefix"; then
  4477. + AC_PATH_TOOL_PREFIX(file, /usr/bin:$PATH)
  4478. + else
  4479. + MAGIC_CMD=:
  4480. + fi
  4481. +fi
  4482. +])
  4483. +
  4484. +
  4485. # AC_PROG_LD - find the path to the GNU or non-GNU linker
  4486. -AC_DEFUN(AC_PROG_LD,
  4487. +AC_DEFUN([AC_PROG_LD],
  4488. [AC_ARG_WITH(gnu-ld,
  4489. [ --with-gnu-ld assume the C compiler uses GNU ld [default=no]],
  4490. test "$withval" = no || with_gnu_ld=yes, with_gnu_ld=no)
  4491. AC_REQUIRE([AC_PROG_CC])dnl
  4492. AC_REQUIRE([AC_CANONICAL_HOST])dnl
  4493. AC_REQUIRE([AC_CANONICAL_BUILD])dnl
  4494. +AC_REQUIRE([_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR])dnl
  4495. ac_prog=ld
  4496. -if test "$ac_cv_prog_gcc" = yes; then
  4497. +if test "$GCC" = yes; then
  4498. # Check if gcc -print-prog-name=ld gives a path.
  4499. AC_MSG_CHECKING([for ld used by GCC])
  4500. - ac_prog=`($CC -print-prog-name=ld) 2>&5`
  4501. - case "$ac_prog" in
  4502. + case $host in
  4503. + *-*-mingw*)
  4504. + # gcc leaves a trailing carriage return which upsets mingw
  4505. + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
  4506. + *)
  4507. + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
  4508. + esac
  4509. + case $ac_prog in
  4510. # Accept absolute paths.
  4511. -changequote(,)dnl
  4512. - [\\/]* | [A-Za-z]:[\\/]*)
  4513. - re_direlt='/[^/][^/]*/\.\./'
  4514. -changequote([,])dnl
  4515. + [[\\/]]* | [[A-Za-z]]:[[\\/]]*)
  4516. + re_direlt='/[[^/]][[^/]]*/\.\./'
  4517. # Canonicalize the path of ld
  4518. ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
  4519. while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
  4520. @@ -277,17 +3265,17 @@
  4521. else
  4522. AC_MSG_CHECKING([for non-GNU ld])
  4523. fi
  4524. -AC_CACHE_VAL(ac_cv_path_LD,
  4525. +AC_CACHE_VAL(lt_cv_path_LD,
  4526. [if test -z "$LD"; then
  4527. - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
  4528. + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  4529. for ac_dir in $PATH; do
  4530. test -z "$ac_dir" && ac_dir=.
  4531. if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
  4532. - ac_cv_path_LD="$ac_dir/$ac_prog"
  4533. + lt_cv_path_LD="$ac_dir/$ac_prog"
  4534. # Check to see if the program is GNU ld. I'd rather use --version,
  4535. # but apparently some GNU ld's only accept -v.
  4536. # Break only if it was the GNU/non-GNU ld that we prefer.
  4537. - if "$ac_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
  4538. + if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
  4539. test "$with_gnu_ld" != no && break
  4540. else
  4541. test "$with_gnu_ld" != yes && break
  4542. @@ -296,9 +3284,9 @@
  4543. done
  4544. IFS="$ac_save_ifs"
  4545. else
  4546. - ac_cv_path_LD="$LD" # Let the user override the test with a path.
  4547. + lt_cv_path_LD="$LD" # Let the user override the test with a path.
  4548. fi])
  4549. -LD="$ac_cv_path_LD"
  4550. +LD="$lt_cv_path_LD"
  4551. if test -n "$LD"; then
  4552. AC_MSG_RESULT($LD)
  4553. else
  4554. @@ -308,56 +3296,255 @@
  4555. AC_PROG_LD_GNU
  4556. ])
  4557. -AC_DEFUN(AC_PROG_LD_GNU,
  4558. -[AC_CACHE_CHECK([if the linker ($LD) is GNU ld], ac_cv_prog_gnu_ld,
  4559. +# AC_PROG_LD_GNU -
  4560. +AC_DEFUN([AC_PROG_LD_GNU],
  4561. +[AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld,
  4562. [# I'd rather use --version here, but apparently some GNU ld's only accept -v.
  4563. if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
  4564. - ac_cv_prog_gnu_ld=yes
  4565. + lt_cv_prog_gnu_ld=yes
  4566. else
  4567. - ac_cv_prog_gnu_ld=no
  4568. + lt_cv_prog_gnu_ld=no
  4569. fi])
  4570. +with_gnu_ld=$lt_cv_prog_gnu_ld
  4571. +])
  4572. +
  4573. +# AC_PROG_LD_RELOAD_FLAG - find reload flag for linker
  4574. +# -- PORTME Some linkers may need a different reload flag.
  4575. +AC_DEFUN([AC_PROG_LD_RELOAD_FLAG],
  4576. +[AC_CACHE_CHECK([for $LD option to reload object files], lt_cv_ld_reload_flag,
  4577. +[lt_cv_ld_reload_flag='-r'])
  4578. +reload_flag=$lt_cv_ld_reload_flag
  4579. +test -n "$reload_flag" && reload_flag=" $reload_flag"
  4580. +])
  4581. +
  4582. +# AC_DEPLIBS_CHECK_METHOD - how to check for library dependencies
  4583. +# -- PORTME fill in with the dynamic library characteristics
  4584. +AC_DEFUN([AC_DEPLIBS_CHECK_METHOD],
  4585. +[AC_CACHE_CHECK([how to recognise dependent libraries],
  4586. +lt_cv_deplibs_check_method,
  4587. +[lt_cv_file_magic_cmd='$MAGIC_CMD'
  4588. +lt_cv_file_magic_test_file=
  4589. +lt_cv_deplibs_check_method='unknown'
  4590. +# Need to set the preceding variable on all platforms that support
  4591. +# interlibrary dependencies.
  4592. +# 'none' -- dependencies not supported.
  4593. +# `unknown' -- same as none, but documents that we really don't know.
  4594. +# 'pass_all' -- all dependencies passed with no checks.
  4595. +# 'test_compile' -- check by making test program.
  4596. +# 'file_magic [[regex]]' -- check by looking for files in library path
  4597. +# which responds to the $file_magic_cmd with a given egrep regex.
  4598. +# If you have `file' or equivalent on your system and you're not sure
  4599. +# whether `pass_all' will *always* work, you probably want this one.
  4600. +
  4601. +case $host_os in
  4602. +aix4* | aix5*)
  4603. + lt_cv_deplibs_check_method=pass_all
  4604. + ;;
  4605. +
  4606. +beos*)
  4607. + lt_cv_deplibs_check_method=pass_all
  4608. + ;;
  4609. +
  4610. +bsdi4*)
  4611. + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)'
  4612. + lt_cv_file_magic_cmd='/usr/bin/file -L'
  4613. + lt_cv_file_magic_test_file=/shlib/libc.so
  4614. + ;;
  4615. +
  4616. +cygwin* | mingw* | pw32*)
  4617. + lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
  4618. + lt_cv_file_magic_cmd='$OBJDUMP -f'
  4619. + ;;
  4620. +
  4621. +darwin* | rhapsody*)
  4622. + lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
  4623. + lt_cv_file_magic_cmd='/usr/bin/file -L'
  4624. + case "$host_os" in
  4625. + rhapsody* | darwin1.[[012]])
  4626. + lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -1`
  4627. + ;;
  4628. + *) # Darwin 1.3 on
  4629. + lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
  4630. + ;;
  4631. + esac
  4632. + ;;
  4633. +
  4634. +freebsd*)
  4635. + if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
  4636. + case $host_cpu in
  4637. + i*86 )
  4638. + # Not sure whether the presence of OpenBSD here was a mistake.
  4639. + # Let's accept both of them until this is cleared up.
  4640. + lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[[3-9]]86 (compact )?demand paged shared library'
  4641. + lt_cv_file_magic_cmd=/usr/bin/file
  4642. + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
  4643. + ;;
  4644. + esac
  4645. + else
  4646. + lt_cv_deplibs_check_method=pass_all
  4647. + fi
  4648. + ;;
  4649. +
  4650. +gnu*)
  4651. + lt_cv_deplibs_check_method=pass_all
  4652. + ;;
  4653. +
  4654. +hpux10.20*|hpux11*)
  4655. + lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library'
  4656. + lt_cv_file_magic_cmd=/usr/bin/file
  4657. + lt_cv_file_magic_test_file=/usr/lib/libc.sl
  4658. + ;;
  4659. +
  4660. +irix5* | irix6* | nonstopux*)
  4661. + case $host_os in
  4662. + irix5* | nonstopux*)
  4663. + # this will be overridden with pass_all, but let us keep it just in case
  4664. + lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
  4665. + ;;
  4666. + *)
  4667. + case $LD in
  4668. + *-32|*"-32 ") libmagic=32-bit;;
  4669. + *-n32|*"-n32 ") libmagic=N32;;
  4670. + *-64|*"-64 ") libmagic=64-bit;;
  4671. + *) libmagic=never-match;;
  4672. + esac
  4673. + # this will be overridden with pass_all, but let us keep it just in case
  4674. + lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[[1234]] dynamic lib MIPS - version 1"
  4675. + ;;
  4676. + esac
  4677. + lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
  4678. + lt_cv_deplibs_check_method=pass_all
  4679. + ;;
  4680. +
  4681. +# This must be Linux ELF.
  4682. +linux-gnu*)
  4683. + case $host_cpu in
  4684. + alpha* | hppa* | i*86 | mips | mipsel | powerpc* | sparc* | ia64* | arm* | m68k)
  4685. + lt_cv_deplibs_check_method=pass_all ;;
  4686. + *)
  4687. + # glibc up to 2.1.1 does not perform some relocations on ARM
  4688. + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )' ;;
  4689. + esac
  4690. + lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
  4691. + ;;
  4692. +
  4693. +netbsd*)
  4694. + if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
  4695. + lt_cv_deplibs_check_method='match_pattern /lib[[^/\.]]+\.so\.[[0-9]]+\.[[0-9]]+$'
  4696. + else
  4697. + lt_cv_deplibs_check_method='match_pattern /lib[[^/\.]]+\.so$'
  4698. + fi
  4699. + ;;
  4700. +
  4701. +newos6*)
  4702. + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)'
  4703. + lt_cv_file_magic_cmd=/usr/bin/file
  4704. + lt_cv_file_magic_test_file=/usr/lib/libnls.so
  4705. + ;;
  4706. +
  4707. +openbsd*)
  4708. + lt_cv_file_magic_cmd=/usr/bin/file
  4709. + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
  4710. + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  4711. + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB shared object'
  4712. + else
  4713. + lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
  4714. + fi
  4715. + ;;
  4716. +
  4717. +osf3* | osf4* | osf5*)
  4718. + # this will be overridden with pass_all, but let us keep it just in case
  4719. + lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
  4720. + lt_cv_file_magic_test_file=/shlib/libc.so
  4721. + lt_cv_deplibs_check_method=pass_all
  4722. + ;;
  4723. +
  4724. +sco3.2v5*)
  4725. + lt_cv_deplibs_check_method=pass_all
  4726. + ;;
  4727. +
  4728. +solaris*)
  4729. + lt_cv_deplibs_check_method=pass_all
  4730. + lt_cv_file_magic_test_file=/lib/libc.so
  4731. + ;;
  4732. +
  4733. +sysv5uw[[78]]* | sysv4*uw2*)
  4734. + lt_cv_deplibs_check_method=pass_all
  4735. + ;;
  4736. +
  4737. +sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
  4738. + case $host_vendor in
  4739. + motorola)
  4740. + 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]]'
  4741. + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
  4742. + ;;
  4743. + ncr)
  4744. + lt_cv_deplibs_check_method=pass_all
  4745. + ;;
  4746. + sequent)
  4747. + lt_cv_file_magic_cmd='/bin/file'
  4748. + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )'
  4749. + ;;
  4750. + sni)
  4751. + lt_cv_file_magic_cmd='/bin/file'
  4752. + lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib"
  4753. + lt_cv_file_magic_test_file=/lib/libc.so
  4754. + ;;
  4755. + siemens)
  4756. + lt_cv_deplibs_check_method=pass_all
  4757. + ;;
  4758. + esac
  4759. + ;;
  4760. +esac
  4761. +])
  4762. +file_magic_cmd=$lt_cv_file_magic_cmd
  4763. +deplibs_check_method=$lt_cv_deplibs_check_method
  4764. ])
  4765. +
  4766. # AC_PROG_NM - find the path to a BSD-compatible name lister
  4767. -AC_DEFUN(AC_PROG_NM,
  4768. -[AC_MSG_CHECKING([for BSD-compatible nm])
  4769. -AC_CACHE_VAL(ac_cv_path_NM,
  4770. +AC_DEFUN([AC_PROG_NM],
  4771. +[AC_REQUIRE([_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR])dnl
  4772. +AC_MSG_CHECKING([for BSD-compatible nm])
  4773. +AC_CACHE_VAL(lt_cv_path_NM,
  4774. [if test -n "$NM"; then
  4775. # Let the user override the test.
  4776. - ac_cv_path_NM="$NM"
  4777. + lt_cv_path_NM="$NM"
  4778. else
  4779. - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
  4780. + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  4781. for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
  4782. test -z "$ac_dir" && ac_dir=.
  4783. - if test -f $ac_dir/nm || test -f $ac_dir/nm$ac_exeext ; then
  4784. + tmp_nm=$ac_dir/${ac_tool_prefix}nm
  4785. + if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
  4786. # Check to see if the nm accepts a BSD-compat flag.
  4787. # Adding the `sed 1q' prevents false positives on HP-UX, which says:
  4788. # nm: unknown option "B" ignored
  4789. - if ($ac_dir/nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
  4790. - ac_cv_path_NM="$ac_dir/nm -B"
  4791. + # Tru64's nm complains that /dev/null is an invalid object file
  4792. + if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
  4793. + lt_cv_path_NM="$tmp_nm -B"
  4794. break
  4795. - elif ($ac_dir/nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
  4796. - ac_cv_path_NM="$ac_dir/nm -p"
  4797. + elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
  4798. + lt_cv_path_NM="$tmp_nm -p"
  4799. break
  4800. else
  4801. - ac_cv_path_NM=${ac_cv_path_NM="$ac_dir/nm"} # keep the first match, but
  4802. + lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
  4803. continue # so that we can try to find one that supports BSD flags
  4804. fi
  4805. fi
  4806. done
  4807. IFS="$ac_save_ifs"
  4808. - test -z "$ac_cv_path_NM" && ac_cv_path_NM=nm
  4809. + test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
  4810. fi])
  4811. -NM="$ac_cv_path_NM"
  4812. +NM="$lt_cv_path_NM"
  4813. AC_MSG_RESULT([$NM])
  4814. ])
  4815. # AC_CHECK_LIBM - check for math library
  4816. -AC_DEFUN(AC_CHECK_LIBM,
  4817. +AC_DEFUN([AC_CHECK_LIBM],
  4818. [AC_REQUIRE([AC_CANONICAL_HOST])dnl
  4819. LIBM=
  4820. -case "$lt_target" in
  4821. -*-*-beos* | *-*-cygwin*)
  4822. +case $host in
  4823. +*-*-beos* | *-*-cygwin* | *-*-pw32*)
  4824. # These system don't have libm
  4825. ;;
  4826. *-ncr-sysv4.3*)
  4827. @@ -371,33 +3558,41 @@
  4828. ])
  4829. # AC_LIBLTDL_CONVENIENCE[(dir)] - sets LIBLTDL to the link flags for
  4830. -# the libltdl convenience library, adds --enable-ltdl-convenience to
  4831. -# the configure arguments. Note that LIBLTDL is not AC_SUBSTed, nor
  4832. -# is AC_CONFIG_SUBDIRS called. If DIR is not provided, it is assumed
  4833. -# to be `${top_builddir}/libltdl'. Make sure you start DIR with
  4834. -# '${top_builddir}/' (note the single quotes!) if your package is not
  4835. -# flat, and, if you're not using automake, define top_builddir as
  4836. -# appropriate in the Makefiles.
  4837. -AC_DEFUN(AC_LIBLTDL_CONVENIENCE, [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
  4838. - case "$enable_ltdl_convenience" in
  4839. +# the libltdl convenience library and LTDLINCL to the include flags for
  4840. +# the libltdl header and adds --enable-ltdl-convenience to the
  4841. +# configure arguments. Note that LIBLTDL and LTDLINCL are not
  4842. +# AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called. If DIR is not
  4843. +# provided, it is assumed to be `libltdl'. LIBLTDL will be prefixed
  4844. +# with '${top_builddir}/' and LTDLINCL will be prefixed with
  4845. +# '${top_srcdir}/' (note the single quotes!). If your package is not
  4846. +# flat and you're not using automake, define top_builddir and
  4847. +# top_srcdir appropriately in the Makefiles.
  4848. +AC_DEFUN([AC_LIBLTDL_CONVENIENCE],
  4849. +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
  4850. + case $enable_ltdl_convenience in
  4851. no) AC_MSG_ERROR([this package needs a convenience libltdl]) ;;
  4852. "") enable_ltdl_convenience=yes
  4853. ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
  4854. esac
  4855. - LIBLTDL=ifelse($#,1,$1,['${top_builddir}/libltdl'])/libltdlc.la
  4856. - INCLTDL=ifelse($#,1,-I$1,['-I${top_builddir}/libltdl'])
  4857. + LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdlc.la
  4858. + LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
  4859. + # For backwards non-gettext consistent compatibility...
  4860. + INCLTDL="$LTDLINCL"
  4861. ])
  4862. # AC_LIBLTDL_INSTALLABLE[(dir)] - sets LIBLTDL to the link flags for
  4863. -# the libltdl installable library, and adds --enable-ltdl-install to
  4864. -# the configure arguments. Note that LIBLTDL is not AC_SUBSTed, nor
  4865. -# is AC_CONFIG_SUBDIRS called. If DIR is not provided, it is assumed
  4866. -# to be `${top_builddir}/libltdl'. Make sure you start DIR with
  4867. -# '${top_builddir}/' (note the single quotes!) if your package is not
  4868. -# flat, and, if you're not using automake, define top_builddir as
  4869. -# appropriate in the Makefiles.
  4870. +# the libltdl installable library and LTDLINCL to the include flags for
  4871. +# the libltdl header and adds --enable-ltdl-install to the configure
  4872. +# arguments. Note that LIBLTDL and LTDLINCL are not AC_SUBSTed, nor is
  4873. +# AC_CONFIG_SUBDIRS called. If DIR is not provided and an installed
  4874. +# libltdl is not found, it is assumed to be `libltdl'. LIBLTDL will
  4875. +# be prefixed with '${top_builddir}/' and LTDLINCL will be prefixed
  4876. +# with '${top_srcdir}/' (note the single quotes!). If your package is
  4877. +# not flat and you're not using automake, define top_builddir and
  4878. +# top_srcdir appropriately in the Makefiles.
  4879. # In the future, this macro may have to be called after AC_PROG_LIBTOOL.
  4880. -AC_DEFUN(AC_LIBLTDL_INSTALLABLE, [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
  4881. +AC_DEFUN([AC_LIBLTDL_INSTALLABLE],
  4882. +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
  4883. AC_CHECK_LIB(ltdl, main,
  4884. [test x"$enable_ltdl_install" != xyes && enable_ltdl_install=no],
  4885. [if test x"$enable_ltdl_install" = xno; then
  4886. @@ -408,23 +3603,116 @@
  4887. ])
  4888. if test x"$enable_ltdl_install" = x"yes"; then
  4889. ac_configure_args="$ac_configure_args --enable-ltdl-install"
  4890. - LIBLTDL=ifelse($#,1,$1,['${top_builddir}/libltdl'])/libltdl.la
  4891. - INCLTDL=ifelse($#,1,-I$1,['-I${top_builddir}/libltdl'])
  4892. + LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdl.la
  4893. + LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
  4894. else
  4895. ac_configure_args="$ac_configure_args --enable-ltdl-install=no"
  4896. LIBLTDL="-lltdl"
  4897. - INCLTDL=
  4898. + LTDLINCL=
  4899. fi
  4900. + # For backwards non-gettext consistent compatibility...
  4901. + INCLTDL="$LTDLINCL"
  4902. ])
  4903. -dnl old names
  4904. -AC_DEFUN(AM_PROG_LIBTOOL, [indir([AC_PROG_LIBTOOL])])dnl
  4905. -AC_DEFUN(AM_ENABLE_SHARED, [indir([AC_ENABLE_SHARED], $@)])dnl
  4906. -AC_DEFUN(AM_ENABLE_STATIC, [indir([AC_ENABLE_STATIC], $@)])dnl
  4907. -AC_DEFUN(AM_DISABLE_SHARED, [indir([AC_DISABLE_SHARED], $@)])dnl
  4908. -AC_DEFUN(AM_DISABLE_STATIC, [indir([AC_DISABLE_STATIC], $@)])dnl
  4909. -AC_DEFUN(AM_PROG_LD, [indir([AC_PROG_LD])])dnl
  4910. -AC_DEFUN(AM_PROG_NM, [indir([AC_PROG_NM])])dnl
  4911. +# old names
  4912. +AC_DEFUN([AM_PROG_LIBTOOL], [AC_PROG_LIBTOOL])
  4913. +AC_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)])
  4914. +AC_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)])
  4915. +AC_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)])
  4916. +AC_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)])
  4917. +AC_DEFUN([AM_PROG_LD], [AC_PROG_LD])
  4918. +AC_DEFUN([AM_PROG_NM], [AC_PROG_NM])
  4919. +
  4920. +# This is just to silence aclocal about the macro not being used
  4921. +ifelse([AC_DISABLE_FAST_INSTALL])
  4922. +
  4923. +############################################################
  4924. +# NOTE: This macro has been submitted for inclusion into #
  4925. +# GNU Autoconf as AC_PROG_SED. When it is available in #
  4926. +# a released version of Autoconf we should remove this #
  4927. +# macro and use it instead. #
  4928. +############################################################
  4929. +# LT_AC_PROG_SED
  4930. +# --------------
  4931. +# Check for a fully-functional sed program, that truncates
  4932. +# as few characters as possible. Prefer GNU sed if found.
  4933. +AC_DEFUN([LT_AC_PROG_SED],
  4934. +[AC_MSG_CHECKING([for a sed that does not truncate output])
  4935. +AC_CACHE_VAL(lt_cv_path_SED,
  4936. +[# Loop through the user's path and test for sed and gsed.
  4937. +# Then use that list of sed's as ones to test for truncation.
  4938. +as_executable_p="test -f"
  4939. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4940. +for as_dir in $PATH
  4941. +do
  4942. + IFS=$as_save_IFS
  4943. + test -z "$as_dir" && as_dir=.
  4944. + for ac_prog in sed gsed; do
  4945. + for ac_exec_ext in '' $ac_executable_extensions; do
  4946. + if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
  4947. + _sed_list="$_sed_list $as_dir/$ac_prog$ac_exec_ext"
  4948. + fi
  4949. + done
  4950. + done
  4951. +done
  4952. -dnl This is just to silence aclocal about the macro not being used
  4953. -ifelse([AC_DISABLE_FAST_INSTALL])dnl
  4954. + # Create a temporary directory, and hook for its removal unless debugging.
  4955. +$debug ||
  4956. +{
  4957. + trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
  4958. + trap '{ (exit 1); exit 1; }' 1 2 13 15
  4959. +}
  4960. +
  4961. +# Create a (secure) tmp directory for tmp files.
  4962. +: ${TMPDIR=/tmp}
  4963. +{
  4964. + tmp=`(umask 077 && mktemp -d -q "$TMPDIR/sedXXXXXX") 2>/dev/null` &&
  4965. + test -n "$tmp" && test -d "$tmp"
  4966. +} ||
  4967. +{
  4968. + tmp=$TMPDIR/sed$$-$RANDOM
  4969. + (umask 077 && mkdir $tmp)
  4970. +} ||
  4971. +{
  4972. + echo "$me: cannot create a temporary directory in $TMPDIR" >&2
  4973. + { (exit 1); exit 1; }
  4974. +}
  4975. + _max=0
  4976. + _count=0
  4977. + # Add /usr/xpg4/bin/sed as it is typically found on Solaris
  4978. + # along with /bin/sed that truncates output.
  4979. + for _sed in $_sed_list /usr/xpg4/bin/sed; do
  4980. + test ! -f ${_sed} && break
  4981. + cat /dev/null > "$tmp/sed.in"
  4982. + _count=0
  4983. + echo ${ECHO_N-$ac_n} "0123456789${ECHO_C-$ac_c}" >"$tmp/sed.in"
  4984. + # Check for GNU sed and select it if it is found.
  4985. + if "${_sed}" --version 2>&1 < /dev/null | egrep '(GNU)' > /dev/null; then
  4986. + lt_cv_path_SED=${_sed}
  4987. + break
  4988. + fi
  4989. + while true; do
  4990. + cat "$tmp/sed.in" "$tmp/sed.in" >"$tmp/sed.tmp"
  4991. + mv "$tmp/sed.tmp" "$tmp/sed.in"
  4992. + cp "$tmp/sed.in" "$tmp/sed.nl"
  4993. + echo >>"$tmp/sed.nl"
  4994. + ${_sed} -e 's/a$//' < "$tmp/sed.nl" >"$tmp/sed.out" || break
  4995. + cmp -s "$tmp/sed.out" "$tmp/sed.nl" || break
  4996. + # 40000 chars as input seems more than enough
  4997. + test $_count -gt 10 && break
  4998. + _count=`expr $_count + 1`
  4999. + if test $_count -gt $_max; then
  5000. + _max=$_count
  5001. + lt_cv_path_SED=$_sed
  5002. + fi
  5003. + done
  5004. + done
  5005. + rm -rf "$tmp"
  5006. +])
  5007. +if test "X$SED" != "X"; then
  5008. + lt_cv_path_SED=$SED
  5009. +else
  5010. + SED=$lt_cv_path_SED
  5011. +fi
  5012. +AC_MSG_RESULT([$SED])
  5013. +])
  5014. --- recode-3.6.orig/debian/shlibs
  5015. +++ recode-3.6/debian/shlibs
  5016. @@ -0,0 +1 @@
  5017. +librecode 0 librecode0 (>= 3.6)
  5018. --- recode-3.6.orig/debian/recode-doc.prerm
  5019. +++ recode-3.6/debian/recode-doc.prerm
  5020. @@ -0,0 +1,7 @@
  5021. +#!/bin/sh
  5022. +set -e
  5023. +if [ "$1" = "remove" ] || [ "$1" = "upgrade" ]; then
  5024. + if command -v install-docs >/dev/null 2>&1; then
  5025. + install-docs -r recode-doc
  5026. + fi
  5027. +fi
  5028. --- recode-3.6.orig/debian/prerm
  5029. +++ recode-3.6/debian/prerm
  5030. @@ -0,0 +1,3 @@
  5031. +#!/bin/sh
  5032. +set -e
  5033. +install-info --quiet --remove /usr/share/info/recode.info
  5034. --- recode-3.6.orig/debian/recode-doc.postinst
  5035. +++ recode-3.6/debian/recode-doc.postinst
  5036. @@ -0,0 +1,7 @@
  5037. +#!/bin/sh
  5038. +set -e
  5039. +if [ "$1" = "configure" ]; then
  5040. + if command -v install-docs >/dev/null 2>&1; then
  5041. + install-docs -i /usr/share/doc-base/recode-doc
  5042. + fi
  5043. +fi
  5044. --- recode-3.6.orig/debian/shlibs.local
  5045. +++ recode-3.6/debian/shlibs.local
  5046. @@ -0,0 +1 @@
  5047. +librecode 0 librecode0 (>= 3.6)
  5048. --- recode-3.6.orig/debian/rules
  5049. +++ recode-3.6/debian/rules
  5050. @@ -0,0 +1,145 @@
  5051. +#!/usr/bin/make -f
  5052. +
  5053. +package = recode
  5054. +
  5055. +CC = gcc
  5056. +CFLAGS = -g -Wall -D_REENTRANT
  5057. +INSTALL_PROGRAM = install
  5058. +
  5059. +STRIP = true
  5060. +ATRIP = true
  5061. +
  5062. +ifeq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
  5063. + CFLAGS += -O2
  5064. +endif
  5065. +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
  5066. + INSTALL_PROGRAM += -s
  5067. + STRIP=strip --strip-unneeded --remove-section=.comment --remove-section=.note
  5068. + ATRIP=strip --strip-debug
  5069. +endif
  5070. +
  5071. +build:
  5072. + touch aclocal.m4
  5073. + touch configure
  5074. + touch stamp-h.in
  5075. + touch config.h.in
  5076. + touch Makefile.in
  5077. + touch m4/Makefile.in
  5078. + touch doc/Makefile.in
  5079. + touch lib/Makefile.in
  5080. + touch libiconv/Makefile.in
  5081. + touch i18n/Makefile.in
  5082. + touch src/Makefile.in
  5083. + touch tests/Makefile.in
  5084. + touch contrib/Makefile.in
  5085. + ./configure --prefix=/usr --without-included-gettext
  5086. + $(MAKE) CC="$(CC)" CFLAGS="$(CFLAGS)"
  5087. + $(MAKE) install DESTDIR=`pwd`/debian/tmp \
  5088. + INSTALL_PROGRAM="$(INSTALL_PROGRAM)"
  5089. + touch build
  5090. +
  5091. +clean:
  5092. + rm -f build
  5093. + rm -f i18n/*.mo
  5094. + -$(MAKE) distclean
  5095. + rm -f `find . -name "*~"`
  5096. + rm -rf debian/tmp debian/files* core debian/substvars
  5097. + cd debian && rm -rf recode librecode0 librecode-dev recode-doc
  5098. +
  5099. +binary-indep: build
  5100. + debian/rules recode-doc
  5101. +
  5102. +binary-arch: build
  5103. + debian/rules recode
  5104. + debian/rules librecode0
  5105. + debian/rules librecode-dev
  5106. +
  5107. +recode-doc: build
  5108. + rm -rf debian/$@
  5109. + install -d debian/$@/DEBIAN debian/$@/usr/share/doc/$@
  5110. + install -d debian/$@/usr/share/doc-base
  5111. + install -m 644 debian/$@.doc-base debian/$@/usr/share/doc-base/$@
  5112. + install -m 755 debian/$@.postinst debian/$@/DEBIAN/postinst
  5113. + install -m 755 debian/$@.prerm debian/$@/DEBIAN/prerm
  5114. + cd doc && texi2html -split_chapter $(package).texi
  5115. + mv doc/$(package)/*.html debian/$@/usr/share/doc/$@
  5116. + rm -rf doc/$(package)
  5117. + ln -s $(package)_toc.html debian/$@/usr/share/doc/$@/index.html
  5118. + cp -p debian/copyright debian/$@/usr/share/doc/$@
  5119. + cp -p ChangeLog debian/$@/usr/share/doc/$@/changelog
  5120. + cp -p debian/changelog debian/$@/usr/share/doc/$@/changelog.Debian
  5121. + cd debian/$@/usr/share/doc/$@ && gzip -9 changelog changelog.Debian
  5122. + dpkg-gencontrol -isp -p$@ -Pdebian/$@
  5123. + cd debian/$@ && \
  5124. + md5sum `find * -type f ! -regex "DEBIAN/.*"` > DEBIAN/md5sums
  5125. + chown -R root:root debian/$@
  5126. + chmod -R go=rX debian/$@
  5127. + dpkg --build debian/$@ ..
  5128. +
  5129. +recode: build
  5130. + rm -rf debian/$@
  5131. + install -d debian/$@/DEBIAN debian/$@/usr/share/doc/$@
  5132. + cp -a debian/tmp/usr/share/locale debian/$@/usr/share
  5133. + cp -a debian/tmp/usr/info debian/$@/usr/share
  5134. + cp -a debian/tmp/usr/man debian/$@/usr/share
  5135. + cp -a debian/tmp/usr/bin debian/$@/usr
  5136. + cd debian && install -m 755 prerm postinst $@/DEBIAN
  5137. + cp -p TODO NEWS THANKS doc/File-Latin1 debian/copyright \
  5138. + debian/$@/usr/share/doc/$@
  5139. + cp -p ChangeLog debian/$@/usr/share/doc/$@/changelog
  5140. + cp -p debian/changelog debian/$@/usr/share/doc/$@/changelog.Debian
  5141. + cd debian/$@/usr/share/doc/$@ && gzip -9 changelog changelog.Debian
  5142. + gzip -9 debian/$@/usr/share/info/*
  5143. + gzip -r9 debian/$@/usr/share/man
  5144. + LD_LIBRARY_PATH=`pwd`/debian/tmp/usr/lib:$$LD_LIBRARY_PATH \
  5145. + dpkg-shlibdeps debian/tmp/usr/bin/recode
  5146. + dpkg-gencontrol -isp -p$(package) -Pdebian/$@
  5147. + cd debian/$@ && \
  5148. + md5sum `find * -type f ! -regex "DEBIAN/.*"` > DEBIAN/md5sums
  5149. + chown -R root:root debian/$@
  5150. + chmod -R go=rX debian/$@
  5151. + dpkg --build debian/$@ ..
  5152. +
  5153. +librecode0: build
  5154. + rm -rf debian/$@
  5155. + install -d debian/$@/DEBIAN debian/$@/usr/share/doc/$@
  5156. + install -d debian/$@/usr/lib
  5157. + cp -a debian/tmp/usr/lib/librecode.so.0* debian/$@/usr/lib
  5158. + install -m 755 debian/$@.postinst debian/$@/DEBIAN/postinst
  5159. + install -m 644 debian/shlibs debian/$@/DEBIAN
  5160. + cp -p debian/copyright debian/$@/usr/share/doc/$@
  5161. + cp -p ChangeLog debian/$@/usr/share/doc/$@/changelog
  5162. + cp -p debian/changelog debian/$@/usr/share/doc/$@/changelog.Debian
  5163. + cd debian/$@/usr/share/doc/$@ && gzip -9 changelog changelog.Debian
  5164. + $(STRIP) debian/$@/usr/lib/*.so.0.0.0
  5165. + chmod -x debian/$@/usr/lib/*
  5166. + dpkg-shlibdeps debian/$@/usr/lib/librecode.so.0
  5167. + dpkg-gencontrol -isp -p$@ -Pdebian/$@
  5168. + cd debian/$@ && \
  5169. + md5sum `find * -type f ! -regex "DEBIAN/.*"` > DEBIAN/md5sums
  5170. + chown -R root:root debian/$@
  5171. + chmod -R go=rX debian/$@
  5172. + dpkg --build debian/$@ ..
  5173. +
  5174. +librecode-dev: build
  5175. + rm -rf debian/$@
  5176. + install -d debian/$@/DEBIAN debian/$@/usr/share/doc
  5177. + install -d debian/$@/usr/lib
  5178. + ln -s librecode0 debian/$@/usr/share/doc/$@
  5179. + cp -a debian/tmp/usr/lib/*.so debian/$@/usr/lib
  5180. + cp -p debian/tmp/usr/lib/*.a debian/$@/usr/lib
  5181. + cp -p debian/tmp/usr/lib/*.la debian/$@/usr/lib
  5182. + cp -a debian/tmp/usr/include debian/$@/usr
  5183. + $(ATRIP) debian/$@/usr/lib/*.a
  5184. + chmod -x debian/$@/usr/lib/*.la
  5185. + dpkg-gencontrol -isp -p$@ -Pdebian/$@
  5186. + cd debian/$@ && \
  5187. + md5sum `find * -type f ! -regex "DEBIAN/.*"` > DEBIAN/md5sums
  5188. + chown -R root:root debian/$@
  5189. + chmod -R go=rX debian/$@
  5190. + dpkg --build debian/$@ ..
  5191. +
  5192. +binary: binary-indep binary-arch
  5193. +
  5194. +.PHONY: binary binary-arch binary-indep clean
  5195. +.PHONY: recode librecode0 librecode-dev recode-doc
  5196. --- recode-3.6.orig/debian/control
  5197. +++ recode-3.6/debian/control
  5198. @@ -0,0 +1,46 @@
  5199. +Source: recode
  5200. +Section: text
  5201. +Priority: optional
  5202. +Maintainer: Santiago Vila <sanvila@debian.org>
  5203. +Standards-Version: 3.7.2
  5204. +Build-Depends: gettext
  5205. +Build-Depends-Indep: texi2html (>= 1.76)
  5206. +
  5207. +Package: recode
  5208. +Architecture: any
  5209. +Depends: ${shlibs:Depends}
  5210. +Description: Character set conversion utility
  5211. + Free `recode' converts files between character sets and usages. When
  5212. + exact transliterations are not possible, it may get rid of the
  5213. + offending characters or fall back on approximations. This program
  5214. + recognizes or produces nearly 300 different character sets and is able
  5215. + to transliterate files between almost any pair. Most RFC 1345
  5216. + character sets, and all `libiconv' character sets, are supported.
  5217. +
  5218. +Package: recode-doc
  5219. +Section: doc
  5220. +Priority: optional
  5221. +Architecture: all
  5222. +Description: Documentation for Free recode
  5223. + This package contains the HTML documentation for Free recode.
  5224. +
  5225. +Package: librecode0
  5226. +Section: libs
  5227. +Priority: optional
  5228. +Architecture: any
  5229. +Depends: ${shlibs:Depends}
  5230. +Description: Shared library on which recode is based
  5231. + This recoding library converts files between various coded character
  5232. + sets and surface encodings. The library recognizes or produces more
  5233. + than 300 different character sets and is able to convert files between
  5234. + almost any pair. Most RFC 1345 character sets, and all `libiconv'
  5235. + character sets, are supported.
  5236. +
  5237. +Package: librecode-dev
  5238. +Section: libdevel
  5239. +Priority: optional
  5240. +Architecture: any
  5241. +Depends: ${shlibs:Depends}, librecode0 (>= 3.6)
  5242. +Description: Development package for librecode0
  5243. + This package contains the header files and static librecode.a
  5244. + library needed to build applications based on librecode.
  5245. --- recode-3.6.orig/debian/postinst
  5246. +++ recode-3.6/debian/postinst
  5247. @@ -0,0 +1,4 @@
  5248. +#!/bin/sh
  5249. +set -e
  5250. +install-info --quiet --section "General Commands" "General Commands" \
  5251. + --description="Character set conversion utility." /usr/share/info/recode.info
  5252. --- recode-3.6.orig/debian/librecode0.postinst
  5253. +++ recode-3.6/debian/librecode0.postinst
  5254. @@ -0,0 +1,5 @@
  5255. +#!/bin/sh
  5256. +set -e
  5257. +if [ "$1" = "configure" ]; then
  5258. + ldconfig
  5259. +fi
  5260. --- recode-3.6.orig/debian/recode-doc.doc-base
  5261. +++ recode-3.6/debian/recode-doc.doc-base
  5262. @@ -0,0 +1,16 @@
  5263. +Document: recode-doc
  5264. +Title: Free recode manual
  5265. +Author: François Pinard
  5266. +Abstract: This manual documents Free recode.
  5267. + This recoding library converts files between various coded character
  5268. + sets and surface encodings. When this cannot be achieved exactly, it
  5269. + may get rid of the offending characters or fall back on approximations.
  5270. + The library recognises or produces nearly 150 different character sets
  5271. + and is able to convert files between almost any pair. Most RFC 1345
  5272. + character sets are supported. The `recode' program is a handy
  5273. + front-end to the library.
  5274. +Section: Apps/Tools
  5275. +
  5276. +Format: HTML
  5277. +Index: /usr/share/doc/recode-doc/index.html
  5278. +Files: /usr/share/doc/recode-doc/*.html
  5279. --- recode-3.6.orig/debian/copyright
  5280. +++ recode-3.6/debian/copyright
  5281. @@ -0,0 +1,38 @@
  5282. +This is the Debian prepackaged version of Free recode, a program that
  5283. +converts files between character sets and usages. Free recode was
  5284. +written by François Pinard <pinard@iro.umontreal.ca>.
  5285. +
  5286. +This package was first put together by Klee Dienes <klee@mit.edu>.
  5287. +
  5288. +It is currently maintained by Santiago Vila <sanvila@debian.org>,
  5289. +from sources obtained from:
  5290. +
  5291. +ftp://ftp.gnu.org/gnu/recode/recode-3.6.tar.gz
  5292. +
  5293. +The changes were fairly minimal, and consisted solely of adding
  5294. +various debian/* files to the distribution.
  5295. +
  5296. +Copyright:
  5297. +
  5298. +The entire recode package is Copyright (C) the Free Software Foundation,
  5299. +with the exception of ansi2knr.c, which is Copyright (C) Aladdin Enterprises.
  5300. +
  5301. +The program is distributed under the terms of the GNU General Public License:
  5302. +
  5303. + This program is free software; you can redistribute it and/or modify it
  5304. + under the terms of the GNU General Public License as published by the
  5305. + Free Software Foundation; either version 2, or (at your option) any
  5306. + later version.
  5307. +
  5308. +The library is distributed under the terms of the GNU Lesser General
  5309. +Public License:
  5310. +
  5311. + This library is free software; you can redistribute it and/or
  5312. + modify it under the terms of the GNU Lesser General Public License
  5313. + as published by the Free Software Foundation; either version 2 of the
  5314. + License, or (at your option) any later version.
  5315. +
  5316. +On Debian systems, the complete text of the GNU General Public License
  5317. +can be found in `/usr/share/common-licenses/GPL', and the complete
  5318. +text of the GNU Lesser General Public License can be found in
  5319. +`/usr/share/common-licenses/LGPL'.
  5320. --- recode-3.6.orig/debian/changelog
  5321. +++ recode-3.6/debian/changelog
  5322. @@ -0,0 +1,191 @@
  5323. +recode (3.6-15) unstable; urgency=low
  5324. +
  5325. + * Reduced size of "ignore" element in struct recode_symbol to 1 bit.
  5326. + Should make gcc-4.3 happy. Closes: #462004.
  5327. +
  5328. + -- Santiago Vila <sanvila@debian.org> Wed, 2 Apr 2008 10:02:30 +0200
  5329. +
  5330. +recode (3.6-14) unstable; urgency=low
  5331. +
  5332. + * Should build twice in a row. Closes: #424291.
  5333. + * Updated po files from translation project. Closes: #313925, #427366.
  5334. +
  5335. + -- Santiago Vila <sanvila@debian.org> Thu, 28 Jun 2007 21:25:18 +0200
  5336. +
  5337. +recode (3.6-13) unstable; urgency=medium
  5338. +
  5339. + * Updated config.guess and config.sub.
  5340. + * Fixed NAME section in manpage (Closes: #368634).
  5341. + * Removed build-dependency on flex (Closes: #402023).
  5342. +
  5343. + -- Santiago Vila <sanvila@debian.org> Fri, 8 Dec 2006 13:07:44 +0100
  5344. +
  5345. +recode (3.6-12) unstable; urgency=low
  5346. +
  5347. + * Updated config.guess and config.sub for GNU/kFreeBSD (Closes: #333452).
  5348. +
  5349. + -- Santiago Vila <sanvila@debian.org> Wed, 12 Oct 2005 17:12:34 +0200
  5350. +
  5351. +recode (3.6-11) unstable; urgency=low
  5352. +
  5353. + * Fixed FTBFS bug caused by new texi2html behaviour (Closes: #318557).
  5354. + * Updated URL for original source in copyright file.
  5355. + * Changed doc-base and copyright files to UTF-8.
  5356. +
  5357. + -- Santiago Vila <sanvila@debian.org> Sat, 16 Jul 2005 18:40:54 +0200
  5358. +
  5359. +recode (3.6-10) unstable; urgency=low
  5360. +
  5361. + * Removed executable bit from librecode.la to make lintian happy.
  5362. + * Added -D_REENTRANT to CFLAGS, since there are libraries here.
  5363. + * Rewritten debian/rules to allow parallel make.
  5364. +
  5365. + -- Santiago Vila <sanvila@debian.org> Thu, 9 Oct 2003 13:18:56 +0200
  5366. +
  5367. +recode (3.6-9) unstable; urgency=low
  5368. +
  5369. + * ./configure --without-included-gettext. Messages should now be shown
  5370. + in UTF-8 if that's the charset for the selected locale (Closes: #207736).
  5371. + * Updated a lot of translations from the Free Translation Project
  5372. + (those having all the messages translated).
  5373. + * Added gettext to Build-Depends: accordingly.
  5374. +
  5375. + -- Santiago Vila <sanvila@debian.org> Fri, 29 Aug 2003 19:22:24 +0200
  5376. +
  5377. +recode (3.6-8) unstable; urgency=low
  5378. +
  5379. + * Updated libtool stuff (Closes: #201945). Note: The size of the diff
  5380. + is not an error, it's mainly the result of running libtoolize, updating
  5381. + m4/libtool.m4 and acinclude.m4, running aclocal, and running autoconf.
  5382. + * Removed file from Build-Depends, the new libtool should not require it.
  5383. + * Updated/improved description for recode and librecode0 (Closes: #206875).
  5384. + * Moved librecode-dev to Section: libdevel.
  5385. +
  5386. + -- Santiago Vila <sanvila@debian.org> Thu, 28 Aug 2003 17:05:04 +0200
  5387. +
  5388. +recode (3.6-7) unstable; urgency=medium
  5389. +
  5390. + * Fixed wrong pointer re-calculation in guarantee_nul_terminator().
  5391. + Thanks a lot to Enrik Berkhan (Closes: #156635).
  5392. + * Standards-Version: 3.5.7.
  5393. +
  5394. + -- Santiago Vila <sanvila@debian.org> Sun, 20 Oct 2002 21:23:02 +0200
  5395. +
  5396. +recode (3.6-6) unstable; urgency=medium
  5397. +
  5398. + * Modified hash.h so that functions hash_lookup, hash_delete, hash_free and
  5399. + hash_insert are prefixed by `recode_' to prevent collisions with php4.
  5400. + Thanks a lot to Steve Langasek and Bruno Haible. Closes: #131080.
  5401. +
  5402. + -- Santiago Vila <sanvila@debian.org> Fri, 8 Mar 2002 18:44:36 +0100
  5403. +
  5404. +recode (3.6-5) unstable; urgency=low
  5405. +
  5406. + * Fixed a librecode bug in recode_perform_task (Closes: #134899).
  5407. + Thanks to Frederic Gobry and Enrik Berkhan.
  5408. +
  5409. + -- Santiago Vila <sanvila@debian.org> Thu, 21 Feb 2002 17:37:56 +0100
  5410. +
  5411. +recode (3.6-4) unstable; urgency=low
  5412. +
  5413. + * Removed README from the doc directory, since it contains only
  5414. + installation information (Closes: #123000).
  5415. + * Added support for DEB_BUILD_OPTIONS.
  5416. +
  5417. + -- Santiago Vila <sanvila@debian.org> Sun, 9 Dec 2001 13:04:18 +0100
  5418. +
  5419. +recode (3.6-3) unstable; urgency=high
  5420. +
  5421. + * UTF-8 should now work. Patch by Bruno Haible.
  5422. + Closes: #94966, #113742, #114850.
  5423. +
  5424. + -- Santiago Vila <sanvila@debian.org> Sat, 20 Oct 2001 20:01:38 +0200
  5425. +
  5426. +recode (3.6-2) unstable; urgency=low
  5427. +
  5428. + * Updated config.sub/config.guess for parisc (Closes: #95974).
  5429. + * Made debian/rules to preserve LD_LIBRARY_PATH to allow the build
  5430. + by using fakeroot (Closes: #102358).
  5431. + * Registered HTML docs using doc-base.
  5432. +
  5433. + -- Santiago Vila <sanvila@debian.org> Sun, 1 Jul 2001 13:14:16 +0200
  5434. +
  5435. +recode (3.6-1) unstable; urgency=low
  5436. +
  5437. + * New upstream release.
  5438. + * Updated copyright and control files.
  5439. + * Use >= for the shlibs file, just in case.
  5440. + * Build-Depends-Indep: texi2html, not tetex-bin.
  5441. + * Removed .comment and .note sections from shared library.
  5442. +
  5443. + -- Santiago Vila <sanvila@debian.org> Sat, 10 Mar 2001 15:03:36 +0100
  5444. +
  5445. +recode (3.5-3) unstable; urgency=medium
  5446. +
  5447. + * Fixed typo in Build-Depends field (Closes: #81211).
  5448. +
  5449. + -- Santiago Vila <sanvila@debian.org> Thu, 4 Jan 2001 16:18:43 +0100
  5450. +
  5451. +recode (3.5-2) unstable; urgency=low
  5452. +
  5453. + * Standards-Version: 3.1.1.
  5454. + * Moved librecode0 to libs section.
  5455. + * Moved librecode-dev to devel section.
  5456. + * Build-Depends: flex, file. Build-Depends-Indep: tetex-bin.
  5457. +
  5458. + -- Santiago Vila <sanvila@debian.org> Sat, 30 Dec 2000 19:00:14 +0100
  5459. +
  5460. +recode (3.5-1) unstable; urgency=low
  5461. +
  5462. + * New upstream release.
  5463. + * recode(1) is no longer "undocumented".
  5464. + * Created two new packages: librecode0 and librecode-dev.
  5465. +
  5466. + -- Santiago Vila <sanvila@ctv.es> Fri, 18 Jun 1999 10:44:55 +0200
  5467. +
  5468. +recode (3.4.1-11) unstable; urgency=low
  5469. +
  5470. + * Added HTML docs, in a separate package.
  5471. +
  5472. + -- Santiago Vila <sanvila@ctv.es> Tue, 13 Oct 1998 21:22:43 +0200
  5473. +
  5474. +recode (3.4.1-10) unstable; urgency=low
  5475. +
  5476. + * More detailed copyright file.
  5477. + * Removed debstd dependency.
  5478. + * First libc6 release.
  5479. + * Pristine source.
  5480. +
  5481. + -- Santiago Vila <sanvila@ctv.es> Sun, 9 Nov 1997 18:36:26 +0100
  5482. +
  5483. +recode (3.4.1-9) unstable; urgency=low
  5484. +
  5485. + * Some minor debian/rules changes.
  5486. + * Added MD5 sums.
  5487. +
  5488. + -- Santiago Vila <sanvila@ctv.es> Sun, 23 Feb 1997 17:35:41 +0100
  5489. +
  5490. +recode (3.4.1-8) unstable; urgency=low
  5491. +
  5492. + * Converted to standards 2.1.2.2.
  5493. + * New maintainer.
  5494. +
  5495. + -- Santiago Vila <sanvila@ctv.es> Wed, 29 Jan 1997 00:30:45 +0100
  5496. +
  5497. +recode (3.4.1-3);
  5498. +
  5499. + * Incremented version number (upload to ftp.debian.org crashed).
  5500. +
  5501. + -- Klee Dienes <klee@mit.edu> Sat Jan 27 14:58:57 MST 1996
  5502. +
  5503. +recode (3.4.1-2);
  5504. +
  5505. + * Changed to add entry for recode into info directory.
  5506. +
  5507. + -- Klee Dienes <klee@mit.edu> Sat Jan 27 14:42:54 MST 1996
  5508. +
  5509. +recode (3.4.1-1);
  5510. +
  5511. + * Initial Release.
  5512. +
  5513. + -- Klee Dienes <klee@mit.edu> Thu Jan 25 10:07:24 MST 1996
  5514. --- recode-3.6.orig/Makefile.in
  5515. +++ recode-3.6/Makefile.in
  5516. @@ -119,7 +119,7 @@
  5517. DIST_COMMON = README ./stamp-h.in ABOUT-NLS AUTHORS BACKLOG COPYING \
  5518. ChangeLog INSTALL Makefile.am Makefile.in NEWS THANKS TODO acconfig.h \
  5519. acinclude.m4 aclocal.m4 config.guess config.h.in config.sub configure \
  5520. -configure.in install-sh ltconfig ltmain.sh missing mkinstalldirs
  5521. +configure.in install-sh ltmain.sh missing mkinstalldirs
  5522. DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
  5523. --- recode-3.6.orig/ltmain.sh
  5524. +++ recode-3.6/ltmain.sh
  5525. @@ -1,7 +1,8 @@
  5526. # ltmain.sh - Provide generalized library-building support services.
  5527. -# NOTE: Changing this file will not affect anything until you rerun ltconfig.
  5528. +# NOTE: Changing this file will not affect anything until you rerun configure.
  5529. #
  5530. -# Copyright (C) 1996-1999 Free Software Foundation, Inc.
  5531. +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
  5532. +# Free Software Foundation, Inc.
  5533. # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
  5534. #
  5535. # This program is free software; you can redistribute it and/or modify
  5536. @@ -48,14 +49,14 @@
  5537. fi
  5538. # The name of this program.
  5539. -progname=`$echo "$0" | sed 's%^.*/%%'`
  5540. +progname=`$echo "$0" | ${SED} 's%^.*/%%'`
  5541. modename="$progname"
  5542. # Constants.
  5543. PROGRAM=ltmain.sh
  5544. PACKAGE=libtool
  5545. -VERSION=1.3.4
  5546. -TIMESTAMP=" (1.385.2.196 1999/12/07 21:47:57)"
  5547. +VERSION=1.4.3
  5548. +TIMESTAMP=" (1.922.2.111 2002/10/23 02:54:36) Debian$Rev: 50 $"
  5549. default_mode=
  5550. help="Try \`$progname --help' for more information."
  5551. @@ -66,10 +67,19 @@
  5552. # Sed substitution that helps us do robust quoting. It backslashifies
  5553. # metacharacters that are still active within double-quoted strings.
  5554. -Xsed='sed -e 1s/^X//'
  5555. +Xsed="${SED}"' -e 1s/^X//'
  5556. sed_quote_subst='s/\([\\`\\"$\\\\]\)/\\\1/g'
  5557. -SP2NL='tr \040 \012'
  5558. -NL2SP='tr \015\012 \040\040'
  5559. +# test EBCDIC or ASCII
  5560. +case `echo A|od -x` in
  5561. + *[Cc]1*) # EBCDIC based system
  5562. + SP2NL="tr '\100' '\n'"
  5563. + NL2SP="tr '\r\n' '\100\100'"
  5564. + ;;
  5565. + *) # Assume ASCII based system
  5566. + SP2NL="tr '\040' '\012'"
  5567. + NL2SP="tr '\015\012' '\040\040'"
  5568. + ;;
  5569. +esac
  5570. # NLS nuisances.
  5571. # Only set LANG and LC_ALL to C if already set.
  5572. @@ -83,11 +93,9 @@
  5573. save_LANG="$LANG"; LANG=C; export LANG
  5574. fi
  5575. -if test "$LTCONFIG_VERSION" != "$VERSION"; then
  5576. - echo "$modename: ltconfig version \`$LTCONFIG_VERSION' does not match $PROGRAM version \`$VERSION'" 1>&2
  5577. - echo "Fatal configuration error. See the $PACKAGE docs for more information." 1>&2
  5578. - exit 1
  5579. -fi
  5580. +# Make sure IFS has a sensible default
  5581. +: ${IFS="
  5582. +"}
  5583. if test "$build_libtool_libs" != yes && test "$build_old_libs" != yes; then
  5584. echo "$modename: not configured to build any kind of library" 1>&2
  5585. @@ -113,16 +121,16 @@
  5586. arg="$1"
  5587. shift
  5588. - case "$arg" in
  5589. + case $arg in
  5590. -*=*) optarg=`$echo "X$arg" | $Xsed -e 's/[-_a-zA-Z0-9]*=//'` ;;
  5591. *) optarg= ;;
  5592. esac
  5593. # If the previous option needs an argument, assign it.
  5594. if test -n "$prev"; then
  5595. - case "$prev" in
  5596. + case $prev in
  5597. execute_dlfiles)
  5598. - eval "$prev=\"\$$prev \$arg\""
  5599. + execute_dlfiles="$execute_dlfiles $arg"
  5600. ;;
  5601. *)
  5602. eval "$prev=\$arg"
  5603. @@ -135,7 +143,7 @@
  5604. fi
  5605. # Have we seen a non-optional argument yet?
  5606. - case "$arg" in
  5607. + case $arg in
  5608. --help)
  5609. show_help=yes
  5610. ;;
  5611. @@ -146,7 +154,7 @@
  5612. ;;
  5613. --config)
  5614. - sed -e '1,/^### BEGIN LIBTOOL CONFIG/d' -e '/^### END LIBTOOL CONFIG/,$d' $0
  5615. + ${SED} -e '1,/^# ### BEGIN LIBTOOL CONFIG/d' -e '/^# ### END LIBTOOL CONFIG/,$d' $0
  5616. exit 0
  5617. ;;
  5618. @@ -179,6 +187,8 @@
  5619. --mode) prevopt="--mode" prev=mode ;;
  5620. --mode=*) mode="$optarg" ;;
  5621. + --preserve-dup-deps) duplicate_deps="yes" ;;
  5622. +
  5623. --quiet | --silent)
  5624. show=:
  5625. ;;
  5626. @@ -207,16 +217,21 @@
  5627. exit 1
  5628. fi
  5629. +# If this variable is set in any of the actions, the command in it
  5630. +# will be execed at the end. This prevents here-documents from being
  5631. +# left over by shells.
  5632. +exec_cmd=
  5633. +
  5634. if test -z "$show_help"; then
  5635. # Infer the operation mode.
  5636. if test -z "$mode"; then
  5637. - case "$nonopt" in
  5638. - *cc | *++ | gcc* | *-gcc*)
  5639. + case $nonopt in
  5640. + *cc | *++ | gcc* | *-gcc* | g++* | xlc*)
  5641. mode=link
  5642. for arg
  5643. do
  5644. - case "$arg" in
  5645. + case $arg in
  5646. -c)
  5647. mode=compile
  5648. break
  5649. @@ -261,12 +276,13 @@
  5650. help="Try \`$modename --help --mode=$mode' for more information."
  5651. # These modes are in order of execution frequency so that they run quickly.
  5652. - case "$mode" in
  5653. + case $mode in
  5654. # libtool compile mode
  5655. compile)
  5656. modename="$modename: compile"
  5657. # Get the compilation command and the source file.
  5658. base_compile=
  5659. + prev=
  5660. lastarg=
  5661. srcfile="$nonopt"
  5662. suppress_output=
  5663. @@ -274,8 +290,34 @@
  5664. user_target=no
  5665. for arg
  5666. do
  5667. + case $prev in
  5668. + "") ;;
  5669. + xcompiler)
  5670. + # Aesthetically quote the previous argument.
  5671. + prev=
  5672. + lastarg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
  5673. +
  5674. + case $arg in
  5675. + # Double-quote args containing other shell metacharacters.
  5676. + # Many Bourne shells cannot handle close brackets correctly
  5677. + # in scan sets, so we specify it separately.
  5678. + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
  5679. + arg="\"$arg\""
  5680. + ;;
  5681. + esac
  5682. +
  5683. + # Add the previous argument to base_compile.
  5684. + if test -z "$base_compile"; then
  5685. + base_compile="$lastarg"
  5686. + else
  5687. + base_compile="$base_compile $lastarg"
  5688. + fi
  5689. + continue
  5690. + ;;
  5691. + esac
  5692. +
  5693. # Accept any command-line options.
  5694. - case "$arg" in
  5695. + case $arg in
  5696. -o)
  5697. if test "$user_target" != "no"; then
  5698. $echo "$modename: you cannot specify \`-o' more than once" 1>&2
  5699. @@ -288,9 +330,53 @@
  5700. build_old_libs=yes
  5701. continue
  5702. ;;
  5703. +
  5704. + -prefer-pic)
  5705. + pic_mode=yes
  5706. + continue
  5707. + ;;
  5708. +
  5709. + -prefer-non-pic)
  5710. + pic_mode=no
  5711. + continue
  5712. + ;;
  5713. +
  5714. + -Xcompiler)
  5715. + prev=xcompiler
  5716. + continue
  5717. + ;;
  5718. +
  5719. + -Wc,*)
  5720. + args=`$echo "X$arg" | $Xsed -e "s/^-Wc,//"`
  5721. + lastarg=
  5722. + save_ifs="$IFS"; IFS=','
  5723. + for arg in $args; do
  5724. + IFS="$save_ifs"
  5725. +
  5726. + # Double-quote args containing other shell metacharacters.
  5727. + # Many Bourne shells cannot handle close brackets correctly
  5728. + # in scan sets, so we specify it separately.
  5729. + case $arg in
  5730. + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
  5731. + arg="\"$arg\""
  5732. + ;;
  5733. + esac
  5734. + lastarg="$lastarg $arg"
  5735. + done
  5736. + IFS="$save_ifs"
  5737. + lastarg=`$echo "X$lastarg" | $Xsed -e "s/^ //"`
  5738. +
  5739. + # Add the arguments to base_compile.
  5740. + if test -z "$base_compile"; then
  5741. + base_compile="$lastarg"
  5742. + else
  5743. + base_compile="$base_compile $lastarg"
  5744. + fi
  5745. + continue
  5746. + ;;
  5747. esac
  5748. - case "$user_target" in
  5749. + case $user_target in
  5750. next)
  5751. # The next one is the -o target name
  5752. user_target=yes
  5753. @@ -316,10 +402,10 @@
  5754. lastarg=`$echo "X$lastarg" | $Xsed -e "$sed_quote_subst"`
  5755. # Double-quote args containing other shell metacharacters.
  5756. - # Many Bourne shells cannot handle close brackets correctly in scan
  5757. - # sets, so we specify it separately.
  5758. - case "$lastarg" in
  5759. - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*)
  5760. + # Many Bourne shells cannot handle close brackets correctly
  5761. + # in scan sets, so we specify it separately.
  5762. + case $lastarg in
  5763. + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
  5764. lastarg="\"$lastarg\""
  5765. ;;
  5766. esac
  5767. @@ -332,7 +418,7 @@
  5768. fi
  5769. done
  5770. - case "$user_target" in
  5771. + case $user_target in
  5772. set)
  5773. ;;
  5774. no)
  5775. @@ -348,7 +434,7 @@
  5776. # Recognize several different file suffixes.
  5777. # If the user specifies -o file.o, it is replaced with file.lo
  5778. xform='[cCFSfmso]'
  5779. - case "$libobj" in
  5780. + case $libobj in
  5781. *.ada) xform=ada ;;
  5782. *.adb) xform=adb ;;
  5783. *.ads) xform=ads ;;
  5784. @@ -363,7 +449,7 @@
  5785. libobj=`$echo "X$libobj" | $Xsed -e "s/\.$xform$/.lo/"`
  5786. - case "$libobj" in
  5787. + case $libobj in
  5788. *.lo) obj=`$echo "X$libobj" | $Xsed -e "$lo2o"` ;;
  5789. *)
  5790. $echo "$modename: cannot determine name of library object from \`$libobj'" 1>&2
  5791. @@ -387,10 +473,21 @@
  5792. $run $rm $removelist
  5793. trap "$run $rm $removelist; exit 1" 1 2 15
  5794. + # On Cygwin there's no "real" PIC flag so we must build both object types
  5795. + case $host_os in
  5796. + cygwin* | mingw* | pw32* | os2*)
  5797. + pic_mode=default
  5798. + ;;
  5799. + esac
  5800. + if test "$pic_mode" = no && test "$deplibs_check_method" != pass_all; then
  5801. + # non-PIC code in shared libraries is not supported
  5802. + pic_mode=default
  5803. + fi
  5804. +
  5805. # Calculate the filename of the output object if compiler does
  5806. # not support -o with -c
  5807. if test "$compiler_c_o" = no; then
  5808. - output_obj=`$echo "X$srcfile" | $Xsed -e 's%^.*/%%' -e 's%\..*$%%'`.${objext}
  5809. + output_obj=`$echo "X$srcfile" | $Xsed -e 's%^.*/%%' -e 's%\.[^.]*$%%'`.${objext}
  5810. lockfile="$output_obj.lock"
  5811. removelist="$removelist $output_obj $lockfile"
  5812. trap "$run $rm $removelist; exit 1" 1 2 15
  5813. @@ -402,7 +499,7 @@
  5814. # Lock this critical section if it is needed
  5815. # We use this script file to make the link, it avoids creating a new file
  5816. if test "$need_locks" = yes; then
  5817. - until ln "$0" "$lockfile" 2>/dev/null; do
  5818. + until $run ln "$0" "$lockfile" 2>/dev/null; do
  5819. $show "Waiting for $lockfile to be removed"
  5820. sleep 2
  5821. done
  5822. @@ -434,8 +531,13 @@
  5823. # Without this assignment, base_compile gets emptied.
  5824. fbsd_hideous_sh_bug=$base_compile
  5825. - # All platforms use -DPIC, to notify preprocessed assembler code.
  5826. - command="$base_compile $srcfile $pic_flag -DPIC"
  5827. + if test "$pic_mode" != no; then
  5828. + # All platforms use -DPIC, to notify preprocessed assembler code.
  5829. + command="$base_compile $srcfile $pic_flag -DPIC"
  5830. + else
  5831. + # Don't build PIC code
  5832. + command="$base_compile $srcfile"
  5833. + fi
  5834. if test "$build_old_libs" = yes; then
  5835. lo_libobj="$libobj"
  5836. dir=`$echo "X$libobj" | $Xsed -e 's%/[^/]*$%%'`
  5837. @@ -506,7 +608,8 @@
  5838. fi
  5839. # If we have no pic_flag, then copy the object into place and finish.
  5840. - if test -z "$pic_flag" && test "$build_old_libs" = yes; then
  5841. + if (test -z "$pic_flag" || test "$pic_mode" != default) &&
  5842. + test "$build_old_libs" = yes; then
  5843. # Rename the .lo from within objdir to obj
  5844. if test -f $obj; then
  5845. $show $rm $obj
  5846. @@ -532,6 +635,10 @@
  5847. # Now arrange that obj and lo_libobj become the same file
  5848. $show "(cd $xdir && $LN_S $baseobj $libobj)"
  5849. if $run eval '(cd $xdir && $LN_S $baseobj $libobj)'; then
  5850. + # Unlock the critical section if it was locked
  5851. + if test "$need_locks" != no; then
  5852. + $run $rm "$lockfile"
  5853. + fi
  5854. exit 0
  5855. else
  5856. error=$?
  5857. @@ -546,7 +653,13 @@
  5858. # Only build a position-dependent object if we build old libraries.
  5859. if test "$build_old_libs" = yes; then
  5860. - command="$base_compile $srcfile"
  5861. + if test "$pic_mode" != yes; then
  5862. + # Don't build PIC code
  5863. + command="$base_compile $srcfile"
  5864. + else
  5865. + # All platforms use -DPIC, to notify preprocessed assembler code.
  5866. + command="$base_compile $srcfile $pic_flag -DPIC"
  5867. + fi
  5868. if test "$compiler_c_o" = yes; then
  5869. command="$command -o $obj"
  5870. output_obj="$obj"
  5871. @@ -612,17 +725,17 @@
  5872. # Unlock the critical section if it was locked
  5873. if test "$need_locks" != no; then
  5874. - $rm "$lockfile"
  5875. + $run $rm "$lockfile"
  5876. fi
  5877. exit 0
  5878. ;;
  5879. # libtool link mode
  5880. - link)
  5881. + link | relink)
  5882. modename="$modename: link"
  5883. - case "$host" in
  5884. - *-*-cygwin* | *-*-mingw* | *-*-os2*)
  5885. + case $host in
  5886. + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
  5887. # It is impossible to link a dll without this setting, and
  5888. # we shouldn't force the makefile maintainer to figure out
  5889. # which system we are compiling for in order to pass an extra
  5890. @@ -635,179 +748,12 @@
  5891. # -no-undefined on the libtool link line when we can be certain
  5892. # that all symbols are satisfied, otherwise we get a static library.
  5893. allow_undefined=yes
  5894. -
  5895. - # This is a source program that is used to create dlls on Windows
  5896. - # Don't remove nor modify the starting and closing comments
  5897. -# /* ltdll.c starts here */
  5898. -# #define WIN32_LEAN_AND_MEAN
  5899. -# #include <windows.h>
  5900. -# #undef WIN32_LEAN_AND_MEAN
  5901. -# #include <stdio.h>
  5902. -#
  5903. -# #ifndef __CYGWIN__
  5904. -# # ifdef __CYGWIN32__
  5905. -# # define __CYGWIN__ __CYGWIN32__
  5906. -# # endif
  5907. -# #endif
  5908. -#
  5909. -# #ifdef __cplusplus
  5910. -# extern "C" {
  5911. -# #endif
  5912. -# BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved);
  5913. -# #ifdef __cplusplus
  5914. -# }
  5915. -# #endif
  5916. -#
  5917. -# #ifdef __CYGWIN__
  5918. -# #include <cygwin/cygwin_dll.h>
  5919. -# DECLARE_CYGWIN_DLL( DllMain );
  5920. -# #endif
  5921. -# HINSTANCE __hDllInstance_base;
  5922. -#
  5923. -# BOOL APIENTRY
  5924. -# DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved)
  5925. -# {
  5926. -# __hDllInstance_base = hInst;
  5927. -# return TRUE;
  5928. -# }
  5929. -# /* ltdll.c ends here */
  5930. - # This is a source program that is used to create import libraries
  5931. - # on Windows for dlls which lack them. Don't remove nor modify the
  5932. - # starting and closing comments
  5933. -# /* impgen.c starts here */
  5934. -# /* Copyright (C) 1999 Free Software Foundation, Inc.
  5935. -#
  5936. -# This file is part of GNU libtool.
  5937. -#
  5938. -# This program is free software; you can redistribute it and/or modify
  5939. -# it under the terms of the GNU General Public License as published by
  5940. -# the Free Software Foundation; either version 2 of the License, or
  5941. -# (at your option) any later version.
  5942. -#
  5943. -# This program is distributed in the hope that it will be useful,
  5944. -# but WITHOUT ANY WARRANTY; without even the implied warranty of
  5945. -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  5946. -# GNU General Public License for more details.
  5947. -#
  5948. -# You should have received a copy of the GNU General Public License
  5949. -# along with this program; if not, write to the Free Software
  5950. -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  5951. -# */
  5952. -#
  5953. -# #include <stdio.h> /* for printf() */
  5954. -# #include <unistd.h> /* for open(), lseek(), read() */
  5955. -# #include <fcntl.h> /* for O_RDONLY, O_BINARY */
  5956. -# #include <string.h> /* for strdup() */
  5957. -#
  5958. -# static unsigned int
  5959. -# pe_get16 (fd, offset)
  5960. -# int fd;
  5961. -# int offset;
  5962. -# {
  5963. -# unsigned char b[2];
  5964. -# lseek (fd, offset, SEEK_SET);
  5965. -# read (fd, b, 2);
  5966. -# return b[0] + (b[1]<<8);
  5967. -# }
  5968. -#
  5969. -# static unsigned int
  5970. -# pe_get32 (fd, offset)
  5971. -# int fd;
  5972. -# int offset;
  5973. -# {
  5974. -# unsigned char b[4];
  5975. -# lseek (fd, offset, SEEK_SET);
  5976. -# read (fd, b, 4);
  5977. -# return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24);
  5978. -# }
  5979. -#
  5980. -# static unsigned int
  5981. -# pe_as32 (ptr)
  5982. -# void *ptr;
  5983. -# {
  5984. -# unsigned char *b = ptr;
  5985. -# return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24);
  5986. -# }
  5987. -#
  5988. -# int
  5989. -# main (argc, argv)
  5990. -# int argc;
  5991. -# char *argv[];
  5992. -# {
  5993. -# int dll;
  5994. -# unsigned long pe_header_offset, opthdr_ofs, num_entries, i;
  5995. -# unsigned long export_rva, export_size, nsections, secptr, expptr;
  5996. -# unsigned long name_rvas, nexp;
  5997. -# unsigned char *expdata, *erva;
  5998. -# char *filename, *dll_name;
  5999. -#
  6000. -# filename = argv[1];
  6001. -#
  6002. -# dll = open(filename, O_RDONLY|O_BINARY);
  6003. -# if (!dll)
  6004. -# return 1;
  6005. -#
  6006. -# dll_name = filename;
  6007. -#
  6008. -# for (i=0; filename[i]; i++)
  6009. -# if (filename[i] == '/' || filename[i] == '\\' || filename[i] == ':')
  6010. -# dll_name = filename + i +1;
  6011. -#
  6012. -# pe_header_offset = pe_get32 (dll, 0x3c);
  6013. -# opthdr_ofs = pe_header_offset + 4 + 20;
  6014. -# num_entries = pe_get32 (dll, opthdr_ofs + 92);
  6015. -#
  6016. -# if (num_entries < 1) /* no exports */
  6017. -# return 1;
  6018. -#
  6019. -# export_rva = pe_get32 (dll, opthdr_ofs + 96);
  6020. -# export_size = pe_get32 (dll, opthdr_ofs + 100);
  6021. -# nsections = pe_get16 (dll, pe_header_offset + 4 +2);
  6022. -# secptr = (pe_header_offset + 4 + 20 +
  6023. -# pe_get16 (dll, pe_header_offset + 4 + 16));
  6024. -#
  6025. -# expptr = 0;
  6026. -# for (i = 0; i < nsections; i++)
  6027. -# {
  6028. -# char sname[8];
  6029. -# unsigned long secptr1 = secptr + 40 * i;
  6030. -# unsigned long vaddr = pe_get32 (dll, secptr1 + 12);
  6031. -# unsigned long vsize = pe_get32 (dll, secptr1 + 16);
  6032. -# unsigned long fptr = pe_get32 (dll, secptr1 + 20);
  6033. -# lseek(dll, secptr1, SEEK_SET);
  6034. -# read(dll, sname, 8);
  6035. -# if (vaddr <= export_rva && vaddr+vsize > export_rva)
  6036. -# {
  6037. -# expptr = fptr + (export_rva - vaddr);
  6038. -# if (export_rva + export_size > vaddr + vsize)
  6039. -# export_size = vsize - (export_rva - vaddr);
  6040. -# break;
  6041. -# }
  6042. -# }
  6043. -#
  6044. -# expdata = (unsigned char*)malloc(export_size);
  6045. -# lseek (dll, expptr, SEEK_SET);
  6046. -# read (dll, expdata, export_size);
  6047. -# erva = expdata - export_rva;
  6048. -#
  6049. -# nexp = pe_as32 (expdata+24);
  6050. -# name_rvas = pe_as32 (expdata+32);
  6051. -#
  6052. -# printf ("EXPORTS\n");
  6053. -# for (i = 0; i<nexp; i++)
  6054. -# {
  6055. -# unsigned long name_rva = pe_as32 (erva+name_rvas+i*4);
  6056. -# printf ("\t%s @ %ld ;\n", erva+name_rva, 1+ i);
  6057. -# }
  6058. -#
  6059. -# return 0;
  6060. -# }
  6061. -# /* impgen.c ends here */
  6062. ;;
  6063. *)
  6064. allow_undefined=yes
  6065. ;;
  6066. esac
  6067. + libtool_args="$nonopt"
  6068. compile_command="$nonopt"
  6069. finalize_command="$nonopt"
  6070. @@ -818,18 +764,13 @@
  6071. convenience=
  6072. old_convenience=
  6073. deplibs=
  6074. - linkopts=
  6075. + old_deplibs=
  6076. + compiler_flags=
  6077. + linker_flags=
  6078. + dllsearchpath=
  6079. + lib_search_path=`pwd`
  6080. + inst_prefix_dir=
  6081. - if test -n "$shlibpath_var"; then
  6082. - # get the directories listed in $shlibpath_var
  6083. - eval lib_search_path=\`\$echo \"X \${$shlibpath_var}\" \| \$Xsed -e \'s/:/ /g\'\`
  6084. - else
  6085. - lib_search_path=
  6086. - fi
  6087. - # now prepend the system-specific ones
  6088. - eval lib_search_path=\"$sys_lib_search_path_spec\$lib_search_path\"
  6089. - eval sys_lib_dlsearch_path=\"$sys_lib_dlsearch_path_spec\"
  6090. -
  6091. avoid_version=no
  6092. dlfiles=
  6093. dlprefiles=
  6094. @@ -839,9 +780,9 @@
  6095. export_symbols_regex=
  6096. generated=
  6097. libobjs=
  6098. - link_against_libtool_libs=
  6099. ltlibs=
  6100. module=no
  6101. + no_install=no
  6102. objs=
  6103. prefer_static_libs=no
  6104. preload=no
  6105. @@ -858,7 +799,7 @@
  6106. # We need to know -static, to get the right output filenames.
  6107. for arg
  6108. do
  6109. - case "$arg" in
  6110. + case $arg in
  6111. -all-static | -static)
  6112. if test "X$arg" = "X-all-static"; then
  6113. if test "$build_libtool_libs" = yes && test -z "$link_static_flag"; then
  6114. @@ -887,17 +828,24 @@
  6115. while test $# -gt 0; do
  6116. arg="$1"
  6117. shift
  6118. + case $arg in
  6119. + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
  6120. + qarg=\"`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`\" ### testsuite: skip nested quoting test
  6121. + ;;
  6122. + *) qarg=$arg ;;
  6123. + esac
  6124. + libtool_args="$libtool_args $qarg"
  6125. # If the previous option needs an argument, assign it.
  6126. if test -n "$prev"; then
  6127. - case "$prev" in
  6128. + case $prev in
  6129. output)
  6130. compile_command="$compile_command @OUTPUT@"
  6131. finalize_command="$finalize_command @OUTPUT@"
  6132. ;;
  6133. esac
  6134. - case "$prev" in
  6135. + case $prev in
  6136. dlfiles|dlprefiles)
  6137. if test "$preload" = no; then
  6138. # Add the symbol object into the linking commands.
  6139. @@ -905,7 +853,7 @@
  6140. finalize_command="$finalize_command @SYMFILE@"
  6141. preload=yes
  6142. fi
  6143. - case "$arg" in
  6144. + case $arg in
  6145. *.la | *.lo) ;; # We handle these cases below.
  6146. force)
  6147. if test "$dlself" = no; then
  6148. @@ -934,6 +882,7 @@
  6149. dlprefiles="$dlprefiles $arg"
  6150. fi
  6151. prev=
  6152. + continue
  6153. ;;
  6154. esac
  6155. ;;
  6156. @@ -951,6 +900,11 @@
  6157. prev=
  6158. continue
  6159. ;;
  6160. + inst_prefix)
  6161. + inst_prefix_dir="$arg"
  6162. + prev=
  6163. + continue
  6164. + ;;
  6165. release)
  6166. release="-$arg"
  6167. prev=
  6168. @@ -958,7 +912,7 @@
  6169. ;;
  6170. rpath | xrpath)
  6171. # We need an absolute path.
  6172. - case "$arg" in
  6173. + case $arg in
  6174. [\\/]* | [A-Za-z]:[\\/]*) ;;
  6175. *)
  6176. $echo "$modename: only absolute run-paths are allowed" 1>&2
  6177. @@ -979,17 +933,32 @@
  6178. prev=
  6179. continue
  6180. ;;
  6181. + xcompiler)
  6182. + compiler_flags="$compiler_flags $qarg"
  6183. + prev=
  6184. + compile_command="$compile_command $qarg"
  6185. + finalize_command="$finalize_command $qarg"
  6186. + continue
  6187. + ;;
  6188. + xlinker)
  6189. + linker_flags="$linker_flags $qarg"
  6190. + compiler_flags="$compiler_flags $wl$qarg"
  6191. + prev=
  6192. + compile_command="$compile_command $wl$qarg"
  6193. + finalize_command="$finalize_command $wl$qarg"
  6194. + continue
  6195. + ;;
  6196. *)
  6197. eval "$prev=\"\$arg\""
  6198. prev=
  6199. continue
  6200. ;;
  6201. esac
  6202. - fi
  6203. + fi # test -n $prev
  6204. prevarg="$arg"
  6205. - case "$arg" in
  6206. + case $arg in
  6207. -all-static)
  6208. if test -n "$link_static_flag"; then
  6209. compile_command="$compile_command $link_static_flag"
  6210. @@ -1026,7 +995,7 @@
  6211. -export-symbols | -export-symbols-regex)
  6212. if test -n "$export_symbols" || test -n "$export_symbols_regex"; then
  6213. - $echo "$modename: not more than one -exported-symbols argument allowed"
  6214. + $echo "$modename: more than one -exported-symbols argument is not allowed"
  6215. exit 1
  6216. fi
  6217. if test "X$arg" = "X-export-symbols"; then
  6218. @@ -1037,58 +1006,83 @@
  6219. continue
  6220. ;;
  6221. + -inst-prefix-dir)
  6222. + prev=inst_prefix
  6223. + continue
  6224. + ;;
  6225. +
  6226. + # The native IRIX linker understands -LANG:*, -LIST:* and -LNO:*
  6227. + # so, if we see these flags be careful not to treat them like -L
  6228. + -L[A-Z][A-Z]*:*)
  6229. + if test -z "$with_gcc"; then
  6230. + case $host in
  6231. + *-*-irix* | *-*-nonstopux*)
  6232. + compile_command="$compile_command $arg"
  6233. + finalize_command="$finalize_command $arg"
  6234. + ;;
  6235. + esac
  6236. + fi
  6237. + continue
  6238. + ;;
  6239. +
  6240. -L*)
  6241. dir=`$echo "X$arg" | $Xsed -e 's/^-L//'`
  6242. # We need an absolute path.
  6243. - case "$dir" in
  6244. + case $dir in
  6245. [\\/]* | [A-Za-z]:[\\/]*) ;;
  6246. *)
  6247. absdir=`cd "$dir" && pwd`
  6248. if test -z "$absdir"; then
  6249. - $echo "$modename: warning: cannot determine absolute directory name of \`$dir'" 1>&2
  6250. - $echo "$modename: passing it literally to the linker, although it might fail" 1>&2
  6251. - absdir="$dir"
  6252. + $echo "$modename: cannot determine absolute directory name of \`$dir'" 1>&2
  6253. + exit 1
  6254. fi
  6255. dir="$absdir"
  6256. ;;
  6257. esac
  6258. - case " $deplibs " in
  6259. - *" $arg "*) ;;
  6260. - *) deplibs="$deplibs $arg";;
  6261. - esac
  6262. - case " $lib_search_path " in
  6263. - *" $dir "*) ;;
  6264. - *) lib_search_path="$lib_search_path $dir";;
  6265. + case "$deplibs " in
  6266. + *" -L$dir "*) ;;
  6267. + *)
  6268. + deplibs="$deplibs -L$dir"
  6269. + lib_search_path="$lib_search_path $dir"
  6270. + ;;
  6271. esac
  6272. - case "$host" in
  6273. - *-*-cygwin* | *-*-mingw* | *-*-os2*)
  6274. - dllsearchdir=`cd "$dir" && pwd || echo "$dir"`
  6275. - case ":$dllsearchpath:" in
  6276. - ::) dllsearchpath="$dllsearchdir";;
  6277. - *":$dllsearchdir:"*) ;;
  6278. - *) dllsearchpath="$dllsearchpath:$dllsearchdir";;
  6279. + case $host in
  6280. + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
  6281. + case :$dllsearchpath: in
  6282. + *":$dir:"*) ;;
  6283. + *) dllsearchpath="$dllsearchpath:$dir";;
  6284. esac
  6285. ;;
  6286. esac
  6287. + continue
  6288. ;;
  6289. -l*)
  6290. - if test "$arg" = "-lc"; then
  6291. - case "$host" in
  6292. - *-*-cygwin* | *-*-mingw* | *-*-os2* | *-*-beos*)
  6293. - # These systems don't actually have c library (as such)
  6294. + if test "X$arg" = "X-lc" || test "X$arg" = "X-lm"; then
  6295. + case $host in
  6296. + *-*-cygwin* | *-*-pw32* | *-*-beos*)
  6297. + # These systems don't actually have a C or math library (as such)
  6298. continue
  6299. ;;
  6300. + *-*-mingw* | *-*-os2*)
  6301. + # These systems don't actually have a C library (as such)
  6302. + test "X$arg" = "X-lc" && continue
  6303. + ;;
  6304. + *-*-openbsd* | *-*-freebsd*)
  6305. + # Do not include libc due to us having libc/libc_r.
  6306. + test "X$arg" = "X-lc" && continue
  6307. + ;;
  6308. esac
  6309. - elif test "$arg" = "-lm"; then
  6310. - case "$host" in
  6311. - *-*-cygwin* | *-*-beos*)
  6312. - # These systems don't actually have math library (as such)
  6313. + elif test "X$arg" = "X-lc_r"; then
  6314. + case $host in
  6315. + *-*-openbsd* | *-*-freebsd*)
  6316. + # Do not include libc_r directly, use -pthread flag.
  6317. continue
  6318. ;;
  6319. esac
  6320. fi
  6321. deplibs="$deplibs $arg"
  6322. + continue
  6323. ;;
  6324. -module)
  6325. @@ -1096,6 +1090,25 @@
  6326. continue
  6327. ;;
  6328. + -no-fast-install)
  6329. + fast_install=no
  6330. + continue
  6331. + ;;
  6332. +
  6333. + -no-install)
  6334. + case $host in
  6335. + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
  6336. + # The PATH hackery in wrapper scripts is required on Windows
  6337. + # in order for the loader to find any dlls it needs.
  6338. + $echo "$modename: warning: \`-no-install' is ignored for $host" 1>&2
  6339. + $echo "$modename: warning: assuming \`-no-fast-install' instead" 1>&2
  6340. + fast_install=no
  6341. + ;;
  6342. + *) no_install=yes ;;
  6343. + esac
  6344. + continue
  6345. + ;;
  6346. +
  6347. -no-undefined)
  6348. allow_undefined=no
  6349. continue
  6350. @@ -1121,7 +1134,7 @@
  6351. -R*)
  6352. dir=`$echo "X$arg" | $Xsed -e 's/^-R//'`
  6353. # We need an absolute path.
  6354. - case "$dir" in
  6355. + case $dir in
  6356. [\\/]* | [A-Za-z]:[\\/]*) ;;
  6357. *)
  6358. $echo "$modename: only absolute run-paths are allowed" 1>&2
  6359. @@ -1136,11 +1149,11 @@
  6360. ;;
  6361. -static)
  6362. - # If we have no pic_flag, then this is the same as -all-static.
  6363. - if test -z "$pic_flag" && test -n "$link_static_flag"; then
  6364. - compile_command="$compile_command $link_static_flag"
  6365. - finalize_command="$finalize_command $link_static_flag"
  6366. - fi
  6367. + # The effects of -static are defined in a previous loop.
  6368. + # We used to do the same as -all-static on platforms that
  6369. + # didn't have a PIC flag, but the assumption that the effects
  6370. + # would be equivalent was wrong. It would break on at least
  6371. + # Digital Unix and AIX.
  6372. continue
  6373. ;;
  6374. @@ -1154,28 +1167,76 @@
  6375. continue
  6376. ;;
  6377. + -Wc,*)
  6378. + args=`$echo "X$arg" | $Xsed -e "$sed_quote_subst" -e 's/^-Wc,//'`
  6379. + arg=
  6380. + save_ifs="$IFS"; IFS=','
  6381. + for flag in $args; do
  6382. + IFS="$save_ifs"
  6383. + case $flag in
  6384. + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
  6385. + flag="\"$flag\""
  6386. + ;;
  6387. + esac
  6388. + arg="$arg $wl$flag"
  6389. + compiler_flags="$compiler_flags $flag"
  6390. + done
  6391. + IFS="$save_ifs"
  6392. + arg=`$echo "X$arg" | $Xsed -e "s/^ //"`
  6393. + ;;
  6394. +
  6395. + -Wl,*)
  6396. + args=`$echo "X$arg" | $Xsed -e "$sed_quote_subst" -e 's/^-Wl,//'`
  6397. + arg=
  6398. + save_ifs="$IFS"; IFS=','
  6399. + for flag in $args; do
  6400. + IFS="$save_ifs"
  6401. + case $flag in
  6402. + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
  6403. + flag="\"$flag\""
  6404. + ;;
  6405. + esac
  6406. + arg="$arg $wl$flag"
  6407. + compiler_flags="$compiler_flags $wl$flag"
  6408. + linker_flags="$linker_flags $flag"
  6409. + done
  6410. + IFS="$save_ifs"
  6411. + arg=`$echo "X$arg" | $Xsed -e "s/^ //"`
  6412. + ;;
  6413. +
  6414. + -Xcompiler)
  6415. + prev=xcompiler
  6416. + continue
  6417. + ;;
  6418. +
  6419. + -Xlinker)
  6420. + prev=xlinker
  6421. + continue
  6422. + ;;
  6423. +
  6424. + -Kthread | -mthreads | -mt | -pthread | -pthreads | -threads | -qthreaded | -kthread )
  6425. + compiler_flags="$compiler_flags $arg"
  6426. + continue
  6427. + ;;
  6428. +
  6429. # Some other compiler flag.
  6430. -* | +*)
  6431. # Unknown arguments in both finalize_command and compile_command need
  6432. # to be aesthetically quoted because they are evaled later.
  6433. arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
  6434. - case "$arg" in
  6435. - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*)
  6436. + case $arg in
  6437. + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
  6438. arg="\"$arg\""
  6439. ;;
  6440. esac
  6441. ;;
  6442. - *.o | *.obj | *.a | *.lib)
  6443. - # A standard object.
  6444. - objs="$objs $arg"
  6445. - ;;
  6446. -
  6447. - *.lo)
  6448. - # A library object.
  6449. + *.lo | *.$objext)
  6450. + # A library or standard object.
  6451. if test "$prev" = dlfiles; then
  6452. - dlfiles="$dlfiles $arg"
  6453. - if test "$build_libtool_libs" = yes && test "$dlopen" = yes; then
  6454. + # This file was specified with -dlopen.
  6455. + if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then
  6456. + dlfiles="$dlfiles $arg"
  6457. prev=
  6458. continue
  6459. else
  6460. @@ -1188,357 +1249,917 @@
  6461. # Preload the old-style object.
  6462. dlprefiles="$dlprefiles "`$echo "X$arg" | $Xsed -e "$lo2o"`
  6463. prev=
  6464. + else
  6465. + case $arg in
  6466. + *.lo) libobjs="$libobjs $arg" ;;
  6467. + *) objs="$objs $arg" ;;
  6468. + esac
  6469. fi
  6470. - libobjs="$libobjs $arg"
  6471. + ;;
  6472. +
  6473. + *.$libext)
  6474. + # An archive.
  6475. + deplibs="$deplibs $arg"
  6476. + old_deplibs="$old_deplibs $arg"
  6477. + continue
  6478. ;;
  6479. *.la)
  6480. # A libtool-controlled library.
  6481. - dlname=
  6482. - libdir=
  6483. - library_names=
  6484. - old_library=
  6485. -
  6486. - # Check to see that this really is a libtool archive.
  6487. - if (sed -e '2q' $arg | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then :
  6488. + if test "$prev" = dlfiles; then
  6489. + # This library was specified with -dlopen.
  6490. + dlfiles="$dlfiles $arg"
  6491. + prev=
  6492. + elif test "$prev" = dlprefiles; then
  6493. + # The library was specified with -dlpreopen.
  6494. + dlprefiles="$dlprefiles $arg"
  6495. + prev=
  6496. else
  6497. - $echo "$modename: \`$arg' is not a valid libtool archive" 1>&2
  6498. - exit 1
  6499. + deplibs="$deplibs $arg"
  6500. fi
  6501. + continue
  6502. + ;;
  6503. - # If the library was installed with an old release of libtool,
  6504. - # it will not redefine variable installed.
  6505. - installed=yes
  6506. -
  6507. - # Read the .la file
  6508. - # If there is no directory component, then add one.
  6509. - case "$arg" in
  6510. - */* | *\\*) . $arg ;;
  6511. - *) . ./$arg ;;
  6512. + # Some other compiler argument.
  6513. + *)
  6514. + # Unknown arguments in both finalize_command and compile_command need
  6515. + # to be aesthetically quoted because they are evaled later.
  6516. + arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
  6517. + case $arg in
  6518. + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
  6519. + arg="\"$arg\""
  6520. + ;;
  6521. esac
  6522. + ;;
  6523. + esac # arg
  6524. - # Get the name of the library we link against.
  6525. - linklib=
  6526. - for l in $old_library $library_names; do
  6527. - linklib="$l"
  6528. - done
  6529. -
  6530. - if test -z "$linklib"; then
  6531. - $echo "$modename: cannot find name of link library for \`$arg'" 1>&2
  6532. - exit 1
  6533. - fi
  6534. -
  6535. - # Find the relevant object directory and library name.
  6536. - name=`$echo "X$arg" | $Xsed -e 's%^.*/%%' -e 's/\.la$//' -e 's/^lib//'`
  6537. + # Now actually substitute the argument into the commands.
  6538. + if test -n "$arg"; then
  6539. + compile_command="$compile_command $arg"
  6540. + finalize_command="$finalize_command $arg"
  6541. + fi
  6542. + done # argument parsing loop
  6543. - if test "X$installed" = Xyes; then
  6544. - dir="$libdir"
  6545. - else
  6546. - dir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'`
  6547. - if test "X$dir" = "X$arg"; then
  6548. - dir="$objdir"
  6549. - else
  6550. - dir="$dir/$objdir"
  6551. - fi
  6552. - fi
  6553. + if test -n "$prev"; then
  6554. + $echo "$modename: the \`$prevarg' option requires an argument" 1>&2
  6555. + $echo "$help" 1>&2
  6556. + exit 1
  6557. + fi
  6558. - if test -n "$dependency_libs"; then
  6559. - # Extract -R and -L from dependency_libs
  6560. - temp_deplibs=
  6561. - for deplib in $dependency_libs; do
  6562. - case "$deplib" in
  6563. - -R*) temp_xrpath=`$echo "X$deplib" | $Xsed -e 's/^-R//'`
  6564. - case " $rpath $xrpath " in
  6565. - *" $temp_xrpath "*) ;;
  6566. - *) xrpath="$xrpath $temp_xrpath";;
  6567. - esac;;
  6568. - -L*) case "$compile_command $temp_deplibs " in
  6569. - *" $deplib "*) ;;
  6570. - *) temp_deplibs="$temp_deplibs $deplib";;
  6571. - esac
  6572. - temp_dir=`$echo "X$deplib" | $Xsed -e 's/^-L//'`
  6573. - case " $lib_search_path " in
  6574. - *" $temp_dir "*) ;;
  6575. - *) lib_search_path="$lib_search_path $temp_dir";;
  6576. - esac
  6577. - ;;
  6578. - *) temp_deplibs="$temp_deplibs $deplib";;
  6579. - esac
  6580. - done
  6581. - dependency_libs="$temp_deplibs"
  6582. - fi
  6583. + if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then
  6584. + eval arg=\"$export_dynamic_flag_spec\"
  6585. + compile_command="$compile_command $arg"
  6586. + finalize_command="$finalize_command $arg"
  6587. + fi
  6588. - if test -z "$libdir"; then
  6589. - # It is a libtool convenience library, so add in its objects.
  6590. - convenience="$convenience $dir/$old_library"
  6591. - old_convenience="$old_convenience $dir/$old_library"
  6592. - deplibs="$deplibs$dependency_libs"
  6593. - compile_command="$compile_command $dir/$old_library$dependency_libs"
  6594. - finalize_command="$finalize_command $dir/$old_library$dependency_libs"
  6595. - continue
  6596. - fi
  6597. + # calculate the name of the file, without its directory
  6598. + outputname=`$echo "X$output" | $Xsed -e 's%^.*/%%'`
  6599. + libobjs_save="$libobjs"
  6600. - # This library was specified with -dlopen.
  6601. - if test "$prev" = dlfiles; then
  6602. - dlfiles="$dlfiles $arg"
  6603. - if test -z "$dlname" || test "$dlopen" != yes || test "$build_libtool_libs" = no; then
  6604. - # If there is no dlname, no dlopen support or we're linking statically,
  6605. - # we need to preload.
  6606. - prev=dlprefiles
  6607. - else
  6608. - # We should not create a dependency on this library, but we
  6609. - # may need any libraries it requires.
  6610. - compile_command="$compile_command$dependency_libs"
  6611. - finalize_command="$finalize_command$dependency_libs"
  6612. - prev=
  6613. - continue
  6614. - fi
  6615. - fi
  6616. + if test -n "$shlibpath_var"; then
  6617. + # get the directories listed in $shlibpath_var
  6618. + eval shlib_search_path=\`\$echo \"X\${$shlibpath_var}\" \| \$Xsed -e \'s/:/ /g\'\`
  6619. + else
  6620. + shlib_search_path=
  6621. + fi
  6622. + eval sys_lib_search_path=\"$sys_lib_search_path_spec\"
  6623. + eval sys_lib_dlsearch_path=\"$sys_lib_dlsearch_path_spec\"
  6624. - # The library was specified with -dlpreopen.
  6625. - if test "$prev" = dlprefiles; then
  6626. - # Prefer using a static library (so that no silly _DYNAMIC symbols
  6627. - # are required to link).
  6628. - if test -n "$old_library"; then
  6629. - dlprefiles="$dlprefiles $dir/$old_library"
  6630. - else
  6631. - dlprefiles="$dlprefiles $dir/$linklib"
  6632. - fi
  6633. - prev=
  6634. - fi
  6635. + output_objdir=`$echo "X$output" | $Xsed -e 's%/[^/]*$%%'`
  6636. + if test "X$output_objdir" = "X$output"; then
  6637. + output_objdir="$objdir"
  6638. + else
  6639. + output_objdir="$output_objdir/$objdir"
  6640. + fi
  6641. + # Create the object directory.
  6642. + if test ! -d $output_objdir; then
  6643. + $show "$mkdir $output_objdir"
  6644. + $run $mkdir $output_objdir
  6645. + status=$?
  6646. + if test $status -ne 0 && test ! -d $output_objdir; then
  6647. + exit $status
  6648. + fi
  6649. + fi
  6650. - if test -n "$library_names" &&
  6651. - { test "$prefer_static_libs" = no || test -z "$old_library"; }; then
  6652. - link_against_libtool_libs="$link_against_libtool_libs $arg"
  6653. - if test -n "$shlibpath_var"; then
  6654. - # Make sure the rpath contains only unique directories.
  6655. - case "$temp_rpath " in
  6656. - *" $dir "*) ;;
  6657. - *) temp_rpath="$temp_rpath $dir" ;;
  6658. - esac
  6659. - fi
  6660. + # Determine the type of output
  6661. + case $output in
  6662. + "")
  6663. + $echo "$modename: you must specify an output file" 1>&2
  6664. + $echo "$help" 1>&2
  6665. + exit 1
  6666. + ;;
  6667. + *.$libext) linkmode=oldlib ;;
  6668. + *.lo | *.$objext) linkmode=obj ;;
  6669. + *.la) linkmode=lib ;;
  6670. + *) linkmode=prog ;; # Anything else should be a program.
  6671. + esac
  6672. - # We need an absolute path.
  6673. - case "$dir" in
  6674. - [\\/] | [A-Za-z]:[\\/]*) absdir="$dir" ;;
  6675. - *)
  6676. - absdir=`cd "$dir" && pwd`
  6677. - if test -z "$absdir"; then
  6678. - $echo "$modename: warning: cannot determine absolute directory name of \`$dir'" 1>&2
  6679. - $echo "$modename: passing it literally to the linker, although it might fail" 1>&2
  6680. - absdir="$dir"
  6681. - fi
  6682. - ;;
  6683. - esac
  6684. -
  6685. - # This is the magic to use -rpath.
  6686. - # Skip directories that are in the system default run-time
  6687. - # search path, unless they have been requested with -R.
  6688. - case " $sys_lib_dlsearch_path " in
  6689. - *" $absdir "*) ;;
  6690. + specialdeplibs=
  6691. + libs=
  6692. + # Find all interdependent deplibs by searching for libraries
  6693. + # that are linked more than once (e.g. -la -lb -la)
  6694. + for deplib in $deplibs; do
  6695. + if test "X$duplicate_deps" = "Xyes" ; then
  6696. + case "$libs " in
  6697. + *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
  6698. + esac
  6699. + fi
  6700. + libs="$libs $deplib"
  6701. + done
  6702. + deplibs=
  6703. + newdependency_libs=
  6704. + newlib_search_path=
  6705. + need_relink=no # whether we're linking any uninstalled libtool libraries
  6706. + notinst_deplibs= # not-installed libtool libraries
  6707. + notinst_path= # paths that contain not-installed libtool libraries
  6708. + case $linkmode in
  6709. + lib)
  6710. + passes="conv link"
  6711. + for file in $dlfiles $dlprefiles; do
  6712. + case $file in
  6713. + *.la) ;;
  6714. *)
  6715. - case "$compile_rpath " in
  6716. - *" $absdir "*) ;;
  6717. - *) compile_rpath="$compile_rpath $absdir"
  6718. - esac
  6719. + $echo "$modename: libraries can \`-dlopen' only libtool libraries: $file" 1>&2
  6720. + exit 1
  6721. ;;
  6722. esac
  6723. -
  6724. - case " $sys_lib_dlsearch_path " in
  6725. - *" $libdir "*) ;;
  6726. - *)
  6727. - case "$finalize_rpath " in
  6728. - *" $libdir "*) ;;
  6729. - *) finalize_rpath="$finalize_rpath $libdir"
  6730. - esac
  6731. - ;;
  6732. - esac
  6733. -
  6734. - lib_linked=yes
  6735. - case "$hardcode_action" in
  6736. - immediate | unsupported)
  6737. - if test "$hardcode_direct" = no; then
  6738. - compile_command="$compile_command $dir/$linklib"
  6739. - deplibs="$deplibs $dir/$linklib"
  6740. - case "$host" in
  6741. - *-*-cygwin* | *-*-mingw* | *-*-os2*)
  6742. - dllsearchdir=`cd "$dir" && pwd || echo "$dir"`
  6743. - if test -n "$dllsearchpath"; then
  6744. - dllsearchpath="$dllsearchpath:$dllsearchdir"
  6745. - else
  6746. - dllsearchpath="$dllsearchdir"
  6747. - fi
  6748. - ;;
  6749. - esac
  6750. - elif test "$hardcode_minus_L" = no; then
  6751. - case "$host" in
  6752. - *-*-sunos*)
  6753. - compile_shlibpath="$compile_shlibpath$dir:"
  6754. - ;;
  6755. - esac
  6756. - case "$compile_command " in
  6757. - *" -L$dir "*) ;;
  6758. - *) compile_command="$compile_command -L$dir";;
  6759. - esac
  6760. - compile_command="$compile_command -l$name"
  6761. - deplibs="$deplibs -L$dir -l$name"
  6762. - elif test "$hardcode_shlibpath_var" = no; then
  6763. - case ":$compile_shlibpath:" in
  6764. - *":$dir:"*) ;;
  6765. - *) compile_shlibpath="$compile_shlibpath$dir:";;
  6766. - esac
  6767. - compile_command="$compile_command -l$name"
  6768. - deplibs="$deplibs -l$name"
  6769. + done
  6770. + ;;
  6771. + prog)
  6772. + compile_deplibs=
  6773. + finalize_deplibs=
  6774. + alldeplibs=no
  6775. + newdlfiles=
  6776. + newdlprefiles=
  6777. + passes="conv scan dlopen dlpreopen link"
  6778. + ;;
  6779. + *) passes="conv"
  6780. + ;;
  6781. + esac
  6782. + for pass in $passes; do
  6783. + if test $linkmode = prog; then
  6784. + # Determine which files to process
  6785. + case $pass in
  6786. + dlopen)
  6787. + libs="$dlfiles"
  6788. + save_deplibs="$deplibs" # Collect dlpreopened libraries
  6789. + deplibs=
  6790. + ;;
  6791. + dlpreopen) libs="$dlprefiles" ;;
  6792. + link) libs="$deplibs %DEPLIBS% $dependency_libs" ;;
  6793. + esac
  6794. + fi
  6795. + for deplib in $libs; do
  6796. + lib=
  6797. + found=no
  6798. + case $deplib in
  6799. + -l*)
  6800. + if test $linkmode = oldlib && test $linkmode = obj; then
  6801. + $echo "$modename: warning: \`-l' is ignored for archives/objects: $deplib" 1>&2
  6802. + continue
  6803. + fi
  6804. + if test $pass = conv; then
  6805. + deplibs="$deplib $deplibs"
  6806. + continue
  6807. + fi
  6808. + name=`$echo "X$deplib" | $Xsed -e 's/^-l//'`
  6809. + for searchdir in $newlib_search_path $lib_search_path $sys_lib_search_path $shlib_search_path; do
  6810. + # Search the libtool library
  6811. + lib="$searchdir/lib${name}.la"
  6812. + if test -f "$lib"; then
  6813. + found=yes
  6814. + break
  6815. + fi
  6816. + done
  6817. + if test "$found" != yes; then
  6818. + # deplib doesn't seem to be a libtool library
  6819. + if test "$linkmode,$pass" = "prog,link"; then
  6820. + compile_deplibs="$deplib $compile_deplibs"
  6821. + finalize_deplibs="$deplib $finalize_deplibs"
  6822. else
  6823. - lib_linked=no
  6824. + deplibs="$deplib $deplibs"
  6825. + test $linkmode = lib && newdependency_libs="$deplib $newdependency_libs"
  6826. fi
  6827. + continue
  6828. + fi
  6829. + ;; # -l
  6830. + -L*)
  6831. + case $linkmode in
  6832. + lib)
  6833. + deplibs="$deplib $deplibs"
  6834. + test $pass = conv && continue
  6835. + newdependency_libs="$deplib $newdependency_libs"
  6836. + newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'`
  6837. ;;
  6838. -
  6839. - relink)
  6840. - if test "$hardcode_direct" = yes; then
  6841. - compile_command="$compile_command $absdir/$linklib"
  6842. - deplibs="$deplibs $absdir/$linklib"
  6843. - elif test "$hardcode_minus_L" = yes; then
  6844. - case "$compile_command " in
  6845. - *" -L$absdir "*) ;;
  6846. - *) compile_command="$compile_command -L$absdir";;
  6847. - esac
  6848. - compile_command="$compile_command -l$name"
  6849. - deplibs="$deplibs -L$absdir -l$name"
  6850. - elif test "$hardcode_shlibpath_var" = yes; then
  6851. - case ":$compile_shlibpath:" in
  6852. - *":$absdir:"*) ;;
  6853. - *) compile_shlibpath="$compile_shlibpath$absdir:";;
  6854. - esac
  6855. - compile_command="$compile_command -l$name"
  6856. - deplibs="$deplibs -l$name"
  6857. + prog)
  6858. + if test $pass = conv; then
  6859. + deplibs="$deplib $deplibs"
  6860. + continue
  6861. + fi
  6862. + if test $pass = scan; then
  6863. + deplibs="$deplib $deplibs"
  6864. + newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'`
  6865. else
  6866. - lib_linked=no
  6867. + compile_deplibs="$deplib $compile_deplibs"
  6868. + finalize_deplibs="$deplib $finalize_deplibs"
  6869. fi
  6870. ;;
  6871. -
  6872. *)
  6873. - lib_linked=no
  6874. + $echo "$modename: warning: \`-L' is ignored for archives/objects: $deplib" 1>&2
  6875. ;;
  6876. - esac
  6877. + esac # linkmode
  6878. + continue
  6879. + ;; # -L
  6880. + -R*)
  6881. + if test $pass = link; then
  6882. + dir=`$echo "X$deplib" | $Xsed -e 's/^-R//'`
  6883. + # Make sure the xrpath contains only unique directories.
  6884. + case "$xrpath " in
  6885. + *" $dir "*) ;;
  6886. + *) xrpath="$xrpath $dir" ;;
  6887. + esac
  6888. + fi
  6889. + deplibs="$deplib $deplibs"
  6890. + continue
  6891. + ;;
  6892. + *.la) lib="$deplib" ;;
  6893. + *.$libext)
  6894. + if test $pass = conv; then
  6895. + deplibs="$deplib $deplibs"
  6896. + continue
  6897. + fi
  6898. + case $linkmode in
  6899. + lib)
  6900. + if test "$deplibs_check_method" != pass_all; then
  6901. + echo
  6902. + echo "*** Warning: Trying to link with static lib archive $deplib."
  6903. + echo "*** I have the capability to make that library automatically link in when"
  6904. + echo "*** you link to this library. But I can only do this if you have a"
  6905. + echo "*** shared version of the library, which you do not appear to have"
  6906. + echo "*** because the file extensions .$libext of this argument makes me believe"
  6907. + echo "*** that it is just a static archive that I should not used here."
  6908. + else
  6909. + echo
  6910. + echo "*** Warning: Linking the shared library $output against the"
  6911. + echo "*** static library $deplib is not portable!"
  6912. + deplibs="$deplib $deplibs"
  6913. + fi
  6914. + continue
  6915. + ;;
  6916. + prog)
  6917. + if test $pass != link; then
  6918. + deplibs="$deplib $deplibs"
  6919. + else
  6920. + compile_deplibs="$deplib $compile_deplibs"
  6921. + finalize_deplibs="$deplib $finalize_deplibs"
  6922. + fi
  6923. + continue
  6924. + ;;
  6925. + esac # linkmode
  6926. + ;; # *.$libext
  6927. + *.lo | *.$objext)
  6928. + if test $pass = dlpreopen || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then
  6929. + # If there is no dlopen support or we're linking statically,
  6930. + # we need to preload.
  6931. + newdlprefiles="$newdlprefiles $deplib"
  6932. + compile_deplibs="$deplib $compile_deplibs"
  6933. + finalize_deplibs="$deplib $finalize_deplibs"
  6934. + else
  6935. + newdlfiles="$newdlfiles $deplib"
  6936. + fi
  6937. + continue
  6938. + ;;
  6939. + %DEPLIBS%)
  6940. + alldeplibs=yes
  6941. + continue
  6942. + ;;
  6943. + esac # case $deplib
  6944. + if test $found = yes || test -f "$lib"; then :
  6945. + else
  6946. + $echo "$modename: cannot find the library \`$lib'" 1>&2
  6947. + exit 1
  6948. + fi
  6949. +
  6950. + # Check to see that this really is a libtool archive.
  6951. + if (${SED} -e '2q' $lib | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then :
  6952. + else
  6953. + $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2
  6954. + exit 1
  6955. + fi
  6956. +
  6957. + ladir=`$echo "X$lib" | $Xsed -e 's%/[^/]*$%%'`
  6958. + test "X$ladir" = "X$lib" && ladir="."
  6959. - if test "$lib_linked" != yes; then
  6960. - $echo "$modename: configuration error: unsupported hardcode properties"
  6961. + dlname=
  6962. + dlopen=
  6963. + dlpreopen=
  6964. + libdir=
  6965. + library_names=
  6966. + old_library=
  6967. + # If the library was installed with an old release of libtool,
  6968. + # it will not redefine variable installed.
  6969. + installed=yes
  6970. +
  6971. + # Read the .la file
  6972. + case $lib in
  6973. + */* | *\\*) . $lib ;;
  6974. + *) . ./$lib ;;
  6975. + esac
  6976. +
  6977. + if test "$linkmode,$pass" = "lib,link" ||
  6978. + test "$linkmode,$pass" = "prog,scan" ||
  6979. + { test $linkmode = oldlib && test $linkmode = obj; }; then
  6980. + # Add dl[pre]opened files of deplib
  6981. + test -n "$dlopen" && dlfiles="$dlfiles $dlopen"
  6982. + test -n "$dlpreopen" && dlprefiles="$dlprefiles $dlpreopen"
  6983. + fi
  6984. +
  6985. + if test $pass = conv; then
  6986. + # Only check for convenience libraries
  6987. + deplibs="$lib $deplibs"
  6988. + if test -z "$libdir"; then
  6989. + if test -z "$old_library"; then
  6990. + $echo "$modename: cannot find name of link library for \`$lib'" 1>&2
  6991. + exit 1
  6992. + fi
  6993. + # It is a libtool convenience library, so add in its objects.
  6994. + convenience="$convenience $ladir/$objdir/$old_library"
  6995. + old_convenience="$old_convenience $ladir/$objdir/$old_library"
  6996. + tmp_libs=
  6997. + for deplib in $dependency_libs; do
  6998. + deplibs="$deplib $deplibs"
  6999. + if test "X$duplicate_deps" = "Xyes" ; then
  7000. + case "$tmp_libs " in
  7001. + *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
  7002. + esac
  7003. + fi
  7004. + tmp_libs="$tmp_libs $deplib"
  7005. + done
  7006. + elif test $linkmode != prog && test $linkmode != lib; then
  7007. + $echo "$modename: \`$lib' is not a convenience library" 1>&2
  7008. exit 1
  7009. fi
  7010. + continue
  7011. + fi # $pass = conv
  7012. - # Finalize command for both is simple: just hardcode it.
  7013. - if test "$hardcode_direct" = yes; then
  7014. - finalize_command="$finalize_command $libdir/$linklib"
  7015. - elif test "$hardcode_minus_L" = yes; then
  7016. - case "$finalize_command " in
  7017. - *" -L$libdir "*) ;;
  7018. - *) finalize_command="$finalize_command -L$libdir";;
  7019. - esac
  7020. - finalize_command="$finalize_command -l$name"
  7021. - elif test "$hardcode_shlibpath_var" = yes; then
  7022. - case ":$finalize_shlibpath:" in
  7023. - *":$libdir:"*) ;;
  7024. - *) finalize_shlibpath="$finalize_shlibpath$libdir:";;
  7025. - esac
  7026. - finalize_command="$finalize_command -l$name"
  7027. + # Get the name of the library we link against.
  7028. + linklib=
  7029. + for l in $old_library $library_names; do
  7030. + linklib="$l"
  7031. + done
  7032. + if test -z "$linklib"; then
  7033. + $echo "$modename: cannot find name of link library for \`$lib'" 1>&2
  7034. + exit 1
  7035. + fi
  7036. +
  7037. + # This library was specified with -dlopen.
  7038. + if test $pass = dlopen; then
  7039. + if test -z "$libdir"; then
  7040. + $echo "$modename: cannot -dlopen a convenience library: \`$lib'" 1>&2
  7041. + exit 1
  7042. + fi
  7043. + if test -z "$dlname" || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then
  7044. + # If there is no dlname, no dlopen support or we're linking
  7045. + # statically, we need to preload.
  7046. + dlprefiles="$dlprefiles $lib"
  7047. else
  7048. - # We cannot seem to hardcode it, guess we'll fake it.
  7049. - case "$finalize_command " in
  7050. - *" -L$dir "*) ;;
  7051. - *) finalize_command="$finalize_command -L$libdir";;
  7052. - esac
  7053. - finalize_command="$finalize_command -l$name"
  7054. + newdlfiles="$newdlfiles $lib"
  7055. + fi
  7056. + continue
  7057. + fi # $pass = dlopen
  7058. +
  7059. + # We need an absolute path.
  7060. + case $ladir in
  7061. + [\\/]* | [A-Za-z]:[\\/]*) abs_ladir="$ladir" ;;
  7062. + *)
  7063. + abs_ladir=`cd "$ladir" && pwd`
  7064. + if test -z "$abs_ladir"; then
  7065. + $echo "$modename: warning: cannot determine absolute directory name of \`$ladir'" 1>&2
  7066. + $echo "$modename: passing it literally to the linker, although it might fail" 1>&2
  7067. + abs_ladir="$ladir"
  7068. + fi
  7069. + ;;
  7070. + esac
  7071. + laname=`$echo "X$lib" | $Xsed -e 's%^.*/%%'`
  7072. +
  7073. + # Find the relevant object directory and library name.
  7074. + if test "X$installed" = Xyes; then
  7075. + if test ! -f "$libdir/$linklib" && test -f "$abs_ladir/$linklib"; then
  7076. + $echo "$modename: warning: library \`$lib' was moved." 1>&2
  7077. + dir="$ladir"
  7078. + absdir="$abs_ladir"
  7079. + libdir="$abs_ladir"
  7080. + else
  7081. + dir="$libdir"
  7082. + absdir="$libdir"
  7083. fi
  7084. else
  7085. - # Transform directly to old archives if we don't build new libraries.
  7086. - if test -n "$pic_flag" && test -z "$old_library"; then
  7087. - $echo "$modename: cannot find static library for \`$arg'" 1>&2
  7088. + dir="$ladir/$objdir"
  7089. + absdir="$abs_ladir/$objdir"
  7090. + # Remove this search path later
  7091. + notinst_path="$notinst_path $abs_ladir"
  7092. + fi # $installed = yes
  7093. + name=`$echo "X$laname" | $Xsed -e 's/\.la$//' -e 's/^lib//'`
  7094. +
  7095. + # This library was specified with -dlpreopen.
  7096. + if test $pass = dlpreopen; then
  7097. + if test -z "$libdir"; then
  7098. + $echo "$modename: cannot -dlpreopen a convenience library: \`$lib'" 1>&2
  7099. exit 1
  7100. fi
  7101. + # Prefer using a static library (so that no silly _DYNAMIC symbols
  7102. + # are required to link).
  7103. + if test -n "$old_library"; then
  7104. + newdlprefiles="$newdlprefiles $dir/$old_library"
  7105. + # Otherwise, use the dlname, so that lt_dlopen finds it.
  7106. + elif test -n "$dlname"; then
  7107. + newdlprefiles="$newdlprefiles $dir/$dlname"
  7108. + else
  7109. + newdlprefiles="$newdlprefiles $dir/$linklib"
  7110. + fi
  7111. + fi # $pass = dlpreopen
  7112. - # Here we assume that one of hardcode_direct or hardcode_minus_L
  7113. - # is not unsupported. This is valid on all known static and
  7114. - # shared platforms.
  7115. - if test "$hardcode_direct" != unsupported; then
  7116. - test -n "$old_library" && linklib="$old_library"
  7117. - compile_command="$compile_command $dir/$linklib"
  7118. - finalize_command="$finalize_command $dir/$linklib"
  7119. + if test -z "$libdir"; then
  7120. + # Link the convenience library
  7121. + if test $linkmode = lib; then
  7122. + deplibs="$dir/$old_library $deplibs"
  7123. + elif test "$linkmode,$pass" = "prog,link"; then
  7124. + compile_deplibs="$dir/$old_library $compile_deplibs"
  7125. + finalize_deplibs="$dir/$old_library $finalize_deplibs"
  7126. else
  7127. - case "$compile_command " in
  7128. - *" -L$dir "*) ;;
  7129. - *) compile_command="$compile_command -L$dir";;
  7130. + deplibs="$lib $deplibs"
  7131. + fi
  7132. + continue
  7133. + fi
  7134. +
  7135. + if test $linkmode = prog && test $pass != link; then
  7136. + newlib_search_path="$newlib_search_path $ladir"
  7137. + deplibs="$lib $deplibs"
  7138. +
  7139. + linkalldeplibs=no
  7140. + if test "$link_all_deplibs" != no || test -z "$library_names" ||
  7141. + test "$build_libtool_libs" = no; then
  7142. + linkalldeplibs=yes
  7143. + fi
  7144. +
  7145. + tmp_libs=
  7146. + for deplib in $dependency_libs; do
  7147. + case $deplib in
  7148. + -L*) newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'`;; ### testsuite: skip nested quoting test
  7149. + esac
  7150. + # Need to link against all dependency_libs?
  7151. + if test $linkalldeplibs = yes; then
  7152. + deplibs="$deplib $deplibs"
  7153. + else
  7154. + # Need to hardcode shared library paths
  7155. + # or/and link against static libraries
  7156. + newdependency_libs="$deplib $newdependency_libs"
  7157. + fi
  7158. + if test "X$duplicate_deps" = "Xyes" ; then
  7159. + case "$tmp_libs " in
  7160. + *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
  7161. + esac
  7162. + fi
  7163. + tmp_libs="$tmp_libs $deplib"
  7164. + done # for deplib
  7165. + continue
  7166. + fi # $linkmode = prog...
  7167. +
  7168. + link_static=no # Whether the deplib will be linked statically
  7169. + if test -n "$library_names" &&
  7170. + { test "$prefer_static_libs" = no || test -z "$old_library"; }; then
  7171. + # Link against this shared library
  7172. +
  7173. + if test "$linkmode,$pass" = "prog,link" ||
  7174. + { test $linkmode = lib && test $hardcode_into_libs = yes; }; then
  7175. + # Hardcode the library path.
  7176. + # Skip directories that are in the system default run-time
  7177. + # search path.
  7178. + case " $sys_lib_dlsearch_path " in
  7179. + *" $absdir "*) ;;
  7180. + *)
  7181. + case "$compile_rpath " in
  7182. + *" $absdir "*) ;;
  7183. + *) compile_rpath="$compile_rpath $absdir"
  7184. + esac
  7185. + ;;
  7186. esac
  7187. - compile_command="$compile_command -l$name"
  7188. - case "$finalize_command " in
  7189. - *" -L$dir "*) ;;
  7190. - *) finalize_command="$finalize_command -L$dir";;
  7191. + case " $sys_lib_dlsearch_path " in
  7192. + *" $libdir "*) ;;
  7193. + *)
  7194. + case "$finalize_rpath " in
  7195. + *" $libdir "*) ;;
  7196. + *) finalize_rpath="$finalize_rpath $libdir"
  7197. + esac
  7198. + ;;
  7199. esac
  7200. - finalize_command="$finalize_command -l$name"
  7201. + if test $linkmode = prog; then
  7202. + # We need to hardcode the library path
  7203. + if test -n "$shlibpath_var"; then
  7204. + # Make sure the rpath contains only unique directories.
  7205. + case "$temp_rpath " in
  7206. + *" $dir "*) ;;
  7207. + *" $absdir "*) ;;
  7208. + *) temp_rpath="$temp_rpath $dir" ;;
  7209. + esac
  7210. + fi
  7211. + fi
  7212. + fi # $linkmode,$pass = prog,link...
  7213. +
  7214. + if test "$alldeplibs" = yes &&
  7215. + { test "$deplibs_check_method" = pass_all ||
  7216. + { test "$build_libtool_libs" = yes &&
  7217. + test -n "$library_names"; }; }; then
  7218. + # We only need to search for static libraries
  7219. + continue
  7220. fi
  7221. - fi
  7222. - # Add in any libraries that this one depends upon.
  7223. - compile_command="$compile_command$dependency_libs"
  7224. - finalize_command="$finalize_command$dependency_libs"
  7225. - continue
  7226. - ;;
  7227. + if test "$installed" = no; then
  7228. + notinst_deplibs="$notinst_deplibs $lib"
  7229. + need_relink=yes
  7230. + fi
  7231. +
  7232. + if test -n "$old_archive_from_expsyms_cmds"; then
  7233. + # figure out the soname
  7234. + set dummy $library_names
  7235. + realname="$2"
  7236. + shift; shift
  7237. + libname=`eval \\$echo \"$libname_spec\"`
  7238. + # use dlname if we got it. it's perfectly good, no?
  7239. + if test -n "$dlname"; then
  7240. + soname="$dlname"
  7241. + elif test -n "$soname_spec"; then
  7242. + # bleh windows
  7243. + case $host in
  7244. + *cygwin*)
  7245. + major=`expr $current - $age`
  7246. + versuffix="-$major"
  7247. + ;;
  7248. + esac
  7249. + eval soname=\"$soname_spec\"
  7250. + else
  7251. + soname="$realname"
  7252. + fi
  7253. - # Some other compiler argument.
  7254. - *)
  7255. - # Unknown arguments in both finalize_command and compile_command need
  7256. - # to be aesthetically quoted because they are evaled later.
  7257. - arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
  7258. - case "$arg" in
  7259. - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*)
  7260. - arg="\"$arg\""
  7261. - ;;
  7262. - esac
  7263. - ;;
  7264. - esac
  7265. + # Make a new name for the extract_expsyms_cmds to use
  7266. + soroot="$soname"
  7267. + soname=`echo $soroot | ${SED} -e 's/^.*\///'`
  7268. + newlib="libimp-`echo $soname | ${SED} 's/^lib//;s/\.dll$//'`.a"
  7269. - # Now actually substitute the argument into the commands.
  7270. - if test -n "$arg"; then
  7271. - compile_command="$compile_command $arg"
  7272. - finalize_command="$finalize_command $arg"
  7273. - fi
  7274. - done
  7275. + # If the library has no export list, then create one now
  7276. + if test -f "$output_objdir/$soname-def"; then :
  7277. + else
  7278. + $show "extracting exported symbol list from \`$soname'"
  7279. + save_ifs="$IFS"; IFS='~'
  7280. + eval cmds=\"$extract_expsyms_cmds\"
  7281. + for cmd in $cmds; do
  7282. + IFS="$save_ifs"
  7283. + $show "$cmd"
  7284. + $run eval "$cmd" || exit $?
  7285. + done
  7286. + IFS="$save_ifs"
  7287. + fi
  7288. - if test -n "$prev"; then
  7289. - $echo "$modename: the \`$prevarg' option requires an argument" 1>&2
  7290. - $echo "$help" 1>&2
  7291. - exit 1
  7292. - fi
  7293. + # Create $newlib
  7294. + if test -f "$output_objdir/$newlib"; then :; else
  7295. + $show "generating import library for \`$soname'"
  7296. + save_ifs="$IFS"; IFS='~'
  7297. + eval cmds=\"$old_archive_from_expsyms_cmds\"
  7298. + for cmd in $cmds; do
  7299. + IFS="$save_ifs"
  7300. + $show "$cmd"
  7301. + $run eval "$cmd" || exit $?
  7302. + done
  7303. + IFS="$save_ifs"
  7304. + fi
  7305. + # make sure the library variables are pointing to the new library
  7306. + dir=$output_objdir
  7307. + linklib=$newlib
  7308. + fi # test -n $old_archive_from_expsyms_cmds
  7309. +
  7310. + if test $linkmode = prog || test "$mode" != relink; then
  7311. + add_shlibpath=
  7312. + add_dir=
  7313. + add=
  7314. + lib_linked=yes
  7315. + case $hardcode_action in
  7316. + immediate | unsupported)
  7317. + if test "$hardcode_direct" = no; then
  7318. + add="$dir/$linklib"
  7319. + elif test "$hardcode_minus_L" = no; then
  7320. + case $host in
  7321. + *-*-sunos*) add_shlibpath="$dir" ;;
  7322. + esac
  7323. + add_dir="-L$dir"
  7324. + add="-l$name"
  7325. + elif test "$hardcode_shlibpath_var" = no; then
  7326. + add_shlibpath="$dir"
  7327. + add="-l$name"
  7328. + else
  7329. + lib_linked=no
  7330. + fi
  7331. + ;;
  7332. + relink)
  7333. + if test "$hardcode_direct" = yes; then
  7334. + add="$dir/$linklib"
  7335. + elif test "$hardcode_minus_L" = yes; then
  7336. + add_dir="-L$dir"
  7337. + # Try looking first in the location we're being installed to.
  7338. + if test -n "$inst_prefix_dir"; then
  7339. + case "$libdir" in
  7340. + [\/]*)
  7341. + add_dir="$add_dir -L$inst_prefix_dir$libdir"
  7342. + ;;
  7343. + esac
  7344. + fi
  7345. + add="-l$name"
  7346. + elif test "$hardcode_shlibpath_var" = yes; then
  7347. + add_shlibpath="$dir"
  7348. + add="-l$name"
  7349. + else
  7350. + lib_linked=no
  7351. + fi
  7352. + ;;
  7353. + *) lib_linked=no ;;
  7354. + esac
  7355. - if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then
  7356. - eval arg=\"$export_dynamic_flag_spec\"
  7357. - compile_command="$compile_command $arg"
  7358. - finalize_command="$finalize_command $arg"
  7359. - fi
  7360. + if test "$lib_linked" != yes; then
  7361. + $echo "$modename: configuration error: unsupported hardcode properties"
  7362. + exit 1
  7363. + fi
  7364. - oldlibs=
  7365. - # calculate the name of the file, without its directory
  7366. - outputname=`$echo "X$output" | $Xsed -e 's%^.*/%%'`
  7367. - libobjs_save="$libobjs"
  7368. + if test -n "$add_shlibpath"; then
  7369. + case :$compile_shlibpath: in
  7370. + *":$add_shlibpath:"*) ;;
  7371. + *) compile_shlibpath="$compile_shlibpath$add_shlibpath:" ;;
  7372. + esac
  7373. + fi
  7374. + if test $linkmode = prog; then
  7375. + test -n "$add_dir" && compile_deplibs="$add_dir $compile_deplibs"
  7376. + test -n "$add" && compile_deplibs="$add $compile_deplibs"
  7377. + else
  7378. + test -n "$add_dir" && deplibs="$add_dir $deplibs"
  7379. + test -n "$add" && deplibs="$add $deplibs"
  7380. + if test "$hardcode_direct" != yes && \
  7381. + test "$hardcode_minus_L" != yes && \
  7382. + test "$hardcode_shlibpath_var" = yes; then
  7383. + case :$finalize_shlibpath: in
  7384. + *":$libdir:"*) ;;
  7385. + *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;;
  7386. + esac
  7387. + fi
  7388. + fi
  7389. + fi
  7390. - case "$output" in
  7391. - "")
  7392. - $echo "$modename: you must specify an output file" 1>&2
  7393. - $echo "$help" 1>&2
  7394. - exit 1
  7395. - ;;
  7396. + if test $linkmode = prog || test "$mode" = relink; then
  7397. + add_shlibpath=
  7398. + add_dir=
  7399. + add=
  7400. + # Finalize command for both is simple: just hardcode it.
  7401. + if test "$hardcode_direct" = yes; then
  7402. + add="$libdir/$linklib"
  7403. + elif test "$hardcode_minus_L" = yes; then
  7404. + add_dir="-L$libdir"
  7405. + add="-l$name"
  7406. + elif test "$hardcode_shlibpath_var" = yes; then
  7407. + case :$finalize_shlibpath: in
  7408. + *":$libdir:"*) ;;
  7409. + *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;;
  7410. + esac
  7411. + add="-l$name"
  7412. + else
  7413. + # We cannot seem to hardcode it, guess we'll fake it.
  7414. + add_dir="-L$libdir"
  7415. + # Try looking first in the location we're being installed to.
  7416. + if test -n "$inst_prefix_dir"; then
  7417. + case "$libdir" in
  7418. + [\/]*)
  7419. + add_dir="$add_dir -L$inst_prefix_dir$libdir"
  7420. + ;;
  7421. + esac
  7422. + fi
  7423. + add="-l$name"
  7424. + fi
  7425. - *.a | *.lib)
  7426. - if test -n "$link_against_libtool_libs"; then
  7427. - $echo "$modename: error: cannot link libtool libraries into archives" 1>&2
  7428. - exit 1
  7429. + if test $linkmode = prog; then
  7430. + test -n "$add_dir" && finalize_deplibs="$add_dir $finalize_deplibs"
  7431. + test -n "$add" && finalize_deplibs="$add $finalize_deplibs"
  7432. + else
  7433. + test -n "$add_dir" && deplibs="$add_dir $deplibs"
  7434. + test -n "$add" && deplibs="$add $deplibs"
  7435. + fi
  7436. + fi
  7437. + elif test $linkmode = prog; then
  7438. + if test "$alldeplibs" = yes &&
  7439. + { test "$deplibs_check_method" = pass_all ||
  7440. + { test "$build_libtool_libs" = yes &&
  7441. + test -n "$library_names"; }; }; then
  7442. + # We only need to search for static libraries
  7443. + continue
  7444. + fi
  7445. +
  7446. + # Try to link the static library
  7447. + # Here we assume that one of hardcode_direct or hardcode_minus_L
  7448. + # is not unsupported. This is valid on all known static and
  7449. + # shared platforms.
  7450. + if test "$hardcode_direct" != unsupported; then
  7451. + test -n "$old_library" && linklib="$old_library"
  7452. + compile_deplibs="$dir/$linklib $compile_deplibs"
  7453. + finalize_deplibs="$dir/$linklib $finalize_deplibs"
  7454. + else
  7455. + compile_deplibs="-l$name -L$dir $compile_deplibs"
  7456. + finalize_deplibs="-l$name -L$dir $finalize_deplibs"
  7457. + fi
  7458. + elif test "$build_libtool_libs" = yes; then
  7459. + # Not a shared library
  7460. + if test "$deplibs_check_method" != pass_all; then
  7461. + # We're trying link a shared library against a static one
  7462. + # but the system doesn't support it.
  7463. +
  7464. + # Just print a warning and add the library to dependency_libs so
  7465. + # that the program can be linked against the static library.
  7466. + echo
  7467. + echo "*** Warning: This system can not link to static lib archive $lib."
  7468. + echo "*** I have the capability to make that library automatically link in when"
  7469. + echo "*** you link to this library. But I can only do this if you have a"
  7470. + echo "*** shared version of the library, which you do not appear to have."
  7471. + if test "$module" = yes; then
  7472. + echo "*** But as you try to build a module library, libtool will still create "
  7473. + echo "*** a static module, that should work as long as the dlopening application"
  7474. + echo "*** is linked with the -dlopen flag to resolve symbols at runtime."
  7475. + if test -z "$global_symbol_pipe"; then
  7476. + echo
  7477. + echo "*** However, this would only work if libtool was able to extract symbol"
  7478. + echo "*** lists from a program, using \`nm' or equivalent, but libtool could"
  7479. + echo "*** not find such a program. So, this module is probably useless."
  7480. + echo "*** \`nm' from GNU binutils and a full rebuild may help."
  7481. + fi
  7482. + if test "$build_old_libs" = no; then
  7483. + build_libtool_libs=module
  7484. + build_old_libs=yes
  7485. + else
  7486. + build_libtool_libs=no
  7487. + fi
  7488. + fi
  7489. + else
  7490. + convenience="$convenience $dir/$old_library"
  7491. + old_convenience="$old_convenience $dir/$old_library"
  7492. + deplibs="$dir/$old_library $deplibs"
  7493. + link_static=yes
  7494. + fi
  7495. + fi # link shared/static library?
  7496. +
  7497. + if test $linkmode = lib; then
  7498. + if test -n "$dependency_libs" &&
  7499. + { test $hardcode_into_libs != yes || test $build_old_libs = yes ||
  7500. + test $link_static = yes; }; then
  7501. + # Extract -R from dependency_libs
  7502. + temp_deplibs=
  7503. + for libdir in $dependency_libs; do
  7504. + case $libdir in
  7505. + -R*) temp_xrpath=`$echo "X$libdir" | $Xsed -e 's/^-R//'`
  7506. + case " $xrpath " in
  7507. + *" $temp_xrpath "*) ;;
  7508. + *) xrpath="$xrpath $temp_xrpath";;
  7509. + esac;;
  7510. + *) temp_deplibs="$temp_deplibs $libdir";;
  7511. + esac
  7512. + done
  7513. + dependency_libs="$temp_deplibs"
  7514. + fi
  7515. +
  7516. + newlib_search_path="$newlib_search_path $absdir"
  7517. + # Link against this library
  7518. + test "$link_static" = no && newdependency_libs="$abs_ladir/$laname $newdependency_libs"
  7519. + # ... and its dependency_libs
  7520. + tmp_libs=
  7521. + for deplib in $dependency_libs; do
  7522. + newdependency_libs="$deplib $newdependency_libs"
  7523. + if test "X$duplicate_deps" = "Xyes" ; then
  7524. + case "$tmp_libs " in
  7525. + *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
  7526. + esac
  7527. + fi
  7528. + tmp_libs="$tmp_libs $deplib"
  7529. + done
  7530. +
  7531. + if test $link_all_deplibs != no; then
  7532. + # Add the search paths of all dependency libraries
  7533. + for deplib in $dependency_libs; do
  7534. + case $deplib in
  7535. + -L*) path="$deplib" ;;
  7536. + *.la)
  7537. + dir=`$echo "X$deplib" | $Xsed -e 's%/[^/]*$%%'`
  7538. + test "X$dir" = "X$deplib" && dir="."
  7539. + # We need an absolute path.
  7540. + case $dir in
  7541. + [\\/]* | [A-Za-z]:[\\/]*) absdir="$dir" ;;
  7542. + *)
  7543. + absdir=`cd "$dir" && pwd`
  7544. + if test -z "$absdir"; then
  7545. + $echo "$modename: warning: cannot determine absolute directory name of \`$dir'" 1>&2
  7546. + absdir="$dir"
  7547. + fi
  7548. + ;;
  7549. + esac
  7550. + if grep "^installed=no" $deplib > /dev/null; then
  7551. + path="-L$absdir/$objdir"
  7552. + else
  7553. + eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
  7554. + if test -z "$libdir"; then
  7555. + $echo "$modename: \`$deplib' is not a valid libtool archive" 1>&2
  7556. + exit 1
  7557. + fi
  7558. + if test "$absdir" != "$libdir"; then
  7559. + $echo "$modename: warning: \`$deplib' seems to be moved" 1>&2
  7560. + fi
  7561. + path="-L$absdir"
  7562. + fi
  7563. + ;;
  7564. + *) continue ;;
  7565. + esac
  7566. + case " $deplibs " in
  7567. + *" $path "*) ;;
  7568. + *) deplibs="$deplibs $path" ;;
  7569. + esac
  7570. + done
  7571. + fi # link_all_deplibs != no
  7572. + fi # linkmode = lib
  7573. + done # for deplib in $libs
  7574. + if test $pass = dlpreopen; then
  7575. + # Link the dlpreopened libraries before other libraries
  7576. + for deplib in $save_deplibs; do
  7577. + deplibs="$deplib $deplibs"
  7578. + done
  7579. fi
  7580. + if test $pass != dlopen; then
  7581. + test $pass != scan && dependency_libs="$newdependency_libs"
  7582. + if test $pass != conv; then
  7583. + # Make sure lib_search_path contains only unique directories.
  7584. + lib_search_path=
  7585. + for dir in $newlib_search_path; do
  7586. + case "$lib_search_path " in
  7587. + *" $dir "*) ;;
  7588. + *) lib_search_path="$lib_search_path $dir" ;;
  7589. + esac
  7590. + done
  7591. + newlib_search_path=
  7592. + fi
  7593. - if test -n "$deplibs"; then
  7594. - $echo "$modename: warning: \`-l' and \`-L' are ignored for archives" 1>&2
  7595. + if test "$linkmode,$pass" != "prog,link"; then
  7596. + vars="deplibs"
  7597. + else
  7598. + vars="compile_deplibs finalize_deplibs"
  7599. + fi
  7600. + for var in $vars dependency_libs; do
  7601. + # Add libraries to $var in reverse order
  7602. + eval tmp_libs=\"\$$var\"
  7603. + new_libs=
  7604. + for deplib in $tmp_libs; do
  7605. + case $deplib in
  7606. + -L*) new_libs="$deplib $new_libs" ;;
  7607. + *)
  7608. + case " $specialdeplibs " in
  7609. + *" $deplib "*) new_libs="$deplib $new_libs" ;;
  7610. + *)
  7611. + case " $new_libs " in
  7612. + *" $deplib "*) ;;
  7613. + *) new_libs="$deplib $new_libs" ;;
  7614. + esac
  7615. + ;;
  7616. + esac
  7617. + ;;
  7618. + esac
  7619. + done
  7620. + tmp_libs=
  7621. + for deplib in $new_libs; do
  7622. + case $deplib in
  7623. + -L*)
  7624. + case " $tmp_libs " in
  7625. + *" $deplib "*) ;;
  7626. + *) tmp_libs="$tmp_libs $deplib" ;;
  7627. + esac
  7628. + ;;
  7629. + *) tmp_libs="$tmp_libs $deplib" ;;
  7630. + esac
  7631. + done
  7632. + eval $var=\"$tmp_libs\"
  7633. + done # for var
  7634. fi
  7635. + if test "$pass" = "conv" &&
  7636. + { test "$linkmode" = "lib" || test "$linkmode" = "prog"; }; then
  7637. + libs="$deplibs" # reset libs
  7638. + deplibs=
  7639. + fi
  7640. + done # for pass
  7641. + if test $linkmode = prog; then
  7642. + dlfiles="$newdlfiles"
  7643. + dlprefiles="$newdlprefiles"
  7644. + fi
  7645. + case $linkmode in
  7646. + oldlib)
  7647. if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then
  7648. $echo "$modename: warning: \`-dlopen' is ignored for archives" 1>&2
  7649. fi
  7650. @@ -1566,11 +2187,12 @@
  7651. # Now set the variables for building old libraries.
  7652. build_libtool_libs=no
  7653. oldlibs="$output"
  7654. + objs="$objs$old_deplibs"
  7655. ;;
  7656. - *.la)
  7657. + lib)
  7658. # Make sure we only generate libraries of the form `libNAME.la'.
  7659. - case "$outputname" in
  7660. + case $outputname in
  7661. lib*)
  7662. name=`$echo "X$outputname" | $Xsed -e 's/\.la$//' -e 's/^lib//'`
  7663. eval libname=\"$libname_spec\"
  7664. @@ -1591,26 +2213,20 @@
  7665. ;;
  7666. esac
  7667. - output_objdir=`$echo "X$output" | $Xsed -e 's%/[^/]*$%%'`
  7668. - if test "X$output_objdir" = "X$output"; then
  7669. - output_objdir="$objdir"
  7670. - else
  7671. - output_objdir="$output_objdir/$objdir"
  7672. - fi
  7673. -
  7674. if test -n "$objs"; then
  7675. - $echo "$modename: cannot build libtool library \`$output' from non-libtool objects:$objs" 2>&1
  7676. - exit 1
  7677. - fi
  7678. -
  7679. - # How the heck are we supposed to write a wrapper for a shared library?
  7680. - if test -n "$link_against_libtool_libs"; then
  7681. - $echo "$modename: error: cannot link shared libraries into libtool libraries" 1>&2
  7682. - exit 1
  7683. + if test "$deplibs_check_method" != pass_all; then
  7684. + $echo "$modename: cannot build libtool library \`$output' from non-libtool objects on this host:$objs" 2>&1
  7685. + exit 1
  7686. + else
  7687. + echo
  7688. + echo "*** Warning: Linking the shared library $output against the non-libtool"
  7689. + echo "*** objects $objs is not portable!"
  7690. + libobjs="$libobjs $objs"
  7691. + fi
  7692. fi
  7693. - if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then
  7694. - $echo "$modename: warning: \`-dlopen' is ignored for libtool libraries" 1>&2
  7695. + if test "$dlself" != no; then
  7696. + $echo "$modename: warning: \`-dlopen self' is ignored for libtool libraries" 1>&2
  7697. fi
  7698. set dummy $rpath
  7699. @@ -1628,7 +2244,6 @@
  7700. build_libtool_libs=convenience
  7701. build_old_libs=yes
  7702. fi
  7703. - dependency_libs="$deplibs"
  7704. if test -n "$vinfo"; then
  7705. $echo "$modename: warning: \`-version-info' is ignored for convenience libraries" 1>&2
  7706. @@ -1640,7 +2255,7 @@
  7707. else
  7708. # Parse the version information argument.
  7709. - IFS="${IFS= }"; save_ifs="$IFS"; IFS=':'
  7710. + save_ifs="$IFS"; IFS=':'
  7711. set dummy $vinfo 0 0 0
  7712. IFS="$save_ifs"
  7713. @@ -1655,8 +2270,8 @@
  7714. age="$4"
  7715. # Check that each of the things are valid numbers.
  7716. - case "$current" in
  7717. - 0 | [1-9] | [1-9][0-9]*) ;;
  7718. + case $current in
  7719. + 0 | [1-9] | [1-9][0-9] | [1-9][0-9][0-9]) ;;
  7720. *)
  7721. $echo "$modename: CURRENT \`$current' is not a nonnegative integer" 1>&2
  7722. $echo "$modename: \`$vinfo' is not valid version information" 1>&2
  7723. @@ -1664,8 +2279,8 @@
  7724. ;;
  7725. esac
  7726. - case "$revision" in
  7727. - 0 | [1-9] | [1-9][0-9]*) ;;
  7728. + case $revision in
  7729. + 0 | [1-9] | [1-9][0-9] | [1-9][0-9][0-9]) ;;
  7730. *)
  7731. $echo "$modename: REVISION \`$revision' is not a nonnegative integer" 1>&2
  7732. $echo "$modename: \`$vinfo' is not valid version information" 1>&2
  7733. @@ -1673,8 +2288,8 @@
  7734. ;;
  7735. esac
  7736. - case "$age" in
  7737. - 0 | [1-9] | [1-9][0-9]*) ;;
  7738. + case $age in
  7739. + 0 | [1-9] | [1-9][0-9] | [1-9][0-9][0-9]) ;;
  7740. *)
  7741. $echo "$modename: AGE \`$age' is not a nonnegative integer" 1>&2
  7742. $echo "$modename: \`$vinfo' is not valid version information" 1>&2
  7743. @@ -1692,21 +2307,49 @@
  7744. major=
  7745. versuffix=
  7746. verstring=
  7747. - case "$version_type" in
  7748. + case $version_type in
  7749. none) ;;
  7750. - irix)
  7751. + darwin)
  7752. + # Like Linux, but with the current version available in
  7753. + # verstring for coding it into the library header
  7754. + major=.`expr $current - $age`
  7755. + versuffix="$major.$age.$revision"
  7756. + # Darwin ld doesn't like 0 for these options...
  7757. + minor_current=`expr $current + 1`
  7758. + verstring="-compatibility_version $minor_current -current_version $minor_current.$revision"
  7759. + ;;
  7760. +
  7761. + freebsd-aout)
  7762. + major=".$current"
  7763. + versuffix=".$current.$revision";
  7764. + ;;
  7765. +
  7766. + freebsd-elf)
  7767. + major=".$current"
  7768. + versuffix=".$current";
  7769. + ;;
  7770. +
  7771. + irix | nonstopux)
  7772. major=`expr $current - $age + 1`
  7773. - versuffix="$major.$revision"
  7774. - verstring="sgi$major.$revision"
  7775. +
  7776. + case $version_type in
  7777. + nonstopux) verstring_prefix=nonstopux ;;
  7778. + *) verstring_prefix=sgi ;;
  7779. + esac
  7780. + verstring="$verstring_prefix$major.$revision"
  7781. # Add in all the interfaces that we are compatible with.
  7782. loop=$revision
  7783. while test $loop != 0; do
  7784. iface=`expr $revision - $loop`
  7785. loop=`expr $loop - 1`
  7786. - verstring="sgi$major.$iface:$verstring"
  7787. + verstring="$verstring_prefix$major.$iface:$verstring"
  7788. done
  7789. +
  7790. + # Before this point, $major must not contain `.'.
  7791. + major=.$major
  7792. + versuffix="$major.$revision"
  7793. ;;
  7794. linux)
  7795. @@ -1715,7 +2358,7 @@
  7796. ;;
  7797. osf)
  7798. - major=`expr $current - $age`
  7799. + major=.`expr $current - $age`
  7800. versuffix=".$current.$age.$revision"
  7801. verstring="$current.$age.$revision"
  7802. @@ -1736,21 +2379,11 @@
  7803. versuffix=".$current.$revision"
  7804. ;;
  7805. - freebsd-aout)
  7806. - major=".$current"
  7807. - versuffix=".$current.$revision";
  7808. - ;;
  7809. -
  7810. - freebsd-elf)
  7811. - major=".$current"
  7812. - versuffix=".$current";
  7813. - ;;
  7814. -
  7815. windows)
  7816. - # Like Linux, but with '-' rather than '.', since we only
  7817. - # want one extension on Windows 95.
  7818. + # Use '-' rather than '.', since we only want one
  7819. + # extension on DOS 8.3 filesystems.
  7820. major=`expr $current - $age`
  7821. - versuffix="-$major-$age-$revision"
  7822. + versuffix="-$major"
  7823. ;;
  7824. *)
  7825. @@ -1764,6 +2397,16 @@
  7826. if test -z "$vinfo" && test -n "$release"; then
  7827. major=
  7828. verstring="0.0"
  7829. + case $version_type in
  7830. + darwin)
  7831. + # we can't check for "0.0" in archive_cmds due to quoting
  7832. + # problems, so we reset it completely
  7833. + verstring=""
  7834. + ;;
  7835. + *)
  7836. + verstring="0.0"
  7837. + ;;
  7838. + esac
  7839. if test "$need_version" = no; then
  7840. versuffix=
  7841. else
  7842. @@ -1777,7 +2420,7 @@
  7843. versuffix=
  7844. verstring=""
  7845. fi
  7846. -
  7847. +
  7848. # Check to see if the archive will have undefined symbols.
  7849. if test "$allow_undefined" = yes; then
  7850. if test "$allow_undefined_flag" = unsupported; then
  7851. @@ -1785,34 +2428,16 @@
  7852. build_libtool_libs=no
  7853. build_old_libs=yes
  7854. fi
  7855. - else
  7856. - # Don't allow undefined symbols.
  7857. - allow_undefined_flag="$no_undefined_flag"
  7858. - fi
  7859. -
  7860. - dependency_libs="$deplibs"
  7861. - case "$host" in
  7862. - *-*-cygwin* | *-*-mingw* | *-*-os2* | *-*-beos*)
  7863. - # these systems don't actually have a c library (as such)!
  7864. - ;;
  7865. - *)
  7866. - # Add libc to deplibs on all other systems.
  7867. - deplibs="$deplibs -lc"
  7868. - ;;
  7869. - esac
  7870. + else
  7871. + # Don't allow undefined symbols.
  7872. + allow_undefined_flag="$no_undefined_flag"
  7873. + fi
  7874. fi
  7875. - # Create the output directory, or remove our outputs if we need to.
  7876. - if test -d $output_objdir; then
  7877. + if test "$mode" != relink; then
  7878. + # Remove our outputs.
  7879. $show "${rm}r $output_objdir/$outputname $output_objdir/$libname.* $output_objdir/${libname}${release}.*"
  7880. $run ${rm}r $output_objdir/$outputname $output_objdir/$libname.* $output_objdir/${libname}${release}.*
  7881. - else
  7882. - $show "$mkdir $output_objdir"
  7883. - $run $mkdir $output_objdir
  7884. - status=$?
  7885. - if test $status -ne 0 && test ! -d $output_objdir; then
  7886. - exit $status
  7887. - fi
  7888. fi
  7889. # Now set the variables for building old libraries.
  7890. @@ -1823,7 +2448,73 @@
  7891. oldobjs="$objs "`$echo "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}'$/d' -e "$lo2o" | $NL2SP`
  7892. fi
  7893. + # Eliminate all temporary directories.
  7894. + for path in $notinst_path; do
  7895. + lib_search_path=`echo "$lib_search_path " | ${SED} -e 's% $path % %g'`
  7896. + deplibs=`echo "$deplibs " | ${SED} -e 's% -L$path % %g'`
  7897. + dependency_libs=`echo "$dependency_libs " | ${SED} -e 's% -L$path % %g'`
  7898. + done
  7899. +
  7900. + if test -n "$xrpath"; then
  7901. + # If the user specified any rpath flags, then add them.
  7902. + temp_xrpath=
  7903. + for libdir in $xrpath; do
  7904. + temp_xrpath="$temp_xrpath -R$libdir"
  7905. + case "$finalize_rpath " in
  7906. + *" $libdir "*) ;;
  7907. + *) finalize_rpath="$finalize_rpath $libdir" ;;
  7908. + esac
  7909. + done
  7910. + if test $hardcode_into_libs != yes || test $build_old_libs = yes; then
  7911. + dependency_libs="$temp_xrpath $dependency_libs"
  7912. + fi
  7913. + fi
  7914. +
  7915. + # Make sure dlfiles contains only unique files that won't be dlpreopened
  7916. + old_dlfiles="$dlfiles"
  7917. + dlfiles=
  7918. + for lib in $old_dlfiles; do
  7919. + case " $dlprefiles $dlfiles " in
  7920. + *" $lib "*) ;;
  7921. + *) dlfiles="$dlfiles $lib" ;;
  7922. + esac
  7923. + done
  7924. +
  7925. + # Make sure dlprefiles contains only unique files
  7926. + old_dlprefiles="$dlprefiles"
  7927. + dlprefiles=
  7928. + for lib in $old_dlprefiles; do
  7929. + case "$dlprefiles " in
  7930. + *" $lib "*) ;;
  7931. + *) dlprefiles="$dlprefiles $lib" ;;
  7932. + esac
  7933. + done
  7934. +
  7935. if test "$build_libtool_libs" = yes; then
  7936. + if test -n "$rpath"; then
  7937. + case $host in
  7938. + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos*)
  7939. + # these systems don't actually have a c library (as such)!
  7940. + ;;
  7941. + *-*-rhapsody* | *-*-darwin1.[012])
  7942. + # Rhapsody C library is in the System framework
  7943. + deplibs="$deplibs -framework System"
  7944. + ;;
  7945. + *-*-netbsd*)
  7946. + # Don't link with libc until the a.out ld.so is fixed.
  7947. + ;;
  7948. + *-*-openbsd* | *-*-freebsd*)
  7949. + # Do not include libc due to us having libc/libc_r.
  7950. + ;;
  7951. + *)
  7952. + # Add libc to deplibs on all other systems if necessary.
  7953. + if test $build_libtool_need_lc = "yes"; then
  7954. + deplibs="$deplibs -lc"
  7955. + fi
  7956. + ;;
  7957. + esac
  7958. + fi
  7959. +
  7960. # Transform deplibs into only deplibs that can be linked in shared.
  7961. name_save=$name
  7962. libname_save=$libname
  7963. @@ -1838,7 +2529,7 @@
  7964. major=""
  7965. newdeplibs=
  7966. droppeddeps=no
  7967. - case "$deplibs_check_method" in
  7968. + case $deplibs_check_method in
  7969. pass_all)
  7970. # Don't check for shared/static. Everything works.
  7971. # This might be a little naive. We might want to check
  7972. @@ -1863,7 +2554,7 @@
  7973. for i in $deplibs; do
  7974. name="`expr $i : '-l\(.*\)'`"
  7975. # If $name is empty we are operating on a -L argument.
  7976. - if test "$name" != "" ; then
  7977. + if test -n "$name" && test "$name" != "0"; then
  7978. libname=`eval \\$echo \"$libname_spec\"`
  7979. deplib_matches=`eval \\$echo \"$library_names_spec\"`
  7980. set dummy $deplib_matches
  7981. @@ -1873,22 +2564,24 @@
  7982. else
  7983. droppeddeps=yes
  7984. echo
  7985. - echo "*** Warning: This library needs some functionality provided by $i."
  7986. + echo "*** Warning: dynamic linker does not accept needed library $i."
  7987. echo "*** I have the capability to make that library automatically link in when"
  7988. echo "*** you link to this library. But I can only do this if you have a"
  7989. - echo "*** shared version of the library, which you do not appear to have."
  7990. + echo "*** shared version of the library, which I believe you do not have"
  7991. + echo "*** because a test_compile did reveal that the linker did not use it for"
  7992. + echo "*** its dynamic dependency list that programs get resolved with at runtime."
  7993. fi
  7994. else
  7995. newdeplibs="$newdeplibs $i"
  7996. fi
  7997. done
  7998. else
  7999. - # Error occured in the first compile. Let's try to salvage the situation:
  8000. - # Compile a seperate program for each library.
  8001. + # Error occured in the first compile. Let's try to salvage
  8002. + # the situation: Compile a separate program for each library.
  8003. for i in $deplibs; do
  8004. name="`expr $i : '-l\(.*\)'`"
  8005. # If $name is empty we are operating on a -L argument.
  8006. - if test "$name" != "" ; then
  8007. + if test -n "$name" && test "$name" != "0"; then
  8008. $rm conftest
  8009. $CC -o conftest conftest.c $i
  8010. # Did it work?
  8011. @@ -1903,10 +2596,12 @@
  8012. else
  8013. droppeddeps=yes
  8014. echo
  8015. - echo "*** Warning: This library needs some functionality provided by $i."
  8016. + echo "*** Warning: dynamic linker does not accept needed library $i."
  8017. echo "*** I have the capability to make that library automatically link in when"
  8018. echo "*** you link to this library. But I can only do this if you have a"
  8019. - echo "*** shared version of the library, which you do not appear to have."
  8020. + echo "*** shared version of the library, which you do not appear to have"
  8021. + echo "*** because a test_compile did reveal that the linker did not use this one"
  8022. + echo "*** as a dynamic dependency that programs can get resolved with at runtime."
  8023. fi
  8024. else
  8025. droppeddeps=yes
  8026. @@ -1924,19 +2619,19 @@
  8027. ;;
  8028. file_magic*)
  8029. set dummy $deplibs_check_method
  8030. - file_magic_regex="`expr \"$deplibs_check_method\" : \"$2 \(.*\)\"`"
  8031. + file_magic_regex=`expr "$deplibs_check_method" : "$2 \(.*\)"`
  8032. for a_deplib in $deplibs; do
  8033. name="`expr $a_deplib : '-l\(.*\)'`"
  8034. # If $name is empty we are operating on a -L argument.
  8035. - if test "$name" != "" ; then
  8036. + if test -n "$name" && test "$name" != "0"; then
  8037. libname=`eval \\$echo \"$libname_spec\"`
  8038. - for i in $lib_search_path; do
  8039. + for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do
  8040. potential_libs=`ls $i/$libname[.-]* 2>/dev/null`
  8041. for potent_lib in $potential_libs; do
  8042. # Follow soft links.
  8043. if ls -lLd "$potent_lib" 2>/dev/null \
  8044. | grep " -> " >/dev/null; then
  8045. - continue
  8046. + continue
  8047. fi
  8048. # The statement above tries to avoid entering an
  8049. # endless loop below, in case of cyclic links.
  8050. @@ -1945,14 +2640,14 @@
  8051. # but so what?
  8052. potlib="$potent_lib"
  8053. while test -h "$potlib" 2>/dev/null; do
  8054. - potliblink=`ls -ld $potlib | sed 's/.* -> //'`
  8055. - case "$potliblink" in
  8056. + potliblink=`ls -ld $potlib | ${SED} 's/.* -> //'`
  8057. + case $potliblink in
  8058. [\\/]* | [A-Za-z]:[\\/]*) potlib="$potliblink";;
  8059. *) potlib=`$echo "X$potlib" | $Xsed -e 's,[^/]*$,,'`"$potliblink";;
  8060. esac
  8061. done
  8062. if eval $file_magic_cmd \"\$potlib\" 2>/dev/null \
  8063. - | sed 10q \
  8064. + | ${SED} 10q \
  8065. | egrep "$file_magic_regex" > /dev/null; then
  8066. newdeplibs="$newdeplibs $a_deplib"
  8067. a_deplib=""
  8068. @@ -1963,10 +2658,59 @@
  8069. if test -n "$a_deplib" ; then
  8070. droppeddeps=yes
  8071. echo
  8072. - echo "*** Warning: This library needs some functionality provided by $a_deplib."
  8073. + echo "*** Warning: linker path does not have real file for library $a_deplib."
  8074. + echo "*** I have the capability to make that library automatically link in when"
  8075. + echo "*** you link to this library. But I can only do this if you have a"
  8076. + echo "*** shared version of the library, which you do not appear to have"
  8077. + echo "*** because I did check the linker path looking for a file starting"
  8078. + if test -z "$potlib" ; then
  8079. + echo "*** with $libname but no candidates were found. (...for file magic test)"
  8080. + else
  8081. + echo "*** with $libname and none of the candidates passed a file format test"
  8082. + echo "*** using a file magic. Last file checked: $potlib"
  8083. + fi
  8084. + fi
  8085. + else
  8086. + # Add a -L argument.
  8087. + newdeplibs="$newdeplibs $a_deplib"
  8088. + fi
  8089. + done # Gone through all deplibs.
  8090. + ;;
  8091. + match_pattern*)
  8092. + set dummy $deplibs_check_method
  8093. + match_pattern_regex=`expr "$deplibs_check_method" : "$2 \(.*\)"`
  8094. + for a_deplib in $deplibs; do
  8095. + name="`expr $a_deplib : '-l\(.*\)'`"
  8096. + # If $name is empty we are operating on a -L argument.
  8097. + if test -n "$name" && test "$name" != "0"; then
  8098. + libname=`eval \\$echo \"$libname_spec\"`
  8099. + for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do
  8100. + potential_libs=`ls $i/$libname[.-]* 2>/dev/null`
  8101. + for potent_lib in $potential_libs; do
  8102. + potlib="$potent_lib" # see symlink-check below in file_magic test
  8103. + if eval echo \"$potent_lib\" 2>/dev/null \
  8104. + | ${SED} 10q \
  8105. + | egrep "$match_pattern_regex" > /dev/null; then
  8106. + newdeplibs="$newdeplibs $a_deplib"
  8107. + a_deplib=""
  8108. + break 2
  8109. + fi
  8110. + done
  8111. + done
  8112. + if test -n "$a_deplib" ; then
  8113. + droppeddeps=yes
  8114. + echo
  8115. + echo "*** Warning: linker path does not have real file for library $a_deplib."
  8116. echo "*** I have the capability to make that library automatically link in when"
  8117. echo "*** you link to this library. But I can only do this if you have a"
  8118. - echo "*** shared version of the library, which you do not appear to have."
  8119. + echo "*** shared version of the library, which you do not appear to have"
  8120. + echo "*** because I did check the linker path looking for a file starting"
  8121. + if test -z "$potlib" ; then
  8122. + echo "*** with $libname but no candidates were found. (...for regex pattern test)"
  8123. + else
  8124. + echo "*** with $libname and none of the candidates passed a file format test"
  8125. + echo "*** using a regex pattern. Last file checked: $potlib"
  8126. + fi
  8127. fi
  8128. else
  8129. # Add a -L argument.
  8130. @@ -1996,6 +2740,13 @@
  8131. libname=$libname_save
  8132. name=$name_save
  8133. + case $host in
  8134. + *-*-rhapsody* | *-*-darwin1.[012])
  8135. + # On Rhapsody replace the C library is the System framework
  8136. + newdeplibs=`$echo "X $newdeplibs" | $Xsed -e 's/ -lc / -framework System /'`
  8137. + ;;
  8138. + esac
  8139. +
  8140. if test "$droppeddeps" = yes; then
  8141. if test "$module" = yes; then
  8142. echo
  8143. @@ -2021,6 +2772,21 @@
  8144. echo "*** The inter-library dependencies that have been dropped here will be"
  8145. echo "*** automatically added whenever a program is linked with this library"
  8146. echo "*** or is declared to -dlopen it."
  8147. +
  8148. + if test $allow_undefined = no; then
  8149. + echo
  8150. + echo "*** Since this library must not contain undefined symbols,"
  8151. + echo "*** because either the platform does not support them or"
  8152. + echo "*** it was explicitly requested with -no-undefined,"
  8153. + echo "*** libtool will only create a static version of it."
  8154. + if test "$build_old_libs" = no; then
  8155. + oldlibs="$output_objdir/$libname.$libext"
  8156. + build_libtool_libs=module
  8157. + build_old_libs=yes
  8158. + else
  8159. + build_libtool_libs=no
  8160. + fi
  8161. + fi
  8162. fi
  8163. fi
  8164. # Done checking deplibs!
  8165. @@ -2031,9 +2797,64 @@
  8166. library_names=
  8167. old_library=
  8168. dlname=
  8169. -
  8170. +
  8171. # Test again, we may have decided not to build it any more
  8172. if test "$build_libtool_libs" = yes; then
  8173. + if test $hardcode_into_libs = yes; then
  8174. + # Hardcode the library paths
  8175. + hardcode_libdirs=
  8176. + dep_rpath=
  8177. + rpath="$finalize_rpath"
  8178. + test "$mode" != relink && rpath="$compile_rpath$rpath"
  8179. + for libdir in $rpath; do
  8180. + if test -n "$hardcode_libdir_flag_spec"; then
  8181. + if test -n "$hardcode_libdir_separator"; then
  8182. + if test -z "$hardcode_libdirs"; then
  8183. + hardcode_libdirs="$libdir"
  8184. + else
  8185. + # Just accumulate the unique libdirs.
  8186. + case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in
  8187. + *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
  8188. + ;;
  8189. + *)
  8190. + hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir"
  8191. + ;;
  8192. + esac
  8193. + fi
  8194. + else
  8195. + eval flag=\"$hardcode_libdir_flag_spec\"
  8196. + dep_rpath="$dep_rpath $flag"
  8197. + fi
  8198. + elif test -n "$runpath_var"; then
  8199. + case "$perm_rpath " in
  8200. + *" $libdir "*) ;;
  8201. + *) perm_rpath="$perm_rpath $libdir" ;;
  8202. + esac
  8203. + fi
  8204. + done
  8205. + # Substitute the hardcoded libdirs into the rpath.
  8206. + if test -n "$hardcode_libdir_separator" &&
  8207. + test -n "$hardcode_libdirs"; then
  8208. + libdir="$hardcode_libdirs"
  8209. + eval dep_rpath=\"$hardcode_libdir_flag_spec\"
  8210. + fi
  8211. + if test -n "$runpath_var" && test -n "$perm_rpath"; then
  8212. + # We should set the runpath_var.
  8213. + rpath=
  8214. + for dir in $perm_rpath; do
  8215. + rpath="$rpath$dir:"
  8216. + done
  8217. + eval "$runpath_var='$rpath\$$runpath_var'; export $runpath_var"
  8218. + fi
  8219. + test -n "$dep_rpath" && deplibs="$dep_rpath $deplibs"
  8220. + fi
  8221. +
  8222. + shlibpath="$finalize_shlibpath"
  8223. + test "$mode" != relink && shlibpath="$compile_shlibpath$shlibpath"
  8224. + if test -n "$shlibpath"; then
  8225. + eval "$shlibpath_var='$shlibpath\$$shlibpath_var'; export $shlibpath_var"
  8226. + fi
  8227. +
  8228. # Get the real and link names of the library.
  8229. eval library_names=\"$library_names_spec\"
  8230. set dummy $library_names
  8231. @@ -2045,6 +2866,7 @@
  8232. else
  8233. soname="$realname"
  8234. fi
  8235. + test -z "$dlname" && dlname=$soname
  8236. lib="$output_objdir/$realname"
  8237. for link
  8238. @@ -2079,7 +2901,7 @@
  8239. export_symbols="$output_objdir/$libname.exp"
  8240. $run $rm $export_symbols
  8241. eval cmds=\"$export_symbols_cmds\"
  8242. - IFS="${IFS= }"; save_ifs="$IFS"; IFS='~'
  8243. + save_ifs="$IFS"; IFS='~'
  8244. for cmd in $cmds; do
  8245. IFS="$save_ifs"
  8246. $show "$cmd"
  8247. @@ -2116,7 +2938,7 @@
  8248. for xlib in $convenience; do
  8249. # Extract the objects.
  8250. - case "$xlib" in
  8251. + case $xlib in
  8252. [\\/]* | [A-Za-z]:[\\/]*) xabs="$xlib" ;;
  8253. *) xabs=`pwd`"/$xlib" ;;
  8254. esac
  8255. @@ -2141,16 +2963,32 @@
  8256. if test "$thread_safe" = yes && test -n "$thread_safe_flag_spec"; then
  8257. eval flag=\"$thread_safe_flag_spec\"
  8258. - linkopts="$linkopts $flag"
  8259. + linker_flags="$linker_flags $flag"
  8260. + fi
  8261. +
  8262. + # Make a backup of the uninstalled library when relinking
  8263. + if test "$mode" = relink; then
  8264. + $run eval '(cd $output_objdir && $rm ${realname}U && $mv $realname ${realname}U)' || exit $?
  8265. fi
  8266. # Do each of the archive commands.
  8267. if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then
  8268. eval cmds=\"$archive_expsym_cmds\"
  8269. else
  8270. + save_deplibs="$deplibs"
  8271. + for conv in $convenience; do
  8272. + tmp_deplibs=
  8273. + for test_deplib in $deplibs; do
  8274. + if test "$test_deplib" != "$conv"; then
  8275. + tmp_deplibs="$tmp_deplibs $test_deplib"
  8276. + fi
  8277. + done
  8278. + deplibs="$tmp_deplibs"
  8279. + done
  8280. eval cmds=\"$archive_cmds\"
  8281. + deplibs="$save_deplibs"
  8282. fi
  8283. - IFS="${IFS= }"; save_ifs="$IFS"; IFS='~'
  8284. + save_ifs="$IFS"; IFS='~'
  8285. for cmd in $cmds; do
  8286. IFS="$save_ifs"
  8287. $show "$cmd"
  8288. @@ -2158,6 +2996,12 @@
  8289. done
  8290. IFS="$save_ifs"
  8291. + # Restore the uninstalled library and exit
  8292. + if test "$mode" = relink; then
  8293. + $run eval '(cd $output_objdir && $rm ${realname}T && $mv $realname ${realname}T && $mv "$realname"U $realname)' || exit $?
  8294. + exit 0
  8295. + fi
  8296. +
  8297. # Create links to the real library.
  8298. for linkname in $linknames; do
  8299. if test "$realname" != "$linkname"; then
  8300. @@ -2174,12 +3018,7 @@
  8301. fi
  8302. ;;
  8303. - *.lo | *.o | *.obj)
  8304. - if test -n "$link_against_libtool_libs"; then
  8305. - $echo "$modename: error: cannot link libtool libraries into objects" 1>&2
  8306. - exit 1
  8307. - fi
  8308. -
  8309. + obj)
  8310. if test -n "$deplibs"; then
  8311. $echo "$modename: warning: \`-l' and \`-L' are ignored for objects" 1>&2
  8312. fi
  8313. @@ -2204,9 +3043,9 @@
  8314. $echo "$modename: warning: \`-release' is ignored for objects" 1>&2
  8315. fi
  8316. - case "$output" in
  8317. + case $output in
  8318. *.lo)
  8319. - if test -n "$objs"; then
  8320. + if test -n "$objs$old_deplibs"; then
  8321. $echo "$modename: cannot build library object \`$output' from non-libtool objects" 1>&2
  8322. exit 1
  8323. fi
  8324. @@ -2230,7 +3069,7 @@
  8325. gentop=
  8326. # reload_cmds runs $LD directly, so let us get rid of
  8327. # -Wl from whole_archive_flag_spec
  8328. - wl=
  8329. + wl=
  8330. if test -n "$convenience"; then
  8331. if test -n "$whole_archive_flag_spec"; then
  8332. @@ -2249,7 +3088,7 @@
  8333. for xlib in $convenience; do
  8334. # Extract the objects.
  8335. - case "$xlib" in
  8336. + case $xlib in
  8337. [\\/]* | [A-Za-z]:[\\/]*) xabs="$xlib" ;;
  8338. *) xabs=`pwd`"/$xlib" ;;
  8339. esac
  8340. @@ -2273,11 +3112,11 @@
  8341. fi
  8342. # Create the old-style object.
  8343. - reload_objs="$objs "`$echo "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}$'/d' -e '/\.lib$/d' -e "$lo2o" | $NL2SP`" $reload_conv_objs"
  8344. + 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
  8345. output="$obj"
  8346. eval cmds=\"$reload_cmds\"
  8347. - IFS="${IFS= }"; save_ifs="$IFS"; IFS='~'
  8348. + save_ifs="$IFS"; IFS='~'
  8349. for cmd in $cmds; do
  8350. IFS="$save_ifs"
  8351. $show "$cmd"
  8352. @@ -2308,12 +3147,12 @@
  8353. exit 0
  8354. fi
  8355. - if test -n "$pic_flag"; then
  8356. + if test -n "$pic_flag" || test "$pic_mode" != default; then
  8357. # Only do commands if we really have different PIC objects.
  8358. reload_objs="$libobjs $reload_conv_objs"
  8359. output="$libobj"
  8360. eval cmds=\"$reload_cmds\"
  8361. - IFS="${IFS= }"; save_ifs="$IFS"; IFS='~'
  8362. + save_ifs="$IFS"; IFS='~'
  8363. for cmd in $cmds; do
  8364. IFS="$save_ifs"
  8365. $show "$cmd"
  8366. @@ -2344,8 +3183,10 @@
  8367. exit 0
  8368. ;;
  8369. - # Anything else should be a program.
  8370. - *)
  8371. + prog)
  8372. + case $host in
  8373. + *cygwin*) output=`echo $output | ${SED} -e 's,.exe$,,;s,$,.exe,'` ;;
  8374. + esac
  8375. if test -n "$vinfo"; then
  8376. $echo "$modename: warning: \`-version-info' is ignored for programs" 1>&2
  8377. fi
  8378. @@ -2355,20 +3196,34 @@
  8379. fi
  8380. if test "$preload" = yes; then
  8381. - if test "$dlopen" = unknown && test "$dlopen_self" = unknown &&
  8382. + if test "$dlopen_support" = unknown && test "$dlopen_self" = unknown &&
  8383. test "$dlopen_self_static" = unknown; then
  8384. $echo "$modename: warning: \`AC_LIBTOOL_DLOPEN' not used. Assuming no dlopen support."
  8385. - fi
  8386. + fi
  8387. fi
  8388. -
  8389. +
  8390. + case $host in
  8391. + *-*-rhapsody* | *-*-darwin1.[012])
  8392. + # On Rhapsody replace the C library is the System framework
  8393. + compile_deplibs=`$echo "X $compile_deplibs" | $Xsed -e 's/ -lc / -framework System /'`
  8394. + finalize_deplibs=`$echo "X $finalize_deplibs" | $Xsed -e 's/ -lc / -framework System /'`
  8395. + case $host in
  8396. + *darwin*)
  8397. + # Don't allow lazy linking, it breaks C++ global constructors
  8398. + compile_command="$compile_command ${wl}-bind_at_load"
  8399. + finalize_command="$finalize_command ${wl}-bind_at_load"
  8400. + ;;
  8401. + esac
  8402. + ;;
  8403. + esac
  8404. +
  8405. + compile_command="$compile_command $compile_deplibs"
  8406. + finalize_command="$finalize_command $finalize_deplibs"
  8407. +
  8408. if test -n "$rpath$xrpath"; then
  8409. # If the user specified any rpath flags, then add them.
  8410. for libdir in $rpath $xrpath; do
  8411. # This is the magic to use -rpath.
  8412. - case "$compile_rpath " in
  8413. - *" $libdir "*) ;;
  8414. - *) compile_rpath="$compile_rpath $libdir" ;;
  8415. - esac
  8416. case "$finalize_rpath " in
  8417. *" $libdir "*) ;;
  8418. *) finalize_rpath="$finalize_rpath $libdir" ;;
  8419. @@ -2386,7 +3241,7 @@
  8420. hardcode_libdirs="$libdir"
  8421. else
  8422. # Just accumulate the unique libdirs.
  8423. - case "$hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator" in
  8424. + case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in
  8425. *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
  8426. ;;
  8427. *)
  8428. @@ -2404,6 +3259,14 @@
  8429. *) perm_rpath="$perm_rpath $libdir" ;;
  8430. esac
  8431. fi
  8432. + case $host in
  8433. + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
  8434. + case :$dllsearchpath: in
  8435. + *":$libdir:"*) ;;
  8436. + *) dllsearchpath="$dllsearchpath:$libdir";;
  8437. + esac
  8438. + ;;
  8439. + esac
  8440. done
  8441. # Substitute the hardcoded libdirs into the rpath.
  8442. if test -n "$hardcode_libdir_separator" &&
  8443. @@ -2422,7 +3285,7 @@
  8444. hardcode_libdirs="$libdir"
  8445. else
  8446. # Just accumulate the unique libdirs.
  8447. - case "$hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator" in
  8448. + case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in
  8449. *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
  8450. ;;
  8451. *)
  8452. @@ -2449,23 +3312,6 @@
  8453. fi
  8454. finalize_rpath="$rpath"
  8455. - output_objdir=`$echo "X$output" | $Xsed -e 's%/[^/]*$%%'`
  8456. - if test "X$output_objdir" = "X$output"; then
  8457. - output_objdir="$objdir"
  8458. - else
  8459. - output_objdir="$output_objdir/$objdir"
  8460. - fi
  8461. -
  8462. - # Create the binary in the object directory, then wrap it.
  8463. - if test ! -d $output_objdir; then
  8464. - $show "$mkdir $output_objdir"
  8465. - $run $mkdir $output_objdir
  8466. - status=$?
  8467. - if test $status -ne 0 && test ! -d $output_objdir; then
  8468. - exit $status
  8469. - fi
  8470. - fi
  8471. -
  8472. if test -n "$libobjs" && test "$build_old_libs" = yes; then
  8473. # Transform all the library objects into standard objects.
  8474. compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
  8475. @@ -2482,7 +3328,7 @@
  8476. fi
  8477. if test -n "$dlsyms"; then
  8478. - case "$dlsyms" in
  8479. + case $dlsyms in
  8480. "") ;;
  8481. *.c)
  8482. # Discover the nlist of each of the dlfiles.
  8483. @@ -2514,7 +3360,7 @@
  8484. test -z "$run" && $echo ': @PROGRAM@ ' > "$nlist"
  8485. # Add our own program objects to the symbol list.
  8486. - progfiles=`$echo "X$objs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
  8487. + progfiles=`$echo "X$objs$old_deplibs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
  8488. for arg in $progfiles; do
  8489. $show "extracting global C symbols from \`$arg'"
  8490. $run eval "$NM $arg | $global_symbol_pipe >> '$nlist'"
  8491. @@ -2524,7 +3370,7 @@
  8492. $run eval 'egrep -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T'
  8493. $run eval '$mv "$nlist"T "$nlist"'
  8494. fi
  8495. -
  8496. +
  8497. if test -n "$export_symbols_regex"; then
  8498. $run eval 'egrep -e "$export_symbols_regex" "$nlist" > "$nlist"T'
  8499. $run eval '$mv "$nlist"T "$nlist"'
  8500. @@ -2534,9 +3380,9 @@
  8501. if test -z "$export_symbols"; then
  8502. export_symbols="$output_objdir/$output.exp"
  8503. $run $rm $export_symbols
  8504. - $run eval "sed -n -e '/^: @PROGRAM@$/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"'
  8505. + $run eval "${SED} -n -e '/^: @PROGRAM@$/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"'
  8506. else
  8507. - $run eval "sed -e 's/\([][.*^$]\)/\\\1/g' -e 's/^/ /' -e 's/$/$/'"' < "$export_symbols" > "$output_objdir/$output.exp"'
  8508. + $run eval "${SED} -e 's/\([][.*^$]\)/\\\1/g' -e 's/^/ /' -e 's/$/$/'"' < "$export_symbols" > "$output_objdir/$output.exp"'
  8509. $run eval 'grep -f "$output_objdir/$output.exp" < "$nlist" > "$nlist"T'
  8510. $run eval 'mv "$nlist"T "$nlist"'
  8511. fi
  8512. @@ -2544,7 +3390,7 @@
  8513. for arg in $dlprefiles; do
  8514. $show "extracting global C symbols from \`$arg'"
  8515. - name=`echo "$arg" | sed -e 's%^.*/%%'`
  8516. + name=`echo "$arg" | ${SED} -e 's%^.*/%%'`
  8517. $run eval 'echo ": $name " >> "$nlist"'
  8518. $run eval "$NM $arg | $global_symbol_pipe >> '$nlist'"
  8519. done
  8520. @@ -2559,7 +3405,13 @@
  8521. fi
  8522. # Try sorting and uniquifying the output.
  8523. - if grep -v "^: " < "$nlist" | sort +2 | uniq > "$nlist"S; then
  8524. + if grep -v "^: " < "$nlist" |
  8525. + if sort -k 3 </dev/null >/dev/null 2>&1; then
  8526. + sort -k 3
  8527. + else
  8528. + sort +2
  8529. + fi |
  8530. + uniq > "$nlist"S; then
  8531. :
  8532. else
  8533. grep -v "^: " < "$nlist" > "$nlist"S
  8534. @@ -2576,27 +3428,25 @@
  8535. #undef lt_preloaded_symbols
  8536. #if defined (__STDC__) && __STDC__
  8537. -# define lt_ptr_t void *
  8538. +# define lt_ptr void *
  8539. #else
  8540. -# define lt_ptr_t char *
  8541. +# define lt_ptr char *
  8542. # define const
  8543. #endif
  8544. /* The mapping between symbol names and symbols. */
  8545. const struct {
  8546. const char *name;
  8547. - lt_ptr_t address;
  8548. + lt_ptr address;
  8549. }
  8550. lt_preloaded_symbols[] =
  8551. {\
  8552. "
  8553. - sed -n -e 's/^: \([^ ]*\) $/ {\"\1\", (lt_ptr_t) 0},/p' \
  8554. - -e 's/^. \([^ ]*\) \([^ ]*\)$/ {"\2", (lt_ptr_t) \&\2},/p' \
  8555. - < "$nlist" >> "$output_objdir/$dlsyms"
  8556. + eval "$global_symbol_to_c_name_address" < "$nlist" >> "$output_objdir/$dlsyms"
  8557. $echo >> "$output_objdir/$dlsyms" "\
  8558. - {0, (lt_ptr_t) 0}
  8559. + {0, (lt_ptr) 0}
  8560. };
  8561. /* This works around a problem in FreeBSD linker */
  8562. @@ -2613,13 +3463,13 @@
  8563. fi
  8564. pic_flag_for_symtable=
  8565. - case "$host" in
  8566. + case $host in
  8567. # compiling the symbol table file with pic_flag works around
  8568. # a FreeBSD bug that causes programs to crash when -lm is
  8569. # linked before any other PIC object. But we must not use
  8570. # pic_flag when linking with -static. The problem exists in
  8571. # FreeBSD 2.2.6 and is fixed in FreeBSD 3.1.
  8572. - *-*-freebsd2*|*-*-freebsd3.0*|*-*-freebsdelf3.0*)
  8573. + *-*-freebsd2*|*-*-freebsd3.0*|*-*-freebsdelf3.0*)
  8574. case "$compile_command " in
  8575. *" -static "*) ;;
  8576. *) pic_flag_for_symtable=" $pic_flag -DPIC -DFREEBSD_WORKAROUND";;
  8577. @@ -2658,7 +3508,7 @@
  8578. finalize_command=`$echo "X$finalize_command" | $Xsed -e "s% @SYMFILE@%%"`
  8579. fi
  8580. - if test -z "$link_against_libtool_libs" || test "$build_libtool_libs" != yes; then
  8581. + if test $need_relink = no || test "$build_libtool_libs" != yes; then
  8582. # Replace the output file specification.
  8583. compile_command=`$echo "X$compile_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'`
  8584. link_command="$compile_command$compile_rpath"
  8585. @@ -2667,7 +3517,7 @@
  8586. $show "$link_command"
  8587. $run eval "$link_command"
  8588. status=$?
  8589. -
  8590. +
  8591. # Delete the generated files.
  8592. if test -n "$dlsyms"; then
  8593. $show "$rm $output_objdir/${outputname}S.${objext}"
  8594. @@ -2681,7 +3531,7 @@
  8595. # We should set the shlibpath_var
  8596. rpath=
  8597. for dir in $temp_rpath; do
  8598. - case "$dir" in
  8599. + case $dir in
  8600. [\\/]* | [A-Za-z]:[\\/]*)
  8601. # Absolute path.
  8602. rpath="$rpath$dir:"
  8603. @@ -2723,11 +3573,24 @@
  8604. fi
  8605. fi
  8606. + if test "$no_install" = yes; then
  8607. + # We don't need to create a wrapper script.
  8608. + link_command="$compile_var$compile_command$compile_rpath"
  8609. + # Replace the output file specification.
  8610. + link_command=`$echo "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'`
  8611. + # Delete the old output file.
  8612. + $run $rm $output
  8613. + # Link the executable and exit
  8614. + $show "$link_command"
  8615. + $run eval "$link_command" || exit $?
  8616. + exit 0
  8617. + fi
  8618. +
  8619. if test "$hardcode_action" = relink; then
  8620. # Fast installation is not supported
  8621. link_command="$compile_var$compile_command$compile_rpath"
  8622. relink_command="$finalize_var$finalize_command$finalize_rpath"
  8623. -
  8624. +
  8625. $echo "$modename: warning: this platform does not like uninstalled shared libraries" 1>&2
  8626. $echo "$modename: \`$output' will be relinked during installation" 1>&2
  8627. else
  8628. @@ -2747,7 +3610,7 @@
  8629. # Replace the output file specification.
  8630. link_command=`$echo "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output_objdir/$outputname"'%g'`
  8631. -
  8632. +
  8633. # Delete the old output files.
  8634. $run $rm $output $output_objdir/$outputname $output_objdir/lt-$outputname
  8635. @@ -2759,12 +3622,24 @@
  8636. # Quote the relink command for shipping.
  8637. if test -n "$relink_command"; then
  8638. + # Preserve any variables that may affect compiler behavior
  8639. + for var in $variables_saved_for_relink; do
  8640. + if eval test -z \"\${$var+set}\"; then
  8641. + relink_command="{ test -z \"\${$var+set}\" || unset $var || { $var=; export $var; }; }; $relink_command"
  8642. + elif eval var_value=\$$var; test -z "$var_value"; then
  8643. + relink_command="$var=; export $var; $relink_command"
  8644. + else
  8645. + var_value=`$echo "X$var_value" | $Xsed -e "$sed_quote_subst"`
  8646. + relink_command="$var=\"$var_value\"; export $var; $relink_command"
  8647. + fi
  8648. + done
  8649. + relink_command="(cd `pwd`; $relink_command)"
  8650. relink_command=`$echo "X$relink_command" | $Xsed -e "$sed_quote_subst"`
  8651. fi
  8652. # Quote $echo for shipping.
  8653. if test "X$echo" = "X$SHELL $0 --fallback-echo"; then
  8654. - case "$0" in
  8655. + case $0 in
  8656. [\\/]* | [A-Za-z]:[\\/]*) qecho="$SHELL $0 --fallback-echo";;
  8657. *) qecho="$SHELL `pwd`/$0 --fallback-echo";;
  8658. esac
  8659. @@ -2778,7 +3653,12 @@
  8660. # win32 will think the script is a binary if it has
  8661. # a .exe suffix, so we strip it off here.
  8662. case $output in
  8663. - *.exe) output=`echo $output|sed 's,.exe$,,'` ;;
  8664. + *.exe) output=`echo $output|${SED} 's,.exe$,,'` ;;
  8665. + esac
  8666. + # test for cygwin because mv fails w/o .exe extensions
  8667. + case $host in
  8668. + *cygwin*) exeext=.exe ;;
  8669. + *) exeext= ;;
  8670. esac
  8671. $rm $output
  8672. trap "$rm $output; exit 1" 1 2 15
  8673. @@ -2797,7 +3677,7 @@
  8674. # Sed substitution that helps us do robust quoting. It backslashifies
  8675. # metacharacters that are still active within double-quoted strings.
  8676. -Xsed='sed -e 1s/^X//'
  8677. +Xsed="${SED}"' -e 1s/^X//'
  8678. sed_quote_subst='$sed_quote_subst'
  8679. # The HP-UX ksh and POSIX shell print the target directory to stdout
  8680. @@ -2809,7 +3689,7 @@
  8681. # This environment variable determines our operation mode.
  8682. if test \"\$libtool_install_magic\" = \"$magic\"; then
  8683. # install mode needs the following variable:
  8684. - link_against_libtool_libs='$link_against_libtool_libs'
  8685. + notinst_deplibs='$notinst_deplibs'
  8686. else
  8687. # When we are sourced in execute mode, \$file and \$echo are already set.
  8688. if test \"\$libtool_execute_magic\" != \"$magic\"; then
  8689. @@ -2835,20 +3715,20 @@
  8690. test \"x\$thisdir\" = \"x\$file\" && thisdir=.
  8691. # Follow symbolic links until we get to the real thisdir.
  8692. - file=\`ls -ld \"\$file\" | sed -n 's/.*-> //p'\`
  8693. + file=\`ls -ld \"\$file\" | ${SED} -n 's/.*-> //p'\`
  8694. while test -n \"\$file\"; do
  8695. destdir=\`\$echo \"X\$file\" | \$Xsed -e 's%/[^/]*\$%%'\`
  8696. # If there was a directory component, then change thisdir.
  8697. if test \"x\$destdir\" != \"x\$file\"; then
  8698. case \"\$destdir\" in
  8699. - [\\/]* | [A-Za-z]:[\\/]*) thisdir=\"\$destdir\" ;;
  8700. + [\\\\/]* | [A-Za-z]:[\\\\/]*) thisdir=\"\$destdir\" ;;
  8701. *) thisdir=\"\$thisdir/\$destdir\" ;;
  8702. esac
  8703. fi
  8704. file=\`\$echo \"X\$file\" | \$Xsed -e 's%^.*/%%'\`
  8705. - file=\`ls -ld \"\$thisdir/\$file\" | sed -n 's/.*-> //p'\`
  8706. + file=\`ls -ld \"\$thisdir/\$file\" | ${SED} -n 's/.*-> //p'\`
  8707. done
  8708. # Try to get the absolute directory name.
  8709. @@ -2858,11 +3738,11 @@
  8710. if test "$fast_install" = yes; then
  8711. echo >> $output "\
  8712. - program=lt-'$outputname'
  8713. + program=lt-'$outputname'$exeext
  8714. progdir=\"\$thisdir/$objdir\"
  8715. -
  8716. +
  8717. if test ! -f \"\$progdir/\$program\" || \\
  8718. - { file=\`ls -1dt \"\$progdir/\$program\" \"\$progdir/../\$program\" 2>/dev/null | sed 1q\`; \\
  8719. + { file=\`ls -1dt \"\$progdir/\$program\" \"\$progdir/../\$program\" 2>/dev/null | ${SED} 1q\`; \\
  8720. test \"X\$file\" != \"X\$progdir/\$program\"; }; then
  8721. file=\"\$\$-\$program\"
  8722. @@ -2877,8 +3757,9 @@
  8723. # relink executable if necessary
  8724. if test -n \"\$relink_command\"; then
  8725. - if (cd \"\$thisdir\" && eval \$relink_command); then :
  8726. + if relink_command_output=\`eval \$relink_command 2>&1\`; then :
  8727. else
  8728. + $echo \"\$relink_command_output\" >&2
  8729. $rm \"\$progdir/\$file\"
  8730. exit 1
  8731. fi
  8732. @@ -2907,7 +3788,7 @@
  8733. $shlibpath_var=\"$temp_rpath\$$shlibpath_var\"
  8734. # Some systems cannot cope with colon-terminated $shlibpath_var
  8735. - # The second colon is a workaround for a bug in BeOS R4 sed
  8736. + # The second colon is a workaround for a bug in BeOS R4 ${SED}
  8737. $shlibpath_var=\`\$echo \"X\$$shlibpath_var\" | \$Xsed -e 's/::*\$//'\`
  8738. export $shlibpath_var
  8739. @@ -2927,13 +3808,21 @@
  8740. # Run the actual program with our arguments.
  8741. "
  8742. case $host in
  8743. - *-*-cygwin* | *-*-mingw | *-*-os2*)
  8744. - # win32 systems need to use the prog path for dll
  8745. - # lookup to work
  8746. + # win32 systems need to use the prog path for dll
  8747. + # lookup to work
  8748. + *-*-cygwin* | *-*-pw32*)
  8749. + $echo >> $output "\
  8750. + exec \$progdir/\$program \${1+\"\$@\"}
  8751. +"
  8752. + ;;
  8753. +
  8754. + # Backslashes separate directories on plain windows
  8755. + *-*-mingw | *-*-os2*)
  8756. $echo >> $output "\
  8757. exec \$progdir\\\\\$program \${1+\"\$@\"}
  8758. "
  8759. ;;
  8760. +
  8761. *)
  8762. $echo >> $output "\
  8763. # Export the path to the program.
  8764. @@ -2975,7 +3864,7 @@
  8765. oldobjs="$libobjs_save"
  8766. build_libtool_libs=no
  8767. else
  8768. - oldobjs="$objs "`$echo "X$libobjs_save" | $SP2NL | $Xsed -e '/\.'${libext}'$/d' -e '/\.lib$/d' -e "$lo2o" | $NL2SP`
  8769. + oldobjs="$objs$old_deplibs "`$echo "X$libobjs_save" | $SP2NL | $Xsed -e '/\.'${libext}'$/d' -e '/\.lib$/d' -e "$lo2o" | $NL2SP`
  8770. fi
  8771. addlibs="$old_convenience"
  8772. fi
  8773. @@ -2991,11 +3880,11 @@
  8774. exit $status
  8775. fi
  8776. generated="$generated $gentop"
  8777. -
  8778. +
  8779. # Add in members from convenience archives.
  8780. for xlib in $addlibs; do
  8781. # Extract the objects.
  8782. - case "$xlib" in
  8783. + case $xlib in
  8784. [\\/]* | [A-Za-z]:[\\/]*) xabs="$xlib" ;;
  8785. *) xabs=`pwd`"/$xlib" ;;
  8786. esac
  8787. @@ -3041,7 +3930,7 @@
  8788. eval cmds=\"$old_archive_cmds\"
  8789. fi
  8790. - IFS="${IFS= }"; save_ifs="$IFS"; IFS='~'
  8791. + save_ifs="$IFS"; IFS='~'
  8792. for cmd in $cmds; do
  8793. IFS="$save_ifs"
  8794. $show "$cmd"
  8795. @@ -3056,19 +3945,26 @@
  8796. fi
  8797. # Now create the libtool archive.
  8798. - case "$output" in
  8799. + case $output in
  8800. *.la)
  8801. old_library=
  8802. test "$build_old_libs" = yes && old_library="$libname.$libext"
  8803. $show "creating $output"
  8804. - if test -n "$xrpath"; then
  8805. - temp_xrpath=
  8806. - for libdir in $xrpath; do
  8807. - temp_xrpath="$temp_xrpath -R$libdir"
  8808. - done
  8809. - dependency_libs="$temp_xrpath $dependency_libs"
  8810. - fi
  8811. + # Preserve any variables that may affect compiler behavior
  8812. + for var in $variables_saved_for_relink; do
  8813. + if eval test -z \"\${$var+set}\"; then
  8814. + relink_command="{ test -z \"\${$var+set}\" || unset $var || { $var=; export $var; }; }; $relink_command"
  8815. + elif eval var_value=\$$var; test -z "$var_value"; then
  8816. + relink_command="$var=; export $var; $relink_command"
  8817. + else
  8818. + var_value=`$echo "X$var_value" | $Xsed -e "$sed_quote_subst"`
  8819. + relink_command="$var=\"$var_value\"; export $var; $relink_command"
  8820. + fi
  8821. + done
  8822. + # Quote the link command for shipping.
  8823. + relink_command="(cd `pwd`; $SHELL $0 --mode=relink $libtool_args @inst_prefix_dir@)"
  8824. + relink_command=`$echo "X$relink_command" | $Xsed -e "$sed_quote_subst"`
  8825. # Only create the output if not a dry run.
  8826. if test -z "$run"; then
  8827. @@ -3078,8 +3974,52 @@
  8828. break
  8829. fi
  8830. output="$output_objdir/$outputname"i
  8831. + # Replace all uninstalled libtool libraries with the installed ones
  8832. + newdependency_libs=
  8833. + for deplib in $dependency_libs; do
  8834. + case $deplib in
  8835. + *.la)
  8836. + name=`$echo "X$deplib" | $Xsed -e 's%^.*/%%'`
  8837. + eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
  8838. + if test -z "$libdir"; then
  8839. + $echo "$modename: \`$deplib' is not a valid libtool archive" 1>&2
  8840. + exit 1
  8841. + fi
  8842. + newdependency_libs="$newdependency_libs $libdir/$name"
  8843. + ;;
  8844. + *) newdependency_libs="$newdependency_libs $deplib" ;;
  8845. + esac
  8846. + done
  8847. + dependency_libs="$newdependency_libs"
  8848. + newdlfiles=
  8849. + for lib in $dlfiles; do
  8850. + name=`$echo "X$lib" | $Xsed -e 's%^.*/%%'`
  8851. + eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib`
  8852. + if test -z "$libdir"; then
  8853. + $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2
  8854. + exit 1
  8855. + fi
  8856. + newdlfiles="$newdlfiles $libdir/$name"
  8857. + done
  8858. + dlfiles="$newdlfiles"
  8859. + newdlprefiles=
  8860. + for lib in $dlprefiles; do
  8861. + name=`$echo "X$lib" | $Xsed -e 's%^.*/%%'`
  8862. + eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib`
  8863. + if test -z "$libdir"; then
  8864. + $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2
  8865. + exit 1
  8866. + fi
  8867. + newdlprefiles="$newdlprefiles $libdir/$name"
  8868. + done
  8869. + dlprefiles="$newdlprefiles"
  8870. fi
  8871. $rm $output
  8872. + # place dlname in correct position for cygwin
  8873. + tdlname=$dlname
  8874. + case $host,$output,$installed,$module,$dlname in
  8875. + *cygwin*,*lai,yes,no,*.dll) tdlname=../bin/$dlname ;;
  8876. + esac
  8877. $echo > $output "\
  8878. # $outputname - a libtool library file
  8879. # Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP
  8880. @@ -3088,7 +4028,7 @@
  8881. # It is necessary for linking the library.
  8882. # The name that we can dlopen(3).
  8883. -dlname='$dlname'
  8884. +dlname='$tdlname'
  8885. # Names of this library.
  8886. library_names='$library_names'
  8887. @@ -3107,16 +4047,23 @@
  8888. # Is this an already installed library?
  8889. installed=$installed
  8890. +# Files to dlopen/dlpreopen
  8891. +dlopen='$dlfiles'
  8892. +dlpreopen='$dlprefiles'
  8893. +
  8894. # Directory that this library needs to be installed in:
  8895. -libdir='$install_libdir'\
  8896. -"
  8897. +libdir='$install_libdir'"
  8898. + if test "$installed" = no && test $need_relink = yes; then
  8899. + $echo >> $output "\
  8900. +relink_command=\"$relink_command\""
  8901. + fi
  8902. done
  8903. fi
  8904. # Do a symbolic link so that the libtool archive can be found in
  8905. # LD_LIBRARY_PATH before the program is installed.
  8906. $show "(cd $output_objdir && $rm $outputname && $LN_S ../$outputname $outputname)"
  8907. - $run eval "(cd $output_objdir && $rm $outputname && $LN_S ../$outputname $outputname)" || exit $?
  8908. + $run eval '(cd $output_objdir && $rm $outputname && $LN_S ../$outputname $outputname)' || exit $?
  8909. ;;
  8910. esac
  8911. exit 0
  8912. @@ -3128,10 +4075,12 @@
  8913. # There may be an optional sh(1) argument at the beginning of
  8914. # install_prog (especially on Windows NT).
  8915. - if test "$nonopt" = "$SHELL" || test "$nonopt" = /bin/sh; then
  8916. + if test "$nonopt" = "$SHELL" || test "$nonopt" = /bin/sh ||
  8917. + # Allow the use of GNU shtool's install command.
  8918. + $echo "X$nonopt" | $Xsed | grep shtool > /dev/null; then
  8919. # Aesthetically quote it.
  8920. arg=`$echo "X$nonopt" | $Xsed -e "$sed_quote_subst"`
  8921. - case "$arg" in
  8922. + case $arg in
  8923. *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*)
  8924. arg="\"$arg\""
  8925. ;;
  8926. @@ -3147,7 +4096,7 @@
  8927. # The real first argument should be the name of the installation program.
  8928. # Aesthetically quote it.
  8929. arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
  8930. - case "$arg" in
  8931. + case $arg in
  8932. *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*)
  8933. arg="\"$arg\""
  8934. ;;
  8935. @@ -3170,7 +4119,7 @@
  8936. continue
  8937. fi
  8938. - case "$arg" in
  8939. + case $arg in
  8940. -d) isdir=yes ;;
  8941. -f) prev="-f" ;;
  8942. -g) prev="-g" ;;
  8943. @@ -3195,7 +4144,7 @@
  8944. # Aesthetically quote the argument.
  8945. arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
  8946. - case "$arg" in
  8947. + case $arg in
  8948. *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*)
  8949. arg="\"$arg\""
  8950. ;;
  8951. @@ -3246,11 +4195,11 @@
  8952. exit 1
  8953. fi
  8954. fi
  8955. - case "$destdir" in
  8956. + case $destdir in
  8957. [\\/]* | [A-Za-z]:[\\/]*) ;;
  8958. *)
  8959. for file in $files; do
  8960. - case "$file" in
  8961. + case $file in
  8962. *.lo) ;;
  8963. *)
  8964. $echo "$modename: \`$destdir' must be an absolute directory name" 1>&2
  8965. @@ -3272,15 +4221,15 @@
  8966. for file in $files; do
  8967. # Do each installation.
  8968. - case "$file" in
  8969. - *.a | *.lib)
  8970. + case $file in
  8971. + *.$libext)
  8972. # Do the static libraries later.
  8973. staticlibs="$staticlibs $file"
  8974. ;;
  8975. *.la)
  8976. # Check to see that this really is a libtool archive.
  8977. - if (sed -e '2q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then :
  8978. + if (${SED} -e '2q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then :
  8979. else
  8980. $echo "$modename: \`$file' is not a valid libtool archive" 1>&2
  8981. $echo "$help" 1>&2
  8982. @@ -3289,8 +4238,9 @@
  8983. library_names=
  8984. old_library=
  8985. + relink_command=
  8986. # If there is no directory component, then add one.
  8987. - case "$file" in
  8988. + case $file in
  8989. */* | *\\*) . $file ;;
  8990. *) . ./$file ;;
  8991. esac
  8992. @@ -3309,10 +4259,38 @@
  8993. esac
  8994. fi
  8995. - dir="`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'`/"
  8996. + dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'`/
  8997. test "X$dir" = "X$file/" && dir=
  8998. dir="$dir$objdir"
  8999. + if test -n "$relink_command"; then
  9000. + # Determine the prefix the user has applied to our future dir.
  9001. + inst_prefix_dir=`$echo "$destdir" | sed "s%$libdir\$%%"`
  9002. +
  9003. + # Don't allow the user to place us outside of our expected
  9004. + # location b/c this prevents finding dependent libraries that
  9005. + # are installed to the same prefix.
  9006. + if test "$inst_prefix_dir" = "$destdir"; then
  9007. + $echo "$modename: error: cannot install \`$file' to a directory not ending in $libdir" 1>&2
  9008. + exit 1
  9009. + fi
  9010. +
  9011. + if test -n "$inst_prefix_dir"; then
  9012. + # Stick the inst_prefix_dir data into the link command.
  9013. + relink_command=`$echo "$relink_command" | sed "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%"`
  9014. + else
  9015. + relink_command=`$echo "$relink_command" | sed "s%@inst_prefix_dir@%%"`
  9016. + fi
  9017. +
  9018. + $echo "$modename: warning: relinking \`$file'" 1>&2
  9019. + $show "$relink_command"
  9020. + if $run eval "$relink_command"; then :
  9021. + else
  9022. + $echo "$modename: error: relink \`$file' with the above command before installing it" 1>&2
  9023. + exit 1
  9024. + fi
  9025. + fi
  9026. +
  9027. # See the names of the shared library.
  9028. set dummy $library_names
  9029. if test -n "$2"; then
  9030. @@ -3320,9 +4298,16 @@
  9031. shift
  9032. shift
  9033. + srcname="$realname"
  9034. + test -n "$relink_command" && srcname="$realname"T
  9035. +
  9036. # Install the shared library and build the symlinks.
  9037. - $show "$install_prog $dir/$realname $destdir/$realname"
  9038. - $run eval "$install_prog $dir/$realname $destdir/$realname" || exit $?
  9039. + $show "$install_prog $dir/$srcname $destdir/$realname"
  9040. + $run eval "$install_prog $dir/$srcname $destdir/$realname" || exit $?
  9041. + if test -n "$stripme" && test -n "$striplib"; then
  9042. + $show "$striplib $destdir/$realname"
  9043. + $run eval "$striplib $destdir/$realname" || exit $?
  9044. + fi
  9045. if test $# -gt 0; then
  9046. # Delete the old symlinks, and create new ones.
  9047. @@ -3338,7 +4323,7 @@
  9048. # Do each command in the postinstall commands.
  9049. lib="$destdir/$realname"
  9050. eval cmds=\"$postinstall_cmds\"
  9051. - IFS="${IFS= }"; save_ifs="$IFS"; IFS='~'
  9052. + save_ifs="$IFS"; IFS='~'
  9053. for cmd in $cmds; do
  9054. IFS="$save_ifs"
  9055. $show "$cmd"
  9056. @@ -3369,11 +4354,11 @@
  9057. fi
  9058. # Deduce the name of the destination old-style object file.
  9059. - case "$destfile" in
  9060. + case $destfile in
  9061. *.lo)
  9062. staticdest=`$echo "X$destfile" | $Xsed -e "$lo2o"`
  9063. ;;
  9064. - *.o | *.obj)
  9065. + *.$objext)
  9066. staticdest="$destfile"
  9067. destfile=
  9068. ;;
  9069. @@ -3411,40 +4396,55 @@
  9070. fi
  9071. # Do a test to see if this is really a libtool program.
  9072. - if (sed -e '4q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
  9073. - link_against_libtool_libs=
  9074. + case $host in
  9075. + *cygwin*|*mingw*)
  9076. + wrapper=`echo $file | ${SED} -e 's,.exe$,,'`
  9077. + ;;
  9078. + *)
  9079. + wrapper=$file
  9080. + ;;
  9081. + esac
  9082. + if (${SED} -e '4q' $wrapper | egrep "^# Generated by .*$PACKAGE")>/dev/null 2>&1; then
  9083. + notinst_deplibs=
  9084. relink_command=
  9085. # If there is no directory component, then add one.
  9086. - case "$file" in
  9087. - */* | *\\*) . $file ;;
  9088. - *) . ./$file ;;
  9089. + case $file in
  9090. + */* | *\\*) . $wrapper ;;
  9091. + *) . ./$wrapper ;;
  9092. esac
  9093. # Check the variables that should have been set.
  9094. - if test -z "$link_against_libtool_libs"; then
  9095. - $echo "$modename: invalid libtool wrapper script \`$file'" 1>&2
  9096. + if test -z "$notinst_deplibs"; then
  9097. + $echo "$modename: invalid libtool wrapper script \`$wrapper'" 1>&2
  9098. exit 1
  9099. fi
  9100. finalize=yes
  9101. - for lib in $link_against_libtool_libs; do
  9102. + for lib in $notinst_deplibs; do
  9103. # Check to see that each library is installed.
  9104. libdir=
  9105. if test -f "$lib"; then
  9106. # If there is no directory component, then add one.
  9107. - case "$lib" in
  9108. + case $lib in
  9109. */* | *\\*) . $lib ;;
  9110. *) . ./$lib ;;
  9111. esac
  9112. fi
  9113. - libfile="$libdir/`$echo "X$lib" | $Xsed -e 's%^.*/%%g'`"
  9114. + libfile="$libdir/"`$echo "X$lib" | $Xsed -e 's%^.*/%%g'` ### testsuite: skip nested quoting test
  9115. if test -n "$libdir" && test ! -f "$libfile"; then
  9116. $echo "$modename: warning: \`$lib' has not been installed in \`$libdir'" 1>&2
  9117. finalize=no
  9118. fi
  9119. done
  9120. + relink_command=
  9121. + # If there is no directory component, then add one.
  9122. + case $file in
  9123. + */* | *\\*) . $wrapper ;;
  9124. + *) . ./$wrapper ;;
  9125. + esac
  9126. +
  9127. outputname=
  9128. if test "$fast_install" = no && test -n "$relink_command"; then
  9129. if test "$finalize" = yes && test -z "$run"; then
  9130. @@ -3456,6 +4456,7 @@
  9131. $echo "$modename: error: cannot create temporary directory \`$tmpdir'" 1>&2
  9132. continue
  9133. fi
  9134. + file=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
  9135. outputname="$tmpdir/$file"
  9136. # Replace the output file specification.
  9137. relink_command=`$echo "X$relink_command" | $Xsed -e 's%@OUTPUT@%'"$outputname"'%g'`
  9138. @@ -3477,6 +4478,23 @@
  9139. fi
  9140. fi
  9141. + # remove .exe since cygwin /usr/bin/install will append another
  9142. + # one anyways
  9143. + case $install_prog,$host in
  9144. + /usr/bin/install*,*cygwin*)
  9145. + case $file:$destfile in
  9146. + *.exe:*.exe)
  9147. + # this is ok
  9148. + ;;
  9149. + *.exe:*)
  9150. + destfile=$destfile.exe
  9151. + ;;
  9152. + *:*.exe)
  9153. + destfile=`echo $destfile | ${SED} -e 's,.exe$,,'`
  9154. + ;;
  9155. + esac
  9156. + ;;
  9157. + esac
  9158. $show "$install_prog$stripme $file $destfile"
  9159. $run eval "$install_prog\$stripme \$file \$destfile" || exit $?
  9160. test -n "$outputname" && ${rm}r "$tmpdir"
  9161. @@ -3493,9 +4511,14 @@
  9162. $show "$install_prog $file $oldlib"
  9163. $run eval "$install_prog \$file \$oldlib" || exit $?
  9164. + if test -n "$stripme" && test -n "$striplib"; then
  9165. + $show "$old_striplib $oldlib"
  9166. + $run eval "$old_striplib $oldlib" || exit $?
  9167. + fi
  9168. +
  9169. # Do each command in the postinstall commands.
  9170. eval cmds=\"$old_postinstall_cmds\"
  9171. - IFS="${IFS= }"; save_ifs="$IFS"; IFS='~'
  9172. + save_ifs="$IFS"; IFS='~'
  9173. for cmd in $cmds; do
  9174. IFS="$save_ifs"
  9175. $show "$cmd"
  9176. @@ -3511,11 +4534,10 @@
  9177. if test -n "$current_libdirs"; then
  9178. # Maybe just do a dry run.
  9179. test -n "$run" && current_libdirs=" -n$current_libdirs"
  9180. - exec $SHELL $0 --finish$current_libdirs
  9181. - exit 1
  9182. + exec_cmd='$SHELL $0 --finish$current_libdirs'
  9183. + else
  9184. + exit 0
  9185. fi
  9186. -
  9187. - exit 0
  9188. ;;
  9189. # libtool finish mode
  9190. @@ -3534,7 +4556,7 @@
  9191. if test -n "$finish_cmds"; then
  9192. # Do each command in the finish commands.
  9193. eval cmds=\"$finish_cmds\"
  9194. - IFS="${IFS= }"; save_ifs="$IFS"; IFS='~'
  9195. + save_ifs="$IFS"; IFS='~'
  9196. for cmd in $cmds; do
  9197. IFS="$save_ifs"
  9198. $show "$cmd"
  9199. @@ -3553,7 +4575,7 @@
  9200. fi
  9201. # Exit here if they wanted silent mode.
  9202. - test "$show" = : && exit 0
  9203. + test "$show" = ":" && exit 0
  9204. echo "----------------------------------------------------------------------"
  9205. echo "Libraries have been installed in:"
  9206. @@ -3563,7 +4585,7 @@
  9207. echo
  9208. echo "If you ever happen to want to link against installed libraries"
  9209. echo "in a given directory, LIBDIR, you must either use libtool, and"
  9210. - echo "specify the full pathname of the library, or use \`-LLIBDIR'"
  9211. + echo "specify the full pathname of the library, or use the \`-LLIBDIR'"
  9212. echo "flag during linking and do at least one of the following:"
  9213. if test -n "$shlibpath_var"; then
  9214. echo " - add LIBDIR to the \`$shlibpath_var' environment variable"
  9215. @@ -3613,10 +4635,10 @@
  9216. fi
  9217. dir=
  9218. - case "$file" in
  9219. + case $file in
  9220. *.la)
  9221. # Check to see that this really is a libtool archive.
  9222. - if (sed -e '2q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then :
  9223. + if (${SED} -e '2q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then :
  9224. else
  9225. $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2
  9226. $echo "$help" 1>&2
  9227. @@ -3628,7 +4650,7 @@
  9228. library_names=
  9229. # If there is no directory component, then add one.
  9230. - case "$file" in
  9231. + case $file in
  9232. */* | *\\*) . $file ;;
  9233. *) . ./$file ;;
  9234. esac
  9235. @@ -3683,13 +4705,13 @@
  9236. args=
  9237. for file
  9238. do
  9239. - case "$file" in
  9240. + case $file in
  9241. -*) ;;
  9242. *)
  9243. # Do a test to see if this is really a libtool program.
  9244. - if (sed -e '4q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
  9245. + if (${SED} -e '4q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
  9246. # If there is no directory component, then add one.
  9247. - case "$file" in
  9248. + case $file in
  9249. */* | *\\*) . $file ;;
  9250. *) . ./$file ;;
  9251. esac
  9252. @@ -3706,8 +4728,8 @@
  9253. if test -z "$run"; then
  9254. if test -n "$shlibpath_var"; then
  9255. - # Export the shlibpath_var.
  9256. - eval "export $shlibpath_var"
  9257. + # Export the shlibpath_var.
  9258. + eval "export $shlibpath_var"
  9259. fi
  9260. # Restore saved enviroment variables
  9261. @@ -3718,31 +4740,35 @@
  9262. LANG="$save_LANG"; export LANG
  9263. fi
  9264. - # Now actually exec the command.
  9265. - eval "exec \$cmd$args"
  9266. -
  9267. - $echo "$modename: cannot exec \$cmd$args"
  9268. - exit 1
  9269. + # Now prepare to actually exec the command.
  9270. + exec_cmd="\$cmd$args"
  9271. else
  9272. # Display what would be done.
  9273. if test -n "$shlibpath_var"; then
  9274. - eval "\$echo \"\$shlibpath_var=\$$shlibpath_var\""
  9275. - $echo "export $shlibpath_var"
  9276. + eval "\$echo \"\$shlibpath_var=\$$shlibpath_var\""
  9277. + $echo "export $shlibpath_var"
  9278. fi
  9279. $echo "$cmd$args"
  9280. exit 0
  9281. fi
  9282. ;;
  9283. - # libtool uninstall mode
  9284. - uninstall)
  9285. - modename="$modename: uninstall"
  9286. + # libtool clean and uninstall mode
  9287. + clean | uninstall)
  9288. + modename="$modename: $mode"
  9289. rm="$nonopt"
  9290. files=
  9291. + rmforce=
  9292. + exit_status=0
  9293. +
  9294. + # This variable tells wrapper scripts just to set variables rather
  9295. + # than running their programs.
  9296. + libtool_install_magic="$magic"
  9297. for arg
  9298. do
  9299. - case "$arg" in
  9300. + case $arg in
  9301. + -f) rm="$rm $arg"; rmforce=yes ;;
  9302. -*) rm="$rm $arg" ;;
  9303. *) files="$files $arg" ;;
  9304. esac
  9305. @@ -3754,53 +4780,86 @@
  9306. exit 1
  9307. fi
  9308. + rmdirs=
  9309. +
  9310. for file in $files; do
  9311. dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'`
  9312. - test "X$dir" = "X$file" && dir=.
  9313. + if test "X$dir" = "X$file"; then
  9314. + dir=.
  9315. + objdir="$objdir"
  9316. + else
  9317. + objdir="$dir/$objdir"
  9318. + fi
  9319. name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
  9320. + test $mode = uninstall && objdir="$dir"
  9321. +
  9322. + # Remember objdir for removal later, being careful to avoid duplicates
  9323. + if test $mode = clean; then
  9324. + case " $rmdirs " in
  9325. + *" $objdir "*) ;;
  9326. + *) rmdirs="$rmdirs $objdir" ;;
  9327. + esac
  9328. + fi
  9329. +
  9330. + # Don't error if the file doesn't exist and rm -f was used.
  9331. + if (test -L "$file") >/dev/null 2>&1 \
  9332. + || (test -h "$file") >/dev/null 2>&1 \
  9333. + || test -f "$file"; then
  9334. + :
  9335. + elif test -d "$file"; then
  9336. + exit_status=1
  9337. + continue
  9338. + elif test "$rmforce" = yes; then
  9339. + continue
  9340. + fi
  9341. rmfiles="$file"
  9342. - case "$name" in
  9343. + case $name in
  9344. *.la)
  9345. # Possibly a libtool archive, so verify it.
  9346. - if (sed -e '2q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
  9347. + if (${SED} -e '2q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
  9348. . $dir/$name
  9349. # Delete the libtool libraries and symlinks.
  9350. for n in $library_names; do
  9351. - rmfiles="$rmfiles $dir/$n"
  9352. + rmfiles="$rmfiles $objdir/$n"
  9353. done
  9354. - test -n "$old_library" && rmfiles="$rmfiles $dir/$old_library"
  9355. + test -n "$old_library" && rmfiles="$rmfiles $objdir/$old_library"
  9356. + test $mode = clean && rmfiles="$rmfiles $objdir/$name $objdir/${name}i"
  9357. - $show "$rm $rmfiles"
  9358. - $run $rm $rmfiles
  9359. -
  9360. - if test -n "$library_names"; then
  9361. - # Do each command in the postuninstall commands.
  9362. - eval cmds=\"$postuninstall_cmds\"
  9363. - IFS="${IFS= }"; save_ifs="$IFS"; IFS='~'
  9364. - for cmd in $cmds; do
  9365. + if test $mode = uninstall; then
  9366. + if test -n "$library_names"; then
  9367. + # Do each command in the postuninstall commands.
  9368. + eval cmds=\"$postuninstall_cmds\"
  9369. + save_ifs="$IFS"; IFS='~'
  9370. + for cmd in $cmds; do
  9371. + IFS="$save_ifs"
  9372. + $show "$cmd"
  9373. + $run eval "$cmd"
  9374. + if test $? != 0 && test "$rmforce" != yes; then
  9375. + exit_status=1
  9376. + fi
  9377. + done
  9378. IFS="$save_ifs"
  9379. - $show "$cmd"
  9380. - $run eval "$cmd"
  9381. - done
  9382. - IFS="$save_ifs"
  9383. - fi
  9384. + fi
  9385. - if test -n "$old_library"; then
  9386. - # Do each command in the old_postuninstall commands.
  9387. - eval cmds=\"$old_postuninstall_cmds\"
  9388. - IFS="${IFS= }"; save_ifs="$IFS"; IFS='~'
  9389. - for cmd in $cmds; do
  9390. + if test -n "$old_library"; then
  9391. + # Do each command in the old_postuninstall commands.
  9392. + eval cmds=\"$old_postuninstall_cmds\"
  9393. + save_ifs="$IFS"; IFS='~'
  9394. + for cmd in $cmds; do
  9395. + IFS="$save_ifs"
  9396. + $show "$cmd"
  9397. + $run eval "$cmd"
  9398. + if test $? != 0 && test "$rmforce" != yes; then
  9399. + exit_status=1
  9400. + fi
  9401. + done
  9402. IFS="$save_ifs"
  9403. - $show "$cmd"
  9404. - $run eval "$cmd"
  9405. - done
  9406. - IFS="$save_ifs"
  9407. + fi
  9408. + # FIXME: should reinstall the best remaining shared library.
  9409. fi
  9410. -
  9411. - # FIXME: should reinstall the best remaining shared library.
  9412. fi
  9413. ;;
  9414. @@ -3809,17 +4868,35 @@
  9415. oldobj=`$echo "X$name" | $Xsed -e "$lo2o"`
  9416. rmfiles="$rmfiles $dir/$oldobj"
  9417. fi
  9418. - $show "$rm $rmfiles"
  9419. - $run $rm $rmfiles
  9420. ;;
  9421. *)
  9422. - $show "$rm $rmfiles"
  9423. - $run $rm $rmfiles
  9424. + # Do a test to see if this is a libtool program.
  9425. + if test $mode = clean &&
  9426. + (${SED} -e '4q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
  9427. + relink_command=
  9428. + . $dir/$file
  9429. +
  9430. + rmfiles="$rmfiles $objdir/$name $objdir/${name}S.${objext}"
  9431. + if test "$fast_install" = yes && test -n "$relink_command"; then
  9432. + rmfiles="$rmfiles $objdir/lt-$name"
  9433. + fi
  9434. + fi
  9435. ;;
  9436. esac
  9437. + $show "$rm $rmfiles"
  9438. + $run $rm $rmfiles || exit_status=1
  9439. done
  9440. - exit 0
  9441. +
  9442. + # Try to remove the ${objdir}s in the directories where we deleted files
  9443. + for dir in $rmdirs; do
  9444. + if test -d "$dir"; then
  9445. + $show "rmdir $dir"
  9446. + $run rmdir $dir >/dev/null 2>&1
  9447. + fi
  9448. + done
  9449. +
  9450. + exit $exit_status
  9451. ;;
  9452. "")
  9453. @@ -3829,13 +4906,20 @@
  9454. ;;
  9455. esac
  9456. - $echo "$modename: invalid operation mode \`$mode'" 1>&2
  9457. - $echo "$generic_help" 1>&2
  9458. - exit 1
  9459. + if test -z "$exec_cmd"; then
  9460. + $echo "$modename: invalid operation mode \`$mode'" 1>&2
  9461. + $echo "$generic_help" 1>&2
  9462. + exit 1
  9463. + fi
  9464. fi # test -z "$show_help"
  9465. +if test -n "$exec_cmd"; then
  9466. + eval exec $exec_cmd
  9467. + exit 1
  9468. +fi
  9469. +
  9470. # We need to display help for each of the modes.
  9471. -case "$mode" in
  9472. +case $mode in
  9473. "") $echo \
  9474. "Usage: $modename [OPTION]... [MODE-ARG]...
  9475. @@ -3854,6 +4938,7 @@
  9476. MODE must be one of the following:
  9477. + clean remove files from the build directory
  9478. compile compile a source file into a libtool object
  9479. execute automatically set library path, then run a program
  9480. finish complete the installation of libtool libraries
  9481. @@ -3866,6 +4951,20 @@
  9482. exit 0
  9483. ;;
  9484. +clean)
  9485. + $echo \
  9486. +"Usage: $modename [OPTION]... --mode=clean RM [RM-OPTION]... FILE...
  9487. +
  9488. +Remove files from the build directory.
  9489. +
  9490. +RM is the name of the program to use to delete files associated with each FILE
  9491. +(typically \`/bin/rm'). RM-OPTIONS are options (such as \`-f') to be passed
  9492. +to RM.
  9493. +
  9494. +If FILE is a libtool library, object or program, all the files associated
  9495. +with it are deleted. Otherwise, only FILE itself is deleted using RM."
  9496. + ;;
  9497. +
  9498. compile)
  9499. $echo \
  9500. "Usage: $modename [OPTION]... --mode=compile COMPILE-COMMAND... SOURCEFILE
  9501. @@ -3875,6 +4974,8 @@
  9502. This mode accepts the following additional options:
  9503. -o OUTPUT-FILE set the output file name to OUTPUT-FILE
  9504. + -prefer-pic try to building PIC objects only
  9505. + -prefer-non-pic try to building non-PIC objects only
  9506. -static always build a \`.o' file suitable for static linking
  9507. COMPILE-COMMAND is a command to be used in creating a \`standard' object file
  9508. @@ -3954,6 +5055,8 @@
  9509. -LLIBDIR search LIBDIR for required installed libraries
  9510. -lNAME OUTPUT-FILE requires the installed library libNAME
  9511. -module build a library that can dlopened
  9512. + -no-fast-install disable the fast-install mode
  9513. + -no-install link a not-installable executable
  9514. -no-undefined declare that a library does not refer to external symbols
  9515. -o OUTPUT-FILE create OUTPUT-FILE from the specified objects
  9516. -release RELEASE specify package release information
  9517. --- recode-3.6.orig/m4/libtool.m4
  9518. +++ recode-3.6/m4/libtool.m4
  9519. @@ -1,5 +1,6 @@
  9520. -## libtool.m4 - Configure libtool for the target system. -*-Shell-script-*-
  9521. -## Copyright (C) 1996-1999, 2000 Free Software Foundation, Inc.
  9522. +# libtool.m4 - Configure libtool for the host system. -*-Shell-script-*-
  9523. +## Copyright 1996, 1997, 1998, 1999, 2000, 2001
  9524. +## Free Software Foundation, Inc.
  9525. ## Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
  9526. ##
  9527. ## This program is free software; you can redistribute it and/or modify
  9528. @@ -21,134 +22,3028 @@
  9529. ## configuration script generated by Autoconf, you may include it under
  9530. ## the same distribution terms that you use for the rest of that program.
  9531. -# serial 40 AC_PROG_LIBTOOL
  9532. -AC_DEFUN(AC_PROG_LIBTOOL,
  9533. +# serial 46 AC_PROG_LIBTOOL
  9534. +# Debian $Rev: 50 $
  9535. +
  9536. +AC_DEFUN([AC_PROG_LIBTOOL],
  9537. [AC_REQUIRE([AC_LIBTOOL_SETUP])dnl
  9538. -# Save cache, so that ltconfig can load it
  9539. -AC_CACHE_SAVE
  9540. +# This can be used to rebuild libtool when needed
  9541. +LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
  9542. +
  9543. +# Always use our own libtool.
  9544. +LIBTOOL='$(SHELL) $(top_builddir)/libtool'
  9545. +AC_SUBST(LIBTOOL)dnl
  9546. +
  9547. +# Prevent multiple expansion
  9548. +define([AC_PROG_LIBTOOL], [])
  9549. +])
  9550. +
  9551. +AC_DEFUN([AC_LIBTOOL_SETUP],
  9552. +[AC_PREREQ(2.13)dnl
  9553. +AC_REQUIRE([AC_ENABLE_SHARED])dnl
  9554. +AC_REQUIRE([AC_ENABLE_STATIC])dnl
  9555. +AC_REQUIRE([AC_ENABLE_FAST_INSTALL])dnl
  9556. +AC_REQUIRE([AC_CANONICAL_HOST])dnl
  9557. +AC_REQUIRE([AC_CANONICAL_BUILD])dnl
  9558. +AC_REQUIRE([AC_PROG_CC])dnl
  9559. +AC_REQUIRE([AC_PROG_LD])dnl
  9560. +AC_REQUIRE([AC_PROG_LD_RELOAD_FLAG])dnl
  9561. +AC_REQUIRE([AC_PROG_NM])dnl
  9562. +AC_REQUIRE([LT_AC_PROG_SED])dnl
  9563. +
  9564. +AC_REQUIRE([AC_PROG_LN_S])dnl
  9565. +AC_REQUIRE([AC_DEPLIBS_CHECK_METHOD])dnl
  9566. +AC_REQUIRE([AC_OBJEXT])dnl
  9567. +AC_REQUIRE([AC_EXEEXT])dnl
  9568. +dnl
  9569. +
  9570. +_LT_AC_PROG_ECHO_BACKSLASH
  9571. +# Only perform the check for file, if the check method requires it
  9572. +case $deplibs_check_method in
  9573. +file_magic*)
  9574. + if test "$file_magic_cmd" = '$MAGIC_CMD'; then
  9575. + AC_PATH_MAGIC
  9576. + fi
  9577. + ;;
  9578. +esac
  9579. +
  9580. +AC_CHECK_TOOL(RANLIB, ranlib, :)
  9581. +AC_CHECK_TOOL(STRIP, strip, :)
  9582. +
  9583. +ifdef([AC_PROVIDE_AC_LIBTOOL_DLOPEN], enable_dlopen=yes, enable_dlopen=no)
  9584. +ifdef([AC_PROVIDE_AC_LIBTOOL_WIN32_DLL],
  9585. +enable_win32_dll=yes, enable_win32_dll=no)
  9586. +
  9587. +AC_ARG_ENABLE(libtool-lock,
  9588. + [ --disable-libtool-lock avoid locking (might break parallel builds)])
  9589. +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
  9590. +
  9591. +# Some flags need to be propagated to the compiler or linker for good
  9592. +# libtool support.
  9593. +case $host in
  9594. +*-*-irix6*)
  9595. + # Find out which ABI we are using.
  9596. + echo '[#]line __oline__ "configure"' > conftest.$ac_ext
  9597. + if AC_TRY_EVAL(ac_compile); then
  9598. + case `/usr/bin/file conftest.$ac_objext` in
  9599. + *32-bit*)
  9600. + LD="${LD-ld} -32"
  9601. + ;;
  9602. + *N32*)
  9603. + LD="${LD-ld} -n32"
  9604. + ;;
  9605. + *64-bit*)
  9606. + LD="${LD-ld} -64"
  9607. + ;;
  9608. + esac
  9609. + fi
  9610. + rm -rf conftest*
  9611. + ;;
  9612. +
  9613. +*-*-sco3.2v5*)
  9614. + # On SCO OpenServer 5, we need -belf to get full-featured binaries.
  9615. + SAVE_CFLAGS="$CFLAGS"
  9616. + CFLAGS="$CFLAGS -belf"
  9617. + AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,
  9618. + [AC_LANG_SAVE
  9619. + AC_LANG_C
  9620. + AC_TRY_LINK([],[],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])
  9621. + AC_LANG_RESTORE])
  9622. + if test x"$lt_cv_cc_needs_belf" != x"yes"; then
  9623. + # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
  9624. + CFLAGS="$SAVE_CFLAGS"
  9625. + fi
  9626. + ;;
  9627. +
  9628. +ifdef([AC_PROVIDE_AC_LIBTOOL_WIN32_DLL],
  9629. +[*-*-cygwin* | *-*-mingw* | *-*-pw32*)
  9630. + AC_CHECK_TOOL(DLLTOOL, dlltool, false)
  9631. + AC_CHECK_TOOL(AS, as, false)
  9632. + AC_CHECK_TOOL(OBJDUMP, objdump, false)
  9633. +
  9634. + # recent cygwin and mingw systems supply a stub DllMain which the user
  9635. + # can override, but on older systems we have to supply one
  9636. + AC_CACHE_CHECK([if libtool should supply DllMain function], lt_cv_need_dllmain,
  9637. + [AC_TRY_LINK([],
  9638. + [extern int __attribute__((__stdcall__)) DllMain(void*, int, void*);
  9639. + DllMain (0, 0, 0);],
  9640. + [lt_cv_need_dllmain=no],[lt_cv_need_dllmain=yes])])
  9641. +
  9642. + case $host/$CC in
  9643. + *-*-cygwin*/gcc*-mno-cygwin*|*-*-mingw*)
  9644. + # old mingw systems require "-dll" to link a DLL, while more recent ones
  9645. + # require "-mdll"
  9646. + SAVE_CFLAGS="$CFLAGS"
  9647. + CFLAGS="$CFLAGS -mdll"
  9648. + AC_CACHE_CHECK([how to link DLLs], lt_cv_cc_dll_switch,
  9649. + [AC_TRY_LINK([], [], [lt_cv_cc_dll_switch=-mdll],[lt_cv_cc_dll_switch=-dll])])
  9650. + CFLAGS="$SAVE_CFLAGS" ;;
  9651. + *-*-cygwin* | *-*-pw32*)
  9652. + # cygwin systems need to pass --dll to the linker, and not link
  9653. + # crt.o which will require a WinMain@16 definition.
  9654. + lt_cv_cc_dll_switch="-Wl,--dll -nostartfiles" ;;
  9655. + esac
  9656. + ;;
  9657. + ])
  9658. +esac
  9659. +
  9660. +_LT_AC_LTCONFIG_HACK
  9661. +
  9662. +])
  9663. +
  9664. +# AC_LIBTOOL_HEADER_ASSERT
  9665. +# ------------------------
  9666. +AC_DEFUN([AC_LIBTOOL_HEADER_ASSERT],
  9667. +[AC_CACHE_CHECK([whether $CC supports assert without backlinking],
  9668. + [lt_cv_func_assert_works],
  9669. + [case $host in
  9670. + *-*-solaris*)
  9671. + if test "$GCC" = yes && test "$with_gnu_ld" != yes; then
  9672. + case `$CC --version 2>/dev/null` in
  9673. + [[12]].*) lt_cv_func_assert_works=no ;;
  9674. + *) lt_cv_func_assert_works=yes ;;
  9675. + esac
  9676. + fi
  9677. + ;;
  9678. + esac])
  9679. +
  9680. +if test "x$lt_cv_func_assert_works" = xyes; then
  9681. + AC_CHECK_HEADERS(assert.h)
  9682. +fi
  9683. +])# AC_LIBTOOL_HEADER_ASSERT
  9684. +
  9685. +# _LT_AC_CHECK_DLFCN
  9686. +# --------------------
  9687. +AC_DEFUN([_LT_AC_CHECK_DLFCN],
  9688. +[AC_CHECK_HEADERS(dlfcn.h)
  9689. +])# _LT_AC_CHECK_DLFCN
  9690. +
  9691. +# AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
  9692. +# ---------------------------------
  9693. +AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE],
  9694. +[AC_REQUIRE([AC_CANONICAL_HOST])
  9695. +AC_REQUIRE([AC_PROG_NM])
  9696. +AC_REQUIRE([AC_OBJEXT])
  9697. +# Check for command to grab the raw symbol name followed by C symbol from nm.
  9698. +AC_MSG_CHECKING([command to parse $NM output])
  9699. +AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe], [dnl
  9700. +
  9701. +# These are sane defaults that work on at least a few old systems.
  9702. +# [They come from Ultrix. What could be older than Ultrix?!! ;)]
  9703. +
  9704. +# Character class describing NM global symbol codes.
  9705. +symcode='[[BCDEGRST]]'
  9706. +
  9707. +# Regexp to match symbols that can be accessed directly from C.
  9708. +sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)'
  9709. +
  9710. +# Transform the above into a raw symbol and a C symbol.
  9711. +symxfrm='\1 \2\3 \3'
  9712. +
  9713. +# Transform an extracted symbol line into a proper C declaration
  9714. +lt_cv_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern char \1;/p'"
  9715. +
  9716. +# Transform an extracted symbol line into symbol name and symbol address
  9717. +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'"
  9718. +
  9719. +# Define system-specific variables.
  9720. +case $host_os in
  9721. +aix*)
  9722. + symcode='[[BCDT]]'
  9723. + ;;
  9724. +cygwin* | mingw* | pw32*)
  9725. + symcode='[[ABCDGISTW]]'
  9726. + ;;
  9727. +hpux*) # Its linker distinguishes data from code symbols
  9728. + lt_cv_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern char \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
  9729. + 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'"
  9730. + ;;
  9731. +irix* | nonstopux*)
  9732. + symcode='[[BCDEGRST]]'
  9733. + ;;
  9734. +osf*)
  9735. + symcode='[[BCDEGQRST]]'
  9736. + ;;
  9737. +solaris* | sysv5*)
  9738. + symcode='[[BDT]]'
  9739. + ;;
  9740. +sysv4)
  9741. + symcode='[[DFNSTU]]'
  9742. + ;;
  9743. +esac
  9744. +
  9745. +# Handle CRLF in mingw tool chain
  9746. +opt_cr=
  9747. +case $host_os in
  9748. +mingw*)
  9749. + opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
  9750. + ;;
  9751. +esac
  9752. +
  9753. +# If we're using GNU nm, then use its standard symbol codes.
  9754. +if $NM -V 2>&1 | egrep '(GNU|with BFD)' > /dev/null; then
  9755. + symcode='[[ABCDGISTW]]'
  9756. +fi
  9757. +
  9758. +# Try without a prefix undercore, then with it.
  9759. +for ac_symprfx in "" "_"; do
  9760. +
  9761. + # Write the raw and C identifiers.
  9762. +lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
  9763. +
  9764. + # Check to see that the pipe works correctly.
  9765. + pipe_works=no
  9766. + rm -f conftest*
  9767. + cat > conftest.$ac_ext <<EOF
  9768. +#ifdef __cplusplus
  9769. +extern "C" {
  9770. +#endif
  9771. +char nm_test_var;
  9772. +void nm_test_func(){}
  9773. +#ifdef __cplusplus
  9774. +}
  9775. +#endif
  9776. +int main(){nm_test_var='a';nm_test_func();return(0);}
  9777. +EOF
  9778. +
  9779. + if AC_TRY_EVAL(ac_compile); then
  9780. + # Now try to grab the symbols.
  9781. + nlist=conftest.nm
  9782. + if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) && test -s "$nlist"; then
  9783. + # Try sorting and uniquifying the output.
  9784. + if sort "$nlist" | uniq > "$nlist"T; then
  9785. + mv -f "$nlist"T "$nlist"
  9786. + else
  9787. + rm -f "$nlist"T
  9788. + fi
  9789. +
  9790. + # Make sure that we snagged all the symbols we need.
  9791. + if egrep ' nm_test_var$' "$nlist" >/dev/null; then
  9792. + if egrep ' nm_test_func$' "$nlist" >/dev/null; then
  9793. + cat <<EOF > conftest.$ac_ext
  9794. +#ifdef __cplusplus
  9795. +extern "C" {
  9796. +#endif
  9797. +
  9798. +EOF
  9799. + # Now generate the symbol file.
  9800. + eval "$lt_cv_global_symbol_to_cdecl"' < "$nlist" >> conftest.$ac_ext'
  9801. +
  9802. + cat <<EOF >> conftest.$ac_ext
  9803. +#if defined (__STDC__) && __STDC__
  9804. +# define lt_ptr void *
  9805. +#else
  9806. +# define lt_ptr char *
  9807. +# define const
  9808. +#endif
  9809. +
  9810. +/* The mapping between symbol names and symbols. */
  9811. +const struct {
  9812. + const char *name;
  9813. + lt_ptr address;
  9814. +}
  9815. +lt_preloaded_symbols[[]] =
  9816. +{
  9817. +EOF
  9818. + sed "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr) \&\2},/" < "$nlist" >> conftest.$ac_ext
  9819. + cat <<\EOF >> conftest.$ac_ext
  9820. + {0, (lt_ptr) 0}
  9821. +};
  9822. +
  9823. +#ifdef __cplusplus
  9824. +}
  9825. +#endif
  9826. +EOF
  9827. + # Now try linking the two files.
  9828. + mv conftest.$ac_objext conftstm.$ac_objext
  9829. + save_LIBS="$LIBS"
  9830. + save_CFLAGS="$CFLAGS"
  9831. + LIBS="conftstm.$ac_objext"
  9832. + CFLAGS="$CFLAGS$no_builtin_flag"
  9833. + if AC_TRY_EVAL(ac_link) && test -s conftest$ac_exeext; then
  9834. + pipe_works=yes
  9835. + fi
  9836. + LIBS="$save_LIBS"
  9837. + CFLAGS="$save_CFLAGS"
  9838. + else
  9839. + echo "cannot find nm_test_func in $nlist" >&AC_FD_CC
  9840. + fi
  9841. + else
  9842. + echo "cannot find nm_test_var in $nlist" >&AC_FD_CC
  9843. + fi
  9844. + else
  9845. + echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AC_FD_CC
  9846. + fi
  9847. + else
  9848. + echo "$progname: failed program was:" >&AC_FD_CC
  9849. + cat conftest.$ac_ext >&5
  9850. + fi
  9851. + rm -f conftest* conftst*
  9852. +
  9853. + # Do not use the global_symbol_pipe unless it works.
  9854. + if test "$pipe_works" = yes; then
  9855. + break
  9856. + else
  9857. + lt_cv_sys_global_symbol_pipe=
  9858. + fi
  9859. +done
  9860. +])
  9861. +global_symbol_pipe="$lt_cv_sys_global_symbol_pipe"
  9862. +if test -z "$lt_cv_sys_global_symbol_pipe"; then
  9863. + global_symbol_to_cdecl=
  9864. + global_symbol_to_c_name_address=
  9865. +else
  9866. + global_symbol_to_cdecl="$lt_cv_global_symbol_to_cdecl"
  9867. + global_symbol_to_c_name_address="$lt_cv_global_symbol_to_c_name_address"
  9868. +fi
  9869. +if test -z "$global_symbol_pipe$global_symbol_to_cdec$global_symbol_to_c_name_address";
  9870. +then
  9871. + AC_MSG_RESULT(failed)
  9872. +else
  9873. + AC_MSG_RESULT(ok)
  9874. +fi
  9875. +]) # AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
  9876. +
  9877. +# _LT_AC_LIBTOOL_SYS_PATH_SEPARATOR
  9878. +# ---------------------------------
  9879. +AC_DEFUN([_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR],
  9880. +[# Find the correct PATH separator. Usually this is `:', but
  9881. +# DJGPP uses `;' like DOS.
  9882. +if test "X${PATH_SEPARATOR+set}" != Xset; then
  9883. + UNAME=${UNAME-`uname 2>/dev/null`}
  9884. + case X$UNAME in
  9885. + *-DOS) lt_cv_sys_path_separator=';' ;;
  9886. + *) lt_cv_sys_path_separator=':' ;;
  9887. + esac
  9888. + PATH_SEPARATOR=$lt_cv_sys_path_separator
  9889. +fi
  9890. +])# _LT_AC_LIBTOOL_SYS_PATH_SEPARATOR
  9891. +
  9892. +# _LT_AC_PROG_ECHO_BACKSLASH
  9893. +# --------------------------
  9894. +# Add some code to the start of the generated configure script which
  9895. +# will find an echo command which doesn't interpret backslashes.
  9896. +AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH],
  9897. +[ifdef([AC_DIVERSION_NOTICE], [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)],
  9898. + [AC_DIVERT_PUSH(NOTICE)])
  9899. +_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR
  9900. +
  9901. +# Check that we are running under the correct shell.
  9902. +SHELL=${CONFIG_SHELL-/bin/sh}
  9903. +
  9904. +case X$ECHO in
  9905. +X*--fallback-echo)
  9906. + # Remove one level of quotation (which was required for Make).
  9907. + ECHO=`echo "$ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','`
  9908. + ;;
  9909. +esac
  9910. +
  9911. +echo=${ECHO-echo}
  9912. +if test "X[$]1" = X--no-reexec; then
  9913. + # Discard the --no-reexec flag, and continue.
  9914. + shift
  9915. +elif test "X[$]1" = X--fallback-echo; then
  9916. + # Avoid inline document here, it may be left over
  9917. + :
  9918. +elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then
  9919. + # Yippee, $echo works!
  9920. + :
  9921. +else
  9922. + # Restart under the correct shell.
  9923. + exec $SHELL "[$]0" --no-reexec ${1+"[$]@"}
  9924. +fi
  9925. +
  9926. +if test "X[$]1" = X--fallback-echo; then
  9927. + # used as fallback echo
  9928. + shift
  9929. + cat <<EOF
  9930. +$*
  9931. +EOF
  9932. + exit 0
  9933. +fi
  9934. +
  9935. +# The HP-UX ksh and POSIX shell print the target directory to stdout
  9936. +# if CDPATH is set.
  9937. +if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
  9938. +
  9939. +if test -z "$ECHO"; then
  9940. +if test "X${echo_test_string+set}" != Xset; then
  9941. +# find a string as large as possible, as long as the shell can cope with it
  9942. + for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do
  9943. + # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
  9944. + if (echo_test_string="`eval $cmd`") 2>/dev/null &&
  9945. + echo_test_string="`eval $cmd`" &&
  9946. + (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
  9947. + then
  9948. + break
  9949. + fi
  9950. + done
  9951. +fi
  9952. +
  9953. +if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
  9954. + echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
  9955. + test "X$echo_testing_string" = "X$echo_test_string"; then
  9956. + :
  9957. +else
  9958. + # The Solaris, AIX, and Digital Unix default echo programs unquote
  9959. + # backslashes. This makes it impossible to quote backslashes using
  9960. + # echo "$something" | sed 's/\\/\\\\/g'
  9961. + #
  9962. + # So, first we look for a working echo in the user's PATH.
  9963. +
  9964. + IFS="${IFS= }"; save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  9965. + for dir in $PATH /usr/ucb; do
  9966. + if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
  9967. + test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
  9968. + echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
  9969. + test "X$echo_testing_string" = "X$echo_test_string"; then
  9970. + echo="$dir/echo"
  9971. + break
  9972. + fi
  9973. + done
  9974. + IFS="$save_ifs"
  9975. +
  9976. + if test "X$echo" = Xecho; then
  9977. + # We didn't find a better echo, so look for alternatives.
  9978. + if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
  9979. + echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
  9980. + test "X$echo_testing_string" = "X$echo_test_string"; then
  9981. + # This shell has a builtin print -r that does the trick.
  9982. + echo='print -r'
  9983. + elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
  9984. + test "X$CONFIG_SHELL" != X/bin/ksh; then
  9985. + # If we have ksh, try running configure again with it.
  9986. + ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
  9987. + export ORIGINAL_CONFIG_SHELL
  9988. + CONFIG_SHELL=/bin/ksh
  9989. + export CONFIG_SHELL
  9990. + exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"}
  9991. + else
  9992. + # Try using printf.
  9993. + echo='printf %s\n'
  9994. + if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
  9995. + echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
  9996. + test "X$echo_testing_string" = "X$echo_test_string"; then
  9997. + # Cool, printf works
  9998. + :
  9999. + elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
  10000. + test "X$echo_testing_string" = 'X\t' &&
  10001. + echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
  10002. + test "X$echo_testing_string" = "X$echo_test_string"; then
  10003. + CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
  10004. + export CONFIG_SHELL
  10005. + SHELL="$CONFIG_SHELL"
  10006. + export SHELL
  10007. + echo="$CONFIG_SHELL [$]0 --fallback-echo"
  10008. + elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
  10009. + test "X$echo_testing_string" = 'X\t' &&
  10010. + echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
  10011. + test "X$echo_testing_string" = "X$echo_test_string"; then
  10012. + echo="$CONFIG_SHELL [$]0 --fallback-echo"
  10013. + else
  10014. + # maybe with a smaller string...
  10015. + prev=:
  10016. +
  10017. + for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do
  10018. + if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
  10019. + then
  10020. + break
  10021. + fi
  10022. + prev="$cmd"
  10023. + done
  10024. +
  10025. + if test "$prev" != 'sed 50q "[$]0"'; then
  10026. + echo_test_string=`eval $prev`
  10027. + export echo_test_string
  10028. + exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"}
  10029. + else
  10030. + # Oops. We lost completely, so just stick with echo.
  10031. + echo=echo
  10032. + fi
  10033. + fi
  10034. + fi
  10035. + fi
  10036. +fi
  10037. +fi
  10038. +
  10039. +# Copy echo and quote the copy suitably for passing to libtool from
  10040. +# the Makefile, instead of quoting the original, which is used later.
  10041. +ECHO=$echo
  10042. +if test "X$ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then
  10043. + ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo"
  10044. +fi
  10045. +
  10046. +AC_SUBST(ECHO)
  10047. +AC_DIVERT_POP
  10048. +])# _LT_AC_PROG_ECHO_BACKSLASH
  10049. +
  10050. +# _LT_AC_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
  10051. +# ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
  10052. +# ------------------------------------------------------------------
  10053. +AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF],
  10054. +[if test "$cross_compiling" = yes; then :
  10055. + [$4]
  10056. +else
  10057. + AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
  10058. + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
  10059. + lt_status=$lt_dlunknown
  10060. + cat > conftest.$ac_ext <<EOF
  10061. +[#line __oline__ "configure"
  10062. +#include "confdefs.h"
  10063. +
  10064. +#if HAVE_DLFCN_H
  10065. +#include <dlfcn.h>
  10066. +#endif
  10067. +
  10068. +#include <stdio.h>
  10069. +
  10070. +#ifdef RTLD_GLOBAL
  10071. +# define LT_DLGLOBAL RTLD_GLOBAL
  10072. +#else
  10073. +# ifdef DL_GLOBAL
  10074. +# define LT_DLGLOBAL DL_GLOBAL
  10075. +# else
  10076. +# define LT_DLGLOBAL 0
  10077. +# endif
  10078. +#endif
  10079. +
  10080. +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
  10081. + find out it does not work in some platform. */
  10082. +#ifndef LT_DLLAZY_OR_NOW
  10083. +# ifdef RTLD_LAZY
  10084. +# define LT_DLLAZY_OR_NOW RTLD_LAZY
  10085. +# else
  10086. +# ifdef DL_LAZY
  10087. +# define LT_DLLAZY_OR_NOW DL_LAZY
  10088. +# else
  10089. +# ifdef RTLD_NOW
  10090. +# define LT_DLLAZY_OR_NOW RTLD_NOW
  10091. +# else
  10092. +# ifdef DL_NOW
  10093. +# define LT_DLLAZY_OR_NOW DL_NOW
  10094. +# else
  10095. +# define LT_DLLAZY_OR_NOW 0
  10096. +# endif
  10097. +# endif
  10098. +# endif
  10099. +# endif
  10100. +#endif
  10101. +
  10102. +#ifdef __cplusplus
  10103. +extern "C" void exit (int);
  10104. +#endif
  10105. +
  10106. +void fnord() { int i=42;}
  10107. +int main ()
  10108. +{
  10109. + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
  10110. + int status = $lt_dlunknown;
  10111. +
  10112. + if (self)
  10113. + {
  10114. + if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
  10115. + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
  10116. + /* dlclose (self); */
  10117. + }
  10118. +
  10119. + exit (status);
  10120. +}]
  10121. +EOF
  10122. + if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then
  10123. + (./conftest; exit; ) 2>/dev/null
  10124. + lt_status=$?
  10125. + case x$lt_status in
  10126. + x$lt_dlno_uscore) $1 ;;
  10127. + x$lt_dlneed_uscore) $2 ;;
  10128. + x$lt_unknown|x*) $3 ;;
  10129. + esac
  10130. + else :
  10131. + # compilation failed
  10132. + $3
  10133. + fi
  10134. +fi
  10135. +rm -fr conftest*
  10136. +])# _LT_AC_TRY_DLOPEN_SELF
  10137. +
  10138. +# AC_LIBTOOL_DLOPEN_SELF
  10139. +# -------------------
  10140. +AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF],
  10141. +[if test "x$enable_dlopen" != xyes; then
  10142. + enable_dlopen=unknown
  10143. + enable_dlopen_self=unknown
  10144. + enable_dlopen_self_static=unknown
  10145. +else
  10146. + lt_cv_dlopen=no
  10147. + lt_cv_dlopen_libs=
  10148. +
  10149. + case $host_os in
  10150. + beos*)
  10151. + lt_cv_dlopen="load_add_on"
  10152. + lt_cv_dlopen_libs=
  10153. + lt_cv_dlopen_self=yes
  10154. + ;;
  10155. +
  10156. + cygwin* | mingw* | pw32*)
  10157. + lt_cv_dlopen="LoadLibrary"
  10158. + lt_cv_dlopen_libs=
  10159. + ;;
  10160. +
  10161. + *)
  10162. + AC_CHECK_FUNC([shl_load],
  10163. + [lt_cv_dlopen="shl_load"],
  10164. + [AC_CHECK_LIB([dld], [shl_load],
  10165. + [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"],
  10166. + [AC_CHECK_FUNC([dlopen],
  10167. + [lt_cv_dlopen="dlopen"],
  10168. + [AC_CHECK_LIB([dl], [dlopen],
  10169. + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
  10170. + [AC_CHECK_LIB([svld], [dlopen],
  10171. + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
  10172. + [AC_CHECK_LIB([dld], [dld_link],
  10173. + [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
  10174. + ])
  10175. + ])
  10176. + ])
  10177. + ])
  10178. + ])
  10179. + ;;
  10180. + esac
  10181. +
  10182. + if test "x$lt_cv_dlopen" != xno; then
  10183. + enable_dlopen=yes
  10184. + else
  10185. + enable_dlopen=no
  10186. + fi
  10187. +
  10188. + case $lt_cv_dlopen in
  10189. + dlopen)
  10190. + save_CPPFLAGS="$CPPFLAGS"
  10191. + AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
  10192. + test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
  10193. +
  10194. + save_LDFLAGS="$LDFLAGS"
  10195. + eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
  10196. +
  10197. + save_LIBS="$LIBS"
  10198. + LIBS="$lt_cv_dlopen_libs $LIBS"
  10199. +
  10200. + AC_CACHE_CHECK([whether a program can dlopen itself],
  10201. + lt_cv_dlopen_self, [dnl
  10202. + _LT_AC_TRY_DLOPEN_SELF(
  10203. + lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes,
  10204. + lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross)
  10205. + ])
  10206. +
  10207. + if test "x$lt_cv_dlopen_self" = xyes; then
  10208. + LDFLAGS="$LDFLAGS $link_static_flag"
  10209. + AC_CACHE_CHECK([whether a statically linked program can dlopen itself],
  10210. + lt_cv_dlopen_self_static, [dnl
  10211. + _LT_AC_TRY_DLOPEN_SELF(
  10212. + lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes,
  10213. + lt_cv_dlopen_self_static=no, lt_cv_dlopen_self_static=cross)
  10214. + ])
  10215. + fi
  10216. +
  10217. + CPPFLAGS="$save_CPPFLAGS"
  10218. + LDFLAGS="$save_LDFLAGS"
  10219. + LIBS="$save_LIBS"
  10220. + ;;
  10221. + esac
  10222. +
  10223. + case $lt_cv_dlopen_self in
  10224. + yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
  10225. + *) enable_dlopen_self=unknown ;;
  10226. + esac
  10227. +
  10228. + case $lt_cv_dlopen_self_static in
  10229. + yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
  10230. + *) enable_dlopen_self_static=unknown ;;
  10231. + esac
  10232. +fi
  10233. +])# AC_LIBTOOL_DLOPEN_SELF
  10234. +
  10235. +AC_DEFUN([_LT_AC_LTCONFIG_HACK],
  10236. +[AC_REQUIRE([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE])dnl
  10237. +# Sed substitution that helps us do robust quoting. It backslashifies
  10238. +# metacharacters that are still active within double-quoted strings.
  10239. +Xsed='sed -e s/^X//'
  10240. +sed_quote_subst='s/\([[\\"\\`$\\\\]]\)/\\\1/g'
  10241. +
  10242. +# Same as above, but do not quote variable references.
  10243. +double_quote_subst='s/\([[\\"\\`\\\\]]\)/\\\1/g'
  10244. +
  10245. +# Sed substitution to delay expansion of an escaped shell variable in a
  10246. +# double_quote_subst'ed string.
  10247. +delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
  10248. +
  10249. +# Constants:
  10250. +rm="rm -f"
  10251. +
  10252. +# Global variables:
  10253. +default_ofile=libtool
  10254. +can_build_shared=yes
  10255. +
  10256. +# All known linkers require a `.a' archive for static linking (except M$VC,
  10257. +# which needs '.lib').
  10258. +libext=a
  10259. +ltmain="$ac_aux_dir/ltmain.sh"
  10260. +ofile="$default_ofile"
  10261. +with_gnu_ld="$lt_cv_prog_gnu_ld"
  10262. +need_locks="$enable_libtool_lock"
  10263. +
  10264. +old_CC="$CC"
  10265. +old_CFLAGS="$CFLAGS"
  10266. +
  10267. +# Set sane defaults for various variables
  10268. +test -z "$AR" && AR=ar
  10269. +test -z "$AR_FLAGS" && AR_FLAGS=cru
  10270. +test -z "$AS" && AS=as
  10271. +test -z "$CC" && CC=cc
  10272. +test -z "$DLLTOOL" && DLLTOOL=dlltool
  10273. +test -z "$LD" && LD=ld
  10274. +test -z "$LN_S" && LN_S="ln -s"
  10275. +test -z "$MAGIC_CMD" && MAGIC_CMD=file
  10276. +test -z "$NM" && NM=nm
  10277. +test -z "$OBJDUMP" && OBJDUMP=objdump
  10278. +test -z "$RANLIB" && RANLIB=:
  10279. +test -z "$STRIP" && STRIP=:
  10280. +test -z "$ac_objext" && ac_objext=o
  10281. +
  10282. +if test x"$host" != x"$build"; then
  10283. + ac_tool_prefix=${host_alias}-
  10284. +else
  10285. + ac_tool_prefix=
  10286. +fi
  10287. +
  10288. +# Transform linux* to *-*-linux-gnu*, to support old configure scripts.
  10289. +case $host_os in
  10290. +linux-gnu*) ;;
  10291. +linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'`
  10292. +esac
  10293. +
  10294. +case $host_os in
  10295. +aix3*)
  10296. + # AIX sometimes has problems with the GCC collect2 program. For some
  10297. + # reason, if we set the COLLECT_NAMES environment variable, the problems
  10298. + # vanish in a puff of smoke.
  10299. + if test "X${COLLECT_NAMES+set}" != Xset; then
  10300. + COLLECT_NAMES=
  10301. + export COLLECT_NAMES
  10302. + fi
  10303. + ;;
  10304. +esac
  10305. +
  10306. +# Determine commands to create old-style static archives.
  10307. +old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
  10308. +old_postinstall_cmds='chmod 644 $oldlib'
  10309. +old_postuninstall_cmds=
  10310. +
  10311. +if test -n "$RANLIB"; then
  10312. + case $host_os in
  10313. + openbsd*)
  10314. + old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
  10315. + ;;
  10316. + *)
  10317. + old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
  10318. + ;;
  10319. + esac
  10320. + old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
  10321. +fi
  10322. +
  10323. +# Allow CC to be a program name with arguments.
  10324. +set dummy $CC
  10325. +compiler="[$]2"
  10326. +
  10327. +## FIXME: this should be a separate macro
  10328. +##
  10329. +AC_MSG_CHECKING([for objdir])
  10330. +rm -f .libs 2>/dev/null
  10331. +mkdir .libs 2>/dev/null
  10332. +if test -d .libs; then
  10333. + objdir=.libs
  10334. +else
  10335. + # MS-DOS does not allow filenames that begin with a dot.
  10336. + objdir=_libs
  10337. +fi
  10338. +rmdir .libs 2>/dev/null
  10339. +AC_MSG_RESULT($objdir)
  10340. +##
  10341. +## END FIXME
  10342. +
  10343. +
  10344. +## FIXME: this should be a separate macro
  10345. +##
  10346. +AC_ARG_WITH(pic,
  10347. +[ --with-pic try to use only PIC/non-PIC objects [default=use both]],
  10348. +pic_mode="$withval", pic_mode=default)
  10349. +test -z "$pic_mode" && pic_mode=default
  10350. +
  10351. +# We assume here that the value for lt_cv_prog_cc_pic will not be cached
  10352. +# in isolation, and that seeing it set (from the cache) indicates that
  10353. +# the associated values are set (in the cache) correctly too.
  10354. +AC_MSG_CHECKING([for $compiler option to produce PIC])
  10355. +AC_CACHE_VAL(lt_cv_prog_cc_pic,
  10356. +[ lt_cv_prog_cc_pic=
  10357. + lt_cv_prog_cc_shlib=
  10358. + lt_cv_prog_cc_wl=
  10359. + lt_cv_prog_cc_static=
  10360. + lt_cv_prog_cc_no_builtin=
  10361. + lt_cv_prog_cc_can_build_shared=$can_build_shared
  10362. +
  10363. + if test "$GCC" = yes; then
  10364. + lt_cv_prog_cc_wl='-Wl,'
  10365. + lt_cv_prog_cc_static='-static'
  10366. +
  10367. + case $host_os in
  10368. + aix*)
  10369. + # Below there is a dirty hack to force normal static linking with -ldl
  10370. + # The problem is because libdl dynamically linked with both libc and
  10371. + # libC (AIX C++ library), which obviously doesn't included in libraries
  10372. + # list by gcc. This cause undefined symbols with -static flags.
  10373. + # This hack allows C programs to be linked with "-static -ldl", but
  10374. + # not sure about C++ programs.
  10375. + lt_cv_prog_cc_static="$lt_cv_prog_cc_static ${lt_cv_prog_cc_wl}-lC"
  10376. + ;;
  10377. + amigaos*)
  10378. + # FIXME: we need at least 68020 code to build shared libraries, but
  10379. + # adding the `-m68020' flag to GCC prevents building anything better,
  10380. + # like `-m68040'.
  10381. + lt_cv_prog_cc_pic='-m68020 -resident32 -malways-restore-a4'
  10382. + ;;
  10383. + beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
  10384. + # PIC is the default for these OSes.
  10385. + ;;
  10386. + darwin* | rhapsody*)
  10387. + # PIC is the default on this platform
  10388. + # Common symbols not allowed in MH_DYLIB files
  10389. + lt_cv_prog_cc_pic='-fno-common'
  10390. + ;;
  10391. + cygwin* | mingw* | pw32* | os2*)
  10392. + # This hack is so that the source file can tell whether it is being
  10393. + # built for inclusion in a dll (and should export symbols for example).
  10394. + lt_cv_prog_cc_pic='-DDLL_EXPORT'
  10395. + ;;
  10396. + sysv4*MP*)
  10397. + if test -d /usr/nec; then
  10398. + lt_cv_prog_cc_pic=-Kconform_pic
  10399. + fi
  10400. + ;;
  10401. + *)
  10402. + lt_cv_prog_cc_pic='-fPIC'
  10403. + ;;
  10404. + esac
  10405. + else
  10406. + # PORTME Check for PIC flags for the system compiler.
  10407. + case $host_os in
  10408. + aix3* | aix4* | aix5*)
  10409. + lt_cv_prog_cc_wl='-Wl,'
  10410. + # All AIX code is PIC.
  10411. + if test "$host_cpu" = ia64; then
  10412. + # AIX 5 now supports IA64 processor
  10413. + lt_cv_prog_cc_static='-Bstatic'
  10414. + else
  10415. + lt_cv_prog_cc_static='-bnso -bI:/lib/syscalls.exp'
  10416. + fi
  10417. + ;;
  10418. +
  10419. + hpux9* | hpux10* | hpux11*)
  10420. + # Is there a better lt_cv_prog_cc_static that works with the bundled CC?
  10421. + lt_cv_prog_cc_wl='-Wl,'
  10422. + lt_cv_prog_cc_static="${lt_cv_prog_cc_wl}-a ${lt_cv_prog_cc_wl}archive"
  10423. + lt_cv_prog_cc_pic='+Z'
  10424. + ;;
  10425. +
  10426. + irix5* | irix6* | nonstopux*)
  10427. + lt_cv_prog_cc_wl='-Wl,'
  10428. + lt_cv_prog_cc_static='-non_shared'
  10429. + # PIC (with -KPIC) is the default.
  10430. + ;;
  10431. +
  10432. + cygwin* | mingw* | pw32* | os2*)
  10433. + # This hack is so that the source file can tell whether it is being
  10434. + # built for inclusion in a dll (and should export symbols for example).
  10435. + lt_cv_prog_cc_pic='-DDLL_EXPORT'
  10436. + ;;
  10437. +
  10438. + newsos6)
  10439. + lt_cv_prog_cc_pic='-KPIC'
  10440. + lt_cv_prog_cc_static='-Bstatic'
  10441. + ;;
  10442. +
  10443. + osf3* | osf4* | osf5*)
  10444. + # All OSF/1 code is PIC.
  10445. + lt_cv_prog_cc_wl='-Wl,'
  10446. + lt_cv_prog_cc_static='-non_shared'
  10447. + ;;
  10448. +
  10449. + sco3.2v5*)
  10450. + lt_cv_prog_cc_pic='-Kpic'
  10451. + lt_cv_prog_cc_static='-dn'
  10452. + lt_cv_prog_cc_shlib='-belf'
  10453. + ;;
  10454. +
  10455. + solaris*)
  10456. + lt_cv_prog_cc_pic='-KPIC'
  10457. + lt_cv_prog_cc_static='-Bstatic'
  10458. + lt_cv_prog_cc_wl='-Wl,'
  10459. + ;;
  10460. +
  10461. + sunos4*)
  10462. + lt_cv_prog_cc_pic='-PIC'
  10463. + lt_cv_prog_cc_static='-Bstatic'
  10464. + lt_cv_prog_cc_wl='-Qoption ld '
  10465. + ;;
  10466. +
  10467. + sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
  10468. + lt_cv_prog_cc_pic='-KPIC'
  10469. + lt_cv_prog_cc_static='-Bstatic'
  10470. + lt_cv_prog_cc_wl='-Wl,'
  10471. + ;;
  10472. +
  10473. + uts4*)
  10474. + lt_cv_prog_cc_pic='-pic'
  10475. + lt_cv_prog_cc_static='-Bstatic'
  10476. + ;;
  10477. +
  10478. + sysv4*MP*)
  10479. + if test -d /usr/nec ;then
  10480. + lt_cv_prog_cc_pic='-Kconform_pic'
  10481. + lt_cv_prog_cc_static='-Bstatic'
  10482. + fi
  10483. + ;;
  10484. +
  10485. + *)
  10486. + lt_cv_prog_cc_can_build_shared=no
  10487. + ;;
  10488. + esac
  10489. + fi
  10490. +])
  10491. +if test -z "$lt_cv_prog_cc_pic"; then
  10492. + AC_MSG_RESULT([none])
  10493. +else
  10494. + AC_MSG_RESULT([$lt_cv_prog_cc_pic])
  10495. +
  10496. + # Check to make sure the pic_flag actually works.
  10497. + AC_MSG_CHECKING([if $compiler PIC flag $lt_cv_prog_cc_pic works])
  10498. + AC_CACHE_VAL(lt_cv_prog_cc_pic_works, [dnl
  10499. + save_CFLAGS="$CFLAGS"
  10500. + CFLAGS="$CFLAGS $lt_cv_prog_cc_pic -DPIC"
  10501. + AC_TRY_COMPILE([], [], [dnl
  10502. + case $host_os in
  10503. + hpux9* | hpux10* | hpux11*)
  10504. + # On HP-UX, both CC and GCC only warn that PIC is supported... then
  10505. + # they create non-PIC objects. So, if there were any warnings, we
  10506. + # assume that PIC is not supported.
  10507. + if test -s conftest.err; then
  10508. + lt_cv_prog_cc_pic_works=no
  10509. + else
  10510. + lt_cv_prog_cc_pic_works=yes
  10511. + fi
  10512. + ;;
  10513. + *)
  10514. + lt_cv_prog_cc_pic_works=yes
  10515. + ;;
  10516. + esac
  10517. + ], [dnl
  10518. + lt_cv_prog_cc_pic_works=no
  10519. + ])
  10520. + CFLAGS="$save_CFLAGS"
  10521. + ])
  10522. +
  10523. + if test "X$lt_cv_prog_cc_pic_works" = Xno; then
  10524. + lt_cv_prog_cc_pic=
  10525. + lt_cv_prog_cc_can_build_shared=no
  10526. + else
  10527. + lt_cv_prog_cc_pic=" $lt_cv_prog_cc_pic"
  10528. + fi
  10529. +
  10530. + AC_MSG_RESULT([$lt_cv_prog_cc_pic_works])
  10531. +fi
  10532. +##
  10533. +## END FIXME
  10534. +
  10535. +# Check for any special shared library compilation flags.
  10536. +if test -n "$lt_cv_prog_cc_shlib"; then
  10537. + AC_MSG_WARN([\`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries])
  10538. + if echo "$old_CC $old_CFLAGS " | egrep -e "[[ ]]$lt_cv_prog_cc_shlib[[ ]]" >/dev/null; then :
  10539. + else
  10540. + AC_MSG_WARN([add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure])
  10541. + lt_cv_prog_cc_can_build_shared=no
  10542. + fi
  10543. +fi
  10544. +
  10545. +## FIXME: this should be a separate macro
  10546. +##
  10547. +AC_MSG_CHECKING([if $compiler static flag $lt_cv_prog_cc_static works])
  10548. +AC_CACHE_VAL([lt_cv_prog_cc_static_works], [dnl
  10549. + lt_cv_prog_cc_static_works=no
  10550. + save_LDFLAGS="$LDFLAGS"
  10551. + LDFLAGS="$LDFLAGS $lt_cv_prog_cc_static"
  10552. + AC_TRY_LINK([], [], [lt_cv_prog_cc_static_works=yes])
  10553. + LDFLAGS="$save_LDFLAGS"
  10554. +])
  10555. +
  10556. +# Belt *and* braces to stop my trousers falling down:
  10557. +test "X$lt_cv_prog_cc_static_works" = Xno && lt_cv_prog_cc_static=
  10558. +AC_MSG_RESULT([$lt_cv_prog_cc_static_works])
  10559. +
  10560. +pic_flag="$lt_cv_prog_cc_pic"
  10561. +special_shlib_compile_flags="$lt_cv_prog_cc_shlib"
  10562. +wl="$lt_cv_prog_cc_wl"
  10563. +link_static_flag="$lt_cv_prog_cc_static"
  10564. +no_builtin_flag="$lt_cv_prog_cc_no_builtin"
  10565. +can_build_shared="$lt_cv_prog_cc_can_build_shared"
  10566. +##
  10567. +## END FIXME
  10568. +
  10569. +
  10570. +## FIXME: this should be a separate macro
  10571. +##
  10572. +# Check to see if options -o and -c are simultaneously supported by compiler
  10573. +AC_MSG_CHECKING([if $compiler supports -c -o file.$ac_objext])
  10574. +AC_CACHE_VAL([lt_cv_compiler_c_o], [
  10575. +$rm -r conftest 2>/dev/null
  10576. +mkdir conftest
  10577. +cd conftest
  10578. +echo "int some_variable = 0;" > conftest.$ac_ext
  10579. +mkdir out
  10580. +# According to Tom Tromey, Ian Lance Taylor reported there are C compilers
  10581. +# that will create temporary files in the current directory regardless of
  10582. +# the output directory. Thus, making CWD read-only will cause this test
  10583. +# to fail, enabling locking or at least warning the user not to do parallel
  10584. +# builds.
  10585. +chmod -w .
  10586. +save_CFLAGS="$CFLAGS"
  10587. +CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"
  10588. +compiler_c_o=no
  10589. +if { (eval echo configure:__oline__: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
  10590. + # The compiler can only warn and ignore the option if not recognized
  10591. + # So say no if there are warnings
  10592. + if test -s out/conftest.err; then
  10593. + lt_cv_compiler_c_o=no
  10594. + else
  10595. + lt_cv_compiler_c_o=yes
  10596. + fi
  10597. +else
  10598. + # Append any errors to the config.log.
  10599. + cat out/conftest.err 1>&AC_FD_CC
  10600. + lt_cv_compiler_c_o=no
  10601. +fi
  10602. +CFLAGS="$save_CFLAGS"
  10603. +chmod u+w .
  10604. +$rm conftest* out/*
  10605. +rmdir out
  10606. +cd ..
  10607. +rmdir conftest
  10608. +$rm -r conftest 2>/dev/null
  10609. +])
  10610. +compiler_c_o=$lt_cv_compiler_c_o
  10611. +AC_MSG_RESULT([$compiler_c_o])
  10612. +
  10613. +if test x"$compiler_c_o" = x"yes"; then
  10614. + # Check to see if we can write to a .lo
  10615. + AC_MSG_CHECKING([if $compiler supports -c -o file.lo])
  10616. + AC_CACHE_VAL([lt_cv_compiler_o_lo], [
  10617. + lt_cv_compiler_o_lo=no
  10618. + save_CFLAGS="$CFLAGS"
  10619. + CFLAGS="$CFLAGS -c -o conftest.lo"
  10620. + save_objext="$ac_objext"
  10621. + ac_objext=lo
  10622. + AC_TRY_COMPILE([], [int some_variable = 0;], [dnl
  10623. + # The compiler can only warn and ignore the option if not recognized
  10624. + # So say no if there are warnings
  10625. + if test -s conftest.err; then
  10626. + lt_cv_compiler_o_lo=no
  10627. + else
  10628. + lt_cv_compiler_o_lo=yes
  10629. + fi
  10630. + ])
  10631. + ac_objext="$save_objext"
  10632. + CFLAGS="$save_CFLAGS"
  10633. + ])
  10634. + compiler_o_lo=$lt_cv_compiler_o_lo
  10635. + AC_MSG_RESULT([$compiler_o_lo])
  10636. +else
  10637. + compiler_o_lo=no
  10638. +fi
  10639. +##
  10640. +## END FIXME
  10641. +
  10642. +## FIXME: this should be a separate macro
  10643. +##
  10644. +# Check to see if we can do hard links to lock some files if needed
  10645. +hard_links="nottested"
  10646. +if test "$compiler_c_o" = no && test "$need_locks" != no; then
  10647. + # do not overwrite the value of need_locks provided by the user
  10648. + AC_MSG_CHECKING([if we can lock with hard links])
  10649. + hard_links=yes
  10650. + $rm conftest*
  10651. + ln conftest.a conftest.b 2>/dev/null && hard_links=no
  10652. + touch conftest.a
  10653. + ln conftest.a conftest.b 2>&5 || hard_links=no
  10654. + ln conftest.a conftest.b 2>/dev/null && hard_links=no
  10655. + AC_MSG_RESULT([$hard_links])
  10656. + if test "$hard_links" = no; then
  10657. + AC_MSG_WARN([\`$CC' does not support \`-c -o', so \`make -j' may be unsafe])
  10658. + need_locks=warn
  10659. + fi
  10660. +else
  10661. + need_locks=no
  10662. +fi
  10663. +##
  10664. +## END FIXME
  10665. +
  10666. +## FIXME: this should be a separate macro
  10667. +##
  10668. +if test "$GCC" = yes; then
  10669. + # Check to see if options -fno-rtti -fno-exceptions are supported by compiler
  10670. + AC_MSG_CHECKING([if $compiler supports -fno-rtti -fno-exceptions])
  10671. + echo "int some_variable = 0;" > conftest.$ac_ext
  10672. + save_CFLAGS="$CFLAGS"
  10673. + CFLAGS="$CFLAGS -fno-rtti -fno-exceptions -c conftest.$ac_ext"
  10674. + compiler_rtti_exceptions=no
  10675. + AC_TRY_COMPILE([], [int some_variable = 0;], [dnl
  10676. + # The compiler can only warn and ignore the option if not recognized
  10677. + # So say no if there are warnings
  10678. + if test -s conftest.err; then
  10679. + compiler_rtti_exceptions=no
  10680. + else
  10681. + compiler_rtti_exceptions=yes
  10682. + fi
  10683. + ])
  10684. + CFLAGS="$save_CFLAGS"
  10685. + AC_MSG_RESULT([$compiler_rtti_exceptions])
  10686. +
  10687. + if test "$compiler_rtti_exceptions" = "yes"; then
  10688. + no_builtin_flag=' -fno-builtin -fno-rtti -fno-exceptions'
  10689. + else
  10690. + no_builtin_flag=' -fno-builtin'
  10691. + fi
  10692. +fi
  10693. +##
  10694. +## END FIXME
  10695. +
  10696. +## FIXME: this should be a separate macro
  10697. +##
  10698. +# See if the linker supports building shared libraries.
  10699. +AC_MSG_CHECKING([whether the linker ($LD) supports shared libraries])
  10700. +
  10701. +allow_undefined_flag=
  10702. +no_undefined_flag=
  10703. +need_lib_prefix=unknown
  10704. +need_version=unknown
  10705. +# when you set need_version to no, make sure it does not cause -set_version
  10706. +# flags to be left without arguments
  10707. +archive_cmds=
  10708. +archive_expsym_cmds=
  10709. +old_archive_from_new_cmds=
  10710. +old_archive_from_expsyms_cmds=
  10711. +export_dynamic_flag_spec=
  10712. +whole_archive_flag_spec=
  10713. +thread_safe_flag_spec=
  10714. +hardcode_into_libs=no
  10715. +hardcode_libdir_flag_spec=
  10716. +hardcode_libdir_separator=
  10717. +hardcode_direct=no
  10718. +hardcode_minus_L=no
  10719. +hardcode_shlibpath_var=unsupported
  10720. +runpath_var=
  10721. +link_all_deplibs=unknown
  10722. +always_export_symbols=no
  10723. +export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | sed '\''s/.* //'\'' | sort | uniq > $export_symbols'
  10724. +# include_expsyms should be a list of space-separated symbols to be *always*
  10725. +# included in the symbol list
  10726. +include_expsyms=
  10727. +# exclude_expsyms can be an egrep regular expression of symbols to exclude
  10728. +# it will be wrapped by ` (' and `)$', so one must not match beginning or
  10729. +# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
  10730. +# as well as any symbol that contains `d'.
  10731. +exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
  10732. +# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
  10733. +# platforms (ab)use it in PIC code, but their linkers get confused if
  10734. +# the symbol is explicitly referenced. Since portable code cannot
  10735. +# rely on this symbol name, it's probably fine to never include it in
  10736. +# preloaded symbol tables.
  10737. +extract_expsyms_cmds=
  10738. +
  10739. +case $host_os in
  10740. +cygwin* | mingw* | pw32*)
  10741. + # FIXME: the MSVC++ port hasn't been tested in a loooong time
  10742. + # When not using gcc, we currently assume that we are using
  10743. + # Microsoft Visual C++.
  10744. + if test "$GCC" != yes; then
  10745. + with_gnu_ld=no
  10746. + fi
  10747. + ;;
  10748. +openbsd*)
  10749. + with_gnu_ld=no
  10750. + ;;
  10751. +esac
  10752. +
  10753. +ld_shlibs=yes
  10754. +if test "$with_gnu_ld" = yes; then
  10755. + # If archive_cmds runs LD, not CC, wlarc should be empty
  10756. + wlarc='${wl}'
  10757. +
  10758. + # See if GNU ld supports shared libraries.
  10759. + case $host_os in
  10760. + aix3* | aix4* | aix5*)
  10761. + # On AIX, the GNU linker is very broken
  10762. + # Note:Check GNU linker on AIX 5-IA64 when/if it becomes available.
  10763. + ld_shlibs=no
  10764. + cat <<EOF 1>&2
  10765. +
  10766. +*** Warning: the GNU linker, at least up to release 2.9.1, is reported
  10767. +*** to be unable to reliably create shared libraries on AIX.
  10768. +*** Therefore, libtool is disabling shared libraries support. If you
  10769. +*** really care for shared libraries, you may want to modify your PATH
  10770. +*** so that a non-GNU linker is found, and then restart.
  10771. +
  10772. +EOF
  10773. + ;;
  10774. +
  10775. + amigaos*)
  10776. + 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)'
  10777. + hardcode_libdir_flag_spec='-L$libdir'
  10778. + hardcode_minus_L=yes
  10779. +
  10780. + # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
  10781. + # that the semantics of dynamic libraries on AmigaOS, at least up
  10782. + # to version 4, is to share data among multiple programs linked
  10783. + # with the same dynamic library. Since this doesn't match the
  10784. + # behavior of shared libraries on other platforms, we can use
  10785. + # them.
  10786. + ld_shlibs=no
  10787. + ;;
  10788. +
  10789. + beos*)
  10790. + if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
  10791. + allow_undefined_flag=unsupported
  10792. + # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
  10793. + # support --undefined. This deserves some investigation. FIXME
  10794. + archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  10795. + else
  10796. + ld_shlibs=no
  10797. + fi
  10798. + ;;
  10799. +
  10800. + cygwin* | mingw* | pw32*)
  10801. + # hardcode_libdir_flag_spec is actually meaningless, as there is
  10802. + # no search path for DLLs.
  10803. + hardcode_libdir_flag_spec='-L$libdir'
  10804. + allow_undefined_flag=unsupported
  10805. + always_export_symbols=yes
  10806. +
  10807. + extract_expsyms_cmds='test -f $output_objdir/impgen.c || \
  10808. + sed -e "/^# \/\* impgen\.c starts here \*\//,/^# \/\* impgen.c ends here \*\// { s/^# //;s/^# *$//; p; }" -e d < $''0 > $output_objdir/impgen.c~
  10809. + test -f $output_objdir/impgen.exe || (cd $output_objdir && \
  10810. + if test "x$HOST_CC" != "x" ; then $HOST_CC -o impgen impgen.c ; \
  10811. + else $CC -o impgen impgen.c ; fi)~
  10812. + $output_objdir/impgen $dir/$soroot > $output_objdir/$soname-def'
  10813. +
  10814. + old_archive_from_expsyms_cmds='$DLLTOOL --as=$AS --dllname $soname --def $output_objdir/$soname-def --output-lib $output_objdir/$newlib'
  10815. +
  10816. + # cygwin and mingw dlls have different entry points and sets of symbols
  10817. + # to exclude.
  10818. + # FIXME: what about values for MSVC?
  10819. + dll_entry=__cygwin_dll_entry@12
  10820. + dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12~
  10821. + case $host_os in
  10822. + mingw*)
  10823. + # mingw values
  10824. + dll_entry=_DllMainCRTStartup@12
  10825. + dll_exclude_symbols=DllMain@12,DllMainCRTStartup@12,DllEntryPoint@12~
  10826. + ;;
  10827. + esac
  10828. +
  10829. + # mingw and cygwin differ, and it's simplest to just exclude the union
  10830. + # of the two symbol sets.
  10831. + dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12,DllMainCRTStartup@12,DllEntryPoint@12
  10832. +
  10833. + # recent cygwin and mingw systems supply a stub DllMain which the user
  10834. + # can override, but on older systems we have to supply one (in ltdll.c)
  10835. + if test "x$lt_cv_need_dllmain" = "xyes"; then
  10836. + ltdll_obj='$output_objdir/$soname-ltdll.'"$ac_objext "
  10837. + 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~
  10838. + test -f $output_objdir/$soname-ltdll.$ac_objext || (cd $output_objdir && $CC -c $soname-ltdll.c)~'
  10839. + else
  10840. + ltdll_obj=
  10841. + ltdll_cmds=
  10842. + fi
  10843. +
  10844. + # Extract the symbol export list from an `--export-all' def file,
  10845. + # then regenerate the def file from the symbol export list, so that
  10846. + # the compiled dll only exports the symbol export list.
  10847. + # Be careful not to strip the DATA tag left be newer dlltools.
  10848. + export_symbols_cmds="$ltdll_cmds"'
  10849. + $DLLTOOL --export-all --exclude-symbols '$dll_exclude_symbols' --output-def $output_objdir/$soname-def '$ltdll_obj'$libobjs $convenience~
  10850. + sed -e "1,/EXPORTS/d" -e "s/ @ [[0-9]]*//" -e "s/ *;.*$//" < $output_objdir/$soname-def > $export_symbols'
  10851. +
  10852. + # If the export-symbols file already is a .def file (1st line
  10853. + # is EXPORTS), use it as is.
  10854. + # If DATA tags from a recent dlltool are present, honour them!
  10855. + archive_expsym_cmds='if test "x`sed 1q $export_symbols`" = xEXPORTS; then
  10856. + cp $export_symbols $output_objdir/$soname-def;
  10857. + else
  10858. + echo EXPORTS > $output_objdir/$soname-def;
  10859. + _lt_hint=1;
  10860. + cat $export_symbols | while read symbol; do
  10861. + set dummy \$symbol;
  10862. + case \[$]# in
  10863. + 2) echo " \[$]2 @ \$_lt_hint ; " >> $output_objdir/$soname-def;;
  10864. + 4) echo " \[$]2 \[$]3 \[$]4 ; " >> $output_objdir/$soname-def; _lt_hint=`expr \$_lt_hint - 1`;;
  10865. + *) echo " \[$]2 @ \$_lt_hint \[$]3 ; " >> $output_objdir/$soname-def;;
  10866. + esac;
  10867. + _lt_hint=`expr 1 + \$_lt_hint`;
  10868. + done;
  10869. + fi~
  10870. + '"$ltdll_cmds"'
  10871. + $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~
  10872. + $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~
  10873. + $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~
  10874. + $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~
  10875. + $CC $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags'
  10876. + ;;
  10877. +
  10878. + netbsd*)
  10879. + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
  10880. + archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
  10881. + wlarc=
  10882. + else
  10883. + archive_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  10884. + archive_expsym_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  10885. + fi
  10886. + ;;
  10887. +
  10888. + solaris* | sysv5*)
  10889. + if $LD -v 2>&1 | egrep 'BFD 2\.8' > /dev/null; then
  10890. + ld_shlibs=no
  10891. + cat <<EOF 1>&2
  10892. +
  10893. +*** Warning: The releases 2.8.* of the GNU linker cannot reliably
  10894. +*** create shared libraries on Solaris systems. Therefore, libtool
  10895. +*** is disabling shared libraries support. We urge you to upgrade GNU
  10896. +*** binutils to release 2.9.1 or newer. Another option is to modify
  10897. +*** your PATH or compiler configuration so that the native linker is
  10898. +*** used, and then restart.
  10899. +
  10900. +EOF
  10901. + elif $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
  10902. + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  10903. + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  10904. + else
  10905. + ld_shlibs=no
  10906. + fi
  10907. + ;;
  10908. +
  10909. + sunos4*)
  10910. + archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  10911. + wlarc=
  10912. + hardcode_direct=yes
  10913. + hardcode_shlibpath_var=no
  10914. + ;;
  10915. +
  10916. + *)
  10917. + if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
  10918. + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  10919. + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  10920. + else
  10921. + ld_shlibs=no
  10922. + fi
  10923. + ;;
  10924. + esac
  10925. +
  10926. + if test "$ld_shlibs" = yes; then
  10927. + runpath_var=LD_RUN_PATH
  10928. + hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
  10929. + export_dynamic_flag_spec='${wl}--export-dynamic'
  10930. + case $host_os in
  10931. + cygwin* | mingw* | pw32*)
  10932. + # dlltool doesn't understand --whole-archive et. al.
  10933. + whole_archive_flag_spec=
  10934. + ;;
  10935. + *)
  10936. + # ancient GNU ld didn't support --whole-archive et. al.
  10937. + if $LD --help 2>&1 | egrep 'no-whole-archive' > /dev/null; then
  10938. + whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
  10939. + else
  10940. + whole_archive_flag_spec=
  10941. + fi
  10942. + ;;
  10943. + esac
  10944. + fi
  10945. +else
  10946. + # PORTME fill in a description of your system's linker (not GNU ld)
  10947. + case $host_os in
  10948. + aix3*)
  10949. + allow_undefined_flag=unsupported
  10950. + always_export_symbols=yes
  10951. + 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'
  10952. + # Note: this linker hardcodes the directories in LIBPATH if there
  10953. + # are no directories specified by -L.
  10954. + hardcode_minus_L=yes
  10955. + if test "$GCC" = yes && test -z "$link_static_flag"; then
  10956. + # Neither direct hardcoding nor static linking is supported with a
  10957. + # broken collect2.
  10958. + hardcode_direct=unsupported
  10959. + fi
  10960. + ;;
  10961. +
  10962. + aix4* | aix5*)
  10963. + if test "$host_cpu" = ia64; then
  10964. + # On IA64, the linker does run time linking by default, so we don't
  10965. + # have to do anything special.
  10966. + aix_use_runtimelinking=no
  10967. + exp_sym_flag='-Bexport'
  10968. + no_entry_flag=""
  10969. + else
  10970. + aix_use_runtimelinking=no
  10971. +
  10972. + # Test if we are trying to use run time linking or normal
  10973. + # AIX style linking. If -brtl is somewhere in LDFLAGS, we
  10974. + # need to do runtime linking.
  10975. + case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*)
  10976. + for ld_flag in $LDFLAGS; do
  10977. + case $ld_flag in
  10978. + *-brtl*)
  10979. + aix_use_runtimelinking=yes
  10980. + break
  10981. + ;;
  10982. + esac
  10983. + done
  10984. + esac
  10985. +
  10986. + exp_sym_flag='-bexport'
  10987. + no_entry_flag='-bnoentry'
  10988. + fi
  10989. +
  10990. + # When large executables or shared objects are built, AIX ld can
  10991. + # have problems creating the table of contents. If linking a library
  10992. + # or program results in "error TOC overflow" add -mminimal-toc to
  10993. + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
  10994. + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
  10995. +
  10996. + hardcode_direct=yes
  10997. + archive_cmds=''
  10998. + hardcode_libdir_separator=':'
  10999. + if test "$GCC" = yes; then
  11000. + case $host_os in aix4.[[012]]|aix4.[[012]].*)
  11001. + collect2name=`${CC} -print-prog-name=collect2`
  11002. + if test -f "$collect2name" && \
  11003. + strings "$collect2name" | grep resolve_lib_name >/dev/null
  11004. + then
  11005. + # We have reworked collect2
  11006. + hardcode_direct=yes
  11007. + else
  11008. + # We have old collect2
  11009. + hardcode_direct=unsupported
  11010. + # It fails to find uninstalled libraries when the uninstalled
  11011. + # path is not listed in the libpath. Setting hardcode_minus_L
  11012. + # to unsupported forces relinking
  11013. + hardcode_minus_L=yes
  11014. + hardcode_libdir_flag_spec='-L$libdir'
  11015. + hardcode_libdir_separator=
  11016. + fi
  11017. + esac
  11018. +
  11019. + shared_flag='-shared'
  11020. + else
  11021. + # not using gcc
  11022. + if test "$host_cpu" = ia64; then
  11023. + shared_flag='${wl}-G'
  11024. + else
  11025. + if test "$aix_use_runtimelinking" = yes; then
  11026. + shared_flag='${wl}-G'
  11027. + else
  11028. + shared_flag='${wl}-bM:SRE'
  11029. + fi
  11030. + fi
  11031. + fi
  11032. +
  11033. + # It seems that -bexpall can do strange things, so it is better to
  11034. + # generate a list of symbols to export.
  11035. + always_export_symbols=yes
  11036. + if test "$aix_use_runtimelinking" = yes; then
  11037. + # Warning - without using the other runtime loading flags (-brtl),
  11038. + # -berok will link without error, but may produce a broken library.
  11039. + allow_undefined_flag='-berok'
  11040. + hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:/usr/lib:/lib'
  11041. + 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"
  11042. + else
  11043. + if test "$host_cpu" = ia64; then
  11044. + hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
  11045. + allow_undefined_flag="-z nodefs"
  11046. + 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"
  11047. + else
  11048. + hardcode_libdir_flag_spec='${wl}-bnolibpath ${wl}-blibpath:$libdir:/usr/lib:/lib'
  11049. + # Warning - without using the other run time loading flags,
  11050. + # -berok will link without error, but may produce a broken library.
  11051. + allow_undefined_flag='${wl}-berok'
  11052. + # This is a bit strange, but is similar to how AIX traditionally builds
  11053. + # it's shared libraries.
  11054. + 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'
  11055. + fi
  11056. + fi
  11057. + ;;
  11058. +
  11059. + amigaos*)
  11060. + 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)'
  11061. + hardcode_libdir_flag_spec='-L$libdir'
  11062. + hardcode_minus_L=yes
  11063. + # see comment about different semantics on the GNU ld section
  11064. + ld_shlibs=no
  11065. + ;;
  11066. +
  11067. + cygwin* | mingw* | pw32*)
  11068. + # When not using gcc, we currently assume that we are using
  11069. + # Microsoft Visual C++.
  11070. + # hardcode_libdir_flag_spec is actually meaningless, as there is
  11071. + # no search path for DLLs.
  11072. + hardcode_libdir_flag_spec=' '
  11073. + allow_undefined_flag=unsupported
  11074. + # Tell ltmain to make .lib files, not .a files.
  11075. + libext=lib
  11076. + # FIXME: Setting linknames here is a bad hack.
  11077. + archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | sed -e '\''s/ -lc$//'\''` -link -dll~linknames='
  11078. + # The linker will automatically build a .lib file if we build a DLL.
  11079. + old_archive_from_new_cmds='true'
  11080. + # FIXME: Should let the user specify the lib program.
  11081. + old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
  11082. + fix_srcfile_path='`cygpath -w "$srcfile"`'
  11083. + ;;
  11084. +
  11085. + darwin* | rhapsody*)
  11086. + case "$host_os" in
  11087. + rhapsody* | darwin1.[[012]])
  11088. + allow_undefined_flag='-undefined suppress'
  11089. + ;;
  11090. + *) # Darwin 1.3 on
  11091. + allow_undefined_flag='-flat_namespace -undefined suppress'
  11092. + ;;
  11093. + esac
  11094. + # FIXME: Relying on posixy $() will cause problems for
  11095. + # cross-compilation, but unfortunately the echo tests do not
  11096. + # yet detect zsh echo's removal of \ escapes. Also zsh mangles
  11097. + # `"' quotes if we put them in here... so don't!
  11098. + 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)'
  11099. + # We need to add '_' to the symbols in $export_symbols first
  11100. + #archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols'
  11101. + hardcode_direct=yes
  11102. + hardcode_shlibpath_var=no
  11103. + whole_archive_flag_spec='-all_load $convenience'
  11104. + ;;
  11105. +
  11106. + freebsd1*)
  11107. + ld_shlibs=no
  11108. + ;;
  11109. +
  11110. + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
  11111. + # support. Future versions do this automatically, but an explicit c++rt0.o
  11112. + # does not break anything, and helps significantly (at the cost of a little
  11113. + # extra space).
  11114. + freebsd2.2*)
  11115. + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
  11116. + hardcode_libdir_flag_spec='-R$libdir'
  11117. + hardcode_direct=yes
  11118. + hardcode_shlibpath_var=no
  11119. + ;;
  11120. +
  11121. + # Unfortunately, older versions of FreeBSD 2 do not have this feature.
  11122. + freebsd2*)
  11123. + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  11124. + hardcode_direct=yes
  11125. + hardcode_minus_L=yes
  11126. + hardcode_shlibpath_var=no
  11127. + ;;
  11128. +
  11129. + # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
  11130. + freebsd*)
  11131. + archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
  11132. + hardcode_libdir_flag_spec='-R$libdir'
  11133. + hardcode_direct=yes
  11134. + hardcode_shlibpath_var=no
  11135. + ;;
  11136. +
  11137. + hpux9* | hpux10* | hpux11*)
  11138. + case $host_os in
  11139. + 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' ;;
  11140. + *) archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' ;;
  11141. + esac
  11142. + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
  11143. + hardcode_libdir_separator=:
  11144. + hardcode_direct=yes
  11145. + hardcode_minus_L=yes # Not in the search PATH, but as the default
  11146. + # location of the library.
  11147. + export_dynamic_flag_spec='${wl}-E'
  11148. + ;;
  11149. +
  11150. + irix5* | irix6* | nonstopux*)
  11151. + if test "$GCC" = yes; then
  11152. + 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'
  11153. + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  11154. + else
  11155. + 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'
  11156. + hardcode_libdir_flag_spec='-rpath $libdir'
  11157. + fi
  11158. + hardcode_libdir_separator=:
  11159. + link_all_deplibs=yes
  11160. + ;;
  11161. +
  11162. + netbsd*)
  11163. + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
  11164. + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
  11165. + else
  11166. + archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
  11167. + fi
  11168. + hardcode_libdir_flag_spec='-R$libdir'
  11169. + hardcode_direct=yes
  11170. + hardcode_shlibpath_var=no
  11171. + ;;
  11172. +
  11173. + newsos6)
  11174. + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  11175. + hardcode_direct=yes
  11176. + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  11177. + hardcode_libdir_separator=:
  11178. + hardcode_shlibpath_var=no
  11179. + ;;
  11180. +
  11181. + openbsd*)
  11182. + hardcode_direct=yes
  11183. + hardcode_shlibpath_var=no
  11184. + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  11185. + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  11186. + hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
  11187. + export_dynamic_flag_spec='${wl}-E'
  11188. + else
  11189. + case "$host_os" in
  11190. + openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*)
  11191. + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  11192. + hardcode_libdir_flag_spec='-R$libdir'
  11193. + ;;
  11194. + *)
  11195. + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  11196. + hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
  11197. + ;;
  11198. + esac
  11199. + fi
  11200. + ;;
  11201. +
  11202. + os2*)
  11203. + hardcode_libdir_flag_spec='-L$libdir'
  11204. + hardcode_minus_L=yes
  11205. + allow_undefined_flag=unsupported
  11206. + 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'
  11207. + old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
  11208. + ;;
  11209. +
  11210. + osf3*)
  11211. + if test "$GCC" = yes; then
  11212. + allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
  11213. + 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'
  11214. + else
  11215. + allow_undefined_flag=' -expect_unresolved \*'
  11216. + 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'
  11217. + fi
  11218. + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  11219. + hardcode_libdir_separator=:
  11220. + ;;
  11221. +
  11222. + osf4* | osf5*) # as osf3* with the addition of -msym flag
  11223. + if test "$GCC" = yes; then
  11224. + allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
  11225. + 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'
  11226. + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  11227. + else
  11228. + allow_undefined_flag=' -expect_unresolved \*'
  11229. + 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'
  11230. + archive_expsym_cmds='for i in `cat $export_symbols`; do printf "-exported_symbol " >> $lib.exp; echo "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
  11231. + $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'
  11232. +
  11233. + #Both c and cxx compiler support -rpath directly
  11234. + hardcode_libdir_flag_spec='-rpath $libdir'
  11235. + fi
  11236. + hardcode_libdir_separator=:
  11237. + ;;
  11238. +
  11239. + sco3.2v5*)
  11240. + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  11241. + hardcode_shlibpath_var=no
  11242. + runpath_var=LD_RUN_PATH
  11243. + hardcode_runpath_var=yes
  11244. + export_dynamic_flag_spec='${wl}-Bexport'
  11245. + ;;
  11246. +
  11247. + solaris*)
  11248. + # gcc --version < 3.0 without binutils cannot create self contained
  11249. + # shared libraries reliably, requiring libgcc.a to resolve some of
  11250. + # the object symbols generated in some cases. Libraries that use
  11251. + # assert need libgcc.a to resolve __eprintf, for example. Linking
  11252. + # a copy of libgcc.a into every shared library to guarantee resolving
  11253. + # such symbols causes other problems: According to Tim Van Holder
  11254. + # <tim.van.holder@pandora.be>, C++ libraries end up with a separate
  11255. + # (to the application) exception stack for one thing.
  11256. + no_undefined_flag=' -z defs'
  11257. + if test "$GCC" = yes; then
  11258. + case `$CC --version 2>/dev/null` in
  11259. + [[12]].*)
  11260. + cat <<EOF 1>&2
  11261. +
  11262. +*** Warning: Releases of GCC earlier than version 3.0 cannot reliably
  11263. +*** create self contained shared libraries on Solaris systems, without
  11264. +*** introducing a dependency on libgcc.a. Therefore, libtool is disabling
  11265. +*** -no-undefined support, which will at least allow you to build shared
  11266. +*** libraries. However, you may find that when you link such libraries
  11267. +*** into an application without using GCC, you have to manually add
  11268. +*** \`gcc --print-libgcc-file-name\` to the link command. We urge you to
  11269. +*** upgrade to a newer version of GCC. Another option is to rebuild your
  11270. +*** current GCC to use the GNU linker from GNU binutils 2.9.1 or newer.
  11271. +
  11272. +EOF
  11273. + no_undefined_flag=
  11274. + ;;
  11275. + esac
  11276. + fi
  11277. + # $CC -shared without GNU ld will not create a library from C++
  11278. + # object files and a static libstdc++, better avoid it by now
  11279. + archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
  11280. + archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
  11281. + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
  11282. + hardcode_libdir_flag_spec='-R$libdir'
  11283. + hardcode_shlibpath_var=no
  11284. + case $host_os in
  11285. + solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
  11286. + *) # Supported since Solaris 2.6 (maybe 2.5.1?)
  11287. + whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
  11288. + esac
  11289. + link_all_deplibs=yes
  11290. + ;;
  11291. +
  11292. + sunos4*)
  11293. + if test "x$host_vendor" = xsequent; then
  11294. + # Use $CC to link under sequent, because it throws in some extra .o
  11295. + # files that make .init and .fini sections work.
  11296. + archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
  11297. + else
  11298. + archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
  11299. + fi
  11300. + hardcode_libdir_flag_spec='-L$libdir'
  11301. + hardcode_direct=yes
  11302. + hardcode_minus_L=yes
  11303. + hardcode_shlibpath_var=no
  11304. + ;;
  11305. +
  11306. + sysv4)
  11307. + case $host_vendor in
  11308. + sni)
  11309. + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  11310. + hardcode_direct=yes # is this really true???
  11311. + ;;
  11312. + siemens)
  11313. + ## LD is ld it makes a PLAMLIB
  11314. + ## CC just makes a GrossModule.
  11315. + archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
  11316. + reload_cmds='$CC -r -o $output$reload_objs'
  11317. + hardcode_direct=no
  11318. + ;;
  11319. + motorola)
  11320. + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  11321. + hardcode_direct=no #Motorola manual says yes, but my tests say they lie
  11322. + ;;
  11323. + esac
  11324. + runpath_var='LD_RUN_PATH'
  11325. + hardcode_shlibpath_var=no
  11326. + ;;
  11327. +
  11328. + sysv4.3*)
  11329. + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  11330. + hardcode_shlibpath_var=no
  11331. + export_dynamic_flag_spec='-Bexport'
  11332. + ;;
  11333. +
  11334. + sysv5*)
  11335. + no_undefined_flag=' -z text'
  11336. + # $CC -shared without GNU ld will not create a library from C++
  11337. + # object files and a static libstdc++, better avoid it by now
  11338. + archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
  11339. + archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
  11340. + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
  11341. + hardcode_libdir_flag_spec=
  11342. + hardcode_shlibpath_var=no
  11343. + runpath_var='LD_RUN_PATH'
  11344. + ;;
  11345. +
  11346. + uts4*)
  11347. + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  11348. + hardcode_libdir_flag_spec='-L$libdir'
  11349. + hardcode_shlibpath_var=no
  11350. + ;;
  11351. +
  11352. + dgux*)
  11353. + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  11354. + hardcode_libdir_flag_spec='-L$libdir'
  11355. + hardcode_shlibpath_var=no
  11356. + ;;
  11357. +
  11358. + sysv4*MP*)
  11359. + if test -d /usr/nec; then
  11360. + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  11361. + hardcode_shlibpath_var=no
  11362. + runpath_var=LD_RUN_PATH
  11363. + hardcode_runpath_var=yes
  11364. + ld_shlibs=yes
  11365. + fi
  11366. + ;;
  11367. +
  11368. + sysv4.2uw2*)
  11369. + archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
  11370. + hardcode_direct=yes
  11371. + hardcode_minus_L=no
  11372. + hardcode_shlibpath_var=no
  11373. + hardcode_runpath_var=yes
  11374. + runpath_var=LD_RUN_PATH
  11375. + ;;
  11376. +
  11377. + sysv5uw7* | unixware7*)
  11378. + no_undefined_flag='${wl}-z ${wl}text'
  11379. + if test "$GCC" = yes; then
  11380. + archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  11381. + else
  11382. + archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  11383. + fi
  11384. + runpath_var='LD_RUN_PATH'
  11385. + hardcode_shlibpath_var=no
  11386. + ;;
  11387. +
  11388. + *)
  11389. + ld_shlibs=no
  11390. + ;;
  11391. + esac
  11392. +fi
  11393. +AC_MSG_RESULT([$ld_shlibs])
  11394. +test "$ld_shlibs" = no && can_build_shared=no
  11395. +##
  11396. +## END FIXME
  11397. +
  11398. +## FIXME: this should be a separate macro
  11399. +##
  11400. +# Check hardcoding attributes.
  11401. +AC_MSG_CHECKING([how to hardcode library paths into programs])
  11402. +hardcode_action=
  11403. +if test -n "$hardcode_libdir_flag_spec" || \
  11404. + test -n "$runpath_var"; then
  11405. +
  11406. + # We can hardcode non-existant directories.
  11407. + if test "$hardcode_direct" != no &&
  11408. + # If the only mechanism to avoid hardcoding is shlibpath_var, we
  11409. + # have to relink, otherwise we might link with an installed library
  11410. + # when we should be linking with a yet-to-be-installed one
  11411. + ## test "$hardcode_shlibpath_var" != no &&
  11412. + test "$hardcode_minus_L" != no; then
  11413. + # Linking always hardcodes the temporary library directory.
  11414. + hardcode_action=relink
  11415. + else
  11416. + # We can link without hardcoding, and we can hardcode nonexisting dirs.
  11417. + hardcode_action=immediate
  11418. + fi
  11419. +else
  11420. + # We cannot hardcode anything, or else we can only hardcode existing
  11421. + # directories.
  11422. + hardcode_action=unsupported
  11423. +fi
  11424. +AC_MSG_RESULT([$hardcode_action])
  11425. +##
  11426. +## END FIXME
  11427. +
  11428. +## FIXME: this should be a separate macro
  11429. +##
  11430. +striplib=
  11431. +old_striplib=
  11432. +AC_MSG_CHECKING([whether stripping libraries is possible])
  11433. +if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
  11434. + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
  11435. + test -z "$striplib" && striplib="$STRIP --strip-unneeded"
  11436. + AC_MSG_RESULT([yes])
  11437. +else
  11438. + AC_MSG_RESULT([no])
  11439. +fi
  11440. +##
  11441. +## END FIXME
  11442. +
  11443. +reload_cmds='$LD$reload_flag -o $output$reload_objs'
  11444. +test -z "$deplibs_check_method" && deplibs_check_method=unknown
  11445. +
  11446. +## FIXME: this should be a separate macro
  11447. +##
  11448. +# PORTME Fill in your ld.so characteristics
  11449. +AC_MSG_CHECKING([dynamic linker characteristics])
  11450. +library_names_spec=
  11451. +libname_spec='lib$name'
  11452. +soname_spec=
  11453. +postinstall_cmds=
  11454. +postuninstall_cmds=
  11455. +finish_cmds=
  11456. +finish_eval=
  11457. +shlibpath_var=
  11458. +shlibpath_overrides_runpath=unknown
  11459. +version_type=none
  11460. +dynamic_linker="$host_os ld.so"
  11461. +sys_lib_dlsearch_path_spec="/lib /usr/lib"
  11462. +sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
  11463. +
  11464. +case $host_os in
  11465. +aix3*)
  11466. + version_type=linux
  11467. + library_names_spec='${libname}${release}.so$versuffix $libname.a'
  11468. + shlibpath_var=LIBPATH
  11469. +
  11470. + # AIX has no versioning support, so we append a major version to the name.
  11471. + soname_spec='${libname}${release}.so$major'
  11472. + ;;
  11473. +
  11474. +aix4* | aix5*)
  11475. + version_type=linux
  11476. + need_lib_prefix=no
  11477. + need_version=no
  11478. + hardcode_into_libs=yes
  11479. + if test "$host_cpu" = ia64; then
  11480. + # AIX 5 supports IA64
  11481. + library_names_spec='${libname}${release}.so$major ${libname}${release}.so$versuffix $libname.so'
  11482. + shlibpath_var=LD_LIBRARY_PATH
  11483. + else
  11484. + # With GCC up to 2.95.x, collect2 would create an import file
  11485. + # for dependence libraries. The import file would start with
  11486. + # the line `#! .'. This would cause the generated library to
  11487. + # depend on `.', always an invalid library. This was fixed in
  11488. + # development snapshots of GCC prior to 3.0.
  11489. + case $host_os in
  11490. + aix4 | aix4.[[01]] | aix4.[[01]].*)
  11491. + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
  11492. + echo ' yes '
  11493. + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
  11494. + :
  11495. + else
  11496. + can_build_shared=no
  11497. + fi
  11498. + ;;
  11499. + esac
  11500. + # AIX (on Power*) has no versioning support, so currently we can
  11501. + # not hardcode correct soname into executable. Probably we can
  11502. + # add versioning support to collect2, so additional links can
  11503. + # be useful in future.
  11504. + if test "$aix_use_runtimelinking" = yes; then
  11505. + # If using run time linking (on AIX 4.2 or later) use lib<name>.so
  11506. + # instead of lib<name>.a to let people know that these are not
  11507. + # typical AIX shared libraries.
  11508. + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
  11509. + else
  11510. + # We preserve .a as extension for shared libraries through AIX4.2
  11511. + # and later when we are not doing run time linking.
  11512. + library_names_spec='${libname}${release}.a $libname.a'
  11513. + soname_spec='${libname}${release}.so$major'
  11514. + fi
  11515. + shlibpath_var=LIBPATH
  11516. + fi
  11517. + hardcode_into_libs=yes
  11518. + ;;
  11519. +
  11520. +amigaos*)
  11521. + library_names_spec='$libname.ixlibrary $libname.a'
  11522. + # Create ${libname}_ixlibrary.a entries in /sys/libs.
  11523. + 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'
  11524. + ;;
  11525. +
  11526. +beos*)
  11527. + library_names_spec='${libname}.so'
  11528. + dynamic_linker="$host_os ld.so"
  11529. + shlibpath_var=LIBRARY_PATH
  11530. + ;;
  11531. +
  11532. +bsdi4*)
  11533. + version_type=linux
  11534. + need_version=no
  11535. + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
  11536. + soname_spec='${libname}${release}.so$major'
  11537. + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
  11538. + shlibpath_var=LD_LIBRARY_PATH
  11539. + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
  11540. + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
  11541. + export_dynamic_flag_spec=-rdynamic
  11542. + # the default ld.so.conf also contains /usr/contrib/lib and
  11543. + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
  11544. + # libtool to hard-code these into programs
  11545. + ;;
  11546. +
  11547. +cygwin* | mingw* | pw32*)
  11548. + version_type=windows
  11549. + need_version=no
  11550. + need_lib_prefix=no
  11551. + case $GCC,$host_os in
  11552. + yes,cygwin*)
  11553. + library_names_spec='$libname.dll.a'
  11554. + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | sed -e 's/[[.]]/-/g'`${versuffix}.dll'
  11555. + postinstall_cmds='dlpath=`bash 2>&1 -c '\''. $dir/${file}i;echo \$dlname'\''`~
  11556. + dldir=$destdir/`dirname \$dlpath`~
  11557. + test -d \$dldir || mkdir -p \$dldir~
  11558. + $install_prog .libs/$dlname \$dldir/$dlname'
  11559. + postuninstall_cmds='dldll=`bash 2>&1 -c '\''. $file; echo \$dlname'\''`~
  11560. + dlpath=$dir/\$dldll~
  11561. + $rm \$dlpath'
  11562. + ;;
  11563. + yes,mingw*)
  11564. + library_names_spec='${libname}`echo ${release} | sed -e 's/[[.]]/-/g'`${versuffix}.dll'
  11565. + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s/;/ /g" -e "s,=/,/,g"`
  11566. + ;;
  11567. + yes,pw32*)
  11568. + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll'
  11569. + ;;
  11570. + *)
  11571. + library_names_spec='${libname}`echo ${release} | sed -e 's/[[.]]/-/g'`${versuffix}.dll $libname.lib'
  11572. + ;;
  11573. + esac
  11574. + dynamic_linker='Win32 ld.exe'
  11575. + # FIXME: first we should search . and the directory the executable is in
  11576. + shlibpath_var=PATH
  11577. + ;;
  11578. +
  11579. +darwin* | rhapsody*)
  11580. + dynamic_linker="$host_os dyld"
  11581. + version_type=darwin
  11582. + need_lib_prefix=no
  11583. + need_version=no
  11584. + # FIXME: Relying on posixy $() will cause problems for
  11585. + # cross-compilation, but unfortunately the echo tests do not
  11586. + # yet detect zsh echo's removal of \ escapes.
  11587. + 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)'
  11588. + soname_spec='${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib)'
  11589. + shlibpath_overrides_runpath=yes
  11590. + shlibpath_var=DYLD_LIBRARY_PATH
  11591. + ;;
  11592. +
  11593. +freebsd1*)
  11594. + dynamic_linker=no
  11595. + ;;
  11596. +
  11597. +kfreebsd*-gnu*)
  11598. + version_type=linux
  11599. + need_lib_prefix=no
  11600. + need_version=no
  11601. + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
  11602. + soname_spec='${libname}${release}.so$major'
  11603. + shlibpath_var=LD_LIBRARY_PATH
  11604. + shlibpath_overrides_runpath=no
  11605. + hardcode_into_libs=yes
  11606. + dynamic_linker='GNU/FreeBSD ld.so'
  11607. + ;;
  11608. +
  11609. +freebsd*)
  11610. + objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
  11611. + version_type=freebsd-$objformat
  11612. + case $version_type in
  11613. + freebsd-elf*)
  11614. + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so'
  11615. + need_version=no
  11616. + need_lib_prefix=no
  11617. + ;;
  11618. + freebsd-*)
  11619. + library_names_spec='${libname}${release}.so$versuffix $libname.so$versuffix'
  11620. + need_version=yes
  11621. + ;;
  11622. + esac
  11623. + shlibpath_var=LD_LIBRARY_PATH
  11624. + case $host_os in
  11625. + freebsd2*)
  11626. + shlibpath_overrides_runpath=yes
  11627. + ;;
  11628. + *)
  11629. + shlibpath_overrides_runpath=no
  11630. + hardcode_into_libs=yes
  11631. + ;;
  11632. + esac
  11633. + ;;
  11634. +
  11635. +gnu*)
  11636. + version_type=linux
  11637. + need_lib_prefix=no
  11638. + need_version=no
  11639. + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so${major} ${libname}.so'
  11640. + soname_spec='${libname}${release}.so$major'
  11641. + shlibpath_var=LD_LIBRARY_PATH
  11642. + hardcode_into_libs=yes
  11643. + ;;
  11644. +
  11645. +hpux9* | hpux10* | hpux11*)
  11646. + # Give a soname corresponding to the major version so that dld.sl refuses to
  11647. + # link against other versions.
  11648. + dynamic_linker="$host_os dld.sl"
  11649. + version_type=sunos
  11650. + need_lib_prefix=no
  11651. + need_version=no
  11652. + shlibpath_var=SHLIB_PATH
  11653. + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
  11654. + library_names_spec='${libname}${release}.sl$versuffix ${libname}${release}.sl$major $libname.sl'
  11655. + soname_spec='${libname}${release}.sl$major'
  11656. + # HP-UX runs *really* slowly unless shared libraries are mode 555.
  11657. + postinstall_cmds='chmod 555 $lib'
  11658. + ;;
  11659. +
  11660. +irix5* | irix6* | nonstopux*)
  11661. + case $host_os in
  11662. + nonstopux*) version_type=nonstopux ;;
  11663. + *) version_type=irix ;;
  11664. + esac
  11665. + need_lib_prefix=no
  11666. + need_version=no
  11667. + soname_spec='${libname}${release}.so$major'
  11668. + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so $libname.so'
  11669. + case $host_os in
  11670. + irix5* | nonstopux*)
  11671. + libsuff= shlibsuff=
  11672. + ;;
  11673. + *)
  11674. + case $LD in # libtool.m4 will add one of these switches to LD
  11675. + *-32|*"-32 ") libsuff= shlibsuff= libmagic=32-bit;;
  11676. + *-n32|*"-n32 ") libsuff=32 shlibsuff=N32 libmagic=N32;;
  11677. + *-64|*"-64 ") libsuff=64 shlibsuff=64 libmagic=64-bit;;
  11678. + *) libsuff= shlibsuff= libmagic=never-match;;
  11679. + esac
  11680. + ;;
  11681. + esac
  11682. + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
  11683. + shlibpath_overrides_runpath=no
  11684. + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
  11685. + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
  11686. + ;;
  11687. +
  11688. +# No shared lib support for Linux oldld, aout, or coff.
  11689. +linux-gnuoldld* | linux-gnuaout* | linux-gnucoff*)
  11690. + dynamic_linker=no
  11691. + ;;
  11692. +
  11693. +# This must be Linux ELF.
  11694. +linux-gnu*)
  11695. + version_type=linux
  11696. + need_lib_prefix=no
  11697. + need_version=no
  11698. + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
  11699. + soname_spec='${libname}${release}.so$major'
  11700. + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
  11701. + shlibpath_var=LD_LIBRARY_PATH
  11702. + shlibpath_overrides_runpath=no
  11703. + # This implies no fast_install, which is unacceptable.
  11704. + # Some rework will be needed to allow for fast_install
  11705. + # before this can be enabled.
  11706. + hardcode_into_libs=yes
  11707. +
  11708. + # We used to test for /lib/ld.so.1 and disable shared libraries on
  11709. + # powerpc, because MkLinux only supported shared libraries with the
  11710. + # GNU dynamic linker. Since this was broken with cross compilers,
  11711. + # most powerpc-linux boxes support dynamic linking these days and
  11712. + # people can always --disable-shared, the test was removed, and we
  11713. + # assume the GNU/Linux dynamic linker is in use.
  11714. + dynamic_linker='GNU/Linux ld.so'
  11715. + ;;
  11716. +
  11717. +netbsd*)
  11718. + version_type=sunos
  11719. + need_lib_prefix=no
  11720. + need_version=no
  11721. + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
  11722. + library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
  11723. + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  11724. + dynamic_linker='NetBSD (a.out) ld.so'
  11725. + else
  11726. + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so ${libname}.so'
  11727. + soname_spec='${libname}${release}.so$major'
  11728. + dynamic_linker='NetBSD ld.elf_so'
  11729. + fi
  11730. + shlibpath_var=LD_LIBRARY_PATH
  11731. + shlibpath_overrides_runpath=yes
  11732. + hardcode_into_libs=yes
  11733. + ;;
  11734. +
  11735. +newsos6)
  11736. + version_type=linux
  11737. + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
  11738. + shlibpath_var=LD_LIBRARY_PATH
  11739. + shlibpath_overrides_runpath=yes
  11740. + ;;
  11741. +
  11742. +openbsd*)
  11743. + version_type=sunos
  11744. + need_lib_prefix=no
  11745. + need_version=no
  11746. + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  11747. + case "$host_os" in
  11748. + openbsd2.[[89]] | openbsd2.[[89]].*)
  11749. + shlibpath_overrides_runpath=no
  11750. + ;;
  11751. + *)
  11752. + shlibpath_overrides_runpath=yes
  11753. + ;;
  11754. + esac
  11755. + else
  11756. + shlibpath_overrides_runpath=yes
  11757. + fi
  11758. + library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
  11759. + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  11760. + shlibpath_var=LD_LIBRARY_PATH
  11761. + ;;
  11762. +
  11763. +os2*)
  11764. + libname_spec='$name'
  11765. + need_lib_prefix=no
  11766. + library_names_spec='$libname.dll $libname.a'
  11767. + dynamic_linker='OS/2 ld.exe'
  11768. + shlibpath_var=LIBPATH
  11769. + ;;
  11770. +
  11771. +osf3* | osf4* | osf5*)
  11772. + version_type=osf
  11773. + need_version=no
  11774. + need_lib_prefix=no
  11775. + soname_spec='${libname}${release}.so$major'
  11776. + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
  11777. + shlibpath_var=LD_LIBRARY_PATH
  11778. + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
  11779. + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
  11780. + hardcode_into_libs=yes
  11781. + ;;
  11782. +
  11783. +sco3.2v5*)
  11784. + version_type=osf
  11785. + soname_spec='${libname}${release}.so$major'
  11786. + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
  11787. + shlibpath_var=LD_LIBRARY_PATH
  11788. + ;;
  11789. +
  11790. +solaris*)
  11791. + version_type=linux
  11792. + need_lib_prefix=no
  11793. + need_version=no
  11794. + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
  11795. + soname_spec='${libname}${release}.so$major'
  11796. + shlibpath_var=LD_LIBRARY_PATH
  11797. + shlibpath_overrides_runpath=yes
  11798. + hardcode_into_libs=yes
  11799. + # ldd complains unless libraries are executable
  11800. + postinstall_cmds='chmod +x $lib'
  11801. + ;;
  11802. +
  11803. +sunos4*)
  11804. + version_type=sunos
  11805. + library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
  11806. + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
  11807. + shlibpath_var=LD_LIBRARY_PATH
  11808. + shlibpath_overrides_runpath=yes
  11809. + if test "$with_gnu_ld" = yes; then
  11810. + need_lib_prefix=no
  11811. + fi
  11812. + need_version=yes
  11813. + ;;
  11814. +
  11815. +sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
  11816. + version_type=linux
  11817. + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
  11818. + soname_spec='${libname}${release}.so$major'
  11819. + shlibpath_var=LD_LIBRARY_PATH
  11820. + case $host_vendor in
  11821. + sni)
  11822. + shlibpath_overrides_runpath=no
  11823. + need_lib_prefix=no
  11824. + export_dynamic_flag_spec='${wl}-Blargedynsym'
  11825. + runpath_var=LD_RUN_PATH
  11826. + ;;
  11827. + siemens)
  11828. + need_lib_prefix=no
  11829. + ;;
  11830. + motorola)
  11831. + need_lib_prefix=no
  11832. + need_version=no
  11833. + shlibpath_overrides_runpath=no
  11834. + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
  11835. + ;;
  11836. + esac
  11837. + ;;
  11838. +
  11839. +uts4*)
  11840. + version_type=linux
  11841. + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
  11842. + soname_spec='${libname}${release}.so$major'
  11843. + shlibpath_var=LD_LIBRARY_PATH
  11844. + ;;
  11845. +
  11846. +dgux*)
  11847. + version_type=linux
  11848. + need_lib_prefix=no
  11849. + need_version=no
  11850. + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
  11851. + soname_spec='${libname}${release}.so$major'
  11852. + shlibpath_var=LD_LIBRARY_PATH
  11853. + ;;
  11854. +
  11855. +sysv4*MP*)
  11856. + if test -d /usr/nec ;then
  11857. + version_type=linux
  11858. + library_names_spec='$libname.so.$versuffix $libname.so.$major $libname.so'
  11859. + soname_spec='$libname.so.$major'
  11860. + shlibpath_var=LD_LIBRARY_PATH
  11861. + fi
  11862. + ;;
  11863. +
  11864. +*)
  11865. + dynamic_linker=no
  11866. + ;;
  11867. +esac
  11868. +AC_MSG_RESULT([$dynamic_linker])
  11869. +test "$dynamic_linker" = no && can_build_shared=no
  11870. +##
  11871. +## END FIXME
  11872. +
  11873. +## FIXME: this should be a separate macro
  11874. +##
  11875. +# Report the final consequences.
  11876. +AC_MSG_CHECKING([if libtool supports shared libraries])
  11877. +AC_MSG_RESULT([$can_build_shared])
  11878. +##
  11879. +## END FIXME
  11880. +
  11881. +## FIXME: this should be a separate macro
  11882. +##
  11883. +AC_MSG_CHECKING([whether to build shared libraries])
  11884. +test "$can_build_shared" = "no" && enable_shared=no
  11885. +
  11886. +# On AIX, shared libraries and static libraries use the same namespace, and
  11887. +# are all built from PIC.
  11888. +case "$host_os" in
  11889. +aix3*)
  11890. + test "$enable_shared" = yes && enable_static=no
  11891. + if test -n "$RANLIB"; then
  11892. + archive_cmds="$archive_cmds~\$RANLIB \$lib"
  11893. + postinstall_cmds='$RANLIB $lib'
  11894. + fi
  11895. + ;;
  11896. +
  11897. +aix4*)
  11898. + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
  11899. + test "$enable_shared" = yes && enable_static=no
  11900. + fi
  11901. + ;;
  11902. +esac
  11903. +AC_MSG_RESULT([$enable_shared])
  11904. +##
  11905. +## END FIXME
  11906. +
  11907. +## FIXME: this should be a separate macro
  11908. +##
  11909. +AC_MSG_CHECKING([whether to build static libraries])
  11910. +# Make sure either enable_shared or enable_static is yes.
  11911. +test "$enable_shared" = yes || enable_static=yes
  11912. +AC_MSG_RESULT([$enable_static])
  11913. +##
  11914. +## END FIXME
  11915. +
  11916. +if test "$hardcode_action" = relink; then
  11917. + # Fast installation is not supported
  11918. + enable_fast_install=no
  11919. +elif test "$shlibpath_overrides_runpath" = yes ||
  11920. + test "$enable_shared" = no; then
  11921. + # Fast installation is not necessary
  11922. + enable_fast_install=needless
  11923. +fi
  11924. +
  11925. +variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
  11926. +if test "$GCC" = yes; then
  11927. + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
  11928. +fi
  11929. +
  11930. +AC_LIBTOOL_DLOPEN_SELF
  11931. +
  11932. +## FIXME: this should be a separate macro
  11933. +##
  11934. +if test "$enable_shared" = yes && test "$GCC" = yes; then
  11935. + case $archive_cmds in
  11936. + *'~'*)
  11937. + # FIXME: we may have to deal with multi-command sequences.
  11938. + ;;
  11939. + '$CC '*)
  11940. + # Test whether the compiler implicitly links with -lc since on some
  11941. + # systems, -lgcc has to come before -lc. If gcc already passes -lc
  11942. + # to ld, don't add -lc before -lgcc.
  11943. + AC_MSG_CHECKING([whether -lc should be explicitly linked in])
  11944. + AC_CACHE_VAL([lt_cv_archive_cmds_need_lc],
  11945. + [$rm conftest*
  11946. + echo 'static int dummy;' > conftest.$ac_ext
  11947. +
  11948. + if AC_TRY_EVAL(ac_compile); then
  11949. + soname=conftest
  11950. + lib=conftest
  11951. + libobjs=conftest.$ac_objext
  11952. + deplibs=
  11953. + wl=$lt_cv_prog_cc_wl
  11954. + compiler_flags=-v
  11955. + linker_flags=-v
  11956. + verstring=
  11957. + output_objdir=.
  11958. + libname=conftest
  11959. + save_allow_undefined_flag=$allow_undefined_flag
  11960. + allow_undefined_flag=
  11961. + if AC_TRY_EVAL(archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1)
  11962. + then
  11963. + lt_cv_archive_cmds_need_lc=no
  11964. + else
  11965. + lt_cv_archive_cmds_need_lc=yes
  11966. + fi
  11967. + allow_undefined_flag=$save_allow_undefined_flag
  11968. + else
  11969. + cat conftest.err 1>&5
  11970. + fi])
  11971. + AC_MSG_RESULT([$lt_cv_archive_cmds_need_lc])
  11972. + ;;
  11973. + esac
  11974. +fi
  11975. +need_lc=${lt_cv_archive_cmds_need_lc-yes}
  11976. +##
  11977. +## END FIXME
  11978. +
  11979. +## FIXME: this should be a separate macro
  11980. +##
  11981. +# The second clause should only fire when bootstrapping the
  11982. +# libtool distribution, otherwise you forgot to ship ltmain.sh
  11983. +# with your package, and you will get complaints that there are
  11984. +# no rules to generate ltmain.sh.
  11985. +if test -f "$ltmain"; then
  11986. + :
  11987. +else
  11988. + # If there is no Makefile yet, we rely on a make rule to execute
  11989. + # `config.status --recheck' to rerun these tests and create the
  11990. + # libtool script then.
  11991. + test -f Makefile && make "$ltmain"
  11992. +fi
  11993. -# Actually configure libtool. ac_aux_dir is where install-sh is found.
  11994. -CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
  11995. -LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
  11996. -LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" \
  11997. -DLLTOOL="$DLLTOOL" AS="$AS" OBJDUMP="$OBJDUMP" \
  11998. -${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig \
  11999. -$libtool_flags --no-verify $ac_aux_dir/ltmain.sh $lt_target \
  12000. -|| AC_MSG_ERROR([libtool configure failed])
  12001. +if test -f "$ltmain"; then
  12002. + trap "$rm \"${ofile}T\"; exit 1" 1 2 15
  12003. + $rm -f "${ofile}T"
  12004. +
  12005. + echo creating $ofile
  12006. +
  12007. + # Now quote all the things that may contain metacharacters while being
  12008. + # careful not to overquote the AC_SUBSTed values. We take copies of the
  12009. + # variables and quote the copies for generation of the libtool script.
  12010. + for var in echo old_CC old_CFLAGS SED \
  12011. + AR AR_FLAGS CC LD LN_S NM SHELL \
  12012. + reload_flag reload_cmds wl \
  12013. + pic_flag link_static_flag no_builtin_flag export_dynamic_flag_spec \
  12014. + thread_safe_flag_spec whole_archive_flag_spec libname_spec \
  12015. + library_names_spec soname_spec \
  12016. + RANLIB old_archive_cmds old_archive_from_new_cmds old_postinstall_cmds \
  12017. + old_postuninstall_cmds archive_cmds archive_expsym_cmds postinstall_cmds \
  12018. + postuninstall_cmds extract_expsyms_cmds old_archive_from_expsyms_cmds \
  12019. + old_striplib striplib file_magic_cmd export_symbols_cmds \
  12020. + deplibs_check_method allow_undefined_flag no_undefined_flag \
  12021. + finish_cmds finish_eval global_symbol_pipe global_symbol_to_cdecl \
  12022. + global_symbol_to_c_name_address \
  12023. + hardcode_libdir_flag_spec hardcode_libdir_separator \
  12024. + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
  12025. + compiler_c_o compiler_o_lo need_locks exclude_expsyms include_expsyms; do
  12026. +
  12027. + case $var in
  12028. + reload_cmds | old_archive_cmds | old_archive_from_new_cmds | \
  12029. + old_postinstall_cmds | old_postuninstall_cmds | \
  12030. + export_symbols_cmds | archive_cmds | archive_expsym_cmds | \
  12031. + extract_expsyms_cmds | old_archive_from_expsyms_cmds | \
  12032. + postinstall_cmds | postuninstall_cmds | \
  12033. + finish_cmds | sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
  12034. + # Double-quote double-evaled strings.
  12035. + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
  12036. + ;;
  12037. + *)
  12038. + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
  12039. + ;;
  12040. + esac
  12041. + done
  12042. -# Reload cache, that may have been modified by ltconfig
  12043. -AC_CACHE_LOAD
  12044. + cat <<__EOF__ > "${ofile}T"
  12045. +#! $SHELL
  12046. -# This can be used to rebuild libtool when needed
  12047. -LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh"
  12048. +# `$echo "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
  12049. +# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
  12050. +# NOTE: Changes made to this file will be lost: look at ltmain.sh.
  12051. +#
  12052. +# Copyright (C) 1996-2000 Free Software Foundation, Inc.
  12053. +# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
  12054. +#
  12055. +# This program is free software; you can redistribute it and/or modify
  12056. +# it under the terms of the GNU General Public License as published by
  12057. +# the Free Software Foundation; either version 2 of the License, or
  12058. +# (at your option) any later version.
  12059. +#
  12060. +# This program is distributed in the hope that it will be useful, but
  12061. +# WITHOUT ANY WARRANTY; without even the implied warranty of
  12062. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  12063. +# General Public License for more details.
  12064. +#
  12065. +# You should have received a copy of the GNU General Public License
  12066. +# along with this program; if not, write to the Free Software
  12067. +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  12068. +#
  12069. +# As a special exception to the GNU General Public License, if you
  12070. +# distribute this file as part of a program that contains a
  12071. +# configuration script generated by Autoconf, you may include it under
  12072. +# the same distribution terms that you use for the rest of that program.
  12073. -# Always use our own libtool.
  12074. -LIBTOOL='$(SHELL) $(top_builddir)/libtool'
  12075. -AC_SUBST(LIBTOOL)dnl
  12076. +# A sed that does not truncate output.
  12077. +SED=$lt_SED
  12078. -# Redirect the config.log output again, so that the ltconfig log is not
  12079. -# clobbered by the next message.
  12080. -exec 5>>./config.log
  12081. -])
  12082. +# Sed that helps us avoid accidentally triggering echo(1) options like -n.
  12083. +Xsed="${SED} -e s/^X//"
  12084. -AC_DEFUN(AC_LIBTOOL_SETUP,
  12085. -[AC_PREREQ(2.13)dnl
  12086. -AC_REQUIRE([AC_ENABLE_SHARED])dnl
  12087. -AC_REQUIRE([AC_ENABLE_STATIC])dnl
  12088. -AC_REQUIRE([AC_ENABLE_FAST_INSTALL])dnl
  12089. -AC_REQUIRE([AC_CANONICAL_HOST])dnl
  12090. -AC_REQUIRE([AC_CANONICAL_BUILD])dnl
  12091. -AC_REQUIRE([AC_PROG_RANLIB])dnl
  12092. -AC_REQUIRE([AC_PROG_CC])dnl
  12093. -AC_REQUIRE([AC_PROG_LD])dnl
  12094. -AC_REQUIRE([AC_PROG_NM])dnl
  12095. -AC_REQUIRE([AC_PROG_LN_S])dnl
  12096. -dnl
  12097. +# The HP-UX ksh and POSIX shell print the target directory to stdout
  12098. +# if CDPATH is set.
  12099. +if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
  12100. -case "$target" in
  12101. -NONE) lt_target="$host" ;;
  12102. -*) lt_target="$target" ;;
  12103. -esac
  12104. +# ### BEGIN LIBTOOL CONFIG
  12105. -# Check for any special flags to pass to ltconfig.
  12106. -libtool_flags=""
  12107. -test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
  12108. -test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
  12109. -test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
  12110. -test "$ac_cv_prog_gcc" = yes && libtool_flags="$libtool_flags --with-gcc"
  12111. -test "$ac_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
  12112. -ifdef([AC_PROVIDE_AC_LIBTOOL_DLOPEN],
  12113. -[libtool_flags="$libtool_flags --enable-dlopen"])
  12114. -ifdef([AC_PROVIDE_AC_LIBTOOL_WIN32_DLL],
  12115. -[libtool_flags="$libtool_flags --enable-win32-dll"])
  12116. -AC_ARG_ENABLE(libtool-lock,
  12117. - [ --disable-libtool-lock avoid locking (might break parallel builds)])
  12118. -test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
  12119. -test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
  12120. +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
  12121. -# Some flags need to be propagated to the compiler or linker for good
  12122. -# libtool support.
  12123. -case "$lt_target" in
  12124. -*-*-irix6*)
  12125. - # Find out which ABI we are using.
  12126. - echo '[#]line __oline__ "configure"' > conftest.$ac_ext
  12127. - if AC_TRY_EVAL(ac_compile); then
  12128. - case "`/usr/bin/file conftest.o`" in
  12129. - *32-bit*)
  12130. - LD="${LD-ld} -32"
  12131. - ;;
  12132. - *N32*)
  12133. - LD="${LD-ld} -n32"
  12134. - ;;
  12135. - *64-bit*)
  12136. - LD="${LD-ld} -64"
  12137. - ;;
  12138. - esac
  12139. - fi
  12140. - rm -rf conftest*
  12141. - ;;
  12142. +# Shell to use when invoking shell scripts.
  12143. +SHELL=$lt_SHELL
  12144. -*-*-sco3.2v5*)
  12145. - # On SCO OpenServer 5, we need -belf to get full-featured binaries.
  12146. - SAVE_CFLAGS="$CFLAGS"
  12147. - CFLAGS="$CFLAGS -belf"
  12148. - AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,
  12149. - [AC_TRY_LINK([],[],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])])
  12150. - if test x"$lt_cv_cc_needs_belf" != x"yes"; then
  12151. - # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
  12152. - CFLAGS="$SAVE_CFLAGS"
  12153. - fi
  12154. - ;;
  12155. +# Whether or not to build shared libraries.
  12156. +build_libtool_libs=$enable_shared
  12157. -ifdef([AC_PROVIDE_AC_LIBTOOL_WIN32_DLL],
  12158. -[*-*-cygwin* | *-*-mingw*)
  12159. - AC_CHECK_TOOL(DLLTOOL, dlltool, false)
  12160. - AC_CHECK_TOOL(AS, as, false)
  12161. - AC_CHECK_TOOL(OBJDUMP, objdump, false)
  12162. - ;;
  12163. -])
  12164. -esac
  12165. -])
  12166. +# Whether or not to build static libraries.
  12167. +build_old_libs=$enable_static
  12168. +
  12169. +# Whether or not to add -lc for building shared libraries.
  12170. +build_libtool_need_lc=$need_lc
  12171. +
  12172. +# Whether or not to optimize for fast installation.
  12173. +fast_install=$enable_fast_install
  12174. +
  12175. +# The host system.
  12176. +host_alias=$host_alias
  12177. +host=$host
  12178. +
  12179. +# An echo program that does not interpret backslashes.
  12180. +echo=$lt_echo
  12181. +
  12182. +# The archiver.
  12183. +AR=$lt_AR
  12184. +AR_FLAGS=$lt_AR_FLAGS
  12185. +
  12186. +# The default C compiler.
  12187. +CC=$lt_CC
  12188. +
  12189. +# Is the compiler the GNU C compiler?
  12190. +with_gcc=$GCC
  12191. +
  12192. +# The linker used to build libraries.
  12193. +LD=$lt_LD
  12194. +
  12195. +# Whether we need hard or soft links.
  12196. +LN_S=$lt_LN_S
  12197. +
  12198. +# A BSD-compatible nm program.
  12199. +NM=$lt_NM
  12200. +
  12201. +# A symbol stripping program
  12202. +STRIP="$STRIP"
  12203. +
  12204. +# Used to examine libraries when file_magic_cmd begins "file"
  12205. +MAGIC_CMD=$MAGIC_CMD
  12206. +
  12207. +# Used on cygwin: DLL creation program.
  12208. +DLLTOOL="$DLLTOOL"
  12209. +
  12210. +# Used on cygwin: object dumper.
  12211. +OBJDUMP="$OBJDUMP"
  12212. +
  12213. +# Used on cygwin: assembler.
  12214. +AS="$AS"
  12215. +
  12216. +# The name of the directory that contains temporary libtool files.
  12217. +objdir=$objdir
  12218. +
  12219. +# How to create reloadable object files.
  12220. +reload_flag=$lt_reload_flag
  12221. +reload_cmds=$lt_reload_cmds
  12222. +
  12223. +# How to pass a linker flag through the compiler.
  12224. +wl=$lt_wl
  12225. +
  12226. +# Object file suffix (normally "o").
  12227. +objext="$ac_objext"
  12228. +
  12229. +# Old archive suffix (normally "a").
  12230. +libext="$libext"
  12231. +
  12232. +# Executable file suffix (normally "").
  12233. +exeext="$exeext"
  12234. +
  12235. +# Additional compiler flags for building library objects.
  12236. +pic_flag=$lt_pic_flag
  12237. +pic_mode=$pic_mode
  12238. +
  12239. +# Does compiler simultaneously support -c and -o options?
  12240. +compiler_c_o=$lt_compiler_c_o
  12241. +
  12242. +# Can we write directly to a .lo ?
  12243. +compiler_o_lo=$lt_compiler_o_lo
  12244. +
  12245. +# Must we lock files when doing compilation ?
  12246. +need_locks=$lt_need_locks
  12247. +
  12248. +# Do we need the lib prefix for modules?
  12249. +need_lib_prefix=$need_lib_prefix
  12250. +
  12251. +# Do we need a version for libraries?
  12252. +need_version=$need_version
  12253. +
  12254. +# Whether dlopen is supported.
  12255. +dlopen_support=$enable_dlopen
  12256. +
  12257. +# Whether dlopen of programs is supported.
  12258. +dlopen_self=$enable_dlopen_self
  12259. +
  12260. +# Whether dlopen of statically linked programs is supported.
  12261. +dlopen_self_static=$enable_dlopen_self_static
  12262. +
  12263. +# Compiler flag to prevent dynamic linking.
  12264. +link_static_flag=$lt_link_static_flag
  12265. +
  12266. +# Compiler flag to turn off builtin functions.
  12267. +no_builtin_flag=$lt_no_builtin_flag
  12268. +
  12269. +# Compiler flag to allow reflexive dlopens.
  12270. +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
  12271. +
  12272. +# Compiler flag to generate shared objects directly from archives.
  12273. +whole_archive_flag_spec=$lt_whole_archive_flag_spec
  12274. +
  12275. +# Compiler flag to generate thread-safe objects.
  12276. +thread_safe_flag_spec=$lt_thread_safe_flag_spec
  12277. +
  12278. +# Library versioning type.
  12279. +version_type=$version_type
  12280. +
  12281. +# Format of library name prefix.
  12282. +libname_spec=$lt_libname_spec
  12283. +
  12284. +# List of archive names. First name is the real one, the rest are links.
  12285. +# The last name is the one that the linker finds with -lNAME.
  12286. +library_names_spec=$lt_library_names_spec
  12287. +
  12288. +# The coded name of the library, if different from the real name.
  12289. +soname_spec=$lt_soname_spec
  12290. +
  12291. +# Commands used to build and install an old-style archive.
  12292. +RANLIB=$lt_RANLIB
  12293. +old_archive_cmds=$lt_old_archive_cmds
  12294. +old_postinstall_cmds=$lt_old_postinstall_cmds
  12295. +old_postuninstall_cmds=$lt_old_postuninstall_cmds
  12296. +
  12297. +# Create an old-style archive from a shared archive.
  12298. +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
  12299. +
  12300. +# Create a temporary old-style archive to link instead of a shared archive.
  12301. +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
  12302. +
  12303. +# Commands used to build and install a shared archive.
  12304. +archive_cmds=$lt_archive_cmds
  12305. +archive_expsym_cmds=$lt_archive_expsym_cmds
  12306. +postinstall_cmds=$lt_postinstall_cmds
  12307. +postuninstall_cmds=$lt_postuninstall_cmds
  12308. +
  12309. +# Commands to strip libraries.
  12310. +old_striplib=$lt_old_striplib
  12311. +striplib=$lt_striplib
  12312. +
  12313. +# Method to check whether dependent libraries are shared objects.
  12314. +deplibs_check_method=$lt_deplibs_check_method
  12315. +
  12316. +# Command to use when deplibs_check_method == file_magic.
  12317. +file_magic_cmd=$lt_file_magic_cmd
  12318. +
  12319. +# Flag that allows shared libraries with undefined symbols to be built.
  12320. +allow_undefined_flag=$lt_allow_undefined_flag
  12321. +
  12322. +# Flag that forces no undefined symbols.
  12323. +no_undefined_flag=$lt_no_undefined_flag
  12324. +
  12325. +# Commands used to finish a libtool library installation in a directory.
  12326. +finish_cmds=$lt_finish_cmds
  12327. +
  12328. +# Same as above, but a single script fragment to be evaled but not shown.
  12329. +finish_eval=$lt_finish_eval
  12330. +
  12331. +# Take the output of nm and produce a listing of raw symbols and C names.
  12332. +global_symbol_pipe=$lt_global_symbol_pipe
  12333. +
  12334. +# Transform the output of nm in a proper C declaration
  12335. +global_symbol_to_cdecl=$lt_global_symbol_to_cdecl
  12336. +
  12337. +# Transform the output of nm in a C name address pair
  12338. +global_symbol_to_c_name_address=$lt_global_symbol_to_c_name_address
  12339. +
  12340. +# This is the shared library runtime path variable.
  12341. +runpath_var=$runpath_var
  12342. +
  12343. +# This is the shared library path variable.
  12344. +shlibpath_var=$shlibpath_var
  12345. +
  12346. +# Is shlibpath searched before the hard-coded library search path?
  12347. +shlibpath_overrides_runpath=$shlibpath_overrides_runpath
  12348. +
  12349. +# How to hardcode a shared library path into an executable.
  12350. +hardcode_action=$hardcode_action
  12351. +
  12352. +# Whether we should hardcode library paths into libraries.
  12353. +hardcode_into_libs=$hardcode_into_libs
  12354. +
  12355. +# Flag to hardcode \$libdir into a binary during linking.
  12356. +# This must work even if \$libdir does not exist.
  12357. +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
  12358. +
  12359. +# Whether we need a single -rpath flag with a separated argument.
  12360. +hardcode_libdir_separator=$lt_hardcode_libdir_separator
  12361. +
  12362. +# Set to yes if using DIR/libNAME.so during linking hardcodes DIR into the
  12363. +# resulting binary.
  12364. +hardcode_direct=$hardcode_direct
  12365. +
  12366. +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
  12367. +# resulting binary.
  12368. +hardcode_minus_L=$hardcode_minus_L
  12369. +
  12370. +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
  12371. +# the resulting binary.
  12372. +hardcode_shlibpath_var=$hardcode_shlibpath_var
  12373. +
  12374. +# Variables whose values should be saved in libtool wrapper scripts and
  12375. +# restored at relink time.
  12376. +variables_saved_for_relink="$variables_saved_for_relink"
  12377. +
  12378. +# Whether libtool must link a program against all its dependency libraries.
  12379. +link_all_deplibs=$link_all_deplibs
  12380. +
  12381. +# Compile-time system search path for libraries
  12382. +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
  12383. +
  12384. +# Run-time system search path for libraries
  12385. +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
  12386. +
  12387. +# Fix the shell variable \$srcfile for the compiler.
  12388. +fix_srcfile_path="$fix_srcfile_path"
  12389. +
  12390. +# Set to yes if exported symbols are required.
  12391. +always_export_symbols=$always_export_symbols
  12392. +
  12393. +# The commands to list exported symbols.
  12394. +export_symbols_cmds=$lt_export_symbols_cmds
  12395. +
  12396. +# The commands to extract the exported symbol list from a shared archive.
  12397. +extract_expsyms_cmds=$lt_extract_expsyms_cmds
  12398. +
  12399. +# Symbols that should not be listed in the preloaded symbols.
  12400. +exclude_expsyms=$lt_exclude_expsyms
  12401. +
  12402. +# Symbols that must always be exported.
  12403. +include_expsyms=$lt_include_expsyms
  12404. +
  12405. +# ### END LIBTOOL CONFIG
  12406. +
  12407. +__EOF__
  12408. +
  12409. + case $host_os in
  12410. + aix3*)
  12411. + cat <<\EOF >> "${ofile}T"
  12412. +
  12413. +# AIX sometimes has problems with the GCC collect2 program. For some
  12414. +# reason, if we set the COLLECT_NAMES environment variable, the problems
  12415. +# vanish in a puff of smoke.
  12416. +if test "X${COLLECT_NAMES+set}" != Xset; then
  12417. + COLLECT_NAMES=
  12418. + export COLLECT_NAMES
  12419. +fi
  12420. +EOF
  12421. + ;;
  12422. + esac
  12423. +
  12424. + case $host_os in
  12425. + cygwin* | mingw* | pw32* | os2*)
  12426. + cat <<'EOF' >> "${ofile}T"
  12427. + # This is a source program that is used to create dlls on Windows
  12428. + # Don't remove nor modify the starting and closing comments
  12429. +# /* ltdll.c starts here */
  12430. +# #define WIN32_LEAN_AND_MEAN
  12431. +# #include <windows.h>
  12432. +# #undef WIN32_LEAN_AND_MEAN
  12433. +# #include <stdio.h>
  12434. +#
  12435. +# #ifndef __CYGWIN__
  12436. +# # ifdef __CYGWIN32__
  12437. +# # define __CYGWIN__ __CYGWIN32__
  12438. +# # endif
  12439. +# #endif
  12440. +#
  12441. +# #ifdef __cplusplus
  12442. +# extern "C" {
  12443. +# #endif
  12444. +# BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved);
  12445. +# #ifdef __cplusplus
  12446. +# }
  12447. +# #endif
  12448. +#
  12449. +# #ifdef __CYGWIN__
  12450. +# #include <cygwin/cygwin_dll.h>
  12451. +# DECLARE_CYGWIN_DLL( DllMain );
  12452. +# #endif
  12453. +# HINSTANCE __hDllInstance_base;
  12454. +#
  12455. +# BOOL APIENTRY
  12456. +# DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved)
  12457. +# {
  12458. +# __hDllInstance_base = hInst;
  12459. +# return TRUE;
  12460. +# }
  12461. +# /* ltdll.c ends here */
  12462. + # This is a source program that is used to create import libraries
  12463. + # on Windows for dlls which lack them. Don't remove nor modify the
  12464. + # starting and closing comments
  12465. +# /* impgen.c starts here */
  12466. +# /* Copyright (C) 1999-2000 Free Software Foundation, Inc.
  12467. +#
  12468. +# This file is part of GNU libtool.
  12469. +#
  12470. +# This program is free software; you can redistribute it and/or modify
  12471. +# it under the terms of the GNU General Public License as published by
  12472. +# the Free Software Foundation; either version 2 of the License, or
  12473. +# (at your option) any later version.
  12474. +#
  12475. +# This program is distributed in the hope that it will be useful,
  12476. +# but WITHOUT ANY WARRANTY; without even the implied warranty of
  12477. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12478. +# GNU General Public License for more details.
  12479. +#
  12480. +# You should have received a copy of the GNU General Public License
  12481. +# along with this program; if not, write to the Free Software
  12482. +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  12483. +# */
  12484. +#
  12485. +# #include <stdio.h> /* for printf() */
  12486. +# #include <unistd.h> /* for open(), lseek(), read() */
  12487. +# #include <fcntl.h> /* for O_RDONLY, O_BINARY */
  12488. +# #include <string.h> /* for strdup() */
  12489. +#
  12490. +# /* O_BINARY isn't required (or even defined sometimes) under Unix */
  12491. +# #ifndef O_BINARY
  12492. +# #define O_BINARY 0
  12493. +# #endif
  12494. +#
  12495. +# static unsigned int
  12496. +# pe_get16 (fd, offset)
  12497. +# int fd;
  12498. +# int offset;
  12499. +# {
  12500. +# unsigned char b[2];
  12501. +# lseek (fd, offset, SEEK_SET);
  12502. +# read (fd, b, 2);
  12503. +# return b[0] + (b[1]<<8);
  12504. +# }
  12505. +#
  12506. +# static unsigned int
  12507. +# pe_get32 (fd, offset)
  12508. +# int fd;
  12509. +# int offset;
  12510. +# {
  12511. +# unsigned char b[4];
  12512. +# lseek (fd, offset, SEEK_SET);
  12513. +# read (fd, b, 4);
  12514. +# return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24);
  12515. +# }
  12516. +#
  12517. +# static unsigned int
  12518. +# pe_as32 (ptr)
  12519. +# void *ptr;
  12520. +# {
  12521. +# unsigned char *b = ptr;
  12522. +# return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24);
  12523. +# }
  12524. +#
  12525. +# int
  12526. +# main (argc, argv)
  12527. +# int argc;
  12528. +# char *argv[];
  12529. +# {
  12530. +# int dll;
  12531. +# unsigned long pe_header_offset, opthdr_ofs, num_entries, i;
  12532. +# unsigned long export_rva, export_size, nsections, secptr, expptr;
  12533. +# unsigned long name_rvas, nexp;
  12534. +# unsigned char *expdata, *erva;
  12535. +# char *filename, *dll_name;
  12536. +#
  12537. +# filename = argv[1];
  12538. +#
  12539. +# dll = open(filename, O_RDONLY|O_BINARY);
  12540. +# if (dll < 1)
  12541. +# return 1;
  12542. +#
  12543. +# dll_name = filename;
  12544. +#
  12545. +# for (i=0; filename[i]; i++)
  12546. +# if (filename[i] == '/' || filename[i] == '\\' || filename[i] == ':')
  12547. +# dll_name = filename + i +1;
  12548. +#
  12549. +# pe_header_offset = pe_get32 (dll, 0x3c);
  12550. +# opthdr_ofs = pe_header_offset + 4 + 20;
  12551. +# num_entries = pe_get32 (dll, opthdr_ofs + 92);
  12552. +#
  12553. +# if (num_entries < 1) /* no exports */
  12554. +# return 1;
  12555. +#
  12556. +# export_rva = pe_get32 (dll, opthdr_ofs + 96);
  12557. +# export_size = pe_get32 (dll, opthdr_ofs + 100);
  12558. +# nsections = pe_get16 (dll, pe_header_offset + 4 +2);
  12559. +# secptr = (pe_header_offset + 4 + 20 +
  12560. +# pe_get16 (dll, pe_header_offset + 4 + 16));
  12561. +#
  12562. +# expptr = 0;
  12563. +# for (i = 0; i < nsections; i++)
  12564. +# {
  12565. +# char sname[8];
  12566. +# unsigned long secptr1 = secptr + 40 * i;
  12567. +# unsigned long vaddr = pe_get32 (dll, secptr1 + 12);
  12568. +# unsigned long vsize = pe_get32 (dll, secptr1 + 16);
  12569. +# unsigned long fptr = pe_get32 (dll, secptr1 + 20);
  12570. +# lseek(dll, secptr1, SEEK_SET);
  12571. +# read(dll, sname, 8);
  12572. +# if (vaddr <= export_rva && vaddr+vsize > export_rva)
  12573. +# {
  12574. +# expptr = fptr + (export_rva - vaddr);
  12575. +# if (export_rva + export_size > vaddr + vsize)
  12576. +# export_size = vsize - (export_rva - vaddr);
  12577. +# break;
  12578. +# }
  12579. +# }
  12580. +#
  12581. +# expdata = (unsigned char*)malloc(export_size);
  12582. +# lseek (dll, expptr, SEEK_SET);
  12583. +# read (dll, expdata, export_size);
  12584. +# erva = expdata - export_rva;
  12585. +#
  12586. +# nexp = pe_as32 (expdata+24);
  12587. +# name_rvas = pe_as32 (expdata+32);
  12588. +#
  12589. +# printf ("EXPORTS\n");
  12590. +# for (i = 0; i<nexp; i++)
  12591. +# {
  12592. +# unsigned long name_rva = pe_as32 (erva+name_rvas+i*4);
  12593. +# printf ("\t%s @ %ld ;\n", erva+name_rva, 1+ i);
  12594. +# }
  12595. +#
  12596. +# return 0;
  12597. +# }
  12598. +# /* impgen.c ends here */
  12599. +
  12600. +EOF
  12601. + ;;
  12602. + esac
  12603. +
  12604. + # We use sed instead of cat because bash on DJGPP gets confused if
  12605. + # if finds mixed CR/LF and LF-only lines. Since sed operates in
  12606. + # text mode, it properly converts lines to CR/LF. This bash problem
  12607. + # is reportedly fixed, but why not run on old versions too?
  12608. + sed '$q' "$ltmain" >> "${ofile}T" || (rm -f "${ofile}T"; exit 1)
  12609. +
  12610. + mv -f "${ofile}T" "$ofile" || \
  12611. + (rm -f "$ofile" && cp "${ofile}T" "$ofile" && rm -f "${ofile}T")
  12612. + chmod +x "$ofile"
  12613. +fi
  12614. +##
  12615. +## END FIXME
  12616. +
  12617. +])# _LT_AC_LTCONFIG_HACK
  12618. # AC_LIBTOOL_DLOPEN - enable checks for dlopen support
  12619. -AC_DEFUN(AC_LIBTOOL_DLOPEN, [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])])
  12620. +AC_DEFUN([AC_LIBTOOL_DLOPEN], [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])])
  12621. # AC_LIBTOOL_WIN32_DLL - declare package support for building win32 dll's
  12622. -AC_DEFUN(AC_LIBTOOL_WIN32_DLL, [AC_BEFORE([$0], [AC_LIBTOOL_SETUP])])
  12623. +AC_DEFUN([AC_LIBTOOL_WIN32_DLL], [AC_BEFORE([$0], [AC_LIBTOOL_SETUP])])
  12624. # AC_ENABLE_SHARED - implement the --enable-shared flag
  12625. # Usage: AC_ENABLE_SHARED[(DEFAULT)]
  12626. # Where DEFAULT is either `yes' or `no'. If omitted, it defaults to
  12627. # `yes'.
  12628. -AC_DEFUN(AC_ENABLE_SHARED, [dnl
  12629. -define([AC_ENABLE_SHARED_DEFAULT], ifelse($1, no, no, yes))dnl
  12630. +AC_DEFUN([AC_ENABLE_SHARED],
  12631. +[define([AC_ENABLE_SHARED_DEFAULT], ifelse($1, no, no, yes))dnl
  12632. AC_ARG_ENABLE(shared,
  12633. changequote(<<, >>)dnl
  12634. << --enable-shared[=PKGS] build shared libraries [default=>>AC_ENABLE_SHARED_DEFAULT],
  12635. changequote([, ])dnl
  12636. [p=${PACKAGE-default}
  12637. -case "$enableval" in
  12638. +case $enableval in
  12639. yes) enable_shared=yes ;;
  12640. no) enable_shared=no ;;
  12641. *)
  12642. @@ -167,21 +3062,22 @@
  12643. ])
  12644. # AC_DISABLE_SHARED - set the default shared flag to --disable-shared
  12645. -AC_DEFUN(AC_DISABLE_SHARED, [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
  12646. +AC_DEFUN([AC_DISABLE_SHARED],
  12647. +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
  12648. AC_ENABLE_SHARED(no)])
  12649. # AC_ENABLE_STATIC - implement the --enable-static flag
  12650. # Usage: AC_ENABLE_STATIC[(DEFAULT)]
  12651. # Where DEFAULT is either `yes' or `no'. If omitted, it defaults to
  12652. # `yes'.
  12653. -AC_DEFUN(AC_ENABLE_STATIC, [dnl
  12654. -define([AC_ENABLE_STATIC_DEFAULT], ifelse($1, no, no, yes))dnl
  12655. +AC_DEFUN([AC_ENABLE_STATIC],
  12656. +[define([AC_ENABLE_STATIC_DEFAULT], ifelse($1, no, no, yes))dnl
  12657. AC_ARG_ENABLE(static,
  12658. changequote(<<, >>)dnl
  12659. << --enable-static[=PKGS] build static libraries [default=>>AC_ENABLE_STATIC_DEFAULT],
  12660. changequote([, ])dnl
  12661. [p=${PACKAGE-default}
  12662. -case "$enableval" in
  12663. +case $enableval in
  12664. yes) enable_static=yes ;;
  12665. no) enable_static=no ;;
  12666. *)
  12667. @@ -200,7 +3096,8 @@
  12668. ])
  12669. # AC_DISABLE_STATIC - set the default static flag to --disable-static
  12670. -AC_DEFUN(AC_DISABLE_STATIC, [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
  12671. +AC_DEFUN([AC_DISABLE_STATIC],
  12672. +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
  12673. AC_ENABLE_STATIC(no)])
  12674. @@ -208,14 +3105,14 @@
  12675. # Usage: AC_ENABLE_FAST_INSTALL[(DEFAULT)]
  12676. # Where DEFAULT is either `yes' or `no'. If omitted, it defaults to
  12677. # `yes'.
  12678. -AC_DEFUN(AC_ENABLE_FAST_INSTALL, [dnl
  12679. -define([AC_ENABLE_FAST_INSTALL_DEFAULT], ifelse($1, no, no, yes))dnl
  12680. +AC_DEFUN([AC_ENABLE_FAST_INSTALL],
  12681. +[define([AC_ENABLE_FAST_INSTALL_DEFAULT], ifelse($1, no, no, yes))dnl
  12682. AC_ARG_ENABLE(fast-install,
  12683. changequote(<<, >>)dnl
  12684. << --enable-fast-install[=PKGS] optimize for fast installation [default=>>AC_ENABLE_FAST_INSTALL_DEFAULT],
  12685. changequote([, ])dnl
  12686. [p=${PACKAGE-default}
  12687. -case "$enableval" in
  12688. +case $enableval in
  12689. yes) enable_fast_install=yes ;;
  12690. no) enable_fast_install=no ;;
  12691. *)
  12692. @@ -233,29 +3130,120 @@
  12693. enable_fast_install=AC_ENABLE_FAST_INSTALL_DEFAULT)dnl
  12694. ])
  12695. -# AC_ENABLE_FAST_INSTALL - set the default to --disable-fast-install
  12696. -AC_DEFUN(AC_DISABLE_FAST_INSTALL, [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
  12697. +# AC_DISABLE_FAST_INSTALL - set the default to --disable-fast-install
  12698. +AC_DEFUN([AC_DISABLE_FAST_INSTALL],
  12699. +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
  12700. AC_ENABLE_FAST_INSTALL(no)])
  12701. +# AC_LIBTOOL_PICMODE - implement the --with-pic flag
  12702. +# Usage: AC_LIBTOOL_PICMODE[(MODE)]
  12703. +# Where MODE is either `yes' or `no'. If omitted, it defaults to
  12704. +# `both'.
  12705. +AC_DEFUN([AC_LIBTOOL_PICMODE],
  12706. +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
  12707. +pic_mode=ifelse($#,1,$1,default)])
  12708. +
  12709. +
  12710. +# AC_PATH_TOOL_PREFIX - find a file program which can recognise shared library
  12711. +AC_DEFUN([AC_PATH_TOOL_PREFIX],
  12712. +[AC_MSG_CHECKING([for $1])
  12713. +AC_CACHE_VAL(lt_cv_path_MAGIC_CMD,
  12714. +[case $MAGIC_CMD in
  12715. + /*)
  12716. + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
  12717. + ;;
  12718. + ?:/*)
  12719. + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
  12720. + ;;
  12721. + *)
  12722. + ac_save_MAGIC_CMD="$MAGIC_CMD"
  12723. + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
  12724. +dnl $ac_dummy forces splitting on constant user-supplied paths.
  12725. +dnl POSIX.2 word splitting is done only on the output of word expansions,
  12726. +dnl not every word. This closes a longstanding sh security hole.
  12727. + ac_dummy="ifelse([$2], , $PATH, [$2])"
  12728. + for ac_dir in $ac_dummy; do
  12729. + test -z "$ac_dir" && ac_dir=.
  12730. + if test -f $ac_dir/$1; then
  12731. + lt_cv_path_MAGIC_CMD="$ac_dir/$1"
  12732. + if test -n "$file_magic_test_file"; then
  12733. + case $deplibs_check_method in
  12734. + "file_magic "*)
  12735. + file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
  12736. + MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  12737. + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
  12738. + egrep "$file_magic_regex" > /dev/null; then
  12739. + :
  12740. + else
  12741. + cat <<EOF 1>&2
  12742. +
  12743. +*** Warning: the command libtool uses to detect shared libraries,
  12744. +*** $file_magic_cmd, produces output that libtool cannot recognize.
  12745. +*** The result is that libtool may fail to recognize shared libraries
  12746. +*** as such. This will affect the creation of libtool libraries that
  12747. +*** depend on shared libraries, but programs linked with such libtool
  12748. +*** libraries will work regardless of this problem. Nevertheless, you
  12749. +*** may want to report the problem to your system manager and/or to
  12750. +*** bug-libtool@gnu.org
  12751. +
  12752. +EOF
  12753. + fi ;;
  12754. + esac
  12755. + fi
  12756. + break
  12757. + fi
  12758. + done
  12759. + IFS="$ac_save_ifs"
  12760. + MAGIC_CMD="$ac_save_MAGIC_CMD"
  12761. + ;;
  12762. +esac])
  12763. +MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  12764. +if test -n "$MAGIC_CMD"; then
  12765. + AC_MSG_RESULT($MAGIC_CMD)
  12766. +else
  12767. + AC_MSG_RESULT(no)
  12768. +fi
  12769. +])
  12770. +
  12771. +
  12772. +# AC_PATH_MAGIC - find a file program which can recognise a shared library
  12773. +AC_DEFUN([AC_PATH_MAGIC],
  12774. +[AC_REQUIRE([AC_CHECK_TOOL_PREFIX])dnl
  12775. +AC_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin:$PATH)
  12776. +if test -z "$lt_cv_path_MAGIC_CMD"; then
  12777. + if test -n "$ac_tool_prefix"; then
  12778. + AC_PATH_TOOL_PREFIX(file, /usr/bin:$PATH)
  12779. + else
  12780. + MAGIC_CMD=:
  12781. + fi
  12782. +fi
  12783. +])
  12784. +
  12785. +
  12786. # AC_PROG_LD - find the path to the GNU or non-GNU linker
  12787. -AC_DEFUN(AC_PROG_LD,
  12788. +AC_DEFUN([AC_PROG_LD],
  12789. [AC_ARG_WITH(gnu-ld,
  12790. [ --with-gnu-ld assume the C compiler uses GNU ld [default=no]],
  12791. test "$withval" = no || with_gnu_ld=yes, with_gnu_ld=no)
  12792. AC_REQUIRE([AC_PROG_CC])dnl
  12793. AC_REQUIRE([AC_CANONICAL_HOST])dnl
  12794. AC_REQUIRE([AC_CANONICAL_BUILD])dnl
  12795. +AC_REQUIRE([_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR])dnl
  12796. ac_prog=ld
  12797. -if test "$ac_cv_prog_gcc" = yes; then
  12798. +if test "$GCC" = yes; then
  12799. # Check if gcc -print-prog-name=ld gives a path.
  12800. AC_MSG_CHECKING([for ld used by GCC])
  12801. - ac_prog=`($CC -print-prog-name=ld) 2>&5`
  12802. - case "$ac_prog" in
  12803. + case $host in
  12804. + *-*-mingw*)
  12805. + # gcc leaves a trailing carriage return which upsets mingw
  12806. + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
  12807. + *)
  12808. + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
  12809. + esac
  12810. + case $ac_prog in
  12811. # Accept absolute paths.
  12812. -changequote(,)dnl
  12813. - [\\/]* | [A-Za-z]:[\\/]*)
  12814. - re_direlt='/[^/][^/]*/\.\./'
  12815. -changequote([,])dnl
  12816. + [[\\/]]* | [[A-Za-z]]:[[\\/]]*)
  12817. + re_direlt='/[[^/]][[^/]]*/\.\./'
  12818. # Canonicalize the path of ld
  12819. ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
  12820. while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
  12821. @@ -277,17 +3265,17 @@
  12822. else
  12823. AC_MSG_CHECKING([for non-GNU ld])
  12824. fi
  12825. -AC_CACHE_VAL(ac_cv_path_LD,
  12826. +AC_CACHE_VAL(lt_cv_path_LD,
  12827. [if test -z "$LD"; then
  12828. - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
  12829. + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  12830. for ac_dir in $PATH; do
  12831. test -z "$ac_dir" && ac_dir=.
  12832. if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
  12833. - ac_cv_path_LD="$ac_dir/$ac_prog"
  12834. + lt_cv_path_LD="$ac_dir/$ac_prog"
  12835. # Check to see if the program is GNU ld. I'd rather use --version,
  12836. # but apparently some GNU ld's only accept -v.
  12837. # Break only if it was the GNU/non-GNU ld that we prefer.
  12838. - if "$ac_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
  12839. + if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
  12840. test "$with_gnu_ld" != no && break
  12841. else
  12842. test "$with_gnu_ld" != yes && break
  12843. @@ -296,9 +3284,9 @@
  12844. done
  12845. IFS="$ac_save_ifs"
  12846. else
  12847. - ac_cv_path_LD="$LD" # Let the user override the test with a path.
  12848. + lt_cv_path_LD="$LD" # Let the user override the test with a path.
  12849. fi])
  12850. -LD="$ac_cv_path_LD"
  12851. +LD="$lt_cv_path_LD"
  12852. if test -n "$LD"; then
  12853. AC_MSG_RESULT($LD)
  12854. else
  12855. @@ -308,56 +3296,255 @@
  12856. AC_PROG_LD_GNU
  12857. ])
  12858. -AC_DEFUN(AC_PROG_LD_GNU,
  12859. -[AC_CACHE_CHECK([if the linker ($LD) is GNU ld], ac_cv_prog_gnu_ld,
  12860. +# AC_PROG_LD_GNU -
  12861. +AC_DEFUN([AC_PROG_LD_GNU],
  12862. +[AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld,
  12863. [# I'd rather use --version here, but apparently some GNU ld's only accept -v.
  12864. if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
  12865. - ac_cv_prog_gnu_ld=yes
  12866. + lt_cv_prog_gnu_ld=yes
  12867. else
  12868. - ac_cv_prog_gnu_ld=no
  12869. + lt_cv_prog_gnu_ld=no
  12870. fi])
  12871. +with_gnu_ld=$lt_cv_prog_gnu_ld
  12872. +])
  12873. +
  12874. +# AC_PROG_LD_RELOAD_FLAG - find reload flag for linker
  12875. +# -- PORTME Some linkers may need a different reload flag.
  12876. +AC_DEFUN([AC_PROG_LD_RELOAD_FLAG],
  12877. +[AC_CACHE_CHECK([for $LD option to reload object files], lt_cv_ld_reload_flag,
  12878. +[lt_cv_ld_reload_flag='-r'])
  12879. +reload_flag=$lt_cv_ld_reload_flag
  12880. +test -n "$reload_flag" && reload_flag=" $reload_flag"
  12881. +])
  12882. +
  12883. +# AC_DEPLIBS_CHECK_METHOD - how to check for library dependencies
  12884. +# -- PORTME fill in with the dynamic library characteristics
  12885. +AC_DEFUN([AC_DEPLIBS_CHECK_METHOD],
  12886. +[AC_CACHE_CHECK([how to recognise dependent libraries],
  12887. +lt_cv_deplibs_check_method,
  12888. +[lt_cv_file_magic_cmd='$MAGIC_CMD'
  12889. +lt_cv_file_magic_test_file=
  12890. +lt_cv_deplibs_check_method='unknown'
  12891. +# Need to set the preceding variable on all platforms that support
  12892. +# interlibrary dependencies.
  12893. +# 'none' -- dependencies not supported.
  12894. +# `unknown' -- same as none, but documents that we really don't know.
  12895. +# 'pass_all' -- all dependencies passed with no checks.
  12896. +# 'test_compile' -- check by making test program.
  12897. +# 'file_magic [[regex]]' -- check by looking for files in library path
  12898. +# which responds to the $file_magic_cmd with a given egrep regex.
  12899. +# If you have `file' or equivalent on your system and you're not sure
  12900. +# whether `pass_all' will *always* work, you probably want this one.
  12901. +
  12902. +case $host_os in
  12903. +aix4* | aix5*)
  12904. + lt_cv_deplibs_check_method=pass_all
  12905. + ;;
  12906. +
  12907. +beos*)
  12908. + lt_cv_deplibs_check_method=pass_all
  12909. + ;;
  12910. +
  12911. +bsdi4*)
  12912. + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)'
  12913. + lt_cv_file_magic_cmd='/usr/bin/file -L'
  12914. + lt_cv_file_magic_test_file=/shlib/libc.so
  12915. + ;;
  12916. +
  12917. +cygwin* | mingw* | pw32*)
  12918. + lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
  12919. + lt_cv_file_magic_cmd='$OBJDUMP -f'
  12920. + ;;
  12921. +
  12922. +darwin* | rhapsody*)
  12923. + lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
  12924. + lt_cv_file_magic_cmd='/usr/bin/file -L'
  12925. + case "$host_os" in
  12926. + rhapsody* | darwin1.[[012]])
  12927. + lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -1`
  12928. + ;;
  12929. + *) # Darwin 1.3 on
  12930. + lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
  12931. + ;;
  12932. + esac
  12933. + ;;
  12934. +
  12935. +freebsd*)
  12936. + if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
  12937. + case $host_cpu in
  12938. + i*86 )
  12939. + # Not sure whether the presence of OpenBSD here was a mistake.
  12940. + # Let's accept both of them until this is cleared up.
  12941. + lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[[3-9]]86 (compact )?demand paged shared library'
  12942. + lt_cv_file_magic_cmd=/usr/bin/file
  12943. + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
  12944. + ;;
  12945. + esac
  12946. + else
  12947. + lt_cv_deplibs_check_method=pass_all
  12948. + fi
  12949. + ;;
  12950. +
  12951. +gnu*)
  12952. + lt_cv_deplibs_check_method=pass_all
  12953. + ;;
  12954. +
  12955. +hpux10.20*|hpux11*)
  12956. + lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library'
  12957. + lt_cv_file_magic_cmd=/usr/bin/file
  12958. + lt_cv_file_magic_test_file=/usr/lib/libc.sl
  12959. + ;;
  12960. +
  12961. +irix5* | irix6* | nonstopux*)
  12962. + case $host_os in
  12963. + irix5* | nonstopux*)
  12964. + # this will be overridden with pass_all, but let us keep it just in case
  12965. + lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
  12966. + ;;
  12967. + *)
  12968. + case $LD in
  12969. + *-32|*"-32 ") libmagic=32-bit;;
  12970. + *-n32|*"-n32 ") libmagic=N32;;
  12971. + *-64|*"-64 ") libmagic=64-bit;;
  12972. + *) libmagic=never-match;;
  12973. + esac
  12974. + # this will be overridden with pass_all, but let us keep it just in case
  12975. + lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[[1234]] dynamic lib MIPS - version 1"
  12976. + ;;
  12977. + esac
  12978. + lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
  12979. + lt_cv_deplibs_check_method=pass_all
  12980. + ;;
  12981. +
  12982. +# This must be Linux ELF.
  12983. +linux-gnu*)
  12984. + case $host_cpu in
  12985. + alpha* | hppa* | i*86 | mips | mipsel | powerpc* | sparc* | ia64* | arm* | m68k)
  12986. + lt_cv_deplibs_check_method=pass_all ;;
  12987. + *)
  12988. + # glibc up to 2.1.1 does not perform some relocations on ARM
  12989. + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )' ;;
  12990. + esac
  12991. + lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
  12992. + ;;
  12993. +
  12994. +netbsd*)
  12995. + if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
  12996. + lt_cv_deplibs_check_method='match_pattern /lib[[^/\.]]+\.so\.[[0-9]]+\.[[0-9]]+$'
  12997. + else
  12998. + lt_cv_deplibs_check_method='match_pattern /lib[[^/\.]]+\.so$'
  12999. + fi
  13000. + ;;
  13001. +
  13002. +newos6*)
  13003. + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)'
  13004. + lt_cv_file_magic_cmd=/usr/bin/file
  13005. + lt_cv_file_magic_test_file=/usr/lib/libnls.so
  13006. + ;;
  13007. +
  13008. +openbsd*)
  13009. + lt_cv_file_magic_cmd=/usr/bin/file
  13010. + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
  13011. + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  13012. + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB shared object'
  13013. + else
  13014. + lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
  13015. + fi
  13016. + ;;
  13017. +
  13018. +osf3* | osf4* | osf5*)
  13019. + # this will be overridden with pass_all, but let us keep it just in case
  13020. + lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
  13021. + lt_cv_file_magic_test_file=/shlib/libc.so
  13022. + lt_cv_deplibs_check_method=pass_all
  13023. + ;;
  13024. +
  13025. +sco3.2v5*)
  13026. + lt_cv_deplibs_check_method=pass_all
  13027. + ;;
  13028. +
  13029. +solaris*)
  13030. + lt_cv_deplibs_check_method=pass_all
  13031. + lt_cv_file_magic_test_file=/lib/libc.so
  13032. + ;;
  13033. +
  13034. +sysv5uw[[78]]* | sysv4*uw2*)
  13035. + lt_cv_deplibs_check_method=pass_all
  13036. + ;;
  13037. +
  13038. +sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
  13039. + case $host_vendor in
  13040. + motorola)
  13041. + 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]]'
  13042. + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
  13043. + ;;
  13044. + ncr)
  13045. + lt_cv_deplibs_check_method=pass_all
  13046. + ;;
  13047. + sequent)
  13048. + lt_cv_file_magic_cmd='/bin/file'
  13049. + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )'
  13050. + ;;
  13051. + sni)
  13052. + lt_cv_file_magic_cmd='/bin/file'
  13053. + lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib"
  13054. + lt_cv_file_magic_test_file=/lib/libc.so
  13055. + ;;
  13056. + siemens)
  13057. + lt_cv_deplibs_check_method=pass_all
  13058. + ;;
  13059. + esac
  13060. + ;;
  13061. +esac
  13062. +])
  13063. +file_magic_cmd=$lt_cv_file_magic_cmd
  13064. +deplibs_check_method=$lt_cv_deplibs_check_method
  13065. ])
  13066. +
  13067. # AC_PROG_NM - find the path to a BSD-compatible name lister
  13068. -AC_DEFUN(AC_PROG_NM,
  13069. -[AC_MSG_CHECKING([for BSD-compatible nm])
  13070. -AC_CACHE_VAL(ac_cv_path_NM,
  13071. +AC_DEFUN([AC_PROG_NM],
  13072. +[AC_REQUIRE([_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR])dnl
  13073. +AC_MSG_CHECKING([for BSD-compatible nm])
  13074. +AC_CACHE_VAL(lt_cv_path_NM,
  13075. [if test -n "$NM"; then
  13076. # Let the user override the test.
  13077. - ac_cv_path_NM="$NM"
  13078. + lt_cv_path_NM="$NM"
  13079. else
  13080. - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
  13081. + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  13082. for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
  13083. test -z "$ac_dir" && ac_dir=.
  13084. - if test -f $ac_dir/nm || test -f $ac_dir/nm$ac_exeext ; then
  13085. + tmp_nm=$ac_dir/${ac_tool_prefix}nm
  13086. + if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
  13087. # Check to see if the nm accepts a BSD-compat flag.
  13088. # Adding the `sed 1q' prevents false positives on HP-UX, which says:
  13089. # nm: unknown option "B" ignored
  13090. - if ($ac_dir/nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
  13091. - ac_cv_path_NM="$ac_dir/nm -B"
  13092. + # Tru64's nm complains that /dev/null is an invalid object file
  13093. + if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
  13094. + lt_cv_path_NM="$tmp_nm -B"
  13095. break
  13096. - elif ($ac_dir/nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
  13097. - ac_cv_path_NM="$ac_dir/nm -p"
  13098. + elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
  13099. + lt_cv_path_NM="$tmp_nm -p"
  13100. break
  13101. else
  13102. - ac_cv_path_NM=${ac_cv_path_NM="$ac_dir/nm"} # keep the first match, but
  13103. + lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
  13104. continue # so that we can try to find one that supports BSD flags
  13105. fi
  13106. fi
  13107. done
  13108. IFS="$ac_save_ifs"
  13109. - test -z "$ac_cv_path_NM" && ac_cv_path_NM=nm
  13110. + test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
  13111. fi])
  13112. -NM="$ac_cv_path_NM"
  13113. +NM="$lt_cv_path_NM"
  13114. AC_MSG_RESULT([$NM])
  13115. ])
  13116. # AC_CHECK_LIBM - check for math library
  13117. -AC_DEFUN(AC_CHECK_LIBM,
  13118. +AC_DEFUN([AC_CHECK_LIBM],
  13119. [AC_REQUIRE([AC_CANONICAL_HOST])dnl
  13120. LIBM=
  13121. -case "$lt_target" in
  13122. -*-*-beos* | *-*-cygwin*)
  13123. +case $host in
  13124. +*-*-beos* | *-*-cygwin* | *-*-pw32*)
  13125. # These system don't have libm
  13126. ;;
  13127. *-ncr-sysv4.3*)
  13128. @@ -371,37 +3558,41 @@
  13129. ])
  13130. # AC_LIBLTDL_CONVENIENCE[(dir)] - sets LIBLTDL to the link flags for
  13131. -# the libltdl convenience library and INCLTDL to the include flags for
  13132. +# the libltdl convenience library and LTDLINCL to the include flags for
  13133. # the libltdl header and adds --enable-ltdl-convenience to the
  13134. -# configure arguments. Note that LIBLTDL and INCLTDL are not
  13135. +# configure arguments. Note that LIBLTDL and LTDLINCL are not
  13136. # AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called. If DIR is not
  13137. # provided, it is assumed to be `libltdl'. LIBLTDL will be prefixed
  13138. -# with '${top_builddir}/' and INCLTDL will be prefixed with
  13139. +# with '${top_builddir}/' and LTDLINCL will be prefixed with
  13140. # '${top_srcdir}/' (note the single quotes!). If your package is not
  13141. # flat and you're not using automake, define top_builddir and
  13142. # top_srcdir appropriately in the Makefiles.
  13143. -AC_DEFUN(AC_LIBLTDL_CONVENIENCE, [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
  13144. - case "$enable_ltdl_convenience" in
  13145. +AC_DEFUN([AC_LIBLTDL_CONVENIENCE],
  13146. +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
  13147. + case $enable_ltdl_convenience in
  13148. no) AC_MSG_ERROR([this package needs a convenience libltdl]) ;;
  13149. "") enable_ltdl_convenience=yes
  13150. ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
  13151. esac
  13152. LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdlc.la
  13153. - INCLTDL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
  13154. + LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
  13155. + # For backwards non-gettext consistent compatibility...
  13156. + INCLTDL="$LTDLINCL"
  13157. ])
  13158. # AC_LIBLTDL_INSTALLABLE[(dir)] - sets LIBLTDL to the link flags for
  13159. -# the libltdl installable library and INCLTDL to the include flags for
  13160. +# the libltdl installable library and LTDLINCL to the include flags for
  13161. # the libltdl header and adds --enable-ltdl-install to the configure
  13162. -# arguments. Note that LIBLTDL and INCLTDL are not AC_SUBSTed, nor is
  13163. +# arguments. Note that LIBLTDL and LTDLINCL are not AC_SUBSTed, nor is
  13164. # AC_CONFIG_SUBDIRS called. If DIR is not provided and an installed
  13165. # libltdl is not found, it is assumed to be `libltdl'. LIBLTDL will
  13166. -# be prefixed with '${top_builddir}/' and INCLTDL will be prefixed
  13167. +# be prefixed with '${top_builddir}/' and LTDLINCL will be prefixed
  13168. # with '${top_srcdir}/' (note the single quotes!). If your package is
  13169. # not flat and you're not using automake, define top_builddir and
  13170. # top_srcdir appropriately in the Makefiles.
  13171. # In the future, this macro may have to be called after AC_PROG_LIBTOOL.
  13172. -AC_DEFUN(AC_LIBLTDL_INSTALLABLE, [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
  13173. +AC_DEFUN([AC_LIBLTDL_INSTALLABLE],
  13174. +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
  13175. AC_CHECK_LIB(ltdl, main,
  13176. [test x"$enable_ltdl_install" != xyes && enable_ltdl_install=no],
  13177. [if test x"$enable_ltdl_install" = xno; then
  13178. @@ -413,22 +3604,115 @@
  13179. if test x"$enable_ltdl_install" = x"yes"; then
  13180. ac_configure_args="$ac_configure_args --enable-ltdl-install"
  13181. LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdl.la
  13182. - INCLTDL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
  13183. + LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
  13184. else
  13185. ac_configure_args="$ac_configure_args --enable-ltdl-install=no"
  13186. LIBLTDL="-lltdl"
  13187. - INCLTDL=
  13188. + LTDLINCL=
  13189. fi
  13190. + # For backwards non-gettext consistent compatibility...
  13191. + INCLTDL="$LTDLINCL"
  13192. ])
  13193. -dnl old names
  13194. -AC_DEFUN(AM_PROG_LIBTOOL, [indir([AC_PROG_LIBTOOL])])dnl
  13195. -AC_DEFUN(AM_ENABLE_SHARED, [indir([AC_ENABLE_SHARED], $@)])dnl
  13196. -AC_DEFUN(AM_ENABLE_STATIC, [indir([AC_ENABLE_STATIC], $@)])dnl
  13197. -AC_DEFUN(AM_DISABLE_SHARED, [indir([AC_DISABLE_SHARED], $@)])dnl
  13198. -AC_DEFUN(AM_DISABLE_STATIC, [indir([AC_DISABLE_STATIC], $@)])dnl
  13199. -AC_DEFUN(AM_PROG_LD, [indir([AC_PROG_LD])])dnl
  13200. -AC_DEFUN(AM_PROG_NM, [indir([AC_PROG_NM])])dnl
  13201. +# old names
  13202. +AC_DEFUN([AM_PROG_LIBTOOL], [AC_PROG_LIBTOOL])
  13203. +AC_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)])
  13204. +AC_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)])
  13205. +AC_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)])
  13206. +AC_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)])
  13207. +AC_DEFUN([AM_PROG_LD], [AC_PROG_LD])
  13208. +AC_DEFUN([AM_PROG_NM], [AC_PROG_NM])
  13209. +
  13210. +# This is just to silence aclocal about the macro not being used
  13211. +ifelse([AC_DISABLE_FAST_INSTALL])
  13212. +
  13213. +############################################################
  13214. +# NOTE: This macro has been submitted for inclusion into #
  13215. +# GNU Autoconf as AC_PROG_SED. When it is available in #
  13216. +# a released version of Autoconf we should remove this #
  13217. +# macro and use it instead. #
  13218. +############################################################
  13219. +# LT_AC_PROG_SED
  13220. +# --------------
  13221. +# Check for a fully-functional sed program, that truncates
  13222. +# as few characters as possible. Prefer GNU sed if found.
  13223. +AC_DEFUN([LT_AC_PROG_SED],
  13224. +[AC_MSG_CHECKING([for a sed that does not truncate output])
  13225. +AC_CACHE_VAL(lt_cv_path_SED,
  13226. +[# Loop through the user's path and test for sed and gsed.
  13227. +# Then use that list of sed's as ones to test for truncation.
  13228. +as_executable_p="test -f"
  13229. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  13230. +for as_dir in $PATH
  13231. +do
  13232. + IFS=$as_save_IFS
  13233. + test -z "$as_dir" && as_dir=.
  13234. + for ac_prog in sed gsed; do
  13235. + for ac_exec_ext in '' $ac_executable_extensions; do
  13236. + if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
  13237. + _sed_list="$_sed_list $as_dir/$ac_prog$ac_exec_ext"
  13238. + fi
  13239. + done
  13240. + done
  13241. +done
  13242. -dnl This is just to silence aclocal about the macro not being used
  13243. -ifelse([AC_DISABLE_FAST_INSTALL])dnl
  13244. + # Create a temporary directory, and hook for its removal unless debugging.
  13245. +$debug ||
  13246. +{
  13247. + trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
  13248. + trap '{ (exit 1); exit 1; }' 1 2 13 15
  13249. +}
  13250. +
  13251. +# Create a (secure) tmp directory for tmp files.
  13252. +: ${TMPDIR=/tmp}
  13253. +{
  13254. + tmp=`(umask 077 && mktemp -d -q "$TMPDIR/sedXXXXXX") 2>/dev/null` &&
  13255. + test -n "$tmp" && test -d "$tmp"
  13256. +} ||
  13257. +{
  13258. + tmp=$TMPDIR/sed$$-$RANDOM
  13259. + (umask 077 && mkdir $tmp)
  13260. +} ||
  13261. +{
  13262. + echo "$me: cannot create a temporary directory in $TMPDIR" >&2
  13263. + { (exit 1); exit 1; }
  13264. +}
  13265. + _max=0
  13266. + _count=0
  13267. + # Add /usr/xpg4/bin/sed as it is typically found on Solaris
  13268. + # along with /bin/sed that truncates output.
  13269. + for _sed in $_sed_list /usr/xpg4/bin/sed; do
  13270. + test ! -f ${_sed} && break
  13271. + cat /dev/null > "$tmp/sed.in"
  13272. + _count=0
  13273. + echo ${ECHO_N-$ac_n} "0123456789${ECHO_C-$ac_c}" >"$tmp/sed.in"
  13274. + # Check for GNU sed and select it if it is found.
  13275. + if "${_sed}" --version 2>&1 < /dev/null | egrep '(GNU)' > /dev/null; then
  13276. + lt_cv_path_SED=${_sed}
  13277. + break
  13278. + fi
  13279. + while true; do
  13280. + cat "$tmp/sed.in" "$tmp/sed.in" >"$tmp/sed.tmp"
  13281. + mv "$tmp/sed.tmp" "$tmp/sed.in"
  13282. + cp "$tmp/sed.in" "$tmp/sed.nl"
  13283. + echo >>"$tmp/sed.nl"
  13284. + ${_sed} -e 's/a$//' < "$tmp/sed.nl" >"$tmp/sed.out" || break
  13285. + cmp -s "$tmp/sed.out" "$tmp/sed.nl" || break
  13286. + # 40000 chars as input seems more than enough
  13287. + test $_count -gt 10 && break
  13288. + _count=`expr $_count + 1`
  13289. + if test $_count -gt $_max; then
  13290. + _max=$_count
  13291. + lt_cv_path_SED=$_sed
  13292. + fi
  13293. + done
  13294. + done
  13295. + rm -rf "$tmp"
  13296. +])
  13297. +if test "X$SED" != "X"; then
  13298. + lt_cv_path_SED=$SED
  13299. +else
  13300. + SED=$lt_cv_path_SED
  13301. +fi
  13302. +AC_MSG_RESULT([$SED])
  13303. +])
  13304. --- recode-3.6.orig/i18n/el.po
  13305. +++ recode-3.6/i18n/el.po
  13306. @@ -70,9 +70,9 @@
  13307. "along with this program; if not, write to the Free Software Foundation,\n"
  13308. "Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n"
  13309. msgstr ""
  13310. -"Áõôü ôï ðñüãñáììá åßíáé åëåýèåñï ëïãéóìéêüÒ ìðïñåßôå íá ôï áíáäéáíåßìåôå\n"
  13311. +"Áõôü ôï ðñüãñáììá åßíáé åëåýèåñï ëïãéóìéêü ìðïñåßôå íá ôï áíáäéáíåßìåôå\n"
  13312. "êáé/Þ íá ôï ôñïðïðïéÞóåôå óýìöùíá ìå ôïõò êáíüíåò ôçò ÃåíéêÞò Äçìüóéáò\n"
  13313. -"¶äåéáò GNU üðùò åêäßäåôáé áðü ôï Free Software FoundationÒ åßôå ôçí\n"
  13314. +"¶äåéáò GNU üðùò åêäßäåôáé áðü ôï Free Software Foundation åßôå ôçí\n"
  13315. "Ýêäïóç 2 åßôå (êáôÜ ôçí ðñïôßìçóÞ óáò) ïðïéáóäÞðïôå ìåôáãåíÝóôåñçò Ýêäïóçò.\n"
  13316. "\n"
  13317. "Áõôü ôï ðñüãñáììá äéáíÝìåôáé ìå ôçí åëðßäá üôé èá åßíáé ÷ñÞóéìï,\n"
  13318. @@ -81,7 +81,7 @@
  13319. "Áíáöåñèåßôå óôï GNU General Public License ãéá ðåñéóóüôåñåò ëåðôïìÝñåéåò.\n"
  13320. "\n"
  13321. "Èá ðñÝðåé íá Ý÷åôáé ëÜâåé Ýíá áíôßãñáöï ôçò ÃåíéêÞò Äçìüóéáò ¶äåéáò GNU\n"
  13322. -"ìáæß ìå áõôü ôï ðñüãñáììáÒ åÜí ü÷é, ãñÜøôå óôï Free Software Foundation,\n"
  13323. +"ìáæß ìå áõôü ôï ðñüãñáììá åÜí ü÷é, ãñÜøôå óôï Free Software Foundation,\n"
  13324. "Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n"
  13325. # src/main.c:479
  13326. @@ -92,21 +92,14 @@
  13327. # src/main.c:483
  13328. #: src/main.c:237
  13329. -msgid ""
  13330. -"Free `recode' converts files between various character sets and surfaces.\n"
  13331. -msgstr ""
  13332. -"Ôï åëåýèåñï `recode' ìåôáôñÝðåé áñ÷åßá ìåôáîý ðïéêßëùí óõíüëùí ÷áñáêôÞñùí "
  13333. -"êáé åðéöáíåéþí.\n"
  13334. +msgid "Free `recode' converts files between various character sets and surfaces.\n"
  13335. +msgstr "Ôï åëåýèåñï `recode' ìåôáôñÝðåé áñ÷åßá ìåôáîý ðïéêßëùí óõíüëùí ÷áñáêôÞñùí êáé åðéöáíåéþí.\n"
  13336. # src/main.c:486
  13337. #: src/main.c:241
  13338. #, c-format
  13339. -msgid ""
  13340. -"\n"
  13341. -"Usage: %s [OPTION]... [ [CHARSET] | REQUEST [FILE]... ]\n"
  13342. -msgstr ""
  13343. -"\n"
  13344. -"×ñÞóç: %s [ÅÐÉËÏÃÇ]... [ [ÓÕÍÏËÏ×ÁÑÁÊÔ¹ÑÙÍ] | ÁÉÔÇÓÇ [ÁÑ×ÅÉÏ]...\n"
  13345. +msgid "\nUsage: %s [OPTION]... [ [CHARSET] | REQUEST [FILE]... ]\n"
  13346. +msgstr "\n×ñÞóç: %s [ÅÐÉËÏÃÇ]... [ [ÓÕÍÏËÏ×ÁÑÁÊÔ¹ÑÙÍ] | ÁÉÔÇÓÇ [ÁÑ×ÅÉÏ]...\n"
  13347. # src/main.c:489
  13348. #: src/main.c:244
  13349. @@ -127,8 +120,7 @@
  13350. "\n"
  13351. "Listings:\n"
  13352. " -l, --list[=FORMAT] list one or all known charsets and aliases\n"
  13353. -" -k, --known=PAIRS restrict charsets according to known PAIRS "
  13354. -"list\n"
  13355. +" -k, --known=PAIRS restrict charsets according to known PAIRS list\n"
  13356. " -h, --header[=[LN/]NAME] write table NAME on stdout using LN, then exit\n"
  13357. " -F, --freeze-tables write out a C module holding all tables\n"
  13358. " -T, --find-subsets report all charsets being subset of others\n"
  13359. @@ -140,8 +132,7 @@
  13360. "Åìöáíßóåéò:\n"
  13361. " -l, --list[=ÌÏÑÖÇ] åìöÜíéóç Ýíá Þ üëá ôá ãíùóôÜ óýíïëá ÷áñáêôÞñùí\n"
  13362. " -k, --known=ÆÅÕÃÇ ðåñéïñéóìüò ôùí óõíüëùí ÷áñáêôÞñùí óýìöùíá ìå\n"
  13363. -" ôç ëßóôá áðü ãíùóôÜ ÆÅÕÃÇ. -h, "
  13364. -"--header[=[LN/]ÏÍÏÌÁ] åìöÜíéóç ôïõ ðßíáêá ÏÍÏÌÁ óôçí êáíïíéêÞ Ýîïäï\n"
  13365. +" ôç ëßóôá áðü ãíùóôÜ ÆÅÕÃÇ. -h, --header[=[LN/]ÏÍÏÌÁ] åìöÜíéóç ôïõ ðßíáêá ÏÍÏÌÁ óôçí êáíïíéêÞ Ýîïäï\n"
  13366. " ìå ÷ñÞóç ôïõ LN, ìåôÜ Ýîïäïò\n"
  13367. " -F, --freeze-tables åìöÜíéóç óå êþäéêá C ìå üëïõò ôïõò ðßíáêåò\n"
  13368. " -T, --find-subsets áíáöïñÜ üëùí ôùí óõíüëùí ÷áñáêôÞñùí ðïõ åßíáé\n"
  13369. @@ -166,10 +157,8 @@
  13370. "ÊáôáóôÜóåéò ëåéôïõñãßáò:\n"
  13371. " -v, --verbose áíáöïñÜ äéáäï÷Þò âçìÜôùí êáé ðñïüäïõ\n"
  13372. " -q, --quiet, --silent áðüêñõøç ìçíõìÜôùí ìç-áíôéóôñåðôþí ìåôáôñïðþí\n"
  13373. -" -f, --force åðéâïëÞ ìåôáôñïðþí áêüìá êáé áí åßíáé ìç "
  13374. -"áíôéóôñåðôÝò\n"
  13375. -" -t, --touch åíçìÝñùóç ôçò çìåñïìçíßáò ôùí ìåôáôñåðïìÝíùí "
  13376. -"áñ÷åßùí\n"
  13377. +" -f, --force åðéâïëÞ ìåôáôñïðþí áêüìá êáé áí åßíáé ìç áíôéóôñåðôÝò\n"
  13378. +" -t, --touch åíçìÝñùóç ôçò çìåñïìçíßáò ôùí ìåôáôñåðïìÝíùí áñ÷åßùí\n"
  13379. " ìåôÜ ôçí áíôéêáôÜóôáóç\n"
  13380. " -i, --sequence=files ÷ñÞóç åíäéÜìåóùí áñ÷åßùí óôá äéáäï÷éêÜ ðåñÜóìáôá\n"
  13381. " --sequence=memory ÷ñÞóç åíôáìéåõôþí ìíÞìçò óôá äéáäï÷éêÜ ðåñÜóìáôá\n"
  13382. @@ -198,17 +187,13 @@
  13383. msgstr ""
  13384. "\n"
  13385. "Ñõèìßóåéò:\n"
  13386. -" -s, --strict ÷ñÞóç áõóôçñþí óõó÷åôßóåùí, áêüìá êáé åëåýèåñùí "
  13387. -"÷áñáêôÞñùí\n"
  13388. -" -d, --diacritics ìåôáôñïðÞ ìüíï äéáêñéôéêþí Þ ðáñüìïéùí ãéá "
  13389. -"HTML/LaTeX\n"
  13390. +" -s, --strict ÷ñÞóç áõóôçñþí óõó÷åôßóåùí, áêüìá êáé åëåýèåñùí ÷áñáêôÞñùí\n"
  13391. +" -d, --diacritics ìåôáôñïðÞ ìüíï äéáêñéôéêþí Þ ðáñüìïéùí ãéá HTML/LaTeX\n"
  13392. " -S, --source[=LN] ðåñéïñéóìüò ìåôáôñïðþí óå áëöáñéèìçôéêÜ êáé ó÷üëéá\n"
  13393. " êÜôá ôï LN\n"
  13394. -" -c, --colons ÷ñÞóç êïëþíùí áíôß äéðëþí åéóáãùãéêþí ãéá ôç "
  13395. -"äéáßñåóç\n"
  13396. +" -c, --colons ÷ñÞóç êïëþíùí áíôß äéðëþí åéóáãùãéêþí ãéá ôç äéáßñåóç\n"
  13397. " -g, --graphics ðñïóÝããéóç êáíüíùí IBMPC ìå ASCII ãñáöéêÜ\n"
  13398. -" -x, --ignore=ÐÉÍ×ÁÑ áãíüçóç ðßíáêá ÷áñáêôÞñùí (ÐÉÍ×ÁÑ) óôçí åðéëïãÞ "
  13399. -"ìïíïðáôéïý ìåôáôñïðþí\n"
  13400. +" -x, --ignore=ÐÉÍ×ÁÑ áãíüçóç ðßíáêá ÷áñáêôÞñùí (ÐÉÍ×ÁÑ) óôçí åðéëïãÞ ìïíïðáôéïý ìåôáôñïðþí\n"
  13401. # src/main.c:294
  13402. #: src/main.c:296
  13403. @@ -226,8 +211,7 @@
  13404. #: src/main.c:302
  13405. #, fuzzy
  13406. msgid ""
  13407. -"Unless DEFAULT_CHARSET is set in environment, CHARSET defaults to the "
  13408. -"locale\n"
  13409. +"Unless DEFAULT_CHARSET is set in environment, CHARSET defaults to the locale\n"
  13410. "dependent encoding, determined by LC_ALL, LC_CTYPE, LANG.\n"
  13411. msgstr ""
  13412. "Åêôüò êáé áí Ý÷åé ïñéóôåß ç ìåôáâëçôÞ ðåñéâÜëëïíôïò DEFAULT_CHARSET,\n"
  13413. @@ -237,8 +221,7 @@
  13414. #: src/main.c:307
  13415. msgid ""
  13416. "With -k, possible before charsets are listed for the given after CHARSET,\n"
  13417. -"both being tabular charsets, with PAIRS of the form "
  13418. -"`BEF1:AFT1,BEF2:AFT2,...'\n"
  13419. +"both being tabular charsets, with PAIRS of the form `BEF1:AFT1,BEF2:AFT2,...'\n"
  13420. "and BEFs and AFTs being codes are given as decimal numbers.\n"
  13421. msgstr ""
  13422. "Ìå -k, ðéèáíïß ðñïçãïýìåíïé ðßíáêåò ÷áñáêôÞñùí åìöáíßæïíôáé ãéá ôï äïèÝí\n"
  13423. @@ -248,36 +231,26 @@
  13424. # src/main.c:318
  13425. #: src/main.c:312
  13426. -msgid ""
  13427. -"LN is some language, it may be `c', `perl' or `po'; `c' is the default.\n"
  13428. -msgstr ""
  13429. -"LN åßíáé ìéá ãëþóóá, ìðïñåß íá åßíáé `c', `perl' Þ `po'Ò åî'ïñéóìïý åßíáé "
  13430. -"`c'.\n"
  13431. +msgid "LN is some language, it may be `c', `perl' or `po'; `c' is the default.\n"
  13432. +msgstr "LN åßíáé ìéá ãëþóóá, ìðïñåß íá åßíáé `c', `perl' Þ `po' åî'ïñéóìïý åßíáé `c'.\n"
  13433. # src/main.c:321
  13434. #: src/main.c:315
  13435. msgid ""
  13436. "\n"
  13437. -"REQUEST is SUBREQUEST[,SUBREQUEST]...; SUBREQUEST is "
  13438. -"ENCODING[..ENCODING]...\n"
  13439. -"ENCODING is [CHARSET][/[SURFACE]]...; REQUEST often looks like "
  13440. -"BEFORE..AFTER,\n"
  13441. +"REQUEST is SUBREQUEST[,SUBREQUEST]...; SUBREQUEST is ENCODING[..ENCODING]...\n"
  13442. +"ENCODING is [CHARSET][/[SURFACE]]...; REQUEST often looks like BEFORE..AFTER,\n"
  13443. "with BEFORE and AFTER being charsets. An omitted CHARSET implies the usual\n"
  13444. -"charset; an omitted [/SURFACE]... means the implied surfaces for CHARSET; a "
  13445. -"/\n"
  13446. +"charset; an omitted [/SURFACE]... means the implied surfaces for CHARSET; a /\n"
  13447. "with an empty surface name means no surfaces at all. See the manual.\n"
  13448. msgstr ""
  13449. "\n"
  13450. -"ÁÉÔÇÓÇ åßíáé ÕÐÏÁÉÔÇÓÇ[,ÕÐÏÁÉÔÇÓÇ]...Ò ÕÐÏÁÉÔÇÓÇ åßíáé "
  13451. -"ÊÙÄÉÊÏÐÏÉÇÓÇ[...ÊÙÄÉÊÏÐÏÉÇÓÇ]...\n"
  13452. -"ÊÙÄÉÊÏÐÏÉÇÓÇ åßíáé [ÐÉÍ×ÁÑ][/[ÅÐÉÖÁÍÅÉÁ]]...Ò ÁÉÔÇÓÇ óõíÞèùò ìïéÜæåé ìå "
  13453. -"ÐÑÏÇÃÏÕÌÅÍÏ...ÅÐÏÌÅÍÏ,\n"
  13454. +"ÁÉÔÇÓÇ åßíáé ÕÐÏÁÉÔÇÓÇ[,ÕÐÏÁÉÔÇÓÇ]... ÕÐÏÁÉÔÇÓÇ åßíáé ÊÙÄÉÊÏÐÏÉÇÓÇ[...ÊÙÄÉÊÏÐÏÉÇÓÇ]...\n"
  13455. +"ÊÙÄÉÊÏÐÏÉÇÓÇ åßíáé [ÐÉÍ×ÁÑ][/[ÅÐÉÖÁÍÅÉÁ]]... ÁÉÔÇÓÇ óõíÞèùò ìïéÜæåé ìå ÐÑÏÇÃÏÕÌÅÍÏ...ÅÐÏÌÅÍÏ,\n"
  13456. "ìå ÐÑÏÇÃÏÕÌÅÍÏ êáé ÅÐÏÌÅÍÏ íá åßíáé ðßíáêåò ÷áñáêôÞñùí. ¸íáò ÐÉÍ×ÁÑ ðïõ\n"
  13457. -"Ý÷åé ðáñáëçöèåß, õðïäçëþíåé ôï óõíÞèåò ðßíáêá ÷áñáêôÞñùíÒ Ýíá "
  13458. -"[/ÅÐÉÖÁÍÅÉÁ]...\n"
  13459. -"ðïõ Ý÷åé ðáñáëçöèåß, óçìáßíåé ôéò õðïäçëùìÝíåò åðéöÜíåéåò ôïõ ÐÉÍ×ÁÑÒ Ýíá /\n"
  13460. -"÷ùñßò üíïìá åðéöÜíåéáò óçìáßíåé ÷ùñßò êáèüëïõ åðéöÜíåéåò. ÊïéôÜîôå ôï "
  13461. -"åã÷åéñßäéï.\n"
  13462. +"Ý÷åé ðáñáëçöèåß, õðïäçëþíåé ôï óõíÞèåò ðßíáêá ÷áñáêôÞñùí Ýíá [/ÅÐÉÖÁÍÅÉÁ]...\n"
  13463. +"ðïõ Ý÷åé ðáñáëçöèåß, óçìáßíåé ôéò õðïäçëùìÝíåò åðéöÜíåéåò ôïõ ÐÉÍ×ÁÑ Ýíá /\n"
  13464. +"÷ùñßò üíïìá åðéöÜíåéáò óçìáßíåé ÷ùñßò êáèüëïõ åðéöÜíåéåò. ÊïéôÜîôå ôï åã÷åéñßäéï.\n"
  13465. # src/main.c:556
  13466. #: src/main.c:323
  13467. @@ -288,20 +261,15 @@
  13468. "FILE is specified, then act as a filter and recode stdin to stdout.\n"
  13469. msgstr ""
  13470. "\n"
  13471. -"Áí êáíÝíá áðü ôá -i êáé -p äå äßäïíôáé, èåþñçóå -p áí äåí õðÜñ÷åé ÁÑ×ÅÉÏ, "
  13472. -"áëëéþò -i.\n"
  13473. +"Áí êáíÝíá áðü ôá -i êáé -p äå äßäïíôáé, èåþñçóå -p áí äåí õðÜñ÷åé ÁÑ×ÅÉÏ, áëëéþò -i.\n"
  13474. "ÊÜèå ÁÑ×ÅÉÏ ìåôáôñÝðåôáé ðÜíù óôïí åáõôü ôïõ, êáôáóôñÝöïíôáò ôï ðñùôüôõðï.\n"
  13475. "Áí êáíÝíá ÁÑ×ÅÉÏ äåí Ý÷åé ïñéóôåß, ôüôå öÝñóïõ óáí ößëôñï êáé ìåôÝôñåøå\n"
  13476. "ôçí êáíïíéêÞ åßóïäï óôçí êáíïíéêÞ Ýîïäï.\n"
  13477. # src/main.c:562
  13478. #: src/main.c:329
  13479. -msgid ""
  13480. -"\n"
  13481. -"Report bugs to <recode-bugs@iro.umontreal.ca>.\n"
  13482. -msgstr ""
  13483. -"\n"
  13484. -"ÁíáöÝñáôå óöÜëìáôá óôï <recode-bugs@iro.umontreal.ca>.\n"
  13485. +msgid "\nReport bugs to <recode-bugs@iro.umontreal.ca>.\n"
  13486. +msgstr "\nÁíáöÝñáôå óöÜëìáôá óôï <recode-bugs@iro.umontreal.ca>.\n"
  13487. #: src/main.c:430
  13488. #, c-format
  13489. @@ -338,18 +306,12 @@
  13490. #: src/main.c:621
  13491. #, fuzzy
  13492. msgid "Written by Franc,ois Pinard <pinard@iro.umontreal.ca>.\n"
  13493. -msgstr ""
  13494. -"\n"
  13495. -"ÃñáììÝíï áðü ôïí Franc,ois Pinard <pinard@iro.umontreal.ca>.\n"
  13496. +msgstr "\nÃñáììÝíï áðü ôïí Franc,ois Pinard <pinard@iro.umontreal.ca>.\n"
  13497. # src/main.c:622
  13498. #: src/main.c:624
  13499. -msgid ""
  13500. -"\n"
  13501. -"Copyright (C) 1990, 92, 93, 94, 96, 97, 99 Free Software Foundation, Inc.\n"
  13502. -msgstr ""
  13503. -"\n"
  13504. -"Copyright (C) 1990, 92, 93, 94, 96, 97, 99 Free Software Foundation, Inc.\n"
  13505. +msgid "\nCopyright (C) 1990, 92, 93, 94, 96, 97, 99 Free Software Foundation, Inc.\n"
  13506. +msgstr "\nCopyright (C) 1990, 92, 93, 94, 96, 97, 99 Free Software Foundation, Inc.\n"
  13507. # src/main.c:850
  13508. #: src/main.c:628
  13509. @@ -357,9 +319,8 @@
  13510. "This is free software; see the source for copying conditions. There is NO\n"
  13511. "warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n"
  13512. msgstr ""
  13513. -"Áõôü åßíáé åëåýèåñï ëïãéóìéêüÒ äåßôå ôï ðçãáßï êþäéêá ãéá ôïõò êáíüíåò "
  13514. -"áíôéãñáöÞò.\n"
  13515. -"ÄÅÍ õðÜñ÷åé åããýçóçÒ ïýôå áêüìá ãéá ×ÑÇÓÉÌÏÔÇÔÁ Þ ÊÁÔÁËËÇËÏÔÇÔÁ ÃÉÁ ÅÍÁ\n"
  13516. +"Áõôü åßíáé åëåýèåñï ëïãéóìéêü äåßôå ôï ðçãáßï êþäéêá ãéá ôïõò êáíüíåò áíôéãñáöÞò.\n"
  13517. +"ÄÅÍ õðÜñ÷åé åããýçóç ïýôå áêüìá ãéá ×ÑÇÓÉÌÏÔÇÔÁ Þ ÊÁÔÁËËÇËÏÔÇÔÁ ÃÉÁ ÅÍÁ\n"
  13518. "ÓÕÃÊÅÊÑÉÌÅÍÏ ÓÊÏÐÏ.\n"
  13519. #: src/main.c:669
  13520. @@ -426,9 +387,7 @@
  13521. #: src/names.c:831
  13522. #, c-format
  13523. msgid "Cannot list `%s', no names available for this charset"
  13524. -msgstr ""
  13525. -"Áäõíáìßá åìöÜíéóçò ôïõ `%s', äåí õðÜñ÷ïõí ïíüìáôá äéáèÝóéìá ãéá áõôüí ôïí "
  13526. -"ðßíáêá ÷áñáêôÞñùí"
  13527. +msgstr "Áäõíáìßá åìöÜíéóçò ôïõ `%s', äåí õðÜñ÷ïõí ïíüìáôá äéáèÝóéìá ãéá áõôüí ôïí ðßíáêá ÷áñáêôÞñùí"
  13528. # src/names.c:974 src/names.c:1020
  13529. #. code counter
  13530. @@ -450,15 +409,13 @@
  13531. #: src/outer.c:125
  13532. #, c-format
  13533. msgid "Resurfacer set more than once for `%s'"
  13534. -msgstr ""
  13535. -"Ï åðáíáôïðïèåôçôÞò åðéöÜíåéáò Ý÷åé ôåèåß ðåñéóóüôåñï áðü ìéá öïñÜ ãéá ôï `%s'"
  13536. +msgstr "Ï åðáíáôïðïèåôçôÞò åðéöÜíåéáò Ý÷åé ôåèåß ðåñéóóüôåñï áðü ìéá öïñÜ ãéá ôï `%s'"
  13537. # src/outer.c:102
  13538. #: src/outer.c:133
  13539. #, c-format
  13540. msgid "Unsurfacer set more than once for `%s'"
  13541. -msgstr ""
  13542. -"Ï áíôéôïðïèåôçôÞò åðéöÜíåéáò Ý÷åé ôåèåß ðåñéóóüôåñï áðü ìéá öïñÜ ãéá ôï `%s'"
  13543. +msgstr "Ï áíôéôïðïèåôçôÞò åðéöÜíåéáò Ý÷åé ôåèåß ðåñéóóüôåñï áðü ìéá öïñÜ ãéá ôï `%s'"
  13544. # src/recode.c:117 src/recode.c:129
  13545. #: src/recode.c:115 src/recode.c:127
  13546. @@ -467,13 +424,13 @@
  13547. # src/recode.c:157
  13548. #: src/recode.c:155
  13549. -#, c-format, ycp-format
  13550. +#, c-format
  13551. msgid "Codes %3d and %3d both recode to %3d"
  13552. msgstr "Êáé ïé äýï êùäéêïß %3d êáé %3d ìåôáôñÝðïíôáé óå %3d"
  13553. # src/recode.c:171
  13554. #: src/recode.c:169
  13555. -#, c-format, ycp-format
  13556. +#, c-format
  13557. msgid "No character recodes to %3d"
  13558. msgstr "ÊáíÝíáò ÷áñáêôÞñáò äåí ìåôáôñÝðåôáé óå %3d"
  13559. @@ -615,43 +572,39 @@
  13560. # src/debug.c:287
  13561. #: src/testdump.c:298
  13562. -msgid ""
  13563. -"UCS2 Mne Description\n"
  13564. -"\n"
  13565. -msgstr ""
  13566. -"UCS2 Mne ÐåñéãñáöÞ\n"
  13567. -"\n"
  13568. +msgid "UCS2 Mne Description\n\n"
  13569. +msgstr "UCS2 Mne ÐåñéãñáöÞ\n\n"
  13570. -# src/main.c:308
  13571. +#~ # src/main.c:308
  13572. #~ msgid "CHARSET has no default, define DEFAULT_CHARSET in the environment.\n"
  13573. #~ msgstr ""
  13574. #~ "O ÐÉÍ×ÁÑ (ðßíáêáò ÷áñáêôÞñùí Þ CHARSET) äåí Ý÷åé åî' ïñéóìïý ôéìÞ,\n"
  13575. #~ "ïñßóôå ôç ìåôáâëçôÞ ðåñéâÜëëïíôïò DEFAULT_CHARSET.\n"
  13576. -# src/main.c:659
  13577. +#~ # src/main.c:659
  13578. #~ msgid "Ambiguous sequence `%s'"
  13579. #~ msgstr "ÁóáöÞò óõìâïëïóåéñÜ `%s'"
  13580. -# src/main.c:663
  13581. +#~ # src/main.c:663
  13582. #~ msgid "Unknown sequence `%s'"
  13583. #~ msgstr "¶ãíùóôç óõìâïëïóåéñÜ `%s'"
  13584. -# src/main.c:693 src/main.c:747
  13585. +#~ # src/main.c:693 src/main.c:747
  13586. #~ msgid "Ambiguous language `%s'"
  13587. #~ msgstr "ÁóáöÞò ãëþóóá `%s'"
  13588. -# src/main.c:697 src/main.c:751
  13589. +#~ # src/main.c:697 src/main.c:751
  13590. #~ msgid "Unknown language `%s'"
  13591. #~ msgstr "¶ãíùóôç ãëþóóá `%s'"
  13592. -# src/main.c:785
  13593. +#~ # src/main.c:785
  13594. #~ msgid "Ambiguous format `%s'"
  13595. #~ msgstr "ÁóáöÞò ìïñöÞ `%s'"
  13596. -# src/main.c:789
  13597. +#~ # src/main.c:789
  13598. #~ msgid "Unknown format `%s'"
  13599. #~ msgstr "¶ãíùóôç ìïñöÞ `%s'"
  13600. -# src/main.c:1005
  13601. +#~ # src/main.c:1005
  13602. #~ msgid "Erroneous request `%s'"
  13603. #~ msgstr "ÅóöáëìÝíç áßôçóç `%s'"
  13604. --- recode-3.6.orig/i18n/id.po
  13605. +++ recode-3.6/i18n/id.po
  13606. @@ -0,0 +1,511 @@
  13607. +# recode 3.6 (Indonesian)
  13608. +# Copyright (C) 2001 Free Software Foundation, Inc.
  13609. +# Tedi Heriyanto <tedi_h@gmx.net>, 2002
  13610. +#
  13611. +msgid ""
  13612. +msgstr ""
  13613. +"Project-Id-Version: recode 3.6\n"
  13614. +"POT-Creation-Date: 2001-01-02 22:35+0100\n"
  13615. +"PO-Revision-Date: 2002-10-08 14:29GMT+0700\n"
  13616. +"Last-Translator: Tedi Heriyanto <tedi_h@gmx.net>\n"
  13617. +"Language-Team: Indonesian <translation-team-id@lists.sourceforge.net>\n"
  13618. +"MIME-Version: 1.0\n"
  13619. +"Content-Type: text/plain; charset=UTF-8\n"
  13620. +"Content-Transfer-Encoding: 8bit\n"
  13621. +"X-Generator: KBabel 0.9.5\n"
  13622. +
  13623. +#: src/main.c:142
  13624. +msgid "No error"
  13625. +msgstr "Tidak ada kesalahan"
  13626. +
  13627. +#: src/main.c:145
  13628. +msgid "Non canonical input"
  13629. +msgstr "Input non kanonikal"
  13630. +
  13631. +#: src/main.c:148
  13632. +msgid "Ambiguous output"
  13633. +msgstr "Output ambigu"
  13634. +
  13635. +#: src/main.c:151
  13636. +msgid "Untranslatable input"
  13637. +msgstr "Input tak dapat diterjemahkan"
  13638. +
  13639. +#: src/main.c:154
  13640. +msgid "Invalid input"
  13641. +msgstr "Input tidak valid"
  13642. +
  13643. +#: src/main.c:157
  13644. +msgid "System detected problem"
  13645. +msgstr "Sistem mendeteksi masalah"
  13646. +
  13647. +#: src/main.c:160
  13648. +msgid "Misuse of recoding library"
  13649. +msgstr "Kesalahan penggunaan library recoding"
  13650. +
  13651. +#: src/main.c:163
  13652. +msgid "Internal recoding bug"
  13653. +msgstr "Bug recoding internal"
  13654. +
  13655. +#: src/main.c:208
  13656. +msgid ""
  13657. +"This program is free software; you can redistribute it and/or modify\n"
  13658. +"it under the terms of the GNU General Public License as published by\n"
  13659. +"the Free Software Foundation; either version 2, or (at your option)\n"
  13660. +"any later version.\n"
  13661. +"\n"
  13662. +"This program is distributed in the hope that it will be useful,\n"
  13663. +"but WITHOUT ANY WARRANTY; without even the implied warranty of\n"
  13664. +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n"
  13665. +"GNU General Public License for more details.\n"
  13666. +"\n"
  13667. +"You should have received a copy of the GNU General Public License\n"
  13668. +"along with this program; if not, write to the Free Software Foundation,\n"
  13669. +"Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n"
  13670. +msgstr ""
  13671. +"This program is free software; you can redistribute it and/or modify\n"
  13672. +"it under the terms of the GNU General Public License as published by\n"
  13673. +"the Free Software Foundation; either version 2, or (at your option)\n"
  13674. +"any later version.\n"
  13675. +"\n"
  13676. +"This program is distributed in the hope that it will be useful,\n"
  13677. +"but WITHOUT ANY WARRANTY; without even the implied warranty of\n"
  13678. +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n"
  13679. +"GNU General Public License for more details.\n"
  13680. +"\n"
  13681. +"You should have received a copy of the GNU General Public License\n"
  13682. +"along with this program; if not, write to the Free Software Foundation,\n"
  13683. +"Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n"
  13684. +
  13685. +#: src/main.c:233
  13686. +#, c-format
  13687. +msgid "Try `%s %s' for more information.\n"
  13688. +msgstr "Coba `%s %s' untuk informasi lengkap.\n"
  13689. +
  13690. +#: src/main.c:237
  13691. +msgid "Free `recode' converts files between various character sets and surfaces.\n"
  13692. +msgstr "Free `recode' mengkonversi file antar berbagai set karakter dan permukaan.\n"
  13693. +
  13694. +#: src/main.c:241
  13695. +#, c-format
  13696. +msgid ""
  13697. +"\n"
  13698. +"Usage: %s [OPTION]... [ [CHARSET] | REQUEST [FILE]... ]\n"
  13699. +msgstr ""
  13700. +"\n"
  13701. +"Usage: %s [OPTION]... [ [CHARSET] | REQUEST [FILE]... ]\n"
  13702. +
  13703. +#: src/main.c:244
  13704. +msgid ""
  13705. +"\n"
  13706. +"If a long option shows an argument as mandatory, then it is mandatory\n"
  13707. +"for the equivalent short option also. Similarly for optional arguments.\n"
  13708. +msgstr ""
  13709. +"\n"
  13710. +"Jika sebuah option long menunjukkan argumen sebagai mandatori, maka ia mandatori\n"
  13711. +"juga option short yang ekivalen. Demikian pula untuk argumen optional.\n"
  13712. +
  13713. +#: src/main.c:250
  13714. +msgid ""
  13715. +"\n"
  13716. +"Listings:\n"
  13717. +" -l, --list[=FORMAT] list one or all known charsets and aliases\n"
  13718. +" -k, --known=PAIRS restrict charsets according to known PAIRS list\n"
  13719. +" -h, --header[=[LN/]NAME] write table NAME on stdout using LN, then exit\n"
  13720. +" -F, --freeze-tables write out a C module holding all tables\n"
  13721. +" -T, --find-subsets report all charsets being subset of others\n"
  13722. +" -C, --copyright display Copyright and copying conditions\n"
  13723. +" --help display this help and exit\n"
  13724. +" --version output version information and exit\n"
  13725. +msgstr ""
  13726. +"\n"
  13727. +"Listings:\n"
  13728. +" -l, --list[=FORMAT] tampilkan satu atau semua charset dan alias yang dikenal\n"
  13729. +" -k, --known=PAIRS batasi charset sesuai daftar PAIRS yang dikenal\n"
  13730. +" -h, --header[=[LN/]NAME] tulis tabel NAME ke stdout menggunakan LN, kemudian keluar\n"
  13731. +" -F, --freeze-tables tulis sebuah modul C yang menyimpan semua tabel\n"
  13732. +" -T, --find-subsets laporkan semua charset yang menjadi subset yang lain\n"
  13733. +" -C, --copyright tampilkan kondisi Copyright dan copying\n"
  13734. +" --help tampilkan bantuan ini dan keluar\n"
  13735. +" --version tampilkan informasi versi dan keluar\n"
  13736. +
  13737. +#: src/main.c:263
  13738. +msgid ""
  13739. +"\n"
  13740. +"Operation modes:\n"
  13741. +" -v, --verbose explain sequence of steps and report progress\n"
  13742. +" -q, --quiet, --silent inhibit messages about irreversible recodings\n"
  13743. +" -f, --force force recodings even when not reversible\n"
  13744. +" -t, --touch touch the recoded files after replacement\n"
  13745. +" -i, --sequence=files use intermediate files for sequencing passes\n"
  13746. +" --sequence=memory use memory buffers for sequencing passes\n"
  13747. +msgstr ""
  13748. +"\n"
  13749. +"Mode operasi:\n"
  13750. +" -v, --verbose jelaskan urutan langkah dan laporkan kemajuan\n"
  13751. +" -q, --quiet, --silent tiadakan pesan tentang recoding yang tidak dapat dikembalikan\n"
  13752. +" -f, --force paksa recoding bahkan bila tidak dapat dikembalikan\n"
  13753. +" -t, --touch touch file ter-recoded setelah penggantian\n"
  13754. +" -i, --sequence=files gunakan file perantara untuk urutan pelewatan\n"
  13755. +" --sequence=memory gunakan buffer memori untuk urutan pelewatan\n"
  13756. +
  13757. +#: src/main.c:275
  13758. +msgid " -p, --sequence=pipe use pipe machinery for sequencing passes\n"
  13759. +msgstr " -p, --sequence=pipe gunakan mesin pipa untuk urutan pelewatan\n"
  13760. +
  13761. +#: src/main.c:280
  13762. +msgid " -p, --sequence=pipe same as -i (on this system)\n"
  13763. +msgstr " -p, --sequence=pipe sama seperti -i (pada sistem ini)\n"
  13764. +
  13765. +#: src/main.c:285
  13766. +msgid ""
  13767. +"\n"
  13768. +"Fine tuning:\n"
  13769. +" -s, --strict use strict mappings, even loose characters\n"
  13770. +" -d, --diacritics convert only diacritics or alike for HTML/LaTeX\n"
  13771. +" -S, --source[=LN] limit recoding to strings and comments as for LN\n"
  13772. +" -c, --colons use colons instead of double quotes for diaeresis\n"
  13773. +" -g, --graphics approximate IBMPC rulers by ASCII graphics\n"
  13774. +" -x, --ignore=CHARSET ignore CHARSET while choosing a recoding path\n"
  13775. +msgstr ""
  13776. +"\n"
  13777. +"Fine tuning:\n"
  13778. +" -s, --strict gunakan mapping yang ketat, bahkan hilangkan karakter\n"
  13779. +" -d, --diacritics konversi hanya diacritics atau yang serupa untuk HTML/LaTeX\n"
  13780. +" -S, --source[=LN] batasi recoding untuk string dan komentar sama seperti LN\n"
  13781. +" -c, --colons gunakan titik koma alih-alih kuotasi ganda untuk diaeresis\n"
  13782. +" -g, --graphics dekati penggaris IBMPC dengan grafik ASCII\n"
  13783. +" -x, --ignore=CHARSET abatikan CHARSET saat memilih jalur recoding\n"
  13784. +
  13785. +#: src/main.c:296
  13786. +msgid ""
  13787. +"\n"
  13788. +"Option -l with no FORMAT nor CHARSET list available charsets and surfaces.\n"
  13789. +"FORMAT is `decimal', `octal', `hexadecimal' or `full' (or one of `dohf').\n"
  13790. +msgstr ""
  13791. +"\n"
  13792. +"Option -l with no FORMAT nor CHARSET list available charsets and surfaces.\n"
  13793. +"FORMAT adalah `decimal', `octal', `hexadecimal' atau `full' (atau satu `dohf').\n"
  13794. +
  13795. +#: src/main.c:302
  13796. +msgid ""
  13797. +"Unless DEFAULT_CHARSET is set in environment, CHARSET defaults to the locale\n"
  13798. +"dependent encoding, determined by LC_ALL, LC_CTYPE, LANG.\n"
  13799. +msgstr ""
  13800. +"Kecuali DEFAULT_CHARSET diset dalam environment, CHARSET bakunya adalah lokal\n"
  13801. +"tergantung enkoding, yang ditentukan oleh LC_ALL, LC_CTYPE, LANG.\n"
  13802. +
  13803. +#: src/main.c:307
  13804. +msgid ""
  13805. +"With -k, possible before charsets are listed for the given after CHARSET,\n"
  13806. +"both being tabular charsets, with PAIRS of the form `BEF1:AFT1,BEF2:AFT2,...'\n"
  13807. +"and BEFs and AFTs being codes are given as decimal numbers.\n"
  13808. +msgstr ""
  13809. +"Dengan -k, yang mungkin sebelum charset ditampilkan setelah CHARSET,\n"
  13810. +"keduanya charset tabular, dengan PAIRS dalam bentuk `BEF1:AFT1,BEF2:AFT2,...'\n"
  13811. +"dan BEF dan AFT adalah kode yang diberikan dalam bilangan desimal.\n"
  13812. +
  13813. +#: src/main.c:312
  13814. +msgid "LN is some language, it may be `c', `perl' or `po'; `c' is the default.\n"
  13815. +msgstr "LN adalah bahasa, mungkin berupa `c', `perl' atau `po'; `c' adalah bakunya.\n"
  13816. +
  13817. +#: src/main.c:315
  13818. +msgid ""
  13819. +"\n"
  13820. +"REQUEST is SUBREQUEST[,SUBREQUEST]...; SUBREQUEST is ENCODING[..ENCODING]...\n"
  13821. +"ENCODING is [CHARSET][/[SURFACE]]...; REQUEST often looks like BEFORE..AFTER,\n"
  13822. +"with BEFORE and AFTER being charsets. An omitted CHARSET implies the usual\n"
  13823. +"charset; an omitted [/SURFACE]... means the implied surfaces for CHARSET; a /\n"
  13824. +"with an empty surface name means no surfaces at all. See the manual.\n"
  13825. +msgstr ""
  13826. +"\n"
  13827. +"REQUEST is SUBREQUEST[,SUBREQUEST]...; SUBREQUEST is ENCODING[..ENCODING]...\n"
  13828. +"ENCODING is [CHARSET][/[SURFACE]]...; REQUEST often looks like BEFORE..AFTER,\n"
  13829. +"with BEFORE and AFTER being charsets. An omitted CHARSET implies the usual\n"
  13830. +"charset; an omitted [/SURFACE]... means the implied surfaces for CHARSET; a /\n"
  13831. +"with an empty surface name means no surfaces at all. See the manual.\n"
  13832. +
  13833. +#: src/main.c:323
  13834. +msgid ""
  13835. +"\n"
  13836. +"If none of -i and -p are given, presume -p if no FILE, else -i.\n"
  13837. +"Each FILE is recoded over itself, destroying the original. If no\n"
  13838. +"FILE is specified, then act as a filter and recode stdin to stdout.\n"
  13839. +msgstr ""
  13840. +"\n"
  13841. +"Jika tidak diberikan -i dan -p, asumsikan -p jika tidak ada FILE, sebaliknya -i.\n"
  13842. +"Setiap FILE direcode dengan dirinya, menghancurkan aslinya. Jika tidak dispesifikasikan\n"
  13843. +"FILE, maka berfungsi sebagai filter dan recode stdin ke stdout.\n"
  13844. +
  13845. +#: src/main.c:329
  13846. +msgid ""
  13847. +"\n"
  13848. +"Report bugs to <recode-bugs@iro.umontreal.ca>.\n"
  13849. +msgstr ""
  13850. +"\n"
  13851. +"Report bugs to <recode-bugs@iro.umontreal.ca>.\n"
  13852. +
  13853. +#: src/main.c:430
  13854. +#, c-format
  13855. +msgid "Sequence `%s' is ambiguous"
  13856. +msgstr "Urutan `%s' ambigu"
  13857. +
  13858. +#: src/main.c:434
  13859. +#, c-format
  13860. +msgid "Sequence `%s' is unknown"
  13861. +msgstr "Urutan `%s' tidak dikenal"
  13862. +
  13863. +#: src/main.c:464 src/main.c:522
  13864. +#, c-format
  13865. +msgid "Language `%s' is ambiguous"
  13866. +msgstr "Bahasa `%s' ambigu"
  13867. +
  13868. +#. -1
  13869. +#: src/main.c:468 src/main.c:526
  13870. +#, c-format
  13871. +msgid "Language `%s' is unknown"
  13872. +msgstr "Bahasa `%s' tidak dikenal"
  13873. +
  13874. +#: src/main.c:560
  13875. +#, c-format
  13876. +msgid "Format `%s' is ambiguous"
  13877. +msgstr "Format `%s' ambigu"
  13878. +
  13879. +#: src/main.c:564
  13880. +#, c-format
  13881. +msgid "Format `%s' is unknown"
  13882. +msgstr "Format `%s' tidak dikenal"
  13883. +
  13884. +#: src/main.c:621
  13885. +msgid "Written by Franc,ois Pinard <pinard@iro.umontreal.ca>.\n"
  13886. +msgstr "Ditulis oleh Franc,ois Pinard <pinard@iro.umontreal.ca>.\n"
  13887. +
  13888. +#: src/main.c:624
  13889. +msgid ""
  13890. +"\n"
  13891. +"Copyright (C) 1990, 92, 93, 94, 96, 97, 99 Free Software Foundation, Inc.\n"
  13892. +msgstr ""
  13893. +"\n"
  13894. +"Copyright (C) 1990, 92, 93, 94, 96, 97, 99 Free Software Foundation, Inc.\n"
  13895. +
  13896. +#: src/main.c:628
  13897. +msgid ""
  13898. +"This is free software; see the source for copying conditions. There is NO\n"
  13899. +"warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n"
  13900. +msgstr ""
  13901. +"This is free software; see the source for copying conditions. There is NO\n"
  13902. +"warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n"
  13903. +
  13904. +#: src/main.c:669
  13905. +#, c-format
  13906. +msgid "Symbol `%s' is unknown"
  13907. +msgstr "Simbol `%s' tidak dikenal"
  13908. +
  13909. +#: src/main.c:709 src/main.c:723
  13910. +#, c-format
  13911. +msgid "Charset `%s' is unknown or ambiguous"
  13912. +msgstr "Charset `%s' tidak dikenal atau ambigu"
  13913. +
  13914. +#: src/main.c:754
  13915. +msgid "Required argument is missing"
  13916. +msgstr "Argumen yang dibutuhkan hilang"
  13917. +
  13918. +#: src/main.c:797
  13919. +#, c-format
  13920. +msgid "Syntax is deprecated, please prefer `%s'"
  13921. +msgstr "Sintaks tidak digunakan lagi, silakan pilih `%s'"
  13922. +
  13923. +#: src/main.c:803
  13924. +#, c-format
  13925. +msgid "Request `%s' is erroneous"
  13926. +msgstr "Permintaan `%s' salah"
  13927. +
  13928. +#: src/main.c:903
  13929. +#, c-format
  13930. +msgid "Recoding %s..."
  13931. +msgstr "Merecoding %s..."
  13932. +
  13933. +#: src/main.c:913
  13934. +msgid " done\n"
  13935. +msgstr " selesai\n"
  13936. +
  13937. +#: src/main.c:954
  13938. +#, c-format
  13939. +msgid " failed: %s in step `%s..%s'\n"
  13940. +msgstr " gagal: %s di langkah `%s..%s'\n"
  13941. +
  13942. +#: src/main.c:961
  13943. +#, c-format
  13944. +msgid "%s failed: %s in step `%s..%s'"
  13945. +msgstr "%s gagal: %s di langkah `%s..%s'"
  13946. +
  13947. +#: src/main.c:984
  13948. +#, c-format
  13949. +msgid "%s in step `%s..%s'"
  13950. +msgstr "%s di langkah `%s..%s'"
  13951. +
  13952. +#: src/names.c:335
  13953. +#, c-format
  13954. +msgid "Charset %s already exists and is not %s"
  13955. +msgstr "Charset %s sudah ada dan bukan %s"
  13956. +
  13957. +#: src/names.c:831
  13958. +#, c-format
  13959. +msgid "Cannot list `%s', no names available for this charset"
  13960. +msgstr "Tidak dapat medaftarkan `%s', tidak ada nama yang tersedia untuk charset ini"
  13961. +
  13962. +#. code counter
  13963. +#. expected value for code counter
  13964. +#. insert a while line before printing
  13965. +#. Print the long table according to explode data.
  13966. +#: src/names.c:984 src/names.c:1030
  13967. +#, c-format
  13968. +msgid "Dec Oct Hex UCS2 Mne %s\n"
  13969. +msgstr "Dec Oct Hex UCS2 Mne %s\n"
  13970. +
  13971. +#: src/names.c:1049
  13972. +#, c-format
  13973. +msgid "Sorry, no names available for `%s'"
  13974. +msgstr "Maaf, tidak ada tersedia untuk `%s'"
  13975. +
  13976. +#: src/outer.c:125
  13977. +#, c-format
  13978. +msgid "Resurfacer set more than once for `%s'"
  13979. +msgstr "Resurfacer set lebih dari satu untuk `%s'"
  13980. +
  13981. +#: src/outer.c:133
  13982. +#, c-format
  13983. +msgid "Unsurfacer set more than once for `%s'"
  13984. +msgstr "Unsurfacer set lebih dari satu untuk `%s'"
  13985. +
  13986. +#: src/recode.c:115 src/recode.c:127
  13987. +msgid "Virtual memory exhausted"
  13988. +msgstr "Memori virtual habis"
  13989. +
  13990. +#: src/recode.c:155
  13991. +#, c-format, ycp-format
  13992. +msgid "Codes %3d and %3d both recode to %3d"
  13993. +msgstr "Kode %3d dan %3d kedua direcode ke %3d"
  13994. +
  13995. +#: src/recode.c:169
  13996. +#, c-format, ycp-format
  13997. +msgid "No character recodes to %3d"
  13998. +msgstr "Tidak ada karakter recode ke %3d"
  13999. +
  14000. +#: src/recode.c:170
  14001. +msgid "Cannot invert given one-to-one table"
  14002. +msgstr "Tidak dapat membalik saat diberikan tabel satu-ke-satu"
  14003. +
  14004. +#: src/recode.c:224 src/recode.c:236
  14005. +#, c-format
  14006. +msgid "Following diagnostics for `%s' to `%s'"
  14007. +msgstr "Berikut ini diagnostik untuk `%s' ke `%s'"
  14008. +
  14009. +#: src/recode.c:229 src/recode.c:241
  14010. +#, c-format
  14011. +msgid "Pair no. %d: <%3d, %3d> conflicts with <%3d, %3d>"
  14012. +msgstr "Pasangan no %d: <%3d,%3d> konflik dengan <%3d, %3d>"
  14013. +
  14014. +#: src/recode.c:272
  14015. +msgid "Cannot complete table from set of known pairs"
  14016. +msgstr "Tidak dapat menyelesaikan tabel dari sejumlah pasangan dikenal"
  14017. +
  14018. +#: src/recode.c:497
  14019. +msgid "Identity recoding, not worth a table"
  14020. +msgstr "Recoding identitas, tidak perlu tabel"
  14021. +
  14022. +#: src/recode.c:504
  14023. +msgid "Recoding is too complex for a mere table"
  14024. +msgstr "Recoding terlalu kompleks untuk tabel"
  14025. +
  14026. +#. Print the header of the header file.
  14027. +#: src/recode.c:536
  14028. +#, c-format
  14029. +msgid "%sConversion table generated mechanically by Free `%s' %s"
  14030. +msgstr "%sTabel konversi dihasilkan secara mekanis dengan Free `%s' %s"
  14031. +
  14032. +#: src/recode.c:538
  14033. +#, c-format
  14034. +msgid "%sfor sequence %s.%s"
  14035. +msgstr "%suntuk urutan %s.%s"
  14036. +
  14037. +#: src/recode.c:744
  14038. +msgid "No table to print"
  14039. +msgstr "Tidak ada tabel untuk dicetak"
  14040. +
  14041. +#: src/request.c:34
  14042. +msgid "reversible"
  14043. +msgstr "dapat dikembalikan"
  14044. +
  14045. +#: src/request.c:36
  14046. +#, c-format
  14047. +msgid "%s to %s"
  14048. +msgstr "%s ke %s"
  14049. +
  14050. +#: src/request.c:37 src/request.c:39
  14051. +msgid "byte"
  14052. +msgstr "byte"
  14053. +
  14054. +#: src/request.c:38 src/request.c:40
  14055. +msgid "ucs2"
  14056. +msgstr "ucs2"
  14057. +
  14058. +#: src/request.c:38 src/request.c:40
  14059. +msgid "variable"
  14060. +msgstr "variabel"
  14061. +
  14062. +#: src/request.c:111
  14063. +msgid "*Unachievable*"
  14064. +msgstr "*Tidak dapat dicapai*"
  14065. +
  14066. +#: src/request.c:113
  14067. +msgid "*mere copy*"
  14068. +msgstr "*mere copy*"
  14069. +
  14070. +#: src/request.c:246
  14071. +msgid "Virtual memory exhausted!"
  14072. +msgstr "Memori virtual habis!"
  14073. +
  14074. +#: src/request.c:265
  14075. +msgid "Step initialisation failed"
  14076. +msgstr "Gagal langkah inisialisasi"
  14077. +
  14078. +#: src/request.c:272
  14079. +msgid "Step initialisation failed (unprocessed options)"
  14080. +msgstr "Gagal langkah inisialisasi (option tidak diproses)"
  14081. +
  14082. +#: src/request.c:568
  14083. +#, c-format
  14084. +msgid "Request: %s\n"
  14085. +msgstr "Permintaan: %s\n"
  14086. +
  14087. +#: src/request.c:720
  14088. +#, c-format
  14089. +msgid "Shrunk to: %s\n"
  14090. +msgstr "Diperkecil jadi: %s\n"
  14091. +
  14092. +#: src/request.c:823 src/request.c:932
  14093. +#, c-format
  14094. +msgid "Unrecognised surface name `%s'"
  14095. +msgstr "Nama surface tidak dikenal `%s'"
  14096. +
  14097. +#: src/request.c:903
  14098. +#, c-format
  14099. +msgid "No way to recode from `%s' to `%s'"
  14100. +msgstr "Tidak ada cara merecode dari `%s' ke `%s'"
  14101. +
  14102. +#: src/request.c:1013
  14103. +msgid "Expecting `..' in request"
  14104. +msgstr "Mengharapkan `..' dalam permintaan"
  14105. +
  14106. +#: src/task.c:826 src/task.c:1002
  14107. +#, c-format
  14108. +msgid "Child process wait status is 0x%0.2x"
  14109. +msgstr "Status tunggu proses anak adalah 0x%0.2x"
  14110. +
  14111. +#: src/testdump.c:298
  14112. +msgid ""
  14113. +"UCS2 Mne Description\n"
  14114. +"\n"
  14115. +msgstr ""
  14116. +"UCS2 Mne Description\n"
  14117. +"\n"
  14118. --- recode-3.6.orig/i18n/nl.po
  14119. +++ recode-3.6/i18n/nl.po
  14120. @@ -1,50 +1,54 @@
  14121. -# Dutch messages for GNU recode.
  14122. -# Copyright (C) 1996 Free Software Foundation, Inc.
  14123. -# Erick Branderhorst <branderh@debian.org>, 1996.
  14124. +# Translation of recode-3.6 to Dutch.
  14125. +# Copyright (C) 1996, 2004, 2005, 2006 Free Software Foundation, Inc.
  14126. +# This file is distributed under the same license as the recode package.
  14127. +# Erick Branderhorst <branderh@debian.org>, 1996
  14128. +# Taco Witte <tcwitte@cs.uu.nl>, 2004, 2005.
  14129. +# Benno Schulenberg <benno@vertaalt.nl>, 2006, 2007
  14130. #
  14131. msgid ""
  14132. msgstr ""
  14133. -"Project-Id-Version: recode 3.4.2\n"
  14134. +"Project-Id-Version: recode 3.6\n"
  14135. +"Report-Msgid-Bugs-To: \n"
  14136. "POT-Creation-Date: 2001-01-02 22:35+0100\n"
  14137. -"PO-Revision-Date: 1996-10-07 10:05 MET DST\n"
  14138. -"Last-Translator: Erick Branderhorst <branderh@debian.org>\n"
  14139. -"Language-Team: Dutch <nl@li.org>\n"
  14140. +"PO-Revision-Date: 2007-06-28 19:55+0200\n"
  14141. +"Last-Translator: Benno Schulenberg <benno@vertaalt.nl>\n"
  14142. +"Language-Team: Dutch <vertaling@vrijschrift.org>\n"
  14143. "MIME-Version: 1.0\n"
  14144. -"Content-Type: text/plain; charset=ISO-8859-1\n"
  14145. -"Content-Transfer-Encoding: 8-bit\n"
  14146. +"Content-Type: text/plain; charset=UTF-8\n"
  14147. +"Content-Transfer-Encoding: 8bit\n"
  14148. +"X-Generator: KBabel 1.11\n"
  14149. #: src/main.c:142
  14150. msgid "No error"
  14151. -msgstr ""
  14152. +msgstr "Geen fout"
  14153. #: src/main.c:145
  14154. msgid "Non canonical input"
  14155. -msgstr ""
  14156. +msgstr "Niet-canonieke invoer"
  14157. #: src/main.c:148
  14158. -#, fuzzy
  14159. msgid "Ambiguous output"
  14160. -msgstr "Dubbelzinnig format `%s'"
  14161. +msgstr "Niet-eenduidige uitvoer"
  14162. #: src/main.c:151
  14163. msgid "Untranslatable input"
  14164. -msgstr ""
  14165. +msgstr "Onvertaalbare invoer"
  14166. #: src/main.c:154
  14167. msgid "Invalid input"
  14168. -msgstr ""
  14169. +msgstr "Ongeldige invoer"
  14170. #: src/main.c:157
  14171. msgid "System detected problem"
  14172. -msgstr ""
  14173. +msgstr "Systeem heeft fout gevonden"
  14174. #: src/main.c:160
  14175. msgid "Misuse of recoding library"
  14176. -msgstr ""
  14177. +msgstr "Verkeerd gebruik van hercoderings-bibliotheek"
  14178. #: src/main.c:163
  14179. msgid "Internal recoding bug"
  14180. -msgstr ""
  14181. +msgstr "Interne fout bij hercoderen"
  14182. #: src/main.c:208
  14183. msgid ""
  14184. @@ -62,38 +66,38 @@
  14185. "along with this program; if not, write to the Free Software Foundation,\n"
  14186. "Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n"
  14187. msgstr ""
  14188. -"Dit programma is vrije software; het mag gedistribueerd en/of\n"
  14189. -"veranderd worden onder de voorwaarden van de GNU General Public\n"
  14190. -"License zoals gepubliceerd door de Free Software Foundation; versie 2,\n"
  14191. -"of (als je daar voor kiest) enig latere versie.\n"
  14192. -"\n"
  14193. -"Dit programma is gedistribueerd in de hoop dat het bruikbaar is, maar\n"
  14194. -"ZONDER ENIGE GARANTIE; zelfs zonder de geompliceerde garantie van\n"
  14195. -"MERCHANTABILITY of GESCHIKTHEID VOOR EEN SPECIFIEK GEBRUIKSDOEL. Zie\n"
  14196. -"de GNU General Public License voor verdere details.\n"
  14197. -"\n"
  14198. -"Samen met dit programma heb je een copie ontvangen van de GNU General\n"
  14199. -"Public License; zo niet, schrijf dan naar de Free Software Foundation,\n"
  14200. -"Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n"
  14201. +"Dit programma is vrije software; u mag het verder verspreiden en/of\n"
  14202. +"wijzigen onder de voorwaarden van de GNU General Public License zoals\n"
  14203. +"gepubliceerd door de Free Software Foundation, naar keuze ofwel onder\n"
  14204. +"versie 2 ofwel onder een nieuwere versie van die licentie.\n"
  14205. +"\n"
  14206. +"Dit programma wordt uitgegeven in de hoop dat het nuttig is,\n"
  14207. +"maar ZONDER ENIGE GARANTIE; zelfs zonder de impliciete garantie\n"
  14208. +"van VERKOOPBAARHEID of GESCHIKTHEID VOOR EEN BEPAALD DOEL.\n"
  14209. +"Zie de GNU General Public License voor meer details.\n"
  14210. +"\n"
  14211. +"Bij dit programma hoort u een kopie van de GNU General Public License\n"
  14212. +"ontvangen te hebben; is dit niet het geval, schrijf dan naar\n"
  14213. +"Free Software Foundation, Inc., 51 Franklin Street, fifth floor,\n"
  14214. +"Boston, MA 02110-1301, USA.\n"
  14215. #: src/main.c:233
  14216. #, c-format
  14217. msgid "Try `%s %s' for more information.\n"
  14218. -msgstr "Probeer `%s %s' voor meer informatie.\n"
  14219. +msgstr "Probeer '%s %s' voor meer informatie.\n"
  14220. #: src/main.c:237
  14221. -msgid ""
  14222. -"Free `recode' converts files between various character sets and surfaces.\n"
  14223. -msgstr ""
  14224. +msgid "Free `recode' converts files between various character sets and surfaces.\n"
  14225. +msgstr "'recode' converteert bestanden van en naar allerlei tekensets en oppervlakken.\n"
  14226. #: src/main.c:241
  14227. -#, fuzzy, c-format
  14228. +#, c-format
  14229. msgid ""
  14230. "\n"
  14231. "Usage: %s [OPTION]... [ [CHARSET] | REQUEST [FILE]... ]\n"
  14232. msgstr ""
  14233. "\n"
  14234. -"Gebruik: %s [OPTIE]... [KARAKTERSET]\n"
  14235. +"Gebruik: %s [OPTIE]... [ [TEKENSET] | VERZOEK [BESTAND]... ]\n"
  14236. #: src/main.c:244
  14237. msgid ""
  14238. @@ -101,14 +105,16 @@
  14239. "If a long option shows an argument as mandatory, then it is mandatory\n"
  14240. "for the equivalent short option also. Similarly for optional arguments.\n"
  14241. msgstr ""
  14242. +"\n"
  14243. +"Een argument dat verplicht of optioneel is voor een lange optie, is dat\n"
  14244. +"ook voor de overeenkomstige korte optie.\n"
  14245. #: src/main.c:250
  14246. msgid ""
  14247. "\n"
  14248. "Listings:\n"
  14249. " -l, --list[=FORMAT] list one or all known charsets and aliases\n"
  14250. -" -k, --known=PAIRS restrict charsets according to known PAIRS "
  14251. -"list\n"
  14252. +" -k, --known=PAIRS restrict charsets according to known PAIRS list\n"
  14253. " -h, --header[=[LN/]NAME] write table NAME on stdout using LN, then exit\n"
  14254. " -F, --freeze-tables write out a C module holding all tables\n"
  14255. " -T, --find-subsets report all charsets being subset of others\n"
  14256. @@ -116,6 +122,19 @@
  14257. " --help display this help and exit\n"
  14258. " --version output version information and exit\n"
  14259. msgstr ""
  14260. +"\n"
  14261. +"Opsommingen:\n"
  14262. +" -l, --list[=PRESENTATIE] alle bekende tekensets en aliassen opsommen,\n"
  14263. +" of een tekenset in tabelvorm presenteren\n"
  14264. +" -k, --known=PAREN opsomming beperken volgens deze bekende PAREN\n"
  14265. +" -h, --header[=[TL/]NAAM] tabel NAAM naar standaarduitvoer schrijven\n"
  14266. +" (in taal TL) en stoppen\n"
  14267. +" -F, --freeze-tables een C-module schrijven die alle tabellen bevat\n"
  14268. +" -T, --find-subsets alle tekensets opsommen die deelverzameling van\n"
  14269. +" anderen zijn\n"
  14270. +" -C, --copyright auteursrecht en kopieervoorwaarden tonen\n"
  14271. +" --help deze hulptekst tonen en stoppen\n"
  14272. +" --version versie-informatie tonen en stoppen\n"
  14273. #: src/main.c:263
  14274. msgid ""
  14275. @@ -128,20 +147,24 @@
  14276. " -i, --sequence=files use intermediate files for sequencing passes\n"
  14277. " --sequence=memory use memory buffers for sequencing passes\n"
  14278. msgstr ""
  14279. +"\n"
  14280. +"Uitvoermodus:\n"
  14281. +" -v, --verbose tussenstappen uitleggen en voortgang tonen\n"
  14282. +" -q, --quiet, --silent niets zeggen over onomkeerbare hercoderingen\n"
  14283. +" -f, --force hercodering afdwingen, ook als deze onomkeerbaar is\n"
  14284. +" -t, --touch tijdsstempel van gehercodeerde bestanden aanpassen\n"
  14285. +" -i, --sequence=files tijdelijke bestanden gebruiken voor tussenstappen\n"
  14286. +" --sequence=memory geheugenbuffers gebruiken voor tussenstappen\n"
  14287. #: src/main.c:275
  14288. msgid " -p, --sequence=pipe use pipe machinery for sequencing passes\n"
  14289. -msgstr ""
  14290. -" -p, --sequence=pipe gebruik pipe machinery for sequencing passes "
  14291. -"(FIXME)\n"
  14292. +msgstr " -p, --sequence=pipe 'pipes' gebruiken voor tussenstappen\n"
  14293. #: src/main.c:280
  14294. -#, fuzzy
  14295. msgid " -p, --sequence=pipe same as -i (on this system)\n"
  14296. -msgstr " -p, --sequence=pipe zelfde als -o (op dit systeem)\n"
  14297. +msgstr " -p, --sequence=pipe hetzelfde als -i (op dit systeem)\n"
  14298. #: src/main.c:285
  14299. -#, fuzzy
  14300. msgid ""
  14301. "\n"
  14302. "Fine tuning:\n"
  14303. @@ -153,21 +176,16 @@
  14304. " -x, --ignore=CHARSET ignore CHARSET while choosing a recoding path\n"
  14305. msgstr ""
  14306. "\n"
  14307. -" -c, --colons gebruik punt in plaats van dubbele kwoots \n"
  14308. -" voor diakritische tekens\n"
  14309. -" -d, --diacritics limiteer conversie naar diakritische tekens of "
  14310. -"zoals \n"
  14311. -" voor LaTeX\n"
  14312. -" -f, --force forceer omzetting zelfs als deze niet omkeerbaar "
  14313. -"is\n"
  14314. -" (LET OP: in deze versie, wordt altijd -f "
  14315. -"gebruikt)\n"
  14316. -" -g, --graphics benadering IBMPC lijnen met ASCII grafische "
  14317. -"tekens\n"
  14318. -" -h, --header[=NAAM] schrijf C code met tabel NAAM naar "
  14319. -"standaarduitvoer\n"
  14320. -" -i, --sequence=files gebruik tussen bestanden voor achtereenvolgende \n"
  14321. -" sessies\n"
  14322. +"Fijnafstelling:\n"
  14323. +" -s, --strict strikt converteren, ook als dit tekens verliest\n"
  14324. +" -d, --diacritics alleen diakritische tekens en dergelijke converteren\n"
  14325. +" voor HTML/LaTeX\n"
  14326. +" -S, --source[=TL] hercoderen beperken tot commentaar en tekenreeksen\n"
  14327. +" als in taal TL ('c', 'perl', of 'po')\n"
  14328. +" -c, --colons voor een trema een dubbele punt in plaats van een\n"
  14329. +" dubbel aanhalingsteken gebruiken\n"
  14330. +" -g, --graphics IBMPC-lijntjes benaderen met ASCII-tekens\n"
  14331. +" -x, --ignore=TEKENSET TEKENSET negeren bij keuze van hercodeertraject\n"
  14332. #: src/main.c:296
  14333. msgid ""
  14334. @@ -175,39 +193,49 @@
  14335. "Option -l with no FORMAT nor CHARSET list available charsets and surfaces.\n"
  14336. "FORMAT is `decimal', `octal', `hexadecimal' or `full' (or one of `dohf').\n"
  14337. msgstr ""
  14338. +"\n"
  14339. +"Optie -l zonder PRESENTATIE of TEKENSET somt de beschikbare tekensets en\n"
  14340. +"oppervlakken op. PRESENTATIE is 'decimal', 'octal', 'hexadecimal' of\n"
  14341. +"'full' (volledig), die afgekort mogen worden tot 'd', 'o', 'h' en 'f'.\n"
  14342. #: src/main.c:302
  14343. msgid ""
  14344. -"Unless DEFAULT_CHARSET is set in environment, CHARSET defaults to the "
  14345. -"locale\n"
  14346. +"Unless DEFAULT_CHARSET is set in environment, CHARSET defaults to the locale\n"
  14347. "dependent encoding, determined by LC_ALL, LC_CTYPE, LANG.\n"
  14348. msgstr ""
  14349. +"Tenzij omgevingsvariabele DEFAULT_CHARSET is ingesteld, gebruikt TEKENSET\n"
  14350. +"standaard de taalafhankelijke codering, bepaald door LC_ALL, LC_CTYPE, LANG.\n"
  14351. #: src/main.c:307
  14352. msgid ""
  14353. "With -k, possible before charsets are listed for the given after CHARSET,\n"
  14354. -"both being tabular charsets, with PAIRS of the form "
  14355. -"`BEF1:AFT1,BEF2:AFT2,...'\n"
  14356. +"both being tabular charsets, with PAIRS of the form `BEF1:AFT1,BEF2:AFT2,...'\n"
  14357. "and BEFs and AFTs being codes are given as decimal numbers.\n"
  14358. msgstr ""
  14359. +"Met optie -k worden voor de gegeven NA-tekenset de mogelijke VOOR-tekensets\n"
  14360. +"opgesomd, als tabel van PAREN in de vorm 'VOOR1:NA1,VOOR2:NA2,...', waarbij\n"
  14361. +"de VOORs en NAs als decimale getallen gegeven worden.\n"
  14362. #: src/main.c:312
  14363. -msgid ""
  14364. -"LN is some language, it may be `c', `perl' or `po'; `c' is the default.\n"
  14365. -msgstr ""
  14366. +msgid "LN is some language, it may be `c', `perl' or `po'; `c' is the default.\n"
  14367. +msgstr "TL is een taal, en kan 'c', 'perl' of 'po' zijn; 'c' is standaard.\n"
  14368. #: src/main.c:315
  14369. msgid ""
  14370. "\n"
  14371. -"REQUEST is SUBREQUEST[,SUBREQUEST]...; SUBREQUEST is "
  14372. -"ENCODING[..ENCODING]...\n"
  14373. -"ENCODING is [CHARSET][/[SURFACE]]...; REQUEST often looks like "
  14374. -"BEFORE..AFTER,\n"
  14375. +"REQUEST is SUBREQUEST[,SUBREQUEST]...; SUBREQUEST is ENCODING[..ENCODING]...\n"
  14376. +"ENCODING is [CHARSET][/[SURFACE]]...; REQUEST often looks like BEFORE..AFTER,\n"
  14377. "with BEFORE and AFTER being charsets. An omitted CHARSET implies the usual\n"
  14378. -"charset; an omitted [/SURFACE]... means the implied surfaces for CHARSET; a "
  14379. -"/\n"
  14380. +"charset; an omitted [/SURFACE]... means the implied surfaces for CHARSET; a /\n"
  14381. "with an empty surface name means no surfaces at all. See the manual.\n"
  14382. msgstr ""
  14383. +"\n"
  14384. +"VERZOEK is DEELVERZOEK[,DEELVERZOEK]...; DEELVERZOEK is CODERING[..CODERING]...\n"
  14385. +"CODERING is [TEKENSET][/[OPPERVLAK]]...; VERZOEK ziet er vaak uit als VOOR..NA,\n"
  14386. +"waarbij VOOR en NA tekensets zijn. Een weggelaten TEKENSET impliceert de\n"
  14387. +"gebruikelijke tekenset; een weggelaten [/OPPERVLAK]... betekent de impliciete\n"
  14388. +"oppervlakken voor TEKENSET; een / met een lege oppervlaknaam betekent helemaal\n"
  14389. +"geen oppervlak. Zie ook de handleiding.\n"
  14390. #: src/main.c:323
  14391. msgid ""
  14392. @@ -216,200 +244,201 @@
  14393. "Each FILE is recoded over itself, destroying the original. If no\n"
  14394. "FILE is specified, then act as a filter and recode stdin to stdout.\n"
  14395. msgstr ""
  14396. +"\n"
  14397. +"Als er geen -i of -p gegeven is, wordt -p aangenomen als er geen BESTAND\n"
  14398. +"gegeven is, anders -i. Elk BESTAND wordt over zichzelf gehercodeerd; het\n"
  14399. +"origineel wordt dus overschreven.\n"
  14400. +"Als er geen BESTAND gegeven is, functioneert 'recode' als een filter en\n"
  14401. +"wordt van standaardinvoer naar standaarduitvoer gehercodeerd.\n"
  14402. #: src/main.c:329
  14403. -#, fuzzy
  14404. msgid ""
  14405. "\n"
  14406. "Report bugs to <recode-bugs@iro.umontreal.ca>.\n"
  14407. msgstr ""
  14408. "\n"
  14409. -"Meld fouten via <recode-bugs@gnu.ai.mit.edu>.\n"
  14410. +"Rapporteer programmafouten aan <recode-bugs@iro.umontreal.ca>,\n"
  14411. +"en fouten in de Nederlandse vertaling aan <vertaling@vrijschrift.org>.\n"
  14412. #: src/main.c:430
  14413. #, c-format
  14414. msgid "Sequence `%s' is ambiguous"
  14415. -msgstr ""
  14416. +msgstr "Reeks '%s' is niet eenduidig"
  14417. #: src/main.c:434
  14418. #, c-format
  14419. msgid "Sequence `%s' is unknown"
  14420. -msgstr ""
  14421. +msgstr "Reeks '%s' is onbekend"
  14422. #: src/main.c:464 src/main.c:522
  14423. #, c-format
  14424. msgid "Language `%s' is ambiguous"
  14425. -msgstr ""
  14426. +msgstr "Taal '%s' is niet eenduidig"
  14427. #. -1
  14428. #: src/main.c:468 src/main.c:526
  14429. #, c-format
  14430. msgid "Language `%s' is unknown"
  14431. -msgstr ""
  14432. +msgstr "Taal '%s' is onbekend"
  14433. #: src/main.c:560
  14434. #, c-format
  14435. msgid "Format `%s' is ambiguous"
  14436. -msgstr ""
  14437. +msgstr "Presentatie '%s' is niet eenduidig"
  14438. #: src/main.c:564
  14439. #, c-format
  14440. msgid "Format `%s' is unknown"
  14441. -msgstr ""
  14442. +msgstr "Presentatie '%s' is onbekend"
  14443. #: src/main.c:621
  14444. -#, fuzzy
  14445. msgid "Written by Franc,ois Pinard <pinard@iro.umontreal.ca>.\n"
  14446. -msgstr ""
  14447. -"\n"
  14448. -"Geschreven door François Pinard <pinard@iro.umontreal.ca>.\n"
  14449. +msgstr "Geschreven door François Pinard <pinard@iro.umontreal.ca>.\n"
  14450. #: src/main.c:624
  14451. -#, fuzzy
  14452. msgid ""
  14453. "\n"
  14454. "Copyright (C) 1990, 92, 93, 94, 96, 97, 99 Free Software Foundation, Inc.\n"
  14455. msgstr ""
  14456. "\n"
  14457. -"Copyright (C) 1990, 1992, 1993, 1994, 1996 Free Software Foundation, Inc.\n"
  14458. +"Copyright (C) 1990, 92, 93, 94, 96, 97, 99 Free Software Foundation, Inc.\n"
  14459. #: src/main.c:628
  14460. msgid ""
  14461. "This is free software; see the source for copying conditions. There is NO\n"
  14462. "warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n"
  14463. msgstr ""
  14464. -"Dit is vrije programmatuur; zie de broncode voor kopieer condities.\n"
  14465. +"Dit is vrije software; zie de brontekst voor de kopieervoorwaarden.\n"
  14466. "Er is GEEN garantie; zelfs niet voor VERKOOPBAARHEID of GESCHIKTHEID\n"
  14467. -"VOOR EEN BEPAALDE TOEPASSING.\n"
  14468. +"VOOR EEN BEPAALD DOEL.\n"
  14469. #: src/main.c:669
  14470. #, c-format
  14471. msgid "Symbol `%s' is unknown"
  14472. -msgstr ""
  14473. +msgstr "Symbool '%s' is onbekend"
  14474. #: src/main.c:709 src/main.c:723
  14475. #, c-format
  14476. msgid "Charset `%s' is unknown or ambiguous"
  14477. -msgstr ""
  14478. +msgstr "Tekenset '%s' is onbekend of niet eenduidig"
  14479. #: src/main.c:754
  14480. msgid "Required argument is missing"
  14481. -msgstr ""
  14482. +msgstr "Een vereist argument ontbreekt"
  14483. #: src/main.c:797
  14484. #, c-format
  14485. msgid "Syntax is deprecated, please prefer `%s'"
  14486. -msgstr ""
  14487. +msgstr "Deze syntax is verouderd; gebruik liever '%s'"
  14488. #: src/main.c:803
  14489. #, c-format
  14490. msgid "Request `%s' is erroneous"
  14491. -msgstr ""
  14492. +msgstr "Verzoek '%s' is onjuist"
  14493. #: src/main.c:903
  14494. #, c-format
  14495. msgid "Recoding %s..."
  14496. -msgstr "Omzetten %s..."
  14497. +msgstr "Bezig met hercoderen van %s..."
  14498. #: src/main.c:913
  14499. msgid " done\n"
  14500. -msgstr " klaar\n"
  14501. +msgstr " voltooid\n"
  14502. #: src/main.c:954
  14503. #, c-format
  14504. msgid " failed: %s in step `%s..%s'\n"
  14505. -msgstr ""
  14506. +msgstr " mislukt: %s in stap '%s..%s'\n"
  14507. #: src/main.c:961
  14508. #, c-format
  14509. msgid "%s failed: %s in step `%s..%s'"
  14510. -msgstr ""
  14511. +msgstr "%s mislukt: %s in stap '%s..%s'"
  14512. #: src/main.c:984
  14513. -#, fuzzy, c-format
  14514. +#, c-format
  14515. msgid "%s in step `%s..%s'"
  14516. -msgstr "%svoor reeks %s.%s"
  14517. +msgstr "%s in stap '%s..%s'"
  14518. #: src/names.c:335
  14519. #, c-format
  14520. msgid "Charset %s already exists and is not %s"
  14521. -msgstr "Karakterset %s bestaat reeds en is niet %s"
  14522. +msgstr "Tekenset '%s' bestaat al en is niet %s"
  14523. #: src/names.c:831
  14524. -#, fuzzy, c-format
  14525. +#, c-format
  14526. msgid "Cannot list `%s', no names available for this charset"
  14527. -msgstr ""
  14528. -"Kan `%s' niet tonen, geen RFC 1345 namen beschikbaar voor deze karakterset"
  14529. +msgstr "Kan '%s' niet opsommen; geen namen beschikbaar voor deze tekenset"
  14530. #. code counter
  14531. #. expected value for code counter
  14532. #. insert a while line before printing
  14533. #. Print the long table according to explode data.
  14534. #: src/names.c:984 src/names.c:1030
  14535. -#, fuzzy, c-format
  14536. +#, c-format
  14537. msgid "Dec Oct Hex UCS2 Mne %s\n"
  14538. -msgstr "dec oct hex ch %s\n"
  14539. +msgstr "Dec Oct Hex UCS2 Mne %s\n"
  14540. #: src/names.c:1049
  14541. -#, fuzzy, c-format
  14542. +#, c-format
  14543. msgid "Sorry, no names available for `%s'"
  14544. -msgstr "Sorry, geen RFC 1345 namen beschikbaar voor `%s'"
  14545. +msgstr "Sorry, geen namen beschikbaar voor '%s'"
  14546. #: src/outer.c:125
  14547. #, c-format
  14548. msgid "Resurfacer set more than once for `%s'"
  14549. -msgstr ""
  14550. +msgstr "Her-oppervlakker meer dan eens gezet voor '%s'"
  14551. #: src/outer.c:133
  14552. #, c-format
  14553. msgid "Unsurfacer set more than once for `%s'"
  14554. -msgstr ""
  14555. +msgstr "Ont-oppervlakker meer dan eens gezet voor '%s'"
  14556. #: src/recode.c:115 src/recode.c:127
  14557. msgid "Virtual memory exhausted"
  14558. -msgstr ""
  14559. +msgstr "Onvoldoende virtueel geheugen"
  14560. #: src/recode.c:155
  14561. #, c-format, ycp-format
  14562. msgid "Codes %3d and %3d both recode to %3d"
  14563. -msgstr "Code %3d en %3d beide omgezet naar %3d"
  14564. +msgstr "Codes %3d en %3d hercoderen beide naar %3d"
  14565. #: src/recode.c:169
  14566. #, c-format, ycp-format
  14567. msgid "No character recodes to %3d"
  14568. -msgstr "Geen karakter omzetting naar %3d"
  14569. +msgstr "Geen teken hercodeert naar %3d"
  14570. #: src/recode.c:170
  14571. msgid "Cannot invert given one-to-one table"
  14572. -msgstr "Kan een-op-een tabel niet inverteren"
  14573. +msgstr "Kan de gegeven één-op-één tabel niet omkeren"
  14574. #: src/recode.c:224 src/recode.c:236
  14575. #, c-format
  14576. msgid "Following diagnostics for `%s' to `%s'"
  14577. -msgstr "Volg diagnostiek (FIXME) van `%s' naar `%s'"
  14578. +msgstr "Foutmeldingen voor '%s' naar '%s'"
  14579. #: src/recode.c:229 src/recode.c:241
  14580. -#, fuzzy, c-format
  14581. +#, c-format
  14582. msgid "Pair no. %d: <%3d, %3d> conflicts with <%3d, %3d>"
  14583. -msgstr "Paar nummer %d: { %3d, %3d } conflictueerd met { %3d, %3d }"
  14584. +msgstr "Paarnummer %d: <%3d, %3d> conflicteert met <%3d, %3d>"
  14585. #: src/recode.c:272
  14586. msgid "Cannot complete table from set of known pairs"
  14587. -msgstr "Kan tabel niet compleet maken uit set van bekende paren"
  14588. +msgstr "Kan tabel niet afmaken met de verzameling bekende paren"
  14589. #: src/recode.c:497
  14590. msgid "Identity recoding, not worth a table"
  14591. -msgstr "Codering is identiek, geen tabel waardig"
  14592. +msgstr "Identiteitshercodering; is geen tabel waard"
  14593. #: src/recode.c:504
  14594. msgid "Recoding is too complex for a mere table"
  14595. -msgstr "Omzetting is te complex voor een mere tabel (FIXME)"
  14596. +msgstr "Hercoderen is te complex voor slechts een tabel"
  14597. #. Print the header of the header file.
  14598. #: src/recode.c:536
  14599. -#, fuzzy, c-format
  14600. +#, c-format
  14601. msgid "%sConversion table generated mechanically by Free `%s' %s"
  14602. -msgstr "%sConversietabel mechanisch gegenereerd door GNU %s %s"
  14603. +msgstr "%sConversietabel gegenereerd door '%s' %s"
  14604. #: src/recode.c:538
  14605. #, c-format
  14606. @@ -418,261 +447,82 @@
  14607. #: src/recode.c:744
  14608. msgid "No table to print"
  14609. -msgstr "Geen tabel om te tonen"
  14610. +msgstr "Geen tabel om weer te geven"
  14611. #: src/request.c:34
  14612. msgid "reversible"
  14613. msgstr "omkeerbaar"
  14614. #: src/request.c:36
  14615. -#, fuzzy, c-format
  14616. +#, c-format
  14617. msgid "%s to %s"
  14618. -msgstr "%svoor reeks %s.%s"
  14619. +msgstr "%s naar %s"
  14620. #: src/request.c:37 src/request.c:39
  14621. msgid "byte"
  14622. -msgstr ""
  14623. +msgstr "byte"
  14624. #: src/request.c:38 src/request.c:40
  14625. msgid "ucs2"
  14626. -msgstr ""
  14627. +msgstr "ucs2"
  14628. #: src/request.c:38 src/request.c:40
  14629. -#, fuzzy
  14630. msgid "variable"
  14631. -msgstr "omkeerbaar"
  14632. +msgstr "variabel"
  14633. #: src/request.c:111
  14634. msgid "*Unachievable*"
  14635. -msgstr "*Onmogelijk*"
  14636. +msgstr "*Kan niet*"
  14637. #: src/request.c:113
  14638. msgid "*mere copy*"
  14639. -msgstr "*gewone kopie*"
  14640. +msgstr "*simpele kopie*"
  14641. #: src/request.c:246
  14642. msgid "Virtual memory exhausted!"
  14643. -msgstr ""
  14644. +msgstr "Onvoldoende virtueel geheugen!"
  14645. #: src/request.c:265
  14646. msgid "Step initialisation failed"
  14647. -msgstr ""
  14648. +msgstr "Stap-initialisatie is mislukt"
  14649. #: src/request.c:272
  14650. msgid "Step initialisation failed (unprocessed options)"
  14651. -msgstr ""
  14652. +msgstr "Stap-initialisatie is mislukt (onverwerkte opties)"
  14653. #: src/request.c:568
  14654. #, c-format
  14655. msgid "Request: %s\n"
  14656. -msgstr ""
  14657. +msgstr "Verzoek: %s\n"
  14658. #: src/request.c:720
  14659. #, c-format
  14660. msgid "Shrunk to: %s\n"
  14661. -msgstr ""
  14662. +msgstr "Gekrompen tot: %s\n"
  14663. #: src/request.c:823 src/request.c:932
  14664. #, c-format
  14665. msgid "Unrecognised surface name `%s'"
  14666. -msgstr ""
  14667. +msgstr "Onbekende oppervlaknaam '%s'"
  14668. #: src/request.c:903
  14669. -#, fuzzy, c-format
  14670. +#, c-format
  14671. msgid "No way to recode from `%s' to `%s'"
  14672. -msgstr "Geen mogelijkheid voor omzetting van %s naar %s"
  14673. +msgstr "Er is geen manier om te hercoderen van '%s' naar '%s'"
  14674. #: src/request.c:1013
  14675. msgid "Expecting `..' in request"
  14676. -msgstr ""
  14677. +msgstr "'..' werd verwacht in verzoek"
  14678. #: src/task.c:826 src/task.c:1002
  14679. #, c-format
  14680. msgid "Child process wait status is 0x%0.2x"
  14681. -msgstr "Wacht status proces kind is 0x%0.2x"
  14682. +msgstr "Wachtstatus van dochterproces is 0x%0.2x"
  14683. #: src/testdump.c:298
  14684. msgid ""
  14685. "UCS2 Mne Description\n"
  14686. "\n"
  14687. msgstr ""
  14688. -
  14689. -#~ msgid "Ambiguous sequence `%s'"
  14690. -#~ msgstr "Dubbelzinnig `sequence' `%s'"
  14691. -
  14692. -#~ msgid "Unknown sequence `%s'"
  14693. -#~ msgstr "Onbekende `sequence' `%s' (FIXME)"
  14694. -
  14695. -#~ msgid "Ambiguous language `%s'"
  14696. -#~ msgstr "Dubbelzinnige taal `%s'"
  14697. -
  14698. -#~ msgid "Unknown language `%s'"
  14699. -#~ msgstr "Onbekende taal `%s'"
  14700. -
  14701. -#~ msgid "Ambiguous format `%s'"
  14702. -#~ msgstr "Dubbelzinnig format `%s'"
  14703. -
  14704. -#~ msgid "Unknown format `%s'"
  14705. -#~ msgstr "Onbekende format `%s'"
  14706. -
  14707. -#~ msgid "Hash stats: %d names using %d buckets out of %d\n"
  14708. -#~ msgstr "Hash stats: %d names using %d buckets out of %d (FIXME)\n"
  14709. -
  14710. -#~ msgid "Currently, -s is ignored when -g is selected"
  14711. -#~ msgstr "Op dit moment wordt -s genegeerd als -g is geselecteerd"
  14712. -
  14713. -#~ msgid "one to one"
  14714. -#~ msgstr "een op een"
  14715. -
  14716. -#~ msgid "one to many"
  14717. -#~ msgstr "een naar veel (FIXME)"
  14718. -
  14719. -#~ msgid "many to one"
  14720. -#~ msgstr "veel naar een (FIXME)"
  14721. -
  14722. -#~ msgid "many to many"
  14723. -#~ msgstr "veel te veel"
  14724. -
  14725. -#~ msgid "MAX_CHARSETS is too small"
  14726. -#~ msgstr "MAX_CHARSETS is te klein"
  14727. -
  14728. -#~ msgid "Ambiguous charset or encoding `%s'"
  14729. -#~ msgstr "Dubbelzinnige karakterset of codering `%s'"
  14730. -
  14731. -#~ msgid "Unknown charset or encoding `%s'"
  14732. -#~ msgstr "Onbekende karakterset of codering `%s'"
  14733. -
  14734. -#~ msgid "Simplified to: %s\n"
  14735. -#~ msgstr "Versimpeld naar: %s\n"
  14736. -
  14737. -#~ msgid "Unbalanced quotes in request"
  14738. -#~ msgstr "Niet overeenkomstige kwoots in vraag"
  14739. -
  14740. -#~ msgid "Illegal backslash"
  14741. -#~ msgstr "Ongeldige backslash"
  14742. -
  14743. -#~ msgid "Internal error - strategy undecided"
  14744. -#~ msgstr "Interne fout - besluiteloze strategie"
  14745. -
  14746. -#~ msgid "ONE to SAME"
  14747. -#~ msgstr "ONE naar SAME"
  14748. -
  14749. -#~ msgid "steps: %d"
  14750. -#~ msgstr "stappen: %d"
  14751. -
  14752. -#~ msgid ", %d saved by merging"
  14753. -#~ msgstr ", %d bewaard door samenvoegen"
  14754. -
  14755. -#~ msgid " UNACHIEVABLE\n"
  14756. -#~ msgstr " ONBEREIKBAAR\n"
  14757. -
  14758. -#~ msgid "Cannot auto check the ignored charset"
  14759. -#~ msgstr "Kan de genegeerde karakterset niet automatisch kontroleren"
  14760. -
  14761. -#~ msgid "Cannot auto check on %s"
  14762. -#~ msgstr "Kan %s niet automatisch kontroleren"
  14763. -
  14764. -#~ msgid ""
  14765. -#~ "Mandatory or optional arguments to long options are mandatory or optional\n"
  14766. -#~ "for short options too.\n"
  14767. -#~ "\n"
  14768. -#~ " -C, --copyright display Copyright and copying conditions\n"
  14769. -#~ " -a, --auto-check report about some or all recoding paths, then exit\n"
  14770. -#~ " -l, --list[=FORMAT] list one or all known charsets\n"
  14771. -#~ " -k, --known=PAIRS restrict charsets according to known PAIRS list\n"
  14772. -#~ " --help display this help and exit\n"
  14773. -#~ " --version output version information and exit\n"
  14774. -#~ "\n"
  14775. -#~ "FORMAT is a word among decimal, octal, hexadecimal or full (which may be\n"
  14776. -#~ "abbreviated to one of `dohf'), it defaults to just the canonical name.\n"
  14777. -#~ "With -k, possible before charsets are listed for the given after CHARSET,\n"
  14778. -#~ "both being RFC1345 charsets, with PAIRS of the form "
  14779. -#~ "`BEF1:AFT1,BEF2:AFT2,...\n"
  14780. -#~ "and BEFs and AFTs being codes. All codes are given as decimal numbers.\n"
  14781. -#~ msgstr ""
  14782. -#~ "Verplichte of optionele argumenten bij lange opties, zijn ook\n"
  14783. -#~ "verplicht of optioneel bij korte opties.\n"
  14784. -#~ "\n"
  14785. -#~ " -C, --copyright toon Copyright en copieer kondities\n"
  14786. -#~ " -a, --auto-check bericht over sommige of alle omzettingstrajecten\n"
  14787. -#~ " -l, --list[=FORMAT] toon een of alle bekende karaktersets\n"
  14788. -#~ " -k, --known=PAREN beperk karaktersets volgens bekende PAREN lijst\n"
  14789. -#~ " --help toon hulp-tekst en bekindig programma\n"
  14790. -#~ " --version toon versie-informatie en bekindig programma\n"
  14791. -#~ "\n"
  14792. -#~ "FORMAT is een woord zoals decimaal, octaal, hexadecimaal of volledig\n"
  14793. -#~ "(full) (wat mag worden afgekort als een van `dohf'), gewoonlijk wordt\n"
  14794. -#~ "de standaardnaam gebruikt.\n"
  14795. -#~ "\n"
  14796. -#~ "(FIXME) With -k, possible before charsets are listed for the given\n"
  14797. -#~ "after CHARSET, both being RFC1345 charsets, with PAIRS of the form\n"
  14798. -#~ "`BEF1:AFT1,BEF2:AFT2,... and BEFs and AFTs being codes. All codes\n"
  14799. -#~ "are given as decimal numbers.\n"
  14800. -
  14801. -#~ msgid ""
  14802. -#~ "Option -l with no FORMAT nor CHARSET list all charsets, also see the "
  14803. -#~ "Texinfo\n"
  14804. -#~ "documentation. My preferred charsets are (each user has preferences):\n"
  14805. -#~ "\n"
  14806. -#~ " ascii-bs ASCII (7-bit), using backspace to apply diacritics\n"
  14807. -#~ " ibmpc IBM-PC 8-bit characters, with proper newlines\n"
  14808. -#~ " latex LaTeX coding of foreign and diacriticized characters\n"
  14809. -#~ " latin1 ISO Latin-1 8-bit extension of ASCII\n"
  14810. -#~ " texte Easy French convention for transmitting email messages\n"
  14811. -#~ msgstr ""
  14812. -#~ "Optie -l met geen FORMAT noch CHARSET laat alle karaktersets zien, zie\n"
  14813. -#~ "ook de Texinfo documentatie. Mijn preferente karaktersets zijn (elke\n"
  14814. -#~ "gebruiker heeft voorkeuren):\n"
  14815. -#~ "\n"
  14816. -#~ " ascii-bs ASCII (7-bit), gebruik backspace to apply diacritics\n"
  14817. -#~ " ibmpc IBM-PC 8-bit karakter, met juiste nieuwe regels\n"
  14818. -#~ " latex LaTeX codering van vreemde en dia-kritische karrakters\n"
  14819. -#~ " latin1 ISO Latin-1 8-bit uitbreiding van ASCII\n"
  14820. -#~ " texte Makkelijk franse conventie voor versturen email berichten\n"
  14821. -
  14822. -#~ msgid ""
  14823. -#~ "\n"
  14824. -#~ "Usage: %s [OPTION]... [BEFORE]:[AFTER] [FILE]...\n"
  14825. -#~ msgstr ""
  14826. -#~ "\n"
  14827. -#~ "Gebruik: %s [OPTIE]... [VOOR]:[NA] [BESTAND]...\n"
  14828. -
  14829. -#~ msgid ""
  14830. -#~ " -o, --sequence=popen use popen machinery for sequencing passes\n"
  14831. -#~ msgstr ""
  14832. -#~ " -o, --sequence=popen gebruiken popen machinery for sequencing passes "
  14833. -#~ "(FIXME)\n"
  14834. -
  14835. -#~ msgid " -o, --sequence=popen same as -i (on this system)\n"
  14836. -#~ msgstr " -o, --sequence=popen zelfde als -i (op dit systeem)\n"
  14837. -
  14838. -#~ msgid ""
  14839. -#~ " -q, --quiet, --silent inhibit messages about irreversible recodings\n"
  14840. -#~ " -s, --strict use strict mappings, even loose characters\n"
  14841. -#~ " -t, --touch touch the recoded files after replacement\n"
  14842. -#~ " -v, --verbose explain sequence of steps and report progress\n"
  14843. -#~ " -x, --ignore=CHARSET ignore CHARSET while choosing a recoding path\n"
  14844. -#~ "\n"
  14845. -#~ "If none of -i, -o and -p are given, presume -p if no FILE, else -i.\n"
  14846. -#~ "Each FILE is recoded over itself, destroying the original. If no\n"
  14847. -#~ "FILE is specified, then act as a filter and recode stdin to stdout.\n"
  14848. -#~ msgstr ""
  14849. -#~ " -q, --quiet, --silent laat meldingen over onomkeerbaarheid achterwege\n"
  14850. -#~ " -s, --strict gebruik strikte omzetting, zelfs voor loose chars\n"
  14851. -#~ " -t, --touch verander de tijd van omgezette bestanden\n"
  14852. -#~ " -v, --verbose laat zien wat er gebeurt\n"
  14853. -#~ " -x, --ignore=CHARSET negeer CHARSET bij kiezen van omzettingstraject\n"
  14854. -#~ "\n"
  14855. -#~ "Als geen van -i, -o en -p gegeven zijn, veronderstel -p als geen\n"
  14856. -#~ "BESTAND, anders -i. Elk BESTAND is omgezet over zichzelf, het\n"
  14857. -#~ "origineel vernietigend. Als geen BESTAND is gespecificeerd, werk dan\n"
  14858. -#~ "als een filter en zet standaardinvoer om naar standaarduitvoer.\n"
  14859. -
  14860. -#~ msgid "BEFORE and AFTER both default to `%s' when needed.\n"
  14861. -#~ msgstr "VOOR en NA beiden `%s' indien noodzakelijk.\n"
  14862. -
  14863. -#~ msgid "%s: Recoding is not reversible"
  14864. -#~ msgstr "%s: Omzetting is niet omkeerbaar"
  14865. -
  14866. -#~ msgid "Recoding is not reversible"
  14867. -#~ msgstr "Omzetting is niet omkeerbaar"
  14868. +"UCS2 Mne Omschrijving\n"
  14869. +"\n"
  14870. --- recode-3.6.orig/i18n/zh_CN.po
  14871. +++ recode-3.6/i18n/zh_CN.po
  14872. @@ -0,0 +1,509 @@
  14873. +# Simplified Chinese translation for recode.
  14874. +# Copyright (C) 2005 Free Software Foundation, Inc.
  14875. +# Meng Jie <zuxyhere@eastday.com>, 2005.
  14876. +#
  14877. +msgid ""
  14878. +msgstr ""
  14879. +"Project-Id-Version: recode 3.6\n"
  14880. +"POT-Creation-Date: 2001-01-02 22:35+0100\n"
  14881. +"PO-Revision-Date: 2005-12-03 21:43+0800\n"
  14882. +"Last-Translator: Meng Jie <zuxyhere@eastday.com>\n"
  14883. +"Language-Team: Chinese (simplified) <i18n-translation@lists.linux.net.cn>\n"
  14884. +"MIME-Version: 1.0\n"
  14885. +"Content-Type: text/plain; charset=utf-8\n"
  14886. +"Content-Transfer-Encoding: 8bit\n"
  14887. +"X-Poedit-Basepath: z:\\recode-3.6\n"
  14888. +
  14889. +#: src/main.c:142
  14890. +msgid "No error"
  14891. +msgstr "没有错误"
  14892. +
  14893. +#: src/main.c:145
  14894. +msgid "Non canonical input"
  14895. +msgstr "�正规的输入"
  14896. +
  14897. +#: src/main.c:148
  14898. +msgid "Ambiguous output"
  14899. +msgstr "有歧义的输出"
  14900. +
  14901. +#: src/main.c:151
  14902. +msgid "Untranslatable input"
  14903. +msgstr "无法翻译的输入"
  14904. +
  14905. +#: src/main.c:154
  14906. +msgid "Invalid input"
  14907. +msgstr "无效的输入"
  14908. +
  14909. +#: src/main.c:157
  14910. +msgid "System detected problem"
  14911. +msgstr "系统问题"
  14912. +
  14913. +#: src/main.c:160
  14914. +msgid "Misuse of recoding library"
  14915. +msgstr "对�新编�库的使用�正确"
  14916. +
  14917. +#: src/main.c:163
  14918. +msgid "Internal recoding bug"
  14919. +msgstr "内部�新编�缺陷"
  14920. +
  14921. +#: src/main.c:208
  14922. +msgid ""
  14923. +"This program is free software; you can redistribute it and/or modify\n"
  14924. +"it under the terms of the GNU General Public License as published by\n"
  14925. +"the Free Software Foundation; either version 2, or (at your option)\n"
  14926. +"any later version.\n"
  14927. +"\n"
  14928. +"This program is distributed in the hope that it will be useful,\n"
  14929. +"but WITHOUT ANY WARRANTY; without even the implied warranty of\n"
  14930. +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n"
  14931. +"GNU General Public License for more details.\n"
  14932. +"\n"
  14933. +"You should have received a copy of the GNU General Public License\n"
  14934. +"along with this program; if not, write to the Free Software Foundation,\n"
  14935. +"Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n"
  14936. +msgstr ""
  14937. +"此程�是自由软件;您�以在自由软件基金会�布的 GNU 通用公共许\n"
  14938. +"��的�款下�新分�和(或)修改它;您�以选择使用 GPL 第二版,\n"
  14939. +"或(按照您的�愿)任何更新的版本。\n"
  14940. +"\n"
  14941. +"该程�分�的目的是为了其他人�以使用它,但是没有任何担�;也没\n"
  14942. +"有对其适销性和�一特定目的下的适用性的担�。请查阅 GNU 通用公\n"
  14943. +"共许���获得更多的信�。\n"
  14944. +"\n"
  14945. +"你应该已�跟本程�一起收到一份 GNU 通用公共许��;如果没有,\n"
  14946. +"请写信至:Free Software Foundation, Inc., \n"
  14947. +"59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n"
  14948. +
  14949. +#: src/main.c:233
  14950. +#, c-format
  14951. +msgid "Try `%s %s' for more information.\n"
  14952. +msgstr "请�试执行‘%s %s’以得到更多信�。\n"
  14953. +
  14954. +#: src/main.c:237
  14955. +msgid "Free `recode' converts files between various character sets and surfaces.\n"
  14956. +msgstr "自由的‘recode’将文件在��的字符集和外在编�间转�。\n"
  14957. +
  14958. +#: src/main.c:241
  14959. +#, c-format
  14960. +msgid ""
  14961. +"\n"
  14962. +"Usage: %s [OPTION]... [ [CHARSET] | REQUEST [FILE]... ]\n"
  14963. +msgstr ""
  14964. +"\n"
  14965. +"用法:%s [选项]... [ [字符集] | 请求 [文件]...]\n"
  14966. +
  14967. +#: src/main.c:244
  14968. +msgid ""
  14969. +"\n"
  14970. +"If a long option shows an argument as mandatory, then it is mandatory\n"
  14971. +"for the equivalent short option also. Similarly for optional arguments.\n"
  14972. +msgstr ""
  14973. +"\n"
  14974. +"长选项必须带的�数在使用与之等价的短选项时也是必须的。�选�数亦是如此。\n"
  14975. +
  14976. +#: src/main.c:250
  14977. +msgid ""
  14978. +"\n"
  14979. +"Listings:\n"
  14980. +" -l, --list[=FORMAT] list one or all known charsets and aliases\n"
  14981. +" -k, --known=PAIRS restrict charsets according to known PAIRS list\n"
  14982. +" -h, --header[=[LN/]NAME] write table NAME on stdout using LN, then exit\n"
  14983. +" -F, --freeze-tables write out a C module holding all tables\n"
  14984. +" -T, --find-subsets report all charsets being subset of others\n"
  14985. +" -C, --copyright display Copyright and copying conditions\n"
  14986. +" --help display this help and exit\n"
  14987. +" --version output version information and exit\n"
  14988. +msgstr ""
  14989. +"\n"
  14990. +"列表:\n"
  14991. +" -l,--list[=格�] 列出�个或所有已知的字符集和别�\n"
  14992. +" -k,--known=映射 仅列出匹�已知“映射�列表的字符集\n"
  14993. +" -h,--header[=[语言/]表�] 在标准输出上输出符��语言语法的转�表,然�退出\n"
  14994. +" -F,--freeze-tables 输出一个包括所有转�表的 C 模�\n"
  14995. +" -T,--find-subsets 报告所有是其他字符集�集的字符集\n"
  14996. +" -C,--copyright 显示版�信�和�制�件\n"
  14997. +" --help 显示本帮助信��退出\n"
  14998. +" --version 输出版本信��退出\n"
  14999. +
  15000. +#: src/main.c:263
  15001. +msgid ""
  15002. +"\n"
  15003. +"Operation modes:\n"
  15004. +" -v, --verbose explain sequence of steps and report progress\n"
  15005. +" -q, --quiet, --silent inhibit messages about irreversible recodings\n"
  15006. +" -f, --force force recodings even when not reversible\n"
  15007. +" -t, --touch touch the recoded files after replacement\n"
  15008. +" -i, --sequence=files use intermediate files for sequencing passes\n"
  15009. +" --sequence=memory use memory buffers for sequencing passes\n"
  15010. +msgstr ""
  15011. +"\n"
  15012. +"�作模�:\n"
  15013. +" -v,--verbose 报告转�步骤�列和过程\n"
  15014. +" -q,--quiet,--silent �报告��逆的�新编�\n"
  15015. +" -f,--force 强制进行��逆的�新编�\n"
  15016. +" -t,--touch 在替�之� touch �新编�的文件\n"
  15017. +" -i,--sequence=files 为系列转�使用中间文件\n"
  15018. +" --sequence=memory 为系列转�使用内存缓冲区\n"
  15019. +
  15020. +#: src/main.c:275
  15021. +msgid " -p, --sequence=pipe use pipe machinery for sequencing passes\n"
  15022. +msgstr " -p,--sequence=pipe 为系列转�使用管�机制\n"
  15023. +
  15024. +#: src/main.c:280
  15025. +msgid " -p, --sequence=pipe same as -i (on this system)\n"
  15026. +msgstr " -p,--sequence=pipe 在此系统下与 -i 等效\n"
  15027. +
  15028. +#: src/main.c:285
  15029. +msgid ""
  15030. +"\n"
  15031. +"Fine tuning:\n"
  15032. +" -s, --strict use strict mappings, even loose characters\n"
  15033. +" -d, --diacritics convert only diacritics or alike for HTML/LaTeX\n"
  15034. +" -S, --source[=LN] limit recoding to strings and comments as for LN\n"
  15035. +" -c, --colons use colons instead of double quotes for diaeresis\n"
  15036. +" -g, --graphics approximate IBMPC rulers by ASCII graphics\n"
  15037. +" -x, --ignore=CHARSET ignore CHARSET while choosing a recoding path\n"
  15038. +msgstr ""
  15039. +"\n"
  15040. +"细节调整:\n"
  15041. +" -s,--strict �使为�放�的字符也使用严格映射\n"
  15042. +" -d,--diacritics �为 HTML/LaTeX 转��音记�等\n"
  15043. +" -S,--source[=语言] 将�新编�的范围�制在�编程语言的字符串和注释中\n"
  15044. +" -c,--colons 使用冒�而�是�引��表示分音符\n"
  15045. +" -g,--graphics 用 ASCII 符�模拟 IBMPC 标尺\n"
  15046. +" -x,--ignore=字符集 在选择�新编�途径时忽略�字符集\n"
  15047. +
  15048. +#: src/main.c:296
  15049. +msgid ""
  15050. +"\n"
  15051. +"Option -l with no FORMAT nor CHARSET list available charsets and surfaces.\n"
  15052. +"FORMAT is `decimal', `octal', `hexadecimal' or `full' (or one of `dohf').\n"
  15053. +msgstr ""
  15054. +"\n"
  15055. +"选项 -l �如果没有指定“格��或“字符集�,则列出所有�用的字符集和外在编�。\n"
  15056. +"“格���以为‘decimal’�‘octal’�‘hexadecimal’或‘full’(或者‘dohf’\n"
  15057. +"中的任一个字�)。\n"
  15058. +
  15059. +#: src/main.c:302
  15060. +msgid ""
  15061. +"Unless DEFAULT_CHARSET is set in environment, CHARSET defaults to the locale\n"
  15062. +"dependent encoding, determined by LC_ALL, LC_CTYPE, LANG.\n"
  15063. +msgstr ""
  15064. +"如果没有设置 DEFAULT_CHARSET 环境��,字符集默认为区域选项的编�,由 LC_ALL�\n"
  15065. +"LC_CTYPE�LANG 决定。\n"
  15066. +
  15067. +#: src/main.c:307
  15068. +msgid ""
  15069. +"With -k, possible before charsets are listed for the given after CHARSET,\n"
  15070. +"both being tabular charsets, with PAIRS of the form `BEF1:AFT1,BEF2:AFT2,...'\n"
  15071. +"and BEFs and AFTs being codes are given as decimal numbers.\n"
  15072. +msgstr ""
  15073. +"使用 -k 时,目标字符集�能对应的所有的�字符集都将列出,两者�为表格化的字符\n"
  15074. +"集,“映射�具有‘�1:目标1,�2:目标2,...’的形�,其中“�x�和“目标x��\n"
  15075. +"须以�进制数的形�给出。\n"
  15076. +
  15077. +#: src/main.c:312
  15078. +msgid "LN is some language, it may be `c', `perl' or `po'; `c' is the default.\n"
  15079. +msgstr "“语言�是��编�语言,�以为‘c’�‘perl’或‘po’,‘c’为默认值。\n"
  15080. +
  15081. +#: src/main.c:315
  15082. +msgid ""
  15083. +"\n"
  15084. +"REQUEST is SUBREQUEST[,SUBREQUEST]...; SUBREQUEST is ENCODING[..ENCODING]...\n"
  15085. +"ENCODING is [CHARSET][/[SURFACE]]...; REQUEST often looks like BEFORE..AFTER,\n"
  15086. +"with BEFORE and AFTER being charsets. An omitted CHARSET implies the usual\n"
  15087. +"charset; an omitted [/SURFACE]... means the implied surfaces for CHARSET; a /\n"
  15088. +"with an empty surface name means no surfaces at all. See the manual.\n"
  15089. +msgstr ""
  15090. +"\n"
  15091. +"“请求�格�为“�请求[,�请求]...�;“�请求�格�为“编�[..编�]...�\n"
  15092. +"“编��格�为“[字符集][/[外在编�]]...�;“请求�一般有“�..目的�的形�,\n"
  15093. +"“��和“目的��为字符集�。如果�略“字符集�,则表示通常的字符集;如果�略\n"
  15094. +"“[/外在编�]...�则表示“字符集�默认的外在编�;�给出“/�而在其��给出任\n"
  15095. +"何外在编�则表示没有任何外在编�。详情请��手册。\n"
  15096. +
  15097. +#: src/main.c:323
  15098. +msgid ""
  15099. +"\n"
  15100. +"If none of -i and -p are given, presume -p if no FILE, else -i.\n"
  15101. +"Each FILE is recoded over itself, destroying the original. If no\n"
  15102. +"FILE is specified, then act as a filter and recode stdin to stdout.\n"
  15103. +msgstr ""
  15104. +"\n"
  15105. +"如果没有给出 -i 或 -p,当命令行中有文件时使用 -p,�则使用 -i。\n"
  15106. +"为�个文件就地�新编�,丢弃其原始内容。如果没有在命令行中指定文件,\n"
  15107. +"则将标准输入的内容�新编�为标准输出。\n"
  15108. +
  15109. +#: src/main.c:329
  15110. +msgid ""
  15111. +"\n"
  15112. +"Report bugs to <recode-bugs@iro.umontreal.ca>.\n"
  15113. +msgstr ""
  15114. +"\n"
  15115. +"请� <recode-bugs@iro.umontreal.ca> 报告程�缺陷。\n"
  15116. +
  15117. +#: src/main.c:430
  15118. +#, c-format
  15119. +msgid "Sequence `%s' is ambiguous"
  15120. +msgstr "�列‘%s’�义�明确"
  15121. +
  15122. +#: src/main.c:434
  15123. +#, c-format
  15124. +msgid "Sequence `%s' is unknown"
  15125. +msgstr "�列‘%s’未知"
  15126. +
  15127. +#: src/main.c:464 src/main.c:522
  15128. +#, c-format
  15129. +msgid "Language `%s' is ambiguous"
  15130. +msgstr "语言‘%s’�义�明确"
  15131. +
  15132. +#. -1
  15133. +#: src/main.c:468 src/main.c:526
  15134. +#, c-format
  15135. +msgid "Language `%s' is unknown"
  15136. +msgstr "语言‘%s’未知"
  15137. +
  15138. +#: src/main.c:560
  15139. +#, c-format
  15140. +msgid "Format `%s' is ambiguous"
  15141. +msgstr "格�‘%s’�义�明确"
  15142. +
  15143. +#: src/main.c:564
  15144. +#, c-format
  15145. +msgid "Format `%s' is unknown"
  15146. +msgstr "格�‘%s’未知"
  15147. +
  15148. +#: src/main.c:621
  15149. +msgid "Written by Franc,ois Pinard <pinard@iro.umontreal.ca>.\n"
  15150. +msgstr "由 Francois Pinard <pinard@iro.umontreal.ca> 编写。\n"
  15151. +
  15152. +#: src/main.c:624
  15153. +msgid ""
  15154. +"\n"
  15155. +"Copyright (C) 1990, 92, 93, 94, 96, 97, 99 Free Software Foundation, Inc.\n"
  15156. +msgstr ""
  15157. +"\n"
  15158. +"版�所有 (C) 1990,92,93,94,96,97,99 自由软件基金会。\n"
  15159. +
  15160. +#: src/main.c:628
  15161. +msgid ""
  15162. +"This is free software; see the source for copying conditions. There is NO\n"
  15163. +"warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n"
  15164. +msgstr ""
  15165. +"本程�是自由软件;请�看�代�的版�声明。本软件��供任何担�;\n"
  15166. +"包括没有适销性和�一专用目的下的适用性担�。\n"
  15167. +
  15168. +#: src/main.c:669
  15169. +#, c-format
  15170. +msgid "Symbol `%s' is unknown"
  15171. +msgstr "符�‘%s’未知"
  15172. +
  15173. +#: src/main.c:709 src/main.c:723
  15174. +#, c-format
  15175. +msgid "Charset `%s' is unknown or ambiguous"
  15176. +msgstr "字符集‘%s’未知或有歧义"
  15177. +
  15178. +#: src/main.c:754
  15179. +msgid "Required argument is missing"
  15180. +msgstr "缺少需�的�数"
  15181. +
  15182. +#: src/main.c:797
  15183. +#, c-format
  15184. +msgid "Syntax is deprecated, please prefer `%s'"
  15185. +msgstr "语法已过时,请改用‘%s’"
  15186. +
  15187. +#: src/main.c:803
  15188. +#, c-format
  15189. +msgid "Request `%s' is erroneous"
  15190. +msgstr "请求‘%s’有错误"
  15191. +
  15192. +#: src/main.c:903
  15193. +#, c-format
  15194. +msgid "Recoding %s..."
  15195. +msgstr "�新编� %s..."
  15196. +
  15197. +#: src/main.c:913
  15198. +msgid " done\n"
  15199. +msgstr " 完�\n"
  15200. +
  15201. +#: src/main.c:954
  15202. +#, c-format
  15203. +msgid " failed: %s in step `%s..%s'\n"
  15204. +msgstr " 失败:%s 在步骤‘%s..%s’中\n"
  15205. +
  15206. +#: src/main.c:961
  15207. +#, c-format
  15208. +msgid "%s failed: %s in step `%s..%s'"
  15209. +msgstr "%s 失败:%s 在步骤‘%s..%s’中"
  15210. +
  15211. +#: src/main.c:984
  15212. +#, c-format
  15213. +msgid "%s in step `%s..%s'"
  15214. +msgstr "%s 在步骤‘%s..%s’中"
  15215. +
  15216. +#: src/names.c:335
  15217. +#, c-format
  15218. +msgid "Charset %s already exists and is not %s"
  15219. +msgstr "字符集 %s 已存在且并� %s"
  15220. +
  15221. +#: src/names.c:831
  15222. +#, c-format
  15223. +msgid "Cannot list `%s', no names available for this charset"
  15224. +msgstr "无法列出‘%s’,此字符集没有�用的字符�"
  15225. +
  15226. +#. code counter
  15227. +#. expected value for code counter
  15228. +#. insert a while line before printing
  15229. +#. Print the long table according to explode data.
  15230. +#: src/names.c:984 src/names.c:1030
  15231. +#, c-format
  15232. +msgid "Dec Oct Hex UCS2 Mne %s\n"
  15233. +msgstr "� 八 �六 UCS2 助记 %s\n"
  15234. +
  15235. +#: src/names.c:1049
  15236. +#, c-format
  15237. +msgid "Sorry, no names available for `%s'"
  15238. +msgstr "对�起,‘%s’没有�用的字符�"
  15239. +
  15240. +#: src/outer.c:125
  15241. +#, c-format
  15242. +msgid "Resurfacer set more than once for `%s'"
  15243. +msgstr "为‘%s’施加了多于一个的外在编�"
  15244. +
  15245. +#: src/outer.c:133
  15246. +#, c-format
  15247. +msgid "Unsurfacer set more than once for `%s'"
  15248. +msgstr "为‘%s’去除了多于一个的外在编�"
  15249. +
  15250. +#: src/recode.c:115 src/recode.c:127
  15251. +msgid "Virtual memory exhausted"
  15252. +msgstr "虚拟内存耗尽"
  15253. +
  15254. +#: src/recode.c:155
  15255. +#, c-format, ycp-format
  15256. +msgid "Codes %3d and %3d both recode to %3d"
  15257. +msgstr "代� %3d 和 %3d 都将被�新编�为 %3d"
  15258. +
  15259. +#: src/recode.c:169
  15260. +#, c-format, ycp-format
  15261. +msgid "No character recodes to %3d"
  15262. +msgstr "没有字符集��新编�到 %3d"
  15263. +
  15264. +#: src/recode.c:170
  15265. +msgid "Cannot invert given one-to-one table"
  15266. +msgstr "无法求出给定的一一对应转�表的逆"
  15267. +
  15268. +#: src/recode.c:224 src/recode.c:236
  15269. +#, c-format
  15270. +msgid "Following diagnostics for `%s' to `%s'"
  15271. +msgstr "‘%s’到‘%s’的诊断信�"
  15272. +
  15273. +#: src/recode.c:229 src/recode.c:241
  15274. +#, c-format
  15275. +msgid "Pair no. %d: <%3d, %3d> conflicts with <%3d, %3d>"
  15276. +msgstr "第 %d �映射:<%3d,%3d> 与 <%3d,%3d> 冲�"
  15277. +
  15278. +#: src/recode.c:272
  15279. +msgid "Cannot complete table from set of known pairs"
  15280. +msgstr "无法从已知映射集中形�完整的转�表"
  15281. +
  15282. +#: src/recode.c:497
  15283. +msgid "Identity recoding, not worth a table"
  15284. +msgstr "�等��,�需�转�表"
  15285. +
  15286. +#: src/recode.c:504
  15287. +msgid "Recoding is too complex for a mere table"
  15288. +msgstr "�新编�太过��,无法以一张转�表表示"
  15289. +
  15290. +#. Print the header of the header file.
  15291. +#: src/recode.c:536
  15292. +#, c-format
  15293. +msgid "%sConversion table generated mechanically by Free `%s' %s"
  15294. +msgstr "%sConversion table generated mechanically by Free `%s' %s"
  15295. +
  15296. +#: src/recode.c:538
  15297. +#, c-format
  15298. +msgid "%sfor sequence %s.%s"
  15299. +msgstr "%s为转�系列 %s.%s"
  15300. +
  15301. +#: src/recode.c:744
  15302. +msgid "No table to print"
  15303. +msgstr "没有�以打�的转�表"
  15304. +
  15305. +#: src/request.c:34
  15306. +msgid "reversible"
  15307. +msgstr "�逆的"
  15308. +
  15309. +#: src/request.c:36
  15310. +#, c-format
  15311. +msgid "%s to %s"
  15312. +msgstr "%s 到 %s"
  15313. +
  15314. +#: src/request.c:37 src/request.c:39
  15315. +msgid "byte"
  15316. +msgstr "字节"
  15317. +
  15318. +#: src/request.c:38 src/request.c:40
  15319. +msgid "ucs2"
  15320. +msgstr "ucs2"
  15321. +
  15322. +#: src/request.c:38 src/request.c:40
  15323. +msgid "variable"
  15324. +msgstr "��"
  15325. +
  15326. +#: src/request.c:111
  15327. +msgid "*Unachievable*"
  15328. +msgstr "*无法到达*"
  15329. +
  15330. +#: src/request.c:113
  15331. +msgid "*mere copy*"
  15332. +msgstr "*仅�制*"
  15333. +
  15334. +#: src/request.c:246
  15335. +msgid "Virtual memory exhausted!"
  15336. +msgstr "虚拟内存耗尽�"
  15337. +
  15338. +#: src/request.c:265
  15339. +msgid "Step initialisation failed"
  15340. +msgstr "步骤�始化失败"
  15341. +
  15342. +#: src/request.c:272
  15343. +msgid "Step initialisation failed (unprocessed options)"
  15344. +msgstr "步骤�始化失败(未处�的选项)"
  15345. +
  15346. +#: src/request.c:568
  15347. +#, c-format
  15348. +msgid "Request: %s\n"
  15349. +msgstr "请求:%s\n"
  15350. +
  15351. +#: src/request.c:720
  15352. +#, c-format
  15353. +msgid "Shrunk to: %s\n"
  15354. +msgstr "缩�到:%s\n"
  15355. +
  15356. +#: src/request.c:823 src/request.c:932
  15357. +#, c-format
  15358. +msgid "Unrecognised surface name `%s'"
  15359. +msgstr "无法识别的外在编�‘%s’"
  15360. +
  15361. +#: src/request.c:903
  15362. +#, c-format
  15363. +msgid "No way to recode from `%s' to `%s'"
  15364. +msgstr "没有从‘%s’�新编�至‘%s’的途径"
  15365. +
  15366. +#: src/request.c:1013
  15367. +msgid "Expecting `..' in request"
  15368. +msgstr "请求中�有‘..’"
  15369. +
  15370. +#: src/task.c:826 src/task.c:1002
  15371. +#, c-format
  15372. +msgid "Child process wait status is 0x%0.2x"
  15373. +msgstr "�进程等待状�为 0x%0.2x"
  15374. +
  15375. +#: src/testdump.c:298
  15376. +msgid ""
  15377. +"UCS2 Mne Description\n"
  15378. +"\n"
  15379. +msgstr ""
  15380. +"UCS2 助记 �述\n"
  15381. +"\n"
  15382. --- recode-3.6.orig/i18n/pl.po
  15383. +++ recode-3.6/i18n/pl.po
  15384. @@ -1,14 +1,15 @@
  15385. # Polish translations for the GNU recode messages
  15386. # Copyright (C) 1996 Free Software Foundation, Inc.
  15387. -# Pawe³ Krawczyk <kravietz@ceti.pl>, 1996, 1997, 1998, 1999
  15388. +# Pawe³ Krawczyk <kravietz@ceti.pl>, 1996, 1997, 1998, 1999.
  15389. +# Jakub Bogusz <qboosh@pld-linux.org>, 2002.
  15390. #
  15391. msgid ""
  15392. msgstr ""
  15393. -"Project-Id-Version: recode 3.4r\n"
  15394. +"Project-Id-Version: recode 3.6\n"
  15395. "POT-Creation-Date: 2001-01-02 22:35+0100\n"
  15396. -"PO-Revision-Date: 1999-05-26 14:49+02:00\n"
  15397. -"Last-Translator: Pawe³ Krawczyk <kravietz@ceti.pl>\n"
  15398. -"Language-Team: Polish <pl@li.org>\n"
  15399. +"PO-Revision-Date: 2002-10-27 12:22+0100\n"
  15400. +"Last-Translator: Jakub Bogusz <qboosh@pld-linux.org>\n"
  15401. +"Language-Team: Polish <translation-team-pl@lists.sourceforge.net>\n"
  15402. "MIME-Version: 1.0\n"
  15403. "Content-Type: text/plain; charset=ISO-8859-2\n"
  15404. "Content-Transfer-Encoding: 8-bit\n"
  15405. @@ -81,13 +82,12 @@
  15406. msgstr "Polecenie `%s %s' wy¶wietli wiêcej informacji.\n"
  15407. #: src/main.c:237
  15408. -msgid ""
  15409. -"Free `recode' converts files between various character sets and surfaces.\n"
  15410. +msgid "Free `recode' converts files between various character sets and surfaces.\n"
  15411. msgstr ""
  15412. "Program `recode' konwertuje pliki pomiêdzy ró¿nymi zestawami znaków\n"
  15413. "i sposobami kodowania.\n"
  15414. -# REQUEST t³umaczê wszêdzie konsekwentnie jako POLECENIE, a nie '¿±danie'
  15415. +# REQUEST t³umaczê wszêdzie konsekwentnie jako POLECENIE, a nie '¿±danie' --pk
  15416. #: src/main.c:241
  15417. #, c-format
  15418. msgid ""
  15419. @@ -108,13 +108,11 @@
  15420. "obowi±zkowe dla krótkich wersji. Analogicznie dla argumentów opcjonalnych.\n"
  15421. #: src/main.c:250
  15422. -#, fuzzy
  15423. msgid ""
  15424. "\n"
  15425. "Listings:\n"
  15426. " -l, --list[=FORMAT] list one or all known charsets and aliases\n"
  15427. -" -k, --known=PAIRS restrict charsets according to known PAIRS "
  15428. -"list\n"
  15429. +" -k, --known=PAIRS restrict charsets according to known PAIRS list\n"
  15430. " -h, --header[=[LN/]NAME] write table NAME on stdout using LN, then exit\n"
  15431. " -F, --freeze-tables write out a C module holding all tables\n"
  15432. " -T, --find-subsets report all charsets being subset of others\n"
  15433. @@ -125,7 +123,7 @@
  15434. "\n"
  15435. "Listy:\n"
  15436. " -l, --list[=FORMAT] wy¶wietla jeden lub wszystkie znane zestawy\n"
  15437. -" znaków\n"
  15438. +" znaków i aliasy\n"
  15439. " -k, --known=PARY ogranicza listê zestawów do znanych PAR\n"
  15440. " -h, --header[=[LN/]NAZWA] wy¶wietla tablicê NAZWA na standardowe wyj¶cie\n"
  15441. " u¿ywaj±c LN i koñczy pracê\n"
  15442. @@ -135,8 +133,8 @@
  15443. " innych zestawów\n"
  15444. " -C, --copyright wy¶wietla informacje o prawach autorskich\n"
  15445. " oraz warunkach kopiowania\n"
  15446. -" --version wy¶wietla wersjê programu i koñczy pracê\n"
  15447. " --help wy¶wietla ten tekst pomocy i koñczy pracê\n"
  15448. +" --version wy¶wietla wersjê programu i koñczy pracê\n"
  15449. #: src/main.c:263
  15450. msgid ""
  15451. @@ -187,8 +185,7 @@
  15452. " znaków\n"
  15453. " -d, --diacritics konwertuje tylko znaki diakrytyczne oraz symbole\n"
  15454. " znaków (takie jak w HTML i LaTeX)\n"
  15455. -" -c, --colons u¿ywa dwukropków zamiast cudzys³owów dla "
  15456. -"oznaczenia\n"
  15457. +" -c, --colons u¿ywa dwukropków zamiast cudzys³owów dla oznaczenia\n"
  15458. " umlautu\n"
  15459. " -g, --graphics próbuje przybli¿aæ ramki IBMPC znakami ASCII\n"
  15460. " -x, --ignore=ZESTAW ignoruje ZESTAW znaków podczas okre¶lania drogi\n"
  15461. @@ -206,20 +203,18 @@
  15462. "(lub jedna z liter `dohf').\n"
  15463. #: src/main.c:302
  15464. -#, fuzzy
  15465. msgid ""
  15466. -"Unless DEFAULT_CHARSET is set in environment, CHARSET defaults to the "
  15467. -"locale\n"
  15468. +"Unless DEFAULT_CHARSET is set in environment, CHARSET defaults to the locale\n"
  15469. "dependent encoding, determined by LC_ALL, LC_CTYPE, LANG.\n"
  15470. msgstr ""
  15471. "Je¶li zmienna ¶rodowiskowa DEFAULT_CHARSET nie jest ustawiona, domy¶lnym\n"
  15472. -"zestawem znaków jest `%s'.\n"
  15473. +"zestawem znaków jest kodowanie zale¿ne od lokalizacji, okre¶lonej przez\n"
  15474. +"zmienne LC_ALL, LC_CTYPE i LANG.\n"
  15475. #: src/main.c:307
  15476. msgid ""
  15477. "With -k, possible before charsets are listed for the given after CHARSET,\n"
  15478. -"both being tabular charsets, with PAIRS of the form "
  15479. -"`BEF1:AFT1,BEF2:AFT2,...'\n"
  15480. +"both being tabular charsets, with PAIRS of the form `BEF1:AFT1,BEF2:AFT2,...'\n"
  15481. "and BEFs and AFTs being codes are given as decimal numbers.\n"
  15482. msgstr ""
  15483. "Je¶li podano opcjê -k, program wy¶wietla zestawy znaków z których mo¿na\n"
  15484. @@ -228,8 +223,7 @@
  15485. "SK¡D i DOK¡D s± kodami podanymi jako liczby dziesiêtne.\n"
  15486. #: src/main.c:312
  15487. -msgid ""
  15488. -"LN is some language, it may be `c', `perl' or `po'; `c' is the default.\n"
  15489. +msgid "LN is some language, it may be `c', `perl' or `po'; `c' is the default.\n"
  15490. msgstr ""
  15491. "LN jest jêzykiem programowania, do wyboru `c', `perl' lub `po'.\n"
  15492. "Domy¶ln± warto¶ci± jest `c'.\n"
  15493. @@ -237,13 +231,10 @@
  15494. #: src/main.c:315
  15495. msgid ""
  15496. "\n"
  15497. -"REQUEST is SUBREQUEST[,SUBREQUEST]...; SUBREQUEST is "
  15498. -"ENCODING[..ENCODING]...\n"
  15499. -"ENCODING is [CHARSET][/[SURFACE]]...; REQUEST often looks like "
  15500. -"BEFORE..AFTER,\n"
  15501. +"REQUEST is SUBREQUEST[,SUBREQUEST]...; SUBREQUEST is ENCODING[..ENCODING]...\n"
  15502. +"ENCODING is [CHARSET][/[SURFACE]]...; REQUEST often looks like BEFORE..AFTER,\n"
  15503. "with BEFORE and AFTER being charsets. An omitted CHARSET implies the usual\n"
  15504. -"charset; an omitted [/SURFACE]... means the implied surfaces for CHARSET; a "
  15505. -"/\n"
  15506. +"charset; an omitted [/SURFACE]... means the implied surfaces for CHARSET; a /\n"
  15507. "with an empty surface name means no surfaces at all. See the manual.\n"
  15508. msgstr ""
  15509. "\n"
  15510. @@ -279,40 +270,37 @@
  15511. #: src/main.c:430
  15512. #, c-format
  15513. msgid "Sequence `%s' is ambiguous"
  15514. -msgstr ""
  15515. +msgstr "Sekwencja `%s' jest niejednoznaczna"
  15516. #: src/main.c:434
  15517. #, c-format
  15518. msgid "Sequence `%s' is unknown"
  15519. -msgstr ""
  15520. +msgstr "Sekwencja `%s' jest nieznana"
  15521. #: src/main.c:464 src/main.c:522
  15522. #, c-format
  15523. msgid "Language `%s' is ambiguous"
  15524. -msgstr ""
  15525. +msgstr "Jêzyk `%s' jest niejednoznaczny"
  15526. #. -1
  15527. #: src/main.c:468 src/main.c:526
  15528. #, c-format
  15529. msgid "Language `%s' is unknown"
  15530. -msgstr ""
  15531. +msgstr "Jêzyk `%s' jest nieznany"
  15532. #: src/main.c:560
  15533. #, c-format
  15534. msgid "Format `%s' is ambiguous"
  15535. -msgstr ""
  15536. +msgstr "Format `%s' jest niejednoznaczny"
  15537. #: src/main.c:564
  15538. #, c-format
  15539. msgid "Format `%s' is unknown"
  15540. -msgstr ""
  15541. +msgstr "Format `%s' jest nieznany"
  15542. #: src/main.c:621
  15543. -#, fuzzy
  15544. msgid "Written by Franc,ois Pinard <pinard@iro.umontreal.ca>.\n"
  15545. -msgstr ""
  15546. -"\n"
  15547. -"Autorem jest Franc,ois Pinard <pinard@iro.umontreal.ca>.\n"
  15548. +msgstr "Autorem jest François Pinard <pinard@iro.umontreal.ca>.\n"
  15549. #: src/main.c:624
  15550. msgid ""
  15551. @@ -327,57 +315,57 @@
  15552. "This is free software; see the source for copying conditions. There is NO\n"
  15553. "warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n"
  15554. msgstr ""
  15555. -"Oprogramowanie darmowe; warunki jego kopiowania znajdziesz w kodzie\n"
  15556. +"Oprogramowanie darmowe; warunki jego kopiowania znajduj± siê w kodzie\n"
  15557. "¼ród³owym. Nie podlega ¿adnej gwarancji, nawet gwarancji przydatno¶ci\n"
  15558. "do jakiegokolwiek zastosowania lub sprzeda¿y.\n"
  15559. #: src/main.c:669
  15560. #, c-format
  15561. msgid "Symbol `%s' is unknown"
  15562. -msgstr ""
  15563. +msgstr "Symbol `%s' jest nieznany"
  15564. #: src/main.c:709 src/main.c:723
  15565. #, c-format
  15566. msgid "Charset `%s' is unknown or ambiguous"
  15567. -msgstr ""
  15568. +msgstr "Zestaw znaków `%s' jest nieznany lub niejednoznaczny"
  15569. #: src/main.c:754
  15570. msgid "Required argument is missing"
  15571. -msgstr ""
  15572. +msgstr "Brak wymaganego parametru"
  15573. #: src/main.c:797
  15574. -#, fuzzy, c-format
  15575. +#, c-format
  15576. msgid "Syntax is deprecated, please prefer `%s'"
  15577. msgstr "Odradza siê stosowanie tej sk³adni, proszê u¿ywaæ `%s'"
  15578. #: src/main.c:803
  15579. #, c-format
  15580. msgid "Request `%s' is erroneous"
  15581. -msgstr ""
  15582. +msgstr "Polecenie `%s' jest b³êdne"
  15583. #: src/main.c:903
  15584. #, c-format
  15585. msgid "Recoding %s..."
  15586. -msgstr "Przekodowanie %s..."
  15587. +msgstr "Przekodowywanie %s..."
  15588. #: src/main.c:913
  15589. msgid " done\n"
  15590. msgstr " skoñczone\n"
  15591. #: src/main.c:954
  15592. -#, fuzzy, c-format
  15593. +#, c-format
  15594. msgid " failed: %s in step `%s..%s'\n"
  15595. -msgstr " nie powiod³o siê: %s w %s..%s\n"
  15596. +msgstr " nie powiod³o siê: %s w `%s..%s'\n"
  15597. #: src/main.c:961
  15598. -#, fuzzy, c-format
  15599. +#, c-format
  15600. msgid "%s failed: %s in step `%s..%s'"
  15601. -msgstr "%s nie powiod³o siê: %s w %s..%s"
  15602. +msgstr "%s nie powiod³o siê: %s w `%s..%s'"
  15603. #: src/main.c:984
  15604. -#, fuzzy, c-format
  15605. +#, c-format
  15606. msgid "%s in step `%s..%s'"
  15607. -msgstr "%s w %s..%s"
  15608. +msgstr "%s w `%s..%s'"
  15609. #: src/names.c:335
  15610. #, c-format
  15611. @@ -531,7 +519,7 @@
  15612. #: src/request.c:1013
  15613. msgid "Expecting `..' in request"
  15614. -msgstr "Spodziewane `..' w poleceniu"
  15615. +msgstr "Oczekiwano `..' w poleceniu"
  15616. #: src/task.c:826 src/task.c:1002
  15617. #, c-format
  15618. @@ -545,236 +533,3 @@
  15619. msgstr ""
  15620. "UCS2 Mne Description\n"
  15621. "\n"
  15622. -
  15623. -#~ msgid "CHARSET has no default, define DEFAULT_CHARSET in the environment.\n"
  15624. -#~ msgstr ""
  15625. -#~ "ZESTAW znaków nie ma warto¶ci domy¶lnej, ustaw zmienn± ¶rodowiskow±\n"
  15626. -#~ "DEFAULT_CHARSET.\n"
  15627. -
  15628. -#~ msgid "Ambiguous sequence `%s'"
  15629. -#~ msgstr "Nierozpoznana sekwencja `%s'"
  15630. -
  15631. -#~ msgid "Unknown sequence `%s'"
  15632. -#~ msgstr "Nieznana sekwencja `%s'"
  15633. -
  15634. -#~ msgid "Ambiguous language `%s'"
  15635. -#~ msgstr "Nierozpoznany jêzyk `%s'"
  15636. -
  15637. -#~ msgid "Unknown language `%s'"
  15638. -#~ msgstr "Nieznany jêzyk `%s'"
  15639. -
  15640. -#~ msgid "Ambiguous format `%s'"
  15641. -#~ msgstr "Nierozpoznany format `%s'"
  15642. -
  15643. -#~ msgid "Unknown format `%s'"
  15644. -#~ msgstr "Nieznany format `%s'"
  15645. -
  15646. -#~ msgid "Erroneous request `%s'"
  15647. -#~ msgstr "B³êdne polecenie `%s'"
  15648. -
  15649. -#~ msgid " Each input char transforms into an output string,\n"
  15650. -#~ msgstr " Ka¿dy znak wej¶ciowy jest konwertowany na ³añcuch wyj¶ciowy,\n"
  15651. -
  15652. -#~ msgid " Each input char transforms into an output string.\n"
  15653. -#~ msgstr " Ka¿dy znak wej¶ciowy jest konwertowany na ³añcuch wyj¶ciowy.\n"
  15654. -
  15655. -#~ msgid " Programming is needed to handle multichar input.\n"
  15656. -#~ msgstr ""
  15657. -#~ " Do obs³ugi kodów wieloznakowych potrzebna jest umiejêtno¶æ "
  15658. -#~ "programowania.\n"
  15659. -
  15660. -#~ msgid " The recoding might not be reversible.\n"
  15661. -#~ msgstr " Konwersja mo¿e byæ nieodwracalna.\n"
  15662. -
  15663. -#~ msgid " The recoding should be reversible.\n"
  15664. -#~ msgstr " Konwersja powinna byæ odwracalna.\n"
  15665. -
  15666. -#~ msgid " programming is needed to handle multichar input.\n"
  15667. -#~ msgstr ""
  15668. -#~ " do obs³ugi kodów wieloznakowych potrzebna jest umiejêtno¶æ "
  15669. -#~ "programowania.\n"
  15670. -
  15671. -#~ msgid " UNACHIEVABLE\n"
  15672. -#~ msgstr " NIEOSI¡GALNE\n"
  15673. -
  15674. -#~ msgid "%s: Recoding is not reversible"
  15675. -#~ msgstr "%s: Konwersja jest nieodwracalna"
  15676. -
  15677. -#~ msgid ", %d saved by merging"
  15678. -#~ msgstr ", %d zachowane przez z³±czenie"
  15679. -
  15680. -#~ msgid "/* Conversion table from `%s' charset to `%s' charset.\n"
  15681. -#~ msgstr "/* Tablica konwersji zestawow znakow `%s' na `%s'.\n"
  15682. -
  15683. -#~ msgid "Cannot auto check on %s"
  15684. -#~ msgstr "Nie mogê automatycznie sprawdziæ %s"
  15685. -
  15686. -#~ msgid "Cannot auto check the ignored charset"
  15687. -#~ msgstr "Nie mogê automatycznie sprawdziæ ignorowanego zestawu znaków"
  15688. -
  15689. -#~ msgid "Currently, -s is ignored when -g is selected"
  15690. -#~ msgstr "Opcja -s jest wy³±czana przez opcjê -g"
  15691. -
  15692. -#~ msgid "Hash stats: %d names using %d buckets out of %d\n"
  15693. -#~ msgstr "Wyniki przeszukiwania: %d u¿ywa %d spo¶ród %d zbiorów\n"
  15694. -
  15695. -#~ msgid "Internal error - strategy undecided"
  15696. -#~ msgstr "B³±d wewnêtrzy - niezdecydowana strategia"
  15697. -
  15698. -#~ msgid "MAX_CHARSETS is too small"
  15699. -#~ msgstr "MAX_CHARSETS jest za ma³e"
  15700. -
  15701. -#~ msgid "MAX_SEQUENCE is too small"
  15702. -#~ msgstr "MAX_SEQUENCE jest za ma³e"
  15703. -
  15704. -#~ msgid "MAX_SINGLE_STEPS is too small"
  15705. -#~ msgstr "MAX_SINGLE_STEPS jest za ma³e"
  15706. -
  15707. -#~ msgid "Mere copy for the trivial recoding\n"
  15708. -#~ msgstr "Zwyk³a kopia do prostego przekodowania\n"
  15709. -
  15710. -#~ msgid "ONE to SAME"
  15711. -#~ msgstr "ONE na SAME"
  15712. -
  15713. -#~ msgid "Recoding is not reversible"
  15714. -#~ msgstr "Przekodowanie jest nieodwracalne"
  15715. -
  15716. -#~ msgid "Simplified to: "
  15717. -#~ msgstr "Uproszczone do: "
  15718. -
  15719. -#~ msgid "UNACHIEVABLE recoding!\n"
  15720. -#~ msgstr "NIEOSI¡GALNE przekodowanie!\n"
  15721. -
  15722. -#~ msgid "You may not explicitly recode from RFC 1345"
  15723. -#~ msgstr "Nie ma potrzebt ¶cis³ego przekodowania z RFC 1345"
  15724. -
  15725. -#~ msgid " -o, --sequence=popen same as -i (on this system)\n"
  15726. -#~ msgstr " -o, --sequence=popen identyczne jak -i (w tym systemie)\n"
  15727. -
  15728. -#~ msgid ""
  15729. -#~ " -o, --sequence=popen use popen machinery for sequencing passes\n"
  15730. -#~ msgstr ""
  15731. -#~ " -o, --sequence=popen u¿ycie techniki popen w przebiegach sekwencyjnych\n"
  15732. -
  15733. -#~ msgid ""
  15734. -#~ " -q, --quiet, --silent inhibit messages about irreversible recodings\n"
  15735. -#~ " -s, --strict use strict mappings, even loose characters\n"
  15736. -#~ " -t, --touch touch the recoded files after replacement\n"
  15737. -#~ " -v, --verbose explain sequence of steps and report progress\n"
  15738. -#~ " -x, --ignore=CHARSET ignore CHARSET while choosing a recoding path\n"
  15739. -#~ "\n"
  15740. -#~ "If none of -i, -o and -p are given, presume -p if no FILE, else -i.\n"
  15741. -#~ "Each FILE is recoded over itself, destroying the original. If no\n"
  15742. -#~ "FILE is specified, then act as a filter and recode stdin to stdout.\n"
  15743. -#~ msgstr ""
  15744. -#~ " -q, --quiet, --silent blokuj komunikaty o nieodwracalnych konwersjach\n"
  15745. -#~ " -s, --strict u¿ywaj ¶cis³ych odwzorowañ, nawet dla w±tpliwych "
  15746. -#~ "znaków\n"
  15747. -#~ " -t, --touch uaktualnij datê przekodowanego, podstawionego "
  15748. -#~ "pliku\n"
  15749. -#~ " -v, --verbose pokazuj kolejne kroki i postêp konwersji\n"
  15750. -#~ " -x, --ignore=ZESTAW ignoruj ZESTAW znaków przy wyborze konwersji\n"
  15751. -#~ "\n"
  15752. -#~ "Je¶li nie wybrano ¿adnej z opcji -i, -o lub -p, i nie ma agumentu PLIK,\n"
  15753. -#~ "domy¶lnie przyjmowana jest opcja -p, w przeciwnym wypadku -i. Ka¿dy PLIK\n"
  15754. -#~ "po konwersji jest zapisywany pod t± sam± nazw±, z usuniêciem orygina³u.\n"
  15755. -#~ "Je¶li brak PLIKu, recode dzia³a jak filtr i konwertuje z stdin na stdout.\n"
  15756. -
  15757. -#~ msgid "BEFORE and AFTER both default to `%s' when needed.\n"
  15758. -#~ msgstr "PRZED i PO w razie potrzeby s± ustawiane domy¶lnie na `%s'.\n"
  15759. -
  15760. -#~ msgid ""
  15761. -#~ "Mandatory or optional arguments to long options are mandatory or optional\n"
  15762. -#~ "for short options too.\n"
  15763. -#~ "\n"
  15764. -#~ " -C, --copyright display Copyright and copying conditions\n"
  15765. -#~ " -a, --auto-check report about some or all recoding paths, then exit\n"
  15766. -#~ " -l, --list[=FORMAT] list one or all known charsets\n"
  15767. -#~ " -k, --known=PAIRS restrict charsets according to known PAIRS list\n"
  15768. -#~ " --help display this help and exit\n"
  15769. -#~ " --version output version information and exit\n"
  15770. -#~ "\n"
  15771. -#~ "FORMAT is a word among decimal, octal, hexadecimal or full (which may be\n"
  15772. -#~ "abbreviated to one of `dohf'), it defaults to just the canonical name.\n"
  15773. -#~ "With -k, possible before charsets are listed for the given after CHARSET,\n"
  15774. -#~ "both being RFC1345 charsets, with PAIRS of the form "
  15775. -#~ "`BEF1:AFT1,BEF2:AFT2,...\n"
  15776. -#~ "and BEFs and AFTs being codes. All codes are given as decimal numbers.\n"
  15777. -#~ msgstr ""
  15778. -#~ "Obowi±zkowe lub opcjonalne argumenty d³ugich form opcji maj± tak± sam±\n"
  15779. -#~ "postaæ dla krótkich form.\n"
  15780. -#~ "\n"
  15781. -#~ " -C, --copyright wy¶wietl informacje licencyjne i warunki kopiowania\n"
  15782. -#~ " -a, --auto-check wy¶wietl ¶cie¿ki konwersji i zakoñcz pracê\n"
  15783. -#~ " -l, --list[=FORMAT] wy¶wietl znane zestawy znaków\n"
  15784. -#~ " -k, --known=PARY ogranicz zestawy znaków wg. podanych PAR\n"
  15785. -#~ " --help wy¶wietl ten tekst pomocy i zakoñcz pracê\n"
  15786. -#~ " --version wy¶wietl wersjê programu i zakoñcz pracê\n"
  15787. -#~ "\n"
  15788. -#~ "FORMAT jest jednym z: decimal, octal, hexadecimal oraz full (skróty: dohf)\n"
  15789. -#~ "Domy¶lnie wy¶wietlane s± tylko nazwy kanoniczne wszystkich standardów.\n"
  15790. -#~ "Dla opcjê -k podaje siê dla danego zestawu PO pary decymalnych kodów znaków\n"
  15791. -#~ "z zestawów RFC1345, postaci: PRZED1:PO2,PRZED2:PO2,...\n"
  15792. -
  15793. -#~ msgid ""
  15794. -#~ "Option -l with no FORMAT nor CHARSET list all charsets, also see the "
  15795. -#~ "Texinfo\n"
  15796. -#~ "documentation. My preferred charsets are (each user has preferences):\n"
  15797. -#~ "\n"
  15798. -#~ " ascii-bs ASCII (7-bit), using backspace to apply diacritics\n"
  15799. -#~ " ibmpc IBM-PC 8-bit characters, with proper newlines\n"
  15800. -#~ " latex LaTeX coding of foreign and diacriticized characters\n"
  15801. -#~ " latin1 ISO Latin-1 8-bit extension of ASCII\n"
  15802. -#~ " texte Easy French convention for transmitting email messages\n"
  15803. -#~ msgstr ""
  15804. -#~ "Opcja -l bez podania FORMATu i ZESTAWu wy¶wietla listê wszystkich zestawów\n"
  15805. -#~ "(szczegó³y w dokumentacji). Ulubione zestawy Autora to:\n"
  15806. -#~ "\n"
  15807. -#~ " ascii-bs ASCII (7-bitowy), znak BS u¿ywany do dodawania ogonków\n"
  15808. -#~ " ibmpc IBM-PC 8-bitowe znaki, z odpowiednimi znakami nowej linii\n"
  15809. -#~ " latex kodowanie znaków diakrytycznych w formacie LaTeXa\n"
  15810. -#~ " latin1 ISO Latin-1 8-bitowe rozszerzenie ASCII\n"
  15811. -#~ " texte popularny francuski standard stosowany w emailu\n"
  15812. -
  15813. -#~ msgid ""
  15814. -#~ "\n"
  15815. -#~ " -c, --colons use colons instead of double quotes for diaeresis\n"
  15816. -#~ " -d, --diacritics limit conversion to diacritics or alike for LaTeX\n"
  15817. -#~ " -f, --force force recodings even if they are not reversible\n"
  15818. -#~ " (BEWARE: in this version, -f is always selected)\n"
  15819. -#~ " -g, --graphics approximate IBMPC rulers by ASCII graphics\n"
  15820. -#~ " -h, --header[=NAME] write C code with table NAME on stdout, then exit\n"
  15821. -#~ " -i, --sequence=files use intermediate files for sequencing passes\n"
  15822. -#~ msgstr ""
  15823. -#~ "\n"
  15824. -#~ " -c, --colons u¿ywaj dwukropków zamiast cudzys³owów\n"
  15825. -#~ " -d, --diacritics ogranicz konwersjê do zn. diakryt. itp. dla "
  15826. -#~ "LaTeXa\n"
  15827. -#~ " -f, --force wymuszaj konwersje, nawet je¶li s± nieodwracalne\n"
  15828. -#~ " (UWAGA: w tej wersji -f zawsze obowi±zuje)\n"
  15829. -#~ " -g, --graphics przybli¿aj ramki IBMPC za pomoc± znaków ASCII\n"
  15830. -#~ " -h, --header[=NAZWA] wypisz zestaw NAZWA w postaci kodu C na stdout\n"
  15831. -#~ " -i, --sequence=pliki u¿ywaj plików po¶rednich do przebiegów "
  15832. -#~ "sekwencyjnych\n"
  15833. -
  15834. -#~ msgid ""
  15835. -#~ "\n"
  15836. -#~ "Usage: %s [OPTION]... [BEFORE]:[AFTER] [FILE]...\n"
  15837. -#~ msgstr ""
  15838. -#~ "\n"
  15839. -#~ "Sk³adnia: %s [OPCJA]... [PRZED]:[PO] [PLIK]...\n"
  15840. -
  15841. -#~ msgid "many to many"
  15842. -#~ msgstr "wiele na wiele"
  15843. -
  15844. -#~ msgid "many to one"
  15845. -#~ msgstr "wiele na jeden"
  15846. -
  15847. -#~ msgid "one to many"
  15848. -#~ msgstr "jeden na wiele"
  15849. -
  15850. -#~ msgid "one to one"
  15851. -#~ msgstr "jeden na jeden"
  15852. -
  15853. -#~ msgid "steps: %d"
  15854. -#~ msgstr "kroków: %d"
  15855. --- recode-3.6.orig/i18n/it.po
  15856. +++ recode-3.6/i18n/it.po
  15857. @@ -1,6 +1,6 @@
  15858. -# MESSAGGI IN ITALIANO PER GNU RECODE.
  15859. -# Copyright (C) 1999 Free Software Foundation, Inc.
  15860. -# Lorenzo Cappelletti <L.Cappelletti@POBoxes.com>, 1999.
  15861. +# PO FILE FOR GNU'S RECODE.
  15862. +# Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc.
  15863. +# Lorenzo Cappelletti <L.Cappelletti@mail.com>, 1999, 2000, 2001.
  15864. #
  15865. # table -> tabella
  15866. # character set -> insieme di caratteri
  15867. @@ -10,11 +10,11 @@
  15868. #
  15869. msgid ""
  15870. msgstr ""
  15871. -"Project-Id-Version: GNU recode 3.5\n"
  15872. +"Project-Id-Version: GNU recode 3.6\n"
  15873. "POT-Creation-Date: 2001-01-02 22:35+0100\n"
  15874. -"PO-Revision-Date: 1999-11-19 23:30+01:00\n"
  15875. -"Last-Translator: Lorenzo Cappelletti <L.Cappelletti@POBoxes.com>\n"
  15876. -"Language-Team: Italian <it@li.org>\n"
  15877. +"PO-Revision-Date: 2001-07-01 09:41+02:00\n"
  15878. +"Last-Translator: Lorenzo Cappelletti <L.Cappelletti@mail.com>\n"
  15879. +"Language-Team: Italian <tp@lists.linux.it>\n"
  15880. "MIME-Version: 1.0\n"
  15881. "Content-Type: text/plain; charset=ISO-8859-1\n"
  15882. "Content-Transfer-Encoding: 8-bit\n"
  15883. @@ -86,22 +86,16 @@
  15884. msgid "Try `%s %s' for more information.\n"
  15885. msgstr "Usare `%s %s' per ulteriori informazioni.\n"
  15886. -# Libero `recode' non mi piace
  15887. -# Cosa sono le surfaces in questo contesto?
  15888. +# I dislike "Libero `recode'" as tranlation
  15889. +# What does surface mean in this context?
  15890. #: src/main.c:237
  15891. -msgid ""
  15892. -"Free `recode' converts files between various character sets and surfaces.\n"
  15893. -msgstr ""
  15894. -"`recode' gratuito converte file fra vari insiemi di caratteri e surface.\n"
  15895. +msgid "Free `recode' converts files between various character sets and surfaces.\n"
  15896. +msgstr "`recode' gratuito converte file fra vari insiemi di caratteri e surface.\n"
  15897. #: src/main.c:241
  15898. #, c-format
  15899. -msgid ""
  15900. -"\n"
  15901. -"Usage: %s [OPTION]... [ [CHARSET] | REQUEST [FILE]... ]\n"
  15902. -msgstr ""
  15903. -"\n"
  15904. -"Uso: %s [OPZIONI]... [ [CHARSET] | RICHIESTA [FILE]... ]\n"
  15905. +msgid "\nUsage: %s [OPTION]... [ [CHARSET] | REQUEST [FILE]... ]\n"
  15906. +msgstr "\nUso: %s [OPZIONI]... [ [CHARSET] | RICHIESTA [FILE]... ]\n"
  15907. #: src/main.c:244
  15908. msgid ""
  15909. @@ -115,13 +109,11 @@
  15910. "opzionali.\n"
  15911. #: src/main.c:250
  15912. -#, fuzzy
  15913. msgid ""
  15914. "\n"
  15915. "Listings:\n"
  15916. " -l, --list[=FORMAT] list one or all known charsets and aliases\n"
  15917. -" -k, --known=PAIRS restrict charsets according to known PAIRS "
  15918. -"list\n"
  15919. +" -k, --known=PAIRS restrict charsets according to known PAIRS list\n"
  15920. " -h, --header[=[LN/]NAME] write table NAME on stdout using LN, then exit\n"
  15921. " -F, --freeze-tables write out a C module holding all tables\n"
  15922. " -T, --find-subsets report all charsets being subset of others\n"
  15923. @@ -131,16 +123,14 @@
  15924. msgstr ""
  15925. "\n"
  15926. "Elenchi:\n"
  15927. -" -l, --list[=FORMATO] lista uno o tutti i charset conosciuti\n"
  15928. -" -k, --known=COPPIE restringe i charset secondo le COPPIE "
  15929. -"conosciute\n"
  15930. +" -l, --list[=FORMATO] lista uno o tutti i charset e alias conosciuti\n"
  15931. +" -k, --known=COPPIE restringe i charset secondo le COPPIE conosciute\n"
  15932. " -h, --header[=[LN/]NOME] scrive la tabella NOME sullo stdout usando LN,\n"
  15933. -" poi esce\n"
  15934. -" -F, --freeze-tables riporta un modulo C contenente tutte le "
  15935. -"tabelle\n"
  15936. +" quindi esce\n"
  15937. +" -F, --freeze-tables riporta un modulo C contenente tutte le tabelle\n"
  15938. " -T, --find-subsets riporta tutti i charset sottoinsiemi di altri\n"
  15939. -" -C, --copyright mostra le condizioni del Copyright e "
  15940. -"riproduzione\n"
  15941. +" charset\n"
  15942. +" -C, --copyright mostra le condizioni di Copyright e riproduzione\n"
  15943. " --help mostra questo aiuto ed esce\n"
  15944. " --version informazioni sulla versione ed uscita\n"
  15945. @@ -157,8 +147,7 @@
  15946. msgstr ""
  15947. "\n"
  15948. "Modi operativi:\n"
  15949. -" -v, --verbose spiega le sequenze dei passi e riporta i "
  15950. -"progressi\n"
  15951. +" -v, --verbose spiega le sequenze dei passi e riporta i progressi\n"
  15952. " -q, --quiet, --silent inibisce i messaggi di ricodifiche inreversibili\n"
  15953. " -f, --force forza le ricodifiche anche quando non reversibili\n"
  15954. " -t, --touch touch dei file ricodificati dopo la sostituzione\n"
  15955. @@ -167,8 +156,7 @@
  15956. #: src/main.c:275
  15957. msgid " -p, --sequence=pipe use pipe machinery for sequencing passes\n"
  15958. -msgstr ""
  15959. -" -p, --sequence=pipe usa il sistema dei pipe per i passi sequenziali\n"
  15960. +msgstr " -p, --sequence=pipe usa il sistema dei pipe per i passi sequenziali\n"
  15961. #: src/main.c:280
  15962. msgid " -p, --sequence=pipe same as -i (on this system)\n"
  15963. @@ -187,17 +175,12 @@
  15964. msgstr ""
  15965. "\n"
  15966. "Regolazioni fini:\n"
  15967. -" -s, --strict usa mappature strettamente conformi, anche con "
  15968. -"caratteri slegati\n"
  15969. -" -d, --diacritics converte solo segni diacritici o simili per "
  15970. -"HTML/LaTeX\n"
  15971. -" -S, --source[=LN] limita la ricodifica a stringhe e commenti come per "
  15972. -"LN\n"
  15973. -" -c, --colons usa i due punti al posto delle virgolette per le "
  15974. -"dieresi\n"
  15975. +" -s, --strict usa mappature strettamente conformi, anche con caratteri slegati\n"
  15976. +" -d, --diacritics converte solo segni diacritici o simili per HTML/LaTeX\n"
  15977. +" -S, --source[=LN] limita la ricodifica a stringhe e commenti come per LN\n"
  15978. +" -c, --colons usa i due punti al posto delle virgolette per le dieresi\n"
  15979. " -g, --graphics approssima le regole IBMPC con grafica ASCII\n"
  15980. -" -x, --ignore=CHARSET ignora CHARSET quando sceglie un percorso di "
  15981. -"ricodifica\n"
  15982. +" -x, --ignore=CHARSET ignora CHARSET quando sceglie un percorso di ricodifica\n"
  15983. #: src/main.c:296
  15984. msgid ""
  15985. @@ -211,46 +194,33 @@
  15986. "`esadecimale'(h) o `pieno'(f) (oppure uno tra `dohf').\n"
  15987. #: src/main.c:302
  15988. -#, fuzzy
  15989. msgid ""
  15990. -"Unless DEFAULT_CHARSET is set in environment, CHARSET defaults to the "
  15991. -"locale\n"
  15992. +"Unless DEFAULT_CHARSET is set in environment, CHARSET defaults to the locale\n"
  15993. "dependent encoding, determined by LC_ALL, LC_CTYPE, LANG.\n"
  15994. -msgstr ""
  15995. -"Se DEFAULT_CHARSET non è specificato nell'ambiente, il CHARSET predefinito\n"
  15996. -"è `%s`.\n"
  15997. +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"
  15998. -# Non riesco assolutamente a capire la costruzione logica di questa frase
  15999. +# I am not able to understand the logical structure of this sentence.
  16000. #: src/main.c:307
  16001. msgid ""
  16002. "With -k, possible before charsets are listed for the given after CHARSET,\n"
  16003. -"both being tabular charsets, with PAIRS of the form "
  16004. -"`BEF1:AFT1,BEF2:AFT2,...'\n"
  16005. +"both being tabular charsets, with PAIRS of the form `BEF1:AFT1,BEF2:AFT2,...'\n"
  16006. "and BEFs and AFTs being codes are given as decimal numbers.\n"
  16007. msgstr ""
  16008. -"Con -k, possibile prima, charset vengono listati per quelli dati dopo "
  16009. -"CHARSET,\n"
  16010. -"entrambi essendo charset tabulari, con COPPIE nella foram "
  16011. -"`BEF1:AFT1,BEF2:AFT2,...',\n"
  16012. +"Con -k, possibile prima, charset vengono listati per quelli dati dopo CHARSET,\n"
  16013. +"entrambi essendo charset tabulari, con COPPIE nella foram `BEF1:AFT1,BEF2:AFT2,...',\n"
  16014. "dove BEF e AFT sono codici forniti come numeri decimali.\n"
  16015. #: src/main.c:312
  16016. -msgid ""
  16017. -"LN is some language, it may be `c', `perl' or `po'; `c' is the default.\n"
  16018. -msgstr ""
  16019. -"LN è qualche lingua, può essere `c', `perl' o `po'; quella predefinita è "
  16020. -"`c'.\n"
  16021. +msgid "LN is some language, it may be `c', `perl' or `po'; `c' is the default.\n"
  16022. +msgstr "LN è qualche lingua, può essere `c', `perl' o `po'; quella predefinita è `c'.\n"
  16023. #: src/main.c:315
  16024. msgid ""
  16025. "\n"
  16026. -"REQUEST is SUBREQUEST[,SUBREQUEST]...; SUBREQUEST is "
  16027. -"ENCODING[..ENCODING]...\n"
  16028. -"ENCODING is [CHARSET][/[SURFACE]]...; REQUEST often looks like "
  16029. -"BEFORE..AFTER,\n"
  16030. +"REQUEST is SUBREQUEST[,SUBREQUEST]...; SUBREQUEST is ENCODING[..ENCODING]...\n"
  16031. +"ENCODING is [CHARSET][/[SURFACE]]...; REQUEST often looks like BEFORE..AFTER,\n"
  16032. "with BEFORE and AFTER being charsets. An omitted CHARSET implies the usual\n"
  16033. -"charset; an omitted [/SURFACE]... means the implied surfaces for CHARSET; a "
  16034. -"/\n"
  16035. +"charset; an omitted [/SURFACE]... means the implied surfaces for CHARSET; a /\n"
  16036. "with an empty surface name means no surfaces at all. See the manual.\n"
  16037. msgstr ""
  16038. "\n"
  16039. @@ -269,66 +239,53 @@
  16040. "FILE is specified, then act as a filter and recode stdin to stdout.\n"
  16041. msgstr ""
  16042. "\n"
  16043. -"Se non è dato -i né -p, si presume -p se FILE non è presente, altrimenti "
  16044. -"-i.\n"
  16045. -"Ogni FILE è ricodificato su se stesso, ditruggendo l'originale. Se non "
  16046. -"viene\n"
  16047. +"Se non è dato -i né -p, si presume -p se FILE non è presente, altrimenti -i.\n"
  16048. +"Ogni FILE è ricodificato su se stesso, ditruggendo l'originale. Se non viene\n"
  16049. "specificato nessun FILE, allora si comporta come un filtro ricodificando lo\n"
  16050. "stdin sullo stdout.\n"
  16051. #: src/main.c:329
  16052. -msgid ""
  16053. -"\n"
  16054. -"Report bugs to <recode-bugs@iro.umontreal.ca>.\n"
  16055. -msgstr ""
  16056. -"\n"
  16057. -"Segnalare i bug a <recode-bugs@iro.umontreal.ca>.\n"
  16058. +msgid "\nReport bugs to <recode-bugs@iro.umontreal.ca>.\n"
  16059. +msgstr "\nSegnalare i bug a <recode-bugs@iro.umontreal.ca>.\n"
  16060. #: src/main.c:430
  16061. #, c-format
  16062. msgid "Sequence `%s' is ambiguous"
  16063. -msgstr ""
  16064. +msgstr "La sequenza `%s' è ambigua"
  16065. #: src/main.c:434
  16066. #, c-format
  16067. msgid "Sequence `%s' is unknown"
  16068. -msgstr ""
  16069. +msgstr "La sequenza `%s' è sconosciuta"
  16070. #: src/main.c:464 src/main.c:522
  16071. #, c-format
  16072. msgid "Language `%s' is ambiguous"
  16073. -msgstr ""
  16074. +msgstr "Il linguaggio `%s' è ambiguo"
  16075. #. -1
  16076. #: src/main.c:468 src/main.c:526
  16077. #, c-format
  16078. msgid "Language `%s' is unknown"
  16079. -msgstr ""
  16080. +msgstr "Il linguaggio `%s' è sconosciuto"
  16081. #: src/main.c:560
  16082. #, c-format
  16083. msgid "Format `%s' is ambiguous"
  16084. -msgstr ""
  16085. +msgstr "Il formato `%s' è ambiguo"
  16086. #: src/main.c:564
  16087. #, c-format
  16088. msgid "Format `%s' is unknown"
  16089. -msgstr ""
  16090. +msgstr "Il formato `%s' è sconosciuto"
  16091. #: src/main.c:621
  16092. -#, fuzzy
  16093. msgid "Written by Franc,ois Pinard <pinard@iro.umontreal.ca>.\n"
  16094. -msgstr ""
  16095. -"\n"
  16096. -"Scritto da Franc,ois Pinard <pinard@iro.umontreal.ca>.\n"
  16097. +msgstr "Scritto da Franc,ois Pinard <pinard@iro.umontreal.ca>.\n"
  16098. #: src/main.c:624
  16099. -msgid ""
  16100. -"\n"
  16101. -"Copyright (C) 1990, 92, 93, 94, 96, 97, 99 Free Software Foundation, Inc.\n"
  16102. -msgstr ""
  16103. -"\n"
  16104. -"Copyright (C) 1990, 92, 93, 94, 96, 97, 99 Free Software Foundation, Inc.\n"
  16105. +msgid "\nCopyright (C) 1990, 92, 93, 94, 96, 97, 99 Free Software Foundation, Inc.\n"
  16106. +msgstr "\nCopyright (C) 1990, 92, 93, 94, 96, 97, 99 Free Software Foundation, Inc.\n"
  16107. #: src/main.c:628
  16108. msgid ""
  16109. @@ -342,26 +299,26 @@
  16110. #: src/main.c:669
  16111. #, c-format
  16112. msgid "Symbol `%s' is unknown"
  16113. -msgstr ""
  16114. +msgstr "Il simbolo `%s' è sconosciuto"
  16115. #: src/main.c:709 src/main.c:723
  16116. #, c-format
  16117. msgid "Charset `%s' is unknown or ambiguous"
  16118. -msgstr ""
  16119. +msgstr "Il charset `%s' è sconosciuto o ambiguo"
  16120. #: src/main.c:754
  16121. msgid "Required argument is missing"
  16122. -msgstr ""
  16123. +msgstr "Manca un argomento indispensabile"
  16124. #: src/main.c:797
  16125. -#, fuzzy, c-format
  16126. +#, c-format
  16127. msgid "Syntax is deprecated, please prefer `%s'"
  16128. -msgstr "Sintassi sconsigliata, si preferisca `%s'"
  16129. +msgstr "La sintassi è sconsigliata, si preferisca `%s'"
  16130. #: src/main.c:803
  16131. #, c-format
  16132. msgid "Request `%s' is erroneous"
  16133. -msgstr ""
  16134. +msgstr "La richiesta `%s' è errata"
  16135. #: src/main.c:903
  16136. #, c-format
  16137. @@ -373,19 +330,19 @@
  16138. msgstr " fatto\n"
  16139. #: src/main.c:954
  16140. -#, fuzzy, c-format
  16141. +#, c-format
  16142. msgid " failed: %s in step `%s..%s'\n"
  16143. -msgstr " fallito: %s in %s..%s\n"
  16144. +msgstr " fallito: %s al passo `%s..%s'\n"
  16145. #: src/main.c:961
  16146. -#, fuzzy, c-format
  16147. +#, c-format
  16148. msgid "%s failed: %s in step `%s..%s'"
  16149. -msgstr "%s fallito: %s in %s..%s"
  16150. +msgstr "%s fallito: %s al passo `%s..%s'"
  16151. #: src/main.c:984
  16152. -#, fuzzy, c-format
  16153. +#, c-format
  16154. msgid "%s in step `%s..%s'"
  16155. -msgstr "%s in %s..%s"
  16156. +msgstr "%s al passo `%s..%s'"
  16157. #: src/names.c:335
  16158. #, c-format
  16159. @@ -426,12 +383,12 @@
  16160. msgstr "Memoria virtuale esaurita"
  16161. #: src/recode.c:155
  16162. -#, c-format, ycp-format
  16163. +#, c-format
  16164. msgid "Codes %3d and %3d both recode to %3d"
  16165. msgstr "Entrambi i codici %3d e %3d si ricodificano in %3d"
  16166. #: src/recode.c:169
  16167. -#, c-format, ycp-format
  16168. +#, c-format
  16169. msgid "No character recodes to %3d"
  16170. msgstr "Nessun carattere si ricodifica in %3d"
  16171. @@ -453,7 +410,6 @@
  16172. msgid "Cannot complete table from set of known pairs"
  16173. msgstr "Impossibile completare la tabella dall'insieme delle coppie conosciute"
  16174. -# Una forma migliore per identity recoding?
  16175. #: src/recode.c:497
  16176. msgid "Identity recoding, not worth a table"
  16177. msgstr "Sto ricodificando nell'identità, tabella non significativa"
  16178. @@ -490,7 +446,7 @@
  16179. msgid "byte"
  16180. msgstr "byte"
  16181. -# Verificare il significato della sigla
  16182. +# Chech out the meaning of the acronym
  16183. #: src/request.c:38 src/request.c:40
  16184. msgid "ucs2"
  16185. msgstr "ucs2"
  16186. @@ -549,14 +505,11 @@
  16187. msgstr "Lo stato di attesa del processo figlio è 0x%0.2x"
  16188. #: src/testdump.c:298
  16189. -msgid ""
  16190. -"UCS2 Mne Description\n"
  16191. -"\n"
  16192. +msgid "UCS2 Mne Description\n\n"
  16193. msgstr "UCS2 Mne Descrizione\n"
  16194. #~ msgid "CHARSET has no default, define DEFAULT_CHARSET in the environment.\n"
  16195. -#~ msgstr ""
  16196. -#~ "Nessun CHARSET predefinito, definire DEFAULT_CHARSET nell'ambiente.\n"
  16197. +#~ msgstr "Nessun CHARSET predefinito, definire DEFAULT_CHARSET nell'ambiente.\n"
  16198. #~ msgid "Ambiguous sequence `%s'"
  16199. #~ msgstr "Sequenza ambigua `%s'"
  16200. --- recode-3.6.orig/i18n/tr.po
  16201. +++ recode-3.6/i18n/tr.po
  16202. @@ -0,0 +1,517 @@
  16203. +# Recode Turkish Translation
  16204. +# Copyright (C) 2002 Free Software Foundation, Inc.
  16205. +# Ä°rfan Macit <imacit@mail.cu.edu.tr>, 2002.
  16206. +#
  16207. +msgid ""
  16208. +msgstr ""
  16209. +"Project-Id-Version: recode 3.6\n"
  16210. +"POT-Creation-Date: 2001-01-02 22:35+0100\n"
  16211. +"PO-Revision-Date: 2002-06-20 11:00EET\n"
  16212. +"Last-Translator: Ä°rfan Macit <imacit@mail.cu.edu.tr>\n"
  16213. +"Language-Team: Turkish <gnu-tr-u12a@lists.sourceforge.net>\n"
  16214. +"MIME-Version: 1.0\n"
  16215. +"Content-Type: text/plain; charset=UTF-8\n"
  16216. +"Content-Transfer-Encoding: 8bit\n"
  16217. +
  16218. +#: src/main.c:142
  16219. +msgid "No error"
  16220. +msgstr "Hata yok"
  16221. +
  16222. +#: src/main.c:145
  16223. +msgid "Non canonical input"
  16224. +msgstr "Ana biçem olmayan girdi"
  16225. +
  16226. +#: src/main.c:148
  16227. +msgid "Ambiguous output"
  16228. +msgstr "Belirsiz çıktı"
  16229. +
  16230. +#: src/main.c:151
  16231. +msgid "Untranslatable input"
  16232. +msgstr "Çevrilemeyen girdi"
  16233. +
  16234. +#: src/main.c:154
  16235. +msgid "Invalid input"
  16236. +msgstr "Geçersiz girdi"
  16237. +
  16238. +#: src/main.c:157
  16239. +msgid "System detected problem"
  16240. +msgstr "Sistem hata buldu"
  16241. +
  16242. +#: src/main.c:160
  16243. +msgid "Misuse of recoding library"
  16244. +msgstr "Yeniden kodlama kitaplığı hatalı kullanılmış"
  16245. +
  16246. +#: src/main.c:163
  16247. +msgid "Internal recoding bug"
  16248. +msgstr "İçsel yeniden kodlama hatası"
  16249. +
  16250. +#: src/main.c:208
  16251. +msgid ""
  16252. +"This program is free software; you can redistribute it and/or modify\n"
  16253. +"it under the terms of the GNU General Public License as published by\n"
  16254. +"the Free Software Foundation; either version 2, or (at your option)\n"
  16255. +"any later version.\n"
  16256. +"\n"
  16257. +"This program is distributed in the hope that it will be useful,\n"
  16258. +"but WITHOUT ANY WARRANTY; without even the implied warranty of\n"
  16259. +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n"
  16260. +"GNU General Public License for more details.\n"
  16261. +"\n"
  16262. +"You should have received a copy of the GNU General Public License\n"
  16263. +"along with this program; if not, write to the Free Software Foundation,\n"
  16264. +"Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n"
  16265. +msgstr ""
  16266. +"Bu bir serbest yazılımdır; Free Software Foundation tarafından yayınlanan\n"
  16267. +"GNU Genel Kamu Lisansı'nın 2. veya (sizin tercihinize bağlı olarak) daha\n"
  16268. +"sonraki bir sürümü altında yeniden dağıtabilir ve/veya değiştirebilirsiniz\n"
  16269. +"\n"
  16270. +"Bu yazılım faydalı olacağı umularak dağıtılmaktadır, fakat\n"
  16271. +"HİÇ BİR GARANTİSİ YOKTUR; SATILABİLİRLİĞİ veya\n"
  16272. +"HERHANGİ BİR AMACA UYGUNLUĞU için dahi zımni bir garanti\n"
  16273. +"içermez. Daha fazla bilgi için GNU Genel Kamu Lisansı'na bakın.\n"
  16274. +"\n"
  16275. +"Bu yazılımla birlikte GNU Genel Kamu Lisansı'nın bir kopyası gelmiş\n"
  16276. +"olmalıdır; eğer yok ise, lütfen Free Software Foundation, Inc., 59 Temple\n"
  16277. +"Place - Suite 330, Boston, MA 02111-1307, USA/ABD adresine yazın.\n"
  16278. +
  16279. +#: src/main.c:233
  16280. +#, c-format
  16281. +msgid "Try `%s %s' for more information.\n"
  16282. +msgstr "Daha fazla bilgi için '%s %s'.\n"
  16283. +
  16284. +#: src/main.c:237
  16285. +msgid "Free `recode' converts files between various character sets and surfaces.\n"
  16286. +msgstr "Serbest `recode', dosyaları değişik karakter kümeleri ve yüzeylere dönüştürür.\n"
  16287. +
  16288. +#: src/main.c:241
  16289. +#, c-format
  16290. +msgid ""
  16291. +"\n"
  16292. +"Usage: %s [OPTION]... [ [CHARSET] | REQUEST [FILE]... ]\n"
  16293. +msgstr ""
  16294. +"\n"
  16295. +"Kullanım: %s [SEÇENEK]...[[KARKÜME] | İSTEK [DOSYA]... ]\n"
  16296. +
  16297. +#: src/main.c:244
  16298. +msgid ""
  16299. +"\n"
  16300. +"If a long option shows an argument as mandatory, then it is mandatory\n"
  16301. +"for the equivalent short option also. Similarly for optional arguments.\n"
  16302. +msgstr ""
  16303. +"\n"
  16304. +"Uzun seçenekler için zorunlu olan argümanlar kısa seçenekler için de\n"
  16305. +"zorunludur. Aynı şey bütün argümanlar için geçerlidir.\n"
  16306. +
  16307. +#: src/main.c:250
  16308. +msgid ""
  16309. +"\n"
  16310. +"Listings:\n"
  16311. +" -l, --list[=FORMAT] list one or all known charsets and aliases\n"
  16312. +" -k, --known=PAIRS restrict charsets according to known PAIRS list\n"
  16313. +" -h, --header[=[LN/]NAME] write table NAME on stdout using LN, then exit\n"
  16314. +" -F, --freeze-tables write out a C module holding all tables\n"
  16315. +" -T, --find-subsets report all charsets being subset of others\n"
  16316. +" -C, --copyright display Copyright and copying conditions\n"
  16317. +" --help display this help and exit\n"
  16318. +" --version output version information and exit\n"
  16319. +msgstr ""
  16320. +"\n"
  16321. +"Seçenekler:\n"
  16322. +" -l, --list[=BİÇEM] bilinen karakter kümeleri ve rumuzların birini ya da hepsini listeler\n"
  16323. +" -k, --known=ÇİFT karakter kümelerini bilinen ÇİFT listesine göre sınırlar.\n"
  16324. +" -h, --header[=[LN/]İSİM] standart çıktıya LN'i kullanarak tablonun İSMİ'ni yazar ve çıkar\n"
  16325. +" -F, --freeze-tables bütün tabloları içeren bir C modülü yazdırır\n"
  16326. +" -T, --find-subsets bir başka kümenin alt kümesi olan bütün karakter kümelerini raporlar\n"
  16327. +" -C, --copyright telif hakkı ve kopyalama koşullarını gösterir\n"
  16328. +" --help bu yardımı gösterir ve çıkar\n"
  16329. +" --version sürüm bilgisini gösterir ve çıkar\n"
  16330. +
  16331. +#: src/main.c:263
  16332. +msgid ""
  16333. +"\n"
  16334. +"Operation modes:\n"
  16335. +" -v, --verbose explain sequence of steps and report progress\n"
  16336. +" -q, --quiet, --silent inhibit messages about irreversible recodings\n"
  16337. +" -f, --force force recodings even when not reversible\n"
  16338. +" -t, --touch touch the recoded files after replacement\n"
  16339. +" -i, --sequence=files use intermediate files for sequencing passes\n"
  16340. +" --sequence=memory use memory buffers for sequencing passes\n"
  16341. +msgstr ""
  16342. +"\n"
  16343. +"Çalışma Kipleri:\n"
  16344. +" -v, --verbose adım sıralarını anlatır ve durum bilgisi gösterir\n"
  16345. +" -q, --quiet, --silent geri dönüşsüz yeniden kodlamalar hakkında bilgi vermez\n"
  16346. +" -f, --force geri dönüşsüz bile olsa yeniden kodlamaları yapar\n"
  16347. +" -t, --touch değişiklikten sonra yeniden kodlanmış dosyalara `touch' uygular\n"
  16348. +" -i, --sequence=files çevrimleri sıralamak için ara dosyalar kullanır\n"
  16349. +" --sequence=memory çevrimleri sıralamak için bellek yastıkları kullanır\n"
  16350. +
  16351. +#: src/main.c:275
  16352. +msgid " -p, --sequence=pipe use pipe machinery for sequencing passes\n"
  16353. +msgstr " -p, --sequence=pipe çevrimleri sıralamak için veriyolu (pipe) kullanır\n"
  16354. +
  16355. +#: src/main.c:280
  16356. +msgid " -p, --sequence=pipe same as -i (on this system)\n"
  16357. +msgstr " -p, --sequence=pipe (bu sistemde) -i ile aynı\n"
  16358. +
  16359. +#: src/main.c:285
  16360. +msgid ""
  16361. +"\n"
  16362. +"Fine tuning:\n"
  16363. +" -s, --strict use strict mappings, even loose characters\n"
  16364. +" -d, --diacritics convert only diacritics or alike for HTML/LaTeX\n"
  16365. +" -S, --source[=LN] limit recoding to strings and comments as for LN\n"
  16366. +" -c, --colons use colons instead of double quotes for diaeresis\n"
  16367. +" -g, --graphics approximate IBMPC rulers by ASCII graphics\n"
  16368. +" -x, --ignore=CHARSET ignore CHARSET while choosing a recoding path\n"
  16369. +msgstr ""
  16370. +"\n"
  16371. +"Ä°nce ayar:\n"
  16372. +" -s, --strict kesin olmayan harflerde bile kesin eşlemeler kullanır\n"
  16373. +" -d, --diacritics HTML/LaTeX için yalnız aksan v.b.'yi yeniden kodlar\n"
  16374. +" -S, --source[=LN] yeniden kodlamayı dizgeler ve LN gibi açıklamalarla sınırlar\n"
  16375. +" -c, --colons ö,ü'nin iki noktası için çift tırnak yerine iki nokta üstüste kullanır\n"
  16376. +" -g, --graphics IBMPC cetvellerini ASCII grafikleriyle deÄŸiÅŸtirir\n"
  16377. +" -x, --ignore=KARKÜME yeniden kodlama seçilirken KARKÜME dikkate alınmaz\n"
  16378. +
  16379. +#: src/main.c:296
  16380. +msgid ""
  16381. +"\n"
  16382. +"Option -l with no FORMAT nor CHARSET list available charsets and surfaces.\n"
  16383. +"FORMAT is `decimal', `octal', `hexadecimal' or `full' (or one of `dohf').\n"
  16384. +msgstr ""
  16385. +"\n"
  16386. +"-l seçeneği, BİÇEM veya KARKÜME verilmezse mevcut karakter kümelerini listeler\n"
  16387. +"BİÇEM, `decimal' (onluk), `octal' (sekizlik), `hexadecimal' (onaltılık), \n"
  16388. +"`full' (tam) veya `dohf' seçeneklerinden birisi olabilir.\n"
  16389. +
  16390. +#: src/main.c:302
  16391. +msgid ""
  16392. +"Unless DEFAULT_CHARSET is set in environment, CHARSET defaults to the locale\n"
  16393. +"dependent encoding, determined by LC_ALL, LC_CTYPE, LANG.\n"
  16394. +msgstr ""
  16395. +"Eğer DEFAULT_CHARSET çevre değişkeni atanmamışsa, KARKÜME yerel\n"
  16396. +"ayarlarına bağlı kodlama olarak atanır ve LC_ALL, LC_CTYPE, LANG çevre\n"
  16397. +"deÄŸiÅŸkenlerinden etkilenir.\n"
  16398. +
  16399. +#: src/main.c:307
  16400. +msgid ""
  16401. +"With -k, possible before charsets are listed for the given after CHARSET,\n"
  16402. +"both being tabular charsets, with PAIRS of the form `BEF1:AFT1,BEF2:AFT2,...'\n"
  16403. +"and BEFs and AFTs being codes are given as decimal numbers.\n"
  16404. +msgstr ""
  16405. +"-k seçeneği ile, dönüşecek karakter kümeleri, dönüştürülecek karakter kümeleri\n"
  16406. +"ile birlikte ÇİFT'ler halinde listelenir: `ÖNC1:SON1,ÖNC2:SON2,...'\n"
  16407. +"ÖNC ve SON karakter kümesi isimleri, ondalık sayı halinde kodlardan oluşur.\n"
  16408. +
  16409. +#: src/main.c:312
  16410. +msgid "LN is some language, it may be `c', `perl' or `po'; `c' is the default.\n"
  16411. +msgstr "LN bir bilgisayar dilidir, `c', `perl' veya `po' olabilir; öntanımlı: `c'\n"
  16412. +
  16413. +#: src/main.c:315
  16414. +msgid ""
  16415. +"\n"
  16416. +"REQUEST is SUBREQUEST[,SUBREQUEST]...; SUBREQUEST is ENCODING[..ENCODING]...\n"
  16417. +"ENCODING is [CHARSET][/[SURFACE]]...; REQUEST often looks like BEFORE..AFTER,\n"
  16418. +"with BEFORE and AFTER being charsets. An omitted CHARSET implies the usual\n"
  16419. +"charset; an omitted [/SURFACE]... means the implied surfaces for CHARSET; a /\n"
  16420. +"with an empty surface name means no surfaces at all. See the manual.\n"
  16421. +msgstr ""
  16422. +"\n"
  16423. +"Ä°STEK: ALTÄ°STEK,[ALTÄ°STEK]...; ALTÄ°STEK ise KODLAMA[..KODLAMA]...\n"
  16424. +"KODLAMA: [KARKÜME][/YÜZEY]]...; İSTEK genelde ÖNCE..SONRA\n"
  16425. +"biçeminde olur, ÖNCE ve SONRA karakter kümeleridir. Belirtilmemiş bir\n"
  16426. +"karakter kümesi öntanımlı karakter kümesinin kullanılacağına işaret eder.\n"
  16427. +"Belirtilmemiş [/YÜZEY]..., o KARKÜME için öntanımlı yüzeyin kullanılacağına\n"
  16428. +"işaret eder. Yalnız / kullanılır ve yüzey belirtilmezse, hiç yüzey kullanılmaz.\n"
  16429. +"Lütfen el kitabını inceleyin.\n"
  16430. +
  16431. +#: src/main.c:323
  16432. +msgid ""
  16433. +"\n"
  16434. +"If none of -i and -p are given, presume -p if no FILE, else -i.\n"
  16435. +"Each FILE is recoded over itself, destroying the original. If no\n"
  16436. +"FILE is specified, then act as a filter and recode stdin to stdout.\n"
  16437. +msgstr ""
  16438. +"\n"
  16439. +"Eğer -i ve -p'nin hiç birisi verilmemiş ve DOSYA yok ise, -p, aksi\n"
  16440. +"halde -i varsayılır. Her DOSYA kendi üstüne yeniden kodlanır ve orjinali\n"
  16441. +"yok edilir. Eğer DOSYA verilmemişse, bir filtre görevi yapar ve standart\n"
  16442. +"girdiyi, standart çıktıya yeniden kodlar.\n"
  16443. +
  16444. +#: src/main.c:329
  16445. +msgid ""
  16446. +"\n"
  16447. +"Report bugs to <recode-bugs@iro.umontreal.ca>.\n"
  16448. +msgstr ""
  16449. +"\n"
  16450. +"Yazılım hatalarını <recode-bugs@iro.umontreal.ca> adresine,\n"
  16451. +"Çeviri hatalarını <gnu-tr-u12a@lists.sourceforge.net> adresine yollayın.\n"
  16452. +
  16453. +#: src/main.c:430
  16454. +#, c-format
  16455. +msgid "Sequence `%s' is ambiguous"
  16456. +msgstr "`%s' sırası belirsiz"
  16457. +
  16458. +#: src/main.c:434
  16459. +#, c-format
  16460. +msgid "Sequence `%s' is unknown"
  16461. +msgstr "`%s' sırası bilinmiyor"
  16462. +
  16463. +#: src/main.c:464 src/main.c:522
  16464. +#, c-format
  16465. +msgid "Language `%s' is ambiguous"
  16466. +msgstr "`%s' dili belirsiz"
  16467. +
  16468. +#. -1
  16469. +#: src/main.c:468 src/main.c:526
  16470. +#, c-format
  16471. +msgid "Language `%s' is unknown"
  16472. +msgstr "`%s' dili bilinmiyor"
  16473. +
  16474. +#: src/main.c:560
  16475. +#, c-format
  16476. +msgid "Format `%s' is ambiguous"
  16477. +msgstr "`%s' biçemi belirsiz"
  16478. +
  16479. +#: src/main.c:564
  16480. +#, c-format
  16481. +msgid "Format `%s' is unknown"
  16482. +msgstr "`%s' biçemi bilinmiyor"
  16483. +
  16484. +#: src/main.c:621
  16485. +msgid "Written by Franc,ois Pinard <pinard@iro.umontreal.ca>.\n"
  16486. +msgstr "Yazan: François Pinard <pinard@iro.umontreal.ca>.\n"
  16487. +
  16488. +#: src/main.c:624
  16489. +msgid ""
  16490. +"\n"
  16491. +"Copyright (C) 1990, 92, 93, 94, 96, 97, 99 Free Software Foundation, Inc.\n"
  16492. +msgstr ""
  16493. +"\n"
  16494. +"Telif Hakkı (C) 1990, 92, 93, 94, 96, 97, 99 Free Software Foundation, Inc.\n"
  16495. +
  16496. +#: src/main.c:628
  16497. +msgid ""
  16498. +"This is free software; see the source for copying conditions. There is NO\n"
  16499. +"warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n"
  16500. +msgstr ""
  16501. +"Bu bir serbest yazılımdır; kopyalama koşulları için kaynak koduna bakınız.\n"
  16502. +"HİÇ BİR GARANTİSİ YOKTUR; SATILABİLİRLİĞİ veya\n"
  16503. +"HERHANGİ BİR AMACA UYGUNLUĞU için dahi zımni bir garanti\n"
  16504. +"içermez.\n"
  16505. +
  16506. +#: src/main.c:669
  16507. +#, c-format
  16508. +msgid "Symbol `%s' is unknown"
  16509. +msgstr "`%s' sembolü bilinmiyor"
  16510. +
  16511. +#: src/main.c:709 src/main.c:723
  16512. +#, c-format
  16513. +msgid "Charset `%s' is unknown or ambiguous"
  16514. +msgstr "`%s' karakter kümesi bilinmiyor veya belirsiz"
  16515. +
  16516. +#: src/main.c:754
  16517. +msgid "Required argument is missing"
  16518. +msgstr "Zorunlu argüman eksik"
  16519. +
  16520. +#: src/main.c:797
  16521. +#, c-format
  16522. +msgid "Syntax is deprecated, please prefer `%s'"
  16523. +msgstr "Biçem eski, lütfen `%s'i tercih edin"
  16524. +
  16525. +#: src/main.c:803
  16526. +#, c-format
  16527. +msgid "Request `%s' is erroneous"
  16528. +msgstr "`%s' isteği hatalı"
  16529. +
  16530. +#: src/main.c:903
  16531. +#, c-format
  16532. +msgid "Recoding %s..."
  16533. +msgstr "%s yeniden kodlanıyor..."
  16534. +
  16535. +#: src/main.c:913
  16536. +msgid " done\n"
  16537. +msgstr " bitti\n"
  16538. +
  16539. +#: src/main.c:954
  16540. +#, c-format
  16541. +msgid " failed: %s in step `%s..%s'\n"
  16542. +msgstr "başarısız: `%2$s..%3$s' adımında %1$s\n"
  16543. +
  16544. +#: src/main.c:961
  16545. +#, c-format
  16546. +msgid "%s failed: %s in step `%s..%s'"
  16547. +msgstr "%1$s başarısız: `%3$s..%4$s' adımında %2$s"
  16548. +
  16549. +#: src/main.c:984
  16550. +#, c-format
  16551. +msgid "%s in step `%s..%s'"
  16552. +msgstr "`%2$s..%3$s' adımında %1$s"
  16553. +
  16554. +#: src/names.c:335
  16555. +#, c-format
  16556. +msgid "Charset %s already exists and is not %s"
  16557. +msgstr "%s karakter kümesi zaten mevcut ve %s değil"
  16558. +
  16559. +#: src/names.c:831
  16560. +#, c-format
  16561. +msgid "Cannot list `%s', no names available for this charset"
  16562. +msgstr "`%s' listelenemiyor, bu karakter kümesi için isim yok"
  16563. +
  16564. +#. code counter
  16565. +#. expected value for code counter
  16566. +#. insert a while line before printing
  16567. +#. Print the long table according to explode data.
  16568. +#: src/names.c:984 src/names.c:1030
  16569. +#, c-format
  16570. +msgid "Dec Oct Hex UCS2 Mne %s\n"
  16571. +msgstr "Ond Sek OnaltıUCS2 Mne %s\n"
  16572. +
  16573. +#: src/names.c:1049
  16574. +#, c-format
  16575. +msgid "Sorry, no names available for `%s'"
  16576. +msgstr "`%s' için hiç isim mevcut değil"
  16577. +
  16578. +#: src/outer.c:125
  16579. +#, c-format
  16580. +msgid "Resurfacer set more than once for `%s'"
  16581. +msgstr "`%s' için yüzeyleyici birden fazla defa atanmış"
  16582. +
  16583. +#: src/outer.c:133
  16584. +#, c-format
  16585. +msgid "Unsurfacer set more than once for `%s'"
  16586. +msgstr "`%s' için yüzey yokedici birden fazla defa atanmış"
  16587. +
  16588. +#: src/recode.c:115 src/recode.c:127
  16589. +msgid "Virtual memory exhausted"
  16590. +msgstr "Sanal bellek tükendi"
  16591. +
  16592. +#: src/recode.c:155
  16593. +#, c-format, ycp-format
  16594. +msgid "Codes %3d and %3d both recode to %3d"
  16595. +msgstr "%3d ve %3d kodlarının ikisi de %3d'ye yeniden kodluyor"
  16596. +
  16597. +#: src/recode.c:169
  16598. +#, c-format, ycp-format
  16599. +msgid "No character recodes to %3d"
  16600. +msgstr "%3d'ye yeniden kodlanan harf yok"
  16601. +
  16602. +#: src/recode.c:170
  16603. +msgid "Cannot invert given one-to-one table"
  16604. +msgstr "Verilen birebir eşlemeli tablo tersine çevrilemez"
  16605. +
  16606. +#: src/recode.c:224 src/recode.c:236
  16607. +#, c-format
  16608. +msgid "Following diagnostics for `%s' to `%s'"
  16609. +msgstr "`%s'den `%s'e durum bildirimleri inceleniyor"
  16610. +
  16611. +#: src/recode.c:229 src/recode.c:241
  16612. +#, c-format
  16613. +msgid "Pair no. %d: <%3d, %3d> conflicts with <%3d, %3d>"
  16614. +msgstr "%d no'lu çift <%3d, %3d>, <%3d, %3d> ile çakışıyor"
  16615. +
  16616. +#: src/recode.c:272
  16617. +msgid "Cannot complete table from set of known pairs"
  16618. +msgstr "Tablo bilinen çiftler kümesinden tamamlanamıyor"
  16619. +
  16620. +#: src/recode.c:497
  16621. +msgid "Identity recoding, not worth a table"
  16622. +msgstr "Birebir yeniden kodlama, tabloya gerek yok"
  16623. +
  16624. +#: src/recode.c:504
  16625. +msgid "Recoding is too complex for a mere table"
  16626. +msgstr "Yeniden kodlama bir tablo için fazla karmaşık"
  16627. +
  16628. +#. Print the header of the header file.
  16629. +#: src/recode.c:536
  16630. +#, c-format
  16631. +msgid "%sConversion table generated mechanically by Free `%s' %s"
  16632. +msgstr "%sDönüşüm tablosu mekanik olarak Free `%s' %s tarafından oluşturulmuştur"
  16633. +
  16634. +#: src/recode.c:538
  16635. +#, c-format
  16636. +msgid "%sfor sequence %s.%s"
  16637. +msgstr "%2$s.%3$s sırası için %1$s"
  16638. +
  16639. +#: src/recode.c:744
  16640. +msgid "No table to print"
  16641. +msgstr "Yazdırılacak tablo yok"
  16642. +
  16643. +#: src/request.c:34
  16644. +msgid "reversible"
  16645. +msgstr "geri dönüşümlü"
  16646. +
  16647. +#: src/request.c:36
  16648. +#, c-format
  16649. +msgid "%s to %s"
  16650. +msgstr "%s'den %s'e"
  16651. +
  16652. +#: src/request.c:37 src/request.c:39
  16653. +msgid "byte"
  16654. +msgstr "bayt"
  16655. +
  16656. +#: src/request.c:38 src/request.c:40
  16657. +msgid "ucs2"
  16658. +msgstr "ucs2"
  16659. +
  16660. +#: src/request.c:38 src/request.c:40
  16661. +msgid "variable"
  16662. +msgstr "deÄŸiÅŸken"
  16663. +
  16664. +#: src/request.c:111
  16665. +msgid "*Unachievable*"
  16666. +msgstr "*Ulaşılamaz*"
  16667. +
  16668. +#: src/request.c:113
  16669. +msgid "*mere copy*"
  16670. +msgstr "*yalnızca kopya*"
  16671. +
  16672. +#: src/request.c:246
  16673. +msgid "Virtual memory exhausted!"
  16674. +msgstr "Sanal bellek tükendi!"
  16675. +
  16676. +#: src/request.c:265
  16677. +msgid "Step initialisation failed"
  16678. +msgstr "Adım başlangıcı başarısız"
  16679. +
  16680. +#: src/request.c:272
  16681. +msgid "Step initialisation failed (unprocessed options)"
  16682. +msgstr "Adım başlangıcı başarısız (işlenmemiş seçenekler)"
  16683. +
  16684. +#: src/request.c:568
  16685. +#, c-format
  16686. +msgid "Request: %s\n"
  16687. +msgstr "Ä°stek: %s\n"
  16688. +
  16689. +#: src/request.c:720
  16690. +#, c-format
  16691. +msgid "Shrunk to: %s\n"
  16692. +msgstr "%s'e küçüldü\n"
  16693. +
  16694. +#: src/request.c:823 src/request.c:932
  16695. +#, c-format
  16696. +msgid "Unrecognised surface name `%s'"
  16697. +msgstr "Bilinmeyen yüzey adı `%s'"
  16698. +
  16699. +#: src/request.c:903
  16700. +#, c-format
  16701. +msgid "No way to recode from `%s' to `%s'"
  16702. +msgstr "`%s'den `%s'e yeniden kodlamanın yolu yok"
  16703. +
  16704. +#: src/request.c:1013
  16705. +msgid "Expecting `..' in request"
  16706. +msgstr "Ä°stekte `..' bekleniyordu"
  16707. +
  16708. +#: src/task.c:826 src/task.c:1002
  16709. +#, c-format
  16710. +msgid "Child process wait status is 0x%0.2x"
  16711. +msgstr "Ast iÅŸlem bekleme durumu: 0x%0.2x"
  16712. +
  16713. +#: src/testdump.c:298
  16714. +msgid ""
  16715. +"UCS2 Mne Description\n"
  16716. +"\n"
  16717. +msgstr ""
  16718. +"UCS2 Mne Açıklama\n"
  16719. +"\n"
  16720. --- recode-3.6.orig/i18n/de.po
  16721. +++ recode-3.6/i18n/de.po
  16722. @@ -1,18 +1,18 @@
  16723. # recode.
  16724. -# Copyright (C) 1995, 1996 Free Software Foundation, Inc.
  16725. +# Copyright (C) 1995, 1996, 2006 Free Software Foundation, Inc.
  16726. # Ulrich Drepper <drepper@gnu.ai.mit.edu>, 1995.
  16727. -# Karl Eichwalder <ke@ke.Central.DE>, 1996
  16728. +# Karl Eichwalder <ke@suse.de>, 1996, 2006
  16729. #
  16730. msgid ""
  16731. msgstr ""
  16732. -"Project-Id-Version: recode 3.5\n"
  16733. +"Project-Id-Version: recode 3.6\n"
  16734. "POT-Creation-Date: 2001-01-02 22:35+0100\n"
  16735. -"PO-Revision-Date: 1999-09-14 22:51+01:00\n"
  16736. -"Last-Translator: Daniel Naber <dnaber@mini.gt.owl.de>\n"
  16737. -"Language-Team: German <de@li.org>\n"
  16738. +"PO-Revision-Date: 2006-12-09 19:25+0100\n"
  16739. +"Last-Translator: Karl Eichwalder <ke@suse.de>\n"
  16740. +"Language-Team: German <translation-team-de@lists.sourceforge.net>\n"
  16741. "MIME-Version: 1.0\n"
  16742. -"Content-Type: text/plain; charset=ISO-8859-1\n"
  16743. -"Content-Transfer-Encoding: 8-bit\n"
  16744. +"Content-Type: text/plain; charset=UTF-8\n"
  16745. +"Content-Transfer-Encoding: 8bit\n"
  16746. #: src/main.c:142
  16747. msgid "No error"
  16748. @@ -20,7 +20,7 @@
  16749. #: src/main.c:145
  16750. msgid "Non canonical input"
  16751. -msgstr "Keine gültige Eingabe"
  16752. +msgstr "Keine gültige Eingabe"
  16753. #: src/main.c:148
  16754. msgid "Ambiguous output"
  16755. @@ -28,15 +28,15 @@
  16756. #: src/main.c:151
  16757. msgid "Untranslatable input"
  16758. -msgstr "Nicht übersetzbare Eingabe"
  16759. +msgstr "Nicht übersetzbare Eingabe"
  16760. #: src/main.c:154
  16761. msgid "Invalid input"
  16762. -msgstr "Ungültige Eingabe"
  16763. +msgstr "Ungültige Eingabe"
  16764. #: src/main.c:157
  16765. msgid "System detected problem"
  16766. -msgstr "Das System ist auf ein Problem gestossen"
  16767. +msgstr "Das System ist auf ein Problem gestoßen"
  16768. #: src/main.c:160
  16769. msgid "Misuse of recoding library"
  16770. @@ -62,23 +62,22 @@
  16771. "along with this program; if not, write to the Free Software Foundation,\n"
  16772. "Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n"
  16773. msgstr ""
  16774. -"Der folgende Text ist eine nicht überprüfte Übersetzung, die zur\n"
  16775. +"Der folgende Text ist eine nicht überprüfte Übersetzung, die zur\n"
  16776. "Information dient; in rechtlichen Fragen ist immer das englische\n"
  16777. "Original ausschlaggebend.\n"
  16778. "\n"
  16779. -"Dieses Program ist freie Software; Sie können es nach den Bedingungen\n"
  16780. +"Dieses Programm ist freie Software; Sie können es nach den Bedingungen\n"
  16781. "der von der Free Software Foundation als \"GNU General Public License\"\n"
  16782. -"veröffentlichten Lizenz weitergeben und/oder verändern; dabei gilt\n"
  16783. -"die Version 2 oder (frei nach ihrer Wahl) jede spätere Version.\n"
  16784. +"veröffentlichten Lizenz weitergeben und/oder verändern; dabei gilt\n"
  16785. +"die Version 2 oder (frei nach ihrer Wahl) jede spätere Version.\n"
  16786. "\n"
  16787. -"Dieses Programm wird in der Hoffnung verteilt, daß es nützlich ist,\n"
  16788. +"Dieses Programm wird in der Hoffnung verteilt, daß es nützlich ist,\n"
  16789. "jedoch OHNE JEGLICHE GARANTIE; sogar ohne die implizite Garantie der\n"
  16790. -"MARKTFÄHIGKEIT oder der ERFÜLLUNG EINES BESTIMMTEN ZWECKES. In der\n"
  16791. -"\"GNU General Public License\" können weitere Einzelheiten nachgelesen\n"
  16792. +"MARKTFÄHIGKEIT oder der ERFÜLLUNG EINES BESTIMMTEN ZWECKES. In der\n"
  16793. +"\"GNU General Public License\" können weitere Einzelheiten nachgelesen\n"
  16794. "werden.\n"
  16795. "\n"
  16796. -"Sie sollten mit diesem Programm eine Kopie der \"GNU General Public "
  16797. -"License\"\n"
  16798. +"Sie sollten mit diesem Programm eine Kopie der \"GNU General Public License\"\n"
  16799. "erhalten haben; wenn nicht, schreiben Sie an die Free Software Foundation,\n"
  16800. "Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n"
  16801. @@ -88,10 +87,9 @@
  16802. msgstr "`%s %s' zeigt weitere Informationen.\n"
  16803. #: src/main.c:237
  16804. -msgid ""
  16805. -"Free `recode' converts files between various character sets and surfaces.\n"
  16806. +msgid "Free `recode' converts files between various character sets and surfaces.\n"
  16807. msgstr ""
  16808. -"`recode' konvertiert Dateien zwischen diversen Zeichensätzen und\n"
  16809. +"`recode' konvertiert Dateien zwischen diversen Zeichensätzen und\n"
  16810. "-formaten.\n"
  16811. #: src/main.c:241
  16812. @@ -110,18 +108,16 @@
  16813. "for the equivalent short option also. Similarly for optional arguments.\n"
  16814. msgstr ""
  16815. "\n"
  16816. -"Wenn eine Option ein Argument zwingend braucht, gilt das unabhängig\n"
  16817. +"Wenn eine Option ein Argument zwingend braucht, gilt das unabhängig\n"
  16818. "davon, ob die Kurz- oder Langschreibweise der Option benutzt wird.\n"
  16819. -"Entsprechendes gilt für optionale Argumente.\n"
  16820. +"Entsprechendes gilt für optionale Argumente.\n"
  16821. #: src/main.c:250
  16822. -#, fuzzy
  16823. msgid ""
  16824. "\n"
  16825. "Listings:\n"
  16826. " -l, --list[=FORMAT] list one or all known charsets and aliases\n"
  16827. -" -k, --known=PAIRS restrict charsets according to known PAIRS "
  16828. -"list\n"
  16829. +" -k, --known=PAIRS restrict charsets according to known PAIRS list\n"
  16830. " -h, --header[=[LN/]NAME] write table NAME on stdout using LN, then exit\n"
  16831. " -F, --freeze-tables write out a C module holding all tables\n"
  16832. " -T, --find-subsets report all charsets being subset of others\n"
  16833. @@ -131,15 +127,12 @@
  16834. msgstr ""
  16835. "\n"
  16836. "Auflistungen:\n"
  16837. -" -l, --list[=FORMAT] Einen oder alle bekannten Zeichensätze "
  16838. -"auflisten\n"
  16839. -" -k, --known=PAARE Zeichensätze auf Liste bekannter PAARE "
  16840. -"beschränken\n"
  16841. -" -h, --header[=[LN/]NAME] LN-Code für Tabelle NAME ausgeben\n"
  16842. +" -l, --list[=FORMAT] Einen oder alle bekannten Zeichensätze auflisten\n"
  16843. +" -k, --known=PAARE Zeichensätze auf Liste bekannter PAARE beschränken\n"
  16844. +" -h, --header[=[LN/]NAME] LN-Code für Tabelle NAME ausgeben\n"
  16845. " -F, --freeze-tables Ein C-Modul mit allen Tabellen ausgeben\n"
  16846. -" -T, --find-subsets Alle Zeichensätze ausgeben, die Untermengen "
  16847. -"von\n"
  16848. -" anderen Zeichensätzen sind\n"
  16849. +" -T, --find-subsets Alle Zeichensätze ausgeben, die Untermengen von\n"
  16850. +" anderen Zeichensätzen sind\n"
  16851. " -C, --copyright Copyright und Kopierbedingungen anzeigen\n"
  16852. " --help Diese Hilfe anzeigen\n"
  16853. " --version Versionsnummer ausgeben\n"
  16854. @@ -157,23 +150,18 @@
  16855. msgstr ""
  16856. "\n"
  16857. "Funktionsmodi:\n"
  16858. -" -v, --verbose Reihenfolge der Umkodierungsschritte und "
  16859. -"Fortschritt\n"
  16860. +" -v, --verbose Reihenfolge der Umkodierungsschritte und Fortschritt\n"
  16861. " anzeigen\n"
  16862. -" -q, --quiet, --silent Keine Meldungen über nicht umkehrbare "
  16863. -"Umkodierungen\n"
  16864. -" -f, --force Umkodierung vornehmen, auch wenn sie nicht "
  16865. -"umkehrbar ist\n"
  16866. -" -t, --touch Nach der Umkodierung ein 'touch' auf die "
  16867. -"umkodierte\n"
  16868. -" Datei ausführen\n"
  16869. -" -i, --sequence=files Für Zwischenschritte temporäre Dateien anlegen\n"
  16870. -" --sequence=memory Für Zwischenschritte Speicherpuffer verwenden\n"
  16871. +" -q, --quiet, --silent Keine Meldungen über nicht umkehrbare Umkodierungen\n"
  16872. +" -f, --force Umkodierung vornehmen, auch wenn sie nicht umkehrbar ist\n"
  16873. +" -t, --touch Nach der Umkodierung ein 'touch' auf die umkodierte\n"
  16874. +" Datei ausführen\n"
  16875. +" -i, --sequence=files Für Zwischenschritte temporäre Dateien anlegen\n"
  16876. +" --sequence=memory Für Zwischenschritte Speicherpuffer verwenden\n"
  16877. #: src/main.c:275
  16878. msgid " -p, --sequence=pipe use pipe machinery for sequencing passes\n"
  16879. -msgstr ""
  16880. -" -p, --sequence=pipe benutze \"pipe\" für Abarbeitung der Schritte\n"
  16881. +msgstr " -p, --sequence=pipe benutze \"pipe\" für Abarbeitung der Schritte\n"
  16882. #: src/main.c:280
  16883. msgid " -p, --sequence=pipe same as -i (on this system)\n"
  16884. @@ -192,19 +180,14 @@
  16885. msgstr ""
  16886. "\n"
  16887. "Feineinstellungen:\n"
  16888. -" -s, --strict Strikte Abbildung benutzen, auch bei "
  16889. -"Zeichenverlust\n"
  16890. -" -d, --diacritics Nur Akzente/Umlaute umkodieren (z.B. für "
  16891. -"HTML/LaTeX)\n"
  16892. +" -s, --strict Strikte Abbildung benutzen, auch bei Zeichenverlust\n"
  16893. +" -d, --diacritics Nur Akzente/Umlaute umkodieren (z.B. für HTML/LaTeX)\n"
  16894. " -S, --source[=LN] Bei LN nur Zeichenketten und Kommentare umkodieren\n"
  16895. -" -c, --colons benutze ':' statt '\"' für Umlaute (z.B. 'fu:r' "
  16896. -"statt\n"
  16897. +" -c, --colons benutze ':' statt '\"' für Umlaute (z.B. 'fu:r' statt\n"
  16898. " ('fu\"r')\n"
  16899. -" -g, --graphics 'Linienzeichen' des IBMPC-Zeichensatzes durch "
  16900. -"ähnliche\n"
  16901. +" -g, --graphics 'Linienzeichen' des IBMPC-Zeichensatzes durch ähnliche\n"
  16902. " ASCII-Zeichen darstellen\n"
  16903. -" -x, --ignore=ZEISATZ ZEISATZ bei der Wahl der Kodierungsschritte "
  16904. -"ignorieren\n"
  16905. +" -x, --ignore=ZEISATZ ZEISATZ bei der Wahl der Kodierungsschritte ignorieren\n"
  16906. #: src/main.c:296
  16907. msgid ""
  16908. @@ -213,36 +196,30 @@
  16909. "FORMAT is `decimal', `octal', `hexadecimal' or `full' (or one of `dohf').\n"
  16910. msgstr ""
  16911. "\n"
  16912. -"Die Option -l ohne FORMAT und ZEISATZ listet alle Zeichensätze und -formate\n"
  16913. -"auf. FORMAT ist `decimal', `octal', `hexadecimal' oder `full' (können durch "
  16914. -"den\n"
  16915. -"Anfangsbuchstaben abgekürzt werden)\n"
  16916. +"Die Option -l ohne FORMAT und ZEISATZ listet alle Zeichensätze und -formate\n"
  16917. +"auf. FORMAT ist `decimal', `octal', `hexadecimal' oder `full' (können durch den\n"
  16918. +"Anfangsbuchstaben abgekürzt werden)\n"
  16919. #: src/main.c:302
  16920. -#, fuzzy
  16921. msgid ""
  16922. -"Unless DEFAULT_CHARSET is set in environment, CHARSET defaults to the "
  16923. -"locale\n"
  16924. +"Unless DEFAULT_CHARSET is set in environment, CHARSET defaults to the locale\n"
  16925. "dependent encoding, determined by LC_ALL, LC_CTYPE, LANG.\n"
  16926. msgstr ""
  16927. -"Wenn die Umgebungsvariable DEFAULT_CHARSET nicht gesetzt ist,\n"
  16928. -"gilt für ZEISATZ ist die Voreinstellung `%s'.\n"
  16929. +"Wenn die Umgebungsvariable DEFAULT_CHARSET nicht gesetzt ist, gilt für ZEISATZ\n"
  16930. +"die lokale-abhängiges Kodierung, festgelegt von LC_ALL, LC_CTYPE. LANG wird.\n"
  16931. #: src/main.c:307
  16932. msgid ""
  16933. "With -k, possible before charsets are listed for the given after CHARSET,\n"
  16934. -"both being tabular charsets, with PAIRS of the form "
  16935. -"`BEF1:AFT1,BEF2:AFT2,...'\n"
  16936. +"both being tabular charsets, with PAIRS of the form `BEF1:AFT1,BEF2:AFT2,...'\n"
  16937. "and BEFs and AFTs being codes are given as decimal numbers.\n"
  16938. msgstr ""
  16939. -"Mit '-k' werden mögliche 'Vorher'-Zeichensätze für den 'Nachher'-ZEISATZ\n"
  16940. -"ausgegeben, mit PAAREn der Form 'VOR1:NACH1,VOR2:NACH2,...', wobei die VORs "
  16941. -"und\n"
  16942. +"Mit '-k' werden mögliche 'Vorher'-Zeichensätze für den 'Nachher'-ZEISATZ\n"
  16943. +"ausgegeben, mit PAAREn der Form 'VOR1:NACH1,VOR2:NACH2,...', wobei die VORs und\n"
  16944. "NACHs Kodes sind. Alle Kodes werden als Dezimalzahlen angegeben.\n"
  16945. #: src/main.c:312
  16946. -msgid ""
  16947. -"LN is some language, it may be `c', `perl' or `po'; `c' is the default.\n"
  16948. +msgid "LN is some language, it may be `c', `perl' or `po'; `c' is the default.\n"
  16949. msgstr ""
  16950. "LN ist eine Programmiersprache, z.B. `c', `perl' oder `po', wobei `c' die\n"
  16951. "Voreinstellung ist.\n"
  16952. @@ -250,24 +227,18 @@
  16953. #: src/main.c:315
  16954. msgid ""
  16955. "\n"
  16956. -"REQUEST is SUBREQUEST[,SUBREQUEST]...; SUBREQUEST is "
  16957. -"ENCODING[..ENCODING]...\n"
  16958. -"ENCODING is [CHARSET][/[SURFACE]]...; REQUEST often looks like "
  16959. -"BEFORE..AFTER,\n"
  16960. +"REQUEST is SUBREQUEST[,SUBREQUEST]...; SUBREQUEST is ENCODING[..ENCODING]...\n"
  16961. +"ENCODING is [CHARSET][/[SURFACE]]...; REQUEST often looks like BEFORE..AFTER,\n"
  16962. "with BEFORE and AFTER being charsets. An omitted CHARSET implies the usual\n"
  16963. -"charset; an omitted [/SURFACE]... means the implied surfaces for CHARSET; a "
  16964. -"/\n"
  16965. +"charset; an omitted [/SURFACE]... means the implied surfaces for CHARSET; a /\n"
  16966. "with an empty surface name means no surfaces at all. See the manual.\n"
  16967. msgstr ""
  16968. "\n"
  16969. -"ANFRAGE ist UNTERANFRAGE[,UNTERANFRAGE]...; UNTERANFRAGE ist "
  16970. -"KODIERUNG[..KODIERUNG]...\n"
  16971. -"KODIERUNG ist [ZEISATZ][/[SURFACE]]...; ANFRAGE ist meistens "
  16972. -"VORHER..NACHHER,\n"
  16973. -"wobei VORHER und NACHHER Zeichensätze sind. Ohne ZEISATZ wird der übliche\n"
  16974. -"Zeichensatz benutzt; ohne [/SURFACE]... wird das für ZEISATZ übliche Format\n"
  16975. -"angenommen; ein / ohne Angabe eines Formats heisst, dass kein Format "
  16976. -"angenommen\n"
  16977. +"ANFRAGE ist UNTERANFRAGE[,UNTERANFRAGE]...; UNTERANFRAGE ist KODIERUNG[..KODIERUNG]...\n"
  16978. +"KODIERUNG ist [ZEISATZ][/[SURFACE]]...; ANFRAGE ist meistens VORHER..NACHHER,\n"
  16979. +"wobei VORHER und NACHHER Zeichensätze sind. Ohne ZEISATZ wird der übliche\n"
  16980. +"Zeichensatz benutzt; ohne [/SURFACE]... wird das für ZEISATZ übliche Format\n"
  16981. +"angenommen; ein / ohne Angabe eines Formats heißt, dass kein Format angenommen\n"
  16982. "wird. Siehe Anleitung.\n"
  16983. #: src/main.c:323
  16984. @@ -280,7 +251,7 @@
  16985. "\n"
  16986. "Wenn weder -i noch -p angegeben sind, wird -p angenommen wenn keine DATEI\n"
  16987. "angegeben ist, sonst -i.\n"
  16988. -"Jede DATEI wird bei mit der umkodierten Datei überschrieben. Wenn keine\n"
  16989. +"Jede DATEI wird bei mit der umkodierten Datei überschrieben. Wenn keine\n"
  16990. "DATEI angegen ist wird die Standardeingabe umkodiert und auf der\n"
  16991. "Standardausgabe ausgegeben.\n"
  16992. @@ -290,45 +261,42 @@
  16993. "Report bugs to <recode-bugs@iro.umontreal.ca>.\n"
  16994. msgstr ""
  16995. "\n"
  16996. -"Berichte über Programmfehler bitte an <recode-bugs@iro.umontreal.ca>.\n"
  16997. +"Berichte über Programmfehler bitte an <recode-bugs@iro.umontreal.ca>.\n"
  16998. #: src/main.c:430
  16999. #, c-format
  17000. msgid "Sequence `%s' is ambiguous"
  17001. -msgstr ""
  17002. +msgstr "Abfolge »%s« ist zweideutig"
  17003. #: src/main.c:434
  17004. #, c-format
  17005. msgid "Sequence `%s' is unknown"
  17006. -msgstr ""
  17007. +msgstr "Abfolge »%s« ist unbekannt"
  17008. #: src/main.c:464 src/main.c:522
  17009. #, c-format
  17010. msgid "Language `%s' is ambiguous"
  17011. -msgstr ""
  17012. +msgstr "Sprache »%s« ist zweideutig"
  17013. #. -1
  17014. #: src/main.c:468 src/main.c:526
  17015. #, c-format
  17016. msgid "Language `%s' is unknown"
  17017. -msgstr ""
  17018. +msgstr "Sprache »%s« ist unbekannt"
  17019. #: src/main.c:560
  17020. #, c-format
  17021. msgid "Format `%s' is ambiguous"
  17022. -msgstr ""
  17023. +msgstr "Format »%s« ist zweideutig"
  17024. #: src/main.c:564
  17025. #, c-format
  17026. msgid "Format `%s' is unknown"
  17027. -msgstr ""
  17028. +msgstr "Format »%s« ist unbekannt"
  17029. #: src/main.c:621
  17030. -#, fuzzy
  17031. msgid "Written by Franc,ois Pinard <pinard@iro.umontreal.ca>.\n"
  17032. -msgstr ""
  17033. -"\n"
  17034. -"Geschrieben von Franc,ois Pinard <pinard@iro.umontreal.ca>.\n"
  17035. +msgstr "Geschrieben von François Pinard <pinard@iro.umontreal.ca>.\n"
  17036. #: src/main.c:624
  17037. msgid ""
  17038. @@ -344,33 +312,33 @@
  17039. "warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n"
  17040. msgstr ""
  17041. "Dieses Programm ist freie Software; die genauen Nutzungsbedingungen\n"
  17042. -"sind der Datei »COPYING« in den Quellen zu entnehmen.\n"
  17043. -"Es wird keinerlei Gewährleistung übernommen; auch nicht für gewerbliche\n"
  17044. +"sind der Datei »COPYING« in den Quellen zu entnehmen.\n"
  17045. +"Es wird keinerlei Gewährleistung übernommen; auch nicht für gewerbliche\n"
  17046. "Nutzbarkeit oder Tauglichkeit zu einem anderen Zweck.\n"
  17047. #: src/main.c:669
  17048. #, c-format
  17049. msgid "Symbol `%s' is unknown"
  17050. -msgstr ""
  17051. +msgstr "Symbol »%s« ist unbekannt"
  17052. #: src/main.c:709 src/main.c:723
  17053. #, c-format
  17054. msgid "Charset `%s' is unknown or ambiguous"
  17055. -msgstr ""
  17056. +msgstr "Zeichensatz »%s« ist unbekannt oder zweideutig"
  17057. #: src/main.c:754
  17058. msgid "Required argument is missing"
  17059. -msgstr ""
  17060. +msgstr "Erforderliches Argument fehlt"
  17061. #: src/main.c:797
  17062. -#, fuzzy, c-format
  17063. +#, c-format
  17064. msgid "Syntax is deprecated, please prefer `%s'"
  17065. -msgstr "Veraltete Syntax, bitte `%s' benutzen"
  17066. +msgstr "Veraltete Syntax, bitte »%s« bevorzugen"
  17067. #: src/main.c:803
  17068. #, c-format
  17069. msgid "Request `%s' is erroneous"
  17070. -msgstr ""
  17071. +msgstr "Anfrage »%s« ist fehlerhaft"
  17072. #: src/main.c:903
  17073. #, c-format
  17074. @@ -382,19 +350,19 @@
  17075. msgstr " fertig\n"
  17076. #: src/main.c:954
  17077. -#, fuzzy, c-format
  17078. +#, c-format
  17079. msgid " failed: %s in step `%s..%s'\n"
  17080. -msgstr " fehlgeschlagen: %s in %s..%s\n"
  17081. +msgstr " fehlgeschlagen: %s bei Schritt »%s..%s«\n"
  17082. #: src/main.c:961
  17083. -#, fuzzy, c-format
  17084. +#, c-format
  17085. msgid "%s failed: %s in step `%s..%s'"
  17086. -msgstr "%s fehlgeschlagen: %s in %s..%s"
  17087. +msgstr "%s fehlgeschlagen: %s bei Schritt »%s..%s«"
  17088. #: src/main.c:984
  17089. -#, fuzzy, c-format
  17090. +#, c-format
  17091. msgid "%s in step `%s..%s'"
  17092. -msgstr "%s bei %s..%s"
  17093. +msgstr "%s bei Schritt »%s..%s«"
  17094. #: src/names.c:335
  17095. #, c-format
  17096. @@ -405,8 +373,8 @@
  17097. #, c-format
  17098. msgid "Cannot list `%s', no names available for this charset"
  17099. msgstr ""
  17100. -"Kann `%s' nicht anzeigen, keine Namen für diesen Zeichensatz\n"
  17101. -" verfügbar"
  17102. +"Kann `%s' nicht anzeigen, keine Namen für diesen Zeichensatz\n"
  17103. +" verfügbar"
  17104. #. code counter
  17105. #. expected value for code counter
  17106. @@ -420,17 +388,17 @@
  17107. #: src/names.c:1049
  17108. #, c-format
  17109. msgid "Sorry, no names available for `%s'"
  17110. -msgstr "Tut mir leid, aber es sind für `%s' keine Namen verfügbar"
  17111. +msgstr "Tut mir leid, aber es sind für `%s' keine Namen verfügbar"
  17112. #: src/outer.c:125
  17113. #, c-format
  17114. msgid "Resurfacer set more than once for `%s'"
  17115. -msgstr "`Resurfacer' für `%s' mehr als einmal gesetzt."
  17116. +msgstr "`Resurfacer' für `%s' mehr als einmal gesetzt."
  17117. #: src/outer.c:133
  17118. #, c-format
  17119. msgid "Unsurfacer set more than once for `%s'"
  17120. -msgstr "`Unsurfacer' für `%s' mehr als einmal gesetzt."
  17121. +msgstr "`Unsurfacer' für `%s' mehr als einmal gesetzt."
  17122. #: src/recode.c:115 src/recode.c:127
  17123. msgid "Virtual memory exhausted"
  17124. @@ -453,7 +421,7 @@
  17125. #: src/recode.c:224 src/recode.c:236
  17126. #, c-format
  17127. msgid "Following diagnostics for `%s' to `%s'"
  17128. -msgstr "Folgende Diagnose für Konvertierung von `%s' nach `%s'"
  17129. +msgstr "Folgende Diagnose für Konvertierung von `%s' nach `%s'"
  17130. #: src/recode.c:229 src/recode.c:241
  17131. #, c-format
  17132. @@ -462,27 +430,26 @@
  17133. #: src/recode.c:272
  17134. msgid "Cannot complete table from set of known pairs"
  17135. -msgstr ""
  17136. -"Kann die Tabelle aus der Menge der bekannten Paare nicht vervollständigen"
  17137. +msgstr "Kann die Tabelle aus der Menge der bekannten Paare nicht vervollständigen"
  17138. #: src/recode.c:497
  17139. msgid "Identity recoding, not worth a table"
  17140. -msgstr "Umkodierung ohne Änderung, zu trivial für eine Tabelle"
  17141. +msgstr "Umkodierung ohne Änderung, zu trivial für eine Tabelle"
  17142. #: src/recode.c:504
  17143. msgid "Recoding is too complex for a mere table"
  17144. -msgstr "Umkodierung ist für eine einfache Tabelle zu kompliziert"
  17145. +msgstr "Umkodierung ist für eine einfache Tabelle zu kompliziert"
  17146. #. Print the header of the header file.
  17147. #: src/recode.c:536
  17148. #, c-format
  17149. msgid "%sConversion table generated mechanically by Free `%s' %s"
  17150. -msgstr "%sKonvertierung automatisch generiert von »GNU %s %s«"
  17151. +msgstr "%sKonvertierung automatisch generiert von »GNU %s %s«"
  17152. #: src/recode.c:538
  17153. #, c-format
  17154. msgid "%sfor sequence %s.%s"
  17155. -msgstr "%sfür Folge %s.%s"
  17156. +msgstr "%sfür Folge %s.%s"
  17157. #: src/recode.c:744
  17158. msgid "No table to print"
  17159. @@ -511,7 +478,7 @@
  17160. #: src/request.c:111
  17161. msgid "*Unachievable*"
  17162. -msgstr "*unmöglich*"
  17163. +msgstr "*unmöglich*"
  17164. #: src/request.c:113
  17165. msgid "*mere copy*"
  17166. @@ -547,7 +514,7 @@
  17167. #: src/request.c:903
  17168. #, c-format
  17169. msgid "No way to recode from `%s' to `%s'"
  17170. -msgstr "Keine Möglichkeit, von `%s' nach `%s' umzukodieren"
  17171. +msgstr "Keine Möglichkeit, von `%s' nach `%s' umzukodieren"
  17172. #: src/request.c:1013
  17173. msgid "Expecting `..' in request"
  17174. @@ -565,29 +532,3 @@
  17175. msgstr ""
  17176. "UCS2 Mne Beschreibung\n"
  17177. "\n"
  17178. -
  17179. -#~ msgid "CHARSET has no default, define DEFAULT_CHARSET in the environment.\n"
  17180. -#~ msgstr ""
  17181. -#~ "Für ZEISATZ existiert keine Voreinstellung, bitte die Umgebungsvariable\n"
  17182. -#~ "DEFAULT_CHARSET setzen.\n"
  17183. -
  17184. -#~ msgid "Ambiguous sequence `%s'"
  17185. -#~ msgstr "Mehrdeutige Folge `%s'"
  17186. -
  17187. -#~ msgid "Unknown sequence `%s'"
  17188. -#~ msgstr "Unbekannte Folge `%s'"
  17189. -
  17190. -#~ msgid "Ambiguous language `%s'"
  17191. -#~ msgstr "Mehrdeutiger Zeichensatz `%s'"
  17192. -
  17193. -#~ msgid "Unknown language `%s'"
  17194. -#~ msgstr "Unbekannter Zeichensatz `%s'"
  17195. -
  17196. -#~ msgid "Ambiguous format `%s'"
  17197. -#~ msgstr "Mehrdeutiges Format `%s'"
  17198. -
  17199. -#~ msgid "Unknown format `%s'"
  17200. -#~ msgstr "Unbekanntes Format `%s'"
  17201. -
  17202. -#~ msgid "Erroneous request `%s'"
  17203. -#~ msgstr "Fehlerhafte Anfrage `%s'"
  17204. --- recode-3.6.orig/i18n/pt_BR.po
  17205. +++ recode-3.6/i18n/pt_BR.po
  17206. @@ -0,0 +1,522 @@
  17207. +# recode: translation to Brazilian Portuguese (pt_BR)
  17208. +# Copyright (C) 2002 Free Software Foundation, Inc.
  17209. +# Alexandre Folle de Menezes <afmenez@terra.com.br>, 2002.
  17210. +# based on the translation to Portuguese (pt) by
  17211. +# Vitor Duarte <vad@di.fct.unl.pt>, maio de 1996.
  17212. +# also based on the translation to Galician (gl) by
  17213. +# Jacobo Tarrío Barreiro <jtarrio@trasno.net>, 2000.
  17214. +#
  17215. +msgid ""
  17216. +msgstr ""
  17217. +"Project-Id-Version: GNU recode 3.6\n"
  17218. +"POT-Creation-Date: 2001-01-02 22:35+0100\n"
  17219. +"PO-Revision-Date: 2002-12-14 02:00-0300\n"
  17220. +"Last-Translator: Alexandre Folle de Menezes <afmenez@terra.com.br>\n"
  17221. +"Language-Team: Brazilian Portuguese <ldp-br@bazar.conectiva.com.br>\n"
  17222. +"MIME-Version: 1.0\n"
  17223. +"Content-Type: text/plain; charset=ISO-8859-1\n"
  17224. +"Content-Transfer-Encoding: 8-bit\n"
  17225. +
  17226. +#: src/main.c:142
  17227. +msgid "No error"
  17228. +msgstr "Sem erro"
  17229. +
  17230. +#: src/main.c:145
  17231. +msgid "Non canonical input"
  17232. +msgstr "Entrada não-canônica"
  17233. +
  17234. +#: src/main.c:148
  17235. +msgid "Ambiguous output"
  17236. +msgstr "Saída ambígua"
  17237. +
  17238. +#: src/main.c:151
  17239. +msgid "Untranslatable input"
  17240. +msgstr "Entrada intraduzível"
  17241. +
  17242. +#: src/main.c:154
  17243. +msgid "Invalid input"
  17244. +msgstr "Entrada inválida"
  17245. +
  17246. +#: src/main.c:157
  17247. +msgid "System detected problem"
  17248. +msgstr "O sistema detectou um problema"
  17249. +
  17250. +#: src/main.c:160
  17251. +msgid "Misuse of recoding library"
  17252. +msgstr "Uso incorreto da biblioteca de recodificação"
  17253. +
  17254. +#: src/main.c:163
  17255. +msgid "Internal recoding bug"
  17256. +msgstr "Erro interno de recodificação"
  17257. +
  17258. +#: src/main.c:208
  17259. +msgid ""
  17260. +"This program is free software; you can redistribute it and/or modify\n"
  17261. +"it under the terms of the GNU General Public License as published by\n"
  17262. +"the Free Software Foundation; either version 2, or (at your option)\n"
  17263. +"any later version.\n"
  17264. +"\n"
  17265. +"This program is distributed in the hope that it will be useful,\n"
  17266. +"but WITHOUT ANY WARRANTY; without even the implied warranty of\n"
  17267. +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n"
  17268. +"GNU General Public License for more details.\n"
  17269. +"\n"
  17270. +"You should have received a copy of the GNU General Public License\n"
  17271. +"along with this program; if not, write to the Free Software Foundation,\n"
  17272. +"Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n"
  17273. +msgstr ""
  17274. +"Este programa é software livre; a sua redistribuição e/ou modificação\n"
  17275. +"nos termos da Licença Geral Pública GNU como publicada pela\n"
  17276. +"Free Software Foundation, é permitida; de acordo com a versão 2 ou\n"
  17277. +"(opcionalmente) qualquer outra versão posterior.\n"
  17278. +"\n"
  17279. +"Este programa é distribuído na esperança de que possa ser útil, mas\n"
  17280. +"SEM QUALQUER GARANTIA; sem mesmo a garantia implícita de COMERCIABILIDADE ou\n"
  17281. +"ADEQUAÇÃO À QUALQUER FINALIDADE PARTICULAR. Veja a Licença Geral Pública GNU\n"
  17282. +"para mais detalhes.\n"
  17283. +"\n"
  17284. +"Deve ter sido recebida uma cópia da Licença Geral Pública GNU\n"
  17285. +"junto com este programa; senão, escreva para a Free Software Foundation,\n"
  17286. +"Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n"
  17287. +
  17288. +#: src/main.c:233
  17289. +#, c-format
  17290. +msgid "Try `%s %s' for more information.\n"
  17291. +msgstr "Tente `%s %s' para obter mais informações.\n"
  17292. +
  17293. +#: src/main.c:237
  17294. +msgid "Free `recode' converts files between various character sets and surfaces.\n"
  17295. +msgstr "O `recode' converte arquivos entre vários conjuntos de caracteres e superfícies.\n"
  17296. +
  17297. +#: src/main.c:241
  17298. +#, c-format
  17299. +msgid ""
  17300. +"\n"
  17301. +"Usage: %s [OPTION]... [ [CHARSET] | REQUEST [FILE]... ]\n"
  17302. +msgstr ""
  17303. +"\n"
  17304. +"Uso: %s [OPÇÃO]... [ [CHARSET] | REQUISIÇÃO [ARQUIVO]... ]\n"
  17305. +
  17306. +#: src/main.c:244
  17307. +msgid ""
  17308. +"\n"
  17309. +"If a long option shows an argument as mandatory, then it is mandatory\n"
  17310. +"for the equivalent short option also. Similarly for optional arguments.\n"
  17311. +msgstr ""
  17312. +"\n"
  17313. +"Os argumentos obrigatórios para as opções longas são também obrigatórios\n"
  17314. +"para as opções curtas. O mesmo vale para argumentos opcionais\n"
  17315. +
  17316. +#: src/main.c:250
  17317. +msgid ""
  17318. +"\n"
  17319. +"Listings:\n"
  17320. +" -l, --list[=FORMAT] list one or all known charsets and aliases\n"
  17321. +" -k, --known=PAIRS restrict charsets according to known PAIRS list\n"
  17322. +" -h, --header[=[LN/]NAME] write table NAME on stdout using LN, then exit\n"
  17323. +" -F, --freeze-tables write out a C module holding all tables\n"
  17324. +" -T, --find-subsets report all charsets being subset of others\n"
  17325. +" -C, --copyright display Copyright and copying conditions\n"
  17326. +" --help display this help and exit\n"
  17327. +" --version output version information and exit\n"
  17328. +msgstr ""
  17329. +"\n"
  17330. +"Listagens:\n"
  17331. +" -l, --list[=FORMATO] lista um ou todos os conjuntos de caracteres e\n"
  17332. +" apelidos conhecidos\n"
  17333. +" -k, --known=PARES restringe os conjuntos de caracteres com a lista\n"
  17334. +" de PARES conhecidos\n"
  17335. +" -h, --header[=[LN/]NOME] escreve a tabela NOME na saída padrão usando LN,\n"
  17336. +" depois sai\n"
  17337. +" -F, --freeze-tables escreve um módulo C contendo todas as tabelas\n"
  17338. +" -T, --find-subsets reporta todos os conjuntos de carcteres que são\n"
  17339. +" subconjuntos de outros\n"
  17340. +" -C, --copyright exibe Copyright e condições de cópia\n"
  17341. +" --help exibe esta ajuda e sai\n"
  17342. +" --version mostra informações de versão e sai\n"
  17343. +
  17344. +#: src/main.c:263
  17345. +msgid ""
  17346. +"\n"
  17347. +"Operation modes:\n"
  17348. +" -v, --verbose explain sequence of steps and report progress\n"
  17349. +" -q, --quiet, --silent inhibit messages about irreversible recodings\n"
  17350. +" -f, --force force recodings even when not reversible\n"
  17351. +" -t, --touch touch the recoded files after replacement\n"
  17352. +" -i, --sequence=files use intermediate files for sequencing passes\n"
  17353. +" --sequence=memory use memory buffers for sequencing passes\n"
  17354. +msgstr ""
  17355. +"\n"
  17356. +"Modos de operação:\n"
  17357. +" -v, --verbose Explica a sequência de passos e relata o progresso\n"
  17358. +" -q, --quiet, --silent inibe mensagens sobre recodificações irreversíveis\n"
  17359. +" -f, --force força recodificações mesmo quando irreversíveis\n"
  17360. +" -t, --touch atualiza horário dos arquivos processados\n"
  17361. +" -i, --sequence=files usa arquivos intermediários na seqüência de passos\n"
  17362. +" --sequence=memory usa buffers na memória na seqüência de passos\n"
  17363. +
  17364. +#: src/main.c:275
  17365. +msgid " -p, --sequence=pipe use pipe machinery for sequencing passes\n"
  17366. +msgstr " -p, --sequence=pipe usa redirecionamentos para seqüenciar os passos\n"
  17367. +
  17368. +#: src/main.c:280
  17369. +msgid " -p, --sequence=pipe same as -i (on this system)\n"
  17370. +msgstr " -p, --sequence=pipe o mesmo que -i (neste sistema)\n"
  17371. +
  17372. +#: src/main.c:285
  17373. +msgid ""
  17374. +"\n"
  17375. +"Fine tuning:\n"
  17376. +" -s, --strict use strict mappings, even loose characters\n"
  17377. +" -d, --diacritics convert only diacritics or alike for HTML/LaTeX\n"
  17378. +" -S, --source[=LN] limit recoding to strings and comments as for LN\n"
  17379. +" -c, --colons use colons instead of double quotes for diaeresis\n"
  17380. +" -g, --graphics approximate IBMPC rulers by ASCII graphics\n"
  17381. +" -x, --ignore=CHARSET ignore CHARSET while choosing a recoding path\n"
  17382. +msgstr ""
  17383. +"\n"
  17384. +"Ajuste fino:\n"
  17385. +" -s, --strict usa mapeamentos estritos, mesmo perdendo caracteres\n"
  17386. +" -d, --diacritics converte apenas os diacríticos ou semelhantes\n"
  17387. +" para HTML/LaTeX\n"
  17388. +" -S, --source[=LN] limita a recodificação à strings e comentários, como\n"
  17389. +" para o LN\n"
  17390. +" -c, --colons usa dois pontos em vez de aspas para o trema\n"
  17391. +" -g, --graphics aproxima os gráficos do IBMPC com gráficos ASCII\n"
  17392. +" -x, --ignore=CHARSET ignora o CHARSET na escolha da rota de recodificação\n"
  17393. +
  17394. +#: src/main.c:296
  17395. +msgid ""
  17396. +"\n"
  17397. +"Option -l with no FORMAT nor CHARSET list available charsets and surfaces.\n"
  17398. +"FORMAT is `decimal', `octal', `hexadecimal' or `full' (or one of `dohf').\n"
  17399. +msgstr ""
  17400. +"\n"
  17401. +"A opção -l sem FORMATO ou CHARSET lista conjuntos de carcteres disponíveis.\n"
  17402. +"FORMATO é `decimal', `octal', `hexadecimal' ou `full' (ou uma letra de `dohf').\n"
  17403. +
  17404. +#: src/main.c:302
  17405. +msgid ""
  17406. +"Unless DEFAULT_CHARSET is set in environment, CHARSET defaults to the locale\n"
  17407. +"dependent encoding, determined by LC_ALL, LC_CTYPE, LANG.\n"
  17408. +msgstr ""
  17409. +"A menos que DEFAULT_CHARSET esteja setado no ambiente, o CHARSET padrão é o\n"
  17410. +"local, determinado por LC_ALL, LC_CTYPE, LANG.\n"
  17411. +
  17412. +#: src/main.c:307
  17413. +msgid ""
  17414. +"With -k, possible before charsets are listed for the given after CHARSET,\n"
  17415. +"both being tabular charsets, with PAIRS of the form `BEF1:AFT1,BEF2:AFT2,...'\n"
  17416. +"and BEFs and AFTs being codes are given as decimal numbers.\n"
  17417. +msgstr ""
  17418. +"Com -k, são listados os conjuntos de caracteres de entrada possíveis para o\n"
  17419. +"CHARSET charset fornecido, com PARES no formato `INI1:FIN1,INI2:BEF2,...'\n"
  17420. +"sendo INIs e FINs os respectivos códigos em notação decimal.\n"
  17421. +
  17422. +#: src/main.c:312
  17423. +msgid "LN is some language, it may be `c', `perl' or `po'; `c' is the default.\n"
  17424. +msgstr "LN é alguma linguagem, pode ser `c', `perl' ou `po'; `c' é o padrão.\n"
  17425. +
  17426. +#: src/main.c:315
  17427. +msgid ""
  17428. +"\n"
  17429. +"REQUEST is SUBREQUEST[,SUBREQUEST]...; SUBREQUEST is ENCODING[..ENCODING]...\n"
  17430. +"ENCODING is [CHARSET][/[SURFACE]]...; REQUEST often looks like BEFORE..AFTER,\n"
  17431. +"with BEFORE and AFTER being charsets. An omitted CHARSET implies the usual\n"
  17432. +"charset; an omitted [/SURFACE]... means the implied surfaces for CHARSET; a /\n"
  17433. +"with an empty surface name means no surfaces at all. See the manual.\n"
  17434. +msgstr ""
  17435. +"\n"
  17436. +"REQUEST é SUBREQUEST[,SUBREQUEST]...; SUBREQUEST é ENCODING[..ENCODING]...\n"
  17437. +"ENCODING é [CHARSET][/[SURFACE]]...; REQUEST geralmente é BEFORE..AFTER,\n"
  17438. +"sendo BEFORE e AFTER conjuntos de caracters. Se CHARSET for omitido, é\n"
  17439. +"assumido o conjunto de caracteres usual; se [/SURFACE]... for omitida, são\n"
  17440. +"assumidas as superfícies implicadas para o CHARSET; uma / com um nome vazio de\n"
  17441. +"superfície significa nenhuma superfície. Veja a documentação.\n"
  17442. +
  17443. +#: src/main.c:323
  17444. +msgid ""
  17445. +"\n"
  17446. +"If none of -i and -p are given, presume -p if no FILE, else -i.\n"
  17447. +"Each FILE is recoded over itself, destroying the original. If no\n"
  17448. +"FILE is specified, then act as a filter and recode stdin to stdout.\n"
  17449. +msgstr ""
  17450. +"\n"
  17451. +"Na ausência de -i e -p, assumir -p se não houver ARQUIVO, ou então -i.\n"
  17452. +"Cada ARQUIVO é recodificado para ele nesmo, destruindo o original. Se não for\n"
  17453. +"indicado ARQUIVO, atua como um filtro convertendo do stdin para stdout.\n"
  17454. +
  17455. +#: src/main.c:329
  17456. +msgid ""
  17457. +"\n"
  17458. +"Report bugs to <recode-bugs@iro.umontreal.ca>.\n"
  17459. +msgstr ""
  17460. +"\n"
  17461. +"Informe os erros para <recode-bugs@iro.umontreal.ca>.\n"
  17462. +
  17463. +#: src/main.c:430
  17464. +#, c-format
  17465. +msgid "Sequence `%s' is ambiguous"
  17466. +msgstr "A seqüencia `%s' é ambígua"
  17467. +
  17468. +#: src/main.c:434
  17469. +#, c-format
  17470. +msgid "Sequence `%s' is unknown"
  17471. +msgstr "A seqüencia `%s' é desconhecida"
  17472. +
  17473. +#: src/main.c:464 src/main.c:522
  17474. +#, c-format
  17475. +msgid "Language `%s' is ambiguous"
  17476. +msgstr "A linguagem `%s' é ambígua"
  17477. +
  17478. +#. -1
  17479. +#: src/main.c:468 src/main.c:526
  17480. +#, c-format
  17481. +msgid "Language `%s' is unknown"
  17482. +msgstr "A linguagem `%s' é desconhecida"
  17483. +
  17484. +#: src/main.c:560
  17485. +#, c-format
  17486. +msgid "Format `%s' is ambiguous"
  17487. +msgstr "O formato `%s' é ambíguo"
  17488. +
  17489. +#: src/main.c:564
  17490. +#, c-format
  17491. +msgid "Format `%s' is unknown"
  17492. +msgstr "O formato `%s' é desconhecido"
  17493. +
  17494. +#: src/main.c:621
  17495. +msgid "Written by Franc,ois Pinard <pinard@iro.umontreal.ca>.\n"
  17496. +msgstr "Escrito por François Pinard <pinard@iro.umontreal.ca>.\n"
  17497. +
  17498. +#: src/main.c:624
  17499. +msgid ""
  17500. +"\n"
  17501. +"Copyright (C) 1990, 92, 93, 94, 96, 97, 99 Free Software Foundation, Inc.\n"
  17502. +msgstr ""
  17503. +"\n"
  17504. +"Copyright © 1990, 92, 93, 94, 96, 97, 99 Free Software Foundation, Inc.\n"
  17505. +
  17506. +#: src/main.c:628
  17507. +msgid ""
  17508. +"This is free software; see the source for copying conditions. There is NO\n"
  17509. +"warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n"
  17510. +msgstr ""
  17511. +"Este programa é software livre; veja o código fonte para condições de cópia.\n"
  17512. +"NÃO HÁ GARANTIA; nem mesmo de COMERCIABILIDADE ou ADEQUAÇÃO A QUALQUER\n"
  17513. +"FIM PARTICULAR.\n"
  17514. +
  17515. +#: src/main.c:669
  17516. +#, c-format
  17517. +msgid "Symbol `%s' is unknown"
  17518. +msgstr "O símbolo `%s' é desconhecido"
  17519. +
  17520. +#: src/main.c:709 src/main.c:723
  17521. +#, c-format
  17522. +msgid "Charset `%s' is unknown or ambiguous"
  17523. +msgstr "O conjunto de caracteres `%s' é desconhecido ou ambíguo"
  17524. +
  17525. +#: src/main.c:754
  17526. +msgid "Required argument is missing"
  17527. +msgstr "Falta argumento obrigatório"
  17528. +
  17529. +#: src/main.c:797
  17530. +#, c-format
  17531. +msgid "Syntax is deprecated, please prefer `%s'"
  17532. +msgstr "Sintaxe obsoleta, por favor use `%s'"
  17533. +
  17534. +#: src/main.c:803
  17535. +#, c-format
  17536. +msgid "Request `%s' is erroneous"
  17537. +msgstr "Requisição `%s' está errada"
  17538. +
  17539. +#: src/main.c:903
  17540. +#, c-format
  17541. +msgid "Recoding %s..."
  17542. +msgstr "Recodificando %s..."
  17543. +
  17544. +#: src/main.c:913
  17545. +msgid " done\n"
  17546. +msgstr " feito\n"
  17547. +
  17548. +#: src/main.c:954
  17549. +#, c-format
  17550. +msgid " failed: %s in step `%s..%s'\n"
  17551. +msgstr " falhou: %s no passo `%s..%s'\n"
  17552. +
  17553. +#: src/main.c:961
  17554. +#, c-format
  17555. +msgid "%s failed: %s in step `%s..%s'"
  17556. +msgstr "%s falhou: %s no passo `%s..%s'"
  17557. +
  17558. +#: src/main.c:984
  17559. +#, c-format
  17560. +msgid "%s in step `%s..%s'"
  17561. +msgstr "%s no passo %s..%s"
  17562. +
  17563. +#: src/names.c:335
  17564. +#, c-format
  17565. +msgid "Charset %s already exists and is not %s"
  17566. +msgstr "O conjunto de caracteres %s já existe e não é %s"
  17567. +
  17568. +#: src/names.c:831
  17569. +#, c-format
  17570. +msgid "Cannot list `%s', no names available for this charset"
  17571. +msgstr "Impossível listar `%s', não existem nomes disponíveis para este charset"
  17572. +
  17573. +#. code counter
  17574. +#. expected value for code counter
  17575. +#. insert a while line before printing
  17576. +#. Print the long table according to explode data.
  17577. +#: src/names.c:984 src/names.c:1030
  17578. +#, c-format
  17579. +msgid "Dec Oct Hex UCS2 Mne %s\n"
  17580. +msgstr "Dec Oct Hex UCS2 Mne %s\n"
  17581. +
  17582. +#: src/names.c:1049
  17583. +#, c-format
  17584. +msgid "Sorry, no names available for `%s'"
  17585. +msgstr "Desculpe, não existem nomes disponíveis para `%s'"
  17586. +
  17587. +#: src/outer.c:125
  17588. +#, c-format
  17589. +msgid "Resurfacer set more than once for `%s'"
  17590. +msgstr "Resurfacer setado mais de uma vez para `%s'"
  17591. +
  17592. +#: src/outer.c:133
  17593. +#, c-format
  17594. +msgid "Unsurfacer set more than once for `%s'"
  17595. +msgstr "Unsurfacer setado mais de uma vez para `%s'"
  17596. +
  17597. +#: src/recode.c:115 src/recode.c:127
  17598. +msgid "Virtual memory exhausted"
  17599. +msgstr "Memória virtual esgotada"
  17600. +
  17601. +#: src/recode.c:155
  17602. +#, c-format, ycp-format
  17603. +msgid "Codes %3d and %3d both recode to %3d"
  17604. +msgstr "Ambos os códigos %3d e %3d são recodificados para %3d"
  17605. +
  17606. +#: src/recode.c:169
  17607. +#, c-format, ycp-format
  17608. +msgid "No character recodes to %3d"
  17609. +msgstr "Nenhum caracter é recodificado para %3d"
  17610. +
  17611. +#: src/recode.c:170
  17612. +msgid "Cannot invert given one-to-one table"
  17613. +msgstr "Impossível inverter a tabela um-para-um fornecida"
  17614. +
  17615. +#: src/recode.c:224 src/recode.c:236
  17616. +#, c-format
  17617. +msgid "Following diagnostics for `%s' to `%s'"
  17618. +msgstr "Os seguintes diagnósticos aplica-se de `%s' para `%s'"
  17619. +
  17620. +#: src/recode.c:229 src/recode.c:241
  17621. +#, c-format
  17622. +msgid "Pair no. %d: <%3d, %3d> conflicts with <%3d, %3d>"
  17623. +msgstr "Par nº %d: <%3d, %3d> em conflito com <%3d, %3d>"
  17624. +
  17625. +#: src/recode.c:272
  17626. +msgid "Cannot complete table from set of known pairs"
  17627. +msgstr "Impossível completar a tabela a partir do conjunto de pares conhecidos"
  17628. +
  17629. +#: src/recode.c:497
  17630. +msgid "Identity recoding, not worth a table"
  17631. +msgstr "A recodificação identidade não precisa de uma tabela"
  17632. +
  17633. +#: src/recode.c:504
  17634. +msgid "Recoding is too complex for a mere table"
  17635. +msgstr "Recodificação muito complexa para uma mera tabela"
  17636. +
  17637. +#. Print the header of the header file.
  17638. +#: src/recode.c:536
  17639. +#, c-format
  17640. +msgid "%sConversion table generated mechanically by Free `%s' %s"
  17641. +msgstr "%sTabela de conversão gerada automaticamente por Free `%s' %s"
  17642. +
  17643. +#: src/recode.c:538
  17644. +#, c-format
  17645. +msgid "%sfor sequence %s.%s"
  17646. +msgstr "%spara a sequência %s.%s"
  17647. +
  17648. +#: src/recode.c:744
  17649. +msgid "No table to print"
  17650. +msgstr "Nenhuma tabela para imprimir"
  17651. +
  17652. +#: src/request.c:34
  17653. +msgid "reversible"
  17654. +msgstr "reversível"
  17655. +
  17656. +#: src/request.c:36
  17657. +#, c-format
  17658. +msgid "%s to %s"
  17659. +msgstr "%s para %s"
  17660. +
  17661. +#: src/request.c:37 src/request.c:39
  17662. +msgid "byte"
  17663. +msgstr "byte"
  17664. +
  17665. +#: src/request.c:38 src/request.c:40
  17666. +msgid "ucs2"
  17667. +msgstr "ucs2"
  17668. +
  17669. +#: src/request.c:38 src/request.c:40
  17670. +msgid "variable"
  17671. +msgstr "variável"
  17672. +
  17673. +#: src/request.c:111
  17674. +msgid "*Unachievable*"
  17675. +msgstr "*Impossível*"
  17676. +
  17677. +#: src/request.c:113
  17678. +msgid "*mere copy*"
  17679. +msgstr "*simples cópia*"
  17680. +
  17681. +#: src/request.c:246
  17682. +msgid "Virtual memory exhausted!"
  17683. +msgstr "Memória virtual esgotada!"
  17684. +
  17685. +#: src/request.c:265
  17686. +msgid "Step initialisation failed"
  17687. +msgstr "A inicialização dos passos falhou"
  17688. +
  17689. +#: src/request.c:272
  17690. +msgid "Step initialisation failed (unprocessed options)"
  17691. +msgstr "A inicialização dos passos falhou (opções não foram processadas)"
  17692. +
  17693. +#: src/request.c:568
  17694. +#, c-format
  17695. +msgid "Request: %s\n"
  17696. +msgstr "Requisição: %s\n"
  17697. +
  17698. +#: src/request.c:720
  17699. +#, c-format
  17700. +msgid "Shrunk to: %s\n"
  17701. +msgstr "Encolhido para: %s\n"
  17702. +
  17703. +#: src/request.c:823 src/request.c:932
  17704. +#, c-format
  17705. +msgid "Unrecognised surface name `%s'"
  17706. +msgstr "Nome de superfície `%s' não reconhecido"
  17707. +
  17708. +#: src/request.c:903
  17709. +#, c-format
  17710. +msgid "No way to recode from `%s' to `%s'"
  17711. +msgstr "Impossível recodificar de `%s' para `%s'"
  17712. +
  17713. +#: src/request.c:1013
  17714. +msgid "Expecting `..' in request"
  17715. +msgstr "Esperado `..' na requisição"
  17716. +
  17717. +#: src/task.c:826 src/task.c:1002
  17718. +#, c-format
  17719. +msgid "Child process wait status is 0x%0.2x"
  17720. +msgstr "O estado de espera do processo filho é 0x%0.2x"
  17721. +
  17722. +#: src/testdump.c:298
  17723. +msgid ""
  17724. +"UCS2 Mne Description\n"
  17725. +"\n"
  17726. +msgstr ""
  17727. +"UCS2 Mne Descrição\n"
  17728. +"\n"
  17729. --- recode-3.6.orig/i18n/sv.po
  17730. +++ recode-3.6/i18n/sv.po
  17731. @@ -1,13 +1,13 @@
  17732. # Swedish messages for recode
  17733. -# Copyright © 1996, 1998 Free Software Foundation, Inc.
  17734. -# Jan Djärv <Jan.Djarv@mbox200.swipnet.se>, 1996, 1998.
  17735. -# $Revision: 1.14 $
  17736. +# Copyright © 1996, 1998, 2001 Free Software Foundation, Inc.
  17737. +# Jan Djärv <Jan.Djarv@mbox200.swipnet.se>, 1996, 1998, 2001.
  17738. +# Revision: 1.16
  17739. #
  17740. msgid ""
  17741. msgstr ""
  17742. -"Project-Id-Version: recode 3.5\n"
  17743. +"Project-Id-Version: recode 3.6\n"
  17744. "POT-Creation-Date: 2001-01-02 22:35+0100\n"
  17745. -"PO-Revision-Date: 1999-10-16 13:42 +02:00\n"
  17746. +"PO-Revision-Date: 2001-06-12 12:54+0100\n"
  17747. "Last-Translator: Jan Djärv <Jan.Djarv@mbox200.swipnet.se>\n"
  17748. "Language-Team: Swedish <sv@li.org>\n"
  17749. "MIME-Version: 1.0\n"
  17750. @@ -66,8 +66,7 @@
  17751. "informativt syfte. För alla juridiska tolkningar gäller den engelska\n"
  17752. "originaltexten.\n"
  17753. "\n"
  17754. -"Detta program är fri programvara. Du kan distribuera den och/eller "
  17755. -"modifiera\n"
  17756. +"Detta program är fri programvara. Du kan distribuera den och/eller modifiera\n"
  17757. "den under villkoren i GNU General Public License, publicerad av\n"
  17758. "Free Software Foundation, antingen version 2 eller (om du så vill)\n"
  17759. "någon senare version.\n"
  17760. @@ -78,8 +77,7 @@
  17761. "Public License för ytterligare information.\n"
  17762. "\n"
  17763. "Du bör ha fått en kopia av GNU General Public License\n"
  17764. -"tillsammans med detta program. Om inte, skriv till Free Software "
  17765. -"Foundation,\n"
  17766. +"tillsammans med detta program. Om inte, skriv till Free Software Foundation,\n"
  17767. "Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n"
  17768. #: src/main.c:233
  17769. @@ -88,19 +86,13 @@
  17770. msgstr "Försök med \"%s %s\" för mer information\n"
  17771. #: src/main.c:237
  17772. -msgid ""
  17773. -"Free `recode' converts files between various character sets and surfaces.\n"
  17774. -msgstr ""
  17775. -"Fria \"recode\" konverterar filer mellan olika teckenuppsättningar och ytor\n"
  17776. +msgid "Free `recode' converts files between various character sets and surfaces.\n"
  17777. +msgstr "Fria \"recode\" konverterar filer mellan olika teckenuppsättningar och ytor.\n"
  17778. #: src/main.c:241
  17779. #, c-format
  17780. -msgid ""
  17781. -"\n"
  17782. -"Usage: %s [OPTION]... [ [CHARSET] | REQUEST [FILE]... ]\n"
  17783. -msgstr ""
  17784. -"\n"
  17785. -"Användning: %s [FLAGGA]... [ [TECKENUPPSÄTTNING] | BEGÄRAN [FIL]...]\n"
  17786. +msgid "\nUsage: %s [OPTION]... [ [CHARSET] | REQUEST [FILE]... ]\n"
  17787. +msgstr "\nAnvändning: %s [FLAGGA]... [ [TECKENUPPSÄTTNING] | BEGÄRAN [FIL]...]\n"
  17788. #: src/main.c:244
  17789. msgid ""
  17790. @@ -110,17 +102,14 @@
  17791. msgstr ""
  17792. "\n"
  17793. "Om en lång flagga har ett obligatoriskt argument så är argumentet även\n"
  17794. -"obligatoriskt för motsvarade korta flagga. Motsvarande för valfria "
  17795. -"argument.\n"
  17796. +"obligatoriskt för motsvarade korta flagga. Motsvarande för valfria argument.\n"
  17797. #: src/main.c:250
  17798. -#, fuzzy
  17799. msgid ""
  17800. "\n"
  17801. "Listings:\n"
  17802. " -l, --list[=FORMAT] list one or all known charsets and aliases\n"
  17803. -" -k, --known=PAIRS restrict charsets according to known PAIRS "
  17804. -"list\n"
  17805. +" -k, --known=PAIRS restrict charsets according to known PAIRS list\n"
  17806. " -h, --header[=[LN/]NAME] write table NAME on stdout using LN, then exit\n"
  17807. " -F, --freeze-tables write out a C module holding all tables\n"
  17808. " -T, --find-subsets report all charsets being subset of others\n"
  17809. @@ -131,15 +120,13 @@
  17810. "\n"
  17811. "Listningar:\n"
  17812. " -l, --list[=FORMAT] visa en eller alla kända teckenuppsättningar\n"
  17813. -" -k, --known=PAR begränsa teckenuppsättningar till de i PAR "
  17814. -"listan\n"
  17815. +" -k, --known=PAR begränsa teckenuppsättningar till de i PAR-listan\n"
  17816. " -h, --header[=[LN/]NAMN] skriv tabell NAMN för LN till standard ut\n"
  17817. " och avsluta.\n"
  17818. " -F, --freeze-tables skriv ut en C modul med alla tabeller\n"
  17819. " -T, --find-subsets skriv ut teckenuppsättningar som är delmängder\n"
  17820. " av andra\n"
  17821. -" -C, --copyright visa copyrightinformation och "
  17822. -"kopieringsvillkor\n"
  17823. +" -C, --copyright visa copyrightinformation och kopieringsvillkor\n"
  17824. " --help visa denna hjälptext och avsluta\n"
  17825. " --version visa versionsinformation och avsluta\n"
  17826. @@ -157,11 +144,9 @@
  17827. "\n"
  17828. "Exekveringsalternativ:\n"
  17829. " -v, --verbose förklara delsteg och rapportera framsteg\n"
  17830. -" -q, --quiet, --silent undertryck meddelanden om irreversibla "
  17831. -"omkodningar\n"
  17832. +" -q, --quiet, --silent undertryck meddelanden om irreversibla omkodningar\n"
  17833. " -f, --force gör omkodning även när den är irreversibel\n"
  17834. -" -t, --touch gör \"touch\" på filer som omkodas över sig "
  17835. -"själva\n"
  17836. +" -t, --touch gör \"touch\" på filer som omkodas över sig själva\n"
  17837. " -i, --sequence=files använd temporärfiler mellan delsteg\n"
  17838. " --sequence=memory använd minnesbuffertar mellan delsteg\n"
  17839. @@ -204,25 +189,22 @@
  17840. msgstr ""
  17841. "\n"
  17842. "Flagga -l utan FORMAT och TECKENUPPSÄTTNING visar alla tillgängliga\n"
  17843. -"teckenuppsättningar och ytor. FORMAT är \"decimal\", \"octal\", "
  17844. -"\"hexadecimal\"\n"
  17845. +"teckenuppsättningar och ytor. FORMAT är \"decimal\", \"octal\", \"hexadecimal\"\n"
  17846. "eller \"full\" (eller en av \"dohf\").\n"
  17847. #: src/main.c:302
  17848. -#, fuzzy
  17849. msgid ""
  17850. -"Unless DEFAULT_CHARSET is set in environment, CHARSET defaults to the "
  17851. -"locale\n"
  17852. +"Unless DEFAULT_CHARSET is set in environment, CHARSET defaults to the locale\n"
  17853. "dependent encoding, determined by LC_ALL, LC_CTYPE, LANG.\n"
  17854. msgstr ""
  17855. "Om miljövariabeln DEFAULT_CHARSET inte är satt blir standardvärdet för\n"
  17856. -"TECKENUPPSÄTTNING \"%s\"\n"
  17857. +"TECKENUPPSÄTTNING den lokalspecifika kodningen, som bestäms av\n"
  17858. +"miljövariablerna LC_ALL, LC_CTYPE och LANG.\n"
  17859. #: src/main.c:307
  17860. msgid ""
  17861. "With -k, possible before charsets are listed for the given after CHARSET,\n"
  17862. -"both being tabular charsets, with PAIRS of the form "
  17863. -"`BEF1:AFT1,BEF2:AFT2,...'\n"
  17864. +"both being tabular charsets, with PAIRS of the form `BEF1:AFT1,BEF2:AFT2,...'\n"
  17865. "and BEFs and AFTs being codes are given as decimal numbers.\n"
  17866. msgstr ""
  17867. "Med -k, möjliga startuppsättningar visas för den givna slutuppsättningen,\n"
  17868. @@ -231,28 +213,21 @@
  17869. "som anges med decimala tal.\n"
  17870. #: src/main.c:312
  17871. -msgid ""
  17872. -"LN is some language, it may be `c', `perl' or `po'; `c' is the default.\n"
  17873. -msgstr ""
  17874. -"LN är ett språk, det kan vara \"c\", \"perl\" eller \"po\"; \"c\" är "
  17875. -"standardvärde.\n"
  17876. +msgid "LN is some language, it may be `c', `perl' or `po'; `c' is the default.\n"
  17877. +msgstr "LN är ett språk, det kan vara \"c\", \"perl\" eller \"po\"; \"c\" är standardvärde.\n"
  17878. #: src/main.c:315
  17879. msgid ""
  17880. "\n"
  17881. -"REQUEST is SUBREQUEST[,SUBREQUEST]...; SUBREQUEST is "
  17882. -"ENCODING[..ENCODING]...\n"
  17883. -"ENCODING is [CHARSET][/[SURFACE]]...; REQUEST often looks like "
  17884. -"BEFORE..AFTER,\n"
  17885. +"REQUEST is SUBREQUEST[,SUBREQUEST]...; SUBREQUEST is ENCODING[..ENCODING]...\n"
  17886. +"ENCODING is [CHARSET][/[SURFACE]]...; REQUEST often looks like BEFORE..AFTER,\n"
  17887. "with BEFORE and AFTER being charsets. An omitted CHARSET implies the usual\n"
  17888. -"charset; an omitted [/SURFACE]... means the implied surfaces for CHARSET; a "
  17889. -"/\n"
  17890. +"charset; an omitted [/SURFACE]... means the implied surfaces for CHARSET; a /\n"
  17891. "with an empty surface name means no surfaces at all. See the manual.\n"
  17892. msgstr ""
  17893. "\n"
  17894. "BEGÄRAN är DELBEGÄRAN[,DELBEGÄRAN]..., DELBEGÄRAN är KODNING[..KODNING]...\n"
  17895. -"KODNING är [TECKENUPPSÄTTNING][/[YTA]].... BEGÄRAN ser ofta ut som "
  17896. -"START..SLUT,\n"
  17897. +"KODNING är [TECKENUPPSÄTTNING][/[YTA]].... BEGÄRAN ser ofta ut som START..SLUT,\n"
  17898. "där START och SLUT är teckenuppsättningar. Ett utelämnat TECKENUPPSÄTTNING\n"
  17899. "innebär den normala teckenuppsättningen,\n"
  17900. "en utelämnad [/YTA]... innebär den normala ytan för TECKENUPPSÄTTNING.\n"
  17901. @@ -272,9 +247,7 @@
  17902. "till standard ut.\n"
  17903. #: src/main.c:329
  17904. -msgid ""
  17905. -"\n"
  17906. -"Report bugs to <recode-bugs@iro.umontreal.ca>.\n"
  17907. +msgid "\nReport bugs to <recode-bugs@iro.umontreal.ca>.\n"
  17908. msgstr ""
  17909. "\n"
  17910. "Rapportera fel till <recode-bugs@iro.umontreal.ca>.\n"
  17911. @@ -283,48 +256,41 @@
  17912. #: src/main.c:430
  17913. #, c-format
  17914. msgid "Sequence `%s' is ambiguous"
  17915. -msgstr ""
  17916. +msgstr "Sekvens \"%s\" är tvetydig"
  17917. #: src/main.c:434
  17918. #, c-format
  17919. msgid "Sequence `%s' is unknown"
  17920. -msgstr ""
  17921. +msgstr "Sekvens \"%s\" är okänd"
  17922. #: src/main.c:464 src/main.c:522
  17923. #, c-format
  17924. msgid "Language `%s' is ambiguous"
  17925. -msgstr ""
  17926. +msgstr "Språk \"%s\" är tvetydigt"
  17927. #. -1
  17928. #: src/main.c:468 src/main.c:526
  17929. #, c-format
  17930. msgid "Language `%s' is unknown"
  17931. -msgstr ""
  17932. +msgstr "Språk \"%s\" är okänt"
  17933. #: src/main.c:560
  17934. #, c-format
  17935. msgid "Format `%s' is ambiguous"
  17936. -msgstr ""
  17937. +msgstr "Format \"%s\" är tvetydigt"
  17938. #: src/main.c:564
  17939. #, c-format
  17940. msgid "Format `%s' is unknown"
  17941. -msgstr ""
  17942. +msgstr "Format \"%s\" är okänt"
  17943. #: src/main.c:621
  17944. -#, fuzzy
  17945. msgid "Written by Franc,ois Pinard <pinard@iro.umontreal.ca>.\n"
  17946. -msgstr ""
  17947. -"\n"
  17948. -"Skriven av François Pinard <pinard@iro.umontreal.ca>.\n"
  17949. +msgstr "Skriven av François Pinard <pinard@iro.umontreal.ca>.\n"
  17950. #: src/main.c:624
  17951. -msgid ""
  17952. -"\n"
  17953. -"Copyright (C) 1990, 92, 93, 94, 96, 97, 99 Free Software Foundation, Inc.\n"
  17954. -msgstr ""
  17955. -"\n"
  17956. -"Copyright © 1990, 92, 93, 94, 96, 97, 1999 Free Software Foundation, Inc.\n"
  17957. +msgid "\nCopyright (C) 1990, 92, 93, 94, 96, 97, 99 Free Software Foundation, Inc.\n"
  17958. +msgstr "\nCopyright © 1990, 92, 93, 94, 96, 97, 1999 Free Software Foundation, Inc.\n"
  17959. #: src/main.c:628
  17960. msgid ""
  17961. @@ -338,26 +304,26 @@
  17962. #: src/main.c:669
  17963. #, c-format
  17964. msgid "Symbol `%s' is unknown"
  17965. -msgstr ""
  17966. +msgstr "Symbol \"%s\" är okänd"
  17967. #: src/main.c:709 src/main.c:723
  17968. #, c-format
  17969. msgid "Charset `%s' is unknown or ambiguous"
  17970. -msgstr ""
  17971. +msgstr "Teckenuppsättning \"%s\" är okänd eller tvetydig"
  17972. #: src/main.c:754
  17973. msgid "Required argument is missing"
  17974. -msgstr ""
  17975. +msgstr "Obligatoriskt argument saknas"
  17976. #: src/main.c:797
  17977. -#, fuzzy, c-format
  17978. +#, c-format
  17979. msgid "Syntax is deprecated, please prefer `%s'"
  17980. msgstr "Föråldrad syntax, använd hellre \"%s\""
  17981. #: src/main.c:803
  17982. #, c-format
  17983. msgid "Request `%s' is erroneous"
  17984. -msgstr ""
  17985. +msgstr "Begäran \"%s\" är felaktig"
  17986. #: src/main.c:903
  17987. #, c-format
  17988. @@ -369,19 +335,19 @@
  17989. msgstr " klart\n"
  17990. #: src/main.c:954
  17991. -#, fuzzy, c-format
  17992. +#, c-format
  17993. msgid " failed: %s in step `%s..%s'\n"
  17994. -msgstr " misslyckades: %s i %s..%s\n"
  17995. +msgstr " misslyckades: %s i steg \"%s..%s\"\n"
  17996. #: src/main.c:961
  17997. -#, fuzzy, c-format
  17998. +#, c-format
  17999. msgid "%s failed: %s in step `%s..%s'"
  18000. -msgstr "%s misslyckades: %s i %s..%s"
  18001. +msgstr "%s misslyckades: %s i steg \"%s..%s\""
  18002. #: src/main.c:984
  18003. -#, fuzzy, c-format
  18004. +#, c-format
  18005. msgid "%s in step `%s..%s'"
  18006. -msgstr "%s i %s..%s"
  18007. +msgstr "%s i steg \"%s..%s\""
  18008. #: src/names.c:335
  18009. #, c-format
  18010. @@ -391,8 +357,7 @@
  18011. #: src/names.c:831
  18012. #, c-format
  18013. msgid "Cannot list `%s', no names available for this charset"
  18014. -msgstr ""
  18015. -"Kan inte visa \"%s\", inga namn tillgängliga för denna teckenuppsättning"
  18016. +msgstr "Kan inte visa \"%s\", inga namn tillgängliga för denna teckenuppsättning"
  18017. #. code counter
  18018. #. expected value for code counter
  18019. @@ -423,12 +388,12 @@
  18020. msgstr "Virtuellt minne slut"
  18021. #: src/recode.c:155
  18022. -#, c-format, ycp-format
  18023. +#, c-format
  18024. msgid "Codes %3d and %3d both recode to %3d"
  18025. msgstr "Teckenkoderna %3d och %3d omkodas båda till %3d"
  18026. #: src/recode.c:169
  18027. -#, c-format, ycp-format
  18028. +#, c-format
  18029. msgid "No character recodes to %3d"
  18030. msgstr "Inget tecken omkodas till %3d"
  18031. @@ -504,7 +469,7 @@
  18032. #: src/request.c:246
  18033. msgid "Virtual memory exhausted!"
  18034. -msgstr "Virtuellt minne slut"
  18035. +msgstr "Virtuellt minne slut!"
  18036. #: src/request.c:265
  18037. msgid "Step initialisation failed"
  18038. @@ -527,7 +492,7 @@
  18039. #: src/request.c:823 src/request.c:932
  18040. #, c-format
  18041. msgid "Unrecognised surface name `%s'"
  18042. -msgstr "Okänt ytnamn: \"%s\""
  18043. +msgstr "Okänt ytnamn \"%s\""
  18044. #: src/request.c:903
  18045. #, c-format
  18046. @@ -541,38 +506,8 @@
  18047. #: src/task.c:826 src/task.c:1002
  18048. #, c-format
  18049. msgid "Child process wait status is 0x%0.2x"
  18050. -msgstr "Barnprocess slutstatus är 0x%0.2x"
  18051. +msgstr "Barnprocessens slutstatus är 0x%0.2x"
  18052. #: src/testdump.c:298
  18053. -msgid ""
  18054. -"UCS2 Mne Description\n"
  18055. -"\n"
  18056. -msgstr ""
  18057. -"UCS2 Mne Beskrivning\n"
  18058. -"\n"
  18059. -
  18060. -#~ msgid "CHARSET has no default, define DEFAULT_CHARSET in the environment.\n"
  18061. -#~ msgstr ""
  18062. -#~ "TECKENUPPSÄTTNING har inget standardvärde, sätt miljövariabeln "
  18063. -#~ "DEFAULT_CHARSET.\n"
  18064. -
  18065. -#~ msgid "Ambiguous sequence `%s'"
  18066. -#~ msgstr "Tvetydig sekvens \"%s\""
  18067. -
  18068. -#~ msgid "Unknown sequence `%s'"
  18069. -#~ msgstr "Okänd sekvens \"%s\""
  18070. -
  18071. -#~ msgid "Ambiguous language `%s'"
  18072. -#~ msgstr "Tvetydigt språk \"%s\""
  18073. -
  18074. -#~ msgid "Unknown language `%s'"
  18075. -#~ msgstr "Okänt språk \"%s\""
  18076. -
  18077. -#~ msgid "Ambiguous format `%s'"
  18078. -#~ msgstr "Tvetydigt format \"%s\""
  18079. -
  18080. -#~ msgid "Unknown format `%s'"
  18081. -#~ msgstr "Okänt format \"%s\""
  18082. -
  18083. -#~ msgid "Erroneous request `%s'"
  18084. -#~ msgstr "Felaktig begäran \"%s\""
  18085. +msgid "UCS2 Mne Description\n\n"
  18086. +msgstr "UCS2 Mne Beskrivning\n\n"
  18087. --- recode-3.6.orig/i18n/fr.po
  18088. +++ recode-3.6/i18n/fr.po
  18089. @@ -1,17 +1,18 @@
  18090. # Messages français pour Free recode.
  18091. -# Copyright © 1996, 1998, 1999 Free Software Foundation, Inc.
  18092. -# François Pinard <pinard@iro.umontreal.ca>, 1996.
  18093. +# Copyright © 2004 Free Software Foundation, Inc.
  18094. +# Michel Robitaille <robitail@iro.umontreal.ca>, traduction depuis/since 1996.
  18095. #
  18096. msgid ""
  18097. msgstr ""
  18098. -"Project-Id-Version: Free recode 3.5\n"
  18099. +"Project-Id-Version: Free recode 3.6\n"
  18100. "POT-Creation-Date: 2001-01-02 22:35+0100\n"
  18101. -"PO-Revision-Date: 1999-08-17 14:14-04:00\n"
  18102. -"Last-Translator: François Pinard <pinard@iro.umontreal.ca>\n"
  18103. +"PO-Revision-Date: 2004-05-10 08:00-0500\n"
  18104. +"Last-Translator: Michel Robitaille <robitail@IRO.UMontreal.CA>\n"
  18105. "Language-Team: French <traduc@traduc.org>\n"
  18106. "MIME-Version: 1.0\n"
  18107. "Content-Type: text/plain; charset=ISO-8859-1\n"
  18108. "Content-Transfer-Encoding: 8-bit\n"
  18109. +"Plural-Forms: nplurals=2; plural=(n > 1);\n"
  18110. #: src/main.c:142
  18111. msgid "No error"
  18112. @@ -27,7 +28,7 @@
  18113. #: src/main.c:151
  18114. msgid "Untranslatable input"
  18115. -msgstr "Entrée non traductible"
  18116. +msgstr "Entrée non traduisible"
  18117. #: src/main.c:154
  18118. msgid "Invalid input"
  18119. @@ -78,14 +79,11 @@
  18120. #: src/main.c:233
  18121. #, c-format
  18122. msgid "Try `%s %s' for more information.\n"
  18123. -msgstr "Pour plus d'information, essayez «%s %s».\n"
  18124. +msgstr "Pour plus d'information, essayez « %s %s ».\n"
  18125. #: src/main.c:237
  18126. -msgid ""
  18127. -"Free `recode' converts files between various character sets and surfaces.\n"
  18128. -msgstr ""
  18129. -"« Free recode » transforme les jeux de caractères et les surfaces de "
  18130. -"fichiers\n"
  18131. +msgid "Free `recode' converts files between various character sets and surfaces.\n"
  18132. +msgstr "« Free recode » transforme les jeux de caractères et les surfaces de fichiers\n"
  18133. #: src/main.c:241
  18134. #, c-format
  18135. @@ -103,20 +101,16 @@
  18136. "for the equivalent short option also. Similarly for optional arguments.\n"
  18137. msgstr ""
  18138. "\n"
  18139. -"Un paramètre obligatoire pour une option de forme longue l'est aussi pour "
  18140. -"une\n"
  18141. -"option de forme courte. La même règle s'applique à un paramètre indiqué "
  18142. -"comme\n"
  18143. +"Un paramètre obligatoire pour une option de forme longue l'est aussi pour une\n"
  18144. +"option de forme courte. La même règle s'applique à un paramètre indiqué comme\n"
  18145. "étant optionnel.\n"
  18146. #: src/main.c:250
  18147. -#, fuzzy
  18148. msgid ""
  18149. "\n"
  18150. "Listings:\n"
  18151. " -l, --list[=FORMAT] list one or all known charsets and aliases\n"
  18152. -" -k, --known=PAIRS restrict charsets according to known PAIRS "
  18153. -"list\n"
  18154. +" -k, --known=PAIRS restrict charsets according to known PAIRS list\n"
  18155. " -h, --header[=[LN/]NAME] write table NAME on stdout using LN, then exit\n"
  18156. " -F, --freeze-tables write out a C module holding all tables\n"
  18157. " -T, --find-subsets report all charsets being subset of others\n"
  18158. @@ -126,16 +120,11 @@
  18159. msgstr ""
  18160. "\n"
  18161. "Listes:\n"
  18162. -" -l, --list[=FORMAT] afficher un charset donné, ou fournir toute la "
  18163. -"liste\n"
  18164. -" -k, --known=PAIRES choisir les charsets selon quelques PAIRES "
  18165. -"connues\n"
  18166. -" -h, --header[=[LN/]NOM] tabuler NOM sur stdout, utilisant LN, puis "
  18167. -"terminer\n"
  18168. -" -F, --freeze-tables produire un module C contenant toutes les "
  18169. -"tables\n"
  18170. -" -T, --find-subsets lister tout charset qui est sous-ensemble d'un "
  18171. -"autre\n"
  18172. +" -l, --list[=FORMAT] afficher un charset donné, ou fournir toute la liste\n"
  18173. +" -k, --known=PAIRES choisir les charsets selon quelques PAIRES connues\n"
  18174. +" -h, --header[=[LN/]NOM] tabuler NOM sur stdout, utilisant LN, puis terminer\n"
  18175. +" -F, --freeze-tables produire un module C contenant toutes les tables\n"
  18176. +" -T, --find-subsets lister tout charset qui est sous-ensemble d'un autre\n"
  18177. " -C, --copyright afficher les conditions de copie, puis terminer\n"
  18178. " --help fournir ce message d'aide, puis terminer\n"
  18179. " --version identifier la programme, puis terminer\n"
  18180. @@ -153,20 +142,16 @@
  18181. msgstr ""
  18182. "\n"
  18183. "Modes d'opération:\n"
  18184. -" -v, --verbose afficher les étapes prévues, suivre la "
  18185. -"progression\n"
  18186. -" -q, --quiet, --silent taire les messages sur les recodages "
  18187. -"irréversibles\n"
  18188. +" -v, --verbose afficher les étapes prévues, suivre la progression\n"
  18189. +" -q, --quiet, --silent taire les messages sur les recodages irréversibles\n"
  18190. " -f, --force effectuer même les recodages irréversibles\n"
  18191. -" -t, --touch «touch»er les fichiers après leur remplacement\n"
  18192. -" -i, --sequence=files fabriquer des fichiers pour ordonnancer les "
  18193. -"passes\n"
  18194. +" -t, --touch toucher les fichiers après leur remplacement\n"
  18195. +" -i, --sequence=files fabriquer des fichiers pour ordonnancer les passes\n"
  18196. " --sequence=memory utiliser des tampons pour ordonnancer les passes\n"
  18197. #: src/main.c:275
  18198. msgid " -p, --sequence=pipe use pipe machinery for sequencing passes\n"
  18199. -msgstr ""
  18200. -" -p, --sequence=pipe utiliser «pipe» pour ordonnancer les passes\n"
  18201. +msgstr " -p, --sequence=pipe utiliser « pipe » pour ordonnancer les passes\n"
  18202. #: src/main.c:280
  18203. msgid " -p, --sequence=pipe same as -i (on this system)\n"
  18204. @@ -188,8 +173,8 @@
  18205. " -s, --strict recoder strictement, perte possible de caractères\n"
  18206. " -d, --diacritics se restreindre aux diacritiques pour HTML/LaTeX\n"
  18207. " -S, --source[=LN] ne recoder que les chaînes et les commentaires LN\n"
  18208. -" -c, --colons utiliser «:» plutôt que «\\\"» pour les trémas\n"
  18209. -" -g, --graphics convertir au mieux possible les «rulers» IBMPC\n"
  18210. +" -c, --colons utiliser « : » plutôt que « \\\" » pour les trémas\n"
  18211. +" -g, --graphics convertir au mieux possible les « rulers » IBMPC\n"
  18212. " -x, --ignore=CHARSET ignorer CHARSET durant le choix des étapes\n"
  18213. #: src/main.c:296
  18214. @@ -199,60 +184,48 @@
  18215. "FORMAT is `decimal', `octal', `hexadecimal' or `full' (or one of `dohf').\n"
  18216. msgstr ""
  18217. "\n"
  18218. -"L'option «-l» sans FORMAT ni CHARSET donne les charsets et surfaces "
  18219. -"disponibles.\n"
  18220. -"FORMAT vaut «decimal», «octal», «hexadecimal» ou «full», ou encore un "
  18221. -"caractère\n"
  18222. -"dans «dohf».\n"
  18223. +"L'option « -l » sans FORMAT ni CHARSET donne les charsets et surfaces disponibles.\n"
  18224. +"FORMAT vaut « decimal », « octal », « hexadecimal » ou « full », ou encore un caractère\n"
  18225. +"dans « dohf ».\n"
  18226. #: src/main.c:302
  18227. -#, fuzzy
  18228. msgid ""
  18229. -"Unless DEFAULT_CHARSET is set in environment, CHARSET defaults to the "
  18230. -"locale\n"
  18231. +"Unless DEFAULT_CHARSET is set in environment, CHARSET defaults to the locale\n"
  18232. "dependent encoding, determined by LC_ALL, LC_CTYPE, LANG.\n"
  18233. msgstr ""
  18234. -"«%s» est présumé sii DEFAULT_CHARSET n'est pas défini dans l'environnement.\n"
  18235. +"À moins que DEFAULT_CHARSET ne soit initialisé dans l'environnement,\n"
  18236. +"le CHARSET par défaut est locale selon l'encodage, déterminé par LC_ALL, LC_CTYPE, LANG.\n"
  18237. #: src/main.c:307
  18238. msgid ""
  18239. "With -k, possible before charsets are listed for the given after CHARSET,\n"
  18240. -"both being tabular charsets, with PAIRS of the form "
  18241. -"`BEF1:AFT1,BEF2:AFT2,...'\n"
  18242. +"both being tabular charsets, with PAIRS of the form `BEF1:AFT1,BEF2:AFT2,...'\n"
  18243. "and BEFs and AFTs being codes are given as decimal numbers.\n"
  18244. msgstr ""
  18245. "Avec -k, les charsets antécédents possibles sont listés pour le CHARSET\n"
  18246. "conséquent, tous deux étant des charsets RFC1345, restreints par les PAIRES\n"
  18247. -"dites selon la syntaxe «AVANT1:APRÈS1,AVANT2:APRÈS2,...»; chaque code AVANT\n"
  18248. +"dites selon la syntaxe « AVANT1:APRÈS1,AVANT2:APRÈS2,... »; chaque code AVANT\n"
  18249. "et APRÈS est exprimé en décimal.\n"
  18250. #: src/main.c:312
  18251. -msgid ""
  18252. -"LN is some language, it may be `c', `perl' or `po'; `c' is the default.\n"
  18253. -msgstr ""
  18254. -"LN est un langage de programmation, valant `c' (implicite), `perl' ou `po'.\n"
  18255. +msgid "LN is some language, it may be `c', `perl' or `po'; `c' is the default.\n"
  18256. +msgstr "LN est un langage de programmation, valant « c » (implicite), « perl » ou « po ».\n"
  18257. #: src/main.c:315
  18258. msgid ""
  18259. "\n"
  18260. -"REQUEST is SUBREQUEST[,SUBREQUEST]...; SUBREQUEST is "
  18261. -"ENCODING[..ENCODING]...\n"
  18262. -"ENCODING is [CHARSET][/[SURFACE]]...; REQUEST often looks like "
  18263. -"BEFORE..AFTER,\n"
  18264. +"REQUEST is SUBREQUEST[,SUBREQUEST]...; SUBREQUEST is ENCODING[..ENCODING]...\n"
  18265. +"ENCODING is [CHARSET][/[SURFACE]]...; REQUEST often looks like BEFORE..AFTER,\n"
  18266. "with BEFORE and AFTER being charsets. An omitted CHARSET implies the usual\n"
  18267. -"charset; an omitted [/SURFACE]... means the implied surfaces for CHARSET; a "
  18268. -"/\n"
  18269. +"charset; an omitted [/SURFACE]... means the implied surfaces for CHARSET; a /\n"
  18270. "with an empty surface name means no surfaces at all. See the manual.\n"
  18271. msgstr ""
  18272. "\n"
  18273. -"DEMANDE est SOUS-DEMANDE[,SOUS-DEMANDE]...; SOUS-DEMANDE est "
  18274. -"CODAGE[..CODAGE]...\n"
  18275. -"CODAGE est [CHARSET][/[SURFACE]]...; DEMANDE ressemble souvent à "
  18276. -"AVANT..APRÈs,\n"
  18277. +"DEMANDE est SOUS-DEMANDE[,SOUS-DEMANDE]...; SOUS-DEMANDE est CODAGE[..CODAGE]...\n"
  18278. +"CODAGE est [CHARSET][/[SURFACE]]...; DEMANDE ressemble souvent à AVANT..APRÈs,\n"
  18279. "AVANT et APRÈS étant des charsets. Un CHARSET omis sous-entend le charset\n"
  18280. "habituel; une [/SURFACE]... omise sous-entend les surfaces habituelles pour\n"
  18281. -"CHARSET; un / sans surface indique l'absence de toute surface. Voir le "
  18282. -"manuel!\n"
  18283. +"CHARSET; un / sans surface indique l'absence de toute surface. Voir le manuel!\n"
  18284. #: src/main.c:323
  18285. msgid ""
  18286. @@ -262,10 +235,9 @@
  18287. "FILE is specified, then act as a filter and recode stdin to stdout.\n"
  18288. msgstr ""
  18289. "\n"
  18290. -"En l'absence de «-i» ou «-p», choisir «-i» avec FICHIER, sinon «-p».\n"
  18291. +"En l'absence de « -i » ou « -p », choisir « -i » avec FICHIER, sinon « -p ».\n"
  18292. "Chaque FICHIER est recodé sur lui-même, détruisant l'original. Si aucun\n"
  18293. -"FICHIER n'est donné, alors agir comme un filtre et recoder stdin sur "
  18294. -"stdout.\n"
  18295. +"FICHIER n'est donné, alors agir comme un filtre et recoder stdin sur stdout.\n"
  18296. #: src/main.c:329
  18297. msgid ""
  18298. @@ -273,46 +245,42 @@
  18299. "Report bugs to <recode-bugs@iro.umontreal.ca>.\n"
  18300. msgstr ""
  18301. "\n"
  18302. -"Rapporter tout disfonctionnement à mailto:recode-bugs@iro.umontreal.ca;\n"
  18303. -"et rapporter les problèmes de francisation à mailto:traduc@traduc.org.\n"
  18304. +"Rapporter toutes anomalies à <recode-bugs@iro.umontreal.ca>.\n"
  18305. #: src/main.c:430
  18306. #, c-format
  18307. msgid "Sequence `%s' is ambiguous"
  18308. -msgstr ""
  18309. +msgstr "Séquence « %s » est ambiguë"
  18310. #: src/main.c:434
  18311. #, c-format
  18312. msgid "Sequence `%s' is unknown"
  18313. -msgstr ""
  18314. +msgstr "Séquence « %s » est inconnue"
  18315. #: src/main.c:464 src/main.c:522
  18316. #, c-format
  18317. msgid "Language `%s' is ambiguous"
  18318. -msgstr ""
  18319. +msgstr "Langage « %s » est ambigu"
  18320. #. -1
  18321. #: src/main.c:468 src/main.c:526
  18322. #, c-format
  18323. msgid "Language `%s' is unknown"
  18324. -msgstr ""
  18325. +msgstr "Langage « %s » est inconnu"
  18326. #: src/main.c:560
  18327. #, c-format
  18328. msgid "Format `%s' is ambiguous"
  18329. -msgstr ""
  18330. +msgstr "Format « %s » est ambigu"
  18331. #: src/main.c:564
  18332. #, c-format
  18333. msgid "Format `%s' is unknown"
  18334. -msgstr ""
  18335. +msgstr "Format « %s » est inconnu"
  18336. #: src/main.c:621
  18337. -#, fuzzy
  18338. msgid "Written by Franc,ois Pinard <pinard@iro.umontreal.ca>.\n"
  18339. -msgstr ""
  18340. -"\n"
  18341. -"Écrit par François Pinard <pinard@iro.umontreal.ca>.\n"
  18342. +msgstr "Écrit par François Pinard <pinard@iro.umontreal.ca>.\n"
  18343. #: src/main.c:624
  18344. msgid ""
  18345. @@ -334,50 +302,50 @@
  18346. #: src/main.c:669
  18347. #, c-format
  18348. msgid "Symbol `%s' is unknown"
  18349. -msgstr ""
  18350. +msgstr "¨Symbole « %s » est inconnu"
  18351. #: src/main.c:709 src/main.c:723
  18352. #, c-format
  18353. msgid "Charset `%s' is unknown or ambiguous"
  18354. -msgstr ""
  18355. +msgstr "Charset « %s » est inconnu ou ambigu"
  18356. #: src/main.c:754
  18357. msgid "Required argument is missing"
  18358. -msgstr ""
  18359. +msgstr "Argument requis est manquant"
  18360. #: src/main.c:797
  18361. -#, fuzzy, c-format
  18362. +#, c-format
  18363. msgid "Syntax is deprecated, please prefer `%s'"
  18364. -msgstr "Syntaxe désuète, veuillez préférer «%s»"
  18365. +msgstr "Syntaxe désuète, veuillez préférer « %s »"
  18366. #: src/main.c:803
  18367. #, c-format
  18368. msgid "Request `%s' is erroneous"
  18369. -msgstr ""
  18370. +msgstr "Requête « %s » est erronée"
  18371. #: src/main.c:903
  18372. #, c-format
  18373. msgid "Recoding %s..."
  18374. -msgstr "Recodage de «%s»..."
  18375. +msgstr "Recodage de « %s »..."
  18376. #: src/main.c:913
  18377. msgid " done\n"
  18378. msgstr " complété\n"
  18379. #: src/main.c:954
  18380. -#, fuzzy, c-format
  18381. +#, c-format
  18382. msgid " failed: %s in step `%s..%s'\n"
  18383. -msgstr " non-réussi: %s dans %s..%s\n"
  18384. +msgstr " non-réussi: %s dans « %s..%s »\n"
  18385. #: src/main.c:961
  18386. -#, fuzzy, c-format
  18387. +#, c-format
  18388. msgid "%s failed: %s in step `%s..%s'"
  18389. -msgstr "%s non-réussi: %s dans %s..%s"
  18390. +msgstr "%s non-réussi: %s dans « %s..%s »"
  18391. #: src/main.c:984
  18392. -#, fuzzy, c-format
  18393. +#, c-format
  18394. msgid "%s in step `%s..%s'"
  18395. -msgstr "%s dans %s..%s"
  18396. +msgstr "%s dans « %s..%s »"
  18397. #: src/names.c:335
  18398. #, c-format
  18399. @@ -387,7 +355,7 @@
  18400. #: src/names.c:831
  18401. #, c-format
  18402. msgid "Cannot list `%s', no names available for this charset"
  18403. -msgstr "Incapable de lister «%s»: les noms n'y sont pas disponibles"
  18404. +msgstr "Incapable de lister « %s »: les noms n'y sont pas disponibles"
  18405. #. code counter
  18406. #. expected value for code counter
  18407. @@ -401,17 +369,17 @@
  18408. #: src/names.c:1049
  18409. #, c-format
  18410. msgid "Sorry, no names available for `%s'"
  18411. -msgstr "Désolé, aucun nom disponible pour «%s»"
  18412. +msgstr "Désolé, aucun nom disponible pour « %s »"
  18413. #: src/outer.c:125
  18414. #, c-format
  18415. msgid "Resurfacer set more than once for `%s'"
  18416. -msgstr "Plus d'un re-surfaceur pour `%s'"
  18417. +msgstr "Plus d'un re-surfaceur pour « %s »"
  18418. #: src/outer.c:133
  18419. #, c-format
  18420. msgid "Unsurfacer set more than once for `%s'"
  18421. -msgstr "Plus d'un dé-surfaceur pour `%s'"
  18422. +msgstr "Plus d'un dé-surfaceur pour « %s »"
  18423. #: src/recode.c:115 src/recode.c:127
  18424. msgid "Virtual memory exhausted"
  18425. @@ -434,7 +402,7 @@
  18426. #: src/recode.c:224 src/recode.c:236
  18427. #, c-format
  18428. msgid "Following diagnostics for `%s' to `%s'"
  18429. -msgstr "Les diagnostics suivants s'appliquent pour «%s» vers «%s»"
  18430. +msgstr "Les diagnostics suivants s'appliquent pour « %s » vers « %s »"
  18431. #: src/recode.c:229 src/recode.c:241
  18432. #, c-format
  18433. @@ -457,12 +425,12 @@
  18434. #: src/recode.c:536
  18435. #, c-format
  18436. msgid "%sConversion table generated mechanically by Free `%s' %s"
  18437. -msgstr "%sTable de conversion engendrée mécaniquement par Free «%s» %s"
  18438. +msgstr "%sTable de conversion engendrée mécaniquement par Free « %s » %s"
  18439. #: src/recode.c:538
  18440. #, c-format
  18441. msgid "%sfor sequence %s.%s"
  18442. -msgstr "%spour séquence «%s».%s"
  18443. +msgstr "%spour séquence « %s ».%s"
  18444. #: src/recode.c:744
  18445. msgid "No table to print"
  18446. @@ -531,12 +499,12 @@
  18447. #: src/request.c:1013
  18448. msgid "Expecting `..' in request"
  18449. -msgstr "Chaîne `..' attendue dans la demande"
  18450. +msgstr "Chaîne « .. » attendue dans la demande"
  18451. #: src/task.c:826 src/task.c:1002
  18452. #, c-format
  18453. msgid "Child process wait status is 0x%0.2x"
  18454. -msgstr "Le constat «wait» du processus fils est 0x%0.2x"
  18455. +msgstr "L'état du processus fils en attente est 0x%0.2x"
  18456. #: src/testdump.c:298
  18457. msgid ""
  18458. @@ -547,8 +515,7 @@
  18459. "\n"
  18460. #~ msgid "CHARSET has no default, define DEFAULT_CHARSET in the environment.\n"
  18461. -#~ msgstr ""
  18462. -#~ "CHARSET ne peut être omis, définir DEFAULT_CHARSET dans l'environment.\n"
  18463. +#~ msgstr "CHARSET ne peut être omis, définir DEFAULT_CHARSET dans l'environment.\n"
  18464. #~ msgid "Ambiguous sequence `%s'"
  18465. #~ msgstr "La séquence «%s» est ambiguë"
  18466. @@ -611,5 +578,4 @@
  18467. #~ msgstr "Recodage irréversible"
  18468. #~ msgid "BEFORE and AFTER both default to `%s' when needed.\n"
  18469. -#~ msgstr ""
  18470. -#~ "AVANT et APRÈS ont implicitement la valeur canonique «%s», lorsqu'absents.\n"
  18471. +#~ msgstr "AVANT et APRÈS ont implicitement la valeur canonique «%s», lorsqu'absents.\n"
  18472. --- recode-3.6.orig/i18n/sl.po
  18473. +++ recode-3.6/i18n/sl.po
  18474. @@ -2,13 +2,13 @@
  18475. # Copyright (C) 1996 Free Software Foundation, Inc.
  18476. # Primoz Peterlin <primoz.peterlin@biofiz.mf.uni-lj.si>, 1996.
  18477. #
  18478. -# $Id: recode-3.5.sl.po,v 1.2 1999/12/21 16:04:38 peterlin Exp peterlin $
  18479. +# $Id: recode-3.6.sl.po,v 1.2 2001/06/08 10:41:42 peterlin Exp $
  18480. #
  18481. msgid ""
  18482. msgstr ""
  18483. -"Project-Id-Version: recode 3.5\n"
  18484. +"Project-Id-Version: recode 3.6\n"
  18485. "POT-Creation-Date: 2001-01-02 22:35+0100\n"
  18486. -"PO-Revision-Date: 1999-12-21 17:01 MET\n"
  18487. +"PO-Revision-Date: 2001-06-08 12:41+02:00\n"
  18488. "Last-Translator: Primoz Peterlin <primoz.peterlin@biofiz.mf.uni-lj.si>\n"
  18489. "Language-Team: Slovenian <sl@li.org>\n"
  18490. "MIME-Version: 1.0\n"
  18491. @@ -67,11 +67,9 @@
  18492. msgstr ""
  18493. "Ta program je prosta programska oprema; lahko ga redistribuirate in/ali\n"
  18494. "spreminjate po pogojih, doloèenih v ,,GNU General Public License``, izdani\n"
  18495. -"pri Free Software Foundation; 2. izdaja (ali novej¹a, èe razpolagate z "
  18496. -"njo).\n"
  18497. +"pri Free Software Foundation; 2. izdaja (ali novej¹a, èe razpolagate z njo).\n"
  18498. "\n"
  18499. -"Ta program se distribuira v upanju, da je uporaben, vendar BREZ "
  18500. -"KAKR©NEGAKOLI\n"
  18501. +"Ta program se distribuira v upanju, da je uporaben, vendar BREZ KAKR©NEGAKOLI\n"
  18502. "JAMSTVA; vkljuèno z impliciranim jamstvom prodajnosti ali uporabnosti za\n"
  18503. "izbrani namen. Za podrobnosti si oglejte ,,GNU General Public License``.\n"
  18504. "\n"
  18505. @@ -85,20 +83,13 @@
  18506. msgstr "Poskusite ,%s %s` za dodatne informacije.\n"
  18507. #: src/main.c:237
  18508. -msgid ""
  18509. -"Free `recode' converts files between various character sets and surfaces.\n"
  18510. -msgstr ""
  18511. -"Prosti ,recode` pretvarja datoteke med razliènimi kodnimi nabori in "
  18512. -"preèrkovanji.\n"
  18513. +msgid "Free `recode' converts files between various character sets and surfaces.\n"
  18514. +msgstr "Prosti ,recode` pretvarja datoteke med razliènimi kodnimi nabori in preèrkovanji.\n"
  18515. #: src/main.c:241
  18516. #, c-format
  18517. -msgid ""
  18518. -"\n"
  18519. -"Usage: %s [OPTION]... [ [CHARSET] | REQUEST [FILE]... ]\n"
  18520. -msgstr ""
  18521. -"\n"
  18522. -"Uporaba: %s [IZBIRA]... [ [NABOR] | ZAHTEVA [DATOTEKA]... ]\n"
  18523. +msgid "\nUsage: %s [OPTION]... [ [CHARSET] | REQUEST [FILE]... ]\n"
  18524. +msgstr "\nUporaba: %s [IZBIRA]... [ [NABOR] | ZAHTEVA [DATOTEKA]... ]\n"
  18525. #: src/main.c:244
  18526. msgid ""
  18527. @@ -111,13 +102,11 @@
  18528. "obveza tudi za kratko obliko. Podobno tudi za neobvezne argumente.\n"
  18529. #: src/main.c:250
  18530. -#, fuzzy
  18531. msgid ""
  18532. "\n"
  18533. "Listings:\n"
  18534. " -l, --list[=FORMAT] list one or all known charsets and aliases\n"
  18535. -" -k, --known=PAIRS restrict charsets according to known PAIRS "
  18536. -"list\n"
  18537. +" -k, --known=PAIRS restrict charsets according to known PAIRS list\n"
  18538. " -h, --header[=[LN/]NAME] write table NAME on stdout using LN, then exit\n"
  18539. " -F, --freeze-tables write out a C module holding all tables\n"
  18540. " -T, --find-subsets report all charsets being subset of others\n"
  18541. @@ -127,14 +116,11 @@
  18542. msgstr ""
  18543. "\n"
  18544. "Seznami:\n"
  18545. -" -l, --list[=OBLIKA] izpi¹i en ali vse kodirane nabore znakov\n"
  18546. -" -k, --known=PARI izpi¹i nabore, ki ustrezajo podanim PAROM "
  18547. -"pretvorb\n"
  18548. -" -h, --header[=[JEZIK/]IME] izpi¹i pretvorno tabelo z danim IMENOM v prog. "
  18549. -"JEZIKU\n"
  18550. +" -l, --list[=OBLIKA] izpi¹i enega ali vse kodirane nabore znakov\n"
  18551. +" -k, --known=PARI izpi¹i nabore, ki ustrezajo podanim PAROM pretvorb\n"
  18552. +" -h, --header[=[JEZIK/]IME] izpi¹i pretvorno tabelo z danim IMENOM v prog. JEZIKU\n"
  18553. " -F, --freeze-tables izpi¹i modul v C z vsemi pretvornimi tabelami\n"
  18554. -" -T, --find-subsets poroèaj o vseh naborih, ki so podmno¾ica "
  18555. -"drugih\n"
  18556. +" -T, --find-subsets poroèaj o vseh naborih, ki so podmno¾ica drugih\n"
  18557. " -C, --copyright izpi¹i dovoljenje za uporabo in raz¹irjanje\n"
  18558. " --help ta navodila\n"
  18559. " --version razlièica programa\n"
  18560. @@ -152,8 +138,7 @@
  18561. msgstr ""
  18562. "\n"
  18563. "Naèini dela:\n"
  18564. -" -v, --verbose med potekom razlagaj korake in komentiraj "
  18565. -"napredek\n"
  18566. +" -v, --verbose med potekom razlagaj korake in komentiraj napredek\n"
  18567. " -q, --quiet, --silent brez opozoril o neobrnljivih pretvorbah\n"
  18568. " -f, --force pretvorbo izvedi, èetudi ni obrnljiva\n"
  18569. " -t, --touch pretvorjena datoteka naj nosi datum pretvorbe,\n"
  18570. @@ -182,16 +167,11 @@
  18571. msgstr ""
  18572. "\n"
  18573. "Natanènej¹e nastavljanje:\n"
  18574. -" -s, --strict uporabi strogo pretvorbo, celo na raèun izgube "
  18575. -"znakov\n"
  18576. -" -d, --diacritics pretvori samo pregla¹ene in podobne znake za "
  18577. -"HTML/LaTeX\n"
  18578. -" -S, --source[=JEZIK] omeji pretvorbe na nize in komentarje, kot v "
  18579. -"JEZIKU\n"
  18580. -" -c, --colons nadomesti dierezo z dvopièjem, ne z dvojnim "
  18581. -"narekovajem\n"
  18582. -" -g, --graphics semigrafiène znake s PC pribl. nadomestimo z znaki "
  18583. -"ASCII\n"
  18584. +" -s, --strict uporabi strogo pretvorbo, celo na raèun izgube znakov\n"
  18585. +" -d, --diacritics pretvori samo pregla¹ene in podobne znake za HTML/LaTeX\n"
  18586. +" -S, --source[=JEZIK] omeji pretvorbe na nize in komentarje, kot v JEZIKU\n"
  18587. +" -c, --colons nadomesti dierezo z dvopièjem, ne z dvojnim narekovajem\n"
  18588. +" -g, --graphics semigrafiène znake s PC pribl. nadomestimo z znaki ASCII\n"
  18589. " -x, --ignore=NABOR pri pretvorbi se izogni navedenemu vmesnemu NABORU\n"
  18590. #: src/main.c:296
  18591. @@ -201,26 +181,22 @@
  18592. "FORMAT is `decimal', `octal', `hexadecimal' or `full' (or one of `dohf').\n"
  18593. msgstr ""
  18594. "\n"
  18595. -"Izbira -l brez podane OBLIKE ali NABORA izpi¹e seznam vseh znanih kodnih "
  18596. -"naborov\n"
  18597. -"in preèrkovalnih shem. OBLIKA je lahko ,decimal` (deseti¹ka), ,octal` "
  18598. -"(osmi¹ka),\n"
  18599. +"Izbira -l brez podane OBLIKE ali NABORA izpi¹e seznam vseh znanih kodnih naborov\n"
  18600. +"in preèrkovalnih shem. OBLIKA je lahko ,decimal` (deseti¹ka), ,octal` (osmi¹ka),\n"
  18601. ",hexadecimal` (¹estnajsti¹ka) ali ,full` (polna), ali ena od èrk ,dohf`.\n"
  18602. #: src/main.c:302
  18603. -#, fuzzy
  18604. msgid ""
  18605. -"Unless DEFAULT_CHARSET is set in environment, CHARSET defaults to the "
  18606. -"locale\n"
  18607. +"Unless DEFAULT_CHARSET is set in environment, CHARSET defaults to the locale\n"
  18608. "dependent encoding, determined by LC_ALL, LC_CTYPE, LANG.\n"
  18609. msgstr ""
  18610. -"Èe ni doloèena spremenljivka DEFAULT_CHARSET, je privzeti NABOR ,%s`.\n"
  18611. +"Èe ni doloèena spremenljivka DEFAULT_CHARSET, se privzame NABOR,\n"
  18612. +"doloèen s spremenljivkami LC_ALL, LC_CTYPE ali LANG.\n"
  18613. #: src/main.c:307
  18614. msgid ""
  18615. "With -k, possible before charsets are listed for the given after CHARSET,\n"
  18616. -"both being tabular charsets, with PAIRS of the form "
  18617. -"`BEF1:AFT1,BEF2:AFT2,...'\n"
  18618. +"both being tabular charsets, with PAIRS of the form `BEF1:AFT1,BEF2:AFT2,...'\n"
  18619. "and BEFs and AFTs being codes are given as decimal numbers.\n"
  18620. msgstr ""
  18621. "Pri izbiri -k se izpi¹ejo vsi mo¾ni startni nabori za podani ciljni nabor.\n"
  18622. @@ -229,30 +205,24 @@
  18623. "znakov v startnem in ciljnem kodnem naboru.\n"
  18624. #: src/main.c:312
  18625. -msgid ""
  18626. -"LN is some language, it may be `c', `perl' or `po'; `c' is the default.\n"
  18627. +msgid "LN is some language, it may be `c', `perl' or `po'; `c' is the default.\n"
  18628. msgstr "JEZIK je lahko ,c`, ,perl` ali ,po`; privzeto je ,c`.\n"
  18629. #: src/main.c:315
  18630. msgid ""
  18631. "\n"
  18632. -"REQUEST is SUBREQUEST[,SUBREQUEST]...; SUBREQUEST is "
  18633. -"ENCODING[..ENCODING]...\n"
  18634. -"ENCODING is [CHARSET][/[SURFACE]]...; REQUEST often looks like "
  18635. -"BEFORE..AFTER,\n"
  18636. +"REQUEST is SUBREQUEST[,SUBREQUEST]...; SUBREQUEST is ENCODING[..ENCODING]...\n"
  18637. +"ENCODING is [CHARSET][/[SURFACE]]...; REQUEST often looks like BEFORE..AFTER,\n"
  18638. "with BEFORE and AFTER being charsets. An omitted CHARSET implies the usual\n"
  18639. -"charset; an omitted [/SURFACE]... means the implied surfaces for CHARSET; a "
  18640. -"/\n"
  18641. +"charset; an omitted [/SURFACE]... means the implied surfaces for CHARSET; a /\n"
  18642. "with an empty surface name means no surfaces at all. See the manual.\n"
  18643. msgstr ""
  18644. "\n"
  18645. "ZAHTEVEK ima obliko PODZAHTEVEK[,PODZAHTEVEK]...; PODZAHTEVEK ima obliko\n"
  18646. "KODIRANJE[,KODIRANJE]...; KODIRANJE ima obliko [NABOR][/[SHEMA]]. ZAHTEVEK\n"
  18647. -"ima pogosto obliko PREJ..POTEM, kjer sta PREJ in POTEM kodirana nabora "
  18648. -"znakov.\n"
  18649. +"ima pogosto obliko PREJ..POTEM, kjer sta PREJ in POTEM kodirana nabora znakov.\n"
  18650. "Izpu¹èeni NABOR pomeni privzetega; izpu¹èena [/SHEMA] pomeni privzeto\n"
  18651. -"preèrkovalno shemo za dani NABOR. Po¹evnica / brez sheme pomeni brez "
  18652. -"preèrkovalne\n"
  18653. +"preèrkovalno shemo za dani NABOR. Po¹evnica / brez sheme pomeni brez preèrkovalne\n"
  18654. "sheme. Podrobnosti so v priroèniku.\n"
  18655. #: src/main.c:323
  18656. @@ -265,96 +235,83 @@
  18657. "\n"
  18658. "Èe nista podana niti -i niti -p, se uporabi -p, kadar ni podana DATOTEKA, \n"
  18659. "sicer pa -i. Pretvorba vsake DATOTEKE se zapi¹e prek izvorne razlièice. Èe\n"
  18660. -"DATOTEKA ni podana, recode deluje kot filter med standardnim vhodom in "
  18661. -"izhodom.\n"
  18662. +"DATOTEKA ni podana, recode deluje kot filter med standardnim vhodom in izhodom.\n"
  18663. #: src/main.c:329
  18664. -msgid ""
  18665. -"\n"
  18666. -"Report bugs to <recode-bugs@iro.umontreal.ca>.\n"
  18667. -msgstr ""
  18668. -"\n"
  18669. -"Sporoèila o napakah javite na <recode-bugs@iro.umontreal.ca>.\n"
  18670. +msgid "\nReport bugs to <recode-bugs@iro.umontreal.ca>.\n"
  18671. +msgstr "\nSporoèila o napakah javite na <recode-bugs@iro.umontreal.ca>.\n"
  18672. #: src/main.c:430
  18673. #, c-format
  18674. msgid "Sequence `%s' is ambiguous"
  18675. -msgstr ""
  18676. +msgstr "Zaporedje ,%s` je dvoumno"
  18677. #: src/main.c:434
  18678. #, c-format
  18679. msgid "Sequence `%s' is unknown"
  18680. -msgstr ""
  18681. +msgstr "Zaporedje ,%s` je neznano"
  18682. #: src/main.c:464 src/main.c:522
  18683. #, c-format
  18684. msgid "Language `%s' is ambiguous"
  18685. -msgstr ""
  18686. +msgstr "Jezik ,%s` je dvoumen"
  18687. #. -1
  18688. #: src/main.c:468 src/main.c:526
  18689. #, c-format
  18690. msgid "Language `%s' is unknown"
  18691. -msgstr ""
  18692. +msgstr "Jezik ,%s` je neznan"
  18693. #: src/main.c:560
  18694. #, c-format
  18695. msgid "Format `%s' is ambiguous"
  18696. -msgstr ""
  18697. +msgstr "Oblika ,%s` je dvoumna"
  18698. #: src/main.c:564
  18699. #, c-format
  18700. msgid "Format `%s' is unknown"
  18701. -msgstr ""
  18702. +msgstr "Oblika ,%s` je neznana"
  18703. #: src/main.c:621
  18704. -#, fuzzy
  18705. msgid "Written by Franc,ois Pinard <pinard@iro.umontreal.ca>.\n"
  18706. -msgstr ""
  18707. -"\n"
  18708. -"Avtor Franc,ois Pinard <pinard@iro.umontreal.ca>.\n"
  18709. +msgstr "Avtor Franc,ois Pinard <pinard@iro.umontreal.ca>.\n"
  18710. #: src/main.c:624
  18711. -msgid ""
  18712. -"\n"
  18713. -"Copyright (C) 1990, 92, 93, 94, 96, 97, 99 Free Software Foundation, Inc.\n"
  18714. -msgstr ""
  18715. -"\n"
  18716. -"Copyright (C) 1990, 92, 93, 94, 96, 97, 99 Free Software Foundation, Inc.\n"
  18717. +msgid "\nCopyright (C) 1990, 92, 93, 94, 96, 97, 99 Free Software Foundation, Inc.\n"
  18718. +msgstr "\nCopyright (C) 1990, 92, 93, 94, 96, 97, 99 Free Software Foundation, Inc.\n"
  18719. #: src/main.c:628
  18720. msgid ""
  18721. "This is free software; see the source for copying conditions. There is NO\n"
  18722. "warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n"
  18723. msgstr ""
  18724. -"To je prost program; pogoji, pod katerimi ga lahko uporabljate, "
  18725. -"razmno¾ujete\n"
  18726. +"To je prost program; pogoji, pod katerimi ga lahko uporabljate, razmno¾ujete\n"
  18727. "in raz¹irjate so navedeni v izvorni kodi. Za program ni NOBENEGA jamstva,\n"
  18728. "niti jamstev USTREZNOSTI ZA PRODAJO ali PRIMERNOSTI ZA UPORABO.\n"
  18729. #: src/main.c:669
  18730. #, c-format
  18731. msgid "Symbol `%s' is unknown"
  18732. -msgstr ""
  18733. +msgstr "Znak ,%s` je neznan"
  18734. #: src/main.c:709 src/main.c:723
  18735. #, c-format
  18736. msgid "Charset `%s' is unknown or ambiguous"
  18737. -msgstr ""
  18738. +msgstr "Nabor znakov ,%s` je neznan ali dvoumen"
  18739. #: src/main.c:754
  18740. msgid "Required argument is missing"
  18741. -msgstr ""
  18742. +msgstr "Zahtevani argument manjka"
  18743. #: src/main.c:797
  18744. -#, fuzzy, c-format
  18745. +#, c-format
  18746. msgid "Syntax is deprecated, please prefer `%s'"
  18747. -msgstr "Neodobravana skladnja: prosimo, uporabljajte ,%s`"
  18748. +msgstr "Neodobravana skladnja; prosimo, uporabljajte ,%s`"
  18749. #: src/main.c:803
  18750. #, c-format
  18751. msgid "Request `%s' is erroneous"
  18752. -msgstr ""
  18753. +msgstr "Zahteva ,%s` je napaèna"
  18754. #: src/main.c:903
  18755. #, c-format
  18756. @@ -366,19 +323,19 @@
  18757. msgstr " opravljeno\n"
  18758. #: src/main.c:954
  18759. -#, fuzzy, c-format
  18760. +#, c-format
  18761. msgid " failed: %s in step `%s..%s'\n"
  18762. -msgstr " neuspe¹no: %s v %s..%s\n"
  18763. +msgstr " neuspe¹no: %s v koraku ,%s..%s`\n"
  18764. #: src/main.c:961
  18765. -#, fuzzy, c-format
  18766. +#, c-format
  18767. msgid "%s failed: %s in step `%s..%s'"
  18768. -msgstr "%s neuspe¹no: %s v %s..%s"
  18769. +msgstr "%s neuspe¹no: %s v koraku ,%s..%s`"
  18770. #: src/main.c:984
  18771. -#, fuzzy, c-format
  18772. +#, c-format
  18773. msgid "%s in step `%s..%s'"
  18774. -msgstr "%s v %s..%s"
  18775. +msgstr "%s v koraku ,%s..%s`"
  18776. #: src/names.c:335
  18777. #, c-format
  18778. @@ -419,12 +376,12 @@
  18779. msgstr "Virtualni pomnilnik porabljen"
  18780. #: src/recode.c:155
  18781. -#, c-format, ycp-format
  18782. +#, c-format
  18783. msgid "Codes %3d and %3d both recode to %3d"
  18784. msgstr "Kodi %3d in %3d se obe preslikata v %3d"
  18785. #: src/recode.c:169
  18786. -#, c-format, ycp-format
  18787. +#, c-format
  18788. msgid "No character recodes to %3d"
  18789. msgstr "Noben znak se ne preslika v %3d"
  18790. @@ -540,17 +497,11 @@
  18791. msgstr "Èakalni status procesa potomca je 0x%0.2x"
  18792. #: src/testdump.c:298
  18793. -msgid ""
  18794. -"UCS2 Mne Description\n"
  18795. -"\n"
  18796. -msgstr ""
  18797. -"UCS2 Mne Opis\n"
  18798. -"\n"
  18799. +msgid "UCS2 Mne Description\n\n"
  18800. +msgstr "UCS2 Mne Opis\n\n"
  18801. #~ msgid "CHARSET has no default, define DEFAULT_CHARSET in the environment.\n"
  18802. -#~ msgstr ""
  18803. -#~ "NABOR nima privzete vrednosti; doloèite spremenljivko okolja "
  18804. -#~ "DEFAULT_CHARSET.\n"
  18805. +#~ msgstr "NABOR nima privzete vrednosti; doloèite spremenljivko okolja DEFAULT_CHARSET.\n"
  18806. #~ msgid "Ambiguous sequence `%s'"
  18807. #~ msgstr "Dvoumno zaporedje ,%s`"
  18808. @@ -613,8 +564,7 @@
  18809. #~ msgstr "Za zdaj je izbira -s ignorirana, kadar je izbrano -g"
  18810. #~ msgid "Hash stats: %d names using %d buckets out of %d\n"
  18811. -#~ msgstr ""
  18812. -#~ "Statistika za razpr¹itveno tabelo: %d imen porabilo %d od %d ko¹ev\n"
  18813. +#~ msgstr "Statistika za razpr¹itveno tabelo: %d imen porabilo %d od %d ko¹ev\n"
  18814. #~ msgid "Internal error - strategy undecided"
  18815. #~ msgstr "Interna napaka - neodloèen o strategiji"
  18816. @@ -649,8 +599,7 @@
  18817. #~ msgid " -o, --sequence=popen same as -i (on this system)\n"
  18818. #~ msgstr " -o, --sequence=popen isto kot -I (na tem sistemu)\n"
  18819. -#~ msgid ""
  18820. -#~ " -o, --sequence=popen use popen machinery for sequencing passes\n"
  18821. +#~ msgid " -o, --sequence=popen use popen machinery for sequencing passes\n"
  18822. #~ msgstr " -o, --sequence=popen uporabi mehanizem ,popen'\n"
  18823. #~ msgid ""
  18824. @@ -665,22 +614,19 @@
  18825. #~ "FILE is specified, then act as a filter and recode stdin to stdout.\n"
  18826. #~ msgstr ""
  18827. #~ " -q, --quiet, --silent brez sporoèil o neobrnljivih pretvorbah\n"
  18828. -#~ " -s, --strict striktna pretvorba, tudi na ¹kodo izgubljenih "
  18829. -#~ "znakov\n"
  18830. -#~ " -t, --touch konèna datoteka naj nosi datum pretvorbe, ne "
  18831. -#~ "nastanka\n"
  18832. +#~ " -s, --strict striktna pretvorba, tudi na ¹kodo izgubljenih znakov\n"
  18833. +#~ " -t, --touch konèna datoteka naj nosi datum pretvorbe, ne nastanka\n"
  18834. #~ " -v, --verbose z razlago poteka pretvorbe\n"
  18835. #~ " -x, --ignore=NABOR izpusti NABOR pri izbiri poti pretvorbe\n"
  18836. #~ "\n"
  18837. -#~ "Èe ni podan -i, -o, ali -p, se privzame -p, kadar ni podana DATOTEKA, sicer "
  18838. -#~ "-i.\n"
  18839. +#~ "Èe ni podan -i, -o, ali -p, se privzame -p, kadar ni podana DATOTEKA, sicer -i.\n"
  18840. #~ "Vsaka DATOTEKA se pretvori èez samo sebe in unièi izvirnik. Èe DATOTEKA\n"
  18841. #~ "ni podana, deluje kot filter in pretvarja podatke z vhoda na izhod.\n"
  18842. #~ msgid "BEFORE and AFTER both default to `%s' when needed.\n"
  18843. #~ msgstr "Èe nabor PREJ ali POTEM ni podan, se nadomesti z ,%s'\n"
  18844. -# POZOR
  18845. +#~ # POZOR
  18846. #~ msgid ""
  18847. #~ "Mandatory or optional arguments to long options are mandatory or optional\n"
  18848. #~ "for short options too.\n"
  18849. @@ -695,12 +641,10 @@
  18850. #~ "FORMAT is a word among decimal, octal, hexadecimal or full (which may be\n"
  18851. #~ "abbreviated to one of `dohf'), it defaults to just the canonical name.\n"
  18852. #~ "With -k, possible before charsets are listed for the given after CHARSET,\n"
  18853. -#~ "both being RFC1345 charsets, with PAIRS of the form "
  18854. -#~ "`BEF1:AFT1,BEF2:AFT2,...\n"
  18855. +#~ "both being RFC1345 charsets, with PAIRS of the form `BEF1:AFT1,BEF2:AFT2,...\n"
  18856. #~ "and BEFs and AFTs being codes. All codes are given as decimal numbers.\n"
  18857. #~ msgstr ""
  18858. -#~ "Argumenti, ki so obvezni za dolge oblike izbir so obvezni tudi za kratke "
  18859. -#~ "oblike,\n"
  18860. +#~ "Argumenti, ki so obvezni za dolge oblike izbir so obvezni tudi za kratke oblike,\n"
  18861. #~ "in enako velja za neobvezne argumente.\n"
  18862. #~ "\n"
  18863. #~ " -C, --copyright obvestilo avtorskih pravicah\n"
  18864. @@ -710,18 +654,14 @@
  18865. #~ " --help ta navodila\n"
  18866. #~ " --version verzija programa\n"
  18867. #~ "\n"
  18868. -#~ "FORMAT izpisa je eden od naslednjih: decimal, octal, hexadecimal ali full "
  18869. -#~ "(mo¾na\n"
  18870. -#~ "je okraj¹ava na prvo èrko: dohf), privzeta izbira je samo kanonièno ime "
  18871. -#~ "nabora.\n"
  18872. +#~ "FORMAT izpisa je eden od naslednjih: decimal, octal, hexadecimal ali full (mo¾na\n"
  18873. +#~ "je okraj¹ava na prvo èrko: dohf), privzeta izbira je samo kanonièno ime nabora.\n"
  18874. #~ "With -k, possible before charsets are listed for the given after CHARSET,\n"
  18875. -#~ "both being RFC1345 charsets, with PAIRS of the form "
  18876. -#~ "`BEF1:AFT1,BEF2:AFT2,...\n"
  18877. +#~ "both being RFC1345 charsets, with PAIRS of the form `BEF1:AFT1,BEF2:AFT2,...\n"
  18878. #~ "and BEFs and AFTs being codes. All codes are given as decimal numbers.\n"
  18879. #~ msgid ""
  18880. -#~ "Option -l with no FORMAT nor CHARSET list all charsets, also see the "
  18881. -#~ "Texinfo\n"
  18882. +#~ "Option -l with no FORMAT nor CHARSET list all charsets, also see the Texinfo\n"
  18883. #~ "documentation. My preferred charsets are (each user has preferences):\n"
  18884. #~ "\n"
  18885. #~ " ascii-bs ASCII (7-bit), using backspace to apply diacritics\n"
  18886. @@ -730,10 +670,8 @@
  18887. #~ " latin1 ISO Latin-1 8-bit extension of ASCII\n"
  18888. #~ " texte Easy French convention for transmitting email messages\n"
  18889. #~ msgstr ""
  18890. -#~ "Izbira -l brez podanih FORMAT ali NABOR dá seznam vseh naborov, oglejte si "
  18891. -#~ "¹e\n"
  18892. -#~ "dokumentacijo v Texinfo. Moji priljubljeni nabori (vsak uporabnik ima "
  18893. -#~ "svoje):\n"
  18894. +#~ "Izbira -l brez podanih FORMAT ali NABOR dá seznam vseh naborov, oglejte si ¹e\n"
  18895. +#~ "dokumentacijo v Texinfo. Moji priljubljeni nabori (vsak uporabnik ima svoje):\n"
  18896. #~ "\n"
  18897. #~ " ascii-bs 7-bitni ASCII, z uporabo Backspace za tisk diakritiènih znakov\n"
  18898. #~ " ibmpc 8-bitni nabor IBM-PC, zakljuèek vrstice CR LF\n"
  18899. @@ -760,12 +698,8 @@
  18900. #~ " -h, --header[=NAME] write C code with table NAME on stdout, then exit\n"
  18901. #~ " -i, --sequence=files use intermediate files for sequencing passes\n"
  18902. -#~ msgid ""
  18903. -#~ "\n"
  18904. -#~ "Usage: %s [OPTION]... [BEFORE]:[AFTER] [FILE]...\n"
  18905. -#~ msgstr ""
  18906. -#~ "\n"
  18907. -#~ "Uporaba: %s [IZBIRA]... [PREJ]:[POTEM] [DATOTEKA]...\n"
  18908. +#~ msgid "\nUsage: %s [OPTION]... [BEFORE]:[AFTER] [FILE]...\n"
  18909. +#~ msgstr "\nUporaba: %s [IZBIRA]... [PREJ]:[POTEM] [DATOTEKA]...\n"
  18910. #~ msgid "many to many"
  18911. #~ msgstr "veè v veè"
  18912. --- recode-3.6.orig/i18n/pt.po
  18913. +++ recode-3.6/i18n/pt.po
  18914. @@ -2,50 +2,50 @@
  18915. # Copyright (C) 1996 Free Software Foundation, Inc.
  18916. # Vitor Duarte <vad@di.fct.unl.pt>, Maio de 1996.
  18917. # Thanks to Nuno Oliveira <nuno@eq.uc.pt>, 1996.
  18918. +# Helder Correia <helder.pereira.correia@gmail.com>, 2005.
  18919. #
  18920. msgid ""
  18921. msgstr ""
  18922. -"Project-Id-Version: GNU recode 3.4.3\n"
  18923. +"Project-Id-Version: GNU recode 3.6\n"
  18924. "POT-Creation-Date: 2001-01-02 22:35+0100\n"
  18925. -"PO-Revision-Date: 1996-11-25 10:00-0000\n"
  18926. -"Last-Translator: Vitor Duarte <vad@di.fct.unl.pt>\n"
  18927. -"Language-Team: Portuguese <pt@li.org>\n"
  18928. +"PO-Revision-Date: 2005-11-13 15:20+0000\n"
  18929. +"Last-Translator: Helder Correia <helder.pereira.correia@gmail.com>\n"
  18930. +"Language-Team: Portuguese <translation-team-pt@lists.sourceforge.net>\n"
  18931. "MIME-Version: 1.0\n"
  18932. -"Content-Type: text/plain; charset=ISO-8859-1\n"
  18933. -"Content-Transfer-Encoding: 8-bit\n"
  18934. +"Content-Type: text/plain; charset=UTF-8\n"
  18935. +"Content-Transfer-Encoding: 8bit\n"
  18936. #: src/main.c:142
  18937. msgid "No error"
  18938. -msgstr ""
  18939. +msgstr "Sem erros"
  18940. #: src/main.c:145
  18941. msgid "Non canonical input"
  18942. -msgstr ""
  18943. +msgstr "Entrada não canónica"
  18944. #: src/main.c:148
  18945. -#, fuzzy
  18946. msgid "Ambiguous output"
  18947. -msgstr "O formato «%s» é ambiguo"
  18948. +msgstr "Saída ambígua"
  18949. #: src/main.c:151
  18950. msgid "Untranslatable input"
  18951. -msgstr ""
  18952. +msgstr "Entrada não traduzível"
  18953. #: src/main.c:154
  18954. msgid "Invalid input"
  18955. -msgstr ""
  18956. +msgstr "Entrada inválida"
  18957. #: src/main.c:157
  18958. msgid "System detected problem"
  18959. -msgstr ""
  18960. +msgstr "O sistema detectou um problema"
  18961. #: src/main.c:160
  18962. msgid "Misuse of recoding library"
  18963. -msgstr ""
  18964. +msgstr "Uso incorrecto da biblioteca de recodificação"
  18965. #: src/main.c:163
  18966. msgid "Internal recoding bug"
  18967. -msgstr ""
  18968. +msgstr "Erro de recodificação interno"
  18969. #: src/main.c:208
  18970. msgid ""
  18971. @@ -63,38 +63,37 @@
  18972. "along with this program; if not, write to the Free Software Foundation,\n"
  18973. "Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n"
  18974. msgstr ""
  18975. -"Este programa é «free software»; pode redistribuir-lo e/ou modificá-lo\n"
  18976. -"nos termos previstos na licença da GNU (GNU General Public License),\n"
  18977. -"publicada pela Free Software Foundation; de acordo com a versão 2 ou,\n"
  18978. -"se preferir, alguma mais recente.\n"
  18979. -"\n"
  18980. -"Este programa é distribuido na esperança de que lhe seja útil, mas\n"
  18981. -"SEM QUALQUER GARANTIA; nem mesmo a garantia implícita de COMERCIABILIDADE\n"
  18982. -"ou UTILIDADE PARA QUALQUER UTILIZAÇÃO. Para mais informações consulte a\n"
  18983. -"«GNU General Public License».\n"
  18984. +"Este programa é livre; pode redistribuí-lo e/ou modificá-lo\n"
  18985. +"nos termos previstos na Licença Pública Geral GNU,\n"
  18986. +"publicada pela Free Software Foundation; de acordo com a versão 2 ou,\n"
  18987. +"se preferir, alguma versão mais recente.\n"
  18988. +"\n"
  18989. +"Este programa é distribuído na esperança que seja útil, mas\n"
  18990. +"SEM QUALQUER GARANTIA; nem mesmo a garantia implícita de COMERCIABILIDADE\n"
  18991. +"ou UTILIDADE PARA UM PROPÓSITO PARTICULAR. Para mais informações consulte a\n"
  18992. +"Licença Pública Geral GNU.\n"
  18993. "\n"
  18994. -"Deve ter recebido uma cópia da licença «GNU General Public License» junto\n"
  18995. -"com este programa; se assim não for, escreva para Free Software\n"
  18996. +"Deve ter recebido uma cópia da Licença Pública Geral GNU junttamente\n"
  18997. +"com este programa; se assim não for, escreva para Free Software\n"
  18998. "Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, EUA.\n"
  18999. #: src/main.c:233
  19000. #, c-format
  19001. msgid "Try `%s %s' for more information.\n"
  19002. -msgstr "Para mais informação tente «%s %s».\n"
  19003. +msgstr "Para mais informação, tente '%s %s'.\n"
  19004. #: src/main.c:237
  19005. -msgid ""
  19006. -"Free `recode' converts files between various character sets and surfaces.\n"
  19007. -msgstr ""
  19008. +msgid "Free `recode' converts files between various character sets and surfaces.\n"
  19009. +msgstr "Free 'recode' converte ficheiros entre vários conjuntos de caracteres e superfícies.\n"
  19010. #: src/main.c:241
  19011. -#, fuzzy, c-format
  19012. +#, c-format
  19013. msgid ""
  19014. "\n"
  19015. "Usage: %s [OPTION]... [ [CHARSET] | REQUEST [FILE]... ]\n"
  19016. msgstr ""
  19017. "\n"
  19018. -"Uso: %s [OPÇÃO]... [CHARSET]\n"
  19019. +"Utilização: %s [OPÇÃO]... [ [CONJCAR] | PEDIDO [FICHEIRO]... ]\n"
  19020. #: src/main.c:244
  19021. msgid ""
  19022. @@ -102,14 +101,16 @@
  19023. "If a long option shows an argument as mandatory, then it is mandatory\n"
  19024. "for the equivalent short option also. Similarly for optional arguments.\n"
  19025. msgstr ""
  19026. +"\n"
  19027. +"Se uma opção longa mostrar um argumento como mandatório, então é igualmente\n"
  19028. +"mandatório para a versão curta. Similarmente para argumentos opcionais.\n"
  19029. #: src/main.c:250
  19030. msgid ""
  19031. "\n"
  19032. "Listings:\n"
  19033. " -l, --list[=FORMAT] list one or all known charsets and aliases\n"
  19034. -" -k, --known=PAIRS restrict charsets according to known PAIRS "
  19035. -"list\n"
  19036. +" -k, --known=PAIRS restrict charsets according to known PAIRS list\n"
  19037. " -h, --header[=[LN/]NAME] write table NAME on stdout using LN, then exit\n"
  19038. " -F, --freeze-tables write out a C module holding all tables\n"
  19039. " -T, --find-subsets report all charsets being subset of others\n"
  19040. @@ -117,6 +118,16 @@
  19041. " --help display this help and exit\n"
  19042. " --version output version information and exit\n"
  19043. msgstr ""
  19044. +"\n"
  19045. +"Listagens:\n"
  19046. +" -l, --list[=FORMATO] listar um ou todos os conj. caracteres conhecidos e pseudónimos\n"
  19047. +" -k, --known=PARES restringir conj. caracteres de acordo com lista de PARES conhecidos\n"
  19048. +" -h, --header[=[LN/]NOME] escrever NOME tabela usando LN e sair\n"
  19049. +" -F, --freeze-tables escrever um módulo C com todas as tabelas\n"
  19050. +" -T, --find-subsets reportar conj. de caracteres subconj. de outros\n"
  19051. +" -C, --copyright exibir direitos de autor e condições de cópia\n"
  19052. +" --help exibir esta ajuda e sair\n"
  19053. +" --version exibir versão e sair\n"
  19054. #: src/main.c:263
  19055. msgid ""
  19056. @@ -129,18 +140,24 @@
  19057. " -i, --sequence=files use intermediate files for sequencing passes\n"
  19058. " --sequence=memory use memory buffers for sequencing passes\n"
  19059. msgstr ""
  19060. +"\n"
  19061. +"Modos de operação:\n"
  19062. +" -v, --verbose explicar sequência de passos e relatar progresso\n"
  19063. +" -q, --quiet, --silent inibir mensagens acerca de recodificações irreversíveis\n"
  19064. +" -f, --force forçar recodificações mesmo quando irreversíveis\n"
  19065. +" -t, --touch actualizar data dos ficheiros após recodificação\n"
  19066. +" -i, --sequence=files usar ficheiros intermédios para passos sequenciais\n"
  19067. +" --sequence=memory usar memória para passos sequenciais\n"
  19068. #: src/main.c:275
  19069. msgid " -p, --sequence=pipe use pipe machinery for sequencing passes\n"
  19070. -msgstr " -p, --sequence=pipe usar «pipe» para sequenciar os passos\n"
  19071. +msgstr " -p, --sequence=pipe usar pipe para sequenciar os passos\n"
  19072. #: src/main.c:280
  19073. -#, fuzzy
  19074. msgid " -p, --sequence=pipe same as -i (on this system)\n"
  19075. -msgstr " -p, --sequence=pipe o mesmo que -o (neste sistema)\n"
  19076. +msgstr " -p, --sequence=pipe o mesmo que -i (neste sistema)\n"
  19077. #: src/main.c:285
  19078. -#, fuzzy
  19079. msgid ""
  19080. "\n"
  19081. "Fine tuning:\n"
  19082. @@ -152,16 +169,13 @@
  19083. " -x, --ignore=CHARSET ignore CHARSET while choosing a recoding path\n"
  19084. msgstr ""
  19085. "\n"
  19086. -" -c, --colons usa «:» em vez de «\"» para o trema\n"
  19087. -" -d, --diacritics restringir a conversão aos diacrilicos do LaTeX\n"
  19088. -" -f, --force efectuar mesmo as conversões irreversíveis\n"
  19089. -" (ATENÇÃO: actualmente -f é sempre assumido)\n"
  19090. -" -g, --graphics aproxima as «caixas» do IBMPC com caracteres "
  19091. -"ASCII\n"
  19092. -" -h, --header[=NAME] produzir apenas, no «stdout», a tabela NAME em\n"
  19093. -" código C\n"
  19094. -" -i, --sequence=files usar ficheiros intermédios para os passos "
  19095. -"sucessivos\n"
  19096. +"Afinação:\n"
  19097. +" -s, --strict usar mapeamentos severos, até perder caracteres\n"
  19098. +" -d, --diacritics converter apenas diacríticos ou afins para HTML/LaTeX\n"
  19099. +" -S, --source[=LN] limitar recodificação de expressões e comentários como para LN\n"
  19100. +" -c, --colons usar dois pontos em vez de aspas para diérese\n"
  19101. +" -g, --graphics aproximar réguas IBMPC por gráficos ASCII\n"
  19102. +" -x, --ignore=CONJCAR ignorar CONJCAR ao escolher um caminho a recodificar\n"
  19103. #: src/main.c:296
  19104. msgid ""
  19105. @@ -169,39 +183,47 @@
  19106. "Option -l with no FORMAT nor CHARSET list available charsets and surfaces.\n"
  19107. "FORMAT is `decimal', `octal', `hexadecimal' or `full' (or one of `dohf').\n"
  19108. msgstr ""
  19109. +"\n"
  19110. +"A opção -l sem FORMATO nem CONJCAR lista os conjuntos de caracteres e superfícies disponíveis.\n"
  19111. +"FORMATO é 'decimal', 'octal', 'hexadecimal' ou 'full' (ou um de 'dohf').\n"
  19112. #: src/main.c:302
  19113. msgid ""
  19114. -"Unless DEFAULT_CHARSET is set in environment, CHARSET defaults to the "
  19115. -"locale\n"
  19116. +"Unless DEFAULT_CHARSET is set in environment, CHARSET defaults to the locale\n"
  19117. "dependent encoding, determined by LC_ALL, LC_CTYPE, LANG.\n"
  19118. msgstr ""
  19119. +"A não ser que DEFAULT_CHARSET esteja definido no ambiente, CONJCAR toma o valor\n"
  19120. +"da codificação por omissão da localização, determinado por LC_ALL, LC_CTYPE, LANG.\n"
  19121. #: src/main.c:307
  19122. msgid ""
  19123. "With -k, possible before charsets are listed for the given after CHARSET,\n"
  19124. -"both being tabular charsets, with PAIRS of the form "
  19125. -"`BEF1:AFT1,BEF2:AFT2,...'\n"
  19126. +"both being tabular charsets, with PAIRS of the form `BEF1:AFT1,BEF2:AFT2,...'\n"
  19127. "and BEFs and AFTs being codes are given as decimal numbers.\n"
  19128. msgstr ""
  19129. +"Com -k, possível antes de conj. caracteres serem listados para dados após CONJCAR,\n"
  19130. +"sendo ambos tabulares, com PARES da forma `BEF1:AFT1,BEF2:AFT2,...'\n"
  19131. +"e BEFs e AFTs sendo códigos são dados como números decimais.\n"
  19132. #: src/main.c:312
  19133. -msgid ""
  19134. -"LN is some language, it may be `c', `perl' or `po'; `c' is the default.\n"
  19135. -msgstr ""
  19136. +msgid "LN is some language, it may be `c', `perl' or `po'; `c' is the default.\n"
  19137. +msgstr "LN é uma linguagem, podendo ser 'c', 'perl' ou 'po'; 'c' é predefinido.\n"
  19138. #: src/main.c:315
  19139. msgid ""
  19140. "\n"
  19141. -"REQUEST is SUBREQUEST[,SUBREQUEST]...; SUBREQUEST is "
  19142. -"ENCODING[..ENCODING]...\n"
  19143. -"ENCODING is [CHARSET][/[SURFACE]]...; REQUEST often looks like "
  19144. -"BEFORE..AFTER,\n"
  19145. +"REQUEST is SUBREQUEST[,SUBREQUEST]...; SUBREQUEST is ENCODING[..ENCODING]...\n"
  19146. +"ENCODING is [CHARSET][/[SURFACE]]...; REQUEST often looks like BEFORE..AFTER,\n"
  19147. "with BEFORE and AFTER being charsets. An omitted CHARSET implies the usual\n"
  19148. -"charset; an omitted [/SURFACE]... means the implied surfaces for CHARSET; a "
  19149. -"/\n"
  19150. +"charset; an omitted [/SURFACE]... means the implied surfaces for CHARSET; a /\n"
  19151. "with an empty surface name means no surfaces at all. See the manual.\n"
  19152. msgstr ""
  19153. +"\n"
  19154. +"PEDIDO é SUBPEDIDO[,SUBPEDIDO]...; SUBPEDIDO é CODIFICAÇÃO[..CODIFICAÇÃO]...\n"
  19155. +"CODIFICAÇÃO é [CONJCAR][/[SUPERF�CIE]]...; PEDIDO pode parecer-se com ANTES..DEPOIS,\n"
  19156. +"com ANTES e DEPOIS sendo conjuntos de caracteres. Um CONJCAR omitido implica o conjunto\n"
  19157. +"habitual; um [/SURFACE]... omitido implica as superfćies para CONJCAR; um /\n"
  19158. +"com um nome de superfície vazio significa ausência de superfícies. Veja o manual manual.\n"
  19159. #: src/main.c:323
  19160. msgid ""
  19161. @@ -210,95 +232,93 @@
  19162. "Each FILE is recoded over itself, destroying the original. If no\n"
  19163. "FILE is specified, then act as a filter and recode stdin to stdout.\n"
  19164. msgstr ""
  19165. +"\n"
  19166. +"Se nem -i nem -p forem dados, presume-se -p sem FICHEIRO, senão -i.\n"
  19167. +"Cada FICHEIRO é recodificado sobre si próprio, destruindo-se o original. Se\n"
  19168. +"FICHEIRO não for especificado, actue-se como um filtro e recidifique-se a entrada padrão para a saída padrão.\n"
  19169. #: src/main.c:329
  19170. -#, fuzzy
  19171. msgid ""
  19172. "\n"
  19173. "Report bugs to <recode-bugs@iro.umontreal.ca>.\n"
  19174. msgstr ""
  19175. "\n"
  19176. -"Reporte os «bugs» para <recode-bugs@gnu.ai.mit.edu>.\n"
  19177. +"Reporte erros para <recode-bugs@iro.umontreal.ca>.\n"
  19178. #: src/main.c:430
  19179. #, c-format
  19180. msgid "Sequence `%s' is ambiguous"
  19181. -msgstr ""
  19182. +msgstr "A sequência '%s' é ambígua"
  19183. #: src/main.c:434
  19184. #, c-format
  19185. msgid "Sequence `%s' is unknown"
  19186. -msgstr ""
  19187. +msgstr "A sequência '%s' é desconhecida"
  19188. #: src/main.c:464 src/main.c:522
  19189. #, c-format
  19190. msgid "Language `%s' is ambiguous"
  19191. -msgstr ""
  19192. +msgstr "A linguagem '%s' é ambígua"
  19193. #. -1
  19194. #: src/main.c:468 src/main.c:526
  19195. #, c-format
  19196. msgid "Language `%s' is unknown"
  19197. -msgstr ""
  19198. +msgstr "A linguagem '%s' é desconhecida"
  19199. #: src/main.c:560
  19200. #, c-format
  19201. msgid "Format `%s' is ambiguous"
  19202. -msgstr ""
  19203. +msgstr "O formato '%s' é ambíguo"
  19204. #: src/main.c:564
  19205. #, c-format
  19206. msgid "Format `%s' is unknown"
  19207. -msgstr ""
  19208. +msgstr "O formato '%s' é desconhecido"
  19209. #: src/main.c:621
  19210. -#, fuzzy
  19211. msgid "Written by Franc,ois Pinard <pinard@iro.umontreal.ca>.\n"
  19212. -msgstr ""
  19213. -"\n"
  19214. -"Escrito por Franc,ois Pinard <pinard@iro.umontreal.ca>.\n"
  19215. +msgstr "Escrito por François Pinard <pinard@iro.umontreal.ca>.\n"
  19216. #: src/main.c:624
  19217. -#, fuzzy
  19218. msgid ""
  19219. "\n"
  19220. "Copyright (C) 1990, 92, 93, 94, 96, 97, 99 Free Software Foundation, Inc.\n"
  19221. msgstr ""
  19222. "\n"
  19223. -"Copyright (C) 1990, 1992, 1993, 1994, 1996 Free Software Foundation, Inc.\n"
  19224. +"Copyright (C) 1990, 92, 93, 94, 96, 97, 99 Free Software Foundation, Inc.\n"
  19225. #: src/main.c:628
  19226. msgid ""
  19227. "This is free software; see the source for copying conditions. There is NO\n"
  19228. "warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n"
  19229. msgstr ""
  19230. -"Este programa é «free software»; veja o código fonte para saber em que\n"
  19231. -"condições o pode copiar. SEM GARANTIA; nem mesmo de COMERCIABILIDADE ou\n"
  19232. -"de UTILIDADE PARA QUALQUER UTILIZAÇÃO.\n"
  19233. +"Este programa é livre; veja o código fonte para saber as condições de cópia.\n"
  19234. +"NÃO H� GARANTIA; nem mesmo de COMERCIABILIDADE ou de UTILIDADE PARA UM PROPÓSITO PARTICULAR.\n"
  19235. #: src/main.c:669
  19236. #, c-format
  19237. msgid "Symbol `%s' is unknown"
  19238. -msgstr ""
  19239. +msgstr "O símbolo '%s' é desconhecido"
  19240. #: src/main.c:709 src/main.c:723
  19241. #, c-format
  19242. msgid "Charset `%s' is unknown or ambiguous"
  19243. -msgstr ""
  19244. +msgstr "O conjunto de caracteres '%s' é desconhecido ou ambíguo"
  19245. #: src/main.c:754
  19246. msgid "Required argument is missing"
  19247. -msgstr ""
  19248. +msgstr "Argumento requerido em falta"
  19249. #: src/main.c:797
  19250. #, c-format
  19251. msgid "Syntax is deprecated, please prefer `%s'"
  19252. -msgstr ""
  19253. +msgstr "A sintaxe está desaprovada, por favor prefira '%s'"
  19254. #: src/main.c:803
  19255. #, c-format
  19256. msgid "Request `%s' is erroneous"
  19257. -msgstr ""
  19258. +msgstr "O pedido '%s' é erróneo"
  19259. #: src/main.c:903
  19260. #, c-format
  19261. @@ -312,359 +332,181 @@
  19262. #: src/main.c:954
  19263. #, c-format
  19264. msgid " failed: %s in step `%s..%s'\n"
  19265. -msgstr ""
  19266. +msgstr " falhou: %s no passo '%s..%s'\n"
  19267. #: src/main.c:961
  19268. #, c-format
  19269. msgid "%s failed: %s in step `%s..%s'"
  19270. -msgstr ""
  19271. +msgstr "%s falhou: %s no passo '%s..%s'"
  19272. #: src/main.c:984
  19273. -#, fuzzy, c-format
  19274. +#, c-format
  19275. msgid "%s in step `%s..%s'"
  19276. -msgstr "%spara a sequência %s.%s"
  19277. +msgstr "%s no passo '%s..%s'"
  19278. #: src/names.c:335
  19279. #, c-format
  19280. msgid "Charset %s already exists and is not %s"
  19281. -msgstr "O conjunto de caracteres %s já existe e não é %s"
  19282. +msgstr "O conjunto de caracteres %s j�existe e n� �%s"
  19283. #: src/names.c:831
  19284. -#, fuzzy, c-format
  19285. +#, c-format
  19286. msgid "Cannot list `%s', no names available for this charset"
  19287. -msgstr ""
  19288. -"É impossível listar «%s». Não existem nomes no `RFC 1345' para os caracteres"
  19289. +msgstr "Não é possível listar '%s', sem nomes para este conjunto de caracteres"
  19290. #. code counter
  19291. #. expected value for code counter
  19292. #. insert a while line before printing
  19293. #. Print the long table according to explode data.
  19294. #: src/names.c:984 src/names.c:1030
  19295. -#, fuzzy, c-format
  19296. +#, c-format
  19297. msgid "Dec Oct Hex UCS2 Mne %s\n"
  19298. -msgstr "dec oct hex ch %s\n"
  19299. +msgstr "Dec Oct Hex UCS2 Mne %s\n"
  19300. #: src/names.c:1049
  19301. -#, fuzzy, c-format
  19302. +#, c-format
  19303. msgid "Sorry, no names available for `%s'"
  19304. -msgstr "Desculpe, não existem nomes `RFC 1345' para «%s»"
  19305. +msgstr "Desculpe, sem nomes para '%s'"
  19306. #: src/outer.c:125
  19307. #, c-format
  19308. msgid "Resurfacer set more than once for `%s'"
  19309. -msgstr ""
  19310. +msgstr "Repolidor definido mais do que uma vez para '%s'"
  19311. #: src/outer.c:133
  19312. #, c-format
  19313. msgid "Unsurfacer set more than once for `%s'"
  19314. -msgstr ""
  19315. +msgstr "Despolidor definido mais do que uma vez para '%s'"
  19316. #: src/recode.c:115 src/recode.c:127
  19317. msgid "Virtual memory exhausted"
  19318. -msgstr ""
  19319. +msgstr "Memória virtual esgotada"
  19320. #: src/recode.c:155
  19321. #, c-format, ycp-format
  19322. msgid "Codes %3d and %3d both recode to %3d"
  19323. -msgstr "Ambos os códigos %3d e %3d são convertidos em %3d"
  19324. +msgstr "Ambos os c�igos %3d e %3d s� convertidos em %3d"
  19325. #: src/recode.c:169
  19326. #, c-format, ycp-format
  19327. msgid "No character recodes to %3d"
  19328. -msgstr "Nenhum carácter é convertido em %3d"
  19329. +msgstr "Nenhum car�ter �convertido em %3d"
  19330. #: src/recode.c:170
  19331. msgid "Cannot invert given one-to-one table"
  19332. -msgstr "Não se pode inverter a tabela de um-para-um dada"
  19333. +msgstr "N� se pode inverter a tabela de um-para-um dada"
  19334. #: src/recode.c:224 src/recode.c:236
  19335. #, c-format
  19336. msgid "Following diagnostics for `%s' to `%s'"
  19337. -msgstr "Os diagnosticos seguintes aplicam-se de «%s» para «%s»"
  19338. +msgstr "Os diagnosticos seguintes aplicam-se de %s para %s"
  19339. #: src/recode.c:229 src/recode.c:241
  19340. -#, fuzzy, c-format
  19341. +#, c-format
  19342. msgid "Pair no. %d: <%3d, %3d> conflicts with <%3d, %3d>"
  19343. -msgstr "Par nº %d: { %3d, %3d } em conflito com { %3d, %3d }"
  19344. +msgstr "Par nº %d: <%3d, %3d> em conflito com <%3d, %3d>"
  19345. #: src/recode.c:272
  19346. msgid "Cannot complete table from set of known pairs"
  19347. -msgstr "Não posso completar a tabela a partir do conjunto de pares conhecidos"
  19348. +msgstr "Não é possível completar a tabela a partir do conjunto de pares conhecidos"
  19349. #: src/recode.c:497
  19350. msgid "Identity recoding, not worth a table"
  19351. -msgstr "A conversão não necessita de tabela"
  19352. +msgstr "Recodificação identidade, tabela desnecessária"
  19353. #: src/recode.c:504
  19354. msgid "Recoding is too complex for a mere table"
  19355. -msgstr "Conversão demasiado complexa para uma simples tabela"
  19356. +msgstr "A recodificação é demasiado complexa para uma mera tabela"
  19357. #. Print the header of the header file.
  19358. #: src/recode.c:536
  19359. -#, fuzzy, c-format
  19360. +#, c-format
  19361. msgid "%sConversion table generated mechanically by Free `%s' %s"
  19362. -msgstr "%sTabela de conversão gerada automaticamente por GNU %s %s"
  19363. +msgstr "%sTabela de conversão gerada mecanicamente por Free '%s' %s"
  19364. #: src/recode.c:538
  19365. #, c-format
  19366. msgid "%sfor sequence %s.%s"
  19367. -msgstr "%spara a sequência %s.%s"
  19368. +msgstr "%spara a sequência %s.%s"
  19369. #: src/recode.c:744
  19370. msgid "No table to print"
  19371. -msgstr "Nenhuma tabela a imprimir"
  19372. +msgstr "Nenhuma tabela para exibir"
  19373. #: src/request.c:34
  19374. msgid "reversible"
  19375. -msgstr "reversível"
  19376. +msgstr "reversível"
  19377. #: src/request.c:36
  19378. -#, fuzzy, c-format
  19379. +#, c-format
  19380. msgid "%s to %s"
  19381. -msgstr "%spara a sequência %s.%s"
  19382. +msgstr "%s para %s"
  19383. #: src/request.c:37 src/request.c:39
  19384. msgid "byte"
  19385. -msgstr ""
  19386. +msgstr "byte"
  19387. #: src/request.c:38 src/request.c:40
  19388. msgid "ucs2"
  19389. -msgstr ""
  19390. +msgstr "ucs2"
  19391. #: src/request.c:38 src/request.c:40
  19392. -#, fuzzy
  19393. msgid "variable"
  19394. -msgstr "reversível"
  19395. +msgstr "variável"
  19396. #: src/request.c:111
  19397. msgid "*Unachievable*"
  19398. -msgstr "*Impossível*"
  19399. +msgstr "*Impossível*"
  19400. #: src/request.c:113
  19401. msgid "*mere copy*"
  19402. -msgstr "*simples cópia*"
  19403. +msgstr "*mera cópia*"
  19404. #: src/request.c:246
  19405. msgid "Virtual memory exhausted!"
  19406. -msgstr ""
  19407. +msgstr "Memória virtual esgotada!"
  19408. #: src/request.c:265
  19409. msgid "Step initialisation failed"
  19410. -msgstr ""
  19411. +msgstr "A inicialização falhou"
  19412. #: src/request.c:272
  19413. msgid "Step initialisation failed (unprocessed options)"
  19414. -msgstr ""
  19415. +msgstr "A inicialização falhou (opções não processadas)"
  19416. #: src/request.c:568
  19417. #, c-format
  19418. msgid "Request: %s\n"
  19419. -msgstr ""
  19420. +msgstr "Pedido: %s\n"
  19421. #: src/request.c:720
  19422. #, c-format
  19423. msgid "Shrunk to: %s\n"
  19424. -msgstr ""
  19425. +msgstr "Diminuição para: %s\n"
  19426. #: src/request.c:823 src/request.c:932
  19427. #, c-format
  19428. msgid "Unrecognised surface name `%s'"
  19429. -msgstr ""
  19430. +msgstr "Nome de superfície '%s' não reconhecido"
  19431. #: src/request.c:903
  19432. -#, fuzzy, c-format
  19433. +#, c-format
  19434. msgid "No way to recode from `%s' to `%s'"
  19435. -msgstr "É impossível passar de %s para %s"
  19436. +msgstr "Não é possível recodificar de '%s' para '%s'"
  19437. #: src/request.c:1013
  19438. msgid "Expecting `..' in request"
  19439. -msgstr ""
  19440. +msgstr "À espera de '..' no pedido"
  19441. #: src/task.c:826 src/task.c:1002
  19442. #, c-format
  19443. msgid "Child process wait status is 0x%0.2x"
  19444. -msgstr "O processo filho terminou com estado 0x%0.2x"
  19445. +msgstr "O estado de espera do processo filho é 0x%0.2x"
  19446. #: src/testdump.c:298
  19447. msgid ""
  19448. "UCS2 Mne Description\n"
  19449. "\n"
  19450. msgstr ""
  19451. -
  19452. -#~ msgid "Ambiguous sequence `%s'"
  19453. -#~ msgstr "A sequência «%s» é ambígua"
  19454. -
  19455. -#~ msgid "Unknown sequence `%s'"
  19456. -#~ msgstr "Sequência «%s» desconhecida"
  19457. -
  19458. -#~ msgid "Ambiguous language `%s'"
  19459. -#~ msgstr "Linguagem «%s» ambígua"
  19460. -
  19461. -#~ msgid "Unknown language `%s'"
  19462. -#~ msgstr "Lingua «%s» desconhecida"
  19463. -
  19464. -#~ msgid "Ambiguous format `%s'"
  19465. -#~ msgstr "O formato «%s» é ambiguo"
  19466. -
  19467. -#~ msgid "Unknown format `%s'"
  19468. -#~ msgstr "Formato «%s» desconhecido"
  19469. -
  19470. -#~ msgid "Hash stats: %d names using %d buckets out of %d\n"
  19471. -#~ msgstr "Estatísticas de dispersão: %d nomes, usando %d de %d posições\n"
  19472. -
  19473. -#~ msgid "Currently, -s is ignored when -g is selected"
  19474. -#~ msgstr "Actualmente, -s é ignorado quando -g é seleccionado"
  19475. -
  19476. -#~ msgid "one to one"
  19477. -#~ msgstr "de um para um"
  19478. -
  19479. -#~ msgid "one to many"
  19480. -#~ msgstr "de um para vários"
  19481. -
  19482. -#~ msgid "many to one"
  19483. -#~ msgstr "de vários para um"
  19484. -
  19485. -#~ msgid "many to many"
  19486. -#~ msgstr "de vários para vários"
  19487. -
  19488. -#~ msgid "MAX_CHARSETS is too small"
  19489. -#~ msgstr "MAX_CHARSETS é demasiado pequeno"
  19490. -
  19491. -#~ msgid "Ambiguous charset or encoding `%s'"
  19492. -#~ msgstr "Caracteres ou codificação «%s» ambiguos"
  19493. -
  19494. -#~ msgid "Unknown charset or encoding `%s'"
  19495. -#~ msgstr "Conjunto de caracteres ou codificação «%s» desconhecido"
  19496. -
  19497. -#~ msgid "Simplified to: %s\n"
  19498. -#~ msgstr "Reduzido a: %s\n"
  19499. -
  19500. -#~ msgid "Unbalanced quotes in request"
  19501. -#~ msgstr "Plicas desemparelhadas no pedido"
  19502. -
  19503. -#~ msgid "Illegal backslash"
  19504. -#~ msgstr "Barra invertida ilegal"
  19505. -
  19506. -#~ msgid "Internal error - strategy undecided"
  19507. -#~ msgstr "Erro interno - estratégia não decidível"
  19508. -
  19509. -#~ msgid "ONE to SAME"
  19510. -#~ msgstr "UM para o MESMO"
  19511. -
  19512. -#~ msgid "steps: %d"
  19513. -#~ msgstr "passos: %d"
  19514. -
  19515. -#~ msgid ", %d saved by merging"
  19516. -#~ msgstr ", %d gravado por fusão"
  19517. -
  19518. -#~ msgid " UNACHIEVABLE\n"
  19519. -#~ msgstr " IMPOSSÍVEL\n"
  19520. -
  19521. -#~ msgid "Cannot auto check the ignored charset"
  19522. -#~ msgstr ""
  19523. -#~ "Verificação automática do conjunto de caracteres ignorados impossível"
  19524. -
  19525. -#~ msgid "Cannot auto check on %s"
  19526. -#~ msgstr "Verificação automática em «%s» impossível"
  19527. -
  19528. -#~ msgid ""
  19529. -#~ "Mandatory or optional arguments to long options are mandatory or optional\n"
  19530. -#~ "for short options too.\n"
  19531. -#~ "\n"
  19532. -#~ " -C, --copyright display Copyright and copying conditions\n"
  19533. -#~ " -a, --auto-check report about some or all recoding paths, then exit\n"
  19534. -#~ " -l, --list[=FORMAT] list one or all known charsets\n"
  19535. -#~ " -k, --known=PAIRS restrict charsets according to known PAIRS list\n"
  19536. -#~ " --help display this help and exit\n"
  19537. -#~ " --version output version information and exit\n"
  19538. -#~ "\n"
  19539. -#~ "FORMAT is a word among decimal, octal, hexadecimal or full (which may be\n"
  19540. -#~ "abbreviated to one of `dohf'), it defaults to just the canonical name.\n"
  19541. -#~ "With -k, possible before charsets are listed for the given after CHARSET,\n"
  19542. -#~ "both being RFC1345 charsets, with PAIRS of the form "
  19543. -#~ "`BEF1:AFT1,BEF2:AFT2,...\n"
  19544. -#~ "and BEFs and AFTs being codes. All codes are given as decimal numbers.\n"
  19545. -#~ msgstr ""
  19546. -#~ "Os argumentos obrigatórios ou opcionais na forma longa das opções, também "
  19547. -#~ "osão nas respectivas formas abreviadas.\n"
  19548. -#~ "\n"
  19549. -#~ " -C, --copyright afixar os direitos e condições de cópia\n"
  19550. -#~ " -a, --auto-check verificar os passos para a conversão e terminar\n"
  19551. -#~ " -l, --list[=FORMAT] listar os conjuntos de caracteres conhecidos\n"
  19552. -#~ " -k, --known=PAIRES restringir os conjuntos de caracteres com PAIRES\n"
  19553. -#~ " --help afixar esta ajuda e terminar\n"
  19554. -#~ " --version afixar a versão do programa e terminar\n"
  19555. -#~ "\n"
  19556. -#~ "FORMAT é «decimal», «octal», «hexadecimal» ou «full» (que pode abreviar\n"
  19557. -#~ "usando uma letra de `dohf'), se omitido, o nome canónico é assumido.\n"
  19558. -#~ "Com -k, são listados os caracteres possíveis para cada CHARSET de saída,\n"
  19559. -#~ "de acordo com o RFC1345, com PAIRES da forma «BEF1:AFT1,BEF2:AFT2,...»\n"
  19560. -#~ "sendo BEFs e AFTs os respectivos códigos em notação decimal.\n"
  19561. -
  19562. -#~ msgid ""
  19563. -#~ "Option -l with no FORMAT nor CHARSET list all charsets, also see the "
  19564. -#~ "Texinfo\n"
  19565. -#~ "documentation. My preferred charsets are (each user has preferences):\n"
  19566. -#~ "\n"
  19567. -#~ " ascii-bs ASCII (7-bit), using backspace to apply diacritics\n"
  19568. -#~ " ibmpc IBM-PC 8-bit characters, with proper newlines\n"
  19569. -#~ " latex LaTeX coding of foreign and diacriticized characters\n"
  19570. -#~ " latin1 ISO Latin-1 8-bit extension of ASCII\n"
  19571. -#~ " texte Easy French convention for transmitting email messages\n"
  19572. -#~ msgstr ""
  19573. -#~ "A opção -l sem FORMAT nem CHARSET lista todos os conjuntos de caracteres\n"
  19574. -#~ "(ver manual). Alguns conjuntos de caracteres bastante comuns:\n"
  19575. -#~ "\n"
  19576. -#~ " ascii-bs ASCII (7-bit), usando «backspace» para a acentuação\n"
  19577. -#~ " ibmpc IBM-PC (8-bit), com CR LF a marcar o fim das linhas\n"
  19578. -#~ " latex codificação LaTeX para os caracteres acentuados e outros\n"
  19579. -#~ " latin1 ISO Latin-1 8-bits (extensão do ASCII)\n"
  19580. -#~ " texte convensão «Easy French» para mensagens «email»\n"
  19581. -
  19582. -#~ msgid ""
  19583. -#~ "\n"
  19584. -#~ "Usage: %s [OPTION]... [BEFORE]:[AFTER] [FILE]...\n"
  19585. -#~ msgstr ""
  19586. -#~ "\n"
  19587. -#~ "Uso: %s [OPÇÃO]... [BEFORE]:[AFTER] [FILE]...\n"
  19588. -
  19589. -#~ msgid ""
  19590. -#~ " -o, --sequence=popen use popen machinery for sequencing passes\n"
  19591. -#~ msgstr " -o, --sequence=popen usar «popen» para sequenciar os passos\n"
  19592. -
  19593. -#~ msgid " -o, --sequence=popen same as -i (on this system)\n"
  19594. -#~ msgstr " -o, --sequence=popen o mesmo que -i (neste sistema)\n"
  19595. -
  19596. -#~ msgid ""
  19597. -#~ " -q, --quiet, --silent inhibit messages about irreversible recodings\n"
  19598. -#~ " -s, --strict use strict mappings, even loose characters\n"
  19599. -#~ " -t, --touch touch the recoded files after replacement\n"
  19600. -#~ " -v, --verbose explain sequence of steps and report progress\n"
  19601. -#~ " -x, --ignore=CHARSET ignore CHARSET while choosing a recoding path\n"
  19602. -#~ "\n"
  19603. -#~ "If none of -i, -o and -p are given, presume -p if no FILE, else -i.\n"
  19604. -#~ "Each FILE is recoded over itself, destroying the original. If no\n"
  19605. -#~ "FILE is specified, then act as a filter and recode stdin to stdout.\n"
  19606. -#~ msgstr ""
  19607. -#~ " -q, --quiet, --silent não afixar mensagens sobre conversões "
  19608. -#~ "irreversíveis\n"
  19609. -#~ " -s, --strict conversão estrita, podendo perder alguns "
  19610. -#~ "caracteres\n"
  19611. -#~ " -t, --touch actualizar a hora dos ficheiros processados\n"
  19612. -#~ " -v, --verbose afixar a sequência de passos e relatar o "
  19613. -#~ "progresso\n"
  19614. -#~ " -x, --ignore=CHARSET ignorar CHARSET na escolha da sequência de passos\n"
  19615. -#~ "\n"
  19616. -#~ "Na ausência de -i, -o e -p, assumir -i se não der FILE, ou então -p.\n"
  19617. -#~ "Cada FILE é convertido para ele nesmo, destruindo o original. Se não "
  19618. -#~ "indicar\n"
  19619. -#~ "qualquer FILE, actuar como um filtro convertendo do «stdin» para «stdout».\n"
  19620. -
  19621. -#~ msgid "BEFORE and AFTER both default to `%s' when needed.\n"
  19622. -#~ msgstr "BEFORE e AFTER são ambos assumidos como «%s» quando necessário.\n"
  19623. -
  19624. -#~ msgid "%s: Recoding is not reversible"
  19625. -#~ msgstr "%s: Conversão irreversível"
  19626. -
  19627. -#~ msgid "Recoding is not reversible"
  19628. -#~ msgstr "Conversão irreversível"
  19629. +"UCS2 Mne Descrição\n"
  19630. +"\n"
  19631. --- recode-3.6.orig/i18n/vi.po
  19632. +++ recode-3.6/i18n/vi.po
  19633. @@ -0,0 +1,512 @@
  19634. +# Vietnamese translation for recode-3.6.
  19635. +# Copyright (C) 2005 Free Software Foundation, Inc.
  19636. +# Clytie Siddall <clytie@riverland.net.au>, 2005.
  19637. +#
  19638. +msgid ""
  19639. +msgstr ""
  19640. +"Project-Id-Version: recode 3.6\n"
  19641. +"Report-Msgid-Bugs-To: <recode-bugs@iro.umontreal.ca>\n"
  19642. +"POT-Creation-Date: 2001-01-02 22:35+0100\n"
  19643. +"PO-Revision-Date: 2005-02-20 18:44+0950\n"
  19644. +"Last-Translator: Clytie Siddall <clytie@riverland.net.au>\n"
  19645. +"Language-Team: Vietnamese <gnomevi-list@lists.sourceforge.net> \n"
  19646. +"MIME-Version: 1.0\n"
  19647. +"Content-Type: text/plain; charset=utf-8\n"
  19648. +"Content-Transfer-Encoding: 8bit\n"
  19649. +
  19650. +#: src/main.c:142
  19651. +msgid "No error"
  19652. +msgstr "Không có lỗi"
  19653. +
  19654. +#: src/main.c:145
  19655. +msgid "Non canonical input"
  19656. +msgstr "Dữ liệụ gõ không đúng tiêu chuẩn"
  19657. +
  19658. +#: src/main.c:148
  19659. +msgid "Ambiguous output"
  19660. +msgstr "Dữ liệu xuất là mơ hồ"
  19661. +
  19662. +#: src/main.c:151
  19663. +msgid "Untranslatable input"
  19664. +msgstr "Dữ liệu gõ không dịch được"
  19665. +
  19666. +#: src/main.c:154
  19667. +msgid "Invalid input"
  19668. +msgstr "Dữ liệu gõ không hợp lệ"
  19669. +
  19670. +#: src/main.c:157
  19671. +msgid "System detected problem"
  19672. +msgstr "Hệ thống mới gặp lỗi"
  19673. +
  19674. +#: src/main.c:160
  19675. +msgid "Misuse of recoding library"
  19676. +msgstr "Không sử dụng thư viện mã hóa lại cho đúng"
  19677. +
  19678. +#: src/main.c:163
  19679. +msgid "Internal recoding bug"
  19680. +msgstr "Lỗi mã hóa lại nội bộ"
  19681. +
  19682. +#: src/main.c:208
  19683. +msgid ""
  19684. +"This program is free software; you can redistribute it and/or modify\n"
  19685. +"it under the terms of the GNU General Public License as published by\n"
  19686. +"the Free Software Foundation; either version 2, or (at your option)\n"
  19687. +"any later version.\n"
  19688. +"\n"
  19689. +"This program is distributed in the hope that it will be useful,\n"
  19690. +"but WITHOUT ANY WARRANTY; without even the implied warranty of\n"
  19691. +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n"
  19692. +"GNU General Public License for more details.\n"
  19693. +"\n"
  19694. +"You should have received a copy of the GNU General Public License\n"
  19695. +"along with this program; if not, write to the Free Software Foundation,\n"
  19696. +"Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n"
  19697. +msgstr ""
  19698. +"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"
  19699. +"nó với đi�u kiện cua Quy�n Công Chung Gnu (GPL) như được xuất do\n"
  19700. +"Free Software Foundation; hoặc phiên bản 2, hoặc (tùy ch�n)\n"
  19701. +"bất cứ phiên bản sau nào.\n"
  19702. +"\n"
  19703. +"Chúng tôi phân phối chương trình này vì mong nó có ích, nhưng\n"
  19704. +"không bảo đảm gì cả, không bảo đảm một cách ngụ ý\n"
  19705. +"khả năng bán hay khả năng làm việc dứt khoát. Hãy xem\n"
  19706. +"Quy�n Công Chung Gnu để tim thấy chi tiết thêm.\n"
  19707. +"\n"
  19708. +"Bạn nên được nhận một bản Quy�n Công Chung Gnu với\n"
  19709. +"chương trình này; nếu không thì hãy viết thư cho Free Software Foundation,\n"
  19710. +"Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA (Mỹ).\n"
  19711. +
  19712. +#: src/main.c:233
  19713. +#, c-format
  19714. +msgid "Try `%s %s' for more information.\n"
  19715. +msgstr "Thử lệnh `%s %s' để tìm thấy thông tin thêm.\n"
  19716. +
  19717. +#: src/main.c:237
  19718. +msgid "Free `recode' converts files between various character sets and surfaces.\n"
  19719. +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"
  19720. +
  19721. +#: src/main.c:241
  19722. +#, c-format
  19723. +msgid ""
  19724. +"\n"
  19725. +"Usage: %s [OPTION]... [ [CHARSET] | REQUEST [FILE]... ]\n"
  19726. +msgstr ""
  19727. +"\n"
  19728. +"Cách sử dụng: %s [TÙY_CHỌN]... [ [BỘ_K�_TỰ] | LỜI_YÊU_CẦU [TẬP_TIN]... ]\n"
  19729. +
  19730. +#: src/main.c:244
  19731. +msgid ""
  19732. +"\n"
  19733. +"If a long option shows an argument as mandatory, then it is mandatory\n"
  19734. +"for the equivalent short option also. Similarly for optional arguments.\n"
  19735. +msgstr ""
  19736. +"\n"
  19737. +"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"
  19738. +"�ối với đối số tùy ch�n thì cách giống nhau.\n"
  19739. +
  19740. +#: src/main.c:250
  19741. +msgid ""
  19742. +"\n"
  19743. +"Listings:\n"
  19744. +" -l, --list[=FORMAT] list one or all known charsets and aliases\n"
  19745. +" -k, --known=PAIRS restrict charsets according to known PAIRS list\n"
  19746. +" -h, --header[=[LN/]NAME] write table NAME on stdout using LN, then exit\n"
  19747. +" -F, --freeze-tables write out a C module holding all tables\n"
  19748. +" -T, --find-subsets report all charsets being subset of others\n"
  19749. +" -C, --copyright display Copyright and copying conditions\n"
  19750. +" --help display this help and exit\n"
  19751. +" --version output version information and exit\n"
  19752. +msgstr ""
  19753. +"\n"
  19754. +"Danh sách:\n"
  19755. +" -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"
  19756. +" -k, --known=CẶP hạn chế bộ ký tự theo danh sách CẶP _được biết_\n"
  19757. +" -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"
  19758. +" -F, --freeze-tables ghi ra mô-đun C chứa tất cả _bảng_ (_làm đông đặc_)\n"
  19759. +" -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"
  19760. +" -C, --copyright hiển thị các đi�u kiện _bản quy�n_ và sao chép\n"
  19761. +" --help hiển thị _trợ giúp_ này rồi thoát\n"
  19762. +" --version xuất thông tin _phiên bản_ rồi thoát\n"
  19763. +
  19764. +#: src/main.c:263
  19765. +msgid ""
  19766. +"\n"
  19767. +"Operation modes:\n"
  19768. +" -v, --verbose explain sequence of steps and report progress\n"
  19769. +" -q, --quiet, --silent inhibit messages about irreversible recodings\n"
  19770. +" -f, --force force recodings even when not reversible\n"
  19771. +" -t, --touch touch the recoded files after replacement\n"
  19772. +" -i, --sequence=files use intermediate files for sequencing passes\n"
  19773. +" --sequence=memory use memory buffers for sequencing passes\n"
  19774. +msgstr ""
  19775. +"\n"
  19776. +"Chế độ thi hành:\n"
  19777. +" -v, --verbose giải thích dãy bước và thông báo tiến trình (_chi tiết_)\n"
  19778. +" -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"
  19779. +" -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"
  19780. +" -t, --touch _s�_ m�i tập tin được mã hóa lại sau khi thay thế\n"
  19781. +" -i, --sequence=files sử dụng _tâp tin_ trung cấp cho việc _sắp xếp_ \n"
  19782. +" --sequence=memory sử dụng bộ đệm _nhớ_ cho việc _sắp xếp_\n"
  19783. +
  19784. +#: src/main.c:275
  19785. +msgid " -p, --sequence=pipe use pipe machinery for sequencing passes\n"
  19786. +msgstr " -p, --sequence=pipe sử dụng thiết bị _ống_ cho việc _sắp xếp_\n"
  19787. +
  19788. +#: src/main.c:280
  19789. +msgid " -p, --sequence=pipe same as -i (on this system)\n"
  19790. +msgstr " -p, --sequence=pipe bằng c� -i (trên hệ đi�u hành này)\n"
  19791. +
  19792. +#: src/main.c:285
  19793. +msgid ""
  19794. +"\n"
  19795. +"Fine tuning:\n"
  19796. +" -s, --strict use strict mappings, even loose characters\n"
  19797. +" -d, --diacritics convert only diacritics or alike for HTML/LaTeX\n"
  19798. +" -S, --source[=LN] limit recoding to strings and comments as for LN\n"
  19799. +" -c, --colons use colons instead of double quotes for diaeresis\n"
  19800. +" -g, --graphics approximate IBMPC rulers by ASCII graphics\n"
  19801. +" -x, --ignore=CHARSET ignore CHARSET while choosing a recoding path\n"
  19802. +msgstr ""
  19803. +"\n"
  19804. +"�i�u hưởng tinh:\n"
  19805. +" -s, --strict sử dụng ánh xạ _chặt chẽ_, ngay cả ký tự phóng\n"
  19806. +" -d, --diacritics chuyển đổi chỉ _dấu phụ_ hay đi�u như nhau đối với HTML/LaTeX\n"
  19807. +" -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"
  19808. +" -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"
  19809. +" -g, --graphics ước các thước đo IBMPC bằng _đồ h�a_ ASCII\n"
  19810. +" -x, --ignore=BÔ_K�_TỰ _b� qua_ bộ ký tự ấy khi ch�n đư�ng dẫn mã hóa lại\n"
  19811. +
  19812. +#: src/main.c:296
  19813. +msgid ""
  19814. +"\n"
  19815. +"Option -l with no FORMAT nor CHARSET list available charsets and surfaces.\n"
  19816. +"FORMAT is `decimal', `octal', `hexadecimal' or `full' (or one of `dohf').\n"
  19817. +msgstr ""
  19818. +"\n"
  19819. +"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"
  19820. +"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"
  19821. +
  19822. +#: src/main.c:302
  19823. +msgid ""
  19824. +"Unless DEFAULT_CHARSET is set in environment, CHARSET defaults to the locale\n"
  19825. +"dependent encoding, determined by LC_ALL, LC_CTYPE, LANG.\n"
  19826. +msgstr ""
  19827. +"Nếu chưa lập BỘ_K�_TỰ_MẶC_�ỊNH trong môi trư�ng thì LC_ALL, LC_CTYPE, LANG\n"
  19828. +"quyết định biên mã phụ thuộc vào mi�n địa phương, là BỘ_K�_TỰ mặc định\n"
  19829. +
  19830. +#: src/main.c:307
  19831. +msgid ""
  19832. +"With -k, possible before charsets are listed for the given after CHARSET,\n"
  19833. +"both being tabular charsets, with PAIRS of the form `BEF1:AFT1,BEF2:AFT2,...'\n"
  19834. +"and BEFs and AFTs being codes are given as decimal numbers.\n"
  19835. +msgstr ""
  19836. +"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"
  19837. +"cả hai bộ ký tự ấy có dạng bảng, có m�i đôi dạng `BEF1:AFT1,BEF2:AFT2,...'\n"
  19838. +"và cả hai BEF và AFT là mã dạng số thập phân.\n"
  19839. +
  19840. +#: src/main.c:312
  19841. +msgid "LN is some language, it may be `c', `perl' or `po'; `c' is the default.\n"
  19842. +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"
  19843. +
  19844. +#: src/main.c:315
  19845. +msgid ""
  19846. +"\n"
  19847. +"REQUEST is SUBREQUEST[,SUBREQUEST]...; SUBREQUEST is ENCODING[..ENCODING]...\n"
  19848. +"ENCODING is [CHARSET][/[SURFACE]]...; REQUEST often looks like BEFORE..AFTER,\n"
  19849. +"with BEFORE and AFTER being charsets. An omitted CHARSET implies the usual\n"
  19850. +"charset; an omitted [/SURFACE]... means the implied surfaces for CHARSET; a /\n"
  19851. +"with an empty surface name means no surfaces at all. See the manual.\n"
  19852. +msgstr ""
  19853. +"\n"
  19854. +"LỜI_YÊU_CẦU là PHỤ_LỜI_YÊU_CẦU[,PHỤ_LỜI_YÊU_CẦU]...;\n"
  19855. +"PHỤ_LỜI_YÊU_CẦU là BIÊN_MÃ [..BIÊN_MÃ]... BIÊN_MÃ là [BỘ_K�_TỰ][/[MẶT]]...;\n"
  19856. +"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"
  19857. +"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"
  19858. +"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"
  19859. +"không có mặt nào. Hãy xem sổ hướng dẫn.\n"
  19860. +
  19861. +#: src/main.c:323
  19862. +msgid ""
  19863. +"\n"
  19864. +"If none of -i and -p are given, presume -p if no FILE, else -i.\n"
  19865. +"Each FILE is recoded over itself, destroying the original. If no\n"
  19866. +"FILE is specified, then act as a filter and recode stdin to stdout.\n"
  19867. +msgstr ""
  19868. +"\n"
  19869. +"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"
  19870. +"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"
  19871. +"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"
  19872. +
  19873. +#: src/main.c:329
  19874. +msgid ""
  19875. +"\n"
  19876. +"Report bugs to <recode-bugs@iro.umontreal.ca>.\n"
  19877. +msgstr ""
  19878. +"\n"
  19879. +"Hãy thông báo lỗi cho <recode-bugs@iro.umontreal.ca>.\n"
  19880. +
  19881. +#: src/main.c:430
  19882. +#, c-format
  19883. +msgid "Sequence `%s' is ambiguous"
  19884. +msgstr "Dãy `%s' mơ hồ"
  19885. +
  19886. +#: src/main.c:434
  19887. +#, c-format
  19888. +msgid "Sequence `%s' is unknown"
  19889. +msgstr "Chưa biết dãy `%s' "
  19890. +
  19891. +#: src/main.c:464 src/main.c:522
  19892. +#, c-format
  19893. +msgid "Language `%s' is ambiguous"
  19894. +msgstr "Ngôn ngữ `%s' mơ hồ"
  19895. +
  19896. +#. -1
  19897. +#: src/main.c:468 src/main.c:526
  19898. +#, c-format
  19899. +msgid "Language `%s' is unknown"
  19900. +msgstr "Chưa biết ngôn ngữ `%s'"
  19901. +
  19902. +#: src/main.c:560
  19903. +#, c-format
  19904. +msgid "Format `%s' is ambiguous"
  19905. +msgstr "Dạng `%s' mơ hồ"
  19906. +
  19907. +#: src/main.c:564
  19908. +#, c-format
  19909. +msgid "Format `%s' is unknown"
  19910. +msgstr "Chưa biết dạng `%s' "
  19911. +
  19912. +#: src/main.c:621
  19913. +msgid "Written by Franc,ois Pinard <pinard@iro.umontreal.ca>.\n"
  19914. +msgstr "Tác giả: François Pinard <pinard@iro.umontreal.ca>.\n"
  19915. +
  19916. +#: src/main.c:624
  19917. +msgid ""
  19918. +"\n"
  19919. +"Copyright (C) 1990, 92, 93, 94, 96, 97, 99 Free Software Foundation, Inc.\n"
  19920. +msgstr ""
  19921. +"\n"
  19922. +"Bản quy�n (C) năm 1990, 92, 93, 94, 96, 97, 99 Free Software Foundation, Inc.\n"
  19923. +
  19924. +#: src/main.c:628
  19925. +msgid ""
  19926. +"This is free software; see the source for copying conditions. There is NO\n"
  19927. +"warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n"
  19928. +msgstr ""
  19929. +"�ây là phần m�m tự do; hãy xem mã nguồn để thấy đi�u kiện sao chép.\n"
  19930. +"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"
  19931. +
  19932. +#: src/main.c:669
  19933. +#, c-format
  19934. +msgid "Symbol `%s' is unknown"
  19935. +msgstr "Chưa biết ký hiệu `%s' "
  19936. +
  19937. +#: src/main.c:709 src/main.c:723
  19938. +#, c-format
  19939. +msgid "Charset `%s' is unknown or ambiguous"
  19940. +msgstr "Bộ ký tự `%s' là chưa được biệt hoặc mơ hồ"
  19941. +
  19942. +#: src/main.c:754
  19943. +msgid "Required argument is missing"
  19944. +msgstr "Thiếu đốí số bắt buộc"
  19945. +
  19946. +#: src/main.c:797
  19947. +#, c-format
  19948. +msgid "Syntax is deprecated, please prefer `%s'"
  19949. +msgstr "Phản đối cú pháp ấy, hãy sử dụng `%s' thay thế"
  19950. +
  19951. +#: src/main.c:803
  19952. +#, c-format
  19953. +msgid "Request `%s' is erroneous"
  19954. +msgstr "L�i yêu cầu `%s' không đúng"
  19955. +
  19956. +#: src/main.c:903
  19957. +#, c-format
  19958. +msgid "Recoding %s..."
  19959. +msgstr "�ang mã hóa lại %s..."
  19960. +
  19961. +#: src/main.c:913
  19962. +msgid " done\n"
  19963. +msgstr " xong rồi\n"
  19964. +
  19965. +#: src/main.c:954
  19966. +#, c-format
  19967. +msgid " failed: %s in step `%s..%s'\n"
  19968. +msgstr " không xong được: %s trong bước `%s..%s'\n"
  19969. +
  19970. +#: src/main.c:961
  19971. +#, c-format
  19972. +msgid "%s failed: %s in step `%s..%s'"
  19973. +msgstr "%s không xong được: %s trong bước `%s..%s'"
  19974. +
  19975. +#: src/main.c:984
  19976. +#, c-format
  19977. +msgid "%s in step `%s..%s'"
  19978. +msgstr "%s trong bÆ°á»›c `%s..%s'"
  19979. +
  19980. +#: src/names.c:335
  19981. +#, c-format
  19982. +msgid "Charset %s already exists and is not %s"
  19983. +msgstr "Bộ ký tự %s tồn tại rồi, không là %s"
  19984. +
  19985. +#: src/names.c:831
  19986. +#, c-format
  19987. +msgid "Cannot list `%s', no names available for this charset"
  19988. +msgstr "Không ghi `%s' được vì không có tên nào cho bộ ký tự này"
  19989. +
  19990. +#. code counter
  19991. +#. expected value for code counter
  19992. +#. insert a while line before printing
  19993. +#. Print the long table according to explode data.
  19994. +#: src/names.c:984 src/names.c:1030
  19995. +#, c-format
  19996. +msgid "Dec Oct Hex UCS2 Mne %s\n"
  19997. +msgstr "Hệ2 Hệ8 Hệ16 UCS2 Nhớ %s\n"
  19998. +
  19999. +#: src/names.c:1049
  20000. +#, c-format
  20001. +msgid "Sorry, no names available for `%s'"
  20002. +msgstr "Tiếc là không có tên nào cho `%s'"
  20003. +
  20004. +#: src/outer.c:125
  20005. +#, c-format
  20006. +msgid "Resurfacer set more than once for `%s'"
  20007. +msgstr "�ã lập việc tạo mặt lại hơn một lần cho `%s'"
  20008. +
  20009. +#: src/outer.c:133
  20010. +#, c-format
  20011. +msgid "Unsurfacer set more than once for `%s'"
  20012. +msgstr "�ã lập việc b� mặt hơn một lần cho `%s'"
  20013. +
  20014. +#: src/recode.c:115 src/recode.c:127
  20015. +msgid "Virtual memory exhausted"
  20016. +msgstr "Hết bộ nhớ ảo rồì"
  20017. +
  20018. +#: src/recode.c:155
  20019. +#, c-format, ycp-format
  20020. +msgid "Codes %3d and %3d both recode to %3d"
  20021. +msgstr "Có mã hóa lại cả hai mã %3d và %3d thành %3d"
  20022. +
  20023. +#: src/recode.c:169
  20024. +#, c-format, ycp-format
  20025. +msgid "No character recodes to %3d"
  20026. +msgstr "Không mã hóa lại ký tự nào thành %3d"
  20027. +
  20028. +#: src/recode.c:170
  20029. +msgid "Cannot invert given one-to-one table"
  20030. +msgstr "Không đảo được bảng một-đối-một đã cho"
  20031. +
  20032. +#: src/recode.c:224 src/recode.c:236
  20033. +#, c-format
  20034. +msgid "Following diagnostics for `%s' to `%s'"
  20035. +msgstr "�ang theo phương pháp chẩn đoán cho `%s' đến `%s'"
  20036. +
  20037. +#: src/recode.c:229 src/recode.c:241
  20038. +#, c-format
  20039. +msgid "Pair no. %d: <%3d, %3d> conflicts with <%3d, %3d>"
  20040. +msgstr "Số cặp %d: <%3d, %3d> xung đột với <%3d, %3d>"
  20041. +
  20042. +#: src/recode.c:272
  20043. +msgid "Cannot complete table from set of known pairs"
  20044. +msgstr "Không thể xong tạo bảng từ bộ cặp được biết"
  20045. +
  20046. +#: src/recode.c:497
  20047. +msgid "Identity recoding, not worth a table"
  20048. +msgstr "Việc mã hóa lại chỉ giống hệt, không cần bảng toàn"
  20049. +
  20050. +#: src/recode.c:504
  20051. +msgid "Recoding is too complex for a mere table"
  20052. +msgstr "Việc mã hóa lại quá phức tạp đối với bảng"
  20053. +
  20054. +#. Print the header of the header file.
  20055. +#: src/recode.c:536
  20056. +#, c-format
  20057. +msgid "%sConversion table generated mechanically by Free `%s' %s"
  20058. +msgstr "%sBảng chuyển đổi được tạo ra tự động do Free (Tự do) `%s' %s"
  20059. +
  20060. +#: src/recode.c:538
  20061. +#, c-format
  20062. +msgid "%sfor sequence %s.%s"
  20063. +msgstr "%sđối với dãy %s.%s"
  20064. +
  20065. +#: src/recode.c:744
  20066. +msgid "No table to print"
  20067. +msgstr "Không có bảng nào để in"
  20068. +
  20069. +#: src/request.c:34
  20070. +msgid "reversible"
  20071. +msgstr "có thể hoàn tác"
  20072. +
  20073. +#: src/request.c:36
  20074. +#, c-format
  20075. +msgid "%s to %s"
  20076. +msgstr "%s thành %s"
  20077. +
  20078. +#: src/request.c:37 src/request.c:39
  20079. +msgid "byte"
  20080. +msgstr "byte"
  20081. +
  20082. +#: src/request.c:38 src/request.c:40
  20083. +msgid "ucs2"
  20084. +msgstr "ucs2"
  20085. +
  20086. +#: src/request.c:38 src/request.c:40
  20087. +msgid "variable"
  20088. +msgstr "biến đổi"
  20089. +
  20090. +#: src/request.c:111
  20091. +msgid "*Unachievable*"
  20092. +msgstr "*Không xong đươc*"
  20093. +
  20094. +#: src/request.c:113
  20095. +msgid "*mere copy*"
  20096. +msgstr "*chỉ bản sao*"
  20097. +
  20098. +#: src/request.c:246
  20099. +msgid "Virtual memory exhausted!"
  20100. +msgstr "Hết bộ nhớ ảo rồi."
  20101. +
  20102. +#: src/request.c:265
  20103. +msgid "Step initialisation failed"
  20104. +msgstr "Không khởi động bước được"
  20105. +
  20106. +#: src/request.c:272
  20107. +msgid "Step initialisation failed (unprocessed options)"
  20108. +msgstr "Không khởi động bước được (chưa xử lý tùy ch�n)"
  20109. +
  20110. +#: src/request.c:568
  20111. +#, c-format
  20112. +msgid "Request: %s\n"
  20113. +msgstr "L�i yêu cầu: %s\n"
  20114. +
  20115. +#: src/request.c:720
  20116. +#, c-format
  20117. +msgid "Shrunk to: %s\n"
  20118. +msgstr "�ã co lại cho: %s\n"
  20119. +
  20120. +#: src/request.c:823 src/request.c:932
  20121. +#, c-format
  20122. +msgid "Unrecognised surface name `%s'"
  20123. +msgstr "Chưa chấp nhận tên mặt `%s'"
  20124. +
  20125. +#: src/request.c:903
  20126. +#, c-format
  20127. +msgid "No way to recode from `%s' to `%s'"
  20128. +msgstr "Không có cách mã hóa lại tư `%s' sang `%s'"
  20129. +
  20130. +#: src/request.c:1013
  20131. +msgid "Expecting `..' in request"
  20132. +msgstr "�ang ng� `..' trong l�i yêu cầu"
  20133. +
  20134. +#: src/task.c:826 src/task.c:1002
  20135. +#, c-format
  20136. +msgid "Child process wait status is 0x%0.2x"
  20137. +msgstr "Trạng thái đ�i của xử lý con là 0x%0.2x"
  20138. +
  20139. +#: src/testdump.c:298
  20140. +msgid ""
  20141. +"UCS2 Mne Description\n"
  20142. +"\n"
  20143. +msgstr ""
  20144. +"UCS2 Nhớ Mô tả\n"
  20145. +"\n"
  20146. --- recode-3.6.orig/i18n/gl.po
  20147. +++ recode-3.6/i18n/gl.po
  20148. @@ -4,9 +4,9 @@
  20149. #
  20150. msgid ""
  20151. msgstr ""
  20152. -"Project-Id-Version: recode 3.5\n"
  20153. +"Project-Id-Version: recode 3.6\n"
  20154. "POT-Creation-Date: 2001-01-02 22:35+0100\n"
  20155. -"PO-Revision-Date: 2000-05-06 01:44+02:00\n"
  20156. +"PO-Revision-Date: 2001-06-09 17:28+0200\n"
  20157. "Last-Translator: Jacobo Tarrío Barreiro <jtarrio@iname.com>\n"
  20158. "Language-Team: Galician <gpul-traduccion@ceu.fi.udc.es>\n"
  20159. "MIME-Version: 1.0\n"
  20160. @@ -81,20 +81,13 @@
  20161. msgstr "Escriba `%s %s' para obter máis información.\n"
  20162. #: src/main.c:237
  20163. -msgid ""
  20164. -"Free `recode' converts files between various character sets and surfaces.\n"
  20165. -msgstr ""
  20166. -"O `recode' libre convirte ficheiros entre varios xogos de caracteres e "
  20167. -"superficies.\n"
  20168. +msgid "Free `recode' converts files between various character sets and surfaces.\n"
  20169. +msgstr "O `recode' libre convirte ficheiros entre varios xogos de caracteres e superficies.\n"
  20170. #: src/main.c:241
  20171. #, c-format
  20172. -msgid ""
  20173. -"\n"
  20174. -"Usage: %s [OPTION]... [ [CHARSET] | REQUEST [FILE]... ]\n"
  20175. -msgstr ""
  20176. -"\n"
  20177. -"Uso: %s [OPCIÓN]... [ [XOGO-DE-CARACTERES] | PETICIÓN [FICHEIRO]... ]\n"
  20178. +msgid "\nUsage: %s [OPTION]... [ [CHARSET] | REQUEST [FILE]... ]\n"
  20179. +msgstr "\nUso: %s [OPCIÓN]... [ [XOGO-DE-CARACTERES] | PETICIÓN [FICHEIRO]... ]\n"
  20180. #: src/main.c:244
  20181. msgid ""
  20182. @@ -104,18 +97,15 @@
  20183. msgstr ""
  20184. "\n"
  20185. "Se unha opción longa amosa un parámetro como obrigatorio, entón tamén é\n"
  20186. -"obrigatorio para a opción curta equivalente. Do mesmo xeito para "
  20187. -"parámetros\n"
  20188. +"obrigatorio para a opción curta equivalente. Do mesmo xeito para parámetros\n"
  20189. "opcionais.\n"
  20190. #: src/main.c:250
  20191. -#, fuzzy
  20192. msgid ""
  20193. "\n"
  20194. "Listings:\n"
  20195. " -l, --list[=FORMAT] list one or all known charsets and aliases\n"
  20196. -" -k, --known=PAIRS restrict charsets according to known PAIRS "
  20197. -"list\n"
  20198. +" -k, --known=PAIRS restrict charsets according to known PAIRS list\n"
  20199. " -h, --header[=[LN/]NAME] write table NAME on stdout using LN, then exit\n"
  20200. " -F, --freeze-tables write out a C module holding all tables\n"
  20201. " -T, --find-subsets report all charsets being subset of others\n"
  20202. @@ -125,15 +115,13 @@
  20203. msgstr ""
  20204. "\n"
  20205. "Listados:\n"
  20206. -" -l, --list[=FORMATO] listar un ou tódolos xogos de caracteres "
  20207. -"coñecidos\n"
  20208. -" -k, --known=PARES restrinxi-los xogos de acordo coa lista de "
  20209. -"PARES\n"
  20210. +" -l, --list[=FORMATO] listar un ou tódolos xogos de caracteres e alias\n"
  20211. +" coñecidos\n"
  20212. +" -k, --known=PARES restrinxi-los xogos de acordo coa lista de PARES\n"
  20213. " coñecidos\n"
  20214. " -h, --header[=[LN/]NOME] escribi-la táboa NOME na saída estándar usando\n"
  20215. " LN, e logo sair\n"
  20216. -" -F, --freeze-tables escribir un módulo en C que contén tódalas "
  20217. -"táboas\n"
  20218. +" -F, --freeze-tables escribir un módulo en C que contén tódalas táboas\n"
  20219. " -T, --find-subsets informar dos xogos que son subconxuntos doutros\n"
  20220. " -C, --copyright amosa-lo copyright e as condicións de copia\n"
  20221. " --help amosar esta axuda e sair\n"
  20222. @@ -160,14 +148,12 @@
  20223. " reversibles\n"
  20224. " -t, --touch toca-los ficheiros recodificados despois de\n"
  20225. " cambialos\n"
  20226. -" -i, --sequence=files usar ficheiros intermedios para pasos "
  20227. -"secuenciais\n"
  20228. +" -i, --sequence=files usar ficheiros intermedios para pasos secuenciais\n"
  20229. " --sequence=memory usa-la memoria para pasos secuenciais\n"
  20230. #: src/main.c:275
  20231. msgid " -p, --sequence=pipe use pipe machinery for sequencing passes\n"
  20232. -msgstr ""
  20233. -" -p, --sequence=pipe usar canalizacións para pasos secuenciais\n"
  20234. +msgstr " -p, --sequence=pipe usar canalizacións para pasos secuenciais\n"
  20235. #: src/main.c:280
  20236. msgid " -p, --sequence=pipe same as -i (on this system)\n"
  20237. @@ -188,13 +174,10 @@
  20238. "Axustes finos:\n"
  20239. " -s, --strict usar mapeados estrictos, incluso perder caracteres\n"
  20240. " -d, --diacritics converter só diacríticos ou similares para HTML/LaTeX\n"
  20241. -" -S, --source[=LN] limita-la recodificación a cadeas e comentarios para "
  20242. -"LN\n"
  20243. -" -c, --colon usar dous puntos no canto de comiñas dobres para "
  20244. -"diérese\n"
  20245. +" -S, --source[=LN] limita-la recodificación a cadeas e comentarios para LN\n"
  20246. +" -c, --colon usar dous puntos no canto de comiñas dobres para diérese\n"
  20247. " -g, --graphics aproxima-las liñas de IBMPC con gráficos ASCII\n"
  20248. -" -x, --ignore=XOGO ignora-lo XOGO ao escoller unha rota de "
  20249. -"recodificación\n"
  20250. +" -x, --ignore=XOGO ignora-lo XOGO ao escoller unha rota de recodificación\n"
  20251. #: src/main.c:296
  20252. msgid ""
  20253. @@ -208,20 +191,15 @@
  20254. "letra entre `dofh'.\n"
  20255. #: src/main.c:302
  20256. -#, fuzzy
  20257. msgid ""
  20258. -"Unless DEFAULT_CHARSET is set in environment, CHARSET defaults to the "
  20259. -"locale\n"
  20260. +"Unless DEFAULT_CHARSET is set in environment, CHARSET defaults to the locale\n"
  20261. "dependent encoding, determined by LC_ALL, LC_CTYPE, LANG.\n"
  20262. -msgstr ""
  20263. -"A menos que se estableza a variable DEFAULT_CHARSET, XOGO é `%s' se non se "
  20264. -"indica o contrario.\n"
  20265. +msgstr "A menos que se estableza a variable de ambiente DEFAULT_CHARSET, XOGO é o do `locale'.\n"
  20266. #: src/main.c:307
  20267. msgid ""
  20268. "With -k, possible before charsets are listed for the given after CHARSET,\n"
  20269. -"both being tabular charsets, with PAIRS of the form "
  20270. -"`BEF1:AFT1,BEF2:AFT2,...'\n"
  20271. +"both being tabular charsets, with PAIRS of the form `BEF1:AFT1,BEF2:AFT2,...'\n"
  20272. "and BEFs and AFTs being codes are given as decimal numbers.\n"
  20273. msgstr ""
  20274. "Con -k, os posibles xogos iniciais lístanse para o XOGO final indicado,\n"
  20275. @@ -229,31 +207,25 @@
  20276. "e os códigos INI e FIN dándose coma números decimais.\n"
  20277. #: src/main.c:312
  20278. -msgid ""
  20279. -"LN is some language, it may be `c', `perl' or `po'; `c' is the default.\n"
  20280. +msgid "LN is some language, it may be `c', `perl' or `po'; `c' is the default.\n"
  20281. msgstr "LN é unha linguaxe, pode ser `c', `perl' ou `po'; `c' por defecto.\n"
  20282. #: src/main.c:315
  20283. msgid ""
  20284. "\n"
  20285. -"REQUEST is SUBREQUEST[,SUBREQUEST]...; SUBREQUEST is "
  20286. -"ENCODING[..ENCODING]...\n"
  20287. -"ENCODING is [CHARSET][/[SURFACE]]...; REQUEST often looks like "
  20288. -"BEFORE..AFTER,\n"
  20289. +"REQUEST is SUBREQUEST[,SUBREQUEST]...; SUBREQUEST is ENCODING[..ENCODING]...\n"
  20290. +"ENCODING is [CHARSET][/[SURFACE]]...; REQUEST often looks like BEFORE..AFTER,\n"
  20291. "with BEFORE and AFTER being charsets. An omitted CHARSET implies the usual\n"
  20292. -"charset; an omitted [/SURFACE]... means the implied surfaces for CHARSET; a "
  20293. -"/\n"
  20294. +"charset; an omitted [/SURFACE]... means the implied surfaces for CHARSET; a /\n"
  20295. "with an empty surface name means no surfaces at all. See the manual.\n"
  20296. msgstr ""
  20297. "\n"
  20298. "PETICIÓN é SUBPETICIÓN[,SUBPETICIÓN]...; SUBPETICIÓN é\n"
  20299. "CODIFICACIÓN[..CODIFICACIÓN]...; CODIFICACIÓN é [XOGO][/[SUPERFICIE]]...;\n"
  20300. "PETICIÓN adoita parecer INICIAL..FINAL, sendo INICIAL e FINAL uns xogos de\n"
  20301. -"caracteres. Se non se indica un XOGO tómase o xogo normal; se non se "
  20302. -"indica\n"
  20303. +"caracteres. Se non se indica un XOGO tómase o xogo normal; se non se indica\n"
  20304. "unha [/SUPERFICIE]... tómanse as superficies implicadas en XOGO; cunha /\n"
  20305. -"cun nome de superficie baleiro non se toma ningunha superficie. Lea o "
  20306. -"manual.\n"
  20307. +"cun nome de superficie baleiro non se toma ningunha superficie. Lea o manual.\n"
  20308. #: src/main.c:323
  20309. msgid ""
  20310. @@ -263,98 +235,84 @@
  20311. "FILE is specified, then act as a filter and recode stdin to stdout.\n"
  20312. msgstr ""
  20313. "\n"
  20314. -"Se non se indica -i nin -p, suponse -p se non se indica un FICHEIRO, senón "
  20315. -"-i.\n"
  20316. +"Se non se indica -i nin -p, suponse -p se non se indica un FICHEIRO, senón -i.\n"
  20317. "Cada FICHEIRO recodifícase sobre si mesmo, destruíndose o orixinal. Se non\n"
  20318. "se indica un FICHEIRO, traballa coma un filtro e recodifica stdin a stdout.\n"
  20319. #: src/main.c:329
  20320. -msgid ""
  20321. -"\n"
  20322. -"Report bugs to <recode-bugs@iro.umontreal.ca>.\n"
  20323. -msgstr ""
  20324. -"\n"
  20325. -"Informe dos erros en <recode-bugs@iro.umontreal.ca>.\n"
  20326. +msgid "\nReport bugs to <recode-bugs@iro.umontreal.ca>.\n"
  20327. +msgstr "\nInforme dos erros en <recode-bugs@iro.umontreal.ca>.\n"
  20328. #: src/main.c:430
  20329. #, c-format
  20330. msgid "Sequence `%s' is ambiguous"
  20331. -msgstr ""
  20332. +msgstr "A secuencia `%s' é ambigua"
  20333. #: src/main.c:434
  20334. #, c-format
  20335. msgid "Sequence `%s' is unknown"
  20336. -msgstr ""
  20337. +msgstr "A secuencia `%s' é descoñecida"
  20338. #: src/main.c:464 src/main.c:522
  20339. #, c-format
  20340. msgid "Language `%s' is ambiguous"
  20341. -msgstr ""
  20342. +msgstr "A linguaxe `%s' é ambigua"
  20343. #. -1
  20344. #: src/main.c:468 src/main.c:526
  20345. #, c-format
  20346. msgid "Language `%s' is unknown"
  20347. -msgstr ""
  20348. +msgstr "A linguaxe `%s' é descoñecida"
  20349. #: src/main.c:560
  20350. #, c-format
  20351. msgid "Format `%s' is ambiguous"
  20352. -msgstr ""
  20353. +msgstr "O formato `%s' é ambiguo"
  20354. #: src/main.c:564
  20355. #, c-format
  20356. msgid "Format `%s' is unknown"
  20357. -msgstr ""
  20358. +msgstr "O formato `%s' é descoñecido"
  20359. #: src/main.c:621
  20360. -#, fuzzy
  20361. msgid "Written by Franc,ois Pinard <pinard@iro.umontreal.ca>.\n"
  20362. -msgstr ""
  20363. -"\n"
  20364. -"Escrito por François Pinard <pinard@iro.umontreal.ca>.\n"
  20365. +msgstr "Escrito por François Pinard <pinard@iro.umontreal.ca>.\n"
  20366. #: src/main.c:624
  20367. -msgid ""
  20368. -"\n"
  20369. -"Copyright (C) 1990, 92, 93, 94, 96, 97, 99 Free Software Foundation, Inc.\n"
  20370. -msgstr ""
  20371. -"\n"
  20372. -"Copyright (C) 1990, 92, 93, 94, 96, 97, 99 Free Software Foundation, Inc.\n"
  20373. +msgid "\nCopyright (C) 1990, 92, 93, 94, 96, 97, 99 Free Software Foundation, Inc.\n"
  20374. +msgstr "\nCopyright (C) 1990, 92, 93, 94, 96, 97, 99 Free Software Foundation, Inc.\n"
  20375. #: src/main.c:628
  20376. msgid ""
  20377. "This is free software; see the source for copying conditions. There is NO\n"
  20378. "warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n"
  20379. msgstr ""
  20380. -"Isto é software libre; vexa o código fonte polas condicións de copia. NON "
  20381. -"hai\n"
  20382. -"garantía; nin sequera de COMERCIABILIDADE ou APTITUDE PARA UN FIN "
  20383. -"DETERMINADO.\n"
  20384. +"Isto é software libre; vexa o código fonte polas condicións de copia. NON hai\n"
  20385. +"garantía; nin sequera de COMERCIABILIDADE ou APTITUDE PARA UN FIN DETERMINADO.\n"
  20386. #: src/main.c:669
  20387. #, c-format
  20388. msgid "Symbol `%s' is unknown"
  20389. -msgstr ""
  20390. +msgstr "O símbolo `%s' é descoñecido"
  20391. #: src/main.c:709 src/main.c:723
  20392. #, c-format
  20393. msgid "Charset `%s' is unknown or ambiguous"
  20394. -msgstr ""
  20395. +msgstr "Xogo de caracteres `%s' descoñecido ou ambiguo"
  20396. #: src/main.c:754
  20397. msgid "Required argument is missing"
  20398. -msgstr ""
  20399. +msgstr "Falla o argumento requirido"
  20400. #: src/main.c:797
  20401. -#, fuzzy, c-format
  20402. +#, c-format
  20403. msgid "Syntax is deprecated, please prefer `%s'"
  20404. msgstr "Sintaxe a estinguir, prefírese `%s'"
  20405. #: src/main.c:803
  20406. #, c-format
  20407. msgid "Request `%s' is erroneous"
  20408. -msgstr ""
  20409. +msgstr "A petición `%s' é errónea"
  20410. #: src/main.c:903
  20411. #, c-format
  20412. @@ -366,19 +324,19 @@
  20413. msgstr " feito\n"
  20414. #: src/main.c:954
  20415. -#, fuzzy, c-format
  20416. +#, c-format
  20417. msgid " failed: %s in step `%s..%s'\n"
  20418. -msgstr " fallou: %s en %s..%s\n"
  20419. +msgstr " fallou: %s no paso `%s..%s'\n"
  20420. #: src/main.c:961
  20421. -#, fuzzy, c-format
  20422. +#, c-format
  20423. msgid "%s failed: %s in step `%s..%s'"
  20424. -msgstr "%s fallou: %s en %s..%s"
  20425. +msgstr "%s fallou: %s no paso `%s..%s'"
  20426. #: src/main.c:984
  20427. -#, fuzzy, c-format
  20428. +#, c-format
  20429. msgid "%s in step `%s..%s'"
  20430. -msgstr "%s en %s..%s"
  20431. +msgstr "%s no paso `%s..%s'"
  20432. #: src/names.c:335
  20433. #, c-format
  20434. @@ -419,12 +377,12 @@
  20435. msgstr "Memoria virtual esgotada"
  20436. #: src/recode.c:155
  20437. -#, c-format, ycp-format
  20438. +#, c-format
  20439. msgid "Codes %3d and %3d both recode to %3d"
  20440. msgstr "Ámbolos dous códigos %3d e %3d recodifícanse a %3d"
  20441. #: src/recode.c:169
  20442. -#, c-format, ycp-format
  20443. +#, c-format
  20444. msgid "No character recodes to %3d"
  20445. msgstr "Non hai caracteres que se recodifiquen a %3d"
  20446. @@ -540,17 +498,11 @@
  20447. msgstr "O estado de espera do proceso fillo é 0x%0.2x"
  20448. #: src/testdump.c:298
  20449. -msgid ""
  20450. -"UCS2 Mne Description\n"
  20451. -"\n"
  20452. -msgstr ""
  20453. -"UCS2 Mne Descripción\n"
  20454. -"\n"
  20455. +msgid "UCS2 Mne Description\n\n"
  20456. +msgstr "UCS2 Mne Descripción\n\n"
  20457. #~ msgid "CHARSET has no default, define DEFAULT_CHARSET in the environment.\n"
  20458. -#~ msgstr ""
  20459. -#~ "XOGO non ten valor por defecto, defina a variable de ambiente "
  20460. -#~ "DEFAULT_CHARSET.\n"
  20461. +#~ msgstr "XOGO non ten valor por defecto, defina a variable de ambiente DEFAULT_CHARSET.\n"
  20462. #~ msgid "Ambiguous sequence `%s'"
  20463. #~ msgstr "Secuencia `%s' ambigua"
  20464. --- recode-3.6.orig/i18n/ga.po
  20465. +++ recode-3.6/i18n/ga.po
  20466. @@ -0,0 +1,520 @@
  20467. +# Irish translations for recode.
  20468. +# Copyright (C) 2005 Free Software Foundation, Inc.
  20469. +# Kevin Patrick Scannell <scannell@SLU.EDU>, 2005.
  20470. +#
  20471. +msgid ""
  20472. +msgstr ""
  20473. +"Project-Id-Version: recode 3.6\n"
  20474. +"POT-Creation-Date: 2001-01-02 22:35+0100\n"
  20475. +"PO-Revision-Date: 2005-09-13 18:45-0500\n"
  20476. +"Last-Translator: Kevin Patrick Scannell <scannell@SLU.EDU>\n"
  20477. +"Language-Team: Irish <ga@li.org>\n"
  20478. +"MIME-Version: 1.0\n"
  20479. +"Content-Type: text/plain; charset=ISO-8859-1\n"
  20480. +"Content-Transfer-Encoding: 8bit\n"
  20481. +
  20482. +#: src/main.c:142
  20483. +msgid "No error"
  20484. +msgstr "Ní raibh aon earráid"
  20485. +
  20486. +#: src/main.c:145
  20487. +msgid "Non canonical input"
  20488. +msgstr "Ionchur neamhchanónta"
  20489. +
  20490. +#: src/main.c:148
  20491. +msgid "Ambiguous output"
  20492. +msgstr "Aschur débhríoch"
  20493. +
  20494. +#: src/main.c:151
  20495. +msgid "Untranslatable input"
  20496. +msgstr "Aschur neamh-inaistrithe"
  20497. +
  20498. +#: src/main.c:154
  20499. +msgid "Invalid input"
  20500. +msgstr "Ionchur neamhbhailí"
  20501. +
  20502. +#: src/main.c:157
  20503. +msgid "System detected problem"
  20504. +msgstr "Bhraith an córas fadhb"
  20505. +
  20506. +#: src/main.c:160
  20507. +msgid "Misuse of recoding library"
  20508. +msgstr "Mí-úsáid den leabharlann ath-ionchódaithe"
  20509. +
  20510. +#: src/main.c:163
  20511. +msgid "Internal recoding bug"
  20512. +msgstr "Fabht inmheánach ath-ionchódaithe"
  20513. +
  20514. +#: src/main.c:208
  20515. +msgid ""
  20516. +"This program is free software; you can redistribute it and/or modify\n"
  20517. +"it under the terms of the GNU General Public License as published by\n"
  20518. +"the Free Software Foundation; either version 2, or (at your option)\n"
  20519. +"any later version.\n"
  20520. +"\n"
  20521. +"This program is distributed in the hope that it will be useful,\n"
  20522. +"but WITHOUT ANY WARRANTY; without even the implied warranty of\n"
  20523. +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n"
  20524. +"GNU General Public License for more details.\n"
  20525. +"\n"
  20526. +"You should have received a copy of the GNU General Public License\n"
  20527. +"along with this program; if not, write to the Free Software Foundation,\n"
  20528. +"Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n"
  20529. +msgstr ""
  20530. +"Is saorbhogearra an ríomhchlár seo; is féidir leat é a scaipeadh agus/nó\n"
  20531. +"a athrú de réir na gcoinníollacha den GNU General Public License mar atá\n"
  20532. +"foilsithe ag an Free Software Foundation; faoi leagan 2 den cheadúnas,\n"
  20533. +"nó (más mian leat) aon leagan níos déanaí.\n"
  20534. +"\n"
  20535. +"Scaiptear an ríomhchlár seo le súil go mbeidh sé áisiúil,\n"
  20536. +"ach GAN AON BARÁNTA; go fiú gan an barántas intuigthe de\n"
  20537. +"INDÍOLTACHT nó FEILIÚNACHT DO FHEIDHM AR LEITH. Féach ar an\n"
  20538. +"GNU General Public License chun níos mó sonraí a fháil.\n"
  20539. +"\n"
  20540. +"Ba chomhair go mbeifeá tar éis cóip den GNU General Public License a fháil in\n"
  20541. +"éineacht leis an ríomhchlár seo; mura bhfuair, scríobh chuig an Free Software\n"
  20542. +"Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n"
  20543. +
  20544. +#: src/main.c:233
  20545. +#, c-format
  20546. +msgid "Try `%s %s' for more information.\n"
  20547. +msgstr "Bain triail as `%s %s' chun tuilleadh eolais a fháil.\n"
  20548. +
  20549. +#: src/main.c:237
  20550. +msgid "Free `recode' converts files between various character sets and surfaces.\n"
  20551. +msgstr "Tiontaíonn saorbhogearra `recode' comhaid idir tacair charachtar agus craicne éagsúla.\n"
  20552. +
  20553. +#: src/main.c:241
  20554. +#, c-format
  20555. +msgid ""
  20556. +"\n"
  20557. +"Usage: %s [OPTION]... [ [CHARSET] | REQUEST [FILE]... ]\n"
  20558. +msgstr ""
  20559. +"\n"
  20560. +"Úsáid: %s [ROGHA]... [ [TACAR] | IARRATAS [COMHAD]... ]\n"
  20561. +
  20562. +#: src/main.c:244
  20563. +msgid ""
  20564. +"\n"
  20565. +"If a long option shows an argument as mandatory, then it is mandatory\n"
  20566. +"for the equivalent short option also. Similarly for optional arguments.\n"
  20567. +msgstr ""
  20568. +"\n"
  20569. +"Is riachtanach le rogha ghearr aon argóint atá riachtanach\n"
  20570. +"leis an rogha fhada, agus ar an nós céanna leis na hargóintí roghnacha.\n"
  20571. +
  20572. +#: src/main.c:250
  20573. +msgid ""
  20574. +"\n"
  20575. +"Listings:\n"
  20576. +" -l, --list[=FORMAT] list one or all known charsets and aliases\n"
  20577. +" -k, --known=PAIRS restrict charsets according to known PAIRS list\n"
  20578. +" -h, --header[=[LN/]NAME] write table NAME on stdout using LN, then exit\n"
  20579. +" -F, --freeze-tables write out a C module holding all tables\n"
  20580. +" -T, --find-subsets report all charsets being subset of others\n"
  20581. +" -C, --copyright display Copyright and copying conditions\n"
  20582. +" --help display this help and exit\n"
  20583. +" --version output version information and exit\n"
  20584. +msgstr ""
  20585. +"\n"
  20586. +"Liostú:\n"
  20587. +" -l, --list[=FORMÁID] taispeáin tacair charachtar agus ailiasanna ar eolas\n"
  20588. +" -k, --known=PÉIRÍ úsáid tacair charachtar ón liosta PÉIRÍ amháin\n"
  20589. +" -h, --header[=[TN/]AINM] scríobh tábla AINM ar stdout le TN, agus scoir\n"
  20590. +" -F, --freeze-tables scríobh modúl C le gach tábla ann\n"
  20591. +" -T, --find-subsets taispeáin gach tacar carachtar atá i gceann eile\n"
  20592. +" -C, --copyright taispeáin Cóipcheart agus coinníollacha cóipeála\n"
  20593. +" --help taispeáin an chabhair seo agus scoir\n"
  20594. +" --version taispeáin eolas faoin leagan agus scoir\n"
  20595. +
  20596. +#: src/main.c:263
  20597. +msgid ""
  20598. +"\n"
  20599. +"Operation modes:\n"
  20600. +" -v, --verbose explain sequence of steps and report progress\n"
  20601. +" -q, --quiet, --silent inhibit messages about irreversible recodings\n"
  20602. +" -f, --force force recodings even when not reversible\n"
  20603. +" -t, --touch touch the recoded files after replacement\n"
  20604. +" -i, --sequence=files use intermediate files for sequencing passes\n"
  20605. +" --sequence=memory use memory buffers for sequencing passes\n"
  20606. +msgstr ""
  20607. +"\n"
  20608. +"Móid oibríochta:\n"
  20609. +" -v, --verbose taispeáin na céimeanna agus dul chun cinn\n"
  20610. +" -q, --quiet, --silent ná taispeáin teachtaireachtaí maidir le\n"
  20611. +" ath-ionchóduithe dochúlaithe\n"
  20612. +" -f, --force fórsáil ath-ionchódú fiú más dochúlaithe é\n"
  20613. +" -t, --touch teagmháil na comhaid ath-ionchódaithe tar éis\n"
  20614. +" iad a athshuíomh\n"
  20615. +" -i, --sequence=comhaid úsáid comhaid idirmheánacha le linn seicheamhaithe\n"
  20616. +" --sequence=cuimhne úsáid maoláin chuimhne le linn seicheamhaithe\n"
  20617. +
  20618. +#: src/main.c:275
  20619. +msgid " -p, --sequence=pipe use pipe machinery for sequencing passes\n"
  20620. +msgstr " -p, --sequence=píopa úsáid píopa le linn seicheamhaithe\n"
  20621. +
  20622. +#: src/main.c:280
  20623. +msgid " -p, --sequence=pipe same as -i (on this system)\n"
  20624. +msgstr " -p, --sequence=píopa ar comhbhrí le -i (ar an gcóras seo)\n"
  20625. +
  20626. +#: src/main.c:285
  20627. +msgid ""
  20628. +"\n"
  20629. +"Fine tuning:\n"
  20630. +" -s, --strict use strict mappings, even loose characters\n"
  20631. +" -d, --diacritics convert only diacritics or alike for HTML/LaTeX\n"
  20632. +" -S, --source[=LN] limit recoding to strings and comments as for LN\n"
  20633. +" -c, --colons use colons instead of double quotes for diaeresis\n"
  20634. +" -g, --graphics approximate IBMPC rulers by ASCII graphics\n"
  20635. +" -x, --ignore=CHARSET ignore CHARSET while choosing a recoding path\n"
  20636. +msgstr ""
  20637. +"\n"
  20638. +"Mionchoigeartú:\n"
  20639. +" -s, --strict úsáid dianmhapáil, fiú le carachtair neamhchruinn\n"
  20640. +" -d, --diacritics tiontaigh diaicriticí amháin le haghaidh HTML/LaTeX\n"
  20641. +" -S, --source[=TN] ath-ionchódaigh teaghráin agus nótaí amháin, mar le TN\n"
  20642. +" -c, --colons úsáid idirstadanna in ionad \" le haghaidh déiréise\n"
  20643. +" -g, --graphics neasaigh rialóirí IBMPC le grafaic ASCII\n"
  20644. +" -x, --ignore=TACAR ná húsáid TACAR agus conair ath-ionchódaithe á roghnú\n"
  20645. +
  20646. +#: src/main.c:296
  20647. +msgid ""
  20648. +"\n"
  20649. +"Option -l with no FORMAT nor CHARSET list available charsets and surfaces.\n"
  20650. +"FORMAT is `decimal', `octal', `hexadecimal' or `full' (or one of `dohf').\n"
  20651. +msgstr ""
  20652. +"\n"
  20653. +"Taispeánann rogha -l (gan FORMÁID gan TACAR) gach tacar carachtar agus\n"
  20654. +"gach craiceann atá ar fáil. Is FORMÁID ceann de `decimal', `octal',\n"
  20655. +"`hexadecimal' nó `full' (nó ceann de `dohf').\n"
  20656. +
  20657. +#: src/main.c:302
  20658. +msgid ""
  20659. +"Unless DEFAULT_CHARSET is set in environment, CHARSET defaults to the locale\n"
  20660. +"dependent encoding, determined by LC_ALL, LC_CTYPE, LANG.\n"
  20661. +msgstr ""
  20662. +"Mura bhfuil DEFAULT_CHARSET socraithe mar athróg thimpeallachta, úsáid an\n"
  20663. +"t-ionchódú ón logchaighdeán mar luach réamhshocraithe ar CHARSET;\n"
  20664. +"socraítear an t-ionchódú seo leis na hathróga LC_ALL, LC_CTYPE, agus LANG.\n"
  20665. +
  20666. +#: src/main.c:307
  20667. +msgid ""
  20668. +"With -k, possible before charsets are listed for the given after CHARSET,\n"
  20669. +"both being tabular charsets, with PAIRS of the form `BEF1:AFT1,BEF2:AFT2,...'\n"
  20670. +"and BEFs and AFTs being codes are given as decimal numbers.\n"
  20671. +msgstr ""
  20672. +"Le -k, taispeántar gach tacar tosaithe gur féidir a úsáid leis\n"
  20673. +"an TACAR deiridh, gach ina tacar táblach. Is san fhoirm\n"
  20674. +"`TOS1:DEIR1,TOS2:DEIR2,...' iad na PÉIRÍ, agus na cóid TOS1, DEIR1,\n"
  20675. +"srl. tugtha mar uimhreacha deachúlacha.\n"
  20676. +
  20677. +#: src/main.c:312
  20678. +msgid "LN is some language, it may be `c', `perl' or `po'; `c' is the default.\n"
  20679. +msgstr "Is teanga í TN, ceann de `c', `perl' nó `po'; is `c' an réamhshocrú é.\n"
  20680. +
  20681. +#: src/main.c:315
  20682. +msgid ""
  20683. +"\n"
  20684. +"REQUEST is SUBREQUEST[,SUBREQUEST]...; SUBREQUEST is ENCODING[..ENCODING]...\n"
  20685. +"ENCODING is [CHARSET][/[SURFACE]]...; REQUEST often looks like BEFORE..AFTER,\n"
  20686. +"with BEFORE and AFTER being charsets. An omitted CHARSET implies the usual\n"
  20687. +"charset; an omitted [/SURFACE]... means the implied surfaces for CHARSET; a /\n"
  20688. +"with an empty surface name means no surfaces at all. See the manual.\n"
  20689. +msgstr ""
  20690. +"\n"
  20691. +"Is san fhoirm FOIARRATAS[,FOIARRATAS]... é IARRATAS, is san fhoirm\n"
  20692. +"IONCHÓDÚ[..IONCHÓDÚ]... é FOIARRATAS, agus is san fhoirm\n"
  20693. +"[TACARCARACHTAR][/CRAICEANN]]... é IONCHÓDÚ; is IARRATAS cosúil le\n"
  20694. +"TOSACH..DEIREADH go minic, le TOSACH agus DEIREADH ina dtacair\n"
  20695. +"charachtar. Má tá TACAR ligthe ar lár, úsáid an gnáth-thacar;\n"
  20696. +"Má tá [/CRAICEANN] ar lár, úsáid an craiceann intuigthe le TACAR;\n"
  20697. +"Mura bhfuil ach `/' ann gan chraiceann, ná húsáid craiceann ar chor ar bith.\n"
  20698. +"Féach ar an lámhleabhar.\n"
  20699. +
  20700. +#: src/main.c:323
  20701. +msgid ""
  20702. +"\n"
  20703. +"If none of -i and -p are given, presume -p if no FILE, else -i.\n"
  20704. +"Each FILE is recoded over itself, destroying the original. If no\n"
  20705. +"FILE is specified, then act as a filter and recode stdin to stdout.\n"
  20706. +msgstr ""
  20707. +"\n"
  20708. +"Mura bhfuil -i ná -p ann, glac le -p mura bhfuil COMHAD ann, agus\n"
  20709. +"le -i i ngach cás eile. Ath-ionchódaítear gach COMHAD anuas air féin,\n"
  20710. +"agus beidh na bunchóipeanna scriosta. Mura bhfuil COMHAD sonraithe,\n"
  20711. +"oibríonn recode mar scagaire, agus ath-ionchódaítear stdin go stdout.\n"
  20712. +
  20713. +#: src/main.c:329
  20714. +msgid ""
  20715. +"\n"
  20716. +"Report bugs to <recode-bugs@iro.umontreal.ca>.\n"
  20717. +msgstr ""
  20718. +"\n"
  20719. +"Seol tuairiscí fabhtanna chuig <recode-bugs@iro.umontreal.ca>.\n"
  20720. +
  20721. +#: src/main.c:430
  20722. +#, c-format
  20723. +msgid "Sequence `%s' is ambiguous"
  20724. +msgstr "Tá an seicheamh `%s' débhríoch"
  20725. +
  20726. +#: src/main.c:434
  20727. +#, c-format
  20728. +msgid "Sequence `%s' is unknown"
  20729. +msgstr "Tá an seicheamh `%s' anaithnid"
  20730. +
  20731. +#: src/main.c:464 src/main.c:522
  20732. +#, c-format
  20733. +msgid "Language `%s' is ambiguous"
  20734. +msgstr "Tá an teanga `%s' débhríoch"
  20735. +
  20736. +#. -1
  20737. +#: src/main.c:468 src/main.c:526
  20738. +#, c-format
  20739. +msgid "Language `%s' is unknown"
  20740. +msgstr "Teanga anaithnid `%s'"
  20741. +
  20742. +#: src/main.c:560
  20743. +#, c-format
  20744. +msgid "Format `%s' is ambiguous"
  20745. +msgstr "Formáid dhébhríoch `%s'"
  20746. +
  20747. +#: src/main.c:564
  20748. +#, c-format
  20749. +msgid "Format `%s' is unknown"
  20750. +msgstr "Formáid anaithnid `%s'"
  20751. +
  20752. +#: src/main.c:621
  20753. +msgid "Written by Franc,ois Pinard <pinard@iro.umontreal.ca>.\n"
  20754. +msgstr "Le François Pinard <pinard@iro.umontreal.ca>.\n"
  20755. +
  20756. +#: src/main.c:624
  20757. +msgid ""
  20758. +"\n"
  20759. +"Copyright (C) 1990, 92, 93, 94, 96, 97, 99 Free Software Foundation, Inc.\n"
  20760. +msgstr ""
  20761. +"\n"
  20762. +"Copyright © 1990, 92, 93, 94, 96, 97, 99 Free Software Foundation, Inc.\n"
  20763. +
  20764. +#: src/main.c:628
  20765. +msgid ""
  20766. +"This is free software; see the source for copying conditions. There is NO\n"
  20767. +"warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n"
  20768. +msgstr ""
  20769. +"Is saorbhogearra an ríomhchlár seo; féach ar an bhunchód le haghaidh\n"
  20770. +"coinníollacha cóipeála. Níl baránta ar bith ann; go fiú níl baránta ann\n"
  20771. +"d'INDÍOLTACHT nó FEILIÚNACHT DO FHEIDHM AR LEITH.\n"
  20772. +
  20773. +#: src/main.c:669
  20774. +#, c-format
  20775. +msgid "Symbol `%s' is unknown"
  20776. +msgstr "Siombail anaithnid `%s'"
  20777. +
  20778. +#: src/main.c:709 src/main.c:723
  20779. +#, c-format
  20780. +msgid "Charset `%s' is unknown or ambiguous"
  20781. +msgstr "Tacar carachtar `%s' anaithnid nó débhríoch"
  20782. +
  20783. +#: src/main.c:754
  20784. +msgid "Required argument is missing"
  20785. +msgstr "Argóint riachtanach ar iarraidh"
  20786. +
  20787. +#: src/main.c:797
  20788. +#, c-format
  20789. +msgid "Syntax is deprecated, please prefer `%s'"
  20790. +msgstr "Comhréir i léig, úsáid `%s' ina hionad"
  20791. +
  20792. +#: src/main.c:803
  20793. +#, c-format
  20794. +msgid "Request `%s' is erroneous"
  20795. +msgstr "Iarratas lochtach `%s'"
  20796. +
  20797. +#: src/main.c:903
  20798. +#, c-format
  20799. +msgid "Recoding %s..."
  20800. +msgstr "%s á ath-ionchódú..."
  20801. +
  20802. +#: src/main.c:913
  20803. +msgid " done\n"
  20804. +msgstr " críochnaithe\n"
  20805. +
  20806. +#: src/main.c:954
  20807. +#, c-format
  20808. +msgid " failed: %s in step `%s..%s'\n"
  20809. +msgstr " teipthe: %s i gcéim `%s..%s'\n"
  20810. +
  20811. +#: src/main.c:961
  20812. +#, c-format
  20813. +msgid "%s failed: %s in step `%s..%s'"
  20814. +msgstr "theip ar %s: %s i gcéim `%s..%s'"
  20815. +
  20816. +#: src/main.c:984
  20817. +#, c-format
  20818. +msgid "%s in step `%s..%s'"
  20819. +msgstr "%s i gcéim `%s..%s'"
  20820. +
  20821. +#: src/names.c:335
  20822. +#, c-format
  20823. +msgid "Charset %s already exists and is not %s"
  20824. +msgstr "Tá tacar carachtar %s ann cheana, agus ní %s é"
  20825. +
  20826. +#: src/names.c:831
  20827. +#, c-format
  20828. +msgid "Cannot list `%s', no names available for this charset"
  20829. +msgstr "Ní féidir `%s' a liostú; níl aon ainm ar fáil le haghaidh an tacair carachtar seo"
  20830. +
  20831. +#. code counter
  20832. +#. expected value for code counter
  20833. +#. insert a while line before printing
  20834. +#. Print the long table according to explode data.
  20835. +#: src/names.c:984 src/names.c:1030
  20836. +#, c-format
  20837. +msgid "Dec Oct Hex UCS2 Mne %s\n"
  20838. +msgstr "Deach Ocht Heics UCS2 Mne %s\n"
  20839. +
  20840. +#: src/names.c:1049
  20841. +#, c-format
  20842. +msgid "Sorry, no names available for `%s'"
  20843. +msgstr "Tá brón orm, níl aon ainm ar fáil le haghaidh `%s'"
  20844. +
  20845. +#: src/outer.c:125
  20846. +#, c-format
  20847. +msgid "Resurfacer set more than once for `%s'"
  20848. +msgstr "Athchraiceannadóir socraithe níos mó ná uair amháin le haghaidh `%s'"
  20849. +
  20850. +#: src/outer.c:133
  20851. +#, c-format
  20852. +msgid "Unsurfacer set more than once for `%s'"
  20853. +msgstr "Feannadóir socraithe níos mó ná uair amháin le haghaidh `%s'"
  20854. +
  20855. +#: src/recode.c:115 src/recode.c:127
  20856. +msgid "Virtual memory exhausted"
  20857. +msgstr "Cuimhne fhíorúil ídithe"
  20858. +
  20859. +#: src/recode.c:155
  20860. +#, c-format, ycp-format
  20861. +msgid "Codes %3d and %3d both recode to %3d"
  20862. +msgstr "Ath-ionchódaíonn na cóid %3d agus %3d go dtí %3d"
  20863. +
  20864. +#: src/recode.c:169
  20865. +#, c-format, ycp-format
  20866. +msgid "No character recodes to %3d"
  20867. +msgstr "Níl aon charachtar a ath-ionchódaítear go dtí %3d"
  20868. +
  20869. +#: src/recode.c:170
  20870. +msgid "Cannot invert given one-to-one table"
  20871. +msgstr "Ní féidir an tábla tugtha aon-le-haon a inbhéartú"
  20872. +
  20873. +#: src/recode.c:224 src/recode.c:236
  20874. +#, c-format
  20875. +msgid "Following diagnostics for `%s' to `%s'"
  20876. +msgstr "Diagnóisic le haghaidh `%s' go `%s'"
  20877. +
  20878. +#: src/recode.c:229 src/recode.c:241
  20879. +#, c-format
  20880. +msgid "Pair no. %d: <%3d, %3d> conflicts with <%3d, %3d>"
  20881. +msgstr "Péire uimh. %d: tagann <%3d, %3d> agus <%3d, %3d> salach ar a chéile"
  20882. +
  20883. +#: src/recode.c:272
  20884. +msgid "Cannot complete table from set of known pairs"
  20885. +msgstr "Ní féidir an tábla a chur i gcrích le tacar de phéirí atá ar eolas"
  20886. +
  20887. +#: src/recode.c:497
  20888. +msgid "Identity recoding, not worth a table"
  20889. +msgstr "Ath-ionchódú ionannais; ní fiú tábla é"
  20890. +
  20891. +#: src/recode.c:504
  20892. +msgid "Recoding is too complex for a mere table"
  20893. +msgstr "Is róchasta é an t-ath-ionchódú mura bhfuil ach tábla ann"
  20894. +
  20895. +#. Print the header of the header file.
  20896. +#: src/recode.c:536
  20897. +#, c-format
  20898. +msgid "%sConversion table generated mechanically by Free `%s' %s"
  20899. +msgstr "%sTábla tiontaithe ginte go huathoibríoch ag saorbhogearrá `%s' %s"
  20900. +
  20901. +#: src/recode.c:538
  20902. +#, c-format
  20903. +msgid "%sfor sequence %s.%s"
  20904. +msgstr "%sle haghaidh sheichimh %s.%s"
  20905. +
  20906. +#: src/recode.c:744
  20907. +msgid "No table to print"
  20908. +msgstr "Níl tábla ann le priontáil"
  20909. +
  20910. +#: src/request.c:34
  20911. +msgid "reversible"
  20912. +msgstr "inchúlaithe"
  20913. +
  20914. +#: src/request.c:36
  20915. +#, c-format
  20916. +msgid "%s to %s"
  20917. +msgstr "%s go %s"
  20918. +
  20919. +#: src/request.c:37 src/request.c:39
  20920. +msgid "byte"
  20921. +msgstr "beart"
  20922. +
  20923. +#: src/request.c:38 src/request.c:40
  20924. +msgid "ucs2"
  20925. +msgstr "ucs2"
  20926. +
  20927. +#: src/request.c:38 src/request.c:40
  20928. +msgid "variable"
  20929. +msgstr "athróg"
  20930. +
  20931. +#: src/request.c:111
  20932. +msgid "*Unachievable*"
  20933. +msgstr "*Dodhéanta*"
  20934. +
  20935. +#: src/request.c:113
  20936. +msgid "*mere copy*"
  20937. +msgstr "*lomchóip*"
  20938. +
  20939. +#: src/request.c:246
  20940. +msgid "Virtual memory exhausted!"
  20941. +msgstr "Cuimhne fhíorúil ídithe!"
  20942. +
  20943. +#: src/request.c:265
  20944. +msgid "Step initialisation failed"
  20945. +msgstr "Theip ar thúsú na céime"
  20946. +
  20947. +#: src/request.c:272
  20948. +msgid "Step initialisation failed (unprocessed options)"
  20949. +msgstr "Theip ar thúsú na céime (roghanna gan phróiseáil)"
  20950. +
  20951. +#: src/request.c:568
  20952. +#, c-format
  20953. +msgid "Request: %s\n"
  20954. +msgstr "Iarratas: %s\n"
  20955. +
  20956. +#: src/request.c:720
  20957. +#, c-format
  20958. +msgid "Shrunk to: %s\n"
  20959. +msgstr "Crapadh go: %s\n"
  20960. +
  20961. +#: src/request.c:823 src/request.c:932
  20962. +#, c-format
  20963. +msgid "Unrecognised surface name `%s'"
  20964. +msgstr "Ainm anaithnid craicinn `%s'"
  20965. +
  20966. +#: src/request.c:903
  20967. +#, c-format
  20968. +msgid "No way to recode from `%s' to `%s'"
  20969. +msgstr "Ní féidir `%s' a ath-ionchódú mar `%s'"
  20970. +
  20971. +#: src/request.c:1013
  20972. +msgid "Expecting `..' in request"
  20973. +msgstr "Bhíothas ag súil le `..' san iarratas"
  20974. +
  20975. +#: src/task.c:826 src/task.c:1002
  20976. +#, c-format
  20977. +msgid "Child process wait status is 0x%0.2x"
  20978. +msgstr "Is 0x%0.2x é stádas feithimh le haghaidh an mhacphróisis"
  20979. +
  20980. +#: src/testdump.c:298
  20981. +msgid ""
  20982. +"UCS2 Mne Description\n"
  20983. +"\n"
  20984. +msgstr ""
  20985. +"UCS2 Mne Cur Síos\n"
  20986. +"\n"
  20987. --- recode-3.6.orig/i18n/eo.po
  20988. +++ recode-3.6/i18n/eo.po
  20989. @@ -0,0 +1,496 @@
  20990. +# Esperantaj mesaøoj por recode.
  20991. +# Copyright (C) 2001 Free Software Foundation, Inc.
  20992. +# Edmund GRIMLEY EVANS <edmundo@rano.org>, 2001.
  20993. +#
  20994. +msgid ""
  20995. +msgstr ""
  20996. +"Project-Id-Version: recode 3.6\n"
  20997. +"POT-Creation-Date: 2001-01-02 22:35+0100\n"
  20998. +"PO-Revision-Date: 2001-06-06 20:34+01:00\n"
  20999. +"Last-Translator: Edmund GRIMLEY EVANS <edmundo@rano.org>\n"
  21000. +"Language-Team: Esperanto <eo@li.org>\n"
  21001. +"MIME-Version: 1.0\n"
  21002. +"Content-Type: text/plain; charset=iso-8859-3\n"
  21003. +"Content-Transfer-Encoding: 8-bit\n"
  21004. +
  21005. +#: src/main.c:142
  21006. +msgid "No error"
  21007. +msgstr "Neniu eraro"
  21008. +
  21009. +#: src/main.c:145
  21010. +msgid "Non canonical input"
  21011. +msgstr "Nekanoneca enigo"
  21012. +
  21013. +#: src/main.c:148
  21014. +msgid "Ambiguous output"
  21015. +msgstr "Plursenca eligo"
  21016. +
  21017. +#: src/main.c:151
  21018. +msgid "Untranslatable input"
  21019. +msgstr "Netradukebla enigo"
  21020. +
  21021. +#: src/main.c:154
  21022. +msgid "Invalid input"
  21023. +msgstr "Nevalida enigo"
  21024. +
  21025. +#: src/main.c:157
  21026. +msgid "System detected problem"
  21027. +msgstr "Sistemo trovis problemon"
  21028. +
  21029. +#: src/main.c:160
  21030. +msgid "Misuse of recoding library"
  21031. +msgstr "Misuzo de la rekodado-biblioteko"
  21032. +
  21033. +#: src/main.c:163
  21034. +msgid "Internal recoding bug"
  21035. +msgstr "Interna eraro dum rekodado"
  21036. +
  21037. +#: src/main.c:208
  21038. +msgid ""
  21039. +"This program is free software; you can redistribute it and/or modify\n"
  21040. +"it under the terms of the GNU General Public License as published by\n"
  21041. +"the Free Software Foundation; either version 2, or (at your option)\n"
  21042. +"any later version.\n"
  21043. +"\n"
  21044. +"This program is distributed in the hope that it will be useful,\n"
  21045. +"but WITHOUT ANY WARRANTY; without even the implied warranty of\n"
  21046. +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n"
  21047. +"GNU General Public License for more details.\n"
  21048. +"\n"
  21049. +"You should have received a copy of the GNU General Public License\n"
  21050. +"along with this program; if not, write to the Free Software Foundation,\n"
  21051. +"Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n"
  21052. +msgstr ""
  21053. +"Æi tiu programo estas libera; vi povas pludoni kopiojn kaj modifi\n"
  21054. +"øin sub la kondiæoj de la Øenerala Publika Rajtigilo de GNU,\n"
  21055. +"kiel tio estas eldonita de Free Software Foundation; aý versio 2\n"
  21056. +"de la Rajtigilo, aý (laý via elekto) iu sekva versio.\n"
  21057. +"\n"
  21058. +"Æi tiu programo estas disdonita kun la espero, ke øi estos utila,\n"
  21059. +"sed SEN IA AJN GARANTIO; eæ sen la implicita garantio de\n"
  21060. +"KOMERCA KVALITO aÝ ADEKVATECO POR DIFINITA CELO. Vidu la\n"
  21061. +"Øeneralan Publikan Rajtigilon de GNU por pli da detaloj.\n"
  21062. +"\n"
  21063. +"Vi devus esti ricevinta kopion de la Øenerala Publika Rajtigilo de\n"
  21064. +"GNU kun æi tiu programo; se ne, skribu al Free Software Foundation,\n"
  21065. +"Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, Usono.\n"
  21066. +
  21067. +#: src/main.c:233
  21068. +#, c-format
  21069. +msgid "Try `%s %s' for more information.\n"
  21070. +msgstr "Provu '%s %s' por pli da informoj.\n"
  21071. +
  21072. +#: src/main.c:237
  21073. +msgid "Free `recode' converts files between various character sets and surfaces.\n"
  21074. +msgstr "Libera 'recode' konvertas dosierojn inter diversaj signaroj kaj surfacoj.\n"
  21075. +
  21076. +#: src/main.c:241
  21077. +#, c-format
  21078. +msgid "\nUsage: %s [OPTION]... [ [CHARSET] | REQUEST [FILE]... ]\n"
  21079. +msgstr "\nUzado: %s [OPCIO]... [ [SIGNARO] | PETO [DOSIERO]... ]\n"
  21080. +
  21081. +#: src/main.c:244
  21082. +msgid ""
  21083. +"\n"
  21084. +"If a long option shows an argument as mandatory, then it is mandatory\n"
  21085. +"for the equivalent short option also. Similarly for optional arguments.\n"
  21086. +msgstr ""
  21087. +"\n"
  21088. +"Se longa opcio montras argumenton kiel devigan, tiam øi estas deviga\n"
  21089. +"ankaý por la ekvivalenta mallonga opcio. Simile por nedevigaj argumentoj.\n"
  21090. +
  21091. +#: src/main.c:250
  21092. +msgid ""
  21093. +"\n"
  21094. +"Listings:\n"
  21095. +" -l, --list[=FORMAT] list one or all known charsets and aliases\n"
  21096. +" -k, --known=PAIRS restrict charsets according to known PAIRS list\n"
  21097. +" -h, --header[=[LN/]NAME] write table NAME on stdout using LN, then exit\n"
  21098. +" -F, --freeze-tables write out a C module holding all tables\n"
  21099. +" -T, --find-subsets report all charsets being subset of others\n"
  21100. +" -C, --copyright display Copyright and copying conditions\n"
  21101. +" --help display this help and exit\n"
  21102. +" --version output version information and exit\n"
  21103. +msgstr ""
  21104. +"\n"
  21105. +"Listigoj:\n"
  21106. +" -l, --list[=FORMO] Listigi unu aý æiujn signarojn kaj kromnomojn\n"
  21107. +" -k, --known=PAROJ Limigi signarojn laý konataj PAROJ\n"
  21108. +" -h, --header[=[LN/]NOMO] Skribi tabelon NOMO al normala eligo per LN\n"
  21109. +" -F, --freeze-tables Eligi C-modulon kun æiuj tabeloj\n"
  21110. +" -T, --find-subsets Raporti signarojn, kiuj estas subaroj de aliaj\n"
  21111. +" -C, --copyright Montri kopirajton kaj kopikondiæojn\n"
  21112. +" --help Montri æi tiun helpon kaj eliri\n"
  21113. +" --version Montri versiinformon kaj eliri\n"
  21114. +
  21115. +#: src/main.c:263
  21116. +msgid ""
  21117. +"\n"
  21118. +"Operation modes:\n"
  21119. +" -v, --verbose explain sequence of steps and report progress\n"
  21120. +" -q, --quiet, --silent inhibit messages about irreversible recodings\n"
  21121. +" -f, --force force recodings even when not reversible\n"
  21122. +" -t, --touch touch the recoded files after replacement\n"
  21123. +" -i, --sequence=files use intermediate files for sequencing passes\n"
  21124. +" --sequence=memory use memory buffers for sequencing passes\n"
  21125. +msgstr ""
  21126. +"\n"
  21127. +"Funkcimanieroj:\n"
  21128. +" -v, --verbose klarigi sinsekvon de paþoj kaj raporti progreson\n"
  21129. +" -q, --quiet, --silent subpremi mesaøojn pri neinversigeblaj rekodadoj\n"
  21130. +" -f, --force fari rekodadon, ankaý kiam ne inversigebla\n"
  21131. +" -t, --touch fari 'touch' al konvertitaj dosieroj\n"
  21132. +" -i, --sequence=files uzi dumtempajn dosierojn por internaj paþoj\n"
  21133. +" --sequence=memory uzi bufrojn en memoro por internaj paþoj\n"
  21134. +
  21135. +#: src/main.c:275
  21136. +msgid " -p, --sequence=pipe use pipe machinery for sequencing passes\n"
  21137. +msgstr " -p, --sequence=pipe uzi tubojn (\"pipe\") por internaj paþoj\n"
  21138. +
  21139. +#: src/main.c:280
  21140. +msgid " -p, --sequence=pipe same as -i (on this system)\n"
  21141. +msgstr " -p, --sequence=pipe same kiel -i (en æi tiu sistemo)\n"
  21142. +
  21143. +#: src/main.c:285
  21144. +msgid ""
  21145. +"\n"
  21146. +"Fine tuning:\n"
  21147. +" -s, --strict use strict mappings, even loose characters\n"
  21148. +" -d, --diacritics convert only diacritics or alike for HTML/LaTeX\n"
  21149. +" -S, --source[=LN] limit recoding to strings and comments as for LN\n"
  21150. +" -c, --colons use colons instead of double quotes for diaeresis\n"
  21151. +" -g, --graphics approximate IBMPC rulers by ASCII graphics\n"
  21152. +" -x, --ignore=CHARSET ignore CHARSET while choosing a recoding path\n"
  21153. +msgstr ""
  21154. +"\n"
  21155. +"Fajnaj agordoj:\n"
  21156. +" -s, --strict uzi striktajn mapojn, eæ æe signoperdo\n"
  21157. +" -d, --diacritics konverti nur kromsignojn aý simile por HTML/LaTeX\n"
  21158. +" -S, --source[=LN] limigi rekodadon al signoæenoj kaj komentoj por LN\n"
  21159. +" -c, --colons uzi ':' anstataý '\"' por diarezoj\n"
  21160. +" -g, --graphics prezenti IBMPC-liniilojn per askiaj bildoj\n"
  21161. +" -x, --ignore=SIGNARO ignori SIGNAROn dum elekto de rekodado-vojo\n"
  21162. +
  21163. +#: src/main.c:296
  21164. +msgid ""
  21165. +"\n"
  21166. +"Option -l with no FORMAT nor CHARSET list available charsets and surfaces.\n"
  21167. +"FORMAT is `decimal', `octal', `hexadecimal' or `full' (or one of `dohf').\n"
  21168. +msgstr ""
  21169. +"\n"
  21170. +"La opcio -l kun neniu FORMO aý SIGNARO listigas æiujn disponatajn\n"
  21171. +"signarojn kaj surfacojn. FORMO estas 'decimal', 'octal', 'hexadecimal'\n"
  21172. +"aý 'full' (aý unu el 'dohf').\n"
  21173. +
  21174. +#: src/main.c:302
  21175. +msgid ""
  21176. +"Unless DEFAULT_CHARSET is set in environment, CHARSET defaults to the locale\n"
  21177. +"dependent encoding, determined by LC_ALL, LC_CTYPE, LANG.\n"
  21178. +msgstr ""
  21179. +"Se la media variablo DEFAULT_CHARSET ne estas agordita, SIGNARO implicite\n"
  21180. +"estas tiu de la loka¼aro, determinita de LC_ALL, LC_CTYPE, LANG.\n"
  21181. +
  21182. +#: src/main.c:307
  21183. +msgid ""
  21184. +"With -k, possible before charsets are listed for the given after CHARSET,\n"
  21185. +"both being tabular charsets, with PAIRS of the form `BEF1:AFT1,BEF2:AFT2,...'\n"
  21186. +"and BEFs and AFTs being codes are given as decimal numbers.\n"
  21187. +msgstr ""
  21188. +"Kun -k, eblaj antaýaj signaroj por la donita posta SIGNARO estas listigitaj,\n"
  21189. +"kun PAROJ en la formo 'ANT1:POST1,ANT2,POST2,...', kie ANT-oj kaj POST-oj\n"
  21190. +"estas kodoj donitaj kiel dekumaj nombroj.\n"
  21191. +
  21192. +#: src/main.c:312
  21193. +msgid "LN is some language, it may be `c', `perl' or `po'; `c' is the default.\n"
  21194. +msgstr "LN estas programlingvo, ekzemple 'c', 'perl' aý 'po'; implicite estas 'c'.\n"
  21195. +
  21196. +#: src/main.c:315
  21197. +msgid ""
  21198. +"\n"
  21199. +"REQUEST is SUBREQUEST[,SUBREQUEST]...; SUBREQUEST is ENCODING[..ENCODING]...\n"
  21200. +"ENCODING is [CHARSET][/[SURFACE]]...; REQUEST often looks like BEFORE..AFTER,\n"
  21201. +"with BEFORE and AFTER being charsets. An omitted CHARSET implies the usual\n"
  21202. +"charset; an omitted [/SURFACE]... means the implied surfaces for CHARSET; a /\n"
  21203. +"with an empty surface name means no surfaces at all. See the manual.\n"
  21204. +msgstr ""
  21205. +"\n"
  21206. +"PETO estas SUBPETO[,SUBPETO]...; SUBPETO estas KODO[..KODO]...\n"
  21207. +"KODO estas [SIGNARO][/[SURFACO]]...; PETO ofte aspektas kiel ANTAÝ...POST,\n"
  21208. +"kie ANTAÝ kaj POST estas signaroj. Ellasita SIGNARO implicas la kutiman\n"
  21209. +"signaron; ellasita [/SURFACO]... signifas la implicitan surfacon por SIGNARO;\n"
  21210. +"/ kun malplena surfaco-nomo signifas neniajn surfacojn. Vidu la manlibron.\n"
  21211. +
  21212. +#: src/main.c:323
  21213. +msgid ""
  21214. +"\n"
  21215. +"If none of -i and -p are given, presume -p if no FILE, else -i.\n"
  21216. +"Each FILE is recoded over itself, destroying the original. If no\n"
  21217. +"FILE is specified, then act as a filter and recode stdin to stdout.\n"
  21218. +msgstr ""
  21219. +"\n"
  21220. +"Se neniu el -i kaj -p estas donita, supozi -p, se neniu DOSIERO, alie -i.\n"
  21221. +"Æiu DOSIERO estas rekodita surloke, anstataýante la originalon. Se neniu\n"
  21222. +"DOSIERO estas specifita, agi kiel filtrilo kaj rekodi de la normala enigo\n"
  21223. +"al la normala eligo.\n"
  21224. +
  21225. +#: src/main.c:329
  21226. +msgid "\nReport bugs to <recode-bugs@iro.umontreal.ca>.\n"
  21227. +msgstr "\nRaportu cimojn al <recode-bugs@iro.umontreal.ca>.\n"
  21228. +
  21229. +#: src/main.c:430
  21230. +#, c-format
  21231. +msgid "Sequence `%s' is ambiguous"
  21232. +msgstr "Sinsekvo '%s' estas plursenca"
  21233. +
  21234. +#: src/main.c:434
  21235. +#, c-format
  21236. +msgid "Sequence `%s' is unknown"
  21237. +msgstr "Sinsekvo '%s' estas nekonata"
  21238. +
  21239. +#: src/main.c:464 src/main.c:522
  21240. +#, c-format
  21241. +msgid "Language `%s' is ambiguous"
  21242. +msgstr "Lingvo '%s' estas plursenca"
  21243. +
  21244. +#. -1
  21245. +#: src/main.c:468 src/main.c:526
  21246. +#, c-format
  21247. +msgid "Language `%s' is unknown"
  21248. +msgstr "Lingvo '%s' estas nekonata"
  21249. +
  21250. +#: src/main.c:560
  21251. +#, c-format
  21252. +msgid "Format `%s' is ambiguous"
  21253. +msgstr "Formo '%s' estas plursenca"
  21254. +
  21255. +#: src/main.c:564
  21256. +#, c-format
  21257. +msgid "Format `%s' is unknown"
  21258. +msgstr "Formo '%s' estas nekonata"
  21259. +
  21260. +#: src/main.c:621
  21261. +msgid "Written by Franc,ois Pinard <pinard@iro.umontreal.ca>.\n"
  21262. +msgstr "Verkita de François Pinard <pinard@iro.umontreal.ca>.\n"
  21263. +
  21264. +#: src/main.c:624
  21265. +msgid "\nCopyright (C) 1990, 92, 93, 94, 96, 97, 99 Free Software Foundation, Inc.\n"
  21266. +msgstr "\nKopirajto (C) 1990, 92, 93, 94, 96, 97, 99 Free Software Foundation, Inc.\n"
  21267. +
  21268. +#: src/main.c:628
  21269. +msgid ""
  21270. +"This is free software; see the source for copying conditions. There is NO\n"
  21271. +"warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n"
  21272. +msgstr ""
  21273. +"Æi tio estas libera programo; vidu la fonton por kopikondiæoj. Estas\n"
  21274. +"NENIA GARANTIO; eæ ne por KOMERCA KVALITO aý ADEKVATECO POR DIFINITA CELO.\n"
  21275. +
  21276. +#: src/main.c:669
  21277. +#, c-format
  21278. +msgid "Symbol `%s' is unknown"
  21279. +msgstr "Simbolo '%s' estas nekonata"
  21280. +
  21281. +#: src/main.c:709 src/main.c:723
  21282. +#, c-format
  21283. +msgid "Charset `%s' is unknown or ambiguous"
  21284. +msgstr "Signaro '%s' estas nekonata aý plursenca"
  21285. +
  21286. +#: src/main.c:754
  21287. +msgid "Required argument is missing"
  21288. +msgstr "Bezonata argumento mankas"
  21289. +
  21290. +#: src/main.c:797
  21291. +#, c-format
  21292. +msgid "Syntax is deprecated, please prefer `%s'"
  21293. +msgstr "Malrekomendata sintakso; bonvolu uzi '%s'"
  21294. +
  21295. +#: src/main.c:803
  21296. +#, c-format
  21297. +msgid "Request `%s' is erroneous"
  21298. +msgstr "Peto '%s' estas erara"
  21299. +
  21300. +#: src/main.c:903
  21301. +#, c-format
  21302. +msgid "Recoding %s..."
  21303. +msgstr "Rekodas '%s' ..."
  21304. +
  21305. +#: src/main.c:913
  21306. +msgid " done\n"
  21307. +msgstr " preta\n"
  21308. +
  21309. +#: src/main.c:954
  21310. +#, c-format
  21311. +msgid " failed: %s in step `%s..%s'\n"
  21312. +msgstr " malsukcesis: %s en paþo '%s..%s'\n"
  21313. +
  21314. +#: src/main.c:961
  21315. +#, c-format
  21316. +msgid "%s failed: %s in step `%s..%s'"
  21317. +msgstr "%s malsukcesis: %s en paþo '%s..%s'"
  21318. +
  21319. +#: src/main.c:984
  21320. +#, c-format
  21321. +msgid "%s in step `%s..%s'"
  21322. +msgstr "%s en paþo '%s..%s'"
  21323. +
  21324. +#: src/names.c:335
  21325. +#, c-format
  21326. +msgid "Charset %s already exists and is not %s"
  21327. +msgstr "La signaro %s jam ekzistas kaj ne estas %s"
  21328. +
  21329. +#: src/names.c:831
  21330. +#, c-format
  21331. +msgid "Cannot list `%s', no names available for this charset"
  21332. +msgstr "Ne povas montri '%s'; neniuj nomoj disponataj por æi tiu signaro"
  21333. +
  21334. +#. code counter
  21335. +#. expected value for code counter
  21336. +#. insert a while line before printing
  21337. +#. Print the long table according to explode data.
  21338. +#: src/names.c:984 src/names.c:1030
  21339. +#, c-format
  21340. +msgid "Dec Oct Hex UCS2 Mne %s\n"
  21341. +msgstr "Dec Oct Hex UCS2 Mne %s\n"
  21342. +
  21343. +#: src/names.c:1049
  21344. +#, c-format
  21345. +msgid "Sorry, no names available for `%s'"
  21346. +msgstr "Pardonu, sed neniaj nomoj disponataj por '%s'"
  21347. +
  21348. +#: src/outer.c:125
  21349. +#, c-format
  21350. +msgid "Resurfacer set more than once for `%s'"
  21351. +msgstr "Resurfacigilo agordita pli ol unufoje por '%s'"
  21352. +
  21353. +#: src/outer.c:133
  21354. +#, c-format
  21355. +msgid "Unsurfacer set more than once for `%s'"
  21356. +msgstr "Malsurfacigilo por '%s' agordita pli ol unufoje"
  21357. +
  21358. +#: src/recode.c:115 src/recode.c:127
  21359. +msgid "Virtual memory exhausted"
  21360. +msgstr "Vituala memoro elæerpiøis"
  21361. +
  21362. +#: src/recode.c:155
  21363. +#, c-format
  21364. +msgid "Codes %3d and %3d both recode to %3d"
  21365. +msgstr "La kodoj %3d kaj %3d estas ambaý konvertataj al %3d"
  21366. +
  21367. +#: src/recode.c:169
  21368. +#, c-format
  21369. +msgid "No character recodes to %3d"
  21370. +msgstr "Neniu signo estas konvertata al %3d"
  21371. +
  21372. +#: src/recode.c:170
  21373. +msgid "Cannot invert given one-to-one table"
  21374. +msgstr "Ne povas inversigi la donitan unusencan tabelon"
  21375. +
  21376. +#: src/recode.c:224 src/recode.c:236
  21377. +#, c-format
  21378. +msgid "Following diagnostics for `%s' to `%s'"
  21379. +msgstr "Jena diagnozo por konvertado de '%s' al '%s'"
  21380. +
  21381. +#: src/recode.c:229 src/recode.c:241
  21382. +#, c-format
  21383. +msgid "Pair no. %d: <%3d, %3d> conflicts with <%3d, %3d>"
  21384. +msgstr "Paro numero %d: <%3d, %3d> konfliktas kun <%3d, %3d>"
  21385. +
  21386. +#: src/recode.c:272
  21387. +msgid "Cannot complete table from set of known pairs"
  21388. +msgstr "Ne povas kompletigi tabelon el aro de konataj paroj"
  21389. +
  21390. +#: src/recode.c:497
  21391. +msgid "Identity recoding, not worth a table"
  21392. +msgstr "Senþanøa rekodado ne indas je tabelo"
  21393. +
  21394. +#: src/recode.c:504
  21395. +msgid "Recoding is too complex for a mere table"
  21396. +msgstr "Rekodado estas tro komplika por nura tabelo"
  21397. +
  21398. +#. Print the header of the header file.
  21399. +#: src/recode.c:536
  21400. +#, c-format
  21401. +msgid "%sConversion table generated mechanically by Free `%s' %s"
  21402. +msgstr "%sKonvertotabelo kreita aýtomate de Free '%s' %s"
  21403. +
  21404. +#: src/recode.c:538
  21405. +#, c-format
  21406. +msgid "%sfor sequence %s.%s"
  21407. +msgstr "%spor sinsekvo %s.%s"
  21408. +
  21409. +#: src/recode.c:744
  21410. +msgid "No table to print"
  21411. +msgstr "Mankas tabelo por eligado"
  21412. +
  21413. +#: src/request.c:34
  21414. +msgid "reversible"
  21415. +msgstr "inversigebla"
  21416. +
  21417. +#: src/request.c:36
  21418. +#, c-format
  21419. +msgid "%s to %s"
  21420. +msgstr "%s al %s"
  21421. +
  21422. +#: src/request.c:37 src/request.c:39
  21423. +msgid "byte"
  21424. +msgstr "bitoko"
  21425. +
  21426. +#: src/request.c:38 src/request.c:40
  21427. +msgid "ucs2"
  21428. +msgstr "ucs2"
  21429. +
  21430. +#: src/request.c:38 src/request.c:40
  21431. +msgid "variable"
  21432. +msgstr "variablo"
  21433. +
  21434. +#: src/request.c:111
  21435. +msgid "*Unachievable*"
  21436. +msgstr "*neebla*"
  21437. +
  21438. +#: src/request.c:113
  21439. +msgid "*mere copy*"
  21440. +msgstr "*nura kopio*"
  21441. +
  21442. +#: src/request.c:246
  21443. +msgid "Virtual memory exhausted!"
  21444. +msgstr "Virtuala memoro estas plena!"
  21445. +
  21446. +#: src/request.c:265
  21447. +msgid "Step initialisation failed"
  21448. +msgstr "Komencado de paþo malsukcesis"
  21449. +
  21450. +#: src/request.c:272
  21451. +msgid "Step initialisation failed (unprocessed options)"
  21452. +msgstr "Komencado de paþo malsukcesis (netraktitaj opcioj)"
  21453. +
  21454. +#: src/request.c:568
  21455. +#, c-format
  21456. +msgid "Request: %s\n"
  21457. +msgstr "Peto: %s\n"
  21458. +
  21459. +#: src/request.c:720
  21460. +#, c-format
  21461. +msgid "Shrunk to: %s\n"
  21462. +msgstr "Þrumpis øis: %s\n"
  21463. +
  21464. +#: src/request.c:823 src/request.c:932
  21465. +#, c-format
  21466. +msgid "Unrecognised surface name `%s'"
  21467. +msgstr "Nekonata nomo de surfaco '%s'"
  21468. +
  21469. +#: src/request.c:903
  21470. +#, c-format
  21471. +msgid "No way to recode from `%s' to `%s'"
  21472. +msgstr "Mankas eblo por konverti de '%s' al '%s'"
  21473. +
  21474. +#: src/request.c:1013
  21475. +msgid "Expecting `..' in request"
  21476. +msgstr "Atendas '..' en peto"
  21477. +
  21478. +#: src/task.c:826 src/task.c:1002
  21479. +#, c-format
  21480. +msgid "Child process wait status is 0x%0.2x"
  21481. +msgstr "Atendostatuso de ido-procezo estas 0x%0.2x"
  21482. +
  21483. +#: src/testdump.c:298
  21484. +msgid "UCS2 Mne Description\n\n"
  21485. +msgstr "UCS2 Mne Priskribo\n\n"
  21486. --- recode-3.6.orig/i18n/he.po
  21487. +++ recode-3.6/i18n/he.po
  21488. @@ -0,0 +1,500 @@
  21489. +# Hebrew messages for Free recode -*- coding: hebrew-iso-8bit -*-
  21490. +# Copyright (C) 2001 Free Software Foundation, Inc.
  21491. +# Eli Zaretskii <eliz@is.elta.co.il>, 2001.
  21492. +#
  21493. +msgid ""
  21494. +msgstr ""
  21495. +"Project-Id-Version: Free recode 3.6\n"
  21496. +"POT-Creation-Date: 2001-01-02 22:35+0100\n"
  21497. +"PO-Revision-Date: 2001-05-27 17:06+0300\n"
  21498. +"Last-Translator: Eli Zaretskii <eliz@gnu.org>\n"
  21499. +"Language-Team: Hebrew <eliz@gnu.org>\n"
  21500. +"MIME-Version: 1.0\n"
  21501. +"Content-Type: text/plain; charset=ISO-8859-8\n"
  21502. +"Content-Transfer-Encoding: 8-bit\n"
  21503. +
  21504. +#: src/main.c:142
  21505. +msgid "No error"
  21506. +msgstr "úåàéâù ïéà"
  21507. +
  21508. +#: src/main.c:145
  21509. +msgid "Non canonical input"
  21510. +msgstr "éð÷ú åðéà èì÷"
  21511. +
  21512. +#: src/main.c:148
  21513. +msgid "Ambiguous output"
  21514. +msgstr "éòîùî-ãç åðéà èìô"
  21515. +
  21516. +#: src/main.c:151
  21517. +msgid "Untranslatable input"
  21518. +msgstr "äøîúäì ïúéð åðéà èì÷"
  21519. +
  21520. +#: src/main.c:154
  21521. +msgid "Invalid input"
  21522. +msgstr "íéøëåî íðéàù íéãå÷ ììåë èì÷"
  21523. +
  21524. +#: src/main.c:157
  21525. +msgid "System detected problem"
  21526. +msgstr "úëøòî úì÷ú"
  21527. +
  21528. +#: src/main.c:160
  21529. +msgid "Misuse of recoding library"
  21530. +msgstr "ãåãé÷ úåøîúä úééøôñá éåâù ùåîéù"
  21531. +
  21532. +#: src/main.c:163
  21533. +msgid "Internal recoding bug"
  21534. +msgstr "ãåãé÷ úøîúä êéìäúá úéîéðô äì÷ú"
  21535. +
  21536. +#: src/main.c:208
  21537. +msgid ""
  21538. +"This program is free software; you can redistribute it and/or modify\n"
  21539. +"it under the terms of the GNU General Public License as published by\n"
  21540. +"the Free Software Foundation; either version 2, or (at your option)\n"
  21541. +"any later version.\n"
  21542. +"\n"
  21543. +"This program is distributed in the hope that it will be useful,\n"
  21544. +"but WITHOUT ANY WARRANTY; without even the implied warranty of\n"
  21545. +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n"
  21546. +"GNU General Public License for more details.\n"
  21547. +"\n"
  21548. +"You should have received a copy of the GNU General Public License\n"
  21549. +"along with this program; if not, write to the Free Software Foundation,\n"
  21550. +"Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n"
  21551. +msgstr ""
  21552. +" óåôëá äúåðùì åà/å äöéôäì êúåëæ ;úéùôç äðëú äðéä åæ úéðëú\n"
  21553. +" é\"ò øåàì àöåéä ,GNU General Public License ïåéùøä éàðúì\n"
  21554. +" íàå ,ïåéùøä ìù 2 àñøâá íà ;Free Software Foundation\n"
  21555. +" .øúåé úøçåàî àñøâ ìëá (êì äøåîùä äéöôåàë)\n"
  21556. +"\n"
  21557. +" ,úìòåú àéáú àéäù äåå÷ú êåúî úöôåî åæ úéðëú\n"
  21558. +" òîúùîá-úåéøçà àì åìéôà ;úåéøçà áúë ìë àìì íìåà\n"
  21559. +" ,íéèøôì .úîéåñî úéìëú åæéàì äîàúä åà úåøéçñ ìù\n"
  21560. +" .GNU General Public License-á ïééò àðà\n"
  21561. +"\n"
  21562. +";GNU General Public License ìù ÷úåòá äååìî úåéäì äøåîà åæ úéðëú\n"
  21563. +" Free Software Foundation, Inc.-ì áåúë àðà ,åúåà úìáé÷ àì íà\n"
  21564. +" .59 Temple Place - Suite 330, Boston, MA 02111-1307, USA\n"
  21565. +
  21566. +#: src/main.c:233
  21567. +#, c-format
  21568. +msgid "Try `%s %s' for more information.\n"
  21569. +msgstr ".`%s %s' ãì÷ä ,åæ äðëåúá ùåîéù ìò óñåð òãéî úìá÷ì\n"
  21570. +
  21571. +#: src/main.c:237
  21572. +msgid "Free `recode' converts files between various character sets and surfaces.\n"
  21573. +msgstr " .úåðåù úåôéèòå íéååú úåöåá÷ ïéá íéöá÷ äøéîúî Free `recode' úéðëåú\n"
  21574. +
  21575. +#: src/main.c:241
  21576. +#, c-format
  21577. +msgid "\nUsage: %s [OPTION]... [ [CHARSET] | REQUEST [FILE]... ]\n"
  21578. +msgstr "\n%s [íéðééôàî]... [ [äîéùî | íéååú úöåá÷ [õáå÷]... ] :ùåîéùä ïôåà\n"
  21579. +
  21580. +#: src/main.c:244
  21581. +msgid ""
  21582. +"\n"
  21583. +"If a long option shows an argument as mandatory, then it is mandatory\n"
  21584. +"for the equivalent short option also. Similarly for optional arguments.\n"
  21585. +msgstr ""
  21586. +"\n"
  21587. +" øåáò íâ éçøëä àåä æà ,éçøëäë èðîåâøàä úà äàøî äëåøàä åúøåöá ïééôàî íà\n"
  21588. +" .íééçøëä íðéàù íéèðîåâøà øåáò íâ êëå .ïééôàî åúåà ìù úøöå÷îä äøåöä\n"
  21589. +
  21590. +#: src/main.c:250
  21591. +msgid ""
  21592. +"\n"
  21593. +"Listings:\n"
  21594. +" -l, --list[=FORMAT] list one or all known charsets and aliases\n"
  21595. +" -k, --known=PAIRS restrict charsets according to known PAIRS list\n"
  21596. +" -h, --header[=[LN/]NAME] write table NAME on stdout using LN, then exit\n"
  21597. +" -F, --freeze-tables write out a C module holding all tables\n"
  21598. +" -T, --find-subsets report all charsets being subset of others\n"
  21599. +" -C, --copyright display Copyright and copying conditions\n"
  21600. +" --help display this help and exit\n"
  21601. +" --version output version information and exit\n"
  21602. +msgstr ""
  21603. +"\n"
  21604. +" :úåîéùø\n"
  21605. +" íééôåìç úåîùå íéååúä úåöåá÷ ìë åà úçà äöåá÷ âöä -l, --list[=èîøåô]\n"
  21606. +"íéòåãé úåâåæ úîéùøì úåîéàúîä íéååú úåöåá÷ ÷ø âöä -k, --known=úåâåæ\n"
  21607. +" LN úåðëú úôùì äîéàúîä NAME íùá äìáè íåùø -h, --header[=[LN/]NAME]\n"
  21608. +" úåàìáèä ìë úà ìéëîä C úôùá øå÷î õáå÷ íåùø -F, --freeze-tables\n"
  21609. +"úåøçà úåöåá÷ ìù úåöåá÷-úú ïðéäù íéååú úåöåá÷ âöä -T, --find-subsets\n"
  21610. +" ä÷úòä éàðúå íéøöåé úåéåëæ âöä -C, --copyright\n"
  21611. +" äæ äøæò êñî âöä --help\n"
  21612. +" úéðëúä úñøéâ úà âöä --version\n"
  21613. +
  21614. +#: src/main.c:263
  21615. +msgid ""
  21616. +"\n"
  21617. +"Operation modes:\n"
  21618. +" -v, --verbose explain sequence of steps and report progress\n"
  21619. +" -q, --quiet, --silent inhibit messages about irreversible recodings\n"
  21620. +" -f, --force force recodings even when not reversible\n"
  21621. +" -t, --touch touch the recoded files after replacement\n"
  21622. +" -i, --sequence=files use intermediate files for sequencing passes\n"
  21623. +" --sequence=memory use memory buffers for sequencing passes\n"
  21624. +msgstr ""
  21625. +"\n"
  21626. +" :äìåòô éðôåà\n"
  21627. +" úåîã÷úä çååãå úåìåòôä úøãñ úà øáñä -v, --verbose\n"
  21628. +" úåëéôä-éúìá úåøîúä ìò úåòãåä ñéôãú ìà -q, --quiet, --silent\n"
  21629. +" äëéôä äðéà íà íâ äøîúä òöá -f, --force\n"
  21630. +" íáåúëéù éøçà íéöá÷ ìù ïîæä úîéúç ïëãò -t, --touch\n"
  21631. +"úåøîúä úøãñ ìù íééðéá úåàöåú úøéâàì íéöá÷á ùîúùä -i, --sequence=files\n"
  21632. +" ïåøëæá úåøîúä úøãñ ìù íééðéáä úåàöåú øåâà --sequence=memory\n"
  21633. +
  21634. +#: src/main.c:275
  21635. +msgid " -p, --sequence=pipe use pipe machinery for sequencing passes\n"
  21636. +msgstr " úåøîúä úøãñ òåöéáì (pipe) ÷éôàá ùîúùä -p, --sequence=pipe\n"
  21637. +
  21638. +#: src/main.c:280
  21639. +msgid " -p, --sequence=pipe same as -i (on this system)\n"
  21640. +msgstr " (åæ úëøòîá) -i åîë -p, --sequence=pipe\n"
  21641. +
  21642. +#: src/main.c:285
  21643. +msgid ""
  21644. +"\n"
  21645. +"Fine tuning:\n"
  21646. +" -s, --strict use strict mappings, even loose characters\n"
  21647. +" -d, --diacritics convert only diacritics or alike for HTML/LaTeX\n"
  21648. +" -S, --source[=LN] limit recoding to strings and comments as for LN\n"
  21649. +" -c, --colons use colons instead of double quotes for diaeresis\n"
  21650. +" -g, --graphics approximate IBMPC rulers by ASCII graphics\n"
  21651. +" -x, --ignore=CHARSET ignore CHARSET while choosing a recoding path\n"
  21652. +msgstr ""
  21653. +"\n"
  21654. +" ïéãò ïåðååéë\n"
  21655. +" íéååú ãåáéà øéçîá åìéôà ,øéîçî éåôéîá ùîúùä -s, --strict\n"
  21656. +" LaTeX-å HTML øåáò íéèéø÷àéã íò íéååú ÷ø øîúä -d, --diacritics\n"
  21657. +" LN úåðëú úôù úçðäá úåøòäå úåæåøçîì äøîúä ìáâä -S, --source[=LN]\n"
  21658. +" ñéñøàéã ïåîéñì íééùøâ íå÷îá íééúåãå÷ðá ùîúùä -c, --colons\n"
  21659. +" ASCII éååú äîë é\"ò IBM ìù íééôøâ íéååú áø÷ -g, --graphics\n"
  21660. +" äøîúä áéúð úøéçá úòá CHARSET íéååú úöåá÷î íìòúä -x, --ignore=CHARSET\n"
  21661. +
  21662. +#: src/main.c:296
  21663. +msgid ""
  21664. +"\n"
  21665. +"Option -l with no FORMAT nor CHARSET list available charsets and surfaces.\n"
  21666. +"FORMAT is `decimal', `octal', `hexadecimal' or `full' (or one of `dohf').\n"
  21667. +msgstr ""
  21668. +"\n"
  21669. +".úåôéèòäå íéååúä úåöåá÷ ìë úà âéöî íéååú úöåá÷ åà èîøåô ïåéö àìì -l ïééôàî\n"
  21670. +" úçà úåà åà) `full' åà `hexadecimal' ,`octal' ,`decimal' úåéäì ìåëé èîøåô\n"
  21671. +" .(`dohf' äöåá÷ä êåúî\n"
  21672. +
  21673. +#: src/main.c:302
  21674. +msgid ""
  21675. +"Unless DEFAULT_CHARSET is set in environment, CHARSET defaults to the locale\n"
  21676. +"dependent encoding, determined by LC_ALL, LC_CTYPE, LANG.\n"
  21677. +msgstr ""
  21678. +" íéååú úöåá÷ ìù ìãçîä úøéøá ,øãâåî åðéà DEFAULT_CHARSET äáéáñ äðúùî íà\n"
  21679. +".LANG, LC_CTYPE, LC_ALL íéðúùî éëøò êåúî òîúùîë úåéìà÷åì úåðåëú é\"ò úòá÷ð\n"
  21680. +
  21681. +#: src/main.c:307
  21682. +msgid ""
  21683. +"With -k, possible before charsets are listed for the given after CHARSET,\n"
  21684. +"both being tabular charsets, with PAIRS of the form `BEF1:AFT1,BEF2:AFT2,...'\n"
  21685. +"and BEFs and AFTs being codes are given as decimal numbers.\n"
  21686. +msgstr ""
  21687. +" úåâåæ úà úîàåú ãòéä úöåá÷ì ïúøîúä øùà íéååúä úåöåá÷ ìë äðâöåú ,-k úåçëåðá\n"
  21688. +".íééðåøùò íéãå÷ íä AFT-å BEF-å ,`BEF1:AFT1,BEF2:AFT2,...'-ë íéðåúðä íéååúä\n"
  21689. +
  21690. +#: src/main.c:312
  21691. +msgid "LN is some language, it may be `c', `perl' or `po'; `c' is the default.\n"
  21692. +msgstr " .`c' àéä ìãçîä úøéøá ;`po' åà ,`perl' ,`c' :úåðëú úôù ïééöî LN\n"
  21693. +
  21694. +#: src/main.c:315
  21695. +msgid ""
  21696. +"\n"
  21697. +"REQUEST is SUBREQUEST[,SUBREQUEST]...; SUBREQUEST is ENCODING[..ENCODING]...\n"
  21698. +"ENCODING is [CHARSET][/[SURFACE]]...; REQUEST often looks like BEFORE..AFTER,\n"
  21699. +"with BEFORE and AFTER being charsets. An omitted CHARSET implies the usual\n"
  21700. +"charset; an omitted [/SURFACE]... means the implied surfaces for CHARSET; a /\n"
  21701. +"with an empty surface name means no surfaces at all. See the manual.\n"
  21702. +msgstr ""
  21703. +"\n"
  21704. +":åúøåö SUBREQUEST ìëå SUBREQUEST[,SUBREQUEST]...:åúøåö (REQUEST) äîéùî ïåéö\n"
  21705. +" .[CHARSET][/[SURFACE]]... :åúøåö (ãåãé÷) ENCODING .ENCODING[..ENCODING]...\n"
  21706. +" úèîùä .íéååú úåöåá÷ ïðéä AFTER-å BEFORE ;BEFORE..AFTER-ë äðåúð äîéùî ë\"ãá\n"
  21707. +" äùåøéô [/SURFACE] äôéèò úèîùä ;äìéâø íéååú úöåá÷ äùåøéô CHARSET íéåú úöåá÷\n"
  21708. +" ìë øãòéä åùåøéô äôéèò íù àìì / ïåéö .äðåúð íéååú úöåá÷ øåáò úìáå÷îä äôéèòä\n"
  21709. +" .ùîúùîì êéøãîá ïééò ,èåøéô øúéì .äôéèò\n"
  21710. +
  21711. +#: src/main.c:323
  21712. +msgid ""
  21713. +"\n"
  21714. +"If none of -i and -p are given, presume -p if no FILE, else -i.\n"
  21715. +"Each FILE is recoded over itself, destroying the original. If no\n"
  21716. +"FILE is specified, then act as a filter and recode stdin to stdout.\n"
  21717. +msgstr ""
  21718. +"\n"
  21719. +".-i éôì úøçà ,FILE èðîåâøà øãòéäá -p éôì ìòô ,-p àì óàå -i àì íéðåúð àì íà\n"
  21720. +" óà íéðééöî ïéà íà .úîìòð úéøå÷îä åúìåëúå ,äøîúä êåú áúëåùî FILE õáå÷ ìë\n"
  21721. +" .éð÷ú èìô õåøòì äøîúä úåàöåú áåúëå éð÷ú èì÷ õåøò àø÷ :øèìéôë ìòô ,FILE\n"
  21722. +
  21723. +#: src/main.c:329
  21724. +msgid "\nReport bugs to <recode-bugs@iro.umontreal.ca>.\n"
  21725. +msgstr "\n .<recode-bugs@iro.umontreal.ca> úáåúëì (bugs) äì÷ú éçååéã çåìùì àð\n"
  21726. +
  21727. +#: src/main.c:430
  21728. +#, c-format
  21729. +msgid "Sequence `%s' is ambiguous"
  21730. +msgstr "--sequence ïééôàîì èðîåâøà ìù éòîùî-ãç øåöé÷ åðéà `%s'"
  21731. +
  21732. +#: src/main.c:434
  21733. +#, c-format
  21734. +msgid "Sequence `%s' is unknown"
  21735. +msgstr "--sequence ïééôàîì øëåî èðîåâøà åðéà `%s'"
  21736. +
  21737. +#: src/main.c:464 src/main.c:522
  21738. +#, c-format
  21739. +msgid "Language `%s' is ambiguous"
  21740. +msgstr "úåðëú úôù ìù éòîùî-ãç øåöé÷ åðéà `%s'"
  21741. +
  21742. +#. -1
  21743. +#: src/main.c:468 src/main.c:526
  21744. +#, c-format
  21745. +msgid "Language `%s' is unknown"
  21746. +msgstr "úøëåî úåðëú úôù äðéà `%s'"
  21747. +
  21748. +#: src/main.c:560
  21749. +#, c-format
  21750. +msgid "Format `%s' is ambiguous"
  21751. +msgstr "èîøåô ìù éòîùî-ãç øåöé÷ åðéà `%s'"
  21752. +
  21753. +#: src/main.c:564
  21754. +#, c-format
  21755. +msgid "Format `%s' is unknown"
  21756. +msgstr "øëåî èîøåô åðéà `%s'"
  21757. +
  21758. +#: src/main.c:621
  21759. +msgid "Written by Franc,ois Pinard <pinard@iro.umontreal.ca>.\n"
  21760. +msgstr ".Franc,ois Pinard <pinard@iro.umontreal.ca> é\"ò äáúëð åæ úéðëú\n"
  21761. +
  21762. +#: src/main.c:624
  21763. +msgid "\nCopyright (C) 1990, 92, 93, 94, 96, 97, 99 Free Software Foundation, Inc.\n"
  21764. +msgstr "\nFree Software Foundation-ì úåøåîù úåéåëæä ìë (C) 1990,92,93,94,96,97,99\n"
  21765. +
  21766. +#: src/main.c:628
  21767. +msgid ""
  21768. +"This is free software; see the source for copying conditions. There is NO\n"
  21769. +"warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n"
  21770. +msgstr ""
  21771. +"åìéôà ;úåéøçà ìë ïéà .øå÷î éöá÷á ïééò ,ä÷úòä éàðú ìò òãéîì ;úéùôç äðëú éäåæ\n"
  21772. +" .úîéåñî úéìëú åæéàì äîàúä åà úåøéçñ ìù òîúùîá-úåéøçà àì\n"
  21773. +
  21774. +#: src/main.c:669
  21775. +#, c-format
  21776. +msgid "Symbol `%s' is unknown"
  21777. +msgstr "úøëåî íéååú úöåá÷ äðéà `%s'"
  21778. +
  21779. +#: src/main.c:709 src/main.c:723
  21780. +#, c-format
  21781. +msgid "Charset `%s' is unknown or ambiguous"
  21782. +msgstr "úøëåî íéååú úöåá÷ ìù éòîùî-ãç øåöé÷ åðéà `%s'"
  21783. +
  21784. +#: src/main.c:754
  21785. +msgid "Required argument is missing"
  21786. +msgstr "åðééöì çøëäù èðîåâøà øñç"
  21787. +
  21788. +#: src/main.c:797
  21789. +#, c-format
  21790. +msgid "Syntax is deprecated, please prefer `%s'"
  21791. +msgstr "`%s' óãòä àðà àáäì ,ïùåéî øéáçúá úùîúùä"
  21792. +
  21793. +#: src/main.c:803
  21794. +#, c-format
  21795. +msgid "Request `%s' is erroneous"
  21796. +msgstr "éåâù åðéä `%s' äîéùî ïåéö"
  21797. +
  21798. +#: src/main.c:903
  21799. +#, c-format
  21800. +msgid "Recoding %s..."
  21801. +msgstr "`%s' úøîúä"
  21802. +
  21803. +# FIXME: this is lame! The method of printing "Frobbing...done"
  21804. +# does not lend itself to good translations into languages where
  21805. +# such sentences have a different structure, and should be rethought.
  21806. +#: src/main.c:913
  21807. +msgid " done\n"
  21808. +msgstr " äçìöäá äîééúñä\n"
  21809. +
  21810. +#: src/main.c:954
  21811. +#, c-format
  21812. +msgid " failed: %s in step `%s..%s'\n"
  21813. +msgstr "%s :ìùëð `%s..%s' äøîúä áìù\n"
  21814. +
  21815. +#: src/main.c:961
  21816. +#, c-format
  21817. +msgid "%s failed: %s in step `%s..%s'"
  21818. +msgstr "%s õáå÷ øåáò %s á÷ò ìùëð `%s..%s' äøîúä áìù"
  21819. +
  21820. +#: src/main.c:984
  21821. +#, c-format
  21822. +msgid "%s in step `%s..%s'"
  21823. +msgstr "%s :`%s..%s' äøîúä áìùá"
  21824. +
  21825. +#: src/names.c:335
  21826. +#, c-format
  21827. +msgid "Charset %s already exists and is not %s"
  21828. +msgstr "íéååú úöåá÷ ìù (alias) éôåìç éåðéëë %s ìù úîãå÷ äøãâä øèåñ %s"
  21829. +
  21830. +#: src/names.c:831
  21831. +#, c-format
  21832. +msgid "Cannot list `%s', no names available for this charset"
  21833. +msgstr "íééð÷ú úåîù ïéà åæ äöåá÷î íéååúì ïëù ,`%s' úà âéöäì ïúéð àì"
  21834. +
  21835. +#. code counter
  21836. +#. expected value for code counter
  21837. +#. insert a while line before printing
  21838. +#. Print the long table according to explode data.
  21839. +#: src/names.c:984 src/names.c:1030
  21840. +#, c-format
  21841. +msgid "Dec Oct Hex UCS2 Mne %s\n"
  21842. +msgstr "Dec Oct Hex UCS2 Mne %s\n"
  21843. +
  21844. +#: src/names.c:1049
  21845. +#, c-format
  21846. +msgid "Sorry, no names available for `%s'"
  21847. +msgstr "íééð÷ú úåîù ïéà `%s' äöåá÷î íéååúì ,íéøòèöî"
  21848. +
  21849. +#: src/outer.c:125
  21850. +#, c-format
  21851. +msgid "Resurfacer set more than once for `%s'"
  21852. +msgstr "`%s' øåáò úçà íòôî øúåé äòá÷ð äôéèò úøîúä"
  21853. +
  21854. +#: src/outer.c:133
  21855. +#, c-format
  21856. +msgid "Unsurfacer set more than once for `%s'"
  21857. +msgstr "`%s' øåáò úçà íòôî øúåé äòá÷ð äôéèò úãøåä"
  21858. +
  21859. +#: src/recode.c:115 src/recode.c:127
  21860. +msgid "Virtual memory exhausted"
  21861. +msgstr "ìæà éìàåèøéå ïåøëæ"
  21862. +
  21863. +#: src/recode.c:155
  21864. +#, c-format, ycp-format
  21865. +msgid "Codes %3d and %3d both recode to %3d"
  21866. +msgstr "%3d-î ïäå %3d úøîúäî ïä ìá÷úî %3d ãå÷ ìòá åú"
  21867. +
  21868. +#: src/recode.c:169
  21869. +#, c-format, ycp-format
  21870. +msgid "No character recodes to %3d"
  21871. +msgstr "%3d-ì øîúåî åðéà åú íåù"
  21872. +
  21873. +#: src/recode.c:170
  21874. +msgid "Cannot invert given one-to-one table"
  21875. +msgstr "äëéôäì úðúéð äðéà äøãâåäù äøîúä úìáè"
  21876. +
  21877. +#: src/recode.c:224 src/recode.c:236
  21878. +#, c-format
  21879. +msgid "Following diagnostics for `%s' to `%s'"
  21880. +msgstr "`%s'-î `%s'-ì äøîúä øåáò äðéä äàáä äì÷úä úòãåä"
  21881. +
  21882. +#: src/recode.c:229 src/recode.c:241
  21883. +#, c-format
  21884. +msgid "Pair no. %d: <%3d, %3d> conflicts with <%3d, %3d>"
  21885. +msgstr "%d åøôñîù <%3d, %3d> âåæä úà øèåñ <%3d, %3d> âåæä"
  21886. +
  21887. +#: src/recode.c:272
  21888. +msgid "Cannot complete table from set of known pairs"
  21889. +msgstr "íéòåãéä úåâåæä úöåá÷ êåúî äìáè íéìùäì úåøùôà ïéà"
  21890. +
  21891. +#: src/recode.c:497
  21892. +msgid "Identity recoding, not worth a table"
  21893. +msgstr "äìáèì ä÷ãöä ïéà ,(úåäæ) äãéçé úøîúä"
  21894. +
  21895. +#: src/recode.c:504
  21896. +msgid "Recoding is too complex for a mere table"
  21897. +msgstr "äìáèë äâéöäì äéäé øùôàù éãëî úáëøåî äøîúä"
  21898. +
  21899. +# FIXME: this goes into a comment; is it really worth translating?
  21900. +#. Print the header of the header file.
  21901. +#: src/recode.c:536
  21902. +#, c-format
  21903. +msgid "%sConversion table generated mechanically by Free `%s' %s"
  21904. +msgstr "%sFree `%s' úéðëåú ìù %s àñøéâ é\"ò äáùåçù äøîúä úìáè"
  21905. +
  21906. +#: src/recode.c:538
  21907. +#, c-format
  21908. +msgid "%sfor sequence %s.%s"
  21909. +msgstr "%s .%s úåøîúä úøãñ øåáò%s"
  21910. +
  21911. +#: src/recode.c:744
  21912. +msgid "No table to print"
  21913. +msgstr "äñôãäì äìáè ïéà"
  21914. +
  21915. +#: src/request.c:34
  21916. +msgid "reversible"
  21917. +msgstr "êéôä"
  21918. +
  21919. +# FIXME: these assume left-to-right direction. What else can I do?
  21920. +#: src/request.c:36
  21921. +#, c-format
  21922. +msgid "%s to %s"
  21923. +msgstr "%s -> %s"
  21924. +
  21925. +#: src/request.c:37 src/request.c:39
  21926. +msgid "byte"
  21927. +msgstr "byte"
  21928. +
  21929. +#: src/request.c:38 src/request.c:40
  21930. +msgid "ucs2"
  21931. +msgstr "ucs2"
  21932. +
  21933. +#: src/request.c:38 src/request.c:40
  21934. +msgid "variable"
  21935. +msgstr "variable"
  21936. +
  21937. +#: src/request.c:111
  21938. +msgid "*Unachievable*"
  21939. +msgstr "äâùäì ïúéð-éúìá*"
  21940. +
  21941. +#: src/request.c:113
  21942. +msgid "*mere copy*"
  21943. +msgstr "*äèåùô ä÷úòä*"
  21944. +
  21945. +#: src/request.c:246
  21946. +msgid "Virtual memory exhausted!"
  21947. +msgstr "!ìæà éìàåèøéå ïåøëæ"
  21948. +
  21949. +#: src/request.c:265
  21950. +msgid "Step initialisation failed"
  21951. +msgstr "ìùëð áìùä ìåçúà"
  21952. +
  21953. +#: src/request.c:272
  21954. +msgid "Step initialisation failed (unprocessed options)"
  21955. +msgstr "(åãáåò àì íéðééôàî äîë) ìùëð áìùä ìåçúà"
  21956. +
  21957. +#: src/request.c:568
  21958. +#, c-format
  21959. +msgid "Request: %s\n"
  21960. +msgstr "%s :äîéùî\n"
  21961. +
  21962. +#: src/request.c:720
  21963. +#, c-format
  21964. +msgid "Shrunk to: %s\n"
  21965. +msgstr "%s -:ì äîöîèöä\n"
  21966. +
  21967. +#: src/request.c:823 src/request.c:932
  21968. +#, c-format
  21969. +msgid "Unrecognised surface name `%s'"
  21970. +msgstr "øëåî äôéèò íù åðéà `%s'"
  21971. +
  21972. +#: src/request.c:903
  21973. +#, c-format
  21974. +msgid "No way to recode from `%s' to `%s'"
  21975. +msgstr "`%s'-î `%s'-ì äøîúä úåøùôà ïéà"
  21976. +
  21977. +#: src/request.c:1013
  21978. +msgid "Expecting `..' in request"
  21979. +msgstr "`..' ìåìëì äéä øåîà äîéùîä ïåéö"
  21980. +
  21981. +#: src/task.c:826 src/task.c:1002
  21982. +#, c-format
  21983. +msgid "Child process wait status is 0x%0.2x"
  21984. +msgstr "0x%0.2x àåä úá-úéðëú íåéñ ãå÷"
  21985. +
  21986. +#: src/testdump.c:298
  21987. +msgid "UCS2 Mne Description\n\n"
  21988. +msgstr "UCS2 éðåîðî øåàéú\n\n"
  21989. --- recode-3.6.orig/i18n/da.po
  21990. +++ recode-3.6/i18n/da.po
  21991. @@ -1,12 +1,15 @@
  21992. # Danish message catalog for GNU recode.
  21993. # Copyright (C) 1997 Free Software Foundation, Inc.
  21994. # Niels Kristian Bech Jensen <nkbj@image.dk>, 1997-2000.
  21995. +# Keld Simonsen <keld@dkuug.dk>, 2001.
  21996. +#
  21997. +# Reviewed: 2000-09-09: byrial@image.dk
  21998. #
  21999. msgid ""
  22000. msgstr ""
  22001. -"Project-Id-Version: recode 3.5\n"
  22002. +"Project-Id-Version: recode 3.6\n"
  22003. "POT-Creation-Date: 2001-01-02 22:35+0100\n"
  22004. -"PO-Revision-Date: 2000-05-31 22:02+02:00\n"
  22005. +"PO-Revision-Date: 2001-09-12 11:05+02:00\n"
  22006. "Last-Translator: Niels Kristian Bech Jensen <nkbj@image.dk>\n"
  22007. "Language-Team: Danish <dansk@klid.dk>\n"
  22008. "MIME-Version: 1.0\n"
  22009. @@ -19,7 +22,7 @@
  22010. #: src/main.c:145
  22011. msgid "Non canonical input"
  22012. -msgstr "Ualmindelige inddata"
  22013. +msgstr "Unormale inddata"
  22014. #: src/main.c:148
  22015. msgid "Ambiguous output"
  22016. @@ -62,8 +65,7 @@
  22017. "Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n"
  22018. msgstr ""
  22019. "Dette program er fri software; du må redistribuere det og/eller modificere\n"
  22020. -"det under betingelserne givet i GNU General Public License som publiceret "
  22021. -"af\n"
  22022. +"det under betingelserne givet i GNU General Public License som publiceret af\n"
  22023. "Free Software Foundation; enten version 2, eller (efter dit valg) en senere\n"
  22024. "version.\n"
  22025. "\n"
  22026. @@ -79,22 +81,16 @@
  22027. #: src/main.c:233
  22028. #, c-format
  22029. msgid "Try `%s %s' for more information.\n"
  22030. -msgstr "Prøv \"%s %s\" for mere information.\n"
  22031. +msgstr "Prøv '%s %s' for mere information.\n"
  22032. #: src/main.c:237
  22033. -msgid ""
  22034. -"Free `recode' converts files between various character sets and surfaces.\n"
  22035. -msgstr ""
  22036. -"Fri \"recode\" konverterer filer mellem forskellige tegnsæt og pakninger.\n"
  22037. +msgid "Free `recode' converts files between various character sets and surfaces.\n"
  22038. +msgstr "Fri 'recode' konverterer filer mellem forskellige tegnsæt og indpakninger.\n"
  22039. #: src/main.c:241
  22040. #, c-format
  22041. -msgid ""
  22042. -"\n"
  22043. -"Usage: %s [OPTION]... [ [CHARSET] | REQUEST [FILE]... ]\n"
  22044. -msgstr ""
  22045. -"\n"
  22046. -"Brug: %s [TILVALG]... [ [TEGNSÆT] | FORESPØRGSEL [FIL]... ]\n"
  22047. +msgid "\nUsage: %s [OPTION]... [ [CHARSET] | REQUEST [FILE]... ]\n"
  22048. +msgstr "\nBrug: %s [TILVALG]... [ [TEGNSÆT] | FORESPØRGSEL [FIL]... ]\n"
  22049. #: src/main.c:244
  22050. msgid ""
  22051. @@ -108,13 +104,11 @@
  22052. "argumenter.\n"
  22053. #: src/main.c:250
  22054. -#, fuzzy
  22055. msgid ""
  22056. "\n"
  22057. "Listings:\n"
  22058. " -l, --list[=FORMAT] list one or all known charsets and aliases\n"
  22059. -" -k, --known=PAIRS restrict charsets according to known PAIRS "
  22060. -"list\n"
  22061. +" -k, --known=PAIRS restrict charsets according to known PAIRS list\n"
  22062. " -h, --header[=[LN/]NAME] write table NAME on stdout using LN, then exit\n"
  22063. " -F, --freeze-tables write out a C module holding all tables\n"
  22064. " -T, --find-subsets report all charsets being subset of others\n"
  22065. @@ -145,13 +139,12 @@
  22066. " --sequence=memory use memory buffers for sequencing passes\n"
  22067. msgstr ""
  22068. "\n"
  22069. -"Operationsmåder:\n"
  22070. -" -v, --verbose vis rækkefølgen af gennemløb, og rapportér "
  22071. -"fremskridt\n"
  22072. -" -q, --quiet, --silent udelad meddelelser om irreversible oversættelser\n"
  22073. -" -f, --force gennemtving oversættelser, selv hvis de ikke er\n"
  22074. +"Virkemåder:\n"
  22075. +" -v, --verbose vis rækkefølgen af gennemløb, og rapportér fremskridt\n"
  22076. +" -q, --quiet, --silent udelad meddelelser om irreversible omkodninger\n"
  22077. +" -f, --force gennemtving omkodninger, selv hvis de ikke er\n"
  22078. " reversible\n"
  22079. -" -t, --touch giv den oversatte fil system-urets tid\n"
  22080. +" -t, --touch giv den omkodede fil system-urets tid\n"
  22081. " -i, --sequence=files brug midlertidige filer mellem gennemløbene\n"
  22082. " --sequence=memory brug hukommelsesbuffere mellem gennemløbene\n"
  22083. @@ -175,16 +168,14 @@
  22084. " -x, --ignore=CHARSET ignore CHARSET while choosing a recoding path\n"
  22085. msgstr ""
  22086. "\n"
  22087. -"Fintuning:\n"
  22088. +"Finjustering:\n"
  22089. " -s, --strict brug kun nøjagtige tegnsæt selvom der mistes tegn\n"
  22090. -" -d, --diacritics oversæt kun diakritiske/specielle tegn i "
  22091. -"HTML/LaTeX\n"
  22092. -" -S, --source[=SPR] begræns omodning til strenge og kommentarer som\n"
  22093. +" -d, --diacritics omkod kun diakritiske/specielle tegn i HTML/LaTeX\n"
  22094. +" -S, --source[=SPR] begræns omkodning til strenge og kommentarer som\n"
  22095. " for SPR\n"
  22096. -" -c, --colons brug koloner i stedet for anførselstegn som trema "
  22097. -"(¨)\n"
  22098. -" -g, --graphics tilnærm IBMPC linie- og kassetegn med ASCII grafik\n"
  22099. -" -x, --ignore=TEGNSÆT ignorér TEGNSÆT når en omkodningssti vælges\n"
  22100. +" -c, --colons brug koloner i stedet for anførselstegn som trema (¨)\n"
  22101. +" -g, --graphics tilnærm IBMPC linie- og kassetegn med ASCII-grafik\n"
  22102. +" -x, --ignore=TEGNSÆT ignorér TEGNSÆT når en omkodningsrute vælges\n"
  22103. #: src/main.c:296
  22104. msgid ""
  22105. @@ -194,56 +185,47 @@
  22106. msgstr ""
  22107. "\n"
  22108. "Tilvalg -l uden FORMAT eller TEGNSÆT viser en liste over alle tegnsæt og\n"
  22109. -"pakninger. FORMAT er et af ordene 'decimal', 'octal', 'hexadecimal' eller\n"
  22110. +"indpakninger. FORMAT er et af ordene 'decimal', 'octal', 'hexadecimal' eller\n"
  22111. "'full' (eller et af bogstaverne d, o, h eller f).\n"
  22112. #: src/main.c:302
  22113. -#, fuzzy
  22114. msgid ""
  22115. -"Unless DEFAULT_CHARSET is set in environment, CHARSET defaults to the "
  22116. -"locale\n"
  22117. +"Unless DEFAULT_CHARSET is set in environment, CHARSET defaults to the locale\n"
  22118. "dependent encoding, determined by LC_ALL, LC_CTYPE, LANG.\n"
  22119. -msgstr "Standard TEGNSÆT er \"%s\", med mindre DEFAULT_CHARSET er angivet.\n"
  22120. +msgstr ""
  22121. +"Med mindre DEFAULT_CHARSET er angivet i miljøet, er\n"
  22122. +"Standard TEGNSÆT det lokaleafhængige tegnsæt, bestemt ud fra LC_ALL, LC_CTYPE og LANG.\n"
  22123. #: src/main.c:307
  22124. msgid ""
  22125. "With -k, possible before charsets are listed for the given after CHARSET,\n"
  22126. -"both being tabular charsets, with PAIRS of the form "
  22127. -"`BEF1:AFT1,BEF2:AFT2,...'\n"
  22128. +"both being tabular charsets, with PAIRS of the form `BEF1:AFT1,BEF2:AFT2,...'\n"
  22129. "and BEFs and AFTs being codes are given as decimal numbers.\n"
  22130. msgstr ""
  22131. -"Med -k vises en liste over mulige før tegnsæt for det givne efter TEGNSÆT,\n"
  22132. -"begge tabellariske tegnsæt, med PAR af typen "
  22133. -"\"FØR1:EFTER1,FØR2:EFTER2,...\"\n"
  22134. -"hvor FØR'er og EFTER'e er tegnkoder givet efter titalssystemet.\n"
  22135. +"Med -k vises en liste over mulige før-tegnsæt for det givne efter-TEGNSÆT,\n"
  22136. +"begge tabellariske tegnsæt, med PAR af typen 'FØR1:EFTER1,FØR2:EFTER2,...'\n"
  22137. +"hvor FØR'er og EFTER'e er givet som decimale tal.\n"
  22138. #: src/main.c:312
  22139. -msgid ""
  22140. -"LN is some language, it may be `c', `perl' or `po'; `c' is the default.\n"
  22141. -msgstr ""
  22142. -"SPR er et programmeringssprog, f.eks. \"c\", \"perl\" eller \"po\"; \"c\" er "
  22143. -"standard.\n"
  22144. +msgid "LN is some language, it may be `c', `perl' or `po'; `c' is the default.\n"
  22145. +msgstr "SPR er et programmeringssprog, f.eks. 'c', 'perl' eller 'po'; 'c' er standard.\n"
  22146. #: src/main.c:315
  22147. msgid ""
  22148. "\n"
  22149. -"REQUEST is SUBREQUEST[,SUBREQUEST]...; SUBREQUEST is "
  22150. -"ENCODING[..ENCODING]...\n"
  22151. -"ENCODING is [CHARSET][/[SURFACE]]...; REQUEST often looks like "
  22152. -"BEFORE..AFTER,\n"
  22153. +"REQUEST is SUBREQUEST[,SUBREQUEST]...; SUBREQUEST is ENCODING[..ENCODING]...\n"
  22154. +"ENCODING is [CHARSET][/[SURFACE]]...; REQUEST often looks like BEFORE..AFTER,\n"
  22155. "with BEFORE and AFTER being charsets. An omitted CHARSET implies the usual\n"
  22156. -"charset; an omitted [/SURFACE]... means the implied surfaces for CHARSET; a "
  22157. -"/\n"
  22158. +"charset; an omitted [/SURFACE]... means the implied surfaces for CHARSET; a /\n"
  22159. "with an empty surface name means no surfaces at all. See the manual.\n"
  22160. msgstr ""
  22161. "\n"
  22162. -"FORESPØRGSEL er UNDERFORESPØRGSEL[,UNDERFORESPØRGSEL]...; UNDERFORESPØRGSEL "
  22163. -"er\n"
  22164. -"INDKODNING[..INDKODNING]...; INDKODNING er [TEGNSÆT][/[PAKNING]]...\n"
  22165. +"FORESPØRGSEL er UNDERFORESPØRGSEL[,UNDERFORESPØRGSEL]...; UNDERFORESPØRGSEL er\n"
  22166. +"INDPAKNING[..INDPAKNING]...; INDPAKNING er [TEGNSÆT][/[INDPAKNING]]...\n"
  22167. "FORESPØRGSEL har ofte formen FØR..EFTER, hvor FØR og EFTER er tegnsæt.\n"
  22168. -"Hvis et TEGNSÆT udelades, anvendes det normale tegnsæt; hvis [/PAKNING]...\n"
  22169. +"Hvis et TEGNSÆT udelades, anvendes det normale tegnsæt; hvis [/INDPAKNING]...\n"
  22170. "udelades, anvendes den normale pakning af TEGNSÆT; / uden navnet på en\n"
  22171. -"pakning betyder ingen pakning. Se manualen.\n"
  22172. +"indpakning betyder ingen indpakninger. Se manualen.\n"
  22173. #: src/main.c:323
  22174. msgid ""
  22175. @@ -253,65 +235,52 @@
  22176. "FILE is specified, then act as a filter and recode stdin to stdout.\n"
  22177. msgstr ""
  22178. "\n"
  22179. -"Hvis ingen af -i eller -p er valgt, bruges -p hvis ingen FIL, ellers -i.\n"
  22180. -"Hver FIL bliver oversat oveni sig selv og overskriver originalen. Hvis "
  22181. -"ingen\n"
  22182. -"FIL er valgt, er programmet et filter, der oversætter fra std-ind til "
  22183. -"std-ud.\n"
  22184. +"Hvis hverken -i eller -p er valgt, bruges -p hvis ingen FIL, ellers -i.\n"
  22185. +"Hver FIL bliver omkodet oven i sig selv og overskriver originalen. Hvis ingen\n"
  22186. +"FIL er valgt, er programmet et filter, der omkoder fra std-ind til std-ud.\n"
  22187. #: src/main.c:329
  22188. -msgid ""
  22189. -"\n"
  22190. -"Report bugs to <recode-bugs@iro.umontreal.ca>.\n"
  22191. -msgstr ""
  22192. -"\n"
  22193. -"Rapportér fejl til <recode-bugs@iro.umontreal.ca>.\n"
  22194. +msgid "\nReport bugs to <recode-bugs@iro.umontreal.ca>.\n"
  22195. +msgstr "\nRapportér fejl til <recode-bugs@iro.umontreal.ca>.\n"
  22196. #: src/main.c:430
  22197. #, c-format
  22198. msgid "Sequence `%s' is ambiguous"
  22199. -msgstr ""
  22200. +msgstr "Sekvens '%s' er flertydig"
  22201. #: src/main.c:434
  22202. #, c-format
  22203. msgid "Sequence `%s' is unknown"
  22204. -msgstr ""
  22205. +msgstr "Sekvens '%s' er ukendt"
  22206. #: src/main.c:464 src/main.c:522
  22207. #, c-format
  22208. msgid "Language `%s' is ambiguous"
  22209. -msgstr ""
  22210. +msgstr "Sprog '%s' er flertydigt"
  22211. #. -1
  22212. #: src/main.c:468 src/main.c:526
  22213. #, c-format
  22214. msgid "Language `%s' is unknown"
  22215. -msgstr ""
  22216. +msgstr "Sprog '%s' er ukendt"
  22217. #: src/main.c:560
  22218. #, c-format
  22219. msgid "Format `%s' is ambiguous"
  22220. -msgstr ""
  22221. +msgstr "Format '%s' er flertydigt"
  22222. #: src/main.c:564
  22223. #, c-format
  22224. msgid "Format `%s' is unknown"
  22225. -msgstr ""
  22226. +msgstr "Format '%s' er ukendt"
  22227. #: src/main.c:621
  22228. -#, fuzzy
  22229. msgid "Written by Franc,ois Pinard <pinard@iro.umontreal.ca>.\n"
  22230. -msgstr ""
  22231. -"\n"
  22232. -"Skrevet af François Pinard <pinard@iro.umontreal.ca>.\n"
  22233. +msgstr "Skrevet af François Pinard <pinard@iro.umontreal.ca>.\n"
  22234. #: src/main.c:624
  22235. -msgid ""
  22236. -"\n"
  22237. -"Copyright (C) 1990, 92, 93, 94, 96, 97, 99 Free Software Foundation, Inc.\n"
  22238. -msgstr ""
  22239. -"\n"
  22240. -"Ophavsret (C) 1990, 92, 93, 94, 96, 97, 99 Free Software Foundation, Inc.\n"
  22241. +msgid "\nCopyright (C) 1990, 92, 93, 94, 96, 97, 99 Free Software Foundation, Inc.\n"
  22242. +msgstr "\nOphavsret (C) 1990, 92, 93, 94, 96, 97, 99 Free Software Foundation, Inc.\n"
  22243. #: src/main.c:628
  22244. msgid ""
  22245. @@ -319,32 +288,31 @@
  22246. "warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n"
  22247. msgstr ""
  22248. "Dette er fri software; se kopieringsbetingelserne i kildeteksten. Der gives\n"
  22249. -"INGEN garanti; end ikke for SALGBARHED eller ANVENDELIGHED TIL NOGET "
  22250. -"FORMÅL.\n"
  22251. +"INGEN garanti; end ikke for SALGBARHED eller ANVENDELIGHED TIL NOGET FORMÅL.\n"
  22252. #: src/main.c:669
  22253. #, c-format
  22254. msgid "Symbol `%s' is unknown"
  22255. -msgstr ""
  22256. +msgstr "Symbol '%s' er ukendt"
  22257. #: src/main.c:709 src/main.c:723
  22258. #, c-format
  22259. msgid "Charset `%s' is unknown or ambiguous"
  22260. -msgstr ""
  22261. +msgstr "Tegnsæt '%s' er ukendt eller flertydigt"
  22262. #: src/main.c:754
  22263. msgid "Required argument is missing"
  22264. -msgstr ""
  22265. +msgstr "Krævet argument mangler"
  22266. #: src/main.c:797
  22267. -#, fuzzy, c-format
  22268. +#, c-format
  22269. msgid "Syntax is deprecated, please prefer `%s'"
  22270. -msgstr "Forældet syntaks, brug hellere \"%s\""
  22271. +msgstr "Forældet syntaks, brug hellere '%s'"
  22272. #: src/main.c:803
  22273. #, c-format
  22274. msgid "Request `%s' is erroneous"
  22275. -msgstr ""
  22276. +msgstr "Forespørgsel '%s' er fejlagtig"
  22277. #: src/main.c:903
  22278. #, c-format
  22279. @@ -356,19 +324,19 @@
  22280. msgstr " færdig\n"
  22281. #: src/main.c:954
  22282. -#, fuzzy, c-format
  22283. +#, c-format
  22284. msgid " failed: %s in step `%s..%s'\n"
  22285. -msgstr " fejlede: %s i %s..%s\n"
  22286. +msgstr " fejlede: %s i trin '%s..%s'\n"
  22287. #: src/main.c:961
  22288. -#, fuzzy, c-format
  22289. +#, c-format
  22290. msgid "%s failed: %s in step `%s..%s'"
  22291. -msgstr "%s fejlede: %s i %s..%s"
  22292. +msgstr "%s fejlede: %s i trin '%s..%s'"
  22293. #: src/main.c:984
  22294. -#, fuzzy, c-format
  22295. +#, c-format
  22296. msgid "%s in step `%s..%s'"
  22297. -msgstr "%s i %s..%s"
  22298. +msgstr "%s i trin '%s..%s'"
  22299. #: src/names.c:335
  22300. #, c-format
  22301. @@ -378,7 +346,7 @@
  22302. #: src/names.c:831
  22303. #, c-format
  22304. msgid "Cannot list `%s', no names available for this charset"
  22305. -msgstr "Kan ikke vise \"%s\", ingen navne tilgængelige for dette tegnsæt"
  22306. +msgstr "Kan ikke vise '%s', ingen navne tilgængelige for dette tegnsæt"
  22307. #. code counter
  22308. #. expected value for code counter
  22309. @@ -392,31 +360,31 @@
  22310. #: src/names.c:1049
  22311. #, c-format
  22312. msgid "Sorry, no names available for `%s'"
  22313. -msgstr "Beklager, ingen navne tilgængelige for \"%s\""
  22314. +msgstr "Beklager, ingen navne tilgængelige for '%s'"
  22315. #: src/outer.c:125
  22316. #, c-format
  22317. msgid "Resurfacer set more than once for `%s'"
  22318. -msgstr "Genpakker indstillet flere gange for \"%s\""
  22319. +msgstr "Genindpakker indstillet flere gange for '%s'"
  22320. #: src/outer.c:133
  22321. #, c-format
  22322. msgid "Unsurfacer set more than once for `%s'"
  22323. -msgstr "Udpakker indstillet flere gange for \"%s\""
  22324. +msgstr "Udpakker indstillet flere gange for '%s'"
  22325. #: src/recode.c:115 src/recode.c:127
  22326. msgid "Virtual memory exhausted"
  22327. msgstr "Virtuel hukommelse opbrugt"
  22328. #: src/recode.c:155
  22329. -#, c-format, ycp-format
  22330. +#, c-format
  22331. msgid "Codes %3d and %3d both recode to %3d"
  22332. -msgstr "Tegnkoderne %3d og %3d oversættes begge til %3d"
  22333. +msgstr "Tegnkoderne %3d og %3d omkodes begge til %3d"
  22334. #: src/recode.c:169
  22335. -#, c-format, ycp-format
  22336. +#, c-format
  22337. msgid "No character recodes to %3d"
  22338. -msgstr "Ingen tegn oversættes til %3d"
  22339. +msgstr "Ingen tegn omkodes til %3d"
  22340. #: src/recode.c:170
  22341. msgid "Cannot invert given one-to-one table"
  22342. @@ -425,7 +393,7 @@
  22343. #: src/recode.c:224 src/recode.c:236
  22344. #, c-format
  22345. msgid "Following diagnostics for `%s' to `%s'"
  22346. -msgstr "Følgende fejl er for \"%s\" til \"%s\""
  22347. +msgstr "Følgende fejl er for '%s' til '%s'"
  22348. #: src/recode.c:229 src/recode.c:241
  22349. #, c-format
  22350. @@ -434,7 +402,7 @@
  22351. #: src/recode.c:272
  22352. msgid "Cannot complete table from set of known pairs"
  22353. -msgstr "Kan ikke fuldende tabellen udfra mængden af kendte par"
  22354. +msgstr "Kan ikke fuldende tabellen ud fra mængden af kendte par"
  22355. #: src/recode.c:497
  22356. msgid "Identity recoding, not worth a table"
  22357. @@ -448,7 +416,7 @@
  22358. #: src/recode.c:536
  22359. #, c-format
  22360. msgid "%sConversion table generated mechanically by Free `%s' %s"
  22361. -msgstr "%sOmkodningstabellen er genereret automatisk af Free \"%s\" %s"
  22362. +msgstr "%sOmkodningstabellen er genereret automatisk af Fri '%s' %s"
  22363. #: src/recode.c:538
  22364. #, c-format
  22365. @@ -513,16 +481,16 @@
  22366. #: src/request.c:823 src/request.c:932
  22367. #, c-format
  22368. msgid "Unrecognised surface name `%s'"
  22369. -msgstr "Ukendt pakkenavn \"%s\""
  22370. +msgstr "Ukendt indpakningsnavn '%s'"
  22371. #: src/request.c:903
  22372. #, c-format
  22373. msgid "No way to recode from `%s' to `%s'"
  22374. -msgstr "Umuligt at oversætte fra \"%s\" til \"%s\""
  22375. +msgstr "Umuligt at omkode fra '%s' til '%s'"
  22376. #: src/request.c:1013
  22377. msgid "Expecting `..' in request"
  22378. -msgstr "Forventer \"..\" i forespørgsel"
  22379. +msgstr "Forventer '..' i forespørgsel"
  22380. #: src/task.c:826 src/task.c:1002
  22381. #, c-format
  22382. @@ -530,33 +498,5 @@
  22383. msgstr "Underprocessens ventestatus er 0x%0.2x"
  22384. #: src/testdump.c:298
  22385. -msgid ""
  22386. -"UCS2 Mne Description\n"
  22387. -"\n"
  22388. -msgstr ""
  22389. -"UCS2 Mne Beskrivelse\n"
  22390. -"\n"
  22391. -
  22392. -#~ msgid "CHARSET has no default, define DEFAULT_CHARSET in the environment.\n"
  22393. -#~ msgstr "Der findes ikke et standard TEGNSÆT, angiv DEFAULT_CHARSET.\n"
  22394. -
  22395. -#~ msgid "Ambiguous sequence `%s'"
  22396. -#~ msgstr "Flertydig sekvens \"%s\""
  22397. -
  22398. -#~ msgid "Unknown sequence `%s'"
  22399. -#~ msgstr "Ukendt sekvens \"%s\""
  22400. -
  22401. -#~ msgid "Ambiguous language `%s'"
  22402. -#~ msgstr "Flertydigt sprog \"%s\""
  22403. -
  22404. -#~ msgid "Unknown language `%s'"
  22405. -#~ msgstr "Ukendt sprog \"%s\""
  22406. -
  22407. -#~ msgid "Ambiguous format `%s'"
  22408. -#~ msgstr "Flertydigt format \"%s\""
  22409. -
  22410. -#~ msgid "Unknown format `%s'"
  22411. -#~ msgstr "Ukendt format \"%s\""
  22412. -
  22413. -#~ msgid "Erroneous request `%s'"
  22414. -#~ msgstr "Fejlagtig forespørgsel \"%s\""
  22415. +msgid "UCS2 Mne Description\n\n"
  22416. +msgstr "UCS2 Mnem Beskrivelse\n\n"
  22417. --- recode-3.6.orig/i18n/be.po
  22418. +++ recode-3.6/i18n/be.po
  22419. @@ -0,0 +1,522 @@
  22420. +# SOME DESCRIPTIVE TITLE
  22421. +# Copyright (C) 2003 Free Software Foundation, Inc.
  22422. +# Hleb Valoska <el_globus@tut.by>, 2003.
  22423. +#
  22424. +msgid ""
  22425. +msgstr ""
  22426. +"Project-Id-Version: recode 3.6\n"
  22427. +"POT-Creation-Date: 2001-01-02 22:35+0100\n"
  22428. +"PO-Revision-Date: 2003-04-06 23:16+0300\n"
  22429. +"Last-Translator: Ales Nyakhaychyk <nab@mail.by>\n"
  22430. +"Language-Team: Belarusian <i18n@mova.org>\n"
  22431. +"MIME-Version: 1.0\n"
  22432. +"Content-Type: text/plain; charset=UTF-8\n"
  22433. +"Content-Transfer-Encoding: 8bit\n"
  22434. +"X-Generator: KBabel 0.9.6\n"
  22435. +
  22436. +#: src/main.c:142
  22437. +msgid "No error"
  22438. +msgstr "Без памылак"
  22439. +
  22440. +#: src/main.c:145
  22441. +msgid "Non canonical input"
  22442. +msgstr "�екананічна�ьць на ўваходзе"
  22443. +
  22444. +#: src/main.c:148
  22445. +msgid "Ambiguous output"
  22446. +msgstr "Двух��н�оўна�ьць на выхадзе"
  22447. +
  22448. +#: src/main.c:151
  22449. +msgid "Untranslatable input"
  22450. +msgstr "�еперакладальнае на ўваходзе"
  22451. +
  22452. +#: src/main.c:154
  22453. +msgid "Invalid input"
  22454. +msgstr "��правільнае на ўваходзе"
  22455. +
  22456. +#: src/main.c:157
  22457. +msgid "System detected problem"
  22458. +msgstr "Сы�т�ма вы�віла праблему"
  22459. +
  22460. +#: src/main.c:160
  22461. +msgid "Misuse of recoding library"
  22462. +msgstr "��правільнае ўжываньне біблі�т�кі перакадаваньн�"
  22463. +
  22464. +#: src/main.c:163
  22465. +msgid "Internal recoding bug"
  22466. +msgstr "�утрана� памылка перакадаваньн�"
  22467. +
  22468. +#: src/main.c:208
  22469. +msgid ""
  22470. +"This program is free software; you can redistribute it and/or modify\n"
  22471. +"it under the terms of the GNU General Public License as published by\n"
  22472. +"the Free Software Foundation; either version 2, or (at your option)\n"
  22473. +"any later version.\n"
  22474. +"\n"
  22475. +"This program is distributed in the hope that it will be useful,\n"
  22476. +"but WITHOUT ANY WARRANTY; without even the implied warranty of\n"
  22477. +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n"
  22478. +"GNU General Public License for more details.\n"
  22479. +"\n"
  22480. +"You should have received a copy of the GNU General Public License\n"
  22481. +"along with this program; if not, write to the Free Software Foundation,\n"
  22482. +"Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n"
  22483. +msgstr ""
  22484. +"Г�та� праграма зь�ўл�ецца �вабодным праграмным забе�ьп�ч�ньнем, �е\n"
  22485. +"можна ра�паў�юджваць і/ці зьм�н�ць паводле ўмоваў �гульнай Публічнай\n"
  22486. +"Ліц�нзіі (GPL) GNU, надрукаванай Free Software Foundation; другой ці\n"
  22487. +"(на твой погл�д) пазьнейшай в�р�іі.\n"
  22488. +"\n"
  22489. +"Г�та� праграма разпаў�юджваецца з надзе�й, што �на будзе кары�най,\n"
  22490. +"але БЕЗЬ �ІЯК�Е Г�Р��ТЫІ; нават без гарантыі К�ШТОЎ��СЬЦІ ці\n"
  22491. +"ПРЫД�Т��СЬЦІ ДЛЯ К��КРЭТ��Е МЭТЫ. Гл�дзі падраб�зна�ьці ў GNU GPL.\n"
  22492. +"\n"
  22493. +"Ты му�іш атрымаць копію �гульнай Публічнай Ліц�нзіі (GPL) GNU разам\n"
  22494. +"з г�тай праграмай, калі не, напішы на адра� Free Software Foundation,\n"
  22495. +"Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n"
  22496. +
  22497. +#: src/main.c:233
  22498. +#, c-format
  22499. +msgid "Try `%s %s' for more information.\n"
  22500. +msgstr "Па�прабуй `%s %s', каб атрымаць болей інфармацыі.\n"
  22501. +
  22502. +#: src/main.c:237
  22503. +msgid "Free `recode' converts files between various character sets and surfaces.\n"
  22504. +msgstr "Свабодна� `recode' зьм�н�е знаказбор ці �по�аб кадаваньн� файла.\n"
  22505. +
  22506. +#: src/main.c:241
  22507. +#, c-format
  22508. +msgid ""
  22509. +"\n"
  22510. +"Usage: %s [OPTION]... [ [CHARSET] | REQUEST [FILE]... ]\n"
  22511. +msgstr ""
  22512. +"\n"
  22513. +"Ужывай: %s [ОПЦЫІ]... [ [З��К�ЗБОР] | З�ПЫТ [Ф�ЙЛ]... ]\n"
  22514. +
  22515. +#: src/main.c:244
  22516. +msgid ""
  22517. +"\n"
  22518. +"If a long option shows an argument as mandatory, then it is mandatory\n"
  22519. +"for the equivalent short option also. Similarly for optional arguments.\n"
  22520. +msgstr ""
  22521. +"\n"
  22522. +"Калі парам�тар абав�зковы дл� доўгае опцыі, то ён абав�зковы й дл�\n"
  22523. +"кароткае опцыі так�ама. �нал�гічна дл� неабав�зковых парам�траў.\n"
  22524. +
  22525. +#: src/main.c:250
  22526. +msgid ""
  22527. +"\n"
  22528. +"Listings:\n"
  22529. +" -l, --list[=FORMAT] list one or all known charsets and aliases\n"
  22530. +" -k, --known=PAIRS restrict charsets according to known PAIRS list\n"
  22531. +" -h, --header[=[LN/]NAME] write table NAME on stdout using LN, then exit\n"
  22532. +" -F, --freeze-tables write out a C module holding all tables\n"
  22533. +" -T, --find-subsets report all charsets being subset of others\n"
  22534. +" -C, --copyright display Copyright and copying conditions\n"
  22535. +" --help display this help and exit\n"
  22536. +" --version output version information and exit\n"
  22537. +msgstr ""
  22538. +"\n"
  22539. +"�длю�траваньне:\n"
  22540. +" -l, --list[=Ф�РМ�Т] паказаць адзін ці ў�е в�домы� знаказборы\n"
  22541. +" -k, --known=П�РЫ абмежаваць знаказборы адпаведна �ьпі�у П�Р\n"
  22542. +" -h, --header[=[МОВ�/]ІМЯ] запі�аць табліцу ІМЯ у stdout на МОВЕ й вый�ьці\n"
  22543. +" -F, --freeze-tables запі�аць модуль С, �кі ўтрымлівае ў�е знаказборы\n"
  22544. +" -T, --find-subsets паведаміць, �кі� знаказборы зь�ўл�юцца падмно�твам \n"
  22545. +" іншых\n"
  22546. +" -C, --copyright надрукаваць зьве�ткі аб аўтар�кіх правох і ўмовах\n"
  22547. +" капі�ваньн�\n"
  22548. +" --help надрукаваць г�ты �кран даведкі й вый�ьці\n"
  22549. +" --version надрукаваць зьве�ткі аб в�р�іі праграмы й вый�ьці\n"
  22550. +
  22551. +#: src/main.c:263
  22552. +msgid ""
  22553. +"\n"
  22554. +"Operation modes:\n"
  22555. +" -v, --verbose explain sequence of steps and report progress\n"
  22556. +" -q, --quiet, --silent inhibit messages about irreversible recodings\n"
  22557. +" -f, --force force recodings even when not reversible\n"
  22558. +" -t, --touch touch the recoded files after replacement\n"
  22559. +" -i, --sequence=files use intermediate files for sequencing passes\n"
  22560. +" --sequence=memory use memory buffers for sequencing passes\n"
  22561. +msgstr ""
  22562. +"\n"
  22563. +"Р�жымы працы:\n"
  22564. +" -v, --verbose інфармаваць пра па�ьл�доўна�ьць крокаў і \n"
  22565. +" зьдзей�ьненую працу\n"
  22566. +" -q, --quiet, --silent не паведамл�ць пра незваротны� перакадаваньні\n"
  22567. +" -f, --force зьдз�й�ьн�ць перакадаваньне нават у выпадку\n"
  22568. +" атрыманьн� незваротнага выніку\n"
  22569. +" -t, --touch абнавіць ча� перакадаваных файлаў па�ьл� іх\n"
  22570. +" замены\n"
  22571. +" -i, --sequence=files ужываць ча�овы� файлы дл� працы\n"
  22572. +" --sequence=memory ужываць буф�ры пам�ці дл� працы\n"
  22573. +
  22574. +#: src/main.c:275
  22575. +msgid " -p, --sequence=pipe use pipe machinery for sequencing passes\n"
  22576. +msgstr " -p, --sequence=pipe ужываць каналы пры апрацоўцы\n"
  22577. +
  22578. +#: src/main.c:280
  22579. +msgid " -p, --sequence=pipe same as -i (on this system)\n"
  22580. +msgstr " -p, --sequence=pipe анал�гічнае -i (на г�тай �ы�т�ме)\n"
  22581. +
  22582. +#: src/main.c:285
  22583. +msgid ""
  22584. +"\n"
  22585. +"Fine tuning:\n"
  22586. +" -s, --strict use strict mappings, even loose characters\n"
  22587. +" -d, --diacritics convert only diacritics or alike for HTML/LaTeX\n"
  22588. +" -S, --source[=LN] limit recoding to strings and comments as for LN\n"
  22589. +" -c, --colons use colons instead of double quotes for diaeresis\n"
  22590. +" -g, --graphics approximate IBMPC rulers by ASCII graphics\n"
  22591. +" -x, --ignore=CHARSET ignore CHARSET while choosing a recoding path\n"
  22592. +msgstr ""
  22593. +"\n"
  22594. +"Зьм�неньне парам�траў працы:\n"
  22595. +" -s, --strict �трога� адпаведна�ьць, нават �а �тратай знакаў\n"
  22596. +" -d, --diacritics канв�ртаваць толькі ды�крытычны� знакі, кшталту\n"
  22597. +" ўжываных у HTML ці LaTeX\n"
  22598. +" -S, --source[=МОВ�] перакадоўваць толькі радкі й кам�нтары МОВЫ\n"
  22599. +" -c, --colons ужываць двухкроп'е заме�т двухко�ь�� ў ды�крытычных\n"
  22600. +" знаках\n"
  22601. +" -g, --graphics �праваць зам�ніць рамкі IBMPC знакамі ASCII\n"
  22602. +" -x, --ignore=З��К�ЗБОР ігнараваць З��К�ЗБОР, абіраючы шл�х кадаваньн�\n"
  22603. +
  22604. +#: src/main.c:296
  22605. +msgid ""
  22606. +"\n"
  22607. +"Option -l with no FORMAT nor CHARSET list available charsets and surfaces.\n"
  22608. +"FORMAT is `decimal', `octal', `hexadecimal' or `full' (or one of `dohf').\n"
  22609. +msgstr ""
  22610. +"\n"
  22611. +"Опцы� -l без Ф�РМ�ТУ ні З��К�ЗБОРУ паказвае в�домы� табліцы знакаў і �по�абы\n"
  22612. +"кадаваньн�.\n"
  22613. +"Ф�РМ�Т -- `decimal', `octal', `hexadecimal' ці `full' (ці адзін з `dohf').\n"
  22614. +
  22615. +#: src/main.c:302
  22616. +msgid ""
  22617. +"Unless DEFAULT_CHARSET is set in environment, CHARSET defaults to the locale\n"
  22618. +"dependent encoding, determined by LC_ALL, LC_CTYPE, LANG.\n"
  22619. +msgstr ""
  22620. +"Калі не атач�ньне н� мае у�талёўкі DEFAULT_CHARSET, то З��К�ЗБОР адпав�дае\n"
  22621. +"кадзіроўцы л�калі, �ка� вызначаецца з LC_ALL, LC_CTYPE, LANG.\n"
  22622. +
  22623. +#: src/main.c:307
  22624. +msgid ""
  22625. +"With -k, possible before charsets are listed for the given after CHARSET,\n"
  22626. +"both being tabular charsets, with PAIRS of the form `BEF1:AFT1,BEF2:AFT2,...'\n"
  22627. +"and BEFs and AFTs being codes are given as decimal numbers.\n"
  22628. +msgstr ""
  22629. +"Опцы� -k адлю�троўвае магчымы� `зыходны�' знаказборы дл� зададзенага\n"
  22630. +"`выніковага' З��К�ЗБОРУ, з П�Р�МІ перакадаваньн� ў фармаце Д�1:П�1,\n"
  22631. +"Д�2:П�2,..., дзе Д� і П� зь�ўл�юцца кодамі, зададзенымі дзе��тковымі лікамі.\n"
  22632. +"І зыходны�, і выніковы� знаказборы му��ць быць таблічнымі.\n"
  22633. +
  22634. +#: src/main.c:312
  22635. +msgid "LN is some language, it may be `c', `perl' or `po'; `c' is the default.\n"
  22636. +msgstr "МОВ� задае мову праграмаваньн�, прыкладам `c', `perl' ці `po'; даўн�та `c'.\n"
  22637. +
  22638. +#: src/main.c:315
  22639. +msgid ""
  22640. +"\n"
  22641. +"REQUEST is SUBREQUEST[,SUBREQUEST]...; SUBREQUEST is ENCODING[..ENCODING]...\n"
  22642. +"ENCODING is [CHARSET][/[SURFACE]]...; REQUEST often looks like BEFORE..AFTER,\n"
  22643. +"with BEFORE and AFTER being charsets. An omitted CHARSET implies the usual\n"
  22644. +"charset; an omitted [/SURFACE]... means the implied surfaces for CHARSET; a /\n"
  22645. +"with an empty surface name means no surfaces at all. See the manual.\n"
  22646. +msgstr ""
  22647. +"\n"
  22648. +"З�ПЫТ: П�ДЗ�ПЫТ[,П�ДЗ�ПЫТ]...; П�ДЗ�ПЫТ: К�ДЗІРОЎК�[..К�ДЗІРОЎК�]...;\n"
  22649. +"К�ДЗІРОЎК�: [З��К�ЗБОР][/[СПОС�Б К�Д�В��Ь�Я]]...; З�ПЫТ ча�та выгл�дае\n"
  22650. +"�к ПЕР�Д..П�СЬЛЯ, дзе ПЕР�Д і П�СЬЛЯ -- знаказборы. Заме�т прапушчанага\n"
  22651. +"З��К�ЗБОРУ ужываецца даўн�ты знаказбор �ы�т�мы; заме�т прапушчанага\n"
  22652. +"СПОС�БУ ўжываецца �по�аб, �тандартны дл� З��К�ЗБОР�; адзін / без зададзенага\n"
  22653. +"СПОС�БУ азначае ад�утна�ьць СПОС�Б�Ў увогуле. Гл�дзі кіраўніцтва.\n"
  22654. +
  22655. +#: src/main.c:323
  22656. +msgid ""
  22657. +"\n"
  22658. +"If none of -i and -p are given, presume -p if no FILE, else -i.\n"
  22659. +"Each FILE is recoded over itself, destroying the original. If no\n"
  22660. +"FILE is specified, then act as a filter and recode stdin to stdout.\n"
  22661. +msgstr ""
  22662. +"\n"
  22663. +"Калі н� ўжыты� ані -i, ані -p, м�ркуецца -p, калі н� дадзены Ф�ЙЛ, ці -i у \n"
  22664. +"адваротным выпадку.\n"
  22665. +"Кожны Ф�ЙЛ перакадоўваецца паверх �амога ��бе, зьнішчаючы арыгінал. Калі Ф�ЙЛ\n"
  22666. +"н� дадзены, то праграма працуе фільтрам і перакадоўвае з stdin на stdout.\n"
  22667. +
  22668. +#: src/main.c:329
  22669. +msgid ""
  22670. +"\n"
  22671. +"Report bugs to <recode-bugs@iro.umontreal.ca>.\n"
  22672. +msgstr ""
  22673. +"\n"
  22674. +"Паведамл�й пра памылкі на адра� <recode-bugs@iro.umontreal.ca>.\n"
  22675. +
  22676. +#: src/main.c:430
  22677. +#, c-format
  22678. +msgid "Sequence `%s' is ambiguous"
  22679. +msgstr "Двух��н�оўна� па�ьл�доўна�ьць: `%s'"
  22680. +
  22681. +#: src/main.c:434
  22682. +#, c-format
  22683. +msgid "Sequence `%s' is unknown"
  22684. +msgstr "�ев�дома� па�ьл�доўна�ьць: `%s'"
  22685. +
  22686. +#: src/main.c:464 src/main.c:522
  22687. +#, c-format
  22688. +msgid "Language `%s' is ambiguous"
  22689. +msgstr "�ев�дома� мова: `%s'"
  22690. +
  22691. +#. -1
  22692. +#: src/main.c:468 src/main.c:526
  22693. +#, c-format
  22694. +msgid "Language `%s' is unknown"
  22695. +msgstr "�ев�дома� мова: `%s'"
  22696. +
  22697. +#: src/main.c:560
  22698. +#, c-format
  22699. +msgid "Format `%s' is ambiguous"
  22700. +msgstr "Двух��н�оўны фармат: `%s'"
  22701. +
  22702. +#: src/main.c:564
  22703. +#, c-format
  22704. +msgid "Format `%s' is unknown"
  22705. +msgstr "�ев�домы фармат: `%s'"
  22706. +
  22707. +#: src/main.c:621
  22708. +msgid "Written by Franc,ois Pinard <pinard@iro.umontreal.ca>.\n"
  22709. +msgstr "�апі�аў: Franc,ois Pinard <pinard@iro.umontreal.ca>.\n"
  22710. +
  22711. +#: src/main.c:624
  22712. +msgid ""
  22713. +"\n"
  22714. +"Copyright (C) 1990, 92, 93, 94, 96, 97, 99 Free Software Foundation, Inc.\n"
  22715. +msgstr ""
  22716. +"\n"
  22717. +"Copyright (C) 1990, 92, 93, 94, 96, 97, 99 Free Software Foundation, Inc.\n"
  22718. +
  22719. +#: src/main.c:628
  22720. +msgid ""
  22721. +"This is free software; see the source for copying conditions. There is NO\n"
  22722. +"warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n"
  22723. +msgstr ""
  22724. +"Г�та �вабоднае праграмовае забе�ьп�ч�ньне; гл�дзі ўмовы капі�ваньн� ў\n"
  22725. +"зыходным кодзе. ��ма �ІЯК�Е гарантыі, нават гарантыі К�ШТОЎ��СЬЦІ ці\n"
  22726. +"ПРЫД�Т��СЬЦІ ДЛЯ К��КРЭТ��Е МЭТЫ.\n"
  22727. +
  22728. +#: src/main.c:669
  22729. +#, c-format
  22730. +msgid "Symbol `%s' is unknown"
  22731. +msgstr "�ев�домы знак: `%s'"
  22732. +
  22733. +#: src/main.c:709 src/main.c:723
  22734. +#, c-format
  22735. +msgid "Charset `%s' is unknown or ambiguous"
  22736. +msgstr "Знаказбор `%s' нев�домы ці двух��н�оўны"
  22737. +
  22738. +#: src/main.c:754
  22739. +msgid "Required argument is missing"
  22740. +msgstr "Прапушчаны патр�бны парам�тар"
  22741. +
  22742. +#: src/main.c:797
  22743. +#, c-format
  22744. +msgid "Syntax is deprecated, please prefer `%s'"
  22745. +msgstr "Сынтак�ы� не найлепшы, ужывай, калі ла�ка, `%s'"
  22746. +
  22747. +#: src/main.c:803
  22748. +#, c-format
  22749. +msgid "Request `%s' is erroneous"
  22750. +msgstr "Памылковы запыт: `%s'"
  22751. +
  22752. +#: src/main.c:903
  22753. +#, c-format
  22754. +msgid "Recoding %s..."
  22755. +msgstr "Перакадаваньне %s..."
  22756. +
  22757. +#: src/main.c:913
  22758. +msgid " done\n"
  22759. +msgstr " зроблена\n"
  22760. +
  22761. +#: src/main.c:954
  22762. +#, c-format
  22763. +msgid " failed: %s in step `%s..%s'\n"
  22764. +msgstr " н�ўдалае: %s у кроку `%s..%s'\n"
  22765. +
  22766. +#: src/main.c:961
  22767. +#, c-format
  22768. +msgid "%s failed: %s in step `%s..%s'"
  22769. +msgstr "��ўдалае %s: %s у кроку `%s..%s'"
  22770. +
  22771. +#: src/main.c:984
  22772. +#, c-format
  22773. +msgid "%s in step `%s..%s'"
  22774. +msgstr "%s у кроку `%s..%s'"
  22775. +
  22776. +#: src/names.c:335
  22777. +#, c-format
  22778. +msgid "Charset %s already exists and is not %s"
  22779. +msgstr "Знаказбор %s ужо і�нуе і не зь�ўл�ецца %s"
  22780. +
  22781. +#: src/names.c:831
  22782. +#, c-format
  22783. +msgid "Cannot list `%s', no names available for this charset"
  22784. +msgstr "�емагчыма адлю�траваць `%s', бо н�ма імёнаў дл� г�тага знаказбора"
  22785. +
  22786. +#. code counter
  22787. +#. expected value for code counter
  22788. +#. insert a while line before printing
  22789. +#. Print the long table according to explode data.
  22790. +#: src/names.c:984 src/names.c:1030
  22791. +#, c-format
  22792. +msgid "Dec Oct Hex UCS2 Mne %s\n"
  22793. +msgstr "Дзе� Ва� Ша�н UCS2 Мн�ма %s\n"
  22794. +
  22795. +#: src/names.c:1049
  22796. +#, c-format
  22797. +msgid "Sorry, no names available for `%s'"
  22798. +msgstr "�ажаль н�ма імёнаў дл� `%s'"
  22799. +
  22800. +#: src/outer.c:125
  22801. +#, c-format
  22802. +msgid "Resurfacer set more than once for `%s'"
  22803. +msgstr "Прац�дура закадаваньн� ўжываецца ча�ьцей, �к адзін раз дл� `%s'"
  22804. +
  22805. +#: src/outer.c:133
  22806. +#, c-format
  22807. +msgid "Unsurfacer set more than once for `%s'"
  22808. +msgstr "Прац�дура ра�кадаваньн� ўжываецца ча�ьцей, �к адзін раз дл� `%s'"
  22809. +
  22810. +#: src/recode.c:115 src/recode.c:127
  22811. +msgid "Virtual memory exhausted"
  22812. +msgstr "Скончыла�� віртуальна� пам�ць"
  22813. +
  22814. +#: src/recode.c:155
  22815. +#, c-format, ycp-format
  22816. +msgid "Codes %3d and %3d both recode to %3d"
  22817. +msgstr "Коды %3d і %3d абодва кадуюцца ў %3d"
  22818. +
  22819. +#: src/recode.c:169
  22820. +#, c-format, ycp-format
  22821. +msgid "No character recodes to %3d"
  22822. +msgstr "�іводзін знак не кадуецца ў %3d"
  22823. +
  22824. +#: src/recode.c:170
  22825. +msgid "Cannot invert given one-to-one table"
  22826. +msgstr "Зваротнае пераўтвар�ньне па дадзенай табліцы `адзін-у-адзін'"
  22827. +
  22828. +#: src/recode.c:224 src/recode.c:236
  22829. +#, c-format
  22830. +msgid "Following diagnostics for `%s' to `%s'"
  22831. +msgstr "Ды�гно�тыка пераўтвар�ньн� з `%s' у `%s'"
  22832. +
  22833. +#: src/recode.c:229 src/recode.c:241
  22834. +#, c-format
  22835. +msgid "Pair no. %d: <%3d, %3d> conflicts with <%3d, %3d>"
  22836. +msgstr "Пара нумар %d: <%3d, %3d> канфліктуе з <%3d, %3d>"
  22837. +
  22838. +#: src/recode.c:272
  22839. +msgid "Cannot complete table from set of known pairs"
  22840. +msgstr "�е магу ўтварыць табліцу з мно�тва в�домых пар"
  22841. +
  22842. +#: src/recode.c:497
  22843. +msgid "Identity recoding, not worth a table"
  22844. +msgstr "Про�тае перакадаваньне, �кому не патр�бна� табліца"
  22845. +
  22846. +#: src/recode.c:504
  22847. +msgid "Recoding is too complex for a mere table"
  22848. +msgstr "Перакадаваньне за�кладанае дл� про�тай табліцы"
  22849. +
  22850. +#. Print the header of the header file.
  22851. +#: src/recode.c:536
  22852. +#, c-format
  22853. +msgid "%sConversion table generated mechanically by Free `%s' %s"
  22854. +msgstr "%sТабліца перакадаваньн�, аўтаматычна �творана� з дапамогай GNU `%s' %s"
  22855. +
  22856. +#: src/recode.c:538
  22857. +#, c-format
  22858. +msgid "%sfor sequence %s.%s"
  22859. +msgstr "%sдл� па�ьл�доўна�ьці %s.%s"
  22860. +
  22861. +#: src/recode.c:744
  22862. +msgid "No table to print"
  22863. +msgstr "��ма табліцы дл� друку"
  22864. +
  22865. +#: src/request.c:34
  22866. +msgid "reversible"
  22867. +msgstr "зваротна�"
  22868. +
  22869. +#: src/request.c:36
  22870. +#, c-format
  22871. +msgid "%s to %s"
  22872. +msgstr "%s у %s"
  22873. +
  22874. +#: src/request.c:37 src/request.c:39
  22875. +msgid "byte"
  22876. +msgstr "байт"
  22877. +
  22878. +#: src/request.c:38 src/request.c:40
  22879. +msgid "ucs2"
  22880. +msgstr "ucs2"
  22881. +
  22882. +#: src/request.c:38 src/request.c:40
  22883. +msgid "variable"
  22884. +msgstr "пераменна�"
  22885. +
  22886. +#: src/request.c:111
  22887. +msgid "*Unachievable*"
  22888. +msgstr "*�еда��жна*"
  22889. +
  22890. +#: src/request.c:113
  22891. +msgid "*mere copy*"
  22892. +msgstr "*про�та� копі�*"
  22893. +
  22894. +#: src/request.c:246
  22895. +msgid "Virtual memory exhausted!"
  22896. +msgstr "Скончыла�� віртуальна� пам�ць!"
  22897. +
  22898. +#: src/request.c:265
  22899. +msgid "Step initialisation failed"
  22900. +msgstr "��ўдала� ініцы�лізацы� кроку"
  22901. +
  22902. +#: src/request.c:272
  22903. +msgid "Step initialisation failed (unprocessed options)"
  22904. +msgstr "��ўдала� ініцы�лізацы� кроку (неапрацаваны� опцыі)"
  22905. +
  22906. +#: src/request.c:568
  22907. +#, c-format
  22908. +msgid "Request: %s\n"
  22909. +msgstr "Запыт: %s\n"
  22910. +
  22911. +#: src/request.c:720
  22912. +#, c-format
  22913. +msgid "Shrunk to: %s\n"
  22914. +msgstr "Скарочаны да: %s\n"
  22915. +
  22916. +#: src/request.c:823 src/request.c:932
  22917. +#, c-format
  22918. +msgid "Unrecognised surface name `%s'"
  22919. +msgstr "�ев�домае ім� �по�абу кадаваньн� `%s'"
  22920. +
  22921. +#: src/request.c:903
  22922. +#, c-format
  22923. +msgid "No way to recode from `%s' to `%s'"
  22924. +msgstr "�емагчыма перакадаваць з `%s' у `%s'"
  22925. +
  22926. +#: src/request.c:1013
  22927. +msgid "Expecting `..' in request"
  22928. +msgstr "У запыце чакала�� `..'"
  22929. +
  22930. +#: src/task.c:826 src/task.c:1002
  22931. +#, c-format
  22932. +msgid "Child process wait status is 0x%0.2x"
  22933. +msgstr "Стату� чаканьн� даччынага прац��у -- 0x%0.2x"
  22934. +
  22935. +#: src/testdump.c:298
  22936. +msgid ""
  22937. +"UCS2 Mne Description\n"
  22938. +"\n"
  22939. +msgstr ""
  22940. +"UCS2 Мн�ма �пі�аньне\n"
  22941. +"\n"
  22942. --- recode-3.6.orig/i18n/ro.po
  22943. +++ recode-3.6/i18n/ro.po
  22944. @@ -0,0 +1,517 @@
  22945. +# Mesajele în limba românã pentru pachetul recode.
  22946. +# Copyright (C) 2003 Free Software Foundation, Inc.
  22947. +# Eugen Hoanca <eugenh@urban-grafx.ro>, 2003.
  22948. +#
  22949. +msgid ""
  22950. +msgstr ""
  22951. +"Project-Id-Version: recode-3.6\n"
  22952. +"POT-Creation-Date: 2001-01-02 22:35+0100\n"
  22953. +"PO-Revision-Date: 2003-05-04 08:45+0300\n"
  22954. +"Last-Translator: Eugen Hoanca <eugenh@urban-grafx.ro>\n"
  22955. +"Language-Team: Romanian <translation-team-ro@lists.sourceforge.net>\n"
  22956. +"MIME-Version: 1.0\n"
  22957. +"Content-Type: text/plain; charset=ISO-8859-2\n"
  22958. +"Content-Transfer-Encoding: 8bit\n"
  22959. +"Plural-Forms: nplurals=2; plural=(n != 1);\n"
  22960. +
  22961. +#: src/main.c:142
  22962. +msgid "No error"
  22963. +msgstr "Nici o eroare"
  22964. +
  22965. +#: src/main.c:145
  22966. +msgid "Non canonical input"
  22967. +msgstr "Intrare(input) non canonicã"
  22968. +
  22969. +#: src/main.c:148
  22970. +msgid "Ambiguous output"
  22971. +msgstr "Output ambiguu"
  22972. +
  22973. +#: src/main.c:151
  22974. +msgid "Untranslatable input"
  22975. +msgstr "Intrare(input) intraductibilã"
  22976. +
  22977. +#: src/main.c:154
  22978. +msgid "Invalid input"
  22979. +msgstr "Input invalid"
  22980. +
  22981. +#: src/main.c:157
  22982. +msgid "System detected problem"
  22983. +msgstr "Sistemul a detectat o problemã"
  22984. +
  22985. +#: src/main.c:160
  22986. +msgid "Misuse of recoding library"
  22987. +msgstr "Folosire necorespunzãtoare a bibliotecii de recoding"
  22988. +
  22989. +#: src/main.c:163
  22990. +msgid "Internal recoding bug"
  22991. +msgstr "Bug intern de recoding"
  22992. +
  22993. +#: src/main.c:208
  22994. +msgid ""
  22995. +"This program is free software; you can redistribute it and/or modify\n"
  22996. +"it under the terms of the GNU General Public License as published by\n"
  22997. +"the Free Software Foundation; either version 2, or (at your option)\n"
  22998. +"any later version.\n"
  22999. +"\n"
  23000. +"This program is distributed in the hope that it will be useful,\n"
  23001. +"but WITHOUT ANY WARRANTY; without even the implied warranty of\n"
  23002. +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n"
  23003. +"GNU General Public License for more details.\n"
  23004. +"\n"
  23005. +"You should have received a copy of the GNU General Public License\n"
  23006. +"along with this program; if not, write to the Free Software Foundation,\n"
  23007. +"Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n"
  23008. +msgstr ""
  23009. +"Acest program este free software; puteþi sã-l redistribuiþi ºi/sau\n"
  23010. +"modificaþi sub termenii Licenþei Publice Generale GNU publicatã de\n"
  23011. +"Free Software Foundation; ori versiunea 2, sau (opþiunea dumneavoastrã)\n"
  23012. +"orice versiune ulterioarã.\n"
  23013. +"\n"
  23014. +"Acest program este distribuit în speranþa cã va fi de folos,\n"
  23015. +"dar FÃRÃ NICI O GARANÞIE; chiar fãrã presupusa garanþie a\n"
  23016. +"VANDABILITÃÞII sau MODIFICÃRII PENTRU UN SCOP PRIVAT. Citiþi\n"
  23017. +"Licenþa Publicã Generalã GNU pentru mai multe detalii.\n"
  23018. +"\n"
  23019. +"Ar fi trebuit sã fi primit o copie a Licenþei Publice Generale GNU\n"
  23020. +"împreunã cu acest program; dacã nu, scrieþi la Free Software Foundation,\n"
  23021. +"Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n"
  23022. +
  23023. +#: src/main.c:233
  23024. +#, c-format
  23025. +msgid "Try `%s %s' for more information.\n"
  23026. +msgstr "Încercaþi `%s %s' pentru mai multe informaþii.\n"
  23027. +
  23028. +#: src/main.c:237
  23029. +msgid "Free `recode' converts files between various character sets and surfaces.\n"
  23030. +msgstr "`recode' este free ºi converteºte fiºiere între diferite seturi de caractere ºi înfãþiºãri(surfaces).\n"
  23031. +
  23032. +#: src/main.c:241
  23033. +#, c-format
  23034. +msgid ""
  23035. +"\n"
  23036. +"Usage: %s [OPTION]... [ [CHARSET] | REQUEST [FILE]... ]\n"
  23037. +msgstr ""
  23038. +"\n"
  23039. +"Folosire: %s [OPÞIUNE]... [ [SET_CARACTERE] | CERERE [FIªIER]... ]\n"
  23040. +
  23041. +#: src/main.c:244
  23042. +msgid ""
  23043. +"\n"
  23044. +"If a long option shows an argument as mandatory, then it is mandatory\n"
  23045. +"for the equivalent short option also. Similarly for optional arguments.\n"
  23046. +msgstr ""
  23047. +"\n"
  23048. +"Dacã o opþiune lungã afiºeazã un parametru obligatoriu, atunci este\n"
  23049. +"obligatoriu ºi pentru opþiunea scurtã echivalentã. Similar ºi în cazul\n"
  23050. +"parametrilor opþionali.\n"
  23051. +
  23052. +#: src/main.c:250
  23053. +msgid ""
  23054. +"\n"
  23055. +"Listings:\n"
  23056. +" -l, --list[=FORMAT] list one or all known charsets and aliases\n"
  23057. +" -k, --known=PAIRS restrict charsets according to known PAIRS list\n"
  23058. +" -h, --header[=[LN/]NAME] write table NAME on stdout using LN, then exit\n"
  23059. +" -F, --freeze-tables write out a C module holding all tables\n"
  23060. +" -T, --find-subsets report all charsets being subset of others\n"
  23061. +" -C, --copyright display Copyright and copying conditions\n"
  23062. +" --help display this help and exit\n"
  23063. +" --version output version information and exit\n"
  23064. +msgstr ""
  23065. +"\n"
  23066. +"Listãri:\n"
  23067. +" -l, --list[=FORMAT] listeazã unul sau toate seturile de caractere ºi aliasurile cunoscute\n"
  23068. +" -k, --known=PERECHI restricþioneaza seturile de caractere potrivit listei de PERECHIcunoscute\n"
  23069. +" -h, --header[=[LN/]NUME] scrie tabelul NUME la stdout folosind LN, apoi terminã\n"
  23070. +" -F, --freeze-tables scrie un modul C ce pãstreazã toate tabelele\n"
  23071. +" -T, --find-subsets raporteazã toate seturile de caractere care sunt subseturi ale altora\n"
  23072. +" -C, --copyright afiºeazã Copyright ºi condiþii de copiere\n"
  23073. +" --help afiºeazã acest ajutor ºi terminã\n"
  23074. +" --version afiºeazã informaþii versiune ºi terminã\n"
  23075. +
  23076. +#: src/main.c:263
  23077. +msgid ""
  23078. +"\n"
  23079. +"Operation modes:\n"
  23080. +" -v, --verbose explain sequence of steps and report progress\n"
  23081. +" -q, --quiet, --silent inhibit messages about irreversible recodings\n"
  23082. +" -f, --force force recodings even when not reversible\n"
  23083. +" -t, --touch touch the recoded files after replacement\n"
  23084. +" -i, --sequence=files use intermediate files for sequencing passes\n"
  23085. +" --sequence=memory use memory buffers for sequencing passes\n"
  23086. +msgstr ""
  23087. +"\n"
  23088. +"Moduri operaþie:\n"
  23089. +" -v, --verbose explicã secvenþa de paºi ºi raporteazã desfãºurarea\n"
  23090. +" -q, --quiet, --silent suprimã mesajele despre recodinguri ireversibile\n"
  23091. +" -f, --force forþeazã recodingurile chiar ºi când nu sunt reversibile\n"
  23092. +" -t, --touch efectueazã `touch' pe fiºierele recodate dupã înlocuire\n"
  23093. +" -i, --sequence=files foloseºte fiºiere intermediare pentru treceri secvenþiale\n"
  23094. +" --sequence=memory foloseºte bufferele de memorie pentru trecerile secvenþiale\n"
  23095. +
  23096. +#: src/main.c:275
  23097. +msgid " -p, --sequence=pipe use pipe machinery for sequencing passes\n"
  23098. +msgstr " -p, --sequence=pipe foloseºte mecanismul de `pipe' pentru treceri secvenþiale\n"
  23099. +
  23100. +#: src/main.c:280
  23101. +msgid " -p, --sequence=pipe same as -i (on this system)\n"
  23102. +msgstr " -p, --sequence=pipe la fel ca -i(pe acest system)\n"
  23103. +
  23104. +#: src/main.c:285
  23105. +msgid ""
  23106. +"\n"
  23107. +"Fine tuning:\n"
  23108. +" -s, --strict use strict mappings, even loose characters\n"
  23109. +" -d, --diacritics convert only diacritics or alike for HTML/LaTeX\n"
  23110. +" -S, --source[=LN] limit recoding to strings and comments as for LN\n"
  23111. +" -c, --colons use colons instead of double quotes for diaeresis\n"
  23112. +" -g, --graphics approximate IBMPC rulers by ASCII graphics\n"
  23113. +" -x, --ignore=CHARSET ignore CHARSET while choosing a recoding path\n"
  23114. +msgstr ""
  23115. +"\n"
  23116. +"Setãri de precizie(fine tuning):\n"
  23117. +" -s, --strict foloseºte mapãri stricte, chiar dacã se pierd caractere\n"
  23118. +" -d, --diacritics converteºte doar diacritice sau asemãnãtor pentru HTML/LaTeX\n"
  23119. +" -S, --source[=LN] limiteazã recodinguri în ºiruri ºi comentarii ca pentru LN\n"
  23120. +" -c, --colons foloseºte coloane în loc de ghilimele pentru diaeresis\n"
  23121. +" -g, --graphics aproximeazã rigle(rulers) IBMPC prin graficã ASCII\n"
  23122. +" -x, --ignore=SET_CARACTERE ignorã SET_CARACTERE în alegerea cãilor de recoding\n"
  23123. +
  23124. +#: src/main.c:296
  23125. +msgid ""
  23126. +"\n"
  23127. +"Option -l with no FORMAT nor CHARSET list available charsets and surfaces.\n"
  23128. +"FORMAT is `decimal', `octal', `hexadecimal' or `full' (or one of `dohf').\n"
  23129. +msgstr ""
  23130. +"\n"
  23131. +"Opþiunea -l fãrã FORMAT sau SET_CARACTERE listeazã seturile de caractere ºi\n"
  23132. +"înfãþiºãrile(surfaces) disponibile. FORMAT is `decimal', `octal',\n"
  23133. +"`hexadecimal' sau `full' (sau unul din `dohf').\n"
  23134. +
  23135. +#: src/main.c:302
  23136. +msgid ""
  23137. +"Unless DEFAULT_CHARSET is set in environment, CHARSET defaults to the locale\n"
  23138. +"dependent encoding, determined by LC_ALL, LC_CTYPE, LANG.\n"
  23139. +msgstr ""
  23140. +"Dacã DEFAULT_CHARSET nu este setat în mediu (environment) CHARSET va fi encodarea specificã\n"
  23141. +"determinatã de LC_ALL, LC_CTYPE, LANG.\n"
  23142. +
  23143. +#: src/main.c:307
  23144. +msgid ""
  23145. +"With -k, possible before charsets are listed for the given after CHARSET,\n"
  23146. +"both being tabular charsets, with PAIRS of the form `BEF1:AFT1,BEF2:AFT2,...'\n"
  23147. +"and BEFs and AFTs being codes are given as decimal numbers.\n"
  23148. +msgstr ""
  23149. +"Cu -k, seturile de caractere posibile dinainte sunt listate dupã\n"
  23150. +"SET_CARACTERE specificat, ambele fiind seturi de caractere tabulare,\n"
  23151. +"cu PERECHI de forma `BEF1:AFT1,BEF2: AFT2,...'\n"
  23152. +"unde BEF ºi AFT sunt coduri ce trebuie date ca numere zecimale.\n"
  23153. +
  23154. +#: src/main.c:312
  23155. +msgid "LN is some language, it may be `c', `perl' or `po'; `c' is the default.\n"
  23156. +msgstr "LN e un limbaj de programare, poate fi `c', `perl' sau `po'; `c' este implicit.\n"
  23157. +
  23158. +#: src/main.c:315
  23159. +msgid ""
  23160. +"\n"
  23161. +"REQUEST is SUBREQUEST[,SUBREQUEST]...; SUBREQUEST is ENCODING[..ENCODING]...\n"
  23162. +"ENCODING is [CHARSET][/[SURFACE]]...; REQUEST often looks like BEFORE..AFTER,\n"
  23163. +"with BEFORE and AFTER being charsets. An omitted CHARSET implies the usual\n"
  23164. +"charset; an omitted [/SURFACE]... means the implied surfaces for CHARSET; a /\n"
  23165. +"with an empty surface name means no surfaces at all. See the manual.\n"
  23166. +msgstr ""
  23167. +"\n"
  23168. +"CERERE(REQUEST) este SUBCERERE[,SUBCERERE]...; SUBCERERE este ENCODING[..ENCODING]...\n"
  23169. +"ENCODING is [SET_CARACTERE][/[ÎNFÃÞIªARE]]...; CERERE se prezintã ca\n"
  23170. +"PRECEDENT..ULTERIOR, cu PRECEDENT ºi ULTERIOR fiind seturi de caractere.\n"
  23171. +"Un SET_CARACTERE omis sugereazã setul de caractere obiºnuit; o [/ÎNFÃÞIªARE]\n"
  23172. +"omisã reprezintã infãþiºarea sugeratã pentru SET_CARACTERE; un /\n"
  23173. +"fãrã nume de înfãþiºare înseamnã fãrã înfãþiºãri. Vedeþi manualul.\n"
  23174. +
  23175. +#: src/main.c:323
  23176. +msgid ""
  23177. +"\n"
  23178. +"If none of -i and -p are given, presume -p if no FILE, else -i.\n"
  23179. +"Each FILE is recoded over itself, destroying the original. If no\n"
  23180. +"FILE is specified, then act as a filter and recode stdin to stdout.\n"
  23181. +msgstr ""
  23182. +"\n"
  23183. +"Dacã nu sunt daþi nici unul dintre-i ºi -p, se presupune -p dacã nu FIªIER,\n"
  23184. +"altfel -i. Fiecare FIªIER este recodat(recoded) peste sine, originalul\n"
  23185. +"pierzându-se. Dacã nu este specificat FIªIER, atunci se comportã ca un\n"
  23186. +"filtru ºi recodeazã stdin în stdout.\n"
  23187. +
  23188. +#: src/main.c:329
  23189. +msgid ""
  23190. +"\n"
  23191. +"Report bugs to <recode-bugs@iro.umontreal.ca>.\n"
  23192. +msgstr ""
  23193. +"\n"
  23194. +"Raportaþi bug-urile la <recode-bugs@iro.umontreal.ca>.\n"
  23195. +
  23196. +#: src/main.c:430
  23197. +#, c-format
  23198. +msgid "Sequence `%s' is ambiguous"
  23199. +msgstr "Secvenþa `%s' este ambiguã"
  23200. +
  23201. +#: src/main.c:434
  23202. +#, c-format
  23203. +msgid "Sequence `%s' is unknown"
  23204. +msgstr "Secvenþa `%s' nu este cunoscutã"
  23205. +
  23206. +#: src/main.c:464 src/main.c:522
  23207. +#, c-format
  23208. +msgid "Language `%s' is ambiguous"
  23209. +msgstr "Limba `%s' este ambiguã"
  23210. +
  23211. +#. -1
  23212. +#: src/main.c:468 src/main.c:526
  23213. +#, c-format
  23214. +msgid "Language `%s' is unknown"
  23215. +msgstr "Limba `%s' nu este cunoscutã"
  23216. +
  23217. +#: src/main.c:560
  23218. +#, c-format
  23219. +msgid "Format `%s' is ambiguous"
  23220. +msgstr "Formatul `%s' este ambiguu"
  23221. +
  23222. +#: src/main.c:564
  23223. +#, c-format
  23224. +msgid "Format `%s' is unknown"
  23225. +msgstr "Formatul `%s' nu este cunoscut"
  23226. +
  23227. +#: src/main.c:621
  23228. +msgid "Written by Franc,ois Pinard <pinard@iro.umontreal.ca>.\n"
  23229. +msgstr "Scris de Franc,ois Pinard <pinard@iro.umontreal.ca>.\n"
  23230. +
  23231. +#: src/main.c:624
  23232. +msgid ""
  23233. +"\n"
  23234. +"Copyright (C) 1990, 92, 93, 94, 96, 97, 99 Free Software Foundation, Inc.\n"
  23235. +msgstr ""
  23236. +"\n"
  23237. +"Copyright (C) 1990, 92, 93, 94, 96, 97, 99 Free Software Foundation, Inc.\n"
  23238. +
  23239. +#: src/main.c:628
  23240. +msgid ""
  23241. +"This is free software; see the source for copying conditions. There is NO\n"
  23242. +"warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n"
  23243. +msgstr ""
  23244. +"Acesta este free software; vedeþi sursele pentur condiþiile de copiere.\n"
  23245. +"NU existã NICI o garanþie; nici mãcar pentru VANDABILITATE sau MODIFICARE\n"
  23246. +"PENTRU UN SCOP PRIVAT.\n"
  23247. +
  23248. +#: src/main.c:669
  23249. +#, c-format
  23250. +msgid "Symbol `%s' is unknown"
  23251. +msgstr "Simbolul `%s' nu este cunoscut"
  23252. +
  23253. +#: src/main.c:709 src/main.c:723
  23254. +#, c-format
  23255. +msgid "Charset `%s' is unknown or ambiguous"
  23256. +msgstr "Setul de caractere `%s' nu este cunoscut sau este ambiguu"
  23257. +
  23258. +#: src/main.c:754
  23259. +msgid "Required argument is missing"
  23260. +msgstr "Lipseºte parametrul solicitat"
  23261. +
  23262. +#: src/main.c:797
  23263. +#, c-format
  23264. +msgid "Syntax is deprecated, please prefer `%s'"
  23265. +msgstr "Sintaxã învechitã(deprecated), utilizaþi `%s'"
  23266. +
  23267. +#: src/main.c:803
  23268. +#, c-format
  23269. +msgid "Request `%s' is erroneous"
  23270. +msgstr "Cererea `%s' este greºitã"
  23271. +
  23272. +#: src/main.c:903
  23273. +#, c-format
  23274. +msgid "Recoding %s..."
  23275. +msgstr "Recodare %s..."
  23276. +
  23277. +#: src/main.c:913
  23278. +msgid " done\n"
  23279. +msgstr " finalizatã\n"
  23280. +
  23281. +#: src/main.c:954
  23282. +#, c-format
  23283. +msgid " failed: %s in step `%s..%s'\n"
  23284. +msgstr " eºuatã: %s în pasul `%s..%s'\n"
  23285. +
  23286. +#: src/main.c:961
  23287. +#, c-format
  23288. +msgid "%s failed: %s in step `%s..%s'"
  23289. +msgstr "%s a eºuat: %s în pasul `%s..%s'"
  23290. +
  23291. +#: src/main.c:984
  23292. +#, c-format
  23293. +msgid "%s in step `%s..%s'"
  23294. +msgstr "%s în pasul `%s..%s'"
  23295. +
  23296. +#: src/names.c:335
  23297. +#, c-format
  23298. +msgid "Charset %s already exists and is not %s"
  23299. +msgstr "Setul de caractere %s existã deja ºi nu este %s"
  23300. +
  23301. +#: src/names.c:831
  23302. +#, c-format
  23303. +msgid "Cannot list `%s', no names available for this charset"
  23304. +msgstr "Nu se poate lista `%s', nici un nume disponibil pentru acest set de caractere"
  23305. +
  23306. +#. code counter
  23307. +#. expected value for code counter
  23308. +#. insert a while line before printing
  23309. +#. Print the long table according to explode data.
  23310. +#: src/names.c:984 src/names.c:1030
  23311. +#, c-format
  23312. +msgid "Dec Oct Hex UCS2 Mne %s\n"
  23313. +msgstr "Zec Oct Hex UCS2 Mne %s\n"
  23314. +
  23315. +#: src/names.c:1049
  23316. +#, c-format
  23317. +msgid "Sorry, no names available for `%s'"
  23318. +msgstr "Ne pare rãu, nici un nume disponibil pentru `%s'"
  23319. +
  23320. +#: src/outer.c:125
  23321. +#, c-format
  23322. +msgid "Resurfacer set more than once for `%s'"
  23323. +msgstr "Schimbãtorul de înfãþiºãri(resurfacer) setat mai multe decât o datã pentru `%s'"
  23324. +
  23325. +#: src/outer.c:133
  23326. +#, c-format
  23327. +msgid "Unsurfacer set more than once for `%s'"
  23328. +msgstr "Schimbãtorul de înfãþiºãri(unsurfacer) setat mai mult decât o datã pentru `%s'"
  23329. +
  23330. +#: src/recode.c:115 src/recode.c:127
  23331. +msgid "Virtual memory exhausted"
  23332. +msgstr "Memorie virtualã plinã"
  23333. +
  23334. +#: src/recode.c:155
  23335. +#, c-format, ycp-format
  23336. +msgid "Codes %3d and %3d both recode to %3d"
  23337. +msgstr "Codurile %3d ºi %3d ambele recodate în %3d"
  23338. +
  23339. +#: src/recode.c:169
  23340. +#, c-format, ycp-format
  23341. +msgid "No character recodes to %3d"
  23342. +msgstr "Nici un caracter recodat în %3d"
  23343. +
  23344. +#: src/recode.c:170
  23345. +msgid "Cannot invert given one-to-one table"
  23346. +msgstr "Nu se poate inversa tabela unu la unu datã"
  23347. +
  23348. +#: src/recode.c:224 src/recode.c:236
  23349. +#, c-format
  23350. +msgid "Following diagnostics for `%s' to `%s'"
  23351. +msgstr "Se urmãresc diagnosticele pentru `%s' în `%s'"
  23352. +
  23353. +#: src/recode.c:229 src/recode.c:241
  23354. +#, c-format
  23355. +msgid "Pair no. %d: <%3d, %3d> conflicts with <%3d, %3d>"
  23356. +msgstr "Perechea numãrul %d <%3d, %3d> în conflict cu <%3d, %3d>"
  23357. +
  23358. +#: src/recode.c:272
  23359. +msgid "Cannot complete table from set of known pairs"
  23360. +msgstr "Nu s-a putut completa tabelul din setul de perechi cunoscute"
  23361. +
  23362. +#: src/recode.c:497
  23363. +msgid "Identity recoding, not worth a table"
  23364. +msgstr "Recodare de identitate, nu necesitã tabel"
  23365. +
  23366. +#: src/recode.c:504
  23367. +msgid "Recoding is too complex for a mere table"
  23368. +msgstr "Recodarea este prea complexã pentru un tabel simplu"
  23369. +
  23370. +#. Print the header of the header file.
  23371. +#: src/recode.c:536
  23372. +#, c-format
  23373. +msgid "%sConversion table generated mechanically by Free `%s' %s"
  23374. +msgstr "%sTabelul de conversie generat mecanic de `%s' Free %s"
  23375. +
  23376. +#: src/recode.c:538
  23377. +#, c-format
  23378. +msgid "%sfor sequence %s.%s"
  23379. +msgstr "%s pentru secvenþa %s.%s"
  23380. +
  23381. +#: src/recode.c:744
  23382. +msgid "No table to print"
  23383. +msgstr "Nu existã tabel de tipãrit"
  23384. +
  23385. +#: src/request.c:34
  23386. +msgid "reversible"
  23387. +msgstr "reversibil"
  23388. +
  23389. +#: src/request.c:36
  23390. +#, c-format
  23391. +msgid "%s to %s"
  23392. +msgstr "%s în %s"
  23393. +
  23394. +#: src/request.c:37 src/request.c:39
  23395. +msgid "byte"
  23396. +msgstr "octet"
  23397. +
  23398. +#: src/request.c:38 src/request.c:40
  23399. +msgid "ucs2"
  23400. +msgstr "ucs2"
  23401. +
  23402. +#: src/request.c:38 src/request.c:40
  23403. +msgid "variable"
  23404. +msgstr "variabil(ã)"
  23405. +
  23406. +#: src/request.c:111
  23407. +msgid "*Unachievable*"
  23408. +msgstr "*Neîndeplinibil*"
  23409. +
  23410. +#: src/request.c:113
  23411. +msgid "*mere copy*"
  23412. +msgstr "*copiere-simplã*"
  23413. +
  23414. +#: src/request.c:246
  23415. +msgid "Virtual memory exhausted!"
  23416. +msgstr "Memorie virtualã plinã!"
  23417. +
  23418. +#: src/request.c:265
  23419. +msgid "Step initialisation failed"
  23420. +msgstr "Pas de iniþializare eºuat"
  23421. +
  23422. +#: src/request.c:272
  23423. +msgid "Step initialisation failed (unprocessed options)"
  23424. +msgstr "Pas de iniþializare eºuat (opþiuni neprocesate)"
  23425. +
  23426. +#: src/request.c:568
  23427. +#, c-format
  23428. +msgid "Request: %s\n"
  23429. +msgstr "Cerere: %s\n"
  23430. +
  23431. +#: src/request.c:720
  23432. +#, c-format
  23433. +msgid "Shrunk to: %s\n"
  23434. +msgstr "Micºorat la: %s\n"
  23435. +
  23436. +#: src/request.c:823 src/request.c:932
  23437. +#, c-format
  23438. +msgid "Unrecognised surface name `%s'"
  23439. +msgstr "Nume înfãþiºare necunoscut: `%s'"
  23440. +
  23441. +#: src/request.c:903
  23442. +#, c-format
  23443. +msgid "No way to recode from `%s' to `%s'"
  23444. +msgstr "Nici o ºansã de recodare din `%s' în `%s'"
  23445. +
  23446. +#: src/request.c:1013
  23447. +msgid "Expecting `..' in request"
  23448. +msgstr "Se aºteaptã `..' în cerere"
  23449. +
  23450. +#: src/task.c:826 src/task.c:1002
  23451. +#, c-format
  23452. +msgid "Child process wait status is 0x%0.2x"
  23453. +msgstr "Starea de aºteptare a procesului derivat(child) este 0x%0.2x"
  23454. +
  23455. +#: src/testdump.c:298
  23456. +msgid ""
  23457. +"UCS2 Mne Description\n"
  23458. +"\n"
  23459. +msgstr ""
  23460. +"UCS2 Mne Descriere\n"
  23461. +"\n"
  23462. --- recode-3.6.orig/i18n/ca.po
  23463. +++ recode-3.6/i18n/ca.po
  23464. @@ -0,0 +1,578 @@
  23465. +# Catalan translation of GNU recode.
  23466. +# Copyright © 2002, 2003 Free Software Foundation, Inc.
  23467. +# Jordi Mallach <jordi@gnu.org>, 2002, 2003.
  23468. +#
  23469. +msgid ""
  23470. +msgstr ""
  23471. +"Project-Id-Version: recode 3.6\n"
  23472. +"POT-Creation-Date: 2001-01-02 22:35+0100\n"
  23473. +"PO-Revision-Date: 2003-08-30 16:48+0200\n"
  23474. +"Last-Translator: Jordi Mallach <jordi@gnu.org>\n"
  23475. +"Language-Team: Catalan <ca@dodds.net>\n"
  23476. +"MIME-Version: 1.0\n"
  23477. +"Content-Type: text/plain; charset=ISO-8859-1\n"
  23478. +"Content-Transfer-Encoding: 8bit\n"
  23479. +"X-Generator: KBabel 0.9.6\n"
  23480. +
  23481. +#: src/main.c:142
  23482. +msgid "No error"
  23483. +msgstr "No hi ha cap error"
  23484. +
  23485. +#: src/main.c:145
  23486. +msgid "Non canonical input"
  23487. +msgstr "L'entrada no és canònica"
  23488. +
  23489. +#: src/main.c:148
  23490. +msgid "Ambiguous output"
  23491. +msgstr "L'eixida és ambigua"
  23492. +
  23493. +#: src/main.c:151
  23494. +msgid "Untranslatable input"
  23495. +msgstr "L'entrada no és convertible"
  23496. +
  23497. +#: src/main.c:154
  23498. +msgid "Invalid input"
  23499. +msgstr "L'entrada és invàlida"
  23500. +
  23501. +#: src/main.c:157
  23502. +msgid "System detected problem"
  23503. +msgstr "El sistema ha detectat un problema"
  23504. +
  23505. +# El verb "to misuse" vol dir "desaprofitar" o també "fer mal ús". Crec
  23506. +# que en aquest cas la traducció més correcta seria: "Mal ús de la
  23507. +# biblioteca de recodificació" o, si es prefereix, "Ús incorrecte de
  23508. +# la biblioteca de recodificació". mvs
  23509. +# Bé, les teues frases són en "indi", que diem Ivan i jo...
  23510. +# es a dir, no són frases completes. No veig massa diferència entre
  23511. +# «Ús incorrecte de la biblioteca de recodificació» i la forma que he
  23512. +# fet servir jo... jm
  23513. +#: src/main.c:160
  23514. +msgid "Misuse of recoding library"
  23515. +msgstr "L'ús de la biblioteca de recodificació és incorrecte"
  23516. +
  23517. +#: src/main.c:163
  23518. +msgid "Internal recoding bug"
  23519. +msgstr "S'ha produït un error intern de recodificació"
  23520. +
  23521. +#: src/main.c:208
  23522. +msgid ""
  23523. +"This program is free software; you can redistribute it and/or modify\n"
  23524. +"it under the terms of the GNU General Public License as published by\n"
  23525. +"the Free Software Foundation; either version 2, or (at your option)\n"
  23526. +"any later version.\n"
  23527. +"\n"
  23528. +"This program is distributed in the hope that it will be useful,\n"
  23529. +"but WITHOUT ANY WARRANTY; without even the implied warranty of\n"
  23530. +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n"
  23531. +"GNU General Public License for more details.\n"
  23532. +"\n"
  23533. +"You should have received a copy of the GNU General Public License\n"
  23534. +"along with this program; if not, write to the Free Software Foundation,\n"
  23535. +"Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n"
  23536. +msgstr ""
  23537. +"Açò és programari lliure; podeu redistribuir-lo i/o modificar-lo\n"
  23538. +"sota els termes de la Llicència Pública General GNU tal i com ha estat\n"
  23539. +"publicada per la Free Software Foundation; bé sota la versió 2 de la\n"
  23540. +"Llicència o bé (si ho preferiu) sota qualsevol versió posterior.\n"
  23541. +"\n"
  23542. +"Aquest programa es distribueix amb l'expectativa de que serà útil,\n"
  23543. +"però SENSE CAP GARANTIA; ni tan sols la garantia implícita de\n"
  23544. +"COMERCIABILITAT o ADEQUACIÓ PER UN PROPÒSIT PARTICULAR. Vegeu la\n"
  23545. +"Llicència Pública General GNU per obtenir-ne més detalls.\n"
  23546. +"\n"
  23547. +"Hauríeu d'haver rebut una còpia de la Llicència Pública General GNU\n"
  23548. +"juntament amb aquest programa; en cas contrari, escriviu a la Free\n"
  23549. +"Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,\n"
  23550. +"MA 02111, USA.\n"
  23551. +
  23552. +#: src/main.c:233
  23553. +#, c-format
  23554. +msgid "Try `%s %s' for more information.\n"
  23555. +msgstr "Proveu «%s %s» per a obtindre més informació.\n"
  23556. +
  23557. +# On posa "entre varios", açò no és un castellanisme?.
  23558. +# Em sembla que seria més correcte posar "diversos" en voltes de "varios". mvs
  23559. +# I tant... jm
  23560. +#: src/main.c:237
  23561. +msgid "Free `recode' converts files between various character sets and surfaces.\n"
  23562. +msgstr "El «recode» lliure converteix fitxers entre diversos jocs de caràcters i superfícies.\n"
  23563. +
  23564. +#: src/main.c:241
  23565. +#, c-format
  23566. +msgid ""
  23567. +"\n"
  23568. +"Usage: %s [OPTION]... [ [CHARSET] | REQUEST [FILE]... ]\n"
  23569. +msgstr ""
  23570. +"\n"
  23571. +"Forma d'ús: %s [OPCIÓ]... [ [JOC DE CARÀCTERS] | PETICIÓ [FITXER]... ]\n"
  23572. +
  23573. +# Aquest programa s'executa en terminal o en un
  23574. +# servidor x?. Si és per a una terminal potser caldria respectar
  23575. +# un salt de línia fins la columna núm. 70. S'edita el missatge
  23576. +# a un editor de textos que aplique salt de línia automàticament,
  23577. +# i el copiem al programa traductor (si feu servir kbabel, no
  23578. +# oblideu d'afegir "\n" al final de cada línia). mvs
  23579. +# Sí, és en mode text, i corregit. El kbabel us fa ficar el salt
  23580. +# de línia a ma? Què mal... :) jm
  23581. +#: src/main.c:244
  23582. +msgid ""
  23583. +"\n"
  23584. +"If a long option shows an argument as mandatory, then it is mandatory\n"
  23585. +"for the equivalent short option also. Similarly for optional arguments.\n"
  23586. +msgstr ""
  23587. +"\n"
  23588. +"Si una opció llarga mostra un argument com requerit, aleshores també és\n"
  23589. +"requerit per a l'opció curta equivalent, i de forma similar per als\n"
  23590. +"arguments opcionals.\n"
  23591. +
  23592. +# Que tal si traduim "copyright", per "drets reservats"?.
  23593. +# També on posa "copying conditions", ¿això no vol dir
  23594. +# "condicions de l'autor" en voltes de "condicions de còpia"? mvs
  23595. +# «copyright» != «drets reservats», això seria «all rights reserved»
  23596. +# o similar. Crec que «copying conditions» és l'evident: «condicions
  23597. +# de còpia». El tema de traduir o no «copyright» s'ha discutit alguna
  23598. +# vegada si no recorde mal, i sempre s'ha preferit no traduir-ho. jm
  23599. +#: src/main.c:250
  23600. +msgid ""
  23601. +"\n"
  23602. +"Listings:\n"
  23603. +" -l, --list[=FORMAT] list one or all known charsets and aliases\n"
  23604. +" -k, --known=PAIRS restrict charsets according to known PAIRS list\n"
  23605. +" -h, --header[=[LN/]NAME] write table NAME on stdout using LN, then exit\n"
  23606. +" -F, --freeze-tables write out a C module holding all tables\n"
  23607. +" -T, --find-subsets report all charsets being subset of others\n"
  23608. +" -C, --copyright display Copyright and copying conditions\n"
  23609. +" --help display this help and exit\n"
  23610. +" --version output version information and exit\n"
  23611. +msgstr ""
  23612. +"\n"
  23613. +"Llistats:\n"
  23614. +" -l, --list[=FORMAT] llista un o tots els jocs de caràcters i àlies\n"
  23615. +" coneguts\n"
  23616. +" -k, --known=PARELLES limita els jocs de caràcters d'acord amb la\n"
  23617. +" llista de PARELLES conegudes\n"
  23618. +" -h, --header=[={LN/}NOM} mostra la taula NOM a l'eixida estàndard\n"
  23619. +" utilitzant LN, i surt a continuació\n"
  23620. +" -F, --freeze-tables mostra un mòdul de C contenint totes les taules\n"
  23621. +" -T, --find-subsets informa de tots els jocs de caràcters que són\n"
  23622. +" subconjunts d'altres\n"
  23623. +" -C, --copyright mostra el Copyright i les condicions de còpia\n"
  23624. +" --help mostra aquesta ajuda i ix\n"
  23625. +" --version mostra la informació sobre la versió i ix\n"
  23626. +
  23627. +# Una "passa" no és un "pas". "Passa" es un sinònim de
  23628. +# epidèmia. Per tant, hauria de posar-se "passos" i no "passes".
  23629. +# Concretant:
  23630. +# "step" és "pas" ("passos") o "iteració"
  23631. +# "pass" és "passi" ("passis"), sinònim de permís
  23632. +# ("cinema session pass" = "passi de sessió de cinema"). mvs
  23633. +# Uff. Aquesta errada l'arrossegue en altres traduccions, aleshores.
  23634. +# Caldrà fer una bonica sessió de greps. jm
  23635. +#: src/main.c:263
  23636. +msgid ""
  23637. +"\n"
  23638. +"Operation modes:\n"
  23639. +" -v, --verbose explain sequence of steps and report progress\n"
  23640. +" -q, --quiet, --silent inhibit messages about irreversible recodings\n"
  23641. +" -f, --force force recodings even when not reversible\n"
  23642. +" -t, --touch touch the recoded files after replacement\n"
  23643. +" -i, --sequence=files use intermediate files for sequencing passes\n"
  23644. +" --sequence=memory use memory buffers for sequencing passes\n"
  23645. +msgstr ""
  23646. +"\n"
  23647. +"Modes d'operació:\n"
  23648. +" -v, --verbose explica la seqüència de passos i informa del progrés\n"
  23649. +" -q, --quiet, --silent inhabilita els missatges sobre recodificacions\n"
  23650. +" irreversibles\n"
  23651. +" -f, --force força les recodificacions inclús si són irreversibles\n"
  23652. +" -t, --touch toca els fitxers recodificats després del reemplaç\n"
  23653. +" -i, --sequence=files utilitza fitxers intermedis per als passos\n"
  23654. +" --sequence=memory utilitza búfers de memòria per als passos\n"
  23655. +
  23656. +# Vegeu la mateixa observació que vaig fer al missatge núm 15. mvs
  23657. +#: src/main.c:275
  23658. +msgid " -p, --sequence=pipe use pipe machinery for sequencing passes\n"
  23659. +msgstr ""
  23660. +" -p, --sequence=pipe utilitza conductes per als passos de\n"
  23661. +" seqüències\n"
  23662. +
  23663. +#: src/main.c:280
  23664. +msgid " -p, --sequence=pipe same as -i (on this system)\n"
  23665. +msgstr " -p, --sequence=pipe el mateix que -i (en aquest sistema)\n"
  23666. +
  23667. +# A l'opció "-g" has obviat la paraula "rules", que
  23668. +# voldria dir "normes". Així, "IBMPC rulers" voldria dir
  23669. +# "normes IBMPC", encara que no estic del tot segur. mvs
  23670. +# No, he traduït «rules» per «gràfics». Es refereix als caràcters
  23671. +# amb els que es dibuixen les caixetes i tal. jm
  23672. +#: src/main.c:285
  23673. +msgid ""
  23674. +"\n"
  23675. +"Fine tuning:\n"
  23676. +" -s, --strict use strict mappings, even loose characters\n"
  23677. +" -d, --diacritics convert only diacritics or alike for HTML/LaTeX\n"
  23678. +" -S, --source[=LN] limit recoding to strings and comments as for LN\n"
  23679. +" -c, --colons use colons instead of double quotes for diaeresis\n"
  23680. +" -g, --graphics approximate IBMPC rulers by ASCII graphics\n"
  23681. +" -x, --ignore=CHARSET ignore CHARSET while choosing a recoding path\n"
  23682. +msgstr ""
  23683. +"\n"
  23684. +"Ajustament afinat:\n"
  23685. +" -s, --strict utilitza coincidències estrictes, encara que es\n"
  23686. +" perden caràcters\n"
  23687. +" -d, --diacritics converteix només els accents o pareguts per a\n"
  23688. +" HTML/LaTeX\n"
  23689. +" -S, --source[=LN] limita la recodificació a cadenes i comentaris\n"
  23690. +" segons LN\n"
  23691. +" -c, --colons utilitza dos punts en comptes de cometes dobles\n"
  23692. +" per a la dièresis\n"
  23693. +" -g, --graphics aproxima els gràfics IBMPC amb gràfics ASCII\n"
  23694. +" -x, --ignore=JOC descarta JOC al escollir un camí de recodificació\n"
  23695. +
  23696. +# "L'opció "-l" sense cap FORMAT ni JOC DE CARACTERS llista..." mvs
  23697. +# Fet. jm
  23698. +#: src/main.c:296
  23699. +msgid ""
  23700. +"\n"
  23701. +"Option -l with no FORMAT nor CHARSET list available charsets and surfaces.\n"
  23702. +"FORMAT is `decimal', `octal', `hexadecimal' or `full' (or one of `dohf').\n"
  23703. +msgstr ""
  23704. +"\n"
  23705. +"L'opció -l sense cap FORMAT o JOC DE CARÀCTERS llista els jocs de caràcters\n"
  23706. +"i facetes disponibles. FORMAT és «decimal», «octal», «hexadecimal» o «full»\n"
  23707. +"(o un de «dohf»).\n"
  23708. +
  23709. +# "... de la que depén...", això és un castellanisme.
  23710. +# El correcte és dir: "... de la qual depèn...", o
  23711. +# "... de què depèn...", (ull!: amb laccent tancat). mvs
  23712. +# Oops. Volia haver ficat «de la qual». jm
  23713. +#: src/main.c:302
  23714. +msgid ""
  23715. +"Unless DEFAULT_CHARSET is set in environment, CHARSET defaults to the locale\n"
  23716. +"dependent encoding, determined by LC_ALL, LC_CTYPE, LANG.\n"
  23717. +msgstr ""
  23718. +"A no ser que s'establisca DEFAULT_CHARSET a l'entorn, el valor\n"
  23719. +"predeterminat de CHARSET és la codificació de la qual depen el locale,\n"
  23720. +"determinat per LC_ALL, LC_CTYPE, LANG.\n"
  23721. +
  23722. +#: src/main.c:307
  23723. +msgid ""
  23724. +"With -k, possible before charsets are listed for the given after CHARSET,\n"
  23725. +"both being tabular charsets, with PAIRS of the form `BEF1:AFT1,BEF2:AFT2,...'\n"
  23726. +"and BEFs and AFTs being codes are given as decimal numbers.\n"
  23727. +msgstr ""
  23728. +"Amb -k, es mostren els possibles jocs de caràcters «abans» per al JOC\n"
  23729. +"«després» donat, sent ambdós jocs de caràcters tabulars, amb PARELLES de la\n"
  23730. +"forma «ABAN1:DESP1,ABAN2:DESP2,...» i sent els ABAN i DESP codis donats com\n"
  23731. +"números decimals.\n"
  23732. +
  23733. +#: src/main.c:312
  23734. +msgid "LN is some language, it may be `c', `perl' or `po'; `c' is the default.\n"
  23735. +msgstr "LN és un llenguatge, pot ser «c», «perl» o «po; «c» és el predeterminat.\n"
  23736. +
  23737. +#: src/main.c:315
  23738. +msgid ""
  23739. +"\n"
  23740. +"REQUEST is SUBREQUEST[,SUBREQUEST]...; SUBREQUEST is ENCODING[..ENCODING]...\n"
  23741. +"ENCODING is [CHARSET][/[SURFACE]]...; REQUEST often looks like BEFORE..AFTER,\n"
  23742. +"with BEFORE and AFTER being charsets. An omitted CHARSET implies the usual\n"
  23743. +"charset; an omitted [/SURFACE]... means the implied surfaces for CHARSET; a /\n"
  23744. +"with an empty surface name means no surfaces at all. See the manual.\n"
  23745. +msgstr ""
  23746. +"\n"
  23747. +"PETICIÓ és SUBPETICIÓ[,SUBPETICIÓ]...;\n"
  23748. +"SUBPETICIÓ és CODIFICACIÓ[..CODIFICACIÓ]...\n"
  23749. +"CODIFICACIÓ és [JOC DE CARÀCTERS[/[FACETA]]...;\n"
  23750. +"PETICIÓ sovint és ABANS..DESPRÉS,\n"
  23751. +"amb ABANS i DESPRÉS sent jocs de caràcters. Un JOC DE CARÀCTERS omés\n"
  23752. +"implica el joc de caràcters habitual; una [/FACETA] omesa vol dir la faceta\n"
  23753. +"implícita per al JOC DE CARÀCTERS; un / amb una faceta buida vol dir que no\n"
  23754. +"hi ha faceta. Vegeu el manual.\n"
  23755. +
  23756. +#: src/main.c:323
  23757. +msgid ""
  23758. +"\n"
  23759. +"If none of -i and -p are given, presume -p if no FILE, else -i.\n"
  23760. +"Each FILE is recoded over itself, destroying the original. If no\n"
  23761. +"FILE is specified, then act as a filter and recode stdin to stdout.\n"
  23762. +msgstr ""
  23763. +"\n"
  23764. +"Si no es dona cap de -i i -p, es suposa -p si no hi ha cap FITXER, si no, -i.\n"
  23765. +"Cada FITXER es recodifica damunt d'ell mateix, destruïnt l'original. Si no\n"
  23766. +"s'especifica cap FITXER, aleshores actua com un filtre i recodifica\n"
  23767. +"l'entrada estàndard a l'eixida estàndard.\n"
  23768. +
  23769. +#: src/main.c:329
  23770. +msgid ""
  23771. +"\n"
  23772. +"Report bugs to <recode-bugs@iro.umontreal.ca>.\n"
  23773. +msgstr ""
  23774. +"\n"
  23775. +"Informeu dels errors a <recode-bugs@iro.umontreal.ca>.\n"
  23776. +
  23777. +#: src/main.c:430
  23778. +#, c-format
  23779. +msgid "Sequence `%s' is ambiguous"
  23780. +msgstr "La seqüència «%s» és ambígua"
  23781. +
  23782. +#: src/main.c:434
  23783. +#, c-format
  23784. +msgid "Sequence `%s' is unknown"
  23785. +msgstr "La seqüència «%s» és desconeguda"
  23786. +
  23787. +#: src/main.c:464 src/main.c:522
  23788. +#, c-format
  23789. +msgid "Language `%s' is ambiguous"
  23790. +msgstr "El llenguatge «%s» és ambigu"
  23791. +
  23792. +#. -1
  23793. +#: src/main.c:468 src/main.c:526
  23794. +#, c-format
  23795. +msgid "Language `%s' is unknown"
  23796. +msgstr "El llenguatge «%s» és desconegut"
  23797. +
  23798. +#: src/main.c:560
  23799. +#, c-format
  23800. +msgid "Format `%s' is ambiguous"
  23801. +msgstr "El format «%s» és ambigu"
  23802. +
  23803. +#: src/main.c:564
  23804. +#, c-format
  23805. +msgid "Format `%s' is unknown"
  23806. +msgstr "El format «%s» és desconegut"
  23807. +
  23808. +#: src/main.c:621
  23809. +msgid "Written by Franc,ois Pinard <pinard@iro.umontreal.ca>.\n"
  23810. +msgstr "Escrit per François Pinard <pinard@iro.umontreal.ca>.\n"
  23811. +
  23812. +#: src/main.c:624
  23813. +msgid ""
  23814. +"\n"
  23815. +"Copyright (C) 1990, 92, 93, 94, 96, 97, 99 Free Software Foundation, Inc.\n"
  23816. +msgstr ""
  23817. +"\n"
  23818. +"Copyright © 1990, 92, 93, 94, 96, 97, 99 Free Software Foundation, Inc.\n"
  23819. +
  23820. +#: src/main.c:628
  23821. +msgid ""
  23822. +"This is free software; see the source for copying conditions. There is NO\n"
  23823. +"warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n"
  23824. +msgstr ""
  23825. +"Açò és Programari Lliure; vegeu el codi font per les condicions de\n"
  23826. +"còpia. NO hi ha CAP garantia; ni tan sols de COMERCIABILITAT o ADEQUACIÓ\n"
  23827. +"PER UN PROPÒSIT DETERMINAT.\n"
  23828. +
  23829. +#: src/main.c:669
  23830. +#, c-format
  23831. +msgid "Symbol `%s' is unknown"
  23832. +msgstr "El símbol «%s» és desconegut"
  23833. +
  23834. +#: src/main.c:709 src/main.c:723
  23835. +#, c-format
  23836. +msgid "Charset `%s' is unknown or ambiguous"
  23837. +msgstr "El joc de caràcters «%s» és desconegut o ambigu"
  23838. +
  23839. +#: src/main.c:754
  23840. +msgid "Required argument is missing"
  23841. +msgstr "Manca un argument requerit"
  23842. +
  23843. +#: src/main.c:797
  23844. +#, c-format
  23845. +msgid "Syntax is deprecated, please prefer `%s'"
  23846. +msgstr "Aquesta sintaxi és desaconsellada, si us plau, utilitzeu «%s»"
  23847. +
  23848. +#: src/main.c:803
  23849. +#, c-format
  23850. +msgid "Request `%s' is erroneous"
  23851. +msgstr "La petició «%s» és errònia"
  23852. +
  23853. +#: src/main.c:903
  23854. +#, c-format
  23855. +msgid "Recoding %s..."
  23856. +msgstr "S'està recodificant %s..."
  23857. +
  23858. +#: src/main.c:913
  23859. +msgid " done\n"
  23860. +msgstr " fet\n"
  23861. +
  23862. +#: src/main.c:954
  23863. +#, c-format
  23864. +msgid " failed: %s in step `%s..%s'\n"
  23865. +msgstr " ha fallat: %s al pas «%s..%s»\n"
  23866. +
  23867. +#: src/main.c:961
  23868. +#, c-format
  23869. +msgid "%s failed: %s in step `%s..%s'"
  23870. +msgstr "%s ha fallat: %s al pas «%s..%s»"
  23871. +
  23872. +#: src/main.c:984
  23873. +#, c-format
  23874. +msgid "%s in step `%s..%s'"
  23875. +msgstr "%s al pas «%s..%s»"
  23876. +
  23877. +#: src/names.c:335
  23878. +#, c-format
  23879. +msgid "Charset %s already exists and is not %s"
  23880. +msgstr "El joc de caràcters %s ja existeix i no és %s"
  23881. +
  23882. +#: src/names.c:831
  23883. +#, c-format
  23884. +msgid "Cannot list `%s', no names available for this charset"
  23885. +msgstr ""
  23886. +"No es pot llistar «%s», no hi ha noms disponibles per a aquest\n"
  23887. +"joc de caràcters"
  23888. +
  23889. +#. code counter
  23890. +#. expected value for code counter
  23891. +#. insert a while line before printing
  23892. +#. Print the long table according to explode data.
  23893. +#: src/names.c:984 src/names.c:1030
  23894. +#, c-format
  23895. +msgid "Dec Oct Hex UCS2 Mne %s\n"
  23896. +msgstr "Dec Oct Hex UCS2 Mne %s\n"
  23897. +
  23898. +#: src/names.c:1049
  23899. +#, c-format
  23900. +msgid "Sorry, no names available for `%s'"
  23901. +msgstr "No hi ha noms disponibles per a «%s»"
  23902. +
  23903. +#: src/outer.c:125
  23904. +#, c-format
  23905. +msgid "Resurfacer set more than once for `%s'"
  23906. +msgstr "S'ha establert «resurfacer» més d'una vegada per a «%s»"
  23907. +
  23908. +#: src/outer.c:133
  23909. +#, c-format
  23910. +msgid "Unsurfacer set more than once for `%s'"
  23911. +msgstr "S'ha establert «unsurfacer» més d'una vegada per a «%s»"
  23912. +
  23913. +#: src/recode.c:115 src/recode.c:127
  23914. +msgid "Virtual memory exhausted"
  23915. +msgstr "La memòria virtual s'ha exhaurit"
  23916. +
  23917. +#: src/recode.c:155
  23918. +#, c-format, ycp-format
  23919. +msgid "Codes %3d and %3d both recode to %3d"
  23920. +msgstr "Els codis %3d i %3d es recodifiquen ambdós a %3d"
  23921. +
  23922. +#: src/recode.c:169
  23923. +#, c-format, ycp-format
  23924. +msgid "No character recodes to %3d"
  23925. +msgstr "Cap caràcter es recodifica a %3d"
  23926. +
  23927. +#: src/recode.c:170
  23928. +msgid "Cannot invert given one-to-one table"
  23929. +msgstr "No es pot invertir la taula un-a-un donada"
  23930. +
  23931. +#: src/recode.c:224 src/recode.c:236
  23932. +#, c-format
  23933. +msgid "Following diagnostics for `%s' to `%s'"
  23934. +msgstr "S'estan seguint els diagnòstics per «%s» a «%s»"
  23935. +
  23936. +#: src/recode.c:229 src/recode.c:241
  23937. +#, c-format
  23938. +msgid "Pair no. %d: <%3d, %3d> conflicts with <%3d, %3d>"
  23939. +msgstr "La parella no. %d: <%3d, %3d> és conflictiu amb <%3d, %3d>"
  23940. +
  23941. +#: src/recode.c:272
  23942. +msgid "Cannot complete table from set of known pairs"
  23943. +msgstr "No es pot completar la taula des del joc de parelles conegudes"
  23944. +
  23945. +#: src/recode.c:497
  23946. +msgid "Identity recoding, not worth a table"
  23947. +msgstr "Recodificació identitat, no mereix una taula"
  23948. +
  23949. +#: src/recode.c:504
  23950. +msgid "Recoding is too complex for a mere table"
  23951. +msgstr "La recodificació és massa complexa per a una simple taula"
  23952. +
  23953. +#. Print the header of the header file.
  23954. +#: src/recode.c:536
  23955. +#, c-format
  23956. +msgid "%sConversion table generated mechanically by Free `%s' %s"
  23957. +msgstr "%sTaula de conversió generada mecànicament per Free «%s» %s"
  23958. +
  23959. +#: src/recode.c:538
  23960. +#, c-format
  23961. +msgid "%sfor sequence %s.%s"
  23962. +msgstr "%sper la seqüència %s.%s"
  23963. +
  23964. +#: src/recode.c:744
  23965. +msgid "No table to print"
  23966. +msgstr "No hi ha cap taula a imprimir"
  23967. +
  23968. +#: src/request.c:34
  23969. +msgid "reversible"
  23970. +msgstr "reversible"
  23971. +
  23972. +#: src/request.c:36
  23973. +#, c-format
  23974. +msgid "%s to %s"
  23975. +msgstr "%s a %s"
  23976. +
  23977. +#: src/request.c:37 src/request.c:39
  23978. +msgid "byte"
  23979. +msgstr "byte"
  23980. +
  23981. +#: src/request.c:38 src/request.c:40
  23982. +msgid "ucs2"
  23983. +msgstr "ucs2"
  23984. +
  23985. +#: src/request.c:38 src/request.c:40
  23986. +msgid "variable"
  23987. +msgstr "variable"
  23988. +
  23989. +#: src/request.c:111
  23990. +msgid "*Unachievable*"
  23991. +msgstr "*Impossible*"
  23992. +
  23993. +#: src/request.c:113
  23994. +msgid "*mere copy*"
  23995. +msgstr "*simple còpia*"
  23996. +
  23997. +#: src/request.c:246
  23998. +msgid "Virtual memory exhausted!"
  23999. +msgstr "La memòria virtual s'ha exhaurit!"
  24000. +
  24001. +#: src/request.c:265
  24002. +msgid "Step initialisation failed"
  24003. +msgstr "L'inicialització del pas ha fallat"
  24004. +
  24005. +#: src/request.c:272
  24006. +msgid "Step initialisation failed (unprocessed options)"
  24007. +msgstr "L'inicialització del pas ha fallat (opcions no processades)"
  24008. +
  24009. +#: src/request.c:568
  24010. +#, c-format
  24011. +msgid "Request: %s\n"
  24012. +msgstr "Petició: %s\n"
  24013. +
  24014. +#: src/request.c:720
  24015. +#, c-format
  24016. +msgid "Shrunk to: %s\n"
  24017. +msgstr "Encogit a: %s\n"
  24018. +
  24019. +#: src/request.c:823 src/request.c:932
  24020. +#, c-format
  24021. +msgid "Unrecognised surface name `%s'"
  24022. +msgstr "El nom de faceta «%s» és desconegut"
  24023. +
  24024. +#: src/request.c:903
  24025. +#, c-format
  24026. +msgid "No way to recode from `%s' to `%s'"
  24027. +msgstr "No hi ha manera de recodificar de «%s» a «%s»"
  24028. +
  24029. +#: src/request.c:1013
  24030. +msgid "Expecting `..' in request"
  24031. +msgstr "S'esperava «..» a la petició"
  24032. +
  24033. +#: src/task.c:826 src/task.c:1002
  24034. +#, c-format
  24035. +msgid "Child process wait status is 0x%0.2x"
  24036. +msgstr "L'estat d'espera del procés fill és 0x%0.2x"
  24037. +
  24038. +#: src/testdump.c:298
  24039. +msgid ""
  24040. +"UCS2 Mne Description\n"
  24041. +"\n"
  24042. +msgstr "UCS2 Mne Descripció\n"
  24043. --- recode-3.6.orig/i18n/es.po
  24044. +++ recode-3.6/i18n/es.po
  24045. @@ -1,12 +1,12 @@
  24046. -# Mensajes en español para GNU recode.
  24047. -# Copyright (C) 1999 Free Software Foundation, Inc.
  24048. -# Santiago Vila Doncel <sanvila@unex.es>, 1999.
  24049. +# Mensajes en español para Free recode.
  24050. +# Copyright (C) 1999, 2001, 2002 Free Software Foundation, Inc.
  24051. +# Santiago Vila Doncel <sanvila@unex.es>, 1999, 2001, 2002.
  24052. #
  24053. msgid ""
  24054. msgstr ""
  24055. -"Project-Id-Version: GNU recode 3.4r\n"
  24056. +"Project-Id-Version: Free recode 3.6\n"
  24057. "POT-Creation-Date: 2001-01-02 22:35+0100\n"
  24058. -"PO-Revision-Date: 1999-05-21 18:45+0200\n"
  24059. +"PO-Revision-Date: 2002-09-17 00:28+0200\n"
  24060. "Last-Translator: Santiago Vila Doncel <sanvila@unex.es>\n"
  24061. "Language-Team: Spanish <es@li.org>\n"
  24062. "MIME-Version: 1.0\n"
  24063. @@ -83,13 +83,9 @@
  24064. msgid "Try `%s %s' for more information.\n"
  24065. msgstr "Pruebe `%s %s' para más información.\n"
  24066. -# FUZZY. GNU/Free.
  24067. #: src/main.c:237
  24068. -msgid ""
  24069. -"Free `recode' converts files between various character sets and surfaces.\n"
  24070. -msgstr ""
  24071. -"GNU `recode' convierte ficheros entre varios juegos de caracteres y "
  24072. -"facetas.\n"
  24073. +msgid "Free `recode' converts files between various character sets and surfaces.\n"
  24074. +msgstr "Free `recode' convierte ficheros entre varios juegos de caracteres y facetas.\n"
  24075. #: src/main.c:241
  24076. #, c-format
  24077. @@ -112,13 +108,11 @@
  24078. "argumentos opcionales.\n"
  24079. #: src/main.c:250
  24080. -#, fuzzy
  24081. msgid ""
  24082. "\n"
  24083. "Listings:\n"
  24084. " -l, --list[=FORMAT] list one or all known charsets and aliases\n"
  24085. -" -k, --known=PAIRS restrict charsets according to known PAIRS "
  24086. -"list\n"
  24087. +" -k, --known=PAIRS restrict charsets according to known PAIRS list\n"
  24088. " -h, --header[=[LN/]NAME] write table NAME on stdout using LN, then exit\n"
  24089. " -F, --freeze-tables write out a C module holding all tables\n"
  24090. " -T, --find-subsets report all charsets being subset of others\n"
  24091. @@ -128,18 +122,15 @@
  24092. msgstr ""
  24093. "\n"
  24094. "Listados:\n"
  24095. -" -l, --list[=FORMATO] muestra uno o todos los juegos conocidos\n"
  24096. -" -k, --known=PARES restringe los juegos de acuerdo con la lista "
  24097. -"de\n"
  24098. +" -l, --list[=FORMATO] muestra uno o todos los juegos y alias conocidos\n"
  24099. +" -k, --known=PARES restringe los juegos de acuerdo con la lista de\n"
  24100. " PARES conocidos\n"
  24101. " -h, --header[=[LN/]NOMBRE escribe la tabla NOMBRE en la salida estándar\n"
  24102. " usando LN, y finaliza\n"
  24103. " -F, --freeze-tables escribe un módulo en C con todas las tablas\n"
  24104. -" -T, --find-subsets informa acerca de todos los juegos de "
  24105. -"caracteres\n"
  24106. +" -T, --find-subsets informa acerca de todos los juegos de caracteres\n"
  24107. " que son subconjuntos de otros\n"
  24108. -" -C, --copyright muestra el Copyright y las condiciones de "
  24109. -"copia\n"
  24110. +" -C, --copyright muestra el Copyright y las condiciones de copia\n"
  24111. " --help muestra esta ayuda y finaliza\n"
  24112. " --version muestra la versión y finaliza\n"
  24113. @@ -156,13 +147,10 @@
  24114. msgstr ""
  24115. "\n"
  24116. "Modos de operación:\n"
  24117. -" -v, --verbose explica la sucesión de pasos e informa del "
  24118. -"desarrollo\n"
  24119. -" -q, --quiet, --silent no muestra mensajes sobre conversiones "
  24120. -"irreversibles\n"
  24121. +" -v, --verbose explica la sucesión de pasos e informa del desarrollo\n"
  24122. +" -q, --quiet, --silent no muestra mensajes sobre conversiones irreversibles\n"
  24123. " -f, --force realiza la conversión incluso si no es reversible\n"
  24124. -" -t, --touch toca los ficheros convertidos después del "
  24125. -"reemplazo\n"
  24126. +" -t, --touch toca los ficheros convertidos después del reemplazo\n"
  24127. " -i, --sequence=files utiliza ficheros intermedios para las pasadas\n"
  24128. " --sequence=memory utiliza búfers en memoria para las pasadas\n"
  24129. @@ -196,15 +184,11 @@
  24130. msgstr ""
  24131. "\n"
  24132. "Ajuste `fino':\n"
  24133. -" -s, --strict utiliza correspondencias estrictas, aunque se "
  24134. -"pierdan\n"
  24135. +" -s, --strict utiliza correspondencias estrictas, aunque se pierdan\n"
  24136. " caracteres\n"
  24137. -" -d, --diacritics convierte solamente acentos y demás para "
  24138. -"HTML/LaTeX\n"
  24139. -" -S, --source[=LN] limita la conversión a cadenas y comentarios según "
  24140. -"LN\n"
  24141. -" -c, --colons utiliza dos puntos en vez de comillas para "
  24142. -"diéresis\n"
  24143. +" -d, --diacritics convierte solamente acentos y demás para HTML/LaTeX\n"
  24144. +" -S, --source[=LN] limita la conversión a cadenas y comentarios según LN\n"
  24145. +" -c, --colons utiliza dos puntos en vez de comillas para diéresis\n"
  24146. " -g, --graphics aproxima gráficos IBMPC mediante gráficos ASCII\n"
  24147. " -x, --ignore=JUEGO descarta JUEGO al escoger un camino de conversión\n"
  24148. @@ -215,61 +199,51 @@
  24149. "FORMAT is `decimal', `octal', `hexadecimal' or `full' (or one of `dohf').\n"
  24150. msgstr ""
  24151. "\n"
  24152. -"La opción -l sin FORMATO ni JUEGO muestra los juegos de caracteres y "
  24153. -"facetas.\n"
  24154. -"disponibles. FORMATO es `decimal', `octal', `hexadecimal' o `full' (o uno "
  24155. -"de\n"
  24156. +"La opción -l sin FORMATO ni JUEGO muestra los juegos de caracteres y facetas.\n"
  24157. +"disponibles. FORMATO es `decimal', `octal', `hexadecimal' o `full' (o uno de\n"
  24158. "entre `dohf').\n"
  24159. #: src/main.c:302
  24160. -#, fuzzy
  24161. msgid ""
  24162. -"Unless DEFAULT_CHARSET is set in environment, CHARSET defaults to the "
  24163. -"locale\n"
  24164. +"Unless DEFAULT_CHARSET is set in environment, CHARSET defaults to the locale\n"
  24165. "dependent encoding, determined by LC_ALL, LC_CTYPE, LANG.\n"
  24166. msgstr ""
  24167. -"A menos que se establezca DEFAULT_CHARSET en el entorno,\n"
  24168. -"CHARSET es `%s' por omisión.\n"
  24169. +"A menos que se establezca DEFAULT_CHARSET en el entorno, el valor\n"
  24170. +"predeterminado de CHARSET es la codificación de la que depende el locale,\n"
  24171. +"determinada por LC_ALL, LC_CTYPE, LANG.\n"
  24172. #: src/main.c:307
  24173. msgid ""
  24174. "With -k, possible before charsets are listed for the given after CHARSET,\n"
  24175. -"both being tabular charsets, with PAIRS of the form "
  24176. -"`BEF1:AFT1,BEF2:AFT2,...'\n"
  24177. +"both being tabular charsets, with PAIRS of the form `BEF1:AFT1,BEF2:AFT2,...'\n"
  24178. "and BEFs and AFTs being codes are given as decimal numbers.\n"
  24179. msgstr ""
  24180. -"Con -k, se muestran los posibles juegos `antes' para el JUEGO `después' "
  24181. -"dado,\n"
  24182. +"Con -k, se muestran los posibles juegos `antes' para el JUEGO `después' dado,\n"
  24183. "siendo ambos juegos de caracteres tabulares, con PAREJAS de la forma\n"
  24184. "`ANT1:DES1,ANT2:DES2,...' y siendo los ANTs y los DESs códigos dados\n"
  24185. "como números decimales.\n"
  24186. #: src/main.c:312
  24187. -msgid ""
  24188. -"LN is some language, it may be `c', `perl' or `po'; `c' is the default.\n"
  24189. +msgid "LN is some language, it may be `c', `perl' or `po'; `c' is the default.\n"
  24190. msgstr ""
  24191. -"LN es algún lenguage, puede ser `c', `perl' o `po', el valor predeterminado\n"
  24192. +"LN es algún lenguaje, puede ser `c', `perl' o `po', el valor predeterminado\n"
  24193. "es `c'\n"
  24194. # FIXME: [SURFACE]... means the usual surfaces or the usual surface?
  24195. #: src/main.c:315
  24196. msgid ""
  24197. "\n"
  24198. -"REQUEST is SUBREQUEST[,SUBREQUEST]...; SUBREQUEST is "
  24199. -"ENCODING[..ENCODING]...\n"
  24200. -"ENCODING is [CHARSET][/[SURFACE]]...; REQUEST often looks like "
  24201. -"BEFORE..AFTER,\n"
  24202. +"REQUEST is SUBREQUEST[,SUBREQUEST]...; SUBREQUEST is ENCODING[..ENCODING]...\n"
  24203. +"ENCODING is [CHARSET][/[SURFACE]]...; REQUEST often looks like BEFORE..AFTER,\n"
  24204. "with BEFORE and AFTER being charsets. An omitted CHARSET implies the usual\n"
  24205. -"charset; an omitted [/SURFACE]... means the implied surfaces for CHARSET; a "
  24206. -"/\n"
  24207. +"charset; an omitted [/SURFACE]... means the implied surfaces for CHARSET; a /\n"
  24208. "with an empty surface name means no surfaces at all. See the manual.\n"
  24209. msgstr ""
  24210. "\n"
  24211. "PETICIÓN es SUBPETICIÓN[,SUBPETICIÓN]...;\n"
  24212. "SUBPETICIÓN es CODIFICACIÓN[..CODIFICACIÓN]...\n"
  24213. "CODIFICACIÓN es [JUEGO][/[FACETA]]...; PETICIÓN suele ser ANTES..DESPUÉS,\n"
  24214. -"donde ANTES y DESPUÉS son juegos de caracteres. Un JUEGO omitido implica "
  24215. -"el\n"
  24216. +"donde ANTES y DESPUÉS son juegos de caracteres. Un JUEGO omitido implica el\n"
  24217. "juego de caracteres usual; una [/FACETA]... omitida significa la faceta\n"
  24218. "implícita para el JUEGO; una / con una faceta vacía significa que no hay\n"
  24219. "ninguna faceta. Véase el manual.\n"
  24220. @@ -284,8 +258,7 @@
  24221. "\n"
  24222. "Si no se especifica ninguna de las opciones -i ó -p, se supone -p si no\n"
  24223. "hay ningún FICHERO, o si no, -i. Cada FICHERO se convierte sobre sí mismo,\n"
  24224. -"destruyendo el original. Si no es especifica ningún FICHERO, entonces "
  24225. -"funciona\n"
  24226. +"destruyendo el original. Si no es especifica ningún FICHERO, entonces funciona\n"
  24227. "como filtro y convierte la entrada estándar en la salida estándar.\n"
  24228. #: src/main.c:329
  24229. @@ -294,46 +267,43 @@
  24230. "Report bugs to <recode-bugs@iro.umontreal.ca>.\n"
  24231. msgstr ""
  24232. "\n"
  24233. -"Comunicar `bugs' a <recode-bugs@iro.umontreal.ca>.\n"
  24234. +"Comunicar bichos a <recode-bugs@iro.umontreal.ca>.\n"
  24235. #: src/main.c:430
  24236. #, c-format
  24237. msgid "Sequence `%s' is ambiguous"
  24238. -msgstr ""
  24239. +msgstr "La sucesión `%s' es ambigua"
  24240. #: src/main.c:434
  24241. #, c-format
  24242. msgid "Sequence `%s' is unknown"
  24243. -msgstr ""
  24244. +msgstr "La sucesión `%s' es desconocida"
  24245. #: src/main.c:464 src/main.c:522
  24246. #, c-format
  24247. msgid "Language `%s' is ambiguous"
  24248. -msgstr ""
  24249. +msgstr "El idioma `%s' es ambiguo"
  24250. #. -1
  24251. #: src/main.c:468 src/main.c:526
  24252. #, c-format
  24253. msgid "Language `%s' is unknown"
  24254. -msgstr ""
  24255. +msgstr "El idioma `%s' es desconocido"
  24256. #: src/main.c:560
  24257. #, c-format
  24258. msgid "Format `%s' is ambiguous"
  24259. -msgstr ""
  24260. +msgstr "El formato `%s' es ambiguo"
  24261. #: src/main.c:564
  24262. #, c-format
  24263. msgid "Format `%s' is unknown"
  24264. -msgstr ""
  24265. +msgstr "El formato `%s' es desconocido"
  24266. # Se entiende que los usuarios españoles sí tendrán iso-8859-1.
  24267. #: src/main.c:621
  24268. -#, fuzzy
  24269. msgid "Written by Franc,ois Pinard <pinard@iro.umontreal.ca>.\n"
  24270. -msgstr ""
  24271. -"\n"
  24272. -"Escrito por François Pinard <pinard@iro.umontreal.ca>.\n"
  24273. +msgstr "Escrito por François Pinard <pinard@iro.umontreal.ca>.\n"
  24274. # FIXME: Añadir 1998 (?).
  24275. #: src/main.c:624
  24276. @@ -356,26 +326,26 @@
  24277. #: src/main.c:669
  24278. #, c-format
  24279. msgid "Symbol `%s' is unknown"
  24280. -msgstr ""
  24281. +msgstr "El símbolo `%s' es desconocido"
  24282. #: src/main.c:709 src/main.c:723
  24283. #, c-format
  24284. msgid "Charset `%s' is unknown or ambiguous"
  24285. -msgstr ""
  24286. +msgstr "El juego de caracteres `%s' es desconocido o ambiguo"
  24287. #: src/main.c:754
  24288. msgid "Required argument is missing"
  24289. -msgstr ""
  24290. +msgstr "Falta el argumento requerido"
  24291. #: src/main.c:797
  24292. -#, fuzzy, c-format
  24293. +#, c-format
  24294. msgid "Syntax is deprecated, please prefer `%s'"
  24295. -msgstr "Sintaxis antigua, por favor utilice `%s'"
  24296. +msgstr "La sintaxis es antigua, por favor utilice `%s'"
  24297. #: src/main.c:803
  24298. #, c-format
  24299. msgid "Request `%s' is erroneous"
  24300. -msgstr ""
  24301. +msgstr "La petición `%s' es errónea"
  24302. #: src/main.c:903
  24303. #, c-format
  24304. @@ -387,19 +357,19 @@
  24305. msgstr " hecho\n"
  24306. #: src/main.c:954
  24307. -#, fuzzy, c-format
  24308. +#, c-format
  24309. msgid " failed: %s in step `%s..%s'\n"
  24310. -msgstr " falló: %s en %s..%s\n"
  24311. +msgstr " falló: %s en el paso %s..%s\n"
  24312. #: src/main.c:961
  24313. -#, fuzzy, c-format
  24314. +#, c-format
  24315. msgid "%s failed: %s in step `%s..%s'"
  24316. -msgstr "%s falló: %s en %s..%s"
  24317. +msgstr "%s falló: %s en el paso %s..%s"
  24318. #: src/main.c:984
  24319. -#, fuzzy, c-format
  24320. +#, c-format
  24321. msgid "%s in step `%s..%s'"
  24322. -msgstr "%s en %s..%s"
  24323. +msgstr "%s en el paso %s..%s"
  24324. #: src/names.c:335
  24325. #, c-format
  24326. @@ -472,8 +442,7 @@
  24327. #: src/recode.c:272
  24328. msgid "Cannot complete table from set of known pairs"
  24329. -msgstr ""
  24330. -"No se puede completar la tabla a partir del conjunto de pares conocidos"
  24331. +msgstr "No se puede completar la tabla a partir del conjunto de pares conocidos"
  24332. #: src/recode.c:497
  24333. msgid "Identity recoding, not worth a table"
  24334. @@ -491,7 +460,7 @@
  24335. #: src/recode.c:536
  24336. #, c-format
  24337. msgid "%sConversion table generated mechanically by Free `%s' %s"
  24338. -msgstr "%sTabla de conversión generada automáticamente por GNU %s %s"
  24339. +msgstr "%sTabla de conversión generada automáticamente por Free `%s' %s"
  24340. #: src/recode.c:538
  24341. #, c-format
  24342. @@ -500,7 +469,7 @@
  24343. #: src/recode.c:744
  24344. msgid "No table to print"
  24345. -msgstr "No hay tabla que mostrar"
  24346. +msgstr "No hay ninguna tabla que mostrar"
  24347. #: src/request.c:34
  24348. msgid "reversible"
  24349. @@ -580,32 +549,6 @@
  24350. "UCS2 Nem Descripción\n"
  24351. "\n"
  24352. -#~ msgid "CHARSET has no default, define DEFAULT_CHARSET in the environment.\n"
  24353. -#~ msgstr ""
  24354. -#~ "CHARSET no tiene ningún valor predeterminado, defina DEFAULT_CHARSET en el\n"
  24355. -#~ "entorno.\n"
  24356. -
  24357. -#~ msgid "Ambiguous sequence `%s'"
  24358. -#~ msgstr "Sucesión ambigua `%s'"
  24359. -
  24360. -#~ msgid "Unknown sequence `%s'"
  24361. -#~ msgstr "Sucesión desconocida `%s'"
  24362. -
  24363. -#~ msgid "Ambiguous language `%s'"
  24364. -#~ msgstr "Idioma ambiguo `%s'"
  24365. -
  24366. -#~ msgid "Unknown language `%s'"
  24367. -#~ msgstr "Idioma desconocido `%s'"
  24368. -
  24369. -#~ msgid "Ambiguous format `%s'"
  24370. -#~ msgstr "Formato ambiguo `%s'"
  24371. -
  24372. -#~ msgid "Unknown format `%s'"
  24373. -#~ msgstr "Formato desconocido `%s'"
  24374. -
  24375. -#~ msgid "Erroneous request `%s'"
  24376. -#~ msgstr "Petición errónea `%s'"
  24377. -
  24378. # Este es difícil. Se admiten sugerencias.
  24379. # Especialmente de alguien que conozca bien el programa.
  24380. # Creo que "stats" en este caso es abreviatura de "statistics"
  24381. @@ -730,12 +673,10 @@
  24382. #~ "FORMAT is a word among decimal, octal, hexadecimal or full (which may be\n"
  24383. #~ "abbreviated to one of `dohf'), it defaults to just the canonical name.\n"
  24384. #~ "With -k, possible before charsets are listed for the given after CHARSET,\n"
  24385. -#~ "both being RFC1345 charsets, with PAIRS of the form "
  24386. -#~ "`BEF1:AFT1,BEF2:AFT2,...\n"
  24387. +#~ "both being RFC1345 charsets, with PAIRS of the form `BEF1:AFT1,BEF2:AFT2,...\n"
  24388. #~ "and BEFs and AFTs being codes. All codes are given as decimal numbers.\n"
  24389. #~ msgstr ""
  24390. -#~ "Los argumentos obligatorios u opcionales para las opciones largas también "
  24391. -#~ "son\n"
  24392. +#~ "Los argumentos obligatorios u opcionales para las opciones largas también son\n"
  24393. #~ "obligatorios u opcionales para las opciones cortas.\n"
  24394. #~ "\n"
  24395. #~ " -C, --copyright muestra el Copyright y la condiciones de copia\n"
  24396. @@ -749,8 +690,7 @@
  24397. #~ "\n"
  24398. #~ "FORMATO es la palabra decimal, octal, hexadecimal o full (que se pueden\n"
  24399. #~ "abreviar por una de las letras `dohf'), por omisión el nombre canónico.\n"
  24400. -#~ "Con -k, se muestran los posibles juegos \"antes\" para el JUEGO \"después\" "
  24401. -#~ "dado,\n"
  24402. +#~ "Con -k, se muestran los posibles juegos \"antes\" para el JUEGO \"después\" dado,\n"
  24403. #~ "siendo ambos juegos RFC1345, con PARES de la forma `ANT1:DES1,ANT2:DES2,...\n"
  24404. #~ "donde los ANTs y los DESs son códigos. Todos los códigos se dan en decimal\n"
  24405. @@ -762,8 +702,7 @@
  24406. # "Mis juegos favoritos (y los de Pinard :-) son..."
  24407. #
  24408. #~ msgid ""
  24409. -#~ "Option -l with no FORMAT nor CHARSET list all charsets, also see the "
  24410. -#~ "Texinfo\n"
  24411. +#~ "Option -l with no FORMAT nor CHARSET list all charsets, also see the Texinfo\n"
  24412. #~ "documentation. My preferred charsets are (each user has preferences):\n"
  24413. #~ "\n"
  24414. #~ " ascii-bs ASCII (7-bit), using backspace to apply diacritics\n"
  24415. @@ -772,10 +711,8 @@
  24416. #~ " latin1 ISO Latin-1 8-bit extension of ASCII\n"
  24417. #~ " texte Easy French convention for transmitting email messages\n"
  24418. #~ msgstr ""
  24419. -#~ "La opción -l sin FORMATO ni JUEGO muestra todos los juegos, véase también "
  24420. -#~ "la\n"
  24421. -#~ "documentación de Texinfo. Mis juegos favoritos son (cada uno tendrá los "
  24422. -#~ "suyos):\n"
  24423. +#~ "La opción -l sin FORMATO ni JUEGO muestra todos los juegos, véase también la\n"
  24424. +#~ "documentación de Texinfo. Mis juegos favoritos son (cada uno tendrá los suyos):\n"
  24425. #~ "\n"
  24426. #~ " ascii-bs ASCII (7-bit), utilizando backspace para acentos y demás\n"
  24427. #~ " ibmpc IBM-PC (8-bit), con retornos de carro adecuados\n"
  24428. @@ -805,8 +742,7 @@
  24429. # De momento no veo qué de malo tiene "pasada".
  24430. # Si acaso, que modernamente tenga otros significados ("¡es una pasada!" :-).
  24431. #
  24432. -#~ msgid ""
  24433. -#~ " -o, --sequence=popen use popen machinery for sequencing passes\n"
  24434. +#~ msgid " -o, --sequence=popen use popen machinery for sequencing passes\n"
  24435. #~ msgstr " -o, --sequence=popen utiliza popen para las pasadas\n"
  24436. #~ msgid " -o, --sequence=popen same as -i (on this system)\n"
  24437. @@ -867,8 +803,5 @@
  24438. #~ msgid "Mere copy for the trivial recoding\n"
  24439. #~ msgstr "Copia pura y simple para la conversión trivial\n"
  24440. -#~ msgid "UNACHIEVABLE recoding!\n"
  24441. -#~ msgstr "¡Conversión IMPOSIBLE!\n"
  24442. -
  24443. #~ msgid "You may not explicitly recode from RFC 1345"
  24444. #~ msgstr "No se puede convertir explícitamente a partir de RFC 1345"
  24445. --- recode-3.6.orig/aclocal.m4
  24446. +++ recode-3.6/aclocal.m4
  24447. @@ -1,6 +1,6 @@
  24448. -dnl aclocal.m4 generated automatically by aclocal 1.4
  24449. +dnl aclocal.m4 generated automatically by aclocal 1.4-p6
  24450. -dnl Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
  24451. +dnl Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
  24452. dnl This file is free software; the Free Software Foundation
  24453. dnl gives unlimited permission to copy and/or distribute it,
  24454. dnl with or without modifications, as long as this notice is preserved.
  24455. @@ -10,81 +10,73 @@
  24456. dnl even the implied warranty of MERCHANTABILITY or FITNESS FOR A
  24457. dnl PARTICULAR PURPOSE.
  24458. +# libtool.m4 - Configure libtool for the host system. -*-Shell-script-*-
  24459. -# serial 40 AC_PROG_LIBTOOL
  24460. -AC_DEFUN(AC_PROG_LIBTOOL,
  24461. -[AC_REQUIRE([AC_LIBTOOL_SETUP])dnl
  24462. -
  24463. -# Save cache, so that ltconfig can load it
  24464. -AC_CACHE_SAVE
  24465. +# serial 46 AC_PROG_LIBTOOL
  24466. +# Debian $Rev: 50 $
  24467. -# Actually configure libtool. ac_aux_dir is where install-sh is found.
  24468. -CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
  24469. -LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
  24470. -LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" \
  24471. -DLLTOOL="$DLLTOOL" AS="$AS" OBJDUMP="$OBJDUMP" \
  24472. -${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
  24473. -$libtool_flags --no-verify $ac_aux_dir/ltmain.sh $lt_target \
  24474. -|| AC_MSG_ERROR([libtool configure failed])
  24475. -
  24476. -# Reload cache, that may have been modified by ltconfig
  24477. -AC_CACHE_LOAD
  24478. +AC_DEFUN([AC_PROG_LIBTOOL],
  24479. +[AC_REQUIRE([AC_LIBTOOL_SETUP])dnl
  24480. # This can be used to rebuild libtool when needed
  24481. -LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh"
  24482. +LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
  24483. # Always use our own libtool.
  24484. LIBTOOL='$(SHELL) $(top_builddir)/libtool'
  24485. AC_SUBST(LIBTOOL)dnl
  24486. -# Redirect the config.log output again, so that the ltconfig log is not
  24487. -# clobbered by the next message.
  24488. -exec 5>>./config.log
  24489. +# Prevent multiple expansion
  24490. +define([AC_PROG_LIBTOOL], [])
  24491. ])
  24492. -AC_DEFUN(AC_LIBTOOL_SETUP,
  24493. +AC_DEFUN([AC_LIBTOOL_SETUP],
  24494. [AC_PREREQ(2.13)dnl
  24495. AC_REQUIRE([AC_ENABLE_SHARED])dnl
  24496. AC_REQUIRE([AC_ENABLE_STATIC])dnl
  24497. AC_REQUIRE([AC_ENABLE_FAST_INSTALL])dnl
  24498. AC_REQUIRE([AC_CANONICAL_HOST])dnl
  24499. AC_REQUIRE([AC_CANONICAL_BUILD])dnl
  24500. -AC_REQUIRE([AC_PROG_RANLIB])dnl
  24501. AC_REQUIRE([AC_PROG_CC])dnl
  24502. AC_REQUIRE([AC_PROG_LD])dnl
  24503. +AC_REQUIRE([AC_PROG_LD_RELOAD_FLAG])dnl
  24504. AC_REQUIRE([AC_PROG_NM])dnl
  24505. +AC_REQUIRE([LT_AC_PROG_SED])dnl
  24506. +
  24507. AC_REQUIRE([AC_PROG_LN_S])dnl
  24508. +AC_REQUIRE([AC_DEPLIBS_CHECK_METHOD])dnl
  24509. +AC_REQUIRE([AC_OBJEXT])dnl
  24510. +AC_REQUIRE([AC_EXEEXT])dnl
  24511. dnl
  24512. -case "$target" in
  24513. -NONE) lt_target="$host" ;;
  24514. -*) lt_target="$target" ;;
  24515. +_LT_AC_PROG_ECHO_BACKSLASH
  24516. +# Only perform the check for file, if the check method requires it
  24517. +case $deplibs_check_method in
  24518. +file_magic*)
  24519. + if test "$file_magic_cmd" = '$MAGIC_CMD'; then
  24520. + AC_PATH_MAGIC
  24521. + fi
  24522. + ;;
  24523. esac
  24524. -# Check for any special flags to pass to ltconfig.
  24525. -libtool_flags="--cache-file=$cache_file"
  24526. -test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
  24527. -test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
  24528. -test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
  24529. -test "$ac_cv_prog_gcc" = yes && libtool_flags="$libtool_flags --with-gcc"
  24530. -test "$ac_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
  24531. -ifdef([AC_PROVIDE_AC_LIBTOOL_DLOPEN],
  24532. -[libtool_flags="$libtool_flags --enable-dlopen"])
  24533. +AC_CHECK_TOOL(RANLIB, ranlib, :)
  24534. +AC_CHECK_TOOL(STRIP, strip, :)
  24535. +
  24536. +ifdef([AC_PROVIDE_AC_LIBTOOL_DLOPEN], enable_dlopen=yes, enable_dlopen=no)
  24537. ifdef([AC_PROVIDE_AC_LIBTOOL_WIN32_DLL],
  24538. -[libtool_flags="$libtool_flags --enable-win32-dll"])
  24539. +enable_win32_dll=yes, enable_win32_dll=no)
  24540. +
  24541. AC_ARG_ENABLE(libtool-lock,
  24542. [ --disable-libtool-lock avoid locking (might break parallel builds)])
  24543. -test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
  24544. -test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
  24545. +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
  24546. # Some flags need to be propagated to the compiler or linker for good
  24547. # libtool support.
  24548. -case "$lt_target" in
  24549. +case $host in
  24550. *-*-irix6*)
  24551. # Find out which ABI we are using.
  24552. echo '[#]line __oline__ "configure"' > conftest.$ac_ext
  24553. if AC_TRY_EVAL(ac_compile); then
  24554. - case "`/usr/bin/file conftest.o`" in
  24555. + case `/usr/bin/file conftest.$ac_objext` in
  24556. *32-bit*)
  24557. LD="${LD-ld} -32"
  24558. ;;
  24559. @@ -104,41 +96,2884 @@
  24560. SAVE_CFLAGS="$CFLAGS"
  24561. CFLAGS="$CFLAGS -belf"
  24562. AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,
  24563. - [AC_TRY_LINK([],[],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])])
  24564. + [AC_LANG_SAVE
  24565. + AC_LANG_C
  24566. + AC_TRY_LINK([],[],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])
  24567. + AC_LANG_RESTORE])
  24568. if test x"$lt_cv_cc_needs_belf" != x"yes"; then
  24569. # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
  24570. CFLAGS="$SAVE_CFLAGS"
  24571. fi
  24572. ;;
  24573. -ifdef([AC_PROVIDE_AC_LIBTOOL_WIN32_DLL],
  24574. -[*-*-cygwin* | *-*-mingw*)
  24575. - AC_CHECK_TOOL(DLLTOOL, dlltool, false)
  24576. - AC_CHECK_TOOL(AS, as, false)
  24577. - AC_CHECK_TOOL(OBJDUMP, objdump, false)
  24578. - ;;
  24579. -])
  24580. -esac
  24581. -])
  24582. +ifdef([AC_PROVIDE_AC_LIBTOOL_WIN32_DLL],
  24583. +[*-*-cygwin* | *-*-mingw* | *-*-pw32*)
  24584. + AC_CHECK_TOOL(DLLTOOL, dlltool, false)
  24585. + AC_CHECK_TOOL(AS, as, false)
  24586. + AC_CHECK_TOOL(OBJDUMP, objdump, false)
  24587. +
  24588. + # recent cygwin and mingw systems supply a stub DllMain which the user
  24589. + # can override, but on older systems we have to supply one
  24590. + AC_CACHE_CHECK([if libtool should supply DllMain function], lt_cv_need_dllmain,
  24591. + [AC_TRY_LINK([],
  24592. + [extern int __attribute__((__stdcall__)) DllMain(void*, int, void*);
  24593. + DllMain (0, 0, 0);],
  24594. + [lt_cv_need_dllmain=no],[lt_cv_need_dllmain=yes])])
  24595. +
  24596. + case $host/$CC in
  24597. + *-*-cygwin*/gcc*-mno-cygwin*|*-*-mingw*)
  24598. + # old mingw systems require "-dll" to link a DLL, while more recent ones
  24599. + # require "-mdll"
  24600. + SAVE_CFLAGS="$CFLAGS"
  24601. + CFLAGS="$CFLAGS -mdll"
  24602. + AC_CACHE_CHECK([how to link DLLs], lt_cv_cc_dll_switch,
  24603. + [AC_TRY_LINK([], [], [lt_cv_cc_dll_switch=-mdll],[lt_cv_cc_dll_switch=-dll])])
  24604. + CFLAGS="$SAVE_CFLAGS" ;;
  24605. + *-*-cygwin* | *-*-pw32*)
  24606. + # cygwin systems need to pass --dll to the linker, and not link
  24607. + # crt.o which will require a WinMain@16 definition.
  24608. + lt_cv_cc_dll_switch="-Wl,--dll -nostartfiles" ;;
  24609. + esac
  24610. + ;;
  24611. + ])
  24612. +esac
  24613. +
  24614. +_LT_AC_LTCONFIG_HACK
  24615. +
  24616. +])
  24617. +
  24618. +# AC_LIBTOOL_HEADER_ASSERT
  24619. +# ------------------------
  24620. +AC_DEFUN([AC_LIBTOOL_HEADER_ASSERT],
  24621. +[AC_CACHE_CHECK([whether $CC supports assert without backlinking],
  24622. + [lt_cv_func_assert_works],
  24623. + [case $host in
  24624. + *-*-solaris*)
  24625. + if test "$GCC" = yes && test "$with_gnu_ld" != yes; then
  24626. + case `$CC --version 2>/dev/null` in
  24627. + [[12]].*) lt_cv_func_assert_works=no ;;
  24628. + *) lt_cv_func_assert_works=yes ;;
  24629. + esac
  24630. + fi
  24631. + ;;
  24632. + esac])
  24633. +
  24634. +if test "x$lt_cv_func_assert_works" = xyes; then
  24635. + AC_CHECK_HEADERS(assert.h)
  24636. +fi
  24637. +])# AC_LIBTOOL_HEADER_ASSERT
  24638. +
  24639. +# _LT_AC_CHECK_DLFCN
  24640. +# --------------------
  24641. +AC_DEFUN([_LT_AC_CHECK_DLFCN],
  24642. +[AC_CHECK_HEADERS(dlfcn.h)
  24643. +])# _LT_AC_CHECK_DLFCN
  24644. +
  24645. +# AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
  24646. +# ---------------------------------
  24647. +AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE],
  24648. +[AC_REQUIRE([AC_CANONICAL_HOST])
  24649. +AC_REQUIRE([AC_PROG_NM])
  24650. +AC_REQUIRE([AC_OBJEXT])
  24651. +# Check for command to grab the raw symbol name followed by C symbol from nm.
  24652. +AC_MSG_CHECKING([command to parse $NM output])
  24653. +AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe], [dnl
  24654. +
  24655. +# These are sane defaults that work on at least a few old systems.
  24656. +# [They come from Ultrix. What could be older than Ultrix?!! ;)]
  24657. +
  24658. +# Character class describing NM global symbol codes.
  24659. +symcode='[[BCDEGRST]]'
  24660. +
  24661. +# Regexp to match symbols that can be accessed directly from C.
  24662. +sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)'
  24663. +
  24664. +# Transform the above into a raw symbol and a C symbol.
  24665. +symxfrm='\1 \2\3 \3'
  24666. +
  24667. +# Transform an extracted symbol line into a proper C declaration
  24668. +lt_cv_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern char \1;/p'"
  24669. +
  24670. +# Transform an extracted symbol line into symbol name and symbol address
  24671. +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'"
  24672. +
  24673. +# Define system-specific variables.
  24674. +case $host_os in
  24675. +aix*)
  24676. + symcode='[[BCDT]]'
  24677. + ;;
  24678. +cygwin* | mingw* | pw32*)
  24679. + symcode='[[ABCDGISTW]]'
  24680. + ;;
  24681. +hpux*) # Its linker distinguishes data from code symbols
  24682. + lt_cv_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern char \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
  24683. + 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'"
  24684. + ;;
  24685. +irix* | nonstopux*)
  24686. + symcode='[[BCDEGRST]]'
  24687. + ;;
  24688. +osf*)
  24689. + symcode='[[BCDEGQRST]]'
  24690. + ;;
  24691. +solaris* | sysv5*)
  24692. + symcode='[[BDT]]'
  24693. + ;;
  24694. +sysv4)
  24695. + symcode='[[DFNSTU]]'
  24696. + ;;
  24697. +esac
  24698. +
  24699. +# Handle CRLF in mingw tool chain
  24700. +opt_cr=
  24701. +case $host_os in
  24702. +mingw*)
  24703. + opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
  24704. + ;;
  24705. +esac
  24706. +
  24707. +# If we're using GNU nm, then use its standard symbol codes.
  24708. +if $NM -V 2>&1 | egrep '(GNU|with BFD)' > /dev/null; then
  24709. + symcode='[[ABCDGISTW]]'
  24710. +fi
  24711. +
  24712. +# Try without a prefix undercore, then with it.
  24713. +for ac_symprfx in "" "_"; do
  24714. +
  24715. + # Write the raw and C identifiers.
  24716. +lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
  24717. +
  24718. + # Check to see that the pipe works correctly.
  24719. + pipe_works=no
  24720. + rm -f conftest*
  24721. + cat > conftest.$ac_ext <<EOF
  24722. +#ifdef __cplusplus
  24723. +extern "C" {
  24724. +#endif
  24725. +char nm_test_var;
  24726. +void nm_test_func(){}
  24727. +#ifdef __cplusplus
  24728. +}
  24729. +#endif
  24730. +int main(){nm_test_var='a';nm_test_func();return(0);}
  24731. +EOF
  24732. +
  24733. + if AC_TRY_EVAL(ac_compile); then
  24734. + # Now try to grab the symbols.
  24735. + nlist=conftest.nm
  24736. + if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) && test -s "$nlist"; then
  24737. + # Try sorting and uniquifying the output.
  24738. + if sort "$nlist" | uniq > "$nlist"T; then
  24739. + mv -f "$nlist"T "$nlist"
  24740. + else
  24741. + rm -f "$nlist"T
  24742. + fi
  24743. +
  24744. + # Make sure that we snagged all the symbols we need.
  24745. + if egrep ' nm_test_var$' "$nlist" >/dev/null; then
  24746. + if egrep ' nm_test_func$' "$nlist" >/dev/null; then
  24747. + cat <<EOF > conftest.$ac_ext
  24748. +#ifdef __cplusplus
  24749. +extern "C" {
  24750. +#endif
  24751. +
  24752. +EOF
  24753. + # Now generate the symbol file.
  24754. + eval "$lt_cv_global_symbol_to_cdecl"' < "$nlist" >> conftest.$ac_ext'
  24755. +
  24756. + cat <<EOF >> conftest.$ac_ext
  24757. +#if defined (__STDC__) && __STDC__
  24758. +# define lt_ptr void *
  24759. +#else
  24760. +# define lt_ptr char *
  24761. +# define const
  24762. +#endif
  24763. +
  24764. +/* The mapping between symbol names and symbols. */
  24765. +const struct {
  24766. + const char *name;
  24767. + lt_ptr address;
  24768. +}
  24769. +lt_preloaded_symbols[[]] =
  24770. +{
  24771. +EOF
  24772. + sed "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr) \&\2},/" < "$nlist" >> conftest.$ac_ext
  24773. + cat <<\EOF >> conftest.$ac_ext
  24774. + {0, (lt_ptr) 0}
  24775. +};
  24776. +
  24777. +#ifdef __cplusplus
  24778. +}
  24779. +#endif
  24780. +EOF
  24781. + # Now try linking the two files.
  24782. + mv conftest.$ac_objext conftstm.$ac_objext
  24783. + save_LIBS="$LIBS"
  24784. + save_CFLAGS="$CFLAGS"
  24785. + LIBS="conftstm.$ac_objext"
  24786. + CFLAGS="$CFLAGS$no_builtin_flag"
  24787. + if AC_TRY_EVAL(ac_link) && test -s conftest$ac_exeext; then
  24788. + pipe_works=yes
  24789. + fi
  24790. + LIBS="$save_LIBS"
  24791. + CFLAGS="$save_CFLAGS"
  24792. + else
  24793. + echo "cannot find nm_test_func in $nlist" >&AC_FD_CC
  24794. + fi
  24795. + else
  24796. + echo "cannot find nm_test_var in $nlist" >&AC_FD_CC
  24797. + fi
  24798. + else
  24799. + echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AC_FD_CC
  24800. + fi
  24801. + else
  24802. + echo "$progname: failed program was:" >&AC_FD_CC
  24803. + cat conftest.$ac_ext >&5
  24804. + fi
  24805. + rm -f conftest* conftst*
  24806. +
  24807. + # Do not use the global_symbol_pipe unless it works.
  24808. + if test "$pipe_works" = yes; then
  24809. + break
  24810. + else
  24811. + lt_cv_sys_global_symbol_pipe=
  24812. + fi
  24813. +done
  24814. +])
  24815. +global_symbol_pipe="$lt_cv_sys_global_symbol_pipe"
  24816. +if test -z "$lt_cv_sys_global_symbol_pipe"; then
  24817. + global_symbol_to_cdecl=
  24818. + global_symbol_to_c_name_address=
  24819. +else
  24820. + global_symbol_to_cdecl="$lt_cv_global_symbol_to_cdecl"
  24821. + global_symbol_to_c_name_address="$lt_cv_global_symbol_to_c_name_address"
  24822. +fi
  24823. +if test -z "$global_symbol_pipe$global_symbol_to_cdec$global_symbol_to_c_name_address";
  24824. +then
  24825. + AC_MSG_RESULT(failed)
  24826. +else
  24827. + AC_MSG_RESULT(ok)
  24828. +fi
  24829. +]) # AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
  24830. +
  24831. +# _LT_AC_LIBTOOL_SYS_PATH_SEPARATOR
  24832. +# ---------------------------------
  24833. +AC_DEFUN([_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR],
  24834. +[# Find the correct PATH separator. Usually this is `:', but
  24835. +# DJGPP uses `;' like DOS.
  24836. +if test "X${PATH_SEPARATOR+set}" != Xset; then
  24837. + UNAME=${UNAME-`uname 2>/dev/null`}
  24838. + case X$UNAME in
  24839. + *-DOS) lt_cv_sys_path_separator=';' ;;
  24840. + *) lt_cv_sys_path_separator=':' ;;
  24841. + esac
  24842. + PATH_SEPARATOR=$lt_cv_sys_path_separator
  24843. +fi
  24844. +])# _LT_AC_LIBTOOL_SYS_PATH_SEPARATOR
  24845. +
  24846. +# _LT_AC_PROG_ECHO_BACKSLASH
  24847. +# --------------------------
  24848. +# Add some code to the start of the generated configure script which
  24849. +# will find an echo command which doesn't interpret backslashes.
  24850. +AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH],
  24851. +[ifdef([AC_DIVERSION_NOTICE], [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)],
  24852. + [AC_DIVERT_PUSH(NOTICE)])
  24853. +_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR
  24854. +
  24855. +# Check that we are running under the correct shell.
  24856. +SHELL=${CONFIG_SHELL-/bin/sh}
  24857. +
  24858. +case X$ECHO in
  24859. +X*--fallback-echo)
  24860. + # Remove one level of quotation (which was required for Make).
  24861. + ECHO=`echo "$ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','`
  24862. + ;;
  24863. +esac
  24864. +
  24865. +echo=${ECHO-echo}
  24866. +if test "X[$]1" = X--no-reexec; then
  24867. + # Discard the --no-reexec flag, and continue.
  24868. + shift
  24869. +elif test "X[$]1" = X--fallback-echo; then
  24870. + # Avoid inline document here, it may be left over
  24871. + :
  24872. +elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then
  24873. + # Yippee, $echo works!
  24874. + :
  24875. +else
  24876. + # Restart under the correct shell.
  24877. + exec $SHELL "[$]0" --no-reexec ${1+"[$]@"}
  24878. +fi
  24879. +
  24880. +if test "X[$]1" = X--fallback-echo; then
  24881. + # used as fallback echo
  24882. + shift
  24883. + cat <<EOF
  24884. +$*
  24885. +EOF
  24886. + exit 0
  24887. +fi
  24888. +
  24889. +# The HP-UX ksh and POSIX shell print the target directory to stdout
  24890. +# if CDPATH is set.
  24891. +if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
  24892. +
  24893. +if test -z "$ECHO"; then
  24894. +if test "X${echo_test_string+set}" != Xset; then
  24895. +# find a string as large as possible, as long as the shell can cope with it
  24896. + for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do
  24897. + # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
  24898. + if (echo_test_string="`eval $cmd`") 2>/dev/null &&
  24899. + echo_test_string="`eval $cmd`" &&
  24900. + (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
  24901. + then
  24902. + break
  24903. + fi
  24904. + done
  24905. +fi
  24906. +
  24907. +if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
  24908. + echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
  24909. + test "X$echo_testing_string" = "X$echo_test_string"; then
  24910. + :
  24911. +else
  24912. + # The Solaris, AIX, and Digital Unix default echo programs unquote
  24913. + # backslashes. This makes it impossible to quote backslashes using
  24914. + # echo "$something" | sed 's/\\/\\\\/g'
  24915. + #
  24916. + # So, first we look for a working echo in the user's PATH.
  24917. +
  24918. + IFS="${IFS= }"; save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  24919. + for dir in $PATH /usr/ucb; do
  24920. + if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
  24921. + test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
  24922. + echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
  24923. + test "X$echo_testing_string" = "X$echo_test_string"; then
  24924. + echo="$dir/echo"
  24925. + break
  24926. + fi
  24927. + done
  24928. + IFS="$save_ifs"
  24929. +
  24930. + if test "X$echo" = Xecho; then
  24931. + # We didn't find a better echo, so look for alternatives.
  24932. + if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
  24933. + echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
  24934. + test "X$echo_testing_string" = "X$echo_test_string"; then
  24935. + # This shell has a builtin print -r that does the trick.
  24936. + echo='print -r'
  24937. + elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
  24938. + test "X$CONFIG_SHELL" != X/bin/ksh; then
  24939. + # If we have ksh, try running configure again with it.
  24940. + ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
  24941. + export ORIGINAL_CONFIG_SHELL
  24942. + CONFIG_SHELL=/bin/ksh
  24943. + export CONFIG_SHELL
  24944. + exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"}
  24945. + else
  24946. + # Try using printf.
  24947. + echo='printf %s\n'
  24948. + if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
  24949. + echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
  24950. + test "X$echo_testing_string" = "X$echo_test_string"; then
  24951. + # Cool, printf works
  24952. + :
  24953. + elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
  24954. + test "X$echo_testing_string" = 'X\t' &&
  24955. + echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
  24956. + test "X$echo_testing_string" = "X$echo_test_string"; then
  24957. + CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
  24958. + export CONFIG_SHELL
  24959. + SHELL="$CONFIG_SHELL"
  24960. + export SHELL
  24961. + echo="$CONFIG_SHELL [$]0 --fallback-echo"
  24962. + elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
  24963. + test "X$echo_testing_string" = 'X\t' &&
  24964. + echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
  24965. + test "X$echo_testing_string" = "X$echo_test_string"; then
  24966. + echo="$CONFIG_SHELL [$]0 --fallback-echo"
  24967. + else
  24968. + # maybe with a smaller string...
  24969. + prev=:
  24970. +
  24971. + for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do
  24972. + if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
  24973. + then
  24974. + break
  24975. + fi
  24976. + prev="$cmd"
  24977. + done
  24978. +
  24979. + if test "$prev" != 'sed 50q "[$]0"'; then
  24980. + echo_test_string=`eval $prev`
  24981. + export echo_test_string
  24982. + exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"}
  24983. + else
  24984. + # Oops. We lost completely, so just stick with echo.
  24985. + echo=echo
  24986. + fi
  24987. + fi
  24988. + fi
  24989. + fi
  24990. +fi
  24991. +fi
  24992. +
  24993. +# Copy echo and quote the copy suitably for passing to libtool from
  24994. +# the Makefile, instead of quoting the original, which is used later.
  24995. +ECHO=$echo
  24996. +if test "X$ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then
  24997. + ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo"
  24998. +fi
  24999. +
  25000. +AC_SUBST(ECHO)
  25001. +AC_DIVERT_POP
  25002. +])# _LT_AC_PROG_ECHO_BACKSLASH
  25003. +
  25004. +# _LT_AC_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
  25005. +# ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
  25006. +# ------------------------------------------------------------------
  25007. +AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF],
  25008. +[if test "$cross_compiling" = yes; then :
  25009. + [$4]
  25010. +else
  25011. + AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
  25012. + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
  25013. + lt_status=$lt_dlunknown
  25014. + cat > conftest.$ac_ext <<EOF
  25015. +[#line __oline__ "configure"
  25016. +#include "confdefs.h"
  25017. +
  25018. +#if HAVE_DLFCN_H
  25019. +#include <dlfcn.h>
  25020. +#endif
  25021. +
  25022. +#include <stdio.h>
  25023. +
  25024. +#ifdef RTLD_GLOBAL
  25025. +# define LT_DLGLOBAL RTLD_GLOBAL
  25026. +#else
  25027. +# ifdef DL_GLOBAL
  25028. +# define LT_DLGLOBAL DL_GLOBAL
  25029. +# else
  25030. +# define LT_DLGLOBAL 0
  25031. +# endif
  25032. +#endif
  25033. +
  25034. +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
  25035. + find out it does not work in some platform. */
  25036. +#ifndef LT_DLLAZY_OR_NOW
  25037. +# ifdef RTLD_LAZY
  25038. +# define LT_DLLAZY_OR_NOW RTLD_LAZY
  25039. +# else
  25040. +# ifdef DL_LAZY
  25041. +# define LT_DLLAZY_OR_NOW DL_LAZY
  25042. +# else
  25043. +# ifdef RTLD_NOW
  25044. +# define LT_DLLAZY_OR_NOW RTLD_NOW
  25045. +# else
  25046. +# ifdef DL_NOW
  25047. +# define LT_DLLAZY_OR_NOW DL_NOW
  25048. +# else
  25049. +# define LT_DLLAZY_OR_NOW 0
  25050. +# endif
  25051. +# endif
  25052. +# endif
  25053. +# endif
  25054. +#endif
  25055. +
  25056. +#ifdef __cplusplus
  25057. +extern "C" void exit (int);
  25058. +#endif
  25059. +
  25060. +void fnord() { int i=42;}
  25061. +int main ()
  25062. +{
  25063. + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
  25064. + int status = $lt_dlunknown;
  25065. +
  25066. + if (self)
  25067. + {
  25068. + if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
  25069. + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
  25070. + /* dlclose (self); */
  25071. + }
  25072. +
  25073. + exit (status);
  25074. +}]
  25075. +EOF
  25076. + if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then
  25077. + (./conftest; exit; ) 2>/dev/null
  25078. + lt_status=$?
  25079. + case x$lt_status in
  25080. + x$lt_dlno_uscore) $1 ;;
  25081. + x$lt_dlneed_uscore) $2 ;;
  25082. + x$lt_unknown|x*) $3 ;;
  25083. + esac
  25084. + else :
  25085. + # compilation failed
  25086. + $3
  25087. + fi
  25088. +fi
  25089. +rm -fr conftest*
  25090. +])# _LT_AC_TRY_DLOPEN_SELF
  25091. +
  25092. +# AC_LIBTOOL_DLOPEN_SELF
  25093. +# -------------------
  25094. +AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF],
  25095. +[if test "x$enable_dlopen" != xyes; then
  25096. + enable_dlopen=unknown
  25097. + enable_dlopen_self=unknown
  25098. + enable_dlopen_self_static=unknown
  25099. +else
  25100. + lt_cv_dlopen=no
  25101. + lt_cv_dlopen_libs=
  25102. +
  25103. + case $host_os in
  25104. + beos*)
  25105. + lt_cv_dlopen="load_add_on"
  25106. + lt_cv_dlopen_libs=
  25107. + lt_cv_dlopen_self=yes
  25108. + ;;
  25109. +
  25110. + cygwin* | mingw* | pw32*)
  25111. + lt_cv_dlopen="LoadLibrary"
  25112. + lt_cv_dlopen_libs=
  25113. + ;;
  25114. +
  25115. + *)
  25116. + AC_CHECK_FUNC([shl_load],
  25117. + [lt_cv_dlopen="shl_load"],
  25118. + [AC_CHECK_LIB([dld], [shl_load],
  25119. + [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"],
  25120. + [AC_CHECK_FUNC([dlopen],
  25121. + [lt_cv_dlopen="dlopen"],
  25122. + [AC_CHECK_LIB([dl], [dlopen],
  25123. + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
  25124. + [AC_CHECK_LIB([svld], [dlopen],
  25125. + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
  25126. + [AC_CHECK_LIB([dld], [dld_link],
  25127. + [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
  25128. + ])
  25129. + ])
  25130. + ])
  25131. + ])
  25132. + ])
  25133. + ;;
  25134. + esac
  25135. +
  25136. + if test "x$lt_cv_dlopen" != xno; then
  25137. + enable_dlopen=yes
  25138. + else
  25139. + enable_dlopen=no
  25140. + fi
  25141. +
  25142. + case $lt_cv_dlopen in
  25143. + dlopen)
  25144. + save_CPPFLAGS="$CPPFLAGS"
  25145. + AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
  25146. + test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
  25147. +
  25148. + save_LDFLAGS="$LDFLAGS"
  25149. + eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
  25150. +
  25151. + save_LIBS="$LIBS"
  25152. + LIBS="$lt_cv_dlopen_libs $LIBS"
  25153. +
  25154. + AC_CACHE_CHECK([whether a program can dlopen itself],
  25155. + lt_cv_dlopen_self, [dnl
  25156. + _LT_AC_TRY_DLOPEN_SELF(
  25157. + lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes,
  25158. + lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross)
  25159. + ])
  25160. +
  25161. + if test "x$lt_cv_dlopen_self" = xyes; then
  25162. + LDFLAGS="$LDFLAGS $link_static_flag"
  25163. + AC_CACHE_CHECK([whether a statically linked program can dlopen itself],
  25164. + lt_cv_dlopen_self_static, [dnl
  25165. + _LT_AC_TRY_DLOPEN_SELF(
  25166. + lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes,
  25167. + lt_cv_dlopen_self_static=no, lt_cv_dlopen_self_static=cross)
  25168. + ])
  25169. + fi
  25170. +
  25171. + CPPFLAGS="$save_CPPFLAGS"
  25172. + LDFLAGS="$save_LDFLAGS"
  25173. + LIBS="$save_LIBS"
  25174. + ;;
  25175. + esac
  25176. +
  25177. + case $lt_cv_dlopen_self in
  25178. + yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
  25179. + *) enable_dlopen_self=unknown ;;
  25180. + esac
  25181. +
  25182. + case $lt_cv_dlopen_self_static in
  25183. + yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
  25184. + *) enable_dlopen_self_static=unknown ;;
  25185. + esac
  25186. +fi
  25187. +])# AC_LIBTOOL_DLOPEN_SELF
  25188. +
  25189. +AC_DEFUN([_LT_AC_LTCONFIG_HACK],
  25190. +[AC_REQUIRE([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE])dnl
  25191. +# Sed substitution that helps us do robust quoting. It backslashifies
  25192. +# metacharacters that are still active within double-quoted strings.
  25193. +Xsed='sed -e s/^X//'
  25194. +sed_quote_subst='s/\([[\\"\\`$\\\\]]\)/\\\1/g'
  25195. +
  25196. +# Same as above, but do not quote variable references.
  25197. +double_quote_subst='s/\([[\\"\\`\\\\]]\)/\\\1/g'
  25198. +
  25199. +# Sed substitution to delay expansion of an escaped shell variable in a
  25200. +# double_quote_subst'ed string.
  25201. +delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
  25202. +
  25203. +# Constants:
  25204. +rm="rm -f"
  25205. +
  25206. +# Global variables:
  25207. +default_ofile=libtool
  25208. +can_build_shared=yes
  25209. +
  25210. +# All known linkers require a `.a' archive for static linking (except M$VC,
  25211. +# which needs '.lib').
  25212. +libext=a
  25213. +ltmain="$ac_aux_dir/ltmain.sh"
  25214. +ofile="$default_ofile"
  25215. +with_gnu_ld="$lt_cv_prog_gnu_ld"
  25216. +need_locks="$enable_libtool_lock"
  25217. +
  25218. +old_CC="$CC"
  25219. +old_CFLAGS="$CFLAGS"
  25220. +
  25221. +# Set sane defaults for various variables
  25222. +test -z "$AR" && AR=ar
  25223. +test -z "$AR_FLAGS" && AR_FLAGS=cru
  25224. +test -z "$AS" && AS=as
  25225. +test -z "$CC" && CC=cc
  25226. +test -z "$DLLTOOL" && DLLTOOL=dlltool
  25227. +test -z "$LD" && LD=ld
  25228. +test -z "$LN_S" && LN_S="ln -s"
  25229. +test -z "$MAGIC_CMD" && MAGIC_CMD=file
  25230. +test -z "$NM" && NM=nm
  25231. +test -z "$OBJDUMP" && OBJDUMP=objdump
  25232. +test -z "$RANLIB" && RANLIB=:
  25233. +test -z "$STRIP" && STRIP=:
  25234. +test -z "$ac_objext" && ac_objext=o
  25235. +
  25236. +if test x"$host" != x"$build"; then
  25237. + ac_tool_prefix=${host_alias}-
  25238. +else
  25239. + ac_tool_prefix=
  25240. +fi
  25241. +
  25242. +# Transform linux* to *-*-linux-gnu*, to support old configure scripts.
  25243. +case $host_os in
  25244. +linux-gnu*) ;;
  25245. +linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'`
  25246. +esac
  25247. +
  25248. +case $host_os in
  25249. +aix3*)
  25250. + # AIX sometimes has problems with the GCC collect2 program. For some
  25251. + # reason, if we set the COLLECT_NAMES environment variable, the problems
  25252. + # vanish in a puff of smoke.
  25253. + if test "X${COLLECT_NAMES+set}" != Xset; then
  25254. + COLLECT_NAMES=
  25255. + export COLLECT_NAMES
  25256. + fi
  25257. + ;;
  25258. +esac
  25259. +
  25260. +# Determine commands to create old-style static archives.
  25261. +old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
  25262. +old_postinstall_cmds='chmod 644 $oldlib'
  25263. +old_postuninstall_cmds=
  25264. +
  25265. +if test -n "$RANLIB"; then
  25266. + case $host_os in
  25267. + openbsd*)
  25268. + old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
  25269. + ;;
  25270. + *)
  25271. + old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
  25272. + ;;
  25273. + esac
  25274. + old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
  25275. +fi
  25276. +
  25277. +# Allow CC to be a program name with arguments.
  25278. +set dummy $CC
  25279. +compiler="[$]2"
  25280. +
  25281. +AC_MSG_CHECKING([for objdir])
  25282. +rm -f .libs 2>/dev/null
  25283. +mkdir .libs 2>/dev/null
  25284. +if test -d .libs; then
  25285. + objdir=.libs
  25286. +else
  25287. + # MS-DOS does not allow filenames that begin with a dot.
  25288. + objdir=_libs
  25289. +fi
  25290. +rmdir .libs 2>/dev/null
  25291. +AC_MSG_RESULT($objdir)
  25292. +
  25293. +
  25294. +AC_ARG_WITH(pic,
  25295. +[ --with-pic try to use only PIC/non-PIC objects [default=use both]],
  25296. +pic_mode="$withval", pic_mode=default)
  25297. +test -z "$pic_mode" && pic_mode=default
  25298. +
  25299. +# We assume here that the value for lt_cv_prog_cc_pic will not be cached
  25300. +# in isolation, and that seeing it set (from the cache) indicates that
  25301. +# the associated values are set (in the cache) correctly too.
  25302. +AC_MSG_CHECKING([for $compiler option to produce PIC])
  25303. +AC_CACHE_VAL(lt_cv_prog_cc_pic,
  25304. +[ lt_cv_prog_cc_pic=
  25305. + lt_cv_prog_cc_shlib=
  25306. + lt_cv_prog_cc_wl=
  25307. + lt_cv_prog_cc_static=
  25308. + lt_cv_prog_cc_no_builtin=
  25309. + lt_cv_prog_cc_can_build_shared=$can_build_shared
  25310. +
  25311. + if test "$GCC" = yes; then
  25312. + lt_cv_prog_cc_wl='-Wl,'
  25313. + lt_cv_prog_cc_static='-static'
  25314. +
  25315. + case $host_os in
  25316. + aix*)
  25317. + # Below there is a dirty hack to force normal static linking with -ldl
  25318. + # The problem is because libdl dynamically linked with both libc and
  25319. + # libC (AIX C++ library), which obviously doesn't included in libraries
  25320. + # list by gcc. This cause undefined symbols with -static flags.
  25321. + # This hack allows C programs to be linked with "-static -ldl", but
  25322. + # not sure about C++ programs.
  25323. + lt_cv_prog_cc_static="$lt_cv_prog_cc_static ${lt_cv_prog_cc_wl}-lC"
  25324. + ;;
  25325. + amigaos*)
  25326. + # FIXME: we need at least 68020 code to build shared libraries, but
  25327. + # adding the `-m68020' flag to GCC prevents building anything better,
  25328. + # like `-m68040'.
  25329. + lt_cv_prog_cc_pic='-m68020 -resident32 -malways-restore-a4'
  25330. + ;;
  25331. + beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
  25332. + # PIC is the default for these OSes.
  25333. + ;;
  25334. + darwin* | rhapsody*)
  25335. + # PIC is the default on this platform
  25336. + # Common symbols not allowed in MH_DYLIB files
  25337. + lt_cv_prog_cc_pic='-fno-common'
  25338. + ;;
  25339. + cygwin* | mingw* | pw32* | os2*)
  25340. + # This hack is so that the source file can tell whether it is being
  25341. + # built for inclusion in a dll (and should export symbols for example).
  25342. + lt_cv_prog_cc_pic='-DDLL_EXPORT'
  25343. + ;;
  25344. + sysv4*MP*)
  25345. + if test -d /usr/nec; then
  25346. + lt_cv_prog_cc_pic=-Kconform_pic
  25347. + fi
  25348. + ;;
  25349. + *)
  25350. + lt_cv_prog_cc_pic='-fPIC'
  25351. + ;;
  25352. + esac
  25353. + else
  25354. + # PORTME Check for PIC flags for the system compiler.
  25355. + case $host_os in
  25356. + aix3* | aix4* | aix5*)
  25357. + lt_cv_prog_cc_wl='-Wl,'
  25358. + # All AIX code is PIC.
  25359. + if test "$host_cpu" = ia64; then
  25360. + # AIX 5 now supports IA64 processor
  25361. + lt_cv_prog_cc_static='-Bstatic'
  25362. + else
  25363. + lt_cv_prog_cc_static='-bnso -bI:/lib/syscalls.exp'
  25364. + fi
  25365. + ;;
  25366. +
  25367. + hpux9* | hpux10* | hpux11*)
  25368. + # Is there a better lt_cv_prog_cc_static that works with the bundled CC?
  25369. + lt_cv_prog_cc_wl='-Wl,'
  25370. + lt_cv_prog_cc_static="${lt_cv_prog_cc_wl}-a ${lt_cv_prog_cc_wl}archive"
  25371. + lt_cv_prog_cc_pic='+Z'
  25372. + ;;
  25373. +
  25374. + irix5* | irix6* | nonstopux*)
  25375. + lt_cv_prog_cc_wl='-Wl,'
  25376. + lt_cv_prog_cc_static='-non_shared'
  25377. + # PIC (with -KPIC) is the default.
  25378. + ;;
  25379. +
  25380. + cygwin* | mingw* | pw32* | os2*)
  25381. + # This hack is so that the source file can tell whether it is being
  25382. + # built for inclusion in a dll (and should export symbols for example).
  25383. + lt_cv_prog_cc_pic='-DDLL_EXPORT'
  25384. + ;;
  25385. +
  25386. + newsos6)
  25387. + lt_cv_prog_cc_pic='-KPIC'
  25388. + lt_cv_prog_cc_static='-Bstatic'
  25389. + ;;
  25390. +
  25391. + osf3* | osf4* | osf5*)
  25392. + # All OSF/1 code is PIC.
  25393. + lt_cv_prog_cc_wl='-Wl,'
  25394. + lt_cv_prog_cc_static='-non_shared'
  25395. + ;;
  25396. +
  25397. + sco3.2v5*)
  25398. + lt_cv_prog_cc_pic='-Kpic'
  25399. + lt_cv_prog_cc_static='-dn'
  25400. + lt_cv_prog_cc_shlib='-belf'
  25401. + ;;
  25402. +
  25403. + solaris*)
  25404. + lt_cv_prog_cc_pic='-KPIC'
  25405. + lt_cv_prog_cc_static='-Bstatic'
  25406. + lt_cv_prog_cc_wl='-Wl,'
  25407. + ;;
  25408. +
  25409. + sunos4*)
  25410. + lt_cv_prog_cc_pic='-PIC'
  25411. + lt_cv_prog_cc_static='-Bstatic'
  25412. + lt_cv_prog_cc_wl='-Qoption ld '
  25413. + ;;
  25414. +
  25415. + sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
  25416. + lt_cv_prog_cc_pic='-KPIC'
  25417. + lt_cv_prog_cc_static='-Bstatic'
  25418. + lt_cv_prog_cc_wl='-Wl,'
  25419. + ;;
  25420. +
  25421. + uts4*)
  25422. + lt_cv_prog_cc_pic='-pic'
  25423. + lt_cv_prog_cc_static='-Bstatic'
  25424. + ;;
  25425. +
  25426. + sysv4*MP*)
  25427. + if test -d /usr/nec ;then
  25428. + lt_cv_prog_cc_pic='-Kconform_pic'
  25429. + lt_cv_prog_cc_static='-Bstatic'
  25430. + fi
  25431. + ;;
  25432. +
  25433. + *)
  25434. + lt_cv_prog_cc_can_build_shared=no
  25435. + ;;
  25436. + esac
  25437. + fi
  25438. +])
  25439. +if test -z "$lt_cv_prog_cc_pic"; then
  25440. + AC_MSG_RESULT([none])
  25441. +else
  25442. + AC_MSG_RESULT([$lt_cv_prog_cc_pic])
  25443. +
  25444. + # Check to make sure the pic_flag actually works.
  25445. + AC_MSG_CHECKING([if $compiler PIC flag $lt_cv_prog_cc_pic works])
  25446. + AC_CACHE_VAL(lt_cv_prog_cc_pic_works, [dnl
  25447. + save_CFLAGS="$CFLAGS"
  25448. + CFLAGS="$CFLAGS $lt_cv_prog_cc_pic -DPIC"
  25449. + AC_TRY_COMPILE([], [], [dnl
  25450. + case $host_os in
  25451. + hpux9* | hpux10* | hpux11*)
  25452. + # On HP-UX, both CC and GCC only warn that PIC is supported... then
  25453. + # they create non-PIC objects. So, if there were any warnings, we
  25454. + # assume that PIC is not supported.
  25455. + if test -s conftest.err; then
  25456. + lt_cv_prog_cc_pic_works=no
  25457. + else
  25458. + lt_cv_prog_cc_pic_works=yes
  25459. + fi
  25460. + ;;
  25461. + *)
  25462. + lt_cv_prog_cc_pic_works=yes
  25463. + ;;
  25464. + esac
  25465. + ], [dnl
  25466. + lt_cv_prog_cc_pic_works=no
  25467. + ])
  25468. + CFLAGS="$save_CFLAGS"
  25469. + ])
  25470. +
  25471. + if test "X$lt_cv_prog_cc_pic_works" = Xno; then
  25472. + lt_cv_prog_cc_pic=
  25473. + lt_cv_prog_cc_can_build_shared=no
  25474. + else
  25475. + lt_cv_prog_cc_pic=" $lt_cv_prog_cc_pic"
  25476. + fi
  25477. +
  25478. + AC_MSG_RESULT([$lt_cv_prog_cc_pic_works])
  25479. +fi
  25480. +
  25481. +# Check for any special shared library compilation flags.
  25482. +if test -n "$lt_cv_prog_cc_shlib"; then
  25483. + AC_MSG_WARN([\`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries])
  25484. + if echo "$old_CC $old_CFLAGS " | egrep -e "[[ ]]$lt_cv_prog_cc_shlib[[ ]]" >/dev/null; then :
  25485. + else
  25486. + AC_MSG_WARN([add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure])
  25487. + lt_cv_prog_cc_can_build_shared=no
  25488. + fi
  25489. +fi
  25490. +
  25491. +AC_MSG_CHECKING([if $compiler static flag $lt_cv_prog_cc_static works])
  25492. +AC_CACHE_VAL([lt_cv_prog_cc_static_works], [dnl
  25493. + lt_cv_prog_cc_static_works=no
  25494. + save_LDFLAGS="$LDFLAGS"
  25495. + LDFLAGS="$LDFLAGS $lt_cv_prog_cc_static"
  25496. + AC_TRY_LINK([], [], [lt_cv_prog_cc_static_works=yes])
  25497. + LDFLAGS="$save_LDFLAGS"
  25498. +])
  25499. +
  25500. +# Belt *and* braces to stop my trousers falling down:
  25501. +test "X$lt_cv_prog_cc_static_works" = Xno && lt_cv_prog_cc_static=
  25502. +AC_MSG_RESULT([$lt_cv_prog_cc_static_works])
  25503. +
  25504. +pic_flag="$lt_cv_prog_cc_pic"
  25505. +special_shlib_compile_flags="$lt_cv_prog_cc_shlib"
  25506. +wl="$lt_cv_prog_cc_wl"
  25507. +link_static_flag="$lt_cv_prog_cc_static"
  25508. +no_builtin_flag="$lt_cv_prog_cc_no_builtin"
  25509. +can_build_shared="$lt_cv_prog_cc_can_build_shared"
  25510. +
  25511. +
  25512. +# Check to see if options -o and -c are simultaneously supported by compiler
  25513. +AC_MSG_CHECKING([if $compiler supports -c -o file.$ac_objext])
  25514. +AC_CACHE_VAL([lt_cv_compiler_c_o], [
  25515. +$rm -r conftest 2>/dev/null
  25516. +mkdir conftest
  25517. +cd conftest
  25518. +echo "int some_variable = 0;" > conftest.$ac_ext
  25519. +mkdir out
  25520. +# According to Tom Tromey, Ian Lance Taylor reported there are C compilers
  25521. +# that will create temporary files in the current directory regardless of
  25522. +# the output directory. Thus, making CWD read-only will cause this test
  25523. +# to fail, enabling locking or at least warning the user not to do parallel
  25524. +# builds.
  25525. +chmod -w .
  25526. +save_CFLAGS="$CFLAGS"
  25527. +CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"
  25528. +compiler_c_o=no
  25529. +if { (eval echo configure:__oline__: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
  25530. + # The compiler can only warn and ignore the option if not recognized
  25531. + # So say no if there are warnings
  25532. + if test -s out/conftest.err; then
  25533. + lt_cv_compiler_c_o=no
  25534. + else
  25535. + lt_cv_compiler_c_o=yes
  25536. + fi
  25537. +else
  25538. + # Append any errors to the config.log.
  25539. + cat out/conftest.err 1>&AC_FD_CC
  25540. + lt_cv_compiler_c_o=no
  25541. +fi
  25542. +CFLAGS="$save_CFLAGS"
  25543. +chmod u+w .
  25544. +$rm conftest* out/*
  25545. +rmdir out
  25546. +cd ..
  25547. +rmdir conftest
  25548. +$rm -r conftest 2>/dev/null
  25549. +])
  25550. +compiler_c_o=$lt_cv_compiler_c_o
  25551. +AC_MSG_RESULT([$compiler_c_o])
  25552. +
  25553. +if test x"$compiler_c_o" = x"yes"; then
  25554. + # Check to see if we can write to a .lo
  25555. + AC_MSG_CHECKING([if $compiler supports -c -o file.lo])
  25556. + AC_CACHE_VAL([lt_cv_compiler_o_lo], [
  25557. + lt_cv_compiler_o_lo=no
  25558. + save_CFLAGS="$CFLAGS"
  25559. + CFLAGS="$CFLAGS -c -o conftest.lo"
  25560. + save_objext="$ac_objext"
  25561. + ac_objext=lo
  25562. + AC_TRY_COMPILE([], [int some_variable = 0;], [dnl
  25563. + # The compiler can only warn and ignore the option if not recognized
  25564. + # So say no if there are warnings
  25565. + if test -s conftest.err; then
  25566. + lt_cv_compiler_o_lo=no
  25567. + else
  25568. + lt_cv_compiler_o_lo=yes
  25569. + fi
  25570. + ])
  25571. + ac_objext="$save_objext"
  25572. + CFLAGS="$save_CFLAGS"
  25573. + ])
  25574. + compiler_o_lo=$lt_cv_compiler_o_lo
  25575. + AC_MSG_RESULT([$compiler_o_lo])
  25576. +else
  25577. + compiler_o_lo=no
  25578. +fi
  25579. +
  25580. +# Check to see if we can do hard links to lock some files if needed
  25581. +hard_links="nottested"
  25582. +if test "$compiler_c_o" = no && test "$need_locks" != no; then
  25583. + # do not overwrite the value of need_locks provided by the user
  25584. + AC_MSG_CHECKING([if we can lock with hard links])
  25585. + hard_links=yes
  25586. + $rm conftest*
  25587. + ln conftest.a conftest.b 2>/dev/null && hard_links=no
  25588. + touch conftest.a
  25589. + ln conftest.a conftest.b 2>&5 || hard_links=no
  25590. + ln conftest.a conftest.b 2>/dev/null && hard_links=no
  25591. + AC_MSG_RESULT([$hard_links])
  25592. + if test "$hard_links" = no; then
  25593. + AC_MSG_WARN([\`$CC' does not support \`-c -o', so \`make -j' may be unsafe])
  25594. + need_locks=warn
  25595. + fi
  25596. +else
  25597. + need_locks=no
  25598. +fi
  25599. +
  25600. +if test "$GCC" = yes; then
  25601. + # Check to see if options -fno-rtti -fno-exceptions are supported by compiler
  25602. + AC_MSG_CHECKING([if $compiler supports -fno-rtti -fno-exceptions])
  25603. + echo "int some_variable = 0;" > conftest.$ac_ext
  25604. + save_CFLAGS="$CFLAGS"
  25605. + CFLAGS="$CFLAGS -fno-rtti -fno-exceptions -c conftest.$ac_ext"
  25606. + compiler_rtti_exceptions=no
  25607. + AC_TRY_COMPILE([], [int some_variable = 0;], [dnl
  25608. + # The compiler can only warn and ignore the option if not recognized
  25609. + # So say no if there are warnings
  25610. + if test -s conftest.err; then
  25611. + compiler_rtti_exceptions=no
  25612. + else
  25613. + compiler_rtti_exceptions=yes
  25614. + fi
  25615. + ])
  25616. + CFLAGS="$save_CFLAGS"
  25617. + AC_MSG_RESULT([$compiler_rtti_exceptions])
  25618. +
  25619. + if test "$compiler_rtti_exceptions" = "yes"; then
  25620. + no_builtin_flag=' -fno-builtin -fno-rtti -fno-exceptions'
  25621. + else
  25622. + no_builtin_flag=' -fno-builtin'
  25623. + fi
  25624. +fi
  25625. +
  25626. +# See if the linker supports building shared libraries.
  25627. +AC_MSG_CHECKING([whether the linker ($LD) supports shared libraries])
  25628. +
  25629. +allow_undefined_flag=
  25630. +no_undefined_flag=
  25631. +need_lib_prefix=unknown
  25632. +need_version=unknown
  25633. +# when you set need_version to no, make sure it does not cause -set_version
  25634. +# flags to be left without arguments
  25635. +archive_cmds=
  25636. +archive_expsym_cmds=
  25637. +old_archive_from_new_cmds=
  25638. +old_archive_from_expsyms_cmds=
  25639. +export_dynamic_flag_spec=
  25640. +whole_archive_flag_spec=
  25641. +thread_safe_flag_spec=
  25642. +hardcode_into_libs=no
  25643. +hardcode_libdir_flag_spec=
  25644. +hardcode_libdir_separator=
  25645. +hardcode_direct=no
  25646. +hardcode_minus_L=no
  25647. +hardcode_shlibpath_var=unsupported
  25648. +runpath_var=
  25649. +link_all_deplibs=unknown
  25650. +always_export_symbols=no
  25651. +export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | sed '\''s/.* //'\'' | sort | uniq > $export_symbols'
  25652. +# include_expsyms should be a list of space-separated symbols to be *always*
  25653. +# included in the symbol list
  25654. +include_expsyms=
  25655. +# exclude_expsyms can be an egrep regular expression of symbols to exclude
  25656. +# it will be wrapped by ` (' and `)$', so one must not match beginning or
  25657. +# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
  25658. +# as well as any symbol that contains `d'.
  25659. +exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
  25660. +# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
  25661. +# platforms (ab)use it in PIC code, but their linkers get confused if
  25662. +# the symbol is explicitly referenced. Since portable code cannot
  25663. +# rely on this symbol name, it's probably fine to never include it in
  25664. +# preloaded symbol tables.
  25665. +extract_expsyms_cmds=
  25666. +
  25667. +case $host_os in
  25668. +cygwin* | mingw* | pw32*)
  25669. + # FIXME: the MSVC++ port hasn't been tested in a loooong time
  25670. + # When not using gcc, we currently assume that we are using
  25671. + # Microsoft Visual C++.
  25672. + if test "$GCC" != yes; then
  25673. + with_gnu_ld=no
  25674. + fi
  25675. + ;;
  25676. +openbsd*)
  25677. + with_gnu_ld=no
  25678. + ;;
  25679. +esac
  25680. +
  25681. +ld_shlibs=yes
  25682. +if test "$with_gnu_ld" = yes; then
  25683. + # If archive_cmds runs LD, not CC, wlarc should be empty
  25684. + wlarc='${wl}'
  25685. +
  25686. + # See if GNU ld supports shared libraries.
  25687. + case $host_os in
  25688. + aix3* | aix4* | aix5*)
  25689. + # On AIX, the GNU linker is very broken
  25690. + # Note:Check GNU linker on AIX 5-IA64 when/if it becomes available.
  25691. + ld_shlibs=no
  25692. + cat <<EOF 1>&2
  25693. +
  25694. +*** Warning: the GNU linker, at least up to release 2.9.1, is reported
  25695. +*** to be unable to reliably create shared libraries on AIX.
  25696. +*** Therefore, libtool is disabling shared libraries support. If you
  25697. +*** really care for shared libraries, you may want to modify your PATH
  25698. +*** so that a non-GNU linker is found, and then restart.
  25699. +
  25700. +EOF
  25701. + ;;
  25702. +
  25703. + amigaos*)
  25704. + 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)'
  25705. + hardcode_libdir_flag_spec='-L$libdir'
  25706. + hardcode_minus_L=yes
  25707. +
  25708. + # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
  25709. + # that the semantics of dynamic libraries on AmigaOS, at least up
  25710. + # to version 4, is to share data among multiple programs linked
  25711. + # with the same dynamic library. Since this doesn't match the
  25712. + # behavior of shared libraries on other platforms, we can use
  25713. + # them.
  25714. + ld_shlibs=no
  25715. + ;;
  25716. +
  25717. + beos*)
  25718. + if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
  25719. + allow_undefined_flag=unsupported
  25720. + # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
  25721. + # support --undefined. This deserves some investigation. FIXME
  25722. + archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  25723. + else
  25724. + ld_shlibs=no
  25725. + fi
  25726. + ;;
  25727. +
  25728. + cygwin* | mingw* | pw32*)
  25729. + # hardcode_libdir_flag_spec is actually meaningless, as there is
  25730. + # no search path for DLLs.
  25731. + hardcode_libdir_flag_spec='-L$libdir'
  25732. + allow_undefined_flag=unsupported
  25733. + always_export_symbols=yes
  25734. +
  25735. + extract_expsyms_cmds='test -f $output_objdir/impgen.c || \
  25736. + sed -e "/^# \/\* impgen\.c starts here \*\//,/^# \/\* impgen.c ends here \*\// { s/^# //;s/^# *$//; p; }" -e d < $''0 > $output_objdir/impgen.c~
  25737. + test -f $output_objdir/impgen.exe || (cd $output_objdir && \
  25738. + if test "x$HOST_CC" != "x" ; then $HOST_CC -o impgen impgen.c ; \
  25739. + else $CC -o impgen impgen.c ; fi)~
  25740. + $output_objdir/impgen $dir/$soroot > $output_objdir/$soname-def'
  25741. +
  25742. + old_archive_from_expsyms_cmds='$DLLTOOL --as=$AS --dllname $soname --def $output_objdir/$soname-def --output-lib $output_objdir/$newlib'
  25743. +
  25744. + # cygwin and mingw dlls have different entry points and sets of symbols
  25745. + # to exclude.
  25746. + # FIXME: what about values for MSVC?
  25747. + dll_entry=__cygwin_dll_entry@12
  25748. + dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12~
  25749. + case $host_os in
  25750. + mingw*)
  25751. + # mingw values
  25752. + dll_entry=_DllMainCRTStartup@12
  25753. + dll_exclude_symbols=DllMain@12,DllMainCRTStartup@12,DllEntryPoint@12~
  25754. + ;;
  25755. + esac
  25756. +
  25757. + # mingw and cygwin differ, and it's simplest to just exclude the union
  25758. + # of the two symbol sets.
  25759. + dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12,DllMainCRTStartup@12,DllEntryPoint@12
  25760. +
  25761. + # recent cygwin and mingw systems supply a stub DllMain which the user
  25762. + # can override, but on older systems we have to supply one (in ltdll.c)
  25763. + if test "x$lt_cv_need_dllmain" = "xyes"; then
  25764. + ltdll_obj='$output_objdir/$soname-ltdll.'"$ac_objext "
  25765. + 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~
  25766. + test -f $output_objdir/$soname-ltdll.$ac_objext || (cd $output_objdir && $CC -c $soname-ltdll.c)~'
  25767. + else
  25768. + ltdll_obj=
  25769. + ltdll_cmds=
  25770. + fi
  25771. +
  25772. + # Extract the symbol export list from an `--export-all' def file,
  25773. + # then regenerate the def file from the symbol export list, so that
  25774. + # the compiled dll only exports the symbol export list.
  25775. + # Be careful not to strip the DATA tag left be newer dlltools.
  25776. + export_symbols_cmds="$ltdll_cmds"'
  25777. + $DLLTOOL --export-all --exclude-symbols '$dll_exclude_symbols' --output-def $output_objdir/$soname-def '$ltdll_obj'$libobjs $convenience~
  25778. + sed -e "1,/EXPORTS/d" -e "s/ @ [[0-9]]*//" -e "s/ *;.*$//" < $output_objdir/$soname-def > $export_symbols'
  25779. +
  25780. + # If the export-symbols file already is a .def file (1st line
  25781. + # is EXPORTS), use it as is.
  25782. + # If DATA tags from a recent dlltool are present, honour them!
  25783. + archive_expsym_cmds='if test "x`sed 1q $export_symbols`" = xEXPORTS; then
  25784. + cp $export_symbols $output_objdir/$soname-def;
  25785. + else
  25786. + echo EXPORTS > $output_objdir/$soname-def;
  25787. + _lt_hint=1;
  25788. + cat $export_symbols | while read symbol; do
  25789. + set dummy \$symbol;
  25790. + case \[$]# in
  25791. + 2) echo " \[$]2 @ \$_lt_hint ; " >> $output_objdir/$soname-def;;
  25792. + 4) echo " \[$]2 \[$]3 \[$]4 ; " >> $output_objdir/$soname-def; _lt_hint=`expr \$_lt_hint - 1`;;
  25793. + *) echo " \[$]2 @ \$_lt_hint \[$]3 ; " >> $output_objdir/$soname-def;;
  25794. + esac;
  25795. + _lt_hint=`expr 1 + \$_lt_hint`;
  25796. + done;
  25797. + fi~
  25798. + '"$ltdll_cmds"'
  25799. + $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~
  25800. + $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~
  25801. + $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~
  25802. + $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~
  25803. + $CC $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags'
  25804. + ;;
  25805. +
  25806. + netbsd*)
  25807. + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
  25808. + archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
  25809. + wlarc=
  25810. + else
  25811. + archive_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  25812. + archive_expsym_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  25813. + fi
  25814. + ;;
  25815. +
  25816. + solaris* | sysv5*)
  25817. + if $LD -v 2>&1 | egrep 'BFD 2\.8' > /dev/null; then
  25818. + ld_shlibs=no
  25819. + cat <<EOF 1>&2
  25820. +
  25821. +*** Warning: The releases 2.8.* of the GNU linker cannot reliably
  25822. +*** create shared libraries on Solaris systems. Therefore, libtool
  25823. +*** is disabling shared libraries support. We urge you to upgrade GNU
  25824. +*** binutils to release 2.9.1 or newer. Another option is to modify
  25825. +*** your PATH or compiler configuration so that the native linker is
  25826. +*** used, and then restart.
  25827. +
  25828. +EOF
  25829. + elif $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
  25830. + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  25831. + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  25832. + else
  25833. + ld_shlibs=no
  25834. + fi
  25835. + ;;
  25836. +
  25837. + sunos4*)
  25838. + archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  25839. + wlarc=
  25840. + hardcode_direct=yes
  25841. + hardcode_shlibpath_var=no
  25842. + ;;
  25843. +
  25844. + *)
  25845. + if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
  25846. + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  25847. + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  25848. + else
  25849. + ld_shlibs=no
  25850. + fi
  25851. + ;;
  25852. + esac
  25853. +
  25854. + if test "$ld_shlibs" = yes; then
  25855. + runpath_var=LD_RUN_PATH
  25856. + hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
  25857. + export_dynamic_flag_spec='${wl}--export-dynamic'
  25858. + case $host_os in
  25859. + cygwin* | mingw* | pw32*)
  25860. + # dlltool doesn't understand --whole-archive et. al.
  25861. + whole_archive_flag_spec=
  25862. + ;;
  25863. + *)
  25864. + # ancient GNU ld didn't support --whole-archive et. al.
  25865. + if $LD --help 2>&1 | egrep 'no-whole-archive' > /dev/null; then
  25866. + whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
  25867. + else
  25868. + whole_archive_flag_spec=
  25869. + fi
  25870. + ;;
  25871. + esac
  25872. + fi
  25873. +else
  25874. + # PORTME fill in a description of your system's linker (not GNU ld)
  25875. + case $host_os in
  25876. + aix3*)
  25877. + allow_undefined_flag=unsupported
  25878. + always_export_symbols=yes
  25879. + 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'
  25880. + # Note: this linker hardcodes the directories in LIBPATH if there
  25881. + # are no directories specified by -L.
  25882. + hardcode_minus_L=yes
  25883. + if test "$GCC" = yes && test -z "$link_static_flag"; then
  25884. + # Neither direct hardcoding nor static linking is supported with a
  25885. + # broken collect2.
  25886. + hardcode_direct=unsupported
  25887. + fi
  25888. + ;;
  25889. +
  25890. + aix4* | aix5*)
  25891. + if test "$host_cpu" = ia64; then
  25892. + # On IA64, the linker does run time linking by default, so we don't
  25893. + # have to do anything special.
  25894. + aix_use_runtimelinking=no
  25895. + exp_sym_flag='-Bexport'
  25896. + no_entry_flag=""
  25897. + else
  25898. + aix_use_runtimelinking=no
  25899. +
  25900. + # Test if we are trying to use run time linking or normal
  25901. + # AIX style linking. If -brtl is somewhere in LDFLAGS, we
  25902. + # need to do runtime linking.
  25903. + case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*)
  25904. + for ld_flag in $LDFLAGS; do
  25905. + case $ld_flag in
  25906. + *-brtl*)
  25907. + aix_use_runtimelinking=yes
  25908. + break
  25909. + ;;
  25910. + esac
  25911. + done
  25912. + esac
  25913. +
  25914. + exp_sym_flag='-bexport'
  25915. + no_entry_flag='-bnoentry'
  25916. + fi
  25917. +
  25918. + # When large executables or shared objects are built, AIX ld can
  25919. + # have problems creating the table of contents. If linking a library
  25920. + # or program results in "error TOC overflow" add -mminimal-toc to
  25921. + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
  25922. + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
  25923. +
  25924. + hardcode_direct=yes
  25925. + archive_cmds=''
  25926. + hardcode_libdir_separator=':'
  25927. + if test "$GCC" = yes; then
  25928. + case $host_os in aix4.[[012]]|aix4.[[012]].*)
  25929. + collect2name=`${CC} -print-prog-name=collect2`
  25930. + if test -f "$collect2name" && \
  25931. + strings "$collect2name" | grep resolve_lib_name >/dev/null
  25932. + then
  25933. + # We have reworked collect2
  25934. + hardcode_direct=yes
  25935. + else
  25936. + # We have old collect2
  25937. + hardcode_direct=unsupported
  25938. + # It fails to find uninstalled libraries when the uninstalled
  25939. + # path is not listed in the libpath. Setting hardcode_minus_L
  25940. + # to unsupported forces relinking
  25941. + hardcode_minus_L=yes
  25942. + hardcode_libdir_flag_spec='-L$libdir'
  25943. + hardcode_libdir_separator=
  25944. + fi
  25945. + esac
  25946. +
  25947. + shared_flag='-shared'
  25948. + else
  25949. + # not using gcc
  25950. + if test "$host_cpu" = ia64; then
  25951. + shared_flag='${wl}-G'
  25952. + else
  25953. + if test "$aix_use_runtimelinking" = yes; then
  25954. + shared_flag='${wl}-G'
  25955. + else
  25956. + shared_flag='${wl}-bM:SRE'
  25957. + fi
  25958. + fi
  25959. + fi
  25960. +
  25961. + # It seems that -bexpall can do strange things, so it is better to
  25962. + # generate a list of symbols to export.
  25963. + always_export_symbols=yes
  25964. + if test "$aix_use_runtimelinking" = yes; then
  25965. + # Warning - without using the other runtime loading flags (-brtl),
  25966. + # -berok will link without error, but may produce a broken library.
  25967. + allow_undefined_flag='-berok'
  25968. + hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:/usr/lib:/lib'
  25969. + 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"
  25970. + else
  25971. + if test "$host_cpu" = ia64; then
  25972. + hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
  25973. + allow_undefined_flag="-z nodefs"
  25974. + 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"
  25975. + else
  25976. + hardcode_libdir_flag_spec='${wl}-bnolibpath ${wl}-blibpath:$libdir:/usr/lib:/lib'
  25977. + # Warning - without using the other run time loading flags,
  25978. + # -berok will link without error, but may produce a broken library.
  25979. + allow_undefined_flag='${wl}-berok'
  25980. + # This is a bit strange, but is similar to how AIX traditionally builds
  25981. + # it's shared libraries.
  25982. + 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'
  25983. + fi
  25984. + fi
  25985. + ;;
  25986. +
  25987. + amigaos*)
  25988. + 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)'
  25989. + hardcode_libdir_flag_spec='-L$libdir'
  25990. + hardcode_minus_L=yes
  25991. + # see comment about different semantics on the GNU ld section
  25992. + ld_shlibs=no
  25993. + ;;
  25994. +
  25995. + cygwin* | mingw* | pw32*)
  25996. + # When not using gcc, we currently assume that we are using
  25997. + # Microsoft Visual C++.
  25998. + # hardcode_libdir_flag_spec is actually meaningless, as there is
  25999. + # no search path for DLLs.
  26000. + hardcode_libdir_flag_spec=' '
  26001. + allow_undefined_flag=unsupported
  26002. + # Tell ltmain to make .lib files, not .a files.
  26003. + libext=lib
  26004. + # FIXME: Setting linknames here is a bad hack.
  26005. + archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | sed -e '\''s/ -lc$//'\''` -link -dll~linknames='
  26006. + # The linker will automatically build a .lib file if we build a DLL.
  26007. + old_archive_from_new_cmds='true'
  26008. + # FIXME: Should let the user specify the lib program.
  26009. + old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
  26010. + fix_srcfile_path='`cygpath -w "$srcfile"`'
  26011. + ;;
  26012. +
  26013. + darwin* | rhapsody*)
  26014. + case "$host_os" in
  26015. + rhapsody* | darwin1.[[012]])
  26016. + allow_undefined_flag='-undefined suppress'
  26017. + ;;
  26018. + *) # Darwin 1.3 on
  26019. + allow_undefined_flag='-flat_namespace -undefined suppress'
  26020. + ;;
  26021. + esac
  26022. + # FIXME: Relying on posixy $() will cause problems for
  26023. + # cross-compilation, but unfortunately the echo tests do not
  26024. + # yet detect zsh echo's removal of \ escapes. Also zsh mangles
  26025. + # `"' quotes if we put them in here... so don't!
  26026. + 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)'
  26027. + # We need to add '_' to the symbols in $export_symbols first
  26028. + #archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols'
  26029. + hardcode_direct=yes
  26030. + hardcode_shlibpath_var=no
  26031. + whole_archive_flag_spec='-all_load $convenience'
  26032. + ;;
  26033. +
  26034. + freebsd1*)
  26035. + ld_shlibs=no
  26036. + ;;
  26037. +
  26038. + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
  26039. + # support. Future versions do this automatically, but an explicit c++rt0.o
  26040. + # does not break anything, and helps significantly (at the cost of a little
  26041. + # extra space).
  26042. + freebsd2.2*)
  26043. + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
  26044. + hardcode_libdir_flag_spec='-R$libdir'
  26045. + hardcode_direct=yes
  26046. + hardcode_shlibpath_var=no
  26047. + ;;
  26048. +
  26049. + # Unfortunately, older versions of FreeBSD 2 do not have this feature.
  26050. + freebsd2*)
  26051. + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  26052. + hardcode_direct=yes
  26053. + hardcode_minus_L=yes
  26054. + hardcode_shlibpath_var=no
  26055. + ;;
  26056. +
  26057. + # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
  26058. + freebsd*)
  26059. + archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
  26060. + hardcode_libdir_flag_spec='-R$libdir'
  26061. + hardcode_direct=yes
  26062. + hardcode_shlibpath_var=no
  26063. + ;;
  26064. +
  26065. + hpux9* | hpux10* | hpux11*)
  26066. + case $host_os in
  26067. + 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' ;;
  26068. + *) archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' ;;
  26069. + esac
  26070. + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
  26071. + hardcode_libdir_separator=:
  26072. + hardcode_direct=yes
  26073. + hardcode_minus_L=yes # Not in the search PATH, but as the default
  26074. + # location of the library.
  26075. + export_dynamic_flag_spec='${wl}-E'
  26076. + ;;
  26077. +
  26078. + irix5* | irix6* | nonstopux*)
  26079. + if test "$GCC" = yes; then
  26080. + 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'
  26081. + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  26082. + else
  26083. + 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'
  26084. + hardcode_libdir_flag_spec='-rpath $libdir'
  26085. + fi
  26086. + hardcode_libdir_separator=:
  26087. + link_all_deplibs=yes
  26088. + ;;
  26089. +
  26090. + netbsd*)
  26091. + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
  26092. + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
  26093. + else
  26094. + archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
  26095. + fi
  26096. + hardcode_libdir_flag_spec='-R$libdir'
  26097. + hardcode_direct=yes
  26098. + hardcode_shlibpath_var=no
  26099. + ;;
  26100. +
  26101. + newsos6)
  26102. + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  26103. + hardcode_direct=yes
  26104. + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  26105. + hardcode_libdir_separator=:
  26106. + hardcode_shlibpath_var=no
  26107. + ;;
  26108. +
  26109. + openbsd*)
  26110. + hardcode_direct=yes
  26111. + hardcode_shlibpath_var=no
  26112. + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  26113. + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  26114. + hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
  26115. + export_dynamic_flag_spec='${wl}-E'
  26116. + else
  26117. + case "$host_os" in
  26118. + openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*)
  26119. + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  26120. + hardcode_libdir_flag_spec='-R$libdir'
  26121. + ;;
  26122. + *)
  26123. + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  26124. + hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
  26125. + ;;
  26126. + esac
  26127. + fi
  26128. + ;;
  26129. +
  26130. + os2*)
  26131. + hardcode_libdir_flag_spec='-L$libdir'
  26132. + hardcode_minus_L=yes
  26133. + allow_undefined_flag=unsupported
  26134. + 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'
  26135. + old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
  26136. + ;;
  26137. +
  26138. + osf3*)
  26139. + if test "$GCC" = yes; then
  26140. + allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
  26141. + 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'
  26142. + else
  26143. + allow_undefined_flag=' -expect_unresolved \*'
  26144. + 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'
  26145. + fi
  26146. + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  26147. + hardcode_libdir_separator=:
  26148. + ;;
  26149. +
  26150. + osf4* | osf5*) # as osf3* with the addition of -msym flag
  26151. + if test "$GCC" = yes; then
  26152. + allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
  26153. + 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'
  26154. + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  26155. + else
  26156. + allow_undefined_flag=' -expect_unresolved \*'
  26157. + 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'
  26158. + archive_expsym_cmds='for i in `cat $export_symbols`; do printf "-exported_symbol " >> $lib.exp; echo "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
  26159. + $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'
  26160. +
  26161. + #Both c and cxx compiler support -rpath directly
  26162. + hardcode_libdir_flag_spec='-rpath $libdir'
  26163. + fi
  26164. + hardcode_libdir_separator=:
  26165. + ;;
  26166. +
  26167. + sco3.2v5*)
  26168. + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  26169. + hardcode_shlibpath_var=no
  26170. + runpath_var=LD_RUN_PATH
  26171. + hardcode_runpath_var=yes
  26172. + export_dynamic_flag_spec='${wl}-Bexport'
  26173. + ;;
  26174. +
  26175. + solaris*)
  26176. + # gcc --version < 3.0 without binutils cannot create self contained
  26177. + # shared libraries reliably, requiring libgcc.a to resolve some of
  26178. + # the object symbols generated in some cases. Libraries that use
  26179. + # assert need libgcc.a to resolve __eprintf, for example. Linking
  26180. + # a copy of libgcc.a into every shared library to guarantee resolving
  26181. + # such symbols causes other problems: According to Tim Van Holder
  26182. + # <tim.van.holder@pandora.be>, C++ libraries end up with a separate
  26183. + # (to the application) exception stack for one thing.
  26184. + no_undefined_flag=' -z defs'
  26185. + if test "$GCC" = yes; then
  26186. + case `$CC --version 2>/dev/null` in
  26187. + [[12]].*)
  26188. + cat <<EOF 1>&2
  26189. +
  26190. +*** Warning: Releases of GCC earlier than version 3.0 cannot reliably
  26191. +*** create self contained shared libraries on Solaris systems, without
  26192. +*** introducing a dependency on libgcc.a. Therefore, libtool is disabling
  26193. +*** -no-undefined support, which will at least allow you to build shared
  26194. +*** libraries. However, you may find that when you link such libraries
  26195. +*** into an application without using GCC, you have to manually add
  26196. +*** \`gcc --print-libgcc-file-name\` to the link command. We urge you to
  26197. +*** upgrade to a newer version of GCC. Another option is to rebuild your
  26198. +*** current GCC to use the GNU linker from GNU binutils 2.9.1 or newer.
  26199. +
  26200. +EOF
  26201. + no_undefined_flag=
  26202. + ;;
  26203. + esac
  26204. + fi
  26205. + # $CC -shared without GNU ld will not create a library from C++
  26206. + # object files and a static libstdc++, better avoid it by now
  26207. + archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
  26208. + archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
  26209. + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
  26210. + hardcode_libdir_flag_spec='-R$libdir'
  26211. + hardcode_shlibpath_var=no
  26212. + case $host_os in
  26213. + solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
  26214. + *) # Supported since Solaris 2.6 (maybe 2.5.1?)
  26215. + whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
  26216. + esac
  26217. + link_all_deplibs=yes
  26218. + ;;
  26219. +
  26220. + sunos4*)
  26221. + if test "x$host_vendor" = xsequent; then
  26222. + # Use $CC to link under sequent, because it throws in some extra .o
  26223. + # files that make .init and .fini sections work.
  26224. + archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
  26225. + else
  26226. + archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
  26227. + fi
  26228. + hardcode_libdir_flag_spec='-L$libdir'
  26229. + hardcode_direct=yes
  26230. + hardcode_minus_L=yes
  26231. + hardcode_shlibpath_var=no
  26232. + ;;
  26233. +
  26234. + sysv4)
  26235. + case $host_vendor in
  26236. + sni)
  26237. + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  26238. + hardcode_direct=yes # is this really true???
  26239. + ;;
  26240. + siemens)
  26241. + ## LD is ld it makes a PLAMLIB
  26242. + ## CC just makes a GrossModule.
  26243. + archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
  26244. + reload_cmds='$CC -r -o $output$reload_objs'
  26245. + hardcode_direct=no
  26246. + ;;
  26247. + motorola)
  26248. + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  26249. + hardcode_direct=no #Motorola manual says yes, but my tests say they lie
  26250. + ;;
  26251. + esac
  26252. + runpath_var='LD_RUN_PATH'
  26253. + hardcode_shlibpath_var=no
  26254. + ;;
  26255. +
  26256. + sysv4.3*)
  26257. + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  26258. + hardcode_shlibpath_var=no
  26259. + export_dynamic_flag_spec='-Bexport'
  26260. + ;;
  26261. +
  26262. + sysv5*)
  26263. + no_undefined_flag=' -z text'
  26264. + # $CC -shared without GNU ld will not create a library from C++
  26265. + # object files and a static libstdc++, better avoid it by now
  26266. + archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
  26267. + archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
  26268. + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
  26269. + hardcode_libdir_flag_spec=
  26270. + hardcode_shlibpath_var=no
  26271. + runpath_var='LD_RUN_PATH'
  26272. + ;;
  26273. +
  26274. + uts4*)
  26275. + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  26276. + hardcode_libdir_flag_spec='-L$libdir'
  26277. + hardcode_shlibpath_var=no
  26278. + ;;
  26279. +
  26280. + dgux*)
  26281. + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  26282. + hardcode_libdir_flag_spec='-L$libdir'
  26283. + hardcode_shlibpath_var=no
  26284. + ;;
  26285. +
  26286. + sysv4*MP*)
  26287. + if test -d /usr/nec; then
  26288. + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  26289. + hardcode_shlibpath_var=no
  26290. + runpath_var=LD_RUN_PATH
  26291. + hardcode_runpath_var=yes
  26292. + ld_shlibs=yes
  26293. + fi
  26294. + ;;
  26295. +
  26296. + sysv4.2uw2*)
  26297. + archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
  26298. + hardcode_direct=yes
  26299. + hardcode_minus_L=no
  26300. + hardcode_shlibpath_var=no
  26301. + hardcode_runpath_var=yes
  26302. + runpath_var=LD_RUN_PATH
  26303. + ;;
  26304. +
  26305. + sysv5uw7* | unixware7*)
  26306. + no_undefined_flag='${wl}-z ${wl}text'
  26307. + if test "$GCC" = yes; then
  26308. + archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  26309. + else
  26310. + archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  26311. + fi
  26312. + runpath_var='LD_RUN_PATH'
  26313. + hardcode_shlibpath_var=no
  26314. + ;;
  26315. +
  26316. + *)
  26317. + ld_shlibs=no
  26318. + ;;
  26319. + esac
  26320. +fi
  26321. +AC_MSG_RESULT([$ld_shlibs])
  26322. +test "$ld_shlibs" = no && can_build_shared=no
  26323. +
  26324. +# Check hardcoding attributes.
  26325. +AC_MSG_CHECKING([how to hardcode library paths into programs])
  26326. +hardcode_action=
  26327. +if test -n "$hardcode_libdir_flag_spec" || \
  26328. + test -n "$runpath_var"; then
  26329. +
  26330. + # We can hardcode non-existant directories.
  26331. + if test "$hardcode_direct" != no &&
  26332. + # If the only mechanism to avoid hardcoding is shlibpath_var, we
  26333. + # have to relink, otherwise we might link with an installed library
  26334. + # when we should be linking with a yet-to-be-installed one
  26335. + ## test "$hardcode_shlibpath_var" != no &&
  26336. + test "$hardcode_minus_L" != no; then
  26337. + # Linking always hardcodes the temporary library directory.
  26338. + hardcode_action=relink
  26339. + else
  26340. + # We can link without hardcoding, and we can hardcode nonexisting dirs.
  26341. + hardcode_action=immediate
  26342. + fi
  26343. +else
  26344. + # We cannot hardcode anything, or else we can only hardcode existing
  26345. + # directories.
  26346. + hardcode_action=unsupported
  26347. +fi
  26348. +AC_MSG_RESULT([$hardcode_action])
  26349. +
  26350. +striplib=
  26351. +old_striplib=
  26352. +AC_MSG_CHECKING([whether stripping libraries is possible])
  26353. +if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
  26354. + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
  26355. + test -z "$striplib" && striplib="$STRIP --strip-unneeded"
  26356. + AC_MSG_RESULT([yes])
  26357. +else
  26358. + AC_MSG_RESULT([no])
  26359. +fi
  26360. +
  26361. +reload_cmds='$LD$reload_flag -o $output$reload_objs'
  26362. +test -z "$deplibs_check_method" && deplibs_check_method=unknown
  26363. +
  26364. +# PORTME Fill in your ld.so characteristics
  26365. +AC_MSG_CHECKING([dynamic linker characteristics])
  26366. +library_names_spec=
  26367. +libname_spec='lib$name'
  26368. +soname_spec=
  26369. +postinstall_cmds=
  26370. +postuninstall_cmds=
  26371. +finish_cmds=
  26372. +finish_eval=
  26373. +shlibpath_var=
  26374. +shlibpath_overrides_runpath=unknown
  26375. +version_type=none
  26376. +dynamic_linker="$host_os ld.so"
  26377. +sys_lib_dlsearch_path_spec="/lib /usr/lib"
  26378. +sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
  26379. +
  26380. +case $host_os in
  26381. +aix3*)
  26382. + version_type=linux
  26383. + library_names_spec='${libname}${release}.so$versuffix $libname.a'
  26384. + shlibpath_var=LIBPATH
  26385. +
  26386. + # AIX has no versioning support, so we append a major version to the name.
  26387. + soname_spec='${libname}${release}.so$major'
  26388. + ;;
  26389. +
  26390. +aix4* | aix5*)
  26391. + version_type=linux
  26392. + need_lib_prefix=no
  26393. + need_version=no
  26394. + hardcode_into_libs=yes
  26395. + if test "$host_cpu" = ia64; then
  26396. + # AIX 5 supports IA64
  26397. + library_names_spec='${libname}${release}.so$major ${libname}${release}.so$versuffix $libname.so'
  26398. + shlibpath_var=LD_LIBRARY_PATH
  26399. + else
  26400. + # With GCC up to 2.95.x, collect2 would create an import file
  26401. + # for dependence libraries. The import file would start with
  26402. + # the line `#! .'. This would cause the generated library to
  26403. + # depend on `.', always an invalid library. This was fixed in
  26404. + # development snapshots of GCC prior to 3.0.
  26405. + case $host_os in
  26406. + aix4 | aix4.[[01]] | aix4.[[01]].*)
  26407. + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
  26408. + echo ' yes '
  26409. + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
  26410. + :
  26411. + else
  26412. + can_build_shared=no
  26413. + fi
  26414. + ;;
  26415. + esac
  26416. + # AIX (on Power*) has no versioning support, so currently we can
  26417. + # not hardcode correct soname into executable. Probably we can
  26418. + # add versioning support to collect2, so additional links can
  26419. + # be useful in future.
  26420. + if test "$aix_use_runtimelinking" = yes; then
  26421. + # If using run time linking (on AIX 4.2 or later) use lib<name>.so
  26422. + # instead of lib<name>.a to let people know that these are not
  26423. + # typical AIX shared libraries.
  26424. + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
  26425. + else
  26426. + # We preserve .a as extension for shared libraries through AIX4.2
  26427. + # and later when we are not doing run time linking.
  26428. + library_names_spec='${libname}${release}.a $libname.a'
  26429. + soname_spec='${libname}${release}.so$major'
  26430. + fi
  26431. + shlibpath_var=LIBPATH
  26432. + fi
  26433. + hardcode_into_libs=yes
  26434. + ;;
  26435. +
  26436. +amigaos*)
  26437. + library_names_spec='$libname.ixlibrary $libname.a'
  26438. + # Create ${libname}_ixlibrary.a entries in /sys/libs.
  26439. + 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'
  26440. + ;;
  26441. +
  26442. +beos*)
  26443. + library_names_spec='${libname}.so'
  26444. + dynamic_linker="$host_os ld.so"
  26445. + shlibpath_var=LIBRARY_PATH
  26446. + ;;
  26447. +
  26448. +bsdi4*)
  26449. + version_type=linux
  26450. + need_version=no
  26451. + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
  26452. + soname_spec='${libname}${release}.so$major'
  26453. + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
  26454. + shlibpath_var=LD_LIBRARY_PATH
  26455. + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
  26456. + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
  26457. + export_dynamic_flag_spec=-rdynamic
  26458. + # the default ld.so.conf also contains /usr/contrib/lib and
  26459. + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
  26460. + # libtool to hard-code these into programs
  26461. + ;;
  26462. +
  26463. +cygwin* | mingw* | pw32*)
  26464. + version_type=windows
  26465. + need_version=no
  26466. + need_lib_prefix=no
  26467. + case $GCC,$host_os in
  26468. + yes,cygwin*)
  26469. + library_names_spec='$libname.dll.a'
  26470. + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | sed -e 's/[[.]]/-/g'`${versuffix}.dll'
  26471. + postinstall_cmds='dlpath=`bash 2>&1 -c '\''. $dir/${file}i;echo \$dlname'\''`~
  26472. + dldir=$destdir/`dirname \$dlpath`~
  26473. + test -d \$dldir || mkdir -p \$dldir~
  26474. + $install_prog .libs/$dlname \$dldir/$dlname'
  26475. + postuninstall_cmds='dldll=`bash 2>&1 -c '\''. $file; echo \$dlname'\''`~
  26476. + dlpath=$dir/\$dldll~
  26477. + $rm \$dlpath'
  26478. + ;;
  26479. + yes,mingw*)
  26480. + library_names_spec='${libname}`echo ${release} | sed -e 's/[[.]]/-/g'`${versuffix}.dll'
  26481. + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s/;/ /g" -e "s,=/,/,g"`
  26482. + ;;
  26483. + yes,pw32*)
  26484. + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll'
  26485. + ;;
  26486. + *)
  26487. + library_names_spec='${libname}`echo ${release} | sed -e 's/[[.]]/-/g'`${versuffix}.dll $libname.lib'
  26488. + ;;
  26489. + esac
  26490. + dynamic_linker='Win32 ld.exe'
  26491. + # FIXME: first we should search . and the directory the executable is in
  26492. + shlibpath_var=PATH
  26493. + ;;
  26494. +
  26495. +darwin* | rhapsody*)
  26496. + dynamic_linker="$host_os dyld"
  26497. + version_type=darwin
  26498. + need_lib_prefix=no
  26499. + need_version=no
  26500. + # FIXME: Relying on posixy $() will cause problems for
  26501. + # cross-compilation, but unfortunately the echo tests do not
  26502. + # yet detect zsh echo's removal of \ escapes.
  26503. + 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)'
  26504. + soname_spec='${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib)'
  26505. + shlibpath_overrides_runpath=yes
  26506. + shlibpath_var=DYLD_LIBRARY_PATH
  26507. + ;;
  26508. +
  26509. +freebsd1*)
  26510. + dynamic_linker=no
  26511. + ;;
  26512. +
  26513. +kfreebsd*-gnu*)
  26514. + version_type=linux
  26515. + need_lib_prefix=no
  26516. + need_version=no
  26517. + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
  26518. + soname_spec='${libname}${release}.so$major'
  26519. + shlibpath_var=LD_LIBRARY_PATH
  26520. + shlibpath_overrides_runpath=no
  26521. + hardcode_into_libs=yes
  26522. + dynamic_linker='GNU/FreeBSD ld.so'
  26523. + ;;
  26524. +
  26525. +freebsd*)
  26526. + objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
  26527. + version_type=freebsd-$objformat
  26528. + case $version_type in
  26529. + freebsd-elf*)
  26530. + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so'
  26531. + need_version=no
  26532. + need_lib_prefix=no
  26533. + ;;
  26534. + freebsd-*)
  26535. + library_names_spec='${libname}${release}.so$versuffix $libname.so$versuffix'
  26536. + need_version=yes
  26537. + ;;
  26538. + esac
  26539. + shlibpath_var=LD_LIBRARY_PATH
  26540. + case $host_os in
  26541. + freebsd2*)
  26542. + shlibpath_overrides_runpath=yes
  26543. + ;;
  26544. + *)
  26545. + shlibpath_overrides_runpath=no
  26546. + hardcode_into_libs=yes
  26547. + ;;
  26548. + esac
  26549. + ;;
  26550. +
  26551. +gnu*)
  26552. + version_type=linux
  26553. + need_lib_prefix=no
  26554. + need_version=no
  26555. + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so${major} ${libname}.so'
  26556. + soname_spec='${libname}${release}.so$major'
  26557. + shlibpath_var=LD_LIBRARY_PATH
  26558. + hardcode_into_libs=yes
  26559. + ;;
  26560. +
  26561. +hpux9* | hpux10* | hpux11*)
  26562. + # Give a soname corresponding to the major version so that dld.sl refuses to
  26563. + # link against other versions.
  26564. + dynamic_linker="$host_os dld.sl"
  26565. + version_type=sunos
  26566. + need_lib_prefix=no
  26567. + need_version=no
  26568. + shlibpath_var=SHLIB_PATH
  26569. + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
  26570. + library_names_spec='${libname}${release}.sl$versuffix ${libname}${release}.sl$major $libname.sl'
  26571. + soname_spec='${libname}${release}.sl$major'
  26572. + # HP-UX runs *really* slowly unless shared libraries are mode 555.
  26573. + postinstall_cmds='chmod 555 $lib'
  26574. + ;;
  26575. +
  26576. +irix5* | irix6* | nonstopux*)
  26577. + case $host_os in
  26578. + nonstopux*) version_type=nonstopux ;;
  26579. + *) version_type=irix ;;
  26580. + esac
  26581. + need_lib_prefix=no
  26582. + need_version=no
  26583. + soname_spec='${libname}${release}.so$major'
  26584. + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so $libname.so'
  26585. + case $host_os in
  26586. + irix5* | nonstopux*)
  26587. + libsuff= shlibsuff=
  26588. + ;;
  26589. + *)
  26590. + case $LD in # libtool.m4 will add one of these switches to LD
  26591. + *-32|*"-32 ") libsuff= shlibsuff= libmagic=32-bit;;
  26592. + *-n32|*"-n32 ") libsuff=32 shlibsuff=N32 libmagic=N32;;
  26593. + *-64|*"-64 ") libsuff=64 shlibsuff=64 libmagic=64-bit;;
  26594. + *) libsuff= shlibsuff= libmagic=never-match;;
  26595. + esac
  26596. + ;;
  26597. + esac
  26598. + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
  26599. + shlibpath_overrides_runpath=no
  26600. + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
  26601. + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
  26602. + ;;
  26603. +
  26604. +# No shared lib support for Linux oldld, aout, or coff.
  26605. +linux-gnuoldld* | linux-gnuaout* | linux-gnucoff*)
  26606. + dynamic_linker=no
  26607. + ;;
  26608. +
  26609. +# This must be Linux ELF.
  26610. +linux-gnu*)
  26611. + version_type=linux
  26612. + need_lib_prefix=no
  26613. + need_version=no
  26614. + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
  26615. + soname_spec='${libname}${release}.so$major'
  26616. + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
  26617. + shlibpath_var=LD_LIBRARY_PATH
  26618. + shlibpath_overrides_runpath=no
  26619. + # This implies no fast_install, which is unacceptable.
  26620. + # Some rework will be needed to allow for fast_install
  26621. + # before this can be enabled.
  26622. + hardcode_into_libs=yes
  26623. +
  26624. + # We used to test for /lib/ld.so.1 and disable shared libraries on
  26625. + # powerpc, because MkLinux only supported shared libraries with the
  26626. + # GNU dynamic linker. Since this was broken with cross compilers,
  26627. + # most powerpc-linux boxes support dynamic linking these days and
  26628. + # people can always --disable-shared, the test was removed, and we
  26629. + # assume the GNU/Linux dynamic linker is in use.
  26630. + dynamic_linker='GNU/Linux ld.so'
  26631. + ;;
  26632. +
  26633. +netbsd*)
  26634. + version_type=sunos
  26635. + need_lib_prefix=no
  26636. + need_version=no
  26637. + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
  26638. + library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
  26639. + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  26640. + dynamic_linker='NetBSD (a.out) ld.so'
  26641. + else
  26642. + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so ${libname}.so'
  26643. + soname_spec='${libname}${release}.so$major'
  26644. + dynamic_linker='NetBSD ld.elf_so'
  26645. + fi
  26646. + shlibpath_var=LD_LIBRARY_PATH
  26647. + shlibpath_overrides_runpath=yes
  26648. + hardcode_into_libs=yes
  26649. + ;;
  26650. +
  26651. +newsos6)
  26652. + version_type=linux
  26653. + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
  26654. + shlibpath_var=LD_LIBRARY_PATH
  26655. + shlibpath_overrides_runpath=yes
  26656. + ;;
  26657. +
  26658. +openbsd*)
  26659. + version_type=sunos
  26660. + need_lib_prefix=no
  26661. + need_version=no
  26662. + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  26663. + case "$host_os" in
  26664. + openbsd2.[[89]] | openbsd2.[[89]].*)
  26665. + shlibpath_overrides_runpath=no
  26666. + ;;
  26667. + *)
  26668. + shlibpath_overrides_runpath=yes
  26669. + ;;
  26670. + esac
  26671. + else
  26672. + shlibpath_overrides_runpath=yes
  26673. + fi
  26674. + library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
  26675. + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  26676. + shlibpath_var=LD_LIBRARY_PATH
  26677. + ;;
  26678. +
  26679. +os2*)
  26680. + libname_spec='$name'
  26681. + need_lib_prefix=no
  26682. + library_names_spec='$libname.dll $libname.a'
  26683. + dynamic_linker='OS/2 ld.exe'
  26684. + shlibpath_var=LIBPATH
  26685. + ;;
  26686. +
  26687. +osf3* | osf4* | osf5*)
  26688. + version_type=osf
  26689. + need_version=no
  26690. + need_lib_prefix=no
  26691. + soname_spec='${libname}${release}.so$major'
  26692. + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
  26693. + shlibpath_var=LD_LIBRARY_PATH
  26694. + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
  26695. + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
  26696. + hardcode_into_libs=yes
  26697. + ;;
  26698. +
  26699. +sco3.2v5*)
  26700. + version_type=osf
  26701. + soname_spec='${libname}${release}.so$major'
  26702. + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
  26703. + shlibpath_var=LD_LIBRARY_PATH
  26704. + ;;
  26705. +
  26706. +solaris*)
  26707. + version_type=linux
  26708. + need_lib_prefix=no
  26709. + need_version=no
  26710. + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
  26711. + soname_spec='${libname}${release}.so$major'
  26712. + shlibpath_var=LD_LIBRARY_PATH
  26713. + shlibpath_overrides_runpath=yes
  26714. + hardcode_into_libs=yes
  26715. + # ldd complains unless libraries are executable
  26716. + postinstall_cmds='chmod +x $lib'
  26717. + ;;
  26718. +
  26719. +sunos4*)
  26720. + version_type=sunos
  26721. + library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
  26722. + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
  26723. + shlibpath_var=LD_LIBRARY_PATH
  26724. + shlibpath_overrides_runpath=yes
  26725. + if test "$with_gnu_ld" = yes; then
  26726. + need_lib_prefix=no
  26727. + fi
  26728. + need_version=yes
  26729. + ;;
  26730. +
  26731. +sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
  26732. + version_type=linux
  26733. + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
  26734. + soname_spec='${libname}${release}.so$major'
  26735. + shlibpath_var=LD_LIBRARY_PATH
  26736. + case $host_vendor in
  26737. + sni)
  26738. + shlibpath_overrides_runpath=no
  26739. + need_lib_prefix=no
  26740. + export_dynamic_flag_spec='${wl}-Blargedynsym'
  26741. + runpath_var=LD_RUN_PATH
  26742. + ;;
  26743. + siemens)
  26744. + need_lib_prefix=no
  26745. + ;;
  26746. + motorola)
  26747. + need_lib_prefix=no
  26748. + need_version=no
  26749. + shlibpath_overrides_runpath=no
  26750. + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
  26751. + ;;
  26752. + esac
  26753. + ;;
  26754. +
  26755. +uts4*)
  26756. + version_type=linux
  26757. + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
  26758. + soname_spec='${libname}${release}.so$major'
  26759. + shlibpath_var=LD_LIBRARY_PATH
  26760. + ;;
  26761. +
  26762. +dgux*)
  26763. + version_type=linux
  26764. + need_lib_prefix=no
  26765. + need_version=no
  26766. + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
  26767. + soname_spec='${libname}${release}.so$major'
  26768. + shlibpath_var=LD_LIBRARY_PATH
  26769. + ;;
  26770. +
  26771. +sysv4*MP*)
  26772. + if test -d /usr/nec ;then
  26773. + version_type=linux
  26774. + library_names_spec='$libname.so.$versuffix $libname.so.$major $libname.so'
  26775. + soname_spec='$libname.so.$major'
  26776. + shlibpath_var=LD_LIBRARY_PATH
  26777. + fi
  26778. + ;;
  26779. +
  26780. +*)
  26781. + dynamic_linker=no
  26782. + ;;
  26783. +esac
  26784. +AC_MSG_RESULT([$dynamic_linker])
  26785. +test "$dynamic_linker" = no && can_build_shared=no
  26786. +
  26787. +# Report the final consequences.
  26788. +AC_MSG_CHECKING([if libtool supports shared libraries])
  26789. +AC_MSG_RESULT([$can_build_shared])
  26790. +
  26791. +AC_MSG_CHECKING([whether to build shared libraries])
  26792. +test "$can_build_shared" = "no" && enable_shared=no
  26793. +
  26794. +# On AIX, shared libraries and static libraries use the same namespace, and
  26795. +# are all built from PIC.
  26796. +case "$host_os" in
  26797. +aix3*)
  26798. + test "$enable_shared" = yes && enable_static=no
  26799. + if test -n "$RANLIB"; then
  26800. + archive_cmds="$archive_cmds~\$RANLIB \$lib"
  26801. + postinstall_cmds='$RANLIB $lib'
  26802. + fi
  26803. + ;;
  26804. +
  26805. +aix4*)
  26806. + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
  26807. + test "$enable_shared" = yes && enable_static=no
  26808. + fi
  26809. + ;;
  26810. +esac
  26811. +AC_MSG_RESULT([$enable_shared])
  26812. +
  26813. +AC_MSG_CHECKING([whether to build static libraries])
  26814. +# Make sure either enable_shared or enable_static is yes.
  26815. +test "$enable_shared" = yes || enable_static=yes
  26816. +AC_MSG_RESULT([$enable_static])
  26817. +
  26818. +if test "$hardcode_action" = relink; then
  26819. + # Fast installation is not supported
  26820. + enable_fast_install=no
  26821. +elif test "$shlibpath_overrides_runpath" = yes ||
  26822. + test "$enable_shared" = no; then
  26823. + # Fast installation is not necessary
  26824. + enable_fast_install=needless
  26825. +fi
  26826. +
  26827. +variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
  26828. +if test "$GCC" = yes; then
  26829. + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
  26830. +fi
  26831. +
  26832. +AC_LIBTOOL_DLOPEN_SELF
  26833. +
  26834. +if test "$enable_shared" = yes && test "$GCC" = yes; then
  26835. + case $archive_cmds in
  26836. + *'~'*)
  26837. + # FIXME: we may have to deal with multi-command sequences.
  26838. + ;;
  26839. + '$CC '*)
  26840. + # Test whether the compiler implicitly links with -lc since on some
  26841. + # systems, -lgcc has to come before -lc. If gcc already passes -lc
  26842. + # to ld, don't add -lc before -lgcc.
  26843. + AC_MSG_CHECKING([whether -lc should be explicitly linked in])
  26844. + AC_CACHE_VAL([lt_cv_archive_cmds_need_lc],
  26845. + [$rm conftest*
  26846. + echo 'static int dummy;' > conftest.$ac_ext
  26847. +
  26848. + if AC_TRY_EVAL(ac_compile); then
  26849. + soname=conftest
  26850. + lib=conftest
  26851. + libobjs=conftest.$ac_objext
  26852. + deplibs=
  26853. + wl=$lt_cv_prog_cc_wl
  26854. + compiler_flags=-v
  26855. + linker_flags=-v
  26856. + verstring=
  26857. + output_objdir=.
  26858. + libname=conftest
  26859. + save_allow_undefined_flag=$allow_undefined_flag
  26860. + allow_undefined_flag=
  26861. + if AC_TRY_EVAL(archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1)
  26862. + then
  26863. + lt_cv_archive_cmds_need_lc=no
  26864. + else
  26865. + lt_cv_archive_cmds_need_lc=yes
  26866. + fi
  26867. + allow_undefined_flag=$save_allow_undefined_flag
  26868. + else
  26869. + cat conftest.err 1>&5
  26870. + fi])
  26871. + AC_MSG_RESULT([$lt_cv_archive_cmds_need_lc])
  26872. + ;;
  26873. + esac
  26874. +fi
  26875. +need_lc=${lt_cv_archive_cmds_need_lc-yes}
  26876. +
  26877. +# The second clause should only fire when bootstrapping the
  26878. +# libtool distribution, otherwise you forgot to ship ltmain.sh
  26879. +# with your package, and you will get complaints that there are
  26880. +# no rules to generate ltmain.sh.
  26881. +if test -f "$ltmain"; then
  26882. + :
  26883. +else
  26884. + # If there is no Makefile yet, we rely on a make rule to execute
  26885. + # `config.status --recheck' to rerun these tests and create the
  26886. + # libtool script then.
  26887. + test -f Makefile && make "$ltmain"
  26888. +fi
  26889. +
  26890. +if test -f "$ltmain"; then
  26891. + trap "$rm \"${ofile}T\"; exit 1" 1 2 15
  26892. + $rm -f "${ofile}T"
  26893. +
  26894. + echo creating $ofile
  26895. +
  26896. + # Now quote all the things that may contain metacharacters while being
  26897. + # careful not to overquote the AC_SUBSTed values. We take copies of the
  26898. + # variables and quote the copies for generation of the libtool script.
  26899. + for var in echo old_CC old_CFLAGS SED \
  26900. + AR AR_FLAGS CC LD LN_S NM SHELL \
  26901. + reload_flag reload_cmds wl \
  26902. + pic_flag link_static_flag no_builtin_flag export_dynamic_flag_spec \
  26903. + thread_safe_flag_spec whole_archive_flag_spec libname_spec \
  26904. + library_names_spec soname_spec \
  26905. + RANLIB old_archive_cmds old_archive_from_new_cmds old_postinstall_cmds \
  26906. + old_postuninstall_cmds archive_cmds archive_expsym_cmds postinstall_cmds \
  26907. + postuninstall_cmds extract_expsyms_cmds old_archive_from_expsyms_cmds \
  26908. + old_striplib striplib file_magic_cmd export_symbols_cmds \
  26909. + deplibs_check_method allow_undefined_flag no_undefined_flag \
  26910. + finish_cmds finish_eval global_symbol_pipe global_symbol_to_cdecl \
  26911. + global_symbol_to_c_name_address \
  26912. + hardcode_libdir_flag_spec hardcode_libdir_separator \
  26913. + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
  26914. + compiler_c_o compiler_o_lo need_locks exclude_expsyms include_expsyms; do
  26915. +
  26916. + case $var in
  26917. + reload_cmds | old_archive_cmds | old_archive_from_new_cmds | \
  26918. + old_postinstall_cmds | old_postuninstall_cmds | \
  26919. + export_symbols_cmds | archive_cmds | archive_expsym_cmds | \
  26920. + extract_expsyms_cmds | old_archive_from_expsyms_cmds | \
  26921. + postinstall_cmds | postuninstall_cmds | \
  26922. + finish_cmds | sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
  26923. + # Double-quote double-evaled strings.
  26924. + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
  26925. + ;;
  26926. + *)
  26927. + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
  26928. + ;;
  26929. + esac
  26930. + done
  26931. +
  26932. + cat <<__EOF__ > "${ofile}T"
  26933. +#! $SHELL
  26934. +
  26935. +# `$echo "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
  26936. +# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
  26937. +# NOTE: Changes made to this file will be lost: look at ltmain.sh.
  26938. +#
  26939. +# Copyright (C) 1996-2000 Free Software Foundation, Inc.
  26940. +# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
  26941. +#
  26942. +# This program is free software; you can redistribute it and/or modify
  26943. +# it under the terms of the GNU General Public License as published by
  26944. +# the Free Software Foundation; either version 2 of the License, or
  26945. +# (at your option) any later version.
  26946. +#
  26947. +# This program is distributed in the hope that it will be useful, but
  26948. +# WITHOUT ANY WARRANTY; without even the implied warranty of
  26949. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  26950. +# General Public License for more details.
  26951. +#
  26952. +# You should have received a copy of the GNU General Public License
  26953. +# along with this program; if not, write to the Free Software
  26954. +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  26955. +#
  26956. +# As a special exception to the GNU General Public License, if you
  26957. +# distribute this file as part of a program that contains a
  26958. +# configuration script generated by Autoconf, you may include it under
  26959. +# the same distribution terms that you use for the rest of that program.
  26960. +
  26961. +# A sed that does not truncate output.
  26962. +SED=$lt_SED
  26963. +
  26964. +# Sed that helps us avoid accidentally triggering echo(1) options like -n.
  26965. +Xsed="${SED} -e s/^X//"
  26966. +
  26967. +# The HP-UX ksh and POSIX shell print the target directory to stdout
  26968. +# if CDPATH is set.
  26969. +if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
  26970. +
  26971. +# ### BEGIN LIBTOOL CONFIG
  26972. +
  26973. +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
  26974. +
  26975. +# Shell to use when invoking shell scripts.
  26976. +SHELL=$lt_SHELL
  26977. +
  26978. +# Whether or not to build shared libraries.
  26979. +build_libtool_libs=$enable_shared
  26980. +
  26981. +# Whether or not to build static libraries.
  26982. +build_old_libs=$enable_static
  26983. +
  26984. +# Whether or not to add -lc for building shared libraries.
  26985. +build_libtool_need_lc=$need_lc
  26986. +
  26987. +# Whether or not to optimize for fast installation.
  26988. +fast_install=$enable_fast_install
  26989. +
  26990. +# The host system.
  26991. +host_alias=$host_alias
  26992. +host=$host
  26993. +
  26994. +# An echo program that does not interpret backslashes.
  26995. +echo=$lt_echo
  26996. +
  26997. +# The archiver.
  26998. +AR=$lt_AR
  26999. +AR_FLAGS=$lt_AR_FLAGS
  27000. +
  27001. +# The default C compiler.
  27002. +CC=$lt_CC
  27003. +
  27004. +# Is the compiler the GNU C compiler?
  27005. +with_gcc=$GCC
  27006. +
  27007. +# The linker used to build libraries.
  27008. +LD=$lt_LD
  27009. +
  27010. +# Whether we need hard or soft links.
  27011. +LN_S=$lt_LN_S
  27012. +
  27013. +# A BSD-compatible nm program.
  27014. +NM=$lt_NM
  27015. +
  27016. +# A symbol stripping program
  27017. +STRIP="$STRIP"
  27018. +
  27019. +# Used to examine libraries when file_magic_cmd begins "file"
  27020. +MAGIC_CMD=$MAGIC_CMD
  27021. +
  27022. +# Used on cygwin: DLL creation program.
  27023. +DLLTOOL="$DLLTOOL"
  27024. +
  27025. +# Used on cygwin: object dumper.
  27026. +OBJDUMP="$OBJDUMP"
  27027. +
  27028. +# Used on cygwin: assembler.
  27029. +AS="$AS"
  27030. +
  27031. +# The name of the directory that contains temporary libtool files.
  27032. +objdir=$objdir
  27033. +
  27034. +# How to create reloadable object files.
  27035. +reload_flag=$lt_reload_flag
  27036. +reload_cmds=$lt_reload_cmds
  27037. +
  27038. +# How to pass a linker flag through the compiler.
  27039. +wl=$lt_wl
  27040. +
  27041. +# Object file suffix (normally "o").
  27042. +objext="$ac_objext"
  27043. +
  27044. +# Old archive suffix (normally "a").
  27045. +libext="$libext"
  27046. +
  27047. +# Executable file suffix (normally "").
  27048. +exeext="$exeext"
  27049. +
  27050. +# Additional compiler flags for building library objects.
  27051. +pic_flag=$lt_pic_flag
  27052. +pic_mode=$pic_mode
  27053. +
  27054. +# Does compiler simultaneously support -c and -o options?
  27055. +compiler_c_o=$lt_compiler_c_o
  27056. +
  27057. +# Can we write directly to a .lo ?
  27058. +compiler_o_lo=$lt_compiler_o_lo
  27059. +
  27060. +# Must we lock files when doing compilation ?
  27061. +need_locks=$lt_need_locks
  27062. +
  27063. +# Do we need the lib prefix for modules?
  27064. +need_lib_prefix=$need_lib_prefix
  27065. +
  27066. +# Do we need a version for libraries?
  27067. +need_version=$need_version
  27068. +
  27069. +# Whether dlopen is supported.
  27070. +dlopen_support=$enable_dlopen
  27071. +
  27072. +# Whether dlopen of programs is supported.
  27073. +dlopen_self=$enable_dlopen_self
  27074. +
  27075. +# Whether dlopen of statically linked programs is supported.
  27076. +dlopen_self_static=$enable_dlopen_self_static
  27077. +
  27078. +# Compiler flag to prevent dynamic linking.
  27079. +link_static_flag=$lt_link_static_flag
  27080. +
  27081. +# Compiler flag to turn off builtin functions.
  27082. +no_builtin_flag=$lt_no_builtin_flag
  27083. +
  27084. +# Compiler flag to allow reflexive dlopens.
  27085. +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
  27086. +
  27087. +# Compiler flag to generate shared objects directly from archives.
  27088. +whole_archive_flag_spec=$lt_whole_archive_flag_spec
  27089. +
  27090. +# Compiler flag to generate thread-safe objects.
  27091. +thread_safe_flag_spec=$lt_thread_safe_flag_spec
  27092. +
  27093. +# Library versioning type.
  27094. +version_type=$version_type
  27095. +
  27096. +# Format of library name prefix.
  27097. +libname_spec=$lt_libname_spec
  27098. +
  27099. +# List of archive names. First name is the real one, the rest are links.
  27100. +# The last name is the one that the linker finds with -lNAME.
  27101. +library_names_spec=$lt_library_names_spec
  27102. +
  27103. +# The coded name of the library, if different from the real name.
  27104. +soname_spec=$lt_soname_spec
  27105. +
  27106. +# Commands used to build and install an old-style archive.
  27107. +RANLIB=$lt_RANLIB
  27108. +old_archive_cmds=$lt_old_archive_cmds
  27109. +old_postinstall_cmds=$lt_old_postinstall_cmds
  27110. +old_postuninstall_cmds=$lt_old_postuninstall_cmds
  27111. +
  27112. +# Create an old-style archive from a shared archive.
  27113. +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
  27114. +
  27115. +# Create a temporary old-style archive to link instead of a shared archive.
  27116. +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
  27117. +
  27118. +# Commands used to build and install a shared archive.
  27119. +archive_cmds=$lt_archive_cmds
  27120. +archive_expsym_cmds=$lt_archive_expsym_cmds
  27121. +postinstall_cmds=$lt_postinstall_cmds
  27122. +postuninstall_cmds=$lt_postuninstall_cmds
  27123. +
  27124. +# Commands to strip libraries.
  27125. +old_striplib=$lt_old_striplib
  27126. +striplib=$lt_striplib
  27127. +
  27128. +# Method to check whether dependent libraries are shared objects.
  27129. +deplibs_check_method=$lt_deplibs_check_method
  27130. +
  27131. +# Command to use when deplibs_check_method == file_magic.
  27132. +file_magic_cmd=$lt_file_magic_cmd
  27133. +
  27134. +# Flag that allows shared libraries with undefined symbols to be built.
  27135. +allow_undefined_flag=$lt_allow_undefined_flag
  27136. +
  27137. +# Flag that forces no undefined symbols.
  27138. +no_undefined_flag=$lt_no_undefined_flag
  27139. +
  27140. +# Commands used to finish a libtool library installation in a directory.
  27141. +finish_cmds=$lt_finish_cmds
  27142. +
  27143. +# Same as above, but a single script fragment to be evaled but not shown.
  27144. +finish_eval=$lt_finish_eval
  27145. +
  27146. +# Take the output of nm and produce a listing of raw symbols and C names.
  27147. +global_symbol_pipe=$lt_global_symbol_pipe
  27148. +
  27149. +# Transform the output of nm in a proper C declaration
  27150. +global_symbol_to_cdecl=$lt_global_symbol_to_cdecl
  27151. +
  27152. +# Transform the output of nm in a C name address pair
  27153. +global_symbol_to_c_name_address=$lt_global_symbol_to_c_name_address
  27154. +
  27155. +# This is the shared library runtime path variable.
  27156. +runpath_var=$runpath_var
  27157. +
  27158. +# This is the shared library path variable.
  27159. +shlibpath_var=$shlibpath_var
  27160. +
  27161. +# Is shlibpath searched before the hard-coded library search path?
  27162. +shlibpath_overrides_runpath=$shlibpath_overrides_runpath
  27163. +
  27164. +# How to hardcode a shared library path into an executable.
  27165. +hardcode_action=$hardcode_action
  27166. +
  27167. +# Whether we should hardcode library paths into libraries.
  27168. +hardcode_into_libs=$hardcode_into_libs
  27169. +
  27170. +# Flag to hardcode \$libdir into a binary during linking.
  27171. +# This must work even if \$libdir does not exist.
  27172. +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
  27173. +
  27174. +# Whether we need a single -rpath flag with a separated argument.
  27175. +hardcode_libdir_separator=$lt_hardcode_libdir_separator
  27176. +
  27177. +# Set to yes if using DIR/libNAME.so during linking hardcodes DIR into the
  27178. +# resulting binary.
  27179. +hardcode_direct=$hardcode_direct
  27180. +
  27181. +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
  27182. +# resulting binary.
  27183. +hardcode_minus_L=$hardcode_minus_L
  27184. +
  27185. +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
  27186. +# the resulting binary.
  27187. +hardcode_shlibpath_var=$hardcode_shlibpath_var
  27188. +
  27189. +# Variables whose values should be saved in libtool wrapper scripts and
  27190. +# restored at relink time.
  27191. +variables_saved_for_relink="$variables_saved_for_relink"
  27192. +
  27193. +# Whether libtool must link a program against all its dependency libraries.
  27194. +link_all_deplibs=$link_all_deplibs
  27195. +
  27196. +# Compile-time system search path for libraries
  27197. +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
  27198. +
  27199. +# Run-time system search path for libraries
  27200. +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
  27201. +
  27202. +# Fix the shell variable \$srcfile for the compiler.
  27203. +fix_srcfile_path="$fix_srcfile_path"
  27204. +
  27205. +# Set to yes if exported symbols are required.
  27206. +always_export_symbols=$always_export_symbols
  27207. +
  27208. +# The commands to list exported symbols.
  27209. +export_symbols_cmds=$lt_export_symbols_cmds
  27210. +
  27211. +# The commands to extract the exported symbol list from a shared archive.
  27212. +extract_expsyms_cmds=$lt_extract_expsyms_cmds
  27213. +
  27214. +# Symbols that should not be listed in the preloaded symbols.
  27215. +exclude_expsyms=$lt_exclude_expsyms
  27216. +
  27217. +# Symbols that must always be exported.
  27218. +include_expsyms=$lt_include_expsyms
  27219. +
  27220. +# ### END LIBTOOL CONFIG
  27221. +
  27222. +__EOF__
  27223. +
  27224. + case $host_os in
  27225. + aix3*)
  27226. + cat <<\EOF >> "${ofile}T"
  27227. +
  27228. +# AIX sometimes has problems with the GCC collect2 program. For some
  27229. +# reason, if we set the COLLECT_NAMES environment variable, the problems
  27230. +# vanish in a puff of smoke.
  27231. +if test "X${COLLECT_NAMES+set}" != Xset; then
  27232. + COLLECT_NAMES=
  27233. + export COLLECT_NAMES
  27234. +fi
  27235. +EOF
  27236. + ;;
  27237. + esac
  27238. +
  27239. + case $host_os in
  27240. + cygwin* | mingw* | pw32* | os2*)
  27241. + cat <<'EOF' >> "${ofile}T"
  27242. + # This is a source program that is used to create dlls on Windows
  27243. + # Don't remove nor modify the starting and closing comments
  27244. +# /* ltdll.c starts here */
  27245. +# #define WIN32_LEAN_AND_MEAN
  27246. +# #include <windows.h>
  27247. +# #undef WIN32_LEAN_AND_MEAN
  27248. +# #include <stdio.h>
  27249. +#
  27250. +# #ifndef __CYGWIN__
  27251. +# # ifdef __CYGWIN32__
  27252. +# # define __CYGWIN__ __CYGWIN32__
  27253. +# # endif
  27254. +# #endif
  27255. +#
  27256. +# #ifdef __cplusplus
  27257. +# extern "C" {
  27258. +# #endif
  27259. +# BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved);
  27260. +# #ifdef __cplusplus
  27261. +# }
  27262. +# #endif
  27263. +#
  27264. +# #ifdef __CYGWIN__
  27265. +# #include <cygwin/cygwin_dll.h>
  27266. +# DECLARE_CYGWIN_DLL( DllMain );
  27267. +# #endif
  27268. +# HINSTANCE __hDllInstance_base;
  27269. +#
  27270. +# BOOL APIENTRY
  27271. +# DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved)
  27272. +# {
  27273. +# __hDllInstance_base = hInst;
  27274. +# return TRUE;
  27275. +# }
  27276. +# /* ltdll.c ends here */
  27277. + # This is a source program that is used to create import libraries
  27278. + # on Windows for dlls which lack them. Don't remove nor modify the
  27279. + # starting and closing comments
  27280. +# /* impgen.c starts here */
  27281. +# /* Copyright (C) 1999-2000 Free Software Foundation, Inc.
  27282. +#
  27283. +# This file is part of GNU libtool.
  27284. +#
  27285. +# This program is free software; you can redistribute it and/or modify
  27286. +# it under the terms of the GNU General Public License as published by
  27287. +# the Free Software Foundation; either version 2 of the License, or
  27288. +# (at your option) any later version.
  27289. +#
  27290. +# This program is distributed in the hope that it will be useful,
  27291. +# but WITHOUT ANY WARRANTY; without even the implied warranty of
  27292. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  27293. +# GNU General Public License for more details.
  27294. +#
  27295. +# You should have received a copy of the GNU General Public License
  27296. +# along with this program; if not, write to the Free Software
  27297. +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  27298. +# */
  27299. +#
  27300. +# #include <stdio.h> /* for printf() */
  27301. +# #include <unistd.h> /* for open(), lseek(), read() */
  27302. +# #include <fcntl.h> /* for O_RDONLY, O_BINARY */
  27303. +# #include <string.h> /* for strdup() */
  27304. +#
  27305. +# /* O_BINARY isn't required (or even defined sometimes) under Unix */
  27306. +# #ifndef O_BINARY
  27307. +# #define O_BINARY 0
  27308. +# #endif
  27309. +#
  27310. +# static unsigned int
  27311. +# pe_get16 (fd, offset)
  27312. +# int fd;
  27313. +# int offset;
  27314. +# {
  27315. +# unsigned char b[2];
  27316. +# lseek (fd, offset, SEEK_SET);
  27317. +# read (fd, b, 2);
  27318. +# return b[0] + (b[1]<<8);
  27319. +# }
  27320. +#
  27321. +# static unsigned int
  27322. +# pe_get32 (fd, offset)
  27323. +# int fd;
  27324. +# int offset;
  27325. +# {
  27326. +# unsigned char b[4];
  27327. +# lseek (fd, offset, SEEK_SET);
  27328. +# read (fd, b, 4);
  27329. +# return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24);
  27330. +# }
  27331. +#
  27332. +# static unsigned int
  27333. +# pe_as32 (ptr)
  27334. +# void *ptr;
  27335. +# {
  27336. +# unsigned char *b = ptr;
  27337. +# return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24);
  27338. +# }
  27339. +#
  27340. +# int
  27341. +# main (argc, argv)
  27342. +# int argc;
  27343. +# char *argv[];
  27344. +# {
  27345. +# int dll;
  27346. +# unsigned long pe_header_offset, opthdr_ofs, num_entries, i;
  27347. +# unsigned long export_rva, export_size, nsections, secptr, expptr;
  27348. +# unsigned long name_rvas, nexp;
  27349. +# unsigned char *expdata, *erva;
  27350. +# char *filename, *dll_name;
  27351. +#
  27352. +# filename = argv[1];
  27353. +#
  27354. +# dll = open(filename, O_RDONLY|O_BINARY);
  27355. +# if (dll < 1)
  27356. +# return 1;
  27357. +#
  27358. +# dll_name = filename;
  27359. +#
  27360. +# for (i=0; filename[i]; i++)
  27361. +# if (filename[i] == '/' || filename[i] == '\\' || filename[i] == ':')
  27362. +# dll_name = filename + i +1;
  27363. +#
  27364. +# pe_header_offset = pe_get32 (dll, 0x3c);
  27365. +# opthdr_ofs = pe_header_offset + 4 + 20;
  27366. +# num_entries = pe_get32 (dll, opthdr_ofs + 92);
  27367. +#
  27368. +# if (num_entries < 1) /* no exports */
  27369. +# return 1;
  27370. +#
  27371. +# export_rva = pe_get32 (dll, opthdr_ofs + 96);
  27372. +# export_size = pe_get32 (dll, opthdr_ofs + 100);
  27373. +# nsections = pe_get16 (dll, pe_header_offset + 4 +2);
  27374. +# secptr = (pe_header_offset + 4 + 20 +
  27375. +# pe_get16 (dll, pe_header_offset + 4 + 16));
  27376. +#
  27377. +# expptr = 0;
  27378. +# for (i = 0; i < nsections; i++)
  27379. +# {
  27380. +# char sname[8];
  27381. +# unsigned long secptr1 = secptr + 40 * i;
  27382. +# unsigned long vaddr = pe_get32 (dll, secptr1 + 12);
  27383. +# unsigned long vsize = pe_get32 (dll, secptr1 + 16);
  27384. +# unsigned long fptr = pe_get32 (dll, secptr1 + 20);
  27385. +# lseek(dll, secptr1, SEEK_SET);
  27386. +# read(dll, sname, 8);
  27387. +# if (vaddr <= export_rva && vaddr+vsize > export_rva)
  27388. +# {
  27389. +# expptr = fptr + (export_rva - vaddr);
  27390. +# if (export_rva + export_size > vaddr + vsize)
  27391. +# export_size = vsize - (export_rva - vaddr);
  27392. +# break;
  27393. +# }
  27394. +# }
  27395. +#
  27396. +# expdata = (unsigned char*)malloc(export_size);
  27397. +# lseek (dll, expptr, SEEK_SET);
  27398. +# read (dll, expdata, export_size);
  27399. +# erva = expdata - export_rva;
  27400. +#
  27401. +# nexp = pe_as32 (expdata+24);
  27402. +# name_rvas = pe_as32 (expdata+32);
  27403. +#
  27404. +# printf ("EXPORTS\n");
  27405. +# for (i = 0; i<nexp; i++)
  27406. +# {
  27407. +# unsigned long name_rva = pe_as32 (erva+name_rvas+i*4);
  27408. +# printf ("\t%s @ %ld ;\n", erva+name_rva, 1+ i);
  27409. +# }
  27410. +#
  27411. +# return 0;
  27412. +# }
  27413. +# /* impgen.c ends here */
  27414. +
  27415. +EOF
  27416. + ;;
  27417. + esac
  27418. +
  27419. + # We use sed instead of cat because bash on DJGPP gets confused if
  27420. + # if finds mixed CR/LF and LF-only lines. Since sed operates in
  27421. + # text mode, it properly converts lines to CR/LF. This bash problem
  27422. + # is reportedly fixed, but why not run on old versions too?
  27423. + sed '$q' "$ltmain" >> "${ofile}T" || (rm -f "${ofile}T"; exit 1)
  27424. +
  27425. + mv -f "${ofile}T" "$ofile" || \
  27426. + (rm -f "$ofile" && cp "${ofile}T" "$ofile" && rm -f "${ofile}T")
  27427. + chmod +x "$ofile"
  27428. +fi
  27429. +
  27430. +])# _LT_AC_LTCONFIG_HACK
  27431. # AC_LIBTOOL_DLOPEN - enable checks for dlopen support
  27432. -AC_DEFUN(AC_LIBTOOL_DLOPEN, [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])])
  27433. +AC_DEFUN([AC_LIBTOOL_DLOPEN], [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])])
  27434. # AC_LIBTOOL_WIN32_DLL - declare package support for building win32 dll's
  27435. -AC_DEFUN(AC_LIBTOOL_WIN32_DLL, [AC_BEFORE([$0], [AC_LIBTOOL_SETUP])])
  27436. +AC_DEFUN([AC_LIBTOOL_WIN32_DLL], [AC_BEFORE([$0], [AC_LIBTOOL_SETUP])])
  27437. # AC_ENABLE_SHARED - implement the --enable-shared flag
  27438. # Usage: AC_ENABLE_SHARED[(DEFAULT)]
  27439. # Where DEFAULT is either `yes' or `no'. If omitted, it defaults to
  27440. # `yes'.
  27441. -AC_DEFUN(AC_ENABLE_SHARED, [dnl
  27442. -define([AC_ENABLE_SHARED_DEFAULT], ifelse($1, no, no, yes))dnl
  27443. +AC_DEFUN([AC_ENABLE_SHARED],
  27444. +[define([AC_ENABLE_SHARED_DEFAULT], ifelse($1, no, no, yes))dnl
  27445. AC_ARG_ENABLE(shared,
  27446. changequote(<<, >>)dnl
  27447. << --enable-shared[=PKGS] build shared libraries [default=>>AC_ENABLE_SHARED_DEFAULT],
  27448. changequote([, ])dnl
  27449. [p=${PACKAGE-default}
  27450. -case "$enableval" in
  27451. +case $enableval in
  27452. yes) enable_shared=yes ;;
  27453. no) enable_shared=no ;;
  27454. *)
  27455. @@ -157,21 +2992,22 @@
  27456. ])
  27457. # AC_DISABLE_SHARED - set the default shared flag to --disable-shared
  27458. -AC_DEFUN(AC_DISABLE_SHARED, [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
  27459. +AC_DEFUN([AC_DISABLE_SHARED],
  27460. +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
  27461. AC_ENABLE_SHARED(no)])
  27462. # AC_ENABLE_STATIC - implement the --enable-static flag
  27463. # Usage: AC_ENABLE_STATIC[(DEFAULT)]
  27464. # Where DEFAULT is either `yes' or `no'. If omitted, it defaults to
  27465. # `yes'.
  27466. -AC_DEFUN(AC_ENABLE_STATIC, [dnl
  27467. -define([AC_ENABLE_STATIC_DEFAULT], ifelse($1, no, no, yes))dnl
  27468. +AC_DEFUN([AC_ENABLE_STATIC],
  27469. +[define([AC_ENABLE_STATIC_DEFAULT], ifelse($1, no, no, yes))dnl
  27470. AC_ARG_ENABLE(static,
  27471. changequote(<<, >>)dnl
  27472. << --enable-static[=PKGS] build static libraries [default=>>AC_ENABLE_STATIC_DEFAULT],
  27473. changequote([, ])dnl
  27474. [p=${PACKAGE-default}
  27475. -case "$enableval" in
  27476. +case $enableval in
  27477. yes) enable_static=yes ;;
  27478. no) enable_static=no ;;
  27479. *)
  27480. @@ -190,7 +3026,8 @@
  27481. ])
  27482. # AC_DISABLE_STATIC - set the default static flag to --disable-static
  27483. -AC_DEFUN(AC_DISABLE_STATIC, [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
  27484. +AC_DEFUN([AC_DISABLE_STATIC],
  27485. +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
  27486. AC_ENABLE_STATIC(no)])
  27487. @@ -198,14 +3035,14 @@
  27488. # Usage: AC_ENABLE_FAST_INSTALL[(DEFAULT)]
  27489. # Where DEFAULT is either `yes' or `no'. If omitted, it defaults to
  27490. # `yes'.
  27491. -AC_DEFUN(AC_ENABLE_FAST_INSTALL, [dnl
  27492. -define([AC_ENABLE_FAST_INSTALL_DEFAULT], ifelse($1, no, no, yes))dnl
  27493. +AC_DEFUN([AC_ENABLE_FAST_INSTALL],
  27494. +[define([AC_ENABLE_FAST_INSTALL_DEFAULT], ifelse($1, no, no, yes))dnl
  27495. AC_ARG_ENABLE(fast-install,
  27496. changequote(<<, >>)dnl
  27497. << --enable-fast-install[=PKGS] optimize for fast installation [default=>>AC_ENABLE_FAST_INSTALL_DEFAULT],
  27498. changequote([, ])dnl
  27499. [p=${PACKAGE-default}
  27500. -case "$enableval" in
  27501. +case $enableval in
  27502. yes) enable_fast_install=yes ;;
  27503. no) enable_fast_install=no ;;
  27504. *)
  27505. @@ -223,29 +3060,120 @@
  27506. enable_fast_install=AC_ENABLE_FAST_INSTALL_DEFAULT)dnl
  27507. ])
  27508. -# AC_ENABLE_FAST_INSTALL - set the default to --disable-fast-install
  27509. -AC_DEFUN(AC_DISABLE_FAST_INSTALL, [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
  27510. +# AC_DISABLE_FAST_INSTALL - set the default to --disable-fast-install
  27511. +AC_DEFUN([AC_DISABLE_FAST_INSTALL],
  27512. +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
  27513. AC_ENABLE_FAST_INSTALL(no)])
  27514. +# AC_LIBTOOL_PICMODE - implement the --with-pic flag
  27515. +# Usage: AC_LIBTOOL_PICMODE[(MODE)]
  27516. +# Where MODE is either `yes' or `no'. If omitted, it defaults to
  27517. +# `both'.
  27518. +AC_DEFUN([AC_LIBTOOL_PICMODE],
  27519. +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
  27520. +pic_mode=ifelse($#,1,$1,default)])
  27521. +
  27522. +
  27523. +# AC_PATH_TOOL_PREFIX - find a file program which can recognise shared library
  27524. +AC_DEFUN([AC_PATH_TOOL_PREFIX],
  27525. +[AC_MSG_CHECKING([for $1])
  27526. +AC_CACHE_VAL(lt_cv_path_MAGIC_CMD,
  27527. +[case $MAGIC_CMD in
  27528. + /*)
  27529. + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
  27530. + ;;
  27531. + ?:/*)
  27532. + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
  27533. + ;;
  27534. + *)
  27535. + ac_save_MAGIC_CMD="$MAGIC_CMD"
  27536. + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
  27537. +dnl $ac_dummy forces splitting on constant user-supplied paths.
  27538. +dnl POSIX.2 word splitting is done only on the output of word expansions,
  27539. +dnl not every word. This closes a longstanding sh security hole.
  27540. + ac_dummy="ifelse([$2], , $PATH, [$2])"
  27541. + for ac_dir in $ac_dummy; do
  27542. + test -z "$ac_dir" && ac_dir=.
  27543. + if test -f $ac_dir/$1; then
  27544. + lt_cv_path_MAGIC_CMD="$ac_dir/$1"
  27545. + if test -n "$file_magic_test_file"; then
  27546. + case $deplibs_check_method in
  27547. + "file_magic "*)
  27548. + file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
  27549. + MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  27550. + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
  27551. + egrep "$file_magic_regex" > /dev/null; then
  27552. + :
  27553. + else
  27554. + cat <<EOF 1>&2
  27555. +
  27556. +*** Warning: the command libtool uses to detect shared libraries,
  27557. +*** $file_magic_cmd, produces output that libtool cannot recognize.
  27558. +*** The result is that libtool may fail to recognize shared libraries
  27559. +*** as such. This will affect the creation of libtool libraries that
  27560. +*** depend on shared libraries, but programs linked with such libtool
  27561. +*** libraries will work regardless of this problem. Nevertheless, you
  27562. +*** may want to report the problem to your system manager and/or to
  27563. +*** bug-libtool@gnu.org
  27564. +
  27565. +EOF
  27566. + fi ;;
  27567. + esac
  27568. + fi
  27569. + break
  27570. + fi
  27571. + done
  27572. + IFS="$ac_save_ifs"
  27573. + MAGIC_CMD="$ac_save_MAGIC_CMD"
  27574. + ;;
  27575. +esac])
  27576. +MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  27577. +if test -n "$MAGIC_CMD"; then
  27578. + AC_MSG_RESULT($MAGIC_CMD)
  27579. +else
  27580. + AC_MSG_RESULT(no)
  27581. +fi
  27582. +])
  27583. +
  27584. +
  27585. +# AC_PATH_MAGIC - find a file program which can recognise a shared library
  27586. +AC_DEFUN([AC_PATH_MAGIC],
  27587. +[AC_REQUIRE([AC_CHECK_TOOL_PREFIX])dnl
  27588. +AC_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin:$PATH)
  27589. +if test -z "$lt_cv_path_MAGIC_CMD"; then
  27590. + if test -n "$ac_tool_prefix"; then
  27591. + AC_PATH_TOOL_PREFIX(file, /usr/bin:$PATH)
  27592. + else
  27593. + MAGIC_CMD=:
  27594. + fi
  27595. +fi
  27596. +])
  27597. +
  27598. +
  27599. # AC_PROG_LD - find the path to the GNU or non-GNU linker
  27600. -AC_DEFUN(AC_PROG_LD,
  27601. +AC_DEFUN([AC_PROG_LD],
  27602. [AC_ARG_WITH(gnu-ld,
  27603. [ --with-gnu-ld assume the C compiler uses GNU ld [default=no]],
  27604. test "$withval" = no || with_gnu_ld=yes, with_gnu_ld=no)
  27605. AC_REQUIRE([AC_PROG_CC])dnl
  27606. AC_REQUIRE([AC_CANONICAL_HOST])dnl
  27607. AC_REQUIRE([AC_CANONICAL_BUILD])dnl
  27608. +AC_REQUIRE([_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR])dnl
  27609. ac_prog=ld
  27610. -if test "$ac_cv_prog_gcc" = yes; then
  27611. +if test "$GCC" = yes; then
  27612. # Check if gcc -print-prog-name=ld gives a path.
  27613. AC_MSG_CHECKING([for ld used by GCC])
  27614. - ac_prog=`($CC -print-prog-name=ld) 2>&5`
  27615. - case "$ac_prog" in
  27616. + case $host in
  27617. + *-*-mingw*)
  27618. + # gcc leaves a trailing carriage return which upsets mingw
  27619. + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
  27620. + *)
  27621. + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
  27622. + esac
  27623. + case $ac_prog in
  27624. # Accept absolute paths.
  27625. -changequote(,)dnl
  27626. - [\\/]* | [A-Za-z]:[\\/]*)
  27627. - re_direlt='/[^/][^/]*/\.\./'
  27628. -changequote([,])dnl
  27629. + [[\\/]]* | [[A-Za-z]]:[[\\/]]*)
  27630. + re_direlt='/[[^/]][[^/]]*/\.\./'
  27631. # Canonicalize the path of ld
  27632. ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
  27633. while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
  27634. @@ -267,17 +3195,17 @@
  27635. else
  27636. AC_MSG_CHECKING([for non-GNU ld])
  27637. fi
  27638. -AC_CACHE_VAL(ac_cv_path_LD,
  27639. +AC_CACHE_VAL(lt_cv_path_LD,
  27640. [if test -z "$LD"; then
  27641. - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
  27642. + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  27643. for ac_dir in $PATH; do
  27644. test -z "$ac_dir" && ac_dir=.
  27645. if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
  27646. - ac_cv_path_LD="$ac_dir/$ac_prog"
  27647. + lt_cv_path_LD="$ac_dir/$ac_prog"
  27648. # Check to see if the program is GNU ld. I'd rather use --version,
  27649. # but apparently some GNU ld's only accept -v.
  27650. # Break only if it was the GNU/non-GNU ld that we prefer.
  27651. - if "$ac_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
  27652. + if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
  27653. test "$with_gnu_ld" != no && break
  27654. else
  27655. test "$with_gnu_ld" != yes && break
  27656. @@ -286,9 +3214,9 @@
  27657. done
  27658. IFS="$ac_save_ifs"
  27659. else
  27660. - ac_cv_path_LD="$LD" # Let the user override the test with a path.
  27661. + lt_cv_path_LD="$LD" # Let the user override the test with a path.
  27662. fi])
  27663. -LD="$ac_cv_path_LD"
  27664. +LD="$lt_cv_path_LD"
  27665. if test -n "$LD"; then
  27666. AC_MSG_RESULT($LD)
  27667. else
  27668. @@ -298,56 +3226,255 @@
  27669. AC_PROG_LD_GNU
  27670. ])
  27671. -AC_DEFUN(AC_PROG_LD_GNU,
  27672. -[AC_CACHE_CHECK([if the linker ($LD) is GNU ld], ac_cv_prog_gnu_ld,
  27673. +# AC_PROG_LD_GNU -
  27674. +AC_DEFUN([AC_PROG_LD_GNU],
  27675. +[AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld,
  27676. [# I'd rather use --version here, but apparently some GNU ld's only accept -v.
  27677. if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
  27678. - ac_cv_prog_gnu_ld=yes
  27679. + lt_cv_prog_gnu_ld=yes
  27680. else
  27681. - ac_cv_prog_gnu_ld=no
  27682. + lt_cv_prog_gnu_ld=no
  27683. fi])
  27684. +with_gnu_ld=$lt_cv_prog_gnu_ld
  27685. +])
  27686. +
  27687. +# AC_PROG_LD_RELOAD_FLAG - find reload flag for linker
  27688. +# -- PORTME Some linkers may need a different reload flag.
  27689. +AC_DEFUN([AC_PROG_LD_RELOAD_FLAG],
  27690. +[AC_CACHE_CHECK([for $LD option to reload object files], lt_cv_ld_reload_flag,
  27691. +[lt_cv_ld_reload_flag='-r'])
  27692. +reload_flag=$lt_cv_ld_reload_flag
  27693. +test -n "$reload_flag" && reload_flag=" $reload_flag"
  27694. +])
  27695. +
  27696. +# AC_DEPLIBS_CHECK_METHOD - how to check for library dependencies
  27697. +# -- PORTME fill in with the dynamic library characteristics
  27698. +AC_DEFUN([AC_DEPLIBS_CHECK_METHOD],
  27699. +[AC_CACHE_CHECK([how to recognise dependent libraries],
  27700. +lt_cv_deplibs_check_method,
  27701. +[lt_cv_file_magic_cmd='$MAGIC_CMD'
  27702. +lt_cv_file_magic_test_file=
  27703. +lt_cv_deplibs_check_method='unknown'
  27704. +# Need to set the preceding variable on all platforms that support
  27705. +# interlibrary dependencies.
  27706. +# 'none' -- dependencies not supported.
  27707. +# `unknown' -- same as none, but documents that we really don't know.
  27708. +# 'pass_all' -- all dependencies passed with no checks.
  27709. +# 'test_compile' -- check by making test program.
  27710. +# 'file_magic [[regex]]' -- check by looking for files in library path
  27711. +# which responds to the $file_magic_cmd with a given egrep regex.
  27712. +# If you have `file' or equivalent on your system and you're not sure
  27713. +# whether `pass_all' will *always* work, you probably want this one.
  27714. +
  27715. +case $host_os in
  27716. +aix4* | aix5*)
  27717. + lt_cv_deplibs_check_method=pass_all
  27718. + ;;
  27719. +
  27720. +beos*)
  27721. + lt_cv_deplibs_check_method=pass_all
  27722. + ;;
  27723. +
  27724. +bsdi4*)
  27725. + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)'
  27726. + lt_cv_file_magic_cmd='/usr/bin/file -L'
  27727. + lt_cv_file_magic_test_file=/shlib/libc.so
  27728. + ;;
  27729. +
  27730. +cygwin* | mingw* | pw32*)
  27731. + lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
  27732. + lt_cv_file_magic_cmd='$OBJDUMP -f'
  27733. + ;;
  27734. +
  27735. +darwin* | rhapsody*)
  27736. + lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
  27737. + lt_cv_file_magic_cmd='/usr/bin/file -L'
  27738. + case "$host_os" in
  27739. + rhapsody* | darwin1.[[012]])
  27740. + lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -1`
  27741. + ;;
  27742. + *) # Darwin 1.3 on
  27743. + lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
  27744. + ;;
  27745. + esac
  27746. + ;;
  27747. +
  27748. +freebsd*)
  27749. + if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
  27750. + case $host_cpu in
  27751. + i*86 )
  27752. + # Not sure whether the presence of OpenBSD here was a mistake.
  27753. + # Let's accept both of them until this is cleared up.
  27754. + lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[[3-9]]86 (compact )?demand paged shared library'
  27755. + lt_cv_file_magic_cmd=/usr/bin/file
  27756. + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
  27757. + ;;
  27758. + esac
  27759. + else
  27760. + lt_cv_deplibs_check_method=pass_all
  27761. + fi
  27762. + ;;
  27763. +
  27764. +gnu*)
  27765. + lt_cv_deplibs_check_method=pass_all
  27766. + ;;
  27767. +
  27768. +hpux10.20*|hpux11*)
  27769. + lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library'
  27770. + lt_cv_file_magic_cmd=/usr/bin/file
  27771. + lt_cv_file_magic_test_file=/usr/lib/libc.sl
  27772. + ;;
  27773. +
  27774. +irix5* | irix6* | nonstopux*)
  27775. + case $host_os in
  27776. + irix5* | nonstopux*)
  27777. + # this will be overridden with pass_all, but let us keep it just in case
  27778. + lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
  27779. + ;;
  27780. + *)
  27781. + case $LD in
  27782. + *-32|*"-32 ") libmagic=32-bit;;
  27783. + *-n32|*"-n32 ") libmagic=N32;;
  27784. + *-64|*"-64 ") libmagic=64-bit;;
  27785. + *) libmagic=never-match;;
  27786. + esac
  27787. + # this will be overridden with pass_all, but let us keep it just in case
  27788. + lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[[1234]] dynamic lib MIPS - version 1"
  27789. + ;;
  27790. + esac
  27791. + lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
  27792. + lt_cv_deplibs_check_method=pass_all
  27793. + ;;
  27794. +
  27795. +# This must be Linux ELF.
  27796. +linux-gnu*)
  27797. + case $host_cpu in
  27798. + alpha* | hppa* | i*86 | mips | mipsel | powerpc* | sparc* | ia64* | arm* | m68k)
  27799. + lt_cv_deplibs_check_method=pass_all ;;
  27800. + *)
  27801. + # glibc up to 2.1.1 does not perform some relocations on ARM
  27802. + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )' ;;
  27803. + esac
  27804. + lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
  27805. + ;;
  27806. +
  27807. +netbsd*)
  27808. + if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
  27809. + lt_cv_deplibs_check_method='match_pattern /lib[[^/\.]]+\.so\.[[0-9]]+\.[[0-9]]+$'
  27810. + else
  27811. + lt_cv_deplibs_check_method='match_pattern /lib[[^/\.]]+\.so$'
  27812. + fi
  27813. + ;;
  27814. +
  27815. +newos6*)
  27816. + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)'
  27817. + lt_cv_file_magic_cmd=/usr/bin/file
  27818. + lt_cv_file_magic_test_file=/usr/lib/libnls.so
  27819. + ;;
  27820. +
  27821. +openbsd*)
  27822. + lt_cv_file_magic_cmd=/usr/bin/file
  27823. + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
  27824. + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  27825. + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB shared object'
  27826. + else
  27827. + lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
  27828. + fi
  27829. + ;;
  27830. +
  27831. +osf3* | osf4* | osf5*)
  27832. + # this will be overridden with pass_all, but let us keep it just in case
  27833. + lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
  27834. + lt_cv_file_magic_test_file=/shlib/libc.so
  27835. + lt_cv_deplibs_check_method=pass_all
  27836. + ;;
  27837. +
  27838. +sco3.2v5*)
  27839. + lt_cv_deplibs_check_method=pass_all
  27840. + ;;
  27841. +
  27842. +solaris*)
  27843. + lt_cv_deplibs_check_method=pass_all
  27844. + lt_cv_file_magic_test_file=/lib/libc.so
  27845. + ;;
  27846. +
  27847. +sysv5uw[[78]]* | sysv4*uw2*)
  27848. + lt_cv_deplibs_check_method=pass_all
  27849. + ;;
  27850. +
  27851. +sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
  27852. + case $host_vendor in
  27853. + motorola)
  27854. + 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]]'
  27855. + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
  27856. + ;;
  27857. + ncr)
  27858. + lt_cv_deplibs_check_method=pass_all
  27859. + ;;
  27860. + sequent)
  27861. + lt_cv_file_magic_cmd='/bin/file'
  27862. + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )'
  27863. + ;;
  27864. + sni)
  27865. + lt_cv_file_magic_cmd='/bin/file'
  27866. + lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib"
  27867. + lt_cv_file_magic_test_file=/lib/libc.so
  27868. + ;;
  27869. + siemens)
  27870. + lt_cv_deplibs_check_method=pass_all
  27871. + ;;
  27872. + esac
  27873. + ;;
  27874. +esac
  27875. +])
  27876. +file_magic_cmd=$lt_cv_file_magic_cmd
  27877. +deplibs_check_method=$lt_cv_deplibs_check_method
  27878. ])
  27879. +
  27880. # AC_PROG_NM - find the path to a BSD-compatible name lister
  27881. -AC_DEFUN(AC_PROG_NM,
  27882. -[AC_MSG_CHECKING([for BSD-compatible nm])
  27883. -AC_CACHE_VAL(ac_cv_path_NM,
  27884. +AC_DEFUN([AC_PROG_NM],
  27885. +[AC_REQUIRE([_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR])dnl
  27886. +AC_MSG_CHECKING([for BSD-compatible nm])
  27887. +AC_CACHE_VAL(lt_cv_path_NM,
  27888. [if test -n "$NM"; then
  27889. # Let the user override the test.
  27890. - ac_cv_path_NM="$NM"
  27891. + lt_cv_path_NM="$NM"
  27892. else
  27893. - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
  27894. + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  27895. for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
  27896. test -z "$ac_dir" && ac_dir=.
  27897. - if test -f $ac_dir/nm || test -f $ac_dir/nm$ac_exeext ; then
  27898. + tmp_nm=$ac_dir/${ac_tool_prefix}nm
  27899. + if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
  27900. # Check to see if the nm accepts a BSD-compat flag.
  27901. # Adding the `sed 1q' prevents false positives on HP-UX, which says:
  27902. # nm: unknown option "B" ignored
  27903. - if ($ac_dir/nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
  27904. - ac_cv_path_NM="$ac_dir/nm -B"
  27905. + # Tru64's nm complains that /dev/null is an invalid object file
  27906. + if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
  27907. + lt_cv_path_NM="$tmp_nm -B"
  27908. break
  27909. - elif ($ac_dir/nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
  27910. - ac_cv_path_NM="$ac_dir/nm -p"
  27911. + elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
  27912. + lt_cv_path_NM="$tmp_nm -p"
  27913. break
  27914. else
  27915. - ac_cv_path_NM=${ac_cv_path_NM="$ac_dir/nm"} # keep the first match, but
  27916. + lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
  27917. continue # so that we can try to find one that supports BSD flags
  27918. fi
  27919. fi
  27920. done
  27921. IFS="$ac_save_ifs"
  27922. - test -z "$ac_cv_path_NM" && ac_cv_path_NM=nm
  27923. + test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
  27924. fi])
  27925. -NM="$ac_cv_path_NM"
  27926. +NM="$lt_cv_path_NM"
  27927. AC_MSG_RESULT([$NM])
  27928. ])
  27929. # AC_CHECK_LIBM - check for math library
  27930. -AC_DEFUN(AC_CHECK_LIBM,
  27931. +AC_DEFUN([AC_CHECK_LIBM],
  27932. [AC_REQUIRE([AC_CANONICAL_HOST])dnl
  27933. LIBM=
  27934. -case "$lt_target" in
  27935. -*-*-beos* | *-*-cygwin*)
  27936. +case $host in
  27937. +*-*-beos* | *-*-cygwin* | *-*-pw32*)
  27938. # These system don't have libm
  27939. ;;
  27940. *-ncr-sysv4.3*)
  27941. @@ -361,33 +3488,41 @@
  27942. ])
  27943. # AC_LIBLTDL_CONVENIENCE[(dir)] - sets LIBLTDL to the link flags for
  27944. -# the libltdl convenience library, adds --enable-ltdl-convenience to
  27945. -# the configure arguments. Note that LIBLTDL is not AC_SUBSTed, nor
  27946. -# is AC_CONFIG_SUBDIRS called. If DIR is not provided, it is assumed
  27947. -# to be `${top_builddir}/libltdl'. Make sure you start DIR with
  27948. -# '${top_builddir}/' (note the single quotes!) if your package is not
  27949. -# flat, and, if you're not using automake, define top_builddir as
  27950. -# appropriate in the Makefiles.
  27951. -AC_DEFUN(AC_LIBLTDL_CONVENIENCE, [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
  27952. - case "$enable_ltdl_convenience" in
  27953. +# the libltdl convenience library and LTDLINCL to the include flags for
  27954. +# the libltdl header and adds --enable-ltdl-convenience to the
  27955. +# configure arguments. Note that LIBLTDL and LTDLINCL are not
  27956. +# AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called. If DIR is not
  27957. +# provided, it is assumed to be `libltdl'. LIBLTDL will be prefixed
  27958. +# with '${top_builddir}/' and LTDLINCL will be prefixed with
  27959. +# '${top_srcdir}/' (note the single quotes!). If your package is not
  27960. +# flat and you're not using automake, define top_builddir and
  27961. +# top_srcdir appropriately in the Makefiles.
  27962. +AC_DEFUN([AC_LIBLTDL_CONVENIENCE],
  27963. +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
  27964. + case $enable_ltdl_convenience in
  27965. no) AC_MSG_ERROR([this package needs a convenience libltdl]) ;;
  27966. "") enable_ltdl_convenience=yes
  27967. ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
  27968. esac
  27969. - LIBLTDL=ifelse($#,1,$1,['${top_builddir}/libltdl'])/libltdlc.la
  27970. - INCLTDL=ifelse($#,1,-I$1,['-I${top_builddir}/libltdl'])
  27971. + LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdlc.la
  27972. + LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
  27973. + # For backwards non-gettext consistent compatibility...
  27974. + INCLTDL="$LTDLINCL"
  27975. ])
  27976. # AC_LIBLTDL_INSTALLABLE[(dir)] - sets LIBLTDL to the link flags for
  27977. -# the libltdl installable library, and adds --enable-ltdl-install to
  27978. -# the configure arguments. Note that LIBLTDL is not AC_SUBSTed, nor
  27979. -# is AC_CONFIG_SUBDIRS called. If DIR is not provided, it is assumed
  27980. -# to be `${top_builddir}/libltdl'. Make sure you start DIR with
  27981. -# '${top_builddir}/' (note the single quotes!) if your package is not
  27982. -# flat, and, if you're not using automake, define top_builddir as
  27983. -# appropriate in the Makefiles.
  27984. +# the libltdl installable library and LTDLINCL to the include flags for
  27985. +# the libltdl header and adds --enable-ltdl-install to the configure
  27986. +# arguments. Note that LIBLTDL and LTDLINCL are not AC_SUBSTed, nor is
  27987. +# AC_CONFIG_SUBDIRS called. If DIR is not provided and an installed
  27988. +# libltdl is not found, it is assumed to be `libltdl'. LIBLTDL will
  27989. +# be prefixed with '${top_builddir}/' and LTDLINCL will be prefixed
  27990. +# with '${top_srcdir}/' (note the single quotes!). If your package is
  27991. +# not flat and you're not using automake, define top_builddir and
  27992. +# top_srcdir appropriately in the Makefiles.
  27993. # In the future, this macro may have to be called after AC_PROG_LIBTOOL.
  27994. -AC_DEFUN(AC_LIBLTDL_INSTALLABLE, [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
  27995. +AC_DEFUN([AC_LIBLTDL_INSTALLABLE],
  27996. +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
  27997. AC_CHECK_LIB(ltdl, main,
  27998. [test x"$enable_ltdl_install" != xyes && enable_ltdl_install=no],
  27999. [if test x"$enable_ltdl_install" = xno; then
  28000. @@ -398,30 +3533,940 @@
  28001. ])
  28002. if test x"$enable_ltdl_install" = x"yes"; then
  28003. ac_configure_args="$ac_configure_args --enable-ltdl-install"
  28004. - LIBLTDL=ifelse($#,1,$1,['${top_builddir}/libltdl'])/libltdl.la
  28005. - INCLTDL=ifelse($#,1,-I$1,['-I${top_builddir}/libltdl'])
  28006. + LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdl.la
  28007. + LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
  28008. else
  28009. ac_configure_args="$ac_configure_args --enable-ltdl-install=no"
  28010. LIBLTDL="-lltdl"
  28011. - INCLTDL=
  28012. + LTDLINCL=
  28013. + fi
  28014. + # For backwards non-gettext consistent compatibility...
  28015. + INCLTDL="$LTDLINCL"
  28016. +])
  28017. +
  28018. +# old names
  28019. +AC_DEFUN([AM_PROG_LIBTOOL], [AC_PROG_LIBTOOL])
  28020. +AC_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)])
  28021. +AC_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)])
  28022. +AC_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)])
  28023. +AC_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)])
  28024. +AC_DEFUN([AM_PROG_LD], [AC_PROG_LD])
  28025. +AC_DEFUN([AM_PROG_NM], [AC_PROG_NM])
  28026. +
  28027. +# This is just to silence aclocal about the macro not being used
  28028. +ifelse([AC_DISABLE_FAST_INSTALL])
  28029. +
  28030. +# NOTE: This macro has been submitted for inclusion into #
  28031. +# GNU Autoconf as AC_PROG_SED. When it is available in #
  28032. +# a released version of Autoconf we should remove this #
  28033. +# macro and use it instead. #
  28034. +# LT_AC_PROG_SED
  28035. +# --------------
  28036. +# Check for a fully-functional sed program, that truncates
  28037. +# as few characters as possible. Prefer GNU sed if found.
  28038. +AC_DEFUN([LT_AC_PROG_SED],
  28039. +[AC_MSG_CHECKING([for a sed that does not truncate output])
  28040. +AC_CACHE_VAL(lt_cv_path_SED,
  28041. +[# Loop through the user's path and test for sed and gsed.
  28042. +# Then use that list of sed's as ones to test for truncation.
  28043. +as_executable_p="test -f"
  28044. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  28045. +for as_dir in $PATH
  28046. +do
  28047. + IFS=$as_save_IFS
  28048. + test -z "$as_dir" && as_dir=.
  28049. + for ac_prog in sed gsed; do
  28050. + for ac_exec_ext in '' $ac_executable_extensions; do
  28051. + if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
  28052. + _sed_list="$_sed_list $as_dir/$ac_prog$ac_exec_ext"
  28053. + fi
  28054. + done
  28055. + done
  28056. +done
  28057. +
  28058. + # Create a temporary directory, and hook for its removal unless debugging.
  28059. +$debug ||
  28060. +{
  28061. + trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
  28062. + trap '{ (exit 1); exit 1; }' 1 2 13 15
  28063. +}
  28064. +
  28065. +# Create a (secure) tmp directory for tmp files.
  28066. +: ${TMPDIR=/tmp}
  28067. +{
  28068. + tmp=`(umask 077 && mktemp -d -q "$TMPDIR/sedXXXXXX") 2>/dev/null` &&
  28069. + test -n "$tmp" && test -d "$tmp"
  28070. +} ||
  28071. +{
  28072. + tmp=$TMPDIR/sed$$-$RANDOM
  28073. + (umask 077 && mkdir $tmp)
  28074. +} ||
  28075. +{
  28076. + echo "$me: cannot create a temporary directory in $TMPDIR" >&2
  28077. + { (exit 1); exit 1; }
  28078. +}
  28079. + _max=0
  28080. + _count=0
  28081. + # Add /usr/xpg4/bin/sed as it is typically found on Solaris
  28082. + # along with /bin/sed that truncates output.
  28083. + for _sed in $_sed_list /usr/xpg4/bin/sed; do
  28084. + test ! -f ${_sed} && break
  28085. + cat /dev/null > "$tmp/sed.in"
  28086. + _count=0
  28087. + echo ${ECHO_N-$ac_n} "0123456789${ECHO_C-$ac_c}" >"$tmp/sed.in"
  28088. + # Check for GNU sed and select it if it is found.
  28089. + if "${_sed}" --version 2>&1 < /dev/null | egrep '(GNU)' > /dev/null; then
  28090. + lt_cv_path_SED=${_sed}
  28091. + break
  28092. + fi
  28093. + while true; do
  28094. + cat "$tmp/sed.in" "$tmp/sed.in" >"$tmp/sed.tmp"
  28095. + mv "$tmp/sed.tmp" "$tmp/sed.in"
  28096. + cp "$tmp/sed.in" "$tmp/sed.nl"
  28097. + echo >>"$tmp/sed.nl"
  28098. + ${_sed} -e 's/a$//' < "$tmp/sed.nl" >"$tmp/sed.out" || break
  28099. + cmp -s "$tmp/sed.out" "$tmp/sed.nl" || break
  28100. + # 40000 chars as input seems more than enough
  28101. + test $_count -gt 10 && break
  28102. + _count=`expr $_count + 1`
  28103. + if test $_count -gt $_max; then
  28104. + _max=$_count
  28105. + lt_cv_path_SED=$_sed
  28106. + fi
  28107. + done
  28108. + done
  28109. + rm -rf "$tmp"
  28110. +])
  28111. +if test "X$SED" != "X"; then
  28112. + lt_cv_path_SED=$SED
  28113. +else
  28114. + SED=$lt_cv_path_SED
  28115. +fi
  28116. +AC_MSG_RESULT([$SED])
  28117. +])
  28118. +
  28119. +# lib-prefix.m4 serial 3 (gettext-0.12.2)
  28120. +dnl Copyright (C) 2001-2003 Free Software Foundation, Inc.
  28121. +dnl This file is free software, distributed under the terms of the GNU
  28122. +dnl General Public License. As a special exception to the GNU General
  28123. +dnl Public License, this file may be distributed as part of a program
  28124. +dnl that contains a configuration script generated by Autoconf, under
  28125. +dnl the same distribution terms as the rest of that program.
  28126. +
  28127. +dnl From Bruno Haible.
  28128. +
  28129. +dnl AC_LIB_ARG_WITH is synonymous to AC_ARG_WITH in autoconf-2.13, and
  28130. +dnl similar to AC_ARG_WITH in autoconf 2.52...2.57 except that is doesn't
  28131. +dnl require excessive bracketing.
  28132. +ifdef([AC_HELP_STRING],
  28133. +[AC_DEFUN([AC_LIB_ARG_WITH], [AC_ARG_WITH([$1],[[$2]],[$3],[$4])])],
  28134. +[AC_DEFUN([AC_][LIB_ARG_WITH], [AC_ARG_WITH([$1],[$2],[$3],[$4])])])
  28135. +
  28136. +dnl AC_LIB_PREFIX adds to the CPPFLAGS and LDFLAGS the flags that are needed
  28137. +dnl to access previously installed libraries. The basic assumption is that
  28138. +dnl a user will want packages to use other packages he previously installed
  28139. +dnl with the same --prefix option.
  28140. +dnl This macro is not needed if only AC_LIB_LINKFLAGS is used to locate
  28141. +dnl libraries, but is otherwise very convenient.
  28142. +AC_DEFUN([AC_LIB_PREFIX],
  28143. +[
  28144. + AC_BEFORE([$0], [AC_LIB_LINKFLAGS])
  28145. + AC_REQUIRE([AC_PROG_CC])
  28146. + AC_REQUIRE([AC_CANONICAL_HOST])
  28147. + AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
  28148. + dnl By default, look in $includedir and $libdir.
  28149. + use_additional=yes
  28150. + AC_LIB_WITH_FINAL_PREFIX([
  28151. + eval additional_includedir=\"$includedir\"
  28152. + eval additional_libdir=\"$libdir\"
  28153. + ])
  28154. + AC_LIB_ARG_WITH([lib-prefix],
  28155. +[ --with-lib-prefix[=DIR] search for libraries in DIR/include and DIR/lib
  28156. + --without-lib-prefix don't search for libraries in includedir and libdir],
  28157. +[
  28158. + if test "X$withval" = "Xno"; then
  28159. + use_additional=no
  28160. + else
  28161. + if test "X$withval" = "X"; then
  28162. + AC_LIB_WITH_FINAL_PREFIX([
  28163. + eval additional_includedir=\"$includedir\"
  28164. + eval additional_libdir=\"$libdir\"
  28165. + ])
  28166. + else
  28167. + additional_includedir="$withval/include"
  28168. + additional_libdir="$withval/lib"
  28169. + fi
  28170. + fi
  28171. +])
  28172. + if test $use_additional = yes; then
  28173. + dnl Potentially add $additional_includedir to $CPPFLAGS.
  28174. + dnl But don't add it
  28175. + dnl 1. if it's the standard /usr/include,
  28176. + dnl 2. if it's already present in $CPPFLAGS,
  28177. + dnl 3. if it's /usr/local/include and we are using GCC on Linux,
  28178. + dnl 4. if it doesn't exist as a directory.
  28179. + if test "X$additional_includedir" != "X/usr/include"; then
  28180. + haveit=
  28181. + for x in $CPPFLAGS; do
  28182. + AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
  28183. + if test "X$x" = "X-I$additional_includedir"; then
  28184. + haveit=yes
  28185. + break
  28186. + fi
  28187. + done
  28188. + if test -z "$haveit"; then
  28189. + if test "X$additional_includedir" = "X/usr/local/include"; then
  28190. + if test -n "$GCC"; then
  28191. + case $host_os in
  28192. + linux*) haveit=yes;;
  28193. + esac
  28194. + fi
  28195. + fi
  28196. + if test -z "$haveit"; then
  28197. + if test -d "$additional_includedir"; then
  28198. + dnl Really add $additional_includedir to $CPPFLAGS.
  28199. + CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }-I$additional_includedir"
  28200. + fi
  28201. + fi
  28202. + fi
  28203. + fi
  28204. + dnl Potentially add $additional_libdir to $LDFLAGS.
  28205. + dnl But don't add it
  28206. + dnl 1. if it's the standard /usr/lib,
  28207. + dnl 2. if it's already present in $LDFLAGS,
  28208. + dnl 3. if it's /usr/local/lib and we are using GCC on Linux,
  28209. + dnl 4. if it doesn't exist as a directory.
  28210. + if test "X$additional_libdir" != "X/usr/lib"; then
  28211. + haveit=
  28212. + for x in $LDFLAGS; do
  28213. + AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
  28214. + if test "X$x" = "X-L$additional_libdir"; then
  28215. + haveit=yes
  28216. + break
  28217. + fi
  28218. + done
  28219. + if test -z "$haveit"; then
  28220. + if test "X$additional_libdir" = "X/usr/local/lib"; then
  28221. + if test -n "$GCC"; then
  28222. + case $host_os in
  28223. + linux*) haveit=yes;;
  28224. + esac
  28225. + fi
  28226. + fi
  28227. + if test -z "$haveit"; then
  28228. + if test -d "$additional_libdir"; then
  28229. + dnl Really add $additional_libdir to $LDFLAGS.
  28230. + LDFLAGS="${LDFLAGS}${LDFLAGS:+ }-L$additional_libdir"
  28231. + fi
  28232. + fi
  28233. + fi
  28234. + fi
  28235. + fi
  28236. +])
  28237. +
  28238. +dnl AC_LIB_PREPARE_PREFIX creates variables acl_final_prefix,
  28239. +dnl acl_final_exec_prefix, containing the values to which $prefix and
  28240. +dnl $exec_prefix will expand at the end of the configure script.
  28241. +AC_DEFUN([AC_LIB_PREPARE_PREFIX],
  28242. +[
  28243. + dnl Unfortunately, prefix and exec_prefix get only finally determined
  28244. + dnl at the end of configure.
  28245. + if test "X$prefix" = "XNONE"; then
  28246. + acl_final_prefix="$ac_default_prefix"
  28247. + else
  28248. + acl_final_prefix="$prefix"
  28249. + fi
  28250. + if test "X$exec_prefix" = "XNONE"; then
  28251. + acl_final_exec_prefix='${prefix}'
  28252. + else
  28253. + acl_final_exec_prefix="$exec_prefix"
  28254. + fi
  28255. + acl_save_prefix="$prefix"
  28256. + prefix="$acl_final_prefix"
  28257. + eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
  28258. + prefix="$acl_save_prefix"
  28259. +])
  28260. +
  28261. +dnl AC_LIB_WITH_FINAL_PREFIX([statement]) evaluates statement, with the
  28262. +dnl variables prefix and exec_prefix bound to the values they will have
  28263. +dnl at the end of the configure script.
  28264. +AC_DEFUN([AC_LIB_WITH_FINAL_PREFIX],
  28265. +[
  28266. + acl_save_prefix="$prefix"
  28267. + prefix="$acl_final_prefix"
  28268. + acl_save_exec_prefix="$exec_prefix"
  28269. + exec_prefix="$acl_final_exec_prefix"
  28270. + $1
  28271. + exec_prefix="$acl_save_exec_prefix"
  28272. + prefix="$acl_save_prefix"
  28273. +])
  28274. +
  28275. +# lib-link.m4 serial 4 (gettext-0.12)
  28276. +dnl Copyright (C) 2001-2003 Free Software Foundation, Inc.
  28277. +dnl This file is free software, distributed under the terms of the GNU
  28278. +dnl General Public License. As a special exception to the GNU General
  28279. +dnl Public License, this file may be distributed as part of a program
  28280. +dnl that contains a configuration script generated by Autoconf, under
  28281. +dnl the same distribution terms as the rest of that program.
  28282. +
  28283. +dnl From Bruno Haible.
  28284. +
  28285. +dnl AC_LIB_LINKFLAGS(name [, dependencies]) searches for libname and
  28286. +dnl the libraries corresponding to explicit and implicit dependencies.
  28287. +dnl Sets and AC_SUBSTs the LIB${NAME} and LTLIB${NAME} variables and
  28288. +dnl augments the CPPFLAGS variable.
  28289. +AC_DEFUN([AC_LIB_LINKFLAGS],
  28290. +[
  28291. + AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
  28292. + AC_REQUIRE([AC_LIB_RPATH])
  28293. + define([Name],[translit([$1],[./-], [___])])
  28294. + define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-],
  28295. + [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])])
  28296. + AC_CACHE_CHECK([how to link with lib[]$1], [ac_cv_lib[]Name[]_libs], [
  28297. + AC_LIB_LINKFLAGS_BODY([$1], [$2])
  28298. + ac_cv_lib[]Name[]_libs="$LIB[]NAME"
  28299. + ac_cv_lib[]Name[]_ltlibs="$LTLIB[]NAME"
  28300. + ac_cv_lib[]Name[]_cppflags="$INC[]NAME"
  28301. + ])
  28302. + LIB[]NAME="$ac_cv_lib[]Name[]_libs"
  28303. + LTLIB[]NAME="$ac_cv_lib[]Name[]_ltlibs"
  28304. + INC[]NAME="$ac_cv_lib[]Name[]_cppflags"
  28305. + AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME)
  28306. + AC_SUBST([LIB]NAME)
  28307. + AC_SUBST([LTLIB]NAME)
  28308. + dnl Also set HAVE_LIB[]NAME so that AC_LIB_HAVE_LINKFLAGS can reuse the
  28309. + dnl results of this search when this library appears as a dependency.
  28310. + HAVE_LIB[]NAME=yes
  28311. + undefine([Name])
  28312. + undefine([NAME])
  28313. +])
  28314. +
  28315. +dnl AC_LIB_HAVE_LINKFLAGS(name, dependencies, includes, testcode)
  28316. +dnl searches for libname and the libraries corresponding to explicit and
  28317. +dnl implicit dependencies, together with the specified include files and
  28318. +dnl the ability to compile and link the specified testcode. If found, it
  28319. +dnl sets and AC_SUBSTs HAVE_LIB${NAME}=yes and the LIB${NAME} and
  28320. +dnl LTLIB${NAME} variables and augments the CPPFLAGS variable, and
  28321. +dnl #defines HAVE_LIB${NAME} to 1. Otherwise, it sets and AC_SUBSTs
  28322. +dnl HAVE_LIB${NAME}=no and LIB${NAME} and LTLIB${NAME} to empty.
  28323. +AC_DEFUN([AC_LIB_HAVE_LINKFLAGS],
  28324. +[
  28325. + AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
  28326. + AC_REQUIRE([AC_LIB_RPATH])
  28327. + define([Name],[translit([$1],[./-], [___])])
  28328. + define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-],
  28329. + [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])])
  28330. +
  28331. + dnl Search for lib[]Name and define LIB[]NAME, LTLIB[]NAME and INC[]NAME
  28332. + dnl accordingly.
  28333. + AC_LIB_LINKFLAGS_BODY([$1], [$2])
  28334. +
  28335. + dnl Add $INC[]NAME to CPPFLAGS before performing the following checks,
  28336. + dnl because if the user has installed lib[]Name and not disabled its use
  28337. + dnl via --without-lib[]Name-prefix, he wants to use it.
  28338. + ac_save_CPPFLAGS="$CPPFLAGS"
  28339. + AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME)
  28340. +
  28341. + AC_CACHE_CHECK([for lib[]$1], [ac_cv_lib[]Name], [
  28342. + ac_save_LIBS="$LIBS"
  28343. + LIBS="$LIBS $LIB[]NAME"
  28344. + AC_TRY_LINK([$3], [$4], [ac_cv_lib[]Name=yes], [ac_cv_lib[]Name=no])
  28345. + LIBS="$ac_save_LIBS"
  28346. + ])
  28347. + if test "$ac_cv_lib[]Name" = yes; then
  28348. + HAVE_LIB[]NAME=yes
  28349. + AC_DEFINE([HAVE_LIB]NAME, 1, [Define if you have the $1 library.])
  28350. + AC_MSG_CHECKING([how to link with lib[]$1])
  28351. + AC_MSG_RESULT([$LIB[]NAME])
  28352. + else
  28353. + HAVE_LIB[]NAME=no
  28354. + dnl If $LIB[]NAME didn't lead to a usable library, we don't need
  28355. + dnl $INC[]NAME either.
  28356. + CPPFLAGS="$ac_save_CPPFLAGS"
  28357. + LIB[]NAME=
  28358. + LTLIB[]NAME=
  28359. + fi
  28360. + AC_SUBST([HAVE_LIB]NAME)
  28361. + AC_SUBST([LIB]NAME)
  28362. + AC_SUBST([LTLIB]NAME)
  28363. + undefine([Name])
  28364. + undefine([NAME])
  28365. +])
  28366. +
  28367. +dnl Determine the platform dependent parameters needed to use rpath:
  28368. +dnl libext, shlibext, hardcode_libdir_flag_spec, hardcode_libdir_separator,
  28369. +dnl hardcode_direct, hardcode_minus_L.
  28370. +AC_DEFUN([AC_LIB_RPATH],
  28371. +[
  28372. + AC_REQUIRE([AC_PROG_CC]) dnl we use $CC, $GCC, $LDFLAGS
  28373. + AC_REQUIRE([AC_LIB_PROG_LD]) dnl we use $LD, $with_gnu_ld
  28374. + AC_REQUIRE([AC_CANONICAL_HOST]) dnl we use $host
  28375. + AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT]) dnl we use $ac_aux_dir
  28376. + AC_CACHE_CHECK([for shared library run path origin], acl_cv_rpath, [
  28377. + CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
  28378. + ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
  28379. + . ./conftest.sh
  28380. + rm -f ./conftest.sh
  28381. + acl_cv_rpath=done
  28382. + ])
  28383. + wl="$acl_cv_wl"
  28384. + libext="$acl_cv_libext"
  28385. + shlibext="$acl_cv_shlibext"
  28386. + hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
  28387. + hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
  28388. + hardcode_direct="$acl_cv_hardcode_direct"
  28389. + hardcode_minus_L="$acl_cv_hardcode_minus_L"
  28390. + dnl Determine whether the user wants rpath handling at all.
  28391. + AC_ARG_ENABLE(rpath,
  28392. + [ --disable-rpath do not hardcode runtime library paths],
  28393. + :, enable_rpath=yes)
  28394. +])
  28395. +
  28396. +dnl AC_LIB_LINKFLAGS_BODY(name [, dependencies]) searches for libname and
  28397. +dnl the libraries corresponding to explicit and implicit dependencies.
  28398. +dnl Sets the LIB${NAME}, LTLIB${NAME} and INC${NAME} variables.
  28399. +AC_DEFUN([AC_LIB_LINKFLAGS_BODY],
  28400. +[
  28401. + define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-],
  28402. + [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])])
  28403. + dnl By default, look in $includedir and $libdir.
  28404. + use_additional=yes
  28405. + AC_LIB_WITH_FINAL_PREFIX([
  28406. + eval additional_includedir=\"$includedir\"
  28407. + eval additional_libdir=\"$libdir\"
  28408. + ])
  28409. + AC_LIB_ARG_WITH([lib$1-prefix],
  28410. +[ --with-lib$1-prefix[=DIR] search for lib$1 in DIR/include and DIR/lib
  28411. + --without-lib$1-prefix don't search for lib$1 in includedir and libdir],
  28412. +[
  28413. + if test "X$withval" = "Xno"; then
  28414. + use_additional=no
  28415. + else
  28416. + if test "X$withval" = "X"; then
  28417. + AC_LIB_WITH_FINAL_PREFIX([
  28418. + eval additional_includedir=\"$includedir\"
  28419. + eval additional_libdir=\"$libdir\"
  28420. + ])
  28421. + else
  28422. + additional_includedir="$withval/include"
  28423. + additional_libdir="$withval/lib"
  28424. + fi
  28425. + fi
  28426. +])
  28427. + dnl Search the library and its dependencies in $additional_libdir and
  28428. + dnl $LDFLAGS. Using breadth-first-seach.
  28429. + LIB[]NAME=
  28430. + LTLIB[]NAME=
  28431. + INC[]NAME=
  28432. + rpathdirs=
  28433. + ltrpathdirs=
  28434. + names_already_handled=
  28435. + names_next_round='$1 $2'
  28436. + while test -n "$names_next_round"; do
  28437. + names_this_round="$names_next_round"
  28438. + names_next_round=
  28439. + for name in $names_this_round; do
  28440. + already_handled=
  28441. + for n in $names_already_handled; do
  28442. + if test "$n" = "$name"; then
  28443. + already_handled=yes
  28444. + break
  28445. + fi
  28446. + done
  28447. + if test -z "$already_handled"; then
  28448. + names_already_handled="$names_already_handled $name"
  28449. + dnl See if it was already located by an earlier AC_LIB_LINKFLAGS
  28450. + dnl or AC_LIB_HAVE_LINKFLAGS call.
  28451. + uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
  28452. + eval value=\"\$HAVE_LIB$uppername\"
  28453. + if test -n "$value"; then
  28454. + if test "$value" = yes; then
  28455. + eval value=\"\$LIB$uppername\"
  28456. + test -z "$value" || LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$value"
  28457. + eval value=\"\$LTLIB$uppername\"
  28458. + test -z "$value" || LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$value"
  28459. + else
  28460. + dnl An earlier call to AC_LIB_HAVE_LINKFLAGS has determined
  28461. + dnl that this library doesn't exist. So just drop it.
  28462. + :
  28463. + fi
  28464. + else
  28465. + dnl Search the library lib$name in $additional_libdir and $LDFLAGS
  28466. + dnl and the already constructed $LIBNAME/$LTLIBNAME.
  28467. + found_dir=
  28468. + found_la=
  28469. + found_so=
  28470. + found_a=
  28471. + if test $use_additional = yes; then
  28472. + if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
  28473. + found_dir="$additional_libdir"
  28474. + found_so="$additional_libdir/lib$name.$shlibext"
  28475. + if test -f "$additional_libdir/lib$name.la"; then
  28476. + found_la="$additional_libdir/lib$name.la"
  28477. + fi
  28478. + else
  28479. + if test -f "$additional_libdir/lib$name.$libext"; then
  28480. + found_dir="$additional_libdir"
  28481. + found_a="$additional_libdir/lib$name.$libext"
  28482. + if test -f "$additional_libdir/lib$name.la"; then
  28483. + found_la="$additional_libdir/lib$name.la"
  28484. + fi
  28485. + fi
  28486. + fi
  28487. + fi
  28488. + if test "X$found_dir" = "X"; then
  28489. + for x in $LDFLAGS $LTLIB[]NAME; do
  28490. + AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
  28491. + case "$x" in
  28492. + -L*)
  28493. + dir=`echo "X$x" | sed -e 's/^X-L//'`
  28494. + if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
  28495. + found_dir="$dir"
  28496. + found_so="$dir/lib$name.$shlibext"
  28497. + if test -f "$dir/lib$name.la"; then
  28498. + found_la="$dir/lib$name.la"
  28499. + fi
  28500. + else
  28501. + if test -f "$dir/lib$name.$libext"; then
  28502. + found_dir="$dir"
  28503. + found_a="$dir/lib$name.$libext"
  28504. + if test -f "$dir/lib$name.la"; then
  28505. + found_la="$dir/lib$name.la"
  28506. + fi
  28507. + fi
  28508. + fi
  28509. + ;;
  28510. + esac
  28511. + if test "X$found_dir" != "X"; then
  28512. + break
  28513. + fi
  28514. + done
  28515. + fi
  28516. + if test "X$found_dir" != "X"; then
  28517. + dnl Found the library.
  28518. + LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$found_dir -l$name"
  28519. + if test "X$found_so" != "X"; then
  28520. + dnl Linking with a shared library. We attempt to hardcode its
  28521. + dnl directory into the executable's runpath, unless it's the
  28522. + dnl standard /usr/lib.
  28523. + if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
  28524. + dnl No hardcoding is needed.
  28525. + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
  28526. + else
  28527. + dnl Use an explicit option to hardcode DIR into the resulting
  28528. + dnl binary.
  28529. + dnl Potentially add DIR to ltrpathdirs.
  28530. + dnl The ltrpathdirs will be appended to $LTLIBNAME at the end.
  28531. + haveit=
  28532. + for x in $ltrpathdirs; do
  28533. + if test "X$x" = "X$found_dir"; then
  28534. + haveit=yes
  28535. + break
  28536. + fi
  28537. + done
  28538. + if test -z "$haveit"; then
  28539. + ltrpathdirs="$ltrpathdirs $found_dir"
  28540. + fi
  28541. + dnl The hardcoding into $LIBNAME is system dependent.
  28542. + if test "$hardcode_direct" = yes; then
  28543. + dnl Using DIR/libNAME.so during linking hardcodes DIR into the
  28544. + dnl resulting binary.
  28545. + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
  28546. + else
  28547. + if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
  28548. + dnl Use an explicit option to hardcode DIR into the resulting
  28549. + dnl binary.
  28550. + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
  28551. + dnl Potentially add DIR to rpathdirs.
  28552. + dnl The rpathdirs will be appended to $LIBNAME at the end.
  28553. + haveit=
  28554. + for x in $rpathdirs; do
  28555. + if test "X$x" = "X$found_dir"; then
  28556. + haveit=yes
  28557. + break
  28558. + fi
  28559. + done
  28560. + if test -z "$haveit"; then
  28561. + rpathdirs="$rpathdirs $found_dir"
  28562. + fi
  28563. + else
  28564. + dnl Rely on "-L$found_dir".
  28565. + dnl But don't add it if it's already contained in the LDFLAGS
  28566. + dnl or the already constructed $LIBNAME
  28567. + haveit=
  28568. + for x in $LDFLAGS $LIB[]NAME; do
  28569. + AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
  28570. + if test "X$x" = "X-L$found_dir"; then
  28571. + haveit=yes
  28572. + break
  28573. + fi
  28574. + done
  28575. + if test -z "$haveit"; then
  28576. + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir"
  28577. + fi
  28578. + if test "$hardcode_minus_L" != no; then
  28579. + dnl FIXME: Not sure whether we should use
  28580. + dnl "-L$found_dir -l$name" or "-L$found_dir $found_so"
  28581. + dnl here.
  28582. + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
  28583. + else
  28584. + dnl We cannot use $hardcode_runpath_var and LD_RUN_PATH
  28585. + dnl here, because this doesn't fit in flags passed to the
  28586. + dnl compiler. So give up. No hardcoding. This affects only
  28587. + dnl very old systems.
  28588. + dnl FIXME: Not sure whether we should use
  28589. + dnl "-L$found_dir -l$name" or "-L$found_dir $found_so"
  28590. + dnl here.
  28591. + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name"
  28592. + fi
  28593. + fi
  28594. + fi
  28595. + fi
  28596. + else
  28597. + if test "X$found_a" != "X"; then
  28598. + dnl Linking with a static library.
  28599. + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_a"
  28600. + else
  28601. + dnl We shouldn't come here, but anyway it's good to have a
  28602. + dnl fallback.
  28603. + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir -l$name"
  28604. + fi
  28605. + fi
  28606. + dnl Assume the include files are nearby.
  28607. + additional_includedir=
  28608. + case "$found_dir" in
  28609. + */lib | */lib/)
  28610. + basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
  28611. + additional_includedir="$basedir/include"
  28612. + ;;
  28613. + esac
  28614. + if test "X$additional_includedir" != "X"; then
  28615. + dnl Potentially add $additional_includedir to $INCNAME.
  28616. + dnl But don't add it
  28617. + dnl 1. if it's the standard /usr/include,
  28618. + dnl 2. if it's /usr/local/include and we are using GCC on Linux,
  28619. + dnl 3. if it's already present in $CPPFLAGS or the already
  28620. + dnl constructed $INCNAME,
  28621. + dnl 4. if it doesn't exist as a directory.
  28622. + if test "X$additional_includedir" != "X/usr/include"; then
  28623. + haveit=
  28624. + if test "X$additional_includedir" = "X/usr/local/include"; then
  28625. + if test -n "$GCC"; then
  28626. + case $host_os in
  28627. + linux*) haveit=yes;;
  28628. + esac
  28629. + fi
  28630. + fi
  28631. + if test -z "$haveit"; then
  28632. + for x in $CPPFLAGS $INC[]NAME; do
  28633. + AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
  28634. + if test "X$x" = "X-I$additional_includedir"; then
  28635. + haveit=yes
  28636. + break
  28637. + fi
  28638. + done
  28639. + if test -z "$haveit"; then
  28640. + if test -d "$additional_includedir"; then
  28641. + dnl Really add $additional_includedir to $INCNAME.
  28642. + INC[]NAME="${INC[]NAME}${INC[]NAME:+ }-I$additional_includedir"
  28643. + fi
  28644. + fi
  28645. + fi
  28646. + fi
  28647. + fi
  28648. + dnl Look for dependencies.
  28649. + if test -n "$found_la"; then
  28650. + dnl Read the .la file. It defines the variables
  28651. + dnl dlname, library_names, old_library, dependency_libs, current,
  28652. + dnl age, revision, installed, dlopen, dlpreopen, libdir.
  28653. + save_libdir="$libdir"
  28654. + case "$found_la" in
  28655. + */* | *\\*) . "$found_la" ;;
  28656. + *) . "./$found_la" ;;
  28657. + esac
  28658. + libdir="$save_libdir"
  28659. + dnl We use only dependency_libs.
  28660. + for dep in $dependency_libs; do
  28661. + case "$dep" in
  28662. + -L*)
  28663. + additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
  28664. + dnl Potentially add $additional_libdir to $LIBNAME and $LTLIBNAME.
  28665. + dnl But don't add it
  28666. + dnl 1. if it's the standard /usr/lib,
  28667. + dnl 2. if it's /usr/local/lib and we are using GCC on Linux,
  28668. + dnl 3. if it's already present in $LDFLAGS or the already
  28669. + dnl constructed $LIBNAME,
  28670. + dnl 4. if it doesn't exist as a directory.
  28671. + if test "X$additional_libdir" != "X/usr/lib"; then
  28672. + haveit=
  28673. + if test "X$additional_libdir" = "X/usr/local/lib"; then
  28674. + if test -n "$GCC"; then
  28675. + case $host_os in
  28676. + linux*) haveit=yes;;
  28677. + esac
  28678. + fi
  28679. + fi
  28680. + if test -z "$haveit"; then
  28681. + haveit=
  28682. + for x in $LDFLAGS $LIB[]NAME; do
  28683. + AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
  28684. + if test "X$x" = "X-L$additional_libdir"; then
  28685. + haveit=yes
  28686. + break
  28687. + fi
  28688. + done
  28689. + if test -z "$haveit"; then
  28690. + if test -d "$additional_libdir"; then
  28691. + dnl Really add $additional_libdir to $LIBNAME.
  28692. + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$additional_libdir"
  28693. + fi
  28694. + fi
  28695. + haveit=
  28696. + for x in $LDFLAGS $LTLIB[]NAME; do
  28697. + AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
  28698. + if test "X$x" = "X-L$additional_libdir"; then
  28699. + haveit=yes
  28700. + break
  28701. + fi
  28702. + done
  28703. + if test -z "$haveit"; then
  28704. + if test -d "$additional_libdir"; then
  28705. + dnl Really add $additional_libdir to $LTLIBNAME.
  28706. + LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$additional_libdir"
  28707. + fi
  28708. + fi
  28709. + fi
  28710. + fi
  28711. + ;;
  28712. + -R*)
  28713. + dir=`echo "X$dep" | sed -e 's/^X-R//'`
  28714. + if test "$enable_rpath" != no; then
  28715. + dnl Potentially add DIR to rpathdirs.
  28716. + dnl The rpathdirs will be appended to $LIBNAME at the end.
  28717. + haveit=
  28718. + for x in $rpathdirs; do
  28719. + if test "X$x" = "X$dir"; then
  28720. + haveit=yes
  28721. + break
  28722. + fi
  28723. + done
  28724. + if test -z "$haveit"; then
  28725. + rpathdirs="$rpathdirs $dir"
  28726. + fi
  28727. + dnl Potentially add DIR to ltrpathdirs.
  28728. + dnl The ltrpathdirs will be appended to $LTLIBNAME at the end.
  28729. + haveit=
  28730. + for x in $ltrpathdirs; do
  28731. + if test "X$x" = "X$dir"; then
  28732. + haveit=yes
  28733. + break
  28734. + fi
  28735. + done
  28736. + if test -z "$haveit"; then
  28737. + ltrpathdirs="$ltrpathdirs $dir"
  28738. + fi
  28739. + fi
  28740. + ;;
  28741. + -l*)
  28742. + dnl Handle this in the next round.
  28743. + names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
  28744. + ;;
  28745. + *.la)
  28746. + dnl Handle this in the next round. Throw away the .la's
  28747. + dnl directory; it is already contained in a preceding -L
  28748. + dnl option.
  28749. + names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
  28750. + ;;
  28751. + *)
  28752. + dnl Most likely an immediate library name.
  28753. + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$dep"
  28754. + LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$dep"
  28755. + ;;
  28756. + esac
  28757. + done
  28758. + fi
  28759. + else
  28760. + dnl Didn't find the library; assume it is in the system directories
  28761. + dnl known to the linker and runtime loader. (All the system
  28762. + dnl directories known to the linker should also be known to the
  28763. + dnl runtime loader, otherwise the system is severely misconfigured.)
  28764. + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name"
  28765. + LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-l$name"
  28766. + fi
  28767. + fi
  28768. + fi
  28769. + done
  28770. + done
  28771. + if test "X$rpathdirs" != "X"; then
  28772. + if test -n "$hardcode_libdir_separator"; then
  28773. + dnl Weird platform: only the last -rpath option counts, the user must
  28774. + dnl pass all path elements in one option. We can arrange that for a
  28775. + dnl single library, but not when more than one $LIBNAMEs are used.
  28776. + alldirs=
  28777. + for found_dir in $rpathdirs; do
  28778. + alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
  28779. + done
  28780. + dnl Note: hardcode_libdir_flag_spec uses $libdir and $wl.
  28781. + acl_save_libdir="$libdir"
  28782. + libdir="$alldirs"
  28783. + eval flag=\"$hardcode_libdir_flag_spec\"
  28784. + libdir="$acl_save_libdir"
  28785. + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag"
  28786. + else
  28787. + dnl The -rpath options are cumulative.
  28788. + for found_dir in $rpathdirs; do
  28789. + acl_save_libdir="$libdir"
  28790. + libdir="$found_dir"
  28791. + eval flag=\"$hardcode_libdir_flag_spec\"
  28792. + libdir="$acl_save_libdir"
  28793. + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag"
  28794. + done
  28795. + fi
  28796. + fi
  28797. + if test "X$ltrpathdirs" != "X"; then
  28798. + dnl When using libtool, the option that works for both libraries and
  28799. + dnl executables is -R. The -R options are cumulative.
  28800. + for found_dir in $ltrpathdirs; do
  28801. + LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-R$found_dir"
  28802. + done
  28803. + fi
  28804. +])
  28805. +
  28806. +dnl AC_LIB_APPENDTOVAR(VAR, CONTENTS) appends the elements of CONTENTS to VAR,
  28807. +dnl unless already present in VAR.
  28808. +dnl Works only for CPPFLAGS, not for LIB* variables because that sometimes
  28809. +dnl contains two or three consecutive elements that belong together.
  28810. +AC_DEFUN([AC_LIB_APPENDTOVAR],
  28811. +[
  28812. + for element in [$2]; do
  28813. + haveit=
  28814. + for x in $[$1]; do
  28815. + AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
  28816. + if test "X$x" = "X$element"; then
  28817. + haveit=yes
  28818. + break
  28819. + fi
  28820. + done
  28821. + if test -z "$haveit"; then
  28822. + [$1]="${[$1]}${[$1]:+ }$element"
  28823. + fi
  28824. + done
  28825. +])
  28826. +
  28827. +# lib-ld.m4 serial 2 (gettext-0.12)
  28828. +dnl Copyright (C) 1996-2003 Free Software Foundation, Inc.
  28829. +dnl This file is free software, distributed under the terms of the GNU
  28830. +dnl General Public License. As a special exception to the GNU General
  28831. +dnl Public License, this file may be distributed as part of a program
  28832. +dnl that contains a configuration script generated by Autoconf, under
  28833. +dnl the same distribution terms as the rest of that program.
  28834. +
  28835. +dnl Subroutines of libtool.m4,
  28836. +dnl with replacements s/AC_/AC_LIB/ and s/lt_cv/acl_cv/ to avoid collision
  28837. +dnl with libtool.m4.
  28838. +
  28839. +dnl From libtool-1.4. Sets the variable with_gnu_ld to yes or no.
  28840. +AC_DEFUN([AC_LIB_PROG_LD_GNU],
  28841. +[AC_CACHE_CHECK([if the linker ($LD) is GNU ld], acl_cv_prog_gnu_ld,
  28842. +[# I'd rather use --version here, but apparently some GNU ld's only accept -v.
  28843. +if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
  28844. + acl_cv_prog_gnu_ld=yes
  28845. +else
  28846. + acl_cv_prog_gnu_ld=no
  28847. +fi])
  28848. +with_gnu_ld=$acl_cv_prog_gnu_ld
  28849. +])
  28850. +
  28851. +dnl From libtool-1.4. Sets the variable LD.
  28852. +AC_DEFUN([AC_LIB_PROG_LD],
  28853. +[AC_ARG_WITH(gnu-ld,
  28854. +[ --with-gnu-ld assume the C compiler uses GNU ld [default=no]],
  28855. +test "$withval" = no || with_gnu_ld=yes, with_gnu_ld=no)
  28856. +AC_REQUIRE([AC_PROG_CC])dnl
  28857. +AC_REQUIRE([AC_CANONICAL_HOST])dnl
  28858. +# Prepare PATH_SEPARATOR.
  28859. +# The user is always right.
  28860. +if test "${PATH_SEPARATOR+set}" != set; then
  28861. + echo "#! /bin/sh" >conf$$.sh
  28862. + echo "exit 0" >>conf$$.sh
  28863. + chmod +x conf$$.sh
  28864. + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
  28865. + PATH_SEPARATOR=';'
  28866. + else
  28867. + PATH_SEPARATOR=:
  28868. fi
  28869. + rm -f conf$$.sh
  28870. +fi
  28871. +ac_prog=ld
  28872. +if test "$GCC" = yes; then
  28873. + # Check if gcc -print-prog-name=ld gives a path.
  28874. + AC_MSG_CHECKING([for ld used by GCC])
  28875. + case $host in
  28876. + *-*-mingw*)
  28877. + # gcc leaves a trailing carriage return which upsets mingw
  28878. + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
  28879. + *)
  28880. + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
  28881. + esac
  28882. + case $ac_prog in
  28883. + # Accept absolute paths.
  28884. + [[\\/]* | [A-Za-z]:[\\/]*)]
  28885. + [re_direlt='/[^/][^/]*/\.\./']
  28886. + # Canonicalize the path of ld
  28887. + ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
  28888. + while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
  28889. + ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
  28890. + done
  28891. + test -z "$LD" && LD="$ac_prog"
  28892. + ;;
  28893. + "")
  28894. + # If it fails, then pretend we aren't using GCC.
  28895. + ac_prog=ld
  28896. + ;;
  28897. + *)
  28898. + # If it is relative, then search for the first ld in PATH.
  28899. + with_gnu_ld=unknown
  28900. + ;;
  28901. + esac
  28902. +elif test "$with_gnu_ld" = yes; then
  28903. + AC_MSG_CHECKING([for GNU ld])
  28904. +else
  28905. + AC_MSG_CHECKING([for non-GNU ld])
  28906. +fi
  28907. +AC_CACHE_VAL(acl_cv_path_LD,
  28908. +[if test -z "$LD"; then
  28909. + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
  28910. + for ac_dir in $PATH; do
  28911. + test -z "$ac_dir" && ac_dir=.
  28912. + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
  28913. + acl_cv_path_LD="$ac_dir/$ac_prog"
  28914. + # Check to see if the program is GNU ld. I'd rather use --version,
  28915. + # but apparently some GNU ld's only accept -v.
  28916. + # Break only if it was the GNU/non-GNU ld that we prefer.
  28917. + if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
  28918. + test "$with_gnu_ld" != no && break
  28919. + else
  28920. + test "$with_gnu_ld" != yes && break
  28921. + fi
  28922. + fi
  28923. + done
  28924. + IFS="$ac_save_ifs"
  28925. +else
  28926. + acl_cv_path_LD="$LD" # Let the user override the test with a path.
  28927. +fi])
  28928. +LD="$acl_cv_path_LD"
  28929. +if test -n "$LD"; then
  28930. + AC_MSG_RESULT($LD)
  28931. +else
  28932. + AC_MSG_RESULT(no)
  28933. +fi
  28934. +test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
  28935. +AC_LIB_PROG_LD_GNU
  28936. ])
  28937. -dnl old names
  28938. -AC_DEFUN(AM_PROG_LIBTOOL, [indir([AC_PROG_LIBTOOL])])dnl
  28939. -AC_DEFUN(AM_ENABLE_SHARED, [indir([AC_ENABLE_SHARED], $@)])dnl
  28940. -AC_DEFUN(AM_ENABLE_STATIC, [indir([AC_ENABLE_STATIC], $@)])dnl
  28941. -AC_DEFUN(AM_DISABLE_SHARED, [indir([AC_DISABLE_SHARED], $@)])dnl
  28942. -AC_DEFUN(AM_DISABLE_STATIC, [indir([AC_DISABLE_STATIC], $@)])dnl
  28943. -AC_DEFUN(AM_PROG_LD, [indir([AC_PROG_LD])])dnl
  28944. -AC_DEFUN(AM_PROG_NM, [indir([AC_PROG_NM])])dnl
  28945. -
  28946. -dnl This is just to silence aclocal about the macro not being used
  28947. -ifelse([AC_DISABLE_FAST_INSTALL])dnl
  28948. -
  28949. # Like AC_CONFIG_HEADER, but automatically create stamp file.
  28950. -AC_DEFUN(AM_CONFIG_HEADER,
  28951. +AC_DEFUN([AM_CONFIG_HEADER],
  28952. [AC_PREREQ([2.12])
  28953. AC_CONFIG_HEADER([$1])
  28954. dnl When config.status generates a header, we must update the stamp-h file.
  28955. @@ -451,8 +4496,9 @@
  28956. dnl Usage:
  28957. dnl AM_INIT_AUTOMAKE(package,version, [no-define])
  28958. -AC_DEFUN(AM_INIT_AUTOMAKE,
  28959. -[AC_REQUIRE([AC_PROG_INSTALL])
  28960. +AC_DEFUN([AM_INIT_AUTOMAKE],
  28961. +[AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
  28962. +AC_REQUIRE([AC_PROG_INSTALL])
  28963. PACKAGE=[$1]
  28964. AC_SUBST(PACKAGE)
  28965. VERSION=[$2]
  28966. @@ -468,18 +4514,47 @@
  28967. AC_REQUIRE([AC_ARG_PROGRAM])
  28968. dnl FIXME This is truly gross.
  28969. missing_dir=`cd $ac_aux_dir && pwd`
  28970. -AM_MISSING_PROG(ACLOCAL, aclocal, $missing_dir)
  28971. +AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version}, $missing_dir)
  28972. AM_MISSING_PROG(AUTOCONF, autoconf, $missing_dir)
  28973. -AM_MISSING_PROG(AUTOMAKE, automake, $missing_dir)
  28974. +AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}, $missing_dir)
  28975. AM_MISSING_PROG(AUTOHEADER, autoheader, $missing_dir)
  28976. AM_MISSING_PROG(MAKEINFO, makeinfo, $missing_dir)
  28977. AC_REQUIRE([AC_PROG_MAKE_SET])])
  28978. +# Copyright 2002 Free Software Foundation, Inc.
  28979. +
  28980. +# This program is free software; you can redistribute it and/or modify
  28981. +# it under the terms of the GNU General Public License as published by
  28982. +# the Free Software Foundation; either version 2, or (at your option)
  28983. +# any later version.
  28984. +
  28985. +# This program is distributed in the hope that it will be useful,
  28986. +# but WITHOUT ANY WARRANTY; without even the implied warranty of
  28987. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  28988. +# GNU General Public License for more details.
  28989. +
  28990. +# You should have received a copy of the GNU General Public License
  28991. +# along with this program; if not, write to the Free Software
  28992. +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
  28993. +
  28994. +# AM_AUTOMAKE_VERSION(VERSION)
  28995. +# ----------------------------
  28996. +# Automake X.Y traces this macro to ensure aclocal.m4 has been
  28997. +# generated from the m4 files accompanying Automake X.Y.
  28998. +AC_DEFUN([AM_AUTOMAKE_VERSION],[am__api_version="1.4"])
  28999. +
  29000. +# AM_SET_CURRENT_AUTOMAKE_VERSION
  29001. +# -------------------------------
  29002. +# Call AM_AUTOMAKE_VERSION so it can be traced.
  29003. +# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
  29004. +AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
  29005. + [AM_AUTOMAKE_VERSION([1.4-p6])])
  29006. +
  29007. #
  29008. # Check to make sure that the build environment is sane.
  29009. #
  29010. -AC_DEFUN(AM_SANITY_CHECK,
  29011. +AC_DEFUN([AM_SANITY_CHECK],
  29012. [AC_MSG_CHECKING([whether build environment is sane])
  29013. # Just in case
  29014. sleep 1
  29015. @@ -520,7 +4595,7 @@
  29016. dnl AM_MISSING_PROG(NAME, PROGRAM, DIRECTORY)
  29017. dnl The program must properly implement --version.
  29018. -AC_DEFUN(AM_MISSING_PROG,
  29019. +AC_DEFUN([AM_MISSING_PROG],
  29020. [AC_MSG_CHECKING(for working $2)
  29021. # Run test in a subshell; some versions of sh will print an error if
  29022. # an executable is not found, even if stderr is redirected.
  29023. @@ -572,10 +4647,37 @@
  29024. AC_SUBST(ECHO_C)dnl
  29025. ])
  29026. +# isc-posix.m4 serial 2 (gettext-0.11.2)
  29027. +dnl Copyright (C) 1995-2002 Free Software Foundation, Inc.
  29028. +dnl This file is free software, distributed under the terms of the GNU
  29029. +dnl General Public License. As a special exception to the GNU General
  29030. +dnl Public License, this file may be distributed as part of a program
  29031. +dnl that contains a configuration script generated by Autoconf, under
  29032. +dnl the same distribution terms as the rest of that program.
  29033. +
  29034. +# This file is not needed with autoconf-2.53 and newer. Remove it in 2005.
  29035. +
  29036. +# This test replaces the one in autoconf.
  29037. +# Currently this macro should have the same name as the autoconf macro
  29038. +# because gettext's gettext.m4 (distributed in the automake package)
  29039. +# still uses it. Otherwise, the use in gettext.m4 makes autoheader
  29040. +# give these diagnostics:
  29041. +# configure.in:556: AC_TRY_COMPILE was called before AC_ISC_POSIX
  29042. +# configure.in:556: AC_TRY_RUN was called before AC_ISC_POSIX
  29043. +
  29044. +undefine([AC_ISC_POSIX])
  29045. +
  29046. +AC_DEFUN([AC_ISC_POSIX],
  29047. + [
  29048. + dnl This test replaces the obsolescent AC_ISC_POSIX kludge.
  29049. + AC_CHECK_LIB(cposix, strerror, [LIBS="$LIBS -lcposix"])
  29050. + ]
  29051. +)
  29052. +
  29053. # serial 1
  29054. -AC_DEFUN(AM_C_PROTOTYPES,
  29055. +AC_DEFUN([AM_C_PROTOTYPES],
  29056. [AC_REQUIRE([AM_PROG_CC_STDC])
  29057. AC_REQUIRE([AC_PROG_CPP])
  29058. AC_MSG_CHECKING([for function prototypes])
  29059. @@ -612,7 +4714,7 @@
  29060. # program @code{ansi2knr}, which comes with Ghostscript.
  29061. # @end defmac
  29062. -AC_DEFUN(AM_PROG_CC_STDC,
  29063. +AC_DEFUN([AM_PROG_CC_STDC],
  29064. [AC_REQUIRE([AC_PROG_CC])
  29065. AC_BEFORE([$0], [AC_C_INLINE])
  29066. AC_BEFORE([$0], [AC_C_CONST])
  29067. @@ -862,7 +4964,7 @@
  29068. # serial 1
  29069. -AC_DEFUN(AM_WITH_DMALLOC,
  29070. +AC_DEFUN([AM_WITH_DMALLOC],
  29071. [AC_MSG_CHECKING(if malloc debugging is wanted)
  29072. AC_ARG_WITH(dmalloc,
  29073. [ --with-dmalloc use dmalloc, as in
  29074. @@ -1011,18 +5113,1138 @@
  29075. fi
  29076. fi])
  29077. -# Define a conditional.
  29078. +# gettext.m4 serial 20 (gettext-0.12)
  29079. +dnl Copyright (C) 1995-2003 Free Software Foundation, Inc.
  29080. +dnl This file is free software, distributed under the terms of the GNU
  29081. +dnl General Public License. As a special exception to the GNU General
  29082. +dnl Public License, this file may be distributed as part of a program
  29083. +dnl that contains a configuration script generated by Autoconf, under
  29084. +dnl the same distribution terms as the rest of that program.
  29085. +dnl
  29086. +dnl This file can can be used in projects which are not available under
  29087. +dnl the GNU General Public License or the GNU Library General Public
  29088. +dnl License but which still want to provide support for the GNU gettext
  29089. +dnl functionality.
  29090. +dnl Please note that the actual code of the GNU gettext library is covered
  29091. +dnl by the GNU Library General Public License, and the rest of the GNU
  29092. +dnl gettext package package is covered by the GNU General Public License.
  29093. +dnl They are *not* in the public domain.
  29094. +
  29095. +dnl Authors:
  29096. +dnl Ulrich Drepper <drepper@cygnus.com>, 1995-2000.
  29097. +dnl Bruno Haible <haible@clisp.cons.org>, 2000-2003.
  29098. +
  29099. +dnl Macro to add for using GNU gettext.
  29100. +
  29101. +dnl Usage: AM_GNU_GETTEXT([INTLSYMBOL], [NEEDSYMBOL], [INTLDIR]).
  29102. +dnl INTLSYMBOL can be one of 'external', 'no-libtool', 'use-libtool'. The
  29103. +dnl default (if it is not specified or empty) is 'no-libtool'.
  29104. +dnl INTLSYMBOL should be 'external' for packages with no intl directory,
  29105. +dnl and 'no-libtool' or 'use-libtool' for packages with an intl directory.
  29106. +dnl If INTLSYMBOL is 'use-libtool', then a libtool library
  29107. +dnl $(top_builddir)/intl/libintl.la will be created (shared and/or static,
  29108. +dnl depending on --{enable,disable}-{shared,static} and on the presence of
  29109. +dnl AM-DISABLE-SHARED). If INTLSYMBOL is 'no-libtool', a static library
  29110. +dnl $(top_builddir)/intl/libintl.a will be created.
  29111. +dnl If NEEDSYMBOL is specified and is 'need-ngettext', then GNU gettext
  29112. +dnl implementations (in libc or libintl) without the ngettext() function
  29113. +dnl will be ignored. If NEEDSYMBOL is specified and is
  29114. +dnl 'need-formatstring-macros', then GNU gettext implementations that don't
  29115. +dnl support the ISO C 99 <inttypes.h> formatstring macros will be ignored.
  29116. +dnl INTLDIR is used to find the intl libraries. If empty,
  29117. +dnl the value `$(top_builddir)/intl/' is used.
  29118. +dnl
  29119. +dnl The result of the configuration is one of three cases:
  29120. +dnl 1) GNU gettext, as included in the intl subdirectory, will be compiled
  29121. +dnl and used.
  29122. +dnl Catalog format: GNU --> install in $(datadir)
  29123. +dnl Catalog extension: .mo after installation, .gmo in source tree
  29124. +dnl 2) GNU gettext has been found in the system's C library.
  29125. +dnl Catalog format: GNU --> install in $(datadir)
  29126. +dnl Catalog extension: .mo after installation, .gmo in source tree
  29127. +dnl 3) No internationalization, always use English msgid.
  29128. +dnl Catalog format: none
  29129. +dnl Catalog extension: none
  29130. +dnl If INTLSYMBOL is 'external', only cases 2 and 3 can occur.
  29131. +dnl The use of .gmo is historical (it was needed to avoid overwriting the
  29132. +dnl GNU format catalogs when building on a platform with an X/Open gettext),
  29133. +dnl but we keep it in order not to force irrelevant filename changes on the
  29134. +dnl maintainers.
  29135. +dnl
  29136. +AC_DEFUN([AM_GNU_GETTEXT],
  29137. +[
  29138. + dnl Argument checking.
  29139. + ifelse([$1], [], , [ifelse([$1], [external], , [ifelse([$1], [no-libtool], , [ifelse([$1], [use-libtool], ,
  29140. + [errprint([ERROR: invalid first argument to AM_GNU_GETTEXT
  29141. +])])])])])
  29142. + ifelse([$2], [], , [ifelse([$2], [need-ngettext], , [ifelse([$2], [need-formatstring-macros], ,
  29143. + [errprint([ERROR: invalid second argument to AM_GNU_GETTEXT
  29144. +])])])])
  29145. + define(gt_included_intl, ifelse([$1], [external], [no], [yes]))
  29146. + define(gt_libtool_suffix_prefix, ifelse([$1], [use-libtool], [l], []))
  29147. +
  29148. + AC_REQUIRE([AM_PO_SUBDIRS])dnl
  29149. + ifelse(gt_included_intl, yes, [
  29150. + AC_REQUIRE([AM_INTL_SUBDIR])dnl
  29151. + ])
  29152. -AC_DEFUN(AM_CONDITIONAL,
  29153. -[AC_SUBST($1_TRUE)
  29154. -AC_SUBST($1_FALSE)
  29155. -if $2; then
  29156. - $1_TRUE=
  29157. - $1_FALSE='#'
  29158. + dnl Prerequisites of AC_LIB_LINKFLAGS_BODY.
  29159. + AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
  29160. + AC_REQUIRE([AC_LIB_RPATH])
  29161. +
  29162. + dnl Sometimes libintl requires libiconv, so first search for libiconv.
  29163. + dnl Ideally we would do this search only after the
  29164. + dnl if test "$USE_NLS" = "yes"; then
  29165. + dnl if test "$gt_cv_func_gnugettext_libc" != "yes"; then
  29166. + dnl tests. But if configure.in invokes AM_ICONV after AM_GNU_GETTEXT
  29167. + dnl the configure script would need to contain the same shell code
  29168. + dnl again, outside any 'if'. There are two solutions:
  29169. + dnl - Invoke AM_ICONV_LINKFLAGS_BODY here, outside any 'if'.
  29170. + dnl - Control the expansions in more detail using AC_PROVIDE_IFELSE.
  29171. + dnl Since AC_PROVIDE_IFELSE is only in autoconf >= 2.52 and not
  29172. + dnl documented, we avoid it.
  29173. + ifelse(gt_included_intl, yes, , [
  29174. + AC_REQUIRE([AM_ICONV_LINKFLAGS_BODY])
  29175. + ])
  29176. +
  29177. + dnl Set USE_NLS.
  29178. + AM_NLS
  29179. +
  29180. + ifelse(gt_included_intl, yes, [
  29181. + BUILD_INCLUDED_LIBINTL=no
  29182. + USE_INCLUDED_LIBINTL=no
  29183. + ])
  29184. + LIBINTL=
  29185. + LTLIBINTL=
  29186. + POSUB=
  29187. +
  29188. + dnl If we use NLS figure out what method
  29189. + if test "$USE_NLS" = "yes"; then
  29190. + gt_use_preinstalled_gnugettext=no
  29191. + ifelse(gt_included_intl, yes, [
  29192. + AC_MSG_CHECKING([whether included gettext is requested])
  29193. + AC_ARG_WITH(included-gettext,
  29194. + [ --with-included-gettext use the GNU gettext library included here],
  29195. + nls_cv_force_use_gnu_gettext=$withval,
  29196. + nls_cv_force_use_gnu_gettext=no)
  29197. + AC_MSG_RESULT($nls_cv_force_use_gnu_gettext)
  29198. +
  29199. + nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext"
  29200. + if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
  29201. + ])
  29202. + dnl User does not insist on using GNU NLS library. Figure out what
  29203. + dnl to use. If GNU gettext is available we use this. Else we have
  29204. + dnl to fall back to GNU NLS library.
  29205. +
  29206. + dnl Add a version number to the cache macros.
  29207. + define([gt_api_version], ifelse([$2], [need-formatstring-macros], 3, ifelse([$2], [need-ngettext], 2, 1)))
  29208. + define([gt_cv_func_gnugettext_libc], [gt_cv_func_gnugettext]gt_api_version[_libc])
  29209. + define([gt_cv_func_gnugettext_libintl], [gt_cv_func_gnugettext]gt_api_version[_libintl])
  29210. +
  29211. + AC_CACHE_CHECK([for GNU gettext in libc], gt_cv_func_gnugettext_libc,
  29212. + [AC_TRY_LINK([#include <libintl.h>
  29213. +]ifelse([$2], [need-formatstring-macros],
  29214. +[#ifndef __GNU_GETTEXT_SUPPORTED_REVISION
  29215. +#define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
  29216. +#endif
  29217. +changequote(,)dnl
  29218. +typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
  29219. +changequote([,])dnl
  29220. +], [])[extern int _nl_msg_cat_cntr;
  29221. +extern int *_nl_domain_bindings;],
  29222. + [bindtextdomain ("", "");
  29223. +return (int) gettext ("")]ifelse([$2], [need-ngettext], [ + (int) ngettext ("", "", 0)], [])[ + _nl_msg_cat_cntr + *_nl_domain_bindings],
  29224. + gt_cv_func_gnugettext_libc=yes,
  29225. + gt_cv_func_gnugettext_libc=no)])
  29226. +
  29227. + if test "$gt_cv_func_gnugettext_libc" != "yes"; then
  29228. + dnl Sometimes libintl requires libiconv, so first search for libiconv.
  29229. + ifelse(gt_included_intl, yes, , [
  29230. + AM_ICONV_LINK
  29231. + ])
  29232. + dnl Search for libintl and define LIBINTL, LTLIBINTL and INCINTL
  29233. + dnl accordingly. Don't use AC_LIB_LINKFLAGS_BODY([intl],[iconv])
  29234. + dnl because that would add "-liconv" to LIBINTL and LTLIBINTL
  29235. + dnl even if libiconv doesn't exist.
  29236. + AC_LIB_LINKFLAGS_BODY([intl])
  29237. + AC_CACHE_CHECK([for GNU gettext in libintl],
  29238. + gt_cv_func_gnugettext_libintl,
  29239. + [gt_save_CPPFLAGS="$CPPFLAGS"
  29240. + CPPFLAGS="$CPPFLAGS $INCINTL"
  29241. + gt_save_LIBS="$LIBS"
  29242. + LIBS="$LIBS $LIBINTL"
  29243. + dnl Now see whether libintl exists and does not depend on libiconv.
  29244. + AC_TRY_LINK([#include <libintl.h>
  29245. +]ifelse([$2], [need-formatstring-macros],
  29246. +[#ifndef __GNU_GETTEXT_SUPPORTED_REVISION
  29247. +#define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
  29248. +#endif
  29249. +changequote(,)dnl
  29250. +typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
  29251. +changequote([,])dnl
  29252. +], [])[extern int _nl_msg_cat_cntr;
  29253. +extern
  29254. +#ifdef __cplusplus
  29255. +"C"
  29256. +#endif
  29257. +const char *_nl_expand_alias ();],
  29258. + [bindtextdomain ("", "");
  29259. +return (int) gettext ("")]ifelse([$2], [need-ngettext], [ + (int) ngettext ("", "", 0)], [])[ + _nl_msg_cat_cntr + *_nl_expand_alias (0)],
  29260. + gt_cv_func_gnugettext_libintl=yes,
  29261. + gt_cv_func_gnugettext_libintl=no)
  29262. + dnl Now see whether libintl exists and depends on libiconv.
  29263. + if test "$gt_cv_func_gnugettext_libintl" != yes && test -n "$LIBICONV"; then
  29264. + LIBS="$LIBS $LIBICONV"
  29265. + AC_TRY_LINK([#include <libintl.h>
  29266. +]ifelse([$2], [need-formatstring-macros],
  29267. +[#ifndef __GNU_GETTEXT_SUPPORTED_REVISION
  29268. +#define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
  29269. +#endif
  29270. +changequote(,)dnl
  29271. +typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
  29272. +changequote([,])dnl
  29273. +], [])[extern int _nl_msg_cat_cntr;
  29274. +extern
  29275. +#ifdef __cplusplus
  29276. +"C"
  29277. +#endif
  29278. +const char *_nl_expand_alias ();],
  29279. + [bindtextdomain ("", "");
  29280. +return (int) gettext ("")]ifelse([$2], [need-ngettext], [ + (int) ngettext ("", "", 0)], [])[ + _nl_msg_cat_cntr + *_nl_expand_alias (0)],
  29281. + [LIBINTL="$LIBINTL $LIBICONV"
  29282. + LTLIBINTL="$LTLIBINTL $LTLIBICONV"
  29283. + gt_cv_func_gnugettext_libintl=yes
  29284. + ])
  29285. + fi
  29286. + CPPFLAGS="$gt_save_CPPFLAGS"
  29287. + LIBS="$gt_save_LIBS"])
  29288. + fi
  29289. +
  29290. + dnl If an already present or preinstalled GNU gettext() is found,
  29291. + dnl use it. But if this macro is used in GNU gettext, and GNU
  29292. + dnl gettext is already preinstalled in libintl, we update this
  29293. + dnl libintl. (Cf. the install rule in intl/Makefile.in.)
  29294. + if test "$gt_cv_func_gnugettext_libc" = "yes" \
  29295. + || { test "$gt_cv_func_gnugettext_libintl" = "yes" \
  29296. + && test "$PACKAGE" != gettext-runtime \
  29297. + && test "$PACKAGE" != gettext-tools; }; then
  29298. + gt_use_preinstalled_gnugettext=yes
  29299. + else
  29300. + dnl Reset the values set by searching for libintl.
  29301. + LIBINTL=
  29302. + LTLIBINTL=
  29303. + INCINTL=
  29304. + fi
  29305. +
  29306. + ifelse(gt_included_intl, yes, [
  29307. + if test "$gt_use_preinstalled_gnugettext" != "yes"; then
  29308. + dnl GNU gettext is not found in the C library.
  29309. + dnl Fall back on included GNU gettext library.
  29310. + nls_cv_use_gnu_gettext=yes
  29311. + fi
  29312. + fi
  29313. +
  29314. + if test "$nls_cv_use_gnu_gettext" = "yes"; then
  29315. + dnl Mark actions used to generate GNU NLS library.
  29316. + BUILD_INCLUDED_LIBINTL=yes
  29317. + USE_INCLUDED_LIBINTL=yes
  29318. + LIBINTL="ifelse([$3],[],\${top_builddir}/intl,[$3])/libintl.[]gt_libtool_suffix_prefix[]a $LIBICONV"
  29319. + LTLIBINTL="ifelse([$3],[],\${top_builddir}/intl,[$3])/libintl.[]gt_libtool_suffix_prefix[]a $LTLIBICONV"
  29320. + LIBS=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'`
  29321. + fi
  29322. +
  29323. + if test "$gt_use_preinstalled_gnugettext" = "yes" \
  29324. + || test "$nls_cv_use_gnu_gettext" = "yes"; then
  29325. + dnl Mark actions to use GNU gettext tools.
  29326. + CATOBJEXT=.gmo
  29327. + fi
  29328. + ])
  29329. +
  29330. + if test "$gt_use_preinstalled_gnugettext" = "yes" \
  29331. + || test "$nls_cv_use_gnu_gettext" = "yes"; then
  29332. + AC_DEFINE(ENABLE_NLS, 1,
  29333. + [Define to 1 if translation of program messages to the user's native language
  29334. + is requested.])
  29335. + else
  29336. + USE_NLS=no
  29337. + fi
  29338. + fi
  29339. +
  29340. + AC_MSG_CHECKING([whether to use NLS])
  29341. + AC_MSG_RESULT([$USE_NLS])
  29342. + if test "$USE_NLS" = "yes"; then
  29343. + AC_MSG_CHECKING([where the gettext function comes from])
  29344. + if test "$gt_use_preinstalled_gnugettext" = "yes"; then
  29345. + if test "$gt_cv_func_gnugettext_libintl" = "yes"; then
  29346. + gt_source="external libintl"
  29347. + else
  29348. + gt_source="libc"
  29349. + fi
  29350. + else
  29351. + gt_source="included intl directory"
  29352. + fi
  29353. + AC_MSG_RESULT([$gt_source])
  29354. + fi
  29355. +
  29356. + if test "$USE_NLS" = "yes"; then
  29357. +
  29358. + if test "$gt_use_preinstalled_gnugettext" = "yes"; then
  29359. + if test "$gt_cv_func_gnugettext_libintl" = "yes"; then
  29360. + AC_MSG_CHECKING([how to link with libintl])
  29361. + AC_MSG_RESULT([$LIBINTL])
  29362. + AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCINTL])
  29363. + fi
  29364. +
  29365. + dnl For backward compatibility. Some packages may be using this.
  29366. + AC_DEFINE(HAVE_GETTEXT, 1,
  29367. + [Define if the GNU gettext() function is already present or preinstalled.])
  29368. + AC_DEFINE(HAVE_DCGETTEXT, 1,
  29369. + [Define if the GNU dcgettext() function is already present or preinstalled.])
  29370. + fi
  29371. +
  29372. + dnl We need to process the po/ directory.
  29373. + POSUB=po
  29374. + fi
  29375. +
  29376. + ifelse(gt_included_intl, yes, [
  29377. + dnl If this is used in GNU gettext we have to set BUILD_INCLUDED_LIBINTL
  29378. + dnl to 'yes' because some of the testsuite requires it.
  29379. + if test "$PACKAGE" = gettext-runtime || test "$PACKAGE" = gettext-tools; then
  29380. + BUILD_INCLUDED_LIBINTL=yes
  29381. + fi
  29382. +
  29383. + dnl Make all variables we use known to autoconf.
  29384. + AC_SUBST(BUILD_INCLUDED_LIBINTL)
  29385. + AC_SUBST(USE_INCLUDED_LIBINTL)
  29386. + AC_SUBST(CATOBJEXT)
  29387. +
  29388. + dnl For backward compatibility. Some configure.ins may be using this.
  29389. + nls_cv_header_intl=
  29390. + nls_cv_header_libgt=
  29391. +
  29392. + dnl For backward compatibility. Some Makefiles may be using this.
  29393. + DATADIRNAME=share
  29394. + AC_SUBST(DATADIRNAME)
  29395. +
  29396. + dnl For backward compatibility. Some Makefiles may be using this.
  29397. + INSTOBJEXT=.mo
  29398. + AC_SUBST(INSTOBJEXT)
  29399. +
  29400. + dnl For backward compatibility. Some Makefiles may be using this.
  29401. + GENCAT=gencat
  29402. + AC_SUBST(GENCAT)
  29403. +
  29404. + dnl For backward compatibility. Some Makefiles may be using this.
  29405. + if test "$USE_INCLUDED_LIBINTL" = yes; then
  29406. + INTLOBJS="\$(GETTOBJS)"
  29407. + fi
  29408. + AC_SUBST(INTLOBJS)
  29409. +
  29410. + dnl Enable libtool support if the surrounding package wishes it.
  29411. + INTL_LIBTOOL_SUFFIX_PREFIX=gt_libtool_suffix_prefix
  29412. + AC_SUBST(INTL_LIBTOOL_SUFFIX_PREFIX)
  29413. + ])
  29414. +
  29415. + dnl For backward compatibility. Some Makefiles may be using this.
  29416. + INTLLIBS="$LIBINTL"
  29417. + AC_SUBST(INTLLIBS)
  29418. +
  29419. + dnl Make all documented variables known to autoconf.
  29420. + AC_SUBST(LIBINTL)
  29421. + AC_SUBST(LTLIBINTL)
  29422. + AC_SUBST(POSUB)
  29423. +])
  29424. +
  29425. +
  29426. +dnl Checks for all prerequisites of the intl subdirectory,
  29427. +dnl except for INTL_LIBTOOL_SUFFIX_PREFIX (and possibly LIBTOOL), INTLOBJS,
  29428. +dnl USE_INCLUDED_LIBINTL, BUILD_INCLUDED_LIBINTL.
  29429. +AC_DEFUN([AM_INTL_SUBDIR],
  29430. +[
  29431. + AC_REQUIRE([AC_PROG_INSTALL])dnl
  29432. + AC_REQUIRE([AM_MKINSTALLDIRS])dnl
  29433. + AC_REQUIRE([AC_PROG_CC])dnl
  29434. + AC_REQUIRE([AC_CANONICAL_HOST])dnl
  29435. + AC_REQUIRE([AC_PROG_RANLIB])dnl
  29436. + AC_REQUIRE([AC_ISC_POSIX])dnl
  29437. + AC_REQUIRE([AC_HEADER_STDC])dnl
  29438. + AC_REQUIRE([AC_C_CONST])dnl
  29439. + AC_REQUIRE([AC_C_INLINE])dnl
  29440. + AC_REQUIRE([AC_TYPE_OFF_T])dnl
  29441. + AC_REQUIRE([AC_TYPE_SIZE_T])dnl
  29442. + AC_REQUIRE([AC_FUNC_ALLOCA])dnl
  29443. + AC_REQUIRE([AC_FUNC_MMAP])dnl
  29444. + AC_REQUIRE([jm_GLIBC21])dnl
  29445. + AC_REQUIRE([gt_INTDIV0])dnl
  29446. + AC_REQUIRE([jm_AC_TYPE_UINTMAX_T])dnl
  29447. + AC_REQUIRE([gt_HEADER_INTTYPES_H])dnl
  29448. + AC_REQUIRE([gt_INTTYPES_PRI])dnl
  29449. +
  29450. + AC_CHECK_HEADERS([argz.h limits.h locale.h nl_types.h malloc.h stddef.h \
  29451. +stdlib.h string.h unistd.h sys/param.h])
  29452. + AC_CHECK_FUNCS([feof_unlocked fgets_unlocked getc_unlocked getcwd getegid \
  29453. +geteuid getgid getuid mempcpy munmap putenv setenv setlocale stpcpy \
  29454. +strcasecmp strdup strtoul tsearch __argz_count __argz_stringify __argz_next \
  29455. +__fsetlocking])
  29456. +
  29457. + AM_ICONV
  29458. + AM_LANGINFO_CODESET
  29459. + if test $ac_cv_header_locale_h = yes; then
  29460. + AM_LC_MESSAGES
  29461. + fi
  29462. +
  29463. + dnl intl/plural.c is generated from intl/plural.y. It requires bison,
  29464. + dnl because plural.y uses bison specific features. It requires at least
  29465. + dnl bison-1.26 because earlier versions generate a plural.c that doesn't
  29466. + dnl compile.
  29467. + dnl bison is only needed for the maintainer (who touches plural.y). But in
  29468. + dnl order to avoid separate Makefiles or --enable-maintainer-mode, we put
  29469. + dnl the rule in general Makefile. Now, some people carelessly touch the
  29470. + dnl files or have a broken "make" program, hence the plural.c rule will
  29471. + dnl sometimes fire. To avoid an error, defines BISON to ":" if it is not
  29472. + dnl present or too old.
  29473. + AC_CHECK_PROGS([INTLBISON], [bison])
  29474. + if test -z "$INTLBISON"; then
  29475. + ac_verc_fail=yes
  29476. + else
  29477. + dnl Found it, now check the version.
  29478. + AC_MSG_CHECKING([version of bison])
  29479. +changequote(<<,>>)dnl
  29480. + ac_prog_version=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
  29481. + case $ac_prog_version in
  29482. + '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
  29483. + 1.2[6-9]* | 1.[3-9][0-9]* | [2-9].*)
  29484. +changequote([,])dnl
  29485. + ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
  29486. + *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
  29487. + esac
  29488. + AC_MSG_RESULT([$ac_prog_version])
  29489. + fi
  29490. + if test $ac_verc_fail = yes; then
  29491. + INTLBISON=:
  29492. + fi
  29493. +])
  29494. +
  29495. +
  29496. +dnl Usage: AM_GNU_GETTEXT_VERSION([gettext-version])
  29497. +AC_DEFUN([AM_GNU_GETTEXT_VERSION], [])
  29498. +
  29499. +# po.m4 serial 1 (gettext-0.12)
  29500. +dnl Copyright (C) 1995-2003 Free Software Foundation, Inc.
  29501. +dnl This file is free software, distributed under the terms of the GNU
  29502. +dnl General Public License. As a special exception to the GNU General
  29503. +dnl Public License, this file may be distributed as part of a program
  29504. +dnl that contains a configuration script generated by Autoconf, under
  29505. +dnl the same distribution terms as the rest of that program.
  29506. +dnl
  29507. +dnl This file can can be used in projects which are not available under
  29508. +dnl the GNU General Public License or the GNU Library General Public
  29509. +dnl License but which still want to provide support for the GNU gettext
  29510. +dnl functionality.
  29511. +dnl Please note that the actual code of the GNU gettext library is covered
  29512. +dnl by the GNU Library General Public License, and the rest of the GNU
  29513. +dnl gettext package package is covered by the GNU General Public License.
  29514. +dnl They are *not* in the public domain.
  29515. +
  29516. +dnl Authors:
  29517. +dnl Ulrich Drepper <drepper@cygnus.com>, 1995-2000.
  29518. +dnl Bruno Haible <haible@clisp.cons.org>, 2000-2003.
  29519. +
  29520. +dnl Checks for all prerequisites of the po subdirectory.
  29521. +AC_DEFUN([AM_PO_SUBDIRS],
  29522. +[
  29523. + AC_REQUIRE([AC_PROG_MAKE_SET])dnl
  29524. + AC_REQUIRE([AC_PROG_INSTALL])dnl
  29525. + AC_REQUIRE([AM_MKINSTALLDIRS])dnl
  29526. + AC_REQUIRE([AM_NLS])dnl
  29527. +
  29528. + dnl Perform the following tests also if --disable-nls has been given,
  29529. + dnl because they are needed for "make dist" to work.
  29530. +
  29531. + dnl Search for GNU msgfmt in the PATH.
  29532. + dnl The first test excludes Solaris msgfmt and early GNU msgfmt versions.
  29533. + dnl The second test excludes FreeBSD msgfmt.
  29534. + AM_PATH_PROG_WITH_TEST(MSGFMT, msgfmt,
  29535. + [$ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 &&
  29536. + (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi)],
  29537. + :)
  29538. + AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT)
  29539. +
  29540. + dnl Search for GNU xgettext 0.12 or newer in the PATH.
  29541. + dnl The first test excludes Solaris xgettext and early GNU xgettext versions.
  29542. + dnl The second test excludes FreeBSD xgettext.
  29543. + AM_PATH_PROG_WITH_TEST(XGETTEXT, xgettext,
  29544. + [$ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
  29545. + (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)],
  29546. + :)
  29547. + dnl Remove leftover from FreeBSD xgettext call.
  29548. + rm -f messages.po
  29549. +
  29550. + dnl Search for GNU msgmerge 0.11 or newer in the PATH.
  29551. + AM_PATH_PROG_WITH_TEST(MSGMERGE, msgmerge,
  29552. + [$ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1], :)
  29553. +
  29554. + dnl This could go away some day; the PATH_PROG_WITH_TEST already does it.
  29555. + dnl Test whether we really found GNU msgfmt.
  29556. + if test "$GMSGFMT" != ":"; then
  29557. + dnl If it is no GNU msgfmt we define it as : so that the
  29558. + dnl Makefiles still can work.
  29559. + if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 &&
  29560. + (if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
  29561. + : ;
  29562. + else
  29563. + GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
  29564. + AC_MSG_RESULT(
  29565. + [found $GMSGFMT program is not GNU msgfmt; ignore it])
  29566. + GMSGFMT=":"
  29567. + fi
  29568. + fi
  29569. +
  29570. + dnl This could go away some day; the PATH_PROG_WITH_TEST already does it.
  29571. + dnl Test whether we really found GNU xgettext.
  29572. + if test "$XGETTEXT" != ":"; then
  29573. + dnl If it is no GNU xgettext we define it as : so that the
  29574. + dnl Makefiles still can work.
  29575. + if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
  29576. + (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
  29577. + : ;
  29578. + else
  29579. + AC_MSG_RESULT(
  29580. + [found xgettext program is not GNU xgettext; ignore it])
  29581. + XGETTEXT=":"
  29582. + fi
  29583. + dnl Remove leftover from FreeBSD xgettext call.
  29584. + rm -f messages.po
  29585. + fi
  29586. +
  29587. + AC_OUTPUT_COMMANDS([
  29588. + for ac_file in $CONFIG_FILES; do
  29589. + # Support "outfile[:infile[:infile...]]"
  29590. + case "$ac_file" in
  29591. + *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
  29592. + esac
  29593. + # PO directories have a Makefile.in generated from Makefile.in.in.
  29594. + case "$ac_file" in */Makefile.in)
  29595. + # Adjust a relative srcdir.
  29596. + ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
  29597. + ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
  29598. + ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
  29599. + # In autoconf-2.13 it is called $ac_given_srcdir.
  29600. + # In autoconf-2.50 it is called $srcdir.
  29601. + test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
  29602. + case "$ac_given_srcdir" in
  29603. + .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
  29604. + /*) top_srcdir="$ac_given_srcdir" ;;
  29605. + *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
  29606. + esac
  29607. + if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
  29608. + rm -f "$ac_dir/POTFILES"
  29609. + test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
  29610. + cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
  29611. + POMAKEFILEDEPS="POTFILES.in"
  29612. + # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
  29613. + # on $ac_dir but don't depend on user-specified configuration
  29614. + # parameters.
  29615. + if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
  29616. + # The LINGUAS file contains the set of available languages.
  29617. + if test -n "$OBSOLETE_ALL_LINGUAS"; then
  29618. + test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
  29619. + fi
  29620. + ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
  29621. + # Hide the ALL_LINGUAS assigment from automake.
  29622. + eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
  29623. + POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
  29624. + else
  29625. + # The set of available languages was given in configure.in.
  29626. + eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
  29627. + fi
  29628. + case "$ac_given_srcdir" in
  29629. + .) srcdirpre= ;;
  29630. + *) srcdirpre='$(srcdir)/' ;;
  29631. + esac
  29632. + POFILES=
  29633. + GMOFILES=
  29634. + UPDATEPOFILES=
  29635. + DUMMYPOFILES=
  29636. + for lang in $ALL_LINGUAS; do
  29637. + POFILES="$POFILES $srcdirpre$lang.po"
  29638. + GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
  29639. + UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
  29640. + DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
  29641. + done
  29642. + # CATALOGS depends on both $ac_dir and the user's LINGUAS
  29643. + # environment variable.
  29644. + INST_LINGUAS=
  29645. + if test -n "$ALL_LINGUAS"; then
  29646. + for presentlang in $ALL_LINGUAS; do
  29647. + useit=no
  29648. + if test "%UNSET%" != "$LINGUAS"; then
  29649. + desiredlanguages="$LINGUAS"
  29650. + else
  29651. + desiredlanguages="$ALL_LINGUAS"
  29652. + fi
  29653. + for desiredlang in $desiredlanguages; do
  29654. + # Use the presentlang catalog if desiredlang is
  29655. + # a. equal to presentlang, or
  29656. + # b. a variant of presentlang (because in this case,
  29657. + # presentlang can be used as a fallback for messages
  29658. + # which are not translated in the desiredlang catalog).
  29659. + case "$desiredlang" in
  29660. + "$presentlang"*) useit=yes;;
  29661. + esac
  29662. + done
  29663. + if test $useit = yes; then
  29664. + INST_LINGUAS="$INST_LINGUAS $presentlang"
  29665. + fi
  29666. + done
  29667. + fi
  29668. + CATALOGS=
  29669. + if test -n "$INST_LINGUAS"; then
  29670. + for lang in $INST_LINGUAS; do
  29671. + CATALOGS="$CATALOGS $lang.gmo"
  29672. + done
  29673. + fi
  29674. + test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
  29675. + 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"
  29676. + for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
  29677. + if test -f "$f"; then
  29678. + case "$f" in
  29679. + *.orig | *.bak | *~) ;;
  29680. + *) cat "$f" >> "$ac_dir/Makefile" ;;
  29681. + esac
  29682. + fi
  29683. + done
  29684. + fi
  29685. + ;;
  29686. + esac
  29687. + done],
  29688. + [# Capture the value of obsolete ALL_LINGUAS because we need it to compute
  29689. + # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
  29690. + # from automake.
  29691. + eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
  29692. + # Capture the value of LINGUAS because we need it to compute CATALOGS.
  29693. + LINGUAS="${LINGUAS-%UNSET%}"
  29694. + ])
  29695. +])
  29696. +
  29697. +# nls.m4 serial 1 (gettext-0.12)
  29698. +dnl Copyright (C) 1995-2003 Free Software Foundation, Inc.
  29699. +dnl This file is free software, distributed under the terms of the GNU
  29700. +dnl General Public License. As a special exception to the GNU General
  29701. +dnl Public License, this file may be distributed as part of a program
  29702. +dnl that contains a configuration script generated by Autoconf, under
  29703. +dnl the same distribution terms as the rest of that program.
  29704. +dnl
  29705. +dnl This file can can be used in projects which are not available under
  29706. +dnl the GNU General Public License or the GNU Library General Public
  29707. +dnl License but which still want to provide support for the GNU gettext
  29708. +dnl functionality.
  29709. +dnl Please note that the actual code of the GNU gettext library is covered
  29710. +dnl by the GNU Library General Public License, and the rest of the GNU
  29711. +dnl gettext package package is covered by the GNU General Public License.
  29712. +dnl They are *not* in the public domain.
  29713. +
  29714. +dnl Authors:
  29715. +dnl Ulrich Drepper <drepper@cygnus.com>, 1995-2000.
  29716. +dnl Bruno Haible <haible@clisp.cons.org>, 2000-2003.
  29717. +
  29718. +AC_DEFUN([AM_NLS],
  29719. +[
  29720. + AC_MSG_CHECKING([whether NLS is requested])
  29721. + dnl Default is enabled NLS
  29722. + AC_ARG_ENABLE(nls,
  29723. + [ --disable-nls do not use Native Language Support],
  29724. + USE_NLS=$enableval, USE_NLS=yes)
  29725. + AC_MSG_RESULT($USE_NLS)
  29726. + AC_SUBST(USE_NLS)
  29727. +])
  29728. +
  29729. +AC_DEFUN([AM_MKINSTALLDIRS],
  29730. +[
  29731. + dnl If the AC_CONFIG_AUX_DIR macro for autoconf is used we possibly
  29732. + dnl find the mkinstalldirs script in another subdir but $(top_srcdir).
  29733. + dnl Try to locate it.
  29734. + MKINSTALLDIRS=
  29735. + if test -n "$ac_aux_dir"; then
  29736. + case "$ac_aux_dir" in
  29737. + /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;;
  29738. + *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
  29739. + esac
  29740. + fi
  29741. + if test -z "$MKINSTALLDIRS"; then
  29742. + MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
  29743. + fi
  29744. + AC_SUBST(MKINSTALLDIRS)
  29745. +])
  29746. +
  29747. +# progtest.m4 serial 3 (gettext-0.12)
  29748. +dnl Copyright (C) 1996-2003 Free Software Foundation, Inc.
  29749. +dnl This file is free software, distributed under the terms of the GNU
  29750. +dnl General Public License. As a special exception to the GNU General
  29751. +dnl Public License, this file may be distributed as part of a program
  29752. +dnl that contains a configuration script generated by Autoconf, under
  29753. +dnl the same distribution terms as the rest of that program.
  29754. +dnl
  29755. +dnl This file can can be used in projects which are not available under
  29756. +dnl the GNU General Public License or the GNU Library General Public
  29757. +dnl License but which still want to provide support for the GNU gettext
  29758. +dnl functionality.
  29759. +dnl Please note that the actual code of the GNU gettext library is covered
  29760. +dnl by the GNU Library General Public License, and the rest of the GNU
  29761. +dnl gettext package package is covered by the GNU General Public License.
  29762. +dnl They are *not* in the public domain.
  29763. +
  29764. +dnl Authors:
  29765. +dnl Ulrich Drepper <drepper@cygnus.com>, 1996.
  29766. +
  29767. +# Search path for a program which passes the given test.
  29768. +
  29769. +dnl AM_PATH_PROG_WITH_TEST(VARIABLE, PROG-TO-CHECK-FOR,
  29770. +dnl TEST-PERFORMED-ON-FOUND_PROGRAM [, VALUE-IF-NOT-FOUND [, PATH]])
  29771. +AC_DEFUN([AM_PATH_PROG_WITH_TEST],
  29772. +[
  29773. +# Prepare PATH_SEPARATOR.
  29774. +# The user is always right.
  29775. +if test "${PATH_SEPARATOR+set}" != set; then
  29776. + echo "#! /bin/sh" >conf$$.sh
  29777. + echo "exit 0" >>conf$$.sh
  29778. + chmod +x conf$$.sh
  29779. + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
  29780. + PATH_SEPARATOR=';'
  29781. + else
  29782. + PATH_SEPARATOR=:
  29783. + fi
  29784. + rm -f conf$$.sh
  29785. +fi
  29786. +
  29787. +# Find out how to test for executable files. Don't use a zero-byte file,
  29788. +# as systems may use methods other than mode bits to determine executability.
  29789. +cat >conf$$.file <<_ASEOF
  29790. +#! /bin/sh
  29791. +exit 0
  29792. +_ASEOF
  29793. +chmod +x conf$$.file
  29794. +if test -x conf$$.file >/dev/null 2>&1; then
  29795. + ac_executable_p="test -x"
  29796. else
  29797. - $1_TRUE='#'
  29798. - $1_FALSE=
  29799. -fi])
  29800. + ac_executable_p="test -f"
  29801. +fi
  29802. +rm -f conf$$.file
  29803. +
  29804. +# Extract the first word of "$2", so it can be a program name with args.
  29805. +set dummy $2; ac_word=[$]2
  29806. +AC_MSG_CHECKING([for $ac_word])
  29807. +AC_CACHE_VAL(ac_cv_path_$1,
  29808. +[case "[$]$1" in
  29809. + [[\\/]]* | ?:[[\\/]]*)
  29810. + ac_cv_path_$1="[$]$1" # Let the user override the test with a path.
  29811. + ;;
  29812. + *)
  29813. + ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
  29814. + for ac_dir in ifelse([$5], , $PATH, [$5]); do
  29815. + IFS="$ac_save_IFS"
  29816. + test -z "$ac_dir" && ac_dir=.
  29817. + for ac_exec_ext in '' $ac_executable_extensions; do
  29818. + if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
  29819. + if [$3]; then
  29820. + ac_cv_path_$1="$ac_dir/$ac_word$ac_exec_ext"
  29821. + break 2
  29822. + fi
  29823. + fi
  29824. + done
  29825. + done
  29826. + IFS="$ac_save_IFS"
  29827. +dnl If no 4th arg is given, leave the cache variable unset,
  29828. +dnl so AC_PATH_PROGS will keep looking.
  29829. +ifelse([$4], , , [ test -z "[$]ac_cv_path_$1" && ac_cv_path_$1="$4"
  29830. +])dnl
  29831. + ;;
  29832. +esac])dnl
  29833. +$1="$ac_cv_path_$1"
  29834. +if test ifelse([$4], , [-n "[$]$1"], ["[$]$1" != "$4"]); then
  29835. + AC_MSG_RESULT([$]$1)
  29836. +else
  29837. + AC_MSG_RESULT(no)
  29838. +fi
  29839. +AC_SUBST($1)dnl
  29840. +])
  29841. +
  29842. +# iconv.m4 serial AM4 (gettext-0.11.3)
  29843. +dnl Copyright (C) 2000-2002 Free Software Foundation, Inc.
  29844. +dnl This file is free software, distributed under the terms of the GNU
  29845. +dnl General Public License. As a special exception to the GNU General
  29846. +dnl Public License, this file may be distributed as part of a program
  29847. +dnl that contains a configuration script generated by Autoconf, under
  29848. +dnl the same distribution terms as the rest of that program.
  29849. +
  29850. +dnl From Bruno Haible.
  29851. +
  29852. +AC_DEFUN([AM_ICONV_LINKFLAGS_BODY],
  29853. +[
  29854. + dnl Prerequisites of AC_LIB_LINKFLAGS_BODY.
  29855. + AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
  29856. + AC_REQUIRE([AC_LIB_RPATH])
  29857. +
  29858. + dnl Search for libiconv and define LIBICONV, LTLIBICONV and INCICONV
  29859. + dnl accordingly.
  29860. + AC_LIB_LINKFLAGS_BODY([iconv])
  29861. +])
  29862. +
  29863. +AC_DEFUN([AM_ICONV_LINK],
  29864. +[
  29865. + dnl Some systems have iconv in libc, some have it in libiconv (OSF/1 and
  29866. + dnl those with the standalone portable GNU libiconv installed).
  29867. +
  29868. + dnl Search for libiconv and define LIBICONV, LTLIBICONV and INCICONV
  29869. + dnl accordingly.
  29870. + AC_REQUIRE([AM_ICONV_LINKFLAGS_BODY])
  29871. +
  29872. + dnl Add $INCICONV to CPPFLAGS before performing the following checks,
  29873. + dnl because if the user has installed libiconv and not disabled its use
  29874. + dnl via --without-libiconv-prefix, he wants to use it. The first
  29875. + dnl AC_TRY_LINK will then fail, the second AC_TRY_LINK will succeed.
  29876. + am_save_CPPFLAGS="$CPPFLAGS"
  29877. + AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCICONV])
  29878. +
  29879. + AC_CACHE_CHECK(for iconv, am_cv_func_iconv, [
  29880. + am_cv_func_iconv="no, consider installing GNU libiconv"
  29881. + am_cv_lib_iconv=no
  29882. + AC_TRY_LINK([#include <stdlib.h>
  29883. +#include <iconv.h>],
  29884. + [iconv_t cd = iconv_open("","");
  29885. + iconv(cd,NULL,NULL,NULL,NULL);
  29886. + iconv_close(cd);],
  29887. + am_cv_func_iconv=yes)
  29888. + if test "$am_cv_func_iconv" != yes; then
  29889. + am_save_LIBS="$LIBS"
  29890. + LIBS="$LIBS $LIBICONV"
  29891. + AC_TRY_LINK([#include <stdlib.h>
  29892. +#include <iconv.h>],
  29893. + [iconv_t cd = iconv_open("","");
  29894. + iconv(cd,NULL,NULL,NULL,NULL);
  29895. + iconv_close(cd);],
  29896. + am_cv_lib_iconv=yes
  29897. + am_cv_func_iconv=yes)
  29898. + LIBS="$am_save_LIBS"
  29899. + fi
  29900. + ])
  29901. + if test "$am_cv_func_iconv" = yes; then
  29902. + AC_DEFINE(HAVE_ICONV, 1, [Define if you have the iconv() function.])
  29903. + fi
  29904. + if test "$am_cv_lib_iconv" = yes; then
  29905. + AC_MSG_CHECKING([how to link with libiconv])
  29906. + AC_MSG_RESULT([$LIBICONV])
  29907. + else
  29908. + dnl If $LIBICONV didn't lead to a usable library, we don't need $INCICONV
  29909. + dnl either.
  29910. + CPPFLAGS="$am_save_CPPFLAGS"
  29911. + LIBICONV=
  29912. + LTLIBICONV=
  29913. + fi
  29914. + AC_SUBST(LIBICONV)
  29915. + AC_SUBST(LTLIBICONV)
  29916. +])
  29917. +
  29918. +AC_DEFUN([AM_ICONV],
  29919. +[
  29920. + AM_ICONV_LINK
  29921. + if test "$am_cv_func_iconv" = yes; then
  29922. + AC_MSG_CHECKING([for iconv declaration])
  29923. + AC_CACHE_VAL(am_cv_proto_iconv, [
  29924. + AC_TRY_COMPILE([
  29925. +#include <stdlib.h>
  29926. +#include <iconv.h>
  29927. +extern
  29928. +#ifdef __cplusplus
  29929. +"C"
  29930. +#endif
  29931. +#if defined(__STDC__) || defined(__cplusplus)
  29932. +size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
  29933. +#else
  29934. +size_t iconv();
  29935. +#endif
  29936. +], [], am_cv_proto_iconv_arg1="", am_cv_proto_iconv_arg1="const")
  29937. + 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);"])
  29938. + am_cv_proto_iconv=`echo "[$]am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
  29939. + AC_MSG_RESULT([$]{ac_t:-
  29940. + }[$]am_cv_proto_iconv)
  29941. + AC_DEFINE_UNQUOTED(ICONV_CONST, $am_cv_proto_iconv_arg1,
  29942. + [Define as const if the declaration of iconv() needs const.])
  29943. + fi
  29944. +])
  29945. +
  29946. +# intdiv0.m4 serial 1 (gettext-0.11.3)
  29947. +dnl Copyright (C) 2002 Free Software Foundation, Inc.
  29948. +dnl This file is free software, distributed under the terms of the GNU
  29949. +dnl General Public License. As a special exception to the GNU General
  29950. +dnl Public License, this file may be distributed as part of a program
  29951. +dnl that contains a configuration script generated by Autoconf, under
  29952. +dnl the same distribution terms as the rest of that program.
  29953. +
  29954. +dnl From Bruno Haible.
  29955. +
  29956. +AC_DEFUN([gt_INTDIV0],
  29957. +[
  29958. + AC_REQUIRE([AC_PROG_CC])dnl
  29959. + AC_REQUIRE([AC_CANONICAL_HOST])dnl
  29960. +
  29961. + AC_CACHE_CHECK([whether integer division by zero raises SIGFPE],
  29962. + gt_cv_int_divbyzero_sigfpe,
  29963. + [
  29964. + AC_TRY_RUN([
  29965. +#include <stdlib.h>
  29966. +#include <signal.h>
  29967. +
  29968. +static void
  29969. +#ifdef __cplusplus
  29970. +sigfpe_handler (int sig)
  29971. +#else
  29972. +sigfpe_handler (sig) int sig;
  29973. +#endif
  29974. +{
  29975. + /* Exit with code 0 if SIGFPE, with code 1 if any other signal. */
  29976. + exit (sig != SIGFPE);
  29977. +}
  29978. +
  29979. +int x = 1;
  29980. +int y = 0;
  29981. +int z;
  29982. +int nan;
  29983. +
  29984. +int main ()
  29985. +{
  29986. + signal (SIGFPE, sigfpe_handler);
  29987. +/* IRIX and AIX (when "xlc -qcheck" is used) yield signal SIGTRAP. */
  29988. +#if (defined (__sgi) || defined (_AIX)) && defined (SIGTRAP)
  29989. + signal (SIGTRAP, sigfpe_handler);
  29990. +#endif
  29991. +/* Linux/SPARC yields signal SIGILL. */
  29992. +#if defined (__sparc__) && defined (__linux__)
  29993. + signal (SIGILL, sigfpe_handler);
  29994. +#endif
  29995. +
  29996. + z = x / y;
  29997. + nan = y / y;
  29998. + exit (1);
  29999. +}
  30000. +], gt_cv_int_divbyzero_sigfpe=yes, gt_cv_int_divbyzero_sigfpe=no,
  30001. + [
  30002. + # Guess based on the CPU.
  30003. + case "$host_cpu" in
  30004. + alpha* | i[34567]86 | m68k | s390*)
  30005. + gt_cv_int_divbyzero_sigfpe="guessing yes";;
  30006. + *)
  30007. + gt_cv_int_divbyzero_sigfpe="guessing no";;
  30008. + esac
  30009. + ])
  30010. + ])
  30011. + case "$gt_cv_int_divbyzero_sigfpe" in
  30012. + *yes) value=1;;
  30013. + *) value=0;;
  30014. + esac
  30015. + AC_DEFINE_UNQUOTED(INTDIV0_RAISES_SIGFPE, $value,
  30016. + [Define if integer division by zero raises signal SIGFPE.])
  30017. +])
  30018. +
  30019. +# uintmax_t.m4 serial 7 (gettext-0.12)
  30020. +dnl Copyright (C) 1997-2003 Free Software Foundation, Inc.
  30021. +dnl This file is free software, distributed under the terms of the GNU
  30022. +dnl General Public License. As a special exception to the GNU General
  30023. +dnl Public License, this file may be distributed as part of a program
  30024. +dnl that contains a configuration script generated by Autoconf, under
  30025. +dnl the same distribution terms as the rest of that program.
  30026. +
  30027. +dnl From Paul Eggert.
  30028. +
  30029. +AC_PREREQ(2.13)
  30030. +
  30031. +# Define uintmax_t to 'unsigned long' or 'unsigned long long'
  30032. +# if it is not already defined in <stdint.h> or <inttypes.h>.
  30033. +
  30034. +AC_DEFUN([jm_AC_TYPE_UINTMAX_T],
  30035. +[
  30036. + AC_REQUIRE([jm_AC_HEADER_INTTYPES_H])
  30037. + AC_REQUIRE([jm_AC_HEADER_STDINT_H])
  30038. + if test $jm_ac_cv_header_inttypes_h = no && test $jm_ac_cv_header_stdint_h = no; then
  30039. + AC_REQUIRE([jm_AC_TYPE_UNSIGNED_LONG_LONG])
  30040. + test $ac_cv_type_unsigned_long_long = yes \
  30041. + && ac_type='unsigned long long' \
  30042. + || ac_type='unsigned long'
  30043. + AC_DEFINE_UNQUOTED(uintmax_t, $ac_type,
  30044. + [Define to unsigned long or unsigned long long
  30045. + if <stdint.h> and <inttypes.h> don't define.])
  30046. + else
  30047. + AC_DEFINE(HAVE_UINTMAX_T, 1,
  30048. + [Define if you have the 'uintmax_t' type in <stdint.h> or <inttypes.h>.])
  30049. + fi
  30050. +])
  30051. +
  30052. +# inttypes_h.m4 serial 5 (gettext-0.12)
  30053. +dnl Copyright (C) 1997-2003 Free Software Foundation, Inc.
  30054. +dnl This file is free software, distributed under the terms of the GNU
  30055. +dnl General Public License. As a special exception to the GNU General
  30056. +dnl Public License, this file may be distributed as part of a program
  30057. +dnl that contains a configuration script generated by Autoconf, under
  30058. +dnl the same distribution terms as the rest of that program.
  30059. +
  30060. +dnl From Paul Eggert.
  30061. +
  30062. +# Define HAVE_INTTYPES_H_WITH_UINTMAX if <inttypes.h> exists,
  30063. +# doesn't clash with <sys/types.h>, and declares uintmax_t.
  30064. +
  30065. +AC_DEFUN([jm_AC_HEADER_INTTYPES_H],
  30066. +[
  30067. + AC_CACHE_CHECK([for inttypes.h], jm_ac_cv_header_inttypes_h,
  30068. + [AC_TRY_COMPILE(
  30069. + [#include <sys/types.h>
  30070. +#include <inttypes.h>],
  30071. + [uintmax_t i = (uintmax_t) -1;],
  30072. + jm_ac_cv_header_inttypes_h=yes,
  30073. + jm_ac_cv_header_inttypes_h=no)])
  30074. + if test $jm_ac_cv_header_inttypes_h = yes; then
  30075. + AC_DEFINE_UNQUOTED(HAVE_INTTYPES_H_WITH_UINTMAX, 1,
  30076. + [Define if <inttypes.h> exists, doesn't clash with <sys/types.h>,
  30077. + and declares uintmax_t. ])
  30078. + fi
  30079. +])
  30080. +
  30081. +# stdint_h.m4 serial 3 (gettext-0.12)
  30082. +dnl Copyright (C) 1997-2003 Free Software Foundation, Inc.
  30083. +dnl This file is free software, distributed under the terms of the GNU
  30084. +dnl General Public License. As a special exception to the GNU General
  30085. +dnl Public License, this file may be distributed as part of a program
  30086. +dnl that contains a configuration script generated by Autoconf, under
  30087. +dnl the same distribution terms as the rest of that program.
  30088. +
  30089. +dnl From Paul Eggert.
  30090. +
  30091. +# Define HAVE_STDINT_H_WITH_UINTMAX if <stdint.h> exists,
  30092. +# doesn't clash with <sys/types.h>, and declares uintmax_t.
  30093. +
  30094. +AC_DEFUN([jm_AC_HEADER_STDINT_H],
  30095. +[
  30096. + AC_CACHE_CHECK([for stdint.h], jm_ac_cv_header_stdint_h,
  30097. + [AC_TRY_COMPILE(
  30098. + [#include <sys/types.h>
  30099. +#include <stdint.h>],
  30100. + [uintmax_t i = (uintmax_t) -1;],
  30101. + jm_ac_cv_header_stdint_h=yes,
  30102. + jm_ac_cv_header_stdint_h=no)])
  30103. + if test $jm_ac_cv_header_stdint_h = yes; then
  30104. + AC_DEFINE_UNQUOTED(HAVE_STDINT_H_WITH_UINTMAX, 1,
  30105. + [Define if <stdint.h> exists, doesn't clash with <sys/types.h>,
  30106. + and declares uintmax_t. ])
  30107. + fi
  30108. +])
  30109. +
  30110. +# ulonglong.m4 serial 2 (fileutils-4.0.32, gettext-0.10.40)
  30111. +dnl Copyright (C) 1999-2002 Free Software Foundation, Inc.
  30112. +dnl This file is free software, distributed under the terms of the GNU
  30113. +dnl General Public License. As a special exception to the GNU General
  30114. +dnl Public License, this file may be distributed as part of a program
  30115. +dnl that contains a configuration script generated by Autoconf, under
  30116. +dnl the same distribution terms as the rest of that program.
  30117. +
  30118. +dnl From Paul Eggert.
  30119. +
  30120. +AC_DEFUN([jm_AC_TYPE_UNSIGNED_LONG_LONG],
  30121. +[
  30122. + AC_CACHE_CHECK([for unsigned long long], ac_cv_type_unsigned_long_long,
  30123. + [AC_TRY_LINK([unsigned long long ull = 1; int i = 63;],
  30124. + [unsigned long long ullmax = (unsigned long long) -1;
  30125. + return ull << i | ull >> i | ullmax / ull | ullmax % ull;],
  30126. + ac_cv_type_unsigned_long_long=yes,
  30127. + ac_cv_type_unsigned_long_long=no)])
  30128. + if test $ac_cv_type_unsigned_long_long = yes; then
  30129. + AC_DEFINE(HAVE_UNSIGNED_LONG_LONG, 1,
  30130. + [Define if you have the unsigned long long type.])
  30131. + fi
  30132. +])
  30133. +
  30134. +# inttypes.m4 serial 1 (gettext-0.11.4)
  30135. +dnl Copyright (C) 1997-2002 Free Software Foundation, Inc.
  30136. +dnl This file is free software, distributed under the terms of the GNU
  30137. +dnl General Public License. As a special exception to the GNU General
  30138. +dnl Public License, this file may be distributed as part of a program
  30139. +dnl that contains a configuration script generated by Autoconf, under
  30140. +dnl the same distribution terms as the rest of that program.
  30141. +
  30142. +dnl From Paul Eggert.
  30143. +
  30144. +# Define HAVE_INTTYPES_H if <inttypes.h> exists and doesn't clash with
  30145. +# <sys/types.h>.
  30146. +
  30147. +AC_DEFUN([gt_HEADER_INTTYPES_H],
  30148. +[
  30149. + AC_CACHE_CHECK([for inttypes.h], gt_cv_header_inttypes_h,
  30150. + [
  30151. + AC_TRY_COMPILE(
  30152. + [#include <sys/types.h>
  30153. +#include <inttypes.h>],
  30154. + [], gt_cv_header_inttypes_h=yes, gt_cv_header_inttypes_h=no)
  30155. + ])
  30156. + if test $gt_cv_header_inttypes_h = yes; then
  30157. + AC_DEFINE_UNQUOTED(HAVE_INTTYPES_H, 1,
  30158. + [Define if <inttypes.h> exists and doesn't clash with <sys/types.h>.])
  30159. + fi
  30160. +])
  30161. +
  30162. +# inttypes-pri.m4 serial 1 (gettext-0.11.4)
  30163. +dnl Copyright (C) 1997-2002 Free Software Foundation, Inc.
  30164. +dnl This file is free software, distributed under the terms of the GNU
  30165. +dnl General Public License. As a special exception to the GNU General
  30166. +dnl Public License, this file may be distributed as part of a program
  30167. +dnl that contains a configuration script generated by Autoconf, under
  30168. +dnl the same distribution terms as the rest of that program.
  30169. +
  30170. +dnl From Bruno Haible.
  30171. +
  30172. +# Define PRI_MACROS_BROKEN if <inttypes.h> exists and defines the PRI*
  30173. +# macros to non-string values. This is the case on AIX 4.3.3.
  30174. +
  30175. +AC_DEFUN([gt_INTTYPES_PRI],
  30176. +[
  30177. + AC_REQUIRE([gt_HEADER_INTTYPES_H])
  30178. + if test $gt_cv_header_inttypes_h = yes; then
  30179. + AC_CACHE_CHECK([whether the inttypes.h PRIxNN macros are broken],
  30180. + gt_cv_inttypes_pri_broken,
  30181. + [
  30182. + AC_TRY_COMPILE([#include <inttypes.h>
  30183. +#ifdef PRId32
  30184. +char *p = PRId32;
  30185. +#endif
  30186. +], [], gt_cv_inttypes_pri_broken=no, gt_cv_inttypes_pri_broken=yes)
  30187. + ])
  30188. + fi
  30189. + if test "$gt_cv_inttypes_pri_broken" = yes; then
  30190. + AC_DEFINE_UNQUOTED(PRI_MACROS_BROKEN, 1,
  30191. + [Define if <inttypes.h> exists and defines unusable PRI* macros.])
  30192. + fi
  30193. +])
  30194. +
  30195. +# codeset.m4 serial AM1 (gettext-0.10.40)
  30196. +dnl Copyright (C) 2000-2002 Free Software Foundation, Inc.
  30197. +dnl This file is free software, distributed under the terms of the GNU
  30198. +dnl General Public License. As a special exception to the GNU General
  30199. +dnl Public License, this file may be distributed as part of a program
  30200. +dnl that contains a configuration script generated by Autoconf, under
  30201. +dnl the same distribution terms as the rest of that program.
  30202. +
  30203. +dnl From Bruno Haible.
  30204. +
  30205. +AC_DEFUN([AM_LANGINFO_CODESET],
  30206. +[
  30207. + AC_CACHE_CHECK([for nl_langinfo and CODESET], am_cv_langinfo_codeset,
  30208. + [AC_TRY_LINK([#include <langinfo.h>],
  30209. + [char* cs = nl_langinfo(CODESET);],
  30210. + am_cv_langinfo_codeset=yes,
  30211. + am_cv_langinfo_codeset=no)
  30212. + ])
  30213. + if test $am_cv_langinfo_codeset = yes; then
  30214. + AC_DEFINE(HAVE_LANGINFO_CODESET, 1,
  30215. + [Define if you have <langinfo.h> and nl_langinfo(CODESET).])
  30216. + fi
  30217. +])
  30218. # Check whether LC_MESSAGES is available in <locale.h>.
  30219. # Ulrich Drepper <drepper@cygnus.com>, 1995.
  30220. @@ -1047,3 +6269,16 @@
  30221. fi
  30222. fi])
  30223. +# Define a conditional.
  30224. +
  30225. +AC_DEFUN([AM_CONDITIONAL],
  30226. +[AC_SUBST($1_TRUE)
  30227. +AC_SUBST($1_FALSE)
  30228. +if $2; then
  30229. + $1_TRUE=
  30230. + $1_FALSE='#'
  30231. +else
  30232. + $1_TRUE='#'
  30233. + $1_FALSE=
  30234. +fi])
  30235. +
  30236. --- recode-3.6.orig/configure.in
  30237. +++ recode-3.6/configure.in
  30238. @@ -7,7 +7,7 @@
  30239. AM_CONFIG_HEADER(config.h)
  30240. AM_INIT_AUTOMAKE(recode, 3.6)
  30241. AT_CONFIG(../src)
  30242. -ALL_LINGUAS="da de el es fr gl it nl pl pt sl sv"
  30243. +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"
  30244. AC_PROG_CC
  30245. AC_AIX
  30246. --- recode-3.6.orig/configure
  30247. +++ recode-3.6/configure
  30248. @@ -19,9 +19,170 @@
  30249. --enable-fast-install[=PKGS] optimize for fast installation [default=yes]"
  30250. ac_help="$ac_help
  30251. --with-gnu-ld assume the C compiler uses GNU ld [default=no]"
  30252. +
  30253. +# Find the correct PATH separator. Usually this is `:', but
  30254. +# DJGPP uses `;' like DOS.
  30255. +if test "X${PATH_SEPARATOR+set}" != Xset; then
  30256. + UNAME=${UNAME-`uname 2>/dev/null`}
  30257. + case X$UNAME in
  30258. + *-DOS) lt_cv_sys_path_separator=';' ;;
  30259. + *) lt_cv_sys_path_separator=':' ;;
  30260. + esac
  30261. + PATH_SEPARATOR=$lt_cv_sys_path_separator
  30262. +fi
  30263. +
  30264. +
  30265. +# Check that we are running under the correct shell.
  30266. +SHELL=${CONFIG_SHELL-/bin/sh}
  30267. +
  30268. +case X$ECHO in
  30269. +X*--fallback-echo)
  30270. + # Remove one level of quotation (which was required for Make).
  30271. + ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
  30272. + ;;
  30273. +esac
  30274. +
  30275. +echo=${ECHO-echo}
  30276. +if test "X$1" = X--no-reexec; then
  30277. + # Discard the --no-reexec flag, and continue.
  30278. + shift
  30279. +elif test "X$1" = X--fallback-echo; then
  30280. + # Avoid inline document here, it may be left over
  30281. + :
  30282. +elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then
  30283. + # Yippee, $echo works!
  30284. + :
  30285. +else
  30286. + # Restart under the correct shell.
  30287. + exec $SHELL "$0" --no-reexec ${1+"$@"}
  30288. +fi
  30289. +
  30290. +if test "X$1" = X--fallback-echo; then
  30291. + # used as fallback echo
  30292. + shift
  30293. + cat <<EOF
  30294. +
  30295. +EOF
  30296. + exit 0
  30297. +fi
  30298. +
  30299. +# The HP-UX ksh and POSIX shell print the target directory to stdout
  30300. +# if CDPATH is set.
  30301. +if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
  30302. +
  30303. +if test -z "$ECHO"; then
  30304. +if test "X${echo_test_string+set}" != Xset; then
  30305. +# find a string as large as possible, as long as the shell can cope with it
  30306. + for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
  30307. + # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
  30308. + if (echo_test_string="`eval $cmd`") 2>/dev/null &&
  30309. + echo_test_string="`eval $cmd`" &&
  30310. + (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
  30311. + then
  30312. + break
  30313. + fi
  30314. + done
  30315. +fi
  30316. +
  30317. +if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
  30318. + echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
  30319. + test "X$echo_testing_string" = "X$echo_test_string"; then
  30320. + :
  30321. +else
  30322. + # The Solaris, AIX, and Digital Unix default echo programs unquote
  30323. + # backslashes. This makes it impossible to quote backslashes using
  30324. + # echo "$something" | sed 's/\\/\\\\/g'
  30325. + #
  30326. + # So, first we look for a working echo in the user's PATH.
  30327. +
  30328. + IFS="${IFS= }"; save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  30329. + for dir in $PATH /usr/ucb; do
  30330. + if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
  30331. + test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
  30332. + echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
  30333. + test "X$echo_testing_string" = "X$echo_test_string"; then
  30334. + echo="$dir/echo"
  30335. + break
  30336. + fi
  30337. + done
  30338. + IFS="$save_ifs"
  30339. +
  30340. + if test "X$echo" = Xecho; then
  30341. + # We didn't find a better echo, so look for alternatives.
  30342. + if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
  30343. + echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
  30344. + test "X$echo_testing_string" = "X$echo_test_string"; then
  30345. + # This shell has a builtin print -r that does the trick.
  30346. + echo='print -r'
  30347. + elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
  30348. + test "X$CONFIG_SHELL" != X/bin/ksh; then
  30349. + # If we have ksh, try running configure again with it.
  30350. + ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
  30351. + export ORIGINAL_CONFIG_SHELL
  30352. + CONFIG_SHELL=/bin/ksh
  30353. + export CONFIG_SHELL
  30354. + exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
  30355. + else
  30356. + # Try using printf.
  30357. + echo='printf %s\n'
  30358. + if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
  30359. + echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
  30360. + test "X$echo_testing_string" = "X$echo_test_string"; then
  30361. + # Cool, printf works
  30362. + :
  30363. + elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
  30364. + test "X$echo_testing_string" = 'X\t' &&
  30365. + echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
  30366. + test "X$echo_testing_string" = "X$echo_test_string"; then
  30367. + CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
  30368. + export CONFIG_SHELL
  30369. + SHELL="$CONFIG_SHELL"
  30370. + export SHELL
  30371. + echo="$CONFIG_SHELL $0 --fallback-echo"
  30372. + elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
  30373. + test "X$echo_testing_string" = 'X\t' &&
  30374. + echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
  30375. + test "X$echo_testing_string" = "X$echo_test_string"; then
  30376. + echo="$CONFIG_SHELL $0 --fallback-echo"
  30377. + else
  30378. + # maybe with a smaller string...
  30379. + prev=:
  30380. +
  30381. + for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
  30382. + if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
  30383. + then
  30384. + break
  30385. + fi
  30386. + prev="$cmd"
  30387. + done
  30388. +
  30389. + if test "$prev" != 'sed 50q "$0"'; then
  30390. + echo_test_string=`eval $prev`
  30391. + export echo_test_string
  30392. + exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
  30393. + else
  30394. + # Oops. We lost completely, so just stick with echo.
  30395. + echo=echo
  30396. + fi
  30397. + fi
  30398. + fi
  30399. + fi
  30400. +fi
  30401. +fi
  30402. +
  30403. +# Copy echo and quote the copy suitably for passing to libtool from
  30404. +# the Makefile, instead of quoting the original, which is used later.
  30405. +ECHO=$echo
  30406. +if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
  30407. + ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
  30408. +fi
  30409. +
  30410. +
  30411. ac_help="$ac_help
  30412. --disable-libtool-lock avoid locking (might break parallel builds)"
  30413. ac_help="$ac_help
  30414. + --with-pic try to use only PIC/non-PIC objects [default=use both]"
  30415. +ac_help="$ac_help
  30416. --with-dmalloc use dmalloc, as in
  30417. ftp://ftp.letters.com/src/dmalloc/dmalloc.tar.gz"
  30418. ac_help="$ac_help
  30419. @@ -563,6 +724,7 @@
  30420. ac_config_sub=$ac_aux_dir/config.sub
  30421. ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
  30422. +am__api_version="1.4"
  30423. # Find a good install program. We prefer a C program (faster),
  30424. # so one script is as good as another. But avoid the broken or
  30425. # incompatible versions:
  30426. @@ -575,7 +737,7 @@
  30427. # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  30428. # ./install, which can be erroneously created by make from ./install.sh.
  30429. echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
  30430. -echo "configure:579: checking for a BSD compatible install" >&5
  30431. +echo "configure:741: checking for a BSD compatible install" >&5
  30432. if test -z "$INSTALL"; then
  30433. if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
  30434. echo $ac_n "(cached) $ac_c" 1>&6
  30435. @@ -628,7 +790,7 @@
  30436. test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  30437. echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
  30438. -echo "configure:632: checking whether build environment is sane" >&5
  30439. +echo "configure:794: checking whether build environment is sane" >&5
  30440. # Just in case
  30441. sleep 1
  30442. echo timestamp > conftestfile
  30443. @@ -685,7 +847,7 @@
  30444. test "$program_transform_name" = "" && program_transform_name="s,x,x,"
  30445. echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
  30446. -echo "configure:689: checking whether ${MAKE-make} sets \${MAKE}" >&5
  30447. +echo "configure:851: checking whether ${MAKE-make} sets \${MAKE}" >&5
  30448. set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
  30449. if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
  30450. echo $ac_n "(cached) $ac_c" 1>&6
  30451. @@ -730,21 +892,21 @@
  30452. missing_dir=`cd $ac_aux_dir && pwd`
  30453. -echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
  30454. -echo "configure:735: checking for working aclocal" >&5
  30455. +echo $ac_n "checking for working aclocal-${am__api_version}""... $ac_c" 1>&6
  30456. +echo "configure:897: checking for working aclocal-${am__api_version}" >&5
  30457. # Run test in a subshell; some versions of sh will print an error if
  30458. # an executable is not found, even if stderr is redirected.
  30459. # Redirect stdin to placate older versions of autoconf. Sigh.
  30460. -if (aclocal --version) < /dev/null > /dev/null 2>&1; then
  30461. - ACLOCAL=aclocal
  30462. +if (aclocal-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then
  30463. + ACLOCAL=aclocal-${am__api_version}
  30464. echo "$ac_t""found" 1>&6
  30465. else
  30466. - ACLOCAL="$missing_dir/missing aclocal"
  30467. + ACLOCAL="$missing_dir/missing aclocal-${am__api_version}"
  30468. echo "$ac_t""missing" 1>&6
  30469. fi
  30470. echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
  30471. -echo "configure:748: checking for working autoconf" >&5
  30472. +echo "configure:910: checking for working autoconf" >&5
  30473. # Run test in a subshell; some versions of sh will print an error if
  30474. # an executable is not found, even if stderr is redirected.
  30475. # Redirect stdin to placate older versions of autoconf. Sigh.
  30476. @@ -756,21 +918,21 @@
  30477. echo "$ac_t""missing" 1>&6
  30478. fi
  30479. -echo $ac_n "checking for working automake""... $ac_c" 1>&6
  30480. -echo "configure:761: checking for working automake" >&5
  30481. +echo $ac_n "checking for working automake-${am__api_version}""... $ac_c" 1>&6
  30482. +echo "configure:923: checking for working automake-${am__api_version}" >&5
  30483. # Run test in a subshell; some versions of sh will print an error if
  30484. # an executable is not found, even if stderr is redirected.
  30485. # Redirect stdin to placate older versions of autoconf. Sigh.
  30486. -if (automake --version) < /dev/null > /dev/null 2>&1; then
  30487. - AUTOMAKE=automake
  30488. +if (automake-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then
  30489. + AUTOMAKE=automake-${am__api_version}
  30490. echo "$ac_t""found" 1>&6
  30491. else
  30492. - AUTOMAKE="$missing_dir/missing automake"
  30493. + AUTOMAKE="$missing_dir/missing automake-${am__api_version}"
  30494. echo "$ac_t""missing" 1>&6
  30495. fi
  30496. echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
  30497. -echo "configure:774: checking for working autoheader" >&5
  30498. +echo "configure:936: checking for working autoheader" >&5
  30499. # Run test in a subshell; some versions of sh will print an error if
  30500. # an executable is not found, even if stderr is redirected.
  30501. # Redirect stdin to placate older versions of autoconf. Sigh.
  30502. @@ -783,7 +945,7 @@
  30503. fi
  30504. echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
  30505. -echo "configure:787: checking for working makeinfo" >&5
  30506. +echo "configure:949: checking for working makeinfo" >&5
  30507. # Run test in a subshell; some versions of sh will print an error if
  30508. # an executable is not found, even if stderr is redirected.
  30509. # Redirect stdin to placate older versions of autoconf. Sigh.
  30510. @@ -799,7 +961,7 @@
  30511. AT_TESTPATH=../src
  30512. echo $ac_n "checking how to suppress newlines using echo""... $ac_c" 1>&6
  30513. -echo "configure:803: checking how to suppress newlines using echo" >&5
  30514. +echo "configure:965: checking how to suppress newlines using echo" >&5
  30515. if eval "test \"`echo '$''{'fp_cv_prog_echo_nonl'+set}'`\" = set"; then
  30516. echo $ac_n "(cached) $ac_c" 1>&6
  30517. else
  30518. @@ -825,12 +987,12 @@
  30519. esac
  30520. -ALL_LINGUAS="da de el es fr gl it nl pl pt sl sv"
  30521. +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"
  30522. # Extract the first word of "gcc", so it can be a program name with args.
  30523. set dummy gcc; ac_word=$2
  30524. echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  30525. -echo "configure:834: checking for $ac_word" >&5
  30526. +echo "configure:996: checking for $ac_word" >&5
  30527. if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
  30528. echo $ac_n "(cached) $ac_c" 1>&6
  30529. else
  30530. @@ -860,7 +1022,7 @@
  30531. # Extract the first word of "cc", so it can be a program name with args.
  30532. set dummy cc; ac_word=$2
  30533. echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  30534. -echo "configure:864: checking for $ac_word" >&5
  30535. +echo "configure:1026: checking for $ac_word" >&5
  30536. if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
  30537. echo $ac_n "(cached) $ac_c" 1>&6
  30538. else
  30539. @@ -911,7 +1073,7 @@
  30540. # Extract the first word of "cl", so it can be a program name with args.
  30541. set dummy cl; ac_word=$2
  30542. echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  30543. -echo "configure:915: checking for $ac_word" >&5
  30544. +echo "configure:1077: checking for $ac_word" >&5
  30545. if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
  30546. echo $ac_n "(cached) $ac_c" 1>&6
  30547. else
  30548. @@ -943,7 +1105,7 @@
  30549. fi
  30550. echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
  30551. -echo "configure:947: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
  30552. +echo "configure:1109: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
  30553. ac_ext=c
  30554. # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
  30555. @@ -954,12 +1116,12 @@
  30556. cat > conftest.$ac_ext << EOF
  30557. -#line 958 "configure"
  30558. +#line 1120 "configure"
  30559. #include "confdefs.h"
  30560. main(){return(0);}
  30561. EOF
  30562. -if { (eval echo configure:963: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  30563. +if { (eval echo configure:1125: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  30564. ac_cv_prog_cc_works=yes
  30565. # If we can't run a trivial program, we are probably using a cross compiler.
  30566. if (./conftest; exit) 2>/dev/null; then
  30567. @@ -985,12 +1147,12 @@
  30568. { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
  30569. fi
  30570. echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
  30571. -echo "configure:989: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
  30572. +echo "configure:1151: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
  30573. echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
  30574. cross_compiling=$ac_cv_prog_cc_cross
  30575. echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
  30576. -echo "configure:994: checking whether we are using GNU C" >&5
  30577. +echo "configure:1156: checking whether we are using GNU C" >&5
  30578. if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
  30579. echo $ac_n "(cached) $ac_c" 1>&6
  30580. else
  30581. @@ -999,7 +1161,7 @@
  30582. yes;
  30583. #endif
  30584. EOF
  30585. -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
  30586. +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
  30587. ac_cv_prog_gcc=yes
  30588. else
  30589. ac_cv_prog_gcc=no
  30590. @@ -1018,7 +1180,7 @@
  30591. ac_save_CFLAGS="$CFLAGS"
  30592. CFLAGS=
  30593. echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
  30594. -echo "configure:1022: checking whether ${CC-cc} accepts -g" >&5
  30595. +echo "configure:1184: checking whether ${CC-cc} accepts -g" >&5
  30596. if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
  30597. echo $ac_n "(cached) $ac_c" 1>&6
  30598. else
  30599. @@ -1050,7 +1212,7 @@
  30600. fi
  30601. echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
  30602. -echo "configure:1054: checking how to run the C preprocessor" >&5
  30603. +echo "configure:1216: checking how to run the C preprocessor" >&5
  30604. # On Suns, sometimes $CPP names a directory.
  30605. if test -n "$CPP" && test -d "$CPP"; then
  30606. CPP=
  30607. @@ -1065,13 +1227,13 @@
  30608. # On the NeXT, cc -E runs the code through the compiler's parser,
  30609. # not just through cpp.
  30610. cat > conftest.$ac_ext <<EOF
  30611. -#line 1069 "configure"
  30612. +#line 1231 "configure"
  30613. #include "confdefs.h"
  30614. #include <assert.h>
  30615. Syntax Error
  30616. EOF
  30617. ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  30618. -{ (eval echo configure:1075: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  30619. +{ (eval echo configure:1237: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  30620. ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  30621. if test -z "$ac_err"; then
  30622. :
  30623. @@ -1082,13 +1244,13 @@
  30624. rm -rf conftest*
  30625. CPP="${CC-cc} -E -traditional-cpp"
  30626. cat > conftest.$ac_ext <<EOF
  30627. -#line 1086 "configure"
  30628. +#line 1248 "configure"
  30629. #include "confdefs.h"
  30630. #include <assert.h>
  30631. Syntax Error
  30632. EOF
  30633. ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  30634. -{ (eval echo configure:1092: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  30635. +{ (eval echo configure:1254: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  30636. ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  30637. if test -z "$ac_err"; then
  30638. :
  30639. @@ -1099,13 +1261,13 @@
  30640. rm -rf conftest*
  30641. CPP="${CC-cc} -nologo -E"
  30642. cat > conftest.$ac_ext <<EOF
  30643. -#line 1103 "configure"
  30644. +#line 1265 "configure"
  30645. #include "confdefs.h"
  30646. #include <assert.h>
  30647. Syntax Error
  30648. EOF
  30649. ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  30650. -{ (eval echo configure:1109: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  30651. +{ (eval echo configure:1271: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  30652. ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  30653. if test -z "$ac_err"; then
  30654. :
  30655. @@ -1130,9 +1292,9 @@
  30656. echo "$ac_t""$CPP" 1>&6
  30657. echo $ac_n "checking for AIX""... $ac_c" 1>&6
  30658. -echo "configure:1134: checking for AIX" >&5
  30659. +echo "configure:1296: checking for AIX" >&5
  30660. cat > conftest.$ac_ext <<EOF
  30661. -#line 1136 "configure"
  30662. +#line 1298 "configure"
  30663. #include "confdefs.h"
  30664. #ifdef _AIX
  30665. yes
  30666. @@ -1155,17 +1317,17 @@
  30667. ac_safe=`echo "minix/config.h" | sed 'y%./+-%__p_%'`
  30668. echo $ac_n "checking for minix/config.h""... $ac_c" 1>&6
  30669. -echo "configure:1159: checking for minix/config.h" >&5
  30670. +echo "configure:1321: checking for minix/config.h" >&5
  30671. if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  30672. echo $ac_n "(cached) $ac_c" 1>&6
  30673. else
  30674. cat > conftest.$ac_ext <<EOF
  30675. -#line 1164 "configure"
  30676. +#line 1326 "configure"
  30677. #include "confdefs.h"
  30678. #include <minix/config.h>
  30679. EOF
  30680. ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  30681. -{ (eval echo configure:1169: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  30682. +{ (eval echo configure:1331: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  30683. ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  30684. if test -z "$ac_err"; then
  30685. rm -rf conftest*
  30686. @@ -1202,11 +1364,84 @@
  30687. fi
  30688. +# Find the correct PATH separator. Usually this is `:', but
  30689. +# DJGPP uses `;' like DOS.
  30690. +if test "X${PATH_SEPARATOR+set}" != Xset; then
  30691. + UNAME=${UNAME-`uname 2>/dev/null`}
  30692. + case X$UNAME in
  30693. + *-DOS) lt_cv_sys_path_separator=';' ;;
  30694. + *) lt_cv_sys_path_separator=':' ;;
  30695. + esac
  30696. + PATH_SEPARATOR=$lt_cv_sys_path_separator
  30697. +fi
  30698. +
  30699. +echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
  30700. +echo "configure:1380: checking for Cygwin environment" >&5
  30701. +if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
  30702. + echo $ac_n "(cached) $ac_c" 1>&6
  30703. +else
  30704. + cat > conftest.$ac_ext <<EOF
  30705. +#line 1385 "configure"
  30706. +#include "confdefs.h"
  30707. +
  30708. +int main() {
  30709. +
  30710. +#ifndef __CYGWIN__
  30711. +#define __CYGWIN__ __CYGWIN32__
  30712. +#endif
  30713. +return __CYGWIN__;
  30714. +; return 0; }
  30715. +EOF
  30716. +if { (eval echo configure:1396: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  30717. + rm -rf conftest*
  30718. + ac_cv_cygwin=yes
  30719. +else
  30720. + echo "configure: failed program was:" >&5
  30721. + cat conftest.$ac_ext >&5
  30722. + rm -rf conftest*
  30723. + ac_cv_cygwin=no
  30724. +fi
  30725. +rm -f conftest*
  30726. +rm -f conftest*
  30727. +fi
  30728. +
  30729. +echo "$ac_t""$ac_cv_cygwin" 1>&6
  30730. +CYGWIN=
  30731. +test "$ac_cv_cygwin" = yes && CYGWIN=yes
  30732. +echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
  30733. +echo "configure:1413: checking for mingw32 environment" >&5
  30734. +if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
  30735. + echo $ac_n "(cached) $ac_c" 1>&6
  30736. +else
  30737. + cat > conftest.$ac_ext <<EOF
  30738. +#line 1418 "configure"
  30739. +#include "confdefs.h"
  30740. +
  30741. +int main() {
  30742. +return __MINGW32__;
  30743. +; return 0; }
  30744. +EOF
  30745. +if { (eval echo configure:1425: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  30746. + rm -rf conftest*
  30747. + ac_cv_mingw32=yes
  30748. +else
  30749. + echo "configure: failed program was:" >&5
  30750. + cat conftest.$ac_ext >&5
  30751. + rm -rf conftest*
  30752. + ac_cv_mingw32=no
  30753. +fi
  30754. +rm -f conftest*
  30755. +rm -f conftest*
  30756. +fi
  30757. +
  30758. +echo "$ac_t""$ac_cv_mingw32" 1>&6
  30759. +MINGW32=
  30760. +test "$ac_cv_mingw32" = yes && MINGW32=yes
  30761. # Check whether --enable-shared or --disable-shared was given.
  30762. if test "${enable_shared+set}" = set; then
  30763. enableval="$enable_shared"
  30764. p=${PACKAGE-default}
  30765. -case "$enableval" in
  30766. +case $enableval in
  30767. yes) enable_shared=yes ;;
  30768. no) enable_shared=no ;;
  30769. *)
  30770. @@ -1229,7 +1464,7 @@
  30771. if test "${enable_static+set}" = set; then
  30772. enableval="$enable_static"
  30773. p=${PACKAGE-default}
  30774. -case "$enableval" in
  30775. +case $enableval in
  30776. yes) enable_static=yes ;;
  30777. no) enable_static=no ;;
  30778. *)
  30779. @@ -1252,7 +1487,7 @@
  30780. if test "${enable_fast_install+set}" = set; then
  30781. enableval="$enable_fast_install"
  30782. p=${PACKAGE-default}
  30783. -case "$enableval" in
  30784. +case $enableval in
  30785. yes) enable_fast_install=yes ;;
  30786. no) enable_fast_install=no ;;
  30787. *)
  30788. @@ -1278,7 +1513,7 @@
  30789. fi
  30790. echo $ac_n "checking host system type""... $ac_c" 1>&6
  30791. -echo "configure:1282: checking host system type" >&5
  30792. +echo "configure:1517: checking host system type" >&5
  30793. host_alias=$host
  30794. case "$host_alias" in
  30795. @@ -1299,7 +1534,7 @@
  30796. echo "$ac_t""$host" 1>&6
  30797. echo $ac_n "checking build system type""... $ac_c" 1>&6
  30798. -echo "configure:1303: checking build system type" >&5
  30799. +echo "configure:1538: checking build system type" >&5
  30800. build_alias=$build
  30801. case "$build_alias" in
  30802. @@ -1316,36 +1551,6 @@
  30803. build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
  30804. echo "$ac_t""$build" 1>&6
  30805. -# Extract the first word of "ranlib", so it can be a program name with args.
  30806. -set dummy ranlib; ac_word=$2
  30807. -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  30808. -echo "configure:1323: checking for $ac_word" >&5
  30809. -if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
  30810. - echo $ac_n "(cached) $ac_c" 1>&6
  30811. -else
  30812. - if test -n "$RANLIB"; then
  30813. - ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
  30814. -else
  30815. - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
  30816. - ac_dummy="$PATH"
  30817. - for ac_dir in $ac_dummy; do
  30818. - test -z "$ac_dir" && ac_dir=.
  30819. - if test -f $ac_dir/$ac_word; then
  30820. - ac_cv_prog_RANLIB="ranlib"
  30821. - break
  30822. - fi
  30823. - done
  30824. - IFS="$ac_save_ifs"
  30825. - test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
  30826. -fi
  30827. -fi
  30828. -RANLIB="$ac_cv_prog_RANLIB"
  30829. -if test -n "$RANLIB"; then
  30830. - echo "$ac_t""$RANLIB" 1>&6
  30831. -else
  30832. - echo "$ac_t""no" 1>&6
  30833. -fi
  30834. -
  30835. # Check whether --with-gnu-ld or --without-gnu-ld was given.
  30836. if test "${with_gnu_ld+set}" = set; then
  30837. withval="$with_gnu_ld"
  30838. @@ -1355,12 +1560,18 @@
  30839. fi
  30840. ac_prog=ld
  30841. -if test "$ac_cv_prog_gcc" = yes; then
  30842. +if test "$GCC" = yes; then
  30843. # Check if gcc -print-prog-name=ld gives a path.
  30844. echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
  30845. -echo "configure:1362: checking for ld used by GCC" >&5
  30846. - ac_prog=`($CC -print-prog-name=ld) 2>&5`
  30847. - case "$ac_prog" in
  30848. +echo "configure:1567: checking for ld used by GCC" >&5
  30849. + case $host in
  30850. + *-*-mingw*)
  30851. + # gcc leaves a trailing carriage return which upsets mingw
  30852. + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
  30853. + *)
  30854. + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
  30855. + esac
  30856. + case $ac_prog in
  30857. # Accept absolute paths.
  30858. [\\/]* | [A-Za-z]:[\\/]*)
  30859. re_direlt='/[^/][^/]*/\.\./'
  30860. @@ -1382,24 +1593,24 @@
  30861. esac
  30862. elif test "$with_gnu_ld" = yes; then
  30863. echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
  30864. -echo "configure:1386: checking for GNU ld" >&5
  30865. +echo "configure:1597: checking for GNU ld" >&5
  30866. else
  30867. echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
  30868. -echo "configure:1389: checking for non-GNU ld" >&5
  30869. +echo "configure:1600: checking for non-GNU ld" >&5
  30870. fi
  30871. -if eval "test \"`echo '$''{'ac_cv_path_LD'+set}'`\" = set"; then
  30872. +if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then
  30873. echo $ac_n "(cached) $ac_c" 1>&6
  30874. else
  30875. if test -z "$LD"; then
  30876. - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
  30877. + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  30878. for ac_dir in $PATH; do
  30879. test -z "$ac_dir" && ac_dir=.
  30880. if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
  30881. - ac_cv_path_LD="$ac_dir/$ac_prog"
  30882. + lt_cv_path_LD="$ac_dir/$ac_prog"
  30883. # Check to see if the program is GNU ld. I'd rather use --version,
  30884. # but apparently some GNU ld's only accept -v.
  30885. # Break only if it was the GNU/non-GNU ld that we prefer.
  30886. - if "$ac_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
  30887. + if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
  30888. test "$with_gnu_ld" != no && break
  30889. else
  30890. test "$with_gnu_ld" != yes && break
  30891. @@ -1408,281 +1619,3938 @@
  30892. done
  30893. IFS="$ac_save_ifs"
  30894. else
  30895. - ac_cv_path_LD="$LD" # Let the user override the test with a path.
  30896. + lt_cv_path_LD="$LD" # Let the user override the test with a path.
  30897. +fi
  30898. +fi
  30899. +
  30900. +LD="$lt_cv_path_LD"
  30901. +if test -n "$LD"; then
  30902. + echo "$ac_t""$LD" 1>&6
  30903. +else
  30904. + echo "$ac_t""no" 1>&6
  30905. +fi
  30906. +test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
  30907. +echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6
  30908. +echo "configure:1635: checking if the linker ($LD) is GNU ld" >&5
  30909. +if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then
  30910. + echo $ac_n "(cached) $ac_c" 1>&6
  30911. +else
  30912. + # I'd rather use --version here, but apparently some GNU ld's only accept -v.
  30913. +if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
  30914. + lt_cv_prog_gnu_ld=yes
  30915. +else
  30916. + lt_cv_prog_gnu_ld=no
  30917. +fi
  30918. +fi
  30919. +
  30920. +echo "$ac_t""$lt_cv_prog_gnu_ld" 1>&6
  30921. +with_gnu_ld=$lt_cv_prog_gnu_ld
  30922. +
  30923. +
  30924. +echo $ac_n "checking for $LD option to reload object files""... $ac_c" 1>&6
  30925. +echo "configure:1652: checking for $LD option to reload object files" >&5
  30926. +if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then
  30927. + echo $ac_n "(cached) $ac_c" 1>&6
  30928. +else
  30929. + lt_cv_ld_reload_flag='-r'
  30930. +fi
  30931. +
  30932. +echo "$ac_t""$lt_cv_ld_reload_flag" 1>&6
  30933. +reload_flag=$lt_cv_ld_reload_flag
  30934. +test -n "$reload_flag" && reload_flag=" $reload_flag"
  30935. +
  30936. +echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
  30937. +echo "configure:1664: checking for BSD-compatible nm" >&5
  30938. +if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then
  30939. + echo $ac_n "(cached) $ac_c" 1>&6
  30940. +else
  30941. + if test -n "$NM"; then
  30942. + # Let the user override the test.
  30943. + lt_cv_path_NM="$NM"
  30944. +else
  30945. + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  30946. + for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
  30947. + test -z "$ac_dir" && ac_dir=.
  30948. + tmp_nm=$ac_dir/${ac_tool_prefix}nm
  30949. + if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
  30950. + # Check to see if the nm accepts a BSD-compat flag.
  30951. + # Adding the `sed 1q' prevents false positives on HP-UX, which says:
  30952. + # nm: unknown option "B" ignored
  30953. + # Tru64's nm complains that /dev/null is an invalid object file
  30954. + if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
  30955. + lt_cv_path_NM="$tmp_nm -B"
  30956. + break
  30957. + elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
  30958. + lt_cv_path_NM="$tmp_nm -p"
  30959. + break
  30960. + else
  30961. + lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
  30962. + continue # so that we can try to find one that supports BSD flags
  30963. + fi
  30964. + fi
  30965. + done
  30966. + IFS="$ac_save_ifs"
  30967. + test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
  30968. +fi
  30969. +fi
  30970. +
  30971. +NM="$lt_cv_path_NM"
  30972. +echo "$ac_t""$NM" 1>&6
  30973. +
  30974. +echo $ac_n "checking for a sed that does not truncate output""... $ac_c" 1>&6
  30975. +echo "configure:1702: checking for a sed that does not truncate output" >&5
  30976. +if eval "test \"`echo '$''{'lt_cv_path_SED'+set}'`\" = set"; then
  30977. + echo $ac_n "(cached) $ac_c" 1>&6
  30978. +else
  30979. + # Loop through the user's path and test for sed and gsed.
  30980. +# Then use that list of sed's as ones to test for truncation.
  30981. +as_executable_p="test -f"
  30982. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  30983. +for as_dir in $PATH
  30984. +do
  30985. + IFS=$as_save_IFS
  30986. + test -z "$as_dir" && as_dir=.
  30987. + for ac_prog in sed gsed; do
  30988. + for ac_exec_ext in '' $ac_executable_extensions; do
  30989. + if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
  30990. + _sed_list="$_sed_list $as_dir/$ac_prog$ac_exec_ext"
  30991. + fi
  30992. + done
  30993. + done
  30994. +done
  30995. +
  30996. + # Create a temporary directory, and hook for its removal unless debugging.
  30997. +$debug ||
  30998. +{
  30999. + trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
  31000. + trap '{ (exit 1); exit 1; }' 1 2 13 15
  31001. +}
  31002. +
  31003. +# Create a (secure) tmp directory for tmp files.
  31004. +: ${TMPDIR=/tmp}
  31005. +{
  31006. + tmp=`(umask 077 && mktemp -d -q "$TMPDIR/sedXXXXXX") 2>/dev/null` &&
  31007. + test -n "$tmp" && test -d "$tmp"
  31008. +} ||
  31009. +{
  31010. + tmp=$TMPDIR/sed$$-$RANDOM
  31011. + (umask 077 && mkdir $tmp)
  31012. +} ||
  31013. +{
  31014. + echo "$me: cannot create a temporary directory in $TMPDIR" >&2
  31015. + { (exit 1); exit 1; }
  31016. +}
  31017. + _max=0
  31018. + _count=0
  31019. + # Add /usr/xpg4/bin/sed as it is typically found on Solaris
  31020. + # along with /bin/sed that truncates output.
  31021. + for _sed in $_sed_list /usr/xpg4/bin/sed; do
  31022. + test ! -f ${_sed} && break
  31023. + cat /dev/null > "$tmp/sed.in"
  31024. + _count=0
  31025. + echo ${ECHO_N-$ac_n} "0123456789${ECHO_C-$ac_c}" >"$tmp/sed.in"
  31026. + # Check for GNU sed and select it if it is found.
  31027. + if "${_sed}" --version 2>&1 < /dev/null | egrep '(GNU)' > /dev/null; then
  31028. + lt_cv_path_SED=${_sed}
  31029. + break
  31030. + fi
  31031. + while true; do
  31032. + cat "$tmp/sed.in" "$tmp/sed.in" >"$tmp/sed.tmp"
  31033. + mv "$tmp/sed.tmp" "$tmp/sed.in"
  31034. + cp "$tmp/sed.in" "$tmp/sed.nl"
  31035. + echo >>"$tmp/sed.nl"
  31036. + ${_sed} -e 's/a$//' < "$tmp/sed.nl" >"$tmp/sed.out" || break
  31037. + cmp -s "$tmp/sed.out" "$tmp/sed.nl" || break
  31038. + # 40000 chars as input seems more than enough
  31039. + test $_count -gt 10 && break
  31040. + _count=`expr $_count + 1`
  31041. + if test $_count -gt $_max; then
  31042. + _max=$_count
  31043. + lt_cv_path_SED=$_sed
  31044. + fi
  31045. + done
  31046. + done
  31047. + rm -rf "$tmp"
  31048. +
  31049. +fi
  31050. +
  31051. +if test "X$SED" != "X"; then
  31052. + lt_cv_path_SED=$SED
  31053. +else
  31054. + SED=$lt_cv_path_SED
  31055. +fi
  31056. +echo "$ac_t""$SED" 1>&6
  31057. +
  31058. +echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
  31059. +echo "configure:1786: checking whether ln -s works" >&5
  31060. +if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
  31061. + echo $ac_n "(cached) $ac_c" 1>&6
  31062. +else
  31063. + rm -f conftestdata
  31064. +if ln -s X conftestdata 2>/dev/null
  31065. +then
  31066. + rm -f conftestdata
  31067. + ac_cv_prog_LN_S="ln -s"
  31068. +else
  31069. + ac_cv_prog_LN_S=ln
  31070. fi
  31071. fi
  31072. +LN_S="$ac_cv_prog_LN_S"
  31073. +if test "$ac_cv_prog_LN_S" = "ln -s"; then
  31074. + echo "$ac_t""yes" 1>&6
  31075. +else
  31076. + echo "$ac_t""no" 1>&6
  31077. +fi
  31078. +
  31079. +echo $ac_n "checking how to recognise dependent libraries""... $ac_c" 1>&6
  31080. +echo "configure:1807: checking how to recognise dependent libraries" >&5
  31081. +if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then
  31082. + echo $ac_n "(cached) $ac_c" 1>&6
  31083. +else
  31084. + lt_cv_file_magic_cmd='$MAGIC_CMD'
  31085. +lt_cv_file_magic_test_file=
  31086. +lt_cv_deplibs_check_method='unknown'
  31087. +# Need to set the preceding variable on all platforms that support
  31088. +# interlibrary dependencies.
  31089. +# 'none' -- dependencies not supported.
  31090. +# `unknown' -- same as none, but documents that we really don't know.
  31091. +# 'pass_all' -- all dependencies passed with no checks.
  31092. +# 'test_compile' -- check by making test program.
  31093. +# 'file_magic [[regex]]' -- check by looking for files in library path
  31094. +# which responds to the $file_magic_cmd with a given egrep regex.
  31095. +# If you have `file' or equivalent on your system and you're not sure
  31096. +# whether `pass_all' will *always* work, you probably want this one.
  31097. +
  31098. +case $host_os in
  31099. +aix4* | aix5*)
  31100. + lt_cv_deplibs_check_method=pass_all
  31101. + ;;
  31102. +
  31103. +beos*)
  31104. + lt_cv_deplibs_check_method=pass_all
  31105. + ;;
  31106. +
  31107. +bsdi4*)
  31108. + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
  31109. + lt_cv_file_magic_cmd='/usr/bin/file -L'
  31110. + lt_cv_file_magic_test_file=/shlib/libc.so
  31111. + ;;
  31112. +
  31113. +cygwin* | mingw* | pw32*)
  31114. + lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
  31115. + lt_cv_file_magic_cmd='$OBJDUMP -f'
  31116. + ;;
  31117. +
  31118. +darwin* | rhapsody*)
  31119. + lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
  31120. + lt_cv_file_magic_cmd='/usr/bin/file -L'
  31121. + case "$host_os" in
  31122. + rhapsody* | darwin1.[012])
  31123. + lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -1`
  31124. + ;;
  31125. + *) # Darwin 1.3 on
  31126. + lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
  31127. + ;;
  31128. + esac
  31129. + ;;
  31130. +
  31131. +freebsd*)
  31132. + if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
  31133. + case $host_cpu in
  31134. + i*86 )
  31135. + # Not sure whether the presence of OpenBSD here was a mistake.
  31136. + # Let's accept both of them until this is cleared up.
  31137. + lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
  31138. + lt_cv_file_magic_cmd=/usr/bin/file
  31139. + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
  31140. + ;;
  31141. + esac
  31142. + else
  31143. + lt_cv_deplibs_check_method=pass_all
  31144. + fi
  31145. + ;;
  31146. +
  31147. +gnu*)
  31148. + lt_cv_deplibs_check_method=pass_all
  31149. + ;;
  31150. +
  31151. +hpux10.20*|hpux11*)
  31152. + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
  31153. + lt_cv_file_magic_cmd=/usr/bin/file
  31154. + lt_cv_file_magic_test_file=/usr/lib/libc.sl
  31155. + ;;
  31156. +
  31157. +irix5* | irix6* | nonstopux*)
  31158. + case $host_os in
  31159. + irix5* | nonstopux*)
  31160. + # this will be overridden with pass_all, but let us keep it just in case
  31161. + lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
  31162. + ;;
  31163. + *)
  31164. + case $LD in
  31165. + *-32|*"-32 ") libmagic=32-bit;;
  31166. + *-n32|*"-n32 ") libmagic=N32;;
  31167. + *-64|*"-64 ") libmagic=64-bit;;
  31168. + *) libmagic=never-match;;
  31169. + esac
  31170. + # this will be overridden with pass_all, but let us keep it just in case
  31171. + lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
  31172. + ;;
  31173. + esac
  31174. + lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
  31175. + lt_cv_deplibs_check_method=pass_all
  31176. + ;;
  31177. +
  31178. +# This must be Linux ELF.
  31179. +linux-gnu*)
  31180. + case $host_cpu in
  31181. + alpha* | hppa* | i*86 | mips | mipsel | powerpc* | sparc* | ia64* | arm* | m68k)
  31182. + lt_cv_deplibs_check_method=pass_all ;;
  31183. + *)
  31184. + # glibc up to 2.1.1 does not perform some relocations on ARM
  31185. + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
  31186. + esac
  31187. + lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
  31188. + ;;
  31189. +
  31190. +netbsd*)
  31191. + if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
  31192. + lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
  31193. + else
  31194. + lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
  31195. + fi
  31196. + ;;
  31197. +
  31198. +newos6*)
  31199. + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
  31200. + lt_cv_file_magic_cmd=/usr/bin/file
  31201. + lt_cv_file_magic_test_file=/usr/lib/libnls.so
  31202. + ;;
  31203. +
  31204. +openbsd*)
  31205. + lt_cv_file_magic_cmd=/usr/bin/file
  31206. + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
  31207. + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  31208. + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
  31209. + else
  31210. + lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
  31211. + fi
  31212. + ;;
  31213. +
  31214. +osf3* | osf4* | osf5*)
  31215. + # this will be overridden with pass_all, but let us keep it just in case
  31216. + lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
  31217. + lt_cv_file_magic_test_file=/shlib/libc.so
  31218. + lt_cv_deplibs_check_method=pass_all
  31219. + ;;
  31220. +
  31221. +sco3.2v5*)
  31222. + lt_cv_deplibs_check_method=pass_all
  31223. + ;;
  31224. +
  31225. +solaris*)
  31226. + lt_cv_deplibs_check_method=pass_all
  31227. + lt_cv_file_magic_test_file=/lib/libc.so
  31228. + ;;
  31229. +
  31230. +sysv5uw[78]* | sysv4*uw2*)
  31231. + lt_cv_deplibs_check_method=pass_all
  31232. + ;;
  31233. +
  31234. +sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
  31235. + case $host_vendor in
  31236. + motorola)
  31237. + 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]'
  31238. + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
  31239. + ;;
  31240. + ncr)
  31241. + lt_cv_deplibs_check_method=pass_all
  31242. + ;;
  31243. + sequent)
  31244. + lt_cv_file_magic_cmd='/bin/file'
  31245. + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
  31246. + ;;
  31247. + sni)
  31248. + lt_cv_file_magic_cmd='/bin/file'
  31249. + lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
  31250. + lt_cv_file_magic_test_file=/lib/libc.so
  31251. + ;;
  31252. + siemens)
  31253. + lt_cv_deplibs_check_method=pass_all
  31254. + ;;
  31255. + esac
  31256. + ;;
  31257. +esac
  31258. +
  31259. +fi
  31260. +
  31261. +echo "$ac_t""$lt_cv_deplibs_check_method" 1>&6
  31262. +file_magic_cmd=$lt_cv_file_magic_cmd
  31263. +deplibs_check_method=$lt_cv_deplibs_check_method
  31264. +
  31265. +echo $ac_n "checking for object suffix""... $ac_c" 1>&6
  31266. +echo "configure:1993: checking for object suffix" >&5
  31267. +if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then
  31268. + echo $ac_n "(cached) $ac_c" 1>&6
  31269. +else
  31270. + rm -f conftest*
  31271. +echo 'int i = 1;' > conftest.$ac_ext
  31272. +if { (eval echo configure:1999: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  31273. + for ac_file in conftest.*; do
  31274. + case $ac_file in
  31275. + *.c) ;;
  31276. + *) ac_cv_objext=`echo $ac_file | sed -e s/conftest.//` ;;
  31277. + esac
  31278. + done
  31279. +else
  31280. + { echo "configure: error: installation or configuration problem; compiler does not work" 1>&2; exit 1; }
  31281. +fi
  31282. +rm -f conftest*
  31283. +fi
  31284. +
  31285. +echo "$ac_t""$ac_cv_objext" 1>&6
  31286. +OBJEXT=$ac_cv_objext
  31287. +ac_objext=$ac_cv_objext
  31288. +
  31289. +
  31290. +
  31291. +echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
  31292. +echo "configure:2019: checking for executable suffix" >&5
  31293. +if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
  31294. + echo $ac_n "(cached) $ac_c" 1>&6
  31295. +else
  31296. + if test "$CYGWIN" = yes || test "$MINGW32" = yes; then
  31297. + ac_cv_exeext=.exe
  31298. +else
  31299. + rm -f conftest*
  31300. + echo 'int main () { return 0; }' > conftest.$ac_ext
  31301. + ac_cv_exeext=
  31302. + if { (eval echo configure:2029: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  31303. + for file in conftest.*; do
  31304. + case $file in
  31305. + *.$ac_ext | *.c | *.o | *.obj) ;;
  31306. + *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;
  31307. + esac
  31308. + done
  31309. + else
  31310. + { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; }
  31311. + fi
  31312. + rm -f conftest*
  31313. + test x"${ac_cv_exeext}" = x && ac_cv_exeext=no
  31314. +fi
  31315. +fi
  31316. +
  31317. +EXEEXT=""
  31318. +test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext}
  31319. +echo "$ac_t""${ac_cv_exeext}" 1>&6
  31320. +ac_exeext=$EXEEXT
  31321. +
  31322. +if test $host != $build; then
  31323. + ac_tool_prefix=${host_alias}-
  31324. +else
  31325. + ac_tool_prefix=
  31326. +fi
  31327. +
  31328. +
  31329. +
  31330. +
  31331. +# Check for command to grab the raw symbol name followed by C symbol from nm.
  31332. +echo $ac_n "checking command to parse $NM output""... $ac_c" 1>&6
  31333. +echo "configure:2060: checking command to parse $NM output" >&5
  31334. +if eval "test \"`echo '$''{'lt_cv_sys_global_symbol_pipe'+set}'`\" = set"; then
  31335. + echo $ac_n "(cached) $ac_c" 1>&6
  31336. +else
  31337. +
  31338. +# These are sane defaults that work on at least a few old systems.
  31339. +# [They come from Ultrix. What could be older than Ultrix?!! ;)]
  31340. +
  31341. +# Character class describing NM global symbol codes.
  31342. +symcode='[BCDEGRST]'
  31343. +
  31344. +# Regexp to match symbols that can be accessed directly from C.
  31345. +sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
  31346. +
  31347. +# Transform the above into a raw symbol and a C symbol.
  31348. +symxfrm='\1 \2\3 \3'
  31349. +
  31350. +# Transform an extracted symbol line into a proper C declaration
  31351. +lt_cv_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern char \1;/p'"
  31352. +
  31353. +# Transform an extracted symbol line into symbol name and symbol address
  31354. +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'"
  31355. +
  31356. +# Define system-specific variables.
  31357. +case $host_os in
  31358. +aix*)
  31359. + symcode='[BCDT]'
  31360. + ;;
  31361. +cygwin* | mingw* | pw32*)
  31362. + symcode='[ABCDGISTW]'
  31363. + ;;
  31364. +hpux*) # Its linker distinguishes data from code symbols
  31365. + lt_cv_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern char \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
  31366. + 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'"
  31367. + ;;
  31368. +irix* | nonstopux*)
  31369. + symcode='[BCDEGRST]'
  31370. + ;;
  31371. +osf*)
  31372. + symcode='[BCDEGQRST]'
  31373. + ;;
  31374. +solaris* | sysv5*)
  31375. + symcode='[BDT]'
  31376. + ;;
  31377. +sysv4)
  31378. + symcode='[DFNSTU]'
  31379. + ;;
  31380. +esac
  31381. +
  31382. +# Handle CRLF in mingw tool chain
  31383. +opt_cr=
  31384. +case $host_os in
  31385. +mingw*)
  31386. + opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
  31387. + ;;
  31388. +esac
  31389. +
  31390. +# If we're using GNU nm, then use its standard symbol codes.
  31391. +if $NM -V 2>&1 | egrep '(GNU|with BFD)' > /dev/null; then
  31392. + symcode='[ABCDGISTW]'
  31393. +fi
  31394. +
  31395. +# Try without a prefix undercore, then with it.
  31396. +for ac_symprfx in "" "_"; do
  31397. +
  31398. + # Write the raw and C identifiers.
  31399. +lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
  31400. +
  31401. + # Check to see that the pipe works correctly.
  31402. + pipe_works=no
  31403. + rm -f conftest*
  31404. + cat > conftest.$ac_ext <<EOF
  31405. +#ifdef __cplusplus
  31406. +extern "C" {
  31407. +#endif
  31408. +char nm_test_var;
  31409. +void nm_test_func(){}
  31410. +#ifdef __cplusplus
  31411. +}
  31412. +#endif
  31413. +int main(){nm_test_var='a';nm_test_func();return(0);}
  31414. +EOF
  31415. +
  31416. + if { (eval echo configure:2143: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  31417. + # Now try to grab the symbols.
  31418. + nlist=conftest.nm
  31419. + 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
  31420. + # Try sorting and uniquifying the output.
  31421. + if sort "$nlist" | uniq > "$nlist"T; then
  31422. + mv -f "$nlist"T "$nlist"
  31423. + else
  31424. + rm -f "$nlist"T
  31425. + fi
  31426. +
  31427. + # Make sure that we snagged all the symbols we need.
  31428. + if egrep ' nm_test_var$' "$nlist" >/dev/null; then
  31429. + if egrep ' nm_test_func$' "$nlist" >/dev/null; then
  31430. + cat <<EOF > conftest.$ac_ext
  31431. +#ifdef __cplusplus
  31432. +extern "C" {
  31433. +#endif
  31434. +
  31435. +EOF
  31436. + # Now generate the symbol file.
  31437. + eval "$lt_cv_global_symbol_to_cdecl"' < "$nlist" >> conftest.$ac_ext'
  31438. +
  31439. + cat <<EOF >> conftest.$ac_ext
  31440. +#if defined (__STDC__) && __STDC__
  31441. +# define lt_ptr void *
  31442. +#else
  31443. +# define lt_ptr char *
  31444. +# define const
  31445. +#endif
  31446. +
  31447. +/* The mapping between symbol names and symbols. */
  31448. +const struct {
  31449. + const char *name;
  31450. + lt_ptr address;
  31451. +}
  31452. +lt_preloaded_symbols[] =
  31453. +{
  31454. +EOF
  31455. + sed "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr) \&\2},/" < "$nlist" >> conftest.$ac_ext
  31456. + cat <<\EOF >> conftest.$ac_ext
  31457. + {0, (lt_ptr) 0}
  31458. +};
  31459. +
  31460. +#ifdef __cplusplus
  31461. +}
  31462. +#endif
  31463. +EOF
  31464. + # Now try linking the two files.
  31465. + mv conftest.$ac_objext conftstm.$ac_objext
  31466. + save_LIBS="$LIBS"
  31467. + save_CFLAGS="$CFLAGS"
  31468. + LIBS="conftstm.$ac_objext"
  31469. + CFLAGS="$CFLAGS$no_builtin_flag"
  31470. + if { (eval echo configure:2197: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
  31471. + pipe_works=yes
  31472. + fi
  31473. + LIBS="$save_LIBS"
  31474. + CFLAGS="$save_CFLAGS"
  31475. + else
  31476. + echo "cannot find nm_test_func in $nlist" >&5
  31477. + fi
  31478. + else
  31479. + echo "cannot find nm_test_var in $nlist" >&5
  31480. + fi
  31481. + else
  31482. + echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
  31483. + fi
  31484. + else
  31485. + echo "$progname: failed program was:" >&5
  31486. + cat conftest.$ac_ext >&5
  31487. + fi
  31488. + rm -f conftest* conftst*
  31489. +
  31490. + # Do not use the global_symbol_pipe unless it works.
  31491. + if test "$pipe_works" = yes; then
  31492. + break
  31493. + else
  31494. + lt_cv_sys_global_symbol_pipe=
  31495. + fi
  31496. +done
  31497. +
  31498. +fi
  31499. +
  31500. +global_symbol_pipe="$lt_cv_sys_global_symbol_pipe"
  31501. +if test -z "$lt_cv_sys_global_symbol_pipe"; then
  31502. + global_symbol_to_cdecl=
  31503. + global_symbol_to_c_name_address=
  31504. +else
  31505. + global_symbol_to_cdecl="$lt_cv_global_symbol_to_cdecl"
  31506. + global_symbol_to_c_name_address="$lt_cv_global_symbol_to_c_name_address"
  31507. +fi
  31508. +if test -z "$global_symbol_pipe$global_symbol_to_cdec$global_symbol_to_c_name_address";
  31509. +then
  31510. + echo "$ac_t""failed" 1>&6
  31511. +else
  31512. + echo "$ac_t""ok" 1>&6
  31513. +fi
  31514. +
  31515. +for ac_hdr in dlfcn.h
  31516. +do
  31517. +ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
  31518. +echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
  31519. +echo "configure:2246: checking for $ac_hdr" >&5
  31520. +if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  31521. + echo $ac_n "(cached) $ac_c" 1>&6
  31522. +else
  31523. + cat > conftest.$ac_ext <<EOF
  31524. +#line 2251 "configure"
  31525. +#include "confdefs.h"
  31526. +#include <$ac_hdr>
  31527. +EOF
  31528. +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  31529. +{ (eval echo configure:2256: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  31530. +ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  31531. +if test -z "$ac_err"; then
  31532. + rm -rf conftest*
  31533. + eval "ac_cv_header_$ac_safe=yes"
  31534. +else
  31535. + echo "$ac_err" >&5
  31536. + echo "configure: failed program was:" >&5
  31537. + cat conftest.$ac_ext >&5
  31538. + rm -rf conftest*
  31539. + eval "ac_cv_header_$ac_safe=no"
  31540. +fi
  31541. +rm -f conftest*
  31542. +fi
  31543. +if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
  31544. + echo "$ac_t""yes" 1>&6
  31545. + ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
  31546. + cat >> confdefs.h <<EOF
  31547. +#define $ac_tr_hdr 1
  31548. +EOF
  31549. +
  31550. +else
  31551. + echo "$ac_t""no" 1>&6
  31552. +fi
  31553. +done
  31554. +
  31555. +
  31556. +
  31557. +
  31558. +
  31559. +
  31560. +# Only perform the check for file, if the check method requires it
  31561. +case $deplibs_check_method in
  31562. +file_magic*)
  31563. + if test "$file_magic_cmd" = '$MAGIC_CMD'; then
  31564. + echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6
  31565. +echo "configure:2292: checking for ${ac_tool_prefix}file" >&5
  31566. +if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
  31567. + echo $ac_n "(cached) $ac_c" 1>&6
  31568. +else
  31569. + case $MAGIC_CMD in
  31570. + /*)
  31571. + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
  31572. + ;;
  31573. + ?:/*)
  31574. + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
  31575. + ;;
  31576. + *)
  31577. + ac_save_MAGIC_CMD="$MAGIC_CMD"
  31578. + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
  31579. + ac_dummy="/usr/bin:$PATH"
  31580. + for ac_dir in $ac_dummy; do
  31581. + test -z "$ac_dir" && ac_dir=.
  31582. + if test -f $ac_dir/${ac_tool_prefix}file; then
  31583. + lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
  31584. + if test -n "$file_magic_test_file"; then
  31585. + case $deplibs_check_method in
  31586. + "file_magic "*)
  31587. + file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
  31588. + MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  31589. + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
  31590. + egrep "$file_magic_regex" > /dev/null; then
  31591. + :
  31592. + else
  31593. + cat <<EOF 1>&2
  31594. +
  31595. +*** Warning: the command libtool uses to detect shared libraries,
  31596. +*** $file_magic_cmd, produces output that libtool cannot recognize.
  31597. +*** The result is that libtool may fail to recognize shared libraries
  31598. +*** as such. This will affect the creation of libtool libraries that
  31599. +*** depend on shared libraries, but programs linked with such libtool
  31600. +*** libraries will work regardless of this problem. Nevertheless, you
  31601. +*** may want to report the problem to your system manager and/or to
  31602. +*** bug-libtool@gnu.org
  31603. +
  31604. +EOF
  31605. + fi ;;
  31606. + esac
  31607. + fi
  31608. + break
  31609. + fi
  31610. + done
  31611. + IFS="$ac_save_ifs"
  31612. + MAGIC_CMD="$ac_save_MAGIC_CMD"
  31613. + ;;
  31614. +esac
  31615. +fi
  31616. +
  31617. +MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  31618. +if test -n "$MAGIC_CMD"; then
  31619. + echo "$ac_t""$MAGIC_CMD" 1>&6
  31620. +else
  31621. + echo "$ac_t""no" 1>&6
  31622. +fi
  31623. +
  31624. +if test -z "$lt_cv_path_MAGIC_CMD"; then
  31625. + if test -n "$ac_tool_prefix"; then
  31626. + echo $ac_n "checking for file""... $ac_c" 1>&6
  31627. +echo "configure:2354: checking for file" >&5
  31628. +if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
  31629. + echo $ac_n "(cached) $ac_c" 1>&6
  31630. +else
  31631. + case $MAGIC_CMD in
  31632. + /*)
  31633. + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
  31634. + ;;
  31635. + ?:/*)
  31636. + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
  31637. + ;;
  31638. + *)
  31639. + ac_save_MAGIC_CMD="$MAGIC_CMD"
  31640. + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
  31641. + ac_dummy="/usr/bin:$PATH"
  31642. + for ac_dir in $ac_dummy; do
  31643. + test -z "$ac_dir" && ac_dir=.
  31644. + if test -f $ac_dir/file; then
  31645. + lt_cv_path_MAGIC_CMD="$ac_dir/file"
  31646. + if test -n "$file_magic_test_file"; then
  31647. + case $deplibs_check_method in
  31648. + "file_magic "*)
  31649. + file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
  31650. + MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  31651. + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
  31652. + egrep "$file_magic_regex" > /dev/null; then
  31653. + :
  31654. + else
  31655. + cat <<EOF 1>&2
  31656. +
  31657. +*** Warning: the command libtool uses to detect shared libraries,
  31658. +*** $file_magic_cmd, produces output that libtool cannot recognize.
  31659. +*** The result is that libtool may fail to recognize shared libraries
  31660. +*** as such. This will affect the creation of libtool libraries that
  31661. +*** depend on shared libraries, but programs linked with such libtool
  31662. +*** libraries will work regardless of this problem. Nevertheless, you
  31663. +*** may want to report the problem to your system manager and/or to
  31664. +*** bug-libtool@gnu.org
  31665. +
  31666. +EOF
  31667. + fi ;;
  31668. + esac
  31669. + fi
  31670. + break
  31671. + fi
  31672. + done
  31673. + IFS="$ac_save_ifs"
  31674. + MAGIC_CMD="$ac_save_MAGIC_CMD"
  31675. + ;;
  31676. +esac
  31677. +fi
  31678. +
  31679. +MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  31680. +if test -n "$MAGIC_CMD"; then
  31681. + echo "$ac_t""$MAGIC_CMD" 1>&6
  31682. +else
  31683. + echo "$ac_t""no" 1>&6
  31684. +fi
  31685. +
  31686. + else
  31687. + MAGIC_CMD=:
  31688. + fi
  31689. +fi
  31690. +
  31691. + fi
  31692. + ;;
  31693. +esac
  31694. +
  31695. +# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
  31696. +set dummy ${ac_tool_prefix}ranlib; ac_word=$2
  31697. +echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  31698. +echo "configure:2425: checking for $ac_word" >&5
  31699. +if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
  31700. + echo $ac_n "(cached) $ac_c" 1>&6
  31701. +else
  31702. + if test -n "$RANLIB"; then
  31703. + ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
  31704. +else
  31705. + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
  31706. + ac_dummy="$PATH"
  31707. + for ac_dir in $ac_dummy; do
  31708. + test -z "$ac_dir" && ac_dir=.
  31709. + if test -f $ac_dir/$ac_word; then
  31710. + ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
  31711. + break
  31712. + fi
  31713. + done
  31714. + IFS="$ac_save_ifs"
  31715. +fi
  31716. +fi
  31717. +RANLIB="$ac_cv_prog_RANLIB"
  31718. +if test -n "$RANLIB"; then
  31719. + echo "$ac_t""$RANLIB" 1>&6
  31720. +else
  31721. + echo "$ac_t""no" 1>&6
  31722. +fi
  31723. +
  31724. +
  31725. +if test -z "$ac_cv_prog_RANLIB"; then
  31726. +if test -n "$ac_tool_prefix"; then
  31727. + # Extract the first word of "ranlib", so it can be a program name with args.
  31728. +set dummy ranlib; ac_word=$2
  31729. +echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  31730. +echo "configure:2457: checking for $ac_word" >&5
  31731. +if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
  31732. + echo $ac_n "(cached) $ac_c" 1>&6
  31733. +else
  31734. + if test -n "$RANLIB"; then
  31735. + ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
  31736. +else
  31737. + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
  31738. + ac_dummy="$PATH"
  31739. + for ac_dir in $ac_dummy; do
  31740. + test -z "$ac_dir" && ac_dir=.
  31741. + if test -f $ac_dir/$ac_word; then
  31742. + ac_cv_prog_RANLIB="ranlib"
  31743. + break
  31744. + fi
  31745. + done
  31746. + IFS="$ac_save_ifs"
  31747. + test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
  31748. +fi
  31749. +fi
  31750. +RANLIB="$ac_cv_prog_RANLIB"
  31751. +if test -n "$RANLIB"; then
  31752. + echo "$ac_t""$RANLIB" 1>&6
  31753. +else
  31754. + echo "$ac_t""no" 1>&6
  31755. +fi
  31756. +
  31757. +else
  31758. + RANLIB=":"
  31759. +fi
  31760. +fi
  31761. +
  31762. +# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  31763. +set dummy ${ac_tool_prefix}strip; ac_word=$2
  31764. +echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  31765. +echo "configure:2492: checking for $ac_word" >&5
  31766. +if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
  31767. + echo $ac_n "(cached) $ac_c" 1>&6
  31768. +else
  31769. + if test -n "$STRIP"; then
  31770. + ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  31771. +else
  31772. + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
  31773. + ac_dummy="$PATH"
  31774. + for ac_dir in $ac_dummy; do
  31775. + test -z "$ac_dir" && ac_dir=.
  31776. + if test -f $ac_dir/$ac_word; then
  31777. + ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  31778. + break
  31779. + fi
  31780. + done
  31781. + IFS="$ac_save_ifs"
  31782. +fi
  31783. +fi
  31784. +STRIP="$ac_cv_prog_STRIP"
  31785. +if test -n "$STRIP"; then
  31786. + echo "$ac_t""$STRIP" 1>&6
  31787. +else
  31788. + echo "$ac_t""no" 1>&6
  31789. +fi
  31790. +
  31791. +
  31792. +if test -z "$ac_cv_prog_STRIP"; then
  31793. +if test -n "$ac_tool_prefix"; then
  31794. + # Extract the first word of "strip", so it can be a program name with args.
  31795. +set dummy strip; ac_word=$2
  31796. +echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  31797. +echo "configure:2524: checking for $ac_word" >&5
  31798. +if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
  31799. + echo $ac_n "(cached) $ac_c" 1>&6
  31800. +else
  31801. + if test -n "$STRIP"; then
  31802. + ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  31803. +else
  31804. + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
  31805. + ac_dummy="$PATH"
  31806. + for ac_dir in $ac_dummy; do
  31807. + test -z "$ac_dir" && ac_dir=.
  31808. + if test -f $ac_dir/$ac_word; then
  31809. + ac_cv_prog_STRIP="strip"
  31810. + break
  31811. + fi
  31812. + done
  31813. + IFS="$ac_save_ifs"
  31814. + test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP=":"
  31815. +fi
  31816. +fi
  31817. +STRIP="$ac_cv_prog_STRIP"
  31818. +if test -n "$STRIP"; then
  31819. + echo "$ac_t""$STRIP" 1>&6
  31820. +else
  31821. + echo "$ac_t""no" 1>&6
  31822. +fi
  31823. +
  31824. +else
  31825. + STRIP=":"
  31826. +fi
  31827. +fi
  31828. +
  31829. +
  31830. +enable_dlopen=no
  31831. +enable_win32_dll=no
  31832. +
  31833. +# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
  31834. +if test "${enable_libtool_lock+set}" = set; then
  31835. + enableval="$enable_libtool_lock"
  31836. + :
  31837. +fi
  31838. +
  31839. +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
  31840. +
  31841. +# Some flags need to be propagated to the compiler or linker for good
  31842. +# libtool support.
  31843. +case $host in
  31844. +*-*-irix6*)
  31845. + # Find out which ABI we are using.
  31846. + echo '#line 2573 "configure"' > conftest.$ac_ext
  31847. + if { (eval echo configure:2574: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  31848. + case `/usr/bin/file conftest.$ac_objext` in
  31849. + *32-bit*)
  31850. + LD="${LD-ld} -32"
  31851. + ;;
  31852. + *N32*)
  31853. + LD="${LD-ld} -n32"
  31854. + ;;
  31855. + *64-bit*)
  31856. + LD="${LD-ld} -64"
  31857. + ;;
  31858. + esac
  31859. + fi
  31860. + rm -rf conftest*
  31861. + ;;
  31862. +
  31863. +*-*-sco3.2v5*)
  31864. + # On SCO OpenServer 5, we need -belf to get full-featured binaries.
  31865. + SAVE_CFLAGS="$CFLAGS"
  31866. + CFLAGS="$CFLAGS -belf"
  31867. + echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
  31868. +echo "configure:2595: checking whether the C compiler needs -belf" >&5
  31869. +if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
  31870. + echo $ac_n "(cached) $ac_c" 1>&6
  31871. +else
  31872. +
  31873. + ac_ext=c
  31874. +# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
  31875. +ac_cpp='$CPP $CPPFLAGS'
  31876. +ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
  31877. +ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
  31878. +cross_compiling=$ac_cv_prog_cc_cross
  31879. +
  31880. + cat > conftest.$ac_ext <<EOF
  31881. +#line 2608 "configure"
  31882. +#include "confdefs.h"
  31883. +
  31884. +int main() {
  31885. +
  31886. +; return 0; }
  31887. +EOF
  31888. +if { (eval echo configure:2615: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  31889. + rm -rf conftest*
  31890. + lt_cv_cc_needs_belf=yes
  31891. +else
  31892. + echo "configure: failed program was:" >&5
  31893. + cat conftest.$ac_ext >&5
  31894. + rm -rf conftest*
  31895. + lt_cv_cc_needs_belf=no
  31896. +fi
  31897. +rm -f conftest*
  31898. + ac_ext=c
  31899. +# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
  31900. +ac_cpp='$CPP $CPPFLAGS'
  31901. +ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
  31902. +ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
  31903. +cross_compiling=$ac_cv_prog_cc_cross
  31904. +
  31905. +fi
  31906. +
  31907. +echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6
  31908. + if test x"$lt_cv_cc_needs_belf" != x"yes"; then
  31909. + # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
  31910. + CFLAGS="$SAVE_CFLAGS"
  31911. + fi
  31912. + ;;
  31913. +
  31914. +
  31915. +esac
  31916. +
  31917. +# Sed substitution that helps us do robust quoting. It backslashifies
  31918. +# metacharacters that are still active within double-quoted strings.
  31919. +Xsed='sed -e s/^X//'
  31920. +sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
  31921. +
  31922. +# Same as above, but do not quote variable references.
  31923. +double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
  31924. +
  31925. +# Sed substitution to delay expansion of an escaped shell variable in a
  31926. +# double_quote_subst'ed string.
  31927. +delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
  31928. +
  31929. +# Constants:
  31930. +rm="rm -f"
  31931. +
  31932. +# Global variables:
  31933. +default_ofile=libtool
  31934. +can_build_shared=yes
  31935. +
  31936. +# All known linkers require a `.a' archive for static linking (except M$VC,
  31937. +# which needs '.lib').
  31938. +libext=a
  31939. +ltmain="$ac_aux_dir/ltmain.sh"
  31940. +ofile="$default_ofile"
  31941. +with_gnu_ld="$lt_cv_prog_gnu_ld"
  31942. +need_locks="$enable_libtool_lock"
  31943. +
  31944. +old_CC="$CC"
  31945. +old_CFLAGS="$CFLAGS"
  31946. +
  31947. +# Set sane defaults for various variables
  31948. +test -z "$AR" && AR=ar
  31949. +test -z "$AR_FLAGS" && AR_FLAGS=cru
  31950. +test -z "$AS" && AS=as
  31951. +test -z "$CC" && CC=cc
  31952. +test -z "$DLLTOOL" && DLLTOOL=dlltool
  31953. +test -z "$LD" && LD=ld
  31954. +test -z "$LN_S" && LN_S="ln -s"
  31955. +test -z "$MAGIC_CMD" && MAGIC_CMD=file
  31956. +test -z "$NM" && NM=nm
  31957. +test -z "$OBJDUMP" && OBJDUMP=objdump
  31958. +test -z "$RANLIB" && RANLIB=:
  31959. +test -z "$STRIP" && STRIP=:
  31960. +test -z "$ac_objext" && ac_objext=o
  31961. +
  31962. +if test x"$host" != x"$build"; then
  31963. + ac_tool_prefix=${host_alias}-
  31964. +else
  31965. + ac_tool_prefix=
  31966. +fi
  31967. +
  31968. +# Transform linux* to *-*-linux-gnu*, to support old configure scripts.
  31969. +case $host_os in
  31970. +linux-gnu*) ;;
  31971. +linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'`
  31972. +esac
  31973. +
  31974. +case $host_os in
  31975. +aix3*)
  31976. + # AIX sometimes has problems with the GCC collect2 program. For some
  31977. + # reason, if we set the COLLECT_NAMES environment variable, the problems
  31978. + # vanish in a puff of smoke.
  31979. + if test "X${COLLECT_NAMES+set}" != Xset; then
  31980. + COLLECT_NAMES=
  31981. + export COLLECT_NAMES
  31982. + fi
  31983. + ;;
  31984. +esac
  31985. +
  31986. +# Determine commands to create old-style static archives.
  31987. +old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
  31988. +old_postinstall_cmds='chmod 644 $oldlib'
  31989. +old_postuninstall_cmds=
  31990. +
  31991. +if test -n "$RANLIB"; then
  31992. + case $host_os in
  31993. + openbsd*)
  31994. + old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
  31995. + ;;
  31996. + *)
  31997. + old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
  31998. + ;;
  31999. + esac
  32000. + old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
  32001. +fi
  32002. +
  32003. +# Allow CC to be a program name with arguments.
  32004. +set dummy $CC
  32005. +compiler="$2"
  32006. +
  32007. +echo $ac_n "checking for objdir""... $ac_c" 1>&6
  32008. +echo "configure:2735: checking for objdir" >&5
  32009. +rm -f .libs 2>/dev/null
  32010. +mkdir .libs 2>/dev/null
  32011. +if test -d .libs; then
  32012. + objdir=.libs
  32013. +else
  32014. + # MS-DOS does not allow filenames that begin with a dot.
  32015. + objdir=_libs
  32016. +fi
  32017. +rmdir .libs 2>/dev/null
  32018. +echo "$ac_t""$objdir" 1>&6
  32019. +
  32020. +
  32021. +# Check whether --with-pic or --without-pic was given.
  32022. +if test "${with_pic+set}" = set; then
  32023. + withval="$with_pic"
  32024. + pic_mode="$withval"
  32025. +else
  32026. + pic_mode=default
  32027. +fi
  32028. +
  32029. +test -z "$pic_mode" && pic_mode=default
  32030. +
  32031. +# We assume here that the value for lt_cv_prog_cc_pic will not be cached
  32032. +# in isolation, and that seeing it set (from the cache) indicates that
  32033. +# the associated values are set (in the cache) correctly too.
  32034. +echo $ac_n "checking for $compiler option to produce PIC""... $ac_c" 1>&6
  32035. +echo "configure:2762: checking for $compiler option to produce PIC" >&5
  32036. +if eval "test \"`echo '$''{'lt_cv_prog_cc_pic'+set}'`\" = set"; then
  32037. + echo $ac_n "(cached) $ac_c" 1>&6
  32038. +else
  32039. + lt_cv_prog_cc_pic=
  32040. + lt_cv_prog_cc_shlib=
  32041. + lt_cv_prog_cc_wl=
  32042. + lt_cv_prog_cc_static=
  32043. + lt_cv_prog_cc_no_builtin=
  32044. + lt_cv_prog_cc_can_build_shared=$can_build_shared
  32045. +
  32046. + if test "$GCC" = yes; then
  32047. + lt_cv_prog_cc_wl='-Wl,'
  32048. + lt_cv_prog_cc_static='-static'
  32049. +
  32050. + case $host_os in
  32051. + aix*)
  32052. + # Below there is a dirty hack to force normal static linking with -ldl
  32053. + # The problem is because libdl dynamically linked with both libc and
  32054. + # libC (AIX C++ library), which obviously doesn't included in libraries
  32055. + # list by gcc. This cause undefined symbols with -static flags.
  32056. + # This hack allows C programs to be linked with "-static -ldl", but
  32057. + # not sure about C++ programs.
  32058. + lt_cv_prog_cc_static="$lt_cv_prog_cc_static ${lt_cv_prog_cc_wl}-lC"
  32059. + ;;
  32060. + amigaos*)
  32061. + # FIXME: we need at least 68020 code to build shared libraries, but
  32062. + # adding the `-m68020' flag to GCC prevents building anything better,
  32063. + # like `-m68040'.
  32064. + lt_cv_prog_cc_pic='-m68020 -resident32 -malways-restore-a4'
  32065. + ;;
  32066. + beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
  32067. + # PIC is the default for these OSes.
  32068. + ;;
  32069. + darwin* | rhapsody*)
  32070. + # PIC is the default on this platform
  32071. + # Common symbols not allowed in MH_DYLIB files
  32072. + lt_cv_prog_cc_pic='-fno-common'
  32073. + ;;
  32074. + cygwin* | mingw* | pw32* | os2*)
  32075. + # This hack is so that the source file can tell whether it is being
  32076. + # built for inclusion in a dll (and should export symbols for example).
  32077. + lt_cv_prog_cc_pic='-DDLL_EXPORT'
  32078. + ;;
  32079. + sysv4*MP*)
  32080. + if test -d /usr/nec; then
  32081. + lt_cv_prog_cc_pic=-Kconform_pic
  32082. + fi
  32083. + ;;
  32084. + *)
  32085. + lt_cv_prog_cc_pic='-fPIC'
  32086. + ;;
  32087. + esac
  32088. + else
  32089. + # PORTME Check for PIC flags for the system compiler.
  32090. + case $host_os in
  32091. + aix3* | aix4* | aix5*)
  32092. + lt_cv_prog_cc_wl='-Wl,'
  32093. + # All AIX code is PIC.
  32094. + if test "$host_cpu" = ia64; then
  32095. + # AIX 5 now supports IA64 processor
  32096. + lt_cv_prog_cc_static='-Bstatic'
  32097. + else
  32098. + lt_cv_prog_cc_static='-bnso -bI:/lib/syscalls.exp'
  32099. + fi
  32100. + ;;
  32101. +
  32102. + hpux9* | hpux10* | hpux11*)
  32103. + # Is there a better lt_cv_prog_cc_static that works with the bundled CC?
  32104. + lt_cv_prog_cc_wl='-Wl,'
  32105. + lt_cv_prog_cc_static="${lt_cv_prog_cc_wl}-a ${lt_cv_prog_cc_wl}archive"
  32106. + lt_cv_prog_cc_pic='+Z'
  32107. + ;;
  32108. +
  32109. + irix5* | irix6* | nonstopux*)
  32110. + lt_cv_prog_cc_wl='-Wl,'
  32111. + lt_cv_prog_cc_static='-non_shared'
  32112. + # PIC (with -KPIC) is the default.
  32113. + ;;
  32114. +
  32115. + cygwin* | mingw* | pw32* | os2*)
  32116. + # This hack is so that the source file can tell whether it is being
  32117. + # built for inclusion in a dll (and should export symbols for example).
  32118. + lt_cv_prog_cc_pic='-DDLL_EXPORT'
  32119. + ;;
  32120. +
  32121. + newsos6)
  32122. + lt_cv_prog_cc_pic='-KPIC'
  32123. + lt_cv_prog_cc_static='-Bstatic'
  32124. + ;;
  32125. +
  32126. + osf3* | osf4* | osf5*)
  32127. + # All OSF/1 code is PIC.
  32128. + lt_cv_prog_cc_wl='-Wl,'
  32129. + lt_cv_prog_cc_static='-non_shared'
  32130. + ;;
  32131. +
  32132. + sco3.2v5*)
  32133. + lt_cv_prog_cc_pic='-Kpic'
  32134. + lt_cv_prog_cc_static='-dn'
  32135. + lt_cv_prog_cc_shlib='-belf'
  32136. + ;;
  32137. +
  32138. + solaris*)
  32139. + lt_cv_prog_cc_pic='-KPIC'
  32140. + lt_cv_prog_cc_static='-Bstatic'
  32141. + lt_cv_prog_cc_wl='-Wl,'
  32142. + ;;
  32143. +
  32144. + sunos4*)
  32145. + lt_cv_prog_cc_pic='-PIC'
  32146. + lt_cv_prog_cc_static='-Bstatic'
  32147. + lt_cv_prog_cc_wl='-Qoption ld '
  32148. + ;;
  32149. +
  32150. + sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
  32151. + lt_cv_prog_cc_pic='-KPIC'
  32152. + lt_cv_prog_cc_static='-Bstatic'
  32153. + lt_cv_prog_cc_wl='-Wl,'
  32154. + ;;
  32155. +
  32156. + uts4*)
  32157. + lt_cv_prog_cc_pic='-pic'
  32158. + lt_cv_prog_cc_static='-Bstatic'
  32159. + ;;
  32160. +
  32161. + sysv4*MP*)
  32162. + if test -d /usr/nec ;then
  32163. + lt_cv_prog_cc_pic='-Kconform_pic'
  32164. + lt_cv_prog_cc_static='-Bstatic'
  32165. + fi
  32166. + ;;
  32167. +
  32168. + *)
  32169. + lt_cv_prog_cc_can_build_shared=no
  32170. + ;;
  32171. + esac
  32172. + fi
  32173. +
  32174. +fi
  32175. +
  32176. +if test -z "$lt_cv_prog_cc_pic"; then
  32177. + echo "$ac_t""none" 1>&6
  32178. +else
  32179. + echo "$ac_t""$lt_cv_prog_cc_pic" 1>&6
  32180. +
  32181. + # Check to make sure the pic_flag actually works.
  32182. + echo $ac_n "checking if $compiler PIC flag $lt_cv_prog_cc_pic works""... $ac_c" 1>&6
  32183. +echo "configure:2910: checking if $compiler PIC flag $lt_cv_prog_cc_pic works" >&5
  32184. + if eval "test \"`echo '$''{'lt_cv_prog_cc_pic_works'+set}'`\" = set"; then
  32185. + echo $ac_n "(cached) $ac_c" 1>&6
  32186. +else
  32187. + save_CFLAGS="$CFLAGS"
  32188. + CFLAGS="$CFLAGS $lt_cv_prog_cc_pic -DPIC"
  32189. + cat > conftest.$ac_ext <<EOF
  32190. +#line 2917 "configure"
  32191. +#include "confdefs.h"
  32192. +
  32193. +int main() {
  32194. +
  32195. +; return 0; }
  32196. +EOF
  32197. +if { (eval echo configure:2924: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  32198. + rm -rf conftest*
  32199. + case $host_os in
  32200. + hpux9* | hpux10* | hpux11*)
  32201. + # On HP-UX, both CC and GCC only warn that PIC is supported... then
  32202. + # they create non-PIC objects. So, if there were any warnings, we
  32203. + # assume that PIC is not supported.
  32204. + if test -s conftest.err; then
  32205. + lt_cv_prog_cc_pic_works=no
  32206. + else
  32207. + lt_cv_prog_cc_pic_works=yes
  32208. + fi
  32209. + ;;
  32210. + *)
  32211. + lt_cv_prog_cc_pic_works=yes
  32212. + ;;
  32213. + esac
  32214. +
  32215. +else
  32216. + echo "configure: failed program was:" >&5
  32217. + cat conftest.$ac_ext >&5
  32218. + rm -rf conftest*
  32219. + lt_cv_prog_cc_pic_works=no
  32220. +
  32221. +fi
  32222. +rm -f conftest*
  32223. + CFLAGS="$save_CFLAGS"
  32224. +
  32225. +fi
  32226. +
  32227. +
  32228. + if test "X$lt_cv_prog_cc_pic_works" = Xno; then
  32229. + lt_cv_prog_cc_pic=
  32230. + lt_cv_prog_cc_can_build_shared=no
  32231. + else
  32232. + lt_cv_prog_cc_pic=" $lt_cv_prog_cc_pic"
  32233. + fi
  32234. +
  32235. + echo "$ac_t""$lt_cv_prog_cc_pic_works" 1>&6
  32236. +fi
  32237. +
  32238. +# Check for any special shared library compilation flags.
  32239. +if test -n "$lt_cv_prog_cc_shlib"; then
  32240. + echo "configure: warning: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" 1>&2
  32241. + if echo "$old_CC $old_CFLAGS " | egrep -e "[ ]$lt_cv_prog_cc_shlib[ ]" >/dev/null; then :
  32242. + else
  32243. + echo "configure: warning: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" 1>&2
  32244. + lt_cv_prog_cc_can_build_shared=no
  32245. + fi
  32246. +fi
  32247. +
  32248. +echo $ac_n "checking if $compiler static flag $lt_cv_prog_cc_static works""... $ac_c" 1>&6
  32249. +echo "configure:2976: checking if $compiler static flag $lt_cv_prog_cc_static works" >&5
  32250. +if eval "test \"`echo '$''{'lt_cv_prog_cc_static_works'+set}'`\" = set"; then
  32251. + echo $ac_n "(cached) $ac_c" 1>&6
  32252. +else
  32253. + lt_cv_prog_cc_static_works=no
  32254. + save_LDFLAGS="$LDFLAGS"
  32255. + LDFLAGS="$LDFLAGS $lt_cv_prog_cc_static"
  32256. + cat > conftest.$ac_ext <<EOF
  32257. +#line 2984 "configure"
  32258. +#include "confdefs.h"
  32259. +
  32260. +int main() {
  32261. +
  32262. +; return 0; }
  32263. +EOF
  32264. +if { (eval echo configure:2991: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  32265. + rm -rf conftest*
  32266. + lt_cv_prog_cc_static_works=yes
  32267. +else
  32268. + echo "configure: failed program was:" >&5
  32269. + cat conftest.$ac_ext >&5
  32270. +fi
  32271. +rm -f conftest*
  32272. + LDFLAGS="$save_LDFLAGS"
  32273. +
  32274. +fi
  32275. +
  32276. +
  32277. +# Belt *and* braces to stop my trousers falling down:
  32278. +test "X$lt_cv_prog_cc_static_works" = Xno && lt_cv_prog_cc_static=
  32279. +echo "$ac_t""$lt_cv_prog_cc_static_works" 1>&6
  32280. +
  32281. +pic_flag="$lt_cv_prog_cc_pic"
  32282. +special_shlib_compile_flags="$lt_cv_prog_cc_shlib"
  32283. +wl="$lt_cv_prog_cc_wl"
  32284. +link_static_flag="$lt_cv_prog_cc_static"
  32285. +no_builtin_flag="$lt_cv_prog_cc_no_builtin"
  32286. +can_build_shared="$lt_cv_prog_cc_can_build_shared"
  32287. +
  32288. +
  32289. +# Check to see if options -o and -c are simultaneously supported by compiler
  32290. +echo $ac_n "checking if $compiler supports -c -o file.$ac_objext""... $ac_c" 1>&6
  32291. +echo "configure:3018: checking if $compiler supports -c -o file.$ac_objext" >&5
  32292. +if eval "test \"`echo '$''{'lt_cv_compiler_c_o'+set}'`\" = set"; then
  32293. + echo $ac_n "(cached) $ac_c" 1>&6
  32294. +else
  32295. +
  32296. +$rm -r conftest 2>/dev/null
  32297. +mkdir conftest
  32298. +cd conftest
  32299. +echo "int some_variable = 0;" > conftest.$ac_ext
  32300. +mkdir out
  32301. +# According to Tom Tromey, Ian Lance Taylor reported there are C compilers
  32302. +# that will create temporary files in the current directory regardless of
  32303. +# the output directory. Thus, making CWD read-only will cause this test
  32304. +# to fail, enabling locking or at least warning the user not to do parallel
  32305. +# builds.
  32306. +chmod -w .
  32307. +save_CFLAGS="$CFLAGS"
  32308. +CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"
  32309. +compiler_c_o=no
  32310. +if { (eval echo configure:3037: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
  32311. + # The compiler can only warn and ignore the option if not recognized
  32312. + # So say no if there are warnings
  32313. + if test -s out/conftest.err; then
  32314. + lt_cv_compiler_c_o=no
  32315. + else
  32316. + lt_cv_compiler_c_o=yes
  32317. + fi
  32318. +else
  32319. + # Append any errors to the config.log.
  32320. + cat out/conftest.err 1>&5
  32321. + lt_cv_compiler_c_o=no
  32322. +fi
  32323. +CFLAGS="$save_CFLAGS"
  32324. +chmod u+w .
  32325. +$rm conftest* out/*
  32326. +rmdir out
  32327. +cd ..
  32328. +rmdir conftest
  32329. +$rm -r conftest 2>/dev/null
  32330. +
  32331. +fi
  32332. +
  32333. +compiler_c_o=$lt_cv_compiler_c_o
  32334. +echo "$ac_t""$compiler_c_o" 1>&6
  32335. +
  32336. +if test x"$compiler_c_o" = x"yes"; then
  32337. + # Check to see if we can write to a .lo
  32338. + echo $ac_n "checking if $compiler supports -c -o file.lo""... $ac_c" 1>&6
  32339. +echo "configure:3066: checking if $compiler supports -c -o file.lo" >&5
  32340. + if eval "test \"`echo '$''{'lt_cv_compiler_o_lo'+set}'`\" = set"; then
  32341. + echo $ac_n "(cached) $ac_c" 1>&6
  32342. +else
  32343. +
  32344. + lt_cv_compiler_o_lo=no
  32345. + save_CFLAGS="$CFLAGS"
  32346. + CFLAGS="$CFLAGS -c -o conftest.lo"
  32347. + save_objext="$ac_objext"
  32348. + ac_objext=lo
  32349. + cat > conftest.$ac_ext <<EOF
  32350. +#line 3077 "configure"
  32351. +#include "confdefs.h"
  32352. +
  32353. +int main() {
  32354. +int some_variable = 0;
  32355. +; return 0; }
  32356. +EOF
  32357. +if { (eval echo configure:3084: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  32358. + rm -rf conftest*
  32359. + # The compiler can only warn and ignore the option if not recognized
  32360. + # So say no if there are warnings
  32361. + if test -s conftest.err; then
  32362. + lt_cv_compiler_o_lo=no
  32363. + else
  32364. + lt_cv_compiler_o_lo=yes
  32365. + fi
  32366. +
  32367. +else
  32368. + echo "configure: failed program was:" >&5
  32369. + cat conftest.$ac_ext >&5
  32370. +fi
  32371. +rm -f conftest*
  32372. + ac_objext="$save_objext"
  32373. + CFLAGS="$save_CFLAGS"
  32374. +
  32375. +fi
  32376. +
  32377. + compiler_o_lo=$lt_cv_compiler_o_lo
  32378. + echo "$ac_t""$compiler_o_lo" 1>&6
  32379. +else
  32380. + compiler_o_lo=no
  32381. +fi
  32382. +
  32383. +# Check to see if we can do hard links to lock some files if needed
  32384. +hard_links="nottested"
  32385. +if test "$compiler_c_o" = no && test "$need_locks" != no; then
  32386. + # do not overwrite the value of need_locks provided by the user
  32387. + echo $ac_n "checking if we can lock with hard links""... $ac_c" 1>&6
  32388. +echo "configure:3115: checking if we can lock with hard links" >&5
  32389. + hard_links=yes
  32390. + $rm conftest*
  32391. + ln conftest.a conftest.b 2>/dev/null && hard_links=no
  32392. + touch conftest.a
  32393. + ln conftest.a conftest.b 2>&5 || hard_links=no
  32394. + ln conftest.a conftest.b 2>/dev/null && hard_links=no
  32395. + echo "$ac_t""$hard_links" 1>&6
  32396. + if test "$hard_links" = no; then
  32397. + echo "configure: warning: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" 1>&2
  32398. + need_locks=warn
  32399. + fi
  32400. +else
  32401. + need_locks=no
  32402. +fi
  32403. +
  32404. +if test "$GCC" = yes; then
  32405. + # Check to see if options -fno-rtti -fno-exceptions are supported by compiler
  32406. + echo $ac_n "checking if $compiler supports -fno-rtti -fno-exceptions""... $ac_c" 1>&6
  32407. +echo "configure:3134: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
  32408. + echo "int some_variable = 0;" > conftest.$ac_ext
  32409. + save_CFLAGS="$CFLAGS"
  32410. + CFLAGS="$CFLAGS -fno-rtti -fno-exceptions -c conftest.$ac_ext"
  32411. + compiler_rtti_exceptions=no
  32412. + cat > conftest.$ac_ext <<EOF
  32413. +#line 3140 "configure"
  32414. +#include "confdefs.h"
  32415. +
  32416. +int main() {
  32417. +int some_variable = 0;
  32418. +; return 0; }
  32419. +EOF
  32420. +if { (eval echo configure:3147: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  32421. + rm -rf conftest*
  32422. + # The compiler can only warn and ignore the option if not recognized
  32423. + # So say no if there are warnings
  32424. + if test -s conftest.err; then
  32425. + compiler_rtti_exceptions=no
  32426. + else
  32427. + compiler_rtti_exceptions=yes
  32428. + fi
  32429. +
  32430. +else
  32431. + echo "configure: failed program was:" >&5
  32432. + cat conftest.$ac_ext >&5
  32433. +fi
  32434. +rm -f conftest*
  32435. + CFLAGS="$save_CFLAGS"
  32436. + echo "$ac_t""$compiler_rtti_exceptions" 1>&6
  32437. +
  32438. + if test "$compiler_rtti_exceptions" = "yes"; then
  32439. + no_builtin_flag=' -fno-builtin -fno-rtti -fno-exceptions'
  32440. + else
  32441. + no_builtin_flag=' -fno-builtin'
  32442. + fi
  32443. +fi
  32444. +
  32445. +# See if the linker supports building shared libraries.
  32446. +echo $ac_n "checking whether the linker ($LD) supports shared libraries""... $ac_c" 1>&6
  32447. +echo "configure:3174: checking whether the linker ($LD) supports shared libraries" >&5
  32448. +
  32449. +allow_undefined_flag=
  32450. +no_undefined_flag=
  32451. +need_lib_prefix=unknown
  32452. +need_version=unknown
  32453. +# when you set need_version to no, make sure it does not cause -set_version
  32454. +# flags to be left without arguments
  32455. +archive_cmds=
  32456. +archive_expsym_cmds=
  32457. +old_archive_from_new_cmds=
  32458. +old_archive_from_expsyms_cmds=
  32459. +export_dynamic_flag_spec=
  32460. +whole_archive_flag_spec=
  32461. +thread_safe_flag_spec=
  32462. +hardcode_into_libs=no
  32463. +hardcode_libdir_flag_spec=
  32464. +hardcode_libdir_separator=
  32465. +hardcode_direct=no
  32466. +hardcode_minus_L=no
  32467. +hardcode_shlibpath_var=unsupported
  32468. +runpath_var=
  32469. +link_all_deplibs=unknown
  32470. +always_export_symbols=no
  32471. +export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | sed '\''s/.* //'\'' | sort | uniq > $export_symbols'
  32472. +# include_expsyms should be a list of space-separated symbols to be *always*
  32473. +# included in the symbol list
  32474. +include_expsyms=
  32475. +# exclude_expsyms can be an egrep regular expression of symbols to exclude
  32476. +# it will be wrapped by ` (' and `)$', so one must not match beginning or
  32477. +# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
  32478. +# as well as any symbol that contains `d'.
  32479. +exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
  32480. +# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
  32481. +# platforms (ab)use it in PIC code, but their linkers get confused if
  32482. +# the symbol is explicitly referenced. Since portable code cannot
  32483. +# rely on this symbol name, it's probably fine to never include it in
  32484. +# preloaded symbol tables.
  32485. +extract_expsyms_cmds=
  32486. +
  32487. +case $host_os in
  32488. +cygwin* | mingw* | pw32*)
  32489. + # FIXME: the MSVC++ port hasn't been tested in a loooong time
  32490. + # When not using gcc, we currently assume that we are using
  32491. + # Microsoft Visual C++.
  32492. + if test "$GCC" != yes; then
  32493. + with_gnu_ld=no
  32494. + fi
  32495. + ;;
  32496. +openbsd*)
  32497. + with_gnu_ld=no
  32498. + ;;
  32499. +esac
  32500. +
  32501. +ld_shlibs=yes
  32502. +if test "$with_gnu_ld" = yes; then
  32503. + # If archive_cmds runs LD, not CC, wlarc should be empty
  32504. + wlarc='${wl}'
  32505. +
  32506. + # See if GNU ld supports shared libraries.
  32507. + case $host_os in
  32508. + aix3* | aix4* | aix5*)
  32509. + # On AIX, the GNU linker is very broken
  32510. + # Note:Check GNU linker on AIX 5-IA64 when/if it becomes available.
  32511. + ld_shlibs=no
  32512. + cat <<EOF 1>&2
  32513. +
  32514. +*** Warning: the GNU linker, at least up to release 2.9.1, is reported
  32515. +*** to be unable to reliably create shared libraries on AIX.
  32516. +*** Therefore, libtool is disabling shared libraries support. If you
  32517. +*** really care for shared libraries, you may want to modify your PATH
  32518. +*** so that a non-GNU linker is found, and then restart.
  32519. +
  32520. +EOF
  32521. + ;;
  32522. +
  32523. + amigaos*)
  32524. + 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)'
  32525. + hardcode_libdir_flag_spec='-L$libdir'
  32526. + hardcode_minus_L=yes
  32527. +
  32528. + # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
  32529. + # that the semantics of dynamic libraries on AmigaOS, at least up
  32530. + # to version 4, is to share data among multiple programs linked
  32531. + # with the same dynamic library. Since this doesn't match the
  32532. + # behavior of shared libraries on other platforms, we can use
  32533. + # them.
  32534. + ld_shlibs=no
  32535. + ;;
  32536. +
  32537. + beos*)
  32538. + if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
  32539. + allow_undefined_flag=unsupported
  32540. + # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
  32541. + # support --undefined. This deserves some investigation. FIXME
  32542. + archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  32543. + else
  32544. + ld_shlibs=no
  32545. + fi
  32546. + ;;
  32547. +
  32548. + cygwin* | mingw* | pw32*)
  32549. + # hardcode_libdir_flag_spec is actually meaningless, as there is
  32550. + # no search path for DLLs.
  32551. + hardcode_libdir_flag_spec='-L$libdir'
  32552. + allow_undefined_flag=unsupported
  32553. + always_export_symbols=yes
  32554. +
  32555. + extract_expsyms_cmds='test -f $output_objdir/impgen.c || \
  32556. + sed -e "/^# \/\* impgen\.c starts here \*\//,/^# \/\* impgen.c ends here \*\// { s/^# //;s/^# *$//; p; }" -e d < $''0 > $output_objdir/impgen.c~
  32557. + test -f $output_objdir/impgen.exe || (cd $output_objdir && \
  32558. + if test "x$HOST_CC" != "x" ; then $HOST_CC -o impgen impgen.c ; \
  32559. + else $CC -o impgen impgen.c ; fi)~
  32560. + $output_objdir/impgen $dir/$soroot > $output_objdir/$soname-def'
  32561. +
  32562. + old_archive_from_expsyms_cmds='$DLLTOOL --as=$AS --dllname $soname --def $output_objdir/$soname-def --output-lib $output_objdir/$newlib'
  32563. +
  32564. + # cygwin and mingw dlls have different entry points and sets of symbols
  32565. + # to exclude.
  32566. + # FIXME: what about values for MSVC?
  32567. + dll_entry=__cygwin_dll_entry@12
  32568. + dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12~
  32569. + case $host_os in
  32570. + mingw*)
  32571. + # mingw values
  32572. + dll_entry=_DllMainCRTStartup@12
  32573. + dll_exclude_symbols=DllMain@12,DllMainCRTStartup@12,DllEntryPoint@12~
  32574. + ;;
  32575. + esac
  32576. +
  32577. + # mingw and cygwin differ, and it's simplest to just exclude the union
  32578. + # of the two symbol sets.
  32579. + dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12,DllMainCRTStartup@12,DllEntryPoint@12
  32580. +
  32581. + # recent cygwin and mingw systems supply a stub DllMain which the user
  32582. + # can override, but on older systems we have to supply one (in ltdll.c)
  32583. + if test "x$lt_cv_need_dllmain" = "xyes"; then
  32584. + ltdll_obj='$output_objdir/$soname-ltdll.'"$ac_objext "
  32585. + 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~
  32586. + test -f $output_objdir/$soname-ltdll.$ac_objext || (cd $output_objdir && $CC -c $soname-ltdll.c)~'
  32587. + else
  32588. + ltdll_obj=
  32589. + ltdll_cmds=
  32590. + fi
  32591. +
  32592. + # Extract the symbol export list from an `--export-all' def file,
  32593. + # then regenerate the def file from the symbol export list, so that
  32594. + # the compiled dll only exports the symbol export list.
  32595. + # Be careful not to strip the DATA tag left be newer dlltools.
  32596. + export_symbols_cmds="$ltdll_cmds"'
  32597. + $DLLTOOL --export-all --exclude-symbols '$dll_exclude_symbols' --output-def $output_objdir/$soname-def '$ltdll_obj'$libobjs $convenience~
  32598. + sed -e "1,/EXPORTS/d" -e "s/ @ [0-9]*//" -e "s/ *;.*$//" < $output_objdir/$soname-def > $export_symbols'
  32599. +
  32600. + # If the export-symbols file already is a .def file (1st line
  32601. + # is EXPORTS), use it as is.
  32602. + # If DATA tags from a recent dlltool are present, honour them!
  32603. + archive_expsym_cmds='if test "x`sed 1q $export_symbols`" = xEXPORTS; then
  32604. + cp $export_symbols $output_objdir/$soname-def;
  32605. + else
  32606. + echo EXPORTS > $output_objdir/$soname-def;
  32607. + _lt_hint=1;
  32608. + cat $export_symbols | while read symbol; do
  32609. + set dummy \$symbol;
  32610. + case \$# in
  32611. + 2) echo " \$2 @ \$_lt_hint ; " >> $output_objdir/$soname-def;;
  32612. + 4) echo " \$2 \$3 \$4 ; " >> $output_objdir/$soname-def; _lt_hint=`expr \$_lt_hint - 1`;;
  32613. + *) echo " \$2 @ \$_lt_hint \$3 ; " >> $output_objdir/$soname-def;;
  32614. + esac;
  32615. + _lt_hint=`expr 1 + \$_lt_hint`;
  32616. + done;
  32617. + fi~
  32618. + '"$ltdll_cmds"'
  32619. + $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~
  32620. + $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~
  32621. + $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~
  32622. + $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~
  32623. + $CC $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags'
  32624. + ;;
  32625. +
  32626. + netbsd*)
  32627. + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
  32628. + archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
  32629. + wlarc=
  32630. + else
  32631. + archive_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  32632. + archive_expsym_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  32633. + fi
  32634. + ;;
  32635. +
  32636. + solaris* | sysv5*)
  32637. + if $LD -v 2>&1 | egrep 'BFD 2\.8' > /dev/null; then
  32638. + ld_shlibs=no
  32639. + cat <<EOF 1>&2
  32640. +
  32641. +*** Warning: The releases 2.8.* of the GNU linker cannot reliably
  32642. +*** create shared libraries on Solaris systems. Therefore, libtool
  32643. +*** is disabling shared libraries support. We urge you to upgrade GNU
  32644. +*** binutils to release 2.9.1 or newer. Another option is to modify
  32645. +*** your PATH or compiler configuration so that the native linker is
  32646. +*** used, and then restart.
  32647. +
  32648. +EOF
  32649. + elif $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
  32650. + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  32651. + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  32652. + else
  32653. + ld_shlibs=no
  32654. + fi
  32655. + ;;
  32656. +
  32657. + sunos4*)
  32658. + archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  32659. + wlarc=
  32660. + hardcode_direct=yes
  32661. + hardcode_shlibpath_var=no
  32662. + ;;
  32663. +
  32664. + *)
  32665. + if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
  32666. + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  32667. + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  32668. + else
  32669. + ld_shlibs=no
  32670. + fi
  32671. + ;;
  32672. + esac
  32673. +
  32674. + if test "$ld_shlibs" = yes; then
  32675. + runpath_var=LD_RUN_PATH
  32676. + hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
  32677. + export_dynamic_flag_spec='${wl}--export-dynamic'
  32678. + case $host_os in
  32679. + cygwin* | mingw* | pw32*)
  32680. + # dlltool doesn't understand --whole-archive et. al.
  32681. + whole_archive_flag_spec=
  32682. + ;;
  32683. + *)
  32684. + # ancient GNU ld didn't support --whole-archive et. al.
  32685. + if $LD --help 2>&1 | egrep 'no-whole-archive' > /dev/null; then
  32686. + whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
  32687. + else
  32688. + whole_archive_flag_spec=
  32689. + fi
  32690. + ;;
  32691. + esac
  32692. + fi
  32693. +else
  32694. + # PORTME fill in a description of your system's linker (not GNU ld)
  32695. + case $host_os in
  32696. + aix3*)
  32697. + allow_undefined_flag=unsupported
  32698. + always_export_symbols=yes
  32699. + 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'
  32700. + # Note: this linker hardcodes the directories in LIBPATH if there
  32701. + # are no directories specified by -L.
  32702. + hardcode_minus_L=yes
  32703. + if test "$GCC" = yes && test -z "$link_static_flag"; then
  32704. + # Neither direct hardcoding nor static linking is supported with a
  32705. + # broken collect2.
  32706. + hardcode_direct=unsupported
  32707. + fi
  32708. + ;;
  32709. +
  32710. + aix4* | aix5*)
  32711. + if test "$host_cpu" = ia64; then
  32712. + # On IA64, the linker does run time linking by default, so we don't
  32713. + # have to do anything special.
  32714. + aix_use_runtimelinking=no
  32715. + exp_sym_flag='-Bexport'
  32716. + no_entry_flag=""
  32717. + else
  32718. + aix_use_runtimelinking=no
  32719. +
  32720. + # Test if we are trying to use run time linking or normal
  32721. + # AIX style linking. If -brtl is somewhere in LDFLAGS, we
  32722. + # need to do runtime linking.
  32723. + case $host_os in aix4.[23]|aix4.[23].*|aix5*)
  32724. + for ld_flag in $LDFLAGS; do
  32725. + case $ld_flag in
  32726. + *-brtl*)
  32727. + aix_use_runtimelinking=yes
  32728. + break
  32729. + ;;
  32730. + esac
  32731. + done
  32732. + esac
  32733. +
  32734. + exp_sym_flag='-bexport'
  32735. + no_entry_flag='-bnoentry'
  32736. + fi
  32737. +
  32738. + # When large executables or shared objects are built, AIX ld can
  32739. + # have problems creating the table of contents. If linking a library
  32740. + # or program results in "error TOC overflow" add -mminimal-toc to
  32741. + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
  32742. + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
  32743. +
  32744. + hardcode_direct=yes
  32745. + archive_cmds=''
  32746. + hardcode_libdir_separator=':'
  32747. + if test "$GCC" = yes; then
  32748. + case $host_os in aix4.[012]|aix4.[012].*)
  32749. + collect2name=`${CC} -print-prog-name=collect2`
  32750. + if test -f "$collect2name" && \
  32751. + strings "$collect2name" | grep resolve_lib_name >/dev/null
  32752. + then
  32753. + # We have reworked collect2
  32754. + hardcode_direct=yes
  32755. + else
  32756. + # We have old collect2
  32757. + hardcode_direct=unsupported
  32758. + # It fails to find uninstalled libraries when the uninstalled
  32759. + # path is not listed in the libpath. Setting hardcode_minus_L
  32760. + # to unsupported forces relinking
  32761. + hardcode_minus_L=yes
  32762. + hardcode_libdir_flag_spec='-L$libdir'
  32763. + hardcode_libdir_separator=
  32764. + fi
  32765. + esac
  32766. +
  32767. + shared_flag='-shared'
  32768. + else
  32769. + # not using gcc
  32770. + if test "$host_cpu" = ia64; then
  32771. + shared_flag='${wl}-G'
  32772. + else
  32773. + if test "$aix_use_runtimelinking" = yes; then
  32774. + shared_flag='${wl}-G'
  32775. + else
  32776. + shared_flag='${wl}-bM:SRE'
  32777. + fi
  32778. + fi
  32779. + fi
  32780. +
  32781. + # It seems that -bexpall can do strange things, so it is better to
  32782. + # generate a list of symbols to export.
  32783. + always_export_symbols=yes
  32784. + if test "$aix_use_runtimelinking" = yes; then
  32785. + # Warning - without using the other runtime loading flags (-brtl),
  32786. + # -berok will link without error, but may produce a broken library.
  32787. + allow_undefined_flag='-berok'
  32788. + hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:/usr/lib:/lib'
  32789. + 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"
  32790. + else
  32791. + if test "$host_cpu" = ia64; then
  32792. + hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
  32793. + allow_undefined_flag="-z nodefs"
  32794. + 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"
  32795. + else
  32796. + hardcode_libdir_flag_spec='${wl}-bnolibpath ${wl}-blibpath:$libdir:/usr/lib:/lib'
  32797. + # Warning - without using the other run time loading flags,
  32798. + # -berok will link without error, but may produce a broken library.
  32799. + allow_undefined_flag='${wl}-berok'
  32800. + # This is a bit strange, but is similar to how AIX traditionally builds
  32801. + # it's shared libraries.
  32802. + 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'
  32803. + fi
  32804. + fi
  32805. + ;;
  32806. +
  32807. + amigaos*)
  32808. + 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)'
  32809. + hardcode_libdir_flag_spec='-L$libdir'
  32810. + hardcode_minus_L=yes
  32811. + # see comment about different semantics on the GNU ld section
  32812. + ld_shlibs=no
  32813. + ;;
  32814. +
  32815. + cygwin* | mingw* | pw32*)
  32816. + # When not using gcc, we currently assume that we are using
  32817. + # Microsoft Visual C++.
  32818. + # hardcode_libdir_flag_spec is actually meaningless, as there is
  32819. + # no search path for DLLs.
  32820. + hardcode_libdir_flag_spec=' '
  32821. + allow_undefined_flag=unsupported
  32822. + # Tell ltmain to make .lib files, not .a files.
  32823. + libext=lib
  32824. + # FIXME: Setting linknames here is a bad hack.
  32825. + archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | sed -e '\''s/ -lc$//'\''` -link -dll~linknames='
  32826. + # The linker will automatically build a .lib file if we build a DLL.
  32827. + old_archive_from_new_cmds='true'
  32828. + # FIXME: Should let the user specify the lib program.
  32829. + old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
  32830. + fix_srcfile_path='`cygpath -w "$srcfile"`'
  32831. + ;;
  32832. +
  32833. + darwin* | rhapsody*)
  32834. + case "$host_os" in
  32835. + rhapsody* | darwin1.[012])
  32836. + allow_undefined_flag='-undefined suppress'
  32837. + ;;
  32838. + *) # Darwin 1.3 on
  32839. + allow_undefined_flag='-flat_namespace -undefined suppress'
  32840. + ;;
  32841. + esac
  32842. + # FIXME: Relying on posixy $() will cause problems for
  32843. + # cross-compilation, but unfortunately the echo tests do not
  32844. + # yet detect zsh echo's removal of \ escapes. Also zsh mangles
  32845. + # `"' quotes if we put them in here... so don't!
  32846. + 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)'
  32847. + # We need to add '_' to the symbols in $export_symbols first
  32848. + #archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols'
  32849. + hardcode_direct=yes
  32850. + hardcode_shlibpath_var=no
  32851. + whole_archive_flag_spec='-all_load $convenience'
  32852. + ;;
  32853. +
  32854. + freebsd1*)
  32855. + ld_shlibs=no
  32856. + ;;
  32857. +
  32858. + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
  32859. + # support. Future versions do this automatically, but an explicit c++rt0.o
  32860. + # does not break anything, and helps significantly (at the cost of a little
  32861. + # extra space).
  32862. + freebsd2.2*)
  32863. + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
  32864. + hardcode_libdir_flag_spec='-R$libdir'
  32865. + hardcode_direct=yes
  32866. + hardcode_shlibpath_var=no
  32867. + ;;
  32868. +
  32869. + # Unfortunately, older versions of FreeBSD 2 do not have this feature.
  32870. + freebsd2*)
  32871. + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  32872. + hardcode_direct=yes
  32873. + hardcode_minus_L=yes
  32874. + hardcode_shlibpath_var=no
  32875. + ;;
  32876. +
  32877. + # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
  32878. + freebsd*)
  32879. + archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
  32880. + hardcode_libdir_flag_spec='-R$libdir'
  32881. + hardcode_direct=yes
  32882. + hardcode_shlibpath_var=no
  32883. + ;;
  32884. +
  32885. + hpux9* | hpux10* | hpux11*)
  32886. + case $host_os in
  32887. + 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' ;;
  32888. + *) archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' ;;
  32889. + esac
  32890. + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
  32891. + hardcode_libdir_separator=:
  32892. + hardcode_direct=yes
  32893. + hardcode_minus_L=yes # Not in the search PATH, but as the default
  32894. + # location of the library.
  32895. + export_dynamic_flag_spec='${wl}-E'
  32896. + ;;
  32897. +
  32898. + irix5* | irix6* | nonstopux*)
  32899. + if test "$GCC" = yes; then
  32900. + 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'
  32901. + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  32902. + else
  32903. + 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'
  32904. + hardcode_libdir_flag_spec='-rpath $libdir'
  32905. + fi
  32906. + hardcode_libdir_separator=:
  32907. + link_all_deplibs=yes
  32908. + ;;
  32909. +
  32910. + netbsd*)
  32911. + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
  32912. + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
  32913. + else
  32914. + archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
  32915. + fi
  32916. + hardcode_libdir_flag_spec='-R$libdir'
  32917. + hardcode_direct=yes
  32918. + hardcode_shlibpath_var=no
  32919. + ;;
  32920. +
  32921. + newsos6)
  32922. + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  32923. + hardcode_direct=yes
  32924. + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  32925. + hardcode_libdir_separator=:
  32926. + hardcode_shlibpath_var=no
  32927. + ;;
  32928. +
  32929. + openbsd*)
  32930. + hardcode_direct=yes
  32931. + hardcode_shlibpath_var=no
  32932. + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  32933. + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  32934. + hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
  32935. + export_dynamic_flag_spec='${wl}-E'
  32936. + else
  32937. + case "$host_os" in
  32938. + openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
  32939. + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  32940. + hardcode_libdir_flag_spec='-R$libdir'
  32941. + ;;
  32942. + *)
  32943. + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  32944. + hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
  32945. + ;;
  32946. + esac
  32947. + fi
  32948. + ;;
  32949. +
  32950. + os2*)
  32951. + hardcode_libdir_flag_spec='-L$libdir'
  32952. + hardcode_minus_L=yes
  32953. + allow_undefined_flag=unsupported
  32954. + 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'
  32955. + old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
  32956. + ;;
  32957. +
  32958. + osf3*)
  32959. + if test "$GCC" = yes; then
  32960. + allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
  32961. + 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'
  32962. + else
  32963. + allow_undefined_flag=' -expect_unresolved \*'
  32964. + 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'
  32965. + fi
  32966. + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  32967. + hardcode_libdir_separator=:
  32968. + ;;
  32969. +
  32970. + osf4* | osf5*) # as osf3* with the addition of -msym flag
  32971. + if test "$GCC" = yes; then
  32972. + allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
  32973. + 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'
  32974. + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  32975. + else
  32976. + allow_undefined_flag=' -expect_unresolved \*'
  32977. + 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'
  32978. + archive_expsym_cmds='for i in `cat $export_symbols`; do printf "-exported_symbol " >> $lib.exp; echo "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
  32979. + $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'
  32980. +
  32981. + #Both c and cxx compiler support -rpath directly
  32982. + hardcode_libdir_flag_spec='-rpath $libdir'
  32983. + fi
  32984. + hardcode_libdir_separator=:
  32985. + ;;
  32986. +
  32987. + sco3.2v5*)
  32988. + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  32989. + hardcode_shlibpath_var=no
  32990. + runpath_var=LD_RUN_PATH
  32991. + hardcode_runpath_var=yes
  32992. + export_dynamic_flag_spec='${wl}-Bexport'
  32993. + ;;
  32994. +
  32995. + solaris*)
  32996. + # gcc --version < 3.0 without binutils cannot create self contained
  32997. + # shared libraries reliably, requiring libgcc.a to resolve some of
  32998. + # the object symbols generated in some cases. Libraries that use
  32999. + # assert need libgcc.a to resolve __eprintf, for example. Linking
  33000. + # a copy of libgcc.a into every shared library to guarantee resolving
  33001. + # such symbols causes other problems: According to Tim Van Holder
  33002. + # <tim.van.holder@pandora.be>, C++ libraries end up with a separate
  33003. + # (to the application) exception stack for one thing.
  33004. + no_undefined_flag=' -z defs'
  33005. + if test "$GCC" = yes; then
  33006. + case `$CC --version 2>/dev/null` in
  33007. + [12].*)
  33008. + cat <<EOF 1>&2
  33009. +
  33010. +*** Warning: Releases of GCC earlier than version 3.0 cannot reliably
  33011. +*** create self contained shared libraries on Solaris systems, without
  33012. +*** introducing a dependency on libgcc.a. Therefore, libtool is disabling
  33013. +*** -no-undefined support, which will at least allow you to build shared
  33014. +*** libraries. However, you may find that when you link such libraries
  33015. +*** into an application without using GCC, you have to manually add
  33016. +*** \`gcc --print-libgcc-file-name\` to the link command. We urge you to
  33017. +*** upgrade to a newer version of GCC. Another option is to rebuild your
  33018. +*** current GCC to use the GNU linker from GNU binutils 2.9.1 or newer.
  33019. +
  33020. +EOF
  33021. + no_undefined_flag=
  33022. + ;;
  33023. + esac
  33024. + fi
  33025. + # $CC -shared without GNU ld will not create a library from C++
  33026. + # object files and a static libstdc++, better avoid it by now
  33027. + archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
  33028. + archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
  33029. + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
  33030. + hardcode_libdir_flag_spec='-R$libdir'
  33031. + hardcode_shlibpath_var=no
  33032. + case $host_os in
  33033. + solaris2.[0-5] | solaris2.[0-5].*) ;;
  33034. + *) # Supported since Solaris 2.6 (maybe 2.5.1?)
  33035. + whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
  33036. + esac
  33037. + link_all_deplibs=yes
  33038. + ;;
  33039. +
  33040. + sunos4*)
  33041. + if test "x$host_vendor" = xsequent; then
  33042. + # Use $CC to link under sequent, because it throws in some extra .o
  33043. + # files that make .init and .fini sections work.
  33044. + archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
  33045. + else
  33046. + archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
  33047. + fi
  33048. + hardcode_libdir_flag_spec='-L$libdir'
  33049. + hardcode_direct=yes
  33050. + hardcode_minus_L=yes
  33051. + hardcode_shlibpath_var=no
  33052. + ;;
  33053. +
  33054. + sysv4)
  33055. + case $host_vendor in
  33056. + sni)
  33057. + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  33058. + hardcode_direct=yes # is this really true???
  33059. + ;;
  33060. + siemens)
  33061. + ## LD is ld it makes a PLAMLIB
  33062. + ## CC just makes a GrossModule.
  33063. + archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
  33064. + reload_cmds='$CC -r -o $output$reload_objs'
  33065. + hardcode_direct=no
  33066. + ;;
  33067. + motorola)
  33068. + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  33069. + hardcode_direct=no #Motorola manual says yes, but my tests say they lie
  33070. + ;;
  33071. + esac
  33072. + runpath_var='LD_RUN_PATH'
  33073. + hardcode_shlibpath_var=no
  33074. + ;;
  33075. +
  33076. + sysv4.3*)
  33077. + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  33078. + hardcode_shlibpath_var=no
  33079. + export_dynamic_flag_spec='-Bexport'
  33080. + ;;
  33081. +
  33082. + sysv5*)
  33083. + no_undefined_flag=' -z text'
  33084. + # $CC -shared without GNU ld will not create a library from C++
  33085. + # object files and a static libstdc++, better avoid it by now
  33086. + archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
  33087. + archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
  33088. + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
  33089. + hardcode_libdir_flag_spec=
  33090. + hardcode_shlibpath_var=no
  33091. + runpath_var='LD_RUN_PATH'
  33092. + ;;
  33093. +
  33094. + uts4*)
  33095. + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  33096. + hardcode_libdir_flag_spec='-L$libdir'
  33097. + hardcode_shlibpath_var=no
  33098. + ;;
  33099. +
  33100. + dgux*)
  33101. + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  33102. + hardcode_libdir_flag_spec='-L$libdir'
  33103. + hardcode_shlibpath_var=no
  33104. + ;;
  33105. +
  33106. + sysv4*MP*)
  33107. + if test -d /usr/nec; then
  33108. + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  33109. + hardcode_shlibpath_var=no
  33110. + runpath_var=LD_RUN_PATH
  33111. + hardcode_runpath_var=yes
  33112. + ld_shlibs=yes
  33113. + fi
  33114. + ;;
  33115. +
  33116. + sysv4.2uw2*)
  33117. + archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
  33118. + hardcode_direct=yes
  33119. + hardcode_minus_L=no
  33120. + hardcode_shlibpath_var=no
  33121. + hardcode_runpath_var=yes
  33122. + runpath_var=LD_RUN_PATH
  33123. + ;;
  33124. +
  33125. + sysv5uw7* | unixware7*)
  33126. + no_undefined_flag='${wl}-z ${wl}text'
  33127. + if test "$GCC" = yes; then
  33128. + archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  33129. + else
  33130. + archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  33131. + fi
  33132. + runpath_var='LD_RUN_PATH'
  33133. + hardcode_shlibpath_var=no
  33134. + ;;
  33135. +
  33136. + *)
  33137. + ld_shlibs=no
  33138. + ;;
  33139. + esac
  33140. +fi
  33141. +echo "$ac_t""$ld_shlibs" 1>&6
  33142. +test "$ld_shlibs" = no && can_build_shared=no
  33143. +
  33144. +# Check hardcoding attributes.
  33145. +echo $ac_n "checking how to hardcode library paths into programs""... $ac_c" 1>&6
  33146. +echo "configure:3873: checking how to hardcode library paths into programs" >&5
  33147. +hardcode_action=
  33148. +if test -n "$hardcode_libdir_flag_spec" || \
  33149. + test -n "$runpath_var"; then
  33150. +
  33151. + # We can hardcode non-existant directories.
  33152. + if test "$hardcode_direct" != no &&
  33153. + # If the only mechanism to avoid hardcoding is shlibpath_var, we
  33154. + # have to relink, otherwise we might link with an installed library
  33155. + # when we should be linking with a yet-to-be-installed one
  33156. + ## test "$hardcode_shlibpath_var" != no &&
  33157. + test "$hardcode_minus_L" != no; then
  33158. + # Linking always hardcodes the temporary library directory.
  33159. + hardcode_action=relink
  33160. + else
  33161. + # We can link without hardcoding, and we can hardcode nonexisting dirs.
  33162. + hardcode_action=immediate
  33163. + fi
  33164. +else
  33165. + # We cannot hardcode anything, or else we can only hardcode existing
  33166. + # directories.
  33167. + hardcode_action=unsupported
  33168. +fi
  33169. +echo "$ac_t""$hardcode_action" 1>&6
  33170. +
  33171. +striplib=
  33172. +old_striplib=
  33173. +echo $ac_n "checking whether stripping libraries is possible""... $ac_c" 1>&6
  33174. +echo "configure:3901: checking whether stripping libraries is possible" >&5
  33175. +if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
  33176. + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
  33177. + test -z "$striplib" && striplib="$STRIP --strip-unneeded"
  33178. + echo "$ac_t""yes" 1>&6
  33179. +else
  33180. + echo "$ac_t""no" 1>&6
  33181. +fi
  33182. +
  33183. +reload_cmds='$LD$reload_flag -o $output$reload_objs'
  33184. +test -z "$deplibs_check_method" && deplibs_check_method=unknown
  33185. +
  33186. +# PORTME Fill in your ld.so characteristics
  33187. +echo $ac_n "checking dynamic linker characteristics""... $ac_c" 1>&6
  33188. +echo "configure:3915: checking dynamic linker characteristics" >&5
  33189. +library_names_spec=
  33190. +libname_spec='lib$name'
  33191. +soname_spec=
  33192. +postinstall_cmds=
  33193. +postuninstall_cmds=
  33194. +finish_cmds=
  33195. +finish_eval=
  33196. +shlibpath_var=
  33197. +shlibpath_overrides_runpath=unknown
  33198. +version_type=none
  33199. +dynamic_linker="$host_os ld.so"
  33200. +sys_lib_dlsearch_path_spec="/lib /usr/lib"
  33201. +sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
  33202. +
  33203. +case $host_os in
  33204. +aix3*)
  33205. + version_type=linux
  33206. + library_names_spec='${libname}${release}.so$versuffix $libname.a'
  33207. + shlibpath_var=LIBPATH
  33208. +
  33209. + # AIX has no versioning support, so we append a major version to the name.
  33210. + soname_spec='${libname}${release}.so$major'
  33211. + ;;
  33212. +
  33213. +aix4* | aix5*)
  33214. + version_type=linux
  33215. + need_lib_prefix=no
  33216. + need_version=no
  33217. + hardcode_into_libs=yes
  33218. + if test "$host_cpu" = ia64; then
  33219. + # AIX 5 supports IA64
  33220. + library_names_spec='${libname}${release}.so$major ${libname}${release}.so$versuffix $libname.so'
  33221. + shlibpath_var=LD_LIBRARY_PATH
  33222. + else
  33223. + # With GCC up to 2.95.x, collect2 would create an import file
  33224. + # for dependence libraries. The import file would start with
  33225. + # the line `#! .'. This would cause the generated library to
  33226. + # depend on `.', always an invalid library. This was fixed in
  33227. + # development snapshots of GCC prior to 3.0.
  33228. + case $host_os in
  33229. + aix4 | aix4.[01] | aix4.[01].*)
  33230. + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
  33231. + echo ' yes '
  33232. + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
  33233. + :
  33234. + else
  33235. + can_build_shared=no
  33236. + fi
  33237. + ;;
  33238. + esac
  33239. + # AIX (on Power*) has no versioning support, so currently we can
  33240. + # not hardcode correct soname into executable. Probably we can
  33241. + # add versioning support to collect2, so additional links can
  33242. + # be useful in future.
  33243. + if test "$aix_use_runtimelinking" = yes; then
  33244. + # If using run time linking (on AIX 4.2 or later) use lib<name>.so
  33245. + # instead of lib<name>.a to let people know that these are not
  33246. + # typical AIX shared libraries.
  33247. + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
  33248. + else
  33249. + # We preserve .a as extension for shared libraries through AIX4.2
  33250. + # and later when we are not doing run time linking.
  33251. + library_names_spec='${libname}${release}.a $libname.a'
  33252. + soname_spec='${libname}${release}.so$major'
  33253. + fi
  33254. + shlibpath_var=LIBPATH
  33255. + fi
  33256. + hardcode_into_libs=yes
  33257. + ;;
  33258. +
  33259. +amigaos*)
  33260. + library_names_spec='$libname.ixlibrary $libname.a'
  33261. + # Create ${libname}_ixlibrary.a entries in /sys/libs.
  33262. + 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'
  33263. + ;;
  33264. +
  33265. +beos*)
  33266. + library_names_spec='${libname}.so'
  33267. + dynamic_linker="$host_os ld.so"
  33268. + shlibpath_var=LIBRARY_PATH
  33269. + ;;
  33270. +
  33271. +bsdi4*)
  33272. + version_type=linux
  33273. + need_version=no
  33274. + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
  33275. + soname_spec='${libname}${release}.so$major'
  33276. + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
  33277. + shlibpath_var=LD_LIBRARY_PATH
  33278. + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
  33279. + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
  33280. + export_dynamic_flag_spec=-rdynamic
  33281. + # the default ld.so.conf also contains /usr/contrib/lib and
  33282. + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
  33283. + # libtool to hard-code these into programs
  33284. + ;;
  33285. +
  33286. +cygwin* | mingw* | pw32*)
  33287. + version_type=windows
  33288. + need_version=no
  33289. + need_lib_prefix=no
  33290. + case $GCC,$host_os in
  33291. + yes,cygwin*)
  33292. + library_names_spec='$libname.dll.a'
  33293. + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll'
  33294. + postinstall_cmds='dlpath=`bash 2>&1 -c '\''. $dir/${file}i;echo \$dlname'\''`~
  33295. + dldir=$destdir/`dirname \$dlpath`~
  33296. + test -d \$dldir || mkdir -p \$dldir~
  33297. + $install_prog .libs/$dlname \$dldir/$dlname'
  33298. + postuninstall_cmds='dldll=`bash 2>&1 -c '\''. $file; echo \$dlname'\''`~
  33299. + dlpath=$dir/\$dldll~
  33300. + $rm \$dlpath'
  33301. + ;;
  33302. + yes,mingw*)
  33303. + library_names_spec='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll'
  33304. + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s/;/ /g" -e "s,=/,/,g"`
  33305. + ;;
  33306. + yes,pw32*)
  33307. + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | sed -e 's/./-/g'`${versuffix}.dll'
  33308. + ;;
  33309. + *)
  33310. + library_names_spec='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll $libname.lib'
  33311. + ;;
  33312. + esac
  33313. + dynamic_linker='Win32 ld.exe'
  33314. + # FIXME: first we should search . and the directory the executable is in
  33315. + shlibpath_var=PATH
  33316. + ;;
  33317. +
  33318. +darwin* | rhapsody*)
  33319. + dynamic_linker="$host_os dyld"
  33320. + version_type=darwin
  33321. + need_lib_prefix=no
  33322. + need_version=no
  33323. + # FIXME: Relying on posixy $() will cause problems for
  33324. + # cross-compilation, but unfortunately the echo tests do not
  33325. + # yet detect zsh echo's removal of \ escapes.
  33326. + 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)'
  33327. + soname_spec='${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib)'
  33328. + shlibpath_overrides_runpath=yes
  33329. + shlibpath_var=DYLD_LIBRARY_PATH
  33330. + ;;
  33331. +
  33332. +freebsd1*)
  33333. + dynamic_linker=no
  33334. + ;;
  33335. +
  33336. +kfreebsd*-gnu*)
  33337. + version_type=linux
  33338. + need_lib_prefix=no
  33339. + need_version=no
  33340. + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
  33341. + soname_spec='${libname}${release}.so$major'
  33342. + shlibpath_var=LD_LIBRARY_PATH
  33343. + shlibpath_overrides_runpath=no
  33344. + hardcode_into_libs=yes
  33345. + dynamic_linker='GNU/FreeBSD ld.so'
  33346. + ;;
  33347. +
  33348. +freebsd*)
  33349. + objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
  33350. + version_type=freebsd-$objformat
  33351. + case $version_type in
  33352. + freebsd-elf*)
  33353. + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so'
  33354. + need_version=no
  33355. + need_lib_prefix=no
  33356. + ;;
  33357. + freebsd-*)
  33358. + library_names_spec='${libname}${release}.so$versuffix $libname.so$versuffix'
  33359. + need_version=yes
  33360. + ;;
  33361. + esac
  33362. + shlibpath_var=LD_LIBRARY_PATH
  33363. + case $host_os in
  33364. + freebsd2*)
  33365. + shlibpath_overrides_runpath=yes
  33366. + ;;
  33367. + *)
  33368. + shlibpath_overrides_runpath=no
  33369. + hardcode_into_libs=yes
  33370. + ;;
  33371. + esac
  33372. + ;;
  33373. +
  33374. +gnu*)
  33375. + version_type=linux
  33376. + need_lib_prefix=no
  33377. + need_version=no
  33378. + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so${major} ${libname}.so'
  33379. + soname_spec='${libname}${release}.so$major'
  33380. + shlibpath_var=LD_LIBRARY_PATH
  33381. + hardcode_into_libs=yes
  33382. + ;;
  33383. +
  33384. +hpux9* | hpux10* | hpux11*)
  33385. + # Give a soname corresponding to the major version so that dld.sl refuses to
  33386. + # link against other versions.
  33387. + dynamic_linker="$host_os dld.sl"
  33388. + version_type=sunos
  33389. + need_lib_prefix=no
  33390. + need_version=no
  33391. + shlibpath_var=SHLIB_PATH
  33392. + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
  33393. + library_names_spec='${libname}${release}.sl$versuffix ${libname}${release}.sl$major $libname.sl'
  33394. + soname_spec='${libname}${release}.sl$major'
  33395. + # HP-UX runs *really* slowly unless shared libraries are mode 555.
  33396. + postinstall_cmds='chmod 555 $lib'
  33397. + ;;
  33398. +
  33399. +irix5* | irix6* | nonstopux*)
  33400. + case $host_os in
  33401. + nonstopux*) version_type=nonstopux ;;
  33402. + *) version_type=irix ;;
  33403. + esac
  33404. + need_lib_prefix=no
  33405. + need_version=no
  33406. + soname_spec='${libname}${release}.so$major'
  33407. + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so $libname.so'
  33408. + case $host_os in
  33409. + irix5* | nonstopux*)
  33410. + libsuff= shlibsuff=
  33411. + ;;
  33412. + *)
  33413. + case $LD in # libtool.m4 will add one of these switches to LD
  33414. + *-32|*"-32 ") libsuff= shlibsuff= libmagic=32-bit;;
  33415. + *-n32|*"-n32 ") libsuff=32 shlibsuff=N32 libmagic=N32;;
  33416. + *-64|*"-64 ") libsuff=64 shlibsuff=64 libmagic=64-bit;;
  33417. + *) libsuff= shlibsuff= libmagic=never-match;;
  33418. + esac
  33419. + ;;
  33420. + esac
  33421. + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
  33422. + shlibpath_overrides_runpath=no
  33423. + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
  33424. + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
  33425. + ;;
  33426. +
  33427. +# No shared lib support for Linux oldld, aout, or coff.
  33428. +linux-gnuoldld* | linux-gnuaout* | linux-gnucoff*)
  33429. + dynamic_linker=no
  33430. + ;;
  33431. +
  33432. +# This must be Linux ELF.
  33433. +linux-gnu*)
  33434. + version_type=linux
  33435. + need_lib_prefix=no
  33436. + need_version=no
  33437. + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
  33438. + soname_spec='${libname}${release}.so$major'
  33439. + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
  33440. + shlibpath_var=LD_LIBRARY_PATH
  33441. + shlibpath_overrides_runpath=no
  33442. + # This implies no fast_install, which is unacceptable.
  33443. + # Some rework will be needed to allow for fast_install
  33444. + # before this can be enabled.
  33445. + hardcode_into_libs=yes
  33446. +
  33447. + # We used to test for /lib/ld.so.1 and disable shared libraries on
  33448. + # powerpc, because MkLinux only supported shared libraries with the
  33449. + # GNU dynamic linker. Since this was broken with cross compilers,
  33450. + # most powerpc-linux boxes support dynamic linking these days and
  33451. + # people can always --disable-shared, the test was removed, and we
  33452. + # assume the GNU/Linux dynamic linker is in use.
  33453. + dynamic_linker='GNU/Linux ld.so'
  33454. + ;;
  33455. +
  33456. +netbsd*)
  33457. + version_type=sunos
  33458. + need_lib_prefix=no
  33459. + need_version=no
  33460. + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
  33461. + library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
  33462. + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  33463. + dynamic_linker='NetBSD (a.out) ld.so'
  33464. + else
  33465. + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so ${libname}.so'
  33466. + soname_spec='${libname}${release}.so$major'
  33467. + dynamic_linker='NetBSD ld.elf_so'
  33468. + fi
  33469. + shlibpath_var=LD_LIBRARY_PATH
  33470. + shlibpath_overrides_runpath=yes
  33471. + hardcode_into_libs=yes
  33472. + ;;
  33473. +
  33474. +newsos6)
  33475. + version_type=linux
  33476. + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
  33477. + shlibpath_var=LD_LIBRARY_PATH
  33478. + shlibpath_overrides_runpath=yes
  33479. + ;;
  33480. +
  33481. +openbsd*)
  33482. + version_type=sunos
  33483. + need_lib_prefix=no
  33484. + need_version=no
  33485. + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  33486. + case "$host_os" in
  33487. + openbsd2.[89] | openbsd2.[89].*)
  33488. + shlibpath_overrides_runpath=no
  33489. + ;;
  33490. + *)
  33491. + shlibpath_overrides_runpath=yes
  33492. + ;;
  33493. + esac
  33494. + else
  33495. + shlibpath_overrides_runpath=yes
  33496. + fi
  33497. + library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
  33498. + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  33499. + shlibpath_var=LD_LIBRARY_PATH
  33500. + ;;
  33501. +
  33502. +os2*)
  33503. + libname_spec='$name'
  33504. + need_lib_prefix=no
  33505. + library_names_spec='$libname.dll $libname.a'
  33506. + dynamic_linker='OS/2 ld.exe'
  33507. + shlibpath_var=LIBPATH
  33508. + ;;
  33509. +
  33510. +osf3* | osf4* | osf5*)
  33511. + version_type=osf
  33512. + need_version=no
  33513. + need_lib_prefix=no
  33514. + soname_spec='${libname}${release}.so$major'
  33515. + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
  33516. + shlibpath_var=LD_LIBRARY_PATH
  33517. + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
  33518. + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
  33519. + hardcode_into_libs=yes
  33520. + ;;
  33521. +
  33522. +sco3.2v5*)
  33523. + version_type=osf
  33524. + soname_spec='${libname}${release}.so$major'
  33525. + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
  33526. + shlibpath_var=LD_LIBRARY_PATH
  33527. + ;;
  33528. +
  33529. +solaris*)
  33530. + version_type=linux
  33531. + need_lib_prefix=no
  33532. + need_version=no
  33533. + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
  33534. + soname_spec='${libname}${release}.so$major'
  33535. + shlibpath_var=LD_LIBRARY_PATH
  33536. + shlibpath_overrides_runpath=yes
  33537. + hardcode_into_libs=yes
  33538. + # ldd complains unless libraries are executable
  33539. + postinstall_cmds='chmod +x $lib'
  33540. + ;;
  33541. +
  33542. +sunos4*)
  33543. + version_type=sunos
  33544. + library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
  33545. + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
  33546. + shlibpath_var=LD_LIBRARY_PATH
  33547. + shlibpath_overrides_runpath=yes
  33548. + if test "$with_gnu_ld" = yes; then
  33549. + need_lib_prefix=no
  33550. + fi
  33551. + need_version=yes
  33552. + ;;
  33553. +
  33554. +sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
  33555. + version_type=linux
  33556. + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
  33557. + soname_spec='${libname}${release}.so$major'
  33558. + shlibpath_var=LD_LIBRARY_PATH
  33559. + case $host_vendor in
  33560. + sni)
  33561. + shlibpath_overrides_runpath=no
  33562. + need_lib_prefix=no
  33563. + export_dynamic_flag_spec='${wl}-Blargedynsym'
  33564. + runpath_var=LD_RUN_PATH
  33565. + ;;
  33566. + siemens)
  33567. + need_lib_prefix=no
  33568. + ;;
  33569. + motorola)
  33570. + need_lib_prefix=no
  33571. + need_version=no
  33572. + shlibpath_overrides_runpath=no
  33573. + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
  33574. + ;;
  33575. + esac
  33576. + ;;
  33577. +
  33578. +uts4*)
  33579. + version_type=linux
  33580. + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
  33581. + soname_spec='${libname}${release}.so$major'
  33582. + shlibpath_var=LD_LIBRARY_PATH
  33583. + ;;
  33584. +
  33585. +dgux*)
  33586. + version_type=linux
  33587. + need_lib_prefix=no
  33588. + need_version=no
  33589. + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
  33590. + soname_spec='${libname}${release}.so$major'
  33591. + shlibpath_var=LD_LIBRARY_PATH
  33592. + ;;
  33593. +
  33594. +sysv4*MP*)
  33595. + if test -d /usr/nec ;then
  33596. + version_type=linux
  33597. + library_names_spec='$libname.so.$versuffix $libname.so.$major $libname.so'
  33598. + soname_spec='$libname.so.$major'
  33599. + shlibpath_var=LD_LIBRARY_PATH
  33600. + fi
  33601. + ;;
  33602. +
  33603. +*)
  33604. + dynamic_linker=no
  33605. + ;;
  33606. +esac
  33607. +echo "$ac_t""$dynamic_linker" 1>&6
  33608. +test "$dynamic_linker" = no && can_build_shared=no
  33609. +
  33610. +# Report the final consequences.
  33611. +echo $ac_n "checking if libtool supports shared libraries""... $ac_c" 1>&6
  33612. +echo "configure:4339: checking if libtool supports shared libraries" >&5
  33613. +echo "$ac_t""$can_build_shared" 1>&6
  33614. +
  33615. +echo $ac_n "checking whether to build shared libraries""... $ac_c" 1>&6
  33616. +echo "configure:4343: checking whether to build shared libraries" >&5
  33617. +test "$can_build_shared" = "no" && enable_shared=no
  33618. +
  33619. +# On AIX, shared libraries and static libraries use the same namespace, and
  33620. +# are all built from PIC.
  33621. +case "$host_os" in
  33622. +aix3*)
  33623. + test "$enable_shared" = yes && enable_static=no
  33624. + if test -n "$RANLIB"; then
  33625. + archive_cmds="$archive_cmds~\$RANLIB \$lib"
  33626. + postinstall_cmds='$RANLIB $lib'
  33627. + fi
  33628. + ;;
  33629. +
  33630. +aix4*)
  33631. + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
  33632. + test "$enable_shared" = yes && enable_static=no
  33633. + fi
  33634. + ;;
  33635. +esac
  33636. +echo "$ac_t""$enable_shared" 1>&6
  33637. +
  33638. +echo $ac_n "checking whether to build static libraries""... $ac_c" 1>&6
  33639. +echo "configure:4366: checking whether to build static libraries" >&5
  33640. +# Make sure either enable_shared or enable_static is yes.
  33641. +test "$enable_shared" = yes || enable_static=yes
  33642. +echo "$ac_t""$enable_static" 1>&6
  33643. +
  33644. +if test "$hardcode_action" = relink; then
  33645. + # Fast installation is not supported
  33646. + enable_fast_install=no
  33647. +elif test "$shlibpath_overrides_runpath" = yes ||
  33648. + test "$enable_shared" = no; then
  33649. + # Fast installation is not necessary
  33650. + enable_fast_install=needless
  33651. +fi
  33652. +
  33653. +variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
  33654. +if test "$GCC" = yes; then
  33655. + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
  33656. +fi
  33657. +
  33658. +if test "x$enable_dlopen" != xyes; then
  33659. + enable_dlopen=unknown
  33660. + enable_dlopen_self=unknown
  33661. + enable_dlopen_self_static=unknown
  33662. +else
  33663. + lt_cv_dlopen=no
  33664. + lt_cv_dlopen_libs=
  33665. +
  33666. + case $host_os in
  33667. + beos*)
  33668. + lt_cv_dlopen="load_add_on"
  33669. + lt_cv_dlopen_libs=
  33670. + lt_cv_dlopen_self=yes
  33671. + ;;
  33672. +
  33673. + cygwin* | mingw* | pw32*)
  33674. + lt_cv_dlopen="LoadLibrary"
  33675. + lt_cv_dlopen_libs=
  33676. + ;;
  33677. +
  33678. + *)
  33679. + echo $ac_n "checking for shl_load""... $ac_c" 1>&6
  33680. +echo "configure:4407: checking for shl_load" >&5
  33681. +if eval "test \"`echo '$''{'ac_cv_func_shl_load'+set}'`\" = set"; then
  33682. + echo $ac_n "(cached) $ac_c" 1>&6
  33683. +else
  33684. + cat > conftest.$ac_ext <<EOF
  33685. +#line 4412 "configure"
  33686. +#include "confdefs.h"
  33687. +/* System header to define __stub macros and hopefully few prototypes,
  33688. + which can conflict with char shl_load(); below. */
  33689. +#include <assert.h>
  33690. +/* Override any gcc2 internal prototype to avoid an error. */
  33691. +/* We use char because int might match the return type of a gcc2
  33692. + builtin and then its argument prototype would still apply. */
  33693. +char shl_load();
  33694. +
  33695. +int main() {
  33696. +
  33697. +/* The GNU C library defines this for functions which it implements
  33698. + to always fail with ENOSYS. Some functions are actually named
  33699. + something starting with __ and the normal name is an alias. */
  33700. +#if defined (__stub_shl_load) || defined (__stub___shl_load)
  33701. +choke me
  33702. +#else
  33703. +shl_load();
  33704. +#endif
  33705. +
  33706. +; return 0; }
  33707. +EOF
  33708. +if { (eval echo configure:4435: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  33709. + rm -rf conftest*
  33710. + eval "ac_cv_func_shl_load=yes"
  33711. +else
  33712. + echo "configure: failed program was:" >&5
  33713. + cat conftest.$ac_ext >&5
  33714. + rm -rf conftest*
  33715. + eval "ac_cv_func_shl_load=no"
  33716. +fi
  33717. +rm -f conftest*
  33718. +fi
  33719. +
  33720. +if eval "test \"`echo '$ac_cv_func_'shl_load`\" = yes"; then
  33721. + echo "$ac_t""yes" 1>&6
  33722. + lt_cv_dlopen="shl_load"
  33723. +else
  33724. + echo "$ac_t""no" 1>&6
  33725. +echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6
  33726. +echo "configure:4453: checking for shl_load in -ldld" >&5
  33727. +ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'`
  33728. +if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
  33729. + echo $ac_n "(cached) $ac_c" 1>&6
  33730. +else
  33731. + ac_save_LIBS="$LIBS"
  33732. +LIBS="-ldld $LIBS"
  33733. +cat > conftest.$ac_ext <<EOF
  33734. +#line 4461 "configure"
  33735. +#include "confdefs.h"
  33736. +/* Override any gcc2 internal prototype to avoid an error. */
  33737. +/* We use char because int might match the return type of a gcc2
  33738. + builtin and then its argument prototype would still apply. */
  33739. +char shl_load();
  33740. +
  33741. +int main() {
  33742. +shl_load()
  33743. +; return 0; }
  33744. +EOF
  33745. +if { (eval echo configure:4472: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  33746. + rm -rf conftest*
  33747. + eval "ac_cv_lib_$ac_lib_var=yes"
  33748. +else
  33749. + echo "configure: failed program was:" >&5
  33750. + cat conftest.$ac_ext >&5
  33751. + rm -rf conftest*
  33752. + eval "ac_cv_lib_$ac_lib_var=no"
  33753. +fi
  33754. +rm -f conftest*
  33755. +LIBS="$ac_save_LIBS"
  33756. +
  33757. +fi
  33758. +if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
  33759. + echo "$ac_t""yes" 1>&6
  33760. + lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
  33761. +else
  33762. + echo "$ac_t""no" 1>&6
  33763. +echo $ac_n "checking for dlopen""... $ac_c" 1>&6
  33764. +echo "configure:4491: checking for dlopen" >&5
  33765. +if eval "test \"`echo '$''{'ac_cv_func_dlopen'+set}'`\" = set"; then
  33766. + echo $ac_n "(cached) $ac_c" 1>&6
  33767. +else
  33768. + cat > conftest.$ac_ext <<EOF
  33769. +#line 4496 "configure"
  33770. +#include "confdefs.h"
  33771. +/* System header to define __stub macros and hopefully few prototypes,
  33772. + which can conflict with char dlopen(); below. */
  33773. +#include <assert.h>
  33774. +/* Override any gcc2 internal prototype to avoid an error. */
  33775. +/* We use char because int might match the return type of a gcc2
  33776. + builtin and then its argument prototype would still apply. */
  33777. +char dlopen();
  33778. +
  33779. +int main() {
  33780. +
  33781. +/* The GNU C library defines this for functions which it implements
  33782. + to always fail with ENOSYS. Some functions are actually named
  33783. + something starting with __ and the normal name is an alias. */
  33784. +#if defined (__stub_dlopen) || defined (__stub___dlopen)
  33785. +choke me
  33786. +#else
  33787. +dlopen();
  33788. +#endif
  33789. +
  33790. +; return 0; }
  33791. +EOF
  33792. +if { (eval echo configure:4519: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  33793. + rm -rf conftest*
  33794. + eval "ac_cv_func_dlopen=yes"
  33795. +else
  33796. + echo "configure: failed program was:" >&5
  33797. + cat conftest.$ac_ext >&5
  33798. + rm -rf conftest*
  33799. + eval "ac_cv_func_dlopen=no"
  33800. +fi
  33801. +rm -f conftest*
  33802. +fi
  33803. +
  33804. +if eval "test \"`echo '$ac_cv_func_'dlopen`\" = yes"; then
  33805. + echo "$ac_t""yes" 1>&6
  33806. + lt_cv_dlopen="dlopen"
  33807. +else
  33808. + echo "$ac_t""no" 1>&6
  33809. +echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
  33810. +echo "configure:4537: checking for dlopen in -ldl" >&5
  33811. +ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
  33812. +if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
  33813. + echo $ac_n "(cached) $ac_c" 1>&6
  33814. +else
  33815. + ac_save_LIBS="$LIBS"
  33816. +LIBS="-ldl $LIBS"
  33817. +cat > conftest.$ac_ext <<EOF
  33818. +#line 4545 "configure"
  33819. +#include "confdefs.h"
  33820. +/* Override any gcc2 internal prototype to avoid an error. */
  33821. +/* We use char because int might match the return type of a gcc2
  33822. + builtin and then its argument prototype would still apply. */
  33823. +char dlopen();
  33824. +
  33825. +int main() {
  33826. +dlopen()
  33827. +; return 0; }
  33828. +EOF
  33829. +if { (eval echo configure:4556: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  33830. + rm -rf conftest*
  33831. + eval "ac_cv_lib_$ac_lib_var=yes"
  33832. +else
  33833. + echo "configure: failed program was:" >&5
  33834. + cat conftest.$ac_ext >&5
  33835. + rm -rf conftest*
  33836. + eval "ac_cv_lib_$ac_lib_var=no"
  33837. +fi
  33838. +rm -f conftest*
  33839. +LIBS="$ac_save_LIBS"
  33840. +
  33841. +fi
  33842. +if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
  33843. + echo "$ac_t""yes" 1>&6
  33844. + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
  33845. +else
  33846. + echo "$ac_t""no" 1>&6
  33847. +echo $ac_n "checking for dlopen in -lsvld""... $ac_c" 1>&6
  33848. +echo "configure:4575: checking for dlopen in -lsvld" >&5
  33849. +ac_lib_var=`echo svld'_'dlopen | sed 'y%./+-%__p_%'`
  33850. +if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
  33851. + echo $ac_n "(cached) $ac_c" 1>&6
  33852. +else
  33853. + ac_save_LIBS="$LIBS"
  33854. +LIBS="-lsvld $LIBS"
  33855. +cat > conftest.$ac_ext <<EOF
  33856. +#line 4583 "configure"
  33857. +#include "confdefs.h"
  33858. +/* Override any gcc2 internal prototype to avoid an error. */
  33859. +/* We use char because int might match the return type of a gcc2
  33860. + builtin and then its argument prototype would still apply. */
  33861. +char dlopen();
  33862. +
  33863. +int main() {
  33864. +dlopen()
  33865. +; return 0; }
  33866. +EOF
  33867. +if { (eval echo configure:4594: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  33868. + rm -rf conftest*
  33869. + eval "ac_cv_lib_$ac_lib_var=yes"
  33870. +else
  33871. + echo "configure: failed program was:" >&5
  33872. + cat conftest.$ac_ext >&5
  33873. + rm -rf conftest*
  33874. + eval "ac_cv_lib_$ac_lib_var=no"
  33875. +fi
  33876. +rm -f conftest*
  33877. +LIBS="$ac_save_LIBS"
  33878. +
  33879. +fi
  33880. +if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
  33881. + echo "$ac_t""yes" 1>&6
  33882. + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
  33883. +else
  33884. + echo "$ac_t""no" 1>&6
  33885. +echo $ac_n "checking for dld_link in -ldld""... $ac_c" 1>&6
  33886. +echo "configure:4613: checking for dld_link in -ldld" >&5
  33887. +ac_lib_var=`echo dld'_'dld_link | sed 'y%./+-%__p_%'`
  33888. +if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
  33889. + echo $ac_n "(cached) $ac_c" 1>&6
  33890. +else
  33891. + ac_save_LIBS="$LIBS"
  33892. +LIBS="-ldld $LIBS"
  33893. +cat > conftest.$ac_ext <<EOF
  33894. +#line 4621 "configure"
  33895. +#include "confdefs.h"
  33896. +/* Override any gcc2 internal prototype to avoid an error. */
  33897. +/* We use char because int might match the return type of a gcc2
  33898. + builtin and then its argument prototype would still apply. */
  33899. +char dld_link();
  33900. +
  33901. +int main() {
  33902. +dld_link()
  33903. +; return 0; }
  33904. +EOF
  33905. +if { (eval echo configure:4632: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  33906. + rm -rf conftest*
  33907. + eval "ac_cv_lib_$ac_lib_var=yes"
  33908. +else
  33909. + echo "configure: failed program was:" >&5
  33910. + cat conftest.$ac_ext >&5
  33911. + rm -rf conftest*
  33912. + eval "ac_cv_lib_$ac_lib_var=no"
  33913. +fi
  33914. +rm -f conftest*
  33915. +LIBS="$ac_save_LIBS"
  33916. +
  33917. +fi
  33918. +if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
  33919. + echo "$ac_t""yes" 1>&6
  33920. + lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
  33921. +else
  33922. + echo "$ac_t""no" 1>&6
  33923. +fi
  33924. +
  33925. +
  33926. +fi
  33927. +
  33928. +
  33929. +fi
  33930. +
  33931. +
  33932. +fi
  33933. +
  33934. +
  33935. +fi
  33936. +
  33937. +
  33938. +fi
  33939. +
  33940. + ;;
  33941. + esac
  33942. +
  33943. + if test "x$lt_cv_dlopen" != xno; then
  33944. + enable_dlopen=yes
  33945. + else
  33946. + enable_dlopen=no
  33947. + fi
  33948. +
  33949. + case $lt_cv_dlopen in
  33950. + dlopen)
  33951. + save_CPPFLAGS="$CPPFLAGS"
  33952. + test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
  33953. +
  33954. + save_LDFLAGS="$LDFLAGS"
  33955. + eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
  33956. +
  33957. + save_LIBS="$LIBS"
  33958. + LIBS="$lt_cv_dlopen_libs $LIBS"
  33959. +
  33960. + echo $ac_n "checking whether a program can dlopen itself""... $ac_c" 1>&6
  33961. +echo "configure:4688: checking whether a program can dlopen itself" >&5
  33962. +if eval "test \"`echo '$''{'lt_cv_dlopen_self'+set}'`\" = set"; then
  33963. + echo $ac_n "(cached) $ac_c" 1>&6
  33964. +else
  33965. + if test "$cross_compiling" = yes; then :
  33966. + lt_cv_dlopen_self=cross
  33967. +else
  33968. + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
  33969. + lt_status=$lt_dlunknown
  33970. + cat > conftest.$ac_ext <<EOF
  33971. +#line 4698 "configure"
  33972. +#include "confdefs.h"
  33973. +
  33974. +#if HAVE_DLFCN_H
  33975. +#include <dlfcn.h>
  33976. +#endif
  33977. +
  33978. +#include <stdio.h>
  33979. +
  33980. +#ifdef RTLD_GLOBAL
  33981. +# define LT_DLGLOBAL RTLD_GLOBAL
  33982. +#else
  33983. +# ifdef DL_GLOBAL
  33984. +# define LT_DLGLOBAL DL_GLOBAL
  33985. +# else
  33986. +# define LT_DLGLOBAL 0
  33987. +# endif
  33988. +#endif
  33989. +
  33990. +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
  33991. + find out it does not work in some platform. */
  33992. +#ifndef LT_DLLAZY_OR_NOW
  33993. +# ifdef RTLD_LAZY
  33994. +# define LT_DLLAZY_OR_NOW RTLD_LAZY
  33995. +# else
  33996. +# ifdef DL_LAZY
  33997. +# define LT_DLLAZY_OR_NOW DL_LAZY
  33998. +# else
  33999. +# ifdef RTLD_NOW
  34000. +# define LT_DLLAZY_OR_NOW RTLD_NOW
  34001. +# else
  34002. +# ifdef DL_NOW
  34003. +# define LT_DLLAZY_OR_NOW DL_NOW
  34004. +# else
  34005. +# define LT_DLLAZY_OR_NOW 0
  34006. +# endif
  34007. +# endif
  34008. +# endif
  34009. +# endif
  34010. +#endif
  34011. +
  34012. +#ifdef __cplusplus
  34013. +extern "C" void exit (int);
  34014. +#endif
  34015. +
  34016. +void fnord() { int i=42;}
  34017. +int main ()
  34018. +{
  34019. + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
  34020. + int status = $lt_dlunknown;
  34021. +
  34022. + if (self)
  34023. + {
  34024. + if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
  34025. + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
  34026. + /* dlclose (self); */
  34027. + }
  34028. +
  34029. + exit (status);
  34030. +}
  34031. +EOF
  34032. + if { (eval echo configure:4759: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} 2>/dev/null; then
  34033. + (./conftest; exit; ) 2>/dev/null
  34034. + lt_status=$?
  34035. + case x$lt_status in
  34036. + x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
  34037. + x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
  34038. + x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
  34039. + esac
  34040. + else :
  34041. + # compilation failed
  34042. + lt_cv_dlopen_self=no
  34043. + fi
  34044. +fi
  34045. +rm -fr conftest*
  34046. +
  34047. +
  34048. +fi
  34049. +
  34050. +echo "$ac_t""$lt_cv_dlopen_self" 1>&6
  34051. +
  34052. + if test "x$lt_cv_dlopen_self" = xyes; then
  34053. + LDFLAGS="$LDFLAGS $link_static_flag"
  34054. + echo $ac_n "checking whether a statically linked program can dlopen itself""... $ac_c" 1>&6
  34055. +echo "configure:4782: checking whether a statically linked program can dlopen itself" >&5
  34056. +if eval "test \"`echo '$''{'lt_cv_dlopen_self_static'+set}'`\" = set"; then
  34057. + echo $ac_n "(cached) $ac_c" 1>&6
  34058. +else
  34059. + if test "$cross_compiling" = yes; then :
  34060. + lt_cv_dlopen_self_static=cross
  34061. +else
  34062. + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
  34063. + lt_status=$lt_dlunknown
  34064. + cat > conftest.$ac_ext <<EOF
  34065. +#line 4792 "configure"
  34066. +#include "confdefs.h"
  34067. +
  34068. +#if HAVE_DLFCN_H
  34069. +#include <dlfcn.h>
  34070. +#endif
  34071. +
  34072. +#include <stdio.h>
  34073. +
  34074. +#ifdef RTLD_GLOBAL
  34075. +# define LT_DLGLOBAL RTLD_GLOBAL
  34076. +#else
  34077. +# ifdef DL_GLOBAL
  34078. +# define LT_DLGLOBAL DL_GLOBAL
  34079. +# else
  34080. +# define LT_DLGLOBAL 0
  34081. +# endif
  34082. +#endif
  34083. +
  34084. +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
  34085. + find out it does not work in some platform. */
  34086. +#ifndef LT_DLLAZY_OR_NOW
  34087. +# ifdef RTLD_LAZY
  34088. +# define LT_DLLAZY_OR_NOW RTLD_LAZY
  34089. +# else
  34090. +# ifdef DL_LAZY
  34091. +# define LT_DLLAZY_OR_NOW DL_LAZY
  34092. +# else
  34093. +# ifdef RTLD_NOW
  34094. +# define LT_DLLAZY_OR_NOW RTLD_NOW
  34095. +# else
  34096. +# ifdef DL_NOW
  34097. +# define LT_DLLAZY_OR_NOW DL_NOW
  34098. +# else
  34099. +# define LT_DLLAZY_OR_NOW 0
  34100. +# endif
  34101. +# endif
  34102. +# endif
  34103. +# endif
  34104. +#endif
  34105. +
  34106. +#ifdef __cplusplus
  34107. +extern "C" void exit (int);
  34108. +#endif
  34109. +
  34110. +void fnord() { int i=42;}
  34111. +int main ()
  34112. +{
  34113. + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
  34114. + int status = $lt_dlunknown;
  34115. +
  34116. + if (self)
  34117. + {
  34118. + if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
  34119. + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
  34120. + /* dlclose (self); */
  34121. + }
  34122. +
  34123. + exit (status);
  34124. +}
  34125. +EOF
  34126. + if { (eval echo configure:4853: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} 2>/dev/null; then
  34127. + (./conftest; exit; ) 2>/dev/null
  34128. + lt_status=$?
  34129. + case x$lt_status in
  34130. + x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
  34131. + x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
  34132. + x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
  34133. + esac
  34134. + else :
  34135. + # compilation failed
  34136. + lt_cv_dlopen_self_static=no
  34137. + fi
  34138. +fi
  34139. +rm -fr conftest*
  34140. +
  34141. +
  34142. +fi
  34143. +
  34144. +echo "$ac_t""$lt_cv_dlopen_self_static" 1>&6
  34145. + fi
  34146. +
  34147. + CPPFLAGS="$save_CPPFLAGS"
  34148. + LDFLAGS="$save_LDFLAGS"
  34149. + LIBS="$save_LIBS"
  34150. + ;;
  34151. + esac
  34152. +
  34153. + case $lt_cv_dlopen_self in
  34154. + yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
  34155. + *) enable_dlopen_self=unknown ;;
  34156. + esac
  34157. +
  34158. + case $lt_cv_dlopen_self_static in
  34159. + yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
  34160. + *) enable_dlopen_self_static=unknown ;;
  34161. + esac
  34162. +fi
  34163. +
  34164. +
  34165. +if test "$enable_shared" = yes && test "$GCC" = yes; then
  34166. + case $archive_cmds in
  34167. + *'~'*)
  34168. + # FIXME: we may have to deal with multi-command sequences.
  34169. + ;;
  34170. + '$CC '*)
  34171. + # Test whether the compiler implicitly links with -lc since on some
  34172. + # systems, -lgcc has to come before -lc. If gcc already passes -lc
  34173. + # to ld, don't add -lc before -lgcc.
  34174. + echo $ac_n "checking whether -lc should be explicitly linked in""... $ac_c" 1>&6
  34175. +echo "configure:4902: checking whether -lc should be explicitly linked in" >&5
  34176. + if eval "test \"`echo '$''{'lt_cv_archive_cmds_need_lc'+set}'`\" = set"; then
  34177. + echo $ac_n "(cached) $ac_c" 1>&6
  34178. +else
  34179. + $rm conftest*
  34180. + echo 'static int dummy;' > conftest.$ac_ext
  34181. +
  34182. + if { (eval echo configure:4909: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  34183. + soname=conftest
  34184. + lib=conftest
  34185. + libobjs=conftest.$ac_objext
  34186. + deplibs=
  34187. + wl=$lt_cv_prog_cc_wl
  34188. + compiler_flags=-v
  34189. + linker_flags=-v
  34190. + verstring=
  34191. + output_objdir=.
  34192. + libname=conftest
  34193. + save_allow_undefined_flag=$allow_undefined_flag
  34194. + allow_undefined_flag=
  34195. + 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; }
  34196. + then
  34197. + lt_cv_archive_cmds_need_lc=no
  34198. + else
  34199. + lt_cv_archive_cmds_need_lc=yes
  34200. + fi
  34201. + allow_undefined_flag=$save_allow_undefined_flag
  34202. + else
  34203. + cat conftest.err 1>&5
  34204. + fi
  34205. +fi
  34206. +
  34207. + echo "$ac_t""$lt_cv_archive_cmds_need_lc" 1>&6
  34208. + ;;
  34209. + esac
  34210. +fi
  34211. +need_lc=${lt_cv_archive_cmds_need_lc-yes}
  34212. +
  34213. +# The second clause should only fire when bootstrapping the
  34214. +# libtool distribution, otherwise you forgot to ship ltmain.sh
  34215. +# with your package, and you will get complaints that there are
  34216. +# no rules to generate ltmain.sh.
  34217. +if test -f "$ltmain"; then
  34218. + :
  34219. +else
  34220. + # If there is no Makefile yet, we rely on a make rule to execute
  34221. + # `config.status --recheck' to rerun these tests and create the
  34222. + # libtool script then.
  34223. + test -f Makefile && make "$ltmain"
  34224. +fi
  34225. +
  34226. +if test -f "$ltmain"; then
  34227. + trap "$rm \"${ofile}T\"; exit 1" 1 2 15
  34228. + $rm -f "${ofile}T"
  34229. +
  34230. + echo creating $ofile
  34231. +
  34232. + # Now quote all the things that may contain metacharacters while being
  34233. + # careful not to overquote the AC_SUBSTed values. We take copies of the
  34234. + # variables and quote the copies for generation of the libtool script.
  34235. + for var in echo old_CC old_CFLAGS SED \
  34236. + AR AR_FLAGS CC LD LN_S NM SHELL \
  34237. + reload_flag reload_cmds wl \
  34238. + pic_flag link_static_flag no_builtin_flag export_dynamic_flag_spec \
  34239. + thread_safe_flag_spec whole_archive_flag_spec libname_spec \
  34240. + library_names_spec soname_spec \
  34241. + RANLIB old_archive_cmds old_archive_from_new_cmds old_postinstall_cmds \
  34242. + old_postuninstall_cmds archive_cmds archive_expsym_cmds postinstall_cmds \
  34243. + postuninstall_cmds extract_expsyms_cmds old_archive_from_expsyms_cmds \
  34244. + old_striplib striplib file_magic_cmd export_symbols_cmds \
  34245. + deplibs_check_method allow_undefined_flag no_undefined_flag \
  34246. + finish_cmds finish_eval global_symbol_pipe global_symbol_to_cdecl \
  34247. + global_symbol_to_c_name_address \
  34248. + hardcode_libdir_flag_spec hardcode_libdir_separator \
  34249. + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
  34250. + compiler_c_o compiler_o_lo need_locks exclude_expsyms include_expsyms; do
  34251. +
  34252. + case $var in
  34253. + reload_cmds | old_archive_cmds | old_archive_from_new_cmds | \
  34254. + old_postinstall_cmds | old_postuninstall_cmds | \
  34255. + export_symbols_cmds | archive_cmds | archive_expsym_cmds | \
  34256. + extract_expsyms_cmds | old_archive_from_expsyms_cmds | \
  34257. + postinstall_cmds | postuninstall_cmds | \
  34258. + finish_cmds | sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
  34259. + # Double-quote double-evaled strings.
  34260. + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
  34261. + ;;
  34262. + *)
  34263. + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
  34264. + ;;
  34265. + esac
  34266. + done
  34267. +
  34268. + cat <<__EOF__ > "${ofile}T"
  34269. +#! $SHELL
  34270. +
  34271. +# `$echo "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
  34272. +# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
  34273. +# NOTE: Changes made to this file will be lost: look at ltmain.sh.
  34274. +#
  34275. +# Copyright (C) 1996-2000 Free Software Foundation, Inc.
  34276. +# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
  34277. +#
  34278. +# This program is free software; you can redistribute it and/or modify
  34279. +# it under the terms of the GNU General Public License as published by
  34280. +# the Free Software Foundation; either version 2 of the License, or
  34281. +# (at your option) any later version.
  34282. +#
  34283. +# This program is distributed in the hope that it will be useful, but
  34284. +# WITHOUT ANY WARRANTY; without even the implied warranty of
  34285. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  34286. +# General Public License for more details.
  34287. +#
  34288. +# You should have received a copy of the GNU General Public License
  34289. +# along with this program; if not, write to the Free Software
  34290. +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  34291. +#
  34292. +# As a special exception to the GNU General Public License, if you
  34293. +# distribute this file as part of a program that contains a
  34294. +# configuration script generated by Autoconf, you may include it under
  34295. +# the same distribution terms that you use for the rest of that program.
  34296. +
  34297. +# A sed that does not truncate output.
  34298. +SED=$lt_SED
  34299. +
  34300. +# Sed that helps us avoid accidentally triggering echo(1) options like -n.
  34301. +Xsed="${SED} -e s/^X//"
  34302. +
  34303. +# The HP-UX ksh and POSIX shell print the target directory to stdout
  34304. +# if CDPATH is set.
  34305. +if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
  34306. +
  34307. +# ### BEGIN LIBTOOL CONFIG
  34308. +
  34309. +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
  34310. +
  34311. +# Shell to use when invoking shell scripts.
  34312. +SHELL=$lt_SHELL
  34313. +
  34314. +# Whether or not to build shared libraries.
  34315. +build_libtool_libs=$enable_shared
  34316. +
  34317. +# Whether or not to build static libraries.
  34318. +build_old_libs=$enable_static
  34319. +
  34320. +# Whether or not to add -lc for building shared libraries.
  34321. +build_libtool_need_lc=$need_lc
  34322. +
  34323. +# Whether or not to optimize for fast installation.
  34324. +fast_install=$enable_fast_install
  34325. +
  34326. +# The host system.
  34327. +host_alias=$host_alias
  34328. +host=$host
  34329. +
  34330. +# An echo program that does not interpret backslashes.
  34331. +echo=$lt_echo
  34332. +
  34333. +# The archiver.
  34334. +AR=$lt_AR
  34335. +AR_FLAGS=$lt_AR_FLAGS
  34336. +
  34337. +# The default C compiler.
  34338. +CC=$lt_CC
  34339. +
  34340. +# Is the compiler the GNU C compiler?
  34341. +with_gcc=$GCC
  34342. +
  34343. +# The linker used to build libraries.
  34344. +LD=$lt_LD
  34345. +
  34346. +# Whether we need hard or soft links.
  34347. +LN_S=$lt_LN_S
  34348. +
  34349. +# A BSD-compatible nm program.
  34350. +NM=$lt_NM
  34351. +
  34352. +# A symbol stripping program
  34353. +STRIP="$STRIP"
  34354. +
  34355. +# Used to examine libraries when file_magic_cmd begins "file"
  34356. +MAGIC_CMD=$MAGIC_CMD
  34357. +
  34358. +# Used on cygwin: DLL creation program.
  34359. +DLLTOOL="$DLLTOOL"
  34360. +
  34361. +# Used on cygwin: object dumper.
  34362. +OBJDUMP="$OBJDUMP"
  34363. +
  34364. +# Used on cygwin: assembler.
  34365. +AS="$AS"
  34366. +
  34367. +# The name of the directory that contains temporary libtool files.
  34368. +objdir=$objdir
  34369. +
  34370. +# How to create reloadable object files.
  34371. +reload_flag=$lt_reload_flag
  34372. +reload_cmds=$lt_reload_cmds
  34373. +
  34374. +# How to pass a linker flag through the compiler.
  34375. +wl=$lt_wl
  34376. +
  34377. +# Object file suffix (normally "o").
  34378. +objext="$ac_objext"
  34379. +
  34380. +# Old archive suffix (normally "a").
  34381. +libext="$libext"
  34382. +
  34383. +# Executable file suffix (normally "").
  34384. +exeext="$exeext"
  34385. +
  34386. +# Additional compiler flags for building library objects.
  34387. +pic_flag=$lt_pic_flag
  34388. +pic_mode=$pic_mode
  34389. +
  34390. +# Does compiler simultaneously support -c and -o options?
  34391. +compiler_c_o=$lt_compiler_c_o
  34392. +
  34393. +# Can we write directly to a .lo ?
  34394. +compiler_o_lo=$lt_compiler_o_lo
  34395. +
  34396. +# Must we lock files when doing compilation ?
  34397. +need_locks=$lt_need_locks
  34398. +
  34399. +# Do we need the lib prefix for modules?
  34400. +need_lib_prefix=$need_lib_prefix
  34401. -LD="$ac_cv_path_LD"
  34402. -if test -n "$LD"; then
  34403. - echo "$ac_t""$LD" 1>&6
  34404. -else
  34405. - echo "$ac_t""no" 1>&6
  34406. -fi
  34407. -test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
  34408. -echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6
  34409. -echo "configure:1424: checking if the linker ($LD) is GNU ld" >&5
  34410. -if eval "test \"`echo '$''{'ac_cv_prog_gnu_ld'+set}'`\" = set"; then
  34411. - echo $ac_n "(cached) $ac_c" 1>&6
  34412. -else
  34413. - # I'd rather use --version here, but apparently some GNU ld's only accept -v.
  34414. -if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
  34415. - ac_cv_prog_gnu_ld=yes
  34416. -else
  34417. - ac_cv_prog_gnu_ld=no
  34418. -fi
  34419. -fi
  34420. +# Do we need a version for libraries?
  34421. +need_version=$need_version
  34422. -echo "$ac_t""$ac_cv_prog_gnu_ld" 1>&6
  34423. +# Whether dlopen is supported.
  34424. +dlopen_support=$enable_dlopen
  34425. +# Whether dlopen of programs is supported.
  34426. +dlopen_self=$enable_dlopen_self
  34427. -echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
  34428. -echo "configure:1440: checking for BSD-compatible nm" >&5
  34429. -if eval "test \"`echo '$''{'ac_cv_path_NM'+set}'`\" = set"; then
  34430. - echo $ac_n "(cached) $ac_c" 1>&6
  34431. -else
  34432. - if test -n "$NM"; then
  34433. - # Let the user override the test.
  34434. - ac_cv_path_NM="$NM"
  34435. -else
  34436. - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
  34437. - for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
  34438. - test -z "$ac_dir" && ac_dir=.
  34439. - if test -f $ac_dir/nm || test -f $ac_dir/nm$ac_exeext ; then
  34440. - # Check to see if the nm accepts a BSD-compat flag.
  34441. - # Adding the `sed 1q' prevents false positives on HP-UX, which says:
  34442. - # nm: unknown option "B" ignored
  34443. - if ($ac_dir/nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
  34444. - ac_cv_path_NM="$ac_dir/nm -B"
  34445. - break
  34446. - elif ($ac_dir/nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
  34447. - ac_cv_path_NM="$ac_dir/nm -p"
  34448. - break
  34449. - else
  34450. - ac_cv_path_NM=${ac_cv_path_NM="$ac_dir/nm"} # keep the first match, but
  34451. - continue # so that we can try to find one that supports BSD flags
  34452. - fi
  34453. - fi
  34454. - done
  34455. - IFS="$ac_save_ifs"
  34456. - test -z "$ac_cv_path_NM" && ac_cv_path_NM=nm
  34457. -fi
  34458. -fi
  34459. +# Whether dlopen of statically linked programs is supported.
  34460. +dlopen_self_static=$enable_dlopen_self_static
  34461. -NM="$ac_cv_path_NM"
  34462. -echo "$ac_t""$NM" 1>&6
  34463. +# Compiler flag to prevent dynamic linking.
  34464. +link_static_flag=$lt_link_static_flag
  34465. -echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
  34466. -echo "configure:1476: checking whether ln -s works" >&5
  34467. -if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
  34468. - echo $ac_n "(cached) $ac_c" 1>&6
  34469. -else
  34470. - rm -f conftestdata
  34471. -if ln -s X conftestdata 2>/dev/null
  34472. -then
  34473. - rm -f conftestdata
  34474. - ac_cv_prog_LN_S="ln -s"
  34475. -else
  34476. - ac_cv_prog_LN_S=ln
  34477. -fi
  34478. -fi
  34479. -LN_S="$ac_cv_prog_LN_S"
  34480. -if test "$ac_cv_prog_LN_S" = "ln -s"; then
  34481. - echo "$ac_t""yes" 1>&6
  34482. -else
  34483. - echo "$ac_t""no" 1>&6
  34484. -fi
  34485. +# Compiler flag to turn off builtin functions.
  34486. +no_builtin_flag=$lt_no_builtin_flag
  34487. +# Compiler flag to allow reflexive dlopens.
  34488. +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
  34489. -case "$target" in
  34490. -NONE) lt_target="$host" ;;
  34491. -*) lt_target="$target" ;;
  34492. -esac
  34493. +# Compiler flag to generate shared objects directly from archives.
  34494. +whole_archive_flag_spec=$lt_whole_archive_flag_spec
  34495. -# Check for any special flags to pass to ltconfig.
  34496. -libtool_flags="--cache-file=$cache_file"
  34497. -test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
  34498. -test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
  34499. -test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
  34500. -test "$ac_cv_prog_gcc" = yes && libtool_flags="$libtool_flags --with-gcc"
  34501. -test "$ac_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
  34502. +# Compiler flag to generate thread-safe objects.
  34503. +thread_safe_flag_spec=$lt_thread_safe_flag_spec
  34504. +# Library versioning type.
  34505. +version_type=$version_type
  34506. -# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
  34507. -if test "${enable_libtool_lock+set}" = set; then
  34508. - enableval="$enable_libtool_lock"
  34509. - :
  34510. -fi
  34511. +# Format of library name prefix.
  34512. +libname_spec=$lt_libname_spec
  34513. -test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
  34514. -test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
  34515. +# List of archive names. First name is the real one, the rest are links.
  34516. +# The last name is the one that the linker finds with -lNAME.
  34517. +library_names_spec=$lt_library_names_spec
  34518. -# Some flags need to be propagated to the compiler or linker for good
  34519. -# libtool support.
  34520. -case "$lt_target" in
  34521. -*-*-irix6*)
  34522. - # Find out which ABI we are using.
  34523. - echo '#line 1525 "configure"' > conftest.$ac_ext
  34524. - if { (eval echo configure:1526: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  34525. - case "`/usr/bin/file conftest.o`" in
  34526. - *32-bit*)
  34527. - LD="${LD-ld} -32"
  34528. - ;;
  34529. - *N32*)
  34530. - LD="${LD-ld} -n32"
  34531. - ;;
  34532. - *64-bit*)
  34533. - LD="${LD-ld} -64"
  34534. - ;;
  34535. - esac
  34536. - fi
  34537. - rm -rf conftest*
  34538. - ;;
  34539. +# The coded name of the library, if different from the real name.
  34540. +soname_spec=$lt_soname_spec
  34541. -*-*-sco3.2v5*)
  34542. - # On SCO OpenServer 5, we need -belf to get full-featured binaries.
  34543. - SAVE_CFLAGS="$CFLAGS"
  34544. - CFLAGS="$CFLAGS -belf"
  34545. - echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
  34546. -echo "configure:1547: checking whether the C compiler needs -belf" >&5
  34547. -if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
  34548. - echo $ac_n "(cached) $ac_c" 1>&6
  34549. -else
  34550. - cat > conftest.$ac_ext <<EOF
  34551. -#line 1552 "configure"
  34552. -#include "confdefs.h"
  34553. +# Commands used to build and install an old-style archive.
  34554. +RANLIB=$lt_RANLIB
  34555. +old_archive_cmds=$lt_old_archive_cmds
  34556. +old_postinstall_cmds=$lt_old_postinstall_cmds
  34557. +old_postuninstall_cmds=$lt_old_postuninstall_cmds
  34558. -int main() {
  34559. +# Create an old-style archive from a shared archive.
  34560. +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
  34561. -; return 0; }
  34562. -EOF
  34563. -if { (eval echo configure:1559: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  34564. - rm -rf conftest*
  34565. - lt_cv_cc_needs_belf=yes
  34566. -else
  34567. - echo "configure: failed program was:" >&5
  34568. - cat conftest.$ac_ext >&5
  34569. - rm -rf conftest*
  34570. - lt_cv_cc_needs_belf=no
  34571. -fi
  34572. -rm -f conftest*
  34573. -fi
  34574. +# Create a temporary old-style archive to link instead of a shared archive.
  34575. +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
  34576. -echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6
  34577. - if test x"$lt_cv_cc_needs_belf" != x"yes"; then
  34578. - # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
  34579. - CFLAGS="$SAVE_CFLAGS"
  34580. - fi
  34581. - ;;
  34582. +# Commands used to build and install a shared archive.
  34583. +archive_cmds=$lt_archive_cmds
  34584. +archive_expsym_cmds=$lt_archive_expsym_cmds
  34585. +postinstall_cmds=$lt_postinstall_cmds
  34586. +postuninstall_cmds=$lt_postuninstall_cmds
  34587. +# Commands to strip libraries.
  34588. +old_striplib=$lt_old_striplib
  34589. +striplib=$lt_striplib
  34590. -esac
  34591. +# Method to check whether dependent libraries are shared objects.
  34592. +deplibs_check_method=$lt_deplibs_check_method
  34593. +# Command to use when deplibs_check_method == file_magic.
  34594. +file_magic_cmd=$lt_file_magic_cmd
  34595. -# Save cache, so that ltconfig can load it
  34596. -cat > confcache <<\EOF
  34597. -# This file is a shell script that caches the results of configure
  34598. -# tests run on this system so they can be shared between configure
  34599. -# scripts and configure runs. It is not useful on other systems.
  34600. -# If it contains results you don't want to keep, you may remove or edit it.
  34601. +# Flag that allows shared libraries with undefined symbols to be built.
  34602. +allow_undefined_flag=$lt_allow_undefined_flag
  34603. +
  34604. +# Flag that forces no undefined symbols.
  34605. +no_undefined_flag=$lt_no_undefined_flag
  34606. +
  34607. +# Commands used to finish a libtool library installation in a directory.
  34608. +finish_cmds=$lt_finish_cmds
  34609. +
  34610. +# Same as above, but a single script fragment to be evaled but not shown.
  34611. +finish_eval=$lt_finish_eval
  34612. +
  34613. +# Take the output of nm and produce a listing of raw symbols and C names.
  34614. +global_symbol_pipe=$lt_global_symbol_pipe
  34615. +
  34616. +# Transform the output of nm in a proper C declaration
  34617. +global_symbol_to_cdecl=$lt_global_symbol_to_cdecl
  34618. +
  34619. +# Transform the output of nm in a C name address pair
  34620. +global_symbol_to_c_name_address=$lt_global_symbol_to_c_name_address
  34621. +
  34622. +# This is the shared library runtime path variable.
  34623. +runpath_var=$runpath_var
  34624. +
  34625. +# This is the shared library path variable.
  34626. +shlibpath_var=$shlibpath_var
  34627. +
  34628. +# Is shlibpath searched before the hard-coded library search path?
  34629. +shlibpath_overrides_runpath=$shlibpath_overrides_runpath
  34630. +
  34631. +# How to hardcode a shared library path into an executable.
  34632. +hardcode_action=$hardcode_action
  34633. +
  34634. +# Whether we should hardcode library paths into libraries.
  34635. +hardcode_into_libs=$hardcode_into_libs
  34636. +
  34637. +# Flag to hardcode \$libdir into a binary during linking.
  34638. +# This must work even if \$libdir does not exist.
  34639. +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
  34640. +
  34641. +# Whether we need a single -rpath flag with a separated argument.
  34642. +hardcode_libdir_separator=$lt_hardcode_libdir_separator
  34643. +
  34644. +# Set to yes if using DIR/libNAME.so during linking hardcodes DIR into the
  34645. +# resulting binary.
  34646. +hardcode_direct=$hardcode_direct
  34647. +
  34648. +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
  34649. +# resulting binary.
  34650. +hardcode_minus_L=$hardcode_minus_L
  34651. +
  34652. +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
  34653. +# the resulting binary.
  34654. +hardcode_shlibpath_var=$hardcode_shlibpath_var
  34655. +
  34656. +# Variables whose values should be saved in libtool wrapper scripts and
  34657. +# restored at relink time.
  34658. +variables_saved_for_relink="$variables_saved_for_relink"
  34659. +
  34660. +# Whether libtool must link a program against all its dependency libraries.
  34661. +link_all_deplibs=$link_all_deplibs
  34662. +
  34663. +# Compile-time system search path for libraries
  34664. +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
  34665. +
  34666. +# Run-time system search path for libraries
  34667. +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
  34668. +
  34669. +# Fix the shell variable \$srcfile for the compiler.
  34670. +fix_srcfile_path="$fix_srcfile_path"
  34671. +
  34672. +# Set to yes if exported symbols are required.
  34673. +always_export_symbols=$always_export_symbols
  34674. +
  34675. +# The commands to list exported symbols.
  34676. +export_symbols_cmds=$lt_export_symbols_cmds
  34677. +
  34678. +# The commands to extract the exported symbol list from a shared archive.
  34679. +extract_expsyms_cmds=$lt_extract_expsyms_cmds
  34680. +
  34681. +# Symbols that should not be listed in the preloaded symbols.
  34682. +exclude_expsyms=$lt_exclude_expsyms
  34683. +
  34684. +# Symbols that must always be exported.
  34685. +include_expsyms=$lt_include_expsyms
  34686. +
  34687. +# ### END LIBTOOL CONFIG
  34688. +
  34689. +__EOF__
  34690. +
  34691. + case $host_os in
  34692. + aix3*)
  34693. + cat <<\EOF >> "${ofile}T"
  34694. +
  34695. +# AIX sometimes has problems with the GCC collect2 program. For some
  34696. +# reason, if we set the COLLECT_NAMES environment variable, the problems
  34697. +# vanish in a puff of smoke.
  34698. +if test "X${COLLECT_NAMES+set}" != Xset; then
  34699. + COLLECT_NAMES=
  34700. + export COLLECT_NAMES
  34701. +fi
  34702. +EOF
  34703. + ;;
  34704. + esac
  34705. +
  34706. + case $host_os in
  34707. + cygwin* | mingw* | pw32* | os2*)
  34708. + cat <<'EOF' >> "${ofile}T"
  34709. + # This is a source program that is used to create dlls on Windows
  34710. + # Don't remove nor modify the starting and closing comments
  34711. +# /* ltdll.c starts here */
  34712. +# #define WIN32_LEAN_AND_MEAN
  34713. +# #include <windows.h>
  34714. +# #undef WIN32_LEAN_AND_MEAN
  34715. +# #include <stdio.h>
  34716. #
  34717. -# By default, configure uses ./config.cache as the cache file,
  34718. -# creating it if it does not exist already. You can give configure
  34719. -# the --cache-file=FILE option to use a different cache file; that is
  34720. -# what configure does when it calls configure scripts in
  34721. -# subdirectories, so they share the cache.
  34722. -# Giving --cache-file=/dev/null disables caching, for debugging configure.
  34723. -# config.status only pays attention to the cache file if you give it the
  34724. -# --recheck option to rerun configure.
  34725. +# #ifndef __CYGWIN__
  34726. +# # ifdef __CYGWIN32__
  34727. +# # define __CYGWIN__ __CYGWIN32__
  34728. +# # endif
  34729. +# #endif
  34730. +#
  34731. +# #ifdef __cplusplus
  34732. +# extern "C" {
  34733. +# #endif
  34734. +# BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved);
  34735. +# #ifdef __cplusplus
  34736. +# }
  34737. +# #endif
  34738. +#
  34739. +# #ifdef __CYGWIN__
  34740. +# #include <cygwin/cygwin_dll.h>
  34741. +# DECLARE_CYGWIN_DLL( DllMain );
  34742. +# #endif
  34743. +# HINSTANCE __hDllInstance_base;
  34744. +#
  34745. +# BOOL APIENTRY
  34746. +# DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved)
  34747. +# {
  34748. +# __hDllInstance_base = hInst;
  34749. +# return TRUE;
  34750. +# }
  34751. +# /* ltdll.c ends here */
  34752. + # This is a source program that is used to create import libraries
  34753. + # on Windows for dlls which lack them. Don't remove nor modify the
  34754. + # starting and closing comments
  34755. +# /* impgen.c starts here */
  34756. +# /* Copyright (C) 1999-2000 Free Software Foundation, Inc.
  34757. +#
  34758. +# This file is part of GNU libtool.
  34759. #
  34760. +# This program is free software; you can redistribute it and/or modify
  34761. +# it under the terms of the GNU General Public License as published by
  34762. +# the Free Software Foundation; either version 2 of the License, or
  34763. +# (at your option) any later version.
  34764. +#
  34765. +# This program is distributed in the hope that it will be useful,
  34766. +# but WITHOUT ANY WARRANTY; without even the implied warranty of
  34767. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  34768. +# GNU General Public License for more details.
  34769. +#
  34770. +# You should have received a copy of the GNU General Public License
  34771. +# along with this program; if not, write to the Free Software
  34772. +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  34773. +# */
  34774. +#
  34775. +# #include <stdio.h> /* for printf() */
  34776. +# #include <unistd.h> /* for open(), lseek(), read() */
  34777. +# #include <fcntl.h> /* for O_RDONLY, O_BINARY */
  34778. +# #include <string.h> /* for strdup() */
  34779. +#
  34780. +# /* O_BINARY isn't required (or even defined sometimes) under Unix */
  34781. +# #ifndef O_BINARY
  34782. +# #define O_BINARY 0
  34783. +# #endif
  34784. +#
  34785. +# static unsigned int
  34786. +# pe_get16 (fd, offset)
  34787. +# int fd;
  34788. +# int offset;
  34789. +# {
  34790. +# unsigned char b[2];
  34791. +# lseek (fd, offset, SEEK_SET);
  34792. +# read (fd, b, 2);
  34793. +# return b[0] + (b[1]<<8);
  34794. +# }
  34795. +#
  34796. +# static unsigned int
  34797. +# pe_get32 (fd, offset)
  34798. +# int fd;
  34799. +# int offset;
  34800. +# {
  34801. +# unsigned char b[4];
  34802. +# lseek (fd, offset, SEEK_SET);
  34803. +# read (fd, b, 4);
  34804. +# return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24);
  34805. +# }
  34806. +#
  34807. +# static unsigned int
  34808. +# pe_as32 (ptr)
  34809. +# void *ptr;
  34810. +# {
  34811. +# unsigned char *b = ptr;
  34812. +# return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24);
  34813. +# }
  34814. +#
  34815. +# int
  34816. +# main (argc, argv)
  34817. +# int argc;
  34818. +# char *argv[];
  34819. +# {
  34820. +# int dll;
  34821. +# unsigned long pe_header_offset, opthdr_ofs, num_entries, i;
  34822. +# unsigned long export_rva, export_size, nsections, secptr, expptr;
  34823. +# unsigned long name_rvas, nexp;
  34824. +# unsigned char *expdata, *erva;
  34825. +# char *filename, *dll_name;
  34826. +#
  34827. +# filename = argv[1];
  34828. +#
  34829. +# dll = open(filename, O_RDONLY|O_BINARY);
  34830. +# if (dll < 1)
  34831. +# return 1;
  34832. +#
  34833. +# dll_name = filename;
  34834. +#
  34835. +# for (i=0; filename[i]; i++)
  34836. +# if (filename[i] == '/' || filename[i] == '\\' || filename[i] == ':')
  34837. +# dll_name = filename + i +1;
  34838. +#
  34839. +# pe_header_offset = pe_get32 (dll, 0x3c);
  34840. +# opthdr_ofs = pe_header_offset + 4 + 20;
  34841. +# num_entries = pe_get32 (dll, opthdr_ofs + 92);
  34842. +#
  34843. +# if (num_entries < 1) /* no exports */
  34844. +# return 1;
  34845. +#
  34846. +# export_rva = pe_get32 (dll, opthdr_ofs + 96);
  34847. +# export_size = pe_get32 (dll, opthdr_ofs + 100);
  34848. +# nsections = pe_get16 (dll, pe_header_offset + 4 +2);
  34849. +# secptr = (pe_header_offset + 4 + 20 +
  34850. +# pe_get16 (dll, pe_header_offset + 4 + 16));
  34851. +#
  34852. +# expptr = 0;
  34853. +# for (i = 0; i < nsections; i++)
  34854. +# {
  34855. +# char sname[8];
  34856. +# unsigned long secptr1 = secptr + 40 * i;
  34857. +# unsigned long vaddr = pe_get32 (dll, secptr1 + 12);
  34858. +# unsigned long vsize = pe_get32 (dll, secptr1 + 16);
  34859. +# unsigned long fptr = pe_get32 (dll, secptr1 + 20);
  34860. +# lseek(dll, secptr1, SEEK_SET);
  34861. +# read(dll, sname, 8);
  34862. +# if (vaddr <= export_rva && vaddr+vsize > export_rva)
  34863. +# {
  34864. +# expptr = fptr + (export_rva - vaddr);
  34865. +# if (export_rva + export_size > vaddr + vsize)
  34866. +# export_size = vsize - (export_rva - vaddr);
  34867. +# break;
  34868. +# }
  34869. +# }
  34870. +#
  34871. +# expdata = (unsigned char*)malloc(export_size);
  34872. +# lseek (dll, expptr, SEEK_SET);
  34873. +# read (dll, expdata, export_size);
  34874. +# erva = expdata - export_rva;
  34875. +#
  34876. +# nexp = pe_as32 (expdata+24);
  34877. +# name_rvas = pe_as32 (expdata+32);
  34878. +#
  34879. +# printf ("EXPORTS\n");
  34880. +# for (i = 0; i<nexp; i++)
  34881. +# {
  34882. +# unsigned long name_rva = pe_as32 (erva+name_rvas+i*4);
  34883. +# printf ("\t%s @ %ld ;\n", erva+name_rva, 1+ i);
  34884. +# }
  34885. +#
  34886. +# return 0;
  34887. +# }
  34888. +# /* impgen.c ends here */
  34889. +
  34890. EOF
  34891. -# The following way of writing the cache mishandles newlines in values,
  34892. -# but we know of no workaround that is simple, portable, and efficient.
  34893. -# So, don't put newlines in cache variables' values.
  34894. -# Ultrix sh set writes to stderr and can't be redirected directly,
  34895. -# and sets the high bit in the cache file unless we assign to the vars.
  34896. -(set) 2>&1 |
  34897. - case `(ac_space=' '; set | grep ac_space) 2>&1` in
  34898. - *ac_space=\ *)
  34899. - # `set' does not quote correctly, so add quotes (double-quote substitution
  34900. - # turns \\\\ into \\, and sed turns \\ into \).
  34901. - sed -n \
  34902. - -e "s/'/'\\\\''/g" \
  34903. - -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
  34904. - ;;
  34905. - *)
  34906. - # `set' quotes correctly as required by POSIX, so do not add quotes.
  34907. - sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
  34908. ;;
  34909. - esac >> confcache
  34910. -if cmp -s $cache_file confcache; then
  34911. - :
  34912. -else
  34913. - if test -w $cache_file; then
  34914. - echo "updating cache $cache_file"
  34915. - cat confcache > $cache_file
  34916. - else
  34917. - echo "not updating unwritable cache $cache_file"
  34918. - fi
  34919. + esac
  34920. +
  34921. + # We use sed instead of cat because bash on DJGPP gets confused if
  34922. + # if finds mixed CR/LF and LF-only lines. Since sed operates in
  34923. + # text mode, it properly converts lines to CR/LF. This bash problem
  34924. + # is reportedly fixed, but why not run on old versions too?
  34925. + sed '$q' "$ltmain" >> "${ofile}T" || (rm -f "${ofile}T"; exit 1)
  34926. +
  34927. + mv -f "${ofile}T" "$ofile" || \
  34928. + (rm -f "$ofile" && cp "${ofile}T" "$ofile" && rm -f "${ofile}T")
  34929. + chmod +x "$ofile"
  34930. fi
  34931. -rm -f confcache
  34932. -# Actually configure libtool. ac_aux_dir is where install-sh is found.
  34933. -CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
  34934. -LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
  34935. -LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" \
  34936. -DLLTOOL="$DLLTOOL" AS="$AS" OBJDUMP="$OBJDUMP" \
  34937. -${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
  34938. -$libtool_flags --no-verify $ac_aux_dir/ltmain.sh $lt_target \
  34939. -|| { echo "configure: error: libtool configure failed" 1>&2; exit 1; }
  34940. -# Reload cache, that may have been modified by ltconfig
  34941. -if test -r "$cache_file"; then
  34942. - echo "loading cache $cache_file"
  34943. - . $cache_file
  34944. -else
  34945. - echo "creating cache $cache_file"
  34946. - > $cache_file
  34947. -fi
  34948. # This can be used to rebuild libtool when needed
  34949. -LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh"
  34950. +LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
  34951. # Always use our own libtool.
  34952. LIBTOOL='$(SHELL) $(top_builddir)/libtool'
  34953. -# Redirect the config.log output again, so that the ltconfig log is not
  34954. -# clobbered by the next message.
  34955. -exec 5>>./config.log
  34956. +# Prevent multiple expansion
  34957. -echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&6
  34958. -echo "configure:1662: checking for POSIXized ISC" >&5
  34959. -if test -d /etc/conf/kconfig.d &&
  34960. - grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1
  34961. -then
  34962. - echo "$ac_t""yes" 1>&6
  34963. - ISC=yes # If later tests want to check for ISC.
  34964. - cat >> confdefs.h <<\EOF
  34965. -#define _POSIX_SOURCE 1
  34966. +
  34967. +
  34968. + echo $ac_n "checking for strerror in -lcposix""... $ac_c" 1>&6
  34969. +echo "configure:5509: checking for strerror in -lcposix" >&5
  34970. +ac_lib_var=`echo cposix'_'strerror | sed 'y%./+-%__p_%'`
  34971. +if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
  34972. + echo $ac_n "(cached) $ac_c" 1>&6
  34973. +else
  34974. + ac_save_LIBS="$LIBS"
  34975. +LIBS="-lcposix $LIBS"
  34976. +cat > conftest.$ac_ext <<EOF
  34977. +#line 5517 "configure"
  34978. +#include "confdefs.h"
  34979. +/* Override any gcc2 internal prototype to avoid an error. */
  34980. +/* We use char because int might match the return type of a gcc2
  34981. + builtin and then its argument prototype would still apply. */
  34982. +char strerror();
  34983. +
  34984. +int main() {
  34985. +strerror()
  34986. +; return 0; }
  34987. EOF
  34988. +if { (eval echo configure:5528: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  34989. + rm -rf conftest*
  34990. + eval "ac_cv_lib_$ac_lib_var=yes"
  34991. +else
  34992. + echo "configure: failed program was:" >&5
  34993. + cat conftest.$ac_ext >&5
  34994. + rm -rf conftest*
  34995. + eval "ac_cv_lib_$ac_lib_var=no"
  34996. +fi
  34997. +rm -f conftest*
  34998. +LIBS="$ac_save_LIBS"
  34999. - if test "$GCC" = yes; then
  35000. - CC="$CC -posix"
  35001. - else
  35002. - CC="$CC -Xp"
  35003. - fi
  35004. +fi
  35005. +if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
  35006. + echo "$ac_t""yes" 1>&6
  35007. + LIBS="$LIBS -lcposix"
  35008. else
  35009. echo "$ac_t""no" 1>&6
  35010. - ISC=
  35011. fi
  35012. +
  35013. +
  35014. echo $ac_n "checking for ${CC-cc} option to accept ANSI C""... $ac_c" 1>&6
  35015. -echo "configure:1686: checking for ${CC-cc} option to accept ANSI C" >&5
  35016. +echo "configure:5554: checking for ${CC-cc} option to accept ANSI C" >&5
  35017. if eval "test \"`echo '$''{'am_cv_prog_cc_stdc'+set}'`\" = set"; then
  35018. echo $ac_n "(cached) $ac_c" 1>&6
  35019. else
  35020. @@ -1698,7 +5566,7 @@
  35021. do
  35022. CC="$ac_save_CC $ac_arg"
  35023. cat > conftest.$ac_ext <<EOF
  35024. -#line 1702 "configure"
  35025. +#line 5570 "configure"
  35026. #include "confdefs.h"
  35027. #include <stdarg.h>
  35028. #include <stdio.h>
  35029. @@ -1735,7 +5603,7 @@
  35030. ; return 0; }
  35031. EOF
  35032. -if { (eval echo configure:1739: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  35033. +if { (eval echo configure:5607: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  35034. rm -rf conftest*
  35035. am_cv_prog_cc_stdc="$ac_arg"; break
  35036. else
  35037. @@ -1761,7 +5629,7 @@
  35038. echo $ac_n "checking for function prototypes""... $ac_c" 1>&6
  35039. -echo "configure:1765: checking for function prototypes" >&5
  35040. +echo "configure:5633: checking for function prototypes" >&5
  35041. if test "$am_cv_prog_cc_stdc" != no; then
  35042. echo "$ac_t""yes" 1>&6
  35043. cat >> confdefs.h <<\EOF
  35044. @@ -1774,12 +5642,12 @@
  35045. U=_ ANSI2KNR=./ansi2knr
  35046. # Ensure some checks needed by ansi2knr itself.
  35047. echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
  35048. -echo "configure:1778: checking for ANSI C header files" >&5
  35049. +echo "configure:5646: checking for ANSI C header files" >&5
  35050. if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
  35051. echo $ac_n "(cached) $ac_c" 1>&6
  35052. else
  35053. cat > conftest.$ac_ext <<EOF
  35054. -#line 1783 "configure"
  35055. +#line 5651 "configure"
  35056. #include "confdefs.h"
  35057. #include <stdlib.h>
  35058. #include <stdarg.h>
  35059. @@ -1787,7 +5655,7 @@
  35060. #include <float.h>
  35061. EOF
  35062. ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  35063. -{ (eval echo configure:1791: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  35064. +{ (eval echo configure:5659: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  35065. ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  35066. if test -z "$ac_err"; then
  35067. rm -rf conftest*
  35068. @@ -1804,7 +5672,7 @@
  35069. if test $ac_cv_header_stdc = yes; then
  35070. # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  35071. cat > conftest.$ac_ext <<EOF
  35072. -#line 1808 "configure"
  35073. +#line 5676 "configure"
  35074. #include "confdefs.h"
  35075. #include <string.h>
  35076. EOF
  35077. @@ -1822,7 +5690,7 @@
  35078. if test $ac_cv_header_stdc = yes; then
  35079. # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  35080. cat > conftest.$ac_ext <<EOF
  35081. -#line 1826 "configure"
  35082. +#line 5694 "configure"
  35083. #include "confdefs.h"
  35084. #include <stdlib.h>
  35085. EOF
  35086. @@ -1843,7 +5711,7 @@
  35087. :
  35088. else
  35089. cat > conftest.$ac_ext <<EOF
  35090. -#line 1847 "configure"
  35091. +#line 5715 "configure"
  35092. #include "confdefs.h"
  35093. #include <ctype.h>
  35094. #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  35095. @@ -1854,7 +5722,7 @@
  35096. exit (0); }
  35097. EOF
  35098. -if { (eval echo configure:1858: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
  35099. +if { (eval echo configure:5726: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
  35100. then
  35101. :
  35102. else
  35103. @@ -1881,17 +5749,17 @@
  35104. do
  35105. ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
  35106. echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
  35107. -echo "configure:1885: checking for $ac_hdr" >&5
  35108. +echo "configure:5753: checking for $ac_hdr" >&5
  35109. if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  35110. echo $ac_n "(cached) $ac_c" 1>&6
  35111. else
  35112. cat > conftest.$ac_ext <<EOF
  35113. -#line 1890 "configure"
  35114. +#line 5758 "configure"
  35115. #include "confdefs.h"
  35116. #include <$ac_hdr>
  35117. EOF
  35118. ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  35119. -{ (eval echo configure:1895: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  35120. +{ (eval echo configure:5763: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  35121. ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  35122. if test -z "$ac_err"; then
  35123. rm -rf conftest*
  35124. @@ -1920,12 +5788,12 @@
  35125. fi
  35126. echo $ac_n "checking for working const""... $ac_c" 1>&6
  35127. -echo "configure:1924: checking for working const" >&5
  35128. +echo "configure:5792: checking for working const" >&5
  35129. if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
  35130. echo $ac_n "(cached) $ac_c" 1>&6
  35131. else
  35132. cat > conftest.$ac_ext <<EOF
  35133. -#line 1929 "configure"
  35134. +#line 5797 "configure"
  35135. #include "confdefs.h"
  35136. int main() {
  35137. @@ -1974,7 +5842,7 @@
  35138. ; return 0; }
  35139. EOF
  35140. -if { (eval echo configure:1978: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  35141. +if { (eval echo configure:5846: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  35142. rm -rf conftest*
  35143. ac_cv_c_const=yes
  35144. else
  35145. @@ -1995,21 +5863,21 @@
  35146. fi
  35147. echo $ac_n "checking for inline""... $ac_c" 1>&6
  35148. -echo "configure:1999: checking for inline" >&5
  35149. +echo "configure:5867: checking for inline" >&5
  35150. if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
  35151. echo $ac_n "(cached) $ac_c" 1>&6
  35152. else
  35153. ac_cv_c_inline=no
  35154. for ac_kw in inline __inline__ __inline; do
  35155. cat > conftest.$ac_ext <<EOF
  35156. -#line 2006 "configure"
  35157. +#line 5874 "configure"
  35158. #include "confdefs.h"
  35159. int main() {
  35160. } $ac_kw foo() {
  35161. ; return 0; }
  35162. EOF
  35163. -if { (eval echo configure:2013: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  35164. +if { (eval echo configure:5881: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  35165. rm -rf conftest*
  35166. ac_cv_c_inline=$ac_kw; break
  35167. else
  35168. @@ -2039,7 +5907,7 @@
  35169. # Extract the first word of "$ac_prog", so it can be a program name with args.
  35170. set dummy $ac_prog; ac_word=$2
  35171. echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  35172. -echo "configure:2043: checking for $ac_word" >&5
  35173. +echo "configure:5911: checking for $ac_word" >&5
  35174. if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
  35175. echo $ac_n "(cached) $ac_c" 1>&6
  35176. else
  35177. @@ -2076,7 +5944,7 @@
  35178. # Extract the first word of "flex", so it can be a program name with args.
  35179. set dummy flex; ac_word=$2
  35180. echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  35181. -echo "configure:2080: checking for $ac_word" >&5
  35182. +echo "configure:5948: checking for $ac_word" >&5
  35183. if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
  35184. echo $ac_n "(cached) $ac_c" 1>&6
  35185. else
  35186. @@ -2110,7 +5978,7 @@
  35187. *) ac_lib=l ;;
  35188. esac
  35189. echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
  35190. -echo "configure:2114: checking for yywrap in -l$ac_lib" >&5
  35191. +echo "configure:5982: checking for yywrap in -l$ac_lib" >&5
  35192. ac_lib_var=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
  35193. if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
  35194. echo $ac_n "(cached) $ac_c" 1>&6
  35195. @@ -2118,7 +5986,7 @@
  35196. ac_save_LIBS="$LIBS"
  35197. LIBS="-l$ac_lib $LIBS"
  35198. cat > conftest.$ac_ext <<EOF
  35199. -#line 2122 "configure"
  35200. +#line 5990 "configure"
  35201. #include "confdefs.h"
  35202. /* Override any gcc2 internal prototype to avoid an error. */
  35203. /* We use char because int might match the return type of a gcc2
  35204. @@ -2129,7 +5997,7 @@
  35205. yywrap()
  35206. ; return 0; }
  35207. EOF
  35208. -if { (eval echo configure:2133: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  35209. +if { (eval echo configure:6001: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  35210. rm -rf conftest*
  35211. eval "ac_cv_lib_$ac_lib_var=yes"
  35212. else
  35213. @@ -2152,7 +6020,7 @@
  35214. fi
  35215. echo $ac_n "checking lex output file root""... $ac_c" 1>&6
  35216. -echo "configure:2156: checking lex output file root" >&5
  35217. +echo "configure:6024: checking lex output file root" >&5
  35218. if eval "test \"`echo '$''{'ac_cv_prog_lex_root'+set}'`\" = set"; then
  35219. echo $ac_n "(cached) $ac_c" 1>&6
  35220. else
  35221. @@ -2173,7 +6041,7 @@
  35222. LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
  35223. echo $ac_n "checking whether yytext is a pointer""... $ac_c" 1>&6
  35224. -echo "configure:2177: checking whether yytext is a pointer" >&5
  35225. +echo "configure:6045: checking whether yytext is a pointer" >&5
  35226. if eval "test \"`echo '$''{'ac_cv_prog_lex_yytext_pointer'+set}'`\" = set"; then
  35227. echo $ac_n "(cached) $ac_c" 1>&6
  35228. else
  35229. @@ -2185,14 +6053,14 @@
  35230. ac_save_LIBS="$LIBS"
  35231. LIBS="$LIBS $LEXLIB"
  35232. cat > conftest.$ac_ext <<EOF
  35233. -#line 2189 "configure"
  35234. +#line 6057 "configure"
  35235. #include "confdefs.h"
  35236. `cat $LEX_OUTPUT_ROOT.c`
  35237. int main() {
  35238. ; return 0; }
  35239. EOF
  35240. -if { (eval echo configure:2196: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  35241. +if { (eval echo configure:6064: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  35242. rm -rf conftest*
  35243. ac_cv_prog_lex_yytext_pointer=yes
  35244. else
  35245. @@ -2216,12 +6084,12 @@
  35246. fi
  35247. echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
  35248. -echo "configure:2220: checking for ANSI C header files" >&5
  35249. +echo "configure:6088: checking for ANSI C header files" >&5
  35250. if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
  35251. echo $ac_n "(cached) $ac_c" 1>&6
  35252. else
  35253. cat > conftest.$ac_ext <<EOF
  35254. -#line 2225 "configure"
  35255. +#line 6093 "configure"
  35256. #include "confdefs.h"
  35257. #include <stdlib.h>
  35258. #include <stdarg.h>
  35259. @@ -2229,7 +6097,7 @@
  35260. #include <float.h>
  35261. EOF
  35262. ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  35263. -{ (eval echo configure:2233: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  35264. +{ (eval echo configure:6101: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  35265. ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  35266. if test -z "$ac_err"; then
  35267. rm -rf conftest*
  35268. @@ -2246,7 +6114,7 @@
  35269. if test $ac_cv_header_stdc = yes; then
  35270. # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  35271. cat > conftest.$ac_ext <<EOF
  35272. -#line 2250 "configure"
  35273. +#line 6118 "configure"
  35274. #include "confdefs.h"
  35275. #include <string.h>
  35276. EOF
  35277. @@ -2264,7 +6132,7 @@
  35278. if test $ac_cv_header_stdc = yes; then
  35279. # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  35280. cat > conftest.$ac_ext <<EOF
  35281. -#line 2268 "configure"
  35282. +#line 6136 "configure"
  35283. #include "confdefs.h"
  35284. #include <stdlib.h>
  35285. EOF
  35286. @@ -2285,7 +6153,7 @@
  35287. :
  35288. else
  35289. cat > conftest.$ac_ext <<EOF
  35290. -#line 2289 "configure"
  35291. +#line 6157 "configure"
  35292. #include "confdefs.h"
  35293. #include <ctype.h>
  35294. #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  35295. @@ -2296,7 +6164,7 @@
  35296. exit (0); }
  35297. EOF
  35298. -if { (eval echo configure:2300: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
  35299. +if { (eval echo configure:6168: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
  35300. then
  35301. :
  35302. else
  35303. @@ -2323,17 +6191,17 @@
  35304. do
  35305. ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
  35306. echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
  35307. -echo "configure:2327: checking for $ac_hdr" >&5
  35308. +echo "configure:6195: checking for $ac_hdr" >&5
  35309. if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  35310. echo $ac_n "(cached) $ac_c" 1>&6
  35311. else
  35312. cat > conftest.$ac_ext <<EOF
  35313. -#line 2332 "configure"
  35314. +#line 6200 "configure"
  35315. #include "confdefs.h"
  35316. #include <$ac_hdr>
  35317. EOF
  35318. ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  35319. -{ (eval echo configure:2337: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  35320. +{ (eval echo configure:6205: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  35321. ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  35322. if test -z "$ac_err"; then
  35323. rm -rf conftest*
  35324. @@ -2360,12 +6228,12 @@
  35325. done
  35326. echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
  35327. -echo "configure:2364: checking return type of signal handlers" >&5
  35328. +echo "configure:6232: checking return type of signal handlers" >&5
  35329. if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then
  35330. echo $ac_n "(cached) $ac_c" 1>&6
  35331. else
  35332. cat > conftest.$ac_ext <<EOF
  35333. -#line 2369 "configure"
  35334. +#line 6237 "configure"
  35335. #include "confdefs.h"
  35336. #include <sys/types.h>
  35337. #include <signal.h>
  35338. @@ -2382,7 +6250,7 @@
  35339. int i;
  35340. ; return 0; }
  35341. EOF
  35342. -if { (eval echo configure:2386: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  35343. +if { (eval echo configure:6254: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  35344. rm -rf conftest*
  35345. ac_cv_type_signal=void
  35346. else
  35347. @@ -2401,12 +6269,12 @@
  35348. echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
  35349. -echo "configure:2405: checking whether time.h and sys/time.h may both be included" >&5
  35350. +echo "configure:6273: checking whether time.h and sys/time.h may both be included" >&5
  35351. if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
  35352. echo $ac_n "(cached) $ac_c" 1>&6
  35353. else
  35354. cat > conftest.$ac_ext <<EOF
  35355. -#line 2410 "configure"
  35356. +#line 6278 "configure"
  35357. #include "confdefs.h"
  35358. #include <sys/types.h>
  35359. #include <sys/time.h>
  35360. @@ -2415,7 +6283,7 @@
  35361. struct tm *tp;
  35362. ; return 0; }
  35363. EOF
  35364. -if { (eval echo configure:2419: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  35365. +if { (eval echo configure:6287: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  35366. rm -rf conftest*
  35367. ac_cv_header_time=yes
  35368. else
  35369. @@ -2440,17 +6308,17 @@
  35370. do
  35371. ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
  35372. echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
  35373. -echo "configure:2444: checking for $ac_hdr" >&5
  35374. +echo "configure:6312: checking for $ac_hdr" >&5
  35375. if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  35376. echo $ac_n "(cached) $ac_c" 1>&6
  35377. else
  35378. cat > conftest.$ac_ext <<EOF
  35379. -#line 2449 "configure"
  35380. +#line 6317 "configure"
  35381. #include "confdefs.h"
  35382. #include <$ac_hdr>
  35383. EOF
  35384. ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  35385. -{ (eval echo configure:2454: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  35386. +{ (eval echo configure:6322: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  35387. ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  35388. if test -z "$ac_err"; then
  35389. rm -rf conftest*
  35390. @@ -2478,12 +6346,12 @@
  35391. echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6
  35392. -echo "configure:2482: checking for struct utimbuf" >&5
  35393. +echo "configure:6350: checking for struct utimbuf" >&5
  35394. if eval "test \"`echo '$''{'fu_cv_sys_struct_utimbuf'+set}'`\" = set"; then
  35395. echo $ac_n "(cached) $ac_c" 1>&6
  35396. else
  35397. cat > conftest.$ac_ext <<EOF
  35398. -#line 2487 "configure"
  35399. +#line 6355 "configure"
  35400. #include "confdefs.h"
  35401. #ifdef TIME_WITH_SYS_TIME
  35402. @@ -2504,7 +6372,7 @@
  35403. static struct utimbuf x; x.actime = x.modtime;
  35404. ; return 0; }
  35405. EOF
  35406. -if { (eval echo configure:2508: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  35407. +if { (eval echo configure:6376: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  35408. rm -rf conftest*
  35409. fu_cv_sys_struct_utimbuf=yes
  35410. else
  35411. @@ -2530,12 +6398,12 @@
  35412. for ac_func in dup2 mbrtowc rename setlocale strerror strndup wcrtomb
  35413. do
  35414. echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
  35415. -echo "configure:2534: checking for $ac_func" >&5
  35416. +echo "configure:6402: checking for $ac_func" >&5
  35417. if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
  35418. echo $ac_n "(cached) $ac_c" 1>&6
  35419. else
  35420. cat > conftest.$ac_ext <<EOF
  35421. -#line 2539 "configure"
  35422. +#line 6407 "configure"
  35423. #include "confdefs.h"
  35424. /* System header to define __stub macros and hopefully few prototypes,
  35425. which can conflict with char $ac_func(); below. */
  35426. @@ -2558,7 +6426,7 @@
  35427. ; return 0; }
  35428. EOF
  35429. -if { (eval echo configure:2562: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  35430. +if { (eval echo configure:6430: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  35431. rm -rf conftest*
  35432. eval "ac_cv_func_$ac_func=yes"
  35433. else
  35434. @@ -2585,12 +6453,12 @@
  35435. for ac_func in strtol strtoul
  35436. do
  35437. echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
  35438. -echo "configure:2589: checking for $ac_func" >&5
  35439. +echo "configure:6457: checking for $ac_func" >&5
  35440. if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
  35441. echo $ac_n "(cached) $ac_c" 1>&6
  35442. else
  35443. cat > conftest.$ac_ext <<EOF
  35444. -#line 2594 "configure"
  35445. +#line 6462 "configure"
  35446. #include "confdefs.h"
  35447. /* System header to define __stub macros and hopefully few prototypes,
  35448. which can conflict with char $ac_func(); below. */
  35449. @@ -2613,7 +6481,7 @@
  35450. ; return 0; }
  35451. EOF
  35452. -if { (eval echo configure:2617: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  35453. +if { (eval echo configure:6485: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  35454. rm -rf conftest*
  35455. eval "ac_cv_func_$ac_func=yes"
  35456. else
  35457. @@ -2642,19 +6510,19 @@
  35458. # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
  35459. # for constant arguments. Useless!
  35460. echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6
  35461. -echo "configure:2646: checking for working alloca.h" >&5
  35462. +echo "configure:6514: checking for working alloca.h" >&5
  35463. if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then
  35464. echo $ac_n "(cached) $ac_c" 1>&6
  35465. else
  35466. cat > conftest.$ac_ext <<EOF
  35467. -#line 2651 "configure"
  35468. +#line 6519 "configure"
  35469. #include "confdefs.h"
  35470. #include <alloca.h>
  35471. int main() {
  35472. char *p = alloca(2 * sizeof(int));
  35473. ; return 0; }
  35474. EOF
  35475. -if { (eval echo configure:2658: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  35476. +if { (eval echo configure:6526: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  35477. rm -rf conftest*
  35478. ac_cv_header_alloca_h=yes
  35479. else
  35480. @@ -2675,12 +6543,12 @@
  35481. fi
  35482. echo $ac_n "checking for alloca""... $ac_c" 1>&6
  35483. -echo "configure:2679: checking for alloca" >&5
  35484. +echo "configure:6547: checking for alloca" >&5
  35485. if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then
  35486. echo $ac_n "(cached) $ac_c" 1>&6
  35487. else
  35488. cat > conftest.$ac_ext <<EOF
  35489. -#line 2684 "configure"
  35490. +#line 6552 "configure"
  35491. #include "confdefs.h"
  35492. #ifdef __GNUC__
  35493. @@ -2708,7 +6576,7 @@
  35494. char *p = (char *) alloca(1);
  35495. ; return 0; }
  35496. EOF
  35497. -if { (eval echo configure:2712: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  35498. +if { (eval echo configure:6580: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  35499. rm -rf conftest*
  35500. ac_cv_func_alloca_works=yes
  35501. else
  35502. @@ -2740,12 +6608,12 @@
  35503. echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6
  35504. -echo "configure:2744: checking whether alloca needs Cray hooks" >&5
  35505. +echo "configure:6612: checking whether alloca needs Cray hooks" >&5
  35506. if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then
  35507. echo $ac_n "(cached) $ac_c" 1>&6
  35508. else
  35509. cat > conftest.$ac_ext <<EOF
  35510. -#line 2749 "configure"
  35511. +#line 6617 "configure"
  35512. #include "confdefs.h"
  35513. #if defined(CRAY) && ! defined(CRAY2)
  35514. webecray
  35515. @@ -2770,12 +6638,12 @@
  35516. if test $ac_cv_os_cray = yes; then
  35517. for ac_func in _getb67 GETB67 getb67; do
  35518. echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
  35519. -echo "configure:2774: checking for $ac_func" >&5
  35520. +echo "configure:6642: checking for $ac_func" >&5
  35521. if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
  35522. echo $ac_n "(cached) $ac_c" 1>&6
  35523. else
  35524. cat > conftest.$ac_ext <<EOF
  35525. -#line 2779 "configure"
  35526. +#line 6647 "configure"
  35527. #include "confdefs.h"
  35528. /* System header to define __stub macros and hopefully few prototypes,
  35529. which can conflict with char $ac_func(); below. */
  35530. @@ -2798,7 +6666,7 @@
  35531. ; return 0; }
  35532. EOF
  35533. -if { (eval echo configure:2802: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  35534. +if { (eval echo configure:6670: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  35535. rm -rf conftest*
  35536. eval "ac_cv_func_$ac_func=yes"
  35537. else
  35538. @@ -2825,7 +6693,7 @@
  35539. fi
  35540. echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6
  35541. -echo "configure:2829: checking stack direction for C alloca" >&5
  35542. +echo "configure:6697: checking stack direction for C alloca" >&5
  35543. if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then
  35544. echo $ac_n "(cached) $ac_c" 1>&6
  35545. else
  35546. @@ -2833,7 +6701,7 @@
  35547. ac_cv_c_stack_direction=0
  35548. else
  35549. cat > conftest.$ac_ext <<EOF
  35550. -#line 2837 "configure"
  35551. +#line 6705 "configure"
  35552. #include "confdefs.h"
  35553. find_stack_direction ()
  35554. {
  35555. @@ -2852,7 +6720,7 @@
  35556. exit (find_stack_direction() < 0);
  35557. }
  35558. EOF
  35559. -if { (eval echo configure:2856: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
  35560. +if { (eval echo configure:6724: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
  35561. then
  35562. ac_cv_c_stack_direction=1
  35563. else
  35564. @@ -2874,12 +6742,12 @@
  35565. fi
  35566. echo $ac_n "checking for vprintf""... $ac_c" 1>&6
  35567. -echo "configure:2878: checking for vprintf" >&5
  35568. +echo "configure:6746: checking for vprintf" >&5
  35569. if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
  35570. echo $ac_n "(cached) $ac_c" 1>&6
  35571. else
  35572. cat > conftest.$ac_ext <<EOF
  35573. -#line 2883 "configure"
  35574. +#line 6751 "configure"
  35575. #include "confdefs.h"
  35576. /* System header to define __stub macros and hopefully few prototypes,
  35577. which can conflict with char vprintf(); below. */
  35578. @@ -2902,7 +6770,7 @@
  35579. ; return 0; }
  35580. EOF
  35581. -if { (eval echo configure:2906: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  35582. +if { (eval echo configure:6774: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  35583. rm -rf conftest*
  35584. eval "ac_cv_func_vprintf=yes"
  35585. else
  35586. @@ -2926,12 +6794,12 @@
  35587. if test "$ac_cv_func_vprintf" != yes; then
  35588. echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
  35589. -echo "configure:2930: checking for _doprnt" >&5
  35590. +echo "configure:6798: checking for _doprnt" >&5
  35591. if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
  35592. echo $ac_n "(cached) $ac_c" 1>&6
  35593. else
  35594. cat > conftest.$ac_ext <<EOF
  35595. -#line 2935 "configure"
  35596. +#line 6803 "configure"
  35597. #include "confdefs.h"
  35598. /* System header to define __stub macros and hopefully few prototypes,
  35599. which can conflict with char _doprnt(); below. */
  35600. @@ -2954,7 +6822,7 @@
  35601. ; return 0; }
  35602. EOF
  35603. -if { (eval echo configure:2958: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  35604. +if { (eval echo configure:6826: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  35605. rm -rf conftest*
  35606. eval "ac_cv_func__doprnt=yes"
  35607. else
  35608. @@ -2986,7 +6854,7 @@
  35609. echo $ac_n "checking for working malloc""... $ac_c" 1>&6
  35610. -echo "configure:2990: checking for working malloc" >&5
  35611. +echo "configure:6858: checking for working malloc" >&5
  35612. if eval "test \"`echo '$''{'jm_cv_func_working_malloc'+set}'`\" = set"; then
  35613. echo $ac_n "(cached) $ac_c" 1>&6
  35614. else
  35615. @@ -2994,7 +6862,7 @@
  35616. jm_cv_func_working_malloc=no
  35617. else
  35618. cat > conftest.$ac_ext <<EOF
  35619. -#line 2998 "configure"
  35620. +#line 6866 "configure"
  35621. #include "confdefs.h"
  35622. char *malloc ();
  35623. @@ -3005,7 +6873,7 @@
  35624. }
  35625. EOF
  35626. -if { (eval echo configure:3009: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
  35627. +if { (eval echo configure:6877: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
  35628. then
  35629. jm_cv_func_working_malloc=yes
  35630. else
  35631. @@ -3037,7 +6905,7 @@
  35632. echo $ac_n "checking for working realloc""... $ac_c" 1>&6
  35633. -echo "configure:3041: checking for working realloc" >&5
  35634. +echo "configure:6909: checking for working realloc" >&5
  35635. if eval "test \"`echo '$''{'jm_cv_func_working_realloc'+set}'`\" = set"; then
  35636. echo $ac_n "(cached) $ac_c" 1>&6
  35637. else
  35638. @@ -3045,7 +6913,7 @@
  35639. jm_cv_func_working_realloc=no
  35640. else
  35641. cat > conftest.$ac_ext <<EOF
  35642. -#line 3049 "configure"
  35643. +#line 6917 "configure"
  35644. #include "confdefs.h"
  35645. char *realloc ();
  35646. @@ -3056,7 +6924,7 @@
  35647. }
  35648. EOF
  35649. -if { (eval echo configure:3060: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
  35650. +if { (eval echo configure:6928: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
  35651. then
  35652. jm_cv_func_working_realloc=yes
  35653. else
  35654. @@ -3090,7 +6958,7 @@
  35655. fi
  35656. echo $ac_n "checking host system type""... $ac_c" 1>&6
  35657. -echo "configure:3094: checking host system type" >&5
  35658. +echo "configure:6962: checking host system type" >&5
  35659. host_alias=$host
  35660. case "$host_alias" in
  35661. @@ -3115,17 +6983,17 @@
  35662. do
  35663. ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
  35664. echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
  35665. -echo "configure:3119: checking for $ac_hdr" >&5
  35666. +echo "configure:6987: checking for $ac_hdr" >&5
  35667. if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  35668. echo $ac_n "(cached) $ac_c" 1>&6
  35669. else
  35670. cat > conftest.$ac_ext <<EOF
  35671. -#line 3124 "configure"
  35672. +#line 6992 "configure"
  35673. #include "confdefs.h"
  35674. #include <$ac_hdr>
  35675. EOF
  35676. ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  35677. -{ (eval echo configure:3129: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  35678. +{ (eval echo configure:6997: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  35679. ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  35680. if test -z "$ac_err"; then
  35681. rm -rf conftest*
  35682. @@ -3154,12 +7022,12 @@
  35683. for ac_func in nl_langinfo
  35684. do
  35685. echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
  35686. -echo "configure:3158: checking for $ac_func" >&5
  35687. +echo "configure:7026: checking for $ac_func" >&5
  35688. if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
  35689. echo $ac_n "(cached) $ac_c" 1>&6
  35690. else
  35691. cat > conftest.$ac_ext <<EOF
  35692. -#line 3163 "configure"
  35693. +#line 7031 "configure"
  35694. #include "confdefs.h"
  35695. /* System header to define __stub macros and hopefully few prototypes,
  35696. which can conflict with char $ac_func(); below. */
  35697. @@ -3182,7 +7050,7 @@
  35698. ; return 0; }
  35699. EOF
  35700. -if { (eval echo configure:3186: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  35701. +if { (eval echo configure:7054: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  35702. rm -rf conftest*
  35703. eval "ac_cv_func_$ac_func=yes"
  35704. else
  35705. @@ -3208,19 +7076,19 @@
  35706. echo $ac_n "checking for nl_langinfo and CODESET""... $ac_c" 1>&6
  35707. -echo "configure:3212: checking for nl_langinfo and CODESET" >&5
  35708. +echo "configure:7080: checking for nl_langinfo and CODESET" >&5
  35709. if eval "test \"`echo '$''{'jm_cv_langinfo_codeset'+set}'`\" = set"; then
  35710. echo $ac_n "(cached) $ac_c" 1>&6
  35711. else
  35712. cat > conftest.$ac_ext <<EOF
  35713. -#line 3217 "configure"
  35714. +#line 7085 "configure"
  35715. #include "confdefs.h"
  35716. #include <langinfo.h>
  35717. int main() {
  35718. char* cs = nl_langinfo(CODESET);
  35719. ; return 0; }
  35720. EOF
  35721. -if { (eval echo configure:3224: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  35722. +if { (eval echo configure:7092: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  35723. rm -rf conftest*
  35724. jm_cv_langinfo_codeset=yes
  35725. else
  35726. @@ -3243,12 +7111,12 @@
  35727. echo $ac_n "checking whether we are using the GNU C Library 2.1 or newer""... $ac_c" 1>&6
  35728. -echo "configure:3247: checking whether we are using the GNU C Library 2.1 or newer" >&5
  35729. +echo "configure:7115: checking whether we are using the GNU C Library 2.1 or newer" >&5
  35730. if eval "test \"`echo '$''{'ac_cv_gnu_library_2_1'+set}'`\" = set"; then
  35731. echo $ac_n "(cached) $ac_c" 1>&6
  35732. else
  35733. cat > conftest.$ac_ext <<EOF
  35734. -#line 3252 "configure"
  35735. +#line 7120 "configure"
  35736. #include "confdefs.h"
  35737. #include <features.h>
  35738. @@ -3280,7 +7148,7 @@
  35739. echo $ac_n "checking if malloc debugging is wanted""... $ac_c" 1>&6
  35740. -echo "configure:3284: checking if malloc debugging is wanted" >&5
  35741. +echo "configure:7152: checking if malloc debugging is wanted" >&5
  35742. # Check whether --with-dmalloc or --without-dmalloc was given.
  35743. if test "${with_dmalloc+set}" = set; then
  35744. withval="$with_dmalloc"
  35745. @@ -3303,7 +7171,7 @@
  35746. echo $ac_n "checking whether NLS is wanted""... $ac_c" 1>&6
  35747. -echo "configure:3307: checking whether NLS is wanted" >&5
  35748. +echo "configure:7175: checking whether NLS is wanted" >&5
  35749. # Check whether --enable-nls or --disable-nls was given.
  35750. if test "${enable_nls+set}" = set; then
  35751. enableval="$enable_nls"
  35752. @@ -3340,12 +7208,12 @@
  35753. for ac_func in gettext
  35754. do
  35755. echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
  35756. -echo "configure:3344: checking for $ac_func" >&5
  35757. +echo "configure:7212: checking for $ac_func" >&5
  35758. if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
  35759. echo $ac_n "(cached) $ac_c" 1>&6
  35760. else
  35761. cat > conftest.$ac_ext <<EOF
  35762. -#line 3349 "configure"
  35763. +#line 7217 "configure"
  35764. #include "confdefs.h"
  35765. /* System header to define __stub macros and hopefully few prototypes,
  35766. which can conflict with char $ac_func(); below. */
  35767. @@ -3368,7 +7236,7 @@
  35768. ; return 0; }
  35769. EOF
  35770. -if { (eval echo configure:3372: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  35771. +if { (eval echo configure:7240: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  35772. rm -rf conftest*
  35773. eval "ac_cv_func_$ac_func=yes"
  35774. else
  35775. @@ -3393,7 +7261,7 @@
  35776. done
  35777. echo $ac_n "checking for gettext in -lintl""... $ac_c" 1>&6
  35778. -echo "configure:3397: checking for gettext in -lintl" >&5
  35779. +echo "configure:7265: checking for gettext in -lintl" >&5
  35780. ac_lib_var=`echo intl'_'gettext | sed 'y%./+-%__p_%'`
  35781. if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
  35782. echo $ac_n "(cached) $ac_c" 1>&6
  35783. @@ -3401,7 +7269,7 @@
  35784. ac_save_LIBS="$LIBS"
  35785. LIBS="-lintl $LIBS"
  35786. cat > conftest.$ac_ext <<EOF
  35787. -#line 3405 "configure"
  35788. +#line 7273 "configure"
  35789. #include "confdefs.h"
  35790. /* Override any gcc2 internal prototype to avoid an error. */
  35791. /* We use char because int might match the return type of a gcc2
  35792. @@ -3412,7 +7280,7 @@
  35793. gettext()
  35794. ; return 0; }
  35795. EOF
  35796. -if { (eval echo configure:3416: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  35797. +if { (eval echo configure:7284: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  35798. rm -rf conftest*
  35799. eval "ac_cv_lib_$ac_lib_var=yes"
  35800. else
  35801. @@ -3434,7 +7302,7 @@
  35802. if test $ac_cv_lib_intl_gettext$ac_cv_func_gettext != nono; then
  35803. echo $ac_n "checking whether the included gettext is preferred""... $ac_c" 1>&6
  35804. -echo "configure:3438: checking whether the included gettext is preferred" >&5
  35805. +echo "configure:7306: checking whether the included gettext is preferred" >&5
  35806. # Check whether --with-included-gettext or --without-included-gettext was given.
  35807. if test "${with_included_gettext+set}" = set; then
  35808. withval="$with_included_gettext"
  35809. @@ -3465,17 +7333,17 @@
  35810. do
  35811. ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
  35812. echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
  35813. -echo "configure:3469: checking for $ac_hdr" >&5
  35814. +echo "configure:7337: checking for $ac_hdr" >&5
  35815. if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  35816. echo $ac_n "(cached) $ac_c" 1>&6
  35817. else
  35818. cat > conftest.$ac_ext <<EOF
  35819. -#line 3474 "configure"
  35820. +#line 7342 "configure"
  35821. #include "confdefs.h"
  35822. #include <$ac_hdr>
  35823. EOF
  35824. ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  35825. -{ (eval echo configure:3479: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  35826. +{ (eval echo configure:7347: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  35827. ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  35828. if test -z "$ac_err"; then
  35829. rm -rf conftest*
  35830. @@ -3504,12 +7372,12 @@
  35831. for ac_func in dcgettext gettext
  35832. do
  35833. echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
  35834. -echo "configure:3508: checking for $ac_func" >&5
  35835. +echo "configure:7376: checking for $ac_func" >&5
  35836. if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
  35837. echo $ac_n "(cached) $ac_c" 1>&6
  35838. else
  35839. cat > conftest.$ac_ext <<EOF
  35840. -#line 3513 "configure"
  35841. +#line 7381 "configure"
  35842. #include "confdefs.h"
  35843. /* System header to define __stub macros and hopefully few prototypes,
  35844. which can conflict with char $ac_func(); below. */
  35845. @@ -3532,7 +7400,7 @@
  35846. ; return 0; }
  35847. EOF
  35848. -if { (eval echo configure:3536: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  35849. +if { (eval echo configure:7404: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  35850. rm -rf conftest*
  35851. eval "ac_cv_func_$ac_func=yes"
  35852. else
  35853. @@ -3562,17 +7430,17 @@
  35854. do
  35855. ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
  35856. echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
  35857. -echo "configure:3566: checking for $ac_hdr" >&5
  35858. +echo "configure:7434: checking for $ac_hdr" >&5
  35859. if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  35860. echo $ac_n "(cached) $ac_c" 1>&6
  35861. else
  35862. cat > conftest.$ac_ext <<EOF
  35863. -#line 3571 "configure"
  35864. +#line 7439 "configure"
  35865. #include "confdefs.h"
  35866. #include <$ac_hdr>
  35867. EOF
  35868. ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  35869. -{ (eval echo configure:3576: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  35870. +{ (eval echo configure:7444: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  35871. ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  35872. if test -z "$ac_err"; then
  35873. rm -rf conftest*
  35874. @@ -3602,17 +7470,17 @@
  35875. do
  35876. ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
  35877. echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
  35878. -echo "configure:3606: checking for $ac_hdr" >&5
  35879. +echo "configure:7474: checking for $ac_hdr" >&5
  35880. if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  35881. echo $ac_n "(cached) $ac_c" 1>&6
  35882. else
  35883. cat > conftest.$ac_ext <<EOF
  35884. -#line 3611 "configure"
  35885. +#line 7479 "configure"
  35886. #include "confdefs.h"
  35887. #include <$ac_hdr>
  35888. EOF
  35889. ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  35890. -{ (eval echo configure:3616: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  35891. +{ (eval echo configure:7484: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  35892. ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  35893. if test -z "$ac_err"; then
  35894. rm -rf conftest*
  35895. @@ -3641,12 +7509,12 @@
  35896. for ac_func in getpagesize
  35897. do
  35898. echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
  35899. -echo "configure:3645: checking for $ac_func" >&5
  35900. +echo "configure:7513: checking for $ac_func" >&5
  35901. if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
  35902. echo $ac_n "(cached) $ac_c" 1>&6
  35903. else
  35904. cat > conftest.$ac_ext <<EOF
  35905. -#line 3650 "configure"
  35906. +#line 7518 "configure"
  35907. #include "confdefs.h"
  35908. /* System header to define __stub macros and hopefully few prototypes,
  35909. which can conflict with char $ac_func(); below. */
  35910. @@ -3669,7 +7537,7 @@
  35911. ; return 0; }
  35912. EOF
  35913. -if { (eval echo configure:3673: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  35914. +if { (eval echo configure:7541: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  35915. rm -rf conftest*
  35916. eval "ac_cv_func_$ac_func=yes"
  35917. else
  35918. @@ -3694,7 +7562,7 @@
  35919. done
  35920. echo $ac_n "checking for working mmap""... $ac_c" 1>&6
  35921. -echo "configure:3698: checking for working mmap" >&5
  35922. +echo "configure:7566: checking for working mmap" >&5
  35923. if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
  35924. echo $ac_n "(cached) $ac_c" 1>&6
  35925. else
  35926. @@ -3702,7 +7570,7 @@
  35927. ac_cv_func_mmap_fixed_mapped=no
  35928. else
  35929. cat > conftest.$ac_ext <<EOF
  35930. -#line 3706 "configure"
  35931. +#line 7574 "configure"
  35932. #include "confdefs.h"
  35933. /* Thanks to Mike Haertel and Jim Avera for this test.
  35934. @@ -3842,7 +7710,7 @@
  35935. }
  35936. EOF
  35937. -if { (eval echo configure:3846: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
  35938. +if { (eval echo configure:7714: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
  35939. then
  35940. ac_cv_func_mmap_fixed_mapped=yes
  35941. else
  35942. @@ -3867,12 +7735,12 @@
  35943. for ac_func in getcwd mempcpy munmap setlocale stpcpy strcasecmp strchr strdup __argz_count __argz_stringify __argz_next
  35944. do
  35945. echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
  35946. -echo "configure:3871: checking for $ac_func" >&5
  35947. +echo "configure:7739: checking for $ac_func" >&5
  35948. if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
  35949. echo $ac_n "(cached) $ac_c" 1>&6
  35950. else
  35951. cat > conftest.$ac_ext <<EOF
  35952. -#line 3876 "configure"
  35953. +#line 7744 "configure"
  35954. #include "confdefs.h"
  35955. /* System header to define __stub macros and hopefully few prototypes,
  35956. which can conflict with char $ac_func(); below. */
  35957. @@ -3895,7 +7763,7 @@
  35958. ; return 0; }
  35959. EOF
  35960. -if { (eval echo configure:3899: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  35961. +if { (eval echo configure:7767: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  35962. rm -rf conftest*
  35963. eval "ac_cv_func_$ac_func=yes"
  35964. else
  35965. @@ -3921,19 +7789,19 @@
  35966. if test $ac_cv_header_locale_h = yes; then
  35967. echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6
  35968. -echo "configure:3925: checking for LC_MESSAGES" >&5
  35969. +echo "configure:7793: checking for LC_MESSAGES" >&5
  35970. if eval "test \"`echo '$''{'am_cv_val_LC_MESSAGES'+set}'`\" = set"; then
  35971. echo $ac_n "(cached) $ac_c" 1>&6
  35972. else
  35973. cat > conftest.$ac_ext <<EOF
  35974. -#line 3930 "configure"
  35975. +#line 7798 "configure"
  35976. #include "confdefs.h"
  35977. #include <locale.h>
  35978. int main() {
  35979. return LC_MESSAGES
  35980. ; return 0; }
  35981. EOF
  35982. -if { (eval echo configure:3937: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  35983. +if { (eval echo configure:7805: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  35984. rm -rf conftest*
  35985. am_cv_val_LC_MESSAGES=yes
  35986. else
  35987. @@ -3968,7 +7836,7 @@
  35988. echo $ac_n "checking which translations to install""... $ac_c" 1>&6
  35989. -echo "configure:3972: checking which translations to install" >&5
  35990. +echo "configure:7840: checking which translations to install" >&5
  35991. if test -z "$LINGUAS"; then
  35992. ac_print="$ALL_LINGUAS"
  35993. MOFILES="$ALL_MOFILES"
  35994. @@ -4172,8 +8040,12 @@
  35995. s%@build_cpu@%$build_cpu%g
  35996. s%@build_vendor@%$build_vendor%g
  35997. s%@build_os@%$build_os%g
  35998. -s%@RANLIB@%$RANLIB%g
  35999. s%@LN_S@%$LN_S%g
  36000. +s%@OBJEXT@%$OBJEXT%g
  36001. +s%@EXEEXT@%$EXEEXT%g
  36002. +s%@ECHO@%$ECHO%g
  36003. +s%@RANLIB@%$RANLIB%g
  36004. +s%@STRIP@%$STRIP%g
  36005. s%@LIBTOOL@%$LIBTOOL%g
  36006. s%@U@%$U%g
  36007. s%@ANSI2KNR@%$ANSI2KNR%g
  36008. --- recode-3.6.orig/config.guess
  36009. +++ recode-3.6/config.guess
  36010. @@ -1,8 +1,11 @@
  36011. #! /bin/sh
  36012. # Attempt to guess a canonical system name.
  36013. -# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999
  36014. -# Free Software Foundation, Inc.
  36015. -#
  36016. +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
  36017. +# 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
  36018. +# Inc.
  36019. +
  36020. +timestamp='2006-07-02'
  36021. +
  36022. # This file is free software; you can redistribute it and/or modify it
  36023. # under the terms of the GNU General Public License as published by
  36024. # the Free Software Foundation; either version 2 of the License, or
  36025. @@ -15,156 +18,293 @@
  36026. #
  36027. # You should have received a copy of the GNU General Public License
  36028. # along with this program; if not, write to the Free Software
  36029. -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  36030. +# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
  36031. +# 02110-1301, USA.
  36032. #
  36033. # As a special exception to the GNU General Public License, if you
  36034. # distribute this file as part of a program that contains a
  36035. # configuration script generated by Autoconf, you may include it under
  36036. # the same distribution terms that you use for the rest of that program.
  36037. -# Written by Per Bothner <bothner@cygnus.com>.
  36038. -# The master version of this file is at the FSF in /home/gd/gnu/lib.
  36039. -# Please send patches to <autoconf-patches@gnu.org>.
  36040. +
  36041. +# Originally written by Per Bothner <per@bothner.com>.
  36042. +# Please send patches to <config-patches@gnu.org>. Submit a context
  36043. +# diff and a properly formatted ChangeLog entry.
  36044. #
  36045. # This script attempts to guess a canonical system name similar to
  36046. # config.sub. If it succeeds, it prints the system name on stdout, and
  36047. # exits with 0. Otherwise, it exits with 1.
  36048. #
  36049. # The plan is that this can be called by configure scripts if you
  36050. -# don't specify an explicit system type (host/target name).
  36051. -#
  36052. -# Only a few systems have been added to this list; please add others
  36053. -# (but try to keep the structure clean).
  36054. -#
  36055. +# don't specify an explicit build system type.
  36056. -# Use $HOST_CC if defined. $CC may point to a cross-compiler
  36057. -if test x"$CC_FOR_BUILD" = x; then
  36058. - if test x"$HOST_CC" != x; then
  36059. - CC_FOR_BUILD="$HOST_CC"
  36060. - else
  36061. - if test x"$CC" != x; then
  36062. - CC_FOR_BUILD="$CC"
  36063. - else
  36064. - CC_FOR_BUILD=cc
  36065. - fi
  36066. - fi
  36067. +me=`echo "$0" | sed -e 's,.*/,,'`
  36068. +
  36069. +usage="\
  36070. +Usage: $0 [OPTION]
  36071. +
  36072. +Output the configuration name of the system \`$me' is run on.
  36073. +
  36074. +Operation modes:
  36075. + -h, --help print this help, then exit
  36076. + -t, --time-stamp print date of last modification, then exit
  36077. + -v, --version print version number, then exit
  36078. +
  36079. +Report bugs and patches to <config-patches@gnu.org>."
  36080. +
  36081. +version="\
  36082. +GNU config.guess ($timestamp)
  36083. +
  36084. +Originally written by Per Bothner.
  36085. +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
  36086. +Free Software Foundation, Inc.
  36087. +
  36088. +This is free software; see the source for copying conditions. There is NO
  36089. +warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
  36090. +
  36091. +help="
  36092. +Try \`$me --help' for more information."
  36093. +
  36094. +# Parse command line
  36095. +while test $# -gt 0 ; do
  36096. + case $1 in
  36097. + --time-stamp | --time* | -t )
  36098. + echo "$timestamp" ; exit ;;
  36099. + --version | -v )
  36100. + echo "$version" ; exit ;;
  36101. + --help | --h* | -h )
  36102. + echo "$usage"; exit ;;
  36103. + -- ) # Stop option processing
  36104. + shift; break ;;
  36105. + - ) # Use stdin as input.
  36106. + break ;;
  36107. + -* )
  36108. + echo "$me: invalid option $1$help" >&2
  36109. + exit 1 ;;
  36110. + * )
  36111. + break ;;
  36112. + esac
  36113. +done
  36114. +
  36115. +if test $# != 0; then
  36116. + echo "$me: too many arguments$help" >&2
  36117. + exit 1
  36118. fi
  36119. +trap 'exit 1' 1 2 15
  36120. +
  36121. +# CC_FOR_BUILD -- compiler used by this script. Note that the use of a
  36122. +# compiler to aid in system detection is discouraged as it requires
  36123. +# temporary files to be created and, as you can see below, it is a
  36124. +# headache to deal with in a portable fashion.
  36125. +
  36126. +# Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still
  36127. +# use `HOST_CC' if defined, but it is deprecated.
  36128. +
  36129. +# Portable tmp directory creation inspired by the Autoconf team.
  36130. +
  36131. +set_cc_for_build='
  36132. +trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ;
  36133. +trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ;
  36134. +: ${TMPDIR=/tmp} ;
  36135. + { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
  36136. + { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } ||
  36137. + { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } ||
  36138. + { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ;
  36139. +dummy=$tmp/dummy ;
  36140. +tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ;
  36141. +case $CC_FOR_BUILD,$HOST_CC,$CC in
  36142. + ,,) echo "int x;" > $dummy.c ;
  36143. + for c in cc gcc c89 c99 ; do
  36144. + if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then
  36145. + CC_FOR_BUILD="$c"; break ;
  36146. + fi ;
  36147. + done ;
  36148. + if test x"$CC_FOR_BUILD" = x ; then
  36149. + CC_FOR_BUILD=no_compiler_found ;
  36150. + fi
  36151. + ;;
  36152. + ,,*) CC_FOR_BUILD=$CC ;;
  36153. + ,*,*) CC_FOR_BUILD=$HOST_CC ;;
  36154. +esac ; set_cc_for_build= ;'
  36155. # This is needed to find uname on a Pyramid OSx when run in the BSD universe.
  36156. -# (ghazi@noc.rutgers.edu 8/24/94.)
  36157. +# (ghazi@noc.rutgers.edu 1994-08-24)
  36158. if (test -f /.attbin/uname) >/dev/null 2>&1 ; then
  36159. PATH=$PATH:/.attbin ; export PATH
  36160. fi
  36161. UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown
  36162. UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown
  36163. -UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown
  36164. +UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown
  36165. UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
  36166. -dummy=dummy-$$
  36167. -trap 'rm -f $dummy.c $dummy.o $dummy; exit 1' 1 2 15
  36168. -
  36169. # Note: order is significant - the case branches are not exclusive.
  36170. case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
  36171. + *:NetBSD:*:*)
  36172. + # NetBSD (nbsd) targets should (where applicable) match one or
  36173. + # more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*,
  36174. + # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently
  36175. + # switched to ELF, *-*-netbsd* would select the old
  36176. + # object file format. This provides both forward
  36177. + # compatibility and a consistent mechanism for selecting the
  36178. + # object file format.
  36179. + #
  36180. + # Note: NetBSD doesn't particularly care about the vendor
  36181. + # portion of the name. We always set it to "unknown".
  36182. + sysctl="sysctl -n hw.machine_arch"
  36183. + UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \
  36184. + /usr/sbin/$sysctl 2>/dev/null || echo unknown)`
  36185. + case "${UNAME_MACHINE_ARCH}" in
  36186. + armeb) machine=armeb-unknown ;;
  36187. + arm*) machine=arm-unknown ;;
  36188. + sh3el) machine=shl-unknown ;;
  36189. + sh3eb) machine=sh-unknown ;;
  36190. + *) machine=${UNAME_MACHINE_ARCH}-unknown ;;
  36191. + esac
  36192. + # The Operating System including object format, if it has switched
  36193. + # to ELF recently, or will in the future.
  36194. + case "${UNAME_MACHINE_ARCH}" in
  36195. + arm*|i386|m68k|ns32k|sh3*|sparc|vax)
  36196. + eval $set_cc_for_build
  36197. + if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
  36198. + | grep __ELF__ >/dev/null
  36199. + then
  36200. + # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout).
  36201. + # Return netbsd for either. FIX?
  36202. + os=netbsd
  36203. + else
  36204. + os=netbsdelf
  36205. + fi
  36206. + ;;
  36207. + *)
  36208. + os=netbsd
  36209. + ;;
  36210. + esac
  36211. + # The OS release
  36212. + # Debian GNU/NetBSD machines have a different userland, and
  36213. + # thus, need a distinct triplet. However, they do not need
  36214. + # kernel version information, so it can be replaced with a
  36215. + # suitable tag, in the style of linux-gnu.
  36216. + case "${UNAME_VERSION}" in
  36217. + Debian*)
  36218. + release='-gnu'
  36219. + ;;
  36220. + *)
  36221. + release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
  36222. + ;;
  36223. + esac
  36224. + # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM:
  36225. + # contains redundant information, the shorter form:
  36226. + # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
  36227. + echo "${machine}-${os}${release}"
  36228. + exit ;;
  36229. + *:OpenBSD:*:*)
  36230. + UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'`
  36231. + echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE}
  36232. + exit ;;
  36233. + *:ekkoBSD:*:*)
  36234. + echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE}
  36235. + exit ;;
  36236. + *:SolidBSD:*:*)
  36237. + echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE}
  36238. + exit ;;
  36239. + macppc:MirBSD:*:*)
  36240. + echo powerpc-unknown-mirbsd${UNAME_RELEASE}
  36241. + exit ;;
  36242. + *:MirBSD:*:*)
  36243. + echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE}
  36244. + exit ;;
  36245. alpha:OSF1:*:*)
  36246. - if test $UNAME_RELEASE = "V4.0"; then
  36247. + case $UNAME_RELEASE in
  36248. + *4.0)
  36249. UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
  36250. - fi
  36251. + ;;
  36252. + *5.*)
  36253. + UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
  36254. + ;;
  36255. + esac
  36256. + # According to Compaq, /usr/sbin/psrinfo has been available on
  36257. + # OSF/1 and Tru64 systems produced since 1995. I hope that
  36258. + # covers most systems running today. This code pipes the CPU
  36259. + # types through head -n 1, so we only detect the type of CPU 0.
  36260. + ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1`
  36261. + case "$ALPHA_CPU_TYPE" in
  36262. + "EV4 (21064)")
  36263. + UNAME_MACHINE="alpha" ;;
  36264. + "EV4.5 (21064)")
  36265. + UNAME_MACHINE="alpha" ;;
  36266. + "LCA4 (21066/21068)")
  36267. + UNAME_MACHINE="alpha" ;;
  36268. + "EV5 (21164)")
  36269. + UNAME_MACHINE="alphaev5" ;;
  36270. + "EV5.6 (21164A)")
  36271. + UNAME_MACHINE="alphaev56" ;;
  36272. + "EV5.6 (21164PC)")
  36273. + UNAME_MACHINE="alphapca56" ;;
  36274. + "EV5.7 (21164PC)")
  36275. + UNAME_MACHINE="alphapca57" ;;
  36276. + "EV6 (21264)")
  36277. + UNAME_MACHINE="alphaev6" ;;
  36278. + "EV6.7 (21264A)")
  36279. + UNAME_MACHINE="alphaev67" ;;
  36280. + "EV6.8CB (21264C)")
  36281. + UNAME_MACHINE="alphaev68" ;;
  36282. + "EV6.8AL (21264B)")
  36283. + UNAME_MACHINE="alphaev68" ;;
  36284. + "EV6.8CX (21264D)")
  36285. + UNAME_MACHINE="alphaev68" ;;
  36286. + "EV6.9A (21264/EV69A)")
  36287. + UNAME_MACHINE="alphaev69" ;;
  36288. + "EV7 (21364)")
  36289. + UNAME_MACHINE="alphaev7" ;;
  36290. + "EV7.9 (21364A)")
  36291. + UNAME_MACHINE="alphaev79" ;;
  36292. + esac
  36293. + # A Pn.n version is a patched version.
  36294. # A Vn.n version is a released version.
  36295. # A Tn.n version is a released field test version.
  36296. # A Xn.n version is an unreleased experimental baselevel.
  36297. # 1.2 uses "1.2" for uname -r.
  36298. - cat <<EOF >$dummy.s
  36299. - .globl main
  36300. - .ent main
  36301. -main:
  36302. - .frame \$30,0,\$26,0
  36303. - .prologue 0
  36304. - .long 0x47e03d80 # implver $0
  36305. - lda \$2,259
  36306. - .long 0x47e20c21 # amask $2,$1
  36307. - srl \$1,8,\$2
  36308. - sll \$2,2,\$2
  36309. - sll \$0,3,\$0
  36310. - addl \$1,\$0,\$0
  36311. - addl \$2,\$0,\$0
  36312. - ret \$31,(\$26),1
  36313. - .end main
  36314. -EOF
  36315. - $CC_FOR_BUILD $dummy.s -o $dummy 2>/dev/null
  36316. - if test "$?" = 0 ; then
  36317. - ./$dummy
  36318. - case "$?" in
  36319. - 7)
  36320. - UNAME_MACHINE="alpha"
  36321. - ;;
  36322. - 15)
  36323. - UNAME_MACHINE="alphaev5"
  36324. - ;;
  36325. - 14)
  36326. - UNAME_MACHINE="alphaev56"
  36327. - ;;
  36328. - 10)
  36329. - UNAME_MACHINE="alphapca56"
  36330. - ;;
  36331. - 16)
  36332. - UNAME_MACHINE="alphaev6"
  36333. - ;;
  36334. - esac
  36335. - fi
  36336. - rm -f $dummy.s $dummy
  36337. - echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[VTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
  36338. - exit 0 ;;
  36339. + echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
  36340. + exit ;;
  36341. Alpha\ *:Windows_NT*:*)
  36342. # How do we know it's Interix rather than the generic POSIX subsystem?
  36343. # Should we change UNAME_MACHINE based on the output of uname instead
  36344. # of the specific Alpha model?
  36345. echo alpha-pc-interix
  36346. - exit 0 ;;
  36347. + exit ;;
  36348. 21064:Windows_NT:50:3)
  36349. echo alpha-dec-winnt3.5
  36350. - exit 0 ;;
  36351. + exit ;;
  36352. Amiga*:UNIX_System_V:4.0:*)
  36353. - echo m68k-cbm-sysv4
  36354. - exit 0;;
  36355. - amiga:NetBSD:*:*)
  36356. - echo m68k-cbm-netbsd${UNAME_RELEASE}
  36357. - exit 0 ;;
  36358. - amiga:OpenBSD:*:*)
  36359. - echo m68k-unknown-openbsd${UNAME_RELEASE}
  36360. - exit 0 ;;
  36361. + echo m68k-unknown-sysv4
  36362. + exit ;;
  36363. *:[Aa]miga[Oo][Ss]:*:*)
  36364. echo ${UNAME_MACHINE}-unknown-amigaos
  36365. - exit 0 ;;
  36366. - arc64:OpenBSD:*:*)
  36367. - echo mips64el-unknown-openbsd${UNAME_RELEASE}
  36368. - exit 0 ;;
  36369. - arc:OpenBSD:*:*)
  36370. - echo mipsel-unknown-openbsd${UNAME_RELEASE}
  36371. - exit 0 ;;
  36372. - hkmips:OpenBSD:*:*)
  36373. - echo mips-unknown-openbsd${UNAME_RELEASE}
  36374. - exit 0 ;;
  36375. - pmax:OpenBSD:*:*)
  36376. - echo mipsel-unknown-openbsd${UNAME_RELEASE}
  36377. - exit 0 ;;
  36378. - sgi:OpenBSD:*:*)
  36379. - echo mips-unknown-openbsd${UNAME_RELEASE}
  36380. - exit 0 ;;
  36381. - wgrisc:OpenBSD:*:*)
  36382. - echo mipsel-unknown-openbsd${UNAME_RELEASE}
  36383. - exit 0 ;;
  36384. + exit ;;
  36385. + *:[Mm]orph[Oo][Ss]:*:*)
  36386. + echo ${UNAME_MACHINE}-unknown-morphos
  36387. + exit ;;
  36388. + *:OS/390:*:*)
  36389. + echo i370-ibm-openedition
  36390. + exit ;;
  36391. + *:z/VM:*:*)
  36392. + echo s390-ibm-zvmoe
  36393. + exit ;;
  36394. + *:OS400:*:*)
  36395. + echo powerpc-ibm-os400
  36396. + exit ;;
  36397. arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
  36398. echo arm-acorn-riscix${UNAME_RELEASE}
  36399. - exit 0;;
  36400. - arm32:NetBSD:*:*)
  36401. - echo arm-unknown-netbsd`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
  36402. - exit 0 ;;
  36403. - SR2?01:HI-UX/MPP:*:*)
  36404. + exit ;;
  36405. + arm:riscos:*:*|arm:RISCOS:*:*)
  36406. + echo arm-unknown-riscos
  36407. + exit ;;
  36408. + SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*)
  36409. echo hppa1.1-hitachi-hiuxmpp
  36410. - exit 0;;
  36411. + exit ;;
  36412. Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*)
  36413. # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE.
  36414. if test "`(/bin/universe) 2>/dev/null`" = att ; then
  36415. @@ -172,25 +312,32 @@
  36416. else
  36417. echo pyramid-pyramid-bsd
  36418. fi
  36419. - exit 0 ;;
  36420. + exit ;;
  36421. NILE*:*:*:dcosx)
  36422. echo pyramid-pyramid-svr4
  36423. - exit 0 ;;
  36424. + exit ;;
  36425. + DRS?6000:unix:4.0:6*)
  36426. + echo sparc-icl-nx6
  36427. + exit ;;
  36428. + DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*)
  36429. + case `/usr/bin/uname -p` in
  36430. + sparc) echo sparc-icl-nx7; exit ;;
  36431. + esac ;;
  36432. sun4H:SunOS:5.*:*)
  36433. echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
  36434. - exit 0 ;;
  36435. + exit ;;
  36436. sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
  36437. echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
  36438. - exit 0 ;;
  36439. + exit ;;
  36440. i86pc:SunOS:5.*:*)
  36441. echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
  36442. - exit 0 ;;
  36443. + exit ;;
  36444. sun4*:SunOS:6*:*)
  36445. # According to config.sub, this is the proper way to canonicalize
  36446. # SunOS6. Hard to guess exactly what SunOS6 will be like, but
  36447. # it's likely to be more like Solaris than SunOS4.
  36448. echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
  36449. - exit 0 ;;
  36450. + exit ;;
  36451. sun4*:SunOS:*:*)
  36452. case "`/usr/bin/arch -k`" in
  36453. Series*|S4*)
  36454. @@ -199,12 +346,12 @@
  36455. esac
  36456. # Japanese Language versions have a version number like `4.1.3-JL'.
  36457. echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'`
  36458. - exit 0 ;;
  36459. + exit ;;
  36460. sun3*:SunOS:*:*)
  36461. echo m68k-sun-sunos${UNAME_RELEASE}
  36462. - exit 0 ;;
  36463. + exit ;;
  36464. sun*:*:4.2BSD:*)
  36465. - UNAME_RELEASE=`(head -1 /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`
  36466. + UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`
  36467. test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3
  36468. case "`/bin/arch`" in
  36469. sun3)
  36470. @@ -214,19 +361,13 @@
  36471. echo sparc-sun-sunos${UNAME_RELEASE}
  36472. ;;
  36473. esac
  36474. - exit 0 ;;
  36475. + exit ;;
  36476. aushp:SunOS:*:*)
  36477. echo sparc-auspex-sunos${UNAME_RELEASE}
  36478. - exit 0 ;;
  36479. - atari*:NetBSD:*:*)
  36480. - echo m68k-atari-netbsd${UNAME_RELEASE}
  36481. - exit 0 ;;
  36482. - atari*:OpenBSD:*:*)
  36483. - echo m68k-unknown-openbsd${UNAME_RELEASE}
  36484. - exit 0 ;;
  36485. + exit ;;
  36486. # The situation for MiNT is a little confusing. The machine name
  36487. # can be virtually everything (everything which is not
  36488. - # "atarist" or "atariste" at least should have a processor
  36489. + # "atarist" or "atariste" at least should have a processor
  36490. # > m68000). The system name ranges from "MiNT" over "FreeMiNT"
  36491. # to the lowercase version "mint" (or "freemint"). Finally
  36492. # the system name "TOS" denotes a system which is actually not
  36493. @@ -234,61 +375,45 @@
  36494. # be no problem.
  36495. atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*)
  36496. echo m68k-atari-mint${UNAME_RELEASE}
  36497. - exit 0 ;;
  36498. + exit ;;
  36499. atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*)
  36500. echo m68k-atari-mint${UNAME_RELEASE}
  36501. - exit 0 ;;
  36502. + exit ;;
  36503. *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*)
  36504. echo m68k-atari-mint${UNAME_RELEASE}
  36505. - exit 0 ;;
  36506. + exit ;;
  36507. milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*)
  36508. echo m68k-milan-mint${UNAME_RELEASE}
  36509. - exit 0 ;;
  36510. + exit ;;
  36511. hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*)
  36512. echo m68k-hades-mint${UNAME_RELEASE}
  36513. - exit 0 ;;
  36514. + exit ;;
  36515. *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
  36516. echo m68k-unknown-mint${UNAME_RELEASE}
  36517. - exit 0 ;;
  36518. - sun3*:NetBSD:*:*)
  36519. - echo m68k-sun-netbsd${UNAME_RELEASE}
  36520. - exit 0 ;;
  36521. - sun3*:OpenBSD:*:*)
  36522. - echo m68k-unknown-openbsd${UNAME_RELEASE}
  36523. - exit 0 ;;
  36524. - mac68k:NetBSD:*:*)
  36525. - echo m68k-apple-netbsd${UNAME_RELEASE}
  36526. - exit 0 ;;
  36527. - mac68k:OpenBSD:*:*)
  36528. - echo m68k-unknown-openbsd${UNAME_RELEASE}
  36529. - exit 0 ;;
  36530. - mvme68k:OpenBSD:*:*)
  36531. - echo m68k-unknown-openbsd${UNAME_RELEASE}
  36532. - exit 0 ;;
  36533. - mvme88k:OpenBSD:*:*)
  36534. - echo m88k-unknown-openbsd${UNAME_RELEASE}
  36535. - exit 0 ;;
  36536. + exit ;;
  36537. + m68k:machten:*:*)
  36538. + echo m68k-apple-machten${UNAME_RELEASE}
  36539. + exit ;;
  36540. powerpc:machten:*:*)
  36541. echo powerpc-apple-machten${UNAME_RELEASE}
  36542. - exit 0 ;;
  36543. - macppc:NetBSD:*:*)
  36544. - echo powerpc-apple-netbsd${UNAME_RELEASE}
  36545. - exit 0 ;;
  36546. + exit ;;
  36547. RISC*:Mach:*:*)
  36548. echo mips-dec-mach_bsd4.3
  36549. - exit 0 ;;
  36550. + exit ;;
  36551. RISC*:ULTRIX:*:*)
  36552. echo mips-dec-ultrix${UNAME_RELEASE}
  36553. - exit 0 ;;
  36554. + exit ;;
  36555. VAX*:ULTRIX*:*:*)
  36556. echo vax-dec-ultrix${UNAME_RELEASE}
  36557. - exit 0 ;;
  36558. + exit ;;
  36559. 2020:CLIX:*:* | 2430:CLIX:*:*)
  36560. echo clipper-intergraph-clix${UNAME_RELEASE}
  36561. - exit 0 ;;
  36562. + exit ;;
  36563. mips:*:*:UMIPS | mips:*:*:RISCos)
  36564. + eval $set_cc_for_build
  36565. sed 's/^ //' << EOF >$dummy.c
  36566. #ifdef __cplusplus
  36567. +#include <stdio.h> /* for printf() prototype */
  36568. int main (int argc, char *argv[]) {
  36569. #else
  36570. int main (argc, argv) int argc; char *argv[]; {
  36571. @@ -307,61 +432,82 @@
  36572. exit (-1);
  36573. }
  36574. EOF
  36575. - $CC_FOR_BUILD $dummy.c -o $dummy \
  36576. - && ./$dummy `echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` \
  36577. - && rm $dummy.c $dummy && exit 0
  36578. - rm -f $dummy.c $dummy
  36579. + $CC_FOR_BUILD -o $dummy $dummy.c &&
  36580. + dummyarg=`echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` &&
  36581. + SYSTEM_NAME=`$dummy $dummyarg` &&
  36582. + { echo "$SYSTEM_NAME"; exit; }
  36583. echo mips-mips-riscos${UNAME_RELEASE}
  36584. - exit 0 ;;
  36585. + exit ;;
  36586. + Motorola:PowerMAX_OS:*:*)
  36587. + echo powerpc-motorola-powermax
  36588. + exit ;;
  36589. + Motorola:*:4.3:PL8-*)
  36590. + echo powerpc-harris-powermax
  36591. + exit ;;
  36592. + Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*)
  36593. + echo powerpc-harris-powermax
  36594. + exit ;;
  36595. Night_Hawk:Power_UNIX:*:*)
  36596. echo powerpc-harris-powerunix
  36597. - exit 0 ;;
  36598. + exit ;;
  36599. m88k:CX/UX:7*:*)
  36600. echo m88k-harris-cxux7
  36601. - exit 0 ;;
  36602. + exit ;;
  36603. m88k:*:4*:R4*)
  36604. echo m88k-motorola-sysv4
  36605. - exit 0 ;;
  36606. + exit ;;
  36607. m88k:*:3*:R3*)
  36608. echo m88k-motorola-sysv3
  36609. - exit 0 ;;
  36610. + exit ;;
  36611. AViiON:dgux:*:*)
  36612. # DG/UX returns AViiON for all architectures
  36613. UNAME_PROCESSOR=`/usr/bin/uname -p`
  36614. - if [ $UNAME_PROCESSOR = mc88100 -o $UNAME_PROCESSOR = mc88110 ] ; then
  36615. - if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx \
  36616. - -o ${TARGET_BINARY_INTERFACE}x = x ] ; then
  36617. + if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ]
  36618. + then
  36619. + if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \
  36620. + [ ${TARGET_BINARY_INTERFACE}x = x ]
  36621. + then
  36622. echo m88k-dg-dgux${UNAME_RELEASE}
  36623. - else
  36624. + else
  36625. echo m88k-dg-dguxbcs${UNAME_RELEASE}
  36626. + fi
  36627. + else
  36628. + echo i586-dg-dgux${UNAME_RELEASE}
  36629. fi
  36630. - else echo i586-dg-dgux${UNAME_RELEASE}
  36631. - fi
  36632. - exit 0 ;;
  36633. + exit ;;
  36634. M88*:DolphinOS:*:*) # DolphinOS (SVR3)
  36635. echo m88k-dolphin-sysv3
  36636. - exit 0 ;;
  36637. + exit ;;
  36638. M88*:*:R3*:*)
  36639. # Delta 88k system running SVR3
  36640. echo m88k-motorola-sysv3
  36641. - exit 0 ;;
  36642. + exit ;;
  36643. XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3)
  36644. echo m88k-tektronix-sysv3
  36645. - exit 0 ;;
  36646. + exit ;;
  36647. Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD)
  36648. echo m68k-tektronix-bsd
  36649. - exit 0 ;;
  36650. + exit ;;
  36651. *:IRIX*:*:*)
  36652. echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'`
  36653. - exit 0 ;;
  36654. + exit ;;
  36655. ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX.
  36656. - echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id
  36657. - exit 0 ;; # Note that: echo "'`uname -s`'" gives 'AIX '
  36658. - i?86:AIX:*:*)
  36659. + echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id
  36660. + exit ;; # Note that: echo "'`uname -s`'" gives 'AIX '
  36661. + i*86:AIX:*:*)
  36662. echo i386-ibm-aix
  36663. - exit 0 ;;
  36664. + exit ;;
  36665. + ia64:AIX:*:*)
  36666. + if [ -x /usr/bin/oslevel ] ; then
  36667. + IBM_REV=`/usr/bin/oslevel`
  36668. + else
  36669. + IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
  36670. + fi
  36671. + echo ${UNAME_MACHINE}-ibm-aix${IBM_REV}
  36672. + exit ;;
  36673. *:AIX:2:3)
  36674. if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then
  36675. + eval $set_cc_for_build
  36676. sed 's/^ //' << EOF >$dummy.c
  36677. #include <sys/systemcfg.h>
  36678. @@ -373,18 +519,21 @@
  36679. exit(0);
  36680. }
  36681. EOF
  36682. - $CC_FOR_BUILD $dummy.c -o $dummy && ./$dummy && rm $dummy.c $dummy && exit 0
  36683. - rm -f $dummy.c $dummy
  36684. - echo rs6000-ibm-aix3.2.5
  36685. + if $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy`
  36686. + then
  36687. + echo "$SYSTEM_NAME"
  36688. + else
  36689. + echo rs6000-ibm-aix3.2.5
  36690. + fi
  36691. elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then
  36692. echo rs6000-ibm-aix3.2.4
  36693. else
  36694. echo rs6000-ibm-aix3.2
  36695. fi
  36696. - exit 0 ;;
  36697. - *:AIX:*:4)
  36698. - IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | head -1 | awk '{ print $1 }'`
  36699. - if /usr/sbin/lsattr -EHl ${IBM_CPU_ID} | grep POWER >/dev/null 2>&1; then
  36700. + exit ;;
  36701. + *:AIX:*:[45])
  36702. + IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
  36703. + if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
  36704. IBM_ARCH=rs6000
  36705. else
  36706. IBM_ARCH=powerpc
  36707. @@ -392,37 +541,56 @@
  36708. if [ -x /usr/bin/oslevel ] ; then
  36709. IBM_REV=`/usr/bin/oslevel`
  36710. else
  36711. - IBM_REV=4.${UNAME_RELEASE}
  36712. + IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
  36713. fi
  36714. echo ${IBM_ARCH}-ibm-aix${IBM_REV}
  36715. - exit 0 ;;
  36716. + exit ;;
  36717. *:AIX:*:*)
  36718. echo rs6000-ibm-aix
  36719. - exit 0 ;;
  36720. + exit ;;
  36721. ibmrt:4.4BSD:*|romp-ibm:BSD:*)
  36722. echo romp-ibm-bsd4.4
  36723. - exit 0 ;;
  36724. - ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC NetBSD and
  36725. + exit ;;
  36726. + ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and
  36727. echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to
  36728. - exit 0 ;; # report: romp-ibm BSD 4.3
  36729. + exit ;; # report: romp-ibm BSD 4.3
  36730. *:BOSX:*:*)
  36731. echo rs6000-bull-bosx
  36732. - exit 0 ;;
  36733. + exit ;;
  36734. DPX/2?00:B.O.S.:*:*)
  36735. echo m68k-bull-sysv3
  36736. - exit 0 ;;
  36737. + exit ;;
  36738. 9000/[34]??:4.3bsd:1.*:*)
  36739. echo m68k-hp-bsd
  36740. - exit 0 ;;
  36741. + exit ;;
  36742. hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*)
  36743. echo m68k-hp-bsd4.4
  36744. - exit 0 ;;
  36745. + exit ;;
  36746. 9000/[34678]??:HP-UX:*:*)
  36747. + HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
  36748. case "${UNAME_MACHINE}" in
  36749. 9000/31? ) HP_ARCH=m68000 ;;
  36750. 9000/[34]?? ) HP_ARCH=m68k ;;
  36751. 9000/[678][0-9][0-9])
  36752. - sed 's/^ //' << EOF >$dummy.c
  36753. + if [ -x /usr/bin/getconf ]; then
  36754. + sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null`
  36755. + sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`
  36756. + case "${sc_cpu_version}" in
  36757. + 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0
  36758. + 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1
  36759. + 532) # CPU_PA_RISC2_0
  36760. + case "${sc_kernel_bits}" in
  36761. + 32) HP_ARCH="hppa2.0n" ;;
  36762. + 64) HP_ARCH="hppa2.0w" ;;
  36763. + '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20
  36764. + esac ;;
  36765. + esac
  36766. + fi
  36767. + if [ "${HP_ARCH}" = "" ]; then
  36768. + eval $set_cc_for_build
  36769. + sed 's/^ //' << EOF >$dummy.c
  36770. +
  36771. + #define _HPUX_SOURCE
  36772. #include <stdlib.h>
  36773. #include <unistd.h>
  36774. @@ -453,13 +621,39 @@
  36775. exit (0);
  36776. }
  36777. EOF
  36778. - ($CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null ) && HP_ARCH=`./$dummy`
  36779. - rm -f $dummy.c $dummy
  36780. + (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy`
  36781. + test -z "$HP_ARCH" && HP_ARCH=hppa
  36782. + fi ;;
  36783. esac
  36784. - HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
  36785. + if [ ${HP_ARCH} = "hppa2.0w" ]
  36786. + then
  36787. + eval $set_cc_for_build
  36788. +
  36789. + # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating
  36790. + # 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler
  36791. + # generating 64-bit code. GNU and HP use different nomenclature:
  36792. + #
  36793. + # $ CC_FOR_BUILD=cc ./config.guess
  36794. + # => hppa2.0w-hp-hpux11.23
  36795. + # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess
  36796. + # => hppa64-hp-hpux11.23
  36797. +
  36798. + if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) |
  36799. + grep __LP64__ >/dev/null
  36800. + then
  36801. + HP_ARCH="hppa2.0w"
  36802. + else
  36803. + HP_ARCH="hppa64"
  36804. + fi
  36805. + fi
  36806. echo ${HP_ARCH}-hp-hpux${HPUX_REV}
  36807. - exit 0 ;;
  36808. + exit ;;
  36809. + ia64:HP-UX:*:*)
  36810. + HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
  36811. + echo ia64-hp-hpux${HPUX_REV}
  36812. + exit ;;
  36813. 3050*:HI-UX:*:*)
  36814. + eval $set_cc_for_build
  36815. sed 's/^ //' << EOF >$dummy.c
  36816. #include <unistd.h>
  36817. int
  36818. @@ -485,410 +679,475 @@
  36819. exit (0);
  36820. }
  36821. EOF
  36822. - $CC_FOR_BUILD $dummy.c -o $dummy && ./$dummy && rm $dummy.c $dummy && exit 0
  36823. - rm -f $dummy.c $dummy
  36824. + $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` &&
  36825. + { echo "$SYSTEM_NAME"; exit; }
  36826. echo unknown-hitachi-hiuxwe2
  36827. - exit 0 ;;
  36828. + exit ;;
  36829. 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* )
  36830. echo hppa1.1-hp-bsd
  36831. - exit 0 ;;
  36832. + exit ;;
  36833. 9000/8??:4.3bsd:*:*)
  36834. echo hppa1.0-hp-bsd
  36835. - exit 0 ;;
  36836. - *9??*:MPE/iX:*:*)
  36837. + exit ;;
  36838. + *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*)
  36839. echo hppa1.0-hp-mpeix
  36840. - exit 0 ;;
  36841. + exit ;;
  36842. hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* )
  36843. echo hppa1.1-hp-osf
  36844. - exit 0 ;;
  36845. + exit ;;
  36846. hp8??:OSF1:*:*)
  36847. echo hppa1.0-hp-osf
  36848. - exit 0 ;;
  36849. - i?86:OSF1:*:*)
  36850. + exit ;;
  36851. + i*86:OSF1:*:*)
  36852. if [ -x /usr/sbin/sysversion ] ; then
  36853. echo ${UNAME_MACHINE}-unknown-osf1mk
  36854. else
  36855. echo ${UNAME_MACHINE}-unknown-osf1
  36856. fi
  36857. - exit 0 ;;
  36858. + exit ;;
  36859. parisc*:Lites*:*:*)
  36860. echo hppa1.1-hp-lites
  36861. - exit 0 ;;
  36862. - hppa*:OpenBSD:*:*)
  36863. - echo hppa-unknown-openbsd
  36864. - exit 0 ;;
  36865. + exit ;;
  36866. C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*)
  36867. echo c1-convex-bsd
  36868. - exit 0 ;;
  36869. + exit ;;
  36870. C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*)
  36871. if getsysinfo -f scalar_acc
  36872. then echo c32-convex-bsd
  36873. else echo c2-convex-bsd
  36874. fi
  36875. - exit 0 ;;
  36876. + exit ;;
  36877. C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*)
  36878. echo c34-convex-bsd
  36879. - exit 0 ;;
  36880. + exit ;;
  36881. C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*)
  36882. echo c38-convex-bsd
  36883. - exit 0 ;;
  36884. + exit ;;
  36885. C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*)
  36886. echo c4-convex-bsd
  36887. - exit 0 ;;
  36888. - CRAY*X-MP:*:*:*)
  36889. - echo xmp-cray-unicos
  36890. - exit 0 ;;
  36891. + exit ;;
  36892. CRAY*Y-MP:*:*:*)
  36893. - echo ymp-cray-unicos${UNAME_RELEASE}
  36894. - exit 0 ;;
  36895. + echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
  36896. + exit ;;
  36897. CRAY*[A-Z]90:*:*:*)
  36898. echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \
  36899. | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \
  36900. - -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/
  36901. - exit 0 ;;
  36902. + -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \
  36903. + -e 's/\.[^.]*$/.X/'
  36904. + exit ;;
  36905. CRAY*TS:*:*:*)
  36906. - echo t90-cray-unicos${UNAME_RELEASE}
  36907. - exit 0 ;;
  36908. + echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
  36909. + exit ;;
  36910. CRAY*T3E:*:*:*)
  36911. - echo alpha-cray-unicosmk${UNAME_RELEASE}
  36912. - exit 0 ;;
  36913. - CRAY-2:*:*:*)
  36914. - echo cray2-cray-unicos
  36915. - exit 0 ;;
  36916. - F300:UNIX_System_V:*:*)
  36917. + echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
  36918. + exit ;;
  36919. + CRAY*SV1:*:*:*)
  36920. + echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
  36921. + exit ;;
  36922. + *:UNICOS/mp:*:*)
  36923. + echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
  36924. + exit ;;
  36925. + F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
  36926. + FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
  36927. FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
  36928. FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
  36929. - echo "f300-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
  36930. - exit 0 ;;
  36931. - F301:UNIX_System_V:*:*)
  36932. - echo f301-fujitsu-uxpv`echo $UNAME_RELEASE | sed 's/ .*//'`
  36933. - exit 0 ;;
  36934. - hp3[0-9][05]:NetBSD:*:*)
  36935. - echo m68k-hp-netbsd${UNAME_RELEASE}
  36936. - exit 0 ;;
  36937. - hp300:OpenBSD:*:*)
  36938. - echo m68k-unknown-openbsd${UNAME_RELEASE}
  36939. - exit 0 ;;
  36940. - i?86:BSD/386:*:* | i?86:BSD/OS:*:*)
  36941. + echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
  36942. + exit ;;
  36943. + 5000:UNIX_System_V:4.*:*)
  36944. + FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
  36945. + FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'`
  36946. + echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
  36947. + exit ;;
  36948. + i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
  36949. echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
  36950. - exit 0 ;;
  36951. + exit ;;
  36952. sparc*:BSD/OS:*:*)
  36953. echo sparc-unknown-bsdi${UNAME_RELEASE}
  36954. - exit 0 ;;
  36955. + exit ;;
  36956. *:BSD/OS:*:*)
  36957. echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
  36958. - exit 0 ;;
  36959. + exit ;;
  36960. *:FreeBSD:*:*)
  36961. - if test -x /usr/bin/objformat; then
  36962. - if test "elf" = "`/usr/bin/objformat`"; then
  36963. - echo ${UNAME_MACHINE}-unknown-freebsdelf`echo ${UNAME_RELEASE}|sed -e 's/[-_].*//'`
  36964. - exit 0
  36965. - fi
  36966. - fi
  36967. - echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
  36968. - exit 0 ;;
  36969. - *:NetBSD:*:*)
  36970. - echo ${UNAME_MACHINE}-unknown-netbsd`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
  36971. - exit 0 ;;
  36972. - *:OpenBSD:*:*)
  36973. - echo ${UNAME_MACHINE}-unknown-openbsd`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
  36974. - exit 0 ;;
  36975. + case ${UNAME_MACHINE} in
  36976. + pc98)
  36977. + echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
  36978. + amd64)
  36979. + echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
  36980. + *)
  36981. + echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
  36982. + esac
  36983. + exit ;;
  36984. i*:CYGWIN*:*)
  36985. echo ${UNAME_MACHINE}-pc-cygwin
  36986. - exit 0 ;;
  36987. + exit ;;
  36988. i*:MINGW*:*)
  36989. echo ${UNAME_MACHINE}-pc-mingw32
  36990. - exit 0 ;;
  36991. + exit ;;
  36992. + i*:windows32*:*)
  36993. + # uname -m includes "-pc" on this system.
  36994. + echo ${UNAME_MACHINE}-mingw32
  36995. + exit ;;
  36996. + i*:PW*:*)
  36997. + echo ${UNAME_MACHINE}-pc-pw32
  36998. + exit ;;
  36999. + x86:Interix*:[3456]*)
  37000. + echo i586-pc-interix${UNAME_RELEASE}
  37001. + exit ;;
  37002. + EM64T:Interix*:[3456]*)
  37003. + echo x86_64-unknown-interix${UNAME_RELEASE}
  37004. + exit ;;
  37005. + [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
  37006. + echo i${UNAME_MACHINE}-pc-mks
  37007. + exit ;;
  37008. i*:Windows_NT*:* | Pentium*:Windows_NT*:*)
  37009. # How do we know it's Interix rather than the generic POSIX subsystem?
  37010. # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we
  37011. # UNAME_MACHINE based on the output of uname instead of i386?
  37012. - echo i386-pc-interix
  37013. - exit 0 ;;
  37014. + echo i586-pc-interix
  37015. + exit ;;
  37016. i*:UWIN*:*)
  37017. echo ${UNAME_MACHINE}-pc-uwin
  37018. - exit 0 ;;
  37019. + exit ;;
  37020. + amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*)
  37021. + echo x86_64-unknown-cygwin
  37022. + exit ;;
  37023. p*:CYGWIN*:*)
  37024. echo powerpcle-unknown-cygwin
  37025. - exit 0 ;;
  37026. + exit ;;
  37027. prep*:SunOS:5.*:*)
  37028. echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
  37029. - exit 0 ;;
  37030. + exit ;;
  37031. *:GNU:*:*)
  37032. + # the GNU system
  37033. echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
  37034. - exit 0 ;;
  37035. - *:Linux:*:*)
  37036. - # uname on the ARM produces all sorts of strangeness, and we need to
  37037. - # filter it out.
  37038. - case "$UNAME_MACHINE" in
  37039. - armv*) UNAME_MACHINE=$UNAME_MACHINE ;;
  37040. - arm* | sa110*) UNAME_MACHINE="arm" ;;
  37041. + exit ;;
  37042. + *:GNU/*:*:*)
  37043. + # other systems with GNU libc and userland
  37044. + echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu
  37045. + exit ;;
  37046. + i*86:Minix:*:*)
  37047. + echo ${UNAME_MACHINE}-pc-minix
  37048. + exit ;;
  37049. + arm*:Linux:*:*)
  37050. + echo ${UNAME_MACHINE}-unknown-linux-gnu
  37051. + exit ;;
  37052. + avr32*:Linux:*:*)
  37053. + echo ${UNAME_MACHINE}-unknown-linux-gnu
  37054. + exit ;;
  37055. + cris:Linux:*:*)
  37056. + echo cris-axis-linux-gnu
  37057. + exit ;;
  37058. + crisv32:Linux:*:*)
  37059. + echo crisv32-axis-linux-gnu
  37060. + exit ;;
  37061. + frv:Linux:*:*)
  37062. + echo frv-unknown-linux-gnu
  37063. + exit ;;
  37064. + ia64:Linux:*:*)
  37065. + echo ${UNAME_MACHINE}-unknown-linux-gnu
  37066. + exit ;;
  37067. + m32r*:Linux:*:*)
  37068. + echo ${UNAME_MACHINE}-unknown-linux-gnu
  37069. + exit ;;
  37070. + m68*:Linux:*:*)
  37071. + echo ${UNAME_MACHINE}-unknown-linux-gnu
  37072. + exit ;;
  37073. + mips:Linux:*:*)
  37074. + eval $set_cc_for_build
  37075. + sed 's/^ //' << EOF >$dummy.c
  37076. + #undef CPU
  37077. + #undef mips
  37078. + #undef mipsel
  37079. + #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
  37080. + CPU=mipsel
  37081. + #else
  37082. + #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
  37083. + CPU=mips
  37084. + #else
  37085. + CPU=
  37086. + #endif
  37087. + #endif
  37088. +EOF
  37089. + eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
  37090. + /^CPU/{
  37091. + s: ::g
  37092. + p
  37093. + }'`"
  37094. + test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
  37095. + ;;
  37096. + mips64:Linux:*:*)
  37097. + eval $set_cc_for_build
  37098. + sed 's/^ //' << EOF >$dummy.c
  37099. + #undef CPU
  37100. + #undef mips64
  37101. + #undef mips64el
  37102. + #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
  37103. + CPU=mips64el
  37104. + #else
  37105. + #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
  37106. + CPU=mips64
  37107. + #else
  37108. + CPU=
  37109. + #endif
  37110. + #endif
  37111. +EOF
  37112. + eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
  37113. + /^CPU/{
  37114. + s: ::g
  37115. + p
  37116. + }'`"
  37117. + test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
  37118. + ;;
  37119. + or32:Linux:*:*)
  37120. + echo or32-unknown-linux-gnu
  37121. + exit ;;
  37122. + ppc:Linux:*:*)
  37123. + echo powerpc-unknown-linux-gnu
  37124. + exit ;;
  37125. + ppc64:Linux:*:*)
  37126. + echo powerpc64-unknown-linux-gnu
  37127. + exit ;;
  37128. + alpha:Linux:*:*)
  37129. + case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
  37130. + EV5) UNAME_MACHINE=alphaev5 ;;
  37131. + EV56) UNAME_MACHINE=alphaev56 ;;
  37132. + PCA56) UNAME_MACHINE=alphapca56 ;;
  37133. + PCA57) UNAME_MACHINE=alphapca56 ;;
  37134. + EV6) UNAME_MACHINE=alphaev6 ;;
  37135. + EV67) UNAME_MACHINE=alphaev67 ;;
  37136. + EV68*) UNAME_MACHINE=alphaev68 ;;
  37137. + esac
  37138. + objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null
  37139. + if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
  37140. + echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
  37141. + exit ;;
  37142. + parisc:Linux:*:* | hppa:Linux:*:*)
  37143. + # Look for CPU level
  37144. + case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
  37145. + PA7*) echo hppa1.1-unknown-linux-gnu ;;
  37146. + PA8*) echo hppa2.0-unknown-linux-gnu ;;
  37147. + *) echo hppa-unknown-linux-gnu ;;
  37148. esac
  37149. -
  37150. + exit ;;
  37151. + parisc64:Linux:*:* | hppa64:Linux:*:*)
  37152. + echo hppa64-unknown-linux-gnu
  37153. + exit ;;
  37154. + s390:Linux:*:* | s390x:Linux:*:*)
  37155. + echo ${UNAME_MACHINE}-ibm-linux
  37156. + exit ;;
  37157. + sh64*:Linux:*:*)
  37158. + echo ${UNAME_MACHINE}-unknown-linux-gnu
  37159. + exit ;;
  37160. + sh*:Linux:*:*)
  37161. + echo ${UNAME_MACHINE}-unknown-linux-gnu
  37162. + exit ;;
  37163. + sparc:Linux:*:* | sparc64:Linux:*:*)
  37164. + echo ${UNAME_MACHINE}-unknown-linux-gnu
  37165. + exit ;;
  37166. + vax:Linux:*:*)
  37167. + echo ${UNAME_MACHINE}-dec-linux-gnu
  37168. + exit ;;
  37169. + x86_64:Linux:*:*)
  37170. + echo x86_64-unknown-linux-gnu
  37171. + exit ;;
  37172. + i*86:Linux:*:*)
  37173. # The BFD linker knows what the default object file format is, so
  37174. # first see if it will tell us. cd to the root directory to prevent
  37175. # problems with other programs or directories called `ld' in the path.
  37176. - ld_help_string=`cd /; ld --help 2>&1`
  37177. - ld_supported_emulations=`echo $ld_help_string \
  37178. - | sed -ne '/supported emulations:/!d
  37179. + # Set LC_ALL=C to ensure ld outputs messages in English.
  37180. + ld_supported_targets=`cd /; LC_ALL=C ld --help 2>&1 \
  37181. + | sed -ne '/supported targets:/!d
  37182. s/[ ][ ]*/ /g
  37183. - s/.*supported emulations: *//
  37184. + s/.*supported targets: *//
  37185. s/ .*//
  37186. p'`
  37187. - case "$ld_supported_emulations" in
  37188. - *ia64) echo "${UNAME_MACHINE}-unknown-linux" ; exit 0 ;;
  37189. - i?86linux) echo "${UNAME_MACHINE}-pc-linux-gnuaout" ; exit 0 ;;
  37190. - i?86coff) echo "${UNAME_MACHINE}-pc-linux-gnucoff" ; exit 0 ;;
  37191. - sparclinux) echo "${UNAME_MACHINE}-unknown-linux-gnuaout" ; exit 0 ;;
  37192. - armlinux) echo "${UNAME_MACHINE}-unknown-linux-gnuaout" ; exit 0 ;;
  37193. - m68klinux) echo "${UNAME_MACHINE}-unknown-linux-gnuaout" ; exit 0 ;;
  37194. - elf32ppc | elf32ppclinux)
  37195. - # Determine Lib Version
  37196. - cat >$dummy.c <<EOF
  37197. -#include <features.h>
  37198. -#if defined(__GLIBC__)
  37199. -extern char __libc_version[];
  37200. -extern char __libc_release[];
  37201. -#endif
  37202. -main(argc, argv)
  37203. - int argc;
  37204. - char *argv[];
  37205. -{
  37206. -#if defined(__GLIBC__)
  37207. - printf("%s %s\n", __libc_version, __libc_release);
  37208. -#else
  37209. - printf("unkown\n");
  37210. -#endif
  37211. - return 0;
  37212. -}
  37213. -EOF
  37214. - LIBC=""
  37215. - $CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null
  37216. - if test "$?" = 0 ; then
  37217. - ./$dummy | grep 1\.99 > /dev/null
  37218. - if test "$?" = 0 ; then
  37219. - LIBC="libc1"
  37220. - fi
  37221. - fi
  37222. - rm -f $dummy.c $dummy
  37223. - echo powerpc-unknown-linux-gnu${LIBC} ; exit 0 ;;
  37224. + case "$ld_supported_targets" in
  37225. + elf32-i386)
  37226. + TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu"
  37227. + ;;
  37228. + a.out-i386-linux)
  37229. + echo "${UNAME_MACHINE}-pc-linux-gnuaout"
  37230. + exit ;;
  37231. + coff-i386)
  37232. + echo "${UNAME_MACHINE}-pc-linux-gnucoff"
  37233. + exit ;;
  37234. + "")
  37235. + # Either a pre-BFD a.out linker (linux-gnuoldld) or
  37236. + # one that does not give us useful --help.
  37237. + echo "${UNAME_MACHINE}-pc-linux-gnuoldld"
  37238. + exit ;;
  37239. esac
  37240. -
  37241. - if test "${UNAME_MACHINE}" = "alpha" ; then
  37242. - sed 's/^ //' <<EOF >$dummy.s
  37243. - .globl main
  37244. - .ent main
  37245. - main:
  37246. - .frame \$30,0,\$26,0
  37247. - .prologue 0
  37248. - .long 0x47e03d80 # implver $0
  37249. - lda \$2,259
  37250. - .long 0x47e20c21 # amask $2,$1
  37251. - srl \$1,8,\$2
  37252. - sll \$2,2,\$2
  37253. - sll \$0,3,\$0
  37254. - addl \$1,\$0,\$0
  37255. - addl \$2,\$0,\$0
  37256. - ret \$31,(\$26),1
  37257. - .end main
  37258. -EOF
  37259. - LIBC=""
  37260. - $CC_FOR_BUILD $dummy.s -o $dummy 2>/dev/null
  37261. - if test "$?" = 0 ; then
  37262. - ./$dummy
  37263. - case "$?" in
  37264. - 7)
  37265. - UNAME_MACHINE="alpha"
  37266. - ;;
  37267. - 15)
  37268. - UNAME_MACHINE="alphaev5"
  37269. - ;;
  37270. - 14)
  37271. - UNAME_MACHINE="alphaev56"
  37272. - ;;
  37273. - 10)
  37274. - UNAME_MACHINE="alphapca56"
  37275. - ;;
  37276. - 16)
  37277. - UNAME_MACHINE="alphaev6"
  37278. - ;;
  37279. - esac
  37280. -
  37281. - objdump --private-headers $dummy | \
  37282. - grep ld.so.1 > /dev/null
  37283. - if test "$?" = 0 ; then
  37284. - LIBC="libc1"
  37285. - fi
  37286. - fi
  37287. - rm -f $dummy.s $dummy
  37288. - echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC} ; exit 0
  37289. - elif test "${UNAME_MACHINE}" = "mips" ; then
  37290. - cat >$dummy.c <<EOF
  37291. -#ifdef __cplusplus
  37292. - int main (int argc, char *argv[]) {
  37293. -#else
  37294. - int main (argc, argv) int argc; char *argv[]; {
  37295. -#endif
  37296. -#ifdef __MIPSEB__
  37297. - printf ("%s-unknown-linux-gnu\n", argv[1]);
  37298. -#endif
  37299. -#ifdef __MIPSEL__
  37300. - printf ("%sel-unknown-linux-gnu\n", argv[1]);
  37301. -#endif
  37302. - return 0;
  37303. -}
  37304. -EOF
  37305. - $CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null && ./$dummy "${UNAME_MACHINE}" && rm $dummy.c $dummy && exit 0
  37306. - rm -f $dummy.c $dummy
  37307. - else
  37308. - # Either a pre-BFD a.out linker (linux-gnuoldld)
  37309. - # or one that does not give us useful --help.
  37310. - # GCC wants to distinguish between linux-gnuoldld and linux-gnuaout.
  37311. - # If ld does not provide *any* "supported emulations:"
  37312. - # that means it is gnuoldld.
  37313. - echo "$ld_help_string" | grep >/dev/null 2>&1 "supported emulations:"
  37314. - test $? != 0 && echo "${UNAME_MACHINE}-pc-linux-gnuoldld" && exit 0
  37315. -
  37316. - case "${UNAME_MACHINE}" in
  37317. - i?86)
  37318. - VENDOR=pc;
  37319. - ;;
  37320. - *)
  37321. - VENDOR=unknown;
  37322. - ;;
  37323. - esac
  37324. - # Determine whether the default compiler is a.out or elf
  37325. - cat >$dummy.c <<EOF
  37326. -#include <features.h>
  37327. -#ifdef __cplusplus
  37328. - int main (int argc, char *argv[]) {
  37329. -#else
  37330. - int main (argc, argv) int argc; char *argv[]; {
  37331. -#endif
  37332. -#ifdef __ELF__
  37333. -# ifdef __GLIBC__
  37334. -# if __GLIBC__ >= 2
  37335. - printf ("%s-${VENDOR}-linux-gnu\n", argv[1]);
  37336. -# else
  37337. - printf ("%s-${VENDOR}-linux-gnulibc1\n", argv[1]);
  37338. -# endif
  37339. -# else
  37340. - printf ("%s-${VENDOR}-linux-gnulibc1\n", argv[1]);
  37341. -# endif
  37342. -#else
  37343. - printf ("%s-${VENDOR}-linux-gnuaout\n", argv[1]);
  37344. -#endif
  37345. - return 0;
  37346. -}
  37347. + # Determine whether the default compiler is a.out or elf
  37348. + eval $set_cc_for_build
  37349. + sed 's/^ //' << EOF >$dummy.c
  37350. + #include <features.h>
  37351. + #ifdef __ELF__
  37352. + # ifdef __GLIBC__
  37353. + # if __GLIBC__ >= 2
  37354. + LIBC=gnu
  37355. + # else
  37356. + LIBC=gnulibc1
  37357. + # endif
  37358. + # else
  37359. + LIBC=gnulibc1
  37360. + # endif
  37361. + #else
  37362. + #if defined(__INTEL_COMPILER) || defined(__PGI) || defined(__SUNPRO_C) || defined(__SUNPRO_CC)
  37363. + LIBC=gnu
  37364. + #else
  37365. + LIBC=gnuaout
  37366. + #endif
  37367. + #endif
  37368. + #ifdef __dietlibc__
  37369. + LIBC=dietlibc
  37370. + #endif
  37371. EOF
  37372. - $CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null && ./$dummy "${UNAME_MACHINE}" && rm $dummy.c $dummy && exit 0
  37373. - rm -f $dummy.c $dummy
  37374. - fi ;;
  37375. -# ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. earlier versions
  37376. -# are messed up and put the nodename in both sysname and nodename.
  37377. - i?86:DYNIX/ptx:4*:*)
  37378. + eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
  37379. + /^LIBC/{
  37380. + s: ::g
  37381. + p
  37382. + }'`"
  37383. + test x"${LIBC}" != x && {
  37384. + echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
  37385. + exit
  37386. + }
  37387. + test x"${TENTATIVE}" != x && { echo "${TENTATIVE}"; exit; }
  37388. + ;;
  37389. + i*86:DYNIX/ptx:4*:*)
  37390. + # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
  37391. + # earlier versions are messed up and put the nodename in both
  37392. + # sysname and nodename.
  37393. echo i386-sequent-sysv4
  37394. - exit 0 ;;
  37395. - i?86:UNIX_SV:4.2MP:2.*)
  37396. + exit ;;
  37397. + i*86:UNIX_SV:4.2MP:2.*)
  37398. # Unixware is an offshoot of SVR4, but it has its own version
  37399. # number series starting with 2...
  37400. # I am not positive that other SVR4 systems won't match this,
  37401. # I just have to hope. -- rms.
  37402. # Use sysv4.2uw... so that sysv4* matches it.
  37403. echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION}
  37404. - exit 0 ;;
  37405. - i?86:*:4.*:* | i?86:SYSTEM_V:4.*:*)
  37406. + exit ;;
  37407. + i*86:OS/2:*:*)
  37408. + # If we were able to find `uname', then EMX Unix compatibility
  37409. + # is probably installed.
  37410. + echo ${UNAME_MACHINE}-pc-os2-emx
  37411. + exit ;;
  37412. + i*86:XTS-300:*:STOP)
  37413. + echo ${UNAME_MACHINE}-unknown-stop
  37414. + exit ;;
  37415. + i*86:atheos:*:*)
  37416. + echo ${UNAME_MACHINE}-unknown-atheos
  37417. + exit ;;
  37418. + i*86:syllable:*:*)
  37419. + echo ${UNAME_MACHINE}-pc-syllable
  37420. + exit ;;
  37421. + i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*)
  37422. + echo i386-unknown-lynxos${UNAME_RELEASE}
  37423. + exit ;;
  37424. + i*86:*DOS:*:*)
  37425. + echo ${UNAME_MACHINE}-pc-msdosdjgpp
  37426. + exit ;;
  37427. + i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*)
  37428. + UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'`
  37429. if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then
  37430. - echo ${UNAME_MACHINE}-univel-sysv${UNAME_RELEASE}
  37431. + echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL}
  37432. else
  37433. - echo ${UNAME_MACHINE}-pc-sysv${UNAME_RELEASE}
  37434. + echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL}
  37435. fi
  37436. - exit 0 ;;
  37437. - i?86:*:5:7*)
  37438. - UNAME_REL=`(/bin/uname -X|egrep Release|sed -e 's/.*= //')`
  37439. - (/bin/uname -X|egrep i80486 >/dev/null) && UNAME_MACHINE=i486
  37440. - (/bin/uname -X|egrep '^Machine.*Pentium' >/dev/null) && UNAME_MACHINE=i586
  37441. - (/bin/uname -X|egrep '^Machine.*Pent.*II' >/dev/null) && UNAME_MACHINE=i686
  37442. - (/bin/uname -X|egrep '^Machine.*Pentium Pro' >/dev/null) && UNAME_MACHINE=i585
  37443. - echo ${UNAME_MACHINE}-${UNAME_SYSTEM}${UNAME_VERSION}-sysv${UNAME_RELEASE}
  37444. - exit 0 ;;
  37445. - i?86:*:3.2:*)
  37446. + exit ;;
  37447. + i*86:*:5:[678]*)
  37448. + # UnixWare 7.x, OpenUNIX and OpenServer 6.
  37449. + case `/bin/uname -X | grep "^Machine"` in
  37450. + *486*) UNAME_MACHINE=i486 ;;
  37451. + *Pentium) UNAME_MACHINE=i586 ;;
  37452. + *Pent*|*Celeron) UNAME_MACHINE=i686 ;;
  37453. + esac
  37454. + echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION}
  37455. + exit ;;
  37456. + i*86:*:3.2:*)
  37457. if test -f /usr/options/cb.name; then
  37458. UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name`
  37459. echo ${UNAME_MACHINE}-pc-isc$UNAME_REL
  37460. elif /bin/uname -X 2>/dev/null >/dev/null ; then
  37461. - UNAME_REL=`(/bin/uname -X|egrep Release|sed -e 's/.*= //')`
  37462. - (/bin/uname -X|egrep i80486 >/dev/null) && UNAME_MACHINE=i486
  37463. - (/bin/uname -X|egrep '^Machine.*Pentium' >/dev/null) \
  37464. + UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')`
  37465. + (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486
  37466. + (/bin/uname -X|grep '^Machine.*Pentium' >/dev/null) \
  37467. && UNAME_MACHINE=i586
  37468. - (/bin/uname -X|egrep '^Machine.*Pent ?II' >/dev/null) \
  37469. + (/bin/uname -X|grep '^Machine.*Pent *II' >/dev/null) \
  37470. && UNAME_MACHINE=i686
  37471. - (/bin/uname -X|egrep '^Machine.*Pentium Pro' >/dev/null) \
  37472. + (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \
  37473. && UNAME_MACHINE=i686
  37474. echo ${UNAME_MACHINE}-pc-sco$UNAME_REL
  37475. else
  37476. echo ${UNAME_MACHINE}-pc-sysv32
  37477. fi
  37478. - exit 0 ;;
  37479. + exit ;;
  37480. pc:*:*:*)
  37481. + # Left here for compatibility:
  37482. # uname -m prints for DJGPP always 'pc', but it prints nothing about
  37483. # the processor, so we play safe by assuming i386.
  37484. echo i386-pc-msdosdjgpp
  37485. - exit 0 ;;
  37486. + exit ;;
  37487. Intel:Mach:3*:*)
  37488. echo i386-pc-mach3
  37489. - exit 0 ;;
  37490. + exit ;;
  37491. paragon:*:*:*)
  37492. echo i860-intel-osf1
  37493. - exit 0 ;;
  37494. + exit ;;
  37495. i860:*:4.*:*) # i860-SVR4
  37496. if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then
  37497. echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4
  37498. else # Add other i860-SVR4 vendors below as they are discovered.
  37499. echo i860-unknown-sysv${UNAME_RELEASE} # Unknown i860-SVR4
  37500. fi
  37501. - exit 0 ;;
  37502. + exit ;;
  37503. mini*:CTIX:SYS*5:*)
  37504. # "miniframe"
  37505. echo m68010-convergent-sysv
  37506. - exit 0 ;;
  37507. - M68*:*:R3V[567]*:*)
  37508. - test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;;
  37509. - 3[34]??:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 4850:*:4.0:3.0)
  37510. + exit ;;
  37511. + mc68k:UNIX:SYSTEM5:3.51m)
  37512. + echo m68k-convergent-sysv
  37513. + exit ;;
  37514. + M680?0:D-NIX:5.3:*)
  37515. + echo m68k-diab-dnix
  37516. + exit ;;
  37517. + M68*:*:R3V[5678]*:*)
  37518. + test -r /sysV68 && { echo 'm68k-motorola-sysv'; exit; } ;;
  37519. + 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)
  37520. OS_REL=''
  37521. test -r /etc/.relid \
  37522. && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
  37523. /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
  37524. - && echo i486-ncr-sysv4.3${OS_REL} && exit 0
  37525. + && { echo i486-ncr-sysv4.3${OS_REL}; exit; }
  37526. /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
  37527. - && echo i586-ncr-sysv4.3${OS_REL} && exit 0 ;;
  37528. + && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
  37529. 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
  37530. /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
  37531. - && echo i486-ncr-sysv4 && exit 0 ;;
  37532. - m68*:LynxOS:2.*:*)
  37533. + && { echo i486-ncr-sysv4; exit; } ;;
  37534. + m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*)
  37535. echo m68k-unknown-lynxos${UNAME_RELEASE}
  37536. - exit 0 ;;
  37537. + exit ;;
  37538. mc68030:UNIX_System_V:4.*:*)
  37539. echo m68k-atari-sysv4
  37540. - exit 0 ;;
  37541. - i?86:LynxOS:2.*:* | i?86:LynxOS:3.[01]*:*)
  37542. - echo i386-unknown-lynxos${UNAME_RELEASE}
  37543. - exit 0 ;;
  37544. + exit ;;
  37545. TSUNAMI:LynxOS:2.*:*)
  37546. echo sparc-unknown-lynxos${UNAME_RELEASE}
  37547. - exit 0 ;;
  37548. - rs6000:LynxOS:2.*:* | PowerPC:LynxOS:2.*:*)
  37549. + exit ;;
  37550. + rs6000:LynxOS:2.*:*)
  37551. echo rs6000-unknown-lynxos${UNAME_RELEASE}
  37552. - exit 0 ;;
  37553. + exit ;;
  37554. + PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.0*:*)
  37555. + echo powerpc-unknown-lynxos${UNAME_RELEASE}
  37556. + exit ;;
  37557. SM[BE]S:UNIX_SV:*:*)
  37558. echo mips-dde-sysv${UNAME_RELEASE}
  37559. - exit 0 ;;
  37560. + exit ;;
  37561. RM*:ReliantUNIX-*:*:*)
  37562. echo mips-sni-sysv4
  37563. - exit 0 ;;
  37564. + exit ;;
  37565. RM*:SINIX-*:*:*)
  37566. echo mips-sni-sysv4
  37567. - exit 0 ;;
  37568. + exit ;;
  37569. *:SINIX-*:*:*)
  37570. if uname -p 2>/dev/null >/dev/null ; then
  37571. UNAME_MACHINE=`(uname -p) 2>/dev/null`
  37572. @@ -896,59 +1155,155 @@
  37573. else
  37574. echo ns32k-sni-sysv
  37575. fi
  37576. - exit 0 ;;
  37577. - PENTIUM:CPunix:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort
  37578. - # says <Richard.M.Bartel@ccMail.Census.GOV>
  37579. + exit ;;
  37580. + PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort
  37581. + # says <Richard.M.Bartel@ccMail.Census.GOV>
  37582. echo i586-unisys-sysv4
  37583. - exit 0 ;;
  37584. + exit ;;
  37585. *:UNIX_System_V:4*:FTX*)
  37586. # From Gerald Hewes <hewes@openmarket.com>.
  37587. # How about differentiating between stratus architectures? -djm
  37588. echo hppa1.1-stratus-sysv4
  37589. - exit 0 ;;
  37590. + exit ;;
  37591. *:*:*:FTX*)
  37592. # From seanf@swdc.stratus.com.
  37593. echo i860-stratus-sysv4
  37594. - exit 0 ;;
  37595. + exit ;;
  37596. + i*86:VOS:*:*)
  37597. + # From Paul.Green@stratus.com.
  37598. + echo ${UNAME_MACHINE}-stratus-vos
  37599. + exit ;;
  37600. + *:VOS:*:*)
  37601. + # From Paul.Green@stratus.com.
  37602. + echo hppa1.1-stratus-vos
  37603. + exit ;;
  37604. mc68*:A/UX:*:*)
  37605. echo m68k-apple-aux${UNAME_RELEASE}
  37606. - exit 0 ;;
  37607. - news*:NEWS-OS:*:6*)
  37608. + exit ;;
  37609. + news*:NEWS-OS:6*:*)
  37610. echo mips-sony-newsos6
  37611. - exit 0 ;;
  37612. + exit ;;
  37613. R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*)
  37614. if [ -d /usr/nec ]; then
  37615. echo mips-nec-sysv${UNAME_RELEASE}
  37616. else
  37617. echo mips-unknown-sysv${UNAME_RELEASE}
  37618. fi
  37619. - exit 0 ;;
  37620. + exit ;;
  37621. BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only.
  37622. echo powerpc-be-beos
  37623. - exit 0 ;;
  37624. + exit ;;
  37625. BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only.
  37626. echo powerpc-apple-beos
  37627. - exit 0 ;;
  37628. + exit ;;
  37629. BePC:BeOS:*:*) # BeOS running on Intel PC compatible.
  37630. echo i586-pc-beos
  37631. - exit 0 ;;
  37632. + exit ;;
  37633. SX-4:SUPER-UX:*:*)
  37634. echo sx4-nec-superux${UNAME_RELEASE}
  37635. - exit 0 ;;
  37636. + exit ;;
  37637. SX-5:SUPER-UX:*:*)
  37638. echo sx5-nec-superux${UNAME_RELEASE}
  37639. - exit 0 ;;
  37640. + exit ;;
  37641. + SX-6:SUPER-UX:*:*)
  37642. + echo sx6-nec-superux${UNAME_RELEASE}
  37643. + exit ;;
  37644. Power*:Rhapsody:*:*)
  37645. echo powerpc-apple-rhapsody${UNAME_RELEASE}
  37646. - exit 0 ;;
  37647. + exit ;;
  37648. *:Rhapsody:*:*)
  37649. echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE}
  37650. - exit 0 ;;
  37651. + exit ;;
  37652. + *:Darwin:*:*)
  37653. + UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
  37654. + case $UNAME_PROCESSOR in
  37655. + unknown) UNAME_PROCESSOR=powerpc ;;
  37656. + esac
  37657. + echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
  37658. + exit ;;
  37659. + *:procnto*:*:* | *:QNX:[0123456789]*:*)
  37660. + UNAME_PROCESSOR=`uname -p`
  37661. + if test "$UNAME_PROCESSOR" = "x86"; then
  37662. + UNAME_PROCESSOR=i386
  37663. + UNAME_MACHINE=pc
  37664. + fi
  37665. + echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE}
  37666. + exit ;;
  37667. + *:QNX:*:4*)
  37668. + echo i386-pc-qnx
  37669. + exit ;;
  37670. + NSE-?:NONSTOP_KERNEL:*:*)
  37671. + echo nse-tandem-nsk${UNAME_RELEASE}
  37672. + exit ;;
  37673. + NSR-?:NONSTOP_KERNEL:*:*)
  37674. + echo nsr-tandem-nsk${UNAME_RELEASE}
  37675. + exit ;;
  37676. + *:NonStop-UX:*:*)
  37677. + echo mips-compaq-nonstopux
  37678. + exit ;;
  37679. + BS2000:POSIX*:*:*)
  37680. + echo bs2000-siemens-sysv
  37681. + exit ;;
  37682. + DS/*:UNIX_System_V:*:*)
  37683. + echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE}
  37684. + exit ;;
  37685. + *:Plan9:*:*)
  37686. + # "uname -m" is not consistent, so use $cputype instead. 386
  37687. + # is converted to i386 for consistency with other x86
  37688. + # operating systems.
  37689. + if test "$cputype" = "386"; then
  37690. + UNAME_MACHINE=i386
  37691. + else
  37692. + UNAME_MACHINE="$cputype"
  37693. + fi
  37694. + echo ${UNAME_MACHINE}-unknown-plan9
  37695. + exit ;;
  37696. + *:TOPS-10:*:*)
  37697. + echo pdp10-unknown-tops10
  37698. + exit ;;
  37699. + *:TENEX:*:*)
  37700. + echo pdp10-unknown-tenex
  37701. + exit ;;
  37702. + KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*)
  37703. + echo pdp10-dec-tops20
  37704. + exit ;;
  37705. + XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*)
  37706. + echo pdp10-xkl-tops20
  37707. + exit ;;
  37708. + *:TOPS-20:*:*)
  37709. + echo pdp10-unknown-tops20
  37710. + exit ;;
  37711. + *:ITS:*:*)
  37712. + echo pdp10-unknown-its
  37713. + exit ;;
  37714. + SEI:*:*:SEIUX)
  37715. + echo mips-sei-seiux${UNAME_RELEASE}
  37716. + exit ;;
  37717. + *:DragonFly:*:*)
  37718. + echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
  37719. + exit ;;
  37720. + *:*VMS:*:*)
  37721. + UNAME_MACHINE=`(uname -p) 2>/dev/null`
  37722. + case "${UNAME_MACHINE}" in
  37723. + A*) echo alpha-dec-vms ; exit ;;
  37724. + I*) echo ia64-dec-vms ; exit ;;
  37725. + V*) echo vax-dec-vms ; exit ;;
  37726. + esac ;;
  37727. + *:XENIX:*:SysV)
  37728. + echo i386-pc-xenix
  37729. + exit ;;
  37730. + i*86:skyos:*:*)
  37731. + echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//'
  37732. + exit ;;
  37733. + i*86:rdos:*:*)
  37734. + echo ${UNAME_MACHINE}-pc-rdos
  37735. + exit ;;
  37736. esac
  37737. #echo '(No uname command or uname output not recognized.)' 1>&2
  37738. #echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2
  37739. +eval $set_cc_for_build
  37740. cat >$dummy.c <<EOF
  37741. #ifdef _SEQUENT_
  37742. # include <sys/types.h>
  37743. @@ -974,7 +1329,7 @@
  37744. #endif
  37745. #if defined (__arm) && defined (__acorn) && defined (__unix)
  37746. - printf ("arm-acorn-riscix"); exit (0);
  37747. + printf ("arm-acorn-riscix\n"); exit (0);
  37748. #endif
  37749. #if defined (hp300) && !defined (hpux)
  37750. @@ -1035,11 +1390,24 @@
  37751. #endif
  37752. #if defined (vax)
  37753. -#if !defined (ultrix)
  37754. - printf ("vax-dec-bsd\n"); exit (0);
  37755. -#else
  37756. - printf ("vax-dec-ultrix\n"); exit (0);
  37757. -#endif
  37758. +# if !defined (ultrix)
  37759. +# include <sys/param.h>
  37760. +# if defined (BSD)
  37761. +# if BSD == 43
  37762. + printf ("vax-dec-bsd4.3\n"); exit (0);
  37763. +# else
  37764. +# if BSD == 199006
  37765. + printf ("vax-dec-bsd4.3reno\n"); exit (0);
  37766. +# else
  37767. + printf ("vax-dec-bsd\n"); exit (0);
  37768. +# endif
  37769. +# endif
  37770. +# else
  37771. + printf ("vax-dec-bsd\n"); exit (0);
  37772. +# endif
  37773. +# else
  37774. + printf ("vax-dec-ultrix\n"); exit (0);
  37775. +# endif
  37776. #endif
  37777. #if defined (alliant) && defined (i860)
  37778. @@ -1050,12 +1418,12 @@
  37779. }
  37780. EOF
  37781. -$CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null && ./$dummy && rm $dummy.c $dummy && exit 0
  37782. -rm -f $dummy.c $dummy
  37783. +$CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && SYSTEM_NAME=`$dummy` &&
  37784. + { echo "$SYSTEM_NAME"; exit; }
  37785. # Apollos put the system type in the environment.
  37786. -test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit 0; }
  37787. +test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit; }
  37788. # Convex versions that predate uname can use getsysinfo(1)
  37789. @@ -1064,25 +1432,69 @@
  37790. case `getsysinfo -f cpu_type` in
  37791. c1*)
  37792. echo c1-convex-bsd
  37793. - exit 0 ;;
  37794. + exit ;;
  37795. c2*)
  37796. if getsysinfo -f scalar_acc
  37797. then echo c32-convex-bsd
  37798. else echo c2-convex-bsd
  37799. fi
  37800. - exit 0 ;;
  37801. + exit ;;
  37802. c34*)
  37803. echo c34-convex-bsd
  37804. - exit 0 ;;
  37805. + exit ;;
  37806. c38*)
  37807. echo c38-convex-bsd
  37808. - exit 0 ;;
  37809. + exit ;;
  37810. c4*)
  37811. echo c4-convex-bsd
  37812. - exit 0 ;;
  37813. + exit ;;
  37814. esac
  37815. fi
  37816. -#echo '(Unable to guess system type)' 1>&2
  37817. +cat >&2 <<EOF
  37818. +$0: unable to guess system type
  37819. +
  37820. +This script, last modified $timestamp, has failed to recognize
  37821. +the operating system you are using. It is advised that you
  37822. +download the most up to date version of the config scripts from
  37823. +
  37824. + http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.guess
  37825. +and
  37826. + http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.sub
  37827. +
  37828. +If the version you run ($0) is already up to date, please
  37829. +send the following data and any information you think might be
  37830. +pertinent to <config-patches@gnu.org> in order to provide the needed
  37831. +information to handle your system.
  37832. +
  37833. +config.guess timestamp = $timestamp
  37834. +
  37835. +uname -m = `(uname -m) 2>/dev/null || echo unknown`
  37836. +uname -r = `(uname -r) 2>/dev/null || echo unknown`
  37837. +uname -s = `(uname -s) 2>/dev/null || echo unknown`
  37838. +uname -v = `(uname -v) 2>/dev/null || echo unknown`
  37839. +
  37840. +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null`
  37841. +/bin/uname -X = `(/bin/uname -X) 2>/dev/null`
  37842. +
  37843. +hostinfo = `(hostinfo) 2>/dev/null`
  37844. +/bin/universe = `(/bin/universe) 2>/dev/null`
  37845. +/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null`
  37846. +/bin/arch = `(/bin/arch) 2>/dev/null`
  37847. +/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null`
  37848. +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null`
  37849. +
  37850. +UNAME_MACHINE = ${UNAME_MACHINE}
  37851. +UNAME_RELEASE = ${UNAME_RELEASE}
  37852. +UNAME_SYSTEM = ${UNAME_SYSTEM}
  37853. +UNAME_VERSION = ${UNAME_VERSION}
  37854. +EOF
  37855. exit 1
  37856. +
  37857. +# Local variables:
  37858. +# eval: (add-hook 'write-file-hooks 'time-stamp)
  37859. +# time-stamp-start: "timestamp='"
  37860. +# time-stamp-format: "%:y-%02m-%02d"
  37861. +# time-stamp-end: "'"
  37862. +# End: