configure 616 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335
  1. #! /bin/sh
  2. # Guess values for system-dependent variables and create Makefiles.
  3. # Generated by GNU Autoconf 2.69 for libstudxml 1.0.1.
  4. #
  5. # Report bugs to <studxml-users@codesynthesis.com>.
  6. #
  7. #
  8. # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
  9. #
  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. as_myself=
  86. case $0 in #((
  87. *[\\/]* ) as_myself=$0 ;;
  88. *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  89. for as_dir in $PATH
  90. do
  91. IFS=$as_save_IFS
  92. test -z "$as_dir" && as_dir=.
  93. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  94. done
  95. IFS=$as_save_IFS
  96. ;;
  97. esac
  98. # We did not find ourselves, most probably we were run as `sh COMMAND'
  99. # in which case we are not to be found in the path.
  100. if test "x$as_myself" = x; then
  101. as_myself=$0
  102. fi
  103. if test ! -f "$as_myself"; then
  104. $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  105. exit 1
  106. fi
  107. # Unset variables that we do not need and which cause bugs (e.g. in
  108. # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
  109. # suppresses any "Segmentation fault" message there. '((' could
  110. # trigger a bug in pdksh 5.2.14.
  111. for as_var in BASH_ENV ENV MAIL MAILPATH
  112. do eval test x\${$as_var+set} = xset \
  113. && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  114. done
  115. PS1='$ '
  116. PS2='> '
  117. PS4='+ '
  118. # NLS nuisances.
  119. LC_ALL=C
  120. export LC_ALL
  121. LANGUAGE=C
  122. export LANGUAGE
  123. # CDPATH.
  124. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  125. # Use a proper internal environment variable to ensure we don't fall
  126. # into an infinite loop, continuously re-executing ourselves.
  127. if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
  128. _as_can_reexec=no; export _as_can_reexec;
  129. # We cannot yet assume a decent shell, so we have to provide a
  130. # neutralization value for shells without unset; and this also
  131. # works around shells that cannot unset nonexistent variables.
  132. # Preserve -v and -x to the replacement shell.
  133. BASH_ENV=/dev/null
  134. ENV=/dev/null
  135. (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  136. case $- in # ((((
  137. *v*x* | *x*v* ) as_opts=-vx ;;
  138. *v* ) as_opts=-v ;;
  139. *x* ) as_opts=-x ;;
  140. * ) as_opts= ;;
  141. esac
  142. exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
  143. # Admittedly, this is quite paranoid, since all the known shells bail
  144. # out after a failed `exec'.
  145. $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
  146. as_fn_exit 255
  147. fi
  148. # We don't want this to propagate to other subprocesses.
  149. { _as_can_reexec=; unset _as_can_reexec;}
  150. if test "x$CONFIG_SHELL" = x; then
  151. as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
  152. emulate sh
  153. NULLCMD=:
  154. # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
  155. # is contrary to our usage. Disable this feature.
  156. alias -g '\${1+\"\$@\"}'='\"\$@\"'
  157. setopt NO_GLOB_SUBST
  158. else
  159. case \`(set -o) 2>/dev/null\` in #(
  160. *posix*) :
  161. set -o posix ;; #(
  162. *) :
  163. ;;
  164. esac
  165. fi
  166. "
  167. as_required="as_fn_return () { (exit \$1); }
  168. as_fn_success () { as_fn_return 0; }
  169. as_fn_failure () { as_fn_return 1; }
  170. as_fn_ret_success () { return 0; }
  171. as_fn_ret_failure () { return 1; }
  172. exitcode=0
  173. as_fn_success || { exitcode=1; echo as_fn_success failed.; }
  174. as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
  175. as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
  176. as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
  177. if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
  178. else
  179. exitcode=1; echo positional parameters were not saved.
  180. fi
  181. test x\$exitcode = x0 || exit 1
  182. test -x / || exit 1"
  183. as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
  184. as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
  185. eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
  186. test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
  187. test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
  188. ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  189. ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
  190. ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
  191. PATH=/empty FPATH=/empty; export PATH FPATH
  192. test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
  193. || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
  194. test \$(( 1 + 1 )) = 2 || exit 1"
  195. if (eval "$as_required") 2>/dev/null; then :
  196. as_have_required=yes
  197. else
  198. as_have_required=no
  199. fi
  200. if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
  201. else
  202. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  203. as_found=false
  204. for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  205. do
  206. IFS=$as_save_IFS
  207. test -z "$as_dir" && as_dir=.
  208. as_found=:
  209. case $as_dir in #(
  210. /*)
  211. for as_base in sh bash ksh sh5; do
  212. # Try only shells that exist, to save several forks.
  213. as_shell=$as_dir/$as_base
  214. if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
  215. { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
  216. CONFIG_SHELL=$as_shell as_have_required=yes
  217. if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
  218. break 2
  219. fi
  220. fi
  221. done;;
  222. esac
  223. as_found=false
  224. done
  225. $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
  226. { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
  227. CONFIG_SHELL=$SHELL as_have_required=yes
  228. fi; }
  229. IFS=$as_save_IFS
  230. if test "x$CONFIG_SHELL" != x; then :
  231. export CONFIG_SHELL
  232. # We cannot yet assume a decent shell, so we have to provide a
  233. # neutralization value for shells without unset; and this also
  234. # works around shells that cannot unset nonexistent variables.
  235. # Preserve -v and -x to the replacement shell.
  236. BASH_ENV=/dev/null
  237. ENV=/dev/null
  238. (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  239. case $- in # ((((
  240. *v*x* | *x*v* ) as_opts=-vx ;;
  241. *v* ) as_opts=-v ;;
  242. *x* ) as_opts=-x ;;
  243. * ) as_opts= ;;
  244. esac
  245. exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
  246. # Admittedly, this is quite paranoid, since all the known shells bail
  247. # out after a failed `exec'.
  248. $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
  249. exit 255
  250. fi
  251. if test x$as_have_required = xno; then :
  252. $as_echo "$0: This script requires a shell more modern than all"
  253. $as_echo "$0: the shells that I found on your system."
  254. if test x${ZSH_VERSION+set} = xset ; then
  255. $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
  256. $as_echo "$0: be upgraded to zsh 4.3.4 or later."
  257. else
  258. $as_echo "$0: Please tell bug-autoconf@gnu.org and
  259. $0: studxml-users@codesynthesis.com about your system,
  260. $0: including any error possibly output before this
  261. $0: message. Then install a modern shell, or manually run
  262. $0: the script under such a shell if you do have one."
  263. fi
  264. exit 1
  265. fi
  266. fi
  267. fi
  268. SHELL=${CONFIG_SHELL-/bin/sh}
  269. export SHELL
  270. # Unset more variables known to interfere with behavior of common tools.
  271. CLICOLOR_FORCE= GREP_OPTIONS=
  272. unset CLICOLOR_FORCE GREP_OPTIONS
  273. ## --------------------- ##
  274. ## M4sh Shell Functions. ##
  275. ## --------------------- ##
  276. # as_fn_unset VAR
  277. # ---------------
  278. # Portably unset VAR.
  279. as_fn_unset ()
  280. {
  281. { eval $1=; unset $1;}
  282. }
  283. as_unset=as_fn_unset
  284. # as_fn_set_status STATUS
  285. # -----------------------
  286. # Set $? to STATUS, without forking.
  287. as_fn_set_status ()
  288. {
  289. return $1
  290. } # as_fn_set_status
  291. # as_fn_exit STATUS
  292. # -----------------
  293. # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  294. as_fn_exit ()
  295. {
  296. set +e
  297. as_fn_set_status $1
  298. exit $1
  299. } # as_fn_exit
  300. # as_fn_mkdir_p
  301. # -------------
  302. # Create "$as_dir" as a directory, including parents if necessary.
  303. as_fn_mkdir_p ()
  304. {
  305. case $as_dir in #(
  306. -*) as_dir=./$as_dir;;
  307. esac
  308. test -d "$as_dir" || eval $as_mkdir_p || {
  309. as_dirs=
  310. while :; do
  311. case $as_dir in #(
  312. *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  313. *) as_qdir=$as_dir;;
  314. esac
  315. as_dirs="'$as_qdir' $as_dirs"
  316. as_dir=`$as_dirname -- "$as_dir" ||
  317. $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  318. X"$as_dir" : 'X\(//\)[^/]' \| \
  319. X"$as_dir" : 'X\(//\)$' \| \
  320. X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  321. $as_echo X"$as_dir" |
  322. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  323. s//\1/
  324. q
  325. }
  326. /^X\(\/\/\)[^/].*/{
  327. s//\1/
  328. q
  329. }
  330. /^X\(\/\/\)$/{
  331. s//\1/
  332. q
  333. }
  334. /^X\(\/\).*/{
  335. s//\1/
  336. q
  337. }
  338. s/.*/./; q'`
  339. test -d "$as_dir" && break
  340. done
  341. test -z "$as_dirs" || eval "mkdir $as_dirs"
  342. } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
  343. } # as_fn_mkdir_p
  344. # as_fn_executable_p FILE
  345. # -----------------------
  346. # Test if FILE is an executable regular file.
  347. as_fn_executable_p ()
  348. {
  349. test -f "$1" && test -x "$1"
  350. } # as_fn_executable_p
  351. # as_fn_append VAR VALUE
  352. # ----------------------
  353. # Append the text in VALUE to the end of the definition contained in VAR. Take
  354. # advantage of any shell optimizations that allow amortized linear growth over
  355. # repeated appends, instead of the typical quadratic growth present in naive
  356. # implementations.
  357. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  358. eval 'as_fn_append ()
  359. {
  360. eval $1+=\$2
  361. }'
  362. else
  363. as_fn_append ()
  364. {
  365. eval $1=\$$1\$2
  366. }
  367. fi # as_fn_append
  368. # as_fn_arith ARG...
  369. # ------------------
  370. # Perform arithmetic evaluation on the ARGs, and store the result in the
  371. # global $as_val. Take advantage of shells that can avoid forks. The arguments
  372. # must be portable across $(()) and expr.
  373. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  374. eval 'as_fn_arith ()
  375. {
  376. as_val=$(( $* ))
  377. }'
  378. else
  379. as_fn_arith ()
  380. {
  381. as_val=`expr "$@" || test $? -eq 1`
  382. }
  383. fi # as_fn_arith
  384. # as_fn_error STATUS ERROR [LINENO LOG_FD]
  385. # ----------------------------------------
  386. # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  387. # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  388. # script with STATUS, using 1 if that was 0.
  389. as_fn_error ()
  390. {
  391. as_status=$1; test $as_status -eq 0 && as_status=1
  392. if test "$4"; then
  393. as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  394. $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
  395. fi
  396. $as_echo "$as_me: error: $2" >&2
  397. as_fn_exit $as_status
  398. } # as_fn_error
  399. if expr a : '\(a\)' >/dev/null 2>&1 &&
  400. test "X`expr 00001 : '.*\(...\)'`" = X001; then
  401. as_expr=expr
  402. else
  403. as_expr=false
  404. fi
  405. if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  406. as_basename=basename
  407. else
  408. as_basename=false
  409. fi
  410. if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  411. as_dirname=dirname
  412. else
  413. as_dirname=false
  414. fi
  415. as_me=`$as_basename -- "$0" ||
  416. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  417. X"$0" : 'X\(//\)$' \| \
  418. X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  419. $as_echo X/"$0" |
  420. sed '/^.*\/\([^/][^/]*\)\/*$/{
  421. s//\1/
  422. q
  423. }
  424. /^X\/\(\/\/\)$/{
  425. s//\1/
  426. q
  427. }
  428. /^X\/\(\/\).*/{
  429. s//\1/
  430. q
  431. }
  432. s/.*/./; q'`
  433. # Avoid depending upon Character Ranges.
  434. as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  435. as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  436. as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  437. as_cr_digits='0123456789'
  438. as_cr_alnum=$as_cr_Letters$as_cr_digits
  439. as_lineno_1=$LINENO as_lineno_1a=$LINENO
  440. as_lineno_2=$LINENO as_lineno_2a=$LINENO
  441. eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
  442. test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
  443. # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
  444. sed -n '
  445. p
  446. /[$]LINENO/=
  447. ' <$as_myself |
  448. sed '
  449. s/[$]LINENO.*/&-/
  450. t lineno
  451. b
  452. :lineno
  453. N
  454. :loop
  455. s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
  456. t loop
  457. s/-\n.*//
  458. ' >$as_me.lineno &&
  459. chmod +x "$as_me.lineno" ||
  460. { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
  461. # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
  462. # already done that, so ensure we don't try to do so again and fall
  463. # in an infinite loop. This has already happened in practice.
  464. _as_can_reexec=no; export _as_can_reexec
  465. # Don't try to exec as it changes $[0], causing all sort of problems
  466. # (the dirname of $[0] is not the place where we might find the
  467. # original and so on. Autoconf is especially sensitive to this).
  468. . "./$as_me.lineno"
  469. # Exit status is that of the last command.
  470. exit
  471. }
  472. ECHO_C= ECHO_N= ECHO_T=
  473. case `echo -n x` in #(((((
  474. -n*)
  475. case `echo 'xy\c'` in
  476. *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  477. xy) ECHO_C='\c';;
  478. *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
  479. ECHO_T=' ';;
  480. esac;;
  481. *)
  482. ECHO_N='-n';;
  483. esac
  484. rm -f conf$$ conf$$.exe conf$$.file
  485. if test -d conf$$.dir; then
  486. rm -f conf$$.dir/conf$$.file
  487. else
  488. rm -f conf$$.dir
  489. mkdir conf$$.dir 2>/dev/null
  490. fi
  491. if (echo >conf$$.file) 2>/dev/null; then
  492. if ln -s conf$$.file conf$$ 2>/dev/null; then
  493. as_ln_s='ln -s'
  494. # ... but there are two gotchas:
  495. # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  496. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  497. # In both cases, we have to default to `cp -pR'.
  498. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  499. as_ln_s='cp -pR'
  500. elif ln conf$$.file conf$$ 2>/dev/null; then
  501. as_ln_s=ln
  502. else
  503. as_ln_s='cp -pR'
  504. fi
  505. else
  506. as_ln_s='cp -pR'
  507. fi
  508. rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  509. rmdir conf$$.dir 2>/dev/null
  510. if mkdir -p . 2>/dev/null; then
  511. as_mkdir_p='mkdir -p "$as_dir"'
  512. else
  513. test -d ./-p && rmdir ./-p
  514. as_mkdir_p=false
  515. fi
  516. as_test_x='test -x'
  517. as_executable_p=as_fn_executable_p
  518. # Sed expression to map a string onto a valid CPP name.
  519. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  520. # Sed expression to map a string onto a valid variable name.
  521. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  522. SHELL=${CONFIG_SHELL-/bin/sh}
  523. test -n "$DJDIR" || exec 7<&0 </dev/null
  524. exec 6>&1
  525. # Name of the host.
  526. # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
  527. # so uname gets run too.
  528. ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
  529. #
  530. # Initializations.
  531. #
  532. ac_default_prefix=/usr/local
  533. ac_clean_files=
  534. ac_config_libobj_dir=.
  535. LIBOBJS=
  536. cross_compiling=no
  537. subdirs=
  538. MFLAGS=
  539. MAKEFLAGS=
  540. # Identity of this package.
  541. PACKAGE_NAME='libstudxml'
  542. PACKAGE_TARNAME='libstudxml'
  543. PACKAGE_VERSION='1.0.1'
  544. PACKAGE_STRING='libstudxml 1.0.1'
  545. PACKAGE_BUGREPORT='studxml-users@codesynthesis.com'
  546. PACKAGE_URL=''
  547. ac_unique_file="xml/exception"
  548. # Factoring default headers for most tests.
  549. ac_includes_default="\
  550. #include <stdio.h>
  551. #ifdef HAVE_SYS_TYPES_H
  552. # include <sys/types.h>
  553. #endif
  554. #ifdef HAVE_SYS_STAT_H
  555. # include <sys/stat.h>
  556. #endif
  557. #ifdef STDC_HEADERS
  558. # include <stdlib.h>
  559. # include <stddef.h>
  560. #else
  561. # ifdef HAVE_STDLIB_H
  562. # include <stdlib.h>
  563. # endif
  564. #endif
  565. #ifdef HAVE_STRING_H
  566. # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  567. # include <memory.h>
  568. # endif
  569. # include <string.h>
  570. #endif
  571. #ifdef HAVE_STRINGS_H
  572. # include <strings.h>
  573. #endif
  574. #ifdef HAVE_INTTYPES_H
  575. # include <inttypes.h>
  576. #endif
  577. #ifdef HAVE_STDINT_H
  578. # include <stdint.h>
  579. #endif
  580. #ifdef HAVE_UNISTD_H
  581. # include <unistd.h>
  582. #endif"
  583. ac_subst_vars='am__EXEEXT_FALSE
  584. am__EXEEXT_TRUE
  585. LTLIBOBJS
  586. LIBOBJS
  587. pkgconfigdir
  588. LIBSTUDXML_EXTERNAL_EXPAT_FALSE
  589. LIBSTUDXML_EXTERNAL_EXPAT_TRUE
  590. CXXCPP
  591. am__fastdepCXX_FALSE
  592. am__fastdepCXX_TRUE
  593. CXXDEPMODE
  594. ac_ct_CXX
  595. CXXFLAGS
  596. CXX
  597. DIFFFLAGS
  598. DIFF
  599. CPP
  600. OTOOL64
  601. OTOOL
  602. LIPO
  603. NMEDIT
  604. DSYMUTIL
  605. MANIFEST_TOOL
  606. RANLIB
  607. LN_S
  608. NM
  609. ac_ct_DUMPBIN
  610. DUMPBIN
  611. LD
  612. FGREP
  613. EGREP
  614. GREP
  615. SED
  616. host_os
  617. host_vendor
  618. host_cpu
  619. host
  620. build_os
  621. build_vendor
  622. build_cpu
  623. build
  624. LIBTOOL
  625. OBJDUMP
  626. DLLTOOL
  627. AS
  628. am__fastdepCC_FALSE
  629. am__fastdepCC_TRUE
  630. CCDEPMODE
  631. am__nodep
  632. AMDEPBACKSLASH
  633. AMDEP_FALSE
  634. AMDEP_TRUE
  635. am__quote
  636. am__include
  637. DEPDIR
  638. OBJEXT
  639. EXEEXT
  640. ac_ct_CC
  641. CPPFLAGS
  642. LDFLAGS
  643. CFLAGS
  644. CC
  645. ac_ct_AR
  646. AR
  647. am__untar
  648. am__tar
  649. AMTAR
  650. am__leading_dot
  651. SET_MAKE
  652. AWK
  653. mkdir_p
  654. MKDIR_P
  655. INSTALL_STRIP_PROGRAM
  656. STRIP
  657. install_sh
  658. MAKEINFO
  659. AUTOHEADER
  660. AUTOMAKE
  661. AUTOCONF
  662. ACLOCAL
  663. VERSION
  664. PACKAGE
  665. CYGPATH_W
  666. am__isrc
  667. INSTALL_DATA
  668. INSTALL_SCRIPT
  669. INSTALL_PROGRAM
  670. target_alias
  671. host_alias
  672. build_alias
  673. LIBS
  674. ECHO_T
  675. ECHO_N
  676. ECHO_C
  677. DEFS
  678. mandir
  679. localedir
  680. libdir
  681. psdir
  682. pdfdir
  683. dvidir
  684. htmldir
  685. infodir
  686. docdir
  687. oldincludedir
  688. includedir
  689. localstatedir
  690. sharedstatedir
  691. sysconfdir
  692. datadir
  693. datarootdir
  694. libexecdir
  695. sbindir
  696. bindir
  697. program_transform_name
  698. prefix
  699. exec_prefix
  700. PACKAGE_URL
  701. PACKAGE_BUGREPORT
  702. PACKAGE_STRING
  703. PACKAGE_VERSION
  704. PACKAGE_TARNAME
  705. PACKAGE_NAME
  706. PATH_SEPARATOR
  707. SHELL'
  708. ac_subst_files=''
  709. ac_user_opts='
  710. enable_option_checking
  711. enable_dependency_tracking
  712. enable_shared
  713. enable_static
  714. with_pic
  715. enable_fast_install
  716. with_gnu_ld
  717. with_sysroot
  718. enable_libtool_lock
  719. with_diff
  720. with_external_expat
  721. with_pkgconfigdir
  722. enable_rpath
  723. '
  724. ac_precious_vars='build_alias
  725. host_alias
  726. target_alias
  727. CC
  728. CFLAGS
  729. LDFLAGS
  730. LIBS
  731. CPPFLAGS
  732. CPP
  733. DIFF
  734. DIFFFLAGS
  735. CXX
  736. CXXFLAGS
  737. CCC
  738. CXXCPP'
  739. # Initialize some variables set by options.
  740. ac_init_help=
  741. ac_init_version=false
  742. ac_unrecognized_opts=
  743. ac_unrecognized_sep=
  744. # The variables have the same names as the options, with
  745. # dashes changed to underlines.
  746. cache_file=/dev/null
  747. exec_prefix=NONE
  748. no_create=
  749. no_recursion=
  750. prefix=NONE
  751. program_prefix=NONE
  752. program_suffix=NONE
  753. program_transform_name=s,x,x,
  754. silent=
  755. site=
  756. srcdir=
  757. verbose=
  758. x_includes=NONE
  759. x_libraries=NONE
  760. # Installation directory options.
  761. # These are left unexpanded so users can "make install exec_prefix=/foo"
  762. # and all the variables that are supposed to be based on exec_prefix
  763. # by default will actually change.
  764. # Use braces instead of parens because sh, perl, etc. also accept them.
  765. # (The list follows the same order as the GNU Coding Standards.)
  766. bindir='${exec_prefix}/bin'
  767. sbindir='${exec_prefix}/sbin'
  768. libexecdir='${exec_prefix}/libexec'
  769. datarootdir='${prefix}/share'
  770. datadir='${datarootdir}'
  771. sysconfdir='${prefix}/etc'
  772. sharedstatedir='${prefix}/com'
  773. localstatedir='${prefix}/var'
  774. includedir='${prefix}/include'
  775. oldincludedir='/usr/include'
  776. docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
  777. infodir='${datarootdir}/info'
  778. htmldir='${docdir}'
  779. dvidir='${docdir}'
  780. pdfdir='${docdir}'
  781. psdir='${docdir}'
  782. libdir='${exec_prefix}/lib'
  783. localedir='${datarootdir}/locale'
  784. mandir='${datarootdir}/man'
  785. ac_prev=
  786. ac_dashdash=
  787. for ac_option
  788. do
  789. # If the previous option needs an argument, assign it.
  790. if test -n "$ac_prev"; then
  791. eval $ac_prev=\$ac_option
  792. ac_prev=
  793. continue
  794. fi
  795. case $ac_option in
  796. *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
  797. *=) ac_optarg= ;;
  798. *) ac_optarg=yes ;;
  799. esac
  800. # Accept the important Cygnus configure options, so we can diagnose typos.
  801. case $ac_dashdash$ac_option in
  802. --)
  803. ac_dashdash=yes ;;
  804. -bindir | --bindir | --bindi | --bind | --bin | --bi)
  805. ac_prev=bindir ;;
  806. -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  807. bindir=$ac_optarg ;;
  808. -build | --build | --buil | --bui | --bu)
  809. ac_prev=build_alias ;;
  810. -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  811. build_alias=$ac_optarg ;;
  812. -cache-file | --cache-file | --cache-fil | --cache-fi \
  813. | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  814. ac_prev=cache_file ;;
  815. -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  816. | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  817. cache_file=$ac_optarg ;;
  818. --config-cache | -C)
  819. cache_file=config.cache ;;
  820. -datadir | --datadir | --datadi | --datad)
  821. ac_prev=datadir ;;
  822. -datadir=* | --datadir=* | --datadi=* | --datad=*)
  823. datadir=$ac_optarg ;;
  824. -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
  825. | --dataroo | --dataro | --datar)
  826. ac_prev=datarootdir ;;
  827. -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
  828. | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
  829. datarootdir=$ac_optarg ;;
  830. -disable-* | --disable-*)
  831. ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  832. # Reject names that are not valid shell variable names.
  833. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  834. as_fn_error $? "invalid feature name: $ac_useropt"
  835. ac_useropt_orig=$ac_useropt
  836. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  837. case $ac_user_opts in
  838. *"
  839. "enable_$ac_useropt"
  840. "*) ;;
  841. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
  842. ac_unrecognized_sep=', ';;
  843. esac
  844. eval enable_$ac_useropt=no ;;
  845. -docdir | --docdir | --docdi | --doc | --do)
  846. ac_prev=docdir ;;
  847. -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
  848. docdir=$ac_optarg ;;
  849. -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
  850. ac_prev=dvidir ;;
  851. -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
  852. dvidir=$ac_optarg ;;
  853. -enable-* | --enable-*)
  854. ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  855. # Reject names that are not valid shell variable names.
  856. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  857. as_fn_error $? "invalid feature name: $ac_useropt"
  858. ac_useropt_orig=$ac_useropt
  859. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  860. case $ac_user_opts in
  861. *"
  862. "enable_$ac_useropt"
  863. "*) ;;
  864. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
  865. ac_unrecognized_sep=', ';;
  866. esac
  867. eval enable_$ac_useropt=\$ac_optarg ;;
  868. -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  869. | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  870. | --exec | --exe | --ex)
  871. ac_prev=exec_prefix ;;
  872. -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  873. | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  874. | --exec=* | --exe=* | --ex=*)
  875. exec_prefix=$ac_optarg ;;
  876. -gas | --gas | --ga | --g)
  877. # Obsolete; use --with-gas.
  878. with_gas=yes ;;
  879. -help | --help | --hel | --he | -h)
  880. ac_init_help=long ;;
  881. -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  882. ac_init_help=recursive ;;
  883. -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  884. ac_init_help=short ;;
  885. -host | --host | --hos | --ho)
  886. ac_prev=host_alias ;;
  887. -host=* | --host=* | --hos=* | --ho=*)
  888. host_alias=$ac_optarg ;;
  889. -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
  890. ac_prev=htmldir ;;
  891. -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
  892. | --ht=*)
  893. htmldir=$ac_optarg ;;
  894. -includedir | --includedir | --includedi | --included | --include \
  895. | --includ | --inclu | --incl | --inc)
  896. ac_prev=includedir ;;
  897. -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  898. | --includ=* | --inclu=* | --incl=* | --inc=*)
  899. includedir=$ac_optarg ;;
  900. -infodir | --infodir | --infodi | --infod | --info | --inf)
  901. ac_prev=infodir ;;
  902. -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  903. infodir=$ac_optarg ;;
  904. -libdir | --libdir | --libdi | --libd)
  905. ac_prev=libdir ;;
  906. -libdir=* | --libdir=* | --libdi=* | --libd=*)
  907. libdir=$ac_optarg ;;
  908. -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  909. | --libexe | --libex | --libe)
  910. ac_prev=libexecdir ;;
  911. -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  912. | --libexe=* | --libex=* | --libe=*)
  913. libexecdir=$ac_optarg ;;
  914. -localedir | --localedir | --localedi | --localed | --locale)
  915. ac_prev=localedir ;;
  916. -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
  917. localedir=$ac_optarg ;;
  918. -localstatedir | --localstatedir | --localstatedi | --localstated \
  919. | --localstate | --localstat | --localsta | --localst | --locals)
  920. ac_prev=localstatedir ;;
  921. -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  922. | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
  923. localstatedir=$ac_optarg ;;
  924. -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  925. ac_prev=mandir ;;
  926. -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  927. mandir=$ac_optarg ;;
  928. -nfp | --nfp | --nf)
  929. # Obsolete; use --without-fp.
  930. with_fp=no ;;
  931. -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  932. | --no-cr | --no-c | -n)
  933. no_create=yes ;;
  934. -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  935. | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  936. no_recursion=yes ;;
  937. -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  938. | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  939. | --oldin | --oldi | --old | --ol | --o)
  940. ac_prev=oldincludedir ;;
  941. -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  942. | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  943. | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  944. oldincludedir=$ac_optarg ;;
  945. -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  946. ac_prev=prefix ;;
  947. -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  948. prefix=$ac_optarg ;;
  949. -program-prefix | --program-prefix | --program-prefi | --program-pref \
  950. | --program-pre | --program-pr | --program-p)
  951. ac_prev=program_prefix ;;
  952. -program-prefix=* | --program-prefix=* | --program-prefi=* \
  953. | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  954. program_prefix=$ac_optarg ;;
  955. -program-suffix | --program-suffix | --program-suffi | --program-suff \
  956. | --program-suf | --program-su | --program-s)
  957. ac_prev=program_suffix ;;
  958. -program-suffix=* | --program-suffix=* | --program-suffi=* \
  959. | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  960. program_suffix=$ac_optarg ;;
  961. -program-transform-name | --program-transform-name \
  962. | --program-transform-nam | --program-transform-na \
  963. | --program-transform-n | --program-transform- \
  964. | --program-transform | --program-transfor \
  965. | --program-transfo | --program-transf \
  966. | --program-trans | --program-tran \
  967. | --progr-tra | --program-tr | --program-t)
  968. ac_prev=program_transform_name ;;
  969. -program-transform-name=* | --program-transform-name=* \
  970. | --program-transform-nam=* | --program-transform-na=* \
  971. | --program-transform-n=* | --program-transform-=* \
  972. | --program-transform=* | --program-transfor=* \
  973. | --program-transfo=* | --program-transf=* \
  974. | --program-trans=* | --program-tran=* \
  975. | --progr-tra=* | --program-tr=* | --program-t=*)
  976. program_transform_name=$ac_optarg ;;
  977. -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
  978. ac_prev=pdfdir ;;
  979. -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
  980. pdfdir=$ac_optarg ;;
  981. -psdir | --psdir | --psdi | --psd | --ps)
  982. ac_prev=psdir ;;
  983. -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
  984. psdir=$ac_optarg ;;
  985. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  986. | -silent | --silent | --silen | --sile | --sil)
  987. silent=yes ;;
  988. -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  989. ac_prev=sbindir ;;
  990. -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  991. | --sbi=* | --sb=*)
  992. sbindir=$ac_optarg ;;
  993. -sharedstatedir | --sharedstatedir | --sharedstatedi \
  994. | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  995. | --sharedst | --shareds | --shared | --share | --shar \
  996. | --sha | --sh)
  997. ac_prev=sharedstatedir ;;
  998. -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  999. | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  1000. | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  1001. | --sha=* | --sh=*)
  1002. sharedstatedir=$ac_optarg ;;
  1003. -site | --site | --sit)
  1004. ac_prev=site ;;
  1005. -site=* | --site=* | --sit=*)
  1006. site=$ac_optarg ;;
  1007. -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  1008. ac_prev=srcdir ;;
  1009. -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  1010. srcdir=$ac_optarg ;;
  1011. -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  1012. | --syscon | --sysco | --sysc | --sys | --sy)
  1013. ac_prev=sysconfdir ;;
  1014. -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  1015. | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  1016. sysconfdir=$ac_optarg ;;
  1017. -target | --target | --targe | --targ | --tar | --ta | --t)
  1018. ac_prev=target_alias ;;
  1019. -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  1020. target_alias=$ac_optarg ;;
  1021. -v | -verbose | --verbose | --verbos | --verbo | --verb)
  1022. verbose=yes ;;
  1023. -version | --version | --versio | --versi | --vers | -V)
  1024. ac_init_version=: ;;
  1025. -with-* | --with-*)
  1026. ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  1027. # Reject names that are not valid shell variable names.
  1028. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1029. as_fn_error $? "invalid package name: $ac_useropt"
  1030. ac_useropt_orig=$ac_useropt
  1031. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1032. case $ac_user_opts in
  1033. *"
  1034. "with_$ac_useropt"
  1035. "*) ;;
  1036. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
  1037. ac_unrecognized_sep=', ';;
  1038. esac
  1039. eval with_$ac_useropt=\$ac_optarg ;;
  1040. -without-* | --without-*)
  1041. ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  1042. # Reject names that are not valid shell variable names.
  1043. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1044. as_fn_error $? "invalid package name: $ac_useropt"
  1045. ac_useropt_orig=$ac_useropt
  1046. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1047. case $ac_user_opts in
  1048. *"
  1049. "with_$ac_useropt"
  1050. "*) ;;
  1051. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
  1052. ac_unrecognized_sep=', ';;
  1053. esac
  1054. eval with_$ac_useropt=no ;;
  1055. --x)
  1056. # Obsolete; use --with-x.
  1057. with_x=yes ;;
  1058. -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  1059. | --x-incl | --x-inc | --x-in | --x-i)
  1060. ac_prev=x_includes ;;
  1061. -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  1062. | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  1063. x_includes=$ac_optarg ;;
  1064. -x-libraries | --x-libraries | --x-librarie | --x-librari \
  1065. | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  1066. ac_prev=x_libraries ;;
  1067. -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  1068. | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  1069. x_libraries=$ac_optarg ;;
  1070. -*) as_fn_error $? "unrecognized option: \`$ac_option'
  1071. Try \`$0 --help' for more information"
  1072. ;;
  1073. *=*)
  1074. ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  1075. # Reject names that are not valid shell variable names.
  1076. case $ac_envvar in #(
  1077. '' | [0-9]* | *[!_$as_cr_alnum]* )
  1078. as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
  1079. esac
  1080. eval $ac_envvar=\$ac_optarg
  1081. export $ac_envvar ;;
  1082. *)
  1083. # FIXME: should be removed in autoconf 3.0.
  1084. $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  1085. expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  1086. $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  1087. : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
  1088. ;;
  1089. esac
  1090. done
  1091. if test -n "$ac_prev"; then
  1092. ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  1093. as_fn_error $? "missing argument to $ac_option"
  1094. fi
  1095. if test -n "$ac_unrecognized_opts"; then
  1096. case $enable_option_checking in
  1097. no) ;;
  1098. fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
  1099. *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
  1100. esac
  1101. fi
  1102. # Check all directory arguments for consistency.
  1103. for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
  1104. datadir sysconfdir sharedstatedir localstatedir includedir \
  1105. oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
  1106. libdir localedir mandir
  1107. do
  1108. eval ac_val=\$$ac_var
  1109. # Remove trailing slashes.
  1110. case $ac_val in
  1111. */ )
  1112. ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
  1113. eval $ac_var=\$ac_val;;
  1114. esac
  1115. # Be sure to have absolute directory names.
  1116. case $ac_val in
  1117. [\\/$]* | ?:[\\/]* ) continue;;
  1118. NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
  1119. esac
  1120. as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
  1121. done
  1122. # There might be people who depend on the old broken behavior: `$host'
  1123. # used to hold the argument of --host etc.
  1124. # FIXME: To remove some day.
  1125. build=$build_alias
  1126. host=$host_alias
  1127. target=$target_alias
  1128. # FIXME: To remove some day.
  1129. if test "x$host_alias" != x; then
  1130. if test "x$build_alias" = x; then
  1131. cross_compiling=maybe
  1132. elif test "x$build_alias" != "x$host_alias"; then
  1133. cross_compiling=yes
  1134. fi
  1135. fi
  1136. ac_tool_prefix=
  1137. test -n "$host_alias" && ac_tool_prefix=$host_alias-
  1138. test "$silent" = yes && exec 6>/dev/null
  1139. ac_pwd=`pwd` && test -n "$ac_pwd" &&
  1140. ac_ls_di=`ls -di .` &&
  1141. ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
  1142. as_fn_error $? "working directory cannot be determined"
  1143. test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
  1144. as_fn_error $? "pwd does not report name of working directory"
  1145. # Find the source files, if location was not specified.
  1146. if test -z "$srcdir"; then
  1147. ac_srcdir_defaulted=yes
  1148. # Try the directory containing this script, then the parent directory.
  1149. ac_confdir=`$as_dirname -- "$as_myself" ||
  1150. $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1151. X"$as_myself" : 'X\(//\)[^/]' \| \
  1152. X"$as_myself" : 'X\(//\)$' \| \
  1153. X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
  1154. $as_echo X"$as_myself" |
  1155. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  1156. s//\1/
  1157. q
  1158. }
  1159. /^X\(\/\/\)[^/].*/{
  1160. s//\1/
  1161. q
  1162. }
  1163. /^X\(\/\/\)$/{
  1164. s//\1/
  1165. q
  1166. }
  1167. /^X\(\/\).*/{
  1168. s//\1/
  1169. q
  1170. }
  1171. s/.*/./; q'`
  1172. srcdir=$ac_confdir
  1173. if test ! -r "$srcdir/$ac_unique_file"; then
  1174. srcdir=..
  1175. fi
  1176. else
  1177. ac_srcdir_defaulted=no
  1178. fi
  1179. if test ! -r "$srcdir/$ac_unique_file"; then
  1180. test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
  1181. as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
  1182. fi
  1183. ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
  1184. ac_abs_confdir=`(
  1185. cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
  1186. pwd)`
  1187. # When building in place, set srcdir=.
  1188. if test "$ac_abs_confdir" = "$ac_pwd"; then
  1189. srcdir=.
  1190. fi
  1191. # Remove unnecessary trailing slashes from srcdir.
  1192. # Double slashes in file names in object file debugging info
  1193. # mess up M-x gdb in Emacs.
  1194. case $srcdir in
  1195. */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
  1196. esac
  1197. for ac_var in $ac_precious_vars; do
  1198. eval ac_env_${ac_var}_set=\${${ac_var}+set}
  1199. eval ac_env_${ac_var}_value=\$${ac_var}
  1200. eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
  1201. eval ac_cv_env_${ac_var}_value=\$${ac_var}
  1202. done
  1203. #
  1204. # Report the --help message.
  1205. #
  1206. if test "$ac_init_help" = "long"; then
  1207. # Omit some internal or obsolete options to make the list less imposing.
  1208. # This message is too long to be a string in the A/UX 3.1 sh.
  1209. cat <<_ACEOF
  1210. \`configure' configures libstudxml 1.0.1 to adapt to many kinds of systems.
  1211. Usage: $0 [OPTION]... [VAR=VALUE]...
  1212. To assign environment variables (e.g., CC, CFLAGS...), specify them as
  1213. VAR=VALUE. See below for descriptions of some of the useful variables.
  1214. Defaults for the options are specified in brackets.
  1215. Configuration:
  1216. -h, --help display this help and exit
  1217. --help=short display options specific to this package
  1218. --help=recursive display the short help of all the included packages
  1219. -V, --version display version information and exit
  1220. -q, --quiet, --silent do not print \`checking ...' messages
  1221. --cache-file=FILE cache test results in FILE [disabled]
  1222. -C, --config-cache alias for \`--cache-file=config.cache'
  1223. -n, --no-create do not create output files
  1224. --srcdir=DIR find the sources in DIR [configure dir or \`..']
  1225. Installation directories:
  1226. --prefix=PREFIX install architecture-independent files in PREFIX
  1227. [$ac_default_prefix]
  1228. --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
  1229. [PREFIX]
  1230. By default, \`make install' will install all the files in
  1231. \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
  1232. an installation prefix other than \`$ac_default_prefix' using \`--prefix',
  1233. for instance \`--prefix=\$HOME'.
  1234. For better control, use the options below.
  1235. Fine tuning of the installation directories:
  1236. --bindir=DIR user executables [EPREFIX/bin]
  1237. --sbindir=DIR system admin executables [EPREFIX/sbin]
  1238. --libexecdir=DIR program executables [EPREFIX/libexec]
  1239. --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
  1240. --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
  1241. --localstatedir=DIR modifiable single-machine data [PREFIX/var]
  1242. --libdir=DIR object code libraries [EPREFIX/lib]
  1243. --includedir=DIR C header files [PREFIX/include]
  1244. --oldincludedir=DIR C header files for non-gcc [/usr/include]
  1245. --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
  1246. --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
  1247. --infodir=DIR info documentation [DATAROOTDIR/info]
  1248. --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
  1249. --mandir=DIR man documentation [DATAROOTDIR/man]
  1250. --docdir=DIR documentation root [DATAROOTDIR/doc/libstudxml]
  1251. --htmldir=DIR html documentation [DOCDIR]
  1252. --dvidir=DIR dvi documentation [DOCDIR]
  1253. --pdfdir=DIR pdf documentation [DOCDIR]
  1254. --psdir=DIR ps documentation [DOCDIR]
  1255. _ACEOF
  1256. cat <<\_ACEOF
  1257. Program names:
  1258. --program-prefix=PREFIX prepend PREFIX to installed program names
  1259. --program-suffix=SUFFIX append SUFFIX to installed program names
  1260. --program-transform-name=PROGRAM run sed PROGRAM on installed program names
  1261. System types:
  1262. --build=BUILD configure for building on BUILD [guessed]
  1263. --host=HOST cross-compile to build programs to run on HOST [BUILD]
  1264. _ACEOF
  1265. fi
  1266. if test -n "$ac_init_help"; then
  1267. case $ac_init_help in
  1268. short | recursive ) echo "Configuration of libstudxml 1.0.1:";;
  1269. esac
  1270. cat <<\_ACEOF
  1271. Optional Features:
  1272. --disable-option-checking ignore unrecognized --enable/--with options
  1273. --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
  1274. --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
  1275. --enable-dependency-tracking
  1276. do not reject slow dependency extractors
  1277. --disable-dependency-tracking
  1278. speeds up one-time build
  1279. --enable-shared[=PKGS] build shared libraries [default=yes]
  1280. --enable-static[=PKGS] build static libraries [default=yes]
  1281. --enable-fast-install[=PKGS]
  1282. optimize for fast installation [default=yes]
  1283. --disable-libtool-lock avoid locking (might break parallel builds)
  1284. --disable-rpath patch libtool to not use rpath
  1285. Optional Packages:
  1286. --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
  1287. --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
  1288. --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
  1289. both]
  1290. --with-gnu-ld assume the C compiler uses GNU ld [default=no]
  1291. --with-sysroot=DIR Search for dependent libraries within DIR
  1292. (or the compiler's sysroot if not specified).
  1293. --with-diff=PATH path to the diff program
  1294. --with-external-expat use external expat instead of the internal subset
  1295. --with-pkgconfigdir=DIR location of pkgconfig dir (default is
  1296. libdir/pkgconfig)
  1297. Some influential environment variables:
  1298. CC C compiler command
  1299. CFLAGS C compiler flags
  1300. LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
  1301. nonstandard directory <lib dir>
  1302. LIBS libraries to pass to the linker, e.g. -l<library>
  1303. CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
  1304. you have headers in a nonstandard directory <include dir>
  1305. CPP C preprocessor
  1306. DIFF diff command
  1307. DIFFFLAGS diff flags
  1308. CXX C++ compiler command
  1309. CXXFLAGS C++ compiler flags
  1310. CXXCPP C++ preprocessor
  1311. Use these variables to override the choices made by `configure' or to help
  1312. it to find libraries and programs with nonstandard names/locations.
  1313. Report bugs to <studxml-users@codesynthesis.com>.
  1314. _ACEOF
  1315. ac_status=$?
  1316. fi
  1317. if test "$ac_init_help" = "recursive"; then
  1318. # If there are subdirs, report their specific --help.
  1319. for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  1320. test -d "$ac_dir" ||
  1321. { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
  1322. continue
  1323. ac_builddir=.
  1324. case "$ac_dir" in
  1325. .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1326. *)
  1327. ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  1328. # A ".." for each directory in $ac_dir_suffix.
  1329. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  1330. case $ac_top_builddir_sub in
  1331. "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1332. *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  1333. esac ;;
  1334. esac
  1335. ac_abs_top_builddir=$ac_pwd
  1336. ac_abs_builddir=$ac_pwd$ac_dir_suffix
  1337. # for backward compatibility:
  1338. ac_top_builddir=$ac_top_build_prefix
  1339. case $srcdir in
  1340. .) # We are building in place.
  1341. ac_srcdir=.
  1342. ac_top_srcdir=$ac_top_builddir_sub
  1343. ac_abs_top_srcdir=$ac_pwd ;;
  1344. [\\/]* | ?:[\\/]* ) # Absolute name.
  1345. ac_srcdir=$srcdir$ac_dir_suffix;
  1346. ac_top_srcdir=$srcdir
  1347. ac_abs_top_srcdir=$srcdir ;;
  1348. *) # Relative name.
  1349. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  1350. ac_top_srcdir=$ac_top_build_prefix$srcdir
  1351. ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  1352. esac
  1353. ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  1354. cd "$ac_dir" || { ac_status=$?; continue; }
  1355. # Check for guested configure.
  1356. if test -f "$ac_srcdir/configure.gnu"; then
  1357. echo &&
  1358. $SHELL "$ac_srcdir/configure.gnu" --help=recursive
  1359. elif test -f "$ac_srcdir/configure"; then
  1360. echo &&
  1361. $SHELL "$ac_srcdir/configure" --help=recursive
  1362. else
  1363. $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  1364. fi || ac_status=$?
  1365. cd "$ac_pwd" || { ac_status=$?; break; }
  1366. done
  1367. fi
  1368. test -n "$ac_init_help" && exit $ac_status
  1369. if $ac_init_version; then
  1370. cat <<\_ACEOF
  1371. libstudxml configure 1.0.1
  1372. generated by GNU Autoconf 2.69
  1373. Copyright (C) 2012 Free Software Foundation, Inc.
  1374. This configure script is free software; the Free Software Foundation
  1375. gives unlimited permission to copy, distribute and modify it.
  1376. _ACEOF
  1377. exit
  1378. fi
  1379. ## ------------------------ ##
  1380. ## Autoconf initialization. ##
  1381. ## ------------------------ ##
  1382. # ac_fn_c_try_compile LINENO
  1383. # --------------------------
  1384. # Try to compile conftest.$ac_ext, and return whether this succeeded.
  1385. ac_fn_c_try_compile ()
  1386. {
  1387. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1388. rm -f conftest.$ac_objext
  1389. if { { ac_try="$ac_compile"
  1390. case "(($ac_try" in
  1391. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1392. *) ac_try_echo=$ac_try;;
  1393. esac
  1394. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1395. $as_echo "$ac_try_echo"; } >&5
  1396. (eval "$ac_compile") 2>conftest.err
  1397. ac_status=$?
  1398. if test -s conftest.err; then
  1399. grep -v '^ *+' conftest.err >conftest.er1
  1400. cat conftest.er1 >&5
  1401. mv -f conftest.er1 conftest.err
  1402. fi
  1403. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1404. test $ac_status = 0; } && {
  1405. test -z "$ac_c_werror_flag" ||
  1406. test ! -s conftest.err
  1407. } && test -s conftest.$ac_objext; then :
  1408. ac_retval=0
  1409. else
  1410. $as_echo "$as_me: failed program was:" >&5
  1411. sed 's/^/| /' conftest.$ac_ext >&5
  1412. ac_retval=1
  1413. fi
  1414. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1415. as_fn_set_status $ac_retval
  1416. } # ac_fn_c_try_compile
  1417. # ac_fn_c_try_link LINENO
  1418. # -----------------------
  1419. # Try to link conftest.$ac_ext, and return whether this succeeded.
  1420. ac_fn_c_try_link ()
  1421. {
  1422. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1423. rm -f conftest.$ac_objext conftest$ac_exeext
  1424. if { { ac_try="$ac_link"
  1425. case "(($ac_try" in
  1426. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1427. *) ac_try_echo=$ac_try;;
  1428. esac
  1429. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1430. $as_echo "$ac_try_echo"; } >&5
  1431. (eval "$ac_link") 2>conftest.err
  1432. ac_status=$?
  1433. if test -s conftest.err; then
  1434. grep -v '^ *+' conftest.err >conftest.er1
  1435. cat conftest.er1 >&5
  1436. mv -f conftest.er1 conftest.err
  1437. fi
  1438. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1439. test $ac_status = 0; } && {
  1440. test -z "$ac_c_werror_flag" ||
  1441. test ! -s conftest.err
  1442. } && test -s conftest$ac_exeext && {
  1443. test "$cross_compiling" = yes ||
  1444. test -x conftest$ac_exeext
  1445. }; then :
  1446. ac_retval=0
  1447. else
  1448. $as_echo "$as_me: failed program was:" >&5
  1449. sed 's/^/| /' conftest.$ac_ext >&5
  1450. ac_retval=1
  1451. fi
  1452. # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
  1453. # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
  1454. # interfere with the next link command; also delete a directory that is
  1455. # left behind by Apple's compiler. We do this before executing the actions.
  1456. rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  1457. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1458. as_fn_set_status $ac_retval
  1459. } # ac_fn_c_try_link
  1460. # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
  1461. # -------------------------------------------------------
  1462. # Tests whether HEADER exists and can be compiled using the include files in
  1463. # INCLUDES, setting the cache variable VAR accordingly.
  1464. ac_fn_c_check_header_compile ()
  1465. {
  1466. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1467. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1468. $as_echo_n "checking for $2... " >&6; }
  1469. if eval \${$3+:} false; then :
  1470. $as_echo_n "(cached) " >&6
  1471. else
  1472. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1473. /* end confdefs.h. */
  1474. $4
  1475. #include <$2>
  1476. _ACEOF
  1477. if ac_fn_c_try_compile "$LINENO"; then :
  1478. eval "$3=yes"
  1479. else
  1480. eval "$3=no"
  1481. fi
  1482. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1483. fi
  1484. eval ac_res=\$$3
  1485. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1486. $as_echo "$ac_res" >&6; }
  1487. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1488. } # ac_fn_c_check_header_compile
  1489. # ac_fn_c_try_cpp LINENO
  1490. # ----------------------
  1491. # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
  1492. ac_fn_c_try_cpp ()
  1493. {
  1494. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1495. if { { ac_try="$ac_cpp conftest.$ac_ext"
  1496. case "(($ac_try" in
  1497. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1498. *) ac_try_echo=$ac_try;;
  1499. esac
  1500. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1501. $as_echo "$ac_try_echo"; } >&5
  1502. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
  1503. ac_status=$?
  1504. if test -s conftest.err; then
  1505. grep -v '^ *+' conftest.err >conftest.er1
  1506. cat conftest.er1 >&5
  1507. mv -f conftest.er1 conftest.err
  1508. fi
  1509. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1510. test $ac_status = 0; } > conftest.i && {
  1511. test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  1512. test ! -s conftest.err
  1513. }; then :
  1514. ac_retval=0
  1515. else
  1516. $as_echo "$as_me: failed program was:" >&5
  1517. sed 's/^/| /' conftest.$ac_ext >&5
  1518. ac_retval=1
  1519. fi
  1520. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1521. as_fn_set_status $ac_retval
  1522. } # ac_fn_c_try_cpp
  1523. # ac_fn_c_try_run LINENO
  1524. # ----------------------
  1525. # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
  1526. # that executables *can* be run.
  1527. ac_fn_c_try_run ()
  1528. {
  1529. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1530. if { { ac_try="$ac_link"
  1531. case "(($ac_try" in
  1532. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1533. *) ac_try_echo=$ac_try;;
  1534. esac
  1535. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1536. $as_echo "$ac_try_echo"; } >&5
  1537. (eval "$ac_link") 2>&5
  1538. ac_status=$?
  1539. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1540. test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
  1541. { { case "(($ac_try" in
  1542. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1543. *) ac_try_echo=$ac_try;;
  1544. esac
  1545. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1546. $as_echo "$ac_try_echo"; } >&5
  1547. (eval "$ac_try") 2>&5
  1548. ac_status=$?
  1549. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1550. test $ac_status = 0; }; }; then :
  1551. ac_retval=0
  1552. else
  1553. $as_echo "$as_me: program exited with status $ac_status" >&5
  1554. $as_echo "$as_me: failed program was:" >&5
  1555. sed 's/^/| /' conftest.$ac_ext >&5
  1556. ac_retval=$ac_status
  1557. fi
  1558. rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  1559. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1560. as_fn_set_status $ac_retval
  1561. } # ac_fn_c_try_run
  1562. # ac_fn_c_check_func LINENO FUNC VAR
  1563. # ----------------------------------
  1564. # Tests whether FUNC exists, setting the cache variable VAR accordingly
  1565. ac_fn_c_check_func ()
  1566. {
  1567. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1568. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1569. $as_echo_n "checking for $2... " >&6; }
  1570. if eval \${$3+:} false; then :
  1571. $as_echo_n "(cached) " >&6
  1572. else
  1573. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1574. /* end confdefs.h. */
  1575. /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
  1576. For example, HP-UX 11i <limits.h> declares gettimeofday. */
  1577. #define $2 innocuous_$2
  1578. /* System header to define __stub macros and hopefully few prototypes,
  1579. which can conflict with char $2 (); below.
  1580. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  1581. <limits.h> exists even on freestanding compilers. */
  1582. #ifdef __STDC__
  1583. # include <limits.h>
  1584. #else
  1585. # include <assert.h>
  1586. #endif
  1587. #undef $2
  1588. /* Override any GCC internal prototype to avoid an error.
  1589. Use char because int might match the return type of a GCC
  1590. builtin and then its argument prototype would still apply. */
  1591. #ifdef __cplusplus
  1592. extern "C"
  1593. #endif
  1594. char $2 ();
  1595. /* The GNU C library defines this for functions which it implements
  1596. to always fail with ENOSYS. Some functions are actually named
  1597. something starting with __ and the normal name is an alias. */
  1598. #if defined __stub_$2 || defined __stub___$2
  1599. choke me
  1600. #endif
  1601. int
  1602. main ()
  1603. {
  1604. return $2 ();
  1605. ;
  1606. return 0;
  1607. }
  1608. _ACEOF
  1609. if ac_fn_c_try_link "$LINENO"; then :
  1610. eval "$3=yes"
  1611. else
  1612. eval "$3=no"
  1613. fi
  1614. rm -f core conftest.err conftest.$ac_objext \
  1615. conftest$ac_exeext conftest.$ac_ext
  1616. fi
  1617. eval ac_res=\$$3
  1618. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1619. $as_echo "$ac_res" >&6; }
  1620. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1621. } # ac_fn_c_check_func
  1622. # ac_fn_cxx_try_compile LINENO
  1623. # ----------------------------
  1624. # Try to compile conftest.$ac_ext, and return whether this succeeded.
  1625. ac_fn_cxx_try_compile ()
  1626. {
  1627. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1628. rm -f conftest.$ac_objext
  1629. if { { ac_try="$ac_compile"
  1630. case "(($ac_try" in
  1631. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1632. *) ac_try_echo=$ac_try;;
  1633. esac
  1634. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1635. $as_echo "$ac_try_echo"; } >&5
  1636. (eval "$ac_compile") 2>conftest.err
  1637. ac_status=$?
  1638. if test -s conftest.err; then
  1639. grep -v '^ *+' conftest.err >conftest.er1
  1640. cat conftest.er1 >&5
  1641. mv -f conftest.er1 conftest.err
  1642. fi
  1643. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1644. test $ac_status = 0; } && {
  1645. test -z "$ac_cxx_werror_flag" ||
  1646. test ! -s conftest.err
  1647. } && test -s conftest.$ac_objext; then :
  1648. ac_retval=0
  1649. else
  1650. $as_echo "$as_me: failed program was:" >&5
  1651. sed 's/^/| /' conftest.$ac_ext >&5
  1652. ac_retval=1
  1653. fi
  1654. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1655. as_fn_set_status $ac_retval
  1656. } # ac_fn_cxx_try_compile
  1657. # ac_fn_cxx_try_cpp LINENO
  1658. # ------------------------
  1659. # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
  1660. ac_fn_cxx_try_cpp ()
  1661. {
  1662. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1663. if { { ac_try="$ac_cpp conftest.$ac_ext"
  1664. case "(($ac_try" in
  1665. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1666. *) ac_try_echo=$ac_try;;
  1667. esac
  1668. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1669. $as_echo "$ac_try_echo"; } >&5
  1670. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
  1671. ac_status=$?
  1672. if test -s conftest.err; then
  1673. grep -v '^ *+' conftest.err >conftest.er1
  1674. cat conftest.er1 >&5
  1675. mv -f conftest.er1 conftest.err
  1676. fi
  1677. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1678. test $ac_status = 0; } > conftest.i && {
  1679. test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
  1680. test ! -s conftest.err
  1681. }; then :
  1682. ac_retval=0
  1683. else
  1684. $as_echo "$as_me: failed program was:" >&5
  1685. sed 's/^/| /' conftest.$ac_ext >&5
  1686. ac_retval=1
  1687. fi
  1688. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1689. as_fn_set_status $ac_retval
  1690. } # ac_fn_cxx_try_cpp
  1691. # ac_fn_cxx_try_link LINENO
  1692. # -------------------------
  1693. # Try to link conftest.$ac_ext, and return whether this succeeded.
  1694. ac_fn_cxx_try_link ()
  1695. {
  1696. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1697. rm -f conftest.$ac_objext conftest$ac_exeext
  1698. if { { ac_try="$ac_link"
  1699. case "(($ac_try" in
  1700. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1701. *) ac_try_echo=$ac_try;;
  1702. esac
  1703. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1704. $as_echo "$ac_try_echo"; } >&5
  1705. (eval "$ac_link") 2>conftest.err
  1706. ac_status=$?
  1707. if test -s conftest.err; then
  1708. grep -v '^ *+' conftest.err >conftest.er1
  1709. cat conftest.er1 >&5
  1710. mv -f conftest.er1 conftest.err
  1711. fi
  1712. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1713. test $ac_status = 0; } && {
  1714. test -z "$ac_cxx_werror_flag" ||
  1715. test ! -s conftest.err
  1716. } && test -s conftest$ac_exeext && {
  1717. test "$cross_compiling" = yes ||
  1718. test -x conftest$ac_exeext
  1719. }; then :
  1720. ac_retval=0
  1721. else
  1722. $as_echo "$as_me: failed program was:" >&5
  1723. sed 's/^/| /' conftest.$ac_ext >&5
  1724. ac_retval=1
  1725. fi
  1726. # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
  1727. # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
  1728. # interfere with the next link command; also delete a directory that is
  1729. # left behind by Apple's compiler. We do this before executing the actions.
  1730. rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  1731. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1732. as_fn_set_status $ac_retval
  1733. } # ac_fn_cxx_try_link
  1734. # ac_fn_cxx_try_run LINENO
  1735. # ------------------------
  1736. # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
  1737. # that executables *can* be run.
  1738. ac_fn_cxx_try_run ()
  1739. {
  1740. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1741. if { { ac_try="$ac_link"
  1742. case "(($ac_try" in
  1743. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1744. *) ac_try_echo=$ac_try;;
  1745. esac
  1746. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1747. $as_echo "$ac_try_echo"; } >&5
  1748. (eval "$ac_link") 2>&5
  1749. ac_status=$?
  1750. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1751. test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
  1752. { { case "(($ac_try" in
  1753. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1754. *) ac_try_echo=$ac_try;;
  1755. esac
  1756. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1757. $as_echo "$ac_try_echo"; } >&5
  1758. (eval "$ac_try") 2>&5
  1759. ac_status=$?
  1760. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1761. test $ac_status = 0; }; }; then :
  1762. ac_retval=0
  1763. else
  1764. $as_echo "$as_me: program exited with status $ac_status" >&5
  1765. $as_echo "$as_me: failed program was:" >&5
  1766. sed 's/^/| /' conftest.$ac_ext >&5
  1767. ac_retval=$ac_status
  1768. fi
  1769. rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  1770. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1771. as_fn_set_status $ac_retval
  1772. } # ac_fn_cxx_try_run
  1773. cat >config.log <<_ACEOF
  1774. This file contains any messages produced by compilers while
  1775. running configure, to aid debugging if configure makes a mistake.
  1776. It was created by libstudxml $as_me 1.0.1, which was
  1777. generated by GNU Autoconf 2.69. Invocation command line was
  1778. $ $0 $@
  1779. _ACEOF
  1780. exec 5>>config.log
  1781. {
  1782. cat <<_ASUNAME
  1783. ## --------- ##
  1784. ## Platform. ##
  1785. ## --------- ##
  1786. hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  1787. uname -m = `(uname -m) 2>/dev/null || echo unknown`
  1788. uname -r = `(uname -r) 2>/dev/null || echo unknown`
  1789. uname -s = `(uname -s) 2>/dev/null || echo unknown`
  1790. uname -v = `(uname -v) 2>/dev/null || echo unknown`
  1791. /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  1792. /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
  1793. /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
  1794. /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
  1795. /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  1796. /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
  1797. /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
  1798. /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
  1799. /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
  1800. _ASUNAME
  1801. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1802. for as_dir in $PATH
  1803. do
  1804. IFS=$as_save_IFS
  1805. test -z "$as_dir" && as_dir=.
  1806. $as_echo "PATH: $as_dir"
  1807. done
  1808. IFS=$as_save_IFS
  1809. } >&5
  1810. cat >&5 <<_ACEOF
  1811. ## ----------- ##
  1812. ## Core tests. ##
  1813. ## ----------- ##
  1814. _ACEOF
  1815. # Keep a trace of the command line.
  1816. # Strip out --no-create and --no-recursion so they do not pile up.
  1817. # Strip out --silent because we don't want to record it for future runs.
  1818. # Also quote any args containing shell meta-characters.
  1819. # Make two passes to allow for proper duplicate-argument suppression.
  1820. ac_configure_args=
  1821. ac_configure_args0=
  1822. ac_configure_args1=
  1823. ac_must_keep_next=false
  1824. for ac_pass in 1 2
  1825. do
  1826. for ac_arg
  1827. do
  1828. case $ac_arg in
  1829. -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  1830. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1831. | -silent | --silent | --silen | --sile | --sil)
  1832. continue ;;
  1833. *\'*)
  1834. ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  1835. esac
  1836. case $ac_pass in
  1837. 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
  1838. 2)
  1839. as_fn_append ac_configure_args1 " '$ac_arg'"
  1840. if test $ac_must_keep_next = true; then
  1841. ac_must_keep_next=false # Got value, back to normal.
  1842. else
  1843. case $ac_arg in
  1844. *=* | --config-cache | -C | -disable-* | --disable-* \
  1845. | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
  1846. | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
  1847. | -with-* | --with-* | -without-* | --without-* | --x)
  1848. case "$ac_configure_args0 " in
  1849. "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  1850. esac
  1851. ;;
  1852. -* ) ac_must_keep_next=true ;;
  1853. esac
  1854. fi
  1855. as_fn_append ac_configure_args " '$ac_arg'"
  1856. ;;
  1857. esac
  1858. done
  1859. done
  1860. { ac_configure_args0=; unset ac_configure_args0;}
  1861. { ac_configure_args1=; unset ac_configure_args1;}
  1862. # When interrupted or exit'd, cleanup temporary files, and complete
  1863. # config.log. We remove comments because anyway the quotes in there
  1864. # would cause problems or look ugly.
  1865. # WARNING: Use '\'' to represent an apostrophe within the trap.
  1866. # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
  1867. trap 'exit_status=$?
  1868. # Save into config.log some information that might help in debugging.
  1869. {
  1870. echo
  1871. $as_echo "## ---------------- ##
  1872. ## Cache variables. ##
  1873. ## ---------------- ##"
  1874. echo
  1875. # The following way of writing the cache mishandles newlines in values,
  1876. (
  1877. for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
  1878. eval ac_val=\$$ac_var
  1879. case $ac_val in #(
  1880. *${as_nl}*)
  1881. case $ac_var in #(
  1882. *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  1883. $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  1884. esac
  1885. case $ac_var in #(
  1886. _ | IFS | as_nl) ;; #(
  1887. BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  1888. *) { eval $ac_var=; unset $ac_var;} ;;
  1889. esac ;;
  1890. esac
  1891. done
  1892. (set) 2>&1 |
  1893. case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
  1894. *${as_nl}ac_space=\ *)
  1895. sed -n \
  1896. "s/'\''/'\''\\\\'\'''\''/g;
  1897. s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
  1898. ;; #(
  1899. *)
  1900. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  1901. ;;
  1902. esac |
  1903. sort
  1904. )
  1905. echo
  1906. $as_echo "## ----------------- ##
  1907. ## Output variables. ##
  1908. ## ----------------- ##"
  1909. echo
  1910. for ac_var in $ac_subst_vars
  1911. do
  1912. eval ac_val=\$$ac_var
  1913. case $ac_val in
  1914. *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  1915. esac
  1916. $as_echo "$ac_var='\''$ac_val'\''"
  1917. done | sort
  1918. echo
  1919. if test -n "$ac_subst_files"; then
  1920. $as_echo "## ------------------- ##
  1921. ## File substitutions. ##
  1922. ## ------------------- ##"
  1923. echo
  1924. for ac_var in $ac_subst_files
  1925. do
  1926. eval ac_val=\$$ac_var
  1927. case $ac_val in
  1928. *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  1929. esac
  1930. $as_echo "$ac_var='\''$ac_val'\''"
  1931. done | sort
  1932. echo
  1933. fi
  1934. if test -s confdefs.h; then
  1935. $as_echo "## ----------- ##
  1936. ## confdefs.h. ##
  1937. ## ----------- ##"
  1938. echo
  1939. cat confdefs.h
  1940. echo
  1941. fi
  1942. test "$ac_signal" != 0 &&
  1943. $as_echo "$as_me: caught signal $ac_signal"
  1944. $as_echo "$as_me: exit $exit_status"
  1945. } >&5
  1946. rm -f core *.core core.conftest.* &&
  1947. rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
  1948. exit $exit_status
  1949. ' 0
  1950. for ac_signal in 1 2 13 15; do
  1951. trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
  1952. done
  1953. ac_signal=0
  1954. # confdefs.h avoids OS command line length limits that DEFS can exceed.
  1955. rm -f -r conftest* confdefs.h
  1956. $as_echo "/* confdefs.h */" > confdefs.h
  1957. # Predefined preprocessor variables.
  1958. cat >>confdefs.h <<_ACEOF
  1959. #define PACKAGE_NAME "$PACKAGE_NAME"
  1960. _ACEOF
  1961. cat >>confdefs.h <<_ACEOF
  1962. #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  1963. _ACEOF
  1964. cat >>confdefs.h <<_ACEOF
  1965. #define PACKAGE_VERSION "$PACKAGE_VERSION"
  1966. _ACEOF
  1967. cat >>confdefs.h <<_ACEOF
  1968. #define PACKAGE_STRING "$PACKAGE_STRING"
  1969. _ACEOF
  1970. cat >>confdefs.h <<_ACEOF
  1971. #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  1972. _ACEOF
  1973. cat >>confdefs.h <<_ACEOF
  1974. #define PACKAGE_URL "$PACKAGE_URL"
  1975. _ACEOF
  1976. # Let the site file select an alternate cache file if it wants to.
  1977. # Prefer an explicitly selected file to automatically selected ones.
  1978. ac_site_file1=NONE
  1979. ac_site_file2=NONE
  1980. if test -n "$CONFIG_SITE"; then
  1981. # We do not want a PATH search for config.site.
  1982. case $CONFIG_SITE in #((
  1983. -*) ac_site_file1=./$CONFIG_SITE;;
  1984. */*) ac_site_file1=$CONFIG_SITE;;
  1985. *) ac_site_file1=./$CONFIG_SITE;;
  1986. esac
  1987. elif test "x$prefix" != xNONE; then
  1988. ac_site_file1=$prefix/share/config.site
  1989. ac_site_file2=$prefix/etc/config.site
  1990. else
  1991. ac_site_file1=$ac_default_prefix/share/config.site
  1992. ac_site_file2=$ac_default_prefix/etc/config.site
  1993. fi
  1994. for ac_site_file in "$ac_site_file1" "$ac_site_file2"
  1995. do
  1996. test "x$ac_site_file" = xNONE && continue
  1997. if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
  1998. { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
  1999. $as_echo "$as_me: loading site script $ac_site_file" >&6;}
  2000. sed 's/^/| /' "$ac_site_file" >&5
  2001. . "$ac_site_file" \
  2002. || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  2003. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2004. as_fn_error $? "failed to load site script $ac_site_file
  2005. See \`config.log' for more details" "$LINENO" 5; }
  2006. fi
  2007. done
  2008. if test -r "$cache_file"; then
  2009. # Some versions of bash will fail to source /dev/null (special files
  2010. # actually), so we avoid doing that. DJGPP emulates it as a regular file.
  2011. if test /dev/null != "$cache_file" && test -f "$cache_file"; then
  2012. { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
  2013. $as_echo "$as_me: loading cache $cache_file" >&6;}
  2014. case $cache_file in
  2015. [\\/]* | ?:[\\/]* ) . "$cache_file";;
  2016. *) . "./$cache_file";;
  2017. esac
  2018. fi
  2019. else
  2020. { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
  2021. $as_echo "$as_me: creating cache $cache_file" >&6;}
  2022. >$cache_file
  2023. fi
  2024. # Check that the precious variables saved in the cache have kept the same
  2025. # value.
  2026. ac_cache_corrupted=false
  2027. for ac_var in $ac_precious_vars; do
  2028. eval ac_old_set=\$ac_cv_env_${ac_var}_set
  2029. eval ac_new_set=\$ac_env_${ac_var}_set
  2030. eval ac_old_val=\$ac_cv_env_${ac_var}_value
  2031. eval ac_new_val=\$ac_env_${ac_var}_value
  2032. case $ac_old_set,$ac_new_set in
  2033. set,)
  2034. { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  2035. $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  2036. ac_cache_corrupted=: ;;
  2037. ,set)
  2038. { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
  2039. $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  2040. ac_cache_corrupted=: ;;
  2041. ,);;
  2042. *)
  2043. if test "x$ac_old_val" != "x$ac_new_val"; then
  2044. # differences in whitespace do not lead to failure.
  2045. ac_old_val_w=`echo x $ac_old_val`
  2046. ac_new_val_w=`echo x $ac_new_val`
  2047. if test "$ac_old_val_w" != "$ac_new_val_w"; then
  2048. { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
  2049. $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  2050. ac_cache_corrupted=:
  2051. else
  2052. { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
  2053. $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
  2054. eval $ac_var=\$ac_old_val
  2055. fi
  2056. { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
  2057. $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
  2058. { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
  2059. $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
  2060. fi;;
  2061. esac
  2062. # Pass precious variables to config.status.
  2063. if test "$ac_new_set" = set; then
  2064. case $ac_new_val in
  2065. *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  2066. *) ac_arg=$ac_var=$ac_new_val ;;
  2067. esac
  2068. case " $ac_configure_args " in
  2069. *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
  2070. *) as_fn_append ac_configure_args " '$ac_arg'" ;;
  2071. esac
  2072. fi
  2073. done
  2074. if $ac_cache_corrupted; then
  2075. { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  2076. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2077. { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
  2078. $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  2079. as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
  2080. fi
  2081. ## -------------------- ##
  2082. ## Main body of script. ##
  2083. ## -------------------- ##
  2084. ac_ext=c
  2085. ac_cpp='$CPP $CPPFLAGS'
  2086. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2087. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2088. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2089. ac_aux_dir=
  2090. for ac_dir in config "$srcdir"/config; do
  2091. if test -f "$ac_dir/install-sh"; then
  2092. ac_aux_dir=$ac_dir
  2093. ac_install_sh="$ac_aux_dir/install-sh -c"
  2094. break
  2095. elif test -f "$ac_dir/install.sh"; then
  2096. ac_aux_dir=$ac_dir
  2097. ac_install_sh="$ac_aux_dir/install.sh -c"
  2098. break
  2099. elif test -f "$ac_dir/shtool"; then
  2100. ac_aux_dir=$ac_dir
  2101. ac_install_sh="$ac_aux_dir/shtool install -c"
  2102. break
  2103. fi
  2104. done
  2105. if test -z "$ac_aux_dir"; then
  2106. as_fn_error $? "cannot find install-sh, install.sh, or shtool in config \"$srcdir\"/config" "$LINENO" 5
  2107. fi
  2108. # These three variables are undocumented and unsupported,
  2109. # and are intended to be withdrawn in a future Autoconf release.
  2110. # They can cause serious problems if a builder's source tree is in a directory
  2111. # whose full name contains unusual characters.
  2112. ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
  2113. ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
  2114. ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
  2115. am__api_version='1.12'
  2116. # Find a good install program. We prefer a C program (faster),
  2117. # so one script is as good as another. But avoid the broken or
  2118. # incompatible versions:
  2119. # SysV /etc/install, /usr/sbin/install
  2120. # SunOS /usr/etc/install
  2121. # IRIX /sbin/install
  2122. # AIX /bin/install
  2123. # AmigaOS /C/install, which installs bootblocks on floppy discs
  2124. # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
  2125. # AFS /usr/afsws/bin/install, which mishandles nonexistent args
  2126. # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  2127. # OS/2's system install, which has a completely different semantic
  2128. # ./install, which can be erroneously created by make from ./install.sh.
  2129. # Reject install programs that cannot install multiple files.
  2130. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
  2131. $as_echo_n "checking for a BSD-compatible install... " >&6; }
  2132. if test -z "$INSTALL"; then
  2133. if ${ac_cv_path_install+:} false; then :
  2134. $as_echo_n "(cached) " >&6
  2135. else
  2136. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2137. for as_dir in $PATH
  2138. do
  2139. IFS=$as_save_IFS
  2140. test -z "$as_dir" && as_dir=.
  2141. # Account for people who put trailing slashes in PATH elements.
  2142. case $as_dir/ in #((
  2143. ./ | .// | /[cC]/* | \
  2144. /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
  2145. ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
  2146. /usr/ucb/* ) ;;
  2147. *)
  2148. # OSF1 and SCO ODT 3.0 have their own names for install.
  2149. # Don't use installbsd from OSF since it installs stuff as root
  2150. # by default.
  2151. for ac_prog in ginstall scoinst install; do
  2152. for ac_exec_ext in '' $ac_executable_extensions; do
  2153. if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
  2154. if test $ac_prog = install &&
  2155. grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  2156. # AIX install. It has an incompatible calling convention.
  2157. :
  2158. elif test $ac_prog = install &&
  2159. grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  2160. # program-specific install script used by HP pwplus--don't use.
  2161. :
  2162. else
  2163. rm -rf conftest.one conftest.two conftest.dir
  2164. echo one > conftest.one
  2165. echo two > conftest.two
  2166. mkdir conftest.dir
  2167. if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
  2168. test -s conftest.one && test -s conftest.two &&
  2169. test -s conftest.dir/conftest.one &&
  2170. test -s conftest.dir/conftest.two
  2171. then
  2172. ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
  2173. break 3
  2174. fi
  2175. fi
  2176. fi
  2177. done
  2178. done
  2179. ;;
  2180. esac
  2181. done
  2182. IFS=$as_save_IFS
  2183. rm -rf conftest.one conftest.two conftest.dir
  2184. fi
  2185. if test "${ac_cv_path_install+set}" = set; then
  2186. INSTALL=$ac_cv_path_install
  2187. else
  2188. # As a last resort, use the slow shell script. Don't cache a
  2189. # value for INSTALL within a source directory, because that will
  2190. # break other packages using the cache if that directory is
  2191. # removed, or if the value is a relative name.
  2192. INSTALL=$ac_install_sh
  2193. fi
  2194. fi
  2195. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
  2196. $as_echo "$INSTALL" >&6; }
  2197. # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  2198. # It thinks the first close brace ends the variable substitution.
  2199. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  2200. test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
  2201. test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  2202. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
  2203. $as_echo_n "checking whether build environment is sane... " >&6; }
  2204. # Reject unsafe characters in $srcdir or the absolute working directory
  2205. # name. Accept space and tab only in the latter.
  2206. am_lf='
  2207. '
  2208. case `pwd` in
  2209. *[\\\"\#\$\&\'\`$am_lf]*)
  2210. as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
  2211. esac
  2212. case $srcdir in
  2213. *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
  2214. as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
  2215. esac
  2216. # Do 'set' in a subshell so we don't clobber the current shell's
  2217. # arguments. Must try -L first in case configure is actually a
  2218. # symlink; some systems play weird games with the mod time of symlinks
  2219. # (eg FreeBSD returns the mod time of the symlink's containing
  2220. # directory).
  2221. if (
  2222. am_has_slept=no
  2223. for am_try in 1 2; do
  2224. echo "timestamp, slept: $am_has_slept" > conftest.file
  2225. set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
  2226. if test "$*" = "X"; then
  2227. # -L didn't work.
  2228. set X `ls -t "$srcdir/configure" conftest.file`
  2229. fi
  2230. if test "$*" != "X $srcdir/configure conftest.file" \
  2231. && test "$*" != "X conftest.file $srcdir/configure"; then
  2232. # If neither matched, then we have a broken ls. This can happen
  2233. # if, for instance, CONFIG_SHELL is bash and it inherits a
  2234. # broken ls alias from the environment. This has actually
  2235. # happened. Such a system could not be considered "sane".
  2236. as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
  2237. alias in your environment" "$LINENO" 5
  2238. fi
  2239. if test "$2" = conftest.file || test $am_try -eq 2; then
  2240. break
  2241. fi
  2242. # Just in case.
  2243. sleep 1
  2244. am_has_slept=yes
  2245. done
  2246. test "$2" = conftest.file
  2247. )
  2248. then
  2249. # Ok.
  2250. :
  2251. else
  2252. as_fn_error $? "newly created file is older than distributed files!
  2253. Check your system clock" "$LINENO" 5
  2254. fi
  2255. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  2256. $as_echo "yes" >&6; }
  2257. # If we didn't sleep, we still need to ensure time stamps of config.status and
  2258. # generated files are strictly newer.
  2259. am_sleep_pid=
  2260. if grep 'slept: no' conftest.file >/dev/null 2>&1; then
  2261. ( sleep 1 ) &
  2262. am_sleep_pid=$!
  2263. fi
  2264. rm -f conftest.file
  2265. test "$program_prefix" != NONE &&
  2266. program_transform_name="s&^&$program_prefix&;$program_transform_name"
  2267. # Use a double $ so make ignores it.
  2268. test "$program_suffix" != NONE &&
  2269. program_transform_name="s&\$&$program_suffix&;$program_transform_name"
  2270. # Double any \ or $.
  2271. # By default was `s,x,x', remove it if useless.
  2272. ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
  2273. program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
  2274. # expand $ac_aux_dir to an absolute path
  2275. am_aux_dir=`cd $ac_aux_dir && pwd`
  2276. if test x"${MISSING+set}" != xset; then
  2277. case $am_aux_dir in
  2278. *\ * | *\ *)
  2279. MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
  2280. *)
  2281. MISSING="\${SHELL} $am_aux_dir/missing" ;;
  2282. esac
  2283. fi
  2284. # Use eval to expand $SHELL
  2285. if eval "$MISSING --run true"; then
  2286. am_missing_run="$MISSING --run "
  2287. else
  2288. am_missing_run=
  2289. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
  2290. $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
  2291. fi
  2292. if test x"${install_sh}" != xset; then
  2293. case $am_aux_dir in
  2294. *\ * | *\ *)
  2295. install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
  2296. *)
  2297. install_sh="\${SHELL} $am_aux_dir/install-sh"
  2298. esac
  2299. fi
  2300. # Installed binaries are usually stripped using 'strip' when the user
  2301. # run "make install-strip". However 'strip' might not be the right
  2302. # tool to use in cross-compilation environments, therefore Automake
  2303. # will honor the 'STRIP' environment variable to overrule this program.
  2304. if test "$cross_compiling" != no; then
  2305. if test -n "$ac_tool_prefix"; then
  2306. # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  2307. set dummy ${ac_tool_prefix}strip; ac_word=$2
  2308. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2309. $as_echo_n "checking for $ac_word... " >&6; }
  2310. if ${ac_cv_prog_STRIP+:} false; then :
  2311. $as_echo_n "(cached) " >&6
  2312. else
  2313. if test -n "$STRIP"; then
  2314. ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  2315. else
  2316. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2317. for as_dir in $PATH
  2318. do
  2319. IFS=$as_save_IFS
  2320. test -z "$as_dir" && as_dir=.
  2321. for ac_exec_ext in '' $ac_executable_extensions; do
  2322. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2323. ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  2324. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2325. break 2
  2326. fi
  2327. done
  2328. done
  2329. IFS=$as_save_IFS
  2330. fi
  2331. fi
  2332. STRIP=$ac_cv_prog_STRIP
  2333. if test -n "$STRIP"; then
  2334. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
  2335. $as_echo "$STRIP" >&6; }
  2336. else
  2337. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2338. $as_echo "no" >&6; }
  2339. fi
  2340. fi
  2341. if test -z "$ac_cv_prog_STRIP"; then
  2342. ac_ct_STRIP=$STRIP
  2343. # Extract the first word of "strip", so it can be a program name with args.
  2344. set dummy strip; ac_word=$2
  2345. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2346. $as_echo_n "checking for $ac_word... " >&6; }
  2347. if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
  2348. $as_echo_n "(cached) " >&6
  2349. else
  2350. if test -n "$ac_ct_STRIP"; then
  2351. ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  2352. else
  2353. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2354. for as_dir in $PATH
  2355. do
  2356. IFS=$as_save_IFS
  2357. test -z "$as_dir" && as_dir=.
  2358. for ac_exec_ext in '' $ac_executable_extensions; do
  2359. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2360. ac_cv_prog_ac_ct_STRIP="strip"
  2361. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2362. break 2
  2363. fi
  2364. done
  2365. done
  2366. IFS=$as_save_IFS
  2367. fi
  2368. fi
  2369. ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  2370. if test -n "$ac_ct_STRIP"; then
  2371. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
  2372. $as_echo "$ac_ct_STRIP" >&6; }
  2373. else
  2374. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2375. $as_echo "no" >&6; }
  2376. fi
  2377. if test "x$ac_ct_STRIP" = x; then
  2378. STRIP=":"
  2379. else
  2380. case $cross_compiling:$ac_tool_warned in
  2381. yes:)
  2382. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  2383. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  2384. ac_tool_warned=yes ;;
  2385. esac
  2386. STRIP=$ac_ct_STRIP
  2387. fi
  2388. else
  2389. STRIP="$ac_cv_prog_STRIP"
  2390. fi
  2391. fi
  2392. INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
  2393. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
  2394. $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
  2395. if test -z "$MKDIR_P"; then
  2396. if ${ac_cv_path_mkdir+:} false; then :
  2397. $as_echo_n "(cached) " >&6
  2398. else
  2399. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2400. for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
  2401. do
  2402. IFS=$as_save_IFS
  2403. test -z "$as_dir" && as_dir=.
  2404. for ac_prog in mkdir gmkdir; do
  2405. for ac_exec_ext in '' $ac_executable_extensions; do
  2406. as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
  2407. case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
  2408. 'mkdir (GNU coreutils) '* | \
  2409. 'mkdir (coreutils) '* | \
  2410. 'mkdir (fileutils) '4.1*)
  2411. ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
  2412. break 3;;
  2413. esac
  2414. done
  2415. done
  2416. done
  2417. IFS=$as_save_IFS
  2418. fi
  2419. test -d ./--version && rmdir ./--version
  2420. if test "${ac_cv_path_mkdir+set}" = set; then
  2421. MKDIR_P="$ac_cv_path_mkdir -p"
  2422. else
  2423. # As a last resort, use the slow shell script. Don't cache a
  2424. # value for MKDIR_P within a source directory, because that will
  2425. # break other packages using the cache if that directory is
  2426. # removed, or if the value is a relative name.
  2427. MKDIR_P="$ac_install_sh -d"
  2428. fi
  2429. fi
  2430. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
  2431. $as_echo "$MKDIR_P" >&6; }
  2432. for ac_prog in gawk mawk nawk awk
  2433. do
  2434. # Extract the first word of "$ac_prog", so it can be a program name with args.
  2435. set dummy $ac_prog; ac_word=$2
  2436. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2437. $as_echo_n "checking for $ac_word... " >&6; }
  2438. if ${ac_cv_prog_AWK+:} false; then :
  2439. $as_echo_n "(cached) " >&6
  2440. else
  2441. if test -n "$AWK"; then
  2442. ac_cv_prog_AWK="$AWK" # Let the user override the test.
  2443. else
  2444. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2445. for as_dir in $PATH
  2446. do
  2447. IFS=$as_save_IFS
  2448. test -z "$as_dir" && as_dir=.
  2449. for ac_exec_ext in '' $ac_executable_extensions; do
  2450. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2451. ac_cv_prog_AWK="$ac_prog"
  2452. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2453. break 2
  2454. fi
  2455. done
  2456. done
  2457. IFS=$as_save_IFS
  2458. fi
  2459. fi
  2460. AWK=$ac_cv_prog_AWK
  2461. if test -n "$AWK"; then
  2462. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
  2463. $as_echo "$AWK" >&6; }
  2464. else
  2465. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2466. $as_echo "no" >&6; }
  2467. fi
  2468. test -n "$AWK" && break
  2469. done
  2470. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
  2471. $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
  2472. set x ${MAKE-make}
  2473. ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
  2474. if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
  2475. $as_echo_n "(cached) " >&6
  2476. else
  2477. cat >conftest.make <<\_ACEOF
  2478. SHELL = /bin/sh
  2479. all:
  2480. @echo '@@@%%%=$(MAKE)=@@@%%%'
  2481. _ACEOF
  2482. # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
  2483. case `${MAKE-make} -f conftest.make 2>/dev/null` in
  2484. *@@@%%%=?*=@@@%%%*)
  2485. eval ac_cv_prog_make_${ac_make}_set=yes;;
  2486. *)
  2487. eval ac_cv_prog_make_${ac_make}_set=no;;
  2488. esac
  2489. rm -f conftest.make
  2490. fi
  2491. if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
  2492. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  2493. $as_echo "yes" >&6; }
  2494. SET_MAKE=
  2495. else
  2496. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2497. $as_echo "no" >&6; }
  2498. SET_MAKE="MAKE=${MAKE-make}"
  2499. fi
  2500. rm -rf .tst 2>/dev/null
  2501. mkdir .tst 2>/dev/null
  2502. if test -d .tst; then
  2503. am__leading_dot=.
  2504. else
  2505. am__leading_dot=_
  2506. fi
  2507. rmdir .tst 2>/dev/null
  2508. if test "`cd $srcdir && pwd`" != "`pwd`"; then
  2509. # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
  2510. # is not polluted with repeated "-I."
  2511. am__isrc=' -I$(srcdir)'
  2512. # test to see if srcdir already configured
  2513. if test -f $srcdir/config.status; then
  2514. as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
  2515. fi
  2516. fi
  2517. # test whether we have cygpath
  2518. if test -z "$CYGPATH_W"; then
  2519. if (cygpath --version) >/dev/null 2>/dev/null; then
  2520. CYGPATH_W='cygpath -w'
  2521. else
  2522. CYGPATH_W=echo
  2523. fi
  2524. fi
  2525. # Define the identity of the package.
  2526. PACKAGE='libstudxml'
  2527. VERSION='1.0.1'
  2528. cat >>confdefs.h <<_ACEOF
  2529. #define PACKAGE "$PACKAGE"
  2530. _ACEOF
  2531. cat >>confdefs.h <<_ACEOF
  2532. #define VERSION "$VERSION"
  2533. _ACEOF
  2534. # Some tools Automake needs.
  2535. ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
  2536. AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
  2537. AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
  2538. AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
  2539. MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
  2540. # For better backward compatibility. To be removed once Automake 1.9.x
  2541. # dies out for good. For more background, see:
  2542. # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
  2543. # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
  2544. mkdir_p='$(MKDIR_P)'
  2545. # We need awk for the "check" target. The system "awk" is bad on
  2546. # some platforms.
  2547. # Always define AMTAR for backward compatibility. Yes, it's still used
  2548. # in the wild :-( We should find a proper way to deprecate it ...
  2549. AMTAR='$${TAR-tar}'
  2550. { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
  2551. $as_echo_n "checking how to create a ustar tar archive... " >&6; }
  2552. # Loop over all known methods to create a tar archive until one works.
  2553. _am_tools='gnutar plaintar pax cpio none'
  2554. _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
  2555. # Do not fold the above two line into one, because Tru64 sh and
  2556. # Solaris sh will not grok spaces in the rhs of '-'.
  2557. for _am_tool in $_am_tools
  2558. do
  2559. case $_am_tool in
  2560. gnutar)
  2561. for _am_tar in tar gnutar gtar;
  2562. do
  2563. { echo "$as_me:$LINENO: $_am_tar --version" >&5
  2564. ($_am_tar --version) >&5 2>&5
  2565. ac_status=$?
  2566. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2567. (exit $ac_status); } && break
  2568. done
  2569. am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
  2570. am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
  2571. am__untar="$_am_tar -xf -"
  2572. ;;
  2573. plaintar)
  2574. # Must skip GNU tar: if it does not support --format= it doesn't create
  2575. # ustar tarball either.
  2576. (tar --version) >/dev/null 2>&1 && continue
  2577. am__tar='tar chf - "$$tardir"'
  2578. am__tar_='tar chf - "$tardir"'
  2579. am__untar='tar xf -'
  2580. ;;
  2581. pax)
  2582. am__tar='pax -L -x ustar -w "$$tardir"'
  2583. am__tar_='pax -L -x ustar -w "$tardir"'
  2584. am__untar='pax -r'
  2585. ;;
  2586. cpio)
  2587. am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
  2588. am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
  2589. am__untar='cpio -i -H ustar -d'
  2590. ;;
  2591. none)
  2592. am__tar=false
  2593. am__tar_=false
  2594. am__untar=false
  2595. ;;
  2596. esac
  2597. # If the value was cached, stop now. We just wanted to have am__tar
  2598. # and am__untar set.
  2599. test -n "${am_cv_prog_tar_ustar}" && break
  2600. # tar/untar a dummy directory, and stop if the command works
  2601. rm -rf conftest.dir
  2602. mkdir conftest.dir
  2603. echo GrepMe > conftest.dir/file
  2604. { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
  2605. (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
  2606. ac_status=$?
  2607. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2608. (exit $ac_status); }
  2609. rm -rf conftest.dir
  2610. if test -s conftest.tar; then
  2611. { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
  2612. ($am__untar <conftest.tar) >&5 2>&5
  2613. ac_status=$?
  2614. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2615. (exit $ac_status); }
  2616. grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
  2617. fi
  2618. done
  2619. rm -rf conftest.dir
  2620. if ${am_cv_prog_tar_ustar+:} false; then :
  2621. $as_echo_n "(cached) " >&6
  2622. else
  2623. am_cv_prog_tar_ustar=$_am_tool
  2624. fi
  2625. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
  2626. $as_echo "$am_cv_prog_tar_ustar" >&6; }
  2627. DEPDIR="${am__leading_dot}deps"
  2628. ac_config_commands="$ac_config_commands depfiles"
  2629. am_make=${MAKE-make}
  2630. cat > confinc << 'END'
  2631. am__doit:
  2632. @echo this is the am__doit target
  2633. .PHONY: am__doit
  2634. END
  2635. # If we don't find an include directive, just comment out the code.
  2636. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
  2637. $as_echo_n "checking for style of include used by $am_make... " >&6; }
  2638. am__include="#"
  2639. am__quote=
  2640. _am_result=none
  2641. # First try GNU make style include.
  2642. echo "include confinc" > confmf
  2643. # Ignore all kinds of additional output from 'make'.
  2644. case `$am_make -s -f confmf 2> /dev/null` in #(
  2645. *the\ am__doit\ target*)
  2646. am__include=include
  2647. am__quote=
  2648. _am_result=GNU
  2649. ;;
  2650. esac
  2651. # Now try BSD make style include.
  2652. if test "$am__include" = "#"; then
  2653. echo '.include "confinc"' > confmf
  2654. case `$am_make -s -f confmf 2> /dev/null` in #(
  2655. *the\ am__doit\ target*)
  2656. am__include=.include
  2657. am__quote="\""
  2658. _am_result=BSD
  2659. ;;
  2660. esac
  2661. fi
  2662. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
  2663. $as_echo "$_am_result" >&6; }
  2664. rm -f confinc confmf
  2665. # Check whether --enable-dependency-tracking was given.
  2666. if test "${enable_dependency_tracking+set}" = set; then :
  2667. enableval=$enable_dependency_tracking;
  2668. fi
  2669. if test "x$enable_dependency_tracking" != xno; then
  2670. am_depcomp="$ac_aux_dir/depcomp"
  2671. AMDEPBACKSLASH='\'
  2672. am__nodep='_no'
  2673. fi
  2674. if test "x$enable_dependency_tracking" != xno; then
  2675. AMDEP_TRUE=
  2676. AMDEP_FALSE='#'
  2677. else
  2678. AMDEP_TRUE='#'
  2679. AMDEP_FALSE=
  2680. fi
  2681. ac_ext=c
  2682. ac_cpp='$CPP $CPPFLAGS'
  2683. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2684. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2685. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2686. if test -n "$ac_tool_prefix"; then
  2687. # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  2688. set dummy ${ac_tool_prefix}gcc; ac_word=$2
  2689. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2690. $as_echo_n "checking for $ac_word... " >&6; }
  2691. if ${ac_cv_prog_CC+:} false; then :
  2692. $as_echo_n "(cached) " >&6
  2693. else
  2694. if test -n "$CC"; then
  2695. ac_cv_prog_CC="$CC" # Let the user override the test.
  2696. else
  2697. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2698. for as_dir in $PATH
  2699. do
  2700. IFS=$as_save_IFS
  2701. test -z "$as_dir" && as_dir=.
  2702. for ac_exec_ext in '' $ac_executable_extensions; do
  2703. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2704. ac_cv_prog_CC="${ac_tool_prefix}gcc"
  2705. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2706. break 2
  2707. fi
  2708. done
  2709. done
  2710. IFS=$as_save_IFS
  2711. fi
  2712. fi
  2713. CC=$ac_cv_prog_CC
  2714. if test -n "$CC"; then
  2715. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  2716. $as_echo "$CC" >&6; }
  2717. else
  2718. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2719. $as_echo "no" >&6; }
  2720. fi
  2721. fi
  2722. if test -z "$ac_cv_prog_CC"; then
  2723. ac_ct_CC=$CC
  2724. # Extract the first word of "gcc", so it can be a program name with args.
  2725. set dummy gcc; ac_word=$2
  2726. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2727. $as_echo_n "checking for $ac_word... " >&6; }
  2728. if ${ac_cv_prog_ac_ct_CC+:} false; then :
  2729. $as_echo_n "(cached) " >&6
  2730. else
  2731. if test -n "$ac_ct_CC"; then
  2732. ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  2733. else
  2734. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2735. for as_dir in $PATH
  2736. do
  2737. IFS=$as_save_IFS
  2738. test -z "$as_dir" && as_dir=.
  2739. for ac_exec_ext in '' $ac_executable_extensions; do
  2740. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2741. ac_cv_prog_ac_ct_CC="gcc"
  2742. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2743. break 2
  2744. fi
  2745. done
  2746. done
  2747. IFS=$as_save_IFS
  2748. fi
  2749. fi
  2750. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  2751. if test -n "$ac_ct_CC"; then
  2752. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  2753. $as_echo "$ac_ct_CC" >&6; }
  2754. else
  2755. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2756. $as_echo "no" >&6; }
  2757. fi
  2758. if test "x$ac_ct_CC" = x; then
  2759. CC=""
  2760. else
  2761. case $cross_compiling:$ac_tool_warned in
  2762. yes:)
  2763. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  2764. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  2765. ac_tool_warned=yes ;;
  2766. esac
  2767. CC=$ac_ct_CC
  2768. fi
  2769. else
  2770. CC="$ac_cv_prog_CC"
  2771. fi
  2772. if test -z "$CC"; then
  2773. if test -n "$ac_tool_prefix"; then
  2774. # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  2775. set dummy ${ac_tool_prefix}cc; ac_word=$2
  2776. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2777. $as_echo_n "checking for $ac_word... " >&6; }
  2778. if ${ac_cv_prog_CC+:} false; then :
  2779. $as_echo_n "(cached) " >&6
  2780. else
  2781. if test -n "$CC"; then
  2782. ac_cv_prog_CC="$CC" # Let the user override the test.
  2783. else
  2784. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2785. for as_dir in $PATH
  2786. do
  2787. IFS=$as_save_IFS
  2788. test -z "$as_dir" && as_dir=.
  2789. for ac_exec_ext in '' $ac_executable_extensions; do
  2790. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2791. ac_cv_prog_CC="${ac_tool_prefix}cc"
  2792. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2793. break 2
  2794. fi
  2795. done
  2796. done
  2797. IFS=$as_save_IFS
  2798. fi
  2799. fi
  2800. CC=$ac_cv_prog_CC
  2801. if test -n "$CC"; then
  2802. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  2803. $as_echo "$CC" >&6; }
  2804. else
  2805. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2806. $as_echo "no" >&6; }
  2807. fi
  2808. fi
  2809. fi
  2810. if test -z "$CC"; then
  2811. # Extract the first word of "cc", so it can be a program name with args.
  2812. set dummy cc; ac_word=$2
  2813. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2814. $as_echo_n "checking for $ac_word... " >&6; }
  2815. if ${ac_cv_prog_CC+:} false; then :
  2816. $as_echo_n "(cached) " >&6
  2817. else
  2818. if test -n "$CC"; then
  2819. ac_cv_prog_CC="$CC" # Let the user override the test.
  2820. else
  2821. ac_prog_rejected=no
  2822. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2823. for as_dir in $PATH
  2824. do
  2825. IFS=$as_save_IFS
  2826. test -z "$as_dir" && as_dir=.
  2827. for ac_exec_ext in '' $ac_executable_extensions; do
  2828. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2829. if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  2830. ac_prog_rejected=yes
  2831. continue
  2832. fi
  2833. ac_cv_prog_CC="cc"
  2834. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2835. break 2
  2836. fi
  2837. done
  2838. done
  2839. IFS=$as_save_IFS
  2840. if test $ac_prog_rejected = yes; then
  2841. # We found a bogon in the path, so make sure we never use it.
  2842. set dummy $ac_cv_prog_CC
  2843. shift
  2844. if test $# != 0; then
  2845. # We chose a different compiler from the bogus one.
  2846. # However, it has the same basename, so the bogon will be chosen
  2847. # first if we set CC to just the basename; use the full file name.
  2848. shift
  2849. ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  2850. fi
  2851. fi
  2852. fi
  2853. fi
  2854. CC=$ac_cv_prog_CC
  2855. if test -n "$CC"; then
  2856. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  2857. $as_echo "$CC" >&6; }
  2858. else
  2859. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2860. $as_echo "no" >&6; }
  2861. fi
  2862. fi
  2863. if test -z "$CC"; then
  2864. if test -n "$ac_tool_prefix"; then
  2865. for ac_prog in cl.exe
  2866. do
  2867. # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  2868. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  2869. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2870. $as_echo_n "checking for $ac_word... " >&6; }
  2871. if ${ac_cv_prog_CC+:} false; then :
  2872. $as_echo_n "(cached) " >&6
  2873. else
  2874. if test -n "$CC"; then
  2875. ac_cv_prog_CC="$CC" # Let the user override the test.
  2876. else
  2877. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2878. for as_dir in $PATH
  2879. do
  2880. IFS=$as_save_IFS
  2881. test -z "$as_dir" && as_dir=.
  2882. for ac_exec_ext in '' $ac_executable_extensions; do
  2883. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2884. ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  2885. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2886. break 2
  2887. fi
  2888. done
  2889. done
  2890. IFS=$as_save_IFS
  2891. fi
  2892. fi
  2893. CC=$ac_cv_prog_CC
  2894. if test -n "$CC"; then
  2895. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  2896. $as_echo "$CC" >&6; }
  2897. else
  2898. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2899. $as_echo "no" >&6; }
  2900. fi
  2901. test -n "$CC" && break
  2902. done
  2903. fi
  2904. if test -z "$CC"; then
  2905. ac_ct_CC=$CC
  2906. for ac_prog in cl.exe
  2907. do
  2908. # Extract the first word of "$ac_prog", so it can be a program name with args.
  2909. set dummy $ac_prog; ac_word=$2
  2910. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2911. $as_echo_n "checking for $ac_word... " >&6; }
  2912. if ${ac_cv_prog_ac_ct_CC+:} false; then :
  2913. $as_echo_n "(cached) " >&6
  2914. else
  2915. if test -n "$ac_ct_CC"; then
  2916. ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  2917. else
  2918. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2919. for as_dir in $PATH
  2920. do
  2921. IFS=$as_save_IFS
  2922. test -z "$as_dir" && as_dir=.
  2923. for ac_exec_ext in '' $ac_executable_extensions; do
  2924. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2925. ac_cv_prog_ac_ct_CC="$ac_prog"
  2926. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2927. break 2
  2928. fi
  2929. done
  2930. done
  2931. IFS=$as_save_IFS
  2932. fi
  2933. fi
  2934. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  2935. if test -n "$ac_ct_CC"; then
  2936. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  2937. $as_echo "$ac_ct_CC" >&6; }
  2938. else
  2939. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2940. $as_echo "no" >&6; }
  2941. fi
  2942. test -n "$ac_ct_CC" && break
  2943. done
  2944. if test "x$ac_ct_CC" = x; then
  2945. CC=""
  2946. else
  2947. case $cross_compiling:$ac_tool_warned in
  2948. yes:)
  2949. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  2950. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  2951. ac_tool_warned=yes ;;
  2952. esac
  2953. CC=$ac_ct_CC
  2954. fi
  2955. fi
  2956. fi
  2957. test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  2958. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2959. as_fn_error $? "no acceptable C compiler found in \$PATH
  2960. See \`config.log' for more details" "$LINENO" 5; }
  2961. # Provide some information about the compiler.
  2962. $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
  2963. set X $ac_compile
  2964. ac_compiler=$2
  2965. for ac_option in --version -v -V -qversion; do
  2966. { { ac_try="$ac_compiler $ac_option >&5"
  2967. case "(($ac_try" in
  2968. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2969. *) ac_try_echo=$ac_try;;
  2970. esac
  2971. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2972. $as_echo "$ac_try_echo"; } >&5
  2973. (eval "$ac_compiler $ac_option >&5") 2>conftest.err
  2974. ac_status=$?
  2975. if test -s conftest.err; then
  2976. sed '10a\
  2977. ... rest of stderr output deleted ...
  2978. 10q' conftest.err >conftest.er1
  2979. cat conftest.er1 >&5
  2980. fi
  2981. rm -f conftest.er1 conftest.err
  2982. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2983. test $ac_status = 0; }
  2984. done
  2985. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2986. /* end confdefs.h. */
  2987. int
  2988. main ()
  2989. {
  2990. ;
  2991. return 0;
  2992. }
  2993. _ACEOF
  2994. ac_clean_files_save=$ac_clean_files
  2995. ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
  2996. # Try to create an executable without -o first, disregard a.out.
  2997. # It will help us diagnose broken compilers, and finding out an intuition
  2998. # of exeext.
  2999. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
  3000. $as_echo_n "checking whether the C compiler works... " >&6; }
  3001. ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
  3002. # The possible output files:
  3003. ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
  3004. ac_rmfiles=
  3005. for ac_file in $ac_files
  3006. do
  3007. case $ac_file in
  3008. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  3009. * ) ac_rmfiles="$ac_rmfiles $ac_file";;
  3010. esac
  3011. done
  3012. rm -f $ac_rmfiles
  3013. if { { ac_try="$ac_link_default"
  3014. case "(($ac_try" in
  3015. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3016. *) ac_try_echo=$ac_try;;
  3017. esac
  3018. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3019. $as_echo "$ac_try_echo"; } >&5
  3020. (eval "$ac_link_default") 2>&5
  3021. ac_status=$?
  3022. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3023. test $ac_status = 0; }; then :
  3024. # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
  3025. # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
  3026. # in a Makefile. We should not override ac_cv_exeext if it was cached,
  3027. # so that the user can short-circuit this test for compilers unknown to
  3028. # Autoconf.
  3029. for ac_file in $ac_files ''
  3030. do
  3031. test -f "$ac_file" || continue
  3032. case $ac_file in
  3033. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
  3034. ;;
  3035. [ab].out )
  3036. # We found the default executable, but exeext='' is most
  3037. # certainly right.
  3038. break;;
  3039. *.* )
  3040. if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
  3041. then :; else
  3042. ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  3043. fi
  3044. # We set ac_cv_exeext here because the later test for it is not
  3045. # safe: cross compilers may not add the suffix if given an `-o'
  3046. # argument, so we may need to know it at that point already.
  3047. # Even if this section looks crufty: it has the advantage of
  3048. # actually working.
  3049. break;;
  3050. * )
  3051. break;;
  3052. esac
  3053. done
  3054. test "$ac_cv_exeext" = no && ac_cv_exeext=
  3055. else
  3056. ac_file=''
  3057. fi
  3058. if test -z "$ac_file"; then :
  3059. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3060. $as_echo "no" >&6; }
  3061. $as_echo "$as_me: failed program was:" >&5
  3062. sed 's/^/| /' conftest.$ac_ext >&5
  3063. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3064. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3065. as_fn_error 77 "C compiler cannot create executables
  3066. See \`config.log' for more details" "$LINENO" 5; }
  3067. else
  3068. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  3069. $as_echo "yes" >&6; }
  3070. fi
  3071. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
  3072. $as_echo_n "checking for C compiler default output file name... " >&6; }
  3073. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
  3074. $as_echo "$ac_file" >&6; }
  3075. ac_exeext=$ac_cv_exeext
  3076. rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
  3077. ac_clean_files=$ac_clean_files_save
  3078. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
  3079. $as_echo_n "checking for suffix of executables... " >&6; }
  3080. if { { ac_try="$ac_link"
  3081. case "(($ac_try" in
  3082. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3083. *) ac_try_echo=$ac_try;;
  3084. esac
  3085. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3086. $as_echo "$ac_try_echo"; } >&5
  3087. (eval "$ac_link") 2>&5
  3088. ac_status=$?
  3089. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3090. test $ac_status = 0; }; then :
  3091. # If both `conftest.exe' and `conftest' are `present' (well, observable)
  3092. # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
  3093. # work properly (i.e., refer to `conftest.exe'), while it won't with
  3094. # `rm'.
  3095. for ac_file in conftest.exe conftest conftest.*; do
  3096. test -f "$ac_file" || continue
  3097. case $ac_file in
  3098. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  3099. *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  3100. break;;
  3101. * ) break;;
  3102. esac
  3103. done
  3104. else
  3105. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3106. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3107. as_fn_error $? "cannot compute suffix of executables: cannot compile and link
  3108. See \`config.log' for more details" "$LINENO" 5; }
  3109. fi
  3110. rm -f conftest conftest$ac_cv_exeext
  3111. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
  3112. $as_echo "$ac_cv_exeext" >&6; }
  3113. rm -f conftest.$ac_ext
  3114. EXEEXT=$ac_cv_exeext
  3115. ac_exeext=$EXEEXT
  3116. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3117. /* end confdefs.h. */
  3118. #include <stdio.h>
  3119. int
  3120. main ()
  3121. {
  3122. FILE *f = fopen ("conftest.out", "w");
  3123. return ferror (f) || fclose (f) != 0;
  3124. ;
  3125. return 0;
  3126. }
  3127. _ACEOF
  3128. ac_clean_files="$ac_clean_files conftest.out"
  3129. # Check that the compiler produces executables we can run. If not, either
  3130. # the compiler is broken, or we cross compile.
  3131. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
  3132. $as_echo_n "checking whether we are cross compiling... " >&6; }
  3133. if test "$cross_compiling" != yes; then
  3134. { { ac_try="$ac_link"
  3135. case "(($ac_try" in
  3136. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3137. *) ac_try_echo=$ac_try;;
  3138. esac
  3139. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3140. $as_echo "$ac_try_echo"; } >&5
  3141. (eval "$ac_link") 2>&5
  3142. ac_status=$?
  3143. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3144. test $ac_status = 0; }
  3145. if { ac_try='./conftest$ac_cv_exeext'
  3146. { { case "(($ac_try" in
  3147. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3148. *) ac_try_echo=$ac_try;;
  3149. esac
  3150. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3151. $as_echo "$ac_try_echo"; } >&5
  3152. (eval "$ac_try") 2>&5
  3153. ac_status=$?
  3154. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3155. test $ac_status = 0; }; }; then
  3156. cross_compiling=no
  3157. else
  3158. if test "$cross_compiling" = maybe; then
  3159. cross_compiling=yes
  3160. else
  3161. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3162. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3163. as_fn_error $? "cannot run C compiled programs.
  3164. If you meant to cross compile, use \`--host'.
  3165. See \`config.log' for more details" "$LINENO" 5; }
  3166. fi
  3167. fi
  3168. fi
  3169. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
  3170. $as_echo "$cross_compiling" >&6; }
  3171. rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
  3172. ac_clean_files=$ac_clean_files_save
  3173. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
  3174. $as_echo_n "checking for suffix of object files... " >&6; }
  3175. if ${ac_cv_objext+:} false; then :
  3176. $as_echo_n "(cached) " >&6
  3177. else
  3178. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3179. /* end confdefs.h. */
  3180. int
  3181. main ()
  3182. {
  3183. ;
  3184. return 0;
  3185. }
  3186. _ACEOF
  3187. rm -f conftest.o conftest.obj
  3188. if { { ac_try="$ac_compile"
  3189. case "(($ac_try" in
  3190. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3191. *) ac_try_echo=$ac_try;;
  3192. esac
  3193. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3194. $as_echo "$ac_try_echo"; } >&5
  3195. (eval "$ac_compile") 2>&5
  3196. ac_status=$?
  3197. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3198. test $ac_status = 0; }; then :
  3199. for ac_file in conftest.o conftest.obj conftest.*; do
  3200. test -f "$ac_file" || continue;
  3201. case $ac_file in
  3202. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
  3203. *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
  3204. break;;
  3205. esac
  3206. done
  3207. else
  3208. $as_echo "$as_me: failed program was:" >&5
  3209. sed 's/^/| /' conftest.$ac_ext >&5
  3210. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3211. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3212. as_fn_error $? "cannot compute suffix of object files: cannot compile
  3213. See \`config.log' for more details" "$LINENO" 5; }
  3214. fi
  3215. rm -f conftest.$ac_cv_objext conftest.$ac_ext
  3216. fi
  3217. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
  3218. $as_echo "$ac_cv_objext" >&6; }
  3219. OBJEXT=$ac_cv_objext
  3220. ac_objext=$OBJEXT
  3221. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
  3222. $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
  3223. if ${ac_cv_c_compiler_gnu+:} false; then :
  3224. $as_echo_n "(cached) " >&6
  3225. else
  3226. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3227. /* end confdefs.h. */
  3228. int
  3229. main ()
  3230. {
  3231. #ifndef __GNUC__
  3232. choke me
  3233. #endif
  3234. ;
  3235. return 0;
  3236. }
  3237. _ACEOF
  3238. if ac_fn_c_try_compile "$LINENO"; then :
  3239. ac_compiler_gnu=yes
  3240. else
  3241. ac_compiler_gnu=no
  3242. fi
  3243. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3244. ac_cv_c_compiler_gnu=$ac_compiler_gnu
  3245. fi
  3246. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
  3247. $as_echo "$ac_cv_c_compiler_gnu" >&6; }
  3248. if test $ac_compiler_gnu = yes; then
  3249. GCC=yes
  3250. else
  3251. GCC=
  3252. fi
  3253. ac_test_CFLAGS=${CFLAGS+set}
  3254. ac_save_CFLAGS=$CFLAGS
  3255. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
  3256. $as_echo_n "checking whether $CC accepts -g... " >&6; }
  3257. if ${ac_cv_prog_cc_g+:} false; then :
  3258. $as_echo_n "(cached) " >&6
  3259. else
  3260. ac_save_c_werror_flag=$ac_c_werror_flag
  3261. ac_c_werror_flag=yes
  3262. ac_cv_prog_cc_g=no
  3263. CFLAGS="-g"
  3264. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3265. /* end confdefs.h. */
  3266. int
  3267. main ()
  3268. {
  3269. ;
  3270. return 0;
  3271. }
  3272. _ACEOF
  3273. if ac_fn_c_try_compile "$LINENO"; then :
  3274. ac_cv_prog_cc_g=yes
  3275. else
  3276. CFLAGS=""
  3277. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3278. /* end confdefs.h. */
  3279. int
  3280. main ()
  3281. {
  3282. ;
  3283. return 0;
  3284. }
  3285. _ACEOF
  3286. if ac_fn_c_try_compile "$LINENO"; then :
  3287. else
  3288. ac_c_werror_flag=$ac_save_c_werror_flag
  3289. CFLAGS="-g"
  3290. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3291. /* end confdefs.h. */
  3292. int
  3293. main ()
  3294. {
  3295. ;
  3296. return 0;
  3297. }
  3298. _ACEOF
  3299. if ac_fn_c_try_compile "$LINENO"; then :
  3300. ac_cv_prog_cc_g=yes
  3301. fi
  3302. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3303. fi
  3304. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3305. fi
  3306. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3307. ac_c_werror_flag=$ac_save_c_werror_flag
  3308. fi
  3309. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
  3310. $as_echo "$ac_cv_prog_cc_g" >&6; }
  3311. if test "$ac_test_CFLAGS" = set; then
  3312. CFLAGS=$ac_save_CFLAGS
  3313. elif test $ac_cv_prog_cc_g = yes; then
  3314. if test "$GCC" = yes; then
  3315. CFLAGS="-g -O2"
  3316. else
  3317. CFLAGS="-g"
  3318. fi
  3319. else
  3320. if test "$GCC" = yes; then
  3321. CFLAGS="-O2"
  3322. else
  3323. CFLAGS=
  3324. fi
  3325. fi
  3326. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
  3327. $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
  3328. if ${ac_cv_prog_cc_c89+:} false; then :
  3329. $as_echo_n "(cached) " >&6
  3330. else
  3331. ac_cv_prog_cc_c89=no
  3332. ac_save_CC=$CC
  3333. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3334. /* end confdefs.h. */
  3335. #include <stdarg.h>
  3336. #include <stdio.h>
  3337. struct stat;
  3338. /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
  3339. struct buf { int x; };
  3340. FILE * (*rcsopen) (struct buf *, struct stat *, int);
  3341. static char *e (p, i)
  3342. char **p;
  3343. int i;
  3344. {
  3345. return p[i];
  3346. }
  3347. static char *f (char * (*g) (char **, int), char **p, ...)
  3348. {
  3349. char *s;
  3350. va_list v;
  3351. va_start (v,p);
  3352. s = g (p, va_arg (v,int));
  3353. va_end (v);
  3354. return s;
  3355. }
  3356. /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
  3357. function prototypes and stuff, but not '\xHH' hex character constants.
  3358. These don't provoke an error unfortunately, instead are silently treated
  3359. as 'x'. The following induces an error, until -std is added to get
  3360. proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
  3361. array size at least. It's necessary to write '\x00'==0 to get something
  3362. that's true only with -std. */
  3363. int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  3364. /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  3365. inside strings and character constants. */
  3366. #define FOO(x) 'x'
  3367. int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  3368. int test (int i, double x);
  3369. struct s1 {int (*f) (int a);};
  3370. struct s2 {int (*f) (double a);};
  3371. int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  3372. int argc;
  3373. char **argv;
  3374. int
  3375. main ()
  3376. {
  3377. return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
  3378. ;
  3379. return 0;
  3380. }
  3381. _ACEOF
  3382. for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  3383. -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  3384. do
  3385. CC="$ac_save_CC $ac_arg"
  3386. if ac_fn_c_try_compile "$LINENO"; then :
  3387. ac_cv_prog_cc_c89=$ac_arg
  3388. fi
  3389. rm -f core conftest.err conftest.$ac_objext
  3390. test "x$ac_cv_prog_cc_c89" != "xno" && break
  3391. done
  3392. rm -f conftest.$ac_ext
  3393. CC=$ac_save_CC
  3394. fi
  3395. # AC_CACHE_VAL
  3396. case "x$ac_cv_prog_cc_c89" in
  3397. x)
  3398. { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
  3399. $as_echo "none needed" >&6; } ;;
  3400. xno)
  3401. { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
  3402. $as_echo "unsupported" >&6; } ;;
  3403. *)
  3404. CC="$CC $ac_cv_prog_cc_c89"
  3405. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
  3406. $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
  3407. esac
  3408. if test "x$ac_cv_prog_cc_c89" != xno; then :
  3409. fi
  3410. ac_ext=c
  3411. ac_cpp='$CPP $CPPFLAGS'
  3412. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3413. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3414. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3415. depcc="$CC" am_compiler_list=
  3416. { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
  3417. $as_echo_n "checking dependency style of $depcc... " >&6; }
  3418. if ${am_cv_CC_dependencies_compiler_type+:} false; then :
  3419. $as_echo_n "(cached) " >&6
  3420. else
  3421. if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  3422. # We make a subdir and do the tests there. Otherwise we can end up
  3423. # making bogus files that we don't know about and never remove. For
  3424. # instance it was reported that on HP-UX the gcc test will end up
  3425. # making a dummy file named 'D' -- because '-MD' means "put the output
  3426. # in D".
  3427. rm -rf conftest.dir
  3428. mkdir conftest.dir
  3429. # Copy depcomp to subdir because otherwise we won't find it if we're
  3430. # using a relative directory.
  3431. cp "$am_depcomp" conftest.dir
  3432. cd conftest.dir
  3433. # We will build objects and dependencies in a subdirectory because
  3434. # it helps to detect inapplicable dependency modes. For instance
  3435. # both Tru64's cc and ICC support -MD to output dependencies as a
  3436. # side effect of compilation, but ICC will put the dependencies in
  3437. # the current directory while Tru64 will put them in the object
  3438. # directory.
  3439. mkdir sub
  3440. am_cv_CC_dependencies_compiler_type=none
  3441. if test "$am_compiler_list" = ""; then
  3442. am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  3443. fi
  3444. am__universal=false
  3445. case " $depcc " in #(
  3446. *\ -arch\ *\ -arch\ *) am__universal=true ;;
  3447. esac
  3448. for depmode in $am_compiler_list; do
  3449. # Setup a source with many dependencies, because some compilers
  3450. # like to wrap large dependency lists on column 80 (with \), and
  3451. # we should not choose a depcomp mode which is confused by this.
  3452. #
  3453. # We need to recreate these files for each test, as the compiler may
  3454. # overwrite some of them when testing with obscure command lines.
  3455. # This happens at least with the AIX C compiler.
  3456. : > sub/conftest.c
  3457. for i in 1 2 3 4 5 6; do
  3458. echo '#include "conftst'$i'.h"' >> sub/conftest.c
  3459. # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
  3460. # Solaris 10 /bin/sh.
  3461. echo '/* dummy */' > sub/conftst$i.h
  3462. done
  3463. echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  3464. # We check with '-c' and '-o' for the sake of the "dashmstdout"
  3465. # mode. It turns out that the SunPro C++ compiler does not properly
  3466. # handle '-M -o', and we need to detect this. Also, some Intel
  3467. # versions had trouble with output in subdirs.
  3468. am__obj=sub/conftest.${OBJEXT-o}
  3469. am__minus_obj="-o $am__obj"
  3470. case $depmode in
  3471. gcc)
  3472. # This depmode causes a compiler race in universal mode.
  3473. test "$am__universal" = false || continue
  3474. ;;
  3475. nosideeffect)
  3476. # After this tag, mechanisms are not by side-effect, so they'll
  3477. # only be used when explicitly requested.
  3478. if test "x$enable_dependency_tracking" = xyes; then
  3479. continue
  3480. else
  3481. break
  3482. fi
  3483. ;;
  3484. msvc7 | msvc7msys | msvisualcpp | msvcmsys)
  3485. # This compiler won't grok '-c -o', but also, the minuso test has
  3486. # not run yet. These depmodes are late enough in the game, and
  3487. # so weak that their functioning should not be impacted.
  3488. am__obj=conftest.${OBJEXT-o}
  3489. am__minus_obj=
  3490. ;;
  3491. none) break ;;
  3492. esac
  3493. if depmode=$depmode \
  3494. source=sub/conftest.c object=$am__obj \
  3495. depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  3496. $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
  3497. >/dev/null 2>conftest.err &&
  3498. grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
  3499. grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  3500. grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
  3501. ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  3502. # icc doesn't choke on unknown options, it will just issue warnings
  3503. # or remarks (even with -Werror). So we grep stderr for any message
  3504. # that says an option was ignored or not supported.
  3505. # When given -MP, icc 7.0 and 7.1 complain thusly:
  3506. # icc: Command line warning: ignoring option '-M'; no argument required
  3507. # The diagnosis changed in icc 8.0:
  3508. # icc: Command line remark: option '-MP' not supported
  3509. if (grep 'ignoring option' conftest.err ||
  3510. grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  3511. am_cv_CC_dependencies_compiler_type=$depmode
  3512. break
  3513. fi
  3514. fi
  3515. done
  3516. cd ..
  3517. rm -rf conftest.dir
  3518. else
  3519. am_cv_CC_dependencies_compiler_type=none
  3520. fi
  3521. fi
  3522. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
  3523. $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
  3524. CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  3525. if
  3526. test "x$enable_dependency_tracking" != xno \
  3527. && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  3528. am__fastdepCC_TRUE=
  3529. am__fastdepCC_FALSE='#'
  3530. else
  3531. am__fastdepCC_TRUE='#'
  3532. am__fastdepCC_FALSE=
  3533. fi
  3534. if test -n "$ac_tool_prefix"; then
  3535. for ac_prog in ar lib "link -lib"
  3536. do
  3537. # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  3538. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  3539. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3540. $as_echo_n "checking for $ac_word... " >&6; }
  3541. if ${ac_cv_prog_AR+:} false; then :
  3542. $as_echo_n "(cached) " >&6
  3543. else
  3544. if test -n "$AR"; then
  3545. ac_cv_prog_AR="$AR" # Let the user override the test.
  3546. else
  3547. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3548. for as_dir in $PATH
  3549. do
  3550. IFS=$as_save_IFS
  3551. test -z "$as_dir" && as_dir=.
  3552. for ac_exec_ext in '' $ac_executable_extensions; do
  3553. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  3554. ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
  3555. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3556. break 2
  3557. fi
  3558. done
  3559. done
  3560. IFS=$as_save_IFS
  3561. fi
  3562. fi
  3563. AR=$ac_cv_prog_AR
  3564. if test -n "$AR"; then
  3565. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
  3566. $as_echo "$AR" >&6; }
  3567. else
  3568. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3569. $as_echo "no" >&6; }
  3570. fi
  3571. test -n "$AR" && break
  3572. done
  3573. fi
  3574. if test -z "$AR"; then
  3575. ac_ct_AR=$AR
  3576. for ac_prog in ar lib "link -lib"
  3577. do
  3578. # Extract the first word of "$ac_prog", so it can be a program name with args.
  3579. set dummy $ac_prog; ac_word=$2
  3580. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3581. $as_echo_n "checking for $ac_word... " >&6; }
  3582. if ${ac_cv_prog_ac_ct_AR+:} false; then :
  3583. $as_echo_n "(cached) " >&6
  3584. else
  3585. if test -n "$ac_ct_AR"; then
  3586. ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
  3587. else
  3588. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3589. for as_dir in $PATH
  3590. do
  3591. IFS=$as_save_IFS
  3592. test -z "$as_dir" && as_dir=.
  3593. for ac_exec_ext in '' $ac_executable_extensions; do
  3594. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  3595. ac_cv_prog_ac_ct_AR="$ac_prog"
  3596. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3597. break 2
  3598. fi
  3599. done
  3600. done
  3601. IFS=$as_save_IFS
  3602. fi
  3603. fi
  3604. ac_ct_AR=$ac_cv_prog_ac_ct_AR
  3605. if test -n "$ac_ct_AR"; then
  3606. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
  3607. $as_echo "$ac_ct_AR" >&6; }
  3608. else
  3609. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3610. $as_echo "no" >&6; }
  3611. fi
  3612. test -n "$ac_ct_AR" && break
  3613. done
  3614. if test "x$ac_ct_AR" = x; then
  3615. AR="false"
  3616. else
  3617. case $cross_compiling:$ac_tool_warned in
  3618. yes:)
  3619. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  3620. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  3621. ac_tool_warned=yes ;;
  3622. esac
  3623. AR=$ac_ct_AR
  3624. fi
  3625. fi
  3626. : ${AR=ar}
  3627. { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
  3628. $as_echo_n "checking the archiver ($AR) interface... " >&6; }
  3629. if ${am_cv_ar_interface+:} false; then :
  3630. $as_echo_n "(cached) " >&6
  3631. else
  3632. am_cv_ar_interface=ar
  3633. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3634. /* end confdefs.h. */
  3635. int some_variable = 0;
  3636. _ACEOF
  3637. if ac_fn_c_try_compile "$LINENO"; then :
  3638. am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
  3639. { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
  3640. (eval $am_ar_try) 2>&5
  3641. ac_status=$?
  3642. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3643. test $ac_status = 0; }
  3644. if test "$ac_status" -eq 0; then
  3645. am_cv_ar_interface=ar
  3646. else
  3647. am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
  3648. { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
  3649. (eval $am_ar_try) 2>&5
  3650. ac_status=$?
  3651. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3652. test $ac_status = 0; }
  3653. if test "$ac_status" -eq 0; then
  3654. am_cv_ar_interface=lib
  3655. else
  3656. am_cv_ar_interface=unknown
  3657. fi
  3658. fi
  3659. rm -f conftest.lib libconftest.a
  3660. fi
  3661. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3662. fi
  3663. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
  3664. $as_echo "$am_cv_ar_interface" >&6; }
  3665. case $am_cv_ar_interface in
  3666. ar)
  3667. ;;
  3668. lib)
  3669. # Microsoft lib, so override with the ar-lib wrapper script.
  3670. # FIXME: It is wrong to rewrite AR.
  3671. # But if we don't then we get into trouble of one sort or another.
  3672. # A longer-term fix would be to have automake use am__AR in this case,
  3673. # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
  3674. # similar.
  3675. AR="$am_aux_dir/ar-lib $AR"
  3676. ;;
  3677. unknown)
  3678. as_fn_error $? "could not determine $AR interface" "$LINENO" 5
  3679. ;;
  3680. esac
  3681. # Required by automake 1.12.
  3682. case `pwd` in
  3683. *\ * | *\ *)
  3684. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
  3685. $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
  3686. esac
  3687. macro_version='2.4.2'
  3688. macro_revision='1.3337'
  3689. ltmain="$ac_aux_dir/ltmain.sh"
  3690. # Make sure we can run config.sub.
  3691. $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
  3692. as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
  3693. { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
  3694. $as_echo_n "checking build system type... " >&6; }
  3695. if ${ac_cv_build+:} false; then :
  3696. $as_echo_n "(cached) " >&6
  3697. else
  3698. ac_build_alias=$build_alias
  3699. test "x$ac_build_alias" = x &&
  3700. ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
  3701. test "x$ac_build_alias" = x &&
  3702. as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
  3703. ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
  3704. as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
  3705. fi
  3706. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
  3707. $as_echo "$ac_cv_build" >&6; }
  3708. case $ac_cv_build in
  3709. *-*-*) ;;
  3710. *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
  3711. esac
  3712. build=$ac_cv_build
  3713. ac_save_IFS=$IFS; IFS='-'
  3714. set x $ac_cv_build
  3715. shift
  3716. build_cpu=$1
  3717. build_vendor=$2
  3718. shift; shift
  3719. # Remember, the first character of IFS is used to create $*,
  3720. # except with old shells:
  3721. build_os=$*
  3722. IFS=$ac_save_IFS
  3723. case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
  3724. { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
  3725. $as_echo_n "checking host system type... " >&6; }
  3726. if ${ac_cv_host+:} false; then :
  3727. $as_echo_n "(cached) " >&6
  3728. else
  3729. if test "x$host_alias" = x; then
  3730. ac_cv_host=$ac_cv_build
  3731. else
  3732. ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
  3733. as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
  3734. fi
  3735. fi
  3736. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
  3737. $as_echo "$ac_cv_host" >&6; }
  3738. case $ac_cv_host in
  3739. *-*-*) ;;
  3740. *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
  3741. esac
  3742. host=$ac_cv_host
  3743. ac_save_IFS=$IFS; IFS='-'
  3744. set x $ac_cv_host
  3745. shift
  3746. host_cpu=$1
  3747. host_vendor=$2
  3748. shift; shift
  3749. # Remember, the first character of IFS is used to create $*,
  3750. # except with old shells:
  3751. host_os=$*
  3752. IFS=$ac_save_IFS
  3753. case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
  3754. # Backslashify metacharacters that are still active within
  3755. # double-quoted strings.
  3756. sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
  3757. # Same as above, but do not quote variable references.
  3758. double_quote_subst='s/\(["`\\]\)/\\\1/g'
  3759. # Sed substitution to delay expansion of an escaped shell variable in a
  3760. # double_quote_subst'ed string.
  3761. delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
  3762. # Sed substitution to delay expansion of an escaped single quote.
  3763. delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
  3764. # Sed substitution to avoid accidental globbing in evaled expressions
  3765. no_glob_subst='s/\*/\\\*/g'
  3766. ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  3767. ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
  3768. ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
  3769. { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
  3770. $as_echo_n "checking how to print strings... " >&6; }
  3771. # Test print first, because it will be a builtin if present.
  3772. if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
  3773. test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
  3774. ECHO='print -r --'
  3775. elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
  3776. ECHO='printf %s\n'
  3777. else
  3778. # Use this function as a fallback that always works.
  3779. func_fallback_echo ()
  3780. {
  3781. eval 'cat <<_LTECHO_EOF
  3782. $1
  3783. _LTECHO_EOF'
  3784. }
  3785. ECHO='func_fallback_echo'
  3786. fi
  3787. # func_echo_all arg...
  3788. # Invoke $ECHO with all args, space-separated.
  3789. func_echo_all ()
  3790. {
  3791. $ECHO ""
  3792. }
  3793. case "$ECHO" in
  3794. printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
  3795. $as_echo "printf" >&6; } ;;
  3796. print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
  3797. $as_echo "print -r" >&6; } ;;
  3798. *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
  3799. $as_echo "cat" >&6; } ;;
  3800. esac
  3801. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
  3802. $as_echo_n "checking for a sed that does not truncate output... " >&6; }
  3803. if ${ac_cv_path_SED+:} false; then :
  3804. $as_echo_n "(cached) " >&6
  3805. else
  3806. ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
  3807. for ac_i in 1 2 3 4 5 6 7; do
  3808. ac_script="$ac_script$as_nl$ac_script"
  3809. done
  3810. echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
  3811. { ac_script=; unset ac_script;}
  3812. if test -z "$SED"; then
  3813. ac_path_SED_found=false
  3814. # Loop through the user's path and test for each of PROGNAME-LIST
  3815. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3816. for as_dir in $PATH
  3817. do
  3818. IFS=$as_save_IFS
  3819. test -z "$as_dir" && as_dir=.
  3820. for ac_prog in sed gsed; do
  3821. for ac_exec_ext in '' $ac_executable_extensions; do
  3822. ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
  3823. as_fn_executable_p "$ac_path_SED" || continue
  3824. # Check for GNU ac_path_SED and select it if it is found.
  3825. # Check for GNU $ac_path_SED
  3826. case `"$ac_path_SED" --version 2>&1` in
  3827. *GNU*)
  3828. ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
  3829. *)
  3830. ac_count=0
  3831. $as_echo_n 0123456789 >"conftest.in"
  3832. while :
  3833. do
  3834. cat "conftest.in" "conftest.in" >"conftest.tmp"
  3835. mv "conftest.tmp" "conftest.in"
  3836. cp "conftest.in" "conftest.nl"
  3837. $as_echo '' >> "conftest.nl"
  3838. "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
  3839. diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  3840. as_fn_arith $ac_count + 1 && ac_count=$as_val
  3841. if test $ac_count -gt ${ac_path_SED_max-0}; then
  3842. # Best one so far, save it but keep looking for a better one
  3843. ac_cv_path_SED="$ac_path_SED"
  3844. ac_path_SED_max=$ac_count
  3845. fi
  3846. # 10*(2^10) chars as input seems more than enough
  3847. test $ac_count -gt 10 && break
  3848. done
  3849. rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  3850. esac
  3851. $ac_path_SED_found && break 3
  3852. done
  3853. done
  3854. done
  3855. IFS=$as_save_IFS
  3856. if test -z "$ac_cv_path_SED"; then
  3857. as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
  3858. fi
  3859. else
  3860. ac_cv_path_SED=$SED
  3861. fi
  3862. fi
  3863. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
  3864. $as_echo "$ac_cv_path_SED" >&6; }
  3865. SED="$ac_cv_path_SED"
  3866. rm -f conftest.sed
  3867. test -z "$SED" && SED=sed
  3868. Xsed="$SED -e 1s/^X//"
  3869. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
  3870. $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
  3871. if ${ac_cv_path_GREP+:} false; then :
  3872. $as_echo_n "(cached) " >&6
  3873. else
  3874. if test -z "$GREP"; then
  3875. ac_path_GREP_found=false
  3876. # Loop through the user's path and test for each of PROGNAME-LIST
  3877. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3878. for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  3879. do
  3880. IFS=$as_save_IFS
  3881. test -z "$as_dir" && as_dir=.
  3882. for ac_prog in grep ggrep; do
  3883. for ac_exec_ext in '' $ac_executable_extensions; do
  3884. ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
  3885. as_fn_executable_p "$ac_path_GREP" || continue
  3886. # Check for GNU ac_path_GREP and select it if it is found.
  3887. # Check for GNU $ac_path_GREP
  3888. case `"$ac_path_GREP" --version 2>&1` in
  3889. *GNU*)
  3890. ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
  3891. *)
  3892. ac_count=0
  3893. $as_echo_n 0123456789 >"conftest.in"
  3894. while :
  3895. do
  3896. cat "conftest.in" "conftest.in" >"conftest.tmp"
  3897. mv "conftest.tmp" "conftest.in"
  3898. cp "conftest.in" "conftest.nl"
  3899. $as_echo 'GREP' >> "conftest.nl"
  3900. "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  3901. diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  3902. as_fn_arith $ac_count + 1 && ac_count=$as_val
  3903. if test $ac_count -gt ${ac_path_GREP_max-0}; then
  3904. # Best one so far, save it but keep looking for a better one
  3905. ac_cv_path_GREP="$ac_path_GREP"
  3906. ac_path_GREP_max=$ac_count
  3907. fi
  3908. # 10*(2^10) chars as input seems more than enough
  3909. test $ac_count -gt 10 && break
  3910. done
  3911. rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  3912. esac
  3913. $ac_path_GREP_found && break 3
  3914. done
  3915. done
  3916. done
  3917. IFS=$as_save_IFS
  3918. if test -z "$ac_cv_path_GREP"; then
  3919. as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  3920. fi
  3921. else
  3922. ac_cv_path_GREP=$GREP
  3923. fi
  3924. fi
  3925. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
  3926. $as_echo "$ac_cv_path_GREP" >&6; }
  3927. GREP="$ac_cv_path_GREP"
  3928. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
  3929. $as_echo_n "checking for egrep... " >&6; }
  3930. if ${ac_cv_path_EGREP+:} false; then :
  3931. $as_echo_n "(cached) " >&6
  3932. else
  3933. if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
  3934. then ac_cv_path_EGREP="$GREP -E"
  3935. else
  3936. if test -z "$EGREP"; then
  3937. ac_path_EGREP_found=false
  3938. # Loop through the user's path and test for each of PROGNAME-LIST
  3939. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3940. for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  3941. do
  3942. IFS=$as_save_IFS
  3943. test -z "$as_dir" && as_dir=.
  3944. for ac_prog in egrep; do
  3945. for ac_exec_ext in '' $ac_executable_extensions; do
  3946. ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
  3947. as_fn_executable_p "$ac_path_EGREP" || continue
  3948. # Check for GNU ac_path_EGREP and select it if it is found.
  3949. # Check for GNU $ac_path_EGREP
  3950. case `"$ac_path_EGREP" --version 2>&1` in
  3951. *GNU*)
  3952. ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
  3953. *)
  3954. ac_count=0
  3955. $as_echo_n 0123456789 >"conftest.in"
  3956. while :
  3957. do
  3958. cat "conftest.in" "conftest.in" >"conftest.tmp"
  3959. mv "conftest.tmp" "conftest.in"
  3960. cp "conftest.in" "conftest.nl"
  3961. $as_echo 'EGREP' >> "conftest.nl"
  3962. "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  3963. diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  3964. as_fn_arith $ac_count + 1 && ac_count=$as_val
  3965. if test $ac_count -gt ${ac_path_EGREP_max-0}; then
  3966. # Best one so far, save it but keep looking for a better one
  3967. ac_cv_path_EGREP="$ac_path_EGREP"
  3968. ac_path_EGREP_max=$ac_count
  3969. fi
  3970. # 10*(2^10) chars as input seems more than enough
  3971. test $ac_count -gt 10 && break
  3972. done
  3973. rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  3974. esac
  3975. $ac_path_EGREP_found && break 3
  3976. done
  3977. done
  3978. done
  3979. IFS=$as_save_IFS
  3980. if test -z "$ac_cv_path_EGREP"; then
  3981. as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  3982. fi
  3983. else
  3984. ac_cv_path_EGREP=$EGREP
  3985. fi
  3986. fi
  3987. fi
  3988. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
  3989. $as_echo "$ac_cv_path_EGREP" >&6; }
  3990. EGREP="$ac_cv_path_EGREP"
  3991. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
  3992. $as_echo_n "checking for fgrep... " >&6; }
  3993. if ${ac_cv_path_FGREP+:} false; then :
  3994. $as_echo_n "(cached) " >&6
  3995. else
  3996. if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
  3997. then ac_cv_path_FGREP="$GREP -F"
  3998. else
  3999. if test -z "$FGREP"; then
  4000. ac_path_FGREP_found=false
  4001. # Loop through the user's path and test for each of PROGNAME-LIST
  4002. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4003. for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  4004. do
  4005. IFS=$as_save_IFS
  4006. test -z "$as_dir" && as_dir=.
  4007. for ac_prog in fgrep; do
  4008. for ac_exec_ext in '' $ac_executable_extensions; do
  4009. ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
  4010. as_fn_executable_p "$ac_path_FGREP" || continue
  4011. # Check for GNU ac_path_FGREP and select it if it is found.
  4012. # Check for GNU $ac_path_FGREP
  4013. case `"$ac_path_FGREP" --version 2>&1` in
  4014. *GNU*)
  4015. ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
  4016. *)
  4017. ac_count=0
  4018. $as_echo_n 0123456789 >"conftest.in"
  4019. while :
  4020. do
  4021. cat "conftest.in" "conftest.in" >"conftest.tmp"
  4022. mv "conftest.tmp" "conftest.in"
  4023. cp "conftest.in" "conftest.nl"
  4024. $as_echo 'FGREP' >> "conftest.nl"
  4025. "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
  4026. diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  4027. as_fn_arith $ac_count + 1 && ac_count=$as_val
  4028. if test $ac_count -gt ${ac_path_FGREP_max-0}; then
  4029. # Best one so far, save it but keep looking for a better one
  4030. ac_cv_path_FGREP="$ac_path_FGREP"
  4031. ac_path_FGREP_max=$ac_count
  4032. fi
  4033. # 10*(2^10) chars as input seems more than enough
  4034. test $ac_count -gt 10 && break
  4035. done
  4036. rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  4037. esac
  4038. $ac_path_FGREP_found && break 3
  4039. done
  4040. done
  4041. done
  4042. IFS=$as_save_IFS
  4043. if test -z "$ac_cv_path_FGREP"; then
  4044. as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  4045. fi
  4046. else
  4047. ac_cv_path_FGREP=$FGREP
  4048. fi
  4049. fi
  4050. fi
  4051. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
  4052. $as_echo "$ac_cv_path_FGREP" >&6; }
  4053. FGREP="$ac_cv_path_FGREP"
  4054. test -z "$GREP" && GREP=grep
  4055. # Check whether --with-gnu-ld was given.
  4056. if test "${with_gnu_ld+set}" = set; then :
  4057. withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
  4058. else
  4059. with_gnu_ld=no
  4060. fi
  4061. ac_prog=ld
  4062. if test "$GCC" = yes; then
  4063. # Check if gcc -print-prog-name=ld gives a path.
  4064. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
  4065. $as_echo_n "checking for ld used by $CC... " >&6; }
  4066. case $host in
  4067. *-*-mingw*)
  4068. # gcc leaves a trailing carriage return which upsets mingw
  4069. ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
  4070. *)
  4071. ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
  4072. esac
  4073. case $ac_prog in
  4074. # Accept absolute paths.
  4075. [\\/]* | ?:[\\/]*)
  4076. re_direlt='/[^/][^/]*/\.\./'
  4077. # Canonicalize the pathname of ld
  4078. ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
  4079. while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
  4080. ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
  4081. done
  4082. test -z "$LD" && LD="$ac_prog"
  4083. ;;
  4084. "")
  4085. # If it fails, then pretend we aren't using GCC.
  4086. ac_prog=ld
  4087. ;;
  4088. *)
  4089. # If it is relative, then search for the first ld in PATH.
  4090. with_gnu_ld=unknown
  4091. ;;
  4092. esac
  4093. elif test "$with_gnu_ld" = yes; then
  4094. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
  4095. $as_echo_n "checking for GNU ld... " >&6; }
  4096. else
  4097. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
  4098. $as_echo_n "checking for non-GNU ld... " >&6; }
  4099. fi
  4100. if ${lt_cv_path_LD+:} false; then :
  4101. $as_echo_n "(cached) " >&6
  4102. else
  4103. if test -z "$LD"; then
  4104. lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  4105. for ac_dir in $PATH; do
  4106. IFS="$lt_save_ifs"
  4107. test -z "$ac_dir" && ac_dir=.
  4108. if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
  4109. lt_cv_path_LD="$ac_dir/$ac_prog"
  4110. # Check to see if the program is GNU ld. I'd rather use --version,
  4111. # but apparently some variants of GNU ld only accept -v.
  4112. # Break only if it was the GNU/non-GNU ld that we prefer.
  4113. case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
  4114. *GNU* | *'with BFD'*)
  4115. test "$with_gnu_ld" != no && break
  4116. ;;
  4117. *)
  4118. test "$with_gnu_ld" != yes && break
  4119. ;;
  4120. esac
  4121. fi
  4122. done
  4123. IFS="$lt_save_ifs"
  4124. else
  4125. lt_cv_path_LD="$LD" # Let the user override the test with a path.
  4126. fi
  4127. fi
  4128. LD="$lt_cv_path_LD"
  4129. if test -n "$LD"; then
  4130. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
  4131. $as_echo "$LD" >&6; }
  4132. else
  4133. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4134. $as_echo "no" >&6; }
  4135. fi
  4136. test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
  4137. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
  4138. $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
  4139. if ${lt_cv_prog_gnu_ld+:} false; then :
  4140. $as_echo_n "(cached) " >&6
  4141. else
  4142. # I'd rather use --version here, but apparently some GNU lds only accept -v.
  4143. case `$LD -v 2>&1 </dev/null` in
  4144. *GNU* | *'with BFD'*)
  4145. lt_cv_prog_gnu_ld=yes
  4146. ;;
  4147. *)
  4148. lt_cv_prog_gnu_ld=no
  4149. ;;
  4150. esac
  4151. fi
  4152. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
  4153. $as_echo "$lt_cv_prog_gnu_ld" >&6; }
  4154. with_gnu_ld=$lt_cv_prog_gnu_ld
  4155. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
  4156. $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
  4157. if ${lt_cv_path_NM+:} false; then :
  4158. $as_echo_n "(cached) " >&6
  4159. else
  4160. if test -n "$NM"; then
  4161. # Let the user override the test.
  4162. lt_cv_path_NM="$NM"
  4163. else
  4164. lt_nm_to_check="${ac_tool_prefix}nm"
  4165. if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
  4166. lt_nm_to_check="$lt_nm_to_check nm"
  4167. fi
  4168. for lt_tmp_nm in $lt_nm_to_check; do
  4169. lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  4170. for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
  4171. IFS="$lt_save_ifs"
  4172. test -z "$ac_dir" && ac_dir=.
  4173. tmp_nm="$ac_dir/$lt_tmp_nm"
  4174. if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
  4175. # Check to see if the nm accepts a BSD-compat flag.
  4176. # Adding the `sed 1q' prevents false positives on HP-UX, which says:
  4177. # nm: unknown option "B" ignored
  4178. # Tru64's nm complains that /dev/null is an invalid object file
  4179. case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
  4180. */dev/null* | *'Invalid file or object type'*)
  4181. lt_cv_path_NM="$tmp_nm -B"
  4182. break
  4183. ;;
  4184. *)
  4185. case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
  4186. */dev/null*)
  4187. lt_cv_path_NM="$tmp_nm -p"
  4188. break
  4189. ;;
  4190. *)
  4191. lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
  4192. continue # so that we can try to find one that supports BSD flags
  4193. ;;
  4194. esac
  4195. ;;
  4196. esac
  4197. fi
  4198. done
  4199. IFS="$lt_save_ifs"
  4200. done
  4201. : ${lt_cv_path_NM=no}
  4202. fi
  4203. fi
  4204. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
  4205. $as_echo "$lt_cv_path_NM" >&6; }
  4206. if test "$lt_cv_path_NM" != "no"; then
  4207. NM="$lt_cv_path_NM"
  4208. else
  4209. # Didn't find any BSD compatible name lister, look for dumpbin.
  4210. if test -n "$DUMPBIN"; then :
  4211. # Let the user override the test.
  4212. else
  4213. if test -n "$ac_tool_prefix"; then
  4214. for ac_prog in dumpbin "link -dump"
  4215. do
  4216. # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  4217. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  4218. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4219. $as_echo_n "checking for $ac_word... " >&6; }
  4220. if ${ac_cv_prog_DUMPBIN+:} false; then :
  4221. $as_echo_n "(cached) " >&6
  4222. else
  4223. if test -n "$DUMPBIN"; then
  4224. ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
  4225. else
  4226. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4227. for as_dir in $PATH
  4228. do
  4229. IFS=$as_save_IFS
  4230. test -z "$as_dir" && as_dir=.
  4231. for ac_exec_ext in '' $ac_executable_extensions; do
  4232. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4233. ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
  4234. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4235. break 2
  4236. fi
  4237. done
  4238. done
  4239. IFS=$as_save_IFS
  4240. fi
  4241. fi
  4242. DUMPBIN=$ac_cv_prog_DUMPBIN
  4243. if test -n "$DUMPBIN"; then
  4244. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
  4245. $as_echo "$DUMPBIN" >&6; }
  4246. else
  4247. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4248. $as_echo "no" >&6; }
  4249. fi
  4250. test -n "$DUMPBIN" && break
  4251. done
  4252. fi
  4253. if test -z "$DUMPBIN"; then
  4254. ac_ct_DUMPBIN=$DUMPBIN
  4255. for ac_prog in dumpbin "link -dump"
  4256. do
  4257. # Extract the first word of "$ac_prog", so it can be a program name with args.
  4258. set dummy $ac_prog; ac_word=$2
  4259. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4260. $as_echo_n "checking for $ac_word... " >&6; }
  4261. if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
  4262. $as_echo_n "(cached) " >&6
  4263. else
  4264. if test -n "$ac_ct_DUMPBIN"; then
  4265. ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
  4266. else
  4267. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4268. for as_dir in $PATH
  4269. do
  4270. IFS=$as_save_IFS
  4271. test -z "$as_dir" && as_dir=.
  4272. for ac_exec_ext in '' $ac_executable_extensions; do
  4273. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4274. ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
  4275. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4276. break 2
  4277. fi
  4278. done
  4279. done
  4280. IFS=$as_save_IFS
  4281. fi
  4282. fi
  4283. ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
  4284. if test -n "$ac_ct_DUMPBIN"; then
  4285. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
  4286. $as_echo "$ac_ct_DUMPBIN" >&6; }
  4287. else
  4288. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4289. $as_echo "no" >&6; }
  4290. fi
  4291. test -n "$ac_ct_DUMPBIN" && break
  4292. done
  4293. if test "x$ac_ct_DUMPBIN" = x; then
  4294. DUMPBIN=":"
  4295. else
  4296. case $cross_compiling:$ac_tool_warned in
  4297. yes:)
  4298. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  4299. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  4300. ac_tool_warned=yes ;;
  4301. esac
  4302. DUMPBIN=$ac_ct_DUMPBIN
  4303. fi
  4304. fi
  4305. case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
  4306. *COFF*)
  4307. DUMPBIN="$DUMPBIN -symbols"
  4308. ;;
  4309. *)
  4310. DUMPBIN=:
  4311. ;;
  4312. esac
  4313. fi
  4314. if test "$DUMPBIN" != ":"; then
  4315. NM="$DUMPBIN"
  4316. fi
  4317. fi
  4318. test -z "$NM" && NM=nm
  4319. { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
  4320. $as_echo_n "checking the name lister ($NM) interface... " >&6; }
  4321. if ${lt_cv_nm_interface+:} false; then :
  4322. $as_echo_n "(cached) " >&6
  4323. else
  4324. lt_cv_nm_interface="BSD nm"
  4325. echo "int some_variable = 0;" > conftest.$ac_ext
  4326. (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
  4327. (eval "$ac_compile" 2>conftest.err)
  4328. cat conftest.err >&5
  4329. (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
  4330. (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
  4331. cat conftest.err >&5
  4332. (eval echo "\"\$as_me:$LINENO: output\"" >&5)
  4333. cat conftest.out >&5
  4334. if $GREP 'External.*some_variable' conftest.out > /dev/null; then
  4335. lt_cv_nm_interface="MS dumpbin"
  4336. fi
  4337. rm -f conftest*
  4338. fi
  4339. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
  4340. $as_echo "$lt_cv_nm_interface" >&6; }
  4341. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
  4342. $as_echo_n "checking whether ln -s works... " >&6; }
  4343. LN_S=$as_ln_s
  4344. if test "$LN_S" = "ln -s"; then
  4345. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  4346. $as_echo "yes" >&6; }
  4347. else
  4348. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
  4349. $as_echo "no, using $LN_S" >&6; }
  4350. fi
  4351. # find the maximum length of command line arguments
  4352. { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
  4353. $as_echo_n "checking the maximum length of command line arguments... " >&6; }
  4354. if ${lt_cv_sys_max_cmd_len+:} false; then :
  4355. $as_echo_n "(cached) " >&6
  4356. else
  4357. i=0
  4358. teststring="ABCD"
  4359. case $build_os in
  4360. msdosdjgpp*)
  4361. # On DJGPP, this test can blow up pretty badly due to problems in libc
  4362. # (any single argument exceeding 2000 bytes causes a buffer overrun
  4363. # during glob expansion). Even if it were fixed, the result of this
  4364. # check would be larger than it should be.
  4365. lt_cv_sys_max_cmd_len=12288; # 12K is about right
  4366. ;;
  4367. gnu*)
  4368. # Under GNU Hurd, this test is not required because there is
  4369. # no limit to the length of command line arguments.
  4370. # Libtool will interpret -1 as no limit whatsoever
  4371. lt_cv_sys_max_cmd_len=-1;
  4372. ;;
  4373. cygwin* | mingw* | cegcc*)
  4374. # On Win9x/ME, this test blows up -- it succeeds, but takes
  4375. # about 5 minutes as the teststring grows exponentially.
  4376. # Worse, since 9x/ME are not pre-emptively multitasking,
  4377. # you end up with a "frozen" computer, even though with patience
  4378. # the test eventually succeeds (with a max line length of 256k).
  4379. # Instead, let's just punt: use the minimum linelength reported by
  4380. # all of the supported platforms: 8192 (on NT/2K/XP).
  4381. lt_cv_sys_max_cmd_len=8192;
  4382. ;;
  4383. mint*)
  4384. # On MiNT this can take a long time and run out of memory.
  4385. lt_cv_sys_max_cmd_len=8192;
  4386. ;;
  4387. amigaos*)
  4388. # On AmigaOS with pdksh, this test takes hours, literally.
  4389. # So we just punt and use a minimum line length of 8192.
  4390. lt_cv_sys_max_cmd_len=8192;
  4391. ;;
  4392. netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
  4393. # This has been around since 386BSD, at least. Likely further.
  4394. if test -x /sbin/sysctl; then
  4395. lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
  4396. elif test -x /usr/sbin/sysctl; then
  4397. lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
  4398. else
  4399. lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
  4400. fi
  4401. # And add a safety zone
  4402. lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
  4403. lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
  4404. ;;
  4405. interix*)
  4406. # We know the value 262144 and hardcode it with a safety zone (like BSD)
  4407. lt_cv_sys_max_cmd_len=196608
  4408. ;;
  4409. os2*)
  4410. # The test takes a long time on OS/2.
  4411. lt_cv_sys_max_cmd_len=8192
  4412. ;;
  4413. osf*)
  4414. # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
  4415. # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
  4416. # nice to cause kernel panics so lets avoid the loop below.
  4417. # First set a reasonable default.
  4418. lt_cv_sys_max_cmd_len=16384
  4419. #
  4420. if test -x /sbin/sysconfig; then
  4421. case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
  4422. *1*) lt_cv_sys_max_cmd_len=-1 ;;
  4423. esac
  4424. fi
  4425. ;;
  4426. sco3.2v5*)
  4427. lt_cv_sys_max_cmd_len=102400
  4428. ;;
  4429. sysv5* | sco5v6* | sysv4.2uw2*)
  4430. kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
  4431. if test -n "$kargmax"; then
  4432. lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
  4433. else
  4434. lt_cv_sys_max_cmd_len=32768
  4435. fi
  4436. ;;
  4437. *)
  4438. lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
  4439. if test -n "$lt_cv_sys_max_cmd_len" && \
  4440. test undefined != "$lt_cv_sys_max_cmd_len"; then
  4441. lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
  4442. lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
  4443. else
  4444. # Make teststring a little bigger before we do anything with it.
  4445. # a 1K string should be a reasonable start.
  4446. for i in 1 2 3 4 5 6 7 8 ; do
  4447. teststring=$teststring$teststring
  4448. done
  4449. SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
  4450. # If test is not a shell built-in, we'll probably end up computing a
  4451. # maximum length that is only half of the actual maximum length, but
  4452. # we can't tell.
  4453. while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
  4454. = "X$teststring$teststring"; } >/dev/null 2>&1 &&
  4455. test $i != 17 # 1/2 MB should be enough
  4456. do
  4457. i=`expr $i + 1`
  4458. teststring=$teststring$teststring
  4459. done
  4460. # Only check the string length outside the loop.
  4461. lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
  4462. teststring=
  4463. # Add a significant safety factor because C++ compilers can tack on
  4464. # massive amounts of additional arguments before passing them to the
  4465. # linker. It appears as though 1/2 is a usable value.
  4466. lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
  4467. fi
  4468. ;;
  4469. esac
  4470. fi
  4471. if test -n $lt_cv_sys_max_cmd_len ; then
  4472. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
  4473. $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
  4474. else
  4475. { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
  4476. $as_echo "none" >&6; }
  4477. fi
  4478. max_cmd_len=$lt_cv_sys_max_cmd_len
  4479. : ${CP="cp -f"}
  4480. : ${MV="mv -f"}
  4481. : ${RM="rm -f"}
  4482. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
  4483. $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
  4484. # Try some XSI features
  4485. xsi_shell=no
  4486. ( _lt_dummy="a/b/c"
  4487. test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
  4488. = c,a/b,b/c, \
  4489. && eval 'test $(( 1 + 1 )) -eq 2 \
  4490. && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
  4491. && xsi_shell=yes
  4492. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
  4493. $as_echo "$xsi_shell" >&6; }
  4494. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
  4495. $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
  4496. lt_shell_append=no
  4497. ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
  4498. >/dev/null 2>&1 \
  4499. && lt_shell_append=yes
  4500. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
  4501. $as_echo "$lt_shell_append" >&6; }
  4502. if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
  4503. lt_unset=unset
  4504. else
  4505. lt_unset=false
  4506. fi
  4507. # test EBCDIC or ASCII
  4508. case `echo X|tr X '\101'` in
  4509. A) # ASCII based system
  4510. # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
  4511. lt_SP2NL='tr \040 \012'
  4512. lt_NL2SP='tr \015\012 \040\040'
  4513. ;;
  4514. *) # EBCDIC based system
  4515. lt_SP2NL='tr \100 \n'
  4516. lt_NL2SP='tr \r\n \100\100'
  4517. ;;
  4518. esac
  4519. { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
  4520. $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
  4521. if ${lt_cv_to_host_file_cmd+:} false; then :
  4522. $as_echo_n "(cached) " >&6
  4523. else
  4524. case $host in
  4525. *-*-mingw* )
  4526. case $build in
  4527. *-*-mingw* ) # actually msys
  4528. lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
  4529. ;;
  4530. *-*-cygwin* )
  4531. lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
  4532. ;;
  4533. * ) # otherwise, assume *nix
  4534. lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
  4535. ;;
  4536. esac
  4537. ;;
  4538. *-*-cygwin* )
  4539. case $build in
  4540. *-*-mingw* ) # actually msys
  4541. lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
  4542. ;;
  4543. *-*-cygwin* )
  4544. lt_cv_to_host_file_cmd=func_convert_file_noop
  4545. ;;
  4546. * ) # otherwise, assume *nix
  4547. lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
  4548. ;;
  4549. esac
  4550. ;;
  4551. * ) # unhandled hosts (and "normal" native builds)
  4552. lt_cv_to_host_file_cmd=func_convert_file_noop
  4553. ;;
  4554. esac
  4555. fi
  4556. to_host_file_cmd=$lt_cv_to_host_file_cmd
  4557. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
  4558. $as_echo "$lt_cv_to_host_file_cmd" >&6; }
  4559. { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
  4560. $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
  4561. if ${lt_cv_to_tool_file_cmd+:} false; then :
  4562. $as_echo_n "(cached) " >&6
  4563. else
  4564. #assume ordinary cross tools, or native build.
  4565. lt_cv_to_tool_file_cmd=func_convert_file_noop
  4566. case $host in
  4567. *-*-mingw* )
  4568. case $build in
  4569. *-*-mingw* ) # actually msys
  4570. lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
  4571. ;;
  4572. esac
  4573. ;;
  4574. esac
  4575. fi
  4576. to_tool_file_cmd=$lt_cv_to_tool_file_cmd
  4577. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
  4578. $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
  4579. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
  4580. $as_echo_n "checking for $LD option to reload object files... " >&6; }
  4581. if ${lt_cv_ld_reload_flag+:} false; then :
  4582. $as_echo_n "(cached) " >&6
  4583. else
  4584. lt_cv_ld_reload_flag='-r'
  4585. fi
  4586. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
  4587. $as_echo "$lt_cv_ld_reload_flag" >&6; }
  4588. reload_flag=$lt_cv_ld_reload_flag
  4589. case $reload_flag in
  4590. "" | " "*) ;;
  4591. *) reload_flag=" $reload_flag" ;;
  4592. esac
  4593. reload_cmds='$LD$reload_flag -o $output$reload_objs'
  4594. case $host_os in
  4595. cygwin* | mingw* | pw32* | cegcc*)
  4596. if test "$GCC" != yes; then
  4597. reload_cmds=false
  4598. fi
  4599. ;;
  4600. darwin*)
  4601. if test "$GCC" = yes; then
  4602. reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
  4603. else
  4604. reload_cmds='$LD$reload_flag -o $output$reload_objs'
  4605. fi
  4606. ;;
  4607. esac
  4608. if test -n "$ac_tool_prefix"; then
  4609. # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
  4610. set dummy ${ac_tool_prefix}objdump; ac_word=$2
  4611. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4612. $as_echo_n "checking for $ac_word... " >&6; }
  4613. if ${ac_cv_prog_OBJDUMP+:} false; then :
  4614. $as_echo_n "(cached) " >&6
  4615. else
  4616. if test -n "$OBJDUMP"; then
  4617. ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
  4618. else
  4619. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4620. for as_dir in $PATH
  4621. do
  4622. IFS=$as_save_IFS
  4623. test -z "$as_dir" && as_dir=.
  4624. for ac_exec_ext in '' $ac_executable_extensions; do
  4625. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4626. ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
  4627. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4628. break 2
  4629. fi
  4630. done
  4631. done
  4632. IFS=$as_save_IFS
  4633. fi
  4634. fi
  4635. OBJDUMP=$ac_cv_prog_OBJDUMP
  4636. if test -n "$OBJDUMP"; then
  4637. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
  4638. $as_echo "$OBJDUMP" >&6; }
  4639. else
  4640. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4641. $as_echo "no" >&6; }
  4642. fi
  4643. fi
  4644. if test -z "$ac_cv_prog_OBJDUMP"; then
  4645. ac_ct_OBJDUMP=$OBJDUMP
  4646. # Extract the first word of "objdump", so it can be a program name with args.
  4647. set dummy objdump; ac_word=$2
  4648. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4649. $as_echo_n "checking for $ac_word... " >&6; }
  4650. if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
  4651. $as_echo_n "(cached) " >&6
  4652. else
  4653. if test -n "$ac_ct_OBJDUMP"; then
  4654. ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
  4655. else
  4656. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4657. for as_dir in $PATH
  4658. do
  4659. IFS=$as_save_IFS
  4660. test -z "$as_dir" && as_dir=.
  4661. for ac_exec_ext in '' $ac_executable_extensions; do
  4662. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4663. ac_cv_prog_ac_ct_OBJDUMP="objdump"
  4664. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4665. break 2
  4666. fi
  4667. done
  4668. done
  4669. IFS=$as_save_IFS
  4670. fi
  4671. fi
  4672. ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
  4673. if test -n "$ac_ct_OBJDUMP"; then
  4674. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
  4675. $as_echo "$ac_ct_OBJDUMP" >&6; }
  4676. else
  4677. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4678. $as_echo "no" >&6; }
  4679. fi
  4680. if test "x$ac_ct_OBJDUMP" = x; then
  4681. OBJDUMP="false"
  4682. else
  4683. case $cross_compiling:$ac_tool_warned in
  4684. yes:)
  4685. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  4686. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  4687. ac_tool_warned=yes ;;
  4688. esac
  4689. OBJDUMP=$ac_ct_OBJDUMP
  4690. fi
  4691. else
  4692. OBJDUMP="$ac_cv_prog_OBJDUMP"
  4693. fi
  4694. test -z "$OBJDUMP" && OBJDUMP=objdump
  4695. { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
  4696. $as_echo_n "checking how to recognize dependent libraries... " >&6; }
  4697. if ${lt_cv_deplibs_check_method+:} false; then :
  4698. $as_echo_n "(cached) " >&6
  4699. else
  4700. lt_cv_file_magic_cmd='$MAGIC_CMD'
  4701. lt_cv_file_magic_test_file=
  4702. lt_cv_deplibs_check_method='unknown'
  4703. # Need to set the preceding variable on all platforms that support
  4704. # interlibrary dependencies.
  4705. # 'none' -- dependencies not supported.
  4706. # `unknown' -- same as none, but documents that we really don't know.
  4707. # 'pass_all' -- all dependencies passed with no checks.
  4708. # 'test_compile' -- check by making test program.
  4709. # 'file_magic [[regex]]' -- check by looking for files in library path
  4710. # which responds to the $file_magic_cmd with a given extended regex.
  4711. # If you have `file' or equivalent on your system and you're not sure
  4712. # whether `pass_all' will *always* work, you probably want this one.
  4713. case $host_os in
  4714. aix[4-9]*)
  4715. lt_cv_deplibs_check_method=pass_all
  4716. ;;
  4717. beos*)
  4718. lt_cv_deplibs_check_method=pass_all
  4719. ;;
  4720. bsdi[45]*)
  4721. lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
  4722. lt_cv_file_magic_cmd='/usr/bin/file -L'
  4723. lt_cv_file_magic_test_file=/shlib/libc.so
  4724. ;;
  4725. cygwin*)
  4726. # func_win32_libid is a shell function defined in ltmain.sh
  4727. lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
  4728. lt_cv_file_magic_cmd='func_win32_libid'
  4729. ;;
  4730. mingw* | pw32*)
  4731. # Base MSYS/MinGW do not provide the 'file' command needed by
  4732. # func_win32_libid shell function, so use a weaker test based on 'objdump',
  4733. # unless we find 'file', for example because we are cross-compiling.
  4734. # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
  4735. if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
  4736. lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
  4737. lt_cv_file_magic_cmd='func_win32_libid'
  4738. else
  4739. # Keep this pattern in sync with the one in func_win32_libid.
  4740. lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
  4741. lt_cv_file_magic_cmd='$OBJDUMP -f'
  4742. fi
  4743. ;;
  4744. cegcc*)
  4745. # use the weaker test based on 'objdump'. See mingw*.
  4746. lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
  4747. lt_cv_file_magic_cmd='$OBJDUMP -f'
  4748. ;;
  4749. darwin* | rhapsody*)
  4750. lt_cv_deplibs_check_method=pass_all
  4751. ;;
  4752. freebsd* | dragonfly*)
  4753. if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
  4754. case $host_cpu in
  4755. i*86 )
  4756. # Not sure whether the presence of OpenBSD here was a mistake.
  4757. # Let's accept both of them until this is cleared up.
  4758. lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
  4759. lt_cv_file_magic_cmd=/usr/bin/file
  4760. lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
  4761. ;;
  4762. esac
  4763. else
  4764. lt_cv_deplibs_check_method=pass_all
  4765. fi
  4766. ;;
  4767. haiku*)
  4768. lt_cv_deplibs_check_method=pass_all
  4769. ;;
  4770. hpux10.20* | hpux11*)
  4771. lt_cv_file_magic_cmd=/usr/bin/file
  4772. case $host_cpu in
  4773. ia64*)
  4774. lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
  4775. lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
  4776. ;;
  4777. hppa*64*)
  4778. lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
  4779. lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
  4780. ;;
  4781. *)
  4782. lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
  4783. lt_cv_file_magic_test_file=/usr/lib/libc.sl
  4784. ;;
  4785. esac
  4786. ;;
  4787. interix[3-9]*)
  4788. # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
  4789. lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
  4790. ;;
  4791. irix5* | irix6* | nonstopux*)
  4792. case $LD in
  4793. *-32|*"-32 ") libmagic=32-bit;;
  4794. *-n32|*"-n32 ") libmagic=N32;;
  4795. *-64|*"-64 ") libmagic=64-bit;;
  4796. *) libmagic=never-match;;
  4797. esac
  4798. lt_cv_deplibs_check_method=pass_all
  4799. ;;
  4800. # This must be glibc/ELF.
  4801. linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
  4802. lt_cv_deplibs_check_method=pass_all
  4803. ;;
  4804. netbsd* | netbsdelf*-gnu)
  4805. if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
  4806. lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
  4807. else
  4808. lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
  4809. fi
  4810. ;;
  4811. newos6*)
  4812. lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
  4813. lt_cv_file_magic_cmd=/usr/bin/file
  4814. lt_cv_file_magic_test_file=/usr/lib/libnls.so
  4815. ;;
  4816. *nto* | *qnx*)
  4817. lt_cv_deplibs_check_method=pass_all
  4818. ;;
  4819. openbsd*)
  4820. if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  4821. lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
  4822. else
  4823. lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
  4824. fi
  4825. ;;
  4826. osf3* | osf4* | osf5*)
  4827. lt_cv_deplibs_check_method=pass_all
  4828. ;;
  4829. rdos*)
  4830. lt_cv_deplibs_check_method=pass_all
  4831. ;;
  4832. solaris*)
  4833. lt_cv_deplibs_check_method=pass_all
  4834. ;;
  4835. sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  4836. lt_cv_deplibs_check_method=pass_all
  4837. ;;
  4838. sysv4 | sysv4.3*)
  4839. case $host_vendor in
  4840. motorola)
  4841. 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]'
  4842. lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
  4843. ;;
  4844. ncr)
  4845. lt_cv_deplibs_check_method=pass_all
  4846. ;;
  4847. sequent)
  4848. lt_cv_file_magic_cmd='/bin/file'
  4849. lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
  4850. ;;
  4851. sni)
  4852. lt_cv_file_magic_cmd='/bin/file'
  4853. lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
  4854. lt_cv_file_magic_test_file=/lib/libc.so
  4855. ;;
  4856. siemens)
  4857. lt_cv_deplibs_check_method=pass_all
  4858. ;;
  4859. pc)
  4860. lt_cv_deplibs_check_method=pass_all
  4861. ;;
  4862. esac
  4863. ;;
  4864. tpf*)
  4865. lt_cv_deplibs_check_method=pass_all
  4866. ;;
  4867. esac
  4868. fi
  4869. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
  4870. $as_echo "$lt_cv_deplibs_check_method" >&6; }
  4871. file_magic_glob=
  4872. want_nocaseglob=no
  4873. if test "$build" = "$host"; then
  4874. case $host_os in
  4875. mingw* | pw32*)
  4876. if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
  4877. want_nocaseglob=yes
  4878. else
  4879. file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
  4880. fi
  4881. ;;
  4882. esac
  4883. fi
  4884. file_magic_cmd=$lt_cv_file_magic_cmd
  4885. deplibs_check_method=$lt_cv_deplibs_check_method
  4886. test -z "$deplibs_check_method" && deplibs_check_method=unknown
  4887. if test -n "$ac_tool_prefix"; then
  4888. # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
  4889. set dummy ${ac_tool_prefix}dlltool; ac_word=$2
  4890. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4891. $as_echo_n "checking for $ac_word... " >&6; }
  4892. if ${ac_cv_prog_DLLTOOL+:} false; then :
  4893. $as_echo_n "(cached) " >&6
  4894. else
  4895. if test -n "$DLLTOOL"; then
  4896. ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
  4897. else
  4898. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4899. for as_dir in $PATH
  4900. do
  4901. IFS=$as_save_IFS
  4902. test -z "$as_dir" && as_dir=.
  4903. for ac_exec_ext in '' $ac_executable_extensions; do
  4904. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4905. ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
  4906. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4907. break 2
  4908. fi
  4909. done
  4910. done
  4911. IFS=$as_save_IFS
  4912. fi
  4913. fi
  4914. DLLTOOL=$ac_cv_prog_DLLTOOL
  4915. if test -n "$DLLTOOL"; then
  4916. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
  4917. $as_echo "$DLLTOOL" >&6; }
  4918. else
  4919. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4920. $as_echo "no" >&6; }
  4921. fi
  4922. fi
  4923. if test -z "$ac_cv_prog_DLLTOOL"; then
  4924. ac_ct_DLLTOOL=$DLLTOOL
  4925. # Extract the first word of "dlltool", so it can be a program name with args.
  4926. set dummy dlltool; ac_word=$2
  4927. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4928. $as_echo_n "checking for $ac_word... " >&6; }
  4929. if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
  4930. $as_echo_n "(cached) " >&6
  4931. else
  4932. if test -n "$ac_ct_DLLTOOL"; then
  4933. ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
  4934. else
  4935. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4936. for as_dir in $PATH
  4937. do
  4938. IFS=$as_save_IFS
  4939. test -z "$as_dir" && as_dir=.
  4940. for ac_exec_ext in '' $ac_executable_extensions; do
  4941. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4942. ac_cv_prog_ac_ct_DLLTOOL="dlltool"
  4943. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4944. break 2
  4945. fi
  4946. done
  4947. done
  4948. IFS=$as_save_IFS
  4949. fi
  4950. fi
  4951. ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
  4952. if test -n "$ac_ct_DLLTOOL"; then
  4953. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
  4954. $as_echo "$ac_ct_DLLTOOL" >&6; }
  4955. else
  4956. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4957. $as_echo "no" >&6; }
  4958. fi
  4959. if test "x$ac_ct_DLLTOOL" = x; then
  4960. DLLTOOL="false"
  4961. else
  4962. case $cross_compiling:$ac_tool_warned in
  4963. yes:)
  4964. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  4965. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  4966. ac_tool_warned=yes ;;
  4967. esac
  4968. DLLTOOL=$ac_ct_DLLTOOL
  4969. fi
  4970. else
  4971. DLLTOOL="$ac_cv_prog_DLLTOOL"
  4972. fi
  4973. test -z "$DLLTOOL" && DLLTOOL=dlltool
  4974. { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
  4975. $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
  4976. if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
  4977. $as_echo_n "(cached) " >&6
  4978. else
  4979. lt_cv_sharedlib_from_linklib_cmd='unknown'
  4980. case $host_os in
  4981. cygwin* | mingw* | pw32* | cegcc*)
  4982. # two different shell functions defined in ltmain.sh
  4983. # decide which to use based on capabilities of $DLLTOOL
  4984. case `$DLLTOOL --help 2>&1` in
  4985. *--identify-strict*)
  4986. lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
  4987. ;;
  4988. *)
  4989. lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
  4990. ;;
  4991. esac
  4992. ;;
  4993. *)
  4994. # fallback: assume linklib IS sharedlib
  4995. lt_cv_sharedlib_from_linklib_cmd="$ECHO"
  4996. ;;
  4997. esac
  4998. fi
  4999. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
  5000. $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
  5001. sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
  5002. test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
  5003. if test -n "$ac_tool_prefix"; then
  5004. for ac_prog in ar
  5005. do
  5006. # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  5007. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  5008. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5009. $as_echo_n "checking for $ac_word... " >&6; }
  5010. if ${ac_cv_prog_AR+:} false; then :
  5011. $as_echo_n "(cached) " >&6
  5012. else
  5013. if test -n "$AR"; then
  5014. ac_cv_prog_AR="$AR" # Let the user override the test.
  5015. else
  5016. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5017. for as_dir in $PATH
  5018. do
  5019. IFS=$as_save_IFS
  5020. test -z "$as_dir" && as_dir=.
  5021. for ac_exec_ext in '' $ac_executable_extensions; do
  5022. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5023. ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
  5024. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5025. break 2
  5026. fi
  5027. done
  5028. done
  5029. IFS=$as_save_IFS
  5030. fi
  5031. fi
  5032. AR=$ac_cv_prog_AR
  5033. if test -n "$AR"; then
  5034. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
  5035. $as_echo "$AR" >&6; }
  5036. else
  5037. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5038. $as_echo "no" >&6; }
  5039. fi
  5040. test -n "$AR" && break
  5041. done
  5042. fi
  5043. if test -z "$AR"; then
  5044. ac_ct_AR=$AR
  5045. for ac_prog in ar
  5046. do
  5047. # Extract the first word of "$ac_prog", so it can be a program name with args.
  5048. set dummy $ac_prog; ac_word=$2
  5049. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5050. $as_echo_n "checking for $ac_word... " >&6; }
  5051. if ${ac_cv_prog_ac_ct_AR+:} false; then :
  5052. $as_echo_n "(cached) " >&6
  5053. else
  5054. if test -n "$ac_ct_AR"; then
  5055. ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
  5056. else
  5057. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5058. for as_dir in $PATH
  5059. do
  5060. IFS=$as_save_IFS
  5061. test -z "$as_dir" && as_dir=.
  5062. for ac_exec_ext in '' $ac_executable_extensions; do
  5063. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5064. ac_cv_prog_ac_ct_AR="$ac_prog"
  5065. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5066. break 2
  5067. fi
  5068. done
  5069. done
  5070. IFS=$as_save_IFS
  5071. fi
  5072. fi
  5073. ac_ct_AR=$ac_cv_prog_ac_ct_AR
  5074. if test -n "$ac_ct_AR"; then
  5075. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
  5076. $as_echo "$ac_ct_AR" >&6; }
  5077. else
  5078. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5079. $as_echo "no" >&6; }
  5080. fi
  5081. test -n "$ac_ct_AR" && break
  5082. done
  5083. if test "x$ac_ct_AR" = x; then
  5084. AR="false"
  5085. else
  5086. case $cross_compiling:$ac_tool_warned in
  5087. yes:)
  5088. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  5089. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  5090. ac_tool_warned=yes ;;
  5091. esac
  5092. AR=$ac_ct_AR
  5093. fi
  5094. fi
  5095. : ${AR=ar}
  5096. : ${AR_FLAGS=cru}
  5097. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
  5098. $as_echo_n "checking for archiver @FILE support... " >&6; }
  5099. if ${lt_cv_ar_at_file+:} false; then :
  5100. $as_echo_n "(cached) " >&6
  5101. else
  5102. lt_cv_ar_at_file=no
  5103. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5104. /* end confdefs.h. */
  5105. int
  5106. main ()
  5107. {
  5108. ;
  5109. return 0;
  5110. }
  5111. _ACEOF
  5112. if ac_fn_c_try_compile "$LINENO"; then :
  5113. echo conftest.$ac_objext > conftest.lst
  5114. lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
  5115. { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
  5116. (eval $lt_ar_try) 2>&5
  5117. ac_status=$?
  5118. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  5119. test $ac_status = 0; }
  5120. if test "$ac_status" -eq 0; then
  5121. # Ensure the archiver fails upon bogus file names.
  5122. rm -f conftest.$ac_objext libconftest.a
  5123. { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
  5124. (eval $lt_ar_try) 2>&5
  5125. ac_status=$?
  5126. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  5127. test $ac_status = 0; }
  5128. if test "$ac_status" -ne 0; then
  5129. lt_cv_ar_at_file=@
  5130. fi
  5131. fi
  5132. rm -f conftest.* libconftest.a
  5133. fi
  5134. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5135. fi
  5136. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
  5137. $as_echo "$lt_cv_ar_at_file" >&6; }
  5138. if test "x$lt_cv_ar_at_file" = xno; then
  5139. archiver_list_spec=
  5140. else
  5141. archiver_list_spec=$lt_cv_ar_at_file
  5142. fi
  5143. if test -n "$ac_tool_prefix"; then
  5144. # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  5145. set dummy ${ac_tool_prefix}strip; ac_word=$2
  5146. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5147. $as_echo_n "checking for $ac_word... " >&6; }
  5148. if ${ac_cv_prog_STRIP+:} false; then :
  5149. $as_echo_n "(cached) " >&6
  5150. else
  5151. if test -n "$STRIP"; then
  5152. ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  5153. else
  5154. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5155. for as_dir in $PATH
  5156. do
  5157. IFS=$as_save_IFS
  5158. test -z "$as_dir" && as_dir=.
  5159. for ac_exec_ext in '' $ac_executable_extensions; do
  5160. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5161. ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  5162. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5163. break 2
  5164. fi
  5165. done
  5166. done
  5167. IFS=$as_save_IFS
  5168. fi
  5169. fi
  5170. STRIP=$ac_cv_prog_STRIP
  5171. if test -n "$STRIP"; then
  5172. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
  5173. $as_echo "$STRIP" >&6; }
  5174. else
  5175. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5176. $as_echo "no" >&6; }
  5177. fi
  5178. fi
  5179. if test -z "$ac_cv_prog_STRIP"; then
  5180. ac_ct_STRIP=$STRIP
  5181. # Extract the first word of "strip", so it can be a program name with args.
  5182. set dummy strip; ac_word=$2
  5183. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5184. $as_echo_n "checking for $ac_word... " >&6; }
  5185. if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
  5186. $as_echo_n "(cached) " >&6
  5187. else
  5188. if test -n "$ac_ct_STRIP"; then
  5189. ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  5190. else
  5191. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5192. for as_dir in $PATH
  5193. do
  5194. IFS=$as_save_IFS
  5195. test -z "$as_dir" && as_dir=.
  5196. for ac_exec_ext in '' $ac_executable_extensions; do
  5197. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5198. ac_cv_prog_ac_ct_STRIP="strip"
  5199. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5200. break 2
  5201. fi
  5202. done
  5203. done
  5204. IFS=$as_save_IFS
  5205. fi
  5206. fi
  5207. ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  5208. if test -n "$ac_ct_STRIP"; then
  5209. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
  5210. $as_echo "$ac_ct_STRIP" >&6; }
  5211. else
  5212. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5213. $as_echo "no" >&6; }
  5214. fi
  5215. if test "x$ac_ct_STRIP" = x; then
  5216. STRIP=":"
  5217. else
  5218. case $cross_compiling:$ac_tool_warned in
  5219. yes:)
  5220. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  5221. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  5222. ac_tool_warned=yes ;;
  5223. esac
  5224. STRIP=$ac_ct_STRIP
  5225. fi
  5226. else
  5227. STRIP="$ac_cv_prog_STRIP"
  5228. fi
  5229. test -z "$STRIP" && STRIP=:
  5230. if test -n "$ac_tool_prefix"; then
  5231. # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
  5232. set dummy ${ac_tool_prefix}ranlib; ac_word=$2
  5233. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5234. $as_echo_n "checking for $ac_word... " >&6; }
  5235. if ${ac_cv_prog_RANLIB+:} false; then :
  5236. $as_echo_n "(cached) " >&6
  5237. else
  5238. if test -n "$RANLIB"; then
  5239. ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
  5240. else
  5241. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5242. for as_dir in $PATH
  5243. do
  5244. IFS=$as_save_IFS
  5245. test -z "$as_dir" && as_dir=.
  5246. for ac_exec_ext in '' $ac_executable_extensions; do
  5247. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5248. ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
  5249. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5250. break 2
  5251. fi
  5252. done
  5253. done
  5254. IFS=$as_save_IFS
  5255. fi
  5256. fi
  5257. RANLIB=$ac_cv_prog_RANLIB
  5258. if test -n "$RANLIB"; then
  5259. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
  5260. $as_echo "$RANLIB" >&6; }
  5261. else
  5262. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5263. $as_echo "no" >&6; }
  5264. fi
  5265. fi
  5266. if test -z "$ac_cv_prog_RANLIB"; then
  5267. ac_ct_RANLIB=$RANLIB
  5268. # Extract the first word of "ranlib", so it can be a program name with args.
  5269. set dummy ranlib; ac_word=$2
  5270. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5271. $as_echo_n "checking for $ac_word... " >&6; }
  5272. if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
  5273. $as_echo_n "(cached) " >&6
  5274. else
  5275. if test -n "$ac_ct_RANLIB"; then
  5276. ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
  5277. else
  5278. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5279. for as_dir in $PATH
  5280. do
  5281. IFS=$as_save_IFS
  5282. test -z "$as_dir" && as_dir=.
  5283. for ac_exec_ext in '' $ac_executable_extensions; do
  5284. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5285. ac_cv_prog_ac_ct_RANLIB="ranlib"
  5286. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5287. break 2
  5288. fi
  5289. done
  5290. done
  5291. IFS=$as_save_IFS
  5292. fi
  5293. fi
  5294. ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
  5295. if test -n "$ac_ct_RANLIB"; then
  5296. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
  5297. $as_echo "$ac_ct_RANLIB" >&6; }
  5298. else
  5299. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5300. $as_echo "no" >&6; }
  5301. fi
  5302. if test "x$ac_ct_RANLIB" = x; then
  5303. RANLIB=":"
  5304. else
  5305. case $cross_compiling:$ac_tool_warned in
  5306. yes:)
  5307. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  5308. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  5309. ac_tool_warned=yes ;;
  5310. esac
  5311. RANLIB=$ac_ct_RANLIB
  5312. fi
  5313. else
  5314. RANLIB="$ac_cv_prog_RANLIB"
  5315. fi
  5316. test -z "$RANLIB" && RANLIB=:
  5317. # Determine commands to create old-style static archives.
  5318. old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
  5319. old_postinstall_cmds='chmod 644 $oldlib'
  5320. old_postuninstall_cmds=
  5321. if test -n "$RANLIB"; then
  5322. case $host_os in
  5323. openbsd*)
  5324. old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
  5325. ;;
  5326. *)
  5327. old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
  5328. ;;
  5329. esac
  5330. old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
  5331. fi
  5332. case $host_os in
  5333. darwin*)
  5334. lock_old_archive_extraction=yes ;;
  5335. *)
  5336. lock_old_archive_extraction=no ;;
  5337. esac
  5338. # If no C compiler was specified, use CC.
  5339. LTCC=${LTCC-"$CC"}
  5340. # If no C compiler flags were specified, use CFLAGS.
  5341. LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
  5342. # Allow CC to be a program name with arguments.
  5343. compiler=$CC
  5344. # Check for command to grab the raw symbol name followed by C symbol from nm.
  5345. { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
  5346. $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
  5347. if ${lt_cv_sys_global_symbol_pipe+:} false; then :
  5348. $as_echo_n "(cached) " >&6
  5349. else
  5350. # These are sane defaults that work on at least a few old systems.
  5351. # [They come from Ultrix. What could be older than Ultrix?!! ;)]
  5352. # Character class describing NM global symbol codes.
  5353. symcode='[BCDEGRST]'
  5354. # Regexp to match symbols that can be accessed directly from C.
  5355. sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
  5356. # Define system-specific variables.
  5357. case $host_os in
  5358. aix*)
  5359. symcode='[BCDT]'
  5360. ;;
  5361. cygwin* | mingw* | pw32* | cegcc*)
  5362. symcode='[ABCDGISTW]'
  5363. ;;
  5364. hpux*)
  5365. if test "$host_cpu" = ia64; then
  5366. symcode='[ABCDEGRST]'
  5367. fi
  5368. ;;
  5369. irix* | nonstopux*)
  5370. symcode='[BCDEGRST]'
  5371. ;;
  5372. osf*)
  5373. symcode='[BCDEGQRST]'
  5374. ;;
  5375. solaris*)
  5376. symcode='[BDRT]'
  5377. ;;
  5378. sco3.2v5*)
  5379. symcode='[DT]'
  5380. ;;
  5381. sysv4.2uw2*)
  5382. symcode='[DT]'
  5383. ;;
  5384. sysv5* | sco5v6* | unixware* | OpenUNIX*)
  5385. symcode='[ABDT]'
  5386. ;;
  5387. sysv4)
  5388. symcode='[DFNSTU]'
  5389. ;;
  5390. esac
  5391. # If we're using GNU nm, then use its standard symbol codes.
  5392. case `$NM -V 2>&1` in
  5393. *GNU* | *'with BFD'*)
  5394. symcode='[ABCDGIRSTW]' ;;
  5395. esac
  5396. # Transform an extracted symbol line into a proper C declaration.
  5397. # Some systems (esp. on ia64) link data and code symbols differently,
  5398. # so use this general approach.
  5399. lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
  5400. # Transform an extracted symbol line into symbol name and symbol address
  5401. lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
  5402. 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'"
  5403. # Handle CRLF in mingw tool chain
  5404. opt_cr=
  5405. case $build_os in
  5406. mingw*)
  5407. opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
  5408. ;;
  5409. esac
  5410. # Try without a prefix underscore, then with it.
  5411. for ac_symprfx in "" "_"; do
  5412. # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
  5413. symxfrm="\\1 $ac_symprfx\\2 \\2"
  5414. # Write the raw and C identifiers.
  5415. if test "$lt_cv_nm_interface" = "MS dumpbin"; then
  5416. # Fake it for dumpbin and say T for any non-static function
  5417. # and D for any global variable.
  5418. # Also find C++ and __fastcall symbols from MSVC++,
  5419. # which start with @ or ?.
  5420. lt_cv_sys_global_symbol_pipe="$AWK '"\
  5421. " {last_section=section; section=\$ 3};"\
  5422. " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
  5423. " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
  5424. " \$ 0!~/External *\|/{next};"\
  5425. " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
  5426. " {if(hide[section]) next};"\
  5427. " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
  5428. " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
  5429. " s[1]~/^[@?]/{print s[1], s[1]; next};"\
  5430. " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
  5431. " ' prfx=^$ac_symprfx"
  5432. else
  5433. lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
  5434. fi
  5435. lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
  5436. # Check to see that the pipe works correctly.
  5437. pipe_works=no
  5438. rm -f conftest*
  5439. cat > conftest.$ac_ext <<_LT_EOF
  5440. #ifdef __cplusplus
  5441. extern "C" {
  5442. #endif
  5443. char nm_test_var;
  5444. void nm_test_func(void);
  5445. void nm_test_func(void){}
  5446. #ifdef __cplusplus
  5447. }
  5448. #endif
  5449. int main(){nm_test_var='a';nm_test_func();return(0);}
  5450. _LT_EOF
  5451. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  5452. (eval $ac_compile) 2>&5
  5453. ac_status=$?
  5454. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  5455. test $ac_status = 0; }; then
  5456. # Now try to grab the symbols.
  5457. nlist=conftest.nm
  5458. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
  5459. (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
  5460. ac_status=$?
  5461. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  5462. test $ac_status = 0; } && test -s "$nlist"; then
  5463. # Try sorting and uniquifying the output.
  5464. if sort "$nlist" | uniq > "$nlist"T; then
  5465. mv -f "$nlist"T "$nlist"
  5466. else
  5467. rm -f "$nlist"T
  5468. fi
  5469. # Make sure that we snagged all the symbols we need.
  5470. if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
  5471. if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
  5472. cat <<_LT_EOF > conftest.$ac_ext
  5473. /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
  5474. #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
  5475. /* DATA imports from DLLs on WIN32 con't be const, because runtime
  5476. relocations are performed -- see ld's documentation on pseudo-relocs. */
  5477. # define LT_DLSYM_CONST
  5478. #elif defined(__osf__)
  5479. /* This system does not cope well with relocations in const data. */
  5480. # define LT_DLSYM_CONST
  5481. #else
  5482. # define LT_DLSYM_CONST const
  5483. #endif
  5484. #ifdef __cplusplus
  5485. extern "C" {
  5486. #endif
  5487. _LT_EOF
  5488. # Now generate the symbol file.
  5489. eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
  5490. cat <<_LT_EOF >> conftest.$ac_ext
  5491. /* The mapping between symbol names and symbols. */
  5492. LT_DLSYM_CONST struct {
  5493. const char *name;
  5494. void *address;
  5495. }
  5496. lt__PROGRAM__LTX_preloaded_symbols[] =
  5497. {
  5498. { "@PROGRAM@", (void *) 0 },
  5499. _LT_EOF
  5500. $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
  5501. cat <<\_LT_EOF >> conftest.$ac_ext
  5502. {0, (void *) 0}
  5503. };
  5504. /* This works around a problem in FreeBSD linker */
  5505. #ifdef FREEBSD_WORKAROUND
  5506. static const void *lt_preloaded_setup() {
  5507. return lt__PROGRAM__LTX_preloaded_symbols;
  5508. }
  5509. #endif
  5510. #ifdef __cplusplus
  5511. }
  5512. #endif
  5513. _LT_EOF
  5514. # Now try linking the two files.
  5515. mv conftest.$ac_objext conftstm.$ac_objext
  5516. lt_globsym_save_LIBS=$LIBS
  5517. lt_globsym_save_CFLAGS=$CFLAGS
  5518. LIBS="conftstm.$ac_objext"
  5519. CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
  5520. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  5521. (eval $ac_link) 2>&5
  5522. ac_status=$?
  5523. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  5524. test $ac_status = 0; } && test -s conftest${ac_exeext}; then
  5525. pipe_works=yes
  5526. fi
  5527. LIBS=$lt_globsym_save_LIBS
  5528. CFLAGS=$lt_globsym_save_CFLAGS
  5529. else
  5530. echo "cannot find nm_test_func in $nlist" >&5
  5531. fi
  5532. else
  5533. echo "cannot find nm_test_var in $nlist" >&5
  5534. fi
  5535. else
  5536. echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
  5537. fi
  5538. else
  5539. echo "$progname: failed program was:" >&5
  5540. cat conftest.$ac_ext >&5
  5541. fi
  5542. rm -rf conftest* conftst*
  5543. # Do not use the global_symbol_pipe unless it works.
  5544. if test "$pipe_works" = yes; then
  5545. break
  5546. else
  5547. lt_cv_sys_global_symbol_pipe=
  5548. fi
  5549. done
  5550. fi
  5551. if test -z "$lt_cv_sys_global_symbol_pipe"; then
  5552. lt_cv_sys_global_symbol_to_cdecl=
  5553. fi
  5554. if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
  5555. { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
  5556. $as_echo "failed" >&6; }
  5557. else
  5558. { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
  5559. $as_echo "ok" >&6; }
  5560. fi
  5561. # Response file support.
  5562. if test "$lt_cv_nm_interface" = "MS dumpbin"; then
  5563. nm_file_list_spec='@'
  5564. elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
  5565. nm_file_list_spec='@'
  5566. fi
  5567. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
  5568. $as_echo_n "checking for sysroot... " >&6; }
  5569. # Check whether --with-sysroot was given.
  5570. if test "${with_sysroot+set}" = set; then :
  5571. withval=$with_sysroot;
  5572. else
  5573. with_sysroot=no
  5574. fi
  5575. lt_sysroot=
  5576. case ${with_sysroot} in #(
  5577. yes)
  5578. if test "$GCC" = yes; then
  5579. lt_sysroot=`$CC --print-sysroot 2>/dev/null`
  5580. fi
  5581. ;; #(
  5582. /*)
  5583. lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
  5584. ;; #(
  5585. no|'')
  5586. ;; #(
  5587. *)
  5588. { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
  5589. $as_echo "${with_sysroot}" >&6; }
  5590. as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
  5591. ;;
  5592. esac
  5593. { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
  5594. $as_echo "${lt_sysroot:-no}" >&6; }
  5595. # Check whether --enable-libtool-lock was given.
  5596. if test "${enable_libtool_lock+set}" = set; then :
  5597. enableval=$enable_libtool_lock;
  5598. fi
  5599. test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
  5600. # Some flags need to be propagated to the compiler or linker for good
  5601. # libtool support.
  5602. case $host in
  5603. ia64-*-hpux*)
  5604. # Find out which ABI we are using.
  5605. echo 'int i;' > conftest.$ac_ext
  5606. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  5607. (eval $ac_compile) 2>&5
  5608. ac_status=$?
  5609. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  5610. test $ac_status = 0; }; then
  5611. case `/usr/bin/file conftest.$ac_objext` in
  5612. *ELF-32*)
  5613. HPUX_IA64_MODE="32"
  5614. ;;
  5615. *ELF-64*)
  5616. HPUX_IA64_MODE="64"
  5617. ;;
  5618. esac
  5619. fi
  5620. rm -rf conftest*
  5621. ;;
  5622. *-*-irix6*)
  5623. # Find out which ABI we are using.
  5624. echo '#line '$LINENO' "configure"' > conftest.$ac_ext
  5625. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  5626. (eval $ac_compile) 2>&5
  5627. ac_status=$?
  5628. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  5629. test $ac_status = 0; }; then
  5630. if test "$lt_cv_prog_gnu_ld" = yes; then
  5631. case `/usr/bin/file conftest.$ac_objext` in
  5632. *32-bit*)
  5633. LD="${LD-ld} -melf32bsmip"
  5634. ;;
  5635. *N32*)
  5636. LD="${LD-ld} -melf32bmipn32"
  5637. ;;
  5638. *64-bit*)
  5639. LD="${LD-ld} -melf64bmip"
  5640. ;;
  5641. esac
  5642. else
  5643. case `/usr/bin/file conftest.$ac_objext` in
  5644. *32-bit*)
  5645. LD="${LD-ld} -32"
  5646. ;;
  5647. *N32*)
  5648. LD="${LD-ld} -n32"
  5649. ;;
  5650. *64-bit*)
  5651. LD="${LD-ld} -64"
  5652. ;;
  5653. esac
  5654. fi
  5655. fi
  5656. rm -rf conftest*
  5657. ;;
  5658. x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
  5659. s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
  5660. # Find out which ABI we are using.
  5661. echo 'int i;' > conftest.$ac_ext
  5662. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  5663. (eval $ac_compile) 2>&5
  5664. ac_status=$?
  5665. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  5666. test $ac_status = 0; }; then
  5667. case `/usr/bin/file conftest.o` in
  5668. *32-bit*)
  5669. case $host in
  5670. x86_64-*kfreebsd*-gnu)
  5671. LD="${LD-ld} -m elf_i386_fbsd"
  5672. ;;
  5673. x86_64-*linux*)
  5674. case `/usr/bin/file conftest.o` in
  5675. *x86-64*)
  5676. LD="${LD-ld} -m elf32_x86_64"
  5677. ;;
  5678. *)
  5679. LD="${LD-ld} -m elf_i386"
  5680. ;;
  5681. esac
  5682. ;;
  5683. ppc64-*linux*|powerpc64-*linux*)
  5684. LD="${LD-ld} -m elf32ppclinux"
  5685. ;;
  5686. s390x-*linux*)
  5687. LD="${LD-ld} -m elf_s390"
  5688. ;;
  5689. sparc64-*linux*)
  5690. LD="${LD-ld} -m elf32_sparc"
  5691. ;;
  5692. esac
  5693. ;;
  5694. *64-bit*)
  5695. case $host in
  5696. x86_64-*kfreebsd*-gnu)
  5697. LD="${LD-ld} -m elf_x86_64_fbsd"
  5698. ;;
  5699. x86_64-*linux*)
  5700. LD="${LD-ld} -m elf_x86_64"
  5701. ;;
  5702. ppc*-*linux*|powerpc*-*linux*)
  5703. LD="${LD-ld} -m elf64ppc"
  5704. ;;
  5705. s390*-*linux*|s390*-*tpf*)
  5706. LD="${LD-ld} -m elf64_s390"
  5707. ;;
  5708. sparc*-*linux*)
  5709. LD="${LD-ld} -m elf64_sparc"
  5710. ;;
  5711. esac
  5712. ;;
  5713. esac
  5714. fi
  5715. rm -rf conftest*
  5716. ;;
  5717. *-*-sco3.2v5*)
  5718. # On SCO OpenServer 5, we need -belf to get full-featured binaries.
  5719. SAVE_CFLAGS="$CFLAGS"
  5720. CFLAGS="$CFLAGS -belf"
  5721. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
  5722. $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
  5723. if ${lt_cv_cc_needs_belf+:} false; then :
  5724. $as_echo_n "(cached) " >&6
  5725. else
  5726. ac_ext=c
  5727. ac_cpp='$CPP $CPPFLAGS'
  5728. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  5729. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  5730. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  5731. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5732. /* end confdefs.h. */
  5733. int
  5734. main ()
  5735. {
  5736. ;
  5737. return 0;
  5738. }
  5739. _ACEOF
  5740. if ac_fn_c_try_link "$LINENO"; then :
  5741. lt_cv_cc_needs_belf=yes
  5742. else
  5743. lt_cv_cc_needs_belf=no
  5744. fi
  5745. rm -f core conftest.err conftest.$ac_objext \
  5746. conftest$ac_exeext conftest.$ac_ext
  5747. ac_ext=c
  5748. ac_cpp='$CPP $CPPFLAGS'
  5749. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  5750. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  5751. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  5752. fi
  5753. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
  5754. $as_echo "$lt_cv_cc_needs_belf" >&6; }
  5755. if test x"$lt_cv_cc_needs_belf" != x"yes"; then
  5756. # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
  5757. CFLAGS="$SAVE_CFLAGS"
  5758. fi
  5759. ;;
  5760. *-*solaris*)
  5761. # Find out which ABI we are using.
  5762. echo 'int i;' > conftest.$ac_ext
  5763. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  5764. (eval $ac_compile) 2>&5
  5765. ac_status=$?
  5766. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  5767. test $ac_status = 0; }; then
  5768. case `/usr/bin/file conftest.o` in
  5769. *64-bit*)
  5770. case $lt_cv_prog_gnu_ld in
  5771. yes*)
  5772. case $host in
  5773. i?86-*-solaris*)
  5774. LD="${LD-ld} -m elf_x86_64"
  5775. ;;
  5776. sparc*-*-solaris*)
  5777. LD="${LD-ld} -m elf64_sparc"
  5778. ;;
  5779. esac
  5780. # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
  5781. if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
  5782. LD="${LD-ld}_sol2"
  5783. fi
  5784. ;;
  5785. *)
  5786. if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
  5787. LD="${LD-ld} -64"
  5788. fi
  5789. ;;
  5790. esac
  5791. ;;
  5792. esac
  5793. fi
  5794. rm -rf conftest*
  5795. ;;
  5796. esac
  5797. need_locks="$enable_libtool_lock"
  5798. if test -n "$ac_tool_prefix"; then
  5799. # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
  5800. set dummy ${ac_tool_prefix}mt; ac_word=$2
  5801. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5802. $as_echo_n "checking for $ac_word... " >&6; }
  5803. if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
  5804. $as_echo_n "(cached) " >&6
  5805. else
  5806. if test -n "$MANIFEST_TOOL"; then
  5807. ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
  5808. else
  5809. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5810. for as_dir in $PATH
  5811. do
  5812. IFS=$as_save_IFS
  5813. test -z "$as_dir" && as_dir=.
  5814. for ac_exec_ext in '' $ac_executable_extensions; do
  5815. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5816. ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
  5817. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5818. break 2
  5819. fi
  5820. done
  5821. done
  5822. IFS=$as_save_IFS
  5823. fi
  5824. fi
  5825. MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
  5826. if test -n "$MANIFEST_TOOL"; then
  5827. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
  5828. $as_echo "$MANIFEST_TOOL" >&6; }
  5829. else
  5830. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5831. $as_echo "no" >&6; }
  5832. fi
  5833. fi
  5834. if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
  5835. ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
  5836. # Extract the first word of "mt", so it can be a program name with args.
  5837. set dummy mt; ac_word=$2
  5838. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5839. $as_echo_n "checking for $ac_word... " >&6; }
  5840. if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
  5841. $as_echo_n "(cached) " >&6
  5842. else
  5843. if test -n "$ac_ct_MANIFEST_TOOL"; then
  5844. ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
  5845. else
  5846. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5847. for as_dir in $PATH
  5848. do
  5849. IFS=$as_save_IFS
  5850. test -z "$as_dir" && as_dir=.
  5851. for ac_exec_ext in '' $ac_executable_extensions; do
  5852. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5853. ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
  5854. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5855. break 2
  5856. fi
  5857. done
  5858. done
  5859. IFS=$as_save_IFS
  5860. fi
  5861. fi
  5862. ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
  5863. if test -n "$ac_ct_MANIFEST_TOOL"; then
  5864. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
  5865. $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
  5866. else
  5867. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5868. $as_echo "no" >&6; }
  5869. fi
  5870. if test "x$ac_ct_MANIFEST_TOOL" = x; then
  5871. MANIFEST_TOOL=":"
  5872. else
  5873. case $cross_compiling:$ac_tool_warned in
  5874. yes:)
  5875. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  5876. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  5877. ac_tool_warned=yes ;;
  5878. esac
  5879. MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
  5880. fi
  5881. else
  5882. MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
  5883. fi
  5884. test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
  5885. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
  5886. $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
  5887. if ${lt_cv_path_mainfest_tool+:} false; then :
  5888. $as_echo_n "(cached) " >&6
  5889. else
  5890. lt_cv_path_mainfest_tool=no
  5891. echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
  5892. $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
  5893. cat conftest.err >&5
  5894. if $GREP 'Manifest Tool' conftest.out > /dev/null; then
  5895. lt_cv_path_mainfest_tool=yes
  5896. fi
  5897. rm -f conftest*
  5898. fi
  5899. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
  5900. $as_echo "$lt_cv_path_mainfest_tool" >&6; }
  5901. if test "x$lt_cv_path_mainfest_tool" != xyes; then
  5902. MANIFEST_TOOL=:
  5903. fi
  5904. case $host_os in
  5905. rhapsody* | darwin*)
  5906. if test -n "$ac_tool_prefix"; then
  5907. # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
  5908. set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
  5909. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5910. $as_echo_n "checking for $ac_word... " >&6; }
  5911. if ${ac_cv_prog_DSYMUTIL+:} false; then :
  5912. $as_echo_n "(cached) " >&6
  5913. else
  5914. if test -n "$DSYMUTIL"; then
  5915. ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
  5916. else
  5917. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5918. for as_dir in $PATH
  5919. do
  5920. IFS=$as_save_IFS
  5921. test -z "$as_dir" && as_dir=.
  5922. for ac_exec_ext in '' $ac_executable_extensions; do
  5923. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5924. ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
  5925. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5926. break 2
  5927. fi
  5928. done
  5929. done
  5930. IFS=$as_save_IFS
  5931. fi
  5932. fi
  5933. DSYMUTIL=$ac_cv_prog_DSYMUTIL
  5934. if test -n "$DSYMUTIL"; then
  5935. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
  5936. $as_echo "$DSYMUTIL" >&6; }
  5937. else
  5938. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5939. $as_echo "no" >&6; }
  5940. fi
  5941. fi
  5942. if test -z "$ac_cv_prog_DSYMUTIL"; then
  5943. ac_ct_DSYMUTIL=$DSYMUTIL
  5944. # Extract the first word of "dsymutil", so it can be a program name with args.
  5945. set dummy dsymutil; ac_word=$2
  5946. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5947. $as_echo_n "checking for $ac_word... " >&6; }
  5948. if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
  5949. $as_echo_n "(cached) " >&6
  5950. else
  5951. if test -n "$ac_ct_DSYMUTIL"; then
  5952. ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
  5953. else
  5954. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5955. for as_dir in $PATH
  5956. do
  5957. IFS=$as_save_IFS
  5958. test -z "$as_dir" && as_dir=.
  5959. for ac_exec_ext in '' $ac_executable_extensions; do
  5960. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5961. ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
  5962. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5963. break 2
  5964. fi
  5965. done
  5966. done
  5967. IFS=$as_save_IFS
  5968. fi
  5969. fi
  5970. ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
  5971. if test -n "$ac_ct_DSYMUTIL"; then
  5972. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
  5973. $as_echo "$ac_ct_DSYMUTIL" >&6; }
  5974. else
  5975. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5976. $as_echo "no" >&6; }
  5977. fi
  5978. if test "x$ac_ct_DSYMUTIL" = x; then
  5979. DSYMUTIL=":"
  5980. else
  5981. case $cross_compiling:$ac_tool_warned in
  5982. yes:)
  5983. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  5984. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  5985. ac_tool_warned=yes ;;
  5986. esac
  5987. DSYMUTIL=$ac_ct_DSYMUTIL
  5988. fi
  5989. else
  5990. DSYMUTIL="$ac_cv_prog_DSYMUTIL"
  5991. fi
  5992. if test -n "$ac_tool_prefix"; then
  5993. # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
  5994. set dummy ${ac_tool_prefix}nmedit; ac_word=$2
  5995. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5996. $as_echo_n "checking for $ac_word... " >&6; }
  5997. if ${ac_cv_prog_NMEDIT+:} false; then :
  5998. $as_echo_n "(cached) " >&6
  5999. else
  6000. if test -n "$NMEDIT"; then
  6001. ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
  6002. else
  6003. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6004. for as_dir in $PATH
  6005. do
  6006. IFS=$as_save_IFS
  6007. test -z "$as_dir" && as_dir=.
  6008. for ac_exec_ext in '' $ac_executable_extensions; do
  6009. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6010. ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
  6011. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6012. break 2
  6013. fi
  6014. done
  6015. done
  6016. IFS=$as_save_IFS
  6017. fi
  6018. fi
  6019. NMEDIT=$ac_cv_prog_NMEDIT
  6020. if test -n "$NMEDIT"; then
  6021. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
  6022. $as_echo "$NMEDIT" >&6; }
  6023. else
  6024. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6025. $as_echo "no" >&6; }
  6026. fi
  6027. fi
  6028. if test -z "$ac_cv_prog_NMEDIT"; then
  6029. ac_ct_NMEDIT=$NMEDIT
  6030. # Extract the first word of "nmedit", so it can be a program name with args.
  6031. set dummy nmedit; ac_word=$2
  6032. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6033. $as_echo_n "checking for $ac_word... " >&6; }
  6034. if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
  6035. $as_echo_n "(cached) " >&6
  6036. else
  6037. if test -n "$ac_ct_NMEDIT"; then
  6038. ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
  6039. else
  6040. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6041. for as_dir in $PATH
  6042. do
  6043. IFS=$as_save_IFS
  6044. test -z "$as_dir" && as_dir=.
  6045. for ac_exec_ext in '' $ac_executable_extensions; do
  6046. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6047. ac_cv_prog_ac_ct_NMEDIT="nmedit"
  6048. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6049. break 2
  6050. fi
  6051. done
  6052. done
  6053. IFS=$as_save_IFS
  6054. fi
  6055. fi
  6056. ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
  6057. if test -n "$ac_ct_NMEDIT"; then
  6058. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
  6059. $as_echo "$ac_ct_NMEDIT" >&6; }
  6060. else
  6061. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6062. $as_echo "no" >&6; }
  6063. fi
  6064. if test "x$ac_ct_NMEDIT" = x; then
  6065. NMEDIT=":"
  6066. else
  6067. case $cross_compiling:$ac_tool_warned in
  6068. yes:)
  6069. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  6070. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  6071. ac_tool_warned=yes ;;
  6072. esac
  6073. NMEDIT=$ac_ct_NMEDIT
  6074. fi
  6075. else
  6076. NMEDIT="$ac_cv_prog_NMEDIT"
  6077. fi
  6078. if test -n "$ac_tool_prefix"; then
  6079. # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
  6080. set dummy ${ac_tool_prefix}lipo; ac_word=$2
  6081. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6082. $as_echo_n "checking for $ac_word... " >&6; }
  6083. if ${ac_cv_prog_LIPO+:} false; then :
  6084. $as_echo_n "(cached) " >&6
  6085. else
  6086. if test -n "$LIPO"; then
  6087. ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
  6088. else
  6089. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6090. for as_dir in $PATH
  6091. do
  6092. IFS=$as_save_IFS
  6093. test -z "$as_dir" && as_dir=.
  6094. for ac_exec_ext in '' $ac_executable_extensions; do
  6095. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6096. ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
  6097. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6098. break 2
  6099. fi
  6100. done
  6101. done
  6102. IFS=$as_save_IFS
  6103. fi
  6104. fi
  6105. LIPO=$ac_cv_prog_LIPO
  6106. if test -n "$LIPO"; then
  6107. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
  6108. $as_echo "$LIPO" >&6; }
  6109. else
  6110. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6111. $as_echo "no" >&6; }
  6112. fi
  6113. fi
  6114. if test -z "$ac_cv_prog_LIPO"; then
  6115. ac_ct_LIPO=$LIPO
  6116. # Extract the first word of "lipo", so it can be a program name with args.
  6117. set dummy lipo; ac_word=$2
  6118. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6119. $as_echo_n "checking for $ac_word... " >&6; }
  6120. if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
  6121. $as_echo_n "(cached) " >&6
  6122. else
  6123. if test -n "$ac_ct_LIPO"; then
  6124. ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
  6125. else
  6126. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6127. for as_dir in $PATH
  6128. do
  6129. IFS=$as_save_IFS
  6130. test -z "$as_dir" && as_dir=.
  6131. for ac_exec_ext in '' $ac_executable_extensions; do
  6132. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6133. ac_cv_prog_ac_ct_LIPO="lipo"
  6134. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6135. break 2
  6136. fi
  6137. done
  6138. done
  6139. IFS=$as_save_IFS
  6140. fi
  6141. fi
  6142. ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
  6143. if test -n "$ac_ct_LIPO"; then
  6144. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
  6145. $as_echo "$ac_ct_LIPO" >&6; }
  6146. else
  6147. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6148. $as_echo "no" >&6; }
  6149. fi
  6150. if test "x$ac_ct_LIPO" = x; then
  6151. LIPO=":"
  6152. else
  6153. case $cross_compiling:$ac_tool_warned in
  6154. yes:)
  6155. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  6156. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  6157. ac_tool_warned=yes ;;
  6158. esac
  6159. LIPO=$ac_ct_LIPO
  6160. fi
  6161. else
  6162. LIPO="$ac_cv_prog_LIPO"
  6163. fi
  6164. if test -n "$ac_tool_prefix"; then
  6165. # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
  6166. set dummy ${ac_tool_prefix}otool; ac_word=$2
  6167. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6168. $as_echo_n "checking for $ac_word... " >&6; }
  6169. if ${ac_cv_prog_OTOOL+:} false; then :
  6170. $as_echo_n "(cached) " >&6
  6171. else
  6172. if test -n "$OTOOL"; then
  6173. ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
  6174. else
  6175. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6176. for as_dir in $PATH
  6177. do
  6178. IFS=$as_save_IFS
  6179. test -z "$as_dir" && as_dir=.
  6180. for ac_exec_ext in '' $ac_executable_extensions; do
  6181. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6182. ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
  6183. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6184. break 2
  6185. fi
  6186. done
  6187. done
  6188. IFS=$as_save_IFS
  6189. fi
  6190. fi
  6191. OTOOL=$ac_cv_prog_OTOOL
  6192. if test -n "$OTOOL"; then
  6193. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
  6194. $as_echo "$OTOOL" >&6; }
  6195. else
  6196. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6197. $as_echo "no" >&6; }
  6198. fi
  6199. fi
  6200. if test -z "$ac_cv_prog_OTOOL"; then
  6201. ac_ct_OTOOL=$OTOOL
  6202. # Extract the first word of "otool", so it can be a program name with args.
  6203. set dummy otool; ac_word=$2
  6204. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6205. $as_echo_n "checking for $ac_word... " >&6; }
  6206. if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
  6207. $as_echo_n "(cached) " >&6
  6208. else
  6209. if test -n "$ac_ct_OTOOL"; then
  6210. ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
  6211. else
  6212. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6213. for as_dir in $PATH
  6214. do
  6215. IFS=$as_save_IFS
  6216. test -z "$as_dir" && as_dir=.
  6217. for ac_exec_ext in '' $ac_executable_extensions; do
  6218. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6219. ac_cv_prog_ac_ct_OTOOL="otool"
  6220. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6221. break 2
  6222. fi
  6223. done
  6224. done
  6225. IFS=$as_save_IFS
  6226. fi
  6227. fi
  6228. ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
  6229. if test -n "$ac_ct_OTOOL"; then
  6230. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
  6231. $as_echo "$ac_ct_OTOOL" >&6; }
  6232. else
  6233. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6234. $as_echo "no" >&6; }
  6235. fi
  6236. if test "x$ac_ct_OTOOL" = x; then
  6237. OTOOL=":"
  6238. else
  6239. case $cross_compiling:$ac_tool_warned in
  6240. yes:)
  6241. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  6242. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  6243. ac_tool_warned=yes ;;
  6244. esac
  6245. OTOOL=$ac_ct_OTOOL
  6246. fi
  6247. else
  6248. OTOOL="$ac_cv_prog_OTOOL"
  6249. fi
  6250. if test -n "$ac_tool_prefix"; then
  6251. # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
  6252. set dummy ${ac_tool_prefix}otool64; ac_word=$2
  6253. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6254. $as_echo_n "checking for $ac_word... " >&6; }
  6255. if ${ac_cv_prog_OTOOL64+:} false; then :
  6256. $as_echo_n "(cached) " >&6
  6257. else
  6258. if test -n "$OTOOL64"; then
  6259. ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
  6260. else
  6261. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6262. for as_dir in $PATH
  6263. do
  6264. IFS=$as_save_IFS
  6265. test -z "$as_dir" && as_dir=.
  6266. for ac_exec_ext in '' $ac_executable_extensions; do
  6267. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6268. ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
  6269. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6270. break 2
  6271. fi
  6272. done
  6273. done
  6274. IFS=$as_save_IFS
  6275. fi
  6276. fi
  6277. OTOOL64=$ac_cv_prog_OTOOL64
  6278. if test -n "$OTOOL64"; then
  6279. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
  6280. $as_echo "$OTOOL64" >&6; }
  6281. else
  6282. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6283. $as_echo "no" >&6; }
  6284. fi
  6285. fi
  6286. if test -z "$ac_cv_prog_OTOOL64"; then
  6287. ac_ct_OTOOL64=$OTOOL64
  6288. # Extract the first word of "otool64", so it can be a program name with args.
  6289. set dummy otool64; ac_word=$2
  6290. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6291. $as_echo_n "checking for $ac_word... " >&6; }
  6292. if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
  6293. $as_echo_n "(cached) " >&6
  6294. else
  6295. if test -n "$ac_ct_OTOOL64"; then
  6296. ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
  6297. else
  6298. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6299. for as_dir in $PATH
  6300. do
  6301. IFS=$as_save_IFS
  6302. test -z "$as_dir" && as_dir=.
  6303. for ac_exec_ext in '' $ac_executable_extensions; do
  6304. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6305. ac_cv_prog_ac_ct_OTOOL64="otool64"
  6306. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6307. break 2
  6308. fi
  6309. done
  6310. done
  6311. IFS=$as_save_IFS
  6312. fi
  6313. fi
  6314. ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
  6315. if test -n "$ac_ct_OTOOL64"; then
  6316. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
  6317. $as_echo "$ac_ct_OTOOL64" >&6; }
  6318. else
  6319. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6320. $as_echo "no" >&6; }
  6321. fi
  6322. if test "x$ac_ct_OTOOL64" = x; then
  6323. OTOOL64=":"
  6324. else
  6325. case $cross_compiling:$ac_tool_warned in
  6326. yes:)
  6327. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  6328. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  6329. ac_tool_warned=yes ;;
  6330. esac
  6331. OTOOL64=$ac_ct_OTOOL64
  6332. fi
  6333. else
  6334. OTOOL64="$ac_cv_prog_OTOOL64"
  6335. fi
  6336. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
  6337. $as_echo_n "checking for -single_module linker flag... " >&6; }
  6338. if ${lt_cv_apple_cc_single_mod+:} false; then :
  6339. $as_echo_n "(cached) " >&6
  6340. else
  6341. lt_cv_apple_cc_single_mod=no
  6342. if test -z "${LT_MULTI_MODULE}"; then
  6343. # By default we will add the -single_module flag. You can override
  6344. # by either setting the environment variable LT_MULTI_MODULE
  6345. # non-empty at configure time, or by adding -multi_module to the
  6346. # link flags.
  6347. rm -rf libconftest.dylib*
  6348. echo "int foo(void){return 1;}" > conftest.c
  6349. echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
  6350. -dynamiclib -Wl,-single_module conftest.c" >&5
  6351. $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
  6352. -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
  6353. _lt_result=$?
  6354. # If there is a non-empty error log, and "single_module"
  6355. # appears in it, assume the flag caused a linker warning
  6356. if test -s conftest.err && $GREP single_module conftest.err; then
  6357. cat conftest.err >&5
  6358. # Otherwise, if the output was created with a 0 exit code from
  6359. # the compiler, it worked.
  6360. elif test -f libconftest.dylib && test $_lt_result -eq 0; then
  6361. lt_cv_apple_cc_single_mod=yes
  6362. else
  6363. cat conftest.err >&5
  6364. fi
  6365. rm -rf libconftest.dylib*
  6366. rm -f conftest.*
  6367. fi
  6368. fi
  6369. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
  6370. $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
  6371. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
  6372. $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
  6373. if ${lt_cv_ld_exported_symbols_list+:} false; then :
  6374. $as_echo_n "(cached) " >&6
  6375. else
  6376. lt_cv_ld_exported_symbols_list=no
  6377. save_LDFLAGS=$LDFLAGS
  6378. echo "_main" > conftest.sym
  6379. LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
  6380. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6381. /* end confdefs.h. */
  6382. int
  6383. main ()
  6384. {
  6385. ;
  6386. return 0;
  6387. }
  6388. _ACEOF
  6389. if ac_fn_c_try_link "$LINENO"; then :
  6390. lt_cv_ld_exported_symbols_list=yes
  6391. else
  6392. lt_cv_ld_exported_symbols_list=no
  6393. fi
  6394. rm -f core conftest.err conftest.$ac_objext \
  6395. conftest$ac_exeext conftest.$ac_ext
  6396. LDFLAGS="$save_LDFLAGS"
  6397. fi
  6398. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
  6399. $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
  6400. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
  6401. $as_echo_n "checking for -force_load linker flag... " >&6; }
  6402. if ${lt_cv_ld_force_load+:} false; then :
  6403. $as_echo_n "(cached) " >&6
  6404. else
  6405. lt_cv_ld_force_load=no
  6406. cat > conftest.c << _LT_EOF
  6407. int forced_loaded() { return 2;}
  6408. _LT_EOF
  6409. echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
  6410. $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
  6411. echo "$AR cru libconftest.a conftest.o" >&5
  6412. $AR cru libconftest.a conftest.o 2>&5
  6413. echo "$RANLIB libconftest.a" >&5
  6414. $RANLIB libconftest.a 2>&5
  6415. cat > conftest.c << _LT_EOF
  6416. int main() { return 0;}
  6417. _LT_EOF
  6418. echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
  6419. $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
  6420. _lt_result=$?
  6421. if test -s conftest.err && $GREP force_load conftest.err; then
  6422. cat conftest.err >&5
  6423. elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
  6424. lt_cv_ld_force_load=yes
  6425. else
  6426. cat conftest.err >&5
  6427. fi
  6428. rm -f conftest.err libconftest.a conftest conftest.c
  6429. rm -rf conftest.dSYM
  6430. fi
  6431. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
  6432. $as_echo "$lt_cv_ld_force_load" >&6; }
  6433. case $host_os in
  6434. rhapsody* | darwin1.[012])
  6435. _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
  6436. darwin1.*)
  6437. _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
  6438. darwin*) # darwin 5.x on
  6439. # if running on 10.5 or later, the deployment target defaults
  6440. # to the OS version, if on x86, and 10.4, the deployment
  6441. # target defaults to 10.4. Don't you love it?
  6442. case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
  6443. 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
  6444. _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
  6445. 10.[012]*)
  6446. _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
  6447. 10.*)
  6448. _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
  6449. esac
  6450. ;;
  6451. esac
  6452. if test "$lt_cv_apple_cc_single_mod" = "yes"; then
  6453. _lt_dar_single_mod='$single_module'
  6454. fi
  6455. if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
  6456. _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
  6457. else
  6458. _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
  6459. fi
  6460. if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
  6461. _lt_dsymutil='~$DSYMUTIL $lib || :'
  6462. else
  6463. _lt_dsymutil=
  6464. fi
  6465. ;;
  6466. esac
  6467. ac_ext=c
  6468. ac_cpp='$CPP $CPPFLAGS'
  6469. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  6470. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  6471. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  6472. { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
  6473. $as_echo_n "checking how to run the C preprocessor... " >&6; }
  6474. # On Suns, sometimes $CPP names a directory.
  6475. if test -n "$CPP" && test -d "$CPP"; then
  6476. CPP=
  6477. fi
  6478. if test -z "$CPP"; then
  6479. if ${ac_cv_prog_CPP+:} false; then :
  6480. $as_echo_n "(cached) " >&6
  6481. else
  6482. # Double quotes because CPP needs to be expanded
  6483. for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
  6484. do
  6485. ac_preproc_ok=false
  6486. for ac_c_preproc_warn_flag in '' yes
  6487. do
  6488. # Use a header file that comes with gcc, so configuring glibc
  6489. # with a fresh cross-compiler works.
  6490. # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  6491. # <limits.h> exists even on freestanding compilers.
  6492. # On the NeXT, cc -E runs the code through the compiler's parser,
  6493. # not just through cpp. "Syntax error" is here to catch this case.
  6494. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6495. /* end confdefs.h. */
  6496. #ifdef __STDC__
  6497. # include <limits.h>
  6498. #else
  6499. # include <assert.h>
  6500. #endif
  6501. Syntax error
  6502. _ACEOF
  6503. if ac_fn_c_try_cpp "$LINENO"; then :
  6504. else
  6505. # Broken: fails on valid input.
  6506. continue
  6507. fi
  6508. rm -f conftest.err conftest.i conftest.$ac_ext
  6509. # OK, works on sane cases. Now check whether nonexistent headers
  6510. # can be detected and how.
  6511. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6512. /* end confdefs.h. */
  6513. #include <ac_nonexistent.h>
  6514. _ACEOF
  6515. if ac_fn_c_try_cpp "$LINENO"; then :
  6516. # Broken: success on invalid input.
  6517. continue
  6518. else
  6519. # Passes both tests.
  6520. ac_preproc_ok=:
  6521. break
  6522. fi
  6523. rm -f conftest.err conftest.i conftest.$ac_ext
  6524. done
  6525. # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  6526. rm -f conftest.i conftest.err conftest.$ac_ext
  6527. if $ac_preproc_ok; then :
  6528. break
  6529. fi
  6530. done
  6531. ac_cv_prog_CPP=$CPP
  6532. fi
  6533. CPP=$ac_cv_prog_CPP
  6534. else
  6535. ac_cv_prog_CPP=$CPP
  6536. fi
  6537. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
  6538. $as_echo "$CPP" >&6; }
  6539. ac_preproc_ok=false
  6540. for ac_c_preproc_warn_flag in '' yes
  6541. do
  6542. # Use a header file that comes with gcc, so configuring glibc
  6543. # with a fresh cross-compiler works.
  6544. # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  6545. # <limits.h> exists even on freestanding compilers.
  6546. # On the NeXT, cc -E runs the code through the compiler's parser,
  6547. # not just through cpp. "Syntax error" is here to catch this case.
  6548. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6549. /* end confdefs.h. */
  6550. #ifdef __STDC__
  6551. # include <limits.h>
  6552. #else
  6553. # include <assert.h>
  6554. #endif
  6555. Syntax error
  6556. _ACEOF
  6557. if ac_fn_c_try_cpp "$LINENO"; then :
  6558. else
  6559. # Broken: fails on valid input.
  6560. continue
  6561. fi
  6562. rm -f conftest.err conftest.i conftest.$ac_ext
  6563. # OK, works on sane cases. Now check whether nonexistent headers
  6564. # can be detected and how.
  6565. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6566. /* end confdefs.h. */
  6567. #include <ac_nonexistent.h>
  6568. _ACEOF
  6569. if ac_fn_c_try_cpp "$LINENO"; then :
  6570. # Broken: success on invalid input.
  6571. continue
  6572. else
  6573. # Passes both tests.
  6574. ac_preproc_ok=:
  6575. break
  6576. fi
  6577. rm -f conftest.err conftest.i conftest.$ac_ext
  6578. done
  6579. # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  6580. rm -f conftest.i conftest.err conftest.$ac_ext
  6581. if $ac_preproc_ok; then :
  6582. else
  6583. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  6584. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  6585. as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
  6586. See \`config.log' for more details" "$LINENO" 5; }
  6587. fi
  6588. ac_ext=c
  6589. ac_cpp='$CPP $CPPFLAGS'
  6590. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  6591. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  6592. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  6593. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
  6594. $as_echo_n "checking for ANSI C header files... " >&6; }
  6595. if ${ac_cv_header_stdc+:} false; then :
  6596. $as_echo_n "(cached) " >&6
  6597. else
  6598. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6599. /* end confdefs.h. */
  6600. #include <stdlib.h>
  6601. #include <stdarg.h>
  6602. #include <string.h>
  6603. #include <float.h>
  6604. int
  6605. main ()
  6606. {
  6607. ;
  6608. return 0;
  6609. }
  6610. _ACEOF
  6611. if ac_fn_c_try_compile "$LINENO"; then :
  6612. ac_cv_header_stdc=yes
  6613. else
  6614. ac_cv_header_stdc=no
  6615. fi
  6616. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6617. if test $ac_cv_header_stdc = yes; then
  6618. # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  6619. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6620. /* end confdefs.h. */
  6621. #include <string.h>
  6622. _ACEOF
  6623. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  6624. $EGREP "memchr" >/dev/null 2>&1; then :
  6625. else
  6626. ac_cv_header_stdc=no
  6627. fi
  6628. rm -f conftest*
  6629. fi
  6630. if test $ac_cv_header_stdc = yes; then
  6631. # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  6632. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6633. /* end confdefs.h. */
  6634. #include <stdlib.h>
  6635. _ACEOF
  6636. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  6637. $EGREP "free" >/dev/null 2>&1; then :
  6638. else
  6639. ac_cv_header_stdc=no
  6640. fi
  6641. rm -f conftest*
  6642. fi
  6643. if test $ac_cv_header_stdc = yes; then
  6644. # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  6645. if test "$cross_compiling" = yes; then :
  6646. :
  6647. else
  6648. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6649. /* end confdefs.h. */
  6650. #include <ctype.h>
  6651. #include <stdlib.h>
  6652. #if ((' ' & 0x0FF) == 0x020)
  6653. # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  6654. # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  6655. #else
  6656. # define ISLOWER(c) \
  6657. (('a' <= (c) && (c) <= 'i') \
  6658. || ('j' <= (c) && (c) <= 'r') \
  6659. || ('s' <= (c) && (c) <= 'z'))
  6660. # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
  6661. #endif
  6662. #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  6663. int
  6664. main ()
  6665. {
  6666. int i;
  6667. for (i = 0; i < 256; i++)
  6668. if (XOR (islower (i), ISLOWER (i))
  6669. || toupper (i) != TOUPPER (i))
  6670. return 2;
  6671. return 0;
  6672. }
  6673. _ACEOF
  6674. if ac_fn_c_try_run "$LINENO"; then :
  6675. else
  6676. ac_cv_header_stdc=no
  6677. fi
  6678. rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  6679. conftest.$ac_objext conftest.beam conftest.$ac_ext
  6680. fi
  6681. fi
  6682. fi
  6683. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
  6684. $as_echo "$ac_cv_header_stdc" >&6; }
  6685. if test $ac_cv_header_stdc = yes; then
  6686. $as_echo "#define STDC_HEADERS 1" >>confdefs.h
  6687. fi
  6688. # On IRIX 5.3, sys/types and inttypes.h are conflicting.
  6689. for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
  6690. inttypes.h stdint.h unistd.h
  6691. do :
  6692. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  6693. ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
  6694. "
  6695. if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
  6696. cat >>confdefs.h <<_ACEOF
  6697. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  6698. _ACEOF
  6699. fi
  6700. done
  6701. for ac_header in dlfcn.h
  6702. do :
  6703. ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
  6704. "
  6705. if test "x$ac_cv_header_dlfcn_h" = xyes; then :
  6706. cat >>confdefs.h <<_ACEOF
  6707. #define HAVE_DLFCN_H 1
  6708. _ACEOF
  6709. fi
  6710. done
  6711. # Set options
  6712. enable_win32_dll=yes
  6713. case $host in
  6714. *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
  6715. if test -n "$ac_tool_prefix"; then
  6716. # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
  6717. set dummy ${ac_tool_prefix}as; ac_word=$2
  6718. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6719. $as_echo_n "checking for $ac_word... " >&6; }
  6720. if ${ac_cv_prog_AS+:} false; then :
  6721. $as_echo_n "(cached) " >&6
  6722. else
  6723. if test -n "$AS"; then
  6724. ac_cv_prog_AS="$AS" # Let the user override the test.
  6725. else
  6726. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6727. for as_dir in $PATH
  6728. do
  6729. IFS=$as_save_IFS
  6730. test -z "$as_dir" && as_dir=.
  6731. for ac_exec_ext in '' $ac_executable_extensions; do
  6732. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6733. ac_cv_prog_AS="${ac_tool_prefix}as"
  6734. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6735. break 2
  6736. fi
  6737. done
  6738. done
  6739. IFS=$as_save_IFS
  6740. fi
  6741. fi
  6742. AS=$ac_cv_prog_AS
  6743. if test -n "$AS"; then
  6744. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
  6745. $as_echo "$AS" >&6; }
  6746. else
  6747. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6748. $as_echo "no" >&6; }
  6749. fi
  6750. fi
  6751. if test -z "$ac_cv_prog_AS"; then
  6752. ac_ct_AS=$AS
  6753. # Extract the first word of "as", so it can be a program name with args.
  6754. set dummy as; ac_word=$2
  6755. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6756. $as_echo_n "checking for $ac_word... " >&6; }
  6757. if ${ac_cv_prog_ac_ct_AS+:} false; then :
  6758. $as_echo_n "(cached) " >&6
  6759. else
  6760. if test -n "$ac_ct_AS"; then
  6761. ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
  6762. else
  6763. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6764. for as_dir in $PATH
  6765. do
  6766. IFS=$as_save_IFS
  6767. test -z "$as_dir" && as_dir=.
  6768. for ac_exec_ext in '' $ac_executable_extensions; do
  6769. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6770. ac_cv_prog_ac_ct_AS="as"
  6771. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6772. break 2
  6773. fi
  6774. done
  6775. done
  6776. IFS=$as_save_IFS
  6777. fi
  6778. fi
  6779. ac_ct_AS=$ac_cv_prog_ac_ct_AS
  6780. if test -n "$ac_ct_AS"; then
  6781. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
  6782. $as_echo "$ac_ct_AS" >&6; }
  6783. else
  6784. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6785. $as_echo "no" >&6; }
  6786. fi
  6787. if test "x$ac_ct_AS" = x; then
  6788. AS="false"
  6789. else
  6790. case $cross_compiling:$ac_tool_warned in
  6791. yes:)
  6792. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  6793. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  6794. ac_tool_warned=yes ;;
  6795. esac
  6796. AS=$ac_ct_AS
  6797. fi
  6798. else
  6799. AS="$ac_cv_prog_AS"
  6800. fi
  6801. if test -n "$ac_tool_prefix"; then
  6802. # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
  6803. set dummy ${ac_tool_prefix}dlltool; ac_word=$2
  6804. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6805. $as_echo_n "checking for $ac_word... " >&6; }
  6806. if ${ac_cv_prog_DLLTOOL+:} false; then :
  6807. $as_echo_n "(cached) " >&6
  6808. else
  6809. if test -n "$DLLTOOL"; then
  6810. ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
  6811. else
  6812. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6813. for as_dir in $PATH
  6814. do
  6815. IFS=$as_save_IFS
  6816. test -z "$as_dir" && as_dir=.
  6817. for ac_exec_ext in '' $ac_executable_extensions; do
  6818. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6819. ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
  6820. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6821. break 2
  6822. fi
  6823. done
  6824. done
  6825. IFS=$as_save_IFS
  6826. fi
  6827. fi
  6828. DLLTOOL=$ac_cv_prog_DLLTOOL
  6829. if test -n "$DLLTOOL"; then
  6830. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
  6831. $as_echo "$DLLTOOL" >&6; }
  6832. else
  6833. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6834. $as_echo "no" >&6; }
  6835. fi
  6836. fi
  6837. if test -z "$ac_cv_prog_DLLTOOL"; then
  6838. ac_ct_DLLTOOL=$DLLTOOL
  6839. # Extract the first word of "dlltool", so it can be a program name with args.
  6840. set dummy dlltool; ac_word=$2
  6841. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6842. $as_echo_n "checking for $ac_word... " >&6; }
  6843. if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
  6844. $as_echo_n "(cached) " >&6
  6845. else
  6846. if test -n "$ac_ct_DLLTOOL"; then
  6847. ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
  6848. else
  6849. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6850. for as_dir in $PATH
  6851. do
  6852. IFS=$as_save_IFS
  6853. test -z "$as_dir" && as_dir=.
  6854. for ac_exec_ext in '' $ac_executable_extensions; do
  6855. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6856. ac_cv_prog_ac_ct_DLLTOOL="dlltool"
  6857. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6858. break 2
  6859. fi
  6860. done
  6861. done
  6862. IFS=$as_save_IFS
  6863. fi
  6864. fi
  6865. ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
  6866. if test -n "$ac_ct_DLLTOOL"; then
  6867. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
  6868. $as_echo "$ac_ct_DLLTOOL" >&6; }
  6869. else
  6870. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6871. $as_echo "no" >&6; }
  6872. fi
  6873. if test "x$ac_ct_DLLTOOL" = x; then
  6874. DLLTOOL="false"
  6875. else
  6876. case $cross_compiling:$ac_tool_warned in
  6877. yes:)
  6878. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  6879. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  6880. ac_tool_warned=yes ;;
  6881. esac
  6882. DLLTOOL=$ac_ct_DLLTOOL
  6883. fi
  6884. else
  6885. DLLTOOL="$ac_cv_prog_DLLTOOL"
  6886. fi
  6887. if test -n "$ac_tool_prefix"; then
  6888. # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
  6889. set dummy ${ac_tool_prefix}objdump; ac_word=$2
  6890. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6891. $as_echo_n "checking for $ac_word... " >&6; }
  6892. if ${ac_cv_prog_OBJDUMP+:} false; then :
  6893. $as_echo_n "(cached) " >&6
  6894. else
  6895. if test -n "$OBJDUMP"; then
  6896. ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
  6897. else
  6898. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6899. for as_dir in $PATH
  6900. do
  6901. IFS=$as_save_IFS
  6902. test -z "$as_dir" && as_dir=.
  6903. for ac_exec_ext in '' $ac_executable_extensions; do
  6904. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6905. ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
  6906. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6907. break 2
  6908. fi
  6909. done
  6910. done
  6911. IFS=$as_save_IFS
  6912. fi
  6913. fi
  6914. OBJDUMP=$ac_cv_prog_OBJDUMP
  6915. if test -n "$OBJDUMP"; then
  6916. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
  6917. $as_echo "$OBJDUMP" >&6; }
  6918. else
  6919. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6920. $as_echo "no" >&6; }
  6921. fi
  6922. fi
  6923. if test -z "$ac_cv_prog_OBJDUMP"; then
  6924. ac_ct_OBJDUMP=$OBJDUMP
  6925. # Extract the first word of "objdump", so it can be a program name with args.
  6926. set dummy objdump; ac_word=$2
  6927. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6928. $as_echo_n "checking for $ac_word... " >&6; }
  6929. if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
  6930. $as_echo_n "(cached) " >&6
  6931. else
  6932. if test -n "$ac_ct_OBJDUMP"; then
  6933. ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
  6934. else
  6935. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6936. for as_dir in $PATH
  6937. do
  6938. IFS=$as_save_IFS
  6939. test -z "$as_dir" && as_dir=.
  6940. for ac_exec_ext in '' $ac_executable_extensions; do
  6941. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6942. ac_cv_prog_ac_ct_OBJDUMP="objdump"
  6943. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6944. break 2
  6945. fi
  6946. done
  6947. done
  6948. IFS=$as_save_IFS
  6949. fi
  6950. fi
  6951. ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
  6952. if test -n "$ac_ct_OBJDUMP"; then
  6953. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
  6954. $as_echo "$ac_ct_OBJDUMP" >&6; }
  6955. else
  6956. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6957. $as_echo "no" >&6; }
  6958. fi
  6959. if test "x$ac_ct_OBJDUMP" = x; then
  6960. OBJDUMP="false"
  6961. else
  6962. case $cross_compiling:$ac_tool_warned in
  6963. yes:)
  6964. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  6965. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  6966. ac_tool_warned=yes ;;
  6967. esac
  6968. OBJDUMP=$ac_ct_OBJDUMP
  6969. fi
  6970. else
  6971. OBJDUMP="$ac_cv_prog_OBJDUMP"
  6972. fi
  6973. ;;
  6974. esac
  6975. test -z "$AS" && AS=as
  6976. test -z "$DLLTOOL" && DLLTOOL=dlltool
  6977. test -z "$OBJDUMP" && OBJDUMP=objdump
  6978. enable_dlopen=no
  6979. # Check whether --enable-shared was given.
  6980. if test "${enable_shared+set}" = set; then :
  6981. enableval=$enable_shared; p=${PACKAGE-default}
  6982. case $enableval in
  6983. yes) enable_shared=yes ;;
  6984. no) enable_shared=no ;;
  6985. *)
  6986. enable_shared=no
  6987. # Look at the argument we got. We use all the common list separators.
  6988. lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  6989. for pkg in $enableval; do
  6990. IFS="$lt_save_ifs"
  6991. if test "X$pkg" = "X$p"; then
  6992. enable_shared=yes
  6993. fi
  6994. done
  6995. IFS="$lt_save_ifs"
  6996. ;;
  6997. esac
  6998. else
  6999. enable_shared=yes
  7000. fi
  7001. # Check whether --enable-static was given.
  7002. if test "${enable_static+set}" = set; then :
  7003. enableval=$enable_static; p=${PACKAGE-default}
  7004. case $enableval in
  7005. yes) enable_static=yes ;;
  7006. no) enable_static=no ;;
  7007. *)
  7008. enable_static=no
  7009. # Look at the argument we got. We use all the common list separators.
  7010. lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  7011. for pkg in $enableval; do
  7012. IFS="$lt_save_ifs"
  7013. if test "X$pkg" = "X$p"; then
  7014. enable_static=yes
  7015. fi
  7016. done
  7017. IFS="$lt_save_ifs"
  7018. ;;
  7019. esac
  7020. else
  7021. enable_static=yes
  7022. fi
  7023. # Check whether --with-pic was given.
  7024. if test "${with_pic+set}" = set; then :
  7025. withval=$with_pic; lt_p=${PACKAGE-default}
  7026. case $withval in
  7027. yes|no) pic_mode=$withval ;;
  7028. *)
  7029. pic_mode=default
  7030. # Look at the argument we got. We use all the common list separators.
  7031. lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  7032. for lt_pkg in $withval; do
  7033. IFS="$lt_save_ifs"
  7034. if test "X$lt_pkg" = "X$lt_p"; then
  7035. pic_mode=yes
  7036. fi
  7037. done
  7038. IFS="$lt_save_ifs"
  7039. ;;
  7040. esac
  7041. else
  7042. pic_mode=default
  7043. fi
  7044. test -z "$pic_mode" && pic_mode=default
  7045. # Check whether --enable-fast-install was given.
  7046. if test "${enable_fast_install+set}" = set; then :
  7047. enableval=$enable_fast_install; p=${PACKAGE-default}
  7048. case $enableval in
  7049. yes) enable_fast_install=yes ;;
  7050. no) enable_fast_install=no ;;
  7051. *)
  7052. enable_fast_install=no
  7053. # Look at the argument we got. We use all the common list separators.
  7054. lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  7055. for pkg in $enableval; do
  7056. IFS="$lt_save_ifs"
  7057. if test "X$pkg" = "X$p"; then
  7058. enable_fast_install=yes
  7059. fi
  7060. done
  7061. IFS="$lt_save_ifs"
  7062. ;;
  7063. esac
  7064. else
  7065. enable_fast_install=yes
  7066. fi
  7067. # This can be used to rebuild libtool when needed
  7068. LIBTOOL_DEPS="$ltmain"
  7069. # Always use our own libtool.
  7070. LIBTOOL='$(SHELL) $(top_builddir)/libtool'
  7071. test -z "$LN_S" && LN_S="ln -s"
  7072. if test -n "${ZSH_VERSION+set}" ; then
  7073. setopt NO_GLOB_SUBST
  7074. fi
  7075. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
  7076. $as_echo_n "checking for objdir... " >&6; }
  7077. if ${lt_cv_objdir+:} false; then :
  7078. $as_echo_n "(cached) " >&6
  7079. else
  7080. rm -f .libs 2>/dev/null
  7081. mkdir .libs 2>/dev/null
  7082. if test -d .libs; then
  7083. lt_cv_objdir=.libs
  7084. else
  7085. # MS-DOS does not allow filenames that begin with a dot.
  7086. lt_cv_objdir=_libs
  7087. fi
  7088. rmdir .libs 2>/dev/null
  7089. fi
  7090. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
  7091. $as_echo "$lt_cv_objdir" >&6; }
  7092. objdir=$lt_cv_objdir
  7093. cat >>confdefs.h <<_ACEOF
  7094. #define LT_OBJDIR "$lt_cv_objdir/"
  7095. _ACEOF
  7096. case $host_os in
  7097. aix3*)
  7098. # AIX sometimes has problems with the GCC collect2 program. For some
  7099. # reason, if we set the COLLECT_NAMES environment variable, the problems
  7100. # vanish in a puff of smoke.
  7101. if test "X${COLLECT_NAMES+set}" != Xset; then
  7102. COLLECT_NAMES=
  7103. export COLLECT_NAMES
  7104. fi
  7105. ;;
  7106. esac
  7107. # Global variables:
  7108. ofile=libtool
  7109. can_build_shared=yes
  7110. # All known linkers require a `.a' archive for static linking (except MSVC,
  7111. # which needs '.lib').
  7112. libext=a
  7113. with_gnu_ld="$lt_cv_prog_gnu_ld"
  7114. old_CC="$CC"
  7115. old_CFLAGS="$CFLAGS"
  7116. # Set sane defaults for various variables
  7117. test -z "$CC" && CC=cc
  7118. test -z "$LTCC" && LTCC=$CC
  7119. test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
  7120. test -z "$LD" && LD=ld
  7121. test -z "$ac_objext" && ac_objext=o
  7122. for cc_temp in $compiler""; do
  7123. case $cc_temp in
  7124. compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
  7125. distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
  7126. \-*) ;;
  7127. *) break;;
  7128. esac
  7129. done
  7130. cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
  7131. # Only perform the check for file, if the check method requires it
  7132. test -z "$MAGIC_CMD" && MAGIC_CMD=file
  7133. case $deplibs_check_method in
  7134. file_magic*)
  7135. if test "$file_magic_cmd" = '$MAGIC_CMD'; then
  7136. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
  7137. $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
  7138. if ${lt_cv_path_MAGIC_CMD+:} false; then :
  7139. $as_echo_n "(cached) " >&6
  7140. else
  7141. case $MAGIC_CMD in
  7142. [\\/*] | ?:[\\/]*)
  7143. lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
  7144. ;;
  7145. *)
  7146. lt_save_MAGIC_CMD="$MAGIC_CMD"
  7147. lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  7148. ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
  7149. for ac_dir in $ac_dummy; do
  7150. IFS="$lt_save_ifs"
  7151. test -z "$ac_dir" && ac_dir=.
  7152. if test -f $ac_dir/${ac_tool_prefix}file; then
  7153. lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
  7154. if test -n "$file_magic_test_file"; then
  7155. case $deplibs_check_method in
  7156. "file_magic "*)
  7157. file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
  7158. MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  7159. if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
  7160. $EGREP "$file_magic_regex" > /dev/null; then
  7161. :
  7162. else
  7163. cat <<_LT_EOF 1>&2
  7164. *** Warning: the command libtool uses to detect shared libraries,
  7165. *** $file_magic_cmd, produces output that libtool cannot recognize.
  7166. *** The result is that libtool may fail to recognize shared libraries
  7167. *** as such. This will affect the creation of libtool libraries that
  7168. *** depend on shared libraries, but programs linked with such libtool
  7169. *** libraries will work regardless of this problem. Nevertheless, you
  7170. *** may want to report the problem to your system manager and/or to
  7171. *** bug-libtool@gnu.org
  7172. _LT_EOF
  7173. fi ;;
  7174. esac
  7175. fi
  7176. break
  7177. fi
  7178. done
  7179. IFS="$lt_save_ifs"
  7180. MAGIC_CMD="$lt_save_MAGIC_CMD"
  7181. ;;
  7182. esac
  7183. fi
  7184. MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  7185. if test -n "$MAGIC_CMD"; then
  7186. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
  7187. $as_echo "$MAGIC_CMD" >&6; }
  7188. else
  7189. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7190. $as_echo "no" >&6; }
  7191. fi
  7192. if test -z "$lt_cv_path_MAGIC_CMD"; then
  7193. if test -n "$ac_tool_prefix"; then
  7194. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
  7195. $as_echo_n "checking for file... " >&6; }
  7196. if ${lt_cv_path_MAGIC_CMD+:} false; then :
  7197. $as_echo_n "(cached) " >&6
  7198. else
  7199. case $MAGIC_CMD in
  7200. [\\/*] | ?:[\\/]*)
  7201. lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
  7202. ;;
  7203. *)
  7204. lt_save_MAGIC_CMD="$MAGIC_CMD"
  7205. lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  7206. ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
  7207. for ac_dir in $ac_dummy; do
  7208. IFS="$lt_save_ifs"
  7209. test -z "$ac_dir" && ac_dir=.
  7210. if test -f $ac_dir/file; then
  7211. lt_cv_path_MAGIC_CMD="$ac_dir/file"
  7212. if test -n "$file_magic_test_file"; then
  7213. case $deplibs_check_method in
  7214. "file_magic "*)
  7215. file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
  7216. MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  7217. if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
  7218. $EGREP "$file_magic_regex" > /dev/null; then
  7219. :
  7220. else
  7221. cat <<_LT_EOF 1>&2
  7222. *** Warning: the command libtool uses to detect shared libraries,
  7223. *** $file_magic_cmd, produces output that libtool cannot recognize.
  7224. *** The result is that libtool may fail to recognize shared libraries
  7225. *** as such. This will affect the creation of libtool libraries that
  7226. *** depend on shared libraries, but programs linked with such libtool
  7227. *** libraries will work regardless of this problem. Nevertheless, you
  7228. *** may want to report the problem to your system manager and/or to
  7229. *** bug-libtool@gnu.org
  7230. _LT_EOF
  7231. fi ;;
  7232. esac
  7233. fi
  7234. break
  7235. fi
  7236. done
  7237. IFS="$lt_save_ifs"
  7238. MAGIC_CMD="$lt_save_MAGIC_CMD"
  7239. ;;
  7240. esac
  7241. fi
  7242. MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  7243. if test -n "$MAGIC_CMD"; then
  7244. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
  7245. $as_echo "$MAGIC_CMD" >&6; }
  7246. else
  7247. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7248. $as_echo "no" >&6; }
  7249. fi
  7250. else
  7251. MAGIC_CMD=:
  7252. fi
  7253. fi
  7254. fi
  7255. ;;
  7256. esac
  7257. # Use C for the default configuration in the libtool script
  7258. lt_save_CC="$CC"
  7259. ac_ext=c
  7260. ac_cpp='$CPP $CPPFLAGS'
  7261. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  7262. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  7263. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  7264. # Source file extension for C test sources.
  7265. ac_ext=c
  7266. # Object file extension for compiled C test sources.
  7267. objext=o
  7268. objext=$objext
  7269. # Code to be used in simple compile tests
  7270. lt_simple_compile_test_code="int some_variable = 0;"
  7271. # Code to be used in simple link tests
  7272. lt_simple_link_test_code='int main(){return(0);}'
  7273. # If no C compiler was specified, use CC.
  7274. LTCC=${LTCC-"$CC"}
  7275. # If no C compiler flags were specified, use CFLAGS.
  7276. LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
  7277. # Allow CC to be a program name with arguments.
  7278. compiler=$CC
  7279. # Save the default compiler, since it gets overwritten when the other
  7280. # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
  7281. compiler_DEFAULT=$CC
  7282. # save warnings/boilerplate of simple test code
  7283. ac_outfile=conftest.$ac_objext
  7284. echo "$lt_simple_compile_test_code" >conftest.$ac_ext
  7285. eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  7286. _lt_compiler_boilerplate=`cat conftest.err`
  7287. $RM conftest*
  7288. ac_outfile=conftest.$ac_objext
  7289. echo "$lt_simple_link_test_code" >conftest.$ac_ext
  7290. eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  7291. _lt_linker_boilerplate=`cat conftest.err`
  7292. $RM -r conftest*
  7293. ## CAVEAT EMPTOR:
  7294. ## There is no encapsulation within the following macros, do not change
  7295. ## the running order or otherwise move them around unless you know exactly
  7296. ## what you are doing...
  7297. if test -n "$compiler"; then
  7298. lt_prog_compiler_no_builtin_flag=
  7299. if test "$GCC" = yes; then
  7300. case $cc_basename in
  7301. nvcc*)
  7302. lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
  7303. *)
  7304. lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
  7305. esac
  7306. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
  7307. $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
  7308. if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
  7309. $as_echo_n "(cached) " >&6
  7310. else
  7311. lt_cv_prog_compiler_rtti_exceptions=no
  7312. ac_outfile=conftest.$ac_objext
  7313. echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  7314. lt_compiler_flag="-fno-rtti -fno-exceptions"
  7315. # Insert the option either (1) after the last *FLAGS variable, or
  7316. # (2) before a word containing "conftest.", or (3) at the end.
  7317. # Note that $ac_compile itself does not contain backslashes and begins
  7318. # with a dollar sign (not a hyphen), so the echo should work correctly.
  7319. # The option is referenced via a variable to avoid confusing sed.
  7320. lt_compile=`echo "$ac_compile" | $SED \
  7321. -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  7322. -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  7323. -e 's:$: $lt_compiler_flag:'`
  7324. (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  7325. (eval "$lt_compile" 2>conftest.err)
  7326. ac_status=$?
  7327. cat conftest.err >&5
  7328. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7329. if (exit $ac_status) && test -s "$ac_outfile"; then
  7330. # The compiler can only warn and ignore the option if not recognized
  7331. # So say no if there are warnings other than the usual output.
  7332. $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
  7333. $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  7334. if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  7335. lt_cv_prog_compiler_rtti_exceptions=yes
  7336. fi
  7337. fi
  7338. $RM conftest*
  7339. fi
  7340. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
  7341. $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
  7342. if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
  7343. lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
  7344. else
  7345. :
  7346. fi
  7347. fi
  7348. lt_prog_compiler_wl=
  7349. lt_prog_compiler_pic=
  7350. lt_prog_compiler_static=
  7351. if test "$GCC" = yes; then
  7352. lt_prog_compiler_wl='-Wl,'
  7353. lt_prog_compiler_static='-static'
  7354. case $host_os in
  7355. aix*)
  7356. # All AIX code is PIC.
  7357. if test "$host_cpu" = ia64; then
  7358. # AIX 5 now supports IA64 processor
  7359. lt_prog_compiler_static='-Bstatic'
  7360. fi
  7361. ;;
  7362. amigaos*)
  7363. case $host_cpu in
  7364. powerpc)
  7365. # see comment about AmigaOS4 .so support
  7366. lt_prog_compiler_pic='-fPIC'
  7367. ;;
  7368. m68k)
  7369. # FIXME: we need at least 68020 code to build shared libraries, but
  7370. # adding the `-m68020' flag to GCC prevents building anything better,
  7371. # like `-m68040'.
  7372. lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
  7373. ;;
  7374. esac
  7375. ;;
  7376. beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
  7377. # PIC is the default for these OSes.
  7378. ;;
  7379. mingw* | cygwin* | pw32* | os2* | cegcc*)
  7380. # This hack is so that the source file can tell whether it is being
  7381. # built for inclusion in a dll (and should export symbols for example).
  7382. # Although the cygwin gcc ignores -fPIC, still need this for old-style
  7383. # (--disable-auto-import) libraries
  7384. lt_prog_compiler_pic='-DDLL_EXPORT'
  7385. ;;
  7386. darwin* | rhapsody*)
  7387. # PIC is the default on this platform
  7388. # Common symbols not allowed in MH_DYLIB files
  7389. lt_prog_compiler_pic='-fno-common'
  7390. ;;
  7391. haiku*)
  7392. # PIC is the default for Haiku.
  7393. # The "-static" flag exists, but is broken.
  7394. lt_prog_compiler_static=
  7395. ;;
  7396. hpux*)
  7397. # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
  7398. # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
  7399. # sets the default TLS model and affects inlining.
  7400. case $host_cpu in
  7401. hppa*64*)
  7402. # +Z the default
  7403. ;;
  7404. *)
  7405. lt_prog_compiler_pic='-fPIC'
  7406. ;;
  7407. esac
  7408. ;;
  7409. interix[3-9]*)
  7410. # Interix 3.x gcc -fpic/-fPIC options generate broken code.
  7411. # Instead, we relocate shared libraries at runtime.
  7412. ;;
  7413. msdosdjgpp*)
  7414. # Just because we use GCC doesn't mean we suddenly get shared libraries
  7415. # on systems that don't support them.
  7416. lt_prog_compiler_can_build_shared=no
  7417. enable_shared=no
  7418. ;;
  7419. *nto* | *qnx*)
  7420. # QNX uses GNU C++, but need to define -shared option too, otherwise
  7421. # it will coredump.
  7422. lt_prog_compiler_pic='-fPIC -shared'
  7423. ;;
  7424. sysv4*MP*)
  7425. if test -d /usr/nec; then
  7426. lt_prog_compiler_pic=-Kconform_pic
  7427. fi
  7428. ;;
  7429. *)
  7430. lt_prog_compiler_pic='-fPIC'
  7431. ;;
  7432. esac
  7433. case $cc_basename in
  7434. nvcc*) # Cuda Compiler Driver 2.2
  7435. lt_prog_compiler_wl='-Xlinker '
  7436. if test -n "$lt_prog_compiler_pic"; then
  7437. lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
  7438. fi
  7439. ;;
  7440. esac
  7441. else
  7442. # PORTME Check for flag to pass linker flags through the system compiler.
  7443. case $host_os in
  7444. aix*)
  7445. lt_prog_compiler_wl='-Wl,'
  7446. if test "$host_cpu" = ia64; then
  7447. # AIX 5 now supports IA64 processor
  7448. lt_prog_compiler_static='-Bstatic'
  7449. else
  7450. lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
  7451. fi
  7452. ;;
  7453. mingw* | cygwin* | pw32* | os2* | cegcc*)
  7454. # This hack is so that the source file can tell whether it is being
  7455. # built for inclusion in a dll (and should export symbols for example).
  7456. lt_prog_compiler_pic='-DDLL_EXPORT'
  7457. ;;
  7458. hpux9* | hpux10* | hpux11*)
  7459. lt_prog_compiler_wl='-Wl,'
  7460. # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
  7461. # not for PA HP-UX.
  7462. case $host_cpu in
  7463. hppa*64*|ia64*)
  7464. # +Z the default
  7465. ;;
  7466. *)
  7467. lt_prog_compiler_pic='+Z'
  7468. ;;
  7469. esac
  7470. # Is there a better lt_prog_compiler_static that works with the bundled CC?
  7471. lt_prog_compiler_static='${wl}-a ${wl}archive'
  7472. ;;
  7473. irix5* | irix6* | nonstopux*)
  7474. lt_prog_compiler_wl='-Wl,'
  7475. # PIC (with -KPIC) is the default.
  7476. lt_prog_compiler_static='-non_shared'
  7477. ;;
  7478. linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
  7479. case $cc_basename in
  7480. # old Intel for x86_64 which still supported -KPIC.
  7481. ecc*)
  7482. lt_prog_compiler_wl='-Wl,'
  7483. lt_prog_compiler_pic='-KPIC'
  7484. lt_prog_compiler_static='-static'
  7485. ;;
  7486. # icc used to be incompatible with GCC.
  7487. # ICC 10 doesn't accept -KPIC any more.
  7488. icc* | ifort*)
  7489. lt_prog_compiler_wl='-Wl,'
  7490. lt_prog_compiler_pic='-fPIC'
  7491. lt_prog_compiler_static='-static'
  7492. ;;
  7493. # Lahey Fortran 8.1.
  7494. lf95*)
  7495. lt_prog_compiler_wl='-Wl,'
  7496. lt_prog_compiler_pic='--shared'
  7497. lt_prog_compiler_static='--static'
  7498. ;;
  7499. nagfor*)
  7500. # NAG Fortran compiler
  7501. lt_prog_compiler_wl='-Wl,-Wl,,'
  7502. lt_prog_compiler_pic='-PIC'
  7503. lt_prog_compiler_static='-Bstatic'
  7504. ;;
  7505. pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
  7506. # Portland Group compilers (*not* the Pentium gcc compiler,
  7507. # which looks to be a dead project)
  7508. lt_prog_compiler_wl='-Wl,'
  7509. lt_prog_compiler_pic='-fpic'
  7510. lt_prog_compiler_static='-Bstatic'
  7511. ;;
  7512. ccc*)
  7513. lt_prog_compiler_wl='-Wl,'
  7514. # All Alpha code is PIC.
  7515. lt_prog_compiler_static='-non_shared'
  7516. ;;
  7517. xl* | bgxl* | bgf* | mpixl*)
  7518. # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
  7519. lt_prog_compiler_wl='-Wl,'
  7520. lt_prog_compiler_pic='-qpic'
  7521. lt_prog_compiler_static='-qstaticlink'
  7522. ;;
  7523. *)
  7524. case `$CC -V 2>&1 | sed 5q` in
  7525. *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
  7526. # Sun Fortran 8.3 passes all unrecognized flags to the linker
  7527. lt_prog_compiler_pic='-KPIC'
  7528. lt_prog_compiler_static='-Bstatic'
  7529. lt_prog_compiler_wl=''
  7530. ;;
  7531. *Sun\ F* | *Sun*Fortran*)
  7532. lt_prog_compiler_pic='-KPIC'
  7533. lt_prog_compiler_static='-Bstatic'
  7534. lt_prog_compiler_wl='-Qoption ld '
  7535. ;;
  7536. *Sun\ C*)
  7537. # Sun C 5.9
  7538. lt_prog_compiler_pic='-KPIC'
  7539. lt_prog_compiler_static='-Bstatic'
  7540. lt_prog_compiler_wl='-Wl,'
  7541. ;;
  7542. *Intel*\ [CF]*Compiler*)
  7543. lt_prog_compiler_wl='-Wl,'
  7544. lt_prog_compiler_pic='-fPIC'
  7545. lt_prog_compiler_static='-static'
  7546. ;;
  7547. *Portland\ Group*)
  7548. lt_prog_compiler_wl='-Wl,'
  7549. lt_prog_compiler_pic='-fpic'
  7550. lt_prog_compiler_static='-Bstatic'
  7551. ;;
  7552. esac
  7553. ;;
  7554. esac
  7555. ;;
  7556. newsos6)
  7557. lt_prog_compiler_pic='-KPIC'
  7558. lt_prog_compiler_static='-Bstatic'
  7559. ;;
  7560. *nto* | *qnx*)
  7561. # QNX uses GNU C++, but need to define -shared option too, otherwise
  7562. # it will coredump.
  7563. lt_prog_compiler_pic='-fPIC -shared'
  7564. ;;
  7565. osf3* | osf4* | osf5*)
  7566. lt_prog_compiler_wl='-Wl,'
  7567. # All OSF/1 code is PIC.
  7568. lt_prog_compiler_static='-non_shared'
  7569. ;;
  7570. rdos*)
  7571. lt_prog_compiler_static='-non_shared'
  7572. ;;
  7573. solaris*)
  7574. lt_prog_compiler_pic='-KPIC'
  7575. lt_prog_compiler_static='-Bstatic'
  7576. case $cc_basename in
  7577. f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
  7578. lt_prog_compiler_wl='-Qoption ld ';;
  7579. *)
  7580. lt_prog_compiler_wl='-Wl,';;
  7581. esac
  7582. ;;
  7583. sunos4*)
  7584. lt_prog_compiler_wl='-Qoption ld '
  7585. lt_prog_compiler_pic='-PIC'
  7586. lt_prog_compiler_static='-Bstatic'
  7587. ;;
  7588. sysv4 | sysv4.2uw2* | sysv4.3*)
  7589. lt_prog_compiler_wl='-Wl,'
  7590. lt_prog_compiler_pic='-KPIC'
  7591. lt_prog_compiler_static='-Bstatic'
  7592. ;;
  7593. sysv4*MP*)
  7594. if test -d /usr/nec ;then
  7595. lt_prog_compiler_pic='-Kconform_pic'
  7596. lt_prog_compiler_static='-Bstatic'
  7597. fi
  7598. ;;
  7599. sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
  7600. lt_prog_compiler_wl='-Wl,'
  7601. lt_prog_compiler_pic='-KPIC'
  7602. lt_prog_compiler_static='-Bstatic'
  7603. ;;
  7604. unicos*)
  7605. lt_prog_compiler_wl='-Wl,'
  7606. lt_prog_compiler_can_build_shared=no
  7607. ;;
  7608. uts4*)
  7609. lt_prog_compiler_pic='-pic'
  7610. lt_prog_compiler_static='-Bstatic'
  7611. ;;
  7612. *)
  7613. lt_prog_compiler_can_build_shared=no
  7614. ;;
  7615. esac
  7616. fi
  7617. case $host_os in
  7618. # For platforms which do not support PIC, -DPIC is meaningless:
  7619. *djgpp*)
  7620. lt_prog_compiler_pic=
  7621. ;;
  7622. *)
  7623. lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
  7624. ;;
  7625. esac
  7626. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
  7627. $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
  7628. if ${lt_cv_prog_compiler_pic+:} false; then :
  7629. $as_echo_n "(cached) " >&6
  7630. else
  7631. lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
  7632. fi
  7633. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
  7634. $as_echo "$lt_cv_prog_compiler_pic" >&6; }
  7635. lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
  7636. #
  7637. # Check to make sure the PIC flag actually works.
  7638. #
  7639. if test -n "$lt_prog_compiler_pic"; then
  7640. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
  7641. $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
  7642. if ${lt_cv_prog_compiler_pic_works+:} false; then :
  7643. $as_echo_n "(cached) " >&6
  7644. else
  7645. lt_cv_prog_compiler_pic_works=no
  7646. ac_outfile=conftest.$ac_objext
  7647. echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  7648. lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
  7649. # Insert the option either (1) after the last *FLAGS variable, or
  7650. # (2) before a word containing "conftest.", or (3) at the end.
  7651. # Note that $ac_compile itself does not contain backslashes and begins
  7652. # with a dollar sign (not a hyphen), so the echo should work correctly.
  7653. # The option is referenced via a variable to avoid confusing sed.
  7654. lt_compile=`echo "$ac_compile" | $SED \
  7655. -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  7656. -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  7657. -e 's:$: $lt_compiler_flag:'`
  7658. (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  7659. (eval "$lt_compile" 2>conftest.err)
  7660. ac_status=$?
  7661. cat conftest.err >&5
  7662. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7663. if (exit $ac_status) && test -s "$ac_outfile"; then
  7664. # The compiler can only warn and ignore the option if not recognized
  7665. # So say no if there are warnings other than the usual output.
  7666. $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
  7667. $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  7668. if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  7669. lt_cv_prog_compiler_pic_works=yes
  7670. fi
  7671. fi
  7672. $RM conftest*
  7673. fi
  7674. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
  7675. $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
  7676. if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
  7677. case $lt_prog_compiler_pic in
  7678. "" | " "*) ;;
  7679. *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
  7680. esac
  7681. else
  7682. lt_prog_compiler_pic=
  7683. lt_prog_compiler_can_build_shared=no
  7684. fi
  7685. fi
  7686. #
  7687. # Check to make sure the static flag actually works.
  7688. #
  7689. wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
  7690. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
  7691. $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
  7692. if ${lt_cv_prog_compiler_static_works+:} false; then :
  7693. $as_echo_n "(cached) " >&6
  7694. else
  7695. lt_cv_prog_compiler_static_works=no
  7696. save_LDFLAGS="$LDFLAGS"
  7697. LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
  7698. echo "$lt_simple_link_test_code" > conftest.$ac_ext
  7699. if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
  7700. # The linker can only warn and ignore the option if not recognized
  7701. # So say no if there are warnings
  7702. if test -s conftest.err; then
  7703. # Append any errors to the config.log.
  7704. cat conftest.err 1>&5
  7705. $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
  7706. $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  7707. if diff conftest.exp conftest.er2 >/dev/null; then
  7708. lt_cv_prog_compiler_static_works=yes
  7709. fi
  7710. else
  7711. lt_cv_prog_compiler_static_works=yes
  7712. fi
  7713. fi
  7714. $RM -r conftest*
  7715. LDFLAGS="$save_LDFLAGS"
  7716. fi
  7717. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
  7718. $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
  7719. if test x"$lt_cv_prog_compiler_static_works" = xyes; then
  7720. :
  7721. else
  7722. lt_prog_compiler_static=
  7723. fi
  7724. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
  7725. $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
  7726. if ${lt_cv_prog_compiler_c_o+:} false; then :
  7727. $as_echo_n "(cached) " >&6
  7728. else
  7729. lt_cv_prog_compiler_c_o=no
  7730. $RM -r conftest 2>/dev/null
  7731. mkdir conftest
  7732. cd conftest
  7733. mkdir out
  7734. echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  7735. lt_compiler_flag="-o out/conftest2.$ac_objext"
  7736. # Insert the option either (1) after the last *FLAGS variable, or
  7737. # (2) before a word containing "conftest.", or (3) at the end.
  7738. # Note that $ac_compile itself does not contain backslashes and begins
  7739. # with a dollar sign (not a hyphen), so the echo should work correctly.
  7740. lt_compile=`echo "$ac_compile" | $SED \
  7741. -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  7742. -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  7743. -e 's:$: $lt_compiler_flag:'`
  7744. (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  7745. (eval "$lt_compile" 2>out/conftest.err)
  7746. ac_status=$?
  7747. cat out/conftest.err >&5
  7748. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7749. if (exit $ac_status) && test -s out/conftest2.$ac_objext
  7750. then
  7751. # The compiler can only warn and ignore the option if not recognized
  7752. # So say no if there are warnings
  7753. $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
  7754. $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  7755. if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  7756. lt_cv_prog_compiler_c_o=yes
  7757. fi
  7758. fi
  7759. chmod u+w . 2>&5
  7760. $RM conftest*
  7761. # SGI C++ compiler will create directory out/ii_files/ for
  7762. # template instantiation
  7763. test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
  7764. $RM out/* && rmdir out
  7765. cd ..
  7766. $RM -r conftest
  7767. $RM conftest*
  7768. fi
  7769. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
  7770. $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
  7771. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
  7772. $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
  7773. if ${lt_cv_prog_compiler_c_o+:} false; then :
  7774. $as_echo_n "(cached) " >&6
  7775. else
  7776. lt_cv_prog_compiler_c_o=no
  7777. $RM -r conftest 2>/dev/null
  7778. mkdir conftest
  7779. cd conftest
  7780. mkdir out
  7781. echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  7782. lt_compiler_flag="-o out/conftest2.$ac_objext"
  7783. # Insert the option either (1) after the last *FLAGS variable, or
  7784. # (2) before a word containing "conftest.", or (3) at the end.
  7785. # Note that $ac_compile itself does not contain backslashes and begins
  7786. # with a dollar sign (not a hyphen), so the echo should work correctly.
  7787. lt_compile=`echo "$ac_compile" | $SED \
  7788. -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  7789. -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  7790. -e 's:$: $lt_compiler_flag:'`
  7791. (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  7792. (eval "$lt_compile" 2>out/conftest.err)
  7793. ac_status=$?
  7794. cat out/conftest.err >&5
  7795. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7796. if (exit $ac_status) && test -s out/conftest2.$ac_objext
  7797. then
  7798. # The compiler can only warn and ignore the option if not recognized
  7799. # So say no if there are warnings
  7800. $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
  7801. $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  7802. if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  7803. lt_cv_prog_compiler_c_o=yes
  7804. fi
  7805. fi
  7806. chmod u+w . 2>&5
  7807. $RM conftest*
  7808. # SGI C++ compiler will create directory out/ii_files/ for
  7809. # template instantiation
  7810. test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
  7811. $RM out/* && rmdir out
  7812. cd ..
  7813. $RM -r conftest
  7814. $RM conftest*
  7815. fi
  7816. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
  7817. $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
  7818. hard_links="nottested"
  7819. if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
  7820. # do not overwrite the value of need_locks provided by the user
  7821. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
  7822. $as_echo_n "checking if we can lock with hard links... " >&6; }
  7823. hard_links=yes
  7824. $RM conftest*
  7825. ln conftest.a conftest.b 2>/dev/null && hard_links=no
  7826. touch conftest.a
  7827. ln conftest.a conftest.b 2>&5 || hard_links=no
  7828. ln conftest.a conftest.b 2>/dev/null && hard_links=no
  7829. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
  7830. $as_echo "$hard_links" >&6; }
  7831. if test "$hard_links" = no; then
  7832. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
  7833. $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
  7834. need_locks=warn
  7835. fi
  7836. else
  7837. need_locks=no
  7838. fi
  7839. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
  7840. $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
  7841. runpath_var=
  7842. allow_undefined_flag=
  7843. always_export_symbols=no
  7844. archive_cmds=
  7845. archive_expsym_cmds=
  7846. compiler_needs_object=no
  7847. enable_shared_with_static_runtimes=no
  7848. export_dynamic_flag_spec=
  7849. export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  7850. hardcode_automatic=no
  7851. hardcode_direct=no
  7852. hardcode_direct_absolute=no
  7853. hardcode_libdir_flag_spec=
  7854. hardcode_libdir_separator=
  7855. hardcode_minus_L=no
  7856. hardcode_shlibpath_var=unsupported
  7857. inherit_rpath=no
  7858. link_all_deplibs=unknown
  7859. module_cmds=
  7860. module_expsym_cmds=
  7861. old_archive_from_new_cmds=
  7862. old_archive_from_expsyms_cmds=
  7863. thread_safe_flag_spec=
  7864. whole_archive_flag_spec=
  7865. # include_expsyms should be a list of space-separated symbols to be *always*
  7866. # included in the symbol list
  7867. include_expsyms=
  7868. # exclude_expsyms can be an extended regexp of symbols to exclude
  7869. # it will be wrapped by ` (' and `)$', so one must not match beginning or
  7870. # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
  7871. # as well as any symbol that contains `d'.
  7872. exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
  7873. # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
  7874. # platforms (ab)use it in PIC code, but their linkers get confused if
  7875. # the symbol is explicitly referenced. Since portable code cannot
  7876. # rely on this symbol name, it's probably fine to never include it in
  7877. # preloaded symbol tables.
  7878. # Exclude shared library initialization/finalization symbols.
  7879. extract_expsyms_cmds=
  7880. case $host_os in
  7881. cygwin* | mingw* | pw32* | cegcc*)
  7882. # FIXME: the MSVC++ port hasn't been tested in a loooong time
  7883. # When not using gcc, we currently assume that we are using
  7884. # Microsoft Visual C++.
  7885. if test "$GCC" != yes; then
  7886. with_gnu_ld=no
  7887. fi
  7888. ;;
  7889. interix*)
  7890. # we just hope/assume this is gcc and not c89 (= MSVC++)
  7891. with_gnu_ld=yes
  7892. ;;
  7893. openbsd*)
  7894. with_gnu_ld=no
  7895. ;;
  7896. linux* | k*bsd*-gnu | gnu*)
  7897. link_all_deplibs=no
  7898. ;;
  7899. esac
  7900. ld_shlibs=yes
  7901. # On some targets, GNU ld is compatible enough with the native linker
  7902. # that we're better off using the native interface for both.
  7903. lt_use_gnu_ld_interface=no
  7904. if test "$with_gnu_ld" = yes; then
  7905. case $host_os in
  7906. aix*)
  7907. # The AIX port of GNU ld has always aspired to compatibility
  7908. # with the native linker. However, as the warning in the GNU ld
  7909. # block says, versions before 2.19.5* couldn't really create working
  7910. # shared libraries, regardless of the interface used.
  7911. case `$LD -v 2>&1` in
  7912. *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
  7913. *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
  7914. *\ \(GNU\ Binutils\)\ [3-9]*) ;;
  7915. *)
  7916. lt_use_gnu_ld_interface=yes
  7917. ;;
  7918. esac
  7919. ;;
  7920. *)
  7921. lt_use_gnu_ld_interface=yes
  7922. ;;
  7923. esac
  7924. fi
  7925. if test "$lt_use_gnu_ld_interface" = yes; then
  7926. # If archive_cmds runs LD, not CC, wlarc should be empty
  7927. wlarc='${wl}'
  7928. # Set some defaults for GNU ld with shared library support. These
  7929. # are reset later if shared libraries are not supported. Putting them
  7930. # here allows them to be overridden if necessary.
  7931. runpath_var=LD_RUN_PATH
  7932. hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  7933. export_dynamic_flag_spec='${wl}--export-dynamic'
  7934. # ancient GNU ld didn't support --whole-archive et. al.
  7935. if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
  7936. whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
  7937. else
  7938. whole_archive_flag_spec=
  7939. fi
  7940. supports_anon_versioning=no
  7941. case `$LD -v 2>&1` in
  7942. *GNU\ gold*) supports_anon_versioning=yes ;;
  7943. *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
  7944. *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
  7945. *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
  7946. *\ 2.11.*) ;; # other 2.11 versions
  7947. *) supports_anon_versioning=yes ;;
  7948. esac
  7949. # See if GNU ld supports shared libraries.
  7950. case $host_os in
  7951. aix[3-9]*)
  7952. # On AIX/PPC, the GNU linker is very broken
  7953. if test "$host_cpu" != ia64; then
  7954. ld_shlibs=no
  7955. cat <<_LT_EOF 1>&2
  7956. *** Warning: the GNU linker, at least up to release 2.19, is reported
  7957. *** to be unable to reliably create shared libraries on AIX.
  7958. *** Therefore, libtool is disabling shared libraries support. If you
  7959. *** really care for shared libraries, you may want to install binutils
  7960. *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
  7961. *** You will then need to restart the configuration process.
  7962. _LT_EOF
  7963. fi
  7964. ;;
  7965. amigaos*)
  7966. case $host_cpu in
  7967. powerpc)
  7968. # see comment about AmigaOS4 .so support
  7969. archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  7970. archive_expsym_cmds=''
  7971. ;;
  7972. m68k)
  7973. 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)'
  7974. hardcode_libdir_flag_spec='-L$libdir'
  7975. hardcode_minus_L=yes
  7976. ;;
  7977. esac
  7978. ;;
  7979. beos*)
  7980. if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  7981. allow_undefined_flag=unsupported
  7982. # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
  7983. # support --undefined. This deserves some investigation. FIXME
  7984. archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  7985. else
  7986. ld_shlibs=no
  7987. fi
  7988. ;;
  7989. cygwin* | mingw* | pw32* | cegcc*)
  7990. # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
  7991. # as there is no search path for DLLs.
  7992. hardcode_libdir_flag_spec='-L$libdir'
  7993. export_dynamic_flag_spec='${wl}--export-all-symbols'
  7994. allow_undefined_flag=unsupported
  7995. always_export_symbols=no
  7996. enable_shared_with_static_runtimes=yes
  7997. export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
  7998. exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
  7999. if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
  8000. archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  8001. # If the export-symbols file already is a .def file (1st line
  8002. # is EXPORTS), use it as is; otherwise, prepend...
  8003. archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
  8004. cp $export_symbols $output_objdir/$soname.def;
  8005. else
  8006. echo EXPORTS > $output_objdir/$soname.def;
  8007. cat $export_symbols >> $output_objdir/$soname.def;
  8008. fi~
  8009. $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  8010. else
  8011. ld_shlibs=no
  8012. fi
  8013. ;;
  8014. haiku*)
  8015. archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  8016. link_all_deplibs=yes
  8017. ;;
  8018. interix[3-9]*)
  8019. hardcode_direct=no
  8020. hardcode_shlibpath_var=no
  8021. hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
  8022. export_dynamic_flag_spec='${wl}-E'
  8023. # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
  8024. # Instead, shared libraries are loaded at an image base (0x10000000 by
  8025. # default) and relocated if they conflict, which is a slow very memory
  8026. # consuming and fragmenting process. To avoid this, we pick a random,
  8027. # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
  8028. # time. Moving up from 0x10000000 also allows more sbrk(2) space.
  8029. archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
  8030. 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'
  8031. ;;
  8032. gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
  8033. tmp_diet=no
  8034. if test "$host_os" = linux-dietlibc; then
  8035. case $cc_basename in
  8036. diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
  8037. esac
  8038. fi
  8039. if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
  8040. && test "$tmp_diet" = no
  8041. then
  8042. tmp_addflag=' $pic_flag'
  8043. tmp_sharedflag='-shared'
  8044. case $cc_basename,$host_cpu in
  8045. pgcc*) # Portland Group C compiler
  8046. whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
  8047. tmp_addflag=' $pic_flag'
  8048. ;;
  8049. pgf77* | pgf90* | pgf95* | pgfortran*)
  8050. # Portland Group f77 and f90 compilers
  8051. whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
  8052. tmp_addflag=' $pic_flag -Mnomain' ;;
  8053. ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
  8054. tmp_addflag=' -i_dynamic' ;;
  8055. efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
  8056. tmp_addflag=' -i_dynamic -nofor_main' ;;
  8057. ifc* | ifort*) # Intel Fortran compiler
  8058. tmp_addflag=' -nofor_main' ;;
  8059. lf95*) # Lahey Fortran 8.1
  8060. whole_archive_flag_spec=
  8061. tmp_sharedflag='--shared' ;;
  8062. xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
  8063. tmp_sharedflag='-qmkshrobj'
  8064. tmp_addflag= ;;
  8065. nvcc*) # Cuda Compiler Driver 2.2
  8066. whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
  8067. compiler_needs_object=yes
  8068. ;;
  8069. esac
  8070. case `$CC -V 2>&1 | sed 5q` in
  8071. *Sun\ C*) # Sun C 5.9
  8072. whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
  8073. compiler_needs_object=yes
  8074. tmp_sharedflag='-G' ;;
  8075. *Sun\ F*) # Sun Fortran 8.3
  8076. tmp_sharedflag='-G' ;;
  8077. esac
  8078. archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  8079. if test "x$supports_anon_versioning" = xyes; then
  8080. archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
  8081. cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  8082. echo "local: *; };" >> $output_objdir/$libname.ver~
  8083. $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
  8084. fi
  8085. case $cc_basename in
  8086. xlf* | bgf* | bgxlf* | mpixlf*)
  8087. # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
  8088. whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
  8089. hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  8090. archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
  8091. if test "x$supports_anon_versioning" = xyes; then
  8092. archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
  8093. cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  8094. echo "local: *; };" >> $output_objdir/$libname.ver~
  8095. $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
  8096. fi
  8097. ;;
  8098. esac
  8099. else
  8100. ld_shlibs=no
  8101. fi
  8102. ;;
  8103. netbsd* | netbsdelf*-gnu)
  8104. if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  8105. archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
  8106. wlarc=
  8107. else
  8108. archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  8109. archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  8110. fi
  8111. ;;
  8112. solaris*)
  8113. if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
  8114. ld_shlibs=no
  8115. cat <<_LT_EOF 1>&2
  8116. *** Warning: The releases 2.8.* of the GNU linker cannot reliably
  8117. *** create shared libraries on Solaris systems. Therefore, libtool
  8118. *** is disabling shared libraries support. We urge you to upgrade GNU
  8119. *** binutils to release 2.9.1 or newer. Another option is to modify
  8120. *** your PATH or compiler configuration so that the native linker is
  8121. *** used, and then restart.
  8122. _LT_EOF
  8123. elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  8124. archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  8125. archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  8126. else
  8127. ld_shlibs=no
  8128. fi
  8129. ;;
  8130. sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
  8131. case `$LD -v 2>&1` in
  8132. *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
  8133. ld_shlibs=no
  8134. cat <<_LT_EOF 1>&2
  8135. *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
  8136. *** reliably create shared libraries on SCO systems. Therefore, libtool
  8137. *** is disabling shared libraries support. We urge you to upgrade GNU
  8138. *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
  8139. *** your PATH or compiler configuration so that the native linker is
  8140. *** used, and then restart.
  8141. _LT_EOF
  8142. ;;
  8143. *)
  8144. # For security reasons, it is highly recommended that you always
  8145. # use absolute paths for naming shared libraries, and exclude the
  8146. # DT_RUNPATH tag from executables and libraries. But doing so
  8147. # requires that you compile everything twice, which is a pain.
  8148. if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  8149. hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  8150. archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  8151. archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  8152. else
  8153. ld_shlibs=no
  8154. fi
  8155. ;;
  8156. esac
  8157. ;;
  8158. sunos4*)
  8159. archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  8160. wlarc=
  8161. hardcode_direct=yes
  8162. hardcode_shlibpath_var=no
  8163. ;;
  8164. *)
  8165. if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  8166. archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  8167. archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  8168. else
  8169. ld_shlibs=no
  8170. fi
  8171. ;;
  8172. esac
  8173. if test "$ld_shlibs" = no; then
  8174. runpath_var=
  8175. hardcode_libdir_flag_spec=
  8176. export_dynamic_flag_spec=
  8177. whole_archive_flag_spec=
  8178. fi
  8179. else
  8180. # PORTME fill in a description of your system's linker (not GNU ld)
  8181. case $host_os in
  8182. aix3*)
  8183. allow_undefined_flag=unsupported
  8184. always_export_symbols=yes
  8185. 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'
  8186. # Note: this linker hardcodes the directories in LIBPATH if there
  8187. # are no directories specified by -L.
  8188. hardcode_minus_L=yes
  8189. if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
  8190. # Neither direct hardcoding nor static linking is supported with a
  8191. # broken collect2.
  8192. hardcode_direct=unsupported
  8193. fi
  8194. ;;
  8195. aix[4-9]*)
  8196. if test "$host_cpu" = ia64; then
  8197. # On IA64, the linker does run time linking by default, so we don't
  8198. # have to do anything special.
  8199. aix_use_runtimelinking=no
  8200. exp_sym_flag='-Bexport'
  8201. no_entry_flag=""
  8202. else
  8203. # If we're using GNU nm, then we don't want the "-C" option.
  8204. # -C means demangle to AIX nm, but means don't demangle with GNU nm
  8205. # Also, AIX nm treats weak defined symbols like other global
  8206. # defined symbols, whereas GNU nm marks them as "W".
  8207. if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
  8208. export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
  8209. else
  8210. 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'
  8211. fi
  8212. aix_use_runtimelinking=no
  8213. # Test if we are trying to use run time linking or normal
  8214. # AIX style linking. If -brtl is somewhere in LDFLAGS, we
  8215. # need to do runtime linking.
  8216. case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
  8217. for ld_flag in $LDFLAGS; do
  8218. if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
  8219. aix_use_runtimelinking=yes
  8220. break
  8221. fi
  8222. done
  8223. ;;
  8224. esac
  8225. exp_sym_flag='-bexport'
  8226. no_entry_flag='-bnoentry'
  8227. fi
  8228. # When large executables or shared objects are built, AIX ld can
  8229. # have problems creating the table of contents. If linking a library
  8230. # or program results in "error TOC overflow" add -mminimal-toc to
  8231. # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
  8232. # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
  8233. archive_cmds=''
  8234. hardcode_direct=yes
  8235. hardcode_direct_absolute=yes
  8236. hardcode_libdir_separator=':'
  8237. link_all_deplibs=yes
  8238. file_list_spec='${wl}-f,'
  8239. if test "$GCC" = yes; then
  8240. case $host_os in aix4.[012]|aix4.[012].*)
  8241. # We only want to do this on AIX 4.2 and lower, the check
  8242. # below for broken collect2 doesn't work under 4.3+
  8243. collect2name=`${CC} -print-prog-name=collect2`
  8244. if test -f "$collect2name" &&
  8245. strings "$collect2name" | $GREP resolve_lib_name >/dev/null
  8246. then
  8247. # We have reworked collect2
  8248. :
  8249. else
  8250. # We have old collect2
  8251. hardcode_direct=unsupported
  8252. # It fails to find uninstalled libraries when the uninstalled
  8253. # path is not listed in the libpath. Setting hardcode_minus_L
  8254. # to unsupported forces relinking
  8255. hardcode_minus_L=yes
  8256. hardcode_libdir_flag_spec='-L$libdir'
  8257. hardcode_libdir_separator=
  8258. fi
  8259. ;;
  8260. esac
  8261. shared_flag='-shared'
  8262. if test "$aix_use_runtimelinking" = yes; then
  8263. shared_flag="$shared_flag "'${wl}-G'
  8264. fi
  8265. link_all_deplibs=no
  8266. else
  8267. # not using gcc
  8268. if test "$host_cpu" = ia64; then
  8269. # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
  8270. # chokes on -Wl,-G. The following line is correct:
  8271. shared_flag='-G'
  8272. else
  8273. if test "$aix_use_runtimelinking" = yes; then
  8274. shared_flag='${wl}-G'
  8275. else
  8276. shared_flag='${wl}-bM:SRE'
  8277. fi
  8278. fi
  8279. fi
  8280. export_dynamic_flag_spec='${wl}-bexpall'
  8281. # It seems that -bexpall does not export symbols beginning with
  8282. # underscore (_), so it is better to generate a list of symbols to export.
  8283. always_export_symbols=yes
  8284. if test "$aix_use_runtimelinking" = yes; then
  8285. # Warning - without using the other runtime loading flags (-brtl),
  8286. # -berok will link without error, but may produce a broken library.
  8287. allow_undefined_flag='-berok'
  8288. # Determine the default libpath from the value encoded in an
  8289. # empty executable.
  8290. if test "${lt_cv_aix_libpath+set}" = set; then
  8291. aix_libpath=$lt_cv_aix_libpath
  8292. else
  8293. if ${lt_cv_aix_libpath_+:} false; then :
  8294. $as_echo_n "(cached) " >&6
  8295. else
  8296. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8297. /* end confdefs.h. */
  8298. int
  8299. main ()
  8300. {
  8301. ;
  8302. return 0;
  8303. }
  8304. _ACEOF
  8305. if ac_fn_c_try_link "$LINENO"; then :
  8306. lt_aix_libpath_sed='
  8307. /Import File Strings/,/^$/ {
  8308. /^0/ {
  8309. s/^0 *\([^ ]*\) *$/\1/
  8310. p
  8311. }
  8312. }'
  8313. lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  8314. # Check for a 64-bit object if we didn't find anything.
  8315. if test -z "$lt_cv_aix_libpath_"; then
  8316. lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  8317. fi
  8318. fi
  8319. rm -f core conftest.err conftest.$ac_objext \
  8320. conftest$ac_exeext conftest.$ac_ext
  8321. if test -z "$lt_cv_aix_libpath_"; then
  8322. lt_cv_aix_libpath_="/usr/lib:/lib"
  8323. fi
  8324. fi
  8325. aix_libpath=$lt_cv_aix_libpath_
  8326. fi
  8327. hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
  8328. archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
  8329. else
  8330. if test "$host_cpu" = ia64; then
  8331. hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
  8332. allow_undefined_flag="-z nodefs"
  8333. 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"
  8334. else
  8335. # Determine the default libpath from the value encoded in an
  8336. # empty executable.
  8337. if test "${lt_cv_aix_libpath+set}" = set; then
  8338. aix_libpath=$lt_cv_aix_libpath
  8339. else
  8340. if ${lt_cv_aix_libpath_+:} false; then :
  8341. $as_echo_n "(cached) " >&6
  8342. else
  8343. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8344. /* end confdefs.h. */
  8345. int
  8346. main ()
  8347. {
  8348. ;
  8349. return 0;
  8350. }
  8351. _ACEOF
  8352. if ac_fn_c_try_link "$LINENO"; then :
  8353. lt_aix_libpath_sed='
  8354. /Import File Strings/,/^$/ {
  8355. /^0/ {
  8356. s/^0 *\([^ ]*\) *$/\1/
  8357. p
  8358. }
  8359. }'
  8360. lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  8361. # Check for a 64-bit object if we didn't find anything.
  8362. if test -z "$lt_cv_aix_libpath_"; then
  8363. lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  8364. fi
  8365. fi
  8366. rm -f core conftest.err conftest.$ac_objext \
  8367. conftest$ac_exeext conftest.$ac_ext
  8368. if test -z "$lt_cv_aix_libpath_"; then
  8369. lt_cv_aix_libpath_="/usr/lib:/lib"
  8370. fi
  8371. fi
  8372. aix_libpath=$lt_cv_aix_libpath_
  8373. fi
  8374. hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
  8375. # Warning - without using the other run time loading flags,
  8376. # -berok will link without error, but may produce a broken library.
  8377. no_undefined_flag=' ${wl}-bernotok'
  8378. allow_undefined_flag=' ${wl}-berok'
  8379. if test "$with_gnu_ld" = yes; then
  8380. # We only use this code for GNU lds that support --whole-archive.
  8381. whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
  8382. else
  8383. # Exported symbols can be pulled into shared objects from archives
  8384. whole_archive_flag_spec='$convenience'
  8385. fi
  8386. archive_cmds_need_lc=yes
  8387. # This is similar to how AIX traditionally builds its shared libraries.
  8388. 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'
  8389. fi
  8390. fi
  8391. ;;
  8392. amigaos*)
  8393. case $host_cpu in
  8394. powerpc)
  8395. # see comment about AmigaOS4 .so support
  8396. archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  8397. archive_expsym_cmds=''
  8398. ;;
  8399. m68k)
  8400. 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)'
  8401. hardcode_libdir_flag_spec='-L$libdir'
  8402. hardcode_minus_L=yes
  8403. ;;
  8404. esac
  8405. ;;
  8406. bsdi[45]*)
  8407. export_dynamic_flag_spec=-rdynamic
  8408. ;;
  8409. cygwin* | mingw* | pw32* | cegcc*)
  8410. # When not using gcc, we currently assume that we are using
  8411. # Microsoft Visual C++.
  8412. # hardcode_libdir_flag_spec is actually meaningless, as there is
  8413. # no search path for DLLs.
  8414. case $cc_basename in
  8415. cl*)
  8416. # Native MSVC
  8417. hardcode_libdir_flag_spec=' '
  8418. allow_undefined_flag=unsupported
  8419. always_export_symbols=yes
  8420. file_list_spec='@'
  8421. # Tell ltmain to make .lib files, not .a files.
  8422. libext=lib
  8423. # Tell ltmain to make .dll files, not .so files.
  8424. shrext_cmds=".dll"
  8425. # FIXME: Setting linknames here is a bad hack.
  8426. archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
  8427. archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
  8428. sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
  8429. else
  8430. sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
  8431. fi~
  8432. $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
  8433. linknames='
  8434. # The linker will not automatically build a static lib if we build a DLL.
  8435. # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
  8436. enable_shared_with_static_runtimes=yes
  8437. exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
  8438. export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
  8439. # Don't use ranlib
  8440. old_postinstall_cmds='chmod 644 $oldlib'
  8441. postlink_cmds='lt_outputfile="@OUTPUT@"~
  8442. lt_tool_outputfile="@TOOL_OUTPUT@"~
  8443. case $lt_outputfile in
  8444. *.exe|*.EXE) ;;
  8445. *)
  8446. lt_outputfile="$lt_outputfile.exe"
  8447. lt_tool_outputfile="$lt_tool_outputfile.exe"
  8448. ;;
  8449. esac~
  8450. if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
  8451. $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
  8452. $RM "$lt_outputfile.manifest";
  8453. fi'
  8454. ;;
  8455. *)
  8456. # Assume MSVC wrapper
  8457. hardcode_libdir_flag_spec=' '
  8458. allow_undefined_flag=unsupported
  8459. # Tell ltmain to make .lib files, not .a files.
  8460. libext=lib
  8461. # Tell ltmain to make .dll files, not .so files.
  8462. shrext_cmds=".dll"
  8463. # FIXME: Setting linknames here is a bad hack.
  8464. archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
  8465. # The linker will automatically build a .lib file if we build a DLL.
  8466. old_archive_from_new_cmds='true'
  8467. # FIXME: Should let the user specify the lib program.
  8468. old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
  8469. enable_shared_with_static_runtimes=yes
  8470. ;;
  8471. esac
  8472. ;;
  8473. darwin* | rhapsody*)
  8474. archive_cmds_need_lc=no
  8475. hardcode_direct=no
  8476. hardcode_automatic=yes
  8477. hardcode_shlibpath_var=unsupported
  8478. if test "$lt_cv_ld_force_load" = "yes"; then
  8479. whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
  8480. else
  8481. whole_archive_flag_spec=''
  8482. fi
  8483. link_all_deplibs=yes
  8484. allow_undefined_flag="$_lt_dar_allow_undefined"
  8485. case $cc_basename in
  8486. ifort*) _lt_dar_can_shared=yes ;;
  8487. *) _lt_dar_can_shared=$GCC ;;
  8488. esac
  8489. if test "$_lt_dar_can_shared" = "yes"; then
  8490. output_verbose_link_cmd=func_echo_all
  8491. archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
  8492. module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
  8493. 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}"
  8494. 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}"
  8495. else
  8496. ld_shlibs=no
  8497. fi
  8498. ;;
  8499. dgux*)
  8500. archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  8501. hardcode_libdir_flag_spec='-L$libdir'
  8502. hardcode_shlibpath_var=no
  8503. ;;
  8504. # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
  8505. # support. Future versions do this automatically, but an explicit c++rt0.o
  8506. # does not break anything, and helps significantly (at the cost of a little
  8507. # extra space).
  8508. freebsd2.2*)
  8509. archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
  8510. hardcode_libdir_flag_spec='-R$libdir'
  8511. hardcode_direct=yes
  8512. hardcode_shlibpath_var=no
  8513. ;;
  8514. # Unfortunately, older versions of FreeBSD 2 do not have this feature.
  8515. freebsd2.*)
  8516. archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  8517. hardcode_direct=yes
  8518. hardcode_minus_L=yes
  8519. hardcode_shlibpath_var=no
  8520. ;;
  8521. # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
  8522. freebsd* | dragonfly*)
  8523. archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  8524. hardcode_libdir_flag_spec='-R$libdir'
  8525. hardcode_direct=yes
  8526. hardcode_shlibpath_var=no
  8527. ;;
  8528. hpux9*)
  8529. if test "$GCC" = yes; then
  8530. archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
  8531. else
  8532. 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'
  8533. fi
  8534. hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
  8535. hardcode_libdir_separator=:
  8536. hardcode_direct=yes
  8537. # hardcode_minus_L: Not really in the search PATH,
  8538. # but as the default location of the library.
  8539. hardcode_minus_L=yes
  8540. export_dynamic_flag_spec='${wl}-E'
  8541. ;;
  8542. hpux10*)
  8543. if test "$GCC" = yes && test "$with_gnu_ld" = no; then
  8544. archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  8545. else
  8546. archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
  8547. fi
  8548. if test "$with_gnu_ld" = no; then
  8549. hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
  8550. hardcode_libdir_separator=:
  8551. hardcode_direct=yes
  8552. hardcode_direct_absolute=yes
  8553. export_dynamic_flag_spec='${wl}-E'
  8554. # hardcode_minus_L: Not really in the search PATH,
  8555. # but as the default location of the library.
  8556. hardcode_minus_L=yes
  8557. fi
  8558. ;;
  8559. hpux11*)
  8560. if test "$GCC" = yes && test "$with_gnu_ld" = no; then
  8561. case $host_cpu in
  8562. hppa*64*)
  8563. archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  8564. ;;
  8565. ia64*)
  8566. archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  8567. ;;
  8568. *)
  8569. archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  8570. ;;
  8571. esac
  8572. else
  8573. case $host_cpu in
  8574. hppa*64*)
  8575. archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  8576. ;;
  8577. ia64*)
  8578. archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  8579. ;;
  8580. *)
  8581. # Older versions of the 11.00 compiler do not understand -b yet
  8582. # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
  8583. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
  8584. $as_echo_n "checking if $CC understands -b... " >&6; }
  8585. if ${lt_cv_prog_compiler__b+:} false; then :
  8586. $as_echo_n "(cached) " >&6
  8587. else
  8588. lt_cv_prog_compiler__b=no
  8589. save_LDFLAGS="$LDFLAGS"
  8590. LDFLAGS="$LDFLAGS -b"
  8591. echo "$lt_simple_link_test_code" > conftest.$ac_ext
  8592. if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
  8593. # The linker can only warn and ignore the option if not recognized
  8594. # So say no if there are warnings
  8595. if test -s conftest.err; then
  8596. # Append any errors to the config.log.
  8597. cat conftest.err 1>&5
  8598. $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
  8599. $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  8600. if diff conftest.exp conftest.er2 >/dev/null; then
  8601. lt_cv_prog_compiler__b=yes
  8602. fi
  8603. else
  8604. lt_cv_prog_compiler__b=yes
  8605. fi
  8606. fi
  8607. $RM -r conftest*
  8608. LDFLAGS="$save_LDFLAGS"
  8609. fi
  8610. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
  8611. $as_echo "$lt_cv_prog_compiler__b" >&6; }
  8612. if test x"$lt_cv_prog_compiler__b" = xyes; then
  8613. archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  8614. else
  8615. archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
  8616. fi
  8617. ;;
  8618. esac
  8619. fi
  8620. if test "$with_gnu_ld" = no; then
  8621. hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
  8622. hardcode_libdir_separator=:
  8623. case $host_cpu in
  8624. hppa*64*|ia64*)
  8625. hardcode_direct=no
  8626. hardcode_shlibpath_var=no
  8627. ;;
  8628. *)
  8629. hardcode_direct=yes
  8630. hardcode_direct_absolute=yes
  8631. export_dynamic_flag_spec='${wl}-E'
  8632. # hardcode_minus_L: Not really in the search PATH,
  8633. # but as the default location of the library.
  8634. hardcode_minus_L=yes
  8635. ;;
  8636. esac
  8637. fi
  8638. ;;
  8639. irix5* | irix6* | nonstopux*)
  8640. if test "$GCC" = yes; then
  8641. archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  8642. # Try to use the -exported_symbol ld option, if it does not
  8643. # work, assume that -exports_file does not work either and
  8644. # implicitly export all symbols.
  8645. # This should be the same for all languages, so no per-tag cache variable.
  8646. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
  8647. $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
  8648. if ${lt_cv_irix_exported_symbol+:} false; then :
  8649. $as_echo_n "(cached) " >&6
  8650. else
  8651. save_LDFLAGS="$LDFLAGS"
  8652. LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
  8653. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8654. /* end confdefs.h. */
  8655. int foo (void) { return 0; }
  8656. _ACEOF
  8657. if ac_fn_c_try_link "$LINENO"; then :
  8658. lt_cv_irix_exported_symbol=yes
  8659. else
  8660. lt_cv_irix_exported_symbol=no
  8661. fi
  8662. rm -f core conftest.err conftest.$ac_objext \
  8663. conftest$ac_exeext conftest.$ac_ext
  8664. LDFLAGS="$save_LDFLAGS"
  8665. fi
  8666. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
  8667. $as_echo "$lt_cv_irix_exported_symbol" >&6; }
  8668. if test "$lt_cv_irix_exported_symbol" = yes; then
  8669. archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
  8670. fi
  8671. else
  8672. archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
  8673. archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
  8674. fi
  8675. archive_cmds_need_lc='no'
  8676. hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  8677. hardcode_libdir_separator=:
  8678. inherit_rpath=yes
  8679. link_all_deplibs=yes
  8680. ;;
  8681. netbsd* | netbsdelf*-gnu)
  8682. if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  8683. archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
  8684. else
  8685. archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
  8686. fi
  8687. hardcode_libdir_flag_spec='-R$libdir'
  8688. hardcode_direct=yes
  8689. hardcode_shlibpath_var=no
  8690. ;;
  8691. newsos6)
  8692. archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  8693. hardcode_direct=yes
  8694. hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  8695. hardcode_libdir_separator=:
  8696. hardcode_shlibpath_var=no
  8697. ;;
  8698. *nto* | *qnx*)
  8699. ;;
  8700. openbsd*)
  8701. if test -f /usr/libexec/ld.so; then
  8702. hardcode_direct=yes
  8703. hardcode_shlibpath_var=no
  8704. hardcode_direct_absolute=yes
  8705. if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  8706. archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  8707. archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
  8708. hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
  8709. export_dynamic_flag_spec='${wl}-E'
  8710. else
  8711. case $host_os in
  8712. openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
  8713. archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  8714. hardcode_libdir_flag_spec='-R$libdir'
  8715. ;;
  8716. *)
  8717. archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  8718. hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
  8719. ;;
  8720. esac
  8721. fi
  8722. else
  8723. ld_shlibs=no
  8724. fi
  8725. ;;
  8726. os2*)
  8727. hardcode_libdir_flag_spec='-L$libdir'
  8728. hardcode_minus_L=yes
  8729. allow_undefined_flag=unsupported
  8730. 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'
  8731. old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
  8732. ;;
  8733. osf3*)
  8734. if test "$GCC" = yes; then
  8735. allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
  8736. archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  8737. else
  8738. allow_undefined_flag=' -expect_unresolved \*'
  8739. archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
  8740. fi
  8741. archive_cmds_need_lc='no'
  8742. hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  8743. hardcode_libdir_separator=:
  8744. ;;
  8745. osf4* | osf5*) # as osf3* with the addition of -msym flag
  8746. if test "$GCC" = yes; then
  8747. allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
  8748. archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  8749. hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  8750. else
  8751. allow_undefined_flag=' -expect_unresolved \*'
  8752. archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
  8753. 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~
  8754. $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
  8755. # Both c and cxx compiler support -rpath directly
  8756. hardcode_libdir_flag_spec='-rpath $libdir'
  8757. fi
  8758. archive_cmds_need_lc='no'
  8759. hardcode_libdir_separator=:
  8760. ;;
  8761. solaris*)
  8762. no_undefined_flag=' -z defs'
  8763. if test "$GCC" = yes; then
  8764. wlarc='${wl}'
  8765. archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  8766. archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  8767. $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
  8768. else
  8769. case `$CC -V 2>&1` in
  8770. *"Compilers 5.0"*)
  8771. wlarc=''
  8772. archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
  8773. archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  8774. $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
  8775. ;;
  8776. *)
  8777. wlarc='${wl}'
  8778. archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
  8779. archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  8780. $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
  8781. ;;
  8782. esac
  8783. fi
  8784. hardcode_libdir_flag_spec='-R$libdir'
  8785. hardcode_shlibpath_var=no
  8786. case $host_os in
  8787. solaris2.[0-5] | solaris2.[0-5].*) ;;
  8788. *)
  8789. # The compiler driver will combine and reorder linker options,
  8790. # but understands `-z linker_flag'. GCC discards it without `$wl',
  8791. # but is careful enough not to reorder.
  8792. # Supported since Solaris 2.6 (maybe 2.5.1?)
  8793. if test "$GCC" = yes; then
  8794. whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
  8795. else
  8796. whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
  8797. fi
  8798. ;;
  8799. esac
  8800. link_all_deplibs=yes
  8801. ;;
  8802. sunos4*)
  8803. if test "x$host_vendor" = xsequent; then
  8804. # Use $CC to link under sequent, because it throws in some extra .o
  8805. # files that make .init and .fini sections work.
  8806. archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
  8807. else
  8808. archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
  8809. fi
  8810. hardcode_libdir_flag_spec='-L$libdir'
  8811. hardcode_direct=yes
  8812. hardcode_minus_L=yes
  8813. hardcode_shlibpath_var=no
  8814. ;;
  8815. sysv4)
  8816. case $host_vendor in
  8817. sni)
  8818. archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  8819. hardcode_direct=yes # is this really true???
  8820. ;;
  8821. siemens)
  8822. ## LD is ld it makes a PLAMLIB
  8823. ## CC just makes a GrossModule.
  8824. archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
  8825. reload_cmds='$CC -r -o $output$reload_objs'
  8826. hardcode_direct=no
  8827. ;;
  8828. motorola)
  8829. archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  8830. hardcode_direct=no #Motorola manual says yes, but my tests say they lie
  8831. ;;
  8832. esac
  8833. runpath_var='LD_RUN_PATH'
  8834. hardcode_shlibpath_var=no
  8835. ;;
  8836. sysv4.3*)
  8837. archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  8838. hardcode_shlibpath_var=no
  8839. export_dynamic_flag_spec='-Bexport'
  8840. ;;
  8841. sysv4*MP*)
  8842. if test -d /usr/nec; then
  8843. archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  8844. hardcode_shlibpath_var=no
  8845. runpath_var=LD_RUN_PATH
  8846. hardcode_runpath_var=yes
  8847. ld_shlibs=yes
  8848. fi
  8849. ;;
  8850. sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
  8851. no_undefined_flag='${wl}-z,text'
  8852. archive_cmds_need_lc=no
  8853. hardcode_shlibpath_var=no
  8854. runpath_var='LD_RUN_PATH'
  8855. if test "$GCC" = yes; then
  8856. archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  8857. archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  8858. else
  8859. archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  8860. archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  8861. fi
  8862. ;;
  8863. sysv5* | sco3.2v5* | sco5v6*)
  8864. # Note: We can NOT use -z defs as we might desire, because we do not
  8865. # link with -lc, and that would cause any symbols used from libc to
  8866. # always be unresolved, which means just about no library would
  8867. # ever link correctly. If we're not using GNU ld we use -z text
  8868. # though, which does catch some bad symbols but isn't as heavy-handed
  8869. # as -z defs.
  8870. no_undefined_flag='${wl}-z,text'
  8871. allow_undefined_flag='${wl}-z,nodefs'
  8872. archive_cmds_need_lc=no
  8873. hardcode_shlibpath_var=no
  8874. hardcode_libdir_flag_spec='${wl}-R,$libdir'
  8875. hardcode_libdir_separator=':'
  8876. link_all_deplibs=yes
  8877. export_dynamic_flag_spec='${wl}-Bexport'
  8878. runpath_var='LD_RUN_PATH'
  8879. if test "$GCC" = yes; then
  8880. archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  8881. archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  8882. else
  8883. archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  8884. archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  8885. fi
  8886. ;;
  8887. uts4*)
  8888. archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  8889. hardcode_libdir_flag_spec='-L$libdir'
  8890. hardcode_shlibpath_var=no
  8891. ;;
  8892. *)
  8893. ld_shlibs=no
  8894. ;;
  8895. esac
  8896. if test x$host_vendor = xsni; then
  8897. case $host in
  8898. sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
  8899. export_dynamic_flag_spec='${wl}-Blargedynsym'
  8900. ;;
  8901. esac
  8902. fi
  8903. fi
  8904. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
  8905. $as_echo "$ld_shlibs" >&6; }
  8906. test "$ld_shlibs" = no && can_build_shared=no
  8907. with_gnu_ld=$with_gnu_ld
  8908. #
  8909. # Do we need to explicitly link libc?
  8910. #
  8911. case "x$archive_cmds_need_lc" in
  8912. x|xyes)
  8913. # Assume -lc should be added
  8914. archive_cmds_need_lc=yes
  8915. if test "$enable_shared" = yes && test "$GCC" = yes; then
  8916. case $archive_cmds in
  8917. *'~'*)
  8918. # FIXME: we may have to deal with multi-command sequences.
  8919. ;;
  8920. '$CC '*)
  8921. # Test whether the compiler implicitly links with -lc since on some
  8922. # systems, -lgcc has to come before -lc. If gcc already passes -lc
  8923. # to ld, don't add -lc before -lgcc.
  8924. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
  8925. $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
  8926. if ${lt_cv_archive_cmds_need_lc+:} false; then :
  8927. $as_echo_n "(cached) " >&6
  8928. else
  8929. $RM conftest*
  8930. echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  8931. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  8932. (eval $ac_compile) 2>&5
  8933. ac_status=$?
  8934. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  8935. test $ac_status = 0; } 2>conftest.err; then
  8936. soname=conftest
  8937. lib=conftest
  8938. libobjs=conftest.$ac_objext
  8939. deplibs=
  8940. wl=$lt_prog_compiler_wl
  8941. pic_flag=$lt_prog_compiler_pic
  8942. compiler_flags=-v
  8943. linker_flags=-v
  8944. verstring=
  8945. output_objdir=.
  8946. libname=conftest
  8947. lt_save_allow_undefined_flag=$allow_undefined_flag
  8948. allow_undefined_flag=
  8949. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
  8950. (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
  8951. ac_status=$?
  8952. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  8953. test $ac_status = 0; }
  8954. then
  8955. lt_cv_archive_cmds_need_lc=no
  8956. else
  8957. lt_cv_archive_cmds_need_lc=yes
  8958. fi
  8959. allow_undefined_flag=$lt_save_allow_undefined_flag
  8960. else
  8961. cat conftest.err 1>&5
  8962. fi
  8963. $RM conftest*
  8964. fi
  8965. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
  8966. $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
  8967. archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
  8968. ;;
  8969. esac
  8970. fi
  8971. ;;
  8972. esac
  8973. { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
  8974. $as_echo_n "checking dynamic linker characteristics... " >&6; }
  8975. if test "$GCC" = yes; then
  8976. case $host_os in
  8977. darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
  8978. *) lt_awk_arg="/^libraries:/" ;;
  8979. esac
  8980. case $host_os in
  8981. mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
  8982. *) lt_sed_strip_eq="s,=/,/,g" ;;
  8983. esac
  8984. lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
  8985. case $lt_search_path_spec in
  8986. *\;*)
  8987. # if the path contains ";" then we assume it to be the separator
  8988. # otherwise default to the standard path separator (i.e. ":") - it is
  8989. # assumed that no part of a normal pathname contains ";" but that should
  8990. # okay in the real world where ";" in dirpaths is itself problematic.
  8991. lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
  8992. ;;
  8993. *)
  8994. lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
  8995. ;;
  8996. esac
  8997. # Ok, now we have the path, separated by spaces, we can step through it
  8998. # and add multilib dir if necessary.
  8999. lt_tmp_lt_search_path_spec=
  9000. lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
  9001. for lt_sys_path in $lt_search_path_spec; do
  9002. if test -d "$lt_sys_path/$lt_multi_os_dir"; then
  9003. lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
  9004. else
  9005. test -d "$lt_sys_path" && \
  9006. lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
  9007. fi
  9008. done
  9009. lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
  9010. BEGIN {RS=" "; FS="/|\n";} {
  9011. lt_foo="";
  9012. lt_count=0;
  9013. for (lt_i = NF; lt_i > 0; lt_i--) {
  9014. if ($lt_i != "" && $lt_i != ".") {
  9015. if ($lt_i == "..") {
  9016. lt_count++;
  9017. } else {
  9018. if (lt_count == 0) {
  9019. lt_foo="/" $lt_i lt_foo;
  9020. } else {
  9021. lt_count--;
  9022. }
  9023. }
  9024. }
  9025. }
  9026. if (lt_foo != "") { lt_freq[lt_foo]++; }
  9027. if (lt_freq[lt_foo] == 1) { print lt_foo; }
  9028. }'`
  9029. # AWK program above erroneously prepends '/' to C:/dos/paths
  9030. # for these hosts.
  9031. case $host_os in
  9032. mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
  9033. $SED 's,/\([A-Za-z]:\),\1,g'` ;;
  9034. esac
  9035. sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
  9036. else
  9037. sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
  9038. fi
  9039. library_names_spec=
  9040. libname_spec='lib$name'
  9041. soname_spec=
  9042. shrext_cmds=".so"
  9043. postinstall_cmds=
  9044. postuninstall_cmds=
  9045. finish_cmds=
  9046. finish_eval=
  9047. shlibpath_var=
  9048. shlibpath_overrides_runpath=unknown
  9049. version_type=none
  9050. dynamic_linker="$host_os ld.so"
  9051. sys_lib_dlsearch_path_spec="/lib /usr/lib"
  9052. need_lib_prefix=unknown
  9053. hardcode_into_libs=no
  9054. # when you set need_version to no, make sure it does not cause -set_version
  9055. # flags to be left without arguments
  9056. need_version=unknown
  9057. case $host_os in
  9058. aix3*)
  9059. version_type=linux # correct to gnu/linux during the next big refactor
  9060. library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
  9061. shlibpath_var=LIBPATH
  9062. # AIX 3 has no versioning support, so we append a major version to the name.
  9063. soname_spec='${libname}${release}${shared_ext}$major'
  9064. ;;
  9065. aix[4-9]*)
  9066. version_type=linux # correct to gnu/linux during the next big refactor
  9067. need_lib_prefix=no
  9068. need_version=no
  9069. hardcode_into_libs=yes
  9070. if test "$host_cpu" = ia64; then
  9071. # AIX 5 supports IA64
  9072. library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
  9073. shlibpath_var=LD_LIBRARY_PATH
  9074. else
  9075. # With GCC up to 2.95.x, collect2 would create an import file
  9076. # for dependence libraries. The import file would start with
  9077. # the line `#! .'. This would cause the generated library to
  9078. # depend on `.', always an invalid library. This was fixed in
  9079. # development snapshots of GCC prior to 3.0.
  9080. case $host_os in
  9081. aix4 | aix4.[01] | aix4.[01].*)
  9082. if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
  9083. echo ' yes '
  9084. echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
  9085. :
  9086. else
  9087. can_build_shared=no
  9088. fi
  9089. ;;
  9090. esac
  9091. # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
  9092. # soname into executable. Probably we can add versioning support to
  9093. # collect2, so additional links can be useful in future.
  9094. if test "$aix_use_runtimelinking" = yes; then
  9095. # If using run time linking (on AIX 4.2 or later) use lib<name>.so
  9096. # instead of lib<name>.a to let people know that these are not
  9097. # typical AIX shared libraries.
  9098. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  9099. else
  9100. # We preserve .a as extension for shared libraries through AIX4.2
  9101. # and later when we are not doing run time linking.
  9102. library_names_spec='${libname}${release}.a $libname.a'
  9103. soname_spec='${libname}${release}${shared_ext}$major'
  9104. fi
  9105. shlibpath_var=LIBPATH
  9106. fi
  9107. ;;
  9108. amigaos*)
  9109. case $host_cpu in
  9110. powerpc)
  9111. # Since July 2007 AmigaOS4 officially supports .so libraries.
  9112. # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
  9113. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  9114. ;;
  9115. m68k)
  9116. library_names_spec='$libname.ixlibrary $libname.a'
  9117. # Create ${libname}_ixlibrary.a entries in /sys/libs.
  9118. finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
  9119. ;;
  9120. esac
  9121. ;;
  9122. beos*)
  9123. library_names_spec='${libname}${shared_ext}'
  9124. dynamic_linker="$host_os ld.so"
  9125. shlibpath_var=LIBRARY_PATH
  9126. ;;
  9127. bsdi[45]*)
  9128. version_type=linux # correct to gnu/linux during the next big refactor
  9129. need_version=no
  9130. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  9131. soname_spec='${libname}${release}${shared_ext}$major'
  9132. finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
  9133. shlibpath_var=LD_LIBRARY_PATH
  9134. sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
  9135. sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
  9136. # the default ld.so.conf also contains /usr/contrib/lib and
  9137. # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
  9138. # libtool to hard-code these into programs
  9139. ;;
  9140. cygwin* | mingw* | pw32* | cegcc*)
  9141. version_type=windows
  9142. shrext_cmds=".dll"
  9143. need_version=no
  9144. need_lib_prefix=no
  9145. case $GCC,$cc_basename in
  9146. yes,*)
  9147. # gcc
  9148. library_names_spec='$libname.dll.a'
  9149. # DLL is installed to $(libdir)/../bin by postinstall_cmds
  9150. postinstall_cmds='base_file=`basename \${file}`~
  9151. dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
  9152. dldir=$destdir/`dirname \$dlpath`~
  9153. test -d \$dldir || mkdir -p \$dldir~
  9154. $install_prog $dir/$dlname \$dldir/$dlname~
  9155. chmod a+x \$dldir/$dlname~
  9156. if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
  9157. eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
  9158. fi'
  9159. postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
  9160. dlpath=$dir/\$dldll~
  9161. $RM \$dlpath'
  9162. shlibpath_overrides_runpath=yes
  9163. case $host_os in
  9164. cygwin*)
  9165. # Cygwin DLLs use 'cyg' prefix rather than 'lib'
  9166. soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  9167. sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
  9168. ;;
  9169. mingw* | cegcc*)
  9170. # MinGW DLLs use traditional 'lib' prefix
  9171. soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  9172. ;;
  9173. pw32*)
  9174. # pw32 DLLs use 'pw' prefix rather than 'lib'
  9175. library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  9176. ;;
  9177. esac
  9178. dynamic_linker='Win32 ld.exe'
  9179. ;;
  9180. *,cl*)
  9181. # Native MSVC
  9182. libname_spec='$name'
  9183. soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  9184. library_names_spec='${libname}.dll.lib'
  9185. case $build_os in
  9186. mingw*)
  9187. sys_lib_search_path_spec=
  9188. lt_save_ifs=$IFS
  9189. IFS=';'
  9190. for lt_path in $LIB
  9191. do
  9192. IFS=$lt_save_ifs
  9193. # Let DOS variable expansion print the short 8.3 style file name.
  9194. lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
  9195. sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
  9196. done
  9197. IFS=$lt_save_ifs
  9198. # Convert to MSYS style.
  9199. sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
  9200. ;;
  9201. cygwin*)
  9202. # Convert to unix form, then to dos form, then back to unix form
  9203. # but this time dos style (no spaces!) so that the unix form looks
  9204. # like /cygdrive/c/PROGRA~1:/cygdr...
  9205. sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
  9206. sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
  9207. sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
  9208. ;;
  9209. *)
  9210. sys_lib_search_path_spec="$LIB"
  9211. if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
  9212. # It is most probably a Windows format PATH.
  9213. sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
  9214. else
  9215. sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
  9216. fi
  9217. # FIXME: find the short name or the path components, as spaces are
  9218. # common. (e.g. "Program Files" -> "PROGRA~1")
  9219. ;;
  9220. esac
  9221. # DLL is installed to $(libdir)/../bin by postinstall_cmds
  9222. postinstall_cmds='base_file=`basename \${file}`~
  9223. dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
  9224. dldir=$destdir/`dirname \$dlpath`~
  9225. test -d \$dldir || mkdir -p \$dldir~
  9226. $install_prog $dir/$dlname \$dldir/$dlname'
  9227. postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
  9228. dlpath=$dir/\$dldll~
  9229. $RM \$dlpath'
  9230. shlibpath_overrides_runpath=yes
  9231. dynamic_linker='Win32 link.exe'
  9232. ;;
  9233. *)
  9234. # Assume MSVC wrapper
  9235. library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
  9236. dynamic_linker='Win32 ld.exe'
  9237. ;;
  9238. esac
  9239. # FIXME: first we should search . and the directory the executable is in
  9240. shlibpath_var=PATH
  9241. ;;
  9242. darwin* | rhapsody*)
  9243. dynamic_linker="$host_os dyld"
  9244. version_type=darwin
  9245. need_lib_prefix=no
  9246. need_version=no
  9247. library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
  9248. soname_spec='${libname}${release}${major}$shared_ext'
  9249. shlibpath_overrides_runpath=yes
  9250. shlibpath_var=DYLD_LIBRARY_PATH
  9251. shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
  9252. sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
  9253. sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
  9254. ;;
  9255. dgux*)
  9256. version_type=linux # correct to gnu/linux during the next big refactor
  9257. need_lib_prefix=no
  9258. need_version=no
  9259. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
  9260. soname_spec='${libname}${release}${shared_ext}$major'
  9261. shlibpath_var=LD_LIBRARY_PATH
  9262. ;;
  9263. freebsd* | dragonfly*)
  9264. # DragonFly does not have aout. When/if they implement a new
  9265. # versioning mechanism, adjust this.
  9266. if test -x /usr/bin/objformat; then
  9267. objformat=`/usr/bin/objformat`
  9268. else
  9269. case $host_os in
  9270. freebsd[23].*) objformat=aout ;;
  9271. *) objformat=elf ;;
  9272. esac
  9273. fi
  9274. version_type=freebsd-$objformat
  9275. case $version_type in
  9276. freebsd-elf*)
  9277. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
  9278. need_version=no
  9279. need_lib_prefix=no
  9280. ;;
  9281. freebsd-*)
  9282. library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
  9283. need_version=yes
  9284. ;;
  9285. esac
  9286. shlibpath_var=LD_LIBRARY_PATH
  9287. case $host_os in
  9288. freebsd2.*)
  9289. shlibpath_overrides_runpath=yes
  9290. ;;
  9291. freebsd3.[01]* | freebsdelf3.[01]*)
  9292. shlibpath_overrides_runpath=yes
  9293. hardcode_into_libs=yes
  9294. ;;
  9295. freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
  9296. freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
  9297. shlibpath_overrides_runpath=no
  9298. hardcode_into_libs=yes
  9299. ;;
  9300. *) # from 4.6 on, and DragonFly
  9301. shlibpath_overrides_runpath=yes
  9302. hardcode_into_libs=yes
  9303. ;;
  9304. esac
  9305. ;;
  9306. haiku*)
  9307. version_type=linux # correct to gnu/linux during the next big refactor
  9308. need_lib_prefix=no
  9309. need_version=no
  9310. dynamic_linker="$host_os runtime_loader"
  9311. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
  9312. soname_spec='${libname}${release}${shared_ext}$major'
  9313. shlibpath_var=LIBRARY_PATH
  9314. shlibpath_overrides_runpath=yes
  9315. sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
  9316. hardcode_into_libs=yes
  9317. ;;
  9318. hpux9* | hpux10* | hpux11*)
  9319. # Give a soname corresponding to the major version so that dld.sl refuses to
  9320. # link against other versions.
  9321. version_type=sunos
  9322. need_lib_prefix=no
  9323. need_version=no
  9324. case $host_cpu in
  9325. ia64*)
  9326. shrext_cmds='.so'
  9327. hardcode_into_libs=yes
  9328. dynamic_linker="$host_os dld.so"
  9329. shlibpath_var=LD_LIBRARY_PATH
  9330. shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  9331. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  9332. soname_spec='${libname}${release}${shared_ext}$major'
  9333. if test "X$HPUX_IA64_MODE" = X32; then
  9334. sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
  9335. else
  9336. sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
  9337. fi
  9338. sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  9339. ;;
  9340. hppa*64*)
  9341. shrext_cmds='.sl'
  9342. hardcode_into_libs=yes
  9343. dynamic_linker="$host_os dld.sl"
  9344. shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
  9345. shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  9346. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  9347. soname_spec='${libname}${release}${shared_ext}$major'
  9348. sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
  9349. sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  9350. ;;
  9351. *)
  9352. shrext_cmds='.sl'
  9353. dynamic_linker="$host_os dld.sl"
  9354. shlibpath_var=SHLIB_PATH
  9355. shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
  9356. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  9357. soname_spec='${libname}${release}${shared_ext}$major'
  9358. ;;
  9359. esac
  9360. # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
  9361. postinstall_cmds='chmod 555 $lib'
  9362. # or fails outright, so override atomically:
  9363. install_override_mode=555
  9364. ;;
  9365. interix[3-9]*)
  9366. version_type=linux # correct to gnu/linux during the next big refactor
  9367. need_lib_prefix=no
  9368. need_version=no
  9369. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  9370. soname_spec='${libname}${release}${shared_ext}$major'
  9371. dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
  9372. shlibpath_var=LD_LIBRARY_PATH
  9373. shlibpath_overrides_runpath=no
  9374. hardcode_into_libs=yes
  9375. ;;
  9376. irix5* | irix6* | nonstopux*)
  9377. case $host_os in
  9378. nonstopux*) version_type=nonstopux ;;
  9379. *)
  9380. if test "$lt_cv_prog_gnu_ld" = yes; then
  9381. version_type=linux # correct to gnu/linux during the next big refactor
  9382. else
  9383. version_type=irix
  9384. fi ;;
  9385. esac
  9386. need_lib_prefix=no
  9387. need_version=no
  9388. soname_spec='${libname}${release}${shared_ext}$major'
  9389. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
  9390. case $host_os in
  9391. irix5* | nonstopux*)
  9392. libsuff= shlibsuff=
  9393. ;;
  9394. *)
  9395. case $LD in # libtool.m4 will add one of these switches to LD
  9396. *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
  9397. libsuff= shlibsuff= libmagic=32-bit;;
  9398. *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
  9399. libsuff=32 shlibsuff=N32 libmagic=N32;;
  9400. *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
  9401. libsuff=64 shlibsuff=64 libmagic=64-bit;;
  9402. *) libsuff= shlibsuff= libmagic=never-match;;
  9403. esac
  9404. ;;
  9405. esac
  9406. shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
  9407. shlibpath_overrides_runpath=no
  9408. sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
  9409. sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
  9410. hardcode_into_libs=yes
  9411. ;;
  9412. # No shared lib support for Linux oldld, aout, or coff.
  9413. linux*oldld* | linux*aout* | linux*coff*)
  9414. dynamic_linker=no
  9415. ;;
  9416. # This must be glibc/ELF.
  9417. linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
  9418. version_type=linux # correct to gnu/linux during the next big refactor
  9419. need_lib_prefix=no
  9420. need_version=no
  9421. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  9422. soname_spec='${libname}${release}${shared_ext}$major'
  9423. finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
  9424. shlibpath_var=LD_LIBRARY_PATH
  9425. shlibpath_overrides_runpath=no
  9426. # Some binutils ld are patched to set DT_RUNPATH
  9427. if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
  9428. $as_echo_n "(cached) " >&6
  9429. else
  9430. lt_cv_shlibpath_overrides_runpath=no
  9431. save_LDFLAGS=$LDFLAGS
  9432. save_libdir=$libdir
  9433. eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
  9434. LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
  9435. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9436. /* end confdefs.h. */
  9437. int
  9438. main ()
  9439. {
  9440. ;
  9441. return 0;
  9442. }
  9443. _ACEOF
  9444. if ac_fn_c_try_link "$LINENO"; then :
  9445. if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
  9446. lt_cv_shlibpath_overrides_runpath=yes
  9447. fi
  9448. fi
  9449. rm -f core conftest.err conftest.$ac_objext \
  9450. conftest$ac_exeext conftest.$ac_ext
  9451. LDFLAGS=$save_LDFLAGS
  9452. libdir=$save_libdir
  9453. fi
  9454. shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
  9455. # This implies no fast_install, which is unacceptable.
  9456. # Some rework will be needed to allow for fast_install
  9457. # before this can be enabled.
  9458. hardcode_into_libs=yes
  9459. # Append ld.so.conf contents to the search path
  9460. if test -f /etc/ld.so.conf; then
  9461. lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
  9462. sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
  9463. fi
  9464. # We used to test for /lib/ld.so.1 and disable shared libraries on
  9465. # powerpc, because MkLinux only supported shared libraries with the
  9466. # GNU dynamic linker. Since this was broken with cross compilers,
  9467. # most powerpc-linux boxes support dynamic linking these days and
  9468. # people can always --disable-shared, the test was removed, and we
  9469. # assume the GNU/Linux dynamic linker is in use.
  9470. dynamic_linker='GNU/Linux ld.so'
  9471. ;;
  9472. netbsdelf*-gnu)
  9473. version_type=linux
  9474. need_lib_prefix=no
  9475. need_version=no
  9476. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  9477. soname_spec='${libname}${release}${shared_ext}$major'
  9478. shlibpath_var=LD_LIBRARY_PATH
  9479. shlibpath_overrides_runpath=no
  9480. hardcode_into_libs=yes
  9481. dynamic_linker='NetBSD ld.elf_so'
  9482. ;;
  9483. netbsd*)
  9484. version_type=sunos
  9485. need_lib_prefix=no
  9486. need_version=no
  9487. if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  9488. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  9489. finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  9490. dynamic_linker='NetBSD (a.out) ld.so'
  9491. else
  9492. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  9493. soname_spec='${libname}${release}${shared_ext}$major'
  9494. dynamic_linker='NetBSD ld.elf_so'
  9495. fi
  9496. shlibpath_var=LD_LIBRARY_PATH
  9497. shlibpath_overrides_runpath=yes
  9498. hardcode_into_libs=yes
  9499. ;;
  9500. newsos6)
  9501. version_type=linux # correct to gnu/linux during the next big refactor
  9502. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  9503. shlibpath_var=LD_LIBRARY_PATH
  9504. shlibpath_overrides_runpath=yes
  9505. ;;
  9506. *nto* | *qnx*)
  9507. version_type=qnx
  9508. need_lib_prefix=no
  9509. need_version=no
  9510. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  9511. soname_spec='${libname}${release}${shared_ext}$major'
  9512. shlibpath_var=LD_LIBRARY_PATH
  9513. shlibpath_overrides_runpath=no
  9514. hardcode_into_libs=yes
  9515. dynamic_linker='ldqnx.so'
  9516. ;;
  9517. openbsd*)
  9518. version_type=sunos
  9519. sys_lib_dlsearch_path_spec="/usr/lib"
  9520. need_lib_prefix=no
  9521. # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
  9522. case $host_os in
  9523. openbsd3.3 | openbsd3.3.*) need_version=yes ;;
  9524. *) need_version=no ;;
  9525. esac
  9526. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  9527. finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  9528. shlibpath_var=LD_LIBRARY_PATH
  9529. if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  9530. case $host_os in
  9531. openbsd2.[89] | openbsd2.[89].*)
  9532. shlibpath_overrides_runpath=no
  9533. ;;
  9534. *)
  9535. shlibpath_overrides_runpath=yes
  9536. ;;
  9537. esac
  9538. else
  9539. shlibpath_overrides_runpath=yes
  9540. fi
  9541. ;;
  9542. os2*)
  9543. libname_spec='$name'
  9544. shrext_cmds=".dll"
  9545. need_lib_prefix=no
  9546. library_names_spec='$libname${shared_ext} $libname.a'
  9547. dynamic_linker='OS/2 ld.exe'
  9548. shlibpath_var=LIBPATH
  9549. ;;
  9550. osf3* | osf4* | osf5*)
  9551. version_type=osf
  9552. need_lib_prefix=no
  9553. need_version=no
  9554. soname_spec='${libname}${release}${shared_ext}$major'
  9555. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  9556. shlibpath_var=LD_LIBRARY_PATH
  9557. sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
  9558. sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
  9559. ;;
  9560. rdos*)
  9561. dynamic_linker=no
  9562. ;;
  9563. solaris*)
  9564. version_type=linux # correct to gnu/linux during the next big refactor
  9565. need_lib_prefix=no
  9566. need_version=no
  9567. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  9568. soname_spec='${libname}${release}${shared_ext}$major'
  9569. shlibpath_var=LD_LIBRARY_PATH
  9570. shlibpath_overrides_runpath=yes
  9571. hardcode_into_libs=yes
  9572. # ldd complains unless libraries are executable
  9573. postinstall_cmds='chmod +x $lib'
  9574. ;;
  9575. sunos4*)
  9576. version_type=sunos
  9577. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  9578. finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
  9579. shlibpath_var=LD_LIBRARY_PATH
  9580. shlibpath_overrides_runpath=yes
  9581. if test "$with_gnu_ld" = yes; then
  9582. need_lib_prefix=no
  9583. fi
  9584. need_version=yes
  9585. ;;
  9586. sysv4 | sysv4.3*)
  9587. version_type=linux # correct to gnu/linux during the next big refactor
  9588. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  9589. soname_spec='${libname}${release}${shared_ext}$major'
  9590. shlibpath_var=LD_LIBRARY_PATH
  9591. case $host_vendor in
  9592. sni)
  9593. shlibpath_overrides_runpath=no
  9594. need_lib_prefix=no
  9595. runpath_var=LD_RUN_PATH
  9596. ;;
  9597. siemens)
  9598. need_lib_prefix=no
  9599. ;;
  9600. motorola)
  9601. need_lib_prefix=no
  9602. need_version=no
  9603. shlibpath_overrides_runpath=no
  9604. sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
  9605. ;;
  9606. esac
  9607. ;;
  9608. sysv4*MP*)
  9609. if test -d /usr/nec ;then
  9610. version_type=linux # correct to gnu/linux during the next big refactor
  9611. library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
  9612. soname_spec='$libname${shared_ext}.$major'
  9613. shlibpath_var=LD_LIBRARY_PATH
  9614. fi
  9615. ;;
  9616. sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  9617. version_type=freebsd-elf
  9618. need_lib_prefix=no
  9619. need_version=no
  9620. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
  9621. soname_spec='${libname}${release}${shared_ext}$major'
  9622. shlibpath_var=LD_LIBRARY_PATH
  9623. shlibpath_overrides_runpath=yes
  9624. hardcode_into_libs=yes
  9625. if test "$with_gnu_ld" = yes; then
  9626. sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
  9627. else
  9628. sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
  9629. case $host_os in
  9630. sco3.2v5*)
  9631. sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
  9632. ;;
  9633. esac
  9634. fi
  9635. sys_lib_dlsearch_path_spec='/usr/lib'
  9636. ;;
  9637. tpf*)
  9638. # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
  9639. version_type=linux # correct to gnu/linux during the next big refactor
  9640. need_lib_prefix=no
  9641. need_version=no
  9642. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  9643. shlibpath_var=LD_LIBRARY_PATH
  9644. shlibpath_overrides_runpath=no
  9645. hardcode_into_libs=yes
  9646. ;;
  9647. uts4*)
  9648. version_type=linux # correct to gnu/linux during the next big refactor
  9649. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  9650. soname_spec='${libname}${release}${shared_ext}$major'
  9651. shlibpath_var=LD_LIBRARY_PATH
  9652. ;;
  9653. *)
  9654. dynamic_linker=no
  9655. ;;
  9656. esac
  9657. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
  9658. $as_echo "$dynamic_linker" >&6; }
  9659. test "$dynamic_linker" = no && can_build_shared=no
  9660. variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
  9661. if test "$GCC" = yes; then
  9662. variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
  9663. fi
  9664. if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
  9665. sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
  9666. fi
  9667. if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
  9668. sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
  9669. fi
  9670. { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
  9671. $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
  9672. hardcode_action=
  9673. if test -n "$hardcode_libdir_flag_spec" ||
  9674. test -n "$runpath_var" ||
  9675. test "X$hardcode_automatic" = "Xyes" ; then
  9676. # We can hardcode non-existent directories.
  9677. if test "$hardcode_direct" != no &&
  9678. # If the only mechanism to avoid hardcoding is shlibpath_var, we
  9679. # have to relink, otherwise we might link with an installed library
  9680. # when we should be linking with a yet-to-be-installed one
  9681. ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
  9682. test "$hardcode_minus_L" != no; then
  9683. # Linking always hardcodes the temporary library directory.
  9684. hardcode_action=relink
  9685. else
  9686. # We can link without hardcoding, and we can hardcode nonexisting dirs.
  9687. hardcode_action=immediate
  9688. fi
  9689. else
  9690. # We cannot hardcode anything, or else we can only hardcode existing
  9691. # directories.
  9692. hardcode_action=unsupported
  9693. fi
  9694. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
  9695. $as_echo "$hardcode_action" >&6; }
  9696. if test "$hardcode_action" = relink ||
  9697. test "$inherit_rpath" = yes; then
  9698. # Fast installation is not supported
  9699. enable_fast_install=no
  9700. elif test "$shlibpath_overrides_runpath" = yes ||
  9701. test "$enable_shared" = no; then
  9702. # Fast installation is not necessary
  9703. enable_fast_install=needless
  9704. fi
  9705. if test "x$enable_dlopen" != xyes; then
  9706. enable_dlopen=unknown
  9707. enable_dlopen_self=unknown
  9708. enable_dlopen_self_static=unknown
  9709. else
  9710. lt_cv_dlopen=no
  9711. lt_cv_dlopen_libs=
  9712. case $host_os in
  9713. beos*)
  9714. lt_cv_dlopen="load_add_on"
  9715. lt_cv_dlopen_libs=
  9716. lt_cv_dlopen_self=yes
  9717. ;;
  9718. mingw* | pw32* | cegcc*)
  9719. lt_cv_dlopen="LoadLibrary"
  9720. lt_cv_dlopen_libs=
  9721. ;;
  9722. cygwin*)
  9723. lt_cv_dlopen="dlopen"
  9724. lt_cv_dlopen_libs=
  9725. ;;
  9726. darwin*)
  9727. # if libdl is installed we need to link against it
  9728. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
  9729. $as_echo_n "checking for dlopen in -ldl... " >&6; }
  9730. if ${ac_cv_lib_dl_dlopen+:} false; then :
  9731. $as_echo_n "(cached) " >&6
  9732. else
  9733. ac_check_lib_save_LIBS=$LIBS
  9734. LIBS="-ldl $LIBS"
  9735. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9736. /* end confdefs.h. */
  9737. /* Override any GCC internal prototype to avoid an error.
  9738. Use char because int might match the return type of a GCC
  9739. builtin and then its argument prototype would still apply. */
  9740. #ifdef __cplusplus
  9741. extern "C"
  9742. #endif
  9743. char dlopen ();
  9744. int
  9745. main ()
  9746. {
  9747. return dlopen ();
  9748. ;
  9749. return 0;
  9750. }
  9751. _ACEOF
  9752. if ac_fn_c_try_link "$LINENO"; then :
  9753. ac_cv_lib_dl_dlopen=yes
  9754. else
  9755. ac_cv_lib_dl_dlopen=no
  9756. fi
  9757. rm -f core conftest.err conftest.$ac_objext \
  9758. conftest$ac_exeext conftest.$ac_ext
  9759. LIBS=$ac_check_lib_save_LIBS
  9760. fi
  9761. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
  9762. $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
  9763. if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
  9764. lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
  9765. else
  9766. lt_cv_dlopen="dyld"
  9767. lt_cv_dlopen_libs=
  9768. lt_cv_dlopen_self=yes
  9769. fi
  9770. ;;
  9771. *)
  9772. ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
  9773. if test "x$ac_cv_func_shl_load" = xyes; then :
  9774. lt_cv_dlopen="shl_load"
  9775. else
  9776. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
  9777. $as_echo_n "checking for shl_load in -ldld... " >&6; }
  9778. if ${ac_cv_lib_dld_shl_load+:} false; then :
  9779. $as_echo_n "(cached) " >&6
  9780. else
  9781. ac_check_lib_save_LIBS=$LIBS
  9782. LIBS="-ldld $LIBS"
  9783. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9784. /* end confdefs.h. */
  9785. /* Override any GCC internal prototype to avoid an error.
  9786. Use char because int might match the return type of a GCC
  9787. builtin and then its argument prototype would still apply. */
  9788. #ifdef __cplusplus
  9789. extern "C"
  9790. #endif
  9791. char shl_load ();
  9792. int
  9793. main ()
  9794. {
  9795. return shl_load ();
  9796. ;
  9797. return 0;
  9798. }
  9799. _ACEOF
  9800. if ac_fn_c_try_link "$LINENO"; then :
  9801. ac_cv_lib_dld_shl_load=yes
  9802. else
  9803. ac_cv_lib_dld_shl_load=no
  9804. fi
  9805. rm -f core conftest.err conftest.$ac_objext \
  9806. conftest$ac_exeext conftest.$ac_ext
  9807. LIBS=$ac_check_lib_save_LIBS
  9808. fi
  9809. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
  9810. $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
  9811. if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
  9812. lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
  9813. else
  9814. ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
  9815. if test "x$ac_cv_func_dlopen" = xyes; then :
  9816. lt_cv_dlopen="dlopen"
  9817. else
  9818. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
  9819. $as_echo_n "checking for dlopen in -ldl... " >&6; }
  9820. if ${ac_cv_lib_dl_dlopen+:} false; then :
  9821. $as_echo_n "(cached) " >&6
  9822. else
  9823. ac_check_lib_save_LIBS=$LIBS
  9824. LIBS="-ldl $LIBS"
  9825. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9826. /* end confdefs.h. */
  9827. /* Override any GCC internal prototype to avoid an error.
  9828. Use char because int might match the return type of a GCC
  9829. builtin and then its argument prototype would still apply. */
  9830. #ifdef __cplusplus
  9831. extern "C"
  9832. #endif
  9833. char dlopen ();
  9834. int
  9835. main ()
  9836. {
  9837. return dlopen ();
  9838. ;
  9839. return 0;
  9840. }
  9841. _ACEOF
  9842. if ac_fn_c_try_link "$LINENO"; then :
  9843. ac_cv_lib_dl_dlopen=yes
  9844. else
  9845. ac_cv_lib_dl_dlopen=no
  9846. fi
  9847. rm -f core conftest.err conftest.$ac_objext \
  9848. conftest$ac_exeext conftest.$ac_ext
  9849. LIBS=$ac_check_lib_save_LIBS
  9850. fi
  9851. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
  9852. $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
  9853. if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
  9854. lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
  9855. else
  9856. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
  9857. $as_echo_n "checking for dlopen in -lsvld... " >&6; }
  9858. if ${ac_cv_lib_svld_dlopen+:} false; then :
  9859. $as_echo_n "(cached) " >&6
  9860. else
  9861. ac_check_lib_save_LIBS=$LIBS
  9862. LIBS="-lsvld $LIBS"
  9863. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9864. /* end confdefs.h. */
  9865. /* Override any GCC internal prototype to avoid an error.
  9866. Use char because int might match the return type of a GCC
  9867. builtin and then its argument prototype would still apply. */
  9868. #ifdef __cplusplus
  9869. extern "C"
  9870. #endif
  9871. char dlopen ();
  9872. int
  9873. main ()
  9874. {
  9875. return dlopen ();
  9876. ;
  9877. return 0;
  9878. }
  9879. _ACEOF
  9880. if ac_fn_c_try_link "$LINENO"; then :
  9881. ac_cv_lib_svld_dlopen=yes
  9882. else
  9883. ac_cv_lib_svld_dlopen=no
  9884. fi
  9885. rm -f core conftest.err conftest.$ac_objext \
  9886. conftest$ac_exeext conftest.$ac_ext
  9887. LIBS=$ac_check_lib_save_LIBS
  9888. fi
  9889. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
  9890. $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
  9891. if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
  9892. lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
  9893. else
  9894. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
  9895. $as_echo_n "checking for dld_link in -ldld... " >&6; }
  9896. if ${ac_cv_lib_dld_dld_link+:} false; then :
  9897. $as_echo_n "(cached) " >&6
  9898. else
  9899. ac_check_lib_save_LIBS=$LIBS
  9900. LIBS="-ldld $LIBS"
  9901. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9902. /* end confdefs.h. */
  9903. /* Override any GCC internal prototype to avoid an error.
  9904. Use char because int might match the return type of a GCC
  9905. builtin and then its argument prototype would still apply. */
  9906. #ifdef __cplusplus
  9907. extern "C"
  9908. #endif
  9909. char dld_link ();
  9910. int
  9911. main ()
  9912. {
  9913. return dld_link ();
  9914. ;
  9915. return 0;
  9916. }
  9917. _ACEOF
  9918. if ac_fn_c_try_link "$LINENO"; then :
  9919. ac_cv_lib_dld_dld_link=yes
  9920. else
  9921. ac_cv_lib_dld_dld_link=no
  9922. fi
  9923. rm -f core conftest.err conftest.$ac_objext \
  9924. conftest$ac_exeext conftest.$ac_ext
  9925. LIBS=$ac_check_lib_save_LIBS
  9926. fi
  9927. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
  9928. $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
  9929. if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
  9930. lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
  9931. fi
  9932. fi
  9933. fi
  9934. fi
  9935. fi
  9936. fi
  9937. ;;
  9938. esac
  9939. if test "x$lt_cv_dlopen" != xno; then
  9940. enable_dlopen=yes
  9941. else
  9942. enable_dlopen=no
  9943. fi
  9944. case $lt_cv_dlopen in
  9945. dlopen)
  9946. save_CPPFLAGS="$CPPFLAGS"
  9947. test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
  9948. save_LDFLAGS="$LDFLAGS"
  9949. wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
  9950. save_LIBS="$LIBS"
  9951. LIBS="$lt_cv_dlopen_libs $LIBS"
  9952. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
  9953. $as_echo_n "checking whether a program can dlopen itself... " >&6; }
  9954. if ${lt_cv_dlopen_self+:} false; then :
  9955. $as_echo_n "(cached) " >&6
  9956. else
  9957. if test "$cross_compiling" = yes; then :
  9958. lt_cv_dlopen_self=cross
  9959. else
  9960. lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
  9961. lt_status=$lt_dlunknown
  9962. cat > conftest.$ac_ext <<_LT_EOF
  9963. #line $LINENO "configure"
  9964. #include "confdefs.h"
  9965. #if HAVE_DLFCN_H
  9966. #include <dlfcn.h>
  9967. #endif
  9968. #include <stdio.h>
  9969. #ifdef RTLD_GLOBAL
  9970. # define LT_DLGLOBAL RTLD_GLOBAL
  9971. #else
  9972. # ifdef DL_GLOBAL
  9973. # define LT_DLGLOBAL DL_GLOBAL
  9974. # else
  9975. # define LT_DLGLOBAL 0
  9976. # endif
  9977. #endif
  9978. /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
  9979. find out it does not work in some platform. */
  9980. #ifndef LT_DLLAZY_OR_NOW
  9981. # ifdef RTLD_LAZY
  9982. # define LT_DLLAZY_OR_NOW RTLD_LAZY
  9983. # else
  9984. # ifdef DL_LAZY
  9985. # define LT_DLLAZY_OR_NOW DL_LAZY
  9986. # else
  9987. # ifdef RTLD_NOW
  9988. # define LT_DLLAZY_OR_NOW RTLD_NOW
  9989. # else
  9990. # ifdef DL_NOW
  9991. # define LT_DLLAZY_OR_NOW DL_NOW
  9992. # else
  9993. # define LT_DLLAZY_OR_NOW 0
  9994. # endif
  9995. # endif
  9996. # endif
  9997. # endif
  9998. #endif
  9999. /* When -fvisbility=hidden is used, assume the code has been annotated
  10000. correspondingly for the symbols needed. */
  10001. #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
  10002. int fnord () __attribute__((visibility("default")));
  10003. #endif
  10004. int fnord () { return 42; }
  10005. int main ()
  10006. {
  10007. void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
  10008. int status = $lt_dlunknown;
  10009. if (self)
  10010. {
  10011. if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
  10012. else
  10013. {
  10014. if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
  10015. else puts (dlerror ());
  10016. }
  10017. /* dlclose (self); */
  10018. }
  10019. else
  10020. puts (dlerror ());
  10021. return status;
  10022. }
  10023. _LT_EOF
  10024. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  10025. (eval $ac_link) 2>&5
  10026. ac_status=$?
  10027. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  10028. test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
  10029. (./conftest; exit; ) >&5 2>/dev/null
  10030. lt_status=$?
  10031. case x$lt_status in
  10032. x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
  10033. x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
  10034. x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
  10035. esac
  10036. else :
  10037. # compilation failed
  10038. lt_cv_dlopen_self=no
  10039. fi
  10040. fi
  10041. rm -fr conftest*
  10042. fi
  10043. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
  10044. $as_echo "$lt_cv_dlopen_self" >&6; }
  10045. if test "x$lt_cv_dlopen_self" = xyes; then
  10046. wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
  10047. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
  10048. $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
  10049. if ${lt_cv_dlopen_self_static+:} false; then :
  10050. $as_echo_n "(cached) " >&6
  10051. else
  10052. if test "$cross_compiling" = yes; then :
  10053. lt_cv_dlopen_self_static=cross
  10054. else
  10055. lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
  10056. lt_status=$lt_dlunknown
  10057. cat > conftest.$ac_ext <<_LT_EOF
  10058. #line $LINENO "configure"
  10059. #include "confdefs.h"
  10060. #if HAVE_DLFCN_H
  10061. #include <dlfcn.h>
  10062. #endif
  10063. #include <stdio.h>
  10064. #ifdef RTLD_GLOBAL
  10065. # define LT_DLGLOBAL RTLD_GLOBAL
  10066. #else
  10067. # ifdef DL_GLOBAL
  10068. # define LT_DLGLOBAL DL_GLOBAL
  10069. # else
  10070. # define LT_DLGLOBAL 0
  10071. # endif
  10072. #endif
  10073. /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
  10074. find out it does not work in some platform. */
  10075. #ifndef LT_DLLAZY_OR_NOW
  10076. # ifdef RTLD_LAZY
  10077. # define LT_DLLAZY_OR_NOW RTLD_LAZY
  10078. # else
  10079. # ifdef DL_LAZY
  10080. # define LT_DLLAZY_OR_NOW DL_LAZY
  10081. # else
  10082. # ifdef RTLD_NOW
  10083. # define LT_DLLAZY_OR_NOW RTLD_NOW
  10084. # else
  10085. # ifdef DL_NOW
  10086. # define LT_DLLAZY_OR_NOW DL_NOW
  10087. # else
  10088. # define LT_DLLAZY_OR_NOW 0
  10089. # endif
  10090. # endif
  10091. # endif
  10092. # endif
  10093. #endif
  10094. /* When -fvisbility=hidden is used, assume the code has been annotated
  10095. correspondingly for the symbols needed. */
  10096. #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
  10097. int fnord () __attribute__((visibility("default")));
  10098. #endif
  10099. int fnord () { return 42; }
  10100. int main ()
  10101. {
  10102. void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
  10103. int status = $lt_dlunknown;
  10104. if (self)
  10105. {
  10106. if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
  10107. else
  10108. {
  10109. if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
  10110. else puts (dlerror ());
  10111. }
  10112. /* dlclose (self); */
  10113. }
  10114. else
  10115. puts (dlerror ());
  10116. return status;
  10117. }
  10118. _LT_EOF
  10119. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  10120. (eval $ac_link) 2>&5
  10121. ac_status=$?
  10122. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  10123. test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
  10124. (./conftest; exit; ) >&5 2>/dev/null
  10125. lt_status=$?
  10126. case x$lt_status in
  10127. x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
  10128. x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
  10129. x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
  10130. esac
  10131. else :
  10132. # compilation failed
  10133. lt_cv_dlopen_self_static=no
  10134. fi
  10135. fi
  10136. rm -fr conftest*
  10137. fi
  10138. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
  10139. $as_echo "$lt_cv_dlopen_self_static" >&6; }
  10140. fi
  10141. CPPFLAGS="$save_CPPFLAGS"
  10142. LDFLAGS="$save_LDFLAGS"
  10143. LIBS="$save_LIBS"
  10144. ;;
  10145. esac
  10146. case $lt_cv_dlopen_self in
  10147. yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
  10148. *) enable_dlopen_self=unknown ;;
  10149. esac
  10150. case $lt_cv_dlopen_self_static in
  10151. yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
  10152. *) enable_dlopen_self_static=unknown ;;
  10153. esac
  10154. fi
  10155. striplib=
  10156. old_striplib=
  10157. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
  10158. $as_echo_n "checking whether stripping libraries is possible... " >&6; }
  10159. if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
  10160. test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
  10161. test -z "$striplib" && striplib="$STRIP --strip-unneeded"
  10162. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  10163. $as_echo "yes" >&6; }
  10164. else
  10165. # FIXME - insert some real tests, host_os isn't really good enough
  10166. case $host_os in
  10167. darwin*)
  10168. if test -n "$STRIP" ; then
  10169. striplib="$STRIP -x"
  10170. old_striplib="$STRIP -S"
  10171. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  10172. $as_echo "yes" >&6; }
  10173. else
  10174. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  10175. $as_echo "no" >&6; }
  10176. fi
  10177. ;;
  10178. *)
  10179. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  10180. $as_echo "no" >&6; }
  10181. ;;
  10182. esac
  10183. fi
  10184. # Report which library types will actually be built
  10185. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
  10186. $as_echo_n "checking if libtool supports shared libraries... " >&6; }
  10187. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
  10188. $as_echo "$can_build_shared" >&6; }
  10189. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
  10190. $as_echo_n "checking whether to build shared libraries... " >&6; }
  10191. test "$can_build_shared" = "no" && enable_shared=no
  10192. # On AIX, shared libraries and static libraries use the same namespace, and
  10193. # are all built from PIC.
  10194. case $host_os in
  10195. aix3*)
  10196. test "$enable_shared" = yes && enable_static=no
  10197. if test -n "$RANLIB"; then
  10198. archive_cmds="$archive_cmds~\$RANLIB \$lib"
  10199. postinstall_cmds='$RANLIB $lib'
  10200. fi
  10201. ;;
  10202. aix[4-9]*)
  10203. if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
  10204. test "$enable_shared" = yes && enable_static=no
  10205. fi
  10206. ;;
  10207. esac
  10208. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
  10209. $as_echo "$enable_shared" >&6; }
  10210. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
  10211. $as_echo_n "checking whether to build static libraries... " >&6; }
  10212. # Make sure either enable_shared or enable_static is yes.
  10213. test "$enable_shared" = yes || enable_static=yes
  10214. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
  10215. $as_echo "$enable_static" >&6; }
  10216. fi
  10217. ac_ext=c
  10218. ac_cpp='$CPP $CPPFLAGS'
  10219. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  10220. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  10221. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  10222. CC="$lt_save_CC"
  10223. ac_config_commands="$ac_config_commands libtool"
  10224. # Only expand once:
  10225. # Check for diff.
  10226. #
  10227. diff_found=no
  10228. # Check whether --with-diff was given.
  10229. if test "${with_diff+set}" = set; then :
  10230. withval=$with_diff; diff_path=${withval}
  10231. else
  10232. diff_path=
  10233. fi
  10234. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for diff" >&5
  10235. $as_echo_n "checking for diff... " >&6; }
  10236. if test x"$DIFF" = x; then
  10237. if test x"$diff_path" != x; then
  10238. case $ac_pwd in #((
  10239. .) abs_diff_path=$diff_path;;
  10240. *)
  10241. case $diff_path in #(((
  10242. .) abs_diff_path=$ac_pwd;;
  10243. [\\/]* | ?:[\\/]* ) abs_diff_path=$diff_path;;
  10244. *) abs_diff_path=$ac_pwd/$diff_path;;
  10245. esac;;
  10246. esac
  10247. DIFF="$abs_diff_path"
  10248. else
  10249. DIFF=diff
  10250. fi
  10251. fi
  10252. cat >conftest.txt
  10253. $DIFF conftest.txt conftest.txt 2>/dev/null 1>&2
  10254. if test x"$?" = x0; then
  10255. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DIFF" >&5
  10256. $as_echo "$DIFF" >&6; }
  10257. else
  10258. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  10259. $as_echo "no" >&6; }
  10260. as_fn_error $? "diff command is not found; consider setting the DIFF variable or using --with-diff=PATH" "$LINENO" 5
  10261. fi
  10262. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $DIFF accepts -u" >&5
  10263. $as_echo_n "checking whether $DIFF accepts -u... " >&6; }
  10264. $DIFF -u conftest.txt conftest.txt 2>/dev/null 1>&2
  10265. if test x"$?" = x0; then
  10266. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  10267. $as_echo "yes" >&6; }
  10268. DIFFFLAGS="$DIFFFLAGS -u"
  10269. else
  10270. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  10271. $as_echo "no" >&6; }
  10272. fi
  10273. rm -f conftest.txt
  10274. # Check for C++ compiler and use it to compile the tests.
  10275. #
  10276. ac_ext=cpp
  10277. ac_cpp='$CXXCPP $CPPFLAGS'
  10278. ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  10279. ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  10280. ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  10281. if test -z "$CXX"; then
  10282. if test -n "$CCC"; then
  10283. CXX=$CCC
  10284. else
  10285. if test -n "$ac_tool_prefix"; then
  10286. for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
  10287. do
  10288. # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  10289. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  10290. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  10291. $as_echo_n "checking for $ac_word... " >&6; }
  10292. if ${ac_cv_prog_CXX+:} false; then :
  10293. $as_echo_n "(cached) " >&6
  10294. else
  10295. if test -n "$CXX"; then
  10296. ac_cv_prog_CXX="$CXX" # Let the user override the test.
  10297. else
  10298. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  10299. for as_dir in $PATH
  10300. do
  10301. IFS=$as_save_IFS
  10302. test -z "$as_dir" && as_dir=.
  10303. for ac_exec_ext in '' $ac_executable_extensions; do
  10304. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  10305. ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
  10306. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  10307. break 2
  10308. fi
  10309. done
  10310. done
  10311. IFS=$as_save_IFS
  10312. fi
  10313. fi
  10314. CXX=$ac_cv_prog_CXX
  10315. if test -n "$CXX"; then
  10316. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
  10317. $as_echo "$CXX" >&6; }
  10318. else
  10319. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  10320. $as_echo "no" >&6; }
  10321. fi
  10322. test -n "$CXX" && break
  10323. done
  10324. fi
  10325. if test -z "$CXX"; then
  10326. ac_ct_CXX=$CXX
  10327. for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
  10328. do
  10329. # Extract the first word of "$ac_prog", so it can be a program name with args.
  10330. set dummy $ac_prog; ac_word=$2
  10331. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  10332. $as_echo_n "checking for $ac_word... " >&6; }
  10333. if ${ac_cv_prog_ac_ct_CXX+:} false; then :
  10334. $as_echo_n "(cached) " >&6
  10335. else
  10336. if test -n "$ac_ct_CXX"; then
  10337. ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
  10338. else
  10339. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  10340. for as_dir in $PATH
  10341. do
  10342. IFS=$as_save_IFS
  10343. test -z "$as_dir" && as_dir=.
  10344. for ac_exec_ext in '' $ac_executable_extensions; do
  10345. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  10346. ac_cv_prog_ac_ct_CXX="$ac_prog"
  10347. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  10348. break 2
  10349. fi
  10350. done
  10351. done
  10352. IFS=$as_save_IFS
  10353. fi
  10354. fi
  10355. ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
  10356. if test -n "$ac_ct_CXX"; then
  10357. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
  10358. $as_echo "$ac_ct_CXX" >&6; }
  10359. else
  10360. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  10361. $as_echo "no" >&6; }
  10362. fi
  10363. test -n "$ac_ct_CXX" && break
  10364. done
  10365. if test "x$ac_ct_CXX" = x; then
  10366. CXX="g++"
  10367. else
  10368. case $cross_compiling:$ac_tool_warned in
  10369. yes:)
  10370. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  10371. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  10372. ac_tool_warned=yes ;;
  10373. esac
  10374. CXX=$ac_ct_CXX
  10375. fi
  10376. fi
  10377. fi
  10378. fi
  10379. # Provide some information about the compiler.
  10380. $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
  10381. set X $ac_compile
  10382. ac_compiler=$2
  10383. for ac_option in --version -v -V -qversion; do
  10384. { { ac_try="$ac_compiler $ac_option >&5"
  10385. case "(($ac_try" in
  10386. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  10387. *) ac_try_echo=$ac_try;;
  10388. esac
  10389. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  10390. $as_echo "$ac_try_echo"; } >&5
  10391. (eval "$ac_compiler $ac_option >&5") 2>conftest.err
  10392. ac_status=$?
  10393. if test -s conftest.err; then
  10394. sed '10a\
  10395. ... rest of stderr output deleted ...
  10396. 10q' conftest.err >conftest.er1
  10397. cat conftest.er1 >&5
  10398. fi
  10399. rm -f conftest.er1 conftest.err
  10400. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  10401. test $ac_status = 0; }
  10402. done
  10403. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
  10404. $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
  10405. if ${ac_cv_cxx_compiler_gnu+:} false; then :
  10406. $as_echo_n "(cached) " >&6
  10407. else
  10408. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10409. /* end confdefs.h. */
  10410. int
  10411. main ()
  10412. {
  10413. #ifndef __GNUC__
  10414. choke me
  10415. #endif
  10416. ;
  10417. return 0;
  10418. }
  10419. _ACEOF
  10420. if ac_fn_cxx_try_compile "$LINENO"; then :
  10421. ac_compiler_gnu=yes
  10422. else
  10423. ac_compiler_gnu=no
  10424. fi
  10425. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  10426. ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
  10427. fi
  10428. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
  10429. $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
  10430. if test $ac_compiler_gnu = yes; then
  10431. GXX=yes
  10432. else
  10433. GXX=
  10434. fi
  10435. ac_test_CXXFLAGS=${CXXFLAGS+set}
  10436. ac_save_CXXFLAGS=$CXXFLAGS
  10437. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
  10438. $as_echo_n "checking whether $CXX accepts -g... " >&6; }
  10439. if ${ac_cv_prog_cxx_g+:} false; then :
  10440. $as_echo_n "(cached) " >&6
  10441. else
  10442. ac_save_cxx_werror_flag=$ac_cxx_werror_flag
  10443. ac_cxx_werror_flag=yes
  10444. ac_cv_prog_cxx_g=no
  10445. CXXFLAGS="-g"
  10446. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10447. /* end confdefs.h. */
  10448. int
  10449. main ()
  10450. {
  10451. ;
  10452. return 0;
  10453. }
  10454. _ACEOF
  10455. if ac_fn_cxx_try_compile "$LINENO"; then :
  10456. ac_cv_prog_cxx_g=yes
  10457. else
  10458. CXXFLAGS=""
  10459. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10460. /* end confdefs.h. */
  10461. int
  10462. main ()
  10463. {
  10464. ;
  10465. return 0;
  10466. }
  10467. _ACEOF
  10468. if ac_fn_cxx_try_compile "$LINENO"; then :
  10469. else
  10470. ac_cxx_werror_flag=$ac_save_cxx_werror_flag
  10471. CXXFLAGS="-g"
  10472. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10473. /* end confdefs.h. */
  10474. int
  10475. main ()
  10476. {
  10477. ;
  10478. return 0;
  10479. }
  10480. _ACEOF
  10481. if ac_fn_cxx_try_compile "$LINENO"; then :
  10482. ac_cv_prog_cxx_g=yes
  10483. fi
  10484. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  10485. fi
  10486. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  10487. fi
  10488. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  10489. ac_cxx_werror_flag=$ac_save_cxx_werror_flag
  10490. fi
  10491. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
  10492. $as_echo "$ac_cv_prog_cxx_g" >&6; }
  10493. if test "$ac_test_CXXFLAGS" = set; then
  10494. CXXFLAGS=$ac_save_CXXFLAGS
  10495. elif test $ac_cv_prog_cxx_g = yes; then
  10496. if test "$GXX" = yes; then
  10497. CXXFLAGS="-g -O2"
  10498. else
  10499. CXXFLAGS="-g"
  10500. fi
  10501. else
  10502. if test "$GXX" = yes; then
  10503. CXXFLAGS="-O2"
  10504. else
  10505. CXXFLAGS=
  10506. fi
  10507. fi
  10508. ac_ext=c
  10509. ac_cpp='$CPP $CPPFLAGS'
  10510. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  10511. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  10512. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  10513. depcc="$CXX" am_compiler_list=
  10514. { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
  10515. $as_echo_n "checking dependency style of $depcc... " >&6; }
  10516. if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
  10517. $as_echo_n "(cached) " >&6
  10518. else
  10519. if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  10520. # We make a subdir and do the tests there. Otherwise we can end up
  10521. # making bogus files that we don't know about and never remove. For
  10522. # instance it was reported that on HP-UX the gcc test will end up
  10523. # making a dummy file named 'D' -- because '-MD' means "put the output
  10524. # in D".
  10525. rm -rf conftest.dir
  10526. mkdir conftest.dir
  10527. # Copy depcomp to subdir because otherwise we won't find it if we're
  10528. # using a relative directory.
  10529. cp "$am_depcomp" conftest.dir
  10530. cd conftest.dir
  10531. # We will build objects and dependencies in a subdirectory because
  10532. # it helps to detect inapplicable dependency modes. For instance
  10533. # both Tru64's cc and ICC support -MD to output dependencies as a
  10534. # side effect of compilation, but ICC will put the dependencies in
  10535. # the current directory while Tru64 will put them in the object
  10536. # directory.
  10537. mkdir sub
  10538. am_cv_CXX_dependencies_compiler_type=none
  10539. if test "$am_compiler_list" = ""; then
  10540. am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  10541. fi
  10542. am__universal=false
  10543. case " $depcc " in #(
  10544. *\ -arch\ *\ -arch\ *) am__universal=true ;;
  10545. esac
  10546. for depmode in $am_compiler_list; do
  10547. # Setup a source with many dependencies, because some compilers
  10548. # like to wrap large dependency lists on column 80 (with \), and
  10549. # we should not choose a depcomp mode which is confused by this.
  10550. #
  10551. # We need to recreate these files for each test, as the compiler may
  10552. # overwrite some of them when testing with obscure command lines.
  10553. # This happens at least with the AIX C compiler.
  10554. : > sub/conftest.c
  10555. for i in 1 2 3 4 5 6; do
  10556. echo '#include "conftst'$i'.h"' >> sub/conftest.c
  10557. # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
  10558. # Solaris 10 /bin/sh.
  10559. echo '/* dummy */' > sub/conftst$i.h
  10560. done
  10561. echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  10562. # We check with '-c' and '-o' for the sake of the "dashmstdout"
  10563. # mode. It turns out that the SunPro C++ compiler does not properly
  10564. # handle '-M -o', and we need to detect this. Also, some Intel
  10565. # versions had trouble with output in subdirs.
  10566. am__obj=sub/conftest.${OBJEXT-o}
  10567. am__minus_obj="-o $am__obj"
  10568. case $depmode in
  10569. gcc)
  10570. # This depmode causes a compiler race in universal mode.
  10571. test "$am__universal" = false || continue
  10572. ;;
  10573. nosideeffect)
  10574. # After this tag, mechanisms are not by side-effect, so they'll
  10575. # only be used when explicitly requested.
  10576. if test "x$enable_dependency_tracking" = xyes; then
  10577. continue
  10578. else
  10579. break
  10580. fi
  10581. ;;
  10582. msvc7 | msvc7msys | msvisualcpp | msvcmsys)
  10583. # This compiler won't grok '-c -o', but also, the minuso test has
  10584. # not run yet. These depmodes are late enough in the game, and
  10585. # so weak that their functioning should not be impacted.
  10586. am__obj=conftest.${OBJEXT-o}
  10587. am__minus_obj=
  10588. ;;
  10589. none) break ;;
  10590. esac
  10591. if depmode=$depmode \
  10592. source=sub/conftest.c object=$am__obj \
  10593. depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  10594. $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
  10595. >/dev/null 2>conftest.err &&
  10596. grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
  10597. grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  10598. grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
  10599. ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  10600. # icc doesn't choke on unknown options, it will just issue warnings
  10601. # or remarks (even with -Werror). So we grep stderr for any message
  10602. # that says an option was ignored or not supported.
  10603. # When given -MP, icc 7.0 and 7.1 complain thusly:
  10604. # icc: Command line warning: ignoring option '-M'; no argument required
  10605. # The diagnosis changed in icc 8.0:
  10606. # icc: Command line remark: option '-MP' not supported
  10607. if (grep 'ignoring option' conftest.err ||
  10608. grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  10609. am_cv_CXX_dependencies_compiler_type=$depmode
  10610. break
  10611. fi
  10612. fi
  10613. done
  10614. cd ..
  10615. rm -rf conftest.dir
  10616. else
  10617. am_cv_CXX_dependencies_compiler_type=none
  10618. fi
  10619. fi
  10620. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
  10621. $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
  10622. CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
  10623. if
  10624. test "x$enable_dependency_tracking" != xno \
  10625. && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
  10626. am__fastdepCXX_TRUE=
  10627. am__fastdepCXX_FALSE='#'
  10628. else
  10629. am__fastdepCXX_TRUE='#'
  10630. am__fastdepCXX_FALSE=
  10631. fi
  10632. func_stripname_cnf ()
  10633. {
  10634. case ${2} in
  10635. .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
  10636. *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
  10637. esac
  10638. } # func_stripname_cnf
  10639. if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
  10640. ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
  10641. (test "X$CXX" != "Xg++"))) ; then
  10642. ac_ext=cpp
  10643. ac_cpp='$CXXCPP $CPPFLAGS'
  10644. ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  10645. ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  10646. ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  10647. { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
  10648. $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
  10649. if test -z "$CXXCPP"; then
  10650. if ${ac_cv_prog_CXXCPP+:} false; then :
  10651. $as_echo_n "(cached) " >&6
  10652. else
  10653. # Double quotes because CXXCPP needs to be expanded
  10654. for CXXCPP in "$CXX -E" "/lib/cpp"
  10655. do
  10656. ac_preproc_ok=false
  10657. for ac_cxx_preproc_warn_flag in '' yes
  10658. do
  10659. # Use a header file that comes with gcc, so configuring glibc
  10660. # with a fresh cross-compiler works.
  10661. # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  10662. # <limits.h> exists even on freestanding compilers.
  10663. # On the NeXT, cc -E runs the code through the compiler's parser,
  10664. # not just through cpp. "Syntax error" is here to catch this case.
  10665. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10666. /* end confdefs.h. */
  10667. #ifdef __STDC__
  10668. # include <limits.h>
  10669. #else
  10670. # include <assert.h>
  10671. #endif
  10672. Syntax error
  10673. _ACEOF
  10674. if ac_fn_cxx_try_cpp "$LINENO"; then :
  10675. else
  10676. # Broken: fails on valid input.
  10677. continue
  10678. fi
  10679. rm -f conftest.err conftest.i conftest.$ac_ext
  10680. # OK, works on sane cases. Now check whether nonexistent headers
  10681. # can be detected and how.
  10682. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10683. /* end confdefs.h. */
  10684. #include <ac_nonexistent.h>
  10685. _ACEOF
  10686. if ac_fn_cxx_try_cpp "$LINENO"; then :
  10687. # Broken: success on invalid input.
  10688. continue
  10689. else
  10690. # Passes both tests.
  10691. ac_preproc_ok=:
  10692. break
  10693. fi
  10694. rm -f conftest.err conftest.i conftest.$ac_ext
  10695. done
  10696. # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  10697. rm -f conftest.i conftest.err conftest.$ac_ext
  10698. if $ac_preproc_ok; then :
  10699. break
  10700. fi
  10701. done
  10702. ac_cv_prog_CXXCPP=$CXXCPP
  10703. fi
  10704. CXXCPP=$ac_cv_prog_CXXCPP
  10705. else
  10706. ac_cv_prog_CXXCPP=$CXXCPP
  10707. fi
  10708. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
  10709. $as_echo "$CXXCPP" >&6; }
  10710. ac_preproc_ok=false
  10711. for ac_cxx_preproc_warn_flag in '' yes
  10712. do
  10713. # Use a header file that comes with gcc, so configuring glibc
  10714. # with a fresh cross-compiler works.
  10715. # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  10716. # <limits.h> exists even on freestanding compilers.
  10717. # On the NeXT, cc -E runs the code through the compiler's parser,
  10718. # not just through cpp. "Syntax error" is here to catch this case.
  10719. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10720. /* end confdefs.h. */
  10721. #ifdef __STDC__
  10722. # include <limits.h>
  10723. #else
  10724. # include <assert.h>
  10725. #endif
  10726. Syntax error
  10727. _ACEOF
  10728. if ac_fn_cxx_try_cpp "$LINENO"; then :
  10729. else
  10730. # Broken: fails on valid input.
  10731. continue
  10732. fi
  10733. rm -f conftest.err conftest.i conftest.$ac_ext
  10734. # OK, works on sane cases. Now check whether nonexistent headers
  10735. # can be detected and how.
  10736. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10737. /* end confdefs.h. */
  10738. #include <ac_nonexistent.h>
  10739. _ACEOF
  10740. if ac_fn_cxx_try_cpp "$LINENO"; then :
  10741. # Broken: success on invalid input.
  10742. continue
  10743. else
  10744. # Passes both tests.
  10745. ac_preproc_ok=:
  10746. break
  10747. fi
  10748. rm -f conftest.err conftest.i conftest.$ac_ext
  10749. done
  10750. # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  10751. rm -f conftest.i conftest.err conftest.$ac_ext
  10752. if $ac_preproc_ok; then :
  10753. else
  10754. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  10755. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  10756. as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
  10757. See \`config.log' for more details" "$LINENO" 5; }
  10758. fi
  10759. ac_ext=c
  10760. ac_cpp='$CPP $CPPFLAGS'
  10761. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  10762. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  10763. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  10764. else
  10765. _lt_caught_CXX_error=yes
  10766. fi
  10767. ac_ext=cpp
  10768. ac_cpp='$CXXCPP $CPPFLAGS'
  10769. ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  10770. ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  10771. ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  10772. archive_cmds_need_lc_CXX=no
  10773. allow_undefined_flag_CXX=
  10774. always_export_symbols_CXX=no
  10775. archive_expsym_cmds_CXX=
  10776. compiler_needs_object_CXX=no
  10777. export_dynamic_flag_spec_CXX=
  10778. hardcode_direct_CXX=no
  10779. hardcode_direct_absolute_CXX=no
  10780. hardcode_libdir_flag_spec_CXX=
  10781. hardcode_libdir_separator_CXX=
  10782. hardcode_minus_L_CXX=no
  10783. hardcode_shlibpath_var_CXX=unsupported
  10784. hardcode_automatic_CXX=no
  10785. inherit_rpath_CXX=no
  10786. module_cmds_CXX=
  10787. module_expsym_cmds_CXX=
  10788. link_all_deplibs_CXX=unknown
  10789. old_archive_cmds_CXX=$old_archive_cmds
  10790. reload_flag_CXX=$reload_flag
  10791. reload_cmds_CXX=$reload_cmds
  10792. no_undefined_flag_CXX=
  10793. whole_archive_flag_spec_CXX=
  10794. enable_shared_with_static_runtimes_CXX=no
  10795. # Source file extension for C++ test sources.
  10796. ac_ext=cpp
  10797. # Object file extension for compiled C++ test sources.
  10798. objext=o
  10799. objext_CXX=$objext
  10800. # No sense in running all these tests if we already determined that
  10801. # the CXX compiler isn't working. Some variables (like enable_shared)
  10802. # are currently assumed to apply to all compilers on this platform,
  10803. # and will be corrupted by setting them based on a non-working compiler.
  10804. if test "$_lt_caught_CXX_error" != yes; then
  10805. # Code to be used in simple compile tests
  10806. lt_simple_compile_test_code="int some_variable = 0;"
  10807. # Code to be used in simple link tests
  10808. lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
  10809. # ltmain only uses $CC for tagged configurations so make sure $CC is set.
  10810. # If no C compiler was specified, use CC.
  10811. LTCC=${LTCC-"$CC"}
  10812. # If no C compiler flags were specified, use CFLAGS.
  10813. LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
  10814. # Allow CC to be a program name with arguments.
  10815. compiler=$CC
  10816. # save warnings/boilerplate of simple test code
  10817. ac_outfile=conftest.$ac_objext
  10818. echo "$lt_simple_compile_test_code" >conftest.$ac_ext
  10819. eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  10820. _lt_compiler_boilerplate=`cat conftest.err`
  10821. $RM conftest*
  10822. ac_outfile=conftest.$ac_objext
  10823. echo "$lt_simple_link_test_code" >conftest.$ac_ext
  10824. eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  10825. _lt_linker_boilerplate=`cat conftest.err`
  10826. $RM -r conftest*
  10827. # Allow CC to be a program name with arguments.
  10828. lt_save_CC=$CC
  10829. lt_save_CFLAGS=$CFLAGS
  10830. lt_save_LD=$LD
  10831. lt_save_GCC=$GCC
  10832. GCC=$GXX
  10833. lt_save_with_gnu_ld=$with_gnu_ld
  10834. lt_save_path_LD=$lt_cv_path_LD
  10835. if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
  10836. lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
  10837. else
  10838. $as_unset lt_cv_prog_gnu_ld
  10839. fi
  10840. if test -n "${lt_cv_path_LDCXX+set}"; then
  10841. lt_cv_path_LD=$lt_cv_path_LDCXX
  10842. else
  10843. $as_unset lt_cv_path_LD
  10844. fi
  10845. test -z "${LDCXX+set}" || LD=$LDCXX
  10846. CC=${CXX-"c++"}
  10847. CFLAGS=$CXXFLAGS
  10848. compiler=$CC
  10849. compiler_CXX=$CC
  10850. for cc_temp in $compiler""; do
  10851. case $cc_temp in
  10852. compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
  10853. distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
  10854. \-*) ;;
  10855. *) break;;
  10856. esac
  10857. done
  10858. cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
  10859. if test -n "$compiler"; then
  10860. # We don't want -fno-exception when compiling C++ code, so set the
  10861. # no_builtin_flag separately
  10862. if test "$GXX" = yes; then
  10863. lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
  10864. else
  10865. lt_prog_compiler_no_builtin_flag_CXX=
  10866. fi
  10867. if test "$GXX" = yes; then
  10868. # Set up default GNU C++ configuration
  10869. # Check whether --with-gnu-ld was given.
  10870. if test "${with_gnu_ld+set}" = set; then :
  10871. withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
  10872. else
  10873. with_gnu_ld=no
  10874. fi
  10875. ac_prog=ld
  10876. if test "$GCC" = yes; then
  10877. # Check if gcc -print-prog-name=ld gives a path.
  10878. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
  10879. $as_echo_n "checking for ld used by $CC... " >&6; }
  10880. case $host in
  10881. *-*-mingw*)
  10882. # gcc leaves a trailing carriage return which upsets mingw
  10883. ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
  10884. *)
  10885. ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
  10886. esac
  10887. case $ac_prog in
  10888. # Accept absolute paths.
  10889. [\\/]* | ?:[\\/]*)
  10890. re_direlt='/[^/][^/]*/\.\./'
  10891. # Canonicalize the pathname of ld
  10892. ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
  10893. while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
  10894. ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
  10895. done
  10896. test -z "$LD" && LD="$ac_prog"
  10897. ;;
  10898. "")
  10899. # If it fails, then pretend we aren't using GCC.
  10900. ac_prog=ld
  10901. ;;
  10902. *)
  10903. # If it is relative, then search for the first ld in PATH.
  10904. with_gnu_ld=unknown
  10905. ;;
  10906. esac
  10907. elif test "$with_gnu_ld" = yes; then
  10908. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
  10909. $as_echo_n "checking for GNU ld... " >&6; }
  10910. else
  10911. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
  10912. $as_echo_n "checking for non-GNU ld... " >&6; }
  10913. fi
  10914. if ${lt_cv_path_LD+:} false; then :
  10915. $as_echo_n "(cached) " >&6
  10916. else
  10917. if test -z "$LD"; then
  10918. lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  10919. for ac_dir in $PATH; do
  10920. IFS="$lt_save_ifs"
  10921. test -z "$ac_dir" && ac_dir=.
  10922. if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
  10923. lt_cv_path_LD="$ac_dir/$ac_prog"
  10924. # Check to see if the program is GNU ld. I'd rather use --version,
  10925. # but apparently some variants of GNU ld only accept -v.
  10926. # Break only if it was the GNU/non-GNU ld that we prefer.
  10927. case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
  10928. *GNU* | *'with BFD'*)
  10929. test "$with_gnu_ld" != no && break
  10930. ;;
  10931. *)
  10932. test "$with_gnu_ld" != yes && break
  10933. ;;
  10934. esac
  10935. fi
  10936. done
  10937. IFS="$lt_save_ifs"
  10938. else
  10939. lt_cv_path_LD="$LD" # Let the user override the test with a path.
  10940. fi
  10941. fi
  10942. LD="$lt_cv_path_LD"
  10943. if test -n "$LD"; then
  10944. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
  10945. $as_echo "$LD" >&6; }
  10946. else
  10947. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  10948. $as_echo "no" >&6; }
  10949. fi
  10950. test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
  10951. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
  10952. $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
  10953. if ${lt_cv_prog_gnu_ld+:} false; then :
  10954. $as_echo_n "(cached) " >&6
  10955. else
  10956. # I'd rather use --version here, but apparently some GNU lds only accept -v.
  10957. case `$LD -v 2>&1 </dev/null` in
  10958. *GNU* | *'with BFD'*)
  10959. lt_cv_prog_gnu_ld=yes
  10960. ;;
  10961. *)
  10962. lt_cv_prog_gnu_ld=no
  10963. ;;
  10964. esac
  10965. fi
  10966. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
  10967. $as_echo "$lt_cv_prog_gnu_ld" >&6; }
  10968. with_gnu_ld=$lt_cv_prog_gnu_ld
  10969. # Check if GNU C++ uses GNU ld as the underlying linker, since the
  10970. # archiving commands below assume that GNU ld is being used.
  10971. if test "$with_gnu_ld" = yes; then
  10972. archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
  10973. archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  10974. hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
  10975. export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
  10976. # If archive_cmds runs LD, not CC, wlarc should be empty
  10977. # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
  10978. # investigate it a little bit more. (MM)
  10979. wlarc='${wl}'
  10980. # ancient GNU ld didn't support --whole-archive et. al.
  10981. if eval "`$CC -print-prog-name=ld` --help 2>&1" |
  10982. $GREP 'no-whole-archive' > /dev/null; then
  10983. whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
  10984. else
  10985. whole_archive_flag_spec_CXX=
  10986. fi
  10987. else
  10988. with_gnu_ld=no
  10989. wlarc=
  10990. # A generic and very simple default shared library creation
  10991. # command for GNU C++ for the case where it uses the native
  10992. # linker, instead of GNU ld. If possible, this setting should
  10993. # overridden to take advantage of the native linker features on
  10994. # the platform it is being used on.
  10995. archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
  10996. fi
  10997. # Commands to make compiler produce verbose output that lists
  10998. # what "hidden" libraries, object files and flags are used when
  10999. # linking a shared library.
  11000. output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
  11001. else
  11002. GXX=no
  11003. with_gnu_ld=no
  11004. wlarc=
  11005. fi
  11006. # PORTME: fill in a description of your system's C++ link characteristics
  11007. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
  11008. $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
  11009. ld_shlibs_CXX=yes
  11010. case $host_os in
  11011. aix3*)
  11012. # FIXME: insert proper C++ library support
  11013. ld_shlibs_CXX=no
  11014. ;;
  11015. aix[4-9]*)
  11016. if test "$host_cpu" = ia64; then
  11017. # On IA64, the linker does run time linking by default, so we don't
  11018. # have to do anything special.
  11019. aix_use_runtimelinking=no
  11020. exp_sym_flag='-Bexport'
  11021. no_entry_flag=""
  11022. else
  11023. aix_use_runtimelinking=no
  11024. # Test if we are trying to use run time linking or normal
  11025. # AIX style linking. If -brtl is somewhere in LDFLAGS, we
  11026. # need to do runtime linking.
  11027. case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
  11028. for ld_flag in $LDFLAGS; do
  11029. case $ld_flag in
  11030. *-brtl*)
  11031. aix_use_runtimelinking=yes
  11032. break
  11033. ;;
  11034. esac
  11035. done
  11036. ;;
  11037. esac
  11038. exp_sym_flag='-bexport'
  11039. no_entry_flag='-bnoentry'
  11040. fi
  11041. # When large executables or shared objects are built, AIX ld can
  11042. # have problems creating the table of contents. If linking a library
  11043. # or program results in "error TOC overflow" add -mminimal-toc to
  11044. # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
  11045. # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
  11046. archive_cmds_CXX=''
  11047. hardcode_direct_CXX=yes
  11048. hardcode_direct_absolute_CXX=yes
  11049. hardcode_libdir_separator_CXX=':'
  11050. link_all_deplibs_CXX=yes
  11051. file_list_spec_CXX='${wl}-f,'
  11052. if test "$GXX" = yes; then
  11053. case $host_os in aix4.[012]|aix4.[012].*)
  11054. # We only want to do this on AIX 4.2 and lower, the check
  11055. # below for broken collect2 doesn't work under 4.3+
  11056. collect2name=`${CC} -print-prog-name=collect2`
  11057. if test -f "$collect2name" &&
  11058. strings "$collect2name" | $GREP resolve_lib_name >/dev/null
  11059. then
  11060. # We have reworked collect2
  11061. :
  11062. else
  11063. # We have old collect2
  11064. hardcode_direct_CXX=unsupported
  11065. # It fails to find uninstalled libraries when the uninstalled
  11066. # path is not listed in the libpath. Setting hardcode_minus_L
  11067. # to unsupported forces relinking
  11068. hardcode_minus_L_CXX=yes
  11069. hardcode_libdir_flag_spec_CXX='-L$libdir'
  11070. hardcode_libdir_separator_CXX=
  11071. fi
  11072. esac
  11073. shared_flag='-shared'
  11074. if test "$aix_use_runtimelinking" = yes; then
  11075. shared_flag="$shared_flag "'${wl}-G'
  11076. fi
  11077. else
  11078. # not using gcc
  11079. if test "$host_cpu" = ia64; then
  11080. # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
  11081. # chokes on -Wl,-G. The following line is correct:
  11082. shared_flag='-G'
  11083. else
  11084. if test "$aix_use_runtimelinking" = yes; then
  11085. shared_flag='${wl}-G'
  11086. else
  11087. shared_flag='${wl}-bM:SRE'
  11088. fi
  11089. fi
  11090. fi
  11091. export_dynamic_flag_spec_CXX='${wl}-bexpall'
  11092. # It seems that -bexpall does not export symbols beginning with
  11093. # underscore (_), so it is better to generate a list of symbols to
  11094. # export.
  11095. always_export_symbols_CXX=yes
  11096. if test "$aix_use_runtimelinking" = yes; then
  11097. # Warning - without using the other runtime loading flags (-brtl),
  11098. # -berok will link without error, but may produce a broken library.
  11099. allow_undefined_flag_CXX='-berok'
  11100. # Determine the default libpath from the value encoded in an empty
  11101. # executable.
  11102. if test "${lt_cv_aix_libpath+set}" = set; then
  11103. aix_libpath=$lt_cv_aix_libpath
  11104. else
  11105. if ${lt_cv_aix_libpath__CXX+:} false; then :
  11106. $as_echo_n "(cached) " >&6
  11107. else
  11108. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11109. /* end confdefs.h. */
  11110. int
  11111. main ()
  11112. {
  11113. ;
  11114. return 0;
  11115. }
  11116. _ACEOF
  11117. if ac_fn_cxx_try_link "$LINENO"; then :
  11118. lt_aix_libpath_sed='
  11119. /Import File Strings/,/^$/ {
  11120. /^0/ {
  11121. s/^0 *\([^ ]*\) *$/\1/
  11122. p
  11123. }
  11124. }'
  11125. lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  11126. # Check for a 64-bit object if we didn't find anything.
  11127. if test -z "$lt_cv_aix_libpath__CXX"; then
  11128. lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  11129. fi
  11130. fi
  11131. rm -f core conftest.err conftest.$ac_objext \
  11132. conftest$ac_exeext conftest.$ac_ext
  11133. if test -z "$lt_cv_aix_libpath__CXX"; then
  11134. lt_cv_aix_libpath__CXX="/usr/lib:/lib"
  11135. fi
  11136. fi
  11137. aix_libpath=$lt_cv_aix_libpath__CXX
  11138. fi
  11139. hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
  11140. archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
  11141. else
  11142. if test "$host_cpu" = ia64; then
  11143. hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
  11144. allow_undefined_flag_CXX="-z nodefs"
  11145. 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"
  11146. else
  11147. # Determine the default libpath from the value encoded in an
  11148. # empty executable.
  11149. if test "${lt_cv_aix_libpath+set}" = set; then
  11150. aix_libpath=$lt_cv_aix_libpath
  11151. else
  11152. if ${lt_cv_aix_libpath__CXX+:} false; then :
  11153. $as_echo_n "(cached) " >&6
  11154. else
  11155. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11156. /* end confdefs.h. */
  11157. int
  11158. main ()
  11159. {
  11160. ;
  11161. return 0;
  11162. }
  11163. _ACEOF
  11164. if ac_fn_cxx_try_link "$LINENO"; then :
  11165. lt_aix_libpath_sed='
  11166. /Import File Strings/,/^$/ {
  11167. /^0/ {
  11168. s/^0 *\([^ ]*\) *$/\1/
  11169. p
  11170. }
  11171. }'
  11172. lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  11173. # Check for a 64-bit object if we didn't find anything.
  11174. if test -z "$lt_cv_aix_libpath__CXX"; then
  11175. lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  11176. fi
  11177. fi
  11178. rm -f core conftest.err conftest.$ac_objext \
  11179. conftest$ac_exeext conftest.$ac_ext
  11180. if test -z "$lt_cv_aix_libpath__CXX"; then
  11181. lt_cv_aix_libpath__CXX="/usr/lib:/lib"
  11182. fi
  11183. fi
  11184. aix_libpath=$lt_cv_aix_libpath__CXX
  11185. fi
  11186. hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
  11187. # Warning - without using the other run time loading flags,
  11188. # -berok will link without error, but may produce a broken library.
  11189. no_undefined_flag_CXX=' ${wl}-bernotok'
  11190. allow_undefined_flag_CXX=' ${wl}-berok'
  11191. if test "$with_gnu_ld" = yes; then
  11192. # We only use this code for GNU lds that support --whole-archive.
  11193. whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
  11194. else
  11195. # Exported symbols can be pulled into shared objects from archives
  11196. whole_archive_flag_spec_CXX='$convenience'
  11197. fi
  11198. archive_cmds_need_lc_CXX=yes
  11199. # This is similar to how AIX traditionally builds its shared
  11200. # libraries.
  11201. 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'
  11202. fi
  11203. fi
  11204. ;;
  11205. beos*)
  11206. if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  11207. allow_undefined_flag_CXX=unsupported
  11208. # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
  11209. # support --undefined. This deserves some investigation. FIXME
  11210. archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  11211. else
  11212. ld_shlibs_CXX=no
  11213. fi
  11214. ;;
  11215. chorus*)
  11216. case $cc_basename in
  11217. *)
  11218. # FIXME: insert proper C++ library support
  11219. ld_shlibs_CXX=no
  11220. ;;
  11221. esac
  11222. ;;
  11223. cygwin* | mingw* | pw32* | cegcc*)
  11224. case $GXX,$cc_basename in
  11225. ,cl* | no,cl*)
  11226. # Native MSVC
  11227. # hardcode_libdir_flag_spec is actually meaningless, as there is
  11228. # no search path for DLLs.
  11229. hardcode_libdir_flag_spec_CXX=' '
  11230. allow_undefined_flag_CXX=unsupported
  11231. always_export_symbols_CXX=yes
  11232. file_list_spec_CXX='@'
  11233. # Tell ltmain to make .lib files, not .a files.
  11234. libext=lib
  11235. # Tell ltmain to make .dll files, not .so files.
  11236. shrext_cmds=".dll"
  11237. # FIXME: Setting linknames here is a bad hack.
  11238. archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
  11239. archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
  11240. $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
  11241. else
  11242. $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
  11243. fi~
  11244. $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
  11245. linknames='
  11246. # The linker will not automatically build a static lib if we build a DLL.
  11247. # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
  11248. enable_shared_with_static_runtimes_CXX=yes
  11249. # Don't use ranlib
  11250. old_postinstall_cmds_CXX='chmod 644 $oldlib'
  11251. postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
  11252. lt_tool_outputfile="@TOOL_OUTPUT@"~
  11253. case $lt_outputfile in
  11254. *.exe|*.EXE) ;;
  11255. *)
  11256. lt_outputfile="$lt_outputfile.exe"
  11257. lt_tool_outputfile="$lt_tool_outputfile.exe"
  11258. ;;
  11259. esac~
  11260. func_to_tool_file "$lt_outputfile"~
  11261. if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
  11262. $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
  11263. $RM "$lt_outputfile.manifest";
  11264. fi'
  11265. ;;
  11266. *)
  11267. # g++
  11268. # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
  11269. # as there is no search path for DLLs.
  11270. hardcode_libdir_flag_spec_CXX='-L$libdir'
  11271. export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
  11272. allow_undefined_flag_CXX=unsupported
  11273. always_export_symbols_CXX=no
  11274. enable_shared_with_static_runtimes_CXX=yes
  11275. if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
  11276. 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'
  11277. # If the export-symbols file already is a .def file (1st line
  11278. # is EXPORTS), use it as is; otherwise, prepend...
  11279. archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
  11280. cp $export_symbols $output_objdir/$soname.def;
  11281. else
  11282. echo EXPORTS > $output_objdir/$soname.def;
  11283. cat $export_symbols >> $output_objdir/$soname.def;
  11284. fi~
  11285. $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'
  11286. else
  11287. ld_shlibs_CXX=no
  11288. fi
  11289. ;;
  11290. esac
  11291. ;;
  11292. darwin* | rhapsody*)
  11293. archive_cmds_need_lc_CXX=no
  11294. hardcode_direct_CXX=no
  11295. hardcode_automatic_CXX=yes
  11296. hardcode_shlibpath_var_CXX=unsupported
  11297. if test "$lt_cv_ld_force_load" = "yes"; then
  11298. whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
  11299. else
  11300. whole_archive_flag_spec_CXX=''
  11301. fi
  11302. link_all_deplibs_CXX=yes
  11303. allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
  11304. case $cc_basename in
  11305. ifort*) _lt_dar_can_shared=yes ;;
  11306. *) _lt_dar_can_shared=$GCC ;;
  11307. esac
  11308. if test "$_lt_dar_can_shared" = "yes"; then
  11309. output_verbose_link_cmd=func_echo_all
  11310. 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}"
  11311. module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
  11312. 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}"
  11313. 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}"
  11314. if test "$lt_cv_apple_cc_single_mod" != "yes"; then
  11315. 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}"
  11316. 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}"
  11317. fi
  11318. else
  11319. ld_shlibs_CXX=no
  11320. fi
  11321. ;;
  11322. dgux*)
  11323. case $cc_basename in
  11324. ec++*)
  11325. # FIXME: insert proper C++ library support
  11326. ld_shlibs_CXX=no
  11327. ;;
  11328. ghcx*)
  11329. # Green Hills C++ Compiler
  11330. # FIXME: insert proper C++ library support
  11331. ld_shlibs_CXX=no
  11332. ;;
  11333. *)
  11334. # FIXME: insert proper C++ library support
  11335. ld_shlibs_CXX=no
  11336. ;;
  11337. esac
  11338. ;;
  11339. freebsd2.*)
  11340. # C++ shared libraries reported to be fairly broken before
  11341. # switch to ELF
  11342. ld_shlibs_CXX=no
  11343. ;;
  11344. freebsd-elf*)
  11345. archive_cmds_need_lc_CXX=no
  11346. ;;
  11347. freebsd* | dragonfly*)
  11348. # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
  11349. # conventions
  11350. ld_shlibs_CXX=yes
  11351. ;;
  11352. haiku*)
  11353. archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  11354. link_all_deplibs_CXX=yes
  11355. ;;
  11356. hpux9*)
  11357. hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
  11358. hardcode_libdir_separator_CXX=:
  11359. export_dynamic_flag_spec_CXX='${wl}-E'
  11360. hardcode_direct_CXX=yes
  11361. hardcode_minus_L_CXX=yes # Not in the search PATH,
  11362. # but as the default
  11363. # location of the library.
  11364. case $cc_basename in
  11365. CC*)
  11366. # FIXME: insert proper C++ library support
  11367. ld_shlibs_CXX=no
  11368. ;;
  11369. aCC*)
  11370. 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'
  11371. # Commands to make compiler produce verbose output that lists
  11372. # what "hidden" libraries, object files and flags are used when
  11373. # linking a shared library.
  11374. #
  11375. # There doesn't appear to be a way to prevent this compiler from
  11376. # explicitly linking system object files so we need to strip them
  11377. # from the output so that they don't get included in the library
  11378. # dependencies.
  11379. output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
  11380. ;;
  11381. *)
  11382. if test "$GXX" = yes; then
  11383. archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag ${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'
  11384. else
  11385. # FIXME: insert proper C++ library support
  11386. ld_shlibs_CXX=no
  11387. fi
  11388. ;;
  11389. esac
  11390. ;;
  11391. hpux10*|hpux11*)
  11392. if test $with_gnu_ld = no; then
  11393. hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
  11394. hardcode_libdir_separator_CXX=:
  11395. case $host_cpu in
  11396. hppa*64*|ia64*)
  11397. ;;
  11398. *)
  11399. export_dynamic_flag_spec_CXX='${wl}-E'
  11400. ;;
  11401. esac
  11402. fi
  11403. case $host_cpu in
  11404. hppa*64*|ia64*)
  11405. hardcode_direct_CXX=no
  11406. hardcode_shlibpath_var_CXX=no
  11407. ;;
  11408. *)
  11409. hardcode_direct_CXX=yes
  11410. hardcode_direct_absolute_CXX=yes
  11411. hardcode_minus_L_CXX=yes # Not in the search PATH,
  11412. # but as the default
  11413. # location of the library.
  11414. ;;
  11415. esac
  11416. case $cc_basename in
  11417. CC*)
  11418. # FIXME: insert proper C++ library support
  11419. ld_shlibs_CXX=no
  11420. ;;
  11421. aCC*)
  11422. case $host_cpu in
  11423. hppa*64*)
  11424. archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  11425. ;;
  11426. ia64*)
  11427. archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  11428. ;;
  11429. *)
  11430. archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  11431. ;;
  11432. esac
  11433. # Commands to make compiler produce verbose output that lists
  11434. # what "hidden" libraries, object files and flags are used when
  11435. # linking a shared library.
  11436. #
  11437. # There doesn't appear to be a way to prevent this compiler from
  11438. # explicitly linking system object files so we need to strip them
  11439. # from the output so that they don't get included in the library
  11440. # dependencies.
  11441. output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
  11442. ;;
  11443. *)
  11444. if test "$GXX" = yes; then
  11445. if test $with_gnu_ld = no; then
  11446. case $host_cpu in
  11447. hppa*64*)
  11448. archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  11449. ;;
  11450. ia64*)
  11451. archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  11452. ;;
  11453. *)
  11454. archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  11455. ;;
  11456. esac
  11457. fi
  11458. else
  11459. # FIXME: insert proper C++ library support
  11460. ld_shlibs_CXX=no
  11461. fi
  11462. ;;
  11463. esac
  11464. ;;
  11465. interix[3-9]*)
  11466. hardcode_direct_CXX=no
  11467. hardcode_shlibpath_var_CXX=no
  11468. hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
  11469. export_dynamic_flag_spec_CXX='${wl}-E'
  11470. # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
  11471. # Instead, shared libraries are loaded at an image base (0x10000000 by
  11472. # default) and relocated if they conflict, which is a slow very memory
  11473. # consuming and fragmenting process. To avoid this, we pick a random,
  11474. # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
  11475. # time. Moving up from 0x10000000 also allows more sbrk(2) space.
  11476. 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'
  11477. 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'
  11478. ;;
  11479. irix5* | irix6*)
  11480. case $cc_basename in
  11481. CC*)
  11482. # SGI C++
  11483. archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
  11484. # Archives containing C++ object files must be created using
  11485. # "CC -ar", where "CC" is the IRIX C++ compiler. This is
  11486. # necessary to make sure instantiated templates are included
  11487. # in the archive.
  11488. old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
  11489. ;;
  11490. *)
  11491. if test "$GXX" = yes; then
  11492. if test "$with_gnu_ld" = no; then
  11493. archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  11494. else
  11495. archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
  11496. fi
  11497. fi
  11498. link_all_deplibs_CXX=yes
  11499. ;;
  11500. esac
  11501. hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
  11502. hardcode_libdir_separator_CXX=:
  11503. inherit_rpath_CXX=yes
  11504. ;;
  11505. linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
  11506. case $cc_basename in
  11507. KCC*)
  11508. # Kuck and Associates, Inc. (KAI) C++ Compiler
  11509. # KCC will only create a shared library if the output file
  11510. # ends with ".so" (or ".sl" for HP-UX), so rename the library
  11511. # to its proper name (with version) after linking.
  11512. 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'
  11513. 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'
  11514. # Commands to make compiler produce verbose output that lists
  11515. # what "hidden" libraries, object files and flags are used when
  11516. # linking a shared library.
  11517. #
  11518. # There doesn't appear to be a way to prevent this compiler from
  11519. # explicitly linking system object files so we need to strip them
  11520. # from the output so that they don't get included in the library
  11521. # dependencies.
  11522. output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
  11523. hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
  11524. export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
  11525. # Archives containing C++ object files must be created using
  11526. # "CC -Bstatic", where "CC" is the KAI C++ compiler.
  11527. old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
  11528. ;;
  11529. icpc* | ecpc* )
  11530. # Intel C++
  11531. with_gnu_ld=yes
  11532. # version 8.0 and above of icpc choke on multiply defined symbols
  11533. # if we add $predep_objects and $postdep_objects, however 7.1 and
  11534. # earlier do not add the objects themselves.
  11535. case `$CC -V 2>&1` in
  11536. *"Version 7."*)
  11537. archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
  11538. 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'
  11539. ;;
  11540. *) # Version 8.0 or newer
  11541. tmp_idyn=
  11542. case $host_cpu in
  11543. ia64*) tmp_idyn=' -i_dynamic';;
  11544. esac
  11545. archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  11546. 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'
  11547. ;;
  11548. esac
  11549. archive_cmds_need_lc_CXX=no
  11550. hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
  11551. export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
  11552. whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
  11553. ;;
  11554. pgCC* | pgcpp*)
  11555. # Portland Group C++ compiler
  11556. case `$CC -V` in
  11557. *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
  11558. prelink_cmds_CXX='tpldir=Template.dir~
  11559. rm -rf $tpldir~
  11560. $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
  11561. compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
  11562. old_archive_cmds_CXX='tpldir=Template.dir~
  11563. rm -rf $tpldir~
  11564. $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
  11565. $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
  11566. $RANLIB $oldlib'
  11567. archive_cmds_CXX='tpldir=Template.dir~
  11568. rm -rf $tpldir~
  11569. $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
  11570. $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
  11571. archive_expsym_cmds_CXX='tpldir=Template.dir~
  11572. rm -rf $tpldir~
  11573. $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
  11574. $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
  11575. ;;
  11576. *) # Version 6 and above use weak symbols
  11577. archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
  11578. 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'
  11579. ;;
  11580. esac
  11581. hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
  11582. export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
  11583. whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
  11584. ;;
  11585. cxx*)
  11586. # Compaq C++
  11587. archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
  11588. 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'
  11589. runpath_var=LD_RUN_PATH
  11590. hardcode_libdir_flag_spec_CXX='-rpath $libdir'
  11591. hardcode_libdir_separator_CXX=:
  11592. # Commands to make compiler produce verbose output that lists
  11593. # what "hidden" libraries, object files and flags are used when
  11594. # linking a shared library.
  11595. #
  11596. # There doesn't appear to be a way to prevent this compiler from
  11597. # explicitly linking system object files so we need to strip them
  11598. # from the output so that they don't get included in the library
  11599. # dependencies.
  11600. output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
  11601. ;;
  11602. xl* | mpixl* | bgxl*)
  11603. # IBM XL 8.0 on PPC, with GNU ld
  11604. hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
  11605. export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
  11606. archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  11607. if test "x$supports_anon_versioning" = xyes; then
  11608. archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
  11609. cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  11610. echo "local: *; };" >> $output_objdir/$libname.ver~
  11611. $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
  11612. fi
  11613. ;;
  11614. *)
  11615. case `$CC -V 2>&1 | sed 5q` in
  11616. *Sun\ C*)
  11617. # Sun C++ 5.9
  11618. no_undefined_flag_CXX=' -zdefs'
  11619. archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  11620. 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'
  11621. hardcode_libdir_flag_spec_CXX='-R$libdir'
  11622. whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
  11623. compiler_needs_object_CXX=yes
  11624. # Not sure whether something based on
  11625. # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
  11626. # would be better.
  11627. output_verbose_link_cmd='func_echo_all'
  11628. # Archives containing C++ object files must be created using
  11629. # "CC -xar", where "CC" is the Sun C++ compiler. This is
  11630. # necessary to make sure instantiated templates are included
  11631. # in the archive.
  11632. old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
  11633. ;;
  11634. esac
  11635. ;;
  11636. esac
  11637. ;;
  11638. lynxos*)
  11639. # FIXME: insert proper C++ library support
  11640. ld_shlibs_CXX=no
  11641. ;;
  11642. m88k*)
  11643. # FIXME: insert proper C++ library support
  11644. ld_shlibs_CXX=no
  11645. ;;
  11646. mvs*)
  11647. case $cc_basename in
  11648. cxx*)
  11649. # FIXME: insert proper C++ library support
  11650. ld_shlibs_CXX=no
  11651. ;;
  11652. *)
  11653. # FIXME: insert proper C++ library support
  11654. ld_shlibs_CXX=no
  11655. ;;
  11656. esac
  11657. ;;
  11658. netbsd*)
  11659. if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  11660. archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
  11661. wlarc=
  11662. hardcode_libdir_flag_spec_CXX='-R$libdir'
  11663. hardcode_direct_CXX=yes
  11664. hardcode_shlibpath_var_CXX=no
  11665. fi
  11666. # Workaround some broken pre-1.5 toolchains
  11667. output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
  11668. ;;
  11669. *nto* | *qnx*)
  11670. ld_shlibs_CXX=yes
  11671. ;;
  11672. openbsd2*)
  11673. # C++ shared libraries are fairly broken
  11674. ld_shlibs_CXX=no
  11675. ;;
  11676. openbsd*)
  11677. if test -f /usr/libexec/ld.so; then
  11678. hardcode_direct_CXX=yes
  11679. hardcode_shlibpath_var_CXX=no
  11680. hardcode_direct_absolute_CXX=yes
  11681. archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
  11682. hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
  11683. if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  11684. archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
  11685. export_dynamic_flag_spec_CXX='${wl}-E'
  11686. whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
  11687. fi
  11688. output_verbose_link_cmd=func_echo_all
  11689. else
  11690. ld_shlibs_CXX=no
  11691. fi
  11692. ;;
  11693. osf3* | osf4* | osf5*)
  11694. case $cc_basename in
  11695. KCC*)
  11696. # Kuck and Associates, Inc. (KAI) C++ Compiler
  11697. # KCC will only create a shared library if the output file
  11698. # ends with ".so" (or ".sl" for HP-UX), so rename the library
  11699. # to its proper name (with version) after linking.
  11700. 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'
  11701. hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
  11702. hardcode_libdir_separator_CXX=:
  11703. # Archives containing C++ object files must be created using
  11704. # the KAI C++ compiler.
  11705. case $host in
  11706. osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
  11707. *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
  11708. esac
  11709. ;;
  11710. RCC*)
  11711. # Rational C++ 2.4.1
  11712. # FIXME: insert proper C++ library support
  11713. ld_shlibs_CXX=no
  11714. ;;
  11715. cxx*)
  11716. case $host in
  11717. osf3*)
  11718. allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
  11719. archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
  11720. hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
  11721. ;;
  11722. *)
  11723. allow_undefined_flag_CXX=' -expect_unresolved \*'
  11724. archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
  11725. archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
  11726. echo "-hidden">> $lib.exp~
  11727. $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
  11728. $RM $lib.exp'
  11729. hardcode_libdir_flag_spec_CXX='-rpath $libdir'
  11730. ;;
  11731. esac
  11732. hardcode_libdir_separator_CXX=:
  11733. # Commands to make compiler produce verbose output that lists
  11734. # what "hidden" libraries, object files and flags are used when
  11735. # linking a shared library.
  11736. #
  11737. # There doesn't appear to be a way to prevent this compiler from
  11738. # explicitly linking system object files so we need to strip them
  11739. # from the output so that they don't get included in the library
  11740. # dependencies.
  11741. output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
  11742. ;;
  11743. *)
  11744. if test "$GXX" = yes && test "$with_gnu_ld" = no; then
  11745. allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
  11746. case $host in
  11747. osf3*)
  11748. archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  11749. ;;
  11750. *)
  11751. archive_cmds_CXX='$CC -shared $pic_flag -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  11752. ;;
  11753. esac
  11754. hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
  11755. hardcode_libdir_separator_CXX=:
  11756. # Commands to make compiler produce verbose output that lists
  11757. # what "hidden" libraries, object files and flags are used when
  11758. # linking a shared library.
  11759. output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
  11760. else
  11761. # FIXME: insert proper C++ library support
  11762. ld_shlibs_CXX=no
  11763. fi
  11764. ;;
  11765. esac
  11766. ;;
  11767. psos*)
  11768. # FIXME: insert proper C++ library support
  11769. ld_shlibs_CXX=no
  11770. ;;
  11771. sunos4*)
  11772. case $cc_basename in
  11773. CC*)
  11774. # Sun C++ 4.x
  11775. # FIXME: insert proper C++ library support
  11776. ld_shlibs_CXX=no
  11777. ;;
  11778. lcc*)
  11779. # Lucid
  11780. # FIXME: insert proper C++ library support
  11781. ld_shlibs_CXX=no
  11782. ;;
  11783. *)
  11784. # FIXME: insert proper C++ library support
  11785. ld_shlibs_CXX=no
  11786. ;;
  11787. esac
  11788. ;;
  11789. solaris*)
  11790. case $cc_basename in
  11791. CC* | sunCC*)
  11792. # Sun C++ 4.2, 5.x and Centerline C++
  11793. archive_cmds_need_lc_CXX=yes
  11794. no_undefined_flag_CXX=' -zdefs'
  11795. archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  11796. archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  11797. $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'
  11798. hardcode_libdir_flag_spec_CXX='-R$libdir'
  11799. hardcode_shlibpath_var_CXX=no
  11800. case $host_os in
  11801. solaris2.[0-5] | solaris2.[0-5].*) ;;
  11802. *)
  11803. # The compiler driver will combine and reorder linker options,
  11804. # but understands `-z linker_flag'.
  11805. # Supported since Solaris 2.6 (maybe 2.5.1?)
  11806. whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
  11807. ;;
  11808. esac
  11809. link_all_deplibs_CXX=yes
  11810. output_verbose_link_cmd='func_echo_all'
  11811. # Archives containing C++ object files must be created using
  11812. # "CC -xar", where "CC" is the Sun C++ compiler. This is
  11813. # necessary to make sure instantiated templates are included
  11814. # in the archive.
  11815. old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
  11816. ;;
  11817. gcx*)
  11818. # Green Hills C++ Compiler
  11819. archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
  11820. # The C++ compiler must be used to create the archive.
  11821. old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
  11822. ;;
  11823. *)
  11824. # GNU C++ compiler with Solaris linker
  11825. if test "$GXX" = yes && test "$with_gnu_ld" = no; then
  11826. no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
  11827. if $CC --version | $GREP -v '^2\.7' > /dev/null; then
  11828. archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
  11829. archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  11830. $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
  11831. # Commands to make compiler produce verbose output that lists
  11832. # what "hidden" libraries, object files and flags are used when
  11833. # linking a shared library.
  11834. output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
  11835. else
  11836. # g++ 2.7 appears to require `-G' NOT `-shared' on this
  11837. # platform.
  11838. archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
  11839. archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  11840. $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
  11841. # Commands to make compiler produce verbose output that lists
  11842. # what "hidden" libraries, object files and flags are used when
  11843. # linking a shared library.
  11844. output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
  11845. fi
  11846. hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
  11847. case $host_os in
  11848. solaris2.[0-5] | solaris2.[0-5].*) ;;
  11849. *)
  11850. whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
  11851. ;;
  11852. esac
  11853. fi
  11854. ;;
  11855. esac
  11856. ;;
  11857. sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
  11858. no_undefined_flag_CXX='${wl}-z,text'
  11859. archive_cmds_need_lc_CXX=no
  11860. hardcode_shlibpath_var_CXX=no
  11861. runpath_var='LD_RUN_PATH'
  11862. case $cc_basename in
  11863. CC*)
  11864. archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  11865. archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  11866. ;;
  11867. *)
  11868. archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  11869. archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  11870. ;;
  11871. esac
  11872. ;;
  11873. sysv5* | sco3.2v5* | sco5v6*)
  11874. # Note: We can NOT use -z defs as we might desire, because we do not
  11875. # link with -lc, and that would cause any symbols used from libc to
  11876. # always be unresolved, which means just about no library would
  11877. # ever link correctly. If we're not using GNU ld we use -z text
  11878. # though, which does catch some bad symbols but isn't as heavy-handed
  11879. # as -z defs.
  11880. no_undefined_flag_CXX='${wl}-z,text'
  11881. allow_undefined_flag_CXX='${wl}-z,nodefs'
  11882. archive_cmds_need_lc_CXX=no
  11883. hardcode_shlibpath_var_CXX=no
  11884. hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
  11885. hardcode_libdir_separator_CXX=':'
  11886. link_all_deplibs_CXX=yes
  11887. export_dynamic_flag_spec_CXX='${wl}-Bexport'
  11888. runpath_var='LD_RUN_PATH'
  11889. case $cc_basename in
  11890. CC*)
  11891. archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  11892. archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  11893. old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
  11894. '"$old_archive_cmds_CXX"
  11895. reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
  11896. '"$reload_cmds_CXX"
  11897. ;;
  11898. *)
  11899. archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  11900. archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  11901. ;;
  11902. esac
  11903. ;;
  11904. tandem*)
  11905. case $cc_basename in
  11906. NCC*)
  11907. # NonStop-UX NCC 3.20
  11908. # FIXME: insert proper C++ library support
  11909. ld_shlibs_CXX=no
  11910. ;;
  11911. *)
  11912. # FIXME: insert proper C++ library support
  11913. ld_shlibs_CXX=no
  11914. ;;
  11915. esac
  11916. ;;
  11917. vxworks*)
  11918. # FIXME: insert proper C++ library support
  11919. ld_shlibs_CXX=no
  11920. ;;
  11921. *)
  11922. # FIXME: insert proper C++ library support
  11923. ld_shlibs_CXX=no
  11924. ;;
  11925. esac
  11926. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
  11927. $as_echo "$ld_shlibs_CXX" >&6; }
  11928. test "$ld_shlibs_CXX" = no && can_build_shared=no
  11929. GCC_CXX="$GXX"
  11930. LD_CXX="$LD"
  11931. ## CAVEAT EMPTOR:
  11932. ## There is no encapsulation within the following macros, do not change
  11933. ## the running order or otherwise move them around unless you know exactly
  11934. ## what you are doing...
  11935. # Dependencies to place before and after the object being linked:
  11936. predep_objects_CXX=
  11937. postdep_objects_CXX=
  11938. predeps_CXX=
  11939. postdeps_CXX=
  11940. compiler_lib_search_path_CXX=
  11941. cat > conftest.$ac_ext <<_LT_EOF
  11942. class Foo
  11943. {
  11944. public:
  11945. Foo (void) { a = 0; }
  11946. private:
  11947. int a;
  11948. };
  11949. _LT_EOF
  11950. _lt_libdeps_save_CFLAGS=$CFLAGS
  11951. case "$CC $CFLAGS " in #(
  11952. *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
  11953. *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
  11954. *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
  11955. esac
  11956. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  11957. (eval $ac_compile) 2>&5
  11958. ac_status=$?
  11959. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  11960. test $ac_status = 0; }; then
  11961. # Parse the compiler output and extract the necessary
  11962. # objects, libraries and library flags.
  11963. # Sentinel used to keep track of whether or not we are before
  11964. # the conftest object file.
  11965. pre_test_object_deps_done=no
  11966. for p in `eval "$output_verbose_link_cmd"`; do
  11967. case ${prev}${p} in
  11968. -L* | -R* | -l*)
  11969. # Some compilers place space between "-{L,R}" and the path.
  11970. # Remove the space.
  11971. if test $p = "-L" ||
  11972. test $p = "-R"; then
  11973. prev=$p
  11974. continue
  11975. fi
  11976. # Expand the sysroot to ease extracting the directories later.
  11977. if test -z "$prev"; then
  11978. case $p in
  11979. -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
  11980. -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
  11981. -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
  11982. esac
  11983. fi
  11984. case $p in
  11985. =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
  11986. esac
  11987. if test "$pre_test_object_deps_done" = no; then
  11988. case ${prev} in
  11989. -L | -R)
  11990. # Internal compiler library paths should come after those
  11991. # provided the user. The postdeps already come after the
  11992. # user supplied libs so there is no need to process them.
  11993. if test -z "$compiler_lib_search_path_CXX"; then
  11994. compiler_lib_search_path_CXX="${prev}${p}"
  11995. else
  11996. compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
  11997. fi
  11998. ;;
  11999. # The "-l" case would never come before the object being
  12000. # linked, so don't bother handling this case.
  12001. esac
  12002. else
  12003. if test -z "$postdeps_CXX"; then
  12004. postdeps_CXX="${prev}${p}"
  12005. else
  12006. postdeps_CXX="${postdeps_CXX} ${prev}${p}"
  12007. fi
  12008. fi
  12009. prev=
  12010. ;;
  12011. *.lto.$objext) ;; # Ignore GCC LTO objects
  12012. *.$objext)
  12013. # This assumes that the test object file only shows up
  12014. # once in the compiler output.
  12015. if test "$p" = "conftest.$objext"; then
  12016. pre_test_object_deps_done=yes
  12017. continue
  12018. fi
  12019. if test "$pre_test_object_deps_done" = no; then
  12020. if test -z "$predep_objects_CXX"; then
  12021. predep_objects_CXX="$p"
  12022. else
  12023. predep_objects_CXX="$predep_objects_CXX $p"
  12024. fi
  12025. else
  12026. if test -z "$postdep_objects_CXX"; then
  12027. postdep_objects_CXX="$p"
  12028. else
  12029. postdep_objects_CXX="$postdep_objects_CXX $p"
  12030. fi
  12031. fi
  12032. ;;
  12033. *) ;; # Ignore the rest.
  12034. esac
  12035. done
  12036. # Clean up.
  12037. rm -f a.out a.exe
  12038. else
  12039. echo "libtool.m4: error: problem compiling CXX test program"
  12040. fi
  12041. $RM -f confest.$objext
  12042. CFLAGS=$_lt_libdeps_save_CFLAGS
  12043. # PORTME: override above test on systems where it is broken
  12044. case $host_os in
  12045. interix[3-9]*)
  12046. # Interix 3.5 installs completely hosed .la files for C++, so rather than
  12047. # hack all around it, let's just trust "g++" to DTRT.
  12048. predep_objects_CXX=
  12049. postdep_objects_CXX=
  12050. postdeps_CXX=
  12051. ;;
  12052. linux*)
  12053. case `$CC -V 2>&1 | sed 5q` in
  12054. *Sun\ C*)
  12055. # Sun C++ 5.9
  12056. # The more standards-conforming stlport4 library is
  12057. # incompatible with the Cstd library. Avoid specifying
  12058. # it if it's in CXXFLAGS. Ignore libCrun as
  12059. # -library=stlport4 depends on it.
  12060. case " $CXX $CXXFLAGS " in
  12061. *" -library=stlport4 "*)
  12062. solaris_use_stlport4=yes
  12063. ;;
  12064. esac
  12065. if test "$solaris_use_stlport4" != yes; then
  12066. postdeps_CXX='-library=Cstd -library=Crun'
  12067. fi
  12068. ;;
  12069. esac
  12070. ;;
  12071. solaris*)
  12072. case $cc_basename in
  12073. CC* | sunCC*)
  12074. # The more standards-conforming stlport4 library is
  12075. # incompatible with the Cstd library. Avoid specifying
  12076. # it if it's in CXXFLAGS. Ignore libCrun as
  12077. # -library=stlport4 depends on it.
  12078. case " $CXX $CXXFLAGS " in
  12079. *" -library=stlport4 "*)
  12080. solaris_use_stlport4=yes
  12081. ;;
  12082. esac
  12083. # Adding this requires a known-good setup of shared libraries for
  12084. # Sun compiler versions before 5.6, else PIC objects from an old
  12085. # archive will be linked into the output, leading to subtle bugs.
  12086. if test "$solaris_use_stlport4" != yes; then
  12087. postdeps_CXX='-library=Cstd -library=Crun'
  12088. fi
  12089. ;;
  12090. esac
  12091. ;;
  12092. esac
  12093. case " $postdeps_CXX " in
  12094. *" -lc "*) archive_cmds_need_lc_CXX=no ;;
  12095. esac
  12096. compiler_lib_search_dirs_CXX=
  12097. if test -n "${compiler_lib_search_path_CXX}"; then
  12098. compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
  12099. fi
  12100. lt_prog_compiler_wl_CXX=
  12101. lt_prog_compiler_pic_CXX=
  12102. lt_prog_compiler_static_CXX=
  12103. # C++ specific cases for pic, static, wl, etc.
  12104. if test "$GXX" = yes; then
  12105. lt_prog_compiler_wl_CXX='-Wl,'
  12106. lt_prog_compiler_static_CXX='-static'
  12107. case $host_os in
  12108. aix*)
  12109. # All AIX code is PIC.
  12110. if test "$host_cpu" = ia64; then
  12111. # AIX 5 now supports IA64 processor
  12112. lt_prog_compiler_static_CXX='-Bstatic'
  12113. fi
  12114. ;;
  12115. amigaos*)
  12116. case $host_cpu in
  12117. powerpc)
  12118. # see comment about AmigaOS4 .so support
  12119. lt_prog_compiler_pic_CXX='-fPIC'
  12120. ;;
  12121. m68k)
  12122. # FIXME: we need at least 68020 code to build shared libraries, but
  12123. # adding the `-m68020' flag to GCC prevents building anything better,
  12124. # like `-m68040'.
  12125. lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
  12126. ;;
  12127. esac
  12128. ;;
  12129. beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
  12130. # PIC is the default for these OSes.
  12131. ;;
  12132. mingw* | cygwin* | os2* | pw32* | cegcc*)
  12133. # This hack is so that the source file can tell whether it is being
  12134. # built for inclusion in a dll (and should export symbols for example).
  12135. # Although the cygwin gcc ignores -fPIC, still need this for old-style
  12136. # (--disable-auto-import) libraries
  12137. lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
  12138. ;;
  12139. darwin* | rhapsody*)
  12140. # PIC is the default on this platform
  12141. # Common symbols not allowed in MH_DYLIB files
  12142. lt_prog_compiler_pic_CXX='-fno-common'
  12143. ;;
  12144. *djgpp*)
  12145. # DJGPP does not support shared libraries at all
  12146. lt_prog_compiler_pic_CXX=
  12147. ;;
  12148. haiku*)
  12149. # PIC is the default for Haiku.
  12150. # The "-static" flag exists, but is broken.
  12151. lt_prog_compiler_static_CXX=
  12152. ;;
  12153. interix[3-9]*)
  12154. # Interix 3.x gcc -fpic/-fPIC options generate broken code.
  12155. # Instead, we relocate shared libraries at runtime.
  12156. ;;
  12157. sysv4*MP*)
  12158. if test -d /usr/nec; then
  12159. lt_prog_compiler_pic_CXX=-Kconform_pic
  12160. fi
  12161. ;;
  12162. hpux*)
  12163. # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
  12164. # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
  12165. # sets the default TLS model and affects inlining.
  12166. case $host_cpu in
  12167. hppa*64*)
  12168. ;;
  12169. *)
  12170. lt_prog_compiler_pic_CXX='-fPIC'
  12171. ;;
  12172. esac
  12173. ;;
  12174. *qnx* | *nto*)
  12175. # QNX uses GNU C++, but need to define -shared option too, otherwise
  12176. # it will coredump.
  12177. lt_prog_compiler_pic_CXX='-fPIC -shared'
  12178. ;;
  12179. *)
  12180. lt_prog_compiler_pic_CXX='-fPIC'
  12181. ;;
  12182. esac
  12183. else
  12184. case $host_os in
  12185. aix[4-9]*)
  12186. # All AIX code is PIC.
  12187. if test "$host_cpu" = ia64; then
  12188. # AIX 5 now supports IA64 processor
  12189. lt_prog_compiler_static_CXX='-Bstatic'
  12190. else
  12191. lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
  12192. fi
  12193. ;;
  12194. chorus*)
  12195. case $cc_basename in
  12196. cxch68*)
  12197. # Green Hills C++ Compiler
  12198. # _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"
  12199. ;;
  12200. esac
  12201. ;;
  12202. mingw* | cygwin* | os2* | pw32* | cegcc*)
  12203. # This hack is so that the source file can tell whether it is being
  12204. # built for inclusion in a dll (and should export symbols for example).
  12205. lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
  12206. ;;
  12207. dgux*)
  12208. case $cc_basename in
  12209. ec++*)
  12210. lt_prog_compiler_pic_CXX='-KPIC'
  12211. ;;
  12212. ghcx*)
  12213. # Green Hills C++ Compiler
  12214. lt_prog_compiler_pic_CXX='-pic'
  12215. ;;
  12216. *)
  12217. ;;
  12218. esac
  12219. ;;
  12220. freebsd* | dragonfly*)
  12221. # FreeBSD uses GNU C++
  12222. ;;
  12223. hpux9* | hpux10* | hpux11*)
  12224. case $cc_basename in
  12225. CC*)
  12226. lt_prog_compiler_wl_CXX='-Wl,'
  12227. lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
  12228. if test "$host_cpu" != ia64; then
  12229. lt_prog_compiler_pic_CXX='+Z'
  12230. fi
  12231. ;;
  12232. aCC*)
  12233. lt_prog_compiler_wl_CXX='-Wl,'
  12234. lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
  12235. case $host_cpu in
  12236. hppa*64*|ia64*)
  12237. # +Z the default
  12238. ;;
  12239. *)
  12240. lt_prog_compiler_pic_CXX='+Z'
  12241. ;;
  12242. esac
  12243. ;;
  12244. *)
  12245. ;;
  12246. esac
  12247. ;;
  12248. interix*)
  12249. # This is c89, which is MS Visual C++ (no shared libs)
  12250. # Anyone wants to do a port?
  12251. ;;
  12252. irix5* | irix6* | nonstopux*)
  12253. case $cc_basename in
  12254. CC*)
  12255. lt_prog_compiler_wl_CXX='-Wl,'
  12256. lt_prog_compiler_static_CXX='-non_shared'
  12257. # CC pic flag -KPIC is the default.
  12258. ;;
  12259. *)
  12260. ;;
  12261. esac
  12262. ;;
  12263. linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
  12264. case $cc_basename in
  12265. KCC*)
  12266. # KAI C++ Compiler
  12267. lt_prog_compiler_wl_CXX='--backend -Wl,'
  12268. lt_prog_compiler_pic_CXX='-fPIC'
  12269. ;;
  12270. ecpc* )
  12271. # old Intel C++ for x86_64 which still supported -KPIC.
  12272. lt_prog_compiler_wl_CXX='-Wl,'
  12273. lt_prog_compiler_pic_CXX='-KPIC'
  12274. lt_prog_compiler_static_CXX='-static'
  12275. ;;
  12276. icpc* )
  12277. # Intel C++, used to be incompatible with GCC.
  12278. # ICC 10 doesn't accept -KPIC any more.
  12279. lt_prog_compiler_wl_CXX='-Wl,'
  12280. lt_prog_compiler_pic_CXX='-fPIC'
  12281. lt_prog_compiler_static_CXX='-static'
  12282. ;;
  12283. pgCC* | pgcpp*)
  12284. # Portland Group C++ compiler
  12285. lt_prog_compiler_wl_CXX='-Wl,'
  12286. lt_prog_compiler_pic_CXX='-fpic'
  12287. lt_prog_compiler_static_CXX='-Bstatic'
  12288. ;;
  12289. cxx*)
  12290. # Compaq C++
  12291. # Make sure the PIC flag is empty. It appears that all Alpha
  12292. # Linux and Compaq Tru64 Unix objects are PIC.
  12293. lt_prog_compiler_pic_CXX=
  12294. lt_prog_compiler_static_CXX='-non_shared'
  12295. ;;
  12296. xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
  12297. # IBM XL 8.0, 9.0 on PPC and BlueGene
  12298. lt_prog_compiler_wl_CXX='-Wl,'
  12299. lt_prog_compiler_pic_CXX='-qpic'
  12300. lt_prog_compiler_static_CXX='-qstaticlink'
  12301. ;;
  12302. *)
  12303. case `$CC -V 2>&1 | sed 5q` in
  12304. *Sun\ C*)
  12305. # Sun C++ 5.9
  12306. lt_prog_compiler_pic_CXX='-KPIC'
  12307. lt_prog_compiler_static_CXX='-Bstatic'
  12308. lt_prog_compiler_wl_CXX='-Qoption ld '
  12309. ;;
  12310. esac
  12311. ;;
  12312. esac
  12313. ;;
  12314. lynxos*)
  12315. ;;
  12316. m88k*)
  12317. ;;
  12318. mvs*)
  12319. case $cc_basename in
  12320. cxx*)
  12321. lt_prog_compiler_pic_CXX='-W c,exportall'
  12322. ;;
  12323. *)
  12324. ;;
  12325. esac
  12326. ;;
  12327. netbsd* | netbsdelf*-gnu)
  12328. ;;
  12329. *qnx* | *nto*)
  12330. # QNX uses GNU C++, but need to define -shared option too, otherwise
  12331. # it will coredump.
  12332. lt_prog_compiler_pic_CXX='-fPIC -shared'
  12333. ;;
  12334. osf3* | osf4* | osf5*)
  12335. case $cc_basename in
  12336. KCC*)
  12337. lt_prog_compiler_wl_CXX='--backend -Wl,'
  12338. ;;
  12339. RCC*)
  12340. # Rational C++ 2.4.1
  12341. lt_prog_compiler_pic_CXX='-pic'
  12342. ;;
  12343. cxx*)
  12344. # Digital/Compaq C++
  12345. lt_prog_compiler_wl_CXX='-Wl,'
  12346. # Make sure the PIC flag is empty. It appears that all Alpha
  12347. # Linux and Compaq Tru64 Unix objects are PIC.
  12348. lt_prog_compiler_pic_CXX=
  12349. lt_prog_compiler_static_CXX='-non_shared'
  12350. ;;
  12351. *)
  12352. ;;
  12353. esac
  12354. ;;
  12355. psos*)
  12356. ;;
  12357. solaris*)
  12358. case $cc_basename in
  12359. CC* | sunCC*)
  12360. # Sun C++ 4.2, 5.x and Centerline C++
  12361. lt_prog_compiler_pic_CXX='-KPIC'
  12362. lt_prog_compiler_static_CXX='-Bstatic'
  12363. lt_prog_compiler_wl_CXX='-Qoption ld '
  12364. ;;
  12365. gcx*)
  12366. # Green Hills C++ Compiler
  12367. lt_prog_compiler_pic_CXX='-PIC'
  12368. ;;
  12369. *)
  12370. ;;
  12371. esac
  12372. ;;
  12373. sunos4*)
  12374. case $cc_basename in
  12375. CC*)
  12376. # Sun C++ 4.x
  12377. lt_prog_compiler_pic_CXX='-pic'
  12378. lt_prog_compiler_static_CXX='-Bstatic'
  12379. ;;
  12380. lcc*)
  12381. # Lucid
  12382. lt_prog_compiler_pic_CXX='-pic'
  12383. ;;
  12384. *)
  12385. ;;
  12386. esac
  12387. ;;
  12388. sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
  12389. case $cc_basename in
  12390. CC*)
  12391. lt_prog_compiler_wl_CXX='-Wl,'
  12392. lt_prog_compiler_pic_CXX='-KPIC'
  12393. lt_prog_compiler_static_CXX='-Bstatic'
  12394. ;;
  12395. esac
  12396. ;;
  12397. tandem*)
  12398. case $cc_basename in
  12399. NCC*)
  12400. # NonStop-UX NCC 3.20
  12401. lt_prog_compiler_pic_CXX='-KPIC'
  12402. ;;
  12403. *)
  12404. ;;
  12405. esac
  12406. ;;
  12407. vxworks*)
  12408. ;;
  12409. *)
  12410. lt_prog_compiler_can_build_shared_CXX=no
  12411. ;;
  12412. esac
  12413. fi
  12414. case $host_os in
  12415. # For platforms which do not support PIC, -DPIC is meaningless:
  12416. *djgpp*)
  12417. lt_prog_compiler_pic_CXX=
  12418. ;;
  12419. *)
  12420. lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
  12421. ;;
  12422. esac
  12423. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
  12424. $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
  12425. if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
  12426. $as_echo_n "(cached) " >&6
  12427. else
  12428. lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
  12429. fi
  12430. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
  12431. $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
  12432. lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
  12433. #
  12434. # Check to make sure the PIC flag actually works.
  12435. #
  12436. if test -n "$lt_prog_compiler_pic_CXX"; then
  12437. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
  12438. $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
  12439. if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
  12440. $as_echo_n "(cached) " >&6
  12441. else
  12442. lt_cv_prog_compiler_pic_works_CXX=no
  12443. ac_outfile=conftest.$ac_objext
  12444. echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  12445. lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
  12446. # Insert the option either (1) after the last *FLAGS variable, or
  12447. # (2) before a word containing "conftest.", or (3) at the end.
  12448. # Note that $ac_compile itself does not contain backslashes and begins
  12449. # with a dollar sign (not a hyphen), so the echo should work correctly.
  12450. # The option is referenced via a variable to avoid confusing sed.
  12451. lt_compile=`echo "$ac_compile" | $SED \
  12452. -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  12453. -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  12454. -e 's:$: $lt_compiler_flag:'`
  12455. (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  12456. (eval "$lt_compile" 2>conftest.err)
  12457. ac_status=$?
  12458. cat conftest.err >&5
  12459. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12460. if (exit $ac_status) && test -s "$ac_outfile"; then
  12461. # The compiler can only warn and ignore the option if not recognized
  12462. # So say no if there are warnings other than the usual output.
  12463. $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
  12464. $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  12465. if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  12466. lt_cv_prog_compiler_pic_works_CXX=yes
  12467. fi
  12468. fi
  12469. $RM conftest*
  12470. fi
  12471. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
  12472. $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
  12473. if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
  12474. case $lt_prog_compiler_pic_CXX in
  12475. "" | " "*) ;;
  12476. *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
  12477. esac
  12478. else
  12479. lt_prog_compiler_pic_CXX=
  12480. lt_prog_compiler_can_build_shared_CXX=no
  12481. fi
  12482. fi
  12483. #
  12484. # Check to make sure the static flag actually works.
  12485. #
  12486. wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
  12487. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
  12488. $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
  12489. if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
  12490. $as_echo_n "(cached) " >&6
  12491. else
  12492. lt_cv_prog_compiler_static_works_CXX=no
  12493. save_LDFLAGS="$LDFLAGS"
  12494. LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
  12495. echo "$lt_simple_link_test_code" > conftest.$ac_ext
  12496. if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
  12497. # The linker can only warn and ignore the option if not recognized
  12498. # So say no if there are warnings
  12499. if test -s conftest.err; then
  12500. # Append any errors to the config.log.
  12501. cat conftest.err 1>&5
  12502. $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
  12503. $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  12504. if diff conftest.exp conftest.er2 >/dev/null; then
  12505. lt_cv_prog_compiler_static_works_CXX=yes
  12506. fi
  12507. else
  12508. lt_cv_prog_compiler_static_works_CXX=yes
  12509. fi
  12510. fi
  12511. $RM -r conftest*
  12512. LDFLAGS="$save_LDFLAGS"
  12513. fi
  12514. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
  12515. $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
  12516. if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
  12517. :
  12518. else
  12519. lt_prog_compiler_static_CXX=
  12520. fi
  12521. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
  12522. $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
  12523. if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
  12524. $as_echo_n "(cached) " >&6
  12525. else
  12526. lt_cv_prog_compiler_c_o_CXX=no
  12527. $RM -r conftest 2>/dev/null
  12528. mkdir conftest
  12529. cd conftest
  12530. mkdir out
  12531. echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  12532. lt_compiler_flag="-o out/conftest2.$ac_objext"
  12533. # Insert the option either (1) after the last *FLAGS variable, or
  12534. # (2) before a word containing "conftest.", or (3) at the end.
  12535. # Note that $ac_compile itself does not contain backslashes and begins
  12536. # with a dollar sign (not a hyphen), so the echo should work correctly.
  12537. lt_compile=`echo "$ac_compile" | $SED \
  12538. -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  12539. -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  12540. -e 's:$: $lt_compiler_flag:'`
  12541. (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  12542. (eval "$lt_compile" 2>out/conftest.err)
  12543. ac_status=$?
  12544. cat out/conftest.err >&5
  12545. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12546. if (exit $ac_status) && test -s out/conftest2.$ac_objext
  12547. then
  12548. # The compiler can only warn and ignore the option if not recognized
  12549. # So say no if there are warnings
  12550. $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
  12551. $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  12552. if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  12553. lt_cv_prog_compiler_c_o_CXX=yes
  12554. fi
  12555. fi
  12556. chmod u+w . 2>&5
  12557. $RM conftest*
  12558. # SGI C++ compiler will create directory out/ii_files/ for
  12559. # template instantiation
  12560. test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
  12561. $RM out/* && rmdir out
  12562. cd ..
  12563. $RM -r conftest
  12564. $RM conftest*
  12565. fi
  12566. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
  12567. $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
  12568. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
  12569. $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
  12570. if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
  12571. $as_echo_n "(cached) " >&6
  12572. else
  12573. lt_cv_prog_compiler_c_o_CXX=no
  12574. $RM -r conftest 2>/dev/null
  12575. mkdir conftest
  12576. cd conftest
  12577. mkdir out
  12578. echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  12579. lt_compiler_flag="-o out/conftest2.$ac_objext"
  12580. # Insert the option either (1) after the last *FLAGS variable, or
  12581. # (2) before a word containing "conftest.", or (3) at the end.
  12582. # Note that $ac_compile itself does not contain backslashes and begins
  12583. # with a dollar sign (not a hyphen), so the echo should work correctly.
  12584. lt_compile=`echo "$ac_compile" | $SED \
  12585. -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  12586. -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  12587. -e 's:$: $lt_compiler_flag:'`
  12588. (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  12589. (eval "$lt_compile" 2>out/conftest.err)
  12590. ac_status=$?
  12591. cat out/conftest.err >&5
  12592. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12593. if (exit $ac_status) && test -s out/conftest2.$ac_objext
  12594. then
  12595. # The compiler can only warn and ignore the option if not recognized
  12596. # So say no if there are warnings
  12597. $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
  12598. $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  12599. if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  12600. lt_cv_prog_compiler_c_o_CXX=yes
  12601. fi
  12602. fi
  12603. chmod u+w . 2>&5
  12604. $RM conftest*
  12605. # SGI C++ compiler will create directory out/ii_files/ for
  12606. # template instantiation
  12607. test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
  12608. $RM out/* && rmdir out
  12609. cd ..
  12610. $RM -r conftest
  12611. $RM conftest*
  12612. fi
  12613. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
  12614. $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
  12615. hard_links="nottested"
  12616. if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
  12617. # do not overwrite the value of need_locks provided by the user
  12618. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
  12619. $as_echo_n "checking if we can lock with hard links... " >&6; }
  12620. hard_links=yes
  12621. $RM conftest*
  12622. ln conftest.a conftest.b 2>/dev/null && hard_links=no
  12623. touch conftest.a
  12624. ln conftest.a conftest.b 2>&5 || hard_links=no
  12625. ln conftest.a conftest.b 2>/dev/null && hard_links=no
  12626. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
  12627. $as_echo "$hard_links" >&6; }
  12628. if test "$hard_links" = no; then
  12629. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
  12630. $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
  12631. need_locks=warn
  12632. fi
  12633. else
  12634. need_locks=no
  12635. fi
  12636. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
  12637. $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
  12638. export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  12639. exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
  12640. case $host_os in
  12641. aix[4-9]*)
  12642. # If we're using GNU nm, then we don't want the "-C" option.
  12643. # -C means demangle to AIX nm, but means don't demangle with GNU nm
  12644. # Also, AIX nm treats weak defined symbols like other global defined
  12645. # symbols, whereas GNU nm marks them as "W".
  12646. if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
  12647. export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
  12648. else
  12649. 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'
  12650. fi
  12651. ;;
  12652. pw32*)
  12653. export_symbols_cmds_CXX="$ltdll_cmds"
  12654. ;;
  12655. cygwin* | mingw* | cegcc*)
  12656. case $cc_basename in
  12657. cl*)
  12658. exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
  12659. ;;
  12660. *)
  12661. export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
  12662. exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
  12663. ;;
  12664. esac
  12665. ;;
  12666. linux* | k*bsd*-gnu | gnu*)
  12667. link_all_deplibs_CXX=no
  12668. ;;
  12669. *)
  12670. export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  12671. ;;
  12672. esac
  12673. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
  12674. $as_echo "$ld_shlibs_CXX" >&6; }
  12675. test "$ld_shlibs_CXX" = no && can_build_shared=no
  12676. with_gnu_ld_CXX=$with_gnu_ld
  12677. #
  12678. # Do we need to explicitly link libc?
  12679. #
  12680. case "x$archive_cmds_need_lc_CXX" in
  12681. x|xyes)
  12682. # Assume -lc should be added
  12683. archive_cmds_need_lc_CXX=yes
  12684. if test "$enable_shared" = yes && test "$GCC" = yes; then
  12685. case $archive_cmds_CXX in
  12686. *'~'*)
  12687. # FIXME: we may have to deal with multi-command sequences.
  12688. ;;
  12689. '$CC '*)
  12690. # Test whether the compiler implicitly links with -lc since on some
  12691. # systems, -lgcc has to come before -lc. If gcc already passes -lc
  12692. # to ld, don't add -lc before -lgcc.
  12693. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
  12694. $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
  12695. if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
  12696. $as_echo_n "(cached) " >&6
  12697. else
  12698. $RM conftest*
  12699. echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  12700. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  12701. (eval $ac_compile) 2>&5
  12702. ac_status=$?
  12703. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  12704. test $ac_status = 0; } 2>conftest.err; then
  12705. soname=conftest
  12706. lib=conftest
  12707. libobjs=conftest.$ac_objext
  12708. deplibs=
  12709. wl=$lt_prog_compiler_wl_CXX
  12710. pic_flag=$lt_prog_compiler_pic_CXX
  12711. compiler_flags=-v
  12712. linker_flags=-v
  12713. verstring=
  12714. output_objdir=.
  12715. libname=conftest
  12716. lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
  12717. allow_undefined_flag_CXX=
  12718. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
  12719. (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
  12720. ac_status=$?
  12721. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  12722. test $ac_status = 0; }
  12723. then
  12724. lt_cv_archive_cmds_need_lc_CXX=no
  12725. else
  12726. lt_cv_archive_cmds_need_lc_CXX=yes
  12727. fi
  12728. allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
  12729. else
  12730. cat conftest.err 1>&5
  12731. fi
  12732. $RM conftest*
  12733. fi
  12734. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
  12735. $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
  12736. archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
  12737. ;;
  12738. esac
  12739. fi
  12740. ;;
  12741. esac
  12742. { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
  12743. $as_echo_n "checking dynamic linker characteristics... " >&6; }
  12744. library_names_spec=
  12745. libname_spec='lib$name'
  12746. soname_spec=
  12747. shrext_cmds=".so"
  12748. postinstall_cmds=
  12749. postuninstall_cmds=
  12750. finish_cmds=
  12751. finish_eval=
  12752. shlibpath_var=
  12753. shlibpath_overrides_runpath=unknown
  12754. version_type=none
  12755. dynamic_linker="$host_os ld.so"
  12756. sys_lib_dlsearch_path_spec="/lib /usr/lib"
  12757. need_lib_prefix=unknown
  12758. hardcode_into_libs=no
  12759. # when you set need_version to no, make sure it does not cause -set_version
  12760. # flags to be left without arguments
  12761. need_version=unknown
  12762. case $host_os in
  12763. aix3*)
  12764. version_type=linux # correct to gnu/linux during the next big refactor
  12765. library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
  12766. shlibpath_var=LIBPATH
  12767. # AIX 3 has no versioning support, so we append a major version to the name.
  12768. soname_spec='${libname}${release}${shared_ext}$major'
  12769. ;;
  12770. aix[4-9]*)
  12771. version_type=linux # correct to gnu/linux during the next big refactor
  12772. need_lib_prefix=no
  12773. need_version=no
  12774. hardcode_into_libs=yes
  12775. if test "$host_cpu" = ia64; then
  12776. # AIX 5 supports IA64
  12777. library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
  12778. shlibpath_var=LD_LIBRARY_PATH
  12779. else
  12780. # With GCC up to 2.95.x, collect2 would create an import file
  12781. # for dependence libraries. The import file would start with
  12782. # the line `#! .'. This would cause the generated library to
  12783. # depend on `.', always an invalid library. This was fixed in
  12784. # development snapshots of GCC prior to 3.0.
  12785. case $host_os in
  12786. aix4 | aix4.[01] | aix4.[01].*)
  12787. if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
  12788. echo ' yes '
  12789. echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
  12790. :
  12791. else
  12792. can_build_shared=no
  12793. fi
  12794. ;;
  12795. esac
  12796. # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
  12797. # soname into executable. Probably we can add versioning support to
  12798. # collect2, so additional links can be useful in future.
  12799. if test "$aix_use_runtimelinking" = yes; then
  12800. # If using run time linking (on AIX 4.2 or later) use lib<name>.so
  12801. # instead of lib<name>.a to let people know that these are not
  12802. # typical AIX shared libraries.
  12803. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  12804. else
  12805. # We preserve .a as extension for shared libraries through AIX4.2
  12806. # and later when we are not doing run time linking.
  12807. library_names_spec='${libname}${release}.a $libname.a'
  12808. soname_spec='${libname}${release}${shared_ext}$major'
  12809. fi
  12810. shlibpath_var=LIBPATH
  12811. fi
  12812. ;;
  12813. amigaos*)
  12814. case $host_cpu in
  12815. powerpc)
  12816. # Since July 2007 AmigaOS4 officially supports .so libraries.
  12817. # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
  12818. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  12819. ;;
  12820. m68k)
  12821. library_names_spec='$libname.ixlibrary $libname.a'
  12822. # Create ${libname}_ixlibrary.a entries in /sys/libs.
  12823. finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
  12824. ;;
  12825. esac
  12826. ;;
  12827. beos*)
  12828. library_names_spec='${libname}${shared_ext}'
  12829. dynamic_linker="$host_os ld.so"
  12830. shlibpath_var=LIBRARY_PATH
  12831. ;;
  12832. bsdi[45]*)
  12833. version_type=linux # correct to gnu/linux during the next big refactor
  12834. need_version=no
  12835. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  12836. soname_spec='${libname}${release}${shared_ext}$major'
  12837. finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
  12838. shlibpath_var=LD_LIBRARY_PATH
  12839. sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
  12840. sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
  12841. # the default ld.so.conf also contains /usr/contrib/lib and
  12842. # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
  12843. # libtool to hard-code these into programs
  12844. ;;
  12845. cygwin* | mingw* | pw32* | cegcc*)
  12846. version_type=windows
  12847. shrext_cmds=".dll"
  12848. need_version=no
  12849. need_lib_prefix=no
  12850. case $GCC,$cc_basename in
  12851. yes,*)
  12852. # gcc
  12853. library_names_spec='$libname.dll.a'
  12854. # DLL is installed to $(libdir)/../bin by postinstall_cmds
  12855. postinstall_cmds='base_file=`basename \${file}`~
  12856. dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
  12857. dldir=$destdir/`dirname \$dlpath`~
  12858. test -d \$dldir || mkdir -p \$dldir~
  12859. $install_prog $dir/$dlname \$dldir/$dlname~
  12860. chmod a+x \$dldir/$dlname~
  12861. if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
  12862. eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
  12863. fi'
  12864. postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
  12865. dlpath=$dir/\$dldll~
  12866. $RM \$dlpath'
  12867. shlibpath_overrides_runpath=yes
  12868. case $host_os in
  12869. cygwin*)
  12870. # Cygwin DLLs use 'cyg' prefix rather than 'lib'
  12871. soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  12872. ;;
  12873. mingw* | cegcc*)
  12874. # MinGW DLLs use traditional 'lib' prefix
  12875. soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  12876. ;;
  12877. pw32*)
  12878. # pw32 DLLs use 'pw' prefix rather than 'lib'
  12879. library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  12880. ;;
  12881. esac
  12882. dynamic_linker='Win32 ld.exe'
  12883. ;;
  12884. *,cl*)
  12885. # Native MSVC
  12886. libname_spec='$name'
  12887. soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  12888. library_names_spec='${libname}.dll.lib'
  12889. case $build_os in
  12890. mingw*)
  12891. sys_lib_search_path_spec=
  12892. lt_save_ifs=$IFS
  12893. IFS=';'
  12894. for lt_path in $LIB
  12895. do
  12896. IFS=$lt_save_ifs
  12897. # Let DOS variable expansion print the short 8.3 style file name.
  12898. lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
  12899. sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
  12900. done
  12901. IFS=$lt_save_ifs
  12902. # Convert to MSYS style.
  12903. sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
  12904. ;;
  12905. cygwin*)
  12906. # Convert to unix form, then to dos form, then back to unix form
  12907. # but this time dos style (no spaces!) so that the unix form looks
  12908. # like /cygdrive/c/PROGRA~1:/cygdr...
  12909. sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
  12910. sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
  12911. sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
  12912. ;;
  12913. *)
  12914. sys_lib_search_path_spec="$LIB"
  12915. if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
  12916. # It is most probably a Windows format PATH.
  12917. sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
  12918. else
  12919. sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
  12920. fi
  12921. # FIXME: find the short name or the path components, as spaces are
  12922. # common. (e.g. "Program Files" -> "PROGRA~1")
  12923. ;;
  12924. esac
  12925. # DLL is installed to $(libdir)/../bin by postinstall_cmds
  12926. postinstall_cmds='base_file=`basename \${file}`~
  12927. dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
  12928. dldir=$destdir/`dirname \$dlpath`~
  12929. test -d \$dldir || mkdir -p \$dldir~
  12930. $install_prog $dir/$dlname \$dldir/$dlname'
  12931. postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
  12932. dlpath=$dir/\$dldll~
  12933. $RM \$dlpath'
  12934. shlibpath_overrides_runpath=yes
  12935. dynamic_linker='Win32 link.exe'
  12936. ;;
  12937. *)
  12938. # Assume MSVC wrapper
  12939. library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
  12940. dynamic_linker='Win32 ld.exe'
  12941. ;;
  12942. esac
  12943. # FIXME: first we should search . and the directory the executable is in
  12944. shlibpath_var=PATH
  12945. ;;
  12946. darwin* | rhapsody*)
  12947. dynamic_linker="$host_os dyld"
  12948. version_type=darwin
  12949. need_lib_prefix=no
  12950. need_version=no
  12951. library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
  12952. soname_spec='${libname}${release}${major}$shared_ext'
  12953. shlibpath_overrides_runpath=yes
  12954. shlibpath_var=DYLD_LIBRARY_PATH
  12955. shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
  12956. sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
  12957. ;;
  12958. dgux*)
  12959. version_type=linux # correct to gnu/linux during the next big refactor
  12960. need_lib_prefix=no
  12961. need_version=no
  12962. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
  12963. soname_spec='${libname}${release}${shared_ext}$major'
  12964. shlibpath_var=LD_LIBRARY_PATH
  12965. ;;
  12966. freebsd* | dragonfly*)
  12967. # DragonFly does not have aout. When/if they implement a new
  12968. # versioning mechanism, adjust this.
  12969. if test -x /usr/bin/objformat; then
  12970. objformat=`/usr/bin/objformat`
  12971. else
  12972. case $host_os in
  12973. freebsd[23].*) objformat=aout ;;
  12974. *) objformat=elf ;;
  12975. esac
  12976. fi
  12977. version_type=freebsd-$objformat
  12978. case $version_type in
  12979. freebsd-elf*)
  12980. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
  12981. need_version=no
  12982. need_lib_prefix=no
  12983. ;;
  12984. freebsd-*)
  12985. library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
  12986. need_version=yes
  12987. ;;
  12988. esac
  12989. shlibpath_var=LD_LIBRARY_PATH
  12990. case $host_os in
  12991. freebsd2.*)
  12992. shlibpath_overrides_runpath=yes
  12993. ;;
  12994. freebsd3.[01]* | freebsdelf3.[01]*)
  12995. shlibpath_overrides_runpath=yes
  12996. hardcode_into_libs=yes
  12997. ;;
  12998. freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
  12999. freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
  13000. shlibpath_overrides_runpath=no
  13001. hardcode_into_libs=yes
  13002. ;;
  13003. *) # from 4.6 on, and DragonFly
  13004. shlibpath_overrides_runpath=yes
  13005. hardcode_into_libs=yes
  13006. ;;
  13007. esac
  13008. ;;
  13009. haiku*)
  13010. version_type=linux # correct to gnu/linux during the next big refactor
  13011. need_lib_prefix=no
  13012. need_version=no
  13013. dynamic_linker="$host_os runtime_loader"
  13014. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
  13015. soname_spec='${libname}${release}${shared_ext}$major'
  13016. shlibpath_var=LIBRARY_PATH
  13017. shlibpath_overrides_runpath=yes
  13018. sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
  13019. hardcode_into_libs=yes
  13020. ;;
  13021. hpux9* | hpux10* | hpux11*)
  13022. # Give a soname corresponding to the major version so that dld.sl refuses to
  13023. # link against other versions.
  13024. version_type=sunos
  13025. need_lib_prefix=no
  13026. need_version=no
  13027. case $host_cpu in
  13028. ia64*)
  13029. shrext_cmds='.so'
  13030. hardcode_into_libs=yes
  13031. dynamic_linker="$host_os dld.so"
  13032. shlibpath_var=LD_LIBRARY_PATH
  13033. shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  13034. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  13035. soname_spec='${libname}${release}${shared_ext}$major'
  13036. if test "X$HPUX_IA64_MODE" = X32; then
  13037. sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
  13038. else
  13039. sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
  13040. fi
  13041. sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  13042. ;;
  13043. hppa*64*)
  13044. shrext_cmds='.sl'
  13045. hardcode_into_libs=yes
  13046. dynamic_linker="$host_os dld.sl"
  13047. shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
  13048. shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  13049. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  13050. soname_spec='${libname}${release}${shared_ext}$major'
  13051. sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
  13052. sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  13053. ;;
  13054. *)
  13055. shrext_cmds='.sl'
  13056. dynamic_linker="$host_os dld.sl"
  13057. shlibpath_var=SHLIB_PATH
  13058. shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
  13059. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  13060. soname_spec='${libname}${release}${shared_ext}$major'
  13061. ;;
  13062. esac
  13063. # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
  13064. postinstall_cmds='chmod 555 $lib'
  13065. # or fails outright, so override atomically:
  13066. install_override_mode=555
  13067. ;;
  13068. interix[3-9]*)
  13069. version_type=linux # correct to gnu/linux during the next big refactor
  13070. need_lib_prefix=no
  13071. need_version=no
  13072. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  13073. soname_spec='${libname}${release}${shared_ext}$major'
  13074. dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
  13075. shlibpath_var=LD_LIBRARY_PATH
  13076. shlibpath_overrides_runpath=no
  13077. hardcode_into_libs=yes
  13078. ;;
  13079. irix5* | irix6* | nonstopux*)
  13080. case $host_os in
  13081. nonstopux*) version_type=nonstopux ;;
  13082. *)
  13083. if test "$lt_cv_prog_gnu_ld" = yes; then
  13084. version_type=linux # correct to gnu/linux during the next big refactor
  13085. else
  13086. version_type=irix
  13087. fi ;;
  13088. esac
  13089. need_lib_prefix=no
  13090. need_version=no
  13091. soname_spec='${libname}${release}${shared_ext}$major'
  13092. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
  13093. case $host_os in
  13094. irix5* | nonstopux*)
  13095. libsuff= shlibsuff=
  13096. ;;
  13097. *)
  13098. case $LD in # libtool.m4 will add one of these switches to LD
  13099. *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
  13100. libsuff= shlibsuff= libmagic=32-bit;;
  13101. *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
  13102. libsuff=32 shlibsuff=N32 libmagic=N32;;
  13103. *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
  13104. libsuff=64 shlibsuff=64 libmagic=64-bit;;
  13105. *) libsuff= shlibsuff= libmagic=never-match;;
  13106. esac
  13107. ;;
  13108. esac
  13109. shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
  13110. shlibpath_overrides_runpath=no
  13111. sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
  13112. sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
  13113. hardcode_into_libs=yes
  13114. ;;
  13115. # No shared lib support for Linux oldld, aout, or coff.
  13116. linux*oldld* | linux*aout* | linux*coff*)
  13117. dynamic_linker=no
  13118. ;;
  13119. # This must be glibc/ELF.
  13120. linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
  13121. version_type=linux # correct to gnu/linux during the next big refactor
  13122. need_lib_prefix=no
  13123. need_version=no
  13124. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  13125. soname_spec='${libname}${release}${shared_ext}$major'
  13126. finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
  13127. shlibpath_var=LD_LIBRARY_PATH
  13128. shlibpath_overrides_runpath=no
  13129. # Some binutils ld are patched to set DT_RUNPATH
  13130. if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
  13131. $as_echo_n "(cached) " >&6
  13132. else
  13133. lt_cv_shlibpath_overrides_runpath=no
  13134. save_LDFLAGS=$LDFLAGS
  13135. save_libdir=$libdir
  13136. eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
  13137. LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
  13138. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13139. /* end confdefs.h. */
  13140. int
  13141. main ()
  13142. {
  13143. ;
  13144. return 0;
  13145. }
  13146. _ACEOF
  13147. if ac_fn_cxx_try_link "$LINENO"; then :
  13148. if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
  13149. lt_cv_shlibpath_overrides_runpath=yes
  13150. fi
  13151. fi
  13152. rm -f core conftest.err conftest.$ac_objext \
  13153. conftest$ac_exeext conftest.$ac_ext
  13154. LDFLAGS=$save_LDFLAGS
  13155. libdir=$save_libdir
  13156. fi
  13157. shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
  13158. # This implies no fast_install, which is unacceptable.
  13159. # Some rework will be needed to allow for fast_install
  13160. # before this can be enabled.
  13161. hardcode_into_libs=yes
  13162. # Append ld.so.conf contents to the search path
  13163. if test -f /etc/ld.so.conf; then
  13164. lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
  13165. sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
  13166. fi
  13167. # We used to test for /lib/ld.so.1 and disable shared libraries on
  13168. # powerpc, because MkLinux only supported shared libraries with the
  13169. # GNU dynamic linker. Since this was broken with cross compilers,
  13170. # most powerpc-linux boxes support dynamic linking these days and
  13171. # people can always --disable-shared, the test was removed, and we
  13172. # assume the GNU/Linux dynamic linker is in use.
  13173. dynamic_linker='GNU/Linux ld.so'
  13174. ;;
  13175. netbsdelf*-gnu)
  13176. version_type=linux
  13177. need_lib_prefix=no
  13178. need_version=no
  13179. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  13180. soname_spec='${libname}${release}${shared_ext}$major'
  13181. shlibpath_var=LD_LIBRARY_PATH
  13182. shlibpath_overrides_runpath=no
  13183. hardcode_into_libs=yes
  13184. dynamic_linker='NetBSD ld.elf_so'
  13185. ;;
  13186. netbsd*)
  13187. version_type=sunos
  13188. need_lib_prefix=no
  13189. need_version=no
  13190. if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  13191. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  13192. finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  13193. dynamic_linker='NetBSD (a.out) ld.so'
  13194. else
  13195. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  13196. soname_spec='${libname}${release}${shared_ext}$major'
  13197. dynamic_linker='NetBSD ld.elf_so'
  13198. fi
  13199. shlibpath_var=LD_LIBRARY_PATH
  13200. shlibpath_overrides_runpath=yes
  13201. hardcode_into_libs=yes
  13202. ;;
  13203. newsos6)
  13204. version_type=linux # correct to gnu/linux during the next big refactor
  13205. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  13206. shlibpath_var=LD_LIBRARY_PATH
  13207. shlibpath_overrides_runpath=yes
  13208. ;;
  13209. *nto* | *qnx*)
  13210. version_type=qnx
  13211. need_lib_prefix=no
  13212. need_version=no
  13213. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  13214. soname_spec='${libname}${release}${shared_ext}$major'
  13215. shlibpath_var=LD_LIBRARY_PATH
  13216. shlibpath_overrides_runpath=no
  13217. hardcode_into_libs=yes
  13218. dynamic_linker='ldqnx.so'
  13219. ;;
  13220. openbsd*)
  13221. version_type=sunos
  13222. sys_lib_dlsearch_path_spec="/usr/lib"
  13223. need_lib_prefix=no
  13224. # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
  13225. case $host_os in
  13226. openbsd3.3 | openbsd3.3.*) need_version=yes ;;
  13227. *) need_version=no ;;
  13228. esac
  13229. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  13230. finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  13231. shlibpath_var=LD_LIBRARY_PATH
  13232. if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  13233. case $host_os in
  13234. openbsd2.[89] | openbsd2.[89].*)
  13235. shlibpath_overrides_runpath=no
  13236. ;;
  13237. *)
  13238. shlibpath_overrides_runpath=yes
  13239. ;;
  13240. esac
  13241. else
  13242. shlibpath_overrides_runpath=yes
  13243. fi
  13244. ;;
  13245. os2*)
  13246. libname_spec='$name'
  13247. shrext_cmds=".dll"
  13248. need_lib_prefix=no
  13249. library_names_spec='$libname${shared_ext} $libname.a'
  13250. dynamic_linker='OS/2 ld.exe'
  13251. shlibpath_var=LIBPATH
  13252. ;;
  13253. osf3* | osf4* | osf5*)
  13254. version_type=osf
  13255. need_lib_prefix=no
  13256. need_version=no
  13257. soname_spec='${libname}${release}${shared_ext}$major'
  13258. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  13259. shlibpath_var=LD_LIBRARY_PATH
  13260. sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
  13261. sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
  13262. ;;
  13263. rdos*)
  13264. dynamic_linker=no
  13265. ;;
  13266. solaris*)
  13267. version_type=linux # correct to gnu/linux during the next big refactor
  13268. need_lib_prefix=no
  13269. need_version=no
  13270. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  13271. soname_spec='${libname}${release}${shared_ext}$major'
  13272. shlibpath_var=LD_LIBRARY_PATH
  13273. shlibpath_overrides_runpath=yes
  13274. hardcode_into_libs=yes
  13275. # ldd complains unless libraries are executable
  13276. postinstall_cmds='chmod +x $lib'
  13277. ;;
  13278. sunos4*)
  13279. version_type=sunos
  13280. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  13281. finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
  13282. shlibpath_var=LD_LIBRARY_PATH
  13283. shlibpath_overrides_runpath=yes
  13284. if test "$with_gnu_ld" = yes; then
  13285. need_lib_prefix=no
  13286. fi
  13287. need_version=yes
  13288. ;;
  13289. sysv4 | sysv4.3*)
  13290. version_type=linux # correct to gnu/linux during the next big refactor
  13291. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  13292. soname_spec='${libname}${release}${shared_ext}$major'
  13293. shlibpath_var=LD_LIBRARY_PATH
  13294. case $host_vendor in
  13295. sni)
  13296. shlibpath_overrides_runpath=no
  13297. need_lib_prefix=no
  13298. runpath_var=LD_RUN_PATH
  13299. ;;
  13300. siemens)
  13301. need_lib_prefix=no
  13302. ;;
  13303. motorola)
  13304. need_lib_prefix=no
  13305. need_version=no
  13306. shlibpath_overrides_runpath=no
  13307. sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
  13308. ;;
  13309. esac
  13310. ;;
  13311. sysv4*MP*)
  13312. if test -d /usr/nec ;then
  13313. version_type=linux # correct to gnu/linux during the next big refactor
  13314. library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
  13315. soname_spec='$libname${shared_ext}.$major'
  13316. shlibpath_var=LD_LIBRARY_PATH
  13317. fi
  13318. ;;
  13319. sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  13320. version_type=freebsd-elf
  13321. need_lib_prefix=no
  13322. need_version=no
  13323. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
  13324. soname_spec='${libname}${release}${shared_ext}$major'
  13325. shlibpath_var=LD_LIBRARY_PATH
  13326. shlibpath_overrides_runpath=yes
  13327. hardcode_into_libs=yes
  13328. if test "$with_gnu_ld" = yes; then
  13329. sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
  13330. else
  13331. sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
  13332. case $host_os in
  13333. sco3.2v5*)
  13334. sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
  13335. ;;
  13336. esac
  13337. fi
  13338. sys_lib_dlsearch_path_spec='/usr/lib'
  13339. ;;
  13340. tpf*)
  13341. # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
  13342. version_type=linux # correct to gnu/linux during the next big refactor
  13343. need_lib_prefix=no
  13344. need_version=no
  13345. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  13346. shlibpath_var=LD_LIBRARY_PATH
  13347. shlibpath_overrides_runpath=no
  13348. hardcode_into_libs=yes
  13349. ;;
  13350. uts4*)
  13351. version_type=linux # correct to gnu/linux during the next big refactor
  13352. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  13353. soname_spec='${libname}${release}${shared_ext}$major'
  13354. shlibpath_var=LD_LIBRARY_PATH
  13355. ;;
  13356. *)
  13357. dynamic_linker=no
  13358. ;;
  13359. esac
  13360. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
  13361. $as_echo "$dynamic_linker" >&6; }
  13362. test "$dynamic_linker" = no && can_build_shared=no
  13363. variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
  13364. if test "$GCC" = yes; then
  13365. variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
  13366. fi
  13367. if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
  13368. sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
  13369. fi
  13370. if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
  13371. sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
  13372. fi
  13373. { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
  13374. $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
  13375. hardcode_action_CXX=
  13376. if test -n "$hardcode_libdir_flag_spec_CXX" ||
  13377. test -n "$runpath_var_CXX" ||
  13378. test "X$hardcode_automatic_CXX" = "Xyes" ; then
  13379. # We can hardcode non-existent directories.
  13380. if test "$hardcode_direct_CXX" != no &&
  13381. # If the only mechanism to avoid hardcoding is shlibpath_var, we
  13382. # have to relink, otherwise we might link with an installed library
  13383. # when we should be linking with a yet-to-be-installed one
  13384. ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
  13385. test "$hardcode_minus_L_CXX" != no; then
  13386. # Linking always hardcodes the temporary library directory.
  13387. hardcode_action_CXX=relink
  13388. else
  13389. # We can link without hardcoding, and we can hardcode nonexisting dirs.
  13390. hardcode_action_CXX=immediate
  13391. fi
  13392. else
  13393. # We cannot hardcode anything, or else we can only hardcode existing
  13394. # directories.
  13395. hardcode_action_CXX=unsupported
  13396. fi
  13397. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
  13398. $as_echo "$hardcode_action_CXX" >&6; }
  13399. if test "$hardcode_action_CXX" = relink ||
  13400. test "$inherit_rpath_CXX" = yes; then
  13401. # Fast installation is not supported
  13402. enable_fast_install=no
  13403. elif test "$shlibpath_overrides_runpath" = yes ||
  13404. test "$enable_shared" = no; then
  13405. # Fast installation is not necessary
  13406. enable_fast_install=needless
  13407. fi
  13408. fi # test -n "$compiler"
  13409. CC=$lt_save_CC
  13410. CFLAGS=$lt_save_CFLAGS
  13411. LDCXX=$LD
  13412. LD=$lt_save_LD
  13413. GCC=$lt_save_GCC
  13414. with_gnu_ld=$lt_save_with_gnu_ld
  13415. lt_cv_path_LDCXX=$lt_cv_path_LD
  13416. lt_cv_path_LD=$lt_save_path_LD
  13417. lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
  13418. lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
  13419. fi # test "$_lt_caught_CXX_error" != yes
  13420. ac_ext=c
  13421. ac_cpp='$CPP $CPPFLAGS'
  13422. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  13423. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  13424. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  13425. ac_ext=cpp
  13426. ac_cpp='$CXXCPP $CPPFLAGS'
  13427. ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  13428. ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  13429. ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  13430. # Create the libtool executable so that we can use it in further tests.
  13431. #
  13432. : ${CONFIG_LT=./config.lt}
  13433. { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_LT" >&5
  13434. $as_echo "$as_me: creating $CONFIG_LT" >&6;}
  13435. as_write_fail=0
  13436. cat >"$CONFIG_LT" <<_ASEOF || as_write_fail=1
  13437. #! $SHELL
  13438. # Generated by $as_me.
  13439. # Run this file to recreate a libtool stub with the current configuration.
  13440. SHELL=\${CONFIG_SHELL-$SHELL}
  13441. export SHELL
  13442. _ASEOF
  13443. cat >>"$CONFIG_LT" <<\_ASEOF || as_write_fail=1
  13444. ## -------------------- ##
  13445. ## M4sh Initialization. ##
  13446. ## -------------------- ##
  13447. # Be more Bourne compatible
  13448. DUALCASE=1; export DUALCASE # for MKS sh
  13449. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  13450. emulate sh
  13451. NULLCMD=:
  13452. # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  13453. # is contrary to our usage. Disable this feature.
  13454. alias -g '${1+"$@"}'='"$@"'
  13455. setopt NO_GLOB_SUBST
  13456. else
  13457. case `(set -o) 2>/dev/null` in #(
  13458. *posix*) :
  13459. set -o posix ;; #(
  13460. *) :
  13461. ;;
  13462. esac
  13463. fi
  13464. as_nl='
  13465. '
  13466. export as_nl
  13467. # Printing a long string crashes Solaris 7 /usr/bin/printf.
  13468. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  13469. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  13470. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  13471. # Prefer a ksh shell builtin over an external printf program on Solaris,
  13472. # but without wasting forks for bash or zsh.
  13473. if test -z "$BASH_VERSION$ZSH_VERSION" \
  13474. && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
  13475. as_echo='print -r --'
  13476. as_echo_n='print -rn --'
  13477. elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  13478. as_echo='printf %s\n'
  13479. as_echo_n='printf %s'
  13480. else
  13481. if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
  13482. as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
  13483. as_echo_n='/usr/ucb/echo -n'
  13484. else
  13485. as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  13486. as_echo_n_body='eval
  13487. arg=$1;
  13488. case $arg in #(
  13489. *"$as_nl"*)
  13490. expr "X$arg" : "X\\(.*\\)$as_nl";
  13491. arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  13492. esac;
  13493. expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
  13494. '
  13495. export as_echo_n_body
  13496. as_echo_n='sh -c $as_echo_n_body as_echo'
  13497. fi
  13498. export as_echo_body
  13499. as_echo='sh -c $as_echo_body as_echo'
  13500. fi
  13501. # The user is always right.
  13502. if test "${PATH_SEPARATOR+set}" != set; then
  13503. PATH_SEPARATOR=:
  13504. (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  13505. (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  13506. PATH_SEPARATOR=';'
  13507. }
  13508. fi
  13509. # IFS
  13510. # We need space, tab and new line, in precisely that order. Quoting is
  13511. # there to prevent editors from complaining about space-tab.
  13512. # (If _AS_PATH_WALK were called with IFS unset, it would disable word
  13513. # splitting by setting IFS to empty value.)
  13514. IFS=" "" $as_nl"
  13515. # Find who we are. Look in the path if we contain no directory separator.
  13516. as_myself=
  13517. case $0 in #((
  13518. *[\\/]* ) as_myself=$0 ;;
  13519. *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  13520. for as_dir in $PATH
  13521. do
  13522. IFS=$as_save_IFS
  13523. test -z "$as_dir" && as_dir=.
  13524. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  13525. done
  13526. IFS=$as_save_IFS
  13527. ;;
  13528. esac
  13529. # We did not find ourselves, most probably we were run as `sh COMMAND'
  13530. # in which case we are not to be found in the path.
  13531. if test "x$as_myself" = x; then
  13532. as_myself=$0
  13533. fi
  13534. if test ! -f "$as_myself"; then
  13535. $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  13536. exit 1
  13537. fi
  13538. # Unset variables that we do not need and which cause bugs (e.g. in
  13539. # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
  13540. # suppresses any "Segmentation fault" message there. '((' could
  13541. # trigger a bug in pdksh 5.2.14.
  13542. for as_var in BASH_ENV ENV MAIL MAILPATH
  13543. do eval test x\${$as_var+set} = xset \
  13544. && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  13545. done
  13546. PS1='$ '
  13547. PS2='> '
  13548. PS4='+ '
  13549. # NLS nuisances.
  13550. LC_ALL=C
  13551. export LC_ALL
  13552. LANGUAGE=C
  13553. export LANGUAGE
  13554. # CDPATH.
  13555. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  13556. # as_fn_error STATUS ERROR [LINENO LOG_FD]
  13557. # ----------------------------------------
  13558. # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  13559. # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  13560. # script with STATUS, using 1 if that was 0.
  13561. as_fn_error ()
  13562. {
  13563. as_status=$1; test $as_status -eq 0 && as_status=1
  13564. if test "$4"; then
  13565. as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  13566. $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
  13567. fi
  13568. $as_echo "$as_me: error: $2" >&2
  13569. as_fn_exit $as_status
  13570. } # as_fn_error
  13571. # as_fn_set_status STATUS
  13572. # -----------------------
  13573. # Set $? to STATUS, without forking.
  13574. as_fn_set_status ()
  13575. {
  13576. return $1
  13577. } # as_fn_set_status
  13578. # as_fn_exit STATUS
  13579. # -----------------
  13580. # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  13581. as_fn_exit ()
  13582. {
  13583. set +e
  13584. as_fn_set_status $1
  13585. exit $1
  13586. } # as_fn_exit
  13587. # as_fn_unset VAR
  13588. # ---------------
  13589. # Portably unset VAR.
  13590. as_fn_unset ()
  13591. {
  13592. { eval $1=; unset $1;}
  13593. }
  13594. as_unset=as_fn_unset
  13595. # as_fn_append VAR VALUE
  13596. # ----------------------
  13597. # Append the text in VALUE to the end of the definition contained in VAR. Take
  13598. # advantage of any shell optimizations that allow amortized linear growth over
  13599. # repeated appends, instead of the typical quadratic growth present in naive
  13600. # implementations.
  13601. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  13602. eval 'as_fn_append ()
  13603. {
  13604. eval $1+=\$2
  13605. }'
  13606. else
  13607. as_fn_append ()
  13608. {
  13609. eval $1=\$$1\$2
  13610. }
  13611. fi # as_fn_append
  13612. # as_fn_arith ARG...
  13613. # ------------------
  13614. # Perform arithmetic evaluation on the ARGs, and store the result in the
  13615. # global $as_val. Take advantage of shells that can avoid forks. The arguments
  13616. # must be portable across $(()) and expr.
  13617. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  13618. eval 'as_fn_arith ()
  13619. {
  13620. as_val=$(( $* ))
  13621. }'
  13622. else
  13623. as_fn_arith ()
  13624. {
  13625. as_val=`expr "$@" || test $? -eq 1`
  13626. }
  13627. fi # as_fn_arith
  13628. if expr a : '\(a\)' >/dev/null 2>&1 &&
  13629. test "X`expr 00001 : '.*\(...\)'`" = X001; then
  13630. as_expr=expr
  13631. else
  13632. as_expr=false
  13633. fi
  13634. if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  13635. as_basename=basename
  13636. else
  13637. as_basename=false
  13638. fi
  13639. if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  13640. as_dirname=dirname
  13641. else
  13642. as_dirname=false
  13643. fi
  13644. as_me=`$as_basename -- "$0" ||
  13645. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  13646. X"$0" : 'X\(//\)$' \| \
  13647. X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  13648. $as_echo X/"$0" |
  13649. sed '/^.*\/\([^/][^/]*\)\/*$/{
  13650. s//\1/
  13651. q
  13652. }
  13653. /^X\/\(\/\/\)$/{
  13654. s//\1/
  13655. q
  13656. }
  13657. /^X\/\(\/\).*/{
  13658. s//\1/
  13659. q
  13660. }
  13661. s/.*/./; q'`
  13662. # Avoid depending upon Character Ranges.
  13663. as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  13664. as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  13665. as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  13666. as_cr_digits='0123456789'
  13667. as_cr_alnum=$as_cr_Letters$as_cr_digits
  13668. ECHO_C= ECHO_N= ECHO_T=
  13669. case `echo -n x` in #(((((
  13670. -n*)
  13671. case `echo 'xy\c'` in
  13672. *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  13673. xy) ECHO_C='\c';;
  13674. *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
  13675. ECHO_T=' ';;
  13676. esac;;
  13677. *)
  13678. ECHO_N='-n';;
  13679. esac
  13680. rm -f conf$$ conf$$.exe conf$$.file
  13681. if test -d conf$$.dir; then
  13682. rm -f conf$$.dir/conf$$.file
  13683. else
  13684. rm -f conf$$.dir
  13685. mkdir conf$$.dir 2>/dev/null
  13686. fi
  13687. if (echo >conf$$.file) 2>/dev/null; then
  13688. if ln -s conf$$.file conf$$ 2>/dev/null; then
  13689. as_ln_s='ln -s'
  13690. # ... but there are two gotchas:
  13691. # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  13692. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  13693. # In both cases, we have to default to `cp -pR'.
  13694. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  13695. as_ln_s='cp -pR'
  13696. elif ln conf$$.file conf$$ 2>/dev/null; then
  13697. as_ln_s=ln
  13698. else
  13699. as_ln_s='cp -pR'
  13700. fi
  13701. else
  13702. as_ln_s='cp -pR'
  13703. fi
  13704. rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  13705. rmdir conf$$.dir 2>/dev/null
  13706. # as_fn_mkdir_p
  13707. # -------------
  13708. # Create "$as_dir" as a directory, including parents if necessary.
  13709. as_fn_mkdir_p ()
  13710. {
  13711. case $as_dir in #(
  13712. -*) as_dir=./$as_dir;;
  13713. esac
  13714. test -d "$as_dir" || eval $as_mkdir_p || {
  13715. as_dirs=
  13716. while :; do
  13717. case $as_dir in #(
  13718. *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  13719. *) as_qdir=$as_dir;;
  13720. esac
  13721. as_dirs="'$as_qdir' $as_dirs"
  13722. as_dir=`$as_dirname -- "$as_dir" ||
  13723. $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  13724. X"$as_dir" : 'X\(//\)[^/]' \| \
  13725. X"$as_dir" : 'X\(//\)$' \| \
  13726. X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  13727. $as_echo X"$as_dir" |
  13728. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  13729. s//\1/
  13730. q
  13731. }
  13732. /^X\(\/\/\)[^/].*/{
  13733. s//\1/
  13734. q
  13735. }
  13736. /^X\(\/\/\)$/{
  13737. s//\1/
  13738. q
  13739. }
  13740. /^X\(\/\).*/{
  13741. s//\1/
  13742. q
  13743. }
  13744. s/.*/./; q'`
  13745. test -d "$as_dir" && break
  13746. done
  13747. test -z "$as_dirs" || eval "mkdir $as_dirs"
  13748. } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
  13749. } # as_fn_mkdir_p
  13750. if mkdir -p . 2>/dev/null; then
  13751. as_mkdir_p='mkdir -p "$as_dir"'
  13752. else
  13753. test -d ./-p && rmdir ./-p
  13754. as_mkdir_p=false
  13755. fi
  13756. # as_fn_executable_p FILE
  13757. # -----------------------
  13758. # Test if FILE is an executable regular file.
  13759. as_fn_executable_p ()
  13760. {
  13761. test -f "$1" && test -x "$1"
  13762. } # as_fn_executable_p
  13763. as_test_x='test -x'
  13764. as_executable_p=as_fn_executable_p
  13765. # Sed expression to map a string onto a valid CPP name.
  13766. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  13767. # Sed expression to map a string onto a valid variable name.
  13768. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  13769. exec 6>&1
  13770. ## --------------------------------- ##
  13771. ## Main body of "$CONFIG_LT" script. ##
  13772. ## --------------------------------- ##
  13773. _ASEOF
  13774. test $as_write_fail = 0 && chmod +x "$CONFIG_LT"
  13775. cat >>"$CONFIG_LT" <<\_LTEOF
  13776. lt_cl_silent=false
  13777. exec 5>>config.log
  13778. {
  13779. echo
  13780. sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
  13781. ## Running $as_me. ##
  13782. _ASBOX
  13783. } >&5
  13784. lt_cl_help="\
  13785. \`$as_me' creates a local libtool stub from the current configuration,
  13786. for use in further configure time tests before the real libtool is
  13787. generated.
  13788. Usage: $0 [OPTIONS]
  13789. -h, --help print this help, then exit
  13790. -V, --version print version number, then exit
  13791. -q, --quiet do not print progress messages
  13792. -d, --debug don't remove temporary files
  13793. Report bugs to <bug-libtool@gnu.org>."
  13794. lt_cl_version="\
  13795. libstudxml config.lt 1.0.1
  13796. configured by $0, generated by GNU Autoconf 2.69.
  13797. Copyright (C) 2011 Free Software Foundation, Inc.
  13798. This config.lt script is free software; the Free Software Foundation
  13799. gives unlimited permision to copy, distribute and modify it."
  13800. while test $# != 0
  13801. do
  13802. case $1 in
  13803. --version | --v* | -V )
  13804. echo "$lt_cl_version"; exit 0 ;;
  13805. --help | --h* | -h )
  13806. echo "$lt_cl_help"; exit 0 ;;
  13807. --debug | --d* | -d )
  13808. debug=: ;;
  13809. --quiet | --q* | --silent | --s* | -q )
  13810. lt_cl_silent=: ;;
  13811. -*) as_fn_error $? "unrecognized option: $1
  13812. Try \`$0 --help' for more information." "$LINENO" 5 ;;
  13813. *) as_fn_error $? "unrecognized argument: $1
  13814. Try \`$0 --help' for more information." "$LINENO" 5 ;;
  13815. esac
  13816. shift
  13817. done
  13818. if $lt_cl_silent; then
  13819. exec 6>/dev/null
  13820. fi
  13821. _LTEOF
  13822. cat >>"$CONFIG_LT" <<_LTEOF
  13823. # The HP-UX ksh and POSIX shell print the target directory to stdout
  13824. # if CDPATH is set.
  13825. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  13826. sed_quote_subst='$sed_quote_subst'
  13827. double_quote_subst='$double_quote_subst'
  13828. delay_variable_subst='$delay_variable_subst'
  13829. macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
  13830. macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
  13831. AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
  13832. DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
  13833. OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
  13834. enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
  13835. enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
  13836. pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
  13837. enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
  13838. SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
  13839. ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
  13840. PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
  13841. host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
  13842. host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
  13843. host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
  13844. build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
  13845. build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
  13846. build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
  13847. SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
  13848. Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
  13849. GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
  13850. EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
  13851. FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
  13852. LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
  13853. NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
  13854. LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
  13855. max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
  13856. ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
  13857. exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
  13858. lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
  13859. lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
  13860. lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
  13861. lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
  13862. lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
  13863. reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
  13864. reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
  13865. deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
  13866. file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
  13867. file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
  13868. want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
  13869. sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
  13870. AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
  13871. AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
  13872. archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
  13873. STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
  13874. RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
  13875. old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
  13876. old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
  13877. old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
  13878. lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
  13879. CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
  13880. CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
  13881. compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
  13882. GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
  13883. lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
  13884. lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
  13885. lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
  13886. lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
  13887. nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
  13888. lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
  13889. objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
  13890. MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
  13891. lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
  13892. lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
  13893. lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
  13894. lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
  13895. lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
  13896. need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
  13897. MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
  13898. DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
  13899. NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
  13900. LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
  13901. OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
  13902. OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
  13903. libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
  13904. shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
  13905. extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
  13906. archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
  13907. enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
  13908. export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
  13909. whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
  13910. compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
  13911. old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
  13912. old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
  13913. archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
  13914. archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
  13915. module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
  13916. module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
  13917. with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
  13918. allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
  13919. no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
  13920. hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
  13921. hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
  13922. hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
  13923. hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
  13924. hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
  13925. hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
  13926. hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
  13927. inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
  13928. link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
  13929. always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
  13930. export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
  13931. exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
  13932. include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
  13933. prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
  13934. postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
  13935. file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
  13936. variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
  13937. need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
  13938. need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
  13939. version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
  13940. runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
  13941. shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
  13942. shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
  13943. libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
  13944. library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
  13945. soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
  13946. install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
  13947. postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
  13948. postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
  13949. finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
  13950. finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
  13951. hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
  13952. sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
  13953. sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
  13954. hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
  13955. enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
  13956. enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
  13957. enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
  13958. old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
  13959. striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
  13960. compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
  13961. predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
  13962. postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
  13963. predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
  13964. postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
  13965. compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
  13966. LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
  13967. reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
  13968. reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
  13969. old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
  13970. compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
  13971. GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
  13972. lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
  13973. lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
  13974. lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
  13975. lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
  13976. lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
  13977. archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
  13978. enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
  13979. export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
  13980. whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
  13981. compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
  13982. old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
  13983. old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
  13984. archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
  13985. archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
  13986. module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
  13987. module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
  13988. with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
  13989. allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
  13990. no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
  13991. hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
  13992. hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
  13993. hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
  13994. hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
  13995. hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
  13996. hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
  13997. hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
  13998. inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
  13999. link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
  14000. always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
  14001. export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
  14002. exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
  14003. include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
  14004. prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
  14005. postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
  14006. file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
  14007. hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
  14008. compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
  14009. predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
  14010. postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
  14011. predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
  14012. postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
  14013. compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
  14014. LTCC='$LTCC'
  14015. LTCFLAGS='$LTCFLAGS'
  14016. compiler='$compiler_DEFAULT'
  14017. # A function that is used when there is no print builtin or printf.
  14018. func_fallback_echo ()
  14019. {
  14020. eval 'cat <<_LTECHO_EOF
  14021. \$1
  14022. _LTECHO_EOF'
  14023. }
  14024. # Quote evaled strings.
  14025. for var in AS \
  14026. DLLTOOL \
  14027. OBJDUMP \
  14028. SHELL \
  14029. ECHO \
  14030. PATH_SEPARATOR \
  14031. SED \
  14032. GREP \
  14033. EGREP \
  14034. FGREP \
  14035. LD \
  14036. NM \
  14037. LN_S \
  14038. lt_SP2NL \
  14039. lt_NL2SP \
  14040. reload_flag \
  14041. deplibs_check_method \
  14042. file_magic_cmd \
  14043. file_magic_glob \
  14044. want_nocaseglob \
  14045. sharedlib_from_linklib_cmd \
  14046. AR \
  14047. AR_FLAGS \
  14048. archiver_list_spec \
  14049. STRIP \
  14050. RANLIB \
  14051. CC \
  14052. CFLAGS \
  14053. compiler \
  14054. lt_cv_sys_global_symbol_pipe \
  14055. lt_cv_sys_global_symbol_to_cdecl \
  14056. lt_cv_sys_global_symbol_to_c_name_address \
  14057. lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
  14058. nm_file_list_spec \
  14059. lt_prog_compiler_no_builtin_flag \
  14060. lt_prog_compiler_pic \
  14061. lt_prog_compiler_wl \
  14062. lt_prog_compiler_static \
  14063. lt_cv_prog_compiler_c_o \
  14064. need_locks \
  14065. MANIFEST_TOOL \
  14066. DSYMUTIL \
  14067. NMEDIT \
  14068. LIPO \
  14069. OTOOL \
  14070. OTOOL64 \
  14071. shrext_cmds \
  14072. export_dynamic_flag_spec \
  14073. whole_archive_flag_spec \
  14074. compiler_needs_object \
  14075. with_gnu_ld \
  14076. allow_undefined_flag \
  14077. no_undefined_flag \
  14078. hardcode_libdir_flag_spec \
  14079. hardcode_libdir_separator \
  14080. exclude_expsyms \
  14081. include_expsyms \
  14082. file_list_spec \
  14083. variables_saved_for_relink \
  14084. libname_spec \
  14085. library_names_spec \
  14086. soname_spec \
  14087. install_override_mode \
  14088. finish_eval \
  14089. old_striplib \
  14090. striplib \
  14091. compiler_lib_search_dirs \
  14092. predep_objects \
  14093. postdep_objects \
  14094. predeps \
  14095. postdeps \
  14096. compiler_lib_search_path \
  14097. LD_CXX \
  14098. reload_flag_CXX \
  14099. compiler_CXX \
  14100. lt_prog_compiler_no_builtin_flag_CXX \
  14101. lt_prog_compiler_pic_CXX \
  14102. lt_prog_compiler_wl_CXX \
  14103. lt_prog_compiler_static_CXX \
  14104. lt_cv_prog_compiler_c_o_CXX \
  14105. export_dynamic_flag_spec_CXX \
  14106. whole_archive_flag_spec_CXX \
  14107. compiler_needs_object_CXX \
  14108. with_gnu_ld_CXX \
  14109. allow_undefined_flag_CXX \
  14110. no_undefined_flag_CXX \
  14111. hardcode_libdir_flag_spec_CXX \
  14112. hardcode_libdir_separator_CXX \
  14113. exclude_expsyms_CXX \
  14114. include_expsyms_CXX \
  14115. file_list_spec_CXX \
  14116. compiler_lib_search_dirs_CXX \
  14117. predep_objects_CXX \
  14118. postdep_objects_CXX \
  14119. predeps_CXX \
  14120. postdeps_CXX \
  14121. compiler_lib_search_path_CXX; do
  14122. case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
  14123. *[\\\\\\\`\\"\\\$]*)
  14124. eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
  14125. ;;
  14126. *)
  14127. eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
  14128. ;;
  14129. esac
  14130. done
  14131. # Double-quote double-evaled strings.
  14132. for var in reload_cmds \
  14133. old_postinstall_cmds \
  14134. old_postuninstall_cmds \
  14135. old_archive_cmds \
  14136. extract_expsyms_cmds \
  14137. old_archive_from_new_cmds \
  14138. old_archive_from_expsyms_cmds \
  14139. archive_cmds \
  14140. archive_expsym_cmds \
  14141. module_cmds \
  14142. module_expsym_cmds \
  14143. export_symbols_cmds \
  14144. prelink_cmds \
  14145. postlink_cmds \
  14146. postinstall_cmds \
  14147. postuninstall_cmds \
  14148. finish_cmds \
  14149. sys_lib_search_path_spec \
  14150. sys_lib_dlsearch_path_spec \
  14151. reload_cmds_CXX \
  14152. old_archive_cmds_CXX \
  14153. old_archive_from_new_cmds_CXX \
  14154. old_archive_from_expsyms_cmds_CXX \
  14155. archive_cmds_CXX \
  14156. archive_expsym_cmds_CXX \
  14157. module_cmds_CXX \
  14158. module_expsym_cmds_CXX \
  14159. export_symbols_cmds_CXX \
  14160. prelink_cmds_CXX \
  14161. postlink_cmds_CXX; do
  14162. case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
  14163. *[\\\\\\\`\\"\\\$]*)
  14164. eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
  14165. ;;
  14166. *)
  14167. eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
  14168. ;;
  14169. esac
  14170. done
  14171. ac_aux_dir='$ac_aux_dir'
  14172. xsi_shell='$xsi_shell'
  14173. lt_shell_append='$lt_shell_append'
  14174. # See if we are running on zsh, and set the options which allow our
  14175. # commands through without removal of \ escapes INIT.
  14176. if test -n "\${ZSH_VERSION+set}" ; then
  14177. setopt NO_GLOB_SUBST
  14178. fi
  14179. PACKAGE='$PACKAGE'
  14180. VERSION='$VERSION'
  14181. TIMESTAMP='$TIMESTAMP'
  14182. RM='$RM'
  14183. ofile='$ofile'
  14184. _LTEOF
  14185. cat >>"$CONFIG_LT" <<\_LTEOF
  14186. { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ofile" >&5
  14187. $as_echo "$as_me: creating $ofile" >&6;}
  14188. # See if we are running on zsh, and set the options which allow our
  14189. # commands through without removal of \ escapes.
  14190. if test -n "${ZSH_VERSION+set}" ; then
  14191. setopt NO_GLOB_SUBST
  14192. fi
  14193. cfgfile="${ofile}T"
  14194. trap "$RM \"$cfgfile\"; exit 1" 1 2 15
  14195. $RM "$cfgfile"
  14196. cat <<_LT_EOF >> "$cfgfile"
  14197. #! $SHELL
  14198. # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
  14199. # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
  14200. # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
  14201. # NOTE: Changes made to this file will be lost: look at ltmain.sh.
  14202. #
  14203. # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
  14204. # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
  14205. # Foundation, Inc.
  14206. # Written by Gordon Matzigkeit, 1996
  14207. #
  14208. # This file is part of GNU Libtool.
  14209. #
  14210. # GNU Libtool is free software; you can redistribute it and/or
  14211. # modify it under the terms of the GNU General Public License as
  14212. # published by the Free Software Foundation; either version 2 of
  14213. # the License, or (at your option) any later version.
  14214. #
  14215. # As a special exception to the GNU General Public License,
  14216. # if you distribute this file as part of a program or library that
  14217. # is built using GNU Libtool, you may include this file under the
  14218. # same distribution terms that you use for the rest of that program.
  14219. #
  14220. # GNU Libtool is distributed in the hope that it will be useful,
  14221. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  14222. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  14223. # GNU General Public License for more details.
  14224. #
  14225. # You should have received a copy of the GNU General Public License
  14226. # along with GNU Libtool; see the file COPYING. If not, a copy
  14227. # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
  14228. # obtained by writing to the Free Software Foundation, Inc.,
  14229. # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  14230. # The names of the tagged configurations supported by this script.
  14231. available_tags="CXX "
  14232. # ### BEGIN LIBTOOL CONFIG
  14233. # Which release of libtool.m4 was used?
  14234. macro_version=$macro_version
  14235. macro_revision=$macro_revision
  14236. # Assembler program.
  14237. AS=$lt_AS
  14238. # DLL creation program.
  14239. DLLTOOL=$lt_DLLTOOL
  14240. # Object dumper program.
  14241. OBJDUMP=$lt_OBJDUMP
  14242. # Whether or not to build shared libraries.
  14243. build_libtool_libs=$enable_shared
  14244. # Whether or not to build static libraries.
  14245. build_old_libs=$enable_static
  14246. # What type of objects to build.
  14247. pic_mode=$pic_mode
  14248. # Whether or not to optimize for fast installation.
  14249. fast_install=$enable_fast_install
  14250. # Shell to use when invoking shell scripts.
  14251. SHELL=$lt_SHELL
  14252. # An echo program that protects backslashes.
  14253. ECHO=$lt_ECHO
  14254. # The PATH separator for the build system.
  14255. PATH_SEPARATOR=$lt_PATH_SEPARATOR
  14256. # The host system.
  14257. host_alias=$host_alias
  14258. host=$host
  14259. host_os=$host_os
  14260. # The build system.
  14261. build_alias=$build_alias
  14262. build=$build
  14263. build_os=$build_os
  14264. # A sed program that does not truncate output.
  14265. SED=$lt_SED
  14266. # Sed that helps us avoid accidentally triggering echo(1) options like -n.
  14267. Xsed="\$SED -e 1s/^X//"
  14268. # A grep program that handles long lines.
  14269. GREP=$lt_GREP
  14270. # An ERE matcher.
  14271. EGREP=$lt_EGREP
  14272. # A literal string matcher.
  14273. FGREP=$lt_FGREP
  14274. # A BSD- or MS-compatible name lister.
  14275. NM=$lt_NM
  14276. # Whether we need soft or hard links.
  14277. LN_S=$lt_LN_S
  14278. # What is the maximum length of a command?
  14279. max_cmd_len=$max_cmd_len
  14280. # Object file suffix (normally "o").
  14281. objext=$ac_objext
  14282. # Executable file suffix (normally "").
  14283. exeext=$exeext
  14284. # whether the shell understands "unset".
  14285. lt_unset=$lt_unset
  14286. # turn spaces into newlines.
  14287. SP2NL=$lt_lt_SP2NL
  14288. # turn newlines into spaces.
  14289. NL2SP=$lt_lt_NL2SP
  14290. # convert \$build file names to \$host format.
  14291. to_host_file_cmd=$lt_cv_to_host_file_cmd
  14292. # convert \$build files to toolchain format.
  14293. to_tool_file_cmd=$lt_cv_to_tool_file_cmd
  14294. # Method to check whether dependent libraries are shared objects.
  14295. deplibs_check_method=$lt_deplibs_check_method
  14296. # Command to use when deplibs_check_method = "file_magic".
  14297. file_magic_cmd=$lt_file_magic_cmd
  14298. # How to find potential files when deplibs_check_method = "file_magic".
  14299. file_magic_glob=$lt_file_magic_glob
  14300. # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
  14301. want_nocaseglob=$lt_want_nocaseglob
  14302. # Command to associate shared and link libraries.
  14303. sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
  14304. # The archiver.
  14305. AR=$lt_AR
  14306. # Flags to create an archive.
  14307. AR_FLAGS=$lt_AR_FLAGS
  14308. # How to feed a file listing to the archiver.
  14309. archiver_list_spec=$lt_archiver_list_spec
  14310. # A symbol stripping program.
  14311. STRIP=$lt_STRIP
  14312. # Commands used to install an old-style archive.
  14313. RANLIB=$lt_RANLIB
  14314. old_postinstall_cmds=$lt_old_postinstall_cmds
  14315. old_postuninstall_cmds=$lt_old_postuninstall_cmds
  14316. # Whether to use a lock for old archive extraction.
  14317. lock_old_archive_extraction=$lock_old_archive_extraction
  14318. # A C compiler.
  14319. LTCC=$lt_CC
  14320. # LTCC compiler flags.
  14321. LTCFLAGS=$lt_CFLAGS
  14322. # Take the output of nm and produce a listing of raw symbols and C names.
  14323. global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
  14324. # Transform the output of nm in a proper C declaration.
  14325. global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
  14326. # Transform the output of nm in a C name address pair.
  14327. global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
  14328. # Transform the output of nm in a C name address pair when lib prefix is needed.
  14329. global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
  14330. # Specify filename containing input files for \$NM.
  14331. nm_file_list_spec=$lt_nm_file_list_spec
  14332. # The root where to search for dependent libraries,and in which our libraries should be installed.
  14333. lt_sysroot=$lt_sysroot
  14334. # The name of the directory that contains temporary libtool files.
  14335. objdir=$objdir
  14336. # Used to examine libraries when file_magic_cmd begins with "file".
  14337. MAGIC_CMD=$MAGIC_CMD
  14338. # Must we lock files when doing compilation?
  14339. need_locks=$lt_need_locks
  14340. # Manifest tool.
  14341. MANIFEST_TOOL=$lt_MANIFEST_TOOL
  14342. # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
  14343. DSYMUTIL=$lt_DSYMUTIL
  14344. # Tool to change global to local symbols on Mac OS X.
  14345. NMEDIT=$lt_NMEDIT
  14346. # Tool to manipulate fat objects and archives on Mac OS X.
  14347. LIPO=$lt_LIPO
  14348. # ldd/readelf like tool for Mach-O binaries on Mac OS X.
  14349. OTOOL=$lt_OTOOL
  14350. # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
  14351. OTOOL64=$lt_OTOOL64
  14352. # Old archive suffix (normally "a").
  14353. libext=$libext
  14354. # Shared library suffix (normally ".so").
  14355. shrext_cmds=$lt_shrext_cmds
  14356. # The commands to extract the exported symbol list from a shared archive.
  14357. extract_expsyms_cmds=$lt_extract_expsyms_cmds
  14358. # Variables whose values should be saved in libtool wrapper scripts and
  14359. # restored at link time.
  14360. variables_saved_for_relink=$lt_variables_saved_for_relink
  14361. # Do we need the "lib" prefix for modules?
  14362. need_lib_prefix=$need_lib_prefix
  14363. # Do we need a version for libraries?
  14364. need_version=$need_version
  14365. # Library versioning type.
  14366. version_type=$version_type
  14367. # Shared library runtime path variable.
  14368. runpath_var=$runpath_var
  14369. # Shared library path variable.
  14370. shlibpath_var=$shlibpath_var
  14371. # Is shlibpath searched before the hard-coded library search path?
  14372. shlibpath_overrides_runpath=$shlibpath_overrides_runpath
  14373. # Format of library name prefix.
  14374. libname_spec=$lt_libname_spec
  14375. # List of archive names. First name is the real one, the rest are links.
  14376. # The last name is the one that the linker finds with -lNAME
  14377. library_names_spec=$lt_library_names_spec
  14378. # The coded name of the library, if different from the real name.
  14379. soname_spec=$lt_soname_spec
  14380. # Permission mode override for installation of shared libraries.
  14381. install_override_mode=$lt_install_override_mode
  14382. # Command to use after installation of a shared archive.
  14383. postinstall_cmds=$lt_postinstall_cmds
  14384. # Command to use after uninstallation of a shared archive.
  14385. postuninstall_cmds=$lt_postuninstall_cmds
  14386. # Commands used to finish a libtool library installation in a directory.
  14387. finish_cmds=$lt_finish_cmds
  14388. # As "finish_cmds", except a single script fragment to be evaled but
  14389. # not shown.
  14390. finish_eval=$lt_finish_eval
  14391. # Whether we should hardcode library paths into libraries.
  14392. hardcode_into_libs=$hardcode_into_libs
  14393. # Compile-time system search path for libraries.
  14394. sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
  14395. # Run-time system search path for libraries.
  14396. sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
  14397. # Whether dlopen is supported.
  14398. dlopen_support=$enable_dlopen
  14399. # Whether dlopen of programs is supported.
  14400. dlopen_self=$enable_dlopen_self
  14401. # Whether dlopen of statically linked programs is supported.
  14402. dlopen_self_static=$enable_dlopen_self_static
  14403. # Commands to strip libraries.
  14404. old_striplib=$lt_old_striplib
  14405. striplib=$lt_striplib
  14406. # The linker used to build libraries.
  14407. LD=$lt_LD
  14408. # How to create reloadable object files.
  14409. reload_flag=$lt_reload_flag
  14410. reload_cmds=$lt_reload_cmds
  14411. # Commands used to build an old-style archive.
  14412. old_archive_cmds=$lt_old_archive_cmds
  14413. # A language specific compiler.
  14414. CC=$lt_compiler
  14415. # Is the compiler the GNU compiler?
  14416. with_gcc=$GCC
  14417. # Compiler flag to turn off builtin functions.
  14418. no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
  14419. # Additional compiler flags for building library objects.
  14420. pic_flag=$lt_lt_prog_compiler_pic
  14421. # How to pass a linker flag through the compiler.
  14422. wl=$lt_lt_prog_compiler_wl
  14423. # Compiler flag to prevent dynamic linking.
  14424. link_static_flag=$lt_lt_prog_compiler_static
  14425. # Does compiler simultaneously support -c and -o options?
  14426. compiler_c_o=$lt_lt_cv_prog_compiler_c_o
  14427. # Whether or not to add -lc for building shared libraries.
  14428. build_libtool_need_lc=$archive_cmds_need_lc
  14429. # Whether or not to disallow shared libs when runtime libs are static.
  14430. allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
  14431. # Compiler flag to allow reflexive dlopens.
  14432. export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
  14433. # Compiler flag to generate shared objects directly from archives.
  14434. whole_archive_flag_spec=$lt_whole_archive_flag_spec
  14435. # Whether the compiler copes with passing no objects directly.
  14436. compiler_needs_object=$lt_compiler_needs_object
  14437. # Create an old-style archive from a shared archive.
  14438. old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
  14439. # Create a temporary old-style archive to link instead of a shared archive.
  14440. old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
  14441. # Commands used to build a shared archive.
  14442. archive_cmds=$lt_archive_cmds
  14443. archive_expsym_cmds=$lt_archive_expsym_cmds
  14444. # Commands used to build a loadable module if different from building
  14445. # a shared archive.
  14446. module_cmds=$lt_module_cmds
  14447. module_expsym_cmds=$lt_module_expsym_cmds
  14448. # Whether we are building with GNU ld or not.
  14449. with_gnu_ld=$lt_with_gnu_ld
  14450. # Flag that allows shared libraries with undefined symbols to be built.
  14451. allow_undefined_flag=$lt_allow_undefined_flag
  14452. # Flag that enforces no undefined symbols.
  14453. no_undefined_flag=$lt_no_undefined_flag
  14454. # Flag to hardcode \$libdir into a binary during linking.
  14455. # This must work even if \$libdir does not exist
  14456. hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
  14457. # Whether we need a single "-rpath" flag with a separated argument.
  14458. hardcode_libdir_separator=$lt_hardcode_libdir_separator
  14459. # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
  14460. # DIR into the resulting binary.
  14461. hardcode_direct=$hardcode_direct
  14462. # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
  14463. # DIR into the resulting binary and the resulting library dependency is
  14464. # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
  14465. # library is relocated.
  14466. hardcode_direct_absolute=$hardcode_direct_absolute
  14467. # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
  14468. # into the resulting binary.
  14469. hardcode_minus_L=$hardcode_minus_L
  14470. # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
  14471. # into the resulting binary.
  14472. hardcode_shlibpath_var=$hardcode_shlibpath_var
  14473. # Set to "yes" if building a shared library automatically hardcodes DIR
  14474. # into the library and all subsequent libraries and executables linked
  14475. # against it.
  14476. hardcode_automatic=$hardcode_automatic
  14477. # Set to yes if linker adds runtime paths of dependent libraries
  14478. # to runtime path list.
  14479. inherit_rpath=$inherit_rpath
  14480. # Whether libtool must link a program against all its dependency libraries.
  14481. link_all_deplibs=$link_all_deplibs
  14482. # Set to "yes" if exported symbols are required.
  14483. always_export_symbols=$always_export_symbols
  14484. # The commands to list exported symbols.
  14485. export_symbols_cmds=$lt_export_symbols_cmds
  14486. # Symbols that should not be listed in the preloaded symbols.
  14487. exclude_expsyms=$lt_exclude_expsyms
  14488. # Symbols that must always be exported.
  14489. include_expsyms=$lt_include_expsyms
  14490. # Commands necessary for linking programs (against libraries) with templates.
  14491. prelink_cmds=$lt_prelink_cmds
  14492. # Commands necessary for finishing linking programs.
  14493. postlink_cmds=$lt_postlink_cmds
  14494. # Specify filename containing input files.
  14495. file_list_spec=$lt_file_list_spec
  14496. # How to hardcode a shared library path into an executable.
  14497. hardcode_action=$hardcode_action
  14498. # The directories searched by this compiler when creating a shared library.
  14499. compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
  14500. # Dependencies to place before and after the objects being linked to
  14501. # create a shared library.
  14502. predep_objects=$lt_predep_objects
  14503. postdep_objects=$lt_postdep_objects
  14504. predeps=$lt_predeps
  14505. postdeps=$lt_postdeps
  14506. # The library search path used internally by the compiler when linking
  14507. # a shared library.
  14508. compiler_lib_search_path=$lt_compiler_lib_search_path
  14509. # ### END LIBTOOL CONFIG
  14510. _LT_EOF
  14511. case $host_os in
  14512. aix3*)
  14513. cat <<\_LT_EOF >> "$cfgfile"
  14514. # AIX sometimes has problems with the GCC collect2 program. For some
  14515. # reason, if we set the COLLECT_NAMES environment variable, the problems
  14516. # vanish in a puff of smoke.
  14517. if test "X${COLLECT_NAMES+set}" != Xset; then
  14518. COLLECT_NAMES=
  14519. export COLLECT_NAMES
  14520. fi
  14521. _LT_EOF
  14522. ;;
  14523. esac
  14524. ltmain="$ac_aux_dir/ltmain.sh"
  14525. # We use sed instead of cat because bash on DJGPP gets confused if
  14526. # if finds mixed CR/LF and LF-only lines. Since sed operates in
  14527. # text mode, it properly converts lines to CR/LF. This bash problem
  14528. # is reportedly fixed, but why not run on old versions too?
  14529. sed '$q' "$ltmain" >> "$cfgfile" \
  14530. || (rm -f "$cfgfile"; exit 1)
  14531. if test x"$xsi_shell" = xyes; then
  14532. sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
  14533. func_dirname ()\
  14534. {\
  14535. \ case ${1} in\
  14536. \ */*) func_dirname_result="${1%/*}${2}" ;;\
  14537. \ * ) func_dirname_result="${3}" ;;\
  14538. \ esac\
  14539. } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
  14540. && mv -f "$cfgfile.tmp" "$cfgfile" \
  14541. || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  14542. test 0 -eq $? || _lt_function_replace_fail=:
  14543. sed -e '/^func_basename ()$/,/^} # func_basename /c\
  14544. func_basename ()\
  14545. {\
  14546. \ func_basename_result="${1##*/}"\
  14547. } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
  14548. && mv -f "$cfgfile.tmp" "$cfgfile" \
  14549. || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  14550. test 0 -eq $? || _lt_function_replace_fail=:
  14551. sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
  14552. func_dirname_and_basename ()\
  14553. {\
  14554. \ case ${1} in\
  14555. \ */*) func_dirname_result="${1%/*}${2}" ;;\
  14556. \ * ) func_dirname_result="${3}" ;;\
  14557. \ esac\
  14558. \ func_basename_result="${1##*/}"\
  14559. } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
  14560. && mv -f "$cfgfile.tmp" "$cfgfile" \
  14561. || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  14562. test 0 -eq $? || _lt_function_replace_fail=:
  14563. sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
  14564. func_stripname ()\
  14565. {\
  14566. \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
  14567. \ # positional parameters, so assign one to ordinary parameter first.\
  14568. \ func_stripname_result=${3}\
  14569. \ func_stripname_result=${func_stripname_result#"${1}"}\
  14570. \ func_stripname_result=${func_stripname_result%"${2}"}\
  14571. } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
  14572. && mv -f "$cfgfile.tmp" "$cfgfile" \
  14573. || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  14574. test 0 -eq $? || _lt_function_replace_fail=:
  14575. sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
  14576. func_split_long_opt ()\
  14577. {\
  14578. \ func_split_long_opt_name=${1%%=*}\
  14579. \ func_split_long_opt_arg=${1#*=}\
  14580. } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
  14581. && mv -f "$cfgfile.tmp" "$cfgfile" \
  14582. || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  14583. test 0 -eq $? || _lt_function_replace_fail=:
  14584. sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
  14585. func_split_short_opt ()\
  14586. {\
  14587. \ func_split_short_opt_arg=${1#??}\
  14588. \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
  14589. } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
  14590. && mv -f "$cfgfile.tmp" "$cfgfile" \
  14591. || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  14592. test 0 -eq $? || _lt_function_replace_fail=:
  14593. sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
  14594. func_lo2o ()\
  14595. {\
  14596. \ case ${1} in\
  14597. \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
  14598. \ *) func_lo2o_result=${1} ;;\
  14599. \ esac\
  14600. } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
  14601. && mv -f "$cfgfile.tmp" "$cfgfile" \
  14602. || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  14603. test 0 -eq $? || _lt_function_replace_fail=:
  14604. sed -e '/^func_xform ()$/,/^} # func_xform /c\
  14605. func_xform ()\
  14606. {\
  14607. func_xform_result=${1%.*}.lo\
  14608. } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
  14609. && mv -f "$cfgfile.tmp" "$cfgfile" \
  14610. || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  14611. test 0 -eq $? || _lt_function_replace_fail=:
  14612. sed -e '/^func_arith ()$/,/^} # func_arith /c\
  14613. func_arith ()\
  14614. {\
  14615. func_arith_result=$(( $* ))\
  14616. } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
  14617. && mv -f "$cfgfile.tmp" "$cfgfile" \
  14618. || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  14619. test 0 -eq $? || _lt_function_replace_fail=:
  14620. sed -e '/^func_len ()$/,/^} # func_len /c\
  14621. func_len ()\
  14622. {\
  14623. func_len_result=${#1}\
  14624. } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
  14625. && mv -f "$cfgfile.tmp" "$cfgfile" \
  14626. || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  14627. test 0 -eq $? || _lt_function_replace_fail=:
  14628. fi
  14629. if test x"$lt_shell_append" = xyes; then
  14630. sed -e '/^func_append ()$/,/^} # func_append /c\
  14631. func_append ()\
  14632. {\
  14633. eval "${1}+=\\${2}"\
  14634. } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
  14635. && mv -f "$cfgfile.tmp" "$cfgfile" \
  14636. || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  14637. test 0 -eq $? || _lt_function_replace_fail=:
  14638. sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
  14639. func_append_quoted ()\
  14640. {\
  14641. \ func_quote_for_eval "${2}"\
  14642. \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
  14643. } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
  14644. && mv -f "$cfgfile.tmp" "$cfgfile" \
  14645. || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  14646. test 0 -eq $? || _lt_function_replace_fail=:
  14647. # Save a `func_append' function call where possible by direct use of '+='
  14648. sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
  14649. && mv -f "$cfgfile.tmp" "$cfgfile" \
  14650. || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  14651. test 0 -eq $? || _lt_function_replace_fail=:
  14652. else
  14653. # Save a `func_append' function call even when '+=' is not available
  14654. sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
  14655. && mv -f "$cfgfile.tmp" "$cfgfile" \
  14656. || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  14657. test 0 -eq $? || _lt_function_replace_fail=:
  14658. fi
  14659. if test x"$_lt_function_replace_fail" = x":"; then
  14660. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
  14661. $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
  14662. fi
  14663. mv -f "$cfgfile" "$ofile" ||
  14664. (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
  14665. chmod +x "$ofile"
  14666. cat <<_LT_EOF >> "$ofile"
  14667. # ### BEGIN LIBTOOL TAG CONFIG: CXX
  14668. # The linker used to build libraries.
  14669. LD=$lt_LD_CXX
  14670. # How to create reloadable object files.
  14671. reload_flag=$lt_reload_flag_CXX
  14672. reload_cmds=$lt_reload_cmds_CXX
  14673. # Commands used to build an old-style archive.
  14674. old_archive_cmds=$lt_old_archive_cmds_CXX
  14675. # A language specific compiler.
  14676. CC=$lt_compiler_CXX
  14677. # Is the compiler the GNU compiler?
  14678. with_gcc=$GCC_CXX
  14679. # Compiler flag to turn off builtin functions.
  14680. no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
  14681. # Additional compiler flags for building library objects.
  14682. pic_flag=$lt_lt_prog_compiler_pic_CXX
  14683. # How to pass a linker flag through the compiler.
  14684. wl=$lt_lt_prog_compiler_wl_CXX
  14685. # Compiler flag to prevent dynamic linking.
  14686. link_static_flag=$lt_lt_prog_compiler_static_CXX
  14687. # Does compiler simultaneously support -c and -o options?
  14688. compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
  14689. # Whether or not to add -lc for building shared libraries.
  14690. build_libtool_need_lc=$archive_cmds_need_lc_CXX
  14691. # Whether or not to disallow shared libs when runtime libs are static.
  14692. allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
  14693. # Compiler flag to allow reflexive dlopens.
  14694. export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
  14695. # Compiler flag to generate shared objects directly from archives.
  14696. whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
  14697. # Whether the compiler copes with passing no objects directly.
  14698. compiler_needs_object=$lt_compiler_needs_object_CXX
  14699. # Create an old-style archive from a shared archive.
  14700. old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
  14701. # Create a temporary old-style archive to link instead of a shared archive.
  14702. old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
  14703. # Commands used to build a shared archive.
  14704. archive_cmds=$lt_archive_cmds_CXX
  14705. archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
  14706. # Commands used to build a loadable module if different from building
  14707. # a shared archive.
  14708. module_cmds=$lt_module_cmds_CXX
  14709. module_expsym_cmds=$lt_module_expsym_cmds_CXX
  14710. # Whether we are building with GNU ld or not.
  14711. with_gnu_ld=$lt_with_gnu_ld_CXX
  14712. # Flag that allows shared libraries with undefined symbols to be built.
  14713. allow_undefined_flag=$lt_allow_undefined_flag_CXX
  14714. # Flag that enforces no undefined symbols.
  14715. no_undefined_flag=$lt_no_undefined_flag_CXX
  14716. # Flag to hardcode \$libdir into a binary during linking.
  14717. # This must work even if \$libdir does not exist
  14718. hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
  14719. # Whether we need a single "-rpath" flag with a separated argument.
  14720. hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
  14721. # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
  14722. # DIR into the resulting binary.
  14723. hardcode_direct=$hardcode_direct_CXX
  14724. # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
  14725. # DIR into the resulting binary and the resulting library dependency is
  14726. # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
  14727. # library is relocated.
  14728. hardcode_direct_absolute=$hardcode_direct_absolute_CXX
  14729. # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
  14730. # into the resulting binary.
  14731. hardcode_minus_L=$hardcode_minus_L_CXX
  14732. # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
  14733. # into the resulting binary.
  14734. hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
  14735. # Set to "yes" if building a shared library automatically hardcodes DIR
  14736. # into the library and all subsequent libraries and executables linked
  14737. # against it.
  14738. hardcode_automatic=$hardcode_automatic_CXX
  14739. # Set to yes if linker adds runtime paths of dependent libraries
  14740. # to runtime path list.
  14741. inherit_rpath=$inherit_rpath_CXX
  14742. # Whether libtool must link a program against all its dependency libraries.
  14743. link_all_deplibs=$link_all_deplibs_CXX
  14744. # Set to "yes" if exported symbols are required.
  14745. always_export_symbols=$always_export_symbols_CXX
  14746. # The commands to list exported symbols.
  14747. export_symbols_cmds=$lt_export_symbols_cmds_CXX
  14748. # Symbols that should not be listed in the preloaded symbols.
  14749. exclude_expsyms=$lt_exclude_expsyms_CXX
  14750. # Symbols that must always be exported.
  14751. include_expsyms=$lt_include_expsyms_CXX
  14752. # Commands necessary for linking programs (against libraries) with templates.
  14753. prelink_cmds=$lt_prelink_cmds_CXX
  14754. # Commands necessary for finishing linking programs.
  14755. postlink_cmds=$lt_postlink_cmds_CXX
  14756. # Specify filename containing input files.
  14757. file_list_spec=$lt_file_list_spec_CXX
  14758. # How to hardcode a shared library path into an executable.
  14759. hardcode_action=$hardcode_action_CXX
  14760. # The directories searched by this compiler when creating a shared library.
  14761. compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
  14762. # Dependencies to place before and after the objects being linked to
  14763. # create a shared library.
  14764. predep_objects=$lt_predep_objects_CXX
  14765. postdep_objects=$lt_postdep_objects_CXX
  14766. predeps=$lt_predeps_CXX
  14767. postdeps=$lt_postdeps_CXX
  14768. # The library search path used internally by the compiler when linking
  14769. # a shared library.
  14770. compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
  14771. # ### END LIBTOOL TAG CONFIG: CXX
  14772. _LT_EOF
  14773. as_fn_exit 0
  14774. _LTEOF
  14775. chmod +x "$CONFIG_LT"
  14776. # configure is writing to config.log, but config.lt does its own redirection,
  14777. # appending to config.log, which fails on DOS, as config.log is still kept
  14778. # open by configure. Here we exec the FD to /dev/null, effectively closing
  14779. # config.log, so it can be properly (re)opened and appended to by config.lt.
  14780. lt_cl_success=:
  14781. test "$silent" = yes &&
  14782. lt_config_lt_args="$lt_config_lt_args --quiet"
  14783. exec 5>/dev/null
  14784. $SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false
  14785. exec 5>>config.log
  14786. $lt_cl_success || as_fn_exit 1
  14787. # Check if we need to use external Expat.
  14788. #
  14789. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we should use external expat" >&5
  14790. $as_echo_n "checking if we should use external expat... " >&6; }
  14791. # Check whether --with-external-expat was given.
  14792. if test "${with_external_expat+set}" = set; then :
  14793. withval=$with_external_expat; external_expat=${withval}
  14794. else
  14795. external_expat=no
  14796. fi
  14797. if test x"$external_expat" != xno; then
  14798. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  14799. $as_echo "yes" >&6; }
  14800. # Check if we have Expat.
  14801. #
  14802. expat_found=yes
  14803. libexpat_found=no
  14804. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expat" >&5
  14805. $as_echo_n "checking for expat... " >&6; }
  14806. save_LIBS="$LIBS"
  14807. LIBS="-lexpat $LIBS"
  14808. ac_ext=cpp
  14809. ac_cpp='$CXXCPP $CPPFLAGS'
  14810. ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  14811. ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  14812. ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  14813. if test -d .libs; then
  14814. delete_libs_dir=no
  14815. else
  14816. delete_libs_dir=yes
  14817. fi
  14818. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14819. /* end confdefs.h. */
  14820. #include <expat.h>
  14821. int
  14822. main ()
  14823. {
  14824. XML_Parser p (XML_ParserCreateNS (0, XML_Char (' ')));
  14825. XML_ParserFree (p);
  14826. }
  14827. _ACEOF
  14828. if ac_fn_cxx_try_compile "$LINENO"; then :
  14829. ac_try='./libtool --tag=CXX --mode=link $CXX -no-install $CXXFLAGS $LDFLAGS -o conftest conftest.$OBJEXT $LIBS >&5'
  14830. if { { case "(($ac_try" in
  14831. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  14832. *) ac_try_echo=$ac_try;;
  14833. esac
  14834. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  14835. $as_echo "$ac_try_echo"; } >&5
  14836. (eval "$ac_try") 2>&5
  14837. ac_status=$?
  14838. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  14839. test $ac_status = 0; }; then
  14840. libtool_link_ok=yes
  14841. else
  14842. libtool_link_ok=no
  14843. fi
  14844. else
  14845. libtool_link_ok=no
  14846. fi
  14847. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  14848. if test x"$delete_libs_dir" = xyes; then
  14849. rm -rf .libs
  14850. fi
  14851. if test x"$libtool_link_ok" = xyes; then
  14852. libexpat_found=yes
  14853. :
  14854. else
  14855. :
  14856. fi
  14857. ac_ext=cpp
  14858. ac_cpp='$CXXCPP $CPPFLAGS'
  14859. ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  14860. ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  14861. ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  14862. if test x"$libexpat_found" = xyes; then
  14863. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  14864. $as_echo "yes" >&6; }
  14865. else
  14866. LIBS="$save_LIBS"
  14867. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  14868. $as_echo "no" >&6; }
  14869. expat_found=no
  14870. fi
  14871. if test x"$expat_found" = xno; then
  14872. as_fn_error $? "expat is not found; consider using CPPFLAGS/LDFLAGS to specify its location" "$LINENO" 5
  14873. fi
  14874. $as_echo "#define LIBSTUDXML_EXTERNAL_EXPAT 1" >>confdefs.h
  14875. else
  14876. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  14877. $as_echo "no" >&6; }
  14878. fi
  14879. if test x"$external_expat" != xno; then
  14880. LIBSTUDXML_EXTERNAL_EXPAT_TRUE=
  14881. LIBSTUDXML_EXTERNAL_EXPAT_FALSE='#'
  14882. else
  14883. LIBSTUDXML_EXTERNAL_EXPAT_TRUE='#'
  14884. LIBSTUDXML_EXTERNAL_EXPAT_FALSE=
  14885. fi
  14886. # If we have internal Expat, then determine the byteorder.
  14887. #
  14888. if test x"$external_expat" = xno; then
  14889. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
  14890. $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
  14891. if ${ac_cv_c_bigendian+:} false; then :
  14892. $as_echo_n "(cached) " >&6
  14893. else
  14894. ac_cv_c_bigendian=unknown
  14895. # See if we're dealing with a universal compiler.
  14896. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14897. /* end confdefs.h. */
  14898. #ifndef __APPLE_CC__
  14899. not a universal capable compiler
  14900. #endif
  14901. typedef int dummy;
  14902. _ACEOF
  14903. if ac_fn_cxx_try_compile "$LINENO"; then :
  14904. # Check for potential -arch flags. It is not universal unless
  14905. # there are at least two -arch flags with different values.
  14906. ac_arch=
  14907. ac_prev=
  14908. for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
  14909. if test -n "$ac_prev"; then
  14910. case $ac_word in
  14911. i?86 | x86_64 | ppc | ppc64)
  14912. if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
  14913. ac_arch=$ac_word
  14914. else
  14915. ac_cv_c_bigendian=universal
  14916. break
  14917. fi
  14918. ;;
  14919. esac
  14920. ac_prev=
  14921. elif test "x$ac_word" = "x-arch"; then
  14922. ac_prev=arch
  14923. fi
  14924. done
  14925. fi
  14926. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  14927. if test $ac_cv_c_bigendian = unknown; then
  14928. # See if sys/param.h defines the BYTE_ORDER macro.
  14929. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14930. /* end confdefs.h. */
  14931. #include <sys/types.h>
  14932. #include <sys/param.h>
  14933. int
  14934. main ()
  14935. {
  14936. #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
  14937. && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
  14938. && LITTLE_ENDIAN)
  14939. bogus endian macros
  14940. #endif
  14941. ;
  14942. return 0;
  14943. }
  14944. _ACEOF
  14945. if ac_fn_cxx_try_compile "$LINENO"; then :
  14946. # It does; now see whether it defined to BIG_ENDIAN or not.
  14947. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14948. /* end confdefs.h. */
  14949. #include <sys/types.h>
  14950. #include <sys/param.h>
  14951. int
  14952. main ()
  14953. {
  14954. #if BYTE_ORDER != BIG_ENDIAN
  14955. not big endian
  14956. #endif
  14957. ;
  14958. return 0;
  14959. }
  14960. _ACEOF
  14961. if ac_fn_cxx_try_compile "$LINENO"; then :
  14962. ac_cv_c_bigendian=yes
  14963. else
  14964. ac_cv_c_bigendian=no
  14965. fi
  14966. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  14967. fi
  14968. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  14969. fi
  14970. if test $ac_cv_c_bigendian = unknown; then
  14971. # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
  14972. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14973. /* end confdefs.h. */
  14974. #include <limits.h>
  14975. int
  14976. main ()
  14977. {
  14978. #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
  14979. bogus endian macros
  14980. #endif
  14981. ;
  14982. return 0;
  14983. }
  14984. _ACEOF
  14985. if ac_fn_cxx_try_compile "$LINENO"; then :
  14986. # It does; now see whether it defined to _BIG_ENDIAN or not.
  14987. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14988. /* end confdefs.h. */
  14989. #include <limits.h>
  14990. int
  14991. main ()
  14992. {
  14993. #ifndef _BIG_ENDIAN
  14994. not big endian
  14995. #endif
  14996. ;
  14997. return 0;
  14998. }
  14999. _ACEOF
  15000. if ac_fn_cxx_try_compile "$LINENO"; then :
  15001. ac_cv_c_bigendian=yes
  15002. else
  15003. ac_cv_c_bigendian=no
  15004. fi
  15005. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  15006. fi
  15007. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  15008. fi
  15009. if test $ac_cv_c_bigendian = unknown; then
  15010. # Compile a test program.
  15011. if test "$cross_compiling" = yes; then :
  15012. # Try to guess by grepping values from an object file.
  15013. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15014. /* end confdefs.h. */
  15015. short int ascii_mm[] =
  15016. { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
  15017. short int ascii_ii[] =
  15018. { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
  15019. int use_ascii (int i) {
  15020. return ascii_mm[i] + ascii_ii[i];
  15021. }
  15022. short int ebcdic_ii[] =
  15023. { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
  15024. short int ebcdic_mm[] =
  15025. { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
  15026. int use_ebcdic (int i) {
  15027. return ebcdic_mm[i] + ebcdic_ii[i];
  15028. }
  15029. extern int foo;
  15030. int
  15031. main ()
  15032. {
  15033. return use_ascii (foo) == use_ebcdic (foo);
  15034. ;
  15035. return 0;
  15036. }
  15037. _ACEOF
  15038. if ac_fn_cxx_try_compile "$LINENO"; then :
  15039. if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
  15040. ac_cv_c_bigendian=yes
  15041. fi
  15042. if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
  15043. if test "$ac_cv_c_bigendian" = unknown; then
  15044. ac_cv_c_bigendian=no
  15045. else
  15046. # finding both strings is unlikely to happen, but who knows?
  15047. ac_cv_c_bigendian=unknown
  15048. fi
  15049. fi
  15050. fi
  15051. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  15052. else
  15053. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15054. /* end confdefs.h. */
  15055. $ac_includes_default
  15056. int
  15057. main ()
  15058. {
  15059. /* Are we little or big endian? From Harbison&Steele. */
  15060. union
  15061. {
  15062. long int l;
  15063. char c[sizeof (long int)];
  15064. } u;
  15065. u.l = 1;
  15066. return u.c[sizeof (long int) - 1] == 1;
  15067. ;
  15068. return 0;
  15069. }
  15070. _ACEOF
  15071. if ac_fn_cxx_try_run "$LINENO"; then :
  15072. ac_cv_c_bigendian=no
  15073. else
  15074. ac_cv_c_bigendian=yes
  15075. fi
  15076. rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  15077. conftest.$ac_objext conftest.beam conftest.$ac_ext
  15078. fi
  15079. fi
  15080. fi
  15081. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
  15082. $as_echo "$ac_cv_c_bigendian" >&6; }
  15083. case $ac_cv_c_bigendian in #(
  15084. yes)
  15085. byteorder=4321;; #(
  15086. no)
  15087. byteorder=1234 ;; #(
  15088. universal)
  15089. $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
  15090. ;; #(
  15091. *)
  15092. as_fn_error $? "unknown endianness
  15093. presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
  15094. esac
  15095. cat >>confdefs.h <<_ACEOF
  15096. #define LIBSTUDXML_BYTEORDER $byteorder
  15097. _ACEOF
  15098. fi
  15099. # Define LIBSTUDXML_STATIC_LIB if we are build static library on certain
  15100. # platforms.
  15101. #
  15102. if test x$enable_shared = xno; then
  15103. case $host_os in
  15104. mingw*)
  15105. $as_echo "#define LIBSTUDXML_STATIC_LIB 1" >>confdefs.h
  15106. ;;
  15107. esac
  15108. fi
  15109. # Allow the user to specify the pkgconfig directory.
  15110. #
  15111. # Check whether --with-pkgconfigdir was given.
  15112. if test "${with_pkgconfigdir+set}" = set; then :
  15113. withval=$with_pkgconfigdir; pkgconfigdir=${withval}
  15114. else
  15115. pkgconfigdir='${libdir}/pkgconfig'
  15116. fi
  15117. # Check if we should disable rpath.
  15118. #
  15119. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use rpath" >&5
  15120. $as_echo_n "checking whether to use rpath... " >&6; }
  15121. # Check whether --enable-rpath was given.
  15122. if test "${enable_rpath+set}" = set; then :
  15123. enableval=$enable_rpath; libtool_rpath="$enable_rpath"
  15124. else
  15125. libtool_rpath="yes"
  15126. fi
  15127. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libtool_rpath" >&5
  15128. $as_echo "$libtool_rpath" >&6; }
  15129. # Patch libtool to not use rpath if requested.
  15130. #
  15131. ac_config_commands="$ac_config_commands libtool-rpath-patch"
  15132. # Output.
  15133. #
  15134. ac_config_headers="$ac_config_headers xml/config.h xml/details/config.h"
  15135. ac_config_files="$ac_config_files doc/Makefile examples/hybrid/Makefile examples/inheritance/Makefile examples/Makefile examples/performance/Makefile examples/persistence/Makefile examples/processing/Makefile examples/roundtrip/Makefile libstudxml.pc Makefile tester tests/Makefile tests/parser/Makefile tests/roundtrip/Makefile tests/serializer/Makefile xml/Makefile"
  15136. ac_config_commands="$ac_config_commands tester-mode"
  15137. cat >confcache <<\_ACEOF
  15138. # This file is a shell script that caches the results of configure
  15139. # tests run on this system so they can be shared between configure
  15140. # scripts and configure runs, see configure's option --config-cache.
  15141. # It is not useful on other systems. If it contains results you don't
  15142. # want to keep, you may remove or edit it.
  15143. #
  15144. # config.status only pays attention to the cache file if you give it
  15145. # the --recheck option to rerun configure.
  15146. #
  15147. # `ac_cv_env_foo' variables (set or unset) will be overridden when
  15148. # loading this file, other *unset* `ac_cv_foo' will be assigned the
  15149. # following values.
  15150. _ACEOF
  15151. # The following way of writing the cache mishandles newlines in values,
  15152. # but we know of no workaround that is simple, portable, and efficient.
  15153. # So, we kill variables containing newlines.
  15154. # Ultrix sh set writes to stderr and can't be redirected directly,
  15155. # and sets the high bit in the cache file unless we assign to the vars.
  15156. (
  15157. for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
  15158. eval ac_val=\$$ac_var
  15159. case $ac_val in #(
  15160. *${as_nl}*)
  15161. case $ac_var in #(
  15162. *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  15163. $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  15164. esac
  15165. case $ac_var in #(
  15166. _ | IFS | as_nl) ;; #(
  15167. BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  15168. *) { eval $ac_var=; unset $ac_var;} ;;
  15169. esac ;;
  15170. esac
  15171. done
  15172. (set) 2>&1 |
  15173. case $as_nl`(ac_space=' '; set) 2>&1` in #(
  15174. *${as_nl}ac_space=\ *)
  15175. # `set' does not quote correctly, so add quotes: double-quote
  15176. # substitution turns \\\\ into \\, and sed turns \\ into \.
  15177. sed -n \
  15178. "s/'/'\\\\''/g;
  15179. s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
  15180. ;; #(
  15181. *)
  15182. # `set' quotes correctly as required by POSIX, so do not add quotes.
  15183. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  15184. ;;
  15185. esac |
  15186. sort
  15187. ) |
  15188. sed '
  15189. /^ac_cv_env_/b end
  15190. t clear
  15191. :clear
  15192. s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
  15193. t end
  15194. s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
  15195. :end' >>confcache
  15196. if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
  15197. if test -w "$cache_file"; then
  15198. if test "x$cache_file" != "x/dev/null"; then
  15199. { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
  15200. $as_echo "$as_me: updating cache $cache_file" >&6;}
  15201. if test ! -f "$cache_file" || test -h "$cache_file"; then
  15202. cat confcache >"$cache_file"
  15203. else
  15204. case $cache_file in #(
  15205. */* | ?:*)
  15206. mv -f confcache "$cache_file"$$ &&
  15207. mv -f "$cache_file"$$ "$cache_file" ;; #(
  15208. *)
  15209. mv -f confcache "$cache_file" ;;
  15210. esac
  15211. fi
  15212. fi
  15213. else
  15214. { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
  15215. $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
  15216. fi
  15217. fi
  15218. rm -f confcache
  15219. test "x$prefix" = xNONE && prefix=$ac_default_prefix
  15220. # Let make expand exec_prefix.
  15221. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
  15222. DEFS=-DHAVE_CONFIG_H
  15223. ac_libobjs=
  15224. ac_ltlibobjs=
  15225. U=
  15226. for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
  15227. # 1. Remove the extension, and $U if already installed.
  15228. ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
  15229. ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
  15230. # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
  15231. # will be set to the directory where LIBOBJS objects are built.
  15232. as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
  15233. as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
  15234. done
  15235. LIBOBJS=$ac_libobjs
  15236. LTLIBOBJS=$ac_ltlibobjs
  15237. { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
  15238. $as_echo_n "checking that generated files are newer than configure... " >&6; }
  15239. if test -n "$am_sleep_pid"; then
  15240. # Hide warnings about reused PIDs.
  15241. wait $am_sleep_pid 2>/dev/null
  15242. fi
  15243. { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
  15244. $as_echo "done" >&6; }
  15245. if test -n "$EXEEXT"; then
  15246. am__EXEEXT_TRUE=
  15247. am__EXEEXT_FALSE='#'
  15248. else
  15249. am__EXEEXT_TRUE='#'
  15250. am__EXEEXT_FALSE=
  15251. fi
  15252. if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
  15253. as_fn_error $? "conditional \"AMDEP\" was never defined.
  15254. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  15255. fi
  15256. if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
  15257. as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
  15258. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  15259. fi
  15260. if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
  15261. as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
  15262. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  15263. fi
  15264. if test -z "${LIBSTUDXML_EXTERNAL_EXPAT_TRUE}" && test -z "${LIBSTUDXML_EXTERNAL_EXPAT_FALSE}"; then
  15265. as_fn_error $? "conditional \"LIBSTUDXML_EXTERNAL_EXPAT\" was never defined.
  15266. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  15267. fi
  15268. : "${CONFIG_STATUS=./config.status}"
  15269. ac_write_fail=0
  15270. ac_clean_files_save=$ac_clean_files
  15271. ac_clean_files="$ac_clean_files $CONFIG_STATUS"
  15272. { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
  15273. $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
  15274. as_write_fail=0
  15275. cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
  15276. #! $SHELL
  15277. # Generated by $as_me.
  15278. # Run this file to recreate the current configuration.
  15279. # Compiler output produced by configure, useful for debugging
  15280. # configure, is in config.log if it exists.
  15281. debug=false
  15282. ac_cs_recheck=false
  15283. ac_cs_silent=false
  15284. SHELL=\${CONFIG_SHELL-$SHELL}
  15285. export SHELL
  15286. _ASEOF
  15287. cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
  15288. ## -------------------- ##
  15289. ## M4sh Initialization. ##
  15290. ## -------------------- ##
  15291. # Be more Bourne compatible
  15292. DUALCASE=1; export DUALCASE # for MKS sh
  15293. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  15294. emulate sh
  15295. NULLCMD=:
  15296. # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  15297. # is contrary to our usage. Disable this feature.
  15298. alias -g '${1+"$@"}'='"$@"'
  15299. setopt NO_GLOB_SUBST
  15300. else
  15301. case `(set -o) 2>/dev/null` in #(
  15302. *posix*) :
  15303. set -o posix ;; #(
  15304. *) :
  15305. ;;
  15306. esac
  15307. fi
  15308. as_nl='
  15309. '
  15310. export as_nl
  15311. # Printing a long string crashes Solaris 7 /usr/bin/printf.
  15312. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  15313. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  15314. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  15315. # Prefer a ksh shell builtin over an external printf program on Solaris,
  15316. # but without wasting forks for bash or zsh.
  15317. if test -z "$BASH_VERSION$ZSH_VERSION" \
  15318. && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
  15319. as_echo='print -r --'
  15320. as_echo_n='print -rn --'
  15321. elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  15322. as_echo='printf %s\n'
  15323. as_echo_n='printf %s'
  15324. else
  15325. if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
  15326. as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
  15327. as_echo_n='/usr/ucb/echo -n'
  15328. else
  15329. as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  15330. as_echo_n_body='eval
  15331. arg=$1;
  15332. case $arg in #(
  15333. *"$as_nl"*)
  15334. expr "X$arg" : "X\\(.*\\)$as_nl";
  15335. arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  15336. esac;
  15337. expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
  15338. '
  15339. export as_echo_n_body
  15340. as_echo_n='sh -c $as_echo_n_body as_echo'
  15341. fi
  15342. export as_echo_body
  15343. as_echo='sh -c $as_echo_body as_echo'
  15344. fi
  15345. # The user is always right.
  15346. if test "${PATH_SEPARATOR+set}" != set; then
  15347. PATH_SEPARATOR=:
  15348. (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  15349. (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  15350. PATH_SEPARATOR=';'
  15351. }
  15352. fi
  15353. # IFS
  15354. # We need space, tab and new line, in precisely that order. Quoting is
  15355. # there to prevent editors from complaining about space-tab.
  15356. # (If _AS_PATH_WALK were called with IFS unset, it would disable word
  15357. # splitting by setting IFS to empty value.)
  15358. IFS=" "" $as_nl"
  15359. # Find who we are. Look in the path if we contain no directory separator.
  15360. as_myself=
  15361. case $0 in #((
  15362. *[\\/]* ) as_myself=$0 ;;
  15363. *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  15364. for as_dir in $PATH
  15365. do
  15366. IFS=$as_save_IFS
  15367. test -z "$as_dir" && as_dir=.
  15368. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  15369. done
  15370. IFS=$as_save_IFS
  15371. ;;
  15372. esac
  15373. # We did not find ourselves, most probably we were run as `sh COMMAND'
  15374. # in which case we are not to be found in the path.
  15375. if test "x$as_myself" = x; then
  15376. as_myself=$0
  15377. fi
  15378. if test ! -f "$as_myself"; then
  15379. $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  15380. exit 1
  15381. fi
  15382. # Unset variables that we do not need and which cause bugs (e.g. in
  15383. # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
  15384. # suppresses any "Segmentation fault" message there. '((' could
  15385. # trigger a bug in pdksh 5.2.14.
  15386. for as_var in BASH_ENV ENV MAIL MAILPATH
  15387. do eval test x\${$as_var+set} = xset \
  15388. && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  15389. done
  15390. PS1='$ '
  15391. PS2='> '
  15392. PS4='+ '
  15393. # NLS nuisances.
  15394. LC_ALL=C
  15395. export LC_ALL
  15396. LANGUAGE=C
  15397. export LANGUAGE
  15398. # CDPATH.
  15399. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  15400. # as_fn_error STATUS ERROR [LINENO LOG_FD]
  15401. # ----------------------------------------
  15402. # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  15403. # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  15404. # script with STATUS, using 1 if that was 0.
  15405. as_fn_error ()
  15406. {
  15407. as_status=$1; test $as_status -eq 0 && as_status=1
  15408. if test "$4"; then
  15409. as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  15410. $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
  15411. fi
  15412. $as_echo "$as_me: error: $2" >&2
  15413. as_fn_exit $as_status
  15414. } # as_fn_error
  15415. # as_fn_set_status STATUS
  15416. # -----------------------
  15417. # Set $? to STATUS, without forking.
  15418. as_fn_set_status ()
  15419. {
  15420. return $1
  15421. } # as_fn_set_status
  15422. # as_fn_exit STATUS
  15423. # -----------------
  15424. # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  15425. as_fn_exit ()
  15426. {
  15427. set +e
  15428. as_fn_set_status $1
  15429. exit $1
  15430. } # as_fn_exit
  15431. # as_fn_unset VAR
  15432. # ---------------
  15433. # Portably unset VAR.
  15434. as_fn_unset ()
  15435. {
  15436. { eval $1=; unset $1;}
  15437. }
  15438. as_unset=as_fn_unset
  15439. # as_fn_append VAR VALUE
  15440. # ----------------------
  15441. # Append the text in VALUE to the end of the definition contained in VAR. Take
  15442. # advantage of any shell optimizations that allow amortized linear growth over
  15443. # repeated appends, instead of the typical quadratic growth present in naive
  15444. # implementations.
  15445. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  15446. eval 'as_fn_append ()
  15447. {
  15448. eval $1+=\$2
  15449. }'
  15450. else
  15451. as_fn_append ()
  15452. {
  15453. eval $1=\$$1\$2
  15454. }
  15455. fi # as_fn_append
  15456. # as_fn_arith ARG...
  15457. # ------------------
  15458. # Perform arithmetic evaluation on the ARGs, and store the result in the
  15459. # global $as_val. Take advantage of shells that can avoid forks. The arguments
  15460. # must be portable across $(()) and expr.
  15461. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  15462. eval 'as_fn_arith ()
  15463. {
  15464. as_val=$(( $* ))
  15465. }'
  15466. else
  15467. as_fn_arith ()
  15468. {
  15469. as_val=`expr "$@" || test $? -eq 1`
  15470. }
  15471. fi # as_fn_arith
  15472. if expr a : '\(a\)' >/dev/null 2>&1 &&
  15473. test "X`expr 00001 : '.*\(...\)'`" = X001; then
  15474. as_expr=expr
  15475. else
  15476. as_expr=false
  15477. fi
  15478. if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  15479. as_basename=basename
  15480. else
  15481. as_basename=false
  15482. fi
  15483. if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  15484. as_dirname=dirname
  15485. else
  15486. as_dirname=false
  15487. fi
  15488. as_me=`$as_basename -- "$0" ||
  15489. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  15490. X"$0" : 'X\(//\)$' \| \
  15491. X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  15492. $as_echo X/"$0" |
  15493. sed '/^.*\/\([^/][^/]*\)\/*$/{
  15494. s//\1/
  15495. q
  15496. }
  15497. /^X\/\(\/\/\)$/{
  15498. s//\1/
  15499. q
  15500. }
  15501. /^X\/\(\/\).*/{
  15502. s//\1/
  15503. q
  15504. }
  15505. s/.*/./; q'`
  15506. # Avoid depending upon Character Ranges.
  15507. as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  15508. as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  15509. as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  15510. as_cr_digits='0123456789'
  15511. as_cr_alnum=$as_cr_Letters$as_cr_digits
  15512. ECHO_C= ECHO_N= ECHO_T=
  15513. case `echo -n x` in #(((((
  15514. -n*)
  15515. case `echo 'xy\c'` in
  15516. *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  15517. xy) ECHO_C='\c';;
  15518. *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
  15519. ECHO_T=' ';;
  15520. esac;;
  15521. *)
  15522. ECHO_N='-n';;
  15523. esac
  15524. rm -f conf$$ conf$$.exe conf$$.file
  15525. if test -d conf$$.dir; then
  15526. rm -f conf$$.dir/conf$$.file
  15527. else
  15528. rm -f conf$$.dir
  15529. mkdir conf$$.dir 2>/dev/null
  15530. fi
  15531. if (echo >conf$$.file) 2>/dev/null; then
  15532. if ln -s conf$$.file conf$$ 2>/dev/null; then
  15533. as_ln_s='ln -s'
  15534. # ... but there are two gotchas:
  15535. # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  15536. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  15537. # In both cases, we have to default to `cp -pR'.
  15538. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  15539. as_ln_s='cp -pR'
  15540. elif ln conf$$.file conf$$ 2>/dev/null; then
  15541. as_ln_s=ln
  15542. else
  15543. as_ln_s='cp -pR'
  15544. fi
  15545. else
  15546. as_ln_s='cp -pR'
  15547. fi
  15548. rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  15549. rmdir conf$$.dir 2>/dev/null
  15550. # as_fn_mkdir_p
  15551. # -------------
  15552. # Create "$as_dir" as a directory, including parents if necessary.
  15553. as_fn_mkdir_p ()
  15554. {
  15555. case $as_dir in #(
  15556. -*) as_dir=./$as_dir;;
  15557. esac
  15558. test -d "$as_dir" || eval $as_mkdir_p || {
  15559. as_dirs=
  15560. while :; do
  15561. case $as_dir in #(
  15562. *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  15563. *) as_qdir=$as_dir;;
  15564. esac
  15565. as_dirs="'$as_qdir' $as_dirs"
  15566. as_dir=`$as_dirname -- "$as_dir" ||
  15567. $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  15568. X"$as_dir" : 'X\(//\)[^/]' \| \
  15569. X"$as_dir" : 'X\(//\)$' \| \
  15570. X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  15571. $as_echo X"$as_dir" |
  15572. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  15573. s//\1/
  15574. q
  15575. }
  15576. /^X\(\/\/\)[^/].*/{
  15577. s//\1/
  15578. q
  15579. }
  15580. /^X\(\/\/\)$/{
  15581. s//\1/
  15582. q
  15583. }
  15584. /^X\(\/\).*/{
  15585. s//\1/
  15586. q
  15587. }
  15588. s/.*/./; q'`
  15589. test -d "$as_dir" && break
  15590. done
  15591. test -z "$as_dirs" || eval "mkdir $as_dirs"
  15592. } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
  15593. } # as_fn_mkdir_p
  15594. if mkdir -p . 2>/dev/null; then
  15595. as_mkdir_p='mkdir -p "$as_dir"'
  15596. else
  15597. test -d ./-p && rmdir ./-p
  15598. as_mkdir_p=false
  15599. fi
  15600. # as_fn_executable_p FILE
  15601. # -----------------------
  15602. # Test if FILE is an executable regular file.
  15603. as_fn_executable_p ()
  15604. {
  15605. test -f "$1" && test -x "$1"
  15606. } # as_fn_executable_p
  15607. as_test_x='test -x'
  15608. as_executable_p=as_fn_executable_p
  15609. # Sed expression to map a string onto a valid CPP name.
  15610. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  15611. # Sed expression to map a string onto a valid variable name.
  15612. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  15613. exec 6>&1
  15614. ## ----------------------------------- ##
  15615. ## Main body of $CONFIG_STATUS script. ##
  15616. ## ----------------------------------- ##
  15617. _ASEOF
  15618. test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
  15619. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  15620. # Save the log message, to keep $0 and so on meaningful, and to
  15621. # report actual input values of CONFIG_FILES etc. instead of their
  15622. # values after options handling.
  15623. ac_log="
  15624. This file was extended by libstudxml $as_me 1.0.1, which was
  15625. generated by GNU Autoconf 2.69. Invocation command line was
  15626. CONFIG_FILES = $CONFIG_FILES
  15627. CONFIG_HEADERS = $CONFIG_HEADERS
  15628. CONFIG_LINKS = $CONFIG_LINKS
  15629. CONFIG_COMMANDS = $CONFIG_COMMANDS
  15630. $ $0 $@
  15631. on `(hostname || uname -n) 2>/dev/null | sed 1q`
  15632. "
  15633. _ACEOF
  15634. case $ac_config_files in *"
  15635. "*) set x $ac_config_files; shift; ac_config_files=$*;;
  15636. esac
  15637. case $ac_config_headers in *"
  15638. "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
  15639. esac
  15640. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  15641. # Files that config.status was made for.
  15642. config_files="$ac_config_files"
  15643. config_headers="$ac_config_headers"
  15644. config_commands="$ac_config_commands"
  15645. _ACEOF
  15646. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  15647. ac_cs_usage="\
  15648. \`$as_me' instantiates files and other configuration actions
  15649. from templates according to the current configuration. Unless the files
  15650. and actions are specified as TAGs, all are instantiated by default.
  15651. Usage: $0 [OPTION]... [TAG]...
  15652. -h, --help print this help, then exit
  15653. -V, --version print version number and configuration settings, then exit
  15654. --config print configuration, then exit
  15655. -q, --quiet, --silent
  15656. do not print progress messages
  15657. -d, --debug don't remove temporary files
  15658. --recheck update $as_me by reconfiguring in the same conditions
  15659. --file=FILE[:TEMPLATE]
  15660. instantiate the configuration file FILE
  15661. --header=FILE[:TEMPLATE]
  15662. instantiate the configuration header FILE
  15663. Configuration files:
  15664. $config_files
  15665. Configuration headers:
  15666. $config_headers
  15667. Configuration commands:
  15668. $config_commands
  15669. Report bugs to <studxml-users@codesynthesis.com>."
  15670. _ACEOF
  15671. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  15672. ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
  15673. ac_cs_version="\\
  15674. libstudxml config.status 1.0.1
  15675. configured by $0, generated by GNU Autoconf 2.69,
  15676. with options \\"\$ac_cs_config\\"
  15677. Copyright (C) 2012 Free Software Foundation, Inc.
  15678. This config.status script is free software; the Free Software Foundation
  15679. gives unlimited permission to copy, distribute and modify it."
  15680. ac_pwd='$ac_pwd'
  15681. srcdir='$srcdir'
  15682. INSTALL='$INSTALL'
  15683. MKDIR_P='$MKDIR_P'
  15684. AWK='$AWK'
  15685. test -n "\$AWK" || AWK=awk
  15686. _ACEOF
  15687. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  15688. # The default lists apply if the user does not specify any file.
  15689. ac_need_defaults=:
  15690. while test $# != 0
  15691. do
  15692. case $1 in
  15693. --*=?*)
  15694. ac_option=`expr "X$1" : 'X\([^=]*\)='`
  15695. ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
  15696. ac_shift=:
  15697. ;;
  15698. --*=)
  15699. ac_option=`expr "X$1" : 'X\([^=]*\)='`
  15700. ac_optarg=
  15701. ac_shift=:
  15702. ;;
  15703. *)
  15704. ac_option=$1
  15705. ac_optarg=$2
  15706. ac_shift=shift
  15707. ;;
  15708. esac
  15709. case $ac_option in
  15710. # Handling of the options.
  15711. -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  15712. ac_cs_recheck=: ;;
  15713. --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
  15714. $as_echo "$ac_cs_version"; exit ;;
  15715. --config | --confi | --conf | --con | --co | --c )
  15716. $as_echo "$ac_cs_config"; exit ;;
  15717. --debug | --debu | --deb | --de | --d | -d )
  15718. debug=: ;;
  15719. --file | --fil | --fi | --f )
  15720. $ac_shift
  15721. case $ac_optarg in
  15722. *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  15723. '') as_fn_error $? "missing file argument" ;;
  15724. esac
  15725. as_fn_append CONFIG_FILES " '$ac_optarg'"
  15726. ac_need_defaults=false;;
  15727. --header | --heade | --head | --hea )
  15728. $ac_shift
  15729. case $ac_optarg in
  15730. *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  15731. esac
  15732. as_fn_append CONFIG_HEADERS " '$ac_optarg'"
  15733. ac_need_defaults=false;;
  15734. --he | --h)
  15735. # Conflict between --help and --header
  15736. as_fn_error $? "ambiguous option: \`$1'
  15737. Try \`$0 --help' for more information.";;
  15738. --help | --hel | -h )
  15739. $as_echo "$ac_cs_usage"; exit ;;
  15740. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  15741. | -silent | --silent | --silen | --sile | --sil | --si | --s)
  15742. ac_cs_silent=: ;;
  15743. # This is an error.
  15744. -*) as_fn_error $? "unrecognized option: \`$1'
  15745. Try \`$0 --help' for more information." ;;
  15746. *) as_fn_append ac_config_targets " $1"
  15747. ac_need_defaults=false ;;
  15748. esac
  15749. shift
  15750. done
  15751. ac_configure_extra_args=
  15752. if $ac_cs_silent; then
  15753. exec 6>/dev/null
  15754. ac_configure_extra_args="$ac_configure_extra_args --silent"
  15755. fi
  15756. _ACEOF
  15757. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  15758. if \$ac_cs_recheck; then
  15759. set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
  15760. shift
  15761. \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
  15762. CONFIG_SHELL='$SHELL'
  15763. export CONFIG_SHELL
  15764. exec "\$@"
  15765. fi
  15766. _ACEOF
  15767. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  15768. exec 5>>config.log
  15769. {
  15770. echo
  15771. sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
  15772. ## Running $as_me. ##
  15773. _ASBOX
  15774. $as_echo "$ac_log"
  15775. } >&5
  15776. _ACEOF
  15777. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  15778. #
  15779. # INIT-COMMANDS
  15780. #
  15781. AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
  15782. # The HP-UX ksh and POSIX shell print the target directory to stdout
  15783. # if CDPATH is set.
  15784. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  15785. sed_quote_subst='$sed_quote_subst'
  15786. double_quote_subst='$double_quote_subst'
  15787. delay_variable_subst='$delay_variable_subst'
  15788. macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
  15789. macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
  15790. AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
  15791. DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
  15792. OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
  15793. enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
  15794. enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
  15795. pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
  15796. enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
  15797. SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
  15798. ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
  15799. PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
  15800. host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
  15801. host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
  15802. host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
  15803. build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
  15804. build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
  15805. build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
  15806. SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
  15807. Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
  15808. GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
  15809. EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
  15810. FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
  15811. LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
  15812. NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
  15813. LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
  15814. max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
  15815. ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
  15816. exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
  15817. lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
  15818. lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
  15819. lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
  15820. lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
  15821. lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
  15822. reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
  15823. reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
  15824. deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
  15825. file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
  15826. file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
  15827. want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
  15828. sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
  15829. AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
  15830. AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
  15831. archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
  15832. STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
  15833. RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
  15834. old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
  15835. old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
  15836. old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
  15837. lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
  15838. CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
  15839. CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
  15840. compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
  15841. GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
  15842. lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
  15843. lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
  15844. lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
  15845. lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
  15846. nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
  15847. lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
  15848. objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
  15849. MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
  15850. lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
  15851. lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
  15852. lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
  15853. lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
  15854. lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
  15855. need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
  15856. MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
  15857. DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
  15858. NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
  15859. LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
  15860. OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
  15861. OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
  15862. libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
  15863. shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
  15864. extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
  15865. archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
  15866. enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
  15867. export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
  15868. whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
  15869. compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
  15870. old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
  15871. old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
  15872. archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
  15873. archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
  15874. module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
  15875. module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
  15876. with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
  15877. allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
  15878. no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
  15879. hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
  15880. hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
  15881. hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
  15882. hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
  15883. hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
  15884. hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
  15885. hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
  15886. inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
  15887. link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
  15888. always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
  15889. export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
  15890. exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
  15891. include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
  15892. prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
  15893. postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
  15894. file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
  15895. variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
  15896. need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
  15897. need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
  15898. version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
  15899. runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
  15900. shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
  15901. shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
  15902. libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
  15903. library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
  15904. soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
  15905. install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
  15906. postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
  15907. postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
  15908. finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
  15909. finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
  15910. hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
  15911. sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
  15912. sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
  15913. hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
  15914. enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
  15915. enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
  15916. enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
  15917. old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
  15918. striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
  15919. compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
  15920. predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
  15921. postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
  15922. predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
  15923. postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
  15924. compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
  15925. LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
  15926. reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
  15927. reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
  15928. old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
  15929. compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
  15930. GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
  15931. lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
  15932. lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
  15933. lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
  15934. lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
  15935. lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
  15936. archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
  15937. enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
  15938. export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
  15939. whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
  15940. compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
  15941. old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
  15942. old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
  15943. archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
  15944. archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
  15945. module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
  15946. module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
  15947. with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
  15948. allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
  15949. no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
  15950. hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
  15951. hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
  15952. hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
  15953. hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
  15954. hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
  15955. hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
  15956. hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
  15957. inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
  15958. link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
  15959. always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
  15960. export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
  15961. exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
  15962. include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
  15963. prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
  15964. postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
  15965. file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
  15966. hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
  15967. compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
  15968. predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
  15969. postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
  15970. predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
  15971. postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
  15972. compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
  15973. LTCC='$LTCC'
  15974. LTCFLAGS='$LTCFLAGS'
  15975. compiler='$compiler_DEFAULT'
  15976. # A function that is used when there is no print builtin or printf.
  15977. func_fallback_echo ()
  15978. {
  15979. eval 'cat <<_LTECHO_EOF
  15980. \$1
  15981. _LTECHO_EOF'
  15982. }
  15983. # Quote evaled strings.
  15984. for var in AS \
  15985. DLLTOOL \
  15986. OBJDUMP \
  15987. SHELL \
  15988. ECHO \
  15989. PATH_SEPARATOR \
  15990. SED \
  15991. GREP \
  15992. EGREP \
  15993. FGREP \
  15994. LD \
  15995. NM \
  15996. LN_S \
  15997. lt_SP2NL \
  15998. lt_NL2SP \
  15999. reload_flag \
  16000. deplibs_check_method \
  16001. file_magic_cmd \
  16002. file_magic_glob \
  16003. want_nocaseglob \
  16004. sharedlib_from_linklib_cmd \
  16005. AR \
  16006. AR_FLAGS \
  16007. archiver_list_spec \
  16008. STRIP \
  16009. RANLIB \
  16010. CC \
  16011. CFLAGS \
  16012. compiler \
  16013. lt_cv_sys_global_symbol_pipe \
  16014. lt_cv_sys_global_symbol_to_cdecl \
  16015. lt_cv_sys_global_symbol_to_c_name_address \
  16016. lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
  16017. nm_file_list_spec \
  16018. lt_prog_compiler_no_builtin_flag \
  16019. lt_prog_compiler_pic \
  16020. lt_prog_compiler_wl \
  16021. lt_prog_compiler_static \
  16022. lt_cv_prog_compiler_c_o \
  16023. need_locks \
  16024. MANIFEST_TOOL \
  16025. DSYMUTIL \
  16026. NMEDIT \
  16027. LIPO \
  16028. OTOOL \
  16029. OTOOL64 \
  16030. shrext_cmds \
  16031. export_dynamic_flag_spec \
  16032. whole_archive_flag_spec \
  16033. compiler_needs_object \
  16034. with_gnu_ld \
  16035. allow_undefined_flag \
  16036. no_undefined_flag \
  16037. hardcode_libdir_flag_spec \
  16038. hardcode_libdir_separator \
  16039. exclude_expsyms \
  16040. include_expsyms \
  16041. file_list_spec \
  16042. variables_saved_for_relink \
  16043. libname_spec \
  16044. library_names_spec \
  16045. soname_spec \
  16046. install_override_mode \
  16047. finish_eval \
  16048. old_striplib \
  16049. striplib \
  16050. compiler_lib_search_dirs \
  16051. predep_objects \
  16052. postdep_objects \
  16053. predeps \
  16054. postdeps \
  16055. compiler_lib_search_path \
  16056. LD_CXX \
  16057. reload_flag_CXX \
  16058. compiler_CXX \
  16059. lt_prog_compiler_no_builtin_flag_CXX \
  16060. lt_prog_compiler_pic_CXX \
  16061. lt_prog_compiler_wl_CXX \
  16062. lt_prog_compiler_static_CXX \
  16063. lt_cv_prog_compiler_c_o_CXX \
  16064. export_dynamic_flag_spec_CXX \
  16065. whole_archive_flag_spec_CXX \
  16066. compiler_needs_object_CXX \
  16067. with_gnu_ld_CXX \
  16068. allow_undefined_flag_CXX \
  16069. no_undefined_flag_CXX \
  16070. hardcode_libdir_flag_spec_CXX \
  16071. hardcode_libdir_separator_CXX \
  16072. exclude_expsyms_CXX \
  16073. include_expsyms_CXX \
  16074. file_list_spec_CXX \
  16075. compiler_lib_search_dirs_CXX \
  16076. predep_objects_CXX \
  16077. postdep_objects_CXX \
  16078. predeps_CXX \
  16079. postdeps_CXX \
  16080. compiler_lib_search_path_CXX; do
  16081. case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
  16082. *[\\\\\\\`\\"\\\$]*)
  16083. eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
  16084. ;;
  16085. *)
  16086. eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
  16087. ;;
  16088. esac
  16089. done
  16090. # Double-quote double-evaled strings.
  16091. for var in reload_cmds \
  16092. old_postinstall_cmds \
  16093. old_postuninstall_cmds \
  16094. old_archive_cmds \
  16095. extract_expsyms_cmds \
  16096. old_archive_from_new_cmds \
  16097. old_archive_from_expsyms_cmds \
  16098. archive_cmds \
  16099. archive_expsym_cmds \
  16100. module_cmds \
  16101. module_expsym_cmds \
  16102. export_symbols_cmds \
  16103. prelink_cmds \
  16104. postlink_cmds \
  16105. postinstall_cmds \
  16106. postuninstall_cmds \
  16107. finish_cmds \
  16108. sys_lib_search_path_spec \
  16109. sys_lib_dlsearch_path_spec \
  16110. reload_cmds_CXX \
  16111. old_archive_cmds_CXX \
  16112. old_archive_from_new_cmds_CXX \
  16113. old_archive_from_expsyms_cmds_CXX \
  16114. archive_cmds_CXX \
  16115. archive_expsym_cmds_CXX \
  16116. module_cmds_CXX \
  16117. module_expsym_cmds_CXX \
  16118. export_symbols_cmds_CXX \
  16119. prelink_cmds_CXX \
  16120. postlink_cmds_CXX; do
  16121. case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
  16122. *[\\\\\\\`\\"\\\$]*)
  16123. eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
  16124. ;;
  16125. *)
  16126. eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
  16127. ;;
  16128. esac
  16129. done
  16130. ac_aux_dir='$ac_aux_dir'
  16131. xsi_shell='$xsi_shell'
  16132. lt_shell_append='$lt_shell_append'
  16133. # See if we are running on zsh, and set the options which allow our
  16134. # commands through without removal of \ escapes INIT.
  16135. if test -n "\${ZSH_VERSION+set}" ; then
  16136. setopt NO_GLOB_SUBST
  16137. fi
  16138. PACKAGE='$PACKAGE'
  16139. VERSION='$VERSION'
  16140. TIMESTAMP='$TIMESTAMP'
  16141. RM='$RM'
  16142. ofile='$ofile'
  16143. ac_aux_dir='$ac_aux_dir'
  16144. libtool_use_rpath=$libtool_rpath
  16145. _ACEOF
  16146. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  16147. # Handling of arguments.
  16148. for ac_config_target in $ac_config_targets
  16149. do
  16150. case $ac_config_target in
  16151. "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
  16152. "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
  16153. "libtool-rpath-patch") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool-rpath-patch" ;;
  16154. "xml/config.h") CONFIG_HEADERS="$CONFIG_HEADERS xml/config.h" ;;
  16155. "xml/details/config.h") CONFIG_HEADERS="$CONFIG_HEADERS xml/details/config.h" ;;
  16156. "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
  16157. "examples/hybrid/Makefile") CONFIG_FILES="$CONFIG_FILES examples/hybrid/Makefile" ;;
  16158. "examples/inheritance/Makefile") CONFIG_FILES="$CONFIG_FILES examples/inheritance/Makefile" ;;
  16159. "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
  16160. "examples/performance/Makefile") CONFIG_FILES="$CONFIG_FILES examples/performance/Makefile" ;;
  16161. "examples/persistence/Makefile") CONFIG_FILES="$CONFIG_FILES examples/persistence/Makefile" ;;
  16162. "examples/processing/Makefile") CONFIG_FILES="$CONFIG_FILES examples/processing/Makefile" ;;
  16163. "examples/roundtrip/Makefile") CONFIG_FILES="$CONFIG_FILES examples/roundtrip/Makefile" ;;
  16164. "libstudxml.pc") CONFIG_FILES="$CONFIG_FILES libstudxml.pc" ;;
  16165. "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
  16166. "tester") CONFIG_FILES="$CONFIG_FILES tester" ;;
  16167. "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
  16168. "tests/parser/Makefile") CONFIG_FILES="$CONFIG_FILES tests/parser/Makefile" ;;
  16169. "tests/roundtrip/Makefile") CONFIG_FILES="$CONFIG_FILES tests/roundtrip/Makefile" ;;
  16170. "tests/serializer/Makefile") CONFIG_FILES="$CONFIG_FILES tests/serializer/Makefile" ;;
  16171. "xml/Makefile") CONFIG_FILES="$CONFIG_FILES xml/Makefile" ;;
  16172. "tester-mode") CONFIG_COMMANDS="$CONFIG_COMMANDS tester-mode" ;;
  16173. *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
  16174. esac
  16175. done
  16176. # If the user did not use the arguments to specify the items to instantiate,
  16177. # then the envvar interface is used. Set only those that are not.
  16178. # We use the long form for the default assignment because of an extremely
  16179. # bizarre bug on SunOS 4.1.3.
  16180. if $ac_need_defaults; then
  16181. test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
  16182. test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
  16183. test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
  16184. fi
  16185. # Have a temporary directory for convenience. Make it in the build tree
  16186. # simply because there is no reason against having it here, and in addition,
  16187. # creating and moving files from /tmp can sometimes cause problems.
  16188. # Hook for its removal unless debugging.
  16189. # Note that there is a small window in which the directory will not be cleaned:
  16190. # after its creation but before its name has been assigned to `$tmp'.
  16191. $debug ||
  16192. {
  16193. tmp= ac_tmp=
  16194. trap 'exit_status=$?
  16195. : "${ac_tmp:=$tmp}"
  16196. { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
  16197. ' 0
  16198. trap 'as_fn_exit 1' 1 2 13 15
  16199. }
  16200. # Create a (secure) tmp directory for tmp files.
  16201. {
  16202. tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
  16203. test -d "$tmp"
  16204. } ||
  16205. {
  16206. tmp=./conf$$-$RANDOM
  16207. (umask 077 && mkdir "$tmp")
  16208. } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
  16209. ac_tmp=$tmp
  16210. # Set up the scripts for CONFIG_FILES section.
  16211. # No need to generate them if there are no CONFIG_FILES.
  16212. # This happens for instance with `./config.status config.h'.
  16213. if test -n "$CONFIG_FILES"; then
  16214. ac_cr=`echo X | tr X '\015'`
  16215. # On cygwin, bash can eat \r inside `` if the user requested igncr.
  16216. # But we know of no other shell where ac_cr would be empty at this
  16217. # point, so we can use a bashism as a fallback.
  16218. if test "x$ac_cr" = x; then
  16219. eval ac_cr=\$\'\\r\'
  16220. fi
  16221. ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
  16222. if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
  16223. ac_cs_awk_cr='\\r'
  16224. else
  16225. ac_cs_awk_cr=$ac_cr
  16226. fi
  16227. echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
  16228. _ACEOF
  16229. {
  16230. echo "cat >conf$$subs.awk <<_ACEOF" &&
  16231. echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
  16232. echo "_ACEOF"
  16233. } >conf$$subs.sh ||
  16234. as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  16235. ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
  16236. ac_delim='%!_!# '
  16237. for ac_last_try in false false false false false :; do
  16238. . ./conf$$subs.sh ||
  16239. as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  16240. ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
  16241. if test $ac_delim_n = $ac_delim_num; then
  16242. break
  16243. elif $ac_last_try; then
  16244. as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  16245. else
  16246. ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  16247. fi
  16248. done
  16249. rm -f conf$$subs.sh
  16250. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  16251. cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
  16252. _ACEOF
  16253. sed -n '
  16254. h
  16255. s/^/S["/; s/!.*/"]=/
  16256. p
  16257. g
  16258. s/^[^!]*!//
  16259. :repl
  16260. t repl
  16261. s/'"$ac_delim"'$//
  16262. t delim
  16263. :nl
  16264. h
  16265. s/\(.\{148\}\)..*/\1/
  16266. t more1
  16267. s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
  16268. p
  16269. n
  16270. b repl
  16271. :more1
  16272. s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  16273. p
  16274. g
  16275. s/.\{148\}//
  16276. t nl
  16277. :delim
  16278. h
  16279. s/\(.\{148\}\)..*/\1/
  16280. t more2
  16281. s/["\\]/\\&/g; s/^/"/; s/$/"/
  16282. p
  16283. b
  16284. :more2
  16285. s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  16286. p
  16287. g
  16288. s/.\{148\}//
  16289. t delim
  16290. ' <conf$$subs.awk | sed '
  16291. /^[^""]/{
  16292. N
  16293. s/\n//
  16294. }
  16295. ' >>$CONFIG_STATUS || ac_write_fail=1
  16296. rm -f conf$$subs.awk
  16297. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  16298. _ACAWK
  16299. cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
  16300. for (key in S) S_is_set[key] = 1
  16301. FS = ""
  16302. }
  16303. {
  16304. line = $ 0
  16305. nfields = split(line, field, "@")
  16306. substed = 0
  16307. len = length(field[1])
  16308. for (i = 2; i < nfields; i++) {
  16309. key = field[i]
  16310. keylen = length(key)
  16311. if (S_is_set[key]) {
  16312. value = S[key]
  16313. line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
  16314. len += length(value) + length(field[++i])
  16315. substed = 1
  16316. } else
  16317. len += 1 + keylen
  16318. }
  16319. print line
  16320. }
  16321. _ACAWK
  16322. _ACEOF
  16323. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  16324. if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
  16325. sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
  16326. else
  16327. cat
  16328. fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
  16329. || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
  16330. _ACEOF
  16331. # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
  16332. # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
  16333. # trailing colons and then remove the whole line if VPATH becomes empty
  16334. # (actually we leave an empty line to preserve line numbers).
  16335. if test "x$srcdir" = x.; then
  16336. ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
  16337. h
  16338. s///
  16339. s/^/:/
  16340. s/[ ]*$/:/
  16341. s/:\$(srcdir):/:/g
  16342. s/:\${srcdir}:/:/g
  16343. s/:@srcdir@:/:/g
  16344. s/^:*//
  16345. s/:*$//
  16346. x
  16347. s/\(=[ ]*\).*/\1/
  16348. G
  16349. s/\n//
  16350. s/^[^=]*=[ ]*$//
  16351. }'
  16352. fi
  16353. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  16354. fi # test -n "$CONFIG_FILES"
  16355. # Set up the scripts for CONFIG_HEADERS section.
  16356. # No need to generate them if there are no CONFIG_HEADERS.
  16357. # This happens for instance with `./config.status Makefile'.
  16358. if test -n "$CONFIG_HEADERS"; then
  16359. cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
  16360. BEGIN {
  16361. _ACEOF
  16362. # Transform confdefs.h into an awk script `defines.awk', embedded as
  16363. # here-document in config.status, that substitutes the proper values into
  16364. # config.h.in to produce config.h.
  16365. # Create a delimiter string that does not exist in confdefs.h, to ease
  16366. # handling of long lines.
  16367. ac_delim='%!_!# '
  16368. for ac_last_try in false false :; do
  16369. ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
  16370. if test -z "$ac_tt"; then
  16371. break
  16372. elif $ac_last_try; then
  16373. as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
  16374. else
  16375. ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  16376. fi
  16377. done
  16378. # For the awk script, D is an array of macro values keyed by name,
  16379. # likewise P contains macro parameters if any. Preserve backslash
  16380. # newline sequences.
  16381. ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
  16382. sed -n '
  16383. s/.\{148\}/&'"$ac_delim"'/g
  16384. t rset
  16385. :rset
  16386. s/^[ ]*#[ ]*define[ ][ ]*/ /
  16387. t def
  16388. d
  16389. :def
  16390. s/\\$//
  16391. t bsnl
  16392. s/["\\]/\\&/g
  16393. s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
  16394. D["\1"]=" \3"/p
  16395. s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
  16396. d
  16397. :bsnl
  16398. s/["\\]/\\&/g
  16399. s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
  16400. D["\1"]=" \3\\\\\\n"\\/p
  16401. t cont
  16402. s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
  16403. t cont
  16404. d
  16405. :cont
  16406. n
  16407. s/.\{148\}/&'"$ac_delim"'/g
  16408. t clear
  16409. :clear
  16410. s/\\$//
  16411. t bsnlc
  16412. s/["\\]/\\&/g; s/^/"/; s/$/"/p
  16413. d
  16414. :bsnlc
  16415. s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
  16416. b cont
  16417. ' <confdefs.h | sed '
  16418. s/'"$ac_delim"'/"\\\
  16419. "/g' >>$CONFIG_STATUS || ac_write_fail=1
  16420. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  16421. for (key in D) D_is_set[key] = 1
  16422. FS = ""
  16423. }
  16424. /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
  16425. line = \$ 0
  16426. split(line, arg, " ")
  16427. if (arg[1] == "#") {
  16428. defundef = arg[2]
  16429. mac1 = arg[3]
  16430. } else {
  16431. defundef = substr(arg[1], 2)
  16432. mac1 = arg[2]
  16433. }
  16434. split(mac1, mac2, "(") #)
  16435. macro = mac2[1]
  16436. prefix = substr(line, 1, index(line, defundef) - 1)
  16437. if (D_is_set[macro]) {
  16438. # Preserve the white space surrounding the "#".
  16439. print prefix "define", macro P[macro] D[macro]
  16440. next
  16441. } else {
  16442. # Replace #undef with comments. This is necessary, for example,
  16443. # in the case of _POSIX_SOURCE, which is predefined and required
  16444. # on some systems where configure will not decide to define it.
  16445. if (defundef == "undef") {
  16446. print "/*", prefix defundef, macro, "*/"
  16447. next
  16448. }
  16449. }
  16450. }
  16451. { print }
  16452. _ACAWK
  16453. _ACEOF
  16454. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  16455. as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
  16456. fi # test -n "$CONFIG_HEADERS"
  16457. eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
  16458. shift
  16459. for ac_tag
  16460. do
  16461. case $ac_tag in
  16462. :[FHLC]) ac_mode=$ac_tag; continue;;
  16463. esac
  16464. case $ac_mode$ac_tag in
  16465. :[FHL]*:*);;
  16466. :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
  16467. :[FH]-) ac_tag=-:-;;
  16468. :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
  16469. esac
  16470. ac_save_IFS=$IFS
  16471. IFS=:
  16472. set x $ac_tag
  16473. IFS=$ac_save_IFS
  16474. shift
  16475. ac_file=$1
  16476. shift
  16477. case $ac_mode in
  16478. :L) ac_source=$1;;
  16479. :[FH])
  16480. ac_file_inputs=
  16481. for ac_f
  16482. do
  16483. case $ac_f in
  16484. -) ac_f="$ac_tmp/stdin";;
  16485. *) # Look for the file first in the build tree, then in the source tree
  16486. # (if the path is not absolute). The absolute path cannot be DOS-style,
  16487. # because $ac_f cannot contain `:'.
  16488. test -f "$ac_f" ||
  16489. case $ac_f in
  16490. [\\/$]*) false;;
  16491. *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
  16492. esac ||
  16493. as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
  16494. esac
  16495. case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
  16496. as_fn_append ac_file_inputs " '$ac_f'"
  16497. done
  16498. # Let's still pretend it is `configure' which instantiates (i.e., don't
  16499. # use $as_me), people would be surprised to read:
  16500. # /* config.h. Generated by config.status. */
  16501. configure_input='Generated from '`
  16502. $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
  16503. `' by configure.'
  16504. if test x"$ac_file" != x-; then
  16505. configure_input="$ac_file. $configure_input"
  16506. { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
  16507. $as_echo "$as_me: creating $ac_file" >&6;}
  16508. fi
  16509. # Neutralize special characters interpreted by sed in replacement strings.
  16510. case $configure_input in #(
  16511. *\&* | *\|* | *\\* )
  16512. ac_sed_conf_input=`$as_echo "$configure_input" |
  16513. sed 's/[\\\\&|]/\\\\&/g'`;; #(
  16514. *) ac_sed_conf_input=$configure_input;;
  16515. esac
  16516. case $ac_tag in
  16517. *:-:* | *:-) cat >"$ac_tmp/stdin" \
  16518. || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
  16519. esac
  16520. ;;
  16521. esac
  16522. ac_dir=`$as_dirname -- "$ac_file" ||
  16523. $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  16524. X"$ac_file" : 'X\(//\)[^/]' \| \
  16525. X"$ac_file" : 'X\(//\)$' \| \
  16526. X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
  16527. $as_echo X"$ac_file" |
  16528. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  16529. s//\1/
  16530. q
  16531. }
  16532. /^X\(\/\/\)[^/].*/{
  16533. s//\1/
  16534. q
  16535. }
  16536. /^X\(\/\/\)$/{
  16537. s//\1/
  16538. q
  16539. }
  16540. /^X\(\/\).*/{
  16541. s//\1/
  16542. q
  16543. }
  16544. s/.*/./; q'`
  16545. as_dir="$ac_dir"; as_fn_mkdir_p
  16546. ac_builddir=.
  16547. case "$ac_dir" in
  16548. .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  16549. *)
  16550. ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  16551. # A ".." for each directory in $ac_dir_suffix.
  16552. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  16553. case $ac_top_builddir_sub in
  16554. "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  16555. *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  16556. esac ;;
  16557. esac
  16558. ac_abs_top_builddir=$ac_pwd
  16559. ac_abs_builddir=$ac_pwd$ac_dir_suffix
  16560. # for backward compatibility:
  16561. ac_top_builddir=$ac_top_build_prefix
  16562. case $srcdir in
  16563. .) # We are building in place.
  16564. ac_srcdir=.
  16565. ac_top_srcdir=$ac_top_builddir_sub
  16566. ac_abs_top_srcdir=$ac_pwd ;;
  16567. [\\/]* | ?:[\\/]* ) # Absolute name.
  16568. ac_srcdir=$srcdir$ac_dir_suffix;
  16569. ac_top_srcdir=$srcdir
  16570. ac_abs_top_srcdir=$srcdir ;;
  16571. *) # Relative name.
  16572. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  16573. ac_top_srcdir=$ac_top_build_prefix$srcdir
  16574. ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  16575. esac
  16576. ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  16577. case $ac_mode in
  16578. :F)
  16579. #
  16580. # CONFIG_FILE
  16581. #
  16582. case $INSTALL in
  16583. [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
  16584. *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
  16585. esac
  16586. ac_MKDIR_P=$MKDIR_P
  16587. case $MKDIR_P in
  16588. [\\/$]* | ?:[\\/]* ) ;;
  16589. */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
  16590. esac
  16591. _ACEOF
  16592. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  16593. # If the template does not know about datarootdir, expand it.
  16594. # FIXME: This hack should be removed a few years after 2.60.
  16595. ac_datarootdir_hack=; ac_datarootdir_seen=
  16596. ac_sed_dataroot='
  16597. /datarootdir/ {
  16598. p
  16599. q
  16600. }
  16601. /@datadir@/p
  16602. /@docdir@/p
  16603. /@infodir@/p
  16604. /@localedir@/p
  16605. /@mandir@/p'
  16606. case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
  16607. *datarootdir*) ac_datarootdir_seen=yes;;
  16608. *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
  16609. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
  16610. $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
  16611. _ACEOF
  16612. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  16613. ac_datarootdir_hack='
  16614. s&@datadir@&$datadir&g
  16615. s&@docdir@&$docdir&g
  16616. s&@infodir@&$infodir&g
  16617. s&@localedir@&$localedir&g
  16618. s&@mandir@&$mandir&g
  16619. s&\\\${datarootdir}&$datarootdir&g' ;;
  16620. esac
  16621. _ACEOF
  16622. # Neutralize VPATH when `$srcdir' = `.'.
  16623. # Shell code in configure.ac might set extrasub.
  16624. # FIXME: do we really want to maintain this feature?
  16625. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  16626. ac_sed_extra="$ac_vpsub
  16627. $extrasub
  16628. _ACEOF
  16629. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  16630. :t
  16631. /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
  16632. s|@configure_input@|$ac_sed_conf_input|;t t
  16633. s&@top_builddir@&$ac_top_builddir_sub&;t t
  16634. s&@top_build_prefix@&$ac_top_build_prefix&;t t
  16635. s&@srcdir@&$ac_srcdir&;t t
  16636. s&@abs_srcdir@&$ac_abs_srcdir&;t t
  16637. s&@top_srcdir@&$ac_top_srcdir&;t t
  16638. s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
  16639. s&@builddir@&$ac_builddir&;t t
  16640. s&@abs_builddir@&$ac_abs_builddir&;t t
  16641. s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
  16642. s&@INSTALL@&$ac_INSTALL&;t t
  16643. s&@MKDIR_P@&$ac_MKDIR_P&;t t
  16644. $ac_datarootdir_hack
  16645. "
  16646. eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
  16647. >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  16648. test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
  16649. { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
  16650. { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
  16651. "$ac_tmp/out"`; test -z "$ac_out"; } &&
  16652. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  16653. which seems to be undefined. Please make sure it is defined" >&5
  16654. $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  16655. which seems to be undefined. Please make sure it is defined" >&2;}
  16656. rm -f "$ac_tmp/stdin"
  16657. case $ac_file in
  16658. -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
  16659. *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
  16660. esac \
  16661. || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  16662. ;;
  16663. :H)
  16664. #
  16665. # CONFIG_HEADER
  16666. #
  16667. if test x"$ac_file" != x-; then
  16668. {
  16669. $as_echo "/* $configure_input */" \
  16670. && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
  16671. } >"$ac_tmp/config.h" \
  16672. || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  16673. if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
  16674. { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
  16675. $as_echo "$as_me: $ac_file is unchanged" >&6;}
  16676. else
  16677. rm -f "$ac_file"
  16678. mv "$ac_tmp/config.h" "$ac_file" \
  16679. || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  16680. fi
  16681. else
  16682. $as_echo "/* $configure_input */" \
  16683. && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
  16684. || as_fn_error $? "could not create -" "$LINENO" 5
  16685. fi
  16686. # Compute "$ac_file"'s index in $config_headers.
  16687. _am_arg="$ac_file"
  16688. _am_stamp_count=1
  16689. for _am_header in $config_headers :; do
  16690. case $_am_header in
  16691. $_am_arg | $_am_arg:* )
  16692. break ;;
  16693. * )
  16694. _am_stamp_count=`expr $_am_stamp_count + 1` ;;
  16695. esac
  16696. done
  16697. echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
  16698. $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  16699. X"$_am_arg" : 'X\(//\)[^/]' \| \
  16700. X"$_am_arg" : 'X\(//\)$' \| \
  16701. X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
  16702. $as_echo X"$_am_arg" |
  16703. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  16704. s//\1/
  16705. q
  16706. }
  16707. /^X\(\/\/\)[^/].*/{
  16708. s//\1/
  16709. q
  16710. }
  16711. /^X\(\/\/\)$/{
  16712. s//\1/
  16713. q
  16714. }
  16715. /^X\(\/\).*/{
  16716. s//\1/
  16717. q
  16718. }
  16719. s/.*/./; q'`/stamp-h$_am_stamp_count
  16720. ;;
  16721. :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
  16722. $as_echo "$as_me: executing $ac_file commands" >&6;}
  16723. ;;
  16724. esac
  16725. case $ac_file$ac_mode in
  16726. "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
  16727. # Autoconf 2.62 quotes --file arguments for eval, but not when files
  16728. # are listed without --file. Let's play safe and only enable the eval
  16729. # if we detect the quoting.
  16730. case $CONFIG_FILES in
  16731. *\'*) eval set x "$CONFIG_FILES" ;;
  16732. *) set x $CONFIG_FILES ;;
  16733. esac
  16734. shift
  16735. for mf
  16736. do
  16737. # Strip MF so we end up with the name of the file.
  16738. mf=`echo "$mf" | sed -e 's/:.*$//'`
  16739. # Check whether this is an Automake generated Makefile or not.
  16740. # We used to match only the files named 'Makefile.in', but
  16741. # some people rename them; so instead we look at the file content.
  16742. # Grep'ing the first line is not enough: some people post-process
  16743. # each Makefile.in and add a new line on top of each file to say so.
  16744. # Grep'ing the whole file is not good either: AIX grep has a line
  16745. # limit of 2048, but all sed's we know have understand at least 4000.
  16746. if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
  16747. dirpart=`$as_dirname -- "$mf" ||
  16748. $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  16749. X"$mf" : 'X\(//\)[^/]' \| \
  16750. X"$mf" : 'X\(//\)$' \| \
  16751. X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
  16752. $as_echo X"$mf" |
  16753. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  16754. s//\1/
  16755. q
  16756. }
  16757. /^X\(\/\/\)[^/].*/{
  16758. s//\1/
  16759. q
  16760. }
  16761. /^X\(\/\/\)$/{
  16762. s//\1/
  16763. q
  16764. }
  16765. /^X\(\/\).*/{
  16766. s//\1/
  16767. q
  16768. }
  16769. s/.*/./; q'`
  16770. else
  16771. continue
  16772. fi
  16773. # Extract the definition of DEPDIR, am__include, and am__quote
  16774. # from the Makefile without running 'make'.
  16775. DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
  16776. test -z "$DEPDIR" && continue
  16777. am__include=`sed -n 's/^am__include = //p' < "$mf"`
  16778. test -z "am__include" && continue
  16779. am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
  16780. # Find all dependency output files, they are included files with
  16781. # $(DEPDIR) in their names. We invoke sed twice because it is the
  16782. # simplest approach to changing $(DEPDIR) to its actual value in the
  16783. # expansion.
  16784. for file in `sed -n "
  16785. s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
  16786. sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
  16787. # Make sure the directory exists.
  16788. test -f "$dirpart/$file" && continue
  16789. fdir=`$as_dirname -- "$file" ||
  16790. $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  16791. X"$file" : 'X\(//\)[^/]' \| \
  16792. X"$file" : 'X\(//\)$' \| \
  16793. X"$file" : 'X\(/\)' \| . 2>/dev/null ||
  16794. $as_echo X"$file" |
  16795. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  16796. s//\1/
  16797. q
  16798. }
  16799. /^X\(\/\/\)[^/].*/{
  16800. s//\1/
  16801. q
  16802. }
  16803. /^X\(\/\/\)$/{
  16804. s//\1/
  16805. q
  16806. }
  16807. /^X\(\/\).*/{
  16808. s//\1/
  16809. q
  16810. }
  16811. s/.*/./; q'`
  16812. as_dir=$dirpart/$fdir; as_fn_mkdir_p
  16813. # echo "creating $dirpart/$file"
  16814. echo '# dummy' > "$dirpart/$file"
  16815. done
  16816. done
  16817. }
  16818. ;;
  16819. "libtool":C)
  16820. # See if we are running on zsh, and set the options which allow our
  16821. # commands through without removal of \ escapes.
  16822. if test -n "${ZSH_VERSION+set}" ; then
  16823. setopt NO_GLOB_SUBST
  16824. fi
  16825. cfgfile="${ofile}T"
  16826. trap "$RM \"$cfgfile\"; exit 1" 1 2 15
  16827. $RM "$cfgfile"
  16828. cat <<_LT_EOF >> "$cfgfile"
  16829. #! $SHELL
  16830. # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
  16831. # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
  16832. # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
  16833. # NOTE: Changes made to this file will be lost: look at ltmain.sh.
  16834. #
  16835. # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
  16836. # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
  16837. # Foundation, Inc.
  16838. # Written by Gordon Matzigkeit, 1996
  16839. #
  16840. # This file is part of GNU Libtool.
  16841. #
  16842. # GNU Libtool is free software; you can redistribute it and/or
  16843. # modify it under the terms of the GNU General Public License as
  16844. # published by the Free Software Foundation; either version 2 of
  16845. # the License, or (at your option) any later version.
  16846. #
  16847. # As a special exception to the GNU General Public License,
  16848. # if you distribute this file as part of a program or library that
  16849. # is built using GNU Libtool, you may include this file under the
  16850. # same distribution terms that you use for the rest of that program.
  16851. #
  16852. # GNU Libtool is distributed in the hope that it will be useful,
  16853. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  16854. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  16855. # GNU General Public License for more details.
  16856. #
  16857. # You should have received a copy of the GNU General Public License
  16858. # along with GNU Libtool; see the file COPYING. If not, a copy
  16859. # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
  16860. # obtained by writing to the Free Software Foundation, Inc.,
  16861. # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  16862. # The names of the tagged configurations supported by this script.
  16863. available_tags="CXX "
  16864. # ### BEGIN LIBTOOL CONFIG
  16865. # Which release of libtool.m4 was used?
  16866. macro_version=$macro_version
  16867. macro_revision=$macro_revision
  16868. # Assembler program.
  16869. AS=$lt_AS
  16870. # DLL creation program.
  16871. DLLTOOL=$lt_DLLTOOL
  16872. # Object dumper program.
  16873. OBJDUMP=$lt_OBJDUMP
  16874. # Whether or not to build shared libraries.
  16875. build_libtool_libs=$enable_shared
  16876. # Whether or not to build static libraries.
  16877. build_old_libs=$enable_static
  16878. # What type of objects to build.
  16879. pic_mode=$pic_mode
  16880. # Whether or not to optimize for fast installation.
  16881. fast_install=$enable_fast_install
  16882. # Shell to use when invoking shell scripts.
  16883. SHELL=$lt_SHELL
  16884. # An echo program that protects backslashes.
  16885. ECHO=$lt_ECHO
  16886. # The PATH separator for the build system.
  16887. PATH_SEPARATOR=$lt_PATH_SEPARATOR
  16888. # The host system.
  16889. host_alias=$host_alias
  16890. host=$host
  16891. host_os=$host_os
  16892. # The build system.
  16893. build_alias=$build_alias
  16894. build=$build
  16895. build_os=$build_os
  16896. # A sed program that does not truncate output.
  16897. SED=$lt_SED
  16898. # Sed that helps us avoid accidentally triggering echo(1) options like -n.
  16899. Xsed="\$SED -e 1s/^X//"
  16900. # A grep program that handles long lines.
  16901. GREP=$lt_GREP
  16902. # An ERE matcher.
  16903. EGREP=$lt_EGREP
  16904. # A literal string matcher.
  16905. FGREP=$lt_FGREP
  16906. # A BSD- or MS-compatible name lister.
  16907. NM=$lt_NM
  16908. # Whether we need soft or hard links.
  16909. LN_S=$lt_LN_S
  16910. # What is the maximum length of a command?
  16911. max_cmd_len=$max_cmd_len
  16912. # Object file suffix (normally "o").
  16913. objext=$ac_objext
  16914. # Executable file suffix (normally "").
  16915. exeext=$exeext
  16916. # whether the shell understands "unset".
  16917. lt_unset=$lt_unset
  16918. # turn spaces into newlines.
  16919. SP2NL=$lt_lt_SP2NL
  16920. # turn newlines into spaces.
  16921. NL2SP=$lt_lt_NL2SP
  16922. # convert \$build file names to \$host format.
  16923. to_host_file_cmd=$lt_cv_to_host_file_cmd
  16924. # convert \$build files to toolchain format.
  16925. to_tool_file_cmd=$lt_cv_to_tool_file_cmd
  16926. # Method to check whether dependent libraries are shared objects.
  16927. deplibs_check_method=$lt_deplibs_check_method
  16928. # Command to use when deplibs_check_method = "file_magic".
  16929. file_magic_cmd=$lt_file_magic_cmd
  16930. # How to find potential files when deplibs_check_method = "file_magic".
  16931. file_magic_glob=$lt_file_magic_glob
  16932. # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
  16933. want_nocaseglob=$lt_want_nocaseglob
  16934. # Command to associate shared and link libraries.
  16935. sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
  16936. # The archiver.
  16937. AR=$lt_AR
  16938. # Flags to create an archive.
  16939. AR_FLAGS=$lt_AR_FLAGS
  16940. # How to feed a file listing to the archiver.
  16941. archiver_list_spec=$lt_archiver_list_spec
  16942. # A symbol stripping program.
  16943. STRIP=$lt_STRIP
  16944. # Commands used to install an old-style archive.
  16945. RANLIB=$lt_RANLIB
  16946. old_postinstall_cmds=$lt_old_postinstall_cmds
  16947. old_postuninstall_cmds=$lt_old_postuninstall_cmds
  16948. # Whether to use a lock for old archive extraction.
  16949. lock_old_archive_extraction=$lock_old_archive_extraction
  16950. # A C compiler.
  16951. LTCC=$lt_CC
  16952. # LTCC compiler flags.
  16953. LTCFLAGS=$lt_CFLAGS
  16954. # Take the output of nm and produce a listing of raw symbols and C names.
  16955. global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
  16956. # Transform the output of nm in a proper C declaration.
  16957. global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
  16958. # Transform the output of nm in a C name address pair.
  16959. global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
  16960. # Transform the output of nm in a C name address pair when lib prefix is needed.
  16961. global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
  16962. # Specify filename containing input files for \$NM.
  16963. nm_file_list_spec=$lt_nm_file_list_spec
  16964. # The root where to search for dependent libraries,and in which our libraries should be installed.
  16965. lt_sysroot=$lt_sysroot
  16966. # The name of the directory that contains temporary libtool files.
  16967. objdir=$objdir
  16968. # Used to examine libraries when file_magic_cmd begins with "file".
  16969. MAGIC_CMD=$MAGIC_CMD
  16970. # Must we lock files when doing compilation?
  16971. need_locks=$lt_need_locks
  16972. # Manifest tool.
  16973. MANIFEST_TOOL=$lt_MANIFEST_TOOL
  16974. # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
  16975. DSYMUTIL=$lt_DSYMUTIL
  16976. # Tool to change global to local symbols on Mac OS X.
  16977. NMEDIT=$lt_NMEDIT
  16978. # Tool to manipulate fat objects and archives on Mac OS X.
  16979. LIPO=$lt_LIPO
  16980. # ldd/readelf like tool for Mach-O binaries on Mac OS X.
  16981. OTOOL=$lt_OTOOL
  16982. # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
  16983. OTOOL64=$lt_OTOOL64
  16984. # Old archive suffix (normally "a").
  16985. libext=$libext
  16986. # Shared library suffix (normally ".so").
  16987. shrext_cmds=$lt_shrext_cmds
  16988. # The commands to extract the exported symbol list from a shared archive.
  16989. extract_expsyms_cmds=$lt_extract_expsyms_cmds
  16990. # Variables whose values should be saved in libtool wrapper scripts and
  16991. # restored at link time.
  16992. variables_saved_for_relink=$lt_variables_saved_for_relink
  16993. # Do we need the "lib" prefix for modules?
  16994. need_lib_prefix=$need_lib_prefix
  16995. # Do we need a version for libraries?
  16996. need_version=$need_version
  16997. # Library versioning type.
  16998. version_type=$version_type
  16999. # Shared library runtime path variable.
  17000. runpath_var=$runpath_var
  17001. # Shared library path variable.
  17002. shlibpath_var=$shlibpath_var
  17003. # Is shlibpath searched before the hard-coded library search path?
  17004. shlibpath_overrides_runpath=$shlibpath_overrides_runpath
  17005. # Format of library name prefix.
  17006. libname_spec=$lt_libname_spec
  17007. # List of archive names. First name is the real one, the rest are links.
  17008. # The last name is the one that the linker finds with -lNAME
  17009. library_names_spec=$lt_library_names_spec
  17010. # The coded name of the library, if different from the real name.
  17011. soname_spec=$lt_soname_spec
  17012. # Permission mode override for installation of shared libraries.
  17013. install_override_mode=$lt_install_override_mode
  17014. # Command to use after installation of a shared archive.
  17015. postinstall_cmds=$lt_postinstall_cmds
  17016. # Command to use after uninstallation of a shared archive.
  17017. postuninstall_cmds=$lt_postuninstall_cmds
  17018. # Commands used to finish a libtool library installation in a directory.
  17019. finish_cmds=$lt_finish_cmds
  17020. # As "finish_cmds", except a single script fragment to be evaled but
  17021. # not shown.
  17022. finish_eval=$lt_finish_eval
  17023. # Whether we should hardcode library paths into libraries.
  17024. hardcode_into_libs=$hardcode_into_libs
  17025. # Compile-time system search path for libraries.
  17026. sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
  17027. # Run-time system search path for libraries.
  17028. sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
  17029. # Whether dlopen is supported.
  17030. dlopen_support=$enable_dlopen
  17031. # Whether dlopen of programs is supported.
  17032. dlopen_self=$enable_dlopen_self
  17033. # Whether dlopen of statically linked programs is supported.
  17034. dlopen_self_static=$enable_dlopen_self_static
  17035. # Commands to strip libraries.
  17036. old_striplib=$lt_old_striplib
  17037. striplib=$lt_striplib
  17038. # The linker used to build libraries.
  17039. LD=$lt_LD
  17040. # How to create reloadable object files.
  17041. reload_flag=$lt_reload_flag
  17042. reload_cmds=$lt_reload_cmds
  17043. # Commands used to build an old-style archive.
  17044. old_archive_cmds=$lt_old_archive_cmds
  17045. # A language specific compiler.
  17046. CC=$lt_compiler
  17047. # Is the compiler the GNU compiler?
  17048. with_gcc=$GCC
  17049. # Compiler flag to turn off builtin functions.
  17050. no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
  17051. # Additional compiler flags for building library objects.
  17052. pic_flag=$lt_lt_prog_compiler_pic
  17053. # How to pass a linker flag through the compiler.
  17054. wl=$lt_lt_prog_compiler_wl
  17055. # Compiler flag to prevent dynamic linking.
  17056. link_static_flag=$lt_lt_prog_compiler_static
  17057. # Does compiler simultaneously support -c and -o options?
  17058. compiler_c_o=$lt_lt_cv_prog_compiler_c_o
  17059. # Whether or not to add -lc for building shared libraries.
  17060. build_libtool_need_lc=$archive_cmds_need_lc
  17061. # Whether or not to disallow shared libs when runtime libs are static.
  17062. allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
  17063. # Compiler flag to allow reflexive dlopens.
  17064. export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
  17065. # Compiler flag to generate shared objects directly from archives.
  17066. whole_archive_flag_spec=$lt_whole_archive_flag_spec
  17067. # Whether the compiler copes with passing no objects directly.
  17068. compiler_needs_object=$lt_compiler_needs_object
  17069. # Create an old-style archive from a shared archive.
  17070. old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
  17071. # Create a temporary old-style archive to link instead of a shared archive.
  17072. old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
  17073. # Commands used to build a shared archive.
  17074. archive_cmds=$lt_archive_cmds
  17075. archive_expsym_cmds=$lt_archive_expsym_cmds
  17076. # Commands used to build a loadable module if different from building
  17077. # a shared archive.
  17078. module_cmds=$lt_module_cmds
  17079. module_expsym_cmds=$lt_module_expsym_cmds
  17080. # Whether we are building with GNU ld or not.
  17081. with_gnu_ld=$lt_with_gnu_ld
  17082. # Flag that allows shared libraries with undefined symbols to be built.
  17083. allow_undefined_flag=$lt_allow_undefined_flag
  17084. # Flag that enforces no undefined symbols.
  17085. no_undefined_flag=$lt_no_undefined_flag
  17086. # Flag to hardcode \$libdir into a binary during linking.
  17087. # This must work even if \$libdir does not exist
  17088. hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
  17089. # Whether we need a single "-rpath" flag with a separated argument.
  17090. hardcode_libdir_separator=$lt_hardcode_libdir_separator
  17091. # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
  17092. # DIR into the resulting binary.
  17093. hardcode_direct=$hardcode_direct
  17094. # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
  17095. # DIR into the resulting binary and the resulting library dependency is
  17096. # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
  17097. # library is relocated.
  17098. hardcode_direct_absolute=$hardcode_direct_absolute
  17099. # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
  17100. # into the resulting binary.
  17101. hardcode_minus_L=$hardcode_minus_L
  17102. # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
  17103. # into the resulting binary.
  17104. hardcode_shlibpath_var=$hardcode_shlibpath_var
  17105. # Set to "yes" if building a shared library automatically hardcodes DIR
  17106. # into the library and all subsequent libraries and executables linked
  17107. # against it.
  17108. hardcode_automatic=$hardcode_automatic
  17109. # Set to yes if linker adds runtime paths of dependent libraries
  17110. # to runtime path list.
  17111. inherit_rpath=$inherit_rpath
  17112. # Whether libtool must link a program against all its dependency libraries.
  17113. link_all_deplibs=$link_all_deplibs
  17114. # Set to "yes" if exported symbols are required.
  17115. always_export_symbols=$always_export_symbols
  17116. # The commands to list exported symbols.
  17117. export_symbols_cmds=$lt_export_symbols_cmds
  17118. # Symbols that should not be listed in the preloaded symbols.
  17119. exclude_expsyms=$lt_exclude_expsyms
  17120. # Symbols that must always be exported.
  17121. include_expsyms=$lt_include_expsyms
  17122. # Commands necessary for linking programs (against libraries) with templates.
  17123. prelink_cmds=$lt_prelink_cmds
  17124. # Commands necessary for finishing linking programs.
  17125. postlink_cmds=$lt_postlink_cmds
  17126. # Specify filename containing input files.
  17127. file_list_spec=$lt_file_list_spec
  17128. # How to hardcode a shared library path into an executable.
  17129. hardcode_action=$hardcode_action
  17130. # The directories searched by this compiler when creating a shared library.
  17131. compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
  17132. # Dependencies to place before and after the objects being linked to
  17133. # create a shared library.
  17134. predep_objects=$lt_predep_objects
  17135. postdep_objects=$lt_postdep_objects
  17136. predeps=$lt_predeps
  17137. postdeps=$lt_postdeps
  17138. # The library search path used internally by the compiler when linking
  17139. # a shared library.
  17140. compiler_lib_search_path=$lt_compiler_lib_search_path
  17141. # ### END LIBTOOL CONFIG
  17142. _LT_EOF
  17143. case $host_os in
  17144. aix3*)
  17145. cat <<\_LT_EOF >> "$cfgfile"
  17146. # AIX sometimes has problems with the GCC collect2 program. For some
  17147. # reason, if we set the COLLECT_NAMES environment variable, the problems
  17148. # vanish in a puff of smoke.
  17149. if test "X${COLLECT_NAMES+set}" != Xset; then
  17150. COLLECT_NAMES=
  17151. export COLLECT_NAMES
  17152. fi
  17153. _LT_EOF
  17154. ;;
  17155. esac
  17156. ltmain="$ac_aux_dir/ltmain.sh"
  17157. # We use sed instead of cat because bash on DJGPP gets confused if
  17158. # if finds mixed CR/LF and LF-only lines. Since sed operates in
  17159. # text mode, it properly converts lines to CR/LF. This bash problem
  17160. # is reportedly fixed, but why not run on old versions too?
  17161. sed '$q' "$ltmain" >> "$cfgfile" \
  17162. || (rm -f "$cfgfile"; exit 1)
  17163. if test x"$xsi_shell" = xyes; then
  17164. sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
  17165. func_dirname ()\
  17166. {\
  17167. \ case ${1} in\
  17168. \ */*) func_dirname_result="${1%/*}${2}" ;;\
  17169. \ * ) func_dirname_result="${3}" ;;\
  17170. \ esac\
  17171. } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
  17172. && mv -f "$cfgfile.tmp" "$cfgfile" \
  17173. || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  17174. test 0 -eq $? || _lt_function_replace_fail=:
  17175. sed -e '/^func_basename ()$/,/^} # func_basename /c\
  17176. func_basename ()\
  17177. {\
  17178. \ func_basename_result="${1##*/}"\
  17179. } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
  17180. && mv -f "$cfgfile.tmp" "$cfgfile" \
  17181. || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  17182. test 0 -eq $? || _lt_function_replace_fail=:
  17183. sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
  17184. func_dirname_and_basename ()\
  17185. {\
  17186. \ case ${1} in\
  17187. \ */*) func_dirname_result="${1%/*}${2}" ;;\
  17188. \ * ) func_dirname_result="${3}" ;;\
  17189. \ esac\
  17190. \ func_basename_result="${1##*/}"\
  17191. } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
  17192. && mv -f "$cfgfile.tmp" "$cfgfile" \
  17193. || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  17194. test 0 -eq $? || _lt_function_replace_fail=:
  17195. sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
  17196. func_stripname ()\
  17197. {\
  17198. \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
  17199. \ # positional parameters, so assign one to ordinary parameter first.\
  17200. \ func_stripname_result=${3}\
  17201. \ func_stripname_result=${func_stripname_result#"${1}"}\
  17202. \ func_stripname_result=${func_stripname_result%"${2}"}\
  17203. } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
  17204. && mv -f "$cfgfile.tmp" "$cfgfile" \
  17205. || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  17206. test 0 -eq $? || _lt_function_replace_fail=:
  17207. sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
  17208. func_split_long_opt ()\
  17209. {\
  17210. \ func_split_long_opt_name=${1%%=*}\
  17211. \ func_split_long_opt_arg=${1#*=}\
  17212. } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
  17213. && mv -f "$cfgfile.tmp" "$cfgfile" \
  17214. || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  17215. test 0 -eq $? || _lt_function_replace_fail=:
  17216. sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
  17217. func_split_short_opt ()\
  17218. {\
  17219. \ func_split_short_opt_arg=${1#??}\
  17220. \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
  17221. } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
  17222. && mv -f "$cfgfile.tmp" "$cfgfile" \
  17223. || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  17224. test 0 -eq $? || _lt_function_replace_fail=:
  17225. sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
  17226. func_lo2o ()\
  17227. {\
  17228. \ case ${1} in\
  17229. \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
  17230. \ *) func_lo2o_result=${1} ;;\
  17231. \ esac\
  17232. } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
  17233. && mv -f "$cfgfile.tmp" "$cfgfile" \
  17234. || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  17235. test 0 -eq $? || _lt_function_replace_fail=:
  17236. sed -e '/^func_xform ()$/,/^} # func_xform /c\
  17237. func_xform ()\
  17238. {\
  17239. func_xform_result=${1%.*}.lo\
  17240. } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
  17241. && mv -f "$cfgfile.tmp" "$cfgfile" \
  17242. || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  17243. test 0 -eq $? || _lt_function_replace_fail=:
  17244. sed -e '/^func_arith ()$/,/^} # func_arith /c\
  17245. func_arith ()\
  17246. {\
  17247. func_arith_result=$(( $* ))\
  17248. } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
  17249. && mv -f "$cfgfile.tmp" "$cfgfile" \
  17250. || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  17251. test 0 -eq $? || _lt_function_replace_fail=:
  17252. sed -e '/^func_len ()$/,/^} # func_len /c\
  17253. func_len ()\
  17254. {\
  17255. func_len_result=${#1}\
  17256. } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
  17257. && mv -f "$cfgfile.tmp" "$cfgfile" \
  17258. || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  17259. test 0 -eq $? || _lt_function_replace_fail=:
  17260. fi
  17261. if test x"$lt_shell_append" = xyes; then
  17262. sed -e '/^func_append ()$/,/^} # func_append /c\
  17263. func_append ()\
  17264. {\
  17265. eval "${1}+=\\${2}"\
  17266. } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
  17267. && mv -f "$cfgfile.tmp" "$cfgfile" \
  17268. || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  17269. test 0 -eq $? || _lt_function_replace_fail=:
  17270. sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
  17271. func_append_quoted ()\
  17272. {\
  17273. \ func_quote_for_eval "${2}"\
  17274. \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
  17275. } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
  17276. && mv -f "$cfgfile.tmp" "$cfgfile" \
  17277. || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  17278. test 0 -eq $? || _lt_function_replace_fail=:
  17279. # Save a `func_append' function call where possible by direct use of '+='
  17280. sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
  17281. && mv -f "$cfgfile.tmp" "$cfgfile" \
  17282. || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  17283. test 0 -eq $? || _lt_function_replace_fail=:
  17284. else
  17285. # Save a `func_append' function call even when '+=' is not available
  17286. sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
  17287. && mv -f "$cfgfile.tmp" "$cfgfile" \
  17288. || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  17289. test 0 -eq $? || _lt_function_replace_fail=:
  17290. fi
  17291. if test x"$_lt_function_replace_fail" = x":"; then
  17292. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
  17293. $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
  17294. fi
  17295. mv -f "$cfgfile" "$ofile" ||
  17296. (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
  17297. chmod +x "$ofile"
  17298. cat <<_LT_EOF >> "$ofile"
  17299. # ### BEGIN LIBTOOL TAG CONFIG: CXX
  17300. # The linker used to build libraries.
  17301. LD=$lt_LD_CXX
  17302. # How to create reloadable object files.
  17303. reload_flag=$lt_reload_flag_CXX
  17304. reload_cmds=$lt_reload_cmds_CXX
  17305. # Commands used to build an old-style archive.
  17306. old_archive_cmds=$lt_old_archive_cmds_CXX
  17307. # A language specific compiler.
  17308. CC=$lt_compiler_CXX
  17309. # Is the compiler the GNU compiler?
  17310. with_gcc=$GCC_CXX
  17311. # Compiler flag to turn off builtin functions.
  17312. no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
  17313. # Additional compiler flags for building library objects.
  17314. pic_flag=$lt_lt_prog_compiler_pic_CXX
  17315. # How to pass a linker flag through the compiler.
  17316. wl=$lt_lt_prog_compiler_wl_CXX
  17317. # Compiler flag to prevent dynamic linking.
  17318. link_static_flag=$lt_lt_prog_compiler_static_CXX
  17319. # Does compiler simultaneously support -c and -o options?
  17320. compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
  17321. # Whether or not to add -lc for building shared libraries.
  17322. build_libtool_need_lc=$archive_cmds_need_lc_CXX
  17323. # Whether or not to disallow shared libs when runtime libs are static.
  17324. allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
  17325. # Compiler flag to allow reflexive dlopens.
  17326. export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
  17327. # Compiler flag to generate shared objects directly from archives.
  17328. whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
  17329. # Whether the compiler copes with passing no objects directly.
  17330. compiler_needs_object=$lt_compiler_needs_object_CXX
  17331. # Create an old-style archive from a shared archive.
  17332. old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
  17333. # Create a temporary old-style archive to link instead of a shared archive.
  17334. old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
  17335. # Commands used to build a shared archive.
  17336. archive_cmds=$lt_archive_cmds_CXX
  17337. archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
  17338. # Commands used to build a loadable module if different from building
  17339. # a shared archive.
  17340. module_cmds=$lt_module_cmds_CXX
  17341. module_expsym_cmds=$lt_module_expsym_cmds_CXX
  17342. # Whether we are building with GNU ld or not.
  17343. with_gnu_ld=$lt_with_gnu_ld_CXX
  17344. # Flag that allows shared libraries with undefined symbols to be built.
  17345. allow_undefined_flag=$lt_allow_undefined_flag_CXX
  17346. # Flag that enforces no undefined symbols.
  17347. no_undefined_flag=$lt_no_undefined_flag_CXX
  17348. # Flag to hardcode \$libdir into a binary during linking.
  17349. # This must work even if \$libdir does not exist
  17350. hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
  17351. # Whether we need a single "-rpath" flag with a separated argument.
  17352. hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
  17353. # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
  17354. # DIR into the resulting binary.
  17355. hardcode_direct=$hardcode_direct_CXX
  17356. # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
  17357. # DIR into the resulting binary and the resulting library dependency is
  17358. # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
  17359. # library is relocated.
  17360. hardcode_direct_absolute=$hardcode_direct_absolute_CXX
  17361. # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
  17362. # into the resulting binary.
  17363. hardcode_minus_L=$hardcode_minus_L_CXX
  17364. # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
  17365. # into the resulting binary.
  17366. hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
  17367. # Set to "yes" if building a shared library automatically hardcodes DIR
  17368. # into the library and all subsequent libraries and executables linked
  17369. # against it.
  17370. hardcode_automatic=$hardcode_automatic_CXX
  17371. # Set to yes if linker adds runtime paths of dependent libraries
  17372. # to runtime path list.
  17373. inherit_rpath=$inherit_rpath_CXX
  17374. # Whether libtool must link a program against all its dependency libraries.
  17375. link_all_deplibs=$link_all_deplibs_CXX
  17376. # Set to "yes" if exported symbols are required.
  17377. always_export_symbols=$always_export_symbols_CXX
  17378. # The commands to list exported symbols.
  17379. export_symbols_cmds=$lt_export_symbols_cmds_CXX
  17380. # Symbols that should not be listed in the preloaded symbols.
  17381. exclude_expsyms=$lt_exclude_expsyms_CXX
  17382. # Symbols that must always be exported.
  17383. include_expsyms=$lt_include_expsyms_CXX
  17384. # Commands necessary for linking programs (against libraries) with templates.
  17385. prelink_cmds=$lt_prelink_cmds_CXX
  17386. # Commands necessary for finishing linking programs.
  17387. postlink_cmds=$lt_postlink_cmds_CXX
  17388. # Specify filename containing input files.
  17389. file_list_spec=$lt_file_list_spec_CXX
  17390. # How to hardcode a shared library path into an executable.
  17391. hardcode_action=$hardcode_action_CXX
  17392. # The directories searched by this compiler when creating a shared library.
  17393. compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
  17394. # Dependencies to place before and after the objects being linked to
  17395. # create a shared library.
  17396. predep_objects=$lt_predep_objects_CXX
  17397. postdep_objects=$lt_postdep_objects_CXX
  17398. predeps=$lt_predeps_CXX
  17399. postdeps=$lt_postdeps_CXX
  17400. # The library search path used internally by the compiler when linking
  17401. # a shared library.
  17402. compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
  17403. # ### END LIBTOOL TAG CONFIG: CXX
  17404. _LT_EOF
  17405. ;;
  17406. "libtool-rpath-patch":C) if test "$libtool_use_rpath" = "no"; then
  17407. sed < libtool > libtool-2 's/^hardcode_libdir_flag_spec.*$'/'hardcode_libdir_flag_spec=" -D__LIBTOOL_NO_RPATH__ "/'
  17408. mv libtool-2 libtool
  17409. chmod 755 libtool
  17410. fi ;;
  17411. "tester-mode":C) chmod +x tester ;;
  17412. esac
  17413. done # for ac_tag
  17414. as_fn_exit 0
  17415. _ACEOF
  17416. ac_clean_files=$ac_clean_files_save
  17417. test $ac_write_fail = 0 ||
  17418. as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
  17419. # configure is writing to config.log, and then calls config.status.
  17420. # config.status does its own redirection, appending to config.log.
  17421. # Unfortunately, on DOS this fails, as config.log is still kept open
  17422. # by configure, so config.status won't be able to write to it; its
  17423. # output is simply discarded. So we exec the FD to /dev/null,
  17424. # effectively closing config.log, so it can be properly (re)opened and
  17425. # appended to by config.status. When coming back to configure, we
  17426. # need to make the FD available again.
  17427. if test "$no_create" != yes; then
  17428. ac_cs_success=:
  17429. ac_config_status_args=
  17430. test "$silent" = yes &&
  17431. ac_config_status_args="$ac_config_status_args --quiet"
  17432. exec 5>/dev/null
  17433. $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
  17434. exec 5>>config.log
  17435. # Use ||, not &&, to avoid exiting from the if with $? = 1, which
  17436. # would make configure fail if this is the last instruction.
  17437. $ac_cs_success || as_fn_exit 1
  17438. fi
  17439. if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
  17440. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
  17441. $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
  17442. fi