configure 437 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128
  1. #! /bin/sh
  2. # Guess values for system-dependent variables and create Makefiles.
  3. # Generated by GNU Autoconf 2.69 for opcodes 2.38.50.
  4. #
  5. #
  6. # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
  7. #
  8. #
  9. # This configure script is free software; the Free Software Foundation
  10. # gives unlimited permission to copy, distribute and modify it.
  11. ## -------------------- ##
  12. ## M4sh Initialization. ##
  13. ## -------------------- ##
  14. # Be more Bourne compatible
  15. DUALCASE=1; export DUALCASE # for MKS sh
  16. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  17. emulate sh
  18. NULLCMD=:
  19. # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  20. # is contrary to our usage. Disable this feature.
  21. alias -g '${1+"$@"}'='"$@"'
  22. setopt NO_GLOB_SUBST
  23. else
  24. case `(set -o) 2>/dev/null` in #(
  25. *posix*) :
  26. set -o posix ;; #(
  27. *) :
  28. ;;
  29. esac
  30. fi
  31. as_nl='
  32. '
  33. export as_nl
  34. # Printing a long string crashes Solaris 7 /usr/bin/printf.
  35. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  36. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  37. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  38. # Prefer a ksh shell builtin over an external printf program on Solaris,
  39. # but without wasting forks for bash or zsh.
  40. if test -z "$BASH_VERSION$ZSH_VERSION" \
  41. && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
  42. as_echo='print -r --'
  43. as_echo_n='print -rn --'
  44. elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  45. as_echo='printf %s\n'
  46. as_echo_n='printf %s'
  47. else
  48. if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
  49. as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
  50. as_echo_n='/usr/ucb/echo -n'
  51. else
  52. as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  53. as_echo_n_body='eval
  54. arg=$1;
  55. case $arg in #(
  56. *"$as_nl"*)
  57. expr "X$arg" : "X\\(.*\\)$as_nl";
  58. arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  59. esac;
  60. expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
  61. '
  62. export as_echo_n_body
  63. as_echo_n='sh -c $as_echo_n_body as_echo'
  64. fi
  65. export as_echo_body
  66. as_echo='sh -c $as_echo_body as_echo'
  67. fi
  68. # The user is always right.
  69. if test "${PATH_SEPARATOR+set}" != set; then
  70. PATH_SEPARATOR=:
  71. (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  72. (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  73. PATH_SEPARATOR=';'
  74. }
  75. fi
  76. # IFS
  77. # We need space, tab and new line, in precisely that order. Quoting is
  78. # there to prevent editors from complaining about space-tab.
  79. # (If _AS_PATH_WALK were called with IFS unset, it would disable word
  80. # splitting by setting IFS to empty value.)
  81. IFS=" "" $as_nl"
  82. # Find who we are. Look in the path if we contain no directory separator.
  83. as_myself=
  84. case $0 in #((
  85. *[\\/]* ) as_myself=$0 ;;
  86. *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  87. for as_dir in $PATH
  88. do
  89. IFS=$as_save_IFS
  90. test -z "$as_dir" && as_dir=.
  91. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  92. done
  93. IFS=$as_save_IFS
  94. ;;
  95. esac
  96. # We did not find ourselves, most probably we were run as `sh COMMAND'
  97. # in which case we are not to be found in the path.
  98. if test "x$as_myself" = x; then
  99. as_myself=$0
  100. fi
  101. if test ! -f "$as_myself"; then
  102. $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  103. exit 1
  104. fi
  105. # Unset variables that we do not need and which cause bugs (e.g. in
  106. # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
  107. # suppresses any "Segmentation fault" message there. '((' could
  108. # trigger a bug in pdksh 5.2.14.
  109. for as_var in BASH_ENV ENV MAIL MAILPATH
  110. do eval test x\${$as_var+set} = xset \
  111. && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  112. done
  113. PS1='$ '
  114. PS2='> '
  115. PS4='+ '
  116. # NLS nuisances.
  117. LC_ALL=C
  118. export LC_ALL
  119. LANGUAGE=C
  120. export LANGUAGE
  121. # CDPATH.
  122. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  123. # Use a proper internal environment variable to ensure we don't fall
  124. # into an infinite loop, continuously re-executing ourselves.
  125. if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
  126. _as_can_reexec=no; export _as_can_reexec;
  127. # We cannot yet assume a decent shell, so we have to provide a
  128. # neutralization value for shells without unset; and this also
  129. # works around shells that cannot unset nonexistent variables.
  130. # Preserve -v and -x to the replacement shell.
  131. BASH_ENV=/dev/null
  132. ENV=/dev/null
  133. (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  134. case $- in # ((((
  135. *v*x* | *x*v* ) as_opts=-vx ;;
  136. *v* ) as_opts=-v ;;
  137. *x* ) as_opts=-x ;;
  138. * ) as_opts= ;;
  139. esac
  140. exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
  141. # Admittedly, this is quite paranoid, since all the known shells bail
  142. # out after a failed `exec'.
  143. $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
  144. as_fn_exit 255
  145. fi
  146. # We don't want this to propagate to other subprocesses.
  147. { _as_can_reexec=; unset _as_can_reexec;}
  148. if test "x$CONFIG_SHELL" = x; then
  149. as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
  150. emulate sh
  151. NULLCMD=:
  152. # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
  153. # is contrary to our usage. Disable this feature.
  154. alias -g '\${1+\"\$@\"}'='\"\$@\"'
  155. setopt NO_GLOB_SUBST
  156. else
  157. case \`(set -o) 2>/dev/null\` in #(
  158. *posix*) :
  159. set -o posix ;; #(
  160. *) :
  161. ;;
  162. esac
  163. fi
  164. "
  165. as_required="as_fn_return () { (exit \$1); }
  166. as_fn_success () { as_fn_return 0; }
  167. as_fn_failure () { as_fn_return 1; }
  168. as_fn_ret_success () { return 0; }
  169. as_fn_ret_failure () { return 1; }
  170. exitcode=0
  171. as_fn_success || { exitcode=1; echo as_fn_success failed.; }
  172. as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
  173. as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
  174. as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
  175. if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
  176. else
  177. exitcode=1; echo positional parameters were not saved.
  178. fi
  179. test x\$exitcode = x0 || exit 1
  180. test -x / || exit 1"
  181. as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
  182. as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
  183. eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
  184. test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
  185. test \$(( 1 + 1 )) = 2 || exit 1
  186. test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
  187. ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  188. ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
  189. ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
  190. PATH=/empty FPATH=/empty; export PATH FPATH
  191. test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
  192. || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
  193. if (eval "$as_required") 2>/dev/null; then :
  194. as_have_required=yes
  195. else
  196. as_have_required=no
  197. fi
  198. if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
  199. else
  200. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  201. as_found=false
  202. for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  203. do
  204. IFS=$as_save_IFS
  205. test -z "$as_dir" && as_dir=.
  206. as_found=:
  207. case $as_dir in #(
  208. /*)
  209. for as_base in sh bash ksh sh5; do
  210. # Try only shells that exist, to save several forks.
  211. as_shell=$as_dir/$as_base
  212. if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
  213. { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
  214. CONFIG_SHELL=$as_shell as_have_required=yes
  215. if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
  216. break 2
  217. fi
  218. fi
  219. done;;
  220. esac
  221. as_found=false
  222. done
  223. $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
  224. { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
  225. CONFIG_SHELL=$SHELL as_have_required=yes
  226. fi; }
  227. IFS=$as_save_IFS
  228. if test "x$CONFIG_SHELL" != x; then :
  229. export CONFIG_SHELL
  230. # We cannot yet assume a decent shell, so we have to provide a
  231. # neutralization value for shells without unset; and this also
  232. # works around shells that cannot unset nonexistent variables.
  233. # Preserve -v and -x to the replacement shell.
  234. BASH_ENV=/dev/null
  235. ENV=/dev/null
  236. (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  237. case $- in # ((((
  238. *v*x* | *x*v* ) as_opts=-vx ;;
  239. *v* ) as_opts=-v ;;
  240. *x* ) as_opts=-x ;;
  241. * ) as_opts= ;;
  242. esac
  243. exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
  244. # Admittedly, this is quite paranoid, since all the known shells bail
  245. # out after a failed `exec'.
  246. $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
  247. exit 255
  248. fi
  249. if test x$as_have_required = xno; then :
  250. $as_echo "$0: This script requires a shell more modern than all"
  251. $as_echo "$0: the shells that I found on your system."
  252. if test x${ZSH_VERSION+set} = xset ; then
  253. $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
  254. $as_echo "$0: be upgraded to zsh 4.3.4 or later."
  255. else
  256. $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
  257. $0: including any error possibly output before this
  258. $0: message. Then install a modern shell, or manually run
  259. $0: the script under such a shell if you do have one."
  260. fi
  261. exit 1
  262. fi
  263. fi
  264. fi
  265. SHELL=${CONFIG_SHELL-/bin/sh}
  266. export SHELL
  267. # Unset more variables known to interfere with behavior of common tools.
  268. CLICOLOR_FORCE= GREP_OPTIONS=
  269. unset CLICOLOR_FORCE GREP_OPTIONS
  270. ## --------------------- ##
  271. ## M4sh Shell Functions. ##
  272. ## --------------------- ##
  273. # as_fn_unset VAR
  274. # ---------------
  275. # Portably unset VAR.
  276. as_fn_unset ()
  277. {
  278. { eval $1=; unset $1;}
  279. }
  280. as_unset=as_fn_unset
  281. # as_fn_set_status STATUS
  282. # -----------------------
  283. # Set $? to STATUS, without forking.
  284. as_fn_set_status ()
  285. {
  286. return $1
  287. } # as_fn_set_status
  288. # as_fn_exit STATUS
  289. # -----------------
  290. # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  291. as_fn_exit ()
  292. {
  293. set +e
  294. as_fn_set_status $1
  295. exit $1
  296. } # as_fn_exit
  297. # as_fn_mkdir_p
  298. # -------------
  299. # Create "$as_dir" as a directory, including parents if necessary.
  300. as_fn_mkdir_p ()
  301. {
  302. case $as_dir in #(
  303. -*) as_dir=./$as_dir;;
  304. esac
  305. test -d "$as_dir" || eval $as_mkdir_p || {
  306. as_dirs=
  307. while :; do
  308. case $as_dir in #(
  309. *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  310. *) as_qdir=$as_dir;;
  311. esac
  312. as_dirs="'$as_qdir' $as_dirs"
  313. as_dir=`$as_dirname -- "$as_dir" ||
  314. $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  315. X"$as_dir" : 'X\(//\)[^/]' \| \
  316. X"$as_dir" : 'X\(//\)$' \| \
  317. X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  318. $as_echo X"$as_dir" |
  319. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  320. s//\1/
  321. q
  322. }
  323. /^X\(\/\/\)[^/].*/{
  324. s//\1/
  325. q
  326. }
  327. /^X\(\/\/\)$/{
  328. s//\1/
  329. q
  330. }
  331. /^X\(\/\).*/{
  332. s//\1/
  333. q
  334. }
  335. s/.*/./; q'`
  336. test -d "$as_dir" && break
  337. done
  338. test -z "$as_dirs" || eval "mkdir $as_dirs"
  339. } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
  340. } # as_fn_mkdir_p
  341. # as_fn_executable_p FILE
  342. # -----------------------
  343. # Test if FILE is an executable regular file.
  344. as_fn_executable_p ()
  345. {
  346. test -f "$1" && test -x "$1"
  347. } # as_fn_executable_p
  348. # as_fn_append VAR VALUE
  349. # ----------------------
  350. # Append the text in VALUE to the end of the definition contained in VAR. Take
  351. # advantage of any shell optimizations that allow amortized linear growth over
  352. # repeated appends, instead of the typical quadratic growth present in naive
  353. # implementations.
  354. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  355. eval 'as_fn_append ()
  356. {
  357. eval $1+=\$2
  358. }'
  359. else
  360. as_fn_append ()
  361. {
  362. eval $1=\$$1\$2
  363. }
  364. fi # as_fn_append
  365. # as_fn_arith ARG...
  366. # ------------------
  367. # Perform arithmetic evaluation on the ARGs, and store the result in the
  368. # global $as_val. Take advantage of shells that can avoid forks. The arguments
  369. # must be portable across $(()) and expr.
  370. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  371. eval 'as_fn_arith ()
  372. {
  373. as_val=$(( $* ))
  374. }'
  375. else
  376. as_fn_arith ()
  377. {
  378. as_val=`expr "$@" || test $? -eq 1`
  379. }
  380. fi # as_fn_arith
  381. # as_fn_error STATUS ERROR [LINENO LOG_FD]
  382. # ----------------------------------------
  383. # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  384. # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  385. # script with STATUS, using 1 if that was 0.
  386. as_fn_error ()
  387. {
  388. as_status=$1; test $as_status -eq 0 && as_status=1
  389. if test "$4"; then
  390. as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  391. $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
  392. fi
  393. $as_echo "$as_me: error: $2" >&2
  394. as_fn_exit $as_status
  395. } # as_fn_error
  396. if expr a : '\(a\)' >/dev/null 2>&1 &&
  397. test "X`expr 00001 : '.*\(...\)'`" = X001; then
  398. as_expr=expr
  399. else
  400. as_expr=false
  401. fi
  402. if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  403. as_basename=basename
  404. else
  405. as_basename=false
  406. fi
  407. if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  408. as_dirname=dirname
  409. else
  410. as_dirname=false
  411. fi
  412. as_me=`$as_basename -- "$0" ||
  413. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  414. X"$0" : 'X\(//\)$' \| \
  415. X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  416. $as_echo X/"$0" |
  417. sed '/^.*\/\([^/][^/]*\)\/*$/{
  418. s//\1/
  419. q
  420. }
  421. /^X\/\(\/\/\)$/{
  422. s//\1/
  423. q
  424. }
  425. /^X\/\(\/\).*/{
  426. s//\1/
  427. q
  428. }
  429. s/.*/./; q'`
  430. # Avoid depending upon Character Ranges.
  431. as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  432. as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  433. as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  434. as_cr_digits='0123456789'
  435. as_cr_alnum=$as_cr_Letters$as_cr_digits
  436. as_lineno_1=$LINENO as_lineno_1a=$LINENO
  437. as_lineno_2=$LINENO as_lineno_2a=$LINENO
  438. eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
  439. test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
  440. # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
  441. sed -n '
  442. p
  443. /[$]LINENO/=
  444. ' <$as_myself |
  445. sed '
  446. s/[$]LINENO.*/&-/
  447. t lineno
  448. b
  449. :lineno
  450. N
  451. :loop
  452. s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
  453. t loop
  454. s/-\n.*//
  455. ' >$as_me.lineno &&
  456. chmod +x "$as_me.lineno" ||
  457. { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
  458. # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
  459. # already done that, so ensure we don't try to do so again and fall
  460. # in an infinite loop. This has already happened in practice.
  461. _as_can_reexec=no; export _as_can_reexec
  462. # Don't try to exec as it changes $[0], causing all sort of problems
  463. # (the dirname of $[0] is not the place where we might find the
  464. # original and so on. Autoconf is especially sensitive to this).
  465. . "./$as_me.lineno"
  466. # Exit status is that of the last command.
  467. exit
  468. }
  469. ECHO_C= ECHO_N= ECHO_T=
  470. case `echo -n x` in #(((((
  471. -n*)
  472. case `echo 'xy\c'` in
  473. *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  474. xy) ECHO_C='\c';;
  475. *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
  476. ECHO_T=' ';;
  477. esac;;
  478. *)
  479. ECHO_N='-n';;
  480. esac
  481. rm -f conf$$ conf$$.exe conf$$.file
  482. if test -d conf$$.dir; then
  483. rm -f conf$$.dir/conf$$.file
  484. else
  485. rm -f conf$$.dir
  486. mkdir conf$$.dir 2>/dev/null
  487. fi
  488. if (echo >conf$$.file) 2>/dev/null; then
  489. if ln -s conf$$.file conf$$ 2>/dev/null; then
  490. as_ln_s='ln -s'
  491. # ... but there are two gotchas:
  492. # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  493. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  494. # In both cases, we have to default to `cp -pR'.
  495. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  496. as_ln_s='cp -pR'
  497. elif ln conf$$.file conf$$ 2>/dev/null; then
  498. as_ln_s=ln
  499. else
  500. as_ln_s='cp -pR'
  501. fi
  502. else
  503. as_ln_s='cp -pR'
  504. fi
  505. rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  506. rmdir conf$$.dir 2>/dev/null
  507. if mkdir -p . 2>/dev/null; then
  508. as_mkdir_p='mkdir -p "$as_dir"'
  509. else
  510. test -d ./-p && rmdir ./-p
  511. as_mkdir_p=false
  512. fi
  513. as_test_x='test -x'
  514. as_executable_p=as_fn_executable_p
  515. # Sed expression to map a string onto a valid CPP name.
  516. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  517. # Sed expression to map a string onto a valid variable name.
  518. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  519. SHELL=${CONFIG_SHELL-/bin/sh}
  520. test -n "$DJDIR" || exec 7<&0 </dev/null
  521. exec 6>&1
  522. # Name of the host.
  523. # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
  524. # so uname gets run too.
  525. ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
  526. #
  527. # Initializations.
  528. #
  529. ac_default_prefix=/usr/local
  530. ac_clean_files=
  531. ac_config_libobj_dir=.
  532. LIBOBJS=
  533. cross_compiling=no
  534. subdirs=
  535. MFLAGS=
  536. MAKEFLAGS=
  537. # Identity of this package.
  538. PACKAGE_NAME='opcodes'
  539. PACKAGE_TARNAME='opcodes'
  540. PACKAGE_VERSION='2.38.50'
  541. PACKAGE_STRING='opcodes 2.38.50'
  542. PACKAGE_BUGREPORT=''
  543. PACKAGE_URL=''
  544. ac_unique_file="z8k-dis.c"
  545. # Factoring default headers for most tests.
  546. ac_includes_default="\
  547. #include <stdio.h>
  548. #ifdef HAVE_SYS_TYPES_H
  549. # include <sys/types.h>
  550. #endif
  551. #ifdef HAVE_SYS_STAT_H
  552. # include <sys/stat.h>
  553. #endif
  554. #ifdef STDC_HEADERS
  555. # include <stdlib.h>
  556. # include <stddef.h>
  557. #else
  558. # ifdef HAVE_STDLIB_H
  559. # include <stdlib.h>
  560. # endif
  561. #endif
  562. #ifdef HAVE_STRING_H
  563. # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  564. # include <memory.h>
  565. # endif
  566. # include <string.h>
  567. #endif
  568. #ifdef HAVE_STRINGS_H
  569. # include <strings.h>
  570. #endif
  571. #ifdef HAVE_INTTYPES_H
  572. # include <inttypes.h>
  573. #endif
  574. #ifdef HAVE_STDINT_H
  575. # include <stdint.h>
  576. #endif
  577. #ifdef HAVE_UNISTD_H
  578. # include <unistd.h>
  579. #endif"
  580. ac_subst_vars='am__EXEEXT_FALSE
  581. am__EXEEXT_TRUE
  582. LTLIBOBJS
  583. LIBOBJS
  584. BFD_MACHINES
  585. archdefs
  586. SHARED_DEPENDENCIES
  587. SHARED_LIBADD
  588. SHARED_LDFLAGS
  589. BUILD_LIB_DEPS
  590. BUILD_LIBS
  591. LIBM
  592. cgendir
  593. CGEN_MAINT_FALSE
  594. CGEN_MAINT_TRUE
  595. HDEFINES
  596. ENABLE_BFD_64_BIT_FALSE
  597. ENABLE_BFD_64_BIT_TRUE
  598. EXEEXT_FOR_BUILD
  599. CC_FOR_BUILD
  600. MSGMERGE
  601. MSGFMT
  602. MKINSTALLDIRS
  603. CATOBJEXT
  604. GENCAT
  605. INSTOBJEXT
  606. DATADIRNAME
  607. CATALOGS
  608. POSUB
  609. GMSGFMT
  610. XGETTEXT
  611. INCINTL
  612. LIBINTL_DEP
  613. LIBINTL
  614. USE_NLS
  615. bfdincludedir
  616. bfdlibdir
  617. target_noncanonical
  618. host_noncanonical
  619. INSTALL_LIBBFD_FALSE
  620. INSTALL_LIBBFD_TRUE
  621. MAINT
  622. MAINTAINER_MODE_FALSE
  623. MAINTAINER_MODE_TRUE
  624. WARN_WRITE_STRINGS
  625. NO_WERROR
  626. WARN_CFLAGS_FOR_BUILD
  627. WARN_CFLAGS
  628. OTOOL64
  629. OTOOL
  630. LIPO
  631. NMEDIT
  632. DSYMUTIL
  633. OBJDUMP
  634. LN_S
  635. NM
  636. ac_ct_DUMPBIN
  637. DUMPBIN
  638. LD
  639. FGREP
  640. SED
  641. LIBTOOL
  642. RANLIB
  643. AR
  644. EGREP
  645. GREP
  646. CPP
  647. am__fastdepCC_FALSE
  648. am__fastdepCC_TRUE
  649. CCDEPMODE
  650. am__nodep
  651. AMDEPBACKSLASH
  652. AMDEP_FALSE
  653. AMDEP_TRUE
  654. am__quote
  655. am__include
  656. DEPDIR
  657. OBJEXT
  658. EXEEXT
  659. ac_ct_CC
  660. CPPFLAGS
  661. LDFLAGS
  662. CFLAGS
  663. CC
  664. AM_BACKSLASH
  665. AM_DEFAULT_VERBOSITY
  666. AM_DEFAULT_V
  667. AM_V
  668. am__untar
  669. am__tar
  670. AMTAR
  671. am__leading_dot
  672. SET_MAKE
  673. AWK
  674. mkdir_p
  675. MKDIR_P
  676. INSTALL_STRIP_PROGRAM
  677. STRIP
  678. install_sh
  679. MAKEINFO
  680. AUTOHEADER
  681. AUTOMAKE
  682. AUTOCONF
  683. ACLOCAL
  684. VERSION
  685. PACKAGE
  686. CYGPATH_W
  687. am__isrc
  688. INSTALL_DATA
  689. INSTALL_SCRIPT
  690. INSTALL_PROGRAM
  691. target_os
  692. target_vendor
  693. target_cpu
  694. target
  695. host_os
  696. host_vendor
  697. host_cpu
  698. host
  699. build_os
  700. build_vendor
  701. build_cpu
  702. build
  703. target_alias
  704. host_alias
  705. build_alias
  706. LIBS
  707. ECHO_T
  708. ECHO_N
  709. ECHO_C
  710. DEFS
  711. mandir
  712. localedir
  713. libdir
  714. psdir
  715. pdfdir
  716. dvidir
  717. htmldir
  718. infodir
  719. docdir
  720. oldincludedir
  721. includedir
  722. localstatedir
  723. sharedstatedir
  724. sysconfdir
  725. datadir
  726. datarootdir
  727. libexecdir
  728. sbindir
  729. bindir
  730. program_transform_name
  731. prefix
  732. exec_prefix
  733. PACKAGE_URL
  734. PACKAGE_BUGREPORT
  735. PACKAGE_STRING
  736. PACKAGE_VERSION
  737. PACKAGE_TARNAME
  738. PACKAGE_NAME
  739. PATH_SEPARATOR
  740. SHELL'
  741. ac_subst_files=''
  742. ac_user_opts='
  743. enable_option_checking
  744. enable_silent_rules
  745. enable_dependency_tracking
  746. enable_shared
  747. enable_static
  748. with_pic
  749. enable_fast_install
  750. with_gnu_ld
  751. enable_libtool_lock
  752. enable_checking
  753. enable_targets
  754. enable_werror
  755. enable_build_warnings
  756. enable_maintainer_mode
  757. enable_install_libbfd
  758. enable_nls
  759. enable_64_bit_bfd
  760. enable_cgen_maint
  761. '
  762. ac_precious_vars='build_alias
  763. host_alias
  764. target_alias
  765. CC
  766. CFLAGS
  767. LDFLAGS
  768. LIBS
  769. CPPFLAGS
  770. CPP'
  771. # Initialize some variables set by options.
  772. ac_init_help=
  773. ac_init_version=false
  774. ac_unrecognized_opts=
  775. ac_unrecognized_sep=
  776. # The variables have the same names as the options, with
  777. # dashes changed to underlines.
  778. cache_file=/dev/null
  779. exec_prefix=NONE
  780. no_create=
  781. no_recursion=
  782. prefix=NONE
  783. program_prefix=NONE
  784. program_suffix=NONE
  785. program_transform_name=s,x,x,
  786. silent=
  787. site=
  788. srcdir=
  789. verbose=
  790. x_includes=NONE
  791. x_libraries=NONE
  792. # Installation directory options.
  793. # These are left unexpanded so users can "make install exec_prefix=/foo"
  794. # and all the variables that are supposed to be based on exec_prefix
  795. # by default will actually change.
  796. # Use braces instead of parens because sh, perl, etc. also accept them.
  797. # (The list follows the same order as the GNU Coding Standards.)
  798. bindir='${exec_prefix}/bin'
  799. sbindir='${exec_prefix}/sbin'
  800. libexecdir='${exec_prefix}/libexec'
  801. datarootdir='${prefix}/share'
  802. datadir='${datarootdir}'
  803. sysconfdir='${prefix}/etc'
  804. sharedstatedir='${prefix}/com'
  805. localstatedir='${prefix}/var'
  806. includedir='${prefix}/include'
  807. oldincludedir='/usr/include'
  808. docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
  809. infodir='${datarootdir}/info'
  810. htmldir='${docdir}'
  811. dvidir='${docdir}'
  812. pdfdir='${docdir}'
  813. psdir='${docdir}'
  814. libdir='${exec_prefix}/lib'
  815. localedir='${datarootdir}/locale'
  816. mandir='${datarootdir}/man'
  817. ac_prev=
  818. ac_dashdash=
  819. for ac_option
  820. do
  821. # If the previous option needs an argument, assign it.
  822. if test -n "$ac_prev"; then
  823. eval $ac_prev=\$ac_option
  824. ac_prev=
  825. continue
  826. fi
  827. case $ac_option in
  828. *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
  829. *=) ac_optarg= ;;
  830. *) ac_optarg=yes ;;
  831. esac
  832. # Accept the important Cygnus configure options, so we can diagnose typos.
  833. case $ac_dashdash$ac_option in
  834. --)
  835. ac_dashdash=yes ;;
  836. -bindir | --bindir | --bindi | --bind | --bin | --bi)
  837. ac_prev=bindir ;;
  838. -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  839. bindir=$ac_optarg ;;
  840. -build | --build | --buil | --bui | --bu)
  841. ac_prev=build_alias ;;
  842. -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  843. build_alias=$ac_optarg ;;
  844. -cache-file | --cache-file | --cache-fil | --cache-fi \
  845. | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  846. ac_prev=cache_file ;;
  847. -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  848. | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  849. cache_file=$ac_optarg ;;
  850. --config-cache | -C)
  851. cache_file=config.cache ;;
  852. -datadir | --datadir | --datadi | --datad)
  853. ac_prev=datadir ;;
  854. -datadir=* | --datadir=* | --datadi=* | --datad=*)
  855. datadir=$ac_optarg ;;
  856. -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
  857. | --dataroo | --dataro | --datar)
  858. ac_prev=datarootdir ;;
  859. -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
  860. | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
  861. datarootdir=$ac_optarg ;;
  862. -disable-* | --disable-*)
  863. ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  864. # Reject names that are not valid shell variable names.
  865. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  866. as_fn_error $? "invalid feature name: $ac_useropt"
  867. ac_useropt_orig=$ac_useropt
  868. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  869. case $ac_user_opts in
  870. *"
  871. "enable_$ac_useropt"
  872. "*) ;;
  873. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
  874. ac_unrecognized_sep=', ';;
  875. esac
  876. eval enable_$ac_useropt=no ;;
  877. -docdir | --docdir | --docdi | --doc | --do)
  878. ac_prev=docdir ;;
  879. -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
  880. docdir=$ac_optarg ;;
  881. -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
  882. ac_prev=dvidir ;;
  883. -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
  884. dvidir=$ac_optarg ;;
  885. -enable-* | --enable-*)
  886. ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  887. # Reject names that are not valid shell variable names.
  888. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  889. as_fn_error $? "invalid feature name: $ac_useropt"
  890. ac_useropt_orig=$ac_useropt
  891. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  892. case $ac_user_opts in
  893. *"
  894. "enable_$ac_useropt"
  895. "*) ;;
  896. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
  897. ac_unrecognized_sep=', ';;
  898. esac
  899. eval enable_$ac_useropt=\$ac_optarg ;;
  900. -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  901. | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  902. | --exec | --exe | --ex)
  903. ac_prev=exec_prefix ;;
  904. -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  905. | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  906. | --exec=* | --exe=* | --ex=*)
  907. exec_prefix=$ac_optarg ;;
  908. -gas | --gas | --ga | --g)
  909. # Obsolete; use --with-gas.
  910. with_gas=yes ;;
  911. -help | --help | --hel | --he | -h)
  912. ac_init_help=long ;;
  913. -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  914. ac_init_help=recursive ;;
  915. -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  916. ac_init_help=short ;;
  917. -host | --host | --hos | --ho)
  918. ac_prev=host_alias ;;
  919. -host=* | --host=* | --hos=* | --ho=*)
  920. host_alias=$ac_optarg ;;
  921. -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
  922. ac_prev=htmldir ;;
  923. -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
  924. | --ht=*)
  925. htmldir=$ac_optarg ;;
  926. -includedir | --includedir | --includedi | --included | --include \
  927. | --includ | --inclu | --incl | --inc)
  928. ac_prev=includedir ;;
  929. -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  930. | --includ=* | --inclu=* | --incl=* | --inc=*)
  931. includedir=$ac_optarg ;;
  932. -infodir | --infodir | --infodi | --infod | --info | --inf)
  933. ac_prev=infodir ;;
  934. -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  935. infodir=$ac_optarg ;;
  936. -libdir | --libdir | --libdi | --libd)
  937. ac_prev=libdir ;;
  938. -libdir=* | --libdir=* | --libdi=* | --libd=*)
  939. libdir=$ac_optarg ;;
  940. -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  941. | --libexe | --libex | --libe)
  942. ac_prev=libexecdir ;;
  943. -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  944. | --libexe=* | --libex=* | --libe=*)
  945. libexecdir=$ac_optarg ;;
  946. -localedir | --localedir | --localedi | --localed | --locale)
  947. ac_prev=localedir ;;
  948. -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
  949. localedir=$ac_optarg ;;
  950. -localstatedir | --localstatedir | --localstatedi | --localstated \
  951. | --localstate | --localstat | --localsta | --localst | --locals)
  952. ac_prev=localstatedir ;;
  953. -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  954. | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
  955. localstatedir=$ac_optarg ;;
  956. -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  957. ac_prev=mandir ;;
  958. -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  959. mandir=$ac_optarg ;;
  960. -nfp | --nfp | --nf)
  961. # Obsolete; use --without-fp.
  962. with_fp=no ;;
  963. -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  964. | --no-cr | --no-c | -n)
  965. no_create=yes ;;
  966. -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  967. | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  968. no_recursion=yes ;;
  969. -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  970. | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  971. | --oldin | --oldi | --old | --ol | --o)
  972. ac_prev=oldincludedir ;;
  973. -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  974. | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  975. | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  976. oldincludedir=$ac_optarg ;;
  977. -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  978. ac_prev=prefix ;;
  979. -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  980. prefix=$ac_optarg ;;
  981. -program-prefix | --program-prefix | --program-prefi | --program-pref \
  982. | --program-pre | --program-pr | --program-p)
  983. ac_prev=program_prefix ;;
  984. -program-prefix=* | --program-prefix=* | --program-prefi=* \
  985. | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  986. program_prefix=$ac_optarg ;;
  987. -program-suffix | --program-suffix | --program-suffi | --program-suff \
  988. | --program-suf | --program-su | --program-s)
  989. ac_prev=program_suffix ;;
  990. -program-suffix=* | --program-suffix=* | --program-suffi=* \
  991. | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  992. program_suffix=$ac_optarg ;;
  993. -program-transform-name | --program-transform-name \
  994. | --program-transform-nam | --program-transform-na \
  995. | --program-transform-n | --program-transform- \
  996. | --program-transform | --program-transfor \
  997. | --program-transfo | --program-transf \
  998. | --program-trans | --program-tran \
  999. | --progr-tra | --program-tr | --program-t)
  1000. ac_prev=program_transform_name ;;
  1001. -program-transform-name=* | --program-transform-name=* \
  1002. | --program-transform-nam=* | --program-transform-na=* \
  1003. | --program-transform-n=* | --program-transform-=* \
  1004. | --program-transform=* | --program-transfor=* \
  1005. | --program-transfo=* | --program-transf=* \
  1006. | --program-trans=* | --program-tran=* \
  1007. | --progr-tra=* | --program-tr=* | --program-t=*)
  1008. program_transform_name=$ac_optarg ;;
  1009. -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
  1010. ac_prev=pdfdir ;;
  1011. -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
  1012. pdfdir=$ac_optarg ;;
  1013. -psdir | --psdir | --psdi | --psd | --ps)
  1014. ac_prev=psdir ;;
  1015. -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
  1016. psdir=$ac_optarg ;;
  1017. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1018. | -silent | --silent | --silen | --sile | --sil)
  1019. silent=yes ;;
  1020. -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  1021. ac_prev=sbindir ;;
  1022. -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  1023. | --sbi=* | --sb=*)
  1024. sbindir=$ac_optarg ;;
  1025. -sharedstatedir | --sharedstatedir | --sharedstatedi \
  1026. | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  1027. | --sharedst | --shareds | --shared | --share | --shar \
  1028. | --sha | --sh)
  1029. ac_prev=sharedstatedir ;;
  1030. -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  1031. | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  1032. | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  1033. | --sha=* | --sh=*)
  1034. sharedstatedir=$ac_optarg ;;
  1035. -site | --site | --sit)
  1036. ac_prev=site ;;
  1037. -site=* | --site=* | --sit=*)
  1038. site=$ac_optarg ;;
  1039. -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  1040. ac_prev=srcdir ;;
  1041. -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  1042. srcdir=$ac_optarg ;;
  1043. -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  1044. | --syscon | --sysco | --sysc | --sys | --sy)
  1045. ac_prev=sysconfdir ;;
  1046. -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  1047. | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  1048. sysconfdir=$ac_optarg ;;
  1049. -target | --target | --targe | --targ | --tar | --ta | --t)
  1050. ac_prev=target_alias ;;
  1051. -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  1052. target_alias=$ac_optarg ;;
  1053. -v | -verbose | --verbose | --verbos | --verbo | --verb)
  1054. verbose=yes ;;
  1055. -version | --version | --versio | --versi | --vers | -V)
  1056. ac_init_version=: ;;
  1057. -with-* | --with-*)
  1058. ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  1059. # Reject names that are not valid shell variable names.
  1060. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1061. as_fn_error $? "invalid package name: $ac_useropt"
  1062. ac_useropt_orig=$ac_useropt
  1063. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1064. case $ac_user_opts in
  1065. *"
  1066. "with_$ac_useropt"
  1067. "*) ;;
  1068. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
  1069. ac_unrecognized_sep=', ';;
  1070. esac
  1071. eval with_$ac_useropt=\$ac_optarg ;;
  1072. -without-* | --without-*)
  1073. ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  1074. # Reject names that are not valid shell variable names.
  1075. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1076. as_fn_error $? "invalid package name: $ac_useropt"
  1077. ac_useropt_orig=$ac_useropt
  1078. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1079. case $ac_user_opts in
  1080. *"
  1081. "with_$ac_useropt"
  1082. "*) ;;
  1083. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
  1084. ac_unrecognized_sep=', ';;
  1085. esac
  1086. eval with_$ac_useropt=no ;;
  1087. --x)
  1088. # Obsolete; use --with-x.
  1089. with_x=yes ;;
  1090. -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  1091. | --x-incl | --x-inc | --x-in | --x-i)
  1092. ac_prev=x_includes ;;
  1093. -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  1094. | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  1095. x_includes=$ac_optarg ;;
  1096. -x-libraries | --x-libraries | --x-librarie | --x-librari \
  1097. | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  1098. ac_prev=x_libraries ;;
  1099. -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  1100. | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  1101. x_libraries=$ac_optarg ;;
  1102. -*) as_fn_error $? "unrecognized option: \`$ac_option'
  1103. Try \`$0 --help' for more information"
  1104. ;;
  1105. *=*)
  1106. ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  1107. # Reject names that are not valid shell variable names.
  1108. case $ac_envvar in #(
  1109. '' | [0-9]* | *[!_$as_cr_alnum]* )
  1110. as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
  1111. esac
  1112. eval $ac_envvar=\$ac_optarg
  1113. export $ac_envvar ;;
  1114. *)
  1115. # FIXME: should be removed in autoconf 3.0.
  1116. $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  1117. expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  1118. $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  1119. : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
  1120. ;;
  1121. esac
  1122. done
  1123. if test -n "$ac_prev"; then
  1124. ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  1125. as_fn_error $? "missing argument to $ac_option"
  1126. fi
  1127. if test -n "$ac_unrecognized_opts"; then
  1128. case $enable_option_checking in
  1129. no) ;;
  1130. fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
  1131. *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
  1132. esac
  1133. fi
  1134. # Check all directory arguments for consistency.
  1135. for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
  1136. datadir sysconfdir sharedstatedir localstatedir includedir \
  1137. oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
  1138. libdir localedir mandir
  1139. do
  1140. eval ac_val=\$$ac_var
  1141. # Remove trailing slashes.
  1142. case $ac_val in
  1143. */ )
  1144. ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
  1145. eval $ac_var=\$ac_val;;
  1146. esac
  1147. # Be sure to have absolute directory names.
  1148. case $ac_val in
  1149. [\\/$]* | ?:[\\/]* ) continue;;
  1150. NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
  1151. esac
  1152. as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
  1153. done
  1154. # There might be people who depend on the old broken behavior: `$host'
  1155. # used to hold the argument of --host etc.
  1156. # FIXME: To remove some day.
  1157. build=$build_alias
  1158. host=$host_alias
  1159. target=$target_alias
  1160. # FIXME: To remove some day.
  1161. if test "x$host_alias" != x; then
  1162. if test "x$build_alias" = x; then
  1163. cross_compiling=maybe
  1164. elif test "x$build_alias" != "x$host_alias"; then
  1165. cross_compiling=yes
  1166. fi
  1167. fi
  1168. ac_tool_prefix=
  1169. test -n "$host_alias" && ac_tool_prefix=$host_alias-
  1170. test "$silent" = yes && exec 6>/dev/null
  1171. ac_pwd=`pwd` && test -n "$ac_pwd" &&
  1172. ac_ls_di=`ls -di .` &&
  1173. ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
  1174. as_fn_error $? "working directory cannot be determined"
  1175. test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
  1176. as_fn_error $? "pwd does not report name of working directory"
  1177. # Find the source files, if location was not specified.
  1178. if test -z "$srcdir"; then
  1179. ac_srcdir_defaulted=yes
  1180. # Try the directory containing this script, then the parent directory.
  1181. ac_confdir=`$as_dirname -- "$as_myself" ||
  1182. $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1183. X"$as_myself" : 'X\(//\)[^/]' \| \
  1184. X"$as_myself" : 'X\(//\)$' \| \
  1185. X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
  1186. $as_echo X"$as_myself" |
  1187. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  1188. s//\1/
  1189. q
  1190. }
  1191. /^X\(\/\/\)[^/].*/{
  1192. s//\1/
  1193. q
  1194. }
  1195. /^X\(\/\/\)$/{
  1196. s//\1/
  1197. q
  1198. }
  1199. /^X\(\/\).*/{
  1200. s//\1/
  1201. q
  1202. }
  1203. s/.*/./; q'`
  1204. srcdir=$ac_confdir
  1205. if test ! -r "$srcdir/$ac_unique_file"; then
  1206. srcdir=..
  1207. fi
  1208. else
  1209. ac_srcdir_defaulted=no
  1210. fi
  1211. if test ! -r "$srcdir/$ac_unique_file"; then
  1212. test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
  1213. as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
  1214. fi
  1215. ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
  1216. ac_abs_confdir=`(
  1217. cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
  1218. pwd)`
  1219. # When building in place, set srcdir=.
  1220. if test "$ac_abs_confdir" = "$ac_pwd"; then
  1221. srcdir=.
  1222. fi
  1223. # Remove unnecessary trailing slashes from srcdir.
  1224. # Double slashes in file names in object file debugging info
  1225. # mess up M-x gdb in Emacs.
  1226. case $srcdir in
  1227. */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
  1228. esac
  1229. for ac_var in $ac_precious_vars; do
  1230. eval ac_env_${ac_var}_set=\${${ac_var}+set}
  1231. eval ac_env_${ac_var}_value=\$${ac_var}
  1232. eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
  1233. eval ac_cv_env_${ac_var}_value=\$${ac_var}
  1234. done
  1235. #
  1236. # Report the --help message.
  1237. #
  1238. if test "$ac_init_help" = "long"; then
  1239. # Omit some internal or obsolete options to make the list less imposing.
  1240. # This message is too long to be a string in the A/UX 3.1 sh.
  1241. cat <<_ACEOF
  1242. \`configure' configures opcodes 2.38.50 to adapt to many kinds of systems.
  1243. Usage: $0 [OPTION]... [VAR=VALUE]...
  1244. To assign environment variables (e.g., CC, CFLAGS...), specify them as
  1245. VAR=VALUE. See below for descriptions of some of the useful variables.
  1246. Defaults for the options are specified in brackets.
  1247. Configuration:
  1248. -h, --help display this help and exit
  1249. --help=short display options specific to this package
  1250. --help=recursive display the short help of all the included packages
  1251. -V, --version display version information and exit
  1252. -q, --quiet, --silent do not print \`checking ...' messages
  1253. --cache-file=FILE cache test results in FILE [disabled]
  1254. -C, --config-cache alias for \`--cache-file=config.cache'
  1255. -n, --no-create do not create output files
  1256. --srcdir=DIR find the sources in DIR [configure dir or \`..']
  1257. Installation directories:
  1258. --prefix=PREFIX install architecture-independent files in PREFIX
  1259. [$ac_default_prefix]
  1260. --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
  1261. [PREFIX]
  1262. By default, \`make install' will install all the files in
  1263. \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
  1264. an installation prefix other than \`$ac_default_prefix' using \`--prefix',
  1265. for instance \`--prefix=\$HOME'.
  1266. For better control, use the options below.
  1267. Fine tuning of the installation directories:
  1268. --bindir=DIR user executables [EPREFIX/bin]
  1269. --sbindir=DIR system admin executables [EPREFIX/sbin]
  1270. --libexecdir=DIR program executables [EPREFIX/libexec]
  1271. --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
  1272. --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
  1273. --localstatedir=DIR modifiable single-machine data [PREFIX/var]
  1274. --libdir=DIR object code libraries [EPREFIX/lib]
  1275. --includedir=DIR C header files [PREFIX/include]
  1276. --oldincludedir=DIR C header files for non-gcc [/usr/include]
  1277. --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
  1278. --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
  1279. --infodir=DIR info documentation [DATAROOTDIR/info]
  1280. --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
  1281. --mandir=DIR man documentation [DATAROOTDIR/man]
  1282. --docdir=DIR documentation root [DATAROOTDIR/doc/opcodes]
  1283. --htmldir=DIR html documentation [DOCDIR]
  1284. --dvidir=DIR dvi documentation [DOCDIR]
  1285. --pdfdir=DIR pdf documentation [DOCDIR]
  1286. --psdir=DIR ps documentation [DOCDIR]
  1287. _ACEOF
  1288. cat <<\_ACEOF
  1289. Program names:
  1290. --program-prefix=PREFIX prepend PREFIX to installed program names
  1291. --program-suffix=SUFFIX append SUFFIX to installed program names
  1292. --program-transform-name=PROGRAM run sed PROGRAM on installed program names
  1293. System types:
  1294. --build=BUILD configure for building on BUILD [guessed]
  1295. --host=HOST cross-compile to build programs to run on HOST [BUILD]
  1296. --target=TARGET configure for building compilers for TARGET [HOST]
  1297. _ACEOF
  1298. fi
  1299. if test -n "$ac_init_help"; then
  1300. case $ac_init_help in
  1301. short | recursive ) echo "Configuration of opcodes 2.38.50:";;
  1302. esac
  1303. cat <<\_ACEOF
  1304. Optional Features:
  1305. --disable-option-checking ignore unrecognized --enable/--with options
  1306. --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
  1307. --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
  1308. --enable-silent-rules less verbose build output (undo: "make V=1")
  1309. --disable-silent-rules verbose build output (undo: "make V=0")
  1310. --enable-dependency-tracking
  1311. do not reject slow dependency extractors
  1312. --disable-dependency-tracking
  1313. speeds up one-time build
  1314. --enable-shared[=PKGS] build shared libraries [default=no]
  1315. --enable-static[=PKGS] build static libraries [default=yes]
  1316. --enable-fast-install[=PKGS]
  1317. optimize for fast installation [default=yes]
  1318. --disable-libtool-lock avoid locking (might break parallel builds)
  1319. --enable-checking enable run-time checks
  1320. --enable-targets alternative target configurations
  1321. --enable-werror treat compile warnings as errors
  1322. --enable-build-warnings enable build-time compiler warnings
  1323. --enable-maintainer-mode
  1324. enable make rules and dependencies not useful (and
  1325. sometimes confusing) to the casual installer
  1326. --enable-install-libbfd controls installation of libbfd and related headers
  1327. --disable-nls do not use Native Language Support
  1328. --enable-64-bit-bfd 64-bit support (on hosts with narrower word sizes)
  1329. --enable-cgen-maint=dir build cgen generated files
  1330. Optional Packages:
  1331. --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
  1332. --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
  1333. --with-pic try to use only PIC/non-PIC objects [default=use
  1334. both]
  1335. --with-gnu-ld assume the C compiler uses GNU ld [default=no]
  1336. Some influential environment variables:
  1337. CC C compiler command
  1338. CFLAGS C compiler flags
  1339. LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
  1340. nonstandard directory <lib dir>
  1341. LIBS libraries to pass to the linker, e.g. -l<library>
  1342. CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
  1343. you have headers in a nonstandard directory <include dir>
  1344. CPP C preprocessor
  1345. Use these variables to override the choices made by `configure' or to help
  1346. it to find libraries and programs with nonstandard names/locations.
  1347. Report bugs to the package provider.
  1348. _ACEOF
  1349. ac_status=$?
  1350. fi
  1351. if test "$ac_init_help" = "recursive"; then
  1352. # If there are subdirs, report their specific --help.
  1353. for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  1354. test -d "$ac_dir" ||
  1355. { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
  1356. continue
  1357. ac_builddir=.
  1358. case "$ac_dir" in
  1359. .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1360. *)
  1361. ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  1362. # A ".." for each directory in $ac_dir_suffix.
  1363. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  1364. case $ac_top_builddir_sub in
  1365. "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1366. *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  1367. esac ;;
  1368. esac
  1369. ac_abs_top_builddir=$ac_pwd
  1370. ac_abs_builddir=$ac_pwd$ac_dir_suffix
  1371. # for backward compatibility:
  1372. ac_top_builddir=$ac_top_build_prefix
  1373. case $srcdir in
  1374. .) # We are building in place.
  1375. ac_srcdir=.
  1376. ac_top_srcdir=$ac_top_builddir_sub
  1377. ac_abs_top_srcdir=$ac_pwd ;;
  1378. [\\/]* | ?:[\\/]* ) # Absolute name.
  1379. ac_srcdir=$srcdir$ac_dir_suffix;
  1380. ac_top_srcdir=$srcdir
  1381. ac_abs_top_srcdir=$srcdir ;;
  1382. *) # Relative name.
  1383. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  1384. ac_top_srcdir=$ac_top_build_prefix$srcdir
  1385. ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  1386. esac
  1387. ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  1388. cd "$ac_dir" || { ac_status=$?; continue; }
  1389. # Check for guested configure.
  1390. if test -f "$ac_srcdir/configure.gnu"; then
  1391. echo &&
  1392. $SHELL "$ac_srcdir/configure.gnu" --help=recursive
  1393. elif test -f "$ac_srcdir/configure"; then
  1394. echo &&
  1395. $SHELL "$ac_srcdir/configure" --help=recursive
  1396. else
  1397. $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  1398. fi || ac_status=$?
  1399. cd "$ac_pwd" || { ac_status=$?; break; }
  1400. done
  1401. fi
  1402. test -n "$ac_init_help" && exit $ac_status
  1403. if $ac_init_version; then
  1404. cat <<\_ACEOF
  1405. opcodes configure 2.38.50
  1406. generated by GNU Autoconf 2.69
  1407. Copyright (C) 2012 Free Software Foundation, Inc.
  1408. This configure script is free software; the Free Software Foundation
  1409. gives unlimited permission to copy, distribute and modify it.
  1410. _ACEOF
  1411. exit
  1412. fi
  1413. ## ------------------------ ##
  1414. ## Autoconf initialization. ##
  1415. ## ------------------------ ##
  1416. # ac_fn_c_try_compile LINENO
  1417. # --------------------------
  1418. # Try to compile conftest.$ac_ext, and return whether this succeeded.
  1419. ac_fn_c_try_compile ()
  1420. {
  1421. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1422. rm -f conftest.$ac_objext
  1423. if { { ac_try="$ac_compile"
  1424. case "(($ac_try" in
  1425. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1426. *) ac_try_echo=$ac_try;;
  1427. esac
  1428. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1429. $as_echo "$ac_try_echo"; } >&5
  1430. (eval "$ac_compile") 2>conftest.err
  1431. ac_status=$?
  1432. if test -s conftest.err; then
  1433. grep -v '^ *+' conftest.err >conftest.er1
  1434. cat conftest.er1 >&5
  1435. mv -f conftest.er1 conftest.err
  1436. fi
  1437. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1438. test $ac_status = 0; } && {
  1439. test -z "$ac_c_werror_flag" ||
  1440. test ! -s conftest.err
  1441. } && test -s conftest.$ac_objext; then :
  1442. ac_retval=0
  1443. else
  1444. $as_echo "$as_me: failed program was:" >&5
  1445. sed 's/^/| /' conftest.$ac_ext >&5
  1446. ac_retval=1
  1447. fi
  1448. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1449. as_fn_set_status $ac_retval
  1450. } # ac_fn_c_try_compile
  1451. # ac_fn_c_try_cpp LINENO
  1452. # ----------------------
  1453. # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
  1454. ac_fn_c_try_cpp ()
  1455. {
  1456. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1457. if { { ac_try="$ac_cpp conftest.$ac_ext"
  1458. case "(($ac_try" in
  1459. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1460. *) ac_try_echo=$ac_try;;
  1461. esac
  1462. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1463. $as_echo "$ac_try_echo"; } >&5
  1464. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
  1465. ac_status=$?
  1466. if test -s conftest.err; then
  1467. grep -v '^ *+' conftest.err >conftest.er1
  1468. cat conftest.er1 >&5
  1469. mv -f conftest.er1 conftest.err
  1470. fi
  1471. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1472. test $ac_status = 0; } > conftest.i && {
  1473. test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  1474. test ! -s conftest.err
  1475. }; then :
  1476. ac_retval=0
  1477. else
  1478. $as_echo "$as_me: failed program was:" >&5
  1479. sed 's/^/| /' conftest.$ac_ext >&5
  1480. ac_retval=1
  1481. fi
  1482. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1483. as_fn_set_status $ac_retval
  1484. } # ac_fn_c_try_cpp
  1485. # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
  1486. # -------------------------------------------------------
  1487. # Tests whether HEADER exists, giving a warning if it cannot be compiled using
  1488. # the include files in INCLUDES and setting the cache variable VAR
  1489. # accordingly.
  1490. ac_fn_c_check_header_mongrel ()
  1491. {
  1492. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1493. if eval \${$3+:} false; then :
  1494. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1495. $as_echo_n "checking for $2... " >&6; }
  1496. if eval \${$3+:} false; then :
  1497. $as_echo_n "(cached) " >&6
  1498. fi
  1499. eval ac_res=\$$3
  1500. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1501. $as_echo "$ac_res" >&6; }
  1502. else
  1503. # Is the header compilable?
  1504. { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
  1505. $as_echo_n "checking $2 usability... " >&6; }
  1506. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1507. /* end confdefs.h. */
  1508. $4
  1509. #include <$2>
  1510. _ACEOF
  1511. if ac_fn_c_try_compile "$LINENO"; then :
  1512. ac_header_compiler=yes
  1513. else
  1514. ac_header_compiler=no
  1515. fi
  1516. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1517. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
  1518. $as_echo "$ac_header_compiler" >&6; }
  1519. # Is the header present?
  1520. { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
  1521. $as_echo_n "checking $2 presence... " >&6; }
  1522. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1523. /* end confdefs.h. */
  1524. #include <$2>
  1525. _ACEOF
  1526. if ac_fn_c_try_cpp "$LINENO"; then :
  1527. ac_header_preproc=yes
  1528. else
  1529. ac_header_preproc=no
  1530. fi
  1531. rm -f conftest.err conftest.i conftest.$ac_ext
  1532. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
  1533. $as_echo "$ac_header_preproc" >&6; }
  1534. # So? What about this header?
  1535. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
  1536. yes:no: )
  1537. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
  1538. $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
  1539. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
  1540. $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
  1541. ;;
  1542. no:yes:* )
  1543. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
  1544. $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
  1545. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
  1546. $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
  1547. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
  1548. $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
  1549. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
  1550. $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
  1551. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
  1552. $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
  1553. ;;
  1554. esac
  1555. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1556. $as_echo_n "checking for $2... " >&6; }
  1557. if eval \${$3+:} false; then :
  1558. $as_echo_n "(cached) " >&6
  1559. else
  1560. eval "$3=\$ac_header_compiler"
  1561. fi
  1562. eval ac_res=\$$3
  1563. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1564. $as_echo "$ac_res" >&6; }
  1565. fi
  1566. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1567. } # ac_fn_c_check_header_mongrel
  1568. # ac_fn_c_try_run LINENO
  1569. # ----------------------
  1570. # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
  1571. # that executables *can* be run.
  1572. ac_fn_c_try_run ()
  1573. {
  1574. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1575. if { { ac_try="$ac_link"
  1576. case "(($ac_try" in
  1577. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1578. *) ac_try_echo=$ac_try;;
  1579. esac
  1580. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1581. $as_echo "$ac_try_echo"; } >&5
  1582. (eval "$ac_link") 2>&5
  1583. ac_status=$?
  1584. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1585. test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
  1586. { { case "(($ac_try" in
  1587. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1588. *) ac_try_echo=$ac_try;;
  1589. esac
  1590. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1591. $as_echo "$ac_try_echo"; } >&5
  1592. (eval "$ac_try") 2>&5
  1593. ac_status=$?
  1594. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1595. test $ac_status = 0; }; }; then :
  1596. ac_retval=0
  1597. else
  1598. $as_echo "$as_me: program exited with status $ac_status" >&5
  1599. $as_echo "$as_me: failed program was:" >&5
  1600. sed 's/^/| /' conftest.$ac_ext >&5
  1601. ac_retval=$ac_status
  1602. fi
  1603. rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  1604. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1605. as_fn_set_status $ac_retval
  1606. } # ac_fn_c_try_run
  1607. # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
  1608. # -------------------------------------------------------
  1609. # Tests whether HEADER exists and can be compiled using the include files in
  1610. # INCLUDES, setting the cache variable VAR accordingly.
  1611. ac_fn_c_check_header_compile ()
  1612. {
  1613. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1614. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1615. $as_echo_n "checking for $2... " >&6; }
  1616. if eval \${$3+:} false; then :
  1617. $as_echo_n "(cached) " >&6
  1618. else
  1619. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1620. /* end confdefs.h. */
  1621. $4
  1622. #include <$2>
  1623. _ACEOF
  1624. if ac_fn_c_try_compile "$LINENO"; then :
  1625. eval "$3=yes"
  1626. else
  1627. eval "$3=no"
  1628. fi
  1629. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1630. fi
  1631. eval ac_res=\$$3
  1632. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1633. $as_echo "$ac_res" >&6; }
  1634. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1635. } # ac_fn_c_check_header_compile
  1636. # ac_fn_c_try_link LINENO
  1637. # -----------------------
  1638. # Try to link conftest.$ac_ext, and return whether this succeeded.
  1639. ac_fn_c_try_link ()
  1640. {
  1641. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1642. rm -f conftest.$ac_objext conftest$ac_exeext
  1643. if { { ac_try="$ac_link"
  1644. case "(($ac_try" in
  1645. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1646. *) ac_try_echo=$ac_try;;
  1647. esac
  1648. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1649. $as_echo "$ac_try_echo"; } >&5
  1650. (eval "$ac_link") 2>conftest.err
  1651. ac_status=$?
  1652. if test -s conftest.err; then
  1653. grep -v '^ *+' conftest.err >conftest.er1
  1654. cat conftest.er1 >&5
  1655. mv -f conftest.er1 conftest.err
  1656. fi
  1657. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1658. test $ac_status = 0; } && {
  1659. test -z "$ac_c_werror_flag" ||
  1660. test ! -s conftest.err
  1661. } && test -s conftest$ac_exeext && {
  1662. test "$cross_compiling" = yes ||
  1663. test -x conftest$ac_exeext
  1664. }; then :
  1665. ac_retval=0
  1666. else
  1667. $as_echo "$as_me: failed program was:" >&5
  1668. sed 's/^/| /' conftest.$ac_ext >&5
  1669. ac_retval=1
  1670. fi
  1671. # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
  1672. # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
  1673. # interfere with the next link command; also delete a directory that is
  1674. # left behind by Apple's compiler. We do this before executing the actions.
  1675. rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  1676. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1677. as_fn_set_status $ac_retval
  1678. } # ac_fn_c_try_link
  1679. # ac_fn_c_check_func LINENO FUNC VAR
  1680. # ----------------------------------
  1681. # Tests whether FUNC exists, setting the cache variable VAR accordingly
  1682. ac_fn_c_check_func ()
  1683. {
  1684. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1685. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1686. $as_echo_n "checking for $2... " >&6; }
  1687. if eval \${$3+:} false; then :
  1688. $as_echo_n "(cached) " >&6
  1689. else
  1690. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1691. /* end confdefs.h. */
  1692. /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
  1693. For example, HP-UX 11i <limits.h> declares gettimeofday. */
  1694. #define $2 innocuous_$2
  1695. /* System header to define __stub macros and hopefully few prototypes,
  1696. which can conflict with char $2 (); below.
  1697. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  1698. <limits.h> exists even on freestanding compilers. */
  1699. #ifdef __STDC__
  1700. # include <limits.h>
  1701. #else
  1702. # include <assert.h>
  1703. #endif
  1704. #undef $2
  1705. /* Override any GCC internal prototype to avoid an error.
  1706. Use char because int might match the return type of a GCC
  1707. builtin and then its argument prototype would still apply. */
  1708. #ifdef __cplusplus
  1709. extern "C"
  1710. #endif
  1711. char $2 ();
  1712. /* The GNU C library defines this for functions which it implements
  1713. to always fail with ENOSYS. Some functions are actually named
  1714. something starting with __ and the normal name is an alias. */
  1715. #if defined __stub_$2 || defined __stub___$2
  1716. choke me
  1717. #endif
  1718. int
  1719. main ()
  1720. {
  1721. return $2 ();
  1722. ;
  1723. return 0;
  1724. }
  1725. _ACEOF
  1726. if ac_fn_c_try_link "$LINENO"; then :
  1727. eval "$3=yes"
  1728. else
  1729. eval "$3=no"
  1730. fi
  1731. rm -f core conftest.err conftest.$ac_objext \
  1732. conftest$ac_exeext conftest.$ac_ext
  1733. fi
  1734. eval ac_res=\$$3
  1735. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1736. $as_echo "$ac_res" >&6; }
  1737. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1738. } # ac_fn_c_check_func
  1739. # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
  1740. # --------------------------------------------
  1741. # Tries to find the compile-time value of EXPR in a program that includes
  1742. # INCLUDES, setting VAR accordingly. Returns whether the value could be
  1743. # computed
  1744. ac_fn_c_compute_int ()
  1745. {
  1746. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1747. if test "$cross_compiling" = yes; then
  1748. # Depending upon the size, compute the lo and hi bounds.
  1749. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1750. /* end confdefs.h. */
  1751. $4
  1752. int
  1753. main ()
  1754. {
  1755. static int test_array [1 - 2 * !(($2) >= 0)];
  1756. test_array [0] = 0;
  1757. return test_array [0];
  1758. ;
  1759. return 0;
  1760. }
  1761. _ACEOF
  1762. if ac_fn_c_try_compile "$LINENO"; then :
  1763. ac_lo=0 ac_mid=0
  1764. while :; do
  1765. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1766. /* end confdefs.h. */
  1767. $4
  1768. int
  1769. main ()
  1770. {
  1771. static int test_array [1 - 2 * !(($2) <= $ac_mid)];
  1772. test_array [0] = 0;
  1773. return test_array [0];
  1774. ;
  1775. return 0;
  1776. }
  1777. _ACEOF
  1778. if ac_fn_c_try_compile "$LINENO"; then :
  1779. ac_hi=$ac_mid; break
  1780. else
  1781. as_fn_arith $ac_mid + 1 && ac_lo=$as_val
  1782. if test $ac_lo -le $ac_mid; then
  1783. ac_lo= ac_hi=
  1784. break
  1785. fi
  1786. as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
  1787. fi
  1788. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1789. done
  1790. else
  1791. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1792. /* end confdefs.h. */
  1793. $4
  1794. int
  1795. main ()
  1796. {
  1797. static int test_array [1 - 2 * !(($2) < 0)];
  1798. test_array [0] = 0;
  1799. return test_array [0];
  1800. ;
  1801. return 0;
  1802. }
  1803. _ACEOF
  1804. if ac_fn_c_try_compile "$LINENO"; then :
  1805. ac_hi=-1 ac_mid=-1
  1806. while :; do
  1807. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1808. /* end confdefs.h. */
  1809. $4
  1810. int
  1811. main ()
  1812. {
  1813. static int test_array [1 - 2 * !(($2) >= $ac_mid)];
  1814. test_array [0] = 0;
  1815. return test_array [0];
  1816. ;
  1817. return 0;
  1818. }
  1819. _ACEOF
  1820. if ac_fn_c_try_compile "$LINENO"; then :
  1821. ac_lo=$ac_mid; break
  1822. else
  1823. as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
  1824. if test $ac_mid -le $ac_hi; then
  1825. ac_lo= ac_hi=
  1826. break
  1827. fi
  1828. as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
  1829. fi
  1830. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1831. done
  1832. else
  1833. ac_lo= ac_hi=
  1834. fi
  1835. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1836. fi
  1837. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1838. # Binary search between lo and hi bounds.
  1839. while test "x$ac_lo" != "x$ac_hi"; do
  1840. as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
  1841. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1842. /* end confdefs.h. */
  1843. $4
  1844. int
  1845. main ()
  1846. {
  1847. static int test_array [1 - 2 * !(($2) <= $ac_mid)];
  1848. test_array [0] = 0;
  1849. return test_array [0];
  1850. ;
  1851. return 0;
  1852. }
  1853. _ACEOF
  1854. if ac_fn_c_try_compile "$LINENO"; then :
  1855. ac_hi=$ac_mid
  1856. else
  1857. as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
  1858. fi
  1859. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1860. done
  1861. case $ac_lo in #((
  1862. ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
  1863. '') ac_retval=1 ;;
  1864. esac
  1865. else
  1866. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1867. /* end confdefs.h. */
  1868. $4
  1869. static long int longval () { return $2; }
  1870. static unsigned long int ulongval () { return $2; }
  1871. #include <stdio.h>
  1872. #include <stdlib.h>
  1873. int
  1874. main ()
  1875. {
  1876. FILE *f = fopen ("conftest.val", "w");
  1877. if (! f)
  1878. return 1;
  1879. if (($2) < 0)
  1880. {
  1881. long int i = longval ();
  1882. if (i != ($2))
  1883. return 1;
  1884. fprintf (f, "%ld", i);
  1885. }
  1886. else
  1887. {
  1888. unsigned long int i = ulongval ();
  1889. if (i != ($2))
  1890. return 1;
  1891. fprintf (f, "%lu", i);
  1892. }
  1893. /* Do not output a trailing newline, as this causes \r\n confusion
  1894. on some platforms. */
  1895. return ferror (f) || fclose (f) != 0;
  1896. ;
  1897. return 0;
  1898. }
  1899. _ACEOF
  1900. if ac_fn_c_try_run "$LINENO"; then :
  1901. echo >>conftest.val; read $3 <conftest.val; ac_retval=0
  1902. else
  1903. ac_retval=1
  1904. fi
  1905. rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  1906. conftest.$ac_objext conftest.beam conftest.$ac_ext
  1907. rm -f conftest.val
  1908. fi
  1909. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1910. as_fn_set_status $ac_retval
  1911. } # ac_fn_c_compute_int
  1912. # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
  1913. # ---------------------------------------------
  1914. # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
  1915. # accordingly.
  1916. ac_fn_c_check_decl ()
  1917. {
  1918. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1919. as_decl_name=`echo $2|sed 's/ *(.*//'`
  1920. as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
  1921. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
  1922. $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
  1923. if eval \${$3+:} false; then :
  1924. $as_echo_n "(cached) " >&6
  1925. else
  1926. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1927. /* end confdefs.h. */
  1928. $4
  1929. int
  1930. main ()
  1931. {
  1932. #ifndef $as_decl_name
  1933. #ifdef __cplusplus
  1934. (void) $as_decl_use;
  1935. #else
  1936. (void) $as_decl_name;
  1937. #endif
  1938. #endif
  1939. ;
  1940. return 0;
  1941. }
  1942. _ACEOF
  1943. if ac_fn_c_try_compile "$LINENO"; then :
  1944. eval "$3=yes"
  1945. else
  1946. eval "$3=no"
  1947. fi
  1948. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1949. fi
  1950. eval ac_res=\$$3
  1951. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1952. $as_echo "$ac_res" >&6; }
  1953. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1954. } # ac_fn_c_check_decl
  1955. cat >config.log <<_ACEOF
  1956. This file contains any messages produced by compilers while
  1957. running configure, to aid debugging if configure makes a mistake.
  1958. It was created by opcodes $as_me 2.38.50, which was
  1959. generated by GNU Autoconf 2.69. Invocation command line was
  1960. $ $0 $@
  1961. _ACEOF
  1962. exec 5>>config.log
  1963. {
  1964. cat <<_ASUNAME
  1965. ## --------- ##
  1966. ## Platform. ##
  1967. ## --------- ##
  1968. hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  1969. uname -m = `(uname -m) 2>/dev/null || echo unknown`
  1970. uname -r = `(uname -r) 2>/dev/null || echo unknown`
  1971. uname -s = `(uname -s) 2>/dev/null || echo unknown`
  1972. uname -v = `(uname -v) 2>/dev/null || echo unknown`
  1973. /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  1974. /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
  1975. /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
  1976. /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
  1977. /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  1978. /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
  1979. /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
  1980. /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
  1981. /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
  1982. _ASUNAME
  1983. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1984. for as_dir in $PATH
  1985. do
  1986. IFS=$as_save_IFS
  1987. test -z "$as_dir" && as_dir=.
  1988. $as_echo "PATH: $as_dir"
  1989. done
  1990. IFS=$as_save_IFS
  1991. } >&5
  1992. cat >&5 <<_ACEOF
  1993. ## ----------- ##
  1994. ## Core tests. ##
  1995. ## ----------- ##
  1996. _ACEOF
  1997. # Keep a trace of the command line.
  1998. # Strip out --no-create and --no-recursion so they do not pile up.
  1999. # Strip out --silent because we don't want to record it for future runs.
  2000. # Also quote any args containing shell meta-characters.
  2001. # Make two passes to allow for proper duplicate-argument suppression.
  2002. ac_configure_args=
  2003. ac_configure_args0=
  2004. ac_configure_args1=
  2005. ac_must_keep_next=false
  2006. for ac_pass in 1 2
  2007. do
  2008. for ac_arg
  2009. do
  2010. case $ac_arg in
  2011. -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  2012. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  2013. | -silent | --silent | --silen | --sile | --sil)
  2014. continue ;;
  2015. *\'*)
  2016. ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  2017. esac
  2018. case $ac_pass in
  2019. 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
  2020. 2)
  2021. as_fn_append ac_configure_args1 " '$ac_arg'"
  2022. if test $ac_must_keep_next = true; then
  2023. ac_must_keep_next=false # Got value, back to normal.
  2024. else
  2025. case $ac_arg in
  2026. *=* | --config-cache | -C | -disable-* | --disable-* \
  2027. | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
  2028. | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
  2029. | -with-* | --with-* | -without-* | --without-* | --x)
  2030. case "$ac_configure_args0 " in
  2031. "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  2032. esac
  2033. ;;
  2034. -* ) ac_must_keep_next=true ;;
  2035. esac
  2036. fi
  2037. as_fn_append ac_configure_args " '$ac_arg'"
  2038. ;;
  2039. esac
  2040. done
  2041. done
  2042. { ac_configure_args0=; unset ac_configure_args0;}
  2043. { ac_configure_args1=; unset ac_configure_args1;}
  2044. # When interrupted or exit'd, cleanup temporary files, and complete
  2045. # config.log. We remove comments because anyway the quotes in there
  2046. # would cause problems or look ugly.
  2047. # WARNING: Use '\'' to represent an apostrophe within the trap.
  2048. # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
  2049. trap 'exit_status=$?
  2050. # Save into config.log some information that might help in debugging.
  2051. {
  2052. echo
  2053. $as_echo "## ---------------- ##
  2054. ## Cache variables. ##
  2055. ## ---------------- ##"
  2056. echo
  2057. # The following way of writing the cache mishandles newlines in values,
  2058. (
  2059. for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
  2060. eval ac_val=\$$ac_var
  2061. case $ac_val in #(
  2062. *${as_nl}*)
  2063. case $ac_var in #(
  2064. *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  2065. $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  2066. esac
  2067. case $ac_var in #(
  2068. _ | IFS | as_nl) ;; #(
  2069. BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  2070. *) { eval $ac_var=; unset $ac_var;} ;;
  2071. esac ;;
  2072. esac
  2073. done
  2074. (set) 2>&1 |
  2075. case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
  2076. *${as_nl}ac_space=\ *)
  2077. sed -n \
  2078. "s/'\''/'\''\\\\'\'''\''/g;
  2079. s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
  2080. ;; #(
  2081. *)
  2082. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  2083. ;;
  2084. esac |
  2085. sort
  2086. )
  2087. echo
  2088. $as_echo "## ----------------- ##
  2089. ## Output variables. ##
  2090. ## ----------------- ##"
  2091. echo
  2092. for ac_var in $ac_subst_vars
  2093. do
  2094. eval ac_val=\$$ac_var
  2095. case $ac_val in
  2096. *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  2097. esac
  2098. $as_echo "$ac_var='\''$ac_val'\''"
  2099. done | sort
  2100. echo
  2101. if test -n "$ac_subst_files"; then
  2102. $as_echo "## ------------------- ##
  2103. ## File substitutions. ##
  2104. ## ------------------- ##"
  2105. echo
  2106. for ac_var in $ac_subst_files
  2107. do
  2108. eval ac_val=\$$ac_var
  2109. case $ac_val in
  2110. *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  2111. esac
  2112. $as_echo "$ac_var='\''$ac_val'\''"
  2113. done | sort
  2114. echo
  2115. fi
  2116. if test -s confdefs.h; then
  2117. $as_echo "## ----------- ##
  2118. ## confdefs.h. ##
  2119. ## ----------- ##"
  2120. echo
  2121. cat confdefs.h
  2122. echo
  2123. fi
  2124. test "$ac_signal" != 0 &&
  2125. $as_echo "$as_me: caught signal $ac_signal"
  2126. $as_echo "$as_me: exit $exit_status"
  2127. } >&5
  2128. rm -f core *.core core.conftest.* &&
  2129. rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
  2130. exit $exit_status
  2131. ' 0
  2132. for ac_signal in 1 2 13 15; do
  2133. trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
  2134. done
  2135. ac_signal=0
  2136. # confdefs.h avoids OS command line length limits that DEFS can exceed.
  2137. rm -f -r conftest* confdefs.h
  2138. $as_echo "/* confdefs.h */" > confdefs.h
  2139. # Predefined preprocessor variables.
  2140. cat >>confdefs.h <<_ACEOF
  2141. #define PACKAGE_NAME "$PACKAGE_NAME"
  2142. _ACEOF
  2143. cat >>confdefs.h <<_ACEOF
  2144. #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  2145. _ACEOF
  2146. cat >>confdefs.h <<_ACEOF
  2147. #define PACKAGE_VERSION "$PACKAGE_VERSION"
  2148. _ACEOF
  2149. cat >>confdefs.h <<_ACEOF
  2150. #define PACKAGE_STRING "$PACKAGE_STRING"
  2151. _ACEOF
  2152. cat >>confdefs.h <<_ACEOF
  2153. #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  2154. _ACEOF
  2155. cat >>confdefs.h <<_ACEOF
  2156. #define PACKAGE_URL "$PACKAGE_URL"
  2157. _ACEOF
  2158. # Let the site file select an alternate cache file if it wants to.
  2159. # Prefer an explicitly selected file to automatically selected ones.
  2160. ac_site_file1=NONE
  2161. ac_site_file2=NONE
  2162. if test -n "$CONFIG_SITE"; then
  2163. # We do not want a PATH search for config.site.
  2164. case $CONFIG_SITE in #((
  2165. -*) ac_site_file1=./$CONFIG_SITE;;
  2166. */*) ac_site_file1=$CONFIG_SITE;;
  2167. *) ac_site_file1=./$CONFIG_SITE;;
  2168. esac
  2169. elif test "x$prefix" != xNONE; then
  2170. ac_site_file1=$prefix/share/config.site
  2171. ac_site_file2=$prefix/etc/config.site
  2172. else
  2173. ac_site_file1=$ac_default_prefix/share/config.site
  2174. ac_site_file2=$ac_default_prefix/etc/config.site
  2175. fi
  2176. for ac_site_file in "$ac_site_file1" "$ac_site_file2"
  2177. do
  2178. test "x$ac_site_file" = xNONE && continue
  2179. if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
  2180. { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
  2181. $as_echo "$as_me: loading site script $ac_site_file" >&6;}
  2182. sed 's/^/| /' "$ac_site_file" >&5
  2183. . "$ac_site_file" \
  2184. || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  2185. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2186. as_fn_error $? "failed to load site script $ac_site_file
  2187. See \`config.log' for more details" "$LINENO" 5; }
  2188. fi
  2189. done
  2190. if test -r "$cache_file"; then
  2191. # Some versions of bash will fail to source /dev/null (special files
  2192. # actually), so we avoid doing that. DJGPP emulates it as a regular file.
  2193. if test /dev/null != "$cache_file" && test -f "$cache_file"; then
  2194. { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
  2195. $as_echo "$as_me: loading cache $cache_file" >&6;}
  2196. case $cache_file in
  2197. [\\/]* | ?:[\\/]* ) . "$cache_file";;
  2198. *) . "./$cache_file";;
  2199. esac
  2200. fi
  2201. else
  2202. { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
  2203. $as_echo "$as_me: creating cache $cache_file" >&6;}
  2204. >$cache_file
  2205. fi
  2206. # Check that the precious variables saved in the cache have kept the same
  2207. # value.
  2208. ac_cache_corrupted=false
  2209. for ac_var in $ac_precious_vars; do
  2210. eval ac_old_set=\$ac_cv_env_${ac_var}_set
  2211. eval ac_new_set=\$ac_env_${ac_var}_set
  2212. eval ac_old_val=\$ac_cv_env_${ac_var}_value
  2213. eval ac_new_val=\$ac_env_${ac_var}_value
  2214. case $ac_old_set,$ac_new_set in
  2215. set,)
  2216. { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  2217. $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  2218. ac_cache_corrupted=: ;;
  2219. ,set)
  2220. { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
  2221. $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  2222. ac_cache_corrupted=: ;;
  2223. ,);;
  2224. *)
  2225. if test "x$ac_old_val" != "x$ac_new_val"; then
  2226. # differences in whitespace do not lead to failure.
  2227. ac_old_val_w=`echo x $ac_old_val`
  2228. ac_new_val_w=`echo x $ac_new_val`
  2229. if test "$ac_old_val_w" != "$ac_new_val_w"; then
  2230. { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
  2231. $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  2232. ac_cache_corrupted=:
  2233. else
  2234. { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
  2235. $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
  2236. eval $ac_var=\$ac_old_val
  2237. fi
  2238. { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
  2239. $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
  2240. { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
  2241. $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
  2242. fi;;
  2243. esac
  2244. # Pass precious variables to config.status.
  2245. if test "$ac_new_set" = set; then
  2246. case $ac_new_val in
  2247. *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  2248. *) ac_arg=$ac_var=$ac_new_val ;;
  2249. esac
  2250. case " $ac_configure_args " in
  2251. *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
  2252. *) as_fn_append ac_configure_args " '$ac_arg'" ;;
  2253. esac
  2254. fi
  2255. done
  2256. if $ac_cache_corrupted; then
  2257. { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  2258. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2259. { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
  2260. $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  2261. as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
  2262. fi
  2263. ## -------------------- ##
  2264. ## Main body of script. ##
  2265. ## -------------------- ##
  2266. ac_ext=c
  2267. ac_cpp='$CPP $CPPFLAGS'
  2268. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2269. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2270. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2271. ac_aux_dir=
  2272. for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
  2273. if test -f "$ac_dir/install-sh"; then
  2274. ac_aux_dir=$ac_dir
  2275. ac_install_sh="$ac_aux_dir/install-sh -c"
  2276. break
  2277. elif test -f "$ac_dir/install.sh"; then
  2278. ac_aux_dir=$ac_dir
  2279. ac_install_sh="$ac_aux_dir/install.sh -c"
  2280. break
  2281. elif test -f "$ac_dir/shtool"; then
  2282. ac_aux_dir=$ac_dir
  2283. ac_install_sh="$ac_aux_dir/shtool install -c"
  2284. break
  2285. fi
  2286. done
  2287. if test -z "$ac_aux_dir"; then
  2288. as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
  2289. fi
  2290. # These three variables are undocumented and unsupported,
  2291. # and are intended to be withdrawn in a future Autoconf release.
  2292. # They can cause serious problems if a builder's source tree is in a directory
  2293. # whose full name contains unusual characters.
  2294. ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
  2295. ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
  2296. ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
  2297. # Make sure we can run config.sub.
  2298. $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
  2299. as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
  2300. { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
  2301. $as_echo_n "checking build system type... " >&6; }
  2302. if ${ac_cv_build+:} false; then :
  2303. $as_echo_n "(cached) " >&6
  2304. else
  2305. ac_build_alias=$build_alias
  2306. test "x$ac_build_alias" = x &&
  2307. ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
  2308. test "x$ac_build_alias" = x &&
  2309. as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
  2310. ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
  2311. as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
  2312. fi
  2313. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
  2314. $as_echo "$ac_cv_build" >&6; }
  2315. case $ac_cv_build in
  2316. *-*-*) ;;
  2317. *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
  2318. esac
  2319. build=$ac_cv_build
  2320. ac_save_IFS=$IFS; IFS='-'
  2321. set x $ac_cv_build
  2322. shift
  2323. build_cpu=$1
  2324. build_vendor=$2
  2325. shift; shift
  2326. # Remember, the first character of IFS is used to create $*,
  2327. # except with old shells:
  2328. build_os=$*
  2329. IFS=$ac_save_IFS
  2330. case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
  2331. { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
  2332. $as_echo_n "checking host system type... " >&6; }
  2333. if ${ac_cv_host+:} false; then :
  2334. $as_echo_n "(cached) " >&6
  2335. else
  2336. if test "x$host_alias" = x; then
  2337. ac_cv_host=$ac_cv_build
  2338. else
  2339. ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
  2340. as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
  2341. fi
  2342. fi
  2343. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
  2344. $as_echo "$ac_cv_host" >&6; }
  2345. case $ac_cv_host in
  2346. *-*-*) ;;
  2347. *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
  2348. esac
  2349. host=$ac_cv_host
  2350. ac_save_IFS=$IFS; IFS='-'
  2351. set x $ac_cv_host
  2352. shift
  2353. host_cpu=$1
  2354. host_vendor=$2
  2355. shift; shift
  2356. # Remember, the first character of IFS is used to create $*,
  2357. # except with old shells:
  2358. host_os=$*
  2359. IFS=$ac_save_IFS
  2360. case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
  2361. { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
  2362. $as_echo_n "checking target system type... " >&6; }
  2363. if ${ac_cv_target+:} false; then :
  2364. $as_echo_n "(cached) " >&6
  2365. else
  2366. if test "x$target_alias" = x; then
  2367. ac_cv_target=$ac_cv_host
  2368. else
  2369. ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
  2370. as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
  2371. fi
  2372. fi
  2373. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
  2374. $as_echo "$ac_cv_target" >&6; }
  2375. case $ac_cv_target in
  2376. *-*-*) ;;
  2377. *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
  2378. esac
  2379. target=$ac_cv_target
  2380. ac_save_IFS=$IFS; IFS='-'
  2381. set x $ac_cv_target
  2382. shift
  2383. target_cpu=$1
  2384. target_vendor=$2
  2385. shift; shift
  2386. # Remember, the first character of IFS is used to create $*,
  2387. # except with old shells:
  2388. target_os=$*
  2389. IFS=$ac_save_IFS
  2390. case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
  2391. # The aliases save the names the user supplied, while $host etc.
  2392. # will get canonicalized.
  2393. test -n "$target_alias" &&
  2394. test "$program_prefix$program_suffix$program_transform_name" = \
  2395. NONENONEs,x,x, &&
  2396. program_prefix=${target_alias}-
  2397. am__api_version='1.15'
  2398. # Find a good install program. We prefer a C program (faster),
  2399. # so one script is as good as another. But avoid the broken or
  2400. # incompatible versions:
  2401. # SysV /etc/install, /usr/sbin/install
  2402. # SunOS /usr/etc/install
  2403. # IRIX /sbin/install
  2404. # AIX /bin/install
  2405. # AmigaOS /C/install, which installs bootblocks on floppy discs
  2406. # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
  2407. # AFS /usr/afsws/bin/install, which mishandles nonexistent args
  2408. # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  2409. # OS/2's system install, which has a completely different semantic
  2410. # ./install, which can be erroneously created by make from ./install.sh.
  2411. # Reject install programs that cannot install multiple files.
  2412. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
  2413. $as_echo_n "checking for a BSD-compatible install... " >&6; }
  2414. if test -z "$INSTALL"; then
  2415. if ${ac_cv_path_install+:} false; then :
  2416. $as_echo_n "(cached) " >&6
  2417. else
  2418. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2419. for as_dir in $PATH
  2420. do
  2421. IFS=$as_save_IFS
  2422. test -z "$as_dir" && as_dir=.
  2423. # Account for people who put trailing slashes in PATH elements.
  2424. case $as_dir/ in #((
  2425. ./ | .// | /[cC]/* | \
  2426. /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
  2427. ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
  2428. /usr/ucb/* ) ;;
  2429. *)
  2430. # OSF1 and SCO ODT 3.0 have their own names for install.
  2431. # Don't use installbsd from OSF since it installs stuff as root
  2432. # by default.
  2433. for ac_prog in ginstall scoinst install; do
  2434. for ac_exec_ext in '' $ac_executable_extensions; do
  2435. if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
  2436. if test $ac_prog = install &&
  2437. grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  2438. # AIX install. It has an incompatible calling convention.
  2439. :
  2440. elif test $ac_prog = install &&
  2441. grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  2442. # program-specific install script used by HP pwplus--don't use.
  2443. :
  2444. else
  2445. rm -rf conftest.one conftest.two conftest.dir
  2446. echo one > conftest.one
  2447. echo two > conftest.two
  2448. mkdir conftest.dir
  2449. if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
  2450. test -s conftest.one && test -s conftest.two &&
  2451. test -s conftest.dir/conftest.one &&
  2452. test -s conftest.dir/conftest.two
  2453. then
  2454. ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
  2455. break 3
  2456. fi
  2457. fi
  2458. fi
  2459. done
  2460. done
  2461. ;;
  2462. esac
  2463. done
  2464. IFS=$as_save_IFS
  2465. rm -rf conftest.one conftest.two conftest.dir
  2466. fi
  2467. if test "${ac_cv_path_install+set}" = set; then
  2468. INSTALL=$ac_cv_path_install
  2469. else
  2470. # As a last resort, use the slow shell script. Don't cache a
  2471. # value for INSTALL within a source directory, because that will
  2472. # break other packages using the cache if that directory is
  2473. # removed, or if the value is a relative name.
  2474. INSTALL=$ac_install_sh
  2475. fi
  2476. fi
  2477. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
  2478. $as_echo "$INSTALL" >&6; }
  2479. # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  2480. # It thinks the first close brace ends the variable substitution.
  2481. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  2482. test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
  2483. test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  2484. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
  2485. $as_echo_n "checking whether build environment is sane... " >&6; }
  2486. # Reject unsafe characters in $srcdir or the absolute working directory
  2487. # name. Accept space and tab only in the latter.
  2488. am_lf='
  2489. '
  2490. case `pwd` in
  2491. *[\\\"\#\$\&\'\`$am_lf]*)
  2492. as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
  2493. esac
  2494. case $srcdir in
  2495. *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
  2496. as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
  2497. esac
  2498. # Do 'set' in a subshell so we don't clobber the current shell's
  2499. # arguments. Must try -L first in case configure is actually a
  2500. # symlink; some systems play weird games with the mod time of symlinks
  2501. # (eg FreeBSD returns the mod time of the symlink's containing
  2502. # directory).
  2503. if (
  2504. am_has_slept=no
  2505. for am_try in 1 2; do
  2506. echo "timestamp, slept: $am_has_slept" > conftest.file
  2507. set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
  2508. if test "$*" = "X"; then
  2509. # -L didn't work.
  2510. set X `ls -t "$srcdir/configure" conftest.file`
  2511. fi
  2512. if test "$*" != "X $srcdir/configure conftest.file" \
  2513. && test "$*" != "X conftest.file $srcdir/configure"; then
  2514. # If neither matched, then we have a broken ls. This can happen
  2515. # if, for instance, CONFIG_SHELL is bash and it inherits a
  2516. # broken ls alias from the environment. This has actually
  2517. # happened. Such a system could not be considered "sane".
  2518. as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
  2519. alias in your environment" "$LINENO" 5
  2520. fi
  2521. if test "$2" = conftest.file || test $am_try -eq 2; then
  2522. break
  2523. fi
  2524. # Just in case.
  2525. sleep 1
  2526. am_has_slept=yes
  2527. done
  2528. test "$2" = conftest.file
  2529. )
  2530. then
  2531. # Ok.
  2532. :
  2533. else
  2534. as_fn_error $? "newly created file is older than distributed files!
  2535. Check your system clock" "$LINENO" 5
  2536. fi
  2537. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  2538. $as_echo "yes" >&6; }
  2539. # If we didn't sleep, we still need to ensure time stamps of config.status and
  2540. # generated files are strictly newer.
  2541. am_sleep_pid=
  2542. if grep 'slept: no' conftest.file >/dev/null 2>&1; then
  2543. ( sleep 1 ) &
  2544. am_sleep_pid=$!
  2545. fi
  2546. rm -f conftest.file
  2547. test "$program_prefix" != NONE &&
  2548. program_transform_name="s&^&$program_prefix&;$program_transform_name"
  2549. # Use a double $ so make ignores it.
  2550. test "$program_suffix" != NONE &&
  2551. program_transform_name="s&\$&$program_suffix&;$program_transform_name"
  2552. # Double any \ or $.
  2553. # By default was `s,x,x', remove it if useless.
  2554. ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
  2555. program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
  2556. # Expand $ac_aux_dir to an absolute path.
  2557. am_aux_dir=`cd "$ac_aux_dir" && pwd`
  2558. if test x"${MISSING+set}" != xset; then
  2559. case $am_aux_dir in
  2560. *\ * | *\ *)
  2561. MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
  2562. *)
  2563. MISSING="\${SHELL} $am_aux_dir/missing" ;;
  2564. esac
  2565. fi
  2566. # Use eval to expand $SHELL
  2567. if eval "$MISSING --is-lightweight"; then
  2568. am_missing_run="$MISSING "
  2569. else
  2570. am_missing_run=
  2571. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
  2572. $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
  2573. fi
  2574. if test x"${install_sh+set}" != xset; then
  2575. case $am_aux_dir in
  2576. *\ * | *\ *)
  2577. install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
  2578. *)
  2579. install_sh="\${SHELL} $am_aux_dir/install-sh"
  2580. esac
  2581. fi
  2582. # Installed binaries are usually stripped using 'strip' when the user
  2583. # run "make install-strip". However 'strip' might not be the right
  2584. # tool to use in cross-compilation environments, therefore Automake
  2585. # will honor the 'STRIP' environment variable to overrule this program.
  2586. if test "$cross_compiling" != no; then
  2587. if test -n "$ac_tool_prefix"; then
  2588. # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  2589. set dummy ${ac_tool_prefix}strip; ac_word=$2
  2590. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2591. $as_echo_n "checking for $ac_word... " >&6; }
  2592. if ${ac_cv_prog_STRIP+:} false; then :
  2593. $as_echo_n "(cached) " >&6
  2594. else
  2595. if test -n "$STRIP"; then
  2596. ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  2597. else
  2598. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2599. for as_dir in $PATH
  2600. do
  2601. IFS=$as_save_IFS
  2602. test -z "$as_dir" && as_dir=.
  2603. for ac_exec_ext in '' $ac_executable_extensions; do
  2604. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2605. ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  2606. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2607. break 2
  2608. fi
  2609. done
  2610. done
  2611. IFS=$as_save_IFS
  2612. fi
  2613. fi
  2614. STRIP=$ac_cv_prog_STRIP
  2615. if test -n "$STRIP"; then
  2616. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
  2617. $as_echo "$STRIP" >&6; }
  2618. else
  2619. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2620. $as_echo "no" >&6; }
  2621. fi
  2622. fi
  2623. if test -z "$ac_cv_prog_STRIP"; then
  2624. ac_ct_STRIP=$STRIP
  2625. # Extract the first word of "strip", so it can be a program name with args.
  2626. set dummy strip; ac_word=$2
  2627. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2628. $as_echo_n "checking for $ac_word... " >&6; }
  2629. if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
  2630. $as_echo_n "(cached) " >&6
  2631. else
  2632. if test -n "$ac_ct_STRIP"; then
  2633. ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  2634. else
  2635. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2636. for as_dir in $PATH
  2637. do
  2638. IFS=$as_save_IFS
  2639. test -z "$as_dir" && as_dir=.
  2640. for ac_exec_ext in '' $ac_executable_extensions; do
  2641. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2642. ac_cv_prog_ac_ct_STRIP="strip"
  2643. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2644. break 2
  2645. fi
  2646. done
  2647. done
  2648. IFS=$as_save_IFS
  2649. fi
  2650. fi
  2651. ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  2652. if test -n "$ac_ct_STRIP"; then
  2653. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
  2654. $as_echo "$ac_ct_STRIP" >&6; }
  2655. else
  2656. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2657. $as_echo "no" >&6; }
  2658. fi
  2659. if test "x$ac_ct_STRIP" = x; then
  2660. STRIP=":"
  2661. else
  2662. case $cross_compiling:$ac_tool_warned in
  2663. yes:)
  2664. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  2665. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  2666. ac_tool_warned=yes ;;
  2667. esac
  2668. STRIP=$ac_ct_STRIP
  2669. fi
  2670. else
  2671. STRIP="$ac_cv_prog_STRIP"
  2672. fi
  2673. fi
  2674. INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
  2675. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
  2676. $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
  2677. if test -z "$MKDIR_P"; then
  2678. if ${ac_cv_path_mkdir+:} false; then :
  2679. $as_echo_n "(cached) " >&6
  2680. else
  2681. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2682. for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
  2683. do
  2684. IFS=$as_save_IFS
  2685. test -z "$as_dir" && as_dir=.
  2686. for ac_prog in mkdir gmkdir; do
  2687. for ac_exec_ext in '' $ac_executable_extensions; do
  2688. as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
  2689. case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
  2690. 'mkdir (GNU coreutils) '* | \
  2691. 'mkdir (coreutils) '* | \
  2692. 'mkdir (fileutils) '4.1*)
  2693. ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
  2694. break 3;;
  2695. esac
  2696. done
  2697. done
  2698. done
  2699. IFS=$as_save_IFS
  2700. fi
  2701. test -d ./--version && rmdir ./--version
  2702. if test "${ac_cv_path_mkdir+set}" = set; then
  2703. MKDIR_P="$ac_cv_path_mkdir -p"
  2704. else
  2705. # As a last resort, use the slow shell script. Don't cache a
  2706. # value for MKDIR_P within a source directory, because that will
  2707. # break other packages using the cache if that directory is
  2708. # removed, or if the value is a relative name.
  2709. MKDIR_P="$ac_install_sh -d"
  2710. fi
  2711. fi
  2712. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
  2713. $as_echo "$MKDIR_P" >&6; }
  2714. for ac_prog in gawk mawk nawk awk
  2715. do
  2716. # Extract the first word of "$ac_prog", so it can be a program name with args.
  2717. set dummy $ac_prog; ac_word=$2
  2718. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2719. $as_echo_n "checking for $ac_word... " >&6; }
  2720. if ${ac_cv_prog_AWK+:} false; then :
  2721. $as_echo_n "(cached) " >&6
  2722. else
  2723. if test -n "$AWK"; then
  2724. ac_cv_prog_AWK="$AWK" # Let the user override the test.
  2725. else
  2726. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2727. for as_dir in $PATH
  2728. do
  2729. IFS=$as_save_IFS
  2730. test -z "$as_dir" && as_dir=.
  2731. for ac_exec_ext in '' $ac_executable_extensions; do
  2732. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2733. ac_cv_prog_AWK="$ac_prog"
  2734. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2735. break 2
  2736. fi
  2737. done
  2738. done
  2739. IFS=$as_save_IFS
  2740. fi
  2741. fi
  2742. AWK=$ac_cv_prog_AWK
  2743. if test -n "$AWK"; then
  2744. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
  2745. $as_echo "$AWK" >&6; }
  2746. else
  2747. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2748. $as_echo "no" >&6; }
  2749. fi
  2750. test -n "$AWK" && break
  2751. done
  2752. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
  2753. $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
  2754. set x ${MAKE-make}
  2755. ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
  2756. if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
  2757. $as_echo_n "(cached) " >&6
  2758. else
  2759. cat >conftest.make <<\_ACEOF
  2760. SHELL = /bin/sh
  2761. all:
  2762. @echo '@@@%%%=$(MAKE)=@@@%%%'
  2763. _ACEOF
  2764. # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
  2765. case `${MAKE-make} -f conftest.make 2>/dev/null` in
  2766. *@@@%%%=?*=@@@%%%*)
  2767. eval ac_cv_prog_make_${ac_make}_set=yes;;
  2768. *)
  2769. eval ac_cv_prog_make_${ac_make}_set=no;;
  2770. esac
  2771. rm -f conftest.make
  2772. fi
  2773. if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
  2774. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  2775. $as_echo "yes" >&6; }
  2776. SET_MAKE=
  2777. else
  2778. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2779. $as_echo "no" >&6; }
  2780. SET_MAKE="MAKE=${MAKE-make}"
  2781. fi
  2782. rm -rf .tst 2>/dev/null
  2783. mkdir .tst 2>/dev/null
  2784. if test -d .tst; then
  2785. am__leading_dot=.
  2786. else
  2787. am__leading_dot=_
  2788. fi
  2789. rmdir .tst 2>/dev/null
  2790. # Check whether --enable-silent-rules was given.
  2791. if test "${enable_silent_rules+set}" = set; then :
  2792. enableval=$enable_silent_rules;
  2793. fi
  2794. case $enable_silent_rules in # (((
  2795. yes) AM_DEFAULT_VERBOSITY=0;;
  2796. no) AM_DEFAULT_VERBOSITY=1;;
  2797. *) AM_DEFAULT_VERBOSITY=1;;
  2798. esac
  2799. am_make=${MAKE-make}
  2800. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
  2801. $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
  2802. if ${am_cv_make_support_nested_variables+:} false; then :
  2803. $as_echo_n "(cached) " >&6
  2804. else
  2805. if $as_echo 'TRUE=$(BAR$(V))
  2806. BAR0=false
  2807. BAR1=true
  2808. V=1
  2809. am__doit:
  2810. @$(TRUE)
  2811. .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
  2812. am_cv_make_support_nested_variables=yes
  2813. else
  2814. am_cv_make_support_nested_variables=no
  2815. fi
  2816. fi
  2817. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
  2818. $as_echo "$am_cv_make_support_nested_variables" >&6; }
  2819. if test $am_cv_make_support_nested_variables = yes; then
  2820. AM_V='$(V)'
  2821. AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
  2822. else
  2823. AM_V=$AM_DEFAULT_VERBOSITY
  2824. AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
  2825. fi
  2826. AM_BACKSLASH='\'
  2827. if test "`cd $srcdir && pwd`" != "`pwd`"; then
  2828. # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
  2829. # is not polluted with repeated "-I."
  2830. am__isrc=' -I$(srcdir)'
  2831. # test to see if srcdir already configured
  2832. if test -f $srcdir/config.status; then
  2833. as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
  2834. fi
  2835. fi
  2836. # test whether we have cygpath
  2837. if test -z "$CYGPATH_W"; then
  2838. if (cygpath --version) >/dev/null 2>/dev/null; then
  2839. CYGPATH_W='cygpath -w'
  2840. else
  2841. CYGPATH_W=echo
  2842. fi
  2843. fi
  2844. # Define the identity of the package.
  2845. PACKAGE='opcodes'
  2846. VERSION='2.38.50'
  2847. cat >>confdefs.h <<_ACEOF
  2848. #define PACKAGE "$PACKAGE"
  2849. _ACEOF
  2850. cat >>confdefs.h <<_ACEOF
  2851. #define VERSION "$VERSION"
  2852. _ACEOF
  2853. # Some tools Automake needs.
  2854. ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
  2855. AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
  2856. AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
  2857. AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
  2858. MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
  2859. # For better backward compatibility. To be removed once Automake 1.9.x
  2860. # dies out for good. For more background, see:
  2861. # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
  2862. # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
  2863. mkdir_p='$(MKDIR_P)'
  2864. # We need awk for the "check" target (and possibly the TAP driver). The
  2865. # system "awk" is bad on some platforms.
  2866. # Always define AMTAR for backward compatibility. Yes, it's still used
  2867. # in the wild :-( We should find a proper way to deprecate it ...
  2868. AMTAR='$${TAR-tar}'
  2869. # We'll loop over all known methods to create a tar archive until one works.
  2870. _am_tools='gnutar pax cpio none'
  2871. am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
  2872. # POSIX will say in a future version that running "rm -f" with no argument
  2873. # is OK; and we want to be able to make that assumption in our Makefile
  2874. # recipes. So use an aggressive probe to check that the usage we want is
  2875. # actually supported "in the wild" to an acceptable degree.
  2876. # See automake bug#10828.
  2877. # To make any issue more visible, cause the running configure to be aborted
  2878. # by default if the 'rm' program in use doesn't match our expectations; the
  2879. # user can still override this though.
  2880. if rm -f && rm -fr && rm -rf; then : OK; else
  2881. cat >&2 <<'END'
  2882. Oops!
  2883. Your 'rm' program seems unable to run without file operands specified
  2884. on the command line, even when the '-f' option is present. This is contrary
  2885. to the behaviour of most rm programs out there, and not conforming with
  2886. the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
  2887. Please tell bug-automake@gnu.org about your system, including the value
  2888. of your $PATH and any error possibly output before this message. This
  2889. can help us improve future automake versions.
  2890. END
  2891. if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
  2892. echo 'Configuration will proceed anyway, since you have set the' >&2
  2893. echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
  2894. echo >&2
  2895. else
  2896. cat >&2 <<'END'
  2897. Aborting the configuration process, to ensure you take notice of the issue.
  2898. You can download and install GNU coreutils to get an 'rm' implementation
  2899. that behaves properly: <http://www.gnu.org/software/coreutils/>.
  2900. If you want to complete the configuration process using your problematic
  2901. 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
  2902. to "yes", and re-run configure.
  2903. END
  2904. as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
  2905. fi
  2906. fi
  2907. # Check whether --enable-silent-rules was given.
  2908. if test "${enable_silent_rules+set}" = set; then :
  2909. enableval=$enable_silent_rules;
  2910. fi
  2911. case $enable_silent_rules in # (((
  2912. yes) AM_DEFAULT_VERBOSITY=0;;
  2913. no) AM_DEFAULT_VERBOSITY=1;;
  2914. *) AM_DEFAULT_VERBOSITY=0;;
  2915. esac
  2916. am_make=${MAKE-make}
  2917. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
  2918. $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
  2919. if ${am_cv_make_support_nested_variables+:} false; then :
  2920. $as_echo_n "(cached) " >&6
  2921. else
  2922. if $as_echo 'TRUE=$(BAR$(V))
  2923. BAR0=false
  2924. BAR1=true
  2925. V=1
  2926. am__doit:
  2927. @$(TRUE)
  2928. .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
  2929. am_cv_make_support_nested_variables=yes
  2930. else
  2931. am_cv_make_support_nested_variables=no
  2932. fi
  2933. fi
  2934. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
  2935. $as_echo "$am_cv_make_support_nested_variables" >&6; }
  2936. if test $am_cv_make_support_nested_variables = yes; then
  2937. AM_V='$(V)'
  2938. AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
  2939. else
  2940. AM_V=$AM_DEFAULT_VERBOSITY
  2941. AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
  2942. fi
  2943. AM_BACKSLASH='\'
  2944. ac_ext=c
  2945. ac_cpp='$CPP $CPPFLAGS'
  2946. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2947. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2948. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2949. if test -n "$ac_tool_prefix"; then
  2950. # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  2951. set dummy ${ac_tool_prefix}gcc; ac_word=$2
  2952. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2953. $as_echo_n "checking for $ac_word... " >&6; }
  2954. if ${ac_cv_prog_CC+:} false; then :
  2955. $as_echo_n "(cached) " >&6
  2956. else
  2957. if test -n "$CC"; then
  2958. ac_cv_prog_CC="$CC" # Let the user override the test.
  2959. else
  2960. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2961. for as_dir in $PATH
  2962. do
  2963. IFS=$as_save_IFS
  2964. test -z "$as_dir" && as_dir=.
  2965. for ac_exec_ext in '' $ac_executable_extensions; do
  2966. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2967. ac_cv_prog_CC="${ac_tool_prefix}gcc"
  2968. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2969. break 2
  2970. fi
  2971. done
  2972. done
  2973. IFS=$as_save_IFS
  2974. fi
  2975. fi
  2976. CC=$ac_cv_prog_CC
  2977. if test -n "$CC"; then
  2978. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  2979. $as_echo "$CC" >&6; }
  2980. else
  2981. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2982. $as_echo "no" >&6; }
  2983. fi
  2984. fi
  2985. if test -z "$ac_cv_prog_CC"; then
  2986. ac_ct_CC=$CC
  2987. # Extract the first word of "gcc", so it can be a program name with args.
  2988. set dummy gcc; ac_word=$2
  2989. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2990. $as_echo_n "checking for $ac_word... " >&6; }
  2991. if ${ac_cv_prog_ac_ct_CC+:} false; then :
  2992. $as_echo_n "(cached) " >&6
  2993. else
  2994. if test -n "$ac_ct_CC"; then
  2995. ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  2996. else
  2997. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2998. for as_dir in $PATH
  2999. do
  3000. IFS=$as_save_IFS
  3001. test -z "$as_dir" && as_dir=.
  3002. for ac_exec_ext in '' $ac_executable_extensions; do
  3003. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  3004. ac_cv_prog_ac_ct_CC="gcc"
  3005. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3006. break 2
  3007. fi
  3008. done
  3009. done
  3010. IFS=$as_save_IFS
  3011. fi
  3012. fi
  3013. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  3014. if test -n "$ac_ct_CC"; then
  3015. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  3016. $as_echo "$ac_ct_CC" >&6; }
  3017. else
  3018. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3019. $as_echo "no" >&6; }
  3020. fi
  3021. if test "x$ac_ct_CC" = x; then
  3022. CC=""
  3023. else
  3024. case $cross_compiling:$ac_tool_warned in
  3025. yes:)
  3026. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  3027. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  3028. ac_tool_warned=yes ;;
  3029. esac
  3030. CC=$ac_ct_CC
  3031. fi
  3032. else
  3033. CC="$ac_cv_prog_CC"
  3034. fi
  3035. if test -z "$CC"; then
  3036. if test -n "$ac_tool_prefix"; then
  3037. # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  3038. set dummy ${ac_tool_prefix}cc; ac_word=$2
  3039. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3040. $as_echo_n "checking for $ac_word... " >&6; }
  3041. if ${ac_cv_prog_CC+:} false; then :
  3042. $as_echo_n "(cached) " >&6
  3043. else
  3044. if test -n "$CC"; then
  3045. ac_cv_prog_CC="$CC" # Let the user override the test.
  3046. else
  3047. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3048. for as_dir in $PATH
  3049. do
  3050. IFS=$as_save_IFS
  3051. test -z "$as_dir" && as_dir=.
  3052. for ac_exec_ext in '' $ac_executable_extensions; do
  3053. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  3054. ac_cv_prog_CC="${ac_tool_prefix}cc"
  3055. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3056. break 2
  3057. fi
  3058. done
  3059. done
  3060. IFS=$as_save_IFS
  3061. fi
  3062. fi
  3063. CC=$ac_cv_prog_CC
  3064. if test -n "$CC"; then
  3065. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  3066. $as_echo "$CC" >&6; }
  3067. else
  3068. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3069. $as_echo "no" >&6; }
  3070. fi
  3071. fi
  3072. fi
  3073. if test -z "$CC"; then
  3074. # Extract the first word of "cc", so it can be a program name with args.
  3075. set dummy cc; ac_word=$2
  3076. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3077. $as_echo_n "checking for $ac_word... " >&6; }
  3078. if ${ac_cv_prog_CC+:} false; then :
  3079. $as_echo_n "(cached) " >&6
  3080. else
  3081. if test -n "$CC"; then
  3082. ac_cv_prog_CC="$CC" # Let the user override the test.
  3083. else
  3084. ac_prog_rejected=no
  3085. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3086. for as_dir in $PATH
  3087. do
  3088. IFS=$as_save_IFS
  3089. test -z "$as_dir" && as_dir=.
  3090. for ac_exec_ext in '' $ac_executable_extensions; do
  3091. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  3092. if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  3093. ac_prog_rejected=yes
  3094. continue
  3095. fi
  3096. ac_cv_prog_CC="cc"
  3097. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3098. break 2
  3099. fi
  3100. done
  3101. done
  3102. IFS=$as_save_IFS
  3103. if test $ac_prog_rejected = yes; then
  3104. # We found a bogon in the path, so make sure we never use it.
  3105. set dummy $ac_cv_prog_CC
  3106. shift
  3107. if test $# != 0; then
  3108. # We chose a different compiler from the bogus one.
  3109. # However, it has the same basename, so the bogon will be chosen
  3110. # first if we set CC to just the basename; use the full file name.
  3111. shift
  3112. ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  3113. fi
  3114. fi
  3115. fi
  3116. fi
  3117. CC=$ac_cv_prog_CC
  3118. if test -n "$CC"; then
  3119. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  3120. $as_echo "$CC" >&6; }
  3121. else
  3122. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3123. $as_echo "no" >&6; }
  3124. fi
  3125. fi
  3126. if test -z "$CC"; then
  3127. if test -n "$ac_tool_prefix"; then
  3128. for ac_prog in cl.exe
  3129. do
  3130. # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  3131. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  3132. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3133. $as_echo_n "checking for $ac_word... " >&6; }
  3134. if ${ac_cv_prog_CC+:} false; then :
  3135. $as_echo_n "(cached) " >&6
  3136. else
  3137. if test -n "$CC"; then
  3138. ac_cv_prog_CC="$CC" # Let the user override the test.
  3139. else
  3140. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3141. for as_dir in $PATH
  3142. do
  3143. IFS=$as_save_IFS
  3144. test -z "$as_dir" && as_dir=.
  3145. for ac_exec_ext in '' $ac_executable_extensions; do
  3146. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  3147. ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  3148. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3149. break 2
  3150. fi
  3151. done
  3152. done
  3153. IFS=$as_save_IFS
  3154. fi
  3155. fi
  3156. CC=$ac_cv_prog_CC
  3157. if test -n "$CC"; then
  3158. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  3159. $as_echo "$CC" >&6; }
  3160. else
  3161. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3162. $as_echo "no" >&6; }
  3163. fi
  3164. test -n "$CC" && break
  3165. done
  3166. fi
  3167. if test -z "$CC"; then
  3168. ac_ct_CC=$CC
  3169. for ac_prog in cl.exe
  3170. do
  3171. # Extract the first word of "$ac_prog", so it can be a program name with args.
  3172. set dummy $ac_prog; ac_word=$2
  3173. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3174. $as_echo_n "checking for $ac_word... " >&6; }
  3175. if ${ac_cv_prog_ac_ct_CC+:} false; then :
  3176. $as_echo_n "(cached) " >&6
  3177. else
  3178. if test -n "$ac_ct_CC"; then
  3179. ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  3180. else
  3181. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3182. for as_dir in $PATH
  3183. do
  3184. IFS=$as_save_IFS
  3185. test -z "$as_dir" && as_dir=.
  3186. for ac_exec_ext in '' $ac_executable_extensions; do
  3187. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  3188. ac_cv_prog_ac_ct_CC="$ac_prog"
  3189. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3190. break 2
  3191. fi
  3192. done
  3193. done
  3194. IFS=$as_save_IFS
  3195. fi
  3196. fi
  3197. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  3198. if test -n "$ac_ct_CC"; then
  3199. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  3200. $as_echo "$ac_ct_CC" >&6; }
  3201. else
  3202. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3203. $as_echo "no" >&6; }
  3204. fi
  3205. test -n "$ac_ct_CC" && break
  3206. done
  3207. if test "x$ac_ct_CC" = x; then
  3208. CC=""
  3209. else
  3210. case $cross_compiling:$ac_tool_warned in
  3211. yes:)
  3212. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  3213. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  3214. ac_tool_warned=yes ;;
  3215. esac
  3216. CC=$ac_ct_CC
  3217. fi
  3218. fi
  3219. fi
  3220. test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3221. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3222. as_fn_error $? "no acceptable C compiler found in \$PATH
  3223. See \`config.log' for more details" "$LINENO" 5; }
  3224. # Provide some information about the compiler.
  3225. $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
  3226. set X $ac_compile
  3227. ac_compiler=$2
  3228. for ac_option in --version -v -V -qversion; do
  3229. { { ac_try="$ac_compiler $ac_option >&5"
  3230. case "(($ac_try" in
  3231. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3232. *) ac_try_echo=$ac_try;;
  3233. esac
  3234. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3235. $as_echo "$ac_try_echo"; } >&5
  3236. (eval "$ac_compiler $ac_option >&5") 2>conftest.err
  3237. ac_status=$?
  3238. if test -s conftest.err; then
  3239. sed '10a\
  3240. ... rest of stderr output deleted ...
  3241. 10q' conftest.err >conftest.er1
  3242. cat conftest.er1 >&5
  3243. fi
  3244. rm -f conftest.er1 conftest.err
  3245. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3246. test $ac_status = 0; }
  3247. done
  3248. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3249. /* end confdefs.h. */
  3250. int
  3251. main ()
  3252. {
  3253. ;
  3254. return 0;
  3255. }
  3256. _ACEOF
  3257. ac_clean_files_save=$ac_clean_files
  3258. ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
  3259. # Try to create an executable without -o first, disregard a.out.
  3260. # It will help us diagnose broken compilers, and finding out an intuition
  3261. # of exeext.
  3262. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
  3263. $as_echo_n "checking whether the C compiler works... " >&6; }
  3264. ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
  3265. # The possible output files:
  3266. ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
  3267. ac_rmfiles=
  3268. for ac_file in $ac_files
  3269. do
  3270. case $ac_file in
  3271. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  3272. * ) ac_rmfiles="$ac_rmfiles $ac_file";;
  3273. esac
  3274. done
  3275. rm -f $ac_rmfiles
  3276. if { { ac_try="$ac_link_default"
  3277. case "(($ac_try" in
  3278. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3279. *) ac_try_echo=$ac_try;;
  3280. esac
  3281. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3282. $as_echo "$ac_try_echo"; } >&5
  3283. (eval "$ac_link_default") 2>&5
  3284. ac_status=$?
  3285. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3286. test $ac_status = 0; }; then :
  3287. # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
  3288. # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
  3289. # in a Makefile. We should not override ac_cv_exeext if it was cached,
  3290. # so that the user can short-circuit this test for compilers unknown to
  3291. # Autoconf.
  3292. for ac_file in $ac_files ''
  3293. do
  3294. test -f "$ac_file" || continue
  3295. case $ac_file in
  3296. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
  3297. ;;
  3298. [ab].out )
  3299. # We found the default executable, but exeext='' is most
  3300. # certainly right.
  3301. break;;
  3302. *.* )
  3303. if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
  3304. then :; else
  3305. ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  3306. fi
  3307. # We set ac_cv_exeext here because the later test for it is not
  3308. # safe: cross compilers may not add the suffix if given an `-o'
  3309. # argument, so we may need to know it at that point already.
  3310. # Even if this section looks crufty: it has the advantage of
  3311. # actually working.
  3312. break;;
  3313. * )
  3314. break;;
  3315. esac
  3316. done
  3317. test "$ac_cv_exeext" = no && ac_cv_exeext=
  3318. else
  3319. ac_file=''
  3320. fi
  3321. if test -z "$ac_file"; then :
  3322. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3323. $as_echo "no" >&6; }
  3324. $as_echo "$as_me: failed program was:" >&5
  3325. sed 's/^/| /' conftest.$ac_ext >&5
  3326. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3327. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3328. as_fn_error 77 "C compiler cannot create executables
  3329. See \`config.log' for more details" "$LINENO" 5; }
  3330. else
  3331. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  3332. $as_echo "yes" >&6; }
  3333. fi
  3334. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
  3335. $as_echo_n "checking for C compiler default output file name... " >&6; }
  3336. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
  3337. $as_echo "$ac_file" >&6; }
  3338. ac_exeext=$ac_cv_exeext
  3339. rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
  3340. ac_clean_files=$ac_clean_files_save
  3341. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
  3342. $as_echo_n "checking for suffix of executables... " >&6; }
  3343. if { { ac_try="$ac_link"
  3344. case "(($ac_try" in
  3345. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3346. *) ac_try_echo=$ac_try;;
  3347. esac
  3348. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3349. $as_echo "$ac_try_echo"; } >&5
  3350. (eval "$ac_link") 2>&5
  3351. ac_status=$?
  3352. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3353. test $ac_status = 0; }; then :
  3354. # If both `conftest.exe' and `conftest' are `present' (well, observable)
  3355. # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
  3356. # work properly (i.e., refer to `conftest.exe'), while it won't with
  3357. # `rm'.
  3358. for ac_file in conftest.exe conftest conftest.*; do
  3359. test -f "$ac_file" || continue
  3360. case $ac_file in
  3361. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  3362. *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  3363. break;;
  3364. * ) break;;
  3365. esac
  3366. done
  3367. else
  3368. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3369. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3370. as_fn_error $? "cannot compute suffix of executables: cannot compile and link
  3371. See \`config.log' for more details" "$LINENO" 5; }
  3372. fi
  3373. rm -f conftest conftest$ac_cv_exeext
  3374. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
  3375. $as_echo "$ac_cv_exeext" >&6; }
  3376. rm -f conftest.$ac_ext
  3377. EXEEXT=$ac_cv_exeext
  3378. ac_exeext=$EXEEXT
  3379. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3380. /* end confdefs.h. */
  3381. #include <stdio.h>
  3382. int
  3383. main ()
  3384. {
  3385. FILE *f = fopen ("conftest.out", "w");
  3386. return ferror (f) || fclose (f) != 0;
  3387. ;
  3388. return 0;
  3389. }
  3390. _ACEOF
  3391. ac_clean_files="$ac_clean_files conftest.out"
  3392. # Check that the compiler produces executables we can run. If not, either
  3393. # the compiler is broken, or we cross compile.
  3394. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
  3395. $as_echo_n "checking whether we are cross compiling... " >&6; }
  3396. if test "$cross_compiling" != yes; then
  3397. { { ac_try="$ac_link"
  3398. case "(($ac_try" in
  3399. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3400. *) ac_try_echo=$ac_try;;
  3401. esac
  3402. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3403. $as_echo "$ac_try_echo"; } >&5
  3404. (eval "$ac_link") 2>&5
  3405. ac_status=$?
  3406. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3407. test $ac_status = 0; }
  3408. if { ac_try='./conftest$ac_cv_exeext'
  3409. { { case "(($ac_try" in
  3410. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3411. *) ac_try_echo=$ac_try;;
  3412. esac
  3413. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3414. $as_echo "$ac_try_echo"; } >&5
  3415. (eval "$ac_try") 2>&5
  3416. ac_status=$?
  3417. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3418. test $ac_status = 0; }; }; then
  3419. cross_compiling=no
  3420. else
  3421. if test "$cross_compiling" = maybe; then
  3422. cross_compiling=yes
  3423. else
  3424. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3425. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3426. as_fn_error $? "cannot run C compiled programs.
  3427. If you meant to cross compile, use \`--host'.
  3428. See \`config.log' for more details" "$LINENO" 5; }
  3429. fi
  3430. fi
  3431. fi
  3432. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
  3433. $as_echo "$cross_compiling" >&6; }
  3434. rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
  3435. ac_clean_files=$ac_clean_files_save
  3436. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
  3437. $as_echo_n "checking for suffix of object files... " >&6; }
  3438. if ${ac_cv_objext+:} false; then :
  3439. $as_echo_n "(cached) " >&6
  3440. else
  3441. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3442. /* end confdefs.h. */
  3443. int
  3444. main ()
  3445. {
  3446. ;
  3447. return 0;
  3448. }
  3449. _ACEOF
  3450. rm -f conftest.o conftest.obj
  3451. if { { ac_try="$ac_compile"
  3452. case "(($ac_try" in
  3453. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3454. *) ac_try_echo=$ac_try;;
  3455. esac
  3456. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3457. $as_echo "$ac_try_echo"; } >&5
  3458. (eval "$ac_compile") 2>&5
  3459. ac_status=$?
  3460. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3461. test $ac_status = 0; }; then :
  3462. for ac_file in conftest.o conftest.obj conftest.*; do
  3463. test -f "$ac_file" || continue;
  3464. case $ac_file in
  3465. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
  3466. *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
  3467. break;;
  3468. esac
  3469. done
  3470. else
  3471. $as_echo "$as_me: failed program was:" >&5
  3472. sed 's/^/| /' conftest.$ac_ext >&5
  3473. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3474. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3475. as_fn_error $? "cannot compute suffix of object files: cannot compile
  3476. See \`config.log' for more details" "$LINENO" 5; }
  3477. fi
  3478. rm -f conftest.$ac_cv_objext conftest.$ac_ext
  3479. fi
  3480. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
  3481. $as_echo "$ac_cv_objext" >&6; }
  3482. OBJEXT=$ac_cv_objext
  3483. ac_objext=$OBJEXT
  3484. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
  3485. $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
  3486. if ${ac_cv_c_compiler_gnu+:} false; then :
  3487. $as_echo_n "(cached) " >&6
  3488. else
  3489. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3490. /* end confdefs.h. */
  3491. int
  3492. main ()
  3493. {
  3494. #ifndef __GNUC__
  3495. choke me
  3496. #endif
  3497. ;
  3498. return 0;
  3499. }
  3500. _ACEOF
  3501. if ac_fn_c_try_compile "$LINENO"; then :
  3502. ac_compiler_gnu=yes
  3503. else
  3504. ac_compiler_gnu=no
  3505. fi
  3506. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3507. ac_cv_c_compiler_gnu=$ac_compiler_gnu
  3508. fi
  3509. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
  3510. $as_echo "$ac_cv_c_compiler_gnu" >&6; }
  3511. if test $ac_compiler_gnu = yes; then
  3512. GCC=yes
  3513. else
  3514. GCC=
  3515. fi
  3516. ac_test_CFLAGS=${CFLAGS+set}
  3517. ac_save_CFLAGS=$CFLAGS
  3518. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
  3519. $as_echo_n "checking whether $CC accepts -g... " >&6; }
  3520. if ${ac_cv_prog_cc_g+:} false; then :
  3521. $as_echo_n "(cached) " >&6
  3522. else
  3523. ac_save_c_werror_flag=$ac_c_werror_flag
  3524. ac_c_werror_flag=yes
  3525. ac_cv_prog_cc_g=no
  3526. CFLAGS="-g"
  3527. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3528. /* end confdefs.h. */
  3529. int
  3530. main ()
  3531. {
  3532. ;
  3533. return 0;
  3534. }
  3535. _ACEOF
  3536. if ac_fn_c_try_compile "$LINENO"; then :
  3537. ac_cv_prog_cc_g=yes
  3538. else
  3539. CFLAGS=""
  3540. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3541. /* end confdefs.h. */
  3542. int
  3543. main ()
  3544. {
  3545. ;
  3546. return 0;
  3547. }
  3548. _ACEOF
  3549. if ac_fn_c_try_compile "$LINENO"; then :
  3550. else
  3551. ac_c_werror_flag=$ac_save_c_werror_flag
  3552. CFLAGS="-g"
  3553. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3554. /* end confdefs.h. */
  3555. int
  3556. main ()
  3557. {
  3558. ;
  3559. return 0;
  3560. }
  3561. _ACEOF
  3562. if ac_fn_c_try_compile "$LINENO"; then :
  3563. ac_cv_prog_cc_g=yes
  3564. fi
  3565. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3566. fi
  3567. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3568. fi
  3569. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3570. ac_c_werror_flag=$ac_save_c_werror_flag
  3571. fi
  3572. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
  3573. $as_echo "$ac_cv_prog_cc_g" >&6; }
  3574. if test "$ac_test_CFLAGS" = set; then
  3575. CFLAGS=$ac_save_CFLAGS
  3576. elif test $ac_cv_prog_cc_g = yes; then
  3577. if test "$GCC" = yes; then
  3578. CFLAGS="-g -O2"
  3579. else
  3580. CFLAGS="-g"
  3581. fi
  3582. else
  3583. if test "$GCC" = yes; then
  3584. CFLAGS="-O2"
  3585. else
  3586. CFLAGS=
  3587. fi
  3588. fi
  3589. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
  3590. $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
  3591. if ${ac_cv_prog_cc_c89+:} false; then :
  3592. $as_echo_n "(cached) " >&6
  3593. else
  3594. ac_cv_prog_cc_c89=no
  3595. ac_save_CC=$CC
  3596. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3597. /* end confdefs.h. */
  3598. #include <stdarg.h>
  3599. #include <stdio.h>
  3600. struct stat;
  3601. /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
  3602. struct buf { int x; };
  3603. FILE * (*rcsopen) (struct buf *, struct stat *, int);
  3604. static char *e (p, i)
  3605. char **p;
  3606. int i;
  3607. {
  3608. return p[i];
  3609. }
  3610. static char *f (char * (*g) (char **, int), char **p, ...)
  3611. {
  3612. char *s;
  3613. va_list v;
  3614. va_start (v,p);
  3615. s = g (p, va_arg (v,int));
  3616. va_end (v);
  3617. return s;
  3618. }
  3619. /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
  3620. function prototypes and stuff, but not '\xHH' hex character constants.
  3621. These don't provoke an error unfortunately, instead are silently treated
  3622. as 'x'. The following induces an error, until -std is added to get
  3623. proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
  3624. array size at least. It's necessary to write '\x00'==0 to get something
  3625. that's true only with -std. */
  3626. int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  3627. /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  3628. inside strings and character constants. */
  3629. #define FOO(x) 'x'
  3630. int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  3631. int test (int i, double x);
  3632. struct s1 {int (*f) (int a);};
  3633. struct s2 {int (*f) (double a);};
  3634. int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  3635. int argc;
  3636. char **argv;
  3637. int
  3638. main ()
  3639. {
  3640. return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
  3641. ;
  3642. return 0;
  3643. }
  3644. _ACEOF
  3645. for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  3646. -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  3647. do
  3648. CC="$ac_save_CC $ac_arg"
  3649. if ac_fn_c_try_compile "$LINENO"; then :
  3650. ac_cv_prog_cc_c89=$ac_arg
  3651. fi
  3652. rm -f core conftest.err conftest.$ac_objext
  3653. test "x$ac_cv_prog_cc_c89" != "xno" && break
  3654. done
  3655. rm -f conftest.$ac_ext
  3656. CC=$ac_save_CC
  3657. fi
  3658. # AC_CACHE_VAL
  3659. case "x$ac_cv_prog_cc_c89" in
  3660. x)
  3661. { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
  3662. $as_echo "none needed" >&6; } ;;
  3663. xno)
  3664. { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
  3665. $as_echo "unsupported" >&6; } ;;
  3666. *)
  3667. CC="$CC $ac_cv_prog_cc_c89"
  3668. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
  3669. $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
  3670. esac
  3671. if test "x$ac_cv_prog_cc_c89" != xno; then :
  3672. fi
  3673. ac_ext=c
  3674. ac_cpp='$CPP $CPPFLAGS'
  3675. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3676. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3677. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3678. ac_ext=c
  3679. ac_cpp='$CPP $CPPFLAGS'
  3680. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3681. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3682. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3683. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
  3684. $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
  3685. if ${am_cv_prog_cc_c_o+:} false; then :
  3686. $as_echo_n "(cached) " >&6
  3687. else
  3688. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3689. /* end confdefs.h. */
  3690. int
  3691. main ()
  3692. {
  3693. ;
  3694. return 0;
  3695. }
  3696. _ACEOF
  3697. # Make sure it works both with $CC and with simple cc.
  3698. # Following AC_PROG_CC_C_O, we do the test twice because some
  3699. # compilers refuse to overwrite an existing .o file with -o,
  3700. # though they will create one.
  3701. am_cv_prog_cc_c_o=yes
  3702. for am_i in 1 2; do
  3703. if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
  3704. ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
  3705. ac_status=$?
  3706. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3707. (exit $ac_status); } \
  3708. && test -f conftest2.$ac_objext; then
  3709. : OK
  3710. else
  3711. am_cv_prog_cc_c_o=no
  3712. break
  3713. fi
  3714. done
  3715. rm -f core conftest*
  3716. unset am_i
  3717. fi
  3718. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
  3719. $as_echo "$am_cv_prog_cc_c_o" >&6; }
  3720. if test "$am_cv_prog_cc_c_o" != yes; then
  3721. # Losing compiler, so override with the script.
  3722. # FIXME: It is wrong to rewrite CC.
  3723. # But if we don't then we get into trouble of one sort or another.
  3724. # A longer-term fix would be to have automake use am__CC in this case,
  3725. # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
  3726. CC="$am_aux_dir/compile $CC"
  3727. fi
  3728. ac_ext=c
  3729. ac_cpp='$CPP $CPPFLAGS'
  3730. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3731. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3732. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3733. DEPDIR="${am__leading_dot}deps"
  3734. ac_config_commands="$ac_config_commands depfiles"
  3735. am_make=${MAKE-make}
  3736. cat > confinc << 'END'
  3737. am__doit:
  3738. @echo this is the am__doit target
  3739. .PHONY: am__doit
  3740. END
  3741. # If we don't find an include directive, just comment out the code.
  3742. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
  3743. $as_echo_n "checking for style of include used by $am_make... " >&6; }
  3744. am__include="#"
  3745. am__quote=
  3746. _am_result=none
  3747. # First try GNU make style include.
  3748. echo "include confinc" > confmf
  3749. # Ignore all kinds of additional output from 'make'.
  3750. case `$am_make -s -f confmf 2> /dev/null` in #(
  3751. *the\ am__doit\ target*)
  3752. am__include=include
  3753. am__quote=
  3754. _am_result=GNU
  3755. ;;
  3756. esac
  3757. # Now try BSD make style include.
  3758. if test "$am__include" = "#"; then
  3759. echo '.include "confinc"' > confmf
  3760. case `$am_make -s -f confmf 2> /dev/null` in #(
  3761. *the\ am__doit\ target*)
  3762. am__include=.include
  3763. am__quote="\""
  3764. _am_result=BSD
  3765. ;;
  3766. esac
  3767. fi
  3768. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
  3769. $as_echo "$_am_result" >&6; }
  3770. rm -f confinc confmf
  3771. # Check whether --enable-dependency-tracking was given.
  3772. if test "${enable_dependency_tracking+set}" = set; then :
  3773. enableval=$enable_dependency_tracking;
  3774. fi
  3775. if test "x$enable_dependency_tracking" != xno; then
  3776. am_depcomp="$ac_aux_dir/depcomp"
  3777. AMDEPBACKSLASH='\'
  3778. am__nodep='_no'
  3779. fi
  3780. if test "x$enable_dependency_tracking" != xno; then
  3781. AMDEP_TRUE=
  3782. AMDEP_FALSE='#'
  3783. else
  3784. AMDEP_TRUE='#'
  3785. AMDEP_FALSE=
  3786. fi
  3787. depcc="$CC" am_compiler_list=
  3788. { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
  3789. $as_echo_n "checking dependency style of $depcc... " >&6; }
  3790. if ${am_cv_CC_dependencies_compiler_type+:} false; then :
  3791. $as_echo_n "(cached) " >&6
  3792. else
  3793. if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  3794. # We make a subdir and do the tests there. Otherwise we can end up
  3795. # making bogus files that we don't know about and never remove. For
  3796. # instance it was reported that on HP-UX the gcc test will end up
  3797. # making a dummy file named 'D' -- because '-MD' means "put the output
  3798. # in D".
  3799. rm -rf conftest.dir
  3800. mkdir conftest.dir
  3801. # Copy depcomp to subdir because otherwise we won't find it if we're
  3802. # using a relative directory.
  3803. cp "$am_depcomp" conftest.dir
  3804. cd conftest.dir
  3805. # We will build objects and dependencies in a subdirectory because
  3806. # it helps to detect inapplicable dependency modes. For instance
  3807. # both Tru64's cc and ICC support -MD to output dependencies as a
  3808. # side effect of compilation, but ICC will put the dependencies in
  3809. # the current directory while Tru64 will put them in the object
  3810. # directory.
  3811. mkdir sub
  3812. am_cv_CC_dependencies_compiler_type=none
  3813. if test "$am_compiler_list" = ""; then
  3814. am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  3815. fi
  3816. am__universal=false
  3817. case " $depcc " in #(
  3818. *\ -arch\ *\ -arch\ *) am__universal=true ;;
  3819. esac
  3820. for depmode in $am_compiler_list; do
  3821. # Setup a source with many dependencies, because some compilers
  3822. # like to wrap large dependency lists on column 80 (with \), and
  3823. # we should not choose a depcomp mode which is confused by this.
  3824. #
  3825. # We need to recreate these files for each test, as the compiler may
  3826. # overwrite some of them when testing with obscure command lines.
  3827. # This happens at least with the AIX C compiler.
  3828. : > sub/conftest.c
  3829. for i in 1 2 3 4 5 6; do
  3830. echo '#include "conftst'$i'.h"' >> sub/conftest.c
  3831. # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
  3832. # Solaris 10 /bin/sh.
  3833. echo '/* dummy */' > sub/conftst$i.h
  3834. done
  3835. echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  3836. # We check with '-c' and '-o' for the sake of the "dashmstdout"
  3837. # mode. It turns out that the SunPro C++ compiler does not properly
  3838. # handle '-M -o', and we need to detect this. Also, some Intel
  3839. # versions had trouble with output in subdirs.
  3840. am__obj=sub/conftest.${OBJEXT-o}
  3841. am__minus_obj="-o $am__obj"
  3842. case $depmode in
  3843. gcc)
  3844. # This depmode causes a compiler race in universal mode.
  3845. test "$am__universal" = false || continue
  3846. ;;
  3847. nosideeffect)
  3848. # After this tag, mechanisms are not by side-effect, so they'll
  3849. # only be used when explicitly requested.
  3850. if test "x$enable_dependency_tracking" = xyes; then
  3851. continue
  3852. else
  3853. break
  3854. fi
  3855. ;;
  3856. msvc7 | msvc7msys | msvisualcpp | msvcmsys)
  3857. # This compiler won't grok '-c -o', but also, the minuso test has
  3858. # not run yet. These depmodes are late enough in the game, and
  3859. # so weak that their functioning should not be impacted.
  3860. am__obj=conftest.${OBJEXT-o}
  3861. am__minus_obj=
  3862. ;;
  3863. none) break ;;
  3864. esac
  3865. if depmode=$depmode \
  3866. source=sub/conftest.c object=$am__obj \
  3867. depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  3868. $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
  3869. >/dev/null 2>conftest.err &&
  3870. grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
  3871. grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  3872. grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
  3873. ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  3874. # icc doesn't choke on unknown options, it will just issue warnings
  3875. # or remarks (even with -Werror). So we grep stderr for any message
  3876. # that says an option was ignored or not supported.
  3877. # When given -MP, icc 7.0 and 7.1 complain thusly:
  3878. # icc: Command line warning: ignoring option '-M'; no argument required
  3879. # The diagnosis changed in icc 8.0:
  3880. # icc: Command line remark: option '-MP' not supported
  3881. if (grep 'ignoring option' conftest.err ||
  3882. grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  3883. am_cv_CC_dependencies_compiler_type=$depmode
  3884. break
  3885. fi
  3886. fi
  3887. done
  3888. cd ..
  3889. rm -rf conftest.dir
  3890. else
  3891. am_cv_CC_dependencies_compiler_type=none
  3892. fi
  3893. fi
  3894. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
  3895. $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
  3896. CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  3897. if
  3898. test "x$enable_dependency_tracking" != xno \
  3899. && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  3900. am__fastdepCC_TRUE=
  3901. am__fastdepCC_FALSE='#'
  3902. else
  3903. am__fastdepCC_TRUE='#'
  3904. am__fastdepCC_FALSE=
  3905. fi
  3906. ac_ext=c
  3907. ac_cpp='$CPP $CPPFLAGS'
  3908. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3909. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3910. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3911. { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
  3912. $as_echo_n "checking how to run the C preprocessor... " >&6; }
  3913. # On Suns, sometimes $CPP names a directory.
  3914. if test -n "$CPP" && test -d "$CPP"; then
  3915. CPP=
  3916. fi
  3917. if test -z "$CPP"; then
  3918. if ${ac_cv_prog_CPP+:} false; then :
  3919. $as_echo_n "(cached) " >&6
  3920. else
  3921. # Double quotes because CPP needs to be expanded
  3922. for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
  3923. do
  3924. ac_preproc_ok=false
  3925. for ac_c_preproc_warn_flag in '' yes
  3926. do
  3927. # Use a header file that comes with gcc, so configuring glibc
  3928. # with a fresh cross-compiler works.
  3929. # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  3930. # <limits.h> exists even on freestanding compilers.
  3931. # On the NeXT, cc -E runs the code through the compiler's parser,
  3932. # not just through cpp. "Syntax error" is here to catch this case.
  3933. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3934. /* end confdefs.h. */
  3935. #ifdef __STDC__
  3936. # include <limits.h>
  3937. #else
  3938. # include <assert.h>
  3939. #endif
  3940. Syntax error
  3941. _ACEOF
  3942. if ac_fn_c_try_cpp "$LINENO"; then :
  3943. else
  3944. # Broken: fails on valid input.
  3945. continue
  3946. fi
  3947. rm -f conftest.err conftest.i conftest.$ac_ext
  3948. # OK, works on sane cases. Now check whether nonexistent headers
  3949. # can be detected and how.
  3950. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3951. /* end confdefs.h. */
  3952. #include <ac_nonexistent.h>
  3953. _ACEOF
  3954. if ac_fn_c_try_cpp "$LINENO"; then :
  3955. # Broken: success on invalid input.
  3956. continue
  3957. else
  3958. # Passes both tests.
  3959. ac_preproc_ok=:
  3960. break
  3961. fi
  3962. rm -f conftest.err conftest.i conftest.$ac_ext
  3963. done
  3964. # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  3965. rm -f conftest.i conftest.err conftest.$ac_ext
  3966. if $ac_preproc_ok; then :
  3967. break
  3968. fi
  3969. done
  3970. ac_cv_prog_CPP=$CPP
  3971. fi
  3972. CPP=$ac_cv_prog_CPP
  3973. else
  3974. ac_cv_prog_CPP=$CPP
  3975. fi
  3976. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
  3977. $as_echo "$CPP" >&6; }
  3978. ac_preproc_ok=false
  3979. for ac_c_preproc_warn_flag in '' yes
  3980. do
  3981. # Use a header file that comes with gcc, so configuring glibc
  3982. # with a fresh cross-compiler works.
  3983. # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  3984. # <limits.h> exists even on freestanding compilers.
  3985. # On the NeXT, cc -E runs the code through the compiler's parser,
  3986. # not just through cpp. "Syntax error" is here to catch this case.
  3987. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3988. /* end confdefs.h. */
  3989. #ifdef __STDC__
  3990. # include <limits.h>
  3991. #else
  3992. # include <assert.h>
  3993. #endif
  3994. Syntax error
  3995. _ACEOF
  3996. if ac_fn_c_try_cpp "$LINENO"; then :
  3997. else
  3998. # Broken: fails on valid input.
  3999. continue
  4000. fi
  4001. rm -f conftest.err conftest.i conftest.$ac_ext
  4002. # OK, works on sane cases. Now check whether nonexistent headers
  4003. # can be detected and how.
  4004. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4005. /* end confdefs.h. */
  4006. #include <ac_nonexistent.h>
  4007. _ACEOF
  4008. if ac_fn_c_try_cpp "$LINENO"; then :
  4009. # Broken: success on invalid input.
  4010. continue
  4011. else
  4012. # Passes both tests.
  4013. ac_preproc_ok=:
  4014. break
  4015. fi
  4016. rm -f conftest.err conftest.i conftest.$ac_ext
  4017. done
  4018. # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  4019. rm -f conftest.i conftest.err conftest.$ac_ext
  4020. if $ac_preproc_ok; then :
  4021. else
  4022. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  4023. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  4024. as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
  4025. See \`config.log' for more details" "$LINENO" 5; }
  4026. fi
  4027. ac_ext=c
  4028. ac_cpp='$CPP $CPPFLAGS'
  4029. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4030. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4031. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  4032. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
  4033. $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
  4034. if ${ac_cv_path_GREP+:} false; then :
  4035. $as_echo_n "(cached) " >&6
  4036. else
  4037. if test -z "$GREP"; then
  4038. ac_path_GREP_found=false
  4039. # Loop through the user's path and test for each of PROGNAME-LIST
  4040. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4041. for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  4042. do
  4043. IFS=$as_save_IFS
  4044. test -z "$as_dir" && as_dir=.
  4045. for ac_prog in grep ggrep; do
  4046. for ac_exec_ext in '' $ac_executable_extensions; do
  4047. ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
  4048. as_fn_executable_p "$ac_path_GREP" || continue
  4049. # Check for GNU ac_path_GREP and select it if it is found.
  4050. # Check for GNU $ac_path_GREP
  4051. case `"$ac_path_GREP" --version 2>&1` in
  4052. *GNU*)
  4053. ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
  4054. *)
  4055. ac_count=0
  4056. $as_echo_n 0123456789 >"conftest.in"
  4057. while :
  4058. do
  4059. cat "conftest.in" "conftest.in" >"conftest.tmp"
  4060. mv "conftest.tmp" "conftest.in"
  4061. cp "conftest.in" "conftest.nl"
  4062. $as_echo 'GREP' >> "conftest.nl"
  4063. "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  4064. diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  4065. as_fn_arith $ac_count + 1 && ac_count=$as_val
  4066. if test $ac_count -gt ${ac_path_GREP_max-0}; then
  4067. # Best one so far, save it but keep looking for a better one
  4068. ac_cv_path_GREP="$ac_path_GREP"
  4069. ac_path_GREP_max=$ac_count
  4070. fi
  4071. # 10*(2^10) chars as input seems more than enough
  4072. test $ac_count -gt 10 && break
  4073. done
  4074. rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  4075. esac
  4076. $ac_path_GREP_found && break 3
  4077. done
  4078. done
  4079. done
  4080. IFS=$as_save_IFS
  4081. if test -z "$ac_cv_path_GREP"; then
  4082. as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  4083. fi
  4084. else
  4085. ac_cv_path_GREP=$GREP
  4086. fi
  4087. fi
  4088. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
  4089. $as_echo "$ac_cv_path_GREP" >&6; }
  4090. GREP="$ac_cv_path_GREP"
  4091. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
  4092. $as_echo_n "checking for egrep... " >&6; }
  4093. if ${ac_cv_path_EGREP+:} false; then :
  4094. $as_echo_n "(cached) " >&6
  4095. else
  4096. if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
  4097. then ac_cv_path_EGREP="$GREP -E"
  4098. else
  4099. if test -z "$EGREP"; then
  4100. ac_path_EGREP_found=false
  4101. # Loop through the user's path and test for each of PROGNAME-LIST
  4102. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4103. for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  4104. do
  4105. IFS=$as_save_IFS
  4106. test -z "$as_dir" && as_dir=.
  4107. for ac_prog in egrep; do
  4108. for ac_exec_ext in '' $ac_executable_extensions; do
  4109. ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
  4110. as_fn_executable_p "$ac_path_EGREP" || continue
  4111. # Check for GNU ac_path_EGREP and select it if it is found.
  4112. # Check for GNU $ac_path_EGREP
  4113. case `"$ac_path_EGREP" --version 2>&1` in
  4114. *GNU*)
  4115. ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
  4116. *)
  4117. ac_count=0
  4118. $as_echo_n 0123456789 >"conftest.in"
  4119. while :
  4120. do
  4121. cat "conftest.in" "conftest.in" >"conftest.tmp"
  4122. mv "conftest.tmp" "conftest.in"
  4123. cp "conftest.in" "conftest.nl"
  4124. $as_echo 'EGREP' >> "conftest.nl"
  4125. "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  4126. diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  4127. as_fn_arith $ac_count + 1 && ac_count=$as_val
  4128. if test $ac_count -gt ${ac_path_EGREP_max-0}; then
  4129. # Best one so far, save it but keep looking for a better one
  4130. ac_cv_path_EGREP="$ac_path_EGREP"
  4131. ac_path_EGREP_max=$ac_count
  4132. fi
  4133. # 10*(2^10) chars as input seems more than enough
  4134. test $ac_count -gt 10 && break
  4135. done
  4136. rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  4137. esac
  4138. $ac_path_EGREP_found && break 3
  4139. done
  4140. done
  4141. done
  4142. IFS=$as_save_IFS
  4143. if test -z "$ac_cv_path_EGREP"; then
  4144. as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  4145. fi
  4146. else
  4147. ac_cv_path_EGREP=$EGREP
  4148. fi
  4149. fi
  4150. fi
  4151. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
  4152. $as_echo "$ac_cv_path_EGREP" >&6; }
  4153. EGREP="$ac_cv_path_EGREP"
  4154. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
  4155. $as_echo_n "checking for ANSI C header files... " >&6; }
  4156. if ${ac_cv_header_stdc+:} false; then :
  4157. $as_echo_n "(cached) " >&6
  4158. else
  4159. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4160. /* end confdefs.h. */
  4161. #include <stdlib.h>
  4162. #include <stdarg.h>
  4163. #include <string.h>
  4164. #include <float.h>
  4165. int
  4166. main ()
  4167. {
  4168. ;
  4169. return 0;
  4170. }
  4171. _ACEOF
  4172. if ac_fn_c_try_compile "$LINENO"; then :
  4173. ac_cv_header_stdc=yes
  4174. else
  4175. ac_cv_header_stdc=no
  4176. fi
  4177. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4178. if test $ac_cv_header_stdc = yes; then
  4179. # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  4180. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4181. /* end confdefs.h. */
  4182. #include <string.h>
  4183. _ACEOF
  4184. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  4185. $EGREP "memchr" >/dev/null 2>&1; then :
  4186. else
  4187. ac_cv_header_stdc=no
  4188. fi
  4189. rm -f conftest*
  4190. fi
  4191. if test $ac_cv_header_stdc = yes; then
  4192. # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  4193. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4194. /* end confdefs.h. */
  4195. #include <stdlib.h>
  4196. _ACEOF
  4197. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  4198. $EGREP "free" >/dev/null 2>&1; then :
  4199. else
  4200. ac_cv_header_stdc=no
  4201. fi
  4202. rm -f conftest*
  4203. fi
  4204. if test $ac_cv_header_stdc = yes; then
  4205. # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  4206. if test "$cross_compiling" = yes; then :
  4207. :
  4208. else
  4209. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4210. /* end confdefs.h. */
  4211. #include <ctype.h>
  4212. #include <stdlib.h>
  4213. #if ((' ' & 0x0FF) == 0x020)
  4214. # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  4215. # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  4216. #else
  4217. # define ISLOWER(c) \
  4218. (('a' <= (c) && (c) <= 'i') \
  4219. || ('j' <= (c) && (c) <= 'r') \
  4220. || ('s' <= (c) && (c) <= 'z'))
  4221. # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
  4222. #endif
  4223. #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  4224. int
  4225. main ()
  4226. {
  4227. int i;
  4228. for (i = 0; i < 256; i++)
  4229. if (XOR (islower (i), ISLOWER (i))
  4230. || toupper (i) != TOUPPER (i))
  4231. return 2;
  4232. return 0;
  4233. }
  4234. _ACEOF
  4235. if ac_fn_c_try_run "$LINENO"; then :
  4236. else
  4237. ac_cv_header_stdc=no
  4238. fi
  4239. rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  4240. conftest.$ac_objext conftest.beam conftest.$ac_ext
  4241. fi
  4242. fi
  4243. fi
  4244. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
  4245. $as_echo "$ac_cv_header_stdc" >&6; }
  4246. if test $ac_cv_header_stdc = yes; then
  4247. $as_echo "#define STDC_HEADERS 1" >>confdefs.h
  4248. fi
  4249. # On IRIX 5.3, sys/types and inttypes.h are conflicting.
  4250. for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
  4251. inttypes.h stdint.h unistd.h
  4252. do :
  4253. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  4254. ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
  4255. "
  4256. if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
  4257. cat >>confdefs.h <<_ACEOF
  4258. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  4259. _ACEOF
  4260. fi
  4261. done
  4262. ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
  4263. if test "x$ac_cv_header_minix_config_h" = xyes; then :
  4264. MINIX=yes
  4265. else
  4266. MINIX=
  4267. fi
  4268. if test "$MINIX" = yes; then
  4269. $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
  4270. $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
  4271. $as_echo "#define _MINIX 1" >>confdefs.h
  4272. fi
  4273. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
  4274. $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
  4275. if ${ac_cv_safe_to_define___extensions__+:} false; then :
  4276. $as_echo_n "(cached) " >&6
  4277. else
  4278. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4279. /* end confdefs.h. */
  4280. # define __EXTENSIONS__ 1
  4281. $ac_includes_default
  4282. int
  4283. main ()
  4284. {
  4285. ;
  4286. return 0;
  4287. }
  4288. _ACEOF
  4289. if ac_fn_c_try_compile "$LINENO"; then :
  4290. ac_cv_safe_to_define___extensions__=yes
  4291. else
  4292. ac_cv_safe_to_define___extensions__=no
  4293. fi
  4294. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4295. fi
  4296. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
  4297. $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
  4298. test $ac_cv_safe_to_define___extensions__ = yes &&
  4299. $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
  4300. $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
  4301. $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
  4302. $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
  4303. $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
  4304. if test -n "$ac_tool_prefix"; then
  4305. # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
  4306. set dummy ${ac_tool_prefix}ar; ac_word=$2
  4307. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4308. $as_echo_n "checking for $ac_word... " >&6; }
  4309. if ${ac_cv_prog_AR+:} false; then :
  4310. $as_echo_n "(cached) " >&6
  4311. else
  4312. if test -n "$AR"; then
  4313. ac_cv_prog_AR="$AR" # Let the user override the test.
  4314. else
  4315. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4316. for as_dir in $PATH
  4317. do
  4318. IFS=$as_save_IFS
  4319. test -z "$as_dir" && as_dir=.
  4320. for ac_exec_ext in '' $ac_executable_extensions; do
  4321. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4322. ac_cv_prog_AR="${ac_tool_prefix}ar"
  4323. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4324. break 2
  4325. fi
  4326. done
  4327. done
  4328. IFS=$as_save_IFS
  4329. fi
  4330. fi
  4331. AR=$ac_cv_prog_AR
  4332. if test -n "$AR"; then
  4333. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
  4334. $as_echo "$AR" >&6; }
  4335. else
  4336. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4337. $as_echo "no" >&6; }
  4338. fi
  4339. fi
  4340. if test -z "$ac_cv_prog_AR"; then
  4341. ac_ct_AR=$AR
  4342. # Extract the first word of "ar", so it can be a program name with args.
  4343. set dummy ar; ac_word=$2
  4344. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4345. $as_echo_n "checking for $ac_word... " >&6; }
  4346. if ${ac_cv_prog_ac_ct_AR+:} false; then :
  4347. $as_echo_n "(cached) " >&6
  4348. else
  4349. if test -n "$ac_ct_AR"; then
  4350. ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
  4351. else
  4352. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4353. for as_dir in $PATH
  4354. do
  4355. IFS=$as_save_IFS
  4356. test -z "$as_dir" && as_dir=.
  4357. for ac_exec_ext in '' $ac_executable_extensions; do
  4358. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4359. ac_cv_prog_ac_ct_AR="ar"
  4360. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4361. break 2
  4362. fi
  4363. done
  4364. done
  4365. IFS=$as_save_IFS
  4366. fi
  4367. fi
  4368. ac_ct_AR=$ac_cv_prog_ac_ct_AR
  4369. if test -n "$ac_ct_AR"; then
  4370. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
  4371. $as_echo "$ac_ct_AR" >&6; }
  4372. else
  4373. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4374. $as_echo "no" >&6; }
  4375. fi
  4376. if test "x$ac_ct_AR" = x; then
  4377. AR=""
  4378. else
  4379. case $cross_compiling:$ac_tool_warned in
  4380. yes:)
  4381. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  4382. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  4383. ac_tool_warned=yes ;;
  4384. esac
  4385. AR=$ac_ct_AR
  4386. fi
  4387. else
  4388. AR="$ac_cv_prog_AR"
  4389. fi
  4390. if test -n "$ac_tool_prefix"; then
  4391. # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
  4392. set dummy ${ac_tool_prefix}ranlib; ac_word=$2
  4393. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4394. $as_echo_n "checking for $ac_word... " >&6; }
  4395. if ${ac_cv_prog_RANLIB+:} false; then :
  4396. $as_echo_n "(cached) " >&6
  4397. else
  4398. if test -n "$RANLIB"; then
  4399. ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
  4400. else
  4401. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4402. for as_dir in $PATH
  4403. do
  4404. IFS=$as_save_IFS
  4405. test -z "$as_dir" && as_dir=.
  4406. for ac_exec_ext in '' $ac_executable_extensions; do
  4407. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4408. ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
  4409. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4410. break 2
  4411. fi
  4412. done
  4413. done
  4414. IFS=$as_save_IFS
  4415. fi
  4416. fi
  4417. RANLIB=$ac_cv_prog_RANLIB
  4418. if test -n "$RANLIB"; then
  4419. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
  4420. $as_echo "$RANLIB" >&6; }
  4421. else
  4422. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4423. $as_echo "no" >&6; }
  4424. fi
  4425. fi
  4426. if test -z "$ac_cv_prog_RANLIB"; then
  4427. ac_ct_RANLIB=$RANLIB
  4428. # Extract the first word of "ranlib", so it can be a program name with args.
  4429. set dummy ranlib; ac_word=$2
  4430. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4431. $as_echo_n "checking for $ac_word... " >&6; }
  4432. if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
  4433. $as_echo_n "(cached) " >&6
  4434. else
  4435. if test -n "$ac_ct_RANLIB"; then
  4436. ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
  4437. else
  4438. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4439. for as_dir in $PATH
  4440. do
  4441. IFS=$as_save_IFS
  4442. test -z "$as_dir" && as_dir=.
  4443. for ac_exec_ext in '' $ac_executable_extensions; do
  4444. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4445. ac_cv_prog_ac_ct_RANLIB="ranlib"
  4446. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4447. break 2
  4448. fi
  4449. done
  4450. done
  4451. IFS=$as_save_IFS
  4452. fi
  4453. fi
  4454. ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
  4455. if test -n "$ac_ct_RANLIB"; then
  4456. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
  4457. $as_echo "$ac_ct_RANLIB" >&6; }
  4458. else
  4459. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4460. $as_echo "no" >&6; }
  4461. fi
  4462. if test "x$ac_ct_RANLIB" = x; then
  4463. RANLIB=":"
  4464. else
  4465. case $cross_compiling:$ac_tool_warned in
  4466. yes:)
  4467. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  4468. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  4469. ac_tool_warned=yes ;;
  4470. esac
  4471. RANLIB=$ac_ct_RANLIB
  4472. fi
  4473. else
  4474. RANLIB="$ac_cv_prog_RANLIB"
  4475. fi
  4476. # Check whether --enable-shared was given.
  4477. if test "${enable_shared+set}" = set; then :
  4478. enableval=$enable_shared; p=${PACKAGE-default}
  4479. case $enableval in
  4480. yes) enable_shared=yes ;;
  4481. no) enable_shared=no ;;
  4482. *)
  4483. enable_shared=no
  4484. # Look at the argument we got. We use all the common list separators.
  4485. lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  4486. for pkg in $enableval; do
  4487. IFS="$lt_save_ifs"
  4488. if test "X$pkg" = "X$p"; then
  4489. enable_shared=yes
  4490. fi
  4491. done
  4492. IFS="$lt_save_ifs"
  4493. ;;
  4494. esac
  4495. else
  4496. enable_shared=no
  4497. fi
  4498. case `pwd` in
  4499. *\ * | *\ *)
  4500. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
  4501. $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
  4502. esac
  4503. macro_version='2.2.7a'
  4504. macro_revision='1.3134'
  4505. ltmain="$ac_aux_dir/ltmain.sh"
  4506. # Backslashify metacharacters that are still active within
  4507. # double-quoted strings.
  4508. sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
  4509. # Same as above, but do not quote variable references.
  4510. double_quote_subst='s/\(["`\\]\)/\\\1/g'
  4511. # Sed substitution to delay expansion of an escaped shell variable in a
  4512. # double_quote_subst'ed string.
  4513. delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
  4514. # Sed substitution to delay expansion of an escaped single quote.
  4515. delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
  4516. # Sed substitution to avoid accidental globbing in evaled expressions
  4517. no_glob_subst='s/\*/\\\*/g'
  4518. ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  4519. ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
  4520. ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
  4521. { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
  4522. $as_echo_n "checking how to print strings... " >&6; }
  4523. # Test print first, because it will be a builtin if present.
  4524. if test "X`print -r -- -n 2>/dev/null`" = X-n && \
  4525. test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
  4526. ECHO='print -r --'
  4527. elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
  4528. ECHO='printf %s\n'
  4529. else
  4530. # Use this function as a fallback that always works.
  4531. func_fallback_echo ()
  4532. {
  4533. eval 'cat <<_LTECHO_EOF
  4534. $1
  4535. _LTECHO_EOF'
  4536. }
  4537. ECHO='func_fallback_echo'
  4538. fi
  4539. # func_echo_all arg...
  4540. # Invoke $ECHO with all args, space-separated.
  4541. func_echo_all ()
  4542. {
  4543. $ECHO ""
  4544. }
  4545. case "$ECHO" in
  4546. printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
  4547. $as_echo "printf" >&6; } ;;
  4548. print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
  4549. $as_echo "print -r" >&6; } ;;
  4550. *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
  4551. $as_echo "cat" >&6; } ;;
  4552. esac
  4553. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
  4554. $as_echo_n "checking for a sed that does not truncate output... " >&6; }
  4555. if ${ac_cv_path_SED+:} false; then :
  4556. $as_echo_n "(cached) " >&6
  4557. else
  4558. ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
  4559. for ac_i in 1 2 3 4 5 6 7; do
  4560. ac_script="$ac_script$as_nl$ac_script"
  4561. done
  4562. echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
  4563. { ac_script=; unset ac_script;}
  4564. if test -z "$SED"; then
  4565. ac_path_SED_found=false
  4566. # Loop through the user's path and test for each of PROGNAME-LIST
  4567. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4568. for as_dir in $PATH
  4569. do
  4570. IFS=$as_save_IFS
  4571. test -z "$as_dir" && as_dir=.
  4572. for ac_prog in sed gsed; do
  4573. for ac_exec_ext in '' $ac_executable_extensions; do
  4574. ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
  4575. as_fn_executable_p "$ac_path_SED" || continue
  4576. # Check for GNU ac_path_SED and select it if it is found.
  4577. # Check for GNU $ac_path_SED
  4578. case `"$ac_path_SED" --version 2>&1` in
  4579. *GNU*)
  4580. ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
  4581. *)
  4582. ac_count=0
  4583. $as_echo_n 0123456789 >"conftest.in"
  4584. while :
  4585. do
  4586. cat "conftest.in" "conftest.in" >"conftest.tmp"
  4587. mv "conftest.tmp" "conftest.in"
  4588. cp "conftest.in" "conftest.nl"
  4589. $as_echo '' >> "conftest.nl"
  4590. "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
  4591. diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  4592. as_fn_arith $ac_count + 1 && ac_count=$as_val
  4593. if test $ac_count -gt ${ac_path_SED_max-0}; then
  4594. # Best one so far, save it but keep looking for a better one
  4595. ac_cv_path_SED="$ac_path_SED"
  4596. ac_path_SED_max=$ac_count
  4597. fi
  4598. # 10*(2^10) chars as input seems more than enough
  4599. test $ac_count -gt 10 && break
  4600. done
  4601. rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  4602. esac
  4603. $ac_path_SED_found && break 3
  4604. done
  4605. done
  4606. done
  4607. IFS=$as_save_IFS
  4608. if test -z "$ac_cv_path_SED"; then
  4609. as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
  4610. fi
  4611. else
  4612. ac_cv_path_SED=$SED
  4613. fi
  4614. fi
  4615. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
  4616. $as_echo "$ac_cv_path_SED" >&6; }
  4617. SED="$ac_cv_path_SED"
  4618. rm -f conftest.sed
  4619. test -z "$SED" && SED=sed
  4620. Xsed="$SED -e 1s/^X//"
  4621. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
  4622. $as_echo_n "checking for fgrep... " >&6; }
  4623. if ${ac_cv_path_FGREP+:} false; then :
  4624. $as_echo_n "(cached) " >&6
  4625. else
  4626. if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
  4627. then ac_cv_path_FGREP="$GREP -F"
  4628. else
  4629. if test -z "$FGREP"; then
  4630. ac_path_FGREP_found=false
  4631. # Loop through the user's path and test for each of PROGNAME-LIST
  4632. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4633. for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  4634. do
  4635. IFS=$as_save_IFS
  4636. test -z "$as_dir" && as_dir=.
  4637. for ac_prog in fgrep; do
  4638. for ac_exec_ext in '' $ac_executable_extensions; do
  4639. ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
  4640. as_fn_executable_p "$ac_path_FGREP" || continue
  4641. # Check for GNU ac_path_FGREP and select it if it is found.
  4642. # Check for GNU $ac_path_FGREP
  4643. case `"$ac_path_FGREP" --version 2>&1` in
  4644. *GNU*)
  4645. ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
  4646. *)
  4647. ac_count=0
  4648. $as_echo_n 0123456789 >"conftest.in"
  4649. while :
  4650. do
  4651. cat "conftest.in" "conftest.in" >"conftest.tmp"
  4652. mv "conftest.tmp" "conftest.in"
  4653. cp "conftest.in" "conftest.nl"
  4654. $as_echo 'FGREP' >> "conftest.nl"
  4655. "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
  4656. diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  4657. as_fn_arith $ac_count + 1 && ac_count=$as_val
  4658. if test $ac_count -gt ${ac_path_FGREP_max-0}; then
  4659. # Best one so far, save it but keep looking for a better one
  4660. ac_cv_path_FGREP="$ac_path_FGREP"
  4661. ac_path_FGREP_max=$ac_count
  4662. fi
  4663. # 10*(2^10) chars as input seems more than enough
  4664. test $ac_count -gt 10 && break
  4665. done
  4666. rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  4667. esac
  4668. $ac_path_FGREP_found && break 3
  4669. done
  4670. done
  4671. done
  4672. IFS=$as_save_IFS
  4673. if test -z "$ac_cv_path_FGREP"; then
  4674. as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  4675. fi
  4676. else
  4677. ac_cv_path_FGREP=$FGREP
  4678. fi
  4679. fi
  4680. fi
  4681. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
  4682. $as_echo "$ac_cv_path_FGREP" >&6; }
  4683. FGREP="$ac_cv_path_FGREP"
  4684. test -z "$GREP" && GREP=grep
  4685. # Check whether --with-gnu-ld was given.
  4686. if test "${with_gnu_ld+set}" = set; then :
  4687. withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
  4688. else
  4689. with_gnu_ld=no
  4690. fi
  4691. ac_prog=ld
  4692. if test "$GCC" = yes; then
  4693. # Check if gcc -print-prog-name=ld gives a path.
  4694. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
  4695. $as_echo_n "checking for ld used by $CC... " >&6; }
  4696. case $host in
  4697. *-*-mingw*)
  4698. # gcc leaves a trailing carriage return which upsets mingw
  4699. ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
  4700. *)
  4701. ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
  4702. esac
  4703. case $ac_prog in
  4704. # Accept absolute paths.
  4705. [\\/]* | ?:[\\/]*)
  4706. re_direlt='/[^/][^/]*/\.\./'
  4707. # Canonicalize the pathname of ld
  4708. ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
  4709. while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
  4710. ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
  4711. done
  4712. test -z "$LD" && LD="$ac_prog"
  4713. ;;
  4714. "")
  4715. # If it fails, then pretend we aren't using GCC.
  4716. ac_prog=ld
  4717. ;;
  4718. *)
  4719. # If it is relative, then search for the first ld in PATH.
  4720. with_gnu_ld=unknown
  4721. ;;
  4722. esac
  4723. elif test "$with_gnu_ld" = yes; then
  4724. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
  4725. $as_echo_n "checking for GNU ld... " >&6; }
  4726. else
  4727. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
  4728. $as_echo_n "checking for non-GNU ld... " >&6; }
  4729. fi
  4730. if ${lt_cv_path_LD+:} false; then :
  4731. $as_echo_n "(cached) " >&6
  4732. else
  4733. if test -z "$LD"; then
  4734. lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  4735. for ac_dir in $PATH; do
  4736. IFS="$lt_save_ifs"
  4737. test -z "$ac_dir" && ac_dir=.
  4738. if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
  4739. lt_cv_path_LD="$ac_dir/$ac_prog"
  4740. # Check to see if the program is GNU ld. I'd rather use --version,
  4741. # but apparently some variants of GNU ld only accept -v.
  4742. # Break only if it was the GNU/non-GNU ld that we prefer.
  4743. case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
  4744. *GNU* | *'with BFD'*)
  4745. test "$with_gnu_ld" != no && break
  4746. ;;
  4747. *)
  4748. test "$with_gnu_ld" != yes && break
  4749. ;;
  4750. esac
  4751. fi
  4752. done
  4753. IFS="$lt_save_ifs"
  4754. else
  4755. lt_cv_path_LD="$LD" # Let the user override the test with a path.
  4756. fi
  4757. fi
  4758. LD="$lt_cv_path_LD"
  4759. if test -n "$LD"; then
  4760. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
  4761. $as_echo "$LD" >&6; }
  4762. else
  4763. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4764. $as_echo "no" >&6; }
  4765. fi
  4766. test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
  4767. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
  4768. $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
  4769. if ${lt_cv_prog_gnu_ld+:} false; then :
  4770. $as_echo_n "(cached) " >&6
  4771. else
  4772. # I'd rather use --version here, but apparently some GNU lds only accept -v.
  4773. case `$LD -v 2>&1 </dev/null` in
  4774. *GNU* | *'with BFD'*)
  4775. lt_cv_prog_gnu_ld=yes
  4776. ;;
  4777. *)
  4778. lt_cv_prog_gnu_ld=no
  4779. ;;
  4780. esac
  4781. fi
  4782. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
  4783. $as_echo "$lt_cv_prog_gnu_ld" >&6; }
  4784. with_gnu_ld=$lt_cv_prog_gnu_ld
  4785. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
  4786. $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
  4787. if ${lt_cv_path_NM+:} false; then :
  4788. $as_echo_n "(cached) " >&6
  4789. else
  4790. if test -n "$NM"; then
  4791. # Let the user override the nm to test.
  4792. lt_nm_to_check="$NM"
  4793. else
  4794. lt_nm_to_check="${ac_tool_prefix}nm"
  4795. if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
  4796. lt_nm_to_check="$lt_nm_to_check nm"
  4797. fi
  4798. fi
  4799. for lt_tmp_nm in "$lt_nm_to_check"; do
  4800. lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  4801. for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
  4802. IFS="$lt_save_ifs"
  4803. test -z "$ac_dir" && ac_dir=.
  4804. # Strip out any user-provided options from the nm to test twice,
  4805. # the first time to test to see if nm (rather than its options) has
  4806. # an explicit path, the second time to yield a file which can be
  4807. # nm'ed itself.
  4808. tmp_nm_path="`$ECHO "$lt_tmp_nm" | sed 's, -.*$,,'`"
  4809. case "$tmp_nm_path" in
  4810. */*|*\\*) tmp_nm="$lt_tmp_nm";;
  4811. *) tmp_nm="$ac_dir/$lt_tmp_nm";;
  4812. esac
  4813. tmp_nm_to_nm="`$ECHO "$tmp_nm" | sed 's, -.*$,,'`"
  4814. if test -f "$tmp_nm_to_nm" || test -f "$tmp_nm_to_nm$ac_exeext" ; then
  4815. # Check to see if the nm accepts a BSD-compat flag.
  4816. # Adding the `sed 1q' prevents false positives on HP-UX, which says:
  4817. # nm: unknown option "B" ignored
  4818. case `"$tmp_nm" -B "$tmp_nm_to_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
  4819. *$tmp_nm*) lt_cv_path_NM="$tmp_nm -B"
  4820. break
  4821. ;;
  4822. *)
  4823. case `"$tmp_nm" -p "$tmp_nm_to_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
  4824. *$tmp_nm*)
  4825. lt_cv_path_NM="$tmp_nm -p"
  4826. break
  4827. ;;
  4828. *)
  4829. lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
  4830. continue # so that we can try to find one that supports BSD flags
  4831. ;;
  4832. esac
  4833. ;;
  4834. esac
  4835. fi
  4836. done
  4837. IFS="$lt_save_ifs"
  4838. done
  4839. : ${lt_cv_path_NM=no}
  4840. fi
  4841. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
  4842. $as_echo "$lt_cv_path_NM" >&6; }
  4843. if test "$lt_cv_path_NM" != "no"; then
  4844. NM="$lt_cv_path_NM"
  4845. else
  4846. # Didn't find any BSD compatible name lister, look for dumpbin.
  4847. if test -n "$DUMPBIN"; then :
  4848. # Let the user override the test.
  4849. else
  4850. if test -n "$ac_tool_prefix"; then
  4851. for ac_prog in dumpbin "link -dump"
  4852. do
  4853. # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  4854. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  4855. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4856. $as_echo_n "checking for $ac_word... " >&6; }
  4857. if ${ac_cv_prog_DUMPBIN+:} false; then :
  4858. $as_echo_n "(cached) " >&6
  4859. else
  4860. if test -n "$DUMPBIN"; then
  4861. ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
  4862. else
  4863. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4864. for as_dir in $PATH
  4865. do
  4866. IFS=$as_save_IFS
  4867. test -z "$as_dir" && as_dir=.
  4868. for ac_exec_ext in '' $ac_executable_extensions; do
  4869. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4870. ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
  4871. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4872. break 2
  4873. fi
  4874. done
  4875. done
  4876. IFS=$as_save_IFS
  4877. fi
  4878. fi
  4879. DUMPBIN=$ac_cv_prog_DUMPBIN
  4880. if test -n "$DUMPBIN"; then
  4881. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
  4882. $as_echo "$DUMPBIN" >&6; }
  4883. else
  4884. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4885. $as_echo "no" >&6; }
  4886. fi
  4887. test -n "$DUMPBIN" && break
  4888. done
  4889. fi
  4890. if test -z "$DUMPBIN"; then
  4891. ac_ct_DUMPBIN=$DUMPBIN
  4892. for ac_prog in dumpbin "link -dump"
  4893. do
  4894. # Extract the first word of "$ac_prog", so it can be a program name with args.
  4895. set dummy $ac_prog; ac_word=$2
  4896. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4897. $as_echo_n "checking for $ac_word... " >&6; }
  4898. if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
  4899. $as_echo_n "(cached) " >&6
  4900. else
  4901. if test -n "$ac_ct_DUMPBIN"; then
  4902. ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
  4903. else
  4904. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4905. for as_dir in $PATH
  4906. do
  4907. IFS=$as_save_IFS
  4908. test -z "$as_dir" && as_dir=.
  4909. for ac_exec_ext in '' $ac_executable_extensions; do
  4910. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4911. ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
  4912. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4913. break 2
  4914. fi
  4915. done
  4916. done
  4917. IFS=$as_save_IFS
  4918. fi
  4919. fi
  4920. ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
  4921. if test -n "$ac_ct_DUMPBIN"; then
  4922. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
  4923. $as_echo "$ac_ct_DUMPBIN" >&6; }
  4924. else
  4925. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4926. $as_echo "no" >&6; }
  4927. fi
  4928. test -n "$ac_ct_DUMPBIN" && break
  4929. done
  4930. if test "x$ac_ct_DUMPBIN" = x; then
  4931. DUMPBIN=":"
  4932. else
  4933. case $cross_compiling:$ac_tool_warned in
  4934. yes:)
  4935. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  4936. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  4937. ac_tool_warned=yes ;;
  4938. esac
  4939. DUMPBIN=$ac_ct_DUMPBIN
  4940. fi
  4941. fi
  4942. case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
  4943. *COFF*)
  4944. DUMPBIN="$DUMPBIN -symbols"
  4945. ;;
  4946. *)
  4947. DUMPBIN=:
  4948. ;;
  4949. esac
  4950. fi
  4951. if test "$DUMPBIN" != ":"; then
  4952. NM="$DUMPBIN"
  4953. fi
  4954. fi
  4955. test -z "$NM" && NM=nm
  4956. { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
  4957. $as_echo_n "checking the name lister ($NM) interface... " >&6; }
  4958. if ${lt_cv_nm_interface+:} false; then :
  4959. $as_echo_n "(cached) " >&6
  4960. else
  4961. lt_cv_nm_interface="BSD nm"
  4962. echo "int some_variable = 0;" > conftest.$ac_ext
  4963. (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
  4964. (eval "$ac_compile" 2>conftest.err)
  4965. cat conftest.err >&5
  4966. (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
  4967. (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
  4968. cat conftest.err >&5
  4969. (eval echo "\"\$as_me:$LINENO: output\"" >&5)
  4970. cat conftest.out >&5
  4971. if $GREP 'External.*some_variable' conftest.out > /dev/null; then
  4972. lt_cv_nm_interface="MS dumpbin"
  4973. fi
  4974. rm -f conftest*
  4975. fi
  4976. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
  4977. $as_echo "$lt_cv_nm_interface" >&6; }
  4978. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
  4979. $as_echo_n "checking whether ln -s works... " >&6; }
  4980. LN_S=$as_ln_s
  4981. if test "$LN_S" = "ln -s"; then
  4982. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  4983. $as_echo "yes" >&6; }
  4984. else
  4985. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
  4986. $as_echo "no, using $LN_S" >&6; }
  4987. fi
  4988. # find the maximum length of command line arguments
  4989. { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
  4990. $as_echo_n "checking the maximum length of command line arguments... " >&6; }
  4991. if ${lt_cv_sys_max_cmd_len+:} false; then :
  4992. $as_echo_n "(cached) " >&6
  4993. else
  4994. i=0
  4995. teststring="ABCD"
  4996. case $build_os in
  4997. msdosdjgpp*)
  4998. # On DJGPP, this test can blow up pretty badly due to problems in libc
  4999. # (any single argument exceeding 2000 bytes causes a buffer overrun
  5000. # during glob expansion). Even if it were fixed, the result of this
  5001. # check would be larger than it should be.
  5002. lt_cv_sys_max_cmd_len=12288; # 12K is about right
  5003. ;;
  5004. gnu*)
  5005. # Under GNU Hurd, this test is not required because there is
  5006. # no limit to the length of command line arguments.
  5007. # Libtool will interpret -1 as no limit whatsoever
  5008. lt_cv_sys_max_cmd_len=-1;
  5009. ;;
  5010. cygwin* | mingw* | cegcc*)
  5011. # On Win9x/ME, this test blows up -- it succeeds, but takes
  5012. # about 5 minutes as the teststring grows exponentially.
  5013. # Worse, since 9x/ME are not pre-emptively multitasking,
  5014. # you end up with a "frozen" computer, even though with patience
  5015. # the test eventually succeeds (with a max line length of 256k).
  5016. # Instead, let's just punt: use the minimum linelength reported by
  5017. # all of the supported platforms: 8192 (on NT/2K/XP).
  5018. lt_cv_sys_max_cmd_len=8192;
  5019. ;;
  5020. mint*)
  5021. # On MiNT this can take a long time and run out of memory.
  5022. lt_cv_sys_max_cmd_len=8192;
  5023. ;;
  5024. amigaos*)
  5025. # On AmigaOS with pdksh, this test takes hours, literally.
  5026. # So we just punt and use a minimum line length of 8192.
  5027. lt_cv_sys_max_cmd_len=8192;
  5028. ;;
  5029. netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
  5030. # This has been around since 386BSD, at least. Likely further.
  5031. if test -x /sbin/sysctl; then
  5032. lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
  5033. elif test -x /usr/sbin/sysctl; then
  5034. lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
  5035. else
  5036. lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
  5037. fi
  5038. # And add a safety zone
  5039. lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
  5040. lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
  5041. ;;
  5042. interix*)
  5043. # We know the value 262144 and hardcode it with a safety zone (like BSD)
  5044. lt_cv_sys_max_cmd_len=196608
  5045. ;;
  5046. osf*)
  5047. # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
  5048. # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
  5049. # nice to cause kernel panics so lets avoid the loop below.
  5050. # First set a reasonable default.
  5051. lt_cv_sys_max_cmd_len=16384
  5052. #
  5053. if test -x /sbin/sysconfig; then
  5054. case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
  5055. *1*) lt_cv_sys_max_cmd_len=-1 ;;
  5056. esac
  5057. fi
  5058. ;;
  5059. sco3.2v5*)
  5060. lt_cv_sys_max_cmd_len=102400
  5061. ;;
  5062. sysv5* | sco5v6* | sysv4.2uw2*)
  5063. kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
  5064. if test -n "$kargmax"; then
  5065. lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
  5066. else
  5067. lt_cv_sys_max_cmd_len=32768
  5068. fi
  5069. ;;
  5070. *)
  5071. lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
  5072. if test -n "$lt_cv_sys_max_cmd_len"; then
  5073. lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
  5074. lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
  5075. else
  5076. # Make teststring a little bigger before we do anything with it.
  5077. # a 1K string should be a reasonable start.
  5078. for i in 1 2 3 4 5 6 7 8 ; do
  5079. teststring=$teststring$teststring
  5080. done
  5081. SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
  5082. # If test is not a shell built-in, we'll probably end up computing a
  5083. # maximum length that is only half of the actual maximum length, but
  5084. # we can't tell.
  5085. while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
  5086. = "X$teststring$teststring"; } >/dev/null 2>&1 &&
  5087. test $i != 17 # 1/2 MB should be enough
  5088. do
  5089. i=`expr $i + 1`
  5090. teststring=$teststring$teststring
  5091. done
  5092. # Only check the string length outside the loop.
  5093. lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
  5094. teststring=
  5095. # Add a significant safety factor because C++ compilers can tack on
  5096. # massive amounts of additional arguments before passing them to the
  5097. # linker. It appears as though 1/2 is a usable value.
  5098. lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
  5099. fi
  5100. ;;
  5101. esac
  5102. fi
  5103. if test -n $lt_cv_sys_max_cmd_len ; then
  5104. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
  5105. $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
  5106. else
  5107. { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
  5108. $as_echo "none" >&6; }
  5109. fi
  5110. max_cmd_len=$lt_cv_sys_max_cmd_len
  5111. : ${CP="cp -f"}
  5112. : ${MV="mv -f"}
  5113. : ${RM="rm -f"}
  5114. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
  5115. $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
  5116. # Try some XSI features
  5117. xsi_shell=no
  5118. ( _lt_dummy="a/b/c"
  5119. test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
  5120. = c,a/b,, \
  5121. && eval 'test $(( 1 + 1 )) -eq 2 \
  5122. && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
  5123. && xsi_shell=yes
  5124. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
  5125. $as_echo "$xsi_shell" >&6; }
  5126. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
  5127. $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
  5128. lt_shell_append=no
  5129. ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
  5130. >/dev/null 2>&1 \
  5131. && lt_shell_append=yes
  5132. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
  5133. $as_echo "$lt_shell_append" >&6; }
  5134. if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
  5135. lt_unset=unset
  5136. else
  5137. lt_unset=false
  5138. fi
  5139. # test EBCDIC or ASCII
  5140. case `echo X|tr X '\101'` in
  5141. A) # ASCII based system
  5142. # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
  5143. lt_SP2NL='tr \040 \012'
  5144. lt_NL2SP='tr \015\012 \040\040'
  5145. ;;
  5146. *) # EBCDIC based system
  5147. lt_SP2NL='tr \100 \n'
  5148. lt_NL2SP='tr \r\n \100\100'
  5149. ;;
  5150. esac
  5151. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
  5152. $as_echo_n "checking for $LD option to reload object files... " >&6; }
  5153. if ${lt_cv_ld_reload_flag+:} false; then :
  5154. $as_echo_n "(cached) " >&6
  5155. else
  5156. lt_cv_ld_reload_flag='-r'
  5157. fi
  5158. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
  5159. $as_echo "$lt_cv_ld_reload_flag" >&6; }
  5160. reload_flag=$lt_cv_ld_reload_flag
  5161. case $reload_flag in
  5162. "" | " "*) ;;
  5163. *) reload_flag=" $reload_flag" ;;
  5164. esac
  5165. reload_cmds='$LD$reload_flag -o $output$reload_objs'
  5166. case $host_os in
  5167. darwin*)
  5168. if test "$GCC" = yes; then
  5169. reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
  5170. else
  5171. reload_cmds='$LD$reload_flag -o $output$reload_objs'
  5172. fi
  5173. ;;
  5174. esac
  5175. if test -n "$ac_tool_prefix"; then
  5176. # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
  5177. set dummy ${ac_tool_prefix}objdump; ac_word=$2
  5178. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5179. $as_echo_n "checking for $ac_word... " >&6; }
  5180. if ${ac_cv_prog_OBJDUMP+:} false; then :
  5181. $as_echo_n "(cached) " >&6
  5182. else
  5183. if test -n "$OBJDUMP"; then
  5184. ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
  5185. else
  5186. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5187. for as_dir in $PATH
  5188. do
  5189. IFS=$as_save_IFS
  5190. test -z "$as_dir" && as_dir=.
  5191. for ac_exec_ext in '' $ac_executable_extensions; do
  5192. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5193. ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
  5194. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5195. break 2
  5196. fi
  5197. done
  5198. done
  5199. IFS=$as_save_IFS
  5200. fi
  5201. fi
  5202. OBJDUMP=$ac_cv_prog_OBJDUMP
  5203. if test -n "$OBJDUMP"; then
  5204. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
  5205. $as_echo "$OBJDUMP" >&6; }
  5206. else
  5207. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5208. $as_echo "no" >&6; }
  5209. fi
  5210. fi
  5211. if test -z "$ac_cv_prog_OBJDUMP"; then
  5212. ac_ct_OBJDUMP=$OBJDUMP
  5213. # Extract the first word of "objdump", so it can be a program name with args.
  5214. set dummy objdump; ac_word=$2
  5215. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5216. $as_echo_n "checking for $ac_word... " >&6; }
  5217. if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
  5218. $as_echo_n "(cached) " >&6
  5219. else
  5220. if test -n "$ac_ct_OBJDUMP"; then
  5221. ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
  5222. else
  5223. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5224. for as_dir in $PATH
  5225. do
  5226. IFS=$as_save_IFS
  5227. test -z "$as_dir" && as_dir=.
  5228. for ac_exec_ext in '' $ac_executable_extensions; do
  5229. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5230. ac_cv_prog_ac_ct_OBJDUMP="objdump"
  5231. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5232. break 2
  5233. fi
  5234. done
  5235. done
  5236. IFS=$as_save_IFS
  5237. fi
  5238. fi
  5239. ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
  5240. if test -n "$ac_ct_OBJDUMP"; then
  5241. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
  5242. $as_echo "$ac_ct_OBJDUMP" >&6; }
  5243. else
  5244. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5245. $as_echo "no" >&6; }
  5246. fi
  5247. if test "x$ac_ct_OBJDUMP" = x; then
  5248. OBJDUMP="false"
  5249. else
  5250. case $cross_compiling:$ac_tool_warned in
  5251. yes:)
  5252. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  5253. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  5254. ac_tool_warned=yes ;;
  5255. esac
  5256. OBJDUMP=$ac_ct_OBJDUMP
  5257. fi
  5258. else
  5259. OBJDUMP="$ac_cv_prog_OBJDUMP"
  5260. fi
  5261. test -z "$OBJDUMP" && OBJDUMP=objdump
  5262. { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
  5263. $as_echo_n "checking how to recognize dependent libraries... " >&6; }
  5264. if ${lt_cv_deplibs_check_method+:} false; then :
  5265. $as_echo_n "(cached) " >&6
  5266. else
  5267. lt_cv_file_magic_cmd='$MAGIC_CMD'
  5268. lt_cv_file_magic_test_file=
  5269. lt_cv_deplibs_check_method='unknown'
  5270. # Need to set the preceding variable on all platforms that support
  5271. # interlibrary dependencies.
  5272. # 'none' -- dependencies not supported.
  5273. # `unknown' -- same as none, but documents that we really don't know.
  5274. # 'pass_all' -- all dependencies passed with no checks.
  5275. # 'test_compile' -- check by making test program.
  5276. # 'file_magic [[regex]]' -- check by looking for files in library path
  5277. # which responds to the $file_magic_cmd with a given extended regex.
  5278. # If you have `file' or equivalent on your system and you're not sure
  5279. # whether `pass_all' will *always* work, you probably want this one.
  5280. case $host_os in
  5281. aix[4-9]*)
  5282. lt_cv_deplibs_check_method=pass_all
  5283. ;;
  5284. beos*)
  5285. lt_cv_deplibs_check_method=pass_all
  5286. ;;
  5287. bsdi[45]*)
  5288. lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
  5289. lt_cv_file_magic_cmd='/usr/bin/file -L'
  5290. lt_cv_file_magic_test_file=/shlib/libc.so
  5291. ;;
  5292. cygwin*)
  5293. # func_win32_libid is a shell function defined in ltmain.sh
  5294. lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
  5295. lt_cv_file_magic_cmd='func_win32_libid'
  5296. ;;
  5297. mingw* | pw32*)
  5298. # Base MSYS/MinGW do not provide the 'file' command needed by
  5299. # func_win32_libid shell function, so use a weaker test based on 'objdump',
  5300. # unless we find 'file', for example because we are cross-compiling.
  5301. # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
  5302. if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
  5303. lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
  5304. lt_cv_file_magic_cmd='func_win32_libid'
  5305. else
  5306. lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
  5307. lt_cv_file_magic_cmd='$OBJDUMP -f'
  5308. fi
  5309. ;;
  5310. cegcc*)
  5311. # use the weaker test based on 'objdump'. See mingw*.
  5312. lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
  5313. lt_cv_file_magic_cmd='$OBJDUMP -f'
  5314. ;;
  5315. darwin* | rhapsody*)
  5316. lt_cv_deplibs_check_method=pass_all
  5317. ;;
  5318. freebsd* | dragonfly*)
  5319. if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
  5320. case $host_cpu in
  5321. i*86 )
  5322. # Not sure whether the presence of OpenBSD here was a mistake.
  5323. # Let's accept both of them until this is cleared up.
  5324. lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
  5325. lt_cv_file_magic_cmd=/usr/bin/file
  5326. lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
  5327. ;;
  5328. esac
  5329. else
  5330. lt_cv_deplibs_check_method=pass_all
  5331. fi
  5332. ;;
  5333. gnu*)
  5334. lt_cv_deplibs_check_method=pass_all
  5335. ;;
  5336. haiku*)
  5337. lt_cv_deplibs_check_method=pass_all
  5338. ;;
  5339. hpux10.20* | hpux11*)
  5340. lt_cv_file_magic_cmd=/usr/bin/file
  5341. case $host_cpu in
  5342. ia64*)
  5343. lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
  5344. lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
  5345. ;;
  5346. hppa*64*)
  5347. lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
  5348. lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
  5349. ;;
  5350. *)
  5351. lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
  5352. lt_cv_file_magic_test_file=/usr/lib/libc.sl
  5353. ;;
  5354. esac
  5355. ;;
  5356. interix[3-9]*)
  5357. # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
  5358. lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
  5359. ;;
  5360. irix5* | irix6* | nonstopux*)
  5361. case $LD in
  5362. *-32|*"-32 ") libmagic=32-bit;;
  5363. *-n32|*"-n32 ") libmagic=N32;;
  5364. *-64|*"-64 ") libmagic=64-bit;;
  5365. *) libmagic=never-match;;
  5366. esac
  5367. lt_cv_deplibs_check_method=pass_all
  5368. ;;
  5369. # This must be Linux ELF.
  5370. linux* | k*bsd*-gnu | kopensolaris*-gnu)
  5371. lt_cv_deplibs_check_method=pass_all
  5372. ;;
  5373. netbsd*)
  5374. if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
  5375. lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
  5376. else
  5377. lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
  5378. fi
  5379. ;;
  5380. newos6*)
  5381. lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
  5382. lt_cv_file_magic_cmd=/usr/bin/file
  5383. lt_cv_file_magic_test_file=/usr/lib/libnls.so
  5384. ;;
  5385. *nto* | *qnx*)
  5386. lt_cv_deplibs_check_method=pass_all
  5387. ;;
  5388. openbsd*)
  5389. if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  5390. lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
  5391. else
  5392. lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
  5393. fi
  5394. ;;
  5395. osf3* | osf4* | osf5*)
  5396. lt_cv_deplibs_check_method=pass_all
  5397. ;;
  5398. rdos*)
  5399. lt_cv_deplibs_check_method=pass_all
  5400. ;;
  5401. solaris*)
  5402. lt_cv_deplibs_check_method=pass_all
  5403. ;;
  5404. sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  5405. lt_cv_deplibs_check_method=pass_all
  5406. ;;
  5407. sysv4 | sysv4.3*)
  5408. case $host_vendor in
  5409. motorola)
  5410. 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]'
  5411. lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
  5412. ;;
  5413. ncr)
  5414. lt_cv_deplibs_check_method=pass_all
  5415. ;;
  5416. sequent)
  5417. lt_cv_file_magic_cmd='/bin/file'
  5418. lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
  5419. ;;
  5420. sni)
  5421. lt_cv_file_magic_cmd='/bin/file'
  5422. lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
  5423. lt_cv_file_magic_test_file=/lib/libc.so
  5424. ;;
  5425. siemens)
  5426. lt_cv_deplibs_check_method=pass_all
  5427. ;;
  5428. pc)
  5429. lt_cv_deplibs_check_method=pass_all
  5430. ;;
  5431. esac
  5432. ;;
  5433. tpf*)
  5434. lt_cv_deplibs_check_method=pass_all
  5435. ;;
  5436. esac
  5437. fi
  5438. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
  5439. $as_echo "$lt_cv_deplibs_check_method" >&6; }
  5440. file_magic_cmd=$lt_cv_file_magic_cmd
  5441. deplibs_check_method=$lt_cv_deplibs_check_method
  5442. test -z "$deplibs_check_method" && deplibs_check_method=unknown
  5443. plugin_option=
  5444. plugin_names="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll"
  5445. for plugin in $plugin_names; do
  5446. plugin_so=`${CC} ${CFLAGS} --print-prog-name $plugin`
  5447. if test x$plugin_so = x$plugin; then
  5448. plugin_so=`${CC} ${CFLAGS} --print-file-name $plugin`
  5449. fi
  5450. if test x$plugin_so != x$plugin; then
  5451. plugin_option="--plugin $plugin_so"
  5452. break
  5453. fi
  5454. done
  5455. if test -n "$ac_tool_prefix"; then
  5456. # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
  5457. set dummy ${ac_tool_prefix}ar; ac_word=$2
  5458. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5459. $as_echo_n "checking for $ac_word... " >&6; }
  5460. if ${ac_cv_prog_AR+:} false; then :
  5461. $as_echo_n "(cached) " >&6
  5462. else
  5463. if test -n "$AR"; then
  5464. ac_cv_prog_AR="$AR" # Let the user override the test.
  5465. else
  5466. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5467. for as_dir in $PATH
  5468. do
  5469. IFS=$as_save_IFS
  5470. test -z "$as_dir" && as_dir=.
  5471. for ac_exec_ext in '' $ac_executable_extensions; do
  5472. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5473. ac_cv_prog_AR="${ac_tool_prefix}ar"
  5474. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5475. break 2
  5476. fi
  5477. done
  5478. done
  5479. IFS=$as_save_IFS
  5480. fi
  5481. fi
  5482. AR=$ac_cv_prog_AR
  5483. if test -n "$AR"; then
  5484. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
  5485. $as_echo "$AR" >&6; }
  5486. else
  5487. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5488. $as_echo "no" >&6; }
  5489. fi
  5490. fi
  5491. if test -z "$ac_cv_prog_AR"; then
  5492. ac_ct_AR=$AR
  5493. # Extract the first word of "ar", so it can be a program name with args.
  5494. set dummy ar; ac_word=$2
  5495. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5496. $as_echo_n "checking for $ac_word... " >&6; }
  5497. if ${ac_cv_prog_ac_ct_AR+:} false; then :
  5498. $as_echo_n "(cached) " >&6
  5499. else
  5500. if test -n "$ac_ct_AR"; then
  5501. ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
  5502. else
  5503. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5504. for as_dir in $PATH
  5505. do
  5506. IFS=$as_save_IFS
  5507. test -z "$as_dir" && as_dir=.
  5508. for ac_exec_ext in '' $ac_executable_extensions; do
  5509. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5510. ac_cv_prog_ac_ct_AR="ar"
  5511. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5512. break 2
  5513. fi
  5514. done
  5515. done
  5516. IFS=$as_save_IFS
  5517. fi
  5518. fi
  5519. ac_ct_AR=$ac_cv_prog_ac_ct_AR
  5520. if test -n "$ac_ct_AR"; then
  5521. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
  5522. $as_echo "$ac_ct_AR" >&6; }
  5523. else
  5524. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5525. $as_echo "no" >&6; }
  5526. fi
  5527. if test "x$ac_ct_AR" = x; then
  5528. AR="false"
  5529. else
  5530. case $cross_compiling:$ac_tool_warned in
  5531. yes:)
  5532. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  5533. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  5534. ac_tool_warned=yes ;;
  5535. esac
  5536. AR=$ac_ct_AR
  5537. fi
  5538. else
  5539. AR="$ac_cv_prog_AR"
  5540. fi
  5541. test -z "$AR" && AR=ar
  5542. if test -n "$plugin_option"; then
  5543. if $AR --help 2>&1 | grep -q "\--plugin"; then
  5544. touch conftest.c
  5545. $AR $plugin_option rc conftest.a conftest.c
  5546. if test "$?" != 0; then
  5547. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Failed: $AR $plugin_option rc" >&5
  5548. $as_echo "$as_me: WARNING: Failed: $AR $plugin_option rc" >&2;}
  5549. else
  5550. AR="$AR $plugin_option"
  5551. fi
  5552. rm -f conftest.*
  5553. fi
  5554. fi
  5555. test -z "$AR_FLAGS" && AR_FLAGS=cru
  5556. if test -n "$ac_tool_prefix"; then
  5557. # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  5558. set dummy ${ac_tool_prefix}strip; ac_word=$2
  5559. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5560. $as_echo_n "checking for $ac_word... " >&6; }
  5561. if ${ac_cv_prog_STRIP+:} false; then :
  5562. $as_echo_n "(cached) " >&6
  5563. else
  5564. if test -n "$STRIP"; then
  5565. ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  5566. else
  5567. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5568. for as_dir in $PATH
  5569. do
  5570. IFS=$as_save_IFS
  5571. test -z "$as_dir" && as_dir=.
  5572. for ac_exec_ext in '' $ac_executable_extensions; do
  5573. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5574. ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  5575. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5576. break 2
  5577. fi
  5578. done
  5579. done
  5580. IFS=$as_save_IFS
  5581. fi
  5582. fi
  5583. STRIP=$ac_cv_prog_STRIP
  5584. if test -n "$STRIP"; then
  5585. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
  5586. $as_echo "$STRIP" >&6; }
  5587. else
  5588. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5589. $as_echo "no" >&6; }
  5590. fi
  5591. fi
  5592. if test -z "$ac_cv_prog_STRIP"; then
  5593. ac_ct_STRIP=$STRIP
  5594. # Extract the first word of "strip", so it can be a program name with args.
  5595. set dummy strip; ac_word=$2
  5596. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5597. $as_echo_n "checking for $ac_word... " >&6; }
  5598. if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
  5599. $as_echo_n "(cached) " >&6
  5600. else
  5601. if test -n "$ac_ct_STRIP"; then
  5602. ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  5603. else
  5604. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5605. for as_dir in $PATH
  5606. do
  5607. IFS=$as_save_IFS
  5608. test -z "$as_dir" && as_dir=.
  5609. for ac_exec_ext in '' $ac_executable_extensions; do
  5610. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5611. ac_cv_prog_ac_ct_STRIP="strip"
  5612. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5613. break 2
  5614. fi
  5615. done
  5616. done
  5617. IFS=$as_save_IFS
  5618. fi
  5619. fi
  5620. ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  5621. if test -n "$ac_ct_STRIP"; then
  5622. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
  5623. $as_echo "$ac_ct_STRIP" >&6; }
  5624. else
  5625. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5626. $as_echo "no" >&6; }
  5627. fi
  5628. if test "x$ac_ct_STRIP" = x; then
  5629. STRIP=":"
  5630. else
  5631. case $cross_compiling:$ac_tool_warned in
  5632. yes:)
  5633. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  5634. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  5635. ac_tool_warned=yes ;;
  5636. esac
  5637. STRIP=$ac_ct_STRIP
  5638. fi
  5639. else
  5640. STRIP="$ac_cv_prog_STRIP"
  5641. fi
  5642. test -z "$STRIP" && STRIP=:
  5643. if test -n "$ac_tool_prefix"; then
  5644. # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
  5645. set dummy ${ac_tool_prefix}ranlib; ac_word=$2
  5646. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5647. $as_echo_n "checking for $ac_word... " >&6; }
  5648. if ${ac_cv_prog_RANLIB+:} false; then :
  5649. $as_echo_n "(cached) " >&6
  5650. else
  5651. if test -n "$RANLIB"; then
  5652. ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
  5653. else
  5654. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5655. for as_dir in $PATH
  5656. do
  5657. IFS=$as_save_IFS
  5658. test -z "$as_dir" && as_dir=.
  5659. for ac_exec_ext in '' $ac_executable_extensions; do
  5660. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5661. ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
  5662. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5663. break 2
  5664. fi
  5665. done
  5666. done
  5667. IFS=$as_save_IFS
  5668. fi
  5669. fi
  5670. RANLIB=$ac_cv_prog_RANLIB
  5671. if test -n "$RANLIB"; then
  5672. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
  5673. $as_echo "$RANLIB" >&6; }
  5674. else
  5675. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5676. $as_echo "no" >&6; }
  5677. fi
  5678. fi
  5679. if test -z "$ac_cv_prog_RANLIB"; then
  5680. ac_ct_RANLIB=$RANLIB
  5681. # Extract the first word of "ranlib", so it can be a program name with args.
  5682. set dummy ranlib; ac_word=$2
  5683. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5684. $as_echo_n "checking for $ac_word... " >&6; }
  5685. if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
  5686. $as_echo_n "(cached) " >&6
  5687. else
  5688. if test -n "$ac_ct_RANLIB"; then
  5689. ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
  5690. else
  5691. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5692. for as_dir in $PATH
  5693. do
  5694. IFS=$as_save_IFS
  5695. test -z "$as_dir" && as_dir=.
  5696. for ac_exec_ext in '' $ac_executable_extensions; do
  5697. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5698. ac_cv_prog_ac_ct_RANLIB="ranlib"
  5699. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5700. break 2
  5701. fi
  5702. done
  5703. done
  5704. IFS=$as_save_IFS
  5705. fi
  5706. fi
  5707. ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
  5708. if test -n "$ac_ct_RANLIB"; then
  5709. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
  5710. $as_echo "$ac_ct_RANLIB" >&6; }
  5711. else
  5712. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5713. $as_echo "no" >&6; }
  5714. fi
  5715. if test "x$ac_ct_RANLIB" = x; then
  5716. RANLIB=":"
  5717. else
  5718. case $cross_compiling:$ac_tool_warned in
  5719. yes:)
  5720. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  5721. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  5722. ac_tool_warned=yes ;;
  5723. esac
  5724. RANLIB=$ac_ct_RANLIB
  5725. fi
  5726. else
  5727. RANLIB="$ac_cv_prog_RANLIB"
  5728. fi
  5729. test -z "$RANLIB" && RANLIB=:
  5730. if test -n "$plugin_option" && test "$RANLIB" != ":"; then
  5731. if $RANLIB --help 2>&1 | grep -q "\--plugin"; then
  5732. RANLIB="$RANLIB $plugin_option"
  5733. fi
  5734. fi
  5735. # Determine commands to create old-style static archives.
  5736. old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
  5737. old_postinstall_cmds='chmod 644 $oldlib'
  5738. old_postuninstall_cmds=
  5739. if test -n "$RANLIB"; then
  5740. case $host_os in
  5741. openbsd*)
  5742. old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
  5743. ;;
  5744. *)
  5745. old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
  5746. ;;
  5747. esac
  5748. old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
  5749. fi
  5750. case $host_os in
  5751. darwin*)
  5752. lock_old_archive_extraction=yes ;;
  5753. *)
  5754. lock_old_archive_extraction=no ;;
  5755. esac
  5756. # If no C compiler was specified, use CC.
  5757. LTCC=${LTCC-"$CC"}
  5758. # If no C compiler flags were specified, use CFLAGS.
  5759. LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
  5760. # Allow CC to be a program name with arguments.
  5761. compiler=$CC
  5762. # Check for command to grab the raw symbol name followed by C symbol from nm.
  5763. { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
  5764. $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
  5765. if ${lt_cv_sys_global_symbol_pipe+:} false; then :
  5766. $as_echo_n "(cached) " >&6
  5767. else
  5768. # These are sane defaults that work on at least a few old systems.
  5769. # [They come from Ultrix. What could be older than Ultrix?!! ;)]
  5770. # Character class describing NM global symbol codes.
  5771. symcode='[BCDEGRST]'
  5772. # Regexp to match symbols that can be accessed directly from C.
  5773. sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
  5774. # Define system-specific variables.
  5775. case $host_os in
  5776. aix*)
  5777. symcode='[BCDT]'
  5778. ;;
  5779. cygwin* | mingw* | pw32* | cegcc*)
  5780. symcode='[ABCDGISTW]'
  5781. ;;
  5782. hpux*)
  5783. if test "$host_cpu" = ia64; then
  5784. symcode='[ABCDEGRST]'
  5785. fi
  5786. ;;
  5787. irix* | nonstopux*)
  5788. symcode='[BCDEGRST]'
  5789. ;;
  5790. osf*)
  5791. symcode='[BCDEGQRST]'
  5792. ;;
  5793. solaris*)
  5794. symcode='[BCDRT]'
  5795. ;;
  5796. sco3.2v5*)
  5797. symcode='[DT]'
  5798. ;;
  5799. sysv4.2uw2*)
  5800. symcode='[DT]'
  5801. ;;
  5802. sysv5* | sco5v6* | unixware* | OpenUNIX*)
  5803. symcode='[ABDT]'
  5804. ;;
  5805. sysv4)
  5806. symcode='[DFNSTU]'
  5807. ;;
  5808. esac
  5809. # If we're using GNU nm, then use its standard symbol codes.
  5810. case `$NM -V 2>&1` in
  5811. *GNU* | *'with BFD'*)
  5812. symcode='[ABCDGIRSTW]' ;;
  5813. esac
  5814. # Transform an extracted symbol line into a proper C declaration.
  5815. # Some systems (esp. on ia64) link data and code symbols differently,
  5816. # so use this general approach.
  5817. lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
  5818. # Transform an extracted symbol line into symbol name and symbol address
  5819. lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
  5820. lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
  5821. # Handle CRLF in mingw tool chain
  5822. opt_cr=
  5823. case $build_os in
  5824. mingw*)
  5825. opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
  5826. ;;
  5827. esac
  5828. # Try without a prefix underscore, then with it.
  5829. for ac_symprfx in "" "_"; do
  5830. # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
  5831. symxfrm="\\1 $ac_symprfx\\2 \\2"
  5832. # Write the raw and C identifiers.
  5833. if test "$lt_cv_nm_interface" = "MS dumpbin"; then
  5834. # Fake it for dumpbin and say T for any non-static function
  5835. # and D for any global variable.
  5836. # Also find C++ and __fastcall symbols from MSVC++,
  5837. # which start with @ or ?.
  5838. lt_cv_sys_global_symbol_pipe="$AWK '"\
  5839. " {last_section=section; section=\$ 3};"\
  5840. " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
  5841. " \$ 0!~/External *\|/{next};"\
  5842. " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
  5843. " {if(hide[section]) next};"\
  5844. " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
  5845. " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
  5846. " s[1]~/^[@?]/{print s[1], s[1]; next};"\
  5847. " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
  5848. " ' prfx=^$ac_symprfx"
  5849. else
  5850. lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
  5851. fi
  5852. # Check to see that the pipe works correctly.
  5853. pipe_works=no
  5854. rm -f conftest*
  5855. cat > conftest.$ac_ext <<_LT_EOF
  5856. #ifdef __cplusplus
  5857. extern "C" {
  5858. #endif
  5859. char nm_test_var;
  5860. void nm_test_func(void);
  5861. void nm_test_func(void){}
  5862. #ifdef __cplusplus
  5863. }
  5864. #endif
  5865. int main(){nm_test_var='a';nm_test_func();return(0);}
  5866. _LT_EOF
  5867. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  5868. (eval $ac_compile) 2>&5
  5869. ac_status=$?
  5870. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  5871. test $ac_status = 0; }; then
  5872. # Now try to grab the symbols.
  5873. nlist=conftest.nm
  5874. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
  5875. (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
  5876. ac_status=$?
  5877. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  5878. test $ac_status = 0; } && test -s "$nlist"; then
  5879. # Try sorting and uniquifying the output.
  5880. if sort "$nlist" | uniq > "$nlist"T; then
  5881. mv -f "$nlist"T "$nlist"
  5882. else
  5883. rm -f "$nlist"T
  5884. fi
  5885. # Make sure that we snagged all the symbols we need.
  5886. if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
  5887. if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
  5888. cat <<_LT_EOF > conftest.$ac_ext
  5889. #ifdef __cplusplus
  5890. extern "C" {
  5891. #endif
  5892. _LT_EOF
  5893. # Now generate the symbol file.
  5894. eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
  5895. cat <<_LT_EOF >> conftest.$ac_ext
  5896. /* The mapping between symbol names and symbols. */
  5897. const struct {
  5898. const char *name;
  5899. void *address;
  5900. }
  5901. lt__PROGRAM__LTX_preloaded_symbols[] =
  5902. {
  5903. { "@PROGRAM@", (void *) 0 },
  5904. _LT_EOF
  5905. $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
  5906. cat <<\_LT_EOF >> conftest.$ac_ext
  5907. {0, (void *) 0}
  5908. };
  5909. /* This works around a problem in FreeBSD linker */
  5910. #ifdef FREEBSD_WORKAROUND
  5911. static const void *lt_preloaded_setup() {
  5912. return lt__PROGRAM__LTX_preloaded_symbols;
  5913. }
  5914. #endif
  5915. #ifdef __cplusplus
  5916. }
  5917. #endif
  5918. _LT_EOF
  5919. # Now try linking the two files.
  5920. mv conftest.$ac_objext conftstm.$ac_objext
  5921. lt_save_LIBS="$LIBS"
  5922. lt_save_CFLAGS="$CFLAGS"
  5923. LIBS="conftstm.$ac_objext"
  5924. CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
  5925. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  5926. (eval $ac_link) 2>&5
  5927. ac_status=$?
  5928. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  5929. test $ac_status = 0; } && test -s conftest${ac_exeext}; then
  5930. pipe_works=yes
  5931. fi
  5932. LIBS="$lt_save_LIBS"
  5933. CFLAGS="$lt_save_CFLAGS"
  5934. else
  5935. echo "cannot find nm_test_func in $nlist" >&5
  5936. fi
  5937. else
  5938. echo "cannot find nm_test_var in $nlist" >&5
  5939. fi
  5940. else
  5941. echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
  5942. fi
  5943. else
  5944. echo "$progname: failed program was:" >&5
  5945. cat conftest.$ac_ext >&5
  5946. fi
  5947. rm -rf conftest* conftst*
  5948. # Do not use the global_symbol_pipe unless it works.
  5949. if test "$pipe_works" = yes; then
  5950. break
  5951. else
  5952. lt_cv_sys_global_symbol_pipe=
  5953. fi
  5954. done
  5955. fi
  5956. if test -z "$lt_cv_sys_global_symbol_pipe"; then
  5957. lt_cv_sys_global_symbol_to_cdecl=
  5958. fi
  5959. if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
  5960. { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
  5961. $as_echo "failed" >&6; }
  5962. else
  5963. { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
  5964. $as_echo "ok" >&6; }
  5965. fi
  5966. # Check whether --enable-libtool-lock was given.
  5967. if test "${enable_libtool_lock+set}" = set; then :
  5968. enableval=$enable_libtool_lock;
  5969. fi
  5970. test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
  5971. # Some flags need to be propagated to the compiler or linker for good
  5972. # libtool support.
  5973. case $host in
  5974. ia64-*-hpux*)
  5975. # Find out which ABI we are using.
  5976. echo 'int i;' > conftest.$ac_ext
  5977. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  5978. (eval $ac_compile) 2>&5
  5979. ac_status=$?
  5980. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  5981. test $ac_status = 0; }; then
  5982. case `/usr/bin/file conftest.$ac_objext` in
  5983. *ELF-32*)
  5984. HPUX_IA64_MODE="32"
  5985. ;;
  5986. *ELF-64*)
  5987. HPUX_IA64_MODE="64"
  5988. ;;
  5989. esac
  5990. fi
  5991. rm -rf conftest*
  5992. ;;
  5993. *-*-irix6*)
  5994. # Find out which ABI we are using.
  5995. echo '#line '$LINENO' "configure"' > conftest.$ac_ext
  5996. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  5997. (eval $ac_compile) 2>&5
  5998. ac_status=$?
  5999. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  6000. test $ac_status = 0; }; then
  6001. if test "$lt_cv_prog_gnu_ld" = yes; then
  6002. case `/usr/bin/file conftest.$ac_objext` in
  6003. *32-bit*)
  6004. LD="${LD-ld} -melf32bsmip"
  6005. ;;
  6006. *N32*)
  6007. LD="${LD-ld} -melf32bmipn32"
  6008. ;;
  6009. *64-bit*)
  6010. LD="${LD-ld} -melf64bmip"
  6011. ;;
  6012. esac
  6013. else
  6014. case `/usr/bin/file conftest.$ac_objext` in
  6015. *32-bit*)
  6016. LD="${LD-ld} -32"
  6017. ;;
  6018. *N32*)
  6019. LD="${LD-ld} -n32"
  6020. ;;
  6021. *64-bit*)
  6022. LD="${LD-ld} -64"
  6023. ;;
  6024. esac
  6025. fi
  6026. fi
  6027. rm -rf conftest*
  6028. ;;
  6029. x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
  6030. s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
  6031. # Find out which ABI we are using.
  6032. echo 'int i;' > conftest.$ac_ext
  6033. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  6034. (eval $ac_compile) 2>&5
  6035. ac_status=$?
  6036. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  6037. test $ac_status = 0; }; then
  6038. case `/usr/bin/file conftest.o` in
  6039. *32-bit*)
  6040. case $host in
  6041. x86_64-*kfreebsd*-gnu)
  6042. LD="${LD-ld} -m elf_i386_fbsd"
  6043. ;;
  6044. x86_64-*linux*)
  6045. case `/usr/bin/file conftest.o` in
  6046. *x86-64*)
  6047. LD="${LD-ld} -m elf32_x86_64"
  6048. ;;
  6049. *)
  6050. LD="${LD-ld} -m elf_i386"
  6051. ;;
  6052. esac
  6053. ;;
  6054. powerpc64le-*linux*)
  6055. LD="${LD-ld} -m elf32lppclinux"
  6056. ;;
  6057. powerpc64-*linux*)
  6058. LD="${LD-ld} -m elf32ppclinux"
  6059. ;;
  6060. s390x-*linux*)
  6061. LD="${LD-ld} -m elf_s390"
  6062. ;;
  6063. sparc64-*linux*)
  6064. LD="${LD-ld} -m elf32_sparc"
  6065. ;;
  6066. esac
  6067. ;;
  6068. *64-bit*)
  6069. case $host in
  6070. x86_64-*kfreebsd*-gnu)
  6071. LD="${LD-ld} -m elf_x86_64_fbsd"
  6072. ;;
  6073. x86_64-*linux*)
  6074. LD="${LD-ld} -m elf_x86_64"
  6075. ;;
  6076. powerpcle-*linux*)
  6077. LD="${LD-ld} -m elf64lppc"
  6078. ;;
  6079. powerpc-*linux*)
  6080. LD="${LD-ld} -m elf64ppc"
  6081. ;;
  6082. s390*-*linux*|s390*-*tpf*)
  6083. LD="${LD-ld} -m elf64_s390"
  6084. ;;
  6085. sparc*-*linux*)
  6086. LD="${LD-ld} -m elf64_sparc"
  6087. ;;
  6088. esac
  6089. ;;
  6090. esac
  6091. fi
  6092. rm -rf conftest*
  6093. ;;
  6094. *-*-sco3.2v5*)
  6095. # On SCO OpenServer 5, we need -belf to get full-featured binaries.
  6096. SAVE_CFLAGS="$CFLAGS"
  6097. CFLAGS="$CFLAGS -belf"
  6098. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
  6099. $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
  6100. if ${lt_cv_cc_needs_belf+:} false; then :
  6101. $as_echo_n "(cached) " >&6
  6102. else
  6103. ac_ext=c
  6104. ac_cpp='$CPP $CPPFLAGS'
  6105. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  6106. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  6107. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  6108. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6109. /* end confdefs.h. */
  6110. int
  6111. main ()
  6112. {
  6113. ;
  6114. return 0;
  6115. }
  6116. _ACEOF
  6117. if ac_fn_c_try_link "$LINENO"; then :
  6118. lt_cv_cc_needs_belf=yes
  6119. else
  6120. lt_cv_cc_needs_belf=no
  6121. fi
  6122. rm -f core conftest.err conftest.$ac_objext \
  6123. conftest$ac_exeext conftest.$ac_ext
  6124. ac_ext=c
  6125. ac_cpp='$CPP $CPPFLAGS'
  6126. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  6127. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  6128. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  6129. fi
  6130. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
  6131. $as_echo "$lt_cv_cc_needs_belf" >&6; }
  6132. if test x"$lt_cv_cc_needs_belf" != x"yes"; then
  6133. # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
  6134. CFLAGS="$SAVE_CFLAGS"
  6135. fi
  6136. ;;
  6137. sparc*-*solaris*)
  6138. # Find out which ABI we are using.
  6139. echo 'int i;' > conftest.$ac_ext
  6140. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  6141. (eval $ac_compile) 2>&5
  6142. ac_status=$?
  6143. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  6144. test $ac_status = 0; }; then
  6145. case `/usr/bin/file conftest.o` in
  6146. *64-bit*)
  6147. case $lt_cv_prog_gnu_ld in
  6148. yes*) LD="${LD-ld} -m elf64_sparc" ;;
  6149. *)
  6150. if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
  6151. LD="${LD-ld} -64"
  6152. fi
  6153. ;;
  6154. esac
  6155. ;;
  6156. esac
  6157. fi
  6158. rm -rf conftest*
  6159. ;;
  6160. esac
  6161. need_locks="$enable_libtool_lock"
  6162. case $host_os in
  6163. rhapsody* | darwin*)
  6164. if test -n "$ac_tool_prefix"; then
  6165. # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
  6166. set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
  6167. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6168. $as_echo_n "checking for $ac_word... " >&6; }
  6169. if ${ac_cv_prog_DSYMUTIL+:} false; then :
  6170. $as_echo_n "(cached) " >&6
  6171. else
  6172. if test -n "$DSYMUTIL"; then
  6173. ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
  6174. else
  6175. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6176. for as_dir in $PATH
  6177. do
  6178. IFS=$as_save_IFS
  6179. test -z "$as_dir" && as_dir=.
  6180. for ac_exec_ext in '' $ac_executable_extensions; do
  6181. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6182. ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
  6183. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6184. break 2
  6185. fi
  6186. done
  6187. done
  6188. IFS=$as_save_IFS
  6189. fi
  6190. fi
  6191. DSYMUTIL=$ac_cv_prog_DSYMUTIL
  6192. if test -n "$DSYMUTIL"; then
  6193. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
  6194. $as_echo "$DSYMUTIL" >&6; }
  6195. else
  6196. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6197. $as_echo "no" >&6; }
  6198. fi
  6199. fi
  6200. if test -z "$ac_cv_prog_DSYMUTIL"; then
  6201. ac_ct_DSYMUTIL=$DSYMUTIL
  6202. # Extract the first word of "dsymutil", so it can be a program name with args.
  6203. set dummy dsymutil; ac_word=$2
  6204. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6205. $as_echo_n "checking for $ac_word... " >&6; }
  6206. if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
  6207. $as_echo_n "(cached) " >&6
  6208. else
  6209. if test -n "$ac_ct_DSYMUTIL"; then
  6210. ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
  6211. else
  6212. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6213. for as_dir in $PATH
  6214. do
  6215. IFS=$as_save_IFS
  6216. test -z "$as_dir" && as_dir=.
  6217. for ac_exec_ext in '' $ac_executable_extensions; do
  6218. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6219. ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
  6220. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6221. break 2
  6222. fi
  6223. done
  6224. done
  6225. IFS=$as_save_IFS
  6226. fi
  6227. fi
  6228. ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
  6229. if test -n "$ac_ct_DSYMUTIL"; then
  6230. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
  6231. $as_echo "$ac_ct_DSYMUTIL" >&6; }
  6232. else
  6233. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6234. $as_echo "no" >&6; }
  6235. fi
  6236. if test "x$ac_ct_DSYMUTIL" = x; then
  6237. DSYMUTIL=":"
  6238. else
  6239. case $cross_compiling:$ac_tool_warned in
  6240. yes:)
  6241. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  6242. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  6243. ac_tool_warned=yes ;;
  6244. esac
  6245. DSYMUTIL=$ac_ct_DSYMUTIL
  6246. fi
  6247. else
  6248. DSYMUTIL="$ac_cv_prog_DSYMUTIL"
  6249. fi
  6250. if test -n "$ac_tool_prefix"; then
  6251. # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
  6252. set dummy ${ac_tool_prefix}nmedit; ac_word=$2
  6253. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6254. $as_echo_n "checking for $ac_word... " >&6; }
  6255. if ${ac_cv_prog_NMEDIT+:} false; then :
  6256. $as_echo_n "(cached) " >&6
  6257. else
  6258. if test -n "$NMEDIT"; then
  6259. ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
  6260. else
  6261. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6262. for as_dir in $PATH
  6263. do
  6264. IFS=$as_save_IFS
  6265. test -z "$as_dir" && as_dir=.
  6266. for ac_exec_ext in '' $ac_executable_extensions; do
  6267. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6268. ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
  6269. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6270. break 2
  6271. fi
  6272. done
  6273. done
  6274. IFS=$as_save_IFS
  6275. fi
  6276. fi
  6277. NMEDIT=$ac_cv_prog_NMEDIT
  6278. if test -n "$NMEDIT"; then
  6279. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
  6280. $as_echo "$NMEDIT" >&6; }
  6281. else
  6282. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6283. $as_echo "no" >&6; }
  6284. fi
  6285. fi
  6286. if test -z "$ac_cv_prog_NMEDIT"; then
  6287. ac_ct_NMEDIT=$NMEDIT
  6288. # Extract the first word of "nmedit", so it can be a program name with args.
  6289. set dummy nmedit; ac_word=$2
  6290. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6291. $as_echo_n "checking for $ac_word... " >&6; }
  6292. if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
  6293. $as_echo_n "(cached) " >&6
  6294. else
  6295. if test -n "$ac_ct_NMEDIT"; then
  6296. ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
  6297. else
  6298. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6299. for as_dir in $PATH
  6300. do
  6301. IFS=$as_save_IFS
  6302. test -z "$as_dir" && as_dir=.
  6303. for ac_exec_ext in '' $ac_executable_extensions; do
  6304. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6305. ac_cv_prog_ac_ct_NMEDIT="nmedit"
  6306. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6307. break 2
  6308. fi
  6309. done
  6310. done
  6311. IFS=$as_save_IFS
  6312. fi
  6313. fi
  6314. ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
  6315. if test -n "$ac_ct_NMEDIT"; then
  6316. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
  6317. $as_echo "$ac_ct_NMEDIT" >&6; }
  6318. else
  6319. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6320. $as_echo "no" >&6; }
  6321. fi
  6322. if test "x$ac_ct_NMEDIT" = x; then
  6323. NMEDIT=":"
  6324. else
  6325. case $cross_compiling:$ac_tool_warned in
  6326. yes:)
  6327. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  6328. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  6329. ac_tool_warned=yes ;;
  6330. esac
  6331. NMEDIT=$ac_ct_NMEDIT
  6332. fi
  6333. else
  6334. NMEDIT="$ac_cv_prog_NMEDIT"
  6335. fi
  6336. if test -n "$ac_tool_prefix"; then
  6337. # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
  6338. set dummy ${ac_tool_prefix}lipo; ac_word=$2
  6339. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6340. $as_echo_n "checking for $ac_word... " >&6; }
  6341. if ${ac_cv_prog_LIPO+:} false; then :
  6342. $as_echo_n "(cached) " >&6
  6343. else
  6344. if test -n "$LIPO"; then
  6345. ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
  6346. else
  6347. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6348. for as_dir in $PATH
  6349. do
  6350. IFS=$as_save_IFS
  6351. test -z "$as_dir" && as_dir=.
  6352. for ac_exec_ext in '' $ac_executable_extensions; do
  6353. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6354. ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
  6355. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6356. break 2
  6357. fi
  6358. done
  6359. done
  6360. IFS=$as_save_IFS
  6361. fi
  6362. fi
  6363. LIPO=$ac_cv_prog_LIPO
  6364. if test -n "$LIPO"; then
  6365. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
  6366. $as_echo "$LIPO" >&6; }
  6367. else
  6368. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6369. $as_echo "no" >&6; }
  6370. fi
  6371. fi
  6372. if test -z "$ac_cv_prog_LIPO"; then
  6373. ac_ct_LIPO=$LIPO
  6374. # Extract the first word of "lipo", so it can be a program name with args.
  6375. set dummy lipo; ac_word=$2
  6376. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6377. $as_echo_n "checking for $ac_word... " >&6; }
  6378. if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
  6379. $as_echo_n "(cached) " >&6
  6380. else
  6381. if test -n "$ac_ct_LIPO"; then
  6382. ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
  6383. else
  6384. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6385. for as_dir in $PATH
  6386. do
  6387. IFS=$as_save_IFS
  6388. test -z "$as_dir" && as_dir=.
  6389. for ac_exec_ext in '' $ac_executable_extensions; do
  6390. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6391. ac_cv_prog_ac_ct_LIPO="lipo"
  6392. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6393. break 2
  6394. fi
  6395. done
  6396. done
  6397. IFS=$as_save_IFS
  6398. fi
  6399. fi
  6400. ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
  6401. if test -n "$ac_ct_LIPO"; then
  6402. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
  6403. $as_echo "$ac_ct_LIPO" >&6; }
  6404. else
  6405. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6406. $as_echo "no" >&6; }
  6407. fi
  6408. if test "x$ac_ct_LIPO" = x; then
  6409. LIPO=":"
  6410. else
  6411. case $cross_compiling:$ac_tool_warned in
  6412. yes:)
  6413. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  6414. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  6415. ac_tool_warned=yes ;;
  6416. esac
  6417. LIPO=$ac_ct_LIPO
  6418. fi
  6419. else
  6420. LIPO="$ac_cv_prog_LIPO"
  6421. fi
  6422. if test -n "$ac_tool_prefix"; then
  6423. # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
  6424. set dummy ${ac_tool_prefix}otool; ac_word=$2
  6425. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6426. $as_echo_n "checking for $ac_word... " >&6; }
  6427. if ${ac_cv_prog_OTOOL+:} false; then :
  6428. $as_echo_n "(cached) " >&6
  6429. else
  6430. if test -n "$OTOOL"; then
  6431. ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
  6432. else
  6433. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6434. for as_dir in $PATH
  6435. do
  6436. IFS=$as_save_IFS
  6437. test -z "$as_dir" && as_dir=.
  6438. for ac_exec_ext in '' $ac_executable_extensions; do
  6439. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6440. ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
  6441. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6442. break 2
  6443. fi
  6444. done
  6445. done
  6446. IFS=$as_save_IFS
  6447. fi
  6448. fi
  6449. OTOOL=$ac_cv_prog_OTOOL
  6450. if test -n "$OTOOL"; then
  6451. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
  6452. $as_echo "$OTOOL" >&6; }
  6453. else
  6454. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6455. $as_echo "no" >&6; }
  6456. fi
  6457. fi
  6458. if test -z "$ac_cv_prog_OTOOL"; then
  6459. ac_ct_OTOOL=$OTOOL
  6460. # Extract the first word of "otool", so it can be a program name with args.
  6461. set dummy otool; ac_word=$2
  6462. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6463. $as_echo_n "checking for $ac_word... " >&6; }
  6464. if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
  6465. $as_echo_n "(cached) " >&6
  6466. else
  6467. if test -n "$ac_ct_OTOOL"; then
  6468. ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
  6469. else
  6470. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6471. for as_dir in $PATH
  6472. do
  6473. IFS=$as_save_IFS
  6474. test -z "$as_dir" && as_dir=.
  6475. for ac_exec_ext in '' $ac_executable_extensions; do
  6476. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6477. ac_cv_prog_ac_ct_OTOOL="otool"
  6478. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6479. break 2
  6480. fi
  6481. done
  6482. done
  6483. IFS=$as_save_IFS
  6484. fi
  6485. fi
  6486. ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
  6487. if test -n "$ac_ct_OTOOL"; then
  6488. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
  6489. $as_echo "$ac_ct_OTOOL" >&6; }
  6490. else
  6491. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6492. $as_echo "no" >&6; }
  6493. fi
  6494. if test "x$ac_ct_OTOOL" = x; then
  6495. OTOOL=":"
  6496. else
  6497. case $cross_compiling:$ac_tool_warned in
  6498. yes:)
  6499. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  6500. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  6501. ac_tool_warned=yes ;;
  6502. esac
  6503. OTOOL=$ac_ct_OTOOL
  6504. fi
  6505. else
  6506. OTOOL="$ac_cv_prog_OTOOL"
  6507. fi
  6508. if test -n "$ac_tool_prefix"; then
  6509. # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
  6510. set dummy ${ac_tool_prefix}otool64; ac_word=$2
  6511. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6512. $as_echo_n "checking for $ac_word... " >&6; }
  6513. if ${ac_cv_prog_OTOOL64+:} false; then :
  6514. $as_echo_n "(cached) " >&6
  6515. else
  6516. if test -n "$OTOOL64"; then
  6517. ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
  6518. else
  6519. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6520. for as_dir in $PATH
  6521. do
  6522. IFS=$as_save_IFS
  6523. test -z "$as_dir" && as_dir=.
  6524. for ac_exec_ext in '' $ac_executable_extensions; do
  6525. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6526. ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
  6527. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6528. break 2
  6529. fi
  6530. done
  6531. done
  6532. IFS=$as_save_IFS
  6533. fi
  6534. fi
  6535. OTOOL64=$ac_cv_prog_OTOOL64
  6536. if test -n "$OTOOL64"; then
  6537. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
  6538. $as_echo "$OTOOL64" >&6; }
  6539. else
  6540. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6541. $as_echo "no" >&6; }
  6542. fi
  6543. fi
  6544. if test -z "$ac_cv_prog_OTOOL64"; then
  6545. ac_ct_OTOOL64=$OTOOL64
  6546. # Extract the first word of "otool64", so it can be a program name with args.
  6547. set dummy otool64; ac_word=$2
  6548. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6549. $as_echo_n "checking for $ac_word... " >&6; }
  6550. if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
  6551. $as_echo_n "(cached) " >&6
  6552. else
  6553. if test -n "$ac_ct_OTOOL64"; then
  6554. ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
  6555. else
  6556. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6557. for as_dir in $PATH
  6558. do
  6559. IFS=$as_save_IFS
  6560. test -z "$as_dir" && as_dir=.
  6561. for ac_exec_ext in '' $ac_executable_extensions; do
  6562. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6563. ac_cv_prog_ac_ct_OTOOL64="otool64"
  6564. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6565. break 2
  6566. fi
  6567. done
  6568. done
  6569. IFS=$as_save_IFS
  6570. fi
  6571. fi
  6572. ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
  6573. if test -n "$ac_ct_OTOOL64"; then
  6574. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
  6575. $as_echo "$ac_ct_OTOOL64" >&6; }
  6576. else
  6577. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6578. $as_echo "no" >&6; }
  6579. fi
  6580. if test "x$ac_ct_OTOOL64" = x; then
  6581. OTOOL64=":"
  6582. else
  6583. case $cross_compiling:$ac_tool_warned in
  6584. yes:)
  6585. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  6586. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  6587. ac_tool_warned=yes ;;
  6588. esac
  6589. OTOOL64=$ac_ct_OTOOL64
  6590. fi
  6591. else
  6592. OTOOL64="$ac_cv_prog_OTOOL64"
  6593. fi
  6594. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
  6595. $as_echo_n "checking for -single_module linker flag... " >&6; }
  6596. if ${lt_cv_apple_cc_single_mod+:} false; then :
  6597. $as_echo_n "(cached) " >&6
  6598. else
  6599. lt_cv_apple_cc_single_mod=no
  6600. if test -z "${LT_MULTI_MODULE}"; then
  6601. # By default we will add the -single_module flag. You can override
  6602. # by either setting the environment variable LT_MULTI_MODULE
  6603. # non-empty at configure time, or by adding -multi_module to the
  6604. # link flags.
  6605. rm -rf libconftest.dylib*
  6606. echo "int foo(void){return 1;}" > conftest.c
  6607. echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
  6608. -dynamiclib -Wl,-single_module conftest.c" >&5
  6609. $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
  6610. -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
  6611. _lt_result=$?
  6612. if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
  6613. lt_cv_apple_cc_single_mod=yes
  6614. else
  6615. cat conftest.err >&5
  6616. fi
  6617. rm -rf libconftest.dylib*
  6618. rm -f conftest.*
  6619. fi
  6620. fi
  6621. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
  6622. $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
  6623. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
  6624. $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
  6625. if ${lt_cv_ld_exported_symbols_list+:} false; then :
  6626. $as_echo_n "(cached) " >&6
  6627. else
  6628. lt_cv_ld_exported_symbols_list=no
  6629. save_LDFLAGS=$LDFLAGS
  6630. echo "_main" > conftest.sym
  6631. LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
  6632. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6633. /* end confdefs.h. */
  6634. int
  6635. main ()
  6636. {
  6637. ;
  6638. return 0;
  6639. }
  6640. _ACEOF
  6641. if ac_fn_c_try_link "$LINENO"; then :
  6642. lt_cv_ld_exported_symbols_list=yes
  6643. else
  6644. lt_cv_ld_exported_symbols_list=no
  6645. fi
  6646. rm -f core conftest.err conftest.$ac_objext \
  6647. conftest$ac_exeext conftest.$ac_ext
  6648. LDFLAGS="$save_LDFLAGS"
  6649. fi
  6650. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
  6651. $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
  6652. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
  6653. $as_echo_n "checking for -force_load linker flag... " >&6; }
  6654. if ${lt_cv_ld_force_load+:} false; then :
  6655. $as_echo_n "(cached) " >&6
  6656. else
  6657. lt_cv_ld_force_load=no
  6658. cat > conftest.c << _LT_EOF
  6659. int forced_loaded() { return 2;}
  6660. _LT_EOF
  6661. echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
  6662. $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
  6663. echo "$AR cru libconftest.a conftest.o" >&5
  6664. $AR cru libconftest.a conftest.o 2>&5
  6665. cat > conftest.c << _LT_EOF
  6666. int main() { return 0;}
  6667. _LT_EOF
  6668. echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
  6669. $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
  6670. _lt_result=$?
  6671. if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
  6672. lt_cv_ld_force_load=yes
  6673. else
  6674. cat conftest.err >&5
  6675. fi
  6676. rm -f conftest.err libconftest.a conftest conftest.c
  6677. rm -rf conftest.dSYM
  6678. fi
  6679. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
  6680. $as_echo "$lt_cv_ld_force_load" >&6; }
  6681. case $host_os in
  6682. rhapsody* | darwin1.[012])
  6683. _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
  6684. darwin1.*)
  6685. _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
  6686. darwin*) # darwin 5.x on
  6687. # if running on 10.5 or later, the deployment target defaults
  6688. # to the OS version, if on x86, and 10.4, the deployment
  6689. # target defaults to 10.4. Don't you love it?
  6690. case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
  6691. 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
  6692. _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
  6693. 10.[012][,.]*)
  6694. _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
  6695. 10.*)
  6696. _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
  6697. esac
  6698. ;;
  6699. esac
  6700. if test "$lt_cv_apple_cc_single_mod" = "yes"; then
  6701. _lt_dar_single_mod='$single_module'
  6702. fi
  6703. if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
  6704. _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
  6705. else
  6706. _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
  6707. fi
  6708. if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
  6709. _lt_dsymutil='~$DSYMUTIL $lib || :'
  6710. else
  6711. _lt_dsymutil=
  6712. fi
  6713. ;;
  6714. esac
  6715. for ac_header in dlfcn.h
  6716. do :
  6717. ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
  6718. "
  6719. if test "x$ac_cv_header_dlfcn_h" = xyes; then :
  6720. cat >>confdefs.h <<_ACEOF
  6721. #define HAVE_DLFCN_H 1
  6722. _ACEOF
  6723. fi
  6724. done
  6725. # Set options
  6726. enable_dlopen=no
  6727. enable_win32_dll=no
  6728. # Check whether --enable-static was given.
  6729. if test "${enable_static+set}" = set; then :
  6730. enableval=$enable_static; p=${PACKAGE-default}
  6731. case $enableval in
  6732. yes) enable_static=yes ;;
  6733. no) enable_static=no ;;
  6734. *)
  6735. enable_static=no
  6736. # Look at the argument we got. We use all the common list separators.
  6737. lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  6738. for pkg in $enableval; do
  6739. IFS="$lt_save_ifs"
  6740. if test "X$pkg" = "X$p"; then
  6741. enable_static=yes
  6742. fi
  6743. done
  6744. IFS="$lt_save_ifs"
  6745. ;;
  6746. esac
  6747. else
  6748. enable_static=yes
  6749. fi
  6750. # Check whether --with-pic was given.
  6751. if test "${with_pic+set}" = set; then :
  6752. withval=$with_pic; pic_mode="$withval"
  6753. else
  6754. pic_mode=default
  6755. fi
  6756. test -z "$pic_mode" && pic_mode=default
  6757. # Check whether --enable-fast-install was given.
  6758. if test "${enable_fast_install+set}" = set; then :
  6759. enableval=$enable_fast_install; p=${PACKAGE-default}
  6760. case $enableval in
  6761. yes) enable_fast_install=yes ;;
  6762. no) enable_fast_install=no ;;
  6763. *)
  6764. enable_fast_install=no
  6765. # Look at the argument we got. We use all the common list separators.
  6766. lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  6767. for pkg in $enableval; do
  6768. IFS="$lt_save_ifs"
  6769. if test "X$pkg" = "X$p"; then
  6770. enable_fast_install=yes
  6771. fi
  6772. done
  6773. IFS="$lt_save_ifs"
  6774. ;;
  6775. esac
  6776. else
  6777. enable_fast_install=yes
  6778. fi
  6779. # This can be used to rebuild libtool when needed
  6780. LIBTOOL_DEPS="$ltmain"
  6781. # Always use our own libtool.
  6782. LIBTOOL='$(SHELL) $(top_builddir)/libtool'
  6783. test -z "$LN_S" && LN_S="ln -s"
  6784. if test -n "${ZSH_VERSION+set}" ; then
  6785. setopt NO_GLOB_SUBST
  6786. fi
  6787. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
  6788. $as_echo_n "checking for objdir... " >&6; }
  6789. if ${lt_cv_objdir+:} false; then :
  6790. $as_echo_n "(cached) " >&6
  6791. else
  6792. rm -f .libs 2>/dev/null
  6793. mkdir .libs 2>/dev/null
  6794. if test -d .libs; then
  6795. lt_cv_objdir=.libs
  6796. else
  6797. # MS-DOS does not allow filenames that begin with a dot.
  6798. lt_cv_objdir=_libs
  6799. fi
  6800. rmdir .libs 2>/dev/null
  6801. fi
  6802. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
  6803. $as_echo "$lt_cv_objdir" >&6; }
  6804. objdir=$lt_cv_objdir
  6805. cat >>confdefs.h <<_ACEOF
  6806. #define LT_OBJDIR "$lt_cv_objdir/"
  6807. _ACEOF
  6808. case $host_os in
  6809. aix3*)
  6810. # AIX sometimes has problems with the GCC collect2 program. For some
  6811. # reason, if we set the COLLECT_NAMES environment variable, the problems
  6812. # vanish in a puff of smoke.
  6813. if test "X${COLLECT_NAMES+set}" != Xset; then
  6814. COLLECT_NAMES=
  6815. export COLLECT_NAMES
  6816. fi
  6817. ;;
  6818. esac
  6819. # Global variables:
  6820. ofile=libtool
  6821. can_build_shared=yes
  6822. # All known linkers require a `.a' archive for static linking (except MSVC,
  6823. # which needs '.lib').
  6824. libext=a
  6825. with_gnu_ld="$lt_cv_prog_gnu_ld"
  6826. old_CC="$CC"
  6827. old_CFLAGS="$CFLAGS"
  6828. # Set sane defaults for various variables
  6829. test -z "$CC" && CC=cc
  6830. test -z "$LTCC" && LTCC=$CC
  6831. test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
  6832. test -z "$LD" && LD=ld
  6833. test -z "$ac_objext" && ac_objext=o
  6834. for cc_temp in $compiler""; do
  6835. case $cc_temp in
  6836. compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
  6837. distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
  6838. \-*) ;;
  6839. *) break;;
  6840. esac
  6841. done
  6842. cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
  6843. # Only perform the check for file, if the check method requires it
  6844. test -z "$MAGIC_CMD" && MAGIC_CMD=file
  6845. case $deplibs_check_method in
  6846. file_magic*)
  6847. if test "$file_magic_cmd" = '$MAGIC_CMD'; then
  6848. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
  6849. $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
  6850. if ${lt_cv_path_MAGIC_CMD+:} false; then :
  6851. $as_echo_n "(cached) " >&6
  6852. else
  6853. case $MAGIC_CMD in
  6854. [\\/*] | ?:[\\/]*)
  6855. lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
  6856. ;;
  6857. *)
  6858. lt_save_MAGIC_CMD="$MAGIC_CMD"
  6859. lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  6860. ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
  6861. for ac_dir in $ac_dummy; do
  6862. IFS="$lt_save_ifs"
  6863. test -z "$ac_dir" && ac_dir=.
  6864. if test -f $ac_dir/${ac_tool_prefix}file; then
  6865. lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
  6866. if test -n "$file_magic_test_file"; then
  6867. case $deplibs_check_method in
  6868. "file_magic "*)
  6869. file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
  6870. MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  6871. if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
  6872. $EGREP "$file_magic_regex" > /dev/null; then
  6873. :
  6874. else
  6875. cat <<_LT_EOF 1>&2
  6876. *** Warning: the command libtool uses to detect shared libraries,
  6877. *** $file_magic_cmd, produces output that libtool cannot recognize.
  6878. *** The result is that libtool may fail to recognize shared libraries
  6879. *** as such. This will affect the creation of libtool libraries that
  6880. *** depend on shared libraries, but programs linked with such libtool
  6881. *** libraries will work regardless of this problem. Nevertheless, you
  6882. *** may want to report the problem to your system manager and/or to
  6883. *** bug-libtool@gnu.org
  6884. _LT_EOF
  6885. fi ;;
  6886. esac
  6887. fi
  6888. break
  6889. fi
  6890. done
  6891. IFS="$lt_save_ifs"
  6892. MAGIC_CMD="$lt_save_MAGIC_CMD"
  6893. ;;
  6894. esac
  6895. fi
  6896. MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  6897. if test -n "$MAGIC_CMD"; then
  6898. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
  6899. $as_echo "$MAGIC_CMD" >&6; }
  6900. else
  6901. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6902. $as_echo "no" >&6; }
  6903. fi
  6904. if test -z "$lt_cv_path_MAGIC_CMD"; then
  6905. if test -n "$ac_tool_prefix"; then
  6906. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
  6907. $as_echo_n "checking for file... " >&6; }
  6908. if ${lt_cv_path_MAGIC_CMD+:} false; then :
  6909. $as_echo_n "(cached) " >&6
  6910. else
  6911. case $MAGIC_CMD in
  6912. [\\/*] | ?:[\\/]*)
  6913. lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
  6914. ;;
  6915. *)
  6916. lt_save_MAGIC_CMD="$MAGIC_CMD"
  6917. lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  6918. ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
  6919. for ac_dir in $ac_dummy; do
  6920. IFS="$lt_save_ifs"
  6921. test -z "$ac_dir" && ac_dir=.
  6922. if test -f $ac_dir/file; then
  6923. lt_cv_path_MAGIC_CMD="$ac_dir/file"
  6924. if test -n "$file_magic_test_file"; then
  6925. case $deplibs_check_method in
  6926. "file_magic "*)
  6927. file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
  6928. MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  6929. if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
  6930. $EGREP "$file_magic_regex" > /dev/null; then
  6931. :
  6932. else
  6933. cat <<_LT_EOF 1>&2
  6934. *** Warning: the command libtool uses to detect shared libraries,
  6935. *** $file_magic_cmd, produces output that libtool cannot recognize.
  6936. *** The result is that libtool may fail to recognize shared libraries
  6937. *** as such. This will affect the creation of libtool libraries that
  6938. *** depend on shared libraries, but programs linked with such libtool
  6939. *** libraries will work regardless of this problem. Nevertheless, you
  6940. *** may want to report the problem to your system manager and/or to
  6941. *** bug-libtool@gnu.org
  6942. _LT_EOF
  6943. fi ;;
  6944. esac
  6945. fi
  6946. break
  6947. fi
  6948. done
  6949. IFS="$lt_save_ifs"
  6950. MAGIC_CMD="$lt_save_MAGIC_CMD"
  6951. ;;
  6952. esac
  6953. fi
  6954. MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  6955. if test -n "$MAGIC_CMD"; then
  6956. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
  6957. $as_echo "$MAGIC_CMD" >&6; }
  6958. else
  6959. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6960. $as_echo "no" >&6; }
  6961. fi
  6962. else
  6963. MAGIC_CMD=:
  6964. fi
  6965. fi
  6966. fi
  6967. ;;
  6968. esac
  6969. # Use C for the default configuration in the libtool script
  6970. lt_save_CC="$CC"
  6971. ac_ext=c
  6972. ac_cpp='$CPP $CPPFLAGS'
  6973. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  6974. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  6975. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  6976. # Source file extension for C test sources.
  6977. ac_ext=c
  6978. # Object file extension for compiled C test sources.
  6979. objext=o
  6980. objext=$objext
  6981. # Code to be used in simple compile tests
  6982. lt_simple_compile_test_code="int some_variable = 0;"
  6983. # Code to be used in simple link tests
  6984. lt_simple_link_test_code='int main(){return(0);}'
  6985. # If no C compiler was specified, use CC.
  6986. LTCC=${LTCC-"$CC"}
  6987. # If no C compiler flags were specified, use CFLAGS.
  6988. LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
  6989. # Allow CC to be a program name with arguments.
  6990. compiler=$CC
  6991. # Save the default compiler, since it gets overwritten when the other
  6992. # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
  6993. compiler_DEFAULT=$CC
  6994. # save warnings/boilerplate of simple test code
  6995. ac_outfile=conftest.$ac_objext
  6996. echo "$lt_simple_compile_test_code" >conftest.$ac_ext
  6997. eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  6998. _lt_compiler_boilerplate=`cat conftest.err`
  6999. $RM conftest*
  7000. ac_outfile=conftest.$ac_objext
  7001. echo "$lt_simple_link_test_code" >conftest.$ac_ext
  7002. eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  7003. _lt_linker_boilerplate=`cat conftest.err`
  7004. $RM -r conftest*
  7005. ## CAVEAT EMPTOR:
  7006. ## There is no encapsulation within the following macros, do not change
  7007. ## the running order or otherwise move them around unless you know exactly
  7008. ## what you are doing...
  7009. if test -n "$compiler"; then
  7010. lt_prog_compiler_no_builtin_flag=
  7011. if test "$GCC" = yes; then
  7012. case $cc_basename in
  7013. nvcc*)
  7014. lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
  7015. *)
  7016. lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
  7017. esac
  7018. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
  7019. $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
  7020. if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
  7021. $as_echo_n "(cached) " >&6
  7022. else
  7023. lt_cv_prog_compiler_rtti_exceptions=no
  7024. ac_outfile=conftest.$ac_objext
  7025. echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  7026. lt_compiler_flag="-fno-rtti -fno-exceptions"
  7027. # Insert the option either (1) after the last *FLAGS variable, or
  7028. # (2) before a word containing "conftest.", or (3) at the end.
  7029. # Note that $ac_compile itself does not contain backslashes and begins
  7030. # with a dollar sign (not a hyphen), so the echo should work correctly.
  7031. # The option is referenced via a variable to avoid confusing sed.
  7032. lt_compile=`echo "$ac_compile" | $SED \
  7033. -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  7034. -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  7035. -e 's:$: $lt_compiler_flag:'`
  7036. (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  7037. (eval "$lt_compile" 2>conftest.err)
  7038. ac_status=$?
  7039. cat conftest.err >&5
  7040. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7041. if (exit $ac_status) && test -s "$ac_outfile"; then
  7042. # The compiler can only warn and ignore the option if not recognized
  7043. # So say no if there are warnings other than the usual output.
  7044. $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
  7045. $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  7046. if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  7047. lt_cv_prog_compiler_rtti_exceptions=yes
  7048. fi
  7049. fi
  7050. $RM conftest*
  7051. fi
  7052. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
  7053. $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
  7054. if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
  7055. lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
  7056. else
  7057. :
  7058. fi
  7059. fi
  7060. lt_prog_compiler_wl=
  7061. lt_prog_compiler_pic=
  7062. lt_prog_compiler_static=
  7063. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
  7064. $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
  7065. if test "$GCC" = yes; then
  7066. lt_prog_compiler_wl='-Wl,'
  7067. lt_prog_compiler_static='-static'
  7068. case $host_os in
  7069. aix*)
  7070. # All AIX code is PIC.
  7071. if test "$host_cpu" = ia64; then
  7072. # AIX 5 now supports IA64 processor
  7073. lt_prog_compiler_static='-Bstatic'
  7074. fi
  7075. lt_prog_compiler_pic='-fPIC'
  7076. ;;
  7077. amigaos*)
  7078. case $host_cpu in
  7079. powerpc)
  7080. # see comment about AmigaOS4 .so support
  7081. lt_prog_compiler_pic='-fPIC'
  7082. ;;
  7083. m68k)
  7084. # FIXME: we need at least 68020 code to build shared libraries, but
  7085. # adding the `-m68020' flag to GCC prevents building anything better,
  7086. # like `-m68040'.
  7087. lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
  7088. ;;
  7089. esac
  7090. ;;
  7091. beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
  7092. # PIC is the default for these OSes.
  7093. ;;
  7094. mingw* | cygwin* | pw32* | os2* | cegcc*)
  7095. # This hack is so that the source file can tell whether it is being
  7096. # built for inclusion in a dll (and should export symbols for example).
  7097. # Although the cygwin gcc ignores -fPIC, still need this for old-style
  7098. # (--disable-auto-import) libraries
  7099. lt_prog_compiler_pic='-DDLL_EXPORT'
  7100. ;;
  7101. darwin* | rhapsody*)
  7102. # PIC is the default on this platform
  7103. # Common symbols not allowed in MH_DYLIB files
  7104. lt_prog_compiler_pic='-fno-common'
  7105. ;;
  7106. haiku*)
  7107. # PIC is the default for Haiku.
  7108. # The "-static" flag exists, but is broken.
  7109. lt_prog_compiler_static=
  7110. ;;
  7111. hpux*)
  7112. # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
  7113. # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
  7114. # sets the default TLS model and affects inlining.
  7115. case $host_cpu in
  7116. hppa*64*)
  7117. # +Z the default
  7118. ;;
  7119. *)
  7120. lt_prog_compiler_pic='-fPIC'
  7121. ;;
  7122. esac
  7123. ;;
  7124. interix[3-9]*)
  7125. # Interix 3.x gcc -fpic/-fPIC options generate broken code.
  7126. # Instead, we relocate shared libraries at runtime.
  7127. ;;
  7128. msdosdjgpp*)
  7129. # Just because we use GCC doesn't mean we suddenly get shared libraries
  7130. # on systems that don't support them.
  7131. lt_prog_compiler_can_build_shared=no
  7132. enable_shared=no
  7133. ;;
  7134. *nto* | *qnx*)
  7135. # QNX uses GNU C++, but need to define -shared option too, otherwise
  7136. # it will coredump.
  7137. lt_prog_compiler_pic='-fPIC -shared'
  7138. ;;
  7139. sysv4*MP*)
  7140. if test -d /usr/nec; then
  7141. lt_prog_compiler_pic=-Kconform_pic
  7142. fi
  7143. ;;
  7144. *)
  7145. lt_prog_compiler_pic='-fPIC'
  7146. ;;
  7147. esac
  7148. case $cc_basename in
  7149. nvcc*) # Cuda Compiler Driver 2.2
  7150. lt_prog_compiler_wl='-Xlinker '
  7151. lt_prog_compiler_pic='-Xcompiler -fPIC'
  7152. ;;
  7153. esac
  7154. else
  7155. # PORTME Check for flag to pass linker flags through the system compiler.
  7156. case $host_os in
  7157. aix*)
  7158. lt_prog_compiler_wl='-Wl,'
  7159. if test "$host_cpu" = ia64; then
  7160. # AIX 5 now supports IA64 processor
  7161. lt_prog_compiler_static='-Bstatic'
  7162. else
  7163. lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
  7164. fi
  7165. ;;
  7166. mingw* | cygwin* | pw32* | os2* | cegcc*)
  7167. # This hack is so that the source file can tell whether it is being
  7168. # built for inclusion in a dll (and should export symbols for example).
  7169. lt_prog_compiler_pic='-DDLL_EXPORT'
  7170. ;;
  7171. hpux9* | hpux10* | hpux11*)
  7172. lt_prog_compiler_wl='-Wl,'
  7173. # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
  7174. # not for PA HP-UX.
  7175. case $host_cpu in
  7176. hppa*64*|ia64*)
  7177. # +Z the default
  7178. ;;
  7179. *)
  7180. lt_prog_compiler_pic='+Z'
  7181. ;;
  7182. esac
  7183. # Is there a better lt_prog_compiler_static that works with the bundled CC?
  7184. lt_prog_compiler_static='${wl}-a ${wl}archive'
  7185. ;;
  7186. irix5* | irix6* | nonstopux*)
  7187. lt_prog_compiler_wl='-Wl,'
  7188. # PIC (with -KPIC) is the default.
  7189. lt_prog_compiler_static='-non_shared'
  7190. ;;
  7191. linux* | k*bsd*-gnu | kopensolaris*-gnu)
  7192. case $cc_basename in
  7193. # old Intel for x86_64 which still supported -KPIC.
  7194. ecc*)
  7195. lt_prog_compiler_wl='-Wl,'
  7196. lt_prog_compiler_pic='-KPIC'
  7197. lt_prog_compiler_static='-static'
  7198. ;;
  7199. # icc used to be incompatible with GCC.
  7200. # ICC 10 doesn't accept -KPIC any more.
  7201. icc* | ifort*)
  7202. lt_prog_compiler_wl='-Wl,'
  7203. lt_prog_compiler_pic='-fPIC'
  7204. lt_prog_compiler_static='-static'
  7205. ;;
  7206. # Lahey Fortran 8.1.
  7207. lf95*)
  7208. lt_prog_compiler_wl='-Wl,'
  7209. lt_prog_compiler_pic='--shared'
  7210. lt_prog_compiler_static='--static'
  7211. ;;
  7212. pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
  7213. # Portland Group compilers (*not* the Pentium gcc compiler,
  7214. # which looks to be a dead project)
  7215. lt_prog_compiler_wl='-Wl,'
  7216. lt_prog_compiler_pic='-fpic'
  7217. lt_prog_compiler_static='-Bstatic'
  7218. ;;
  7219. ccc*)
  7220. lt_prog_compiler_wl='-Wl,'
  7221. # All Alpha code is PIC.
  7222. lt_prog_compiler_static='-non_shared'
  7223. ;;
  7224. xl* | bgxl* | bgf* | mpixl*)
  7225. # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
  7226. lt_prog_compiler_wl='-Wl,'
  7227. lt_prog_compiler_pic='-qpic'
  7228. lt_prog_compiler_static='-qstaticlink'
  7229. ;;
  7230. *)
  7231. case `$CC -V 2>&1 | sed 5q` in
  7232. *Sun\ F* | *Sun*Fortran*)
  7233. # Sun Fortran 8.3 passes all unrecognized flags to the linker
  7234. lt_prog_compiler_pic='-KPIC'
  7235. lt_prog_compiler_static='-Bstatic'
  7236. lt_prog_compiler_wl=''
  7237. ;;
  7238. *Sun\ C*)
  7239. # Sun C 5.9
  7240. lt_prog_compiler_pic='-KPIC'
  7241. lt_prog_compiler_static='-Bstatic'
  7242. lt_prog_compiler_wl='-Wl,'
  7243. ;;
  7244. esac
  7245. ;;
  7246. esac
  7247. ;;
  7248. newsos6)
  7249. lt_prog_compiler_pic='-KPIC'
  7250. lt_prog_compiler_static='-Bstatic'
  7251. ;;
  7252. *nto* | *qnx*)
  7253. # QNX uses GNU C++, but need to define -shared option too, otherwise
  7254. # it will coredump.
  7255. lt_prog_compiler_pic='-fPIC -shared'
  7256. ;;
  7257. osf3* | osf4* | osf5*)
  7258. lt_prog_compiler_wl='-Wl,'
  7259. # All OSF/1 code is PIC.
  7260. lt_prog_compiler_static='-non_shared'
  7261. ;;
  7262. rdos*)
  7263. lt_prog_compiler_static='-non_shared'
  7264. ;;
  7265. solaris*)
  7266. lt_prog_compiler_pic='-KPIC'
  7267. lt_prog_compiler_static='-Bstatic'
  7268. case $cc_basename in
  7269. f77* | f90* | f95*)
  7270. lt_prog_compiler_wl='-Qoption ld ';;
  7271. *)
  7272. lt_prog_compiler_wl='-Wl,';;
  7273. esac
  7274. ;;
  7275. sunos4*)
  7276. lt_prog_compiler_wl='-Qoption ld '
  7277. lt_prog_compiler_pic='-PIC'
  7278. lt_prog_compiler_static='-Bstatic'
  7279. ;;
  7280. sysv4 | sysv4.2uw2* | sysv4.3*)
  7281. lt_prog_compiler_wl='-Wl,'
  7282. lt_prog_compiler_pic='-KPIC'
  7283. lt_prog_compiler_static='-Bstatic'
  7284. ;;
  7285. sysv4*MP*)
  7286. if test -d /usr/nec ;then
  7287. lt_prog_compiler_pic='-Kconform_pic'
  7288. lt_prog_compiler_static='-Bstatic'
  7289. fi
  7290. ;;
  7291. sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
  7292. lt_prog_compiler_wl='-Wl,'
  7293. lt_prog_compiler_pic='-KPIC'
  7294. lt_prog_compiler_static='-Bstatic'
  7295. ;;
  7296. unicos*)
  7297. lt_prog_compiler_wl='-Wl,'
  7298. lt_prog_compiler_can_build_shared=no
  7299. ;;
  7300. uts4*)
  7301. lt_prog_compiler_pic='-pic'
  7302. lt_prog_compiler_static='-Bstatic'
  7303. ;;
  7304. *)
  7305. lt_prog_compiler_can_build_shared=no
  7306. ;;
  7307. esac
  7308. fi
  7309. case $host_os in
  7310. # For platforms which do not support PIC, -DPIC is meaningless:
  7311. *djgpp*)
  7312. lt_prog_compiler_pic=
  7313. ;;
  7314. *)
  7315. lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
  7316. ;;
  7317. esac
  7318. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
  7319. $as_echo "$lt_prog_compiler_pic" >&6; }
  7320. #
  7321. # Check to make sure the PIC flag actually works.
  7322. #
  7323. if test -n "$lt_prog_compiler_pic"; then
  7324. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
  7325. $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
  7326. if ${lt_cv_prog_compiler_pic_works+:} false; then :
  7327. $as_echo_n "(cached) " >&6
  7328. else
  7329. lt_cv_prog_compiler_pic_works=no
  7330. ac_outfile=conftest.$ac_objext
  7331. echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  7332. lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
  7333. # Insert the option either (1) after the last *FLAGS variable, or
  7334. # (2) before a word containing "conftest.", or (3) at the end.
  7335. # Note that $ac_compile itself does not contain backslashes and begins
  7336. # with a dollar sign (not a hyphen), so the echo should work correctly.
  7337. # The option is referenced via a variable to avoid confusing sed.
  7338. lt_compile=`echo "$ac_compile" | $SED \
  7339. -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  7340. -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  7341. -e 's:$: $lt_compiler_flag:'`
  7342. (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  7343. (eval "$lt_compile" 2>conftest.err)
  7344. ac_status=$?
  7345. cat conftest.err >&5
  7346. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7347. if (exit $ac_status) && test -s "$ac_outfile"; then
  7348. # The compiler can only warn and ignore the option if not recognized
  7349. # So say no if there are warnings other than the usual output.
  7350. $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
  7351. $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  7352. if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  7353. lt_cv_prog_compiler_pic_works=yes
  7354. fi
  7355. fi
  7356. $RM conftest*
  7357. fi
  7358. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
  7359. $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
  7360. if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
  7361. case $lt_prog_compiler_pic in
  7362. "" | " "*) ;;
  7363. *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
  7364. esac
  7365. else
  7366. lt_prog_compiler_pic=
  7367. lt_prog_compiler_can_build_shared=no
  7368. fi
  7369. fi
  7370. #
  7371. # Check to make sure the static flag actually works.
  7372. #
  7373. wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
  7374. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
  7375. $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
  7376. if ${lt_cv_prog_compiler_static_works+:} false; then :
  7377. $as_echo_n "(cached) " >&6
  7378. else
  7379. lt_cv_prog_compiler_static_works=no
  7380. save_LDFLAGS="$LDFLAGS"
  7381. LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
  7382. echo "$lt_simple_link_test_code" > conftest.$ac_ext
  7383. if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
  7384. # The linker can only warn and ignore the option if not recognized
  7385. # So say no if there are warnings
  7386. if test -s conftest.err; then
  7387. # Append any errors to the config.log.
  7388. cat conftest.err 1>&5
  7389. $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
  7390. $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  7391. if diff conftest.exp conftest.er2 >/dev/null; then
  7392. lt_cv_prog_compiler_static_works=yes
  7393. fi
  7394. else
  7395. lt_cv_prog_compiler_static_works=yes
  7396. fi
  7397. fi
  7398. $RM -r conftest*
  7399. LDFLAGS="$save_LDFLAGS"
  7400. fi
  7401. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
  7402. $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
  7403. if test x"$lt_cv_prog_compiler_static_works" = xyes; then
  7404. :
  7405. else
  7406. lt_prog_compiler_static=
  7407. fi
  7408. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
  7409. $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
  7410. if ${lt_cv_prog_compiler_c_o+:} false; then :
  7411. $as_echo_n "(cached) " >&6
  7412. else
  7413. lt_cv_prog_compiler_c_o=no
  7414. $RM -r conftest 2>/dev/null
  7415. mkdir conftest
  7416. cd conftest
  7417. mkdir out
  7418. echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  7419. lt_compiler_flag="-o out/conftest2.$ac_objext"
  7420. # Insert the option either (1) after the last *FLAGS variable, or
  7421. # (2) before a word containing "conftest.", or (3) at the end.
  7422. # Note that $ac_compile itself does not contain backslashes and begins
  7423. # with a dollar sign (not a hyphen), so the echo should work correctly.
  7424. lt_compile=`echo "$ac_compile" | $SED \
  7425. -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  7426. -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  7427. -e 's:$: $lt_compiler_flag:'`
  7428. (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  7429. (eval "$lt_compile" 2>out/conftest.err)
  7430. ac_status=$?
  7431. cat out/conftest.err >&5
  7432. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7433. if (exit $ac_status) && test -s out/conftest2.$ac_objext
  7434. then
  7435. # The compiler can only warn and ignore the option if not recognized
  7436. # So say no if there are warnings
  7437. $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
  7438. $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  7439. if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  7440. lt_cv_prog_compiler_c_o=yes
  7441. fi
  7442. fi
  7443. chmod u+w . 2>&5
  7444. $RM conftest*
  7445. # SGI C++ compiler will create directory out/ii_files/ for
  7446. # template instantiation
  7447. test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
  7448. $RM out/* && rmdir out
  7449. cd ..
  7450. $RM -r conftest
  7451. $RM conftest*
  7452. fi
  7453. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
  7454. $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
  7455. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
  7456. $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
  7457. if ${lt_cv_prog_compiler_c_o+:} false; then :
  7458. $as_echo_n "(cached) " >&6
  7459. else
  7460. lt_cv_prog_compiler_c_o=no
  7461. $RM -r conftest 2>/dev/null
  7462. mkdir conftest
  7463. cd conftest
  7464. mkdir out
  7465. echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  7466. lt_compiler_flag="-o out/conftest2.$ac_objext"
  7467. # Insert the option either (1) after the last *FLAGS variable, or
  7468. # (2) before a word containing "conftest.", or (3) at the end.
  7469. # Note that $ac_compile itself does not contain backslashes and begins
  7470. # with a dollar sign (not a hyphen), so the echo should work correctly.
  7471. lt_compile=`echo "$ac_compile" | $SED \
  7472. -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  7473. -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  7474. -e 's:$: $lt_compiler_flag:'`
  7475. (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  7476. (eval "$lt_compile" 2>out/conftest.err)
  7477. ac_status=$?
  7478. cat out/conftest.err >&5
  7479. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7480. if (exit $ac_status) && test -s out/conftest2.$ac_objext
  7481. then
  7482. # The compiler can only warn and ignore the option if not recognized
  7483. # So say no if there are warnings
  7484. $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
  7485. $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  7486. if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  7487. lt_cv_prog_compiler_c_o=yes
  7488. fi
  7489. fi
  7490. chmod u+w . 2>&5
  7491. $RM conftest*
  7492. # SGI C++ compiler will create directory out/ii_files/ for
  7493. # template instantiation
  7494. test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
  7495. $RM out/* && rmdir out
  7496. cd ..
  7497. $RM -r conftest
  7498. $RM conftest*
  7499. fi
  7500. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
  7501. $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
  7502. hard_links="nottested"
  7503. if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
  7504. # do not overwrite the value of need_locks provided by the user
  7505. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
  7506. $as_echo_n "checking if we can lock with hard links... " >&6; }
  7507. hard_links=yes
  7508. $RM conftest*
  7509. ln conftest.a conftest.b 2>/dev/null && hard_links=no
  7510. touch conftest.a
  7511. ln conftest.a conftest.b 2>&5 || hard_links=no
  7512. ln conftest.a conftest.b 2>/dev/null && hard_links=no
  7513. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
  7514. $as_echo "$hard_links" >&6; }
  7515. if test "$hard_links" = no; then
  7516. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
  7517. $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
  7518. need_locks=warn
  7519. fi
  7520. else
  7521. need_locks=no
  7522. fi
  7523. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
  7524. $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
  7525. runpath_var=
  7526. allow_undefined_flag=
  7527. always_export_symbols=no
  7528. archive_cmds=
  7529. archive_expsym_cmds=
  7530. compiler_needs_object=no
  7531. enable_shared_with_static_runtimes=no
  7532. export_dynamic_flag_spec=
  7533. export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  7534. hardcode_automatic=no
  7535. hardcode_direct=no
  7536. hardcode_direct_absolute=no
  7537. hardcode_libdir_flag_spec=
  7538. hardcode_libdir_flag_spec_ld=
  7539. hardcode_libdir_separator=
  7540. hardcode_minus_L=no
  7541. hardcode_shlibpath_var=unsupported
  7542. inherit_rpath=no
  7543. link_all_deplibs=unknown
  7544. module_cmds=
  7545. module_expsym_cmds=
  7546. old_archive_from_new_cmds=
  7547. old_archive_from_expsyms_cmds=
  7548. thread_safe_flag_spec=
  7549. whole_archive_flag_spec=
  7550. # include_expsyms should be a list of space-separated symbols to be *always*
  7551. # included in the symbol list
  7552. include_expsyms=
  7553. # exclude_expsyms can be an extended regexp of symbols to exclude
  7554. # it will be wrapped by ` (' and `)$', so one must not match beginning or
  7555. # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
  7556. # as well as any symbol that contains `d'.
  7557. exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
  7558. # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
  7559. # platforms (ab)use it in PIC code, but their linkers get confused if
  7560. # the symbol is explicitly referenced. Since portable code cannot
  7561. # rely on this symbol name, it's probably fine to never include it in
  7562. # preloaded symbol tables.
  7563. # Exclude shared library initialization/finalization symbols.
  7564. extract_expsyms_cmds=
  7565. case $host_os in
  7566. cygwin* | mingw* | pw32* | cegcc*)
  7567. # FIXME: the MSVC++ port hasn't been tested in a loooong time
  7568. # When not using gcc, we currently assume that we are using
  7569. # Microsoft Visual C++.
  7570. if test "$GCC" != yes; then
  7571. with_gnu_ld=no
  7572. fi
  7573. ;;
  7574. interix*)
  7575. # we just hope/assume this is gcc and not c89 (= MSVC++)
  7576. with_gnu_ld=yes
  7577. ;;
  7578. openbsd*)
  7579. with_gnu_ld=no
  7580. ;;
  7581. esac
  7582. ld_shlibs=yes
  7583. # On some targets, GNU ld is compatible enough with the native linker
  7584. # that we're better off using the native interface for both.
  7585. lt_use_gnu_ld_interface=no
  7586. if test "$with_gnu_ld" = yes; then
  7587. case $host_os in
  7588. aix*)
  7589. # The AIX port of GNU ld has always aspired to compatibility
  7590. # with the native linker. However, as the warning in the GNU ld
  7591. # block says, versions before 2.19.5* couldn't really create working
  7592. # shared libraries, regardless of the interface used.
  7593. case `$LD -v 2>&1` in
  7594. *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
  7595. *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
  7596. *\ \(GNU\ Binutils\)\ [3-9]*) ;;
  7597. *)
  7598. lt_use_gnu_ld_interface=yes
  7599. ;;
  7600. esac
  7601. ;;
  7602. *)
  7603. lt_use_gnu_ld_interface=yes
  7604. ;;
  7605. esac
  7606. fi
  7607. if test "$lt_use_gnu_ld_interface" = yes; then
  7608. # If archive_cmds runs LD, not CC, wlarc should be empty
  7609. wlarc='${wl}'
  7610. # Set some defaults for GNU ld with shared library support. These
  7611. # are reset later if shared libraries are not supported. Putting them
  7612. # here allows them to be overridden if necessary.
  7613. runpath_var=LD_RUN_PATH
  7614. hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  7615. export_dynamic_flag_spec='${wl}--export-dynamic'
  7616. # ancient GNU ld didn't support --whole-archive et. al.
  7617. if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
  7618. whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
  7619. else
  7620. whole_archive_flag_spec=
  7621. fi
  7622. supports_anon_versioning=no
  7623. case `$LD -v 2>&1` in
  7624. *GNU\ gold*) supports_anon_versioning=yes ;;
  7625. *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
  7626. *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
  7627. *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
  7628. *\ 2.11.*) ;; # other 2.11 versions
  7629. *) supports_anon_versioning=yes ;;
  7630. esac
  7631. # See if GNU ld supports shared libraries.
  7632. case $host_os in
  7633. aix[3-9]*)
  7634. # On AIX/PPC, the GNU linker is very broken
  7635. if test "$host_cpu" != ia64; then
  7636. ld_shlibs=no
  7637. cat <<_LT_EOF 1>&2
  7638. *** Warning: the GNU linker, at least up to release 2.19, is reported
  7639. *** to be unable to reliably create shared libraries on AIX.
  7640. *** Therefore, libtool is disabling shared libraries support. If you
  7641. *** really care for shared libraries, you may want to install binutils
  7642. *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
  7643. *** You will then need to restart the configuration process.
  7644. _LT_EOF
  7645. fi
  7646. ;;
  7647. amigaos*)
  7648. case $host_cpu in
  7649. powerpc)
  7650. # see comment about AmigaOS4 .so support
  7651. archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  7652. archive_expsym_cmds=''
  7653. ;;
  7654. m68k)
  7655. 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)'
  7656. hardcode_libdir_flag_spec='-L$libdir'
  7657. hardcode_minus_L=yes
  7658. ;;
  7659. esac
  7660. ;;
  7661. beos*)
  7662. if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  7663. allow_undefined_flag=unsupported
  7664. # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
  7665. # support --undefined. This deserves some investigation. FIXME
  7666. archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  7667. else
  7668. ld_shlibs=no
  7669. fi
  7670. ;;
  7671. cygwin* | mingw* | pw32* | cegcc*)
  7672. # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
  7673. # as there is no search path for DLLs.
  7674. hardcode_libdir_flag_spec='-L$libdir'
  7675. export_dynamic_flag_spec='${wl}--export-all-symbols'
  7676. allow_undefined_flag=unsupported
  7677. always_export_symbols=no
  7678. enable_shared_with_static_runtimes=yes
  7679. export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
  7680. if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
  7681. archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  7682. # If the export-symbols file already is a .def file (1st line
  7683. # is EXPORTS), use it as is; otherwise, prepend...
  7684. archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
  7685. cp $export_symbols $output_objdir/$soname.def;
  7686. else
  7687. echo EXPORTS > $output_objdir/$soname.def;
  7688. cat $export_symbols >> $output_objdir/$soname.def;
  7689. fi~
  7690. $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  7691. else
  7692. ld_shlibs=no
  7693. fi
  7694. ;;
  7695. haiku*)
  7696. archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  7697. link_all_deplibs=yes
  7698. ;;
  7699. interix[3-9]*)
  7700. hardcode_direct=no
  7701. hardcode_shlibpath_var=no
  7702. hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
  7703. export_dynamic_flag_spec='${wl}-E'
  7704. # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
  7705. # Instead, shared libraries are loaded at an image base (0x10000000 by
  7706. # default) and relocated if they conflict, which is a slow very memory
  7707. # consuming and fragmenting process. To avoid this, we pick a random,
  7708. # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
  7709. # time. Moving up from 0x10000000 also allows more sbrk(2) space.
  7710. archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
  7711. archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
  7712. ;;
  7713. gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
  7714. tmp_diet=no
  7715. if test "$host_os" = linux-dietlibc; then
  7716. case $cc_basename in
  7717. diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
  7718. esac
  7719. fi
  7720. if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
  7721. && test "$tmp_diet" = no
  7722. then
  7723. tmp_addflag=' $pic_flag'
  7724. tmp_sharedflag='-shared'
  7725. case $cc_basename,$host_cpu in
  7726. pgcc*) # Portland Group C compiler
  7727. whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
  7728. tmp_addflag=' $pic_flag'
  7729. ;;
  7730. pgf77* | pgf90* | pgf95* | pgfortran*)
  7731. # Portland Group f77 and f90 compilers
  7732. whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
  7733. tmp_addflag=' $pic_flag -Mnomain' ;;
  7734. ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
  7735. tmp_addflag=' -i_dynamic' ;;
  7736. efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
  7737. tmp_addflag=' -i_dynamic -nofor_main' ;;
  7738. ifc* | ifort*) # Intel Fortran compiler
  7739. tmp_addflag=' -nofor_main' ;;
  7740. lf95*) # Lahey Fortran 8.1
  7741. whole_archive_flag_spec=
  7742. tmp_sharedflag='--shared' ;;
  7743. xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
  7744. tmp_sharedflag='-qmkshrobj'
  7745. tmp_addflag= ;;
  7746. nvcc*) # Cuda Compiler Driver 2.2
  7747. whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
  7748. compiler_needs_object=yes
  7749. ;;
  7750. esac
  7751. case `$CC -V 2>&1 | sed 5q` in
  7752. *Sun\ C*) # Sun C 5.9
  7753. whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
  7754. compiler_needs_object=yes
  7755. tmp_sharedflag='-G' ;;
  7756. *Sun\ F*) # Sun Fortran 8.3
  7757. tmp_sharedflag='-G' ;;
  7758. esac
  7759. archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  7760. if test "x$supports_anon_versioning" = xyes; then
  7761. archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
  7762. cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  7763. echo "local: *; };" >> $output_objdir/$libname.ver~
  7764. $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
  7765. fi
  7766. case $cc_basename in
  7767. xlf* | bgf* | bgxlf* | mpixlf*)
  7768. # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
  7769. whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
  7770. hardcode_libdir_flag_spec=
  7771. hardcode_libdir_flag_spec_ld='-rpath $libdir'
  7772. archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
  7773. if test "x$supports_anon_versioning" = xyes; then
  7774. archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
  7775. cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  7776. echo "local: *; };" >> $output_objdir/$libname.ver~
  7777. $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
  7778. fi
  7779. ;;
  7780. esac
  7781. else
  7782. ld_shlibs=no
  7783. fi
  7784. ;;
  7785. netbsd*)
  7786. if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  7787. archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
  7788. wlarc=
  7789. else
  7790. archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  7791. archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  7792. fi
  7793. ;;
  7794. solaris*)
  7795. if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
  7796. ld_shlibs=no
  7797. cat <<_LT_EOF 1>&2
  7798. *** Warning: The releases 2.8.* of the GNU linker cannot reliably
  7799. *** create shared libraries on Solaris systems. Therefore, libtool
  7800. *** is disabling shared libraries support. We urge you to upgrade GNU
  7801. *** binutils to release 2.9.1 or newer. Another option is to modify
  7802. *** your PATH or compiler configuration so that the native linker is
  7803. *** used, and then restart.
  7804. _LT_EOF
  7805. elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  7806. archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  7807. archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  7808. else
  7809. ld_shlibs=no
  7810. fi
  7811. ;;
  7812. sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
  7813. case `$LD -v 2>&1` in
  7814. *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
  7815. ld_shlibs=no
  7816. cat <<_LT_EOF 1>&2
  7817. *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
  7818. *** reliably create shared libraries on SCO systems. Therefore, libtool
  7819. *** is disabling shared libraries support. We urge you to upgrade GNU
  7820. *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
  7821. *** your PATH or compiler configuration so that the native linker is
  7822. *** used, and then restart.
  7823. _LT_EOF
  7824. ;;
  7825. *)
  7826. # For security reasons, it is highly recommended that you always
  7827. # use absolute paths for naming shared libraries, and exclude the
  7828. # DT_RUNPATH tag from executables and libraries. But doing so
  7829. # requires that you compile everything twice, which is a pain.
  7830. if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  7831. hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  7832. archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  7833. archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  7834. else
  7835. ld_shlibs=no
  7836. fi
  7837. ;;
  7838. esac
  7839. ;;
  7840. sunos4*)
  7841. archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  7842. wlarc=
  7843. hardcode_direct=yes
  7844. hardcode_shlibpath_var=no
  7845. ;;
  7846. *)
  7847. if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  7848. archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  7849. archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  7850. else
  7851. ld_shlibs=no
  7852. fi
  7853. ;;
  7854. esac
  7855. if test "$ld_shlibs" = no; then
  7856. runpath_var=
  7857. hardcode_libdir_flag_spec=
  7858. export_dynamic_flag_spec=
  7859. whole_archive_flag_spec=
  7860. fi
  7861. else
  7862. # PORTME fill in a description of your system's linker (not GNU ld)
  7863. case $host_os in
  7864. aix3*)
  7865. allow_undefined_flag=unsupported
  7866. always_export_symbols=yes
  7867. 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'
  7868. # Note: this linker hardcodes the directories in LIBPATH if there
  7869. # are no directories specified by -L.
  7870. hardcode_minus_L=yes
  7871. if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
  7872. # Neither direct hardcoding nor static linking is supported with a
  7873. # broken collect2.
  7874. hardcode_direct=unsupported
  7875. fi
  7876. ;;
  7877. aix[4-9]*)
  7878. if test "$host_cpu" = ia64; then
  7879. # On IA64, the linker does run time linking by default, so we don't
  7880. # have to do anything special.
  7881. aix_use_runtimelinking=no
  7882. exp_sym_flag='-Bexport'
  7883. no_entry_flag=""
  7884. else
  7885. # If we're using GNU nm, then we don't want the "-C" option.
  7886. # -C means demangle to AIX nm, but means don't demangle with GNU nm
  7887. # Also, AIX nm treats weak defined symbols like other global
  7888. # defined symbols, whereas GNU nm marks them as "W".
  7889. if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
  7890. export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
  7891. else
  7892. export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
  7893. fi
  7894. aix_use_runtimelinking=no
  7895. # Test if we are trying to use run time linking or normal
  7896. # AIX style linking. If -brtl is somewhere in LDFLAGS, we
  7897. # need to do runtime linking.
  7898. case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
  7899. for ld_flag in $LDFLAGS; do
  7900. if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
  7901. aix_use_runtimelinking=yes
  7902. break
  7903. fi
  7904. done
  7905. ;;
  7906. esac
  7907. exp_sym_flag='-bexport'
  7908. no_entry_flag='-bnoentry'
  7909. fi
  7910. # When large executables or shared objects are built, AIX ld can
  7911. # have problems creating the table of contents. If linking a library
  7912. # or program results in "error TOC overflow" add -mminimal-toc to
  7913. # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
  7914. # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
  7915. archive_cmds=''
  7916. hardcode_direct=yes
  7917. hardcode_direct_absolute=yes
  7918. hardcode_libdir_separator=':'
  7919. link_all_deplibs=yes
  7920. file_list_spec='${wl}-f,'
  7921. if test "$GCC" = yes; then
  7922. case $host_os in aix4.[012]|aix4.[012].*)
  7923. # We only want to do this on AIX 4.2 and lower, the check
  7924. # below for broken collect2 doesn't work under 4.3+
  7925. collect2name=`${CC} -print-prog-name=collect2`
  7926. if test -f "$collect2name" &&
  7927. strings "$collect2name" | $GREP resolve_lib_name >/dev/null
  7928. then
  7929. # We have reworked collect2
  7930. :
  7931. else
  7932. # We have old collect2
  7933. hardcode_direct=unsupported
  7934. # It fails to find uninstalled libraries when the uninstalled
  7935. # path is not listed in the libpath. Setting hardcode_minus_L
  7936. # to unsupported forces relinking
  7937. hardcode_minus_L=yes
  7938. hardcode_libdir_flag_spec='-L$libdir'
  7939. hardcode_libdir_separator=
  7940. fi
  7941. ;;
  7942. esac
  7943. shared_flag='-shared'
  7944. if test "$aix_use_runtimelinking" = yes; then
  7945. shared_flag="$shared_flag "'${wl}-G'
  7946. fi
  7947. else
  7948. # not using gcc
  7949. if test "$host_cpu" = ia64; then
  7950. # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
  7951. # chokes on -Wl,-G. The following line is correct:
  7952. shared_flag='-G'
  7953. else
  7954. if test "$aix_use_runtimelinking" = yes; then
  7955. shared_flag='${wl}-G'
  7956. else
  7957. shared_flag='${wl}-bM:SRE'
  7958. fi
  7959. fi
  7960. fi
  7961. export_dynamic_flag_spec='${wl}-bexpall'
  7962. # It seems that -bexpall does not export symbols beginning with
  7963. # underscore (_), so it is better to generate a list of symbols to export.
  7964. always_export_symbols=yes
  7965. if test "$aix_use_runtimelinking" = yes; then
  7966. # Warning - without using the other runtime loading flags (-brtl),
  7967. # -berok will link without error, but may produce a broken library.
  7968. allow_undefined_flag='-berok'
  7969. # Determine the default libpath from the value encoded in an
  7970. # empty executable.
  7971. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7972. /* end confdefs.h. */
  7973. int
  7974. main ()
  7975. {
  7976. ;
  7977. return 0;
  7978. }
  7979. _ACEOF
  7980. if ac_fn_c_try_link "$LINENO"; then :
  7981. lt_aix_libpath_sed='
  7982. /Import File Strings/,/^$/ {
  7983. /^0/ {
  7984. s/^0 *\(.*\)$/\1/
  7985. p
  7986. }
  7987. }'
  7988. aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  7989. # Check for a 64-bit object if we didn't find anything.
  7990. if test -z "$aix_libpath"; then
  7991. aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  7992. fi
  7993. fi
  7994. rm -f core conftest.err conftest.$ac_objext \
  7995. conftest$ac_exeext conftest.$ac_ext
  7996. if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  7997. hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
  7998. archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
  7999. else
  8000. if test "$host_cpu" = ia64; then
  8001. hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
  8002. allow_undefined_flag="-z nodefs"
  8003. archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
  8004. else
  8005. # Determine the default libpath from the value encoded in an
  8006. # empty executable.
  8007. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8008. /* end confdefs.h. */
  8009. int
  8010. main ()
  8011. {
  8012. ;
  8013. return 0;
  8014. }
  8015. _ACEOF
  8016. if ac_fn_c_try_link "$LINENO"; then :
  8017. lt_aix_libpath_sed='
  8018. /Import File Strings/,/^$/ {
  8019. /^0/ {
  8020. s/^0 *\(.*\)$/\1/
  8021. p
  8022. }
  8023. }'
  8024. aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  8025. # Check for a 64-bit object if we didn't find anything.
  8026. if test -z "$aix_libpath"; then
  8027. aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  8028. fi
  8029. fi
  8030. rm -f core conftest.err conftest.$ac_objext \
  8031. conftest$ac_exeext conftest.$ac_ext
  8032. if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  8033. hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
  8034. # Warning - without using the other run time loading flags,
  8035. # -berok will link without error, but may produce a broken library.
  8036. no_undefined_flag=' ${wl}-bernotok'
  8037. allow_undefined_flag=' ${wl}-berok'
  8038. if test "$with_gnu_ld" = yes; then
  8039. # We only use this code for GNU lds that support --whole-archive.
  8040. whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
  8041. else
  8042. # Exported symbols can be pulled into shared objects from archives
  8043. whole_archive_flag_spec='$convenience'
  8044. fi
  8045. archive_cmds_need_lc=yes
  8046. # This is similar to how AIX traditionally builds its shared libraries.
  8047. archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
  8048. fi
  8049. fi
  8050. ;;
  8051. amigaos*)
  8052. case $host_cpu in
  8053. powerpc)
  8054. # see comment about AmigaOS4 .so support
  8055. archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  8056. archive_expsym_cmds=''
  8057. ;;
  8058. m68k)
  8059. 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)'
  8060. hardcode_libdir_flag_spec='-L$libdir'
  8061. hardcode_minus_L=yes
  8062. ;;
  8063. esac
  8064. ;;
  8065. bsdi[45]*)
  8066. export_dynamic_flag_spec=-rdynamic
  8067. ;;
  8068. cygwin* | mingw* | pw32* | cegcc*)
  8069. # When not using gcc, we currently assume that we are using
  8070. # Microsoft Visual C++.
  8071. # hardcode_libdir_flag_spec is actually meaningless, as there is
  8072. # no search path for DLLs.
  8073. hardcode_libdir_flag_spec=' '
  8074. allow_undefined_flag=unsupported
  8075. # Tell ltmain to make .lib files, not .a files.
  8076. libext=lib
  8077. # Tell ltmain to make .dll files, not .so files.
  8078. shrext_cmds=".dll"
  8079. # FIXME: Setting linknames here is a bad hack.
  8080. archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
  8081. # The linker will automatically build a .lib file if we build a DLL.
  8082. old_archive_from_new_cmds='true'
  8083. # FIXME: Should let the user specify the lib program.
  8084. old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
  8085. fix_srcfile_path='`cygpath -w "$srcfile"`'
  8086. enable_shared_with_static_runtimes=yes
  8087. ;;
  8088. darwin* | rhapsody*)
  8089. archive_cmds_need_lc=no
  8090. hardcode_direct=no
  8091. hardcode_automatic=yes
  8092. hardcode_shlibpath_var=unsupported
  8093. if test "$lt_cv_ld_force_load" = "yes"; then
  8094. whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
  8095. else
  8096. whole_archive_flag_spec=''
  8097. fi
  8098. link_all_deplibs=yes
  8099. allow_undefined_flag="$_lt_dar_allow_undefined"
  8100. case $cc_basename in
  8101. ifort*) _lt_dar_can_shared=yes ;;
  8102. *) _lt_dar_can_shared=$GCC ;;
  8103. esac
  8104. if test "$_lt_dar_can_shared" = "yes"; then
  8105. output_verbose_link_cmd=func_echo_all
  8106. archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
  8107. module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
  8108. archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
  8109. module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
  8110. else
  8111. ld_shlibs=no
  8112. fi
  8113. ;;
  8114. dgux*)
  8115. archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  8116. hardcode_libdir_flag_spec='-L$libdir'
  8117. hardcode_shlibpath_var=no
  8118. ;;
  8119. # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
  8120. # support. Future versions do this automatically, but an explicit c++rt0.o
  8121. # does not break anything, and helps significantly (at the cost of a little
  8122. # extra space).
  8123. freebsd2.2*)
  8124. archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
  8125. hardcode_libdir_flag_spec='-R$libdir'
  8126. hardcode_direct=yes
  8127. hardcode_shlibpath_var=no
  8128. ;;
  8129. # Unfortunately, older versions of FreeBSD 2 do not have this feature.
  8130. freebsd2.*)
  8131. archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  8132. hardcode_direct=yes
  8133. hardcode_minus_L=yes
  8134. hardcode_shlibpath_var=no
  8135. ;;
  8136. # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
  8137. freebsd* | dragonfly*)
  8138. archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
  8139. hardcode_libdir_flag_spec='-R$libdir'
  8140. hardcode_direct=yes
  8141. hardcode_shlibpath_var=no
  8142. ;;
  8143. hpux9*)
  8144. if test "$GCC" = yes; then
  8145. archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
  8146. else
  8147. 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'
  8148. fi
  8149. hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
  8150. hardcode_libdir_separator=:
  8151. hardcode_direct=yes
  8152. # hardcode_minus_L: Not really in the search PATH,
  8153. # but as the default location of the library.
  8154. hardcode_minus_L=yes
  8155. export_dynamic_flag_spec='${wl}-E'
  8156. ;;
  8157. hpux10*)
  8158. if test "$GCC" = yes && test "$with_gnu_ld" = no; then
  8159. archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  8160. else
  8161. archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
  8162. fi
  8163. if test "$with_gnu_ld" = no; then
  8164. hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
  8165. hardcode_libdir_flag_spec_ld='+b $libdir'
  8166. hardcode_libdir_separator=:
  8167. hardcode_direct=yes
  8168. hardcode_direct_absolute=yes
  8169. export_dynamic_flag_spec='${wl}-E'
  8170. # hardcode_minus_L: Not really in the search PATH,
  8171. # but as the default location of the library.
  8172. hardcode_minus_L=yes
  8173. fi
  8174. ;;
  8175. hpux11*)
  8176. if test "$GCC" = yes && test "$with_gnu_ld" = no; then
  8177. case $host_cpu in
  8178. hppa*64*)
  8179. archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  8180. ;;
  8181. ia64*)
  8182. archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  8183. ;;
  8184. *)
  8185. archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  8186. ;;
  8187. esac
  8188. else
  8189. case $host_cpu in
  8190. hppa*64*)
  8191. archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  8192. ;;
  8193. ia64*)
  8194. archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  8195. ;;
  8196. *)
  8197. # Older versions of the 11.00 compiler do not understand -b yet
  8198. # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
  8199. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
  8200. $as_echo_n "checking if $CC understands -b... " >&6; }
  8201. if ${lt_cv_prog_compiler__b+:} false; then :
  8202. $as_echo_n "(cached) " >&6
  8203. else
  8204. lt_cv_prog_compiler__b=no
  8205. save_LDFLAGS="$LDFLAGS"
  8206. LDFLAGS="$LDFLAGS -b"
  8207. echo "$lt_simple_link_test_code" > conftest.$ac_ext
  8208. if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
  8209. # The linker can only warn and ignore the option if not recognized
  8210. # So say no if there are warnings
  8211. if test -s conftest.err; then
  8212. # Append any errors to the config.log.
  8213. cat conftest.err 1>&5
  8214. $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
  8215. $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  8216. if diff conftest.exp conftest.er2 >/dev/null; then
  8217. lt_cv_prog_compiler__b=yes
  8218. fi
  8219. else
  8220. lt_cv_prog_compiler__b=yes
  8221. fi
  8222. fi
  8223. $RM -r conftest*
  8224. LDFLAGS="$save_LDFLAGS"
  8225. fi
  8226. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
  8227. $as_echo "$lt_cv_prog_compiler__b" >&6; }
  8228. if test x"$lt_cv_prog_compiler__b" = xyes; then
  8229. archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  8230. else
  8231. archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
  8232. fi
  8233. ;;
  8234. esac
  8235. fi
  8236. if test "$with_gnu_ld" = no; then
  8237. hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
  8238. hardcode_libdir_separator=:
  8239. case $host_cpu in
  8240. hppa*64*|ia64*)
  8241. hardcode_direct=no
  8242. hardcode_shlibpath_var=no
  8243. ;;
  8244. *)
  8245. hardcode_direct=yes
  8246. hardcode_direct_absolute=yes
  8247. export_dynamic_flag_spec='${wl}-E'
  8248. # hardcode_minus_L: Not really in the search PATH,
  8249. # but as the default location of the library.
  8250. hardcode_minus_L=yes
  8251. ;;
  8252. esac
  8253. fi
  8254. ;;
  8255. irix5* | irix6* | nonstopux*)
  8256. if test "$GCC" = yes; then
  8257. archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  8258. # Try to use the -exported_symbol ld option, if it does not
  8259. # work, assume that -exports_file does not work either and
  8260. # implicitly export all symbols.
  8261. save_LDFLAGS="$LDFLAGS"
  8262. LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
  8263. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8264. /* end confdefs.h. */
  8265. int foo(void) {}
  8266. _ACEOF
  8267. if ac_fn_c_try_link "$LINENO"; then :
  8268. archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
  8269. fi
  8270. rm -f core conftest.err conftest.$ac_objext \
  8271. conftest$ac_exeext conftest.$ac_ext
  8272. LDFLAGS="$save_LDFLAGS"
  8273. else
  8274. archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
  8275. archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
  8276. fi
  8277. archive_cmds_need_lc='no'
  8278. hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  8279. hardcode_libdir_separator=:
  8280. inherit_rpath=yes
  8281. link_all_deplibs=yes
  8282. ;;
  8283. netbsd*)
  8284. if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  8285. archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
  8286. else
  8287. archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
  8288. fi
  8289. hardcode_libdir_flag_spec='-R$libdir'
  8290. hardcode_direct=yes
  8291. hardcode_shlibpath_var=no
  8292. ;;
  8293. newsos6)
  8294. archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  8295. hardcode_direct=yes
  8296. hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  8297. hardcode_libdir_separator=:
  8298. hardcode_shlibpath_var=no
  8299. ;;
  8300. *nto* | *qnx*)
  8301. ;;
  8302. openbsd*)
  8303. if test -f /usr/libexec/ld.so; then
  8304. hardcode_direct=yes
  8305. hardcode_shlibpath_var=no
  8306. hardcode_direct_absolute=yes
  8307. if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  8308. archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  8309. archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
  8310. hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
  8311. export_dynamic_flag_spec='${wl}-E'
  8312. else
  8313. case $host_os in
  8314. openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
  8315. archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  8316. hardcode_libdir_flag_spec='-R$libdir'
  8317. ;;
  8318. *)
  8319. archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  8320. hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
  8321. ;;
  8322. esac
  8323. fi
  8324. else
  8325. ld_shlibs=no
  8326. fi
  8327. ;;
  8328. os2*)
  8329. hardcode_libdir_flag_spec='-L$libdir'
  8330. hardcode_minus_L=yes
  8331. allow_undefined_flag=unsupported
  8332. 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'
  8333. old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
  8334. ;;
  8335. osf3*)
  8336. if test "$GCC" = yes; then
  8337. allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
  8338. archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  8339. else
  8340. allow_undefined_flag=' -expect_unresolved \*'
  8341. archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
  8342. fi
  8343. archive_cmds_need_lc='no'
  8344. hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  8345. hardcode_libdir_separator=:
  8346. ;;
  8347. osf4* | osf5*) # as osf3* with the addition of -msym flag
  8348. if test "$GCC" = yes; then
  8349. allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
  8350. archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  8351. hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  8352. else
  8353. allow_undefined_flag=' -expect_unresolved \*'
  8354. archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
  8355. archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
  8356. $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
  8357. # Both c and cxx compiler support -rpath directly
  8358. hardcode_libdir_flag_spec='-rpath $libdir'
  8359. fi
  8360. archive_cmds_need_lc='no'
  8361. hardcode_libdir_separator=:
  8362. ;;
  8363. solaris*)
  8364. no_undefined_flag=' -z defs'
  8365. if test "$GCC" = yes; then
  8366. wlarc='${wl}'
  8367. archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  8368. archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  8369. $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
  8370. else
  8371. case `$CC -V 2>&1` in
  8372. *"Compilers 5.0"*)
  8373. wlarc=''
  8374. archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
  8375. archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  8376. $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
  8377. ;;
  8378. *)
  8379. wlarc='${wl}'
  8380. archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
  8381. archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  8382. $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
  8383. ;;
  8384. esac
  8385. fi
  8386. hardcode_libdir_flag_spec='-R$libdir'
  8387. hardcode_shlibpath_var=no
  8388. case $host_os in
  8389. solaris2.[0-5] | solaris2.[0-5].*) ;;
  8390. *)
  8391. # The compiler driver will combine and reorder linker options,
  8392. # but understands `-z linker_flag'. GCC discards it without `$wl',
  8393. # but is careful enough not to reorder.
  8394. # Supported since Solaris 2.6 (maybe 2.5.1?)
  8395. if test "$GCC" = yes; then
  8396. whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
  8397. else
  8398. whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
  8399. fi
  8400. ;;
  8401. esac
  8402. link_all_deplibs=yes
  8403. ;;
  8404. sunos4*)
  8405. if test "x$host_vendor" = xsequent; then
  8406. # Use $CC to link under sequent, because it throws in some extra .o
  8407. # files that make .init and .fini sections work.
  8408. archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
  8409. else
  8410. archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
  8411. fi
  8412. hardcode_libdir_flag_spec='-L$libdir'
  8413. hardcode_direct=yes
  8414. hardcode_minus_L=yes
  8415. hardcode_shlibpath_var=no
  8416. ;;
  8417. sysv4)
  8418. case $host_vendor in
  8419. sni)
  8420. archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  8421. hardcode_direct=yes # is this really true???
  8422. ;;
  8423. siemens)
  8424. ## LD is ld it makes a PLAMLIB
  8425. ## CC just makes a GrossModule.
  8426. archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
  8427. reload_cmds='$CC -r -o $output$reload_objs'
  8428. hardcode_direct=no
  8429. ;;
  8430. motorola)
  8431. archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  8432. hardcode_direct=no #Motorola manual says yes, but my tests say they lie
  8433. ;;
  8434. esac
  8435. runpath_var='LD_RUN_PATH'
  8436. hardcode_shlibpath_var=no
  8437. ;;
  8438. sysv4.3*)
  8439. archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  8440. hardcode_shlibpath_var=no
  8441. export_dynamic_flag_spec='-Bexport'
  8442. ;;
  8443. sysv4*MP*)
  8444. if test -d /usr/nec; then
  8445. archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  8446. hardcode_shlibpath_var=no
  8447. runpath_var=LD_RUN_PATH
  8448. hardcode_runpath_var=yes
  8449. ld_shlibs=yes
  8450. fi
  8451. ;;
  8452. sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
  8453. no_undefined_flag='${wl}-z,text'
  8454. archive_cmds_need_lc=no
  8455. hardcode_shlibpath_var=no
  8456. runpath_var='LD_RUN_PATH'
  8457. if test "$GCC" = yes; then
  8458. archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  8459. archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  8460. else
  8461. archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  8462. archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  8463. fi
  8464. ;;
  8465. sysv5* | sco3.2v5* | sco5v6*)
  8466. # Note: We can NOT use -z defs as we might desire, because we do not
  8467. # link with -lc, and that would cause any symbols used from libc to
  8468. # always be unresolved, which means just about no library would
  8469. # ever link correctly. If we're not using GNU ld we use -z text
  8470. # though, which does catch some bad symbols but isn't as heavy-handed
  8471. # as -z defs.
  8472. no_undefined_flag='${wl}-z,text'
  8473. allow_undefined_flag='${wl}-z,nodefs'
  8474. archive_cmds_need_lc=no
  8475. hardcode_shlibpath_var=no
  8476. hardcode_libdir_flag_spec='${wl}-R,$libdir'
  8477. hardcode_libdir_separator=':'
  8478. link_all_deplibs=yes
  8479. export_dynamic_flag_spec='${wl}-Bexport'
  8480. runpath_var='LD_RUN_PATH'
  8481. if test "$GCC" = yes; then
  8482. archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  8483. archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  8484. else
  8485. archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  8486. archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  8487. fi
  8488. ;;
  8489. uts4*)
  8490. archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  8491. hardcode_libdir_flag_spec='-L$libdir'
  8492. hardcode_shlibpath_var=no
  8493. ;;
  8494. *)
  8495. ld_shlibs=no
  8496. ;;
  8497. esac
  8498. if test x$host_vendor = xsni; then
  8499. case $host in
  8500. sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
  8501. export_dynamic_flag_spec='${wl}-Blargedynsym'
  8502. ;;
  8503. esac
  8504. fi
  8505. fi
  8506. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
  8507. $as_echo "$ld_shlibs" >&6; }
  8508. test "$ld_shlibs" = no && can_build_shared=no
  8509. with_gnu_ld=$with_gnu_ld
  8510. #
  8511. # Do we need to explicitly link libc?
  8512. #
  8513. case "x$archive_cmds_need_lc" in
  8514. x|xyes)
  8515. # Assume -lc should be added
  8516. archive_cmds_need_lc=yes
  8517. if test "$enable_shared" = yes && test "$GCC" = yes; then
  8518. case $archive_cmds in
  8519. *'~'*)
  8520. # FIXME: we may have to deal with multi-command sequences.
  8521. ;;
  8522. '$CC '*)
  8523. # Test whether the compiler implicitly links with -lc since on some
  8524. # systems, -lgcc has to come before -lc. If gcc already passes -lc
  8525. # to ld, don't add -lc before -lgcc.
  8526. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
  8527. $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
  8528. if ${lt_cv_archive_cmds_need_lc+:} false; then :
  8529. $as_echo_n "(cached) " >&6
  8530. else
  8531. $RM conftest*
  8532. echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  8533. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  8534. (eval $ac_compile) 2>&5
  8535. ac_status=$?
  8536. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  8537. test $ac_status = 0; } 2>conftest.err; then
  8538. soname=conftest
  8539. lib=conftest
  8540. libobjs=conftest.$ac_objext
  8541. deplibs=
  8542. wl=$lt_prog_compiler_wl
  8543. pic_flag=$lt_prog_compiler_pic
  8544. compiler_flags=-v
  8545. linker_flags=-v
  8546. verstring=
  8547. output_objdir=.
  8548. libname=conftest
  8549. lt_save_allow_undefined_flag=$allow_undefined_flag
  8550. allow_undefined_flag=
  8551. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
  8552. (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
  8553. ac_status=$?
  8554. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  8555. test $ac_status = 0; }
  8556. then
  8557. lt_cv_archive_cmds_need_lc=no
  8558. else
  8559. lt_cv_archive_cmds_need_lc=yes
  8560. fi
  8561. allow_undefined_flag=$lt_save_allow_undefined_flag
  8562. else
  8563. cat conftest.err 1>&5
  8564. fi
  8565. $RM conftest*
  8566. fi
  8567. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
  8568. $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
  8569. archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
  8570. ;;
  8571. esac
  8572. fi
  8573. ;;
  8574. esac
  8575. { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
  8576. $as_echo_n "checking dynamic linker characteristics... " >&6; }
  8577. if test "$GCC" = yes; then
  8578. case $host_os in
  8579. darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
  8580. *) lt_awk_arg="/^libraries:/" ;;
  8581. esac
  8582. case $host_os in
  8583. mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
  8584. *) lt_sed_strip_eq="s,=/,/,g" ;;
  8585. esac
  8586. lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
  8587. case $lt_search_path_spec in
  8588. *\;*)
  8589. # if the path contains ";" then we assume it to be the separator
  8590. # otherwise default to the standard path separator (i.e. ":") - it is
  8591. # assumed that no part of a normal pathname contains ";" but that should
  8592. # okay in the real world where ";" in dirpaths is itself problematic.
  8593. lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
  8594. ;;
  8595. *)
  8596. lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
  8597. ;;
  8598. esac
  8599. # Ok, now we have the path, separated by spaces, we can step through it
  8600. # and add multilib dir if necessary.
  8601. lt_tmp_lt_search_path_spec=
  8602. lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
  8603. for lt_sys_path in $lt_search_path_spec; do
  8604. if test -d "$lt_sys_path/$lt_multi_os_dir"; then
  8605. lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
  8606. else
  8607. test -d "$lt_sys_path" && \
  8608. lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
  8609. fi
  8610. done
  8611. lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
  8612. BEGIN {RS=" "; FS="/|\n";} {
  8613. lt_foo="";
  8614. lt_count=0;
  8615. for (lt_i = NF; lt_i > 0; lt_i--) {
  8616. if ($lt_i != "" && $lt_i != ".") {
  8617. if ($lt_i == "..") {
  8618. lt_count++;
  8619. } else {
  8620. if (lt_count == 0) {
  8621. lt_foo="/" $lt_i lt_foo;
  8622. } else {
  8623. lt_count--;
  8624. }
  8625. }
  8626. }
  8627. }
  8628. if (lt_foo != "") { lt_freq[lt_foo]++; }
  8629. if (lt_freq[lt_foo] == 1) { print lt_foo; }
  8630. }'`
  8631. # AWK program above erroneously prepends '/' to C:/dos/paths
  8632. # for these hosts.
  8633. case $host_os in
  8634. mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
  8635. $SED 's,/\([A-Za-z]:\),\1,g'` ;;
  8636. esac
  8637. sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
  8638. else
  8639. sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
  8640. fi
  8641. library_names_spec=
  8642. libname_spec='lib$name'
  8643. soname_spec=
  8644. shrext_cmds=".so"
  8645. postinstall_cmds=
  8646. postuninstall_cmds=
  8647. finish_cmds=
  8648. finish_eval=
  8649. shlibpath_var=
  8650. shlibpath_overrides_runpath=unknown
  8651. version_type=none
  8652. dynamic_linker="$host_os ld.so"
  8653. sys_lib_dlsearch_path_spec="/lib /usr/lib"
  8654. need_lib_prefix=unknown
  8655. hardcode_into_libs=no
  8656. # when you set need_version to no, make sure it does not cause -set_version
  8657. # flags to be left without arguments
  8658. need_version=unknown
  8659. case $host_os in
  8660. aix3*)
  8661. version_type=linux
  8662. library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
  8663. shlibpath_var=LIBPATH
  8664. # AIX 3 has no versioning support, so we append a major version to the name.
  8665. soname_spec='${libname}${release}${shared_ext}$major'
  8666. ;;
  8667. aix[4-9]*)
  8668. version_type=linux
  8669. need_lib_prefix=no
  8670. need_version=no
  8671. hardcode_into_libs=yes
  8672. if test "$host_cpu" = ia64; then
  8673. # AIX 5 supports IA64
  8674. library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
  8675. shlibpath_var=LD_LIBRARY_PATH
  8676. else
  8677. # With GCC up to 2.95.x, collect2 would create an import file
  8678. # for dependence libraries. The import file would start with
  8679. # the line `#! .'. This would cause the generated library to
  8680. # depend on `.', always an invalid library. This was fixed in
  8681. # development snapshots of GCC prior to 3.0.
  8682. case $host_os in
  8683. aix4 | aix4.[01] | aix4.[01].*)
  8684. if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
  8685. echo ' yes '
  8686. echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
  8687. :
  8688. else
  8689. can_build_shared=no
  8690. fi
  8691. ;;
  8692. esac
  8693. # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
  8694. # soname into executable. Probably we can add versioning support to
  8695. # collect2, so additional links can be useful in future.
  8696. if test "$aix_use_runtimelinking" = yes; then
  8697. # If using run time linking (on AIX 4.2 or later) use lib<name>.so
  8698. # instead of lib<name>.a to let people know that these are not
  8699. # typical AIX shared libraries.
  8700. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  8701. else
  8702. # We preserve .a as extension for shared libraries through AIX4.2
  8703. # and later when we are not doing run time linking.
  8704. library_names_spec='${libname}${release}.a $libname.a'
  8705. soname_spec='${libname}${release}${shared_ext}$major'
  8706. fi
  8707. shlibpath_var=LIBPATH
  8708. fi
  8709. ;;
  8710. amigaos*)
  8711. case $host_cpu in
  8712. powerpc)
  8713. # Since July 2007 AmigaOS4 officially supports .so libraries.
  8714. # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
  8715. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  8716. ;;
  8717. m68k)
  8718. library_names_spec='$libname.ixlibrary $libname.a'
  8719. # Create ${libname}_ixlibrary.a entries in /sys/libs.
  8720. finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
  8721. ;;
  8722. esac
  8723. ;;
  8724. beos*)
  8725. library_names_spec='${libname}${shared_ext}'
  8726. dynamic_linker="$host_os ld.so"
  8727. shlibpath_var=LIBRARY_PATH
  8728. ;;
  8729. bsdi[45]*)
  8730. version_type=linux
  8731. need_version=no
  8732. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  8733. soname_spec='${libname}${release}${shared_ext}$major'
  8734. finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
  8735. shlibpath_var=LD_LIBRARY_PATH
  8736. sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
  8737. sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
  8738. # the default ld.so.conf also contains /usr/contrib/lib and
  8739. # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
  8740. # libtool to hard-code these into programs
  8741. ;;
  8742. cygwin* | mingw* | pw32* | cegcc*)
  8743. version_type=windows
  8744. shrext_cmds=".dll"
  8745. need_version=no
  8746. need_lib_prefix=no
  8747. case $GCC,$host_os in
  8748. yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
  8749. library_names_spec='$libname.dll.a'
  8750. # DLL is installed to $(libdir)/../bin by postinstall_cmds
  8751. postinstall_cmds='base_file=`basename \${file}`~
  8752. dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
  8753. dldir=$destdir/`dirname \$dlpath`~
  8754. test -d \$dldir || mkdir -p \$dldir~
  8755. $install_prog $dir/$dlname \$dldir/$dlname~
  8756. chmod a+x \$dldir/$dlname~
  8757. if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
  8758. eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
  8759. fi'
  8760. postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
  8761. dlpath=$dir/\$dldll~
  8762. $RM \$dlpath'
  8763. shlibpath_overrides_runpath=yes
  8764. case $host_os in
  8765. cygwin*)
  8766. # Cygwin DLLs use 'cyg' prefix rather than 'lib'
  8767. soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  8768. sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
  8769. ;;
  8770. mingw* | cegcc*)
  8771. # MinGW DLLs use traditional 'lib' prefix
  8772. soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  8773. ;;
  8774. pw32*)
  8775. # pw32 DLLs use 'pw' prefix rather than 'lib'
  8776. library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  8777. ;;
  8778. esac
  8779. ;;
  8780. *)
  8781. library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
  8782. ;;
  8783. esac
  8784. dynamic_linker='Win32 ld.exe'
  8785. # FIXME: first we should search . and the directory the executable is in
  8786. shlibpath_var=PATH
  8787. ;;
  8788. darwin* | rhapsody*)
  8789. dynamic_linker="$host_os dyld"
  8790. version_type=darwin
  8791. need_lib_prefix=no
  8792. need_version=no
  8793. library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
  8794. soname_spec='${libname}${release}${major}$shared_ext'
  8795. shlibpath_overrides_runpath=yes
  8796. shlibpath_var=DYLD_LIBRARY_PATH
  8797. shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
  8798. sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
  8799. sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
  8800. ;;
  8801. dgux*)
  8802. version_type=linux
  8803. need_lib_prefix=no
  8804. need_version=no
  8805. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
  8806. soname_spec='${libname}${release}${shared_ext}$major'
  8807. shlibpath_var=LD_LIBRARY_PATH
  8808. ;;
  8809. freebsd* | dragonfly*)
  8810. # DragonFly does not have aout. When/if they implement a new
  8811. # versioning mechanism, adjust this.
  8812. if test -x /usr/bin/objformat; then
  8813. objformat=`/usr/bin/objformat`
  8814. else
  8815. case $host_os in
  8816. freebsd[23].*) objformat=aout ;;
  8817. *) objformat=elf ;;
  8818. esac
  8819. fi
  8820. version_type=freebsd-$objformat
  8821. case $version_type in
  8822. freebsd-elf*)
  8823. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
  8824. need_version=no
  8825. need_lib_prefix=no
  8826. ;;
  8827. freebsd-*)
  8828. library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
  8829. need_version=yes
  8830. ;;
  8831. esac
  8832. shlibpath_var=LD_LIBRARY_PATH
  8833. case $host_os in
  8834. freebsd2.*)
  8835. shlibpath_overrides_runpath=yes
  8836. ;;
  8837. freebsd3.[01]* | freebsdelf3.[01]*)
  8838. shlibpath_overrides_runpath=yes
  8839. hardcode_into_libs=yes
  8840. ;;
  8841. freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
  8842. freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
  8843. shlibpath_overrides_runpath=no
  8844. hardcode_into_libs=yes
  8845. ;;
  8846. *) # from 4.6 on, and DragonFly
  8847. shlibpath_overrides_runpath=yes
  8848. hardcode_into_libs=yes
  8849. ;;
  8850. esac
  8851. ;;
  8852. haiku*)
  8853. version_type=linux
  8854. need_lib_prefix=no
  8855. need_version=no
  8856. dynamic_linker="$host_os runtime_loader"
  8857. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
  8858. soname_spec='${libname}${release}${shared_ext}$major'
  8859. shlibpath_var=LIBRARY_PATH
  8860. shlibpath_overrides_runpath=yes
  8861. sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
  8862. hardcode_into_libs=yes
  8863. ;;
  8864. hpux9* | hpux10* | hpux11*)
  8865. # Give a soname corresponding to the major version so that dld.sl refuses to
  8866. # link against other versions.
  8867. version_type=sunos
  8868. need_lib_prefix=no
  8869. need_version=no
  8870. case $host_cpu in
  8871. ia64*)
  8872. shrext_cmds='.so'
  8873. hardcode_into_libs=yes
  8874. dynamic_linker="$host_os dld.so"
  8875. shlibpath_var=LD_LIBRARY_PATH
  8876. shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  8877. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  8878. soname_spec='${libname}${release}${shared_ext}$major'
  8879. if test "X$HPUX_IA64_MODE" = X32; then
  8880. sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
  8881. else
  8882. sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
  8883. fi
  8884. sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  8885. ;;
  8886. hppa*64*)
  8887. shrext_cmds='.sl'
  8888. hardcode_into_libs=yes
  8889. dynamic_linker="$host_os dld.sl"
  8890. shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
  8891. shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  8892. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  8893. soname_spec='${libname}${release}${shared_ext}$major'
  8894. sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
  8895. sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  8896. ;;
  8897. *)
  8898. shrext_cmds='.sl'
  8899. dynamic_linker="$host_os dld.sl"
  8900. shlibpath_var=SHLIB_PATH
  8901. shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
  8902. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  8903. soname_spec='${libname}${release}${shared_ext}$major'
  8904. ;;
  8905. esac
  8906. # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
  8907. postinstall_cmds='chmod 555 $lib'
  8908. # or fails outright, so override atomically:
  8909. install_override_mode=555
  8910. ;;
  8911. interix[3-9]*)
  8912. version_type=linux
  8913. need_lib_prefix=no
  8914. need_version=no
  8915. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  8916. soname_spec='${libname}${release}${shared_ext}$major'
  8917. dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
  8918. shlibpath_var=LD_LIBRARY_PATH
  8919. shlibpath_overrides_runpath=no
  8920. hardcode_into_libs=yes
  8921. ;;
  8922. irix5* | irix6* | nonstopux*)
  8923. case $host_os in
  8924. nonstopux*) version_type=nonstopux ;;
  8925. *)
  8926. if test "$lt_cv_prog_gnu_ld" = yes; then
  8927. version_type=linux
  8928. else
  8929. version_type=irix
  8930. fi ;;
  8931. esac
  8932. need_lib_prefix=no
  8933. need_version=no
  8934. soname_spec='${libname}${release}${shared_ext}$major'
  8935. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
  8936. case $host_os in
  8937. irix5* | nonstopux*)
  8938. libsuff= shlibsuff=
  8939. ;;
  8940. *)
  8941. case $LD in # libtool.m4 will add one of these switches to LD
  8942. *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
  8943. libsuff= shlibsuff= libmagic=32-bit;;
  8944. *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
  8945. libsuff=32 shlibsuff=N32 libmagic=N32;;
  8946. *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
  8947. libsuff=64 shlibsuff=64 libmagic=64-bit;;
  8948. *) libsuff= shlibsuff= libmagic=never-match;;
  8949. esac
  8950. ;;
  8951. esac
  8952. shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
  8953. shlibpath_overrides_runpath=no
  8954. sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
  8955. sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
  8956. hardcode_into_libs=yes
  8957. ;;
  8958. # No shared lib support for Linux oldld, aout, or coff.
  8959. linux*oldld* | linux*aout* | linux*coff*)
  8960. dynamic_linker=no
  8961. ;;
  8962. # This must be Linux ELF.
  8963. linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
  8964. version_type=linux
  8965. need_lib_prefix=no
  8966. need_version=no
  8967. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  8968. soname_spec='${libname}${release}${shared_ext}$major'
  8969. finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
  8970. shlibpath_var=LD_LIBRARY_PATH
  8971. shlibpath_overrides_runpath=no
  8972. # Some binutils ld are patched to set DT_RUNPATH
  8973. if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
  8974. $as_echo_n "(cached) " >&6
  8975. else
  8976. lt_cv_shlibpath_overrides_runpath=no
  8977. save_LDFLAGS=$LDFLAGS
  8978. save_libdir=$libdir
  8979. eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
  8980. LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
  8981. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8982. /* end confdefs.h. */
  8983. int
  8984. main ()
  8985. {
  8986. ;
  8987. return 0;
  8988. }
  8989. _ACEOF
  8990. if ac_fn_c_try_link "$LINENO"; then :
  8991. if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
  8992. lt_cv_shlibpath_overrides_runpath=yes
  8993. fi
  8994. fi
  8995. rm -f core conftest.err conftest.$ac_objext \
  8996. conftest$ac_exeext conftest.$ac_ext
  8997. LDFLAGS=$save_LDFLAGS
  8998. libdir=$save_libdir
  8999. fi
  9000. shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
  9001. # This implies no fast_install, which is unacceptable.
  9002. # Some rework will be needed to allow for fast_install
  9003. # before this can be enabled.
  9004. hardcode_into_libs=yes
  9005. # Append ld.so.conf contents to the search path
  9006. if test -f /etc/ld.so.conf; then
  9007. lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
  9008. sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
  9009. fi
  9010. # We used to test for /lib/ld.so.1 and disable shared libraries on
  9011. # powerpc, because MkLinux only supported shared libraries with the
  9012. # GNU dynamic linker. Since this was broken with cross compilers,
  9013. # most powerpc-linux boxes support dynamic linking these days and
  9014. # people can always --disable-shared, the test was removed, and we
  9015. # assume the GNU/Linux dynamic linker is in use.
  9016. dynamic_linker='GNU/Linux ld.so'
  9017. ;;
  9018. netbsd*)
  9019. version_type=sunos
  9020. need_lib_prefix=no
  9021. need_version=no
  9022. if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  9023. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  9024. finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  9025. dynamic_linker='NetBSD (a.out) ld.so'
  9026. else
  9027. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  9028. soname_spec='${libname}${release}${shared_ext}$major'
  9029. dynamic_linker='NetBSD ld.elf_so'
  9030. fi
  9031. shlibpath_var=LD_LIBRARY_PATH
  9032. shlibpath_overrides_runpath=yes
  9033. hardcode_into_libs=yes
  9034. ;;
  9035. newsos6)
  9036. version_type=linux
  9037. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  9038. shlibpath_var=LD_LIBRARY_PATH
  9039. shlibpath_overrides_runpath=yes
  9040. ;;
  9041. *nto* | *qnx*)
  9042. version_type=qnx
  9043. need_lib_prefix=no
  9044. need_version=no
  9045. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  9046. soname_spec='${libname}${release}${shared_ext}$major'
  9047. shlibpath_var=LD_LIBRARY_PATH
  9048. shlibpath_overrides_runpath=no
  9049. hardcode_into_libs=yes
  9050. dynamic_linker='ldqnx.so'
  9051. ;;
  9052. openbsd*)
  9053. version_type=sunos
  9054. sys_lib_dlsearch_path_spec="/usr/lib"
  9055. need_lib_prefix=no
  9056. # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
  9057. case $host_os in
  9058. openbsd3.3 | openbsd3.3.*) need_version=yes ;;
  9059. *) need_version=no ;;
  9060. esac
  9061. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  9062. finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  9063. shlibpath_var=LD_LIBRARY_PATH
  9064. if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  9065. case $host_os in
  9066. openbsd2.[89] | openbsd2.[89].*)
  9067. shlibpath_overrides_runpath=no
  9068. ;;
  9069. *)
  9070. shlibpath_overrides_runpath=yes
  9071. ;;
  9072. esac
  9073. else
  9074. shlibpath_overrides_runpath=yes
  9075. fi
  9076. ;;
  9077. os2*)
  9078. libname_spec='$name'
  9079. shrext_cmds=".dll"
  9080. need_lib_prefix=no
  9081. library_names_spec='$libname${shared_ext} $libname.a'
  9082. dynamic_linker='OS/2 ld.exe'
  9083. shlibpath_var=LIBPATH
  9084. ;;
  9085. osf3* | osf4* | osf5*)
  9086. version_type=osf
  9087. need_lib_prefix=no
  9088. need_version=no
  9089. soname_spec='${libname}${release}${shared_ext}$major'
  9090. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  9091. shlibpath_var=LD_LIBRARY_PATH
  9092. sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
  9093. sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
  9094. ;;
  9095. rdos*)
  9096. dynamic_linker=no
  9097. ;;
  9098. solaris*)
  9099. version_type=linux
  9100. need_lib_prefix=no
  9101. need_version=no
  9102. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  9103. soname_spec='${libname}${release}${shared_ext}$major'
  9104. shlibpath_var=LD_LIBRARY_PATH
  9105. shlibpath_overrides_runpath=yes
  9106. hardcode_into_libs=yes
  9107. # ldd complains unless libraries are executable
  9108. postinstall_cmds='chmod +x $lib'
  9109. ;;
  9110. sunos4*)
  9111. version_type=sunos
  9112. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  9113. finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
  9114. shlibpath_var=LD_LIBRARY_PATH
  9115. shlibpath_overrides_runpath=yes
  9116. if test "$with_gnu_ld" = yes; then
  9117. need_lib_prefix=no
  9118. fi
  9119. need_version=yes
  9120. ;;
  9121. sysv4 | sysv4.3*)
  9122. version_type=linux
  9123. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  9124. soname_spec='${libname}${release}${shared_ext}$major'
  9125. shlibpath_var=LD_LIBRARY_PATH
  9126. case $host_vendor in
  9127. sni)
  9128. shlibpath_overrides_runpath=no
  9129. need_lib_prefix=no
  9130. runpath_var=LD_RUN_PATH
  9131. ;;
  9132. siemens)
  9133. need_lib_prefix=no
  9134. ;;
  9135. motorola)
  9136. need_lib_prefix=no
  9137. need_version=no
  9138. shlibpath_overrides_runpath=no
  9139. sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
  9140. ;;
  9141. esac
  9142. ;;
  9143. sysv4*MP*)
  9144. if test -d /usr/nec ;then
  9145. version_type=linux
  9146. library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
  9147. soname_spec='$libname${shared_ext}.$major'
  9148. shlibpath_var=LD_LIBRARY_PATH
  9149. fi
  9150. ;;
  9151. sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  9152. version_type=freebsd-elf
  9153. need_lib_prefix=no
  9154. need_version=no
  9155. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
  9156. soname_spec='${libname}${release}${shared_ext}$major'
  9157. shlibpath_var=LD_LIBRARY_PATH
  9158. shlibpath_overrides_runpath=yes
  9159. hardcode_into_libs=yes
  9160. if test "$with_gnu_ld" = yes; then
  9161. sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
  9162. else
  9163. sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
  9164. case $host_os in
  9165. sco3.2v5*)
  9166. sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
  9167. ;;
  9168. esac
  9169. fi
  9170. sys_lib_dlsearch_path_spec='/usr/lib'
  9171. ;;
  9172. tpf*)
  9173. # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
  9174. version_type=linux
  9175. need_lib_prefix=no
  9176. need_version=no
  9177. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  9178. shlibpath_var=LD_LIBRARY_PATH
  9179. shlibpath_overrides_runpath=no
  9180. hardcode_into_libs=yes
  9181. ;;
  9182. uts4*)
  9183. version_type=linux
  9184. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  9185. soname_spec='${libname}${release}${shared_ext}$major'
  9186. shlibpath_var=LD_LIBRARY_PATH
  9187. ;;
  9188. *)
  9189. dynamic_linker=no
  9190. ;;
  9191. esac
  9192. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
  9193. $as_echo "$dynamic_linker" >&6; }
  9194. test "$dynamic_linker" = no && can_build_shared=no
  9195. variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
  9196. if test "$GCC" = yes; then
  9197. variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
  9198. fi
  9199. if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
  9200. sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
  9201. fi
  9202. if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
  9203. sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
  9204. fi
  9205. { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
  9206. $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
  9207. hardcode_action=
  9208. if test -n "$hardcode_libdir_flag_spec" ||
  9209. test -n "$runpath_var" ||
  9210. test "X$hardcode_automatic" = "Xyes" ; then
  9211. # We can hardcode non-existent directories.
  9212. if test "$hardcode_direct" != no &&
  9213. # If the only mechanism to avoid hardcoding is shlibpath_var, we
  9214. # have to relink, otherwise we might link with an installed library
  9215. # when we should be linking with a yet-to-be-installed one
  9216. ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
  9217. test "$hardcode_minus_L" != no; then
  9218. # Linking always hardcodes the temporary library directory.
  9219. hardcode_action=relink
  9220. else
  9221. # We can link without hardcoding, and we can hardcode nonexisting dirs.
  9222. hardcode_action=immediate
  9223. fi
  9224. else
  9225. # We cannot hardcode anything, or else we can only hardcode existing
  9226. # directories.
  9227. hardcode_action=unsupported
  9228. fi
  9229. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
  9230. $as_echo "$hardcode_action" >&6; }
  9231. if test "$hardcode_action" = relink ||
  9232. test "$inherit_rpath" = yes; then
  9233. # Fast installation is not supported
  9234. enable_fast_install=no
  9235. elif test "$shlibpath_overrides_runpath" = yes ||
  9236. test "$enable_shared" = no; then
  9237. # Fast installation is not necessary
  9238. enable_fast_install=needless
  9239. fi
  9240. if test "x$enable_dlopen" != xyes; then
  9241. enable_dlopen=unknown
  9242. enable_dlopen_self=unknown
  9243. enable_dlopen_self_static=unknown
  9244. else
  9245. lt_cv_dlopen=no
  9246. lt_cv_dlopen_libs=
  9247. case $host_os in
  9248. beos*)
  9249. lt_cv_dlopen="load_add_on"
  9250. lt_cv_dlopen_libs=
  9251. lt_cv_dlopen_self=yes
  9252. ;;
  9253. mingw* | pw32* | cegcc*)
  9254. lt_cv_dlopen="LoadLibrary"
  9255. lt_cv_dlopen_libs=
  9256. ;;
  9257. cygwin*)
  9258. lt_cv_dlopen="dlopen"
  9259. lt_cv_dlopen_libs=
  9260. ;;
  9261. darwin*)
  9262. # if libdl is installed we need to link against it
  9263. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
  9264. $as_echo_n "checking for dlopen in -ldl... " >&6; }
  9265. if ${ac_cv_lib_dl_dlopen+:} false; then :
  9266. $as_echo_n "(cached) " >&6
  9267. else
  9268. ac_check_lib_save_LIBS=$LIBS
  9269. LIBS="-ldl $LIBS"
  9270. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9271. /* end confdefs.h. */
  9272. /* Override any GCC internal prototype to avoid an error.
  9273. Use char because int might match the return type of a GCC
  9274. builtin and then its argument prototype would still apply. */
  9275. #ifdef __cplusplus
  9276. extern "C"
  9277. #endif
  9278. char dlopen ();
  9279. int
  9280. main ()
  9281. {
  9282. return dlopen ();
  9283. ;
  9284. return 0;
  9285. }
  9286. _ACEOF
  9287. if ac_fn_c_try_link "$LINENO"; then :
  9288. ac_cv_lib_dl_dlopen=yes
  9289. else
  9290. ac_cv_lib_dl_dlopen=no
  9291. fi
  9292. rm -f core conftest.err conftest.$ac_objext \
  9293. conftest$ac_exeext conftest.$ac_ext
  9294. LIBS=$ac_check_lib_save_LIBS
  9295. fi
  9296. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
  9297. $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
  9298. if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
  9299. lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
  9300. else
  9301. lt_cv_dlopen="dyld"
  9302. lt_cv_dlopen_libs=
  9303. lt_cv_dlopen_self=yes
  9304. fi
  9305. ;;
  9306. *)
  9307. ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
  9308. if test "x$ac_cv_func_shl_load" = xyes; then :
  9309. lt_cv_dlopen="shl_load"
  9310. else
  9311. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
  9312. $as_echo_n "checking for shl_load in -ldld... " >&6; }
  9313. if ${ac_cv_lib_dld_shl_load+:} false; then :
  9314. $as_echo_n "(cached) " >&6
  9315. else
  9316. ac_check_lib_save_LIBS=$LIBS
  9317. LIBS="-ldld $LIBS"
  9318. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9319. /* end confdefs.h. */
  9320. /* Override any GCC internal prototype to avoid an error.
  9321. Use char because int might match the return type of a GCC
  9322. builtin and then its argument prototype would still apply. */
  9323. #ifdef __cplusplus
  9324. extern "C"
  9325. #endif
  9326. char shl_load ();
  9327. int
  9328. main ()
  9329. {
  9330. return shl_load ();
  9331. ;
  9332. return 0;
  9333. }
  9334. _ACEOF
  9335. if ac_fn_c_try_link "$LINENO"; then :
  9336. ac_cv_lib_dld_shl_load=yes
  9337. else
  9338. ac_cv_lib_dld_shl_load=no
  9339. fi
  9340. rm -f core conftest.err conftest.$ac_objext \
  9341. conftest$ac_exeext conftest.$ac_ext
  9342. LIBS=$ac_check_lib_save_LIBS
  9343. fi
  9344. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
  9345. $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
  9346. if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
  9347. lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
  9348. else
  9349. ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
  9350. if test "x$ac_cv_func_dlopen" = xyes; then :
  9351. lt_cv_dlopen="dlopen"
  9352. else
  9353. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
  9354. $as_echo_n "checking for dlopen in -ldl... " >&6; }
  9355. if ${ac_cv_lib_dl_dlopen+:} false; then :
  9356. $as_echo_n "(cached) " >&6
  9357. else
  9358. ac_check_lib_save_LIBS=$LIBS
  9359. LIBS="-ldl $LIBS"
  9360. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9361. /* end confdefs.h. */
  9362. /* Override any GCC internal prototype to avoid an error.
  9363. Use char because int might match the return type of a GCC
  9364. builtin and then its argument prototype would still apply. */
  9365. #ifdef __cplusplus
  9366. extern "C"
  9367. #endif
  9368. char dlopen ();
  9369. int
  9370. main ()
  9371. {
  9372. return dlopen ();
  9373. ;
  9374. return 0;
  9375. }
  9376. _ACEOF
  9377. if ac_fn_c_try_link "$LINENO"; then :
  9378. ac_cv_lib_dl_dlopen=yes
  9379. else
  9380. ac_cv_lib_dl_dlopen=no
  9381. fi
  9382. rm -f core conftest.err conftest.$ac_objext \
  9383. conftest$ac_exeext conftest.$ac_ext
  9384. LIBS=$ac_check_lib_save_LIBS
  9385. fi
  9386. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
  9387. $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
  9388. if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
  9389. lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
  9390. else
  9391. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
  9392. $as_echo_n "checking for dlopen in -lsvld... " >&6; }
  9393. if ${ac_cv_lib_svld_dlopen+:} false; then :
  9394. $as_echo_n "(cached) " >&6
  9395. else
  9396. ac_check_lib_save_LIBS=$LIBS
  9397. LIBS="-lsvld $LIBS"
  9398. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9399. /* end confdefs.h. */
  9400. /* Override any GCC internal prototype to avoid an error.
  9401. Use char because int might match the return type of a GCC
  9402. builtin and then its argument prototype would still apply. */
  9403. #ifdef __cplusplus
  9404. extern "C"
  9405. #endif
  9406. char dlopen ();
  9407. int
  9408. main ()
  9409. {
  9410. return dlopen ();
  9411. ;
  9412. return 0;
  9413. }
  9414. _ACEOF
  9415. if ac_fn_c_try_link "$LINENO"; then :
  9416. ac_cv_lib_svld_dlopen=yes
  9417. else
  9418. ac_cv_lib_svld_dlopen=no
  9419. fi
  9420. rm -f core conftest.err conftest.$ac_objext \
  9421. conftest$ac_exeext conftest.$ac_ext
  9422. LIBS=$ac_check_lib_save_LIBS
  9423. fi
  9424. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
  9425. $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
  9426. if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
  9427. lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
  9428. else
  9429. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
  9430. $as_echo_n "checking for dld_link in -ldld... " >&6; }
  9431. if ${ac_cv_lib_dld_dld_link+:} false; then :
  9432. $as_echo_n "(cached) " >&6
  9433. else
  9434. ac_check_lib_save_LIBS=$LIBS
  9435. LIBS="-ldld $LIBS"
  9436. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9437. /* end confdefs.h. */
  9438. /* Override any GCC internal prototype to avoid an error.
  9439. Use char because int might match the return type of a GCC
  9440. builtin and then its argument prototype would still apply. */
  9441. #ifdef __cplusplus
  9442. extern "C"
  9443. #endif
  9444. char dld_link ();
  9445. int
  9446. main ()
  9447. {
  9448. return dld_link ();
  9449. ;
  9450. return 0;
  9451. }
  9452. _ACEOF
  9453. if ac_fn_c_try_link "$LINENO"; then :
  9454. ac_cv_lib_dld_dld_link=yes
  9455. else
  9456. ac_cv_lib_dld_dld_link=no
  9457. fi
  9458. rm -f core conftest.err conftest.$ac_objext \
  9459. conftest$ac_exeext conftest.$ac_ext
  9460. LIBS=$ac_check_lib_save_LIBS
  9461. fi
  9462. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
  9463. $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
  9464. if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
  9465. lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
  9466. fi
  9467. fi
  9468. fi
  9469. fi
  9470. fi
  9471. fi
  9472. ;;
  9473. esac
  9474. if test "x$lt_cv_dlopen" != xno; then
  9475. enable_dlopen=yes
  9476. else
  9477. enable_dlopen=no
  9478. fi
  9479. case $lt_cv_dlopen in
  9480. dlopen)
  9481. save_CPPFLAGS="$CPPFLAGS"
  9482. test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
  9483. save_LDFLAGS="$LDFLAGS"
  9484. wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
  9485. save_LIBS="$LIBS"
  9486. LIBS="$lt_cv_dlopen_libs $LIBS"
  9487. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
  9488. $as_echo_n "checking whether a program can dlopen itself... " >&6; }
  9489. if ${lt_cv_dlopen_self+:} false; then :
  9490. $as_echo_n "(cached) " >&6
  9491. else
  9492. if test "$cross_compiling" = yes; then :
  9493. lt_cv_dlopen_self=cross
  9494. else
  9495. lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
  9496. lt_status=$lt_dlunknown
  9497. cat > conftest.$ac_ext <<_LT_EOF
  9498. #line 11044 "configure"
  9499. #include "confdefs.h"
  9500. #if HAVE_DLFCN_H
  9501. #include <dlfcn.h>
  9502. #endif
  9503. #include <stdio.h>
  9504. #ifdef RTLD_GLOBAL
  9505. # define LT_DLGLOBAL RTLD_GLOBAL
  9506. #else
  9507. # ifdef DL_GLOBAL
  9508. # define LT_DLGLOBAL DL_GLOBAL
  9509. # else
  9510. # define LT_DLGLOBAL 0
  9511. # endif
  9512. #endif
  9513. /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
  9514. find out it does not work in some platform. */
  9515. #ifndef LT_DLLAZY_OR_NOW
  9516. # ifdef RTLD_LAZY
  9517. # define LT_DLLAZY_OR_NOW RTLD_LAZY
  9518. # else
  9519. # ifdef DL_LAZY
  9520. # define LT_DLLAZY_OR_NOW DL_LAZY
  9521. # else
  9522. # ifdef RTLD_NOW
  9523. # define LT_DLLAZY_OR_NOW RTLD_NOW
  9524. # else
  9525. # ifdef DL_NOW
  9526. # define LT_DLLAZY_OR_NOW DL_NOW
  9527. # else
  9528. # define LT_DLLAZY_OR_NOW 0
  9529. # endif
  9530. # endif
  9531. # endif
  9532. # endif
  9533. #endif
  9534. /* When -fvisbility=hidden is used, assume the code has been annotated
  9535. correspondingly for the symbols needed. */
  9536. #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
  9537. void fnord () __attribute__((visibility("default")));
  9538. #endif
  9539. void fnord () { int i=42; }
  9540. int main ()
  9541. {
  9542. void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
  9543. int status = $lt_dlunknown;
  9544. if (self)
  9545. {
  9546. if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
  9547. else
  9548. {
  9549. if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
  9550. else puts (dlerror ());
  9551. }
  9552. /* dlclose (self); */
  9553. }
  9554. else
  9555. puts (dlerror ());
  9556. return status;
  9557. }
  9558. _LT_EOF
  9559. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  9560. (eval $ac_link) 2>&5
  9561. ac_status=$?
  9562. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  9563. test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
  9564. (./conftest; exit; ) >&5 2>/dev/null
  9565. lt_status=$?
  9566. case x$lt_status in
  9567. x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
  9568. x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
  9569. x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
  9570. esac
  9571. else :
  9572. # compilation failed
  9573. lt_cv_dlopen_self=no
  9574. fi
  9575. fi
  9576. rm -fr conftest*
  9577. fi
  9578. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
  9579. $as_echo "$lt_cv_dlopen_self" >&6; }
  9580. if test "x$lt_cv_dlopen_self" = xyes; then
  9581. wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
  9582. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
  9583. $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
  9584. if ${lt_cv_dlopen_self_static+:} false; then :
  9585. $as_echo_n "(cached) " >&6
  9586. else
  9587. if test "$cross_compiling" = yes; then :
  9588. lt_cv_dlopen_self_static=cross
  9589. else
  9590. lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
  9591. lt_status=$lt_dlunknown
  9592. cat > conftest.$ac_ext <<_LT_EOF
  9593. #line 11150 "configure"
  9594. #include "confdefs.h"
  9595. #if HAVE_DLFCN_H
  9596. #include <dlfcn.h>
  9597. #endif
  9598. #include <stdio.h>
  9599. #ifdef RTLD_GLOBAL
  9600. # define LT_DLGLOBAL RTLD_GLOBAL
  9601. #else
  9602. # ifdef DL_GLOBAL
  9603. # define LT_DLGLOBAL DL_GLOBAL
  9604. # else
  9605. # define LT_DLGLOBAL 0
  9606. # endif
  9607. #endif
  9608. /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
  9609. find out it does not work in some platform. */
  9610. #ifndef LT_DLLAZY_OR_NOW
  9611. # ifdef RTLD_LAZY
  9612. # define LT_DLLAZY_OR_NOW RTLD_LAZY
  9613. # else
  9614. # ifdef DL_LAZY
  9615. # define LT_DLLAZY_OR_NOW DL_LAZY
  9616. # else
  9617. # ifdef RTLD_NOW
  9618. # define LT_DLLAZY_OR_NOW RTLD_NOW
  9619. # else
  9620. # ifdef DL_NOW
  9621. # define LT_DLLAZY_OR_NOW DL_NOW
  9622. # else
  9623. # define LT_DLLAZY_OR_NOW 0
  9624. # endif
  9625. # endif
  9626. # endif
  9627. # endif
  9628. #endif
  9629. /* When -fvisbility=hidden is used, assume the code has been annotated
  9630. correspondingly for the symbols needed. */
  9631. #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
  9632. void fnord () __attribute__((visibility("default")));
  9633. #endif
  9634. void fnord () { int i=42; }
  9635. int main ()
  9636. {
  9637. void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
  9638. int status = $lt_dlunknown;
  9639. if (self)
  9640. {
  9641. if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
  9642. else
  9643. {
  9644. if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
  9645. else puts (dlerror ());
  9646. }
  9647. /* dlclose (self); */
  9648. }
  9649. else
  9650. puts (dlerror ());
  9651. return status;
  9652. }
  9653. _LT_EOF
  9654. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  9655. (eval $ac_link) 2>&5
  9656. ac_status=$?
  9657. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  9658. test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
  9659. (./conftest; exit; ) >&5 2>/dev/null
  9660. lt_status=$?
  9661. case x$lt_status in
  9662. x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
  9663. x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
  9664. x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
  9665. esac
  9666. else :
  9667. # compilation failed
  9668. lt_cv_dlopen_self_static=no
  9669. fi
  9670. fi
  9671. rm -fr conftest*
  9672. fi
  9673. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
  9674. $as_echo "$lt_cv_dlopen_self_static" >&6; }
  9675. fi
  9676. CPPFLAGS="$save_CPPFLAGS"
  9677. LDFLAGS="$save_LDFLAGS"
  9678. LIBS="$save_LIBS"
  9679. ;;
  9680. esac
  9681. case $lt_cv_dlopen_self in
  9682. yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
  9683. *) enable_dlopen_self=unknown ;;
  9684. esac
  9685. case $lt_cv_dlopen_self_static in
  9686. yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
  9687. *) enable_dlopen_self_static=unknown ;;
  9688. esac
  9689. fi
  9690. striplib=
  9691. old_striplib=
  9692. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
  9693. $as_echo_n "checking whether stripping libraries is possible... " >&6; }
  9694. if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
  9695. test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
  9696. test -z "$striplib" && striplib="$STRIP --strip-unneeded"
  9697. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  9698. $as_echo "yes" >&6; }
  9699. else
  9700. # FIXME - insert some real tests, host_os isn't really good enough
  9701. case $host_os in
  9702. darwin*)
  9703. if test -n "$STRIP" ; then
  9704. striplib="$STRIP -x"
  9705. old_striplib="$STRIP -S"
  9706. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  9707. $as_echo "yes" >&6; }
  9708. else
  9709. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  9710. $as_echo "no" >&6; }
  9711. fi
  9712. ;;
  9713. *)
  9714. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  9715. $as_echo "no" >&6; }
  9716. ;;
  9717. esac
  9718. fi
  9719. # Report which library types will actually be built
  9720. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
  9721. $as_echo_n "checking if libtool supports shared libraries... " >&6; }
  9722. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
  9723. $as_echo "$can_build_shared" >&6; }
  9724. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
  9725. $as_echo_n "checking whether to build shared libraries... " >&6; }
  9726. test "$can_build_shared" = "no" && enable_shared=no
  9727. # On AIX, shared libraries and static libraries use the same namespace, and
  9728. # are all built from PIC.
  9729. case $host_os in
  9730. aix3*)
  9731. test "$enable_shared" = yes && enable_static=no
  9732. if test -n "$RANLIB"; then
  9733. archive_cmds="$archive_cmds~\$RANLIB \$lib"
  9734. postinstall_cmds='$RANLIB $lib'
  9735. fi
  9736. ;;
  9737. aix[4-9]*)
  9738. if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
  9739. test "$enable_shared" = yes && enable_static=no
  9740. fi
  9741. ;;
  9742. esac
  9743. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
  9744. $as_echo "$enable_shared" >&6; }
  9745. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
  9746. $as_echo_n "checking whether to build static libraries... " >&6; }
  9747. # Make sure either enable_shared or enable_static is yes.
  9748. test "$enable_shared" = yes || enable_static=yes
  9749. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
  9750. $as_echo "$enable_static" >&6; }
  9751. fi
  9752. ac_ext=c
  9753. ac_cpp='$CPP $CPPFLAGS'
  9754. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  9755. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  9756. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  9757. CC="$lt_save_CC"
  9758. ac_config_commands="$ac_config_commands libtool"
  9759. # Only expand once:
  9760. ac_checking=
  9761. . ${srcdir}/../bfd/development.sh
  9762. test "$development" = true && ac_checking=yes
  9763. # Check whether --enable-checking was given.
  9764. if test "${enable_checking+set}" = set; then :
  9765. enableval=$enable_checking; case "${enableval}" in
  9766. no|none) ac_checking= ;;
  9767. *) ac_checking=yes ;;
  9768. esac
  9769. fi
  9770. if test x$ac_checking != x ; then
  9771. $as_echo "#define ENABLE_CHECKING 1" >>confdefs.h
  9772. fi
  9773. # Check whether --enable-targets was given.
  9774. if test "${enable_targets+set}" = set; then :
  9775. enableval=$enable_targets; case "${enableval}" in
  9776. yes | "") as_fn_error $? "enable-targets option must specify target names or 'all'" "$LINENO" 5
  9777. ;;
  9778. no) enable_targets= ;;
  9779. *) enable_targets=$enableval ;;
  9780. esac
  9781. fi
  9782. # Set the 'development' global.
  9783. . $srcdir/../bfd/development.sh
  9784. # Set acp_cpp_for_build variable
  9785. ac_cpp_for_build="$CC_FOR_BUILD -E $CPPFLAGS_FOR_BUILD"
  9786. # Default set of GCC warnings to enable.
  9787. GCC_WARN_CFLAGS="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
  9788. GCC_WARN_CFLAGS_FOR_BUILD="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
  9789. # Add -Wshadow if the compiler is a sufficiently recent version of GCC.
  9790. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9791. /* end confdefs.h. */
  9792. __GNUC__
  9793. _ACEOF
  9794. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  9795. $EGREP "(^[0-3]$|^__GNUC__$)" >/dev/null 2>&1; then :
  9796. else
  9797. GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Wshadow"
  9798. fi
  9799. rm -f conftest*
  9800. # Add -Wstack-usage if the compiler is a sufficiently recent version of GCC.
  9801. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9802. /* end confdefs.h. */
  9803. __GNUC__
  9804. _ACEOF
  9805. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  9806. $EGREP "(^[0-4]$|^__GNUC__$)" >/dev/null 2>&1; then :
  9807. else
  9808. GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Wstack-usage=262144"
  9809. fi
  9810. rm -f conftest*
  9811. # Set WARN_WRITE_STRINGS if the compiler supports -Wwrite-strings.
  9812. WARN_WRITE_STRINGS=""
  9813. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9814. /* end confdefs.h. */
  9815. __GNUC__
  9816. _ACEOF
  9817. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  9818. $EGREP "(^[0-3]$|^__GNUC__$)" >/dev/null 2>&1; then :
  9819. else
  9820. WARN_WRITE_STRINGS="-Wwrite-strings"
  9821. fi
  9822. rm -f conftest*
  9823. # Verify CC_FOR_BUILD to be compatible with warning flags
  9824. # Add -Wshadow if the compiler is a sufficiently recent version of GCC.
  9825. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9826. /* end confdefs.h. */
  9827. __GNUC__
  9828. _ACEOF
  9829. if (eval "$ac_cpp_for_build conftest.$ac_ext") 2>&5 |
  9830. $EGREP "(^[0-3]$|^__GNUC__$)" >/dev/null 2>&1; then :
  9831. else
  9832. GCC_WARN_CFLAGS_FOR_BUILD="$GCC_WARN_CFLAGS_FOR_BUILD -Wshadow"
  9833. fi
  9834. rm -f conftest*
  9835. # Add -Wstack-usage if the compiler is a sufficiently recent version of GCC.
  9836. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9837. /* end confdefs.h. */
  9838. __GNUC__
  9839. _ACEOF
  9840. if (eval "$ac_cpp_for_build conftest.$ac_ext") 2>&5 |
  9841. $EGREP "(^[0-4]$|^__GNUC__$)" >/dev/null 2>&1; then :
  9842. else
  9843. GCC_WARN_CFLAGS_FOR_BUILD="$GCC_WARN_CFLAGS_FOR_BUILD -Wstack-usage=262144"
  9844. fi
  9845. rm -f conftest*
  9846. # Check whether --enable-werror was given.
  9847. if test "${enable_werror+set}" = set; then :
  9848. enableval=$enable_werror; case "${enableval}" in
  9849. yes | y) ERROR_ON_WARNING="yes" ;;
  9850. no | n) ERROR_ON_WARNING="no" ;;
  9851. *) as_fn_error $? "bad value ${enableval} for --enable-werror" "$LINENO" 5 ;;
  9852. esac
  9853. fi
  9854. # Disable -Wformat by default when using gcc on mingw
  9855. case "${host}" in
  9856. *-*-mingw32*)
  9857. if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
  9858. GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Wno-format"
  9859. GCC_WARN_CFLAGS_FOR_BUILD="$GCC_WARN_CFLAGS_FOR_BUILD -Wno-format"
  9860. fi
  9861. ;;
  9862. *) ;;
  9863. esac
  9864. # Enable -Werror by default when using gcc. Turn it off for releases.
  9865. if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" -a "$development" = true ; then
  9866. ERROR_ON_WARNING=yes
  9867. fi
  9868. NO_WERROR=
  9869. if test "${ERROR_ON_WARNING}" = yes ; then
  9870. GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Werror"
  9871. GCC_WARN_CFLAGS_FOR_BUILD="$GCC_WARN_CFLAGS_FOR_BUILD -Werror"
  9872. NO_WERROR="-Wno-error"
  9873. fi
  9874. if test "${GCC}" = yes ; then
  9875. WARN_CFLAGS="${GCC_WARN_CFLAGS}"
  9876. WARN_CFLAGS_FOR_BUILD="${GCC_WARN_CFLAGS_FOR_BUILD}"
  9877. fi
  9878. # Check whether --enable-build-warnings was given.
  9879. if test "${enable_build_warnings+set}" = set; then :
  9880. enableval=$enable_build_warnings; case "${enableval}" in
  9881. yes) WARN_CFLAGS="${GCC_WARN_CFLAGS}"
  9882. WARN_CFLAGS_FOR_BUILD="${GCC_WARN_CFLAGS_FOR_BUILD}";;
  9883. no) if test "${GCC}" = yes ; then
  9884. WARN_CFLAGS="-w"
  9885. WARN_CFLAGS_FOR_BUILD="-w"
  9886. fi;;
  9887. ,*) t=`echo "${enableval}" | sed -e "s/,/ /g"`
  9888. WARN_CFLAGS="${GCC_WARN_CFLAGS} ${t}"
  9889. WARN_CFLAGS_FOR_BUILD="${GCC_WARN_CFLAGS_FOR_BUILD} ${t}";;
  9890. *,) t=`echo "${enableval}" | sed -e "s/,/ /g"`
  9891. WARN_CFLAGS="${t} ${GCC_WARN_CFLAGS}"
  9892. WARN_CFLAGS_FOR_BUILD="${t} ${GCC_WARN_CFLAGS_FOR_BUILD}";;
  9893. *) WARN_CFLAGS=`echo "${enableval}" | sed -e "s/,/ /g"`
  9894. WARN_CFLAGS_FOR_BUILD=`echo "${enableval}" | sed -e "s/,/ /g"`;;
  9895. esac
  9896. fi
  9897. if test x"$silent" != x"yes" && test x"$WARN_CFLAGS" != x""; then
  9898. echo "Setting warning flags = $WARN_CFLAGS" 6>&1
  9899. fi
  9900. ac_config_headers="$ac_config_headers config.h:config.in"
  9901. # PR 14072
  9902. if test -z "$target" ; then
  9903. as_fn_error $? "Unrecognized target system type; please check config.sub." "$LINENO" 5
  9904. fi
  9905. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
  9906. $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
  9907. # Check whether --enable-maintainer-mode was given.
  9908. if test "${enable_maintainer_mode+set}" = set; then :
  9909. enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
  9910. else
  9911. USE_MAINTAINER_MODE=no
  9912. fi
  9913. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
  9914. $as_echo "$USE_MAINTAINER_MODE" >&6; }
  9915. if test $USE_MAINTAINER_MODE = yes; then
  9916. MAINTAINER_MODE_TRUE=
  9917. MAINTAINER_MODE_FALSE='#'
  9918. else
  9919. MAINTAINER_MODE_TRUE='#'
  9920. MAINTAINER_MODE_FALSE=
  9921. fi
  9922. MAINT=$MAINTAINER_MODE_TRUE
  9923. case ${build_alias} in
  9924. "") build_noncanonical=${build} ;;
  9925. *) build_noncanonical=${build_alias} ;;
  9926. esac
  9927. case ${host_alias} in
  9928. "") host_noncanonical=${build_noncanonical} ;;
  9929. *) host_noncanonical=${host_alias} ;;
  9930. esac
  9931. case ${target_alias} in
  9932. "") target_noncanonical=${host_noncanonical} ;;
  9933. *) target_noncanonical=${target_alias} ;;
  9934. esac
  9935. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to install libbfd" >&5
  9936. $as_echo_n "checking whether to install libbfd... " >&6; }
  9937. # Check whether --enable-install-libbfd was given.
  9938. if test "${enable_install_libbfd+set}" = set; then :
  9939. enableval=$enable_install_libbfd; install_libbfd_p=$enableval
  9940. else
  9941. if test "${host}" = "${target}" || test "$enable_shared" = "yes"; then
  9942. install_libbfd_p=yes
  9943. else
  9944. install_libbfd_p=no
  9945. fi
  9946. fi
  9947. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $install_libbfd_p" >&5
  9948. $as_echo "$install_libbfd_p" >&6; }
  9949. if test $install_libbfd_p = yes; then
  9950. INSTALL_LIBBFD_TRUE=
  9951. INSTALL_LIBBFD_FALSE='#'
  9952. else
  9953. INSTALL_LIBBFD_TRUE='#'
  9954. INSTALL_LIBBFD_FALSE=
  9955. fi
  9956. # Need _noncanonical variables for this.
  9957. # libbfd.a is a host library containing target dependent code
  9958. bfdlibdir='$(libdir)'
  9959. bfdincludedir='$(includedir)'
  9960. if test "${host}" != "${target}"; then
  9961. bfdlibdir='$(exec_prefix)/$(host_noncanonical)/$(target_noncanonical)/lib'
  9962. bfdincludedir='$(exec_prefix)/$(host_noncanonical)/$(target_noncanonical)/include'
  9963. fi
  9964. # host-specific stuff:
  9965. ALL_LINGUAS="da de es fi fr ga id it nl pt_BR ro sr sv tr uk vi zh_CN"
  9966. # If we haven't got the data from the intl directory,
  9967. # assume NLS is disabled.
  9968. USE_NLS=no
  9969. LIBINTL=
  9970. LIBINTL_DEP=
  9971. INCINTL=
  9972. XGETTEXT=
  9973. GMSGFMT=
  9974. POSUB=
  9975. if test -f ../intl/config.intl; then
  9976. . ../intl/config.intl
  9977. fi
  9978. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
  9979. $as_echo_n "checking whether NLS is requested... " >&6; }
  9980. if test x"$USE_NLS" != xyes; then
  9981. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  9982. $as_echo "no" >&6; }
  9983. else
  9984. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  9985. $as_echo "yes" >&6; }
  9986. $as_echo "#define ENABLE_NLS 1" >>confdefs.h
  9987. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
  9988. $as_echo_n "checking for catalogs to be installed... " >&6; }
  9989. # Look for .po and .gmo files in the source directory.
  9990. CATALOGS=
  9991. XLINGUAS=
  9992. for cat in $srcdir/po/*.gmo $srcdir/po/*.po; do
  9993. # If there aren't any .gmo files the shell will give us the
  9994. # literal string "../path/to/srcdir/po/*.gmo" which has to be
  9995. # weeded out.
  9996. case "$cat" in *\**)
  9997. continue;;
  9998. esac
  9999. # The quadruple backslash is collapsed to a double backslash
  10000. # by the backticks, then collapsed again by the double quotes,
  10001. # leaving us with one backslash in the sed expression (right
  10002. # before the dot that mustn't act as a wildcard).
  10003. cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
  10004. lang=`echo $cat | sed -e "s!\\\\.gmo!!"`
  10005. # The user is allowed to set LINGUAS to a list of languages to
  10006. # install catalogs for. If it's empty that means "all of them."
  10007. if test "x$LINGUAS" = x; then
  10008. CATALOGS="$CATALOGS $cat"
  10009. XLINGUAS="$XLINGUAS $lang"
  10010. else
  10011. case "$LINGUAS" in *$lang*)
  10012. CATALOGS="$CATALOGS $cat"
  10013. XLINGUAS="$XLINGUAS $lang"
  10014. ;;
  10015. esac
  10016. fi
  10017. done
  10018. LINGUAS="$XLINGUAS"
  10019. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
  10020. $as_echo "$LINGUAS" >&6; }
  10021. DATADIRNAME=share
  10022. INSTOBJEXT=.mo
  10023. GENCAT=gencat
  10024. CATOBJEXT=.gmo
  10025. fi
  10026. MKINSTALLDIRS=
  10027. if test -n "$ac_aux_dir"; then
  10028. case "$ac_aux_dir" in
  10029. /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;;
  10030. *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
  10031. esac
  10032. fi
  10033. if test -z "$MKINSTALLDIRS"; then
  10034. MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
  10035. fi
  10036. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
  10037. $as_echo_n "checking whether NLS is requested... " >&6; }
  10038. # Check whether --enable-nls was given.
  10039. if test "${enable_nls+set}" = set; then :
  10040. enableval=$enable_nls; USE_NLS=$enableval
  10041. else
  10042. USE_NLS=yes
  10043. fi
  10044. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
  10045. $as_echo "$USE_NLS" >&6; }
  10046. # Prepare PATH_SEPARATOR.
  10047. # The user is always right.
  10048. if test "${PATH_SEPARATOR+set}" != set; then
  10049. echo "#! /bin/sh" >conf$$.sh
  10050. echo "exit 0" >>conf$$.sh
  10051. chmod +x conf$$.sh
  10052. if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
  10053. PATH_SEPARATOR=';'
  10054. else
  10055. PATH_SEPARATOR=:
  10056. fi
  10057. rm -f conf$$.sh
  10058. fi
  10059. # Find out how to test for executable files. Don't use a zero-byte file,
  10060. # as systems may use methods other than mode bits to determine executability.
  10061. cat >conf$$.file <<_ASEOF
  10062. #! /bin/sh
  10063. exit 0
  10064. _ASEOF
  10065. chmod +x conf$$.file
  10066. if test -x conf$$.file >/dev/null 2>&1; then
  10067. ac_executable_p="test -x"
  10068. else
  10069. ac_executable_p="test -f"
  10070. fi
  10071. rm -f conf$$.file
  10072. # Extract the first word of "msgfmt", so it can be a program name with args.
  10073. set dummy msgfmt; ac_word=$2
  10074. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  10075. $as_echo_n "checking for $ac_word... " >&6; }
  10076. if ${ac_cv_path_MSGFMT+:} false; then :
  10077. $as_echo_n "(cached) " >&6
  10078. else
  10079. case "$MSGFMT" in
  10080. [\\/]* | ?:[\\/]*)
  10081. ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
  10082. ;;
  10083. *)
  10084. ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
  10085. for ac_dir in $PATH; do
  10086. IFS="$ac_save_IFS"
  10087. test -z "$ac_dir" && ac_dir=.
  10088. for ac_exec_ext in '' $ac_executable_extensions; do
  10089. if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
  10090. if $ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 &&
  10091. (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
  10092. ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
  10093. break 2
  10094. fi
  10095. fi
  10096. done
  10097. done
  10098. IFS="$ac_save_IFS"
  10099. test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
  10100. ;;
  10101. esac
  10102. fi
  10103. MSGFMT="$ac_cv_path_MSGFMT"
  10104. if test "$MSGFMT" != ":"; then
  10105. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
  10106. $as_echo "$MSGFMT" >&6; }
  10107. else
  10108. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  10109. $as_echo "no" >&6; }
  10110. fi
  10111. # Extract the first word of "gmsgfmt", so it can be a program name with args.
  10112. set dummy gmsgfmt; ac_word=$2
  10113. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  10114. $as_echo_n "checking for $ac_word... " >&6; }
  10115. if ${ac_cv_path_GMSGFMT+:} false; then :
  10116. $as_echo_n "(cached) " >&6
  10117. else
  10118. case $GMSGFMT in
  10119. [\\/]* | ?:[\\/]*)
  10120. ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
  10121. ;;
  10122. *)
  10123. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  10124. for as_dir in $PATH
  10125. do
  10126. IFS=$as_save_IFS
  10127. test -z "$as_dir" && as_dir=.
  10128. for ac_exec_ext in '' $ac_executable_extensions; do
  10129. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  10130. ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
  10131. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  10132. break 2
  10133. fi
  10134. done
  10135. done
  10136. IFS=$as_save_IFS
  10137. test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
  10138. ;;
  10139. esac
  10140. fi
  10141. GMSGFMT=$ac_cv_path_GMSGFMT
  10142. if test -n "$GMSGFMT"; then
  10143. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
  10144. $as_echo "$GMSGFMT" >&6; }
  10145. else
  10146. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  10147. $as_echo "no" >&6; }
  10148. fi
  10149. # Prepare PATH_SEPARATOR.
  10150. # The user is always right.
  10151. if test "${PATH_SEPARATOR+set}" != set; then
  10152. echo "#! /bin/sh" >conf$$.sh
  10153. echo "exit 0" >>conf$$.sh
  10154. chmod +x conf$$.sh
  10155. if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
  10156. PATH_SEPARATOR=';'
  10157. else
  10158. PATH_SEPARATOR=:
  10159. fi
  10160. rm -f conf$$.sh
  10161. fi
  10162. # Find out how to test for executable files. Don't use a zero-byte file,
  10163. # as systems may use methods other than mode bits to determine executability.
  10164. cat >conf$$.file <<_ASEOF
  10165. #! /bin/sh
  10166. exit 0
  10167. _ASEOF
  10168. chmod +x conf$$.file
  10169. if test -x conf$$.file >/dev/null 2>&1; then
  10170. ac_executable_p="test -x"
  10171. else
  10172. ac_executable_p="test -f"
  10173. fi
  10174. rm -f conf$$.file
  10175. # Extract the first word of "xgettext", so it can be a program name with args.
  10176. set dummy xgettext; ac_word=$2
  10177. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  10178. $as_echo_n "checking for $ac_word... " >&6; }
  10179. if ${ac_cv_path_XGETTEXT+:} false; then :
  10180. $as_echo_n "(cached) " >&6
  10181. else
  10182. case "$XGETTEXT" in
  10183. [\\/]* | ?:[\\/]*)
  10184. ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
  10185. ;;
  10186. *)
  10187. ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
  10188. for ac_dir in $PATH; do
  10189. IFS="$ac_save_IFS"
  10190. test -z "$ac_dir" && ac_dir=.
  10191. for ac_exec_ext in '' $ac_executable_extensions; do
  10192. if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
  10193. if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
  10194. (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); then
  10195. ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
  10196. break 2
  10197. fi
  10198. fi
  10199. done
  10200. done
  10201. IFS="$ac_save_IFS"
  10202. test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
  10203. ;;
  10204. esac
  10205. fi
  10206. XGETTEXT="$ac_cv_path_XGETTEXT"
  10207. if test "$XGETTEXT" != ":"; then
  10208. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
  10209. $as_echo "$XGETTEXT" >&6; }
  10210. else
  10211. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  10212. $as_echo "no" >&6; }
  10213. fi
  10214. rm -f messages.po
  10215. # Prepare PATH_SEPARATOR.
  10216. # The user is always right.
  10217. if test "${PATH_SEPARATOR+set}" != set; then
  10218. echo "#! /bin/sh" >conf$$.sh
  10219. echo "exit 0" >>conf$$.sh
  10220. chmod +x conf$$.sh
  10221. if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
  10222. PATH_SEPARATOR=';'
  10223. else
  10224. PATH_SEPARATOR=:
  10225. fi
  10226. rm -f conf$$.sh
  10227. fi
  10228. # Find out how to test for executable files. Don't use a zero-byte file,
  10229. # as systems may use methods other than mode bits to determine executability.
  10230. cat >conf$$.file <<_ASEOF
  10231. #! /bin/sh
  10232. exit 0
  10233. _ASEOF
  10234. chmod +x conf$$.file
  10235. if test -x conf$$.file >/dev/null 2>&1; then
  10236. ac_executable_p="test -x"
  10237. else
  10238. ac_executable_p="test -f"
  10239. fi
  10240. rm -f conf$$.file
  10241. # Extract the first word of "msgmerge", so it can be a program name with args.
  10242. set dummy msgmerge; ac_word=$2
  10243. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  10244. $as_echo_n "checking for $ac_word... " >&6; }
  10245. if ${ac_cv_path_MSGMERGE+:} false; then :
  10246. $as_echo_n "(cached) " >&6
  10247. else
  10248. case "$MSGMERGE" in
  10249. [\\/]* | ?:[\\/]*)
  10250. ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
  10251. ;;
  10252. *)
  10253. ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
  10254. for ac_dir in $PATH; do
  10255. IFS="$ac_save_IFS"
  10256. test -z "$ac_dir" && ac_dir=.
  10257. for ac_exec_ext in '' $ac_executable_extensions; do
  10258. if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
  10259. if $ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1; then
  10260. ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
  10261. break 2
  10262. fi
  10263. fi
  10264. done
  10265. done
  10266. IFS="$ac_save_IFS"
  10267. test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
  10268. ;;
  10269. esac
  10270. fi
  10271. MSGMERGE="$ac_cv_path_MSGMERGE"
  10272. if test "$MSGMERGE" != ":"; then
  10273. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
  10274. $as_echo "$MSGMERGE" >&6; }
  10275. else
  10276. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  10277. $as_echo "no" >&6; }
  10278. fi
  10279. if test "$GMSGFMT" != ":"; then
  10280. if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 &&
  10281. (if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
  10282. : ;
  10283. else
  10284. GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
  10285. { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
  10286. $as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; }
  10287. GMSGFMT=":"
  10288. fi
  10289. fi
  10290. if test "$XGETTEXT" != ":"; then
  10291. if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
  10292. (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
  10293. : ;
  10294. else
  10295. { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
  10296. $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
  10297. XGETTEXT=":"
  10298. fi
  10299. rm -f messages.po
  10300. fi
  10301. ac_config_commands="$ac_config_commands default-1"
  10302. . ${srcdir}/../bfd/configure.host
  10303. # Put a plausible default for CC_FOR_BUILD in Makefile.
  10304. if test -z "$CC_FOR_BUILD"; then
  10305. if test "x$cross_compiling" = "xno"; then
  10306. CC_FOR_BUILD='$(CC)'
  10307. else
  10308. CC_FOR_BUILD=gcc
  10309. fi
  10310. fi
  10311. # Also set EXEEXT_FOR_BUILD.
  10312. if test "x$cross_compiling" = "xno"; then
  10313. EXEEXT_FOR_BUILD='$(EXEEXT)'
  10314. else
  10315. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for build system executable suffix" >&5
  10316. $as_echo_n "checking for build system executable suffix... " >&6; }
  10317. if ${bfd_cv_build_exeext+:} false; then :
  10318. $as_echo_n "(cached) " >&6
  10319. else
  10320. rm -f conftest*
  10321. echo 'int main () { return 0; }' > conftest.c
  10322. bfd_cv_build_exeext=
  10323. ${CC_FOR_BUILD} -o conftest conftest.c 1>&5 2>&5
  10324. for file in conftest.*; do
  10325. case $file in
  10326. *.c | *.o | *.obj | *.ilk | *.pdb) ;;
  10327. *) bfd_cv_build_exeext=`echo $file | sed -e s/conftest//` ;;
  10328. esac
  10329. done
  10330. rm -f conftest*
  10331. test x"${bfd_cv_build_exeext}" = x && bfd_cv_build_exeext=no
  10332. fi
  10333. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_build_exeext" >&5
  10334. $as_echo "$bfd_cv_build_exeext" >&6; }
  10335. EXEEXT_FOR_BUILD=""
  10336. test x"${bfd_cv_build_exeext}" != xno && EXEEXT_FOR_BUILD=${bfd_cv_build_exeext}
  10337. fi
  10338. # Check whether --enable-64-bit-bfd was given.
  10339. if test "${enable_64_bit_bfd+set}" = set; then :
  10340. enableval=$enable_64_bit_bfd; case $enableval in #(
  10341. yes|no) :
  10342. ;; #(
  10343. *) :
  10344. as_fn_error $? "bad value ${enableval} for 64-bit-bfd option" "$LINENO" 5 ;; #(
  10345. *) :
  10346. ;;
  10347. esac
  10348. else
  10349. enable_64_bit_bfd=no
  10350. fi
  10351. if test "x$enable_64_bit_bfd" = "xno"; then :
  10352. # The cast to long int works around a bug in the HP C Compiler
  10353. # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  10354. # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  10355. # This bug is HP SR number 8606223364.
  10356. { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
  10357. $as_echo_n "checking size of void *... " >&6; }
  10358. if ${ac_cv_sizeof_void_p+:} false; then :
  10359. $as_echo_n "(cached) " >&6
  10360. else
  10361. if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
  10362. else
  10363. if test "$ac_cv_type_void_p" = yes; then
  10364. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  10365. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  10366. as_fn_error 77 "cannot compute sizeof (void *)
  10367. See \`config.log' for more details" "$LINENO" 5; }
  10368. else
  10369. ac_cv_sizeof_void_p=0
  10370. fi
  10371. fi
  10372. fi
  10373. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
  10374. $as_echo "$ac_cv_sizeof_void_p" >&6; }
  10375. cat >>confdefs.h <<_ACEOF
  10376. #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
  10377. _ACEOF
  10378. if test "x$ac_cv_sizeof_void_p" = "x8"; then :
  10379. enable_64_bit_bfd=yes
  10380. fi
  10381. fi
  10382. if test "x$enable_64_bit_bfd" = "xyes"; then
  10383. ENABLE_BFD_64_BIT_TRUE=
  10384. ENABLE_BFD_64_BIT_FALSE='#'
  10385. else
  10386. ENABLE_BFD_64_BIT_TRUE='#'
  10387. ENABLE_BFD_64_BIT_FALSE=
  10388. fi
  10389. ac_fn_c_check_decl "$LINENO" "basename" "ac_cv_have_decl_basename" "$ac_includes_default"
  10390. if test "x$ac_cv_have_decl_basename" = xyes; then :
  10391. ac_have_decl=1
  10392. else
  10393. ac_have_decl=0
  10394. fi
  10395. cat >>confdefs.h <<_ACEOF
  10396. #define HAVE_DECL_BASENAME $ac_have_decl
  10397. _ACEOF
  10398. ac_fn_c_check_decl "$LINENO" "stpcpy" "ac_cv_have_decl_stpcpy" "$ac_includes_default"
  10399. if test "x$ac_cv_have_decl_stpcpy" = xyes; then :
  10400. ac_have_decl=1
  10401. else
  10402. ac_have_decl=0
  10403. fi
  10404. cat >>confdefs.h <<_ACEOF
  10405. #define HAVE_DECL_STPCPY $ac_have_decl
  10406. _ACEOF
  10407. # Check if sigsetjmp is available. Using AC_CHECK_FUNCS won't do
  10408. # since sigsetjmp might only be defined as a macro.
  10409. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigsetjmp" >&5
  10410. $as_echo_n "checking for sigsetjmp... " >&6; }
  10411. if ${gdb_cv_func_sigsetjmp+:} false; then :
  10412. $as_echo_n "(cached) " >&6
  10413. else
  10414. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10415. /* end confdefs.h. */
  10416. #include <setjmp.h>
  10417. int
  10418. main ()
  10419. {
  10420. sigjmp_buf env; while (! sigsetjmp (env, 1)) siglongjmp (env, 1);
  10421. ;
  10422. return 0;
  10423. }
  10424. _ACEOF
  10425. if ac_fn_c_try_compile "$LINENO"; then :
  10426. bfd_cv_func_sigsetjmp=yes
  10427. else
  10428. bfd_cv_func_sigsetjmp=no
  10429. fi
  10430. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  10431. fi
  10432. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gdb_cv_func_sigsetjmp" >&5
  10433. $as_echo "$gdb_cv_func_sigsetjmp" >&6; }
  10434. if test $bfd_cv_func_sigsetjmp = yes; then
  10435. $as_echo "#define HAVE_SIGSETJMP 1" >>confdefs.h
  10436. fi
  10437. cgen_maint=no
  10438. cgendir='$(srcdir)/../cgen'
  10439. # Check whether --enable-cgen-maint was given.
  10440. if test "${enable_cgen_maint+set}" = set; then :
  10441. enableval=$enable_cgen_maint; case "${enableval}" in
  10442. yes) cgen_maint=yes ;;
  10443. no) cgen_maint=no ;;
  10444. *)
  10445. # Argument is a directory where cgen can be found. In some
  10446. # future world cgen could be installable, but right now this
  10447. # is not the case. Instead we assume the directory is a path
  10448. # to the cgen source tree.
  10449. cgen_maint=yes
  10450. if test -r ${enableval}/iformat.scm; then
  10451. # This looks like a cgen source tree.
  10452. cgendir=${enableval}
  10453. else
  10454. as_fn_error $? "${enableval} doesn't look like a cgen source tree" "$LINENO" 5
  10455. fi
  10456. ;;
  10457. esac
  10458. fi
  10459. if test x${cgen_maint} = xyes; then
  10460. CGEN_MAINT_TRUE=
  10461. CGEN_MAINT_FALSE='#'
  10462. else
  10463. CGEN_MAINT_TRUE='#'
  10464. CGEN_MAINT_FALSE=
  10465. fi
  10466. using_cgen=no
  10467. # Check if linker supports --as-needed and --no-as-needed options
  10468. { $as_echo "$as_me:${as_lineno-$LINENO}: checking linker --as-needed support" >&5
  10469. $as_echo_n "checking linker --as-needed support... " >&6; }
  10470. if ${bfd_cv_ld_as_needed+:} false; then :
  10471. $as_echo_n "(cached) " >&6
  10472. else
  10473. bfd_cv_ld_as_needed=no
  10474. if $LD --help 2>/dev/null | grep as-needed > /dev/null; then
  10475. bfd_cv_ld_as_needed=yes
  10476. fi
  10477. fi
  10478. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_ld_as_needed" >&5
  10479. $as_echo "$bfd_cv_ld_as_needed" >&6; }
  10480. LIBM=
  10481. case $host in
  10482. *-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*)
  10483. # These system don't have libm, or don't need it
  10484. ;;
  10485. *-ncr-sysv4.3*)
  10486. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _mwvalidcheckl in -lmw" >&5
  10487. $as_echo_n "checking for _mwvalidcheckl in -lmw... " >&6; }
  10488. if ${ac_cv_lib_mw__mwvalidcheckl+:} false; then :
  10489. $as_echo_n "(cached) " >&6
  10490. else
  10491. ac_check_lib_save_LIBS=$LIBS
  10492. LIBS="-lmw $LIBS"
  10493. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10494. /* end confdefs.h. */
  10495. /* Override any GCC internal prototype to avoid an error.
  10496. Use char because int might match the return type of a GCC
  10497. builtin and then its argument prototype would still apply. */
  10498. #ifdef __cplusplus
  10499. extern "C"
  10500. #endif
  10501. char _mwvalidcheckl ();
  10502. int
  10503. main ()
  10504. {
  10505. return _mwvalidcheckl ();
  10506. ;
  10507. return 0;
  10508. }
  10509. _ACEOF
  10510. if ac_fn_c_try_link "$LINENO"; then :
  10511. ac_cv_lib_mw__mwvalidcheckl=yes
  10512. else
  10513. ac_cv_lib_mw__mwvalidcheckl=no
  10514. fi
  10515. rm -f core conftest.err conftest.$ac_objext \
  10516. conftest$ac_exeext conftest.$ac_ext
  10517. LIBS=$ac_check_lib_save_LIBS
  10518. fi
  10519. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mw__mwvalidcheckl" >&5
  10520. $as_echo "$ac_cv_lib_mw__mwvalidcheckl" >&6; }
  10521. if test "x$ac_cv_lib_mw__mwvalidcheckl" = xyes; then :
  10522. LIBM="-lmw"
  10523. fi
  10524. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
  10525. $as_echo_n "checking for cos in -lm... " >&6; }
  10526. if ${ac_cv_lib_m_cos+:} false; then :
  10527. $as_echo_n "(cached) " >&6
  10528. else
  10529. ac_check_lib_save_LIBS=$LIBS
  10530. LIBS="-lm $LIBS"
  10531. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10532. /* end confdefs.h. */
  10533. /* Override any GCC internal prototype to avoid an error.
  10534. Use char because int might match the return type of a GCC
  10535. builtin and then its argument prototype would still apply. */
  10536. #ifdef __cplusplus
  10537. extern "C"
  10538. #endif
  10539. char cos ();
  10540. int
  10541. main ()
  10542. {
  10543. return cos ();
  10544. ;
  10545. return 0;
  10546. }
  10547. _ACEOF
  10548. if ac_fn_c_try_link "$LINENO"; then :
  10549. ac_cv_lib_m_cos=yes
  10550. else
  10551. ac_cv_lib_m_cos=no
  10552. fi
  10553. rm -f core conftest.err conftest.$ac_objext \
  10554. conftest$ac_exeext conftest.$ac_ext
  10555. LIBS=$ac_check_lib_save_LIBS
  10556. fi
  10557. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
  10558. $as_echo "$ac_cv_lib_m_cos" >&6; }
  10559. if test "x$ac_cv_lib_m_cos" = xyes; then :
  10560. LIBM="$LIBM -lm"
  10561. fi
  10562. ;;
  10563. *)
  10564. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
  10565. $as_echo_n "checking for cos in -lm... " >&6; }
  10566. if ${ac_cv_lib_m_cos+:} false; then :
  10567. $as_echo_n "(cached) " >&6
  10568. else
  10569. ac_check_lib_save_LIBS=$LIBS
  10570. LIBS="-lm $LIBS"
  10571. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10572. /* end confdefs.h. */
  10573. /* Override any GCC internal prototype to avoid an error.
  10574. Use char because int might match the return type of a GCC
  10575. builtin and then its argument prototype would still apply. */
  10576. #ifdef __cplusplus
  10577. extern "C"
  10578. #endif
  10579. char cos ();
  10580. int
  10581. main ()
  10582. {
  10583. return cos ();
  10584. ;
  10585. return 0;
  10586. }
  10587. _ACEOF
  10588. if ac_fn_c_try_link "$LINENO"; then :
  10589. ac_cv_lib_m_cos=yes
  10590. else
  10591. ac_cv_lib_m_cos=no
  10592. fi
  10593. rm -f core conftest.err conftest.$ac_objext \
  10594. conftest$ac_exeext conftest.$ac_ext
  10595. LIBS=$ac_check_lib_save_LIBS
  10596. fi
  10597. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
  10598. $as_echo "$ac_cv_lib_m_cos" >&6; }
  10599. if test "x$ac_cv_lib_m_cos" = xyes; then :
  10600. LIBM="-lm"
  10601. fi
  10602. ;;
  10603. esac
  10604. #Libs for generator progs
  10605. if test "x$cross_compiling" = "xno"; then
  10606. BUILD_LIBS=../libiberty/libiberty.a
  10607. BUILD_LIB_DEPS=$BUILD_LIBS
  10608. else
  10609. # if cross-compiling, assume that the system provides -liberty
  10610. # and that the version is compatible with new headers.
  10611. BUILD_LIBS=-liberty
  10612. BUILD_LIB_DEPS=
  10613. fi
  10614. BUILD_LIBS="$BUILD_LIBS $LIBINTL"
  10615. BUILD_LIB_DEPS="$BUILD_LIB_DEPS $LIBINTL_DEP"
  10616. # Horrible hacks to build DLLs on Windows and a shared library elsewhere.
  10617. SHARED_LDFLAGS=
  10618. SHARED_LIBADD=
  10619. SHARED_DEPENDENCIES=
  10620. if test "$enable_shared" = "yes"; then
  10621. # When building a shared libopcodes, link against the pic version of libiberty
  10622. # so that apps that use libopcodes won't need libiberty just to satisfy any
  10623. # libopcodes references.
  10624. # We can't do that if a pic libiberty is unavailable since including non-pic
  10625. # code would insert text relocations into libopcodes.
  10626. # Note that linking against libbfd as we do here, which is itself linked
  10627. # against libiberty, may not satisfy all the libopcodes libiberty references
  10628. # since libbfd may not pull in the entirety of libiberty.
  10629. # Also, jam libintl into the right place in all of this: after libiberty,
  10630. # which uses it, but before -lcygwin, which it uses.
  10631. x=`sed -n -e 's/^[ ]*PICFLAG[ ]*=[ ]*//p' < ../libiberty/Makefile | sed -n '$p'`
  10632. if test -n "$x"; then
  10633. SHARED_LIBADD="-L`pwd`/../libiberty/pic -liberty"
  10634. fi
  10635. fi
  10636. SHARED_LIBADD="$SHARED_LIBADD $LIBINTL"
  10637. if test "$enable_shared" = "yes"; then
  10638. case "${host}" in
  10639. *-*-cygwin*)
  10640. SHARED_LDFLAGS="-no-undefined"
  10641. SHARED_LIBADD="-L`pwd`/../bfd -lbfd -L`pwd`/../libiberty -liberty $SHARED_LIBADD"
  10642. ;;
  10643. *)
  10644. SHARED_LIBADD="../bfd/libbfd.la ${SHARED_LIBADD}"
  10645. SHARED_DEPENDENCIES="../bfd/libbfd.la"
  10646. ;;
  10647. esac
  10648. if test -n "$SHARED_LIBADD"; then
  10649. if test -n "$LIBM"; then
  10650. if test x"$bfd_cv_ld_as_needed" = xyes; then
  10651. # Link against libm only when needed. Put -lc, -lm inside -Wl
  10652. # to stop libtool reordering these options.
  10653. SHARED_LIBADD="$SHARED_LIBADD -Wl,-lc,--as-needed,`echo $LIBM | sed 's/ /,/g'`,--no-as-needed"
  10654. else
  10655. SHARED_LIBADD="$SHARED_LIBADD $LIBM"
  10656. fi
  10657. fi
  10658. fi
  10659. fi
  10660. # target-specific stuff:
  10661. # Canonicalize the secondary target names.
  10662. if test -n "$enable_targets" ; then
  10663. for targ in `echo $enable_targets | sed 's/,/ /g'`
  10664. do
  10665. result=`$ac_config_sub $targ 2>/dev/null`
  10666. if test -n "$result" ; then
  10667. canon_targets="$canon_targets $result"
  10668. else
  10669. # Allow targets that config.sub doesn't recognize, like "all".
  10670. canon_targets="$canon_targets $targ"
  10671. fi
  10672. done
  10673. fi
  10674. all_targets=false
  10675. selarchs=
  10676. for targ in $target $canon_targets
  10677. do
  10678. if test "x$targ" = "xall" ; then
  10679. all_targets=true
  10680. else
  10681. . $srcdir/../bfd/config.bfd
  10682. selarchs="$selarchs $targ_archs"
  10683. fi
  10684. done
  10685. # Utility var, documents generic cgen support files.
  10686. cgen_files="cgen-opc.lo cgen-asm.lo cgen-dis.lo cgen-bitset.lo"
  10687. # We don't do any links based on the target system, just makefile config.
  10688. if test x${all_targets} = xfalse ; then
  10689. # Target architecture .o files.
  10690. ta=
  10691. for arch in $selarchs
  10692. do
  10693. ad=`echo $arch | sed -e s/bfd_//g -e s/_arch//g`
  10694. archdefs="$archdefs -DARCH_$ad"
  10695. case "$arch" in
  10696. bfd_aarch64_arch) ta="$ta aarch64-asm.lo aarch64-dis.lo aarch64-opc.lo aarch64-asm-2.lo aarch64-dis-2.lo aarch64-opc-2.lo" ;;
  10697. bfd_alpha_arch) ta="$ta alpha-dis.lo alpha-opc.lo" ;;
  10698. bfd_amdgcn_arch) ;;
  10699. bfd_arc_arch) ta="$ta arc-dis.lo arc-opc.lo arc-ext.lo" ;;
  10700. bfd_arm_arch) ta="$ta arm-dis.lo" ;;
  10701. bfd_avr_arch) ta="$ta avr-dis.lo" ;;
  10702. bfd_bfin_arch) ta="$ta bfin-dis.lo" ;;
  10703. bfd_cr16_arch) ta="$ta cr16-dis.lo cr16-opc.lo" ;;
  10704. bfd_cris_arch) ta="$ta cris-desc.lo cris-dis.lo cris-opc.lo cgen-bitset.lo" ;;
  10705. bfd_crx_arch) ta="$ta crx-dis.lo crx-opc.lo" ;;
  10706. bfd_csky_arch) ta="$ta csky-dis.lo" ;;
  10707. bfd_d10v_arch) ta="$ta d10v-dis.lo d10v-opc.lo" ;;
  10708. bfd_d30v_arch) ta="$ta d30v-dis.lo d30v-opc.lo" ;;
  10709. bfd_dlx_arch) ta="$ta dlx-dis.lo" ;;
  10710. bfd_fr30_arch) ta="$ta fr30-asm.lo fr30-desc.lo fr30-dis.lo fr30-ibld.lo fr30-opc.lo" using_cgen=yes ;;
  10711. bfd_frv_arch) ta="$ta frv-asm.lo frv-desc.lo frv-dis.lo frv-ibld.lo frv-opc.lo" using_cgen=yes ;;
  10712. bfd_ft32_arch) ta="$ta ft32-opc.lo ft32-dis.lo" ;;
  10713. bfd_moxie_arch) ta="$ta moxie-dis.lo moxie-opc.lo" ;;
  10714. bfd_h8300_arch) ta="$ta h8300-dis.lo" ;;
  10715. bfd_hppa_arch) ta="$ta hppa-dis.lo" ;;
  10716. bfd_i386_arch|bfd_iamcu_arch)
  10717. ta="$ta i386-dis.lo i386-opc.lo" ;;
  10718. bfd_ia64_arch) ta="$ta ia64-dis.lo ia64-opc.lo" ;;
  10719. bfd_ip2k_arch) ta="$ta ip2k-asm.lo ip2k-desc.lo ip2k-dis.lo ip2k-ibld.lo ip2k-opc.lo" using_cgen=yes ;;
  10720. bfd_epiphany_arch) ta="$ta epiphany-asm.lo epiphany-desc.lo epiphany-dis.lo epiphany-ibld.lo epiphany-opc.lo" using_cgen=yes ;;
  10721. bfd_iq2000_arch) ta="$ta iq2000-asm.lo iq2000-desc.lo iq2000-dis.lo iq2000-ibld.lo iq2000-opc.lo" using_cgen=yes ;;
  10722. bfd_lm32_arch) ta="$ta lm32-asm.lo lm32-desc.lo lm32-dis.lo lm32-ibld.lo lm32-opc.lo lm32-opinst.lo" using_cgen=yes ;;
  10723. bfd_m32c_arch) ta="$ta m32c-asm.lo m32c-desc.lo m32c-dis.lo m32c-ibld.lo m32c-opc.lo" using_cgen=yes ;;
  10724. bfd_m32r_arch) ta="$ta m32r-asm.lo m32r-desc.lo m32r-dis.lo m32r-ibld.lo m32r-opc.lo m32r-opinst.lo" using_cgen=yes ;;
  10725. bfd_m68hc11_arch) ta="$ta m68hc11-dis.lo m68hc11-opc.lo" ;;
  10726. bfd_m68hc12_arch) ta="$ta m68hc11-dis.lo m68hc11-opc.lo" ;;
  10727. bfd_m9s12x_arch) ta="$ta m68hc11-dis.lo m68hc11-opc.lo" ;;
  10728. bfd_m9s12xg_arch) ta="$ta m68hc11-dis.lo m68hc11-opc.lo" ;;
  10729. bfd_s12z_arch) ta="$ta s12z-dis.lo s12z-opc.lo" ;;
  10730. bfd_m68k_arch) ta="$ta m68k-dis.lo m68k-opc.lo" ;;
  10731. bfd_mcore_arch) ta="$ta mcore-dis.lo" ;;
  10732. bfd_mep_arch) ta="$ta mep-asm.lo mep-desc.lo mep-dis.lo mep-ibld.lo mep-opc.lo" using_cgen=yes ;;
  10733. bfd_metag_arch) ta="$ta metag-dis.lo" ;;
  10734. bfd_microblaze_arch) ta="$ta microblaze-dis.lo" ;;
  10735. bfd_mips_arch) ta="$ta mips-dis.lo mips-opc.lo mips16-opc.lo micromips-opc.lo" ;;
  10736. bfd_mmix_arch) ta="$ta mmix-dis.lo mmix-opc.lo" ;;
  10737. bfd_mn10200_arch) ta="$ta m10200-dis.lo m10200-opc.lo" ;;
  10738. bfd_mn10300_arch) ta="$ta m10300-dis.lo m10300-opc.lo" ;;
  10739. bfd_mt_arch) ta="$ta mt-asm.lo mt-desc.lo mt-dis.lo mt-ibld.lo mt-opc.lo" using_cgen=yes ;;
  10740. bfd_msp430_arch) ta="$ta msp430-dis.lo msp430-decode.lo" ;;
  10741. bfd_nds32_arch) ta="$ta nds32-asm.lo nds32-dis.lo" ;;
  10742. bfd_nfp_arch) ta="$ta nfp-dis.lo" ;;
  10743. bfd_nios2_arch) ta="$ta nios2-dis.lo nios2-opc.lo" ;;
  10744. bfd_ns32k_arch) ta="$ta ns32k-dis.lo" ;;
  10745. bfd_or1k_arch) ta="$ta or1k-asm.lo or1k-desc.lo or1k-dis.lo or1k-ibld.lo or1k-opc.lo" using_cgen=yes ;;
  10746. bfd_pdp11_arch) ta="$ta pdp11-dis.lo pdp11-opc.lo" ;;
  10747. bfd_pj_arch) ta="$ta pj-dis.lo pj-opc.lo" ;;
  10748. bfd_powerpc_arch) ta="$ta ppc-dis.lo ppc-opc.lo" ;;
  10749. bfd_powerpc_64_arch) ta="$ta ppc-dis.lo ppc-opc.lo" ;;
  10750. bfd_pru_arch) ta="$ta pru-dis.lo pru-opc.lo" ;;
  10751. bfd_pyramid_arch) ;;
  10752. bfd_romp_arch) ;;
  10753. bfd_riscv_arch) ta="$ta riscv-dis.lo riscv-opc.lo" ;;
  10754. bfd_rs6000_arch) ta="$ta ppc-dis.lo ppc-opc.lo" ;;
  10755. bfd_rl78_arch) ta="$ta rl78-dis.lo rl78-decode.lo";;
  10756. bfd_rx_arch) ta="$ta rx-dis.lo rx-decode.lo";;
  10757. bfd_s390_arch) ta="$ta s390-dis.lo s390-opc.lo" ;;
  10758. bfd_score_arch) ta="$ta score-dis.lo score7-dis.lo" ;;
  10759. bfd_sh_arch) ta="$ta sh-dis.lo cgen-bitset.lo" ;;
  10760. bfd_sparc_arch) ta="$ta sparc-dis.lo sparc-opc.lo" ;;
  10761. bfd_spu_arch) ta="$ta spu-dis.lo spu-opc.lo" ;;
  10762. bfd_tic30_arch) ta="$ta tic30-dis.lo" ;;
  10763. bfd_tic4x_arch) ta="$ta tic4x-dis.lo" ;;
  10764. bfd_tic54x_arch) ta="$ta tic54x-dis.lo tic54x-opc.lo" ;;
  10765. bfd_tic6x_arch) ta="$ta tic6x-dis.lo" ;;
  10766. bfd_tilegx_arch) ta="$ta tilegx-dis.lo tilegx-opc.lo" ;;
  10767. bfd_tilepro_arch) ta="$ta tilepro-dis.lo tilepro-opc.lo" ;;
  10768. bfd_v850_arch) ta="$ta v850-opc.lo v850-dis.lo" ;;
  10769. bfd_v850e_arch) ta="$ta v850-opc.lo v850-dis.lo" ;;
  10770. bfd_v850ea_arch) ta="$ta v850-opc.lo v850-dis.lo" ;;
  10771. bfd_v850_rh850_arch) ta="$ta v850-opc.lo v850-dis.lo" ;;
  10772. bfd_vax_arch) ta="$ta vax-dis.lo" ;;
  10773. bfd_visium_arch) ta="$ta visium-dis.lo visium-opc.lo" ;;
  10774. bfd_wasm32_arch) ta="$ta wasm32-dis.lo" ;;
  10775. bfd_xc16x_arch) ta="$ta xc16x-asm.lo xc16x-desc.lo xc16x-dis.lo xc16x-ibld.lo xc16x-opc.lo" using_cgen=yes ;;
  10776. bfd_xgate_arch) ta="$ta xgate-dis.lo xgate-opc.lo" ;;
  10777. bfd_xstormy16_arch) ta="$ta xstormy16-asm.lo xstormy16-desc.lo xstormy16-dis.lo xstormy16-ibld.lo xstormy16-opc.lo" using_cgen=yes ;;
  10778. bfd_xtensa_arch) ta="$ta xtensa-dis.lo" ;;
  10779. bfd_z80_arch) ta="$ta z80-dis.lo" ;;
  10780. bfd_z8k_arch) ta="$ta z8k-dis.lo" ;;
  10781. bfd_bpf_arch) ta="$ta bpf-asm.lo bpf-desc.lo bpf-dis.lo bpf-ibld.lo bpf-opc.lo" using_cgen=yes ;;
  10782. bfd_loongarch_arch) ta="$ta loongarch-dis.lo loongarch-opc.lo loongarch-coder.lo" ;;
  10783. "") ;;
  10784. *) as_fn_error $? "*** unknown target architecture $arch" "$LINENO" 5 ;;
  10785. esac
  10786. done
  10787. if test $using_cgen = yes ; then
  10788. ta="$ta $cgen_files"
  10789. fi
  10790. # Weed out duplicate .o files.
  10791. f=""
  10792. for i in $ta ; do
  10793. case " $f " in
  10794. *" $i "*) ;;
  10795. *) f="$f $i" ;;
  10796. esac
  10797. done
  10798. ta="$f"
  10799. # And duplicate -D flags.
  10800. f=""
  10801. for i in $archdefs ; do
  10802. case " $f " in
  10803. *" $i "*) ;;
  10804. *) f="$f $i" ;;
  10805. esac
  10806. done
  10807. archdefs="$f"
  10808. BFD_MACHINES="$ta"
  10809. else # all_targets is true
  10810. archdefs=-DARCH_all
  10811. if test "$enable_64_bit_bfd" = "yes" ; then
  10812. BFD_MACHINES='$(ALL32_MACHINES) $(ALL64_MACHINES)'
  10813. else
  10814. BFD_MACHINES='$(ALL32_MACHINES)'
  10815. fi
  10816. fi
  10817. ac_config_files="$ac_config_files Makefile po/Makefile.in:po/Make-in"
  10818. cat >confcache <<\_ACEOF
  10819. # This file is a shell script that caches the results of configure
  10820. # tests run on this system so they can be shared between configure
  10821. # scripts and configure runs, see configure's option --config-cache.
  10822. # It is not useful on other systems. If it contains results you don't
  10823. # want to keep, you may remove or edit it.
  10824. #
  10825. # config.status only pays attention to the cache file if you give it
  10826. # the --recheck option to rerun configure.
  10827. #
  10828. # `ac_cv_env_foo' variables (set or unset) will be overridden when
  10829. # loading this file, other *unset* `ac_cv_foo' will be assigned the
  10830. # following values.
  10831. _ACEOF
  10832. # The following way of writing the cache mishandles newlines in values,
  10833. # but we know of no workaround that is simple, portable, and efficient.
  10834. # So, we kill variables containing newlines.
  10835. # Ultrix sh set writes to stderr and can't be redirected directly,
  10836. # and sets the high bit in the cache file unless we assign to the vars.
  10837. (
  10838. for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
  10839. eval ac_val=\$$ac_var
  10840. case $ac_val in #(
  10841. *${as_nl}*)
  10842. case $ac_var in #(
  10843. *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  10844. $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  10845. esac
  10846. case $ac_var in #(
  10847. _ | IFS | as_nl) ;; #(
  10848. BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  10849. *) { eval $ac_var=; unset $ac_var;} ;;
  10850. esac ;;
  10851. esac
  10852. done
  10853. (set) 2>&1 |
  10854. case $as_nl`(ac_space=' '; set) 2>&1` in #(
  10855. *${as_nl}ac_space=\ *)
  10856. # `set' does not quote correctly, so add quotes: double-quote
  10857. # substitution turns \\\\ into \\, and sed turns \\ into \.
  10858. sed -n \
  10859. "s/'/'\\\\''/g;
  10860. s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
  10861. ;; #(
  10862. *)
  10863. # `set' quotes correctly as required by POSIX, so do not add quotes.
  10864. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  10865. ;;
  10866. esac |
  10867. sort
  10868. ) |
  10869. sed '
  10870. /^ac_cv_env_/b end
  10871. t clear
  10872. :clear
  10873. s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
  10874. t end
  10875. s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
  10876. :end' >>confcache
  10877. if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
  10878. if test -w "$cache_file"; then
  10879. if test "x$cache_file" != "x/dev/null"; then
  10880. { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
  10881. $as_echo "$as_me: updating cache $cache_file" >&6;}
  10882. if test ! -f "$cache_file" || test -h "$cache_file"; then
  10883. cat confcache >"$cache_file"
  10884. else
  10885. case $cache_file in #(
  10886. */* | ?:*)
  10887. mv -f confcache "$cache_file"$$ &&
  10888. mv -f "$cache_file"$$ "$cache_file" ;; #(
  10889. *)
  10890. mv -f confcache "$cache_file" ;;
  10891. esac
  10892. fi
  10893. fi
  10894. else
  10895. { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
  10896. $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
  10897. fi
  10898. fi
  10899. rm -f confcache
  10900. test "x$prefix" = xNONE && prefix=$ac_default_prefix
  10901. # Let make expand exec_prefix.
  10902. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
  10903. DEFS=-DHAVE_CONFIG_H
  10904. ac_libobjs=
  10905. ac_ltlibobjs=
  10906. U=
  10907. for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
  10908. # 1. Remove the extension, and $U if already installed.
  10909. ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
  10910. ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
  10911. # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
  10912. # will be set to the directory where LIBOBJS objects are built.
  10913. as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
  10914. as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
  10915. done
  10916. LIBOBJS=$ac_libobjs
  10917. LTLIBOBJS=$ac_ltlibobjs
  10918. { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
  10919. $as_echo_n "checking that generated files are newer than configure... " >&6; }
  10920. if test -n "$am_sleep_pid"; then
  10921. # Hide warnings about reused PIDs.
  10922. wait $am_sleep_pid 2>/dev/null
  10923. fi
  10924. { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
  10925. $as_echo "done" >&6; }
  10926. if test -n "$EXEEXT"; then
  10927. am__EXEEXT_TRUE=
  10928. am__EXEEXT_FALSE='#'
  10929. else
  10930. am__EXEEXT_TRUE='#'
  10931. am__EXEEXT_FALSE=
  10932. fi
  10933. if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
  10934. as_fn_error $? "conditional \"AMDEP\" was never defined.
  10935. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  10936. fi
  10937. if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
  10938. as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
  10939. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  10940. fi
  10941. if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
  10942. as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
  10943. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  10944. fi
  10945. if test -z "${INSTALL_LIBBFD_TRUE}" && test -z "${INSTALL_LIBBFD_FALSE}"; then
  10946. as_fn_error $? "conditional \"INSTALL_LIBBFD\" was never defined.
  10947. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  10948. fi
  10949. if test -z "${ENABLE_BFD_64_BIT_TRUE}" && test -z "${ENABLE_BFD_64_BIT_FALSE}"; then
  10950. as_fn_error $? "conditional \"ENABLE_BFD_64_BIT\" was never defined.
  10951. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  10952. fi
  10953. if test -z "${CGEN_MAINT_TRUE}" && test -z "${CGEN_MAINT_FALSE}"; then
  10954. as_fn_error $? "conditional \"CGEN_MAINT\" was never defined.
  10955. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  10956. fi
  10957. : "${CONFIG_STATUS=./config.status}"
  10958. ac_write_fail=0
  10959. ac_clean_files_save=$ac_clean_files
  10960. ac_clean_files="$ac_clean_files $CONFIG_STATUS"
  10961. { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
  10962. $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
  10963. as_write_fail=0
  10964. cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
  10965. #! $SHELL
  10966. # Generated by $as_me.
  10967. # Run this file to recreate the current configuration.
  10968. # Compiler output produced by configure, useful for debugging
  10969. # configure, is in config.log if it exists.
  10970. debug=false
  10971. ac_cs_recheck=false
  10972. ac_cs_silent=false
  10973. SHELL=\${CONFIG_SHELL-$SHELL}
  10974. export SHELL
  10975. _ASEOF
  10976. cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
  10977. ## -------------------- ##
  10978. ## M4sh Initialization. ##
  10979. ## -------------------- ##
  10980. # Be more Bourne compatible
  10981. DUALCASE=1; export DUALCASE # for MKS sh
  10982. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  10983. emulate sh
  10984. NULLCMD=:
  10985. # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  10986. # is contrary to our usage. Disable this feature.
  10987. alias -g '${1+"$@"}'='"$@"'
  10988. setopt NO_GLOB_SUBST
  10989. else
  10990. case `(set -o) 2>/dev/null` in #(
  10991. *posix*) :
  10992. set -o posix ;; #(
  10993. *) :
  10994. ;;
  10995. esac
  10996. fi
  10997. as_nl='
  10998. '
  10999. export as_nl
  11000. # Printing a long string crashes Solaris 7 /usr/bin/printf.
  11001. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  11002. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  11003. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  11004. # Prefer a ksh shell builtin over an external printf program on Solaris,
  11005. # but without wasting forks for bash or zsh.
  11006. if test -z "$BASH_VERSION$ZSH_VERSION" \
  11007. && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
  11008. as_echo='print -r --'
  11009. as_echo_n='print -rn --'
  11010. elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  11011. as_echo='printf %s\n'
  11012. as_echo_n='printf %s'
  11013. else
  11014. if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
  11015. as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
  11016. as_echo_n='/usr/ucb/echo -n'
  11017. else
  11018. as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  11019. as_echo_n_body='eval
  11020. arg=$1;
  11021. case $arg in #(
  11022. *"$as_nl"*)
  11023. expr "X$arg" : "X\\(.*\\)$as_nl";
  11024. arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  11025. esac;
  11026. expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
  11027. '
  11028. export as_echo_n_body
  11029. as_echo_n='sh -c $as_echo_n_body as_echo'
  11030. fi
  11031. export as_echo_body
  11032. as_echo='sh -c $as_echo_body as_echo'
  11033. fi
  11034. # The user is always right.
  11035. if test "${PATH_SEPARATOR+set}" != set; then
  11036. PATH_SEPARATOR=:
  11037. (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  11038. (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  11039. PATH_SEPARATOR=';'
  11040. }
  11041. fi
  11042. # IFS
  11043. # We need space, tab and new line, in precisely that order. Quoting is
  11044. # there to prevent editors from complaining about space-tab.
  11045. # (If _AS_PATH_WALK were called with IFS unset, it would disable word
  11046. # splitting by setting IFS to empty value.)
  11047. IFS=" "" $as_nl"
  11048. # Find who we are. Look in the path if we contain no directory separator.
  11049. as_myself=
  11050. case $0 in #((
  11051. *[\\/]* ) as_myself=$0 ;;
  11052. *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  11053. for as_dir in $PATH
  11054. do
  11055. IFS=$as_save_IFS
  11056. test -z "$as_dir" && as_dir=.
  11057. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  11058. done
  11059. IFS=$as_save_IFS
  11060. ;;
  11061. esac
  11062. # We did not find ourselves, most probably we were run as `sh COMMAND'
  11063. # in which case we are not to be found in the path.
  11064. if test "x$as_myself" = x; then
  11065. as_myself=$0
  11066. fi
  11067. if test ! -f "$as_myself"; then
  11068. $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  11069. exit 1
  11070. fi
  11071. # Unset variables that we do not need and which cause bugs (e.g. in
  11072. # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
  11073. # suppresses any "Segmentation fault" message there. '((' could
  11074. # trigger a bug in pdksh 5.2.14.
  11075. for as_var in BASH_ENV ENV MAIL MAILPATH
  11076. do eval test x\${$as_var+set} = xset \
  11077. && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  11078. done
  11079. PS1='$ '
  11080. PS2='> '
  11081. PS4='+ '
  11082. # NLS nuisances.
  11083. LC_ALL=C
  11084. export LC_ALL
  11085. LANGUAGE=C
  11086. export LANGUAGE
  11087. # CDPATH.
  11088. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  11089. # as_fn_error STATUS ERROR [LINENO LOG_FD]
  11090. # ----------------------------------------
  11091. # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  11092. # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  11093. # script with STATUS, using 1 if that was 0.
  11094. as_fn_error ()
  11095. {
  11096. as_status=$1; test $as_status -eq 0 && as_status=1
  11097. if test "$4"; then
  11098. as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  11099. $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
  11100. fi
  11101. $as_echo "$as_me: error: $2" >&2
  11102. as_fn_exit $as_status
  11103. } # as_fn_error
  11104. # as_fn_set_status STATUS
  11105. # -----------------------
  11106. # Set $? to STATUS, without forking.
  11107. as_fn_set_status ()
  11108. {
  11109. return $1
  11110. } # as_fn_set_status
  11111. # as_fn_exit STATUS
  11112. # -----------------
  11113. # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  11114. as_fn_exit ()
  11115. {
  11116. set +e
  11117. as_fn_set_status $1
  11118. exit $1
  11119. } # as_fn_exit
  11120. # as_fn_unset VAR
  11121. # ---------------
  11122. # Portably unset VAR.
  11123. as_fn_unset ()
  11124. {
  11125. { eval $1=; unset $1;}
  11126. }
  11127. as_unset=as_fn_unset
  11128. # as_fn_append VAR VALUE
  11129. # ----------------------
  11130. # Append the text in VALUE to the end of the definition contained in VAR. Take
  11131. # advantage of any shell optimizations that allow amortized linear growth over
  11132. # repeated appends, instead of the typical quadratic growth present in naive
  11133. # implementations.
  11134. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  11135. eval 'as_fn_append ()
  11136. {
  11137. eval $1+=\$2
  11138. }'
  11139. else
  11140. as_fn_append ()
  11141. {
  11142. eval $1=\$$1\$2
  11143. }
  11144. fi # as_fn_append
  11145. # as_fn_arith ARG...
  11146. # ------------------
  11147. # Perform arithmetic evaluation on the ARGs, and store the result in the
  11148. # global $as_val. Take advantage of shells that can avoid forks. The arguments
  11149. # must be portable across $(()) and expr.
  11150. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  11151. eval 'as_fn_arith ()
  11152. {
  11153. as_val=$(( $* ))
  11154. }'
  11155. else
  11156. as_fn_arith ()
  11157. {
  11158. as_val=`expr "$@" || test $? -eq 1`
  11159. }
  11160. fi # as_fn_arith
  11161. if expr a : '\(a\)' >/dev/null 2>&1 &&
  11162. test "X`expr 00001 : '.*\(...\)'`" = X001; then
  11163. as_expr=expr
  11164. else
  11165. as_expr=false
  11166. fi
  11167. if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  11168. as_basename=basename
  11169. else
  11170. as_basename=false
  11171. fi
  11172. if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  11173. as_dirname=dirname
  11174. else
  11175. as_dirname=false
  11176. fi
  11177. as_me=`$as_basename -- "$0" ||
  11178. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  11179. X"$0" : 'X\(//\)$' \| \
  11180. X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  11181. $as_echo X/"$0" |
  11182. sed '/^.*\/\([^/][^/]*\)\/*$/{
  11183. s//\1/
  11184. q
  11185. }
  11186. /^X\/\(\/\/\)$/{
  11187. s//\1/
  11188. q
  11189. }
  11190. /^X\/\(\/\).*/{
  11191. s//\1/
  11192. q
  11193. }
  11194. s/.*/./; q'`
  11195. # Avoid depending upon Character Ranges.
  11196. as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  11197. as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  11198. as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  11199. as_cr_digits='0123456789'
  11200. as_cr_alnum=$as_cr_Letters$as_cr_digits
  11201. ECHO_C= ECHO_N= ECHO_T=
  11202. case `echo -n x` in #(((((
  11203. -n*)
  11204. case `echo 'xy\c'` in
  11205. *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  11206. xy) ECHO_C='\c';;
  11207. *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
  11208. ECHO_T=' ';;
  11209. esac;;
  11210. *)
  11211. ECHO_N='-n';;
  11212. esac
  11213. rm -f conf$$ conf$$.exe conf$$.file
  11214. if test -d conf$$.dir; then
  11215. rm -f conf$$.dir/conf$$.file
  11216. else
  11217. rm -f conf$$.dir
  11218. mkdir conf$$.dir 2>/dev/null
  11219. fi
  11220. if (echo >conf$$.file) 2>/dev/null; then
  11221. if ln -s conf$$.file conf$$ 2>/dev/null; then
  11222. as_ln_s='ln -s'
  11223. # ... but there are two gotchas:
  11224. # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  11225. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  11226. # In both cases, we have to default to `cp -pR'.
  11227. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  11228. as_ln_s='cp -pR'
  11229. elif ln conf$$.file conf$$ 2>/dev/null; then
  11230. as_ln_s=ln
  11231. else
  11232. as_ln_s='cp -pR'
  11233. fi
  11234. else
  11235. as_ln_s='cp -pR'
  11236. fi
  11237. rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  11238. rmdir conf$$.dir 2>/dev/null
  11239. # as_fn_mkdir_p
  11240. # -------------
  11241. # Create "$as_dir" as a directory, including parents if necessary.
  11242. as_fn_mkdir_p ()
  11243. {
  11244. case $as_dir in #(
  11245. -*) as_dir=./$as_dir;;
  11246. esac
  11247. test -d "$as_dir" || eval $as_mkdir_p || {
  11248. as_dirs=
  11249. while :; do
  11250. case $as_dir in #(
  11251. *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  11252. *) as_qdir=$as_dir;;
  11253. esac
  11254. as_dirs="'$as_qdir' $as_dirs"
  11255. as_dir=`$as_dirname -- "$as_dir" ||
  11256. $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  11257. X"$as_dir" : 'X\(//\)[^/]' \| \
  11258. X"$as_dir" : 'X\(//\)$' \| \
  11259. X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  11260. $as_echo X"$as_dir" |
  11261. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  11262. s//\1/
  11263. q
  11264. }
  11265. /^X\(\/\/\)[^/].*/{
  11266. s//\1/
  11267. q
  11268. }
  11269. /^X\(\/\/\)$/{
  11270. s//\1/
  11271. q
  11272. }
  11273. /^X\(\/\).*/{
  11274. s//\1/
  11275. q
  11276. }
  11277. s/.*/./; q'`
  11278. test -d "$as_dir" && break
  11279. done
  11280. test -z "$as_dirs" || eval "mkdir $as_dirs"
  11281. } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
  11282. } # as_fn_mkdir_p
  11283. if mkdir -p . 2>/dev/null; then
  11284. as_mkdir_p='mkdir -p "$as_dir"'
  11285. else
  11286. test -d ./-p && rmdir ./-p
  11287. as_mkdir_p=false
  11288. fi
  11289. # as_fn_executable_p FILE
  11290. # -----------------------
  11291. # Test if FILE is an executable regular file.
  11292. as_fn_executable_p ()
  11293. {
  11294. test -f "$1" && test -x "$1"
  11295. } # as_fn_executable_p
  11296. as_test_x='test -x'
  11297. as_executable_p=as_fn_executable_p
  11298. # Sed expression to map a string onto a valid CPP name.
  11299. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  11300. # Sed expression to map a string onto a valid variable name.
  11301. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  11302. exec 6>&1
  11303. ## ----------------------------------- ##
  11304. ## Main body of $CONFIG_STATUS script. ##
  11305. ## ----------------------------------- ##
  11306. _ASEOF
  11307. test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
  11308. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  11309. # Save the log message, to keep $0 and so on meaningful, and to
  11310. # report actual input values of CONFIG_FILES etc. instead of their
  11311. # values after options handling.
  11312. ac_log="
  11313. This file was extended by opcodes $as_me 2.38.50, which was
  11314. generated by GNU Autoconf 2.69. Invocation command line was
  11315. CONFIG_FILES = $CONFIG_FILES
  11316. CONFIG_HEADERS = $CONFIG_HEADERS
  11317. CONFIG_LINKS = $CONFIG_LINKS
  11318. CONFIG_COMMANDS = $CONFIG_COMMANDS
  11319. $ $0 $@
  11320. on `(hostname || uname -n) 2>/dev/null | sed 1q`
  11321. "
  11322. _ACEOF
  11323. case $ac_config_files in *"
  11324. "*) set x $ac_config_files; shift; ac_config_files=$*;;
  11325. esac
  11326. case $ac_config_headers in *"
  11327. "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
  11328. esac
  11329. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  11330. # Files that config.status was made for.
  11331. config_files="$ac_config_files"
  11332. config_headers="$ac_config_headers"
  11333. config_commands="$ac_config_commands"
  11334. _ACEOF
  11335. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  11336. ac_cs_usage="\
  11337. \`$as_me' instantiates files and other configuration actions
  11338. from templates according to the current configuration. Unless the files
  11339. and actions are specified as TAGs, all are instantiated by default.
  11340. Usage: $0 [OPTION]... [TAG]...
  11341. -h, --help print this help, then exit
  11342. -V, --version print version number and configuration settings, then exit
  11343. --config print configuration, then exit
  11344. -q, --quiet, --silent
  11345. do not print progress messages
  11346. -d, --debug don't remove temporary files
  11347. --recheck update $as_me by reconfiguring in the same conditions
  11348. --file=FILE[:TEMPLATE]
  11349. instantiate the configuration file FILE
  11350. --header=FILE[:TEMPLATE]
  11351. instantiate the configuration header FILE
  11352. Configuration files:
  11353. $config_files
  11354. Configuration headers:
  11355. $config_headers
  11356. Configuration commands:
  11357. $config_commands
  11358. Report bugs to the package provider."
  11359. _ACEOF
  11360. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  11361. ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
  11362. ac_cs_version="\\
  11363. opcodes config.status 2.38.50
  11364. configured by $0, generated by GNU Autoconf 2.69,
  11365. with options \\"\$ac_cs_config\\"
  11366. Copyright (C) 2012 Free Software Foundation, Inc.
  11367. This config.status script is free software; the Free Software Foundation
  11368. gives unlimited permission to copy, distribute and modify it."
  11369. ac_pwd='$ac_pwd'
  11370. srcdir='$srcdir'
  11371. INSTALL='$INSTALL'
  11372. MKDIR_P='$MKDIR_P'
  11373. AWK='$AWK'
  11374. test -n "\$AWK" || AWK=awk
  11375. _ACEOF
  11376. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  11377. # The default lists apply if the user does not specify any file.
  11378. ac_need_defaults=:
  11379. while test $# != 0
  11380. do
  11381. case $1 in
  11382. --*=?*)
  11383. ac_option=`expr "X$1" : 'X\([^=]*\)='`
  11384. ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
  11385. ac_shift=:
  11386. ;;
  11387. --*=)
  11388. ac_option=`expr "X$1" : 'X\([^=]*\)='`
  11389. ac_optarg=
  11390. ac_shift=:
  11391. ;;
  11392. *)
  11393. ac_option=$1
  11394. ac_optarg=$2
  11395. ac_shift=shift
  11396. ;;
  11397. esac
  11398. case $ac_option in
  11399. # Handling of the options.
  11400. -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  11401. ac_cs_recheck=: ;;
  11402. --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
  11403. $as_echo "$ac_cs_version"; exit ;;
  11404. --config | --confi | --conf | --con | --co | --c )
  11405. $as_echo "$ac_cs_config"; exit ;;
  11406. --debug | --debu | --deb | --de | --d | -d )
  11407. debug=: ;;
  11408. --file | --fil | --fi | --f )
  11409. $ac_shift
  11410. case $ac_optarg in
  11411. *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  11412. '') as_fn_error $? "missing file argument" ;;
  11413. esac
  11414. as_fn_append CONFIG_FILES " '$ac_optarg'"
  11415. ac_need_defaults=false;;
  11416. --header | --heade | --head | --hea )
  11417. $ac_shift
  11418. case $ac_optarg in
  11419. *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  11420. esac
  11421. as_fn_append CONFIG_HEADERS " '$ac_optarg'"
  11422. ac_need_defaults=false;;
  11423. --he | --h)
  11424. # Conflict between --help and --header
  11425. as_fn_error $? "ambiguous option: \`$1'
  11426. Try \`$0 --help' for more information.";;
  11427. --help | --hel | -h )
  11428. $as_echo "$ac_cs_usage"; exit ;;
  11429. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  11430. | -silent | --silent | --silen | --sile | --sil | --si | --s)
  11431. ac_cs_silent=: ;;
  11432. # This is an error.
  11433. -*) as_fn_error $? "unrecognized option: \`$1'
  11434. Try \`$0 --help' for more information." ;;
  11435. *) as_fn_append ac_config_targets " $1"
  11436. ac_need_defaults=false ;;
  11437. esac
  11438. shift
  11439. done
  11440. ac_configure_extra_args=
  11441. if $ac_cs_silent; then
  11442. exec 6>/dev/null
  11443. ac_configure_extra_args="$ac_configure_extra_args --silent"
  11444. fi
  11445. _ACEOF
  11446. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  11447. if \$ac_cs_recheck; then
  11448. set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
  11449. shift
  11450. \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
  11451. CONFIG_SHELL='$SHELL'
  11452. export CONFIG_SHELL
  11453. exec "\$@"
  11454. fi
  11455. _ACEOF
  11456. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  11457. exec 5>>config.log
  11458. {
  11459. echo
  11460. sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
  11461. ## Running $as_me. ##
  11462. _ASBOX
  11463. $as_echo "$ac_log"
  11464. } >&5
  11465. _ACEOF
  11466. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  11467. #
  11468. # INIT-COMMANDS
  11469. #
  11470. AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
  11471. # The HP-UX ksh and POSIX shell print the target directory to stdout
  11472. # if CDPATH is set.
  11473. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  11474. sed_quote_subst='$sed_quote_subst'
  11475. double_quote_subst='$double_quote_subst'
  11476. delay_variable_subst='$delay_variable_subst'
  11477. enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
  11478. macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
  11479. macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
  11480. enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
  11481. pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
  11482. enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
  11483. SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
  11484. ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
  11485. host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
  11486. host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
  11487. host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
  11488. build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
  11489. build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
  11490. build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
  11491. SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
  11492. Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
  11493. GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
  11494. EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
  11495. FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
  11496. LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
  11497. NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
  11498. LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
  11499. max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
  11500. ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
  11501. exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
  11502. lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
  11503. lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
  11504. lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
  11505. reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
  11506. reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
  11507. OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
  11508. deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
  11509. file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
  11510. AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
  11511. AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
  11512. STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
  11513. RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
  11514. old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
  11515. old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
  11516. old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
  11517. lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
  11518. CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
  11519. CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
  11520. compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
  11521. GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
  11522. lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
  11523. lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
  11524. lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
  11525. lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
  11526. objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
  11527. MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
  11528. lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
  11529. lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
  11530. lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
  11531. lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
  11532. lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
  11533. need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
  11534. DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
  11535. NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
  11536. LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
  11537. OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
  11538. OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
  11539. libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
  11540. shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
  11541. extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
  11542. archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
  11543. enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
  11544. export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
  11545. whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
  11546. compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
  11547. old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
  11548. old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
  11549. archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
  11550. archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
  11551. module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
  11552. module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
  11553. with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
  11554. allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
  11555. no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
  11556. hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
  11557. hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
  11558. hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
  11559. hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
  11560. hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
  11561. hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
  11562. hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
  11563. hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
  11564. inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
  11565. link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
  11566. fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
  11567. always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
  11568. export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
  11569. exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
  11570. include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
  11571. prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
  11572. file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
  11573. variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
  11574. need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
  11575. need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
  11576. version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
  11577. runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
  11578. shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
  11579. shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
  11580. libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
  11581. library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
  11582. soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
  11583. install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
  11584. postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
  11585. postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
  11586. finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
  11587. finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
  11588. hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
  11589. sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
  11590. sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
  11591. hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
  11592. enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
  11593. enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
  11594. enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
  11595. old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
  11596. striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
  11597. LTCC='$LTCC'
  11598. LTCFLAGS='$LTCFLAGS'
  11599. compiler='$compiler_DEFAULT'
  11600. # A function that is used when there is no print builtin or printf.
  11601. func_fallback_echo ()
  11602. {
  11603. eval 'cat <<_LTECHO_EOF
  11604. \$1
  11605. _LTECHO_EOF'
  11606. }
  11607. # Quote evaled strings.
  11608. for var in SHELL \
  11609. ECHO \
  11610. SED \
  11611. GREP \
  11612. EGREP \
  11613. FGREP \
  11614. LD \
  11615. NM \
  11616. LN_S \
  11617. lt_SP2NL \
  11618. lt_NL2SP \
  11619. reload_flag \
  11620. OBJDUMP \
  11621. deplibs_check_method \
  11622. file_magic_cmd \
  11623. AR \
  11624. AR_FLAGS \
  11625. STRIP \
  11626. RANLIB \
  11627. CC \
  11628. CFLAGS \
  11629. compiler \
  11630. lt_cv_sys_global_symbol_pipe \
  11631. lt_cv_sys_global_symbol_to_cdecl \
  11632. lt_cv_sys_global_symbol_to_c_name_address \
  11633. lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
  11634. lt_prog_compiler_no_builtin_flag \
  11635. lt_prog_compiler_wl \
  11636. lt_prog_compiler_pic \
  11637. lt_prog_compiler_static \
  11638. lt_cv_prog_compiler_c_o \
  11639. need_locks \
  11640. DSYMUTIL \
  11641. NMEDIT \
  11642. LIPO \
  11643. OTOOL \
  11644. OTOOL64 \
  11645. shrext_cmds \
  11646. export_dynamic_flag_spec \
  11647. whole_archive_flag_spec \
  11648. compiler_needs_object \
  11649. with_gnu_ld \
  11650. allow_undefined_flag \
  11651. no_undefined_flag \
  11652. hardcode_libdir_flag_spec \
  11653. hardcode_libdir_flag_spec_ld \
  11654. hardcode_libdir_separator \
  11655. fix_srcfile_path \
  11656. exclude_expsyms \
  11657. include_expsyms \
  11658. file_list_spec \
  11659. variables_saved_for_relink \
  11660. libname_spec \
  11661. library_names_spec \
  11662. soname_spec \
  11663. install_override_mode \
  11664. finish_eval \
  11665. old_striplib \
  11666. striplib; do
  11667. case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
  11668. *[\\\\\\\`\\"\\\$]*)
  11669. eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
  11670. ;;
  11671. *)
  11672. eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
  11673. ;;
  11674. esac
  11675. done
  11676. # Double-quote double-evaled strings.
  11677. for var in reload_cmds \
  11678. old_postinstall_cmds \
  11679. old_postuninstall_cmds \
  11680. old_archive_cmds \
  11681. extract_expsyms_cmds \
  11682. old_archive_from_new_cmds \
  11683. old_archive_from_expsyms_cmds \
  11684. archive_cmds \
  11685. archive_expsym_cmds \
  11686. module_cmds \
  11687. module_expsym_cmds \
  11688. export_symbols_cmds \
  11689. prelink_cmds \
  11690. postinstall_cmds \
  11691. postuninstall_cmds \
  11692. finish_cmds \
  11693. sys_lib_search_path_spec \
  11694. sys_lib_dlsearch_path_spec; do
  11695. case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
  11696. *[\\\\\\\`\\"\\\$]*)
  11697. eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
  11698. ;;
  11699. *)
  11700. eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
  11701. ;;
  11702. esac
  11703. done
  11704. ac_aux_dir='$ac_aux_dir'
  11705. xsi_shell='$xsi_shell'
  11706. lt_shell_append='$lt_shell_append'
  11707. # See if we are running on zsh, and set the options which allow our
  11708. # commands through without removal of \ escapes INIT.
  11709. if test -n "\${ZSH_VERSION+set}" ; then
  11710. setopt NO_GLOB_SUBST
  11711. fi
  11712. PACKAGE='$PACKAGE'
  11713. VERSION='$VERSION'
  11714. TIMESTAMP='$TIMESTAMP'
  11715. RM='$RM'
  11716. ofile='$ofile'
  11717. # Capture the value of obsolete ALL_LINGUAS because we need it to compute
  11718. # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
  11719. # from automake.
  11720. eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
  11721. # Capture the value of LINGUAS because we need it to compute CATALOGS.
  11722. LINGUAS="${LINGUAS-%UNSET%}"
  11723. _ACEOF
  11724. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  11725. # Handling of arguments.
  11726. for ac_config_target in $ac_config_targets
  11727. do
  11728. case $ac_config_target in
  11729. "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
  11730. "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
  11731. "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.in" ;;
  11732. "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
  11733. "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
  11734. "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
  11735. *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
  11736. esac
  11737. done
  11738. # If the user did not use the arguments to specify the items to instantiate,
  11739. # then the envvar interface is used. Set only those that are not.
  11740. # We use the long form for the default assignment because of an extremely
  11741. # bizarre bug on SunOS 4.1.3.
  11742. if $ac_need_defaults; then
  11743. test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
  11744. test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
  11745. test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
  11746. fi
  11747. # Have a temporary directory for convenience. Make it in the build tree
  11748. # simply because there is no reason against having it here, and in addition,
  11749. # creating and moving files from /tmp can sometimes cause problems.
  11750. # Hook for its removal unless debugging.
  11751. # Note that there is a small window in which the directory will not be cleaned:
  11752. # after its creation but before its name has been assigned to `$tmp'.
  11753. $debug ||
  11754. {
  11755. tmp= ac_tmp=
  11756. trap 'exit_status=$?
  11757. : "${ac_tmp:=$tmp}"
  11758. { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
  11759. ' 0
  11760. trap 'as_fn_exit 1' 1 2 13 15
  11761. }
  11762. # Create a (secure) tmp directory for tmp files.
  11763. {
  11764. tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
  11765. test -d "$tmp"
  11766. } ||
  11767. {
  11768. tmp=./conf$$-$RANDOM
  11769. (umask 077 && mkdir "$tmp")
  11770. } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
  11771. ac_tmp=$tmp
  11772. # Set up the scripts for CONFIG_FILES section.
  11773. # No need to generate them if there are no CONFIG_FILES.
  11774. # This happens for instance with `./config.status config.h'.
  11775. if test -n "$CONFIG_FILES"; then
  11776. ac_cr=`echo X | tr X '\015'`
  11777. # On cygwin, bash can eat \r inside `` if the user requested igncr.
  11778. # But we know of no other shell where ac_cr would be empty at this
  11779. # point, so we can use a bashism as a fallback.
  11780. if test "x$ac_cr" = x; then
  11781. eval ac_cr=\$\'\\r\'
  11782. fi
  11783. ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
  11784. if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
  11785. ac_cs_awk_cr='\\r'
  11786. else
  11787. ac_cs_awk_cr=$ac_cr
  11788. fi
  11789. echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
  11790. _ACEOF
  11791. {
  11792. echo "cat >conf$$subs.awk <<_ACEOF" &&
  11793. echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
  11794. echo "_ACEOF"
  11795. } >conf$$subs.sh ||
  11796. as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  11797. ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
  11798. ac_delim='%!_!# '
  11799. for ac_last_try in false false false false false :; do
  11800. . ./conf$$subs.sh ||
  11801. as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  11802. ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
  11803. if test $ac_delim_n = $ac_delim_num; then
  11804. break
  11805. elif $ac_last_try; then
  11806. as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  11807. else
  11808. ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  11809. fi
  11810. done
  11811. rm -f conf$$subs.sh
  11812. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  11813. cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
  11814. _ACEOF
  11815. sed -n '
  11816. h
  11817. s/^/S["/; s/!.*/"]=/
  11818. p
  11819. g
  11820. s/^[^!]*!//
  11821. :repl
  11822. t repl
  11823. s/'"$ac_delim"'$//
  11824. t delim
  11825. :nl
  11826. h
  11827. s/\(.\{148\}\)..*/\1/
  11828. t more1
  11829. s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
  11830. p
  11831. n
  11832. b repl
  11833. :more1
  11834. s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  11835. p
  11836. g
  11837. s/.\{148\}//
  11838. t nl
  11839. :delim
  11840. h
  11841. s/\(.\{148\}\)..*/\1/
  11842. t more2
  11843. s/["\\]/\\&/g; s/^/"/; s/$/"/
  11844. p
  11845. b
  11846. :more2
  11847. s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  11848. p
  11849. g
  11850. s/.\{148\}//
  11851. t delim
  11852. ' <conf$$subs.awk | sed '
  11853. /^[^""]/{
  11854. N
  11855. s/\n//
  11856. }
  11857. ' >>$CONFIG_STATUS || ac_write_fail=1
  11858. rm -f conf$$subs.awk
  11859. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  11860. _ACAWK
  11861. cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
  11862. for (key in S) S_is_set[key] = 1
  11863. FS = ""
  11864. }
  11865. {
  11866. line = $ 0
  11867. nfields = split(line, field, "@")
  11868. substed = 0
  11869. len = length(field[1])
  11870. for (i = 2; i < nfields; i++) {
  11871. key = field[i]
  11872. keylen = length(key)
  11873. if (S_is_set[key]) {
  11874. value = S[key]
  11875. line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
  11876. len += length(value) + length(field[++i])
  11877. substed = 1
  11878. } else
  11879. len += 1 + keylen
  11880. }
  11881. print line
  11882. }
  11883. _ACAWK
  11884. _ACEOF
  11885. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  11886. if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
  11887. sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
  11888. else
  11889. cat
  11890. fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
  11891. || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
  11892. _ACEOF
  11893. # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
  11894. # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
  11895. # trailing colons and then remove the whole line if VPATH becomes empty
  11896. # (actually we leave an empty line to preserve line numbers).
  11897. if test "x$srcdir" = x.; then
  11898. ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
  11899. h
  11900. s///
  11901. s/^/:/
  11902. s/[ ]*$/:/
  11903. s/:\$(srcdir):/:/g
  11904. s/:\${srcdir}:/:/g
  11905. s/:@srcdir@:/:/g
  11906. s/^:*//
  11907. s/:*$//
  11908. x
  11909. s/\(=[ ]*\).*/\1/
  11910. G
  11911. s/\n//
  11912. s/^[^=]*=[ ]*$//
  11913. }'
  11914. fi
  11915. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  11916. fi # test -n "$CONFIG_FILES"
  11917. # Set up the scripts for CONFIG_HEADERS section.
  11918. # No need to generate them if there are no CONFIG_HEADERS.
  11919. # This happens for instance with `./config.status Makefile'.
  11920. if test -n "$CONFIG_HEADERS"; then
  11921. cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
  11922. BEGIN {
  11923. _ACEOF
  11924. # Transform confdefs.h into an awk script `defines.awk', embedded as
  11925. # here-document in config.status, that substitutes the proper values into
  11926. # config.h.in to produce config.h.
  11927. # Create a delimiter string that does not exist in confdefs.h, to ease
  11928. # handling of long lines.
  11929. ac_delim='%!_!# '
  11930. for ac_last_try in false false :; do
  11931. ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
  11932. if test -z "$ac_tt"; then
  11933. break
  11934. elif $ac_last_try; then
  11935. as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
  11936. else
  11937. ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  11938. fi
  11939. done
  11940. # For the awk script, D is an array of macro values keyed by name,
  11941. # likewise P contains macro parameters if any. Preserve backslash
  11942. # newline sequences.
  11943. ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
  11944. sed -n '
  11945. s/.\{148\}/&'"$ac_delim"'/g
  11946. t rset
  11947. :rset
  11948. s/^[ ]*#[ ]*define[ ][ ]*/ /
  11949. t def
  11950. d
  11951. :def
  11952. s/\\$//
  11953. t bsnl
  11954. s/["\\]/\\&/g
  11955. s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
  11956. D["\1"]=" \3"/p
  11957. s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
  11958. d
  11959. :bsnl
  11960. s/["\\]/\\&/g
  11961. s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
  11962. D["\1"]=" \3\\\\\\n"\\/p
  11963. t cont
  11964. s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
  11965. t cont
  11966. d
  11967. :cont
  11968. n
  11969. s/.\{148\}/&'"$ac_delim"'/g
  11970. t clear
  11971. :clear
  11972. s/\\$//
  11973. t bsnlc
  11974. s/["\\]/\\&/g; s/^/"/; s/$/"/p
  11975. d
  11976. :bsnlc
  11977. s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
  11978. b cont
  11979. ' <confdefs.h | sed '
  11980. s/'"$ac_delim"'/"\\\
  11981. "/g' >>$CONFIG_STATUS || ac_write_fail=1
  11982. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  11983. for (key in D) D_is_set[key] = 1
  11984. FS = ""
  11985. }
  11986. /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
  11987. line = \$ 0
  11988. split(line, arg, " ")
  11989. if (arg[1] == "#") {
  11990. defundef = arg[2]
  11991. mac1 = arg[3]
  11992. } else {
  11993. defundef = substr(arg[1], 2)
  11994. mac1 = arg[2]
  11995. }
  11996. split(mac1, mac2, "(") #)
  11997. macro = mac2[1]
  11998. prefix = substr(line, 1, index(line, defundef) - 1)
  11999. if (D_is_set[macro]) {
  12000. # Preserve the white space surrounding the "#".
  12001. print prefix "define", macro P[macro] D[macro]
  12002. next
  12003. } else {
  12004. # Replace #undef with comments. This is necessary, for example,
  12005. # in the case of _POSIX_SOURCE, which is predefined and required
  12006. # on some systems where configure will not decide to define it.
  12007. if (defundef == "undef") {
  12008. print "/*", prefix defundef, macro, "*/"
  12009. next
  12010. }
  12011. }
  12012. }
  12013. { print }
  12014. _ACAWK
  12015. _ACEOF
  12016. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  12017. as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
  12018. fi # test -n "$CONFIG_HEADERS"
  12019. eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
  12020. shift
  12021. for ac_tag
  12022. do
  12023. case $ac_tag in
  12024. :[FHLC]) ac_mode=$ac_tag; continue;;
  12025. esac
  12026. case $ac_mode$ac_tag in
  12027. :[FHL]*:*);;
  12028. :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
  12029. :[FH]-) ac_tag=-:-;;
  12030. :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
  12031. esac
  12032. ac_save_IFS=$IFS
  12033. IFS=:
  12034. set x $ac_tag
  12035. IFS=$ac_save_IFS
  12036. shift
  12037. ac_file=$1
  12038. shift
  12039. case $ac_mode in
  12040. :L) ac_source=$1;;
  12041. :[FH])
  12042. ac_file_inputs=
  12043. for ac_f
  12044. do
  12045. case $ac_f in
  12046. -) ac_f="$ac_tmp/stdin";;
  12047. *) # Look for the file first in the build tree, then in the source tree
  12048. # (if the path is not absolute). The absolute path cannot be DOS-style,
  12049. # because $ac_f cannot contain `:'.
  12050. test -f "$ac_f" ||
  12051. case $ac_f in
  12052. [\\/$]*) false;;
  12053. *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
  12054. esac ||
  12055. as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
  12056. esac
  12057. case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
  12058. as_fn_append ac_file_inputs " '$ac_f'"
  12059. done
  12060. # Let's still pretend it is `configure' which instantiates (i.e., don't
  12061. # use $as_me), people would be surprised to read:
  12062. # /* config.h. Generated by config.status. */
  12063. configure_input='Generated from '`
  12064. $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
  12065. `' by configure.'
  12066. if test x"$ac_file" != x-; then
  12067. configure_input="$ac_file. $configure_input"
  12068. { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
  12069. $as_echo "$as_me: creating $ac_file" >&6;}
  12070. fi
  12071. # Neutralize special characters interpreted by sed in replacement strings.
  12072. case $configure_input in #(
  12073. *\&* | *\|* | *\\* )
  12074. ac_sed_conf_input=`$as_echo "$configure_input" |
  12075. sed 's/[\\\\&|]/\\\\&/g'`;; #(
  12076. *) ac_sed_conf_input=$configure_input;;
  12077. esac
  12078. case $ac_tag in
  12079. *:-:* | *:-) cat >"$ac_tmp/stdin" \
  12080. || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
  12081. esac
  12082. ;;
  12083. esac
  12084. ac_dir=`$as_dirname -- "$ac_file" ||
  12085. $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  12086. X"$ac_file" : 'X\(//\)[^/]' \| \
  12087. X"$ac_file" : 'X\(//\)$' \| \
  12088. X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
  12089. $as_echo X"$ac_file" |
  12090. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  12091. s//\1/
  12092. q
  12093. }
  12094. /^X\(\/\/\)[^/].*/{
  12095. s//\1/
  12096. q
  12097. }
  12098. /^X\(\/\/\)$/{
  12099. s//\1/
  12100. q
  12101. }
  12102. /^X\(\/\).*/{
  12103. s//\1/
  12104. q
  12105. }
  12106. s/.*/./; q'`
  12107. as_dir="$ac_dir"; as_fn_mkdir_p
  12108. ac_builddir=.
  12109. case "$ac_dir" in
  12110. .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  12111. *)
  12112. ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  12113. # A ".." for each directory in $ac_dir_suffix.
  12114. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  12115. case $ac_top_builddir_sub in
  12116. "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  12117. *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  12118. esac ;;
  12119. esac
  12120. ac_abs_top_builddir=$ac_pwd
  12121. ac_abs_builddir=$ac_pwd$ac_dir_suffix
  12122. # for backward compatibility:
  12123. ac_top_builddir=$ac_top_build_prefix
  12124. case $srcdir in
  12125. .) # We are building in place.
  12126. ac_srcdir=.
  12127. ac_top_srcdir=$ac_top_builddir_sub
  12128. ac_abs_top_srcdir=$ac_pwd ;;
  12129. [\\/]* | ?:[\\/]* ) # Absolute name.
  12130. ac_srcdir=$srcdir$ac_dir_suffix;
  12131. ac_top_srcdir=$srcdir
  12132. ac_abs_top_srcdir=$srcdir ;;
  12133. *) # Relative name.
  12134. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  12135. ac_top_srcdir=$ac_top_build_prefix$srcdir
  12136. ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  12137. esac
  12138. ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  12139. case $ac_mode in
  12140. :F)
  12141. #
  12142. # CONFIG_FILE
  12143. #
  12144. case $INSTALL in
  12145. [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
  12146. *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
  12147. esac
  12148. ac_MKDIR_P=$MKDIR_P
  12149. case $MKDIR_P in
  12150. [\\/$]* | ?:[\\/]* ) ;;
  12151. */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
  12152. esac
  12153. _ACEOF
  12154. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  12155. # If the template does not know about datarootdir, expand it.
  12156. # FIXME: This hack should be removed a few years after 2.60.
  12157. ac_datarootdir_hack=; ac_datarootdir_seen=
  12158. ac_sed_dataroot='
  12159. /datarootdir/ {
  12160. p
  12161. q
  12162. }
  12163. /@datadir@/p
  12164. /@docdir@/p
  12165. /@infodir@/p
  12166. /@localedir@/p
  12167. /@mandir@/p'
  12168. case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
  12169. *datarootdir*) ac_datarootdir_seen=yes;;
  12170. *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
  12171. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
  12172. $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
  12173. _ACEOF
  12174. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  12175. ac_datarootdir_hack='
  12176. s&@datadir@&$datadir&g
  12177. s&@docdir@&$docdir&g
  12178. s&@infodir@&$infodir&g
  12179. s&@localedir@&$localedir&g
  12180. s&@mandir@&$mandir&g
  12181. s&\\\${datarootdir}&$datarootdir&g' ;;
  12182. esac
  12183. _ACEOF
  12184. # Neutralize VPATH when `$srcdir' = `.'.
  12185. # Shell code in configure.ac might set extrasub.
  12186. # FIXME: do we really want to maintain this feature?
  12187. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  12188. ac_sed_extra="$ac_vpsub
  12189. $extrasub
  12190. _ACEOF
  12191. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  12192. :t
  12193. /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
  12194. s|@configure_input@|$ac_sed_conf_input|;t t
  12195. s&@top_builddir@&$ac_top_builddir_sub&;t t
  12196. s&@top_build_prefix@&$ac_top_build_prefix&;t t
  12197. s&@srcdir@&$ac_srcdir&;t t
  12198. s&@abs_srcdir@&$ac_abs_srcdir&;t t
  12199. s&@top_srcdir@&$ac_top_srcdir&;t t
  12200. s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
  12201. s&@builddir@&$ac_builddir&;t t
  12202. s&@abs_builddir@&$ac_abs_builddir&;t t
  12203. s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
  12204. s&@INSTALL@&$ac_INSTALL&;t t
  12205. s&@MKDIR_P@&$ac_MKDIR_P&;t t
  12206. $ac_datarootdir_hack
  12207. "
  12208. eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
  12209. >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  12210. test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
  12211. { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
  12212. { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
  12213. "$ac_tmp/out"`; test -z "$ac_out"; } &&
  12214. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  12215. which seems to be undefined. Please make sure it is defined" >&5
  12216. $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  12217. which seems to be undefined. Please make sure it is defined" >&2;}
  12218. rm -f "$ac_tmp/stdin"
  12219. case $ac_file in
  12220. -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
  12221. *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
  12222. esac \
  12223. || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  12224. ;;
  12225. :H)
  12226. #
  12227. # CONFIG_HEADER
  12228. #
  12229. if test x"$ac_file" != x-; then
  12230. {
  12231. $as_echo "/* $configure_input */" \
  12232. && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
  12233. } >"$ac_tmp/config.h" \
  12234. || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  12235. if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
  12236. { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
  12237. $as_echo "$as_me: $ac_file is unchanged" >&6;}
  12238. else
  12239. rm -f "$ac_file"
  12240. mv "$ac_tmp/config.h" "$ac_file" \
  12241. || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  12242. fi
  12243. else
  12244. $as_echo "/* $configure_input */" \
  12245. && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
  12246. || as_fn_error $? "could not create -" "$LINENO" 5
  12247. fi
  12248. # Compute "$ac_file"'s index in $config_headers.
  12249. _am_arg="$ac_file"
  12250. _am_stamp_count=1
  12251. for _am_header in $config_headers :; do
  12252. case $_am_header in
  12253. $_am_arg | $_am_arg:* )
  12254. break ;;
  12255. * )
  12256. _am_stamp_count=`expr $_am_stamp_count + 1` ;;
  12257. esac
  12258. done
  12259. echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
  12260. $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  12261. X"$_am_arg" : 'X\(//\)[^/]' \| \
  12262. X"$_am_arg" : 'X\(//\)$' \| \
  12263. X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
  12264. $as_echo X"$_am_arg" |
  12265. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  12266. s//\1/
  12267. q
  12268. }
  12269. /^X\(\/\/\)[^/].*/{
  12270. s//\1/
  12271. q
  12272. }
  12273. /^X\(\/\/\)$/{
  12274. s//\1/
  12275. q
  12276. }
  12277. /^X\(\/\).*/{
  12278. s//\1/
  12279. q
  12280. }
  12281. s/.*/./; q'`/stamp-h$_am_stamp_count
  12282. ;;
  12283. :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
  12284. $as_echo "$as_me: executing $ac_file commands" >&6;}
  12285. ;;
  12286. esac
  12287. case $ac_file$ac_mode in
  12288. "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
  12289. # Older Autoconf quotes --file arguments for eval, but not when files
  12290. # are listed without --file. Let's play safe and only enable the eval
  12291. # if we detect the quoting.
  12292. case $CONFIG_FILES in
  12293. *\'*) eval set x "$CONFIG_FILES" ;;
  12294. *) set x $CONFIG_FILES ;;
  12295. esac
  12296. shift
  12297. for mf
  12298. do
  12299. # Strip MF so we end up with the name of the file.
  12300. mf=`echo "$mf" | sed -e 's/:.*$//'`
  12301. # Check whether this is an Automake generated Makefile or not.
  12302. # We used to match only the files named 'Makefile.in', but
  12303. # some people rename them; so instead we look at the file content.
  12304. # Grep'ing the first line is not enough: some people post-process
  12305. # each Makefile.in and add a new line on top of each file to say so.
  12306. # Grep'ing the whole file is not good either: AIX grep has a line
  12307. # limit of 2048, but all sed's we know have understand at least 4000.
  12308. if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
  12309. dirpart=`$as_dirname -- "$mf" ||
  12310. $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  12311. X"$mf" : 'X\(//\)[^/]' \| \
  12312. X"$mf" : 'X\(//\)$' \| \
  12313. X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
  12314. $as_echo X"$mf" |
  12315. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  12316. s//\1/
  12317. q
  12318. }
  12319. /^X\(\/\/\)[^/].*/{
  12320. s//\1/
  12321. q
  12322. }
  12323. /^X\(\/\/\)$/{
  12324. s//\1/
  12325. q
  12326. }
  12327. /^X\(\/\).*/{
  12328. s//\1/
  12329. q
  12330. }
  12331. s/.*/./; q'`
  12332. else
  12333. continue
  12334. fi
  12335. # Extract the definition of DEPDIR, am__include, and am__quote
  12336. # from the Makefile without running 'make'.
  12337. DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
  12338. test -z "$DEPDIR" && continue
  12339. am__include=`sed -n 's/^am__include = //p' < "$mf"`
  12340. test -z "$am__include" && continue
  12341. am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
  12342. # Find all dependency output files, they are included files with
  12343. # $(DEPDIR) in their names. We invoke sed twice because it is the
  12344. # simplest approach to changing $(DEPDIR) to its actual value in the
  12345. # expansion.
  12346. for file in `sed -n "
  12347. s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
  12348. sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
  12349. # Make sure the directory exists.
  12350. test -f "$dirpart/$file" && continue
  12351. fdir=`$as_dirname -- "$file" ||
  12352. $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  12353. X"$file" : 'X\(//\)[^/]' \| \
  12354. X"$file" : 'X\(//\)$' \| \
  12355. X"$file" : 'X\(/\)' \| . 2>/dev/null ||
  12356. $as_echo X"$file" |
  12357. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  12358. s//\1/
  12359. q
  12360. }
  12361. /^X\(\/\/\)[^/].*/{
  12362. s//\1/
  12363. q
  12364. }
  12365. /^X\(\/\/\)$/{
  12366. s//\1/
  12367. q
  12368. }
  12369. /^X\(\/\).*/{
  12370. s//\1/
  12371. q
  12372. }
  12373. s/.*/./; q'`
  12374. as_dir=$dirpart/$fdir; as_fn_mkdir_p
  12375. # echo "creating $dirpart/$file"
  12376. echo '# dummy' > "$dirpart/$file"
  12377. done
  12378. done
  12379. }
  12380. ;;
  12381. "libtool":C)
  12382. # See if we are running on zsh, and set the options which allow our
  12383. # commands through without removal of \ escapes.
  12384. if test -n "${ZSH_VERSION+set}" ; then
  12385. setopt NO_GLOB_SUBST
  12386. fi
  12387. cfgfile="${ofile}T"
  12388. trap "$RM \"$cfgfile\"; exit 1" 1 2 15
  12389. $RM "$cfgfile"
  12390. cat <<_LT_EOF >> "$cfgfile"
  12391. #! $SHELL
  12392. # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
  12393. # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
  12394. # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
  12395. # NOTE: Changes made to this file will be lost: look at ltmain.sh.
  12396. #
  12397. # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
  12398. # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
  12399. # Written by Gordon Matzigkeit, 1996
  12400. #
  12401. # This file is part of GNU Libtool.
  12402. #
  12403. # GNU Libtool is free software; you can redistribute it and/or
  12404. # modify it under the terms of the GNU General Public License as
  12405. # published by the Free Software Foundation; either version 2 of
  12406. # the License, or (at your option) any later version.
  12407. #
  12408. # As a special exception to the GNU General Public License,
  12409. # if you distribute this file as part of a program or library that
  12410. # is built using GNU Libtool, you may include this file under the
  12411. # same distribution terms that you use for the rest of that program.
  12412. #
  12413. # GNU Libtool is distributed in the hope that it will be useful,
  12414. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  12415. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12416. # GNU General Public License for more details.
  12417. #
  12418. # You should have received a copy of the GNU General Public License
  12419. # along with GNU Libtool; see the file COPYING. If not, a copy
  12420. # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
  12421. # obtained by writing to the Free Software Foundation, Inc.,
  12422. # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  12423. # The names of the tagged configurations supported by this script.
  12424. available_tags=""
  12425. # ### BEGIN LIBTOOL CONFIG
  12426. # Whether or not to build shared libraries.
  12427. build_libtool_libs=$enable_shared
  12428. # Which release of libtool.m4 was used?
  12429. macro_version=$macro_version
  12430. macro_revision=$macro_revision
  12431. # Whether or not to build static libraries.
  12432. build_old_libs=$enable_static
  12433. # What type of objects to build.
  12434. pic_mode=$pic_mode
  12435. # Whether or not to optimize for fast installation.
  12436. fast_install=$enable_fast_install
  12437. # Shell to use when invoking shell scripts.
  12438. SHELL=$lt_SHELL
  12439. # An echo program that protects backslashes.
  12440. ECHO=$lt_ECHO
  12441. # The host system.
  12442. host_alias=$host_alias
  12443. host=$host
  12444. host_os=$host_os
  12445. # The build system.
  12446. build_alias=$build_alias
  12447. build=$build
  12448. build_os=$build_os
  12449. # A sed program that does not truncate output.
  12450. SED=$lt_SED
  12451. # Sed that helps us avoid accidentally triggering echo(1) options like -n.
  12452. Xsed="\$SED -e 1s/^X//"
  12453. # A grep program that handles long lines.
  12454. GREP=$lt_GREP
  12455. # An ERE matcher.
  12456. EGREP=$lt_EGREP
  12457. # A literal string matcher.
  12458. FGREP=$lt_FGREP
  12459. # A BSD- or MS-compatible name lister.
  12460. NM=$lt_NM
  12461. # Whether we need soft or hard links.
  12462. LN_S=$lt_LN_S
  12463. # What is the maximum length of a command?
  12464. max_cmd_len=$max_cmd_len
  12465. # Object file suffix (normally "o").
  12466. objext=$ac_objext
  12467. # Executable file suffix (normally "").
  12468. exeext=$exeext
  12469. # whether the shell understands "unset".
  12470. lt_unset=$lt_unset
  12471. # turn spaces into newlines.
  12472. SP2NL=$lt_lt_SP2NL
  12473. # turn newlines into spaces.
  12474. NL2SP=$lt_lt_NL2SP
  12475. # An object symbol dumper.
  12476. OBJDUMP=$lt_OBJDUMP
  12477. # Method to check whether dependent libraries are shared objects.
  12478. deplibs_check_method=$lt_deplibs_check_method
  12479. # Command to use when deplibs_check_method == "file_magic".
  12480. file_magic_cmd=$lt_file_magic_cmd
  12481. # The archiver.
  12482. AR=$lt_AR
  12483. AR_FLAGS=$lt_AR_FLAGS
  12484. # A symbol stripping program.
  12485. STRIP=$lt_STRIP
  12486. # Commands used to install an old-style archive.
  12487. RANLIB=$lt_RANLIB
  12488. old_postinstall_cmds=$lt_old_postinstall_cmds
  12489. old_postuninstall_cmds=$lt_old_postuninstall_cmds
  12490. # Whether to use a lock for old archive extraction.
  12491. lock_old_archive_extraction=$lock_old_archive_extraction
  12492. # A C compiler.
  12493. LTCC=$lt_CC
  12494. # LTCC compiler flags.
  12495. LTCFLAGS=$lt_CFLAGS
  12496. # Take the output of nm and produce a listing of raw symbols and C names.
  12497. global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
  12498. # Transform the output of nm in a proper C declaration.
  12499. global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
  12500. # Transform the output of nm in a C name address pair.
  12501. global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
  12502. # Transform the output of nm in a C name address pair when lib prefix is needed.
  12503. global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
  12504. # The name of the directory that contains temporary libtool files.
  12505. objdir=$objdir
  12506. # Used to examine libraries when file_magic_cmd begins with "file".
  12507. MAGIC_CMD=$MAGIC_CMD
  12508. # Must we lock files when doing compilation?
  12509. need_locks=$lt_need_locks
  12510. # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
  12511. DSYMUTIL=$lt_DSYMUTIL
  12512. # Tool to change global to local symbols on Mac OS X.
  12513. NMEDIT=$lt_NMEDIT
  12514. # Tool to manipulate fat objects and archives on Mac OS X.
  12515. LIPO=$lt_LIPO
  12516. # ldd/readelf like tool for Mach-O binaries on Mac OS X.
  12517. OTOOL=$lt_OTOOL
  12518. # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
  12519. OTOOL64=$lt_OTOOL64
  12520. # Old archive suffix (normally "a").
  12521. libext=$libext
  12522. # Shared library suffix (normally ".so").
  12523. shrext_cmds=$lt_shrext_cmds
  12524. # The commands to extract the exported symbol list from a shared archive.
  12525. extract_expsyms_cmds=$lt_extract_expsyms_cmds
  12526. # Variables whose values should be saved in libtool wrapper scripts and
  12527. # restored at link time.
  12528. variables_saved_for_relink=$lt_variables_saved_for_relink
  12529. # Do we need the "lib" prefix for modules?
  12530. need_lib_prefix=$need_lib_prefix
  12531. # Do we need a version for libraries?
  12532. need_version=$need_version
  12533. # Library versioning type.
  12534. version_type=$version_type
  12535. # Shared library runtime path variable.
  12536. runpath_var=$runpath_var
  12537. # Shared library path variable.
  12538. shlibpath_var=$shlibpath_var
  12539. # Is shlibpath searched before the hard-coded library search path?
  12540. shlibpath_overrides_runpath=$shlibpath_overrides_runpath
  12541. # Format of library name prefix.
  12542. libname_spec=$lt_libname_spec
  12543. # List of archive names. First name is the real one, the rest are links.
  12544. # The last name is the one that the linker finds with -lNAME
  12545. library_names_spec=$lt_library_names_spec
  12546. # The coded name of the library, if different from the real name.
  12547. soname_spec=$lt_soname_spec
  12548. # Permission mode override for installation of shared libraries.
  12549. install_override_mode=$lt_install_override_mode
  12550. # Command to use after installation of a shared archive.
  12551. postinstall_cmds=$lt_postinstall_cmds
  12552. # Command to use after uninstallation of a shared archive.
  12553. postuninstall_cmds=$lt_postuninstall_cmds
  12554. # Commands used to finish a libtool library installation in a directory.
  12555. finish_cmds=$lt_finish_cmds
  12556. # As "finish_cmds", except a single script fragment to be evaled but
  12557. # not shown.
  12558. finish_eval=$lt_finish_eval
  12559. # Whether we should hardcode library paths into libraries.
  12560. hardcode_into_libs=$hardcode_into_libs
  12561. # Compile-time system search path for libraries.
  12562. sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
  12563. # Run-time system search path for libraries.
  12564. sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
  12565. # Whether dlopen is supported.
  12566. dlopen_support=$enable_dlopen
  12567. # Whether dlopen of programs is supported.
  12568. dlopen_self=$enable_dlopen_self
  12569. # Whether dlopen of statically linked programs is supported.
  12570. dlopen_self_static=$enable_dlopen_self_static
  12571. # Commands to strip libraries.
  12572. old_striplib=$lt_old_striplib
  12573. striplib=$lt_striplib
  12574. # The linker used to build libraries.
  12575. LD=$lt_LD
  12576. # How to create reloadable object files.
  12577. reload_flag=$lt_reload_flag
  12578. reload_cmds=$lt_reload_cmds
  12579. # Commands used to build an old-style archive.
  12580. old_archive_cmds=$lt_old_archive_cmds
  12581. # A language specific compiler.
  12582. CC=$lt_compiler
  12583. # Is the compiler the GNU compiler?
  12584. with_gcc=$GCC
  12585. # Compiler flag to turn off builtin functions.
  12586. no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
  12587. # How to pass a linker flag through the compiler.
  12588. wl=$lt_lt_prog_compiler_wl
  12589. # Additional compiler flags for building library objects.
  12590. pic_flag=$lt_lt_prog_compiler_pic
  12591. # Compiler flag to prevent dynamic linking.
  12592. link_static_flag=$lt_lt_prog_compiler_static
  12593. # Does compiler simultaneously support -c and -o options?
  12594. compiler_c_o=$lt_lt_cv_prog_compiler_c_o
  12595. # Whether or not to add -lc for building shared libraries.
  12596. build_libtool_need_lc=$archive_cmds_need_lc
  12597. # Whether or not to disallow shared libs when runtime libs are static.
  12598. allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
  12599. # Compiler flag to allow reflexive dlopens.
  12600. export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
  12601. # Compiler flag to generate shared objects directly from archives.
  12602. whole_archive_flag_spec=$lt_whole_archive_flag_spec
  12603. # Whether the compiler copes with passing no objects directly.
  12604. compiler_needs_object=$lt_compiler_needs_object
  12605. # Create an old-style archive from a shared archive.
  12606. old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
  12607. # Create a temporary old-style archive to link instead of a shared archive.
  12608. old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
  12609. # Commands used to build a shared archive.
  12610. archive_cmds=$lt_archive_cmds
  12611. archive_expsym_cmds=$lt_archive_expsym_cmds
  12612. # Commands used to build a loadable module if different from building
  12613. # a shared archive.
  12614. module_cmds=$lt_module_cmds
  12615. module_expsym_cmds=$lt_module_expsym_cmds
  12616. # Whether we are building with GNU ld or not.
  12617. with_gnu_ld=$lt_with_gnu_ld
  12618. # Flag that allows shared libraries with undefined symbols to be built.
  12619. allow_undefined_flag=$lt_allow_undefined_flag
  12620. # Flag that enforces no undefined symbols.
  12621. no_undefined_flag=$lt_no_undefined_flag
  12622. # Flag to hardcode \$libdir into a binary during linking.
  12623. # This must work even if \$libdir does not exist
  12624. hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
  12625. # If ld is used when linking, flag to hardcode \$libdir into a binary
  12626. # during linking. This must work even if \$libdir does not exist.
  12627. hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
  12628. # Whether we need a single "-rpath" flag with a separated argument.
  12629. hardcode_libdir_separator=$lt_hardcode_libdir_separator
  12630. # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
  12631. # DIR into the resulting binary.
  12632. hardcode_direct=$hardcode_direct
  12633. # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
  12634. # DIR into the resulting binary and the resulting library dependency is
  12635. # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
  12636. # library is relocated.
  12637. hardcode_direct_absolute=$hardcode_direct_absolute
  12638. # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
  12639. # into the resulting binary.
  12640. hardcode_minus_L=$hardcode_minus_L
  12641. # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
  12642. # into the resulting binary.
  12643. hardcode_shlibpath_var=$hardcode_shlibpath_var
  12644. # Set to "yes" if building a shared library automatically hardcodes DIR
  12645. # into the library and all subsequent libraries and executables linked
  12646. # against it.
  12647. hardcode_automatic=$hardcode_automatic
  12648. # Set to yes if linker adds runtime paths of dependent libraries
  12649. # to runtime path list.
  12650. inherit_rpath=$inherit_rpath
  12651. # Whether libtool must link a program against all its dependency libraries.
  12652. link_all_deplibs=$link_all_deplibs
  12653. # Fix the shell variable \$srcfile for the compiler.
  12654. fix_srcfile_path=$lt_fix_srcfile_path
  12655. # Set to "yes" if exported symbols are required.
  12656. always_export_symbols=$always_export_symbols
  12657. # The commands to list exported symbols.
  12658. export_symbols_cmds=$lt_export_symbols_cmds
  12659. # Symbols that should not be listed in the preloaded symbols.
  12660. exclude_expsyms=$lt_exclude_expsyms
  12661. # Symbols that must always be exported.
  12662. include_expsyms=$lt_include_expsyms
  12663. # Commands necessary for linking programs (against libraries) with templates.
  12664. prelink_cmds=$lt_prelink_cmds
  12665. # Specify filename containing input files.
  12666. file_list_spec=$lt_file_list_spec
  12667. # How to hardcode a shared library path into an executable.
  12668. hardcode_action=$hardcode_action
  12669. # ### END LIBTOOL CONFIG
  12670. _LT_EOF
  12671. case $host_os in
  12672. aix3*)
  12673. cat <<\_LT_EOF >> "$cfgfile"
  12674. # AIX sometimes has problems with the GCC collect2 program. For some
  12675. # reason, if we set the COLLECT_NAMES environment variable, the problems
  12676. # vanish in a puff of smoke.
  12677. if test "X${COLLECT_NAMES+set}" != Xset; then
  12678. COLLECT_NAMES=
  12679. export COLLECT_NAMES
  12680. fi
  12681. _LT_EOF
  12682. ;;
  12683. esac
  12684. ltmain="$ac_aux_dir/ltmain.sh"
  12685. # We use sed instead of cat because bash on DJGPP gets confused if
  12686. # if finds mixed CR/LF and LF-only lines. Since sed operates in
  12687. # text mode, it properly converts lines to CR/LF. This bash problem
  12688. # is reportedly fixed, but why not run on old versions too?
  12689. sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
  12690. || (rm -f "$cfgfile"; exit 1)
  12691. case $xsi_shell in
  12692. yes)
  12693. cat << \_LT_EOF >> "$cfgfile"
  12694. # func_dirname file append nondir_replacement
  12695. # Compute the dirname of FILE. If nonempty, add APPEND to the result,
  12696. # otherwise set result to NONDIR_REPLACEMENT.
  12697. func_dirname ()
  12698. {
  12699. case ${1} in
  12700. */*) func_dirname_result="${1%/*}${2}" ;;
  12701. * ) func_dirname_result="${3}" ;;
  12702. esac
  12703. }
  12704. # func_basename file
  12705. func_basename ()
  12706. {
  12707. func_basename_result="${1##*/}"
  12708. }
  12709. # func_dirname_and_basename file append nondir_replacement
  12710. # perform func_basename and func_dirname in a single function
  12711. # call:
  12712. # dirname: Compute the dirname of FILE. If nonempty,
  12713. # add APPEND to the result, otherwise set result
  12714. # to NONDIR_REPLACEMENT.
  12715. # value returned in "$func_dirname_result"
  12716. # basename: Compute filename of FILE.
  12717. # value retuned in "$func_basename_result"
  12718. # Implementation must be kept synchronized with func_dirname
  12719. # and func_basename. For efficiency, we do not delegate to
  12720. # those functions but instead duplicate the functionality here.
  12721. func_dirname_and_basename ()
  12722. {
  12723. case ${1} in
  12724. */*) func_dirname_result="${1%/*}${2}" ;;
  12725. * ) func_dirname_result="${3}" ;;
  12726. esac
  12727. func_basename_result="${1##*/}"
  12728. }
  12729. # func_stripname prefix suffix name
  12730. # strip PREFIX and SUFFIX off of NAME.
  12731. # PREFIX and SUFFIX must not contain globbing or regex special
  12732. # characters, hashes, percent signs, but SUFFIX may contain a leading
  12733. # dot (in which case that matches only a dot).
  12734. func_stripname ()
  12735. {
  12736. # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
  12737. # positional parameters, so assign one to ordinary parameter first.
  12738. func_stripname_result=${3}
  12739. func_stripname_result=${func_stripname_result#"${1}"}
  12740. func_stripname_result=${func_stripname_result%"${2}"}
  12741. }
  12742. # func_opt_split
  12743. func_opt_split ()
  12744. {
  12745. func_opt_split_opt=${1%%=*}
  12746. func_opt_split_arg=${1#*=}
  12747. }
  12748. # func_lo2o object
  12749. func_lo2o ()
  12750. {
  12751. case ${1} in
  12752. *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
  12753. *) func_lo2o_result=${1} ;;
  12754. esac
  12755. }
  12756. # func_xform libobj-or-source
  12757. func_xform ()
  12758. {
  12759. func_xform_result=${1%.*}.lo
  12760. }
  12761. # func_arith arithmetic-term...
  12762. func_arith ()
  12763. {
  12764. func_arith_result=$(( $* ))
  12765. }
  12766. # func_len string
  12767. # STRING may not start with a hyphen.
  12768. func_len ()
  12769. {
  12770. func_len_result=${#1}
  12771. }
  12772. _LT_EOF
  12773. ;;
  12774. *) # Bourne compatible functions.
  12775. cat << \_LT_EOF >> "$cfgfile"
  12776. # func_dirname file append nondir_replacement
  12777. # Compute the dirname of FILE. If nonempty, add APPEND to the result,
  12778. # otherwise set result to NONDIR_REPLACEMENT.
  12779. func_dirname ()
  12780. {
  12781. # Extract subdirectory from the argument.
  12782. func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
  12783. if test "X$func_dirname_result" = "X${1}"; then
  12784. func_dirname_result="${3}"
  12785. else
  12786. func_dirname_result="$func_dirname_result${2}"
  12787. fi
  12788. }
  12789. # func_basename file
  12790. func_basename ()
  12791. {
  12792. func_basename_result=`$ECHO "${1}" | $SED "$basename"`
  12793. }
  12794. # func_stripname prefix suffix name
  12795. # strip PREFIX and SUFFIX off of NAME.
  12796. # PREFIX and SUFFIX must not contain globbing or regex special
  12797. # characters, hashes, percent signs, but SUFFIX may contain a leading
  12798. # dot (in which case that matches only a dot).
  12799. # func_strip_suffix prefix name
  12800. func_stripname ()
  12801. {
  12802. case ${2} in
  12803. .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
  12804. *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
  12805. esac
  12806. }
  12807. # sed scripts:
  12808. my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
  12809. my_sed_long_arg='1s/^-[^=]*=//'
  12810. # func_opt_split
  12811. func_opt_split ()
  12812. {
  12813. func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
  12814. func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
  12815. }
  12816. # func_lo2o object
  12817. func_lo2o ()
  12818. {
  12819. func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
  12820. }
  12821. # func_xform libobj-or-source
  12822. func_xform ()
  12823. {
  12824. func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
  12825. }
  12826. # func_arith arithmetic-term...
  12827. func_arith ()
  12828. {
  12829. func_arith_result=`expr "$@"`
  12830. }
  12831. # func_len string
  12832. # STRING may not start with a hyphen.
  12833. func_len ()
  12834. {
  12835. func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
  12836. }
  12837. _LT_EOF
  12838. esac
  12839. case $lt_shell_append in
  12840. yes)
  12841. cat << \_LT_EOF >> "$cfgfile"
  12842. # func_append var value
  12843. # Append VALUE to the end of shell variable VAR.
  12844. func_append ()
  12845. {
  12846. eval "$1+=\$2"
  12847. }
  12848. _LT_EOF
  12849. ;;
  12850. *)
  12851. cat << \_LT_EOF >> "$cfgfile"
  12852. # func_append var value
  12853. # Append VALUE to the end of shell variable VAR.
  12854. func_append ()
  12855. {
  12856. eval "$1=\$$1\$2"
  12857. }
  12858. _LT_EOF
  12859. ;;
  12860. esac
  12861. sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
  12862. || (rm -f "$cfgfile"; exit 1)
  12863. mv -f "$cfgfile" "$ofile" ||
  12864. (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
  12865. chmod +x "$ofile"
  12866. ;;
  12867. "default-1":C)
  12868. for ac_file in $CONFIG_FILES; do
  12869. # Support "outfile[:infile[:infile...]]"
  12870. case "$ac_file" in
  12871. *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
  12872. esac
  12873. # PO directories have a Makefile.in generated from Makefile.in.in.
  12874. case "$ac_file" in */Makefile.in)
  12875. # Adjust a relative srcdir.
  12876. ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
  12877. ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'`
  12878. ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
  12879. # In autoconf-2.13 it is called $ac_given_srcdir.
  12880. # In autoconf-2.50 it is called $srcdir.
  12881. test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
  12882. case "$ac_given_srcdir" in
  12883. .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
  12884. /*) top_srcdir="$ac_given_srcdir" ;;
  12885. *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
  12886. esac
  12887. if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
  12888. rm -f "$ac_dir/POTFILES"
  12889. test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
  12890. cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
  12891. POMAKEFILEDEPS="POTFILES.in"
  12892. # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
  12893. # on $ac_dir but don't depend on user-specified configuration
  12894. # parameters.
  12895. if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
  12896. # The LINGUAS file contains the set of available languages.
  12897. if test -n "$OBSOLETE_ALL_LINGUAS"; then
  12898. test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.ac is obsolete" || echo "setting ALL_LINGUAS in configure.ac is obsolete"
  12899. fi
  12900. ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
  12901. # Hide the ALL_LINGUAS assigment from automake.
  12902. eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
  12903. POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
  12904. else
  12905. # The set of available languages was given in configure.ac.
  12906. eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
  12907. fi
  12908. case "$ac_given_srcdir" in
  12909. .) srcdirpre= ;;
  12910. *) srcdirpre='$(srcdir)/' ;;
  12911. esac
  12912. POFILES=
  12913. GMOFILES=
  12914. UPDATEPOFILES=
  12915. DUMMYPOFILES=
  12916. for lang in $ALL_LINGUAS; do
  12917. POFILES="$POFILES $srcdirpre$lang.po"
  12918. GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
  12919. UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
  12920. DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
  12921. done
  12922. # CATALOGS depends on both $ac_dir and the user's LINGUAS
  12923. # environment variable.
  12924. INST_LINGUAS=
  12925. if test -n "$ALL_LINGUAS"; then
  12926. for presentlang in $ALL_LINGUAS; do
  12927. useit=no
  12928. if test "%UNSET%" != "$LINGUAS"; then
  12929. desiredlanguages="$LINGUAS"
  12930. else
  12931. desiredlanguages="$ALL_LINGUAS"
  12932. fi
  12933. for desiredlang in $desiredlanguages; do
  12934. # Use the presentlang catalog if desiredlang is
  12935. # a. equal to presentlang, or
  12936. # b. a variant of presentlang (because in this case,
  12937. # presentlang can be used as a fallback for messages
  12938. # which are not translated in the desiredlang catalog).
  12939. case "$desiredlang" in
  12940. "$presentlang"*) useit=yes;;
  12941. esac
  12942. done
  12943. if test $useit = yes; then
  12944. INST_LINGUAS="$INST_LINGUAS $presentlang"
  12945. fi
  12946. done
  12947. fi
  12948. CATALOGS=
  12949. if test -n "$INST_LINGUAS"; then
  12950. for lang in $INST_LINGUAS; do
  12951. CATALOGS="$CATALOGS $lang.gmo"
  12952. done
  12953. fi
  12954. test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
  12955. 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"
  12956. for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
  12957. if test -f "$f"; then
  12958. case "$f" in
  12959. *.orig | *.bak | *~) ;;
  12960. *) cat "$f" >> "$ac_dir/Makefile" ;;
  12961. esac
  12962. fi
  12963. done
  12964. fi
  12965. ;;
  12966. esac
  12967. done ;;
  12968. esac
  12969. done # for ac_tag
  12970. as_fn_exit 0
  12971. _ACEOF
  12972. ac_clean_files=$ac_clean_files_save
  12973. test $ac_write_fail = 0 ||
  12974. as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
  12975. # configure is writing to config.log, and then calls config.status.
  12976. # config.status does its own redirection, appending to config.log.
  12977. # Unfortunately, on DOS this fails, as config.log is still kept open
  12978. # by configure, so config.status won't be able to write to it; its
  12979. # output is simply discarded. So we exec the FD to /dev/null,
  12980. # effectively closing config.log, so it can be properly (re)opened and
  12981. # appended to by config.status. When coming back to configure, we
  12982. # need to make the FD available again.
  12983. if test "$no_create" != yes; then
  12984. ac_cs_success=:
  12985. ac_config_status_args=
  12986. test "$silent" = yes &&
  12987. ac_config_status_args="$ac_config_status_args --quiet"
  12988. exec 5>/dev/null
  12989. $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
  12990. exec 5>>config.log
  12991. # Use ||, not &&, to avoid exiting from the if with $? = 1, which
  12992. # would make configure fail if this is the last instruction.
  12993. $ac_cs_success || as_fn_exit 1
  12994. fi
  12995. if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
  12996. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
  12997. $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
  12998. fi
  12999. touch config.status.tmp
  13000. if touch --reference=config.status config.status.tmp > /dev/null 2>&1; then
  13001. sed '/as_fn_exit 0/i \
  13002. sed -e \"s/^\t\\\(\\\$(AM_V_CCLD)\\\)/\t+ \\\1/\" Makefile > Makefile.tmp \
  13003. touch --reference=Makefile Makefile.tmp \
  13004. mv Makefile.tmp Makefile \
  13005. ' config.status > config.status.tmp
  13006. touch --reference=config.status config.status.tmp
  13007. mv config.status.tmp config.status
  13008. chmod +x config.status
  13009. sed -e "s/^\t\(\$(AM_V_CCLD)\)/\t+ \1/" Makefile > Makefile.tmp
  13010. touch --reference=Makefile Makefile.tmp
  13011. mv Makefile.tmp Makefile
  13012. else
  13013. rm -f config.status.tmp
  13014. fi