configure 540 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059
  1. #! /bin/sh
  2. # Guess values for system-dependent variables and create Makefiles.
  3. # Generated by GNU Autoconf 2.64 for GNU Vtable Verification Runtime Library 1.0.
  4. #
  5. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
  6. # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
  7. # Foundation, Inc.
  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. case $0 in #((
  84. *[\\/]* ) as_myself=$0 ;;
  85. *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  86. for as_dir in $PATH
  87. do
  88. IFS=$as_save_IFS
  89. test -z "$as_dir" && as_dir=.
  90. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  91. done
  92. IFS=$as_save_IFS
  93. ;;
  94. esac
  95. # We did not find ourselves, most probably we were run as `sh COMMAND'
  96. # in which case we are not to be found in the path.
  97. if test "x$as_myself" = x; then
  98. as_myself=$0
  99. fi
  100. if test ! -f "$as_myself"; then
  101. $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  102. exit 1
  103. fi
  104. # Unset variables that we do not need and which cause bugs (e.g. in
  105. # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
  106. # suppresses any "Segmentation fault" message there. '((' could
  107. # trigger a bug in pdksh 5.2.14.
  108. for as_var in BASH_ENV ENV MAIL MAILPATH
  109. do eval test x\${$as_var+set} = xset \
  110. && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  111. done
  112. PS1='$ '
  113. PS2='> '
  114. PS4='+ '
  115. # NLS nuisances.
  116. LC_ALL=C
  117. export LC_ALL
  118. LANGUAGE=C
  119. export LANGUAGE
  120. # CDPATH.
  121. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  122. if test "x$CONFIG_SHELL" = x; then
  123. as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
  124. emulate sh
  125. NULLCMD=:
  126. # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
  127. # is contrary to our usage. Disable this feature.
  128. alias -g '\${1+\"\$@\"}'='\"\$@\"'
  129. setopt NO_GLOB_SUBST
  130. else
  131. case \`(set -o) 2>/dev/null\` in #(
  132. *posix*) :
  133. set -o posix ;; #(
  134. *) :
  135. ;;
  136. esac
  137. fi
  138. "
  139. as_required="as_fn_return () { (exit \$1); }
  140. as_fn_success () { as_fn_return 0; }
  141. as_fn_failure () { as_fn_return 1; }
  142. as_fn_ret_success () { return 0; }
  143. as_fn_ret_failure () { return 1; }
  144. exitcode=0
  145. as_fn_success || { exitcode=1; echo as_fn_success failed.; }
  146. as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
  147. as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
  148. as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
  149. if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
  150. else
  151. exitcode=1; echo positional parameters were not saved.
  152. fi
  153. test x\$exitcode = x0 || exit 1"
  154. as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
  155. as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
  156. eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
  157. test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
  158. test \$(( 1 + 1 )) = 2 || exit 1
  159. test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
  160. ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  161. ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
  162. ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
  163. PATH=/empty FPATH=/empty; export PATH FPATH
  164. test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
  165. || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
  166. if (eval "$as_required") 2>/dev/null; then :
  167. as_have_required=yes
  168. else
  169. as_have_required=no
  170. fi
  171. if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
  172. else
  173. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  174. as_found=false
  175. for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  176. do
  177. IFS=$as_save_IFS
  178. test -z "$as_dir" && as_dir=.
  179. as_found=:
  180. case $as_dir in #(
  181. /*)
  182. for as_base in sh bash ksh sh5; do
  183. # Try only shells that exist, to save several forks.
  184. as_shell=$as_dir/$as_base
  185. if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
  186. { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
  187. CONFIG_SHELL=$as_shell as_have_required=yes
  188. if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
  189. break 2
  190. fi
  191. fi
  192. done;;
  193. esac
  194. as_found=false
  195. done
  196. $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
  197. { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
  198. CONFIG_SHELL=$SHELL as_have_required=yes
  199. fi; }
  200. IFS=$as_save_IFS
  201. if test "x$CONFIG_SHELL" != x; then :
  202. # We cannot yet assume a decent shell, so we have to provide a
  203. # neutralization value for shells without unset; and this also
  204. # works around shells that cannot unset nonexistent variables.
  205. BASH_ENV=/dev/null
  206. ENV=/dev/null
  207. (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  208. export CONFIG_SHELL
  209. exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
  210. fi
  211. if test x$as_have_required = xno; then :
  212. $as_echo "$0: This script requires a shell more modern than all"
  213. $as_echo "$0: the shells that I found on your system."
  214. if test x${ZSH_VERSION+set} = xset ; then
  215. $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
  216. $as_echo "$0: be upgraded to zsh 4.3.4 or later."
  217. else
  218. $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
  219. $0: including any error possibly output before this
  220. $0: message. Then install a modern shell, or manually run
  221. $0: the script under such a shell if you do have one."
  222. fi
  223. exit 1
  224. fi
  225. fi
  226. fi
  227. SHELL=${CONFIG_SHELL-/bin/sh}
  228. export SHELL
  229. # Unset more variables known to interfere with behavior of common tools.
  230. CLICOLOR_FORCE= GREP_OPTIONS=
  231. unset CLICOLOR_FORCE GREP_OPTIONS
  232. ## --------------------- ##
  233. ## M4sh Shell Functions. ##
  234. ## --------------------- ##
  235. # as_fn_unset VAR
  236. # ---------------
  237. # Portably unset VAR.
  238. as_fn_unset ()
  239. {
  240. { eval $1=; unset $1;}
  241. }
  242. as_unset=as_fn_unset
  243. # as_fn_set_status STATUS
  244. # -----------------------
  245. # Set $? to STATUS, without forking.
  246. as_fn_set_status ()
  247. {
  248. return $1
  249. } # as_fn_set_status
  250. # as_fn_exit STATUS
  251. # -----------------
  252. # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  253. as_fn_exit ()
  254. {
  255. set +e
  256. as_fn_set_status $1
  257. exit $1
  258. } # as_fn_exit
  259. # as_fn_mkdir_p
  260. # -------------
  261. # Create "$as_dir" as a directory, including parents if necessary.
  262. as_fn_mkdir_p ()
  263. {
  264. case $as_dir in #(
  265. -*) as_dir=./$as_dir;;
  266. esac
  267. test -d "$as_dir" || eval $as_mkdir_p || {
  268. as_dirs=
  269. while :; do
  270. case $as_dir in #(
  271. *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  272. *) as_qdir=$as_dir;;
  273. esac
  274. as_dirs="'$as_qdir' $as_dirs"
  275. as_dir=`$as_dirname -- "$as_dir" ||
  276. $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  277. X"$as_dir" : 'X\(//\)[^/]' \| \
  278. X"$as_dir" : 'X\(//\)$' \| \
  279. X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  280. $as_echo X"$as_dir" |
  281. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  282. s//\1/
  283. q
  284. }
  285. /^X\(\/\/\)[^/].*/{
  286. s//\1/
  287. q
  288. }
  289. /^X\(\/\/\)$/{
  290. s//\1/
  291. q
  292. }
  293. /^X\(\/\).*/{
  294. s//\1/
  295. q
  296. }
  297. s/.*/./; q'`
  298. test -d "$as_dir" && break
  299. done
  300. test -z "$as_dirs" || eval "mkdir $as_dirs"
  301. } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
  302. } # as_fn_mkdir_p
  303. # as_fn_append VAR VALUE
  304. # ----------------------
  305. # Append the text in VALUE to the end of the definition contained in VAR. Take
  306. # advantage of any shell optimizations that allow amortized linear growth over
  307. # repeated appends, instead of the typical quadratic growth present in naive
  308. # implementations.
  309. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  310. eval 'as_fn_append ()
  311. {
  312. eval $1+=\$2
  313. }'
  314. else
  315. as_fn_append ()
  316. {
  317. eval $1=\$$1\$2
  318. }
  319. fi # as_fn_append
  320. # as_fn_arith ARG...
  321. # ------------------
  322. # Perform arithmetic evaluation on the ARGs, and store the result in the
  323. # global $as_val. Take advantage of shells that can avoid forks. The arguments
  324. # must be portable across $(()) and expr.
  325. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  326. eval 'as_fn_arith ()
  327. {
  328. as_val=$(( $* ))
  329. }'
  330. else
  331. as_fn_arith ()
  332. {
  333. as_val=`expr "$@" || test $? -eq 1`
  334. }
  335. fi # as_fn_arith
  336. # as_fn_error ERROR [LINENO LOG_FD]
  337. # ---------------------------------
  338. # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  339. # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  340. # script with status $?, using 1 if that was 0.
  341. as_fn_error ()
  342. {
  343. as_status=$?; test $as_status -eq 0 && as_status=1
  344. if test "$3"; then
  345. as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  346. $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
  347. fi
  348. $as_echo "$as_me: error: $1" >&2
  349. as_fn_exit $as_status
  350. } # as_fn_error
  351. if expr a : '\(a\)' >/dev/null 2>&1 &&
  352. test "X`expr 00001 : '.*\(...\)'`" = X001; then
  353. as_expr=expr
  354. else
  355. as_expr=false
  356. fi
  357. if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  358. as_basename=basename
  359. else
  360. as_basename=false
  361. fi
  362. if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  363. as_dirname=dirname
  364. else
  365. as_dirname=false
  366. fi
  367. as_me=`$as_basename -- "$0" ||
  368. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  369. X"$0" : 'X\(//\)$' \| \
  370. X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  371. $as_echo X/"$0" |
  372. sed '/^.*\/\([^/][^/]*\)\/*$/{
  373. s//\1/
  374. q
  375. }
  376. /^X\/\(\/\/\)$/{
  377. s//\1/
  378. q
  379. }
  380. /^X\/\(\/\).*/{
  381. s//\1/
  382. q
  383. }
  384. s/.*/./; q'`
  385. # Avoid depending upon Character Ranges.
  386. as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  387. as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  388. as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  389. as_cr_digits='0123456789'
  390. as_cr_alnum=$as_cr_Letters$as_cr_digits
  391. as_lineno_1=$LINENO as_lineno_1a=$LINENO
  392. as_lineno_2=$LINENO as_lineno_2a=$LINENO
  393. eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
  394. test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
  395. # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
  396. sed -n '
  397. p
  398. /[$]LINENO/=
  399. ' <$as_myself |
  400. sed '
  401. s/[$]LINENO.*/&-/
  402. t lineno
  403. b
  404. :lineno
  405. N
  406. :loop
  407. s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
  408. t loop
  409. s/-\n.*//
  410. ' >$as_me.lineno &&
  411. chmod +x "$as_me.lineno" ||
  412. { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
  413. # Don't try to exec as it changes $[0], causing all sort of problems
  414. # (the dirname of $[0] is not the place where we might find the
  415. # original and so on. Autoconf is especially sensitive to this).
  416. . "./$as_me.lineno"
  417. # Exit status is that of the last command.
  418. exit
  419. }
  420. ECHO_C= ECHO_N= ECHO_T=
  421. case `echo -n x` in #(((((
  422. -n*)
  423. case `echo 'xy\c'` in
  424. *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  425. xy) ECHO_C='\c';;
  426. *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
  427. ECHO_T=' ';;
  428. esac;;
  429. *)
  430. ECHO_N='-n';;
  431. esac
  432. rm -f conf$$ conf$$.exe conf$$.file
  433. if test -d conf$$.dir; then
  434. rm -f conf$$.dir/conf$$.file
  435. else
  436. rm -f conf$$.dir
  437. mkdir conf$$.dir 2>/dev/null
  438. fi
  439. if (echo >conf$$.file) 2>/dev/null; then
  440. if ln -s conf$$.file conf$$ 2>/dev/null; then
  441. as_ln_s='ln -s'
  442. # ... but there are two gotchas:
  443. # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  444. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  445. # In both cases, we have to default to `cp -p'.
  446. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  447. as_ln_s='cp -p'
  448. elif ln conf$$.file conf$$ 2>/dev/null; then
  449. as_ln_s=ln
  450. else
  451. as_ln_s='cp -p'
  452. fi
  453. else
  454. as_ln_s='cp -p'
  455. fi
  456. rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  457. rmdir conf$$.dir 2>/dev/null
  458. if mkdir -p . 2>/dev/null; then
  459. as_mkdir_p='mkdir -p "$as_dir"'
  460. else
  461. test -d ./-p && rmdir ./-p
  462. as_mkdir_p=false
  463. fi
  464. if test -x / >/dev/null 2>&1; then
  465. as_test_x='test -x'
  466. else
  467. if ls -dL / >/dev/null 2>&1; then
  468. as_ls_L_option=L
  469. else
  470. as_ls_L_option=
  471. fi
  472. as_test_x='
  473. eval sh -c '\''
  474. if test -d "$1"; then
  475. test -d "$1/.";
  476. else
  477. case $1 in #(
  478. -*)set "./$1";;
  479. esac;
  480. case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
  481. ???[sx]*):;;*)false;;esac;fi
  482. '\'' sh
  483. '
  484. fi
  485. as_executable_p=$as_test_x
  486. # Sed expression to map a string onto a valid CPP name.
  487. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  488. # Sed expression to map a string onto a valid variable name.
  489. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  490. SHELL=${CONFIG_SHELL-/bin/sh}
  491. exec 7<&0 </dev/null 6>&1
  492. # Name of the host.
  493. # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
  494. # so uname gets run too.
  495. ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
  496. #
  497. # Initializations.
  498. #
  499. ac_default_prefix=/usr/local
  500. ac_clean_files=
  501. ac_config_libobj_dir=.
  502. LIBOBJS=
  503. cross_compiling=no
  504. subdirs=
  505. MFLAGS=
  506. MAKEFLAGS=
  507. # Identity of this package.
  508. PACKAGE_NAME='GNU Vtable Verification Runtime Library'
  509. PACKAGE_TARNAME='libvtv'
  510. PACKAGE_VERSION='1.0'
  511. PACKAGE_STRING='GNU Vtable Verification Runtime Library 1.0'
  512. PACKAGE_BUGREPORT=''
  513. PACKAGE_URL='http://www.gnu.org/software/libvtv/'
  514. ac_unique_file="vtv_rts.h"
  515. # Factoring default headers for most tests.
  516. ac_includes_default="\
  517. #include <stdio.h>
  518. #ifdef HAVE_SYS_TYPES_H
  519. # include <sys/types.h>
  520. #endif
  521. #ifdef HAVE_SYS_STAT_H
  522. # include <sys/stat.h>
  523. #endif
  524. #ifdef STDC_HEADERS
  525. # include <stdlib.h>
  526. # include <stddef.h>
  527. #else
  528. # ifdef HAVE_STDLIB_H
  529. # include <stdlib.h>
  530. # endif
  531. #endif
  532. #ifdef HAVE_STRING_H
  533. # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  534. # include <memory.h>
  535. # endif
  536. # include <string.h>
  537. #endif
  538. #ifdef HAVE_STRINGS_H
  539. # include <strings.h>
  540. #endif
  541. #ifdef HAVE_INTTYPES_H
  542. # include <inttypes.h>
  543. #endif
  544. #ifdef HAVE_STDINT_H
  545. # include <stdint.h>
  546. #endif
  547. #ifdef HAVE_UNISTD_H
  548. # include <unistd.h>
  549. #endif"
  550. ac_subst_vars='am__EXEEXT_FALSE
  551. am__EXEEXT_TRUE
  552. LTLIBOBJS
  553. LIBOBJS
  554. VTV_CYGMIN_FALSE
  555. VTV_CYGMIN_TRUE
  556. XCFLAGS
  557. libtool_VERSION
  558. enable_static
  559. enable_shared
  560. lt_host_flags
  561. CXXCPP
  562. OTOOL64
  563. OTOOL
  564. LIPO
  565. NMEDIT
  566. DSYMUTIL
  567. OBJDUMP
  568. LN_S
  569. NM
  570. ac_ct_DUMPBIN
  571. DUMPBIN
  572. LD
  573. FGREP
  574. SED
  575. LIBTOOL
  576. RANLIB
  577. AR
  578. AS
  579. CCASFLAGS
  580. CCAS
  581. am__fastdepCXX_FALSE
  582. am__fastdepCXX_TRUE
  583. CXXDEPMODE
  584. ac_ct_CXX
  585. CXXFLAGS
  586. CXX
  587. EGREP
  588. GREP
  589. CPP
  590. am__fastdepCC_FALSE
  591. am__fastdepCC_TRUE
  592. CCDEPMODE
  593. AMDEPBACKSLASH
  594. AMDEP_FALSE
  595. AMDEP_TRUE
  596. am__quote
  597. am__include
  598. DEPDIR
  599. OBJEXT
  600. EXEEXT
  601. ac_ct_CC
  602. CPPFLAGS
  603. LDFLAGS
  604. CFLAGS
  605. CC
  606. toolexeclibdir
  607. toolexecdir
  608. toplevel_srcdir
  609. toplevel_builddir
  610. libvtv_srcdir
  611. libvtv_builddir
  612. MAINT
  613. MAINTAINER_MODE_FALSE
  614. MAINTAINER_MODE_TRUE
  615. multi_basedir
  616. am__untar
  617. am__tar
  618. AMTAR
  619. am__leading_dot
  620. SET_MAKE
  621. AWK
  622. mkdir_p
  623. MKDIR_P
  624. INSTALL_STRIP_PROGRAM
  625. STRIP
  626. install_sh
  627. MAKEINFO
  628. AUTOHEADER
  629. AUTOMAKE
  630. AUTOCONF
  631. ACLOCAL
  632. VERSION
  633. PACKAGE
  634. CYGPATH_W
  635. am__isrc
  636. INSTALL_DATA
  637. INSTALL_SCRIPT
  638. INSTALL_PROGRAM
  639. ENABLE_VTABLE_VERIFY_FALSE
  640. ENABLE_VTABLE_VERIFY_TRUE
  641. LIBSTDCXX_RAW_CXX_LDFLAGS
  642. LIBSTDCXX_RAW_CXX_CXXFLAGS
  643. target_noncanonical
  644. target_os
  645. target_vendor
  646. target_cpu
  647. target
  648. host_os
  649. host_vendor
  650. host_cpu
  651. host
  652. build_os
  653. build_vendor
  654. build_cpu
  655. build
  656. target_alias
  657. host_alias
  658. build_alias
  659. LIBS
  660. ECHO_T
  661. ECHO_N
  662. ECHO_C
  663. DEFS
  664. mandir
  665. localedir
  666. libdir
  667. psdir
  668. pdfdir
  669. dvidir
  670. htmldir
  671. infodir
  672. docdir
  673. oldincludedir
  674. includedir
  675. localstatedir
  676. sharedstatedir
  677. sysconfdir
  678. datadir
  679. datarootdir
  680. libexecdir
  681. sbindir
  682. bindir
  683. program_transform_name
  684. prefix
  685. exec_prefix
  686. PACKAGE_URL
  687. PACKAGE_BUGREPORT
  688. PACKAGE_STRING
  689. PACKAGE_VERSION
  690. PACKAGE_TARNAME
  691. PACKAGE_NAME
  692. PATH_SEPARATOR
  693. SHELL'
  694. ac_subst_files=''
  695. ac_user_opts='
  696. enable_option_checking
  697. enable_version_specific_runtime_libs
  698. enable_vtable_verify
  699. enable_multilib
  700. enable_maintainer_mode
  701. enable_dependency_tracking
  702. enable_shared
  703. enable_static
  704. with_pic
  705. enable_fast_install
  706. with_gnu_ld
  707. enable_libtool_lock
  708. '
  709. ac_precious_vars='build_alias
  710. host_alias
  711. target_alias
  712. CC
  713. CFLAGS
  714. LDFLAGS
  715. LIBS
  716. CPPFLAGS
  717. CPP
  718. CXXCPP'
  719. # Initialize some variables set by options.
  720. ac_init_help=
  721. ac_init_version=false
  722. ac_unrecognized_opts=
  723. ac_unrecognized_sep=
  724. # The variables have the same names as the options, with
  725. # dashes changed to underlines.
  726. cache_file=/dev/null
  727. exec_prefix=NONE
  728. no_create=
  729. no_recursion=
  730. prefix=NONE
  731. program_prefix=NONE
  732. program_suffix=NONE
  733. program_transform_name=s,x,x,
  734. silent=
  735. site=
  736. srcdir=
  737. verbose=
  738. x_includes=NONE
  739. x_libraries=NONE
  740. # Installation directory options.
  741. # These are left unexpanded so users can "make install exec_prefix=/foo"
  742. # and all the variables that are supposed to be based on exec_prefix
  743. # by default will actually change.
  744. # Use braces instead of parens because sh, perl, etc. also accept them.
  745. # (The list follows the same order as the GNU Coding Standards.)
  746. bindir='${exec_prefix}/bin'
  747. sbindir='${exec_prefix}/sbin'
  748. libexecdir='${exec_prefix}/libexec'
  749. datarootdir='${prefix}/share'
  750. datadir='${datarootdir}'
  751. sysconfdir='${prefix}/etc'
  752. sharedstatedir='${prefix}/com'
  753. localstatedir='${prefix}/var'
  754. includedir='${prefix}/include'
  755. oldincludedir='/usr/include'
  756. docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
  757. infodir='${datarootdir}/info'
  758. htmldir='${docdir}'
  759. dvidir='${docdir}'
  760. pdfdir='${docdir}'
  761. psdir='${docdir}'
  762. libdir='${exec_prefix}/lib'
  763. localedir='${datarootdir}/locale'
  764. mandir='${datarootdir}/man'
  765. ac_prev=
  766. ac_dashdash=
  767. for ac_option
  768. do
  769. # If the previous option needs an argument, assign it.
  770. if test -n "$ac_prev"; then
  771. eval $ac_prev=\$ac_option
  772. ac_prev=
  773. continue
  774. fi
  775. case $ac_option in
  776. *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
  777. *) ac_optarg=yes ;;
  778. esac
  779. # Accept the important Cygnus configure options, so we can diagnose typos.
  780. case $ac_dashdash$ac_option in
  781. --)
  782. ac_dashdash=yes ;;
  783. -bindir | --bindir | --bindi | --bind | --bin | --bi)
  784. ac_prev=bindir ;;
  785. -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  786. bindir=$ac_optarg ;;
  787. -build | --build | --buil | --bui | --bu)
  788. ac_prev=build_alias ;;
  789. -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  790. build_alias=$ac_optarg ;;
  791. -cache-file | --cache-file | --cache-fil | --cache-fi \
  792. | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  793. ac_prev=cache_file ;;
  794. -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  795. | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  796. cache_file=$ac_optarg ;;
  797. --config-cache | -C)
  798. cache_file=config.cache ;;
  799. -datadir | --datadir | --datadi | --datad)
  800. ac_prev=datadir ;;
  801. -datadir=* | --datadir=* | --datadi=* | --datad=*)
  802. datadir=$ac_optarg ;;
  803. -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
  804. | --dataroo | --dataro | --datar)
  805. ac_prev=datarootdir ;;
  806. -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
  807. | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
  808. datarootdir=$ac_optarg ;;
  809. -disable-* | --disable-*)
  810. ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  811. # Reject names that are not valid shell variable names.
  812. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  813. as_fn_error "invalid feature name: $ac_useropt"
  814. ac_useropt_orig=$ac_useropt
  815. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  816. case $ac_user_opts in
  817. *"
  818. "enable_$ac_useropt"
  819. "*) ;;
  820. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
  821. ac_unrecognized_sep=', ';;
  822. esac
  823. eval enable_$ac_useropt=no ;;
  824. -docdir | --docdir | --docdi | --doc | --do)
  825. ac_prev=docdir ;;
  826. -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
  827. docdir=$ac_optarg ;;
  828. -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
  829. ac_prev=dvidir ;;
  830. -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
  831. dvidir=$ac_optarg ;;
  832. -enable-* | --enable-*)
  833. ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  834. # Reject names that are not valid shell variable names.
  835. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  836. as_fn_error "invalid feature name: $ac_useropt"
  837. ac_useropt_orig=$ac_useropt
  838. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  839. case $ac_user_opts in
  840. *"
  841. "enable_$ac_useropt"
  842. "*) ;;
  843. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
  844. ac_unrecognized_sep=', ';;
  845. esac
  846. eval enable_$ac_useropt=\$ac_optarg ;;
  847. -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  848. | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  849. | --exec | --exe | --ex)
  850. ac_prev=exec_prefix ;;
  851. -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  852. | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  853. | --exec=* | --exe=* | --ex=*)
  854. exec_prefix=$ac_optarg ;;
  855. -gas | --gas | --ga | --g)
  856. # Obsolete; use --with-gas.
  857. with_gas=yes ;;
  858. -help | --help | --hel | --he | -h)
  859. ac_init_help=long ;;
  860. -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  861. ac_init_help=recursive ;;
  862. -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  863. ac_init_help=short ;;
  864. -host | --host | --hos | --ho)
  865. ac_prev=host_alias ;;
  866. -host=* | --host=* | --hos=* | --ho=*)
  867. host_alias=$ac_optarg ;;
  868. -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
  869. ac_prev=htmldir ;;
  870. -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
  871. | --ht=*)
  872. htmldir=$ac_optarg ;;
  873. -includedir | --includedir | --includedi | --included | --include \
  874. | --includ | --inclu | --incl | --inc)
  875. ac_prev=includedir ;;
  876. -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  877. | --includ=* | --inclu=* | --incl=* | --inc=*)
  878. includedir=$ac_optarg ;;
  879. -infodir | --infodir | --infodi | --infod | --info | --inf)
  880. ac_prev=infodir ;;
  881. -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  882. infodir=$ac_optarg ;;
  883. -libdir | --libdir | --libdi | --libd)
  884. ac_prev=libdir ;;
  885. -libdir=* | --libdir=* | --libdi=* | --libd=*)
  886. libdir=$ac_optarg ;;
  887. -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  888. | --libexe | --libex | --libe)
  889. ac_prev=libexecdir ;;
  890. -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  891. | --libexe=* | --libex=* | --libe=*)
  892. libexecdir=$ac_optarg ;;
  893. -localedir | --localedir | --localedi | --localed | --locale)
  894. ac_prev=localedir ;;
  895. -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
  896. localedir=$ac_optarg ;;
  897. -localstatedir | --localstatedir | --localstatedi | --localstated \
  898. | --localstate | --localstat | --localsta | --localst | --locals)
  899. ac_prev=localstatedir ;;
  900. -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  901. | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
  902. localstatedir=$ac_optarg ;;
  903. -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  904. ac_prev=mandir ;;
  905. -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  906. mandir=$ac_optarg ;;
  907. -nfp | --nfp | --nf)
  908. # Obsolete; use --without-fp.
  909. with_fp=no ;;
  910. -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  911. | --no-cr | --no-c | -n)
  912. no_create=yes ;;
  913. -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  914. | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  915. no_recursion=yes ;;
  916. -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  917. | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  918. | --oldin | --oldi | --old | --ol | --o)
  919. ac_prev=oldincludedir ;;
  920. -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  921. | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  922. | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  923. oldincludedir=$ac_optarg ;;
  924. -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  925. ac_prev=prefix ;;
  926. -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  927. prefix=$ac_optarg ;;
  928. -program-prefix | --program-prefix | --program-prefi | --program-pref \
  929. | --program-pre | --program-pr | --program-p)
  930. ac_prev=program_prefix ;;
  931. -program-prefix=* | --program-prefix=* | --program-prefi=* \
  932. | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  933. program_prefix=$ac_optarg ;;
  934. -program-suffix | --program-suffix | --program-suffi | --program-suff \
  935. | --program-suf | --program-su | --program-s)
  936. ac_prev=program_suffix ;;
  937. -program-suffix=* | --program-suffix=* | --program-suffi=* \
  938. | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  939. program_suffix=$ac_optarg ;;
  940. -program-transform-name | --program-transform-name \
  941. | --program-transform-nam | --program-transform-na \
  942. | --program-transform-n | --program-transform- \
  943. | --program-transform | --program-transfor \
  944. | --program-transfo | --program-transf \
  945. | --program-trans | --program-tran \
  946. | --progr-tra | --program-tr | --program-t)
  947. ac_prev=program_transform_name ;;
  948. -program-transform-name=* | --program-transform-name=* \
  949. | --program-transform-nam=* | --program-transform-na=* \
  950. | --program-transform-n=* | --program-transform-=* \
  951. | --program-transform=* | --program-transfor=* \
  952. | --program-transfo=* | --program-transf=* \
  953. | --program-trans=* | --program-tran=* \
  954. | --progr-tra=* | --program-tr=* | --program-t=*)
  955. program_transform_name=$ac_optarg ;;
  956. -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
  957. ac_prev=pdfdir ;;
  958. -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
  959. pdfdir=$ac_optarg ;;
  960. -psdir | --psdir | --psdi | --psd | --ps)
  961. ac_prev=psdir ;;
  962. -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
  963. psdir=$ac_optarg ;;
  964. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  965. | -silent | --silent | --silen | --sile | --sil)
  966. silent=yes ;;
  967. -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  968. ac_prev=sbindir ;;
  969. -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  970. | --sbi=* | --sb=*)
  971. sbindir=$ac_optarg ;;
  972. -sharedstatedir | --sharedstatedir | --sharedstatedi \
  973. | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  974. | --sharedst | --shareds | --shared | --share | --shar \
  975. | --sha | --sh)
  976. ac_prev=sharedstatedir ;;
  977. -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  978. | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  979. | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  980. | --sha=* | --sh=*)
  981. sharedstatedir=$ac_optarg ;;
  982. -site | --site | --sit)
  983. ac_prev=site ;;
  984. -site=* | --site=* | --sit=*)
  985. site=$ac_optarg ;;
  986. -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  987. ac_prev=srcdir ;;
  988. -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  989. srcdir=$ac_optarg ;;
  990. -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  991. | --syscon | --sysco | --sysc | --sys | --sy)
  992. ac_prev=sysconfdir ;;
  993. -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  994. | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  995. sysconfdir=$ac_optarg ;;
  996. -target | --target | --targe | --targ | --tar | --ta | --t)
  997. ac_prev=target_alias ;;
  998. -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  999. target_alias=$ac_optarg ;;
  1000. -v | -verbose | --verbose | --verbos | --verbo | --verb)
  1001. verbose=yes ;;
  1002. -version | --version | --versio | --versi | --vers | -V)
  1003. ac_init_version=: ;;
  1004. -with-* | --with-*)
  1005. ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  1006. # Reject names that are not valid shell variable names.
  1007. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1008. as_fn_error "invalid package name: $ac_useropt"
  1009. ac_useropt_orig=$ac_useropt
  1010. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1011. case $ac_user_opts in
  1012. *"
  1013. "with_$ac_useropt"
  1014. "*) ;;
  1015. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
  1016. ac_unrecognized_sep=', ';;
  1017. esac
  1018. eval with_$ac_useropt=\$ac_optarg ;;
  1019. -without-* | --without-*)
  1020. ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  1021. # Reject names that are not valid shell variable names.
  1022. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1023. as_fn_error "invalid package name: $ac_useropt"
  1024. ac_useropt_orig=$ac_useropt
  1025. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1026. case $ac_user_opts in
  1027. *"
  1028. "with_$ac_useropt"
  1029. "*) ;;
  1030. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
  1031. ac_unrecognized_sep=', ';;
  1032. esac
  1033. eval with_$ac_useropt=no ;;
  1034. --x)
  1035. # Obsolete; use --with-x.
  1036. with_x=yes ;;
  1037. -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  1038. | --x-incl | --x-inc | --x-in | --x-i)
  1039. ac_prev=x_includes ;;
  1040. -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  1041. | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  1042. x_includes=$ac_optarg ;;
  1043. -x-libraries | --x-libraries | --x-librarie | --x-librari \
  1044. | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  1045. ac_prev=x_libraries ;;
  1046. -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  1047. | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  1048. x_libraries=$ac_optarg ;;
  1049. -*) as_fn_error "unrecognized option: \`$ac_option'
  1050. Try \`$0 --help' for more information."
  1051. ;;
  1052. *=*)
  1053. ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  1054. # Reject names that are not valid shell variable names.
  1055. case $ac_envvar in #(
  1056. '' | [0-9]* | *[!_$as_cr_alnum]* )
  1057. as_fn_error "invalid variable name: \`$ac_envvar'" ;;
  1058. esac
  1059. eval $ac_envvar=\$ac_optarg
  1060. export $ac_envvar ;;
  1061. *)
  1062. # FIXME: should be removed in autoconf 3.0.
  1063. $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  1064. expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  1065. $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  1066. : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
  1067. ;;
  1068. esac
  1069. done
  1070. if test -n "$ac_prev"; then
  1071. ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  1072. as_fn_error "missing argument to $ac_option"
  1073. fi
  1074. if test -n "$ac_unrecognized_opts"; then
  1075. case $enable_option_checking in
  1076. no) ;;
  1077. fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
  1078. *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
  1079. esac
  1080. fi
  1081. # Check all directory arguments for consistency.
  1082. for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
  1083. datadir sysconfdir sharedstatedir localstatedir includedir \
  1084. oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
  1085. libdir localedir mandir
  1086. do
  1087. eval ac_val=\$$ac_var
  1088. # Remove trailing slashes.
  1089. case $ac_val in
  1090. */ )
  1091. ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
  1092. eval $ac_var=\$ac_val;;
  1093. esac
  1094. # Be sure to have absolute directory names.
  1095. case $ac_val in
  1096. [\\/$]* | ?:[\\/]* ) continue;;
  1097. NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
  1098. esac
  1099. as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
  1100. done
  1101. # There might be people who depend on the old broken behavior: `$host'
  1102. # used to hold the argument of --host etc.
  1103. # FIXME: To remove some day.
  1104. build=$build_alias
  1105. host=$host_alias
  1106. target=$target_alias
  1107. # FIXME: To remove some day.
  1108. if test "x$host_alias" != x; then
  1109. if test "x$build_alias" = x; then
  1110. cross_compiling=maybe
  1111. $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
  1112. If a cross compiler is detected then cross compile mode will be used." >&2
  1113. elif test "x$build_alias" != "x$host_alias"; then
  1114. cross_compiling=yes
  1115. fi
  1116. fi
  1117. ac_tool_prefix=
  1118. test -n "$host_alias" && ac_tool_prefix=$host_alias-
  1119. test "$silent" = yes && exec 6>/dev/null
  1120. ac_pwd=`pwd` && test -n "$ac_pwd" &&
  1121. ac_ls_di=`ls -di .` &&
  1122. ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
  1123. as_fn_error "working directory cannot be determined"
  1124. test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
  1125. as_fn_error "pwd does not report name of working directory"
  1126. # Find the source files, if location was not specified.
  1127. if test -z "$srcdir"; then
  1128. ac_srcdir_defaulted=yes
  1129. # Try the directory containing this script, then the parent directory.
  1130. ac_confdir=`$as_dirname -- "$as_myself" ||
  1131. $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1132. X"$as_myself" : 'X\(//\)[^/]' \| \
  1133. X"$as_myself" : 'X\(//\)$' \| \
  1134. X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
  1135. $as_echo X"$as_myself" |
  1136. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  1137. s//\1/
  1138. q
  1139. }
  1140. /^X\(\/\/\)[^/].*/{
  1141. s//\1/
  1142. q
  1143. }
  1144. /^X\(\/\/\)$/{
  1145. s//\1/
  1146. q
  1147. }
  1148. /^X\(\/\).*/{
  1149. s//\1/
  1150. q
  1151. }
  1152. s/.*/./; q'`
  1153. srcdir=$ac_confdir
  1154. if test ! -r "$srcdir/$ac_unique_file"; then
  1155. srcdir=..
  1156. fi
  1157. else
  1158. ac_srcdir_defaulted=no
  1159. fi
  1160. if test ! -r "$srcdir/$ac_unique_file"; then
  1161. test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
  1162. as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
  1163. fi
  1164. ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
  1165. ac_abs_confdir=`(
  1166. cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
  1167. pwd)`
  1168. # When building in place, set srcdir=.
  1169. if test "$ac_abs_confdir" = "$ac_pwd"; then
  1170. srcdir=.
  1171. fi
  1172. # Remove unnecessary trailing slashes from srcdir.
  1173. # Double slashes in file names in object file debugging info
  1174. # mess up M-x gdb in Emacs.
  1175. case $srcdir in
  1176. */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
  1177. esac
  1178. for ac_var in $ac_precious_vars; do
  1179. eval ac_env_${ac_var}_set=\${${ac_var}+set}
  1180. eval ac_env_${ac_var}_value=\$${ac_var}
  1181. eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
  1182. eval ac_cv_env_${ac_var}_value=\$${ac_var}
  1183. done
  1184. #
  1185. # Report the --help message.
  1186. #
  1187. if test "$ac_init_help" = "long"; then
  1188. # Omit some internal or obsolete options to make the list less imposing.
  1189. # This message is too long to be a string in the A/UX 3.1 sh.
  1190. cat <<_ACEOF
  1191. \`configure' configures GNU Vtable Verification Runtime Library 1.0 to adapt to many kinds of systems.
  1192. Usage: $0 [OPTION]... [VAR=VALUE]...
  1193. To assign environment variables (e.g., CC, CFLAGS...), specify them as
  1194. VAR=VALUE. See below for descriptions of some of the useful variables.
  1195. Defaults for the options are specified in brackets.
  1196. Configuration:
  1197. -h, --help display this help and exit
  1198. --help=short display options specific to this package
  1199. --help=recursive display the short help of all the included packages
  1200. -V, --version display version information and exit
  1201. -q, --quiet, --silent do not print \`checking...' messages
  1202. --cache-file=FILE cache test results in FILE [disabled]
  1203. -C, --config-cache alias for \`--cache-file=config.cache'
  1204. -n, --no-create do not create output files
  1205. --srcdir=DIR find the sources in DIR [configure dir or \`..']
  1206. Installation directories:
  1207. --prefix=PREFIX install architecture-independent files in PREFIX
  1208. [$ac_default_prefix]
  1209. --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
  1210. [PREFIX]
  1211. By default, \`make install' will install all the files in
  1212. \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
  1213. an installation prefix other than \`$ac_default_prefix' using \`--prefix',
  1214. for instance \`--prefix=\$HOME'.
  1215. For better control, use the options below.
  1216. Fine tuning of the installation directories:
  1217. --bindir=DIR user executables [EPREFIX/bin]
  1218. --sbindir=DIR system admin executables [EPREFIX/sbin]
  1219. --libexecdir=DIR program executables [EPREFIX/libexec]
  1220. --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
  1221. --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
  1222. --localstatedir=DIR modifiable single-machine data [PREFIX/var]
  1223. --libdir=DIR object code libraries [EPREFIX/lib]
  1224. --includedir=DIR C header files [PREFIX/include]
  1225. --oldincludedir=DIR C header files for non-gcc [/usr/include]
  1226. --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
  1227. --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
  1228. --infodir=DIR info documentation [DATAROOTDIR/info]
  1229. --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
  1230. --mandir=DIR man documentation [DATAROOTDIR/man]
  1231. --docdir=DIR documentation root [DATAROOTDIR/doc/libvtv]
  1232. --htmldir=DIR html documentation [DOCDIR]
  1233. --dvidir=DIR dvi documentation [DOCDIR]
  1234. --pdfdir=DIR pdf documentation [DOCDIR]
  1235. --psdir=DIR ps documentation [DOCDIR]
  1236. _ACEOF
  1237. cat <<\_ACEOF
  1238. Program names:
  1239. --program-prefix=PREFIX prepend PREFIX to installed program names
  1240. --program-suffix=SUFFIX append SUFFIX to installed program names
  1241. --program-transform-name=PROGRAM run sed PROGRAM on installed program names
  1242. System types:
  1243. --build=BUILD configure for building on BUILD [guessed]
  1244. --host=HOST cross-compile to build programs to run on HOST [BUILD]
  1245. --target=TARGET configure for building compilers for TARGET [HOST]
  1246. _ACEOF
  1247. fi
  1248. if test -n "$ac_init_help"; then
  1249. case $ac_init_help in
  1250. short | recursive ) echo "Configuration of GNU Vtable Verification Runtime Library 1.0:";;
  1251. esac
  1252. cat <<\_ACEOF
  1253. Optional Features:
  1254. --disable-option-checking ignore unrecognized --enable/--with options
  1255. --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
  1256. --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
  1257. --enable-version-specific-runtime-libs Specify that runtime libraries should be installed in a compiler-specific directory
  1258. --enable-vtable-verify Enable vtable verification feature
  1259. --enable-multilib build many library versions (default)
  1260. --enable-maintainer-mode enable make rules and dependencies not useful
  1261. (and sometimes confusing) to the casual installer
  1262. --disable-dependency-tracking speeds up one-time build
  1263. --enable-dependency-tracking do not reject slow dependency extractors
  1264. --enable-shared[=PKGS] build shared libraries [default=yes]
  1265. --enable-static[=PKGS] build static libraries [default=yes]
  1266. --enable-fast-install[=PKGS]
  1267. optimize for fast installation [default=yes]
  1268. --disable-libtool-lock avoid locking (might break parallel builds)
  1269. Optional Packages:
  1270. --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
  1271. --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
  1272. --with-pic try to use only PIC/non-PIC objects [default=use
  1273. both]
  1274. --with-gnu-ld assume the C compiler uses GNU ld [default=no]
  1275. Some influential environment variables:
  1276. CC C compiler command
  1277. CFLAGS C compiler flags
  1278. LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
  1279. nonstandard directory <lib dir>
  1280. LIBS libraries to pass to the linker, e.g. -l<library>
  1281. CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
  1282. you have headers in a nonstandard directory <include dir>
  1283. CPP C preprocessor
  1284. CXX C++ compiler command
  1285. CXXFLAGS C++ compiler flags
  1286. CXXCPP C++ preprocessor
  1287. Use these variables to override the choices made by `configure' or to help
  1288. it to find libraries and programs with nonstandard names/locations.
  1289. Report bugs to the package provider.
  1290. GNU Vtable Verification Runtime Library home page: <http://www.gnu.org/software/libvtv/>.
  1291. General help using GNU software: <http://www.gnu.org/gethelp/>.
  1292. _ACEOF
  1293. ac_status=$?
  1294. fi
  1295. if test "$ac_init_help" = "recursive"; then
  1296. # If there are subdirs, report their specific --help.
  1297. for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  1298. test -d "$ac_dir" ||
  1299. { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
  1300. continue
  1301. ac_builddir=.
  1302. case "$ac_dir" in
  1303. .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1304. *)
  1305. ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  1306. # A ".." for each directory in $ac_dir_suffix.
  1307. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  1308. case $ac_top_builddir_sub in
  1309. "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1310. *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  1311. esac ;;
  1312. esac
  1313. ac_abs_top_builddir=$ac_pwd
  1314. ac_abs_builddir=$ac_pwd$ac_dir_suffix
  1315. # for backward compatibility:
  1316. ac_top_builddir=$ac_top_build_prefix
  1317. case $srcdir in
  1318. .) # We are building in place.
  1319. ac_srcdir=.
  1320. ac_top_srcdir=$ac_top_builddir_sub
  1321. ac_abs_top_srcdir=$ac_pwd ;;
  1322. [\\/]* | ?:[\\/]* ) # Absolute name.
  1323. ac_srcdir=$srcdir$ac_dir_suffix;
  1324. ac_top_srcdir=$srcdir
  1325. ac_abs_top_srcdir=$srcdir ;;
  1326. *) # Relative name.
  1327. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  1328. ac_top_srcdir=$ac_top_build_prefix$srcdir
  1329. ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  1330. esac
  1331. ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  1332. cd "$ac_dir" || { ac_status=$?; continue; }
  1333. # Check for guested configure.
  1334. if test -f "$ac_srcdir/configure.gnu"; then
  1335. echo &&
  1336. $SHELL "$ac_srcdir/configure.gnu" --help=recursive
  1337. elif test -f "$ac_srcdir/configure"; then
  1338. echo &&
  1339. $SHELL "$ac_srcdir/configure" --help=recursive
  1340. else
  1341. $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  1342. fi || ac_status=$?
  1343. cd "$ac_pwd" || { ac_status=$?; break; }
  1344. done
  1345. fi
  1346. test -n "$ac_init_help" && exit $ac_status
  1347. if $ac_init_version; then
  1348. cat <<\_ACEOF
  1349. GNU Vtable Verification Runtime Library configure 1.0
  1350. generated by GNU Autoconf 2.64
  1351. Copyright (C) 2009 Free Software Foundation, Inc.
  1352. This configure script is free software; the Free Software Foundation
  1353. gives unlimited permission to copy, distribute and modify it.
  1354. _ACEOF
  1355. exit
  1356. fi
  1357. ## ------------------------ ##
  1358. ## Autoconf initialization. ##
  1359. ## ------------------------ ##
  1360. # ac_fn_c_try_compile LINENO
  1361. # --------------------------
  1362. # Try to compile conftest.$ac_ext, and return whether this succeeded.
  1363. ac_fn_c_try_compile ()
  1364. {
  1365. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1366. rm -f conftest.$ac_objext
  1367. if { { ac_try="$ac_compile"
  1368. case "(($ac_try" in
  1369. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1370. *) ac_try_echo=$ac_try;;
  1371. esac
  1372. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1373. $as_echo "$ac_try_echo"; } >&5
  1374. (eval "$ac_compile") 2>conftest.err
  1375. ac_status=$?
  1376. if test -s conftest.err; then
  1377. grep -v '^ *+' conftest.err >conftest.er1
  1378. cat conftest.er1 >&5
  1379. mv -f conftest.er1 conftest.err
  1380. fi
  1381. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1382. test $ac_status = 0; } && {
  1383. test -z "$ac_c_werror_flag" ||
  1384. test ! -s conftest.err
  1385. } && test -s conftest.$ac_objext; then :
  1386. ac_retval=0
  1387. else
  1388. $as_echo "$as_me: failed program was:" >&5
  1389. sed 's/^/| /' conftest.$ac_ext >&5
  1390. ac_retval=1
  1391. fi
  1392. eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  1393. return $ac_retval
  1394. } # ac_fn_c_try_compile
  1395. # ac_fn_c_try_cpp LINENO
  1396. # ----------------------
  1397. # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
  1398. ac_fn_c_try_cpp ()
  1399. {
  1400. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1401. if { { ac_try="$ac_cpp conftest.$ac_ext"
  1402. case "(($ac_try" in
  1403. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1404. *) ac_try_echo=$ac_try;;
  1405. esac
  1406. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1407. $as_echo "$ac_try_echo"; } >&5
  1408. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
  1409. ac_status=$?
  1410. if test -s conftest.err; then
  1411. grep -v '^ *+' conftest.err >conftest.er1
  1412. cat conftest.er1 >&5
  1413. mv -f conftest.er1 conftest.err
  1414. fi
  1415. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1416. test $ac_status = 0; } >/dev/null && {
  1417. test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  1418. test ! -s conftest.err
  1419. }; then :
  1420. ac_retval=0
  1421. else
  1422. $as_echo "$as_me: failed program was:" >&5
  1423. sed 's/^/| /' conftest.$ac_ext >&5
  1424. ac_retval=1
  1425. fi
  1426. eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  1427. return $ac_retval
  1428. } # ac_fn_c_try_cpp
  1429. # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
  1430. # -------------------------------------------------------
  1431. # Tests whether HEADER exists, giving a warning if it cannot be compiled using
  1432. # the include files in INCLUDES and setting the cache variable VAR
  1433. # accordingly.
  1434. ac_fn_c_check_header_mongrel ()
  1435. {
  1436. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1437. if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
  1438. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1439. $as_echo_n "checking for $2... " >&6; }
  1440. if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
  1441. $as_echo_n "(cached) " >&6
  1442. fi
  1443. eval ac_res=\$$3
  1444. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1445. $as_echo "$ac_res" >&6; }
  1446. else
  1447. # Is the header compilable?
  1448. { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
  1449. $as_echo_n "checking $2 usability... " >&6; }
  1450. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1451. /* end confdefs.h. */
  1452. $4
  1453. #include <$2>
  1454. _ACEOF
  1455. if ac_fn_c_try_compile "$LINENO"; then :
  1456. ac_header_compiler=yes
  1457. else
  1458. ac_header_compiler=no
  1459. fi
  1460. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1461. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
  1462. $as_echo "$ac_header_compiler" >&6; }
  1463. # Is the header present?
  1464. { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
  1465. $as_echo_n "checking $2 presence... " >&6; }
  1466. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1467. /* end confdefs.h. */
  1468. #include <$2>
  1469. _ACEOF
  1470. if ac_fn_c_try_cpp "$LINENO"; then :
  1471. ac_header_preproc=yes
  1472. else
  1473. ac_header_preproc=no
  1474. fi
  1475. rm -f conftest.err conftest.$ac_ext
  1476. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
  1477. $as_echo "$ac_header_preproc" >&6; }
  1478. # So? What about this header?
  1479. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
  1480. yes:no: )
  1481. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
  1482. $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
  1483. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
  1484. $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
  1485. ;;
  1486. no:yes:* )
  1487. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
  1488. $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
  1489. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
  1490. $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
  1491. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
  1492. $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
  1493. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
  1494. $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
  1495. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
  1496. $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
  1497. ;;
  1498. esac
  1499. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1500. $as_echo_n "checking for $2... " >&6; }
  1501. if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
  1502. $as_echo_n "(cached) " >&6
  1503. else
  1504. eval "$3=\$ac_header_compiler"
  1505. fi
  1506. eval ac_res=\$$3
  1507. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1508. $as_echo "$ac_res" >&6; }
  1509. fi
  1510. eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  1511. } # ac_fn_c_check_header_mongrel
  1512. # ac_fn_c_try_run LINENO
  1513. # ----------------------
  1514. # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
  1515. # that executables *can* be run.
  1516. ac_fn_c_try_run ()
  1517. {
  1518. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1519. if { { ac_try="$ac_link"
  1520. case "(($ac_try" in
  1521. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1522. *) ac_try_echo=$ac_try;;
  1523. esac
  1524. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1525. $as_echo "$ac_try_echo"; } >&5
  1526. (eval "$ac_link") 2>&5
  1527. ac_status=$?
  1528. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1529. test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
  1530. { { case "(($ac_try" in
  1531. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1532. *) ac_try_echo=$ac_try;;
  1533. esac
  1534. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1535. $as_echo "$ac_try_echo"; } >&5
  1536. (eval "$ac_try") 2>&5
  1537. ac_status=$?
  1538. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1539. test $ac_status = 0; }; }; then :
  1540. ac_retval=0
  1541. else
  1542. $as_echo "$as_me: program exited with status $ac_status" >&5
  1543. $as_echo "$as_me: failed program was:" >&5
  1544. sed 's/^/| /' conftest.$ac_ext >&5
  1545. ac_retval=$ac_status
  1546. fi
  1547. rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  1548. eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  1549. return $ac_retval
  1550. } # ac_fn_c_try_run
  1551. # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
  1552. # -------------------------------------------------------
  1553. # Tests whether HEADER exists and can be compiled using the include files in
  1554. # INCLUDES, setting the cache variable VAR accordingly.
  1555. ac_fn_c_check_header_compile ()
  1556. {
  1557. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1558. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1559. $as_echo_n "checking for $2... " >&6; }
  1560. if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
  1561. $as_echo_n "(cached) " >&6
  1562. else
  1563. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1564. /* end confdefs.h. */
  1565. $4
  1566. #include <$2>
  1567. _ACEOF
  1568. if ac_fn_c_try_compile "$LINENO"; then :
  1569. eval "$3=yes"
  1570. else
  1571. eval "$3=no"
  1572. fi
  1573. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1574. fi
  1575. eval ac_res=\$$3
  1576. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1577. $as_echo "$ac_res" >&6; }
  1578. eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  1579. } # ac_fn_c_check_header_compile
  1580. # ac_fn_c_try_link LINENO
  1581. # -----------------------
  1582. # Try to link conftest.$ac_ext, and return whether this succeeded.
  1583. ac_fn_c_try_link ()
  1584. {
  1585. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1586. rm -f conftest.$ac_objext conftest$ac_exeext
  1587. if { { ac_try="$ac_link"
  1588. case "(($ac_try" in
  1589. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1590. *) ac_try_echo=$ac_try;;
  1591. esac
  1592. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1593. $as_echo "$ac_try_echo"; } >&5
  1594. (eval "$ac_link") 2>conftest.err
  1595. ac_status=$?
  1596. if test -s conftest.err; then
  1597. grep -v '^ *+' conftest.err >conftest.er1
  1598. cat conftest.er1 >&5
  1599. mv -f conftest.er1 conftest.err
  1600. fi
  1601. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1602. test $ac_status = 0; } && {
  1603. test -z "$ac_c_werror_flag" ||
  1604. test ! -s conftest.err
  1605. } && test -s conftest$ac_exeext && {
  1606. test "$cross_compiling" = yes ||
  1607. $as_test_x conftest$ac_exeext
  1608. }; then :
  1609. ac_retval=0
  1610. else
  1611. $as_echo "$as_me: failed program was:" >&5
  1612. sed 's/^/| /' conftest.$ac_ext >&5
  1613. ac_retval=1
  1614. fi
  1615. # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
  1616. # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
  1617. # interfere with the next link command; also delete a directory that is
  1618. # left behind by Apple's compiler. We do this before executing the actions.
  1619. rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  1620. eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  1621. return $ac_retval
  1622. } # ac_fn_c_try_link
  1623. # ac_fn_c_check_func LINENO FUNC VAR
  1624. # ----------------------------------
  1625. # Tests whether FUNC exists, setting the cache variable VAR accordingly
  1626. ac_fn_c_check_func ()
  1627. {
  1628. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1629. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1630. $as_echo_n "checking for $2... " >&6; }
  1631. if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
  1632. $as_echo_n "(cached) " >&6
  1633. else
  1634. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1635. /* end confdefs.h. */
  1636. /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
  1637. For example, HP-UX 11i <limits.h> declares gettimeofday. */
  1638. #define $2 innocuous_$2
  1639. /* System header to define __stub macros and hopefully few prototypes,
  1640. which can conflict with char $2 (); below.
  1641. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  1642. <limits.h> exists even on freestanding compilers. */
  1643. #ifdef __STDC__
  1644. # include <limits.h>
  1645. #else
  1646. # include <assert.h>
  1647. #endif
  1648. #undef $2
  1649. /* Override any GCC internal prototype to avoid an error.
  1650. Use char because int might match the return type of a GCC
  1651. builtin and then its argument prototype would still apply. */
  1652. #ifdef __cplusplus
  1653. extern "C"
  1654. #endif
  1655. char $2 ();
  1656. /* The GNU C library defines this for functions which it implements
  1657. to always fail with ENOSYS. Some functions are actually named
  1658. something starting with __ and the normal name is an alias. */
  1659. #if defined __stub_$2 || defined __stub___$2
  1660. choke me
  1661. #endif
  1662. int
  1663. main ()
  1664. {
  1665. return $2 ();
  1666. ;
  1667. return 0;
  1668. }
  1669. _ACEOF
  1670. if ac_fn_c_try_link "$LINENO"; then :
  1671. eval "$3=yes"
  1672. else
  1673. eval "$3=no"
  1674. fi
  1675. rm -f core conftest.err conftest.$ac_objext \
  1676. conftest$ac_exeext conftest.$ac_ext
  1677. fi
  1678. eval ac_res=\$$3
  1679. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1680. $as_echo "$ac_res" >&6; }
  1681. eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  1682. } # ac_fn_c_check_func
  1683. # ac_fn_cxx_try_compile LINENO
  1684. # ----------------------------
  1685. # Try to compile conftest.$ac_ext, and return whether this succeeded.
  1686. ac_fn_cxx_try_compile ()
  1687. {
  1688. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1689. rm -f conftest.$ac_objext
  1690. if { { ac_try="$ac_compile"
  1691. case "(($ac_try" in
  1692. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1693. *) ac_try_echo=$ac_try;;
  1694. esac
  1695. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1696. $as_echo "$ac_try_echo"; } >&5
  1697. (eval "$ac_compile") 2>conftest.err
  1698. ac_status=$?
  1699. if test -s conftest.err; then
  1700. grep -v '^ *+' conftest.err >conftest.er1
  1701. cat conftest.er1 >&5
  1702. mv -f conftest.er1 conftest.err
  1703. fi
  1704. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1705. test $ac_status = 0; } && {
  1706. test -z "$ac_cxx_werror_flag" ||
  1707. test ! -s conftest.err
  1708. } && test -s conftest.$ac_objext; then :
  1709. ac_retval=0
  1710. else
  1711. $as_echo "$as_me: failed program was:" >&5
  1712. sed 's/^/| /' conftest.$ac_ext >&5
  1713. ac_retval=1
  1714. fi
  1715. eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  1716. return $ac_retval
  1717. } # ac_fn_cxx_try_compile
  1718. # ac_fn_cxx_try_cpp LINENO
  1719. # ------------------------
  1720. # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
  1721. ac_fn_cxx_try_cpp ()
  1722. {
  1723. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1724. if { { ac_try="$ac_cpp conftest.$ac_ext"
  1725. case "(($ac_try" in
  1726. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1727. *) ac_try_echo=$ac_try;;
  1728. esac
  1729. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1730. $as_echo "$ac_try_echo"; } >&5
  1731. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
  1732. ac_status=$?
  1733. if test -s conftest.err; then
  1734. grep -v '^ *+' conftest.err >conftest.er1
  1735. cat conftest.er1 >&5
  1736. mv -f conftest.er1 conftest.err
  1737. fi
  1738. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1739. test $ac_status = 0; } >/dev/null && {
  1740. test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
  1741. test ! -s conftest.err
  1742. }; then :
  1743. ac_retval=0
  1744. else
  1745. $as_echo "$as_me: failed program was:" >&5
  1746. sed 's/^/| /' conftest.$ac_ext >&5
  1747. ac_retval=1
  1748. fi
  1749. eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  1750. return $ac_retval
  1751. } # ac_fn_cxx_try_cpp
  1752. # ac_fn_cxx_try_link LINENO
  1753. # -------------------------
  1754. # Try to link conftest.$ac_ext, and return whether this succeeded.
  1755. ac_fn_cxx_try_link ()
  1756. {
  1757. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1758. rm -f conftest.$ac_objext conftest$ac_exeext
  1759. if { { ac_try="$ac_link"
  1760. case "(($ac_try" in
  1761. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1762. *) ac_try_echo=$ac_try;;
  1763. esac
  1764. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1765. $as_echo "$ac_try_echo"; } >&5
  1766. (eval "$ac_link") 2>conftest.err
  1767. ac_status=$?
  1768. if test -s conftest.err; then
  1769. grep -v '^ *+' conftest.err >conftest.er1
  1770. cat conftest.er1 >&5
  1771. mv -f conftest.er1 conftest.err
  1772. fi
  1773. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1774. test $ac_status = 0; } && {
  1775. test -z "$ac_cxx_werror_flag" ||
  1776. test ! -s conftest.err
  1777. } && test -s conftest$ac_exeext && {
  1778. test "$cross_compiling" = yes ||
  1779. $as_test_x conftest$ac_exeext
  1780. }; then :
  1781. ac_retval=0
  1782. else
  1783. $as_echo "$as_me: failed program was:" >&5
  1784. sed 's/^/| /' conftest.$ac_ext >&5
  1785. ac_retval=1
  1786. fi
  1787. # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
  1788. # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
  1789. # interfere with the next link command; also delete a directory that is
  1790. # left behind by Apple's compiler. We do this before executing the actions.
  1791. rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  1792. eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  1793. return $ac_retval
  1794. } # ac_fn_cxx_try_link
  1795. cat >config.log <<_ACEOF
  1796. This file contains any messages produced by compilers while
  1797. running configure, to aid debugging if configure makes a mistake.
  1798. It was created by GNU Vtable Verification Runtime Library $as_me 1.0, which was
  1799. generated by GNU Autoconf 2.64. Invocation command line was
  1800. $ $0 $@
  1801. _ACEOF
  1802. exec 5>>config.log
  1803. {
  1804. cat <<_ASUNAME
  1805. ## --------- ##
  1806. ## Platform. ##
  1807. ## --------- ##
  1808. hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  1809. uname -m = `(uname -m) 2>/dev/null || echo unknown`
  1810. uname -r = `(uname -r) 2>/dev/null || echo unknown`
  1811. uname -s = `(uname -s) 2>/dev/null || echo unknown`
  1812. uname -v = `(uname -v) 2>/dev/null || echo unknown`
  1813. /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  1814. /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
  1815. /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
  1816. /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
  1817. /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  1818. /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
  1819. /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
  1820. /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
  1821. /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
  1822. _ASUNAME
  1823. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1824. for as_dir in $PATH
  1825. do
  1826. IFS=$as_save_IFS
  1827. test -z "$as_dir" && as_dir=.
  1828. $as_echo "PATH: $as_dir"
  1829. done
  1830. IFS=$as_save_IFS
  1831. } >&5
  1832. cat >&5 <<_ACEOF
  1833. ## ----------- ##
  1834. ## Core tests. ##
  1835. ## ----------- ##
  1836. _ACEOF
  1837. # Keep a trace of the command line.
  1838. # Strip out --no-create and --no-recursion so they do not pile up.
  1839. # Strip out --silent because we don't want to record it for future runs.
  1840. # Also quote any args containing shell meta-characters.
  1841. # Make two passes to allow for proper duplicate-argument suppression.
  1842. ac_configure_args=
  1843. ac_configure_args0=
  1844. ac_configure_args1=
  1845. ac_must_keep_next=false
  1846. for ac_pass in 1 2
  1847. do
  1848. for ac_arg
  1849. do
  1850. case $ac_arg in
  1851. -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  1852. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1853. | -silent | --silent | --silen | --sile | --sil)
  1854. continue ;;
  1855. *\'*)
  1856. ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  1857. esac
  1858. case $ac_pass in
  1859. 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
  1860. 2)
  1861. as_fn_append ac_configure_args1 " '$ac_arg'"
  1862. if test $ac_must_keep_next = true; then
  1863. ac_must_keep_next=false # Got value, back to normal.
  1864. else
  1865. case $ac_arg in
  1866. *=* | --config-cache | -C | -disable-* | --disable-* \
  1867. | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
  1868. | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
  1869. | -with-* | --with-* | -without-* | --without-* | --x)
  1870. case "$ac_configure_args0 " in
  1871. "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  1872. esac
  1873. ;;
  1874. -* ) ac_must_keep_next=true ;;
  1875. esac
  1876. fi
  1877. as_fn_append ac_configure_args " '$ac_arg'"
  1878. ;;
  1879. esac
  1880. done
  1881. done
  1882. { ac_configure_args0=; unset ac_configure_args0;}
  1883. { ac_configure_args1=; unset ac_configure_args1;}
  1884. # When interrupted or exit'd, cleanup temporary files, and complete
  1885. # config.log. We remove comments because anyway the quotes in there
  1886. # would cause problems or look ugly.
  1887. # WARNING: Use '\'' to represent an apostrophe within the trap.
  1888. # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
  1889. trap 'exit_status=$?
  1890. # Save into config.log some information that might help in debugging.
  1891. {
  1892. echo
  1893. cat <<\_ASBOX
  1894. ## ---------------- ##
  1895. ## Cache variables. ##
  1896. ## ---------------- ##
  1897. _ASBOX
  1898. echo
  1899. # The following way of writing the cache mishandles newlines in values,
  1900. (
  1901. for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
  1902. eval ac_val=\$$ac_var
  1903. case $ac_val in #(
  1904. *${as_nl}*)
  1905. case $ac_var in #(
  1906. *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  1907. $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  1908. esac
  1909. case $ac_var in #(
  1910. _ | IFS | as_nl) ;; #(
  1911. BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  1912. *) { eval $ac_var=; unset $ac_var;} ;;
  1913. esac ;;
  1914. esac
  1915. done
  1916. (set) 2>&1 |
  1917. case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
  1918. *${as_nl}ac_space=\ *)
  1919. sed -n \
  1920. "s/'\''/'\''\\\\'\'''\''/g;
  1921. s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
  1922. ;; #(
  1923. *)
  1924. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  1925. ;;
  1926. esac |
  1927. sort
  1928. )
  1929. echo
  1930. cat <<\_ASBOX
  1931. ## ----------------- ##
  1932. ## Output variables. ##
  1933. ## ----------------- ##
  1934. _ASBOX
  1935. echo
  1936. for ac_var in $ac_subst_vars
  1937. do
  1938. eval ac_val=\$$ac_var
  1939. case $ac_val in
  1940. *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  1941. esac
  1942. $as_echo "$ac_var='\''$ac_val'\''"
  1943. done | sort
  1944. echo
  1945. if test -n "$ac_subst_files"; then
  1946. cat <<\_ASBOX
  1947. ## ------------------- ##
  1948. ## File substitutions. ##
  1949. ## ------------------- ##
  1950. _ASBOX
  1951. echo
  1952. for ac_var in $ac_subst_files
  1953. do
  1954. eval ac_val=\$$ac_var
  1955. case $ac_val in
  1956. *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  1957. esac
  1958. $as_echo "$ac_var='\''$ac_val'\''"
  1959. done | sort
  1960. echo
  1961. fi
  1962. if test -s confdefs.h; then
  1963. cat <<\_ASBOX
  1964. ## ----------- ##
  1965. ## confdefs.h. ##
  1966. ## ----------- ##
  1967. _ASBOX
  1968. echo
  1969. cat confdefs.h
  1970. echo
  1971. fi
  1972. test "$ac_signal" != 0 &&
  1973. $as_echo "$as_me: caught signal $ac_signal"
  1974. $as_echo "$as_me: exit $exit_status"
  1975. } >&5
  1976. rm -f core *.core core.conftest.* &&
  1977. rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
  1978. exit $exit_status
  1979. ' 0
  1980. for ac_signal in 1 2 13 15; do
  1981. trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
  1982. done
  1983. ac_signal=0
  1984. # confdefs.h avoids OS command line length limits that DEFS can exceed.
  1985. rm -f -r conftest* confdefs.h
  1986. $as_echo "/* confdefs.h */" > confdefs.h
  1987. # Predefined preprocessor variables.
  1988. cat >>confdefs.h <<_ACEOF
  1989. #define PACKAGE_NAME "$PACKAGE_NAME"
  1990. _ACEOF
  1991. cat >>confdefs.h <<_ACEOF
  1992. #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  1993. _ACEOF
  1994. cat >>confdefs.h <<_ACEOF
  1995. #define PACKAGE_VERSION "$PACKAGE_VERSION"
  1996. _ACEOF
  1997. cat >>confdefs.h <<_ACEOF
  1998. #define PACKAGE_STRING "$PACKAGE_STRING"
  1999. _ACEOF
  2000. cat >>confdefs.h <<_ACEOF
  2001. #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  2002. _ACEOF
  2003. cat >>confdefs.h <<_ACEOF
  2004. #define PACKAGE_URL "$PACKAGE_URL"
  2005. _ACEOF
  2006. # Let the site file select an alternate cache file if it wants to.
  2007. # Prefer an explicitly selected file to automatically selected ones.
  2008. ac_site_file1=NONE
  2009. ac_site_file2=NONE
  2010. if test -n "$CONFIG_SITE"; then
  2011. ac_site_file1=$CONFIG_SITE
  2012. elif test "x$prefix" != xNONE; then
  2013. ac_site_file1=$prefix/share/config.site
  2014. ac_site_file2=$prefix/etc/config.site
  2015. else
  2016. ac_site_file1=$ac_default_prefix/share/config.site
  2017. ac_site_file2=$ac_default_prefix/etc/config.site
  2018. fi
  2019. for ac_site_file in "$ac_site_file1" "$ac_site_file2"
  2020. do
  2021. test "x$ac_site_file" = xNONE && continue
  2022. if test -r "$ac_site_file"; then
  2023. { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
  2024. $as_echo "$as_me: loading site script $ac_site_file" >&6;}
  2025. sed 's/^/| /' "$ac_site_file" >&5
  2026. . "$ac_site_file"
  2027. fi
  2028. done
  2029. if test -r "$cache_file"; then
  2030. # Some versions of bash will fail to source /dev/null (special
  2031. # files actually), so we avoid doing that.
  2032. if test -f "$cache_file"; then
  2033. { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
  2034. $as_echo "$as_me: loading cache $cache_file" >&6;}
  2035. case $cache_file in
  2036. [\\/]* | ?:[\\/]* ) . "$cache_file";;
  2037. *) . "./$cache_file";;
  2038. esac
  2039. fi
  2040. else
  2041. { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
  2042. $as_echo "$as_me: creating cache $cache_file" >&6;}
  2043. >$cache_file
  2044. fi
  2045. # Check that the precious variables saved in the cache have kept the same
  2046. # value.
  2047. ac_cache_corrupted=false
  2048. for ac_var in $ac_precious_vars; do
  2049. eval ac_old_set=\$ac_cv_env_${ac_var}_set
  2050. eval ac_new_set=\$ac_env_${ac_var}_set
  2051. eval ac_old_val=\$ac_cv_env_${ac_var}_value
  2052. eval ac_new_val=\$ac_env_${ac_var}_value
  2053. case $ac_old_set,$ac_new_set in
  2054. set,)
  2055. { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  2056. $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  2057. ac_cache_corrupted=: ;;
  2058. ,set)
  2059. { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
  2060. $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  2061. ac_cache_corrupted=: ;;
  2062. ,);;
  2063. *)
  2064. if test "x$ac_old_val" != "x$ac_new_val"; then
  2065. # differences in whitespace do not lead to failure.
  2066. ac_old_val_w=`echo x $ac_old_val`
  2067. ac_new_val_w=`echo x $ac_new_val`
  2068. if test "$ac_old_val_w" != "$ac_new_val_w"; then
  2069. { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
  2070. $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  2071. ac_cache_corrupted=:
  2072. else
  2073. { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
  2074. $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
  2075. eval $ac_var=\$ac_old_val
  2076. fi
  2077. { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
  2078. $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
  2079. { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
  2080. $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
  2081. fi;;
  2082. esac
  2083. # Pass precious variables to config.status.
  2084. if test "$ac_new_set" = set; then
  2085. case $ac_new_val in
  2086. *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  2087. *) ac_arg=$ac_var=$ac_new_val ;;
  2088. esac
  2089. case " $ac_configure_args " in
  2090. *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
  2091. *) as_fn_append ac_configure_args " '$ac_arg'" ;;
  2092. esac
  2093. fi
  2094. done
  2095. if $ac_cache_corrupted; then
  2096. { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  2097. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2098. { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
  2099. $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  2100. as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
  2101. fi
  2102. ## -------------------- ##
  2103. ## Main body of script. ##
  2104. ## -------------------- ##
  2105. ac_ext=c
  2106. ac_cpp='$CPP $CPPFLAGS'
  2107. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2108. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2109. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2110. #AC_INIT(package-unused, version-unused, libvtv)
  2111. # -------
  2112. # Options
  2113. # -------
  2114. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
  2115. $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
  2116. # Check whether --enable-version-specific-runtime-libs was given.
  2117. if test "${enable_version_specific_runtime_libs+set}" = set; then :
  2118. enableval=$enable_version_specific_runtime_libs; case "$enableval" in
  2119. yes) version_specific_libs=yes ;;
  2120. no) version_specific_libs=no ;;
  2121. *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
  2122. esac
  2123. else
  2124. version_specific_libs=no
  2125. fi
  2126. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
  2127. $as_echo "$version_specific_libs" >&6; }
  2128. # Do not delete or change the following two lines. For why, see
  2129. # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
  2130. ac_aux_dir=
  2131. for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
  2132. for ac_t in install-sh install.sh shtool; do
  2133. if test -f "$ac_dir/$ac_t"; then
  2134. ac_aux_dir=$ac_dir
  2135. ac_install_sh="$ac_aux_dir/$ac_t -c"
  2136. break 2
  2137. fi
  2138. done
  2139. done
  2140. if test -z "$ac_aux_dir"; then
  2141. as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
  2142. fi
  2143. # These three variables are undocumented and unsupported,
  2144. # and are intended to be withdrawn in a future Autoconf release.
  2145. # They can cause serious problems if a builder's source tree is in a directory
  2146. # whose full name contains unusual characters.
  2147. ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
  2148. ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
  2149. ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
  2150. # Make sure we can run config.sub.
  2151. $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
  2152. as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
  2153. { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
  2154. $as_echo_n "checking build system type... " >&6; }
  2155. if test "${ac_cv_build+set}" = set; then :
  2156. $as_echo_n "(cached) " >&6
  2157. else
  2158. ac_build_alias=$build_alias
  2159. test "x$ac_build_alias" = x &&
  2160. ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
  2161. test "x$ac_build_alias" = x &&
  2162. as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
  2163. ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
  2164. as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
  2165. fi
  2166. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
  2167. $as_echo "$ac_cv_build" >&6; }
  2168. case $ac_cv_build in
  2169. *-*-*) ;;
  2170. *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
  2171. esac
  2172. build=$ac_cv_build
  2173. ac_save_IFS=$IFS; IFS='-'
  2174. set x $ac_cv_build
  2175. shift
  2176. build_cpu=$1
  2177. build_vendor=$2
  2178. shift; shift
  2179. # Remember, the first character of IFS is used to create $*,
  2180. # except with old shells:
  2181. build_os=$*
  2182. IFS=$ac_save_IFS
  2183. case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
  2184. { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
  2185. $as_echo_n "checking host system type... " >&6; }
  2186. if test "${ac_cv_host+set}" = set; then :
  2187. $as_echo_n "(cached) " >&6
  2188. else
  2189. if test "x$host_alias" = x; then
  2190. ac_cv_host=$ac_cv_build
  2191. else
  2192. ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
  2193. as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
  2194. fi
  2195. fi
  2196. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
  2197. $as_echo "$ac_cv_host" >&6; }
  2198. case $ac_cv_host in
  2199. *-*-*) ;;
  2200. *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
  2201. esac
  2202. host=$ac_cv_host
  2203. ac_save_IFS=$IFS; IFS='-'
  2204. set x $ac_cv_host
  2205. shift
  2206. host_cpu=$1
  2207. host_vendor=$2
  2208. shift; shift
  2209. # Remember, the first character of IFS is used to create $*,
  2210. # except with old shells:
  2211. host_os=$*
  2212. IFS=$ac_save_IFS
  2213. case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
  2214. { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
  2215. $as_echo_n "checking target system type... " >&6; }
  2216. if test "${ac_cv_target+set}" = set; then :
  2217. $as_echo_n "(cached) " >&6
  2218. else
  2219. if test "x$target_alias" = x; then
  2220. ac_cv_target=$ac_cv_host
  2221. else
  2222. ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
  2223. as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
  2224. fi
  2225. fi
  2226. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
  2227. $as_echo "$ac_cv_target" >&6; }
  2228. case $ac_cv_target in
  2229. *-*-*) ;;
  2230. *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
  2231. esac
  2232. target=$ac_cv_target
  2233. ac_save_IFS=$IFS; IFS='-'
  2234. set x $ac_cv_target
  2235. shift
  2236. target_cpu=$1
  2237. target_vendor=$2
  2238. shift; shift
  2239. # Remember, the first character of IFS is used to create $*,
  2240. # except with old shells:
  2241. target_os=$*
  2242. IFS=$ac_save_IFS
  2243. case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
  2244. # The aliases save the names the user supplied, while $host etc.
  2245. # will get canonicalized.
  2246. test -n "$target_alias" &&
  2247. test "$program_prefix$program_suffix$program_transform_name" = \
  2248. NONENONEs,x,x, &&
  2249. program_prefix=${target_alias}-
  2250. target_alias=${target_alias-$host_alias}
  2251. case ${build_alias} in
  2252. "") build_noncanonical=${build} ;;
  2253. *) build_noncanonical=${build_alias} ;;
  2254. esac
  2255. case ${host_alias} in
  2256. "") host_noncanonical=${build_noncanonical} ;;
  2257. *) host_noncanonical=${host_alias} ;;
  2258. esac
  2259. case ${target_alias} in
  2260. "") target_noncanonical=${host_noncanonical} ;;
  2261. *) target_noncanonical=${target_alias} ;;
  2262. esac
  2263. LIBSTDCXX_RAW_CXX_CXXFLAGS="\
  2264. -I\$(top_builddir)/../libstdc++-v3/include \
  2265. -I\$(top_builddir)/../libstdc++-v3/include/\$(target_noncanonical) \
  2266. -I\$(top_srcdir)/../libstdc++-v3/libsupc++"
  2267. LIBSTDCXX_RAW_CXX_LDFLAGS="\
  2268. \$(top_builddir)/../libstdc++-v3/src/libstdc++.la"
  2269. # Use same top-level configure hooks in libgcc/libstdc++/libvtv.
  2270. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-vtable-verify" >&5
  2271. $as_echo_n "checking for --enable-vtable-verify... " >&6; }
  2272. # Check whether --enable-vtable-verify was given.
  2273. if test "${enable_vtable_verify+set}" = set; then :
  2274. enableval=$enable_vtable_verify; case "$enableval" in
  2275. yes) enable_vtable_verify=yes ;;
  2276. no) enable_vtable_verify=no ;;
  2277. *) enable_vtable_verify=no;;
  2278. esac
  2279. else
  2280. enable_vtable_verify=no
  2281. fi
  2282. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
  2283. $as_echo "$enable_vtable_verify" >&6; }
  2284. # See if supported.
  2285. unset VTV_SUPPORTED
  2286. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for host support for vtable verification" >&5
  2287. $as_echo_n "checking for host support for vtable verification... " >&6; }
  2288. . ${srcdir}/configure.tgt
  2289. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VTV_SUPPORTED" >&5
  2290. $as_echo "$VTV_SUPPORTED" >&6; }
  2291. # Decide if it's usable.
  2292. use_vtable_verify=no
  2293. if test "x$VTV_SUPPORTED" = "xyes"; then
  2294. if test "x$enable_vtable_verify" = "xyes"; then
  2295. use_vtable_verify=yes
  2296. { $as_echo "$as_me:${as_lineno-$LINENO}: using vtable verification" >&5
  2297. $as_echo "$as_me: using vtable verification" >&6;}
  2298. fi
  2299. fi
  2300. if test $use_vtable_verify = yes; then
  2301. ENABLE_VTABLE_VERIFY_TRUE=
  2302. ENABLE_VTABLE_VERIFY_FALSE='#'
  2303. else
  2304. ENABLE_VTABLE_VERIFY_TRUE='#'
  2305. ENABLE_VTABLE_VERIFY_FALSE=
  2306. fi
  2307. am__api_version='1.11'
  2308. # Find a good install program. We prefer a C program (faster),
  2309. # so one script is as good as another. But avoid the broken or
  2310. # incompatible versions:
  2311. # SysV /etc/install, /usr/sbin/install
  2312. # SunOS /usr/etc/install
  2313. # IRIX /sbin/install
  2314. # AIX /bin/install
  2315. # AmigaOS /C/install, which installs bootblocks on floppy discs
  2316. # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
  2317. # AFS /usr/afsws/bin/install, which mishandles nonexistent args
  2318. # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  2319. # OS/2's system install, which has a completely different semantic
  2320. # ./install, which can be erroneously created by make from ./install.sh.
  2321. # Reject install programs that cannot install multiple files.
  2322. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
  2323. $as_echo_n "checking for a BSD-compatible install... " >&6; }
  2324. if test -z "$INSTALL"; then
  2325. if test "${ac_cv_path_install+set}" = set; then :
  2326. $as_echo_n "(cached) " >&6
  2327. else
  2328. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2329. for as_dir in $PATH
  2330. do
  2331. IFS=$as_save_IFS
  2332. test -z "$as_dir" && as_dir=.
  2333. # Account for people who put trailing slashes in PATH elements.
  2334. case $as_dir/ in #((
  2335. ./ | .// | /[cC]/* | \
  2336. /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
  2337. ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
  2338. /usr/ucb/* ) ;;
  2339. *)
  2340. # OSF1 and SCO ODT 3.0 have their own names for install.
  2341. # Don't use installbsd from OSF since it installs stuff as root
  2342. # by default.
  2343. for ac_prog in ginstall scoinst install; do
  2344. for ac_exec_ext in '' $ac_executable_extensions; do
  2345. if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
  2346. if test $ac_prog = install &&
  2347. grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  2348. # AIX install. It has an incompatible calling convention.
  2349. :
  2350. elif test $ac_prog = install &&
  2351. grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  2352. # program-specific install script used by HP pwplus--don't use.
  2353. :
  2354. else
  2355. rm -rf conftest.one conftest.two conftest.dir
  2356. echo one > conftest.one
  2357. echo two > conftest.two
  2358. mkdir conftest.dir
  2359. if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
  2360. test -s conftest.one && test -s conftest.two &&
  2361. test -s conftest.dir/conftest.one &&
  2362. test -s conftest.dir/conftest.two
  2363. then
  2364. ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
  2365. break 3
  2366. fi
  2367. fi
  2368. fi
  2369. done
  2370. done
  2371. ;;
  2372. esac
  2373. done
  2374. IFS=$as_save_IFS
  2375. rm -rf conftest.one conftest.two conftest.dir
  2376. fi
  2377. if test "${ac_cv_path_install+set}" = set; then
  2378. INSTALL=$ac_cv_path_install
  2379. else
  2380. # As a last resort, use the slow shell script. Don't cache a
  2381. # value for INSTALL within a source directory, because that will
  2382. # break other packages using the cache if that directory is
  2383. # removed, or if the value is a relative name.
  2384. INSTALL=$ac_install_sh
  2385. fi
  2386. fi
  2387. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
  2388. $as_echo "$INSTALL" >&6; }
  2389. # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  2390. # It thinks the first close brace ends the variable substitution.
  2391. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  2392. test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
  2393. test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  2394. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
  2395. $as_echo_n "checking whether build environment is sane... " >&6; }
  2396. # Just in case
  2397. sleep 1
  2398. echo timestamp > conftest.file
  2399. # Reject unsafe characters in $srcdir or the absolute working directory
  2400. # name. Accept space and tab only in the latter.
  2401. am_lf='
  2402. '
  2403. case `pwd` in
  2404. *[\\\"\#\$\&\'\`$am_lf]*)
  2405. as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
  2406. esac
  2407. case $srcdir in
  2408. *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
  2409. as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
  2410. esac
  2411. # Do `set' in a subshell so we don't clobber the current shell's
  2412. # arguments. Must try -L first in case configure is actually a
  2413. # symlink; some systems play weird games with the mod time of symlinks
  2414. # (eg FreeBSD returns the mod time of the symlink's containing
  2415. # directory).
  2416. if (
  2417. set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
  2418. if test "$*" = "X"; then
  2419. # -L didn't work.
  2420. set X `ls -t "$srcdir/configure" conftest.file`
  2421. fi
  2422. rm -f conftest.file
  2423. if test "$*" != "X $srcdir/configure conftest.file" \
  2424. && test "$*" != "X conftest.file $srcdir/configure"; then
  2425. # If neither matched, then we have a broken ls. This can happen
  2426. # if, for instance, CONFIG_SHELL is bash and it inherits a
  2427. # broken ls alias from the environment. This has actually
  2428. # happened. Such a system could not be considered "sane".
  2429. as_fn_error "ls -t appears to fail. Make sure there is not a broken
  2430. alias in your environment" "$LINENO" 5
  2431. fi
  2432. test "$2" = conftest.file
  2433. )
  2434. then
  2435. # Ok.
  2436. :
  2437. else
  2438. as_fn_error "newly created file is older than distributed files!
  2439. Check your system clock" "$LINENO" 5
  2440. fi
  2441. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  2442. $as_echo "yes" >&6; }
  2443. test "$program_prefix" != NONE &&
  2444. program_transform_name="s&^&$program_prefix&;$program_transform_name"
  2445. # Use a double $ so make ignores it.
  2446. test "$program_suffix" != NONE &&
  2447. program_transform_name="s&\$&$program_suffix&;$program_transform_name"
  2448. # Double any \ or $.
  2449. # By default was `s,x,x', remove it if useless.
  2450. ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
  2451. program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
  2452. # expand $ac_aux_dir to an absolute path
  2453. am_aux_dir=`cd $ac_aux_dir && pwd`
  2454. if test x"${MISSING+set}" != xset; then
  2455. case $am_aux_dir in
  2456. *\ * | *\ *)
  2457. MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
  2458. *)
  2459. MISSING="\${SHELL} $am_aux_dir/missing" ;;
  2460. esac
  2461. fi
  2462. # Use eval to expand $SHELL
  2463. if eval "$MISSING --run true"; then
  2464. am_missing_run="$MISSING --run "
  2465. else
  2466. am_missing_run=
  2467. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
  2468. $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
  2469. fi
  2470. if test x"${install_sh}" != xset; then
  2471. case $am_aux_dir in
  2472. *\ * | *\ *)
  2473. install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
  2474. *)
  2475. install_sh="\${SHELL} $am_aux_dir/install-sh"
  2476. esac
  2477. fi
  2478. # Installed binaries are usually stripped using `strip' when the user
  2479. # run `make install-strip'. However `strip' might not be the right
  2480. # tool to use in cross-compilation environments, therefore Automake
  2481. # will honor the `STRIP' environment variable to overrule this program.
  2482. if test "$cross_compiling" != no; then
  2483. if test -n "$ac_tool_prefix"; then
  2484. # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  2485. set dummy ${ac_tool_prefix}strip; ac_word=$2
  2486. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2487. $as_echo_n "checking for $ac_word... " >&6; }
  2488. if test "${ac_cv_prog_STRIP+set}" = set; then :
  2489. $as_echo_n "(cached) " >&6
  2490. else
  2491. if test -n "$STRIP"; then
  2492. ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  2493. else
  2494. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2495. for as_dir in $PATH
  2496. do
  2497. IFS=$as_save_IFS
  2498. test -z "$as_dir" && as_dir=.
  2499. for ac_exec_ext in '' $ac_executable_extensions; do
  2500. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2501. ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  2502. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2503. break 2
  2504. fi
  2505. done
  2506. done
  2507. IFS=$as_save_IFS
  2508. fi
  2509. fi
  2510. STRIP=$ac_cv_prog_STRIP
  2511. if test -n "$STRIP"; then
  2512. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
  2513. $as_echo "$STRIP" >&6; }
  2514. else
  2515. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2516. $as_echo "no" >&6; }
  2517. fi
  2518. fi
  2519. if test -z "$ac_cv_prog_STRIP"; then
  2520. ac_ct_STRIP=$STRIP
  2521. # Extract the first word of "strip", so it can be a program name with args.
  2522. set dummy strip; ac_word=$2
  2523. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2524. $as_echo_n "checking for $ac_word... " >&6; }
  2525. if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
  2526. $as_echo_n "(cached) " >&6
  2527. else
  2528. if test -n "$ac_ct_STRIP"; then
  2529. ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  2530. else
  2531. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2532. for as_dir in $PATH
  2533. do
  2534. IFS=$as_save_IFS
  2535. test -z "$as_dir" && as_dir=.
  2536. for ac_exec_ext in '' $ac_executable_extensions; do
  2537. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2538. ac_cv_prog_ac_ct_STRIP="strip"
  2539. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2540. break 2
  2541. fi
  2542. done
  2543. done
  2544. IFS=$as_save_IFS
  2545. fi
  2546. fi
  2547. ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  2548. if test -n "$ac_ct_STRIP"; then
  2549. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
  2550. $as_echo "$ac_ct_STRIP" >&6; }
  2551. else
  2552. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2553. $as_echo "no" >&6; }
  2554. fi
  2555. if test "x$ac_ct_STRIP" = x; then
  2556. STRIP=":"
  2557. else
  2558. case $cross_compiling:$ac_tool_warned in
  2559. yes:)
  2560. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  2561. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  2562. ac_tool_warned=yes ;;
  2563. esac
  2564. STRIP=$ac_ct_STRIP
  2565. fi
  2566. else
  2567. STRIP="$ac_cv_prog_STRIP"
  2568. fi
  2569. fi
  2570. INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
  2571. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
  2572. $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
  2573. if test -z "$MKDIR_P"; then
  2574. if test "${ac_cv_path_mkdir+set}" = set; then :
  2575. $as_echo_n "(cached) " >&6
  2576. else
  2577. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2578. for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
  2579. do
  2580. IFS=$as_save_IFS
  2581. test -z "$as_dir" && as_dir=.
  2582. for ac_prog in mkdir gmkdir; do
  2583. for ac_exec_ext in '' $ac_executable_extensions; do
  2584. { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
  2585. case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
  2586. 'mkdir (GNU coreutils) '* | \
  2587. 'mkdir (coreutils) '* | \
  2588. 'mkdir (fileutils) '4.1*)
  2589. ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
  2590. break 3;;
  2591. esac
  2592. done
  2593. done
  2594. done
  2595. IFS=$as_save_IFS
  2596. fi
  2597. if test "${ac_cv_path_mkdir+set}" = set; then
  2598. MKDIR_P="$ac_cv_path_mkdir -p"
  2599. else
  2600. # As a last resort, use the slow shell script. Don't cache a
  2601. # value for MKDIR_P within a source directory, because that will
  2602. # break other packages using the cache if that directory is
  2603. # removed, or if the value is a relative name.
  2604. test -d ./--version && rmdir ./--version
  2605. MKDIR_P="$ac_install_sh -d"
  2606. fi
  2607. fi
  2608. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
  2609. $as_echo "$MKDIR_P" >&6; }
  2610. mkdir_p="$MKDIR_P"
  2611. case $mkdir_p in
  2612. [\\/$]* | ?:[\\/]*) ;;
  2613. */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
  2614. esac
  2615. for ac_prog in gawk mawk nawk awk
  2616. do
  2617. # Extract the first word of "$ac_prog", so it can be a program name with args.
  2618. set dummy $ac_prog; ac_word=$2
  2619. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2620. $as_echo_n "checking for $ac_word... " >&6; }
  2621. if test "${ac_cv_prog_AWK+set}" = set; then :
  2622. $as_echo_n "(cached) " >&6
  2623. else
  2624. if test -n "$AWK"; then
  2625. ac_cv_prog_AWK="$AWK" # Let the user override the test.
  2626. else
  2627. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2628. for as_dir in $PATH
  2629. do
  2630. IFS=$as_save_IFS
  2631. test -z "$as_dir" && as_dir=.
  2632. for ac_exec_ext in '' $ac_executable_extensions; do
  2633. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2634. ac_cv_prog_AWK="$ac_prog"
  2635. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2636. break 2
  2637. fi
  2638. done
  2639. done
  2640. IFS=$as_save_IFS
  2641. fi
  2642. fi
  2643. AWK=$ac_cv_prog_AWK
  2644. if test -n "$AWK"; then
  2645. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
  2646. $as_echo "$AWK" >&6; }
  2647. else
  2648. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2649. $as_echo "no" >&6; }
  2650. fi
  2651. test -n "$AWK" && break
  2652. done
  2653. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
  2654. $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
  2655. set x ${MAKE-make}
  2656. ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
  2657. if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
  2658. $as_echo_n "(cached) " >&6
  2659. else
  2660. cat >conftest.make <<\_ACEOF
  2661. SHELL = /bin/sh
  2662. all:
  2663. @echo '@@@%%%=$(MAKE)=@@@%%%'
  2664. _ACEOF
  2665. # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
  2666. case `${MAKE-make} -f conftest.make 2>/dev/null` in
  2667. *@@@%%%=?*=@@@%%%*)
  2668. eval ac_cv_prog_make_${ac_make}_set=yes;;
  2669. *)
  2670. eval ac_cv_prog_make_${ac_make}_set=no;;
  2671. esac
  2672. rm -f conftest.make
  2673. fi
  2674. if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
  2675. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  2676. $as_echo "yes" >&6; }
  2677. SET_MAKE=
  2678. else
  2679. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2680. $as_echo "no" >&6; }
  2681. SET_MAKE="MAKE=${MAKE-make}"
  2682. fi
  2683. rm -rf .tst 2>/dev/null
  2684. mkdir .tst 2>/dev/null
  2685. if test -d .tst; then
  2686. am__leading_dot=.
  2687. else
  2688. am__leading_dot=_
  2689. fi
  2690. rmdir .tst 2>/dev/null
  2691. if test "`cd $srcdir && pwd`" != "`pwd`"; then
  2692. # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
  2693. # is not polluted with repeated "-I."
  2694. am__isrc=' -I$(srcdir)'
  2695. # test to see if srcdir already configured
  2696. if test -f $srcdir/config.status; then
  2697. as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
  2698. fi
  2699. fi
  2700. # test whether we have cygpath
  2701. if test -z "$CYGPATH_W"; then
  2702. if (cygpath --version) >/dev/null 2>/dev/null; then
  2703. CYGPATH_W='cygpath -w'
  2704. else
  2705. CYGPATH_W=echo
  2706. fi
  2707. fi
  2708. # Define the identity of the package.
  2709. PACKAGE='libvtv'
  2710. VERSION='1.0'
  2711. cat >>confdefs.h <<_ACEOF
  2712. #define PACKAGE "$PACKAGE"
  2713. _ACEOF
  2714. cat >>confdefs.h <<_ACEOF
  2715. #define VERSION "$VERSION"
  2716. _ACEOF
  2717. # Some tools Automake needs.
  2718. ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
  2719. AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
  2720. AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
  2721. AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
  2722. MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
  2723. # We need awk for the "check" target. The system "awk" is bad on
  2724. # some platforms.
  2725. # Always define AMTAR for backward compatibility.
  2726. AMTAR=${AMTAR-"${am_missing_run}tar"}
  2727. am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
  2728. # Default to --enable-multilib
  2729. # Check whether --enable-multilib was given.
  2730. if test "${enable_multilib+set}" = set; then :
  2731. enableval=$enable_multilib; case "$enableval" in
  2732. yes) multilib=yes ;;
  2733. no) multilib=no ;;
  2734. *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
  2735. esac
  2736. else
  2737. multilib=yes
  2738. fi
  2739. # We may get other options which we leave undocumented:
  2740. # --with-target-subdir, --with-multisrctop, --with-multisubdir
  2741. # See config-ml.in if you want the gory details.
  2742. if test "$srcdir" = "."; then
  2743. if test "$with_target_subdir" != "."; then
  2744. multi_basedir="$srcdir/$with_multisrctop../.."
  2745. else
  2746. multi_basedir="$srcdir/$with_multisrctop.."
  2747. fi
  2748. else
  2749. multi_basedir="$srcdir/.."
  2750. fi
  2751. # Even if the default multilib is not a cross compilation,
  2752. # it may be that some of the other multilibs are.
  2753. if test $cross_compiling = no && test $multilib = yes \
  2754. && test "x${with_multisubdir}" != x ; then
  2755. cross_compiling=maybe
  2756. fi
  2757. ac_config_commands="$ac_config_commands default-1"
  2758. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
  2759. $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
  2760. # Check whether --enable-maintainer-mode was given.
  2761. if test "${enable_maintainer_mode+set}" = set; then :
  2762. enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
  2763. else
  2764. USE_MAINTAINER_MODE=no
  2765. fi
  2766. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
  2767. $as_echo "$USE_MAINTAINER_MODE" >&6; }
  2768. if test $USE_MAINTAINER_MODE = yes; then
  2769. MAINTAINER_MODE_TRUE=
  2770. MAINTAINER_MODE_FALSE='#'
  2771. else
  2772. MAINTAINER_MODE_TRUE='#'
  2773. MAINTAINER_MODE_FALSE=
  2774. fi
  2775. MAINT=$MAINTAINER_MODE_TRUE
  2776. # These need to be absolute paths, yet at the same time need to
  2777. # canonicalize only relative paths, because then amd will not unmount
  2778. # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
  2779. libvtv_builddir=`${PWDCMD-pwd}`
  2780. case $srcdir in
  2781. \\/$* | ?:\\/*) libvtv_srcdir=${srcdir} ;;
  2782. *) libvtv_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
  2783. esac
  2784. toplevel_builddir=${libvtv_builddir}/..
  2785. toplevel_srcdir=${libvtv_srcdir}/..
  2786. # Calculate toolexeclibdir
  2787. # Also toolexecdir, though it's only used in toolexeclibdir
  2788. case ${version_specific_libs} in
  2789. yes)
  2790. # Need the gcc compiler version to know where to install libraries
  2791. # and header files if --enable-version-specific-runtime-libs option
  2792. # is selected.
  2793. toolexecdir='$(libdir)/gcc/$(target_alias)'
  2794. toolexeclibdir='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
  2795. ;;
  2796. no)
  2797. if test -n "$with_cross_host" &&
  2798. test x"$with_cross_host" != x"no"; then
  2799. # Install a library built with a cross compiler in tooldir, not libdir.
  2800. toolexecdir='$(exec_prefix)/$(target_alias)'
  2801. toolexeclibdir='$(toolexecdir)/lib'
  2802. else
  2803. toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
  2804. toolexeclibdir='$(libdir)'
  2805. fi
  2806. multi_os_directory=`$CC -print-multi-os-directory`
  2807. case $multi_os_directory in
  2808. .) ;; # Avoid trailing /.
  2809. *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
  2810. esac
  2811. ;;
  2812. esac
  2813. DEPDIR="${am__leading_dot}deps"
  2814. ac_config_commands="$ac_config_commands depfiles"
  2815. am_make=${MAKE-make}
  2816. cat > confinc << 'END'
  2817. am__doit:
  2818. @echo this is the am__doit target
  2819. .PHONY: am__doit
  2820. END
  2821. # If we don't find an include directive, just comment out the code.
  2822. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
  2823. $as_echo_n "checking for style of include used by $am_make... " >&6; }
  2824. am__include="#"
  2825. am__quote=
  2826. _am_result=none
  2827. # First try GNU make style include.
  2828. echo "include confinc" > confmf
  2829. # Ignore all kinds of additional output from `make'.
  2830. case `$am_make -s -f confmf 2> /dev/null` in #(
  2831. *the\ am__doit\ target*)
  2832. am__include=include
  2833. am__quote=
  2834. _am_result=GNU
  2835. ;;
  2836. esac
  2837. # Now try BSD make style include.
  2838. if test "$am__include" = "#"; then
  2839. echo '.include "confinc"' > confmf
  2840. case `$am_make -s -f confmf 2> /dev/null` in #(
  2841. *the\ am__doit\ target*)
  2842. am__include=.include
  2843. am__quote="\""
  2844. _am_result=BSD
  2845. ;;
  2846. esac
  2847. fi
  2848. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
  2849. $as_echo "$_am_result" >&6; }
  2850. rm -f confinc confmf
  2851. # Check whether --enable-dependency-tracking was given.
  2852. if test "${enable_dependency_tracking+set}" = set; then :
  2853. enableval=$enable_dependency_tracking;
  2854. fi
  2855. if test "x$enable_dependency_tracking" != xno; then
  2856. am_depcomp="$ac_aux_dir/depcomp"
  2857. AMDEPBACKSLASH='\'
  2858. fi
  2859. if test "x$enable_dependency_tracking" != xno; then
  2860. AMDEP_TRUE=
  2861. AMDEP_FALSE='#'
  2862. else
  2863. AMDEP_TRUE='#'
  2864. AMDEP_FALSE=
  2865. fi
  2866. ac_ext=c
  2867. ac_cpp='$CPP $CPPFLAGS'
  2868. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2869. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2870. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2871. if test -n "$ac_tool_prefix"; then
  2872. # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  2873. set dummy ${ac_tool_prefix}gcc; ac_word=$2
  2874. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2875. $as_echo_n "checking for $ac_word... " >&6; }
  2876. if test "${ac_cv_prog_CC+set}" = set; then :
  2877. $as_echo_n "(cached) " >&6
  2878. else
  2879. if test -n "$CC"; then
  2880. ac_cv_prog_CC="$CC" # Let the user override the test.
  2881. else
  2882. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2883. for as_dir in $PATH
  2884. do
  2885. IFS=$as_save_IFS
  2886. test -z "$as_dir" && as_dir=.
  2887. for ac_exec_ext in '' $ac_executable_extensions; do
  2888. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2889. ac_cv_prog_CC="${ac_tool_prefix}gcc"
  2890. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2891. break 2
  2892. fi
  2893. done
  2894. done
  2895. IFS=$as_save_IFS
  2896. fi
  2897. fi
  2898. CC=$ac_cv_prog_CC
  2899. if test -n "$CC"; then
  2900. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  2901. $as_echo "$CC" >&6; }
  2902. else
  2903. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2904. $as_echo "no" >&6; }
  2905. fi
  2906. fi
  2907. if test -z "$ac_cv_prog_CC"; then
  2908. ac_ct_CC=$CC
  2909. # Extract the first word of "gcc", so it can be a program name with args.
  2910. set dummy gcc; ac_word=$2
  2911. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2912. $as_echo_n "checking for $ac_word... " >&6; }
  2913. if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
  2914. $as_echo_n "(cached) " >&6
  2915. else
  2916. if test -n "$ac_ct_CC"; then
  2917. ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  2918. else
  2919. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2920. for as_dir in $PATH
  2921. do
  2922. IFS=$as_save_IFS
  2923. test -z "$as_dir" && as_dir=.
  2924. for ac_exec_ext in '' $ac_executable_extensions; do
  2925. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2926. ac_cv_prog_ac_ct_CC="gcc"
  2927. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2928. break 2
  2929. fi
  2930. done
  2931. done
  2932. IFS=$as_save_IFS
  2933. fi
  2934. fi
  2935. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  2936. if test -n "$ac_ct_CC"; then
  2937. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  2938. $as_echo "$ac_ct_CC" >&6; }
  2939. else
  2940. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2941. $as_echo "no" >&6; }
  2942. fi
  2943. if test "x$ac_ct_CC" = x; then
  2944. CC=""
  2945. else
  2946. case $cross_compiling:$ac_tool_warned in
  2947. yes:)
  2948. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  2949. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  2950. ac_tool_warned=yes ;;
  2951. esac
  2952. CC=$ac_ct_CC
  2953. fi
  2954. else
  2955. CC="$ac_cv_prog_CC"
  2956. fi
  2957. if test -z "$CC"; then
  2958. if test -n "$ac_tool_prefix"; then
  2959. # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  2960. set dummy ${ac_tool_prefix}cc; ac_word=$2
  2961. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2962. $as_echo_n "checking for $ac_word... " >&6; }
  2963. if test "${ac_cv_prog_CC+set}" = set; then :
  2964. $as_echo_n "(cached) " >&6
  2965. else
  2966. if test -n "$CC"; then
  2967. ac_cv_prog_CC="$CC" # Let the user override the test.
  2968. else
  2969. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2970. for as_dir in $PATH
  2971. do
  2972. IFS=$as_save_IFS
  2973. test -z "$as_dir" && as_dir=.
  2974. for ac_exec_ext in '' $ac_executable_extensions; do
  2975. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2976. ac_cv_prog_CC="${ac_tool_prefix}cc"
  2977. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2978. break 2
  2979. fi
  2980. done
  2981. done
  2982. IFS=$as_save_IFS
  2983. fi
  2984. fi
  2985. CC=$ac_cv_prog_CC
  2986. if test -n "$CC"; then
  2987. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  2988. $as_echo "$CC" >&6; }
  2989. else
  2990. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2991. $as_echo "no" >&6; }
  2992. fi
  2993. fi
  2994. fi
  2995. if test -z "$CC"; then
  2996. # Extract the first word of "cc", so it can be a program name with args.
  2997. set dummy cc; ac_word=$2
  2998. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2999. $as_echo_n "checking for $ac_word... " >&6; }
  3000. if test "${ac_cv_prog_CC+set}" = set; then :
  3001. $as_echo_n "(cached) " >&6
  3002. else
  3003. if test -n "$CC"; then
  3004. ac_cv_prog_CC="$CC" # Let the user override the test.
  3005. else
  3006. ac_prog_rejected=no
  3007. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3008. for as_dir in $PATH
  3009. do
  3010. IFS=$as_save_IFS
  3011. test -z "$as_dir" && as_dir=.
  3012. for ac_exec_ext in '' $ac_executable_extensions; do
  3013. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3014. if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  3015. ac_prog_rejected=yes
  3016. continue
  3017. fi
  3018. ac_cv_prog_CC="cc"
  3019. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3020. break 2
  3021. fi
  3022. done
  3023. done
  3024. IFS=$as_save_IFS
  3025. if test $ac_prog_rejected = yes; then
  3026. # We found a bogon in the path, so make sure we never use it.
  3027. set dummy $ac_cv_prog_CC
  3028. shift
  3029. if test $# != 0; then
  3030. # We chose a different compiler from the bogus one.
  3031. # However, it has the same basename, so the bogon will be chosen
  3032. # first if we set CC to just the basename; use the full file name.
  3033. shift
  3034. ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  3035. fi
  3036. fi
  3037. fi
  3038. fi
  3039. CC=$ac_cv_prog_CC
  3040. if test -n "$CC"; then
  3041. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  3042. $as_echo "$CC" >&6; }
  3043. else
  3044. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3045. $as_echo "no" >&6; }
  3046. fi
  3047. fi
  3048. if test -z "$CC"; then
  3049. if test -n "$ac_tool_prefix"; then
  3050. for ac_prog in cl.exe
  3051. do
  3052. # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  3053. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  3054. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3055. $as_echo_n "checking for $ac_word... " >&6; }
  3056. if test "${ac_cv_prog_CC+set}" = set; then :
  3057. $as_echo_n "(cached) " >&6
  3058. else
  3059. if test -n "$CC"; then
  3060. ac_cv_prog_CC="$CC" # Let the user override the test.
  3061. else
  3062. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3063. for as_dir in $PATH
  3064. do
  3065. IFS=$as_save_IFS
  3066. test -z "$as_dir" && as_dir=.
  3067. for ac_exec_ext in '' $ac_executable_extensions; do
  3068. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3069. ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  3070. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3071. break 2
  3072. fi
  3073. done
  3074. done
  3075. IFS=$as_save_IFS
  3076. fi
  3077. fi
  3078. CC=$ac_cv_prog_CC
  3079. if test -n "$CC"; then
  3080. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  3081. $as_echo "$CC" >&6; }
  3082. else
  3083. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3084. $as_echo "no" >&6; }
  3085. fi
  3086. test -n "$CC" && break
  3087. done
  3088. fi
  3089. if test -z "$CC"; then
  3090. ac_ct_CC=$CC
  3091. for ac_prog in cl.exe
  3092. do
  3093. # Extract the first word of "$ac_prog", so it can be a program name with args.
  3094. set dummy $ac_prog; ac_word=$2
  3095. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3096. $as_echo_n "checking for $ac_word... " >&6; }
  3097. if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
  3098. $as_echo_n "(cached) " >&6
  3099. else
  3100. if test -n "$ac_ct_CC"; then
  3101. ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  3102. else
  3103. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3104. for as_dir in $PATH
  3105. do
  3106. IFS=$as_save_IFS
  3107. test -z "$as_dir" && as_dir=.
  3108. for ac_exec_ext in '' $ac_executable_extensions; do
  3109. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3110. ac_cv_prog_ac_ct_CC="$ac_prog"
  3111. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3112. break 2
  3113. fi
  3114. done
  3115. done
  3116. IFS=$as_save_IFS
  3117. fi
  3118. fi
  3119. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  3120. if test -n "$ac_ct_CC"; then
  3121. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  3122. $as_echo "$ac_ct_CC" >&6; }
  3123. else
  3124. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3125. $as_echo "no" >&6; }
  3126. fi
  3127. test -n "$ac_ct_CC" && break
  3128. done
  3129. if test "x$ac_ct_CC" = x; then
  3130. CC=""
  3131. else
  3132. case $cross_compiling:$ac_tool_warned in
  3133. yes:)
  3134. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  3135. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  3136. ac_tool_warned=yes ;;
  3137. esac
  3138. CC=$ac_ct_CC
  3139. fi
  3140. fi
  3141. fi
  3142. test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3143. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3144. as_fn_error "no acceptable C compiler found in \$PATH
  3145. See \`config.log' for more details." "$LINENO" 5; }
  3146. # Provide some information about the compiler.
  3147. $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
  3148. set X $ac_compile
  3149. ac_compiler=$2
  3150. for ac_option in --version -v -V -qversion; do
  3151. { { ac_try="$ac_compiler $ac_option >&5"
  3152. case "(($ac_try" in
  3153. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3154. *) ac_try_echo=$ac_try;;
  3155. esac
  3156. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3157. $as_echo "$ac_try_echo"; } >&5
  3158. (eval "$ac_compiler $ac_option >&5") 2>conftest.err
  3159. ac_status=$?
  3160. if test -s conftest.err; then
  3161. sed '10a\
  3162. ... rest of stderr output deleted ...
  3163. 10q' conftest.err >conftest.er1
  3164. cat conftest.er1 >&5
  3165. rm -f conftest.er1 conftest.err
  3166. fi
  3167. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3168. test $ac_status = 0; }
  3169. done
  3170. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3171. /* end confdefs.h. */
  3172. int
  3173. main ()
  3174. {
  3175. ;
  3176. return 0;
  3177. }
  3178. _ACEOF
  3179. ac_clean_files_save=$ac_clean_files
  3180. ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
  3181. # Try to create an executable without -o first, disregard a.out.
  3182. # It will help us diagnose broken compilers, and finding out an intuition
  3183. # of exeext.
  3184. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
  3185. $as_echo_n "checking for C compiler default output file name... " >&6; }
  3186. ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
  3187. # The possible output files:
  3188. ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
  3189. ac_rmfiles=
  3190. for ac_file in $ac_files
  3191. do
  3192. case $ac_file in
  3193. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  3194. * ) ac_rmfiles="$ac_rmfiles $ac_file";;
  3195. esac
  3196. done
  3197. rm -f $ac_rmfiles
  3198. if { { ac_try="$ac_link_default"
  3199. case "(($ac_try" in
  3200. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3201. *) ac_try_echo=$ac_try;;
  3202. esac
  3203. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3204. $as_echo "$ac_try_echo"; } >&5
  3205. (eval "$ac_link_default") 2>&5
  3206. ac_status=$?
  3207. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3208. test $ac_status = 0; }; then :
  3209. # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
  3210. # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
  3211. # in a Makefile. We should not override ac_cv_exeext if it was cached,
  3212. # so that the user can short-circuit this test for compilers unknown to
  3213. # Autoconf.
  3214. for ac_file in $ac_files ''
  3215. do
  3216. test -f "$ac_file" || continue
  3217. case $ac_file in
  3218. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
  3219. ;;
  3220. [ab].out )
  3221. # We found the default executable, but exeext='' is most
  3222. # certainly right.
  3223. break;;
  3224. *.* )
  3225. if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
  3226. then :; else
  3227. ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  3228. fi
  3229. # We set ac_cv_exeext here because the later test for it is not
  3230. # safe: cross compilers may not add the suffix if given an `-o'
  3231. # argument, so we may need to know it at that point already.
  3232. # Even if this section looks crufty: it has the advantage of
  3233. # actually working.
  3234. break;;
  3235. * )
  3236. break;;
  3237. esac
  3238. done
  3239. test "$ac_cv_exeext" = no && ac_cv_exeext=
  3240. else
  3241. ac_file=''
  3242. fi
  3243. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
  3244. $as_echo "$ac_file" >&6; }
  3245. if test -z "$ac_file"; then :
  3246. $as_echo "$as_me: failed program was:" >&5
  3247. sed 's/^/| /' conftest.$ac_ext >&5
  3248. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3249. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3250. { as_fn_set_status 77
  3251. as_fn_error "C compiler cannot create executables
  3252. See \`config.log' for more details." "$LINENO" 5; }; }
  3253. fi
  3254. ac_exeext=$ac_cv_exeext
  3255. # Check that the compiler produces executables we can run. If not, either
  3256. # the compiler is broken, or we cross compile.
  3257. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
  3258. $as_echo_n "checking whether the C compiler works... " >&6; }
  3259. # If not cross compiling, check that we can run a simple program.
  3260. if test "$cross_compiling" != yes; then
  3261. if { ac_try='./$ac_file'
  3262. { { case "(($ac_try" in
  3263. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3264. *) ac_try_echo=$ac_try;;
  3265. esac
  3266. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3267. $as_echo "$ac_try_echo"; } >&5
  3268. (eval "$ac_try") 2>&5
  3269. ac_status=$?
  3270. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3271. test $ac_status = 0; }; }; then
  3272. cross_compiling=no
  3273. else
  3274. if test "$cross_compiling" = maybe; then
  3275. cross_compiling=yes
  3276. else
  3277. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3278. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3279. as_fn_error "cannot run C compiled programs.
  3280. If you meant to cross compile, use \`--host'.
  3281. See \`config.log' for more details." "$LINENO" 5; }
  3282. fi
  3283. fi
  3284. fi
  3285. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  3286. $as_echo "yes" >&6; }
  3287. rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
  3288. ac_clean_files=$ac_clean_files_save
  3289. # Check that the compiler produces executables we can run. If not, either
  3290. # the compiler is broken, or we cross compile.
  3291. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
  3292. $as_echo_n "checking whether we are cross compiling... " >&6; }
  3293. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
  3294. $as_echo "$cross_compiling" >&6; }
  3295. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
  3296. $as_echo_n "checking for suffix of executables... " >&6; }
  3297. if { { ac_try="$ac_link"
  3298. case "(($ac_try" in
  3299. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3300. *) ac_try_echo=$ac_try;;
  3301. esac
  3302. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3303. $as_echo "$ac_try_echo"; } >&5
  3304. (eval "$ac_link") 2>&5
  3305. ac_status=$?
  3306. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3307. test $ac_status = 0; }; then :
  3308. # If both `conftest.exe' and `conftest' are `present' (well, observable)
  3309. # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
  3310. # work properly (i.e., refer to `conftest.exe'), while it won't with
  3311. # `rm'.
  3312. for ac_file in conftest.exe conftest conftest.*; do
  3313. test -f "$ac_file" || continue
  3314. case $ac_file in
  3315. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  3316. *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  3317. break;;
  3318. * ) break;;
  3319. esac
  3320. done
  3321. else
  3322. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3323. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3324. as_fn_error "cannot compute suffix of executables: cannot compile and link
  3325. See \`config.log' for more details." "$LINENO" 5; }
  3326. fi
  3327. rm -f conftest$ac_cv_exeext
  3328. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
  3329. $as_echo "$ac_cv_exeext" >&6; }
  3330. rm -f conftest.$ac_ext
  3331. EXEEXT=$ac_cv_exeext
  3332. ac_exeext=$EXEEXT
  3333. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
  3334. $as_echo_n "checking for suffix of object files... " >&6; }
  3335. if test "${ac_cv_objext+set}" = set; then :
  3336. $as_echo_n "(cached) " >&6
  3337. else
  3338. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3339. /* end confdefs.h. */
  3340. int
  3341. main ()
  3342. {
  3343. ;
  3344. return 0;
  3345. }
  3346. _ACEOF
  3347. rm -f conftest.o conftest.obj
  3348. if { { ac_try="$ac_compile"
  3349. case "(($ac_try" in
  3350. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3351. *) ac_try_echo=$ac_try;;
  3352. esac
  3353. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3354. $as_echo "$ac_try_echo"; } >&5
  3355. (eval "$ac_compile") 2>&5
  3356. ac_status=$?
  3357. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3358. test $ac_status = 0; }; then :
  3359. for ac_file in conftest.o conftest.obj conftest.*; do
  3360. test -f "$ac_file" || continue;
  3361. case $ac_file in
  3362. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
  3363. *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
  3364. break;;
  3365. esac
  3366. done
  3367. else
  3368. $as_echo "$as_me: failed program was:" >&5
  3369. sed 's/^/| /' conftest.$ac_ext >&5
  3370. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3371. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3372. as_fn_error "cannot compute suffix of object files: cannot compile
  3373. See \`config.log' for more details." "$LINENO" 5; }
  3374. fi
  3375. rm -f conftest.$ac_cv_objext conftest.$ac_ext
  3376. fi
  3377. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
  3378. $as_echo "$ac_cv_objext" >&6; }
  3379. OBJEXT=$ac_cv_objext
  3380. ac_objext=$OBJEXT
  3381. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
  3382. $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
  3383. if test "${ac_cv_c_compiler_gnu+set}" = set; then :
  3384. $as_echo_n "(cached) " >&6
  3385. else
  3386. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3387. /* end confdefs.h. */
  3388. int
  3389. main ()
  3390. {
  3391. #ifndef __GNUC__
  3392. choke me
  3393. #endif
  3394. ;
  3395. return 0;
  3396. }
  3397. _ACEOF
  3398. if ac_fn_c_try_compile "$LINENO"; then :
  3399. ac_compiler_gnu=yes
  3400. else
  3401. ac_compiler_gnu=no
  3402. fi
  3403. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3404. ac_cv_c_compiler_gnu=$ac_compiler_gnu
  3405. fi
  3406. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
  3407. $as_echo "$ac_cv_c_compiler_gnu" >&6; }
  3408. if test $ac_compiler_gnu = yes; then
  3409. GCC=yes
  3410. else
  3411. GCC=
  3412. fi
  3413. ac_test_CFLAGS=${CFLAGS+set}
  3414. ac_save_CFLAGS=$CFLAGS
  3415. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
  3416. $as_echo_n "checking whether $CC accepts -g... " >&6; }
  3417. if test "${ac_cv_prog_cc_g+set}" = set; then :
  3418. $as_echo_n "(cached) " >&6
  3419. else
  3420. ac_save_c_werror_flag=$ac_c_werror_flag
  3421. ac_c_werror_flag=yes
  3422. ac_cv_prog_cc_g=no
  3423. CFLAGS="-g"
  3424. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3425. /* end confdefs.h. */
  3426. int
  3427. main ()
  3428. {
  3429. ;
  3430. return 0;
  3431. }
  3432. _ACEOF
  3433. if ac_fn_c_try_compile "$LINENO"; then :
  3434. ac_cv_prog_cc_g=yes
  3435. else
  3436. CFLAGS=""
  3437. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3438. /* end confdefs.h. */
  3439. int
  3440. main ()
  3441. {
  3442. ;
  3443. return 0;
  3444. }
  3445. _ACEOF
  3446. if ac_fn_c_try_compile "$LINENO"; then :
  3447. else
  3448. ac_c_werror_flag=$ac_save_c_werror_flag
  3449. CFLAGS="-g"
  3450. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3451. /* end confdefs.h. */
  3452. int
  3453. main ()
  3454. {
  3455. ;
  3456. return 0;
  3457. }
  3458. _ACEOF
  3459. if ac_fn_c_try_compile "$LINENO"; then :
  3460. ac_cv_prog_cc_g=yes
  3461. fi
  3462. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3463. fi
  3464. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3465. fi
  3466. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3467. ac_c_werror_flag=$ac_save_c_werror_flag
  3468. fi
  3469. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
  3470. $as_echo "$ac_cv_prog_cc_g" >&6; }
  3471. if test "$ac_test_CFLAGS" = set; then
  3472. CFLAGS=$ac_save_CFLAGS
  3473. elif test $ac_cv_prog_cc_g = yes; then
  3474. if test "$GCC" = yes; then
  3475. CFLAGS="-g -O2"
  3476. else
  3477. CFLAGS="-g"
  3478. fi
  3479. else
  3480. if test "$GCC" = yes; then
  3481. CFLAGS="-O2"
  3482. else
  3483. CFLAGS=
  3484. fi
  3485. fi
  3486. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
  3487. $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
  3488. if test "${ac_cv_prog_cc_c89+set}" = set; then :
  3489. $as_echo_n "(cached) " >&6
  3490. else
  3491. ac_cv_prog_cc_c89=no
  3492. ac_save_CC=$CC
  3493. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3494. /* end confdefs.h. */
  3495. #include <stdarg.h>
  3496. #include <stdio.h>
  3497. #include <sys/types.h>
  3498. #include <sys/stat.h>
  3499. /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
  3500. struct buf { int x; };
  3501. FILE * (*rcsopen) (struct buf *, struct stat *, int);
  3502. static char *e (p, i)
  3503. char **p;
  3504. int i;
  3505. {
  3506. return p[i];
  3507. }
  3508. static char *f (char * (*g) (char **, int), char **p, ...)
  3509. {
  3510. char *s;
  3511. va_list v;
  3512. va_start (v,p);
  3513. s = g (p, va_arg (v,int));
  3514. va_end (v);
  3515. return s;
  3516. }
  3517. /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
  3518. function prototypes and stuff, but not '\xHH' hex character constants.
  3519. These don't provoke an error unfortunately, instead are silently treated
  3520. as 'x'. The following induces an error, until -std is added to get
  3521. proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
  3522. array size at least. It's necessary to write '\x00'==0 to get something
  3523. that's true only with -std. */
  3524. int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  3525. /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  3526. inside strings and character constants. */
  3527. #define FOO(x) 'x'
  3528. int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  3529. int test (int i, double x);
  3530. struct s1 {int (*f) (int a);};
  3531. struct s2 {int (*f) (double a);};
  3532. int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  3533. int argc;
  3534. char **argv;
  3535. int
  3536. main ()
  3537. {
  3538. return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
  3539. ;
  3540. return 0;
  3541. }
  3542. _ACEOF
  3543. for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  3544. -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  3545. do
  3546. CC="$ac_save_CC $ac_arg"
  3547. if ac_fn_c_try_compile "$LINENO"; then :
  3548. ac_cv_prog_cc_c89=$ac_arg
  3549. fi
  3550. rm -f core conftest.err conftest.$ac_objext
  3551. test "x$ac_cv_prog_cc_c89" != "xno" && break
  3552. done
  3553. rm -f conftest.$ac_ext
  3554. CC=$ac_save_CC
  3555. fi
  3556. # AC_CACHE_VAL
  3557. case "x$ac_cv_prog_cc_c89" in
  3558. x)
  3559. { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
  3560. $as_echo "none needed" >&6; } ;;
  3561. xno)
  3562. { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
  3563. $as_echo "unsupported" >&6; } ;;
  3564. *)
  3565. CC="$CC $ac_cv_prog_cc_c89"
  3566. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
  3567. $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
  3568. esac
  3569. if test "x$ac_cv_prog_cc_c89" != xno; then :
  3570. fi
  3571. ac_ext=c
  3572. ac_cpp='$CPP $CPPFLAGS'
  3573. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3574. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3575. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3576. depcc="$CC" am_compiler_list=
  3577. { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
  3578. $as_echo_n "checking dependency style of $depcc... " >&6; }
  3579. if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
  3580. $as_echo_n "(cached) " >&6
  3581. else
  3582. if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  3583. # We make a subdir and do the tests there. Otherwise we can end up
  3584. # making bogus files that we don't know about and never remove. For
  3585. # instance it was reported that on HP-UX the gcc test will end up
  3586. # making a dummy file named `D' -- because `-MD' means `put the output
  3587. # in D'.
  3588. mkdir conftest.dir
  3589. # Copy depcomp to subdir because otherwise we won't find it if we're
  3590. # using a relative directory.
  3591. cp "$am_depcomp" conftest.dir
  3592. cd conftest.dir
  3593. # We will build objects and dependencies in a subdirectory because
  3594. # it helps to detect inapplicable dependency modes. For instance
  3595. # both Tru64's cc and ICC support -MD to output dependencies as a
  3596. # side effect of compilation, but ICC will put the dependencies in
  3597. # the current directory while Tru64 will put them in the object
  3598. # directory.
  3599. mkdir sub
  3600. am_cv_CC_dependencies_compiler_type=none
  3601. if test "$am_compiler_list" = ""; then
  3602. am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  3603. fi
  3604. am__universal=false
  3605. case " $depcc " in #(
  3606. *\ -arch\ *\ -arch\ *) am__universal=true ;;
  3607. esac
  3608. for depmode in $am_compiler_list; do
  3609. # Setup a source with many dependencies, because some compilers
  3610. # like to wrap large dependency lists on column 80 (with \), and
  3611. # we should not choose a depcomp mode which is confused by this.
  3612. #
  3613. # We need to recreate these files for each test, as the compiler may
  3614. # overwrite some of them when testing with obscure command lines.
  3615. # This happens at least with the AIX C compiler.
  3616. : > sub/conftest.c
  3617. for i in 1 2 3 4 5 6; do
  3618. echo '#include "conftst'$i'.h"' >> sub/conftest.c
  3619. # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
  3620. # Solaris 8's {/usr,}/bin/sh.
  3621. touch sub/conftst$i.h
  3622. done
  3623. echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  3624. # We check with `-c' and `-o' for the sake of the "dashmstdout"
  3625. # mode. It turns out that the SunPro C++ compiler does not properly
  3626. # handle `-M -o', and we need to detect this. Also, some Intel
  3627. # versions had trouble with output in subdirs
  3628. am__obj=sub/conftest.${OBJEXT-o}
  3629. am__minus_obj="-o $am__obj"
  3630. case $depmode in
  3631. gcc)
  3632. # This depmode causes a compiler race in universal mode.
  3633. test "$am__universal" = false || continue
  3634. ;;
  3635. nosideeffect)
  3636. # after this tag, mechanisms are not by side-effect, so they'll
  3637. # only be used when explicitly requested
  3638. if test "x$enable_dependency_tracking" = xyes; then
  3639. continue
  3640. else
  3641. break
  3642. fi
  3643. ;;
  3644. msvisualcpp | msvcmsys)
  3645. # This compiler won't grok `-c -o', but also, the minuso test has
  3646. # not run yet. These depmodes are late enough in the game, and
  3647. # so weak that their functioning should not be impacted.
  3648. am__obj=conftest.${OBJEXT-o}
  3649. am__minus_obj=
  3650. ;;
  3651. none) break ;;
  3652. esac
  3653. if depmode=$depmode \
  3654. source=sub/conftest.c object=$am__obj \
  3655. depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  3656. $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
  3657. >/dev/null 2>conftest.err &&
  3658. grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
  3659. grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  3660. grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
  3661. ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  3662. # icc doesn't choke on unknown options, it will just issue warnings
  3663. # or remarks (even with -Werror). So we grep stderr for any message
  3664. # that says an option was ignored or not supported.
  3665. # When given -MP, icc 7.0 and 7.1 complain thusly:
  3666. # icc: Command line warning: ignoring option '-M'; no argument required
  3667. # The diagnosis changed in icc 8.0:
  3668. # icc: Command line remark: option '-MP' not supported
  3669. if (grep 'ignoring option' conftest.err ||
  3670. grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  3671. am_cv_CC_dependencies_compiler_type=$depmode
  3672. break
  3673. fi
  3674. fi
  3675. done
  3676. cd ..
  3677. rm -rf conftest.dir
  3678. else
  3679. am_cv_CC_dependencies_compiler_type=none
  3680. fi
  3681. fi
  3682. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
  3683. $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
  3684. CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  3685. if
  3686. test "x$enable_dependency_tracking" != xno \
  3687. && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  3688. am__fastdepCC_TRUE=
  3689. am__fastdepCC_FALSE='#'
  3690. else
  3691. am__fastdepCC_TRUE='#'
  3692. am__fastdepCC_FALSE=
  3693. fi
  3694. ac_ext=c
  3695. ac_cpp='$CPP $CPPFLAGS'
  3696. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3697. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3698. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3699. { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
  3700. $as_echo_n "checking how to run the C preprocessor... " >&6; }
  3701. # On Suns, sometimes $CPP names a directory.
  3702. if test -n "$CPP" && test -d "$CPP"; then
  3703. CPP=
  3704. fi
  3705. if test -z "$CPP"; then
  3706. if test "${ac_cv_prog_CPP+set}" = set; then :
  3707. $as_echo_n "(cached) " >&6
  3708. else
  3709. # Double quotes because CPP needs to be expanded
  3710. for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
  3711. do
  3712. ac_preproc_ok=false
  3713. for ac_c_preproc_warn_flag in '' yes
  3714. do
  3715. # Use a header file that comes with gcc, so configuring glibc
  3716. # with a fresh cross-compiler works.
  3717. # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  3718. # <limits.h> exists even on freestanding compilers.
  3719. # On the NeXT, cc -E runs the code through the compiler's parser,
  3720. # not just through cpp. "Syntax error" is here to catch this case.
  3721. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3722. /* end confdefs.h. */
  3723. #ifdef __STDC__
  3724. # include <limits.h>
  3725. #else
  3726. # include <assert.h>
  3727. #endif
  3728. Syntax error
  3729. _ACEOF
  3730. if ac_fn_c_try_cpp "$LINENO"; then :
  3731. else
  3732. # Broken: fails on valid input.
  3733. continue
  3734. fi
  3735. rm -f conftest.err conftest.$ac_ext
  3736. # OK, works on sane cases. Now check whether nonexistent headers
  3737. # can be detected and how.
  3738. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3739. /* end confdefs.h. */
  3740. #include <ac_nonexistent.h>
  3741. _ACEOF
  3742. if ac_fn_c_try_cpp "$LINENO"; then :
  3743. # Broken: success on invalid input.
  3744. continue
  3745. else
  3746. # Passes both tests.
  3747. ac_preproc_ok=:
  3748. break
  3749. fi
  3750. rm -f conftest.err conftest.$ac_ext
  3751. done
  3752. # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  3753. rm -f conftest.err conftest.$ac_ext
  3754. if $ac_preproc_ok; then :
  3755. break
  3756. fi
  3757. done
  3758. ac_cv_prog_CPP=$CPP
  3759. fi
  3760. CPP=$ac_cv_prog_CPP
  3761. else
  3762. ac_cv_prog_CPP=$CPP
  3763. fi
  3764. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
  3765. $as_echo "$CPP" >&6; }
  3766. ac_preproc_ok=false
  3767. for ac_c_preproc_warn_flag in '' yes
  3768. do
  3769. # Use a header file that comes with gcc, so configuring glibc
  3770. # with a fresh cross-compiler works.
  3771. # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  3772. # <limits.h> exists even on freestanding compilers.
  3773. # On the NeXT, cc -E runs the code through the compiler's parser,
  3774. # not just through cpp. "Syntax error" is here to catch this case.
  3775. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3776. /* end confdefs.h. */
  3777. #ifdef __STDC__
  3778. # include <limits.h>
  3779. #else
  3780. # include <assert.h>
  3781. #endif
  3782. Syntax error
  3783. _ACEOF
  3784. if ac_fn_c_try_cpp "$LINENO"; then :
  3785. else
  3786. # Broken: fails on valid input.
  3787. continue
  3788. fi
  3789. rm -f conftest.err conftest.$ac_ext
  3790. # OK, works on sane cases. Now check whether nonexistent headers
  3791. # can be detected and how.
  3792. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3793. /* end confdefs.h. */
  3794. #include <ac_nonexistent.h>
  3795. _ACEOF
  3796. if ac_fn_c_try_cpp "$LINENO"; then :
  3797. # Broken: success on invalid input.
  3798. continue
  3799. else
  3800. # Passes both tests.
  3801. ac_preproc_ok=:
  3802. break
  3803. fi
  3804. rm -f conftest.err conftest.$ac_ext
  3805. done
  3806. # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  3807. rm -f conftest.err conftest.$ac_ext
  3808. if $ac_preproc_ok; then :
  3809. else
  3810. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3811. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3812. as_fn_error "C preprocessor \"$CPP\" fails sanity check
  3813. See \`config.log' for more details." "$LINENO" 5; }
  3814. fi
  3815. ac_ext=c
  3816. ac_cpp='$CPP $CPPFLAGS'
  3817. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3818. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3819. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3820. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
  3821. $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
  3822. if test "${ac_cv_path_GREP+set}" = set; then :
  3823. $as_echo_n "(cached) " >&6
  3824. else
  3825. if test -z "$GREP"; then
  3826. ac_path_GREP_found=false
  3827. # Loop through the user's path and test for each of PROGNAME-LIST
  3828. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3829. for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  3830. do
  3831. IFS=$as_save_IFS
  3832. test -z "$as_dir" && as_dir=.
  3833. for ac_prog in grep ggrep; do
  3834. for ac_exec_ext in '' $ac_executable_extensions; do
  3835. ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
  3836. { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
  3837. # Check for GNU ac_path_GREP and select it if it is found.
  3838. # Check for GNU $ac_path_GREP
  3839. case `"$ac_path_GREP" --version 2>&1` in
  3840. *GNU*)
  3841. ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
  3842. *)
  3843. ac_count=0
  3844. $as_echo_n 0123456789 >"conftest.in"
  3845. while :
  3846. do
  3847. cat "conftest.in" "conftest.in" >"conftest.tmp"
  3848. mv "conftest.tmp" "conftest.in"
  3849. cp "conftest.in" "conftest.nl"
  3850. $as_echo 'GREP' >> "conftest.nl"
  3851. "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  3852. diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  3853. as_fn_arith $ac_count + 1 && ac_count=$as_val
  3854. if test $ac_count -gt ${ac_path_GREP_max-0}; then
  3855. # Best one so far, save it but keep looking for a better one
  3856. ac_cv_path_GREP="$ac_path_GREP"
  3857. ac_path_GREP_max=$ac_count
  3858. fi
  3859. # 10*(2^10) chars as input seems more than enough
  3860. test $ac_count -gt 10 && break
  3861. done
  3862. rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  3863. esac
  3864. $ac_path_GREP_found && break 3
  3865. done
  3866. done
  3867. done
  3868. IFS=$as_save_IFS
  3869. if test -z "$ac_cv_path_GREP"; then
  3870. as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  3871. fi
  3872. else
  3873. ac_cv_path_GREP=$GREP
  3874. fi
  3875. fi
  3876. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
  3877. $as_echo "$ac_cv_path_GREP" >&6; }
  3878. GREP="$ac_cv_path_GREP"
  3879. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
  3880. $as_echo_n "checking for egrep... " >&6; }
  3881. if test "${ac_cv_path_EGREP+set}" = set; then :
  3882. $as_echo_n "(cached) " >&6
  3883. else
  3884. if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
  3885. then ac_cv_path_EGREP="$GREP -E"
  3886. else
  3887. if test -z "$EGREP"; then
  3888. ac_path_EGREP_found=false
  3889. # Loop through the user's path and test for each of PROGNAME-LIST
  3890. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3891. for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  3892. do
  3893. IFS=$as_save_IFS
  3894. test -z "$as_dir" && as_dir=.
  3895. for ac_prog in egrep; do
  3896. for ac_exec_ext in '' $ac_executable_extensions; do
  3897. ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
  3898. { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
  3899. # Check for GNU ac_path_EGREP and select it if it is found.
  3900. # Check for GNU $ac_path_EGREP
  3901. case `"$ac_path_EGREP" --version 2>&1` in
  3902. *GNU*)
  3903. ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
  3904. *)
  3905. ac_count=0
  3906. $as_echo_n 0123456789 >"conftest.in"
  3907. while :
  3908. do
  3909. cat "conftest.in" "conftest.in" >"conftest.tmp"
  3910. mv "conftest.tmp" "conftest.in"
  3911. cp "conftest.in" "conftest.nl"
  3912. $as_echo 'EGREP' >> "conftest.nl"
  3913. "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  3914. diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  3915. as_fn_arith $ac_count + 1 && ac_count=$as_val
  3916. if test $ac_count -gt ${ac_path_EGREP_max-0}; then
  3917. # Best one so far, save it but keep looking for a better one
  3918. ac_cv_path_EGREP="$ac_path_EGREP"
  3919. ac_path_EGREP_max=$ac_count
  3920. fi
  3921. # 10*(2^10) chars as input seems more than enough
  3922. test $ac_count -gt 10 && break
  3923. done
  3924. rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  3925. esac
  3926. $ac_path_EGREP_found && break 3
  3927. done
  3928. done
  3929. done
  3930. IFS=$as_save_IFS
  3931. if test -z "$ac_cv_path_EGREP"; then
  3932. as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  3933. fi
  3934. else
  3935. ac_cv_path_EGREP=$EGREP
  3936. fi
  3937. fi
  3938. fi
  3939. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
  3940. $as_echo "$ac_cv_path_EGREP" >&6; }
  3941. EGREP="$ac_cv_path_EGREP"
  3942. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
  3943. $as_echo_n "checking for ANSI C header files... " >&6; }
  3944. if test "${ac_cv_header_stdc+set}" = set; then :
  3945. $as_echo_n "(cached) " >&6
  3946. else
  3947. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3948. /* end confdefs.h. */
  3949. #include <stdlib.h>
  3950. #include <stdarg.h>
  3951. #include <string.h>
  3952. #include <float.h>
  3953. int
  3954. main ()
  3955. {
  3956. ;
  3957. return 0;
  3958. }
  3959. _ACEOF
  3960. if ac_fn_c_try_compile "$LINENO"; then :
  3961. ac_cv_header_stdc=yes
  3962. else
  3963. ac_cv_header_stdc=no
  3964. fi
  3965. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3966. if test $ac_cv_header_stdc = yes; then
  3967. # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  3968. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3969. /* end confdefs.h. */
  3970. #include <string.h>
  3971. _ACEOF
  3972. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  3973. $EGREP "memchr" >/dev/null 2>&1; then :
  3974. else
  3975. ac_cv_header_stdc=no
  3976. fi
  3977. rm -f conftest*
  3978. fi
  3979. if test $ac_cv_header_stdc = yes; then
  3980. # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  3981. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3982. /* end confdefs.h. */
  3983. #include <stdlib.h>
  3984. _ACEOF
  3985. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  3986. $EGREP "free" >/dev/null 2>&1; then :
  3987. else
  3988. ac_cv_header_stdc=no
  3989. fi
  3990. rm -f conftest*
  3991. fi
  3992. if test $ac_cv_header_stdc = yes; then
  3993. # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  3994. if test "$cross_compiling" = yes; then :
  3995. :
  3996. else
  3997. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3998. /* end confdefs.h. */
  3999. #include <ctype.h>
  4000. #include <stdlib.h>
  4001. #if ((' ' & 0x0FF) == 0x020)
  4002. # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  4003. # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  4004. #else
  4005. # define ISLOWER(c) \
  4006. (('a' <= (c) && (c) <= 'i') \
  4007. || ('j' <= (c) && (c) <= 'r') \
  4008. || ('s' <= (c) && (c) <= 'z'))
  4009. # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
  4010. #endif
  4011. #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  4012. int
  4013. main ()
  4014. {
  4015. int i;
  4016. for (i = 0; i < 256; i++)
  4017. if (XOR (islower (i), ISLOWER (i))
  4018. || toupper (i) != TOUPPER (i))
  4019. return 2;
  4020. return 0;
  4021. }
  4022. _ACEOF
  4023. if ac_fn_c_try_run "$LINENO"; then :
  4024. else
  4025. ac_cv_header_stdc=no
  4026. fi
  4027. rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  4028. conftest.$ac_objext conftest.beam conftest.$ac_ext
  4029. fi
  4030. fi
  4031. fi
  4032. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
  4033. $as_echo "$ac_cv_header_stdc" >&6; }
  4034. if test $ac_cv_header_stdc = yes; then
  4035. $as_echo "#define STDC_HEADERS 1" >>confdefs.h
  4036. fi
  4037. # On IRIX 5.3, sys/types and inttypes.h are conflicting.
  4038. for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
  4039. inttypes.h stdint.h unistd.h
  4040. do :
  4041. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  4042. ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
  4043. "
  4044. eval as_val=\$$as_ac_Header
  4045. if test "x$as_val" = x""yes; then :
  4046. cat >>confdefs.h <<_ACEOF
  4047. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  4048. _ACEOF
  4049. fi
  4050. done
  4051. ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
  4052. if test "x$ac_cv_header_minix_config_h" = x""yes; then :
  4053. MINIX=yes
  4054. else
  4055. MINIX=
  4056. fi
  4057. if test "$MINIX" = yes; then
  4058. $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
  4059. $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
  4060. $as_echo "#define _MINIX 1" >>confdefs.h
  4061. fi
  4062. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
  4063. $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
  4064. if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
  4065. $as_echo_n "(cached) " >&6
  4066. else
  4067. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4068. /* end confdefs.h. */
  4069. # define __EXTENSIONS__ 1
  4070. $ac_includes_default
  4071. int
  4072. main ()
  4073. {
  4074. ;
  4075. return 0;
  4076. }
  4077. _ACEOF
  4078. if ac_fn_c_try_compile "$LINENO"; then :
  4079. ac_cv_safe_to_define___extensions__=yes
  4080. else
  4081. ac_cv_safe_to_define___extensions__=no
  4082. fi
  4083. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4084. fi
  4085. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
  4086. $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
  4087. test $ac_cv_safe_to_define___extensions__ = yes &&
  4088. $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
  4089. $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
  4090. $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
  4091. $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
  4092. $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
  4093. for ac_func in __secure_getenv
  4094. do :
  4095. ac_fn_c_check_func "$LINENO" "__secure_getenv" "ac_cv_func___secure_getenv"
  4096. if test "x$ac_cv_func___secure_getenv" = x""yes; then :
  4097. cat >>confdefs.h <<_ACEOF
  4098. #define HAVE___SECURE_GETENV 1
  4099. _ACEOF
  4100. fi
  4101. done
  4102. for ac_func in secure_getenv
  4103. do :
  4104. ac_fn_c_check_func "$LINENO" "secure_getenv" "ac_cv_func_secure_getenv"
  4105. if test "x$ac_cv_func_secure_getenv" = x""yes; then :
  4106. cat >>confdefs.h <<_ACEOF
  4107. #define HAVE_SECURE_GETENV 1
  4108. _ACEOF
  4109. fi
  4110. done
  4111. # Check for programs.
  4112. ac_ext=c
  4113. ac_cpp='$CPP $CPPFLAGS'
  4114. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4115. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4116. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  4117. if test -n "$ac_tool_prefix"; then
  4118. # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  4119. set dummy ${ac_tool_prefix}gcc; ac_word=$2
  4120. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4121. $as_echo_n "checking for $ac_word... " >&6; }
  4122. if test "${ac_cv_prog_CC+set}" = set; then :
  4123. $as_echo_n "(cached) " >&6
  4124. else
  4125. if test -n "$CC"; then
  4126. ac_cv_prog_CC="$CC" # Let the user override the test.
  4127. else
  4128. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4129. for as_dir in $PATH
  4130. do
  4131. IFS=$as_save_IFS
  4132. test -z "$as_dir" && as_dir=.
  4133. for ac_exec_ext in '' $ac_executable_extensions; do
  4134. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4135. ac_cv_prog_CC="${ac_tool_prefix}gcc"
  4136. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4137. break 2
  4138. fi
  4139. done
  4140. done
  4141. IFS=$as_save_IFS
  4142. fi
  4143. fi
  4144. CC=$ac_cv_prog_CC
  4145. if test -n "$CC"; then
  4146. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  4147. $as_echo "$CC" >&6; }
  4148. else
  4149. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4150. $as_echo "no" >&6; }
  4151. fi
  4152. fi
  4153. if test -z "$ac_cv_prog_CC"; then
  4154. ac_ct_CC=$CC
  4155. # Extract the first word of "gcc", so it can be a program name with args.
  4156. set dummy gcc; ac_word=$2
  4157. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4158. $as_echo_n "checking for $ac_word... " >&6; }
  4159. if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
  4160. $as_echo_n "(cached) " >&6
  4161. else
  4162. if test -n "$ac_ct_CC"; then
  4163. ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  4164. else
  4165. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4166. for as_dir in $PATH
  4167. do
  4168. IFS=$as_save_IFS
  4169. test -z "$as_dir" && as_dir=.
  4170. for ac_exec_ext in '' $ac_executable_extensions; do
  4171. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4172. ac_cv_prog_ac_ct_CC="gcc"
  4173. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4174. break 2
  4175. fi
  4176. done
  4177. done
  4178. IFS=$as_save_IFS
  4179. fi
  4180. fi
  4181. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  4182. if test -n "$ac_ct_CC"; then
  4183. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  4184. $as_echo "$ac_ct_CC" >&6; }
  4185. else
  4186. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4187. $as_echo "no" >&6; }
  4188. fi
  4189. if test "x$ac_ct_CC" = x; then
  4190. CC=""
  4191. else
  4192. case $cross_compiling:$ac_tool_warned in
  4193. yes:)
  4194. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  4195. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  4196. ac_tool_warned=yes ;;
  4197. esac
  4198. CC=$ac_ct_CC
  4199. fi
  4200. else
  4201. CC="$ac_cv_prog_CC"
  4202. fi
  4203. if test -z "$CC"; then
  4204. if test -n "$ac_tool_prefix"; then
  4205. # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  4206. set dummy ${ac_tool_prefix}cc; ac_word=$2
  4207. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4208. $as_echo_n "checking for $ac_word... " >&6; }
  4209. if test "${ac_cv_prog_CC+set}" = set; then :
  4210. $as_echo_n "(cached) " >&6
  4211. else
  4212. if test -n "$CC"; then
  4213. ac_cv_prog_CC="$CC" # Let the user override the test.
  4214. else
  4215. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4216. for as_dir in $PATH
  4217. do
  4218. IFS=$as_save_IFS
  4219. test -z "$as_dir" && as_dir=.
  4220. for ac_exec_ext in '' $ac_executable_extensions; do
  4221. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4222. ac_cv_prog_CC="${ac_tool_prefix}cc"
  4223. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4224. break 2
  4225. fi
  4226. done
  4227. done
  4228. IFS=$as_save_IFS
  4229. fi
  4230. fi
  4231. CC=$ac_cv_prog_CC
  4232. if test -n "$CC"; then
  4233. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  4234. $as_echo "$CC" >&6; }
  4235. else
  4236. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4237. $as_echo "no" >&6; }
  4238. fi
  4239. fi
  4240. fi
  4241. if test -z "$CC"; then
  4242. # Extract the first word of "cc", so it can be a program name with args.
  4243. set dummy cc; ac_word=$2
  4244. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4245. $as_echo_n "checking for $ac_word... " >&6; }
  4246. if test "${ac_cv_prog_CC+set}" = set; then :
  4247. $as_echo_n "(cached) " >&6
  4248. else
  4249. if test -n "$CC"; then
  4250. ac_cv_prog_CC="$CC" # Let the user override the test.
  4251. else
  4252. ac_prog_rejected=no
  4253. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4254. for as_dir in $PATH
  4255. do
  4256. IFS=$as_save_IFS
  4257. test -z "$as_dir" && as_dir=.
  4258. for ac_exec_ext in '' $ac_executable_extensions; do
  4259. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4260. if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  4261. ac_prog_rejected=yes
  4262. continue
  4263. fi
  4264. ac_cv_prog_CC="cc"
  4265. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4266. break 2
  4267. fi
  4268. done
  4269. done
  4270. IFS=$as_save_IFS
  4271. if test $ac_prog_rejected = yes; then
  4272. # We found a bogon in the path, so make sure we never use it.
  4273. set dummy $ac_cv_prog_CC
  4274. shift
  4275. if test $# != 0; then
  4276. # We chose a different compiler from the bogus one.
  4277. # However, it has the same basename, so the bogon will be chosen
  4278. # first if we set CC to just the basename; use the full file name.
  4279. shift
  4280. ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  4281. fi
  4282. fi
  4283. fi
  4284. fi
  4285. CC=$ac_cv_prog_CC
  4286. if test -n "$CC"; then
  4287. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  4288. $as_echo "$CC" >&6; }
  4289. else
  4290. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4291. $as_echo "no" >&6; }
  4292. fi
  4293. fi
  4294. if test -z "$CC"; then
  4295. if test -n "$ac_tool_prefix"; then
  4296. for ac_prog in cl.exe
  4297. do
  4298. # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  4299. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  4300. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4301. $as_echo_n "checking for $ac_word... " >&6; }
  4302. if test "${ac_cv_prog_CC+set}" = set; then :
  4303. $as_echo_n "(cached) " >&6
  4304. else
  4305. if test -n "$CC"; then
  4306. ac_cv_prog_CC="$CC" # Let the user override the test.
  4307. else
  4308. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4309. for as_dir in $PATH
  4310. do
  4311. IFS=$as_save_IFS
  4312. test -z "$as_dir" && as_dir=.
  4313. for ac_exec_ext in '' $ac_executable_extensions; do
  4314. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4315. ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  4316. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4317. break 2
  4318. fi
  4319. done
  4320. done
  4321. IFS=$as_save_IFS
  4322. fi
  4323. fi
  4324. CC=$ac_cv_prog_CC
  4325. if test -n "$CC"; then
  4326. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  4327. $as_echo "$CC" >&6; }
  4328. else
  4329. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4330. $as_echo "no" >&6; }
  4331. fi
  4332. test -n "$CC" && break
  4333. done
  4334. fi
  4335. if test -z "$CC"; then
  4336. ac_ct_CC=$CC
  4337. for ac_prog in cl.exe
  4338. do
  4339. # Extract the first word of "$ac_prog", so it can be a program name with args.
  4340. set dummy $ac_prog; ac_word=$2
  4341. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4342. $as_echo_n "checking for $ac_word... " >&6; }
  4343. if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
  4344. $as_echo_n "(cached) " >&6
  4345. else
  4346. if test -n "$ac_ct_CC"; then
  4347. ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  4348. else
  4349. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4350. for as_dir in $PATH
  4351. do
  4352. IFS=$as_save_IFS
  4353. test -z "$as_dir" && as_dir=.
  4354. for ac_exec_ext in '' $ac_executable_extensions; do
  4355. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4356. ac_cv_prog_ac_ct_CC="$ac_prog"
  4357. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4358. break 2
  4359. fi
  4360. done
  4361. done
  4362. IFS=$as_save_IFS
  4363. fi
  4364. fi
  4365. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  4366. if test -n "$ac_ct_CC"; then
  4367. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  4368. $as_echo "$ac_ct_CC" >&6; }
  4369. else
  4370. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4371. $as_echo "no" >&6; }
  4372. fi
  4373. test -n "$ac_ct_CC" && break
  4374. done
  4375. if test "x$ac_ct_CC" = x; then
  4376. CC=""
  4377. else
  4378. case $cross_compiling:$ac_tool_warned in
  4379. yes:)
  4380. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  4381. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  4382. ac_tool_warned=yes ;;
  4383. esac
  4384. CC=$ac_ct_CC
  4385. fi
  4386. fi
  4387. fi
  4388. test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  4389. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  4390. as_fn_error "no acceptable C compiler found in \$PATH
  4391. See \`config.log' for more details." "$LINENO" 5; }
  4392. # Provide some information about the compiler.
  4393. $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
  4394. set X $ac_compile
  4395. ac_compiler=$2
  4396. for ac_option in --version -v -V -qversion; do
  4397. { { ac_try="$ac_compiler $ac_option >&5"
  4398. case "(($ac_try" in
  4399. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4400. *) ac_try_echo=$ac_try;;
  4401. esac
  4402. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  4403. $as_echo "$ac_try_echo"; } >&5
  4404. (eval "$ac_compiler $ac_option >&5") 2>conftest.err
  4405. ac_status=$?
  4406. if test -s conftest.err; then
  4407. sed '10a\
  4408. ... rest of stderr output deleted ...
  4409. 10q' conftest.err >conftest.er1
  4410. cat conftest.er1 >&5
  4411. rm -f conftest.er1 conftest.err
  4412. fi
  4413. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  4414. test $ac_status = 0; }
  4415. done
  4416. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
  4417. $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
  4418. if test "${ac_cv_c_compiler_gnu+set}" = set; then :
  4419. $as_echo_n "(cached) " >&6
  4420. else
  4421. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4422. /* end confdefs.h. */
  4423. int
  4424. main ()
  4425. {
  4426. #ifndef __GNUC__
  4427. choke me
  4428. #endif
  4429. ;
  4430. return 0;
  4431. }
  4432. _ACEOF
  4433. if ac_fn_c_try_compile "$LINENO"; then :
  4434. ac_compiler_gnu=yes
  4435. else
  4436. ac_compiler_gnu=no
  4437. fi
  4438. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4439. ac_cv_c_compiler_gnu=$ac_compiler_gnu
  4440. fi
  4441. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
  4442. $as_echo "$ac_cv_c_compiler_gnu" >&6; }
  4443. if test $ac_compiler_gnu = yes; then
  4444. GCC=yes
  4445. else
  4446. GCC=
  4447. fi
  4448. ac_test_CFLAGS=${CFLAGS+set}
  4449. ac_save_CFLAGS=$CFLAGS
  4450. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
  4451. $as_echo_n "checking whether $CC accepts -g... " >&6; }
  4452. if test "${ac_cv_prog_cc_g+set}" = set; then :
  4453. $as_echo_n "(cached) " >&6
  4454. else
  4455. ac_save_c_werror_flag=$ac_c_werror_flag
  4456. ac_c_werror_flag=yes
  4457. ac_cv_prog_cc_g=no
  4458. CFLAGS="-g"
  4459. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4460. /* end confdefs.h. */
  4461. int
  4462. main ()
  4463. {
  4464. ;
  4465. return 0;
  4466. }
  4467. _ACEOF
  4468. if ac_fn_c_try_compile "$LINENO"; then :
  4469. ac_cv_prog_cc_g=yes
  4470. else
  4471. CFLAGS=""
  4472. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4473. /* end confdefs.h. */
  4474. int
  4475. main ()
  4476. {
  4477. ;
  4478. return 0;
  4479. }
  4480. _ACEOF
  4481. if ac_fn_c_try_compile "$LINENO"; then :
  4482. else
  4483. ac_c_werror_flag=$ac_save_c_werror_flag
  4484. CFLAGS="-g"
  4485. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4486. /* end confdefs.h. */
  4487. int
  4488. main ()
  4489. {
  4490. ;
  4491. return 0;
  4492. }
  4493. _ACEOF
  4494. if ac_fn_c_try_compile "$LINENO"; then :
  4495. ac_cv_prog_cc_g=yes
  4496. fi
  4497. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4498. fi
  4499. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4500. fi
  4501. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4502. ac_c_werror_flag=$ac_save_c_werror_flag
  4503. fi
  4504. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
  4505. $as_echo "$ac_cv_prog_cc_g" >&6; }
  4506. if test "$ac_test_CFLAGS" = set; then
  4507. CFLAGS=$ac_save_CFLAGS
  4508. elif test $ac_cv_prog_cc_g = yes; then
  4509. if test "$GCC" = yes; then
  4510. CFLAGS="-g -O2"
  4511. else
  4512. CFLAGS="-g"
  4513. fi
  4514. else
  4515. if test "$GCC" = yes; then
  4516. CFLAGS="-O2"
  4517. else
  4518. CFLAGS=
  4519. fi
  4520. fi
  4521. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
  4522. $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
  4523. if test "${ac_cv_prog_cc_c89+set}" = set; then :
  4524. $as_echo_n "(cached) " >&6
  4525. else
  4526. ac_cv_prog_cc_c89=no
  4527. ac_save_CC=$CC
  4528. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4529. /* end confdefs.h. */
  4530. #include <stdarg.h>
  4531. #include <stdio.h>
  4532. #include <sys/types.h>
  4533. #include <sys/stat.h>
  4534. /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
  4535. struct buf { int x; };
  4536. FILE * (*rcsopen) (struct buf *, struct stat *, int);
  4537. static char *e (p, i)
  4538. char **p;
  4539. int i;
  4540. {
  4541. return p[i];
  4542. }
  4543. static char *f (char * (*g) (char **, int), char **p, ...)
  4544. {
  4545. char *s;
  4546. va_list v;
  4547. va_start (v,p);
  4548. s = g (p, va_arg (v,int));
  4549. va_end (v);
  4550. return s;
  4551. }
  4552. /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
  4553. function prototypes and stuff, but not '\xHH' hex character constants.
  4554. These don't provoke an error unfortunately, instead are silently treated
  4555. as 'x'. The following induces an error, until -std is added to get
  4556. proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
  4557. array size at least. It's necessary to write '\x00'==0 to get something
  4558. that's true only with -std. */
  4559. int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  4560. /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  4561. inside strings and character constants. */
  4562. #define FOO(x) 'x'
  4563. int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  4564. int test (int i, double x);
  4565. struct s1 {int (*f) (int a);};
  4566. struct s2 {int (*f) (double a);};
  4567. int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  4568. int argc;
  4569. char **argv;
  4570. int
  4571. main ()
  4572. {
  4573. return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
  4574. ;
  4575. return 0;
  4576. }
  4577. _ACEOF
  4578. for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  4579. -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  4580. do
  4581. CC="$ac_save_CC $ac_arg"
  4582. if ac_fn_c_try_compile "$LINENO"; then :
  4583. ac_cv_prog_cc_c89=$ac_arg
  4584. fi
  4585. rm -f core conftest.err conftest.$ac_objext
  4586. test "x$ac_cv_prog_cc_c89" != "xno" && break
  4587. done
  4588. rm -f conftest.$ac_ext
  4589. CC=$ac_save_CC
  4590. fi
  4591. # AC_CACHE_VAL
  4592. case "x$ac_cv_prog_cc_c89" in
  4593. x)
  4594. { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
  4595. $as_echo "none needed" >&6; } ;;
  4596. xno)
  4597. { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
  4598. $as_echo "unsupported" >&6; } ;;
  4599. *)
  4600. CC="$CC $ac_cv_prog_cc_c89"
  4601. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
  4602. $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
  4603. esac
  4604. if test "x$ac_cv_prog_cc_c89" != xno; then :
  4605. fi
  4606. ac_ext=c
  4607. ac_cpp='$CPP $CPPFLAGS'
  4608. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4609. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4610. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  4611. depcc="$CC" am_compiler_list=
  4612. { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
  4613. $as_echo_n "checking dependency style of $depcc... " >&6; }
  4614. if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
  4615. $as_echo_n "(cached) " >&6
  4616. else
  4617. if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  4618. # We make a subdir and do the tests there. Otherwise we can end up
  4619. # making bogus files that we don't know about and never remove. For
  4620. # instance it was reported that on HP-UX the gcc test will end up
  4621. # making a dummy file named `D' -- because `-MD' means `put the output
  4622. # in D'.
  4623. mkdir conftest.dir
  4624. # Copy depcomp to subdir because otherwise we won't find it if we're
  4625. # using a relative directory.
  4626. cp "$am_depcomp" conftest.dir
  4627. cd conftest.dir
  4628. # We will build objects and dependencies in a subdirectory because
  4629. # it helps to detect inapplicable dependency modes. For instance
  4630. # both Tru64's cc and ICC support -MD to output dependencies as a
  4631. # side effect of compilation, but ICC will put the dependencies in
  4632. # the current directory while Tru64 will put them in the object
  4633. # directory.
  4634. mkdir sub
  4635. am_cv_CC_dependencies_compiler_type=none
  4636. if test "$am_compiler_list" = ""; then
  4637. am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  4638. fi
  4639. am__universal=false
  4640. case " $depcc " in #(
  4641. *\ -arch\ *\ -arch\ *) am__universal=true ;;
  4642. esac
  4643. for depmode in $am_compiler_list; do
  4644. # Setup a source with many dependencies, because some compilers
  4645. # like to wrap large dependency lists on column 80 (with \), and
  4646. # we should not choose a depcomp mode which is confused by this.
  4647. #
  4648. # We need to recreate these files for each test, as the compiler may
  4649. # overwrite some of them when testing with obscure command lines.
  4650. # This happens at least with the AIX C compiler.
  4651. : > sub/conftest.c
  4652. for i in 1 2 3 4 5 6; do
  4653. echo '#include "conftst'$i'.h"' >> sub/conftest.c
  4654. # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
  4655. # Solaris 8's {/usr,}/bin/sh.
  4656. touch sub/conftst$i.h
  4657. done
  4658. echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  4659. # We check with `-c' and `-o' for the sake of the "dashmstdout"
  4660. # mode. It turns out that the SunPro C++ compiler does not properly
  4661. # handle `-M -o', and we need to detect this. Also, some Intel
  4662. # versions had trouble with output in subdirs
  4663. am__obj=sub/conftest.${OBJEXT-o}
  4664. am__minus_obj="-o $am__obj"
  4665. case $depmode in
  4666. gcc)
  4667. # This depmode causes a compiler race in universal mode.
  4668. test "$am__universal" = false || continue
  4669. ;;
  4670. nosideeffect)
  4671. # after this tag, mechanisms are not by side-effect, so they'll
  4672. # only be used when explicitly requested
  4673. if test "x$enable_dependency_tracking" = xyes; then
  4674. continue
  4675. else
  4676. break
  4677. fi
  4678. ;;
  4679. msvisualcpp | msvcmsys)
  4680. # This compiler won't grok `-c -o', but also, the minuso test has
  4681. # not run yet. These depmodes are late enough in the game, and
  4682. # so weak that their functioning should not be impacted.
  4683. am__obj=conftest.${OBJEXT-o}
  4684. am__minus_obj=
  4685. ;;
  4686. none) break ;;
  4687. esac
  4688. if depmode=$depmode \
  4689. source=sub/conftest.c object=$am__obj \
  4690. depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  4691. $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
  4692. >/dev/null 2>conftest.err &&
  4693. grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
  4694. grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  4695. grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
  4696. ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  4697. # icc doesn't choke on unknown options, it will just issue warnings
  4698. # or remarks (even with -Werror). So we grep stderr for any message
  4699. # that says an option was ignored or not supported.
  4700. # When given -MP, icc 7.0 and 7.1 complain thusly:
  4701. # icc: Command line warning: ignoring option '-M'; no argument required
  4702. # The diagnosis changed in icc 8.0:
  4703. # icc: Command line remark: option '-MP' not supported
  4704. if (grep 'ignoring option' conftest.err ||
  4705. grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  4706. am_cv_CC_dependencies_compiler_type=$depmode
  4707. break
  4708. fi
  4709. fi
  4710. done
  4711. cd ..
  4712. rm -rf conftest.dir
  4713. else
  4714. am_cv_CC_dependencies_compiler_type=none
  4715. fi
  4716. fi
  4717. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
  4718. $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
  4719. CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  4720. if
  4721. test "x$enable_dependency_tracking" != xno \
  4722. && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  4723. am__fastdepCC_TRUE=
  4724. am__fastdepCC_FALSE='#'
  4725. else
  4726. am__fastdepCC_TRUE='#'
  4727. am__fastdepCC_FALSE=
  4728. fi
  4729. ac_ext=cpp
  4730. ac_cpp='$CXXCPP $CPPFLAGS'
  4731. ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4732. ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4733. ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  4734. if test -z "$CXX"; then
  4735. if test -n "$CCC"; then
  4736. CXX=$CCC
  4737. else
  4738. if test -n "$ac_tool_prefix"; then
  4739. for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
  4740. do
  4741. # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  4742. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  4743. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4744. $as_echo_n "checking for $ac_word... " >&6; }
  4745. if test "${ac_cv_prog_CXX+set}" = set; then :
  4746. $as_echo_n "(cached) " >&6
  4747. else
  4748. if test -n "$CXX"; then
  4749. ac_cv_prog_CXX="$CXX" # Let the user override the test.
  4750. else
  4751. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4752. for as_dir in $PATH
  4753. do
  4754. IFS=$as_save_IFS
  4755. test -z "$as_dir" && as_dir=.
  4756. for ac_exec_ext in '' $ac_executable_extensions; do
  4757. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4758. ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
  4759. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4760. break 2
  4761. fi
  4762. done
  4763. done
  4764. IFS=$as_save_IFS
  4765. fi
  4766. fi
  4767. CXX=$ac_cv_prog_CXX
  4768. if test -n "$CXX"; then
  4769. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
  4770. $as_echo "$CXX" >&6; }
  4771. else
  4772. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4773. $as_echo "no" >&6; }
  4774. fi
  4775. test -n "$CXX" && break
  4776. done
  4777. fi
  4778. if test -z "$CXX"; then
  4779. ac_ct_CXX=$CXX
  4780. for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
  4781. do
  4782. # Extract the first word of "$ac_prog", so it can be a program name with args.
  4783. set dummy $ac_prog; ac_word=$2
  4784. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4785. $as_echo_n "checking for $ac_word... " >&6; }
  4786. if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
  4787. $as_echo_n "(cached) " >&6
  4788. else
  4789. if test -n "$ac_ct_CXX"; then
  4790. ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
  4791. else
  4792. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4793. for as_dir in $PATH
  4794. do
  4795. IFS=$as_save_IFS
  4796. test -z "$as_dir" && as_dir=.
  4797. for ac_exec_ext in '' $ac_executable_extensions; do
  4798. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4799. ac_cv_prog_ac_ct_CXX="$ac_prog"
  4800. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4801. break 2
  4802. fi
  4803. done
  4804. done
  4805. IFS=$as_save_IFS
  4806. fi
  4807. fi
  4808. ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
  4809. if test -n "$ac_ct_CXX"; then
  4810. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
  4811. $as_echo "$ac_ct_CXX" >&6; }
  4812. else
  4813. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4814. $as_echo "no" >&6; }
  4815. fi
  4816. test -n "$ac_ct_CXX" && break
  4817. done
  4818. if test "x$ac_ct_CXX" = x; then
  4819. CXX="g++"
  4820. else
  4821. case $cross_compiling:$ac_tool_warned in
  4822. yes:)
  4823. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  4824. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  4825. ac_tool_warned=yes ;;
  4826. esac
  4827. CXX=$ac_ct_CXX
  4828. fi
  4829. fi
  4830. fi
  4831. fi
  4832. # Provide some information about the compiler.
  4833. $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
  4834. set X $ac_compile
  4835. ac_compiler=$2
  4836. for ac_option in --version -v -V -qversion; do
  4837. { { ac_try="$ac_compiler $ac_option >&5"
  4838. case "(($ac_try" in
  4839. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4840. *) ac_try_echo=$ac_try;;
  4841. esac
  4842. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  4843. $as_echo "$ac_try_echo"; } >&5
  4844. (eval "$ac_compiler $ac_option >&5") 2>conftest.err
  4845. ac_status=$?
  4846. if test -s conftest.err; then
  4847. sed '10a\
  4848. ... rest of stderr output deleted ...
  4849. 10q' conftest.err >conftest.er1
  4850. cat conftest.er1 >&5
  4851. rm -f conftest.er1 conftest.err
  4852. fi
  4853. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  4854. test $ac_status = 0; }
  4855. done
  4856. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
  4857. $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
  4858. if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
  4859. $as_echo_n "(cached) " >&6
  4860. else
  4861. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4862. /* end confdefs.h. */
  4863. int
  4864. main ()
  4865. {
  4866. #ifndef __GNUC__
  4867. choke me
  4868. #endif
  4869. ;
  4870. return 0;
  4871. }
  4872. _ACEOF
  4873. if ac_fn_cxx_try_compile "$LINENO"; then :
  4874. ac_compiler_gnu=yes
  4875. else
  4876. ac_compiler_gnu=no
  4877. fi
  4878. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4879. ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
  4880. fi
  4881. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
  4882. $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
  4883. if test $ac_compiler_gnu = yes; then
  4884. GXX=yes
  4885. else
  4886. GXX=
  4887. fi
  4888. ac_test_CXXFLAGS=${CXXFLAGS+set}
  4889. ac_save_CXXFLAGS=$CXXFLAGS
  4890. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
  4891. $as_echo_n "checking whether $CXX accepts -g... " >&6; }
  4892. if test "${ac_cv_prog_cxx_g+set}" = set; then :
  4893. $as_echo_n "(cached) " >&6
  4894. else
  4895. ac_save_cxx_werror_flag=$ac_cxx_werror_flag
  4896. ac_cxx_werror_flag=yes
  4897. ac_cv_prog_cxx_g=no
  4898. CXXFLAGS="-g"
  4899. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4900. /* end confdefs.h. */
  4901. int
  4902. main ()
  4903. {
  4904. ;
  4905. return 0;
  4906. }
  4907. _ACEOF
  4908. if ac_fn_cxx_try_compile "$LINENO"; then :
  4909. ac_cv_prog_cxx_g=yes
  4910. else
  4911. CXXFLAGS=""
  4912. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4913. /* end confdefs.h. */
  4914. int
  4915. main ()
  4916. {
  4917. ;
  4918. return 0;
  4919. }
  4920. _ACEOF
  4921. if ac_fn_cxx_try_compile "$LINENO"; then :
  4922. else
  4923. ac_cxx_werror_flag=$ac_save_cxx_werror_flag
  4924. CXXFLAGS="-g"
  4925. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4926. /* end confdefs.h. */
  4927. int
  4928. main ()
  4929. {
  4930. ;
  4931. return 0;
  4932. }
  4933. _ACEOF
  4934. if ac_fn_cxx_try_compile "$LINENO"; then :
  4935. ac_cv_prog_cxx_g=yes
  4936. fi
  4937. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4938. fi
  4939. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4940. fi
  4941. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4942. ac_cxx_werror_flag=$ac_save_cxx_werror_flag
  4943. fi
  4944. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
  4945. $as_echo "$ac_cv_prog_cxx_g" >&6; }
  4946. if test "$ac_test_CXXFLAGS" = set; then
  4947. CXXFLAGS=$ac_save_CXXFLAGS
  4948. elif test $ac_cv_prog_cxx_g = yes; then
  4949. if test "$GXX" = yes; then
  4950. CXXFLAGS="-g -O2"
  4951. else
  4952. CXXFLAGS="-g"
  4953. fi
  4954. else
  4955. if test "$GXX" = yes; then
  4956. CXXFLAGS="-O2"
  4957. else
  4958. CXXFLAGS=
  4959. fi
  4960. fi
  4961. ac_ext=c
  4962. ac_cpp='$CPP $CPPFLAGS'
  4963. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4964. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4965. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  4966. depcc="$CXX" am_compiler_list=
  4967. { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
  4968. $as_echo_n "checking dependency style of $depcc... " >&6; }
  4969. if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
  4970. $as_echo_n "(cached) " >&6
  4971. else
  4972. if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  4973. # We make a subdir and do the tests there. Otherwise we can end up
  4974. # making bogus files that we don't know about and never remove. For
  4975. # instance it was reported that on HP-UX the gcc test will end up
  4976. # making a dummy file named `D' -- because `-MD' means `put the output
  4977. # in D'.
  4978. mkdir conftest.dir
  4979. # Copy depcomp to subdir because otherwise we won't find it if we're
  4980. # using a relative directory.
  4981. cp "$am_depcomp" conftest.dir
  4982. cd conftest.dir
  4983. # We will build objects and dependencies in a subdirectory because
  4984. # it helps to detect inapplicable dependency modes. For instance
  4985. # both Tru64's cc and ICC support -MD to output dependencies as a
  4986. # side effect of compilation, but ICC will put the dependencies in
  4987. # the current directory while Tru64 will put them in the object
  4988. # directory.
  4989. mkdir sub
  4990. am_cv_CXX_dependencies_compiler_type=none
  4991. if test "$am_compiler_list" = ""; then
  4992. am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  4993. fi
  4994. am__universal=false
  4995. case " $depcc " in #(
  4996. *\ -arch\ *\ -arch\ *) am__universal=true ;;
  4997. esac
  4998. for depmode in $am_compiler_list; do
  4999. # Setup a source with many dependencies, because some compilers
  5000. # like to wrap large dependency lists on column 80 (with \), and
  5001. # we should not choose a depcomp mode which is confused by this.
  5002. #
  5003. # We need to recreate these files for each test, as the compiler may
  5004. # overwrite some of them when testing with obscure command lines.
  5005. # This happens at least with the AIX C compiler.
  5006. : > sub/conftest.c
  5007. for i in 1 2 3 4 5 6; do
  5008. echo '#include "conftst'$i'.h"' >> sub/conftest.c
  5009. # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
  5010. # Solaris 8's {/usr,}/bin/sh.
  5011. touch sub/conftst$i.h
  5012. done
  5013. echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  5014. # We check with `-c' and `-o' for the sake of the "dashmstdout"
  5015. # mode. It turns out that the SunPro C++ compiler does not properly
  5016. # handle `-M -o', and we need to detect this. Also, some Intel
  5017. # versions had trouble with output in subdirs
  5018. am__obj=sub/conftest.${OBJEXT-o}
  5019. am__minus_obj="-o $am__obj"
  5020. case $depmode in
  5021. gcc)
  5022. # This depmode causes a compiler race in universal mode.
  5023. test "$am__universal" = false || continue
  5024. ;;
  5025. nosideeffect)
  5026. # after this tag, mechanisms are not by side-effect, so they'll
  5027. # only be used when explicitly requested
  5028. if test "x$enable_dependency_tracking" = xyes; then
  5029. continue
  5030. else
  5031. break
  5032. fi
  5033. ;;
  5034. msvisualcpp | msvcmsys)
  5035. # This compiler won't grok `-c -o', but also, the minuso test has
  5036. # not run yet. These depmodes are late enough in the game, and
  5037. # so weak that their functioning should not be impacted.
  5038. am__obj=conftest.${OBJEXT-o}
  5039. am__minus_obj=
  5040. ;;
  5041. none) break ;;
  5042. esac
  5043. if depmode=$depmode \
  5044. source=sub/conftest.c object=$am__obj \
  5045. depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  5046. $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
  5047. >/dev/null 2>conftest.err &&
  5048. grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
  5049. grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  5050. grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
  5051. ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  5052. # icc doesn't choke on unknown options, it will just issue warnings
  5053. # or remarks (even with -Werror). So we grep stderr for any message
  5054. # that says an option was ignored or not supported.
  5055. # When given -MP, icc 7.0 and 7.1 complain thusly:
  5056. # icc: Command line warning: ignoring option '-M'; no argument required
  5057. # The diagnosis changed in icc 8.0:
  5058. # icc: Command line remark: option '-MP' not supported
  5059. if (grep 'ignoring option' conftest.err ||
  5060. grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  5061. am_cv_CXX_dependencies_compiler_type=$depmode
  5062. break
  5063. fi
  5064. fi
  5065. done
  5066. cd ..
  5067. rm -rf conftest.dir
  5068. else
  5069. am_cv_CXX_dependencies_compiler_type=none
  5070. fi
  5071. fi
  5072. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
  5073. $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
  5074. CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
  5075. if
  5076. test "x$enable_dependency_tracking" != xno \
  5077. && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
  5078. am__fastdepCXX_TRUE=
  5079. am__fastdepCXX_FALSE='#'
  5080. else
  5081. am__fastdepCXX_TRUE='#'
  5082. am__fastdepCXX_FALSE=
  5083. fi
  5084. if test "x$CC" != xcc; then
  5085. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
  5086. $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
  5087. else
  5088. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
  5089. $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
  5090. fi
  5091. set dummy $CC; ac_cc=`$as_echo "$2" |
  5092. sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
  5093. if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
  5094. $as_echo_n "(cached) " >&6
  5095. else
  5096. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5097. /* end confdefs.h. */
  5098. int
  5099. main ()
  5100. {
  5101. ;
  5102. return 0;
  5103. }
  5104. _ACEOF
  5105. # Make sure it works both with $CC and with simple cc.
  5106. # We do the test twice because some compilers refuse to overwrite an
  5107. # existing .o file with -o, though they will create one.
  5108. ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
  5109. rm -f conftest2.*
  5110. if { { case "(($ac_try" in
  5111. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5112. *) ac_try_echo=$ac_try;;
  5113. esac
  5114. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  5115. $as_echo "$ac_try_echo"; } >&5
  5116. (eval "$ac_try") 2>&5
  5117. ac_status=$?
  5118. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  5119. test $ac_status = 0; } &&
  5120. test -f conftest2.$ac_objext && { { case "(($ac_try" in
  5121. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5122. *) ac_try_echo=$ac_try;;
  5123. esac
  5124. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  5125. $as_echo "$ac_try_echo"; } >&5
  5126. (eval "$ac_try") 2>&5
  5127. ac_status=$?
  5128. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  5129. test $ac_status = 0; };
  5130. then
  5131. eval ac_cv_prog_cc_${ac_cc}_c_o=yes
  5132. if test "x$CC" != xcc; then
  5133. # Test first that cc exists at all.
  5134. if { ac_try='cc -c conftest.$ac_ext >&5'
  5135. { { case "(($ac_try" in
  5136. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5137. *) ac_try_echo=$ac_try;;
  5138. esac
  5139. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  5140. $as_echo "$ac_try_echo"; } >&5
  5141. (eval "$ac_try") 2>&5
  5142. ac_status=$?
  5143. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  5144. test $ac_status = 0; }; }; then
  5145. ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
  5146. rm -f conftest2.*
  5147. if { { case "(($ac_try" in
  5148. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5149. *) ac_try_echo=$ac_try;;
  5150. esac
  5151. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  5152. $as_echo "$ac_try_echo"; } >&5
  5153. (eval "$ac_try") 2>&5
  5154. ac_status=$?
  5155. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  5156. test $ac_status = 0; } &&
  5157. test -f conftest2.$ac_objext && { { case "(($ac_try" in
  5158. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5159. *) ac_try_echo=$ac_try;;
  5160. esac
  5161. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  5162. $as_echo "$ac_try_echo"; } >&5
  5163. (eval "$ac_try") 2>&5
  5164. ac_status=$?
  5165. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  5166. test $ac_status = 0; };
  5167. then
  5168. # cc works too.
  5169. :
  5170. else
  5171. # cc exists but doesn't like -o.
  5172. eval ac_cv_prog_cc_${ac_cc}_c_o=no
  5173. fi
  5174. fi
  5175. fi
  5176. else
  5177. eval ac_cv_prog_cc_${ac_cc}_c_o=no
  5178. fi
  5179. rm -f core conftest*
  5180. fi
  5181. if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
  5182. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  5183. $as_echo "yes" >&6; }
  5184. else
  5185. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5186. $as_echo "no" >&6; }
  5187. $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
  5188. fi
  5189. # FIXME: we rely on the cache variable name because
  5190. # there is no other way.
  5191. set dummy $CC
  5192. am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
  5193. eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
  5194. if test "$am_t" != yes; then
  5195. # Losing compiler, so override with the script.
  5196. # FIXME: It is wrong to rewrite CC.
  5197. # But if we don't then we get into trouble of one sort or another.
  5198. # A longer-term fix would be to have automake use am__CC in this case,
  5199. # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
  5200. CC="$am_aux_dir/compile $CC"
  5201. fi
  5202. # Newer automakes demand CCAS and CCASFLAGS.
  5203. : ${CCAS='$(CC)'}
  5204. : ${CCASFLAGS='$(CFLAGS)'}
  5205. if test -n "$ac_tool_prefix"; then
  5206. # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
  5207. set dummy ${ac_tool_prefix}as; ac_word=$2
  5208. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5209. $as_echo_n "checking for $ac_word... " >&6; }
  5210. if test "${ac_cv_prog_AS+set}" = set; then :
  5211. $as_echo_n "(cached) " >&6
  5212. else
  5213. if test -n "$AS"; then
  5214. ac_cv_prog_AS="$AS" # Let the user override the test.
  5215. else
  5216. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5217. for as_dir in $PATH
  5218. do
  5219. IFS=$as_save_IFS
  5220. test -z "$as_dir" && as_dir=.
  5221. for ac_exec_ext in '' $ac_executable_extensions; do
  5222. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5223. ac_cv_prog_AS="${ac_tool_prefix}as"
  5224. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5225. break 2
  5226. fi
  5227. done
  5228. done
  5229. IFS=$as_save_IFS
  5230. fi
  5231. fi
  5232. AS=$ac_cv_prog_AS
  5233. if test -n "$AS"; then
  5234. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
  5235. $as_echo "$AS" >&6; }
  5236. else
  5237. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5238. $as_echo "no" >&6; }
  5239. fi
  5240. fi
  5241. if test -z "$ac_cv_prog_AS"; then
  5242. ac_ct_AS=$AS
  5243. # Extract the first word of "as", so it can be a program name with args.
  5244. set dummy as; ac_word=$2
  5245. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5246. $as_echo_n "checking for $ac_word... " >&6; }
  5247. if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
  5248. $as_echo_n "(cached) " >&6
  5249. else
  5250. if test -n "$ac_ct_AS"; then
  5251. ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
  5252. else
  5253. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5254. for as_dir in $PATH
  5255. do
  5256. IFS=$as_save_IFS
  5257. test -z "$as_dir" && as_dir=.
  5258. for ac_exec_ext in '' $ac_executable_extensions; do
  5259. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5260. ac_cv_prog_ac_ct_AS="as"
  5261. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5262. break 2
  5263. fi
  5264. done
  5265. done
  5266. IFS=$as_save_IFS
  5267. fi
  5268. fi
  5269. ac_ct_AS=$ac_cv_prog_ac_ct_AS
  5270. if test -n "$ac_ct_AS"; then
  5271. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
  5272. $as_echo "$ac_ct_AS" >&6; }
  5273. else
  5274. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5275. $as_echo "no" >&6; }
  5276. fi
  5277. if test "x$ac_ct_AS" = x; then
  5278. AS=""
  5279. else
  5280. case $cross_compiling:$ac_tool_warned in
  5281. yes:)
  5282. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  5283. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  5284. ac_tool_warned=yes ;;
  5285. esac
  5286. AS=$ac_ct_AS
  5287. fi
  5288. else
  5289. AS="$ac_cv_prog_AS"
  5290. fi
  5291. if test -n "$ac_tool_prefix"; then
  5292. # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
  5293. set dummy ${ac_tool_prefix}ar; ac_word=$2
  5294. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5295. $as_echo_n "checking for $ac_word... " >&6; }
  5296. if test "${ac_cv_prog_AR+set}" = set; then :
  5297. $as_echo_n "(cached) " >&6
  5298. else
  5299. if test -n "$AR"; then
  5300. ac_cv_prog_AR="$AR" # Let the user override the test.
  5301. else
  5302. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5303. for as_dir in $PATH
  5304. do
  5305. IFS=$as_save_IFS
  5306. test -z "$as_dir" && as_dir=.
  5307. for ac_exec_ext in '' $ac_executable_extensions; do
  5308. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5309. ac_cv_prog_AR="${ac_tool_prefix}ar"
  5310. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5311. break 2
  5312. fi
  5313. done
  5314. done
  5315. IFS=$as_save_IFS
  5316. fi
  5317. fi
  5318. AR=$ac_cv_prog_AR
  5319. if test -n "$AR"; then
  5320. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
  5321. $as_echo "$AR" >&6; }
  5322. else
  5323. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5324. $as_echo "no" >&6; }
  5325. fi
  5326. fi
  5327. if test -z "$ac_cv_prog_AR"; then
  5328. ac_ct_AR=$AR
  5329. # Extract the first word of "ar", so it can be a program name with args.
  5330. set dummy ar; ac_word=$2
  5331. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5332. $as_echo_n "checking for $ac_word... " >&6; }
  5333. if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
  5334. $as_echo_n "(cached) " >&6
  5335. else
  5336. if test -n "$ac_ct_AR"; then
  5337. ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
  5338. else
  5339. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5340. for as_dir in $PATH
  5341. do
  5342. IFS=$as_save_IFS
  5343. test -z "$as_dir" && as_dir=.
  5344. for ac_exec_ext in '' $ac_executable_extensions; do
  5345. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5346. ac_cv_prog_ac_ct_AR="ar"
  5347. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5348. break 2
  5349. fi
  5350. done
  5351. done
  5352. IFS=$as_save_IFS
  5353. fi
  5354. fi
  5355. ac_ct_AR=$ac_cv_prog_ac_ct_AR
  5356. if test -n "$ac_ct_AR"; then
  5357. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
  5358. $as_echo "$ac_ct_AR" >&6; }
  5359. else
  5360. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5361. $as_echo "no" >&6; }
  5362. fi
  5363. if test "x$ac_ct_AR" = x; then
  5364. AR=""
  5365. else
  5366. case $cross_compiling:$ac_tool_warned in
  5367. yes:)
  5368. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  5369. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  5370. ac_tool_warned=yes ;;
  5371. esac
  5372. AR=$ac_ct_AR
  5373. fi
  5374. else
  5375. AR="$ac_cv_prog_AR"
  5376. fi
  5377. if test -n "$ac_tool_prefix"; then
  5378. # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
  5379. set dummy ${ac_tool_prefix}ranlib; ac_word=$2
  5380. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5381. $as_echo_n "checking for $ac_word... " >&6; }
  5382. if test "${ac_cv_prog_RANLIB+set}" = set; then :
  5383. $as_echo_n "(cached) " >&6
  5384. else
  5385. if test -n "$RANLIB"; then
  5386. ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
  5387. else
  5388. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5389. for as_dir in $PATH
  5390. do
  5391. IFS=$as_save_IFS
  5392. test -z "$as_dir" && as_dir=.
  5393. for ac_exec_ext in '' $ac_executable_extensions; do
  5394. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5395. ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
  5396. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5397. break 2
  5398. fi
  5399. done
  5400. done
  5401. IFS=$as_save_IFS
  5402. fi
  5403. fi
  5404. RANLIB=$ac_cv_prog_RANLIB
  5405. if test -n "$RANLIB"; then
  5406. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
  5407. $as_echo "$RANLIB" >&6; }
  5408. else
  5409. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5410. $as_echo "no" >&6; }
  5411. fi
  5412. fi
  5413. if test -z "$ac_cv_prog_RANLIB"; then
  5414. ac_ct_RANLIB=$RANLIB
  5415. # Extract the first word of "ranlib", so it can be a program name with args.
  5416. set dummy ranlib; ac_word=$2
  5417. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5418. $as_echo_n "checking for $ac_word... " >&6; }
  5419. if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
  5420. $as_echo_n "(cached) " >&6
  5421. else
  5422. if test -n "$ac_ct_RANLIB"; then
  5423. ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
  5424. else
  5425. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5426. for as_dir in $PATH
  5427. do
  5428. IFS=$as_save_IFS
  5429. test -z "$as_dir" && as_dir=.
  5430. for ac_exec_ext in '' $ac_executable_extensions; do
  5431. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5432. ac_cv_prog_ac_ct_RANLIB="ranlib"
  5433. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5434. break 2
  5435. fi
  5436. done
  5437. done
  5438. IFS=$as_save_IFS
  5439. fi
  5440. fi
  5441. ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
  5442. if test -n "$ac_ct_RANLIB"; then
  5443. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
  5444. $as_echo "$ac_ct_RANLIB" >&6; }
  5445. else
  5446. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5447. $as_echo "no" >&6; }
  5448. fi
  5449. if test "x$ac_ct_RANLIB" = x; then
  5450. RANLIB=":"
  5451. else
  5452. case $cross_compiling:$ac_tool_warned in
  5453. yes:)
  5454. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  5455. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  5456. ac_tool_warned=yes ;;
  5457. esac
  5458. RANLIB=$ac_ct_RANLIB
  5459. fi
  5460. else
  5461. RANLIB="$ac_cv_prog_RANLIB"
  5462. fi
  5463. # Configure libtool
  5464. enable_dlopen=yes
  5465. case `pwd` in
  5466. *\ * | *\ *)
  5467. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
  5468. $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
  5469. esac
  5470. macro_version='2.2.7a'
  5471. macro_revision='1.3134'
  5472. ltmain="$ac_aux_dir/ltmain.sh"
  5473. # Backslashify metacharacters that are still active within
  5474. # double-quoted strings.
  5475. sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
  5476. # Same as above, but do not quote variable references.
  5477. double_quote_subst='s/\(["`\\]\)/\\\1/g'
  5478. # Sed substitution to delay expansion of an escaped shell variable in a
  5479. # double_quote_subst'ed string.
  5480. delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
  5481. # Sed substitution to delay expansion of an escaped single quote.
  5482. delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
  5483. # Sed substitution to avoid accidental globbing in evaled expressions
  5484. no_glob_subst='s/\*/\\\*/g'
  5485. ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  5486. ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
  5487. ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
  5488. { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
  5489. $as_echo_n "checking how to print strings... " >&6; }
  5490. # Test print first, because it will be a builtin if present.
  5491. if test "X`print -r -- -n 2>/dev/null`" = X-n && \
  5492. test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
  5493. ECHO='print -r --'
  5494. elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
  5495. ECHO='printf %s\n'
  5496. else
  5497. # Use this function as a fallback that always works.
  5498. func_fallback_echo ()
  5499. {
  5500. eval 'cat <<_LTECHO_EOF
  5501. $1
  5502. _LTECHO_EOF'
  5503. }
  5504. ECHO='func_fallback_echo'
  5505. fi
  5506. # func_echo_all arg...
  5507. # Invoke $ECHO with all args, space-separated.
  5508. func_echo_all ()
  5509. {
  5510. $ECHO ""
  5511. }
  5512. case "$ECHO" in
  5513. printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
  5514. $as_echo "printf" >&6; } ;;
  5515. print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
  5516. $as_echo "print -r" >&6; } ;;
  5517. *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
  5518. $as_echo "cat" >&6; } ;;
  5519. esac
  5520. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
  5521. $as_echo_n "checking for a sed that does not truncate output... " >&6; }
  5522. if test "${ac_cv_path_SED+set}" = set; then :
  5523. $as_echo_n "(cached) " >&6
  5524. else
  5525. ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
  5526. for ac_i in 1 2 3 4 5 6 7; do
  5527. ac_script="$ac_script$as_nl$ac_script"
  5528. done
  5529. echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
  5530. { ac_script=; unset ac_script;}
  5531. if test -z "$SED"; then
  5532. ac_path_SED_found=false
  5533. # Loop through the user's path and test for each of PROGNAME-LIST
  5534. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5535. for as_dir in $PATH
  5536. do
  5537. IFS=$as_save_IFS
  5538. test -z "$as_dir" && as_dir=.
  5539. for ac_prog in sed gsed; do
  5540. for ac_exec_ext in '' $ac_executable_extensions; do
  5541. ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
  5542. { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
  5543. # Check for GNU ac_path_SED and select it if it is found.
  5544. # Check for GNU $ac_path_SED
  5545. case `"$ac_path_SED" --version 2>&1` in
  5546. *GNU*)
  5547. ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
  5548. *)
  5549. ac_count=0
  5550. $as_echo_n 0123456789 >"conftest.in"
  5551. while :
  5552. do
  5553. cat "conftest.in" "conftest.in" >"conftest.tmp"
  5554. mv "conftest.tmp" "conftest.in"
  5555. cp "conftest.in" "conftest.nl"
  5556. $as_echo '' >> "conftest.nl"
  5557. "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
  5558. diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  5559. as_fn_arith $ac_count + 1 && ac_count=$as_val
  5560. if test $ac_count -gt ${ac_path_SED_max-0}; then
  5561. # Best one so far, save it but keep looking for a better one
  5562. ac_cv_path_SED="$ac_path_SED"
  5563. ac_path_SED_max=$ac_count
  5564. fi
  5565. # 10*(2^10) chars as input seems more than enough
  5566. test $ac_count -gt 10 && break
  5567. done
  5568. rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  5569. esac
  5570. $ac_path_SED_found && break 3
  5571. done
  5572. done
  5573. done
  5574. IFS=$as_save_IFS
  5575. if test -z "$ac_cv_path_SED"; then
  5576. as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
  5577. fi
  5578. else
  5579. ac_cv_path_SED=$SED
  5580. fi
  5581. fi
  5582. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
  5583. $as_echo "$ac_cv_path_SED" >&6; }
  5584. SED="$ac_cv_path_SED"
  5585. rm -f conftest.sed
  5586. test -z "$SED" && SED=sed
  5587. Xsed="$SED -e 1s/^X//"
  5588. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
  5589. $as_echo_n "checking for fgrep... " >&6; }
  5590. if test "${ac_cv_path_FGREP+set}" = set; then :
  5591. $as_echo_n "(cached) " >&6
  5592. else
  5593. if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
  5594. then ac_cv_path_FGREP="$GREP -F"
  5595. else
  5596. if test -z "$FGREP"; then
  5597. ac_path_FGREP_found=false
  5598. # Loop through the user's path and test for each of PROGNAME-LIST
  5599. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5600. for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  5601. do
  5602. IFS=$as_save_IFS
  5603. test -z "$as_dir" && as_dir=.
  5604. for ac_prog in fgrep; do
  5605. for ac_exec_ext in '' $ac_executable_extensions; do
  5606. ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
  5607. { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
  5608. # Check for GNU ac_path_FGREP and select it if it is found.
  5609. # Check for GNU $ac_path_FGREP
  5610. case `"$ac_path_FGREP" --version 2>&1` in
  5611. *GNU*)
  5612. ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
  5613. *)
  5614. ac_count=0
  5615. $as_echo_n 0123456789 >"conftest.in"
  5616. while :
  5617. do
  5618. cat "conftest.in" "conftest.in" >"conftest.tmp"
  5619. mv "conftest.tmp" "conftest.in"
  5620. cp "conftest.in" "conftest.nl"
  5621. $as_echo 'FGREP' >> "conftest.nl"
  5622. "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
  5623. diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  5624. as_fn_arith $ac_count + 1 && ac_count=$as_val
  5625. if test $ac_count -gt ${ac_path_FGREP_max-0}; then
  5626. # Best one so far, save it but keep looking for a better one
  5627. ac_cv_path_FGREP="$ac_path_FGREP"
  5628. ac_path_FGREP_max=$ac_count
  5629. fi
  5630. # 10*(2^10) chars as input seems more than enough
  5631. test $ac_count -gt 10 && break
  5632. done
  5633. rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  5634. esac
  5635. $ac_path_FGREP_found && break 3
  5636. done
  5637. done
  5638. done
  5639. IFS=$as_save_IFS
  5640. if test -z "$ac_cv_path_FGREP"; then
  5641. as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  5642. fi
  5643. else
  5644. ac_cv_path_FGREP=$FGREP
  5645. fi
  5646. fi
  5647. fi
  5648. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
  5649. $as_echo "$ac_cv_path_FGREP" >&6; }
  5650. FGREP="$ac_cv_path_FGREP"
  5651. test -z "$GREP" && GREP=grep
  5652. # Check whether --with-gnu-ld was given.
  5653. if test "${with_gnu_ld+set}" = set; then :
  5654. withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
  5655. else
  5656. with_gnu_ld=no
  5657. fi
  5658. ac_prog=ld
  5659. if test "$GCC" = yes; then
  5660. # Check if gcc -print-prog-name=ld gives a path.
  5661. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
  5662. $as_echo_n "checking for ld used by $CC... " >&6; }
  5663. case $host in
  5664. *-*-mingw*)
  5665. # gcc leaves a trailing carriage return which upsets mingw
  5666. ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
  5667. *)
  5668. ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
  5669. esac
  5670. case $ac_prog in
  5671. # Accept absolute paths.
  5672. [\\/]* | ?:[\\/]*)
  5673. re_direlt='/[^/][^/]*/\.\./'
  5674. # Canonicalize the pathname of ld
  5675. ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
  5676. while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
  5677. ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
  5678. done
  5679. test -z "$LD" && LD="$ac_prog"
  5680. ;;
  5681. "")
  5682. # If it fails, then pretend we aren't using GCC.
  5683. ac_prog=ld
  5684. ;;
  5685. *)
  5686. # If it is relative, then search for the first ld in PATH.
  5687. with_gnu_ld=unknown
  5688. ;;
  5689. esac
  5690. elif test "$with_gnu_ld" = yes; then
  5691. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
  5692. $as_echo_n "checking for GNU ld... " >&6; }
  5693. else
  5694. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
  5695. $as_echo_n "checking for non-GNU ld... " >&6; }
  5696. fi
  5697. if test "${lt_cv_path_LD+set}" = set; then :
  5698. $as_echo_n "(cached) " >&6
  5699. else
  5700. if test -z "$LD"; then
  5701. lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  5702. for ac_dir in $PATH; do
  5703. IFS="$lt_save_ifs"
  5704. test -z "$ac_dir" && ac_dir=.
  5705. if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
  5706. lt_cv_path_LD="$ac_dir/$ac_prog"
  5707. # Check to see if the program is GNU ld. I'd rather use --version,
  5708. # but apparently some variants of GNU ld only accept -v.
  5709. # Break only if it was the GNU/non-GNU ld that we prefer.
  5710. case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
  5711. *GNU* | *'with BFD'*)
  5712. test "$with_gnu_ld" != no && break
  5713. ;;
  5714. *)
  5715. test "$with_gnu_ld" != yes && break
  5716. ;;
  5717. esac
  5718. fi
  5719. done
  5720. IFS="$lt_save_ifs"
  5721. else
  5722. lt_cv_path_LD="$LD" # Let the user override the test with a path.
  5723. fi
  5724. fi
  5725. LD="$lt_cv_path_LD"
  5726. if test -n "$LD"; then
  5727. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
  5728. $as_echo "$LD" >&6; }
  5729. else
  5730. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5731. $as_echo "no" >&6; }
  5732. fi
  5733. test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
  5734. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
  5735. $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
  5736. if test "${lt_cv_prog_gnu_ld+set}" = set; then :
  5737. $as_echo_n "(cached) " >&6
  5738. else
  5739. # I'd rather use --version here, but apparently some GNU lds only accept -v.
  5740. case `$LD -v 2>&1 </dev/null` in
  5741. *GNU* | *'with BFD'*)
  5742. lt_cv_prog_gnu_ld=yes
  5743. ;;
  5744. *)
  5745. lt_cv_prog_gnu_ld=no
  5746. ;;
  5747. esac
  5748. fi
  5749. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
  5750. $as_echo "$lt_cv_prog_gnu_ld" >&6; }
  5751. with_gnu_ld=$lt_cv_prog_gnu_ld
  5752. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
  5753. $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
  5754. if test "${lt_cv_path_NM+set}" = set; then :
  5755. $as_echo_n "(cached) " >&6
  5756. else
  5757. if test -n "$NM"; then
  5758. # Let the user override the test.
  5759. lt_cv_path_NM="$NM"
  5760. else
  5761. lt_nm_to_check="${ac_tool_prefix}nm"
  5762. if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
  5763. lt_nm_to_check="$lt_nm_to_check nm"
  5764. fi
  5765. for lt_tmp_nm in $lt_nm_to_check; do
  5766. lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  5767. for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
  5768. IFS="$lt_save_ifs"
  5769. test -z "$ac_dir" && ac_dir=.
  5770. tmp_nm="$ac_dir/$lt_tmp_nm"
  5771. if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
  5772. # Check to see if the nm accepts a BSD-compat flag.
  5773. # Adding the `sed 1q' prevents false positives on HP-UX, which says:
  5774. # nm: unknown option "B" ignored
  5775. # Tru64's nm complains that /dev/null is an invalid object file
  5776. case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
  5777. */dev/null* | *'Invalid file or object type'*)
  5778. lt_cv_path_NM="$tmp_nm -B"
  5779. break
  5780. ;;
  5781. *)
  5782. case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
  5783. */dev/null*)
  5784. lt_cv_path_NM="$tmp_nm -p"
  5785. break
  5786. ;;
  5787. *)
  5788. lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
  5789. continue # so that we can try to find one that supports BSD flags
  5790. ;;
  5791. esac
  5792. ;;
  5793. esac
  5794. fi
  5795. done
  5796. IFS="$lt_save_ifs"
  5797. done
  5798. : ${lt_cv_path_NM=no}
  5799. fi
  5800. fi
  5801. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
  5802. $as_echo "$lt_cv_path_NM" >&6; }
  5803. if test "$lt_cv_path_NM" != "no"; then
  5804. NM="$lt_cv_path_NM"
  5805. else
  5806. # Didn't find any BSD compatible name lister, look for dumpbin.
  5807. if test -n "$DUMPBIN"; then :
  5808. # Let the user override the test.
  5809. else
  5810. if test -n "$ac_tool_prefix"; then
  5811. for ac_prog in dumpbin "link -dump"
  5812. do
  5813. # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  5814. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  5815. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5816. $as_echo_n "checking for $ac_word... " >&6; }
  5817. if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
  5818. $as_echo_n "(cached) " >&6
  5819. else
  5820. if test -n "$DUMPBIN"; then
  5821. ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
  5822. else
  5823. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5824. for as_dir in $PATH
  5825. do
  5826. IFS=$as_save_IFS
  5827. test -z "$as_dir" && as_dir=.
  5828. for ac_exec_ext in '' $ac_executable_extensions; do
  5829. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5830. ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
  5831. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5832. break 2
  5833. fi
  5834. done
  5835. done
  5836. IFS=$as_save_IFS
  5837. fi
  5838. fi
  5839. DUMPBIN=$ac_cv_prog_DUMPBIN
  5840. if test -n "$DUMPBIN"; then
  5841. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
  5842. $as_echo "$DUMPBIN" >&6; }
  5843. else
  5844. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5845. $as_echo "no" >&6; }
  5846. fi
  5847. test -n "$DUMPBIN" && break
  5848. done
  5849. fi
  5850. if test -z "$DUMPBIN"; then
  5851. ac_ct_DUMPBIN=$DUMPBIN
  5852. for ac_prog in dumpbin "link -dump"
  5853. do
  5854. # Extract the first word of "$ac_prog", so it can be a program name with args.
  5855. set dummy $ac_prog; ac_word=$2
  5856. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5857. $as_echo_n "checking for $ac_word... " >&6; }
  5858. if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
  5859. $as_echo_n "(cached) " >&6
  5860. else
  5861. if test -n "$ac_ct_DUMPBIN"; then
  5862. ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
  5863. else
  5864. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5865. for as_dir in $PATH
  5866. do
  5867. IFS=$as_save_IFS
  5868. test -z "$as_dir" && as_dir=.
  5869. for ac_exec_ext in '' $ac_executable_extensions; do
  5870. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5871. ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
  5872. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5873. break 2
  5874. fi
  5875. done
  5876. done
  5877. IFS=$as_save_IFS
  5878. fi
  5879. fi
  5880. ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
  5881. if test -n "$ac_ct_DUMPBIN"; then
  5882. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
  5883. $as_echo "$ac_ct_DUMPBIN" >&6; }
  5884. else
  5885. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5886. $as_echo "no" >&6; }
  5887. fi
  5888. test -n "$ac_ct_DUMPBIN" && break
  5889. done
  5890. if test "x$ac_ct_DUMPBIN" = x; then
  5891. DUMPBIN=":"
  5892. else
  5893. case $cross_compiling:$ac_tool_warned in
  5894. yes:)
  5895. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  5896. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  5897. ac_tool_warned=yes ;;
  5898. esac
  5899. DUMPBIN=$ac_ct_DUMPBIN
  5900. fi
  5901. fi
  5902. case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
  5903. *COFF*)
  5904. DUMPBIN="$DUMPBIN -symbols"
  5905. ;;
  5906. *)
  5907. DUMPBIN=:
  5908. ;;
  5909. esac
  5910. fi
  5911. if test "$DUMPBIN" != ":"; then
  5912. NM="$DUMPBIN"
  5913. fi
  5914. fi
  5915. test -z "$NM" && NM=nm
  5916. { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
  5917. $as_echo_n "checking the name lister ($NM) interface... " >&6; }
  5918. if test "${lt_cv_nm_interface+set}" = set; then :
  5919. $as_echo_n "(cached) " >&6
  5920. else
  5921. lt_cv_nm_interface="BSD nm"
  5922. echo "int some_variable = 0;" > conftest.$ac_ext
  5923. (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
  5924. (eval "$ac_compile" 2>conftest.err)
  5925. cat conftest.err >&5
  5926. (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
  5927. (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
  5928. cat conftest.err >&5
  5929. (eval echo "\"\$as_me:$LINENO: output\"" >&5)
  5930. cat conftest.out >&5
  5931. if $GREP 'External.*some_variable' conftest.out > /dev/null; then
  5932. lt_cv_nm_interface="MS dumpbin"
  5933. fi
  5934. rm -f conftest*
  5935. fi
  5936. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
  5937. $as_echo "$lt_cv_nm_interface" >&6; }
  5938. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
  5939. $as_echo_n "checking whether ln -s works... " >&6; }
  5940. LN_S=$as_ln_s
  5941. if test "$LN_S" = "ln -s"; then
  5942. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  5943. $as_echo "yes" >&6; }
  5944. else
  5945. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
  5946. $as_echo "no, using $LN_S" >&6; }
  5947. fi
  5948. # find the maximum length of command line arguments
  5949. { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
  5950. $as_echo_n "checking the maximum length of command line arguments... " >&6; }
  5951. if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
  5952. $as_echo_n "(cached) " >&6
  5953. else
  5954. i=0
  5955. teststring="ABCD"
  5956. case $build_os in
  5957. msdosdjgpp*)
  5958. # On DJGPP, this test can blow up pretty badly due to problems in libc
  5959. # (any single argument exceeding 2000 bytes causes a buffer overrun
  5960. # during glob expansion). Even if it were fixed, the result of this
  5961. # check would be larger than it should be.
  5962. lt_cv_sys_max_cmd_len=12288; # 12K is about right
  5963. ;;
  5964. gnu*)
  5965. # Under GNU Hurd, this test is not required because there is
  5966. # no limit to the length of command line arguments.
  5967. # Libtool will interpret -1 as no limit whatsoever
  5968. lt_cv_sys_max_cmd_len=-1;
  5969. ;;
  5970. cygwin* | mingw* | cegcc*)
  5971. # On Win9x/ME, this test blows up -- it succeeds, but takes
  5972. # about 5 minutes as the teststring grows exponentially.
  5973. # Worse, since 9x/ME are not pre-emptively multitasking,
  5974. # you end up with a "frozen" computer, even though with patience
  5975. # the test eventually succeeds (with a max line length of 256k).
  5976. # Instead, let's just punt: use the minimum linelength reported by
  5977. # all of the supported platforms: 8192 (on NT/2K/XP).
  5978. lt_cv_sys_max_cmd_len=8192;
  5979. ;;
  5980. mint*)
  5981. # On MiNT this can take a long time and run out of memory.
  5982. lt_cv_sys_max_cmd_len=8192;
  5983. ;;
  5984. amigaos*)
  5985. # On AmigaOS with pdksh, this test takes hours, literally.
  5986. # So we just punt and use a minimum line length of 8192.
  5987. lt_cv_sys_max_cmd_len=8192;
  5988. ;;
  5989. netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
  5990. # This has been around since 386BSD, at least. Likely further.
  5991. if test -x /sbin/sysctl; then
  5992. lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
  5993. elif test -x /usr/sbin/sysctl; then
  5994. lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
  5995. else
  5996. lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
  5997. fi
  5998. # And add a safety zone
  5999. lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
  6000. lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
  6001. ;;
  6002. interix*)
  6003. # We know the value 262144 and hardcode it with a safety zone (like BSD)
  6004. lt_cv_sys_max_cmd_len=196608
  6005. ;;
  6006. osf*)
  6007. # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
  6008. # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
  6009. # nice to cause kernel panics so lets avoid the loop below.
  6010. # First set a reasonable default.
  6011. lt_cv_sys_max_cmd_len=16384
  6012. #
  6013. if test -x /sbin/sysconfig; then
  6014. case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
  6015. *1*) lt_cv_sys_max_cmd_len=-1 ;;
  6016. esac
  6017. fi
  6018. ;;
  6019. sco3.2v5*)
  6020. lt_cv_sys_max_cmd_len=102400
  6021. ;;
  6022. sysv5* | sco5v6* | sysv4.2uw2*)
  6023. kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
  6024. if test -n "$kargmax"; then
  6025. lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
  6026. else
  6027. lt_cv_sys_max_cmd_len=32768
  6028. fi
  6029. ;;
  6030. *)
  6031. lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
  6032. if test -n "$lt_cv_sys_max_cmd_len"; then
  6033. lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
  6034. lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
  6035. else
  6036. # Make teststring a little bigger before we do anything with it.
  6037. # a 1K string should be a reasonable start.
  6038. for i in 1 2 3 4 5 6 7 8 ; do
  6039. teststring=$teststring$teststring
  6040. done
  6041. SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
  6042. # If test is not a shell built-in, we'll probably end up computing a
  6043. # maximum length that is only half of the actual maximum length, but
  6044. # we can't tell.
  6045. while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
  6046. = "X$teststring$teststring"; } >/dev/null 2>&1 &&
  6047. test $i != 17 # 1/2 MB should be enough
  6048. do
  6049. i=`expr $i + 1`
  6050. teststring=$teststring$teststring
  6051. done
  6052. # Only check the string length outside the loop.
  6053. lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
  6054. teststring=
  6055. # Add a significant safety factor because C++ compilers can tack on
  6056. # massive amounts of additional arguments before passing them to the
  6057. # linker. It appears as though 1/2 is a usable value.
  6058. lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
  6059. fi
  6060. ;;
  6061. esac
  6062. fi
  6063. if test -n $lt_cv_sys_max_cmd_len ; then
  6064. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
  6065. $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
  6066. else
  6067. { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
  6068. $as_echo "none" >&6; }
  6069. fi
  6070. max_cmd_len=$lt_cv_sys_max_cmd_len
  6071. : ${CP="cp -f"}
  6072. : ${MV="mv -f"}
  6073. : ${RM="rm -f"}
  6074. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
  6075. $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
  6076. # Try some XSI features
  6077. xsi_shell=no
  6078. ( _lt_dummy="a/b/c"
  6079. test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
  6080. = c,a/b,, \
  6081. && eval 'test $(( 1 + 1 )) -eq 2 \
  6082. && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
  6083. && xsi_shell=yes
  6084. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
  6085. $as_echo "$xsi_shell" >&6; }
  6086. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
  6087. $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
  6088. lt_shell_append=no
  6089. ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
  6090. >/dev/null 2>&1 \
  6091. && lt_shell_append=yes
  6092. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
  6093. $as_echo "$lt_shell_append" >&6; }
  6094. if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
  6095. lt_unset=unset
  6096. else
  6097. lt_unset=false
  6098. fi
  6099. # test EBCDIC or ASCII
  6100. case `echo X|tr X '\101'` in
  6101. A) # ASCII based system
  6102. # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
  6103. lt_SP2NL='tr \040 \012'
  6104. lt_NL2SP='tr \015\012 \040\040'
  6105. ;;
  6106. *) # EBCDIC based system
  6107. lt_SP2NL='tr \100 \n'
  6108. lt_NL2SP='tr \r\n \100\100'
  6109. ;;
  6110. esac
  6111. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
  6112. $as_echo_n "checking for $LD option to reload object files... " >&6; }
  6113. if test "${lt_cv_ld_reload_flag+set}" = set; then :
  6114. $as_echo_n "(cached) " >&6
  6115. else
  6116. lt_cv_ld_reload_flag='-r'
  6117. fi
  6118. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
  6119. $as_echo "$lt_cv_ld_reload_flag" >&6; }
  6120. reload_flag=$lt_cv_ld_reload_flag
  6121. case $reload_flag in
  6122. "" | " "*) ;;
  6123. *) reload_flag=" $reload_flag" ;;
  6124. esac
  6125. reload_cmds='$LD$reload_flag -o $output$reload_objs'
  6126. case $host_os in
  6127. darwin*)
  6128. if test "$GCC" = yes; then
  6129. reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
  6130. else
  6131. reload_cmds='$LD$reload_flag -o $output$reload_objs'
  6132. fi
  6133. ;;
  6134. esac
  6135. if test -n "$ac_tool_prefix"; then
  6136. # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
  6137. set dummy ${ac_tool_prefix}objdump; ac_word=$2
  6138. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6139. $as_echo_n "checking for $ac_word... " >&6; }
  6140. if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
  6141. $as_echo_n "(cached) " >&6
  6142. else
  6143. if test -n "$OBJDUMP"; then
  6144. ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
  6145. else
  6146. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6147. for as_dir in $PATH
  6148. do
  6149. IFS=$as_save_IFS
  6150. test -z "$as_dir" && as_dir=.
  6151. for ac_exec_ext in '' $ac_executable_extensions; do
  6152. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6153. ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
  6154. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6155. break 2
  6156. fi
  6157. done
  6158. done
  6159. IFS=$as_save_IFS
  6160. fi
  6161. fi
  6162. OBJDUMP=$ac_cv_prog_OBJDUMP
  6163. if test -n "$OBJDUMP"; then
  6164. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
  6165. $as_echo "$OBJDUMP" >&6; }
  6166. else
  6167. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6168. $as_echo "no" >&6; }
  6169. fi
  6170. fi
  6171. if test -z "$ac_cv_prog_OBJDUMP"; then
  6172. ac_ct_OBJDUMP=$OBJDUMP
  6173. # Extract the first word of "objdump", so it can be a program name with args.
  6174. set dummy objdump; ac_word=$2
  6175. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6176. $as_echo_n "checking for $ac_word... " >&6; }
  6177. if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
  6178. $as_echo_n "(cached) " >&6
  6179. else
  6180. if test -n "$ac_ct_OBJDUMP"; then
  6181. ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
  6182. else
  6183. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6184. for as_dir in $PATH
  6185. do
  6186. IFS=$as_save_IFS
  6187. test -z "$as_dir" && as_dir=.
  6188. for ac_exec_ext in '' $ac_executable_extensions; do
  6189. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6190. ac_cv_prog_ac_ct_OBJDUMP="objdump"
  6191. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6192. break 2
  6193. fi
  6194. done
  6195. done
  6196. IFS=$as_save_IFS
  6197. fi
  6198. fi
  6199. ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
  6200. if test -n "$ac_ct_OBJDUMP"; then
  6201. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
  6202. $as_echo "$ac_ct_OBJDUMP" >&6; }
  6203. else
  6204. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6205. $as_echo "no" >&6; }
  6206. fi
  6207. if test "x$ac_ct_OBJDUMP" = x; then
  6208. OBJDUMP="false"
  6209. else
  6210. case $cross_compiling:$ac_tool_warned in
  6211. yes:)
  6212. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  6213. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  6214. ac_tool_warned=yes ;;
  6215. esac
  6216. OBJDUMP=$ac_ct_OBJDUMP
  6217. fi
  6218. else
  6219. OBJDUMP="$ac_cv_prog_OBJDUMP"
  6220. fi
  6221. test -z "$OBJDUMP" && OBJDUMP=objdump
  6222. { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
  6223. $as_echo_n "checking how to recognize dependent libraries... " >&6; }
  6224. if test "${lt_cv_deplibs_check_method+set}" = set; then :
  6225. $as_echo_n "(cached) " >&6
  6226. else
  6227. lt_cv_file_magic_cmd='$MAGIC_CMD'
  6228. lt_cv_file_magic_test_file=
  6229. lt_cv_deplibs_check_method='unknown'
  6230. # Need to set the preceding variable on all platforms that support
  6231. # interlibrary dependencies.
  6232. # 'none' -- dependencies not supported.
  6233. # `unknown' -- same as none, but documents that we really don't know.
  6234. # 'pass_all' -- all dependencies passed with no checks.
  6235. # 'test_compile' -- check by making test program.
  6236. # 'file_magic [[regex]]' -- check by looking for files in library path
  6237. # which responds to the $file_magic_cmd with a given extended regex.
  6238. # If you have `file' or equivalent on your system and you're not sure
  6239. # whether `pass_all' will *always* work, you probably want this one.
  6240. case $host_os in
  6241. aix[4-9]*)
  6242. lt_cv_deplibs_check_method=pass_all
  6243. ;;
  6244. beos*)
  6245. lt_cv_deplibs_check_method=pass_all
  6246. ;;
  6247. bsdi[45]*)
  6248. lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
  6249. lt_cv_file_magic_cmd='/usr/bin/file -L'
  6250. lt_cv_file_magic_test_file=/shlib/libc.so
  6251. ;;
  6252. cygwin*)
  6253. # func_win32_libid is a shell function defined in ltmain.sh
  6254. lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
  6255. lt_cv_file_magic_cmd='func_win32_libid'
  6256. ;;
  6257. mingw* | pw32*)
  6258. # Base MSYS/MinGW do not provide the 'file' command needed by
  6259. # func_win32_libid shell function, so use a weaker test based on 'objdump',
  6260. # unless we find 'file', for example because we are cross-compiling.
  6261. # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
  6262. if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
  6263. lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
  6264. lt_cv_file_magic_cmd='func_win32_libid'
  6265. else
  6266. lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
  6267. lt_cv_file_magic_cmd='$OBJDUMP -f'
  6268. fi
  6269. ;;
  6270. cegcc*)
  6271. # use the weaker test based on 'objdump'. See mingw*.
  6272. lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
  6273. lt_cv_file_magic_cmd='$OBJDUMP -f'
  6274. ;;
  6275. darwin* | rhapsody*)
  6276. lt_cv_deplibs_check_method=pass_all
  6277. ;;
  6278. freebsd* | dragonfly*)
  6279. if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
  6280. case $host_cpu in
  6281. i*86 )
  6282. # Not sure whether the presence of OpenBSD here was a mistake.
  6283. # Let's accept both of them until this is cleared up.
  6284. lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
  6285. lt_cv_file_magic_cmd=/usr/bin/file
  6286. lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
  6287. ;;
  6288. esac
  6289. else
  6290. lt_cv_deplibs_check_method=pass_all
  6291. fi
  6292. ;;
  6293. gnu*)
  6294. lt_cv_deplibs_check_method=pass_all
  6295. ;;
  6296. haiku*)
  6297. lt_cv_deplibs_check_method=pass_all
  6298. ;;
  6299. hpux10.20* | hpux11*)
  6300. lt_cv_file_magic_cmd=/usr/bin/file
  6301. case $host_cpu in
  6302. ia64*)
  6303. lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
  6304. lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
  6305. ;;
  6306. hppa*64*)
  6307. 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]'
  6308. lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
  6309. ;;
  6310. *)
  6311. lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
  6312. lt_cv_file_magic_test_file=/usr/lib/libc.sl
  6313. ;;
  6314. esac
  6315. ;;
  6316. interix[3-9]*)
  6317. # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
  6318. lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
  6319. ;;
  6320. irix5* | irix6* | nonstopux*)
  6321. case $LD in
  6322. *-32|*"-32 ") libmagic=32-bit;;
  6323. *-n32|*"-n32 ") libmagic=N32;;
  6324. *-64|*"-64 ") libmagic=64-bit;;
  6325. *) libmagic=never-match;;
  6326. esac
  6327. lt_cv_deplibs_check_method=pass_all
  6328. ;;
  6329. # This must be Linux ELF.
  6330. linux* | k*bsd*-gnu | kopensolaris*-gnu)
  6331. lt_cv_deplibs_check_method=pass_all
  6332. ;;
  6333. netbsd*)
  6334. if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
  6335. lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
  6336. else
  6337. lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
  6338. fi
  6339. ;;
  6340. newos6*)
  6341. lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
  6342. lt_cv_file_magic_cmd=/usr/bin/file
  6343. lt_cv_file_magic_test_file=/usr/lib/libnls.so
  6344. ;;
  6345. *nto* | *qnx*)
  6346. lt_cv_deplibs_check_method=pass_all
  6347. ;;
  6348. openbsd*)
  6349. if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  6350. lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
  6351. else
  6352. lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
  6353. fi
  6354. ;;
  6355. osf3* | osf4* | osf5*)
  6356. lt_cv_deplibs_check_method=pass_all
  6357. ;;
  6358. rdos*)
  6359. lt_cv_deplibs_check_method=pass_all
  6360. ;;
  6361. solaris*)
  6362. lt_cv_deplibs_check_method=pass_all
  6363. ;;
  6364. sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  6365. lt_cv_deplibs_check_method=pass_all
  6366. ;;
  6367. sysv4 | sysv4.3*)
  6368. case $host_vendor in
  6369. motorola)
  6370. 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]'
  6371. lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
  6372. ;;
  6373. ncr)
  6374. lt_cv_deplibs_check_method=pass_all
  6375. ;;
  6376. sequent)
  6377. lt_cv_file_magic_cmd='/bin/file'
  6378. lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
  6379. ;;
  6380. sni)
  6381. lt_cv_file_magic_cmd='/bin/file'
  6382. lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
  6383. lt_cv_file_magic_test_file=/lib/libc.so
  6384. ;;
  6385. siemens)
  6386. lt_cv_deplibs_check_method=pass_all
  6387. ;;
  6388. pc)
  6389. lt_cv_deplibs_check_method=pass_all
  6390. ;;
  6391. esac
  6392. ;;
  6393. tpf*)
  6394. lt_cv_deplibs_check_method=pass_all
  6395. ;;
  6396. esac
  6397. fi
  6398. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
  6399. $as_echo "$lt_cv_deplibs_check_method" >&6; }
  6400. file_magic_cmd=$lt_cv_file_magic_cmd
  6401. deplibs_check_method=$lt_cv_deplibs_check_method
  6402. test -z "$deplibs_check_method" && deplibs_check_method=unknown
  6403. if test -n "$ac_tool_prefix"; then
  6404. # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
  6405. set dummy ${ac_tool_prefix}ar; ac_word=$2
  6406. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6407. $as_echo_n "checking for $ac_word... " >&6; }
  6408. if test "${ac_cv_prog_AR+set}" = set; then :
  6409. $as_echo_n "(cached) " >&6
  6410. else
  6411. if test -n "$AR"; then
  6412. ac_cv_prog_AR="$AR" # Let the user override the test.
  6413. else
  6414. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6415. for as_dir in $PATH
  6416. do
  6417. IFS=$as_save_IFS
  6418. test -z "$as_dir" && as_dir=.
  6419. for ac_exec_ext in '' $ac_executable_extensions; do
  6420. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6421. ac_cv_prog_AR="${ac_tool_prefix}ar"
  6422. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6423. break 2
  6424. fi
  6425. done
  6426. done
  6427. IFS=$as_save_IFS
  6428. fi
  6429. fi
  6430. AR=$ac_cv_prog_AR
  6431. if test -n "$AR"; then
  6432. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
  6433. $as_echo "$AR" >&6; }
  6434. else
  6435. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6436. $as_echo "no" >&6; }
  6437. fi
  6438. fi
  6439. if test -z "$ac_cv_prog_AR"; then
  6440. ac_ct_AR=$AR
  6441. # Extract the first word of "ar", so it can be a program name with args.
  6442. set dummy ar; ac_word=$2
  6443. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6444. $as_echo_n "checking for $ac_word... " >&6; }
  6445. if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
  6446. $as_echo_n "(cached) " >&6
  6447. else
  6448. if test -n "$ac_ct_AR"; then
  6449. ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
  6450. else
  6451. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6452. for as_dir in $PATH
  6453. do
  6454. IFS=$as_save_IFS
  6455. test -z "$as_dir" && as_dir=.
  6456. for ac_exec_ext in '' $ac_executable_extensions; do
  6457. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6458. ac_cv_prog_ac_ct_AR="ar"
  6459. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6460. break 2
  6461. fi
  6462. done
  6463. done
  6464. IFS=$as_save_IFS
  6465. fi
  6466. fi
  6467. ac_ct_AR=$ac_cv_prog_ac_ct_AR
  6468. if test -n "$ac_ct_AR"; then
  6469. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
  6470. $as_echo "$ac_ct_AR" >&6; }
  6471. else
  6472. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6473. $as_echo "no" >&6; }
  6474. fi
  6475. if test "x$ac_ct_AR" = x; then
  6476. AR="false"
  6477. else
  6478. case $cross_compiling:$ac_tool_warned in
  6479. yes:)
  6480. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  6481. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  6482. ac_tool_warned=yes ;;
  6483. esac
  6484. AR=$ac_ct_AR
  6485. fi
  6486. else
  6487. AR="$ac_cv_prog_AR"
  6488. fi
  6489. test -z "$AR" && AR=ar
  6490. test -z "$AR_FLAGS" && AR_FLAGS=cru
  6491. if test -n "$ac_tool_prefix"; then
  6492. # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  6493. set dummy ${ac_tool_prefix}strip; ac_word=$2
  6494. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6495. $as_echo_n "checking for $ac_word... " >&6; }
  6496. if test "${ac_cv_prog_STRIP+set}" = set; then :
  6497. $as_echo_n "(cached) " >&6
  6498. else
  6499. if test -n "$STRIP"; then
  6500. ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  6501. else
  6502. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6503. for as_dir in $PATH
  6504. do
  6505. IFS=$as_save_IFS
  6506. test -z "$as_dir" && as_dir=.
  6507. for ac_exec_ext in '' $ac_executable_extensions; do
  6508. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6509. ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  6510. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6511. break 2
  6512. fi
  6513. done
  6514. done
  6515. IFS=$as_save_IFS
  6516. fi
  6517. fi
  6518. STRIP=$ac_cv_prog_STRIP
  6519. if test -n "$STRIP"; then
  6520. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
  6521. $as_echo "$STRIP" >&6; }
  6522. else
  6523. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6524. $as_echo "no" >&6; }
  6525. fi
  6526. fi
  6527. if test -z "$ac_cv_prog_STRIP"; then
  6528. ac_ct_STRIP=$STRIP
  6529. # Extract the first word of "strip", so it can be a program name with args.
  6530. set dummy strip; ac_word=$2
  6531. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6532. $as_echo_n "checking for $ac_word... " >&6; }
  6533. if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
  6534. $as_echo_n "(cached) " >&6
  6535. else
  6536. if test -n "$ac_ct_STRIP"; then
  6537. ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  6538. else
  6539. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6540. for as_dir in $PATH
  6541. do
  6542. IFS=$as_save_IFS
  6543. test -z "$as_dir" && as_dir=.
  6544. for ac_exec_ext in '' $ac_executable_extensions; do
  6545. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6546. ac_cv_prog_ac_ct_STRIP="strip"
  6547. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6548. break 2
  6549. fi
  6550. done
  6551. done
  6552. IFS=$as_save_IFS
  6553. fi
  6554. fi
  6555. ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  6556. if test -n "$ac_ct_STRIP"; then
  6557. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
  6558. $as_echo "$ac_ct_STRIP" >&6; }
  6559. else
  6560. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6561. $as_echo "no" >&6; }
  6562. fi
  6563. if test "x$ac_ct_STRIP" = x; then
  6564. STRIP=":"
  6565. else
  6566. case $cross_compiling:$ac_tool_warned in
  6567. yes:)
  6568. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  6569. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  6570. ac_tool_warned=yes ;;
  6571. esac
  6572. STRIP=$ac_ct_STRIP
  6573. fi
  6574. else
  6575. STRIP="$ac_cv_prog_STRIP"
  6576. fi
  6577. test -z "$STRIP" && STRIP=:
  6578. if test -n "$ac_tool_prefix"; then
  6579. # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
  6580. set dummy ${ac_tool_prefix}ranlib; ac_word=$2
  6581. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6582. $as_echo_n "checking for $ac_word... " >&6; }
  6583. if test "${ac_cv_prog_RANLIB+set}" = set; then :
  6584. $as_echo_n "(cached) " >&6
  6585. else
  6586. if test -n "$RANLIB"; then
  6587. ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
  6588. else
  6589. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6590. for as_dir in $PATH
  6591. do
  6592. IFS=$as_save_IFS
  6593. test -z "$as_dir" && as_dir=.
  6594. for ac_exec_ext in '' $ac_executable_extensions; do
  6595. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6596. ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
  6597. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6598. break 2
  6599. fi
  6600. done
  6601. done
  6602. IFS=$as_save_IFS
  6603. fi
  6604. fi
  6605. RANLIB=$ac_cv_prog_RANLIB
  6606. if test -n "$RANLIB"; then
  6607. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
  6608. $as_echo "$RANLIB" >&6; }
  6609. else
  6610. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6611. $as_echo "no" >&6; }
  6612. fi
  6613. fi
  6614. if test -z "$ac_cv_prog_RANLIB"; then
  6615. ac_ct_RANLIB=$RANLIB
  6616. # Extract the first word of "ranlib", so it can be a program name with args.
  6617. set dummy ranlib; ac_word=$2
  6618. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6619. $as_echo_n "checking for $ac_word... " >&6; }
  6620. if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
  6621. $as_echo_n "(cached) " >&6
  6622. else
  6623. if test -n "$ac_ct_RANLIB"; then
  6624. ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
  6625. else
  6626. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6627. for as_dir in $PATH
  6628. do
  6629. IFS=$as_save_IFS
  6630. test -z "$as_dir" && as_dir=.
  6631. for ac_exec_ext in '' $ac_executable_extensions; do
  6632. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6633. ac_cv_prog_ac_ct_RANLIB="ranlib"
  6634. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6635. break 2
  6636. fi
  6637. done
  6638. done
  6639. IFS=$as_save_IFS
  6640. fi
  6641. fi
  6642. ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
  6643. if test -n "$ac_ct_RANLIB"; then
  6644. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
  6645. $as_echo "$ac_ct_RANLIB" >&6; }
  6646. else
  6647. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6648. $as_echo "no" >&6; }
  6649. fi
  6650. if test "x$ac_ct_RANLIB" = x; then
  6651. RANLIB=":"
  6652. else
  6653. case $cross_compiling:$ac_tool_warned in
  6654. yes:)
  6655. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  6656. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  6657. ac_tool_warned=yes ;;
  6658. esac
  6659. RANLIB=$ac_ct_RANLIB
  6660. fi
  6661. else
  6662. RANLIB="$ac_cv_prog_RANLIB"
  6663. fi
  6664. test -z "$RANLIB" && RANLIB=:
  6665. # Determine commands to create old-style static archives.
  6666. old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
  6667. old_postinstall_cmds='chmod 644 $oldlib'
  6668. old_postuninstall_cmds=
  6669. if test -n "$RANLIB"; then
  6670. case $host_os in
  6671. openbsd*)
  6672. old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
  6673. ;;
  6674. *)
  6675. old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
  6676. ;;
  6677. esac
  6678. old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
  6679. fi
  6680. case $host_os in
  6681. darwin*)
  6682. lock_old_archive_extraction=yes ;;
  6683. *)
  6684. lock_old_archive_extraction=no ;;
  6685. esac
  6686. # If no C compiler was specified, use CC.
  6687. LTCC=${LTCC-"$CC"}
  6688. # If no C compiler flags were specified, use CFLAGS.
  6689. LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
  6690. # Allow CC to be a program name with arguments.
  6691. compiler=$CC
  6692. # Check for command to grab the raw symbol name followed by C symbol from nm.
  6693. { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
  6694. $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
  6695. if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
  6696. $as_echo_n "(cached) " >&6
  6697. else
  6698. # These are sane defaults that work on at least a few old systems.
  6699. # [They come from Ultrix. What could be older than Ultrix?!! ;)]
  6700. # Character class describing NM global symbol codes.
  6701. symcode='[BCDEGRST]'
  6702. # Regexp to match symbols that can be accessed directly from C.
  6703. sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
  6704. # Define system-specific variables.
  6705. case $host_os in
  6706. aix*)
  6707. symcode='[BCDT]'
  6708. ;;
  6709. cygwin* | mingw* | pw32* | cegcc*)
  6710. symcode='[ABCDGISTW]'
  6711. ;;
  6712. hpux*)
  6713. if test "$host_cpu" = ia64; then
  6714. symcode='[ABCDEGRST]'
  6715. fi
  6716. ;;
  6717. irix* | nonstopux*)
  6718. symcode='[BCDEGRST]'
  6719. ;;
  6720. osf*)
  6721. symcode='[BCDEGQRST]'
  6722. ;;
  6723. solaris*)
  6724. symcode='[BDRT]'
  6725. ;;
  6726. sco3.2v5*)
  6727. symcode='[DT]'
  6728. ;;
  6729. sysv4.2uw2*)
  6730. symcode='[DT]'
  6731. ;;
  6732. sysv5* | sco5v6* | unixware* | OpenUNIX*)
  6733. symcode='[ABDT]'
  6734. ;;
  6735. sysv4)
  6736. symcode='[DFNSTU]'
  6737. ;;
  6738. esac
  6739. # If we're using GNU nm, then use its standard symbol codes.
  6740. case `$NM -V 2>&1` in
  6741. *GNU* | *'with BFD'*)
  6742. symcode='[ABCDGIRSTW]' ;;
  6743. esac
  6744. # Transform an extracted symbol line into a proper C declaration.
  6745. # Some systems (esp. on ia64) link data and code symbols differently,
  6746. # so use this general approach.
  6747. lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
  6748. # Transform an extracted symbol line into symbol name and symbol address
  6749. lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
  6750. 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'"
  6751. # Handle CRLF in mingw tool chain
  6752. opt_cr=
  6753. case $build_os in
  6754. mingw*)
  6755. opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
  6756. ;;
  6757. esac
  6758. # Try without a prefix underscore, then with it.
  6759. for ac_symprfx in "" "_"; do
  6760. # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
  6761. symxfrm="\\1 $ac_symprfx\\2 \\2"
  6762. # Write the raw and C identifiers.
  6763. if test "$lt_cv_nm_interface" = "MS dumpbin"; then
  6764. # Fake it for dumpbin and say T for any non-static function
  6765. # and D for any global variable.
  6766. # Also find C++ and __fastcall symbols from MSVC++,
  6767. # which start with @ or ?.
  6768. lt_cv_sys_global_symbol_pipe="$AWK '"\
  6769. " {last_section=section; section=\$ 3};"\
  6770. " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
  6771. " \$ 0!~/External *\|/{next};"\
  6772. " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
  6773. " {if(hide[section]) next};"\
  6774. " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
  6775. " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
  6776. " s[1]~/^[@?]/{print s[1], s[1]; next};"\
  6777. " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
  6778. " ' prfx=^$ac_symprfx"
  6779. else
  6780. lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
  6781. fi
  6782. # Check to see that the pipe works correctly.
  6783. pipe_works=no
  6784. rm -f conftest*
  6785. cat > conftest.$ac_ext <<_LT_EOF
  6786. #ifdef __cplusplus
  6787. extern "C" {
  6788. #endif
  6789. char nm_test_var;
  6790. void nm_test_func(void);
  6791. void nm_test_func(void){}
  6792. #ifdef __cplusplus
  6793. }
  6794. #endif
  6795. int main(){nm_test_var='a';nm_test_func();return(0);}
  6796. _LT_EOF
  6797. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  6798. (eval $ac_compile) 2>&5
  6799. ac_status=$?
  6800. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  6801. test $ac_status = 0; }; then
  6802. # Now try to grab the symbols.
  6803. nlist=conftest.nm
  6804. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
  6805. (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
  6806. ac_status=$?
  6807. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  6808. test $ac_status = 0; } && test -s "$nlist"; then
  6809. # Try sorting and uniquifying the output.
  6810. if sort "$nlist" | uniq > "$nlist"T; then
  6811. mv -f "$nlist"T "$nlist"
  6812. else
  6813. rm -f "$nlist"T
  6814. fi
  6815. # Make sure that we snagged all the symbols we need.
  6816. if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
  6817. if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
  6818. cat <<_LT_EOF > conftest.$ac_ext
  6819. #ifdef __cplusplus
  6820. extern "C" {
  6821. #endif
  6822. _LT_EOF
  6823. # Now generate the symbol file.
  6824. eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
  6825. cat <<_LT_EOF >> conftest.$ac_ext
  6826. /* The mapping between symbol names and symbols. */
  6827. const struct {
  6828. const char *name;
  6829. void *address;
  6830. }
  6831. lt__PROGRAM__LTX_preloaded_symbols[] =
  6832. {
  6833. { "@PROGRAM@", (void *) 0 },
  6834. _LT_EOF
  6835. $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
  6836. cat <<\_LT_EOF >> conftest.$ac_ext
  6837. {0, (void *) 0}
  6838. };
  6839. /* This works around a problem in FreeBSD linker */
  6840. #ifdef FREEBSD_WORKAROUND
  6841. static const void *lt_preloaded_setup() {
  6842. return lt__PROGRAM__LTX_preloaded_symbols;
  6843. }
  6844. #endif
  6845. #ifdef __cplusplus
  6846. }
  6847. #endif
  6848. _LT_EOF
  6849. # Now try linking the two files.
  6850. mv conftest.$ac_objext conftstm.$ac_objext
  6851. lt_save_LIBS="$LIBS"
  6852. lt_save_CFLAGS="$CFLAGS"
  6853. LIBS="conftstm.$ac_objext"
  6854. CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
  6855. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  6856. (eval $ac_link) 2>&5
  6857. ac_status=$?
  6858. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  6859. test $ac_status = 0; } && test -s conftest${ac_exeext}; then
  6860. pipe_works=yes
  6861. fi
  6862. LIBS="$lt_save_LIBS"
  6863. CFLAGS="$lt_save_CFLAGS"
  6864. else
  6865. echo "cannot find nm_test_func in $nlist" >&5
  6866. fi
  6867. else
  6868. echo "cannot find nm_test_var in $nlist" >&5
  6869. fi
  6870. else
  6871. echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
  6872. fi
  6873. else
  6874. echo "$progname: failed program was:" >&5
  6875. cat conftest.$ac_ext >&5
  6876. fi
  6877. rm -rf conftest* conftst*
  6878. # Do not use the global_symbol_pipe unless it works.
  6879. if test "$pipe_works" = yes; then
  6880. break
  6881. else
  6882. lt_cv_sys_global_symbol_pipe=
  6883. fi
  6884. done
  6885. fi
  6886. if test -z "$lt_cv_sys_global_symbol_pipe"; then
  6887. lt_cv_sys_global_symbol_to_cdecl=
  6888. fi
  6889. if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
  6890. { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
  6891. $as_echo "failed" >&6; }
  6892. else
  6893. { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
  6894. $as_echo "ok" >&6; }
  6895. fi
  6896. # Check whether --enable-libtool-lock was given.
  6897. if test "${enable_libtool_lock+set}" = set; then :
  6898. enableval=$enable_libtool_lock;
  6899. fi
  6900. test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
  6901. # Some flags need to be propagated to the compiler or linker for good
  6902. # libtool support.
  6903. case $host in
  6904. ia64-*-hpux*)
  6905. # Find out which ABI we are using.
  6906. echo 'int i;' > conftest.$ac_ext
  6907. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  6908. (eval $ac_compile) 2>&5
  6909. ac_status=$?
  6910. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  6911. test $ac_status = 0; }; then
  6912. case `/usr/bin/file conftest.$ac_objext` in
  6913. *ELF-32*)
  6914. HPUX_IA64_MODE="32"
  6915. ;;
  6916. *ELF-64*)
  6917. HPUX_IA64_MODE="64"
  6918. ;;
  6919. esac
  6920. fi
  6921. rm -rf conftest*
  6922. ;;
  6923. *-*-irix6*)
  6924. # Find out which ABI we are using.
  6925. echo '#line '$LINENO' "configure"' > conftest.$ac_ext
  6926. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  6927. (eval $ac_compile) 2>&5
  6928. ac_status=$?
  6929. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  6930. test $ac_status = 0; }; then
  6931. if test "$lt_cv_prog_gnu_ld" = yes; then
  6932. case `/usr/bin/file conftest.$ac_objext` in
  6933. *32-bit*)
  6934. LD="${LD-ld} -melf32bsmip"
  6935. ;;
  6936. *N32*)
  6937. LD="${LD-ld} -melf32bmipn32"
  6938. ;;
  6939. *64-bit*)
  6940. LD="${LD-ld} -melf64bmip"
  6941. ;;
  6942. esac
  6943. else
  6944. case `/usr/bin/file conftest.$ac_objext` in
  6945. *32-bit*)
  6946. LD="${LD-ld} -32"
  6947. ;;
  6948. *N32*)
  6949. LD="${LD-ld} -n32"
  6950. ;;
  6951. *64-bit*)
  6952. LD="${LD-ld} -64"
  6953. ;;
  6954. esac
  6955. fi
  6956. fi
  6957. rm -rf conftest*
  6958. ;;
  6959. x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
  6960. s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
  6961. # Find out which ABI we are using.
  6962. echo 'int i;' > conftest.$ac_ext
  6963. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  6964. (eval $ac_compile) 2>&5
  6965. ac_status=$?
  6966. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  6967. test $ac_status = 0; }; then
  6968. case `/usr/bin/file conftest.o` in
  6969. *32-bit*)
  6970. case $host in
  6971. x86_64-*kfreebsd*-gnu)
  6972. LD="${LD-ld} -m elf_i386_fbsd"
  6973. ;;
  6974. x86_64-*linux*)
  6975. case `/usr/bin/file conftest.o` in
  6976. *x86-64*)
  6977. LD="${LD-ld} -m elf32_x86_64"
  6978. ;;
  6979. *)
  6980. LD="${LD-ld} -m elf_i386"
  6981. ;;
  6982. esac
  6983. ;;
  6984. powerpc64le-*linux*)
  6985. LD="${LD-ld} -m elf32lppclinux"
  6986. ;;
  6987. powerpc64-*linux*)
  6988. LD="${LD-ld} -m elf32ppclinux"
  6989. ;;
  6990. s390x-*linux*)
  6991. LD="${LD-ld} -m elf_s390"
  6992. ;;
  6993. sparc64-*linux*)
  6994. LD="${LD-ld} -m elf32_sparc"
  6995. ;;
  6996. esac
  6997. ;;
  6998. *64-bit*)
  6999. case $host in
  7000. x86_64-*kfreebsd*-gnu)
  7001. LD="${LD-ld} -m elf_x86_64_fbsd"
  7002. ;;
  7003. x86_64-*linux*)
  7004. LD="${LD-ld} -m elf_x86_64"
  7005. ;;
  7006. powerpcle-*linux*)
  7007. LD="${LD-ld} -m elf64lppc"
  7008. ;;
  7009. powerpc-*linux*)
  7010. LD="${LD-ld} -m elf64ppc"
  7011. ;;
  7012. s390*-*linux*|s390*-*tpf*)
  7013. LD="${LD-ld} -m elf64_s390"
  7014. ;;
  7015. sparc*-*linux*)
  7016. LD="${LD-ld} -m elf64_sparc"
  7017. ;;
  7018. esac
  7019. ;;
  7020. esac
  7021. fi
  7022. rm -rf conftest*
  7023. ;;
  7024. *-*-sco3.2v5*)
  7025. # On SCO OpenServer 5, we need -belf to get full-featured binaries.
  7026. SAVE_CFLAGS="$CFLAGS"
  7027. CFLAGS="$CFLAGS -belf"
  7028. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
  7029. $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
  7030. if test "${lt_cv_cc_needs_belf+set}" = set; then :
  7031. $as_echo_n "(cached) " >&6
  7032. else
  7033. ac_ext=c
  7034. ac_cpp='$CPP $CPPFLAGS'
  7035. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  7036. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  7037. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  7038. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7039. /* end confdefs.h. */
  7040. int
  7041. main ()
  7042. {
  7043. ;
  7044. return 0;
  7045. }
  7046. _ACEOF
  7047. if ac_fn_c_try_link "$LINENO"; then :
  7048. lt_cv_cc_needs_belf=yes
  7049. else
  7050. lt_cv_cc_needs_belf=no
  7051. fi
  7052. rm -f core conftest.err conftest.$ac_objext \
  7053. conftest$ac_exeext conftest.$ac_ext
  7054. ac_ext=c
  7055. ac_cpp='$CPP $CPPFLAGS'
  7056. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  7057. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  7058. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  7059. fi
  7060. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
  7061. $as_echo "$lt_cv_cc_needs_belf" >&6; }
  7062. if test x"$lt_cv_cc_needs_belf" != x"yes"; then
  7063. # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
  7064. CFLAGS="$SAVE_CFLAGS"
  7065. fi
  7066. ;;
  7067. sparc*-*solaris*)
  7068. # Find out which ABI we are using.
  7069. echo 'int i;' > conftest.$ac_ext
  7070. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  7071. (eval $ac_compile) 2>&5
  7072. ac_status=$?
  7073. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  7074. test $ac_status = 0; }; then
  7075. case `/usr/bin/file conftest.o` in
  7076. *64-bit*)
  7077. case $lt_cv_prog_gnu_ld in
  7078. yes*) LD="${LD-ld} -m elf64_sparc" ;;
  7079. *)
  7080. if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
  7081. LD="${LD-ld} -64"
  7082. fi
  7083. ;;
  7084. esac
  7085. ;;
  7086. esac
  7087. fi
  7088. rm -rf conftest*
  7089. ;;
  7090. esac
  7091. need_locks="$enable_libtool_lock"
  7092. case $host_os in
  7093. rhapsody* | darwin*)
  7094. if test -n "$ac_tool_prefix"; then
  7095. # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
  7096. set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
  7097. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7098. $as_echo_n "checking for $ac_word... " >&6; }
  7099. if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
  7100. $as_echo_n "(cached) " >&6
  7101. else
  7102. if test -n "$DSYMUTIL"; then
  7103. ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
  7104. else
  7105. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7106. for as_dir in $PATH
  7107. do
  7108. IFS=$as_save_IFS
  7109. test -z "$as_dir" && as_dir=.
  7110. for ac_exec_ext in '' $ac_executable_extensions; do
  7111. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  7112. ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
  7113. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7114. break 2
  7115. fi
  7116. done
  7117. done
  7118. IFS=$as_save_IFS
  7119. fi
  7120. fi
  7121. DSYMUTIL=$ac_cv_prog_DSYMUTIL
  7122. if test -n "$DSYMUTIL"; then
  7123. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
  7124. $as_echo "$DSYMUTIL" >&6; }
  7125. else
  7126. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7127. $as_echo "no" >&6; }
  7128. fi
  7129. fi
  7130. if test -z "$ac_cv_prog_DSYMUTIL"; then
  7131. ac_ct_DSYMUTIL=$DSYMUTIL
  7132. # Extract the first word of "dsymutil", so it can be a program name with args.
  7133. set dummy dsymutil; ac_word=$2
  7134. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7135. $as_echo_n "checking for $ac_word... " >&6; }
  7136. if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
  7137. $as_echo_n "(cached) " >&6
  7138. else
  7139. if test -n "$ac_ct_DSYMUTIL"; then
  7140. ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
  7141. else
  7142. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7143. for as_dir in $PATH
  7144. do
  7145. IFS=$as_save_IFS
  7146. test -z "$as_dir" && as_dir=.
  7147. for ac_exec_ext in '' $ac_executable_extensions; do
  7148. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  7149. ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
  7150. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7151. break 2
  7152. fi
  7153. done
  7154. done
  7155. IFS=$as_save_IFS
  7156. fi
  7157. fi
  7158. ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
  7159. if test -n "$ac_ct_DSYMUTIL"; then
  7160. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
  7161. $as_echo "$ac_ct_DSYMUTIL" >&6; }
  7162. else
  7163. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7164. $as_echo "no" >&6; }
  7165. fi
  7166. if test "x$ac_ct_DSYMUTIL" = x; then
  7167. DSYMUTIL=":"
  7168. else
  7169. case $cross_compiling:$ac_tool_warned in
  7170. yes:)
  7171. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  7172. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  7173. ac_tool_warned=yes ;;
  7174. esac
  7175. DSYMUTIL=$ac_ct_DSYMUTIL
  7176. fi
  7177. else
  7178. DSYMUTIL="$ac_cv_prog_DSYMUTIL"
  7179. fi
  7180. if test -n "$ac_tool_prefix"; then
  7181. # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
  7182. set dummy ${ac_tool_prefix}nmedit; ac_word=$2
  7183. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7184. $as_echo_n "checking for $ac_word... " >&6; }
  7185. if test "${ac_cv_prog_NMEDIT+set}" = set; then :
  7186. $as_echo_n "(cached) " >&6
  7187. else
  7188. if test -n "$NMEDIT"; then
  7189. ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
  7190. else
  7191. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7192. for as_dir in $PATH
  7193. do
  7194. IFS=$as_save_IFS
  7195. test -z "$as_dir" && as_dir=.
  7196. for ac_exec_ext in '' $ac_executable_extensions; do
  7197. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  7198. ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
  7199. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7200. break 2
  7201. fi
  7202. done
  7203. done
  7204. IFS=$as_save_IFS
  7205. fi
  7206. fi
  7207. NMEDIT=$ac_cv_prog_NMEDIT
  7208. if test -n "$NMEDIT"; then
  7209. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
  7210. $as_echo "$NMEDIT" >&6; }
  7211. else
  7212. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7213. $as_echo "no" >&6; }
  7214. fi
  7215. fi
  7216. if test -z "$ac_cv_prog_NMEDIT"; then
  7217. ac_ct_NMEDIT=$NMEDIT
  7218. # Extract the first word of "nmedit", so it can be a program name with args.
  7219. set dummy nmedit; ac_word=$2
  7220. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7221. $as_echo_n "checking for $ac_word... " >&6; }
  7222. if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
  7223. $as_echo_n "(cached) " >&6
  7224. else
  7225. if test -n "$ac_ct_NMEDIT"; then
  7226. ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
  7227. else
  7228. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7229. for as_dir in $PATH
  7230. do
  7231. IFS=$as_save_IFS
  7232. test -z "$as_dir" && as_dir=.
  7233. for ac_exec_ext in '' $ac_executable_extensions; do
  7234. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  7235. ac_cv_prog_ac_ct_NMEDIT="nmedit"
  7236. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7237. break 2
  7238. fi
  7239. done
  7240. done
  7241. IFS=$as_save_IFS
  7242. fi
  7243. fi
  7244. ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
  7245. if test -n "$ac_ct_NMEDIT"; then
  7246. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
  7247. $as_echo "$ac_ct_NMEDIT" >&6; }
  7248. else
  7249. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7250. $as_echo "no" >&6; }
  7251. fi
  7252. if test "x$ac_ct_NMEDIT" = x; then
  7253. NMEDIT=":"
  7254. else
  7255. case $cross_compiling:$ac_tool_warned in
  7256. yes:)
  7257. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  7258. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  7259. ac_tool_warned=yes ;;
  7260. esac
  7261. NMEDIT=$ac_ct_NMEDIT
  7262. fi
  7263. else
  7264. NMEDIT="$ac_cv_prog_NMEDIT"
  7265. fi
  7266. if test -n "$ac_tool_prefix"; then
  7267. # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
  7268. set dummy ${ac_tool_prefix}lipo; ac_word=$2
  7269. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7270. $as_echo_n "checking for $ac_word... " >&6; }
  7271. if test "${ac_cv_prog_LIPO+set}" = set; then :
  7272. $as_echo_n "(cached) " >&6
  7273. else
  7274. if test -n "$LIPO"; then
  7275. ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
  7276. else
  7277. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7278. for as_dir in $PATH
  7279. do
  7280. IFS=$as_save_IFS
  7281. test -z "$as_dir" && as_dir=.
  7282. for ac_exec_ext in '' $ac_executable_extensions; do
  7283. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  7284. ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
  7285. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7286. break 2
  7287. fi
  7288. done
  7289. done
  7290. IFS=$as_save_IFS
  7291. fi
  7292. fi
  7293. LIPO=$ac_cv_prog_LIPO
  7294. if test -n "$LIPO"; then
  7295. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
  7296. $as_echo "$LIPO" >&6; }
  7297. else
  7298. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7299. $as_echo "no" >&6; }
  7300. fi
  7301. fi
  7302. if test -z "$ac_cv_prog_LIPO"; then
  7303. ac_ct_LIPO=$LIPO
  7304. # Extract the first word of "lipo", so it can be a program name with args.
  7305. set dummy lipo; ac_word=$2
  7306. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7307. $as_echo_n "checking for $ac_word... " >&6; }
  7308. if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
  7309. $as_echo_n "(cached) " >&6
  7310. else
  7311. if test -n "$ac_ct_LIPO"; then
  7312. ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
  7313. else
  7314. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7315. for as_dir in $PATH
  7316. do
  7317. IFS=$as_save_IFS
  7318. test -z "$as_dir" && as_dir=.
  7319. for ac_exec_ext in '' $ac_executable_extensions; do
  7320. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  7321. ac_cv_prog_ac_ct_LIPO="lipo"
  7322. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7323. break 2
  7324. fi
  7325. done
  7326. done
  7327. IFS=$as_save_IFS
  7328. fi
  7329. fi
  7330. ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
  7331. if test -n "$ac_ct_LIPO"; then
  7332. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
  7333. $as_echo "$ac_ct_LIPO" >&6; }
  7334. else
  7335. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7336. $as_echo "no" >&6; }
  7337. fi
  7338. if test "x$ac_ct_LIPO" = x; then
  7339. LIPO=":"
  7340. else
  7341. case $cross_compiling:$ac_tool_warned in
  7342. yes:)
  7343. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  7344. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  7345. ac_tool_warned=yes ;;
  7346. esac
  7347. LIPO=$ac_ct_LIPO
  7348. fi
  7349. else
  7350. LIPO="$ac_cv_prog_LIPO"
  7351. fi
  7352. if test -n "$ac_tool_prefix"; then
  7353. # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
  7354. set dummy ${ac_tool_prefix}otool; ac_word=$2
  7355. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7356. $as_echo_n "checking for $ac_word... " >&6; }
  7357. if test "${ac_cv_prog_OTOOL+set}" = set; then :
  7358. $as_echo_n "(cached) " >&6
  7359. else
  7360. if test -n "$OTOOL"; then
  7361. ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
  7362. else
  7363. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7364. for as_dir in $PATH
  7365. do
  7366. IFS=$as_save_IFS
  7367. test -z "$as_dir" && as_dir=.
  7368. for ac_exec_ext in '' $ac_executable_extensions; do
  7369. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  7370. ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
  7371. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7372. break 2
  7373. fi
  7374. done
  7375. done
  7376. IFS=$as_save_IFS
  7377. fi
  7378. fi
  7379. OTOOL=$ac_cv_prog_OTOOL
  7380. if test -n "$OTOOL"; then
  7381. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
  7382. $as_echo "$OTOOL" >&6; }
  7383. else
  7384. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7385. $as_echo "no" >&6; }
  7386. fi
  7387. fi
  7388. if test -z "$ac_cv_prog_OTOOL"; then
  7389. ac_ct_OTOOL=$OTOOL
  7390. # Extract the first word of "otool", so it can be a program name with args.
  7391. set dummy otool; ac_word=$2
  7392. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7393. $as_echo_n "checking for $ac_word... " >&6; }
  7394. if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
  7395. $as_echo_n "(cached) " >&6
  7396. else
  7397. if test -n "$ac_ct_OTOOL"; then
  7398. ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
  7399. else
  7400. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7401. for as_dir in $PATH
  7402. do
  7403. IFS=$as_save_IFS
  7404. test -z "$as_dir" && as_dir=.
  7405. for ac_exec_ext in '' $ac_executable_extensions; do
  7406. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  7407. ac_cv_prog_ac_ct_OTOOL="otool"
  7408. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7409. break 2
  7410. fi
  7411. done
  7412. done
  7413. IFS=$as_save_IFS
  7414. fi
  7415. fi
  7416. ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
  7417. if test -n "$ac_ct_OTOOL"; then
  7418. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
  7419. $as_echo "$ac_ct_OTOOL" >&6; }
  7420. else
  7421. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7422. $as_echo "no" >&6; }
  7423. fi
  7424. if test "x$ac_ct_OTOOL" = x; then
  7425. OTOOL=":"
  7426. else
  7427. case $cross_compiling:$ac_tool_warned in
  7428. yes:)
  7429. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  7430. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  7431. ac_tool_warned=yes ;;
  7432. esac
  7433. OTOOL=$ac_ct_OTOOL
  7434. fi
  7435. else
  7436. OTOOL="$ac_cv_prog_OTOOL"
  7437. fi
  7438. if test -n "$ac_tool_prefix"; then
  7439. # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
  7440. set dummy ${ac_tool_prefix}otool64; ac_word=$2
  7441. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7442. $as_echo_n "checking for $ac_word... " >&6; }
  7443. if test "${ac_cv_prog_OTOOL64+set}" = set; then :
  7444. $as_echo_n "(cached) " >&6
  7445. else
  7446. if test -n "$OTOOL64"; then
  7447. ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
  7448. else
  7449. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7450. for as_dir in $PATH
  7451. do
  7452. IFS=$as_save_IFS
  7453. test -z "$as_dir" && as_dir=.
  7454. for ac_exec_ext in '' $ac_executable_extensions; do
  7455. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  7456. ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
  7457. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7458. break 2
  7459. fi
  7460. done
  7461. done
  7462. IFS=$as_save_IFS
  7463. fi
  7464. fi
  7465. OTOOL64=$ac_cv_prog_OTOOL64
  7466. if test -n "$OTOOL64"; then
  7467. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
  7468. $as_echo "$OTOOL64" >&6; }
  7469. else
  7470. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7471. $as_echo "no" >&6; }
  7472. fi
  7473. fi
  7474. if test -z "$ac_cv_prog_OTOOL64"; then
  7475. ac_ct_OTOOL64=$OTOOL64
  7476. # Extract the first word of "otool64", so it can be a program name with args.
  7477. set dummy otool64; ac_word=$2
  7478. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7479. $as_echo_n "checking for $ac_word... " >&6; }
  7480. if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
  7481. $as_echo_n "(cached) " >&6
  7482. else
  7483. if test -n "$ac_ct_OTOOL64"; then
  7484. ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
  7485. else
  7486. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7487. for as_dir in $PATH
  7488. do
  7489. IFS=$as_save_IFS
  7490. test -z "$as_dir" && as_dir=.
  7491. for ac_exec_ext in '' $ac_executable_extensions; do
  7492. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  7493. ac_cv_prog_ac_ct_OTOOL64="otool64"
  7494. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7495. break 2
  7496. fi
  7497. done
  7498. done
  7499. IFS=$as_save_IFS
  7500. fi
  7501. fi
  7502. ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
  7503. if test -n "$ac_ct_OTOOL64"; then
  7504. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
  7505. $as_echo "$ac_ct_OTOOL64" >&6; }
  7506. else
  7507. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7508. $as_echo "no" >&6; }
  7509. fi
  7510. if test "x$ac_ct_OTOOL64" = x; then
  7511. OTOOL64=":"
  7512. else
  7513. case $cross_compiling:$ac_tool_warned in
  7514. yes:)
  7515. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  7516. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  7517. ac_tool_warned=yes ;;
  7518. esac
  7519. OTOOL64=$ac_ct_OTOOL64
  7520. fi
  7521. else
  7522. OTOOL64="$ac_cv_prog_OTOOL64"
  7523. fi
  7524. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
  7525. $as_echo_n "checking for -single_module linker flag... " >&6; }
  7526. if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
  7527. $as_echo_n "(cached) " >&6
  7528. else
  7529. lt_cv_apple_cc_single_mod=no
  7530. if test -z "${LT_MULTI_MODULE}"; then
  7531. # By default we will add the -single_module flag. You can override
  7532. # by either setting the environment variable LT_MULTI_MODULE
  7533. # non-empty at configure time, or by adding -multi_module to the
  7534. # link flags.
  7535. rm -rf libconftest.dylib*
  7536. echo "int foo(void){return 1;}" > conftest.c
  7537. echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
  7538. -dynamiclib -Wl,-single_module conftest.c" >&5
  7539. $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
  7540. -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
  7541. _lt_result=$?
  7542. if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
  7543. lt_cv_apple_cc_single_mod=yes
  7544. else
  7545. cat conftest.err >&5
  7546. fi
  7547. rm -rf libconftest.dylib*
  7548. rm -f conftest.*
  7549. fi
  7550. fi
  7551. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
  7552. $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
  7553. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
  7554. $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
  7555. if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
  7556. $as_echo_n "(cached) " >&6
  7557. else
  7558. lt_cv_ld_exported_symbols_list=no
  7559. save_LDFLAGS=$LDFLAGS
  7560. echo "_main" > conftest.sym
  7561. LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
  7562. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7563. /* end confdefs.h. */
  7564. int
  7565. main ()
  7566. {
  7567. ;
  7568. return 0;
  7569. }
  7570. _ACEOF
  7571. if ac_fn_c_try_link "$LINENO"; then :
  7572. lt_cv_ld_exported_symbols_list=yes
  7573. else
  7574. lt_cv_ld_exported_symbols_list=no
  7575. fi
  7576. rm -f core conftest.err conftest.$ac_objext \
  7577. conftest$ac_exeext conftest.$ac_ext
  7578. LDFLAGS="$save_LDFLAGS"
  7579. fi
  7580. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
  7581. $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
  7582. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
  7583. $as_echo_n "checking for -force_load linker flag... " >&6; }
  7584. if test "${lt_cv_ld_force_load+set}" = set; then :
  7585. $as_echo_n "(cached) " >&6
  7586. else
  7587. lt_cv_ld_force_load=no
  7588. cat > conftest.c << _LT_EOF
  7589. int forced_loaded() { return 2;}
  7590. _LT_EOF
  7591. echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
  7592. $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
  7593. echo "$AR cru libconftest.a conftest.o" >&5
  7594. $AR cru libconftest.a conftest.o 2>&5
  7595. cat > conftest.c << _LT_EOF
  7596. int main() { return 0;}
  7597. _LT_EOF
  7598. echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
  7599. $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
  7600. _lt_result=$?
  7601. if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
  7602. lt_cv_ld_force_load=yes
  7603. else
  7604. cat conftest.err >&5
  7605. fi
  7606. rm -f conftest.err libconftest.a conftest conftest.c
  7607. rm -rf conftest.dSYM
  7608. fi
  7609. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
  7610. $as_echo "$lt_cv_ld_force_load" >&6; }
  7611. case $host_os in
  7612. rhapsody* | darwin1.[012])
  7613. _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
  7614. darwin1.*)
  7615. _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
  7616. darwin*) # darwin 5.x on
  7617. # if running on 10.5 or later, the deployment target defaults
  7618. # to the OS version, if on x86, and 10.4, the deployment
  7619. # target defaults to 10.4. Don't you love it?
  7620. case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
  7621. 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
  7622. _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
  7623. 10.[012][,.]*)
  7624. _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
  7625. 10.*)
  7626. _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
  7627. esac
  7628. ;;
  7629. esac
  7630. if test "$lt_cv_apple_cc_single_mod" = "yes"; then
  7631. _lt_dar_single_mod='$single_module'
  7632. fi
  7633. if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
  7634. _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
  7635. else
  7636. _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
  7637. fi
  7638. if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
  7639. _lt_dsymutil='~$DSYMUTIL $lib || :'
  7640. else
  7641. _lt_dsymutil=
  7642. fi
  7643. ;;
  7644. esac
  7645. for ac_header in dlfcn.h
  7646. do :
  7647. ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
  7648. "
  7649. if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
  7650. cat >>confdefs.h <<_ACEOF
  7651. #define HAVE_DLFCN_H 1
  7652. _ACEOF
  7653. fi
  7654. done
  7655. # Set options
  7656. enable_win32_dll=no
  7657. # Check whether --enable-shared was given.
  7658. if test "${enable_shared+set}" = set; then :
  7659. enableval=$enable_shared; p=${PACKAGE-default}
  7660. case $enableval in
  7661. yes) enable_shared=yes ;;
  7662. no) enable_shared=no ;;
  7663. *)
  7664. enable_shared=no
  7665. # Look at the argument we got. We use all the common list separators.
  7666. lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  7667. for pkg in $enableval; do
  7668. IFS="$lt_save_ifs"
  7669. if test "X$pkg" = "X$p"; then
  7670. enable_shared=yes
  7671. fi
  7672. done
  7673. IFS="$lt_save_ifs"
  7674. ;;
  7675. esac
  7676. else
  7677. enable_shared=yes
  7678. fi
  7679. # Check whether --enable-static was given.
  7680. if test "${enable_static+set}" = set; then :
  7681. enableval=$enable_static; p=${PACKAGE-default}
  7682. case $enableval in
  7683. yes) enable_static=yes ;;
  7684. no) enable_static=no ;;
  7685. *)
  7686. enable_static=no
  7687. # Look at the argument we got. We use all the common list separators.
  7688. lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  7689. for pkg in $enableval; do
  7690. IFS="$lt_save_ifs"
  7691. if test "X$pkg" = "X$p"; then
  7692. enable_static=yes
  7693. fi
  7694. done
  7695. IFS="$lt_save_ifs"
  7696. ;;
  7697. esac
  7698. else
  7699. enable_static=yes
  7700. fi
  7701. # Check whether --with-pic was given.
  7702. if test "${with_pic+set}" = set; then :
  7703. withval=$with_pic; pic_mode="$withval"
  7704. else
  7705. pic_mode=default
  7706. fi
  7707. test -z "$pic_mode" && pic_mode=default
  7708. # Check whether --enable-fast-install was given.
  7709. if test "${enable_fast_install+set}" = set; then :
  7710. enableval=$enable_fast_install; p=${PACKAGE-default}
  7711. case $enableval in
  7712. yes) enable_fast_install=yes ;;
  7713. no) enable_fast_install=no ;;
  7714. *)
  7715. enable_fast_install=no
  7716. # Look at the argument we got. We use all the common list separators.
  7717. lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  7718. for pkg in $enableval; do
  7719. IFS="$lt_save_ifs"
  7720. if test "X$pkg" = "X$p"; then
  7721. enable_fast_install=yes
  7722. fi
  7723. done
  7724. IFS="$lt_save_ifs"
  7725. ;;
  7726. esac
  7727. else
  7728. enable_fast_install=yes
  7729. fi
  7730. # This can be used to rebuild libtool when needed
  7731. LIBTOOL_DEPS="$ltmain"
  7732. # Always use our own libtool.
  7733. LIBTOOL='$(SHELL) $(top_builddir)/libtool'
  7734. test -z "$LN_S" && LN_S="ln -s"
  7735. if test -n "${ZSH_VERSION+set}" ; then
  7736. setopt NO_GLOB_SUBST
  7737. fi
  7738. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
  7739. $as_echo_n "checking for objdir... " >&6; }
  7740. if test "${lt_cv_objdir+set}" = set; then :
  7741. $as_echo_n "(cached) " >&6
  7742. else
  7743. rm -f .libs 2>/dev/null
  7744. mkdir .libs 2>/dev/null
  7745. if test -d .libs; then
  7746. lt_cv_objdir=.libs
  7747. else
  7748. # MS-DOS does not allow filenames that begin with a dot.
  7749. lt_cv_objdir=_libs
  7750. fi
  7751. rmdir .libs 2>/dev/null
  7752. fi
  7753. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
  7754. $as_echo "$lt_cv_objdir" >&6; }
  7755. objdir=$lt_cv_objdir
  7756. cat >>confdefs.h <<_ACEOF
  7757. #define LT_OBJDIR "$lt_cv_objdir/"
  7758. _ACEOF
  7759. case $host_os in
  7760. aix3*)
  7761. # AIX sometimes has problems with the GCC collect2 program. For some
  7762. # reason, if we set the COLLECT_NAMES environment variable, the problems
  7763. # vanish in a puff of smoke.
  7764. if test "X${COLLECT_NAMES+set}" != Xset; then
  7765. COLLECT_NAMES=
  7766. export COLLECT_NAMES
  7767. fi
  7768. ;;
  7769. esac
  7770. # Global variables:
  7771. ofile=libtool
  7772. can_build_shared=yes
  7773. # All known linkers require a `.a' archive for static linking (except MSVC,
  7774. # which needs '.lib').
  7775. libext=a
  7776. with_gnu_ld="$lt_cv_prog_gnu_ld"
  7777. old_CC="$CC"
  7778. old_CFLAGS="$CFLAGS"
  7779. # Set sane defaults for various variables
  7780. test -z "$CC" && CC=cc
  7781. test -z "$LTCC" && LTCC=$CC
  7782. test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
  7783. test -z "$LD" && LD=ld
  7784. test -z "$ac_objext" && ac_objext=o
  7785. for cc_temp in $compiler""; do
  7786. case $cc_temp in
  7787. compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
  7788. distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
  7789. \-*) ;;
  7790. *) break;;
  7791. esac
  7792. done
  7793. cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
  7794. # Only perform the check for file, if the check method requires it
  7795. test -z "$MAGIC_CMD" && MAGIC_CMD=file
  7796. case $deplibs_check_method in
  7797. file_magic*)
  7798. if test "$file_magic_cmd" = '$MAGIC_CMD'; then
  7799. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
  7800. $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
  7801. if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
  7802. $as_echo_n "(cached) " >&6
  7803. else
  7804. case $MAGIC_CMD in
  7805. [\\/*] | ?:[\\/]*)
  7806. lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
  7807. ;;
  7808. *)
  7809. lt_save_MAGIC_CMD="$MAGIC_CMD"
  7810. lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  7811. ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
  7812. for ac_dir in $ac_dummy; do
  7813. IFS="$lt_save_ifs"
  7814. test -z "$ac_dir" && ac_dir=.
  7815. if test -f $ac_dir/${ac_tool_prefix}file; then
  7816. lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
  7817. if test -n "$file_magic_test_file"; then
  7818. case $deplibs_check_method in
  7819. "file_magic "*)
  7820. file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
  7821. MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  7822. if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
  7823. $EGREP "$file_magic_regex" > /dev/null; then
  7824. :
  7825. else
  7826. cat <<_LT_EOF 1>&2
  7827. *** Warning: the command libtool uses to detect shared libraries,
  7828. *** $file_magic_cmd, produces output that libtool cannot recognize.
  7829. *** The result is that libtool may fail to recognize shared libraries
  7830. *** as such. This will affect the creation of libtool libraries that
  7831. *** depend on shared libraries, but programs linked with such libtool
  7832. *** libraries will work regardless of this problem. Nevertheless, you
  7833. *** may want to report the problem to your system manager and/or to
  7834. *** bug-libtool@gnu.org
  7835. _LT_EOF
  7836. fi ;;
  7837. esac
  7838. fi
  7839. break
  7840. fi
  7841. done
  7842. IFS="$lt_save_ifs"
  7843. MAGIC_CMD="$lt_save_MAGIC_CMD"
  7844. ;;
  7845. esac
  7846. fi
  7847. MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  7848. if test -n "$MAGIC_CMD"; then
  7849. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
  7850. $as_echo "$MAGIC_CMD" >&6; }
  7851. else
  7852. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7853. $as_echo "no" >&6; }
  7854. fi
  7855. if test -z "$lt_cv_path_MAGIC_CMD"; then
  7856. if test -n "$ac_tool_prefix"; then
  7857. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
  7858. $as_echo_n "checking for file... " >&6; }
  7859. if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
  7860. $as_echo_n "(cached) " >&6
  7861. else
  7862. case $MAGIC_CMD in
  7863. [\\/*] | ?:[\\/]*)
  7864. lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
  7865. ;;
  7866. *)
  7867. lt_save_MAGIC_CMD="$MAGIC_CMD"
  7868. lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  7869. ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
  7870. for ac_dir in $ac_dummy; do
  7871. IFS="$lt_save_ifs"
  7872. test -z "$ac_dir" && ac_dir=.
  7873. if test -f $ac_dir/file; then
  7874. lt_cv_path_MAGIC_CMD="$ac_dir/file"
  7875. if test -n "$file_magic_test_file"; then
  7876. case $deplibs_check_method in
  7877. "file_magic "*)
  7878. file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
  7879. MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  7880. if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
  7881. $EGREP "$file_magic_regex" > /dev/null; then
  7882. :
  7883. else
  7884. cat <<_LT_EOF 1>&2
  7885. *** Warning: the command libtool uses to detect shared libraries,
  7886. *** $file_magic_cmd, produces output that libtool cannot recognize.
  7887. *** The result is that libtool may fail to recognize shared libraries
  7888. *** as such. This will affect the creation of libtool libraries that
  7889. *** depend on shared libraries, but programs linked with such libtool
  7890. *** libraries will work regardless of this problem. Nevertheless, you
  7891. *** may want to report the problem to your system manager and/or to
  7892. *** bug-libtool@gnu.org
  7893. _LT_EOF
  7894. fi ;;
  7895. esac
  7896. fi
  7897. break
  7898. fi
  7899. done
  7900. IFS="$lt_save_ifs"
  7901. MAGIC_CMD="$lt_save_MAGIC_CMD"
  7902. ;;
  7903. esac
  7904. fi
  7905. MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  7906. if test -n "$MAGIC_CMD"; then
  7907. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
  7908. $as_echo "$MAGIC_CMD" >&6; }
  7909. else
  7910. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7911. $as_echo "no" >&6; }
  7912. fi
  7913. else
  7914. MAGIC_CMD=:
  7915. fi
  7916. fi
  7917. fi
  7918. ;;
  7919. esac
  7920. # Use C for the default configuration in the libtool script
  7921. lt_save_CC="$CC"
  7922. ac_ext=c
  7923. ac_cpp='$CPP $CPPFLAGS'
  7924. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  7925. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  7926. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  7927. # Source file extension for C test sources.
  7928. ac_ext=c
  7929. # Object file extension for compiled C test sources.
  7930. objext=o
  7931. objext=$objext
  7932. # Code to be used in simple compile tests
  7933. lt_simple_compile_test_code="int some_variable = 0;"
  7934. # Code to be used in simple link tests
  7935. lt_simple_link_test_code='int main(){return(0);}'
  7936. # If no C compiler was specified, use CC.
  7937. LTCC=${LTCC-"$CC"}
  7938. # If no C compiler flags were specified, use CFLAGS.
  7939. LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
  7940. # Allow CC to be a program name with arguments.
  7941. compiler=$CC
  7942. # Save the default compiler, since it gets overwritten when the other
  7943. # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
  7944. compiler_DEFAULT=$CC
  7945. # save warnings/boilerplate of simple test code
  7946. ac_outfile=conftest.$ac_objext
  7947. echo "$lt_simple_compile_test_code" >conftest.$ac_ext
  7948. eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  7949. _lt_compiler_boilerplate=`cat conftest.err`
  7950. $RM conftest*
  7951. ac_outfile=conftest.$ac_objext
  7952. echo "$lt_simple_link_test_code" >conftest.$ac_ext
  7953. eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  7954. _lt_linker_boilerplate=`cat conftest.err`
  7955. $RM -r conftest*
  7956. ## CAVEAT EMPTOR:
  7957. ## There is no encapsulation within the following macros, do not change
  7958. ## the running order or otherwise move them around unless you know exactly
  7959. ## what you are doing...
  7960. if test -n "$compiler"; then
  7961. lt_prog_compiler_no_builtin_flag=
  7962. if test "$GCC" = yes; then
  7963. case $cc_basename in
  7964. nvcc*)
  7965. lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
  7966. *)
  7967. lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
  7968. esac
  7969. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
  7970. $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
  7971. if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
  7972. $as_echo_n "(cached) " >&6
  7973. else
  7974. lt_cv_prog_compiler_rtti_exceptions=no
  7975. ac_outfile=conftest.$ac_objext
  7976. echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  7977. lt_compiler_flag="-fno-rtti -fno-exceptions"
  7978. # Insert the option either (1) after the last *FLAGS variable, or
  7979. # (2) before a word containing "conftest.", or (3) at the end.
  7980. # Note that $ac_compile itself does not contain backslashes and begins
  7981. # with a dollar sign (not a hyphen), so the echo should work correctly.
  7982. # The option is referenced via a variable to avoid confusing sed.
  7983. lt_compile=`echo "$ac_compile" | $SED \
  7984. -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  7985. -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  7986. -e 's:$: $lt_compiler_flag:'`
  7987. (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  7988. (eval "$lt_compile" 2>conftest.err)
  7989. ac_status=$?
  7990. cat conftest.err >&5
  7991. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7992. if (exit $ac_status) && test -s "$ac_outfile"; then
  7993. # The compiler can only warn and ignore the option if not recognized
  7994. # So say no if there are warnings other than the usual output.
  7995. $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
  7996. $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  7997. if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  7998. lt_cv_prog_compiler_rtti_exceptions=yes
  7999. fi
  8000. fi
  8001. $RM conftest*
  8002. fi
  8003. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
  8004. $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
  8005. if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
  8006. lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
  8007. else
  8008. :
  8009. fi
  8010. fi
  8011. lt_prog_compiler_wl=
  8012. lt_prog_compiler_pic=
  8013. lt_prog_compiler_static=
  8014. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
  8015. $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
  8016. if test "$GCC" = yes; then
  8017. lt_prog_compiler_wl='-Wl,'
  8018. lt_prog_compiler_static='-static'
  8019. case $host_os in
  8020. aix*)
  8021. # All AIX code is PIC.
  8022. if test "$host_cpu" = ia64; then
  8023. # AIX 5 now supports IA64 processor
  8024. lt_prog_compiler_static='-Bstatic'
  8025. fi
  8026. lt_prog_compiler_pic='-fPIC'
  8027. ;;
  8028. amigaos*)
  8029. case $host_cpu in
  8030. powerpc)
  8031. # see comment about AmigaOS4 .so support
  8032. lt_prog_compiler_pic='-fPIC'
  8033. ;;
  8034. m68k)
  8035. # FIXME: we need at least 68020 code to build shared libraries, but
  8036. # adding the `-m68020' flag to GCC prevents building anything better,
  8037. # like `-m68040'.
  8038. lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
  8039. ;;
  8040. esac
  8041. ;;
  8042. beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
  8043. # PIC is the default for these OSes.
  8044. ;;
  8045. mingw* | cygwin* | pw32* | os2* | cegcc*)
  8046. # This hack is so that the source file can tell whether it is being
  8047. # built for inclusion in a dll (and should export symbols for example).
  8048. # Although the cygwin gcc ignores -fPIC, still need this for old-style
  8049. # (--disable-auto-import) libraries
  8050. lt_prog_compiler_pic='-DDLL_EXPORT'
  8051. ;;
  8052. darwin* | rhapsody*)
  8053. # PIC is the default on this platform
  8054. # Common symbols not allowed in MH_DYLIB files
  8055. lt_prog_compiler_pic='-fno-common'
  8056. ;;
  8057. haiku*)
  8058. # PIC is the default for Haiku.
  8059. # The "-static" flag exists, but is broken.
  8060. lt_prog_compiler_static=
  8061. ;;
  8062. hpux*)
  8063. # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
  8064. # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
  8065. # sets the default TLS model and affects inlining.
  8066. case $host_cpu in
  8067. hppa*64*)
  8068. # +Z the default
  8069. ;;
  8070. *)
  8071. lt_prog_compiler_pic='-fPIC'
  8072. ;;
  8073. esac
  8074. ;;
  8075. interix[3-9]*)
  8076. # Interix 3.x gcc -fpic/-fPIC options generate broken code.
  8077. # Instead, we relocate shared libraries at runtime.
  8078. ;;
  8079. msdosdjgpp*)
  8080. # Just because we use GCC doesn't mean we suddenly get shared libraries
  8081. # on systems that don't support them.
  8082. lt_prog_compiler_can_build_shared=no
  8083. enable_shared=no
  8084. ;;
  8085. *nto* | *qnx*)
  8086. # QNX uses GNU C++, but need to define -shared option too, otherwise
  8087. # it will coredump.
  8088. lt_prog_compiler_pic='-fPIC -shared'
  8089. ;;
  8090. sysv4*MP*)
  8091. if test -d /usr/nec; then
  8092. lt_prog_compiler_pic=-Kconform_pic
  8093. fi
  8094. ;;
  8095. *)
  8096. lt_prog_compiler_pic='-fPIC'
  8097. ;;
  8098. esac
  8099. case $cc_basename in
  8100. nvcc*) # Cuda Compiler Driver 2.2
  8101. lt_prog_compiler_wl='-Xlinker '
  8102. lt_prog_compiler_pic='-Xcompiler -fPIC'
  8103. ;;
  8104. esac
  8105. else
  8106. # PORTME Check for flag to pass linker flags through the system compiler.
  8107. case $host_os in
  8108. aix*)
  8109. lt_prog_compiler_wl='-Wl,'
  8110. if test "$host_cpu" = ia64; then
  8111. # AIX 5 now supports IA64 processor
  8112. lt_prog_compiler_static='-Bstatic'
  8113. else
  8114. lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
  8115. fi
  8116. ;;
  8117. mingw* | cygwin* | pw32* | os2* | cegcc*)
  8118. # This hack is so that the source file can tell whether it is being
  8119. # built for inclusion in a dll (and should export symbols for example).
  8120. lt_prog_compiler_pic='-DDLL_EXPORT'
  8121. ;;
  8122. hpux9* | hpux10* | hpux11*)
  8123. lt_prog_compiler_wl='-Wl,'
  8124. # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
  8125. # not for PA HP-UX.
  8126. case $host_cpu in
  8127. hppa*64*|ia64*)
  8128. # +Z the default
  8129. ;;
  8130. *)
  8131. lt_prog_compiler_pic='+Z'
  8132. ;;
  8133. esac
  8134. # Is there a better lt_prog_compiler_static that works with the bundled CC?
  8135. lt_prog_compiler_static='${wl}-a ${wl}archive'
  8136. ;;
  8137. irix5* | irix6* | nonstopux*)
  8138. lt_prog_compiler_wl='-Wl,'
  8139. # PIC (with -KPIC) is the default.
  8140. lt_prog_compiler_static='-non_shared'
  8141. ;;
  8142. linux* | k*bsd*-gnu | kopensolaris*-gnu)
  8143. case $cc_basename in
  8144. # old Intel for x86_64 which still supported -KPIC.
  8145. ecc*)
  8146. lt_prog_compiler_wl='-Wl,'
  8147. lt_prog_compiler_pic='-KPIC'
  8148. lt_prog_compiler_static='-static'
  8149. ;;
  8150. # icc used to be incompatible with GCC.
  8151. # ICC 10 doesn't accept -KPIC any more.
  8152. icc* | ifort*)
  8153. lt_prog_compiler_wl='-Wl,'
  8154. lt_prog_compiler_pic='-fPIC'
  8155. lt_prog_compiler_static='-static'
  8156. ;;
  8157. # Lahey Fortran 8.1.
  8158. lf95*)
  8159. lt_prog_compiler_wl='-Wl,'
  8160. lt_prog_compiler_pic='--shared'
  8161. lt_prog_compiler_static='--static'
  8162. ;;
  8163. pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
  8164. # Portland Group compilers (*not* the Pentium gcc compiler,
  8165. # which looks to be a dead project)
  8166. lt_prog_compiler_wl='-Wl,'
  8167. lt_prog_compiler_pic='-fpic'
  8168. lt_prog_compiler_static='-Bstatic'
  8169. ;;
  8170. ccc*)
  8171. lt_prog_compiler_wl='-Wl,'
  8172. # All Alpha code is PIC.
  8173. lt_prog_compiler_static='-non_shared'
  8174. ;;
  8175. xl* | bgxl* | bgf* | mpixl*)
  8176. # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
  8177. lt_prog_compiler_wl='-Wl,'
  8178. lt_prog_compiler_pic='-qpic'
  8179. lt_prog_compiler_static='-qstaticlink'
  8180. ;;
  8181. *)
  8182. case `$CC -V 2>&1 | sed 5q` in
  8183. *Sun\ F* | *Sun*Fortran*)
  8184. # Sun Fortran 8.3 passes all unrecognized flags to the linker
  8185. lt_prog_compiler_pic='-KPIC'
  8186. lt_prog_compiler_static='-Bstatic'
  8187. lt_prog_compiler_wl=''
  8188. ;;
  8189. *Sun\ C*)
  8190. # Sun C 5.9
  8191. lt_prog_compiler_pic='-KPIC'
  8192. lt_prog_compiler_static='-Bstatic'
  8193. lt_prog_compiler_wl='-Wl,'
  8194. ;;
  8195. esac
  8196. ;;
  8197. esac
  8198. ;;
  8199. newsos6)
  8200. lt_prog_compiler_pic='-KPIC'
  8201. lt_prog_compiler_static='-Bstatic'
  8202. ;;
  8203. *nto* | *qnx*)
  8204. # QNX uses GNU C++, but need to define -shared option too, otherwise
  8205. # it will coredump.
  8206. lt_prog_compiler_pic='-fPIC -shared'
  8207. ;;
  8208. osf3* | osf4* | osf5*)
  8209. lt_prog_compiler_wl='-Wl,'
  8210. # All OSF/1 code is PIC.
  8211. lt_prog_compiler_static='-non_shared'
  8212. ;;
  8213. rdos*)
  8214. lt_prog_compiler_static='-non_shared'
  8215. ;;
  8216. solaris*)
  8217. lt_prog_compiler_pic='-KPIC'
  8218. lt_prog_compiler_static='-Bstatic'
  8219. case $cc_basename in
  8220. f77* | f90* | f95*)
  8221. lt_prog_compiler_wl='-Qoption ld ';;
  8222. *)
  8223. lt_prog_compiler_wl='-Wl,';;
  8224. esac
  8225. ;;
  8226. sunos4*)
  8227. lt_prog_compiler_wl='-Qoption ld '
  8228. lt_prog_compiler_pic='-PIC'
  8229. lt_prog_compiler_static='-Bstatic'
  8230. ;;
  8231. sysv4 | sysv4.2uw2* | sysv4.3*)
  8232. lt_prog_compiler_wl='-Wl,'
  8233. lt_prog_compiler_pic='-KPIC'
  8234. lt_prog_compiler_static='-Bstatic'
  8235. ;;
  8236. sysv4*MP*)
  8237. if test -d /usr/nec ;then
  8238. lt_prog_compiler_pic='-Kconform_pic'
  8239. lt_prog_compiler_static='-Bstatic'
  8240. fi
  8241. ;;
  8242. sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
  8243. lt_prog_compiler_wl='-Wl,'
  8244. lt_prog_compiler_pic='-KPIC'
  8245. lt_prog_compiler_static='-Bstatic'
  8246. ;;
  8247. unicos*)
  8248. lt_prog_compiler_wl='-Wl,'
  8249. lt_prog_compiler_can_build_shared=no
  8250. ;;
  8251. uts4*)
  8252. lt_prog_compiler_pic='-pic'
  8253. lt_prog_compiler_static='-Bstatic'
  8254. ;;
  8255. *)
  8256. lt_prog_compiler_can_build_shared=no
  8257. ;;
  8258. esac
  8259. fi
  8260. case $host_os in
  8261. # For platforms which do not support PIC, -DPIC is meaningless:
  8262. *djgpp*)
  8263. lt_prog_compiler_pic=
  8264. ;;
  8265. *)
  8266. lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
  8267. ;;
  8268. esac
  8269. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
  8270. $as_echo "$lt_prog_compiler_pic" >&6; }
  8271. #
  8272. # Check to make sure the PIC flag actually works.
  8273. #
  8274. if test -n "$lt_prog_compiler_pic"; then
  8275. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
  8276. $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
  8277. if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
  8278. $as_echo_n "(cached) " >&6
  8279. else
  8280. lt_cv_prog_compiler_pic_works=no
  8281. ac_outfile=conftest.$ac_objext
  8282. echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  8283. lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
  8284. # Insert the option either (1) after the last *FLAGS variable, or
  8285. # (2) before a word containing "conftest.", or (3) at the end.
  8286. # Note that $ac_compile itself does not contain backslashes and begins
  8287. # with a dollar sign (not a hyphen), so the echo should work correctly.
  8288. # The option is referenced via a variable to avoid confusing sed.
  8289. lt_compile=`echo "$ac_compile" | $SED \
  8290. -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  8291. -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  8292. -e 's:$: $lt_compiler_flag:'`
  8293. (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  8294. (eval "$lt_compile" 2>conftest.err)
  8295. ac_status=$?
  8296. cat conftest.err >&5
  8297. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8298. if (exit $ac_status) && test -s "$ac_outfile"; then
  8299. # The compiler can only warn and ignore the option if not recognized
  8300. # So say no if there are warnings other than the usual output.
  8301. $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
  8302. $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  8303. if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  8304. lt_cv_prog_compiler_pic_works=yes
  8305. fi
  8306. fi
  8307. $RM conftest*
  8308. fi
  8309. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
  8310. $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
  8311. if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
  8312. case $lt_prog_compiler_pic in
  8313. "" | " "*) ;;
  8314. *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
  8315. esac
  8316. else
  8317. lt_prog_compiler_pic=
  8318. lt_prog_compiler_can_build_shared=no
  8319. fi
  8320. fi
  8321. #
  8322. # Check to make sure the static flag actually works.
  8323. #
  8324. wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
  8325. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
  8326. $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
  8327. if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
  8328. $as_echo_n "(cached) " >&6
  8329. else
  8330. lt_cv_prog_compiler_static_works=no
  8331. save_LDFLAGS="$LDFLAGS"
  8332. LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
  8333. echo "$lt_simple_link_test_code" > conftest.$ac_ext
  8334. if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
  8335. # The linker can only warn and ignore the option if not recognized
  8336. # So say no if there are warnings
  8337. if test -s conftest.err; then
  8338. # Append any errors to the config.log.
  8339. cat conftest.err 1>&5
  8340. $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
  8341. $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  8342. if diff conftest.exp conftest.er2 >/dev/null; then
  8343. lt_cv_prog_compiler_static_works=yes
  8344. fi
  8345. else
  8346. lt_cv_prog_compiler_static_works=yes
  8347. fi
  8348. fi
  8349. $RM -r conftest*
  8350. LDFLAGS="$save_LDFLAGS"
  8351. fi
  8352. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
  8353. $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
  8354. if test x"$lt_cv_prog_compiler_static_works" = xyes; then
  8355. :
  8356. else
  8357. lt_prog_compiler_static=
  8358. fi
  8359. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
  8360. $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
  8361. if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
  8362. $as_echo_n "(cached) " >&6
  8363. else
  8364. lt_cv_prog_compiler_c_o=no
  8365. $RM -r conftest 2>/dev/null
  8366. mkdir conftest
  8367. cd conftest
  8368. mkdir out
  8369. echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  8370. lt_compiler_flag="-o out/conftest2.$ac_objext"
  8371. # Insert the option either (1) after the last *FLAGS variable, or
  8372. # (2) before a word containing "conftest.", or (3) at the end.
  8373. # Note that $ac_compile itself does not contain backslashes and begins
  8374. # with a dollar sign (not a hyphen), so the echo should work correctly.
  8375. lt_compile=`echo "$ac_compile" | $SED \
  8376. -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  8377. -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  8378. -e 's:$: $lt_compiler_flag:'`
  8379. (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  8380. (eval "$lt_compile" 2>out/conftest.err)
  8381. ac_status=$?
  8382. cat out/conftest.err >&5
  8383. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8384. if (exit $ac_status) && test -s out/conftest2.$ac_objext
  8385. then
  8386. # The compiler can only warn and ignore the option if not recognized
  8387. # So say no if there are warnings
  8388. $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
  8389. $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  8390. if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  8391. lt_cv_prog_compiler_c_o=yes
  8392. fi
  8393. fi
  8394. chmod u+w . 2>&5
  8395. $RM conftest*
  8396. # SGI C++ compiler will create directory out/ii_files/ for
  8397. # template instantiation
  8398. test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
  8399. $RM out/* && rmdir out
  8400. cd ..
  8401. $RM -r conftest
  8402. $RM conftest*
  8403. fi
  8404. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
  8405. $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
  8406. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
  8407. $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
  8408. if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
  8409. $as_echo_n "(cached) " >&6
  8410. else
  8411. lt_cv_prog_compiler_c_o=no
  8412. $RM -r conftest 2>/dev/null
  8413. mkdir conftest
  8414. cd conftest
  8415. mkdir out
  8416. echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  8417. lt_compiler_flag="-o out/conftest2.$ac_objext"
  8418. # Insert the option either (1) after the last *FLAGS variable, or
  8419. # (2) before a word containing "conftest.", or (3) at the end.
  8420. # Note that $ac_compile itself does not contain backslashes and begins
  8421. # with a dollar sign (not a hyphen), so the echo should work correctly.
  8422. lt_compile=`echo "$ac_compile" | $SED \
  8423. -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  8424. -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  8425. -e 's:$: $lt_compiler_flag:'`
  8426. (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  8427. (eval "$lt_compile" 2>out/conftest.err)
  8428. ac_status=$?
  8429. cat out/conftest.err >&5
  8430. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8431. if (exit $ac_status) && test -s out/conftest2.$ac_objext
  8432. then
  8433. # The compiler can only warn and ignore the option if not recognized
  8434. # So say no if there are warnings
  8435. $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
  8436. $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  8437. if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  8438. lt_cv_prog_compiler_c_o=yes
  8439. fi
  8440. fi
  8441. chmod u+w . 2>&5
  8442. $RM conftest*
  8443. # SGI C++ compiler will create directory out/ii_files/ for
  8444. # template instantiation
  8445. test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
  8446. $RM out/* && rmdir out
  8447. cd ..
  8448. $RM -r conftest
  8449. $RM conftest*
  8450. fi
  8451. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
  8452. $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
  8453. hard_links="nottested"
  8454. if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
  8455. # do not overwrite the value of need_locks provided by the user
  8456. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
  8457. $as_echo_n "checking if we can lock with hard links... " >&6; }
  8458. hard_links=yes
  8459. $RM conftest*
  8460. ln conftest.a conftest.b 2>/dev/null && hard_links=no
  8461. touch conftest.a
  8462. ln conftest.a conftest.b 2>&5 || hard_links=no
  8463. ln conftest.a conftest.b 2>/dev/null && hard_links=no
  8464. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
  8465. $as_echo "$hard_links" >&6; }
  8466. if test "$hard_links" = no; then
  8467. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
  8468. $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
  8469. need_locks=warn
  8470. fi
  8471. else
  8472. need_locks=no
  8473. fi
  8474. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
  8475. $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
  8476. runpath_var=
  8477. allow_undefined_flag=
  8478. always_export_symbols=no
  8479. archive_cmds=
  8480. archive_expsym_cmds=
  8481. compiler_needs_object=no
  8482. enable_shared_with_static_runtimes=no
  8483. export_dynamic_flag_spec=
  8484. export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  8485. hardcode_automatic=no
  8486. hardcode_direct=no
  8487. hardcode_direct_absolute=no
  8488. hardcode_libdir_flag_spec=
  8489. hardcode_libdir_flag_spec_ld=
  8490. hardcode_libdir_separator=
  8491. hardcode_minus_L=no
  8492. hardcode_shlibpath_var=unsupported
  8493. inherit_rpath=no
  8494. link_all_deplibs=unknown
  8495. module_cmds=
  8496. module_expsym_cmds=
  8497. old_archive_from_new_cmds=
  8498. old_archive_from_expsyms_cmds=
  8499. thread_safe_flag_spec=
  8500. whole_archive_flag_spec=
  8501. # include_expsyms should be a list of space-separated symbols to be *always*
  8502. # included in the symbol list
  8503. include_expsyms=
  8504. # exclude_expsyms can be an extended regexp of symbols to exclude
  8505. # it will be wrapped by ` (' and `)$', so one must not match beginning or
  8506. # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
  8507. # as well as any symbol that contains `d'.
  8508. exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
  8509. # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
  8510. # platforms (ab)use it in PIC code, but their linkers get confused if
  8511. # the symbol is explicitly referenced. Since portable code cannot
  8512. # rely on this symbol name, it's probably fine to never include it in
  8513. # preloaded symbol tables.
  8514. # Exclude shared library initialization/finalization symbols.
  8515. extract_expsyms_cmds=
  8516. case $host_os in
  8517. cygwin* | mingw* | pw32* | cegcc*)
  8518. # FIXME: the MSVC++ port hasn't been tested in a loooong time
  8519. # When not using gcc, we currently assume that we are using
  8520. # Microsoft Visual C++.
  8521. if test "$GCC" != yes; then
  8522. with_gnu_ld=no
  8523. fi
  8524. ;;
  8525. interix*)
  8526. # we just hope/assume this is gcc and not c89 (= MSVC++)
  8527. with_gnu_ld=yes
  8528. ;;
  8529. openbsd*)
  8530. with_gnu_ld=no
  8531. ;;
  8532. esac
  8533. ld_shlibs=yes
  8534. # On some targets, GNU ld is compatible enough with the native linker
  8535. # that we're better off using the native interface for both.
  8536. lt_use_gnu_ld_interface=no
  8537. if test "$with_gnu_ld" = yes; then
  8538. case $host_os in
  8539. aix*)
  8540. # The AIX port of GNU ld has always aspired to compatibility
  8541. # with the native linker. However, as the warning in the GNU ld
  8542. # block says, versions before 2.19.5* couldn't really create working
  8543. # shared libraries, regardless of the interface used.
  8544. case `$LD -v 2>&1` in
  8545. *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
  8546. *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
  8547. *\ \(GNU\ Binutils\)\ [3-9]*) ;;
  8548. *)
  8549. lt_use_gnu_ld_interface=yes
  8550. ;;
  8551. esac
  8552. ;;
  8553. *)
  8554. lt_use_gnu_ld_interface=yes
  8555. ;;
  8556. esac
  8557. fi
  8558. if test "$lt_use_gnu_ld_interface" = yes; then
  8559. # If archive_cmds runs LD, not CC, wlarc should be empty
  8560. wlarc='${wl}'
  8561. # Set some defaults for GNU ld with shared library support. These
  8562. # are reset later if shared libraries are not supported. Putting them
  8563. # here allows them to be overridden if necessary.
  8564. runpath_var=LD_RUN_PATH
  8565. hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  8566. export_dynamic_flag_spec='${wl}--export-dynamic'
  8567. # ancient GNU ld didn't support --whole-archive et. al.
  8568. if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
  8569. whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
  8570. else
  8571. whole_archive_flag_spec=
  8572. fi
  8573. supports_anon_versioning=no
  8574. case `$LD -v 2>&1` in
  8575. *GNU\ gold*) supports_anon_versioning=yes ;;
  8576. *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
  8577. *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
  8578. *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
  8579. *\ 2.11.*) ;; # other 2.11 versions
  8580. *) supports_anon_versioning=yes ;;
  8581. esac
  8582. # See if GNU ld supports shared libraries.
  8583. case $host_os in
  8584. aix[3-9]*)
  8585. # On AIX/PPC, the GNU linker is very broken
  8586. if test "$host_cpu" != ia64; then
  8587. ld_shlibs=no
  8588. cat <<_LT_EOF 1>&2
  8589. *** Warning: the GNU linker, at least up to release 2.19, is reported
  8590. *** to be unable to reliably create shared libraries on AIX.
  8591. *** Therefore, libtool is disabling shared libraries support. If you
  8592. *** really care for shared libraries, you may want to install binutils
  8593. *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
  8594. *** You will then need to restart the configuration process.
  8595. _LT_EOF
  8596. fi
  8597. ;;
  8598. amigaos*)
  8599. case $host_cpu in
  8600. powerpc)
  8601. # see comment about AmigaOS4 .so support
  8602. archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  8603. archive_expsym_cmds=''
  8604. ;;
  8605. m68k)
  8606. 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)'
  8607. hardcode_libdir_flag_spec='-L$libdir'
  8608. hardcode_minus_L=yes
  8609. ;;
  8610. esac
  8611. ;;
  8612. beos*)
  8613. if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  8614. allow_undefined_flag=unsupported
  8615. # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
  8616. # support --undefined. This deserves some investigation. FIXME
  8617. archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  8618. else
  8619. ld_shlibs=no
  8620. fi
  8621. ;;
  8622. cygwin* | mingw* | pw32* | cegcc*)
  8623. # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
  8624. # as there is no search path for DLLs.
  8625. hardcode_libdir_flag_spec='-L$libdir'
  8626. export_dynamic_flag_spec='${wl}--export-all-symbols'
  8627. allow_undefined_flag=unsupported
  8628. always_export_symbols=no
  8629. enable_shared_with_static_runtimes=yes
  8630. export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
  8631. if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
  8632. archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  8633. # If the export-symbols file already is a .def file (1st line
  8634. # is EXPORTS), use it as is; otherwise, prepend...
  8635. archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
  8636. cp $export_symbols $output_objdir/$soname.def;
  8637. else
  8638. echo EXPORTS > $output_objdir/$soname.def;
  8639. cat $export_symbols >> $output_objdir/$soname.def;
  8640. fi~
  8641. $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  8642. else
  8643. ld_shlibs=no
  8644. fi
  8645. ;;
  8646. haiku*)
  8647. archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  8648. link_all_deplibs=yes
  8649. ;;
  8650. interix[3-9]*)
  8651. hardcode_direct=no
  8652. hardcode_shlibpath_var=no
  8653. hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
  8654. export_dynamic_flag_spec='${wl}-E'
  8655. # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
  8656. # Instead, shared libraries are loaded at an image base (0x10000000 by
  8657. # default) and relocated if they conflict, which is a slow very memory
  8658. # consuming and fragmenting process. To avoid this, we pick a random,
  8659. # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
  8660. # time. Moving up from 0x10000000 also allows more sbrk(2) space.
  8661. archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
  8662. 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'
  8663. ;;
  8664. gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
  8665. tmp_diet=no
  8666. if test "$host_os" = linux-dietlibc; then
  8667. case $cc_basename in
  8668. diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
  8669. esac
  8670. fi
  8671. if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
  8672. && test "$tmp_diet" = no
  8673. then
  8674. tmp_addflag=' $pic_flag'
  8675. tmp_sharedflag='-shared'
  8676. case $cc_basename,$host_cpu in
  8677. pgcc*) # Portland Group C compiler
  8678. 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'
  8679. tmp_addflag=' $pic_flag'
  8680. ;;
  8681. pgf77* | pgf90* | pgf95* | pgfortran*)
  8682. # Portland Group f77 and f90 compilers
  8683. 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'
  8684. tmp_addflag=' $pic_flag -Mnomain' ;;
  8685. ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
  8686. tmp_addflag=' -i_dynamic' ;;
  8687. efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
  8688. tmp_addflag=' -i_dynamic -nofor_main' ;;
  8689. ifc* | ifort*) # Intel Fortran compiler
  8690. tmp_addflag=' -nofor_main' ;;
  8691. lf95*) # Lahey Fortran 8.1
  8692. whole_archive_flag_spec=
  8693. tmp_sharedflag='--shared' ;;
  8694. xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
  8695. tmp_sharedflag='-qmkshrobj'
  8696. tmp_addflag= ;;
  8697. nvcc*) # Cuda Compiler Driver 2.2
  8698. 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'
  8699. compiler_needs_object=yes
  8700. ;;
  8701. esac
  8702. case `$CC -V 2>&1 | sed 5q` in
  8703. *Sun\ C*) # Sun C 5.9
  8704. 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'
  8705. compiler_needs_object=yes
  8706. tmp_sharedflag='-G' ;;
  8707. *Sun\ F*) # Sun Fortran 8.3
  8708. tmp_sharedflag='-G' ;;
  8709. esac
  8710. archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  8711. if test "x$supports_anon_versioning" = xyes; then
  8712. archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
  8713. cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  8714. echo "local: *; };" >> $output_objdir/$libname.ver~
  8715. $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
  8716. fi
  8717. case $cc_basename in
  8718. xlf* | bgf* | bgxlf* | mpixlf*)
  8719. # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
  8720. whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
  8721. hardcode_libdir_flag_spec=
  8722. hardcode_libdir_flag_spec_ld='-rpath $libdir'
  8723. archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
  8724. if test "x$supports_anon_versioning" = xyes; then
  8725. archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
  8726. cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  8727. echo "local: *; };" >> $output_objdir/$libname.ver~
  8728. $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
  8729. fi
  8730. ;;
  8731. esac
  8732. else
  8733. ld_shlibs=no
  8734. fi
  8735. ;;
  8736. netbsd*)
  8737. if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  8738. archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
  8739. wlarc=
  8740. else
  8741. archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  8742. archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  8743. fi
  8744. ;;
  8745. solaris*)
  8746. if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
  8747. ld_shlibs=no
  8748. cat <<_LT_EOF 1>&2
  8749. *** Warning: The releases 2.8.* of the GNU linker cannot reliably
  8750. *** create shared libraries on Solaris systems. Therefore, libtool
  8751. *** is disabling shared libraries support. We urge you to upgrade GNU
  8752. *** binutils to release 2.9.1 or newer. Another option is to modify
  8753. *** your PATH or compiler configuration so that the native linker is
  8754. *** used, and then restart.
  8755. _LT_EOF
  8756. elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  8757. archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  8758. archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  8759. else
  8760. ld_shlibs=no
  8761. fi
  8762. ;;
  8763. sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
  8764. case `$LD -v 2>&1` in
  8765. *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
  8766. ld_shlibs=no
  8767. cat <<_LT_EOF 1>&2
  8768. *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
  8769. *** reliably create shared libraries on SCO systems. Therefore, libtool
  8770. *** is disabling shared libraries support. We urge you to upgrade GNU
  8771. *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
  8772. *** your PATH or compiler configuration so that the native linker is
  8773. *** used, and then restart.
  8774. _LT_EOF
  8775. ;;
  8776. *)
  8777. # For security reasons, it is highly recommended that you always
  8778. # use absolute paths for naming shared libraries, and exclude the
  8779. # DT_RUNPATH tag from executables and libraries. But doing so
  8780. # requires that you compile everything twice, which is a pain.
  8781. if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  8782. hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  8783. archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  8784. archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  8785. else
  8786. ld_shlibs=no
  8787. fi
  8788. ;;
  8789. esac
  8790. ;;
  8791. sunos4*)
  8792. archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  8793. wlarc=
  8794. hardcode_direct=yes
  8795. hardcode_shlibpath_var=no
  8796. ;;
  8797. *)
  8798. if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  8799. archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  8800. archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  8801. else
  8802. ld_shlibs=no
  8803. fi
  8804. ;;
  8805. esac
  8806. if test "$ld_shlibs" = no; then
  8807. runpath_var=
  8808. hardcode_libdir_flag_spec=
  8809. export_dynamic_flag_spec=
  8810. whole_archive_flag_spec=
  8811. fi
  8812. else
  8813. # PORTME fill in a description of your system's linker (not GNU ld)
  8814. case $host_os in
  8815. aix3*)
  8816. allow_undefined_flag=unsupported
  8817. always_export_symbols=yes
  8818. 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'
  8819. # Note: this linker hardcodes the directories in LIBPATH if there
  8820. # are no directories specified by -L.
  8821. hardcode_minus_L=yes
  8822. if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
  8823. # Neither direct hardcoding nor static linking is supported with a
  8824. # broken collect2.
  8825. hardcode_direct=unsupported
  8826. fi
  8827. ;;
  8828. aix[4-9]*)
  8829. if test "$host_cpu" = ia64; then
  8830. # On IA64, the linker does run time linking by default, so we don't
  8831. # have to do anything special.
  8832. aix_use_runtimelinking=no
  8833. exp_sym_flag='-Bexport'
  8834. no_entry_flag=""
  8835. else
  8836. # If we're using GNU nm, then we don't want the "-C" option.
  8837. # -C means demangle to AIX nm, but means don't demangle with GNU nm
  8838. # Also, AIX nm treats weak defined symbols like other global
  8839. # defined symbols, whereas GNU nm marks them as "W".
  8840. if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
  8841. 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'
  8842. else
  8843. export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
  8844. fi
  8845. aix_use_runtimelinking=no
  8846. # Test if we are trying to use run time linking or normal
  8847. # AIX style linking. If -brtl is somewhere in LDFLAGS, we
  8848. # need to do runtime linking.
  8849. case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
  8850. for ld_flag in $LDFLAGS; do
  8851. if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
  8852. aix_use_runtimelinking=yes
  8853. break
  8854. fi
  8855. done
  8856. ;;
  8857. esac
  8858. exp_sym_flag='-bexport'
  8859. no_entry_flag='-bnoentry'
  8860. fi
  8861. # When large executables or shared objects are built, AIX ld can
  8862. # have problems creating the table of contents. If linking a library
  8863. # or program results in "error TOC overflow" add -mminimal-toc to
  8864. # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
  8865. # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
  8866. archive_cmds=''
  8867. hardcode_direct=yes
  8868. hardcode_direct_absolute=yes
  8869. hardcode_libdir_separator=':'
  8870. link_all_deplibs=yes
  8871. file_list_spec='${wl}-f,'
  8872. if test "$GCC" = yes; then
  8873. case $host_os in aix4.[012]|aix4.[012].*)
  8874. # We only want to do this on AIX 4.2 and lower, the check
  8875. # below for broken collect2 doesn't work under 4.3+
  8876. collect2name=`${CC} -print-prog-name=collect2`
  8877. if test -f "$collect2name" &&
  8878. strings "$collect2name" | $GREP resolve_lib_name >/dev/null
  8879. then
  8880. # We have reworked collect2
  8881. :
  8882. else
  8883. # We have old collect2
  8884. hardcode_direct=unsupported
  8885. # It fails to find uninstalled libraries when the uninstalled
  8886. # path is not listed in the libpath. Setting hardcode_minus_L
  8887. # to unsupported forces relinking
  8888. hardcode_minus_L=yes
  8889. hardcode_libdir_flag_spec='-L$libdir'
  8890. hardcode_libdir_separator=
  8891. fi
  8892. ;;
  8893. esac
  8894. shared_flag='-shared'
  8895. if test "$aix_use_runtimelinking" = yes; then
  8896. shared_flag="$shared_flag "'${wl}-G'
  8897. fi
  8898. else
  8899. # not using gcc
  8900. if test "$host_cpu" = ia64; then
  8901. # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
  8902. # chokes on -Wl,-G. The following line is correct:
  8903. shared_flag='-G'
  8904. else
  8905. if test "$aix_use_runtimelinking" = yes; then
  8906. shared_flag='${wl}-G'
  8907. else
  8908. shared_flag='${wl}-bM:SRE'
  8909. fi
  8910. fi
  8911. fi
  8912. export_dynamic_flag_spec='${wl}-bexpall'
  8913. # It seems that -bexpall does not export symbols beginning with
  8914. # underscore (_), so it is better to generate a list of symbols to export.
  8915. always_export_symbols=yes
  8916. if test "$aix_use_runtimelinking" = yes; then
  8917. # Warning - without using the other runtime loading flags (-brtl),
  8918. # -berok will link without error, but may produce a broken library.
  8919. allow_undefined_flag='-berok'
  8920. # Determine the default libpath from the value encoded in an
  8921. # empty executable.
  8922. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8923. /* end confdefs.h. */
  8924. int
  8925. main ()
  8926. {
  8927. ;
  8928. return 0;
  8929. }
  8930. _ACEOF
  8931. if ac_fn_c_try_link "$LINENO"; then :
  8932. lt_aix_libpath_sed='
  8933. /Import File Strings/,/^$/ {
  8934. /^0/ {
  8935. s/^0 *\(.*\)$/\1/
  8936. p
  8937. }
  8938. }'
  8939. aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  8940. # Check for a 64-bit object if we didn't find anything.
  8941. if test -z "$aix_libpath"; then
  8942. aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  8943. fi
  8944. fi
  8945. rm -f core conftest.err conftest.$ac_objext \
  8946. conftest$ac_exeext conftest.$ac_ext
  8947. if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  8948. hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
  8949. 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"
  8950. else
  8951. if test "$host_cpu" = ia64; then
  8952. hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
  8953. allow_undefined_flag="-z nodefs"
  8954. 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"
  8955. else
  8956. # Determine the default libpath from the value encoded in an
  8957. # empty executable.
  8958. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8959. /* end confdefs.h. */
  8960. int
  8961. main ()
  8962. {
  8963. ;
  8964. return 0;
  8965. }
  8966. _ACEOF
  8967. if ac_fn_c_try_link "$LINENO"; then :
  8968. lt_aix_libpath_sed='
  8969. /Import File Strings/,/^$/ {
  8970. /^0/ {
  8971. s/^0 *\(.*\)$/\1/
  8972. p
  8973. }
  8974. }'
  8975. aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  8976. # Check for a 64-bit object if we didn't find anything.
  8977. if test -z "$aix_libpath"; then
  8978. aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  8979. fi
  8980. fi
  8981. rm -f core conftest.err conftest.$ac_objext \
  8982. conftest$ac_exeext conftest.$ac_ext
  8983. if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  8984. hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
  8985. # Warning - without using the other run time loading flags,
  8986. # -berok will link without error, but may produce a broken library.
  8987. no_undefined_flag=' ${wl}-bernotok'
  8988. allow_undefined_flag=' ${wl}-berok'
  8989. if test "$with_gnu_ld" = yes; then
  8990. # We only use this code for GNU lds that support --whole-archive.
  8991. whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
  8992. else
  8993. # Exported symbols can be pulled into shared objects from archives
  8994. whole_archive_flag_spec='$convenience'
  8995. fi
  8996. archive_cmds_need_lc=yes
  8997. # This is similar to how AIX traditionally builds its shared libraries.
  8998. 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'
  8999. fi
  9000. fi
  9001. ;;
  9002. amigaos*)
  9003. case $host_cpu in
  9004. powerpc)
  9005. # see comment about AmigaOS4 .so support
  9006. archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  9007. archive_expsym_cmds=''
  9008. ;;
  9009. m68k)
  9010. 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)'
  9011. hardcode_libdir_flag_spec='-L$libdir'
  9012. hardcode_minus_L=yes
  9013. ;;
  9014. esac
  9015. ;;
  9016. bsdi[45]*)
  9017. export_dynamic_flag_spec=-rdynamic
  9018. ;;
  9019. cygwin* | mingw* | pw32* | cegcc*)
  9020. # When not using gcc, we currently assume that we are using
  9021. # Microsoft Visual C++.
  9022. # hardcode_libdir_flag_spec is actually meaningless, as there is
  9023. # no search path for DLLs.
  9024. hardcode_libdir_flag_spec=' '
  9025. allow_undefined_flag=unsupported
  9026. # Tell ltmain to make .lib files, not .a files.
  9027. libext=lib
  9028. # Tell ltmain to make .dll files, not .so files.
  9029. shrext_cmds=".dll"
  9030. # FIXME: Setting linknames here is a bad hack.
  9031. archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
  9032. # The linker will automatically build a .lib file if we build a DLL.
  9033. old_archive_from_new_cmds='true'
  9034. # FIXME: Should let the user specify the lib program.
  9035. old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
  9036. fix_srcfile_path='`cygpath -w "$srcfile"`'
  9037. enable_shared_with_static_runtimes=yes
  9038. ;;
  9039. darwin* | rhapsody*)
  9040. archive_cmds_need_lc=no
  9041. hardcode_direct=no
  9042. hardcode_automatic=yes
  9043. hardcode_shlibpath_var=unsupported
  9044. if test "$lt_cv_ld_force_load" = "yes"; then
  9045. 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\"`'
  9046. else
  9047. whole_archive_flag_spec=''
  9048. fi
  9049. link_all_deplibs=yes
  9050. allow_undefined_flag="$_lt_dar_allow_undefined"
  9051. case $cc_basename in
  9052. ifort*) _lt_dar_can_shared=yes ;;
  9053. *) _lt_dar_can_shared=$GCC ;;
  9054. esac
  9055. if test "$_lt_dar_can_shared" = "yes"; then
  9056. output_verbose_link_cmd=func_echo_all
  9057. archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
  9058. module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
  9059. 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}"
  9060. 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}"
  9061. else
  9062. ld_shlibs=no
  9063. fi
  9064. ;;
  9065. dgux*)
  9066. archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  9067. hardcode_libdir_flag_spec='-L$libdir'
  9068. hardcode_shlibpath_var=no
  9069. ;;
  9070. # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
  9071. # support. Future versions do this automatically, but an explicit c++rt0.o
  9072. # does not break anything, and helps significantly (at the cost of a little
  9073. # extra space).
  9074. freebsd2.2*)
  9075. archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
  9076. hardcode_libdir_flag_spec='-R$libdir'
  9077. hardcode_direct=yes
  9078. hardcode_shlibpath_var=no
  9079. ;;
  9080. # Unfortunately, older versions of FreeBSD 2 do not have this feature.
  9081. freebsd2.*)
  9082. archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  9083. hardcode_direct=yes
  9084. hardcode_minus_L=yes
  9085. hardcode_shlibpath_var=no
  9086. ;;
  9087. # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
  9088. freebsd* | dragonfly*)
  9089. archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
  9090. hardcode_libdir_flag_spec='-R$libdir'
  9091. hardcode_direct=yes
  9092. hardcode_shlibpath_var=no
  9093. ;;
  9094. hpux9*)
  9095. if test "$GCC" = yes; then
  9096. 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'
  9097. else
  9098. 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'
  9099. fi
  9100. hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
  9101. hardcode_libdir_separator=:
  9102. hardcode_direct=yes
  9103. # hardcode_minus_L: Not really in the search PATH,
  9104. # but as the default location of the library.
  9105. hardcode_minus_L=yes
  9106. export_dynamic_flag_spec='${wl}-E'
  9107. ;;
  9108. hpux10*)
  9109. if test "$GCC" = yes && test "$with_gnu_ld" = no; then
  9110. archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  9111. else
  9112. archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
  9113. fi
  9114. if test "$with_gnu_ld" = no; then
  9115. hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
  9116. hardcode_libdir_flag_spec_ld='+b $libdir'
  9117. hardcode_libdir_separator=:
  9118. hardcode_direct=yes
  9119. hardcode_direct_absolute=yes
  9120. export_dynamic_flag_spec='${wl}-E'
  9121. # hardcode_minus_L: Not really in the search PATH,
  9122. # but as the default location of the library.
  9123. hardcode_minus_L=yes
  9124. fi
  9125. ;;
  9126. hpux11*)
  9127. if test "$GCC" = yes && test "$with_gnu_ld" = no; then
  9128. case $host_cpu in
  9129. hppa*64*)
  9130. archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  9131. ;;
  9132. ia64*)
  9133. archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  9134. ;;
  9135. *)
  9136. archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  9137. ;;
  9138. esac
  9139. else
  9140. case $host_cpu in
  9141. hppa*64*)
  9142. archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  9143. ;;
  9144. ia64*)
  9145. archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  9146. ;;
  9147. *)
  9148. # Older versions of the 11.00 compiler do not understand -b yet
  9149. # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
  9150. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
  9151. $as_echo_n "checking if $CC understands -b... " >&6; }
  9152. if test "${lt_cv_prog_compiler__b+set}" = set; then :
  9153. $as_echo_n "(cached) " >&6
  9154. else
  9155. lt_cv_prog_compiler__b=no
  9156. save_LDFLAGS="$LDFLAGS"
  9157. LDFLAGS="$LDFLAGS -b"
  9158. echo "$lt_simple_link_test_code" > conftest.$ac_ext
  9159. if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
  9160. # The linker can only warn and ignore the option if not recognized
  9161. # So say no if there are warnings
  9162. if test -s conftest.err; then
  9163. # Append any errors to the config.log.
  9164. cat conftest.err 1>&5
  9165. $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
  9166. $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  9167. if diff conftest.exp conftest.er2 >/dev/null; then
  9168. lt_cv_prog_compiler__b=yes
  9169. fi
  9170. else
  9171. lt_cv_prog_compiler__b=yes
  9172. fi
  9173. fi
  9174. $RM -r conftest*
  9175. LDFLAGS="$save_LDFLAGS"
  9176. fi
  9177. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
  9178. $as_echo "$lt_cv_prog_compiler__b" >&6; }
  9179. if test x"$lt_cv_prog_compiler__b" = xyes; then
  9180. archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  9181. else
  9182. archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
  9183. fi
  9184. ;;
  9185. esac
  9186. fi
  9187. if test "$with_gnu_ld" = no; then
  9188. hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
  9189. hardcode_libdir_separator=:
  9190. case $host_cpu in
  9191. hppa*64*|ia64*)
  9192. hardcode_direct=no
  9193. hardcode_shlibpath_var=no
  9194. ;;
  9195. *)
  9196. hardcode_direct=yes
  9197. hardcode_direct_absolute=yes
  9198. export_dynamic_flag_spec='${wl}-E'
  9199. # hardcode_minus_L: Not really in the search PATH,
  9200. # but as the default location of the library.
  9201. hardcode_minus_L=yes
  9202. ;;
  9203. esac
  9204. fi
  9205. ;;
  9206. irix5* | irix6* | nonstopux*)
  9207. if test "$GCC" = yes; then
  9208. 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'
  9209. # Try to use the -exported_symbol ld option, if it does not
  9210. # work, assume that -exports_file does not work either and
  9211. # implicitly export all symbols.
  9212. save_LDFLAGS="$LDFLAGS"
  9213. LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
  9214. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9215. /* end confdefs.h. */
  9216. int foo(void) {}
  9217. _ACEOF
  9218. if ac_fn_c_try_link "$LINENO"; then :
  9219. 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'
  9220. fi
  9221. rm -f core conftest.err conftest.$ac_objext \
  9222. conftest$ac_exeext conftest.$ac_ext
  9223. LDFLAGS="$save_LDFLAGS"
  9224. else
  9225. 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'
  9226. 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'
  9227. fi
  9228. archive_cmds_need_lc='no'
  9229. hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  9230. hardcode_libdir_separator=:
  9231. inherit_rpath=yes
  9232. link_all_deplibs=yes
  9233. ;;
  9234. netbsd*)
  9235. if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  9236. archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
  9237. else
  9238. archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
  9239. fi
  9240. hardcode_libdir_flag_spec='-R$libdir'
  9241. hardcode_direct=yes
  9242. hardcode_shlibpath_var=no
  9243. ;;
  9244. newsos6)
  9245. archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  9246. hardcode_direct=yes
  9247. hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  9248. hardcode_libdir_separator=:
  9249. hardcode_shlibpath_var=no
  9250. ;;
  9251. *nto* | *qnx*)
  9252. ;;
  9253. openbsd*)
  9254. if test -f /usr/libexec/ld.so; then
  9255. hardcode_direct=yes
  9256. hardcode_shlibpath_var=no
  9257. hardcode_direct_absolute=yes
  9258. if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  9259. archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  9260. archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
  9261. hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
  9262. export_dynamic_flag_spec='${wl}-E'
  9263. else
  9264. case $host_os in
  9265. openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
  9266. archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  9267. hardcode_libdir_flag_spec='-R$libdir'
  9268. ;;
  9269. *)
  9270. archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  9271. hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
  9272. ;;
  9273. esac
  9274. fi
  9275. else
  9276. ld_shlibs=no
  9277. fi
  9278. ;;
  9279. os2*)
  9280. hardcode_libdir_flag_spec='-L$libdir'
  9281. hardcode_minus_L=yes
  9282. allow_undefined_flag=unsupported
  9283. 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'
  9284. old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
  9285. ;;
  9286. osf3*)
  9287. if test "$GCC" = yes; then
  9288. allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
  9289. 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'
  9290. else
  9291. allow_undefined_flag=' -expect_unresolved \*'
  9292. 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'
  9293. fi
  9294. archive_cmds_need_lc='no'
  9295. hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  9296. hardcode_libdir_separator=:
  9297. ;;
  9298. osf4* | osf5*) # as osf3* with the addition of -msym flag
  9299. if test "$GCC" = yes; then
  9300. allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
  9301. 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'
  9302. hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  9303. else
  9304. allow_undefined_flag=' -expect_unresolved \*'
  9305. 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'
  9306. 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~
  9307. $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'
  9308. # Both c and cxx compiler support -rpath directly
  9309. hardcode_libdir_flag_spec='-rpath $libdir'
  9310. fi
  9311. archive_cmds_need_lc='no'
  9312. hardcode_libdir_separator=:
  9313. ;;
  9314. solaris*)
  9315. no_undefined_flag=' -z defs'
  9316. if test "$GCC" = yes; then
  9317. wlarc='${wl}'
  9318. archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  9319. archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  9320. $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
  9321. else
  9322. case `$CC -V 2>&1` in
  9323. *"Compilers 5.0"*)
  9324. wlarc=''
  9325. archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
  9326. archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  9327. $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
  9328. ;;
  9329. *)
  9330. wlarc='${wl}'
  9331. archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
  9332. archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  9333. $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
  9334. ;;
  9335. esac
  9336. fi
  9337. hardcode_libdir_flag_spec='-R$libdir'
  9338. hardcode_shlibpath_var=no
  9339. case $host_os in
  9340. solaris2.[0-5] | solaris2.[0-5].*) ;;
  9341. *)
  9342. # The compiler driver will combine and reorder linker options,
  9343. # but understands `-z linker_flag'. GCC discards it without `$wl',
  9344. # but is careful enough not to reorder.
  9345. # Supported since Solaris 2.6 (maybe 2.5.1?)
  9346. if test "$GCC" = yes; then
  9347. whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
  9348. else
  9349. whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
  9350. fi
  9351. ;;
  9352. esac
  9353. link_all_deplibs=yes
  9354. ;;
  9355. sunos4*)
  9356. if test "x$host_vendor" = xsequent; then
  9357. # Use $CC to link under sequent, because it throws in some extra .o
  9358. # files that make .init and .fini sections work.
  9359. archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
  9360. else
  9361. archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
  9362. fi
  9363. hardcode_libdir_flag_spec='-L$libdir'
  9364. hardcode_direct=yes
  9365. hardcode_minus_L=yes
  9366. hardcode_shlibpath_var=no
  9367. ;;
  9368. sysv4)
  9369. case $host_vendor in
  9370. sni)
  9371. archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  9372. hardcode_direct=yes # is this really true???
  9373. ;;
  9374. siemens)
  9375. ## LD is ld it makes a PLAMLIB
  9376. ## CC just makes a GrossModule.
  9377. archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
  9378. reload_cmds='$CC -r -o $output$reload_objs'
  9379. hardcode_direct=no
  9380. ;;
  9381. motorola)
  9382. archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  9383. hardcode_direct=no #Motorola manual says yes, but my tests say they lie
  9384. ;;
  9385. esac
  9386. runpath_var='LD_RUN_PATH'
  9387. hardcode_shlibpath_var=no
  9388. ;;
  9389. sysv4.3*)
  9390. archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  9391. hardcode_shlibpath_var=no
  9392. export_dynamic_flag_spec='-Bexport'
  9393. ;;
  9394. sysv4*MP*)
  9395. if test -d /usr/nec; then
  9396. archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  9397. hardcode_shlibpath_var=no
  9398. runpath_var=LD_RUN_PATH
  9399. hardcode_runpath_var=yes
  9400. ld_shlibs=yes
  9401. fi
  9402. ;;
  9403. sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
  9404. no_undefined_flag='${wl}-z,text'
  9405. archive_cmds_need_lc=no
  9406. hardcode_shlibpath_var=no
  9407. runpath_var='LD_RUN_PATH'
  9408. if test "$GCC" = yes; then
  9409. archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  9410. archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  9411. else
  9412. archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  9413. archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  9414. fi
  9415. ;;
  9416. sysv5* | sco3.2v5* | sco5v6*)
  9417. # Note: We can NOT use -z defs as we might desire, because we do not
  9418. # link with -lc, and that would cause any symbols used from libc to
  9419. # always be unresolved, which means just about no library would
  9420. # ever link correctly. If we're not using GNU ld we use -z text
  9421. # though, which does catch some bad symbols but isn't as heavy-handed
  9422. # as -z defs.
  9423. no_undefined_flag='${wl}-z,text'
  9424. allow_undefined_flag='${wl}-z,nodefs'
  9425. archive_cmds_need_lc=no
  9426. hardcode_shlibpath_var=no
  9427. hardcode_libdir_flag_spec='${wl}-R,$libdir'
  9428. hardcode_libdir_separator=':'
  9429. link_all_deplibs=yes
  9430. export_dynamic_flag_spec='${wl}-Bexport'
  9431. runpath_var='LD_RUN_PATH'
  9432. if test "$GCC" = yes; then
  9433. archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  9434. archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  9435. else
  9436. archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  9437. archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  9438. fi
  9439. ;;
  9440. uts4*)
  9441. archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  9442. hardcode_libdir_flag_spec='-L$libdir'
  9443. hardcode_shlibpath_var=no
  9444. ;;
  9445. *)
  9446. ld_shlibs=no
  9447. ;;
  9448. esac
  9449. if test x$host_vendor = xsni; then
  9450. case $host in
  9451. sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
  9452. export_dynamic_flag_spec='${wl}-Blargedynsym'
  9453. ;;
  9454. esac
  9455. fi
  9456. fi
  9457. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
  9458. $as_echo "$ld_shlibs" >&6; }
  9459. test "$ld_shlibs" = no && can_build_shared=no
  9460. with_gnu_ld=$with_gnu_ld
  9461. #
  9462. # Do we need to explicitly link libc?
  9463. #
  9464. case "x$archive_cmds_need_lc" in
  9465. x|xyes)
  9466. # Assume -lc should be added
  9467. archive_cmds_need_lc=yes
  9468. if test "$enable_shared" = yes && test "$GCC" = yes; then
  9469. case $archive_cmds in
  9470. *'~'*)
  9471. # FIXME: we may have to deal with multi-command sequences.
  9472. ;;
  9473. '$CC '*)
  9474. # Test whether the compiler implicitly links with -lc since on some
  9475. # systems, -lgcc has to come before -lc. If gcc already passes -lc
  9476. # to ld, don't add -lc before -lgcc.
  9477. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
  9478. $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
  9479. if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
  9480. $as_echo_n "(cached) " >&6
  9481. else
  9482. $RM conftest*
  9483. echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  9484. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  9485. (eval $ac_compile) 2>&5
  9486. ac_status=$?
  9487. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  9488. test $ac_status = 0; } 2>conftest.err; then
  9489. soname=conftest
  9490. lib=conftest
  9491. libobjs=conftest.$ac_objext
  9492. deplibs=
  9493. wl=$lt_prog_compiler_wl
  9494. pic_flag=$lt_prog_compiler_pic
  9495. compiler_flags=-v
  9496. linker_flags=-v
  9497. verstring=
  9498. output_objdir=.
  9499. libname=conftest
  9500. lt_save_allow_undefined_flag=$allow_undefined_flag
  9501. allow_undefined_flag=
  9502. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
  9503. (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
  9504. ac_status=$?
  9505. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  9506. test $ac_status = 0; }
  9507. then
  9508. lt_cv_archive_cmds_need_lc=no
  9509. else
  9510. lt_cv_archive_cmds_need_lc=yes
  9511. fi
  9512. allow_undefined_flag=$lt_save_allow_undefined_flag
  9513. else
  9514. cat conftest.err 1>&5
  9515. fi
  9516. $RM conftest*
  9517. fi
  9518. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
  9519. $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
  9520. archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
  9521. ;;
  9522. esac
  9523. fi
  9524. ;;
  9525. esac
  9526. { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
  9527. $as_echo_n "checking dynamic linker characteristics... " >&6; }
  9528. if test "$GCC" = yes; then
  9529. case $host_os in
  9530. darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
  9531. *) lt_awk_arg="/^libraries:/" ;;
  9532. esac
  9533. case $host_os in
  9534. mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
  9535. *) lt_sed_strip_eq="s,=/,/,g" ;;
  9536. esac
  9537. lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
  9538. case $lt_search_path_spec in
  9539. *\;*)
  9540. # if the path contains ";" then we assume it to be the separator
  9541. # otherwise default to the standard path separator (i.e. ":") - it is
  9542. # assumed that no part of a normal pathname contains ";" but that should
  9543. # okay in the real world where ";" in dirpaths is itself problematic.
  9544. lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
  9545. ;;
  9546. *)
  9547. lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
  9548. ;;
  9549. esac
  9550. # Ok, now we have the path, separated by spaces, we can step through it
  9551. # and add multilib dir if necessary.
  9552. lt_tmp_lt_search_path_spec=
  9553. lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
  9554. for lt_sys_path in $lt_search_path_spec; do
  9555. if test -d "$lt_sys_path/$lt_multi_os_dir"; then
  9556. lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
  9557. else
  9558. test -d "$lt_sys_path" && \
  9559. lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
  9560. fi
  9561. done
  9562. lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
  9563. BEGIN {RS=" "; FS="/|\n";} {
  9564. lt_foo="";
  9565. lt_count=0;
  9566. for (lt_i = NF; lt_i > 0; lt_i--) {
  9567. if ($lt_i != "" && $lt_i != ".") {
  9568. if ($lt_i == "..") {
  9569. lt_count++;
  9570. } else {
  9571. if (lt_count == 0) {
  9572. lt_foo="/" $lt_i lt_foo;
  9573. } else {
  9574. lt_count--;
  9575. }
  9576. }
  9577. }
  9578. }
  9579. if (lt_foo != "") { lt_freq[lt_foo]++; }
  9580. if (lt_freq[lt_foo] == 1) { print lt_foo; }
  9581. }'`
  9582. # AWK program above erroneously prepends '/' to C:/dos/paths
  9583. # for these hosts.
  9584. case $host_os in
  9585. mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
  9586. $SED 's,/\([A-Za-z]:\),\1,g'` ;;
  9587. esac
  9588. sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
  9589. else
  9590. sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
  9591. fi
  9592. library_names_spec=
  9593. libname_spec='lib$name'
  9594. soname_spec=
  9595. shrext_cmds=".so"
  9596. postinstall_cmds=
  9597. postuninstall_cmds=
  9598. finish_cmds=
  9599. finish_eval=
  9600. shlibpath_var=
  9601. shlibpath_overrides_runpath=unknown
  9602. version_type=none
  9603. dynamic_linker="$host_os ld.so"
  9604. sys_lib_dlsearch_path_spec="/lib /usr/lib"
  9605. need_lib_prefix=unknown
  9606. hardcode_into_libs=no
  9607. # when you set need_version to no, make sure it does not cause -set_version
  9608. # flags to be left without arguments
  9609. need_version=unknown
  9610. case $host_os in
  9611. aix3*)
  9612. version_type=linux
  9613. library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
  9614. shlibpath_var=LIBPATH
  9615. # AIX 3 has no versioning support, so we append a major version to the name.
  9616. soname_spec='${libname}${release}${shared_ext}$major'
  9617. ;;
  9618. aix[4-9]*)
  9619. version_type=linux
  9620. need_lib_prefix=no
  9621. need_version=no
  9622. hardcode_into_libs=yes
  9623. if test "$host_cpu" = ia64; then
  9624. # AIX 5 supports IA64
  9625. library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
  9626. shlibpath_var=LD_LIBRARY_PATH
  9627. else
  9628. # With GCC up to 2.95.x, collect2 would create an import file
  9629. # for dependence libraries. The import file would start with
  9630. # the line `#! .'. This would cause the generated library to
  9631. # depend on `.', always an invalid library. This was fixed in
  9632. # development snapshots of GCC prior to 3.0.
  9633. case $host_os in
  9634. aix4 | aix4.[01] | aix4.[01].*)
  9635. if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
  9636. echo ' yes '
  9637. echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
  9638. :
  9639. else
  9640. can_build_shared=no
  9641. fi
  9642. ;;
  9643. esac
  9644. # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
  9645. # soname into executable. Probably we can add versioning support to
  9646. # collect2, so additional links can be useful in future.
  9647. if test "$aix_use_runtimelinking" = yes; then
  9648. # If using run time linking (on AIX 4.2 or later) use lib<name>.so
  9649. # instead of lib<name>.a to let people know that these are not
  9650. # typical AIX shared libraries.
  9651. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  9652. else
  9653. # We preserve .a as extension for shared libraries through AIX4.2
  9654. # and later when we are not doing run time linking.
  9655. library_names_spec='${libname}${release}.a $libname.a'
  9656. soname_spec='${libname}${release}${shared_ext}$major'
  9657. fi
  9658. shlibpath_var=LIBPATH
  9659. fi
  9660. ;;
  9661. amigaos*)
  9662. case $host_cpu in
  9663. powerpc)
  9664. # Since July 2007 AmigaOS4 officially supports .so libraries.
  9665. # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
  9666. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  9667. ;;
  9668. m68k)
  9669. library_names_spec='$libname.ixlibrary $libname.a'
  9670. # Create ${libname}_ixlibrary.a entries in /sys/libs.
  9671. 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'
  9672. ;;
  9673. esac
  9674. ;;
  9675. beos*)
  9676. library_names_spec='${libname}${shared_ext}'
  9677. dynamic_linker="$host_os ld.so"
  9678. shlibpath_var=LIBRARY_PATH
  9679. ;;
  9680. bsdi[45]*)
  9681. version_type=linux
  9682. need_version=no
  9683. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  9684. soname_spec='${libname}${release}${shared_ext}$major'
  9685. finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
  9686. shlibpath_var=LD_LIBRARY_PATH
  9687. sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
  9688. sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
  9689. # the default ld.so.conf also contains /usr/contrib/lib and
  9690. # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
  9691. # libtool to hard-code these into programs
  9692. ;;
  9693. cygwin* | mingw* | pw32* | cegcc*)
  9694. version_type=windows
  9695. shrext_cmds=".dll"
  9696. need_version=no
  9697. need_lib_prefix=no
  9698. case $GCC,$host_os in
  9699. yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
  9700. library_names_spec='$libname.dll.a'
  9701. # DLL is installed to $(libdir)/../bin by postinstall_cmds
  9702. postinstall_cmds='base_file=`basename \${file}`~
  9703. dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
  9704. dldir=$destdir/`dirname \$dlpath`~
  9705. test -d \$dldir || mkdir -p \$dldir~
  9706. $install_prog $dir/$dlname \$dldir/$dlname~
  9707. chmod a+x \$dldir/$dlname~
  9708. if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
  9709. eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
  9710. fi'
  9711. postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
  9712. dlpath=$dir/\$dldll~
  9713. $RM \$dlpath'
  9714. shlibpath_overrides_runpath=yes
  9715. case $host_os in
  9716. cygwin*)
  9717. # Cygwin DLLs use 'cyg' prefix rather than 'lib'
  9718. soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  9719. sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
  9720. ;;
  9721. mingw* | cegcc*)
  9722. # MinGW DLLs use traditional 'lib' prefix
  9723. soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  9724. ;;
  9725. pw32*)
  9726. # pw32 DLLs use 'pw' prefix rather than 'lib'
  9727. library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  9728. ;;
  9729. esac
  9730. ;;
  9731. *)
  9732. library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
  9733. ;;
  9734. esac
  9735. dynamic_linker='Win32 ld.exe'
  9736. # FIXME: first we should search . and the directory the executable is in
  9737. shlibpath_var=PATH
  9738. ;;
  9739. darwin* | rhapsody*)
  9740. dynamic_linker="$host_os dyld"
  9741. version_type=darwin
  9742. need_lib_prefix=no
  9743. need_version=no
  9744. library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
  9745. soname_spec='${libname}${release}${major}$shared_ext'
  9746. shlibpath_overrides_runpath=yes
  9747. shlibpath_var=DYLD_LIBRARY_PATH
  9748. shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
  9749. sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
  9750. sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
  9751. ;;
  9752. dgux*)
  9753. version_type=linux
  9754. need_lib_prefix=no
  9755. need_version=no
  9756. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
  9757. soname_spec='${libname}${release}${shared_ext}$major'
  9758. shlibpath_var=LD_LIBRARY_PATH
  9759. ;;
  9760. freebsd* | dragonfly*)
  9761. # DragonFly does not have aout. When/if they implement a new
  9762. # versioning mechanism, adjust this.
  9763. if test -x /usr/bin/objformat; then
  9764. objformat=`/usr/bin/objformat`
  9765. else
  9766. case $host_os in
  9767. freebsd[23].*) objformat=aout ;;
  9768. *) objformat=elf ;;
  9769. esac
  9770. fi
  9771. version_type=freebsd-$objformat
  9772. case $version_type in
  9773. freebsd-elf*)
  9774. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
  9775. need_version=no
  9776. need_lib_prefix=no
  9777. ;;
  9778. freebsd-*)
  9779. library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
  9780. need_version=yes
  9781. ;;
  9782. esac
  9783. shlibpath_var=LD_LIBRARY_PATH
  9784. case $host_os in
  9785. freebsd2.*)
  9786. shlibpath_overrides_runpath=yes
  9787. ;;
  9788. freebsd3.[01]* | freebsdelf3.[01]*)
  9789. shlibpath_overrides_runpath=yes
  9790. hardcode_into_libs=yes
  9791. ;;
  9792. freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
  9793. freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
  9794. shlibpath_overrides_runpath=no
  9795. hardcode_into_libs=yes
  9796. ;;
  9797. *) # from 4.6 on, and DragonFly
  9798. shlibpath_overrides_runpath=yes
  9799. hardcode_into_libs=yes
  9800. ;;
  9801. esac
  9802. ;;
  9803. gnu*)
  9804. version_type=linux
  9805. need_lib_prefix=no
  9806. need_version=no
  9807. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
  9808. soname_spec='${libname}${release}${shared_ext}$major'
  9809. shlibpath_var=LD_LIBRARY_PATH
  9810. hardcode_into_libs=yes
  9811. ;;
  9812. haiku*)
  9813. version_type=linux
  9814. need_lib_prefix=no
  9815. need_version=no
  9816. dynamic_linker="$host_os runtime_loader"
  9817. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
  9818. soname_spec='${libname}${release}${shared_ext}$major'
  9819. shlibpath_var=LIBRARY_PATH
  9820. shlibpath_overrides_runpath=yes
  9821. sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
  9822. hardcode_into_libs=yes
  9823. ;;
  9824. hpux9* | hpux10* | hpux11*)
  9825. # Give a soname corresponding to the major version so that dld.sl refuses to
  9826. # link against other versions.
  9827. version_type=sunos
  9828. need_lib_prefix=no
  9829. need_version=no
  9830. case $host_cpu in
  9831. ia64*)
  9832. shrext_cmds='.so'
  9833. hardcode_into_libs=yes
  9834. dynamic_linker="$host_os dld.so"
  9835. shlibpath_var=LD_LIBRARY_PATH
  9836. shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  9837. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  9838. soname_spec='${libname}${release}${shared_ext}$major'
  9839. if test "X$HPUX_IA64_MODE" = X32; then
  9840. sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
  9841. else
  9842. sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
  9843. fi
  9844. sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  9845. ;;
  9846. hppa*64*)
  9847. shrext_cmds='.sl'
  9848. hardcode_into_libs=yes
  9849. dynamic_linker="$host_os dld.sl"
  9850. shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
  9851. shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  9852. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  9853. soname_spec='${libname}${release}${shared_ext}$major'
  9854. sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
  9855. sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  9856. ;;
  9857. *)
  9858. shrext_cmds='.sl'
  9859. dynamic_linker="$host_os dld.sl"
  9860. shlibpath_var=SHLIB_PATH
  9861. shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
  9862. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  9863. soname_spec='${libname}${release}${shared_ext}$major'
  9864. ;;
  9865. esac
  9866. # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
  9867. postinstall_cmds='chmod 555 $lib'
  9868. # or fails outright, so override atomically:
  9869. install_override_mode=555
  9870. ;;
  9871. interix[3-9]*)
  9872. version_type=linux
  9873. need_lib_prefix=no
  9874. need_version=no
  9875. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  9876. soname_spec='${libname}${release}${shared_ext}$major'
  9877. dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
  9878. shlibpath_var=LD_LIBRARY_PATH
  9879. shlibpath_overrides_runpath=no
  9880. hardcode_into_libs=yes
  9881. ;;
  9882. irix5* | irix6* | nonstopux*)
  9883. case $host_os in
  9884. nonstopux*) version_type=nonstopux ;;
  9885. *)
  9886. if test "$lt_cv_prog_gnu_ld" = yes; then
  9887. version_type=linux
  9888. else
  9889. version_type=irix
  9890. fi ;;
  9891. esac
  9892. need_lib_prefix=no
  9893. need_version=no
  9894. soname_spec='${libname}${release}${shared_ext}$major'
  9895. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
  9896. case $host_os in
  9897. irix5* | nonstopux*)
  9898. libsuff= shlibsuff=
  9899. ;;
  9900. *)
  9901. case $LD in # libtool.m4 will add one of these switches to LD
  9902. *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
  9903. libsuff= shlibsuff= libmagic=32-bit;;
  9904. *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
  9905. libsuff=32 shlibsuff=N32 libmagic=N32;;
  9906. *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
  9907. libsuff=64 shlibsuff=64 libmagic=64-bit;;
  9908. *) libsuff= shlibsuff= libmagic=never-match;;
  9909. esac
  9910. ;;
  9911. esac
  9912. shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
  9913. shlibpath_overrides_runpath=no
  9914. sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
  9915. sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
  9916. hardcode_into_libs=yes
  9917. ;;
  9918. # No shared lib support for Linux oldld, aout, or coff.
  9919. linux*oldld* | linux*aout* | linux*coff*)
  9920. dynamic_linker=no
  9921. ;;
  9922. # This must be Linux ELF.
  9923. linux* | k*bsd*-gnu | kopensolaris*-gnu)
  9924. version_type=linux
  9925. need_lib_prefix=no
  9926. need_version=no
  9927. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  9928. soname_spec='${libname}${release}${shared_ext}$major'
  9929. finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
  9930. shlibpath_var=LD_LIBRARY_PATH
  9931. shlibpath_overrides_runpath=no
  9932. # Some binutils ld are patched to set DT_RUNPATH
  9933. if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
  9934. $as_echo_n "(cached) " >&6
  9935. else
  9936. lt_cv_shlibpath_overrides_runpath=no
  9937. save_LDFLAGS=$LDFLAGS
  9938. save_libdir=$libdir
  9939. eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
  9940. LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
  9941. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9942. /* end confdefs.h. */
  9943. int
  9944. main ()
  9945. {
  9946. ;
  9947. return 0;
  9948. }
  9949. _ACEOF
  9950. if ac_fn_c_try_link "$LINENO"; then :
  9951. if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
  9952. lt_cv_shlibpath_overrides_runpath=yes
  9953. fi
  9954. fi
  9955. rm -f core conftest.err conftest.$ac_objext \
  9956. conftest$ac_exeext conftest.$ac_ext
  9957. LDFLAGS=$save_LDFLAGS
  9958. libdir=$save_libdir
  9959. fi
  9960. shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
  9961. # This implies no fast_install, which is unacceptable.
  9962. # Some rework will be needed to allow for fast_install
  9963. # before this can be enabled.
  9964. hardcode_into_libs=yes
  9965. # Append ld.so.conf contents to the search path
  9966. if test -f /etc/ld.so.conf; then
  9967. 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' ' '`
  9968. sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
  9969. fi
  9970. # We used to test for /lib/ld.so.1 and disable shared libraries on
  9971. # powerpc, because MkLinux only supported shared libraries with the
  9972. # GNU dynamic linker. Since this was broken with cross compilers,
  9973. # most powerpc-linux boxes support dynamic linking these days and
  9974. # people can always --disable-shared, the test was removed, and we
  9975. # assume the GNU/Linux dynamic linker is in use.
  9976. dynamic_linker='GNU/Linux ld.so'
  9977. ;;
  9978. netbsd*)
  9979. version_type=sunos
  9980. need_lib_prefix=no
  9981. need_version=no
  9982. if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  9983. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  9984. finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  9985. dynamic_linker='NetBSD (a.out) ld.so'
  9986. else
  9987. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  9988. soname_spec='${libname}${release}${shared_ext}$major'
  9989. dynamic_linker='NetBSD ld.elf_so'
  9990. fi
  9991. shlibpath_var=LD_LIBRARY_PATH
  9992. shlibpath_overrides_runpath=yes
  9993. hardcode_into_libs=yes
  9994. ;;
  9995. newsos6)
  9996. version_type=linux
  9997. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  9998. shlibpath_var=LD_LIBRARY_PATH
  9999. shlibpath_overrides_runpath=yes
  10000. ;;
  10001. *nto* | *qnx*)
  10002. version_type=qnx
  10003. need_lib_prefix=no
  10004. need_version=no
  10005. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  10006. soname_spec='${libname}${release}${shared_ext}$major'
  10007. shlibpath_var=LD_LIBRARY_PATH
  10008. shlibpath_overrides_runpath=no
  10009. hardcode_into_libs=yes
  10010. dynamic_linker='ldqnx.so'
  10011. ;;
  10012. openbsd*)
  10013. version_type=sunos
  10014. sys_lib_dlsearch_path_spec="/usr/lib"
  10015. need_lib_prefix=no
  10016. # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
  10017. case $host_os in
  10018. openbsd3.3 | openbsd3.3.*) need_version=yes ;;
  10019. *) need_version=no ;;
  10020. esac
  10021. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  10022. finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  10023. shlibpath_var=LD_LIBRARY_PATH
  10024. if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  10025. case $host_os in
  10026. openbsd2.[89] | openbsd2.[89].*)
  10027. shlibpath_overrides_runpath=no
  10028. ;;
  10029. *)
  10030. shlibpath_overrides_runpath=yes
  10031. ;;
  10032. esac
  10033. else
  10034. shlibpath_overrides_runpath=yes
  10035. fi
  10036. ;;
  10037. os2*)
  10038. libname_spec='$name'
  10039. shrext_cmds=".dll"
  10040. need_lib_prefix=no
  10041. library_names_spec='$libname${shared_ext} $libname.a'
  10042. dynamic_linker='OS/2 ld.exe'
  10043. shlibpath_var=LIBPATH
  10044. ;;
  10045. osf3* | osf4* | osf5*)
  10046. version_type=osf
  10047. need_lib_prefix=no
  10048. need_version=no
  10049. soname_spec='${libname}${release}${shared_ext}$major'
  10050. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  10051. shlibpath_var=LD_LIBRARY_PATH
  10052. sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
  10053. sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
  10054. ;;
  10055. rdos*)
  10056. dynamic_linker=no
  10057. ;;
  10058. solaris*)
  10059. version_type=linux
  10060. need_lib_prefix=no
  10061. need_version=no
  10062. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  10063. soname_spec='${libname}${release}${shared_ext}$major'
  10064. shlibpath_var=LD_LIBRARY_PATH
  10065. shlibpath_overrides_runpath=yes
  10066. hardcode_into_libs=yes
  10067. # ldd complains unless libraries are executable
  10068. postinstall_cmds='chmod +x $lib'
  10069. ;;
  10070. sunos4*)
  10071. version_type=sunos
  10072. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  10073. finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
  10074. shlibpath_var=LD_LIBRARY_PATH
  10075. shlibpath_overrides_runpath=yes
  10076. if test "$with_gnu_ld" = yes; then
  10077. need_lib_prefix=no
  10078. fi
  10079. need_version=yes
  10080. ;;
  10081. sysv4 | sysv4.3*)
  10082. version_type=linux
  10083. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  10084. soname_spec='${libname}${release}${shared_ext}$major'
  10085. shlibpath_var=LD_LIBRARY_PATH
  10086. case $host_vendor in
  10087. sni)
  10088. shlibpath_overrides_runpath=no
  10089. need_lib_prefix=no
  10090. runpath_var=LD_RUN_PATH
  10091. ;;
  10092. siemens)
  10093. need_lib_prefix=no
  10094. ;;
  10095. motorola)
  10096. need_lib_prefix=no
  10097. need_version=no
  10098. shlibpath_overrides_runpath=no
  10099. sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
  10100. ;;
  10101. esac
  10102. ;;
  10103. sysv4*MP*)
  10104. if test -d /usr/nec ;then
  10105. version_type=linux
  10106. library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
  10107. soname_spec='$libname${shared_ext}.$major'
  10108. shlibpath_var=LD_LIBRARY_PATH
  10109. fi
  10110. ;;
  10111. sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  10112. version_type=freebsd-elf
  10113. need_lib_prefix=no
  10114. need_version=no
  10115. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
  10116. soname_spec='${libname}${release}${shared_ext}$major'
  10117. shlibpath_var=LD_LIBRARY_PATH
  10118. shlibpath_overrides_runpath=yes
  10119. hardcode_into_libs=yes
  10120. if test "$with_gnu_ld" = yes; then
  10121. sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
  10122. else
  10123. sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
  10124. case $host_os in
  10125. sco3.2v5*)
  10126. sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
  10127. ;;
  10128. esac
  10129. fi
  10130. sys_lib_dlsearch_path_spec='/usr/lib'
  10131. ;;
  10132. tpf*)
  10133. # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
  10134. version_type=linux
  10135. need_lib_prefix=no
  10136. need_version=no
  10137. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  10138. shlibpath_var=LD_LIBRARY_PATH
  10139. shlibpath_overrides_runpath=no
  10140. hardcode_into_libs=yes
  10141. ;;
  10142. uts4*)
  10143. version_type=linux
  10144. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  10145. soname_spec='${libname}${release}${shared_ext}$major'
  10146. shlibpath_var=LD_LIBRARY_PATH
  10147. ;;
  10148. *)
  10149. dynamic_linker=no
  10150. ;;
  10151. esac
  10152. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
  10153. $as_echo "$dynamic_linker" >&6; }
  10154. test "$dynamic_linker" = no && can_build_shared=no
  10155. variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
  10156. if test "$GCC" = yes; then
  10157. variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
  10158. fi
  10159. if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
  10160. sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
  10161. fi
  10162. if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
  10163. sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
  10164. fi
  10165. { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
  10166. $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
  10167. hardcode_action=
  10168. if test -n "$hardcode_libdir_flag_spec" ||
  10169. test -n "$runpath_var" ||
  10170. test "X$hardcode_automatic" = "Xyes" ; then
  10171. # We can hardcode non-existent directories.
  10172. if test "$hardcode_direct" != no &&
  10173. # If the only mechanism to avoid hardcoding is shlibpath_var, we
  10174. # have to relink, otherwise we might link with an installed library
  10175. # when we should be linking with a yet-to-be-installed one
  10176. ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
  10177. test "$hardcode_minus_L" != no; then
  10178. # Linking always hardcodes the temporary library directory.
  10179. hardcode_action=relink
  10180. else
  10181. # We can link without hardcoding, and we can hardcode nonexisting dirs.
  10182. hardcode_action=immediate
  10183. fi
  10184. else
  10185. # We cannot hardcode anything, or else we can only hardcode existing
  10186. # directories.
  10187. hardcode_action=unsupported
  10188. fi
  10189. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
  10190. $as_echo "$hardcode_action" >&6; }
  10191. if test "$hardcode_action" = relink ||
  10192. test "$inherit_rpath" = yes; then
  10193. # Fast installation is not supported
  10194. enable_fast_install=no
  10195. elif test "$shlibpath_overrides_runpath" = yes ||
  10196. test "$enable_shared" = no; then
  10197. # Fast installation is not necessary
  10198. enable_fast_install=needless
  10199. fi
  10200. if test "x$enable_dlopen" != xyes; then
  10201. enable_dlopen=unknown
  10202. enable_dlopen_self=unknown
  10203. enable_dlopen_self_static=unknown
  10204. else
  10205. lt_cv_dlopen=no
  10206. lt_cv_dlopen_libs=
  10207. case $host_os in
  10208. beos*)
  10209. lt_cv_dlopen="load_add_on"
  10210. lt_cv_dlopen_libs=
  10211. lt_cv_dlopen_self=yes
  10212. ;;
  10213. mingw* | pw32* | cegcc*)
  10214. lt_cv_dlopen="LoadLibrary"
  10215. lt_cv_dlopen_libs=
  10216. ;;
  10217. cygwin*)
  10218. lt_cv_dlopen="dlopen"
  10219. lt_cv_dlopen_libs=
  10220. ;;
  10221. darwin*)
  10222. # if libdl is installed we need to link against it
  10223. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
  10224. $as_echo_n "checking for dlopen in -ldl... " >&6; }
  10225. if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
  10226. $as_echo_n "(cached) " >&6
  10227. else
  10228. ac_check_lib_save_LIBS=$LIBS
  10229. LIBS="-ldl $LIBS"
  10230. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10231. /* end confdefs.h. */
  10232. /* Override any GCC internal prototype to avoid an error.
  10233. Use char because int might match the return type of a GCC
  10234. builtin and then its argument prototype would still apply. */
  10235. #ifdef __cplusplus
  10236. extern "C"
  10237. #endif
  10238. char dlopen ();
  10239. int
  10240. main ()
  10241. {
  10242. return dlopen ();
  10243. ;
  10244. return 0;
  10245. }
  10246. _ACEOF
  10247. if ac_fn_c_try_link "$LINENO"; then :
  10248. ac_cv_lib_dl_dlopen=yes
  10249. else
  10250. ac_cv_lib_dl_dlopen=no
  10251. fi
  10252. rm -f core conftest.err conftest.$ac_objext \
  10253. conftest$ac_exeext conftest.$ac_ext
  10254. LIBS=$ac_check_lib_save_LIBS
  10255. fi
  10256. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
  10257. $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
  10258. if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
  10259. lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
  10260. else
  10261. lt_cv_dlopen="dyld"
  10262. lt_cv_dlopen_libs=
  10263. lt_cv_dlopen_self=yes
  10264. fi
  10265. ;;
  10266. *)
  10267. ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
  10268. if test "x$ac_cv_func_shl_load" = x""yes; then :
  10269. lt_cv_dlopen="shl_load"
  10270. else
  10271. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
  10272. $as_echo_n "checking for shl_load in -ldld... " >&6; }
  10273. if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
  10274. $as_echo_n "(cached) " >&6
  10275. else
  10276. ac_check_lib_save_LIBS=$LIBS
  10277. LIBS="-ldld $LIBS"
  10278. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10279. /* end confdefs.h. */
  10280. /* Override any GCC internal prototype to avoid an error.
  10281. Use char because int might match the return type of a GCC
  10282. builtin and then its argument prototype would still apply. */
  10283. #ifdef __cplusplus
  10284. extern "C"
  10285. #endif
  10286. char shl_load ();
  10287. int
  10288. main ()
  10289. {
  10290. return shl_load ();
  10291. ;
  10292. return 0;
  10293. }
  10294. _ACEOF
  10295. if ac_fn_c_try_link "$LINENO"; then :
  10296. ac_cv_lib_dld_shl_load=yes
  10297. else
  10298. ac_cv_lib_dld_shl_load=no
  10299. fi
  10300. rm -f core conftest.err conftest.$ac_objext \
  10301. conftest$ac_exeext conftest.$ac_ext
  10302. LIBS=$ac_check_lib_save_LIBS
  10303. fi
  10304. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
  10305. $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
  10306. if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
  10307. lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
  10308. else
  10309. ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
  10310. if test "x$ac_cv_func_dlopen" = x""yes; then :
  10311. lt_cv_dlopen="dlopen"
  10312. else
  10313. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
  10314. $as_echo_n "checking for dlopen in -ldl... " >&6; }
  10315. if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
  10316. $as_echo_n "(cached) " >&6
  10317. else
  10318. ac_check_lib_save_LIBS=$LIBS
  10319. LIBS="-ldl $LIBS"
  10320. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10321. /* end confdefs.h. */
  10322. /* Override any GCC internal prototype to avoid an error.
  10323. Use char because int might match the return type of a GCC
  10324. builtin and then its argument prototype would still apply. */
  10325. #ifdef __cplusplus
  10326. extern "C"
  10327. #endif
  10328. char dlopen ();
  10329. int
  10330. main ()
  10331. {
  10332. return dlopen ();
  10333. ;
  10334. return 0;
  10335. }
  10336. _ACEOF
  10337. if ac_fn_c_try_link "$LINENO"; then :
  10338. ac_cv_lib_dl_dlopen=yes
  10339. else
  10340. ac_cv_lib_dl_dlopen=no
  10341. fi
  10342. rm -f core conftest.err conftest.$ac_objext \
  10343. conftest$ac_exeext conftest.$ac_ext
  10344. LIBS=$ac_check_lib_save_LIBS
  10345. fi
  10346. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
  10347. $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
  10348. if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
  10349. lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
  10350. else
  10351. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
  10352. $as_echo_n "checking for dlopen in -lsvld... " >&6; }
  10353. if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
  10354. $as_echo_n "(cached) " >&6
  10355. else
  10356. ac_check_lib_save_LIBS=$LIBS
  10357. LIBS="-lsvld $LIBS"
  10358. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10359. /* end confdefs.h. */
  10360. /* Override any GCC internal prototype to avoid an error.
  10361. Use char because int might match the return type of a GCC
  10362. builtin and then its argument prototype would still apply. */
  10363. #ifdef __cplusplus
  10364. extern "C"
  10365. #endif
  10366. char dlopen ();
  10367. int
  10368. main ()
  10369. {
  10370. return dlopen ();
  10371. ;
  10372. return 0;
  10373. }
  10374. _ACEOF
  10375. if ac_fn_c_try_link "$LINENO"; then :
  10376. ac_cv_lib_svld_dlopen=yes
  10377. else
  10378. ac_cv_lib_svld_dlopen=no
  10379. fi
  10380. rm -f core conftest.err conftest.$ac_objext \
  10381. conftest$ac_exeext conftest.$ac_ext
  10382. LIBS=$ac_check_lib_save_LIBS
  10383. fi
  10384. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
  10385. $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
  10386. if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
  10387. lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
  10388. else
  10389. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
  10390. $as_echo_n "checking for dld_link in -ldld... " >&6; }
  10391. if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
  10392. $as_echo_n "(cached) " >&6
  10393. else
  10394. ac_check_lib_save_LIBS=$LIBS
  10395. LIBS="-ldld $LIBS"
  10396. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10397. /* end confdefs.h. */
  10398. /* Override any GCC internal prototype to avoid an error.
  10399. Use char because int might match the return type of a GCC
  10400. builtin and then its argument prototype would still apply. */
  10401. #ifdef __cplusplus
  10402. extern "C"
  10403. #endif
  10404. char dld_link ();
  10405. int
  10406. main ()
  10407. {
  10408. return dld_link ();
  10409. ;
  10410. return 0;
  10411. }
  10412. _ACEOF
  10413. if ac_fn_c_try_link "$LINENO"; then :
  10414. ac_cv_lib_dld_dld_link=yes
  10415. else
  10416. ac_cv_lib_dld_dld_link=no
  10417. fi
  10418. rm -f core conftest.err conftest.$ac_objext \
  10419. conftest$ac_exeext conftest.$ac_ext
  10420. LIBS=$ac_check_lib_save_LIBS
  10421. fi
  10422. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
  10423. $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
  10424. if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
  10425. lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
  10426. fi
  10427. fi
  10428. fi
  10429. fi
  10430. fi
  10431. fi
  10432. ;;
  10433. esac
  10434. if test "x$lt_cv_dlopen" != xno; then
  10435. enable_dlopen=yes
  10436. else
  10437. enable_dlopen=no
  10438. fi
  10439. case $lt_cv_dlopen in
  10440. dlopen)
  10441. save_CPPFLAGS="$CPPFLAGS"
  10442. test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
  10443. save_LDFLAGS="$LDFLAGS"
  10444. wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
  10445. save_LIBS="$LIBS"
  10446. LIBS="$lt_cv_dlopen_libs $LIBS"
  10447. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
  10448. $as_echo_n "checking whether a program can dlopen itself... " >&6; }
  10449. if test "${lt_cv_dlopen_self+set}" = set; then :
  10450. $as_echo_n "(cached) " >&6
  10451. else
  10452. if test "$cross_compiling" = yes; then :
  10453. lt_cv_dlopen_self=cross
  10454. else
  10455. lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
  10456. lt_status=$lt_dlunknown
  10457. cat > conftest.$ac_ext <<_LT_EOF
  10458. #line 12133 "configure"
  10459. #include "confdefs.h"
  10460. #if HAVE_DLFCN_H
  10461. #include <dlfcn.h>
  10462. #endif
  10463. #include <stdio.h>
  10464. #ifdef RTLD_GLOBAL
  10465. # define LT_DLGLOBAL RTLD_GLOBAL
  10466. #else
  10467. # ifdef DL_GLOBAL
  10468. # define LT_DLGLOBAL DL_GLOBAL
  10469. # else
  10470. # define LT_DLGLOBAL 0
  10471. # endif
  10472. #endif
  10473. /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
  10474. find out it does not work in some platform. */
  10475. #ifndef LT_DLLAZY_OR_NOW
  10476. # ifdef RTLD_LAZY
  10477. # define LT_DLLAZY_OR_NOW RTLD_LAZY
  10478. # else
  10479. # ifdef DL_LAZY
  10480. # define LT_DLLAZY_OR_NOW DL_LAZY
  10481. # else
  10482. # ifdef RTLD_NOW
  10483. # define LT_DLLAZY_OR_NOW RTLD_NOW
  10484. # else
  10485. # ifdef DL_NOW
  10486. # define LT_DLLAZY_OR_NOW DL_NOW
  10487. # else
  10488. # define LT_DLLAZY_OR_NOW 0
  10489. # endif
  10490. # endif
  10491. # endif
  10492. # endif
  10493. #endif
  10494. /* When -fvisbility=hidden is used, assume the code has been annotated
  10495. correspondingly for the symbols needed. */
  10496. #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
  10497. void fnord () __attribute__((visibility("default")));
  10498. #endif
  10499. void fnord () { int i=42; }
  10500. int main ()
  10501. {
  10502. void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
  10503. int status = $lt_dlunknown;
  10504. if (self)
  10505. {
  10506. if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
  10507. else
  10508. {
  10509. if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
  10510. else puts (dlerror ());
  10511. }
  10512. /* dlclose (self); */
  10513. }
  10514. else
  10515. puts (dlerror ());
  10516. return status;
  10517. }
  10518. _LT_EOF
  10519. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  10520. (eval $ac_link) 2>&5
  10521. ac_status=$?
  10522. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  10523. test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
  10524. (./conftest; exit; ) >&5 2>/dev/null
  10525. lt_status=$?
  10526. case x$lt_status in
  10527. x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
  10528. x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
  10529. x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
  10530. esac
  10531. else :
  10532. # compilation failed
  10533. lt_cv_dlopen_self=no
  10534. fi
  10535. fi
  10536. rm -fr conftest*
  10537. fi
  10538. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
  10539. $as_echo "$lt_cv_dlopen_self" >&6; }
  10540. if test "x$lt_cv_dlopen_self" = xyes; then
  10541. wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
  10542. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
  10543. $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
  10544. if test "${lt_cv_dlopen_self_static+set}" = set; then :
  10545. $as_echo_n "(cached) " >&6
  10546. else
  10547. if test "$cross_compiling" = yes; then :
  10548. lt_cv_dlopen_self_static=cross
  10549. else
  10550. lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
  10551. lt_status=$lt_dlunknown
  10552. cat > conftest.$ac_ext <<_LT_EOF
  10553. #line 12239 "configure"
  10554. #include "confdefs.h"
  10555. #if HAVE_DLFCN_H
  10556. #include <dlfcn.h>
  10557. #endif
  10558. #include <stdio.h>
  10559. #ifdef RTLD_GLOBAL
  10560. # define LT_DLGLOBAL RTLD_GLOBAL
  10561. #else
  10562. # ifdef DL_GLOBAL
  10563. # define LT_DLGLOBAL DL_GLOBAL
  10564. # else
  10565. # define LT_DLGLOBAL 0
  10566. # endif
  10567. #endif
  10568. /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
  10569. find out it does not work in some platform. */
  10570. #ifndef LT_DLLAZY_OR_NOW
  10571. # ifdef RTLD_LAZY
  10572. # define LT_DLLAZY_OR_NOW RTLD_LAZY
  10573. # else
  10574. # ifdef DL_LAZY
  10575. # define LT_DLLAZY_OR_NOW DL_LAZY
  10576. # else
  10577. # ifdef RTLD_NOW
  10578. # define LT_DLLAZY_OR_NOW RTLD_NOW
  10579. # else
  10580. # ifdef DL_NOW
  10581. # define LT_DLLAZY_OR_NOW DL_NOW
  10582. # else
  10583. # define LT_DLLAZY_OR_NOW 0
  10584. # endif
  10585. # endif
  10586. # endif
  10587. # endif
  10588. #endif
  10589. /* When -fvisbility=hidden is used, assume the code has been annotated
  10590. correspondingly for the symbols needed. */
  10591. #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
  10592. void fnord () __attribute__((visibility("default")));
  10593. #endif
  10594. void fnord () { int i=42; }
  10595. int main ()
  10596. {
  10597. void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
  10598. int status = $lt_dlunknown;
  10599. if (self)
  10600. {
  10601. if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
  10602. else
  10603. {
  10604. if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
  10605. else puts (dlerror ());
  10606. }
  10607. /* dlclose (self); */
  10608. }
  10609. else
  10610. puts (dlerror ());
  10611. return status;
  10612. }
  10613. _LT_EOF
  10614. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  10615. (eval $ac_link) 2>&5
  10616. ac_status=$?
  10617. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  10618. test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
  10619. (./conftest; exit; ) >&5 2>/dev/null
  10620. lt_status=$?
  10621. case x$lt_status in
  10622. x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
  10623. x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
  10624. x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
  10625. esac
  10626. else :
  10627. # compilation failed
  10628. lt_cv_dlopen_self_static=no
  10629. fi
  10630. fi
  10631. rm -fr conftest*
  10632. fi
  10633. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
  10634. $as_echo "$lt_cv_dlopen_self_static" >&6; }
  10635. fi
  10636. CPPFLAGS="$save_CPPFLAGS"
  10637. LDFLAGS="$save_LDFLAGS"
  10638. LIBS="$save_LIBS"
  10639. ;;
  10640. esac
  10641. case $lt_cv_dlopen_self in
  10642. yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
  10643. *) enable_dlopen_self=unknown ;;
  10644. esac
  10645. case $lt_cv_dlopen_self_static in
  10646. yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
  10647. *) enable_dlopen_self_static=unknown ;;
  10648. esac
  10649. fi
  10650. striplib=
  10651. old_striplib=
  10652. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
  10653. $as_echo_n "checking whether stripping libraries is possible... " >&6; }
  10654. if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
  10655. test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
  10656. test -z "$striplib" && striplib="$STRIP --strip-unneeded"
  10657. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  10658. $as_echo "yes" >&6; }
  10659. else
  10660. # FIXME - insert some real tests, host_os isn't really good enough
  10661. case $host_os in
  10662. darwin*)
  10663. if test -n "$STRIP" ; then
  10664. striplib="$STRIP -x"
  10665. old_striplib="$STRIP -S"
  10666. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  10667. $as_echo "yes" >&6; }
  10668. else
  10669. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  10670. $as_echo "no" >&6; }
  10671. fi
  10672. ;;
  10673. *)
  10674. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  10675. $as_echo "no" >&6; }
  10676. ;;
  10677. esac
  10678. fi
  10679. # Report which library types will actually be built
  10680. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
  10681. $as_echo_n "checking if libtool supports shared libraries... " >&6; }
  10682. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
  10683. $as_echo "$can_build_shared" >&6; }
  10684. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
  10685. $as_echo_n "checking whether to build shared libraries... " >&6; }
  10686. test "$can_build_shared" = "no" && enable_shared=no
  10687. # On AIX, shared libraries and static libraries use the same namespace, and
  10688. # are all built from PIC.
  10689. case $host_os in
  10690. aix3*)
  10691. test "$enable_shared" = yes && enable_static=no
  10692. if test -n "$RANLIB"; then
  10693. archive_cmds="$archive_cmds~\$RANLIB \$lib"
  10694. postinstall_cmds='$RANLIB $lib'
  10695. fi
  10696. ;;
  10697. aix[4-9]*)
  10698. if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
  10699. test "$enable_shared" = yes && enable_static=no
  10700. fi
  10701. ;;
  10702. esac
  10703. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
  10704. $as_echo "$enable_shared" >&6; }
  10705. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
  10706. $as_echo_n "checking whether to build static libraries... " >&6; }
  10707. # Make sure either enable_shared or enable_static is yes.
  10708. test "$enable_shared" = yes || enable_static=yes
  10709. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
  10710. $as_echo "$enable_static" >&6; }
  10711. fi
  10712. ac_ext=c
  10713. ac_cpp='$CPP $CPPFLAGS'
  10714. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  10715. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  10716. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  10717. CC="$lt_save_CC"
  10718. if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
  10719. ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
  10720. (test "X$CXX" != "Xg++"))) ; then
  10721. ac_ext=cpp
  10722. ac_cpp='$CXXCPP $CPPFLAGS'
  10723. ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  10724. ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  10725. ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  10726. { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
  10727. $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
  10728. if test -z "$CXXCPP"; then
  10729. if test "${ac_cv_prog_CXXCPP+set}" = set; then :
  10730. $as_echo_n "(cached) " >&6
  10731. else
  10732. # Double quotes because CXXCPP needs to be expanded
  10733. for CXXCPP in "$CXX -E" "/lib/cpp"
  10734. do
  10735. ac_preproc_ok=false
  10736. for ac_cxx_preproc_warn_flag in '' yes
  10737. do
  10738. # Use a header file that comes with gcc, so configuring glibc
  10739. # with a fresh cross-compiler works.
  10740. # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  10741. # <limits.h> exists even on freestanding compilers.
  10742. # On the NeXT, cc -E runs the code through the compiler's parser,
  10743. # not just through cpp. "Syntax error" is here to catch this case.
  10744. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10745. /* end confdefs.h. */
  10746. #ifdef __STDC__
  10747. # include <limits.h>
  10748. #else
  10749. # include <assert.h>
  10750. #endif
  10751. Syntax error
  10752. _ACEOF
  10753. if ac_fn_cxx_try_cpp "$LINENO"; then :
  10754. else
  10755. # Broken: fails on valid input.
  10756. continue
  10757. fi
  10758. rm -f conftest.err conftest.$ac_ext
  10759. # OK, works on sane cases. Now check whether nonexistent headers
  10760. # can be detected and how.
  10761. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10762. /* end confdefs.h. */
  10763. #include <ac_nonexistent.h>
  10764. _ACEOF
  10765. if ac_fn_cxx_try_cpp "$LINENO"; then :
  10766. # Broken: success on invalid input.
  10767. continue
  10768. else
  10769. # Passes both tests.
  10770. ac_preproc_ok=:
  10771. break
  10772. fi
  10773. rm -f conftest.err conftest.$ac_ext
  10774. done
  10775. # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  10776. rm -f conftest.err conftest.$ac_ext
  10777. if $ac_preproc_ok; then :
  10778. break
  10779. fi
  10780. done
  10781. ac_cv_prog_CXXCPP=$CXXCPP
  10782. fi
  10783. CXXCPP=$ac_cv_prog_CXXCPP
  10784. else
  10785. ac_cv_prog_CXXCPP=$CXXCPP
  10786. fi
  10787. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
  10788. $as_echo "$CXXCPP" >&6; }
  10789. ac_preproc_ok=false
  10790. for ac_cxx_preproc_warn_flag in '' yes
  10791. do
  10792. # Use a header file that comes with gcc, so configuring glibc
  10793. # with a fresh cross-compiler works.
  10794. # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  10795. # <limits.h> exists even on freestanding compilers.
  10796. # On the NeXT, cc -E runs the code through the compiler's parser,
  10797. # not just through cpp. "Syntax error" is here to catch this case.
  10798. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10799. /* end confdefs.h. */
  10800. #ifdef __STDC__
  10801. # include <limits.h>
  10802. #else
  10803. # include <assert.h>
  10804. #endif
  10805. Syntax error
  10806. _ACEOF
  10807. if ac_fn_cxx_try_cpp "$LINENO"; then :
  10808. else
  10809. # Broken: fails on valid input.
  10810. continue
  10811. fi
  10812. rm -f conftest.err conftest.$ac_ext
  10813. # OK, works on sane cases. Now check whether nonexistent headers
  10814. # can be detected and how.
  10815. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10816. /* end confdefs.h. */
  10817. #include <ac_nonexistent.h>
  10818. _ACEOF
  10819. if ac_fn_cxx_try_cpp "$LINENO"; then :
  10820. # Broken: success on invalid input.
  10821. continue
  10822. else
  10823. # Passes both tests.
  10824. ac_preproc_ok=:
  10825. break
  10826. fi
  10827. rm -f conftest.err conftest.$ac_ext
  10828. done
  10829. # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  10830. rm -f conftest.err conftest.$ac_ext
  10831. if $ac_preproc_ok; then :
  10832. else
  10833. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  10834. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  10835. as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
  10836. See \`config.log' for more details." "$LINENO" 5; }
  10837. fi
  10838. ac_ext=c
  10839. ac_cpp='$CPP $CPPFLAGS'
  10840. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  10841. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  10842. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  10843. else
  10844. _lt_caught_CXX_error=yes
  10845. fi
  10846. ac_ext=cpp
  10847. ac_cpp='$CXXCPP $CPPFLAGS'
  10848. ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  10849. ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  10850. ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  10851. archive_cmds_need_lc_CXX=no
  10852. allow_undefined_flag_CXX=
  10853. always_export_symbols_CXX=no
  10854. archive_expsym_cmds_CXX=
  10855. compiler_needs_object_CXX=no
  10856. export_dynamic_flag_spec_CXX=
  10857. hardcode_direct_CXX=no
  10858. hardcode_direct_absolute_CXX=no
  10859. hardcode_libdir_flag_spec_CXX=
  10860. hardcode_libdir_flag_spec_ld_CXX=
  10861. hardcode_libdir_separator_CXX=
  10862. hardcode_minus_L_CXX=no
  10863. hardcode_shlibpath_var_CXX=unsupported
  10864. hardcode_automatic_CXX=no
  10865. inherit_rpath_CXX=no
  10866. module_cmds_CXX=
  10867. module_expsym_cmds_CXX=
  10868. link_all_deplibs_CXX=unknown
  10869. old_archive_cmds_CXX=$old_archive_cmds
  10870. reload_flag_CXX=$reload_flag
  10871. reload_cmds_CXX=$reload_cmds
  10872. no_undefined_flag_CXX=
  10873. whole_archive_flag_spec_CXX=
  10874. enable_shared_with_static_runtimes_CXX=no
  10875. # Source file extension for C++ test sources.
  10876. ac_ext=cpp
  10877. # Object file extension for compiled C++ test sources.
  10878. objext=o
  10879. objext_CXX=$objext
  10880. # No sense in running all these tests if we already determined that
  10881. # the CXX compiler isn't working. Some variables (like enable_shared)
  10882. # are currently assumed to apply to all compilers on this platform,
  10883. # and will be corrupted by setting them based on a non-working compiler.
  10884. if test "$_lt_caught_CXX_error" != yes; then
  10885. # Code to be used in simple compile tests
  10886. lt_simple_compile_test_code="int some_variable = 0;"
  10887. # Code to be used in simple link tests
  10888. lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
  10889. # ltmain only uses $CC for tagged configurations so make sure $CC is set.
  10890. # If no C compiler was specified, use CC.
  10891. LTCC=${LTCC-"$CC"}
  10892. # If no C compiler flags were specified, use CFLAGS.
  10893. LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
  10894. # Allow CC to be a program name with arguments.
  10895. compiler=$CC
  10896. # save warnings/boilerplate of simple test code
  10897. ac_outfile=conftest.$ac_objext
  10898. echo "$lt_simple_compile_test_code" >conftest.$ac_ext
  10899. eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  10900. _lt_compiler_boilerplate=`cat conftest.err`
  10901. $RM conftest*
  10902. ac_outfile=conftest.$ac_objext
  10903. echo "$lt_simple_link_test_code" >conftest.$ac_ext
  10904. eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  10905. _lt_linker_boilerplate=`cat conftest.err`
  10906. $RM -r conftest*
  10907. # Allow CC to be a program name with arguments.
  10908. lt_save_CC=$CC
  10909. lt_save_LD=$LD
  10910. lt_save_GCC=$GCC
  10911. GCC=$GXX
  10912. lt_save_with_gnu_ld=$with_gnu_ld
  10913. lt_save_path_LD=$lt_cv_path_LD
  10914. if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
  10915. lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
  10916. else
  10917. $as_unset lt_cv_prog_gnu_ld
  10918. fi
  10919. if test -n "${lt_cv_path_LDCXX+set}"; then
  10920. lt_cv_path_LD=$lt_cv_path_LDCXX
  10921. else
  10922. $as_unset lt_cv_path_LD
  10923. fi
  10924. test -z "${LDCXX+set}" || LD=$LDCXX
  10925. CC=${CXX-"c++"}
  10926. compiler=$CC
  10927. compiler_CXX=$CC
  10928. for cc_temp in $compiler""; do
  10929. case $cc_temp in
  10930. compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
  10931. distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
  10932. \-*) ;;
  10933. *) break;;
  10934. esac
  10935. done
  10936. cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
  10937. if test -n "$compiler"; then
  10938. # We don't want -fno-exception when compiling C++ code, so set the
  10939. # no_builtin_flag separately
  10940. if test "$GXX" = yes; then
  10941. lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
  10942. else
  10943. lt_prog_compiler_no_builtin_flag_CXX=
  10944. fi
  10945. if test "$GXX" = yes; then
  10946. # Set up default GNU C++ configuration
  10947. # Check whether --with-gnu-ld was given.
  10948. if test "${with_gnu_ld+set}" = set; then :
  10949. withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
  10950. else
  10951. with_gnu_ld=no
  10952. fi
  10953. ac_prog=ld
  10954. if test "$GCC" = yes; then
  10955. # Check if gcc -print-prog-name=ld gives a path.
  10956. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
  10957. $as_echo_n "checking for ld used by $CC... " >&6; }
  10958. case $host in
  10959. *-*-mingw*)
  10960. # gcc leaves a trailing carriage return which upsets mingw
  10961. ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
  10962. *)
  10963. ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
  10964. esac
  10965. case $ac_prog in
  10966. # Accept absolute paths.
  10967. [\\/]* | ?:[\\/]*)
  10968. re_direlt='/[^/][^/]*/\.\./'
  10969. # Canonicalize the pathname of ld
  10970. ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
  10971. while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
  10972. ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
  10973. done
  10974. test -z "$LD" && LD="$ac_prog"
  10975. ;;
  10976. "")
  10977. # If it fails, then pretend we aren't using GCC.
  10978. ac_prog=ld
  10979. ;;
  10980. *)
  10981. # If it is relative, then search for the first ld in PATH.
  10982. with_gnu_ld=unknown
  10983. ;;
  10984. esac
  10985. elif test "$with_gnu_ld" = yes; then
  10986. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
  10987. $as_echo_n "checking for GNU ld... " >&6; }
  10988. else
  10989. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
  10990. $as_echo_n "checking for non-GNU ld... " >&6; }
  10991. fi
  10992. if test "${lt_cv_path_LD+set}" = set; then :
  10993. $as_echo_n "(cached) " >&6
  10994. else
  10995. if test -z "$LD"; then
  10996. lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  10997. for ac_dir in $PATH; do
  10998. IFS="$lt_save_ifs"
  10999. test -z "$ac_dir" && ac_dir=.
  11000. if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
  11001. lt_cv_path_LD="$ac_dir/$ac_prog"
  11002. # Check to see if the program is GNU ld. I'd rather use --version,
  11003. # but apparently some variants of GNU ld only accept -v.
  11004. # Break only if it was the GNU/non-GNU ld that we prefer.
  11005. case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
  11006. *GNU* | *'with BFD'*)
  11007. test "$with_gnu_ld" != no && break
  11008. ;;
  11009. *)
  11010. test "$with_gnu_ld" != yes && break
  11011. ;;
  11012. esac
  11013. fi
  11014. done
  11015. IFS="$lt_save_ifs"
  11016. else
  11017. lt_cv_path_LD="$LD" # Let the user override the test with a path.
  11018. fi
  11019. fi
  11020. LD="$lt_cv_path_LD"
  11021. if test -n "$LD"; then
  11022. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
  11023. $as_echo "$LD" >&6; }
  11024. else
  11025. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  11026. $as_echo "no" >&6; }
  11027. fi
  11028. test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
  11029. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
  11030. $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
  11031. if test "${lt_cv_prog_gnu_ld+set}" = set; then :
  11032. $as_echo_n "(cached) " >&6
  11033. else
  11034. # I'd rather use --version here, but apparently some GNU lds only accept -v.
  11035. case `$LD -v 2>&1 </dev/null` in
  11036. *GNU* | *'with BFD'*)
  11037. lt_cv_prog_gnu_ld=yes
  11038. ;;
  11039. *)
  11040. lt_cv_prog_gnu_ld=no
  11041. ;;
  11042. esac
  11043. fi
  11044. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
  11045. $as_echo "$lt_cv_prog_gnu_ld" >&6; }
  11046. with_gnu_ld=$lt_cv_prog_gnu_ld
  11047. # Check if GNU C++ uses GNU ld as the underlying linker, since the
  11048. # archiving commands below assume that GNU ld is being used.
  11049. if test "$with_gnu_ld" = yes; then
  11050. archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
  11051. archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  11052. hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
  11053. export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
  11054. # If archive_cmds runs LD, not CC, wlarc should be empty
  11055. # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
  11056. # investigate it a little bit more. (MM)
  11057. wlarc='${wl}'
  11058. # ancient GNU ld didn't support --whole-archive et. al.
  11059. if eval "`$CC -print-prog-name=ld` --help 2>&1" |
  11060. $GREP 'no-whole-archive' > /dev/null; then
  11061. whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
  11062. else
  11063. whole_archive_flag_spec_CXX=
  11064. fi
  11065. else
  11066. with_gnu_ld=no
  11067. wlarc=
  11068. # A generic and very simple default shared library creation
  11069. # command for GNU C++ for the case where it uses the native
  11070. # linker, instead of GNU ld. If possible, this setting should
  11071. # overridden to take advantage of the native linker features on
  11072. # the platform it is being used on.
  11073. archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
  11074. fi
  11075. # Commands to make compiler produce verbose output that lists
  11076. # what "hidden" libraries, object files and flags are used when
  11077. # linking a shared library.
  11078. output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
  11079. else
  11080. GXX=no
  11081. with_gnu_ld=no
  11082. wlarc=
  11083. fi
  11084. # PORTME: fill in a description of your system's C++ link characteristics
  11085. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
  11086. $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
  11087. ld_shlibs_CXX=yes
  11088. case $host_os in
  11089. aix3*)
  11090. # FIXME: insert proper C++ library support
  11091. ld_shlibs_CXX=no
  11092. ;;
  11093. aix[4-9]*)
  11094. if test "$host_cpu" = ia64; then
  11095. # On IA64, the linker does run time linking by default, so we don't
  11096. # have to do anything special.
  11097. aix_use_runtimelinking=no
  11098. exp_sym_flag='-Bexport'
  11099. no_entry_flag=""
  11100. else
  11101. aix_use_runtimelinking=no
  11102. # Test if we are trying to use run time linking or normal
  11103. # AIX style linking. If -brtl is somewhere in LDFLAGS, we
  11104. # need to do runtime linking.
  11105. case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
  11106. for ld_flag in $LDFLAGS; do
  11107. case $ld_flag in
  11108. *-brtl*)
  11109. aix_use_runtimelinking=yes
  11110. break
  11111. ;;
  11112. esac
  11113. done
  11114. ;;
  11115. esac
  11116. exp_sym_flag='-bexport'
  11117. no_entry_flag='-bnoentry'
  11118. fi
  11119. # When large executables or shared objects are built, AIX ld can
  11120. # have problems creating the table of contents. If linking a library
  11121. # or program results in "error TOC overflow" add -mminimal-toc to
  11122. # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
  11123. # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
  11124. archive_cmds_CXX=''
  11125. hardcode_direct_CXX=yes
  11126. hardcode_direct_absolute_CXX=yes
  11127. hardcode_libdir_separator_CXX=':'
  11128. link_all_deplibs_CXX=yes
  11129. file_list_spec_CXX='${wl}-f,'
  11130. if test "$GXX" = yes; then
  11131. case $host_os in aix4.[012]|aix4.[012].*)
  11132. # We only want to do this on AIX 4.2 and lower, the check
  11133. # below for broken collect2 doesn't work under 4.3+
  11134. collect2name=`${CC} -print-prog-name=collect2`
  11135. if test -f "$collect2name" &&
  11136. strings "$collect2name" | $GREP resolve_lib_name >/dev/null
  11137. then
  11138. # We have reworked collect2
  11139. :
  11140. else
  11141. # We have old collect2
  11142. hardcode_direct_CXX=unsupported
  11143. # It fails to find uninstalled libraries when the uninstalled
  11144. # path is not listed in the libpath. Setting hardcode_minus_L
  11145. # to unsupported forces relinking
  11146. hardcode_minus_L_CXX=yes
  11147. hardcode_libdir_flag_spec_CXX='-L$libdir'
  11148. hardcode_libdir_separator_CXX=
  11149. fi
  11150. esac
  11151. shared_flag='-shared'
  11152. if test "$aix_use_runtimelinking" = yes; then
  11153. shared_flag="$shared_flag "'${wl}-G'
  11154. fi
  11155. else
  11156. # not using gcc
  11157. if test "$host_cpu" = ia64; then
  11158. # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
  11159. # chokes on -Wl,-G. The following line is correct:
  11160. shared_flag='-G'
  11161. else
  11162. if test "$aix_use_runtimelinking" = yes; then
  11163. shared_flag='${wl}-G'
  11164. else
  11165. shared_flag='${wl}-bM:SRE'
  11166. fi
  11167. fi
  11168. fi
  11169. export_dynamic_flag_spec_CXX='${wl}-bexpall'
  11170. # It seems that -bexpall does not export symbols beginning with
  11171. # underscore (_), so it is better to generate a list of symbols to
  11172. # export.
  11173. always_export_symbols_CXX=yes
  11174. if test "$aix_use_runtimelinking" = yes; then
  11175. # Warning - without using the other runtime loading flags (-brtl),
  11176. # -berok will link without error, but may produce a broken library.
  11177. allow_undefined_flag_CXX='-berok'
  11178. # Determine the default libpath from the value encoded in an empty
  11179. # executable.
  11180. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11181. /* end confdefs.h. */
  11182. int
  11183. main ()
  11184. {
  11185. ;
  11186. return 0;
  11187. }
  11188. _ACEOF
  11189. if ac_fn_cxx_try_link "$LINENO"; then :
  11190. lt_aix_libpath_sed='
  11191. /Import File Strings/,/^$/ {
  11192. /^0/ {
  11193. s/^0 *\(.*\)$/\1/
  11194. p
  11195. }
  11196. }'
  11197. aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  11198. # Check for a 64-bit object if we didn't find anything.
  11199. if test -z "$aix_libpath"; then
  11200. aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  11201. fi
  11202. fi
  11203. rm -f core conftest.err conftest.$ac_objext \
  11204. conftest$ac_exeext conftest.$ac_ext
  11205. if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  11206. hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
  11207. archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
  11208. else
  11209. if test "$host_cpu" = ia64; then
  11210. hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
  11211. allow_undefined_flag_CXX="-z nodefs"
  11212. archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
  11213. else
  11214. # Determine the default libpath from the value encoded in an
  11215. # empty executable.
  11216. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11217. /* end confdefs.h. */
  11218. int
  11219. main ()
  11220. {
  11221. ;
  11222. return 0;
  11223. }
  11224. _ACEOF
  11225. if ac_fn_cxx_try_link "$LINENO"; then :
  11226. lt_aix_libpath_sed='
  11227. /Import File Strings/,/^$/ {
  11228. /^0/ {
  11229. s/^0 *\(.*\)$/\1/
  11230. p
  11231. }
  11232. }'
  11233. aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  11234. # Check for a 64-bit object if we didn't find anything.
  11235. if test -z "$aix_libpath"; then
  11236. aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  11237. fi
  11238. fi
  11239. rm -f core conftest.err conftest.$ac_objext \
  11240. conftest$ac_exeext conftest.$ac_ext
  11241. if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  11242. hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
  11243. # Warning - without using the other run time loading flags,
  11244. # -berok will link without error, but may produce a broken library.
  11245. no_undefined_flag_CXX=' ${wl}-bernotok'
  11246. allow_undefined_flag_CXX=' ${wl}-berok'
  11247. if test "$with_gnu_ld" = yes; then
  11248. # We only use this code for GNU lds that support --whole-archive.
  11249. whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
  11250. else
  11251. # Exported symbols can be pulled into shared objects from archives
  11252. whole_archive_flag_spec_CXX='$convenience'
  11253. fi
  11254. archive_cmds_need_lc_CXX=yes
  11255. # This is similar to how AIX traditionally builds its shared
  11256. # libraries.
  11257. archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
  11258. fi
  11259. fi
  11260. ;;
  11261. beos*)
  11262. if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  11263. allow_undefined_flag_CXX=unsupported
  11264. # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
  11265. # support --undefined. This deserves some investigation. FIXME
  11266. archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  11267. else
  11268. ld_shlibs_CXX=no
  11269. fi
  11270. ;;
  11271. chorus*)
  11272. case $cc_basename in
  11273. *)
  11274. # FIXME: insert proper C++ library support
  11275. ld_shlibs_CXX=no
  11276. ;;
  11277. esac
  11278. ;;
  11279. cygwin* | mingw* | pw32* | cegcc*)
  11280. # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
  11281. # as there is no search path for DLLs.
  11282. hardcode_libdir_flag_spec_CXX='-L$libdir'
  11283. export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
  11284. allow_undefined_flag_CXX=unsupported
  11285. always_export_symbols_CXX=no
  11286. enable_shared_with_static_runtimes_CXX=yes
  11287. if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
  11288. archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  11289. # If the export-symbols file already is a .def file (1st line
  11290. # is EXPORTS), use it as is; otherwise, prepend...
  11291. archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
  11292. cp $export_symbols $output_objdir/$soname.def;
  11293. else
  11294. echo EXPORTS > $output_objdir/$soname.def;
  11295. cat $export_symbols >> $output_objdir/$soname.def;
  11296. fi~
  11297. $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  11298. else
  11299. ld_shlibs_CXX=no
  11300. fi
  11301. ;;
  11302. darwin* | rhapsody*)
  11303. archive_cmds_need_lc_CXX=no
  11304. hardcode_direct_CXX=no
  11305. hardcode_automatic_CXX=yes
  11306. hardcode_shlibpath_var_CXX=unsupported
  11307. if test "$lt_cv_ld_force_load" = "yes"; then
  11308. whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
  11309. else
  11310. whole_archive_flag_spec_CXX=''
  11311. fi
  11312. link_all_deplibs_CXX=yes
  11313. allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
  11314. case $cc_basename in
  11315. ifort*) _lt_dar_can_shared=yes ;;
  11316. *) _lt_dar_can_shared=$GCC ;;
  11317. esac
  11318. if test "$_lt_dar_can_shared" = "yes"; then
  11319. output_verbose_link_cmd=func_echo_all
  11320. archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
  11321. module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
  11322. archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
  11323. module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
  11324. if test "$lt_cv_apple_cc_single_mod" != "yes"; then
  11325. archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
  11326. archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
  11327. fi
  11328. else
  11329. ld_shlibs_CXX=no
  11330. fi
  11331. ;;
  11332. dgux*)
  11333. case $cc_basename in
  11334. ec++*)
  11335. # FIXME: insert proper C++ library support
  11336. ld_shlibs_CXX=no
  11337. ;;
  11338. ghcx*)
  11339. # Green Hills C++ Compiler
  11340. # FIXME: insert proper C++ library support
  11341. ld_shlibs_CXX=no
  11342. ;;
  11343. *)
  11344. # FIXME: insert proper C++ library support
  11345. ld_shlibs_CXX=no
  11346. ;;
  11347. esac
  11348. ;;
  11349. freebsd2.*)
  11350. # C++ shared libraries reported to be fairly broken before
  11351. # switch to ELF
  11352. ld_shlibs_CXX=no
  11353. ;;
  11354. freebsd-elf*)
  11355. archive_cmds_need_lc_CXX=no
  11356. ;;
  11357. freebsd* | dragonfly*)
  11358. # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
  11359. # conventions
  11360. ld_shlibs_CXX=yes
  11361. ;;
  11362. gnu*)
  11363. ;;
  11364. haiku*)
  11365. archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  11366. link_all_deplibs_CXX=yes
  11367. ;;
  11368. hpux9*)
  11369. hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
  11370. hardcode_libdir_separator_CXX=:
  11371. export_dynamic_flag_spec_CXX='${wl}-E'
  11372. hardcode_direct_CXX=yes
  11373. hardcode_minus_L_CXX=yes # Not in the search PATH,
  11374. # but as the default
  11375. # location of the library.
  11376. case $cc_basename in
  11377. CC*)
  11378. # FIXME: insert proper C++ library support
  11379. ld_shlibs_CXX=no
  11380. ;;
  11381. aCC*)
  11382. archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
  11383. # Commands to make compiler produce verbose output that lists
  11384. # what "hidden" libraries, object files and flags are used when
  11385. # linking a shared library.
  11386. #
  11387. # There doesn't appear to be a way to prevent this compiler from
  11388. # explicitly linking system object files so we need to strip them
  11389. # from the output so that they don't get included in the library
  11390. # dependencies.
  11391. output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
  11392. ;;
  11393. *)
  11394. if test "$GXX" = yes; then
  11395. archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
  11396. else
  11397. # FIXME: insert proper C++ library support
  11398. ld_shlibs_CXX=no
  11399. fi
  11400. ;;
  11401. esac
  11402. ;;
  11403. hpux10*|hpux11*)
  11404. if test $with_gnu_ld = no; then
  11405. hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
  11406. hardcode_libdir_separator_CXX=:
  11407. case $host_cpu in
  11408. hppa*64*|ia64*)
  11409. ;;
  11410. *)
  11411. export_dynamic_flag_spec_CXX='${wl}-E'
  11412. ;;
  11413. esac
  11414. fi
  11415. case $host_cpu in
  11416. hppa*64*|ia64*)
  11417. hardcode_direct_CXX=no
  11418. hardcode_shlibpath_var_CXX=no
  11419. ;;
  11420. *)
  11421. hardcode_direct_CXX=yes
  11422. hardcode_direct_absolute_CXX=yes
  11423. hardcode_minus_L_CXX=yes # Not in the search PATH,
  11424. # but as the default
  11425. # location of the library.
  11426. ;;
  11427. esac
  11428. case $cc_basename in
  11429. CC*)
  11430. # FIXME: insert proper C++ library support
  11431. ld_shlibs_CXX=no
  11432. ;;
  11433. aCC*)
  11434. case $host_cpu in
  11435. hppa*64*)
  11436. archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  11437. ;;
  11438. ia64*)
  11439. archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  11440. ;;
  11441. *)
  11442. archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  11443. ;;
  11444. esac
  11445. # Commands to make compiler produce verbose output that lists
  11446. # what "hidden" libraries, object files and flags are used when
  11447. # linking a shared library.
  11448. #
  11449. # There doesn't appear to be a way to prevent this compiler from
  11450. # explicitly linking system object files so we need to strip them
  11451. # from the output so that they don't get included in the library
  11452. # dependencies.
  11453. output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
  11454. ;;
  11455. *)
  11456. if test "$GXX" = yes; then
  11457. if test $with_gnu_ld = no; then
  11458. case $host_cpu in
  11459. hppa*64*)
  11460. archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  11461. ;;
  11462. ia64*)
  11463. archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  11464. ;;
  11465. *)
  11466. archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  11467. ;;
  11468. esac
  11469. fi
  11470. else
  11471. # FIXME: insert proper C++ library support
  11472. ld_shlibs_CXX=no
  11473. fi
  11474. ;;
  11475. esac
  11476. ;;
  11477. interix[3-9]*)
  11478. hardcode_direct_CXX=no
  11479. hardcode_shlibpath_var_CXX=no
  11480. hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
  11481. export_dynamic_flag_spec_CXX='${wl}-E'
  11482. # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
  11483. # Instead, shared libraries are loaded at an image base (0x10000000 by
  11484. # default) and relocated if they conflict, which is a slow very memory
  11485. # consuming and fragmenting process. To avoid this, we pick a random,
  11486. # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
  11487. # time. Moving up from 0x10000000 also allows more sbrk(2) space.
  11488. archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
  11489. archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
  11490. ;;
  11491. irix5* | irix6*)
  11492. case $cc_basename in
  11493. CC*)
  11494. # SGI C++
  11495. archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
  11496. # Archives containing C++ object files must be created using
  11497. # "CC -ar", where "CC" is the IRIX C++ compiler. This is
  11498. # necessary to make sure instantiated templates are included
  11499. # in the archive.
  11500. old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
  11501. ;;
  11502. *)
  11503. if test "$GXX" = yes; then
  11504. if test "$with_gnu_ld" = no; then
  11505. archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  11506. else
  11507. archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
  11508. fi
  11509. fi
  11510. link_all_deplibs_CXX=yes
  11511. ;;
  11512. esac
  11513. hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
  11514. hardcode_libdir_separator_CXX=:
  11515. inherit_rpath_CXX=yes
  11516. ;;
  11517. linux* | k*bsd*-gnu | kopensolaris*-gnu)
  11518. case $cc_basename in
  11519. KCC*)
  11520. # Kuck and Associates, Inc. (KAI) C++ Compiler
  11521. # KCC will only create a shared library if the output file
  11522. # ends with ".so" (or ".sl" for HP-UX), so rename the library
  11523. # to its proper name (with version) after linking.
  11524. archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
  11525. archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
  11526. # Commands to make compiler produce verbose output that lists
  11527. # what "hidden" libraries, object files and flags are used when
  11528. # linking a shared library.
  11529. #
  11530. # There doesn't appear to be a way to prevent this compiler from
  11531. # explicitly linking system object files so we need to strip them
  11532. # from the output so that they don't get included in the library
  11533. # dependencies.
  11534. output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
  11535. hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
  11536. export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
  11537. # Archives containing C++ object files must be created using
  11538. # "CC -Bstatic", where "CC" is the KAI C++ compiler.
  11539. old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
  11540. ;;
  11541. icpc* | ecpc* )
  11542. # Intel C++
  11543. with_gnu_ld=yes
  11544. # version 8.0 and above of icpc choke on multiply defined symbols
  11545. # if we add $predep_objects and $postdep_objects, however 7.1 and
  11546. # earlier do not add the objects themselves.
  11547. case `$CC -V 2>&1` in
  11548. *"Version 7."*)
  11549. archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
  11550. archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  11551. ;;
  11552. *) # Version 8.0 or newer
  11553. tmp_idyn=
  11554. case $host_cpu in
  11555. ia64*) tmp_idyn=' -i_dynamic';;
  11556. esac
  11557. archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  11558. archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  11559. ;;
  11560. esac
  11561. archive_cmds_need_lc_CXX=no
  11562. hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
  11563. export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
  11564. whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
  11565. ;;
  11566. pgCC* | pgcpp*)
  11567. # Portland Group C++ compiler
  11568. case `$CC -V` in
  11569. *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
  11570. prelink_cmds_CXX='tpldir=Template.dir~
  11571. rm -rf $tpldir~
  11572. $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
  11573. compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
  11574. old_archive_cmds_CXX='tpldir=Template.dir~
  11575. rm -rf $tpldir~
  11576. $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
  11577. $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
  11578. $RANLIB $oldlib'
  11579. archive_cmds_CXX='tpldir=Template.dir~
  11580. rm -rf $tpldir~
  11581. $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
  11582. $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
  11583. archive_expsym_cmds_CXX='tpldir=Template.dir~
  11584. rm -rf $tpldir~
  11585. $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
  11586. $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
  11587. ;;
  11588. *) # Version 6 and above use weak symbols
  11589. archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
  11590. archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
  11591. ;;
  11592. esac
  11593. hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
  11594. export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
  11595. whole_archive_flag_spec_CXX='${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'
  11596. ;;
  11597. cxx*)
  11598. # Compaq C++
  11599. archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
  11600. archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
  11601. runpath_var=LD_RUN_PATH
  11602. hardcode_libdir_flag_spec_CXX='-rpath $libdir'
  11603. hardcode_libdir_separator_CXX=:
  11604. # Commands to make compiler produce verbose output that lists
  11605. # what "hidden" libraries, object files and flags are used when
  11606. # linking a shared library.
  11607. #
  11608. # There doesn't appear to be a way to prevent this compiler from
  11609. # explicitly linking system object files so we need to strip them
  11610. # from the output so that they don't get included in the library
  11611. # dependencies.
  11612. output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
  11613. ;;
  11614. xl* | mpixl* | bgxl*)
  11615. # IBM XL 8.0 on PPC, with GNU ld
  11616. hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
  11617. export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
  11618. archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  11619. if test "x$supports_anon_versioning" = xyes; then
  11620. archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
  11621. cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  11622. echo "local: *; };" >> $output_objdir/$libname.ver~
  11623. $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
  11624. fi
  11625. ;;
  11626. *)
  11627. case `$CC -V 2>&1 | sed 5q` in
  11628. *Sun\ C*)
  11629. # Sun C++ 5.9
  11630. no_undefined_flag_CXX=' -zdefs'
  11631. archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  11632. archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
  11633. hardcode_libdir_flag_spec_CXX='-R$libdir'
  11634. whole_archive_flag_spec_CXX='${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'
  11635. compiler_needs_object_CXX=yes
  11636. # Not sure whether something based on
  11637. # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
  11638. # would be better.
  11639. output_verbose_link_cmd='func_echo_all'
  11640. # Archives containing C++ object files must be created using
  11641. # "CC -xar", where "CC" is the Sun C++ compiler. This is
  11642. # necessary to make sure instantiated templates are included
  11643. # in the archive.
  11644. old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
  11645. ;;
  11646. esac
  11647. ;;
  11648. esac
  11649. ;;
  11650. lynxos*)
  11651. # FIXME: insert proper C++ library support
  11652. ld_shlibs_CXX=no
  11653. ;;
  11654. m88k*)
  11655. # FIXME: insert proper C++ library support
  11656. ld_shlibs_CXX=no
  11657. ;;
  11658. mvs*)
  11659. case $cc_basename in
  11660. cxx*)
  11661. # FIXME: insert proper C++ library support
  11662. ld_shlibs_CXX=no
  11663. ;;
  11664. *)
  11665. # FIXME: insert proper C++ library support
  11666. ld_shlibs_CXX=no
  11667. ;;
  11668. esac
  11669. ;;
  11670. netbsd*)
  11671. if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  11672. archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
  11673. wlarc=
  11674. hardcode_libdir_flag_spec_CXX='-R$libdir'
  11675. hardcode_direct_CXX=yes
  11676. hardcode_shlibpath_var_CXX=no
  11677. fi
  11678. # Workaround some broken pre-1.5 toolchains
  11679. output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
  11680. ;;
  11681. *nto* | *qnx*)
  11682. ld_shlibs_CXX=yes
  11683. ;;
  11684. openbsd2*)
  11685. # C++ shared libraries are fairly broken
  11686. ld_shlibs_CXX=no
  11687. ;;
  11688. openbsd*)
  11689. if test -f /usr/libexec/ld.so; then
  11690. hardcode_direct_CXX=yes
  11691. hardcode_shlibpath_var_CXX=no
  11692. hardcode_direct_absolute_CXX=yes
  11693. archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
  11694. hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
  11695. if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  11696. archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
  11697. export_dynamic_flag_spec_CXX='${wl}-E'
  11698. whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
  11699. fi
  11700. output_verbose_link_cmd=func_echo_all
  11701. else
  11702. ld_shlibs_CXX=no
  11703. fi
  11704. ;;
  11705. osf3* | osf4* | osf5*)
  11706. case $cc_basename in
  11707. KCC*)
  11708. # Kuck and Associates, Inc. (KAI) C++ Compiler
  11709. # KCC will only create a shared library if the output file
  11710. # ends with ".so" (or ".sl" for HP-UX), so rename the library
  11711. # to its proper name (with version) after linking.
  11712. archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
  11713. hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
  11714. hardcode_libdir_separator_CXX=:
  11715. # Archives containing C++ object files must be created using
  11716. # the KAI C++ compiler.
  11717. case $host in
  11718. osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
  11719. *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
  11720. esac
  11721. ;;
  11722. RCC*)
  11723. # Rational C++ 2.4.1
  11724. # FIXME: insert proper C++ library support
  11725. ld_shlibs_CXX=no
  11726. ;;
  11727. cxx*)
  11728. case $host in
  11729. osf3*)
  11730. allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
  11731. archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
  11732. hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
  11733. ;;
  11734. *)
  11735. allow_undefined_flag_CXX=' -expect_unresolved \*'
  11736. archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
  11737. archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
  11738. echo "-hidden">> $lib.exp~
  11739. $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
  11740. $RM $lib.exp'
  11741. hardcode_libdir_flag_spec_CXX='-rpath $libdir'
  11742. ;;
  11743. esac
  11744. hardcode_libdir_separator_CXX=:
  11745. # Commands to make compiler produce verbose output that lists
  11746. # what "hidden" libraries, object files and flags are used when
  11747. # linking a shared library.
  11748. #
  11749. # There doesn't appear to be a way to prevent this compiler from
  11750. # explicitly linking system object files so we need to strip them
  11751. # from the output so that they don't get included in the library
  11752. # dependencies.
  11753. output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
  11754. ;;
  11755. *)
  11756. if test "$GXX" = yes && test "$with_gnu_ld" = no; then
  11757. allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
  11758. case $host in
  11759. osf3*)
  11760. archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  11761. ;;
  11762. *)
  11763. archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  11764. ;;
  11765. esac
  11766. hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
  11767. hardcode_libdir_separator_CXX=:
  11768. # Commands to make compiler produce verbose output that lists
  11769. # what "hidden" libraries, object files and flags are used when
  11770. # linking a shared library.
  11771. output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
  11772. else
  11773. # FIXME: insert proper C++ library support
  11774. ld_shlibs_CXX=no
  11775. fi
  11776. ;;
  11777. esac
  11778. ;;
  11779. psos*)
  11780. # FIXME: insert proper C++ library support
  11781. ld_shlibs_CXX=no
  11782. ;;
  11783. sunos4*)
  11784. case $cc_basename in
  11785. CC*)
  11786. # Sun C++ 4.x
  11787. # FIXME: insert proper C++ library support
  11788. ld_shlibs_CXX=no
  11789. ;;
  11790. lcc*)
  11791. # Lucid
  11792. # FIXME: insert proper C++ library support
  11793. ld_shlibs_CXX=no
  11794. ;;
  11795. *)
  11796. # FIXME: insert proper C++ library support
  11797. ld_shlibs_CXX=no
  11798. ;;
  11799. esac
  11800. ;;
  11801. solaris*)
  11802. case $cc_basename in
  11803. CC*)
  11804. # Sun C++ 4.2, 5.x and Centerline C++
  11805. archive_cmds_need_lc_CXX=yes
  11806. no_undefined_flag_CXX=' -zdefs'
  11807. archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  11808. archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  11809. $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
  11810. hardcode_libdir_flag_spec_CXX='-R$libdir'
  11811. hardcode_shlibpath_var_CXX=no
  11812. case $host_os in
  11813. solaris2.[0-5] | solaris2.[0-5].*) ;;
  11814. *)
  11815. # The compiler driver will combine and reorder linker options,
  11816. # but understands `-z linker_flag'.
  11817. # Supported since Solaris 2.6 (maybe 2.5.1?)
  11818. whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
  11819. ;;
  11820. esac
  11821. link_all_deplibs_CXX=yes
  11822. output_verbose_link_cmd='func_echo_all'
  11823. # Archives containing C++ object files must be created using
  11824. # "CC -xar", where "CC" is the Sun C++ compiler. This is
  11825. # necessary to make sure instantiated templates are included
  11826. # in the archive.
  11827. old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
  11828. ;;
  11829. gcx*)
  11830. # Green Hills C++ Compiler
  11831. archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
  11832. # The C++ compiler must be used to create the archive.
  11833. old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
  11834. ;;
  11835. *)
  11836. # GNU C++ compiler with Solaris linker
  11837. if test "$GXX" = yes && test "$with_gnu_ld" = no; then
  11838. no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
  11839. if $CC --version | $GREP -v '^2\.7' > /dev/null; then
  11840. archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
  11841. archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  11842. $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
  11843. # Commands to make compiler produce verbose output that lists
  11844. # what "hidden" libraries, object files and flags are used when
  11845. # linking a shared library.
  11846. output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
  11847. else
  11848. # g++ 2.7 appears to require `-G' NOT `-shared' on this
  11849. # platform.
  11850. archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
  11851. archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  11852. $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
  11853. # Commands to make compiler produce verbose output that lists
  11854. # what "hidden" libraries, object files and flags are used when
  11855. # linking a shared library.
  11856. output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
  11857. fi
  11858. hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
  11859. case $host_os in
  11860. solaris2.[0-5] | solaris2.[0-5].*) ;;
  11861. *)
  11862. whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
  11863. ;;
  11864. esac
  11865. fi
  11866. ;;
  11867. esac
  11868. ;;
  11869. sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
  11870. no_undefined_flag_CXX='${wl}-z,text'
  11871. archive_cmds_need_lc_CXX=no
  11872. hardcode_shlibpath_var_CXX=no
  11873. runpath_var='LD_RUN_PATH'
  11874. case $cc_basename in
  11875. CC*)
  11876. archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  11877. archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  11878. ;;
  11879. *)
  11880. archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  11881. archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  11882. ;;
  11883. esac
  11884. ;;
  11885. sysv5* | sco3.2v5* | sco5v6*)
  11886. # Note: We can NOT use -z defs as we might desire, because we do not
  11887. # link with -lc, and that would cause any symbols used from libc to
  11888. # always be unresolved, which means just about no library would
  11889. # ever link correctly. If we're not using GNU ld we use -z text
  11890. # though, which does catch some bad symbols but isn't as heavy-handed
  11891. # as -z defs.
  11892. no_undefined_flag_CXX='${wl}-z,text'
  11893. allow_undefined_flag_CXX='${wl}-z,nodefs'
  11894. archive_cmds_need_lc_CXX=no
  11895. hardcode_shlibpath_var_CXX=no
  11896. hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
  11897. hardcode_libdir_separator_CXX=':'
  11898. link_all_deplibs_CXX=yes
  11899. export_dynamic_flag_spec_CXX='${wl}-Bexport'
  11900. runpath_var='LD_RUN_PATH'
  11901. case $cc_basename in
  11902. CC*)
  11903. archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  11904. archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  11905. old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
  11906. '"$old_archive_cmds_CXX"
  11907. reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
  11908. '"$reload_cmds_CXX"
  11909. ;;
  11910. *)
  11911. archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  11912. archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  11913. ;;
  11914. esac
  11915. ;;
  11916. tandem*)
  11917. case $cc_basename in
  11918. NCC*)
  11919. # NonStop-UX NCC 3.20
  11920. # FIXME: insert proper C++ library support
  11921. ld_shlibs_CXX=no
  11922. ;;
  11923. *)
  11924. # FIXME: insert proper C++ library support
  11925. ld_shlibs_CXX=no
  11926. ;;
  11927. esac
  11928. ;;
  11929. vxworks*)
  11930. # FIXME: insert proper C++ library support
  11931. ld_shlibs_CXX=no
  11932. ;;
  11933. *)
  11934. # FIXME: insert proper C++ library support
  11935. ld_shlibs_CXX=no
  11936. ;;
  11937. esac
  11938. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
  11939. $as_echo "$ld_shlibs_CXX" >&6; }
  11940. test "$ld_shlibs_CXX" = no && can_build_shared=no
  11941. GCC_CXX="$GXX"
  11942. LD_CXX="$LD"
  11943. ## CAVEAT EMPTOR:
  11944. ## There is no encapsulation within the following macros, do not change
  11945. ## the running order or otherwise move them around unless you know exactly
  11946. ## what you are doing...
  11947. # Dependencies to place before and after the object being linked:
  11948. predep_objects_CXX=
  11949. postdep_objects_CXX=
  11950. predeps_CXX=
  11951. postdeps_CXX=
  11952. compiler_lib_search_path_CXX=
  11953. cat > conftest.$ac_ext <<_LT_EOF
  11954. class Foo
  11955. {
  11956. public:
  11957. Foo (void) { a = 0; }
  11958. private:
  11959. int a;
  11960. };
  11961. _LT_EOF
  11962. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  11963. (eval $ac_compile) 2>&5
  11964. ac_status=$?
  11965. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  11966. test $ac_status = 0; }; then
  11967. # Parse the compiler output and extract the necessary
  11968. # objects, libraries and library flags.
  11969. # Sentinel used to keep track of whether or not we are before
  11970. # the conftest object file.
  11971. pre_test_object_deps_done=no
  11972. for p in `eval "$output_verbose_link_cmd"`; do
  11973. case $p in
  11974. -L* | -R* | -l*)
  11975. # Some compilers place space between "-{L,R}" and the path.
  11976. # Remove the space.
  11977. if test $p = "-L" ||
  11978. test $p = "-R"; then
  11979. prev=$p
  11980. continue
  11981. else
  11982. prev=
  11983. fi
  11984. if test "$pre_test_object_deps_done" = no; then
  11985. case $p in
  11986. -L* | -R*)
  11987. # Internal compiler library paths should come after those
  11988. # provided the user. The postdeps already come after the
  11989. # user supplied libs so there is no need to process them.
  11990. if test -z "$compiler_lib_search_path_CXX"; then
  11991. compiler_lib_search_path_CXX="${prev}${p}"
  11992. else
  11993. compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
  11994. fi
  11995. ;;
  11996. # The "-l" case would never come before the object being
  11997. # linked, so don't bother handling this case.
  11998. esac
  11999. else
  12000. if test -z "$postdeps_CXX"; then
  12001. postdeps_CXX="${prev}${p}"
  12002. else
  12003. postdeps_CXX="${postdeps_CXX} ${prev}${p}"
  12004. fi
  12005. fi
  12006. ;;
  12007. *.$objext)
  12008. # This assumes that the test object file only shows up
  12009. # once in the compiler output.
  12010. if test "$p" = "conftest.$objext"; then
  12011. pre_test_object_deps_done=yes
  12012. continue
  12013. fi
  12014. if test "$pre_test_object_deps_done" = no; then
  12015. if test -z "$predep_objects_CXX"; then
  12016. predep_objects_CXX="$p"
  12017. else
  12018. predep_objects_CXX="$predep_objects_CXX $p"
  12019. fi
  12020. else
  12021. if test -z "$postdep_objects_CXX"; then
  12022. postdep_objects_CXX="$p"
  12023. else
  12024. postdep_objects_CXX="$postdep_objects_CXX $p"
  12025. fi
  12026. fi
  12027. ;;
  12028. *) ;; # Ignore the rest.
  12029. esac
  12030. done
  12031. # Clean up.
  12032. rm -f a.out a.exe
  12033. else
  12034. echo "libtool.m4: error: problem compiling CXX test program"
  12035. fi
  12036. $RM -f confest.$objext
  12037. # PORTME: override above test on systems where it is broken
  12038. case $host_os in
  12039. interix[3-9]*)
  12040. # Interix 3.5 installs completely hosed .la files for C++, so rather than
  12041. # hack all around it, let's just trust "g++" to DTRT.
  12042. predep_objects_CXX=
  12043. postdep_objects_CXX=
  12044. postdeps_CXX=
  12045. ;;
  12046. linux*)
  12047. case `$CC -V 2>&1 | sed 5q` in
  12048. *Sun\ C*)
  12049. # Sun C++ 5.9
  12050. # The more standards-conforming stlport4 library is
  12051. # incompatible with the Cstd library. Avoid specifying
  12052. # it if it's in CXXFLAGS. Ignore libCrun as
  12053. # -library=stlport4 depends on it.
  12054. case " $CXX $CXXFLAGS " in
  12055. *" -library=stlport4 "*)
  12056. solaris_use_stlport4=yes
  12057. ;;
  12058. esac
  12059. if test "$solaris_use_stlport4" != yes; then
  12060. postdeps_CXX='-library=Cstd -library=Crun'
  12061. fi
  12062. ;;
  12063. esac
  12064. ;;
  12065. solaris*)
  12066. case $cc_basename in
  12067. CC*)
  12068. # The more standards-conforming stlport4 library is
  12069. # incompatible with the Cstd library. Avoid specifying
  12070. # it if it's in CXXFLAGS. Ignore libCrun as
  12071. # -library=stlport4 depends on it.
  12072. case " $CXX $CXXFLAGS " in
  12073. *" -library=stlport4 "*)
  12074. solaris_use_stlport4=yes
  12075. ;;
  12076. esac
  12077. # Adding this requires a known-good setup of shared libraries for
  12078. # Sun compiler versions before 5.6, else PIC objects from an old
  12079. # archive will be linked into the output, leading to subtle bugs.
  12080. if test "$solaris_use_stlport4" != yes; then
  12081. postdeps_CXX='-library=Cstd -library=Crun'
  12082. fi
  12083. ;;
  12084. esac
  12085. ;;
  12086. esac
  12087. case " $postdeps_CXX " in
  12088. *" -lc "*) archive_cmds_need_lc_CXX=no ;;
  12089. esac
  12090. compiler_lib_search_dirs_CXX=
  12091. if test -n "${compiler_lib_search_path_CXX}"; then
  12092. compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
  12093. fi
  12094. lt_prog_compiler_wl_CXX=
  12095. lt_prog_compiler_pic_CXX=
  12096. lt_prog_compiler_static_CXX=
  12097. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
  12098. $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
  12099. # C++ specific cases for pic, static, wl, etc.
  12100. if test "$GXX" = yes; then
  12101. lt_prog_compiler_wl_CXX='-Wl,'
  12102. lt_prog_compiler_static_CXX='-static'
  12103. case $host_os in
  12104. aix*)
  12105. # All AIX code is PIC.
  12106. if test "$host_cpu" = ia64; then
  12107. # AIX 5 now supports IA64 processor
  12108. lt_prog_compiler_static_CXX='-Bstatic'
  12109. fi
  12110. lt_prog_compiler_pic_CXX='-fPIC'
  12111. ;;
  12112. amigaos*)
  12113. case $host_cpu in
  12114. powerpc)
  12115. # see comment about AmigaOS4 .so support
  12116. lt_prog_compiler_pic_CXX='-fPIC'
  12117. ;;
  12118. m68k)
  12119. # FIXME: we need at least 68020 code to build shared libraries, but
  12120. # adding the `-m68020' flag to GCC prevents building anything better,
  12121. # like `-m68040'.
  12122. lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
  12123. ;;
  12124. esac
  12125. ;;
  12126. beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
  12127. # PIC is the default for these OSes.
  12128. ;;
  12129. mingw* | cygwin* | os2* | pw32* | cegcc*)
  12130. # This hack is so that the source file can tell whether it is being
  12131. # built for inclusion in a dll (and should export symbols for example).
  12132. # Although the cygwin gcc ignores -fPIC, still need this for old-style
  12133. # (--disable-auto-import) libraries
  12134. lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
  12135. ;;
  12136. darwin* | rhapsody*)
  12137. # PIC is the default on this platform
  12138. # Common symbols not allowed in MH_DYLIB files
  12139. lt_prog_compiler_pic_CXX='-fno-common'
  12140. ;;
  12141. *djgpp*)
  12142. # DJGPP does not support shared libraries at all
  12143. lt_prog_compiler_pic_CXX=
  12144. ;;
  12145. haiku*)
  12146. # PIC is the default for Haiku.
  12147. # The "-static" flag exists, but is broken.
  12148. lt_prog_compiler_static_CXX=
  12149. ;;
  12150. interix[3-9]*)
  12151. # Interix 3.x gcc -fpic/-fPIC options generate broken code.
  12152. # Instead, we relocate shared libraries at runtime.
  12153. ;;
  12154. sysv4*MP*)
  12155. if test -d /usr/nec; then
  12156. lt_prog_compiler_pic_CXX=-Kconform_pic
  12157. fi
  12158. ;;
  12159. hpux*)
  12160. # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
  12161. # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
  12162. # sets the default TLS model and affects inlining.
  12163. case $host_cpu in
  12164. hppa*64*)
  12165. ;;
  12166. *)
  12167. lt_prog_compiler_pic_CXX='-fPIC'
  12168. ;;
  12169. esac
  12170. ;;
  12171. *qnx* | *nto*)
  12172. # QNX uses GNU C++, but need to define -shared option too, otherwise
  12173. # it will coredump.
  12174. lt_prog_compiler_pic_CXX='-fPIC -shared'
  12175. ;;
  12176. *)
  12177. lt_prog_compiler_pic_CXX='-fPIC'
  12178. ;;
  12179. esac
  12180. else
  12181. case $host_os in
  12182. aix[4-9]*)
  12183. # All AIX code is PIC.
  12184. if test "$host_cpu" = ia64; then
  12185. # AIX 5 now supports IA64 processor
  12186. lt_prog_compiler_static_CXX='-Bstatic'
  12187. else
  12188. lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
  12189. fi
  12190. ;;
  12191. chorus*)
  12192. case $cc_basename in
  12193. cxch68*)
  12194. # Green Hills C++ Compiler
  12195. # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
  12196. ;;
  12197. esac
  12198. ;;
  12199. dgux*)
  12200. case $cc_basename in
  12201. ec++*)
  12202. lt_prog_compiler_pic_CXX='-KPIC'
  12203. ;;
  12204. ghcx*)
  12205. # Green Hills C++ Compiler
  12206. lt_prog_compiler_pic_CXX='-pic'
  12207. ;;
  12208. *)
  12209. ;;
  12210. esac
  12211. ;;
  12212. freebsd* | dragonfly*)
  12213. # FreeBSD uses GNU C++
  12214. ;;
  12215. hpux9* | hpux10* | hpux11*)
  12216. case $cc_basename in
  12217. CC*)
  12218. lt_prog_compiler_wl_CXX='-Wl,'
  12219. lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
  12220. if test "$host_cpu" != ia64; then
  12221. lt_prog_compiler_pic_CXX='+Z'
  12222. fi
  12223. ;;
  12224. aCC*)
  12225. lt_prog_compiler_wl_CXX='-Wl,'
  12226. lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
  12227. case $host_cpu in
  12228. hppa*64*|ia64*)
  12229. # +Z the default
  12230. ;;
  12231. *)
  12232. lt_prog_compiler_pic_CXX='+Z'
  12233. ;;
  12234. esac
  12235. ;;
  12236. *)
  12237. ;;
  12238. esac
  12239. ;;
  12240. interix*)
  12241. # This is c89, which is MS Visual C++ (no shared libs)
  12242. # Anyone wants to do a port?
  12243. ;;
  12244. irix5* | irix6* | nonstopux*)
  12245. case $cc_basename in
  12246. CC*)
  12247. lt_prog_compiler_wl_CXX='-Wl,'
  12248. lt_prog_compiler_static_CXX='-non_shared'
  12249. # CC pic flag -KPIC is the default.
  12250. ;;
  12251. *)
  12252. ;;
  12253. esac
  12254. ;;
  12255. linux* | k*bsd*-gnu | kopensolaris*-gnu)
  12256. case $cc_basename in
  12257. KCC*)
  12258. # KAI C++ Compiler
  12259. lt_prog_compiler_wl_CXX='--backend -Wl,'
  12260. lt_prog_compiler_pic_CXX='-fPIC'
  12261. ;;
  12262. ecpc* )
  12263. # old Intel C++ for x86_64 which still supported -KPIC.
  12264. lt_prog_compiler_wl_CXX='-Wl,'
  12265. lt_prog_compiler_pic_CXX='-KPIC'
  12266. lt_prog_compiler_static_CXX='-static'
  12267. ;;
  12268. icpc* )
  12269. # Intel C++, used to be incompatible with GCC.
  12270. # ICC 10 doesn't accept -KPIC any more.
  12271. lt_prog_compiler_wl_CXX='-Wl,'
  12272. lt_prog_compiler_pic_CXX='-fPIC'
  12273. lt_prog_compiler_static_CXX='-static'
  12274. ;;
  12275. pgCC* | pgcpp*)
  12276. # Portland Group C++ compiler
  12277. lt_prog_compiler_wl_CXX='-Wl,'
  12278. lt_prog_compiler_pic_CXX='-fpic'
  12279. lt_prog_compiler_static_CXX='-Bstatic'
  12280. ;;
  12281. cxx*)
  12282. # Compaq C++
  12283. # Make sure the PIC flag is empty. It appears that all Alpha
  12284. # Linux and Compaq Tru64 Unix objects are PIC.
  12285. lt_prog_compiler_pic_CXX=
  12286. lt_prog_compiler_static_CXX='-non_shared'
  12287. ;;
  12288. xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
  12289. # IBM XL 8.0, 9.0 on PPC and BlueGene
  12290. lt_prog_compiler_wl_CXX='-Wl,'
  12291. lt_prog_compiler_pic_CXX='-qpic'
  12292. lt_prog_compiler_static_CXX='-qstaticlink'
  12293. ;;
  12294. *)
  12295. case `$CC -V 2>&1 | sed 5q` in
  12296. *Sun\ C*)
  12297. # Sun C++ 5.9
  12298. lt_prog_compiler_pic_CXX='-KPIC'
  12299. lt_prog_compiler_static_CXX='-Bstatic'
  12300. lt_prog_compiler_wl_CXX='-Qoption ld '
  12301. ;;
  12302. esac
  12303. ;;
  12304. esac
  12305. ;;
  12306. lynxos*)
  12307. ;;
  12308. m88k*)
  12309. ;;
  12310. mvs*)
  12311. case $cc_basename in
  12312. cxx*)
  12313. lt_prog_compiler_pic_CXX='-W c,exportall'
  12314. ;;
  12315. *)
  12316. ;;
  12317. esac
  12318. ;;
  12319. netbsd*)
  12320. ;;
  12321. *qnx* | *nto*)
  12322. # QNX uses GNU C++, but need to define -shared option too, otherwise
  12323. # it will coredump.
  12324. lt_prog_compiler_pic_CXX='-fPIC -shared'
  12325. ;;
  12326. osf3* | osf4* | osf5*)
  12327. case $cc_basename in
  12328. KCC*)
  12329. lt_prog_compiler_wl_CXX='--backend -Wl,'
  12330. ;;
  12331. RCC*)
  12332. # Rational C++ 2.4.1
  12333. lt_prog_compiler_pic_CXX='-pic'
  12334. ;;
  12335. cxx*)
  12336. # Digital/Compaq C++
  12337. lt_prog_compiler_wl_CXX='-Wl,'
  12338. # Make sure the PIC flag is empty. It appears that all Alpha
  12339. # Linux and Compaq Tru64 Unix objects are PIC.
  12340. lt_prog_compiler_pic_CXX=
  12341. lt_prog_compiler_static_CXX='-non_shared'
  12342. ;;
  12343. *)
  12344. ;;
  12345. esac
  12346. ;;
  12347. psos*)
  12348. ;;
  12349. solaris*)
  12350. case $cc_basename in
  12351. CC*)
  12352. # Sun C++ 4.2, 5.x and Centerline C++
  12353. lt_prog_compiler_pic_CXX='-KPIC'
  12354. lt_prog_compiler_static_CXX='-Bstatic'
  12355. lt_prog_compiler_wl_CXX='-Qoption ld '
  12356. ;;
  12357. gcx*)
  12358. # Green Hills C++ Compiler
  12359. lt_prog_compiler_pic_CXX='-PIC'
  12360. ;;
  12361. *)
  12362. ;;
  12363. esac
  12364. ;;
  12365. sunos4*)
  12366. case $cc_basename in
  12367. CC*)
  12368. # Sun C++ 4.x
  12369. lt_prog_compiler_pic_CXX='-pic'
  12370. lt_prog_compiler_static_CXX='-Bstatic'
  12371. ;;
  12372. lcc*)
  12373. # Lucid
  12374. lt_prog_compiler_pic_CXX='-pic'
  12375. ;;
  12376. *)
  12377. ;;
  12378. esac
  12379. ;;
  12380. sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
  12381. case $cc_basename in
  12382. CC*)
  12383. lt_prog_compiler_wl_CXX='-Wl,'
  12384. lt_prog_compiler_pic_CXX='-KPIC'
  12385. lt_prog_compiler_static_CXX='-Bstatic'
  12386. ;;
  12387. esac
  12388. ;;
  12389. tandem*)
  12390. case $cc_basename in
  12391. NCC*)
  12392. # NonStop-UX NCC 3.20
  12393. lt_prog_compiler_pic_CXX='-KPIC'
  12394. ;;
  12395. *)
  12396. ;;
  12397. esac
  12398. ;;
  12399. vxworks*)
  12400. ;;
  12401. *)
  12402. lt_prog_compiler_can_build_shared_CXX=no
  12403. ;;
  12404. esac
  12405. fi
  12406. case $host_os in
  12407. # For platforms which do not support PIC, -DPIC is meaningless:
  12408. *djgpp*)
  12409. lt_prog_compiler_pic_CXX=
  12410. ;;
  12411. *)
  12412. lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
  12413. ;;
  12414. esac
  12415. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
  12416. $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
  12417. #
  12418. # Check to make sure the PIC flag actually works.
  12419. #
  12420. if test -n "$lt_prog_compiler_pic_CXX"; then
  12421. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
  12422. $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
  12423. if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
  12424. $as_echo_n "(cached) " >&6
  12425. else
  12426. lt_cv_prog_compiler_pic_works_CXX=no
  12427. ac_outfile=conftest.$ac_objext
  12428. echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  12429. lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
  12430. # Insert the option either (1) after the last *FLAGS variable, or
  12431. # (2) before a word containing "conftest.", or (3) at the end.
  12432. # Note that $ac_compile itself does not contain backslashes and begins
  12433. # with a dollar sign (not a hyphen), so the echo should work correctly.
  12434. # The option is referenced via a variable to avoid confusing sed.
  12435. lt_compile=`echo "$ac_compile" | $SED \
  12436. -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  12437. -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  12438. -e 's:$: $lt_compiler_flag:'`
  12439. (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  12440. (eval "$lt_compile" 2>conftest.err)
  12441. ac_status=$?
  12442. cat conftest.err >&5
  12443. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12444. if (exit $ac_status) && test -s "$ac_outfile"; then
  12445. # The compiler can only warn and ignore the option if not recognized
  12446. # So say no if there are warnings other than the usual output.
  12447. $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
  12448. $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  12449. if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  12450. lt_cv_prog_compiler_pic_works_CXX=yes
  12451. fi
  12452. fi
  12453. $RM conftest*
  12454. fi
  12455. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
  12456. $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
  12457. if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
  12458. case $lt_prog_compiler_pic_CXX in
  12459. "" | " "*) ;;
  12460. *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
  12461. esac
  12462. else
  12463. lt_prog_compiler_pic_CXX=
  12464. lt_prog_compiler_can_build_shared_CXX=no
  12465. fi
  12466. fi
  12467. #
  12468. # Check to make sure the static flag actually works.
  12469. #
  12470. wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
  12471. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
  12472. $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
  12473. if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
  12474. $as_echo_n "(cached) " >&6
  12475. else
  12476. lt_cv_prog_compiler_static_works_CXX=no
  12477. save_LDFLAGS="$LDFLAGS"
  12478. LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
  12479. echo "$lt_simple_link_test_code" > conftest.$ac_ext
  12480. if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
  12481. # The linker can only warn and ignore the option if not recognized
  12482. # So say no if there are warnings
  12483. if test -s conftest.err; then
  12484. # Append any errors to the config.log.
  12485. cat conftest.err 1>&5
  12486. $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
  12487. $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  12488. if diff conftest.exp conftest.er2 >/dev/null; then
  12489. lt_cv_prog_compiler_static_works_CXX=yes
  12490. fi
  12491. else
  12492. lt_cv_prog_compiler_static_works_CXX=yes
  12493. fi
  12494. fi
  12495. $RM -r conftest*
  12496. LDFLAGS="$save_LDFLAGS"
  12497. fi
  12498. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
  12499. $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
  12500. if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
  12501. :
  12502. else
  12503. lt_prog_compiler_static_CXX=
  12504. fi
  12505. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
  12506. $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
  12507. if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
  12508. $as_echo_n "(cached) " >&6
  12509. else
  12510. lt_cv_prog_compiler_c_o_CXX=no
  12511. $RM -r conftest 2>/dev/null
  12512. mkdir conftest
  12513. cd conftest
  12514. mkdir out
  12515. echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  12516. lt_compiler_flag="-o out/conftest2.$ac_objext"
  12517. # Insert the option either (1) after the last *FLAGS variable, or
  12518. # (2) before a word containing "conftest.", or (3) at the end.
  12519. # Note that $ac_compile itself does not contain backslashes and begins
  12520. # with a dollar sign (not a hyphen), so the echo should work correctly.
  12521. lt_compile=`echo "$ac_compile" | $SED \
  12522. -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  12523. -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  12524. -e 's:$: $lt_compiler_flag:'`
  12525. (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  12526. (eval "$lt_compile" 2>out/conftest.err)
  12527. ac_status=$?
  12528. cat out/conftest.err >&5
  12529. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12530. if (exit $ac_status) && test -s out/conftest2.$ac_objext
  12531. then
  12532. # The compiler can only warn and ignore the option if not recognized
  12533. # So say no if there are warnings
  12534. $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
  12535. $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  12536. if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  12537. lt_cv_prog_compiler_c_o_CXX=yes
  12538. fi
  12539. fi
  12540. chmod u+w . 2>&5
  12541. $RM conftest*
  12542. # SGI C++ compiler will create directory out/ii_files/ for
  12543. # template instantiation
  12544. test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
  12545. $RM out/* && rmdir out
  12546. cd ..
  12547. $RM -r conftest
  12548. $RM conftest*
  12549. fi
  12550. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
  12551. $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
  12552. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
  12553. $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
  12554. if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
  12555. $as_echo_n "(cached) " >&6
  12556. else
  12557. lt_cv_prog_compiler_c_o_CXX=no
  12558. $RM -r conftest 2>/dev/null
  12559. mkdir conftest
  12560. cd conftest
  12561. mkdir out
  12562. echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  12563. lt_compiler_flag="-o out/conftest2.$ac_objext"
  12564. # Insert the option either (1) after the last *FLAGS variable, or
  12565. # (2) before a word containing "conftest.", or (3) at the end.
  12566. # Note that $ac_compile itself does not contain backslashes and begins
  12567. # with a dollar sign (not a hyphen), so the echo should work correctly.
  12568. lt_compile=`echo "$ac_compile" | $SED \
  12569. -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  12570. -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  12571. -e 's:$: $lt_compiler_flag:'`
  12572. (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  12573. (eval "$lt_compile" 2>out/conftest.err)
  12574. ac_status=$?
  12575. cat out/conftest.err >&5
  12576. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12577. if (exit $ac_status) && test -s out/conftest2.$ac_objext
  12578. then
  12579. # The compiler can only warn and ignore the option if not recognized
  12580. # So say no if there are warnings
  12581. $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
  12582. $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  12583. if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  12584. lt_cv_prog_compiler_c_o_CXX=yes
  12585. fi
  12586. fi
  12587. chmod u+w . 2>&5
  12588. $RM conftest*
  12589. # SGI C++ compiler will create directory out/ii_files/ for
  12590. # template instantiation
  12591. test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
  12592. $RM out/* && rmdir out
  12593. cd ..
  12594. $RM -r conftest
  12595. $RM conftest*
  12596. fi
  12597. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
  12598. $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
  12599. hard_links="nottested"
  12600. if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
  12601. # do not overwrite the value of need_locks provided by the user
  12602. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
  12603. $as_echo_n "checking if we can lock with hard links... " >&6; }
  12604. hard_links=yes
  12605. $RM conftest*
  12606. ln conftest.a conftest.b 2>/dev/null && hard_links=no
  12607. touch conftest.a
  12608. ln conftest.a conftest.b 2>&5 || hard_links=no
  12609. ln conftest.a conftest.b 2>/dev/null && hard_links=no
  12610. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
  12611. $as_echo "$hard_links" >&6; }
  12612. if test "$hard_links" = no; then
  12613. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
  12614. $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
  12615. need_locks=warn
  12616. fi
  12617. else
  12618. need_locks=no
  12619. fi
  12620. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
  12621. $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
  12622. export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  12623. case $host_os in
  12624. aix[4-9]*)
  12625. # If we're using GNU nm, then we don't want the "-C" option.
  12626. # -C means demangle to AIX nm, but means don't demangle with GNU nm
  12627. # Also, AIX nm treats weak defined symbols like other global defined
  12628. # symbols, whereas GNU nm marks them as "W".
  12629. if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
  12630. export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
  12631. else
  12632. export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
  12633. fi
  12634. ;;
  12635. pw32*)
  12636. export_symbols_cmds_CXX="$ltdll_cmds"
  12637. ;;
  12638. cygwin* | mingw* | cegcc*)
  12639. export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
  12640. ;;
  12641. *)
  12642. export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  12643. ;;
  12644. esac
  12645. exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
  12646. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
  12647. $as_echo "$ld_shlibs_CXX" >&6; }
  12648. test "$ld_shlibs_CXX" = no && can_build_shared=no
  12649. with_gnu_ld_CXX=$with_gnu_ld
  12650. #
  12651. # Do we need to explicitly link libc?
  12652. #
  12653. case "x$archive_cmds_need_lc_CXX" in
  12654. x|xyes)
  12655. # Assume -lc should be added
  12656. archive_cmds_need_lc_CXX=yes
  12657. if test "$enable_shared" = yes && test "$GCC" = yes; then
  12658. case $archive_cmds_CXX in
  12659. *'~'*)
  12660. # FIXME: we may have to deal with multi-command sequences.
  12661. ;;
  12662. '$CC '*)
  12663. # Test whether the compiler implicitly links with -lc since on some
  12664. # systems, -lgcc has to come before -lc. If gcc already passes -lc
  12665. # to ld, don't add -lc before -lgcc.
  12666. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
  12667. $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
  12668. if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
  12669. $as_echo_n "(cached) " >&6
  12670. else
  12671. $RM conftest*
  12672. echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  12673. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  12674. (eval $ac_compile) 2>&5
  12675. ac_status=$?
  12676. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  12677. test $ac_status = 0; } 2>conftest.err; then
  12678. soname=conftest
  12679. lib=conftest
  12680. libobjs=conftest.$ac_objext
  12681. deplibs=
  12682. wl=$lt_prog_compiler_wl_CXX
  12683. pic_flag=$lt_prog_compiler_pic_CXX
  12684. compiler_flags=-v
  12685. linker_flags=-v
  12686. verstring=
  12687. output_objdir=.
  12688. libname=conftest
  12689. lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
  12690. allow_undefined_flag_CXX=
  12691. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
  12692. (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
  12693. ac_status=$?
  12694. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  12695. test $ac_status = 0; }
  12696. then
  12697. lt_cv_archive_cmds_need_lc_CXX=no
  12698. else
  12699. lt_cv_archive_cmds_need_lc_CXX=yes
  12700. fi
  12701. allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
  12702. else
  12703. cat conftest.err 1>&5
  12704. fi
  12705. $RM conftest*
  12706. fi
  12707. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
  12708. $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
  12709. archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
  12710. ;;
  12711. esac
  12712. fi
  12713. ;;
  12714. esac
  12715. { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
  12716. $as_echo_n "checking dynamic linker characteristics... " >&6; }
  12717. library_names_spec=
  12718. libname_spec='lib$name'
  12719. soname_spec=
  12720. shrext_cmds=".so"
  12721. postinstall_cmds=
  12722. postuninstall_cmds=
  12723. finish_cmds=
  12724. finish_eval=
  12725. shlibpath_var=
  12726. shlibpath_overrides_runpath=unknown
  12727. version_type=none
  12728. dynamic_linker="$host_os ld.so"
  12729. sys_lib_dlsearch_path_spec="/lib /usr/lib"
  12730. need_lib_prefix=unknown
  12731. hardcode_into_libs=no
  12732. # when you set need_version to no, make sure it does not cause -set_version
  12733. # flags to be left without arguments
  12734. need_version=unknown
  12735. case $host_os in
  12736. aix3*)
  12737. version_type=linux
  12738. library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
  12739. shlibpath_var=LIBPATH
  12740. # AIX 3 has no versioning support, so we append a major version to the name.
  12741. soname_spec='${libname}${release}${shared_ext}$major'
  12742. ;;
  12743. aix[4-9]*)
  12744. version_type=linux
  12745. need_lib_prefix=no
  12746. need_version=no
  12747. hardcode_into_libs=yes
  12748. if test "$host_cpu" = ia64; then
  12749. # AIX 5 supports IA64
  12750. library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
  12751. shlibpath_var=LD_LIBRARY_PATH
  12752. else
  12753. # With GCC up to 2.95.x, collect2 would create an import file
  12754. # for dependence libraries. The import file would start with
  12755. # the line `#! .'. This would cause the generated library to
  12756. # depend on `.', always an invalid library. This was fixed in
  12757. # development snapshots of GCC prior to 3.0.
  12758. case $host_os in
  12759. aix4 | aix4.[01] | aix4.[01].*)
  12760. if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
  12761. echo ' yes '
  12762. echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
  12763. :
  12764. else
  12765. can_build_shared=no
  12766. fi
  12767. ;;
  12768. esac
  12769. # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
  12770. # soname into executable. Probably we can add versioning support to
  12771. # collect2, so additional links can be useful in future.
  12772. if test "$aix_use_runtimelinking" = yes; then
  12773. # If using run time linking (on AIX 4.2 or later) use lib<name>.so
  12774. # instead of lib<name>.a to let people know that these are not
  12775. # typical AIX shared libraries.
  12776. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  12777. else
  12778. # We preserve .a as extension for shared libraries through AIX4.2
  12779. # and later when we are not doing run time linking.
  12780. library_names_spec='${libname}${release}.a $libname.a'
  12781. soname_spec='${libname}${release}${shared_ext}$major'
  12782. fi
  12783. shlibpath_var=LIBPATH
  12784. fi
  12785. ;;
  12786. amigaos*)
  12787. case $host_cpu in
  12788. powerpc)
  12789. # Since July 2007 AmigaOS4 officially supports .so libraries.
  12790. # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
  12791. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  12792. ;;
  12793. m68k)
  12794. library_names_spec='$libname.ixlibrary $libname.a'
  12795. # Create ${libname}_ixlibrary.a entries in /sys/libs.
  12796. 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'
  12797. ;;
  12798. esac
  12799. ;;
  12800. beos*)
  12801. library_names_spec='${libname}${shared_ext}'
  12802. dynamic_linker="$host_os ld.so"
  12803. shlibpath_var=LIBRARY_PATH
  12804. ;;
  12805. bsdi[45]*)
  12806. version_type=linux
  12807. need_version=no
  12808. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  12809. soname_spec='${libname}${release}${shared_ext}$major'
  12810. finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
  12811. shlibpath_var=LD_LIBRARY_PATH
  12812. sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
  12813. sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
  12814. # the default ld.so.conf also contains /usr/contrib/lib and
  12815. # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
  12816. # libtool to hard-code these into programs
  12817. ;;
  12818. cygwin* | mingw* | pw32* | cegcc*)
  12819. version_type=windows
  12820. shrext_cmds=".dll"
  12821. need_version=no
  12822. need_lib_prefix=no
  12823. case $GCC,$host_os in
  12824. yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
  12825. library_names_spec='$libname.dll.a'
  12826. # DLL is installed to $(libdir)/../bin by postinstall_cmds
  12827. postinstall_cmds='base_file=`basename \${file}`~
  12828. dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
  12829. dldir=$destdir/`dirname \$dlpath`~
  12830. test -d \$dldir || mkdir -p \$dldir~
  12831. $install_prog $dir/$dlname \$dldir/$dlname~
  12832. chmod a+x \$dldir/$dlname~
  12833. if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
  12834. eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
  12835. fi'
  12836. postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
  12837. dlpath=$dir/\$dldll~
  12838. $RM \$dlpath'
  12839. shlibpath_overrides_runpath=yes
  12840. case $host_os in
  12841. cygwin*)
  12842. # Cygwin DLLs use 'cyg' prefix rather than 'lib'
  12843. soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  12844. ;;
  12845. mingw* | cegcc*)
  12846. # MinGW DLLs use traditional 'lib' prefix
  12847. soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  12848. ;;
  12849. pw32*)
  12850. # pw32 DLLs use 'pw' prefix rather than 'lib'
  12851. library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  12852. ;;
  12853. esac
  12854. ;;
  12855. *)
  12856. library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
  12857. ;;
  12858. esac
  12859. dynamic_linker='Win32 ld.exe'
  12860. # FIXME: first we should search . and the directory the executable is in
  12861. shlibpath_var=PATH
  12862. ;;
  12863. darwin* | rhapsody*)
  12864. dynamic_linker="$host_os dyld"
  12865. version_type=darwin
  12866. need_lib_prefix=no
  12867. need_version=no
  12868. library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
  12869. soname_spec='${libname}${release}${major}$shared_ext'
  12870. shlibpath_overrides_runpath=yes
  12871. shlibpath_var=DYLD_LIBRARY_PATH
  12872. shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
  12873. sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
  12874. ;;
  12875. dgux*)
  12876. version_type=linux
  12877. need_lib_prefix=no
  12878. need_version=no
  12879. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
  12880. soname_spec='${libname}${release}${shared_ext}$major'
  12881. shlibpath_var=LD_LIBRARY_PATH
  12882. ;;
  12883. freebsd* | dragonfly*)
  12884. # DragonFly does not have aout. When/if they implement a new
  12885. # versioning mechanism, adjust this.
  12886. if test -x /usr/bin/objformat; then
  12887. objformat=`/usr/bin/objformat`
  12888. else
  12889. case $host_os in
  12890. freebsd[23].*) objformat=aout ;;
  12891. *) objformat=elf ;;
  12892. esac
  12893. fi
  12894. version_type=freebsd-$objformat
  12895. case $version_type in
  12896. freebsd-elf*)
  12897. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
  12898. need_version=no
  12899. need_lib_prefix=no
  12900. ;;
  12901. freebsd-*)
  12902. library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
  12903. need_version=yes
  12904. ;;
  12905. esac
  12906. shlibpath_var=LD_LIBRARY_PATH
  12907. case $host_os in
  12908. freebsd2.*)
  12909. shlibpath_overrides_runpath=yes
  12910. ;;
  12911. freebsd3.[01]* | freebsdelf3.[01]*)
  12912. shlibpath_overrides_runpath=yes
  12913. hardcode_into_libs=yes
  12914. ;;
  12915. freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
  12916. freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
  12917. shlibpath_overrides_runpath=no
  12918. hardcode_into_libs=yes
  12919. ;;
  12920. *) # from 4.6 on, and DragonFly
  12921. shlibpath_overrides_runpath=yes
  12922. hardcode_into_libs=yes
  12923. ;;
  12924. esac
  12925. ;;
  12926. gnu*)
  12927. version_type=linux
  12928. need_lib_prefix=no
  12929. need_version=no
  12930. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
  12931. soname_spec='${libname}${release}${shared_ext}$major'
  12932. shlibpath_var=LD_LIBRARY_PATH
  12933. hardcode_into_libs=yes
  12934. ;;
  12935. haiku*)
  12936. version_type=linux
  12937. need_lib_prefix=no
  12938. need_version=no
  12939. dynamic_linker="$host_os runtime_loader"
  12940. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
  12941. soname_spec='${libname}${release}${shared_ext}$major'
  12942. shlibpath_var=LIBRARY_PATH
  12943. shlibpath_overrides_runpath=yes
  12944. sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
  12945. hardcode_into_libs=yes
  12946. ;;
  12947. hpux9* | hpux10* | hpux11*)
  12948. # Give a soname corresponding to the major version so that dld.sl refuses to
  12949. # link against other versions.
  12950. version_type=sunos
  12951. need_lib_prefix=no
  12952. need_version=no
  12953. case $host_cpu in
  12954. ia64*)
  12955. shrext_cmds='.so'
  12956. hardcode_into_libs=yes
  12957. dynamic_linker="$host_os dld.so"
  12958. shlibpath_var=LD_LIBRARY_PATH
  12959. shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  12960. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  12961. soname_spec='${libname}${release}${shared_ext}$major'
  12962. if test "X$HPUX_IA64_MODE" = X32; then
  12963. sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
  12964. else
  12965. sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
  12966. fi
  12967. sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  12968. ;;
  12969. hppa*64*)
  12970. shrext_cmds='.sl'
  12971. hardcode_into_libs=yes
  12972. dynamic_linker="$host_os dld.sl"
  12973. shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
  12974. shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  12975. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  12976. soname_spec='${libname}${release}${shared_ext}$major'
  12977. sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
  12978. sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  12979. ;;
  12980. *)
  12981. shrext_cmds='.sl'
  12982. dynamic_linker="$host_os dld.sl"
  12983. shlibpath_var=SHLIB_PATH
  12984. shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
  12985. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  12986. soname_spec='${libname}${release}${shared_ext}$major'
  12987. ;;
  12988. esac
  12989. # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
  12990. postinstall_cmds='chmod 555 $lib'
  12991. # or fails outright, so override atomically:
  12992. install_override_mode=555
  12993. ;;
  12994. interix[3-9]*)
  12995. version_type=linux
  12996. need_lib_prefix=no
  12997. need_version=no
  12998. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  12999. soname_spec='${libname}${release}${shared_ext}$major'
  13000. dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
  13001. shlibpath_var=LD_LIBRARY_PATH
  13002. shlibpath_overrides_runpath=no
  13003. hardcode_into_libs=yes
  13004. ;;
  13005. irix5* | irix6* | nonstopux*)
  13006. case $host_os in
  13007. nonstopux*) version_type=nonstopux ;;
  13008. *)
  13009. if test "$lt_cv_prog_gnu_ld" = yes; then
  13010. version_type=linux
  13011. else
  13012. version_type=irix
  13013. fi ;;
  13014. esac
  13015. need_lib_prefix=no
  13016. need_version=no
  13017. soname_spec='${libname}${release}${shared_ext}$major'
  13018. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
  13019. case $host_os in
  13020. irix5* | nonstopux*)
  13021. libsuff= shlibsuff=
  13022. ;;
  13023. *)
  13024. case $LD in # libtool.m4 will add one of these switches to LD
  13025. *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
  13026. libsuff= shlibsuff= libmagic=32-bit;;
  13027. *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
  13028. libsuff=32 shlibsuff=N32 libmagic=N32;;
  13029. *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
  13030. libsuff=64 shlibsuff=64 libmagic=64-bit;;
  13031. *) libsuff= shlibsuff= libmagic=never-match;;
  13032. esac
  13033. ;;
  13034. esac
  13035. shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
  13036. shlibpath_overrides_runpath=no
  13037. sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
  13038. sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
  13039. hardcode_into_libs=yes
  13040. ;;
  13041. # No shared lib support for Linux oldld, aout, or coff.
  13042. linux*oldld* | linux*aout* | linux*coff*)
  13043. dynamic_linker=no
  13044. ;;
  13045. # This must be Linux ELF.
  13046. linux* | k*bsd*-gnu | kopensolaris*-gnu)
  13047. version_type=linux
  13048. need_lib_prefix=no
  13049. need_version=no
  13050. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  13051. soname_spec='${libname}${release}${shared_ext}$major'
  13052. finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
  13053. shlibpath_var=LD_LIBRARY_PATH
  13054. shlibpath_overrides_runpath=no
  13055. # Some binutils ld are patched to set DT_RUNPATH
  13056. if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
  13057. $as_echo_n "(cached) " >&6
  13058. else
  13059. lt_cv_shlibpath_overrides_runpath=no
  13060. save_LDFLAGS=$LDFLAGS
  13061. save_libdir=$libdir
  13062. eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
  13063. LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
  13064. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13065. /* end confdefs.h. */
  13066. int
  13067. main ()
  13068. {
  13069. ;
  13070. return 0;
  13071. }
  13072. _ACEOF
  13073. if ac_fn_cxx_try_link "$LINENO"; then :
  13074. if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
  13075. lt_cv_shlibpath_overrides_runpath=yes
  13076. fi
  13077. fi
  13078. rm -f core conftest.err conftest.$ac_objext \
  13079. conftest$ac_exeext conftest.$ac_ext
  13080. LDFLAGS=$save_LDFLAGS
  13081. libdir=$save_libdir
  13082. fi
  13083. shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
  13084. # This implies no fast_install, which is unacceptable.
  13085. # Some rework will be needed to allow for fast_install
  13086. # before this can be enabled.
  13087. hardcode_into_libs=yes
  13088. # Append ld.so.conf contents to the search path
  13089. if test -f /etc/ld.so.conf; then
  13090. 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' ' '`
  13091. sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
  13092. fi
  13093. # We used to test for /lib/ld.so.1 and disable shared libraries on
  13094. # powerpc, because MkLinux only supported shared libraries with the
  13095. # GNU dynamic linker. Since this was broken with cross compilers,
  13096. # most powerpc-linux boxes support dynamic linking these days and
  13097. # people can always --disable-shared, the test was removed, and we
  13098. # assume the GNU/Linux dynamic linker is in use.
  13099. dynamic_linker='GNU/Linux ld.so'
  13100. ;;
  13101. netbsd*)
  13102. version_type=sunos
  13103. need_lib_prefix=no
  13104. need_version=no
  13105. if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  13106. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  13107. finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  13108. dynamic_linker='NetBSD (a.out) ld.so'
  13109. else
  13110. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  13111. soname_spec='${libname}${release}${shared_ext}$major'
  13112. dynamic_linker='NetBSD ld.elf_so'
  13113. fi
  13114. shlibpath_var=LD_LIBRARY_PATH
  13115. shlibpath_overrides_runpath=yes
  13116. hardcode_into_libs=yes
  13117. ;;
  13118. newsos6)
  13119. version_type=linux
  13120. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  13121. shlibpath_var=LD_LIBRARY_PATH
  13122. shlibpath_overrides_runpath=yes
  13123. ;;
  13124. *nto* | *qnx*)
  13125. version_type=qnx
  13126. need_lib_prefix=no
  13127. need_version=no
  13128. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  13129. soname_spec='${libname}${release}${shared_ext}$major'
  13130. shlibpath_var=LD_LIBRARY_PATH
  13131. shlibpath_overrides_runpath=no
  13132. hardcode_into_libs=yes
  13133. dynamic_linker='ldqnx.so'
  13134. ;;
  13135. openbsd*)
  13136. version_type=sunos
  13137. sys_lib_dlsearch_path_spec="/usr/lib"
  13138. need_lib_prefix=no
  13139. # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
  13140. case $host_os in
  13141. openbsd3.3 | openbsd3.3.*) need_version=yes ;;
  13142. *) need_version=no ;;
  13143. esac
  13144. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  13145. finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  13146. shlibpath_var=LD_LIBRARY_PATH
  13147. if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  13148. case $host_os in
  13149. openbsd2.[89] | openbsd2.[89].*)
  13150. shlibpath_overrides_runpath=no
  13151. ;;
  13152. *)
  13153. shlibpath_overrides_runpath=yes
  13154. ;;
  13155. esac
  13156. else
  13157. shlibpath_overrides_runpath=yes
  13158. fi
  13159. ;;
  13160. os2*)
  13161. libname_spec='$name'
  13162. shrext_cmds=".dll"
  13163. need_lib_prefix=no
  13164. library_names_spec='$libname${shared_ext} $libname.a'
  13165. dynamic_linker='OS/2 ld.exe'
  13166. shlibpath_var=LIBPATH
  13167. ;;
  13168. osf3* | osf4* | osf5*)
  13169. version_type=osf
  13170. need_lib_prefix=no
  13171. need_version=no
  13172. soname_spec='${libname}${release}${shared_ext}$major'
  13173. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  13174. shlibpath_var=LD_LIBRARY_PATH
  13175. sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
  13176. sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
  13177. ;;
  13178. rdos*)
  13179. dynamic_linker=no
  13180. ;;
  13181. solaris*)
  13182. version_type=linux
  13183. need_lib_prefix=no
  13184. need_version=no
  13185. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  13186. soname_spec='${libname}${release}${shared_ext}$major'
  13187. shlibpath_var=LD_LIBRARY_PATH
  13188. shlibpath_overrides_runpath=yes
  13189. hardcode_into_libs=yes
  13190. # ldd complains unless libraries are executable
  13191. postinstall_cmds='chmod +x $lib'
  13192. ;;
  13193. sunos4*)
  13194. version_type=sunos
  13195. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  13196. finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
  13197. shlibpath_var=LD_LIBRARY_PATH
  13198. shlibpath_overrides_runpath=yes
  13199. if test "$with_gnu_ld" = yes; then
  13200. need_lib_prefix=no
  13201. fi
  13202. need_version=yes
  13203. ;;
  13204. sysv4 | sysv4.3*)
  13205. version_type=linux
  13206. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  13207. soname_spec='${libname}${release}${shared_ext}$major'
  13208. shlibpath_var=LD_LIBRARY_PATH
  13209. case $host_vendor in
  13210. sni)
  13211. shlibpath_overrides_runpath=no
  13212. need_lib_prefix=no
  13213. runpath_var=LD_RUN_PATH
  13214. ;;
  13215. siemens)
  13216. need_lib_prefix=no
  13217. ;;
  13218. motorola)
  13219. need_lib_prefix=no
  13220. need_version=no
  13221. shlibpath_overrides_runpath=no
  13222. sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
  13223. ;;
  13224. esac
  13225. ;;
  13226. sysv4*MP*)
  13227. if test -d /usr/nec ;then
  13228. version_type=linux
  13229. library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
  13230. soname_spec='$libname${shared_ext}.$major'
  13231. shlibpath_var=LD_LIBRARY_PATH
  13232. fi
  13233. ;;
  13234. sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  13235. version_type=freebsd-elf
  13236. need_lib_prefix=no
  13237. need_version=no
  13238. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
  13239. soname_spec='${libname}${release}${shared_ext}$major'
  13240. shlibpath_var=LD_LIBRARY_PATH
  13241. shlibpath_overrides_runpath=yes
  13242. hardcode_into_libs=yes
  13243. if test "$with_gnu_ld" = yes; then
  13244. sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
  13245. else
  13246. sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
  13247. case $host_os in
  13248. sco3.2v5*)
  13249. sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
  13250. ;;
  13251. esac
  13252. fi
  13253. sys_lib_dlsearch_path_spec='/usr/lib'
  13254. ;;
  13255. tpf*)
  13256. # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
  13257. version_type=linux
  13258. need_lib_prefix=no
  13259. need_version=no
  13260. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  13261. shlibpath_var=LD_LIBRARY_PATH
  13262. shlibpath_overrides_runpath=no
  13263. hardcode_into_libs=yes
  13264. ;;
  13265. uts4*)
  13266. version_type=linux
  13267. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  13268. soname_spec='${libname}${release}${shared_ext}$major'
  13269. shlibpath_var=LD_LIBRARY_PATH
  13270. ;;
  13271. *)
  13272. dynamic_linker=no
  13273. ;;
  13274. esac
  13275. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
  13276. $as_echo "$dynamic_linker" >&6; }
  13277. test "$dynamic_linker" = no && can_build_shared=no
  13278. variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
  13279. if test "$GCC" = yes; then
  13280. variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
  13281. fi
  13282. if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
  13283. sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
  13284. fi
  13285. if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
  13286. sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
  13287. fi
  13288. { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
  13289. $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
  13290. hardcode_action_CXX=
  13291. if test -n "$hardcode_libdir_flag_spec_CXX" ||
  13292. test -n "$runpath_var_CXX" ||
  13293. test "X$hardcode_automatic_CXX" = "Xyes" ; then
  13294. # We can hardcode non-existent directories.
  13295. if test "$hardcode_direct_CXX" != no &&
  13296. # If the only mechanism to avoid hardcoding is shlibpath_var, we
  13297. # have to relink, otherwise we might link with an installed library
  13298. # when we should be linking with a yet-to-be-installed one
  13299. ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
  13300. test "$hardcode_minus_L_CXX" != no; then
  13301. # Linking always hardcodes the temporary library directory.
  13302. hardcode_action_CXX=relink
  13303. else
  13304. # We can link without hardcoding, and we can hardcode nonexisting dirs.
  13305. hardcode_action_CXX=immediate
  13306. fi
  13307. else
  13308. # We cannot hardcode anything, or else we can only hardcode existing
  13309. # directories.
  13310. hardcode_action_CXX=unsupported
  13311. fi
  13312. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
  13313. $as_echo "$hardcode_action_CXX" >&6; }
  13314. if test "$hardcode_action_CXX" = relink ||
  13315. test "$inherit_rpath_CXX" = yes; then
  13316. # Fast installation is not supported
  13317. enable_fast_install=no
  13318. elif test "$shlibpath_overrides_runpath" = yes ||
  13319. test "$enable_shared" = no; then
  13320. # Fast installation is not necessary
  13321. enable_fast_install=needless
  13322. fi
  13323. fi # test -n "$compiler"
  13324. CC=$lt_save_CC
  13325. LDCXX=$LD
  13326. LD=$lt_save_LD
  13327. GCC=$lt_save_GCC
  13328. with_gnu_ld=$lt_save_with_gnu_ld
  13329. lt_cv_path_LDCXX=$lt_cv_path_LD
  13330. lt_cv_path_LD=$lt_save_path_LD
  13331. lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
  13332. lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
  13333. fi # test "$_lt_caught_CXX_error" != yes
  13334. ac_ext=c
  13335. ac_cpp='$CPP $CPPFLAGS'
  13336. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  13337. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  13338. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  13339. ac_config_commands="$ac_config_commands libtool"
  13340. # Only expand once:
  13341. case $host in
  13342. *-cygwin* | *-mingw*)
  13343. # 'host' will be top-level target in the case of a target lib,
  13344. # we must compare to with_cross_host to decide if this is a native
  13345. # or cross-compiler and select where to install dlls appropriately.
  13346. if test -n "$with_cross_host" &&
  13347. test x"$with_cross_host" != x"no"; then
  13348. lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
  13349. else
  13350. lt_host_flags='-no-undefined -bindir "$(bindir)"';
  13351. fi
  13352. ;;
  13353. *)
  13354. lt_host_flags=
  13355. ;;
  13356. esac
  13357. # For libtool versioning info, format is CURRENT:REVISION:AGE
  13358. libtool_VERSION=1:0:0
  13359. XCFLAGS="-D_GNU_SOURCE -Wall -Wextra -fno-exceptions"
  13360. if test "${multilib}" = "yes"; then
  13361. multilib_arg="--enable-multilib"
  13362. else
  13363. multilib_arg=
  13364. fi
  13365. ac_config_files="$ac_config_files Makefile"
  13366. if test "x$VTV_SUPPORTED" = "xyes"; then
  13367. ac_config_files="$ac_config_files testsuite/Makefile"
  13368. fi
  13369. case "$target_os" in
  13370. cygwin*|mingw32*)
  13371. vtv_cygmin="yes"
  13372. ;;
  13373. *)
  13374. vtv_cygmin="no"
  13375. ;;
  13376. esac
  13377. if test $vtv_cygmin = yes; then
  13378. VTV_CYGMIN_TRUE=
  13379. VTV_CYGMIN_FALSE='#'
  13380. else
  13381. VTV_CYGMIN_TRUE='#'
  13382. VTV_CYGMIN_FALSE=
  13383. fi
  13384. cat >confcache <<\_ACEOF
  13385. # This file is a shell script that caches the results of configure
  13386. # tests run on this system so they can be shared between configure
  13387. # scripts and configure runs, see configure's option --config-cache.
  13388. # It is not useful on other systems. If it contains results you don't
  13389. # want to keep, you may remove or edit it.
  13390. #
  13391. # config.status only pays attention to the cache file if you give it
  13392. # the --recheck option to rerun configure.
  13393. #
  13394. # `ac_cv_env_foo' variables (set or unset) will be overridden when
  13395. # loading this file, other *unset* `ac_cv_foo' will be assigned the
  13396. # following values.
  13397. _ACEOF
  13398. # The following way of writing the cache mishandles newlines in values,
  13399. # but we know of no workaround that is simple, portable, and efficient.
  13400. # So, we kill variables containing newlines.
  13401. # Ultrix sh set writes to stderr and can't be redirected directly,
  13402. # and sets the high bit in the cache file unless we assign to the vars.
  13403. (
  13404. for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
  13405. eval ac_val=\$$ac_var
  13406. case $ac_val in #(
  13407. *${as_nl}*)
  13408. case $ac_var in #(
  13409. *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  13410. $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  13411. esac
  13412. case $ac_var in #(
  13413. _ | IFS | as_nl) ;; #(
  13414. BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  13415. *) { eval $ac_var=; unset $ac_var;} ;;
  13416. esac ;;
  13417. esac
  13418. done
  13419. (set) 2>&1 |
  13420. case $as_nl`(ac_space=' '; set) 2>&1` in #(
  13421. *${as_nl}ac_space=\ *)
  13422. # `set' does not quote correctly, so add quotes: double-quote
  13423. # substitution turns \\\\ into \\, and sed turns \\ into \.
  13424. sed -n \
  13425. "s/'/'\\\\''/g;
  13426. s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
  13427. ;; #(
  13428. *)
  13429. # `set' quotes correctly as required by POSIX, so do not add quotes.
  13430. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  13431. ;;
  13432. esac |
  13433. sort
  13434. ) |
  13435. sed '
  13436. /^ac_cv_env_/b end
  13437. t clear
  13438. :clear
  13439. s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
  13440. t end
  13441. s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
  13442. :end' >>confcache
  13443. if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
  13444. if test -w "$cache_file"; then
  13445. test "x$cache_file" != "x/dev/null" &&
  13446. { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
  13447. $as_echo "$as_me: updating cache $cache_file" >&6;}
  13448. cat confcache >$cache_file
  13449. else
  13450. { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
  13451. $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
  13452. fi
  13453. fi
  13454. rm -f confcache
  13455. test "x$prefix" = xNONE && prefix=$ac_default_prefix
  13456. # Let make expand exec_prefix.
  13457. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
  13458. # Transform confdefs.h into DEFS.
  13459. # Protect against shell expansion while executing Makefile rules.
  13460. # Protect against Makefile macro expansion.
  13461. #
  13462. # If the first sed substitution is executed (which looks for macros that
  13463. # take arguments), then branch to the quote section. Otherwise,
  13464. # look for a macro that doesn't take arguments.
  13465. ac_script='
  13466. :mline
  13467. /\\$/{
  13468. N
  13469. s,\\\n,,
  13470. b mline
  13471. }
  13472. t clear
  13473. :clear
  13474. s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
  13475. t quote
  13476. s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
  13477. t quote
  13478. b any
  13479. :quote
  13480. s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
  13481. s/\[/\\&/g
  13482. s/\]/\\&/g
  13483. s/\$/$$/g
  13484. H
  13485. :any
  13486. ${
  13487. g
  13488. s/^\n//
  13489. s/\n/ /g
  13490. p
  13491. }
  13492. '
  13493. DEFS=`sed -n "$ac_script" confdefs.h`
  13494. ac_libobjs=
  13495. ac_ltlibobjs=
  13496. for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
  13497. # 1. Remove the extension, and $U if already installed.
  13498. ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
  13499. ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
  13500. # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
  13501. # will be set to the directory where LIBOBJS objects are built.
  13502. as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
  13503. as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
  13504. done
  13505. LIBOBJS=$ac_libobjs
  13506. LTLIBOBJS=$ac_ltlibobjs
  13507. if test -z "${ENABLE_VTABLE_VERIFY_TRUE}" && test -z "${ENABLE_VTABLE_VERIFY_FALSE}"; then
  13508. as_fn_error "conditional \"ENABLE_VTABLE_VERIFY\" was never defined.
  13509. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  13510. fi
  13511. if test -n "$EXEEXT"; then
  13512. am__EXEEXT_TRUE=
  13513. am__EXEEXT_FALSE='#'
  13514. else
  13515. am__EXEEXT_TRUE='#'
  13516. am__EXEEXT_FALSE=
  13517. fi
  13518. if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
  13519. as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
  13520. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  13521. fi
  13522. if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
  13523. as_fn_error "conditional \"AMDEP\" was never defined.
  13524. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  13525. fi
  13526. if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
  13527. as_fn_error "conditional \"am__fastdepCC\" was never defined.
  13528. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  13529. fi
  13530. if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
  13531. as_fn_error "conditional \"am__fastdepCC\" was never defined.
  13532. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  13533. fi
  13534. if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
  13535. as_fn_error "conditional \"am__fastdepCXX\" was never defined.
  13536. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  13537. fi
  13538. if test -z "${VTV_CYGMIN_TRUE}" && test -z "${VTV_CYGMIN_FALSE}"; then
  13539. as_fn_error "conditional \"VTV_CYGMIN\" was never defined.
  13540. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  13541. fi
  13542. : ${CONFIG_STATUS=./config.status}
  13543. ac_write_fail=0
  13544. ac_clean_files_save=$ac_clean_files
  13545. ac_clean_files="$ac_clean_files $CONFIG_STATUS"
  13546. { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
  13547. $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
  13548. as_write_fail=0
  13549. cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
  13550. #! $SHELL
  13551. # Generated by $as_me.
  13552. # Run this file to recreate the current configuration.
  13553. # Compiler output produced by configure, useful for debugging
  13554. # configure, is in config.log if it exists.
  13555. debug=false
  13556. ac_cs_recheck=false
  13557. ac_cs_silent=false
  13558. SHELL=\${CONFIG_SHELL-$SHELL}
  13559. export SHELL
  13560. _ASEOF
  13561. cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
  13562. ## -------------------- ##
  13563. ## M4sh Initialization. ##
  13564. ## -------------------- ##
  13565. # Be more Bourne compatible
  13566. DUALCASE=1; export DUALCASE # for MKS sh
  13567. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  13568. emulate sh
  13569. NULLCMD=:
  13570. # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  13571. # is contrary to our usage. Disable this feature.
  13572. alias -g '${1+"$@"}'='"$@"'
  13573. setopt NO_GLOB_SUBST
  13574. else
  13575. case `(set -o) 2>/dev/null` in #(
  13576. *posix*) :
  13577. set -o posix ;; #(
  13578. *) :
  13579. ;;
  13580. esac
  13581. fi
  13582. as_nl='
  13583. '
  13584. export as_nl
  13585. # Printing a long string crashes Solaris 7 /usr/bin/printf.
  13586. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  13587. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  13588. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  13589. # Prefer a ksh shell builtin over an external printf program on Solaris,
  13590. # but without wasting forks for bash or zsh.
  13591. if test -z "$BASH_VERSION$ZSH_VERSION" \
  13592. && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
  13593. as_echo='print -r --'
  13594. as_echo_n='print -rn --'
  13595. elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  13596. as_echo='printf %s\n'
  13597. as_echo_n='printf %s'
  13598. else
  13599. if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
  13600. as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
  13601. as_echo_n='/usr/ucb/echo -n'
  13602. else
  13603. as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  13604. as_echo_n_body='eval
  13605. arg=$1;
  13606. case $arg in #(
  13607. *"$as_nl"*)
  13608. expr "X$arg" : "X\\(.*\\)$as_nl";
  13609. arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  13610. esac;
  13611. expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
  13612. '
  13613. export as_echo_n_body
  13614. as_echo_n='sh -c $as_echo_n_body as_echo'
  13615. fi
  13616. export as_echo_body
  13617. as_echo='sh -c $as_echo_body as_echo'
  13618. fi
  13619. # The user is always right.
  13620. if test "${PATH_SEPARATOR+set}" != set; then
  13621. PATH_SEPARATOR=:
  13622. (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  13623. (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  13624. PATH_SEPARATOR=';'
  13625. }
  13626. fi
  13627. # IFS
  13628. # We need space, tab and new line, in precisely that order. Quoting is
  13629. # there to prevent editors from complaining about space-tab.
  13630. # (If _AS_PATH_WALK were called with IFS unset, it would disable word
  13631. # splitting by setting IFS to empty value.)
  13632. IFS=" "" $as_nl"
  13633. # Find who we are. Look in the path if we contain no directory separator.
  13634. case $0 in #((
  13635. *[\\/]* ) as_myself=$0 ;;
  13636. *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  13637. for as_dir in $PATH
  13638. do
  13639. IFS=$as_save_IFS
  13640. test -z "$as_dir" && as_dir=.
  13641. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  13642. done
  13643. IFS=$as_save_IFS
  13644. ;;
  13645. esac
  13646. # We did not find ourselves, most probably we were run as `sh COMMAND'
  13647. # in which case we are not to be found in the path.
  13648. if test "x$as_myself" = x; then
  13649. as_myself=$0
  13650. fi
  13651. if test ! -f "$as_myself"; then
  13652. $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  13653. exit 1
  13654. fi
  13655. # Unset variables that we do not need and which cause bugs (e.g. in
  13656. # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
  13657. # suppresses any "Segmentation fault" message there. '((' could
  13658. # trigger a bug in pdksh 5.2.14.
  13659. for as_var in BASH_ENV ENV MAIL MAILPATH
  13660. do eval test x\${$as_var+set} = xset \
  13661. && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  13662. done
  13663. PS1='$ '
  13664. PS2='> '
  13665. PS4='+ '
  13666. # NLS nuisances.
  13667. LC_ALL=C
  13668. export LC_ALL
  13669. LANGUAGE=C
  13670. export LANGUAGE
  13671. # CDPATH.
  13672. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  13673. # as_fn_error ERROR [LINENO LOG_FD]
  13674. # ---------------------------------
  13675. # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  13676. # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  13677. # script with status $?, using 1 if that was 0.
  13678. as_fn_error ()
  13679. {
  13680. as_status=$?; test $as_status -eq 0 && as_status=1
  13681. if test "$3"; then
  13682. as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  13683. $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
  13684. fi
  13685. $as_echo "$as_me: error: $1" >&2
  13686. as_fn_exit $as_status
  13687. } # as_fn_error
  13688. # as_fn_set_status STATUS
  13689. # -----------------------
  13690. # Set $? to STATUS, without forking.
  13691. as_fn_set_status ()
  13692. {
  13693. return $1
  13694. } # as_fn_set_status
  13695. # as_fn_exit STATUS
  13696. # -----------------
  13697. # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  13698. as_fn_exit ()
  13699. {
  13700. set +e
  13701. as_fn_set_status $1
  13702. exit $1
  13703. } # as_fn_exit
  13704. # as_fn_unset VAR
  13705. # ---------------
  13706. # Portably unset VAR.
  13707. as_fn_unset ()
  13708. {
  13709. { eval $1=; unset $1;}
  13710. }
  13711. as_unset=as_fn_unset
  13712. # as_fn_append VAR VALUE
  13713. # ----------------------
  13714. # Append the text in VALUE to the end of the definition contained in VAR. Take
  13715. # advantage of any shell optimizations that allow amortized linear growth over
  13716. # repeated appends, instead of the typical quadratic growth present in naive
  13717. # implementations.
  13718. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  13719. eval 'as_fn_append ()
  13720. {
  13721. eval $1+=\$2
  13722. }'
  13723. else
  13724. as_fn_append ()
  13725. {
  13726. eval $1=\$$1\$2
  13727. }
  13728. fi # as_fn_append
  13729. # as_fn_arith ARG...
  13730. # ------------------
  13731. # Perform arithmetic evaluation on the ARGs, and store the result in the
  13732. # global $as_val. Take advantage of shells that can avoid forks. The arguments
  13733. # must be portable across $(()) and expr.
  13734. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  13735. eval 'as_fn_arith ()
  13736. {
  13737. as_val=$(( $* ))
  13738. }'
  13739. else
  13740. as_fn_arith ()
  13741. {
  13742. as_val=`expr "$@" || test $? -eq 1`
  13743. }
  13744. fi # as_fn_arith
  13745. if expr a : '\(a\)' >/dev/null 2>&1 &&
  13746. test "X`expr 00001 : '.*\(...\)'`" = X001; then
  13747. as_expr=expr
  13748. else
  13749. as_expr=false
  13750. fi
  13751. if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  13752. as_basename=basename
  13753. else
  13754. as_basename=false
  13755. fi
  13756. if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  13757. as_dirname=dirname
  13758. else
  13759. as_dirname=false
  13760. fi
  13761. as_me=`$as_basename -- "$0" ||
  13762. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  13763. X"$0" : 'X\(//\)$' \| \
  13764. X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  13765. $as_echo X/"$0" |
  13766. sed '/^.*\/\([^/][^/]*\)\/*$/{
  13767. s//\1/
  13768. q
  13769. }
  13770. /^X\/\(\/\/\)$/{
  13771. s//\1/
  13772. q
  13773. }
  13774. /^X\/\(\/\).*/{
  13775. s//\1/
  13776. q
  13777. }
  13778. s/.*/./; q'`
  13779. # Avoid depending upon Character Ranges.
  13780. as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  13781. as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  13782. as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  13783. as_cr_digits='0123456789'
  13784. as_cr_alnum=$as_cr_Letters$as_cr_digits
  13785. ECHO_C= ECHO_N= ECHO_T=
  13786. case `echo -n x` in #(((((
  13787. -n*)
  13788. case `echo 'xy\c'` in
  13789. *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  13790. xy) ECHO_C='\c';;
  13791. *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
  13792. ECHO_T=' ';;
  13793. esac;;
  13794. *)
  13795. ECHO_N='-n';;
  13796. esac
  13797. rm -f conf$$ conf$$.exe conf$$.file
  13798. if test -d conf$$.dir; then
  13799. rm -f conf$$.dir/conf$$.file
  13800. else
  13801. rm -f conf$$.dir
  13802. mkdir conf$$.dir 2>/dev/null
  13803. fi
  13804. if (echo >conf$$.file) 2>/dev/null; then
  13805. if ln -s conf$$.file conf$$ 2>/dev/null; then
  13806. as_ln_s='ln -s'
  13807. # ... but there are two gotchas:
  13808. # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  13809. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  13810. # In both cases, we have to default to `cp -p'.
  13811. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  13812. as_ln_s='cp -p'
  13813. elif ln conf$$.file conf$$ 2>/dev/null; then
  13814. as_ln_s=ln
  13815. else
  13816. as_ln_s='cp -p'
  13817. fi
  13818. else
  13819. as_ln_s='cp -p'
  13820. fi
  13821. rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  13822. rmdir conf$$.dir 2>/dev/null
  13823. # as_fn_mkdir_p
  13824. # -------------
  13825. # Create "$as_dir" as a directory, including parents if necessary.
  13826. as_fn_mkdir_p ()
  13827. {
  13828. case $as_dir in #(
  13829. -*) as_dir=./$as_dir;;
  13830. esac
  13831. test -d "$as_dir" || eval $as_mkdir_p || {
  13832. as_dirs=
  13833. while :; do
  13834. case $as_dir in #(
  13835. *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  13836. *) as_qdir=$as_dir;;
  13837. esac
  13838. as_dirs="'$as_qdir' $as_dirs"
  13839. as_dir=`$as_dirname -- "$as_dir" ||
  13840. $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  13841. X"$as_dir" : 'X\(//\)[^/]' \| \
  13842. X"$as_dir" : 'X\(//\)$' \| \
  13843. X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  13844. $as_echo X"$as_dir" |
  13845. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  13846. s//\1/
  13847. q
  13848. }
  13849. /^X\(\/\/\)[^/].*/{
  13850. s//\1/
  13851. q
  13852. }
  13853. /^X\(\/\/\)$/{
  13854. s//\1/
  13855. q
  13856. }
  13857. /^X\(\/\).*/{
  13858. s//\1/
  13859. q
  13860. }
  13861. s/.*/./; q'`
  13862. test -d "$as_dir" && break
  13863. done
  13864. test -z "$as_dirs" || eval "mkdir $as_dirs"
  13865. } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
  13866. } # as_fn_mkdir_p
  13867. if mkdir -p . 2>/dev/null; then
  13868. as_mkdir_p='mkdir -p "$as_dir"'
  13869. else
  13870. test -d ./-p && rmdir ./-p
  13871. as_mkdir_p=false
  13872. fi
  13873. if test -x / >/dev/null 2>&1; then
  13874. as_test_x='test -x'
  13875. else
  13876. if ls -dL / >/dev/null 2>&1; then
  13877. as_ls_L_option=L
  13878. else
  13879. as_ls_L_option=
  13880. fi
  13881. as_test_x='
  13882. eval sh -c '\''
  13883. if test -d "$1"; then
  13884. test -d "$1/.";
  13885. else
  13886. case $1 in #(
  13887. -*)set "./$1";;
  13888. esac;
  13889. case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
  13890. ???[sx]*):;;*)false;;esac;fi
  13891. '\'' sh
  13892. '
  13893. fi
  13894. as_executable_p=$as_test_x
  13895. # Sed expression to map a string onto a valid CPP name.
  13896. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  13897. # Sed expression to map a string onto a valid variable name.
  13898. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  13899. exec 6>&1
  13900. ## ----------------------------------- ##
  13901. ## Main body of $CONFIG_STATUS script. ##
  13902. ## ----------------------------------- ##
  13903. _ASEOF
  13904. test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
  13905. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  13906. # Save the log message, to keep $0 and so on meaningful, and to
  13907. # report actual input values of CONFIG_FILES etc. instead of their
  13908. # values after options handling.
  13909. ac_log="
  13910. This file was extended by GNU Vtable Verification Runtime Library $as_me 1.0, which was
  13911. generated by GNU Autoconf 2.64. Invocation command line was
  13912. CONFIG_FILES = $CONFIG_FILES
  13913. CONFIG_HEADERS = $CONFIG_HEADERS
  13914. CONFIG_LINKS = $CONFIG_LINKS
  13915. CONFIG_COMMANDS = $CONFIG_COMMANDS
  13916. $ $0 $@
  13917. on `(hostname || uname -n) 2>/dev/null | sed 1q`
  13918. "
  13919. _ACEOF
  13920. case $ac_config_files in *"
  13921. "*) set x $ac_config_files; shift; ac_config_files=$*;;
  13922. esac
  13923. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  13924. # Files that config.status was made for.
  13925. config_files="$ac_config_files"
  13926. config_commands="$ac_config_commands"
  13927. _ACEOF
  13928. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  13929. ac_cs_usage="\
  13930. \`$as_me' instantiates files and other configuration actions
  13931. from templates according to the current configuration. Unless the files
  13932. and actions are specified as TAGs, all are instantiated by default.
  13933. Usage: $0 [OPTION]... [TAG]...
  13934. -h, --help print this help, then exit
  13935. -V, --version print version number and configuration settings, then exit
  13936. -q, --quiet, --silent
  13937. do not print progress messages
  13938. -d, --debug don't remove temporary files
  13939. --recheck update $as_me by reconfiguring in the same conditions
  13940. --file=FILE[:TEMPLATE]
  13941. instantiate the configuration file FILE
  13942. Configuration files:
  13943. $config_files
  13944. Configuration commands:
  13945. $config_commands
  13946. Report bugs to the package provider.
  13947. GNU Vtable Verification Runtime Library home page: <http://www.gnu.org/software/libvtv/>.
  13948. General help using GNU software: <http://www.gnu.org/gethelp/>."
  13949. _ACEOF
  13950. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  13951. ac_cs_version="\\
  13952. GNU Vtable Verification Runtime Library config.status 1.0
  13953. configured by $0, generated by GNU Autoconf 2.64,
  13954. with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
  13955. Copyright (C) 2009 Free Software Foundation, Inc.
  13956. This config.status script is free software; the Free Software Foundation
  13957. gives unlimited permission to copy, distribute and modify it."
  13958. ac_pwd='$ac_pwd'
  13959. srcdir='$srcdir'
  13960. INSTALL='$INSTALL'
  13961. MKDIR_P='$MKDIR_P'
  13962. AWK='$AWK'
  13963. test -n "\$AWK" || AWK=awk
  13964. _ACEOF
  13965. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  13966. # The default lists apply if the user does not specify any file.
  13967. ac_need_defaults=:
  13968. while test $# != 0
  13969. do
  13970. case $1 in
  13971. --*=*)
  13972. ac_option=`expr "X$1" : 'X\([^=]*\)='`
  13973. ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
  13974. ac_shift=:
  13975. ;;
  13976. *)
  13977. ac_option=$1
  13978. ac_optarg=$2
  13979. ac_shift=shift
  13980. ;;
  13981. esac
  13982. case $ac_option in
  13983. # Handling of the options.
  13984. -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  13985. ac_cs_recheck=: ;;
  13986. --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
  13987. $as_echo "$ac_cs_version"; exit ;;
  13988. --debug | --debu | --deb | --de | --d | -d )
  13989. debug=: ;;
  13990. --file | --fil | --fi | --f )
  13991. $ac_shift
  13992. case $ac_optarg in
  13993. *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  13994. esac
  13995. as_fn_append CONFIG_FILES " '$ac_optarg'"
  13996. ac_need_defaults=false;;
  13997. --he | --h | --help | --hel | -h )
  13998. $as_echo "$ac_cs_usage"; exit ;;
  13999. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  14000. | -silent | --silent | --silen | --sile | --sil | --si | --s)
  14001. ac_cs_silent=: ;;
  14002. # This is an error.
  14003. -*) as_fn_error "unrecognized option: \`$1'
  14004. Try \`$0 --help' for more information." ;;
  14005. *) as_fn_append ac_config_targets " $1"
  14006. ac_need_defaults=false ;;
  14007. esac
  14008. shift
  14009. done
  14010. ac_configure_extra_args=
  14011. if $ac_cs_silent; then
  14012. exec 6>/dev/null
  14013. ac_configure_extra_args="$ac_configure_extra_args --silent"
  14014. fi
  14015. _ACEOF
  14016. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  14017. if \$ac_cs_recheck; then
  14018. set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
  14019. shift
  14020. \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
  14021. CONFIG_SHELL='$SHELL'
  14022. export CONFIG_SHELL
  14023. exec "\$@"
  14024. fi
  14025. _ACEOF
  14026. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  14027. exec 5>>config.log
  14028. {
  14029. echo
  14030. sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
  14031. ## Running $as_me. ##
  14032. _ASBOX
  14033. $as_echo "$ac_log"
  14034. } >&5
  14035. _ACEOF
  14036. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  14037. #
  14038. # INIT-COMMANDS
  14039. #
  14040. srcdir="$srcdir"
  14041. host="$host"
  14042. target="$target"
  14043. with_multisubdir="$with_multisubdir"
  14044. with_multisrctop="$with_multisrctop"
  14045. with_target_subdir="$with_target_subdir"
  14046. ac_configure_args="${multilib_arg} ${ac_configure_args}"
  14047. multi_basedir="$multi_basedir"
  14048. CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
  14049. CC="$CC"
  14050. CXX="$CXX"
  14051. GFORTRAN="$GFORTRAN"
  14052. GCJ="$GCJ"
  14053. AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
  14054. # The HP-UX ksh and POSIX shell print the target directory to stdout
  14055. # if CDPATH is set.
  14056. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  14057. sed_quote_subst='$sed_quote_subst'
  14058. double_quote_subst='$double_quote_subst'
  14059. delay_variable_subst='$delay_variable_subst'
  14060. macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
  14061. macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
  14062. enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
  14063. enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
  14064. pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
  14065. enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
  14066. SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
  14067. ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
  14068. host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
  14069. host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
  14070. host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
  14071. build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
  14072. build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
  14073. build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
  14074. SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
  14075. Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
  14076. GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
  14077. EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
  14078. FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
  14079. LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
  14080. NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
  14081. LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
  14082. max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
  14083. ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
  14084. exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
  14085. lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
  14086. lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
  14087. lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
  14088. reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
  14089. reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
  14090. OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
  14091. deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
  14092. file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
  14093. AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
  14094. AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
  14095. STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
  14096. RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
  14097. old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
  14098. old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
  14099. old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
  14100. lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
  14101. CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
  14102. CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
  14103. compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
  14104. GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
  14105. lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
  14106. lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
  14107. lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
  14108. 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"`'
  14109. objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
  14110. MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
  14111. lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
  14112. lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
  14113. lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
  14114. lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
  14115. lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
  14116. need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
  14117. DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
  14118. NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
  14119. LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
  14120. OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
  14121. OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
  14122. libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
  14123. shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
  14124. extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
  14125. archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
  14126. enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
  14127. export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
  14128. whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
  14129. compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
  14130. old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
  14131. old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
  14132. archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
  14133. archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
  14134. module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
  14135. module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
  14136. with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
  14137. allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
  14138. no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
  14139. hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
  14140. hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
  14141. hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
  14142. hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
  14143. hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
  14144. hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
  14145. hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
  14146. hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
  14147. inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
  14148. link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
  14149. fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
  14150. always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
  14151. export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
  14152. exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
  14153. include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
  14154. prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
  14155. file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
  14156. variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
  14157. need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
  14158. need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
  14159. version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
  14160. runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
  14161. shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
  14162. shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
  14163. libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
  14164. library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
  14165. soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
  14166. install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
  14167. postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
  14168. postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
  14169. finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
  14170. finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
  14171. hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
  14172. sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
  14173. sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
  14174. hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
  14175. enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
  14176. enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
  14177. enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
  14178. old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
  14179. striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
  14180. compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
  14181. predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
  14182. postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
  14183. predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
  14184. postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
  14185. compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
  14186. LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
  14187. reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
  14188. reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
  14189. old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
  14190. compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
  14191. GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
  14192. lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
  14193. lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
  14194. lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
  14195. lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
  14196. lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
  14197. archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
  14198. enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
  14199. export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
  14200. whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
  14201. compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
  14202. old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
  14203. old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
  14204. archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
  14205. archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
  14206. module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
  14207. module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
  14208. with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
  14209. allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
  14210. no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
  14211. hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
  14212. hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
  14213. hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
  14214. hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
  14215. hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
  14216. hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
  14217. hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
  14218. hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
  14219. inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
  14220. link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
  14221. fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
  14222. always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
  14223. export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
  14224. exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
  14225. include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
  14226. prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
  14227. file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
  14228. hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
  14229. compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
  14230. predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
  14231. postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
  14232. predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
  14233. postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
  14234. compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
  14235. LTCC='$LTCC'
  14236. LTCFLAGS='$LTCFLAGS'
  14237. compiler='$compiler_DEFAULT'
  14238. # A function that is used when there is no print builtin or printf.
  14239. func_fallback_echo ()
  14240. {
  14241. eval 'cat <<_LTECHO_EOF
  14242. \$1
  14243. _LTECHO_EOF'
  14244. }
  14245. # Quote evaled strings.
  14246. for var in SHELL \
  14247. ECHO \
  14248. SED \
  14249. GREP \
  14250. EGREP \
  14251. FGREP \
  14252. LD \
  14253. NM \
  14254. LN_S \
  14255. lt_SP2NL \
  14256. lt_NL2SP \
  14257. reload_flag \
  14258. OBJDUMP \
  14259. deplibs_check_method \
  14260. file_magic_cmd \
  14261. AR \
  14262. AR_FLAGS \
  14263. STRIP \
  14264. RANLIB \
  14265. CC \
  14266. CFLAGS \
  14267. compiler \
  14268. lt_cv_sys_global_symbol_pipe \
  14269. lt_cv_sys_global_symbol_to_cdecl \
  14270. lt_cv_sys_global_symbol_to_c_name_address \
  14271. lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
  14272. lt_prog_compiler_no_builtin_flag \
  14273. lt_prog_compiler_wl \
  14274. lt_prog_compiler_pic \
  14275. lt_prog_compiler_static \
  14276. lt_cv_prog_compiler_c_o \
  14277. need_locks \
  14278. DSYMUTIL \
  14279. NMEDIT \
  14280. LIPO \
  14281. OTOOL \
  14282. OTOOL64 \
  14283. shrext_cmds \
  14284. export_dynamic_flag_spec \
  14285. whole_archive_flag_spec \
  14286. compiler_needs_object \
  14287. with_gnu_ld \
  14288. allow_undefined_flag \
  14289. no_undefined_flag \
  14290. hardcode_libdir_flag_spec \
  14291. hardcode_libdir_flag_spec_ld \
  14292. hardcode_libdir_separator \
  14293. fix_srcfile_path \
  14294. exclude_expsyms \
  14295. include_expsyms \
  14296. file_list_spec \
  14297. variables_saved_for_relink \
  14298. libname_spec \
  14299. library_names_spec \
  14300. soname_spec \
  14301. install_override_mode \
  14302. finish_eval \
  14303. old_striplib \
  14304. striplib \
  14305. compiler_lib_search_dirs \
  14306. predep_objects \
  14307. postdep_objects \
  14308. predeps \
  14309. postdeps \
  14310. compiler_lib_search_path \
  14311. LD_CXX \
  14312. reload_flag_CXX \
  14313. compiler_CXX \
  14314. lt_prog_compiler_no_builtin_flag_CXX \
  14315. lt_prog_compiler_wl_CXX \
  14316. lt_prog_compiler_pic_CXX \
  14317. lt_prog_compiler_static_CXX \
  14318. lt_cv_prog_compiler_c_o_CXX \
  14319. export_dynamic_flag_spec_CXX \
  14320. whole_archive_flag_spec_CXX \
  14321. compiler_needs_object_CXX \
  14322. with_gnu_ld_CXX \
  14323. allow_undefined_flag_CXX \
  14324. no_undefined_flag_CXX \
  14325. hardcode_libdir_flag_spec_CXX \
  14326. hardcode_libdir_flag_spec_ld_CXX \
  14327. hardcode_libdir_separator_CXX \
  14328. fix_srcfile_path_CXX \
  14329. exclude_expsyms_CXX \
  14330. include_expsyms_CXX \
  14331. file_list_spec_CXX \
  14332. compiler_lib_search_dirs_CXX \
  14333. predep_objects_CXX \
  14334. postdep_objects_CXX \
  14335. predeps_CXX \
  14336. postdeps_CXX \
  14337. compiler_lib_search_path_CXX; do
  14338. case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
  14339. *[\\\\\\\`\\"\\\$]*)
  14340. eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
  14341. ;;
  14342. *)
  14343. eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
  14344. ;;
  14345. esac
  14346. done
  14347. # Double-quote double-evaled strings.
  14348. for var in reload_cmds \
  14349. old_postinstall_cmds \
  14350. old_postuninstall_cmds \
  14351. old_archive_cmds \
  14352. extract_expsyms_cmds \
  14353. old_archive_from_new_cmds \
  14354. old_archive_from_expsyms_cmds \
  14355. archive_cmds \
  14356. archive_expsym_cmds \
  14357. module_cmds \
  14358. module_expsym_cmds \
  14359. export_symbols_cmds \
  14360. prelink_cmds \
  14361. postinstall_cmds \
  14362. postuninstall_cmds \
  14363. finish_cmds \
  14364. sys_lib_search_path_spec \
  14365. sys_lib_dlsearch_path_spec \
  14366. reload_cmds_CXX \
  14367. old_archive_cmds_CXX \
  14368. old_archive_from_new_cmds_CXX \
  14369. old_archive_from_expsyms_cmds_CXX \
  14370. archive_cmds_CXX \
  14371. archive_expsym_cmds_CXX \
  14372. module_cmds_CXX \
  14373. module_expsym_cmds_CXX \
  14374. export_symbols_cmds_CXX \
  14375. prelink_cmds_CXX; do
  14376. case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
  14377. *[\\\\\\\`\\"\\\$]*)
  14378. eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
  14379. ;;
  14380. *)
  14381. eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
  14382. ;;
  14383. esac
  14384. done
  14385. ac_aux_dir='$ac_aux_dir'
  14386. xsi_shell='$xsi_shell'
  14387. lt_shell_append='$lt_shell_append'
  14388. # See if we are running on zsh, and set the options which allow our
  14389. # commands through without removal of \ escapes INIT.
  14390. if test -n "\${ZSH_VERSION+set}" ; then
  14391. setopt NO_GLOB_SUBST
  14392. fi
  14393. PACKAGE='$PACKAGE'
  14394. VERSION='$VERSION'
  14395. TIMESTAMP='$TIMESTAMP'
  14396. RM='$RM'
  14397. ofile='$ofile'
  14398. _ACEOF
  14399. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  14400. # Handling of arguments.
  14401. for ac_config_target in $ac_config_targets
  14402. do
  14403. case $ac_config_target in
  14404. "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
  14405. "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
  14406. "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
  14407. "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
  14408. "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
  14409. *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
  14410. esac
  14411. done
  14412. # If the user did not use the arguments to specify the items to instantiate,
  14413. # then the envvar interface is used. Set only those that are not.
  14414. # We use the long form for the default assignment because of an extremely
  14415. # bizarre bug on SunOS 4.1.3.
  14416. if $ac_need_defaults; then
  14417. test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
  14418. test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
  14419. fi
  14420. # Have a temporary directory for convenience. Make it in the build tree
  14421. # simply because there is no reason against having it here, and in addition,
  14422. # creating and moving files from /tmp can sometimes cause problems.
  14423. # Hook for its removal unless debugging.
  14424. # Note that there is a small window in which the directory will not be cleaned:
  14425. # after its creation but before its name has been assigned to `$tmp'.
  14426. $debug ||
  14427. {
  14428. tmp=
  14429. trap 'exit_status=$?
  14430. { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
  14431. ' 0
  14432. trap 'as_fn_exit 1' 1 2 13 15
  14433. }
  14434. # Create a (secure) tmp directory for tmp files.
  14435. {
  14436. tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
  14437. test -n "$tmp" && test -d "$tmp"
  14438. } ||
  14439. {
  14440. tmp=./conf$$-$RANDOM
  14441. (umask 077 && mkdir "$tmp")
  14442. } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
  14443. # Set up the scripts for CONFIG_FILES section.
  14444. # No need to generate them if there are no CONFIG_FILES.
  14445. # This happens for instance with `./config.status config.h'.
  14446. if test -n "$CONFIG_FILES"; then
  14447. ac_cr=`echo X | tr X '\015'`
  14448. # On cygwin, bash can eat \r inside `` if the user requested igncr.
  14449. # But we know of no other shell where ac_cr would be empty at this
  14450. # point, so we can use a bashism as a fallback.
  14451. if test "x$ac_cr" = x; then
  14452. eval ac_cr=\$\'\\r\'
  14453. fi
  14454. ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
  14455. if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
  14456. ac_cs_awk_cr='\r'
  14457. else
  14458. ac_cs_awk_cr=$ac_cr
  14459. fi
  14460. echo 'BEGIN {' >"$tmp/subs1.awk" &&
  14461. _ACEOF
  14462. {
  14463. echo "cat >conf$$subs.awk <<_ACEOF" &&
  14464. echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
  14465. echo "_ACEOF"
  14466. } >conf$$subs.sh ||
  14467. as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
  14468. ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
  14469. ac_delim='%!_!# '
  14470. for ac_last_try in false false false false false :; do
  14471. . ./conf$$subs.sh ||
  14472. as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
  14473. ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
  14474. if test $ac_delim_n = $ac_delim_num; then
  14475. break
  14476. elif $ac_last_try; then
  14477. as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
  14478. else
  14479. ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  14480. fi
  14481. done
  14482. rm -f conf$$subs.sh
  14483. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  14484. cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
  14485. _ACEOF
  14486. sed -n '
  14487. h
  14488. s/^/S["/; s/!.*/"]=/
  14489. p
  14490. g
  14491. s/^[^!]*!//
  14492. :repl
  14493. t repl
  14494. s/'"$ac_delim"'$//
  14495. t delim
  14496. :nl
  14497. h
  14498. s/\(.\{148\}\).*/\1/
  14499. t more1
  14500. s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
  14501. p
  14502. n
  14503. b repl
  14504. :more1
  14505. s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  14506. p
  14507. g
  14508. s/.\{148\}//
  14509. t nl
  14510. :delim
  14511. h
  14512. s/\(.\{148\}\).*/\1/
  14513. t more2
  14514. s/["\\]/\\&/g; s/^/"/; s/$/"/
  14515. p
  14516. b
  14517. :more2
  14518. s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  14519. p
  14520. g
  14521. s/.\{148\}//
  14522. t delim
  14523. ' <conf$$subs.awk | sed '
  14524. /^[^""]/{
  14525. N
  14526. s/\n//
  14527. }
  14528. ' >>$CONFIG_STATUS || ac_write_fail=1
  14529. rm -f conf$$subs.awk
  14530. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  14531. _ACAWK
  14532. cat >>"\$tmp/subs1.awk" <<_ACAWK &&
  14533. for (key in S) S_is_set[key] = 1
  14534. FS = ""
  14535. }
  14536. {
  14537. line = $ 0
  14538. nfields = split(line, field, "@")
  14539. substed = 0
  14540. len = length(field[1])
  14541. for (i = 2; i < nfields; i++) {
  14542. key = field[i]
  14543. keylen = length(key)
  14544. if (S_is_set[key]) {
  14545. value = S[key]
  14546. line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
  14547. len += length(value) + length(field[++i])
  14548. substed = 1
  14549. } else
  14550. len += 1 + keylen
  14551. }
  14552. print line
  14553. }
  14554. _ACAWK
  14555. _ACEOF
  14556. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  14557. if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
  14558. sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
  14559. else
  14560. cat
  14561. fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
  14562. || as_fn_error "could not setup config files machinery" "$LINENO" 5
  14563. _ACEOF
  14564. # VPATH may cause trouble with some makes, so we remove $(srcdir),
  14565. # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
  14566. # trailing colons and then remove the whole line if VPATH becomes empty
  14567. # (actually we leave an empty line to preserve line numbers).
  14568. if test "x$srcdir" = x.; then
  14569. ac_vpsub='/^[ ]*VPATH[ ]*=/{
  14570. s/:*\$(srcdir):*/:/
  14571. s/:*\${srcdir}:*/:/
  14572. s/:*@srcdir@:*/:/
  14573. s/^\([^=]*=[ ]*\):*/\1/
  14574. s/:*$//
  14575. s/^[^=]*=[ ]*$//
  14576. }'
  14577. fi
  14578. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  14579. fi # test -n "$CONFIG_FILES"
  14580. eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
  14581. shift
  14582. for ac_tag
  14583. do
  14584. case $ac_tag in
  14585. :[FHLC]) ac_mode=$ac_tag; continue;;
  14586. esac
  14587. case $ac_mode$ac_tag in
  14588. :[FHL]*:*);;
  14589. :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
  14590. :[FH]-) ac_tag=-:-;;
  14591. :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
  14592. esac
  14593. ac_save_IFS=$IFS
  14594. IFS=:
  14595. set x $ac_tag
  14596. IFS=$ac_save_IFS
  14597. shift
  14598. ac_file=$1
  14599. shift
  14600. case $ac_mode in
  14601. :L) ac_source=$1;;
  14602. :[FH])
  14603. ac_file_inputs=
  14604. for ac_f
  14605. do
  14606. case $ac_f in
  14607. -) ac_f="$tmp/stdin";;
  14608. *) # Look for the file first in the build tree, then in the source tree
  14609. # (if the path is not absolute). The absolute path cannot be DOS-style,
  14610. # because $ac_f cannot contain `:'.
  14611. test -f "$ac_f" ||
  14612. case $ac_f in
  14613. [\\/$]*) false;;
  14614. *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
  14615. esac ||
  14616. as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
  14617. esac
  14618. case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
  14619. as_fn_append ac_file_inputs " '$ac_f'"
  14620. done
  14621. # Let's still pretend it is `configure' which instantiates (i.e., don't
  14622. # use $as_me), people would be surprised to read:
  14623. # /* config.h. Generated by config.status. */
  14624. configure_input='Generated from '`
  14625. $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
  14626. `' by configure.'
  14627. if test x"$ac_file" != x-; then
  14628. configure_input="$ac_file. $configure_input"
  14629. { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
  14630. $as_echo "$as_me: creating $ac_file" >&6;}
  14631. fi
  14632. # Neutralize special characters interpreted by sed in replacement strings.
  14633. case $configure_input in #(
  14634. *\&* | *\|* | *\\* )
  14635. ac_sed_conf_input=`$as_echo "$configure_input" |
  14636. sed 's/[\\\\&|]/\\\\&/g'`;; #(
  14637. *) ac_sed_conf_input=$configure_input;;
  14638. esac
  14639. case $ac_tag in
  14640. *:-:* | *:-) cat >"$tmp/stdin" \
  14641. || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
  14642. esac
  14643. ;;
  14644. esac
  14645. ac_dir=`$as_dirname -- "$ac_file" ||
  14646. $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  14647. X"$ac_file" : 'X\(//\)[^/]' \| \
  14648. X"$ac_file" : 'X\(//\)$' \| \
  14649. X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
  14650. $as_echo X"$ac_file" |
  14651. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  14652. s//\1/
  14653. q
  14654. }
  14655. /^X\(\/\/\)[^/].*/{
  14656. s//\1/
  14657. q
  14658. }
  14659. /^X\(\/\/\)$/{
  14660. s//\1/
  14661. q
  14662. }
  14663. /^X\(\/\).*/{
  14664. s//\1/
  14665. q
  14666. }
  14667. s/.*/./; q'`
  14668. as_dir="$ac_dir"; as_fn_mkdir_p
  14669. ac_builddir=.
  14670. case "$ac_dir" in
  14671. .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  14672. *)
  14673. ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  14674. # A ".." for each directory in $ac_dir_suffix.
  14675. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  14676. case $ac_top_builddir_sub in
  14677. "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  14678. *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  14679. esac ;;
  14680. esac
  14681. ac_abs_top_builddir=$ac_pwd
  14682. ac_abs_builddir=$ac_pwd$ac_dir_suffix
  14683. # for backward compatibility:
  14684. ac_top_builddir=$ac_top_build_prefix
  14685. case $srcdir in
  14686. .) # We are building in place.
  14687. ac_srcdir=.
  14688. ac_top_srcdir=$ac_top_builddir_sub
  14689. ac_abs_top_srcdir=$ac_pwd ;;
  14690. [\\/]* | ?:[\\/]* ) # Absolute name.
  14691. ac_srcdir=$srcdir$ac_dir_suffix;
  14692. ac_top_srcdir=$srcdir
  14693. ac_abs_top_srcdir=$srcdir ;;
  14694. *) # Relative name.
  14695. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  14696. ac_top_srcdir=$ac_top_build_prefix$srcdir
  14697. ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  14698. esac
  14699. ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  14700. case $ac_mode in
  14701. :F)
  14702. #
  14703. # CONFIG_FILE
  14704. #
  14705. case $INSTALL in
  14706. [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
  14707. *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
  14708. esac
  14709. ac_MKDIR_P=$MKDIR_P
  14710. case $MKDIR_P in
  14711. [\\/$]* | ?:[\\/]* ) ;;
  14712. */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
  14713. esac
  14714. _ACEOF
  14715. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  14716. # If the template does not know about datarootdir, expand it.
  14717. # FIXME: This hack should be removed a few years after 2.60.
  14718. ac_datarootdir_hack=; ac_datarootdir_seen=
  14719. ac_sed_dataroot='
  14720. /datarootdir/ {
  14721. p
  14722. q
  14723. }
  14724. /@datadir@/p
  14725. /@docdir@/p
  14726. /@infodir@/p
  14727. /@localedir@/p
  14728. /@mandir@/p'
  14729. case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
  14730. *datarootdir*) ac_datarootdir_seen=yes;;
  14731. *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
  14732. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
  14733. $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
  14734. _ACEOF
  14735. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  14736. ac_datarootdir_hack='
  14737. s&@datadir@&$datadir&g
  14738. s&@docdir@&$docdir&g
  14739. s&@infodir@&$infodir&g
  14740. s&@localedir@&$localedir&g
  14741. s&@mandir@&$mandir&g
  14742. s&\\\${datarootdir}&$datarootdir&g' ;;
  14743. esac
  14744. _ACEOF
  14745. # Neutralize VPATH when `$srcdir' = `.'.
  14746. # Shell code in configure.ac might set extrasub.
  14747. # FIXME: do we really want to maintain this feature?
  14748. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  14749. ac_sed_extra="$ac_vpsub
  14750. $extrasub
  14751. _ACEOF
  14752. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  14753. :t
  14754. /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
  14755. s|@configure_input@|$ac_sed_conf_input|;t t
  14756. s&@top_builddir@&$ac_top_builddir_sub&;t t
  14757. s&@top_build_prefix@&$ac_top_build_prefix&;t t
  14758. s&@srcdir@&$ac_srcdir&;t t
  14759. s&@abs_srcdir@&$ac_abs_srcdir&;t t
  14760. s&@top_srcdir@&$ac_top_srcdir&;t t
  14761. s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
  14762. s&@builddir@&$ac_builddir&;t t
  14763. s&@abs_builddir@&$ac_abs_builddir&;t t
  14764. s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
  14765. s&@INSTALL@&$ac_INSTALL&;t t
  14766. s&@MKDIR_P@&$ac_MKDIR_P&;t t
  14767. $ac_datarootdir_hack
  14768. "
  14769. eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
  14770. || as_fn_error "could not create $ac_file" "$LINENO" 5
  14771. test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
  14772. { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
  14773. { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
  14774. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  14775. which seems to be undefined. Please make sure it is defined." >&5
  14776. $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  14777. which seems to be undefined. Please make sure it is defined." >&2;}
  14778. rm -f "$tmp/stdin"
  14779. case $ac_file in
  14780. -) cat "$tmp/out" && rm -f "$tmp/out";;
  14781. *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
  14782. esac \
  14783. || as_fn_error "could not create $ac_file" "$LINENO" 5
  14784. ;;
  14785. :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
  14786. $as_echo "$as_me: executing $ac_file commands" >&6;}
  14787. ;;
  14788. esac
  14789. case $ac_file$ac_mode in
  14790. "default-1":C)
  14791. # Only add multilib support code if we just rebuilt the top-level
  14792. # Makefile.
  14793. case " $CONFIG_FILES " in
  14794. *" Makefile "*)
  14795. ac_file=Makefile . ${multi_basedir}/config-ml.in
  14796. ;;
  14797. esac ;;
  14798. "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
  14799. # Autoconf 2.62 quotes --file arguments for eval, but not when files
  14800. # are listed without --file. Let's play safe and only enable the eval
  14801. # if we detect the quoting.
  14802. case $CONFIG_FILES in
  14803. *\'*) eval set x "$CONFIG_FILES" ;;
  14804. *) set x $CONFIG_FILES ;;
  14805. esac
  14806. shift
  14807. for mf
  14808. do
  14809. # Strip MF so we end up with the name of the file.
  14810. mf=`echo "$mf" | sed -e 's/:.*$//'`
  14811. # Check whether this is an Automake generated Makefile or not.
  14812. # We used to match only the files named `Makefile.in', but
  14813. # some people rename them; so instead we look at the file content.
  14814. # Grep'ing the first line is not enough: some people post-process
  14815. # each Makefile.in and add a new line on top of each file to say so.
  14816. # Grep'ing the whole file is not good either: AIX grep has a line
  14817. # limit of 2048, but all sed's we know have understand at least 4000.
  14818. if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
  14819. dirpart=`$as_dirname -- "$mf" ||
  14820. $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  14821. X"$mf" : 'X\(//\)[^/]' \| \
  14822. X"$mf" : 'X\(//\)$' \| \
  14823. X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
  14824. $as_echo X"$mf" |
  14825. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  14826. s//\1/
  14827. q
  14828. }
  14829. /^X\(\/\/\)[^/].*/{
  14830. s//\1/
  14831. q
  14832. }
  14833. /^X\(\/\/\)$/{
  14834. s//\1/
  14835. q
  14836. }
  14837. /^X\(\/\).*/{
  14838. s//\1/
  14839. q
  14840. }
  14841. s/.*/./; q'`
  14842. else
  14843. continue
  14844. fi
  14845. # Extract the definition of DEPDIR, am__include, and am__quote
  14846. # from the Makefile without running `make'.
  14847. DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
  14848. test -z "$DEPDIR" && continue
  14849. am__include=`sed -n 's/^am__include = //p' < "$mf"`
  14850. test -z "am__include" && continue
  14851. am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
  14852. # When using ansi2knr, U may be empty or an underscore; expand it
  14853. U=`sed -n 's/^U = //p' < "$mf"`
  14854. # Find all dependency output files, they are included files with
  14855. # $(DEPDIR) in their names. We invoke sed twice because it is the
  14856. # simplest approach to changing $(DEPDIR) to its actual value in the
  14857. # expansion.
  14858. for file in `sed -n "
  14859. s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
  14860. sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
  14861. # Make sure the directory exists.
  14862. test -f "$dirpart/$file" && continue
  14863. fdir=`$as_dirname -- "$file" ||
  14864. $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  14865. X"$file" : 'X\(//\)[^/]' \| \
  14866. X"$file" : 'X\(//\)$' \| \
  14867. X"$file" : 'X\(/\)' \| . 2>/dev/null ||
  14868. $as_echo X"$file" |
  14869. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  14870. s//\1/
  14871. q
  14872. }
  14873. /^X\(\/\/\)[^/].*/{
  14874. s//\1/
  14875. q
  14876. }
  14877. /^X\(\/\/\)$/{
  14878. s//\1/
  14879. q
  14880. }
  14881. /^X\(\/\).*/{
  14882. s//\1/
  14883. q
  14884. }
  14885. s/.*/./; q'`
  14886. as_dir=$dirpart/$fdir; as_fn_mkdir_p
  14887. # echo "creating $dirpart/$file"
  14888. echo '# dummy' > "$dirpart/$file"
  14889. done
  14890. done
  14891. }
  14892. ;;
  14893. "libtool":C)
  14894. # See if we are running on zsh, and set the options which allow our
  14895. # commands through without removal of \ escapes.
  14896. if test -n "${ZSH_VERSION+set}" ; then
  14897. setopt NO_GLOB_SUBST
  14898. fi
  14899. cfgfile="${ofile}T"
  14900. trap "$RM \"$cfgfile\"; exit 1" 1 2 15
  14901. $RM "$cfgfile"
  14902. cat <<_LT_EOF >> "$cfgfile"
  14903. #! $SHELL
  14904. # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
  14905. # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
  14906. # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
  14907. # NOTE: Changes made to this file will be lost: look at ltmain.sh.
  14908. #
  14909. # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
  14910. # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
  14911. # Written by Gordon Matzigkeit, 1996
  14912. #
  14913. # This file is part of GNU Libtool.
  14914. #
  14915. # GNU Libtool is free software; you can redistribute it and/or
  14916. # modify it under the terms of the GNU General Public License as
  14917. # published by the Free Software Foundation; either version 2 of
  14918. # the License, or (at your option) any later version.
  14919. #
  14920. # As a special exception to the GNU General Public License,
  14921. # if you distribute this file as part of a program or library that
  14922. # is built using GNU Libtool, you may include this file under the
  14923. # same distribution terms that you use for the rest of that program.
  14924. #
  14925. # GNU Libtool is distributed in the hope that it will be useful,
  14926. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  14927. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  14928. # GNU General Public License for more details.
  14929. #
  14930. # You should have received a copy of the GNU General Public License
  14931. # along with GNU Libtool; see the file COPYING. If not, a copy
  14932. # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
  14933. # obtained by writing to the Free Software Foundation, Inc.,
  14934. # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  14935. # The names of the tagged configurations supported by this script.
  14936. available_tags="CXX "
  14937. # ### BEGIN LIBTOOL CONFIG
  14938. # Which release of libtool.m4 was used?
  14939. macro_version=$macro_version
  14940. macro_revision=$macro_revision
  14941. # Whether or not to build shared libraries.
  14942. build_libtool_libs=$enable_shared
  14943. # Whether or not to build static libraries.
  14944. build_old_libs=$enable_static
  14945. # What type of objects to build.
  14946. pic_mode=$pic_mode
  14947. # Whether or not to optimize for fast installation.
  14948. fast_install=$enable_fast_install
  14949. # Shell to use when invoking shell scripts.
  14950. SHELL=$lt_SHELL
  14951. # An echo program that protects backslashes.
  14952. ECHO=$lt_ECHO
  14953. # The host system.
  14954. host_alias=$host_alias
  14955. host=$host
  14956. host_os=$host_os
  14957. # The build system.
  14958. build_alias=$build_alias
  14959. build=$build
  14960. build_os=$build_os
  14961. # A sed program that does not truncate output.
  14962. SED=$lt_SED
  14963. # Sed that helps us avoid accidentally triggering echo(1) options like -n.
  14964. Xsed="\$SED -e 1s/^X//"
  14965. # A grep program that handles long lines.
  14966. GREP=$lt_GREP
  14967. # An ERE matcher.
  14968. EGREP=$lt_EGREP
  14969. # A literal string matcher.
  14970. FGREP=$lt_FGREP
  14971. # A BSD- or MS-compatible name lister.
  14972. NM=$lt_NM
  14973. # Whether we need soft or hard links.
  14974. LN_S=$lt_LN_S
  14975. # What is the maximum length of a command?
  14976. max_cmd_len=$max_cmd_len
  14977. # Object file suffix (normally "o").
  14978. objext=$ac_objext
  14979. # Executable file suffix (normally "").
  14980. exeext=$exeext
  14981. # whether the shell understands "unset".
  14982. lt_unset=$lt_unset
  14983. # turn spaces into newlines.
  14984. SP2NL=$lt_lt_SP2NL
  14985. # turn newlines into spaces.
  14986. NL2SP=$lt_lt_NL2SP
  14987. # An object symbol dumper.
  14988. OBJDUMP=$lt_OBJDUMP
  14989. # Method to check whether dependent libraries are shared objects.
  14990. deplibs_check_method=$lt_deplibs_check_method
  14991. # Command to use when deplibs_check_method == "file_magic".
  14992. file_magic_cmd=$lt_file_magic_cmd
  14993. # The archiver.
  14994. AR=$lt_AR
  14995. AR_FLAGS=$lt_AR_FLAGS
  14996. # A symbol stripping program.
  14997. STRIP=$lt_STRIP
  14998. # Commands used to install an old-style archive.
  14999. RANLIB=$lt_RANLIB
  15000. old_postinstall_cmds=$lt_old_postinstall_cmds
  15001. old_postuninstall_cmds=$lt_old_postuninstall_cmds
  15002. # Whether to use a lock for old archive extraction.
  15003. lock_old_archive_extraction=$lock_old_archive_extraction
  15004. # A C compiler.
  15005. LTCC=$lt_CC
  15006. # LTCC compiler flags.
  15007. LTCFLAGS=$lt_CFLAGS
  15008. # Take the output of nm and produce a listing of raw symbols and C names.
  15009. global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
  15010. # Transform the output of nm in a proper C declaration.
  15011. global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
  15012. # Transform the output of nm in a C name address pair.
  15013. global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
  15014. # Transform the output of nm in a C name address pair when lib prefix is needed.
  15015. global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
  15016. # The name of the directory that contains temporary libtool files.
  15017. objdir=$objdir
  15018. # Used to examine libraries when file_magic_cmd begins with "file".
  15019. MAGIC_CMD=$MAGIC_CMD
  15020. # Must we lock files when doing compilation?
  15021. need_locks=$lt_need_locks
  15022. # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
  15023. DSYMUTIL=$lt_DSYMUTIL
  15024. # Tool to change global to local symbols on Mac OS X.
  15025. NMEDIT=$lt_NMEDIT
  15026. # Tool to manipulate fat objects and archives on Mac OS X.
  15027. LIPO=$lt_LIPO
  15028. # ldd/readelf like tool for Mach-O binaries on Mac OS X.
  15029. OTOOL=$lt_OTOOL
  15030. # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
  15031. OTOOL64=$lt_OTOOL64
  15032. # Old archive suffix (normally "a").
  15033. libext=$libext
  15034. # Shared library suffix (normally ".so").
  15035. shrext_cmds=$lt_shrext_cmds
  15036. # The commands to extract the exported symbol list from a shared archive.
  15037. extract_expsyms_cmds=$lt_extract_expsyms_cmds
  15038. # Variables whose values should be saved in libtool wrapper scripts and
  15039. # restored at link time.
  15040. variables_saved_for_relink=$lt_variables_saved_for_relink
  15041. # Do we need the "lib" prefix for modules?
  15042. need_lib_prefix=$need_lib_prefix
  15043. # Do we need a version for libraries?
  15044. need_version=$need_version
  15045. # Library versioning type.
  15046. version_type=$version_type
  15047. # Shared library runtime path variable.
  15048. runpath_var=$runpath_var
  15049. # Shared library path variable.
  15050. shlibpath_var=$shlibpath_var
  15051. # Is shlibpath searched before the hard-coded library search path?
  15052. shlibpath_overrides_runpath=$shlibpath_overrides_runpath
  15053. # Format of library name prefix.
  15054. libname_spec=$lt_libname_spec
  15055. # List of archive names. First name is the real one, the rest are links.
  15056. # The last name is the one that the linker finds with -lNAME
  15057. library_names_spec=$lt_library_names_spec
  15058. # The coded name of the library, if different from the real name.
  15059. soname_spec=$lt_soname_spec
  15060. # Permission mode override for installation of shared libraries.
  15061. install_override_mode=$lt_install_override_mode
  15062. # Command to use after installation of a shared archive.
  15063. postinstall_cmds=$lt_postinstall_cmds
  15064. # Command to use after uninstallation of a shared archive.
  15065. postuninstall_cmds=$lt_postuninstall_cmds
  15066. # Commands used to finish a libtool library installation in a directory.
  15067. finish_cmds=$lt_finish_cmds
  15068. # As "finish_cmds", except a single script fragment to be evaled but
  15069. # not shown.
  15070. finish_eval=$lt_finish_eval
  15071. # Whether we should hardcode library paths into libraries.
  15072. hardcode_into_libs=$hardcode_into_libs
  15073. # Compile-time system search path for libraries.
  15074. sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
  15075. # Run-time system search path for libraries.
  15076. sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
  15077. # Whether dlopen is supported.
  15078. dlopen_support=$enable_dlopen
  15079. # Whether dlopen of programs is supported.
  15080. dlopen_self=$enable_dlopen_self
  15081. # Whether dlopen of statically linked programs is supported.
  15082. dlopen_self_static=$enable_dlopen_self_static
  15083. # Commands to strip libraries.
  15084. old_striplib=$lt_old_striplib
  15085. striplib=$lt_striplib
  15086. # The linker used to build libraries.
  15087. LD=$lt_LD
  15088. # How to create reloadable object files.
  15089. reload_flag=$lt_reload_flag
  15090. reload_cmds=$lt_reload_cmds
  15091. # Commands used to build an old-style archive.
  15092. old_archive_cmds=$lt_old_archive_cmds
  15093. # A language specific compiler.
  15094. CC=$lt_compiler
  15095. # Is the compiler the GNU compiler?
  15096. with_gcc=$GCC
  15097. # Compiler flag to turn off builtin functions.
  15098. no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
  15099. # How to pass a linker flag through the compiler.
  15100. wl=$lt_lt_prog_compiler_wl
  15101. # Additional compiler flags for building library objects.
  15102. pic_flag=$lt_lt_prog_compiler_pic
  15103. # Compiler flag to prevent dynamic linking.
  15104. link_static_flag=$lt_lt_prog_compiler_static
  15105. # Does compiler simultaneously support -c and -o options?
  15106. compiler_c_o=$lt_lt_cv_prog_compiler_c_o
  15107. # Whether or not to add -lc for building shared libraries.
  15108. build_libtool_need_lc=$archive_cmds_need_lc
  15109. # Whether or not to disallow shared libs when runtime libs are static.
  15110. allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
  15111. # Compiler flag to allow reflexive dlopens.
  15112. export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
  15113. # Compiler flag to generate shared objects directly from archives.
  15114. whole_archive_flag_spec=$lt_whole_archive_flag_spec
  15115. # Whether the compiler copes with passing no objects directly.
  15116. compiler_needs_object=$lt_compiler_needs_object
  15117. # Create an old-style archive from a shared archive.
  15118. old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
  15119. # Create a temporary old-style archive to link instead of a shared archive.
  15120. old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
  15121. # Commands used to build a shared archive.
  15122. archive_cmds=$lt_archive_cmds
  15123. archive_expsym_cmds=$lt_archive_expsym_cmds
  15124. # Commands used to build a loadable module if different from building
  15125. # a shared archive.
  15126. module_cmds=$lt_module_cmds
  15127. module_expsym_cmds=$lt_module_expsym_cmds
  15128. # Whether we are building with GNU ld or not.
  15129. with_gnu_ld=$lt_with_gnu_ld
  15130. # Flag that allows shared libraries with undefined symbols to be built.
  15131. allow_undefined_flag=$lt_allow_undefined_flag
  15132. # Flag that enforces no undefined symbols.
  15133. no_undefined_flag=$lt_no_undefined_flag
  15134. # Flag to hardcode \$libdir into a binary during linking.
  15135. # This must work even if \$libdir does not exist
  15136. hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
  15137. # If ld is used when linking, flag to hardcode \$libdir into a binary
  15138. # during linking. This must work even if \$libdir does not exist.
  15139. hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
  15140. # Whether we need a single "-rpath" flag with a separated argument.
  15141. hardcode_libdir_separator=$lt_hardcode_libdir_separator
  15142. # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
  15143. # DIR into the resulting binary.
  15144. hardcode_direct=$hardcode_direct
  15145. # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
  15146. # DIR into the resulting binary and the resulting library dependency is
  15147. # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
  15148. # library is relocated.
  15149. hardcode_direct_absolute=$hardcode_direct_absolute
  15150. # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
  15151. # into the resulting binary.
  15152. hardcode_minus_L=$hardcode_minus_L
  15153. # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
  15154. # into the resulting binary.
  15155. hardcode_shlibpath_var=$hardcode_shlibpath_var
  15156. # Set to "yes" if building a shared library automatically hardcodes DIR
  15157. # into the library and all subsequent libraries and executables linked
  15158. # against it.
  15159. hardcode_automatic=$hardcode_automatic
  15160. # Set to yes if linker adds runtime paths of dependent libraries
  15161. # to runtime path list.
  15162. inherit_rpath=$inherit_rpath
  15163. # Whether libtool must link a program against all its dependency libraries.
  15164. link_all_deplibs=$link_all_deplibs
  15165. # Fix the shell variable \$srcfile for the compiler.
  15166. fix_srcfile_path=$lt_fix_srcfile_path
  15167. # Set to "yes" if exported symbols are required.
  15168. always_export_symbols=$always_export_symbols
  15169. # The commands to list exported symbols.
  15170. export_symbols_cmds=$lt_export_symbols_cmds
  15171. # Symbols that should not be listed in the preloaded symbols.
  15172. exclude_expsyms=$lt_exclude_expsyms
  15173. # Symbols that must always be exported.
  15174. include_expsyms=$lt_include_expsyms
  15175. # Commands necessary for linking programs (against libraries) with templates.
  15176. prelink_cmds=$lt_prelink_cmds
  15177. # Specify filename containing input files.
  15178. file_list_spec=$lt_file_list_spec
  15179. # How to hardcode a shared library path into an executable.
  15180. hardcode_action=$hardcode_action
  15181. # The directories searched by this compiler when creating a shared library.
  15182. compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
  15183. # Dependencies to place before and after the objects being linked to
  15184. # create a shared library.
  15185. predep_objects=$lt_predep_objects
  15186. postdep_objects=$lt_postdep_objects
  15187. predeps=$lt_predeps
  15188. postdeps=$lt_postdeps
  15189. # The library search path used internally by the compiler when linking
  15190. # a shared library.
  15191. compiler_lib_search_path=$lt_compiler_lib_search_path
  15192. # ### END LIBTOOL CONFIG
  15193. _LT_EOF
  15194. case $host_os in
  15195. aix3*)
  15196. cat <<\_LT_EOF >> "$cfgfile"
  15197. # AIX sometimes has problems with the GCC collect2 program. For some
  15198. # reason, if we set the COLLECT_NAMES environment variable, the problems
  15199. # vanish in a puff of smoke.
  15200. if test "X${COLLECT_NAMES+set}" != Xset; then
  15201. COLLECT_NAMES=
  15202. export COLLECT_NAMES
  15203. fi
  15204. _LT_EOF
  15205. ;;
  15206. esac
  15207. ltmain="$ac_aux_dir/ltmain.sh"
  15208. # We use sed instead of cat because bash on DJGPP gets confused if
  15209. # if finds mixed CR/LF and LF-only lines. Since sed operates in
  15210. # text mode, it properly converts lines to CR/LF. This bash problem
  15211. # is reportedly fixed, but why not run on old versions too?
  15212. sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
  15213. || (rm -f "$cfgfile"; exit 1)
  15214. case $xsi_shell in
  15215. yes)
  15216. cat << \_LT_EOF >> "$cfgfile"
  15217. # func_dirname file append nondir_replacement
  15218. # Compute the dirname of FILE. If nonempty, add APPEND to the result,
  15219. # otherwise set result to NONDIR_REPLACEMENT.
  15220. func_dirname ()
  15221. {
  15222. case ${1} in
  15223. */*) func_dirname_result="${1%/*}${2}" ;;
  15224. * ) func_dirname_result="${3}" ;;
  15225. esac
  15226. }
  15227. # func_basename file
  15228. func_basename ()
  15229. {
  15230. func_basename_result="${1##*/}"
  15231. }
  15232. # func_dirname_and_basename file append nondir_replacement
  15233. # perform func_basename and func_dirname in a single function
  15234. # call:
  15235. # dirname: Compute the dirname of FILE. If nonempty,
  15236. # add APPEND to the result, otherwise set result
  15237. # to NONDIR_REPLACEMENT.
  15238. # value returned in "$func_dirname_result"
  15239. # basename: Compute filename of FILE.
  15240. # value retuned in "$func_basename_result"
  15241. # Implementation must be kept synchronized with func_dirname
  15242. # and func_basename. For efficiency, we do not delegate to
  15243. # those functions but instead duplicate the functionality here.
  15244. func_dirname_and_basename ()
  15245. {
  15246. case ${1} in
  15247. */*) func_dirname_result="${1%/*}${2}" ;;
  15248. * ) func_dirname_result="${3}" ;;
  15249. esac
  15250. func_basename_result="${1##*/}"
  15251. }
  15252. # func_stripname prefix suffix name
  15253. # strip PREFIX and SUFFIX off of NAME.
  15254. # PREFIX and SUFFIX must not contain globbing or regex special
  15255. # characters, hashes, percent signs, but SUFFIX may contain a leading
  15256. # dot (in which case that matches only a dot).
  15257. func_stripname ()
  15258. {
  15259. # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
  15260. # positional parameters, so assign one to ordinary parameter first.
  15261. func_stripname_result=${3}
  15262. func_stripname_result=${func_stripname_result#"${1}"}
  15263. func_stripname_result=${func_stripname_result%"${2}"}
  15264. }
  15265. # func_opt_split
  15266. func_opt_split ()
  15267. {
  15268. func_opt_split_opt=${1%%=*}
  15269. func_opt_split_arg=${1#*=}
  15270. }
  15271. # func_lo2o object
  15272. func_lo2o ()
  15273. {
  15274. case ${1} in
  15275. *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
  15276. *) func_lo2o_result=${1} ;;
  15277. esac
  15278. }
  15279. # func_xform libobj-or-source
  15280. func_xform ()
  15281. {
  15282. func_xform_result=${1%.*}.lo
  15283. }
  15284. # func_arith arithmetic-term...
  15285. func_arith ()
  15286. {
  15287. func_arith_result=$(( $* ))
  15288. }
  15289. # func_len string
  15290. # STRING may not start with a hyphen.
  15291. func_len ()
  15292. {
  15293. func_len_result=${#1}
  15294. }
  15295. _LT_EOF
  15296. ;;
  15297. *) # Bourne compatible functions.
  15298. cat << \_LT_EOF >> "$cfgfile"
  15299. # func_dirname file append nondir_replacement
  15300. # Compute the dirname of FILE. If nonempty, add APPEND to the result,
  15301. # otherwise set result to NONDIR_REPLACEMENT.
  15302. func_dirname ()
  15303. {
  15304. # Extract subdirectory from the argument.
  15305. func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
  15306. if test "X$func_dirname_result" = "X${1}"; then
  15307. func_dirname_result="${3}"
  15308. else
  15309. func_dirname_result="$func_dirname_result${2}"
  15310. fi
  15311. }
  15312. # func_basename file
  15313. func_basename ()
  15314. {
  15315. func_basename_result=`$ECHO "${1}" | $SED "$basename"`
  15316. }
  15317. # func_stripname prefix suffix name
  15318. # strip PREFIX and SUFFIX off of NAME.
  15319. # PREFIX and SUFFIX must not contain globbing or regex special
  15320. # characters, hashes, percent signs, but SUFFIX may contain a leading
  15321. # dot (in which case that matches only a dot).
  15322. # func_strip_suffix prefix name
  15323. func_stripname ()
  15324. {
  15325. case ${2} in
  15326. .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
  15327. *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
  15328. esac
  15329. }
  15330. # sed scripts:
  15331. my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
  15332. my_sed_long_arg='1s/^-[^=]*=//'
  15333. # func_opt_split
  15334. func_opt_split ()
  15335. {
  15336. func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
  15337. func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
  15338. }
  15339. # func_lo2o object
  15340. func_lo2o ()
  15341. {
  15342. func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
  15343. }
  15344. # func_xform libobj-or-source
  15345. func_xform ()
  15346. {
  15347. func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
  15348. }
  15349. # func_arith arithmetic-term...
  15350. func_arith ()
  15351. {
  15352. func_arith_result=`expr "$@"`
  15353. }
  15354. # func_len string
  15355. # STRING may not start with a hyphen.
  15356. func_len ()
  15357. {
  15358. func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
  15359. }
  15360. _LT_EOF
  15361. esac
  15362. case $lt_shell_append in
  15363. yes)
  15364. cat << \_LT_EOF >> "$cfgfile"
  15365. # func_append var value
  15366. # Append VALUE to the end of shell variable VAR.
  15367. func_append ()
  15368. {
  15369. eval "$1+=\$2"
  15370. }
  15371. _LT_EOF
  15372. ;;
  15373. *)
  15374. cat << \_LT_EOF >> "$cfgfile"
  15375. # func_append var value
  15376. # Append VALUE to the end of shell variable VAR.
  15377. func_append ()
  15378. {
  15379. eval "$1=\$$1\$2"
  15380. }
  15381. _LT_EOF
  15382. ;;
  15383. esac
  15384. sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
  15385. || (rm -f "$cfgfile"; exit 1)
  15386. mv -f "$cfgfile" "$ofile" ||
  15387. (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
  15388. chmod +x "$ofile"
  15389. cat <<_LT_EOF >> "$ofile"
  15390. # ### BEGIN LIBTOOL TAG CONFIG: CXX
  15391. # The linker used to build libraries.
  15392. LD=$lt_LD_CXX
  15393. # How to create reloadable object files.
  15394. reload_flag=$lt_reload_flag_CXX
  15395. reload_cmds=$lt_reload_cmds_CXX
  15396. # Commands used to build an old-style archive.
  15397. old_archive_cmds=$lt_old_archive_cmds_CXX
  15398. # A language specific compiler.
  15399. CC=$lt_compiler_CXX
  15400. # Is the compiler the GNU compiler?
  15401. with_gcc=$GCC_CXX
  15402. # Compiler flag to turn off builtin functions.
  15403. no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
  15404. # How to pass a linker flag through the compiler.
  15405. wl=$lt_lt_prog_compiler_wl_CXX
  15406. # Additional compiler flags for building library objects.
  15407. pic_flag=$lt_lt_prog_compiler_pic_CXX
  15408. # Compiler flag to prevent dynamic linking.
  15409. link_static_flag=$lt_lt_prog_compiler_static_CXX
  15410. # Does compiler simultaneously support -c and -o options?
  15411. compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
  15412. # Whether or not to add -lc for building shared libraries.
  15413. build_libtool_need_lc=$archive_cmds_need_lc_CXX
  15414. # Whether or not to disallow shared libs when runtime libs are static.
  15415. allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
  15416. # Compiler flag to allow reflexive dlopens.
  15417. export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
  15418. # Compiler flag to generate shared objects directly from archives.
  15419. whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
  15420. # Whether the compiler copes with passing no objects directly.
  15421. compiler_needs_object=$lt_compiler_needs_object_CXX
  15422. # Create an old-style archive from a shared archive.
  15423. old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
  15424. # Create a temporary old-style archive to link instead of a shared archive.
  15425. old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
  15426. # Commands used to build a shared archive.
  15427. archive_cmds=$lt_archive_cmds_CXX
  15428. archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
  15429. # Commands used to build a loadable module if different from building
  15430. # a shared archive.
  15431. module_cmds=$lt_module_cmds_CXX
  15432. module_expsym_cmds=$lt_module_expsym_cmds_CXX
  15433. # Whether we are building with GNU ld or not.
  15434. with_gnu_ld=$lt_with_gnu_ld_CXX
  15435. # Flag that allows shared libraries with undefined symbols to be built.
  15436. allow_undefined_flag=$lt_allow_undefined_flag_CXX
  15437. # Flag that enforces no undefined symbols.
  15438. no_undefined_flag=$lt_no_undefined_flag_CXX
  15439. # Flag to hardcode \$libdir into a binary during linking.
  15440. # This must work even if \$libdir does not exist
  15441. hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
  15442. # If ld is used when linking, flag to hardcode \$libdir into a binary
  15443. # during linking. This must work even if \$libdir does not exist.
  15444. hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
  15445. # Whether we need a single "-rpath" flag with a separated argument.
  15446. hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
  15447. # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
  15448. # DIR into the resulting binary.
  15449. hardcode_direct=$hardcode_direct_CXX
  15450. # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
  15451. # DIR into the resulting binary and the resulting library dependency is
  15452. # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
  15453. # library is relocated.
  15454. hardcode_direct_absolute=$hardcode_direct_absolute_CXX
  15455. # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
  15456. # into the resulting binary.
  15457. hardcode_minus_L=$hardcode_minus_L_CXX
  15458. # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
  15459. # into the resulting binary.
  15460. hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
  15461. # Set to "yes" if building a shared library automatically hardcodes DIR
  15462. # into the library and all subsequent libraries and executables linked
  15463. # against it.
  15464. hardcode_automatic=$hardcode_automatic_CXX
  15465. # Set to yes if linker adds runtime paths of dependent libraries
  15466. # to runtime path list.
  15467. inherit_rpath=$inherit_rpath_CXX
  15468. # Whether libtool must link a program against all its dependency libraries.
  15469. link_all_deplibs=$link_all_deplibs_CXX
  15470. # Fix the shell variable \$srcfile for the compiler.
  15471. fix_srcfile_path=$lt_fix_srcfile_path_CXX
  15472. # Set to "yes" if exported symbols are required.
  15473. always_export_symbols=$always_export_symbols_CXX
  15474. # The commands to list exported symbols.
  15475. export_symbols_cmds=$lt_export_symbols_cmds_CXX
  15476. # Symbols that should not be listed in the preloaded symbols.
  15477. exclude_expsyms=$lt_exclude_expsyms_CXX
  15478. # Symbols that must always be exported.
  15479. include_expsyms=$lt_include_expsyms_CXX
  15480. # Commands necessary for linking programs (against libraries) with templates.
  15481. prelink_cmds=$lt_prelink_cmds_CXX
  15482. # Specify filename containing input files.
  15483. file_list_spec=$lt_file_list_spec_CXX
  15484. # How to hardcode a shared library path into an executable.
  15485. hardcode_action=$hardcode_action_CXX
  15486. # The directories searched by this compiler when creating a shared library.
  15487. compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
  15488. # Dependencies to place before and after the objects being linked to
  15489. # create a shared library.
  15490. predep_objects=$lt_predep_objects_CXX
  15491. postdep_objects=$lt_postdep_objects_CXX
  15492. predeps=$lt_predeps_CXX
  15493. postdeps=$lt_postdeps_CXX
  15494. # The library search path used internally by the compiler when linking
  15495. # a shared library.
  15496. compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
  15497. # ### END LIBTOOL TAG CONFIG: CXX
  15498. _LT_EOF
  15499. ;;
  15500. "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
  15501. s!`test -f '$<' || echo '$(srcdir)/'`!!
  15502. _EOF
  15503. sed -f vpsed$$ $ac_file > tmp$$
  15504. mv tmp$$ $ac_file
  15505. rm vpsed$$
  15506. echo 'MULTISUBDIR =' >> $ac_file
  15507. ml_norecursion=yes
  15508. . ${multi_basedir}/config-ml.in
  15509. { ml_norecursion=; unset ml_norecursion;}
  15510. ;;
  15511. esac
  15512. done # for ac_tag
  15513. as_fn_exit 0
  15514. _ACEOF
  15515. ac_clean_files=$ac_clean_files_save
  15516. test $ac_write_fail = 0 ||
  15517. as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
  15518. # configure is writing to config.log, and then calls config.status.
  15519. # config.status does its own redirection, appending to config.log.
  15520. # Unfortunately, on DOS this fails, as config.log is still kept open
  15521. # by configure, so config.status won't be able to write to it; its
  15522. # output is simply discarded. So we exec the FD to /dev/null,
  15523. # effectively closing config.log, so it can be properly (re)opened and
  15524. # appended to by config.status. When coming back to configure, we
  15525. # need to make the FD available again.
  15526. if test "$no_create" != yes; then
  15527. ac_cs_success=:
  15528. ac_config_status_args=
  15529. test "$silent" = yes &&
  15530. ac_config_status_args="$ac_config_status_args --quiet"
  15531. exec 5>/dev/null
  15532. $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
  15533. exec 5>>config.log
  15534. # Use ||, not &&, to avoid exiting from the if with $? = 1, which
  15535. # would make configure fail if this is the last instruction.
  15536. $ac_cs_success || as_fn_exit $?
  15537. fi
  15538. if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
  15539. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
  15540. $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
  15541. fi