configure 534 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975
  1. #! /bin/sh
  2. # Guess values for system-dependent variables and create Makefiles.
  3. # Generated by GNU Autoconf 2.64 for clish 1.3.0.
  4. #
  5. # Report bugs to <serj.kalichev at gmail dot com>.
  6. #
  7. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
  8. # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
  9. # Foundation, Inc.
  10. #
  11. # This configure script is free software; the Free Software Foundation
  12. # gives unlimited permission to copy, distribute and modify it.
  13. ## -------------------- ##
  14. ## M4sh Initialization. ##
  15. ## -------------------- ##
  16. # Be more Bourne compatible
  17. DUALCASE=1; export DUALCASE # for MKS sh
  18. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  19. emulate sh
  20. NULLCMD=:
  21. # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  22. # is contrary to our usage. Disable this feature.
  23. alias -g '${1+"$@"}'='"$@"'
  24. setopt NO_GLOB_SUBST
  25. else
  26. case `(set -o) 2>/dev/null` in #(
  27. *posix*) :
  28. set -o posix ;; #(
  29. *) :
  30. ;;
  31. esac
  32. fi
  33. as_nl='
  34. '
  35. export as_nl
  36. # Printing a long string crashes Solaris 7 /usr/bin/printf.
  37. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  38. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  39. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  40. # Prefer a ksh shell builtin over an external printf program on Solaris,
  41. # but without wasting forks for bash or zsh.
  42. if test -z "$BASH_VERSION$ZSH_VERSION" \
  43. && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
  44. as_echo='print -r --'
  45. as_echo_n='print -rn --'
  46. elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  47. as_echo='printf %s\n'
  48. as_echo_n='printf %s'
  49. else
  50. if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
  51. as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
  52. as_echo_n='/usr/ucb/echo -n'
  53. else
  54. as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  55. as_echo_n_body='eval
  56. arg=$1;
  57. case $arg in #(
  58. *"$as_nl"*)
  59. expr "X$arg" : "X\\(.*\\)$as_nl";
  60. arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  61. esac;
  62. expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
  63. '
  64. export as_echo_n_body
  65. as_echo_n='sh -c $as_echo_n_body as_echo'
  66. fi
  67. export as_echo_body
  68. as_echo='sh -c $as_echo_body as_echo'
  69. fi
  70. # The user is always right.
  71. if test "${PATH_SEPARATOR+set}" != set; then
  72. PATH_SEPARATOR=:
  73. (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  74. (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  75. PATH_SEPARATOR=';'
  76. }
  77. fi
  78. # IFS
  79. # We need space, tab and new line, in precisely that order. Quoting is
  80. # there to prevent editors from complaining about space-tab.
  81. # (If _AS_PATH_WALK were called with IFS unset, it would disable word
  82. # splitting by setting IFS to empty value.)
  83. IFS=" "" $as_nl"
  84. # Find who we are. Look in the path if we contain no directory separator.
  85. case $0 in #((
  86. *[\\/]* ) as_myself=$0 ;;
  87. *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  88. for as_dir in $PATH
  89. do
  90. IFS=$as_save_IFS
  91. test -z "$as_dir" && as_dir=.
  92. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  93. done
  94. IFS=$as_save_IFS
  95. ;;
  96. esac
  97. # We did not find ourselves, most probably we were run as `sh COMMAND'
  98. # in which case we are not to be found in the path.
  99. if test "x$as_myself" = x; then
  100. as_myself=$0
  101. fi
  102. if test ! -f "$as_myself"; then
  103. $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  104. exit 1
  105. fi
  106. # Unset variables that we do not need and which cause bugs (e.g. in
  107. # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
  108. # suppresses any "Segmentation fault" message there. '((' could
  109. # trigger a bug in pdksh 5.2.14.
  110. for as_var in BASH_ENV ENV MAIL MAILPATH
  111. do eval test x\${$as_var+set} = xset \
  112. && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  113. done
  114. PS1='$ '
  115. PS2='> '
  116. PS4='+ '
  117. # NLS nuisances.
  118. LC_ALL=C
  119. export LC_ALL
  120. LANGUAGE=C
  121. export LANGUAGE
  122. # CDPATH.
  123. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  124. if test "x$CONFIG_SHELL" = x; then
  125. as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
  126. emulate sh
  127. NULLCMD=:
  128. # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
  129. # is contrary to our usage. Disable this feature.
  130. alias -g '\${1+\"\$@\"}'='\"\$@\"'
  131. setopt NO_GLOB_SUBST
  132. else
  133. case \`(set -o) 2>/dev/null\` in #(
  134. *posix*) :
  135. set -o posix ;; #(
  136. *) :
  137. ;;
  138. esac
  139. fi
  140. "
  141. as_required="as_fn_return () { (exit \$1); }
  142. as_fn_success () { as_fn_return 0; }
  143. as_fn_failure () { as_fn_return 1; }
  144. as_fn_ret_success () { return 0; }
  145. as_fn_ret_failure () { return 1; }
  146. exitcode=0
  147. as_fn_success || { exitcode=1; echo as_fn_success failed.; }
  148. as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
  149. as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
  150. as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
  151. if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
  152. else
  153. exitcode=1; echo positional parameters were not saved.
  154. fi
  155. test x\$exitcode = x0 || exit 1"
  156. as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
  157. as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
  158. eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
  159. test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
  160. test \$(( 1 + 1 )) = 2 || exit 1"
  161. if (eval "$as_required") 2>/dev/null; then :
  162. as_have_required=yes
  163. else
  164. as_have_required=no
  165. fi
  166. if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
  167. else
  168. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  169. as_found=false
  170. for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  171. do
  172. IFS=$as_save_IFS
  173. test -z "$as_dir" && as_dir=.
  174. as_found=:
  175. case $as_dir in #(
  176. /*)
  177. for as_base in sh bash ksh sh5; do
  178. # Try only shells that exist, to save several forks.
  179. as_shell=$as_dir/$as_base
  180. if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
  181. { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
  182. CONFIG_SHELL=$as_shell as_have_required=yes
  183. if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
  184. break 2
  185. fi
  186. fi
  187. done;;
  188. esac
  189. as_found=false
  190. done
  191. $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
  192. { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
  193. CONFIG_SHELL=$SHELL as_have_required=yes
  194. fi; }
  195. IFS=$as_save_IFS
  196. if test "x$CONFIG_SHELL" != x; then :
  197. # We cannot yet assume a decent shell, so we have to provide a
  198. # neutralization value for shells without unset; and this also
  199. # works around shells that cannot unset nonexistent variables.
  200. BASH_ENV=/dev/null
  201. ENV=/dev/null
  202. (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  203. export CONFIG_SHELL
  204. exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
  205. fi
  206. if test x$as_have_required = xno; then :
  207. $as_echo "$0: This script requires a shell more modern than all"
  208. $as_echo "$0: the shells that I found on your system."
  209. if test x${ZSH_VERSION+set} = xset ; then
  210. $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
  211. $as_echo "$0: be upgraded to zsh 4.3.4 or later."
  212. else
  213. $as_echo "$0: Please tell bug-autoconf@gnu.org and serj.kalichev at
  214. $0: gmail dot com about your system, including any error
  215. $0: possibly output before this message. Then install a
  216. $0: modern shell, or manually run the script under such a
  217. $0: shell if you do have one."
  218. fi
  219. exit 1
  220. fi
  221. fi
  222. fi
  223. SHELL=${CONFIG_SHELL-/bin/sh}
  224. export SHELL
  225. # Unset more variables known to interfere with behavior of common tools.
  226. CLICOLOR_FORCE= GREP_OPTIONS=
  227. unset CLICOLOR_FORCE GREP_OPTIONS
  228. ## --------------------- ##
  229. ## M4sh Shell Functions. ##
  230. ## --------------------- ##
  231. # as_fn_unset VAR
  232. # ---------------
  233. # Portably unset VAR.
  234. as_fn_unset ()
  235. {
  236. { eval $1=; unset $1;}
  237. }
  238. as_unset=as_fn_unset
  239. # as_fn_set_status STATUS
  240. # -----------------------
  241. # Set $? to STATUS, without forking.
  242. as_fn_set_status ()
  243. {
  244. return $1
  245. } # as_fn_set_status
  246. # as_fn_exit STATUS
  247. # -----------------
  248. # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  249. as_fn_exit ()
  250. {
  251. set +e
  252. as_fn_set_status $1
  253. exit $1
  254. } # as_fn_exit
  255. # as_fn_mkdir_p
  256. # -------------
  257. # Create "$as_dir" as a directory, including parents if necessary.
  258. as_fn_mkdir_p ()
  259. {
  260. case $as_dir in #(
  261. -*) as_dir=./$as_dir;;
  262. esac
  263. test -d "$as_dir" || eval $as_mkdir_p || {
  264. as_dirs=
  265. while :; do
  266. case $as_dir in #(
  267. *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  268. *) as_qdir=$as_dir;;
  269. esac
  270. as_dirs="'$as_qdir' $as_dirs"
  271. as_dir=`$as_dirname -- "$as_dir" ||
  272. $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  273. X"$as_dir" : 'X\(//\)[^/]' \| \
  274. X"$as_dir" : 'X\(//\)$' \| \
  275. X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  276. $as_echo X"$as_dir" |
  277. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  278. s//\1/
  279. q
  280. }
  281. /^X\(\/\/\)[^/].*/{
  282. s//\1/
  283. q
  284. }
  285. /^X\(\/\/\)$/{
  286. s//\1/
  287. q
  288. }
  289. /^X\(\/\).*/{
  290. s//\1/
  291. q
  292. }
  293. s/.*/./; q'`
  294. test -d "$as_dir" && break
  295. done
  296. test -z "$as_dirs" || eval "mkdir $as_dirs"
  297. } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
  298. } # as_fn_mkdir_p
  299. # as_fn_append VAR VALUE
  300. # ----------------------
  301. # Append the text in VALUE to the end of the definition contained in VAR. Take
  302. # advantage of any shell optimizations that allow amortized linear growth over
  303. # repeated appends, instead of the typical quadratic growth present in naive
  304. # implementations.
  305. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  306. eval 'as_fn_append ()
  307. {
  308. eval $1+=\$2
  309. }'
  310. else
  311. as_fn_append ()
  312. {
  313. eval $1=\$$1\$2
  314. }
  315. fi # as_fn_append
  316. # as_fn_arith ARG...
  317. # ------------------
  318. # Perform arithmetic evaluation on the ARGs, and store the result in the
  319. # global $as_val. Take advantage of shells that can avoid forks. The arguments
  320. # must be portable across $(()) and expr.
  321. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  322. eval 'as_fn_arith ()
  323. {
  324. as_val=$(( $* ))
  325. }'
  326. else
  327. as_fn_arith ()
  328. {
  329. as_val=`expr "$@" || test $? -eq 1`
  330. }
  331. fi # as_fn_arith
  332. # as_fn_error ERROR [LINENO LOG_FD]
  333. # ---------------------------------
  334. # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  335. # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  336. # script with status $?, using 1 if that was 0.
  337. as_fn_error ()
  338. {
  339. as_status=$?; test $as_status -eq 0 && as_status=1
  340. if test "$3"; then
  341. as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  342. $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
  343. fi
  344. $as_echo "$as_me: error: $1" >&2
  345. as_fn_exit $as_status
  346. } # as_fn_error
  347. if expr a : '\(a\)' >/dev/null 2>&1 &&
  348. test "X`expr 00001 : '.*\(...\)'`" = X001; then
  349. as_expr=expr
  350. else
  351. as_expr=false
  352. fi
  353. if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  354. as_basename=basename
  355. else
  356. as_basename=false
  357. fi
  358. if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  359. as_dirname=dirname
  360. else
  361. as_dirname=false
  362. fi
  363. as_me=`$as_basename -- "$0" ||
  364. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  365. X"$0" : 'X\(//\)$' \| \
  366. X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  367. $as_echo X/"$0" |
  368. sed '/^.*\/\([^/][^/]*\)\/*$/{
  369. s//\1/
  370. q
  371. }
  372. /^X\/\(\/\/\)$/{
  373. s//\1/
  374. q
  375. }
  376. /^X\/\(\/\).*/{
  377. s//\1/
  378. q
  379. }
  380. s/.*/./; q'`
  381. # Avoid depending upon Character Ranges.
  382. as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  383. as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  384. as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  385. as_cr_digits='0123456789'
  386. as_cr_alnum=$as_cr_Letters$as_cr_digits
  387. as_lineno_1=$LINENO as_lineno_1a=$LINENO
  388. as_lineno_2=$LINENO as_lineno_2a=$LINENO
  389. eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
  390. test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
  391. # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
  392. sed -n '
  393. p
  394. /[$]LINENO/=
  395. ' <$as_myself |
  396. sed '
  397. s/[$]LINENO.*/&-/
  398. t lineno
  399. b
  400. :lineno
  401. N
  402. :loop
  403. s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
  404. t loop
  405. s/-\n.*//
  406. ' >$as_me.lineno &&
  407. chmod +x "$as_me.lineno" ||
  408. { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
  409. # Don't try to exec as it changes $[0], causing all sort of problems
  410. # (the dirname of $[0] is not the place where we might find the
  411. # original and so on. Autoconf is especially sensitive to this).
  412. . "./$as_me.lineno"
  413. # Exit status is that of the last command.
  414. exit
  415. }
  416. ECHO_C= ECHO_N= ECHO_T=
  417. case `echo -n x` in #(((((
  418. -n*)
  419. case `echo 'xy\c'` in
  420. *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  421. xy) ECHO_C='\c';;
  422. *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
  423. ECHO_T=' ';;
  424. esac;;
  425. *)
  426. ECHO_N='-n';;
  427. esac
  428. rm -f conf$$ conf$$.exe conf$$.file
  429. if test -d conf$$.dir; then
  430. rm -f conf$$.dir/conf$$.file
  431. else
  432. rm -f conf$$.dir
  433. mkdir conf$$.dir 2>/dev/null
  434. fi
  435. if (echo >conf$$.file) 2>/dev/null; then
  436. if ln -s conf$$.file conf$$ 2>/dev/null; then
  437. as_ln_s='ln -s'
  438. # ... but there are two gotchas:
  439. # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  440. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  441. # In both cases, we have to default to `cp -p'.
  442. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  443. as_ln_s='cp -p'
  444. elif ln conf$$.file conf$$ 2>/dev/null; then
  445. as_ln_s=ln
  446. else
  447. as_ln_s='cp -p'
  448. fi
  449. else
  450. as_ln_s='cp -p'
  451. fi
  452. rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  453. rmdir conf$$.dir 2>/dev/null
  454. if mkdir -p . 2>/dev/null; then
  455. as_mkdir_p='mkdir -p "$as_dir"'
  456. else
  457. test -d ./-p && rmdir ./-p
  458. as_mkdir_p=false
  459. fi
  460. if test -x / >/dev/null 2>&1; then
  461. as_test_x='test -x'
  462. else
  463. if ls -dL / >/dev/null 2>&1; then
  464. as_ls_L_option=L
  465. else
  466. as_ls_L_option=
  467. fi
  468. as_test_x='
  469. eval sh -c '\''
  470. if test -d "$1"; then
  471. test -d "$1/.";
  472. else
  473. case $1 in #(
  474. -*)set "./$1";;
  475. esac;
  476. case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
  477. ???[sx]*):;;*)false;;esac;fi
  478. '\'' sh
  479. '
  480. fi
  481. as_executable_p=$as_test_x
  482. # Sed expression to map a string onto a valid CPP name.
  483. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  484. # Sed expression to map a string onto a valid variable name.
  485. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  486. # Check that we are running under the correct shell.
  487. SHELL=${CONFIG_SHELL-/bin/sh}
  488. case X$lt_ECHO in
  489. X*--fallback-echo)
  490. # Remove one level of quotation (which was required for Make).
  491. ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
  492. ;;
  493. esac
  494. ECHO=${lt_ECHO-echo}
  495. if test "X$1" = X--no-reexec; then
  496. # Discard the --no-reexec flag, and continue.
  497. shift
  498. elif test "X$1" = X--fallback-echo; then
  499. # Avoid inline document here, it may be left over
  500. :
  501. elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
  502. # Yippee, $ECHO works!
  503. :
  504. else
  505. # Restart under the correct shell.
  506. exec $SHELL "$0" --no-reexec ${1+"$@"}
  507. fi
  508. if test "X$1" = X--fallback-echo; then
  509. # used as fallback echo
  510. shift
  511. cat <<_LT_EOF
  512. $*
  513. _LT_EOF
  514. exit 0
  515. fi
  516. # The HP-UX ksh and POSIX shell print the target directory to stdout
  517. # if CDPATH is set.
  518. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  519. if test -z "$lt_ECHO"; then
  520. if test "X${echo_test_string+set}" != Xset; then
  521. # find a string as large as possible, as long as the shell can cope with it
  522. for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
  523. # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
  524. if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
  525. { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
  526. then
  527. break
  528. fi
  529. done
  530. fi
  531. if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
  532. echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
  533. test "X$echo_testing_string" = "X$echo_test_string"; then
  534. :
  535. else
  536. # The Solaris, AIX, and Digital Unix default echo programs unquote
  537. # backslashes. This makes it impossible to quote backslashes using
  538. # echo "$something" | sed 's/\\/\\\\/g'
  539. #
  540. # So, first we look for a working echo in the user's PATH.
  541. lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  542. for dir in $PATH /usr/ucb; do
  543. IFS="$lt_save_ifs"
  544. if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
  545. test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
  546. echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
  547. test "X$echo_testing_string" = "X$echo_test_string"; then
  548. ECHO="$dir/echo"
  549. break
  550. fi
  551. done
  552. IFS="$lt_save_ifs"
  553. if test "X$ECHO" = Xecho; then
  554. # We didn't find a better echo, so look for alternatives.
  555. if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
  556. echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
  557. test "X$echo_testing_string" = "X$echo_test_string"; then
  558. # This shell has a builtin print -r that does the trick.
  559. ECHO='print -r'
  560. elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
  561. test "X$CONFIG_SHELL" != X/bin/ksh; then
  562. # If we have ksh, try running configure again with it.
  563. ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
  564. export ORIGINAL_CONFIG_SHELL
  565. CONFIG_SHELL=/bin/ksh
  566. export CONFIG_SHELL
  567. exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
  568. else
  569. # Try using printf.
  570. ECHO='printf %s\n'
  571. if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
  572. echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
  573. test "X$echo_testing_string" = "X$echo_test_string"; then
  574. # Cool, printf works
  575. :
  576. elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
  577. test "X$echo_testing_string" = 'X\t' &&
  578. echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
  579. test "X$echo_testing_string" = "X$echo_test_string"; then
  580. CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
  581. export CONFIG_SHELL
  582. SHELL="$CONFIG_SHELL"
  583. export SHELL
  584. ECHO="$CONFIG_SHELL $0 --fallback-echo"
  585. elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
  586. test "X$echo_testing_string" = 'X\t' &&
  587. echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
  588. test "X$echo_testing_string" = "X$echo_test_string"; then
  589. ECHO="$CONFIG_SHELL $0 --fallback-echo"
  590. else
  591. # maybe with a smaller string...
  592. prev=:
  593. for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
  594. if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
  595. then
  596. break
  597. fi
  598. prev="$cmd"
  599. done
  600. if test "$prev" != 'sed 50q "$0"'; then
  601. echo_test_string=`eval $prev`
  602. export echo_test_string
  603. exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
  604. else
  605. # Oops. We lost completely, so just stick with echo.
  606. ECHO=echo
  607. fi
  608. fi
  609. fi
  610. fi
  611. fi
  612. fi
  613. # Copy echo and quote the copy suitably for passing to libtool from
  614. # the Makefile, instead of quoting the original, which is used later.
  615. lt_ECHO=$ECHO
  616. if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
  617. lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
  618. fi
  619. exec 7<&0 </dev/null 6>&1
  620. # Name of the host.
  621. # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
  622. # so uname gets run too.
  623. ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
  624. #
  625. # Initializations.
  626. #
  627. ac_default_prefix=/usr/local
  628. ac_clean_files=
  629. ac_config_libobj_dir=.
  630. LIBOBJS=
  631. cross_compiling=no
  632. subdirs=
  633. MFLAGS=
  634. MAKEFLAGS=
  635. # Identity of this package.
  636. PACKAGE_NAME='clish'
  637. PACKAGE_TARNAME='clish'
  638. PACKAGE_VERSION='1.3.0'
  639. PACKAGE_STRING='clish 1.3.0'
  640. PACKAGE_BUGREPORT='serj.kalichev at gmail dot com'
  641. PACKAGE_URL=''
  642. # Factoring default headers for most tests.
  643. ac_includes_default="\
  644. #include <stdio.h>
  645. #ifdef HAVE_SYS_TYPES_H
  646. # include <sys/types.h>
  647. #endif
  648. #ifdef HAVE_SYS_STAT_H
  649. # include <sys/stat.h>
  650. #endif
  651. #ifdef STDC_HEADERS
  652. # include <stdlib.h>
  653. # include <stddef.h>
  654. #else
  655. # ifdef HAVE_STDLIB_H
  656. # include <stdlib.h>
  657. # endif
  658. #endif
  659. #ifdef HAVE_STRING_H
  660. # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  661. # include <memory.h>
  662. # endif
  663. # include <string.h>
  664. #endif
  665. #ifdef HAVE_STRINGS_H
  666. # include <strings.h>
  667. #endif
  668. #ifdef HAVE_INTTYPES_H
  669. # include <inttypes.h>
  670. #endif
  671. #ifdef HAVE_STDINT_H
  672. # include <stdint.h>
  673. #endif
  674. #ifdef HAVE_UNISTD_H
  675. # include <unistd.h>
  676. #endif"
  677. ac_subst_vars='am__EXEEXT_FALSE
  678. am__EXEEXT_TRUE
  679. LTLIBOBJS
  680. LIBOBJS
  681. BFD_LIBS
  682. LUBHEAP_CFLAGS
  683. LUBHEAP_LIBS
  684. LUBHEAP_FALSE
  685. LUBHEAP_TRUE
  686. TCL_VERSION
  687. TCL_LIBS
  688. TCL_CFLAGS
  689. RT_CFLAGS
  690. RT_LIBS
  691. PTHREAD_CFLAGS
  692. PTHREAD_LIBS
  693. TINYXML_CXXFLAGS
  694. TINYXML_LIBS
  695. TINYRL_CFLAGS
  696. TINYRL_LIBS
  697. KONF_CFLAGS
  698. KONF_LIBS
  699. LUB_CFLAGS
  700. LUB_LIBS
  701. DEBUG_FALSE
  702. DEBUG_TRUE
  703. am__fastdepCXX_FALSE
  704. am__fastdepCXX_TRUE
  705. CXXDEPMODE
  706. am__fastdepCC_FALSE
  707. am__fastdepCC_TRUE
  708. CCDEPMODE
  709. AMDEPBACKSLASH
  710. AMDEP_FALSE
  711. AMDEP_TRUE
  712. am__quote
  713. am__include
  714. DEPDIR
  715. am__untar
  716. am__tar
  717. AMTAR
  718. am__leading_dot
  719. SET_MAKE
  720. AWK
  721. mkdir_p
  722. MKDIR_P
  723. INSTALL_STRIP_PROGRAM
  724. install_sh
  725. MAKEINFO
  726. AUTOHEADER
  727. AUTOMAKE
  728. AUTOCONF
  729. ACLOCAL
  730. VERSION
  731. PACKAGE
  732. CYGPATH_W
  733. am__isrc
  734. INSTALL_DATA
  735. INSTALL_SCRIPT
  736. INSTALL_PROGRAM
  737. CXXCPP
  738. CPP
  739. OTOOL64
  740. OTOOL
  741. LIPO
  742. NMEDIT
  743. DSYMUTIL
  744. lt_ECHO
  745. RANLIB
  746. STRIP
  747. AR
  748. LN_S
  749. NM
  750. ac_ct_DUMPBIN
  751. DUMPBIN
  752. LD
  753. FGREP
  754. EGREP
  755. GREP
  756. SED
  757. LIBTOOL
  758. OBJDUMP
  759. DLLTOOL
  760. AS
  761. host_os
  762. host_vendor
  763. host_cpu
  764. host
  765. build_os
  766. build_vendor
  767. build_cpu
  768. build
  769. ac_ct_CXX
  770. CXXFLAGS
  771. CXX
  772. OBJEXT
  773. EXEEXT
  774. ac_ct_CC
  775. CPPFLAGS
  776. LDFLAGS
  777. CFLAGS
  778. CC
  779. target_alias
  780. host_alias
  781. build_alias
  782. LIBS
  783. ECHO_T
  784. ECHO_N
  785. ECHO_C
  786. DEFS
  787. mandir
  788. localedir
  789. libdir
  790. psdir
  791. pdfdir
  792. dvidir
  793. htmldir
  794. infodir
  795. docdir
  796. oldincludedir
  797. includedir
  798. localstatedir
  799. sharedstatedir
  800. sysconfdir
  801. datadir
  802. datarootdir
  803. libexecdir
  804. sbindir
  805. bindir
  806. program_transform_name
  807. prefix
  808. exec_prefix
  809. PACKAGE_URL
  810. PACKAGE_BUGREPORT
  811. PACKAGE_STRING
  812. PACKAGE_VERSION
  813. PACKAGE_TARNAME
  814. PACKAGE_NAME
  815. PATH_SEPARATOR
  816. SHELL'
  817. ac_subst_files=''
  818. ac_user_opts='
  819. enable_option_checking
  820. enable_shared
  821. enable_static
  822. with_pic
  823. enable_fast_install
  824. with_gnu_ld
  825. enable_libtool_lock
  826. enable_dependency_tracking
  827. enable_debug
  828. with_pthread
  829. with_rt
  830. with_tcl
  831. enable_lubheap
  832. enable_gpl
  833. '
  834. ac_precious_vars='build_alias
  835. host_alias
  836. target_alias
  837. CC
  838. CFLAGS
  839. LDFLAGS
  840. LIBS
  841. CPPFLAGS
  842. CXX
  843. CXXFLAGS
  844. CCC
  845. CPP
  846. CXXCPP'
  847. # Initialize some variables set by options.
  848. ac_init_help=
  849. ac_init_version=false
  850. ac_unrecognized_opts=
  851. ac_unrecognized_sep=
  852. # The variables have the same names as the options, with
  853. # dashes changed to underlines.
  854. cache_file=/dev/null
  855. exec_prefix=NONE
  856. no_create=
  857. no_recursion=
  858. prefix=NONE
  859. program_prefix=NONE
  860. program_suffix=NONE
  861. program_transform_name=s,x,x,
  862. silent=
  863. site=
  864. srcdir=
  865. verbose=
  866. x_includes=NONE
  867. x_libraries=NONE
  868. # Installation directory options.
  869. # These are left unexpanded so users can "make install exec_prefix=/foo"
  870. # and all the variables that are supposed to be based on exec_prefix
  871. # by default will actually change.
  872. # Use braces instead of parens because sh, perl, etc. also accept them.
  873. # (The list follows the same order as the GNU Coding Standards.)
  874. bindir='${exec_prefix}/bin'
  875. sbindir='${exec_prefix}/sbin'
  876. libexecdir='${exec_prefix}/libexec'
  877. datarootdir='${prefix}/share'
  878. datadir='${datarootdir}'
  879. sysconfdir='${prefix}/etc'
  880. sharedstatedir='${prefix}/com'
  881. localstatedir='${prefix}/var'
  882. includedir='${prefix}/include'
  883. oldincludedir='/usr/include'
  884. docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
  885. infodir='${datarootdir}/info'
  886. htmldir='${docdir}'
  887. dvidir='${docdir}'
  888. pdfdir='${docdir}'
  889. psdir='${docdir}'
  890. libdir='${exec_prefix}/lib'
  891. localedir='${datarootdir}/locale'
  892. mandir='${datarootdir}/man'
  893. ac_prev=
  894. ac_dashdash=
  895. for ac_option
  896. do
  897. # If the previous option needs an argument, assign it.
  898. if test -n "$ac_prev"; then
  899. eval $ac_prev=\$ac_option
  900. ac_prev=
  901. continue
  902. fi
  903. case $ac_option in
  904. *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
  905. *) ac_optarg=yes ;;
  906. esac
  907. # Accept the important Cygnus configure options, so we can diagnose typos.
  908. case $ac_dashdash$ac_option in
  909. --)
  910. ac_dashdash=yes ;;
  911. -bindir | --bindir | --bindi | --bind | --bin | --bi)
  912. ac_prev=bindir ;;
  913. -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  914. bindir=$ac_optarg ;;
  915. -build | --build | --buil | --bui | --bu)
  916. ac_prev=build_alias ;;
  917. -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  918. build_alias=$ac_optarg ;;
  919. -cache-file | --cache-file | --cache-fil | --cache-fi \
  920. | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  921. ac_prev=cache_file ;;
  922. -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  923. | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  924. cache_file=$ac_optarg ;;
  925. --config-cache | -C)
  926. cache_file=config.cache ;;
  927. -datadir | --datadir | --datadi | --datad)
  928. ac_prev=datadir ;;
  929. -datadir=* | --datadir=* | --datadi=* | --datad=*)
  930. datadir=$ac_optarg ;;
  931. -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
  932. | --dataroo | --dataro | --datar)
  933. ac_prev=datarootdir ;;
  934. -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
  935. | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
  936. datarootdir=$ac_optarg ;;
  937. -disable-* | --disable-*)
  938. ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  939. # Reject names that are not valid shell variable names.
  940. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  941. as_fn_error "invalid feature name: $ac_useropt"
  942. ac_useropt_orig=$ac_useropt
  943. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  944. case $ac_user_opts in
  945. *"
  946. "enable_$ac_useropt"
  947. "*) ;;
  948. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
  949. ac_unrecognized_sep=', ';;
  950. esac
  951. eval enable_$ac_useropt=no ;;
  952. -docdir | --docdir | --docdi | --doc | --do)
  953. ac_prev=docdir ;;
  954. -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
  955. docdir=$ac_optarg ;;
  956. -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
  957. ac_prev=dvidir ;;
  958. -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
  959. dvidir=$ac_optarg ;;
  960. -enable-* | --enable-*)
  961. ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  962. # Reject names that are not valid shell variable names.
  963. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  964. as_fn_error "invalid feature name: $ac_useropt"
  965. ac_useropt_orig=$ac_useropt
  966. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  967. case $ac_user_opts in
  968. *"
  969. "enable_$ac_useropt"
  970. "*) ;;
  971. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
  972. ac_unrecognized_sep=', ';;
  973. esac
  974. eval enable_$ac_useropt=\$ac_optarg ;;
  975. -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  976. | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  977. | --exec | --exe | --ex)
  978. ac_prev=exec_prefix ;;
  979. -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  980. | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  981. | --exec=* | --exe=* | --ex=*)
  982. exec_prefix=$ac_optarg ;;
  983. -gas | --gas | --ga | --g)
  984. # Obsolete; use --with-gas.
  985. with_gas=yes ;;
  986. -help | --help | --hel | --he | -h)
  987. ac_init_help=long ;;
  988. -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  989. ac_init_help=recursive ;;
  990. -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  991. ac_init_help=short ;;
  992. -host | --host | --hos | --ho)
  993. ac_prev=host_alias ;;
  994. -host=* | --host=* | --hos=* | --ho=*)
  995. host_alias=$ac_optarg ;;
  996. -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
  997. ac_prev=htmldir ;;
  998. -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
  999. | --ht=*)
  1000. htmldir=$ac_optarg ;;
  1001. -includedir | --includedir | --includedi | --included | --include \
  1002. | --includ | --inclu | --incl | --inc)
  1003. ac_prev=includedir ;;
  1004. -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  1005. | --includ=* | --inclu=* | --incl=* | --inc=*)
  1006. includedir=$ac_optarg ;;
  1007. -infodir | --infodir | --infodi | --infod | --info | --inf)
  1008. ac_prev=infodir ;;
  1009. -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  1010. infodir=$ac_optarg ;;
  1011. -libdir | --libdir | --libdi | --libd)
  1012. ac_prev=libdir ;;
  1013. -libdir=* | --libdir=* | --libdi=* | --libd=*)
  1014. libdir=$ac_optarg ;;
  1015. -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  1016. | --libexe | --libex | --libe)
  1017. ac_prev=libexecdir ;;
  1018. -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  1019. | --libexe=* | --libex=* | --libe=*)
  1020. libexecdir=$ac_optarg ;;
  1021. -localedir | --localedir | --localedi | --localed | --locale)
  1022. ac_prev=localedir ;;
  1023. -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
  1024. localedir=$ac_optarg ;;
  1025. -localstatedir | --localstatedir | --localstatedi | --localstated \
  1026. | --localstate | --localstat | --localsta | --localst | --locals)
  1027. ac_prev=localstatedir ;;
  1028. -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  1029. | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
  1030. localstatedir=$ac_optarg ;;
  1031. -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  1032. ac_prev=mandir ;;
  1033. -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  1034. mandir=$ac_optarg ;;
  1035. -nfp | --nfp | --nf)
  1036. # Obsolete; use --without-fp.
  1037. with_fp=no ;;
  1038. -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  1039. | --no-cr | --no-c | -n)
  1040. no_create=yes ;;
  1041. -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  1042. | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  1043. no_recursion=yes ;;
  1044. -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  1045. | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  1046. | --oldin | --oldi | --old | --ol | --o)
  1047. ac_prev=oldincludedir ;;
  1048. -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  1049. | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  1050. | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  1051. oldincludedir=$ac_optarg ;;
  1052. -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  1053. ac_prev=prefix ;;
  1054. -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  1055. prefix=$ac_optarg ;;
  1056. -program-prefix | --program-prefix | --program-prefi | --program-pref \
  1057. | --program-pre | --program-pr | --program-p)
  1058. ac_prev=program_prefix ;;
  1059. -program-prefix=* | --program-prefix=* | --program-prefi=* \
  1060. | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  1061. program_prefix=$ac_optarg ;;
  1062. -program-suffix | --program-suffix | --program-suffi | --program-suff \
  1063. | --program-suf | --program-su | --program-s)
  1064. ac_prev=program_suffix ;;
  1065. -program-suffix=* | --program-suffix=* | --program-suffi=* \
  1066. | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  1067. program_suffix=$ac_optarg ;;
  1068. -program-transform-name | --program-transform-name \
  1069. | --program-transform-nam | --program-transform-na \
  1070. | --program-transform-n | --program-transform- \
  1071. | --program-transform | --program-transfor \
  1072. | --program-transfo | --program-transf \
  1073. | --program-trans | --program-tran \
  1074. | --progr-tra | --program-tr | --program-t)
  1075. ac_prev=program_transform_name ;;
  1076. -program-transform-name=* | --program-transform-name=* \
  1077. | --program-transform-nam=* | --program-transform-na=* \
  1078. | --program-transform-n=* | --program-transform-=* \
  1079. | --program-transform=* | --program-transfor=* \
  1080. | --program-transfo=* | --program-transf=* \
  1081. | --program-trans=* | --program-tran=* \
  1082. | --progr-tra=* | --program-tr=* | --program-t=*)
  1083. program_transform_name=$ac_optarg ;;
  1084. -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
  1085. ac_prev=pdfdir ;;
  1086. -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
  1087. pdfdir=$ac_optarg ;;
  1088. -psdir | --psdir | --psdi | --psd | --ps)
  1089. ac_prev=psdir ;;
  1090. -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
  1091. psdir=$ac_optarg ;;
  1092. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1093. | -silent | --silent | --silen | --sile | --sil)
  1094. silent=yes ;;
  1095. -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  1096. ac_prev=sbindir ;;
  1097. -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  1098. | --sbi=* | --sb=*)
  1099. sbindir=$ac_optarg ;;
  1100. -sharedstatedir | --sharedstatedir | --sharedstatedi \
  1101. | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  1102. | --sharedst | --shareds | --shared | --share | --shar \
  1103. | --sha | --sh)
  1104. ac_prev=sharedstatedir ;;
  1105. -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  1106. | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  1107. | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  1108. | --sha=* | --sh=*)
  1109. sharedstatedir=$ac_optarg ;;
  1110. -site | --site | --sit)
  1111. ac_prev=site ;;
  1112. -site=* | --site=* | --sit=*)
  1113. site=$ac_optarg ;;
  1114. -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  1115. ac_prev=srcdir ;;
  1116. -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  1117. srcdir=$ac_optarg ;;
  1118. -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  1119. | --syscon | --sysco | --sysc | --sys | --sy)
  1120. ac_prev=sysconfdir ;;
  1121. -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  1122. | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  1123. sysconfdir=$ac_optarg ;;
  1124. -target | --target | --targe | --targ | --tar | --ta | --t)
  1125. ac_prev=target_alias ;;
  1126. -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  1127. target_alias=$ac_optarg ;;
  1128. -v | -verbose | --verbose | --verbos | --verbo | --verb)
  1129. verbose=yes ;;
  1130. -version | --version | --versio | --versi | --vers | -V)
  1131. ac_init_version=: ;;
  1132. -with-* | --with-*)
  1133. ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  1134. # Reject names that are not valid shell variable names.
  1135. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1136. as_fn_error "invalid package name: $ac_useropt"
  1137. ac_useropt_orig=$ac_useropt
  1138. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1139. case $ac_user_opts in
  1140. *"
  1141. "with_$ac_useropt"
  1142. "*) ;;
  1143. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
  1144. ac_unrecognized_sep=', ';;
  1145. esac
  1146. eval with_$ac_useropt=\$ac_optarg ;;
  1147. -without-* | --without-*)
  1148. ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  1149. # Reject names that are not valid shell variable names.
  1150. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1151. as_fn_error "invalid package name: $ac_useropt"
  1152. ac_useropt_orig=$ac_useropt
  1153. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1154. case $ac_user_opts in
  1155. *"
  1156. "with_$ac_useropt"
  1157. "*) ;;
  1158. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
  1159. ac_unrecognized_sep=', ';;
  1160. esac
  1161. eval with_$ac_useropt=no ;;
  1162. --x)
  1163. # Obsolete; use --with-x.
  1164. with_x=yes ;;
  1165. -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  1166. | --x-incl | --x-inc | --x-in | --x-i)
  1167. ac_prev=x_includes ;;
  1168. -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  1169. | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  1170. x_includes=$ac_optarg ;;
  1171. -x-libraries | --x-libraries | --x-librarie | --x-librari \
  1172. | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  1173. ac_prev=x_libraries ;;
  1174. -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  1175. | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  1176. x_libraries=$ac_optarg ;;
  1177. -*) as_fn_error "unrecognized option: \`$ac_option'
  1178. Try \`$0 --help' for more information."
  1179. ;;
  1180. *=*)
  1181. ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  1182. # Reject names that are not valid shell variable names.
  1183. case $ac_envvar in #(
  1184. '' | [0-9]* | *[!_$as_cr_alnum]* )
  1185. as_fn_error "invalid variable name: \`$ac_envvar'" ;;
  1186. esac
  1187. eval $ac_envvar=\$ac_optarg
  1188. export $ac_envvar ;;
  1189. *)
  1190. # FIXME: should be removed in autoconf 3.0.
  1191. $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  1192. expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  1193. $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  1194. : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
  1195. ;;
  1196. esac
  1197. done
  1198. if test -n "$ac_prev"; then
  1199. ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  1200. as_fn_error "missing argument to $ac_option"
  1201. fi
  1202. if test -n "$ac_unrecognized_opts"; then
  1203. case $enable_option_checking in
  1204. no) ;;
  1205. fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
  1206. *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
  1207. esac
  1208. fi
  1209. # Check all directory arguments for consistency.
  1210. for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
  1211. datadir sysconfdir sharedstatedir localstatedir includedir \
  1212. oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
  1213. libdir localedir mandir
  1214. do
  1215. eval ac_val=\$$ac_var
  1216. # Remove trailing slashes.
  1217. case $ac_val in
  1218. */ )
  1219. ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
  1220. eval $ac_var=\$ac_val;;
  1221. esac
  1222. # Be sure to have absolute directory names.
  1223. case $ac_val in
  1224. [\\/$]* | ?:[\\/]* ) continue;;
  1225. NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
  1226. esac
  1227. as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
  1228. done
  1229. # There might be people who depend on the old broken behavior: `$host'
  1230. # used to hold the argument of --host etc.
  1231. # FIXME: To remove some day.
  1232. build=$build_alias
  1233. host=$host_alias
  1234. target=$target_alias
  1235. # FIXME: To remove some day.
  1236. if test "x$host_alias" != x; then
  1237. if test "x$build_alias" = x; then
  1238. cross_compiling=maybe
  1239. $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
  1240. If a cross compiler is detected then cross compile mode will be used." >&2
  1241. elif test "x$build_alias" != "x$host_alias"; then
  1242. cross_compiling=yes
  1243. fi
  1244. fi
  1245. ac_tool_prefix=
  1246. test -n "$host_alias" && ac_tool_prefix=$host_alias-
  1247. test "$silent" = yes && exec 6>/dev/null
  1248. ac_pwd=`pwd` && test -n "$ac_pwd" &&
  1249. ac_ls_di=`ls -di .` &&
  1250. ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
  1251. as_fn_error "working directory cannot be determined"
  1252. test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
  1253. as_fn_error "pwd does not report name of working directory"
  1254. # Find the source files, if location was not specified.
  1255. if test -z "$srcdir"; then
  1256. ac_srcdir_defaulted=yes
  1257. # Try the directory containing this script, then the parent directory.
  1258. ac_confdir=`$as_dirname -- "$as_myself" ||
  1259. $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1260. X"$as_myself" : 'X\(//\)[^/]' \| \
  1261. X"$as_myself" : 'X\(//\)$' \| \
  1262. X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
  1263. $as_echo X"$as_myself" |
  1264. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  1265. s//\1/
  1266. q
  1267. }
  1268. /^X\(\/\/\)[^/].*/{
  1269. s//\1/
  1270. q
  1271. }
  1272. /^X\(\/\/\)$/{
  1273. s//\1/
  1274. q
  1275. }
  1276. /^X\(\/\).*/{
  1277. s//\1/
  1278. q
  1279. }
  1280. s/.*/./; q'`
  1281. srcdir=$ac_confdir
  1282. if test ! -r "$srcdir/$ac_unique_file"; then
  1283. srcdir=..
  1284. fi
  1285. else
  1286. ac_srcdir_defaulted=no
  1287. fi
  1288. if test ! -r "$srcdir/$ac_unique_file"; then
  1289. test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
  1290. as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
  1291. fi
  1292. ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
  1293. ac_abs_confdir=`(
  1294. cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
  1295. pwd)`
  1296. # When building in place, set srcdir=.
  1297. if test "$ac_abs_confdir" = "$ac_pwd"; then
  1298. srcdir=.
  1299. fi
  1300. # Remove unnecessary trailing slashes from srcdir.
  1301. # Double slashes in file names in object file debugging info
  1302. # mess up M-x gdb in Emacs.
  1303. case $srcdir in
  1304. */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
  1305. esac
  1306. for ac_var in $ac_precious_vars; do
  1307. eval ac_env_${ac_var}_set=\${${ac_var}+set}
  1308. eval ac_env_${ac_var}_value=\$${ac_var}
  1309. eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
  1310. eval ac_cv_env_${ac_var}_value=\$${ac_var}
  1311. done
  1312. #
  1313. # Report the --help message.
  1314. #
  1315. if test "$ac_init_help" = "long"; then
  1316. # Omit some internal or obsolete options to make the list less imposing.
  1317. # This message is too long to be a string in the A/UX 3.1 sh.
  1318. cat <<_ACEOF
  1319. \`configure' configures clish 1.3.0 to adapt to many kinds of systems.
  1320. Usage: $0 [OPTION]... [VAR=VALUE]...
  1321. To assign environment variables (e.g., CC, CFLAGS...), specify them as
  1322. VAR=VALUE. See below for descriptions of some of the useful variables.
  1323. Defaults for the options are specified in brackets.
  1324. Configuration:
  1325. -h, --help display this help and exit
  1326. --help=short display options specific to this package
  1327. --help=recursive display the short help of all the included packages
  1328. -V, --version display version information and exit
  1329. -q, --quiet, --silent do not print \`checking...' messages
  1330. --cache-file=FILE cache test results in FILE [disabled]
  1331. -C, --config-cache alias for \`--cache-file=config.cache'
  1332. -n, --no-create do not create output files
  1333. --srcdir=DIR find the sources in DIR [configure dir or \`..']
  1334. Installation directories:
  1335. --prefix=PREFIX install architecture-independent files in PREFIX
  1336. [$ac_default_prefix]
  1337. --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
  1338. [PREFIX]
  1339. By default, \`make install' will install all the files in
  1340. \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
  1341. an installation prefix other than \`$ac_default_prefix' using \`--prefix',
  1342. for instance \`--prefix=\$HOME'.
  1343. For better control, use the options below.
  1344. Fine tuning of the installation directories:
  1345. --bindir=DIR user executables [EPREFIX/bin]
  1346. --sbindir=DIR system admin executables [EPREFIX/sbin]
  1347. --libexecdir=DIR program executables [EPREFIX/libexec]
  1348. --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
  1349. --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
  1350. --localstatedir=DIR modifiable single-machine data [PREFIX/var]
  1351. --libdir=DIR object code libraries [EPREFIX/lib]
  1352. --includedir=DIR C header files [PREFIX/include]
  1353. --oldincludedir=DIR C header files for non-gcc [/usr/include]
  1354. --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
  1355. --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
  1356. --infodir=DIR info documentation [DATAROOTDIR/info]
  1357. --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
  1358. --mandir=DIR man documentation [DATAROOTDIR/man]
  1359. --docdir=DIR documentation root [DATAROOTDIR/doc/clish]
  1360. --htmldir=DIR html documentation [DOCDIR]
  1361. --dvidir=DIR dvi documentation [DOCDIR]
  1362. --pdfdir=DIR pdf documentation [DOCDIR]
  1363. --psdir=DIR ps documentation [DOCDIR]
  1364. _ACEOF
  1365. cat <<\_ACEOF
  1366. Program names:
  1367. --program-prefix=PREFIX prepend PREFIX to installed program names
  1368. --program-suffix=SUFFIX append SUFFIX to installed program names
  1369. --program-transform-name=PROGRAM run sed PROGRAM on installed program names
  1370. System types:
  1371. --build=BUILD configure for building on BUILD [guessed]
  1372. --host=HOST cross-compile to build programs to run on HOST [BUILD]
  1373. _ACEOF
  1374. fi
  1375. if test -n "$ac_init_help"; then
  1376. case $ac_init_help in
  1377. short | recursive ) echo "Configuration of clish 1.3.0:";;
  1378. esac
  1379. cat <<\_ACEOF
  1380. Optional Features:
  1381. --disable-option-checking ignore unrecognized --enable/--with options
  1382. --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
  1383. --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
  1384. --enable-shared[=PKGS] build shared libraries [default=yes]
  1385. --enable-static[=PKGS] build static libraries [default=yes]
  1386. --enable-fast-install[=PKGS]
  1387. optimize for fast installation [default=yes]
  1388. --disable-libtool-lock avoid locking (might break parallel builds)
  1389. --disable-dependency-tracking speeds up one-time build
  1390. --enable-dependency-tracking do not reject slow dependency extractors
  1391. --enable-debug Turn on debugging including asserts [default=no]
  1392. --enable-lubheap Replace standard memory libaries with lubheap
  1393. (EXPERIMENTAL) [default=no]
  1394. --enable-gpl Link with GPL licenced libraries [default=yes]
  1395. Optional Packages:
  1396. --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
  1397. --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
  1398. --with-pic try to use only PIC/non-PIC objects [default=use
  1399. both]
  1400. --with-gnu-ld assume the C compiler uses GNU ld [default=no]
  1401. --with-pthread=DIR Use POSIX threads library distribution in DIR
  1402. --with-rt=DIR Use POSIX real time library distribution in DIR
  1403. --with-tcl=DIR Use TCL library distribution in DIR
  1404. Some influential environment variables:
  1405. CC C compiler command
  1406. CFLAGS C compiler flags
  1407. LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
  1408. nonstandard directory <lib dir>
  1409. LIBS libraries to pass to the linker, e.g. -l<library>
  1410. CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
  1411. you have headers in a nonstandard directory <include dir>
  1412. CXX C++ compiler command
  1413. CXXFLAGS C++ compiler flags
  1414. CPP C preprocessor
  1415. CXXCPP C++ preprocessor
  1416. Use these variables to override the choices made by `configure' or to help
  1417. it to find libraries and programs with nonstandard names/locations.
  1418. Report bugs to <serj.kalichev at gmail dot com>.
  1419. _ACEOF
  1420. ac_status=$?
  1421. fi
  1422. if test "$ac_init_help" = "recursive"; then
  1423. # If there are subdirs, report their specific --help.
  1424. for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  1425. test -d "$ac_dir" ||
  1426. { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
  1427. continue
  1428. ac_builddir=.
  1429. case "$ac_dir" in
  1430. .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1431. *)
  1432. ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  1433. # A ".." for each directory in $ac_dir_suffix.
  1434. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  1435. case $ac_top_builddir_sub in
  1436. "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1437. *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  1438. esac ;;
  1439. esac
  1440. ac_abs_top_builddir=$ac_pwd
  1441. ac_abs_builddir=$ac_pwd$ac_dir_suffix
  1442. # for backward compatibility:
  1443. ac_top_builddir=$ac_top_build_prefix
  1444. case $srcdir in
  1445. .) # We are building in place.
  1446. ac_srcdir=.
  1447. ac_top_srcdir=$ac_top_builddir_sub
  1448. ac_abs_top_srcdir=$ac_pwd ;;
  1449. [\\/]* | ?:[\\/]* ) # Absolute name.
  1450. ac_srcdir=$srcdir$ac_dir_suffix;
  1451. ac_top_srcdir=$srcdir
  1452. ac_abs_top_srcdir=$srcdir ;;
  1453. *) # Relative name.
  1454. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  1455. ac_top_srcdir=$ac_top_build_prefix$srcdir
  1456. ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  1457. esac
  1458. ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  1459. cd "$ac_dir" || { ac_status=$?; continue; }
  1460. # Check for guested configure.
  1461. if test -f "$ac_srcdir/configure.gnu"; then
  1462. echo &&
  1463. $SHELL "$ac_srcdir/configure.gnu" --help=recursive
  1464. elif test -f "$ac_srcdir/configure"; then
  1465. echo &&
  1466. $SHELL "$ac_srcdir/configure" --help=recursive
  1467. else
  1468. $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  1469. fi || ac_status=$?
  1470. cd "$ac_pwd" || { ac_status=$?; break; }
  1471. done
  1472. fi
  1473. test -n "$ac_init_help" && exit $ac_status
  1474. if $ac_init_version; then
  1475. cat <<\_ACEOF
  1476. clish configure 1.3.0
  1477. generated by GNU Autoconf 2.64
  1478. Copyright (C) 2009 Free Software Foundation, Inc.
  1479. This configure script is free software; the Free Software Foundation
  1480. gives unlimited permission to copy, distribute and modify it.
  1481. _ACEOF
  1482. exit
  1483. fi
  1484. ## ------------------------ ##
  1485. ## Autoconf initialization. ##
  1486. ## ------------------------ ##
  1487. # ac_fn_c_try_compile LINENO
  1488. # --------------------------
  1489. # Try to compile conftest.$ac_ext, and return whether this succeeded.
  1490. ac_fn_c_try_compile ()
  1491. {
  1492. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1493. rm -f conftest.$ac_objext
  1494. if { { ac_try="$ac_compile"
  1495. case "(($ac_try" in
  1496. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1497. *) ac_try_echo=$ac_try;;
  1498. esac
  1499. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1500. $as_echo "$ac_try_echo"; } >&5
  1501. (eval "$ac_compile") 2>conftest.err
  1502. ac_status=$?
  1503. if test -s conftest.err; then
  1504. grep -v '^ *+' conftest.err >conftest.er1
  1505. cat conftest.er1 >&5
  1506. mv -f conftest.er1 conftest.err
  1507. fi
  1508. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1509. test $ac_status = 0; } && {
  1510. test -z "$ac_c_werror_flag" ||
  1511. test ! -s conftest.err
  1512. } && test -s conftest.$ac_objext; then :
  1513. ac_retval=0
  1514. else
  1515. $as_echo "$as_me: failed program was:" >&5
  1516. sed 's/^/| /' conftest.$ac_ext >&5
  1517. ac_retval=1
  1518. fi
  1519. eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  1520. return $ac_retval
  1521. } # ac_fn_c_try_compile
  1522. # ac_fn_cxx_try_compile LINENO
  1523. # ----------------------------
  1524. # Try to compile conftest.$ac_ext, and return whether this succeeded.
  1525. ac_fn_cxx_try_compile ()
  1526. {
  1527. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1528. rm -f conftest.$ac_objext
  1529. if { { ac_try="$ac_compile"
  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_compile") 2>conftest.err
  1537. ac_status=$?
  1538. if test -s conftest.err; then
  1539. grep -v '^ *+' conftest.err >conftest.er1
  1540. cat conftest.er1 >&5
  1541. mv -f conftest.er1 conftest.err
  1542. fi
  1543. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1544. test $ac_status = 0; } && {
  1545. test -z "$ac_cxx_werror_flag" ||
  1546. test ! -s conftest.err
  1547. } && test -s conftest.$ac_objext; then :
  1548. ac_retval=0
  1549. else
  1550. $as_echo "$as_me: failed program was:" >&5
  1551. sed 's/^/| /' conftest.$ac_ext >&5
  1552. ac_retval=1
  1553. fi
  1554. eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  1555. return $ac_retval
  1556. } # ac_fn_cxx_try_compile
  1557. # ac_fn_c_try_link LINENO
  1558. # -----------------------
  1559. # Try to link conftest.$ac_ext, and return whether this succeeded.
  1560. ac_fn_c_try_link ()
  1561. {
  1562. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1563. rm -f conftest.$ac_objext conftest$ac_exeext
  1564. if { { ac_try="$ac_link"
  1565. case "(($ac_try" in
  1566. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1567. *) ac_try_echo=$ac_try;;
  1568. esac
  1569. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1570. $as_echo "$ac_try_echo"; } >&5
  1571. (eval "$ac_link") 2>conftest.err
  1572. ac_status=$?
  1573. if test -s conftest.err; then
  1574. grep -v '^ *+' conftest.err >conftest.er1
  1575. cat conftest.er1 >&5
  1576. mv -f conftest.er1 conftest.err
  1577. fi
  1578. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1579. test $ac_status = 0; } && {
  1580. test -z "$ac_c_werror_flag" ||
  1581. test ! -s conftest.err
  1582. } && test -s conftest$ac_exeext && {
  1583. test "$cross_compiling" = yes ||
  1584. $as_test_x conftest$ac_exeext
  1585. }; then :
  1586. ac_retval=0
  1587. else
  1588. $as_echo "$as_me: failed program was:" >&5
  1589. sed 's/^/| /' conftest.$ac_ext >&5
  1590. ac_retval=1
  1591. fi
  1592. # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
  1593. # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
  1594. # interfere with the next link command; also delete a directory that is
  1595. # left behind by Apple's compiler. We do this before executing the actions.
  1596. rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  1597. eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  1598. return $ac_retval
  1599. } # ac_fn_c_try_link
  1600. # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
  1601. # -------------------------------------------------------
  1602. # Tests whether HEADER exists and can be compiled using the include files in
  1603. # INCLUDES, setting the cache variable VAR accordingly.
  1604. ac_fn_c_check_header_compile ()
  1605. {
  1606. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1607. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1608. $as_echo_n "checking for $2... " >&6; }
  1609. if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
  1610. $as_echo_n "(cached) " >&6
  1611. else
  1612. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1613. /* end confdefs.h. */
  1614. $4
  1615. #include <$2>
  1616. _ACEOF
  1617. if ac_fn_c_try_compile "$LINENO"; then :
  1618. eval "$3=yes"
  1619. else
  1620. eval "$3=no"
  1621. fi
  1622. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1623. fi
  1624. eval ac_res=\$$3
  1625. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1626. $as_echo "$ac_res" >&6; }
  1627. eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  1628. } # ac_fn_c_check_header_compile
  1629. # ac_fn_c_try_cpp LINENO
  1630. # ----------------------
  1631. # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
  1632. ac_fn_c_try_cpp ()
  1633. {
  1634. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1635. if { { ac_try="$ac_cpp conftest.$ac_ext"
  1636. case "(($ac_try" in
  1637. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1638. *) ac_try_echo=$ac_try;;
  1639. esac
  1640. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1641. $as_echo "$ac_try_echo"; } >&5
  1642. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
  1643. ac_status=$?
  1644. if test -s conftest.err; then
  1645. grep -v '^ *+' conftest.err >conftest.er1
  1646. cat conftest.er1 >&5
  1647. mv -f conftest.er1 conftest.err
  1648. fi
  1649. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1650. test $ac_status = 0; } >/dev/null && {
  1651. test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  1652. test ! -s conftest.err
  1653. }; then :
  1654. ac_retval=0
  1655. else
  1656. $as_echo "$as_me: failed program was:" >&5
  1657. sed 's/^/| /' conftest.$ac_ext >&5
  1658. ac_retval=1
  1659. fi
  1660. eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  1661. return $ac_retval
  1662. } # ac_fn_c_try_cpp
  1663. # ac_fn_c_try_run LINENO
  1664. # ----------------------
  1665. # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
  1666. # that executables *can* be run.
  1667. ac_fn_c_try_run ()
  1668. {
  1669. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1670. if { { ac_try="$ac_link"
  1671. case "(($ac_try" in
  1672. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1673. *) ac_try_echo=$ac_try;;
  1674. esac
  1675. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1676. $as_echo "$ac_try_echo"; } >&5
  1677. (eval "$ac_link") 2>&5
  1678. ac_status=$?
  1679. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1680. test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
  1681. { { case "(($ac_try" in
  1682. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1683. *) ac_try_echo=$ac_try;;
  1684. esac
  1685. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1686. $as_echo "$ac_try_echo"; } >&5
  1687. (eval "$ac_try") 2>&5
  1688. ac_status=$?
  1689. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1690. test $ac_status = 0; }; }; then :
  1691. ac_retval=0
  1692. else
  1693. $as_echo "$as_me: program exited with status $ac_status" >&5
  1694. $as_echo "$as_me: failed program was:" >&5
  1695. sed 's/^/| /' conftest.$ac_ext >&5
  1696. ac_retval=$ac_status
  1697. fi
  1698. rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  1699. eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  1700. return $ac_retval
  1701. } # ac_fn_c_try_run
  1702. # ac_fn_c_check_func LINENO FUNC VAR
  1703. # ----------------------------------
  1704. # Tests whether FUNC exists, setting the cache variable VAR accordingly
  1705. ac_fn_c_check_func ()
  1706. {
  1707. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1708. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1709. $as_echo_n "checking for $2... " >&6; }
  1710. if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
  1711. $as_echo_n "(cached) " >&6
  1712. else
  1713. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1714. /* end confdefs.h. */
  1715. /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
  1716. For example, HP-UX 11i <limits.h> declares gettimeofday. */
  1717. #define $2 innocuous_$2
  1718. /* System header to define __stub macros and hopefully few prototypes,
  1719. which can conflict with char $2 (); below.
  1720. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  1721. <limits.h> exists even on freestanding compilers. */
  1722. #ifdef __STDC__
  1723. # include <limits.h>
  1724. #else
  1725. # include <assert.h>
  1726. #endif
  1727. #undef $2
  1728. /* Override any GCC internal prototype to avoid an error.
  1729. Use char because int might match the return type of a GCC
  1730. builtin and then its argument prototype would still apply. */
  1731. #ifdef __cplusplus
  1732. extern "C"
  1733. #endif
  1734. char $2 ();
  1735. /* The GNU C library defines this for functions which it implements
  1736. to always fail with ENOSYS. Some functions are actually named
  1737. something starting with __ and the normal name is an alias. */
  1738. #if defined __stub_$2 || defined __stub___$2
  1739. choke me
  1740. #endif
  1741. int
  1742. main ()
  1743. {
  1744. return $2 ();
  1745. ;
  1746. return 0;
  1747. }
  1748. _ACEOF
  1749. if ac_fn_c_try_link "$LINENO"; then :
  1750. eval "$3=yes"
  1751. else
  1752. eval "$3=no"
  1753. fi
  1754. rm -f core conftest.err conftest.$ac_objext \
  1755. conftest$ac_exeext conftest.$ac_ext
  1756. fi
  1757. eval ac_res=\$$3
  1758. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1759. $as_echo "$ac_res" >&6; }
  1760. eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  1761. } # ac_fn_c_check_func
  1762. # ac_fn_cxx_try_cpp LINENO
  1763. # ------------------------
  1764. # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
  1765. ac_fn_cxx_try_cpp ()
  1766. {
  1767. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1768. if { { ac_try="$ac_cpp conftest.$ac_ext"
  1769. case "(($ac_try" in
  1770. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1771. *) ac_try_echo=$ac_try;;
  1772. esac
  1773. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1774. $as_echo "$ac_try_echo"; } >&5
  1775. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
  1776. ac_status=$?
  1777. if test -s conftest.err; then
  1778. grep -v '^ *+' conftest.err >conftest.er1
  1779. cat conftest.er1 >&5
  1780. mv -f conftest.er1 conftest.err
  1781. fi
  1782. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1783. test $ac_status = 0; } >/dev/null && {
  1784. test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
  1785. test ! -s conftest.err
  1786. }; then :
  1787. ac_retval=0
  1788. else
  1789. $as_echo "$as_me: failed program was:" >&5
  1790. sed 's/^/| /' conftest.$ac_ext >&5
  1791. ac_retval=1
  1792. fi
  1793. eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  1794. return $ac_retval
  1795. } # ac_fn_cxx_try_cpp
  1796. # ac_fn_cxx_try_link LINENO
  1797. # -------------------------
  1798. # Try to link conftest.$ac_ext, and return whether this succeeded.
  1799. ac_fn_cxx_try_link ()
  1800. {
  1801. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1802. rm -f conftest.$ac_objext conftest$ac_exeext
  1803. if { { ac_try="$ac_link"
  1804. case "(($ac_try" in
  1805. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1806. *) ac_try_echo=$ac_try;;
  1807. esac
  1808. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1809. $as_echo "$ac_try_echo"; } >&5
  1810. (eval "$ac_link") 2>conftest.err
  1811. ac_status=$?
  1812. if test -s conftest.err; then
  1813. grep -v '^ *+' conftest.err >conftest.er1
  1814. cat conftest.er1 >&5
  1815. mv -f conftest.er1 conftest.err
  1816. fi
  1817. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1818. test $ac_status = 0; } && {
  1819. test -z "$ac_cxx_werror_flag" ||
  1820. test ! -s conftest.err
  1821. } && test -s conftest$ac_exeext && {
  1822. test "$cross_compiling" = yes ||
  1823. $as_test_x conftest$ac_exeext
  1824. }; then :
  1825. ac_retval=0
  1826. else
  1827. $as_echo "$as_me: failed program was:" >&5
  1828. sed 's/^/| /' conftest.$ac_ext >&5
  1829. ac_retval=1
  1830. fi
  1831. # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
  1832. # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
  1833. # interfere with the next link command; also delete a directory that is
  1834. # left behind by Apple's compiler. We do this before executing the actions.
  1835. rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  1836. eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  1837. return $ac_retval
  1838. } # ac_fn_cxx_try_link
  1839. # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
  1840. # --------------------------------------------
  1841. # Tries to find the compile-time value of EXPR in a program that includes
  1842. # INCLUDES, setting VAR accordingly. Returns whether the value could be
  1843. # computed
  1844. ac_fn_c_compute_int ()
  1845. {
  1846. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1847. if test "$cross_compiling" = yes; then
  1848. # Depending upon the size, compute the lo and hi bounds.
  1849. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1850. /* end confdefs.h. */
  1851. $4
  1852. int
  1853. main ()
  1854. {
  1855. static int test_array [1 - 2 * !(($2) >= 0)];
  1856. test_array [0] = 0
  1857. ;
  1858. return 0;
  1859. }
  1860. _ACEOF
  1861. if ac_fn_c_try_compile "$LINENO"; then :
  1862. ac_lo=0 ac_mid=0
  1863. while :; do
  1864. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1865. /* end confdefs.h. */
  1866. $4
  1867. int
  1868. main ()
  1869. {
  1870. static int test_array [1 - 2 * !(($2) <= $ac_mid)];
  1871. test_array [0] = 0
  1872. ;
  1873. return 0;
  1874. }
  1875. _ACEOF
  1876. if ac_fn_c_try_compile "$LINENO"; then :
  1877. ac_hi=$ac_mid; break
  1878. else
  1879. as_fn_arith $ac_mid + 1 && ac_lo=$as_val
  1880. if test $ac_lo -le $ac_mid; then
  1881. ac_lo= ac_hi=
  1882. break
  1883. fi
  1884. as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
  1885. fi
  1886. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1887. done
  1888. else
  1889. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1890. /* end confdefs.h. */
  1891. $4
  1892. int
  1893. main ()
  1894. {
  1895. static int test_array [1 - 2 * !(($2) < 0)];
  1896. test_array [0] = 0
  1897. ;
  1898. return 0;
  1899. }
  1900. _ACEOF
  1901. if ac_fn_c_try_compile "$LINENO"; then :
  1902. ac_hi=-1 ac_mid=-1
  1903. while :; do
  1904. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1905. /* end confdefs.h. */
  1906. $4
  1907. int
  1908. main ()
  1909. {
  1910. static int test_array [1 - 2 * !(($2) >= $ac_mid)];
  1911. test_array [0] = 0
  1912. ;
  1913. return 0;
  1914. }
  1915. _ACEOF
  1916. if ac_fn_c_try_compile "$LINENO"; then :
  1917. ac_lo=$ac_mid; break
  1918. else
  1919. as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
  1920. if test $ac_mid -le $ac_hi; then
  1921. ac_lo= ac_hi=
  1922. break
  1923. fi
  1924. as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
  1925. fi
  1926. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1927. done
  1928. else
  1929. ac_lo= ac_hi=
  1930. fi
  1931. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1932. fi
  1933. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1934. # Binary search between lo and hi bounds.
  1935. while test "x$ac_lo" != "x$ac_hi"; do
  1936. as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
  1937. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1938. /* end confdefs.h. */
  1939. $4
  1940. int
  1941. main ()
  1942. {
  1943. static int test_array [1 - 2 * !(($2) <= $ac_mid)];
  1944. test_array [0] = 0
  1945. ;
  1946. return 0;
  1947. }
  1948. _ACEOF
  1949. if ac_fn_c_try_compile "$LINENO"; then :
  1950. ac_hi=$ac_mid
  1951. else
  1952. as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
  1953. fi
  1954. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1955. done
  1956. case $ac_lo in #((
  1957. ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
  1958. '') ac_retval=1 ;;
  1959. esac
  1960. else
  1961. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1962. /* end confdefs.h. */
  1963. $4
  1964. static long int longval () { return $2; }
  1965. static unsigned long int ulongval () { return $2; }
  1966. #include <stdio.h>
  1967. #include <stdlib.h>
  1968. int
  1969. main ()
  1970. {
  1971. FILE *f = fopen ("conftest.val", "w");
  1972. if (! f)
  1973. return 1;
  1974. if (($2) < 0)
  1975. {
  1976. long int i = longval ();
  1977. if (i != ($2))
  1978. return 1;
  1979. fprintf (f, "%ld", i);
  1980. }
  1981. else
  1982. {
  1983. unsigned long int i = ulongval ();
  1984. if (i != ($2))
  1985. return 1;
  1986. fprintf (f, "%lu", i);
  1987. }
  1988. /* Do not output a trailing newline, as this causes \r\n confusion
  1989. on some platforms. */
  1990. return ferror (f) || fclose (f) != 0;
  1991. ;
  1992. return 0;
  1993. }
  1994. _ACEOF
  1995. if ac_fn_c_try_run "$LINENO"; then :
  1996. echo >>conftest.val; read $3 <conftest.val; ac_retval=0
  1997. else
  1998. ac_retval=1
  1999. fi
  2000. rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  2001. conftest.$ac_objext conftest.beam conftest.$ac_ext
  2002. rm -f conftest.val
  2003. fi
  2004. eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  2005. return $ac_retval
  2006. } # ac_fn_c_compute_int
  2007. # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
  2008. # -------------------------------------------------------
  2009. # Tests whether HEADER exists, giving a warning if it cannot be compiled using
  2010. # the include files in INCLUDES and setting the cache variable VAR
  2011. # accordingly.
  2012. ac_fn_c_check_header_mongrel ()
  2013. {
  2014. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  2015. if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
  2016. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  2017. $as_echo_n "checking for $2... " >&6; }
  2018. if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
  2019. $as_echo_n "(cached) " >&6
  2020. fi
  2021. eval ac_res=\$$3
  2022. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  2023. $as_echo "$ac_res" >&6; }
  2024. else
  2025. # Is the header compilable?
  2026. { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
  2027. $as_echo_n "checking $2 usability... " >&6; }
  2028. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2029. /* end confdefs.h. */
  2030. $4
  2031. #include <$2>
  2032. _ACEOF
  2033. if ac_fn_c_try_compile "$LINENO"; then :
  2034. ac_header_compiler=yes
  2035. else
  2036. ac_header_compiler=no
  2037. fi
  2038. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2039. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
  2040. $as_echo "$ac_header_compiler" >&6; }
  2041. # Is the header present?
  2042. { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
  2043. $as_echo_n "checking $2 presence... " >&6; }
  2044. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2045. /* end confdefs.h. */
  2046. #include <$2>
  2047. _ACEOF
  2048. if ac_fn_c_try_cpp "$LINENO"; then :
  2049. ac_header_preproc=yes
  2050. else
  2051. ac_header_preproc=no
  2052. fi
  2053. rm -f conftest.err conftest.$ac_ext
  2054. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
  2055. $as_echo "$ac_header_preproc" >&6; }
  2056. # So? What about this header?
  2057. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
  2058. yes:no: )
  2059. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
  2060. $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
  2061. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
  2062. $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
  2063. ;;
  2064. no:yes:* )
  2065. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
  2066. $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
  2067. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
  2068. $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
  2069. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
  2070. $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
  2071. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
  2072. $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
  2073. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
  2074. $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
  2075. ( cat <<\_ASBOX
  2076. ## --------------------------------------------- ##
  2077. ## Report this to serj.kalichev at gmail dot com ##
  2078. ## --------------------------------------------- ##
  2079. _ASBOX
  2080. ) | sed "s/^/$as_me: WARNING: /" >&2
  2081. ;;
  2082. esac
  2083. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  2084. $as_echo_n "checking for $2... " >&6; }
  2085. if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
  2086. $as_echo_n "(cached) " >&6
  2087. else
  2088. eval "$3=\$ac_header_compiler"
  2089. fi
  2090. eval ac_res=\$$3
  2091. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  2092. $as_echo "$ac_res" >&6; }
  2093. fi
  2094. eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  2095. } # ac_fn_c_check_header_mongrel
  2096. cat >config.log <<_ACEOF
  2097. This file contains any messages produced by compilers while
  2098. running configure, to aid debugging if configure makes a mistake.
  2099. It was created by clish $as_me 1.3.0, which was
  2100. generated by GNU Autoconf 2.64. Invocation command line was
  2101. $ $0 $@
  2102. _ACEOF
  2103. exec 5>>config.log
  2104. {
  2105. cat <<_ASUNAME
  2106. ## --------- ##
  2107. ## Platform. ##
  2108. ## --------- ##
  2109. hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  2110. uname -m = `(uname -m) 2>/dev/null || echo unknown`
  2111. uname -r = `(uname -r) 2>/dev/null || echo unknown`
  2112. uname -s = `(uname -s) 2>/dev/null || echo unknown`
  2113. uname -v = `(uname -v) 2>/dev/null || echo unknown`
  2114. /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  2115. /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
  2116. /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
  2117. /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
  2118. /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  2119. /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
  2120. /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
  2121. /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
  2122. /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
  2123. _ASUNAME
  2124. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2125. for as_dir in $PATH
  2126. do
  2127. IFS=$as_save_IFS
  2128. test -z "$as_dir" && as_dir=.
  2129. $as_echo "PATH: $as_dir"
  2130. done
  2131. IFS=$as_save_IFS
  2132. } >&5
  2133. cat >&5 <<_ACEOF
  2134. ## ----------- ##
  2135. ## Core tests. ##
  2136. ## ----------- ##
  2137. _ACEOF
  2138. # Keep a trace of the command line.
  2139. # Strip out --no-create and --no-recursion so they do not pile up.
  2140. # Strip out --silent because we don't want to record it for future runs.
  2141. # Also quote any args containing shell meta-characters.
  2142. # Make two passes to allow for proper duplicate-argument suppression.
  2143. ac_configure_args=
  2144. ac_configure_args0=
  2145. ac_configure_args1=
  2146. ac_must_keep_next=false
  2147. for ac_pass in 1 2
  2148. do
  2149. for ac_arg
  2150. do
  2151. case $ac_arg in
  2152. -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  2153. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  2154. | -silent | --silent | --silen | --sile | --sil)
  2155. continue ;;
  2156. *\'*)
  2157. ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  2158. esac
  2159. case $ac_pass in
  2160. 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
  2161. 2)
  2162. as_fn_append ac_configure_args1 " '$ac_arg'"
  2163. if test $ac_must_keep_next = true; then
  2164. ac_must_keep_next=false # Got value, back to normal.
  2165. else
  2166. case $ac_arg in
  2167. *=* | --config-cache | -C | -disable-* | --disable-* \
  2168. | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
  2169. | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
  2170. | -with-* | --with-* | -without-* | --without-* | --x)
  2171. case "$ac_configure_args0 " in
  2172. "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  2173. esac
  2174. ;;
  2175. -* ) ac_must_keep_next=true ;;
  2176. esac
  2177. fi
  2178. as_fn_append ac_configure_args " '$ac_arg'"
  2179. ;;
  2180. esac
  2181. done
  2182. done
  2183. { ac_configure_args0=; unset ac_configure_args0;}
  2184. { ac_configure_args1=; unset ac_configure_args1;}
  2185. # When interrupted or exit'd, cleanup temporary files, and complete
  2186. # config.log. We remove comments because anyway the quotes in there
  2187. # would cause problems or look ugly.
  2188. # WARNING: Use '\'' to represent an apostrophe within the trap.
  2189. # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
  2190. trap 'exit_status=$?
  2191. # Save into config.log some information that might help in debugging.
  2192. {
  2193. echo
  2194. cat <<\_ASBOX
  2195. ## ---------------- ##
  2196. ## Cache variables. ##
  2197. ## ---------------- ##
  2198. _ASBOX
  2199. echo
  2200. # The following way of writing the cache mishandles newlines in values,
  2201. (
  2202. for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
  2203. eval ac_val=\$$ac_var
  2204. case $ac_val in #(
  2205. *${as_nl}*)
  2206. case $ac_var in #(
  2207. *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  2208. $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  2209. esac
  2210. case $ac_var in #(
  2211. _ | IFS | as_nl) ;; #(
  2212. BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  2213. *) { eval $ac_var=; unset $ac_var;} ;;
  2214. esac ;;
  2215. esac
  2216. done
  2217. (set) 2>&1 |
  2218. case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
  2219. *${as_nl}ac_space=\ *)
  2220. sed -n \
  2221. "s/'\''/'\''\\\\'\'''\''/g;
  2222. s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
  2223. ;; #(
  2224. *)
  2225. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  2226. ;;
  2227. esac |
  2228. sort
  2229. )
  2230. echo
  2231. cat <<\_ASBOX
  2232. ## ----------------- ##
  2233. ## Output variables. ##
  2234. ## ----------------- ##
  2235. _ASBOX
  2236. echo
  2237. for ac_var in $ac_subst_vars
  2238. do
  2239. eval ac_val=\$$ac_var
  2240. case $ac_val in
  2241. *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  2242. esac
  2243. $as_echo "$ac_var='\''$ac_val'\''"
  2244. done | sort
  2245. echo
  2246. if test -n "$ac_subst_files"; then
  2247. cat <<\_ASBOX
  2248. ## ------------------- ##
  2249. ## File substitutions. ##
  2250. ## ------------------- ##
  2251. _ASBOX
  2252. echo
  2253. for ac_var in $ac_subst_files
  2254. do
  2255. eval ac_val=\$$ac_var
  2256. case $ac_val in
  2257. *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  2258. esac
  2259. $as_echo "$ac_var='\''$ac_val'\''"
  2260. done | sort
  2261. echo
  2262. fi
  2263. if test -s confdefs.h; then
  2264. cat <<\_ASBOX
  2265. ## ----------- ##
  2266. ## confdefs.h. ##
  2267. ## ----------- ##
  2268. _ASBOX
  2269. echo
  2270. cat confdefs.h
  2271. echo
  2272. fi
  2273. test "$ac_signal" != 0 &&
  2274. $as_echo "$as_me: caught signal $ac_signal"
  2275. $as_echo "$as_me: exit $exit_status"
  2276. } >&5
  2277. rm -f core *.core core.conftest.* &&
  2278. rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
  2279. exit $exit_status
  2280. ' 0
  2281. for ac_signal in 1 2 13 15; do
  2282. trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
  2283. done
  2284. ac_signal=0
  2285. # confdefs.h avoids OS command line length limits that DEFS can exceed.
  2286. rm -f -r conftest* confdefs.h
  2287. $as_echo "/* confdefs.h */" > confdefs.h
  2288. # Predefined preprocessor variables.
  2289. cat >>confdefs.h <<_ACEOF
  2290. #define PACKAGE_NAME "$PACKAGE_NAME"
  2291. _ACEOF
  2292. cat >>confdefs.h <<_ACEOF
  2293. #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  2294. _ACEOF
  2295. cat >>confdefs.h <<_ACEOF
  2296. #define PACKAGE_VERSION "$PACKAGE_VERSION"
  2297. _ACEOF
  2298. cat >>confdefs.h <<_ACEOF
  2299. #define PACKAGE_STRING "$PACKAGE_STRING"
  2300. _ACEOF
  2301. cat >>confdefs.h <<_ACEOF
  2302. #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  2303. _ACEOF
  2304. cat >>confdefs.h <<_ACEOF
  2305. #define PACKAGE_URL "$PACKAGE_URL"
  2306. _ACEOF
  2307. # Let the site file select an alternate cache file if it wants to.
  2308. # Prefer an explicitly selected file to automatically selected ones.
  2309. ac_site_file1=NONE
  2310. ac_site_file2=NONE
  2311. if test -n "$CONFIG_SITE"; then
  2312. ac_site_file1=$CONFIG_SITE
  2313. elif test "x$prefix" != xNONE; then
  2314. ac_site_file1=$prefix/share/config.site
  2315. ac_site_file2=$prefix/etc/config.site
  2316. else
  2317. ac_site_file1=$ac_default_prefix/share/config.site
  2318. ac_site_file2=$ac_default_prefix/etc/config.site
  2319. fi
  2320. for ac_site_file in "$ac_site_file1" "$ac_site_file2"
  2321. do
  2322. test "x$ac_site_file" = xNONE && continue
  2323. if test -r "$ac_site_file"; then
  2324. { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
  2325. $as_echo "$as_me: loading site script $ac_site_file" >&6;}
  2326. sed 's/^/| /' "$ac_site_file" >&5
  2327. . "$ac_site_file"
  2328. fi
  2329. done
  2330. if test -r "$cache_file"; then
  2331. # Some versions of bash will fail to source /dev/null (special
  2332. # files actually), so we avoid doing that.
  2333. if test -f "$cache_file"; then
  2334. { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
  2335. $as_echo "$as_me: loading cache $cache_file" >&6;}
  2336. case $cache_file in
  2337. [\\/]* | ?:[\\/]* ) . "$cache_file";;
  2338. *) . "./$cache_file";;
  2339. esac
  2340. fi
  2341. else
  2342. { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
  2343. $as_echo "$as_me: creating cache $cache_file" >&6;}
  2344. >$cache_file
  2345. fi
  2346. # Check that the precious variables saved in the cache have kept the same
  2347. # value.
  2348. ac_cache_corrupted=false
  2349. for ac_var in $ac_precious_vars; do
  2350. eval ac_old_set=\$ac_cv_env_${ac_var}_set
  2351. eval ac_new_set=\$ac_env_${ac_var}_set
  2352. eval ac_old_val=\$ac_cv_env_${ac_var}_value
  2353. eval ac_new_val=\$ac_env_${ac_var}_value
  2354. case $ac_old_set,$ac_new_set in
  2355. set,)
  2356. { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  2357. $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  2358. ac_cache_corrupted=: ;;
  2359. ,set)
  2360. { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
  2361. $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  2362. ac_cache_corrupted=: ;;
  2363. ,);;
  2364. *)
  2365. if test "x$ac_old_val" != "x$ac_new_val"; then
  2366. # differences in whitespace do not lead to failure.
  2367. ac_old_val_w=`echo x $ac_old_val`
  2368. ac_new_val_w=`echo x $ac_new_val`
  2369. if test "$ac_old_val_w" != "$ac_new_val_w"; then
  2370. { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
  2371. $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  2372. ac_cache_corrupted=:
  2373. else
  2374. { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
  2375. $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
  2376. eval $ac_var=\$ac_old_val
  2377. fi
  2378. { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
  2379. $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
  2380. { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
  2381. $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
  2382. fi;;
  2383. esac
  2384. # Pass precious variables to config.status.
  2385. if test "$ac_new_set" = set; then
  2386. case $ac_new_val in
  2387. *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  2388. *) ac_arg=$ac_var=$ac_new_val ;;
  2389. esac
  2390. case " $ac_configure_args " in
  2391. *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
  2392. *) as_fn_append ac_configure_args " '$ac_arg'" ;;
  2393. esac
  2394. fi
  2395. done
  2396. if $ac_cache_corrupted; then
  2397. { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  2398. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2399. { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
  2400. $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  2401. as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
  2402. fi
  2403. ## -------------------- ##
  2404. ## Main body of script. ##
  2405. ## -------------------- ##
  2406. ac_ext=c
  2407. ac_cpp='$CPP $CPPFLAGS'
  2408. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2409. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2410. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2411. ac_aux_dir=
  2412. for ac_dir in aux_scripts "$srcdir"/aux_scripts; do
  2413. for ac_t in install-sh install.sh shtool; do
  2414. if test -f "$ac_dir/$ac_t"; then
  2415. ac_aux_dir=$ac_dir
  2416. ac_install_sh="$ac_aux_dir/$ac_t -c"
  2417. break 2
  2418. fi
  2419. done
  2420. done
  2421. if test -z "$ac_aux_dir"; then
  2422. as_fn_error "cannot find install-sh, install.sh, or shtool in aux_scripts \"$srcdir\"/aux_scripts" "$LINENO" 5
  2423. fi
  2424. # These three variables are undocumented and unsupported,
  2425. # and are intended to be withdrawn in a future Autoconf release.
  2426. # They can cause serious problems if a builder's source tree is in a directory
  2427. # whose full name contains unusual characters.
  2428. ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
  2429. ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
  2430. ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
  2431. # Checks for programs.
  2432. ac_ext=c
  2433. ac_cpp='$CPP $CPPFLAGS'
  2434. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2435. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2436. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2437. if test -n "$ac_tool_prefix"; then
  2438. # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  2439. set dummy ${ac_tool_prefix}gcc; ac_word=$2
  2440. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2441. $as_echo_n "checking for $ac_word... " >&6; }
  2442. if test "${ac_cv_prog_CC+set}" = set; then :
  2443. $as_echo_n "(cached) " >&6
  2444. else
  2445. if test -n "$CC"; then
  2446. ac_cv_prog_CC="$CC" # Let the user override the test.
  2447. else
  2448. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2449. for as_dir in $PATH
  2450. do
  2451. IFS=$as_save_IFS
  2452. test -z "$as_dir" && as_dir=.
  2453. for ac_exec_ext in '' $ac_executable_extensions; do
  2454. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2455. ac_cv_prog_CC="${ac_tool_prefix}gcc"
  2456. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2457. break 2
  2458. fi
  2459. done
  2460. done
  2461. IFS=$as_save_IFS
  2462. fi
  2463. fi
  2464. CC=$ac_cv_prog_CC
  2465. if test -n "$CC"; then
  2466. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  2467. $as_echo "$CC" >&6; }
  2468. else
  2469. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2470. $as_echo "no" >&6; }
  2471. fi
  2472. fi
  2473. if test -z "$ac_cv_prog_CC"; then
  2474. ac_ct_CC=$CC
  2475. # Extract the first word of "gcc", so it can be a program name with args.
  2476. set dummy gcc; ac_word=$2
  2477. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2478. $as_echo_n "checking for $ac_word... " >&6; }
  2479. if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
  2480. $as_echo_n "(cached) " >&6
  2481. else
  2482. if test -n "$ac_ct_CC"; then
  2483. ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  2484. else
  2485. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2486. for as_dir in $PATH
  2487. do
  2488. IFS=$as_save_IFS
  2489. test -z "$as_dir" && as_dir=.
  2490. for ac_exec_ext in '' $ac_executable_extensions; do
  2491. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2492. ac_cv_prog_ac_ct_CC="gcc"
  2493. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2494. break 2
  2495. fi
  2496. done
  2497. done
  2498. IFS=$as_save_IFS
  2499. fi
  2500. fi
  2501. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  2502. if test -n "$ac_ct_CC"; then
  2503. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  2504. $as_echo "$ac_ct_CC" >&6; }
  2505. else
  2506. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2507. $as_echo "no" >&6; }
  2508. fi
  2509. if test "x$ac_ct_CC" = x; then
  2510. CC=""
  2511. else
  2512. case $cross_compiling:$ac_tool_warned in
  2513. yes:)
  2514. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  2515. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  2516. ac_tool_warned=yes ;;
  2517. esac
  2518. CC=$ac_ct_CC
  2519. fi
  2520. else
  2521. CC="$ac_cv_prog_CC"
  2522. fi
  2523. if test -z "$CC"; then
  2524. if test -n "$ac_tool_prefix"; then
  2525. # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  2526. set dummy ${ac_tool_prefix}cc; ac_word=$2
  2527. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2528. $as_echo_n "checking for $ac_word... " >&6; }
  2529. if test "${ac_cv_prog_CC+set}" = set; then :
  2530. $as_echo_n "(cached) " >&6
  2531. else
  2532. if test -n "$CC"; then
  2533. ac_cv_prog_CC="$CC" # Let the user override the test.
  2534. else
  2535. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2536. for as_dir in $PATH
  2537. do
  2538. IFS=$as_save_IFS
  2539. test -z "$as_dir" && as_dir=.
  2540. for ac_exec_ext in '' $ac_executable_extensions; do
  2541. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2542. ac_cv_prog_CC="${ac_tool_prefix}cc"
  2543. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2544. break 2
  2545. fi
  2546. done
  2547. done
  2548. IFS=$as_save_IFS
  2549. fi
  2550. fi
  2551. CC=$ac_cv_prog_CC
  2552. if test -n "$CC"; then
  2553. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  2554. $as_echo "$CC" >&6; }
  2555. else
  2556. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2557. $as_echo "no" >&6; }
  2558. fi
  2559. fi
  2560. fi
  2561. if test -z "$CC"; then
  2562. # Extract the first word of "cc", so it can be a program name with args.
  2563. set dummy cc; ac_word=$2
  2564. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2565. $as_echo_n "checking for $ac_word... " >&6; }
  2566. if test "${ac_cv_prog_CC+set}" = set; then :
  2567. $as_echo_n "(cached) " >&6
  2568. else
  2569. if test -n "$CC"; then
  2570. ac_cv_prog_CC="$CC" # Let the user override the test.
  2571. else
  2572. ac_prog_rejected=no
  2573. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2574. for as_dir in $PATH
  2575. do
  2576. IFS=$as_save_IFS
  2577. test -z "$as_dir" && as_dir=.
  2578. for ac_exec_ext in '' $ac_executable_extensions; do
  2579. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2580. if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  2581. ac_prog_rejected=yes
  2582. continue
  2583. fi
  2584. ac_cv_prog_CC="cc"
  2585. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2586. break 2
  2587. fi
  2588. done
  2589. done
  2590. IFS=$as_save_IFS
  2591. if test $ac_prog_rejected = yes; then
  2592. # We found a bogon in the path, so make sure we never use it.
  2593. set dummy $ac_cv_prog_CC
  2594. shift
  2595. if test $# != 0; then
  2596. # We chose a different compiler from the bogus one.
  2597. # However, it has the same basename, so the bogon will be chosen
  2598. # first if we set CC to just the basename; use the full file name.
  2599. shift
  2600. ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  2601. fi
  2602. fi
  2603. fi
  2604. fi
  2605. CC=$ac_cv_prog_CC
  2606. if test -n "$CC"; then
  2607. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  2608. $as_echo "$CC" >&6; }
  2609. else
  2610. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2611. $as_echo "no" >&6; }
  2612. fi
  2613. fi
  2614. if test -z "$CC"; then
  2615. if test -n "$ac_tool_prefix"; then
  2616. for ac_prog in cl.exe
  2617. do
  2618. # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  2619. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  2620. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2621. $as_echo_n "checking for $ac_word... " >&6; }
  2622. if test "${ac_cv_prog_CC+set}" = set; then :
  2623. $as_echo_n "(cached) " >&6
  2624. else
  2625. if test -n "$CC"; then
  2626. ac_cv_prog_CC="$CC" # Let the user override the test.
  2627. else
  2628. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2629. for as_dir in $PATH
  2630. do
  2631. IFS=$as_save_IFS
  2632. test -z "$as_dir" && as_dir=.
  2633. for ac_exec_ext in '' $ac_executable_extensions; do
  2634. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2635. ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  2636. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2637. break 2
  2638. fi
  2639. done
  2640. done
  2641. IFS=$as_save_IFS
  2642. fi
  2643. fi
  2644. CC=$ac_cv_prog_CC
  2645. if test -n "$CC"; then
  2646. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  2647. $as_echo "$CC" >&6; }
  2648. else
  2649. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2650. $as_echo "no" >&6; }
  2651. fi
  2652. test -n "$CC" && break
  2653. done
  2654. fi
  2655. if test -z "$CC"; then
  2656. ac_ct_CC=$CC
  2657. for ac_prog in cl.exe
  2658. do
  2659. # Extract the first word of "$ac_prog", so it can be a program name with args.
  2660. set dummy $ac_prog; ac_word=$2
  2661. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2662. $as_echo_n "checking for $ac_word... " >&6; }
  2663. if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
  2664. $as_echo_n "(cached) " >&6
  2665. else
  2666. if test -n "$ac_ct_CC"; then
  2667. ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  2668. else
  2669. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2670. for as_dir in $PATH
  2671. do
  2672. IFS=$as_save_IFS
  2673. test -z "$as_dir" && as_dir=.
  2674. for ac_exec_ext in '' $ac_executable_extensions; do
  2675. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2676. ac_cv_prog_ac_ct_CC="$ac_prog"
  2677. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2678. break 2
  2679. fi
  2680. done
  2681. done
  2682. IFS=$as_save_IFS
  2683. fi
  2684. fi
  2685. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  2686. if test -n "$ac_ct_CC"; then
  2687. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  2688. $as_echo "$ac_ct_CC" >&6; }
  2689. else
  2690. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2691. $as_echo "no" >&6; }
  2692. fi
  2693. test -n "$ac_ct_CC" && break
  2694. done
  2695. if test "x$ac_ct_CC" = x; then
  2696. CC=""
  2697. else
  2698. case $cross_compiling:$ac_tool_warned in
  2699. yes:)
  2700. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  2701. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  2702. ac_tool_warned=yes ;;
  2703. esac
  2704. CC=$ac_ct_CC
  2705. fi
  2706. fi
  2707. fi
  2708. test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  2709. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2710. as_fn_error "no acceptable C compiler found in \$PATH
  2711. See \`config.log' for more details." "$LINENO" 5; }
  2712. # Provide some information about the compiler.
  2713. $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
  2714. set X $ac_compile
  2715. ac_compiler=$2
  2716. for ac_option in --version -v -V -qversion; do
  2717. { { ac_try="$ac_compiler $ac_option >&5"
  2718. case "(($ac_try" in
  2719. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2720. *) ac_try_echo=$ac_try;;
  2721. esac
  2722. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2723. $as_echo "$ac_try_echo"; } >&5
  2724. (eval "$ac_compiler $ac_option >&5") 2>conftest.err
  2725. ac_status=$?
  2726. if test -s conftest.err; then
  2727. sed '10a\
  2728. ... rest of stderr output deleted ...
  2729. 10q' conftest.err >conftest.er1
  2730. cat conftest.er1 >&5
  2731. rm -f conftest.er1 conftest.err
  2732. fi
  2733. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2734. test $ac_status = 0; }
  2735. done
  2736. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2737. /* end confdefs.h. */
  2738. #include <stdio.h>
  2739. int
  2740. main ()
  2741. {
  2742. FILE *f = fopen ("conftest.out", "w");
  2743. return ferror (f) || fclose (f) != 0;
  2744. ;
  2745. return 0;
  2746. }
  2747. _ACEOF
  2748. ac_clean_files_save=$ac_clean_files
  2749. ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
  2750. # Try to create an executable without -o first, disregard a.out.
  2751. # It will help us diagnose broken compilers, and finding out an intuition
  2752. # of exeext.
  2753. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
  2754. $as_echo_n "checking for C compiler default output file name... " >&6; }
  2755. ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
  2756. # The possible output files:
  2757. ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
  2758. ac_rmfiles=
  2759. for ac_file in $ac_files
  2760. do
  2761. case $ac_file in
  2762. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  2763. * ) ac_rmfiles="$ac_rmfiles $ac_file";;
  2764. esac
  2765. done
  2766. rm -f $ac_rmfiles
  2767. if { { ac_try="$ac_link_default"
  2768. case "(($ac_try" in
  2769. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2770. *) ac_try_echo=$ac_try;;
  2771. esac
  2772. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2773. $as_echo "$ac_try_echo"; } >&5
  2774. (eval "$ac_link_default") 2>&5
  2775. ac_status=$?
  2776. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2777. test $ac_status = 0; }; then :
  2778. # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
  2779. # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
  2780. # in a Makefile. We should not override ac_cv_exeext if it was cached,
  2781. # so that the user can short-circuit this test for compilers unknown to
  2782. # Autoconf.
  2783. for ac_file in $ac_files ''
  2784. do
  2785. test -f "$ac_file" || continue
  2786. case $ac_file in
  2787. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
  2788. ;;
  2789. [ab].out )
  2790. # We found the default executable, but exeext='' is most
  2791. # certainly right.
  2792. break;;
  2793. *.* )
  2794. if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
  2795. then :; else
  2796. ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  2797. fi
  2798. # We set ac_cv_exeext here because the later test for it is not
  2799. # safe: cross compilers may not add the suffix if given an `-o'
  2800. # argument, so we may need to know it at that point already.
  2801. # Even if this section looks crufty: it has the advantage of
  2802. # actually working.
  2803. break;;
  2804. * )
  2805. break;;
  2806. esac
  2807. done
  2808. test "$ac_cv_exeext" = no && ac_cv_exeext=
  2809. else
  2810. ac_file=''
  2811. fi
  2812. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
  2813. $as_echo "$ac_file" >&6; }
  2814. if test -z "$ac_file"; then :
  2815. $as_echo "$as_me: failed program was:" >&5
  2816. sed 's/^/| /' conftest.$ac_ext >&5
  2817. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  2818. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2819. { as_fn_set_status 77
  2820. as_fn_error "C compiler cannot create executables
  2821. See \`config.log' for more details." "$LINENO" 5; }; }
  2822. fi
  2823. ac_exeext=$ac_cv_exeext
  2824. # Check that the compiler produces executables we can run. If not, either
  2825. # the compiler is broken, or we cross compile.
  2826. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
  2827. $as_echo_n "checking whether the C compiler works... " >&6; }
  2828. # If not cross compiling, check that we can run a simple program.
  2829. if test "$cross_compiling" != yes; then
  2830. if { ac_try='./$ac_file'
  2831. { { case "(($ac_try" in
  2832. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2833. *) ac_try_echo=$ac_try;;
  2834. esac
  2835. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2836. $as_echo "$ac_try_echo"; } >&5
  2837. (eval "$ac_try") 2>&5
  2838. ac_status=$?
  2839. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2840. test $ac_status = 0; }; }; then
  2841. cross_compiling=no
  2842. else
  2843. if test "$cross_compiling" = maybe; then
  2844. cross_compiling=yes
  2845. else
  2846. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  2847. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2848. as_fn_error "cannot run C compiled programs.
  2849. If you meant to cross compile, use \`--host'.
  2850. See \`config.log' for more details." "$LINENO" 5; }
  2851. fi
  2852. fi
  2853. fi
  2854. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  2855. $as_echo "yes" >&6; }
  2856. rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
  2857. ac_clean_files=$ac_clean_files_save
  2858. # Check that the compiler produces executables we can run. If not, either
  2859. # the compiler is broken, or we cross compile.
  2860. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
  2861. $as_echo_n "checking whether we are cross compiling... " >&6; }
  2862. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
  2863. $as_echo "$cross_compiling" >&6; }
  2864. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
  2865. $as_echo_n "checking for suffix of executables... " >&6; }
  2866. if { { ac_try="$ac_link"
  2867. case "(($ac_try" in
  2868. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2869. *) ac_try_echo=$ac_try;;
  2870. esac
  2871. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2872. $as_echo "$ac_try_echo"; } >&5
  2873. (eval "$ac_link") 2>&5
  2874. ac_status=$?
  2875. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2876. test $ac_status = 0; }; then :
  2877. # If both `conftest.exe' and `conftest' are `present' (well, observable)
  2878. # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
  2879. # work properly (i.e., refer to `conftest.exe'), while it won't with
  2880. # `rm'.
  2881. for ac_file in conftest.exe conftest conftest.*; do
  2882. test -f "$ac_file" || continue
  2883. case $ac_file in
  2884. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  2885. *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  2886. break;;
  2887. * ) break;;
  2888. esac
  2889. done
  2890. else
  2891. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  2892. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2893. as_fn_error "cannot compute suffix of executables: cannot compile and link
  2894. See \`config.log' for more details." "$LINENO" 5; }
  2895. fi
  2896. rm -f conftest$ac_cv_exeext
  2897. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
  2898. $as_echo "$ac_cv_exeext" >&6; }
  2899. rm -f conftest.$ac_ext
  2900. EXEEXT=$ac_cv_exeext
  2901. ac_exeext=$EXEEXT
  2902. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
  2903. $as_echo_n "checking for suffix of object files... " >&6; }
  2904. if test "${ac_cv_objext+set}" = set; then :
  2905. $as_echo_n "(cached) " >&6
  2906. else
  2907. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2908. /* end confdefs.h. */
  2909. int
  2910. main ()
  2911. {
  2912. ;
  2913. return 0;
  2914. }
  2915. _ACEOF
  2916. rm -f conftest.o conftest.obj
  2917. if { { ac_try="$ac_compile"
  2918. case "(($ac_try" in
  2919. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2920. *) ac_try_echo=$ac_try;;
  2921. esac
  2922. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2923. $as_echo "$ac_try_echo"; } >&5
  2924. (eval "$ac_compile") 2>&5
  2925. ac_status=$?
  2926. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2927. test $ac_status = 0; }; then :
  2928. for ac_file in conftest.o conftest.obj conftest.*; do
  2929. test -f "$ac_file" || continue;
  2930. case $ac_file in
  2931. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
  2932. *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
  2933. break;;
  2934. esac
  2935. done
  2936. else
  2937. $as_echo "$as_me: failed program was:" >&5
  2938. sed 's/^/| /' conftest.$ac_ext >&5
  2939. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  2940. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2941. as_fn_error "cannot compute suffix of object files: cannot compile
  2942. See \`config.log' for more details." "$LINENO" 5; }
  2943. fi
  2944. rm -f conftest.$ac_cv_objext conftest.$ac_ext
  2945. fi
  2946. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
  2947. $as_echo "$ac_cv_objext" >&6; }
  2948. OBJEXT=$ac_cv_objext
  2949. ac_objext=$OBJEXT
  2950. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
  2951. $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
  2952. if test "${ac_cv_c_compiler_gnu+set}" = set; then :
  2953. $as_echo_n "(cached) " >&6
  2954. else
  2955. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2956. /* end confdefs.h. */
  2957. int
  2958. main ()
  2959. {
  2960. #ifndef __GNUC__
  2961. choke me
  2962. #endif
  2963. ;
  2964. return 0;
  2965. }
  2966. _ACEOF
  2967. if ac_fn_c_try_compile "$LINENO"; then :
  2968. ac_compiler_gnu=yes
  2969. else
  2970. ac_compiler_gnu=no
  2971. fi
  2972. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2973. ac_cv_c_compiler_gnu=$ac_compiler_gnu
  2974. fi
  2975. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
  2976. $as_echo "$ac_cv_c_compiler_gnu" >&6; }
  2977. if test $ac_compiler_gnu = yes; then
  2978. GCC=yes
  2979. else
  2980. GCC=
  2981. fi
  2982. ac_test_CFLAGS=${CFLAGS+set}
  2983. ac_save_CFLAGS=$CFLAGS
  2984. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
  2985. $as_echo_n "checking whether $CC accepts -g... " >&6; }
  2986. if test "${ac_cv_prog_cc_g+set}" = set; then :
  2987. $as_echo_n "(cached) " >&6
  2988. else
  2989. ac_save_c_werror_flag=$ac_c_werror_flag
  2990. ac_c_werror_flag=yes
  2991. ac_cv_prog_cc_g=no
  2992. CFLAGS="-g"
  2993. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2994. /* end confdefs.h. */
  2995. int
  2996. main ()
  2997. {
  2998. ;
  2999. return 0;
  3000. }
  3001. _ACEOF
  3002. if ac_fn_c_try_compile "$LINENO"; then :
  3003. ac_cv_prog_cc_g=yes
  3004. else
  3005. CFLAGS=""
  3006. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3007. /* end confdefs.h. */
  3008. int
  3009. main ()
  3010. {
  3011. ;
  3012. return 0;
  3013. }
  3014. _ACEOF
  3015. if ac_fn_c_try_compile "$LINENO"; then :
  3016. else
  3017. ac_c_werror_flag=$ac_save_c_werror_flag
  3018. CFLAGS="-g"
  3019. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3020. /* end confdefs.h. */
  3021. int
  3022. main ()
  3023. {
  3024. ;
  3025. return 0;
  3026. }
  3027. _ACEOF
  3028. if ac_fn_c_try_compile "$LINENO"; then :
  3029. ac_cv_prog_cc_g=yes
  3030. fi
  3031. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3032. fi
  3033. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3034. fi
  3035. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3036. ac_c_werror_flag=$ac_save_c_werror_flag
  3037. fi
  3038. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
  3039. $as_echo "$ac_cv_prog_cc_g" >&6; }
  3040. if test "$ac_test_CFLAGS" = set; then
  3041. CFLAGS=$ac_save_CFLAGS
  3042. elif test $ac_cv_prog_cc_g = yes; then
  3043. if test "$GCC" = yes; then
  3044. CFLAGS="-g -O2"
  3045. else
  3046. CFLAGS="-g"
  3047. fi
  3048. else
  3049. if test "$GCC" = yes; then
  3050. CFLAGS="-O2"
  3051. else
  3052. CFLAGS=
  3053. fi
  3054. fi
  3055. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
  3056. $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
  3057. if test "${ac_cv_prog_cc_c89+set}" = set; then :
  3058. $as_echo_n "(cached) " >&6
  3059. else
  3060. ac_cv_prog_cc_c89=no
  3061. ac_save_CC=$CC
  3062. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3063. /* end confdefs.h. */
  3064. #include <stdarg.h>
  3065. #include <stdio.h>
  3066. #include <sys/types.h>
  3067. #include <sys/stat.h>
  3068. /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
  3069. struct buf { int x; };
  3070. FILE * (*rcsopen) (struct buf *, struct stat *, int);
  3071. static char *e (p, i)
  3072. char **p;
  3073. int i;
  3074. {
  3075. return p[i];
  3076. }
  3077. static char *f (char * (*g) (char **, int), char **p, ...)
  3078. {
  3079. char *s;
  3080. va_list v;
  3081. va_start (v,p);
  3082. s = g (p, va_arg (v,int));
  3083. va_end (v);
  3084. return s;
  3085. }
  3086. /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
  3087. function prototypes and stuff, but not '\xHH' hex character constants.
  3088. These don't provoke an error unfortunately, instead are silently treated
  3089. as 'x'. The following induces an error, until -std is added to get
  3090. proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
  3091. array size at least. It's necessary to write '\x00'==0 to get something
  3092. that's true only with -std. */
  3093. int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  3094. /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  3095. inside strings and character constants. */
  3096. #define FOO(x) 'x'
  3097. int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  3098. int test (int i, double x);
  3099. struct s1 {int (*f) (int a);};
  3100. struct s2 {int (*f) (double a);};
  3101. int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  3102. int argc;
  3103. char **argv;
  3104. int
  3105. main ()
  3106. {
  3107. return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
  3108. ;
  3109. return 0;
  3110. }
  3111. _ACEOF
  3112. for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  3113. -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  3114. do
  3115. CC="$ac_save_CC $ac_arg"
  3116. if ac_fn_c_try_compile "$LINENO"; then :
  3117. ac_cv_prog_cc_c89=$ac_arg
  3118. fi
  3119. rm -f core conftest.err conftest.$ac_objext
  3120. test "x$ac_cv_prog_cc_c89" != "xno" && break
  3121. done
  3122. rm -f conftest.$ac_ext
  3123. CC=$ac_save_CC
  3124. fi
  3125. # AC_CACHE_VAL
  3126. case "x$ac_cv_prog_cc_c89" in
  3127. x)
  3128. { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
  3129. $as_echo "none needed" >&6; } ;;
  3130. xno)
  3131. { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
  3132. $as_echo "unsupported" >&6; } ;;
  3133. *)
  3134. CC="$CC $ac_cv_prog_cc_c89"
  3135. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
  3136. $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
  3137. esac
  3138. if test "x$ac_cv_prog_cc_c89" != xno; then :
  3139. fi
  3140. ac_ext=c
  3141. ac_cpp='$CPP $CPPFLAGS'
  3142. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3143. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3144. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3145. ac_ext=cpp
  3146. ac_cpp='$CXXCPP $CPPFLAGS'
  3147. ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3148. ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3149. ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  3150. if test -z "$CXX"; then
  3151. if test -n "$CCC"; then
  3152. CXX=$CCC
  3153. else
  3154. if test -n "$ac_tool_prefix"; then
  3155. for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
  3156. do
  3157. # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  3158. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  3159. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3160. $as_echo_n "checking for $ac_word... " >&6; }
  3161. if test "${ac_cv_prog_CXX+set}" = set; then :
  3162. $as_echo_n "(cached) " >&6
  3163. else
  3164. if test -n "$CXX"; then
  3165. ac_cv_prog_CXX="$CXX" # Let the user override the test.
  3166. else
  3167. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3168. for as_dir in $PATH
  3169. do
  3170. IFS=$as_save_IFS
  3171. test -z "$as_dir" && as_dir=.
  3172. for ac_exec_ext in '' $ac_executable_extensions; do
  3173. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3174. ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
  3175. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3176. break 2
  3177. fi
  3178. done
  3179. done
  3180. IFS=$as_save_IFS
  3181. fi
  3182. fi
  3183. CXX=$ac_cv_prog_CXX
  3184. if test -n "$CXX"; then
  3185. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
  3186. $as_echo "$CXX" >&6; }
  3187. else
  3188. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3189. $as_echo "no" >&6; }
  3190. fi
  3191. test -n "$CXX" && break
  3192. done
  3193. fi
  3194. if test -z "$CXX"; then
  3195. ac_ct_CXX=$CXX
  3196. for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
  3197. do
  3198. # Extract the first word of "$ac_prog", so it can be a program name with args.
  3199. set dummy $ac_prog; ac_word=$2
  3200. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3201. $as_echo_n "checking for $ac_word... " >&6; }
  3202. if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
  3203. $as_echo_n "(cached) " >&6
  3204. else
  3205. if test -n "$ac_ct_CXX"; then
  3206. ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
  3207. else
  3208. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3209. for as_dir in $PATH
  3210. do
  3211. IFS=$as_save_IFS
  3212. test -z "$as_dir" && as_dir=.
  3213. for ac_exec_ext in '' $ac_executable_extensions; do
  3214. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3215. ac_cv_prog_ac_ct_CXX="$ac_prog"
  3216. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3217. break 2
  3218. fi
  3219. done
  3220. done
  3221. IFS=$as_save_IFS
  3222. fi
  3223. fi
  3224. ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
  3225. if test -n "$ac_ct_CXX"; then
  3226. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
  3227. $as_echo "$ac_ct_CXX" >&6; }
  3228. else
  3229. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3230. $as_echo "no" >&6; }
  3231. fi
  3232. test -n "$ac_ct_CXX" && break
  3233. done
  3234. if test "x$ac_ct_CXX" = x; then
  3235. CXX="g++"
  3236. else
  3237. case $cross_compiling:$ac_tool_warned in
  3238. yes:)
  3239. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  3240. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  3241. ac_tool_warned=yes ;;
  3242. esac
  3243. CXX=$ac_ct_CXX
  3244. fi
  3245. fi
  3246. fi
  3247. fi
  3248. # Provide some information about the compiler.
  3249. $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
  3250. set X $ac_compile
  3251. ac_compiler=$2
  3252. for ac_option in --version -v -V -qversion; do
  3253. { { ac_try="$ac_compiler $ac_option >&5"
  3254. case "(($ac_try" in
  3255. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3256. *) ac_try_echo=$ac_try;;
  3257. esac
  3258. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3259. $as_echo "$ac_try_echo"; } >&5
  3260. (eval "$ac_compiler $ac_option >&5") 2>conftest.err
  3261. ac_status=$?
  3262. if test -s conftest.err; then
  3263. sed '10a\
  3264. ... rest of stderr output deleted ...
  3265. 10q' conftest.err >conftest.er1
  3266. cat conftest.er1 >&5
  3267. rm -f conftest.er1 conftest.err
  3268. fi
  3269. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3270. test $ac_status = 0; }
  3271. done
  3272. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
  3273. $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
  3274. if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
  3275. $as_echo_n "(cached) " >&6
  3276. else
  3277. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3278. /* end confdefs.h. */
  3279. int
  3280. main ()
  3281. {
  3282. #ifndef __GNUC__
  3283. choke me
  3284. #endif
  3285. ;
  3286. return 0;
  3287. }
  3288. _ACEOF
  3289. if ac_fn_cxx_try_compile "$LINENO"; then :
  3290. ac_compiler_gnu=yes
  3291. else
  3292. ac_compiler_gnu=no
  3293. fi
  3294. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3295. ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
  3296. fi
  3297. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
  3298. $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
  3299. if test $ac_compiler_gnu = yes; then
  3300. GXX=yes
  3301. else
  3302. GXX=
  3303. fi
  3304. ac_test_CXXFLAGS=${CXXFLAGS+set}
  3305. ac_save_CXXFLAGS=$CXXFLAGS
  3306. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
  3307. $as_echo_n "checking whether $CXX accepts -g... " >&6; }
  3308. if test "${ac_cv_prog_cxx_g+set}" = set; then :
  3309. $as_echo_n "(cached) " >&6
  3310. else
  3311. ac_save_cxx_werror_flag=$ac_cxx_werror_flag
  3312. ac_cxx_werror_flag=yes
  3313. ac_cv_prog_cxx_g=no
  3314. CXXFLAGS="-g"
  3315. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3316. /* end confdefs.h. */
  3317. int
  3318. main ()
  3319. {
  3320. ;
  3321. return 0;
  3322. }
  3323. _ACEOF
  3324. if ac_fn_cxx_try_compile "$LINENO"; then :
  3325. ac_cv_prog_cxx_g=yes
  3326. else
  3327. CXXFLAGS=""
  3328. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3329. /* end confdefs.h. */
  3330. int
  3331. main ()
  3332. {
  3333. ;
  3334. return 0;
  3335. }
  3336. _ACEOF
  3337. if ac_fn_cxx_try_compile "$LINENO"; then :
  3338. else
  3339. ac_cxx_werror_flag=$ac_save_cxx_werror_flag
  3340. CXXFLAGS="-g"
  3341. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3342. /* end confdefs.h. */
  3343. int
  3344. main ()
  3345. {
  3346. ;
  3347. return 0;
  3348. }
  3349. _ACEOF
  3350. if ac_fn_cxx_try_compile "$LINENO"; then :
  3351. ac_cv_prog_cxx_g=yes
  3352. fi
  3353. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3354. fi
  3355. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3356. fi
  3357. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3358. ac_cxx_werror_flag=$ac_save_cxx_werror_flag
  3359. fi
  3360. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
  3361. $as_echo "$ac_cv_prog_cxx_g" >&6; }
  3362. if test "$ac_test_CXXFLAGS" = set; then
  3363. CXXFLAGS=$ac_save_CXXFLAGS
  3364. elif test $ac_cv_prog_cxx_g = yes; then
  3365. if test "$GXX" = yes; then
  3366. CXXFLAGS="-g -O2"
  3367. else
  3368. CXXFLAGS="-g"
  3369. fi
  3370. else
  3371. if test "$GXX" = yes; then
  3372. CXXFLAGS="-O2"
  3373. else
  3374. CXXFLAGS=
  3375. fi
  3376. fi
  3377. ac_ext=c
  3378. ac_cpp='$CPP $CPPFLAGS'
  3379. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3380. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3381. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3382. # Make sure we can run config.sub.
  3383. $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
  3384. as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
  3385. { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
  3386. $as_echo_n "checking build system type... " >&6; }
  3387. if test "${ac_cv_build+set}" = set; then :
  3388. $as_echo_n "(cached) " >&6
  3389. else
  3390. ac_build_alias=$build_alias
  3391. test "x$ac_build_alias" = x &&
  3392. ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
  3393. test "x$ac_build_alias" = x &&
  3394. as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
  3395. ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
  3396. as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
  3397. fi
  3398. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
  3399. $as_echo "$ac_cv_build" >&6; }
  3400. case $ac_cv_build in
  3401. *-*-*) ;;
  3402. *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
  3403. esac
  3404. build=$ac_cv_build
  3405. ac_save_IFS=$IFS; IFS='-'
  3406. set x $ac_cv_build
  3407. shift
  3408. build_cpu=$1
  3409. build_vendor=$2
  3410. shift; shift
  3411. # Remember, the first character of IFS is used to create $*,
  3412. # except with old shells:
  3413. build_os=$*
  3414. IFS=$ac_save_IFS
  3415. case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
  3416. { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
  3417. $as_echo_n "checking host system type... " >&6; }
  3418. if test "${ac_cv_host+set}" = set; then :
  3419. $as_echo_n "(cached) " >&6
  3420. else
  3421. if test "x$host_alias" = x; then
  3422. ac_cv_host=$ac_cv_build
  3423. else
  3424. ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
  3425. as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
  3426. fi
  3427. fi
  3428. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
  3429. $as_echo "$ac_cv_host" >&6; }
  3430. case $ac_cv_host in
  3431. *-*-*) ;;
  3432. *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
  3433. esac
  3434. host=$ac_cv_host
  3435. ac_save_IFS=$IFS; IFS='-'
  3436. set x $ac_cv_host
  3437. shift
  3438. host_cpu=$1
  3439. host_vendor=$2
  3440. shift; shift
  3441. # Remember, the first character of IFS is used to create $*,
  3442. # except with old shells:
  3443. host_os=$*
  3444. IFS=$ac_save_IFS
  3445. case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
  3446. enable_win32_dll=yes
  3447. case $host in
  3448. *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
  3449. if test -n "$ac_tool_prefix"; then
  3450. # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
  3451. set dummy ${ac_tool_prefix}as; ac_word=$2
  3452. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3453. $as_echo_n "checking for $ac_word... " >&6; }
  3454. if test "${ac_cv_prog_AS+set}" = set; then :
  3455. $as_echo_n "(cached) " >&6
  3456. else
  3457. if test -n "$AS"; then
  3458. ac_cv_prog_AS="$AS" # Let the user override the test.
  3459. else
  3460. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3461. for as_dir in $PATH
  3462. do
  3463. IFS=$as_save_IFS
  3464. test -z "$as_dir" && as_dir=.
  3465. for ac_exec_ext in '' $ac_executable_extensions; do
  3466. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3467. ac_cv_prog_AS="${ac_tool_prefix}as"
  3468. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3469. break 2
  3470. fi
  3471. done
  3472. done
  3473. IFS=$as_save_IFS
  3474. fi
  3475. fi
  3476. AS=$ac_cv_prog_AS
  3477. if test -n "$AS"; then
  3478. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
  3479. $as_echo "$AS" >&6; }
  3480. else
  3481. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3482. $as_echo "no" >&6; }
  3483. fi
  3484. fi
  3485. if test -z "$ac_cv_prog_AS"; then
  3486. ac_ct_AS=$AS
  3487. # Extract the first word of "as", so it can be a program name with args.
  3488. set dummy as; ac_word=$2
  3489. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3490. $as_echo_n "checking for $ac_word... " >&6; }
  3491. if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
  3492. $as_echo_n "(cached) " >&6
  3493. else
  3494. if test -n "$ac_ct_AS"; then
  3495. ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
  3496. else
  3497. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3498. for as_dir in $PATH
  3499. do
  3500. IFS=$as_save_IFS
  3501. test -z "$as_dir" && as_dir=.
  3502. for ac_exec_ext in '' $ac_executable_extensions; do
  3503. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3504. ac_cv_prog_ac_ct_AS="as"
  3505. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3506. break 2
  3507. fi
  3508. done
  3509. done
  3510. IFS=$as_save_IFS
  3511. fi
  3512. fi
  3513. ac_ct_AS=$ac_cv_prog_ac_ct_AS
  3514. if test -n "$ac_ct_AS"; then
  3515. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
  3516. $as_echo "$ac_ct_AS" >&6; }
  3517. else
  3518. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3519. $as_echo "no" >&6; }
  3520. fi
  3521. if test "x$ac_ct_AS" = x; then
  3522. AS="false"
  3523. else
  3524. case $cross_compiling:$ac_tool_warned in
  3525. yes:)
  3526. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  3527. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  3528. ac_tool_warned=yes ;;
  3529. esac
  3530. AS=$ac_ct_AS
  3531. fi
  3532. else
  3533. AS="$ac_cv_prog_AS"
  3534. fi
  3535. if test -n "$ac_tool_prefix"; then
  3536. # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
  3537. set dummy ${ac_tool_prefix}dlltool; ac_word=$2
  3538. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3539. $as_echo_n "checking for $ac_word... " >&6; }
  3540. if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
  3541. $as_echo_n "(cached) " >&6
  3542. else
  3543. if test -n "$DLLTOOL"; then
  3544. ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
  3545. else
  3546. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3547. for as_dir in $PATH
  3548. do
  3549. IFS=$as_save_IFS
  3550. test -z "$as_dir" && as_dir=.
  3551. for ac_exec_ext in '' $ac_executable_extensions; do
  3552. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3553. ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
  3554. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3555. break 2
  3556. fi
  3557. done
  3558. done
  3559. IFS=$as_save_IFS
  3560. fi
  3561. fi
  3562. DLLTOOL=$ac_cv_prog_DLLTOOL
  3563. if test -n "$DLLTOOL"; then
  3564. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
  3565. $as_echo "$DLLTOOL" >&6; }
  3566. else
  3567. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3568. $as_echo "no" >&6; }
  3569. fi
  3570. fi
  3571. if test -z "$ac_cv_prog_DLLTOOL"; then
  3572. ac_ct_DLLTOOL=$DLLTOOL
  3573. # Extract the first word of "dlltool", so it can be a program name with args.
  3574. set dummy dlltool; ac_word=$2
  3575. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3576. $as_echo_n "checking for $ac_word... " >&6; }
  3577. if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then :
  3578. $as_echo_n "(cached) " >&6
  3579. else
  3580. if test -n "$ac_ct_DLLTOOL"; then
  3581. ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
  3582. else
  3583. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3584. for as_dir in $PATH
  3585. do
  3586. IFS=$as_save_IFS
  3587. test -z "$as_dir" && as_dir=.
  3588. for ac_exec_ext in '' $ac_executable_extensions; do
  3589. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3590. ac_cv_prog_ac_ct_DLLTOOL="dlltool"
  3591. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3592. break 2
  3593. fi
  3594. done
  3595. done
  3596. IFS=$as_save_IFS
  3597. fi
  3598. fi
  3599. ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
  3600. if test -n "$ac_ct_DLLTOOL"; then
  3601. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
  3602. $as_echo "$ac_ct_DLLTOOL" >&6; }
  3603. else
  3604. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3605. $as_echo "no" >&6; }
  3606. fi
  3607. if test "x$ac_ct_DLLTOOL" = x; then
  3608. DLLTOOL="false"
  3609. else
  3610. case $cross_compiling:$ac_tool_warned in
  3611. yes:)
  3612. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  3613. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  3614. ac_tool_warned=yes ;;
  3615. esac
  3616. DLLTOOL=$ac_ct_DLLTOOL
  3617. fi
  3618. else
  3619. DLLTOOL="$ac_cv_prog_DLLTOOL"
  3620. fi
  3621. if test -n "$ac_tool_prefix"; then
  3622. # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
  3623. set dummy ${ac_tool_prefix}objdump; ac_word=$2
  3624. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3625. $as_echo_n "checking for $ac_word... " >&6; }
  3626. if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
  3627. $as_echo_n "(cached) " >&6
  3628. else
  3629. if test -n "$OBJDUMP"; then
  3630. ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
  3631. else
  3632. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3633. for as_dir in $PATH
  3634. do
  3635. IFS=$as_save_IFS
  3636. test -z "$as_dir" && as_dir=.
  3637. for ac_exec_ext in '' $ac_executable_extensions; do
  3638. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3639. ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
  3640. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3641. break 2
  3642. fi
  3643. done
  3644. done
  3645. IFS=$as_save_IFS
  3646. fi
  3647. fi
  3648. OBJDUMP=$ac_cv_prog_OBJDUMP
  3649. if test -n "$OBJDUMP"; then
  3650. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
  3651. $as_echo "$OBJDUMP" >&6; }
  3652. else
  3653. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3654. $as_echo "no" >&6; }
  3655. fi
  3656. fi
  3657. if test -z "$ac_cv_prog_OBJDUMP"; then
  3658. ac_ct_OBJDUMP=$OBJDUMP
  3659. # Extract the first word of "objdump", so it can be a program name with args.
  3660. set dummy objdump; ac_word=$2
  3661. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3662. $as_echo_n "checking for $ac_word... " >&6; }
  3663. if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
  3664. $as_echo_n "(cached) " >&6
  3665. else
  3666. if test -n "$ac_ct_OBJDUMP"; then
  3667. ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
  3668. else
  3669. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3670. for as_dir in $PATH
  3671. do
  3672. IFS=$as_save_IFS
  3673. test -z "$as_dir" && as_dir=.
  3674. for ac_exec_ext in '' $ac_executable_extensions; do
  3675. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3676. ac_cv_prog_ac_ct_OBJDUMP="objdump"
  3677. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3678. break 2
  3679. fi
  3680. done
  3681. done
  3682. IFS=$as_save_IFS
  3683. fi
  3684. fi
  3685. ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
  3686. if test -n "$ac_ct_OBJDUMP"; then
  3687. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
  3688. $as_echo "$ac_ct_OBJDUMP" >&6; }
  3689. else
  3690. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3691. $as_echo "no" >&6; }
  3692. fi
  3693. if test "x$ac_ct_OBJDUMP" = x; then
  3694. OBJDUMP="false"
  3695. else
  3696. case $cross_compiling:$ac_tool_warned in
  3697. yes:)
  3698. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  3699. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  3700. ac_tool_warned=yes ;;
  3701. esac
  3702. OBJDUMP=$ac_ct_OBJDUMP
  3703. fi
  3704. else
  3705. OBJDUMP="$ac_cv_prog_OBJDUMP"
  3706. fi
  3707. ;;
  3708. esac
  3709. test -z "$AS" && AS=as
  3710. test -z "$DLLTOOL" && DLLTOOL=dlltool
  3711. test -z "$OBJDUMP" && OBJDUMP=objdump
  3712. case `pwd` in
  3713. *\ * | *\ *)
  3714. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
  3715. $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
  3716. esac
  3717. macro_version='2.2.6'
  3718. macro_revision='1.3012'
  3719. ltmain="$ac_aux_dir/ltmain.sh"
  3720. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
  3721. $as_echo_n "checking for a sed that does not truncate output... " >&6; }
  3722. if test "${ac_cv_path_SED+set}" = set; then :
  3723. $as_echo_n "(cached) " >&6
  3724. else
  3725. ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
  3726. for ac_i in 1 2 3 4 5 6 7; do
  3727. ac_script="$ac_script$as_nl$ac_script"
  3728. done
  3729. echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
  3730. { ac_script=; unset ac_script;}
  3731. if test -z "$SED"; then
  3732. ac_path_SED_found=false
  3733. # Loop through the user's path and test for each of PROGNAME-LIST
  3734. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3735. for as_dir in $PATH
  3736. do
  3737. IFS=$as_save_IFS
  3738. test -z "$as_dir" && as_dir=.
  3739. for ac_prog in sed gsed; do
  3740. for ac_exec_ext in '' $ac_executable_extensions; do
  3741. ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
  3742. { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
  3743. # Check for GNU ac_path_SED and select it if it is found.
  3744. # Check for GNU $ac_path_SED
  3745. case `"$ac_path_SED" --version 2>&1` in
  3746. *GNU*)
  3747. ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
  3748. *)
  3749. ac_count=0
  3750. $as_echo_n 0123456789 >"conftest.in"
  3751. while :
  3752. do
  3753. cat "conftest.in" "conftest.in" >"conftest.tmp"
  3754. mv "conftest.tmp" "conftest.in"
  3755. cp "conftest.in" "conftest.nl"
  3756. $as_echo '' >> "conftest.nl"
  3757. "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
  3758. diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  3759. as_fn_arith $ac_count + 1 && ac_count=$as_val
  3760. if test $ac_count -gt ${ac_path_SED_max-0}; then
  3761. # Best one so far, save it but keep looking for a better one
  3762. ac_cv_path_SED="$ac_path_SED"
  3763. ac_path_SED_max=$ac_count
  3764. fi
  3765. # 10*(2^10) chars as input seems more than enough
  3766. test $ac_count -gt 10 && break
  3767. done
  3768. rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  3769. esac
  3770. $ac_path_SED_found && break 3
  3771. done
  3772. done
  3773. done
  3774. IFS=$as_save_IFS
  3775. if test -z "$ac_cv_path_SED"; then
  3776. as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
  3777. fi
  3778. else
  3779. ac_cv_path_SED=$SED
  3780. fi
  3781. fi
  3782. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
  3783. $as_echo "$ac_cv_path_SED" >&6; }
  3784. SED="$ac_cv_path_SED"
  3785. rm -f conftest.sed
  3786. test -z "$SED" && SED=sed
  3787. Xsed="$SED -e 1s/^X//"
  3788. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
  3789. $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
  3790. if test "${ac_cv_path_GREP+set}" = set; then :
  3791. $as_echo_n "(cached) " >&6
  3792. else
  3793. if test -z "$GREP"; then
  3794. ac_path_GREP_found=false
  3795. # Loop through the user's path and test for each of PROGNAME-LIST
  3796. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3797. for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  3798. do
  3799. IFS=$as_save_IFS
  3800. test -z "$as_dir" && as_dir=.
  3801. for ac_prog in grep ggrep; do
  3802. for ac_exec_ext in '' $ac_executable_extensions; do
  3803. ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
  3804. { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
  3805. # Check for GNU ac_path_GREP and select it if it is found.
  3806. # Check for GNU $ac_path_GREP
  3807. case `"$ac_path_GREP" --version 2>&1` in
  3808. *GNU*)
  3809. ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
  3810. *)
  3811. ac_count=0
  3812. $as_echo_n 0123456789 >"conftest.in"
  3813. while :
  3814. do
  3815. cat "conftest.in" "conftest.in" >"conftest.tmp"
  3816. mv "conftest.tmp" "conftest.in"
  3817. cp "conftest.in" "conftest.nl"
  3818. $as_echo 'GREP' >> "conftest.nl"
  3819. "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  3820. diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  3821. as_fn_arith $ac_count + 1 && ac_count=$as_val
  3822. if test $ac_count -gt ${ac_path_GREP_max-0}; then
  3823. # Best one so far, save it but keep looking for a better one
  3824. ac_cv_path_GREP="$ac_path_GREP"
  3825. ac_path_GREP_max=$ac_count
  3826. fi
  3827. # 10*(2^10) chars as input seems more than enough
  3828. test $ac_count -gt 10 && break
  3829. done
  3830. rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  3831. esac
  3832. $ac_path_GREP_found && break 3
  3833. done
  3834. done
  3835. done
  3836. IFS=$as_save_IFS
  3837. if test -z "$ac_cv_path_GREP"; then
  3838. as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  3839. fi
  3840. else
  3841. ac_cv_path_GREP=$GREP
  3842. fi
  3843. fi
  3844. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
  3845. $as_echo "$ac_cv_path_GREP" >&6; }
  3846. GREP="$ac_cv_path_GREP"
  3847. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
  3848. $as_echo_n "checking for egrep... " >&6; }
  3849. if test "${ac_cv_path_EGREP+set}" = set; then :
  3850. $as_echo_n "(cached) " >&6
  3851. else
  3852. if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
  3853. then ac_cv_path_EGREP="$GREP -E"
  3854. else
  3855. if test -z "$EGREP"; then
  3856. ac_path_EGREP_found=false
  3857. # Loop through the user's path and test for each of PROGNAME-LIST
  3858. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3859. for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  3860. do
  3861. IFS=$as_save_IFS
  3862. test -z "$as_dir" && as_dir=.
  3863. for ac_prog in egrep; do
  3864. for ac_exec_ext in '' $ac_executable_extensions; do
  3865. ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
  3866. { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
  3867. # Check for GNU ac_path_EGREP and select it if it is found.
  3868. # Check for GNU $ac_path_EGREP
  3869. case `"$ac_path_EGREP" --version 2>&1` in
  3870. *GNU*)
  3871. ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
  3872. *)
  3873. ac_count=0
  3874. $as_echo_n 0123456789 >"conftest.in"
  3875. while :
  3876. do
  3877. cat "conftest.in" "conftest.in" >"conftest.tmp"
  3878. mv "conftest.tmp" "conftest.in"
  3879. cp "conftest.in" "conftest.nl"
  3880. $as_echo 'EGREP' >> "conftest.nl"
  3881. "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  3882. diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  3883. as_fn_arith $ac_count + 1 && ac_count=$as_val
  3884. if test $ac_count -gt ${ac_path_EGREP_max-0}; then
  3885. # Best one so far, save it but keep looking for a better one
  3886. ac_cv_path_EGREP="$ac_path_EGREP"
  3887. ac_path_EGREP_max=$ac_count
  3888. fi
  3889. # 10*(2^10) chars as input seems more than enough
  3890. test $ac_count -gt 10 && break
  3891. done
  3892. rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  3893. esac
  3894. $ac_path_EGREP_found && break 3
  3895. done
  3896. done
  3897. done
  3898. IFS=$as_save_IFS
  3899. if test -z "$ac_cv_path_EGREP"; then
  3900. as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  3901. fi
  3902. else
  3903. ac_cv_path_EGREP=$EGREP
  3904. fi
  3905. fi
  3906. fi
  3907. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
  3908. $as_echo "$ac_cv_path_EGREP" >&6; }
  3909. EGREP="$ac_cv_path_EGREP"
  3910. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
  3911. $as_echo_n "checking for fgrep... " >&6; }
  3912. if test "${ac_cv_path_FGREP+set}" = set; then :
  3913. $as_echo_n "(cached) " >&6
  3914. else
  3915. if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
  3916. then ac_cv_path_FGREP="$GREP -F"
  3917. else
  3918. if test -z "$FGREP"; then
  3919. ac_path_FGREP_found=false
  3920. # Loop through the user's path and test for each of PROGNAME-LIST
  3921. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3922. for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  3923. do
  3924. IFS=$as_save_IFS
  3925. test -z "$as_dir" && as_dir=.
  3926. for ac_prog in fgrep; do
  3927. for ac_exec_ext in '' $ac_executable_extensions; do
  3928. ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
  3929. { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
  3930. # Check for GNU ac_path_FGREP and select it if it is found.
  3931. # Check for GNU $ac_path_FGREP
  3932. case `"$ac_path_FGREP" --version 2>&1` in
  3933. *GNU*)
  3934. ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
  3935. *)
  3936. ac_count=0
  3937. $as_echo_n 0123456789 >"conftest.in"
  3938. while :
  3939. do
  3940. cat "conftest.in" "conftest.in" >"conftest.tmp"
  3941. mv "conftest.tmp" "conftest.in"
  3942. cp "conftest.in" "conftest.nl"
  3943. $as_echo 'FGREP' >> "conftest.nl"
  3944. "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
  3945. diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  3946. as_fn_arith $ac_count + 1 && ac_count=$as_val
  3947. if test $ac_count -gt ${ac_path_FGREP_max-0}; then
  3948. # Best one so far, save it but keep looking for a better one
  3949. ac_cv_path_FGREP="$ac_path_FGREP"
  3950. ac_path_FGREP_max=$ac_count
  3951. fi
  3952. # 10*(2^10) chars as input seems more than enough
  3953. test $ac_count -gt 10 && break
  3954. done
  3955. rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  3956. esac
  3957. $ac_path_FGREP_found && break 3
  3958. done
  3959. done
  3960. done
  3961. IFS=$as_save_IFS
  3962. if test -z "$ac_cv_path_FGREP"; then
  3963. as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  3964. fi
  3965. else
  3966. ac_cv_path_FGREP=$FGREP
  3967. fi
  3968. fi
  3969. fi
  3970. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
  3971. $as_echo "$ac_cv_path_FGREP" >&6; }
  3972. FGREP="$ac_cv_path_FGREP"
  3973. test -z "$GREP" && GREP=grep
  3974. # Check whether --with-gnu-ld was given.
  3975. if test "${with_gnu_ld+set}" = set; then :
  3976. withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
  3977. else
  3978. with_gnu_ld=no
  3979. fi
  3980. ac_prog=ld
  3981. if test "$GCC" = yes; then
  3982. # Check if gcc -print-prog-name=ld gives a path.
  3983. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
  3984. $as_echo_n "checking for ld used by $CC... " >&6; }
  3985. case $host in
  3986. *-*-mingw*)
  3987. # gcc leaves a trailing carriage return which upsets mingw
  3988. ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
  3989. *)
  3990. ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
  3991. esac
  3992. case $ac_prog in
  3993. # Accept absolute paths.
  3994. [\\/]* | ?:[\\/]*)
  3995. re_direlt='/[^/][^/]*/\.\./'
  3996. # Canonicalize the pathname of ld
  3997. ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
  3998. while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
  3999. ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
  4000. done
  4001. test -z "$LD" && LD="$ac_prog"
  4002. ;;
  4003. "")
  4004. # If it fails, then pretend we aren't using GCC.
  4005. ac_prog=ld
  4006. ;;
  4007. *)
  4008. # If it is relative, then search for the first ld in PATH.
  4009. with_gnu_ld=unknown
  4010. ;;
  4011. esac
  4012. elif test "$with_gnu_ld" = yes; then
  4013. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
  4014. $as_echo_n "checking for GNU ld... " >&6; }
  4015. else
  4016. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
  4017. $as_echo_n "checking for non-GNU ld... " >&6; }
  4018. fi
  4019. if test "${lt_cv_path_LD+set}" = set; then :
  4020. $as_echo_n "(cached) " >&6
  4021. else
  4022. if test -z "$LD"; then
  4023. lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  4024. for ac_dir in $PATH; do
  4025. IFS="$lt_save_ifs"
  4026. test -z "$ac_dir" && ac_dir=.
  4027. if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
  4028. lt_cv_path_LD="$ac_dir/$ac_prog"
  4029. # Check to see if the program is GNU ld. I'd rather use --version,
  4030. # but apparently some variants of GNU ld only accept -v.
  4031. # Break only if it was the GNU/non-GNU ld that we prefer.
  4032. case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
  4033. *GNU* | *'with BFD'*)
  4034. test "$with_gnu_ld" != no && break
  4035. ;;
  4036. *)
  4037. test "$with_gnu_ld" != yes && break
  4038. ;;
  4039. esac
  4040. fi
  4041. done
  4042. IFS="$lt_save_ifs"
  4043. else
  4044. lt_cv_path_LD="$LD" # Let the user override the test with a path.
  4045. fi
  4046. fi
  4047. LD="$lt_cv_path_LD"
  4048. if test -n "$LD"; then
  4049. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
  4050. $as_echo "$LD" >&6; }
  4051. else
  4052. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4053. $as_echo "no" >&6; }
  4054. fi
  4055. test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
  4056. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
  4057. $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
  4058. if test "${lt_cv_prog_gnu_ld+set}" = set; then :
  4059. $as_echo_n "(cached) " >&6
  4060. else
  4061. # I'd rather use --version here, but apparently some GNU lds only accept -v.
  4062. case `$LD -v 2>&1 </dev/null` in
  4063. *GNU* | *'with BFD'*)
  4064. lt_cv_prog_gnu_ld=yes
  4065. ;;
  4066. *)
  4067. lt_cv_prog_gnu_ld=no
  4068. ;;
  4069. esac
  4070. fi
  4071. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
  4072. $as_echo "$lt_cv_prog_gnu_ld" >&6; }
  4073. with_gnu_ld=$lt_cv_prog_gnu_ld
  4074. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
  4075. $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
  4076. if test "${lt_cv_path_NM+set}" = set; then :
  4077. $as_echo_n "(cached) " >&6
  4078. else
  4079. if test -n "$NM"; then
  4080. # Let the user override the test.
  4081. lt_cv_path_NM="$NM"
  4082. else
  4083. lt_nm_to_check="${ac_tool_prefix}nm"
  4084. if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
  4085. lt_nm_to_check="$lt_nm_to_check nm"
  4086. fi
  4087. for lt_tmp_nm in $lt_nm_to_check; do
  4088. lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  4089. for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
  4090. IFS="$lt_save_ifs"
  4091. test -z "$ac_dir" && ac_dir=.
  4092. tmp_nm="$ac_dir/$lt_tmp_nm"
  4093. if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
  4094. # Check to see if the nm accepts a BSD-compat flag.
  4095. # Adding the `sed 1q' prevents false positives on HP-UX, which says:
  4096. # nm: unknown option "B" ignored
  4097. # Tru64's nm complains that /dev/null is an invalid object file
  4098. case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
  4099. */dev/null* | *'Invalid file or object type'*)
  4100. lt_cv_path_NM="$tmp_nm -B"
  4101. break
  4102. ;;
  4103. *)
  4104. case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
  4105. */dev/null*)
  4106. lt_cv_path_NM="$tmp_nm -p"
  4107. break
  4108. ;;
  4109. *)
  4110. lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
  4111. continue # so that we can try to find one that supports BSD flags
  4112. ;;
  4113. esac
  4114. ;;
  4115. esac
  4116. fi
  4117. done
  4118. IFS="$lt_save_ifs"
  4119. done
  4120. : ${lt_cv_path_NM=no}
  4121. fi
  4122. fi
  4123. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
  4124. $as_echo "$lt_cv_path_NM" >&6; }
  4125. if test "$lt_cv_path_NM" != "no"; then
  4126. NM="$lt_cv_path_NM"
  4127. else
  4128. # Didn't find any BSD compatible name lister, look for dumpbin.
  4129. if test -n "$ac_tool_prefix"; then
  4130. for ac_prog in "dumpbin -symbols" "link -dump -symbols"
  4131. do
  4132. # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  4133. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  4134. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4135. $as_echo_n "checking for $ac_word... " >&6; }
  4136. if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
  4137. $as_echo_n "(cached) " >&6
  4138. else
  4139. if test -n "$DUMPBIN"; then
  4140. ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
  4141. else
  4142. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4143. for as_dir in $PATH
  4144. do
  4145. IFS=$as_save_IFS
  4146. test -z "$as_dir" && as_dir=.
  4147. for ac_exec_ext in '' $ac_executable_extensions; do
  4148. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4149. ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
  4150. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4151. break 2
  4152. fi
  4153. done
  4154. done
  4155. IFS=$as_save_IFS
  4156. fi
  4157. fi
  4158. DUMPBIN=$ac_cv_prog_DUMPBIN
  4159. if test -n "$DUMPBIN"; then
  4160. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
  4161. $as_echo "$DUMPBIN" >&6; }
  4162. else
  4163. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4164. $as_echo "no" >&6; }
  4165. fi
  4166. test -n "$DUMPBIN" && break
  4167. done
  4168. fi
  4169. if test -z "$DUMPBIN"; then
  4170. ac_ct_DUMPBIN=$DUMPBIN
  4171. for ac_prog in "dumpbin -symbols" "link -dump -symbols"
  4172. do
  4173. # Extract the first word of "$ac_prog", so it can be a program name with args.
  4174. set dummy $ac_prog; ac_word=$2
  4175. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4176. $as_echo_n "checking for $ac_word... " >&6; }
  4177. if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
  4178. $as_echo_n "(cached) " >&6
  4179. else
  4180. if test -n "$ac_ct_DUMPBIN"; then
  4181. ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
  4182. else
  4183. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4184. for as_dir in $PATH
  4185. do
  4186. IFS=$as_save_IFS
  4187. test -z "$as_dir" && as_dir=.
  4188. for ac_exec_ext in '' $ac_executable_extensions; do
  4189. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4190. ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
  4191. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4192. break 2
  4193. fi
  4194. done
  4195. done
  4196. IFS=$as_save_IFS
  4197. fi
  4198. fi
  4199. ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
  4200. if test -n "$ac_ct_DUMPBIN"; then
  4201. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
  4202. $as_echo "$ac_ct_DUMPBIN" >&6; }
  4203. else
  4204. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4205. $as_echo "no" >&6; }
  4206. fi
  4207. test -n "$ac_ct_DUMPBIN" && break
  4208. done
  4209. if test "x$ac_ct_DUMPBIN" = x; then
  4210. DUMPBIN=":"
  4211. else
  4212. case $cross_compiling:$ac_tool_warned in
  4213. yes:)
  4214. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  4215. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  4216. ac_tool_warned=yes ;;
  4217. esac
  4218. DUMPBIN=$ac_ct_DUMPBIN
  4219. fi
  4220. fi
  4221. if test "$DUMPBIN" != ":"; then
  4222. NM="$DUMPBIN"
  4223. fi
  4224. fi
  4225. test -z "$NM" && NM=nm
  4226. { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
  4227. $as_echo_n "checking the name lister ($NM) interface... " >&6; }
  4228. if test "${lt_cv_nm_interface+set}" = set; then :
  4229. $as_echo_n "(cached) " >&6
  4230. else
  4231. lt_cv_nm_interface="BSD nm"
  4232. echo "int some_variable = 0;" > conftest.$ac_ext
  4233. (eval echo "\"\$as_me:4683: $ac_compile\"" >&5)
  4234. (eval "$ac_compile" 2>conftest.err)
  4235. cat conftest.err >&5
  4236. (eval echo "\"\$as_me:4686: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
  4237. (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
  4238. cat conftest.err >&5
  4239. (eval echo "\"\$as_me:4689: output\"" >&5)
  4240. cat conftest.out >&5
  4241. if $GREP 'External.*some_variable' conftest.out > /dev/null; then
  4242. lt_cv_nm_interface="MS dumpbin"
  4243. fi
  4244. rm -f conftest*
  4245. fi
  4246. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
  4247. $as_echo "$lt_cv_nm_interface" >&6; }
  4248. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
  4249. $as_echo_n "checking whether ln -s works... " >&6; }
  4250. LN_S=$as_ln_s
  4251. if test "$LN_S" = "ln -s"; then
  4252. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  4253. $as_echo "yes" >&6; }
  4254. else
  4255. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
  4256. $as_echo "no, using $LN_S" >&6; }
  4257. fi
  4258. # find the maximum length of command line arguments
  4259. { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
  4260. $as_echo_n "checking the maximum length of command line arguments... " >&6; }
  4261. if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
  4262. $as_echo_n "(cached) " >&6
  4263. else
  4264. i=0
  4265. teststring="ABCD"
  4266. case $build_os in
  4267. msdosdjgpp*)
  4268. # On DJGPP, this test can blow up pretty badly due to problems in libc
  4269. # (any single argument exceeding 2000 bytes causes a buffer overrun
  4270. # during glob expansion). Even if it were fixed, the result of this
  4271. # check would be larger than it should be.
  4272. lt_cv_sys_max_cmd_len=12288; # 12K is about right
  4273. ;;
  4274. gnu*)
  4275. # Under GNU Hurd, this test is not required because there is
  4276. # no limit to the length of command line arguments.
  4277. # Libtool will interpret -1 as no limit whatsoever
  4278. lt_cv_sys_max_cmd_len=-1;
  4279. ;;
  4280. cygwin* | mingw* | cegcc*)
  4281. # On Win9x/ME, this test blows up -- it succeeds, but takes
  4282. # about 5 minutes as the teststring grows exponentially.
  4283. # Worse, since 9x/ME are not pre-emptively multitasking,
  4284. # you end up with a "frozen" computer, even though with patience
  4285. # the test eventually succeeds (with a max line length of 256k).
  4286. # Instead, let's just punt: use the minimum linelength reported by
  4287. # all of the supported platforms: 8192 (on NT/2K/XP).
  4288. lt_cv_sys_max_cmd_len=8192;
  4289. ;;
  4290. amigaos*)
  4291. # On AmigaOS with pdksh, this test takes hours, literally.
  4292. # So we just punt and use a minimum line length of 8192.
  4293. lt_cv_sys_max_cmd_len=8192;
  4294. ;;
  4295. netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
  4296. # This has been around since 386BSD, at least. Likely further.
  4297. if test -x /sbin/sysctl; then
  4298. lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
  4299. elif test -x /usr/sbin/sysctl; then
  4300. lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
  4301. else
  4302. lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
  4303. fi
  4304. # And add a safety zone
  4305. lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
  4306. lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
  4307. ;;
  4308. interix*)
  4309. # We know the value 262144 and hardcode it with a safety zone (like BSD)
  4310. lt_cv_sys_max_cmd_len=196608
  4311. ;;
  4312. osf*)
  4313. # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
  4314. # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
  4315. # nice to cause kernel panics so lets avoid the loop below.
  4316. # First set a reasonable default.
  4317. lt_cv_sys_max_cmd_len=16384
  4318. #
  4319. if test -x /sbin/sysconfig; then
  4320. case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
  4321. *1*) lt_cv_sys_max_cmd_len=-1 ;;
  4322. esac
  4323. fi
  4324. ;;
  4325. sco3.2v5*)
  4326. lt_cv_sys_max_cmd_len=102400
  4327. ;;
  4328. sysv5* | sco5v6* | sysv4.2uw2*)
  4329. kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
  4330. if test -n "$kargmax"; then
  4331. lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
  4332. else
  4333. lt_cv_sys_max_cmd_len=32768
  4334. fi
  4335. ;;
  4336. *)
  4337. lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
  4338. if test -n "$lt_cv_sys_max_cmd_len"; then
  4339. lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
  4340. lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
  4341. else
  4342. # Make teststring a little bigger before we do anything with it.
  4343. # a 1K string should be a reasonable start.
  4344. for i in 1 2 3 4 5 6 7 8 ; do
  4345. teststring=$teststring$teststring
  4346. done
  4347. SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
  4348. # If test is not a shell built-in, we'll probably end up computing a
  4349. # maximum length that is only half of the actual maximum length, but
  4350. # we can't tell.
  4351. while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
  4352. = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
  4353. test $i != 17 # 1/2 MB should be enough
  4354. do
  4355. i=`expr $i + 1`
  4356. teststring=$teststring$teststring
  4357. done
  4358. # Only check the string length outside the loop.
  4359. lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
  4360. teststring=
  4361. # Add a significant safety factor because C++ compilers can tack on
  4362. # massive amounts of additional arguments before passing them to the
  4363. # linker. It appears as though 1/2 is a usable value.
  4364. lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
  4365. fi
  4366. ;;
  4367. esac
  4368. fi
  4369. if test -n $lt_cv_sys_max_cmd_len ; then
  4370. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
  4371. $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
  4372. else
  4373. { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
  4374. $as_echo "none" >&6; }
  4375. fi
  4376. max_cmd_len=$lt_cv_sys_max_cmd_len
  4377. : ${CP="cp -f"}
  4378. : ${MV="mv -f"}
  4379. : ${RM="rm -f"}
  4380. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
  4381. $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
  4382. # Try some XSI features
  4383. xsi_shell=no
  4384. ( _lt_dummy="a/b/c"
  4385. test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
  4386. = c,a/b,, \
  4387. && eval 'test $(( 1 + 1 )) -eq 2 \
  4388. && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
  4389. && xsi_shell=yes
  4390. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
  4391. $as_echo "$xsi_shell" >&6; }
  4392. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
  4393. $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
  4394. lt_shell_append=no
  4395. ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
  4396. >/dev/null 2>&1 \
  4397. && lt_shell_append=yes
  4398. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
  4399. $as_echo "$lt_shell_append" >&6; }
  4400. if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
  4401. lt_unset=unset
  4402. else
  4403. lt_unset=false
  4404. fi
  4405. # test EBCDIC or ASCII
  4406. case `echo X|tr X '\101'` in
  4407. A) # ASCII based system
  4408. # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
  4409. lt_SP2NL='tr \040 \012'
  4410. lt_NL2SP='tr \015\012 \040\040'
  4411. ;;
  4412. *) # EBCDIC based system
  4413. lt_SP2NL='tr \100 \n'
  4414. lt_NL2SP='tr \r\n \100\100'
  4415. ;;
  4416. esac
  4417. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
  4418. $as_echo_n "checking for $LD option to reload object files... " >&6; }
  4419. if test "${lt_cv_ld_reload_flag+set}" = set; then :
  4420. $as_echo_n "(cached) " >&6
  4421. else
  4422. lt_cv_ld_reload_flag='-r'
  4423. fi
  4424. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
  4425. $as_echo "$lt_cv_ld_reload_flag" >&6; }
  4426. reload_flag=$lt_cv_ld_reload_flag
  4427. case $reload_flag in
  4428. "" | " "*) ;;
  4429. *) reload_flag=" $reload_flag" ;;
  4430. esac
  4431. reload_cmds='$LD$reload_flag -o $output$reload_objs'
  4432. case $host_os in
  4433. darwin*)
  4434. if test "$GCC" = yes; then
  4435. reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
  4436. else
  4437. reload_cmds='$LD$reload_flag -o $output$reload_objs'
  4438. fi
  4439. ;;
  4440. esac
  4441. if test -n "$ac_tool_prefix"; then
  4442. # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
  4443. set dummy ${ac_tool_prefix}objdump; ac_word=$2
  4444. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4445. $as_echo_n "checking for $ac_word... " >&6; }
  4446. if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
  4447. $as_echo_n "(cached) " >&6
  4448. else
  4449. if test -n "$OBJDUMP"; then
  4450. ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
  4451. else
  4452. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4453. for as_dir in $PATH
  4454. do
  4455. IFS=$as_save_IFS
  4456. test -z "$as_dir" && as_dir=.
  4457. for ac_exec_ext in '' $ac_executable_extensions; do
  4458. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4459. ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
  4460. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4461. break 2
  4462. fi
  4463. done
  4464. done
  4465. IFS=$as_save_IFS
  4466. fi
  4467. fi
  4468. OBJDUMP=$ac_cv_prog_OBJDUMP
  4469. if test -n "$OBJDUMP"; then
  4470. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
  4471. $as_echo "$OBJDUMP" >&6; }
  4472. else
  4473. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4474. $as_echo "no" >&6; }
  4475. fi
  4476. fi
  4477. if test -z "$ac_cv_prog_OBJDUMP"; then
  4478. ac_ct_OBJDUMP=$OBJDUMP
  4479. # Extract the first word of "objdump", so it can be a program name with args.
  4480. set dummy objdump; ac_word=$2
  4481. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4482. $as_echo_n "checking for $ac_word... " >&6; }
  4483. if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
  4484. $as_echo_n "(cached) " >&6
  4485. else
  4486. if test -n "$ac_ct_OBJDUMP"; then
  4487. ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
  4488. else
  4489. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4490. for as_dir in $PATH
  4491. do
  4492. IFS=$as_save_IFS
  4493. test -z "$as_dir" && as_dir=.
  4494. for ac_exec_ext in '' $ac_executable_extensions; do
  4495. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4496. ac_cv_prog_ac_ct_OBJDUMP="objdump"
  4497. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4498. break 2
  4499. fi
  4500. done
  4501. done
  4502. IFS=$as_save_IFS
  4503. fi
  4504. fi
  4505. ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
  4506. if test -n "$ac_ct_OBJDUMP"; then
  4507. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
  4508. $as_echo "$ac_ct_OBJDUMP" >&6; }
  4509. else
  4510. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4511. $as_echo "no" >&6; }
  4512. fi
  4513. if test "x$ac_ct_OBJDUMP" = x; then
  4514. OBJDUMP="false"
  4515. else
  4516. case $cross_compiling:$ac_tool_warned in
  4517. yes:)
  4518. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  4519. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  4520. ac_tool_warned=yes ;;
  4521. esac
  4522. OBJDUMP=$ac_ct_OBJDUMP
  4523. fi
  4524. else
  4525. OBJDUMP="$ac_cv_prog_OBJDUMP"
  4526. fi
  4527. test -z "$OBJDUMP" && OBJDUMP=objdump
  4528. { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
  4529. $as_echo_n "checking how to recognize dependent libraries... " >&6; }
  4530. if test "${lt_cv_deplibs_check_method+set}" = set; then :
  4531. $as_echo_n "(cached) " >&6
  4532. else
  4533. lt_cv_file_magic_cmd='$MAGIC_CMD'
  4534. lt_cv_file_magic_test_file=
  4535. lt_cv_deplibs_check_method='unknown'
  4536. # Need to set the preceding variable on all platforms that support
  4537. # interlibrary dependencies.
  4538. # 'none' -- dependencies not supported.
  4539. # `unknown' -- same as none, but documents that we really don't know.
  4540. # 'pass_all' -- all dependencies passed with no checks.
  4541. # 'test_compile' -- check by making test program.
  4542. # 'file_magic [[regex]]' -- check by looking for files in library path
  4543. # which responds to the $file_magic_cmd with a given extended regex.
  4544. # If you have `file' or equivalent on your system and you're not sure
  4545. # whether `pass_all' will *always* work, you probably want this one.
  4546. case $host_os in
  4547. aix[4-9]*)
  4548. lt_cv_deplibs_check_method=pass_all
  4549. ;;
  4550. beos*)
  4551. lt_cv_deplibs_check_method=pass_all
  4552. ;;
  4553. bsdi[45]*)
  4554. lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
  4555. lt_cv_file_magic_cmd='/usr/bin/file -L'
  4556. lt_cv_file_magic_test_file=/shlib/libc.so
  4557. ;;
  4558. cygwin*)
  4559. # func_win32_libid is a shell function defined in ltmain.sh
  4560. lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
  4561. lt_cv_file_magic_cmd='func_win32_libid'
  4562. ;;
  4563. mingw* | pw32*)
  4564. # Base MSYS/MinGW do not provide the 'file' command needed by
  4565. # func_win32_libid shell function, so use a weaker test based on 'objdump',
  4566. # unless we find 'file', for example because we are cross-compiling.
  4567. if ( file / ) >/dev/null 2>&1; then
  4568. lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
  4569. lt_cv_file_magic_cmd='func_win32_libid'
  4570. else
  4571. lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
  4572. lt_cv_file_magic_cmd='$OBJDUMP -f'
  4573. fi
  4574. ;;
  4575. cegcc)
  4576. # use the weaker test based on 'objdump'. See mingw*.
  4577. lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
  4578. lt_cv_file_magic_cmd='$OBJDUMP -f'
  4579. ;;
  4580. darwin* | rhapsody*)
  4581. lt_cv_deplibs_check_method=pass_all
  4582. ;;
  4583. freebsd* | dragonfly*)
  4584. if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
  4585. case $host_cpu in
  4586. i*86 )
  4587. # Not sure whether the presence of OpenBSD here was a mistake.
  4588. # Let's accept both of them until this is cleared up.
  4589. lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
  4590. lt_cv_file_magic_cmd=/usr/bin/file
  4591. lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
  4592. ;;
  4593. esac
  4594. else
  4595. lt_cv_deplibs_check_method=pass_all
  4596. fi
  4597. ;;
  4598. gnu*)
  4599. lt_cv_deplibs_check_method=pass_all
  4600. ;;
  4601. hpux10.20* | hpux11*)
  4602. lt_cv_file_magic_cmd=/usr/bin/file
  4603. case $host_cpu in
  4604. ia64*)
  4605. lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
  4606. lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
  4607. ;;
  4608. hppa*64*)
  4609. lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
  4610. lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
  4611. ;;
  4612. *)
  4613. lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
  4614. lt_cv_file_magic_test_file=/usr/lib/libc.sl
  4615. ;;
  4616. esac
  4617. ;;
  4618. interix[3-9]*)
  4619. # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
  4620. lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
  4621. ;;
  4622. irix5* | irix6* | nonstopux*)
  4623. case $LD in
  4624. *-32|*"-32 ") libmagic=32-bit;;
  4625. *-n32|*"-n32 ") libmagic=N32;;
  4626. *-64|*"-64 ") libmagic=64-bit;;
  4627. *) libmagic=never-match;;
  4628. esac
  4629. lt_cv_deplibs_check_method=pass_all
  4630. ;;
  4631. # This must be Linux ELF.
  4632. linux* | k*bsd*-gnu)
  4633. lt_cv_deplibs_check_method=pass_all
  4634. ;;
  4635. netbsd* | netbsdelf*-gnu)
  4636. if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
  4637. lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
  4638. else
  4639. lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
  4640. fi
  4641. ;;
  4642. newos6*)
  4643. lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
  4644. lt_cv_file_magic_cmd=/usr/bin/file
  4645. lt_cv_file_magic_test_file=/usr/lib/libnls.so
  4646. ;;
  4647. *nto* | *qnx*)
  4648. lt_cv_deplibs_check_method=pass_all
  4649. ;;
  4650. openbsd*)
  4651. if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  4652. lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
  4653. else
  4654. lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
  4655. fi
  4656. ;;
  4657. osf3* | osf4* | osf5*)
  4658. lt_cv_deplibs_check_method=pass_all
  4659. ;;
  4660. rdos*)
  4661. lt_cv_deplibs_check_method=pass_all
  4662. ;;
  4663. solaris*)
  4664. lt_cv_deplibs_check_method=pass_all
  4665. ;;
  4666. sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  4667. lt_cv_deplibs_check_method=pass_all
  4668. ;;
  4669. sysv4 | sysv4.3*)
  4670. case $host_vendor in
  4671. motorola)
  4672. 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]'
  4673. lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
  4674. ;;
  4675. ncr)
  4676. lt_cv_deplibs_check_method=pass_all
  4677. ;;
  4678. sequent)
  4679. lt_cv_file_magic_cmd='/bin/file'
  4680. lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
  4681. ;;
  4682. sni)
  4683. lt_cv_file_magic_cmd='/bin/file'
  4684. lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
  4685. lt_cv_file_magic_test_file=/lib/libc.so
  4686. ;;
  4687. siemens)
  4688. lt_cv_deplibs_check_method=pass_all
  4689. ;;
  4690. pc)
  4691. lt_cv_deplibs_check_method=pass_all
  4692. ;;
  4693. esac
  4694. ;;
  4695. tpf*)
  4696. lt_cv_deplibs_check_method=pass_all
  4697. ;;
  4698. esac
  4699. fi
  4700. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
  4701. $as_echo "$lt_cv_deplibs_check_method" >&6; }
  4702. file_magic_cmd=$lt_cv_file_magic_cmd
  4703. deplibs_check_method=$lt_cv_deplibs_check_method
  4704. test -z "$deplibs_check_method" && deplibs_check_method=unknown
  4705. if test -n "$ac_tool_prefix"; then
  4706. # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
  4707. set dummy ${ac_tool_prefix}ar; ac_word=$2
  4708. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4709. $as_echo_n "checking for $ac_word... " >&6; }
  4710. if test "${ac_cv_prog_AR+set}" = set; then :
  4711. $as_echo_n "(cached) " >&6
  4712. else
  4713. if test -n "$AR"; then
  4714. ac_cv_prog_AR="$AR" # Let the user override the test.
  4715. else
  4716. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4717. for as_dir in $PATH
  4718. do
  4719. IFS=$as_save_IFS
  4720. test -z "$as_dir" && as_dir=.
  4721. for ac_exec_ext in '' $ac_executable_extensions; do
  4722. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4723. ac_cv_prog_AR="${ac_tool_prefix}ar"
  4724. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4725. break 2
  4726. fi
  4727. done
  4728. done
  4729. IFS=$as_save_IFS
  4730. fi
  4731. fi
  4732. AR=$ac_cv_prog_AR
  4733. if test -n "$AR"; then
  4734. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
  4735. $as_echo "$AR" >&6; }
  4736. else
  4737. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4738. $as_echo "no" >&6; }
  4739. fi
  4740. fi
  4741. if test -z "$ac_cv_prog_AR"; then
  4742. ac_ct_AR=$AR
  4743. # Extract the first word of "ar", so it can be a program name with args.
  4744. set dummy ar; ac_word=$2
  4745. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4746. $as_echo_n "checking for $ac_word... " >&6; }
  4747. if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
  4748. $as_echo_n "(cached) " >&6
  4749. else
  4750. if test -n "$ac_ct_AR"; then
  4751. ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
  4752. else
  4753. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4754. for as_dir in $PATH
  4755. do
  4756. IFS=$as_save_IFS
  4757. test -z "$as_dir" && as_dir=.
  4758. for ac_exec_ext in '' $ac_executable_extensions; do
  4759. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4760. ac_cv_prog_ac_ct_AR="ar"
  4761. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4762. break 2
  4763. fi
  4764. done
  4765. done
  4766. IFS=$as_save_IFS
  4767. fi
  4768. fi
  4769. ac_ct_AR=$ac_cv_prog_ac_ct_AR
  4770. if test -n "$ac_ct_AR"; then
  4771. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
  4772. $as_echo "$ac_ct_AR" >&6; }
  4773. else
  4774. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4775. $as_echo "no" >&6; }
  4776. fi
  4777. if test "x$ac_ct_AR" = x; then
  4778. AR="false"
  4779. else
  4780. case $cross_compiling:$ac_tool_warned in
  4781. yes:)
  4782. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  4783. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  4784. ac_tool_warned=yes ;;
  4785. esac
  4786. AR=$ac_ct_AR
  4787. fi
  4788. else
  4789. AR="$ac_cv_prog_AR"
  4790. fi
  4791. test -z "$AR" && AR=ar
  4792. test -z "$AR_FLAGS" && AR_FLAGS=cru
  4793. if test -n "$ac_tool_prefix"; then
  4794. # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  4795. set dummy ${ac_tool_prefix}strip; ac_word=$2
  4796. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4797. $as_echo_n "checking for $ac_word... " >&6; }
  4798. if test "${ac_cv_prog_STRIP+set}" = set; then :
  4799. $as_echo_n "(cached) " >&6
  4800. else
  4801. if test -n "$STRIP"; then
  4802. ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  4803. else
  4804. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4805. for as_dir in $PATH
  4806. do
  4807. IFS=$as_save_IFS
  4808. test -z "$as_dir" && as_dir=.
  4809. for ac_exec_ext in '' $ac_executable_extensions; do
  4810. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4811. ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  4812. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4813. break 2
  4814. fi
  4815. done
  4816. done
  4817. IFS=$as_save_IFS
  4818. fi
  4819. fi
  4820. STRIP=$ac_cv_prog_STRIP
  4821. if test -n "$STRIP"; then
  4822. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
  4823. $as_echo "$STRIP" >&6; }
  4824. else
  4825. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4826. $as_echo "no" >&6; }
  4827. fi
  4828. fi
  4829. if test -z "$ac_cv_prog_STRIP"; then
  4830. ac_ct_STRIP=$STRIP
  4831. # Extract the first word of "strip", so it can be a program name with args.
  4832. set dummy strip; ac_word=$2
  4833. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4834. $as_echo_n "checking for $ac_word... " >&6; }
  4835. if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
  4836. $as_echo_n "(cached) " >&6
  4837. else
  4838. if test -n "$ac_ct_STRIP"; then
  4839. ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  4840. else
  4841. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4842. for as_dir in $PATH
  4843. do
  4844. IFS=$as_save_IFS
  4845. test -z "$as_dir" && as_dir=.
  4846. for ac_exec_ext in '' $ac_executable_extensions; do
  4847. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4848. ac_cv_prog_ac_ct_STRIP="strip"
  4849. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4850. break 2
  4851. fi
  4852. done
  4853. done
  4854. IFS=$as_save_IFS
  4855. fi
  4856. fi
  4857. ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  4858. if test -n "$ac_ct_STRIP"; then
  4859. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
  4860. $as_echo "$ac_ct_STRIP" >&6; }
  4861. else
  4862. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4863. $as_echo "no" >&6; }
  4864. fi
  4865. if test "x$ac_ct_STRIP" = x; then
  4866. STRIP=":"
  4867. else
  4868. case $cross_compiling:$ac_tool_warned in
  4869. yes:)
  4870. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  4871. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  4872. ac_tool_warned=yes ;;
  4873. esac
  4874. STRIP=$ac_ct_STRIP
  4875. fi
  4876. else
  4877. STRIP="$ac_cv_prog_STRIP"
  4878. fi
  4879. test -z "$STRIP" && STRIP=:
  4880. if test -n "$ac_tool_prefix"; then
  4881. # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
  4882. set dummy ${ac_tool_prefix}ranlib; ac_word=$2
  4883. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4884. $as_echo_n "checking for $ac_word... " >&6; }
  4885. if test "${ac_cv_prog_RANLIB+set}" = set; then :
  4886. $as_echo_n "(cached) " >&6
  4887. else
  4888. if test -n "$RANLIB"; then
  4889. ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
  4890. else
  4891. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4892. for as_dir in $PATH
  4893. do
  4894. IFS=$as_save_IFS
  4895. test -z "$as_dir" && as_dir=.
  4896. for ac_exec_ext in '' $ac_executable_extensions; do
  4897. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4898. ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
  4899. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4900. break 2
  4901. fi
  4902. done
  4903. done
  4904. IFS=$as_save_IFS
  4905. fi
  4906. fi
  4907. RANLIB=$ac_cv_prog_RANLIB
  4908. if test -n "$RANLIB"; then
  4909. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
  4910. $as_echo "$RANLIB" >&6; }
  4911. else
  4912. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4913. $as_echo "no" >&6; }
  4914. fi
  4915. fi
  4916. if test -z "$ac_cv_prog_RANLIB"; then
  4917. ac_ct_RANLIB=$RANLIB
  4918. # Extract the first word of "ranlib", so it can be a program name with args.
  4919. set dummy ranlib; ac_word=$2
  4920. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4921. $as_echo_n "checking for $ac_word... " >&6; }
  4922. if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
  4923. $as_echo_n "(cached) " >&6
  4924. else
  4925. if test -n "$ac_ct_RANLIB"; then
  4926. ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
  4927. else
  4928. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4929. for as_dir in $PATH
  4930. do
  4931. IFS=$as_save_IFS
  4932. test -z "$as_dir" && as_dir=.
  4933. for ac_exec_ext in '' $ac_executable_extensions; do
  4934. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4935. ac_cv_prog_ac_ct_RANLIB="ranlib"
  4936. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4937. break 2
  4938. fi
  4939. done
  4940. done
  4941. IFS=$as_save_IFS
  4942. fi
  4943. fi
  4944. ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
  4945. if test -n "$ac_ct_RANLIB"; then
  4946. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
  4947. $as_echo "$ac_ct_RANLIB" >&6; }
  4948. else
  4949. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4950. $as_echo "no" >&6; }
  4951. fi
  4952. if test "x$ac_ct_RANLIB" = x; then
  4953. RANLIB=":"
  4954. else
  4955. case $cross_compiling:$ac_tool_warned in
  4956. yes:)
  4957. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  4958. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  4959. ac_tool_warned=yes ;;
  4960. esac
  4961. RANLIB=$ac_ct_RANLIB
  4962. fi
  4963. else
  4964. RANLIB="$ac_cv_prog_RANLIB"
  4965. fi
  4966. test -z "$RANLIB" && RANLIB=:
  4967. # Determine commands to create old-style static archives.
  4968. old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
  4969. old_postinstall_cmds='chmod 644 $oldlib'
  4970. old_postuninstall_cmds=
  4971. if test -n "$RANLIB"; then
  4972. case $host_os in
  4973. openbsd*)
  4974. old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
  4975. ;;
  4976. *)
  4977. old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
  4978. ;;
  4979. esac
  4980. old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
  4981. fi
  4982. # If no C compiler was specified, use CC.
  4983. LTCC=${LTCC-"$CC"}
  4984. # If no C compiler flags were specified, use CFLAGS.
  4985. LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
  4986. # Allow CC to be a program name with arguments.
  4987. compiler=$CC
  4988. # Check for command to grab the raw symbol name followed by C symbol from nm.
  4989. { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
  4990. $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
  4991. if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
  4992. $as_echo_n "(cached) " >&6
  4993. else
  4994. # These are sane defaults that work on at least a few old systems.
  4995. # [They come from Ultrix. What could be older than Ultrix?!! ;)]
  4996. # Character class describing NM global symbol codes.
  4997. symcode='[BCDEGRST]'
  4998. # Regexp to match symbols that can be accessed directly from C.
  4999. sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
  5000. # Define system-specific variables.
  5001. case $host_os in
  5002. aix*)
  5003. symcode='[BCDT]'
  5004. ;;
  5005. cygwin* | mingw* | pw32* | cegcc*)
  5006. symcode='[ABCDGISTW]'
  5007. ;;
  5008. hpux*)
  5009. if test "$host_cpu" = ia64; then
  5010. symcode='[ABCDEGRST]'
  5011. fi
  5012. ;;
  5013. irix* | nonstopux*)
  5014. symcode='[BCDEGRST]'
  5015. ;;
  5016. osf*)
  5017. symcode='[BCDEGQRST]'
  5018. ;;
  5019. solaris*)
  5020. symcode='[BDRT]'
  5021. ;;
  5022. sco3.2v5*)
  5023. symcode='[DT]'
  5024. ;;
  5025. sysv4.2uw2*)
  5026. symcode='[DT]'
  5027. ;;
  5028. sysv5* | sco5v6* | unixware* | OpenUNIX*)
  5029. symcode='[ABDT]'
  5030. ;;
  5031. sysv4)
  5032. symcode='[DFNSTU]'
  5033. ;;
  5034. esac
  5035. # If we're using GNU nm, then use its standard symbol codes.
  5036. case `$NM -V 2>&1` in
  5037. *GNU* | *'with BFD'*)
  5038. symcode='[ABCDGIRSTW]' ;;
  5039. esac
  5040. # Transform an extracted symbol line into a proper C declaration.
  5041. # Some systems (esp. on ia64) link data and code symbols differently,
  5042. # so use this general approach.
  5043. lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
  5044. # Transform an extracted symbol line into symbol name and symbol address
  5045. lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
  5046. 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'"
  5047. # Handle CRLF in mingw tool chain
  5048. opt_cr=
  5049. case $build_os in
  5050. mingw*)
  5051. opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
  5052. ;;
  5053. esac
  5054. # Try without a prefix underscore, then with it.
  5055. for ac_symprfx in "" "_"; do
  5056. # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
  5057. symxfrm="\\1 $ac_symprfx\\2 \\2"
  5058. # Write the raw and C identifiers.
  5059. if test "$lt_cv_nm_interface" = "MS dumpbin"; then
  5060. # Fake it for dumpbin and say T for any non-static function
  5061. # and D for any global variable.
  5062. # Also find C++ and __fastcall symbols from MSVC++,
  5063. # which start with @ or ?.
  5064. lt_cv_sys_global_symbol_pipe="$AWK '"\
  5065. " {last_section=section; section=\$ 3};"\
  5066. " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
  5067. " \$ 0!~/External *\|/{next};"\
  5068. " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
  5069. " {if(hide[section]) next};"\
  5070. " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
  5071. " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
  5072. " s[1]~/^[@?]/{print s[1], s[1]; next};"\
  5073. " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
  5074. " ' prfx=^$ac_symprfx"
  5075. else
  5076. lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
  5077. fi
  5078. # Check to see that the pipe works correctly.
  5079. pipe_works=no
  5080. rm -f conftest*
  5081. cat > conftest.$ac_ext <<_LT_EOF
  5082. #ifdef __cplusplus
  5083. extern "C" {
  5084. #endif
  5085. char nm_test_var;
  5086. void nm_test_func(void);
  5087. void nm_test_func(void){}
  5088. #ifdef __cplusplus
  5089. }
  5090. #endif
  5091. int main(){nm_test_var='a';nm_test_func();return(0);}
  5092. _LT_EOF
  5093. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  5094. (eval $ac_compile) 2>&5
  5095. ac_status=$?
  5096. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  5097. test $ac_status = 0; }; then
  5098. # Now try to grab the symbols.
  5099. nlist=conftest.nm
  5100. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
  5101. (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
  5102. ac_status=$?
  5103. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  5104. test $ac_status = 0; } && test -s "$nlist"; then
  5105. # Try sorting and uniquifying the output.
  5106. if sort "$nlist" | uniq > "$nlist"T; then
  5107. mv -f "$nlist"T "$nlist"
  5108. else
  5109. rm -f "$nlist"T
  5110. fi
  5111. # Make sure that we snagged all the symbols we need.
  5112. if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
  5113. if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
  5114. cat <<_LT_EOF > conftest.$ac_ext
  5115. #ifdef __cplusplus
  5116. extern "C" {
  5117. #endif
  5118. _LT_EOF
  5119. # Now generate the symbol file.
  5120. eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
  5121. cat <<_LT_EOF >> conftest.$ac_ext
  5122. /* The mapping between symbol names and symbols. */
  5123. const struct {
  5124. const char *name;
  5125. void *address;
  5126. }
  5127. lt__PROGRAM__LTX_preloaded_symbols[] =
  5128. {
  5129. { "@PROGRAM@", (void *) 0 },
  5130. _LT_EOF
  5131. $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
  5132. cat <<\_LT_EOF >> conftest.$ac_ext
  5133. {0, (void *) 0}
  5134. };
  5135. /* This works around a problem in FreeBSD linker */
  5136. #ifdef FREEBSD_WORKAROUND
  5137. static const void *lt_preloaded_setup() {
  5138. return lt__PROGRAM__LTX_preloaded_symbols;
  5139. }
  5140. #endif
  5141. #ifdef __cplusplus
  5142. }
  5143. #endif
  5144. _LT_EOF
  5145. # Now try linking the two files.
  5146. mv conftest.$ac_objext conftstm.$ac_objext
  5147. lt_save_LIBS="$LIBS"
  5148. lt_save_CFLAGS="$CFLAGS"
  5149. LIBS="conftstm.$ac_objext"
  5150. CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
  5151. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  5152. (eval $ac_link) 2>&5
  5153. ac_status=$?
  5154. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  5155. test $ac_status = 0; } && test -s conftest${ac_exeext}; then
  5156. pipe_works=yes
  5157. fi
  5158. LIBS="$lt_save_LIBS"
  5159. CFLAGS="$lt_save_CFLAGS"
  5160. else
  5161. echo "cannot find nm_test_func in $nlist" >&5
  5162. fi
  5163. else
  5164. echo "cannot find nm_test_var in $nlist" >&5
  5165. fi
  5166. else
  5167. echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
  5168. fi
  5169. else
  5170. echo "$progname: failed program was:" >&5
  5171. cat conftest.$ac_ext >&5
  5172. fi
  5173. rm -rf conftest* conftst*
  5174. # Do not use the global_symbol_pipe unless it works.
  5175. if test "$pipe_works" = yes; then
  5176. break
  5177. else
  5178. lt_cv_sys_global_symbol_pipe=
  5179. fi
  5180. done
  5181. fi
  5182. if test -z "$lt_cv_sys_global_symbol_pipe"; then
  5183. lt_cv_sys_global_symbol_to_cdecl=
  5184. fi
  5185. if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
  5186. { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
  5187. $as_echo "failed" >&6; }
  5188. else
  5189. { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
  5190. $as_echo "ok" >&6; }
  5191. fi
  5192. # Check whether --enable-libtool-lock was given.
  5193. if test "${enable_libtool_lock+set}" = set; then :
  5194. enableval=$enable_libtool_lock;
  5195. fi
  5196. test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
  5197. # Some flags need to be propagated to the compiler or linker for good
  5198. # libtool support.
  5199. case $host in
  5200. ia64-*-hpux*)
  5201. # Find out which ABI we are using.
  5202. echo 'int i;' > conftest.$ac_ext
  5203. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  5204. (eval $ac_compile) 2>&5
  5205. ac_status=$?
  5206. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  5207. test $ac_status = 0; }; then
  5208. case `/usr/bin/file conftest.$ac_objext` in
  5209. *ELF-32*)
  5210. HPUX_IA64_MODE="32"
  5211. ;;
  5212. *ELF-64*)
  5213. HPUX_IA64_MODE="64"
  5214. ;;
  5215. esac
  5216. fi
  5217. rm -rf conftest*
  5218. ;;
  5219. *-*-irix6*)
  5220. # Find out which ABI we are using.
  5221. echo '#line 5892 "configure"' > conftest.$ac_ext
  5222. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  5223. (eval $ac_compile) 2>&5
  5224. ac_status=$?
  5225. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  5226. test $ac_status = 0; }; then
  5227. if test "$lt_cv_prog_gnu_ld" = yes; then
  5228. case `/usr/bin/file conftest.$ac_objext` in
  5229. *32-bit*)
  5230. LD="${LD-ld} -melf32bsmip"
  5231. ;;
  5232. *N32*)
  5233. LD="${LD-ld} -melf32bmipn32"
  5234. ;;
  5235. *64-bit*)
  5236. LD="${LD-ld} -melf64bmip"
  5237. ;;
  5238. esac
  5239. else
  5240. case `/usr/bin/file conftest.$ac_objext` in
  5241. *32-bit*)
  5242. LD="${LD-ld} -32"
  5243. ;;
  5244. *N32*)
  5245. LD="${LD-ld} -n32"
  5246. ;;
  5247. *64-bit*)
  5248. LD="${LD-ld} -64"
  5249. ;;
  5250. esac
  5251. fi
  5252. fi
  5253. rm -rf conftest*
  5254. ;;
  5255. x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
  5256. s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
  5257. # Find out which ABI we are using.
  5258. echo 'int i;' > conftest.$ac_ext
  5259. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  5260. (eval $ac_compile) 2>&5
  5261. ac_status=$?
  5262. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  5263. test $ac_status = 0; }; then
  5264. case `/usr/bin/file conftest.o` in
  5265. *32-bit*)
  5266. case $host in
  5267. x86_64-*kfreebsd*-gnu)
  5268. LD="${LD-ld} -m elf_i386_fbsd"
  5269. ;;
  5270. x86_64-*linux*)
  5271. LD="${LD-ld} -m elf_i386"
  5272. ;;
  5273. ppc64-*linux*|powerpc64-*linux*)
  5274. LD="${LD-ld} -m elf32ppclinux"
  5275. ;;
  5276. s390x-*linux*)
  5277. LD="${LD-ld} -m elf_s390"
  5278. ;;
  5279. sparc64-*linux*)
  5280. LD="${LD-ld} -m elf32_sparc"
  5281. ;;
  5282. esac
  5283. ;;
  5284. *64-bit*)
  5285. case $host in
  5286. x86_64-*kfreebsd*-gnu)
  5287. LD="${LD-ld} -m elf_x86_64_fbsd"
  5288. ;;
  5289. x86_64-*linux*)
  5290. LD="${LD-ld} -m elf_x86_64"
  5291. ;;
  5292. ppc*-*linux*|powerpc*-*linux*)
  5293. LD="${LD-ld} -m elf64ppc"
  5294. ;;
  5295. s390*-*linux*|s390*-*tpf*)
  5296. LD="${LD-ld} -m elf64_s390"
  5297. ;;
  5298. sparc*-*linux*)
  5299. LD="${LD-ld} -m elf64_sparc"
  5300. ;;
  5301. esac
  5302. ;;
  5303. esac
  5304. fi
  5305. rm -rf conftest*
  5306. ;;
  5307. *-*-sco3.2v5*)
  5308. # On SCO OpenServer 5, we need -belf to get full-featured binaries.
  5309. SAVE_CFLAGS="$CFLAGS"
  5310. CFLAGS="$CFLAGS -belf"
  5311. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
  5312. $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
  5313. if test "${lt_cv_cc_needs_belf+set}" = set; then :
  5314. $as_echo_n "(cached) " >&6
  5315. else
  5316. ac_ext=c
  5317. ac_cpp='$CPP $CPPFLAGS'
  5318. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  5319. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  5320. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  5321. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5322. /* end confdefs.h. */
  5323. int
  5324. main ()
  5325. {
  5326. ;
  5327. return 0;
  5328. }
  5329. _ACEOF
  5330. if ac_fn_c_try_link "$LINENO"; then :
  5331. lt_cv_cc_needs_belf=yes
  5332. else
  5333. lt_cv_cc_needs_belf=no
  5334. fi
  5335. rm -f core conftest.err conftest.$ac_objext \
  5336. conftest$ac_exeext conftest.$ac_ext
  5337. ac_ext=c
  5338. ac_cpp='$CPP $CPPFLAGS'
  5339. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  5340. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  5341. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  5342. fi
  5343. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
  5344. $as_echo "$lt_cv_cc_needs_belf" >&6; }
  5345. if test x"$lt_cv_cc_needs_belf" != x"yes"; then
  5346. # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
  5347. CFLAGS="$SAVE_CFLAGS"
  5348. fi
  5349. ;;
  5350. sparc*-*solaris*)
  5351. # Find out which ABI we are using.
  5352. echo 'int i;' > conftest.$ac_ext
  5353. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  5354. (eval $ac_compile) 2>&5
  5355. ac_status=$?
  5356. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  5357. test $ac_status = 0; }; then
  5358. case `/usr/bin/file conftest.o` in
  5359. *64-bit*)
  5360. case $lt_cv_prog_gnu_ld in
  5361. yes*) LD="${LD-ld} -m elf64_sparc" ;;
  5362. *)
  5363. if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
  5364. LD="${LD-ld} -64"
  5365. fi
  5366. ;;
  5367. esac
  5368. ;;
  5369. esac
  5370. fi
  5371. rm -rf conftest*
  5372. ;;
  5373. esac
  5374. need_locks="$enable_libtool_lock"
  5375. case $host_os in
  5376. rhapsody* | darwin*)
  5377. if test -n "$ac_tool_prefix"; then
  5378. # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
  5379. set dummy ${ac_tool_prefix}dsymutil; 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_DSYMUTIL+set}" = set; then :
  5383. $as_echo_n "(cached) " >&6
  5384. else
  5385. if test -n "$DSYMUTIL"; then
  5386. ac_cv_prog_DSYMUTIL="$DSYMUTIL" # 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_DSYMUTIL="${ac_tool_prefix}dsymutil"
  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. DSYMUTIL=$ac_cv_prog_DSYMUTIL
  5405. if test -n "$DSYMUTIL"; then
  5406. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
  5407. $as_echo "$DSYMUTIL" >&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_DSYMUTIL"; then
  5414. ac_ct_DSYMUTIL=$DSYMUTIL
  5415. # Extract the first word of "dsymutil", so it can be a program name with args.
  5416. set dummy dsymutil; 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_DSYMUTIL+set}" = set; then :
  5420. $as_echo_n "(cached) " >&6
  5421. else
  5422. if test -n "$ac_ct_DSYMUTIL"; then
  5423. ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # 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_DSYMUTIL="dsymutil"
  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_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
  5442. if test -n "$ac_ct_DSYMUTIL"; then
  5443. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
  5444. $as_echo "$ac_ct_DSYMUTIL" >&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_DSYMUTIL" = x; then
  5450. DSYMUTIL=":"
  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. DSYMUTIL=$ac_ct_DSYMUTIL
  5459. fi
  5460. else
  5461. DSYMUTIL="$ac_cv_prog_DSYMUTIL"
  5462. fi
  5463. if test -n "$ac_tool_prefix"; then
  5464. # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
  5465. set dummy ${ac_tool_prefix}nmedit; ac_word=$2
  5466. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5467. $as_echo_n "checking for $ac_word... " >&6; }
  5468. if test "${ac_cv_prog_NMEDIT+set}" = set; then :
  5469. $as_echo_n "(cached) " >&6
  5470. else
  5471. if test -n "$NMEDIT"; then
  5472. ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
  5473. else
  5474. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5475. for as_dir in $PATH
  5476. do
  5477. IFS=$as_save_IFS
  5478. test -z "$as_dir" && as_dir=.
  5479. for ac_exec_ext in '' $ac_executable_extensions; do
  5480. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5481. ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
  5482. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5483. break 2
  5484. fi
  5485. done
  5486. done
  5487. IFS=$as_save_IFS
  5488. fi
  5489. fi
  5490. NMEDIT=$ac_cv_prog_NMEDIT
  5491. if test -n "$NMEDIT"; then
  5492. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
  5493. $as_echo "$NMEDIT" >&6; }
  5494. else
  5495. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5496. $as_echo "no" >&6; }
  5497. fi
  5498. fi
  5499. if test -z "$ac_cv_prog_NMEDIT"; then
  5500. ac_ct_NMEDIT=$NMEDIT
  5501. # Extract the first word of "nmedit", so it can be a program name with args.
  5502. set dummy nmedit; ac_word=$2
  5503. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5504. $as_echo_n "checking for $ac_word... " >&6; }
  5505. if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
  5506. $as_echo_n "(cached) " >&6
  5507. else
  5508. if test -n "$ac_ct_NMEDIT"; then
  5509. ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
  5510. else
  5511. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5512. for as_dir in $PATH
  5513. do
  5514. IFS=$as_save_IFS
  5515. test -z "$as_dir" && as_dir=.
  5516. for ac_exec_ext in '' $ac_executable_extensions; do
  5517. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5518. ac_cv_prog_ac_ct_NMEDIT="nmedit"
  5519. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5520. break 2
  5521. fi
  5522. done
  5523. done
  5524. IFS=$as_save_IFS
  5525. fi
  5526. fi
  5527. ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
  5528. if test -n "$ac_ct_NMEDIT"; then
  5529. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
  5530. $as_echo "$ac_ct_NMEDIT" >&6; }
  5531. else
  5532. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5533. $as_echo "no" >&6; }
  5534. fi
  5535. if test "x$ac_ct_NMEDIT" = x; then
  5536. NMEDIT=":"
  5537. else
  5538. case $cross_compiling:$ac_tool_warned in
  5539. yes:)
  5540. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  5541. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  5542. ac_tool_warned=yes ;;
  5543. esac
  5544. NMEDIT=$ac_ct_NMEDIT
  5545. fi
  5546. else
  5547. NMEDIT="$ac_cv_prog_NMEDIT"
  5548. fi
  5549. if test -n "$ac_tool_prefix"; then
  5550. # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
  5551. set dummy ${ac_tool_prefix}lipo; ac_word=$2
  5552. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5553. $as_echo_n "checking for $ac_word... " >&6; }
  5554. if test "${ac_cv_prog_LIPO+set}" = set; then :
  5555. $as_echo_n "(cached) " >&6
  5556. else
  5557. if test -n "$LIPO"; then
  5558. ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
  5559. else
  5560. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5561. for as_dir in $PATH
  5562. do
  5563. IFS=$as_save_IFS
  5564. test -z "$as_dir" && as_dir=.
  5565. for ac_exec_ext in '' $ac_executable_extensions; do
  5566. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5567. ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
  5568. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5569. break 2
  5570. fi
  5571. done
  5572. done
  5573. IFS=$as_save_IFS
  5574. fi
  5575. fi
  5576. LIPO=$ac_cv_prog_LIPO
  5577. if test -n "$LIPO"; then
  5578. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
  5579. $as_echo "$LIPO" >&6; }
  5580. else
  5581. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5582. $as_echo "no" >&6; }
  5583. fi
  5584. fi
  5585. if test -z "$ac_cv_prog_LIPO"; then
  5586. ac_ct_LIPO=$LIPO
  5587. # Extract the first word of "lipo", so it can be a program name with args.
  5588. set dummy lipo; ac_word=$2
  5589. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5590. $as_echo_n "checking for $ac_word... " >&6; }
  5591. if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
  5592. $as_echo_n "(cached) " >&6
  5593. else
  5594. if test -n "$ac_ct_LIPO"; then
  5595. ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
  5596. else
  5597. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5598. for as_dir in $PATH
  5599. do
  5600. IFS=$as_save_IFS
  5601. test -z "$as_dir" && as_dir=.
  5602. for ac_exec_ext in '' $ac_executable_extensions; do
  5603. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5604. ac_cv_prog_ac_ct_LIPO="lipo"
  5605. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5606. break 2
  5607. fi
  5608. done
  5609. done
  5610. IFS=$as_save_IFS
  5611. fi
  5612. fi
  5613. ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
  5614. if test -n "$ac_ct_LIPO"; then
  5615. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
  5616. $as_echo "$ac_ct_LIPO" >&6; }
  5617. else
  5618. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5619. $as_echo "no" >&6; }
  5620. fi
  5621. if test "x$ac_ct_LIPO" = x; then
  5622. LIPO=":"
  5623. else
  5624. case $cross_compiling:$ac_tool_warned in
  5625. yes:)
  5626. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  5627. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  5628. ac_tool_warned=yes ;;
  5629. esac
  5630. LIPO=$ac_ct_LIPO
  5631. fi
  5632. else
  5633. LIPO="$ac_cv_prog_LIPO"
  5634. fi
  5635. if test -n "$ac_tool_prefix"; then
  5636. # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
  5637. set dummy ${ac_tool_prefix}otool; ac_word=$2
  5638. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5639. $as_echo_n "checking for $ac_word... " >&6; }
  5640. if test "${ac_cv_prog_OTOOL+set}" = set; then :
  5641. $as_echo_n "(cached) " >&6
  5642. else
  5643. if test -n "$OTOOL"; then
  5644. ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
  5645. else
  5646. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5647. for as_dir in $PATH
  5648. do
  5649. IFS=$as_save_IFS
  5650. test -z "$as_dir" && as_dir=.
  5651. for ac_exec_ext in '' $ac_executable_extensions; do
  5652. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5653. ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
  5654. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5655. break 2
  5656. fi
  5657. done
  5658. done
  5659. IFS=$as_save_IFS
  5660. fi
  5661. fi
  5662. OTOOL=$ac_cv_prog_OTOOL
  5663. if test -n "$OTOOL"; then
  5664. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
  5665. $as_echo "$OTOOL" >&6; }
  5666. else
  5667. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5668. $as_echo "no" >&6; }
  5669. fi
  5670. fi
  5671. if test -z "$ac_cv_prog_OTOOL"; then
  5672. ac_ct_OTOOL=$OTOOL
  5673. # Extract the first word of "otool", so it can be a program name with args.
  5674. set dummy otool; ac_word=$2
  5675. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5676. $as_echo_n "checking for $ac_word... " >&6; }
  5677. if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
  5678. $as_echo_n "(cached) " >&6
  5679. else
  5680. if test -n "$ac_ct_OTOOL"; then
  5681. ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
  5682. else
  5683. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5684. for as_dir in $PATH
  5685. do
  5686. IFS=$as_save_IFS
  5687. test -z "$as_dir" && as_dir=.
  5688. for ac_exec_ext in '' $ac_executable_extensions; do
  5689. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5690. ac_cv_prog_ac_ct_OTOOL="otool"
  5691. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5692. break 2
  5693. fi
  5694. done
  5695. done
  5696. IFS=$as_save_IFS
  5697. fi
  5698. fi
  5699. ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
  5700. if test -n "$ac_ct_OTOOL"; then
  5701. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
  5702. $as_echo "$ac_ct_OTOOL" >&6; }
  5703. else
  5704. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5705. $as_echo "no" >&6; }
  5706. fi
  5707. if test "x$ac_ct_OTOOL" = x; then
  5708. OTOOL=":"
  5709. else
  5710. case $cross_compiling:$ac_tool_warned in
  5711. yes:)
  5712. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  5713. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  5714. ac_tool_warned=yes ;;
  5715. esac
  5716. OTOOL=$ac_ct_OTOOL
  5717. fi
  5718. else
  5719. OTOOL="$ac_cv_prog_OTOOL"
  5720. fi
  5721. if test -n "$ac_tool_prefix"; then
  5722. # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
  5723. set dummy ${ac_tool_prefix}otool64; ac_word=$2
  5724. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5725. $as_echo_n "checking for $ac_word... " >&6; }
  5726. if test "${ac_cv_prog_OTOOL64+set}" = set; then :
  5727. $as_echo_n "(cached) " >&6
  5728. else
  5729. if test -n "$OTOOL64"; then
  5730. ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
  5731. else
  5732. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5733. for as_dir in $PATH
  5734. do
  5735. IFS=$as_save_IFS
  5736. test -z "$as_dir" && as_dir=.
  5737. for ac_exec_ext in '' $ac_executable_extensions; do
  5738. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5739. ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
  5740. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5741. break 2
  5742. fi
  5743. done
  5744. done
  5745. IFS=$as_save_IFS
  5746. fi
  5747. fi
  5748. OTOOL64=$ac_cv_prog_OTOOL64
  5749. if test -n "$OTOOL64"; then
  5750. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
  5751. $as_echo "$OTOOL64" >&6; }
  5752. else
  5753. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5754. $as_echo "no" >&6; }
  5755. fi
  5756. fi
  5757. if test -z "$ac_cv_prog_OTOOL64"; then
  5758. ac_ct_OTOOL64=$OTOOL64
  5759. # Extract the first word of "otool64", so it can be a program name with args.
  5760. set dummy otool64; ac_word=$2
  5761. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5762. $as_echo_n "checking for $ac_word... " >&6; }
  5763. if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
  5764. $as_echo_n "(cached) " >&6
  5765. else
  5766. if test -n "$ac_ct_OTOOL64"; then
  5767. ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
  5768. else
  5769. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5770. for as_dir in $PATH
  5771. do
  5772. IFS=$as_save_IFS
  5773. test -z "$as_dir" && as_dir=.
  5774. for ac_exec_ext in '' $ac_executable_extensions; do
  5775. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5776. ac_cv_prog_ac_ct_OTOOL64="otool64"
  5777. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5778. break 2
  5779. fi
  5780. done
  5781. done
  5782. IFS=$as_save_IFS
  5783. fi
  5784. fi
  5785. ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
  5786. if test -n "$ac_ct_OTOOL64"; then
  5787. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
  5788. $as_echo "$ac_ct_OTOOL64" >&6; }
  5789. else
  5790. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5791. $as_echo "no" >&6; }
  5792. fi
  5793. if test "x$ac_ct_OTOOL64" = x; then
  5794. OTOOL64=":"
  5795. else
  5796. case $cross_compiling:$ac_tool_warned in
  5797. yes:)
  5798. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  5799. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  5800. ac_tool_warned=yes ;;
  5801. esac
  5802. OTOOL64=$ac_ct_OTOOL64
  5803. fi
  5804. else
  5805. OTOOL64="$ac_cv_prog_OTOOL64"
  5806. fi
  5807. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
  5808. $as_echo_n "checking for -single_module linker flag... " >&6; }
  5809. if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
  5810. $as_echo_n "(cached) " >&6
  5811. else
  5812. lt_cv_apple_cc_single_mod=no
  5813. if test -z "${LT_MULTI_MODULE}"; then
  5814. # By default we will add the -single_module flag. You can override
  5815. # by either setting the environment variable LT_MULTI_MODULE
  5816. # non-empty at configure time, or by adding -multi_module to the
  5817. # link flags.
  5818. rm -rf libconftest.dylib*
  5819. echo "int foo(void){return 1;}" > conftest.c
  5820. echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
  5821. -dynamiclib -Wl,-single_module conftest.c" >&5
  5822. $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
  5823. -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
  5824. _lt_result=$?
  5825. if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
  5826. lt_cv_apple_cc_single_mod=yes
  5827. else
  5828. cat conftest.err >&5
  5829. fi
  5830. rm -rf libconftest.dylib*
  5831. rm -f conftest.*
  5832. fi
  5833. fi
  5834. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
  5835. $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
  5836. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
  5837. $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
  5838. if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
  5839. $as_echo_n "(cached) " >&6
  5840. else
  5841. lt_cv_ld_exported_symbols_list=no
  5842. save_LDFLAGS=$LDFLAGS
  5843. echo "_main" > conftest.sym
  5844. LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
  5845. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5846. /* end confdefs.h. */
  5847. int
  5848. main ()
  5849. {
  5850. ;
  5851. return 0;
  5852. }
  5853. _ACEOF
  5854. if ac_fn_c_try_link "$LINENO"; then :
  5855. lt_cv_ld_exported_symbols_list=yes
  5856. else
  5857. lt_cv_ld_exported_symbols_list=no
  5858. fi
  5859. rm -f core conftest.err conftest.$ac_objext \
  5860. conftest$ac_exeext conftest.$ac_ext
  5861. LDFLAGS="$save_LDFLAGS"
  5862. fi
  5863. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
  5864. $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
  5865. case $host_os in
  5866. rhapsody* | darwin1.[012])
  5867. _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
  5868. darwin1.*)
  5869. _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
  5870. darwin*) # darwin 5.x on
  5871. # if running on 10.5 or later, the deployment target defaults
  5872. # to the OS version, if on x86, and 10.4, the deployment
  5873. # target defaults to 10.4. Don't you love it?
  5874. case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
  5875. 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
  5876. _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
  5877. 10.[012]*)
  5878. _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
  5879. 10.*)
  5880. _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
  5881. esac
  5882. ;;
  5883. esac
  5884. if test "$lt_cv_apple_cc_single_mod" = "yes"; then
  5885. _lt_dar_single_mod='$single_module'
  5886. fi
  5887. if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
  5888. _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
  5889. else
  5890. _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
  5891. fi
  5892. if test "$DSYMUTIL" != ":"; then
  5893. _lt_dsymutil='~$DSYMUTIL $lib || :'
  5894. else
  5895. _lt_dsymutil=
  5896. fi
  5897. ;;
  5898. esac
  5899. ac_ext=c
  5900. ac_cpp='$CPP $CPPFLAGS'
  5901. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  5902. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  5903. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  5904. { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
  5905. $as_echo_n "checking how to run the C preprocessor... " >&6; }
  5906. # On Suns, sometimes $CPP names a directory.
  5907. if test -n "$CPP" && test -d "$CPP"; then
  5908. CPP=
  5909. fi
  5910. if test -z "$CPP"; then
  5911. if test "${ac_cv_prog_CPP+set}" = set; then :
  5912. $as_echo_n "(cached) " >&6
  5913. else
  5914. # Double quotes because CPP needs to be expanded
  5915. for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
  5916. do
  5917. ac_preproc_ok=false
  5918. for ac_c_preproc_warn_flag in '' yes
  5919. do
  5920. # Use a header file that comes with gcc, so configuring glibc
  5921. # with a fresh cross-compiler works.
  5922. # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  5923. # <limits.h> exists even on freestanding compilers.
  5924. # On the NeXT, cc -E runs the code through the compiler's parser,
  5925. # not just through cpp. "Syntax error" is here to catch this case.
  5926. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5927. /* end confdefs.h. */
  5928. #ifdef __STDC__
  5929. # include <limits.h>
  5930. #else
  5931. # include <assert.h>
  5932. #endif
  5933. Syntax error
  5934. _ACEOF
  5935. if ac_fn_c_try_cpp "$LINENO"; then :
  5936. else
  5937. # Broken: fails on valid input.
  5938. continue
  5939. fi
  5940. rm -f conftest.err conftest.$ac_ext
  5941. # OK, works on sane cases. Now check whether nonexistent headers
  5942. # can be detected and how.
  5943. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5944. /* end confdefs.h. */
  5945. #include <ac_nonexistent.h>
  5946. _ACEOF
  5947. if ac_fn_c_try_cpp "$LINENO"; then :
  5948. # Broken: success on invalid input.
  5949. continue
  5950. else
  5951. # Passes both tests.
  5952. ac_preproc_ok=:
  5953. break
  5954. fi
  5955. rm -f conftest.err conftest.$ac_ext
  5956. done
  5957. # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  5958. rm -f conftest.err conftest.$ac_ext
  5959. if $ac_preproc_ok; then :
  5960. break
  5961. fi
  5962. done
  5963. ac_cv_prog_CPP=$CPP
  5964. fi
  5965. CPP=$ac_cv_prog_CPP
  5966. else
  5967. ac_cv_prog_CPP=$CPP
  5968. fi
  5969. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
  5970. $as_echo "$CPP" >&6; }
  5971. ac_preproc_ok=false
  5972. for ac_c_preproc_warn_flag in '' yes
  5973. do
  5974. # Use a header file that comes with gcc, so configuring glibc
  5975. # with a fresh cross-compiler works.
  5976. # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  5977. # <limits.h> exists even on freestanding compilers.
  5978. # On the NeXT, cc -E runs the code through the compiler's parser,
  5979. # not just through cpp. "Syntax error" is here to catch this case.
  5980. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5981. /* end confdefs.h. */
  5982. #ifdef __STDC__
  5983. # include <limits.h>
  5984. #else
  5985. # include <assert.h>
  5986. #endif
  5987. Syntax error
  5988. _ACEOF
  5989. if ac_fn_c_try_cpp "$LINENO"; then :
  5990. else
  5991. # Broken: fails on valid input.
  5992. continue
  5993. fi
  5994. rm -f conftest.err conftest.$ac_ext
  5995. # OK, works on sane cases. Now check whether nonexistent headers
  5996. # can be detected and how.
  5997. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5998. /* end confdefs.h. */
  5999. #include <ac_nonexistent.h>
  6000. _ACEOF
  6001. if ac_fn_c_try_cpp "$LINENO"; then :
  6002. # Broken: success on invalid input.
  6003. continue
  6004. else
  6005. # Passes both tests.
  6006. ac_preproc_ok=:
  6007. break
  6008. fi
  6009. rm -f conftest.err conftest.$ac_ext
  6010. done
  6011. # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  6012. rm -f conftest.err conftest.$ac_ext
  6013. if $ac_preproc_ok; then :
  6014. else
  6015. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  6016. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  6017. as_fn_error "C preprocessor \"$CPP\" fails sanity check
  6018. See \`config.log' for more details." "$LINENO" 5; }
  6019. fi
  6020. ac_ext=c
  6021. ac_cpp='$CPP $CPPFLAGS'
  6022. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  6023. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  6024. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  6025. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
  6026. $as_echo_n "checking for ANSI C header files... " >&6; }
  6027. if test "${ac_cv_header_stdc+set}" = set; then :
  6028. $as_echo_n "(cached) " >&6
  6029. else
  6030. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6031. /* end confdefs.h. */
  6032. #include <stdlib.h>
  6033. #include <stdarg.h>
  6034. #include <string.h>
  6035. #include <float.h>
  6036. int
  6037. main ()
  6038. {
  6039. ;
  6040. return 0;
  6041. }
  6042. _ACEOF
  6043. if ac_fn_c_try_compile "$LINENO"; then :
  6044. ac_cv_header_stdc=yes
  6045. else
  6046. ac_cv_header_stdc=no
  6047. fi
  6048. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6049. if test $ac_cv_header_stdc = yes; then
  6050. # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  6051. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6052. /* end confdefs.h. */
  6053. #include <string.h>
  6054. _ACEOF
  6055. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  6056. $EGREP "memchr" >/dev/null 2>&1; then :
  6057. else
  6058. ac_cv_header_stdc=no
  6059. fi
  6060. rm -f conftest*
  6061. fi
  6062. if test $ac_cv_header_stdc = yes; then
  6063. # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  6064. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6065. /* end confdefs.h. */
  6066. #include <stdlib.h>
  6067. _ACEOF
  6068. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  6069. $EGREP "free" >/dev/null 2>&1; then :
  6070. else
  6071. ac_cv_header_stdc=no
  6072. fi
  6073. rm -f conftest*
  6074. fi
  6075. if test $ac_cv_header_stdc = yes; then
  6076. # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  6077. if test "$cross_compiling" = yes; then :
  6078. :
  6079. else
  6080. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6081. /* end confdefs.h. */
  6082. #include <ctype.h>
  6083. #include <stdlib.h>
  6084. #if ((' ' & 0x0FF) == 0x020)
  6085. # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  6086. # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  6087. #else
  6088. # define ISLOWER(c) \
  6089. (('a' <= (c) && (c) <= 'i') \
  6090. || ('j' <= (c) && (c) <= 'r') \
  6091. || ('s' <= (c) && (c) <= 'z'))
  6092. # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
  6093. #endif
  6094. #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  6095. int
  6096. main ()
  6097. {
  6098. int i;
  6099. for (i = 0; i < 256; i++)
  6100. if (XOR (islower (i), ISLOWER (i))
  6101. || toupper (i) != TOUPPER (i))
  6102. return 2;
  6103. return 0;
  6104. }
  6105. _ACEOF
  6106. if ac_fn_c_try_run "$LINENO"; then :
  6107. else
  6108. ac_cv_header_stdc=no
  6109. fi
  6110. rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  6111. conftest.$ac_objext conftest.beam conftest.$ac_ext
  6112. fi
  6113. fi
  6114. fi
  6115. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
  6116. $as_echo "$ac_cv_header_stdc" >&6; }
  6117. if test $ac_cv_header_stdc = yes; then
  6118. $as_echo "#define STDC_HEADERS 1" >>confdefs.h
  6119. fi
  6120. # On IRIX 5.3, sys/types and inttypes.h are conflicting.
  6121. for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
  6122. inttypes.h stdint.h unistd.h
  6123. do :
  6124. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  6125. ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
  6126. "
  6127. eval as_val=\$$as_ac_Header
  6128. if test "x$as_val" = x""yes; then :
  6129. cat >>confdefs.h <<_ACEOF
  6130. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  6131. _ACEOF
  6132. fi
  6133. done
  6134. for ac_header in dlfcn.h
  6135. do :
  6136. ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
  6137. "
  6138. if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
  6139. cat >>confdefs.h <<_ACEOF
  6140. #define HAVE_DLFCN_H 1
  6141. _ACEOF
  6142. fi
  6143. done
  6144. ac_ext=cpp
  6145. ac_cpp='$CXXCPP $CPPFLAGS'
  6146. ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  6147. ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  6148. ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  6149. if test -z "$CXX"; then
  6150. if test -n "$CCC"; then
  6151. CXX=$CCC
  6152. else
  6153. if test -n "$ac_tool_prefix"; then
  6154. for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
  6155. do
  6156. # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  6157. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  6158. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6159. $as_echo_n "checking for $ac_word... " >&6; }
  6160. if test "${ac_cv_prog_CXX+set}" = set; then :
  6161. $as_echo_n "(cached) " >&6
  6162. else
  6163. if test -n "$CXX"; then
  6164. ac_cv_prog_CXX="$CXX" # Let the user override the test.
  6165. else
  6166. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6167. for as_dir in $PATH
  6168. do
  6169. IFS=$as_save_IFS
  6170. test -z "$as_dir" && as_dir=.
  6171. for ac_exec_ext in '' $ac_executable_extensions; do
  6172. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6173. ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
  6174. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6175. break 2
  6176. fi
  6177. done
  6178. done
  6179. IFS=$as_save_IFS
  6180. fi
  6181. fi
  6182. CXX=$ac_cv_prog_CXX
  6183. if test -n "$CXX"; then
  6184. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
  6185. $as_echo "$CXX" >&6; }
  6186. else
  6187. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6188. $as_echo "no" >&6; }
  6189. fi
  6190. test -n "$CXX" && break
  6191. done
  6192. fi
  6193. if test -z "$CXX"; then
  6194. ac_ct_CXX=$CXX
  6195. for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
  6196. do
  6197. # Extract the first word of "$ac_prog", so it can be a program name with args.
  6198. set dummy $ac_prog; ac_word=$2
  6199. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6200. $as_echo_n "checking for $ac_word... " >&6; }
  6201. if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
  6202. $as_echo_n "(cached) " >&6
  6203. else
  6204. if test -n "$ac_ct_CXX"; then
  6205. ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
  6206. else
  6207. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6208. for as_dir in $PATH
  6209. do
  6210. IFS=$as_save_IFS
  6211. test -z "$as_dir" && as_dir=.
  6212. for ac_exec_ext in '' $ac_executable_extensions; do
  6213. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6214. ac_cv_prog_ac_ct_CXX="$ac_prog"
  6215. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6216. break 2
  6217. fi
  6218. done
  6219. done
  6220. IFS=$as_save_IFS
  6221. fi
  6222. fi
  6223. ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
  6224. if test -n "$ac_ct_CXX"; then
  6225. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
  6226. $as_echo "$ac_ct_CXX" >&6; }
  6227. else
  6228. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6229. $as_echo "no" >&6; }
  6230. fi
  6231. test -n "$ac_ct_CXX" && break
  6232. done
  6233. if test "x$ac_ct_CXX" = x; then
  6234. CXX="g++"
  6235. else
  6236. case $cross_compiling:$ac_tool_warned in
  6237. yes:)
  6238. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  6239. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  6240. ac_tool_warned=yes ;;
  6241. esac
  6242. CXX=$ac_ct_CXX
  6243. fi
  6244. fi
  6245. fi
  6246. fi
  6247. # Provide some information about the compiler.
  6248. $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
  6249. set X $ac_compile
  6250. ac_compiler=$2
  6251. for ac_option in --version -v -V -qversion; do
  6252. { { ac_try="$ac_compiler $ac_option >&5"
  6253. case "(($ac_try" in
  6254. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6255. *) ac_try_echo=$ac_try;;
  6256. esac
  6257. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  6258. $as_echo "$ac_try_echo"; } >&5
  6259. (eval "$ac_compiler $ac_option >&5") 2>conftest.err
  6260. ac_status=$?
  6261. if test -s conftest.err; then
  6262. sed '10a\
  6263. ... rest of stderr output deleted ...
  6264. 10q' conftest.err >conftest.er1
  6265. cat conftest.er1 >&5
  6266. rm -f conftest.er1 conftest.err
  6267. fi
  6268. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  6269. test $ac_status = 0; }
  6270. done
  6271. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
  6272. $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
  6273. if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
  6274. $as_echo_n "(cached) " >&6
  6275. else
  6276. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6277. /* end confdefs.h. */
  6278. int
  6279. main ()
  6280. {
  6281. #ifndef __GNUC__
  6282. choke me
  6283. #endif
  6284. ;
  6285. return 0;
  6286. }
  6287. _ACEOF
  6288. if ac_fn_cxx_try_compile "$LINENO"; then :
  6289. ac_compiler_gnu=yes
  6290. else
  6291. ac_compiler_gnu=no
  6292. fi
  6293. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6294. ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
  6295. fi
  6296. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
  6297. $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
  6298. if test $ac_compiler_gnu = yes; then
  6299. GXX=yes
  6300. else
  6301. GXX=
  6302. fi
  6303. ac_test_CXXFLAGS=${CXXFLAGS+set}
  6304. ac_save_CXXFLAGS=$CXXFLAGS
  6305. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
  6306. $as_echo_n "checking whether $CXX accepts -g... " >&6; }
  6307. if test "${ac_cv_prog_cxx_g+set}" = set; then :
  6308. $as_echo_n "(cached) " >&6
  6309. else
  6310. ac_save_cxx_werror_flag=$ac_cxx_werror_flag
  6311. ac_cxx_werror_flag=yes
  6312. ac_cv_prog_cxx_g=no
  6313. CXXFLAGS="-g"
  6314. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6315. /* end confdefs.h. */
  6316. int
  6317. main ()
  6318. {
  6319. ;
  6320. return 0;
  6321. }
  6322. _ACEOF
  6323. if ac_fn_cxx_try_compile "$LINENO"; then :
  6324. ac_cv_prog_cxx_g=yes
  6325. else
  6326. CXXFLAGS=""
  6327. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6328. /* end confdefs.h. */
  6329. int
  6330. main ()
  6331. {
  6332. ;
  6333. return 0;
  6334. }
  6335. _ACEOF
  6336. if ac_fn_cxx_try_compile "$LINENO"; then :
  6337. else
  6338. ac_cxx_werror_flag=$ac_save_cxx_werror_flag
  6339. CXXFLAGS="-g"
  6340. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6341. /* end confdefs.h. */
  6342. int
  6343. main ()
  6344. {
  6345. ;
  6346. return 0;
  6347. }
  6348. _ACEOF
  6349. if ac_fn_cxx_try_compile "$LINENO"; then :
  6350. ac_cv_prog_cxx_g=yes
  6351. fi
  6352. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6353. fi
  6354. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6355. fi
  6356. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6357. ac_cxx_werror_flag=$ac_save_cxx_werror_flag
  6358. fi
  6359. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
  6360. $as_echo "$ac_cv_prog_cxx_g" >&6; }
  6361. if test "$ac_test_CXXFLAGS" = set; then
  6362. CXXFLAGS=$ac_save_CXXFLAGS
  6363. elif test $ac_cv_prog_cxx_g = yes; then
  6364. if test "$GXX" = yes; then
  6365. CXXFLAGS="-g -O2"
  6366. else
  6367. CXXFLAGS="-g"
  6368. fi
  6369. else
  6370. if test "$GXX" = yes; then
  6371. CXXFLAGS="-O2"
  6372. else
  6373. CXXFLAGS=
  6374. fi
  6375. fi
  6376. ac_ext=c
  6377. ac_cpp='$CPP $CPPFLAGS'
  6378. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  6379. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  6380. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  6381. if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
  6382. ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
  6383. (test "X$CXX" != "Xg++"))) ; then
  6384. ac_ext=cpp
  6385. ac_cpp='$CXXCPP $CPPFLAGS'
  6386. ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  6387. ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  6388. ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  6389. { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
  6390. $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
  6391. if test -z "$CXXCPP"; then
  6392. if test "${ac_cv_prog_CXXCPP+set}" = set; then :
  6393. $as_echo_n "(cached) " >&6
  6394. else
  6395. # Double quotes because CXXCPP needs to be expanded
  6396. for CXXCPP in "$CXX -E" "/lib/cpp"
  6397. do
  6398. ac_preproc_ok=false
  6399. for ac_cxx_preproc_warn_flag in '' yes
  6400. do
  6401. # Use a header file that comes with gcc, so configuring glibc
  6402. # with a fresh cross-compiler works.
  6403. # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  6404. # <limits.h> exists even on freestanding compilers.
  6405. # On the NeXT, cc -E runs the code through the compiler's parser,
  6406. # not just through cpp. "Syntax error" is here to catch this case.
  6407. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6408. /* end confdefs.h. */
  6409. #ifdef __STDC__
  6410. # include <limits.h>
  6411. #else
  6412. # include <assert.h>
  6413. #endif
  6414. Syntax error
  6415. _ACEOF
  6416. if ac_fn_cxx_try_cpp "$LINENO"; then :
  6417. else
  6418. # Broken: fails on valid input.
  6419. continue
  6420. fi
  6421. rm -f conftest.err conftest.$ac_ext
  6422. # OK, works on sane cases. Now check whether nonexistent headers
  6423. # can be detected and how.
  6424. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6425. /* end confdefs.h. */
  6426. #include <ac_nonexistent.h>
  6427. _ACEOF
  6428. if ac_fn_cxx_try_cpp "$LINENO"; then :
  6429. # Broken: success on invalid input.
  6430. continue
  6431. else
  6432. # Passes both tests.
  6433. ac_preproc_ok=:
  6434. break
  6435. fi
  6436. rm -f conftest.err conftest.$ac_ext
  6437. done
  6438. # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  6439. rm -f conftest.err conftest.$ac_ext
  6440. if $ac_preproc_ok; then :
  6441. break
  6442. fi
  6443. done
  6444. ac_cv_prog_CXXCPP=$CXXCPP
  6445. fi
  6446. CXXCPP=$ac_cv_prog_CXXCPP
  6447. else
  6448. ac_cv_prog_CXXCPP=$CXXCPP
  6449. fi
  6450. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
  6451. $as_echo "$CXXCPP" >&6; }
  6452. ac_preproc_ok=false
  6453. for ac_cxx_preproc_warn_flag in '' yes
  6454. do
  6455. # Use a header file that comes with gcc, so configuring glibc
  6456. # with a fresh cross-compiler works.
  6457. # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  6458. # <limits.h> exists even on freestanding compilers.
  6459. # On the NeXT, cc -E runs the code through the compiler's parser,
  6460. # not just through cpp. "Syntax error" is here to catch this case.
  6461. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6462. /* end confdefs.h. */
  6463. #ifdef __STDC__
  6464. # include <limits.h>
  6465. #else
  6466. # include <assert.h>
  6467. #endif
  6468. Syntax error
  6469. _ACEOF
  6470. if ac_fn_cxx_try_cpp "$LINENO"; then :
  6471. else
  6472. # Broken: fails on valid input.
  6473. continue
  6474. fi
  6475. rm -f conftest.err conftest.$ac_ext
  6476. # OK, works on sane cases. Now check whether nonexistent headers
  6477. # can be detected and how.
  6478. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6479. /* end confdefs.h. */
  6480. #include <ac_nonexistent.h>
  6481. _ACEOF
  6482. if ac_fn_cxx_try_cpp "$LINENO"; then :
  6483. # Broken: success on invalid input.
  6484. continue
  6485. else
  6486. # Passes both tests.
  6487. ac_preproc_ok=:
  6488. break
  6489. fi
  6490. rm -f conftest.err conftest.$ac_ext
  6491. done
  6492. # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  6493. rm -f conftest.err conftest.$ac_ext
  6494. if $ac_preproc_ok; then :
  6495. else
  6496. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  6497. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  6498. _lt_caught_CXX_error=yes; }
  6499. fi
  6500. ac_ext=c
  6501. ac_cpp='$CPP $CPPFLAGS'
  6502. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  6503. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  6504. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  6505. else
  6506. _lt_caught_CXX_error=yes
  6507. fi
  6508. # Set options
  6509. enable_dlopen=no
  6510. # Check whether --enable-shared was given.
  6511. if test "${enable_shared+set}" = set; then :
  6512. enableval=$enable_shared; p=${PACKAGE-default}
  6513. case $enableval in
  6514. yes) enable_shared=yes ;;
  6515. no) enable_shared=no ;;
  6516. *)
  6517. enable_shared=no
  6518. # Look at the argument we got. We use all the common list separators.
  6519. lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  6520. for pkg in $enableval; do
  6521. IFS="$lt_save_ifs"
  6522. if test "X$pkg" = "X$p"; then
  6523. enable_shared=yes
  6524. fi
  6525. done
  6526. IFS="$lt_save_ifs"
  6527. ;;
  6528. esac
  6529. else
  6530. enable_shared=yes
  6531. fi
  6532. # Check whether --enable-static was given.
  6533. if test "${enable_static+set}" = set; then :
  6534. enableval=$enable_static; p=${PACKAGE-default}
  6535. case $enableval in
  6536. yes) enable_static=yes ;;
  6537. no) enable_static=no ;;
  6538. *)
  6539. enable_static=no
  6540. # Look at the argument we got. We use all the common list separators.
  6541. lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  6542. for pkg in $enableval; do
  6543. IFS="$lt_save_ifs"
  6544. if test "X$pkg" = "X$p"; then
  6545. enable_static=yes
  6546. fi
  6547. done
  6548. IFS="$lt_save_ifs"
  6549. ;;
  6550. esac
  6551. else
  6552. enable_static=yes
  6553. fi
  6554. # Check whether --with-pic was given.
  6555. if test "${with_pic+set}" = set; then :
  6556. withval=$with_pic; pic_mode="$withval"
  6557. else
  6558. pic_mode=default
  6559. fi
  6560. test -z "$pic_mode" && pic_mode=default
  6561. # Check whether --enable-fast-install was given.
  6562. if test "${enable_fast_install+set}" = set; then :
  6563. enableval=$enable_fast_install; p=${PACKAGE-default}
  6564. case $enableval in
  6565. yes) enable_fast_install=yes ;;
  6566. no) enable_fast_install=no ;;
  6567. *)
  6568. enable_fast_install=no
  6569. # Look at the argument we got. We use all the common list separators.
  6570. lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  6571. for pkg in $enableval; do
  6572. IFS="$lt_save_ifs"
  6573. if test "X$pkg" = "X$p"; then
  6574. enable_fast_install=yes
  6575. fi
  6576. done
  6577. IFS="$lt_save_ifs"
  6578. ;;
  6579. esac
  6580. else
  6581. enable_fast_install=yes
  6582. fi
  6583. # This can be used to rebuild libtool when needed
  6584. LIBTOOL_DEPS="$ltmain"
  6585. # Always use our own libtool.
  6586. LIBTOOL='$(SHELL) $(top_builddir)/libtool'
  6587. test -z "$LN_S" && LN_S="ln -s"
  6588. if test -n "${ZSH_VERSION+set}" ; then
  6589. setopt NO_GLOB_SUBST
  6590. fi
  6591. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
  6592. $as_echo_n "checking for objdir... " >&6; }
  6593. if test "${lt_cv_objdir+set}" = set; then :
  6594. $as_echo_n "(cached) " >&6
  6595. else
  6596. rm -f .libs 2>/dev/null
  6597. mkdir .libs 2>/dev/null
  6598. if test -d .libs; then
  6599. lt_cv_objdir=.libs
  6600. else
  6601. # MS-DOS does not allow filenames that begin with a dot.
  6602. lt_cv_objdir=_libs
  6603. fi
  6604. rmdir .libs 2>/dev/null
  6605. fi
  6606. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
  6607. $as_echo "$lt_cv_objdir" >&6; }
  6608. objdir=$lt_cv_objdir
  6609. cat >>confdefs.h <<_ACEOF
  6610. #define LT_OBJDIR "$lt_cv_objdir/"
  6611. _ACEOF
  6612. case $host_os in
  6613. aix3*)
  6614. # AIX sometimes has problems with the GCC collect2 program. For some
  6615. # reason, if we set the COLLECT_NAMES environment variable, the problems
  6616. # vanish in a puff of smoke.
  6617. if test "X${COLLECT_NAMES+set}" != Xset; then
  6618. COLLECT_NAMES=
  6619. export COLLECT_NAMES
  6620. fi
  6621. ;;
  6622. esac
  6623. # Sed substitution that helps us do robust quoting. It backslashifies
  6624. # metacharacters that are still active within double-quoted strings.
  6625. sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
  6626. # Same as above, but do not quote variable references.
  6627. double_quote_subst='s/\(["`\\]\)/\\\1/g'
  6628. # Sed substitution to delay expansion of an escaped shell variable in a
  6629. # double_quote_subst'ed string.
  6630. delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
  6631. # Sed substitution to delay expansion of an escaped single quote.
  6632. delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
  6633. # Sed substitution to avoid accidental globbing in evaled expressions
  6634. no_glob_subst='s/\*/\\\*/g'
  6635. # Global variables:
  6636. ofile=libtool
  6637. can_build_shared=yes
  6638. # All known linkers require a `.a' archive for static linking (except MSVC,
  6639. # which needs '.lib').
  6640. libext=a
  6641. with_gnu_ld="$lt_cv_prog_gnu_ld"
  6642. old_CC="$CC"
  6643. old_CFLAGS="$CFLAGS"
  6644. # Set sane defaults for various variables
  6645. test -z "$CC" && CC=cc
  6646. test -z "$LTCC" && LTCC=$CC
  6647. test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
  6648. test -z "$LD" && LD=ld
  6649. test -z "$ac_objext" && ac_objext=o
  6650. for cc_temp in $compiler""; do
  6651. case $cc_temp in
  6652. compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
  6653. distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
  6654. \-*) ;;
  6655. *) break;;
  6656. esac
  6657. done
  6658. cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
  6659. # Only perform the check for file, if the check method requires it
  6660. test -z "$MAGIC_CMD" && MAGIC_CMD=file
  6661. case $deplibs_check_method in
  6662. file_magic*)
  6663. if test "$file_magic_cmd" = '$MAGIC_CMD'; then
  6664. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
  6665. $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
  6666. if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
  6667. $as_echo_n "(cached) " >&6
  6668. else
  6669. case $MAGIC_CMD in
  6670. [\\/*] | ?:[\\/]*)
  6671. lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
  6672. ;;
  6673. *)
  6674. lt_save_MAGIC_CMD="$MAGIC_CMD"
  6675. lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  6676. ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
  6677. for ac_dir in $ac_dummy; do
  6678. IFS="$lt_save_ifs"
  6679. test -z "$ac_dir" && ac_dir=.
  6680. if test -f $ac_dir/${ac_tool_prefix}file; then
  6681. lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
  6682. if test -n "$file_magic_test_file"; then
  6683. case $deplibs_check_method in
  6684. "file_magic "*)
  6685. file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
  6686. MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  6687. if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
  6688. $EGREP "$file_magic_regex" > /dev/null; then
  6689. :
  6690. else
  6691. cat <<_LT_EOF 1>&2
  6692. *** Warning: the command libtool uses to detect shared libraries,
  6693. *** $file_magic_cmd, produces output that libtool cannot recognize.
  6694. *** The result is that libtool may fail to recognize shared libraries
  6695. *** as such. This will affect the creation of libtool libraries that
  6696. *** depend on shared libraries, but programs linked with such libtool
  6697. *** libraries will work regardless of this problem. Nevertheless, you
  6698. *** may want to report the problem to your system manager and/or to
  6699. *** bug-libtool@gnu.org
  6700. _LT_EOF
  6701. fi ;;
  6702. esac
  6703. fi
  6704. break
  6705. fi
  6706. done
  6707. IFS="$lt_save_ifs"
  6708. MAGIC_CMD="$lt_save_MAGIC_CMD"
  6709. ;;
  6710. esac
  6711. fi
  6712. MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  6713. if test -n "$MAGIC_CMD"; then
  6714. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
  6715. $as_echo "$MAGIC_CMD" >&6; }
  6716. else
  6717. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6718. $as_echo "no" >&6; }
  6719. fi
  6720. if test -z "$lt_cv_path_MAGIC_CMD"; then
  6721. if test -n "$ac_tool_prefix"; then
  6722. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
  6723. $as_echo_n "checking for file... " >&6; }
  6724. if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
  6725. $as_echo_n "(cached) " >&6
  6726. else
  6727. case $MAGIC_CMD in
  6728. [\\/*] | ?:[\\/]*)
  6729. lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
  6730. ;;
  6731. *)
  6732. lt_save_MAGIC_CMD="$MAGIC_CMD"
  6733. lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  6734. ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
  6735. for ac_dir in $ac_dummy; do
  6736. IFS="$lt_save_ifs"
  6737. test -z "$ac_dir" && ac_dir=.
  6738. if test -f $ac_dir/file; then
  6739. lt_cv_path_MAGIC_CMD="$ac_dir/file"
  6740. if test -n "$file_magic_test_file"; then
  6741. case $deplibs_check_method in
  6742. "file_magic "*)
  6743. file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
  6744. MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  6745. if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
  6746. $EGREP "$file_magic_regex" > /dev/null; then
  6747. :
  6748. else
  6749. cat <<_LT_EOF 1>&2
  6750. *** Warning: the command libtool uses to detect shared libraries,
  6751. *** $file_magic_cmd, produces output that libtool cannot recognize.
  6752. *** The result is that libtool may fail to recognize shared libraries
  6753. *** as such. This will affect the creation of libtool libraries that
  6754. *** depend on shared libraries, but programs linked with such libtool
  6755. *** libraries will work regardless of this problem. Nevertheless, you
  6756. *** may want to report the problem to your system manager and/or to
  6757. *** bug-libtool@gnu.org
  6758. _LT_EOF
  6759. fi ;;
  6760. esac
  6761. fi
  6762. break
  6763. fi
  6764. done
  6765. IFS="$lt_save_ifs"
  6766. MAGIC_CMD="$lt_save_MAGIC_CMD"
  6767. ;;
  6768. esac
  6769. fi
  6770. MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  6771. if test -n "$MAGIC_CMD"; then
  6772. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
  6773. $as_echo "$MAGIC_CMD" >&6; }
  6774. else
  6775. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6776. $as_echo "no" >&6; }
  6777. fi
  6778. else
  6779. MAGIC_CMD=:
  6780. fi
  6781. fi
  6782. fi
  6783. ;;
  6784. esac
  6785. # Use C for the default configuration in the libtool script
  6786. lt_save_CC="$CC"
  6787. ac_ext=c
  6788. ac_cpp='$CPP $CPPFLAGS'
  6789. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  6790. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  6791. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  6792. # Source file extension for C test sources.
  6793. ac_ext=c
  6794. # Object file extension for compiled C test sources.
  6795. objext=o
  6796. objext=$objext
  6797. # Code to be used in simple compile tests
  6798. lt_simple_compile_test_code="int some_variable = 0;"
  6799. # Code to be used in simple link tests
  6800. lt_simple_link_test_code='int main(){return(0);}'
  6801. # If no C compiler was specified, use CC.
  6802. LTCC=${LTCC-"$CC"}
  6803. # If no C compiler flags were specified, use CFLAGS.
  6804. LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
  6805. # Allow CC to be a program name with arguments.
  6806. compiler=$CC
  6807. # Save the default compiler, since it gets overwritten when the other
  6808. # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
  6809. compiler_DEFAULT=$CC
  6810. # save warnings/boilerplate of simple test code
  6811. ac_outfile=conftest.$ac_objext
  6812. echo "$lt_simple_compile_test_code" >conftest.$ac_ext
  6813. eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  6814. _lt_compiler_boilerplate=`cat conftest.err`
  6815. $RM conftest*
  6816. ac_outfile=conftest.$ac_objext
  6817. echo "$lt_simple_link_test_code" >conftest.$ac_ext
  6818. eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  6819. _lt_linker_boilerplate=`cat conftest.err`
  6820. $RM -r conftest*
  6821. if test -n "$compiler"; then
  6822. lt_prog_compiler_no_builtin_flag=
  6823. if test "$GCC" = yes; then
  6824. lt_prog_compiler_no_builtin_flag=' -fno-builtin'
  6825. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
  6826. $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
  6827. if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
  6828. $as_echo_n "(cached) " >&6
  6829. else
  6830. lt_cv_prog_compiler_rtti_exceptions=no
  6831. ac_outfile=conftest.$ac_objext
  6832. echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  6833. lt_compiler_flag="-fno-rtti -fno-exceptions"
  6834. # Insert the option either (1) after the last *FLAGS variable, or
  6835. # (2) before a word containing "conftest.", or (3) at the end.
  6836. # Note that $ac_compile itself does not contain backslashes and begins
  6837. # with a dollar sign (not a hyphen), so the echo should work correctly.
  6838. # The option is referenced via a variable to avoid confusing sed.
  6839. lt_compile=`echo "$ac_compile" | $SED \
  6840. -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  6841. -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  6842. -e 's:$: $lt_compiler_flag:'`
  6843. (eval echo "\"\$as_me:7816: $lt_compile\"" >&5)
  6844. (eval "$lt_compile" 2>conftest.err)
  6845. ac_status=$?
  6846. cat conftest.err >&5
  6847. echo "$as_me:7820: \$? = $ac_status" >&5
  6848. if (exit $ac_status) && test -s "$ac_outfile"; then
  6849. # The compiler can only warn and ignore the option if not recognized
  6850. # So say no if there are warnings other than the usual output.
  6851. $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
  6852. $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  6853. if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  6854. lt_cv_prog_compiler_rtti_exceptions=yes
  6855. fi
  6856. fi
  6857. $RM conftest*
  6858. fi
  6859. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
  6860. $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
  6861. if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
  6862. lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
  6863. else
  6864. :
  6865. fi
  6866. fi
  6867. lt_prog_compiler_wl=
  6868. lt_prog_compiler_pic=
  6869. lt_prog_compiler_static=
  6870. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
  6871. $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
  6872. if test "$GCC" = yes; then
  6873. lt_prog_compiler_wl='-Wl,'
  6874. lt_prog_compiler_static='-static'
  6875. case $host_os in
  6876. aix*)
  6877. # All AIX code is PIC.
  6878. if test "$host_cpu" = ia64; then
  6879. # AIX 5 now supports IA64 processor
  6880. lt_prog_compiler_static='-Bstatic'
  6881. fi
  6882. ;;
  6883. amigaos*)
  6884. case $host_cpu in
  6885. powerpc)
  6886. # see comment about AmigaOS4 .so support
  6887. lt_prog_compiler_pic='-fPIC'
  6888. ;;
  6889. m68k)
  6890. # FIXME: we need at least 68020 code to build shared libraries, but
  6891. # adding the `-m68020' flag to GCC prevents building anything better,
  6892. # like `-m68040'.
  6893. lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
  6894. ;;
  6895. esac
  6896. ;;
  6897. beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
  6898. # PIC is the default for these OSes.
  6899. ;;
  6900. mingw* | cygwin* | pw32* | os2* | cegcc*)
  6901. # This hack is so that the source file can tell whether it is being
  6902. # built for inclusion in a dll (and should export symbols for example).
  6903. # Although the cygwin gcc ignores -fPIC, still need this for old-style
  6904. # (--disable-auto-import) libraries
  6905. lt_prog_compiler_pic='-DDLL_EXPORT'
  6906. ;;
  6907. darwin* | rhapsody*)
  6908. # PIC is the default on this platform
  6909. # Common symbols not allowed in MH_DYLIB files
  6910. lt_prog_compiler_pic='-fno-common'
  6911. ;;
  6912. hpux*)
  6913. # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
  6914. # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
  6915. # sets the default TLS model and affects inlining.
  6916. case $host_cpu in
  6917. hppa*64*)
  6918. # +Z the default
  6919. ;;
  6920. *)
  6921. lt_prog_compiler_pic='-fPIC'
  6922. ;;
  6923. esac
  6924. ;;
  6925. interix[3-9]*)
  6926. # Interix 3.x gcc -fpic/-fPIC options generate broken code.
  6927. # Instead, we relocate shared libraries at runtime.
  6928. ;;
  6929. msdosdjgpp*)
  6930. # Just because we use GCC doesn't mean we suddenly get shared libraries
  6931. # on systems that don't support them.
  6932. lt_prog_compiler_can_build_shared=no
  6933. enable_shared=no
  6934. ;;
  6935. *nto* | *qnx*)
  6936. # QNX uses GNU C++, but need to define -shared option too, otherwise
  6937. # it will coredump.
  6938. lt_prog_compiler_pic='-fPIC -shared'
  6939. ;;
  6940. sysv4*MP*)
  6941. if test -d /usr/nec; then
  6942. lt_prog_compiler_pic=-Kconform_pic
  6943. fi
  6944. ;;
  6945. *)
  6946. lt_prog_compiler_pic='-fPIC'
  6947. ;;
  6948. esac
  6949. else
  6950. # PORTME Check for flag to pass linker flags through the system compiler.
  6951. case $host_os in
  6952. aix*)
  6953. lt_prog_compiler_wl='-Wl,'
  6954. if test "$host_cpu" = ia64; then
  6955. # AIX 5 now supports IA64 processor
  6956. lt_prog_compiler_static='-Bstatic'
  6957. else
  6958. lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
  6959. fi
  6960. ;;
  6961. mingw* | cygwin* | pw32* | os2* | cegcc*)
  6962. # This hack is so that the source file can tell whether it is being
  6963. # built for inclusion in a dll (and should export symbols for example).
  6964. lt_prog_compiler_pic='-DDLL_EXPORT'
  6965. ;;
  6966. hpux9* | hpux10* | hpux11*)
  6967. lt_prog_compiler_wl='-Wl,'
  6968. # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
  6969. # not for PA HP-UX.
  6970. case $host_cpu in
  6971. hppa*64*|ia64*)
  6972. # +Z the default
  6973. ;;
  6974. *)
  6975. lt_prog_compiler_pic='+Z'
  6976. ;;
  6977. esac
  6978. # Is there a better lt_prog_compiler_static that works with the bundled CC?
  6979. lt_prog_compiler_static='${wl}-a ${wl}archive'
  6980. ;;
  6981. irix5* | irix6* | nonstopux*)
  6982. lt_prog_compiler_wl='-Wl,'
  6983. # PIC (with -KPIC) is the default.
  6984. lt_prog_compiler_static='-non_shared'
  6985. ;;
  6986. linux* | k*bsd*-gnu)
  6987. case $cc_basename in
  6988. # old Intel for x86_64 which still supported -KPIC.
  6989. ecc*)
  6990. lt_prog_compiler_wl='-Wl,'
  6991. lt_prog_compiler_pic='-KPIC'
  6992. lt_prog_compiler_static='-static'
  6993. ;;
  6994. # icc used to be incompatible with GCC.
  6995. # ICC 10 doesn't accept -KPIC any more.
  6996. icc* | ifort*)
  6997. lt_prog_compiler_wl='-Wl,'
  6998. lt_prog_compiler_pic='-fPIC'
  6999. lt_prog_compiler_static='-static'
  7000. ;;
  7001. # Lahey Fortran 8.1.
  7002. lf95*)
  7003. lt_prog_compiler_wl='-Wl,'
  7004. lt_prog_compiler_pic='--shared'
  7005. lt_prog_compiler_static='--static'
  7006. ;;
  7007. pgcc* | pgf77* | pgf90* | pgf95*)
  7008. # Portland Group compilers (*not* the Pentium gcc compiler,
  7009. # which looks to be a dead project)
  7010. lt_prog_compiler_wl='-Wl,'
  7011. lt_prog_compiler_pic='-fpic'
  7012. lt_prog_compiler_static='-Bstatic'
  7013. ;;
  7014. ccc*)
  7015. lt_prog_compiler_wl='-Wl,'
  7016. # All Alpha code is PIC.
  7017. lt_prog_compiler_static='-non_shared'
  7018. ;;
  7019. xl*)
  7020. # IBM XL C 8.0/Fortran 10.1 on PPC
  7021. lt_prog_compiler_wl='-Wl,'
  7022. lt_prog_compiler_pic='-qpic'
  7023. lt_prog_compiler_static='-qstaticlink'
  7024. ;;
  7025. *)
  7026. case `$CC -V 2>&1 | sed 5q` in
  7027. *Sun\ C*)
  7028. # Sun C 5.9
  7029. lt_prog_compiler_pic='-KPIC'
  7030. lt_prog_compiler_static='-Bstatic'
  7031. lt_prog_compiler_wl='-Wl,'
  7032. ;;
  7033. *Sun\ F*)
  7034. # Sun Fortran 8.3 passes all unrecognized flags to the linker
  7035. lt_prog_compiler_pic='-KPIC'
  7036. lt_prog_compiler_static='-Bstatic'
  7037. lt_prog_compiler_wl=''
  7038. ;;
  7039. esac
  7040. ;;
  7041. esac
  7042. ;;
  7043. newsos6)
  7044. lt_prog_compiler_pic='-KPIC'
  7045. lt_prog_compiler_static='-Bstatic'
  7046. ;;
  7047. *nto* | *qnx*)
  7048. # QNX uses GNU C++, but need to define -shared option too, otherwise
  7049. # it will coredump.
  7050. lt_prog_compiler_pic='-fPIC -shared'
  7051. ;;
  7052. osf3* | osf4* | osf5*)
  7053. lt_prog_compiler_wl='-Wl,'
  7054. # All OSF/1 code is PIC.
  7055. lt_prog_compiler_static='-non_shared'
  7056. ;;
  7057. rdos*)
  7058. lt_prog_compiler_static='-non_shared'
  7059. ;;
  7060. solaris*)
  7061. lt_prog_compiler_pic='-KPIC'
  7062. lt_prog_compiler_static='-Bstatic'
  7063. case $cc_basename in
  7064. f77* | f90* | f95*)
  7065. lt_prog_compiler_wl='-Qoption ld ';;
  7066. *)
  7067. lt_prog_compiler_wl='-Wl,';;
  7068. esac
  7069. ;;
  7070. sunos4*)
  7071. lt_prog_compiler_wl='-Qoption ld '
  7072. lt_prog_compiler_pic='-PIC'
  7073. lt_prog_compiler_static='-Bstatic'
  7074. ;;
  7075. sysv4 | sysv4.2uw2* | sysv4.3*)
  7076. lt_prog_compiler_wl='-Wl,'
  7077. lt_prog_compiler_pic='-KPIC'
  7078. lt_prog_compiler_static='-Bstatic'
  7079. ;;
  7080. sysv4*MP*)
  7081. if test -d /usr/nec ;then
  7082. lt_prog_compiler_pic='-Kconform_pic'
  7083. lt_prog_compiler_static='-Bstatic'
  7084. fi
  7085. ;;
  7086. sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
  7087. lt_prog_compiler_wl='-Wl,'
  7088. lt_prog_compiler_pic='-KPIC'
  7089. lt_prog_compiler_static='-Bstatic'
  7090. ;;
  7091. unicos*)
  7092. lt_prog_compiler_wl='-Wl,'
  7093. lt_prog_compiler_can_build_shared=no
  7094. ;;
  7095. uts4*)
  7096. lt_prog_compiler_pic='-pic'
  7097. lt_prog_compiler_static='-Bstatic'
  7098. ;;
  7099. *)
  7100. lt_prog_compiler_can_build_shared=no
  7101. ;;
  7102. esac
  7103. fi
  7104. case $host_os in
  7105. # For platforms which do not support PIC, -DPIC is meaningless:
  7106. *djgpp*)
  7107. lt_prog_compiler_pic=
  7108. ;;
  7109. *)
  7110. lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
  7111. ;;
  7112. esac
  7113. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
  7114. $as_echo "$lt_prog_compiler_pic" >&6; }
  7115. #
  7116. # Check to make sure the PIC flag actually works.
  7117. #
  7118. if test -n "$lt_prog_compiler_pic"; then
  7119. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
  7120. $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
  7121. if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
  7122. $as_echo_n "(cached) " >&6
  7123. else
  7124. lt_cv_prog_compiler_pic_works=no
  7125. ac_outfile=conftest.$ac_objext
  7126. echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  7127. lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
  7128. # Insert the option either (1) after the last *FLAGS variable, or
  7129. # (2) before a word containing "conftest.", or (3) at the end.
  7130. # Note that $ac_compile itself does not contain backslashes and begins
  7131. # with a dollar sign (not a hyphen), so the echo should work correctly.
  7132. # The option is referenced via a variable to avoid confusing sed.
  7133. lt_compile=`echo "$ac_compile" | $SED \
  7134. -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  7135. -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  7136. -e 's:$: $lt_compiler_flag:'`
  7137. (eval echo "\"\$as_me:8155: $lt_compile\"" >&5)
  7138. (eval "$lt_compile" 2>conftest.err)
  7139. ac_status=$?
  7140. cat conftest.err >&5
  7141. echo "$as_me:8159: \$? = $ac_status" >&5
  7142. if (exit $ac_status) && test -s "$ac_outfile"; then
  7143. # The compiler can only warn and ignore the option if not recognized
  7144. # So say no if there are warnings other than the usual output.
  7145. $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
  7146. $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  7147. if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  7148. lt_cv_prog_compiler_pic_works=yes
  7149. fi
  7150. fi
  7151. $RM conftest*
  7152. fi
  7153. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
  7154. $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
  7155. if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
  7156. case $lt_prog_compiler_pic in
  7157. "" | " "*) ;;
  7158. *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
  7159. esac
  7160. else
  7161. lt_prog_compiler_pic=
  7162. lt_prog_compiler_can_build_shared=no
  7163. fi
  7164. fi
  7165. #
  7166. # Check to make sure the static flag actually works.
  7167. #
  7168. wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
  7169. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
  7170. $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
  7171. if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
  7172. $as_echo_n "(cached) " >&6
  7173. else
  7174. lt_cv_prog_compiler_static_works=no
  7175. save_LDFLAGS="$LDFLAGS"
  7176. LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
  7177. echo "$lt_simple_link_test_code" > conftest.$ac_ext
  7178. if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
  7179. # The linker can only warn and ignore the option if not recognized
  7180. # So say no if there are warnings
  7181. if test -s conftest.err; then
  7182. # Append any errors to the config.log.
  7183. cat conftest.err 1>&5
  7184. $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
  7185. $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  7186. if diff conftest.exp conftest.er2 >/dev/null; then
  7187. lt_cv_prog_compiler_static_works=yes
  7188. fi
  7189. else
  7190. lt_cv_prog_compiler_static_works=yes
  7191. fi
  7192. fi
  7193. $RM -r conftest*
  7194. LDFLAGS="$save_LDFLAGS"
  7195. fi
  7196. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
  7197. $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
  7198. if test x"$lt_cv_prog_compiler_static_works" = xyes; then
  7199. :
  7200. else
  7201. lt_prog_compiler_static=
  7202. fi
  7203. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
  7204. $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
  7205. if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
  7206. $as_echo_n "(cached) " >&6
  7207. else
  7208. lt_cv_prog_compiler_c_o=no
  7209. $RM -r conftest 2>/dev/null
  7210. mkdir conftest
  7211. cd conftest
  7212. mkdir out
  7213. echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  7214. lt_compiler_flag="-o out/conftest2.$ac_objext"
  7215. # Insert the option either (1) after the last *FLAGS variable, or
  7216. # (2) before a word containing "conftest.", or (3) at the end.
  7217. # Note that $ac_compile itself does not contain backslashes and begins
  7218. # with a dollar sign (not a hyphen), so the echo should work correctly.
  7219. lt_compile=`echo "$ac_compile" | $SED \
  7220. -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  7221. -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  7222. -e 's:$: $lt_compiler_flag:'`
  7223. (eval echo "\"\$as_me:8260: $lt_compile\"" >&5)
  7224. (eval "$lt_compile" 2>out/conftest.err)
  7225. ac_status=$?
  7226. cat out/conftest.err >&5
  7227. echo "$as_me:8264: \$? = $ac_status" >&5
  7228. if (exit $ac_status) && test -s out/conftest2.$ac_objext
  7229. then
  7230. # The compiler can only warn and ignore the option if not recognized
  7231. # So say no if there are warnings
  7232. $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
  7233. $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  7234. if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  7235. lt_cv_prog_compiler_c_o=yes
  7236. fi
  7237. fi
  7238. chmod u+w . 2>&5
  7239. $RM conftest*
  7240. # SGI C++ compiler will create directory out/ii_files/ for
  7241. # template instantiation
  7242. test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
  7243. $RM out/* && rmdir out
  7244. cd ..
  7245. $RM -r conftest
  7246. $RM conftest*
  7247. fi
  7248. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
  7249. $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
  7250. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
  7251. $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
  7252. if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
  7253. $as_echo_n "(cached) " >&6
  7254. else
  7255. lt_cv_prog_compiler_c_o=no
  7256. $RM -r conftest 2>/dev/null
  7257. mkdir conftest
  7258. cd conftest
  7259. mkdir out
  7260. echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  7261. lt_compiler_flag="-o out/conftest2.$ac_objext"
  7262. # Insert the option either (1) after the last *FLAGS variable, or
  7263. # (2) before a word containing "conftest.", or (3) at the end.
  7264. # Note that $ac_compile itself does not contain backslashes and begins
  7265. # with a dollar sign (not a hyphen), so the echo should work correctly.
  7266. lt_compile=`echo "$ac_compile" | $SED \
  7267. -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  7268. -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  7269. -e 's:$: $lt_compiler_flag:'`
  7270. (eval echo "\"\$as_me:8315: $lt_compile\"" >&5)
  7271. (eval "$lt_compile" 2>out/conftest.err)
  7272. ac_status=$?
  7273. cat out/conftest.err >&5
  7274. echo "$as_me:8319: \$? = $ac_status" >&5
  7275. if (exit $ac_status) && test -s out/conftest2.$ac_objext
  7276. then
  7277. # The compiler can only warn and ignore the option if not recognized
  7278. # So say no if there are warnings
  7279. $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
  7280. $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  7281. if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  7282. lt_cv_prog_compiler_c_o=yes
  7283. fi
  7284. fi
  7285. chmod u+w . 2>&5
  7286. $RM conftest*
  7287. # SGI C++ compiler will create directory out/ii_files/ for
  7288. # template instantiation
  7289. test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
  7290. $RM out/* && rmdir out
  7291. cd ..
  7292. $RM -r conftest
  7293. $RM conftest*
  7294. fi
  7295. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
  7296. $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
  7297. hard_links="nottested"
  7298. if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
  7299. # do not overwrite the value of need_locks provided by the user
  7300. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
  7301. $as_echo_n "checking if we can lock with hard links... " >&6; }
  7302. hard_links=yes
  7303. $RM conftest*
  7304. ln conftest.a conftest.b 2>/dev/null && hard_links=no
  7305. touch conftest.a
  7306. ln conftest.a conftest.b 2>&5 || hard_links=no
  7307. ln conftest.a conftest.b 2>/dev/null && hard_links=no
  7308. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
  7309. $as_echo "$hard_links" >&6; }
  7310. if test "$hard_links" = no; then
  7311. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
  7312. $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
  7313. need_locks=warn
  7314. fi
  7315. else
  7316. need_locks=no
  7317. fi
  7318. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
  7319. $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
  7320. runpath_var=
  7321. allow_undefined_flag=
  7322. always_export_symbols=no
  7323. archive_cmds=
  7324. archive_expsym_cmds=
  7325. compiler_needs_object=no
  7326. enable_shared_with_static_runtimes=no
  7327. export_dynamic_flag_spec=
  7328. export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  7329. hardcode_automatic=no
  7330. hardcode_direct=no
  7331. hardcode_direct_absolute=no
  7332. hardcode_libdir_flag_spec=
  7333. hardcode_libdir_flag_spec_ld=
  7334. hardcode_libdir_separator=
  7335. hardcode_minus_L=no
  7336. hardcode_shlibpath_var=unsupported
  7337. inherit_rpath=no
  7338. link_all_deplibs=unknown
  7339. module_cmds=
  7340. module_expsym_cmds=
  7341. old_archive_from_new_cmds=
  7342. old_archive_from_expsyms_cmds=
  7343. thread_safe_flag_spec=
  7344. whole_archive_flag_spec=
  7345. # include_expsyms should be a list of space-separated symbols to be *always*
  7346. # included in the symbol list
  7347. include_expsyms=
  7348. # exclude_expsyms can be an extended regexp of symbols to exclude
  7349. # it will be wrapped by ` (' and `)$', so one must not match beginning or
  7350. # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
  7351. # as well as any symbol that contains `d'.
  7352. exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
  7353. # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
  7354. # platforms (ab)use it in PIC code, but their linkers get confused if
  7355. # the symbol is explicitly referenced. Since portable code cannot
  7356. # rely on this symbol name, it's probably fine to never include it in
  7357. # preloaded symbol tables.
  7358. # Exclude shared library initialization/finalization symbols.
  7359. extract_expsyms_cmds=
  7360. case $host_os in
  7361. cygwin* | mingw* | pw32* | cegcc*)
  7362. # FIXME: the MSVC++ port hasn't been tested in a loooong time
  7363. # When not using gcc, we currently assume that we are using
  7364. # Microsoft Visual C++.
  7365. if test "$GCC" != yes; then
  7366. with_gnu_ld=no
  7367. fi
  7368. ;;
  7369. interix*)
  7370. # we just hope/assume this is gcc and not c89 (= MSVC++)
  7371. with_gnu_ld=yes
  7372. ;;
  7373. openbsd*)
  7374. with_gnu_ld=no
  7375. ;;
  7376. linux* | k*bsd*-gnu)
  7377. link_all_deplibs=no
  7378. ;;
  7379. esac
  7380. ld_shlibs=yes
  7381. if test "$with_gnu_ld" = yes; then
  7382. # If archive_cmds runs LD, not CC, wlarc should be empty
  7383. wlarc='${wl}'
  7384. # Set some defaults for GNU ld with shared library support. These
  7385. # are reset later if shared libraries are not supported. Putting them
  7386. # here allows them to be overridden if necessary.
  7387. runpath_var=LD_RUN_PATH
  7388. hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  7389. export_dynamic_flag_spec='${wl}--export-dynamic'
  7390. # ancient GNU ld didn't support --whole-archive et. al.
  7391. if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
  7392. whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
  7393. else
  7394. whole_archive_flag_spec=
  7395. fi
  7396. supports_anon_versioning=no
  7397. case `$LD -v 2>&1` in
  7398. *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
  7399. *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
  7400. *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
  7401. *\ 2.11.*) ;; # other 2.11 versions
  7402. *) supports_anon_versioning=yes ;;
  7403. esac
  7404. # See if GNU ld supports shared libraries.
  7405. case $host_os in
  7406. aix[3-9]*)
  7407. # On AIX/PPC, the GNU linker is very broken
  7408. if test "$host_cpu" != ia64; then
  7409. ld_shlibs=no
  7410. cat <<_LT_EOF 1>&2
  7411. *** Warning: the GNU linker, at least up to release 2.9.1, is reported
  7412. *** to be unable to reliably create shared libraries on AIX.
  7413. *** Therefore, libtool is disabling shared libraries support. If you
  7414. *** really care for shared libraries, you may want to modify your PATH
  7415. *** so that a non-GNU linker is found, and then restart.
  7416. _LT_EOF
  7417. fi
  7418. ;;
  7419. amigaos*)
  7420. case $host_cpu in
  7421. powerpc)
  7422. # see comment about AmigaOS4 .so support
  7423. archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  7424. archive_expsym_cmds=''
  7425. ;;
  7426. m68k)
  7427. 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)'
  7428. hardcode_libdir_flag_spec='-L$libdir'
  7429. hardcode_minus_L=yes
  7430. ;;
  7431. esac
  7432. ;;
  7433. beos*)
  7434. if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  7435. allow_undefined_flag=unsupported
  7436. # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
  7437. # support --undefined. This deserves some investigation. FIXME
  7438. archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  7439. else
  7440. ld_shlibs=no
  7441. fi
  7442. ;;
  7443. cygwin* | mingw* | pw32* | cegcc*)
  7444. # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
  7445. # as there is no search path for DLLs.
  7446. hardcode_libdir_flag_spec='-L$libdir'
  7447. allow_undefined_flag=unsupported
  7448. always_export_symbols=no
  7449. enable_shared_with_static_runtimes=yes
  7450. export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
  7451. if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
  7452. archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  7453. # If the export-symbols file already is a .def file (1st line
  7454. # is EXPORTS), use it as is; otherwise, prepend...
  7455. archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
  7456. cp $export_symbols $output_objdir/$soname.def;
  7457. else
  7458. echo EXPORTS > $output_objdir/$soname.def;
  7459. cat $export_symbols >> $output_objdir/$soname.def;
  7460. fi~
  7461. $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  7462. else
  7463. ld_shlibs=no
  7464. fi
  7465. ;;
  7466. interix[3-9]*)
  7467. hardcode_direct=no
  7468. hardcode_shlibpath_var=no
  7469. hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
  7470. export_dynamic_flag_spec='${wl}-E'
  7471. # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
  7472. # Instead, shared libraries are loaded at an image base (0x10000000 by
  7473. # default) and relocated if they conflict, which is a slow very memory
  7474. # consuming and fragmenting process. To avoid this, we pick a random,
  7475. # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
  7476. # time. Moving up from 0x10000000 also allows more sbrk(2) space.
  7477. archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
  7478. 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'
  7479. ;;
  7480. gnu* | linux* | tpf* | k*bsd*-gnu)
  7481. tmp_diet=no
  7482. if test "$host_os" = linux-dietlibc; then
  7483. case $cc_basename in
  7484. diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
  7485. esac
  7486. fi
  7487. if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
  7488. && test "$tmp_diet" = no
  7489. then
  7490. tmp_addflag=
  7491. tmp_sharedflag='-shared'
  7492. case $cc_basename,$host_cpu in
  7493. pgcc*) # Portland Group C compiler
  7494. whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
  7495. tmp_addflag=' $pic_flag'
  7496. ;;
  7497. pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
  7498. whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
  7499. tmp_addflag=' $pic_flag -Mnomain' ;;
  7500. ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
  7501. tmp_addflag=' -i_dynamic' ;;
  7502. efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
  7503. tmp_addflag=' -i_dynamic -nofor_main' ;;
  7504. ifc* | ifort*) # Intel Fortran compiler
  7505. tmp_addflag=' -nofor_main' ;;
  7506. lf95*) # Lahey Fortran 8.1
  7507. whole_archive_flag_spec=
  7508. tmp_sharedflag='--shared' ;;
  7509. xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
  7510. tmp_sharedflag='-qmkshrobj'
  7511. tmp_addflag= ;;
  7512. esac
  7513. case `$CC -V 2>&1 | sed 5q` in
  7514. *Sun\ C*) # Sun C 5.9
  7515. whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
  7516. compiler_needs_object=yes
  7517. tmp_sharedflag='-G' ;;
  7518. *Sun\ F*) # Sun Fortran 8.3
  7519. tmp_sharedflag='-G' ;;
  7520. esac
  7521. archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  7522. if test "x$supports_anon_versioning" = xyes; then
  7523. archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
  7524. cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  7525. echo "local: *; };" >> $output_objdir/$libname.ver~
  7526. $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
  7527. fi
  7528. case $cc_basename in
  7529. xlf*)
  7530. # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
  7531. whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
  7532. hardcode_libdir_flag_spec=
  7533. hardcode_libdir_flag_spec_ld='-rpath $libdir'
  7534. archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
  7535. if test "x$supports_anon_versioning" = xyes; then
  7536. archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
  7537. cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  7538. echo "local: *; };" >> $output_objdir/$libname.ver~
  7539. $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
  7540. fi
  7541. ;;
  7542. esac
  7543. else
  7544. ld_shlibs=no
  7545. fi
  7546. ;;
  7547. netbsd* | netbsdelf*-gnu)
  7548. if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  7549. archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
  7550. wlarc=
  7551. else
  7552. archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  7553. archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  7554. fi
  7555. ;;
  7556. solaris*)
  7557. if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
  7558. ld_shlibs=no
  7559. cat <<_LT_EOF 1>&2
  7560. *** Warning: The releases 2.8.* of the GNU linker cannot reliably
  7561. *** create shared libraries on Solaris systems. Therefore, libtool
  7562. *** is disabling shared libraries support. We urge you to upgrade GNU
  7563. *** binutils to release 2.9.1 or newer. Another option is to modify
  7564. *** your PATH or compiler configuration so that the native linker is
  7565. *** used, and then restart.
  7566. _LT_EOF
  7567. elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  7568. archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  7569. archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  7570. else
  7571. ld_shlibs=no
  7572. fi
  7573. ;;
  7574. sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
  7575. case `$LD -v 2>&1` in
  7576. *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
  7577. ld_shlibs=no
  7578. cat <<_LT_EOF 1>&2
  7579. *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
  7580. *** reliably create shared libraries on SCO systems. Therefore, libtool
  7581. *** is disabling shared libraries support. We urge you to upgrade GNU
  7582. *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
  7583. *** your PATH or compiler configuration so that the native linker is
  7584. *** used, and then restart.
  7585. _LT_EOF
  7586. ;;
  7587. *)
  7588. # For security reasons, it is highly recommended that you always
  7589. # use absolute paths for naming shared libraries, and exclude the
  7590. # DT_RUNPATH tag from executables and libraries. But doing so
  7591. # requires that you compile everything twice, which is a pain.
  7592. if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  7593. hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  7594. archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  7595. archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  7596. else
  7597. ld_shlibs=no
  7598. fi
  7599. ;;
  7600. esac
  7601. ;;
  7602. sunos4*)
  7603. archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  7604. wlarc=
  7605. hardcode_direct=yes
  7606. hardcode_shlibpath_var=no
  7607. ;;
  7608. *)
  7609. if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  7610. archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  7611. archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  7612. else
  7613. ld_shlibs=no
  7614. fi
  7615. ;;
  7616. esac
  7617. if test "$ld_shlibs" = no; then
  7618. runpath_var=
  7619. hardcode_libdir_flag_spec=
  7620. export_dynamic_flag_spec=
  7621. whole_archive_flag_spec=
  7622. fi
  7623. else
  7624. # PORTME fill in a description of your system's linker (not GNU ld)
  7625. case $host_os in
  7626. aix3*)
  7627. allow_undefined_flag=unsupported
  7628. always_export_symbols=yes
  7629. 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'
  7630. # Note: this linker hardcodes the directories in LIBPATH if there
  7631. # are no directories specified by -L.
  7632. hardcode_minus_L=yes
  7633. if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
  7634. # Neither direct hardcoding nor static linking is supported with a
  7635. # broken collect2.
  7636. hardcode_direct=unsupported
  7637. fi
  7638. ;;
  7639. aix[4-9]*)
  7640. if test "$host_cpu" = ia64; then
  7641. # On IA64, the linker does run time linking by default, so we don't
  7642. # have to do anything special.
  7643. aix_use_runtimelinking=no
  7644. exp_sym_flag='-Bexport'
  7645. no_entry_flag=""
  7646. else
  7647. # If we're using GNU nm, then we don't want the "-C" option.
  7648. # -C means demangle to AIX nm, but means don't demangle with GNU nm
  7649. if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
  7650. export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
  7651. else
  7652. 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'
  7653. fi
  7654. aix_use_runtimelinking=no
  7655. # Test if we are trying to use run time linking or normal
  7656. # AIX style linking. If -brtl is somewhere in LDFLAGS, we
  7657. # need to do runtime linking.
  7658. case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
  7659. for ld_flag in $LDFLAGS; do
  7660. if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
  7661. aix_use_runtimelinking=yes
  7662. break
  7663. fi
  7664. done
  7665. ;;
  7666. esac
  7667. exp_sym_flag='-bexport'
  7668. no_entry_flag='-bnoentry'
  7669. fi
  7670. # When large executables or shared objects are built, AIX ld can
  7671. # have problems creating the table of contents. If linking a library
  7672. # or program results in "error TOC overflow" add -mminimal-toc to
  7673. # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
  7674. # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
  7675. archive_cmds=''
  7676. hardcode_direct=yes
  7677. hardcode_direct_absolute=yes
  7678. hardcode_libdir_separator=':'
  7679. link_all_deplibs=yes
  7680. file_list_spec='${wl}-f,'
  7681. if test "$GCC" = yes; then
  7682. case $host_os in aix4.[012]|aix4.[012].*)
  7683. # We only want to do this on AIX 4.2 and lower, the check
  7684. # below for broken collect2 doesn't work under 4.3+
  7685. collect2name=`${CC} -print-prog-name=collect2`
  7686. if test -f "$collect2name" &&
  7687. strings "$collect2name" | $GREP resolve_lib_name >/dev/null
  7688. then
  7689. # We have reworked collect2
  7690. :
  7691. else
  7692. # We have old collect2
  7693. hardcode_direct=unsupported
  7694. # It fails to find uninstalled libraries when the uninstalled
  7695. # path is not listed in the libpath. Setting hardcode_minus_L
  7696. # to unsupported forces relinking
  7697. hardcode_minus_L=yes
  7698. hardcode_libdir_flag_spec='-L$libdir'
  7699. hardcode_libdir_separator=
  7700. fi
  7701. ;;
  7702. esac
  7703. shared_flag='-shared'
  7704. if test "$aix_use_runtimelinking" = yes; then
  7705. shared_flag="$shared_flag "'${wl}-G'
  7706. fi
  7707. link_all_deplibs=no
  7708. else
  7709. # not using gcc
  7710. if test "$host_cpu" = ia64; then
  7711. # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
  7712. # chokes on -Wl,-G. The following line is correct:
  7713. shared_flag='-G'
  7714. else
  7715. if test "$aix_use_runtimelinking" = yes; then
  7716. shared_flag='${wl}-G'
  7717. else
  7718. shared_flag='${wl}-bM:SRE'
  7719. fi
  7720. fi
  7721. fi
  7722. export_dynamic_flag_spec='${wl}-bexpall'
  7723. # It seems that -bexpall does not export symbols beginning with
  7724. # underscore (_), so it is better to generate a list of symbols to export.
  7725. always_export_symbols=yes
  7726. if test "$aix_use_runtimelinking" = yes; then
  7727. # Warning - without using the other runtime loading flags (-brtl),
  7728. # -berok will link without error, but may produce a broken library.
  7729. allow_undefined_flag='-berok'
  7730. # Determine the default libpath from the value encoded in an
  7731. # empty executable.
  7732. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7733. /* end confdefs.h. */
  7734. int
  7735. main ()
  7736. {
  7737. ;
  7738. return 0;
  7739. }
  7740. _ACEOF
  7741. if ac_fn_c_try_link "$LINENO"; then :
  7742. lt_aix_libpath_sed='
  7743. /Import File Strings/,/^$/ {
  7744. /^0/ {
  7745. s/^0 *\(.*\)$/\1/
  7746. p
  7747. }
  7748. }'
  7749. aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  7750. # Check for a 64-bit object if we didn't find anything.
  7751. if test -z "$aix_libpath"; then
  7752. aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  7753. fi
  7754. fi
  7755. rm -f core conftest.err conftest.$ac_objext \
  7756. conftest$ac_exeext conftest.$ac_ext
  7757. if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  7758. hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
  7759. archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
  7760. else
  7761. if test "$host_cpu" = ia64; then
  7762. hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
  7763. allow_undefined_flag="-z nodefs"
  7764. 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"
  7765. else
  7766. # Determine the default libpath from the value encoded in an
  7767. # empty executable.
  7768. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7769. /* end confdefs.h. */
  7770. int
  7771. main ()
  7772. {
  7773. ;
  7774. return 0;
  7775. }
  7776. _ACEOF
  7777. if ac_fn_c_try_link "$LINENO"; then :
  7778. lt_aix_libpath_sed='
  7779. /Import File Strings/,/^$/ {
  7780. /^0/ {
  7781. s/^0 *\(.*\)$/\1/
  7782. p
  7783. }
  7784. }'
  7785. aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  7786. # Check for a 64-bit object if we didn't find anything.
  7787. if test -z "$aix_libpath"; then
  7788. aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  7789. fi
  7790. fi
  7791. rm -f core conftest.err conftest.$ac_objext \
  7792. conftest$ac_exeext conftest.$ac_ext
  7793. if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  7794. hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
  7795. # Warning - without using the other run time loading flags,
  7796. # -berok will link without error, but may produce a broken library.
  7797. no_undefined_flag=' ${wl}-bernotok'
  7798. allow_undefined_flag=' ${wl}-berok'
  7799. # Exported symbols can be pulled into shared objects from archives
  7800. whole_archive_flag_spec='$convenience'
  7801. archive_cmds_need_lc=yes
  7802. # This is similar to how AIX traditionally builds its shared libraries.
  7803. 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'
  7804. fi
  7805. fi
  7806. ;;
  7807. amigaos*)
  7808. case $host_cpu in
  7809. powerpc)
  7810. # see comment about AmigaOS4 .so support
  7811. archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  7812. archive_expsym_cmds=''
  7813. ;;
  7814. m68k)
  7815. 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)'
  7816. hardcode_libdir_flag_spec='-L$libdir'
  7817. hardcode_minus_L=yes
  7818. ;;
  7819. esac
  7820. ;;
  7821. bsdi[45]*)
  7822. export_dynamic_flag_spec=-rdynamic
  7823. ;;
  7824. cygwin* | mingw* | pw32* | cegcc*)
  7825. # When not using gcc, we currently assume that we are using
  7826. # Microsoft Visual C++.
  7827. # hardcode_libdir_flag_spec is actually meaningless, as there is
  7828. # no search path for DLLs.
  7829. hardcode_libdir_flag_spec=' '
  7830. allow_undefined_flag=unsupported
  7831. # Tell ltmain to make .lib files, not .a files.
  7832. libext=lib
  7833. # Tell ltmain to make .dll files, not .so files.
  7834. shrext_cmds=".dll"
  7835. # FIXME: Setting linknames here is a bad hack.
  7836. archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
  7837. # The linker will automatically build a .lib file if we build a DLL.
  7838. old_archive_from_new_cmds='true'
  7839. # FIXME: Should let the user specify the lib program.
  7840. old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
  7841. fix_srcfile_path='`cygpath -w "$srcfile"`'
  7842. enable_shared_with_static_runtimes=yes
  7843. ;;
  7844. darwin* | rhapsody*)
  7845. archive_cmds_need_lc=no
  7846. hardcode_direct=no
  7847. hardcode_automatic=yes
  7848. hardcode_shlibpath_var=unsupported
  7849. whole_archive_flag_spec=''
  7850. link_all_deplibs=yes
  7851. allow_undefined_flag="$_lt_dar_allow_undefined"
  7852. case $cc_basename in
  7853. ifort*) _lt_dar_can_shared=yes ;;
  7854. *) _lt_dar_can_shared=$GCC ;;
  7855. esac
  7856. if test "$_lt_dar_can_shared" = "yes"; then
  7857. output_verbose_link_cmd=echo
  7858. archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
  7859. module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
  7860. 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}"
  7861. 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}"
  7862. else
  7863. ld_shlibs=no
  7864. fi
  7865. ;;
  7866. dgux*)
  7867. archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  7868. hardcode_libdir_flag_spec='-L$libdir'
  7869. hardcode_shlibpath_var=no
  7870. ;;
  7871. freebsd1*)
  7872. ld_shlibs=no
  7873. ;;
  7874. # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
  7875. # support. Future versions do this automatically, but an explicit c++rt0.o
  7876. # does not break anything, and helps significantly (at the cost of a little
  7877. # extra space).
  7878. freebsd2.2*)
  7879. archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
  7880. hardcode_libdir_flag_spec='-R$libdir'
  7881. hardcode_direct=yes
  7882. hardcode_shlibpath_var=no
  7883. ;;
  7884. # Unfortunately, older versions of FreeBSD 2 do not have this feature.
  7885. freebsd2*)
  7886. archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  7887. hardcode_direct=yes
  7888. hardcode_minus_L=yes
  7889. hardcode_shlibpath_var=no
  7890. ;;
  7891. # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
  7892. freebsd* | dragonfly*)
  7893. archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
  7894. hardcode_libdir_flag_spec='-R$libdir'
  7895. hardcode_direct=yes
  7896. hardcode_shlibpath_var=no
  7897. ;;
  7898. hpux9*)
  7899. if test "$GCC" = yes; then
  7900. 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'
  7901. else
  7902. 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'
  7903. fi
  7904. hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
  7905. hardcode_libdir_separator=:
  7906. hardcode_direct=yes
  7907. # hardcode_minus_L: Not really in the search PATH,
  7908. # but as the default location of the library.
  7909. hardcode_minus_L=yes
  7910. export_dynamic_flag_spec='${wl}-E'
  7911. ;;
  7912. hpux10*)
  7913. if test "$GCC" = yes -a "$with_gnu_ld" = no; then
  7914. archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  7915. else
  7916. archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
  7917. fi
  7918. if test "$with_gnu_ld" = no; then
  7919. hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
  7920. hardcode_libdir_flag_spec_ld='+b $libdir'
  7921. hardcode_libdir_separator=:
  7922. hardcode_direct=yes
  7923. hardcode_direct_absolute=yes
  7924. export_dynamic_flag_spec='${wl}-E'
  7925. # hardcode_minus_L: Not really in the search PATH,
  7926. # but as the default location of the library.
  7927. hardcode_minus_L=yes
  7928. fi
  7929. ;;
  7930. hpux11*)
  7931. if test "$GCC" = yes -a "$with_gnu_ld" = no; then
  7932. case $host_cpu in
  7933. hppa*64*)
  7934. archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  7935. ;;
  7936. ia64*)
  7937. archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  7938. ;;
  7939. *)
  7940. archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  7941. ;;
  7942. esac
  7943. else
  7944. case $host_cpu in
  7945. hppa*64*)
  7946. archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  7947. ;;
  7948. ia64*)
  7949. archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  7950. ;;
  7951. *)
  7952. archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  7953. ;;
  7954. esac
  7955. fi
  7956. if test "$with_gnu_ld" = no; then
  7957. hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
  7958. hardcode_libdir_separator=:
  7959. case $host_cpu in
  7960. hppa*64*|ia64*)
  7961. hardcode_direct=no
  7962. hardcode_shlibpath_var=no
  7963. ;;
  7964. *)
  7965. hardcode_direct=yes
  7966. hardcode_direct_absolute=yes
  7967. export_dynamic_flag_spec='${wl}-E'
  7968. # hardcode_minus_L: Not really in the search PATH,
  7969. # but as the default location of the library.
  7970. hardcode_minus_L=yes
  7971. ;;
  7972. esac
  7973. fi
  7974. ;;
  7975. irix5* | irix6* | nonstopux*)
  7976. if test "$GCC" = yes; then
  7977. archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  7978. # Try to use the -exported_symbol ld option, if it does not
  7979. # work, assume that -exports_file does not work either and
  7980. # implicitly export all symbols.
  7981. save_LDFLAGS="$LDFLAGS"
  7982. LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
  7983. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7984. /* end confdefs.h. */
  7985. int foo(void) {}
  7986. _ACEOF
  7987. if ac_fn_c_try_link "$LINENO"; then :
  7988. archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
  7989. fi
  7990. rm -f core conftest.err conftest.$ac_objext \
  7991. conftest$ac_exeext conftest.$ac_ext
  7992. LDFLAGS="$save_LDFLAGS"
  7993. else
  7994. archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
  7995. archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
  7996. fi
  7997. archive_cmds_need_lc='no'
  7998. hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  7999. hardcode_libdir_separator=:
  8000. inherit_rpath=yes
  8001. link_all_deplibs=yes
  8002. ;;
  8003. netbsd* | netbsdelf*-gnu)
  8004. if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  8005. archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
  8006. else
  8007. archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
  8008. fi
  8009. hardcode_libdir_flag_spec='-R$libdir'
  8010. hardcode_direct=yes
  8011. hardcode_shlibpath_var=no
  8012. ;;
  8013. newsos6)
  8014. archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  8015. hardcode_direct=yes
  8016. hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  8017. hardcode_libdir_separator=:
  8018. hardcode_shlibpath_var=no
  8019. ;;
  8020. *nto* | *qnx*)
  8021. ;;
  8022. openbsd*)
  8023. if test -f /usr/libexec/ld.so; then
  8024. hardcode_direct=yes
  8025. hardcode_shlibpath_var=no
  8026. hardcode_direct_absolute=yes
  8027. if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  8028. archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  8029. archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
  8030. hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
  8031. export_dynamic_flag_spec='${wl}-E'
  8032. else
  8033. case $host_os in
  8034. openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
  8035. archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  8036. hardcode_libdir_flag_spec='-R$libdir'
  8037. ;;
  8038. *)
  8039. archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  8040. hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
  8041. ;;
  8042. esac
  8043. fi
  8044. else
  8045. ld_shlibs=no
  8046. fi
  8047. ;;
  8048. os2*)
  8049. hardcode_libdir_flag_spec='-L$libdir'
  8050. hardcode_minus_L=yes
  8051. allow_undefined_flag=unsupported
  8052. 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'
  8053. old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
  8054. ;;
  8055. osf3*)
  8056. if test "$GCC" = yes; then
  8057. allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
  8058. archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  8059. else
  8060. allow_undefined_flag=' -expect_unresolved \*'
  8061. archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
  8062. fi
  8063. archive_cmds_need_lc='no'
  8064. hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  8065. hardcode_libdir_separator=:
  8066. ;;
  8067. osf4* | osf5*) # as osf3* with the addition of -msym flag
  8068. if test "$GCC" = yes; then
  8069. allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
  8070. archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  8071. hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  8072. else
  8073. allow_undefined_flag=' -expect_unresolved \*'
  8074. archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
  8075. 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~
  8076. $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
  8077. # Both c and cxx compiler support -rpath directly
  8078. hardcode_libdir_flag_spec='-rpath $libdir'
  8079. fi
  8080. archive_cmds_need_lc='no'
  8081. hardcode_libdir_separator=:
  8082. ;;
  8083. solaris*)
  8084. no_undefined_flag=' -z defs'
  8085. if test "$GCC" = yes; then
  8086. wlarc='${wl}'
  8087. archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  8088. archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  8089. $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
  8090. else
  8091. case `$CC -V 2>&1` in
  8092. *"Compilers 5.0"*)
  8093. wlarc=''
  8094. archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
  8095. archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  8096. $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
  8097. ;;
  8098. *)
  8099. wlarc='${wl}'
  8100. archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
  8101. archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  8102. $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
  8103. ;;
  8104. esac
  8105. fi
  8106. hardcode_libdir_flag_spec='-R$libdir'
  8107. hardcode_shlibpath_var=no
  8108. case $host_os in
  8109. solaris2.[0-5] | solaris2.[0-5].*) ;;
  8110. *)
  8111. # The compiler driver will combine and reorder linker options,
  8112. # but understands `-z linker_flag'. GCC discards it without `$wl',
  8113. # but is careful enough not to reorder.
  8114. # Supported since Solaris 2.6 (maybe 2.5.1?)
  8115. if test "$GCC" = yes; then
  8116. whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
  8117. else
  8118. whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
  8119. fi
  8120. ;;
  8121. esac
  8122. link_all_deplibs=yes
  8123. ;;
  8124. sunos4*)
  8125. if test "x$host_vendor" = xsequent; then
  8126. # Use $CC to link under sequent, because it throws in some extra .o
  8127. # files that make .init and .fini sections work.
  8128. archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
  8129. else
  8130. archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
  8131. fi
  8132. hardcode_libdir_flag_spec='-L$libdir'
  8133. hardcode_direct=yes
  8134. hardcode_minus_L=yes
  8135. hardcode_shlibpath_var=no
  8136. ;;
  8137. sysv4)
  8138. case $host_vendor in
  8139. sni)
  8140. archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  8141. hardcode_direct=yes # is this really true???
  8142. ;;
  8143. siemens)
  8144. ## LD is ld it makes a PLAMLIB
  8145. ## CC just makes a GrossModule.
  8146. archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
  8147. reload_cmds='$CC -r -o $output$reload_objs'
  8148. hardcode_direct=no
  8149. ;;
  8150. motorola)
  8151. archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  8152. hardcode_direct=no #Motorola manual says yes, but my tests say they lie
  8153. ;;
  8154. esac
  8155. runpath_var='LD_RUN_PATH'
  8156. hardcode_shlibpath_var=no
  8157. ;;
  8158. sysv4.3*)
  8159. archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  8160. hardcode_shlibpath_var=no
  8161. export_dynamic_flag_spec='-Bexport'
  8162. ;;
  8163. sysv4*MP*)
  8164. if test -d /usr/nec; then
  8165. archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  8166. hardcode_shlibpath_var=no
  8167. runpath_var=LD_RUN_PATH
  8168. hardcode_runpath_var=yes
  8169. ld_shlibs=yes
  8170. fi
  8171. ;;
  8172. sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
  8173. no_undefined_flag='${wl}-z,text'
  8174. archive_cmds_need_lc=no
  8175. hardcode_shlibpath_var=no
  8176. runpath_var='LD_RUN_PATH'
  8177. if test "$GCC" = yes; then
  8178. archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  8179. archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  8180. else
  8181. archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  8182. archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  8183. fi
  8184. ;;
  8185. sysv5* | sco3.2v5* | sco5v6*)
  8186. # Note: We can NOT use -z defs as we might desire, because we do not
  8187. # link with -lc, and that would cause any symbols used from libc to
  8188. # always be unresolved, which means just about no library would
  8189. # ever link correctly. If we're not using GNU ld we use -z text
  8190. # though, which does catch some bad symbols but isn't as heavy-handed
  8191. # as -z defs.
  8192. no_undefined_flag='${wl}-z,text'
  8193. allow_undefined_flag='${wl}-z,nodefs'
  8194. archive_cmds_need_lc=no
  8195. hardcode_shlibpath_var=no
  8196. hardcode_libdir_flag_spec='${wl}-R,$libdir'
  8197. hardcode_libdir_separator=':'
  8198. link_all_deplibs=yes
  8199. export_dynamic_flag_spec='${wl}-Bexport'
  8200. runpath_var='LD_RUN_PATH'
  8201. if test "$GCC" = yes; then
  8202. archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  8203. archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  8204. else
  8205. archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  8206. archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  8207. fi
  8208. ;;
  8209. uts4*)
  8210. archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  8211. hardcode_libdir_flag_spec='-L$libdir'
  8212. hardcode_shlibpath_var=no
  8213. ;;
  8214. *)
  8215. ld_shlibs=no
  8216. ;;
  8217. esac
  8218. if test x$host_vendor = xsni; then
  8219. case $host in
  8220. sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
  8221. export_dynamic_flag_spec='${wl}-Blargedynsym'
  8222. ;;
  8223. esac
  8224. fi
  8225. fi
  8226. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
  8227. $as_echo "$ld_shlibs" >&6; }
  8228. test "$ld_shlibs" = no && can_build_shared=no
  8229. with_gnu_ld=$with_gnu_ld
  8230. #
  8231. # Do we need to explicitly link libc?
  8232. #
  8233. case "x$archive_cmds_need_lc" in
  8234. x|xyes)
  8235. # Assume -lc should be added
  8236. archive_cmds_need_lc=yes
  8237. if test "$enable_shared" = yes && test "$GCC" = yes; then
  8238. case $archive_cmds in
  8239. *'~'*)
  8240. # FIXME: we may have to deal with multi-command sequences.
  8241. ;;
  8242. '$CC '*)
  8243. # Test whether the compiler implicitly links with -lc since on some
  8244. # systems, -lgcc has to come before -lc. If gcc already passes -lc
  8245. # to ld, don't add -lc before -lgcc.
  8246. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
  8247. $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
  8248. $RM conftest*
  8249. echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  8250. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  8251. (eval $ac_compile) 2>&5
  8252. ac_status=$?
  8253. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  8254. test $ac_status = 0; } 2>conftest.err; then
  8255. soname=conftest
  8256. lib=conftest
  8257. libobjs=conftest.$ac_objext
  8258. deplibs=
  8259. wl=$lt_prog_compiler_wl
  8260. pic_flag=$lt_prog_compiler_pic
  8261. compiler_flags=-v
  8262. linker_flags=-v
  8263. verstring=
  8264. output_objdir=.
  8265. libname=conftest
  8266. lt_save_allow_undefined_flag=$allow_undefined_flag
  8267. allow_undefined_flag=
  8268. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
  8269. (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
  8270. ac_status=$?
  8271. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  8272. test $ac_status = 0; }
  8273. then
  8274. archive_cmds_need_lc=no
  8275. else
  8276. archive_cmds_need_lc=yes
  8277. fi
  8278. allow_undefined_flag=$lt_save_allow_undefined_flag
  8279. else
  8280. cat conftest.err 1>&5
  8281. fi
  8282. $RM conftest*
  8283. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
  8284. $as_echo "$archive_cmds_need_lc" >&6; }
  8285. ;;
  8286. esac
  8287. fi
  8288. ;;
  8289. esac
  8290. { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
  8291. $as_echo_n "checking dynamic linker characteristics... " >&6; }
  8292. if test "$GCC" = yes; then
  8293. case $host_os in
  8294. darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
  8295. *) lt_awk_arg="/^libraries:/" ;;
  8296. esac
  8297. lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
  8298. if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
  8299. # if the path contains ";" then we assume it to be the separator
  8300. # otherwise default to the standard path separator (i.e. ":") - it is
  8301. # assumed that no part of a normal pathname contains ";" but that should
  8302. # okay in the real world where ";" in dirpaths is itself problematic.
  8303. lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
  8304. else
  8305. lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
  8306. fi
  8307. # Ok, now we have the path, separated by spaces, we can step through it
  8308. # and add multilib dir if necessary.
  8309. lt_tmp_lt_search_path_spec=
  8310. lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
  8311. for lt_sys_path in $lt_search_path_spec; do
  8312. if test -d "$lt_sys_path/$lt_multi_os_dir"; then
  8313. lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
  8314. else
  8315. test -d "$lt_sys_path" && \
  8316. lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
  8317. fi
  8318. done
  8319. lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
  8320. BEGIN {RS=" "; FS="/|\n";} {
  8321. lt_foo="";
  8322. lt_count=0;
  8323. for (lt_i = NF; lt_i > 0; lt_i--) {
  8324. if ($lt_i != "" && $lt_i != ".") {
  8325. if ($lt_i == "..") {
  8326. lt_count++;
  8327. } else {
  8328. if (lt_count == 0) {
  8329. lt_foo="/" $lt_i lt_foo;
  8330. } else {
  8331. lt_count--;
  8332. }
  8333. }
  8334. }
  8335. }
  8336. if (lt_foo != "") { lt_freq[lt_foo]++; }
  8337. if (lt_freq[lt_foo] == 1) { print lt_foo; }
  8338. }'`
  8339. sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
  8340. else
  8341. sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
  8342. fi
  8343. library_names_spec=
  8344. libname_spec='lib$name'
  8345. soname_spec=
  8346. shrext_cmds=".so"
  8347. postinstall_cmds=
  8348. postuninstall_cmds=
  8349. finish_cmds=
  8350. finish_eval=
  8351. shlibpath_var=
  8352. shlibpath_overrides_runpath=unknown
  8353. version_type=none
  8354. dynamic_linker="$host_os ld.so"
  8355. sys_lib_dlsearch_path_spec="/lib /usr/lib"
  8356. need_lib_prefix=unknown
  8357. hardcode_into_libs=no
  8358. # when you set need_version to no, make sure it does not cause -set_version
  8359. # flags to be left without arguments
  8360. need_version=unknown
  8361. case $host_os in
  8362. aix3*)
  8363. version_type=linux
  8364. library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
  8365. shlibpath_var=LIBPATH
  8366. # AIX 3 has no versioning support, so we append a major version to the name.
  8367. soname_spec='${libname}${release}${shared_ext}$major'
  8368. ;;
  8369. aix[4-9]*)
  8370. version_type=linux
  8371. need_lib_prefix=no
  8372. need_version=no
  8373. hardcode_into_libs=yes
  8374. if test "$host_cpu" = ia64; then
  8375. # AIX 5 supports IA64
  8376. library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
  8377. shlibpath_var=LD_LIBRARY_PATH
  8378. else
  8379. # With GCC up to 2.95.x, collect2 would create an import file
  8380. # for dependence libraries. The import file would start with
  8381. # the line `#! .'. This would cause the generated library to
  8382. # depend on `.', always an invalid library. This was fixed in
  8383. # development snapshots of GCC prior to 3.0.
  8384. case $host_os in
  8385. aix4 | aix4.[01] | aix4.[01].*)
  8386. if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
  8387. echo ' yes '
  8388. echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
  8389. :
  8390. else
  8391. can_build_shared=no
  8392. fi
  8393. ;;
  8394. esac
  8395. # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
  8396. # soname into executable. Probably we can add versioning support to
  8397. # collect2, so additional links can be useful in future.
  8398. if test "$aix_use_runtimelinking" = yes; then
  8399. # If using run time linking (on AIX 4.2 or later) use lib<name>.so
  8400. # instead of lib<name>.a to let people know that these are not
  8401. # typical AIX shared libraries.
  8402. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  8403. else
  8404. # We preserve .a as extension for shared libraries through AIX4.2
  8405. # and later when we are not doing run time linking.
  8406. library_names_spec='${libname}${release}.a $libname.a'
  8407. soname_spec='${libname}${release}${shared_ext}$major'
  8408. fi
  8409. shlibpath_var=LIBPATH
  8410. fi
  8411. ;;
  8412. amigaos*)
  8413. case $host_cpu in
  8414. powerpc)
  8415. # Since July 2007 AmigaOS4 officially supports .so libraries.
  8416. # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
  8417. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  8418. ;;
  8419. m68k)
  8420. library_names_spec='$libname.ixlibrary $libname.a'
  8421. # Create ${libname}_ixlibrary.a entries in /sys/libs.
  8422. finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
  8423. ;;
  8424. esac
  8425. ;;
  8426. beos*)
  8427. library_names_spec='${libname}${shared_ext}'
  8428. dynamic_linker="$host_os ld.so"
  8429. shlibpath_var=LIBRARY_PATH
  8430. ;;
  8431. bsdi[45]*)
  8432. version_type=linux
  8433. need_version=no
  8434. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  8435. soname_spec='${libname}${release}${shared_ext}$major'
  8436. finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
  8437. shlibpath_var=LD_LIBRARY_PATH
  8438. sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
  8439. sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
  8440. # the default ld.so.conf also contains /usr/contrib/lib and
  8441. # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
  8442. # libtool to hard-code these into programs
  8443. ;;
  8444. cygwin* | mingw* | pw32* | cegcc*)
  8445. version_type=windows
  8446. shrext_cmds=".dll"
  8447. need_version=no
  8448. need_lib_prefix=no
  8449. case $GCC,$host_os in
  8450. yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
  8451. library_names_spec='$libname.dll.a'
  8452. # DLL is installed to $(libdir)/../bin by postinstall_cmds
  8453. postinstall_cmds='base_file=`basename \${file}`~
  8454. dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
  8455. dldir=$destdir/`dirname \$dlpath`~
  8456. test -d \$dldir || mkdir -p \$dldir~
  8457. $install_prog $dir/$dlname \$dldir/$dlname~
  8458. chmod a+x \$dldir/$dlname~
  8459. if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
  8460. eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
  8461. fi'
  8462. postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
  8463. dlpath=$dir/\$dldll~
  8464. $RM \$dlpath'
  8465. shlibpath_overrides_runpath=yes
  8466. case $host_os in
  8467. cygwin*)
  8468. # Cygwin DLLs use 'cyg' prefix rather than 'lib'
  8469. soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  8470. sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
  8471. ;;
  8472. mingw* | cegcc*)
  8473. # MinGW DLLs use traditional 'lib' prefix
  8474. soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  8475. sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
  8476. if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
  8477. # It is most probably a Windows format PATH printed by
  8478. # mingw gcc, but we are running on Cygwin. Gcc prints its search
  8479. # path with ; separators, and with drive letters. We can handle the
  8480. # drive letters (cygwin fileutils understands them), so leave them,
  8481. # especially as we might pass files found there to a mingw objdump,
  8482. # which wouldn't understand a cygwinified path. Ahh.
  8483. sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
  8484. else
  8485. sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
  8486. fi
  8487. ;;
  8488. pw32*)
  8489. # pw32 DLLs use 'pw' prefix rather than 'lib'
  8490. library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  8491. ;;
  8492. esac
  8493. ;;
  8494. *)
  8495. library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
  8496. ;;
  8497. esac
  8498. dynamic_linker='Win32 ld.exe'
  8499. # FIXME: first we should search . and the directory the executable is in
  8500. shlibpath_var=PATH
  8501. ;;
  8502. darwin* | rhapsody*)
  8503. dynamic_linker="$host_os dyld"
  8504. version_type=darwin
  8505. need_lib_prefix=no
  8506. need_version=no
  8507. library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
  8508. soname_spec='${libname}${release}${major}$shared_ext'
  8509. shlibpath_overrides_runpath=yes
  8510. shlibpath_var=DYLD_LIBRARY_PATH
  8511. shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
  8512. sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
  8513. sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
  8514. ;;
  8515. dgux*)
  8516. version_type=linux
  8517. need_lib_prefix=no
  8518. need_version=no
  8519. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
  8520. soname_spec='${libname}${release}${shared_ext}$major'
  8521. shlibpath_var=LD_LIBRARY_PATH
  8522. ;;
  8523. freebsd1*)
  8524. dynamic_linker=no
  8525. ;;
  8526. freebsd* | dragonfly*)
  8527. # DragonFly does not have aout. When/if they implement a new
  8528. # versioning mechanism, adjust this.
  8529. if test -x /usr/bin/objformat; then
  8530. objformat=`/usr/bin/objformat`
  8531. else
  8532. case $host_os in
  8533. freebsd[123]*) objformat=aout ;;
  8534. *) objformat=elf ;;
  8535. esac
  8536. fi
  8537. version_type=freebsd-$objformat
  8538. case $version_type in
  8539. freebsd-elf*)
  8540. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
  8541. need_version=no
  8542. need_lib_prefix=no
  8543. ;;
  8544. freebsd-*)
  8545. library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
  8546. need_version=yes
  8547. ;;
  8548. esac
  8549. shlibpath_var=LD_LIBRARY_PATH
  8550. case $host_os in
  8551. freebsd2*)
  8552. shlibpath_overrides_runpath=yes
  8553. ;;
  8554. freebsd3.[01]* | freebsdelf3.[01]*)
  8555. shlibpath_overrides_runpath=yes
  8556. hardcode_into_libs=yes
  8557. ;;
  8558. freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
  8559. freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
  8560. shlibpath_overrides_runpath=no
  8561. hardcode_into_libs=yes
  8562. ;;
  8563. *) # from 4.6 on, and DragonFly
  8564. shlibpath_overrides_runpath=yes
  8565. hardcode_into_libs=yes
  8566. ;;
  8567. esac
  8568. ;;
  8569. gnu*)
  8570. version_type=linux
  8571. need_lib_prefix=no
  8572. need_version=no
  8573. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
  8574. soname_spec='${libname}${release}${shared_ext}$major'
  8575. shlibpath_var=LD_LIBRARY_PATH
  8576. hardcode_into_libs=yes
  8577. ;;
  8578. hpux9* | hpux10* | hpux11*)
  8579. # Give a soname corresponding to the major version so that dld.sl refuses to
  8580. # link against other versions.
  8581. version_type=sunos
  8582. need_lib_prefix=no
  8583. need_version=no
  8584. case $host_cpu in
  8585. ia64*)
  8586. shrext_cmds='.so'
  8587. hardcode_into_libs=yes
  8588. dynamic_linker="$host_os dld.so"
  8589. shlibpath_var=LD_LIBRARY_PATH
  8590. shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  8591. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  8592. soname_spec='${libname}${release}${shared_ext}$major'
  8593. if test "X$HPUX_IA64_MODE" = X32; then
  8594. sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
  8595. else
  8596. sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
  8597. fi
  8598. sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  8599. ;;
  8600. hppa*64*)
  8601. shrext_cmds='.sl'
  8602. hardcode_into_libs=yes
  8603. dynamic_linker="$host_os dld.sl"
  8604. shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
  8605. shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  8606. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  8607. soname_spec='${libname}${release}${shared_ext}$major'
  8608. sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
  8609. sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  8610. ;;
  8611. *)
  8612. shrext_cmds='.sl'
  8613. dynamic_linker="$host_os dld.sl"
  8614. shlibpath_var=SHLIB_PATH
  8615. shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
  8616. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  8617. soname_spec='${libname}${release}${shared_ext}$major'
  8618. ;;
  8619. esac
  8620. # HP-UX runs *really* slowly unless shared libraries are mode 555.
  8621. postinstall_cmds='chmod 555 $lib'
  8622. ;;
  8623. interix[3-9]*)
  8624. version_type=linux
  8625. need_lib_prefix=no
  8626. need_version=no
  8627. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  8628. soname_spec='${libname}${release}${shared_ext}$major'
  8629. dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
  8630. shlibpath_var=LD_LIBRARY_PATH
  8631. shlibpath_overrides_runpath=no
  8632. hardcode_into_libs=yes
  8633. ;;
  8634. irix5* | irix6* | nonstopux*)
  8635. case $host_os in
  8636. nonstopux*) version_type=nonstopux ;;
  8637. *)
  8638. if test "$lt_cv_prog_gnu_ld" = yes; then
  8639. version_type=linux
  8640. else
  8641. version_type=irix
  8642. fi ;;
  8643. esac
  8644. need_lib_prefix=no
  8645. need_version=no
  8646. soname_spec='${libname}${release}${shared_ext}$major'
  8647. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
  8648. case $host_os in
  8649. irix5* | nonstopux*)
  8650. libsuff= shlibsuff=
  8651. ;;
  8652. *)
  8653. case $LD in # libtool.m4 will add one of these switches to LD
  8654. *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
  8655. libsuff= shlibsuff= libmagic=32-bit;;
  8656. *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
  8657. libsuff=32 shlibsuff=N32 libmagic=N32;;
  8658. *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
  8659. libsuff=64 shlibsuff=64 libmagic=64-bit;;
  8660. *) libsuff= shlibsuff= libmagic=never-match;;
  8661. esac
  8662. ;;
  8663. esac
  8664. shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
  8665. shlibpath_overrides_runpath=no
  8666. sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
  8667. sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
  8668. hardcode_into_libs=yes
  8669. ;;
  8670. # No shared lib support for Linux oldld, aout, or coff.
  8671. linux*oldld* | linux*aout* | linux*coff*)
  8672. dynamic_linker=no
  8673. ;;
  8674. # This must be Linux ELF.
  8675. linux* | k*bsd*-gnu)
  8676. version_type=linux
  8677. need_lib_prefix=no
  8678. need_version=no
  8679. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  8680. soname_spec='${libname}${release}${shared_ext}$major'
  8681. finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
  8682. shlibpath_var=LD_LIBRARY_PATH
  8683. shlibpath_overrides_runpath=no
  8684. # Some binutils ld are patched to set DT_RUNPATH
  8685. save_LDFLAGS=$LDFLAGS
  8686. save_libdir=$libdir
  8687. eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
  8688. LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
  8689. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8690. /* end confdefs.h. */
  8691. int
  8692. main ()
  8693. {
  8694. ;
  8695. return 0;
  8696. }
  8697. _ACEOF
  8698. if ac_fn_c_try_link "$LINENO"; then :
  8699. if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
  8700. shlibpath_overrides_runpath=yes
  8701. fi
  8702. fi
  8703. rm -f core conftest.err conftest.$ac_objext \
  8704. conftest$ac_exeext conftest.$ac_ext
  8705. LDFLAGS=$save_LDFLAGS
  8706. libdir=$save_libdir
  8707. # This implies no fast_install, which is unacceptable.
  8708. # Some rework will be needed to allow for fast_install
  8709. # before this can be enabled.
  8710. hardcode_into_libs=yes
  8711. # Append ld.so.conf contents to the search path
  8712. if test -f /etc/ld.so.conf; then
  8713. lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
  8714. sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
  8715. fi
  8716. # We used to test for /lib/ld.so.1 and disable shared libraries on
  8717. # powerpc, because MkLinux only supported shared libraries with the
  8718. # GNU dynamic linker. Since this was broken with cross compilers,
  8719. # most powerpc-linux boxes support dynamic linking these days and
  8720. # people can always --disable-shared, the test was removed, and we
  8721. # assume the GNU/Linux dynamic linker is in use.
  8722. dynamic_linker='GNU/Linux ld.so'
  8723. ;;
  8724. netbsdelf*-gnu)
  8725. version_type=linux
  8726. need_lib_prefix=no
  8727. need_version=no
  8728. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  8729. soname_spec='${libname}${release}${shared_ext}$major'
  8730. shlibpath_var=LD_LIBRARY_PATH
  8731. shlibpath_overrides_runpath=no
  8732. hardcode_into_libs=yes
  8733. dynamic_linker='NetBSD ld.elf_so'
  8734. ;;
  8735. netbsd*)
  8736. version_type=sunos
  8737. need_lib_prefix=no
  8738. need_version=no
  8739. if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  8740. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  8741. finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  8742. dynamic_linker='NetBSD (a.out) ld.so'
  8743. else
  8744. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  8745. soname_spec='${libname}${release}${shared_ext}$major'
  8746. dynamic_linker='NetBSD ld.elf_so'
  8747. fi
  8748. shlibpath_var=LD_LIBRARY_PATH
  8749. shlibpath_overrides_runpath=yes
  8750. hardcode_into_libs=yes
  8751. ;;
  8752. newsos6)
  8753. version_type=linux
  8754. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  8755. shlibpath_var=LD_LIBRARY_PATH
  8756. shlibpath_overrides_runpath=yes
  8757. ;;
  8758. *nto* | *qnx*)
  8759. version_type=qnx
  8760. need_lib_prefix=no
  8761. need_version=no
  8762. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  8763. soname_spec='${libname}${release}${shared_ext}$major'
  8764. shlibpath_var=LD_LIBRARY_PATH
  8765. shlibpath_overrides_runpath=no
  8766. hardcode_into_libs=yes
  8767. dynamic_linker='ldqnx.so'
  8768. ;;
  8769. openbsd*)
  8770. version_type=sunos
  8771. sys_lib_dlsearch_path_spec="/usr/lib"
  8772. need_lib_prefix=no
  8773. # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
  8774. case $host_os in
  8775. openbsd3.3 | openbsd3.3.*) need_version=yes ;;
  8776. *) need_version=no ;;
  8777. esac
  8778. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  8779. finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  8780. shlibpath_var=LD_LIBRARY_PATH
  8781. if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  8782. case $host_os in
  8783. openbsd2.[89] | openbsd2.[89].*)
  8784. shlibpath_overrides_runpath=no
  8785. ;;
  8786. *)
  8787. shlibpath_overrides_runpath=yes
  8788. ;;
  8789. esac
  8790. else
  8791. shlibpath_overrides_runpath=yes
  8792. fi
  8793. ;;
  8794. os2*)
  8795. libname_spec='$name'
  8796. shrext_cmds=".dll"
  8797. need_lib_prefix=no
  8798. library_names_spec='$libname${shared_ext} $libname.a'
  8799. dynamic_linker='OS/2 ld.exe'
  8800. shlibpath_var=LIBPATH
  8801. ;;
  8802. osf3* | osf4* | osf5*)
  8803. version_type=osf
  8804. need_lib_prefix=no
  8805. need_version=no
  8806. soname_spec='${libname}${release}${shared_ext}$major'
  8807. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  8808. shlibpath_var=LD_LIBRARY_PATH
  8809. sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
  8810. sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
  8811. ;;
  8812. rdos*)
  8813. dynamic_linker=no
  8814. ;;
  8815. solaris*)
  8816. version_type=linux
  8817. need_lib_prefix=no
  8818. need_version=no
  8819. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  8820. soname_spec='${libname}${release}${shared_ext}$major'
  8821. shlibpath_var=LD_LIBRARY_PATH
  8822. shlibpath_overrides_runpath=yes
  8823. hardcode_into_libs=yes
  8824. # ldd complains unless libraries are executable
  8825. postinstall_cmds='chmod +x $lib'
  8826. ;;
  8827. sunos4*)
  8828. version_type=sunos
  8829. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  8830. finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
  8831. shlibpath_var=LD_LIBRARY_PATH
  8832. shlibpath_overrides_runpath=yes
  8833. if test "$with_gnu_ld" = yes; then
  8834. need_lib_prefix=no
  8835. fi
  8836. need_version=yes
  8837. ;;
  8838. sysv4 | sysv4.3*)
  8839. version_type=linux
  8840. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  8841. soname_spec='${libname}${release}${shared_ext}$major'
  8842. shlibpath_var=LD_LIBRARY_PATH
  8843. case $host_vendor in
  8844. sni)
  8845. shlibpath_overrides_runpath=no
  8846. need_lib_prefix=no
  8847. runpath_var=LD_RUN_PATH
  8848. ;;
  8849. siemens)
  8850. need_lib_prefix=no
  8851. ;;
  8852. motorola)
  8853. need_lib_prefix=no
  8854. need_version=no
  8855. shlibpath_overrides_runpath=no
  8856. sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
  8857. ;;
  8858. esac
  8859. ;;
  8860. sysv4*MP*)
  8861. if test -d /usr/nec ;then
  8862. version_type=linux
  8863. library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
  8864. soname_spec='$libname${shared_ext}.$major'
  8865. shlibpath_var=LD_LIBRARY_PATH
  8866. fi
  8867. ;;
  8868. sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  8869. version_type=freebsd-elf
  8870. need_lib_prefix=no
  8871. need_version=no
  8872. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
  8873. soname_spec='${libname}${release}${shared_ext}$major'
  8874. shlibpath_var=LD_LIBRARY_PATH
  8875. shlibpath_overrides_runpath=yes
  8876. hardcode_into_libs=yes
  8877. if test "$with_gnu_ld" = yes; then
  8878. sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
  8879. else
  8880. sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
  8881. case $host_os in
  8882. sco3.2v5*)
  8883. sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
  8884. ;;
  8885. esac
  8886. fi
  8887. sys_lib_dlsearch_path_spec='/usr/lib'
  8888. ;;
  8889. tpf*)
  8890. # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
  8891. version_type=linux
  8892. need_lib_prefix=no
  8893. need_version=no
  8894. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  8895. shlibpath_var=LD_LIBRARY_PATH
  8896. shlibpath_overrides_runpath=no
  8897. hardcode_into_libs=yes
  8898. ;;
  8899. uts4*)
  8900. version_type=linux
  8901. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  8902. soname_spec='${libname}${release}${shared_ext}$major'
  8903. shlibpath_var=LD_LIBRARY_PATH
  8904. ;;
  8905. *)
  8906. dynamic_linker=no
  8907. ;;
  8908. esac
  8909. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
  8910. $as_echo "$dynamic_linker" >&6; }
  8911. test "$dynamic_linker" = no && can_build_shared=no
  8912. variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
  8913. if test "$GCC" = yes; then
  8914. variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
  8915. fi
  8916. if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
  8917. sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
  8918. fi
  8919. if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
  8920. sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
  8921. fi
  8922. { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
  8923. $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
  8924. hardcode_action=
  8925. if test -n "$hardcode_libdir_flag_spec" ||
  8926. test -n "$runpath_var" ||
  8927. test "X$hardcode_automatic" = "Xyes" ; then
  8928. # We can hardcode non-existent directories.
  8929. if test "$hardcode_direct" != no &&
  8930. # If the only mechanism to avoid hardcoding is shlibpath_var, we
  8931. # have to relink, otherwise we might link with an installed library
  8932. # when we should be linking with a yet-to-be-installed one
  8933. ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
  8934. test "$hardcode_minus_L" != no; then
  8935. # Linking always hardcodes the temporary library directory.
  8936. hardcode_action=relink
  8937. else
  8938. # We can link without hardcoding, and we can hardcode nonexisting dirs.
  8939. hardcode_action=immediate
  8940. fi
  8941. else
  8942. # We cannot hardcode anything, or else we can only hardcode existing
  8943. # directories.
  8944. hardcode_action=unsupported
  8945. fi
  8946. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
  8947. $as_echo "$hardcode_action" >&6; }
  8948. if test "$hardcode_action" = relink ||
  8949. test "$inherit_rpath" = yes; then
  8950. # Fast installation is not supported
  8951. enable_fast_install=no
  8952. elif test "$shlibpath_overrides_runpath" = yes ||
  8953. test "$enable_shared" = no; then
  8954. # Fast installation is not necessary
  8955. enable_fast_install=needless
  8956. fi
  8957. if test "x$enable_dlopen" != xyes; then
  8958. enable_dlopen=unknown
  8959. enable_dlopen_self=unknown
  8960. enable_dlopen_self_static=unknown
  8961. else
  8962. lt_cv_dlopen=no
  8963. lt_cv_dlopen_libs=
  8964. case $host_os in
  8965. beos*)
  8966. lt_cv_dlopen="load_add_on"
  8967. lt_cv_dlopen_libs=
  8968. lt_cv_dlopen_self=yes
  8969. ;;
  8970. mingw* | pw32* | cegcc*)
  8971. lt_cv_dlopen="LoadLibrary"
  8972. lt_cv_dlopen_libs=
  8973. ;;
  8974. cygwin*)
  8975. lt_cv_dlopen="dlopen"
  8976. lt_cv_dlopen_libs=
  8977. ;;
  8978. darwin*)
  8979. # if libdl is installed we need to link against it
  8980. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
  8981. $as_echo_n "checking for dlopen in -ldl... " >&6; }
  8982. if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
  8983. $as_echo_n "(cached) " >&6
  8984. else
  8985. ac_check_lib_save_LIBS=$LIBS
  8986. LIBS="-ldl $LIBS"
  8987. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8988. /* end confdefs.h. */
  8989. /* Override any GCC internal prototype to avoid an error.
  8990. Use char because int might match the return type of a GCC
  8991. builtin and then its argument prototype would still apply. */
  8992. #ifdef __cplusplus
  8993. extern "C"
  8994. #endif
  8995. char dlopen ();
  8996. int
  8997. main ()
  8998. {
  8999. return dlopen ();
  9000. ;
  9001. return 0;
  9002. }
  9003. _ACEOF
  9004. if ac_fn_c_try_link "$LINENO"; then :
  9005. ac_cv_lib_dl_dlopen=yes
  9006. else
  9007. ac_cv_lib_dl_dlopen=no
  9008. fi
  9009. rm -f core conftest.err conftest.$ac_objext \
  9010. conftest$ac_exeext conftest.$ac_ext
  9011. LIBS=$ac_check_lib_save_LIBS
  9012. fi
  9013. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
  9014. $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
  9015. if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
  9016. lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
  9017. else
  9018. lt_cv_dlopen="dyld"
  9019. lt_cv_dlopen_libs=
  9020. lt_cv_dlopen_self=yes
  9021. fi
  9022. ;;
  9023. *)
  9024. ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
  9025. if test "x$ac_cv_func_shl_load" = x""yes; then :
  9026. lt_cv_dlopen="shl_load"
  9027. else
  9028. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
  9029. $as_echo_n "checking for shl_load in -ldld... " >&6; }
  9030. if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
  9031. $as_echo_n "(cached) " >&6
  9032. else
  9033. ac_check_lib_save_LIBS=$LIBS
  9034. LIBS="-ldld $LIBS"
  9035. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9036. /* end confdefs.h. */
  9037. /* Override any GCC internal prototype to avoid an error.
  9038. Use char because int might match the return type of a GCC
  9039. builtin and then its argument prototype would still apply. */
  9040. #ifdef __cplusplus
  9041. extern "C"
  9042. #endif
  9043. char shl_load ();
  9044. int
  9045. main ()
  9046. {
  9047. return shl_load ();
  9048. ;
  9049. return 0;
  9050. }
  9051. _ACEOF
  9052. if ac_fn_c_try_link "$LINENO"; then :
  9053. ac_cv_lib_dld_shl_load=yes
  9054. else
  9055. ac_cv_lib_dld_shl_load=no
  9056. fi
  9057. rm -f core conftest.err conftest.$ac_objext \
  9058. conftest$ac_exeext conftest.$ac_ext
  9059. LIBS=$ac_check_lib_save_LIBS
  9060. fi
  9061. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
  9062. $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
  9063. if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
  9064. lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
  9065. else
  9066. ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
  9067. if test "x$ac_cv_func_dlopen" = x""yes; then :
  9068. lt_cv_dlopen="dlopen"
  9069. else
  9070. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
  9071. $as_echo_n "checking for dlopen in -ldl... " >&6; }
  9072. if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
  9073. $as_echo_n "(cached) " >&6
  9074. else
  9075. ac_check_lib_save_LIBS=$LIBS
  9076. LIBS="-ldl $LIBS"
  9077. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9078. /* end confdefs.h. */
  9079. /* Override any GCC internal prototype to avoid an error.
  9080. Use char because int might match the return type of a GCC
  9081. builtin and then its argument prototype would still apply. */
  9082. #ifdef __cplusplus
  9083. extern "C"
  9084. #endif
  9085. char dlopen ();
  9086. int
  9087. main ()
  9088. {
  9089. return dlopen ();
  9090. ;
  9091. return 0;
  9092. }
  9093. _ACEOF
  9094. if ac_fn_c_try_link "$LINENO"; then :
  9095. ac_cv_lib_dl_dlopen=yes
  9096. else
  9097. ac_cv_lib_dl_dlopen=no
  9098. fi
  9099. rm -f core conftest.err conftest.$ac_objext \
  9100. conftest$ac_exeext conftest.$ac_ext
  9101. LIBS=$ac_check_lib_save_LIBS
  9102. fi
  9103. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
  9104. $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
  9105. if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
  9106. lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
  9107. else
  9108. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
  9109. $as_echo_n "checking for dlopen in -lsvld... " >&6; }
  9110. if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
  9111. $as_echo_n "(cached) " >&6
  9112. else
  9113. ac_check_lib_save_LIBS=$LIBS
  9114. LIBS="-lsvld $LIBS"
  9115. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9116. /* end confdefs.h. */
  9117. /* Override any GCC internal prototype to avoid an error.
  9118. Use char because int might match the return type of a GCC
  9119. builtin and then its argument prototype would still apply. */
  9120. #ifdef __cplusplus
  9121. extern "C"
  9122. #endif
  9123. char dlopen ();
  9124. int
  9125. main ()
  9126. {
  9127. return dlopen ();
  9128. ;
  9129. return 0;
  9130. }
  9131. _ACEOF
  9132. if ac_fn_c_try_link "$LINENO"; then :
  9133. ac_cv_lib_svld_dlopen=yes
  9134. else
  9135. ac_cv_lib_svld_dlopen=no
  9136. fi
  9137. rm -f core conftest.err conftest.$ac_objext \
  9138. conftest$ac_exeext conftest.$ac_ext
  9139. LIBS=$ac_check_lib_save_LIBS
  9140. fi
  9141. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
  9142. $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
  9143. if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
  9144. lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
  9145. else
  9146. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
  9147. $as_echo_n "checking for dld_link in -ldld... " >&6; }
  9148. if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
  9149. $as_echo_n "(cached) " >&6
  9150. else
  9151. ac_check_lib_save_LIBS=$LIBS
  9152. LIBS="-ldld $LIBS"
  9153. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9154. /* end confdefs.h. */
  9155. /* Override any GCC internal prototype to avoid an error.
  9156. Use char because int might match the return type of a GCC
  9157. builtin and then its argument prototype would still apply. */
  9158. #ifdef __cplusplus
  9159. extern "C"
  9160. #endif
  9161. char dld_link ();
  9162. int
  9163. main ()
  9164. {
  9165. return dld_link ();
  9166. ;
  9167. return 0;
  9168. }
  9169. _ACEOF
  9170. if ac_fn_c_try_link "$LINENO"; then :
  9171. ac_cv_lib_dld_dld_link=yes
  9172. else
  9173. ac_cv_lib_dld_dld_link=no
  9174. fi
  9175. rm -f core conftest.err conftest.$ac_objext \
  9176. conftest$ac_exeext conftest.$ac_ext
  9177. LIBS=$ac_check_lib_save_LIBS
  9178. fi
  9179. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
  9180. $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
  9181. if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
  9182. lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
  9183. fi
  9184. fi
  9185. fi
  9186. fi
  9187. fi
  9188. fi
  9189. ;;
  9190. esac
  9191. if test "x$lt_cv_dlopen" != xno; then
  9192. enable_dlopen=yes
  9193. else
  9194. enable_dlopen=no
  9195. fi
  9196. case $lt_cv_dlopen in
  9197. dlopen)
  9198. save_CPPFLAGS="$CPPFLAGS"
  9199. test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
  9200. save_LDFLAGS="$LDFLAGS"
  9201. wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
  9202. save_LIBS="$LIBS"
  9203. LIBS="$lt_cv_dlopen_libs $LIBS"
  9204. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
  9205. $as_echo_n "checking whether a program can dlopen itself... " >&6; }
  9206. if test "${lt_cv_dlopen_self+set}" = set; then :
  9207. $as_echo_n "(cached) " >&6
  9208. else
  9209. if test "$cross_compiling" = yes; then :
  9210. lt_cv_dlopen_self=cross
  9211. else
  9212. lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
  9213. lt_status=$lt_dlunknown
  9214. cat > conftest.$ac_ext <<_LT_EOF
  9215. #line 10698 "configure"
  9216. #include "confdefs.h"
  9217. #if HAVE_DLFCN_H
  9218. #include <dlfcn.h>
  9219. #endif
  9220. #include <stdio.h>
  9221. #ifdef RTLD_GLOBAL
  9222. # define LT_DLGLOBAL RTLD_GLOBAL
  9223. #else
  9224. # ifdef DL_GLOBAL
  9225. # define LT_DLGLOBAL DL_GLOBAL
  9226. # else
  9227. # define LT_DLGLOBAL 0
  9228. # endif
  9229. #endif
  9230. /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
  9231. find out it does not work in some platform. */
  9232. #ifndef LT_DLLAZY_OR_NOW
  9233. # ifdef RTLD_LAZY
  9234. # define LT_DLLAZY_OR_NOW RTLD_LAZY
  9235. # else
  9236. # ifdef DL_LAZY
  9237. # define LT_DLLAZY_OR_NOW DL_LAZY
  9238. # else
  9239. # ifdef RTLD_NOW
  9240. # define LT_DLLAZY_OR_NOW RTLD_NOW
  9241. # else
  9242. # ifdef DL_NOW
  9243. # define LT_DLLAZY_OR_NOW DL_NOW
  9244. # else
  9245. # define LT_DLLAZY_OR_NOW 0
  9246. # endif
  9247. # endif
  9248. # endif
  9249. # endif
  9250. #endif
  9251. void fnord() { int i=42;}
  9252. int main ()
  9253. {
  9254. void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
  9255. int status = $lt_dlunknown;
  9256. if (self)
  9257. {
  9258. if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
  9259. else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
  9260. /* dlclose (self); */
  9261. }
  9262. else
  9263. puts (dlerror ());
  9264. return status;
  9265. }
  9266. _LT_EOF
  9267. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  9268. (eval $ac_link) 2>&5
  9269. ac_status=$?
  9270. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  9271. test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
  9272. (./conftest; exit; ) >&5 2>/dev/null
  9273. lt_status=$?
  9274. case x$lt_status in
  9275. x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
  9276. x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
  9277. x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
  9278. esac
  9279. else :
  9280. # compilation failed
  9281. lt_cv_dlopen_self=no
  9282. fi
  9283. fi
  9284. rm -fr conftest*
  9285. fi
  9286. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
  9287. $as_echo "$lt_cv_dlopen_self" >&6; }
  9288. if test "x$lt_cv_dlopen_self" = xyes; then
  9289. wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
  9290. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
  9291. $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
  9292. if test "${lt_cv_dlopen_self_static+set}" = set; then :
  9293. $as_echo_n "(cached) " >&6
  9294. else
  9295. if test "$cross_compiling" = yes; then :
  9296. lt_cv_dlopen_self_static=cross
  9297. else
  9298. lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
  9299. lt_status=$lt_dlunknown
  9300. cat > conftest.$ac_ext <<_LT_EOF
  9301. #line 10794 "configure"
  9302. #include "confdefs.h"
  9303. #if HAVE_DLFCN_H
  9304. #include <dlfcn.h>
  9305. #endif
  9306. #include <stdio.h>
  9307. #ifdef RTLD_GLOBAL
  9308. # define LT_DLGLOBAL RTLD_GLOBAL
  9309. #else
  9310. # ifdef DL_GLOBAL
  9311. # define LT_DLGLOBAL DL_GLOBAL
  9312. # else
  9313. # define LT_DLGLOBAL 0
  9314. # endif
  9315. #endif
  9316. /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
  9317. find out it does not work in some platform. */
  9318. #ifndef LT_DLLAZY_OR_NOW
  9319. # ifdef RTLD_LAZY
  9320. # define LT_DLLAZY_OR_NOW RTLD_LAZY
  9321. # else
  9322. # ifdef DL_LAZY
  9323. # define LT_DLLAZY_OR_NOW DL_LAZY
  9324. # else
  9325. # ifdef RTLD_NOW
  9326. # define LT_DLLAZY_OR_NOW RTLD_NOW
  9327. # else
  9328. # ifdef DL_NOW
  9329. # define LT_DLLAZY_OR_NOW DL_NOW
  9330. # else
  9331. # define LT_DLLAZY_OR_NOW 0
  9332. # endif
  9333. # endif
  9334. # endif
  9335. # endif
  9336. #endif
  9337. void fnord() { int i=42;}
  9338. int main ()
  9339. {
  9340. void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
  9341. int status = $lt_dlunknown;
  9342. if (self)
  9343. {
  9344. if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
  9345. else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
  9346. /* dlclose (self); */
  9347. }
  9348. else
  9349. puts (dlerror ());
  9350. return status;
  9351. }
  9352. _LT_EOF
  9353. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  9354. (eval $ac_link) 2>&5
  9355. ac_status=$?
  9356. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  9357. test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
  9358. (./conftest; exit; ) >&5 2>/dev/null
  9359. lt_status=$?
  9360. case x$lt_status in
  9361. x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
  9362. x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
  9363. x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
  9364. esac
  9365. else :
  9366. # compilation failed
  9367. lt_cv_dlopen_self_static=no
  9368. fi
  9369. fi
  9370. rm -fr conftest*
  9371. fi
  9372. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
  9373. $as_echo "$lt_cv_dlopen_self_static" >&6; }
  9374. fi
  9375. CPPFLAGS="$save_CPPFLAGS"
  9376. LDFLAGS="$save_LDFLAGS"
  9377. LIBS="$save_LIBS"
  9378. ;;
  9379. esac
  9380. case $lt_cv_dlopen_self in
  9381. yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
  9382. *) enable_dlopen_self=unknown ;;
  9383. esac
  9384. case $lt_cv_dlopen_self_static in
  9385. yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
  9386. *) enable_dlopen_self_static=unknown ;;
  9387. esac
  9388. fi
  9389. striplib=
  9390. old_striplib=
  9391. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
  9392. $as_echo_n "checking whether stripping libraries is possible... " >&6; }
  9393. if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
  9394. test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
  9395. test -z "$striplib" && striplib="$STRIP --strip-unneeded"
  9396. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  9397. $as_echo "yes" >&6; }
  9398. else
  9399. # FIXME - insert some real tests, host_os isn't really good enough
  9400. case $host_os in
  9401. darwin*)
  9402. if test -n "$STRIP" ; then
  9403. striplib="$STRIP -x"
  9404. old_striplib="$STRIP -S"
  9405. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  9406. $as_echo "yes" >&6; }
  9407. else
  9408. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  9409. $as_echo "no" >&6; }
  9410. fi
  9411. ;;
  9412. *)
  9413. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  9414. $as_echo "no" >&6; }
  9415. ;;
  9416. esac
  9417. fi
  9418. # Report which library types will actually be built
  9419. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
  9420. $as_echo_n "checking if libtool supports shared libraries... " >&6; }
  9421. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
  9422. $as_echo "$can_build_shared" >&6; }
  9423. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
  9424. $as_echo_n "checking whether to build shared libraries... " >&6; }
  9425. test "$can_build_shared" = "no" && enable_shared=no
  9426. # On AIX, shared libraries and static libraries use the same namespace, and
  9427. # are all built from PIC.
  9428. case $host_os in
  9429. aix3*)
  9430. test "$enable_shared" = yes && enable_static=no
  9431. if test -n "$RANLIB"; then
  9432. archive_cmds="$archive_cmds~\$RANLIB \$lib"
  9433. postinstall_cmds='$RANLIB $lib'
  9434. fi
  9435. ;;
  9436. aix[4-9]*)
  9437. if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
  9438. test "$enable_shared" = yes && enable_static=no
  9439. fi
  9440. ;;
  9441. esac
  9442. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
  9443. $as_echo "$enable_shared" >&6; }
  9444. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
  9445. $as_echo_n "checking whether to build static libraries... " >&6; }
  9446. # Make sure either enable_shared or enable_static is yes.
  9447. test "$enable_shared" = yes || enable_static=yes
  9448. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
  9449. $as_echo "$enable_static" >&6; }
  9450. fi
  9451. ac_ext=c
  9452. ac_cpp='$CPP $CPPFLAGS'
  9453. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  9454. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  9455. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  9456. CC="$lt_save_CC"
  9457. ac_ext=cpp
  9458. ac_cpp='$CXXCPP $CPPFLAGS'
  9459. ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  9460. ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  9461. ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  9462. archive_cmds_need_lc_CXX=no
  9463. allow_undefined_flag_CXX=
  9464. always_export_symbols_CXX=no
  9465. archive_expsym_cmds_CXX=
  9466. compiler_needs_object_CXX=no
  9467. export_dynamic_flag_spec_CXX=
  9468. hardcode_direct_CXX=no
  9469. hardcode_direct_absolute_CXX=no
  9470. hardcode_libdir_flag_spec_CXX=
  9471. hardcode_libdir_flag_spec_ld_CXX=
  9472. hardcode_libdir_separator_CXX=
  9473. hardcode_minus_L_CXX=no
  9474. hardcode_shlibpath_var_CXX=unsupported
  9475. hardcode_automatic_CXX=no
  9476. inherit_rpath_CXX=no
  9477. module_cmds_CXX=
  9478. module_expsym_cmds_CXX=
  9479. link_all_deplibs_CXX=unknown
  9480. old_archive_cmds_CXX=$old_archive_cmds
  9481. no_undefined_flag_CXX=
  9482. whole_archive_flag_spec_CXX=
  9483. enable_shared_with_static_runtimes_CXX=no
  9484. # Source file extension for C++ test sources.
  9485. ac_ext=cpp
  9486. # Object file extension for compiled C++ test sources.
  9487. objext=o
  9488. objext_CXX=$objext
  9489. # No sense in running all these tests if we already determined that
  9490. # the CXX compiler isn't working. Some variables (like enable_shared)
  9491. # are currently assumed to apply to all compilers on this platform,
  9492. # and will be corrupted by setting them based on a non-working compiler.
  9493. if test "$_lt_caught_CXX_error" != yes; then
  9494. # Code to be used in simple compile tests
  9495. lt_simple_compile_test_code="int some_variable = 0;"
  9496. # Code to be used in simple link tests
  9497. lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
  9498. # ltmain only uses $CC for tagged configurations so make sure $CC is set.
  9499. # If no C compiler was specified, use CC.
  9500. LTCC=${LTCC-"$CC"}
  9501. # If no C compiler flags were specified, use CFLAGS.
  9502. LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
  9503. # Allow CC to be a program name with arguments.
  9504. compiler=$CC
  9505. # save warnings/boilerplate of simple test code
  9506. ac_outfile=conftest.$ac_objext
  9507. echo "$lt_simple_compile_test_code" >conftest.$ac_ext
  9508. eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  9509. _lt_compiler_boilerplate=`cat conftest.err`
  9510. $RM conftest*
  9511. ac_outfile=conftest.$ac_objext
  9512. echo "$lt_simple_link_test_code" >conftest.$ac_ext
  9513. eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  9514. _lt_linker_boilerplate=`cat conftest.err`
  9515. $RM -r conftest*
  9516. # Allow CC to be a program name with arguments.
  9517. lt_save_CC=$CC
  9518. lt_save_LD=$LD
  9519. lt_save_GCC=$GCC
  9520. GCC=$GXX
  9521. lt_save_with_gnu_ld=$with_gnu_ld
  9522. lt_save_path_LD=$lt_cv_path_LD
  9523. if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
  9524. lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
  9525. else
  9526. $as_unset lt_cv_prog_gnu_ld
  9527. fi
  9528. if test -n "${lt_cv_path_LDCXX+set}"; then
  9529. lt_cv_path_LD=$lt_cv_path_LDCXX
  9530. else
  9531. $as_unset lt_cv_path_LD
  9532. fi
  9533. test -z "${LDCXX+set}" || LD=$LDCXX
  9534. CC=${CXX-"c++"}
  9535. compiler=$CC
  9536. compiler_CXX=$CC
  9537. for cc_temp in $compiler""; do
  9538. case $cc_temp in
  9539. compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
  9540. distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
  9541. \-*) ;;
  9542. *) break;;
  9543. esac
  9544. done
  9545. cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
  9546. if test -n "$compiler"; then
  9547. # We don't want -fno-exception when compiling C++ code, so set the
  9548. # no_builtin_flag separately
  9549. if test "$GXX" = yes; then
  9550. lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
  9551. else
  9552. lt_prog_compiler_no_builtin_flag_CXX=
  9553. fi
  9554. if test "$GXX" = yes; then
  9555. # Set up default GNU C++ configuration
  9556. # Check whether --with-gnu-ld was given.
  9557. if test "${with_gnu_ld+set}" = set; then :
  9558. withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
  9559. else
  9560. with_gnu_ld=no
  9561. fi
  9562. ac_prog=ld
  9563. if test "$GCC" = yes; then
  9564. # Check if gcc -print-prog-name=ld gives a path.
  9565. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
  9566. $as_echo_n "checking for ld used by $CC... " >&6; }
  9567. case $host in
  9568. *-*-mingw*)
  9569. # gcc leaves a trailing carriage return which upsets mingw
  9570. ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
  9571. *)
  9572. ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
  9573. esac
  9574. case $ac_prog in
  9575. # Accept absolute paths.
  9576. [\\/]* | ?:[\\/]*)
  9577. re_direlt='/[^/][^/]*/\.\./'
  9578. # Canonicalize the pathname of ld
  9579. ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
  9580. while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
  9581. ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
  9582. done
  9583. test -z "$LD" && LD="$ac_prog"
  9584. ;;
  9585. "")
  9586. # If it fails, then pretend we aren't using GCC.
  9587. ac_prog=ld
  9588. ;;
  9589. *)
  9590. # If it is relative, then search for the first ld in PATH.
  9591. with_gnu_ld=unknown
  9592. ;;
  9593. esac
  9594. elif test "$with_gnu_ld" = yes; then
  9595. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
  9596. $as_echo_n "checking for GNU ld... " >&6; }
  9597. else
  9598. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
  9599. $as_echo_n "checking for non-GNU ld... " >&6; }
  9600. fi
  9601. if test "${lt_cv_path_LD+set}" = set; then :
  9602. $as_echo_n "(cached) " >&6
  9603. else
  9604. if test -z "$LD"; then
  9605. lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  9606. for ac_dir in $PATH; do
  9607. IFS="$lt_save_ifs"
  9608. test -z "$ac_dir" && ac_dir=.
  9609. if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
  9610. lt_cv_path_LD="$ac_dir/$ac_prog"
  9611. # Check to see if the program is GNU ld. I'd rather use --version,
  9612. # but apparently some variants of GNU ld only accept -v.
  9613. # Break only if it was the GNU/non-GNU ld that we prefer.
  9614. case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
  9615. *GNU* | *'with BFD'*)
  9616. test "$with_gnu_ld" != no && break
  9617. ;;
  9618. *)
  9619. test "$with_gnu_ld" != yes && break
  9620. ;;
  9621. esac
  9622. fi
  9623. done
  9624. IFS="$lt_save_ifs"
  9625. else
  9626. lt_cv_path_LD="$LD" # Let the user override the test with a path.
  9627. fi
  9628. fi
  9629. LD="$lt_cv_path_LD"
  9630. if test -n "$LD"; then
  9631. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
  9632. $as_echo "$LD" >&6; }
  9633. else
  9634. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  9635. $as_echo "no" >&6; }
  9636. fi
  9637. test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
  9638. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
  9639. $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
  9640. if test "${lt_cv_prog_gnu_ld+set}" = set; then :
  9641. $as_echo_n "(cached) " >&6
  9642. else
  9643. # I'd rather use --version here, but apparently some GNU lds only accept -v.
  9644. case `$LD -v 2>&1 </dev/null` in
  9645. *GNU* | *'with BFD'*)
  9646. lt_cv_prog_gnu_ld=yes
  9647. ;;
  9648. *)
  9649. lt_cv_prog_gnu_ld=no
  9650. ;;
  9651. esac
  9652. fi
  9653. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
  9654. $as_echo "$lt_cv_prog_gnu_ld" >&6; }
  9655. with_gnu_ld=$lt_cv_prog_gnu_ld
  9656. # Check if GNU C++ uses GNU ld as the underlying linker, since the
  9657. # archiving commands below assume that GNU ld is being used.
  9658. if test "$with_gnu_ld" = yes; then
  9659. archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
  9660. archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  9661. hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
  9662. export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
  9663. # If archive_cmds runs LD, not CC, wlarc should be empty
  9664. # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
  9665. # investigate it a little bit more. (MM)
  9666. wlarc='${wl}'
  9667. # ancient GNU ld didn't support --whole-archive et. al.
  9668. if eval "`$CC -print-prog-name=ld` --help 2>&1" |
  9669. $GREP 'no-whole-archive' > /dev/null; then
  9670. whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
  9671. else
  9672. whole_archive_flag_spec_CXX=
  9673. fi
  9674. else
  9675. with_gnu_ld=no
  9676. wlarc=
  9677. # A generic and very simple default shared library creation
  9678. # command for GNU C++ for the case where it uses the native
  9679. # linker, instead of GNU ld. If possible, this setting should
  9680. # overridden to take advantage of the native linker features on
  9681. # the platform it is being used on.
  9682. archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
  9683. fi
  9684. # Commands to make compiler produce verbose output that lists
  9685. # what "hidden" libraries, object files and flags are used when
  9686. # linking a shared library.
  9687. output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
  9688. else
  9689. GXX=no
  9690. with_gnu_ld=no
  9691. wlarc=
  9692. fi
  9693. # PORTME: fill in a description of your system's C++ link characteristics
  9694. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
  9695. $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
  9696. ld_shlibs_CXX=yes
  9697. case $host_os in
  9698. aix3*)
  9699. # FIXME: insert proper C++ library support
  9700. ld_shlibs_CXX=no
  9701. ;;
  9702. aix[4-9]*)
  9703. if test "$host_cpu" = ia64; then
  9704. # On IA64, the linker does run time linking by default, so we don't
  9705. # have to do anything special.
  9706. aix_use_runtimelinking=no
  9707. exp_sym_flag='-Bexport'
  9708. no_entry_flag=""
  9709. else
  9710. aix_use_runtimelinking=no
  9711. # Test if we are trying to use run time linking or normal
  9712. # AIX style linking. If -brtl is somewhere in LDFLAGS, we
  9713. # need to do runtime linking.
  9714. case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
  9715. for ld_flag in $LDFLAGS; do
  9716. case $ld_flag in
  9717. *-brtl*)
  9718. aix_use_runtimelinking=yes
  9719. break
  9720. ;;
  9721. esac
  9722. done
  9723. ;;
  9724. esac
  9725. exp_sym_flag='-bexport'
  9726. no_entry_flag='-bnoentry'
  9727. fi
  9728. # When large executables or shared objects are built, AIX ld can
  9729. # have problems creating the table of contents. If linking a library
  9730. # or program results in "error TOC overflow" add -mminimal-toc to
  9731. # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
  9732. # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
  9733. archive_cmds_CXX=''
  9734. hardcode_direct_CXX=yes
  9735. hardcode_direct_absolute_CXX=yes
  9736. hardcode_libdir_separator_CXX=':'
  9737. link_all_deplibs_CXX=yes
  9738. file_list_spec_CXX='${wl}-f,'
  9739. if test "$GXX" = yes; then
  9740. case $host_os in aix4.[012]|aix4.[012].*)
  9741. # We only want to do this on AIX 4.2 and lower, the check
  9742. # below for broken collect2 doesn't work under 4.3+
  9743. collect2name=`${CC} -print-prog-name=collect2`
  9744. if test -f "$collect2name" &&
  9745. strings "$collect2name" | $GREP resolve_lib_name >/dev/null
  9746. then
  9747. # We have reworked collect2
  9748. :
  9749. else
  9750. # We have old collect2
  9751. hardcode_direct_CXX=unsupported
  9752. # It fails to find uninstalled libraries when the uninstalled
  9753. # path is not listed in the libpath. Setting hardcode_minus_L
  9754. # to unsupported forces relinking
  9755. hardcode_minus_L_CXX=yes
  9756. hardcode_libdir_flag_spec_CXX='-L$libdir'
  9757. hardcode_libdir_separator_CXX=
  9758. fi
  9759. esac
  9760. shared_flag='-shared'
  9761. if test "$aix_use_runtimelinking" = yes; then
  9762. shared_flag="$shared_flag "'${wl}-G'
  9763. fi
  9764. else
  9765. # not using gcc
  9766. if test "$host_cpu" = ia64; then
  9767. # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
  9768. # chokes on -Wl,-G. The following line is correct:
  9769. shared_flag='-G'
  9770. else
  9771. if test "$aix_use_runtimelinking" = yes; then
  9772. shared_flag='${wl}-G'
  9773. else
  9774. shared_flag='${wl}-bM:SRE'
  9775. fi
  9776. fi
  9777. fi
  9778. export_dynamic_flag_spec_CXX='${wl}-bexpall'
  9779. # It seems that -bexpall does not export symbols beginning with
  9780. # underscore (_), so it is better to generate a list of symbols to
  9781. # export.
  9782. always_export_symbols_CXX=yes
  9783. if test "$aix_use_runtimelinking" = yes; then
  9784. # Warning - without using the other runtime loading flags (-brtl),
  9785. # -berok will link without error, but may produce a broken library.
  9786. allow_undefined_flag_CXX='-berok'
  9787. # Determine the default libpath from the value encoded in an empty
  9788. # executable.
  9789. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9790. /* end confdefs.h. */
  9791. int
  9792. main ()
  9793. {
  9794. ;
  9795. return 0;
  9796. }
  9797. _ACEOF
  9798. if ac_fn_cxx_try_link "$LINENO"; then :
  9799. lt_aix_libpath_sed='
  9800. /Import File Strings/,/^$/ {
  9801. /^0/ {
  9802. s/^0 *\(.*\)$/\1/
  9803. p
  9804. }
  9805. }'
  9806. aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  9807. # Check for a 64-bit object if we didn't find anything.
  9808. if test -z "$aix_libpath"; then
  9809. aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  9810. fi
  9811. fi
  9812. rm -f core conftest.err conftest.$ac_objext \
  9813. conftest$ac_exeext conftest.$ac_ext
  9814. if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  9815. hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
  9816. 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 $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
  9817. else
  9818. if test "$host_cpu" = ia64; then
  9819. hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
  9820. allow_undefined_flag_CXX="-z nodefs"
  9821. 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"
  9822. else
  9823. # Determine the default libpath from the value encoded in an
  9824. # empty executable.
  9825. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9826. /* end confdefs.h. */
  9827. int
  9828. main ()
  9829. {
  9830. ;
  9831. return 0;
  9832. }
  9833. _ACEOF
  9834. if ac_fn_cxx_try_link "$LINENO"; then :
  9835. lt_aix_libpath_sed='
  9836. /Import File Strings/,/^$/ {
  9837. /^0/ {
  9838. s/^0 *\(.*\)$/\1/
  9839. p
  9840. }
  9841. }'
  9842. aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  9843. # Check for a 64-bit object if we didn't find anything.
  9844. if test -z "$aix_libpath"; then
  9845. aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  9846. fi
  9847. fi
  9848. rm -f core conftest.err conftest.$ac_objext \
  9849. conftest$ac_exeext conftest.$ac_ext
  9850. if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  9851. hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
  9852. # Warning - without using the other run time loading flags,
  9853. # -berok will link without error, but may produce a broken library.
  9854. no_undefined_flag_CXX=' ${wl}-bernotok'
  9855. allow_undefined_flag_CXX=' ${wl}-berok'
  9856. # Exported symbols can be pulled into shared objects from archives
  9857. whole_archive_flag_spec_CXX='$convenience'
  9858. archive_cmds_need_lc_CXX=yes
  9859. # This is similar to how AIX traditionally builds its shared
  9860. # libraries.
  9861. 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'
  9862. fi
  9863. fi
  9864. ;;
  9865. beos*)
  9866. if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  9867. allow_undefined_flag_CXX=unsupported
  9868. # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
  9869. # support --undefined. This deserves some investigation. FIXME
  9870. archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  9871. else
  9872. ld_shlibs_CXX=no
  9873. fi
  9874. ;;
  9875. chorus*)
  9876. case $cc_basename in
  9877. *)
  9878. # FIXME: insert proper C++ library support
  9879. ld_shlibs_CXX=no
  9880. ;;
  9881. esac
  9882. ;;
  9883. cygwin* | mingw* | pw32* | cegcc*)
  9884. # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
  9885. # as there is no search path for DLLs.
  9886. hardcode_libdir_flag_spec_CXX='-L$libdir'
  9887. allow_undefined_flag_CXX=unsupported
  9888. always_export_symbols_CXX=no
  9889. enable_shared_with_static_runtimes_CXX=yes
  9890. if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
  9891. 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'
  9892. # If the export-symbols file already is a .def file (1st line
  9893. # is EXPORTS), use it as is; otherwise, prepend...
  9894. archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
  9895. cp $export_symbols $output_objdir/$soname.def;
  9896. else
  9897. echo EXPORTS > $output_objdir/$soname.def;
  9898. cat $export_symbols >> $output_objdir/$soname.def;
  9899. fi~
  9900. $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'
  9901. else
  9902. ld_shlibs_CXX=no
  9903. fi
  9904. ;;
  9905. darwin* | rhapsody*)
  9906. archive_cmds_need_lc_CXX=no
  9907. hardcode_direct_CXX=no
  9908. hardcode_automatic_CXX=yes
  9909. hardcode_shlibpath_var_CXX=unsupported
  9910. whole_archive_flag_spec_CXX=''
  9911. link_all_deplibs_CXX=yes
  9912. allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
  9913. case $cc_basename in
  9914. ifort*) _lt_dar_can_shared=yes ;;
  9915. *) _lt_dar_can_shared=$GCC ;;
  9916. esac
  9917. if test "$_lt_dar_can_shared" = "yes"; then
  9918. output_verbose_link_cmd=echo
  9919. 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}"
  9920. module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
  9921. 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}"
  9922. 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}"
  9923. if test "$lt_cv_apple_cc_single_mod" != "yes"; then
  9924. 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}"
  9925. 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}"
  9926. fi
  9927. else
  9928. ld_shlibs_CXX=no
  9929. fi
  9930. ;;
  9931. dgux*)
  9932. case $cc_basename in
  9933. ec++*)
  9934. # FIXME: insert proper C++ library support
  9935. ld_shlibs_CXX=no
  9936. ;;
  9937. ghcx*)
  9938. # Green Hills C++ Compiler
  9939. # FIXME: insert proper C++ library support
  9940. ld_shlibs_CXX=no
  9941. ;;
  9942. *)
  9943. # FIXME: insert proper C++ library support
  9944. ld_shlibs_CXX=no
  9945. ;;
  9946. esac
  9947. ;;
  9948. freebsd[12]*)
  9949. # C++ shared libraries reported to be fairly broken before
  9950. # switch to ELF
  9951. ld_shlibs_CXX=no
  9952. ;;
  9953. freebsd-elf*)
  9954. archive_cmds_need_lc_CXX=no
  9955. ;;
  9956. freebsd* | dragonfly*)
  9957. # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
  9958. # conventions
  9959. ld_shlibs_CXX=yes
  9960. ;;
  9961. gnu*)
  9962. ;;
  9963. hpux9*)
  9964. hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
  9965. hardcode_libdir_separator_CXX=:
  9966. export_dynamic_flag_spec_CXX='${wl}-E'
  9967. hardcode_direct_CXX=yes
  9968. hardcode_minus_L_CXX=yes # Not in the search PATH,
  9969. # but as the default
  9970. # location of the library.
  9971. case $cc_basename in
  9972. CC*)
  9973. # FIXME: insert proper C++ library support
  9974. ld_shlibs_CXX=no
  9975. ;;
  9976. aCC*)
  9977. 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'
  9978. # Commands to make compiler produce verbose output that lists
  9979. # what "hidden" libraries, object files and flags are used when
  9980. # linking a shared library.
  9981. #
  9982. # There doesn't appear to be a way to prevent this compiler from
  9983. # explicitly linking system object files so we need to strip them
  9984. # from the output so that they don't get included in the library
  9985. # dependencies.
  9986. output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
  9987. ;;
  9988. *)
  9989. if test "$GXX" = yes; then
  9990. 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'
  9991. else
  9992. # FIXME: insert proper C++ library support
  9993. ld_shlibs_CXX=no
  9994. fi
  9995. ;;
  9996. esac
  9997. ;;
  9998. hpux10*|hpux11*)
  9999. if test $with_gnu_ld = no; then
  10000. hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
  10001. hardcode_libdir_separator_CXX=:
  10002. case $host_cpu in
  10003. hppa*64*|ia64*)
  10004. ;;
  10005. *)
  10006. export_dynamic_flag_spec_CXX='${wl}-E'
  10007. ;;
  10008. esac
  10009. fi
  10010. case $host_cpu in
  10011. hppa*64*|ia64*)
  10012. hardcode_direct_CXX=no
  10013. hardcode_shlibpath_var_CXX=no
  10014. ;;
  10015. *)
  10016. hardcode_direct_CXX=yes
  10017. hardcode_direct_absolute_CXX=yes
  10018. hardcode_minus_L_CXX=yes # Not in the search PATH,
  10019. # but as the default
  10020. # location of the library.
  10021. ;;
  10022. esac
  10023. case $cc_basename in
  10024. CC*)
  10025. # FIXME: insert proper C++ library support
  10026. ld_shlibs_CXX=no
  10027. ;;
  10028. aCC*)
  10029. case $host_cpu in
  10030. hppa*64*)
  10031. archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  10032. ;;
  10033. ia64*)
  10034. archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  10035. ;;
  10036. *)
  10037. archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  10038. ;;
  10039. esac
  10040. # Commands to make compiler produce verbose output that lists
  10041. # what "hidden" libraries, object files and flags are used when
  10042. # linking a shared library.
  10043. #
  10044. # There doesn't appear to be a way to prevent this compiler from
  10045. # explicitly linking system object files so we need to strip them
  10046. # from the output so that they don't get included in the library
  10047. # dependencies.
  10048. output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
  10049. ;;
  10050. *)
  10051. if test "$GXX" = yes; then
  10052. if test $with_gnu_ld = no; then
  10053. case $host_cpu in
  10054. hppa*64*)
  10055. archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  10056. ;;
  10057. ia64*)
  10058. archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  10059. ;;
  10060. *)
  10061. 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'
  10062. ;;
  10063. esac
  10064. fi
  10065. else
  10066. # FIXME: insert proper C++ library support
  10067. ld_shlibs_CXX=no
  10068. fi
  10069. ;;
  10070. esac
  10071. ;;
  10072. interix[3-9]*)
  10073. hardcode_direct_CXX=no
  10074. hardcode_shlibpath_var_CXX=no
  10075. hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
  10076. export_dynamic_flag_spec_CXX='${wl}-E'
  10077. # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
  10078. # Instead, shared libraries are loaded at an image base (0x10000000 by
  10079. # default) and relocated if they conflict, which is a slow very memory
  10080. # consuming and fragmenting process. To avoid this, we pick a random,
  10081. # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
  10082. # time. Moving up from 0x10000000 also allows more sbrk(2) space.
  10083. 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'
  10084. 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'
  10085. ;;
  10086. irix5* | irix6*)
  10087. case $cc_basename in
  10088. CC*)
  10089. # SGI C++
  10090. archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
  10091. # Archives containing C++ object files must be created using
  10092. # "CC -ar", where "CC" is the IRIX C++ compiler. This is
  10093. # necessary to make sure instantiated templates are included
  10094. # in the archive.
  10095. old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
  10096. ;;
  10097. *)
  10098. if test "$GXX" = yes; then
  10099. if test "$with_gnu_ld" = no; then
  10100. archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  10101. else
  10102. archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` -o $lib'
  10103. fi
  10104. fi
  10105. link_all_deplibs_CXX=yes
  10106. ;;
  10107. esac
  10108. hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
  10109. hardcode_libdir_separator_CXX=:
  10110. inherit_rpath_CXX=yes
  10111. ;;
  10112. linux* | k*bsd*-gnu)
  10113. case $cc_basename in
  10114. KCC*)
  10115. # Kuck and Associates, Inc. (KAI) C++ Compiler
  10116. # KCC will only create a shared library if the output file
  10117. # ends with ".so" (or ".sl" for HP-UX), so rename the library
  10118. # to its proper name (with version) after linking.
  10119. 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'
  10120. 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'
  10121. # Commands to make compiler produce verbose output that lists
  10122. # what "hidden" libraries, object files and flags are used when
  10123. # linking a shared library.
  10124. #
  10125. # There doesn't appear to be a way to prevent this compiler from
  10126. # explicitly linking system object files so we need to strip them
  10127. # from the output so that they don't get included in the library
  10128. # dependencies.
  10129. output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
  10130. hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
  10131. export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
  10132. # Archives containing C++ object files must be created using
  10133. # "CC -Bstatic", where "CC" is the KAI C++ compiler.
  10134. old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
  10135. ;;
  10136. icpc* | ecpc* )
  10137. # Intel C++
  10138. with_gnu_ld=yes
  10139. # version 8.0 and above of icpc choke on multiply defined symbols
  10140. # if we add $predep_objects and $postdep_objects, however 7.1 and
  10141. # earlier do not add the objects themselves.
  10142. case `$CC -V 2>&1` in
  10143. *"Version 7."*)
  10144. archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
  10145. 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'
  10146. ;;
  10147. *) # Version 8.0 or newer
  10148. tmp_idyn=
  10149. case $host_cpu in
  10150. ia64*) tmp_idyn=' -i_dynamic';;
  10151. esac
  10152. archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  10153. 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'
  10154. ;;
  10155. esac
  10156. archive_cmds_need_lc_CXX=no
  10157. hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
  10158. export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
  10159. whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
  10160. ;;
  10161. pgCC* | pgcpp*)
  10162. # Portland Group C++ compiler
  10163. case `$CC -V` in
  10164. *pgCC\ [1-5]* | *pgcpp\ [1-5]*)
  10165. prelink_cmds_CXX='tpldir=Template.dir~
  10166. rm -rf $tpldir~
  10167. $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
  10168. compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
  10169. old_archive_cmds_CXX='tpldir=Template.dir~
  10170. rm -rf $tpldir~
  10171. $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
  10172. $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
  10173. $RANLIB $oldlib'
  10174. archive_cmds_CXX='tpldir=Template.dir~
  10175. rm -rf $tpldir~
  10176. $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
  10177. $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
  10178. archive_expsym_cmds_CXX='tpldir=Template.dir~
  10179. rm -rf $tpldir~
  10180. $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
  10181. $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'
  10182. ;;
  10183. *) # Version 6 will use weak symbols
  10184. archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
  10185. 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'
  10186. ;;
  10187. esac
  10188. hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
  10189. export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
  10190. whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
  10191. ;;
  10192. cxx*)
  10193. # Compaq C++
  10194. archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
  10195. 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'
  10196. runpath_var=LD_RUN_PATH
  10197. hardcode_libdir_flag_spec_CXX='-rpath $libdir'
  10198. hardcode_libdir_separator_CXX=:
  10199. # Commands to make compiler produce verbose output that lists
  10200. # what "hidden" libraries, object files and flags are used when
  10201. # linking a shared library.
  10202. #
  10203. # There doesn't appear to be a way to prevent this compiler from
  10204. # explicitly linking system object files so we need to strip them
  10205. # from the output so that they don't get included in the library
  10206. # dependencies.
  10207. output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
  10208. ;;
  10209. xl*)
  10210. # IBM XL 8.0 on PPC, with GNU ld
  10211. hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
  10212. export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
  10213. archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  10214. if test "x$supports_anon_versioning" = xyes; then
  10215. archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
  10216. cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  10217. echo "local: *; };" >> $output_objdir/$libname.ver~
  10218. $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
  10219. fi
  10220. ;;
  10221. *)
  10222. case `$CC -V 2>&1 | sed 5q` in
  10223. *Sun\ C*)
  10224. # Sun C++ 5.9
  10225. no_undefined_flag_CXX=' -zdefs'
  10226. archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  10227. 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'
  10228. hardcode_libdir_flag_spec_CXX='-R$libdir'
  10229. whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
  10230. compiler_needs_object_CXX=yes
  10231. # Not sure whether something based on
  10232. # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
  10233. # would be better.
  10234. output_verbose_link_cmd='echo'
  10235. # Archives containing C++ object files must be created using
  10236. # "CC -xar", where "CC" is the Sun C++ compiler. This is
  10237. # necessary to make sure instantiated templates are included
  10238. # in the archive.
  10239. old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
  10240. ;;
  10241. esac
  10242. ;;
  10243. esac
  10244. ;;
  10245. lynxos*)
  10246. # FIXME: insert proper C++ library support
  10247. ld_shlibs_CXX=no
  10248. ;;
  10249. m88k*)
  10250. # FIXME: insert proper C++ library support
  10251. ld_shlibs_CXX=no
  10252. ;;
  10253. mvs*)
  10254. case $cc_basename in
  10255. cxx*)
  10256. # FIXME: insert proper C++ library support
  10257. ld_shlibs_CXX=no
  10258. ;;
  10259. *)
  10260. # FIXME: insert proper C++ library support
  10261. ld_shlibs_CXX=no
  10262. ;;
  10263. esac
  10264. ;;
  10265. netbsd*)
  10266. if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  10267. archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
  10268. wlarc=
  10269. hardcode_libdir_flag_spec_CXX='-R$libdir'
  10270. hardcode_direct_CXX=yes
  10271. hardcode_shlibpath_var_CXX=no
  10272. fi
  10273. # Workaround some broken pre-1.5 toolchains
  10274. output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
  10275. ;;
  10276. *nto* | *qnx*)
  10277. ld_shlibs_CXX=yes
  10278. ;;
  10279. openbsd2*)
  10280. # C++ shared libraries are fairly broken
  10281. ld_shlibs_CXX=no
  10282. ;;
  10283. openbsd*)
  10284. if test -f /usr/libexec/ld.so; then
  10285. hardcode_direct_CXX=yes
  10286. hardcode_shlibpath_var_CXX=no
  10287. hardcode_direct_absolute_CXX=yes
  10288. archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
  10289. hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
  10290. if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  10291. archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
  10292. export_dynamic_flag_spec_CXX='${wl}-E'
  10293. whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
  10294. fi
  10295. output_verbose_link_cmd=echo
  10296. else
  10297. ld_shlibs_CXX=no
  10298. fi
  10299. ;;
  10300. osf3* | osf4* | osf5*)
  10301. case $cc_basename in
  10302. KCC*)
  10303. # Kuck and Associates, Inc. (KAI) C++ Compiler
  10304. # KCC will only create a shared library if the output file
  10305. # ends with ".so" (or ".sl" for HP-UX), so rename the library
  10306. # to its proper name (with version) after linking.
  10307. 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'
  10308. hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
  10309. hardcode_libdir_separator_CXX=:
  10310. # Archives containing C++ object files must be created using
  10311. # the KAI C++ compiler.
  10312. case $host in
  10313. osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
  10314. *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
  10315. esac
  10316. ;;
  10317. RCC*)
  10318. # Rational C++ 2.4.1
  10319. # FIXME: insert proper C++ library support
  10320. ld_shlibs_CXX=no
  10321. ;;
  10322. cxx*)
  10323. case $host in
  10324. osf3*)
  10325. allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
  10326. archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && $ECHO "X${wl}-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
  10327. hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
  10328. ;;
  10329. *)
  10330. allow_undefined_flag_CXX=' -expect_unresolved \*'
  10331. archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
  10332. archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
  10333. echo "-hidden">> $lib.exp~
  10334. $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~
  10335. $RM $lib.exp'
  10336. hardcode_libdir_flag_spec_CXX='-rpath $libdir'
  10337. ;;
  10338. esac
  10339. hardcode_libdir_separator_CXX=:
  10340. # Commands to make compiler produce verbose output that lists
  10341. # what "hidden" libraries, object files and flags are used when
  10342. # linking a shared library.
  10343. #
  10344. # There doesn't appear to be a way to prevent this compiler from
  10345. # explicitly linking system object files so we need to strip them
  10346. # from the output so that they don't get included in the library
  10347. # dependencies.
  10348. output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
  10349. ;;
  10350. *)
  10351. if test "$GXX" = yes && test "$with_gnu_ld" = no; then
  10352. allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
  10353. case $host in
  10354. osf3*)
  10355. archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  10356. ;;
  10357. *)
  10358. 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" && $ECHO "${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  10359. ;;
  10360. esac
  10361. hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
  10362. hardcode_libdir_separator_CXX=:
  10363. # Commands to make compiler produce verbose output that lists
  10364. # what "hidden" libraries, object files and flags are used when
  10365. # linking a shared library.
  10366. output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
  10367. else
  10368. # FIXME: insert proper C++ library support
  10369. ld_shlibs_CXX=no
  10370. fi
  10371. ;;
  10372. esac
  10373. ;;
  10374. psos*)
  10375. # FIXME: insert proper C++ library support
  10376. ld_shlibs_CXX=no
  10377. ;;
  10378. sunos4*)
  10379. case $cc_basename in
  10380. CC*)
  10381. # Sun C++ 4.x
  10382. # FIXME: insert proper C++ library support
  10383. ld_shlibs_CXX=no
  10384. ;;
  10385. lcc*)
  10386. # Lucid
  10387. # FIXME: insert proper C++ library support
  10388. ld_shlibs_CXX=no
  10389. ;;
  10390. *)
  10391. # FIXME: insert proper C++ library support
  10392. ld_shlibs_CXX=no
  10393. ;;
  10394. esac
  10395. ;;
  10396. solaris*)
  10397. case $cc_basename in
  10398. CC*)
  10399. # Sun C++ 4.2, 5.x and Centerline C++
  10400. archive_cmds_need_lc_CXX=yes
  10401. no_undefined_flag_CXX=' -zdefs'
  10402. archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  10403. archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  10404. $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'
  10405. hardcode_libdir_flag_spec_CXX='-R$libdir'
  10406. hardcode_shlibpath_var_CXX=no
  10407. case $host_os in
  10408. solaris2.[0-5] | solaris2.[0-5].*) ;;
  10409. *)
  10410. # The compiler driver will combine and reorder linker options,
  10411. # but understands `-z linker_flag'.
  10412. # Supported since Solaris 2.6 (maybe 2.5.1?)
  10413. whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
  10414. ;;
  10415. esac
  10416. link_all_deplibs_CXX=yes
  10417. output_verbose_link_cmd='echo'
  10418. # Archives containing C++ object files must be created using
  10419. # "CC -xar", where "CC" is the Sun C++ compiler. This is
  10420. # necessary to make sure instantiated templates are included
  10421. # in the archive.
  10422. old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
  10423. ;;
  10424. gcx*)
  10425. # Green Hills C++ Compiler
  10426. archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
  10427. # The C++ compiler must be used to create the archive.
  10428. old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
  10429. ;;
  10430. *)
  10431. # GNU C++ compiler with Solaris linker
  10432. if test "$GXX" = yes && test "$with_gnu_ld" = no; then
  10433. no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
  10434. if $CC --version | $GREP -v '^2\.7' > /dev/null; then
  10435. archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
  10436. archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  10437. $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
  10438. # Commands to make compiler produce verbose output that lists
  10439. # what "hidden" libraries, object files and flags are used when
  10440. # linking a shared library.
  10441. output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
  10442. else
  10443. # g++ 2.7 appears to require `-G' NOT `-shared' on this
  10444. # platform.
  10445. archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
  10446. archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  10447. $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
  10448. # Commands to make compiler produce verbose output that lists
  10449. # what "hidden" libraries, object files and flags are used when
  10450. # linking a shared library.
  10451. output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
  10452. fi
  10453. hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
  10454. case $host_os in
  10455. solaris2.[0-5] | solaris2.[0-5].*) ;;
  10456. *)
  10457. whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
  10458. ;;
  10459. esac
  10460. fi
  10461. ;;
  10462. esac
  10463. ;;
  10464. sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
  10465. no_undefined_flag_CXX='${wl}-z,text'
  10466. archive_cmds_need_lc_CXX=no
  10467. hardcode_shlibpath_var_CXX=no
  10468. runpath_var='LD_RUN_PATH'
  10469. case $cc_basename in
  10470. CC*)
  10471. archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  10472. archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  10473. ;;
  10474. *)
  10475. archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  10476. archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  10477. ;;
  10478. esac
  10479. ;;
  10480. sysv5* | sco3.2v5* | sco5v6*)
  10481. # Note: We can NOT use -z defs as we might desire, because we do not
  10482. # link with -lc, and that would cause any symbols used from libc to
  10483. # always be unresolved, which means just about no library would
  10484. # ever link correctly. If we're not using GNU ld we use -z text
  10485. # though, which does catch some bad symbols but isn't as heavy-handed
  10486. # as -z defs.
  10487. no_undefined_flag_CXX='${wl}-z,text'
  10488. allow_undefined_flag_CXX='${wl}-z,nodefs'
  10489. archive_cmds_need_lc_CXX=no
  10490. hardcode_shlibpath_var_CXX=no
  10491. hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
  10492. hardcode_libdir_separator_CXX=':'
  10493. link_all_deplibs_CXX=yes
  10494. export_dynamic_flag_spec_CXX='${wl}-Bexport'
  10495. runpath_var='LD_RUN_PATH'
  10496. case $cc_basename in
  10497. CC*)
  10498. archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  10499. archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  10500. ;;
  10501. *)
  10502. archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  10503. archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  10504. ;;
  10505. esac
  10506. ;;
  10507. tandem*)
  10508. case $cc_basename in
  10509. NCC*)
  10510. # NonStop-UX NCC 3.20
  10511. # FIXME: insert proper C++ library support
  10512. ld_shlibs_CXX=no
  10513. ;;
  10514. *)
  10515. # FIXME: insert proper C++ library support
  10516. ld_shlibs_CXX=no
  10517. ;;
  10518. esac
  10519. ;;
  10520. vxworks*)
  10521. # FIXME: insert proper C++ library support
  10522. ld_shlibs_CXX=no
  10523. ;;
  10524. *)
  10525. # FIXME: insert proper C++ library support
  10526. ld_shlibs_CXX=no
  10527. ;;
  10528. esac
  10529. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
  10530. $as_echo "$ld_shlibs_CXX" >&6; }
  10531. test "$ld_shlibs_CXX" = no && can_build_shared=no
  10532. GCC_CXX="$GXX"
  10533. LD_CXX="$LD"
  10534. ## CAVEAT EMPTOR:
  10535. ## There is no encapsulation within the following macros, do not change
  10536. ## the running order or otherwise move them around unless you know exactly
  10537. ## what you are doing...
  10538. # Dependencies to place before and after the object being linked:
  10539. predep_objects_CXX=
  10540. postdep_objects_CXX=
  10541. predeps_CXX=
  10542. postdeps_CXX=
  10543. compiler_lib_search_path_CXX=
  10544. cat > conftest.$ac_ext <<_LT_EOF
  10545. class Foo
  10546. {
  10547. public:
  10548. Foo (void) { a = 0; }
  10549. private:
  10550. int a;
  10551. };
  10552. _LT_EOF
  10553. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  10554. (eval $ac_compile) 2>&5
  10555. ac_status=$?
  10556. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  10557. test $ac_status = 0; }; then
  10558. # Parse the compiler output and extract the necessary
  10559. # objects, libraries and library flags.
  10560. # Sentinel used to keep track of whether or not we are before
  10561. # the conftest object file.
  10562. pre_test_object_deps_done=no
  10563. for p in `eval "$output_verbose_link_cmd"`; do
  10564. case $p in
  10565. -L* | -R* | -l*)
  10566. # Some compilers place space between "-{L,R}" and the path.
  10567. # Remove the space.
  10568. if test $p = "-L" ||
  10569. test $p = "-R"; then
  10570. prev=$p
  10571. continue
  10572. else
  10573. prev=
  10574. fi
  10575. if test "$pre_test_object_deps_done" = no; then
  10576. case $p in
  10577. -L* | -R*)
  10578. # Internal compiler library paths should come after those
  10579. # provided the user. The postdeps already come after the
  10580. # user supplied libs so there is no need to process them.
  10581. if test -z "$compiler_lib_search_path_CXX"; then
  10582. compiler_lib_search_path_CXX="${prev}${p}"
  10583. else
  10584. compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
  10585. fi
  10586. ;;
  10587. # The "-l" case would never come before the object being
  10588. # linked, so don't bother handling this case.
  10589. esac
  10590. else
  10591. if test -z "$postdeps_CXX"; then
  10592. postdeps_CXX="${prev}${p}"
  10593. else
  10594. postdeps_CXX="${postdeps_CXX} ${prev}${p}"
  10595. fi
  10596. fi
  10597. ;;
  10598. *.$objext)
  10599. # This assumes that the test object file only shows up
  10600. # once in the compiler output.
  10601. if test "$p" = "conftest.$objext"; then
  10602. pre_test_object_deps_done=yes
  10603. continue
  10604. fi
  10605. if test "$pre_test_object_deps_done" = no; then
  10606. if test -z "$predep_objects_CXX"; then
  10607. predep_objects_CXX="$p"
  10608. else
  10609. predep_objects_CXX="$predep_objects_CXX $p"
  10610. fi
  10611. else
  10612. if test -z "$postdep_objects_CXX"; then
  10613. postdep_objects_CXX="$p"
  10614. else
  10615. postdep_objects_CXX="$postdep_objects_CXX $p"
  10616. fi
  10617. fi
  10618. ;;
  10619. *) ;; # Ignore the rest.
  10620. esac
  10621. done
  10622. # Clean up.
  10623. rm -f a.out a.exe
  10624. else
  10625. echo "libtool.m4: error: problem compiling CXX test program"
  10626. fi
  10627. $RM -f confest.$objext
  10628. # PORTME: override above test on systems where it is broken
  10629. case $host_os in
  10630. interix[3-9]*)
  10631. # Interix 3.5 installs completely hosed .la files for C++, so rather than
  10632. # hack all around it, let's just trust "g++" to DTRT.
  10633. predep_objects_CXX=
  10634. postdep_objects_CXX=
  10635. postdeps_CXX=
  10636. ;;
  10637. linux*)
  10638. case `$CC -V 2>&1 | sed 5q` in
  10639. *Sun\ C*)
  10640. # Sun C++ 5.9
  10641. # The more standards-conforming stlport4 library is
  10642. # incompatible with the Cstd library. Avoid specifying
  10643. # it if it's in CXXFLAGS. Ignore libCrun as
  10644. # -library=stlport4 depends on it.
  10645. case " $CXX $CXXFLAGS " in
  10646. *" -library=stlport4 "*)
  10647. solaris_use_stlport4=yes
  10648. ;;
  10649. esac
  10650. if test "$solaris_use_stlport4" != yes; then
  10651. postdeps_CXX='-library=Cstd -library=Crun'
  10652. fi
  10653. ;;
  10654. esac
  10655. ;;
  10656. solaris*)
  10657. case $cc_basename in
  10658. CC*)
  10659. # The more standards-conforming stlport4 library is
  10660. # incompatible with the Cstd library. Avoid specifying
  10661. # it if it's in CXXFLAGS. Ignore libCrun as
  10662. # -library=stlport4 depends on it.
  10663. case " $CXX $CXXFLAGS " in
  10664. *" -library=stlport4 "*)
  10665. solaris_use_stlport4=yes
  10666. ;;
  10667. esac
  10668. # Adding this requires a known-good setup of shared libraries for
  10669. # Sun compiler versions before 5.6, else PIC objects from an old
  10670. # archive will be linked into the output, leading to subtle bugs.
  10671. if test "$solaris_use_stlport4" != yes; then
  10672. postdeps_CXX='-library=Cstd -library=Crun'
  10673. fi
  10674. ;;
  10675. esac
  10676. ;;
  10677. esac
  10678. case " $postdeps_CXX " in
  10679. *" -lc "*) archive_cmds_need_lc_CXX=no ;;
  10680. esac
  10681. compiler_lib_search_dirs_CXX=
  10682. if test -n "${compiler_lib_search_path_CXX}"; then
  10683. compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
  10684. fi
  10685. lt_prog_compiler_wl_CXX=
  10686. lt_prog_compiler_pic_CXX=
  10687. lt_prog_compiler_static_CXX=
  10688. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
  10689. $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
  10690. # C++ specific cases for pic, static, wl, etc.
  10691. if test "$GXX" = yes; then
  10692. lt_prog_compiler_wl_CXX='-Wl,'
  10693. lt_prog_compiler_static_CXX='-static'
  10694. case $host_os in
  10695. aix*)
  10696. # All AIX code is PIC.
  10697. if test "$host_cpu" = ia64; then
  10698. # AIX 5 now supports IA64 processor
  10699. lt_prog_compiler_static_CXX='-Bstatic'
  10700. fi
  10701. ;;
  10702. amigaos*)
  10703. case $host_cpu in
  10704. powerpc)
  10705. # see comment about AmigaOS4 .so support
  10706. lt_prog_compiler_pic_CXX='-fPIC'
  10707. ;;
  10708. m68k)
  10709. # FIXME: we need at least 68020 code to build shared libraries, but
  10710. # adding the `-m68020' flag to GCC prevents building anything better,
  10711. # like `-m68040'.
  10712. lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
  10713. ;;
  10714. esac
  10715. ;;
  10716. beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
  10717. # PIC is the default for these OSes.
  10718. ;;
  10719. mingw* | cygwin* | os2* | pw32* | cegcc*)
  10720. # This hack is so that the source file can tell whether it is being
  10721. # built for inclusion in a dll (and should export symbols for example).
  10722. # Although the cygwin gcc ignores -fPIC, still need this for old-style
  10723. # (--disable-auto-import) libraries
  10724. lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
  10725. ;;
  10726. darwin* | rhapsody*)
  10727. # PIC is the default on this platform
  10728. # Common symbols not allowed in MH_DYLIB files
  10729. lt_prog_compiler_pic_CXX='-fno-common'
  10730. ;;
  10731. *djgpp*)
  10732. # DJGPP does not support shared libraries at all
  10733. lt_prog_compiler_pic_CXX=
  10734. ;;
  10735. interix[3-9]*)
  10736. # Interix 3.x gcc -fpic/-fPIC options generate broken code.
  10737. # Instead, we relocate shared libraries at runtime.
  10738. ;;
  10739. sysv4*MP*)
  10740. if test -d /usr/nec; then
  10741. lt_prog_compiler_pic_CXX=-Kconform_pic
  10742. fi
  10743. ;;
  10744. hpux*)
  10745. # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
  10746. # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
  10747. # sets the default TLS model and affects inlining.
  10748. case $host_cpu in
  10749. hppa*64*)
  10750. ;;
  10751. *)
  10752. lt_prog_compiler_pic_CXX='-fPIC'
  10753. ;;
  10754. esac
  10755. ;;
  10756. *qnx* | *nto*)
  10757. # QNX uses GNU C++, but need to define -shared option too, otherwise
  10758. # it will coredump.
  10759. lt_prog_compiler_pic_CXX='-fPIC -shared'
  10760. ;;
  10761. *)
  10762. lt_prog_compiler_pic_CXX='-fPIC'
  10763. ;;
  10764. esac
  10765. else
  10766. case $host_os in
  10767. aix[4-9]*)
  10768. # All AIX code is PIC.
  10769. if test "$host_cpu" = ia64; then
  10770. # AIX 5 now supports IA64 processor
  10771. lt_prog_compiler_static_CXX='-Bstatic'
  10772. else
  10773. lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
  10774. fi
  10775. ;;
  10776. chorus*)
  10777. case $cc_basename in
  10778. cxch68*)
  10779. # Green Hills C++ Compiler
  10780. # _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"
  10781. ;;
  10782. esac
  10783. ;;
  10784. dgux*)
  10785. case $cc_basename in
  10786. ec++*)
  10787. lt_prog_compiler_pic_CXX='-KPIC'
  10788. ;;
  10789. ghcx*)
  10790. # Green Hills C++ Compiler
  10791. lt_prog_compiler_pic_CXX='-pic'
  10792. ;;
  10793. *)
  10794. ;;
  10795. esac
  10796. ;;
  10797. freebsd* | dragonfly*)
  10798. # FreeBSD uses GNU C++
  10799. ;;
  10800. hpux9* | hpux10* | hpux11*)
  10801. case $cc_basename in
  10802. CC*)
  10803. lt_prog_compiler_wl_CXX='-Wl,'
  10804. lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
  10805. if test "$host_cpu" != ia64; then
  10806. lt_prog_compiler_pic_CXX='+Z'
  10807. fi
  10808. ;;
  10809. aCC*)
  10810. lt_prog_compiler_wl_CXX='-Wl,'
  10811. lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
  10812. case $host_cpu in
  10813. hppa*64*|ia64*)
  10814. # +Z the default
  10815. ;;
  10816. *)
  10817. lt_prog_compiler_pic_CXX='+Z'
  10818. ;;
  10819. esac
  10820. ;;
  10821. *)
  10822. ;;
  10823. esac
  10824. ;;
  10825. interix*)
  10826. # This is c89, which is MS Visual C++ (no shared libs)
  10827. # Anyone wants to do a port?
  10828. ;;
  10829. irix5* | irix6* | nonstopux*)
  10830. case $cc_basename in
  10831. CC*)
  10832. lt_prog_compiler_wl_CXX='-Wl,'
  10833. lt_prog_compiler_static_CXX='-non_shared'
  10834. # CC pic flag -KPIC is the default.
  10835. ;;
  10836. *)
  10837. ;;
  10838. esac
  10839. ;;
  10840. linux* | k*bsd*-gnu)
  10841. case $cc_basename in
  10842. KCC*)
  10843. # KAI C++ Compiler
  10844. lt_prog_compiler_wl_CXX='--backend -Wl,'
  10845. lt_prog_compiler_pic_CXX='-fPIC'
  10846. ;;
  10847. ecpc* )
  10848. # old Intel C++ for x86_64 which still supported -KPIC.
  10849. lt_prog_compiler_wl_CXX='-Wl,'
  10850. lt_prog_compiler_pic_CXX='-KPIC'
  10851. lt_prog_compiler_static_CXX='-static'
  10852. ;;
  10853. icpc* )
  10854. # Intel C++, used to be incompatible with GCC.
  10855. # ICC 10 doesn't accept -KPIC any more.
  10856. lt_prog_compiler_wl_CXX='-Wl,'
  10857. lt_prog_compiler_pic_CXX='-fPIC'
  10858. lt_prog_compiler_static_CXX='-static'
  10859. ;;
  10860. pgCC* | pgcpp*)
  10861. # Portland Group C++ compiler
  10862. lt_prog_compiler_wl_CXX='-Wl,'
  10863. lt_prog_compiler_pic_CXX='-fpic'
  10864. lt_prog_compiler_static_CXX='-Bstatic'
  10865. ;;
  10866. cxx*)
  10867. # Compaq C++
  10868. # Make sure the PIC flag is empty. It appears that all Alpha
  10869. # Linux and Compaq Tru64 Unix objects are PIC.
  10870. lt_prog_compiler_pic_CXX=
  10871. lt_prog_compiler_static_CXX='-non_shared'
  10872. ;;
  10873. xlc* | xlC*)
  10874. # IBM XL 8.0 on PPC
  10875. lt_prog_compiler_wl_CXX='-Wl,'
  10876. lt_prog_compiler_pic_CXX='-qpic'
  10877. lt_prog_compiler_static_CXX='-qstaticlink'
  10878. ;;
  10879. *)
  10880. case `$CC -V 2>&1 | sed 5q` in
  10881. *Sun\ C*)
  10882. # Sun C++ 5.9
  10883. lt_prog_compiler_pic_CXX='-KPIC'
  10884. lt_prog_compiler_static_CXX='-Bstatic'
  10885. lt_prog_compiler_wl_CXX='-Qoption ld '
  10886. ;;
  10887. esac
  10888. ;;
  10889. esac
  10890. ;;
  10891. lynxos*)
  10892. ;;
  10893. m88k*)
  10894. ;;
  10895. mvs*)
  10896. case $cc_basename in
  10897. cxx*)
  10898. lt_prog_compiler_pic_CXX='-W c,exportall'
  10899. ;;
  10900. *)
  10901. ;;
  10902. esac
  10903. ;;
  10904. netbsd* | netbsdelf*-gnu)
  10905. ;;
  10906. *qnx* | *nto*)
  10907. # QNX uses GNU C++, but need to define -shared option too, otherwise
  10908. # it will coredump.
  10909. lt_prog_compiler_pic_CXX='-fPIC -shared'
  10910. ;;
  10911. osf3* | osf4* | osf5*)
  10912. case $cc_basename in
  10913. KCC*)
  10914. lt_prog_compiler_wl_CXX='--backend -Wl,'
  10915. ;;
  10916. RCC*)
  10917. # Rational C++ 2.4.1
  10918. lt_prog_compiler_pic_CXX='-pic'
  10919. ;;
  10920. cxx*)
  10921. # Digital/Compaq C++
  10922. lt_prog_compiler_wl_CXX='-Wl,'
  10923. # Make sure the PIC flag is empty. It appears that all Alpha
  10924. # Linux and Compaq Tru64 Unix objects are PIC.
  10925. lt_prog_compiler_pic_CXX=
  10926. lt_prog_compiler_static_CXX='-non_shared'
  10927. ;;
  10928. *)
  10929. ;;
  10930. esac
  10931. ;;
  10932. psos*)
  10933. ;;
  10934. solaris*)
  10935. case $cc_basename in
  10936. CC*)
  10937. # Sun C++ 4.2, 5.x and Centerline C++
  10938. lt_prog_compiler_pic_CXX='-KPIC'
  10939. lt_prog_compiler_static_CXX='-Bstatic'
  10940. lt_prog_compiler_wl_CXX='-Qoption ld '
  10941. ;;
  10942. gcx*)
  10943. # Green Hills C++ Compiler
  10944. lt_prog_compiler_pic_CXX='-PIC'
  10945. ;;
  10946. *)
  10947. ;;
  10948. esac
  10949. ;;
  10950. sunos4*)
  10951. case $cc_basename in
  10952. CC*)
  10953. # Sun C++ 4.x
  10954. lt_prog_compiler_pic_CXX='-pic'
  10955. lt_prog_compiler_static_CXX='-Bstatic'
  10956. ;;
  10957. lcc*)
  10958. # Lucid
  10959. lt_prog_compiler_pic_CXX='-pic'
  10960. ;;
  10961. *)
  10962. ;;
  10963. esac
  10964. ;;
  10965. sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
  10966. case $cc_basename in
  10967. CC*)
  10968. lt_prog_compiler_wl_CXX='-Wl,'
  10969. lt_prog_compiler_pic_CXX='-KPIC'
  10970. lt_prog_compiler_static_CXX='-Bstatic'
  10971. ;;
  10972. esac
  10973. ;;
  10974. tandem*)
  10975. case $cc_basename in
  10976. NCC*)
  10977. # NonStop-UX NCC 3.20
  10978. lt_prog_compiler_pic_CXX='-KPIC'
  10979. ;;
  10980. *)
  10981. ;;
  10982. esac
  10983. ;;
  10984. vxworks*)
  10985. ;;
  10986. *)
  10987. lt_prog_compiler_can_build_shared_CXX=no
  10988. ;;
  10989. esac
  10990. fi
  10991. case $host_os in
  10992. # For platforms which do not support PIC, -DPIC is meaningless:
  10993. *djgpp*)
  10994. lt_prog_compiler_pic_CXX=
  10995. ;;
  10996. *)
  10997. lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
  10998. ;;
  10999. esac
  11000. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
  11001. $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
  11002. #
  11003. # Check to make sure the PIC flag actually works.
  11004. #
  11005. if test -n "$lt_prog_compiler_pic_CXX"; then
  11006. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
  11007. $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
  11008. if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
  11009. $as_echo_n "(cached) " >&6
  11010. else
  11011. lt_cv_prog_compiler_pic_works_CXX=no
  11012. ac_outfile=conftest.$ac_objext
  11013. echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  11014. lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
  11015. # Insert the option either (1) after the last *FLAGS variable, or
  11016. # (2) before a word containing "conftest.", or (3) at the end.
  11017. # Note that $ac_compile itself does not contain backslashes and begins
  11018. # with a dollar sign (not a hyphen), so the echo should work correctly.
  11019. # The option is referenced via a variable to avoid confusing sed.
  11020. lt_compile=`echo "$ac_compile" | $SED \
  11021. -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  11022. -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  11023. -e 's:$: $lt_compiler_flag:'`
  11024. (eval echo "\"\$as_me:12750: $lt_compile\"" >&5)
  11025. (eval "$lt_compile" 2>conftest.err)
  11026. ac_status=$?
  11027. cat conftest.err >&5
  11028. echo "$as_me:12754: \$? = $ac_status" >&5
  11029. if (exit $ac_status) && test -s "$ac_outfile"; then
  11030. # The compiler can only warn and ignore the option if not recognized
  11031. # So say no if there are warnings other than the usual output.
  11032. $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
  11033. $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  11034. if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  11035. lt_cv_prog_compiler_pic_works_CXX=yes
  11036. fi
  11037. fi
  11038. $RM conftest*
  11039. fi
  11040. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
  11041. $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
  11042. if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
  11043. case $lt_prog_compiler_pic_CXX in
  11044. "" | " "*) ;;
  11045. *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
  11046. esac
  11047. else
  11048. lt_prog_compiler_pic_CXX=
  11049. lt_prog_compiler_can_build_shared_CXX=no
  11050. fi
  11051. fi
  11052. #
  11053. # Check to make sure the static flag actually works.
  11054. #
  11055. wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
  11056. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
  11057. $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
  11058. if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
  11059. $as_echo_n "(cached) " >&6
  11060. else
  11061. lt_cv_prog_compiler_static_works_CXX=no
  11062. save_LDFLAGS="$LDFLAGS"
  11063. LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
  11064. echo "$lt_simple_link_test_code" > conftest.$ac_ext
  11065. if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
  11066. # The linker can only warn and ignore the option if not recognized
  11067. # So say no if there are warnings
  11068. if test -s conftest.err; then
  11069. # Append any errors to the config.log.
  11070. cat conftest.err 1>&5
  11071. $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
  11072. $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  11073. if diff conftest.exp conftest.er2 >/dev/null; then
  11074. lt_cv_prog_compiler_static_works_CXX=yes
  11075. fi
  11076. else
  11077. lt_cv_prog_compiler_static_works_CXX=yes
  11078. fi
  11079. fi
  11080. $RM -r conftest*
  11081. LDFLAGS="$save_LDFLAGS"
  11082. fi
  11083. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
  11084. $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
  11085. if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
  11086. :
  11087. else
  11088. lt_prog_compiler_static_CXX=
  11089. fi
  11090. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
  11091. $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
  11092. if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
  11093. $as_echo_n "(cached) " >&6
  11094. else
  11095. lt_cv_prog_compiler_c_o_CXX=no
  11096. $RM -r conftest 2>/dev/null
  11097. mkdir conftest
  11098. cd conftest
  11099. mkdir out
  11100. echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  11101. lt_compiler_flag="-o out/conftest2.$ac_objext"
  11102. # Insert the option either (1) after the last *FLAGS variable, or
  11103. # (2) before a word containing "conftest.", or (3) at the end.
  11104. # Note that $ac_compile itself does not contain backslashes and begins
  11105. # with a dollar sign (not a hyphen), so the echo should work correctly.
  11106. lt_compile=`echo "$ac_compile" | $SED \
  11107. -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  11108. -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  11109. -e 's:$: $lt_compiler_flag:'`
  11110. (eval echo "\"\$as_me:12849: $lt_compile\"" >&5)
  11111. (eval "$lt_compile" 2>out/conftest.err)
  11112. ac_status=$?
  11113. cat out/conftest.err >&5
  11114. echo "$as_me:12853: \$? = $ac_status" >&5
  11115. if (exit $ac_status) && test -s out/conftest2.$ac_objext
  11116. then
  11117. # The compiler can only warn and ignore the option if not recognized
  11118. # So say no if there are warnings
  11119. $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
  11120. $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  11121. if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  11122. lt_cv_prog_compiler_c_o_CXX=yes
  11123. fi
  11124. fi
  11125. chmod u+w . 2>&5
  11126. $RM conftest*
  11127. # SGI C++ compiler will create directory out/ii_files/ for
  11128. # template instantiation
  11129. test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
  11130. $RM out/* && rmdir out
  11131. cd ..
  11132. $RM -r conftest
  11133. $RM conftest*
  11134. fi
  11135. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
  11136. $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
  11137. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
  11138. $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
  11139. if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
  11140. $as_echo_n "(cached) " >&6
  11141. else
  11142. lt_cv_prog_compiler_c_o_CXX=no
  11143. $RM -r conftest 2>/dev/null
  11144. mkdir conftest
  11145. cd conftest
  11146. mkdir out
  11147. echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  11148. lt_compiler_flag="-o out/conftest2.$ac_objext"
  11149. # Insert the option either (1) after the last *FLAGS variable, or
  11150. # (2) before a word containing "conftest.", or (3) at the end.
  11151. # Note that $ac_compile itself does not contain backslashes and begins
  11152. # with a dollar sign (not a hyphen), so the echo should work correctly.
  11153. lt_compile=`echo "$ac_compile" | $SED \
  11154. -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  11155. -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  11156. -e 's:$: $lt_compiler_flag:'`
  11157. (eval echo "\"\$as_me:12901: $lt_compile\"" >&5)
  11158. (eval "$lt_compile" 2>out/conftest.err)
  11159. ac_status=$?
  11160. cat out/conftest.err >&5
  11161. echo "$as_me:12905: \$? = $ac_status" >&5
  11162. if (exit $ac_status) && test -s out/conftest2.$ac_objext
  11163. then
  11164. # The compiler can only warn and ignore the option if not recognized
  11165. # So say no if there are warnings
  11166. $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
  11167. $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  11168. if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  11169. lt_cv_prog_compiler_c_o_CXX=yes
  11170. fi
  11171. fi
  11172. chmod u+w . 2>&5
  11173. $RM conftest*
  11174. # SGI C++ compiler will create directory out/ii_files/ for
  11175. # template instantiation
  11176. test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
  11177. $RM out/* && rmdir out
  11178. cd ..
  11179. $RM -r conftest
  11180. $RM conftest*
  11181. fi
  11182. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
  11183. $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
  11184. hard_links="nottested"
  11185. if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
  11186. # do not overwrite the value of need_locks provided by the user
  11187. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
  11188. $as_echo_n "checking if we can lock with hard links... " >&6; }
  11189. hard_links=yes
  11190. $RM conftest*
  11191. ln conftest.a conftest.b 2>/dev/null && hard_links=no
  11192. touch conftest.a
  11193. ln conftest.a conftest.b 2>&5 || hard_links=no
  11194. ln conftest.a conftest.b 2>/dev/null && hard_links=no
  11195. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
  11196. $as_echo "$hard_links" >&6; }
  11197. if test "$hard_links" = no; then
  11198. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
  11199. $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
  11200. need_locks=warn
  11201. fi
  11202. else
  11203. need_locks=no
  11204. fi
  11205. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
  11206. $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
  11207. export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  11208. case $host_os in
  11209. aix[4-9]*)
  11210. # If we're using GNU nm, then we don't want the "-C" option.
  11211. # -C means demangle to AIX nm, but means don't demangle with GNU nm
  11212. if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
  11213. export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
  11214. else
  11215. 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'
  11216. fi
  11217. ;;
  11218. pw32*)
  11219. export_symbols_cmds_CXX="$ltdll_cmds"
  11220. ;;
  11221. cygwin* | mingw* | cegcc*)
  11222. 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'
  11223. ;;
  11224. linux* | k*bsd*-gnu)
  11225. link_all_deplibs_CXX=no
  11226. ;;
  11227. *)
  11228. export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  11229. ;;
  11230. esac
  11231. exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
  11232. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
  11233. $as_echo "$ld_shlibs_CXX" >&6; }
  11234. test "$ld_shlibs_CXX" = no && can_build_shared=no
  11235. with_gnu_ld_CXX=$with_gnu_ld
  11236. #
  11237. # Do we need to explicitly link libc?
  11238. #
  11239. case "x$archive_cmds_need_lc_CXX" in
  11240. x|xyes)
  11241. # Assume -lc should be added
  11242. archive_cmds_need_lc_CXX=yes
  11243. if test "$enable_shared" = yes && test "$GCC" = yes; then
  11244. case $archive_cmds_CXX in
  11245. *'~'*)
  11246. # FIXME: we may have to deal with multi-command sequences.
  11247. ;;
  11248. '$CC '*)
  11249. # Test whether the compiler implicitly links with -lc since on some
  11250. # systems, -lgcc has to come before -lc. If gcc already passes -lc
  11251. # to ld, don't add -lc before -lgcc.
  11252. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
  11253. $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
  11254. $RM conftest*
  11255. echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  11256. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  11257. (eval $ac_compile) 2>&5
  11258. ac_status=$?
  11259. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  11260. test $ac_status = 0; } 2>conftest.err; then
  11261. soname=conftest
  11262. lib=conftest
  11263. libobjs=conftest.$ac_objext
  11264. deplibs=
  11265. wl=$lt_prog_compiler_wl_CXX
  11266. pic_flag=$lt_prog_compiler_pic_CXX
  11267. compiler_flags=-v
  11268. linker_flags=-v
  11269. verstring=
  11270. output_objdir=.
  11271. libname=conftest
  11272. lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
  11273. allow_undefined_flag_CXX=
  11274. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
  11275. (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
  11276. ac_status=$?
  11277. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  11278. test $ac_status = 0; }
  11279. then
  11280. archive_cmds_need_lc_CXX=no
  11281. else
  11282. archive_cmds_need_lc_CXX=yes
  11283. fi
  11284. allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
  11285. else
  11286. cat conftest.err 1>&5
  11287. fi
  11288. $RM conftest*
  11289. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_CXX" >&5
  11290. $as_echo "$archive_cmds_need_lc_CXX" >&6; }
  11291. ;;
  11292. esac
  11293. fi
  11294. ;;
  11295. esac
  11296. { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
  11297. $as_echo_n "checking dynamic linker characteristics... " >&6; }
  11298. library_names_spec=
  11299. libname_spec='lib$name'
  11300. soname_spec=
  11301. shrext_cmds=".so"
  11302. postinstall_cmds=
  11303. postuninstall_cmds=
  11304. finish_cmds=
  11305. finish_eval=
  11306. shlibpath_var=
  11307. shlibpath_overrides_runpath=unknown
  11308. version_type=none
  11309. dynamic_linker="$host_os ld.so"
  11310. sys_lib_dlsearch_path_spec="/lib /usr/lib"
  11311. need_lib_prefix=unknown
  11312. hardcode_into_libs=no
  11313. # when you set need_version to no, make sure it does not cause -set_version
  11314. # flags to be left without arguments
  11315. need_version=unknown
  11316. case $host_os in
  11317. aix3*)
  11318. version_type=linux
  11319. library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
  11320. shlibpath_var=LIBPATH
  11321. # AIX 3 has no versioning support, so we append a major version to the name.
  11322. soname_spec='${libname}${release}${shared_ext}$major'
  11323. ;;
  11324. aix[4-9]*)
  11325. version_type=linux
  11326. need_lib_prefix=no
  11327. need_version=no
  11328. hardcode_into_libs=yes
  11329. if test "$host_cpu" = ia64; then
  11330. # AIX 5 supports IA64
  11331. library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
  11332. shlibpath_var=LD_LIBRARY_PATH
  11333. else
  11334. # With GCC up to 2.95.x, collect2 would create an import file
  11335. # for dependence libraries. The import file would start with
  11336. # the line `#! .'. This would cause the generated library to
  11337. # depend on `.', always an invalid library. This was fixed in
  11338. # development snapshots of GCC prior to 3.0.
  11339. case $host_os in
  11340. aix4 | aix4.[01] | aix4.[01].*)
  11341. if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
  11342. echo ' yes '
  11343. echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
  11344. :
  11345. else
  11346. can_build_shared=no
  11347. fi
  11348. ;;
  11349. esac
  11350. # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
  11351. # soname into executable. Probably we can add versioning support to
  11352. # collect2, so additional links can be useful in future.
  11353. if test "$aix_use_runtimelinking" = yes; then
  11354. # If using run time linking (on AIX 4.2 or later) use lib<name>.so
  11355. # instead of lib<name>.a to let people know that these are not
  11356. # typical AIX shared libraries.
  11357. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  11358. else
  11359. # We preserve .a as extension for shared libraries through AIX4.2
  11360. # and later when we are not doing run time linking.
  11361. library_names_spec='${libname}${release}.a $libname.a'
  11362. soname_spec='${libname}${release}${shared_ext}$major'
  11363. fi
  11364. shlibpath_var=LIBPATH
  11365. fi
  11366. ;;
  11367. amigaos*)
  11368. case $host_cpu in
  11369. powerpc)
  11370. # Since July 2007 AmigaOS4 officially supports .so libraries.
  11371. # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
  11372. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  11373. ;;
  11374. m68k)
  11375. library_names_spec='$libname.ixlibrary $libname.a'
  11376. # Create ${libname}_ixlibrary.a entries in /sys/libs.
  11377. finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
  11378. ;;
  11379. esac
  11380. ;;
  11381. beos*)
  11382. library_names_spec='${libname}${shared_ext}'
  11383. dynamic_linker="$host_os ld.so"
  11384. shlibpath_var=LIBRARY_PATH
  11385. ;;
  11386. bsdi[45]*)
  11387. version_type=linux
  11388. need_version=no
  11389. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  11390. soname_spec='${libname}${release}${shared_ext}$major'
  11391. finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
  11392. shlibpath_var=LD_LIBRARY_PATH
  11393. sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
  11394. sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
  11395. # the default ld.so.conf also contains /usr/contrib/lib and
  11396. # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
  11397. # libtool to hard-code these into programs
  11398. ;;
  11399. cygwin* | mingw* | pw32* | cegcc*)
  11400. version_type=windows
  11401. shrext_cmds=".dll"
  11402. need_version=no
  11403. need_lib_prefix=no
  11404. case $GCC,$host_os in
  11405. yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
  11406. library_names_spec='$libname.dll.a'
  11407. # DLL is installed to $(libdir)/../bin by postinstall_cmds
  11408. postinstall_cmds='base_file=`basename \${file}`~
  11409. dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
  11410. dldir=$destdir/`dirname \$dlpath`~
  11411. test -d \$dldir || mkdir -p \$dldir~
  11412. $install_prog $dir/$dlname \$dldir/$dlname~
  11413. chmod a+x \$dldir/$dlname~
  11414. if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
  11415. eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
  11416. fi'
  11417. postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
  11418. dlpath=$dir/\$dldll~
  11419. $RM \$dlpath'
  11420. shlibpath_overrides_runpath=yes
  11421. case $host_os in
  11422. cygwin*)
  11423. # Cygwin DLLs use 'cyg' prefix rather than 'lib'
  11424. soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  11425. sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
  11426. ;;
  11427. mingw* | cegcc*)
  11428. # MinGW DLLs use traditional 'lib' prefix
  11429. soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  11430. sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
  11431. if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
  11432. # It is most probably a Windows format PATH printed by
  11433. # mingw gcc, but we are running on Cygwin. Gcc prints its search
  11434. # path with ; separators, and with drive letters. We can handle the
  11435. # drive letters (cygwin fileutils understands them), so leave them,
  11436. # especially as we might pass files found there to a mingw objdump,
  11437. # which wouldn't understand a cygwinified path. Ahh.
  11438. sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
  11439. else
  11440. sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
  11441. fi
  11442. ;;
  11443. pw32*)
  11444. # pw32 DLLs use 'pw' prefix rather than 'lib'
  11445. library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  11446. ;;
  11447. esac
  11448. ;;
  11449. *)
  11450. library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
  11451. ;;
  11452. esac
  11453. dynamic_linker='Win32 ld.exe'
  11454. # FIXME: first we should search . and the directory the executable is in
  11455. shlibpath_var=PATH
  11456. ;;
  11457. darwin* | rhapsody*)
  11458. dynamic_linker="$host_os dyld"
  11459. version_type=darwin
  11460. need_lib_prefix=no
  11461. need_version=no
  11462. library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
  11463. soname_spec='${libname}${release}${major}$shared_ext'
  11464. shlibpath_overrides_runpath=yes
  11465. shlibpath_var=DYLD_LIBRARY_PATH
  11466. shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
  11467. sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
  11468. ;;
  11469. dgux*)
  11470. version_type=linux
  11471. need_lib_prefix=no
  11472. need_version=no
  11473. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
  11474. soname_spec='${libname}${release}${shared_ext}$major'
  11475. shlibpath_var=LD_LIBRARY_PATH
  11476. ;;
  11477. freebsd1*)
  11478. dynamic_linker=no
  11479. ;;
  11480. freebsd* | dragonfly*)
  11481. # DragonFly does not have aout. When/if they implement a new
  11482. # versioning mechanism, adjust this.
  11483. if test -x /usr/bin/objformat; then
  11484. objformat=`/usr/bin/objformat`
  11485. else
  11486. case $host_os in
  11487. freebsd[123]*) objformat=aout ;;
  11488. *) objformat=elf ;;
  11489. esac
  11490. fi
  11491. version_type=freebsd-$objformat
  11492. case $version_type in
  11493. freebsd-elf*)
  11494. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
  11495. need_version=no
  11496. need_lib_prefix=no
  11497. ;;
  11498. freebsd-*)
  11499. library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
  11500. need_version=yes
  11501. ;;
  11502. esac
  11503. shlibpath_var=LD_LIBRARY_PATH
  11504. case $host_os in
  11505. freebsd2*)
  11506. shlibpath_overrides_runpath=yes
  11507. ;;
  11508. freebsd3.[01]* | freebsdelf3.[01]*)
  11509. shlibpath_overrides_runpath=yes
  11510. hardcode_into_libs=yes
  11511. ;;
  11512. freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
  11513. freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
  11514. shlibpath_overrides_runpath=no
  11515. hardcode_into_libs=yes
  11516. ;;
  11517. *) # from 4.6 on, and DragonFly
  11518. shlibpath_overrides_runpath=yes
  11519. hardcode_into_libs=yes
  11520. ;;
  11521. esac
  11522. ;;
  11523. gnu*)
  11524. version_type=linux
  11525. need_lib_prefix=no
  11526. need_version=no
  11527. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
  11528. soname_spec='${libname}${release}${shared_ext}$major'
  11529. shlibpath_var=LD_LIBRARY_PATH
  11530. hardcode_into_libs=yes
  11531. ;;
  11532. hpux9* | hpux10* | hpux11*)
  11533. # Give a soname corresponding to the major version so that dld.sl refuses to
  11534. # link against other versions.
  11535. version_type=sunos
  11536. need_lib_prefix=no
  11537. need_version=no
  11538. case $host_cpu in
  11539. ia64*)
  11540. shrext_cmds='.so'
  11541. hardcode_into_libs=yes
  11542. dynamic_linker="$host_os dld.so"
  11543. shlibpath_var=LD_LIBRARY_PATH
  11544. shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  11545. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  11546. soname_spec='${libname}${release}${shared_ext}$major'
  11547. if test "X$HPUX_IA64_MODE" = X32; then
  11548. sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
  11549. else
  11550. sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
  11551. fi
  11552. sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  11553. ;;
  11554. hppa*64*)
  11555. shrext_cmds='.sl'
  11556. hardcode_into_libs=yes
  11557. dynamic_linker="$host_os dld.sl"
  11558. shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
  11559. shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  11560. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  11561. soname_spec='${libname}${release}${shared_ext}$major'
  11562. sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
  11563. sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  11564. ;;
  11565. *)
  11566. shrext_cmds='.sl'
  11567. dynamic_linker="$host_os dld.sl"
  11568. shlibpath_var=SHLIB_PATH
  11569. shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
  11570. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  11571. soname_spec='${libname}${release}${shared_ext}$major'
  11572. ;;
  11573. esac
  11574. # HP-UX runs *really* slowly unless shared libraries are mode 555.
  11575. postinstall_cmds='chmod 555 $lib'
  11576. ;;
  11577. interix[3-9]*)
  11578. version_type=linux
  11579. need_lib_prefix=no
  11580. need_version=no
  11581. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  11582. soname_spec='${libname}${release}${shared_ext}$major'
  11583. dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
  11584. shlibpath_var=LD_LIBRARY_PATH
  11585. shlibpath_overrides_runpath=no
  11586. hardcode_into_libs=yes
  11587. ;;
  11588. irix5* | irix6* | nonstopux*)
  11589. case $host_os in
  11590. nonstopux*) version_type=nonstopux ;;
  11591. *)
  11592. if test "$lt_cv_prog_gnu_ld" = yes; then
  11593. version_type=linux
  11594. else
  11595. version_type=irix
  11596. fi ;;
  11597. esac
  11598. need_lib_prefix=no
  11599. need_version=no
  11600. soname_spec='${libname}${release}${shared_ext}$major'
  11601. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
  11602. case $host_os in
  11603. irix5* | nonstopux*)
  11604. libsuff= shlibsuff=
  11605. ;;
  11606. *)
  11607. case $LD in # libtool.m4 will add one of these switches to LD
  11608. *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
  11609. libsuff= shlibsuff= libmagic=32-bit;;
  11610. *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
  11611. libsuff=32 shlibsuff=N32 libmagic=N32;;
  11612. *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
  11613. libsuff=64 shlibsuff=64 libmagic=64-bit;;
  11614. *) libsuff= shlibsuff= libmagic=never-match;;
  11615. esac
  11616. ;;
  11617. esac
  11618. shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
  11619. shlibpath_overrides_runpath=no
  11620. sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
  11621. sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
  11622. hardcode_into_libs=yes
  11623. ;;
  11624. # No shared lib support for Linux oldld, aout, or coff.
  11625. linux*oldld* | linux*aout* | linux*coff*)
  11626. dynamic_linker=no
  11627. ;;
  11628. # This must be Linux ELF.
  11629. linux* | k*bsd*-gnu)
  11630. version_type=linux
  11631. need_lib_prefix=no
  11632. need_version=no
  11633. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  11634. soname_spec='${libname}${release}${shared_ext}$major'
  11635. finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
  11636. shlibpath_var=LD_LIBRARY_PATH
  11637. shlibpath_overrides_runpath=no
  11638. # Some binutils ld are patched to set DT_RUNPATH
  11639. save_LDFLAGS=$LDFLAGS
  11640. save_libdir=$libdir
  11641. eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
  11642. LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
  11643. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11644. /* end confdefs.h. */
  11645. int
  11646. main ()
  11647. {
  11648. ;
  11649. return 0;
  11650. }
  11651. _ACEOF
  11652. if ac_fn_cxx_try_link "$LINENO"; then :
  11653. if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
  11654. shlibpath_overrides_runpath=yes
  11655. fi
  11656. fi
  11657. rm -f core conftest.err conftest.$ac_objext \
  11658. conftest$ac_exeext conftest.$ac_ext
  11659. LDFLAGS=$save_LDFLAGS
  11660. libdir=$save_libdir
  11661. # This implies no fast_install, which is unacceptable.
  11662. # Some rework will be needed to allow for fast_install
  11663. # before this can be enabled.
  11664. hardcode_into_libs=yes
  11665. # Append ld.so.conf contents to the search path
  11666. if test -f /etc/ld.so.conf; then
  11667. lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
  11668. sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
  11669. fi
  11670. # We used to test for /lib/ld.so.1 and disable shared libraries on
  11671. # powerpc, because MkLinux only supported shared libraries with the
  11672. # GNU dynamic linker. Since this was broken with cross compilers,
  11673. # most powerpc-linux boxes support dynamic linking these days and
  11674. # people can always --disable-shared, the test was removed, and we
  11675. # assume the GNU/Linux dynamic linker is in use.
  11676. dynamic_linker='GNU/Linux ld.so'
  11677. ;;
  11678. netbsdelf*-gnu)
  11679. version_type=linux
  11680. need_lib_prefix=no
  11681. need_version=no
  11682. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  11683. soname_spec='${libname}${release}${shared_ext}$major'
  11684. shlibpath_var=LD_LIBRARY_PATH
  11685. shlibpath_overrides_runpath=no
  11686. hardcode_into_libs=yes
  11687. dynamic_linker='NetBSD ld.elf_so'
  11688. ;;
  11689. netbsd*)
  11690. version_type=sunos
  11691. need_lib_prefix=no
  11692. need_version=no
  11693. if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  11694. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  11695. finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  11696. dynamic_linker='NetBSD (a.out) ld.so'
  11697. else
  11698. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  11699. soname_spec='${libname}${release}${shared_ext}$major'
  11700. dynamic_linker='NetBSD ld.elf_so'
  11701. fi
  11702. shlibpath_var=LD_LIBRARY_PATH
  11703. shlibpath_overrides_runpath=yes
  11704. hardcode_into_libs=yes
  11705. ;;
  11706. newsos6)
  11707. version_type=linux
  11708. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  11709. shlibpath_var=LD_LIBRARY_PATH
  11710. shlibpath_overrides_runpath=yes
  11711. ;;
  11712. *nto* | *qnx*)
  11713. version_type=qnx
  11714. need_lib_prefix=no
  11715. need_version=no
  11716. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  11717. soname_spec='${libname}${release}${shared_ext}$major'
  11718. shlibpath_var=LD_LIBRARY_PATH
  11719. shlibpath_overrides_runpath=no
  11720. hardcode_into_libs=yes
  11721. dynamic_linker='ldqnx.so'
  11722. ;;
  11723. openbsd*)
  11724. version_type=sunos
  11725. sys_lib_dlsearch_path_spec="/usr/lib"
  11726. need_lib_prefix=no
  11727. # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
  11728. case $host_os in
  11729. openbsd3.3 | openbsd3.3.*) need_version=yes ;;
  11730. *) need_version=no ;;
  11731. esac
  11732. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  11733. finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  11734. shlibpath_var=LD_LIBRARY_PATH
  11735. if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  11736. case $host_os in
  11737. openbsd2.[89] | openbsd2.[89].*)
  11738. shlibpath_overrides_runpath=no
  11739. ;;
  11740. *)
  11741. shlibpath_overrides_runpath=yes
  11742. ;;
  11743. esac
  11744. else
  11745. shlibpath_overrides_runpath=yes
  11746. fi
  11747. ;;
  11748. os2*)
  11749. libname_spec='$name'
  11750. shrext_cmds=".dll"
  11751. need_lib_prefix=no
  11752. library_names_spec='$libname${shared_ext} $libname.a'
  11753. dynamic_linker='OS/2 ld.exe'
  11754. shlibpath_var=LIBPATH
  11755. ;;
  11756. osf3* | osf4* | osf5*)
  11757. version_type=osf
  11758. need_lib_prefix=no
  11759. need_version=no
  11760. soname_spec='${libname}${release}${shared_ext}$major'
  11761. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  11762. shlibpath_var=LD_LIBRARY_PATH
  11763. sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
  11764. sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
  11765. ;;
  11766. rdos*)
  11767. dynamic_linker=no
  11768. ;;
  11769. solaris*)
  11770. version_type=linux
  11771. need_lib_prefix=no
  11772. need_version=no
  11773. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  11774. soname_spec='${libname}${release}${shared_ext}$major'
  11775. shlibpath_var=LD_LIBRARY_PATH
  11776. shlibpath_overrides_runpath=yes
  11777. hardcode_into_libs=yes
  11778. # ldd complains unless libraries are executable
  11779. postinstall_cmds='chmod +x $lib'
  11780. ;;
  11781. sunos4*)
  11782. version_type=sunos
  11783. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  11784. finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
  11785. shlibpath_var=LD_LIBRARY_PATH
  11786. shlibpath_overrides_runpath=yes
  11787. if test "$with_gnu_ld" = yes; then
  11788. need_lib_prefix=no
  11789. fi
  11790. need_version=yes
  11791. ;;
  11792. sysv4 | sysv4.3*)
  11793. version_type=linux
  11794. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  11795. soname_spec='${libname}${release}${shared_ext}$major'
  11796. shlibpath_var=LD_LIBRARY_PATH
  11797. case $host_vendor in
  11798. sni)
  11799. shlibpath_overrides_runpath=no
  11800. need_lib_prefix=no
  11801. runpath_var=LD_RUN_PATH
  11802. ;;
  11803. siemens)
  11804. need_lib_prefix=no
  11805. ;;
  11806. motorola)
  11807. need_lib_prefix=no
  11808. need_version=no
  11809. shlibpath_overrides_runpath=no
  11810. sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
  11811. ;;
  11812. esac
  11813. ;;
  11814. sysv4*MP*)
  11815. if test -d /usr/nec ;then
  11816. version_type=linux
  11817. library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
  11818. soname_spec='$libname${shared_ext}.$major'
  11819. shlibpath_var=LD_LIBRARY_PATH
  11820. fi
  11821. ;;
  11822. sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  11823. version_type=freebsd-elf
  11824. need_lib_prefix=no
  11825. need_version=no
  11826. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
  11827. soname_spec='${libname}${release}${shared_ext}$major'
  11828. shlibpath_var=LD_LIBRARY_PATH
  11829. shlibpath_overrides_runpath=yes
  11830. hardcode_into_libs=yes
  11831. if test "$with_gnu_ld" = yes; then
  11832. sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
  11833. else
  11834. sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
  11835. case $host_os in
  11836. sco3.2v5*)
  11837. sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
  11838. ;;
  11839. esac
  11840. fi
  11841. sys_lib_dlsearch_path_spec='/usr/lib'
  11842. ;;
  11843. tpf*)
  11844. # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
  11845. version_type=linux
  11846. need_lib_prefix=no
  11847. need_version=no
  11848. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  11849. shlibpath_var=LD_LIBRARY_PATH
  11850. shlibpath_overrides_runpath=no
  11851. hardcode_into_libs=yes
  11852. ;;
  11853. uts4*)
  11854. version_type=linux
  11855. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  11856. soname_spec='${libname}${release}${shared_ext}$major'
  11857. shlibpath_var=LD_LIBRARY_PATH
  11858. ;;
  11859. *)
  11860. dynamic_linker=no
  11861. ;;
  11862. esac
  11863. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
  11864. $as_echo "$dynamic_linker" >&6; }
  11865. test "$dynamic_linker" = no && can_build_shared=no
  11866. variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
  11867. if test "$GCC" = yes; then
  11868. variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
  11869. fi
  11870. if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
  11871. sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
  11872. fi
  11873. if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
  11874. sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
  11875. fi
  11876. { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
  11877. $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
  11878. hardcode_action_CXX=
  11879. if test -n "$hardcode_libdir_flag_spec_CXX" ||
  11880. test -n "$runpath_var_CXX" ||
  11881. test "X$hardcode_automatic_CXX" = "Xyes" ; then
  11882. # We can hardcode non-existent directories.
  11883. if test "$hardcode_direct_CXX" != no &&
  11884. # If the only mechanism to avoid hardcoding is shlibpath_var, we
  11885. # have to relink, otherwise we might link with an installed library
  11886. # when we should be linking with a yet-to-be-installed one
  11887. ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
  11888. test "$hardcode_minus_L_CXX" != no; then
  11889. # Linking always hardcodes the temporary library directory.
  11890. hardcode_action_CXX=relink
  11891. else
  11892. # We can link without hardcoding, and we can hardcode nonexisting dirs.
  11893. hardcode_action_CXX=immediate
  11894. fi
  11895. else
  11896. # We cannot hardcode anything, or else we can only hardcode existing
  11897. # directories.
  11898. hardcode_action_CXX=unsupported
  11899. fi
  11900. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
  11901. $as_echo "$hardcode_action_CXX" >&6; }
  11902. if test "$hardcode_action_CXX" = relink ||
  11903. test "$inherit_rpath_CXX" = yes; then
  11904. # Fast installation is not supported
  11905. enable_fast_install=no
  11906. elif test "$shlibpath_overrides_runpath" = yes ||
  11907. test "$enable_shared" = no; then
  11908. # Fast installation is not necessary
  11909. enable_fast_install=needless
  11910. fi
  11911. fi # test -n "$compiler"
  11912. CC=$lt_save_CC
  11913. LDCXX=$LD
  11914. LD=$lt_save_LD
  11915. GCC=$lt_save_GCC
  11916. with_gnu_ld=$lt_save_with_gnu_ld
  11917. lt_cv_path_LDCXX=$lt_cv_path_LD
  11918. lt_cv_path_LD=$lt_save_path_LD
  11919. lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
  11920. lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
  11921. fi # test "$_lt_caught_CXX_error" != yes
  11922. ac_ext=c
  11923. ac_cpp='$CPP $CPPFLAGS'
  11924. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  11925. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  11926. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  11927. ac_config_commands="$ac_config_commands libtool"
  11928. # Only expand once:
  11929. ac_config_headers="$ac_config_headers config.h"
  11930. am__api_version='1.11'
  11931. # Find a good install program. We prefer a C program (faster),
  11932. # so one script is as good as another. But avoid the broken or
  11933. # incompatible versions:
  11934. # SysV /etc/install, /usr/sbin/install
  11935. # SunOS /usr/etc/install
  11936. # IRIX /sbin/install
  11937. # AIX /bin/install
  11938. # AmigaOS /C/install, which installs bootblocks on floppy discs
  11939. # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
  11940. # AFS /usr/afsws/bin/install, which mishandles nonexistent args
  11941. # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  11942. # OS/2's system install, which has a completely different semantic
  11943. # ./install, which can be erroneously created by make from ./install.sh.
  11944. # Reject install programs that cannot install multiple files.
  11945. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
  11946. $as_echo_n "checking for a BSD-compatible install... " >&6; }
  11947. if test -z "$INSTALL"; then
  11948. if test "${ac_cv_path_install+set}" = set; then :
  11949. $as_echo_n "(cached) " >&6
  11950. else
  11951. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  11952. for as_dir in $PATH
  11953. do
  11954. IFS=$as_save_IFS
  11955. test -z "$as_dir" && as_dir=.
  11956. # Account for people who put trailing slashes in PATH elements.
  11957. case $as_dir/ in #((
  11958. ./ | .// | /[cC]/* | \
  11959. /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
  11960. ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
  11961. /usr/ucb/* ) ;;
  11962. *)
  11963. # OSF1 and SCO ODT 3.0 have their own names for install.
  11964. # Don't use installbsd from OSF since it installs stuff as root
  11965. # by default.
  11966. for ac_prog in ginstall scoinst install; do
  11967. for ac_exec_ext in '' $ac_executable_extensions; do
  11968. if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
  11969. if test $ac_prog = install &&
  11970. grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  11971. # AIX install. It has an incompatible calling convention.
  11972. :
  11973. elif test $ac_prog = install &&
  11974. grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  11975. # program-specific install script used by HP pwplus--don't use.
  11976. :
  11977. else
  11978. rm -rf conftest.one conftest.two conftest.dir
  11979. echo one > conftest.one
  11980. echo two > conftest.two
  11981. mkdir conftest.dir
  11982. if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
  11983. test -s conftest.one && test -s conftest.two &&
  11984. test -s conftest.dir/conftest.one &&
  11985. test -s conftest.dir/conftest.two
  11986. then
  11987. ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
  11988. break 3
  11989. fi
  11990. fi
  11991. fi
  11992. done
  11993. done
  11994. ;;
  11995. esac
  11996. done
  11997. IFS=$as_save_IFS
  11998. rm -rf conftest.one conftest.two conftest.dir
  11999. fi
  12000. if test "${ac_cv_path_install+set}" = set; then
  12001. INSTALL=$ac_cv_path_install
  12002. else
  12003. # As a last resort, use the slow shell script. Don't cache a
  12004. # value for INSTALL within a source directory, because that will
  12005. # break other packages using the cache if that directory is
  12006. # removed, or if the value is a relative name.
  12007. INSTALL=$ac_install_sh
  12008. fi
  12009. fi
  12010. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
  12011. $as_echo "$INSTALL" >&6; }
  12012. # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  12013. # It thinks the first close brace ends the variable substitution.
  12014. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  12015. test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
  12016. test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  12017. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
  12018. $as_echo_n "checking whether build environment is sane... " >&6; }
  12019. # Just in case
  12020. sleep 1
  12021. echo timestamp > conftest.file
  12022. # Reject unsafe characters in $srcdir or the absolute working directory
  12023. # name. Accept space and tab only in the latter.
  12024. am_lf='
  12025. '
  12026. case `pwd` in
  12027. *[\\\"\#\$\&\'\`$am_lf]*)
  12028. as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
  12029. esac
  12030. case $srcdir in
  12031. *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
  12032. as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
  12033. esac
  12034. # Do `set' in a subshell so we don't clobber the current shell's
  12035. # arguments. Must try -L first in case configure is actually a
  12036. # symlink; some systems play weird games with the mod time of symlinks
  12037. # (eg FreeBSD returns the mod time of the symlink's containing
  12038. # directory).
  12039. if (
  12040. set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
  12041. if test "$*" = "X"; then
  12042. # -L didn't work.
  12043. set X `ls -t "$srcdir/configure" conftest.file`
  12044. fi
  12045. rm -f conftest.file
  12046. if test "$*" != "X $srcdir/configure conftest.file" \
  12047. && test "$*" != "X conftest.file $srcdir/configure"; then
  12048. # If neither matched, then we have a broken ls. This can happen
  12049. # if, for instance, CONFIG_SHELL is bash and it inherits a
  12050. # broken ls alias from the environment. This has actually
  12051. # happened. Such a system could not be considered "sane".
  12052. as_fn_error "ls -t appears to fail. Make sure there is not a broken
  12053. alias in your environment" "$LINENO" 5
  12054. fi
  12055. test "$2" = conftest.file
  12056. )
  12057. then
  12058. # Ok.
  12059. :
  12060. else
  12061. as_fn_error "newly created file is older than distributed files!
  12062. Check your system clock" "$LINENO" 5
  12063. fi
  12064. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  12065. $as_echo "yes" >&6; }
  12066. test "$program_prefix" != NONE &&
  12067. program_transform_name="s&^&$program_prefix&;$program_transform_name"
  12068. # Use a double $ so make ignores it.
  12069. test "$program_suffix" != NONE &&
  12070. program_transform_name="s&\$&$program_suffix&;$program_transform_name"
  12071. # Double any \ or $.
  12072. # By default was `s,x,x', remove it if useless.
  12073. ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
  12074. program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
  12075. # expand $ac_aux_dir to an absolute path
  12076. am_aux_dir=`cd $ac_aux_dir && pwd`
  12077. if test x"${MISSING+set}" != xset; then
  12078. case $am_aux_dir in
  12079. *\ * | *\ *)
  12080. MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
  12081. *)
  12082. MISSING="\${SHELL} $am_aux_dir/missing" ;;
  12083. esac
  12084. fi
  12085. # Use eval to expand $SHELL
  12086. if eval "$MISSING --run true"; then
  12087. am_missing_run="$MISSING --run "
  12088. else
  12089. am_missing_run=
  12090. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
  12091. $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
  12092. fi
  12093. if test x"${install_sh}" != xset; then
  12094. case $am_aux_dir in
  12095. *\ * | *\ *)
  12096. install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
  12097. *)
  12098. install_sh="\${SHELL} $am_aux_dir/install-sh"
  12099. esac
  12100. fi
  12101. # Installed binaries are usually stripped using `strip' when the user
  12102. # run `make install-strip'. However `strip' might not be the right
  12103. # tool to use in cross-compilation environments, therefore Automake
  12104. # will honor the `STRIP' environment variable to overrule this program.
  12105. if test "$cross_compiling" != no; then
  12106. if test -n "$ac_tool_prefix"; then
  12107. # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  12108. set dummy ${ac_tool_prefix}strip; ac_word=$2
  12109. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  12110. $as_echo_n "checking for $ac_word... " >&6; }
  12111. if test "${ac_cv_prog_STRIP+set}" = set; then :
  12112. $as_echo_n "(cached) " >&6
  12113. else
  12114. if test -n "$STRIP"; then
  12115. ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  12116. else
  12117. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  12118. for as_dir in $PATH
  12119. do
  12120. IFS=$as_save_IFS
  12121. test -z "$as_dir" && as_dir=.
  12122. for ac_exec_ext in '' $ac_executable_extensions; do
  12123. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  12124. ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  12125. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  12126. break 2
  12127. fi
  12128. done
  12129. done
  12130. IFS=$as_save_IFS
  12131. fi
  12132. fi
  12133. STRIP=$ac_cv_prog_STRIP
  12134. if test -n "$STRIP"; then
  12135. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
  12136. $as_echo "$STRIP" >&6; }
  12137. else
  12138. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  12139. $as_echo "no" >&6; }
  12140. fi
  12141. fi
  12142. if test -z "$ac_cv_prog_STRIP"; then
  12143. ac_ct_STRIP=$STRIP
  12144. # Extract the first word of "strip", so it can be a program name with args.
  12145. set dummy strip; ac_word=$2
  12146. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  12147. $as_echo_n "checking for $ac_word... " >&6; }
  12148. if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
  12149. $as_echo_n "(cached) " >&6
  12150. else
  12151. if test -n "$ac_ct_STRIP"; then
  12152. ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  12153. else
  12154. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  12155. for as_dir in $PATH
  12156. do
  12157. IFS=$as_save_IFS
  12158. test -z "$as_dir" && as_dir=.
  12159. for ac_exec_ext in '' $ac_executable_extensions; do
  12160. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  12161. ac_cv_prog_ac_ct_STRIP="strip"
  12162. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  12163. break 2
  12164. fi
  12165. done
  12166. done
  12167. IFS=$as_save_IFS
  12168. fi
  12169. fi
  12170. ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  12171. if test -n "$ac_ct_STRIP"; then
  12172. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
  12173. $as_echo "$ac_ct_STRIP" >&6; }
  12174. else
  12175. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  12176. $as_echo "no" >&6; }
  12177. fi
  12178. if test "x$ac_ct_STRIP" = x; then
  12179. STRIP=":"
  12180. else
  12181. case $cross_compiling:$ac_tool_warned in
  12182. yes:)
  12183. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  12184. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  12185. ac_tool_warned=yes ;;
  12186. esac
  12187. STRIP=$ac_ct_STRIP
  12188. fi
  12189. else
  12190. STRIP="$ac_cv_prog_STRIP"
  12191. fi
  12192. fi
  12193. INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
  12194. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
  12195. $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
  12196. if test -z "$MKDIR_P"; then
  12197. if test "${ac_cv_path_mkdir+set}" = set; then :
  12198. $as_echo_n "(cached) " >&6
  12199. else
  12200. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  12201. for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
  12202. do
  12203. IFS=$as_save_IFS
  12204. test -z "$as_dir" && as_dir=.
  12205. for ac_prog in mkdir gmkdir; do
  12206. for ac_exec_ext in '' $ac_executable_extensions; do
  12207. { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
  12208. case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
  12209. 'mkdir (GNU coreutils) '* | \
  12210. 'mkdir (coreutils) '* | \
  12211. 'mkdir (fileutils) '4.1*)
  12212. ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
  12213. break 3;;
  12214. esac
  12215. done
  12216. done
  12217. done
  12218. IFS=$as_save_IFS
  12219. fi
  12220. if test "${ac_cv_path_mkdir+set}" = set; then
  12221. MKDIR_P="$ac_cv_path_mkdir -p"
  12222. else
  12223. # As a last resort, use the slow shell script. Don't cache a
  12224. # value for MKDIR_P within a source directory, because that will
  12225. # break other packages using the cache if that directory is
  12226. # removed, or if the value is a relative name.
  12227. test -d ./--version && rmdir ./--version
  12228. MKDIR_P="$ac_install_sh -d"
  12229. fi
  12230. fi
  12231. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
  12232. $as_echo "$MKDIR_P" >&6; }
  12233. mkdir_p="$MKDIR_P"
  12234. case $mkdir_p in
  12235. [\\/$]* | ?:[\\/]*) ;;
  12236. */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
  12237. esac
  12238. for ac_prog in gawk mawk nawk awk
  12239. do
  12240. # Extract the first word of "$ac_prog", so it can be a program name with args.
  12241. set dummy $ac_prog; ac_word=$2
  12242. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  12243. $as_echo_n "checking for $ac_word... " >&6; }
  12244. if test "${ac_cv_prog_AWK+set}" = set; then :
  12245. $as_echo_n "(cached) " >&6
  12246. else
  12247. if test -n "$AWK"; then
  12248. ac_cv_prog_AWK="$AWK" # Let the user override the test.
  12249. else
  12250. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  12251. for as_dir in $PATH
  12252. do
  12253. IFS=$as_save_IFS
  12254. test -z "$as_dir" && as_dir=.
  12255. for ac_exec_ext in '' $ac_executable_extensions; do
  12256. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  12257. ac_cv_prog_AWK="$ac_prog"
  12258. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  12259. break 2
  12260. fi
  12261. done
  12262. done
  12263. IFS=$as_save_IFS
  12264. fi
  12265. fi
  12266. AWK=$ac_cv_prog_AWK
  12267. if test -n "$AWK"; then
  12268. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
  12269. $as_echo "$AWK" >&6; }
  12270. else
  12271. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  12272. $as_echo "no" >&6; }
  12273. fi
  12274. test -n "$AWK" && break
  12275. done
  12276. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
  12277. $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
  12278. set x ${MAKE-make}
  12279. ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
  12280. if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
  12281. $as_echo_n "(cached) " >&6
  12282. else
  12283. cat >conftest.make <<\_ACEOF
  12284. SHELL = /bin/sh
  12285. all:
  12286. @echo '@@@%%%=$(MAKE)=@@@%%%'
  12287. _ACEOF
  12288. # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
  12289. case `${MAKE-make} -f conftest.make 2>/dev/null` in
  12290. *@@@%%%=?*=@@@%%%*)
  12291. eval ac_cv_prog_make_${ac_make}_set=yes;;
  12292. *)
  12293. eval ac_cv_prog_make_${ac_make}_set=no;;
  12294. esac
  12295. rm -f conftest.make
  12296. fi
  12297. if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
  12298. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  12299. $as_echo "yes" >&6; }
  12300. SET_MAKE=
  12301. else
  12302. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  12303. $as_echo "no" >&6; }
  12304. SET_MAKE="MAKE=${MAKE-make}"
  12305. fi
  12306. rm -rf .tst 2>/dev/null
  12307. mkdir .tst 2>/dev/null
  12308. if test -d .tst; then
  12309. am__leading_dot=.
  12310. else
  12311. am__leading_dot=_
  12312. fi
  12313. rmdir .tst 2>/dev/null
  12314. DEPDIR="${am__leading_dot}deps"
  12315. ac_config_commands="$ac_config_commands depfiles"
  12316. am_make=${MAKE-make}
  12317. cat > confinc << 'END'
  12318. am__doit:
  12319. @echo this is the am__doit target
  12320. .PHONY: am__doit
  12321. END
  12322. # If we don't find an include directive, just comment out the code.
  12323. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
  12324. $as_echo_n "checking for style of include used by $am_make... " >&6; }
  12325. am__include="#"
  12326. am__quote=
  12327. _am_result=none
  12328. # First try GNU make style include.
  12329. echo "include confinc" > confmf
  12330. # Ignore all kinds of additional output from `make'.
  12331. case `$am_make -s -f confmf 2> /dev/null` in #(
  12332. *the\ am__doit\ target*)
  12333. am__include=include
  12334. am__quote=
  12335. _am_result=GNU
  12336. ;;
  12337. esac
  12338. # Now try BSD make style include.
  12339. if test "$am__include" = "#"; then
  12340. echo '.include "confinc"' > confmf
  12341. case `$am_make -s -f confmf 2> /dev/null` in #(
  12342. *the\ am__doit\ target*)
  12343. am__include=.include
  12344. am__quote="\""
  12345. _am_result=BSD
  12346. ;;
  12347. esac
  12348. fi
  12349. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
  12350. $as_echo "$_am_result" >&6; }
  12351. rm -f confinc confmf
  12352. # Check whether --enable-dependency-tracking was given.
  12353. if test "${enable_dependency_tracking+set}" = set; then :
  12354. enableval=$enable_dependency_tracking;
  12355. fi
  12356. if test "x$enable_dependency_tracking" != xno; then
  12357. am_depcomp="$ac_aux_dir/depcomp"
  12358. AMDEPBACKSLASH='\'
  12359. fi
  12360. if test "x$enable_dependency_tracking" != xno; then
  12361. AMDEP_TRUE=
  12362. AMDEP_FALSE='#'
  12363. else
  12364. AMDEP_TRUE='#'
  12365. AMDEP_FALSE=
  12366. fi
  12367. if test "`cd $srcdir && pwd`" != "`pwd`"; then
  12368. # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
  12369. # is not polluted with repeated "-I."
  12370. am__isrc=' -I$(srcdir)'
  12371. # test to see if srcdir already configured
  12372. if test -f $srcdir/config.status; then
  12373. as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
  12374. fi
  12375. fi
  12376. # test whether we have cygpath
  12377. if test -z "$CYGPATH_W"; then
  12378. if (cygpath --version) >/dev/null 2>/dev/null; then
  12379. CYGPATH_W='cygpath -w'
  12380. else
  12381. CYGPATH_W=echo
  12382. fi
  12383. fi
  12384. # Define the identity of the package.
  12385. PACKAGE='clish'
  12386. VERSION='1.3.0'
  12387. cat >>confdefs.h <<_ACEOF
  12388. #define PACKAGE "$PACKAGE"
  12389. _ACEOF
  12390. cat >>confdefs.h <<_ACEOF
  12391. #define VERSION "$VERSION"
  12392. _ACEOF
  12393. # Some tools Automake needs.
  12394. ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
  12395. AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
  12396. AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
  12397. AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
  12398. MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
  12399. # We need awk for the "check" target. The system "awk" is bad on
  12400. # some platforms.
  12401. # Always define AMTAR for backward compatibility.
  12402. AMTAR=${AMTAR-"${am_missing_run}tar"}
  12403. am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
  12404. depcc="$CC" am_compiler_list=
  12405. { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
  12406. $as_echo_n "checking dependency style of $depcc... " >&6; }
  12407. if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
  12408. $as_echo_n "(cached) " >&6
  12409. else
  12410. if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  12411. # We make a subdir and do the tests there. Otherwise we can end up
  12412. # making bogus files that we don't know about and never remove. For
  12413. # instance it was reported that on HP-UX the gcc test will end up
  12414. # making a dummy file named `D' -- because `-MD' means `put the output
  12415. # in D'.
  12416. mkdir conftest.dir
  12417. # Copy depcomp to subdir because otherwise we won't find it if we're
  12418. # using a relative directory.
  12419. cp "$am_depcomp" conftest.dir
  12420. cd conftest.dir
  12421. # We will build objects and dependencies in a subdirectory because
  12422. # it helps to detect inapplicable dependency modes. For instance
  12423. # both Tru64's cc and ICC support -MD to output dependencies as a
  12424. # side effect of compilation, but ICC will put the dependencies in
  12425. # the current directory while Tru64 will put them in the object
  12426. # directory.
  12427. mkdir sub
  12428. am_cv_CC_dependencies_compiler_type=none
  12429. if test "$am_compiler_list" = ""; then
  12430. am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  12431. fi
  12432. am__universal=false
  12433. case " $depcc " in #(
  12434. *\ -arch\ *\ -arch\ *) am__universal=true ;;
  12435. esac
  12436. for depmode in $am_compiler_list; do
  12437. # Setup a source with many dependencies, because some compilers
  12438. # like to wrap large dependency lists on column 80 (with \), and
  12439. # we should not choose a depcomp mode which is confused by this.
  12440. #
  12441. # We need to recreate these files for each test, as the compiler may
  12442. # overwrite some of them when testing with obscure command lines.
  12443. # This happens at least with the AIX C compiler.
  12444. : > sub/conftest.c
  12445. for i in 1 2 3 4 5 6; do
  12446. echo '#include "conftst'$i'.h"' >> sub/conftest.c
  12447. # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
  12448. # Solaris 8's {/usr,}/bin/sh.
  12449. touch sub/conftst$i.h
  12450. done
  12451. echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  12452. # We check with `-c' and `-o' for the sake of the "dashmstdout"
  12453. # mode. It turns out that the SunPro C++ compiler does not properly
  12454. # handle `-M -o', and we need to detect this. Also, some Intel
  12455. # versions had trouble with output in subdirs
  12456. am__obj=sub/conftest.${OBJEXT-o}
  12457. am__minus_obj="-o $am__obj"
  12458. case $depmode in
  12459. gcc)
  12460. # This depmode causes a compiler race in universal mode.
  12461. test "$am__universal" = false || continue
  12462. ;;
  12463. nosideeffect)
  12464. # after this tag, mechanisms are not by side-effect, so they'll
  12465. # only be used when explicitly requested
  12466. if test "x$enable_dependency_tracking" = xyes; then
  12467. continue
  12468. else
  12469. break
  12470. fi
  12471. ;;
  12472. msvisualcpp | msvcmsys)
  12473. # This compiler won't grok `-c -o', but also, the minuso test has
  12474. # not run yet. These depmodes are late enough in the game, and
  12475. # so weak that their functioning should not be impacted.
  12476. am__obj=conftest.${OBJEXT-o}
  12477. am__minus_obj=
  12478. ;;
  12479. none) break ;;
  12480. esac
  12481. if depmode=$depmode \
  12482. source=sub/conftest.c object=$am__obj \
  12483. depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  12484. $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
  12485. >/dev/null 2>conftest.err &&
  12486. grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
  12487. grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  12488. grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
  12489. ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  12490. # icc doesn't choke on unknown options, it will just issue warnings
  12491. # or remarks (even with -Werror). So we grep stderr for any message
  12492. # that says an option was ignored or not supported.
  12493. # When given -MP, icc 7.0 and 7.1 complain thusly:
  12494. # icc: Command line warning: ignoring option '-M'; no argument required
  12495. # The diagnosis changed in icc 8.0:
  12496. # icc: Command line remark: option '-MP' not supported
  12497. if (grep 'ignoring option' conftest.err ||
  12498. grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  12499. am_cv_CC_dependencies_compiler_type=$depmode
  12500. break
  12501. fi
  12502. fi
  12503. done
  12504. cd ..
  12505. rm -rf conftest.dir
  12506. else
  12507. am_cv_CC_dependencies_compiler_type=none
  12508. fi
  12509. fi
  12510. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
  12511. $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
  12512. CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  12513. if
  12514. test "x$enable_dependency_tracking" != xno \
  12515. && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  12516. am__fastdepCC_TRUE=
  12517. am__fastdepCC_FALSE='#'
  12518. else
  12519. am__fastdepCC_TRUE='#'
  12520. am__fastdepCC_FALSE=
  12521. fi
  12522. depcc="$CXX" am_compiler_list=
  12523. { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
  12524. $as_echo_n "checking dependency style of $depcc... " >&6; }
  12525. if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
  12526. $as_echo_n "(cached) " >&6
  12527. else
  12528. if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  12529. # We make a subdir and do the tests there. Otherwise we can end up
  12530. # making bogus files that we don't know about and never remove. For
  12531. # instance it was reported that on HP-UX the gcc test will end up
  12532. # making a dummy file named `D' -- because `-MD' means `put the output
  12533. # in D'.
  12534. mkdir conftest.dir
  12535. # Copy depcomp to subdir because otherwise we won't find it if we're
  12536. # using a relative directory.
  12537. cp "$am_depcomp" conftest.dir
  12538. cd conftest.dir
  12539. # We will build objects and dependencies in a subdirectory because
  12540. # it helps to detect inapplicable dependency modes. For instance
  12541. # both Tru64's cc and ICC support -MD to output dependencies as a
  12542. # side effect of compilation, but ICC will put the dependencies in
  12543. # the current directory while Tru64 will put them in the object
  12544. # directory.
  12545. mkdir sub
  12546. am_cv_CXX_dependencies_compiler_type=none
  12547. if test "$am_compiler_list" = ""; then
  12548. am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  12549. fi
  12550. am__universal=false
  12551. case " $depcc " in #(
  12552. *\ -arch\ *\ -arch\ *) am__universal=true ;;
  12553. esac
  12554. for depmode in $am_compiler_list; do
  12555. # Setup a source with many dependencies, because some compilers
  12556. # like to wrap large dependency lists on column 80 (with \), and
  12557. # we should not choose a depcomp mode which is confused by this.
  12558. #
  12559. # We need to recreate these files for each test, as the compiler may
  12560. # overwrite some of them when testing with obscure command lines.
  12561. # This happens at least with the AIX C compiler.
  12562. : > sub/conftest.c
  12563. for i in 1 2 3 4 5 6; do
  12564. echo '#include "conftst'$i'.h"' >> sub/conftest.c
  12565. # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
  12566. # Solaris 8's {/usr,}/bin/sh.
  12567. touch sub/conftst$i.h
  12568. done
  12569. echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  12570. # We check with `-c' and `-o' for the sake of the "dashmstdout"
  12571. # mode. It turns out that the SunPro C++ compiler does not properly
  12572. # handle `-M -o', and we need to detect this. Also, some Intel
  12573. # versions had trouble with output in subdirs
  12574. am__obj=sub/conftest.${OBJEXT-o}
  12575. am__minus_obj="-o $am__obj"
  12576. case $depmode in
  12577. gcc)
  12578. # This depmode causes a compiler race in universal mode.
  12579. test "$am__universal" = false || continue
  12580. ;;
  12581. nosideeffect)
  12582. # after this tag, mechanisms are not by side-effect, so they'll
  12583. # only be used when explicitly requested
  12584. if test "x$enable_dependency_tracking" = xyes; then
  12585. continue
  12586. else
  12587. break
  12588. fi
  12589. ;;
  12590. msvisualcpp | msvcmsys)
  12591. # This compiler won't grok `-c -o', but also, the minuso test has
  12592. # not run yet. These depmodes are late enough in the game, and
  12593. # so weak that their functioning should not be impacted.
  12594. am__obj=conftest.${OBJEXT-o}
  12595. am__minus_obj=
  12596. ;;
  12597. none) break ;;
  12598. esac
  12599. if depmode=$depmode \
  12600. source=sub/conftest.c object=$am__obj \
  12601. depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  12602. $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
  12603. >/dev/null 2>conftest.err &&
  12604. grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
  12605. grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  12606. grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
  12607. ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  12608. # icc doesn't choke on unknown options, it will just issue warnings
  12609. # or remarks (even with -Werror). So we grep stderr for any message
  12610. # that says an option was ignored or not supported.
  12611. # When given -MP, icc 7.0 and 7.1 complain thusly:
  12612. # icc: Command line warning: ignoring option '-M'; no argument required
  12613. # The diagnosis changed in icc 8.0:
  12614. # icc: Command line remark: option '-MP' not supported
  12615. if (grep 'ignoring option' conftest.err ||
  12616. grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  12617. am_cv_CXX_dependencies_compiler_type=$depmode
  12618. break
  12619. fi
  12620. fi
  12621. done
  12622. cd ..
  12623. rm -rf conftest.dir
  12624. else
  12625. am_cv_CXX_dependencies_compiler_type=none
  12626. fi
  12627. fi
  12628. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
  12629. $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
  12630. CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
  12631. if
  12632. test "x$enable_dependency_tracking" != xno \
  12633. && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
  12634. am__fastdepCXX_TRUE=
  12635. am__fastdepCXX_FALSE='#'
  12636. else
  12637. am__fastdepCXX_TRUE='#'
  12638. am__fastdepCXX_FALSE=
  12639. fi
  12640. if test "x$CC" != xcc; then
  12641. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
  12642. $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
  12643. else
  12644. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
  12645. $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
  12646. fi
  12647. set dummy $CC; ac_cc=`$as_echo "$2" |
  12648. sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
  12649. if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
  12650. $as_echo_n "(cached) " >&6
  12651. else
  12652. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12653. /* end confdefs.h. */
  12654. int
  12655. main ()
  12656. {
  12657. ;
  12658. return 0;
  12659. }
  12660. _ACEOF
  12661. # Make sure it works both with $CC and with simple cc.
  12662. # We do the test twice because some compilers refuse to overwrite an
  12663. # existing .o file with -o, though they will create one.
  12664. ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
  12665. rm -f conftest2.*
  12666. if { { case "(($ac_try" in
  12667. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  12668. *) ac_try_echo=$ac_try;;
  12669. esac
  12670. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  12671. $as_echo "$ac_try_echo"; } >&5
  12672. (eval "$ac_try") 2>&5
  12673. ac_status=$?
  12674. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  12675. test $ac_status = 0; } &&
  12676. test -f conftest2.$ac_objext && { { case "(($ac_try" in
  12677. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  12678. *) ac_try_echo=$ac_try;;
  12679. esac
  12680. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  12681. $as_echo "$ac_try_echo"; } >&5
  12682. (eval "$ac_try") 2>&5
  12683. ac_status=$?
  12684. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  12685. test $ac_status = 0; };
  12686. then
  12687. eval ac_cv_prog_cc_${ac_cc}_c_o=yes
  12688. if test "x$CC" != xcc; then
  12689. # Test first that cc exists at all.
  12690. if { ac_try='cc -c conftest.$ac_ext >&5'
  12691. { { case "(($ac_try" in
  12692. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  12693. *) ac_try_echo=$ac_try;;
  12694. esac
  12695. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  12696. $as_echo "$ac_try_echo"; } >&5
  12697. (eval "$ac_try") 2>&5
  12698. ac_status=$?
  12699. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  12700. test $ac_status = 0; }; }; then
  12701. ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
  12702. rm -f conftest2.*
  12703. if { { case "(($ac_try" in
  12704. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  12705. *) ac_try_echo=$ac_try;;
  12706. esac
  12707. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  12708. $as_echo "$ac_try_echo"; } >&5
  12709. (eval "$ac_try") 2>&5
  12710. ac_status=$?
  12711. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  12712. test $ac_status = 0; } &&
  12713. test -f conftest2.$ac_objext && { { case "(($ac_try" in
  12714. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  12715. *) ac_try_echo=$ac_try;;
  12716. esac
  12717. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  12718. $as_echo "$ac_try_echo"; } >&5
  12719. (eval "$ac_try") 2>&5
  12720. ac_status=$?
  12721. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  12722. test $ac_status = 0; };
  12723. then
  12724. # cc works too.
  12725. :
  12726. else
  12727. # cc exists but doesn't like -o.
  12728. eval ac_cv_prog_cc_${ac_cc}_c_o=no
  12729. fi
  12730. fi
  12731. fi
  12732. else
  12733. eval ac_cv_prog_cc_${ac_cc}_c_o=no
  12734. fi
  12735. rm -f core conftest*
  12736. fi
  12737. if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
  12738. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  12739. $as_echo "yes" >&6; }
  12740. else
  12741. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  12742. $as_echo "no" >&6; }
  12743. $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
  12744. fi
  12745. # FIXME: we rely on the cache variable name because
  12746. # there is no other way.
  12747. set dummy $CC
  12748. am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
  12749. eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
  12750. if test "$am_t" != yes; then
  12751. # Losing compiler, so override with the script.
  12752. # FIXME: It is wrong to rewrite CC.
  12753. # But if we don't then we get into trouble of one sort or another.
  12754. # A longer-term fix would be to have automake use am__CC in this case,
  12755. # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
  12756. CC="$am_aux_dir/compile $CC"
  12757. fi
  12758. # needed to handle 64-bit architecture
  12759. # The cast to long int works around a bug in the HP C Compiler
  12760. # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  12761. # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  12762. # This bug is HP SR number 8606223364.
  12763. { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
  12764. $as_echo_n "checking size of int... " >&6; }
  12765. if test "${ac_cv_sizeof_int+set}" = set; then :
  12766. $as_echo_n "(cached) " >&6
  12767. else
  12768. if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
  12769. else
  12770. if test "$ac_cv_type_int" = yes; then
  12771. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  12772. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  12773. { as_fn_set_status 77
  12774. as_fn_error "cannot compute sizeof (int)
  12775. See \`config.log' for more details." "$LINENO" 5; }; }
  12776. else
  12777. ac_cv_sizeof_int=0
  12778. fi
  12779. fi
  12780. fi
  12781. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
  12782. $as_echo "$ac_cv_sizeof_int" >&6; }
  12783. cat >>confdefs.h <<_ACEOF
  12784. #define SIZEOF_INT $ac_cv_sizeof_int
  12785. _ACEOF
  12786. # The cast to long int works around a bug in the HP C Compiler
  12787. # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  12788. # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  12789. # This bug is HP SR number 8606223364.
  12790. { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
  12791. $as_echo_n "checking size of long... " >&6; }
  12792. if test "${ac_cv_sizeof_long+set}" = set; then :
  12793. $as_echo_n "(cached) " >&6
  12794. else
  12795. if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
  12796. else
  12797. if test "$ac_cv_type_long" = yes; then
  12798. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  12799. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  12800. { as_fn_set_status 77
  12801. as_fn_error "cannot compute sizeof (long)
  12802. See \`config.log' for more details." "$LINENO" 5; }; }
  12803. else
  12804. ac_cv_sizeof_long=0
  12805. fi
  12806. fi
  12807. fi
  12808. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
  12809. $as_echo "$ac_cv_sizeof_long" >&6; }
  12810. cat >>confdefs.h <<_ACEOF
  12811. #define SIZEOF_LONG $ac_cv_sizeof_long
  12812. _ACEOF
  12813. # The cast to long int works around a bug in the HP C Compiler
  12814. # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  12815. # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  12816. # This bug is HP SR number 8606223364.
  12817. { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of size_t" >&5
  12818. $as_echo_n "checking size of size_t... " >&6; }
  12819. if test "${ac_cv_sizeof_size_t+set}" = set; then :
  12820. $as_echo_n "(cached) " >&6
  12821. else
  12822. if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (size_t))" "ac_cv_sizeof_size_t" "$ac_includes_default"; then :
  12823. else
  12824. if test "$ac_cv_type_size_t" = yes; then
  12825. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  12826. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  12827. { as_fn_set_status 77
  12828. as_fn_error "cannot compute sizeof (size_t)
  12829. See \`config.log' for more details." "$LINENO" 5; }; }
  12830. else
  12831. ac_cv_sizeof_size_t=0
  12832. fi
  12833. fi
  12834. fi
  12835. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_size_t" >&5
  12836. $as_echo "$ac_cv_sizeof_size_t" >&6; }
  12837. cat >>confdefs.h <<_ACEOF
  12838. #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
  12839. _ACEOF
  12840. #------------------------------------------------------------------------
  12841. # Handle the --prefix=... option
  12842. #------------------------------------------------------------------------
  12843. if test "${prefix}" = "NONE"; then
  12844. prefix=/usr/local
  12845. fi
  12846. if test "${exec_prefix}" = "NONE"; then
  12847. exec_prefix=$prefix
  12848. fi
  12849. # libdir must be a fully qualified path (not ${exec_prefix}/lib)
  12850. eval libdir="$libdir"
  12851. ################################
  12852. # Deal with debugging options
  12853. ################################
  12854. # Check whether --enable-debug was given.
  12855. if test "${enable_debug+set}" = set; then :
  12856. enableval=$enable_debug;
  12857. else
  12858. enable_debug=no
  12859. fi
  12860. if test x$enable_debug = xyes; then
  12861. DEBUG_TRUE=
  12862. DEBUG_FALSE='#'
  12863. else
  12864. DEBUG_TRUE='#'
  12865. DEBUG_FALSE=
  12866. fi
  12867. ################################
  12868. # Check for the LUB library
  12869. ################################
  12870. LUB_LIBS="-llub"
  12871. LUB_CFLAGS=""
  12872. if test "x$LUB_LIBS" = "x"; then
  12873. as_fn_error "Cannot find the \"Little Useful Bits\" library" "$LINENO" 5
  12874. fi
  12875. ################################
  12876. # Check for the KONF library
  12877. ################################
  12878. KONF_LIBS="-lkonf"
  12879. KONF_CFLAGS=""
  12880. if test "x$KONF_LIBS" = "x"; then
  12881. as_fn_error "Cannot find the \"CLI config\" library" "$LINENO" 5
  12882. fi
  12883. ################################
  12884. # Check for the TINYRL library
  12885. ################################
  12886. TINYRL_LIBS="-ltinyrl"
  12887. TINYRL_CFLAGS=""
  12888. if test "x$TINYRL_LIBS" = "x"; then
  12889. as_fn_error "Cannot find the \"Tiny Readline\" library" "$LINENO" 5
  12890. fi
  12891. ################################
  12892. # Check for the TINYXML library
  12893. ################################
  12894. TINYXML_LIBS="-ltinyxml"
  12895. TINYXML_CXXFLAGS="-std=gnu++98"
  12896. if test "x$TINYXML_LIBS" = "x"; then
  12897. as_fn_error "Cannot find the \"Tiny XML\" library" "$LINENO" 5
  12898. fi
  12899. ################################
  12900. # Check for the PTHREAD library
  12901. ################################
  12902. # Check whether --with-pthread was given.
  12903. if test "${with_pthread+set}" = set; then :
  12904. withval=$with_pthread;
  12905. fi
  12906. for ac_header in pthread.h
  12907. do :
  12908. ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
  12909. if test "x$ac_cv_header_pthread_h" = x""yes; then :
  12910. cat >>confdefs.h <<_ACEOF
  12911. #define HAVE_PTHREAD_H 1
  12912. _ACEOF
  12913. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
  12914. $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
  12915. if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then :
  12916. $as_echo_n "(cached) " >&6
  12917. else
  12918. ac_check_lib_save_LIBS=$LIBS
  12919. LIBS="-lpthread $LIBS"
  12920. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12921. /* end confdefs.h. */
  12922. /* Override any GCC internal prototype to avoid an error.
  12923. Use char because int might match the return type of a GCC
  12924. builtin and then its argument prototype would still apply. */
  12925. #ifdef __cplusplus
  12926. extern "C"
  12927. #endif
  12928. char pthread_create ();
  12929. int
  12930. main ()
  12931. {
  12932. return pthread_create ();
  12933. ;
  12934. return 0;
  12935. }
  12936. _ACEOF
  12937. if ac_fn_c_try_link "$LINENO"; then :
  12938. ac_cv_lib_pthread_pthread_create=yes
  12939. else
  12940. ac_cv_lib_pthread_pthread_create=no
  12941. fi
  12942. rm -f core conftest.err conftest.$ac_objext \
  12943. conftest$ac_exeext conftest.$ac_ext
  12944. LIBS=$ac_check_lib_save_LIBS
  12945. fi
  12946. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
  12947. $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
  12948. if test "x$ac_cv_lib_pthread_pthread_create" = x""yes; then :
  12949. $as_echo "#define HAVE_LIBPTHREAD /**/" >>confdefs.h
  12950. if test "x$with_pthread" = "x"; then
  12951. PTHREAD_LIBS="-lpthread"
  12952. else
  12953. PTHREAD_CFLAGS="-I$with_pthread/include"
  12954. PTHREAD_LIBS="-L$with_pthread/lib -lpthread"
  12955. fi
  12956. fi
  12957. fi
  12958. done
  12959. if test "x$PTHREAD_LIBS" = "x"; then
  12960. as_fn_error "Cannot find the POSIX threads library" "$LINENO" 5
  12961. fi
  12962. ################################
  12963. # Check for the RT library
  12964. ################################
  12965. # Check whether --with-rt was given.
  12966. if test "${with_rt+set}" = set; then :
  12967. withval=$with_rt;
  12968. fi
  12969. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
  12970. $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
  12971. if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then :
  12972. $as_echo_n "(cached) " >&6
  12973. else
  12974. ac_check_lib_save_LIBS=$LIBS
  12975. LIBS="-lrt $LIBS"
  12976. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12977. /* end confdefs.h. */
  12978. /* Override any GCC internal prototype to avoid an error.
  12979. Use char because int might match the return type of a GCC
  12980. builtin and then its argument prototype would still apply. */
  12981. #ifdef __cplusplus
  12982. extern "C"
  12983. #endif
  12984. char clock_gettime ();
  12985. int
  12986. main ()
  12987. {
  12988. return clock_gettime ();
  12989. ;
  12990. return 0;
  12991. }
  12992. _ACEOF
  12993. if ac_fn_c_try_link "$LINENO"; then :
  12994. ac_cv_lib_rt_clock_gettime=yes
  12995. else
  12996. ac_cv_lib_rt_clock_gettime=no
  12997. fi
  12998. rm -f core conftest.err conftest.$ac_objext \
  12999. conftest$ac_exeext conftest.$ac_ext
  13000. LIBS=$ac_check_lib_save_LIBS
  13001. fi
  13002. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
  13003. $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
  13004. if test "x$ac_cv_lib_rt_clock_gettime" = x""yes; then :
  13005. $as_echo "#define HAVE_LIBRT /**/" >>confdefs.h
  13006. if test "x$with_rt" = "x"; then
  13007. RT_LIBS="-lrt"
  13008. else
  13009. RT_CFLAGS="-I$with_rt/include"
  13010. RT_LIBS="-L$with_rt/lib -lrt"
  13011. fi
  13012. fi
  13013. ################################
  13014. # Check for the TCL library
  13015. ################################
  13016. TCL_CONFIG=${libdir}/tclConfig.sh
  13017. # Check whether --with-tcl was given.
  13018. if test "${with_tcl+set}" = set; then :
  13019. withval=$with_tcl; if test -e $TCL_CONFIG; then
  13020. source ${TCL_CONFIG} # get TCL_VERSION
  13021. if test "${with_tcl}" = "yes"; then
  13022. TCL_CFLAGS="${TCL_INCLUDE_SPEC}"
  13023. TCL_LIBS="${TCL_LIB_SPEC}"
  13024. else
  13025. TCL_CFLAGS="-I${with_tcl}/include"
  13026. TCL_LIBS="-L${with_tcl}/lib -ltcl"
  13027. fi
  13028. CPPFLAGS="$CPPFLAGS $TCL_CFLAGS"
  13029. for ac_header in tcl.h
  13030. do :
  13031. ac_fn_c_check_header_mongrel "$LINENO" "tcl.h" "ac_cv_header_tcl_h" "$ac_includes_default"
  13032. if test "x$ac_cv_header_tcl_h" = x""yes; then :
  13033. cat >>confdefs.h <<_ACEOF
  13034. #define HAVE_TCL_H 1
  13035. _ACEOF
  13036. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Tcl_CreateInterp in -ltcl" >&5
  13037. $as_echo_n "checking for Tcl_CreateInterp in -ltcl... " >&6; }
  13038. if test "${ac_cv_lib_tcl_Tcl_CreateInterp+set}" = set; then :
  13039. $as_echo_n "(cached) " >&6
  13040. else
  13041. ac_check_lib_save_LIBS=$LIBS
  13042. LIBS="-ltcl $LIBS"
  13043. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13044. /* end confdefs.h. */
  13045. /* Override any GCC internal prototype to avoid an error.
  13046. Use char because int might match the return type of a GCC
  13047. builtin and then its argument prototype would still apply. */
  13048. #ifdef __cplusplus
  13049. extern "C"
  13050. #endif
  13051. char Tcl_CreateInterp ();
  13052. int
  13053. main ()
  13054. {
  13055. return Tcl_CreateInterp ();
  13056. ;
  13057. return 0;
  13058. }
  13059. _ACEOF
  13060. if ac_fn_c_try_link "$LINENO"; then :
  13061. ac_cv_lib_tcl_Tcl_CreateInterp=yes
  13062. else
  13063. ac_cv_lib_tcl_Tcl_CreateInterp=no
  13064. fi
  13065. rm -f core conftest.err conftest.$ac_objext \
  13066. conftest$ac_exeext conftest.$ac_ext
  13067. LIBS=$ac_check_lib_save_LIBS
  13068. fi
  13069. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tcl_Tcl_CreateInterp" >&5
  13070. $as_echo "$ac_cv_lib_tcl_Tcl_CreateInterp" >&6; }
  13071. if test "x$ac_cv_lib_tcl_Tcl_CreateInterp" = x""yes; then :
  13072. $as_echo "#define HAVE_LIBTCL /**/" >>confdefs.h
  13073. fi
  13074. fi
  13075. done
  13076. fi
  13077. fi
  13078. ################################
  13079. # Check for inclusion of lub_heap
  13080. ################################
  13081. # Check whether --enable-lubheap was given.
  13082. if test "${enable_lubheap+set}" = set; then :
  13083. enableval=$enable_lubheap;
  13084. else
  13085. enable_lubheap=no
  13086. fi
  13087. if test x$enable_lubheap = xyes; then
  13088. LUBHEAP_TRUE=
  13089. LUBHEAP_FALSE='#'
  13090. else
  13091. LUBHEAP_TRUE='#'
  13092. LUBHEAP_FALSE=
  13093. fi
  13094. if test "x$enable_lubheap" = "xyes"; then
  13095. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Replacing standard memory libraries with lubheap" >&5
  13096. $as_echo "$as_me: WARNING: Replacing standard memory libraries with lubheap" >&2;}
  13097. LUBHEAP_LIBS="-llubheap"
  13098. LUBHEAP_CFLAGS=""
  13099. if test "x$LUBHEAP_LIBS" = "x"; then
  13100. as_fn_error "Cannot find the \"Little Useful Bits Heap\" library" "$LINENO" 5
  13101. fi
  13102. fi
  13103. ################################
  13104. # Check for linkage with GPL libraries
  13105. ################################
  13106. # Check whether --enable-gpl was given.
  13107. if test "${enable_gpl+set}" = set; then :
  13108. enableval=$enable_gpl;
  13109. else
  13110. enable_gpl=yes
  13111. fi
  13112. if test "x$enable_gpl" = "xyes"; then
  13113. ################################
  13114. # Check for BFD library
  13115. ################################
  13116. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Linking with GPL licence libraries" >&5
  13117. $as_echo "$as_me: WARNING: Linking with GPL licence libraries" >&2;}
  13118. for ac_header in bfd.h
  13119. do :
  13120. ac_fn_c_check_header_mongrel "$LINENO" "bfd.h" "ac_cv_header_bfd_h" "$ac_includes_default"
  13121. if test "x$ac_cv_header_bfd_h" = x""yes; then :
  13122. cat >>confdefs.h <<_ACEOF
  13123. #define HAVE_BFD_H 1
  13124. _ACEOF
  13125. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bfd_init in -lbfd" >&5
  13126. $as_echo_n "checking for bfd_init in -lbfd... " >&6; }
  13127. if test "${ac_cv_lib_bfd_bfd_init+set}" = set; then :
  13128. $as_echo_n "(cached) " >&6
  13129. else
  13130. ac_check_lib_save_LIBS=$LIBS
  13131. LIBS="-lbfd $LIBS"
  13132. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13133. /* end confdefs.h. */
  13134. /* Override any GCC internal prototype to avoid an error.
  13135. Use char because int might match the return type of a GCC
  13136. builtin and then its argument prototype would still apply. */
  13137. #ifdef __cplusplus
  13138. extern "C"
  13139. #endif
  13140. char bfd_init ();
  13141. int
  13142. main ()
  13143. {
  13144. return bfd_init ();
  13145. ;
  13146. return 0;
  13147. }
  13148. _ACEOF
  13149. if ac_fn_c_try_link "$LINENO"; then :
  13150. ac_cv_lib_bfd_bfd_init=yes
  13151. else
  13152. ac_cv_lib_bfd_bfd_init=no
  13153. fi
  13154. rm -f core conftest.err conftest.$ac_objext \
  13155. conftest$ac_exeext conftest.$ac_ext
  13156. LIBS=$ac_check_lib_save_LIBS
  13157. fi
  13158. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfd_bfd_init" >&5
  13159. $as_echo "$ac_cv_lib_bfd_bfd_init" >&6; }
  13160. if test "x$ac_cv_lib_bfd_bfd_init" = x""yes; then :
  13161. $as_echo "#define HAVE_LIBBFD /**/" >>confdefs.h
  13162. BFD_LIBS="-lbfd -liberty"
  13163. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libintl_dgettext in -lintl" >&5
  13164. $as_echo_n "checking for libintl_dgettext in -lintl... " >&6; }
  13165. if test "${ac_cv_lib_intl_libintl_dgettext+set}" = set; then :
  13166. $as_echo_n "(cached) " >&6
  13167. else
  13168. ac_check_lib_save_LIBS=$LIBS
  13169. LIBS="-lintl $LIBS"
  13170. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13171. /* end confdefs.h. */
  13172. /* Override any GCC internal prototype to avoid an error.
  13173. Use char because int might match the return type of a GCC
  13174. builtin and then its argument prototype would still apply. */
  13175. #ifdef __cplusplus
  13176. extern "C"
  13177. #endif
  13178. char libintl_dgettext ();
  13179. int
  13180. main ()
  13181. {
  13182. return libintl_dgettext ();
  13183. ;
  13184. return 0;
  13185. }
  13186. _ACEOF
  13187. if ac_fn_c_try_link "$LINENO"; then :
  13188. ac_cv_lib_intl_libintl_dgettext=yes
  13189. else
  13190. ac_cv_lib_intl_libintl_dgettext=no
  13191. fi
  13192. rm -f core conftest.err conftest.$ac_objext \
  13193. conftest$ac_exeext conftest.$ac_ext
  13194. LIBS=$ac_check_lib_save_LIBS
  13195. fi
  13196. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_libintl_dgettext" >&5
  13197. $as_echo "$ac_cv_lib_intl_libintl_dgettext" >&6; }
  13198. if test "x$ac_cv_lib_intl_libintl_dgettext" = x""yes; then :
  13199. $as_echo "#define HAVE_LIBINTL /**/" >>confdefs.h
  13200. BFD_LIBS="$BFD_LIBS -lintl"
  13201. fi
  13202. fi
  13203. fi
  13204. done
  13205. else
  13206. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Skipping BFD library checks because of GPL Licence" >&5
  13207. $as_echo "$as_me: WARNING: Skipping BFD library checks because of GPL Licence" >&2;}
  13208. fi
  13209. ################################
  13210. # Check for getopt_long()
  13211. ################################
  13212. for ac_header in getopt.h
  13213. do :
  13214. ac_fn_c_check_header_mongrel "$LINENO" "getopt.h" "ac_cv_header_getopt_h" "$ac_includes_default"
  13215. if test "x$ac_cv_header_getopt_h" = x""yes; then :
  13216. cat >>confdefs.h <<_ACEOF
  13217. #define HAVE_GETOPT_H 1
  13218. _ACEOF
  13219. else
  13220. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: getopt.h not found: only short parameters can be used on command line" >&5
  13221. $as_echo "$as_me: WARNING: getopt.h not found: only short parameters can be used on command line" >&2;}
  13222. fi
  13223. done
  13224. ac_config_files="$ac_config_files Makefile"
  13225. cat >confcache <<\_ACEOF
  13226. # This file is a shell script that caches the results of configure
  13227. # tests run on this system so they can be shared between configure
  13228. # scripts and configure runs, see configure's option --config-cache.
  13229. # It is not useful on other systems. If it contains results you don't
  13230. # want to keep, you may remove or edit it.
  13231. #
  13232. # config.status only pays attention to the cache file if you give it
  13233. # the --recheck option to rerun configure.
  13234. #
  13235. # `ac_cv_env_foo' variables (set or unset) will be overridden when
  13236. # loading this file, other *unset* `ac_cv_foo' will be assigned the
  13237. # following values.
  13238. _ACEOF
  13239. # The following way of writing the cache mishandles newlines in values,
  13240. # but we know of no workaround that is simple, portable, and efficient.
  13241. # So, we kill variables containing newlines.
  13242. # Ultrix sh set writes to stderr and can't be redirected directly,
  13243. # and sets the high bit in the cache file unless we assign to the vars.
  13244. (
  13245. for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
  13246. eval ac_val=\$$ac_var
  13247. case $ac_val in #(
  13248. *${as_nl}*)
  13249. case $ac_var in #(
  13250. *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  13251. $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  13252. esac
  13253. case $ac_var in #(
  13254. _ | IFS | as_nl) ;; #(
  13255. BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  13256. *) { eval $ac_var=; unset $ac_var;} ;;
  13257. esac ;;
  13258. esac
  13259. done
  13260. (set) 2>&1 |
  13261. case $as_nl`(ac_space=' '; set) 2>&1` in #(
  13262. *${as_nl}ac_space=\ *)
  13263. # `set' does not quote correctly, so add quotes: double-quote
  13264. # substitution turns \\\\ into \\, and sed turns \\ into \.
  13265. sed -n \
  13266. "s/'/'\\\\''/g;
  13267. s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
  13268. ;; #(
  13269. *)
  13270. # `set' quotes correctly as required by POSIX, so do not add quotes.
  13271. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  13272. ;;
  13273. esac |
  13274. sort
  13275. ) |
  13276. sed '
  13277. /^ac_cv_env_/b end
  13278. t clear
  13279. :clear
  13280. s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
  13281. t end
  13282. s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
  13283. :end' >>confcache
  13284. if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
  13285. if test -w "$cache_file"; then
  13286. test "x$cache_file" != "x/dev/null" &&
  13287. { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
  13288. $as_echo "$as_me: updating cache $cache_file" >&6;}
  13289. cat confcache >$cache_file
  13290. else
  13291. { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
  13292. $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
  13293. fi
  13294. fi
  13295. rm -f confcache
  13296. test "x$prefix" = xNONE && prefix=$ac_default_prefix
  13297. # Let make expand exec_prefix.
  13298. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
  13299. DEFS=-DHAVE_CONFIG_H
  13300. ac_libobjs=
  13301. ac_ltlibobjs=
  13302. for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
  13303. # 1. Remove the extension, and $U if already installed.
  13304. ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
  13305. ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
  13306. # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
  13307. # will be set to the directory where LIBOBJS objects are built.
  13308. as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
  13309. as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
  13310. done
  13311. LIBOBJS=$ac_libobjs
  13312. LTLIBOBJS=$ac_ltlibobjs
  13313. if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
  13314. as_fn_error "conditional \"AMDEP\" was never defined.
  13315. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  13316. fi
  13317. if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
  13318. as_fn_error "conditional \"am__fastdepCC\" was never defined.
  13319. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  13320. fi
  13321. if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
  13322. as_fn_error "conditional \"am__fastdepCXX\" was never defined.
  13323. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  13324. fi
  13325. if test -n "$EXEEXT"; then
  13326. am__EXEEXT_TRUE=
  13327. am__EXEEXT_FALSE='#'
  13328. else
  13329. am__EXEEXT_TRUE='#'
  13330. am__EXEEXT_FALSE=
  13331. fi
  13332. if test -z "${DEBUG_TRUE}" && test -z "${DEBUG_FALSE}"; then
  13333. as_fn_error "conditional \"DEBUG\" was never defined.
  13334. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  13335. fi
  13336. if test -z "${LUBHEAP_TRUE}" && test -z "${LUBHEAP_FALSE}"; then
  13337. as_fn_error "conditional \"LUBHEAP\" was never defined.
  13338. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  13339. fi
  13340. : ${CONFIG_STATUS=./config.status}
  13341. ac_write_fail=0
  13342. ac_clean_files_save=$ac_clean_files
  13343. ac_clean_files="$ac_clean_files $CONFIG_STATUS"
  13344. { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
  13345. $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
  13346. as_write_fail=0
  13347. cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
  13348. #! $SHELL
  13349. # Generated by $as_me.
  13350. # Run this file to recreate the current configuration.
  13351. # Compiler output produced by configure, useful for debugging
  13352. # configure, is in config.log if it exists.
  13353. debug=false
  13354. ac_cs_recheck=false
  13355. ac_cs_silent=false
  13356. SHELL=\${CONFIG_SHELL-$SHELL}
  13357. export SHELL
  13358. _ASEOF
  13359. cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
  13360. ## -------------------- ##
  13361. ## M4sh Initialization. ##
  13362. ## -------------------- ##
  13363. # Be more Bourne compatible
  13364. DUALCASE=1; export DUALCASE # for MKS sh
  13365. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  13366. emulate sh
  13367. NULLCMD=:
  13368. # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  13369. # is contrary to our usage. Disable this feature.
  13370. alias -g '${1+"$@"}'='"$@"'
  13371. setopt NO_GLOB_SUBST
  13372. else
  13373. case `(set -o) 2>/dev/null` in #(
  13374. *posix*) :
  13375. set -o posix ;; #(
  13376. *) :
  13377. ;;
  13378. esac
  13379. fi
  13380. as_nl='
  13381. '
  13382. export as_nl
  13383. # Printing a long string crashes Solaris 7 /usr/bin/printf.
  13384. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  13385. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  13386. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  13387. # Prefer a ksh shell builtin over an external printf program on Solaris,
  13388. # but without wasting forks for bash or zsh.
  13389. if test -z "$BASH_VERSION$ZSH_VERSION" \
  13390. && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
  13391. as_echo='print -r --'
  13392. as_echo_n='print -rn --'
  13393. elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  13394. as_echo='printf %s\n'
  13395. as_echo_n='printf %s'
  13396. else
  13397. if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
  13398. as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
  13399. as_echo_n='/usr/ucb/echo -n'
  13400. else
  13401. as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  13402. as_echo_n_body='eval
  13403. arg=$1;
  13404. case $arg in #(
  13405. *"$as_nl"*)
  13406. expr "X$arg" : "X\\(.*\\)$as_nl";
  13407. arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  13408. esac;
  13409. expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
  13410. '
  13411. export as_echo_n_body
  13412. as_echo_n='sh -c $as_echo_n_body as_echo'
  13413. fi
  13414. export as_echo_body
  13415. as_echo='sh -c $as_echo_body as_echo'
  13416. fi
  13417. # The user is always right.
  13418. if test "${PATH_SEPARATOR+set}" != set; then
  13419. PATH_SEPARATOR=:
  13420. (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  13421. (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  13422. PATH_SEPARATOR=';'
  13423. }
  13424. fi
  13425. # IFS
  13426. # We need space, tab and new line, in precisely that order. Quoting is
  13427. # there to prevent editors from complaining about space-tab.
  13428. # (If _AS_PATH_WALK were called with IFS unset, it would disable word
  13429. # splitting by setting IFS to empty value.)
  13430. IFS=" "" $as_nl"
  13431. # Find who we are. Look in the path if we contain no directory separator.
  13432. case $0 in #((
  13433. *[\\/]* ) as_myself=$0 ;;
  13434. *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  13435. for as_dir in $PATH
  13436. do
  13437. IFS=$as_save_IFS
  13438. test -z "$as_dir" && as_dir=.
  13439. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  13440. done
  13441. IFS=$as_save_IFS
  13442. ;;
  13443. esac
  13444. # We did not find ourselves, most probably we were run as `sh COMMAND'
  13445. # in which case we are not to be found in the path.
  13446. if test "x$as_myself" = x; then
  13447. as_myself=$0
  13448. fi
  13449. if test ! -f "$as_myself"; then
  13450. $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  13451. exit 1
  13452. fi
  13453. # Unset variables that we do not need and which cause bugs (e.g. in
  13454. # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
  13455. # suppresses any "Segmentation fault" message there. '((' could
  13456. # trigger a bug in pdksh 5.2.14.
  13457. for as_var in BASH_ENV ENV MAIL MAILPATH
  13458. do eval test x\${$as_var+set} = xset \
  13459. && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  13460. done
  13461. PS1='$ '
  13462. PS2='> '
  13463. PS4='+ '
  13464. # NLS nuisances.
  13465. LC_ALL=C
  13466. export LC_ALL
  13467. LANGUAGE=C
  13468. export LANGUAGE
  13469. # CDPATH.
  13470. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  13471. # as_fn_error ERROR [LINENO LOG_FD]
  13472. # ---------------------------------
  13473. # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  13474. # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  13475. # script with status $?, using 1 if that was 0.
  13476. as_fn_error ()
  13477. {
  13478. as_status=$?; test $as_status -eq 0 && as_status=1
  13479. if test "$3"; then
  13480. as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  13481. $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
  13482. fi
  13483. $as_echo "$as_me: error: $1" >&2
  13484. as_fn_exit $as_status
  13485. } # as_fn_error
  13486. # as_fn_set_status STATUS
  13487. # -----------------------
  13488. # Set $? to STATUS, without forking.
  13489. as_fn_set_status ()
  13490. {
  13491. return $1
  13492. } # as_fn_set_status
  13493. # as_fn_exit STATUS
  13494. # -----------------
  13495. # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  13496. as_fn_exit ()
  13497. {
  13498. set +e
  13499. as_fn_set_status $1
  13500. exit $1
  13501. } # as_fn_exit
  13502. # as_fn_unset VAR
  13503. # ---------------
  13504. # Portably unset VAR.
  13505. as_fn_unset ()
  13506. {
  13507. { eval $1=; unset $1;}
  13508. }
  13509. as_unset=as_fn_unset
  13510. # as_fn_append VAR VALUE
  13511. # ----------------------
  13512. # Append the text in VALUE to the end of the definition contained in VAR. Take
  13513. # advantage of any shell optimizations that allow amortized linear growth over
  13514. # repeated appends, instead of the typical quadratic growth present in naive
  13515. # implementations.
  13516. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  13517. eval 'as_fn_append ()
  13518. {
  13519. eval $1+=\$2
  13520. }'
  13521. else
  13522. as_fn_append ()
  13523. {
  13524. eval $1=\$$1\$2
  13525. }
  13526. fi # as_fn_append
  13527. # as_fn_arith ARG...
  13528. # ------------------
  13529. # Perform arithmetic evaluation on the ARGs, and store the result in the
  13530. # global $as_val. Take advantage of shells that can avoid forks. The arguments
  13531. # must be portable across $(()) and expr.
  13532. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  13533. eval 'as_fn_arith ()
  13534. {
  13535. as_val=$(( $* ))
  13536. }'
  13537. else
  13538. as_fn_arith ()
  13539. {
  13540. as_val=`expr "$@" || test $? -eq 1`
  13541. }
  13542. fi # as_fn_arith
  13543. if expr a : '\(a\)' >/dev/null 2>&1 &&
  13544. test "X`expr 00001 : '.*\(...\)'`" = X001; then
  13545. as_expr=expr
  13546. else
  13547. as_expr=false
  13548. fi
  13549. if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  13550. as_basename=basename
  13551. else
  13552. as_basename=false
  13553. fi
  13554. if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  13555. as_dirname=dirname
  13556. else
  13557. as_dirname=false
  13558. fi
  13559. as_me=`$as_basename -- "$0" ||
  13560. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  13561. X"$0" : 'X\(//\)$' \| \
  13562. X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  13563. $as_echo X/"$0" |
  13564. sed '/^.*\/\([^/][^/]*\)\/*$/{
  13565. s//\1/
  13566. q
  13567. }
  13568. /^X\/\(\/\/\)$/{
  13569. s//\1/
  13570. q
  13571. }
  13572. /^X\/\(\/\).*/{
  13573. s//\1/
  13574. q
  13575. }
  13576. s/.*/./; q'`
  13577. # Avoid depending upon Character Ranges.
  13578. as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  13579. as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  13580. as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  13581. as_cr_digits='0123456789'
  13582. as_cr_alnum=$as_cr_Letters$as_cr_digits
  13583. ECHO_C= ECHO_N= ECHO_T=
  13584. case `echo -n x` in #(((((
  13585. -n*)
  13586. case `echo 'xy\c'` in
  13587. *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  13588. xy) ECHO_C='\c';;
  13589. *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
  13590. ECHO_T=' ';;
  13591. esac;;
  13592. *)
  13593. ECHO_N='-n';;
  13594. esac
  13595. rm -f conf$$ conf$$.exe conf$$.file
  13596. if test -d conf$$.dir; then
  13597. rm -f conf$$.dir/conf$$.file
  13598. else
  13599. rm -f conf$$.dir
  13600. mkdir conf$$.dir 2>/dev/null
  13601. fi
  13602. if (echo >conf$$.file) 2>/dev/null; then
  13603. if ln -s conf$$.file conf$$ 2>/dev/null; then
  13604. as_ln_s='ln -s'
  13605. # ... but there are two gotchas:
  13606. # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  13607. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  13608. # In both cases, we have to default to `cp -p'.
  13609. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  13610. as_ln_s='cp -p'
  13611. elif ln conf$$.file conf$$ 2>/dev/null; then
  13612. as_ln_s=ln
  13613. else
  13614. as_ln_s='cp -p'
  13615. fi
  13616. else
  13617. as_ln_s='cp -p'
  13618. fi
  13619. rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  13620. rmdir conf$$.dir 2>/dev/null
  13621. # as_fn_mkdir_p
  13622. # -------------
  13623. # Create "$as_dir" as a directory, including parents if necessary.
  13624. as_fn_mkdir_p ()
  13625. {
  13626. case $as_dir in #(
  13627. -*) as_dir=./$as_dir;;
  13628. esac
  13629. test -d "$as_dir" || eval $as_mkdir_p || {
  13630. as_dirs=
  13631. while :; do
  13632. case $as_dir in #(
  13633. *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  13634. *) as_qdir=$as_dir;;
  13635. esac
  13636. as_dirs="'$as_qdir' $as_dirs"
  13637. as_dir=`$as_dirname -- "$as_dir" ||
  13638. $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  13639. X"$as_dir" : 'X\(//\)[^/]' \| \
  13640. X"$as_dir" : 'X\(//\)$' \| \
  13641. X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  13642. $as_echo X"$as_dir" |
  13643. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  13644. s//\1/
  13645. q
  13646. }
  13647. /^X\(\/\/\)[^/].*/{
  13648. s//\1/
  13649. q
  13650. }
  13651. /^X\(\/\/\)$/{
  13652. s//\1/
  13653. q
  13654. }
  13655. /^X\(\/\).*/{
  13656. s//\1/
  13657. q
  13658. }
  13659. s/.*/./; q'`
  13660. test -d "$as_dir" && break
  13661. done
  13662. test -z "$as_dirs" || eval "mkdir $as_dirs"
  13663. } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
  13664. } # as_fn_mkdir_p
  13665. if mkdir -p . 2>/dev/null; then
  13666. as_mkdir_p='mkdir -p "$as_dir"'
  13667. else
  13668. test -d ./-p && rmdir ./-p
  13669. as_mkdir_p=false
  13670. fi
  13671. if test -x / >/dev/null 2>&1; then
  13672. as_test_x='test -x'
  13673. else
  13674. if ls -dL / >/dev/null 2>&1; then
  13675. as_ls_L_option=L
  13676. else
  13677. as_ls_L_option=
  13678. fi
  13679. as_test_x='
  13680. eval sh -c '\''
  13681. if test -d "$1"; then
  13682. test -d "$1/.";
  13683. else
  13684. case $1 in #(
  13685. -*)set "./$1";;
  13686. esac;
  13687. case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
  13688. ???[sx]*):;;*)false;;esac;fi
  13689. '\'' sh
  13690. '
  13691. fi
  13692. as_executable_p=$as_test_x
  13693. # Sed expression to map a string onto a valid CPP name.
  13694. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  13695. # Sed expression to map a string onto a valid variable name.
  13696. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  13697. exec 6>&1
  13698. ## ----------------------------------- ##
  13699. ## Main body of $CONFIG_STATUS script. ##
  13700. ## ----------------------------------- ##
  13701. _ASEOF
  13702. test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
  13703. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  13704. # Save the log message, to keep $0 and so on meaningful, and to
  13705. # report actual input values of CONFIG_FILES etc. instead of their
  13706. # values after options handling.
  13707. ac_log="
  13708. This file was extended by clish $as_me 1.3.0, which was
  13709. generated by GNU Autoconf 2.64. Invocation command line was
  13710. CONFIG_FILES = $CONFIG_FILES
  13711. CONFIG_HEADERS = $CONFIG_HEADERS
  13712. CONFIG_LINKS = $CONFIG_LINKS
  13713. CONFIG_COMMANDS = $CONFIG_COMMANDS
  13714. $ $0 $@
  13715. on `(hostname || uname -n) 2>/dev/null | sed 1q`
  13716. "
  13717. _ACEOF
  13718. case $ac_config_files in *"
  13719. "*) set x $ac_config_files; shift; ac_config_files=$*;;
  13720. esac
  13721. case $ac_config_headers in *"
  13722. "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
  13723. esac
  13724. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  13725. # Files that config.status was made for.
  13726. config_files="$ac_config_files"
  13727. config_headers="$ac_config_headers"
  13728. config_commands="$ac_config_commands"
  13729. _ACEOF
  13730. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  13731. ac_cs_usage="\
  13732. \`$as_me' instantiates files and other configuration actions
  13733. from templates according to the current configuration. Unless the files
  13734. and actions are specified as TAGs, all are instantiated by default.
  13735. Usage: $0 [OPTION]... [TAG]...
  13736. -h, --help print this help, then exit
  13737. -V, --version print version number and configuration settings, then exit
  13738. -q, --quiet, --silent
  13739. do not print progress messages
  13740. -d, --debug don't remove temporary files
  13741. --recheck update $as_me by reconfiguring in the same conditions
  13742. --file=FILE[:TEMPLATE]
  13743. instantiate the configuration file FILE
  13744. --header=FILE[:TEMPLATE]
  13745. instantiate the configuration header FILE
  13746. Configuration files:
  13747. $config_files
  13748. Configuration headers:
  13749. $config_headers
  13750. Configuration commands:
  13751. $config_commands
  13752. Report bugs to <serj.kalichev at gmail dot com>."
  13753. _ACEOF
  13754. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  13755. ac_cs_version="\\
  13756. clish config.status 1.3.0
  13757. configured by $0, generated by GNU Autoconf 2.64,
  13758. with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
  13759. Copyright (C) 2009 Free Software Foundation, Inc.
  13760. This config.status script is free software; the Free Software Foundation
  13761. gives unlimited permission to copy, distribute and modify it."
  13762. ac_pwd='$ac_pwd'
  13763. srcdir='$srcdir'
  13764. INSTALL='$INSTALL'
  13765. MKDIR_P='$MKDIR_P'
  13766. AWK='$AWK'
  13767. test -n "\$AWK" || AWK=awk
  13768. _ACEOF
  13769. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  13770. # The default lists apply if the user does not specify any file.
  13771. ac_need_defaults=:
  13772. while test $# != 0
  13773. do
  13774. case $1 in
  13775. --*=*)
  13776. ac_option=`expr "X$1" : 'X\([^=]*\)='`
  13777. ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
  13778. ac_shift=:
  13779. ;;
  13780. *)
  13781. ac_option=$1
  13782. ac_optarg=$2
  13783. ac_shift=shift
  13784. ;;
  13785. esac
  13786. case $ac_option in
  13787. # Handling of the options.
  13788. -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  13789. ac_cs_recheck=: ;;
  13790. --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
  13791. $as_echo "$ac_cs_version"; exit ;;
  13792. --debug | --debu | --deb | --de | --d | -d )
  13793. debug=: ;;
  13794. --file | --fil | --fi | --f )
  13795. $ac_shift
  13796. case $ac_optarg in
  13797. *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  13798. esac
  13799. as_fn_append CONFIG_FILES " '$ac_optarg'"
  13800. ac_need_defaults=false;;
  13801. --header | --heade | --head | --hea )
  13802. $ac_shift
  13803. case $ac_optarg in
  13804. *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  13805. esac
  13806. as_fn_append CONFIG_HEADERS " '$ac_optarg'"
  13807. ac_need_defaults=false;;
  13808. --he | --h)
  13809. # Conflict between --help and --header
  13810. as_fn_error "ambiguous option: \`$1'
  13811. Try \`$0 --help' for more information.";;
  13812. --help | --hel | -h )
  13813. $as_echo "$ac_cs_usage"; exit ;;
  13814. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  13815. | -silent | --silent | --silen | --sile | --sil | --si | --s)
  13816. ac_cs_silent=: ;;
  13817. # This is an error.
  13818. -*) as_fn_error "unrecognized option: \`$1'
  13819. Try \`$0 --help' for more information." ;;
  13820. *) as_fn_append ac_config_targets " $1"
  13821. ac_need_defaults=false ;;
  13822. esac
  13823. shift
  13824. done
  13825. ac_configure_extra_args=
  13826. if $ac_cs_silent; then
  13827. exec 6>/dev/null
  13828. ac_configure_extra_args="$ac_configure_extra_args --silent"
  13829. fi
  13830. _ACEOF
  13831. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  13832. if \$ac_cs_recheck; then
  13833. set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
  13834. shift
  13835. \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
  13836. CONFIG_SHELL='$SHELL'
  13837. export CONFIG_SHELL
  13838. exec "\$@"
  13839. fi
  13840. _ACEOF
  13841. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  13842. exec 5>>config.log
  13843. {
  13844. echo
  13845. sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
  13846. ## Running $as_me. ##
  13847. _ASBOX
  13848. $as_echo "$ac_log"
  13849. } >&5
  13850. _ACEOF
  13851. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  13852. #
  13853. # INIT-COMMANDS
  13854. #
  13855. # The HP-UX ksh and POSIX shell print the target directory to stdout
  13856. # if CDPATH is set.
  13857. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  13858. sed_quote_subst='$sed_quote_subst'
  13859. double_quote_subst='$double_quote_subst'
  13860. delay_variable_subst='$delay_variable_subst'
  13861. AS='`$ECHO "X$AS" | $Xsed -e "$delay_single_quote_subst"`'
  13862. DLLTOOL='`$ECHO "X$DLLTOOL" | $Xsed -e "$delay_single_quote_subst"`'
  13863. OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
  13864. macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
  13865. macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
  13866. enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
  13867. enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
  13868. pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
  13869. enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
  13870. host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
  13871. host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
  13872. host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
  13873. build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
  13874. build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
  13875. build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
  13876. SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
  13877. Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
  13878. GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
  13879. EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
  13880. FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
  13881. LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
  13882. NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
  13883. LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
  13884. max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
  13885. ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
  13886. exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
  13887. lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
  13888. lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
  13889. lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
  13890. reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
  13891. reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  13892. deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
  13893. file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
  13894. AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
  13895. AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
  13896. STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
  13897. RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
  13898. old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  13899. old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  13900. old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  13901. CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
  13902. CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
  13903. compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
  13904. GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
  13905. lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
  13906. lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
  13907. lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
  13908. lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
  13909. objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
  13910. SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
  13911. ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
  13912. MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
  13913. lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
  13914. lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
  13915. lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
  13916. lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
  13917. lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
  13918. need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
  13919. DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
  13920. NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
  13921. LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
  13922. OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
  13923. OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
  13924. libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
  13925. shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  13926. extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  13927. archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
  13928. enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
  13929. export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
  13930. whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
  13931. compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
  13932. old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  13933. old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  13934. archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  13935. archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  13936. module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  13937. module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  13938. with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
  13939. allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
  13940. no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
  13941. hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
  13942. hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
  13943. hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
  13944. hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
  13945. hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
  13946. hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
  13947. hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
  13948. hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
  13949. inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
  13950. link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
  13951. fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
  13952. always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
  13953. export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  13954. exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
  13955. include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
  13956. prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  13957. file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
  13958. variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
  13959. need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
  13960. need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
  13961. version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
  13962. runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
  13963. shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
  13964. shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
  13965. libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
  13966. library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
  13967. soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
  13968. postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  13969. postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  13970. finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  13971. finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
  13972. hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
  13973. sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
  13974. sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
  13975. hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
  13976. enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
  13977. enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
  13978. enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
  13979. old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
  13980. striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
  13981. compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
  13982. predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
  13983. postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
  13984. predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
  13985. postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
  13986. compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
  13987. LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
  13988. old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
  13989. compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
  13990. GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
  13991. lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
  13992. lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
  13993. lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
  13994. lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
  13995. lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
  13996. archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
  13997. enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
  13998. export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
  13999. whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
  14000. compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
  14001. old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
  14002. old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
  14003. archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
  14004. archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
  14005. module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
  14006. module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
  14007. with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
  14008. allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
  14009. no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
  14010. hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
  14011. hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
  14012. hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
  14013. hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
  14014. hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
  14015. hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
  14016. hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
  14017. hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
  14018. inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
  14019. link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
  14020. fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
  14021. always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
  14022. export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
  14023. exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
  14024. include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
  14025. prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
  14026. file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
  14027. hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
  14028. compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
  14029. predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
  14030. postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
  14031. predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
  14032. postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
  14033. compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
  14034. LTCC='$LTCC'
  14035. LTCFLAGS='$LTCFLAGS'
  14036. compiler='$compiler_DEFAULT'
  14037. # Quote evaled strings.
  14038. for var in SED \
  14039. GREP \
  14040. EGREP \
  14041. FGREP \
  14042. LD \
  14043. NM \
  14044. LN_S \
  14045. lt_SP2NL \
  14046. lt_NL2SP \
  14047. reload_flag \
  14048. deplibs_check_method \
  14049. file_magic_cmd \
  14050. AR \
  14051. AR_FLAGS \
  14052. STRIP \
  14053. RANLIB \
  14054. CC \
  14055. CFLAGS \
  14056. compiler \
  14057. lt_cv_sys_global_symbol_pipe \
  14058. lt_cv_sys_global_symbol_to_cdecl \
  14059. lt_cv_sys_global_symbol_to_c_name_address \
  14060. lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
  14061. SHELL \
  14062. ECHO \
  14063. lt_prog_compiler_no_builtin_flag \
  14064. lt_prog_compiler_wl \
  14065. lt_prog_compiler_pic \
  14066. lt_prog_compiler_static \
  14067. lt_cv_prog_compiler_c_o \
  14068. need_locks \
  14069. DSYMUTIL \
  14070. NMEDIT \
  14071. LIPO \
  14072. OTOOL \
  14073. OTOOL64 \
  14074. shrext_cmds \
  14075. export_dynamic_flag_spec \
  14076. whole_archive_flag_spec \
  14077. compiler_needs_object \
  14078. with_gnu_ld \
  14079. allow_undefined_flag \
  14080. no_undefined_flag \
  14081. hardcode_libdir_flag_spec \
  14082. hardcode_libdir_flag_spec_ld \
  14083. hardcode_libdir_separator \
  14084. fix_srcfile_path \
  14085. exclude_expsyms \
  14086. include_expsyms \
  14087. file_list_spec \
  14088. variables_saved_for_relink \
  14089. libname_spec \
  14090. library_names_spec \
  14091. soname_spec \
  14092. finish_eval \
  14093. old_striplib \
  14094. striplib \
  14095. compiler_lib_search_dirs \
  14096. predep_objects \
  14097. postdep_objects \
  14098. predeps \
  14099. postdeps \
  14100. compiler_lib_search_path \
  14101. LD_CXX \
  14102. compiler_CXX \
  14103. lt_prog_compiler_no_builtin_flag_CXX \
  14104. lt_prog_compiler_wl_CXX \
  14105. lt_prog_compiler_pic_CXX \
  14106. lt_prog_compiler_static_CXX \
  14107. lt_cv_prog_compiler_c_o_CXX \
  14108. export_dynamic_flag_spec_CXX \
  14109. whole_archive_flag_spec_CXX \
  14110. compiler_needs_object_CXX \
  14111. with_gnu_ld_CXX \
  14112. allow_undefined_flag_CXX \
  14113. no_undefined_flag_CXX \
  14114. hardcode_libdir_flag_spec_CXX \
  14115. hardcode_libdir_flag_spec_ld_CXX \
  14116. hardcode_libdir_separator_CXX \
  14117. fix_srcfile_path_CXX \
  14118. exclude_expsyms_CXX \
  14119. include_expsyms_CXX \
  14120. file_list_spec_CXX \
  14121. compiler_lib_search_dirs_CXX \
  14122. predep_objects_CXX \
  14123. postdep_objects_CXX \
  14124. predeps_CXX \
  14125. postdeps_CXX \
  14126. compiler_lib_search_path_CXX; do
  14127. case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
  14128. *[\\\\\\\`\\"\\\$]*)
  14129. eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
  14130. ;;
  14131. *)
  14132. eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
  14133. ;;
  14134. esac
  14135. done
  14136. # Double-quote double-evaled strings.
  14137. for var in reload_cmds \
  14138. old_postinstall_cmds \
  14139. old_postuninstall_cmds \
  14140. old_archive_cmds \
  14141. extract_expsyms_cmds \
  14142. old_archive_from_new_cmds \
  14143. old_archive_from_expsyms_cmds \
  14144. archive_cmds \
  14145. archive_expsym_cmds \
  14146. module_cmds \
  14147. module_expsym_cmds \
  14148. export_symbols_cmds \
  14149. prelink_cmds \
  14150. postinstall_cmds \
  14151. postuninstall_cmds \
  14152. finish_cmds \
  14153. sys_lib_search_path_spec \
  14154. sys_lib_dlsearch_path_spec \
  14155. old_archive_cmds_CXX \
  14156. old_archive_from_new_cmds_CXX \
  14157. old_archive_from_expsyms_cmds_CXX \
  14158. archive_cmds_CXX \
  14159. archive_expsym_cmds_CXX \
  14160. module_cmds_CXX \
  14161. module_expsym_cmds_CXX \
  14162. export_symbols_cmds_CXX \
  14163. prelink_cmds_CXX; do
  14164. case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
  14165. *[\\\\\\\`\\"\\\$]*)
  14166. eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
  14167. ;;
  14168. *)
  14169. eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
  14170. ;;
  14171. esac
  14172. done
  14173. # Fix-up fallback echo if it was mangled by the above quoting rules.
  14174. case \$lt_ECHO in
  14175. *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
  14176. ;;
  14177. esac
  14178. ac_aux_dir='$ac_aux_dir'
  14179. xsi_shell='$xsi_shell'
  14180. lt_shell_append='$lt_shell_append'
  14181. # See if we are running on zsh, and set the options which allow our
  14182. # commands through without removal of \ escapes INIT.
  14183. if test -n "\${ZSH_VERSION+set}" ; then
  14184. setopt NO_GLOB_SUBST
  14185. fi
  14186. PACKAGE='$PACKAGE'
  14187. VERSION='$VERSION'
  14188. TIMESTAMP='$TIMESTAMP'
  14189. RM='$RM'
  14190. ofile='$ofile'
  14191. AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
  14192. _ACEOF
  14193. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  14194. # Handling of arguments.
  14195. for ac_config_target in $ac_config_targets
  14196. do
  14197. case $ac_config_target in
  14198. "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
  14199. "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
  14200. "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
  14201. "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
  14202. *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
  14203. esac
  14204. done
  14205. # If the user did not use the arguments to specify the items to instantiate,
  14206. # then the envvar interface is used. Set only those that are not.
  14207. # We use the long form for the default assignment because of an extremely
  14208. # bizarre bug on SunOS 4.1.3.
  14209. if $ac_need_defaults; then
  14210. test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
  14211. test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
  14212. test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
  14213. fi
  14214. # Have a temporary directory for convenience. Make it in the build tree
  14215. # simply because there is no reason against having it here, and in addition,
  14216. # creating and moving files from /tmp can sometimes cause problems.
  14217. # Hook for its removal unless debugging.
  14218. # Note that there is a small window in which the directory will not be cleaned:
  14219. # after its creation but before its name has been assigned to `$tmp'.
  14220. $debug ||
  14221. {
  14222. tmp=
  14223. trap 'exit_status=$?
  14224. { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
  14225. ' 0
  14226. trap 'as_fn_exit 1' 1 2 13 15
  14227. }
  14228. # Create a (secure) tmp directory for tmp files.
  14229. {
  14230. tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
  14231. test -n "$tmp" && test -d "$tmp"
  14232. } ||
  14233. {
  14234. tmp=./conf$$-$RANDOM
  14235. (umask 077 && mkdir "$tmp")
  14236. } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
  14237. # Set up the scripts for CONFIG_FILES section.
  14238. # No need to generate them if there are no CONFIG_FILES.
  14239. # This happens for instance with `./config.status config.h'.
  14240. if test -n "$CONFIG_FILES"; then
  14241. ac_cr=`echo X | tr X '\015'`
  14242. # On cygwin, bash can eat \r inside `` if the user requested igncr.
  14243. # But we know of no other shell where ac_cr would be empty at this
  14244. # point, so we can use a bashism as a fallback.
  14245. if test "x$ac_cr" = x; then
  14246. eval ac_cr=\$\'\\r\'
  14247. fi
  14248. ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
  14249. if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
  14250. ac_cs_awk_cr='\r'
  14251. else
  14252. ac_cs_awk_cr=$ac_cr
  14253. fi
  14254. echo 'BEGIN {' >"$tmp/subs1.awk" &&
  14255. _ACEOF
  14256. {
  14257. echo "cat >conf$$subs.awk <<_ACEOF" &&
  14258. echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
  14259. echo "_ACEOF"
  14260. } >conf$$subs.sh ||
  14261. as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
  14262. ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
  14263. ac_delim='%!_!# '
  14264. for ac_last_try in false false false false false :; do
  14265. . ./conf$$subs.sh ||
  14266. as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
  14267. ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
  14268. if test $ac_delim_n = $ac_delim_num; then
  14269. break
  14270. elif $ac_last_try; then
  14271. as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
  14272. else
  14273. ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  14274. fi
  14275. done
  14276. rm -f conf$$subs.sh
  14277. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  14278. cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
  14279. _ACEOF
  14280. sed -n '
  14281. h
  14282. s/^/S["/; s/!.*/"]=/
  14283. p
  14284. g
  14285. s/^[^!]*!//
  14286. :repl
  14287. t repl
  14288. s/'"$ac_delim"'$//
  14289. t delim
  14290. :nl
  14291. h
  14292. s/\(.\{148\}\).*/\1/
  14293. t more1
  14294. s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
  14295. p
  14296. n
  14297. b repl
  14298. :more1
  14299. s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  14300. p
  14301. g
  14302. s/.\{148\}//
  14303. t nl
  14304. :delim
  14305. h
  14306. s/\(.\{148\}\).*/\1/
  14307. t more2
  14308. s/["\\]/\\&/g; s/^/"/; s/$/"/
  14309. p
  14310. b
  14311. :more2
  14312. s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  14313. p
  14314. g
  14315. s/.\{148\}//
  14316. t delim
  14317. ' <conf$$subs.awk | sed '
  14318. /^[^""]/{
  14319. N
  14320. s/\n//
  14321. }
  14322. ' >>$CONFIG_STATUS || ac_write_fail=1
  14323. rm -f conf$$subs.awk
  14324. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  14325. _ACAWK
  14326. cat >>"\$tmp/subs1.awk" <<_ACAWK &&
  14327. for (key in S) S_is_set[key] = 1
  14328. FS = ""
  14329. }
  14330. {
  14331. line = $ 0
  14332. nfields = split(line, field, "@")
  14333. substed = 0
  14334. len = length(field[1])
  14335. for (i = 2; i < nfields; i++) {
  14336. key = field[i]
  14337. keylen = length(key)
  14338. if (S_is_set[key]) {
  14339. value = S[key]
  14340. line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
  14341. len += length(value) + length(field[++i])
  14342. substed = 1
  14343. } else
  14344. len += 1 + keylen
  14345. }
  14346. print line
  14347. }
  14348. _ACAWK
  14349. _ACEOF
  14350. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  14351. if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
  14352. sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
  14353. else
  14354. cat
  14355. fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
  14356. || as_fn_error "could not setup config files machinery" "$LINENO" 5
  14357. _ACEOF
  14358. # VPATH may cause trouble with some makes, so we remove $(srcdir),
  14359. # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
  14360. # trailing colons and then remove the whole line if VPATH becomes empty
  14361. # (actually we leave an empty line to preserve line numbers).
  14362. if test "x$srcdir" = x.; then
  14363. ac_vpsub='/^[ ]*VPATH[ ]*=/{
  14364. s/:*\$(srcdir):*/:/
  14365. s/:*\${srcdir}:*/:/
  14366. s/:*@srcdir@:*/:/
  14367. s/^\([^=]*=[ ]*\):*/\1/
  14368. s/:*$//
  14369. s/^[^=]*=[ ]*$//
  14370. }'
  14371. fi
  14372. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  14373. fi # test -n "$CONFIG_FILES"
  14374. # Set up the scripts for CONFIG_HEADERS section.
  14375. # No need to generate them if there are no CONFIG_HEADERS.
  14376. # This happens for instance with `./config.status Makefile'.
  14377. if test -n "$CONFIG_HEADERS"; then
  14378. cat >"$tmp/defines.awk" <<\_ACAWK ||
  14379. BEGIN {
  14380. _ACEOF
  14381. # Transform confdefs.h into an awk script `defines.awk', embedded as
  14382. # here-document in config.status, that substitutes the proper values into
  14383. # config.h.in to produce config.h.
  14384. # Create a delimiter string that does not exist in confdefs.h, to ease
  14385. # handling of long lines.
  14386. ac_delim='%!_!# '
  14387. for ac_last_try in false false :; do
  14388. ac_t=`sed -n "/$ac_delim/p" confdefs.h`
  14389. if test -z "$ac_t"; then
  14390. break
  14391. elif $ac_last_try; then
  14392. as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
  14393. else
  14394. ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  14395. fi
  14396. done
  14397. # For the awk script, D is an array of macro values keyed by name,
  14398. # likewise P contains macro parameters if any. Preserve backslash
  14399. # newline sequences.
  14400. ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
  14401. sed -n '
  14402. s/.\{148\}/&'"$ac_delim"'/g
  14403. t rset
  14404. :rset
  14405. s/^[ ]*#[ ]*define[ ][ ]*/ /
  14406. t def
  14407. d
  14408. :def
  14409. s/\\$//
  14410. t bsnl
  14411. s/["\\]/\\&/g
  14412. s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
  14413. D["\1"]=" \3"/p
  14414. s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
  14415. d
  14416. :bsnl
  14417. s/["\\]/\\&/g
  14418. s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
  14419. D["\1"]=" \3\\\\\\n"\\/p
  14420. t cont
  14421. s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
  14422. t cont
  14423. d
  14424. :cont
  14425. n
  14426. s/.\{148\}/&'"$ac_delim"'/g
  14427. t clear
  14428. :clear
  14429. s/\\$//
  14430. t bsnlc
  14431. s/["\\]/\\&/g; s/^/"/; s/$/"/p
  14432. d
  14433. :bsnlc
  14434. s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
  14435. b cont
  14436. ' <confdefs.h | sed '
  14437. s/'"$ac_delim"'/"\\\
  14438. "/g' >>$CONFIG_STATUS || ac_write_fail=1
  14439. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  14440. for (key in D) D_is_set[key] = 1
  14441. FS = ""
  14442. }
  14443. /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
  14444. line = \$ 0
  14445. split(line, arg, " ")
  14446. if (arg[1] == "#") {
  14447. defundef = arg[2]
  14448. mac1 = arg[3]
  14449. } else {
  14450. defundef = substr(arg[1], 2)
  14451. mac1 = arg[2]
  14452. }
  14453. split(mac1, mac2, "(") #)
  14454. macro = mac2[1]
  14455. prefix = substr(line, 1, index(line, defundef) - 1)
  14456. if (D_is_set[macro]) {
  14457. # Preserve the white space surrounding the "#".
  14458. print prefix "define", macro P[macro] D[macro]
  14459. next
  14460. } else {
  14461. # Replace #undef with comments. This is necessary, for example,
  14462. # in the case of _POSIX_SOURCE, which is predefined and required
  14463. # on some systems where configure will not decide to define it.
  14464. if (defundef == "undef") {
  14465. print "/*", prefix defundef, macro, "*/"
  14466. next
  14467. }
  14468. }
  14469. }
  14470. { print }
  14471. _ACAWK
  14472. _ACEOF
  14473. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  14474. as_fn_error "could not setup config headers machinery" "$LINENO" 5
  14475. fi # test -n "$CONFIG_HEADERS"
  14476. eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
  14477. shift
  14478. for ac_tag
  14479. do
  14480. case $ac_tag in
  14481. :[FHLC]) ac_mode=$ac_tag; continue;;
  14482. esac
  14483. case $ac_mode$ac_tag in
  14484. :[FHL]*:*);;
  14485. :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
  14486. :[FH]-) ac_tag=-:-;;
  14487. :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
  14488. esac
  14489. ac_save_IFS=$IFS
  14490. IFS=:
  14491. set x $ac_tag
  14492. IFS=$ac_save_IFS
  14493. shift
  14494. ac_file=$1
  14495. shift
  14496. case $ac_mode in
  14497. :L) ac_source=$1;;
  14498. :[FH])
  14499. ac_file_inputs=
  14500. for ac_f
  14501. do
  14502. case $ac_f in
  14503. -) ac_f="$tmp/stdin";;
  14504. *) # Look for the file first in the build tree, then in the source tree
  14505. # (if the path is not absolute). The absolute path cannot be DOS-style,
  14506. # because $ac_f cannot contain `:'.
  14507. test -f "$ac_f" ||
  14508. case $ac_f in
  14509. [\\/$]*) false;;
  14510. *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
  14511. esac ||
  14512. as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
  14513. esac
  14514. case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
  14515. as_fn_append ac_file_inputs " '$ac_f'"
  14516. done
  14517. # Let's still pretend it is `configure' which instantiates (i.e., don't
  14518. # use $as_me), people would be surprised to read:
  14519. # /* config.h. Generated by config.status. */
  14520. configure_input='Generated from '`
  14521. $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
  14522. `' by configure.'
  14523. if test x"$ac_file" != x-; then
  14524. configure_input="$ac_file. $configure_input"
  14525. { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
  14526. $as_echo "$as_me: creating $ac_file" >&6;}
  14527. fi
  14528. # Neutralize special characters interpreted by sed in replacement strings.
  14529. case $configure_input in #(
  14530. *\&* | *\|* | *\\* )
  14531. ac_sed_conf_input=`$as_echo "$configure_input" |
  14532. sed 's/[\\\\&|]/\\\\&/g'`;; #(
  14533. *) ac_sed_conf_input=$configure_input;;
  14534. esac
  14535. case $ac_tag in
  14536. *:-:* | *:-) cat >"$tmp/stdin" \
  14537. || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
  14538. esac
  14539. ;;
  14540. esac
  14541. ac_dir=`$as_dirname -- "$ac_file" ||
  14542. $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  14543. X"$ac_file" : 'X\(//\)[^/]' \| \
  14544. X"$ac_file" : 'X\(//\)$' \| \
  14545. X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
  14546. $as_echo X"$ac_file" |
  14547. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  14548. s//\1/
  14549. q
  14550. }
  14551. /^X\(\/\/\)[^/].*/{
  14552. s//\1/
  14553. q
  14554. }
  14555. /^X\(\/\/\)$/{
  14556. s//\1/
  14557. q
  14558. }
  14559. /^X\(\/\).*/{
  14560. s//\1/
  14561. q
  14562. }
  14563. s/.*/./; q'`
  14564. as_dir="$ac_dir"; as_fn_mkdir_p
  14565. ac_builddir=.
  14566. case "$ac_dir" in
  14567. .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  14568. *)
  14569. ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  14570. # A ".." for each directory in $ac_dir_suffix.
  14571. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  14572. case $ac_top_builddir_sub in
  14573. "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  14574. *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  14575. esac ;;
  14576. esac
  14577. ac_abs_top_builddir=$ac_pwd
  14578. ac_abs_builddir=$ac_pwd$ac_dir_suffix
  14579. # for backward compatibility:
  14580. ac_top_builddir=$ac_top_build_prefix
  14581. case $srcdir in
  14582. .) # We are building in place.
  14583. ac_srcdir=.
  14584. ac_top_srcdir=$ac_top_builddir_sub
  14585. ac_abs_top_srcdir=$ac_pwd ;;
  14586. [\\/]* | ?:[\\/]* ) # Absolute name.
  14587. ac_srcdir=$srcdir$ac_dir_suffix;
  14588. ac_top_srcdir=$srcdir
  14589. ac_abs_top_srcdir=$srcdir ;;
  14590. *) # Relative name.
  14591. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  14592. ac_top_srcdir=$ac_top_build_prefix$srcdir
  14593. ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  14594. esac
  14595. ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  14596. case $ac_mode in
  14597. :F)
  14598. #
  14599. # CONFIG_FILE
  14600. #
  14601. case $INSTALL in
  14602. [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
  14603. *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
  14604. esac
  14605. ac_MKDIR_P=$MKDIR_P
  14606. case $MKDIR_P in
  14607. [\\/$]* | ?:[\\/]* ) ;;
  14608. */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
  14609. esac
  14610. _ACEOF
  14611. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  14612. # If the template does not know about datarootdir, expand it.
  14613. # FIXME: This hack should be removed a few years after 2.60.
  14614. ac_datarootdir_hack=; ac_datarootdir_seen=
  14615. ac_sed_dataroot='
  14616. /datarootdir/ {
  14617. p
  14618. q
  14619. }
  14620. /@datadir@/p
  14621. /@docdir@/p
  14622. /@infodir@/p
  14623. /@localedir@/p
  14624. /@mandir@/p'
  14625. case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
  14626. *datarootdir*) ac_datarootdir_seen=yes;;
  14627. *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
  14628. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
  14629. $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
  14630. _ACEOF
  14631. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  14632. ac_datarootdir_hack='
  14633. s&@datadir@&$datadir&g
  14634. s&@docdir@&$docdir&g
  14635. s&@infodir@&$infodir&g
  14636. s&@localedir@&$localedir&g
  14637. s&@mandir@&$mandir&g
  14638. s&\\\${datarootdir}&$datarootdir&g' ;;
  14639. esac
  14640. _ACEOF
  14641. # Neutralize VPATH when `$srcdir' = `.'.
  14642. # Shell code in configure.ac might set extrasub.
  14643. # FIXME: do we really want to maintain this feature?
  14644. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  14645. ac_sed_extra="$ac_vpsub
  14646. $extrasub
  14647. _ACEOF
  14648. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  14649. :t
  14650. /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
  14651. s|@configure_input@|$ac_sed_conf_input|;t t
  14652. s&@top_builddir@&$ac_top_builddir_sub&;t t
  14653. s&@top_build_prefix@&$ac_top_build_prefix&;t t
  14654. s&@srcdir@&$ac_srcdir&;t t
  14655. s&@abs_srcdir@&$ac_abs_srcdir&;t t
  14656. s&@top_srcdir@&$ac_top_srcdir&;t t
  14657. s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
  14658. s&@builddir@&$ac_builddir&;t t
  14659. s&@abs_builddir@&$ac_abs_builddir&;t t
  14660. s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
  14661. s&@INSTALL@&$ac_INSTALL&;t t
  14662. s&@MKDIR_P@&$ac_MKDIR_P&;t t
  14663. $ac_datarootdir_hack
  14664. "
  14665. eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
  14666. || as_fn_error "could not create $ac_file" "$LINENO" 5
  14667. test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
  14668. { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
  14669. { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
  14670. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  14671. which seems to be undefined. Please make sure it is defined." >&5
  14672. $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  14673. which seems to be undefined. Please make sure it is defined." >&2;}
  14674. rm -f "$tmp/stdin"
  14675. case $ac_file in
  14676. -) cat "$tmp/out" && rm -f "$tmp/out";;
  14677. *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
  14678. esac \
  14679. || as_fn_error "could not create $ac_file" "$LINENO" 5
  14680. ;;
  14681. :H)
  14682. #
  14683. # CONFIG_HEADER
  14684. #
  14685. if test x"$ac_file" != x-; then
  14686. {
  14687. $as_echo "/* $configure_input */" \
  14688. && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
  14689. } >"$tmp/config.h" \
  14690. || as_fn_error "could not create $ac_file" "$LINENO" 5
  14691. if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
  14692. { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
  14693. $as_echo "$as_me: $ac_file is unchanged" >&6;}
  14694. else
  14695. rm -f "$ac_file"
  14696. mv "$tmp/config.h" "$ac_file" \
  14697. || as_fn_error "could not create $ac_file" "$LINENO" 5
  14698. fi
  14699. else
  14700. $as_echo "/* $configure_input */" \
  14701. && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
  14702. || as_fn_error "could not create -" "$LINENO" 5
  14703. fi
  14704. # Compute "$ac_file"'s index in $config_headers.
  14705. _am_arg="$ac_file"
  14706. _am_stamp_count=1
  14707. for _am_header in $config_headers :; do
  14708. case $_am_header in
  14709. $_am_arg | $_am_arg:* )
  14710. break ;;
  14711. * )
  14712. _am_stamp_count=`expr $_am_stamp_count + 1` ;;
  14713. esac
  14714. done
  14715. echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
  14716. $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  14717. X"$_am_arg" : 'X\(//\)[^/]' \| \
  14718. X"$_am_arg" : 'X\(//\)$' \| \
  14719. X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
  14720. $as_echo X"$_am_arg" |
  14721. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  14722. s//\1/
  14723. q
  14724. }
  14725. /^X\(\/\/\)[^/].*/{
  14726. s//\1/
  14727. q
  14728. }
  14729. /^X\(\/\/\)$/{
  14730. s//\1/
  14731. q
  14732. }
  14733. /^X\(\/\).*/{
  14734. s//\1/
  14735. q
  14736. }
  14737. s/.*/./; q'`/stamp-h$_am_stamp_count
  14738. ;;
  14739. :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
  14740. $as_echo "$as_me: executing $ac_file commands" >&6;}
  14741. ;;
  14742. esac
  14743. case $ac_file$ac_mode in
  14744. "libtool":C)
  14745. # See if we are running on zsh, and set the options which allow our
  14746. # commands through without removal of \ escapes.
  14747. if test -n "${ZSH_VERSION+set}" ; then
  14748. setopt NO_GLOB_SUBST
  14749. fi
  14750. cfgfile="${ofile}T"
  14751. trap "$RM \"$cfgfile\"; exit 1" 1 2 15
  14752. $RM "$cfgfile"
  14753. cat <<_LT_EOF >> "$cfgfile"
  14754. #! $SHELL
  14755. # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
  14756. # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
  14757. # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
  14758. # NOTE: Changes made to this file will be lost: look at ltmain.sh.
  14759. #
  14760. # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
  14761. # 2006, 2007, 2008 Free Software Foundation, Inc.
  14762. # Written by Gordon Matzigkeit, 1996
  14763. #
  14764. # This file is part of GNU Libtool.
  14765. #
  14766. # GNU Libtool is free software; you can redistribute it and/or
  14767. # modify it under the terms of the GNU General Public License as
  14768. # published by the Free Software Foundation; either version 2 of
  14769. # the License, or (at your option) any later version.
  14770. #
  14771. # As a special exception to the GNU General Public License,
  14772. # if you distribute this file as part of a program or library that
  14773. # is built using GNU Libtool, you may include this file under the
  14774. # same distribution terms that you use for the rest of that program.
  14775. #
  14776. # GNU Libtool is distributed in the hope that it will be useful,
  14777. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  14778. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  14779. # GNU General Public License for more details.
  14780. #
  14781. # You should have received a copy of the GNU General Public License
  14782. # along with GNU Libtool; see the file COPYING. If not, a copy
  14783. # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
  14784. # obtained by writing to the Free Software Foundation, Inc.,
  14785. # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  14786. # The names of the tagged configurations supported by this script.
  14787. available_tags="CXX "
  14788. # ### BEGIN LIBTOOL CONFIG
  14789. # Assembler program.
  14790. AS=$AS
  14791. # DLL creation program.
  14792. DLLTOOL=$DLLTOOL
  14793. # Object dumper program.
  14794. OBJDUMP=$OBJDUMP
  14795. # Which release of libtool.m4 was used?
  14796. macro_version=$macro_version
  14797. macro_revision=$macro_revision
  14798. # Whether or not to build shared libraries.
  14799. build_libtool_libs=$enable_shared
  14800. # Whether or not to build static libraries.
  14801. build_old_libs=$enable_static
  14802. # What type of objects to build.
  14803. pic_mode=$pic_mode
  14804. # Whether or not to optimize for fast installation.
  14805. fast_install=$enable_fast_install
  14806. # The host system.
  14807. host_alias=$host_alias
  14808. host=$host
  14809. host_os=$host_os
  14810. # The build system.
  14811. build_alias=$build_alias
  14812. build=$build
  14813. build_os=$build_os
  14814. # A sed program that does not truncate output.
  14815. SED=$lt_SED
  14816. # Sed that helps us avoid accidentally triggering echo(1) options like -n.
  14817. Xsed="\$SED -e 1s/^X//"
  14818. # A grep program that handles long lines.
  14819. GREP=$lt_GREP
  14820. # An ERE matcher.
  14821. EGREP=$lt_EGREP
  14822. # A literal string matcher.
  14823. FGREP=$lt_FGREP
  14824. # A BSD- or MS-compatible name lister.
  14825. NM=$lt_NM
  14826. # Whether we need soft or hard links.
  14827. LN_S=$lt_LN_S
  14828. # What is the maximum length of a command?
  14829. max_cmd_len=$max_cmd_len
  14830. # Object file suffix (normally "o").
  14831. objext=$ac_objext
  14832. # Executable file suffix (normally "").
  14833. exeext=$exeext
  14834. # whether the shell understands "unset".
  14835. lt_unset=$lt_unset
  14836. # turn spaces into newlines.
  14837. SP2NL=$lt_lt_SP2NL
  14838. # turn newlines into spaces.
  14839. NL2SP=$lt_lt_NL2SP
  14840. # How to create reloadable object files.
  14841. reload_flag=$lt_reload_flag
  14842. reload_cmds=$lt_reload_cmds
  14843. # Method to check whether dependent libraries are shared objects.
  14844. deplibs_check_method=$lt_deplibs_check_method
  14845. # Command to use when deplibs_check_method == "file_magic".
  14846. file_magic_cmd=$lt_file_magic_cmd
  14847. # The archiver.
  14848. AR=$lt_AR
  14849. AR_FLAGS=$lt_AR_FLAGS
  14850. # A symbol stripping program.
  14851. STRIP=$lt_STRIP
  14852. # Commands used to install an old-style archive.
  14853. RANLIB=$lt_RANLIB
  14854. old_postinstall_cmds=$lt_old_postinstall_cmds
  14855. old_postuninstall_cmds=$lt_old_postuninstall_cmds
  14856. # A C compiler.
  14857. LTCC=$lt_CC
  14858. # LTCC compiler flags.
  14859. LTCFLAGS=$lt_CFLAGS
  14860. # Take the output of nm and produce a listing of raw symbols and C names.
  14861. global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
  14862. # Transform the output of nm in a proper C declaration.
  14863. global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
  14864. # Transform the output of nm in a C name address pair.
  14865. global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
  14866. # Transform the output of nm in a C name address pair when lib prefix is needed.
  14867. global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
  14868. # The name of the directory that contains temporary libtool files.
  14869. objdir=$objdir
  14870. # Shell to use when invoking shell scripts.
  14871. SHELL=$lt_SHELL
  14872. # An echo program that does not interpret backslashes.
  14873. ECHO=$lt_ECHO
  14874. # Used to examine libraries when file_magic_cmd begins with "file".
  14875. MAGIC_CMD=$MAGIC_CMD
  14876. # Must we lock files when doing compilation?
  14877. need_locks=$lt_need_locks
  14878. # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
  14879. DSYMUTIL=$lt_DSYMUTIL
  14880. # Tool to change global to local symbols on Mac OS X.
  14881. NMEDIT=$lt_NMEDIT
  14882. # Tool to manipulate fat objects and archives on Mac OS X.
  14883. LIPO=$lt_LIPO
  14884. # ldd/readelf like tool for Mach-O binaries on Mac OS X.
  14885. OTOOL=$lt_OTOOL
  14886. # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
  14887. OTOOL64=$lt_OTOOL64
  14888. # Old archive suffix (normally "a").
  14889. libext=$libext
  14890. # Shared library suffix (normally ".so").
  14891. shrext_cmds=$lt_shrext_cmds
  14892. # The commands to extract the exported symbol list from a shared archive.
  14893. extract_expsyms_cmds=$lt_extract_expsyms_cmds
  14894. # Variables whose values should be saved in libtool wrapper scripts and
  14895. # restored at link time.
  14896. variables_saved_for_relink=$lt_variables_saved_for_relink
  14897. # Do we need the "lib" prefix for modules?
  14898. need_lib_prefix=$need_lib_prefix
  14899. # Do we need a version for libraries?
  14900. need_version=$need_version
  14901. # Library versioning type.
  14902. version_type=$version_type
  14903. # Shared library runtime path variable.
  14904. runpath_var=$runpath_var
  14905. # Shared library path variable.
  14906. shlibpath_var=$shlibpath_var
  14907. # Is shlibpath searched before the hard-coded library search path?
  14908. shlibpath_overrides_runpath=$shlibpath_overrides_runpath
  14909. # Format of library name prefix.
  14910. libname_spec=$lt_libname_spec
  14911. # List of archive names. First name is the real one, the rest are links.
  14912. # The last name is the one that the linker finds with -lNAME
  14913. library_names_spec=$lt_library_names_spec
  14914. # The coded name of the library, if different from the real name.
  14915. soname_spec=$lt_soname_spec
  14916. # Command to use after installation of a shared archive.
  14917. postinstall_cmds=$lt_postinstall_cmds
  14918. # Command to use after uninstallation of a shared archive.
  14919. postuninstall_cmds=$lt_postuninstall_cmds
  14920. # Commands used to finish a libtool library installation in a directory.
  14921. finish_cmds=$lt_finish_cmds
  14922. # As "finish_cmds", except a single script fragment to be evaled but
  14923. # not shown.
  14924. finish_eval=$lt_finish_eval
  14925. # Whether we should hardcode library paths into libraries.
  14926. hardcode_into_libs=$hardcode_into_libs
  14927. # Compile-time system search path for libraries.
  14928. sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
  14929. # Run-time system search path for libraries.
  14930. sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
  14931. # Whether dlopen is supported.
  14932. dlopen_support=$enable_dlopen
  14933. # Whether dlopen of programs is supported.
  14934. dlopen_self=$enable_dlopen_self
  14935. # Whether dlopen of statically linked programs is supported.
  14936. dlopen_self_static=$enable_dlopen_self_static
  14937. # Commands to strip libraries.
  14938. old_striplib=$lt_old_striplib
  14939. striplib=$lt_striplib
  14940. # The linker used to build libraries.
  14941. LD=$lt_LD
  14942. # Commands used to build an old-style archive.
  14943. old_archive_cmds=$lt_old_archive_cmds
  14944. # A language specific compiler.
  14945. CC=$lt_compiler
  14946. # Is the compiler the GNU compiler?
  14947. with_gcc=$GCC
  14948. # Compiler flag to turn off builtin functions.
  14949. no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
  14950. # How to pass a linker flag through the compiler.
  14951. wl=$lt_lt_prog_compiler_wl
  14952. # Additional compiler flags for building library objects.
  14953. pic_flag=$lt_lt_prog_compiler_pic
  14954. # Compiler flag to prevent dynamic linking.
  14955. link_static_flag=$lt_lt_prog_compiler_static
  14956. # Does compiler simultaneously support -c and -o options?
  14957. compiler_c_o=$lt_lt_cv_prog_compiler_c_o
  14958. # Whether or not to add -lc for building shared libraries.
  14959. build_libtool_need_lc=$archive_cmds_need_lc
  14960. # Whether or not to disallow shared libs when runtime libs are static.
  14961. allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
  14962. # Compiler flag to allow reflexive dlopens.
  14963. export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
  14964. # Compiler flag to generate shared objects directly from archives.
  14965. whole_archive_flag_spec=$lt_whole_archive_flag_spec
  14966. # Whether the compiler copes with passing no objects directly.
  14967. compiler_needs_object=$lt_compiler_needs_object
  14968. # Create an old-style archive from a shared archive.
  14969. old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
  14970. # Create a temporary old-style archive to link instead of a shared archive.
  14971. old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
  14972. # Commands used to build a shared archive.
  14973. archive_cmds=$lt_archive_cmds
  14974. archive_expsym_cmds=$lt_archive_expsym_cmds
  14975. # Commands used to build a loadable module if different from building
  14976. # a shared archive.
  14977. module_cmds=$lt_module_cmds
  14978. module_expsym_cmds=$lt_module_expsym_cmds
  14979. # Whether we are building with GNU ld or not.
  14980. with_gnu_ld=$lt_with_gnu_ld
  14981. # Flag that allows shared libraries with undefined symbols to be built.
  14982. allow_undefined_flag=$lt_allow_undefined_flag
  14983. # Flag that enforces no undefined symbols.
  14984. no_undefined_flag=$lt_no_undefined_flag
  14985. # Flag to hardcode \$libdir into a binary during linking.
  14986. # This must work even if \$libdir does not exist
  14987. hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
  14988. # If ld is used when linking, flag to hardcode \$libdir into a binary
  14989. # during linking. This must work even if \$libdir does not exist.
  14990. hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
  14991. # Whether we need a single "-rpath" flag with a separated argument.
  14992. hardcode_libdir_separator=$lt_hardcode_libdir_separator
  14993. # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
  14994. # DIR into the resulting binary.
  14995. hardcode_direct=$hardcode_direct
  14996. # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
  14997. # DIR into the resulting binary and the resulting library dependency is
  14998. # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
  14999. # library is relocated.
  15000. hardcode_direct_absolute=$hardcode_direct_absolute
  15001. # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
  15002. # into the resulting binary.
  15003. hardcode_minus_L=$hardcode_minus_L
  15004. # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
  15005. # into the resulting binary.
  15006. hardcode_shlibpath_var=$hardcode_shlibpath_var
  15007. # Set to "yes" if building a shared library automatically hardcodes DIR
  15008. # into the library and all subsequent libraries and executables linked
  15009. # against it.
  15010. hardcode_automatic=$hardcode_automatic
  15011. # Set to yes if linker adds runtime paths of dependent libraries
  15012. # to runtime path list.
  15013. inherit_rpath=$inherit_rpath
  15014. # Whether libtool must link a program against all its dependency libraries.
  15015. link_all_deplibs=$link_all_deplibs
  15016. # Fix the shell variable \$srcfile for the compiler.
  15017. fix_srcfile_path=$lt_fix_srcfile_path
  15018. # Set to "yes" if exported symbols are required.
  15019. always_export_symbols=$always_export_symbols
  15020. # The commands to list exported symbols.
  15021. export_symbols_cmds=$lt_export_symbols_cmds
  15022. # Symbols that should not be listed in the preloaded symbols.
  15023. exclude_expsyms=$lt_exclude_expsyms
  15024. # Symbols that must always be exported.
  15025. include_expsyms=$lt_include_expsyms
  15026. # Commands necessary for linking programs (against libraries) with templates.
  15027. prelink_cmds=$lt_prelink_cmds
  15028. # Specify filename containing input files.
  15029. file_list_spec=$lt_file_list_spec
  15030. # How to hardcode a shared library path into an executable.
  15031. hardcode_action=$hardcode_action
  15032. # The directories searched by this compiler when creating a shared library.
  15033. compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
  15034. # Dependencies to place before and after the objects being linked to
  15035. # create a shared library.
  15036. predep_objects=$lt_predep_objects
  15037. postdep_objects=$lt_postdep_objects
  15038. predeps=$lt_predeps
  15039. postdeps=$lt_postdeps
  15040. # The library search path used internally by the compiler when linking
  15041. # a shared library.
  15042. compiler_lib_search_path=$lt_compiler_lib_search_path
  15043. # ### END LIBTOOL CONFIG
  15044. _LT_EOF
  15045. case $host_os in
  15046. aix3*)
  15047. cat <<\_LT_EOF >> "$cfgfile"
  15048. # AIX sometimes has problems with the GCC collect2 program. For some
  15049. # reason, if we set the COLLECT_NAMES environment variable, the problems
  15050. # vanish in a puff of smoke.
  15051. if test "X${COLLECT_NAMES+set}" != Xset; then
  15052. COLLECT_NAMES=
  15053. export COLLECT_NAMES
  15054. fi
  15055. _LT_EOF
  15056. ;;
  15057. esac
  15058. ltmain="$ac_aux_dir/ltmain.sh"
  15059. # We use sed instead of cat because bash on DJGPP gets confused if
  15060. # if finds mixed CR/LF and LF-only lines. Since sed operates in
  15061. # text mode, it properly converts lines to CR/LF. This bash problem
  15062. # is reportedly fixed, but why not run on old versions too?
  15063. sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
  15064. || (rm -f "$cfgfile"; exit 1)
  15065. case $xsi_shell in
  15066. yes)
  15067. cat << \_LT_EOF >> "$cfgfile"
  15068. # func_dirname file append nondir_replacement
  15069. # Compute the dirname of FILE. If nonempty, add APPEND to the result,
  15070. # otherwise set result to NONDIR_REPLACEMENT.
  15071. func_dirname ()
  15072. {
  15073. case ${1} in
  15074. */*) func_dirname_result="${1%/*}${2}" ;;
  15075. * ) func_dirname_result="${3}" ;;
  15076. esac
  15077. }
  15078. # func_basename file
  15079. func_basename ()
  15080. {
  15081. func_basename_result="${1##*/}"
  15082. }
  15083. # func_dirname_and_basename file append nondir_replacement
  15084. # perform func_basename and func_dirname in a single function
  15085. # call:
  15086. # dirname: Compute the dirname of FILE. If nonempty,
  15087. # add APPEND to the result, otherwise set result
  15088. # to NONDIR_REPLACEMENT.
  15089. # value returned in "$func_dirname_result"
  15090. # basename: Compute filename of FILE.
  15091. # value retuned in "$func_basename_result"
  15092. # Implementation must be kept synchronized with func_dirname
  15093. # and func_basename. For efficiency, we do not delegate to
  15094. # those functions but instead duplicate the functionality here.
  15095. func_dirname_and_basename ()
  15096. {
  15097. case ${1} in
  15098. */*) func_dirname_result="${1%/*}${2}" ;;
  15099. * ) func_dirname_result="${3}" ;;
  15100. esac
  15101. func_basename_result="${1##*/}"
  15102. }
  15103. # func_stripname prefix suffix name
  15104. # strip PREFIX and SUFFIX off of NAME.
  15105. # PREFIX and SUFFIX must not contain globbing or regex special
  15106. # characters, hashes, percent signs, but SUFFIX may contain a leading
  15107. # dot (in which case that matches only a dot).
  15108. func_stripname ()
  15109. {
  15110. # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
  15111. # positional parameters, so assign one to ordinary parameter first.
  15112. func_stripname_result=${3}
  15113. func_stripname_result=${func_stripname_result#"${1}"}
  15114. func_stripname_result=${func_stripname_result%"${2}"}
  15115. }
  15116. # func_opt_split
  15117. func_opt_split ()
  15118. {
  15119. func_opt_split_opt=${1%%=*}
  15120. func_opt_split_arg=${1#*=}
  15121. }
  15122. # func_lo2o object
  15123. func_lo2o ()
  15124. {
  15125. case ${1} in
  15126. *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
  15127. *) func_lo2o_result=${1} ;;
  15128. esac
  15129. }
  15130. # func_xform libobj-or-source
  15131. func_xform ()
  15132. {
  15133. func_xform_result=${1%.*}.lo
  15134. }
  15135. # func_arith arithmetic-term...
  15136. func_arith ()
  15137. {
  15138. func_arith_result=$(( $* ))
  15139. }
  15140. # func_len string
  15141. # STRING may not start with a hyphen.
  15142. func_len ()
  15143. {
  15144. func_len_result=${#1}
  15145. }
  15146. _LT_EOF
  15147. ;;
  15148. *) # Bourne compatible functions.
  15149. cat << \_LT_EOF >> "$cfgfile"
  15150. # func_dirname file append nondir_replacement
  15151. # Compute the dirname of FILE. If nonempty, add APPEND to the result,
  15152. # otherwise set result to NONDIR_REPLACEMENT.
  15153. func_dirname ()
  15154. {
  15155. # Extract subdirectory from the argument.
  15156. func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
  15157. if test "X$func_dirname_result" = "X${1}"; then
  15158. func_dirname_result="${3}"
  15159. else
  15160. func_dirname_result="$func_dirname_result${2}"
  15161. fi
  15162. }
  15163. # func_basename file
  15164. func_basename ()
  15165. {
  15166. func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
  15167. }
  15168. # func_stripname prefix suffix name
  15169. # strip PREFIX and SUFFIX off of NAME.
  15170. # PREFIX and SUFFIX must not contain globbing or regex special
  15171. # characters, hashes, percent signs, but SUFFIX may contain a leading
  15172. # dot (in which case that matches only a dot).
  15173. # func_strip_suffix prefix name
  15174. func_stripname ()
  15175. {
  15176. case ${2} in
  15177. .*) func_stripname_result=`$ECHO "X${3}" \
  15178. | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
  15179. *) func_stripname_result=`$ECHO "X${3}" \
  15180. | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
  15181. esac
  15182. }
  15183. # sed scripts:
  15184. my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
  15185. my_sed_long_arg='1s/^-[^=]*=//'
  15186. # func_opt_split
  15187. func_opt_split ()
  15188. {
  15189. func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
  15190. func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
  15191. }
  15192. # func_lo2o object
  15193. func_lo2o ()
  15194. {
  15195. func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
  15196. }
  15197. # func_xform libobj-or-source
  15198. func_xform ()
  15199. {
  15200. func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
  15201. }
  15202. # func_arith arithmetic-term...
  15203. func_arith ()
  15204. {
  15205. func_arith_result=`expr "$@"`
  15206. }
  15207. # func_len string
  15208. # STRING may not start with a hyphen.
  15209. func_len ()
  15210. {
  15211. func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
  15212. }
  15213. _LT_EOF
  15214. esac
  15215. case $lt_shell_append in
  15216. yes)
  15217. cat << \_LT_EOF >> "$cfgfile"
  15218. # func_append var value
  15219. # Append VALUE to the end of shell variable VAR.
  15220. func_append ()
  15221. {
  15222. eval "$1+=\$2"
  15223. }
  15224. _LT_EOF
  15225. ;;
  15226. *)
  15227. cat << \_LT_EOF >> "$cfgfile"
  15228. # func_append var value
  15229. # Append VALUE to the end of shell variable VAR.
  15230. func_append ()
  15231. {
  15232. eval "$1=\$$1\$2"
  15233. }
  15234. _LT_EOF
  15235. ;;
  15236. esac
  15237. sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
  15238. || (rm -f "$cfgfile"; exit 1)
  15239. mv -f "$cfgfile" "$ofile" ||
  15240. (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
  15241. chmod +x "$ofile"
  15242. cat <<_LT_EOF >> "$ofile"
  15243. # ### BEGIN LIBTOOL TAG CONFIG: CXX
  15244. # The linker used to build libraries.
  15245. LD=$lt_LD_CXX
  15246. # Commands used to build an old-style archive.
  15247. old_archive_cmds=$lt_old_archive_cmds_CXX
  15248. # A language specific compiler.
  15249. CC=$lt_compiler_CXX
  15250. # Is the compiler the GNU compiler?
  15251. with_gcc=$GCC_CXX
  15252. # Compiler flag to turn off builtin functions.
  15253. no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
  15254. # How to pass a linker flag through the compiler.
  15255. wl=$lt_lt_prog_compiler_wl_CXX
  15256. # Additional compiler flags for building library objects.
  15257. pic_flag=$lt_lt_prog_compiler_pic_CXX
  15258. # Compiler flag to prevent dynamic linking.
  15259. link_static_flag=$lt_lt_prog_compiler_static_CXX
  15260. # Does compiler simultaneously support -c and -o options?
  15261. compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
  15262. # Whether or not to add -lc for building shared libraries.
  15263. build_libtool_need_lc=$archive_cmds_need_lc_CXX
  15264. # Whether or not to disallow shared libs when runtime libs are static.
  15265. allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
  15266. # Compiler flag to allow reflexive dlopens.
  15267. export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
  15268. # Compiler flag to generate shared objects directly from archives.
  15269. whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
  15270. # Whether the compiler copes with passing no objects directly.
  15271. compiler_needs_object=$lt_compiler_needs_object_CXX
  15272. # Create an old-style archive from a shared archive.
  15273. old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
  15274. # Create a temporary old-style archive to link instead of a shared archive.
  15275. old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
  15276. # Commands used to build a shared archive.
  15277. archive_cmds=$lt_archive_cmds_CXX
  15278. archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
  15279. # Commands used to build a loadable module if different from building
  15280. # a shared archive.
  15281. module_cmds=$lt_module_cmds_CXX
  15282. module_expsym_cmds=$lt_module_expsym_cmds_CXX
  15283. # Whether we are building with GNU ld or not.
  15284. with_gnu_ld=$lt_with_gnu_ld_CXX
  15285. # Flag that allows shared libraries with undefined symbols to be built.
  15286. allow_undefined_flag=$lt_allow_undefined_flag_CXX
  15287. # Flag that enforces no undefined symbols.
  15288. no_undefined_flag=$lt_no_undefined_flag_CXX
  15289. # Flag to hardcode \$libdir into a binary during linking.
  15290. # This must work even if \$libdir does not exist
  15291. hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
  15292. # If ld is used when linking, flag to hardcode \$libdir into a binary
  15293. # during linking. This must work even if \$libdir does not exist.
  15294. hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
  15295. # Whether we need a single "-rpath" flag with a separated argument.
  15296. hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
  15297. # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
  15298. # DIR into the resulting binary.
  15299. hardcode_direct=$hardcode_direct_CXX
  15300. # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
  15301. # DIR into the resulting binary and the resulting library dependency is
  15302. # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
  15303. # library is relocated.
  15304. hardcode_direct_absolute=$hardcode_direct_absolute_CXX
  15305. # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
  15306. # into the resulting binary.
  15307. hardcode_minus_L=$hardcode_minus_L_CXX
  15308. # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
  15309. # into the resulting binary.
  15310. hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
  15311. # Set to "yes" if building a shared library automatically hardcodes DIR
  15312. # into the library and all subsequent libraries and executables linked
  15313. # against it.
  15314. hardcode_automatic=$hardcode_automatic_CXX
  15315. # Set to yes if linker adds runtime paths of dependent libraries
  15316. # to runtime path list.
  15317. inherit_rpath=$inherit_rpath_CXX
  15318. # Whether libtool must link a program against all its dependency libraries.
  15319. link_all_deplibs=$link_all_deplibs_CXX
  15320. # Fix the shell variable \$srcfile for the compiler.
  15321. fix_srcfile_path=$lt_fix_srcfile_path_CXX
  15322. # Set to "yes" if exported symbols are required.
  15323. always_export_symbols=$always_export_symbols_CXX
  15324. # The commands to list exported symbols.
  15325. export_symbols_cmds=$lt_export_symbols_cmds_CXX
  15326. # Symbols that should not be listed in the preloaded symbols.
  15327. exclude_expsyms=$lt_exclude_expsyms_CXX
  15328. # Symbols that must always be exported.
  15329. include_expsyms=$lt_include_expsyms_CXX
  15330. # Commands necessary for linking programs (against libraries) with templates.
  15331. prelink_cmds=$lt_prelink_cmds_CXX
  15332. # Specify filename containing input files.
  15333. file_list_spec=$lt_file_list_spec_CXX
  15334. # How to hardcode a shared library path into an executable.
  15335. hardcode_action=$hardcode_action_CXX
  15336. # The directories searched by this compiler when creating a shared library.
  15337. compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
  15338. # Dependencies to place before and after the objects being linked to
  15339. # create a shared library.
  15340. predep_objects=$lt_predep_objects_CXX
  15341. postdep_objects=$lt_postdep_objects_CXX
  15342. predeps=$lt_predeps_CXX
  15343. postdeps=$lt_postdeps_CXX
  15344. # The library search path used internally by the compiler when linking
  15345. # a shared library.
  15346. compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
  15347. # ### END LIBTOOL TAG CONFIG: CXX
  15348. _LT_EOF
  15349. ;;
  15350. "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
  15351. # Autoconf 2.62 quotes --file arguments for eval, but not when files
  15352. # are listed without --file. Let's play safe and only enable the eval
  15353. # if we detect the quoting.
  15354. case $CONFIG_FILES in
  15355. *\'*) eval set x "$CONFIG_FILES" ;;
  15356. *) set x $CONFIG_FILES ;;
  15357. esac
  15358. shift
  15359. for mf
  15360. do
  15361. # Strip MF so we end up with the name of the file.
  15362. mf=`echo "$mf" | sed -e 's/:.*$//'`
  15363. # Check whether this is an Automake generated Makefile or not.
  15364. # We used to match only the files named `Makefile.in', but
  15365. # some people rename them; so instead we look at the file content.
  15366. # Grep'ing the first line is not enough: some people post-process
  15367. # each Makefile.in and add a new line on top of each file to say so.
  15368. # Grep'ing the whole file is not good either: AIX grep has a line
  15369. # limit of 2048, but all sed's we know have understand at least 4000.
  15370. if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
  15371. dirpart=`$as_dirname -- "$mf" ||
  15372. $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  15373. X"$mf" : 'X\(//\)[^/]' \| \
  15374. X"$mf" : 'X\(//\)$' \| \
  15375. X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
  15376. $as_echo X"$mf" |
  15377. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  15378. s//\1/
  15379. q
  15380. }
  15381. /^X\(\/\/\)[^/].*/{
  15382. s//\1/
  15383. q
  15384. }
  15385. /^X\(\/\/\)$/{
  15386. s//\1/
  15387. q
  15388. }
  15389. /^X\(\/\).*/{
  15390. s//\1/
  15391. q
  15392. }
  15393. s/.*/./; q'`
  15394. else
  15395. continue
  15396. fi
  15397. # Extract the definition of DEPDIR, am__include, and am__quote
  15398. # from the Makefile without running `make'.
  15399. DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
  15400. test -z "$DEPDIR" && continue
  15401. am__include=`sed -n 's/^am__include = //p' < "$mf"`
  15402. test -z "am__include" && continue
  15403. am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
  15404. # When using ansi2knr, U may be empty or an underscore; expand it
  15405. U=`sed -n 's/^U = //p' < "$mf"`
  15406. # Find all dependency output files, they are included files with
  15407. # $(DEPDIR) in their names. We invoke sed twice because it is the
  15408. # simplest approach to changing $(DEPDIR) to its actual value in the
  15409. # expansion.
  15410. for file in `sed -n "
  15411. s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
  15412. sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
  15413. # Make sure the directory exists.
  15414. test -f "$dirpart/$file" && continue
  15415. fdir=`$as_dirname -- "$file" ||
  15416. $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  15417. X"$file" : 'X\(//\)[^/]' \| \
  15418. X"$file" : 'X\(//\)$' \| \
  15419. X"$file" : 'X\(/\)' \| . 2>/dev/null ||
  15420. $as_echo X"$file" |
  15421. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  15422. s//\1/
  15423. q
  15424. }
  15425. /^X\(\/\/\)[^/].*/{
  15426. s//\1/
  15427. q
  15428. }
  15429. /^X\(\/\/\)$/{
  15430. s//\1/
  15431. q
  15432. }
  15433. /^X\(\/\).*/{
  15434. s//\1/
  15435. q
  15436. }
  15437. s/.*/./; q'`
  15438. as_dir=$dirpart/$fdir; as_fn_mkdir_p
  15439. # echo "creating $dirpart/$file"
  15440. echo '# dummy' > "$dirpart/$file"
  15441. done
  15442. done
  15443. }
  15444. ;;
  15445. esac
  15446. done # for ac_tag
  15447. as_fn_exit 0
  15448. _ACEOF
  15449. ac_clean_files=$ac_clean_files_save
  15450. test $ac_write_fail = 0 ||
  15451. as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
  15452. # configure is writing to config.log, and then calls config.status.
  15453. # config.status does its own redirection, appending to config.log.
  15454. # Unfortunately, on DOS this fails, as config.log is still kept open
  15455. # by configure, so config.status won't be able to write to it; its
  15456. # output is simply discarded. So we exec the FD to /dev/null,
  15457. # effectively closing config.log, so it can be properly (re)opened and
  15458. # appended to by config.status. When coming back to configure, we
  15459. # need to make the FD available again.
  15460. if test "$no_create" != yes; then
  15461. ac_cs_success=:
  15462. ac_config_status_args=
  15463. test "$silent" = yes &&
  15464. ac_config_status_args="$ac_config_status_args --quiet"
  15465. exec 5>/dev/null
  15466. $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
  15467. exec 5>>config.log
  15468. # Use ||, not &&, to avoid exiting from the if with $? = 1, which
  15469. # would make configure fail if this is the last instruction.
  15470. $ac_cs_success || as_fn_exit $?
  15471. fi
  15472. if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
  15473. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
  15474. $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
  15475. fi