configure 446 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397
  1. #! /bin/sh
  2. # Guess values for system-dependent variables and create Makefiles.
  3. # Generated by GNU Autoconf 2.69 for libltdl 2.4.3a.
  4. #
  5. # Report bugs to <bug-libtool@gnu.org>.
  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. as_echo='printf %s\n'
  37. as_echo_n='printf %s'
  38. # The user is always right.
  39. if test "${PATH_SEPARATOR+set}" != set; then
  40. PATH_SEPARATOR=:
  41. (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  42. (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  43. PATH_SEPARATOR=';'
  44. }
  45. fi
  46. # IFS
  47. # We need space, tab and new line, in precisely that order. Quoting is
  48. # there to prevent editors from complaining about space-tab.
  49. # (If _AS_PATH_WALK were called with IFS unset, it would disable word
  50. # splitting by setting IFS to empty value.)
  51. IFS=" "" $as_nl"
  52. # Find who we are. Look in the path if we contain no directory separator.
  53. as_myself=
  54. case $0 in #((
  55. *[\\/]* ) as_myself=$0 ;;
  56. *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  57. for as_dir in $PATH
  58. do
  59. IFS=$as_save_IFS
  60. test -z "$as_dir" && as_dir=.
  61. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  62. done
  63. IFS=$as_save_IFS
  64. ;;
  65. esac
  66. # We did not find ourselves, most probably we were run as `sh COMMAND'
  67. # in which case we are not to be found in the path.
  68. if test "x$as_myself" = x; then
  69. as_myself=$0
  70. fi
  71. if test ! -f "$as_myself"; then
  72. $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  73. exit 1
  74. fi
  75. # Unset variables that we do not need and which cause bugs (e.g. in
  76. # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
  77. # suppresses any "Segmentation fault" message there. '((' could
  78. # trigger a bug in pdksh 5.2.14.
  79. for as_var in BASH_ENV ENV MAIL MAILPATH
  80. do eval test x\${$as_var+set} = xset \
  81. && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  82. done
  83. PS1='$ '
  84. PS2='> '
  85. PS4='+ '
  86. # NLS nuisances.
  87. LC_ALL=C
  88. export LC_ALL
  89. LANGUAGE=C
  90. export LANGUAGE
  91. # CDPATH.
  92. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  93. # Use a proper internal environment variable to ensure we don't fall
  94. # into an infinite loop, continuously re-executing ourselves.
  95. if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
  96. _as_can_reexec=no; export _as_can_reexec;
  97. # We cannot yet assume a decent shell, so we have to provide a
  98. # neutralization value for shells without unset; and this also
  99. # works around shells that cannot unset nonexistent variables.
  100. # Preserve -v and -x to the replacement shell.
  101. BASH_ENV=/dev/null
  102. ENV=/dev/null
  103. (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  104. case $- in # ((((
  105. *v*x* | *x*v* ) as_opts=-vx ;;
  106. *v* ) as_opts=-v ;;
  107. *x* ) as_opts=-x ;;
  108. * ) as_opts= ;;
  109. esac
  110. exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
  111. # Admittedly, this is quite paranoid, since all the known shells bail
  112. # out after a failed `exec'.
  113. $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
  114. as_fn_exit 255
  115. fi
  116. # We don't want this to propagate to other subprocesses.
  117. { _as_can_reexec=; unset _as_can_reexec;}
  118. if test "x$CONFIG_SHELL" = x; then
  119. as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
  120. emulate sh
  121. NULLCMD=:
  122. # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
  123. # is contrary to our usage. Disable this feature.
  124. alias -g '\${1+\"\$@\"}'='\"\$@\"'
  125. setopt NO_GLOB_SUBST
  126. else
  127. case \`(set -o) 2>/dev/null\` in #(
  128. *posix*) :
  129. set -o posix ;; #(
  130. *) :
  131. ;;
  132. esac
  133. fi
  134. "
  135. as_required="as_fn_return () { (exit \$1); }
  136. as_fn_success () { as_fn_return 0; }
  137. as_fn_failure () { as_fn_return 1; }
  138. as_fn_ret_success () { return 0; }
  139. as_fn_ret_failure () { return 1; }
  140. exitcode=0
  141. as_fn_success || { exitcode=1; echo as_fn_success failed.; }
  142. as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
  143. as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
  144. as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
  145. if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
  146. else
  147. exitcode=1; echo positional parameters were not saved.
  148. fi
  149. test x\$exitcode = x0 || exit 1
  150. test -x / || exit 1"
  151. as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
  152. as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
  153. eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
  154. test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
  155. test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
  156. ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  157. ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
  158. ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
  159. PATH=/empty FPATH=/empty; export PATH FPATH
  160. test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
  161. || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
  162. test \$(( 1 + 1 )) = 2 || exit 1"
  163. if (eval "$as_required") 2>/dev/null; then :
  164. as_have_required=yes
  165. else
  166. as_have_required=no
  167. fi
  168. if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
  169. else
  170. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  171. as_found=false
  172. for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  173. do
  174. IFS=$as_save_IFS
  175. test -z "$as_dir" && as_dir=.
  176. as_found=:
  177. case $as_dir in #(
  178. /*)
  179. for as_base in bash sh ksh sh5; do
  180. # Try only shells that exist, to save several forks.
  181. as_shell=$as_dir/$as_base
  182. if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
  183. { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
  184. CONFIG_SHELL=$as_shell as_have_required=yes
  185. if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
  186. break 2
  187. fi
  188. fi
  189. done;;
  190. esac
  191. as_found=false
  192. done
  193. $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
  194. { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
  195. CONFIG_SHELL=$SHELL as_have_required=yes
  196. fi; }
  197. IFS=$as_save_IFS
  198. if test "x$CONFIG_SHELL" != x; then :
  199. export CONFIG_SHELL
  200. # We cannot yet assume a decent shell, so we have to provide a
  201. # neutralization value for shells without unset; and this also
  202. # works around shells that cannot unset nonexistent variables.
  203. # Preserve -v and -x to the replacement shell.
  204. BASH_ENV=/dev/null
  205. ENV=/dev/null
  206. (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  207. case $- in # ((((
  208. *v*x* | *x*v* ) as_opts=-vx ;;
  209. *v* ) as_opts=-v ;;
  210. *x* ) as_opts=-x ;;
  211. * ) as_opts= ;;
  212. esac
  213. exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
  214. # Admittedly, this is quite paranoid, since all the known shells bail
  215. # out after a failed `exec'.
  216. $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
  217. exit 255
  218. fi
  219. if test x$as_have_required = xno; then :
  220. $as_echo "$0: This script requires a shell more modern than all"
  221. $as_echo "$0: the shells that I found on your system."
  222. if test x${ZSH_VERSION+set} = xset ; then
  223. $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
  224. $as_echo "$0: be upgraded to zsh 4.3.4 or later."
  225. else
  226. $as_echo "$0: Please tell bug-autoconf@gnu.org and
  227. $0: bug-libtool@gnu.org about your system, including any
  228. $0: error possibly output before this message. Then install
  229. $0: a modern shell, or manually run the script under such a
  230. $0: shell if you do have one."
  231. fi
  232. exit 1
  233. fi
  234. fi
  235. fi
  236. SHELL=${CONFIG_SHELL-/bin/sh}
  237. export SHELL
  238. # Unset more variables known to interfere with behavior of common tools.
  239. CLICOLOR_FORCE= GREP_OPTIONS=
  240. unset CLICOLOR_FORCE GREP_OPTIONS
  241. ## --------------------- ##
  242. ## M4sh Shell Functions. ##
  243. ## --------------------- ##
  244. # as_fn_unset VAR
  245. # ---------------
  246. # Portably unset VAR.
  247. as_fn_unset ()
  248. {
  249. { eval $1=; unset $1;}
  250. }
  251. as_unset=as_fn_unset
  252. # as_fn_set_status STATUS
  253. # -----------------------
  254. # Set $? to STATUS, without forking.
  255. as_fn_set_status ()
  256. {
  257. return $1
  258. } # as_fn_set_status
  259. # as_fn_exit STATUS
  260. # -----------------
  261. # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  262. as_fn_exit ()
  263. {
  264. set +e
  265. as_fn_set_status $1
  266. exit $1
  267. } # as_fn_exit
  268. # as_fn_mkdir_p
  269. # -------------
  270. # Create "$as_dir" as a directory, including parents if necessary.
  271. as_fn_mkdir_p ()
  272. {
  273. case $as_dir in #(
  274. -*) as_dir=./$as_dir;;
  275. esac
  276. test -d "$as_dir" || eval $as_mkdir_p || {
  277. as_dirs=
  278. while :; do
  279. case $as_dir in #(
  280. *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  281. *) as_qdir=$as_dir;;
  282. esac
  283. as_dirs="'$as_qdir' $as_dirs"
  284. as_dir=`$as_dirname -- "$as_dir" ||
  285. $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  286. X"$as_dir" : 'X\(//\)[^/]' \| \
  287. X"$as_dir" : 'X\(//\)$' \| \
  288. X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  289. $as_echo X"$as_dir" |
  290. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  291. s//\1/
  292. q
  293. }
  294. /^X\(\/\/\)[^/].*/{
  295. s//\1/
  296. q
  297. }
  298. /^X\(\/\/\)$/{
  299. s//\1/
  300. q
  301. }
  302. /^X\(\/\).*/{
  303. s//\1/
  304. q
  305. }
  306. s/.*/./; q'`
  307. test -d "$as_dir" && break
  308. done
  309. test -z "$as_dirs" || eval "mkdir $as_dirs"
  310. } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
  311. } # as_fn_mkdir_p
  312. # as_fn_executable_p FILE
  313. # -----------------------
  314. # Test if FILE is an executable regular file.
  315. as_fn_executable_p ()
  316. {
  317. test -f "$1" && test -x "$1"
  318. } # as_fn_executable_p
  319. # as_fn_append VAR VALUE
  320. # ----------------------
  321. # Append the text in VALUE to the end of the definition contained in VAR. Take
  322. # advantage of any shell optimizations that allow amortized linear growth over
  323. # repeated appends, instead of the typical quadratic growth present in naive
  324. # implementations.
  325. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  326. eval 'as_fn_append ()
  327. {
  328. eval $1+=\$2
  329. }'
  330. else
  331. as_fn_append ()
  332. {
  333. eval $1=\$$1\$2
  334. }
  335. fi # as_fn_append
  336. # as_fn_arith ARG...
  337. # ------------------
  338. # Perform arithmetic evaluation on the ARGs, and store the result in the
  339. # global $as_val. Take advantage of shells that can avoid forks. The arguments
  340. # must be portable across $(()) and expr.
  341. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  342. eval 'as_fn_arith ()
  343. {
  344. as_val=$(( $* ))
  345. }'
  346. else
  347. as_fn_arith ()
  348. {
  349. as_val=`expr "$@" || test $? -eq 1`
  350. }
  351. fi # as_fn_arith
  352. # as_fn_error STATUS ERROR [LINENO LOG_FD]
  353. # ----------------------------------------
  354. # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  355. # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  356. # script with STATUS, using 1 if that was 0.
  357. as_fn_error ()
  358. {
  359. as_status=$1; test $as_status -eq 0 && as_status=1
  360. if test "$4"; then
  361. as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  362. $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
  363. fi
  364. $as_echo "$as_me: error: $2" >&2
  365. as_fn_exit $as_status
  366. } # as_fn_error
  367. if expr a : '\(a\)' >/dev/null 2>&1 &&
  368. test "X`expr 00001 : '.*\(...\)'`" = X001; then
  369. as_expr=expr
  370. else
  371. as_expr=false
  372. fi
  373. if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  374. as_basename=basename
  375. else
  376. as_basename=false
  377. fi
  378. if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  379. as_dirname=dirname
  380. else
  381. as_dirname=false
  382. fi
  383. as_me=`$as_basename -- "$0" ||
  384. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  385. X"$0" : 'X\(//\)$' \| \
  386. X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  387. $as_echo X/"$0" |
  388. sed '/^.*\/\([^/][^/]*\)\/*$/{
  389. s//\1/
  390. q
  391. }
  392. /^X\/\(\/\/\)$/{
  393. s//\1/
  394. q
  395. }
  396. /^X\/\(\/\).*/{
  397. s//\1/
  398. q
  399. }
  400. s/.*/./; q'`
  401. # Avoid depending upon Character Ranges.
  402. as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  403. as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  404. as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  405. as_cr_digits='0123456789'
  406. as_cr_alnum=$as_cr_Letters$as_cr_digits
  407. as_lineno_1=$LINENO as_lineno_1a=$LINENO
  408. as_lineno_2=$LINENO as_lineno_2a=$LINENO
  409. eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
  410. test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
  411. # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
  412. sed -n '
  413. p
  414. /[$]LINENO/=
  415. ' <$as_myself |
  416. sed '
  417. s/[$]LINENO.*/&-/
  418. t lineno
  419. b
  420. :lineno
  421. N
  422. :loop
  423. s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
  424. t loop
  425. s/-\n.*//
  426. ' >$as_me.lineno &&
  427. chmod +x "$as_me.lineno" ||
  428. { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
  429. # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
  430. # already done that, so ensure we don't try to do so again and fall
  431. # in an infinite loop. This has already happened in practice.
  432. _as_can_reexec=no; export _as_can_reexec
  433. # Don't try to exec as it changes $[0], causing all sort of problems
  434. # (the dirname of $[0] is not the place where we might find the
  435. # original and so on. Autoconf is especially sensitive to this).
  436. . "./$as_me.lineno"
  437. # Exit status is that of the last command.
  438. exit
  439. }
  440. ECHO_C= ECHO_N= ECHO_T=
  441. case `echo -n x` in #(((((
  442. -n*)
  443. case `echo 'xy\c'` in
  444. *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  445. xy) ECHO_C='\c';;
  446. *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
  447. ECHO_T=' ';;
  448. esac;;
  449. *)
  450. ECHO_N='-n';;
  451. esac
  452. rm -f conf$$ conf$$.exe conf$$.file
  453. if test -d conf$$.dir; then
  454. rm -f conf$$.dir/conf$$.file
  455. else
  456. rm -f conf$$.dir
  457. mkdir conf$$.dir 2>/dev/null
  458. fi
  459. if (echo >conf$$.file) 2>/dev/null; then
  460. if ln -s conf$$.file conf$$ 2>/dev/null; then
  461. as_ln_s='ln -s'
  462. # ... but there are two gotchas:
  463. # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  464. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  465. # In both cases, we have to default to `cp -pR'.
  466. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  467. as_ln_s='cp -pR'
  468. elif ln conf$$.file conf$$ 2>/dev/null; then
  469. as_ln_s=ln
  470. else
  471. as_ln_s='cp -pR'
  472. fi
  473. else
  474. as_ln_s='cp -pR'
  475. fi
  476. rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  477. rmdir conf$$.dir 2>/dev/null
  478. if mkdir -p . 2>/dev/null; then
  479. as_mkdir_p='mkdir -p "$as_dir"'
  480. else
  481. test -d ./-p && rmdir ./-p
  482. as_mkdir_p=false
  483. fi
  484. as_test_x='test -x'
  485. as_executable_p=as_fn_executable_p
  486. # Sed expression to map a string onto a valid CPP name.
  487. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  488. # Sed expression to map a string onto a valid variable name.
  489. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  490. SHELL=${CONFIG_SHELL-/bin/sh}
  491. test -n "$DJDIR" || exec 7<&0 </dev/null
  492. exec 6>&1
  493. # Name of the host.
  494. # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
  495. # so uname gets run too.
  496. ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
  497. #
  498. # Initializations.
  499. #
  500. ac_default_prefix=/usr/local
  501. ac_clean_files=
  502. ac_config_libobj_dir=.
  503. LIBOBJS=
  504. cross_compiling=no
  505. subdirs=
  506. MFLAGS=
  507. MAKEFLAGS=
  508. # Identity of this package.
  509. PACKAGE_NAME='libltdl'
  510. PACKAGE_TARNAME='libltdl'
  511. PACKAGE_VERSION='2.4.3a'
  512. PACKAGE_STRING='libltdl 2.4.3a'
  513. PACKAGE_BUGREPORT='bug-libtool@gnu.org'
  514. PACKAGE_URL=''
  515. ac_unique_file="ltdl.c"
  516. # Factoring default headers for most tests.
  517. ac_includes_default="\
  518. #include <stdio.h>
  519. #ifdef HAVE_SYS_TYPES_H
  520. # include <sys/types.h>
  521. #endif
  522. #ifdef HAVE_SYS_STAT_H
  523. # include <sys/stat.h>
  524. #endif
  525. #ifdef STDC_HEADERS
  526. # include <stdlib.h>
  527. # include <stddef.h>
  528. #else
  529. # ifdef HAVE_STDLIB_H
  530. # include <stdlib.h>
  531. # endif
  532. #endif
  533. #ifdef HAVE_STRING_H
  534. # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  535. # include <memory.h>
  536. # endif
  537. # include <string.h>
  538. #endif
  539. #ifdef HAVE_STRINGS_H
  540. # include <strings.h>
  541. #endif
  542. #ifdef HAVE_INTTYPES_H
  543. # include <inttypes.h>
  544. #endif
  545. #ifdef HAVE_STDINT_H
  546. # include <stdint.h>
  547. #endif
  548. #ifdef HAVE_UNISTD_H
  549. # include <unistd.h>
  550. #endif"
  551. ac_subst_vars='am__EXEEXT_FALSE
  552. am__EXEEXT_TRUE
  553. LTLIBOBJS
  554. LTDLOPEN
  555. LT_CONFIG_H
  556. CONVENIENCE_LTDL_FALSE
  557. CONVENIENCE_LTDL_TRUE
  558. INSTALL_LTDL_FALSE
  559. INSTALL_LTDL_TRUE
  560. LT_ARGZ_H
  561. LIBOBJS
  562. sys_symbol_underscore
  563. LIBADD_DL
  564. LT_DLPREOPEN
  565. LIBADD_DLD_LINK
  566. LIBADD_SHL_LOAD
  567. LIBADD_DLOPEN
  568. LT_DLLOADERS
  569. CPP
  570. LT_SYS_LIBRARY_PATH
  571. OTOOL64
  572. OTOOL
  573. LIPO
  574. NMEDIT
  575. DSYMUTIL
  576. MANIFEST_TOOL
  577. RANLIB
  578. ac_ct_AR
  579. AR
  580. LN_S
  581. NM
  582. ac_ct_DUMPBIN
  583. DUMPBIN
  584. LD
  585. FGREP
  586. EGREP
  587. GREP
  588. SED
  589. am__fastdepCC_FALSE
  590. am__fastdepCC_TRUE
  591. CCDEPMODE
  592. am__nodep
  593. AMDEPBACKSLASH
  594. AMDEP_FALSE
  595. AMDEP_TRUE
  596. am__quote
  597. am__include
  598. DEPDIR
  599. OBJEXT
  600. EXEEXT
  601. ac_ct_CC
  602. CPPFLAGS
  603. LDFLAGS
  604. CFLAGS
  605. CC
  606. host_os
  607. host_vendor
  608. host_cpu
  609. host
  610. build_os
  611. build_vendor
  612. build_cpu
  613. build
  614. LIBTOOL
  615. OBJDUMP
  616. DLLTOOL
  617. AS
  618. AM_BACKSLASH
  619. AM_DEFAULT_VERBOSITY
  620. AM_DEFAULT_V
  621. AM_V
  622. am__untar
  623. am__tar
  624. AMTAR
  625. am__leading_dot
  626. SET_MAKE
  627. AWK
  628. mkdir_p
  629. MKDIR_P
  630. INSTALL_STRIP_PROGRAM
  631. STRIP
  632. install_sh
  633. MAKEINFO
  634. AUTOHEADER
  635. AUTOMAKE
  636. AUTOCONF
  637. ACLOCAL
  638. VERSION
  639. PACKAGE
  640. CYGPATH_W
  641. am__isrc
  642. INSTALL_DATA
  643. INSTALL_SCRIPT
  644. INSTALL_PROGRAM
  645. target_alias
  646. host_alias
  647. build_alias
  648. LIBS
  649. ECHO_T
  650. ECHO_N
  651. ECHO_C
  652. DEFS
  653. mandir
  654. localedir
  655. libdir
  656. psdir
  657. pdfdir
  658. dvidir
  659. htmldir
  660. infodir
  661. docdir
  662. oldincludedir
  663. includedir
  664. localstatedir
  665. sharedstatedir
  666. sysconfdir
  667. datadir
  668. datarootdir
  669. libexecdir
  670. sbindir
  671. bindir
  672. program_transform_name
  673. prefix
  674. exec_prefix
  675. PACKAGE_URL
  676. PACKAGE_BUGREPORT
  677. PACKAGE_STRING
  678. PACKAGE_VERSION
  679. PACKAGE_TARNAME
  680. PACKAGE_NAME
  681. PATH_SEPARATOR
  682. SHELL'
  683. ac_subst_files=''
  684. ac_user_opts='
  685. enable_option_checking
  686. enable_silent_rules
  687. enable_shared
  688. enable_static
  689. with_pic
  690. enable_fast_install
  691. with_aix_soname
  692. enable_dependency_tracking
  693. with_gnu_ld
  694. with_libtool_sysroot
  695. enable_libtool_lock
  696. enable_ltdl_install
  697. '
  698. ac_precious_vars='build_alias
  699. host_alias
  700. target_alias
  701. CC
  702. CFLAGS
  703. LDFLAGS
  704. LIBS
  705. CPPFLAGS
  706. LT_SYS_LIBRARY_PATH
  707. CPP'
  708. # Initialize some variables set by options.
  709. ac_init_help=
  710. ac_init_version=false
  711. ac_unrecognized_opts=
  712. ac_unrecognized_sep=
  713. # The variables have the same names as the options, with
  714. # dashes changed to underlines.
  715. cache_file=/dev/null
  716. exec_prefix=NONE
  717. no_create=
  718. no_recursion=
  719. prefix=NONE
  720. program_prefix=NONE
  721. program_suffix=NONE
  722. program_transform_name=s,x,x,
  723. silent=
  724. site=
  725. srcdir=
  726. verbose=
  727. x_includes=NONE
  728. x_libraries=NONE
  729. # Installation directory options.
  730. # These are left unexpanded so users can "make install exec_prefix=/foo"
  731. # and all the variables that are supposed to be based on exec_prefix
  732. # by default will actually change.
  733. # Use braces instead of parens because sh, perl, etc. also accept them.
  734. # (The list follows the same order as the GNU Coding Standards.)
  735. bindir='${exec_prefix}/bin'
  736. sbindir='${exec_prefix}/sbin'
  737. libexecdir='${exec_prefix}/libexec'
  738. datarootdir='${prefix}/share'
  739. datadir='${datarootdir}'
  740. sysconfdir='${prefix}/etc'
  741. sharedstatedir='${prefix}/com'
  742. localstatedir='${prefix}/var'
  743. includedir='${prefix}/include'
  744. oldincludedir='/usr/include'
  745. docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
  746. infodir='${datarootdir}/info'
  747. htmldir='${docdir}'
  748. dvidir='${docdir}'
  749. pdfdir='${docdir}'
  750. psdir='${docdir}'
  751. libdir='${exec_prefix}/lib'
  752. localedir='${datarootdir}/locale'
  753. mandir='${datarootdir}/man'
  754. ac_prev=
  755. ac_dashdash=
  756. for ac_option
  757. do
  758. # If the previous option needs an argument, assign it.
  759. if test -n "$ac_prev"; then
  760. eval $ac_prev=\$ac_option
  761. ac_prev=
  762. continue
  763. fi
  764. case $ac_option in
  765. *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
  766. *=) ac_optarg= ;;
  767. *) ac_optarg=yes ;;
  768. esac
  769. # Accept the important Cygnus configure options, so we can diagnose typos.
  770. case $ac_dashdash$ac_option in
  771. --)
  772. ac_dashdash=yes ;;
  773. -bindir | --bindir | --bindi | --bind | --bin | --bi)
  774. ac_prev=bindir ;;
  775. -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  776. bindir=$ac_optarg ;;
  777. -build | --build | --buil | --bui | --bu)
  778. ac_prev=build_alias ;;
  779. -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  780. build_alias=$ac_optarg ;;
  781. -cache-file | --cache-file | --cache-fil | --cache-fi \
  782. | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  783. ac_prev=cache_file ;;
  784. -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  785. | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  786. cache_file=$ac_optarg ;;
  787. --config-cache | -C)
  788. cache_file=config.cache ;;
  789. -datadir | --datadir | --datadi | --datad)
  790. ac_prev=datadir ;;
  791. -datadir=* | --datadir=* | --datadi=* | --datad=*)
  792. datadir=$ac_optarg ;;
  793. -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
  794. | --dataroo | --dataro | --datar)
  795. ac_prev=datarootdir ;;
  796. -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
  797. | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
  798. datarootdir=$ac_optarg ;;
  799. -disable-* | --disable-*)
  800. ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  801. # Reject names that are not valid shell variable names.
  802. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  803. as_fn_error $? "invalid feature name: $ac_useropt"
  804. ac_useropt_orig=$ac_useropt
  805. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  806. case $ac_user_opts in
  807. *"
  808. "enable_$ac_useropt"
  809. "*) ;;
  810. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
  811. ac_unrecognized_sep=', ';;
  812. esac
  813. eval enable_$ac_useropt=no ;;
  814. -docdir | --docdir | --docdi | --doc | --do)
  815. ac_prev=docdir ;;
  816. -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
  817. docdir=$ac_optarg ;;
  818. -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
  819. ac_prev=dvidir ;;
  820. -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
  821. dvidir=$ac_optarg ;;
  822. -enable-* | --enable-*)
  823. ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  824. # Reject names that are not valid shell variable names.
  825. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  826. as_fn_error $? "invalid feature name: $ac_useropt"
  827. ac_useropt_orig=$ac_useropt
  828. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  829. case $ac_user_opts in
  830. *"
  831. "enable_$ac_useropt"
  832. "*) ;;
  833. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
  834. ac_unrecognized_sep=', ';;
  835. esac
  836. eval enable_$ac_useropt=\$ac_optarg ;;
  837. -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  838. | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  839. | --exec | --exe | --ex)
  840. ac_prev=exec_prefix ;;
  841. -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  842. | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  843. | --exec=* | --exe=* | --ex=*)
  844. exec_prefix=$ac_optarg ;;
  845. -gas | --gas | --ga | --g)
  846. # Obsolete; use --with-gas.
  847. with_gas=yes ;;
  848. -help | --help | --hel | --he | -h)
  849. ac_init_help=long ;;
  850. -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  851. ac_init_help=recursive ;;
  852. -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  853. ac_init_help=short ;;
  854. -host | --host | --hos | --ho)
  855. ac_prev=host_alias ;;
  856. -host=* | --host=* | --hos=* | --ho=*)
  857. host_alias=$ac_optarg ;;
  858. -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
  859. ac_prev=htmldir ;;
  860. -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
  861. | --ht=*)
  862. htmldir=$ac_optarg ;;
  863. -includedir | --includedir | --includedi | --included | --include \
  864. | --includ | --inclu | --incl | --inc)
  865. ac_prev=includedir ;;
  866. -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  867. | --includ=* | --inclu=* | --incl=* | --inc=*)
  868. includedir=$ac_optarg ;;
  869. -infodir | --infodir | --infodi | --infod | --info | --inf)
  870. ac_prev=infodir ;;
  871. -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  872. infodir=$ac_optarg ;;
  873. -libdir | --libdir | --libdi | --libd)
  874. ac_prev=libdir ;;
  875. -libdir=* | --libdir=* | --libdi=* | --libd=*)
  876. libdir=$ac_optarg ;;
  877. -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  878. | --libexe | --libex | --libe)
  879. ac_prev=libexecdir ;;
  880. -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  881. | --libexe=* | --libex=* | --libe=*)
  882. libexecdir=$ac_optarg ;;
  883. -localedir | --localedir | --localedi | --localed | --locale)
  884. ac_prev=localedir ;;
  885. -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
  886. localedir=$ac_optarg ;;
  887. -localstatedir | --localstatedir | --localstatedi | --localstated \
  888. | --localstate | --localstat | --localsta | --localst | --locals)
  889. ac_prev=localstatedir ;;
  890. -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  891. | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
  892. localstatedir=$ac_optarg ;;
  893. -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  894. ac_prev=mandir ;;
  895. -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  896. mandir=$ac_optarg ;;
  897. -nfp | --nfp | --nf)
  898. # Obsolete; use --without-fp.
  899. with_fp=no ;;
  900. -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  901. | --no-cr | --no-c | -n)
  902. no_create=yes ;;
  903. -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  904. | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  905. no_recursion=yes ;;
  906. -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  907. | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  908. | --oldin | --oldi | --old | --ol | --o)
  909. ac_prev=oldincludedir ;;
  910. -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  911. | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  912. | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  913. oldincludedir=$ac_optarg ;;
  914. -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  915. ac_prev=prefix ;;
  916. -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  917. prefix=$ac_optarg ;;
  918. -program-prefix | --program-prefix | --program-prefi | --program-pref \
  919. | --program-pre | --program-pr | --program-p)
  920. ac_prev=program_prefix ;;
  921. -program-prefix=* | --program-prefix=* | --program-prefi=* \
  922. | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  923. program_prefix=$ac_optarg ;;
  924. -program-suffix | --program-suffix | --program-suffi | --program-suff \
  925. | --program-suf | --program-su | --program-s)
  926. ac_prev=program_suffix ;;
  927. -program-suffix=* | --program-suffix=* | --program-suffi=* \
  928. | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  929. program_suffix=$ac_optarg ;;
  930. -program-transform-name | --program-transform-name \
  931. | --program-transform-nam | --program-transform-na \
  932. | --program-transform-n | --program-transform- \
  933. | --program-transform | --program-transfor \
  934. | --program-transfo | --program-transf \
  935. | --program-trans | --program-tran \
  936. | --progr-tra | --program-tr | --program-t)
  937. ac_prev=program_transform_name ;;
  938. -program-transform-name=* | --program-transform-name=* \
  939. | --program-transform-nam=* | --program-transform-na=* \
  940. | --program-transform-n=* | --program-transform-=* \
  941. | --program-transform=* | --program-transfor=* \
  942. | --program-transfo=* | --program-transf=* \
  943. | --program-trans=* | --program-tran=* \
  944. | --progr-tra=* | --program-tr=* | --program-t=*)
  945. program_transform_name=$ac_optarg ;;
  946. -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
  947. ac_prev=pdfdir ;;
  948. -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
  949. pdfdir=$ac_optarg ;;
  950. -psdir | --psdir | --psdi | --psd | --ps)
  951. ac_prev=psdir ;;
  952. -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
  953. psdir=$ac_optarg ;;
  954. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  955. | -silent | --silent | --silen | --sile | --sil)
  956. silent=yes ;;
  957. -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  958. ac_prev=sbindir ;;
  959. -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  960. | --sbi=* | --sb=*)
  961. sbindir=$ac_optarg ;;
  962. -sharedstatedir | --sharedstatedir | --sharedstatedi \
  963. | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  964. | --sharedst | --shareds | --shared | --share | --shar \
  965. | --sha | --sh)
  966. ac_prev=sharedstatedir ;;
  967. -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  968. | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  969. | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  970. | --sha=* | --sh=*)
  971. sharedstatedir=$ac_optarg ;;
  972. -site | --site | --sit)
  973. ac_prev=site ;;
  974. -site=* | --site=* | --sit=*)
  975. site=$ac_optarg ;;
  976. -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  977. ac_prev=srcdir ;;
  978. -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  979. srcdir=$ac_optarg ;;
  980. -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  981. | --syscon | --sysco | --sysc | --sys | --sy)
  982. ac_prev=sysconfdir ;;
  983. -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  984. | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  985. sysconfdir=$ac_optarg ;;
  986. -target | --target | --targe | --targ | --tar | --ta | --t)
  987. ac_prev=target_alias ;;
  988. -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  989. target_alias=$ac_optarg ;;
  990. -v | -verbose | --verbose | --verbos | --verbo | --verb)
  991. verbose=yes ;;
  992. -version | --version | --versio | --versi | --vers | -V)
  993. ac_init_version=: ;;
  994. -with-* | --with-*)
  995. ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  996. # Reject names that are not valid shell variable names.
  997. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  998. as_fn_error $? "invalid package name: $ac_useropt"
  999. ac_useropt_orig=$ac_useropt
  1000. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1001. case $ac_user_opts in
  1002. *"
  1003. "with_$ac_useropt"
  1004. "*) ;;
  1005. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
  1006. ac_unrecognized_sep=', ';;
  1007. esac
  1008. eval with_$ac_useropt=\$ac_optarg ;;
  1009. -without-* | --without-*)
  1010. ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  1011. # Reject names that are not valid shell variable names.
  1012. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1013. as_fn_error $? "invalid package name: $ac_useropt"
  1014. ac_useropt_orig=$ac_useropt
  1015. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1016. case $ac_user_opts in
  1017. *"
  1018. "with_$ac_useropt"
  1019. "*) ;;
  1020. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
  1021. ac_unrecognized_sep=', ';;
  1022. esac
  1023. eval with_$ac_useropt=no ;;
  1024. --x)
  1025. # Obsolete; use --with-x.
  1026. with_x=yes ;;
  1027. -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  1028. | --x-incl | --x-inc | --x-in | --x-i)
  1029. ac_prev=x_includes ;;
  1030. -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  1031. | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  1032. x_includes=$ac_optarg ;;
  1033. -x-libraries | --x-libraries | --x-librarie | --x-librari \
  1034. | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  1035. ac_prev=x_libraries ;;
  1036. -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  1037. | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  1038. x_libraries=$ac_optarg ;;
  1039. -*) as_fn_error $? "unrecognized option: \`$ac_option'
  1040. Try \`$0 --help' for more information"
  1041. ;;
  1042. *=*)
  1043. ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  1044. # Reject names that are not valid shell variable names.
  1045. case $ac_envvar in #(
  1046. '' | [0-9]* | *[!_$as_cr_alnum]* )
  1047. as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
  1048. esac
  1049. eval $ac_envvar=\$ac_optarg
  1050. export $ac_envvar ;;
  1051. *)
  1052. # FIXME: should be removed in autoconf 3.0.
  1053. $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  1054. expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  1055. $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  1056. : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
  1057. ;;
  1058. esac
  1059. done
  1060. if test -n "$ac_prev"; then
  1061. ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  1062. as_fn_error $? "missing argument to $ac_option"
  1063. fi
  1064. if test -n "$ac_unrecognized_opts"; then
  1065. case $enable_option_checking in
  1066. no) ;;
  1067. fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
  1068. *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
  1069. esac
  1070. fi
  1071. # Check all directory arguments for consistency.
  1072. for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
  1073. datadir sysconfdir sharedstatedir localstatedir includedir \
  1074. oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
  1075. libdir localedir mandir
  1076. do
  1077. eval ac_val=\$$ac_var
  1078. # Remove trailing slashes.
  1079. case $ac_val in
  1080. */ )
  1081. ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
  1082. eval $ac_var=\$ac_val;;
  1083. esac
  1084. # Be sure to have absolute directory names.
  1085. case $ac_val in
  1086. [\\/$]* | ?:[\\/]* ) continue;;
  1087. NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
  1088. esac
  1089. as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
  1090. done
  1091. # There might be people who depend on the old broken behavior: `$host'
  1092. # used to hold the argument of --host etc.
  1093. # FIXME: To remove some day.
  1094. build=$build_alias
  1095. host=$host_alias
  1096. target=$target_alias
  1097. # FIXME: To remove some day.
  1098. if test "x$host_alias" != x; then
  1099. if test "x$build_alias" = x; then
  1100. cross_compiling=maybe
  1101. elif test "x$build_alias" != "x$host_alias"; then
  1102. cross_compiling=yes
  1103. fi
  1104. fi
  1105. ac_tool_prefix=
  1106. test -n "$host_alias" && ac_tool_prefix=$host_alias-
  1107. test "$silent" = yes && exec 6>/dev/null
  1108. ac_pwd=`pwd` && test -n "$ac_pwd" &&
  1109. ac_ls_di=`ls -di .` &&
  1110. ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
  1111. as_fn_error $? "working directory cannot be determined"
  1112. test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
  1113. as_fn_error $? "pwd does not report name of working directory"
  1114. # Find the source files, if location was not specified.
  1115. if test -z "$srcdir"; then
  1116. ac_srcdir_defaulted=yes
  1117. # Try the directory containing this script, then the parent directory.
  1118. ac_confdir=`$as_dirname -- "$as_myself" ||
  1119. $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1120. X"$as_myself" : 'X\(//\)[^/]' \| \
  1121. X"$as_myself" : 'X\(//\)$' \| \
  1122. X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
  1123. $as_echo X"$as_myself" |
  1124. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  1125. s//\1/
  1126. q
  1127. }
  1128. /^X\(\/\/\)[^/].*/{
  1129. s//\1/
  1130. q
  1131. }
  1132. /^X\(\/\/\)$/{
  1133. s//\1/
  1134. q
  1135. }
  1136. /^X\(\/\).*/{
  1137. s//\1/
  1138. q
  1139. }
  1140. s/.*/./; q'`
  1141. srcdir=$ac_confdir
  1142. if test ! -r "$srcdir/$ac_unique_file"; then
  1143. srcdir=..
  1144. fi
  1145. else
  1146. ac_srcdir_defaulted=no
  1147. fi
  1148. if test ! -r "$srcdir/$ac_unique_file"; then
  1149. test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
  1150. as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
  1151. fi
  1152. ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
  1153. ac_abs_confdir=`(
  1154. cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
  1155. pwd)`
  1156. # When building in place, set srcdir=.
  1157. if test "$ac_abs_confdir" = "$ac_pwd"; then
  1158. srcdir=.
  1159. fi
  1160. # Remove unnecessary trailing slashes from srcdir.
  1161. # Double slashes in file names in object file debugging info
  1162. # mess up M-x gdb in Emacs.
  1163. case $srcdir in
  1164. */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
  1165. esac
  1166. for ac_var in $ac_precious_vars; do
  1167. eval ac_env_${ac_var}_set=\${${ac_var}+set}
  1168. eval ac_env_${ac_var}_value=\$${ac_var}
  1169. eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
  1170. eval ac_cv_env_${ac_var}_value=\$${ac_var}
  1171. done
  1172. #
  1173. # Report the --help message.
  1174. #
  1175. if test "$ac_init_help" = "long"; then
  1176. # Omit some internal or obsolete options to make the list less imposing.
  1177. # This message is too long to be a string in the A/UX 3.1 sh.
  1178. cat <<_ACEOF
  1179. \`configure' configures libltdl 2.4.3a to adapt to many kinds of systems.
  1180. Usage: $0 [OPTION]... [VAR=VALUE]...
  1181. To assign environment variables (e.g., CC, CFLAGS...), specify them as
  1182. VAR=VALUE. See below for descriptions of some of the useful variables.
  1183. Defaults for the options are specified in brackets.
  1184. Configuration:
  1185. -h, --help display this help and exit
  1186. --help=short display options specific to this package
  1187. --help=recursive display the short help of all the included packages
  1188. -V, --version display version information and exit
  1189. -q, --quiet, --silent do not print \`checking ...' messages
  1190. --cache-file=FILE cache test results in FILE [disabled]
  1191. -C, --config-cache alias for \`--cache-file=config.cache'
  1192. -n, --no-create do not create output files
  1193. --srcdir=DIR find the sources in DIR [configure dir or \`..']
  1194. Installation directories:
  1195. --prefix=PREFIX install architecture-independent files in PREFIX
  1196. [$ac_default_prefix]
  1197. --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
  1198. [PREFIX]
  1199. By default, \`make install' will install all the files in
  1200. \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
  1201. an installation prefix other than \`$ac_default_prefix' using \`--prefix',
  1202. for instance \`--prefix=\$HOME'.
  1203. For better control, use the options below.
  1204. Fine tuning of the installation directories:
  1205. --bindir=DIR user executables [EPREFIX/bin]
  1206. --sbindir=DIR system admin executables [EPREFIX/sbin]
  1207. --libexecdir=DIR program executables [EPREFIX/libexec]
  1208. --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
  1209. --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
  1210. --localstatedir=DIR modifiable single-machine data [PREFIX/var]
  1211. --libdir=DIR object code libraries [EPREFIX/lib]
  1212. --includedir=DIR C header files [PREFIX/include]
  1213. --oldincludedir=DIR C header files for non-gcc [/usr/include]
  1214. --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
  1215. --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
  1216. --infodir=DIR info documentation [DATAROOTDIR/info]
  1217. --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
  1218. --mandir=DIR man documentation [DATAROOTDIR/man]
  1219. --docdir=DIR documentation root [DATAROOTDIR/doc/libltdl]
  1220. --htmldir=DIR html documentation [DOCDIR]
  1221. --dvidir=DIR dvi documentation [DOCDIR]
  1222. --pdfdir=DIR pdf documentation [DOCDIR]
  1223. --psdir=DIR ps documentation [DOCDIR]
  1224. _ACEOF
  1225. cat <<\_ACEOF
  1226. Program names:
  1227. --program-prefix=PREFIX prepend PREFIX to installed program names
  1228. --program-suffix=SUFFIX append SUFFIX to installed program names
  1229. --program-transform-name=PROGRAM run sed PROGRAM on installed program names
  1230. System types:
  1231. --build=BUILD configure for building on BUILD [guessed]
  1232. --host=HOST cross-compile to build programs to run on HOST [BUILD]
  1233. _ACEOF
  1234. fi
  1235. if test -n "$ac_init_help"; then
  1236. case $ac_init_help in
  1237. short | recursive ) echo "Configuration of libltdl 2.4.3a:";;
  1238. esac
  1239. cat <<\_ACEOF
  1240. Optional Features:
  1241. --disable-option-checking ignore unrecognized --enable/--with options
  1242. --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
  1243. --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
  1244. --enable-silent-rules less verbose build output (undo: "make V=1")
  1245. --disable-silent-rules verbose build output (undo: "make V=0")
  1246. --enable-shared[=PKGS] build shared libraries [default=yes]
  1247. --enable-static[=PKGS] build static libraries [default=yes]
  1248. --enable-fast-install[=PKGS]
  1249. optimize for fast installation [default=yes]
  1250. --enable-dependency-tracking
  1251. do not reject slow dependency extractors
  1252. --disable-dependency-tracking
  1253. speeds up one-time build
  1254. --disable-libtool-lock avoid locking (might break parallel builds)
  1255. --enable-ltdl-install install libltdl
  1256. Optional Packages:
  1257. --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
  1258. --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
  1259. --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
  1260. both]
  1261. --with-aix-soname=aix|svr4|both
  1262. shared library versioning (aka "SONAME") variant to
  1263. provide on AIX, [default=aix].
  1264. --with-gnu-ld assume the C compiler uses GNU ld [default=no]
  1265. --with-libtool-sysroot[=DIR]
  1266. Search for dependent libraries within DIR (or the
  1267. compiler's sysroot if not specified).
  1268. Some influential environment variables:
  1269. CC C compiler command
  1270. CFLAGS C compiler flags
  1271. LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
  1272. nonstandard directory <lib dir>
  1273. LIBS libraries to pass to the linker, e.g. -l<library>
  1274. CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
  1275. you have headers in a nonstandard directory <include dir>
  1276. LT_SYS_LIBRARY_PATH
  1277. User-defined run-time library search path.
  1278. CPP C preprocessor
  1279. Use these variables to override the choices made by `configure' or to help
  1280. it to find libraries and programs with nonstandard names/locations.
  1281. Report bugs to <bug-libtool@gnu.org>.
  1282. _ACEOF
  1283. ac_status=$?
  1284. fi
  1285. if test "$ac_init_help" = "recursive"; then
  1286. # If there are subdirs, report their specific --help.
  1287. for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  1288. test -d "$ac_dir" ||
  1289. { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
  1290. continue
  1291. ac_builddir=.
  1292. case "$ac_dir" in
  1293. .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1294. *)
  1295. ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  1296. # A ".." for each directory in $ac_dir_suffix.
  1297. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  1298. case $ac_top_builddir_sub in
  1299. "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1300. *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  1301. esac ;;
  1302. esac
  1303. ac_abs_top_builddir=$ac_pwd
  1304. ac_abs_builddir=$ac_pwd$ac_dir_suffix
  1305. # for backward compatibility:
  1306. ac_top_builddir=$ac_top_build_prefix
  1307. case $srcdir in
  1308. .) # We are building in place.
  1309. ac_srcdir=.
  1310. ac_top_srcdir=$ac_top_builddir_sub
  1311. ac_abs_top_srcdir=$ac_pwd ;;
  1312. [\\/]* | ?:[\\/]* ) # Absolute name.
  1313. ac_srcdir=$srcdir$ac_dir_suffix;
  1314. ac_top_srcdir=$srcdir
  1315. ac_abs_top_srcdir=$srcdir ;;
  1316. *) # Relative name.
  1317. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  1318. ac_top_srcdir=$ac_top_build_prefix$srcdir
  1319. ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  1320. esac
  1321. ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  1322. cd "$ac_dir" || { ac_status=$?; continue; }
  1323. # Check for guested configure.
  1324. if test -f "$ac_srcdir/configure.gnu"; then
  1325. echo &&
  1326. $SHELL "$ac_srcdir/configure.gnu" --help=recursive
  1327. elif test -f "$ac_srcdir/configure"; then
  1328. echo &&
  1329. $SHELL "$ac_srcdir/configure" --help=recursive
  1330. else
  1331. $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  1332. fi || ac_status=$?
  1333. cd "$ac_pwd" || { ac_status=$?; break; }
  1334. done
  1335. fi
  1336. test -n "$ac_init_help" && exit $ac_status
  1337. if $ac_init_version; then
  1338. cat <<\_ACEOF
  1339. libltdl configure 2.4.3a
  1340. generated by GNU Autoconf 2.69
  1341. Copyright (C) 2012 Free Software Foundation, Inc.
  1342. This configure script is free software; the Free Software Foundation
  1343. gives unlimited permission to copy, distribute and modify it.
  1344. _ACEOF
  1345. exit
  1346. fi
  1347. ## ------------------------ ##
  1348. ## Autoconf initialization. ##
  1349. ## ------------------------ ##
  1350. # ac_fn_c_try_compile LINENO
  1351. # --------------------------
  1352. # Try to compile conftest.$ac_ext, and return whether this succeeded.
  1353. ac_fn_c_try_compile ()
  1354. {
  1355. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1356. rm -f conftest.$ac_objext
  1357. if { { ac_try="$ac_compile"
  1358. case "(($ac_try" in
  1359. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1360. *) ac_try_echo=$ac_try;;
  1361. esac
  1362. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1363. $as_echo "$ac_try_echo"; } >&5
  1364. (eval "$ac_compile") 2>conftest.err
  1365. ac_status=$?
  1366. if test -s conftest.err; then
  1367. grep -v '^ *+' conftest.err >conftest.er1
  1368. cat conftest.er1 >&5
  1369. mv -f conftest.er1 conftest.err
  1370. fi
  1371. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1372. test $ac_status = 0; } && {
  1373. test -z "$ac_c_werror_flag" ||
  1374. test ! -s conftest.err
  1375. } && test -s conftest.$ac_objext; then :
  1376. ac_retval=0
  1377. else
  1378. $as_echo "$as_me: failed program was:" >&5
  1379. sed 's/^/| /' conftest.$ac_ext >&5
  1380. ac_retval=1
  1381. fi
  1382. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1383. as_fn_set_status $ac_retval
  1384. } # ac_fn_c_try_compile
  1385. # ac_fn_c_try_link LINENO
  1386. # -----------------------
  1387. # Try to link conftest.$ac_ext, and return whether this succeeded.
  1388. ac_fn_c_try_link ()
  1389. {
  1390. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1391. rm -f conftest.$ac_objext conftest$ac_exeext
  1392. if { { ac_try="$ac_link"
  1393. case "(($ac_try" in
  1394. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1395. *) ac_try_echo=$ac_try;;
  1396. esac
  1397. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1398. $as_echo "$ac_try_echo"; } >&5
  1399. (eval "$ac_link") 2>conftest.err
  1400. ac_status=$?
  1401. if test -s conftest.err; then
  1402. grep -v '^ *+' conftest.err >conftest.er1
  1403. cat conftest.er1 >&5
  1404. mv -f conftest.er1 conftest.err
  1405. fi
  1406. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1407. test $ac_status = 0; } && {
  1408. test -z "$ac_c_werror_flag" ||
  1409. test ! -s conftest.err
  1410. } && test -s conftest$ac_exeext && {
  1411. test "$cross_compiling" = yes ||
  1412. test -x conftest$ac_exeext
  1413. }; then :
  1414. ac_retval=0
  1415. else
  1416. $as_echo "$as_me: failed program was:" >&5
  1417. sed 's/^/| /' conftest.$ac_ext >&5
  1418. ac_retval=1
  1419. fi
  1420. # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
  1421. # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
  1422. # interfere with the next link command; also delete a directory that is
  1423. # left behind by Apple's compiler. We do this before executing the actions.
  1424. rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  1425. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1426. as_fn_set_status $ac_retval
  1427. } # ac_fn_c_try_link
  1428. # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
  1429. # -------------------------------------------------------
  1430. # Tests whether HEADER exists and can be compiled using the include files in
  1431. # INCLUDES, setting the cache variable VAR accordingly.
  1432. ac_fn_c_check_header_compile ()
  1433. {
  1434. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1435. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1436. $as_echo_n "checking for $2... " >&6; }
  1437. if eval \${$3+:} false; then :
  1438. $as_echo_n "(cached) " >&6
  1439. else
  1440. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1441. /* end confdefs.h. */
  1442. $4
  1443. #include <$2>
  1444. _ACEOF
  1445. if ac_fn_c_try_compile "$LINENO"; then :
  1446. eval "$3=yes"
  1447. else
  1448. eval "$3=no"
  1449. fi
  1450. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1451. fi
  1452. eval ac_res=\$$3
  1453. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1454. $as_echo "$ac_res" >&6; }
  1455. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1456. } # ac_fn_c_check_header_compile
  1457. # ac_fn_c_try_cpp LINENO
  1458. # ----------------------
  1459. # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
  1460. ac_fn_c_try_cpp ()
  1461. {
  1462. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1463. if { { ac_try="$ac_cpp conftest.$ac_ext"
  1464. case "(($ac_try" in
  1465. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1466. *) ac_try_echo=$ac_try;;
  1467. esac
  1468. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1469. $as_echo "$ac_try_echo"; } >&5
  1470. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
  1471. ac_status=$?
  1472. if test -s conftest.err; then
  1473. grep -v '^ *+' conftest.err >conftest.er1
  1474. cat conftest.er1 >&5
  1475. mv -f conftest.er1 conftest.err
  1476. fi
  1477. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1478. test $ac_status = 0; } > conftest.i && {
  1479. test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  1480. test ! -s conftest.err
  1481. }; then :
  1482. ac_retval=0
  1483. else
  1484. $as_echo "$as_me: failed program was:" >&5
  1485. sed 's/^/| /' conftest.$ac_ext >&5
  1486. ac_retval=1
  1487. fi
  1488. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1489. as_fn_set_status $ac_retval
  1490. } # ac_fn_c_try_cpp
  1491. # ac_fn_c_try_run LINENO
  1492. # ----------------------
  1493. # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
  1494. # that executables *can* be run.
  1495. ac_fn_c_try_run ()
  1496. {
  1497. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1498. if { { ac_try="$ac_link"
  1499. case "(($ac_try" in
  1500. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1501. *) ac_try_echo=$ac_try;;
  1502. esac
  1503. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1504. $as_echo "$ac_try_echo"; } >&5
  1505. (eval "$ac_link") 2>&5
  1506. ac_status=$?
  1507. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1508. test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
  1509. { { case "(($ac_try" in
  1510. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1511. *) ac_try_echo=$ac_try;;
  1512. esac
  1513. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1514. $as_echo "$ac_try_echo"; } >&5
  1515. (eval "$ac_try") 2>&5
  1516. ac_status=$?
  1517. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1518. test $ac_status = 0; }; }; then :
  1519. ac_retval=0
  1520. else
  1521. $as_echo "$as_me: program exited with status $ac_status" >&5
  1522. $as_echo "$as_me: failed program was:" >&5
  1523. sed 's/^/| /' conftest.$ac_ext >&5
  1524. ac_retval=$ac_status
  1525. fi
  1526. rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  1527. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1528. as_fn_set_status $ac_retval
  1529. } # ac_fn_c_try_run
  1530. # ac_fn_c_check_func LINENO FUNC VAR
  1531. # ----------------------------------
  1532. # Tests whether FUNC exists, setting the cache variable VAR accordingly
  1533. ac_fn_c_check_func ()
  1534. {
  1535. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1536. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1537. $as_echo_n "checking for $2... " >&6; }
  1538. if eval \${$3+:} false; then :
  1539. $as_echo_n "(cached) " >&6
  1540. else
  1541. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1542. /* end confdefs.h. */
  1543. /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
  1544. For example, HP-UX 11i <limits.h> declares gettimeofday. */
  1545. #define $2 innocuous_$2
  1546. /* System header to define __stub macros and hopefully few prototypes,
  1547. which can conflict with char $2 (); below.
  1548. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  1549. <limits.h> exists even on freestanding compilers. */
  1550. #ifdef __STDC__
  1551. # include <limits.h>
  1552. #else
  1553. # include <assert.h>
  1554. #endif
  1555. #undef $2
  1556. /* Override any GCC internal prototype to avoid an error.
  1557. Use char because int might match the return type of a GCC
  1558. builtin and then its argument prototype would still apply. */
  1559. #ifdef __cplusplus
  1560. extern "C"
  1561. #endif
  1562. char $2 ();
  1563. /* The GNU C library defines this for functions which it implements
  1564. to always fail with ENOSYS. Some functions are actually named
  1565. something starting with __ and the normal name is an alias. */
  1566. #if defined __stub_$2 || defined __stub___$2
  1567. choke me
  1568. #endif
  1569. int
  1570. main ()
  1571. {
  1572. return $2 ();
  1573. ;
  1574. return 0;
  1575. }
  1576. _ACEOF
  1577. if ac_fn_c_try_link "$LINENO"; then :
  1578. eval "$3=yes"
  1579. else
  1580. eval "$3=no"
  1581. fi
  1582. rm -f core conftest.err conftest.$ac_objext \
  1583. conftest$ac_exeext conftest.$ac_ext
  1584. fi
  1585. eval ac_res=\$$3
  1586. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1587. $as_echo "$ac_res" >&6; }
  1588. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1589. } # ac_fn_c_check_func
  1590. # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
  1591. # ---------------------------------------------
  1592. # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
  1593. # accordingly.
  1594. ac_fn_c_check_decl ()
  1595. {
  1596. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1597. as_decl_name=`echo $2|sed 's/ *(.*//'`
  1598. as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
  1599. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
  1600. $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
  1601. if eval \${$3+:} false; then :
  1602. $as_echo_n "(cached) " >&6
  1603. else
  1604. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1605. /* end confdefs.h. */
  1606. $4
  1607. int
  1608. main ()
  1609. {
  1610. #ifndef $as_decl_name
  1611. #ifdef __cplusplus
  1612. (void) $as_decl_use;
  1613. #else
  1614. (void) $as_decl_name;
  1615. #endif
  1616. #endif
  1617. ;
  1618. return 0;
  1619. }
  1620. _ACEOF
  1621. if ac_fn_c_try_compile "$LINENO"; then :
  1622. eval "$3=yes"
  1623. else
  1624. eval "$3=no"
  1625. fi
  1626. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1627. fi
  1628. eval ac_res=\$$3
  1629. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1630. $as_echo "$ac_res" >&6; }
  1631. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1632. } # ac_fn_c_check_decl
  1633. # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
  1634. # -------------------------------------------
  1635. # Tests whether TYPE exists after having included INCLUDES, setting cache
  1636. # variable VAR accordingly.
  1637. ac_fn_c_check_type ()
  1638. {
  1639. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1640. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1641. $as_echo_n "checking for $2... " >&6; }
  1642. if eval \${$3+:} false; then :
  1643. $as_echo_n "(cached) " >&6
  1644. else
  1645. eval "$3=no"
  1646. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1647. /* end confdefs.h. */
  1648. $4
  1649. int
  1650. main ()
  1651. {
  1652. if (sizeof ($2))
  1653. return 0;
  1654. ;
  1655. return 0;
  1656. }
  1657. _ACEOF
  1658. if ac_fn_c_try_compile "$LINENO"; then :
  1659. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1660. /* end confdefs.h. */
  1661. $4
  1662. int
  1663. main ()
  1664. {
  1665. if (sizeof (($2)))
  1666. return 0;
  1667. ;
  1668. return 0;
  1669. }
  1670. _ACEOF
  1671. if ac_fn_c_try_compile "$LINENO"; then :
  1672. else
  1673. eval "$3=yes"
  1674. fi
  1675. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1676. fi
  1677. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1678. fi
  1679. eval ac_res=\$$3
  1680. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1681. $as_echo "$ac_res" >&6; }
  1682. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1683. } # ac_fn_c_check_type
  1684. cat >config.log <<_ACEOF
  1685. This file contains any messages produced by compilers while
  1686. running configure, to aid debugging if configure makes a mistake.
  1687. It was created by libltdl $as_me 2.4.3a, which was
  1688. generated by GNU Autoconf 2.69. Invocation command line was
  1689. $ $0 $@
  1690. _ACEOF
  1691. exec 5>>config.log
  1692. {
  1693. cat <<_ASUNAME
  1694. ## --------- ##
  1695. ## Platform. ##
  1696. ## --------- ##
  1697. hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  1698. uname -m = `(uname -m) 2>/dev/null || echo unknown`
  1699. uname -r = `(uname -r) 2>/dev/null || echo unknown`
  1700. uname -s = `(uname -s) 2>/dev/null || echo unknown`
  1701. uname -v = `(uname -v) 2>/dev/null || echo unknown`
  1702. /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  1703. /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
  1704. /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
  1705. /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
  1706. /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  1707. /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
  1708. /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
  1709. /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
  1710. /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
  1711. _ASUNAME
  1712. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1713. for as_dir in $PATH
  1714. do
  1715. IFS=$as_save_IFS
  1716. test -z "$as_dir" && as_dir=.
  1717. $as_echo "PATH: $as_dir"
  1718. done
  1719. IFS=$as_save_IFS
  1720. } >&5
  1721. cat >&5 <<_ACEOF
  1722. ## ----------- ##
  1723. ## Core tests. ##
  1724. ## ----------- ##
  1725. _ACEOF
  1726. # Keep a trace of the command line.
  1727. # Strip out --no-create and --no-recursion so they do not pile up.
  1728. # Strip out --silent because we don't want to record it for future runs.
  1729. # Also quote any args containing shell meta-characters.
  1730. # Make two passes to allow for proper duplicate-argument suppression.
  1731. ac_configure_args=
  1732. ac_configure_args0=
  1733. ac_configure_args1=
  1734. ac_must_keep_next=false
  1735. for ac_pass in 1 2
  1736. do
  1737. for ac_arg
  1738. do
  1739. case $ac_arg in
  1740. -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  1741. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1742. | -silent | --silent | --silen | --sile | --sil)
  1743. continue ;;
  1744. *\'*)
  1745. ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  1746. esac
  1747. case $ac_pass in
  1748. 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
  1749. 2)
  1750. as_fn_append ac_configure_args1 " '$ac_arg'"
  1751. if test $ac_must_keep_next = true; then
  1752. ac_must_keep_next=false # Got value, back to normal.
  1753. else
  1754. case $ac_arg in
  1755. *=* | --config-cache | -C | -disable-* | --disable-* \
  1756. | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
  1757. | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
  1758. | -with-* | --with-* | -without-* | --without-* | --x)
  1759. case "$ac_configure_args0 " in
  1760. "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  1761. esac
  1762. ;;
  1763. -* ) ac_must_keep_next=true ;;
  1764. esac
  1765. fi
  1766. as_fn_append ac_configure_args " '$ac_arg'"
  1767. ;;
  1768. esac
  1769. done
  1770. done
  1771. { ac_configure_args0=; unset ac_configure_args0;}
  1772. { ac_configure_args1=; unset ac_configure_args1;}
  1773. # When interrupted or exit'd, cleanup temporary files, and complete
  1774. # config.log. We remove comments because anyway the quotes in there
  1775. # would cause problems or look ugly.
  1776. # WARNING: Use '\'' to represent an apostrophe within the trap.
  1777. # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
  1778. trap 'exit_status=$?
  1779. # Save into config.log some information that might help in debugging.
  1780. {
  1781. echo
  1782. $as_echo "## ---------------- ##
  1783. ## Cache variables. ##
  1784. ## ---------------- ##"
  1785. echo
  1786. # The following way of writing the cache mishandles newlines in values,
  1787. (
  1788. for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
  1789. eval ac_val=\$$ac_var
  1790. case $ac_val in #(
  1791. *${as_nl}*)
  1792. case $ac_var in #(
  1793. *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  1794. $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  1795. esac
  1796. case $ac_var in #(
  1797. _ | IFS | as_nl) ;; #(
  1798. BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  1799. *) { eval $ac_var=; unset $ac_var;} ;;
  1800. esac ;;
  1801. esac
  1802. done
  1803. (set) 2>&1 |
  1804. case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
  1805. *${as_nl}ac_space=\ *)
  1806. sed -n \
  1807. "s/'\''/'\''\\\\'\'''\''/g;
  1808. s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
  1809. ;; #(
  1810. *)
  1811. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  1812. ;;
  1813. esac |
  1814. sort
  1815. )
  1816. echo
  1817. $as_echo "## ----------------- ##
  1818. ## Output variables. ##
  1819. ## ----------------- ##"
  1820. echo
  1821. for ac_var in $ac_subst_vars
  1822. do
  1823. eval ac_val=\$$ac_var
  1824. case $ac_val in
  1825. *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  1826. esac
  1827. $as_echo "$ac_var='\''$ac_val'\''"
  1828. done | sort
  1829. echo
  1830. if test -n "$ac_subst_files"; then
  1831. $as_echo "## ------------------- ##
  1832. ## File substitutions. ##
  1833. ## ------------------- ##"
  1834. echo
  1835. for ac_var in $ac_subst_files
  1836. do
  1837. eval ac_val=\$$ac_var
  1838. case $ac_val in
  1839. *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  1840. esac
  1841. $as_echo "$ac_var='\''$ac_val'\''"
  1842. done | sort
  1843. echo
  1844. fi
  1845. if test -s confdefs.h; then
  1846. $as_echo "## ----------- ##
  1847. ## confdefs.h. ##
  1848. ## ----------- ##"
  1849. echo
  1850. cat confdefs.h
  1851. echo
  1852. fi
  1853. test "$ac_signal" != 0 &&
  1854. $as_echo "$as_me: caught signal $ac_signal"
  1855. $as_echo "$as_me: exit $exit_status"
  1856. } >&5
  1857. rm -f core *.core core.conftest.* &&
  1858. rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
  1859. exit $exit_status
  1860. ' 0
  1861. for ac_signal in 1 2 13 15; do
  1862. trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
  1863. done
  1864. ac_signal=0
  1865. # confdefs.h avoids OS command line length limits that DEFS can exceed.
  1866. rm -f -r conftest* confdefs.h
  1867. $as_echo "/* confdefs.h */" > confdefs.h
  1868. # Predefined preprocessor variables.
  1869. cat >>confdefs.h <<_ACEOF
  1870. #define PACKAGE_NAME "$PACKAGE_NAME"
  1871. _ACEOF
  1872. cat >>confdefs.h <<_ACEOF
  1873. #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  1874. _ACEOF
  1875. cat >>confdefs.h <<_ACEOF
  1876. #define PACKAGE_VERSION "$PACKAGE_VERSION"
  1877. _ACEOF
  1878. cat >>confdefs.h <<_ACEOF
  1879. #define PACKAGE_STRING "$PACKAGE_STRING"
  1880. _ACEOF
  1881. cat >>confdefs.h <<_ACEOF
  1882. #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  1883. _ACEOF
  1884. cat >>confdefs.h <<_ACEOF
  1885. #define PACKAGE_URL "$PACKAGE_URL"
  1886. _ACEOF
  1887. # Let the site file select an alternate cache file if it wants to.
  1888. # Prefer an explicitly selected file to automatically selected ones.
  1889. ac_site_file1=NONE
  1890. if test -n "$CONFIG_SITE"; then
  1891. # We do not want a PATH search for config.site.
  1892. case $CONFIG_SITE in #((
  1893. -*) ac_site_file1=./$CONFIG_SITE;;
  1894. */*) ac_site_file1=$CONFIG_SITE;;
  1895. *) ac_site_file1=./$CONFIG_SITE;;
  1896. esac
  1897. fi
  1898. for ac_site_file in $ac_site_file1
  1899. do
  1900. test "x$ac_site_file" = xNONE && continue
  1901. if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
  1902. { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
  1903. $as_echo "$as_me: loading site script $ac_site_file" >&6;}
  1904. sed 's/^/| /' "$ac_site_file" >&5
  1905. . "$ac_site_file" \
  1906. || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  1907. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  1908. as_fn_error $? "failed to load site script $ac_site_file
  1909. See \`config.log' for more details" "$LINENO" 5; }
  1910. fi
  1911. done
  1912. if test -r "$cache_file"; then
  1913. # Some versions of bash will fail to source /dev/null (special files
  1914. # actually), so we avoid doing that. DJGPP emulates it as a regular file.
  1915. if test /dev/null != "$cache_file" && test -f "$cache_file"; then
  1916. { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
  1917. $as_echo "$as_me: loading cache $cache_file" >&6;}
  1918. case $cache_file in
  1919. [\\/]* | ?:[\\/]* ) . "$cache_file";;
  1920. *) . "./$cache_file";;
  1921. esac
  1922. fi
  1923. else
  1924. { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
  1925. $as_echo "$as_me: creating cache $cache_file" >&6;}
  1926. >$cache_file
  1927. fi
  1928. # Check that the precious variables saved in the cache have kept the same
  1929. # value.
  1930. ac_cache_corrupted=false
  1931. for ac_var in $ac_precious_vars; do
  1932. eval ac_old_set=\$ac_cv_env_${ac_var}_set
  1933. eval ac_new_set=\$ac_env_${ac_var}_set
  1934. eval ac_old_val=\$ac_cv_env_${ac_var}_value
  1935. eval ac_new_val=\$ac_env_${ac_var}_value
  1936. case $ac_old_set,$ac_new_set in
  1937. set,)
  1938. { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  1939. $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  1940. ac_cache_corrupted=: ;;
  1941. ,set)
  1942. { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
  1943. $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  1944. ac_cache_corrupted=: ;;
  1945. ,);;
  1946. *)
  1947. if test "x$ac_old_val" != "x$ac_new_val"; then
  1948. # differences in whitespace do not lead to failure.
  1949. ac_old_val_w=`echo x $ac_old_val`
  1950. ac_new_val_w=`echo x $ac_new_val`
  1951. if test "$ac_old_val_w" != "$ac_new_val_w"; then
  1952. { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
  1953. $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  1954. ac_cache_corrupted=:
  1955. else
  1956. { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
  1957. $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
  1958. eval $ac_var=\$ac_old_val
  1959. fi
  1960. { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
  1961. $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
  1962. { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
  1963. $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
  1964. fi;;
  1965. esac
  1966. # Pass precious variables to config.status.
  1967. if test "$ac_new_set" = set; then
  1968. case $ac_new_val in
  1969. *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  1970. *) ac_arg=$ac_var=$ac_new_val ;;
  1971. esac
  1972. case " $ac_configure_args " in
  1973. *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
  1974. *) as_fn_append ac_configure_args " '$ac_arg'" ;;
  1975. esac
  1976. fi
  1977. done
  1978. if $ac_cache_corrupted; then
  1979. { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  1980. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  1981. { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
  1982. $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  1983. as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
  1984. fi
  1985. ## -------------------- ##
  1986. ## Main body of script. ##
  1987. ## -------------------- ##
  1988. ac_ext=c
  1989. ac_cpp='$CPP $CPPFLAGS'
  1990. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1991. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1992. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1993. ac_config_headers="$ac_config_headers config.h:config-h.in"
  1994. ac_aux_dir=
  1995. for ac_dir in ../build-aux "$srcdir"/../build-aux; do
  1996. if test -f "$ac_dir/install-sh"; then
  1997. ac_aux_dir=$ac_dir
  1998. ac_install_sh="$ac_aux_dir/install-sh -c"
  1999. break
  2000. elif test -f "$ac_dir/install.sh"; then
  2001. ac_aux_dir=$ac_dir
  2002. ac_install_sh="$ac_aux_dir/install.sh -c"
  2003. break
  2004. elif test -f "$ac_dir/shtool"; then
  2005. ac_aux_dir=$ac_dir
  2006. ac_install_sh="$ac_aux_dir/shtool install -c"
  2007. break
  2008. fi
  2009. done
  2010. if test -z "$ac_aux_dir"; then
  2011. as_fn_error $? "cannot find install-sh, install.sh, or shtool in ../build-aux \"$srcdir\"/../build-aux" "$LINENO" 5
  2012. fi
  2013. # These three variables are undocumented and unsupported,
  2014. # and are intended to be withdrawn in a future Autoconf release.
  2015. # They can cause serious problems if a builder's source tree is in a directory
  2016. # whose full name contains unusual characters.
  2017. ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
  2018. ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
  2019. ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
  2020. # I am me!
  2021. ## ------------------------ ##
  2022. ## Automake Initialisation. ##
  2023. ## ------------------------ ##
  2024. am__api_version='1.15'
  2025. # Find a good install program. We prefer a C program (faster),
  2026. # so one script is as good as another. But avoid the broken or
  2027. # incompatible versions:
  2028. # SysV /etc/install, /usr/sbin/install
  2029. # SunOS /usr/etc/install
  2030. # IRIX /sbin/install
  2031. # AIX /bin/install
  2032. # AmigaOS /C/install, which installs bootblocks on floppy discs
  2033. # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
  2034. # AFS /usr/afsws/bin/install, which mishandles nonexistent args
  2035. # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  2036. # OS/2's system install, which has a completely different semantic
  2037. # ./install, which can be erroneously created by make from ./install.sh.
  2038. # Reject install programs that cannot install multiple files.
  2039. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
  2040. $as_echo_n "checking for a BSD-compatible install... " >&6; }
  2041. if test -z "$INSTALL"; then
  2042. if ${ac_cv_path_install+:} false; then :
  2043. $as_echo_n "(cached) " >&6
  2044. else
  2045. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2046. for as_dir in $PATH
  2047. do
  2048. IFS=$as_save_IFS
  2049. test -z "$as_dir" && as_dir=.
  2050. # Account for people who put trailing slashes in PATH elements.
  2051. case $as_dir/ in #((
  2052. ./ | .// | /[cC]/* | \
  2053. /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
  2054. ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
  2055. /usr/ucb/* ) ;;
  2056. *)
  2057. # OSF1 and SCO ODT 3.0 have their own names for install.
  2058. # Don't use installbsd from OSF since it installs stuff as root
  2059. # by default.
  2060. for ac_prog in ginstall scoinst install; do
  2061. for ac_exec_ext in '' $ac_executable_extensions; do
  2062. if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
  2063. if test $ac_prog = install &&
  2064. grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  2065. # AIX install. It has an incompatible calling convention.
  2066. :
  2067. elif test $ac_prog = install &&
  2068. grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  2069. # program-specific install script used by HP pwplus--don't use.
  2070. :
  2071. else
  2072. rm -rf conftest.one conftest.two conftest.dir
  2073. echo one > conftest.one
  2074. echo two > conftest.two
  2075. mkdir conftest.dir
  2076. if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
  2077. test -s conftest.one && test -s conftest.two &&
  2078. test -s conftest.dir/conftest.one &&
  2079. test -s conftest.dir/conftest.two
  2080. then
  2081. ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
  2082. break 3
  2083. fi
  2084. fi
  2085. fi
  2086. done
  2087. done
  2088. ;;
  2089. esac
  2090. done
  2091. IFS=$as_save_IFS
  2092. rm -rf conftest.one conftest.two conftest.dir
  2093. fi
  2094. if test "${ac_cv_path_install+set}" = set; then
  2095. INSTALL=$ac_cv_path_install
  2096. else
  2097. # As a last resort, use the slow shell script. Don't cache a
  2098. # value for INSTALL within a source directory, because that will
  2099. # break other packages using the cache if that directory is
  2100. # removed, or if the value is a relative name.
  2101. INSTALL=$ac_install_sh
  2102. fi
  2103. fi
  2104. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
  2105. $as_echo "$INSTALL" >&6; }
  2106. # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  2107. # It thinks the first close brace ends the variable substitution.
  2108. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  2109. test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
  2110. test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  2111. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
  2112. $as_echo_n "checking whether build environment is sane... " >&6; }
  2113. # Reject unsafe characters in $srcdir or the absolute working directory
  2114. # name. Accept space and tab only in the latter.
  2115. am_lf='
  2116. '
  2117. case `pwd` in
  2118. *[\\\"\#\$\&\'\`$am_lf]*)
  2119. as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
  2120. esac
  2121. case $srcdir in
  2122. *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
  2123. as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
  2124. esac
  2125. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  2126. $as_echo "yes" >&6; }
  2127. test "$program_prefix" != NONE &&
  2128. program_transform_name="s&^&$program_prefix&;$program_transform_name"
  2129. # Use a double $ so make ignores it.
  2130. test "$program_suffix" != NONE &&
  2131. program_transform_name="s&\$&$program_suffix&;$program_transform_name"
  2132. # Double any \ or $.
  2133. # By default was `s,x,x', remove it if useless.
  2134. ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
  2135. program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
  2136. # Expand $ac_aux_dir to an absolute path.
  2137. am_aux_dir=`cd "$ac_aux_dir" && pwd`
  2138. if test x"${MISSING+set}" != xset; then
  2139. case $am_aux_dir in
  2140. *\ * | *\ *)
  2141. MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
  2142. *)
  2143. MISSING="\${SHELL} $am_aux_dir/missing" ;;
  2144. esac
  2145. fi
  2146. # Use eval to expand $SHELL
  2147. if eval "$MISSING --is-lightweight"; then
  2148. am_missing_run="$MISSING "
  2149. else
  2150. am_missing_run=
  2151. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
  2152. $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
  2153. fi
  2154. if test x"${install_sh+set}" != xset; then
  2155. case $am_aux_dir in
  2156. *\ * | *\ *)
  2157. install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
  2158. *)
  2159. install_sh="\${SHELL} $am_aux_dir/install-sh"
  2160. esac
  2161. fi
  2162. # Installed binaries are usually stripped using 'strip' when the user
  2163. # run "make install-strip". However 'strip' might not be the right
  2164. # tool to use in cross-compilation environments, therefore Automake
  2165. # will honor the 'STRIP' environment variable to overrule this program.
  2166. if test "$cross_compiling" != no; then
  2167. if test -n "$ac_tool_prefix"; then
  2168. # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  2169. set dummy ${ac_tool_prefix}strip; ac_word=$2
  2170. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2171. $as_echo_n "checking for $ac_word... " >&6; }
  2172. if ${ac_cv_prog_STRIP+:} false; then :
  2173. $as_echo_n "(cached) " >&6
  2174. else
  2175. if test -n "$STRIP"; then
  2176. ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  2177. else
  2178. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2179. for as_dir in $PATH
  2180. do
  2181. IFS=$as_save_IFS
  2182. test -z "$as_dir" && as_dir=.
  2183. for ac_exec_ext in '' $ac_executable_extensions; do
  2184. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2185. ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  2186. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2187. break 2
  2188. fi
  2189. done
  2190. done
  2191. IFS=$as_save_IFS
  2192. fi
  2193. fi
  2194. STRIP=$ac_cv_prog_STRIP
  2195. if test -n "$STRIP"; then
  2196. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
  2197. $as_echo "$STRIP" >&6; }
  2198. else
  2199. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2200. $as_echo "no" >&6; }
  2201. fi
  2202. fi
  2203. if test -z "$ac_cv_prog_STRIP"; then
  2204. ac_ct_STRIP=$STRIP
  2205. # Extract the first word of "strip", so it can be a program name with args.
  2206. set dummy strip; ac_word=$2
  2207. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2208. $as_echo_n "checking for $ac_word... " >&6; }
  2209. if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
  2210. $as_echo_n "(cached) " >&6
  2211. else
  2212. if test -n "$ac_ct_STRIP"; then
  2213. ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  2214. else
  2215. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2216. for as_dir in $PATH
  2217. do
  2218. IFS=$as_save_IFS
  2219. test -z "$as_dir" && as_dir=.
  2220. for ac_exec_ext in '' $ac_executable_extensions; do
  2221. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2222. ac_cv_prog_ac_ct_STRIP="strip"
  2223. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2224. break 2
  2225. fi
  2226. done
  2227. done
  2228. IFS=$as_save_IFS
  2229. fi
  2230. fi
  2231. ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  2232. if test -n "$ac_ct_STRIP"; then
  2233. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
  2234. $as_echo "$ac_ct_STRIP" >&6; }
  2235. else
  2236. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2237. $as_echo "no" >&6; }
  2238. fi
  2239. if test "x$ac_ct_STRIP" = x; then
  2240. STRIP=":"
  2241. else
  2242. case $cross_compiling:$ac_tool_warned in
  2243. yes:)
  2244. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  2245. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  2246. ac_tool_warned=yes ;;
  2247. esac
  2248. STRIP=$ac_ct_STRIP
  2249. fi
  2250. else
  2251. STRIP="$ac_cv_prog_STRIP"
  2252. fi
  2253. fi
  2254. INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
  2255. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
  2256. $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
  2257. if test -z "$MKDIR_P"; then
  2258. if ${ac_cv_path_mkdir+:} false; then :
  2259. $as_echo_n "(cached) " >&6
  2260. else
  2261. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2262. for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
  2263. do
  2264. IFS=$as_save_IFS
  2265. test -z "$as_dir" && as_dir=.
  2266. for ac_prog in mkdir gmkdir; do
  2267. for ac_exec_ext in '' $ac_executable_extensions; do
  2268. as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
  2269. case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
  2270. 'mkdir (GNU coreutils) '* | \
  2271. 'mkdir (coreutils) '* | \
  2272. 'mkdir (fileutils) '4.1*)
  2273. ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
  2274. break 3;;
  2275. esac
  2276. done
  2277. done
  2278. done
  2279. IFS=$as_save_IFS
  2280. fi
  2281. test -d ./--version && rmdir ./--version
  2282. if test "${ac_cv_path_mkdir+set}" = set; then
  2283. MKDIR_P="$ac_cv_path_mkdir -p"
  2284. else
  2285. # As a last resort, use the slow shell script. Don't cache a
  2286. # value for MKDIR_P within a source directory, because that will
  2287. # break other packages using the cache if that directory is
  2288. # removed, or if the value is a relative name.
  2289. MKDIR_P="$ac_install_sh -d"
  2290. fi
  2291. fi
  2292. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
  2293. $as_echo "$MKDIR_P" >&6; }
  2294. for ac_prog in gawk mawk nawk awk
  2295. do
  2296. # Extract the first word of "$ac_prog", so it can be a program name with args.
  2297. set dummy $ac_prog; ac_word=$2
  2298. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2299. $as_echo_n "checking for $ac_word... " >&6; }
  2300. if ${ac_cv_prog_AWK+:} false; then :
  2301. $as_echo_n "(cached) " >&6
  2302. else
  2303. if test -n "$AWK"; then
  2304. ac_cv_prog_AWK="$AWK" # Let the user override the test.
  2305. else
  2306. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2307. for as_dir in $PATH
  2308. do
  2309. IFS=$as_save_IFS
  2310. test -z "$as_dir" && as_dir=.
  2311. for ac_exec_ext in '' $ac_executable_extensions; do
  2312. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2313. ac_cv_prog_AWK="$ac_prog"
  2314. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2315. break 2
  2316. fi
  2317. done
  2318. done
  2319. IFS=$as_save_IFS
  2320. fi
  2321. fi
  2322. AWK=$ac_cv_prog_AWK
  2323. if test -n "$AWK"; then
  2324. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
  2325. $as_echo "$AWK" >&6; }
  2326. else
  2327. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2328. $as_echo "no" >&6; }
  2329. fi
  2330. test -n "$AWK" && break
  2331. done
  2332. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
  2333. $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
  2334. set x ${MAKE-make}
  2335. ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
  2336. if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
  2337. $as_echo_n "(cached) " >&6
  2338. else
  2339. cat >conftest.make <<\_ACEOF
  2340. SHELL = /bin/sh
  2341. all:
  2342. @echo '@@@%%%=$(MAKE)=@@@%%%'
  2343. _ACEOF
  2344. # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
  2345. case `${MAKE-make} -f conftest.make 2>/dev/null` in
  2346. *@@@%%%=?*=@@@%%%*)
  2347. eval ac_cv_prog_make_${ac_make}_set=yes;;
  2348. *)
  2349. eval ac_cv_prog_make_${ac_make}_set=no;;
  2350. esac
  2351. rm -f conftest.make
  2352. fi
  2353. if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
  2354. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  2355. $as_echo "yes" >&6; }
  2356. SET_MAKE=
  2357. else
  2358. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2359. $as_echo "no" >&6; }
  2360. SET_MAKE="MAKE=${MAKE-make}"
  2361. fi
  2362. rm -rf .tst 2>/dev/null
  2363. mkdir .tst 2>/dev/null
  2364. if test -d .tst; then
  2365. am__leading_dot=.
  2366. else
  2367. am__leading_dot=_
  2368. fi
  2369. rmdir .tst 2>/dev/null
  2370. # Check whether --enable-silent-rules was given.
  2371. if test "${enable_silent_rules+set}" = set; then :
  2372. enableval=$enable_silent_rules;
  2373. fi
  2374. case $enable_silent_rules in # (((
  2375. yes) AM_DEFAULT_VERBOSITY=0;;
  2376. no) AM_DEFAULT_VERBOSITY=1;;
  2377. *) AM_DEFAULT_VERBOSITY=1;;
  2378. esac
  2379. am_make=${MAKE-make}
  2380. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
  2381. $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
  2382. if ${am_cv_make_support_nested_variables+:} false; then :
  2383. $as_echo_n "(cached) " >&6
  2384. else
  2385. if $as_echo 'TRUE=$(BAR$(V))
  2386. BAR0=false
  2387. BAR1=true
  2388. V=1
  2389. am__doit:
  2390. @$(TRUE)
  2391. .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
  2392. am_cv_make_support_nested_variables=yes
  2393. else
  2394. am_cv_make_support_nested_variables=no
  2395. fi
  2396. fi
  2397. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
  2398. $as_echo "$am_cv_make_support_nested_variables" >&6; }
  2399. if test $am_cv_make_support_nested_variables = yes; then
  2400. AM_V='$(V)'
  2401. AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
  2402. else
  2403. AM_V=$AM_DEFAULT_VERBOSITY
  2404. AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
  2405. fi
  2406. AM_BACKSLASH='\'
  2407. if test "`cd $srcdir && pwd`" != "`pwd`"; then
  2408. # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
  2409. # is not polluted with repeated "-I."
  2410. am__isrc=' -I$(srcdir)'
  2411. # test to see if srcdir already configured
  2412. if test -f $srcdir/config.status; then
  2413. as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
  2414. fi
  2415. fi
  2416. # test whether we have cygpath
  2417. if test -z "$CYGPATH_W"; then
  2418. if (cygpath --version) >/dev/null 2>/dev/null; then
  2419. CYGPATH_W='cygpath -w'
  2420. else
  2421. CYGPATH_W=echo
  2422. fi
  2423. fi
  2424. # Define the identity of the package.
  2425. PACKAGE='libltdl'
  2426. VERSION='2.4.3a'
  2427. cat >>confdefs.h <<_ACEOF
  2428. #define PACKAGE "$PACKAGE"
  2429. _ACEOF
  2430. cat >>confdefs.h <<_ACEOF
  2431. #define VERSION "$VERSION"
  2432. _ACEOF
  2433. # Some tools Automake needs.
  2434. ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
  2435. AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
  2436. AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
  2437. AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
  2438. MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
  2439. # For better backward compatibility. To be removed once Automake 1.9.x
  2440. # dies out for good. For more background, see:
  2441. # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
  2442. # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
  2443. mkdir_p='$(MKDIR_P)'
  2444. # We need awk for the "check" target (and possibly the TAP driver). The
  2445. # system "awk" is bad on some platforms.
  2446. # Always define AMTAR for backward compatibility. Yes, it's still used
  2447. # in the wild :-( We should find a proper way to deprecate it ...
  2448. AMTAR='$${TAR-tar}'
  2449. # We'll loop over all known methods to create a tar archive until one works.
  2450. _am_tools='gnutar pax cpio none'
  2451. am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
  2452. # POSIX will say in a future version that running "rm -f" with no argument
  2453. # is OK; and we want to be able to make that assumption in our Makefile
  2454. # recipes. So use an aggressive probe to check that the usage we want is
  2455. # actually supported "in the wild" to an acceptable degree.
  2456. # See automake bug#10828.
  2457. # To make any issue more visible, cause the running configure to be aborted
  2458. # by default if the 'rm' program in use doesn't match our expectations; the
  2459. # user can still override this though.
  2460. if rm -f && rm -fr && rm -rf; then : OK; else
  2461. cat >&2 <<'END'
  2462. Oops!
  2463. Your 'rm' program seems unable to run without file operands specified
  2464. on the command line, even when the '-f' option is present. This is contrary
  2465. to the behaviour of most rm programs out there, and not conforming with
  2466. the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
  2467. Please tell bug-automake@gnu.org about your system, including the value
  2468. of your $PATH and any error possibly output before this message. This
  2469. can help us improve future automake versions.
  2470. END
  2471. if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
  2472. echo 'Configuration will proceed anyway, since you have set the' >&2
  2473. echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
  2474. echo >&2
  2475. else
  2476. cat >&2 <<'END'
  2477. Aborting the configuration process, to ensure you take notice of the issue.
  2478. You can download and install GNU coreutils to get an 'rm' implementation
  2479. that behaves properly: <http://www.gnu.org/software/coreutils/>.
  2480. If you want to complete the configuration process using your problematic
  2481. 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
  2482. to "yes", and re-run configure.
  2483. END
  2484. as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
  2485. fi
  2486. fi
  2487. # Check whether --enable-silent-rules was given.
  2488. if test "${enable_silent_rules+set}" = set; then :
  2489. enableval=$enable_silent_rules;
  2490. fi
  2491. case $enable_silent_rules in # (((
  2492. yes) AM_DEFAULT_VERBOSITY=0;;
  2493. no) AM_DEFAULT_VERBOSITY=1;;
  2494. *) AM_DEFAULT_VERBOSITY=0;;
  2495. esac
  2496. am_make=${MAKE-make}
  2497. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
  2498. $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
  2499. if ${am_cv_make_support_nested_variables+:} false; then :
  2500. $as_echo_n "(cached) " >&6
  2501. else
  2502. if $as_echo 'TRUE=$(BAR$(V))
  2503. BAR0=false
  2504. BAR1=true
  2505. V=1
  2506. am__doit:
  2507. @$(TRUE)
  2508. .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
  2509. am_cv_make_support_nested_variables=yes
  2510. else
  2511. am_cv_make_support_nested_variables=no
  2512. fi
  2513. fi
  2514. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
  2515. $as_echo "$am_cv_make_support_nested_variables" >&6; }
  2516. if test $am_cv_make_support_nested_variables = yes; then
  2517. AM_V='$(V)'
  2518. AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
  2519. else
  2520. AM_V=$AM_DEFAULT_VERBOSITY
  2521. AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
  2522. fi
  2523. AM_BACKSLASH='\'
  2524. ## ------------------------------- ##
  2525. ## Libtool specific configuration. ##
  2526. ## ------------------------------- ##
  2527. pkgdatadir='$datadir'"/$PACKAGE"
  2528. ## ----------------------- ##
  2529. ## Libtool initialisation. ##
  2530. ## ----------------------- ##
  2531. case `pwd` in
  2532. *\ * | *\ *)
  2533. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
  2534. $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
  2535. esac
  2536. macro_version='2.4.6'
  2537. macro_revision='2.4.6'
  2538. ltmain=$ac_aux_dir/ltmain.sh
  2539. # Make sure we can run config.sub.
  2540. $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
  2541. as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
  2542. { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
  2543. $as_echo_n "checking build system type... " >&6; }
  2544. if ${ac_cv_build+:} false; then :
  2545. $as_echo_n "(cached) " >&6
  2546. else
  2547. ac_build_alias=$build_alias
  2548. test "x$ac_build_alias" = x &&
  2549. ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
  2550. test "x$ac_build_alias" = x &&
  2551. as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
  2552. ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
  2553. as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
  2554. fi
  2555. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
  2556. $as_echo "$ac_cv_build" >&6; }
  2557. case $ac_cv_build in
  2558. *-*-*) ;;
  2559. *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
  2560. esac
  2561. build=$ac_cv_build
  2562. ac_save_IFS=$IFS; IFS='-'
  2563. set x $ac_cv_build
  2564. shift
  2565. build_cpu=$1
  2566. build_vendor=$2
  2567. shift; shift
  2568. # Remember, the first character of IFS is used to create $*,
  2569. # except with old shells:
  2570. build_os=$*
  2571. IFS=$ac_save_IFS
  2572. case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
  2573. { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
  2574. $as_echo_n "checking host system type... " >&6; }
  2575. if ${ac_cv_host+:} false; then :
  2576. $as_echo_n "(cached) " >&6
  2577. else
  2578. if test "x$host_alias" = x; then
  2579. ac_cv_host=$ac_cv_build
  2580. else
  2581. ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
  2582. as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
  2583. fi
  2584. fi
  2585. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
  2586. $as_echo "$ac_cv_host" >&6; }
  2587. case $ac_cv_host in
  2588. *-*-*) ;;
  2589. *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
  2590. esac
  2591. host=$ac_cv_host
  2592. ac_save_IFS=$IFS; IFS='-'
  2593. set x $ac_cv_host
  2594. shift
  2595. host_cpu=$1
  2596. host_vendor=$2
  2597. shift; shift
  2598. # Remember, the first character of IFS is used to create $*,
  2599. # except with old shells:
  2600. host_os=$*
  2601. IFS=$ac_save_IFS
  2602. case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
  2603. # Backslashify metacharacters that are still active within
  2604. # double-quoted strings.
  2605. sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
  2606. # Same as above, but do not quote variable references.
  2607. double_quote_subst='s/\(["`\\]\)/\\\1/g'
  2608. # Sed substitution to delay expansion of an escaped shell variable in a
  2609. # double_quote_subst'ed string.
  2610. delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
  2611. # Sed substitution to delay expansion of an escaped single quote.
  2612. delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
  2613. # Sed substitution to avoid accidental globbing in evaled expressions
  2614. no_glob_subst='s/\*/\\\*/g'
  2615. ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  2616. ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
  2617. ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
  2618. { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
  2619. $as_echo_n "checking how to print strings... " >&6; }
  2620. # Test print first, because it will be a builtin if present.
  2621. if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
  2622. test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
  2623. ECHO='print -r --'
  2624. elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
  2625. ECHO='printf %s\n'
  2626. else
  2627. # Use this function as a fallback that always works.
  2628. func_fallback_echo ()
  2629. {
  2630. eval 'cat <<_LTECHO_EOF
  2631. $1
  2632. _LTECHO_EOF'
  2633. }
  2634. ECHO='func_fallback_echo'
  2635. fi
  2636. # func_echo_all arg...
  2637. # Invoke $ECHO with all args, space-separated.
  2638. func_echo_all ()
  2639. {
  2640. $ECHO ""
  2641. }
  2642. case $ECHO in
  2643. printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
  2644. $as_echo "printf" >&6; } ;;
  2645. print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
  2646. $as_echo "print -r" >&6; } ;;
  2647. *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
  2648. $as_echo "cat" >&6; } ;;
  2649. esac
  2650. DEPDIR="${am__leading_dot}deps"
  2651. ac_config_commands="$ac_config_commands depfiles"
  2652. am_make=${MAKE-make}
  2653. cat > confinc << 'END'
  2654. am__doit:
  2655. @echo this is the am__doit target
  2656. .PHONY: am__doit
  2657. END
  2658. # If we don't find an include directive, just comment out the code.
  2659. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
  2660. $as_echo_n "checking for style of include used by $am_make... " >&6; }
  2661. am__include="#"
  2662. am__quote=
  2663. _am_result=none
  2664. # First try GNU make style include.
  2665. echo "include confinc" > confmf
  2666. # Ignore all kinds of additional output from 'make'.
  2667. case `$am_make -s -f confmf 2> /dev/null` in #(
  2668. *the\ am__doit\ target*)
  2669. am__include=include
  2670. am__quote=
  2671. _am_result=GNU
  2672. ;;
  2673. esac
  2674. # Now try BSD make style include.
  2675. if test "$am__include" = "#"; then
  2676. echo '.include "confinc"' > confmf
  2677. case `$am_make -s -f confmf 2> /dev/null` in #(
  2678. *the\ am__doit\ target*)
  2679. am__include=.include
  2680. am__quote="\""
  2681. _am_result=BSD
  2682. ;;
  2683. esac
  2684. fi
  2685. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
  2686. $as_echo "$_am_result" >&6; }
  2687. rm -f confinc confmf
  2688. # Check whether --enable-dependency-tracking was given.
  2689. if test "${enable_dependency_tracking+set}" = set; then :
  2690. enableval=$enable_dependency_tracking;
  2691. fi
  2692. if test "x$enable_dependency_tracking" != xno; then
  2693. am_depcomp="$ac_aux_dir/depcomp"
  2694. AMDEPBACKSLASH='\'
  2695. am__nodep='_no'
  2696. fi
  2697. if test "x$enable_dependency_tracking" != xno; then
  2698. AMDEP_TRUE=
  2699. AMDEP_FALSE='#'
  2700. else
  2701. AMDEP_TRUE='#'
  2702. AMDEP_FALSE=
  2703. fi
  2704. ac_ext=c
  2705. ac_cpp='$CPP $CPPFLAGS'
  2706. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2707. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2708. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2709. if test -n "$ac_tool_prefix"; then
  2710. # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  2711. set dummy ${ac_tool_prefix}gcc; ac_word=$2
  2712. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2713. $as_echo_n "checking for $ac_word... " >&6; }
  2714. if ${ac_cv_prog_CC+:} false; then :
  2715. $as_echo_n "(cached) " >&6
  2716. else
  2717. if test -n "$CC"; then
  2718. ac_cv_prog_CC="$CC" # Let the user override the test.
  2719. else
  2720. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2721. for as_dir in $PATH
  2722. do
  2723. IFS=$as_save_IFS
  2724. test -z "$as_dir" && as_dir=.
  2725. for ac_exec_ext in '' $ac_executable_extensions; do
  2726. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2727. ac_cv_prog_CC="${ac_tool_prefix}gcc"
  2728. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2729. break 2
  2730. fi
  2731. done
  2732. done
  2733. IFS=$as_save_IFS
  2734. fi
  2735. fi
  2736. CC=$ac_cv_prog_CC
  2737. if test -n "$CC"; then
  2738. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  2739. $as_echo "$CC" >&6; }
  2740. else
  2741. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2742. $as_echo "no" >&6; }
  2743. fi
  2744. fi
  2745. if test -z "$ac_cv_prog_CC"; then
  2746. ac_ct_CC=$CC
  2747. # Extract the first word of "gcc", so it can be a program name with args.
  2748. set dummy gcc; ac_word=$2
  2749. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2750. $as_echo_n "checking for $ac_word... " >&6; }
  2751. if ${ac_cv_prog_ac_ct_CC+:} false; then :
  2752. $as_echo_n "(cached) " >&6
  2753. else
  2754. if test -n "$ac_ct_CC"; then
  2755. ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  2756. else
  2757. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2758. for as_dir in $PATH
  2759. do
  2760. IFS=$as_save_IFS
  2761. test -z "$as_dir" && as_dir=.
  2762. for ac_exec_ext in '' $ac_executable_extensions; do
  2763. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2764. ac_cv_prog_ac_ct_CC="gcc"
  2765. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2766. break 2
  2767. fi
  2768. done
  2769. done
  2770. IFS=$as_save_IFS
  2771. fi
  2772. fi
  2773. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  2774. if test -n "$ac_ct_CC"; then
  2775. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  2776. $as_echo "$ac_ct_CC" >&6; }
  2777. else
  2778. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2779. $as_echo "no" >&6; }
  2780. fi
  2781. if test "x$ac_ct_CC" = x; then
  2782. CC=""
  2783. else
  2784. case $cross_compiling:$ac_tool_warned in
  2785. yes:)
  2786. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  2787. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  2788. ac_tool_warned=yes ;;
  2789. esac
  2790. CC=$ac_ct_CC
  2791. fi
  2792. else
  2793. CC="$ac_cv_prog_CC"
  2794. fi
  2795. if test -z "$CC"; then
  2796. if test -n "$ac_tool_prefix"; then
  2797. # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  2798. set dummy ${ac_tool_prefix}cc; ac_word=$2
  2799. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2800. $as_echo_n "checking for $ac_word... " >&6; }
  2801. if ${ac_cv_prog_CC+:} false; then :
  2802. $as_echo_n "(cached) " >&6
  2803. else
  2804. if test -n "$CC"; then
  2805. ac_cv_prog_CC="$CC" # Let the user override the test.
  2806. else
  2807. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2808. for as_dir in $PATH
  2809. do
  2810. IFS=$as_save_IFS
  2811. test -z "$as_dir" && as_dir=.
  2812. for ac_exec_ext in '' $ac_executable_extensions; do
  2813. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2814. ac_cv_prog_CC="${ac_tool_prefix}cc"
  2815. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2816. break 2
  2817. fi
  2818. done
  2819. done
  2820. IFS=$as_save_IFS
  2821. fi
  2822. fi
  2823. CC=$ac_cv_prog_CC
  2824. if test -n "$CC"; then
  2825. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  2826. $as_echo "$CC" >&6; }
  2827. else
  2828. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2829. $as_echo "no" >&6; }
  2830. fi
  2831. fi
  2832. fi
  2833. if test -z "$CC"; then
  2834. # Extract the first word of "cc", so it can be a program name with args.
  2835. set dummy cc; ac_word=$2
  2836. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2837. $as_echo_n "checking for $ac_word... " >&6; }
  2838. if ${ac_cv_prog_CC+:} false; then :
  2839. $as_echo_n "(cached) " >&6
  2840. else
  2841. if test -n "$CC"; then
  2842. ac_cv_prog_CC="$CC" # Let the user override the test.
  2843. else
  2844. ac_prog_rejected=no
  2845. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2846. for as_dir in $PATH
  2847. do
  2848. IFS=$as_save_IFS
  2849. test -z "$as_dir" && as_dir=.
  2850. for ac_exec_ext in '' $ac_executable_extensions; do
  2851. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2852. if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  2853. ac_prog_rejected=yes
  2854. continue
  2855. fi
  2856. ac_cv_prog_CC="cc"
  2857. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2858. break 2
  2859. fi
  2860. done
  2861. done
  2862. IFS=$as_save_IFS
  2863. if test $ac_prog_rejected = yes; then
  2864. # We found a bogon in the path, so make sure we never use it.
  2865. set dummy $ac_cv_prog_CC
  2866. shift
  2867. if test $# != 0; then
  2868. # We chose a different compiler from the bogus one.
  2869. # However, it has the same basename, so the bogon will be chosen
  2870. # first if we set CC to just the basename; use the full file name.
  2871. shift
  2872. ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  2873. fi
  2874. fi
  2875. fi
  2876. fi
  2877. CC=$ac_cv_prog_CC
  2878. if test -n "$CC"; then
  2879. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  2880. $as_echo "$CC" >&6; }
  2881. else
  2882. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2883. $as_echo "no" >&6; }
  2884. fi
  2885. fi
  2886. if test -z "$CC"; then
  2887. if test -n "$ac_tool_prefix"; then
  2888. for ac_prog in cl.exe
  2889. do
  2890. # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  2891. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  2892. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2893. $as_echo_n "checking for $ac_word... " >&6; }
  2894. if ${ac_cv_prog_CC+:} false; then :
  2895. $as_echo_n "(cached) " >&6
  2896. else
  2897. if test -n "$CC"; then
  2898. ac_cv_prog_CC="$CC" # Let the user override the test.
  2899. else
  2900. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2901. for as_dir in $PATH
  2902. do
  2903. IFS=$as_save_IFS
  2904. test -z "$as_dir" && as_dir=.
  2905. for ac_exec_ext in '' $ac_executable_extensions; do
  2906. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2907. ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  2908. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2909. break 2
  2910. fi
  2911. done
  2912. done
  2913. IFS=$as_save_IFS
  2914. fi
  2915. fi
  2916. CC=$ac_cv_prog_CC
  2917. if test -n "$CC"; then
  2918. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  2919. $as_echo "$CC" >&6; }
  2920. else
  2921. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2922. $as_echo "no" >&6; }
  2923. fi
  2924. test -n "$CC" && break
  2925. done
  2926. fi
  2927. if test -z "$CC"; then
  2928. ac_ct_CC=$CC
  2929. for ac_prog in cl.exe
  2930. do
  2931. # Extract the first word of "$ac_prog", so it can be a program name with args.
  2932. set dummy $ac_prog; ac_word=$2
  2933. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2934. $as_echo_n "checking for $ac_word... " >&6; }
  2935. if ${ac_cv_prog_ac_ct_CC+:} false; then :
  2936. $as_echo_n "(cached) " >&6
  2937. else
  2938. if test -n "$ac_ct_CC"; then
  2939. ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  2940. else
  2941. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2942. for as_dir in $PATH
  2943. do
  2944. IFS=$as_save_IFS
  2945. test -z "$as_dir" && as_dir=.
  2946. for ac_exec_ext in '' $ac_executable_extensions; do
  2947. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2948. ac_cv_prog_ac_ct_CC="$ac_prog"
  2949. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2950. break 2
  2951. fi
  2952. done
  2953. done
  2954. IFS=$as_save_IFS
  2955. fi
  2956. fi
  2957. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  2958. if test -n "$ac_ct_CC"; then
  2959. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  2960. $as_echo "$ac_ct_CC" >&6; }
  2961. else
  2962. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2963. $as_echo "no" >&6; }
  2964. fi
  2965. test -n "$ac_ct_CC" && break
  2966. done
  2967. if test "x$ac_ct_CC" = x; then
  2968. CC=""
  2969. else
  2970. case $cross_compiling:$ac_tool_warned in
  2971. yes:)
  2972. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  2973. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  2974. ac_tool_warned=yes ;;
  2975. esac
  2976. CC=$ac_ct_CC
  2977. fi
  2978. fi
  2979. fi
  2980. test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  2981. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2982. as_fn_error $? "no acceptable C compiler found in \$PATH
  2983. See \`config.log' for more details" "$LINENO" 5; }
  2984. # Provide some information about the compiler.
  2985. $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
  2986. set X $ac_compile
  2987. ac_compiler=$2
  2988. for ac_option in --version -v -V -qversion; do
  2989. { { ac_try="$ac_compiler $ac_option >&5"
  2990. case "(($ac_try" in
  2991. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2992. *) ac_try_echo=$ac_try;;
  2993. esac
  2994. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2995. $as_echo "$ac_try_echo"; } >&5
  2996. (eval "$ac_compiler $ac_option >&5") 2>conftest.err
  2997. ac_status=$?
  2998. if test -s conftest.err; then
  2999. sed '10a\
  3000. ... rest of stderr output deleted ...
  3001. 10q' conftest.err >conftest.er1
  3002. cat conftest.er1 >&5
  3003. fi
  3004. rm -f conftest.er1 conftest.err
  3005. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3006. test $ac_status = 0; }
  3007. done
  3008. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3009. /* end confdefs.h. */
  3010. int
  3011. main ()
  3012. {
  3013. ;
  3014. return 0;
  3015. }
  3016. _ACEOF
  3017. ac_clean_files_save=$ac_clean_files
  3018. ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
  3019. # Try to create an executable without -o first, disregard a.out.
  3020. # It will help us diagnose broken compilers, and finding out an intuition
  3021. # of exeext.
  3022. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
  3023. $as_echo_n "checking whether the C compiler works... " >&6; }
  3024. ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
  3025. # The possible output files:
  3026. ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
  3027. ac_rmfiles=
  3028. for ac_file in $ac_files
  3029. do
  3030. case $ac_file in
  3031. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  3032. * ) ac_rmfiles="$ac_rmfiles $ac_file";;
  3033. esac
  3034. done
  3035. rm -f $ac_rmfiles
  3036. if { { ac_try="$ac_link_default"
  3037. case "(($ac_try" in
  3038. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3039. *) ac_try_echo=$ac_try;;
  3040. esac
  3041. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3042. $as_echo "$ac_try_echo"; } >&5
  3043. (eval "$ac_link_default") 2>&5
  3044. ac_status=$?
  3045. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3046. test $ac_status = 0; }; then :
  3047. # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
  3048. # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
  3049. # in a Makefile. We should not override ac_cv_exeext if it was cached,
  3050. # so that the user can short-circuit this test for compilers unknown to
  3051. # Autoconf.
  3052. for ac_file in $ac_files ''
  3053. do
  3054. test -f "$ac_file" || continue
  3055. case $ac_file in
  3056. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
  3057. ;;
  3058. [ab].out )
  3059. # We found the default executable, but exeext='' is most
  3060. # certainly right.
  3061. break;;
  3062. *.* )
  3063. if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
  3064. then :; else
  3065. ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  3066. fi
  3067. # We set ac_cv_exeext here because the later test for it is not
  3068. # safe: cross compilers may not add the suffix if given an `-o'
  3069. # argument, so we may need to know it at that point already.
  3070. # Even if this section looks crufty: it has the advantage of
  3071. # actually working.
  3072. break;;
  3073. * )
  3074. break;;
  3075. esac
  3076. done
  3077. test "$ac_cv_exeext" = no && ac_cv_exeext=
  3078. else
  3079. ac_file=''
  3080. fi
  3081. if test -z "$ac_file"; then :
  3082. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3083. $as_echo "no" >&6; }
  3084. $as_echo "$as_me: failed program was:" >&5
  3085. sed 's/^/| /' conftest.$ac_ext >&5
  3086. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3087. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3088. as_fn_error 77 "C compiler cannot create executables
  3089. See \`config.log' for more details" "$LINENO" 5; }
  3090. else
  3091. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  3092. $as_echo "yes" >&6; }
  3093. fi
  3094. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
  3095. $as_echo_n "checking for C compiler default output file name... " >&6; }
  3096. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
  3097. $as_echo "$ac_file" >&6; }
  3098. ac_exeext=$ac_cv_exeext
  3099. rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
  3100. ac_clean_files=$ac_clean_files_save
  3101. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
  3102. $as_echo_n "checking for suffix of executables... " >&6; }
  3103. if { { ac_try="$ac_link"
  3104. case "(($ac_try" in
  3105. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3106. *) ac_try_echo=$ac_try;;
  3107. esac
  3108. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3109. $as_echo "$ac_try_echo"; } >&5
  3110. (eval "$ac_link") 2>&5
  3111. ac_status=$?
  3112. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3113. test $ac_status = 0; }; then :
  3114. # If both `conftest.exe' and `conftest' are `present' (well, observable)
  3115. # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
  3116. # work properly (i.e., refer to `conftest.exe'), while it won't with
  3117. # `rm'.
  3118. for ac_file in conftest.exe conftest conftest.*; do
  3119. test -f "$ac_file" || continue
  3120. case $ac_file in
  3121. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  3122. *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  3123. break;;
  3124. * ) break;;
  3125. esac
  3126. done
  3127. else
  3128. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3129. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3130. as_fn_error $? "cannot compute suffix of executables: cannot compile and link
  3131. See \`config.log' for more details" "$LINENO" 5; }
  3132. fi
  3133. rm -f conftest conftest$ac_cv_exeext
  3134. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
  3135. $as_echo "$ac_cv_exeext" >&6; }
  3136. rm -f conftest.$ac_ext
  3137. EXEEXT=$ac_cv_exeext
  3138. ac_exeext=$EXEEXT
  3139. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3140. /* end confdefs.h. */
  3141. #include <stdio.h>
  3142. int
  3143. main ()
  3144. {
  3145. FILE *f = fopen ("conftest.out", "w");
  3146. return ferror (f) || fclose (f) != 0;
  3147. ;
  3148. return 0;
  3149. }
  3150. _ACEOF
  3151. ac_clean_files="$ac_clean_files conftest.out"
  3152. # Check that the compiler produces executables we can run. If not, either
  3153. # the compiler is broken, or we cross compile.
  3154. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
  3155. $as_echo_n "checking whether we are cross compiling... " >&6; }
  3156. if test "$cross_compiling" != yes; then
  3157. { { ac_try="$ac_link"
  3158. case "(($ac_try" in
  3159. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3160. *) ac_try_echo=$ac_try;;
  3161. esac
  3162. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3163. $as_echo "$ac_try_echo"; } >&5
  3164. (eval "$ac_link") 2>&5
  3165. ac_status=$?
  3166. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3167. test $ac_status = 0; }
  3168. if { ac_try='./conftest$ac_cv_exeext'
  3169. { { case "(($ac_try" in
  3170. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3171. *) ac_try_echo=$ac_try;;
  3172. esac
  3173. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3174. $as_echo "$ac_try_echo"; } >&5
  3175. (eval "$ac_try") 2>&5
  3176. ac_status=$?
  3177. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3178. test $ac_status = 0; }; }; then
  3179. cross_compiling=no
  3180. else
  3181. if test "$cross_compiling" = maybe; then
  3182. cross_compiling=yes
  3183. else
  3184. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3185. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3186. as_fn_error $? "cannot run C compiled programs.
  3187. If you meant to cross compile, use \`--host'.
  3188. See \`config.log' for more details" "$LINENO" 5; }
  3189. fi
  3190. fi
  3191. fi
  3192. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
  3193. $as_echo "$cross_compiling" >&6; }
  3194. rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
  3195. ac_clean_files=$ac_clean_files_save
  3196. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
  3197. $as_echo_n "checking for suffix of object files... " >&6; }
  3198. if ${ac_cv_objext+:} false; then :
  3199. $as_echo_n "(cached) " >&6
  3200. else
  3201. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3202. /* end confdefs.h. */
  3203. int
  3204. main ()
  3205. {
  3206. ;
  3207. return 0;
  3208. }
  3209. _ACEOF
  3210. rm -f conftest.o conftest.obj
  3211. if { { ac_try="$ac_compile"
  3212. case "(($ac_try" in
  3213. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3214. *) ac_try_echo=$ac_try;;
  3215. esac
  3216. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3217. $as_echo "$ac_try_echo"; } >&5
  3218. (eval "$ac_compile") 2>&5
  3219. ac_status=$?
  3220. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3221. test $ac_status = 0; }; then :
  3222. for ac_file in conftest.o conftest.obj conftest.*; do
  3223. test -f "$ac_file" || continue;
  3224. case $ac_file in
  3225. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
  3226. *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
  3227. break;;
  3228. esac
  3229. done
  3230. else
  3231. $as_echo "$as_me: failed program was:" >&5
  3232. sed 's/^/| /' conftest.$ac_ext >&5
  3233. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3234. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3235. as_fn_error $? "cannot compute suffix of object files: cannot compile
  3236. See \`config.log' for more details" "$LINENO" 5; }
  3237. fi
  3238. rm -f conftest.$ac_cv_objext conftest.$ac_ext
  3239. fi
  3240. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
  3241. $as_echo "$ac_cv_objext" >&6; }
  3242. OBJEXT=$ac_cv_objext
  3243. ac_objext=$OBJEXT
  3244. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
  3245. $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
  3246. if ${ac_cv_c_compiler_gnu+:} false; then :
  3247. $as_echo_n "(cached) " >&6
  3248. else
  3249. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3250. /* end confdefs.h. */
  3251. int
  3252. main ()
  3253. {
  3254. #ifndef __GNUC__
  3255. choke me
  3256. #endif
  3257. ;
  3258. return 0;
  3259. }
  3260. _ACEOF
  3261. if ac_fn_c_try_compile "$LINENO"; then :
  3262. ac_compiler_gnu=yes
  3263. else
  3264. ac_compiler_gnu=no
  3265. fi
  3266. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3267. ac_cv_c_compiler_gnu=$ac_compiler_gnu
  3268. fi
  3269. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
  3270. $as_echo "$ac_cv_c_compiler_gnu" >&6; }
  3271. if test $ac_compiler_gnu = yes; then
  3272. GCC=yes
  3273. else
  3274. GCC=
  3275. fi
  3276. ac_test_CFLAGS=${CFLAGS+set}
  3277. ac_save_CFLAGS=$CFLAGS
  3278. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
  3279. $as_echo_n "checking whether $CC accepts -g... " >&6; }
  3280. if ${ac_cv_prog_cc_g+:} false; then :
  3281. $as_echo_n "(cached) " >&6
  3282. else
  3283. ac_save_c_werror_flag=$ac_c_werror_flag
  3284. ac_c_werror_flag=yes
  3285. ac_cv_prog_cc_g=no
  3286. CFLAGS="-g"
  3287. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3288. /* end confdefs.h. */
  3289. int
  3290. main ()
  3291. {
  3292. ;
  3293. return 0;
  3294. }
  3295. _ACEOF
  3296. if ac_fn_c_try_compile "$LINENO"; then :
  3297. ac_cv_prog_cc_g=yes
  3298. else
  3299. CFLAGS=""
  3300. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3301. /* end confdefs.h. */
  3302. int
  3303. main ()
  3304. {
  3305. ;
  3306. return 0;
  3307. }
  3308. _ACEOF
  3309. if ac_fn_c_try_compile "$LINENO"; then :
  3310. else
  3311. ac_c_werror_flag=$ac_save_c_werror_flag
  3312. CFLAGS="-g"
  3313. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3314. /* end confdefs.h. */
  3315. int
  3316. main ()
  3317. {
  3318. ;
  3319. return 0;
  3320. }
  3321. _ACEOF
  3322. if ac_fn_c_try_compile "$LINENO"; then :
  3323. ac_cv_prog_cc_g=yes
  3324. fi
  3325. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3326. fi
  3327. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3328. fi
  3329. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3330. ac_c_werror_flag=$ac_save_c_werror_flag
  3331. fi
  3332. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
  3333. $as_echo "$ac_cv_prog_cc_g" >&6; }
  3334. if test "$ac_test_CFLAGS" = set; then
  3335. CFLAGS=$ac_save_CFLAGS
  3336. elif test $ac_cv_prog_cc_g = yes; then
  3337. if test "$GCC" = yes; then
  3338. CFLAGS="-g -O2"
  3339. else
  3340. CFLAGS="-g"
  3341. fi
  3342. else
  3343. if test "$GCC" = yes; then
  3344. CFLAGS="-O2"
  3345. else
  3346. CFLAGS=
  3347. fi
  3348. fi
  3349. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
  3350. $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
  3351. if ${ac_cv_prog_cc_c89+:} false; then :
  3352. $as_echo_n "(cached) " >&6
  3353. else
  3354. ac_cv_prog_cc_c89=no
  3355. ac_save_CC=$CC
  3356. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3357. /* end confdefs.h. */
  3358. #include <stdarg.h>
  3359. #include <stdio.h>
  3360. struct stat;
  3361. /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
  3362. struct buf { int x; };
  3363. FILE * (*rcsopen) (struct buf *, struct stat *, int);
  3364. static char *e (p, i)
  3365. char **p;
  3366. int i;
  3367. {
  3368. return p[i];
  3369. }
  3370. static char *f (char * (*g) (char **, int), char **p, ...)
  3371. {
  3372. char *s;
  3373. va_list v;
  3374. va_start (v,p);
  3375. s = g (p, va_arg (v,int));
  3376. va_end (v);
  3377. return s;
  3378. }
  3379. /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
  3380. function prototypes and stuff, but not '\xHH' hex character constants.
  3381. These don't provoke an error unfortunately, instead are silently treated
  3382. as 'x'. The following induces an error, until -std is added to get
  3383. proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
  3384. array size at least. It's necessary to write '\x00'==0 to get something
  3385. that's true only with -std. */
  3386. int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  3387. /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  3388. inside strings and character constants. */
  3389. #define FOO(x) 'x'
  3390. int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  3391. int test (int i, double x);
  3392. struct s1 {int (*f) (int a);};
  3393. struct s2 {int (*f) (double a);};
  3394. int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  3395. int argc;
  3396. char **argv;
  3397. int
  3398. main ()
  3399. {
  3400. return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
  3401. ;
  3402. return 0;
  3403. }
  3404. _ACEOF
  3405. for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  3406. -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  3407. do
  3408. CC="$ac_save_CC $ac_arg"
  3409. if ac_fn_c_try_compile "$LINENO"; then :
  3410. ac_cv_prog_cc_c89=$ac_arg
  3411. fi
  3412. rm -f core conftest.err conftest.$ac_objext
  3413. test "x$ac_cv_prog_cc_c89" != "xno" && break
  3414. done
  3415. rm -f conftest.$ac_ext
  3416. CC=$ac_save_CC
  3417. fi
  3418. # AC_CACHE_VAL
  3419. case "x$ac_cv_prog_cc_c89" in
  3420. x)
  3421. { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
  3422. $as_echo "none needed" >&6; } ;;
  3423. xno)
  3424. { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
  3425. $as_echo "unsupported" >&6; } ;;
  3426. *)
  3427. CC="$CC $ac_cv_prog_cc_c89"
  3428. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
  3429. $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
  3430. esac
  3431. if test "x$ac_cv_prog_cc_c89" != xno; then :
  3432. fi
  3433. ac_ext=c
  3434. ac_cpp='$CPP $CPPFLAGS'
  3435. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3436. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3437. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3438. ac_ext=c
  3439. ac_cpp='$CPP $CPPFLAGS'
  3440. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3441. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3442. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3443. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
  3444. $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
  3445. if ${am_cv_prog_cc_c_o+:} false; then :
  3446. $as_echo_n "(cached) " >&6
  3447. else
  3448. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3449. /* end confdefs.h. */
  3450. int
  3451. main ()
  3452. {
  3453. ;
  3454. return 0;
  3455. }
  3456. _ACEOF
  3457. # Make sure it works both with $CC and with simple cc.
  3458. # Following AC_PROG_CC_C_O, we do the test twice because some
  3459. # compilers refuse to overwrite an existing .o file with -o,
  3460. # though they will create one.
  3461. am_cv_prog_cc_c_o=yes
  3462. for am_i in 1 2; do
  3463. if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
  3464. ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
  3465. ac_status=$?
  3466. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3467. (exit $ac_status); } \
  3468. && test -f conftest2.$ac_objext; then
  3469. : OK
  3470. else
  3471. am_cv_prog_cc_c_o=no
  3472. break
  3473. fi
  3474. done
  3475. rm -f core conftest*
  3476. unset am_i
  3477. fi
  3478. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
  3479. $as_echo "$am_cv_prog_cc_c_o" >&6; }
  3480. if test "$am_cv_prog_cc_c_o" != yes; then
  3481. # Losing compiler, so override with the script.
  3482. # FIXME: It is wrong to rewrite CC.
  3483. # But if we don't then we get into trouble of one sort or another.
  3484. # A longer-term fix would be to have automake use am__CC in this case,
  3485. # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
  3486. CC="$am_aux_dir/compile $CC"
  3487. fi
  3488. ac_ext=c
  3489. ac_cpp='$CPP $CPPFLAGS'
  3490. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3491. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3492. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3493. depcc="$CC" am_compiler_list=
  3494. { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
  3495. $as_echo_n "checking dependency style of $depcc... " >&6; }
  3496. if ${am_cv_CC_dependencies_compiler_type+:} false; then :
  3497. $as_echo_n "(cached) " >&6
  3498. else
  3499. if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  3500. # We make a subdir and do the tests there. Otherwise we can end up
  3501. # making bogus files that we don't know about and never remove. For
  3502. # instance it was reported that on HP-UX the gcc test will end up
  3503. # making a dummy file named 'D' -- because '-MD' means "put the output
  3504. # in D".
  3505. rm -rf conftest.dir
  3506. mkdir conftest.dir
  3507. # Copy depcomp to subdir because otherwise we won't find it if we're
  3508. # using a relative directory.
  3509. cp "$am_depcomp" conftest.dir
  3510. cd conftest.dir
  3511. # We will build objects and dependencies in a subdirectory because
  3512. # it helps to detect inapplicable dependency modes. For instance
  3513. # both Tru64's cc and ICC support -MD to output dependencies as a
  3514. # side effect of compilation, but ICC will put the dependencies in
  3515. # the current directory while Tru64 will put them in the object
  3516. # directory.
  3517. mkdir sub
  3518. am_cv_CC_dependencies_compiler_type=none
  3519. if test "$am_compiler_list" = ""; then
  3520. am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  3521. fi
  3522. am__universal=false
  3523. case " $depcc " in #(
  3524. *\ -arch\ *\ -arch\ *) am__universal=true ;;
  3525. esac
  3526. for depmode in $am_compiler_list; do
  3527. # Setup a source with many dependencies, because some compilers
  3528. # like to wrap large dependency lists on column 80 (with \), and
  3529. # we should not choose a depcomp mode which is confused by this.
  3530. #
  3531. # We need to recreate these files for each test, as the compiler may
  3532. # overwrite some of them when testing with obscure command lines.
  3533. # This happens at least with the AIX C compiler.
  3534. : > sub/conftest.c
  3535. for i in 1 2 3 4 5 6; do
  3536. echo '#include "conftst'$i'.h"' >> sub/conftest.c
  3537. # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
  3538. # Solaris 10 /bin/sh.
  3539. echo '/* dummy */' > sub/conftst$i.h
  3540. done
  3541. echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  3542. # We check with '-c' and '-o' for the sake of the "dashmstdout"
  3543. # mode. It turns out that the SunPro C++ compiler does not properly
  3544. # handle '-M -o', and we need to detect this. Also, some Intel
  3545. # versions had trouble with output in subdirs.
  3546. am__obj=sub/conftest.${OBJEXT-o}
  3547. am__minus_obj="-o $am__obj"
  3548. case $depmode in
  3549. gcc)
  3550. # This depmode causes a compiler race in universal mode.
  3551. test "$am__universal" = false || continue
  3552. ;;
  3553. nosideeffect)
  3554. # After this tag, mechanisms are not by side-effect, so they'll
  3555. # only be used when explicitly requested.
  3556. if test "x$enable_dependency_tracking" = xyes; then
  3557. continue
  3558. else
  3559. break
  3560. fi
  3561. ;;
  3562. msvc7 | msvc7msys | msvisualcpp | msvcmsys)
  3563. # This compiler won't grok '-c -o', but also, the minuso test has
  3564. # not run yet. These depmodes are late enough in the game, and
  3565. # so weak that their functioning should not be impacted.
  3566. am__obj=conftest.${OBJEXT-o}
  3567. am__minus_obj=
  3568. ;;
  3569. none) break ;;
  3570. esac
  3571. if depmode=$depmode \
  3572. source=sub/conftest.c object=$am__obj \
  3573. depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  3574. $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
  3575. >/dev/null 2>conftest.err &&
  3576. grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
  3577. grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  3578. grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
  3579. ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  3580. # icc doesn't choke on unknown options, it will just issue warnings
  3581. # or remarks (even with -Werror). So we grep stderr for any message
  3582. # that says an option was ignored or not supported.
  3583. # When given -MP, icc 7.0 and 7.1 complain thusly:
  3584. # icc: Command line warning: ignoring option '-M'; no argument required
  3585. # The diagnosis changed in icc 8.0:
  3586. # icc: Command line remark: option '-MP' not supported
  3587. if (grep 'ignoring option' conftest.err ||
  3588. grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  3589. am_cv_CC_dependencies_compiler_type=$depmode
  3590. break
  3591. fi
  3592. fi
  3593. done
  3594. cd ..
  3595. rm -rf conftest.dir
  3596. else
  3597. am_cv_CC_dependencies_compiler_type=none
  3598. fi
  3599. fi
  3600. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
  3601. $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
  3602. CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  3603. if
  3604. test "x$enable_dependency_tracking" != xno \
  3605. && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  3606. am__fastdepCC_TRUE=
  3607. am__fastdepCC_FALSE='#'
  3608. else
  3609. am__fastdepCC_TRUE='#'
  3610. am__fastdepCC_FALSE=
  3611. fi
  3612. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
  3613. $as_echo_n "checking for a sed that does not truncate output... " >&6; }
  3614. if ${ac_cv_path_SED+:} false; then :
  3615. $as_echo_n "(cached) " >&6
  3616. else
  3617. ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
  3618. for ac_i in 1 2 3 4 5 6 7; do
  3619. ac_script="$ac_script$as_nl$ac_script"
  3620. done
  3621. echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
  3622. { ac_script=; unset ac_script;}
  3623. if test -z "$SED"; then
  3624. ac_path_SED_found=false
  3625. # Loop through the user's path and test for each of PROGNAME-LIST
  3626. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3627. for as_dir in $PATH
  3628. do
  3629. IFS=$as_save_IFS
  3630. test -z "$as_dir" && as_dir=.
  3631. for ac_prog in sed gsed; do
  3632. for ac_exec_ext in '' $ac_executable_extensions; do
  3633. ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
  3634. as_fn_executable_p "$ac_path_SED" || continue
  3635. # Check for GNU ac_path_SED and select it if it is found.
  3636. # Check for GNU $ac_path_SED
  3637. case `"$ac_path_SED" --version 2>&1` in
  3638. *GNU*)
  3639. ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
  3640. *)
  3641. ac_count=0
  3642. $as_echo_n 0123456789 >"conftest.in"
  3643. while :
  3644. do
  3645. cat "conftest.in" "conftest.in" >"conftest.tmp"
  3646. mv "conftest.tmp" "conftest.in"
  3647. cp "conftest.in" "conftest.nl"
  3648. $as_echo '' >> "conftest.nl"
  3649. "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
  3650. diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  3651. as_fn_arith $ac_count + 1 && ac_count=$as_val
  3652. if test $ac_count -gt ${ac_path_SED_max-0}; then
  3653. # Best one so far, save it but keep looking for a better one
  3654. ac_cv_path_SED="$ac_path_SED"
  3655. ac_path_SED_max=$ac_count
  3656. fi
  3657. # 10*(2^10) chars as input seems more than enough
  3658. test $ac_count -gt 10 && break
  3659. done
  3660. rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  3661. esac
  3662. $ac_path_SED_found && break 3
  3663. done
  3664. done
  3665. done
  3666. IFS=$as_save_IFS
  3667. if test -z "$ac_cv_path_SED"; then
  3668. as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
  3669. fi
  3670. else
  3671. ac_cv_path_SED=$SED
  3672. fi
  3673. fi
  3674. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
  3675. $as_echo "$ac_cv_path_SED" >&6; }
  3676. SED="$ac_cv_path_SED"
  3677. rm -f conftest.sed
  3678. test -z "$SED" && SED=sed
  3679. Xsed="$SED -e 1s/^X//"
  3680. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
  3681. $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
  3682. if ${ac_cv_path_GREP+:} false; then :
  3683. $as_echo_n "(cached) " >&6
  3684. else
  3685. if test -z "$GREP"; then
  3686. ac_path_GREP_found=false
  3687. # Loop through the user's path and test for each of PROGNAME-LIST
  3688. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3689. for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  3690. do
  3691. IFS=$as_save_IFS
  3692. test -z "$as_dir" && as_dir=.
  3693. for ac_prog in grep ggrep; do
  3694. for ac_exec_ext in '' $ac_executable_extensions; do
  3695. ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
  3696. as_fn_executable_p "$ac_path_GREP" || continue
  3697. # Check for GNU ac_path_GREP and select it if it is found.
  3698. # Check for GNU $ac_path_GREP
  3699. case `"$ac_path_GREP" --version 2>&1` in
  3700. *GNU*)
  3701. ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
  3702. *)
  3703. ac_count=0
  3704. $as_echo_n 0123456789 >"conftest.in"
  3705. while :
  3706. do
  3707. cat "conftest.in" "conftest.in" >"conftest.tmp"
  3708. mv "conftest.tmp" "conftest.in"
  3709. cp "conftest.in" "conftest.nl"
  3710. $as_echo 'GREP' >> "conftest.nl"
  3711. "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  3712. diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  3713. as_fn_arith $ac_count + 1 && ac_count=$as_val
  3714. if test $ac_count -gt ${ac_path_GREP_max-0}; then
  3715. # Best one so far, save it but keep looking for a better one
  3716. ac_cv_path_GREP="$ac_path_GREP"
  3717. ac_path_GREP_max=$ac_count
  3718. fi
  3719. # 10*(2^10) chars as input seems more than enough
  3720. test $ac_count -gt 10 && break
  3721. done
  3722. rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  3723. esac
  3724. $ac_path_GREP_found && break 3
  3725. done
  3726. done
  3727. done
  3728. IFS=$as_save_IFS
  3729. if test -z "$ac_cv_path_GREP"; then
  3730. as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  3731. fi
  3732. else
  3733. ac_cv_path_GREP=$GREP
  3734. fi
  3735. fi
  3736. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
  3737. $as_echo "$ac_cv_path_GREP" >&6; }
  3738. GREP="$ac_cv_path_GREP"
  3739. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
  3740. $as_echo_n "checking for egrep... " >&6; }
  3741. if ${ac_cv_path_EGREP+:} false; then :
  3742. $as_echo_n "(cached) " >&6
  3743. else
  3744. if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
  3745. then ac_cv_path_EGREP="$GREP -E"
  3746. else
  3747. if test -z "$EGREP"; then
  3748. ac_path_EGREP_found=false
  3749. # Loop through the user's path and test for each of PROGNAME-LIST
  3750. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3751. for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  3752. do
  3753. IFS=$as_save_IFS
  3754. test -z "$as_dir" && as_dir=.
  3755. for ac_prog in egrep; do
  3756. for ac_exec_ext in '' $ac_executable_extensions; do
  3757. ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
  3758. as_fn_executable_p "$ac_path_EGREP" || continue
  3759. # Check for GNU ac_path_EGREP and select it if it is found.
  3760. # Check for GNU $ac_path_EGREP
  3761. case `"$ac_path_EGREP" --version 2>&1` in
  3762. *GNU*)
  3763. ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
  3764. *)
  3765. ac_count=0
  3766. $as_echo_n 0123456789 >"conftest.in"
  3767. while :
  3768. do
  3769. cat "conftest.in" "conftest.in" >"conftest.tmp"
  3770. mv "conftest.tmp" "conftest.in"
  3771. cp "conftest.in" "conftest.nl"
  3772. $as_echo 'EGREP' >> "conftest.nl"
  3773. "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  3774. diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  3775. as_fn_arith $ac_count + 1 && ac_count=$as_val
  3776. if test $ac_count -gt ${ac_path_EGREP_max-0}; then
  3777. # Best one so far, save it but keep looking for a better one
  3778. ac_cv_path_EGREP="$ac_path_EGREP"
  3779. ac_path_EGREP_max=$ac_count
  3780. fi
  3781. # 10*(2^10) chars as input seems more than enough
  3782. test $ac_count -gt 10 && break
  3783. done
  3784. rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  3785. esac
  3786. $ac_path_EGREP_found && break 3
  3787. done
  3788. done
  3789. done
  3790. IFS=$as_save_IFS
  3791. if test -z "$ac_cv_path_EGREP"; then
  3792. as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  3793. fi
  3794. else
  3795. ac_cv_path_EGREP=$EGREP
  3796. fi
  3797. fi
  3798. fi
  3799. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
  3800. $as_echo "$ac_cv_path_EGREP" >&6; }
  3801. EGREP="$ac_cv_path_EGREP"
  3802. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
  3803. $as_echo_n "checking for fgrep... " >&6; }
  3804. if ${ac_cv_path_FGREP+:} false; then :
  3805. $as_echo_n "(cached) " >&6
  3806. else
  3807. if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
  3808. then ac_cv_path_FGREP="$GREP -F"
  3809. else
  3810. if test -z "$FGREP"; then
  3811. ac_path_FGREP_found=false
  3812. # Loop through the user's path and test for each of PROGNAME-LIST
  3813. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3814. for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  3815. do
  3816. IFS=$as_save_IFS
  3817. test -z "$as_dir" && as_dir=.
  3818. for ac_prog in fgrep; do
  3819. for ac_exec_ext in '' $ac_executable_extensions; do
  3820. ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
  3821. as_fn_executable_p "$ac_path_FGREP" || continue
  3822. # Check for GNU ac_path_FGREP and select it if it is found.
  3823. # Check for GNU $ac_path_FGREP
  3824. case `"$ac_path_FGREP" --version 2>&1` in
  3825. *GNU*)
  3826. ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
  3827. *)
  3828. ac_count=0
  3829. $as_echo_n 0123456789 >"conftest.in"
  3830. while :
  3831. do
  3832. cat "conftest.in" "conftest.in" >"conftest.tmp"
  3833. mv "conftest.tmp" "conftest.in"
  3834. cp "conftest.in" "conftest.nl"
  3835. $as_echo 'FGREP' >> "conftest.nl"
  3836. "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
  3837. diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  3838. as_fn_arith $ac_count + 1 && ac_count=$as_val
  3839. if test $ac_count -gt ${ac_path_FGREP_max-0}; then
  3840. # Best one so far, save it but keep looking for a better one
  3841. ac_cv_path_FGREP="$ac_path_FGREP"
  3842. ac_path_FGREP_max=$ac_count
  3843. fi
  3844. # 10*(2^10) chars as input seems more than enough
  3845. test $ac_count -gt 10 && break
  3846. done
  3847. rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  3848. esac
  3849. $ac_path_FGREP_found && break 3
  3850. done
  3851. done
  3852. done
  3853. IFS=$as_save_IFS
  3854. if test -z "$ac_cv_path_FGREP"; then
  3855. as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  3856. fi
  3857. else
  3858. ac_cv_path_FGREP=$FGREP
  3859. fi
  3860. fi
  3861. fi
  3862. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
  3863. $as_echo "$ac_cv_path_FGREP" >&6; }
  3864. FGREP="$ac_cv_path_FGREP"
  3865. test -z "$GREP" && GREP=grep
  3866. # Check whether --with-gnu-ld was given.
  3867. if test "${with_gnu_ld+set}" = set; then :
  3868. withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
  3869. else
  3870. with_gnu_ld=no
  3871. fi
  3872. ac_prog=ld
  3873. if test yes = "$GCC"; then
  3874. # Check if gcc -print-prog-name=ld gives a path.
  3875. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
  3876. $as_echo_n "checking for ld used by $CC... " >&6; }
  3877. case $host in
  3878. *-*-mingw*)
  3879. # gcc leaves a trailing carriage return, which upsets mingw
  3880. ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
  3881. *)
  3882. ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
  3883. esac
  3884. case $ac_prog in
  3885. # Accept absolute paths.
  3886. [\\/]* | ?:[\\/]*)
  3887. re_direlt='/[^/][^/]*/\.\./'
  3888. # Canonicalize the pathname of ld
  3889. ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
  3890. while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
  3891. ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
  3892. done
  3893. test -z "$LD" && LD=$ac_prog
  3894. ;;
  3895. "")
  3896. # If it fails, then pretend we aren't using GCC.
  3897. ac_prog=ld
  3898. ;;
  3899. *)
  3900. # If it is relative, then search for the first ld in PATH.
  3901. with_gnu_ld=unknown
  3902. ;;
  3903. esac
  3904. elif test yes = "$with_gnu_ld"; then
  3905. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
  3906. $as_echo_n "checking for GNU ld... " >&6; }
  3907. else
  3908. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
  3909. $as_echo_n "checking for non-GNU ld... " >&6; }
  3910. fi
  3911. if ${lt_cv_path_LD+:} false; then :
  3912. $as_echo_n "(cached) " >&6
  3913. else
  3914. if test -z "$LD"; then
  3915. lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
  3916. for ac_dir in $PATH; do
  3917. IFS=$lt_save_ifs
  3918. test -z "$ac_dir" && ac_dir=.
  3919. if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
  3920. lt_cv_path_LD=$ac_dir/$ac_prog
  3921. # Check to see if the program is GNU ld. I'd rather use --version,
  3922. # but apparently some variants of GNU ld only accept -v.
  3923. # Break only if it was the GNU/non-GNU ld that we prefer.
  3924. case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
  3925. *GNU* | *'with BFD'*)
  3926. test no != "$with_gnu_ld" && break
  3927. ;;
  3928. *)
  3929. test yes != "$with_gnu_ld" && break
  3930. ;;
  3931. esac
  3932. fi
  3933. done
  3934. IFS=$lt_save_ifs
  3935. else
  3936. lt_cv_path_LD=$LD # Let the user override the test with a path.
  3937. fi
  3938. fi
  3939. LD=$lt_cv_path_LD
  3940. if test -n "$LD"; then
  3941. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
  3942. $as_echo "$LD" >&6; }
  3943. else
  3944. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3945. $as_echo "no" >&6; }
  3946. fi
  3947. test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
  3948. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
  3949. $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
  3950. if ${lt_cv_prog_gnu_ld+:} false; then :
  3951. $as_echo_n "(cached) " >&6
  3952. else
  3953. # I'd rather use --version here, but apparently some GNU lds only accept -v.
  3954. case `$LD -v 2>&1 </dev/null` in
  3955. *GNU* | *'with BFD'*)
  3956. lt_cv_prog_gnu_ld=yes
  3957. ;;
  3958. *)
  3959. lt_cv_prog_gnu_ld=no
  3960. ;;
  3961. esac
  3962. fi
  3963. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
  3964. $as_echo "$lt_cv_prog_gnu_ld" >&6; }
  3965. with_gnu_ld=$lt_cv_prog_gnu_ld
  3966. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
  3967. $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
  3968. if ${lt_cv_path_NM+:} false; then :
  3969. $as_echo_n "(cached) " >&6
  3970. else
  3971. if test -n "$NM"; then
  3972. # Let the user override the test.
  3973. lt_cv_path_NM=$NM
  3974. else
  3975. lt_nm_to_check=${ac_tool_prefix}nm
  3976. if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
  3977. lt_nm_to_check="$lt_nm_to_check nm"
  3978. fi
  3979. for lt_tmp_nm in $lt_nm_to_check; do
  3980. lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
  3981. for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
  3982. IFS=$lt_save_ifs
  3983. test -z "$ac_dir" && ac_dir=.
  3984. tmp_nm=$ac_dir/$lt_tmp_nm
  3985. if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
  3986. # Check to see if the nm accepts a BSD-compat flag.
  3987. # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
  3988. # nm: unknown option "B" ignored
  3989. # Tru64's nm complains that /dev/null is an invalid object file
  3990. # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
  3991. case $build_os in
  3992. mingw*) lt_bad_file=conftest.nm/nofile ;;
  3993. *) lt_bad_file=/dev/null ;;
  3994. esac
  3995. case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
  3996. *$lt_bad_file* | *'Invalid file or object type'*)
  3997. lt_cv_path_NM="$tmp_nm -B"
  3998. break 2
  3999. ;;
  4000. *)
  4001. case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
  4002. */dev/null*)
  4003. lt_cv_path_NM="$tmp_nm -p"
  4004. break 2
  4005. ;;
  4006. *)
  4007. lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
  4008. continue # so that we can try to find one that supports BSD flags
  4009. ;;
  4010. esac
  4011. ;;
  4012. esac
  4013. fi
  4014. done
  4015. IFS=$lt_save_ifs
  4016. done
  4017. : ${lt_cv_path_NM=no}
  4018. fi
  4019. fi
  4020. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
  4021. $as_echo "$lt_cv_path_NM" >&6; }
  4022. if test no != "$lt_cv_path_NM"; then
  4023. NM=$lt_cv_path_NM
  4024. else
  4025. # Didn't find any BSD compatible name lister, look for dumpbin.
  4026. if test -n "$DUMPBIN"; then :
  4027. # Let the user override the test.
  4028. else
  4029. if test -n "$ac_tool_prefix"; then
  4030. for ac_prog in dumpbin "link -dump"
  4031. do
  4032. # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  4033. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  4034. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4035. $as_echo_n "checking for $ac_word... " >&6; }
  4036. if ${ac_cv_prog_DUMPBIN+:} false; then :
  4037. $as_echo_n "(cached) " >&6
  4038. else
  4039. if test -n "$DUMPBIN"; then
  4040. ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
  4041. else
  4042. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4043. for as_dir in $PATH
  4044. do
  4045. IFS=$as_save_IFS
  4046. test -z "$as_dir" && as_dir=.
  4047. for ac_exec_ext in '' $ac_executable_extensions; do
  4048. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4049. ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
  4050. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4051. break 2
  4052. fi
  4053. done
  4054. done
  4055. IFS=$as_save_IFS
  4056. fi
  4057. fi
  4058. DUMPBIN=$ac_cv_prog_DUMPBIN
  4059. if test -n "$DUMPBIN"; then
  4060. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
  4061. $as_echo "$DUMPBIN" >&6; }
  4062. else
  4063. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4064. $as_echo "no" >&6; }
  4065. fi
  4066. test -n "$DUMPBIN" && break
  4067. done
  4068. fi
  4069. if test -z "$DUMPBIN"; then
  4070. ac_ct_DUMPBIN=$DUMPBIN
  4071. for ac_prog in dumpbin "link -dump"
  4072. do
  4073. # Extract the first word of "$ac_prog", so it can be a program name with args.
  4074. set dummy $ac_prog; ac_word=$2
  4075. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4076. $as_echo_n "checking for $ac_word... " >&6; }
  4077. if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
  4078. $as_echo_n "(cached) " >&6
  4079. else
  4080. if test -n "$ac_ct_DUMPBIN"; then
  4081. ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
  4082. else
  4083. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4084. for as_dir in $PATH
  4085. do
  4086. IFS=$as_save_IFS
  4087. test -z "$as_dir" && as_dir=.
  4088. for ac_exec_ext in '' $ac_executable_extensions; do
  4089. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4090. ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
  4091. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4092. break 2
  4093. fi
  4094. done
  4095. done
  4096. IFS=$as_save_IFS
  4097. fi
  4098. fi
  4099. ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
  4100. if test -n "$ac_ct_DUMPBIN"; then
  4101. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
  4102. $as_echo "$ac_ct_DUMPBIN" >&6; }
  4103. else
  4104. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4105. $as_echo "no" >&6; }
  4106. fi
  4107. test -n "$ac_ct_DUMPBIN" && break
  4108. done
  4109. if test "x$ac_ct_DUMPBIN" = x; then
  4110. DUMPBIN=":"
  4111. else
  4112. case $cross_compiling:$ac_tool_warned in
  4113. yes:)
  4114. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  4115. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  4116. ac_tool_warned=yes ;;
  4117. esac
  4118. DUMPBIN=$ac_ct_DUMPBIN
  4119. fi
  4120. fi
  4121. case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
  4122. *COFF*)
  4123. DUMPBIN="$DUMPBIN -symbols -headers"
  4124. ;;
  4125. *)
  4126. DUMPBIN=:
  4127. ;;
  4128. esac
  4129. fi
  4130. if test : != "$DUMPBIN"; then
  4131. NM=$DUMPBIN
  4132. fi
  4133. fi
  4134. test -z "$NM" && NM=nm
  4135. { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
  4136. $as_echo_n "checking the name lister ($NM) interface... " >&6; }
  4137. if ${lt_cv_nm_interface+:} false; then :
  4138. $as_echo_n "(cached) " >&6
  4139. else
  4140. lt_cv_nm_interface="BSD nm"
  4141. echo "int some_variable = 0;" > conftest.$ac_ext
  4142. (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
  4143. (eval "$ac_compile" 2>conftest.err)
  4144. cat conftest.err >&5
  4145. (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
  4146. (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
  4147. cat conftest.err >&5
  4148. (eval echo "\"\$as_me:$LINENO: output\"" >&5)
  4149. cat conftest.out >&5
  4150. if $GREP 'External.*some_variable' conftest.out > /dev/null; then
  4151. lt_cv_nm_interface="MS dumpbin"
  4152. fi
  4153. rm -f conftest*
  4154. fi
  4155. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
  4156. $as_echo "$lt_cv_nm_interface" >&6; }
  4157. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
  4158. $as_echo_n "checking whether ln -s works... " >&6; }
  4159. LN_S=$as_ln_s
  4160. if test "$LN_S" = "ln -s"; then
  4161. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  4162. $as_echo "yes" >&6; }
  4163. else
  4164. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
  4165. $as_echo "no, using $LN_S" >&6; }
  4166. fi
  4167. # find the maximum length of command line arguments
  4168. { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
  4169. $as_echo_n "checking the maximum length of command line arguments... " >&6; }
  4170. if ${lt_cv_sys_max_cmd_len+:} false; then :
  4171. $as_echo_n "(cached) " >&6
  4172. else
  4173. i=0
  4174. teststring=ABCD
  4175. case $build_os in
  4176. msdosdjgpp*)
  4177. # On DJGPP, this test can blow up pretty badly due to problems in libc
  4178. # (any single argument exceeding 2000 bytes causes a buffer overrun
  4179. # during glob expansion). Even if it were fixed, the result of this
  4180. # check would be larger than it should be.
  4181. lt_cv_sys_max_cmd_len=12288; # 12K is about right
  4182. ;;
  4183. gnu*)
  4184. # Under GNU Hurd, this test is not required because there is
  4185. # no limit to the length of command line arguments.
  4186. # Libtool will interpret -1 as no limit whatsoever
  4187. lt_cv_sys_max_cmd_len=-1;
  4188. ;;
  4189. cygwin* | mingw* | cegcc*)
  4190. # On Win9x/ME, this test blows up -- it succeeds, but takes
  4191. # about 5 minutes as the teststring grows exponentially.
  4192. # Worse, since 9x/ME are not pre-emptively multitasking,
  4193. # you end up with a "frozen" computer, even though with patience
  4194. # the test eventually succeeds (with a max line length of 256k).
  4195. # Instead, let's just punt: use the minimum linelength reported by
  4196. # all of the supported platforms: 8192 (on NT/2K/XP).
  4197. lt_cv_sys_max_cmd_len=8192;
  4198. ;;
  4199. mint*)
  4200. # On MiNT this can take a long time and run out of memory.
  4201. lt_cv_sys_max_cmd_len=8192;
  4202. ;;
  4203. amigaos*)
  4204. # On AmigaOS with pdksh, this test takes hours, literally.
  4205. # So we just punt and use a minimum line length of 8192.
  4206. lt_cv_sys_max_cmd_len=8192;
  4207. ;;
  4208. bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
  4209. # This has been around since 386BSD, at least. Likely further.
  4210. if test -x /sbin/sysctl; then
  4211. lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
  4212. elif test -x /usr/sbin/sysctl; then
  4213. lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
  4214. else
  4215. lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
  4216. fi
  4217. # And add a safety zone
  4218. lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
  4219. lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
  4220. ;;
  4221. interix*)
  4222. # We know the value 262144 and hardcode it with a safety zone (like BSD)
  4223. lt_cv_sys_max_cmd_len=196608
  4224. ;;
  4225. os2*)
  4226. # The test takes a long time on OS/2.
  4227. lt_cv_sys_max_cmd_len=8192
  4228. ;;
  4229. osf*)
  4230. # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
  4231. # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
  4232. # nice to cause kernel panics so lets avoid the loop below.
  4233. # First set a reasonable default.
  4234. lt_cv_sys_max_cmd_len=16384
  4235. #
  4236. if test -x /sbin/sysconfig; then
  4237. case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
  4238. *1*) lt_cv_sys_max_cmd_len=-1 ;;
  4239. esac
  4240. fi
  4241. ;;
  4242. sco3.2v5*)
  4243. lt_cv_sys_max_cmd_len=102400
  4244. ;;
  4245. sysv5* | sco5v6* | sysv4.2uw2*)
  4246. kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
  4247. if test -n "$kargmax"; then
  4248. lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
  4249. else
  4250. lt_cv_sys_max_cmd_len=32768
  4251. fi
  4252. ;;
  4253. *)
  4254. lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
  4255. if test -n "$lt_cv_sys_max_cmd_len" && \
  4256. test undefined != "$lt_cv_sys_max_cmd_len"; then
  4257. lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
  4258. lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
  4259. else
  4260. # Make teststring a little bigger before we do anything with it.
  4261. # a 1K string should be a reasonable start.
  4262. for i in 1 2 3 4 5 6 7 8; do
  4263. teststring=$teststring$teststring
  4264. done
  4265. SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
  4266. # If test is not a shell built-in, we'll probably end up computing a
  4267. # maximum length that is only half of the actual maximum length, but
  4268. # we can't tell.
  4269. while { test X`env echo "$teststring$teststring" 2>/dev/null` \
  4270. = "X$teststring$teststring"; } >/dev/null 2>&1 &&
  4271. test 17 != "$i" # 1/2 MB should be enough
  4272. do
  4273. i=`expr $i + 1`
  4274. teststring=$teststring$teststring
  4275. done
  4276. # Only check the string length outside the loop.
  4277. lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
  4278. teststring=
  4279. # Add a significant safety factor because C++ compilers can tack on
  4280. # massive amounts of additional arguments before passing them to the
  4281. # linker. It appears as though 1/2 is a usable value.
  4282. lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
  4283. fi
  4284. ;;
  4285. esac
  4286. fi
  4287. if test -n "$lt_cv_sys_max_cmd_len"; then
  4288. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
  4289. $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
  4290. else
  4291. { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
  4292. $as_echo "none" >&6; }
  4293. fi
  4294. max_cmd_len=$lt_cv_sys_max_cmd_len
  4295. : ${CP="cp -f"}
  4296. : ${MV="mv -f"}
  4297. : ${RM="rm -f"}
  4298. if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
  4299. lt_unset=unset
  4300. else
  4301. lt_unset=false
  4302. fi
  4303. # test EBCDIC or ASCII
  4304. case `echo X|tr X '\101'` in
  4305. A) # ASCII based system
  4306. # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
  4307. lt_SP2NL='tr \040 \012'
  4308. lt_NL2SP='tr \015\012 \040\040'
  4309. ;;
  4310. *) # EBCDIC based system
  4311. lt_SP2NL='tr \100 \n'
  4312. lt_NL2SP='tr \r\n \100\100'
  4313. ;;
  4314. esac
  4315. { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
  4316. $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
  4317. if ${lt_cv_to_host_file_cmd+:} false; then :
  4318. $as_echo_n "(cached) " >&6
  4319. else
  4320. case $host in
  4321. *-*-mingw* )
  4322. case $build in
  4323. *-*-mingw* ) # actually msys
  4324. lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
  4325. ;;
  4326. *-*-cygwin* )
  4327. lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
  4328. ;;
  4329. * ) # otherwise, assume *nix
  4330. lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
  4331. ;;
  4332. esac
  4333. ;;
  4334. *-*-cygwin* )
  4335. case $build in
  4336. *-*-mingw* ) # actually msys
  4337. lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
  4338. ;;
  4339. *-*-cygwin* )
  4340. lt_cv_to_host_file_cmd=func_convert_file_noop
  4341. ;;
  4342. * ) # otherwise, assume *nix
  4343. lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
  4344. ;;
  4345. esac
  4346. ;;
  4347. * ) # unhandled hosts (and "normal" native builds)
  4348. lt_cv_to_host_file_cmd=func_convert_file_noop
  4349. ;;
  4350. esac
  4351. fi
  4352. to_host_file_cmd=$lt_cv_to_host_file_cmd
  4353. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
  4354. $as_echo "$lt_cv_to_host_file_cmd" >&6; }
  4355. { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
  4356. $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
  4357. if ${lt_cv_to_tool_file_cmd+:} false; then :
  4358. $as_echo_n "(cached) " >&6
  4359. else
  4360. #assume ordinary cross tools, or native build.
  4361. lt_cv_to_tool_file_cmd=func_convert_file_noop
  4362. case $host in
  4363. *-*-mingw* )
  4364. case $build in
  4365. *-*-mingw* ) # actually msys
  4366. lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
  4367. ;;
  4368. esac
  4369. ;;
  4370. esac
  4371. fi
  4372. to_tool_file_cmd=$lt_cv_to_tool_file_cmd
  4373. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
  4374. $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
  4375. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
  4376. $as_echo_n "checking for $LD option to reload object files... " >&6; }
  4377. if ${lt_cv_ld_reload_flag+:} false; then :
  4378. $as_echo_n "(cached) " >&6
  4379. else
  4380. lt_cv_ld_reload_flag='-r'
  4381. fi
  4382. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
  4383. $as_echo "$lt_cv_ld_reload_flag" >&6; }
  4384. reload_flag=$lt_cv_ld_reload_flag
  4385. case $reload_flag in
  4386. "" | " "*) ;;
  4387. *) reload_flag=" $reload_flag" ;;
  4388. esac
  4389. reload_cmds='$LD$reload_flag -o $output$reload_objs'
  4390. case $host_os in
  4391. cygwin* | mingw* | pw32* | cegcc*)
  4392. if test yes != "$GCC"; then
  4393. reload_cmds=false
  4394. fi
  4395. ;;
  4396. darwin*)
  4397. if test yes = "$GCC"; then
  4398. reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
  4399. else
  4400. reload_cmds='$LD$reload_flag -o $output$reload_objs'
  4401. fi
  4402. ;;
  4403. esac
  4404. if test -n "$ac_tool_prefix"; then
  4405. # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
  4406. set dummy ${ac_tool_prefix}objdump; ac_word=$2
  4407. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4408. $as_echo_n "checking for $ac_word... " >&6; }
  4409. if ${ac_cv_prog_OBJDUMP+:} false; then :
  4410. $as_echo_n "(cached) " >&6
  4411. else
  4412. if test -n "$OBJDUMP"; then
  4413. ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
  4414. else
  4415. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4416. for as_dir in $PATH
  4417. do
  4418. IFS=$as_save_IFS
  4419. test -z "$as_dir" && as_dir=.
  4420. for ac_exec_ext in '' $ac_executable_extensions; do
  4421. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4422. ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
  4423. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4424. break 2
  4425. fi
  4426. done
  4427. done
  4428. IFS=$as_save_IFS
  4429. fi
  4430. fi
  4431. OBJDUMP=$ac_cv_prog_OBJDUMP
  4432. if test -n "$OBJDUMP"; then
  4433. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
  4434. $as_echo "$OBJDUMP" >&6; }
  4435. else
  4436. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4437. $as_echo "no" >&6; }
  4438. fi
  4439. fi
  4440. if test -z "$ac_cv_prog_OBJDUMP"; then
  4441. ac_ct_OBJDUMP=$OBJDUMP
  4442. # Extract the first word of "objdump", so it can be a program name with args.
  4443. set dummy objdump; ac_word=$2
  4444. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4445. $as_echo_n "checking for $ac_word... " >&6; }
  4446. if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
  4447. $as_echo_n "(cached) " >&6
  4448. else
  4449. if test -n "$ac_ct_OBJDUMP"; then
  4450. ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
  4451. else
  4452. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4453. for as_dir in $PATH
  4454. do
  4455. IFS=$as_save_IFS
  4456. test -z "$as_dir" && as_dir=.
  4457. for ac_exec_ext in '' $ac_executable_extensions; do
  4458. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4459. ac_cv_prog_ac_ct_OBJDUMP="objdump"
  4460. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4461. break 2
  4462. fi
  4463. done
  4464. done
  4465. IFS=$as_save_IFS
  4466. fi
  4467. fi
  4468. ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
  4469. if test -n "$ac_ct_OBJDUMP"; then
  4470. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
  4471. $as_echo "$ac_ct_OBJDUMP" >&6; }
  4472. else
  4473. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4474. $as_echo "no" >&6; }
  4475. fi
  4476. if test "x$ac_ct_OBJDUMP" = x; then
  4477. OBJDUMP="false"
  4478. else
  4479. case $cross_compiling:$ac_tool_warned in
  4480. yes:)
  4481. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  4482. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  4483. ac_tool_warned=yes ;;
  4484. esac
  4485. OBJDUMP=$ac_ct_OBJDUMP
  4486. fi
  4487. else
  4488. OBJDUMP="$ac_cv_prog_OBJDUMP"
  4489. fi
  4490. test -z "$OBJDUMP" && OBJDUMP=objdump
  4491. { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
  4492. $as_echo_n "checking how to recognize dependent libraries... " >&6; }
  4493. if ${lt_cv_deplibs_check_method+:} false; then :
  4494. $as_echo_n "(cached) " >&6
  4495. else
  4496. lt_cv_file_magic_cmd='$MAGIC_CMD'
  4497. lt_cv_file_magic_test_file=
  4498. lt_cv_deplibs_check_method='unknown'
  4499. # Need to set the preceding variable on all platforms that support
  4500. # interlibrary dependencies.
  4501. # 'none' -- dependencies not supported.
  4502. # 'unknown' -- same as none, but documents that we really don't know.
  4503. # 'pass_all' -- all dependencies passed with no checks.
  4504. # 'test_compile' -- check by making test program.
  4505. # 'file_magic [[regex]]' -- check by looking for files in library path
  4506. # that responds to the $file_magic_cmd with a given extended regex.
  4507. # If you have 'file' or equivalent on your system and you're not sure
  4508. # whether 'pass_all' will *always* work, you probably want this one.
  4509. case $host_os in
  4510. aix[4-9]*)
  4511. lt_cv_deplibs_check_method=pass_all
  4512. ;;
  4513. beos*)
  4514. lt_cv_deplibs_check_method=pass_all
  4515. ;;
  4516. bsdi[45]*)
  4517. lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
  4518. lt_cv_file_magic_cmd='/usr/bin/file -L'
  4519. lt_cv_file_magic_test_file=/shlib/libc.so
  4520. ;;
  4521. cygwin*)
  4522. # func_win32_libid is a shell function defined in ltmain.sh
  4523. lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
  4524. lt_cv_file_magic_cmd='func_win32_libid'
  4525. ;;
  4526. mingw* | pw32*)
  4527. # Base MSYS/MinGW do not provide the 'file' command needed by
  4528. # func_win32_libid shell function, so use a weaker test based on 'objdump',
  4529. # unless we find 'file', for example because we are cross-compiling.
  4530. if ( file / ) >/dev/null 2>&1; then
  4531. lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
  4532. lt_cv_file_magic_cmd='func_win32_libid'
  4533. else
  4534. # Keep this pattern in sync with the one in func_win32_libid.
  4535. lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
  4536. lt_cv_file_magic_cmd='$OBJDUMP -f'
  4537. fi
  4538. ;;
  4539. cegcc*)
  4540. # use the weaker test based on 'objdump'. See mingw*.
  4541. lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
  4542. lt_cv_file_magic_cmd='$OBJDUMP -f'
  4543. ;;
  4544. darwin* | rhapsody*)
  4545. lt_cv_deplibs_check_method=pass_all
  4546. ;;
  4547. freebsd* | dragonfly*)
  4548. if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
  4549. case $host_cpu in
  4550. i*86 )
  4551. # Not sure whether the presence of OpenBSD here was a mistake.
  4552. # Let's accept both of them until this is cleared up.
  4553. lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
  4554. lt_cv_file_magic_cmd=/usr/bin/file
  4555. lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
  4556. ;;
  4557. esac
  4558. else
  4559. lt_cv_deplibs_check_method=pass_all
  4560. fi
  4561. ;;
  4562. haiku*)
  4563. lt_cv_deplibs_check_method=pass_all
  4564. ;;
  4565. hpux10.20* | hpux11*)
  4566. lt_cv_file_magic_cmd=/usr/bin/file
  4567. case $host_cpu in
  4568. ia64*)
  4569. lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
  4570. lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
  4571. ;;
  4572. hppa*64*)
  4573. 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]'
  4574. lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
  4575. ;;
  4576. *)
  4577. lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
  4578. lt_cv_file_magic_test_file=/usr/lib/libc.sl
  4579. ;;
  4580. esac
  4581. ;;
  4582. interix[3-9]*)
  4583. # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
  4584. lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
  4585. ;;
  4586. irix5* | irix6* | nonstopux*)
  4587. case $LD in
  4588. *-32|*"-32 ") libmagic=32-bit;;
  4589. *-n32|*"-n32 ") libmagic=N32;;
  4590. *-64|*"-64 ") libmagic=64-bit;;
  4591. *) libmagic=never-match;;
  4592. esac
  4593. lt_cv_deplibs_check_method=pass_all
  4594. ;;
  4595. # This must be glibc/ELF.
  4596. linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
  4597. lt_cv_deplibs_check_method=pass_all
  4598. ;;
  4599. netbsd*)
  4600. if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
  4601. lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
  4602. else
  4603. lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
  4604. fi
  4605. ;;
  4606. newos6*)
  4607. lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
  4608. lt_cv_file_magic_cmd=/usr/bin/file
  4609. lt_cv_file_magic_test_file=/usr/lib/libnls.so
  4610. ;;
  4611. *nto* | *qnx*)
  4612. lt_cv_deplibs_check_method=pass_all
  4613. ;;
  4614. openbsd* | bitrig*)
  4615. if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
  4616. lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
  4617. else
  4618. lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
  4619. fi
  4620. ;;
  4621. osf3* | osf4* | osf5*)
  4622. lt_cv_deplibs_check_method=pass_all
  4623. ;;
  4624. rdos*)
  4625. lt_cv_deplibs_check_method=pass_all
  4626. ;;
  4627. solaris*)
  4628. lt_cv_deplibs_check_method=pass_all
  4629. ;;
  4630. sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  4631. lt_cv_deplibs_check_method=pass_all
  4632. ;;
  4633. sysv4 | sysv4.3*)
  4634. case $host_vendor in
  4635. motorola)
  4636. 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]'
  4637. lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
  4638. ;;
  4639. ncr)
  4640. lt_cv_deplibs_check_method=pass_all
  4641. ;;
  4642. sequent)
  4643. lt_cv_file_magic_cmd='/bin/file'
  4644. lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
  4645. ;;
  4646. sni)
  4647. lt_cv_file_magic_cmd='/bin/file'
  4648. lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
  4649. lt_cv_file_magic_test_file=/lib/libc.so
  4650. ;;
  4651. siemens)
  4652. lt_cv_deplibs_check_method=pass_all
  4653. ;;
  4654. pc)
  4655. lt_cv_deplibs_check_method=pass_all
  4656. ;;
  4657. esac
  4658. ;;
  4659. tpf*)
  4660. lt_cv_deplibs_check_method=pass_all
  4661. ;;
  4662. os2*)
  4663. lt_cv_deplibs_check_method=pass_all
  4664. ;;
  4665. esac
  4666. fi
  4667. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
  4668. $as_echo "$lt_cv_deplibs_check_method" >&6; }
  4669. file_magic_glob=
  4670. want_nocaseglob=no
  4671. if test "$build" = "$host"; then
  4672. case $host_os in
  4673. mingw* | pw32*)
  4674. if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
  4675. want_nocaseglob=yes
  4676. else
  4677. file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
  4678. fi
  4679. ;;
  4680. esac
  4681. fi
  4682. file_magic_cmd=$lt_cv_file_magic_cmd
  4683. deplibs_check_method=$lt_cv_deplibs_check_method
  4684. test -z "$deplibs_check_method" && deplibs_check_method=unknown
  4685. if test -n "$ac_tool_prefix"; then
  4686. # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
  4687. set dummy ${ac_tool_prefix}dlltool; ac_word=$2
  4688. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4689. $as_echo_n "checking for $ac_word... " >&6; }
  4690. if ${ac_cv_prog_DLLTOOL+:} false; then :
  4691. $as_echo_n "(cached) " >&6
  4692. else
  4693. if test -n "$DLLTOOL"; then
  4694. ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
  4695. else
  4696. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4697. for as_dir in $PATH
  4698. do
  4699. IFS=$as_save_IFS
  4700. test -z "$as_dir" && as_dir=.
  4701. for ac_exec_ext in '' $ac_executable_extensions; do
  4702. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4703. ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
  4704. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4705. break 2
  4706. fi
  4707. done
  4708. done
  4709. IFS=$as_save_IFS
  4710. fi
  4711. fi
  4712. DLLTOOL=$ac_cv_prog_DLLTOOL
  4713. if test -n "$DLLTOOL"; then
  4714. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
  4715. $as_echo "$DLLTOOL" >&6; }
  4716. else
  4717. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4718. $as_echo "no" >&6; }
  4719. fi
  4720. fi
  4721. if test -z "$ac_cv_prog_DLLTOOL"; then
  4722. ac_ct_DLLTOOL=$DLLTOOL
  4723. # Extract the first word of "dlltool", so it can be a program name with args.
  4724. set dummy dlltool; ac_word=$2
  4725. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4726. $as_echo_n "checking for $ac_word... " >&6; }
  4727. if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
  4728. $as_echo_n "(cached) " >&6
  4729. else
  4730. if test -n "$ac_ct_DLLTOOL"; then
  4731. ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
  4732. else
  4733. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4734. for as_dir in $PATH
  4735. do
  4736. IFS=$as_save_IFS
  4737. test -z "$as_dir" && as_dir=.
  4738. for ac_exec_ext in '' $ac_executable_extensions; do
  4739. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4740. ac_cv_prog_ac_ct_DLLTOOL="dlltool"
  4741. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4742. break 2
  4743. fi
  4744. done
  4745. done
  4746. IFS=$as_save_IFS
  4747. fi
  4748. fi
  4749. ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
  4750. if test -n "$ac_ct_DLLTOOL"; then
  4751. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
  4752. $as_echo "$ac_ct_DLLTOOL" >&6; }
  4753. else
  4754. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4755. $as_echo "no" >&6; }
  4756. fi
  4757. if test "x$ac_ct_DLLTOOL" = x; then
  4758. DLLTOOL="false"
  4759. else
  4760. case $cross_compiling:$ac_tool_warned in
  4761. yes:)
  4762. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  4763. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  4764. ac_tool_warned=yes ;;
  4765. esac
  4766. DLLTOOL=$ac_ct_DLLTOOL
  4767. fi
  4768. else
  4769. DLLTOOL="$ac_cv_prog_DLLTOOL"
  4770. fi
  4771. test -z "$DLLTOOL" && DLLTOOL=dlltool
  4772. { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
  4773. $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
  4774. if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
  4775. $as_echo_n "(cached) " >&6
  4776. else
  4777. lt_cv_sharedlib_from_linklib_cmd='unknown'
  4778. case $host_os in
  4779. cygwin* | mingw* | pw32* | cegcc*)
  4780. # two different shell functions defined in ltmain.sh;
  4781. # decide which one to use based on capabilities of $DLLTOOL
  4782. case `$DLLTOOL --help 2>&1` in
  4783. *--identify-strict*)
  4784. lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
  4785. ;;
  4786. *)
  4787. lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
  4788. ;;
  4789. esac
  4790. ;;
  4791. *)
  4792. # fallback: assume linklib IS sharedlib
  4793. lt_cv_sharedlib_from_linklib_cmd=$ECHO
  4794. ;;
  4795. esac
  4796. fi
  4797. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
  4798. $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
  4799. sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
  4800. test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
  4801. if test -n "$ac_tool_prefix"; then
  4802. for ac_prog in ar
  4803. do
  4804. # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  4805. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  4806. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4807. $as_echo_n "checking for $ac_word... " >&6; }
  4808. if ${ac_cv_prog_AR+:} false; then :
  4809. $as_echo_n "(cached) " >&6
  4810. else
  4811. if test -n "$AR"; then
  4812. ac_cv_prog_AR="$AR" # Let the user override the test.
  4813. else
  4814. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4815. for as_dir in $PATH
  4816. do
  4817. IFS=$as_save_IFS
  4818. test -z "$as_dir" && as_dir=.
  4819. for ac_exec_ext in '' $ac_executable_extensions; do
  4820. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4821. ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
  4822. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4823. break 2
  4824. fi
  4825. done
  4826. done
  4827. IFS=$as_save_IFS
  4828. fi
  4829. fi
  4830. AR=$ac_cv_prog_AR
  4831. if test -n "$AR"; then
  4832. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
  4833. $as_echo "$AR" >&6; }
  4834. else
  4835. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4836. $as_echo "no" >&6; }
  4837. fi
  4838. test -n "$AR" && break
  4839. done
  4840. fi
  4841. if test -z "$AR"; then
  4842. ac_ct_AR=$AR
  4843. for ac_prog in ar
  4844. do
  4845. # Extract the first word of "$ac_prog", so it can be a program name with args.
  4846. set dummy $ac_prog; ac_word=$2
  4847. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4848. $as_echo_n "checking for $ac_word... " >&6; }
  4849. if ${ac_cv_prog_ac_ct_AR+:} false; then :
  4850. $as_echo_n "(cached) " >&6
  4851. else
  4852. if test -n "$ac_ct_AR"; then
  4853. ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
  4854. else
  4855. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4856. for as_dir in $PATH
  4857. do
  4858. IFS=$as_save_IFS
  4859. test -z "$as_dir" && as_dir=.
  4860. for ac_exec_ext in '' $ac_executable_extensions; do
  4861. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4862. ac_cv_prog_ac_ct_AR="$ac_prog"
  4863. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4864. break 2
  4865. fi
  4866. done
  4867. done
  4868. IFS=$as_save_IFS
  4869. fi
  4870. fi
  4871. ac_ct_AR=$ac_cv_prog_ac_ct_AR
  4872. if test -n "$ac_ct_AR"; then
  4873. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
  4874. $as_echo "$ac_ct_AR" >&6; }
  4875. else
  4876. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4877. $as_echo "no" >&6; }
  4878. fi
  4879. test -n "$ac_ct_AR" && break
  4880. done
  4881. if test "x$ac_ct_AR" = x; then
  4882. AR="false"
  4883. else
  4884. case $cross_compiling:$ac_tool_warned in
  4885. yes:)
  4886. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  4887. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  4888. ac_tool_warned=yes ;;
  4889. esac
  4890. AR=$ac_ct_AR
  4891. fi
  4892. fi
  4893. : ${AR=ar}
  4894. : ${AR_FLAGS=cru}
  4895. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
  4896. $as_echo_n "checking for archiver @FILE support... " >&6; }
  4897. if ${lt_cv_ar_at_file+:} false; then :
  4898. $as_echo_n "(cached) " >&6
  4899. else
  4900. lt_cv_ar_at_file=no
  4901. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4902. /* end confdefs.h. */
  4903. int
  4904. main ()
  4905. {
  4906. ;
  4907. return 0;
  4908. }
  4909. _ACEOF
  4910. if ac_fn_c_try_compile "$LINENO"; then :
  4911. echo conftest.$ac_objext > conftest.lst
  4912. lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
  4913. { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
  4914. (eval $lt_ar_try) 2>&5
  4915. ac_status=$?
  4916. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  4917. test $ac_status = 0; }
  4918. if test 0 -eq "$ac_status"; then
  4919. # Ensure the archiver fails upon bogus file names.
  4920. rm -f conftest.$ac_objext libconftest.a
  4921. { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
  4922. (eval $lt_ar_try) 2>&5
  4923. ac_status=$?
  4924. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  4925. test $ac_status = 0; }
  4926. if test 0 -ne "$ac_status"; then
  4927. lt_cv_ar_at_file=@
  4928. fi
  4929. fi
  4930. rm -f conftest.* libconftest.a
  4931. fi
  4932. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4933. fi
  4934. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
  4935. $as_echo "$lt_cv_ar_at_file" >&6; }
  4936. if test no = "$lt_cv_ar_at_file"; then
  4937. archiver_list_spec=
  4938. else
  4939. archiver_list_spec=$lt_cv_ar_at_file
  4940. fi
  4941. if test -n "$ac_tool_prefix"; then
  4942. # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  4943. set dummy ${ac_tool_prefix}strip; ac_word=$2
  4944. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4945. $as_echo_n "checking for $ac_word... " >&6; }
  4946. if ${ac_cv_prog_STRIP+:} false; then :
  4947. $as_echo_n "(cached) " >&6
  4948. else
  4949. if test -n "$STRIP"; then
  4950. ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  4951. else
  4952. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4953. for as_dir in $PATH
  4954. do
  4955. IFS=$as_save_IFS
  4956. test -z "$as_dir" && as_dir=.
  4957. for ac_exec_ext in '' $ac_executable_extensions; do
  4958. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4959. ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  4960. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4961. break 2
  4962. fi
  4963. done
  4964. done
  4965. IFS=$as_save_IFS
  4966. fi
  4967. fi
  4968. STRIP=$ac_cv_prog_STRIP
  4969. if test -n "$STRIP"; then
  4970. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
  4971. $as_echo "$STRIP" >&6; }
  4972. else
  4973. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4974. $as_echo "no" >&6; }
  4975. fi
  4976. fi
  4977. if test -z "$ac_cv_prog_STRIP"; then
  4978. ac_ct_STRIP=$STRIP
  4979. # Extract the first word of "strip", so it can be a program name with args.
  4980. set dummy strip; ac_word=$2
  4981. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4982. $as_echo_n "checking for $ac_word... " >&6; }
  4983. if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
  4984. $as_echo_n "(cached) " >&6
  4985. else
  4986. if test -n "$ac_ct_STRIP"; then
  4987. ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  4988. else
  4989. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4990. for as_dir in $PATH
  4991. do
  4992. IFS=$as_save_IFS
  4993. test -z "$as_dir" && as_dir=.
  4994. for ac_exec_ext in '' $ac_executable_extensions; do
  4995. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4996. ac_cv_prog_ac_ct_STRIP="strip"
  4997. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4998. break 2
  4999. fi
  5000. done
  5001. done
  5002. IFS=$as_save_IFS
  5003. fi
  5004. fi
  5005. ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  5006. if test -n "$ac_ct_STRIP"; then
  5007. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
  5008. $as_echo "$ac_ct_STRIP" >&6; }
  5009. else
  5010. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5011. $as_echo "no" >&6; }
  5012. fi
  5013. if test "x$ac_ct_STRIP" = x; then
  5014. STRIP=":"
  5015. else
  5016. case $cross_compiling:$ac_tool_warned in
  5017. yes:)
  5018. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  5019. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  5020. ac_tool_warned=yes ;;
  5021. esac
  5022. STRIP=$ac_ct_STRIP
  5023. fi
  5024. else
  5025. STRIP="$ac_cv_prog_STRIP"
  5026. fi
  5027. test -z "$STRIP" && STRIP=:
  5028. if test -n "$ac_tool_prefix"; then
  5029. # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
  5030. set dummy ${ac_tool_prefix}ranlib; ac_word=$2
  5031. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5032. $as_echo_n "checking for $ac_word... " >&6; }
  5033. if ${ac_cv_prog_RANLIB+:} false; then :
  5034. $as_echo_n "(cached) " >&6
  5035. else
  5036. if test -n "$RANLIB"; then
  5037. ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
  5038. else
  5039. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5040. for as_dir in $PATH
  5041. do
  5042. IFS=$as_save_IFS
  5043. test -z "$as_dir" && as_dir=.
  5044. for ac_exec_ext in '' $ac_executable_extensions; do
  5045. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5046. ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
  5047. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5048. break 2
  5049. fi
  5050. done
  5051. done
  5052. IFS=$as_save_IFS
  5053. fi
  5054. fi
  5055. RANLIB=$ac_cv_prog_RANLIB
  5056. if test -n "$RANLIB"; then
  5057. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
  5058. $as_echo "$RANLIB" >&6; }
  5059. else
  5060. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5061. $as_echo "no" >&6; }
  5062. fi
  5063. fi
  5064. if test -z "$ac_cv_prog_RANLIB"; then
  5065. ac_ct_RANLIB=$RANLIB
  5066. # Extract the first word of "ranlib", so it can be a program name with args.
  5067. set dummy ranlib; ac_word=$2
  5068. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5069. $as_echo_n "checking for $ac_word... " >&6; }
  5070. if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
  5071. $as_echo_n "(cached) " >&6
  5072. else
  5073. if test -n "$ac_ct_RANLIB"; then
  5074. ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
  5075. else
  5076. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5077. for as_dir in $PATH
  5078. do
  5079. IFS=$as_save_IFS
  5080. test -z "$as_dir" && as_dir=.
  5081. for ac_exec_ext in '' $ac_executable_extensions; do
  5082. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5083. ac_cv_prog_ac_ct_RANLIB="ranlib"
  5084. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5085. break 2
  5086. fi
  5087. done
  5088. done
  5089. IFS=$as_save_IFS
  5090. fi
  5091. fi
  5092. ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
  5093. if test -n "$ac_ct_RANLIB"; then
  5094. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
  5095. $as_echo "$ac_ct_RANLIB" >&6; }
  5096. else
  5097. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5098. $as_echo "no" >&6; }
  5099. fi
  5100. if test "x$ac_ct_RANLIB" = x; then
  5101. RANLIB=":"
  5102. else
  5103. case $cross_compiling:$ac_tool_warned in
  5104. yes:)
  5105. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  5106. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  5107. ac_tool_warned=yes ;;
  5108. esac
  5109. RANLIB=$ac_ct_RANLIB
  5110. fi
  5111. else
  5112. RANLIB="$ac_cv_prog_RANLIB"
  5113. fi
  5114. test -z "$RANLIB" && RANLIB=:
  5115. # Determine commands to create old-style static archives.
  5116. old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
  5117. old_postinstall_cmds='chmod 644 $oldlib'
  5118. old_postuninstall_cmds=
  5119. if test -n "$RANLIB"; then
  5120. case $host_os in
  5121. bitrig* | openbsd*)
  5122. old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
  5123. ;;
  5124. *)
  5125. old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
  5126. ;;
  5127. esac
  5128. old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
  5129. fi
  5130. case $host_os in
  5131. darwin*)
  5132. lock_old_archive_extraction=yes ;;
  5133. *)
  5134. lock_old_archive_extraction=no ;;
  5135. esac
  5136. # If no C compiler was specified, use CC.
  5137. LTCC=${LTCC-"$CC"}
  5138. # If no C compiler flags were specified, use CFLAGS.
  5139. LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
  5140. # Allow CC to be a program name with arguments.
  5141. compiler=$CC
  5142. # Check for command to grab the raw symbol name followed by C symbol from nm.
  5143. { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
  5144. $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
  5145. if ${lt_cv_sys_global_symbol_pipe+:} false; then :
  5146. $as_echo_n "(cached) " >&6
  5147. else
  5148. # These are sane defaults that work on at least a few old systems.
  5149. # [They come from Ultrix. What could be older than Ultrix?!! ;)]
  5150. # Character class describing NM global symbol codes.
  5151. symcode='[BCDEGRST]'
  5152. # Regexp to match symbols that can be accessed directly from C.
  5153. sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
  5154. # Define system-specific variables.
  5155. case $host_os in
  5156. aix*)
  5157. symcode='[BCDT]'
  5158. ;;
  5159. cygwin* | mingw* | pw32* | cegcc*)
  5160. symcode='[ABCDGISTW]'
  5161. ;;
  5162. hpux*)
  5163. if test ia64 = "$host_cpu"; then
  5164. symcode='[ABCDEGRST]'
  5165. fi
  5166. ;;
  5167. irix* | nonstopux*)
  5168. symcode='[BCDEGRST]'
  5169. ;;
  5170. osf*)
  5171. symcode='[BCDEGQRST]'
  5172. ;;
  5173. solaris*)
  5174. symcode='[BDRT]'
  5175. ;;
  5176. sco3.2v5*)
  5177. symcode='[DT]'
  5178. ;;
  5179. sysv4.2uw2*)
  5180. symcode='[DT]'
  5181. ;;
  5182. sysv5* | sco5v6* | unixware* | OpenUNIX*)
  5183. symcode='[ABDT]'
  5184. ;;
  5185. sysv4)
  5186. symcode='[DFNSTU]'
  5187. ;;
  5188. esac
  5189. # If we're using GNU nm, then use its standard symbol codes.
  5190. case `$NM -V 2>&1` in
  5191. *GNU* | *'with BFD'*)
  5192. symcode='[ABCDGIRSTW]' ;;
  5193. esac
  5194. if test "$lt_cv_nm_interface" = "MS dumpbin"; then
  5195. # Gets list of data symbols to import.
  5196. lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
  5197. # Adjust the below global symbol transforms to fixup imported variables.
  5198. lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
  5199. lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
  5200. lt_c_name_lib_hook="\
  5201. -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
  5202. -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
  5203. else
  5204. # Disable hooks by default.
  5205. lt_cv_sys_global_symbol_to_import=
  5206. lt_cdecl_hook=
  5207. lt_c_name_hook=
  5208. lt_c_name_lib_hook=
  5209. fi
  5210. # Transform an extracted symbol line into a proper C declaration.
  5211. # Some systems (esp. on ia64) link data and code symbols differently,
  5212. # so use this general approach.
  5213. lt_cv_sys_global_symbol_to_cdecl="sed -n"\
  5214. $lt_cdecl_hook\
  5215. " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
  5216. " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
  5217. # Transform an extracted symbol line into symbol name and symbol address
  5218. lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
  5219. $lt_c_name_hook\
  5220. " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
  5221. " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
  5222. # Transform an extracted symbol line into symbol name with lib prefix and
  5223. # symbol address.
  5224. lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
  5225. $lt_c_name_lib_hook\
  5226. " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
  5227. " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
  5228. " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
  5229. # Handle CRLF in mingw tool chain
  5230. opt_cr=
  5231. case $build_os in
  5232. mingw*)
  5233. opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
  5234. ;;
  5235. esac
  5236. # Try without a prefix underscore, then with it.
  5237. for ac_symprfx in "" "_"; do
  5238. # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
  5239. symxfrm="\\1 $ac_symprfx\\2 \\2"
  5240. # Write the raw and C identifiers.
  5241. if test "$lt_cv_nm_interface" = "MS dumpbin"; then
  5242. # Fake it for dumpbin and say T for any non-static function,
  5243. # D for any global variable and I for any imported variable.
  5244. # Also find C++ and __fastcall symbols from MSVC++,
  5245. # which start with @ or ?.
  5246. lt_cv_sys_global_symbol_pipe="$AWK '"\
  5247. " {last_section=section; section=\$ 3};"\
  5248. " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
  5249. " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
  5250. " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
  5251. " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
  5252. " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
  5253. " \$ 0!~/External *\|/{next};"\
  5254. " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
  5255. " {if(hide[section]) next};"\
  5256. " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
  5257. " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
  5258. " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
  5259. " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
  5260. " ' prfx=^$ac_symprfx"
  5261. else
  5262. lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
  5263. fi
  5264. lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
  5265. # Check to see that the pipe works correctly.
  5266. pipe_works=no
  5267. rm -f conftest*
  5268. cat > conftest.$ac_ext <<_LT_EOF
  5269. #ifdef __cplusplus
  5270. extern "C" {
  5271. #endif
  5272. char nm_test_var;
  5273. void nm_test_func(void);
  5274. void nm_test_func(void){}
  5275. #ifdef __cplusplus
  5276. }
  5277. #endif
  5278. int main(){nm_test_var='a';nm_test_func();return(0);}
  5279. _LT_EOF
  5280. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  5281. (eval $ac_compile) 2>&5
  5282. ac_status=$?
  5283. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  5284. test $ac_status = 0; }; then
  5285. # Now try to grab the symbols.
  5286. nlist=conftest.nm
  5287. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
  5288. (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
  5289. ac_status=$?
  5290. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  5291. test $ac_status = 0; } && test -s "$nlist"; then
  5292. # Try sorting and uniquifying the output.
  5293. if sort "$nlist" | uniq > "$nlist"T; then
  5294. mv -f "$nlist"T "$nlist"
  5295. else
  5296. rm -f "$nlist"T
  5297. fi
  5298. # Make sure that we snagged all the symbols we need.
  5299. if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
  5300. if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
  5301. cat <<_LT_EOF > conftest.$ac_ext
  5302. /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
  5303. #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
  5304. /* DATA imports from DLLs on WIN32 can't be const, because runtime
  5305. relocations are performed -- see ld's documentation on pseudo-relocs. */
  5306. # define LT_DLSYM_CONST
  5307. #elif defined __osf__
  5308. /* This system does not cope well with relocations in const data. */
  5309. # define LT_DLSYM_CONST
  5310. #else
  5311. # define LT_DLSYM_CONST const
  5312. #endif
  5313. #ifdef __cplusplus
  5314. extern "C" {
  5315. #endif
  5316. _LT_EOF
  5317. # Now generate the symbol file.
  5318. eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
  5319. cat <<_LT_EOF >> conftest.$ac_ext
  5320. /* The mapping between symbol names and symbols. */
  5321. LT_DLSYM_CONST struct {
  5322. const char *name;
  5323. void *address;
  5324. }
  5325. lt__PROGRAM__LTX_preloaded_symbols[] =
  5326. {
  5327. { "@PROGRAM@", (void *) 0 },
  5328. _LT_EOF
  5329. $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
  5330. cat <<\_LT_EOF >> conftest.$ac_ext
  5331. {0, (void *) 0}
  5332. };
  5333. /* This works around a problem in FreeBSD linker */
  5334. #ifdef FREEBSD_WORKAROUND
  5335. static const void *lt_preloaded_setup() {
  5336. return lt__PROGRAM__LTX_preloaded_symbols;
  5337. }
  5338. #endif
  5339. #ifdef __cplusplus
  5340. }
  5341. #endif
  5342. _LT_EOF
  5343. # Now try linking the two files.
  5344. mv conftest.$ac_objext conftstm.$ac_objext
  5345. lt_globsym_save_LIBS=$LIBS
  5346. lt_globsym_save_CFLAGS=$CFLAGS
  5347. LIBS=conftstm.$ac_objext
  5348. CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
  5349. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  5350. (eval $ac_link) 2>&5
  5351. ac_status=$?
  5352. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  5353. test $ac_status = 0; } && test -s conftest$ac_exeext; then
  5354. pipe_works=yes
  5355. fi
  5356. LIBS=$lt_globsym_save_LIBS
  5357. CFLAGS=$lt_globsym_save_CFLAGS
  5358. else
  5359. echo "cannot find nm_test_func in $nlist" >&5
  5360. fi
  5361. else
  5362. echo "cannot find nm_test_var in $nlist" >&5
  5363. fi
  5364. else
  5365. echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
  5366. fi
  5367. else
  5368. echo "$progname: failed program was:" >&5
  5369. cat conftest.$ac_ext >&5
  5370. fi
  5371. rm -rf conftest* conftst*
  5372. # Do not use the global_symbol_pipe unless it works.
  5373. if test yes = "$pipe_works"; then
  5374. break
  5375. else
  5376. lt_cv_sys_global_symbol_pipe=
  5377. fi
  5378. done
  5379. fi
  5380. if test -z "$lt_cv_sys_global_symbol_pipe"; then
  5381. lt_cv_sys_global_symbol_to_cdecl=
  5382. fi
  5383. if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
  5384. { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
  5385. $as_echo "failed" >&6; }
  5386. else
  5387. { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
  5388. $as_echo "ok" >&6; }
  5389. fi
  5390. # Response file support.
  5391. if test "$lt_cv_nm_interface" = "MS dumpbin"; then
  5392. nm_file_list_spec='@'
  5393. elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
  5394. nm_file_list_spec='@'
  5395. fi
  5396. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
  5397. $as_echo_n "checking for sysroot... " >&6; }
  5398. # Check whether --with-libtool-sysroot was given.
  5399. if test "${with_libtool_sysroot+set}" = set; then :
  5400. withval=$with_libtool_sysroot;
  5401. else
  5402. with_libtool_sysroot=no
  5403. fi
  5404. lt_sysroot=
  5405. case $with_libtool_sysroot in #(
  5406. no)
  5407. if test yes = "$GCC"; then
  5408. lt_sysroot=`$CC --print-sysroot 2>/dev/null`
  5409. # Treat "/" the same a an unset sysroot. It seems to be more
  5410. # compatible across host platforms that way!?
  5411. if test "$lt_sysroot" = /; then
  5412. lt_sysroot=
  5413. fi
  5414. fi
  5415. ;; #(
  5416. yes|''|/)
  5417. ;; #(
  5418. /*)
  5419. lt_sysroot=`echo "$with_libtool_sysroot" | sed -e "$sed_quote_subst"`
  5420. ;; #(
  5421. *)
  5422. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_libtool_sysroot" >&5
  5423. $as_echo "$with_libtool_sysroot" >&6; }
  5424. as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
  5425. ;;
  5426. esac
  5427. { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
  5428. $as_echo "${lt_sysroot:-no}" >&6; }
  5429. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
  5430. $as_echo_n "checking for a working dd... " >&6; }
  5431. if ${ac_cv_path_lt_DD+:} false; then :
  5432. $as_echo_n "(cached) " >&6
  5433. else
  5434. printf 0123456789abcdef0123456789abcdef >conftest.i
  5435. cat conftest.i conftest.i >conftest2.i
  5436. : ${lt_DD:=$DD}
  5437. if test -z "$lt_DD"; then
  5438. ac_path_lt_DD_found=false
  5439. # Loop through the user's path and test for each of PROGNAME-LIST
  5440. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5441. for as_dir in $PATH
  5442. do
  5443. IFS=$as_save_IFS
  5444. test -z "$as_dir" && as_dir=.
  5445. for ac_prog in dd; do
  5446. for ac_exec_ext in '' $ac_executable_extensions; do
  5447. ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
  5448. as_fn_executable_p "$ac_path_lt_DD" || continue
  5449. if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
  5450. cmp -s conftest.i conftest.out \
  5451. && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
  5452. fi
  5453. $ac_path_lt_DD_found && break 3
  5454. done
  5455. done
  5456. done
  5457. IFS=$as_save_IFS
  5458. if test -z "$ac_cv_path_lt_DD"; then
  5459. :
  5460. fi
  5461. else
  5462. ac_cv_path_lt_DD=$lt_DD
  5463. fi
  5464. rm -f conftest.i conftest2.i conftest.out
  5465. fi
  5466. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
  5467. $as_echo "$ac_cv_path_lt_DD" >&6; }
  5468. { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
  5469. $as_echo_n "checking how to truncate binary pipes... " >&6; }
  5470. if ${lt_cv_truncate_bin+:} false; then :
  5471. $as_echo_n "(cached) " >&6
  5472. else
  5473. printf 0123456789abcdef0123456789abcdef >conftest.i
  5474. cat conftest.i conftest.i >conftest2.i
  5475. lt_cv_truncate_bin=
  5476. if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
  5477. cmp -s conftest.i conftest.out \
  5478. && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
  5479. fi
  5480. rm -f conftest.i conftest2.i conftest.out
  5481. test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
  5482. fi
  5483. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
  5484. $as_echo "$lt_cv_truncate_bin" >&6; }
  5485. # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
  5486. func_cc_basename ()
  5487. {
  5488. for cc_temp in $*""; do
  5489. case $cc_temp in
  5490. compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
  5491. distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
  5492. \-*) ;;
  5493. *) break;;
  5494. esac
  5495. done
  5496. func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
  5497. }
  5498. # Check whether --enable-libtool-lock was given.
  5499. if test "${enable_libtool_lock+set}" = set; then :
  5500. enableval=$enable_libtool_lock;
  5501. fi
  5502. test no = "$enable_libtool_lock" || enable_libtool_lock=yes
  5503. # Some flags need to be propagated to the compiler or linker for good
  5504. # libtool support.
  5505. case $host in
  5506. ia64-*-hpux*)
  5507. # Find out what ABI is being produced by ac_compile, and set mode
  5508. # options accordingly.
  5509. echo 'int i;' > conftest.$ac_ext
  5510. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  5511. (eval $ac_compile) 2>&5
  5512. ac_status=$?
  5513. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  5514. test $ac_status = 0; }; then
  5515. case `/usr/bin/file conftest.$ac_objext` in
  5516. *ELF-32*)
  5517. HPUX_IA64_MODE=32
  5518. ;;
  5519. *ELF-64*)
  5520. HPUX_IA64_MODE=64
  5521. ;;
  5522. esac
  5523. fi
  5524. rm -rf conftest*
  5525. ;;
  5526. *-*-irix6*)
  5527. # Find out what ABI is being produced by ac_compile, and set linker
  5528. # options accordingly.
  5529. echo '#line '$LINENO' "configure"' > conftest.$ac_ext
  5530. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  5531. (eval $ac_compile) 2>&5
  5532. ac_status=$?
  5533. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  5534. test $ac_status = 0; }; then
  5535. if test yes = "$lt_cv_prog_gnu_ld"; then
  5536. case `/usr/bin/file conftest.$ac_objext` in
  5537. *32-bit*)
  5538. LD="${LD-ld} -melf32bsmip"
  5539. ;;
  5540. *N32*)
  5541. LD="${LD-ld} -melf32bmipn32"
  5542. ;;
  5543. *64-bit*)
  5544. LD="${LD-ld} -melf64bmip"
  5545. ;;
  5546. esac
  5547. else
  5548. case `/usr/bin/file conftest.$ac_objext` in
  5549. *32-bit*)
  5550. LD="${LD-ld} -32"
  5551. ;;
  5552. *N32*)
  5553. LD="${LD-ld} -n32"
  5554. ;;
  5555. *64-bit*)
  5556. LD="${LD-ld} -64"
  5557. ;;
  5558. esac
  5559. fi
  5560. fi
  5561. rm -rf conftest*
  5562. ;;
  5563. mips64*-*linux*)
  5564. # Find out what ABI is being produced by ac_compile, and set linker
  5565. # options accordingly.
  5566. echo '#line '$LINENO' "configure"' > conftest.$ac_ext
  5567. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  5568. (eval $ac_compile) 2>&5
  5569. ac_status=$?
  5570. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  5571. test $ac_status = 0; }; then
  5572. emul=elf
  5573. case `/usr/bin/file conftest.$ac_objext` in
  5574. *32-bit*)
  5575. emul="${emul}32"
  5576. ;;
  5577. *64-bit*)
  5578. emul="${emul}64"
  5579. ;;
  5580. esac
  5581. case `/usr/bin/file conftest.$ac_objext` in
  5582. *MSB*)
  5583. emul="${emul}btsmip"
  5584. ;;
  5585. *LSB*)
  5586. emul="${emul}ltsmip"
  5587. ;;
  5588. esac
  5589. case `/usr/bin/file conftest.$ac_objext` in
  5590. *N32*)
  5591. emul="${emul}n32"
  5592. ;;
  5593. esac
  5594. LD="${LD-ld} -m $emul"
  5595. fi
  5596. rm -rf conftest*
  5597. ;;
  5598. x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
  5599. s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
  5600. # Find out what ABI is being produced by ac_compile, and set linker
  5601. # options accordingly. Note that the listed cases only cover the
  5602. # situations where additional linker options are needed (such as when
  5603. # doing 32-bit compilation for a host where ld defaults to 64-bit, or
  5604. # vice versa); the common cases where no linker options are needed do
  5605. # not appear in the list.
  5606. echo 'int i;' > conftest.$ac_ext
  5607. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  5608. (eval $ac_compile) 2>&5
  5609. ac_status=$?
  5610. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  5611. test $ac_status = 0; }; then
  5612. case `/usr/bin/file conftest.o` in
  5613. *32-bit*)
  5614. case $host in
  5615. x86_64-*kfreebsd*-gnu)
  5616. LD="${LD-ld} -m elf_i386_fbsd"
  5617. ;;
  5618. x86_64-*linux*)
  5619. case `/usr/bin/file conftest.o` in
  5620. *x86-64*)
  5621. LD="${LD-ld} -m elf32_x86_64"
  5622. ;;
  5623. *)
  5624. LD="${LD-ld} -m elf_i386"
  5625. ;;
  5626. esac
  5627. ;;
  5628. powerpc64le-*linux*)
  5629. LD="${LD-ld} -m elf32lppclinux"
  5630. ;;
  5631. powerpc64-*linux*)
  5632. LD="${LD-ld} -m elf32ppclinux"
  5633. ;;
  5634. s390x-*linux*)
  5635. LD="${LD-ld} -m elf_s390"
  5636. ;;
  5637. sparc64-*linux*)
  5638. LD="${LD-ld} -m elf32_sparc"
  5639. ;;
  5640. esac
  5641. ;;
  5642. *64-bit*)
  5643. case $host in
  5644. x86_64-*kfreebsd*-gnu)
  5645. LD="${LD-ld} -m elf_x86_64_fbsd"
  5646. ;;
  5647. x86_64-*linux*)
  5648. LD="${LD-ld} -m elf_x86_64"
  5649. ;;
  5650. powerpcle-*linux*)
  5651. LD="${LD-ld} -m elf64lppc"
  5652. ;;
  5653. powerpc-*linux*)
  5654. LD="${LD-ld} -m elf64ppc"
  5655. ;;
  5656. s390*-*linux*|s390*-*tpf*)
  5657. LD="${LD-ld} -m elf64_s390"
  5658. ;;
  5659. sparc*-*linux*)
  5660. LD="${LD-ld} -m elf64_sparc"
  5661. ;;
  5662. esac
  5663. ;;
  5664. esac
  5665. fi
  5666. rm -rf conftest*
  5667. ;;
  5668. *-*-sco3.2v5*)
  5669. # On SCO OpenServer 5, we need -belf to get full-featured binaries.
  5670. SAVE_CFLAGS=$CFLAGS
  5671. CFLAGS="$CFLAGS -belf"
  5672. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
  5673. $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
  5674. if ${lt_cv_cc_needs_belf+:} false; then :
  5675. $as_echo_n "(cached) " >&6
  5676. else
  5677. ac_ext=c
  5678. ac_cpp='$CPP $CPPFLAGS'
  5679. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  5680. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  5681. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  5682. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5683. /* end confdefs.h. */
  5684. int
  5685. main ()
  5686. {
  5687. ;
  5688. return 0;
  5689. }
  5690. _ACEOF
  5691. if ac_fn_c_try_link "$LINENO"; then :
  5692. lt_cv_cc_needs_belf=yes
  5693. else
  5694. lt_cv_cc_needs_belf=no
  5695. fi
  5696. rm -f core conftest.err conftest.$ac_objext \
  5697. conftest$ac_exeext conftest.$ac_ext
  5698. ac_ext=c
  5699. ac_cpp='$CPP $CPPFLAGS'
  5700. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  5701. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  5702. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  5703. fi
  5704. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
  5705. $as_echo "$lt_cv_cc_needs_belf" >&6; }
  5706. if test yes != "$lt_cv_cc_needs_belf"; then
  5707. # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
  5708. CFLAGS=$SAVE_CFLAGS
  5709. fi
  5710. ;;
  5711. *-*solaris*)
  5712. # Find out what ABI is being produced by ac_compile, and set linker
  5713. # options accordingly.
  5714. echo 'int i;' > conftest.$ac_ext
  5715. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  5716. (eval $ac_compile) 2>&5
  5717. ac_status=$?
  5718. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  5719. test $ac_status = 0; }; then
  5720. case `/usr/bin/file conftest.o` in
  5721. *64-bit*)
  5722. case $lt_cv_prog_gnu_ld in
  5723. yes*)
  5724. case $host in
  5725. i?86-*-solaris*|x86_64-*-solaris*)
  5726. LD="${LD-ld} -m elf_x86_64"
  5727. ;;
  5728. sparc*-*-solaris*)
  5729. LD="${LD-ld} -m elf64_sparc"
  5730. ;;
  5731. esac
  5732. # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
  5733. if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
  5734. LD=${LD-ld}_sol2
  5735. fi
  5736. ;;
  5737. *)
  5738. if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
  5739. LD="${LD-ld} -64"
  5740. fi
  5741. ;;
  5742. esac
  5743. ;;
  5744. esac
  5745. fi
  5746. rm -rf conftest*
  5747. ;;
  5748. esac
  5749. need_locks=$enable_libtool_lock
  5750. if test -n "$ac_tool_prefix"; then
  5751. # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
  5752. set dummy ${ac_tool_prefix}mt; ac_word=$2
  5753. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5754. $as_echo_n "checking for $ac_word... " >&6; }
  5755. if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
  5756. $as_echo_n "(cached) " >&6
  5757. else
  5758. if test -n "$MANIFEST_TOOL"; then
  5759. ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
  5760. else
  5761. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5762. for as_dir in $PATH
  5763. do
  5764. IFS=$as_save_IFS
  5765. test -z "$as_dir" && as_dir=.
  5766. for ac_exec_ext in '' $ac_executable_extensions; do
  5767. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5768. ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
  5769. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5770. break 2
  5771. fi
  5772. done
  5773. done
  5774. IFS=$as_save_IFS
  5775. fi
  5776. fi
  5777. MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
  5778. if test -n "$MANIFEST_TOOL"; then
  5779. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
  5780. $as_echo "$MANIFEST_TOOL" >&6; }
  5781. else
  5782. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5783. $as_echo "no" >&6; }
  5784. fi
  5785. fi
  5786. if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
  5787. ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
  5788. # Extract the first word of "mt", so it can be a program name with args.
  5789. set dummy mt; ac_word=$2
  5790. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5791. $as_echo_n "checking for $ac_word... " >&6; }
  5792. if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
  5793. $as_echo_n "(cached) " >&6
  5794. else
  5795. if test -n "$ac_ct_MANIFEST_TOOL"; then
  5796. ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
  5797. else
  5798. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5799. for as_dir in $PATH
  5800. do
  5801. IFS=$as_save_IFS
  5802. test -z "$as_dir" && as_dir=.
  5803. for ac_exec_ext in '' $ac_executable_extensions; do
  5804. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5805. ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
  5806. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5807. break 2
  5808. fi
  5809. done
  5810. done
  5811. IFS=$as_save_IFS
  5812. fi
  5813. fi
  5814. ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
  5815. if test -n "$ac_ct_MANIFEST_TOOL"; then
  5816. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
  5817. $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
  5818. else
  5819. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5820. $as_echo "no" >&6; }
  5821. fi
  5822. if test "x$ac_ct_MANIFEST_TOOL" = x; then
  5823. MANIFEST_TOOL=":"
  5824. else
  5825. case $cross_compiling:$ac_tool_warned in
  5826. yes:)
  5827. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  5828. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  5829. ac_tool_warned=yes ;;
  5830. esac
  5831. MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
  5832. fi
  5833. else
  5834. MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
  5835. fi
  5836. test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
  5837. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
  5838. $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
  5839. if ${lt_cv_path_mainfest_tool+:} false; then :
  5840. $as_echo_n "(cached) " >&6
  5841. else
  5842. lt_cv_path_mainfest_tool=no
  5843. echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
  5844. $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
  5845. cat conftest.err >&5
  5846. if $GREP 'Manifest Tool' conftest.out > /dev/null; then
  5847. lt_cv_path_mainfest_tool=yes
  5848. fi
  5849. rm -f conftest*
  5850. fi
  5851. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
  5852. $as_echo "$lt_cv_path_mainfest_tool" >&6; }
  5853. if test yes != "$lt_cv_path_mainfest_tool"; then
  5854. MANIFEST_TOOL=:
  5855. fi
  5856. case $host_os in
  5857. rhapsody* | darwin*)
  5858. if test -n "$ac_tool_prefix"; then
  5859. # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
  5860. set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
  5861. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5862. $as_echo_n "checking for $ac_word... " >&6; }
  5863. if ${ac_cv_prog_DSYMUTIL+:} false; then :
  5864. $as_echo_n "(cached) " >&6
  5865. else
  5866. if test -n "$DSYMUTIL"; then
  5867. ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
  5868. else
  5869. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5870. for as_dir in $PATH
  5871. do
  5872. IFS=$as_save_IFS
  5873. test -z "$as_dir" && as_dir=.
  5874. for ac_exec_ext in '' $ac_executable_extensions; do
  5875. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5876. ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
  5877. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5878. break 2
  5879. fi
  5880. done
  5881. done
  5882. IFS=$as_save_IFS
  5883. fi
  5884. fi
  5885. DSYMUTIL=$ac_cv_prog_DSYMUTIL
  5886. if test -n "$DSYMUTIL"; then
  5887. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
  5888. $as_echo "$DSYMUTIL" >&6; }
  5889. else
  5890. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5891. $as_echo "no" >&6; }
  5892. fi
  5893. fi
  5894. if test -z "$ac_cv_prog_DSYMUTIL"; then
  5895. ac_ct_DSYMUTIL=$DSYMUTIL
  5896. # Extract the first word of "dsymutil", so it can be a program name with args.
  5897. set dummy dsymutil; ac_word=$2
  5898. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5899. $as_echo_n "checking for $ac_word... " >&6; }
  5900. if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
  5901. $as_echo_n "(cached) " >&6
  5902. else
  5903. if test -n "$ac_ct_DSYMUTIL"; then
  5904. ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
  5905. else
  5906. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5907. for as_dir in $PATH
  5908. do
  5909. IFS=$as_save_IFS
  5910. test -z "$as_dir" && as_dir=.
  5911. for ac_exec_ext in '' $ac_executable_extensions; do
  5912. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5913. ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
  5914. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5915. break 2
  5916. fi
  5917. done
  5918. done
  5919. IFS=$as_save_IFS
  5920. fi
  5921. fi
  5922. ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
  5923. if test -n "$ac_ct_DSYMUTIL"; then
  5924. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
  5925. $as_echo "$ac_ct_DSYMUTIL" >&6; }
  5926. else
  5927. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5928. $as_echo "no" >&6; }
  5929. fi
  5930. if test "x$ac_ct_DSYMUTIL" = x; then
  5931. DSYMUTIL=":"
  5932. else
  5933. case $cross_compiling:$ac_tool_warned in
  5934. yes:)
  5935. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  5936. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  5937. ac_tool_warned=yes ;;
  5938. esac
  5939. DSYMUTIL=$ac_ct_DSYMUTIL
  5940. fi
  5941. else
  5942. DSYMUTIL="$ac_cv_prog_DSYMUTIL"
  5943. fi
  5944. if test -n "$ac_tool_prefix"; then
  5945. # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
  5946. set dummy ${ac_tool_prefix}nmedit; ac_word=$2
  5947. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5948. $as_echo_n "checking for $ac_word... " >&6; }
  5949. if ${ac_cv_prog_NMEDIT+:} false; then :
  5950. $as_echo_n "(cached) " >&6
  5951. else
  5952. if test -n "$NMEDIT"; then
  5953. ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
  5954. else
  5955. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5956. for as_dir in $PATH
  5957. do
  5958. IFS=$as_save_IFS
  5959. test -z "$as_dir" && as_dir=.
  5960. for ac_exec_ext in '' $ac_executable_extensions; do
  5961. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5962. ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
  5963. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5964. break 2
  5965. fi
  5966. done
  5967. done
  5968. IFS=$as_save_IFS
  5969. fi
  5970. fi
  5971. NMEDIT=$ac_cv_prog_NMEDIT
  5972. if test -n "$NMEDIT"; then
  5973. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
  5974. $as_echo "$NMEDIT" >&6; }
  5975. else
  5976. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5977. $as_echo "no" >&6; }
  5978. fi
  5979. fi
  5980. if test -z "$ac_cv_prog_NMEDIT"; then
  5981. ac_ct_NMEDIT=$NMEDIT
  5982. # Extract the first word of "nmedit", so it can be a program name with args.
  5983. set dummy nmedit; ac_word=$2
  5984. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5985. $as_echo_n "checking for $ac_word... " >&6; }
  5986. if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
  5987. $as_echo_n "(cached) " >&6
  5988. else
  5989. if test -n "$ac_ct_NMEDIT"; then
  5990. ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
  5991. else
  5992. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5993. for as_dir in $PATH
  5994. do
  5995. IFS=$as_save_IFS
  5996. test -z "$as_dir" && as_dir=.
  5997. for ac_exec_ext in '' $ac_executable_extensions; do
  5998. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5999. ac_cv_prog_ac_ct_NMEDIT="nmedit"
  6000. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6001. break 2
  6002. fi
  6003. done
  6004. done
  6005. IFS=$as_save_IFS
  6006. fi
  6007. fi
  6008. ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
  6009. if test -n "$ac_ct_NMEDIT"; then
  6010. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
  6011. $as_echo "$ac_ct_NMEDIT" >&6; }
  6012. else
  6013. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6014. $as_echo "no" >&6; }
  6015. fi
  6016. if test "x$ac_ct_NMEDIT" = x; then
  6017. NMEDIT=":"
  6018. else
  6019. case $cross_compiling:$ac_tool_warned in
  6020. yes:)
  6021. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  6022. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  6023. ac_tool_warned=yes ;;
  6024. esac
  6025. NMEDIT=$ac_ct_NMEDIT
  6026. fi
  6027. else
  6028. NMEDIT="$ac_cv_prog_NMEDIT"
  6029. fi
  6030. if test -n "$ac_tool_prefix"; then
  6031. # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
  6032. set dummy ${ac_tool_prefix}lipo; ac_word=$2
  6033. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6034. $as_echo_n "checking for $ac_word... " >&6; }
  6035. if ${ac_cv_prog_LIPO+:} false; then :
  6036. $as_echo_n "(cached) " >&6
  6037. else
  6038. if test -n "$LIPO"; then
  6039. ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
  6040. else
  6041. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6042. for as_dir in $PATH
  6043. do
  6044. IFS=$as_save_IFS
  6045. test -z "$as_dir" && as_dir=.
  6046. for ac_exec_ext in '' $ac_executable_extensions; do
  6047. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6048. ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
  6049. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6050. break 2
  6051. fi
  6052. done
  6053. done
  6054. IFS=$as_save_IFS
  6055. fi
  6056. fi
  6057. LIPO=$ac_cv_prog_LIPO
  6058. if test -n "$LIPO"; then
  6059. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
  6060. $as_echo "$LIPO" >&6; }
  6061. else
  6062. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6063. $as_echo "no" >&6; }
  6064. fi
  6065. fi
  6066. if test -z "$ac_cv_prog_LIPO"; then
  6067. ac_ct_LIPO=$LIPO
  6068. # Extract the first word of "lipo", so it can be a program name with args.
  6069. set dummy lipo; ac_word=$2
  6070. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6071. $as_echo_n "checking for $ac_word... " >&6; }
  6072. if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
  6073. $as_echo_n "(cached) " >&6
  6074. else
  6075. if test -n "$ac_ct_LIPO"; then
  6076. ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
  6077. else
  6078. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6079. for as_dir in $PATH
  6080. do
  6081. IFS=$as_save_IFS
  6082. test -z "$as_dir" && as_dir=.
  6083. for ac_exec_ext in '' $ac_executable_extensions; do
  6084. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6085. ac_cv_prog_ac_ct_LIPO="lipo"
  6086. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6087. break 2
  6088. fi
  6089. done
  6090. done
  6091. IFS=$as_save_IFS
  6092. fi
  6093. fi
  6094. ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
  6095. if test -n "$ac_ct_LIPO"; then
  6096. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
  6097. $as_echo "$ac_ct_LIPO" >&6; }
  6098. else
  6099. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6100. $as_echo "no" >&6; }
  6101. fi
  6102. if test "x$ac_ct_LIPO" = x; then
  6103. LIPO=":"
  6104. else
  6105. case $cross_compiling:$ac_tool_warned in
  6106. yes:)
  6107. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  6108. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  6109. ac_tool_warned=yes ;;
  6110. esac
  6111. LIPO=$ac_ct_LIPO
  6112. fi
  6113. else
  6114. LIPO="$ac_cv_prog_LIPO"
  6115. fi
  6116. if test -n "$ac_tool_prefix"; then
  6117. # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
  6118. set dummy ${ac_tool_prefix}otool; ac_word=$2
  6119. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6120. $as_echo_n "checking for $ac_word... " >&6; }
  6121. if ${ac_cv_prog_OTOOL+:} false; then :
  6122. $as_echo_n "(cached) " >&6
  6123. else
  6124. if test -n "$OTOOL"; then
  6125. ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
  6126. else
  6127. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6128. for as_dir in $PATH
  6129. do
  6130. IFS=$as_save_IFS
  6131. test -z "$as_dir" && as_dir=.
  6132. for ac_exec_ext in '' $ac_executable_extensions; do
  6133. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6134. ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
  6135. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6136. break 2
  6137. fi
  6138. done
  6139. done
  6140. IFS=$as_save_IFS
  6141. fi
  6142. fi
  6143. OTOOL=$ac_cv_prog_OTOOL
  6144. if test -n "$OTOOL"; then
  6145. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
  6146. $as_echo "$OTOOL" >&6; }
  6147. else
  6148. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6149. $as_echo "no" >&6; }
  6150. fi
  6151. fi
  6152. if test -z "$ac_cv_prog_OTOOL"; then
  6153. ac_ct_OTOOL=$OTOOL
  6154. # Extract the first word of "otool", so it can be a program name with args.
  6155. set dummy otool; ac_word=$2
  6156. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6157. $as_echo_n "checking for $ac_word... " >&6; }
  6158. if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
  6159. $as_echo_n "(cached) " >&6
  6160. else
  6161. if test -n "$ac_ct_OTOOL"; then
  6162. ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
  6163. else
  6164. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6165. for as_dir in $PATH
  6166. do
  6167. IFS=$as_save_IFS
  6168. test -z "$as_dir" && as_dir=.
  6169. for ac_exec_ext in '' $ac_executable_extensions; do
  6170. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6171. ac_cv_prog_ac_ct_OTOOL="otool"
  6172. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6173. break 2
  6174. fi
  6175. done
  6176. done
  6177. IFS=$as_save_IFS
  6178. fi
  6179. fi
  6180. ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
  6181. if test -n "$ac_ct_OTOOL"; then
  6182. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
  6183. $as_echo "$ac_ct_OTOOL" >&6; }
  6184. else
  6185. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6186. $as_echo "no" >&6; }
  6187. fi
  6188. if test "x$ac_ct_OTOOL" = x; then
  6189. OTOOL=":"
  6190. else
  6191. case $cross_compiling:$ac_tool_warned in
  6192. yes:)
  6193. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  6194. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  6195. ac_tool_warned=yes ;;
  6196. esac
  6197. OTOOL=$ac_ct_OTOOL
  6198. fi
  6199. else
  6200. OTOOL="$ac_cv_prog_OTOOL"
  6201. fi
  6202. if test -n "$ac_tool_prefix"; then
  6203. # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
  6204. set dummy ${ac_tool_prefix}otool64; ac_word=$2
  6205. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6206. $as_echo_n "checking for $ac_word... " >&6; }
  6207. if ${ac_cv_prog_OTOOL64+:} false; then :
  6208. $as_echo_n "(cached) " >&6
  6209. else
  6210. if test -n "$OTOOL64"; then
  6211. ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
  6212. else
  6213. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6214. for as_dir in $PATH
  6215. do
  6216. IFS=$as_save_IFS
  6217. test -z "$as_dir" && as_dir=.
  6218. for ac_exec_ext in '' $ac_executable_extensions; do
  6219. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6220. ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
  6221. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6222. break 2
  6223. fi
  6224. done
  6225. done
  6226. IFS=$as_save_IFS
  6227. fi
  6228. fi
  6229. OTOOL64=$ac_cv_prog_OTOOL64
  6230. if test -n "$OTOOL64"; then
  6231. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
  6232. $as_echo "$OTOOL64" >&6; }
  6233. else
  6234. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6235. $as_echo "no" >&6; }
  6236. fi
  6237. fi
  6238. if test -z "$ac_cv_prog_OTOOL64"; then
  6239. ac_ct_OTOOL64=$OTOOL64
  6240. # Extract the first word of "otool64", so it can be a program name with args.
  6241. set dummy otool64; ac_word=$2
  6242. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6243. $as_echo_n "checking for $ac_word... " >&6; }
  6244. if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
  6245. $as_echo_n "(cached) " >&6
  6246. else
  6247. if test -n "$ac_ct_OTOOL64"; then
  6248. ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
  6249. else
  6250. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6251. for as_dir in $PATH
  6252. do
  6253. IFS=$as_save_IFS
  6254. test -z "$as_dir" && as_dir=.
  6255. for ac_exec_ext in '' $ac_executable_extensions; do
  6256. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6257. ac_cv_prog_ac_ct_OTOOL64="otool64"
  6258. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6259. break 2
  6260. fi
  6261. done
  6262. done
  6263. IFS=$as_save_IFS
  6264. fi
  6265. fi
  6266. ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
  6267. if test -n "$ac_ct_OTOOL64"; then
  6268. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
  6269. $as_echo "$ac_ct_OTOOL64" >&6; }
  6270. else
  6271. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6272. $as_echo "no" >&6; }
  6273. fi
  6274. if test "x$ac_ct_OTOOL64" = x; then
  6275. OTOOL64=":"
  6276. else
  6277. case $cross_compiling:$ac_tool_warned in
  6278. yes:)
  6279. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  6280. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  6281. ac_tool_warned=yes ;;
  6282. esac
  6283. OTOOL64=$ac_ct_OTOOL64
  6284. fi
  6285. else
  6286. OTOOL64="$ac_cv_prog_OTOOL64"
  6287. fi
  6288. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
  6289. $as_echo_n "checking for -single_module linker flag... " >&6; }
  6290. if ${lt_cv_apple_cc_single_mod+:} false; then :
  6291. $as_echo_n "(cached) " >&6
  6292. else
  6293. lt_cv_apple_cc_single_mod=no
  6294. if test -z "$LT_MULTI_MODULE"; then
  6295. # By default we will add the -single_module flag. You can override
  6296. # by either setting the environment variable LT_MULTI_MODULE
  6297. # non-empty at configure time, or by adding -multi_module to the
  6298. # link flags.
  6299. rm -rf libconftest.dylib*
  6300. echo "int foo(void){return 1;}" > conftest.c
  6301. echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
  6302. -dynamiclib -Wl,-single_module conftest.c" >&5
  6303. $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
  6304. -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
  6305. _lt_result=$?
  6306. # If there is a non-empty error log, and "single_module"
  6307. # appears in it, assume the flag caused a linker warning
  6308. if test -s conftest.err && $GREP single_module conftest.err; then
  6309. cat conftest.err >&5
  6310. # Otherwise, if the output was created with a 0 exit code from
  6311. # the compiler, it worked.
  6312. elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
  6313. lt_cv_apple_cc_single_mod=yes
  6314. else
  6315. cat conftest.err >&5
  6316. fi
  6317. rm -rf libconftest.dylib*
  6318. rm -f conftest.*
  6319. fi
  6320. fi
  6321. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
  6322. $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
  6323. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
  6324. $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
  6325. if ${lt_cv_ld_exported_symbols_list+:} false; then :
  6326. $as_echo_n "(cached) " >&6
  6327. else
  6328. lt_cv_ld_exported_symbols_list=no
  6329. save_LDFLAGS=$LDFLAGS
  6330. echo "_main" > conftest.sym
  6331. LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
  6332. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6333. /* end confdefs.h. */
  6334. int
  6335. main ()
  6336. {
  6337. ;
  6338. return 0;
  6339. }
  6340. _ACEOF
  6341. if ac_fn_c_try_link "$LINENO"; then :
  6342. lt_cv_ld_exported_symbols_list=yes
  6343. else
  6344. lt_cv_ld_exported_symbols_list=no
  6345. fi
  6346. rm -f core conftest.err conftest.$ac_objext \
  6347. conftest$ac_exeext conftest.$ac_ext
  6348. LDFLAGS=$save_LDFLAGS
  6349. fi
  6350. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
  6351. $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
  6352. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
  6353. $as_echo_n "checking for -force_load linker flag... " >&6; }
  6354. if ${lt_cv_ld_force_load+:} false; then :
  6355. $as_echo_n "(cached) " >&6
  6356. else
  6357. lt_cv_ld_force_load=no
  6358. cat > conftest.c << _LT_EOF
  6359. int forced_loaded() { return 2;}
  6360. _LT_EOF
  6361. echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
  6362. $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
  6363. echo "$AR cru libconftest.a conftest.o" >&5
  6364. $AR cru libconftest.a conftest.o 2>&5
  6365. echo "$RANLIB libconftest.a" >&5
  6366. $RANLIB libconftest.a 2>&5
  6367. cat > conftest.c << _LT_EOF
  6368. int main() { return 0;}
  6369. _LT_EOF
  6370. echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
  6371. $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
  6372. _lt_result=$?
  6373. if test -s conftest.err && $GREP force_load conftest.err; then
  6374. cat conftest.err >&5
  6375. elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
  6376. lt_cv_ld_force_load=yes
  6377. else
  6378. cat conftest.err >&5
  6379. fi
  6380. rm -f conftest.err libconftest.a conftest conftest.c
  6381. rm -rf conftest.dSYM
  6382. fi
  6383. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
  6384. $as_echo "$lt_cv_ld_force_load" >&6; }
  6385. case $host_os in
  6386. rhapsody* | darwin1.[012])
  6387. _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
  6388. darwin1.*)
  6389. _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
  6390. darwin*) # darwin 5.x on
  6391. # if running on 10.5 or later, the deployment target defaults
  6392. # to the OS version, if on x86, and 10.4, the deployment
  6393. # target defaults to 10.4. Don't you love it?
  6394. case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
  6395. 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
  6396. _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
  6397. 10.[012][,.]*)
  6398. _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
  6399. 10.*)
  6400. _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
  6401. esac
  6402. ;;
  6403. esac
  6404. if test yes = "$lt_cv_apple_cc_single_mod"; then
  6405. _lt_dar_single_mod='$single_module'
  6406. fi
  6407. if test yes = "$lt_cv_ld_exported_symbols_list"; then
  6408. _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
  6409. else
  6410. _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
  6411. fi
  6412. if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
  6413. _lt_dsymutil='~$DSYMUTIL $lib || :'
  6414. else
  6415. _lt_dsymutil=
  6416. fi
  6417. ;;
  6418. esac
  6419. # func_munge_path_list VARIABLE PATH
  6420. # -----------------------------------
  6421. # VARIABLE is name of variable containing _space_ separated list of
  6422. # directories to be munged by the contents of PATH, which is string
  6423. # having a format:
  6424. # "DIR[:DIR]:"
  6425. # string "DIR[ DIR]" will be prepended to VARIABLE
  6426. # ":DIR[:DIR]"
  6427. # string "DIR[ DIR]" will be appended to VARIABLE
  6428. # "DIRP[:DIRP]::[DIRA:]DIRA"
  6429. # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
  6430. # "DIRA[ DIRA]" will be appended to VARIABLE
  6431. # "DIR[:DIR]"
  6432. # VARIABLE will be replaced by "DIR[ DIR]"
  6433. func_munge_path_list ()
  6434. {
  6435. case x$2 in
  6436. x)
  6437. ;;
  6438. *:)
  6439. eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
  6440. ;;
  6441. x:*)
  6442. eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
  6443. ;;
  6444. *::*)
  6445. eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
  6446. eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
  6447. ;;
  6448. *)
  6449. eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
  6450. ;;
  6451. esac
  6452. }
  6453. ac_ext=c
  6454. ac_cpp='$CPP $CPPFLAGS'
  6455. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  6456. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  6457. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  6458. { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
  6459. $as_echo_n "checking how to run the C preprocessor... " >&6; }
  6460. # On Suns, sometimes $CPP names a directory.
  6461. if test -n "$CPP" && test -d "$CPP"; then
  6462. CPP=
  6463. fi
  6464. if test -z "$CPP"; then
  6465. if ${ac_cv_prog_CPP+:} false; then :
  6466. $as_echo_n "(cached) " >&6
  6467. else
  6468. # Double quotes because CPP needs to be expanded
  6469. for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
  6470. do
  6471. ac_preproc_ok=false
  6472. for ac_c_preproc_warn_flag in '' yes
  6473. do
  6474. # Use a header file that comes with gcc, so configuring glibc
  6475. # with a fresh cross-compiler works.
  6476. # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  6477. # <limits.h> exists even on freestanding compilers.
  6478. # On the NeXT, cc -E runs the code through the compiler's parser,
  6479. # not just through cpp. "Syntax error" is here to catch this case.
  6480. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6481. /* end confdefs.h. */
  6482. #ifdef __STDC__
  6483. # include <limits.h>
  6484. #else
  6485. # include <assert.h>
  6486. #endif
  6487. Syntax error
  6488. _ACEOF
  6489. if ac_fn_c_try_cpp "$LINENO"; then :
  6490. else
  6491. # Broken: fails on valid input.
  6492. continue
  6493. fi
  6494. rm -f conftest.err conftest.i conftest.$ac_ext
  6495. # OK, works on sane cases. Now check whether nonexistent headers
  6496. # can be detected and how.
  6497. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6498. /* end confdefs.h. */
  6499. #include <ac_nonexistent.h>
  6500. _ACEOF
  6501. if ac_fn_c_try_cpp "$LINENO"; then :
  6502. # Broken: success on invalid input.
  6503. continue
  6504. else
  6505. # Passes both tests.
  6506. ac_preproc_ok=:
  6507. break
  6508. fi
  6509. rm -f conftest.err conftest.i conftest.$ac_ext
  6510. done
  6511. # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  6512. rm -f conftest.i conftest.err conftest.$ac_ext
  6513. if $ac_preproc_ok; then :
  6514. break
  6515. fi
  6516. done
  6517. ac_cv_prog_CPP=$CPP
  6518. fi
  6519. CPP=$ac_cv_prog_CPP
  6520. else
  6521. ac_cv_prog_CPP=$CPP
  6522. fi
  6523. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
  6524. $as_echo "$CPP" >&6; }
  6525. ac_preproc_ok=false
  6526. for ac_c_preproc_warn_flag in '' yes
  6527. do
  6528. # Use a header file that comes with gcc, so configuring glibc
  6529. # with a fresh cross-compiler works.
  6530. # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  6531. # <limits.h> exists even on freestanding compilers.
  6532. # On the NeXT, cc -E runs the code through the compiler's parser,
  6533. # not just through cpp. "Syntax error" is here to catch this case.
  6534. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6535. /* end confdefs.h. */
  6536. #ifdef __STDC__
  6537. # include <limits.h>
  6538. #else
  6539. # include <assert.h>
  6540. #endif
  6541. Syntax error
  6542. _ACEOF
  6543. if ac_fn_c_try_cpp "$LINENO"; then :
  6544. else
  6545. # Broken: fails on valid input.
  6546. continue
  6547. fi
  6548. rm -f conftest.err conftest.i conftest.$ac_ext
  6549. # OK, works on sane cases. Now check whether nonexistent headers
  6550. # can be detected and how.
  6551. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6552. /* end confdefs.h. */
  6553. #include <ac_nonexistent.h>
  6554. _ACEOF
  6555. if ac_fn_c_try_cpp "$LINENO"; then :
  6556. # Broken: success on invalid input.
  6557. continue
  6558. else
  6559. # Passes both tests.
  6560. ac_preproc_ok=:
  6561. break
  6562. fi
  6563. rm -f conftest.err conftest.i conftest.$ac_ext
  6564. done
  6565. # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  6566. rm -f conftest.i conftest.err conftest.$ac_ext
  6567. if $ac_preproc_ok; then :
  6568. else
  6569. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  6570. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  6571. as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
  6572. See \`config.log' for more details" "$LINENO" 5; }
  6573. fi
  6574. ac_ext=c
  6575. ac_cpp='$CPP $CPPFLAGS'
  6576. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  6577. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  6578. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  6579. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
  6580. $as_echo_n "checking for ANSI C header files... " >&6; }
  6581. if ${ac_cv_header_stdc+:} false; then :
  6582. $as_echo_n "(cached) " >&6
  6583. else
  6584. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6585. /* end confdefs.h. */
  6586. #include <stdlib.h>
  6587. #include <stdarg.h>
  6588. #include <string.h>
  6589. #include <float.h>
  6590. int
  6591. main ()
  6592. {
  6593. ;
  6594. return 0;
  6595. }
  6596. _ACEOF
  6597. if ac_fn_c_try_compile "$LINENO"; then :
  6598. ac_cv_header_stdc=yes
  6599. else
  6600. ac_cv_header_stdc=no
  6601. fi
  6602. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6603. if test $ac_cv_header_stdc = yes; then
  6604. # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  6605. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6606. /* end confdefs.h. */
  6607. #include <string.h>
  6608. _ACEOF
  6609. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  6610. $EGREP "memchr" >/dev/null 2>&1; then :
  6611. else
  6612. ac_cv_header_stdc=no
  6613. fi
  6614. rm -f conftest*
  6615. fi
  6616. if test $ac_cv_header_stdc = yes; then
  6617. # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  6618. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6619. /* end confdefs.h. */
  6620. #include <stdlib.h>
  6621. _ACEOF
  6622. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  6623. $EGREP "free" >/dev/null 2>&1; then :
  6624. else
  6625. ac_cv_header_stdc=no
  6626. fi
  6627. rm -f conftest*
  6628. fi
  6629. if test $ac_cv_header_stdc = yes; then
  6630. # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  6631. if test "$cross_compiling" = yes; then :
  6632. :
  6633. else
  6634. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6635. /* end confdefs.h. */
  6636. #include <ctype.h>
  6637. #include <stdlib.h>
  6638. #if ((' ' & 0x0FF) == 0x020)
  6639. # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  6640. # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  6641. #else
  6642. # define ISLOWER(c) \
  6643. (('a' <= (c) && (c) <= 'i') \
  6644. || ('j' <= (c) && (c) <= 'r') \
  6645. || ('s' <= (c) && (c) <= 'z'))
  6646. # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
  6647. #endif
  6648. #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  6649. int
  6650. main ()
  6651. {
  6652. int i;
  6653. for (i = 0; i < 256; i++)
  6654. if (XOR (islower (i), ISLOWER (i))
  6655. || toupper (i) != TOUPPER (i))
  6656. return 2;
  6657. return 0;
  6658. }
  6659. _ACEOF
  6660. if ac_fn_c_try_run "$LINENO"; then :
  6661. else
  6662. ac_cv_header_stdc=no
  6663. fi
  6664. rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  6665. conftest.$ac_objext conftest.beam conftest.$ac_ext
  6666. fi
  6667. fi
  6668. fi
  6669. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
  6670. $as_echo "$ac_cv_header_stdc" >&6; }
  6671. if test $ac_cv_header_stdc = yes; then
  6672. $as_echo "#define STDC_HEADERS 1" >>confdefs.h
  6673. fi
  6674. # On IRIX 5.3, sys/types and inttypes.h are conflicting.
  6675. for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
  6676. inttypes.h stdint.h unistd.h
  6677. do :
  6678. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  6679. ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
  6680. "
  6681. if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
  6682. cat >>confdefs.h <<_ACEOF
  6683. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  6684. _ACEOF
  6685. fi
  6686. done
  6687. for ac_header in dlfcn.h
  6688. do :
  6689. ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
  6690. "
  6691. if test "x$ac_cv_header_dlfcn_h" = xyes; then :
  6692. cat >>confdefs.h <<_ACEOF
  6693. #define HAVE_DLFCN_H 1
  6694. _ACEOF
  6695. fi
  6696. done
  6697. # Set options
  6698. enable_dlopen=yes
  6699. enable_win32_dll=yes
  6700. case $host in
  6701. *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
  6702. if test -n "$ac_tool_prefix"; then
  6703. # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
  6704. set dummy ${ac_tool_prefix}as; ac_word=$2
  6705. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6706. $as_echo_n "checking for $ac_word... " >&6; }
  6707. if ${ac_cv_prog_AS+:} false; then :
  6708. $as_echo_n "(cached) " >&6
  6709. else
  6710. if test -n "$AS"; then
  6711. ac_cv_prog_AS="$AS" # Let the user override the test.
  6712. else
  6713. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6714. for as_dir in $PATH
  6715. do
  6716. IFS=$as_save_IFS
  6717. test -z "$as_dir" && as_dir=.
  6718. for ac_exec_ext in '' $ac_executable_extensions; do
  6719. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6720. ac_cv_prog_AS="${ac_tool_prefix}as"
  6721. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6722. break 2
  6723. fi
  6724. done
  6725. done
  6726. IFS=$as_save_IFS
  6727. fi
  6728. fi
  6729. AS=$ac_cv_prog_AS
  6730. if test -n "$AS"; then
  6731. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
  6732. $as_echo "$AS" >&6; }
  6733. else
  6734. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6735. $as_echo "no" >&6; }
  6736. fi
  6737. fi
  6738. if test -z "$ac_cv_prog_AS"; then
  6739. ac_ct_AS=$AS
  6740. # Extract the first word of "as", so it can be a program name with args.
  6741. set dummy as; ac_word=$2
  6742. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6743. $as_echo_n "checking for $ac_word... " >&6; }
  6744. if ${ac_cv_prog_ac_ct_AS+:} false; then :
  6745. $as_echo_n "(cached) " >&6
  6746. else
  6747. if test -n "$ac_ct_AS"; then
  6748. ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
  6749. else
  6750. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6751. for as_dir in $PATH
  6752. do
  6753. IFS=$as_save_IFS
  6754. test -z "$as_dir" && as_dir=.
  6755. for ac_exec_ext in '' $ac_executable_extensions; do
  6756. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6757. ac_cv_prog_ac_ct_AS="as"
  6758. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6759. break 2
  6760. fi
  6761. done
  6762. done
  6763. IFS=$as_save_IFS
  6764. fi
  6765. fi
  6766. ac_ct_AS=$ac_cv_prog_ac_ct_AS
  6767. if test -n "$ac_ct_AS"; then
  6768. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
  6769. $as_echo "$ac_ct_AS" >&6; }
  6770. else
  6771. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6772. $as_echo "no" >&6; }
  6773. fi
  6774. if test "x$ac_ct_AS" = x; then
  6775. AS="false"
  6776. else
  6777. case $cross_compiling:$ac_tool_warned in
  6778. yes:)
  6779. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  6780. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  6781. ac_tool_warned=yes ;;
  6782. esac
  6783. AS=$ac_ct_AS
  6784. fi
  6785. else
  6786. AS="$ac_cv_prog_AS"
  6787. fi
  6788. if test -n "$ac_tool_prefix"; then
  6789. # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
  6790. set dummy ${ac_tool_prefix}dlltool; ac_word=$2
  6791. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6792. $as_echo_n "checking for $ac_word... " >&6; }
  6793. if ${ac_cv_prog_DLLTOOL+:} false; then :
  6794. $as_echo_n "(cached) " >&6
  6795. else
  6796. if test -n "$DLLTOOL"; then
  6797. ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
  6798. else
  6799. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6800. for as_dir in $PATH
  6801. do
  6802. IFS=$as_save_IFS
  6803. test -z "$as_dir" && as_dir=.
  6804. for ac_exec_ext in '' $ac_executable_extensions; do
  6805. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6806. ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
  6807. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6808. break 2
  6809. fi
  6810. done
  6811. done
  6812. IFS=$as_save_IFS
  6813. fi
  6814. fi
  6815. DLLTOOL=$ac_cv_prog_DLLTOOL
  6816. if test -n "$DLLTOOL"; then
  6817. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
  6818. $as_echo "$DLLTOOL" >&6; }
  6819. else
  6820. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6821. $as_echo "no" >&6; }
  6822. fi
  6823. fi
  6824. if test -z "$ac_cv_prog_DLLTOOL"; then
  6825. ac_ct_DLLTOOL=$DLLTOOL
  6826. # Extract the first word of "dlltool", so it can be a program name with args.
  6827. set dummy dlltool; ac_word=$2
  6828. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6829. $as_echo_n "checking for $ac_word... " >&6; }
  6830. if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
  6831. $as_echo_n "(cached) " >&6
  6832. else
  6833. if test -n "$ac_ct_DLLTOOL"; then
  6834. ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
  6835. else
  6836. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6837. for as_dir in $PATH
  6838. do
  6839. IFS=$as_save_IFS
  6840. test -z "$as_dir" && as_dir=.
  6841. for ac_exec_ext in '' $ac_executable_extensions; do
  6842. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6843. ac_cv_prog_ac_ct_DLLTOOL="dlltool"
  6844. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6845. break 2
  6846. fi
  6847. done
  6848. done
  6849. IFS=$as_save_IFS
  6850. fi
  6851. fi
  6852. ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
  6853. if test -n "$ac_ct_DLLTOOL"; then
  6854. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
  6855. $as_echo "$ac_ct_DLLTOOL" >&6; }
  6856. else
  6857. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6858. $as_echo "no" >&6; }
  6859. fi
  6860. if test "x$ac_ct_DLLTOOL" = x; then
  6861. DLLTOOL="false"
  6862. else
  6863. case $cross_compiling:$ac_tool_warned in
  6864. yes:)
  6865. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  6866. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  6867. ac_tool_warned=yes ;;
  6868. esac
  6869. DLLTOOL=$ac_ct_DLLTOOL
  6870. fi
  6871. else
  6872. DLLTOOL="$ac_cv_prog_DLLTOOL"
  6873. fi
  6874. if test -n "$ac_tool_prefix"; then
  6875. # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
  6876. set dummy ${ac_tool_prefix}objdump; ac_word=$2
  6877. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6878. $as_echo_n "checking for $ac_word... " >&6; }
  6879. if ${ac_cv_prog_OBJDUMP+:} false; then :
  6880. $as_echo_n "(cached) " >&6
  6881. else
  6882. if test -n "$OBJDUMP"; then
  6883. ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
  6884. else
  6885. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6886. for as_dir in $PATH
  6887. do
  6888. IFS=$as_save_IFS
  6889. test -z "$as_dir" && as_dir=.
  6890. for ac_exec_ext in '' $ac_executable_extensions; do
  6891. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6892. ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
  6893. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6894. break 2
  6895. fi
  6896. done
  6897. done
  6898. IFS=$as_save_IFS
  6899. fi
  6900. fi
  6901. OBJDUMP=$ac_cv_prog_OBJDUMP
  6902. if test -n "$OBJDUMP"; then
  6903. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
  6904. $as_echo "$OBJDUMP" >&6; }
  6905. else
  6906. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6907. $as_echo "no" >&6; }
  6908. fi
  6909. fi
  6910. if test -z "$ac_cv_prog_OBJDUMP"; then
  6911. ac_ct_OBJDUMP=$OBJDUMP
  6912. # Extract the first word of "objdump", so it can be a program name with args.
  6913. set dummy objdump; ac_word=$2
  6914. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6915. $as_echo_n "checking for $ac_word... " >&6; }
  6916. if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
  6917. $as_echo_n "(cached) " >&6
  6918. else
  6919. if test -n "$ac_ct_OBJDUMP"; then
  6920. ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
  6921. else
  6922. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6923. for as_dir in $PATH
  6924. do
  6925. IFS=$as_save_IFS
  6926. test -z "$as_dir" && as_dir=.
  6927. for ac_exec_ext in '' $ac_executable_extensions; do
  6928. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6929. ac_cv_prog_ac_ct_OBJDUMP="objdump"
  6930. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6931. break 2
  6932. fi
  6933. done
  6934. done
  6935. IFS=$as_save_IFS
  6936. fi
  6937. fi
  6938. ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
  6939. if test -n "$ac_ct_OBJDUMP"; then
  6940. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
  6941. $as_echo "$ac_ct_OBJDUMP" >&6; }
  6942. else
  6943. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6944. $as_echo "no" >&6; }
  6945. fi
  6946. if test "x$ac_ct_OBJDUMP" = x; then
  6947. OBJDUMP="false"
  6948. else
  6949. case $cross_compiling:$ac_tool_warned in
  6950. yes:)
  6951. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  6952. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  6953. ac_tool_warned=yes ;;
  6954. esac
  6955. OBJDUMP=$ac_ct_OBJDUMP
  6956. fi
  6957. else
  6958. OBJDUMP="$ac_cv_prog_OBJDUMP"
  6959. fi
  6960. ;;
  6961. esac
  6962. test -z "$AS" && AS=as
  6963. test -z "$DLLTOOL" && DLLTOOL=dlltool
  6964. test -z "$OBJDUMP" && OBJDUMP=objdump
  6965. # Check whether --enable-shared was given.
  6966. if test "${enable_shared+set}" = set; then :
  6967. enableval=$enable_shared; p=${PACKAGE-default}
  6968. case $enableval in
  6969. yes) enable_shared=yes ;;
  6970. no) enable_shared=no ;;
  6971. *)
  6972. enable_shared=no
  6973. # Look at the argument we got. We use all the common list separators.
  6974. lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
  6975. for pkg in $enableval; do
  6976. IFS=$lt_save_ifs
  6977. if test "X$pkg" = "X$p"; then
  6978. enable_shared=yes
  6979. fi
  6980. done
  6981. IFS=$lt_save_ifs
  6982. ;;
  6983. esac
  6984. else
  6985. enable_shared=yes
  6986. fi
  6987. # Check whether --enable-static was given.
  6988. if test "${enable_static+set}" = set; then :
  6989. enableval=$enable_static; p=${PACKAGE-default}
  6990. case $enableval in
  6991. yes) enable_static=yes ;;
  6992. no) enable_static=no ;;
  6993. *)
  6994. enable_static=no
  6995. # Look at the argument we got. We use all the common list separators.
  6996. lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
  6997. for pkg in $enableval; do
  6998. IFS=$lt_save_ifs
  6999. if test "X$pkg" = "X$p"; then
  7000. enable_static=yes
  7001. fi
  7002. done
  7003. IFS=$lt_save_ifs
  7004. ;;
  7005. esac
  7006. else
  7007. enable_static=yes
  7008. fi
  7009. # Check whether --with-pic was given.
  7010. if test "${with_pic+set}" = set; then :
  7011. withval=$with_pic; lt_p=${PACKAGE-default}
  7012. case $withval in
  7013. yes|no) pic_mode=$withval ;;
  7014. *)
  7015. pic_mode=default
  7016. # Look at the argument we got. We use all the common list separators.
  7017. lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
  7018. for lt_pkg in $withval; do
  7019. IFS=$lt_save_ifs
  7020. if test "X$lt_pkg" = "X$lt_p"; then
  7021. pic_mode=yes
  7022. fi
  7023. done
  7024. IFS=$lt_save_ifs
  7025. ;;
  7026. esac
  7027. else
  7028. pic_mode=default
  7029. fi
  7030. # Check whether --enable-fast-install was given.
  7031. if test "${enable_fast_install+set}" = set; then :
  7032. enableval=$enable_fast_install; p=${PACKAGE-default}
  7033. case $enableval in
  7034. yes) enable_fast_install=yes ;;
  7035. no) enable_fast_install=no ;;
  7036. *)
  7037. enable_fast_install=no
  7038. # Look at the argument we got. We use all the common list separators.
  7039. lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
  7040. for pkg in $enableval; do
  7041. IFS=$lt_save_ifs
  7042. if test "X$pkg" = "X$p"; then
  7043. enable_fast_install=yes
  7044. fi
  7045. done
  7046. IFS=$lt_save_ifs
  7047. ;;
  7048. esac
  7049. else
  7050. enable_fast_install=yes
  7051. fi
  7052. shared_archive_member_spec=
  7053. case $host,$enable_shared in
  7054. power*-*-aix[5-9]*,yes)
  7055. { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
  7056. $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
  7057. # Check whether --with-aix-soname was given.
  7058. if test "${with_aix_soname+set}" = set; then :
  7059. withval=$with_aix_soname; case $withval in
  7060. aix|svr4|both)
  7061. ;;
  7062. *)
  7063. as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
  7064. ;;
  7065. esac
  7066. lt_cv_with_aix_soname=$with_aix_soname
  7067. else
  7068. if ${lt_cv_with_aix_soname+:} false; then :
  7069. $as_echo_n "(cached) " >&6
  7070. else
  7071. lt_cv_with_aix_soname=aix
  7072. fi
  7073. with_aix_soname=$lt_cv_with_aix_soname
  7074. fi
  7075. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
  7076. $as_echo "$with_aix_soname" >&6; }
  7077. if test aix != "$with_aix_soname"; then
  7078. # For the AIX way of multilib, we name the shared archive member
  7079. # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
  7080. # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
  7081. # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
  7082. # the AIX toolchain works better with OBJECT_MODE set (default 32).
  7083. if test 64 = "${OBJECT_MODE-32}"; then
  7084. shared_archive_member_spec=shr_64
  7085. else
  7086. shared_archive_member_spec=shr
  7087. fi
  7088. fi
  7089. ;;
  7090. *)
  7091. with_aix_soname=aix
  7092. ;;
  7093. esac
  7094. # This can be used to rebuild libtool when needed
  7095. LIBTOOL_DEPS=$ltmain
  7096. # Always use our own libtool.
  7097. LIBTOOL='$(top_builddir)'
  7098. LIBTOOL="$LIBTOOL/${host_alias}-libtool"
  7099. test -z "$LN_S" && LN_S="ln -s"
  7100. if test -n "${ZSH_VERSION+set}"; then
  7101. setopt NO_GLOB_SUBST
  7102. fi
  7103. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
  7104. $as_echo_n "checking for objdir... " >&6; }
  7105. if ${lt_cv_objdir+:} false; then :
  7106. $as_echo_n "(cached) " >&6
  7107. else
  7108. rm -f .libs 2>/dev/null
  7109. mkdir .libs 2>/dev/null
  7110. if test -d .libs; then
  7111. lt_cv_objdir=.libs
  7112. else
  7113. # MS-DOS does not allow filenames that begin with a dot.
  7114. lt_cv_objdir=_libs
  7115. fi
  7116. rmdir .libs 2>/dev/null
  7117. fi
  7118. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
  7119. $as_echo "$lt_cv_objdir" >&6; }
  7120. objdir=$lt_cv_objdir
  7121. cat >>confdefs.h <<_ACEOF
  7122. #define LT_OBJDIR "$lt_cv_objdir/"
  7123. _ACEOF
  7124. case $host_os in
  7125. aix3*)
  7126. # AIX sometimes has problems with the GCC collect2 program. For some
  7127. # reason, if we set the COLLECT_NAMES environment variable, the problems
  7128. # vanish in a puff of smoke.
  7129. if test set != "${COLLECT_NAMES+set}"; then
  7130. COLLECT_NAMES=
  7131. export COLLECT_NAMES
  7132. fi
  7133. ;;
  7134. esac
  7135. # Global variables:
  7136. ofile=${host_alias}-libtool
  7137. can_build_shared=yes
  7138. # All known linkers require a '.a' archive for static linking (except MSVC,
  7139. # which needs '.lib').
  7140. libext=a
  7141. with_gnu_ld=$lt_cv_prog_gnu_ld
  7142. old_CC=$CC
  7143. old_CFLAGS=$CFLAGS
  7144. # Set sane defaults for various variables
  7145. test -z "$CC" && CC=cc
  7146. test -z "$LTCC" && LTCC=$CC
  7147. test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
  7148. test -z "$LD" && LD=ld
  7149. test -z "$ac_objext" && ac_objext=o
  7150. func_cc_basename $compiler
  7151. cc_basename=$func_cc_basename_result
  7152. # Only perform the check for file, if the check method requires it
  7153. test -z "$MAGIC_CMD" && MAGIC_CMD=file
  7154. case $deplibs_check_method in
  7155. file_magic*)
  7156. if test "$file_magic_cmd" = '$MAGIC_CMD'; then
  7157. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
  7158. $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
  7159. if ${lt_cv_path_MAGIC_CMD+:} false; then :
  7160. $as_echo_n "(cached) " >&6
  7161. else
  7162. case $MAGIC_CMD in
  7163. [\\/*] | ?:[\\/]*)
  7164. lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
  7165. ;;
  7166. *)
  7167. lt_save_MAGIC_CMD=$MAGIC_CMD
  7168. lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
  7169. ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
  7170. for ac_dir in $ac_dummy; do
  7171. IFS=$lt_save_ifs
  7172. test -z "$ac_dir" && ac_dir=.
  7173. if test -f "$ac_dir/${ac_tool_prefix}file"; then
  7174. lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
  7175. if test -n "$file_magic_test_file"; then
  7176. case $deplibs_check_method in
  7177. "file_magic "*)
  7178. file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
  7179. MAGIC_CMD=$lt_cv_path_MAGIC_CMD
  7180. if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
  7181. $EGREP "$file_magic_regex" > /dev/null; then
  7182. :
  7183. else
  7184. cat <<_LT_EOF 1>&2
  7185. *** Warning: the command libtool uses to detect shared libraries,
  7186. *** $file_magic_cmd, produces output that libtool cannot recognize.
  7187. *** The result is that libtool may fail to recognize shared libraries
  7188. *** as such. This will affect the creation of libtool libraries that
  7189. *** depend on shared libraries, but programs linked with such libtool
  7190. *** libraries will work regardless of this problem. Nevertheless, you
  7191. *** may want to report the problem to your system manager and/or to
  7192. *** bug-libtool@gnu.org
  7193. _LT_EOF
  7194. fi ;;
  7195. esac
  7196. fi
  7197. break
  7198. fi
  7199. done
  7200. IFS=$lt_save_ifs
  7201. MAGIC_CMD=$lt_save_MAGIC_CMD
  7202. ;;
  7203. esac
  7204. fi
  7205. MAGIC_CMD=$lt_cv_path_MAGIC_CMD
  7206. if test -n "$MAGIC_CMD"; then
  7207. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
  7208. $as_echo "$MAGIC_CMD" >&6; }
  7209. else
  7210. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7211. $as_echo "no" >&6; }
  7212. fi
  7213. if test -z "$lt_cv_path_MAGIC_CMD"; then
  7214. if test -n "$ac_tool_prefix"; then
  7215. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
  7216. $as_echo_n "checking for file... " >&6; }
  7217. if ${lt_cv_path_MAGIC_CMD+:} false; then :
  7218. $as_echo_n "(cached) " >&6
  7219. else
  7220. case $MAGIC_CMD in
  7221. [\\/*] | ?:[\\/]*)
  7222. lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
  7223. ;;
  7224. *)
  7225. lt_save_MAGIC_CMD=$MAGIC_CMD
  7226. lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
  7227. ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
  7228. for ac_dir in $ac_dummy; do
  7229. IFS=$lt_save_ifs
  7230. test -z "$ac_dir" && ac_dir=.
  7231. if test -f "$ac_dir/file"; then
  7232. lt_cv_path_MAGIC_CMD=$ac_dir/"file"
  7233. if test -n "$file_magic_test_file"; then
  7234. case $deplibs_check_method in
  7235. "file_magic "*)
  7236. file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
  7237. MAGIC_CMD=$lt_cv_path_MAGIC_CMD
  7238. if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
  7239. $EGREP "$file_magic_regex" > /dev/null; then
  7240. :
  7241. else
  7242. cat <<_LT_EOF 1>&2
  7243. *** Warning: the command libtool uses to detect shared libraries,
  7244. *** $file_magic_cmd, produces output that libtool cannot recognize.
  7245. *** The result is that libtool may fail to recognize shared libraries
  7246. *** as such. This will affect the creation of libtool libraries that
  7247. *** depend on shared libraries, but programs linked with such libtool
  7248. *** libraries will work regardless of this problem. Nevertheless, you
  7249. *** may want to report the problem to your system manager and/or to
  7250. *** bug-libtool@gnu.org
  7251. _LT_EOF
  7252. fi ;;
  7253. esac
  7254. fi
  7255. break
  7256. fi
  7257. done
  7258. IFS=$lt_save_ifs
  7259. MAGIC_CMD=$lt_save_MAGIC_CMD
  7260. ;;
  7261. esac
  7262. fi
  7263. MAGIC_CMD=$lt_cv_path_MAGIC_CMD
  7264. if test -n "$MAGIC_CMD"; then
  7265. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
  7266. $as_echo "$MAGIC_CMD" >&6; }
  7267. else
  7268. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7269. $as_echo "no" >&6; }
  7270. fi
  7271. else
  7272. MAGIC_CMD=:
  7273. fi
  7274. fi
  7275. fi
  7276. ;;
  7277. esac
  7278. # Use C for the default configuration in the libtool script
  7279. lt_save_CC=$CC
  7280. ac_ext=c
  7281. ac_cpp='$CPP $CPPFLAGS'
  7282. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  7283. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  7284. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  7285. # Source file extension for C test sources.
  7286. ac_ext=c
  7287. # Object file extension for compiled C test sources.
  7288. objext=o
  7289. objext=$objext
  7290. # Code to be used in simple compile tests
  7291. lt_simple_compile_test_code="int some_variable = 0;"
  7292. # Code to be used in simple link tests
  7293. lt_simple_link_test_code='int main(){return(0);}'
  7294. # If no C compiler was specified, use CC.
  7295. LTCC=${LTCC-"$CC"}
  7296. # If no C compiler flags were specified, use CFLAGS.
  7297. LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
  7298. # Allow CC to be a program name with arguments.
  7299. compiler=$CC
  7300. # Save the default compiler, since it gets overwritten when the other
  7301. # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
  7302. compiler_DEFAULT=$CC
  7303. # save warnings/boilerplate of simple test code
  7304. ac_outfile=conftest.$ac_objext
  7305. echo "$lt_simple_compile_test_code" >conftest.$ac_ext
  7306. eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  7307. _lt_compiler_boilerplate=`cat conftest.err`
  7308. $RM conftest*
  7309. ac_outfile=conftest.$ac_objext
  7310. echo "$lt_simple_link_test_code" >conftest.$ac_ext
  7311. eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  7312. _lt_linker_boilerplate=`cat conftest.err`
  7313. $RM -r conftest*
  7314. ## CAVEAT EMPTOR:
  7315. ## There is no encapsulation within the following macros, do not change
  7316. ## the running order or otherwise move them around unless you know exactly
  7317. ## what you are doing...
  7318. if test -n "$compiler"; then
  7319. lt_prog_compiler_no_builtin_flag=
  7320. if test yes = "$GCC"; then
  7321. case $cc_basename in
  7322. nvcc*)
  7323. lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
  7324. *)
  7325. lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
  7326. esac
  7327. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
  7328. $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
  7329. if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
  7330. $as_echo_n "(cached) " >&6
  7331. else
  7332. lt_cv_prog_compiler_rtti_exceptions=no
  7333. ac_outfile=conftest.$ac_objext
  7334. echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  7335. lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
  7336. # Insert the option either (1) after the last *FLAGS variable, or
  7337. # (2) before a word containing "conftest.", or (3) at the end.
  7338. # Note that $ac_compile itself does not contain backslashes and begins
  7339. # with a dollar sign (not a hyphen), so the echo should work correctly.
  7340. # The option is referenced via a variable to avoid confusing sed.
  7341. lt_compile=`echo "$ac_compile" | $SED \
  7342. -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  7343. -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  7344. -e 's:$: $lt_compiler_flag:'`
  7345. (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  7346. (eval "$lt_compile" 2>conftest.err)
  7347. ac_status=$?
  7348. cat conftest.err >&5
  7349. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7350. if (exit $ac_status) && test -s "$ac_outfile"; then
  7351. # The compiler can only warn and ignore the option if not recognized
  7352. # So say no if there are warnings other than the usual output.
  7353. $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
  7354. $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  7355. if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  7356. lt_cv_prog_compiler_rtti_exceptions=yes
  7357. fi
  7358. fi
  7359. $RM conftest*
  7360. fi
  7361. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
  7362. $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
  7363. if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
  7364. lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
  7365. else
  7366. :
  7367. fi
  7368. fi
  7369. lt_prog_compiler_wl=
  7370. lt_prog_compiler_pic=
  7371. lt_prog_compiler_static=
  7372. if test yes = "$GCC"; then
  7373. lt_prog_compiler_wl='-Wl,'
  7374. lt_prog_compiler_static='-static'
  7375. case $host_os in
  7376. aix*)
  7377. # All AIX code is PIC.
  7378. if test ia64 = "$host_cpu"; then
  7379. # AIX 5 now supports IA64 processor
  7380. lt_prog_compiler_static='-Bstatic'
  7381. fi
  7382. lt_prog_compiler_pic='-fPIC'
  7383. ;;
  7384. amigaos*)
  7385. case $host_cpu in
  7386. powerpc)
  7387. # see comment about AmigaOS4 .so support
  7388. lt_prog_compiler_pic='-fPIC'
  7389. ;;
  7390. m68k)
  7391. # FIXME: we need at least 68020 code to build shared libraries, but
  7392. # adding the '-m68020' flag to GCC prevents building anything better,
  7393. # like '-m68040'.
  7394. lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
  7395. ;;
  7396. esac
  7397. ;;
  7398. beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
  7399. # PIC is the default for these OSes.
  7400. ;;
  7401. mingw* | cygwin* | pw32* | os2* | cegcc*)
  7402. # This hack is so that the source file can tell whether it is being
  7403. # built for inclusion in a dll (and should export symbols for example).
  7404. # Although the cygwin gcc ignores -fPIC, still need this for old-style
  7405. # (--disable-auto-import) libraries
  7406. lt_prog_compiler_pic='-DDLL_EXPORT'
  7407. case $host_os in
  7408. os2*)
  7409. lt_prog_compiler_static='$wl-static'
  7410. ;;
  7411. esac
  7412. ;;
  7413. darwin* | rhapsody*)
  7414. # PIC is the default on this platform
  7415. # Common symbols not allowed in MH_DYLIB files
  7416. lt_prog_compiler_pic='-fno-common'
  7417. ;;
  7418. haiku*)
  7419. # PIC is the default for Haiku.
  7420. # The "-static" flag exists, but is broken.
  7421. lt_prog_compiler_static=
  7422. ;;
  7423. hpux*)
  7424. # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
  7425. # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
  7426. # sets the default TLS model and affects inlining.
  7427. case $host_cpu in
  7428. hppa*64*)
  7429. # +Z the default
  7430. ;;
  7431. *)
  7432. lt_prog_compiler_pic='-fPIC'
  7433. ;;
  7434. esac
  7435. ;;
  7436. interix[3-9]*)
  7437. # Interix 3.x gcc -fpic/-fPIC options generate broken code.
  7438. # Instead, we relocate shared libraries at runtime.
  7439. ;;
  7440. msdosdjgpp*)
  7441. # Just because we use GCC doesn't mean we suddenly get shared libraries
  7442. # on systems that don't support them.
  7443. lt_prog_compiler_can_build_shared=no
  7444. enable_shared=no
  7445. ;;
  7446. *nto* | *qnx*)
  7447. # QNX uses GNU C++, but need to define -shared option too, otherwise
  7448. # it will coredump.
  7449. lt_prog_compiler_pic='-fPIC -shared'
  7450. ;;
  7451. sysv4*MP*)
  7452. if test -d /usr/nec; then
  7453. lt_prog_compiler_pic=-Kconform_pic
  7454. fi
  7455. ;;
  7456. *)
  7457. lt_prog_compiler_pic='-fPIC'
  7458. ;;
  7459. esac
  7460. case $cc_basename in
  7461. nvcc*) # Cuda Compiler Driver 2.2
  7462. lt_prog_compiler_wl='-Xlinker '
  7463. if test -n "$lt_prog_compiler_pic"; then
  7464. lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
  7465. fi
  7466. ;;
  7467. esac
  7468. else
  7469. # PORTME Check for flag to pass linker flags through the system compiler.
  7470. case $host_os in
  7471. aix*)
  7472. lt_prog_compiler_wl='-Wl,'
  7473. if test ia64 = "$host_cpu"; then
  7474. # AIX 5 now supports IA64 processor
  7475. lt_prog_compiler_static='-Bstatic'
  7476. else
  7477. lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
  7478. fi
  7479. ;;
  7480. darwin* | rhapsody*)
  7481. # PIC is the default on this platform
  7482. # Common symbols not allowed in MH_DYLIB files
  7483. lt_prog_compiler_pic='-fno-common'
  7484. case $cc_basename in
  7485. nagfor*)
  7486. # NAG Fortran compiler
  7487. lt_prog_compiler_wl='-Wl,-Wl,,'
  7488. lt_prog_compiler_pic='-PIC'
  7489. lt_prog_compiler_static='-Bstatic'
  7490. ;;
  7491. esac
  7492. ;;
  7493. mingw* | cygwin* | pw32* | os2* | cegcc*)
  7494. # This hack is so that the source file can tell whether it is being
  7495. # built for inclusion in a dll (and should export symbols for example).
  7496. lt_prog_compiler_pic='-DDLL_EXPORT'
  7497. case $host_os in
  7498. os2*)
  7499. lt_prog_compiler_static='$wl-static'
  7500. ;;
  7501. esac
  7502. ;;
  7503. hpux9* | hpux10* | hpux11*)
  7504. lt_prog_compiler_wl='-Wl,'
  7505. # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
  7506. # not for PA HP-UX.
  7507. case $host_cpu in
  7508. hppa*64*|ia64*)
  7509. # +Z the default
  7510. ;;
  7511. *)
  7512. lt_prog_compiler_pic='+Z'
  7513. ;;
  7514. esac
  7515. # Is there a better lt_prog_compiler_static that works with the bundled CC?
  7516. lt_prog_compiler_static='$wl-a ${wl}archive'
  7517. ;;
  7518. irix5* | irix6* | nonstopux*)
  7519. lt_prog_compiler_wl='-Wl,'
  7520. # PIC (with -KPIC) is the default.
  7521. lt_prog_compiler_static='-non_shared'
  7522. ;;
  7523. linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
  7524. case $cc_basename in
  7525. # old Intel for x86_64, which still supported -KPIC.
  7526. ecc*)
  7527. lt_prog_compiler_wl='-Wl,'
  7528. lt_prog_compiler_pic='-KPIC'
  7529. lt_prog_compiler_static='-static'
  7530. ;;
  7531. # icc used to be incompatible with GCC.
  7532. # ICC 10 doesn't accept -KPIC any more.
  7533. icc* | ifort*)
  7534. lt_prog_compiler_wl='-Wl,'
  7535. lt_prog_compiler_pic='-fPIC'
  7536. lt_prog_compiler_static='-static'
  7537. ;;
  7538. # Lahey Fortran 8.1.
  7539. lf95*)
  7540. lt_prog_compiler_wl='-Wl,'
  7541. lt_prog_compiler_pic='--shared'
  7542. lt_prog_compiler_static='--static'
  7543. ;;
  7544. nagfor*)
  7545. # NAG Fortran compiler
  7546. lt_prog_compiler_wl='-Wl,-Wl,,'
  7547. lt_prog_compiler_pic='-PIC'
  7548. lt_prog_compiler_static='-Bstatic'
  7549. ;;
  7550. tcc*)
  7551. # Fabrice Bellard et al's Tiny C Compiler
  7552. lt_prog_compiler_wl='-Wl,'
  7553. lt_prog_compiler_pic='-fPIC'
  7554. lt_prog_compiler_static='-static'
  7555. ;;
  7556. pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
  7557. # Portland Group compilers (*not* the Pentium gcc compiler,
  7558. # which looks to be a dead project)
  7559. lt_prog_compiler_wl='-Wl,'
  7560. lt_prog_compiler_pic='-fpic'
  7561. lt_prog_compiler_static='-Bstatic'
  7562. ;;
  7563. ccc*)
  7564. lt_prog_compiler_wl='-Wl,'
  7565. # All Alpha code is PIC.
  7566. lt_prog_compiler_static='-non_shared'
  7567. ;;
  7568. xl* | bgxl* | bgf* | mpixl*)
  7569. # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
  7570. lt_prog_compiler_wl='-Wl,'
  7571. lt_prog_compiler_pic='-qpic'
  7572. lt_prog_compiler_static='-qstaticlink'
  7573. ;;
  7574. *)
  7575. case `$CC -V 2>&1 | sed 5q` in
  7576. *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
  7577. # Sun Fortran 8.3 passes all unrecognized flags to the linker
  7578. lt_prog_compiler_pic='-KPIC'
  7579. lt_prog_compiler_static='-Bstatic'
  7580. lt_prog_compiler_wl=''
  7581. ;;
  7582. *Sun\ F* | *Sun*Fortran*)
  7583. lt_prog_compiler_pic='-KPIC'
  7584. lt_prog_compiler_static='-Bstatic'
  7585. lt_prog_compiler_wl='-Qoption ld '
  7586. ;;
  7587. *Sun\ C*)
  7588. # Sun C 5.9
  7589. lt_prog_compiler_pic='-KPIC'
  7590. lt_prog_compiler_static='-Bstatic'
  7591. lt_prog_compiler_wl='-Wl,'
  7592. ;;
  7593. *Intel*\ [CF]*Compiler*)
  7594. lt_prog_compiler_wl='-Wl,'
  7595. lt_prog_compiler_pic='-fPIC'
  7596. lt_prog_compiler_static='-static'
  7597. ;;
  7598. *Portland\ Group*)
  7599. lt_prog_compiler_wl='-Wl,'
  7600. lt_prog_compiler_pic='-fpic'
  7601. lt_prog_compiler_static='-Bstatic'
  7602. ;;
  7603. esac
  7604. ;;
  7605. esac
  7606. ;;
  7607. newsos6)
  7608. lt_prog_compiler_pic='-KPIC'
  7609. lt_prog_compiler_static='-Bstatic'
  7610. ;;
  7611. *nto* | *qnx*)
  7612. # QNX uses GNU C++, but need to define -shared option too, otherwise
  7613. # it will coredump.
  7614. lt_prog_compiler_pic='-fPIC -shared'
  7615. ;;
  7616. osf3* | osf4* | osf5*)
  7617. lt_prog_compiler_wl='-Wl,'
  7618. # All OSF/1 code is PIC.
  7619. lt_prog_compiler_static='-non_shared'
  7620. ;;
  7621. rdos*)
  7622. lt_prog_compiler_static='-non_shared'
  7623. ;;
  7624. solaris*)
  7625. lt_prog_compiler_pic='-KPIC'
  7626. lt_prog_compiler_static='-Bstatic'
  7627. case $cc_basename in
  7628. f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
  7629. lt_prog_compiler_wl='-Qoption ld ';;
  7630. *)
  7631. lt_prog_compiler_wl='-Wl,';;
  7632. esac
  7633. ;;
  7634. sunos4*)
  7635. lt_prog_compiler_wl='-Qoption ld '
  7636. lt_prog_compiler_pic='-PIC'
  7637. lt_prog_compiler_static='-Bstatic'
  7638. ;;
  7639. sysv4 | sysv4.2uw2* | sysv4.3*)
  7640. lt_prog_compiler_wl='-Wl,'
  7641. lt_prog_compiler_pic='-KPIC'
  7642. lt_prog_compiler_static='-Bstatic'
  7643. ;;
  7644. sysv4*MP*)
  7645. if test -d /usr/nec; then
  7646. lt_prog_compiler_pic='-Kconform_pic'
  7647. lt_prog_compiler_static='-Bstatic'
  7648. fi
  7649. ;;
  7650. sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
  7651. lt_prog_compiler_wl='-Wl,'
  7652. lt_prog_compiler_pic='-KPIC'
  7653. lt_prog_compiler_static='-Bstatic'
  7654. ;;
  7655. unicos*)
  7656. lt_prog_compiler_wl='-Wl,'
  7657. lt_prog_compiler_can_build_shared=no
  7658. ;;
  7659. uts4*)
  7660. lt_prog_compiler_pic='-pic'
  7661. lt_prog_compiler_static='-Bstatic'
  7662. ;;
  7663. *)
  7664. lt_prog_compiler_can_build_shared=no
  7665. ;;
  7666. esac
  7667. fi
  7668. case $host_os in
  7669. # For platforms that do not support PIC, -DPIC is meaningless:
  7670. *djgpp*)
  7671. lt_prog_compiler_pic=
  7672. ;;
  7673. *)
  7674. lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
  7675. ;;
  7676. esac
  7677. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
  7678. $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
  7679. if ${lt_cv_prog_compiler_pic+:} false; then :
  7680. $as_echo_n "(cached) " >&6
  7681. else
  7682. lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
  7683. fi
  7684. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
  7685. $as_echo "$lt_cv_prog_compiler_pic" >&6; }
  7686. lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
  7687. #
  7688. # Check to make sure the PIC flag actually works.
  7689. #
  7690. if test -n "$lt_prog_compiler_pic"; then
  7691. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
  7692. $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
  7693. if ${lt_cv_prog_compiler_pic_works+:} false; then :
  7694. $as_echo_n "(cached) " >&6
  7695. else
  7696. lt_cv_prog_compiler_pic_works=no
  7697. ac_outfile=conftest.$ac_objext
  7698. echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  7699. lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
  7700. # Insert the option either (1) after the last *FLAGS variable, or
  7701. # (2) before a word containing "conftest.", or (3) at the end.
  7702. # Note that $ac_compile itself does not contain backslashes and begins
  7703. # with a dollar sign (not a hyphen), so the echo should work correctly.
  7704. # The option is referenced via a variable to avoid confusing sed.
  7705. lt_compile=`echo "$ac_compile" | $SED \
  7706. -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  7707. -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  7708. -e 's:$: $lt_compiler_flag:'`
  7709. (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  7710. (eval "$lt_compile" 2>conftest.err)
  7711. ac_status=$?
  7712. cat conftest.err >&5
  7713. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7714. if (exit $ac_status) && test -s "$ac_outfile"; then
  7715. # The compiler can only warn and ignore the option if not recognized
  7716. # So say no if there are warnings other than the usual output.
  7717. $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
  7718. $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  7719. if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  7720. lt_cv_prog_compiler_pic_works=yes
  7721. fi
  7722. fi
  7723. $RM conftest*
  7724. fi
  7725. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
  7726. $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
  7727. if test yes = "$lt_cv_prog_compiler_pic_works"; then
  7728. case $lt_prog_compiler_pic in
  7729. "" | " "*) ;;
  7730. *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
  7731. esac
  7732. else
  7733. lt_prog_compiler_pic=
  7734. lt_prog_compiler_can_build_shared=no
  7735. fi
  7736. fi
  7737. #
  7738. # Check to make sure the static flag actually works.
  7739. #
  7740. wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
  7741. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
  7742. $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
  7743. if ${lt_cv_prog_compiler_static_works+:} false; then :
  7744. $as_echo_n "(cached) " >&6
  7745. else
  7746. lt_cv_prog_compiler_static_works=no
  7747. save_LDFLAGS=$LDFLAGS
  7748. LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
  7749. echo "$lt_simple_link_test_code" > conftest.$ac_ext
  7750. if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
  7751. # The linker can only warn and ignore the option if not recognized
  7752. # So say no if there are warnings
  7753. if test -s conftest.err; then
  7754. # Append any errors to the config.log.
  7755. cat conftest.err 1>&5
  7756. $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
  7757. $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  7758. if diff conftest.exp conftest.er2 >/dev/null; then
  7759. lt_cv_prog_compiler_static_works=yes
  7760. fi
  7761. else
  7762. lt_cv_prog_compiler_static_works=yes
  7763. fi
  7764. fi
  7765. $RM -r conftest*
  7766. LDFLAGS=$save_LDFLAGS
  7767. fi
  7768. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
  7769. $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
  7770. if test yes = "$lt_cv_prog_compiler_static_works"; then
  7771. :
  7772. else
  7773. lt_prog_compiler_static=
  7774. fi
  7775. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
  7776. $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
  7777. if ${lt_cv_prog_compiler_c_o+:} false; then :
  7778. $as_echo_n "(cached) " >&6
  7779. else
  7780. lt_cv_prog_compiler_c_o=no
  7781. $RM -r conftest 2>/dev/null
  7782. mkdir conftest
  7783. cd conftest
  7784. mkdir out
  7785. echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  7786. lt_compiler_flag="-o out/conftest2.$ac_objext"
  7787. # Insert the option either (1) after the last *FLAGS variable, or
  7788. # (2) before a word containing "conftest.", or (3) at the end.
  7789. # Note that $ac_compile itself does not contain backslashes and begins
  7790. # with a dollar sign (not a hyphen), so the echo should work correctly.
  7791. lt_compile=`echo "$ac_compile" | $SED \
  7792. -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  7793. -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  7794. -e 's:$: $lt_compiler_flag:'`
  7795. (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  7796. (eval "$lt_compile" 2>out/conftest.err)
  7797. ac_status=$?
  7798. cat out/conftest.err >&5
  7799. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7800. if (exit $ac_status) && test -s out/conftest2.$ac_objext
  7801. then
  7802. # The compiler can only warn and ignore the option if not recognized
  7803. # So say no if there are warnings
  7804. $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
  7805. $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  7806. if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  7807. lt_cv_prog_compiler_c_o=yes
  7808. fi
  7809. fi
  7810. chmod u+w . 2>&5
  7811. $RM conftest*
  7812. # SGI C++ compiler will create directory out/ii_files/ for
  7813. # template instantiation
  7814. test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
  7815. $RM out/* && rmdir out
  7816. cd ..
  7817. $RM -r conftest
  7818. $RM conftest*
  7819. fi
  7820. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
  7821. $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
  7822. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
  7823. $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
  7824. if ${lt_cv_prog_compiler_c_o+:} false; then :
  7825. $as_echo_n "(cached) " >&6
  7826. else
  7827. lt_cv_prog_compiler_c_o=no
  7828. $RM -r conftest 2>/dev/null
  7829. mkdir conftest
  7830. cd conftest
  7831. mkdir out
  7832. echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  7833. lt_compiler_flag="-o out/conftest2.$ac_objext"
  7834. # Insert the option either (1) after the last *FLAGS variable, or
  7835. # (2) before a word containing "conftest.", or (3) at the end.
  7836. # Note that $ac_compile itself does not contain backslashes and begins
  7837. # with a dollar sign (not a hyphen), so the echo should work correctly.
  7838. lt_compile=`echo "$ac_compile" | $SED \
  7839. -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  7840. -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  7841. -e 's:$: $lt_compiler_flag:'`
  7842. (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  7843. (eval "$lt_compile" 2>out/conftest.err)
  7844. ac_status=$?
  7845. cat out/conftest.err >&5
  7846. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7847. if (exit $ac_status) && test -s out/conftest2.$ac_objext
  7848. then
  7849. # The compiler can only warn and ignore the option if not recognized
  7850. # So say no if there are warnings
  7851. $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
  7852. $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  7853. if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  7854. lt_cv_prog_compiler_c_o=yes
  7855. fi
  7856. fi
  7857. chmod u+w . 2>&5
  7858. $RM conftest*
  7859. # SGI C++ compiler will create directory out/ii_files/ for
  7860. # template instantiation
  7861. test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
  7862. $RM out/* && rmdir out
  7863. cd ..
  7864. $RM -r conftest
  7865. $RM conftest*
  7866. fi
  7867. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
  7868. $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
  7869. hard_links=nottested
  7870. if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
  7871. # do not overwrite the value of need_locks provided by the user
  7872. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
  7873. $as_echo_n "checking if we can lock with hard links... " >&6; }
  7874. hard_links=yes
  7875. $RM conftest*
  7876. ln conftest.a conftest.b 2>/dev/null && hard_links=no
  7877. touch conftest.a
  7878. ln conftest.a conftest.b 2>&5 || hard_links=no
  7879. ln conftest.a conftest.b 2>/dev/null && hard_links=no
  7880. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
  7881. $as_echo "$hard_links" >&6; }
  7882. if test no = "$hard_links"; then
  7883. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
  7884. $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
  7885. need_locks=warn
  7886. fi
  7887. else
  7888. need_locks=no
  7889. fi
  7890. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
  7891. $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
  7892. runpath_var=
  7893. allow_undefined_flag=
  7894. always_export_symbols=no
  7895. archive_cmds=
  7896. archive_expsym_cmds=
  7897. compiler_needs_object=no
  7898. enable_shared_with_static_runtimes=no
  7899. export_dynamic_flag_spec=
  7900. export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  7901. hardcode_automatic=no
  7902. hardcode_direct=no
  7903. hardcode_direct_absolute=no
  7904. hardcode_libdir_flag_spec=
  7905. hardcode_libdir_separator=
  7906. hardcode_minus_L=no
  7907. hardcode_shlibpath_var=unsupported
  7908. inherit_rpath=no
  7909. link_all_deplibs=unknown
  7910. module_cmds=
  7911. module_expsym_cmds=
  7912. old_archive_from_new_cmds=
  7913. old_archive_from_expsyms_cmds=
  7914. thread_safe_flag_spec=
  7915. whole_archive_flag_spec=
  7916. # include_expsyms should be a list of space-separated symbols to be *always*
  7917. # included in the symbol list
  7918. include_expsyms=
  7919. # exclude_expsyms can be an extended regexp of symbols to exclude
  7920. # it will be wrapped by ' (' and ')$', so one must not match beginning or
  7921. # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
  7922. # as well as any symbol that contains 'd'.
  7923. exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
  7924. # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
  7925. # platforms (ab)use it in PIC code, but their linkers get confused if
  7926. # the symbol is explicitly referenced. Since portable code cannot
  7927. # rely on this symbol name, it's probably fine to never include it in
  7928. # preloaded symbol tables.
  7929. # Exclude shared library initialization/finalization symbols.
  7930. extract_expsyms_cmds=
  7931. case $host_os in
  7932. cygwin* | mingw* | pw32* | cegcc*)
  7933. # FIXME: the MSVC++ port hasn't been tested in a loooong time
  7934. # When not using gcc, we currently assume that we are using
  7935. # Microsoft Visual C++.
  7936. if test yes != "$GCC"; then
  7937. with_gnu_ld=no
  7938. fi
  7939. ;;
  7940. interix*)
  7941. # we just hope/assume this is gcc and not c89 (= MSVC++)
  7942. with_gnu_ld=yes
  7943. ;;
  7944. openbsd* | bitrig*)
  7945. with_gnu_ld=no
  7946. ;;
  7947. esac
  7948. ld_shlibs=yes
  7949. # On some targets, GNU ld is compatible enough with the native linker
  7950. # that we're better off using the native interface for both.
  7951. lt_use_gnu_ld_interface=no
  7952. if test yes = "$with_gnu_ld"; then
  7953. case $host_os in
  7954. aix*)
  7955. # The AIX port of GNU ld has always aspired to compatibility
  7956. # with the native linker. However, as the warning in the GNU ld
  7957. # block says, versions before 2.19.5* couldn't really create working
  7958. # shared libraries, regardless of the interface used.
  7959. case `$LD -v 2>&1` in
  7960. *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
  7961. *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
  7962. *\ \(GNU\ Binutils\)\ [3-9]*) ;;
  7963. *)
  7964. lt_use_gnu_ld_interface=yes
  7965. ;;
  7966. esac
  7967. ;;
  7968. *)
  7969. lt_use_gnu_ld_interface=yes
  7970. ;;
  7971. esac
  7972. fi
  7973. if test yes = "$lt_use_gnu_ld_interface"; then
  7974. # If archive_cmds runs LD, not CC, wlarc should be empty
  7975. wlarc='$wl'
  7976. # Set some defaults for GNU ld with shared library support. These
  7977. # are reset later if shared libraries are not supported. Putting them
  7978. # here allows them to be overridden if necessary.
  7979. runpath_var=LD_RUN_PATH
  7980. hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
  7981. export_dynamic_flag_spec='$wl--export-dynamic'
  7982. # ancient GNU ld didn't support --whole-archive et. al.
  7983. if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
  7984. whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
  7985. else
  7986. whole_archive_flag_spec=
  7987. fi
  7988. supports_anon_versioning=no
  7989. case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
  7990. *GNU\ gold*) supports_anon_versioning=yes ;;
  7991. *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
  7992. *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
  7993. *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
  7994. *\ 2.11.*) ;; # other 2.11 versions
  7995. *) supports_anon_versioning=yes ;;
  7996. esac
  7997. # See if GNU ld supports shared libraries.
  7998. case $host_os in
  7999. aix[3-9]*)
  8000. # On AIX/PPC, the GNU linker is very broken
  8001. if test ia64 != "$host_cpu"; then
  8002. ld_shlibs=no
  8003. cat <<_LT_EOF 1>&2
  8004. *** Warning: the GNU linker, at least up to release 2.19, is reported
  8005. *** to be unable to reliably create shared libraries on AIX.
  8006. *** Therefore, libtool is disabling shared libraries support. If you
  8007. *** really care for shared libraries, you may want to install binutils
  8008. *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
  8009. *** You will then need to restart the configuration process.
  8010. _LT_EOF
  8011. fi
  8012. ;;
  8013. amigaos*)
  8014. case $host_cpu in
  8015. powerpc)
  8016. # see comment about AmigaOS4 .so support
  8017. archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  8018. archive_expsym_cmds=''
  8019. ;;
  8020. m68k)
  8021. 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)'
  8022. hardcode_libdir_flag_spec='-L$libdir'
  8023. hardcode_minus_L=yes
  8024. ;;
  8025. esac
  8026. ;;
  8027. beos*)
  8028. if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  8029. allow_undefined_flag=unsupported
  8030. # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
  8031. # support --undefined. This deserves some investigation. FIXME
  8032. archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  8033. else
  8034. ld_shlibs=no
  8035. fi
  8036. ;;
  8037. cygwin* | mingw* | pw32* | cegcc*)
  8038. # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
  8039. # as there is no search path for DLLs.
  8040. hardcode_libdir_flag_spec='-L$libdir'
  8041. export_dynamic_flag_spec='$wl--export-all-symbols'
  8042. allow_undefined_flag=unsupported
  8043. always_export_symbols=no
  8044. enable_shared_with_static_runtimes=yes
  8045. 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'
  8046. exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
  8047. if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
  8048. archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  8049. # If the export-symbols file already is a .def file, use it as
  8050. # is; otherwise, prepend EXPORTS...
  8051. archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
  8052. cp $export_symbols $output_objdir/$soname.def;
  8053. else
  8054. echo EXPORTS > $output_objdir/$soname.def;
  8055. cat $export_symbols >> $output_objdir/$soname.def;
  8056. fi~
  8057. $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  8058. else
  8059. ld_shlibs=no
  8060. fi
  8061. ;;
  8062. haiku*)
  8063. archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  8064. link_all_deplibs=yes
  8065. ;;
  8066. os2*)
  8067. hardcode_libdir_flag_spec='-L$libdir'
  8068. hardcode_minus_L=yes
  8069. allow_undefined_flag=unsupported
  8070. shrext_cmds=.dll
  8071. archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
  8072. $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
  8073. $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
  8074. $ECHO EXPORTS >> $output_objdir/$libname.def~
  8075. emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
  8076. $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
  8077. emximp -o $lib $output_objdir/$libname.def'
  8078. archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
  8079. $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
  8080. $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
  8081. $ECHO EXPORTS >> $output_objdir/$libname.def~
  8082. prefix_cmds="$SED"~
  8083. if test EXPORTS = "`$SED 1q $export_symbols`"; then
  8084. prefix_cmds="$prefix_cmds -e 1d";
  8085. fi~
  8086. prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
  8087. cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
  8088. $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
  8089. emximp -o $lib $output_objdir/$libname.def'
  8090. old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
  8091. enable_shared_with_static_runtimes=yes
  8092. ;;
  8093. interix[3-9]*)
  8094. hardcode_direct=no
  8095. hardcode_shlibpath_var=no
  8096. hardcode_libdir_flag_spec='$wl-rpath,$libdir'
  8097. export_dynamic_flag_spec='$wl-E'
  8098. # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
  8099. # Instead, shared libraries are loaded at an image base (0x10000000 by
  8100. # default) and relocated if they conflict, which is a slow very memory
  8101. # consuming and fragmenting process. To avoid this, we pick a random,
  8102. # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
  8103. # time. Moving up from 0x10000000 also allows more sbrk(2) space.
  8104. archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
  8105. 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'
  8106. ;;
  8107. gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
  8108. tmp_diet=no
  8109. if test linux-dietlibc = "$host_os"; then
  8110. case $cc_basename in
  8111. diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
  8112. esac
  8113. fi
  8114. if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
  8115. && test no = "$tmp_diet"
  8116. then
  8117. tmp_addflag=' $pic_flag'
  8118. tmp_sharedflag='-shared'
  8119. case $cc_basename,$host_cpu in
  8120. pgcc*) # Portland Group C compiler
  8121. 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'
  8122. tmp_addflag=' $pic_flag'
  8123. ;;
  8124. pgf77* | pgf90* | pgf95* | pgfortran*)
  8125. # Portland Group f77 and f90 compilers
  8126. 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'
  8127. tmp_addflag=' $pic_flag -Mnomain' ;;
  8128. ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
  8129. tmp_addflag=' -i_dynamic' ;;
  8130. efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
  8131. tmp_addflag=' -i_dynamic -nofor_main' ;;
  8132. ifc* | ifort*) # Intel Fortran compiler
  8133. tmp_addflag=' -nofor_main' ;;
  8134. lf95*) # Lahey Fortran 8.1
  8135. whole_archive_flag_spec=
  8136. tmp_sharedflag='--shared' ;;
  8137. nagfor*) # NAGFOR 5.3
  8138. tmp_sharedflag='-Wl,-shared' ;;
  8139. xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
  8140. tmp_sharedflag='-qmkshrobj'
  8141. tmp_addflag= ;;
  8142. nvcc*) # Cuda Compiler Driver 2.2
  8143. 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'
  8144. compiler_needs_object=yes
  8145. ;;
  8146. esac
  8147. case `$CC -V 2>&1 | sed 5q` in
  8148. *Sun\ C*) # Sun C 5.9
  8149. 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'
  8150. compiler_needs_object=yes
  8151. tmp_sharedflag='-G' ;;
  8152. *Sun\ F*) # Sun Fortran 8.3
  8153. tmp_sharedflag='-G' ;;
  8154. esac
  8155. archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  8156. if test yes = "$supports_anon_versioning"; then
  8157. archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
  8158. cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  8159. echo "local: *; };" >> $output_objdir/$libname.ver~
  8160. $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
  8161. fi
  8162. case $cc_basename in
  8163. tcc*)
  8164. export_dynamic_flag_spec='-rdynamic'
  8165. ;;
  8166. xlf* | bgf* | bgxlf* | mpixlf*)
  8167. # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
  8168. whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
  8169. hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
  8170. archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
  8171. if test yes = "$supports_anon_versioning"; then
  8172. archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
  8173. cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  8174. echo "local: *; };" >> $output_objdir/$libname.ver~
  8175. $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
  8176. fi
  8177. ;;
  8178. esac
  8179. else
  8180. ld_shlibs=no
  8181. fi
  8182. ;;
  8183. netbsd*)
  8184. if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  8185. archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
  8186. wlarc=
  8187. else
  8188. archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  8189. archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
  8190. fi
  8191. ;;
  8192. solaris*)
  8193. if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
  8194. ld_shlibs=no
  8195. cat <<_LT_EOF 1>&2
  8196. *** Warning: The releases 2.8.* of the GNU linker cannot reliably
  8197. *** create shared libraries on Solaris systems. Therefore, libtool
  8198. *** is disabling shared libraries support. We urge you to upgrade GNU
  8199. *** binutils to release 2.9.1 or newer. Another option is to modify
  8200. *** your PATH or compiler configuration so that the native linker is
  8201. *** used, and then restart.
  8202. _LT_EOF
  8203. elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  8204. archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  8205. archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
  8206. else
  8207. ld_shlibs=no
  8208. fi
  8209. ;;
  8210. sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
  8211. case `$LD -v 2>&1` in
  8212. *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
  8213. ld_shlibs=no
  8214. cat <<_LT_EOF 1>&2
  8215. *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
  8216. *** reliably create shared libraries on SCO systems. Therefore, libtool
  8217. *** is disabling shared libraries support. We urge you to upgrade GNU
  8218. *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
  8219. *** your PATH or compiler configuration so that the native linker is
  8220. *** used, and then restart.
  8221. _LT_EOF
  8222. ;;
  8223. *)
  8224. # For security reasons, it is highly recommended that you always
  8225. # use absolute paths for naming shared libraries, and exclude the
  8226. # DT_RUNPATH tag from executables and libraries. But doing so
  8227. # requires that you compile everything twice, which is a pain.
  8228. if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  8229. hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
  8230. archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  8231. archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
  8232. else
  8233. ld_shlibs=no
  8234. fi
  8235. ;;
  8236. esac
  8237. ;;
  8238. sunos4*)
  8239. archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  8240. wlarc=
  8241. hardcode_direct=yes
  8242. hardcode_shlibpath_var=no
  8243. ;;
  8244. *)
  8245. if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  8246. archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  8247. archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
  8248. else
  8249. ld_shlibs=no
  8250. fi
  8251. ;;
  8252. esac
  8253. if test no = "$ld_shlibs"; then
  8254. runpath_var=
  8255. hardcode_libdir_flag_spec=
  8256. export_dynamic_flag_spec=
  8257. whole_archive_flag_spec=
  8258. fi
  8259. else
  8260. # PORTME fill in a description of your system's linker (not GNU ld)
  8261. case $host_os in
  8262. aix3*)
  8263. allow_undefined_flag=unsupported
  8264. always_export_symbols=yes
  8265. 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'
  8266. # Note: this linker hardcodes the directories in LIBPATH if there
  8267. # are no directories specified by -L.
  8268. hardcode_minus_L=yes
  8269. if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
  8270. # Neither direct hardcoding nor static linking is supported with a
  8271. # broken collect2.
  8272. hardcode_direct=unsupported
  8273. fi
  8274. ;;
  8275. aix[4-9]*)
  8276. if test ia64 = "$host_cpu"; then
  8277. # On IA64, the linker does run time linking by default, so we don't
  8278. # have to do anything special.
  8279. aix_use_runtimelinking=no
  8280. exp_sym_flag='-Bexport'
  8281. no_entry_flag=
  8282. else
  8283. # If we're using GNU nm, then we don't want the "-C" option.
  8284. # -C means demangle to GNU nm, but means don't demangle to AIX nm.
  8285. # Without the "-l" option, or with the "-B" option, AIX nm treats
  8286. # weak defined symbols like other global defined symbols, whereas
  8287. # GNU nm marks them as "W".
  8288. # While the 'weak' keyword is ignored in the Export File, we need
  8289. # it in the Import File for the 'aix-soname' feature, so we have
  8290. # to replace the "-B" option with "-P" for AIX nm.
  8291. if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
  8292. export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
  8293. else
  8294. export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
  8295. fi
  8296. aix_use_runtimelinking=no
  8297. # Test if we are trying to use run time linking or normal
  8298. # AIX style linking. If -brtl is somewhere in LDFLAGS, we
  8299. # have runtime linking enabled, and use it for executables.
  8300. # For shared libraries, we enable/disable runtime linking
  8301. # depending on the kind of the shared library created -
  8302. # when "with_aix_soname,aix_use_runtimelinking" is:
  8303. # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
  8304. # "aix,yes" lib.so shared, rtl:yes, for executables
  8305. # lib.a static archive
  8306. # "both,no" lib.so.V(shr.o) shared, rtl:yes
  8307. # lib.a(lib.so.V) shared, rtl:no, for executables
  8308. # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
  8309. # lib.a(lib.so.V) shared, rtl:no
  8310. # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
  8311. # lib.a static archive
  8312. case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
  8313. for ld_flag in $LDFLAGS; do
  8314. if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
  8315. aix_use_runtimelinking=yes
  8316. break
  8317. fi
  8318. done
  8319. if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
  8320. # With aix-soname=svr4, we create the lib.so.V shared archives only,
  8321. # so we don't have lib.a shared libs to link our executables.
  8322. # We have to force runtime linking in this case.
  8323. aix_use_runtimelinking=yes
  8324. LDFLAGS="$LDFLAGS -Wl,-brtl"
  8325. fi
  8326. ;;
  8327. esac
  8328. exp_sym_flag='-bexport'
  8329. no_entry_flag='-bnoentry'
  8330. fi
  8331. # When large executables or shared objects are built, AIX ld can
  8332. # have problems creating the table of contents. If linking a library
  8333. # or program results in "error TOC overflow" add -mminimal-toc to
  8334. # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
  8335. # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
  8336. archive_cmds=''
  8337. hardcode_direct=yes
  8338. hardcode_direct_absolute=yes
  8339. hardcode_libdir_separator=':'
  8340. link_all_deplibs=yes
  8341. file_list_spec='$wl-f,'
  8342. case $with_aix_soname,$aix_use_runtimelinking in
  8343. aix,*) ;; # traditional, no import file
  8344. svr4,* | *,yes) # use import file
  8345. # The Import File defines what to hardcode.
  8346. hardcode_direct=no
  8347. hardcode_direct_absolute=no
  8348. ;;
  8349. esac
  8350. if test yes = "$GCC"; then
  8351. case $host_os in aix4.[012]|aix4.[012].*)
  8352. # We only want to do this on AIX 4.2 and lower, the check
  8353. # below for broken collect2 doesn't work under 4.3+
  8354. collect2name=`$CC -print-prog-name=collect2`
  8355. if test -f "$collect2name" &&
  8356. strings "$collect2name" | $GREP resolve_lib_name >/dev/null
  8357. then
  8358. # We have reworked collect2
  8359. :
  8360. else
  8361. # We have old collect2
  8362. hardcode_direct=unsupported
  8363. # It fails to find uninstalled libraries when the uninstalled
  8364. # path is not listed in the libpath. Setting hardcode_minus_L
  8365. # to unsupported forces relinking
  8366. hardcode_minus_L=yes
  8367. hardcode_libdir_flag_spec='-L$libdir'
  8368. hardcode_libdir_separator=
  8369. fi
  8370. ;;
  8371. esac
  8372. shared_flag='-shared'
  8373. if test yes = "$aix_use_runtimelinking"; then
  8374. shared_flag="$shared_flag "'$wl-G'
  8375. fi
  8376. # Need to ensure runtime linking is disabled for the traditional
  8377. # shared library, or the linker may eventually find shared libraries
  8378. # /with/ Import File - we do not want to mix them.
  8379. shared_flag_aix='-shared'
  8380. shared_flag_svr4='-shared $wl-G'
  8381. else
  8382. # not using gcc
  8383. if test ia64 = "$host_cpu"; then
  8384. # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
  8385. # chokes on -Wl,-G. The following line is correct:
  8386. shared_flag='-G'
  8387. else
  8388. if test yes = "$aix_use_runtimelinking"; then
  8389. shared_flag='$wl-G'
  8390. else
  8391. shared_flag='$wl-bM:SRE'
  8392. fi
  8393. shared_flag_aix='$wl-bM:SRE'
  8394. shared_flag_svr4='$wl-G'
  8395. fi
  8396. fi
  8397. export_dynamic_flag_spec='$wl-bexpall'
  8398. # It seems that -bexpall does not export symbols beginning with
  8399. # underscore (_), so it is better to generate a list of symbols to export.
  8400. always_export_symbols=yes
  8401. if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
  8402. # Warning - without using the other runtime loading flags (-brtl),
  8403. # -berok will link without error, but may produce a broken library.
  8404. allow_undefined_flag='-berok'
  8405. # Determine the default libpath from the value encoded in an
  8406. # empty executable.
  8407. if test set = "${lt_cv_aix_libpath+set}"; then
  8408. aix_libpath=$lt_cv_aix_libpath
  8409. else
  8410. if ${lt_cv_aix_libpath_+:} false; then :
  8411. $as_echo_n "(cached) " >&6
  8412. else
  8413. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8414. /* end confdefs.h. */
  8415. int
  8416. main ()
  8417. {
  8418. ;
  8419. return 0;
  8420. }
  8421. _ACEOF
  8422. if ac_fn_c_try_link "$LINENO"; then :
  8423. lt_aix_libpath_sed='
  8424. /Import File Strings/,/^$/ {
  8425. /^0/ {
  8426. s/^0 *\([^ ]*\) *$/\1/
  8427. p
  8428. }
  8429. }'
  8430. lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  8431. # Check for a 64-bit object if we didn't find anything.
  8432. if test -z "$lt_cv_aix_libpath_"; then
  8433. lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  8434. fi
  8435. fi
  8436. rm -f core conftest.err conftest.$ac_objext \
  8437. conftest$ac_exeext conftest.$ac_ext
  8438. if test -z "$lt_cv_aix_libpath_"; then
  8439. lt_cv_aix_libpath_=/usr/lib:/lib
  8440. fi
  8441. fi
  8442. aix_libpath=$lt_cv_aix_libpath_
  8443. fi
  8444. hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
  8445. archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
  8446. else
  8447. if test ia64 = "$host_cpu"; then
  8448. hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
  8449. allow_undefined_flag="-z nodefs"
  8450. 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"
  8451. else
  8452. # Determine the default libpath from the value encoded in an
  8453. # empty executable.
  8454. if test set = "${lt_cv_aix_libpath+set}"; then
  8455. aix_libpath=$lt_cv_aix_libpath
  8456. else
  8457. if ${lt_cv_aix_libpath_+:} false; then :
  8458. $as_echo_n "(cached) " >&6
  8459. else
  8460. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8461. /* end confdefs.h. */
  8462. int
  8463. main ()
  8464. {
  8465. ;
  8466. return 0;
  8467. }
  8468. _ACEOF
  8469. if ac_fn_c_try_link "$LINENO"; then :
  8470. lt_aix_libpath_sed='
  8471. /Import File Strings/,/^$/ {
  8472. /^0/ {
  8473. s/^0 *\([^ ]*\) *$/\1/
  8474. p
  8475. }
  8476. }'
  8477. lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  8478. # Check for a 64-bit object if we didn't find anything.
  8479. if test -z "$lt_cv_aix_libpath_"; then
  8480. lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  8481. fi
  8482. fi
  8483. rm -f core conftest.err conftest.$ac_objext \
  8484. conftest$ac_exeext conftest.$ac_ext
  8485. if test -z "$lt_cv_aix_libpath_"; then
  8486. lt_cv_aix_libpath_=/usr/lib:/lib
  8487. fi
  8488. fi
  8489. aix_libpath=$lt_cv_aix_libpath_
  8490. fi
  8491. hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
  8492. # Warning - without using the other run time loading flags,
  8493. # -berok will link without error, but may produce a broken library.
  8494. no_undefined_flag=' $wl-bernotok'
  8495. allow_undefined_flag=' $wl-berok'
  8496. if test yes = "$with_gnu_ld"; then
  8497. # We only use this code for GNU lds that support --whole-archive.
  8498. whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
  8499. else
  8500. # Exported symbols can be pulled into shared objects from archives
  8501. whole_archive_flag_spec='$convenience'
  8502. fi
  8503. archive_cmds_need_lc=yes
  8504. archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
  8505. # -brtl affects multiple linker settings, -berok does not and is overridden later
  8506. compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
  8507. if test svr4 != "$with_aix_soname"; then
  8508. # This is similar to how AIX traditionally builds its shared libraries.
  8509. archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
  8510. fi
  8511. if test aix != "$with_aix_soname"; then
  8512. archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
  8513. else
  8514. # used by -dlpreopen to get the symbols
  8515. archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
  8516. fi
  8517. archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
  8518. fi
  8519. fi
  8520. ;;
  8521. amigaos*)
  8522. case $host_cpu in
  8523. powerpc)
  8524. # see comment about AmigaOS4 .so support
  8525. archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  8526. archive_expsym_cmds=''
  8527. ;;
  8528. m68k)
  8529. 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)'
  8530. hardcode_libdir_flag_spec='-L$libdir'
  8531. hardcode_minus_L=yes
  8532. ;;
  8533. esac
  8534. ;;
  8535. bsdi[45]*)
  8536. export_dynamic_flag_spec=-rdynamic
  8537. ;;
  8538. cygwin* | mingw* | pw32* | cegcc*)
  8539. # When not using gcc, we currently assume that we are using
  8540. # Microsoft Visual C++.
  8541. # hardcode_libdir_flag_spec is actually meaningless, as there is
  8542. # no search path for DLLs.
  8543. case $cc_basename in
  8544. cl*)
  8545. # Native MSVC
  8546. hardcode_libdir_flag_spec=' '
  8547. allow_undefined_flag=unsupported
  8548. always_export_symbols=yes
  8549. file_list_spec='@'
  8550. # Tell ltmain to make .lib files, not .a files.
  8551. libext=lib
  8552. # Tell ltmain to make .dll files, not .so files.
  8553. shrext_cmds=.dll
  8554. # FIXME: Setting linknames here is a bad hack.
  8555. archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
  8556. archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
  8557. cp "$export_symbols" "$output_objdir/$soname.def";
  8558. echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
  8559. else
  8560. $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
  8561. fi~
  8562. $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
  8563. linknames='
  8564. # The linker will not automatically build a static lib if we build a DLL.
  8565. # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
  8566. enable_shared_with_static_runtimes=yes
  8567. exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
  8568. export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
  8569. # Don't use ranlib
  8570. old_postinstall_cmds='chmod 644 $oldlib'
  8571. postlink_cmds='lt_outputfile="@OUTPUT@"~
  8572. lt_tool_outputfile="@TOOL_OUTPUT@"~
  8573. case $lt_outputfile in
  8574. *.exe|*.EXE) ;;
  8575. *)
  8576. lt_outputfile=$lt_outputfile.exe
  8577. lt_tool_outputfile=$lt_tool_outputfile.exe
  8578. ;;
  8579. esac~
  8580. if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
  8581. $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
  8582. $RM "$lt_outputfile.manifest";
  8583. fi'
  8584. ;;
  8585. *)
  8586. # Assume MSVC wrapper
  8587. hardcode_libdir_flag_spec=' '
  8588. allow_undefined_flag=unsupported
  8589. # Tell ltmain to make .lib files, not .a files.
  8590. libext=lib
  8591. # Tell ltmain to make .dll files, not .so files.
  8592. shrext_cmds=.dll
  8593. # FIXME: Setting linknames here is a bad hack.
  8594. archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
  8595. # The linker will automatically build a .lib file if we build a DLL.
  8596. old_archive_from_new_cmds='true'
  8597. # FIXME: Should let the user specify the lib program.
  8598. old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
  8599. enable_shared_with_static_runtimes=yes
  8600. ;;
  8601. esac
  8602. ;;
  8603. darwin* | rhapsody*)
  8604. archive_cmds_need_lc=no
  8605. hardcode_direct=no
  8606. hardcode_automatic=yes
  8607. hardcode_shlibpath_var=unsupported
  8608. if test yes = "$lt_cv_ld_force_load"; then
  8609. 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\"`'
  8610. else
  8611. whole_archive_flag_spec=''
  8612. fi
  8613. link_all_deplibs=yes
  8614. allow_undefined_flag=$_lt_dar_allow_undefined
  8615. case $cc_basename in
  8616. ifort*|nagfor*) _lt_dar_can_shared=yes ;;
  8617. *) _lt_dar_can_shared=$GCC ;;
  8618. esac
  8619. if test yes = "$_lt_dar_can_shared"; then
  8620. output_verbose_link_cmd=func_echo_all
  8621. archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
  8622. module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
  8623. 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"
  8624. 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"
  8625. else
  8626. ld_shlibs=no
  8627. fi
  8628. ;;
  8629. dgux*)
  8630. archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  8631. hardcode_libdir_flag_spec='-L$libdir'
  8632. hardcode_shlibpath_var=no
  8633. ;;
  8634. # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
  8635. # support. Future versions do this automatically, but an explicit c++rt0.o
  8636. # does not break anything, and helps significantly (at the cost of a little
  8637. # extra space).
  8638. freebsd2.2*)
  8639. archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
  8640. hardcode_libdir_flag_spec='-R$libdir'
  8641. hardcode_direct=yes
  8642. hardcode_shlibpath_var=no
  8643. ;;
  8644. # Unfortunately, older versions of FreeBSD 2 do not have this feature.
  8645. freebsd2.*)
  8646. archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  8647. hardcode_direct=yes
  8648. hardcode_minus_L=yes
  8649. hardcode_shlibpath_var=no
  8650. ;;
  8651. # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
  8652. freebsd* | dragonfly*)
  8653. archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  8654. hardcode_libdir_flag_spec='-R$libdir'
  8655. hardcode_direct=yes
  8656. hardcode_shlibpath_var=no
  8657. ;;
  8658. hpux9*)
  8659. if test yes = "$GCC"; then
  8660. archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
  8661. else
  8662. archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
  8663. fi
  8664. hardcode_libdir_flag_spec='$wl+b $wl$libdir'
  8665. hardcode_libdir_separator=:
  8666. hardcode_direct=yes
  8667. # hardcode_minus_L: Not really in the search PATH,
  8668. # but as the default location of the library.
  8669. hardcode_minus_L=yes
  8670. export_dynamic_flag_spec='$wl-E'
  8671. ;;
  8672. hpux10*)
  8673. if test yes,no = "$GCC,$with_gnu_ld"; then
  8674. archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  8675. else
  8676. archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
  8677. fi
  8678. if test no = "$with_gnu_ld"; then
  8679. hardcode_libdir_flag_spec='$wl+b $wl$libdir'
  8680. hardcode_libdir_separator=:
  8681. hardcode_direct=yes
  8682. hardcode_direct_absolute=yes
  8683. export_dynamic_flag_spec='$wl-E'
  8684. # hardcode_minus_L: Not really in the search PATH,
  8685. # but as the default location of the library.
  8686. hardcode_minus_L=yes
  8687. fi
  8688. ;;
  8689. hpux11*)
  8690. if test yes,no = "$GCC,$with_gnu_ld"; then
  8691. case $host_cpu in
  8692. hppa*64*)
  8693. archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
  8694. ;;
  8695. ia64*)
  8696. archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  8697. ;;
  8698. *)
  8699. archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  8700. ;;
  8701. esac
  8702. else
  8703. case $host_cpu in
  8704. hppa*64*)
  8705. archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
  8706. ;;
  8707. ia64*)
  8708. archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  8709. ;;
  8710. *)
  8711. # Older versions of the 11.00 compiler do not understand -b yet
  8712. # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
  8713. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
  8714. $as_echo_n "checking if $CC understands -b... " >&6; }
  8715. if ${lt_cv_prog_compiler__b+:} false; then :
  8716. $as_echo_n "(cached) " >&6
  8717. else
  8718. lt_cv_prog_compiler__b=no
  8719. save_LDFLAGS=$LDFLAGS
  8720. LDFLAGS="$LDFLAGS -b"
  8721. echo "$lt_simple_link_test_code" > conftest.$ac_ext
  8722. if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
  8723. # The linker can only warn and ignore the option if not recognized
  8724. # So say no if there are warnings
  8725. if test -s conftest.err; then
  8726. # Append any errors to the config.log.
  8727. cat conftest.err 1>&5
  8728. $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
  8729. $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  8730. if diff conftest.exp conftest.er2 >/dev/null; then
  8731. lt_cv_prog_compiler__b=yes
  8732. fi
  8733. else
  8734. lt_cv_prog_compiler__b=yes
  8735. fi
  8736. fi
  8737. $RM -r conftest*
  8738. LDFLAGS=$save_LDFLAGS
  8739. fi
  8740. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
  8741. $as_echo "$lt_cv_prog_compiler__b" >&6; }
  8742. if test yes = "$lt_cv_prog_compiler__b"; then
  8743. archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  8744. else
  8745. archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
  8746. fi
  8747. ;;
  8748. esac
  8749. fi
  8750. if test no = "$with_gnu_ld"; then
  8751. hardcode_libdir_flag_spec='$wl+b $wl$libdir'
  8752. hardcode_libdir_separator=:
  8753. case $host_cpu in
  8754. hppa*64*|ia64*)
  8755. hardcode_direct=no
  8756. hardcode_shlibpath_var=no
  8757. ;;
  8758. *)
  8759. hardcode_direct=yes
  8760. hardcode_direct_absolute=yes
  8761. export_dynamic_flag_spec='$wl-E'
  8762. # hardcode_minus_L: Not really in the search PATH,
  8763. # but as the default location of the library.
  8764. hardcode_minus_L=yes
  8765. ;;
  8766. esac
  8767. fi
  8768. ;;
  8769. irix5* | irix6* | nonstopux*)
  8770. if test yes = "$GCC"; then
  8771. 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'
  8772. # Try to use the -exported_symbol ld option, if it does not
  8773. # work, assume that -exports_file does not work either and
  8774. # implicitly export all symbols.
  8775. # This should be the same for all languages, so no per-tag cache variable.
  8776. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
  8777. $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
  8778. if ${lt_cv_irix_exported_symbol+:} false; then :
  8779. $as_echo_n "(cached) " >&6
  8780. else
  8781. save_LDFLAGS=$LDFLAGS
  8782. LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
  8783. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8784. /* end confdefs.h. */
  8785. int foo (void) { return 0; }
  8786. _ACEOF
  8787. if ac_fn_c_try_link "$LINENO"; then :
  8788. lt_cv_irix_exported_symbol=yes
  8789. else
  8790. lt_cv_irix_exported_symbol=no
  8791. fi
  8792. rm -f core conftest.err conftest.$ac_objext \
  8793. conftest$ac_exeext conftest.$ac_ext
  8794. LDFLAGS=$save_LDFLAGS
  8795. fi
  8796. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
  8797. $as_echo "$lt_cv_irix_exported_symbol" >&6; }
  8798. if test yes = "$lt_cv_irix_exported_symbol"; then
  8799. 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'
  8800. fi
  8801. else
  8802. 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'
  8803. 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'
  8804. fi
  8805. archive_cmds_need_lc='no'
  8806. hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
  8807. hardcode_libdir_separator=:
  8808. inherit_rpath=yes
  8809. link_all_deplibs=yes
  8810. ;;
  8811. linux*)
  8812. case $cc_basename in
  8813. tcc*)
  8814. # Fabrice Bellard et al's Tiny C Compiler
  8815. ld_shlibs=yes
  8816. archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  8817. ;;
  8818. esac
  8819. ;;
  8820. netbsd*)
  8821. if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  8822. archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
  8823. else
  8824. archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
  8825. fi
  8826. hardcode_libdir_flag_spec='-R$libdir'
  8827. hardcode_direct=yes
  8828. hardcode_shlibpath_var=no
  8829. ;;
  8830. newsos6)
  8831. archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  8832. hardcode_direct=yes
  8833. hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
  8834. hardcode_libdir_separator=:
  8835. hardcode_shlibpath_var=no
  8836. ;;
  8837. *nto* | *qnx*)
  8838. ;;
  8839. openbsd* | bitrig*)
  8840. if test -f /usr/libexec/ld.so; then
  8841. hardcode_direct=yes
  8842. hardcode_shlibpath_var=no
  8843. hardcode_direct_absolute=yes
  8844. if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
  8845. archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  8846. archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
  8847. hardcode_libdir_flag_spec='$wl-rpath,$libdir'
  8848. export_dynamic_flag_spec='$wl-E'
  8849. else
  8850. archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  8851. hardcode_libdir_flag_spec='$wl-rpath,$libdir'
  8852. fi
  8853. else
  8854. ld_shlibs=no
  8855. fi
  8856. ;;
  8857. os2*)
  8858. hardcode_libdir_flag_spec='-L$libdir'
  8859. hardcode_minus_L=yes
  8860. allow_undefined_flag=unsupported
  8861. shrext_cmds=.dll
  8862. archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
  8863. $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
  8864. $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
  8865. $ECHO EXPORTS >> $output_objdir/$libname.def~
  8866. emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
  8867. $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
  8868. emximp -o $lib $output_objdir/$libname.def'
  8869. archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
  8870. $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
  8871. $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
  8872. $ECHO EXPORTS >> $output_objdir/$libname.def~
  8873. prefix_cmds="$SED"~
  8874. if test EXPORTS = "`$SED 1q $export_symbols`"; then
  8875. prefix_cmds="$prefix_cmds -e 1d";
  8876. fi~
  8877. prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
  8878. cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
  8879. $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
  8880. emximp -o $lib $output_objdir/$libname.def'
  8881. old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
  8882. enable_shared_with_static_runtimes=yes
  8883. ;;
  8884. osf3*)
  8885. if test yes = "$GCC"; then
  8886. allow_undefined_flag=' $wl-expect_unresolved $wl\*'
  8887. 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'
  8888. else
  8889. allow_undefined_flag=' -expect_unresolved \*'
  8890. 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'
  8891. fi
  8892. archive_cmds_need_lc='no'
  8893. hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
  8894. hardcode_libdir_separator=:
  8895. ;;
  8896. osf4* | osf5*) # as osf3* with the addition of -msym flag
  8897. if test yes = "$GCC"; then
  8898. allow_undefined_flag=' $wl-expect_unresolved $wl\*'
  8899. 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'
  8900. hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
  8901. else
  8902. allow_undefined_flag=' -expect_unresolved \*'
  8903. 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'
  8904. 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~
  8905. $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'
  8906. # Both c and cxx compiler support -rpath directly
  8907. hardcode_libdir_flag_spec='-rpath $libdir'
  8908. fi
  8909. archive_cmds_need_lc='no'
  8910. hardcode_libdir_separator=:
  8911. ;;
  8912. solaris*)
  8913. no_undefined_flag=' -z defs'
  8914. if test yes = "$GCC"; then
  8915. wlarc='$wl'
  8916. archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
  8917. archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  8918. $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'
  8919. else
  8920. case `$CC -V 2>&1` in
  8921. *"Compilers 5.0"*)
  8922. wlarc=''
  8923. archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
  8924. archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  8925. $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
  8926. ;;
  8927. *)
  8928. wlarc='$wl'
  8929. archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
  8930. archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  8931. $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
  8932. ;;
  8933. esac
  8934. fi
  8935. hardcode_libdir_flag_spec='-R$libdir'
  8936. hardcode_shlibpath_var=no
  8937. case $host_os in
  8938. solaris2.[0-5] | solaris2.[0-5].*) ;;
  8939. *)
  8940. # The compiler driver will combine and reorder linker options,
  8941. # but understands '-z linker_flag'. GCC discards it without '$wl',
  8942. # but is careful enough not to reorder.
  8943. # Supported since Solaris 2.6 (maybe 2.5.1?)
  8944. if test yes = "$GCC"; then
  8945. whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
  8946. else
  8947. whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
  8948. fi
  8949. ;;
  8950. esac
  8951. link_all_deplibs=yes
  8952. ;;
  8953. sunos4*)
  8954. if test sequent = "$host_vendor"; then
  8955. # Use $CC to link under sequent, because it throws in some extra .o
  8956. # files that make .init and .fini sections work.
  8957. archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
  8958. else
  8959. archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
  8960. fi
  8961. hardcode_libdir_flag_spec='-L$libdir'
  8962. hardcode_direct=yes
  8963. hardcode_minus_L=yes
  8964. hardcode_shlibpath_var=no
  8965. ;;
  8966. sysv4)
  8967. case $host_vendor in
  8968. sni)
  8969. archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  8970. hardcode_direct=yes # is this really true???
  8971. ;;
  8972. siemens)
  8973. ## LD is ld it makes a PLAMLIB
  8974. ## CC just makes a GrossModule.
  8975. archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
  8976. reload_cmds='$CC -r -o $output$reload_objs'
  8977. hardcode_direct=no
  8978. ;;
  8979. motorola)
  8980. archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  8981. hardcode_direct=no #Motorola manual says yes, but my tests say they lie
  8982. ;;
  8983. esac
  8984. runpath_var='LD_RUN_PATH'
  8985. hardcode_shlibpath_var=no
  8986. ;;
  8987. sysv4.3*)
  8988. archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  8989. hardcode_shlibpath_var=no
  8990. export_dynamic_flag_spec='-Bexport'
  8991. ;;
  8992. sysv4*MP*)
  8993. if test -d /usr/nec; then
  8994. archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  8995. hardcode_shlibpath_var=no
  8996. runpath_var=LD_RUN_PATH
  8997. hardcode_runpath_var=yes
  8998. ld_shlibs=yes
  8999. fi
  9000. ;;
  9001. sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
  9002. no_undefined_flag='$wl-z,text'
  9003. archive_cmds_need_lc=no
  9004. hardcode_shlibpath_var=no
  9005. runpath_var='LD_RUN_PATH'
  9006. if test yes = "$GCC"; then
  9007. archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  9008. archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  9009. else
  9010. archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  9011. archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  9012. fi
  9013. ;;
  9014. sysv5* | sco3.2v5* | sco5v6*)
  9015. # Note: We CANNOT use -z defs as we might desire, because we do not
  9016. # link with -lc, and that would cause any symbols used from libc to
  9017. # always be unresolved, which means just about no library would
  9018. # ever link correctly. If we're not using GNU ld we use -z text
  9019. # though, which does catch some bad symbols but isn't as heavy-handed
  9020. # as -z defs.
  9021. no_undefined_flag='$wl-z,text'
  9022. allow_undefined_flag='$wl-z,nodefs'
  9023. archive_cmds_need_lc=no
  9024. hardcode_shlibpath_var=no
  9025. hardcode_libdir_flag_spec='$wl-R,$libdir'
  9026. hardcode_libdir_separator=':'
  9027. link_all_deplibs=yes
  9028. export_dynamic_flag_spec='$wl-Bexport'
  9029. runpath_var='LD_RUN_PATH'
  9030. if test yes = "$GCC"; then
  9031. archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  9032. archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  9033. else
  9034. archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  9035. archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  9036. fi
  9037. ;;
  9038. uts4*)
  9039. archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  9040. hardcode_libdir_flag_spec='-L$libdir'
  9041. hardcode_shlibpath_var=no
  9042. ;;
  9043. *)
  9044. ld_shlibs=no
  9045. ;;
  9046. esac
  9047. if test sni = "$host_vendor"; then
  9048. case $host in
  9049. sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
  9050. export_dynamic_flag_spec='$wl-Blargedynsym'
  9051. ;;
  9052. esac
  9053. fi
  9054. fi
  9055. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
  9056. $as_echo "$ld_shlibs" >&6; }
  9057. test no = "$ld_shlibs" && can_build_shared=no
  9058. with_gnu_ld=$with_gnu_ld
  9059. #
  9060. # Do we need to explicitly link libc?
  9061. #
  9062. case "x$archive_cmds_need_lc" in
  9063. x|xyes)
  9064. # Assume -lc should be added
  9065. archive_cmds_need_lc=yes
  9066. if test yes,yes = "$GCC,$enable_shared"; then
  9067. case $archive_cmds in
  9068. *'~'*)
  9069. # FIXME: we may have to deal with multi-command sequences.
  9070. ;;
  9071. '$CC '*)
  9072. # Test whether the compiler implicitly links with -lc since on some
  9073. # systems, -lgcc has to come before -lc. If gcc already passes -lc
  9074. # to ld, don't add -lc before -lgcc.
  9075. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
  9076. $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
  9077. if ${lt_cv_archive_cmds_need_lc+:} false; then :
  9078. $as_echo_n "(cached) " >&6
  9079. else
  9080. $RM conftest*
  9081. echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  9082. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  9083. (eval $ac_compile) 2>&5
  9084. ac_status=$?
  9085. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  9086. test $ac_status = 0; } 2>conftest.err; then
  9087. soname=conftest
  9088. lib=conftest
  9089. libobjs=conftest.$ac_objext
  9090. deplibs=
  9091. wl=$lt_prog_compiler_wl
  9092. pic_flag=$lt_prog_compiler_pic
  9093. compiler_flags=-v
  9094. linker_flags=-v
  9095. verstring=
  9096. output_objdir=.
  9097. libname=conftest
  9098. lt_save_allow_undefined_flag=$allow_undefined_flag
  9099. allow_undefined_flag=
  9100. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
  9101. (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
  9102. ac_status=$?
  9103. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  9104. test $ac_status = 0; }
  9105. then
  9106. lt_cv_archive_cmds_need_lc=no
  9107. else
  9108. lt_cv_archive_cmds_need_lc=yes
  9109. fi
  9110. allow_undefined_flag=$lt_save_allow_undefined_flag
  9111. else
  9112. cat conftest.err 1>&5
  9113. fi
  9114. $RM conftest*
  9115. fi
  9116. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
  9117. $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
  9118. archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
  9119. ;;
  9120. esac
  9121. fi
  9122. ;;
  9123. esac
  9124. { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
  9125. $as_echo_n "checking dynamic linker characteristics... " >&6; }
  9126. if test yes = "$GCC"; then
  9127. case $host_os in
  9128. darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
  9129. *) lt_awk_arg='/^libraries:/' ;;
  9130. esac
  9131. case $host_os in
  9132. mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
  9133. *) lt_sed_strip_eq='s|=/|/|g' ;;
  9134. esac
  9135. lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
  9136. case $lt_search_path_spec in
  9137. *\;*)
  9138. # if the path contains ";" then we assume it to be the separator
  9139. # otherwise default to the standard path separator (i.e. ":") - it is
  9140. # assumed that no part of a normal pathname contains ";" but that should
  9141. # okay in the real world where ";" in dirpaths is itself problematic.
  9142. lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
  9143. ;;
  9144. *)
  9145. lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
  9146. ;;
  9147. esac
  9148. # Ok, now we have the path, separated by spaces, we can step through it
  9149. # and add multilib dir if necessary...
  9150. lt_tmp_lt_search_path_spec=
  9151. lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
  9152. # ...but if some path component already ends with the multilib dir we assume
  9153. # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
  9154. case "$lt_multi_os_dir; $lt_search_path_spec " in
  9155. "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
  9156. lt_multi_os_dir=
  9157. ;;
  9158. esac
  9159. for lt_sys_path in $lt_search_path_spec; do
  9160. if test -d "$lt_sys_path$lt_multi_os_dir"; then
  9161. lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
  9162. elif test -n "$lt_multi_os_dir"; then
  9163. test -d "$lt_sys_path" && \
  9164. lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
  9165. fi
  9166. done
  9167. lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
  9168. BEGIN {RS = " "; FS = "/|\n";} {
  9169. lt_foo = "";
  9170. lt_count = 0;
  9171. for (lt_i = NF; lt_i > 0; lt_i--) {
  9172. if ($lt_i != "" && $lt_i != ".") {
  9173. if ($lt_i == "..") {
  9174. lt_count++;
  9175. } else {
  9176. if (lt_count == 0) {
  9177. lt_foo = "/" $lt_i lt_foo;
  9178. } else {
  9179. lt_count--;
  9180. }
  9181. }
  9182. }
  9183. }
  9184. if (lt_foo != "") { lt_freq[lt_foo]++; }
  9185. if (lt_freq[lt_foo] == 1) { print lt_foo; }
  9186. }'`
  9187. # AWK program above erroneously prepends '/' to C:/dos/paths
  9188. # for these hosts.
  9189. case $host_os in
  9190. mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
  9191. $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
  9192. esac
  9193. sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
  9194. else
  9195. sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
  9196. fi
  9197. library_names_spec=
  9198. libname_spec='lib$name'
  9199. soname_spec=
  9200. shrext_cmds=.so
  9201. postinstall_cmds=
  9202. postuninstall_cmds=
  9203. finish_cmds=
  9204. finish_eval=
  9205. shlibpath_var=
  9206. shlibpath_overrides_runpath=unknown
  9207. version_type=none
  9208. dynamic_linker="$host_os ld.so"
  9209. sys_lib_dlsearch_path_spec="/lib /usr/lib"
  9210. need_lib_prefix=unknown
  9211. hardcode_into_libs=no
  9212. # when you set need_version to no, make sure it does not cause -set_version
  9213. # flags to be left without arguments
  9214. need_version=unknown
  9215. case $host_os in
  9216. aix3*)
  9217. version_type=linux # correct to gnu/linux during the next big refactor
  9218. library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
  9219. shlibpath_var=LIBPATH
  9220. # AIX 3 has no versioning support, so we append a major version to the name.
  9221. soname_spec='$libname$release$shared_ext$major'
  9222. ;;
  9223. aix[4-9]*)
  9224. version_type=linux # correct to gnu/linux during the next big refactor
  9225. need_lib_prefix=no
  9226. need_version=no
  9227. hardcode_into_libs=yes
  9228. if test ia64 = "$host_cpu"; then
  9229. # AIX 5 supports IA64
  9230. library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
  9231. shlibpath_var=LD_LIBRARY_PATH
  9232. else
  9233. # With GCC up to 2.95.x, collect2 would create an import file
  9234. # for dependence libraries. The import file would start with
  9235. # the line '#! .'. This would cause the generated library to
  9236. # depend on '.', always an invalid library. This was fixed in
  9237. # development snapshots of GCC prior to 3.0.
  9238. case $host_os in
  9239. aix4 | aix4.[01] | aix4.[01].*)
  9240. if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
  9241. echo ' yes '
  9242. echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
  9243. :
  9244. else
  9245. can_build_shared=no
  9246. fi
  9247. ;;
  9248. esac
  9249. # Using Import Files as archive members, it is possible to support
  9250. # filename-based versioning of shared library archives on AIX. While
  9251. # this would work for both with and without runtime linking, it will
  9252. # prevent static linking of such archives. So we do filename-based
  9253. # shared library versioning with .so extension only, which is used
  9254. # when both runtime linking and shared linking is enabled.
  9255. # Unfortunately, runtime linking may impact performance, so we do
  9256. # not want this to be the default eventually. Also, we use the
  9257. # versioned .so libs for executables only if there is the -brtl
  9258. # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
  9259. # To allow for filename-based versioning support, we need to create
  9260. # libNAME.so.V as an archive file, containing:
  9261. # *) an Import File, referring to the versioned filename of the
  9262. # archive as well as the shared archive member, telling the
  9263. # bitwidth (32 or 64) of that shared object, and providing the
  9264. # list of exported symbols of that shared object, eventually
  9265. # decorated with the 'weak' keyword
  9266. # *) the shared object with the F_LOADONLY flag set, to really avoid
  9267. # it being seen by the linker.
  9268. # At run time we better use the real file rather than another symlink,
  9269. # but for link time we create the symlink libNAME.so -> libNAME.so.V
  9270. case $with_aix_soname,$aix_use_runtimelinking in
  9271. # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
  9272. # soname into executable. Probably we can add versioning support to
  9273. # collect2, so additional links can be useful in future.
  9274. aix,yes) # traditional libtool
  9275. dynamic_linker='AIX unversionable lib.so'
  9276. # If using run time linking (on AIX 4.2 or later) use lib<name>.so
  9277. # instead of lib<name>.a to let people know that these are not
  9278. # typical AIX shared libraries.
  9279. library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  9280. ;;
  9281. aix,no) # traditional AIX only
  9282. dynamic_linker='AIX lib.a(lib.so.V)'
  9283. # We preserve .a as extension for shared libraries through AIX4.2
  9284. # and later when we are not doing run time linking.
  9285. library_names_spec='$libname$release.a $libname.a'
  9286. soname_spec='$libname$release$shared_ext$major'
  9287. ;;
  9288. svr4,*) # full svr4 only
  9289. dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
  9290. library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
  9291. # We do not specify a path in Import Files, so LIBPATH fires.
  9292. shlibpath_overrides_runpath=yes
  9293. ;;
  9294. *,yes) # both, prefer svr4
  9295. dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
  9296. library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
  9297. # unpreferred sharedlib libNAME.a needs extra handling
  9298. postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
  9299. postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
  9300. # We do not specify a path in Import Files, so LIBPATH fires.
  9301. shlibpath_overrides_runpath=yes
  9302. ;;
  9303. *,no) # both, prefer aix
  9304. dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
  9305. library_names_spec='$libname$release.a $libname.a'
  9306. soname_spec='$libname$release$shared_ext$major'
  9307. # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
  9308. postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
  9309. postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
  9310. ;;
  9311. esac
  9312. shlibpath_var=LIBPATH
  9313. fi
  9314. ;;
  9315. amigaos*)
  9316. case $host_cpu in
  9317. powerpc)
  9318. # Since July 2007 AmigaOS4 officially supports .so libraries.
  9319. # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
  9320. library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  9321. ;;
  9322. m68k)
  9323. library_names_spec='$libname.ixlibrary $libname.a'
  9324. # Create ${libname}_ixlibrary.a entries in /sys/libs.
  9325. finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $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'
  9326. ;;
  9327. esac
  9328. ;;
  9329. beos*)
  9330. library_names_spec='$libname$shared_ext'
  9331. dynamic_linker="$host_os ld.so"
  9332. shlibpath_var=LIBRARY_PATH
  9333. ;;
  9334. bsdi[45]*)
  9335. version_type=linux # correct to gnu/linux during the next big refactor
  9336. need_version=no
  9337. library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  9338. soname_spec='$libname$release$shared_ext$major'
  9339. finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
  9340. shlibpath_var=LD_LIBRARY_PATH
  9341. sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
  9342. sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
  9343. # the default ld.so.conf also contains /usr/contrib/lib and
  9344. # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
  9345. # libtool to hard-code these into programs
  9346. ;;
  9347. cygwin* | mingw* | pw32* | cegcc*)
  9348. version_type=windows
  9349. shrext_cmds=.dll
  9350. need_version=no
  9351. need_lib_prefix=no
  9352. case $GCC,$cc_basename in
  9353. yes,*)
  9354. # gcc
  9355. library_names_spec='$libname.dll.a'
  9356. # DLL is installed to $(libdir)/../bin by postinstall_cmds
  9357. postinstall_cmds='base_file=`basename \$file`~
  9358. dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
  9359. dldir=$destdir/`dirname \$dlpath`~
  9360. test -d \$dldir || mkdir -p \$dldir~
  9361. $install_prog $dir/$dlname \$dldir/$dlname~
  9362. chmod a+x \$dldir/$dlname~
  9363. if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
  9364. eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
  9365. fi'
  9366. postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
  9367. dlpath=$dir/\$dldll~
  9368. $RM \$dlpath'
  9369. shlibpath_overrides_runpath=yes
  9370. case $host_os in
  9371. cygwin*)
  9372. # Cygwin DLLs use 'cyg' prefix rather than 'lib'
  9373. soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
  9374. sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
  9375. ;;
  9376. mingw* | cegcc*)
  9377. # MinGW DLLs use traditional 'lib' prefix
  9378. soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
  9379. ;;
  9380. pw32*)
  9381. # pw32 DLLs use 'pw' prefix rather than 'lib'
  9382. library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
  9383. ;;
  9384. esac
  9385. dynamic_linker='Win32 ld.exe'
  9386. ;;
  9387. *,cl*)
  9388. # Native MSVC
  9389. libname_spec='$name'
  9390. soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
  9391. library_names_spec='$libname.dll.lib'
  9392. case $build_os in
  9393. mingw*)
  9394. sys_lib_search_path_spec=
  9395. lt_save_ifs=$IFS
  9396. IFS=';'
  9397. for lt_path in $LIB
  9398. do
  9399. IFS=$lt_save_ifs
  9400. # Let DOS variable expansion print the short 8.3 style file name.
  9401. lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
  9402. sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
  9403. done
  9404. IFS=$lt_save_ifs
  9405. # Convert to MSYS style.
  9406. sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
  9407. ;;
  9408. cygwin*)
  9409. # Convert to unix form, then to dos form, then back to unix form
  9410. # but this time dos style (no spaces!) so that the unix form looks
  9411. # like /cygdrive/c/PROGRA~1:/cygdr...
  9412. sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
  9413. sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
  9414. sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
  9415. ;;
  9416. *)
  9417. sys_lib_search_path_spec=$LIB
  9418. if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
  9419. # It is most probably a Windows format PATH.
  9420. sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
  9421. else
  9422. sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
  9423. fi
  9424. # FIXME: find the short name or the path components, as spaces are
  9425. # common. (e.g. "Program Files" -> "PROGRA~1")
  9426. ;;
  9427. esac
  9428. # DLL is installed to $(libdir)/../bin by postinstall_cmds
  9429. postinstall_cmds='base_file=`basename \$file`~
  9430. dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
  9431. dldir=$destdir/`dirname \$dlpath`~
  9432. test -d \$dldir || mkdir -p \$dldir~
  9433. $install_prog $dir/$dlname \$dldir/$dlname'
  9434. postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
  9435. dlpath=$dir/\$dldll~
  9436. $RM \$dlpath'
  9437. shlibpath_overrides_runpath=yes
  9438. dynamic_linker='Win32 link.exe'
  9439. ;;
  9440. *)
  9441. # Assume MSVC wrapper
  9442. library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
  9443. dynamic_linker='Win32 ld.exe'
  9444. ;;
  9445. esac
  9446. # FIXME: first we should search . and the directory the executable is in
  9447. shlibpath_var=PATH
  9448. ;;
  9449. darwin* | rhapsody*)
  9450. dynamic_linker="$host_os dyld"
  9451. version_type=darwin
  9452. need_lib_prefix=no
  9453. need_version=no
  9454. library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
  9455. soname_spec='$libname$release$major$shared_ext'
  9456. shlibpath_overrides_runpath=yes
  9457. shlibpath_var=DYLD_LIBRARY_PATH
  9458. shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
  9459. sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
  9460. sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
  9461. ;;
  9462. dgux*)
  9463. version_type=linux # correct to gnu/linux during the next big refactor
  9464. need_lib_prefix=no
  9465. need_version=no
  9466. library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  9467. soname_spec='$libname$release$shared_ext$major'
  9468. shlibpath_var=LD_LIBRARY_PATH
  9469. ;;
  9470. freebsd* | dragonfly*)
  9471. # DragonFly does not have aout. When/if they implement a new
  9472. # versioning mechanism, adjust this.
  9473. if test -x /usr/bin/objformat; then
  9474. objformat=`/usr/bin/objformat`
  9475. else
  9476. case $host_os in
  9477. freebsd[23].*) objformat=aout ;;
  9478. *) objformat=elf ;;
  9479. esac
  9480. fi
  9481. version_type=freebsd-$objformat
  9482. case $version_type in
  9483. freebsd-elf*)
  9484. library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  9485. soname_spec='$libname$release$shared_ext$major'
  9486. need_version=no
  9487. need_lib_prefix=no
  9488. ;;
  9489. freebsd-*)
  9490. library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
  9491. need_version=yes
  9492. ;;
  9493. esac
  9494. shlibpath_var=LD_LIBRARY_PATH
  9495. case $host_os in
  9496. freebsd2.*)
  9497. shlibpath_overrides_runpath=yes
  9498. ;;
  9499. freebsd3.[01]* | freebsdelf3.[01]*)
  9500. shlibpath_overrides_runpath=yes
  9501. hardcode_into_libs=yes
  9502. ;;
  9503. freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
  9504. freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
  9505. shlibpath_overrides_runpath=no
  9506. hardcode_into_libs=yes
  9507. ;;
  9508. *) # from 4.6 on, and DragonFly
  9509. shlibpath_overrides_runpath=yes
  9510. hardcode_into_libs=yes
  9511. ;;
  9512. esac
  9513. ;;
  9514. haiku*)
  9515. version_type=linux # correct to gnu/linux during the next big refactor
  9516. need_lib_prefix=no
  9517. need_version=no
  9518. dynamic_linker="$host_os runtime_loader"
  9519. library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  9520. soname_spec='$libname$release$shared_ext$major'
  9521. shlibpath_var=LIBRARY_PATH
  9522. shlibpath_overrides_runpath=no
  9523. sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
  9524. hardcode_into_libs=yes
  9525. ;;
  9526. hpux9* | hpux10* | hpux11*)
  9527. # Give a soname corresponding to the major version so that dld.sl refuses to
  9528. # link against other versions.
  9529. version_type=sunos
  9530. need_lib_prefix=no
  9531. need_version=no
  9532. case $host_cpu in
  9533. ia64*)
  9534. shrext_cmds='.so'
  9535. hardcode_into_libs=yes
  9536. dynamic_linker="$host_os dld.so"
  9537. shlibpath_var=LD_LIBRARY_PATH
  9538. shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  9539. library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  9540. soname_spec='$libname$release$shared_ext$major'
  9541. if test 32 = "$HPUX_IA64_MODE"; then
  9542. sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
  9543. sys_lib_dlsearch_path_spec=/usr/lib/hpux32
  9544. else
  9545. sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
  9546. sys_lib_dlsearch_path_spec=/usr/lib/hpux64
  9547. fi
  9548. ;;
  9549. hppa*64*)
  9550. shrext_cmds='.sl'
  9551. hardcode_into_libs=yes
  9552. dynamic_linker="$host_os dld.sl"
  9553. shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
  9554. shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  9555. library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  9556. soname_spec='$libname$release$shared_ext$major'
  9557. sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
  9558. sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  9559. ;;
  9560. *)
  9561. shrext_cmds='.sl'
  9562. dynamic_linker="$host_os dld.sl"
  9563. shlibpath_var=SHLIB_PATH
  9564. shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
  9565. library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  9566. soname_spec='$libname$release$shared_ext$major'
  9567. ;;
  9568. esac
  9569. # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
  9570. postinstall_cmds='chmod 555 $lib'
  9571. # or fails outright, so override atomically:
  9572. install_override_mode=555
  9573. ;;
  9574. interix[3-9]*)
  9575. version_type=linux # correct to gnu/linux during the next big refactor
  9576. need_lib_prefix=no
  9577. need_version=no
  9578. library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  9579. soname_spec='$libname$release$shared_ext$major'
  9580. dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
  9581. shlibpath_var=LD_LIBRARY_PATH
  9582. shlibpath_overrides_runpath=no
  9583. hardcode_into_libs=yes
  9584. ;;
  9585. irix5* | irix6* | nonstopux*)
  9586. case $host_os in
  9587. nonstopux*) version_type=nonstopux ;;
  9588. *)
  9589. if test yes = "$lt_cv_prog_gnu_ld"; then
  9590. version_type=linux # correct to gnu/linux during the next big refactor
  9591. else
  9592. version_type=irix
  9593. fi ;;
  9594. esac
  9595. need_lib_prefix=no
  9596. need_version=no
  9597. soname_spec='$libname$release$shared_ext$major'
  9598. library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
  9599. case $host_os in
  9600. irix5* | nonstopux*)
  9601. libsuff= shlibsuff=
  9602. ;;
  9603. *)
  9604. case $LD in # libtool.m4 will add one of these switches to LD
  9605. *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
  9606. libsuff= shlibsuff= libmagic=32-bit;;
  9607. *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
  9608. libsuff=32 shlibsuff=N32 libmagic=N32;;
  9609. *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
  9610. libsuff=64 shlibsuff=64 libmagic=64-bit;;
  9611. *) libsuff= shlibsuff= libmagic=never-match;;
  9612. esac
  9613. ;;
  9614. esac
  9615. shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
  9616. shlibpath_overrides_runpath=no
  9617. sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
  9618. sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
  9619. hardcode_into_libs=yes
  9620. ;;
  9621. # No shared lib support for Linux oldld, aout, or coff.
  9622. linux*oldld* | linux*aout* | linux*coff*)
  9623. dynamic_linker=no
  9624. ;;
  9625. linux*android*)
  9626. version_type=none # Android doesn't support versioned libraries.
  9627. need_lib_prefix=no
  9628. need_version=no
  9629. library_names_spec='$libname$release$shared_ext'
  9630. soname_spec='$libname$release$shared_ext'
  9631. finish_cmds=
  9632. shlibpath_var=LD_LIBRARY_PATH
  9633. shlibpath_overrides_runpath=yes
  9634. # This implies no fast_install, which is unacceptable.
  9635. # Some rework will be needed to allow for fast_install
  9636. # before this can be enabled.
  9637. hardcode_into_libs=yes
  9638. dynamic_linker='Android linker'
  9639. # Don't embed -rpath directories since the linker doesn't support them.
  9640. hardcode_libdir_flag_spec='-L$libdir'
  9641. ;;
  9642. # This must be glibc/ELF.
  9643. linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
  9644. version_type=linux # correct to gnu/linux during the next big refactor
  9645. need_lib_prefix=no
  9646. need_version=no
  9647. library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  9648. soname_spec='$libname$release$shared_ext$major'
  9649. finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
  9650. shlibpath_var=LD_LIBRARY_PATH
  9651. shlibpath_overrides_runpath=no
  9652. # Some binutils ld are patched to set DT_RUNPATH
  9653. if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
  9654. $as_echo_n "(cached) " >&6
  9655. else
  9656. lt_cv_shlibpath_overrides_runpath=no
  9657. save_LDFLAGS=$LDFLAGS
  9658. save_libdir=$libdir
  9659. eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
  9660. LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
  9661. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9662. /* end confdefs.h. */
  9663. int
  9664. main ()
  9665. {
  9666. ;
  9667. return 0;
  9668. }
  9669. _ACEOF
  9670. if ac_fn_c_try_link "$LINENO"; then :
  9671. if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
  9672. lt_cv_shlibpath_overrides_runpath=yes
  9673. fi
  9674. fi
  9675. rm -f core conftest.err conftest.$ac_objext \
  9676. conftest$ac_exeext conftest.$ac_ext
  9677. LDFLAGS=$save_LDFLAGS
  9678. libdir=$save_libdir
  9679. fi
  9680. shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
  9681. # This implies no fast_install, which is unacceptable.
  9682. # Some rework will be needed to allow for fast_install
  9683. # before this can be enabled.
  9684. hardcode_into_libs=yes
  9685. # Ideally, we could use ldconfig to report *all* directores which are
  9686. # searched for libraries, however this is still not possible. Aside from not
  9687. # being certain /sbin/ldconfig is available, command
  9688. # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
  9689. # even though it is searched at run-time. Try to do the best guess by
  9690. # appending ld.so.conf contents (and includes) to the search path.
  9691. if test -f /etc/ld.so.conf; then
  9692. 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' ' '`
  9693. sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
  9694. fi
  9695. # We used to test for /lib/ld.so.1 and disable shared libraries on
  9696. # powerpc, because MkLinux only supported shared libraries with the
  9697. # GNU dynamic linker. Since this was broken with cross compilers,
  9698. # most powerpc-linux boxes support dynamic linking these days and
  9699. # people can always --disable-shared, the test was removed, and we
  9700. # assume the GNU/Linux dynamic linker is in use.
  9701. dynamic_linker='GNU/Linux ld.so'
  9702. ;;
  9703. netbsd*)
  9704. version_type=sunos
  9705. need_lib_prefix=no
  9706. need_version=no
  9707. if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  9708. library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
  9709. finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  9710. dynamic_linker='NetBSD (a.out) ld.so'
  9711. else
  9712. library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  9713. soname_spec='$libname$release$shared_ext$major'
  9714. dynamic_linker='NetBSD ld.elf_so'
  9715. fi
  9716. shlibpath_var=LD_LIBRARY_PATH
  9717. shlibpath_overrides_runpath=yes
  9718. hardcode_into_libs=yes
  9719. ;;
  9720. newsos6)
  9721. version_type=linux # correct to gnu/linux during the next big refactor
  9722. library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  9723. shlibpath_var=LD_LIBRARY_PATH
  9724. shlibpath_overrides_runpath=yes
  9725. ;;
  9726. *nto* | *qnx*)
  9727. version_type=qnx
  9728. need_lib_prefix=no
  9729. need_version=no
  9730. library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  9731. soname_spec='$libname$release$shared_ext$major'
  9732. shlibpath_var=LD_LIBRARY_PATH
  9733. shlibpath_overrides_runpath=no
  9734. hardcode_into_libs=yes
  9735. dynamic_linker='ldqnx.so'
  9736. ;;
  9737. openbsd* | bitrig*)
  9738. version_type=sunos
  9739. sys_lib_dlsearch_path_spec=/usr/lib
  9740. need_lib_prefix=no
  9741. if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
  9742. need_version=no
  9743. else
  9744. need_version=yes
  9745. fi
  9746. library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
  9747. finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  9748. shlibpath_var=LD_LIBRARY_PATH
  9749. shlibpath_overrides_runpath=yes
  9750. ;;
  9751. os2*)
  9752. libname_spec='$name'
  9753. version_type=windows
  9754. shrext_cmds=.dll
  9755. need_version=no
  9756. need_lib_prefix=no
  9757. # OS/2 can only load a DLL with a base name of 8 characters or less.
  9758. soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
  9759. v=$($ECHO $release$versuffix | tr -d .-);
  9760. n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
  9761. $ECHO $n$v`$shared_ext'
  9762. library_names_spec='${libname}_dll.$libext'
  9763. dynamic_linker='OS/2 ld.exe'
  9764. shlibpath_var=BEGINLIBPATH
  9765. sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
  9766. sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  9767. postinstall_cmds='base_file=`basename \$file`~
  9768. dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
  9769. dldir=$destdir/`dirname \$dlpath`~
  9770. test -d \$dldir || mkdir -p \$dldir~
  9771. $install_prog $dir/$dlname \$dldir/$dlname~
  9772. chmod a+x \$dldir/$dlname~
  9773. if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
  9774. eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
  9775. fi'
  9776. postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
  9777. dlpath=$dir/\$dldll~
  9778. $RM \$dlpath'
  9779. ;;
  9780. osf3* | osf4* | osf5*)
  9781. version_type=osf
  9782. need_lib_prefix=no
  9783. need_version=no
  9784. soname_spec='$libname$release$shared_ext$major'
  9785. library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  9786. shlibpath_var=LD_LIBRARY_PATH
  9787. sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
  9788. sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  9789. ;;
  9790. rdos*)
  9791. dynamic_linker=no
  9792. ;;
  9793. solaris*)
  9794. version_type=linux # correct to gnu/linux during the next big refactor
  9795. need_lib_prefix=no
  9796. need_version=no
  9797. library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  9798. soname_spec='$libname$release$shared_ext$major'
  9799. shlibpath_var=LD_LIBRARY_PATH
  9800. shlibpath_overrides_runpath=yes
  9801. hardcode_into_libs=yes
  9802. # ldd complains unless libraries are executable
  9803. postinstall_cmds='chmod +x $lib'
  9804. ;;
  9805. sunos4*)
  9806. version_type=sunos
  9807. library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
  9808. finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
  9809. shlibpath_var=LD_LIBRARY_PATH
  9810. shlibpath_overrides_runpath=yes
  9811. if test yes = "$with_gnu_ld"; then
  9812. need_lib_prefix=no
  9813. fi
  9814. need_version=yes
  9815. ;;
  9816. sysv4 | sysv4.3*)
  9817. version_type=linux # correct to gnu/linux during the next big refactor
  9818. library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  9819. soname_spec='$libname$release$shared_ext$major'
  9820. shlibpath_var=LD_LIBRARY_PATH
  9821. case $host_vendor in
  9822. sni)
  9823. shlibpath_overrides_runpath=no
  9824. need_lib_prefix=no
  9825. runpath_var=LD_RUN_PATH
  9826. ;;
  9827. siemens)
  9828. need_lib_prefix=no
  9829. ;;
  9830. motorola)
  9831. need_lib_prefix=no
  9832. need_version=no
  9833. shlibpath_overrides_runpath=no
  9834. sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
  9835. ;;
  9836. esac
  9837. ;;
  9838. sysv4*MP*)
  9839. if test -d /usr/nec; then
  9840. version_type=linux # correct to gnu/linux during the next big refactor
  9841. library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
  9842. soname_spec='$libname$shared_ext.$major'
  9843. shlibpath_var=LD_LIBRARY_PATH
  9844. fi
  9845. ;;
  9846. sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  9847. version_type=sco
  9848. need_lib_prefix=no
  9849. need_version=no
  9850. library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
  9851. soname_spec='$libname$release$shared_ext$major'
  9852. shlibpath_var=LD_LIBRARY_PATH
  9853. shlibpath_overrides_runpath=yes
  9854. hardcode_into_libs=yes
  9855. if test yes = "$with_gnu_ld"; then
  9856. sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
  9857. else
  9858. sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
  9859. case $host_os in
  9860. sco3.2v5*)
  9861. sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
  9862. ;;
  9863. esac
  9864. fi
  9865. sys_lib_dlsearch_path_spec='/usr/lib'
  9866. ;;
  9867. tpf*)
  9868. # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
  9869. version_type=linux # correct to gnu/linux during the next big refactor
  9870. need_lib_prefix=no
  9871. need_version=no
  9872. library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  9873. shlibpath_var=LD_LIBRARY_PATH
  9874. shlibpath_overrides_runpath=no
  9875. hardcode_into_libs=yes
  9876. ;;
  9877. uts4*)
  9878. version_type=linux # correct to gnu/linux during the next big refactor
  9879. library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  9880. soname_spec='$libname$release$shared_ext$major'
  9881. shlibpath_var=LD_LIBRARY_PATH
  9882. ;;
  9883. *)
  9884. dynamic_linker=no
  9885. ;;
  9886. esac
  9887. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
  9888. $as_echo "$dynamic_linker" >&6; }
  9889. test no = "$dynamic_linker" && can_build_shared=no
  9890. variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
  9891. if test yes = "$GCC"; then
  9892. variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
  9893. fi
  9894. if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
  9895. sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
  9896. fi
  9897. if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
  9898. sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
  9899. fi
  9900. # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
  9901. configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
  9902. # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
  9903. func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
  9904. # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
  9905. configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
  9906. { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
  9907. $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
  9908. hardcode_action=
  9909. if test -n "$hardcode_libdir_flag_spec" ||
  9910. test -n "$runpath_var" ||
  9911. test yes = "$hardcode_automatic"; then
  9912. # We can hardcode non-existent directories.
  9913. if test no != "$hardcode_direct" &&
  9914. # If the only mechanism to avoid hardcoding is shlibpath_var, we
  9915. # have to relink, otherwise we might link with an installed library
  9916. # when we should be linking with a yet-to-be-installed one
  9917. ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
  9918. test no != "$hardcode_minus_L"; then
  9919. # Linking always hardcodes the temporary library directory.
  9920. hardcode_action=relink
  9921. else
  9922. # We can link without hardcoding, and we can hardcode nonexisting dirs.
  9923. hardcode_action=immediate
  9924. fi
  9925. else
  9926. # We cannot hardcode anything, or else we can only hardcode existing
  9927. # directories.
  9928. hardcode_action=unsupported
  9929. fi
  9930. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
  9931. $as_echo "$hardcode_action" >&6; }
  9932. if test relink = "$hardcode_action" ||
  9933. test yes = "$inherit_rpath"; then
  9934. # Fast installation is not supported
  9935. enable_fast_install=no
  9936. elif test yes = "$shlibpath_overrides_runpath" ||
  9937. test no = "$enable_shared"; then
  9938. # Fast installation is not necessary
  9939. enable_fast_install=needless
  9940. fi
  9941. if test yes != "$enable_dlopen"; then
  9942. enable_dlopen=unknown
  9943. enable_dlopen_self=unknown
  9944. enable_dlopen_self_static=unknown
  9945. else
  9946. lt_cv_dlopen=no
  9947. lt_cv_dlopen_libs=
  9948. case $host_os in
  9949. beos*)
  9950. lt_cv_dlopen=load_add_on
  9951. lt_cv_dlopen_libs=
  9952. lt_cv_dlopen_self=yes
  9953. ;;
  9954. mingw* | pw32* | cegcc*)
  9955. lt_cv_dlopen=LoadLibrary
  9956. lt_cv_dlopen_libs=
  9957. ;;
  9958. cygwin*)
  9959. lt_cv_dlopen=dlopen
  9960. lt_cv_dlopen_libs=
  9961. ;;
  9962. darwin*)
  9963. # if libdl is installed we need to link against it
  9964. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
  9965. $as_echo_n "checking for dlopen in -ldl... " >&6; }
  9966. if ${ac_cv_lib_dl_dlopen+:} false; then :
  9967. $as_echo_n "(cached) " >&6
  9968. else
  9969. ac_check_lib_save_LIBS=$LIBS
  9970. LIBS="-ldl $LIBS"
  9971. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9972. /* end confdefs.h. */
  9973. /* Override any GCC internal prototype to avoid an error.
  9974. Use char because int might match the return type of a GCC
  9975. builtin and then its argument prototype would still apply. */
  9976. #ifdef __cplusplus
  9977. extern "C"
  9978. #endif
  9979. char dlopen ();
  9980. int
  9981. main ()
  9982. {
  9983. return dlopen ();
  9984. ;
  9985. return 0;
  9986. }
  9987. _ACEOF
  9988. if ac_fn_c_try_link "$LINENO"; then :
  9989. ac_cv_lib_dl_dlopen=yes
  9990. else
  9991. ac_cv_lib_dl_dlopen=no
  9992. fi
  9993. rm -f core conftest.err conftest.$ac_objext \
  9994. conftest$ac_exeext conftest.$ac_ext
  9995. LIBS=$ac_check_lib_save_LIBS
  9996. fi
  9997. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
  9998. $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
  9999. if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
  10000. lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
  10001. else
  10002. lt_cv_dlopen=dyld
  10003. lt_cv_dlopen_libs=
  10004. lt_cv_dlopen_self=yes
  10005. fi
  10006. ;;
  10007. tpf*)
  10008. # Don't try to run any link tests for TPF. We know it's impossible
  10009. # because TPF is a cross-compiler, and we know how we open DSOs.
  10010. lt_cv_dlopen=dlopen
  10011. lt_cv_dlopen_libs=
  10012. lt_cv_dlopen_self=no
  10013. ;;
  10014. *)
  10015. ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
  10016. if test "x$ac_cv_func_shl_load" = xyes; then :
  10017. lt_cv_dlopen=shl_load
  10018. else
  10019. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
  10020. $as_echo_n "checking for shl_load in -ldld... " >&6; }
  10021. if ${ac_cv_lib_dld_shl_load+:} false; then :
  10022. $as_echo_n "(cached) " >&6
  10023. else
  10024. ac_check_lib_save_LIBS=$LIBS
  10025. LIBS="-ldld $LIBS"
  10026. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10027. /* end confdefs.h. */
  10028. /* Override any GCC internal prototype to avoid an error.
  10029. Use char because int might match the return type of a GCC
  10030. builtin and then its argument prototype would still apply. */
  10031. #ifdef __cplusplus
  10032. extern "C"
  10033. #endif
  10034. char shl_load ();
  10035. int
  10036. main ()
  10037. {
  10038. return shl_load ();
  10039. ;
  10040. return 0;
  10041. }
  10042. _ACEOF
  10043. if ac_fn_c_try_link "$LINENO"; then :
  10044. ac_cv_lib_dld_shl_load=yes
  10045. else
  10046. ac_cv_lib_dld_shl_load=no
  10047. fi
  10048. rm -f core conftest.err conftest.$ac_objext \
  10049. conftest$ac_exeext conftest.$ac_ext
  10050. LIBS=$ac_check_lib_save_LIBS
  10051. fi
  10052. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
  10053. $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
  10054. if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
  10055. lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
  10056. else
  10057. ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
  10058. if test "x$ac_cv_func_dlopen" = xyes; then :
  10059. lt_cv_dlopen=dlopen
  10060. else
  10061. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
  10062. $as_echo_n "checking for dlopen in -ldl... " >&6; }
  10063. if ${ac_cv_lib_dl_dlopen+:} false; then :
  10064. $as_echo_n "(cached) " >&6
  10065. else
  10066. ac_check_lib_save_LIBS=$LIBS
  10067. LIBS="-ldl $LIBS"
  10068. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10069. /* end confdefs.h. */
  10070. /* Override any GCC internal prototype to avoid an error.
  10071. Use char because int might match the return type of a GCC
  10072. builtin and then its argument prototype would still apply. */
  10073. #ifdef __cplusplus
  10074. extern "C"
  10075. #endif
  10076. char dlopen ();
  10077. int
  10078. main ()
  10079. {
  10080. return dlopen ();
  10081. ;
  10082. return 0;
  10083. }
  10084. _ACEOF
  10085. if ac_fn_c_try_link "$LINENO"; then :
  10086. ac_cv_lib_dl_dlopen=yes
  10087. else
  10088. ac_cv_lib_dl_dlopen=no
  10089. fi
  10090. rm -f core conftest.err conftest.$ac_objext \
  10091. conftest$ac_exeext conftest.$ac_ext
  10092. LIBS=$ac_check_lib_save_LIBS
  10093. fi
  10094. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
  10095. $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
  10096. if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
  10097. lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
  10098. else
  10099. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
  10100. $as_echo_n "checking for dlopen in -lsvld... " >&6; }
  10101. if ${ac_cv_lib_svld_dlopen+:} false; then :
  10102. $as_echo_n "(cached) " >&6
  10103. else
  10104. ac_check_lib_save_LIBS=$LIBS
  10105. LIBS="-lsvld $LIBS"
  10106. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10107. /* end confdefs.h. */
  10108. /* Override any GCC internal prototype to avoid an error.
  10109. Use char because int might match the return type of a GCC
  10110. builtin and then its argument prototype would still apply. */
  10111. #ifdef __cplusplus
  10112. extern "C"
  10113. #endif
  10114. char dlopen ();
  10115. int
  10116. main ()
  10117. {
  10118. return dlopen ();
  10119. ;
  10120. return 0;
  10121. }
  10122. _ACEOF
  10123. if ac_fn_c_try_link "$LINENO"; then :
  10124. ac_cv_lib_svld_dlopen=yes
  10125. else
  10126. ac_cv_lib_svld_dlopen=no
  10127. fi
  10128. rm -f core conftest.err conftest.$ac_objext \
  10129. conftest$ac_exeext conftest.$ac_ext
  10130. LIBS=$ac_check_lib_save_LIBS
  10131. fi
  10132. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
  10133. $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
  10134. if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
  10135. lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
  10136. else
  10137. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
  10138. $as_echo_n "checking for dld_link in -ldld... " >&6; }
  10139. if ${ac_cv_lib_dld_dld_link+:} false; then :
  10140. $as_echo_n "(cached) " >&6
  10141. else
  10142. ac_check_lib_save_LIBS=$LIBS
  10143. LIBS="-ldld $LIBS"
  10144. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10145. /* end confdefs.h. */
  10146. /* Override any GCC internal prototype to avoid an error.
  10147. Use char because int might match the return type of a GCC
  10148. builtin and then its argument prototype would still apply. */
  10149. #ifdef __cplusplus
  10150. extern "C"
  10151. #endif
  10152. char dld_link ();
  10153. int
  10154. main ()
  10155. {
  10156. return dld_link ();
  10157. ;
  10158. return 0;
  10159. }
  10160. _ACEOF
  10161. if ac_fn_c_try_link "$LINENO"; then :
  10162. ac_cv_lib_dld_dld_link=yes
  10163. else
  10164. ac_cv_lib_dld_dld_link=no
  10165. fi
  10166. rm -f core conftest.err conftest.$ac_objext \
  10167. conftest$ac_exeext conftest.$ac_ext
  10168. LIBS=$ac_check_lib_save_LIBS
  10169. fi
  10170. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
  10171. $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
  10172. if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
  10173. lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
  10174. fi
  10175. fi
  10176. fi
  10177. fi
  10178. fi
  10179. fi
  10180. ;;
  10181. esac
  10182. if test no = "$lt_cv_dlopen"; then
  10183. enable_dlopen=no
  10184. else
  10185. enable_dlopen=yes
  10186. fi
  10187. case $lt_cv_dlopen in
  10188. dlopen)
  10189. save_CPPFLAGS=$CPPFLAGS
  10190. test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
  10191. save_LDFLAGS=$LDFLAGS
  10192. wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
  10193. save_LIBS=$LIBS
  10194. LIBS="$lt_cv_dlopen_libs $LIBS"
  10195. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
  10196. $as_echo_n "checking whether a program can dlopen itself... " >&6; }
  10197. if ${lt_cv_dlopen_self+:} false; then :
  10198. $as_echo_n "(cached) " >&6
  10199. else
  10200. if test yes = "$cross_compiling"; then :
  10201. lt_cv_dlopen_self=cross
  10202. else
  10203. lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
  10204. lt_status=$lt_dlunknown
  10205. cat > conftest.$ac_ext <<_LT_EOF
  10206. #line $LINENO "configure"
  10207. #include "confdefs.h"
  10208. #if HAVE_DLFCN_H
  10209. #include <dlfcn.h>
  10210. #endif
  10211. #include <stdio.h>
  10212. #ifdef RTLD_GLOBAL
  10213. # define LT_DLGLOBAL RTLD_GLOBAL
  10214. #else
  10215. # ifdef DL_GLOBAL
  10216. # define LT_DLGLOBAL DL_GLOBAL
  10217. # else
  10218. # define LT_DLGLOBAL 0
  10219. # endif
  10220. #endif
  10221. /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
  10222. find out it does not work in some platform. */
  10223. #ifndef LT_DLLAZY_OR_NOW
  10224. # ifdef RTLD_LAZY
  10225. # define LT_DLLAZY_OR_NOW RTLD_LAZY
  10226. # else
  10227. # ifdef DL_LAZY
  10228. # define LT_DLLAZY_OR_NOW DL_LAZY
  10229. # else
  10230. # ifdef RTLD_NOW
  10231. # define LT_DLLAZY_OR_NOW RTLD_NOW
  10232. # else
  10233. # ifdef DL_NOW
  10234. # define LT_DLLAZY_OR_NOW DL_NOW
  10235. # else
  10236. # define LT_DLLAZY_OR_NOW 0
  10237. # endif
  10238. # endif
  10239. # endif
  10240. # endif
  10241. #endif
  10242. /* When -fvisibility=hidden is used, assume the code has been annotated
  10243. correspondingly for the symbols needed. */
  10244. #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
  10245. int fnord () __attribute__((visibility("default")));
  10246. #endif
  10247. int fnord () { return 42; }
  10248. int main ()
  10249. {
  10250. void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
  10251. int status = $lt_dlunknown;
  10252. if (self)
  10253. {
  10254. if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
  10255. else
  10256. {
  10257. if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
  10258. else puts (dlerror ());
  10259. }
  10260. /* dlclose (self); */
  10261. }
  10262. else
  10263. puts (dlerror ());
  10264. return status;
  10265. }
  10266. _LT_EOF
  10267. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  10268. (eval $ac_link) 2>&5
  10269. ac_status=$?
  10270. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  10271. test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
  10272. (./conftest; exit; ) >&5 2>/dev/null
  10273. lt_status=$?
  10274. case x$lt_status in
  10275. x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
  10276. x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
  10277. x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
  10278. esac
  10279. else :
  10280. # compilation failed
  10281. lt_cv_dlopen_self=no
  10282. fi
  10283. fi
  10284. rm -fr conftest*
  10285. fi
  10286. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
  10287. $as_echo "$lt_cv_dlopen_self" >&6; }
  10288. if test yes = "$lt_cv_dlopen_self"; then
  10289. wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
  10290. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
  10291. $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
  10292. if ${lt_cv_dlopen_self_static+:} false; then :
  10293. $as_echo_n "(cached) " >&6
  10294. else
  10295. if test yes = "$cross_compiling"; then :
  10296. lt_cv_dlopen_self_static=cross
  10297. else
  10298. lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
  10299. lt_status=$lt_dlunknown
  10300. cat > conftest.$ac_ext <<_LT_EOF
  10301. #line $LINENO "configure"
  10302. #include "confdefs.h"
  10303. #if HAVE_DLFCN_H
  10304. #include <dlfcn.h>
  10305. #endif
  10306. #include <stdio.h>
  10307. #ifdef RTLD_GLOBAL
  10308. # define LT_DLGLOBAL RTLD_GLOBAL
  10309. #else
  10310. # ifdef DL_GLOBAL
  10311. # define LT_DLGLOBAL DL_GLOBAL
  10312. # else
  10313. # define LT_DLGLOBAL 0
  10314. # endif
  10315. #endif
  10316. /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
  10317. find out it does not work in some platform. */
  10318. #ifndef LT_DLLAZY_OR_NOW
  10319. # ifdef RTLD_LAZY
  10320. # define LT_DLLAZY_OR_NOW RTLD_LAZY
  10321. # else
  10322. # ifdef DL_LAZY
  10323. # define LT_DLLAZY_OR_NOW DL_LAZY
  10324. # else
  10325. # ifdef RTLD_NOW
  10326. # define LT_DLLAZY_OR_NOW RTLD_NOW
  10327. # else
  10328. # ifdef DL_NOW
  10329. # define LT_DLLAZY_OR_NOW DL_NOW
  10330. # else
  10331. # define LT_DLLAZY_OR_NOW 0
  10332. # endif
  10333. # endif
  10334. # endif
  10335. # endif
  10336. #endif
  10337. /* When -fvisibility=hidden is used, assume the code has been annotated
  10338. correspondingly for the symbols needed. */
  10339. #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
  10340. int fnord () __attribute__((visibility("default")));
  10341. #endif
  10342. int fnord () { return 42; }
  10343. int main ()
  10344. {
  10345. void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
  10346. int status = $lt_dlunknown;
  10347. if (self)
  10348. {
  10349. if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
  10350. else
  10351. {
  10352. if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
  10353. else puts (dlerror ());
  10354. }
  10355. /* dlclose (self); */
  10356. }
  10357. else
  10358. puts (dlerror ());
  10359. return status;
  10360. }
  10361. _LT_EOF
  10362. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  10363. (eval $ac_link) 2>&5
  10364. ac_status=$?
  10365. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  10366. test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
  10367. (./conftest; exit; ) >&5 2>/dev/null
  10368. lt_status=$?
  10369. case x$lt_status in
  10370. x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
  10371. x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
  10372. x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
  10373. esac
  10374. else :
  10375. # compilation failed
  10376. lt_cv_dlopen_self_static=no
  10377. fi
  10378. fi
  10379. rm -fr conftest*
  10380. fi
  10381. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
  10382. $as_echo "$lt_cv_dlopen_self_static" >&6; }
  10383. fi
  10384. CPPFLAGS=$save_CPPFLAGS
  10385. LDFLAGS=$save_LDFLAGS
  10386. LIBS=$save_LIBS
  10387. ;;
  10388. esac
  10389. case $lt_cv_dlopen_self in
  10390. yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
  10391. *) enable_dlopen_self=unknown ;;
  10392. esac
  10393. case $lt_cv_dlopen_self_static in
  10394. yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
  10395. *) enable_dlopen_self_static=unknown ;;
  10396. esac
  10397. fi
  10398. striplib=
  10399. old_striplib=
  10400. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
  10401. $as_echo_n "checking whether stripping libraries is possible... " >&6; }
  10402. if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
  10403. test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
  10404. test -z "$striplib" && striplib="$STRIP --strip-unneeded"
  10405. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  10406. $as_echo "yes" >&6; }
  10407. else
  10408. # FIXME - insert some real tests, host_os isn't really good enough
  10409. case $host_os in
  10410. darwin*)
  10411. if test -n "$STRIP"; then
  10412. striplib="$STRIP -x"
  10413. old_striplib="$STRIP -S"
  10414. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  10415. $as_echo "yes" >&6; }
  10416. else
  10417. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  10418. $as_echo "no" >&6; }
  10419. fi
  10420. ;;
  10421. *)
  10422. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  10423. $as_echo "no" >&6; }
  10424. ;;
  10425. esac
  10426. fi
  10427. # Report what library types will actually be built
  10428. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
  10429. $as_echo_n "checking if libtool supports shared libraries... " >&6; }
  10430. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
  10431. $as_echo "$can_build_shared" >&6; }
  10432. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
  10433. $as_echo_n "checking whether to build shared libraries... " >&6; }
  10434. test no = "$can_build_shared" && enable_shared=no
  10435. # On AIX, shared libraries and static libraries use the same namespace, and
  10436. # are all built from PIC.
  10437. case $host_os in
  10438. aix3*)
  10439. test yes = "$enable_shared" && enable_static=no
  10440. if test -n "$RANLIB"; then
  10441. archive_cmds="$archive_cmds~\$RANLIB \$lib"
  10442. postinstall_cmds='$RANLIB $lib'
  10443. fi
  10444. ;;
  10445. aix[4-9]*)
  10446. if test ia64 != "$host_cpu"; then
  10447. case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
  10448. yes,aix,yes) ;; # shared object as lib.so file only
  10449. yes,svr4,*) ;; # shared object as lib.so archive member only
  10450. yes,*) enable_static=no ;; # shared object in lib.a archive as well
  10451. esac
  10452. fi
  10453. ;;
  10454. esac
  10455. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
  10456. $as_echo "$enable_shared" >&6; }
  10457. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
  10458. $as_echo_n "checking whether to build static libraries... " >&6; }
  10459. # Make sure either enable_shared or enable_static is yes.
  10460. test yes = "$enable_shared" || enable_static=yes
  10461. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
  10462. $as_echo "$enable_static" >&6; }
  10463. fi
  10464. ac_ext=c
  10465. ac_cpp='$CPP $CPPFLAGS'
  10466. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  10467. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  10468. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  10469. CC=$lt_save_CC
  10470. ac_config_commands="$ac_config_commands libtool"
  10471. # Only expand once:
  10472. { $as_echo "$as_me:${as_lineno-$LINENO}: checking what extension is used for runtime loadable modules" >&5
  10473. $as_echo_n "checking what extension is used for runtime loadable modules... " >&6; }
  10474. if ${libltdl_cv_shlibext+:} false; then :
  10475. $as_echo_n "(cached) " >&6
  10476. else
  10477. module=yes
  10478. eval libltdl_cv_shlibext=$shrext_cmds
  10479. module=no
  10480. eval libltdl_cv_shrext=$shrext_cmds
  10481. fi
  10482. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_shlibext" >&5
  10483. $as_echo "$libltdl_cv_shlibext" >&6; }
  10484. if test -n "$libltdl_cv_shlibext"; then
  10485. cat >>confdefs.h <<_ACEOF
  10486. #define LT_MODULE_EXT "$libltdl_cv_shlibext"
  10487. _ACEOF
  10488. fi
  10489. if test "$libltdl_cv_shrext" != "$libltdl_cv_shlibext"; then
  10490. cat >>confdefs.h <<_ACEOF
  10491. #define LT_SHARED_EXT "$libltdl_cv_shrext"
  10492. _ACEOF
  10493. fi
  10494. if test -n "$shared_archive_member_spec"; then
  10495. cat >>confdefs.h <<_ACEOF
  10496. #define LT_SHARED_LIB_MEMBER "($shared_archive_member_spec.o)"
  10497. _ACEOF
  10498. fi
  10499. { $as_echo "$as_me:${as_lineno-$LINENO}: checking what variable specifies run-time module search path" >&5
  10500. $as_echo_n "checking what variable specifies run-time module search path... " >&6; }
  10501. if ${lt_cv_module_path_var+:} false; then :
  10502. $as_echo_n "(cached) " >&6
  10503. else
  10504. lt_cv_module_path_var=$shlibpath_var
  10505. fi
  10506. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_module_path_var" >&5
  10507. $as_echo "$lt_cv_module_path_var" >&6; }
  10508. if test -n "$lt_cv_module_path_var"; then
  10509. cat >>confdefs.h <<_ACEOF
  10510. #define LT_MODULE_PATH_VAR "$lt_cv_module_path_var"
  10511. _ACEOF
  10512. fi
  10513. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the default library search path" >&5
  10514. $as_echo_n "checking for the default library search path... " >&6; }
  10515. if ${lt_cv_sys_dlsearch_path+:} false; then :
  10516. $as_echo_n "(cached) " >&6
  10517. else
  10518. lt_cv_sys_dlsearch_path=$sys_lib_dlsearch_path_spec
  10519. fi
  10520. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_dlsearch_path" >&5
  10521. $as_echo "$lt_cv_sys_dlsearch_path" >&6; }
  10522. if test -n "$lt_cv_sys_dlsearch_path"; then
  10523. sys_dlsearch_path=
  10524. for dir in $lt_cv_sys_dlsearch_path; do
  10525. if test -z "$sys_dlsearch_path"; then
  10526. sys_dlsearch_path=$dir
  10527. else
  10528. sys_dlsearch_path=$sys_dlsearch_path$PATH_SEPARATOR$dir
  10529. fi
  10530. done
  10531. cat >>confdefs.h <<_ACEOF
  10532. #define LT_DLSEARCH_PATH "$sys_dlsearch_path"
  10533. _ACEOF
  10534. fi
  10535. LT_DLLOADERS=
  10536. ac_ext=c
  10537. ac_cpp='$CPP $CPPFLAGS'
  10538. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  10539. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  10540. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  10541. lt_dlload_save_LIBS=$LIBS
  10542. LIBADD_DLOPEN=
  10543. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
  10544. $as_echo_n "checking for library containing dlopen... " >&6; }
  10545. if ${ac_cv_search_dlopen+:} false; then :
  10546. $as_echo_n "(cached) " >&6
  10547. else
  10548. ac_func_search_save_LIBS=$LIBS
  10549. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10550. /* end confdefs.h. */
  10551. /* Override any GCC internal prototype to avoid an error.
  10552. Use char because int might match the return type of a GCC
  10553. builtin and then its argument prototype would still apply. */
  10554. #ifdef __cplusplus
  10555. extern "C"
  10556. #endif
  10557. char dlopen ();
  10558. int
  10559. main ()
  10560. {
  10561. return dlopen ();
  10562. ;
  10563. return 0;
  10564. }
  10565. _ACEOF
  10566. for ac_lib in '' dl; do
  10567. if test -z "$ac_lib"; then
  10568. ac_res="none required"
  10569. else
  10570. ac_res=-l$ac_lib
  10571. LIBS="-l$ac_lib $ac_func_search_save_LIBS"
  10572. fi
  10573. if ac_fn_c_try_link "$LINENO"; then :
  10574. ac_cv_search_dlopen=$ac_res
  10575. fi
  10576. rm -f core conftest.err conftest.$ac_objext \
  10577. conftest$ac_exeext
  10578. if ${ac_cv_search_dlopen+:} false; then :
  10579. break
  10580. fi
  10581. done
  10582. if ${ac_cv_search_dlopen+:} false; then :
  10583. else
  10584. ac_cv_search_dlopen=no
  10585. fi
  10586. rm conftest.$ac_ext
  10587. LIBS=$ac_func_search_save_LIBS
  10588. fi
  10589. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
  10590. $as_echo "$ac_cv_search_dlopen" >&6; }
  10591. ac_res=$ac_cv_search_dlopen
  10592. if test "$ac_res" != no; then :
  10593. test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
  10594. $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
  10595. if test "$ac_cv_search_dlopen" != "none required"; then
  10596. LIBADD_DLOPEN=-ldl
  10597. fi
  10598. libltdl_cv_lib_dl_dlopen=yes
  10599. LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
  10600. else
  10601. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10602. /* end confdefs.h. */
  10603. #if HAVE_DLFCN_H
  10604. # include <dlfcn.h>
  10605. #endif
  10606. int
  10607. main ()
  10608. {
  10609. dlopen(0, 0);
  10610. ;
  10611. return 0;
  10612. }
  10613. _ACEOF
  10614. if ac_fn_c_try_link "$LINENO"; then :
  10615. $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
  10616. libltdl_cv_func_dlopen=yes
  10617. LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
  10618. else
  10619. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
  10620. $as_echo_n "checking for dlopen in -lsvld... " >&6; }
  10621. if ${ac_cv_lib_svld_dlopen+:} false; then :
  10622. $as_echo_n "(cached) " >&6
  10623. else
  10624. ac_check_lib_save_LIBS=$LIBS
  10625. LIBS="-lsvld $LIBS"
  10626. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10627. /* end confdefs.h. */
  10628. /* Override any GCC internal prototype to avoid an error.
  10629. Use char because int might match the return type of a GCC
  10630. builtin and then its argument prototype would still apply. */
  10631. #ifdef __cplusplus
  10632. extern "C"
  10633. #endif
  10634. char dlopen ();
  10635. int
  10636. main ()
  10637. {
  10638. return dlopen ();
  10639. ;
  10640. return 0;
  10641. }
  10642. _ACEOF
  10643. if ac_fn_c_try_link "$LINENO"; then :
  10644. ac_cv_lib_svld_dlopen=yes
  10645. else
  10646. ac_cv_lib_svld_dlopen=no
  10647. fi
  10648. rm -f core conftest.err conftest.$ac_objext \
  10649. conftest$ac_exeext conftest.$ac_ext
  10650. LIBS=$ac_check_lib_save_LIBS
  10651. fi
  10652. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
  10653. $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
  10654. if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
  10655. $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
  10656. LIBADD_DLOPEN=-lsvld libltdl_cv_func_dlopen=yes
  10657. LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
  10658. fi
  10659. fi
  10660. rm -f core conftest.err conftest.$ac_objext \
  10661. conftest$ac_exeext conftest.$ac_ext
  10662. fi
  10663. if test yes = "$libltdl_cv_func_dlopen" || test yes = "$libltdl_cv_lib_dl_dlopen"
  10664. then
  10665. lt_save_LIBS=$LIBS
  10666. LIBS="$LIBS $LIBADD_DLOPEN"
  10667. for ac_func in dlerror
  10668. do :
  10669. ac_fn_c_check_func "$LINENO" "dlerror" "ac_cv_func_dlerror"
  10670. if test "x$ac_cv_func_dlerror" = xyes; then :
  10671. cat >>confdefs.h <<_ACEOF
  10672. #define HAVE_DLERROR 1
  10673. _ACEOF
  10674. fi
  10675. done
  10676. LIBS=$lt_save_LIBS
  10677. fi
  10678. LIBADD_SHL_LOAD=
  10679. ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
  10680. if test "x$ac_cv_func_shl_load" = xyes; then :
  10681. $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
  10682. LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
  10683. else
  10684. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
  10685. $as_echo_n "checking for shl_load in -ldld... " >&6; }
  10686. if ${ac_cv_lib_dld_shl_load+:} false; then :
  10687. $as_echo_n "(cached) " >&6
  10688. else
  10689. ac_check_lib_save_LIBS=$LIBS
  10690. LIBS="-ldld $LIBS"
  10691. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10692. /* end confdefs.h. */
  10693. /* Override any GCC internal prototype to avoid an error.
  10694. Use char because int might match the return type of a GCC
  10695. builtin and then its argument prototype would still apply. */
  10696. #ifdef __cplusplus
  10697. extern "C"
  10698. #endif
  10699. char shl_load ();
  10700. int
  10701. main ()
  10702. {
  10703. return shl_load ();
  10704. ;
  10705. return 0;
  10706. }
  10707. _ACEOF
  10708. if ac_fn_c_try_link "$LINENO"; then :
  10709. ac_cv_lib_dld_shl_load=yes
  10710. else
  10711. ac_cv_lib_dld_shl_load=no
  10712. fi
  10713. rm -f core conftest.err conftest.$ac_objext \
  10714. conftest$ac_exeext conftest.$ac_ext
  10715. LIBS=$ac_check_lib_save_LIBS
  10716. fi
  10717. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
  10718. $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
  10719. if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
  10720. $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
  10721. LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
  10722. LIBADD_SHL_LOAD=-ldld
  10723. fi
  10724. fi
  10725. case $host_os in
  10726. darwin[1567].*)
  10727. # We only want this for pre-Mac OS X 10.4.
  10728. ac_fn_c_check_func "$LINENO" "_dyld_func_lookup" "ac_cv_func__dyld_func_lookup"
  10729. if test "x$ac_cv_func__dyld_func_lookup" = xyes; then :
  10730. $as_echo "#define HAVE_DYLD 1" >>confdefs.h
  10731. LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dyld.la"
  10732. fi
  10733. ;;
  10734. beos*)
  10735. LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}load_add_on.la"
  10736. ;;
  10737. cygwin* | mingw* | pw32*)
  10738. ac_fn_c_check_decl "$LINENO" "cygwin_conv_path" "ac_cv_have_decl_cygwin_conv_path" "#include <sys/cygwin.h>
  10739. "
  10740. if test "x$ac_cv_have_decl_cygwin_conv_path" = xyes; then :
  10741. ac_have_decl=1
  10742. else
  10743. ac_have_decl=0
  10744. fi
  10745. cat >>confdefs.h <<_ACEOF
  10746. #define HAVE_DECL_CYGWIN_CONV_PATH $ac_have_decl
  10747. _ACEOF
  10748. LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}loadlibrary.la"
  10749. ;;
  10750. esac
  10751. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
  10752. $as_echo_n "checking for dld_link in -ldld... " >&6; }
  10753. if ${ac_cv_lib_dld_dld_link+:} false; then :
  10754. $as_echo_n "(cached) " >&6
  10755. else
  10756. ac_check_lib_save_LIBS=$LIBS
  10757. LIBS="-ldld $LIBS"
  10758. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10759. /* end confdefs.h. */
  10760. /* Override any GCC internal prototype to avoid an error.
  10761. Use char because int might match the return type of a GCC
  10762. builtin and then its argument prototype would still apply. */
  10763. #ifdef __cplusplus
  10764. extern "C"
  10765. #endif
  10766. char dld_link ();
  10767. int
  10768. main ()
  10769. {
  10770. return dld_link ();
  10771. ;
  10772. return 0;
  10773. }
  10774. _ACEOF
  10775. if ac_fn_c_try_link "$LINENO"; then :
  10776. ac_cv_lib_dld_dld_link=yes
  10777. else
  10778. ac_cv_lib_dld_dld_link=no
  10779. fi
  10780. rm -f core conftest.err conftest.$ac_objext \
  10781. conftest$ac_exeext conftest.$ac_ext
  10782. LIBS=$ac_check_lib_save_LIBS
  10783. fi
  10784. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
  10785. $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
  10786. if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
  10787. $as_echo "#define HAVE_DLD 1" >>confdefs.h
  10788. LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dld_link.la"
  10789. fi
  10790. LT_DLPREOPEN=
  10791. if test -n "$LT_DLLOADERS"
  10792. then
  10793. for lt_loader in $LT_DLLOADERS; do
  10794. LT_DLPREOPEN="$LT_DLPREOPEN-dlpreopen $lt_loader "
  10795. done
  10796. $as_echo "#define HAVE_LIBDLLOADER 1" >>confdefs.h
  10797. fi
  10798. LIBADD_DL="$LIBADD_DLOPEN $LIBADD_SHL_LOAD"
  10799. LIBS=$lt_dlload_save_LIBS
  10800. ac_ext=c
  10801. ac_cpp='$CPP $CPPFLAGS'
  10802. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  10803. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  10804. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  10805. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ prefix in compiled symbols" >&5
  10806. $as_echo_n "checking for _ prefix in compiled symbols... " >&6; }
  10807. if ${lt_cv_sys_symbol_underscore+:} false; then :
  10808. $as_echo_n "(cached) " >&6
  10809. else
  10810. lt_cv_sys_symbol_underscore=no
  10811. cat > conftest.$ac_ext <<_LT_EOF
  10812. void nm_test_func(){}
  10813. int main(){nm_test_func;return 0;}
  10814. _LT_EOF
  10815. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  10816. (eval $ac_compile) 2>&5
  10817. ac_status=$?
  10818. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  10819. test $ac_status = 0; }; then
  10820. # Now try to grab the symbols.
  10821. ac_nlist=conftest.nm
  10822. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist\""; } >&5
  10823. (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist) 2>&5
  10824. ac_status=$?
  10825. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  10826. test $ac_status = 0; } && test -s "$ac_nlist"; then
  10827. # See whether the symbols have a leading underscore.
  10828. if grep '^. _nm_test_func' "$ac_nlist" >/dev/null; then
  10829. lt_cv_sys_symbol_underscore=yes
  10830. else
  10831. if grep '^. nm_test_func ' "$ac_nlist" >/dev/null; then
  10832. :
  10833. else
  10834. echo "configure: cannot find nm_test_func in $ac_nlist" >&5
  10835. fi
  10836. fi
  10837. else
  10838. echo "configure: cannot run $lt_cv_sys_global_symbol_pipe" >&5
  10839. fi
  10840. else
  10841. echo "configure: failed program was:" >&5
  10842. cat conftest.c >&5
  10843. fi
  10844. rm -rf conftest*
  10845. fi
  10846. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_symbol_underscore" >&5
  10847. $as_echo "$lt_cv_sys_symbol_underscore" >&6; }
  10848. sys_symbol_underscore=$lt_cv_sys_symbol_underscore
  10849. if test yes = "$lt_cv_sys_symbol_underscore"; then
  10850. if test yes = "$libltdl_cv_func_dlopen" || test yes = "$libltdl_cv_lib_dl_dlopen"; then
  10851. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have to add an underscore for dlsym" >&5
  10852. $as_echo_n "checking whether we have to add an underscore for dlsym... " >&6; }
  10853. if ${libltdl_cv_need_uscore+:} false; then :
  10854. $as_echo_n "(cached) " >&6
  10855. else
  10856. libltdl_cv_need_uscore=unknown
  10857. dlsym_uscore_save_LIBS=$LIBS
  10858. LIBS="$LIBS $LIBADD_DLOPEN"
  10859. libname=conftmod # stay within 8.3 filename limits!
  10860. cat >$libname.$ac_ext <<_LT_EOF
  10861. #line $LINENO "configure"
  10862. #include "confdefs.h"
  10863. /* When -fvisibility=hidden is used, assume the code has been annotated
  10864. correspondingly for the symbols needed. */
  10865. #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
  10866. int fnord () __attribute__((visibility("default")));
  10867. #endif
  10868. int fnord () { return 42; }
  10869. _LT_EOF
  10870. # ltfn_module_cmds module_cmds
  10871. # Execute tilde-delimited MODULE_CMDS with environment primed for
  10872. # $module_cmds or $archive_cmds type content.
  10873. ltfn_module_cmds ()
  10874. {( # subshell avoids polluting parent global environment
  10875. module_cmds_save_ifs=$IFS; IFS='~'
  10876. for cmd in $1; do
  10877. IFS=$module_cmds_save_ifs
  10878. libobjs=$libname.$ac_objext; lib=$libname$libltdl_cv_shlibext
  10879. rpath=/not-exists; soname=$libname$libltdl_cv_shlibext; output_objdir=.
  10880. major=; versuffix=; verstring=; deplibs=
  10881. ECHO=echo; wl=$lt_prog_compiler_wl; allow_undefined_flag=
  10882. eval $cmd
  10883. done
  10884. IFS=$module_cmds_save_ifs
  10885. )}
  10886. # Compile a loadable module using libtool macro expansion results.
  10887. $CC $pic_flag -c $libname.$ac_ext
  10888. ltfn_module_cmds "${module_cmds:-$archive_cmds}"
  10889. # Try to fetch fnord with dlsym().
  10890. libltdl_dlunknown=0; libltdl_dlnouscore=1; libltdl_dluscore=2
  10891. cat >conftest.$ac_ext <<_LT_EOF
  10892. #line $LINENO "configure"
  10893. #include "confdefs.h"
  10894. #if HAVE_DLFCN_H
  10895. #include <dlfcn.h>
  10896. #endif
  10897. #include <stdio.h>
  10898. #ifndef RTLD_GLOBAL
  10899. # ifdef DL_GLOBAL
  10900. # define RTLD_GLOBAL DL_GLOBAL
  10901. # else
  10902. # define RTLD_GLOBAL 0
  10903. # endif
  10904. #endif
  10905. #ifndef RTLD_NOW
  10906. # ifdef DL_NOW
  10907. # define RTLD_NOW DL_NOW
  10908. # else
  10909. # define RTLD_NOW 0
  10910. # endif
  10911. #endif
  10912. int main () {
  10913. void *handle = dlopen ("`pwd`/$libname$libltdl_cv_shlibext", RTLD_GLOBAL|RTLD_NOW);
  10914. int status = $libltdl_dlunknown;
  10915. if (handle) {
  10916. if (dlsym (handle, "fnord"))
  10917. status = $libltdl_dlnouscore;
  10918. else {
  10919. if (dlsym (handle, "_fnord"))
  10920. status = $libltdl_dluscore;
  10921. else
  10922. puts (dlerror ());
  10923. }
  10924. dlclose (handle);
  10925. } else
  10926. puts (dlerror ());
  10927. return status;
  10928. }
  10929. _LT_EOF
  10930. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  10931. (eval $ac_link) 2>&5
  10932. ac_status=$?
  10933. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  10934. test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
  10935. (./conftest; exit; ) >&5 2>/dev/null
  10936. libltdl_status=$?
  10937. case x$libltdl_status in
  10938. x$libltdl_dlnouscore) libltdl_cv_need_uscore=no ;;
  10939. x$libltdl_dluscore) libltdl_cv_need_uscore=yes ;;
  10940. x*) libltdl_cv_need_uscore=unknown ;;
  10941. esac
  10942. fi
  10943. rm -rf conftest* $libname*
  10944. LIBS=$dlsym_uscore_save_LIBS
  10945. fi
  10946. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_need_uscore" >&5
  10947. $as_echo "$libltdl_cv_need_uscore" >&6; }
  10948. fi
  10949. fi
  10950. if test yes = "$libltdl_cv_need_uscore"; then
  10951. $as_echo "#define NEED_USCORE 1" >>confdefs.h
  10952. fi
  10953. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether deplibs are loaded by dlopen" >&5
  10954. $as_echo_n "checking whether deplibs are loaded by dlopen... " >&6; }
  10955. if ${lt_cv_sys_dlopen_deplibs+:} false; then :
  10956. $as_echo_n "(cached) " >&6
  10957. else
  10958. # PORTME does your system automatically load deplibs for dlopen?
  10959. # or its logical equivalent (e.g. shl_load for HP-UX < 11)
  10960. # For now, we just catch OSes we know something about -- in the
  10961. # future, we'll try test this programmatically.
  10962. lt_cv_sys_dlopen_deplibs=unknown
  10963. case $host_os in
  10964. aix3*|aix4.1.*|aix4.2.*)
  10965. # Unknown whether this is true for these versions of AIX, but
  10966. # we want this 'case' here to explicitly catch those versions.
  10967. lt_cv_sys_dlopen_deplibs=unknown
  10968. ;;
  10969. aix[4-9]*)
  10970. lt_cv_sys_dlopen_deplibs=yes
  10971. ;;
  10972. amigaos*)
  10973. case $host_cpu in
  10974. powerpc)
  10975. lt_cv_sys_dlopen_deplibs=no
  10976. ;;
  10977. esac
  10978. ;;
  10979. bitrig*)
  10980. lt_cv_sys_dlopen_deplibs=yes
  10981. ;;
  10982. darwin*)
  10983. # Assuming the user has installed a libdl from somewhere, this is true
  10984. # If you are looking for one http://www.opendarwin.org/projects/dlcompat
  10985. lt_cv_sys_dlopen_deplibs=yes
  10986. ;;
  10987. freebsd* | dragonfly*)
  10988. lt_cv_sys_dlopen_deplibs=yes
  10989. ;;
  10990. gnu* | linux* | k*bsd*-gnu | kopensolaris*-gnu)
  10991. # GNU and its variants, using gnu ld.so (Glibc)
  10992. lt_cv_sys_dlopen_deplibs=yes
  10993. ;;
  10994. hpux10*|hpux11*)
  10995. lt_cv_sys_dlopen_deplibs=yes
  10996. ;;
  10997. interix*)
  10998. lt_cv_sys_dlopen_deplibs=yes
  10999. ;;
  11000. irix[12345]*|irix6.[01]*)
  11001. # Catch all versions of IRIX before 6.2, and indicate that we don't
  11002. # know how it worked for any of those versions.
  11003. lt_cv_sys_dlopen_deplibs=unknown
  11004. ;;
  11005. irix*)
  11006. # The case above catches anything before 6.2, and it's known that
  11007. # at 6.2 and later dlopen does load deplibs.
  11008. lt_cv_sys_dlopen_deplibs=yes
  11009. ;;
  11010. netbsd*)
  11011. lt_cv_sys_dlopen_deplibs=yes
  11012. ;;
  11013. openbsd*)
  11014. lt_cv_sys_dlopen_deplibs=yes
  11015. ;;
  11016. osf[1234]*)
  11017. # dlopen did load deplibs (at least at 4.x), but until the 5.x series,
  11018. # it did *not* use an RPATH in a shared library to find objects the
  11019. # library depends on, so we explicitly say 'no'.
  11020. lt_cv_sys_dlopen_deplibs=no
  11021. ;;
  11022. osf5.0|osf5.0a|osf5.1)
  11023. # dlopen *does* load deplibs and with the right loader patch applied
  11024. # it even uses RPATH in a shared library to search for shared objects
  11025. # that the library depends on, but there's no easy way to know if that
  11026. # patch is installed. Since this is the case, all we can really
  11027. # say is unknown -- it depends on the patch being installed. If
  11028. # it is, this changes to 'yes'. Without it, it would be 'no'.
  11029. lt_cv_sys_dlopen_deplibs=unknown
  11030. ;;
  11031. osf*)
  11032. # the two cases above should catch all versions of osf <= 5.1. Read
  11033. # the comments above for what we know about them.
  11034. # At > 5.1, deplibs are loaded *and* any RPATH in a shared library
  11035. # is used to find them so we can finally say 'yes'.
  11036. lt_cv_sys_dlopen_deplibs=yes
  11037. ;;
  11038. qnx*)
  11039. lt_cv_sys_dlopen_deplibs=yes
  11040. ;;
  11041. solaris*)
  11042. lt_cv_sys_dlopen_deplibs=yes
  11043. ;;
  11044. sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  11045. libltdl_cv_sys_dlopen_deplibs=yes
  11046. ;;
  11047. esac
  11048. fi
  11049. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_dlopen_deplibs" >&5
  11050. $as_echo "$lt_cv_sys_dlopen_deplibs" >&6; }
  11051. if test yes != "$lt_cv_sys_dlopen_deplibs"; then
  11052. $as_echo "#define LTDL_DLOPEN_DEPLIBS 1" >>confdefs.h
  11053. fi
  11054. for ac_header in argz.h
  11055. do :
  11056. ac_fn_c_check_header_compile "$LINENO" "argz.h" "ac_cv_header_argz_h" "$ac_includes_default
  11057. "
  11058. if test "x$ac_cv_header_argz_h" = xyes; then :
  11059. cat >>confdefs.h <<_ACEOF
  11060. #define HAVE_ARGZ_H 1
  11061. _ACEOF
  11062. fi
  11063. done
  11064. ac_fn_c_check_type "$LINENO" "error_t" "ac_cv_type_error_t" "#if defined(HAVE_ARGZ_H)
  11065. # include <argz.h>
  11066. #endif
  11067. "
  11068. if test "x$ac_cv_type_error_t" = xyes; then :
  11069. cat >>confdefs.h <<_ACEOF
  11070. #define HAVE_ERROR_T 1
  11071. _ACEOF
  11072. else
  11073. $as_echo "#define error_t int" >>confdefs.h
  11074. $as_echo "#define __error_t_defined 1" >>confdefs.h
  11075. fi
  11076. LT_ARGZ_H=
  11077. for ac_func in argz_add argz_append argz_count argz_create_sep argz_insert \
  11078. argz_next argz_stringify
  11079. do :
  11080. as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  11081. ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
  11082. if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
  11083. cat >>confdefs.h <<_ACEOF
  11084. #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
  11085. _ACEOF
  11086. else
  11087. LT_ARGZ_H=lt__argz.h; case " $LIBOBJS " in
  11088. *" lt__argz.$ac_objext "* ) ;;
  11089. *) LIBOBJS="$LIBOBJS lt__argz.$ac_objext"
  11090. ;;
  11091. esac
  11092. fi
  11093. done
  11094. if test -z "$LT_ARGZ_H"; then :
  11095. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if argz actually works" >&5
  11096. $as_echo_n "checking if argz actually works... " >&6; }
  11097. if ${lt_cv_sys_argz_works+:} false; then :
  11098. $as_echo_n "(cached) " >&6
  11099. else
  11100. case $host_os in #(
  11101. *cygwin*)
  11102. lt_cv_sys_argz_works=no
  11103. if test no != "$cross_compiling"; then
  11104. lt_cv_sys_argz_works="guessing no"
  11105. else
  11106. lt_sed_extract_leading_digits='s/^\([0-9\.]*\).*/\1/'
  11107. save_IFS=$IFS
  11108. IFS=-.
  11109. set x `uname -r | sed -e "$lt_sed_extract_leading_digits"`
  11110. IFS=$save_IFS
  11111. lt_os_major=${2-0}
  11112. lt_os_minor=${3-0}
  11113. lt_os_micro=${4-0}
  11114. if test 1 -lt "$lt_os_major" \
  11115. || { test 1 -eq "$lt_os_major" \
  11116. && { test 5 -lt "$lt_os_minor" \
  11117. || { test 5 -eq "$lt_os_minor" \
  11118. && test 24 -lt "$lt_os_micro"; }; }; }; then
  11119. lt_cv_sys_argz_works=yes
  11120. fi
  11121. fi
  11122. ;; #(
  11123. *) lt_cv_sys_argz_works=yes ;;
  11124. esac
  11125. fi
  11126. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_argz_works" >&5
  11127. $as_echo "$lt_cv_sys_argz_works" >&6; }
  11128. if test yes = "$lt_cv_sys_argz_works"; then :
  11129. $as_echo "#define HAVE_WORKING_ARGZ 1" >>confdefs.h
  11130. else
  11131. LT_ARGZ_H=lt__argz.h
  11132. case " $LIBOBJS " in
  11133. *" lt__argz.$ac_objext "* ) ;;
  11134. *) LIBOBJS="$LIBOBJS lt__argz.$ac_objext"
  11135. ;;
  11136. esac
  11137. fi
  11138. fi
  11139. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libtool supports -dlopen/-dlpreopen" >&5
  11140. $as_echo_n "checking whether libtool supports -dlopen/-dlpreopen... " >&6; }
  11141. if ${libltdl_cv_preloaded_symbols+:} false; then :
  11142. $as_echo_n "(cached) " >&6
  11143. else
  11144. if test -n "$lt_cv_sys_global_symbol_pipe"; then
  11145. libltdl_cv_preloaded_symbols=yes
  11146. else
  11147. libltdl_cv_preloaded_symbols=no
  11148. fi
  11149. fi
  11150. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_preloaded_symbols" >&5
  11151. $as_echo "$libltdl_cv_preloaded_symbols" >&6; }
  11152. if test yes = "$libltdl_cv_preloaded_symbols"; then
  11153. $as_echo "#define HAVE_PRELOADED_SYMBOLS 1" >>confdefs.h
  11154. fi
  11155. # Check whether --enable-ltdl-install was given.
  11156. if test "${enable_ltdl_install+set}" = set; then :
  11157. enableval=$enable_ltdl_install;
  11158. fi
  11159. case ,$enable_ltdl_install,$enable_ltdl_convenience in
  11160. *yes*) ;;
  11161. *) enable_ltdl_convenience=yes ;;
  11162. esac
  11163. if test no != "${enable_ltdl_install-no}"; then
  11164. INSTALL_LTDL_TRUE=
  11165. INSTALL_LTDL_FALSE='#'
  11166. else
  11167. INSTALL_LTDL_TRUE='#'
  11168. INSTALL_LTDL_FALSE=
  11169. fi
  11170. if test no != "${enable_ltdl_convenience-no}"; then
  11171. CONVENIENCE_LTDL_TRUE=
  11172. CONVENIENCE_LTDL_FALSE='#'
  11173. else
  11174. CONVENIENCE_LTDL_TRUE='#'
  11175. CONVENIENCE_LTDL_FALSE=
  11176. fi
  11177. # In order that ltdl.c can compile, find out the first AC_CONFIG_HEADERS
  11178. # the user used. This is so that ltdl.h can pick up the parent projects
  11179. # config.h file, The first file in AC_CONFIG_HEADERS must contain the
  11180. # definitions required by ltdl.c.
  11181. # FIXME: Remove use of undocumented AC_LIST_HEADERS (2.59 compatibility).
  11182. for ac_header in unistd.h dl.h sys/dl.h dld.h mach-o/dyld.h dirent.h
  11183. do :
  11184. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  11185. ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
  11186. "
  11187. if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
  11188. cat >>confdefs.h <<_ACEOF
  11189. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  11190. _ACEOF
  11191. fi
  11192. done
  11193. for ac_func in closedir opendir readdir
  11194. do :
  11195. as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  11196. ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
  11197. if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
  11198. cat >>confdefs.h <<_ACEOF
  11199. #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
  11200. _ACEOF
  11201. else
  11202. case " $LIBOBJS " in
  11203. *" lt__dirent.$ac_objext "* ) ;;
  11204. *) LIBOBJS="$LIBOBJS lt__dirent.$ac_objext"
  11205. ;;
  11206. esac
  11207. fi
  11208. done
  11209. for ac_func in strlcat strlcpy
  11210. do :
  11211. as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  11212. ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
  11213. if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
  11214. cat >>confdefs.h <<_ACEOF
  11215. #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
  11216. _ACEOF
  11217. else
  11218. case " $LIBOBJS " in
  11219. *" lt__strl.$ac_objext "* ) ;;
  11220. *) LIBOBJS="$LIBOBJS lt__strl.$ac_objext"
  11221. ;;
  11222. esac
  11223. fi
  11224. done
  11225. cat >>confdefs.h <<_ACEOF
  11226. #define LT_LIBEXT "$libext"
  11227. _ACEOF
  11228. name=
  11229. eval "lt_libprefix=\"$libname_spec\""
  11230. cat >>confdefs.h <<_ACEOF
  11231. #define LT_LIBPREFIX "$lt_libprefix"
  11232. _ACEOF
  11233. name=ltdl
  11234. eval "LTDLOPEN=\"$libname_spec\""
  11235. ## -------- ##
  11236. ## Outputs. ##
  11237. ## -------- ##
  11238. ac_config_files="$ac_config_files Makefile"
  11239. cat >confcache <<\_ACEOF
  11240. # This file is a shell script that caches the results of configure
  11241. # tests run on this system so they can be shared between configure
  11242. # scripts and configure runs, see configure's option --config-cache.
  11243. # It is not useful on other systems. If it contains results you don't
  11244. # want to keep, you may remove or edit it.
  11245. #
  11246. # config.status only pays attention to the cache file if you give it
  11247. # the --recheck option to rerun configure.
  11248. #
  11249. # `ac_cv_env_foo' variables (set or unset) will be overridden when
  11250. # loading this file, other *unset* `ac_cv_foo' will be assigned the
  11251. # following values.
  11252. _ACEOF
  11253. # The following way of writing the cache mishandles newlines in values,
  11254. # but we know of no workaround that is simple, portable, and efficient.
  11255. # So, we kill variables containing newlines.
  11256. # Ultrix sh set writes to stderr and can't be redirected directly,
  11257. # and sets the high bit in the cache file unless we assign to the vars.
  11258. (
  11259. for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
  11260. eval ac_val=\$$ac_var
  11261. case $ac_val in #(
  11262. *${as_nl}*)
  11263. case $ac_var in #(
  11264. *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  11265. $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  11266. esac
  11267. case $ac_var in #(
  11268. _ | IFS | as_nl) ;; #(
  11269. BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  11270. *) { eval $ac_var=; unset $ac_var;} ;;
  11271. esac ;;
  11272. esac
  11273. done
  11274. (set) 2>&1 |
  11275. case $as_nl`(ac_space=' '; set) 2>&1` in #(
  11276. *${as_nl}ac_space=\ *)
  11277. # `set' does not quote correctly, so add quotes: double-quote
  11278. # substitution turns \\\\ into \\, and sed turns \\ into \.
  11279. sed -n \
  11280. "s/'/'\\\\''/g;
  11281. s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
  11282. ;; #(
  11283. *)
  11284. # `set' quotes correctly as required by POSIX, so do not add quotes.
  11285. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  11286. ;;
  11287. esac |
  11288. sort
  11289. ) |
  11290. sed '
  11291. /^ac_cv_env_/b end
  11292. t clear
  11293. :clear
  11294. s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
  11295. t end
  11296. s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
  11297. :end' >>confcache
  11298. if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
  11299. if test -w "$cache_file"; then
  11300. if test "x$cache_file" != "x/dev/null"; then
  11301. { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
  11302. $as_echo "$as_me: updating cache $cache_file" >&6;}
  11303. if test ! -f "$cache_file" || test -h "$cache_file"; then
  11304. cat confcache >"$cache_file"
  11305. else
  11306. case $cache_file in #(
  11307. */* | ?:*)
  11308. mv -f confcache "$cache_file"$$ &&
  11309. mv -f "$cache_file"$$ "$cache_file" ;; #(
  11310. *)
  11311. mv -f confcache "$cache_file" ;;
  11312. esac
  11313. fi
  11314. fi
  11315. else
  11316. { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
  11317. $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
  11318. fi
  11319. fi
  11320. rm -f confcache
  11321. test "x$prefix" = xNONE && prefix=$ac_default_prefix
  11322. # Let make expand exec_prefix.
  11323. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
  11324. DEFS=-DHAVE_CONFIG_H
  11325. ac_libobjs=
  11326. ac_ltlibobjs=
  11327. U=
  11328. for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
  11329. # 1. Remove the extension, and $U if already installed.
  11330. ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
  11331. ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
  11332. # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
  11333. # will be set to the directory where LIBOBJS objects are built.
  11334. as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
  11335. as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
  11336. done
  11337. LIBOBJS=$ac_libobjs
  11338. LTLIBOBJS=$ac_ltlibobjs
  11339. if test -n "$EXEEXT"; then
  11340. am__EXEEXT_TRUE=
  11341. am__EXEEXT_FALSE='#'
  11342. else
  11343. am__EXEEXT_TRUE='#'
  11344. am__EXEEXT_FALSE=
  11345. fi
  11346. if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
  11347. as_fn_error $? "conditional \"AMDEP\" was never defined.
  11348. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  11349. fi
  11350. if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
  11351. as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
  11352. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  11353. fi
  11354. if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then
  11355. as_fn_error $? "conditional \"INSTALL_LTDL\" was never defined.
  11356. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  11357. fi
  11358. if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then
  11359. as_fn_error $? "conditional \"CONVENIENCE_LTDL\" was never defined.
  11360. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  11361. fi
  11362. LT_CONFIG_H=config.h
  11363. : "${CONFIG_STATUS=./config.status}"
  11364. ac_write_fail=0
  11365. ac_clean_files_save=$ac_clean_files
  11366. ac_clean_files="$ac_clean_files $CONFIG_STATUS"
  11367. { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
  11368. $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
  11369. as_write_fail=0
  11370. cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
  11371. #! $SHELL
  11372. # Generated by $as_me.
  11373. # Run this file to recreate the current configuration.
  11374. # Compiler output produced by configure, useful for debugging
  11375. # configure, is in config.log if it exists.
  11376. debug=false
  11377. ac_cs_recheck=false
  11378. ac_cs_silent=false
  11379. SHELL=\${CONFIG_SHELL-$SHELL}
  11380. export SHELL
  11381. _ASEOF
  11382. cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
  11383. ## -------------------- ##
  11384. ## M4sh Initialization. ##
  11385. ## -------------------- ##
  11386. # Be more Bourne compatible
  11387. DUALCASE=1; export DUALCASE # for MKS sh
  11388. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  11389. emulate sh
  11390. NULLCMD=:
  11391. # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  11392. # is contrary to our usage. Disable this feature.
  11393. alias -g '${1+"$@"}'='"$@"'
  11394. setopt NO_GLOB_SUBST
  11395. else
  11396. case `(set -o) 2>/dev/null` in #(
  11397. *posix*) :
  11398. set -o posix ;; #(
  11399. *) :
  11400. ;;
  11401. esac
  11402. fi
  11403. as_nl='
  11404. '
  11405. export as_nl
  11406. as_echo='printf %s\n'
  11407. as_echo_n='printf %s'
  11408. # The user is always right.
  11409. if test "${PATH_SEPARATOR+set}" != set; then
  11410. PATH_SEPARATOR=:
  11411. (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  11412. (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  11413. PATH_SEPARATOR=';'
  11414. }
  11415. fi
  11416. # IFS
  11417. # We need space, tab and new line, in precisely that order. Quoting is
  11418. # there to prevent editors from complaining about space-tab.
  11419. # (If _AS_PATH_WALK were called with IFS unset, it would disable word
  11420. # splitting by setting IFS to empty value.)
  11421. IFS=" "" $as_nl"
  11422. # Find who we are. Look in the path if we contain no directory separator.
  11423. as_myself=
  11424. case $0 in #((
  11425. *[\\/]* ) as_myself=$0 ;;
  11426. *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  11427. for as_dir in $PATH
  11428. do
  11429. IFS=$as_save_IFS
  11430. test -z "$as_dir" && as_dir=.
  11431. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  11432. done
  11433. IFS=$as_save_IFS
  11434. ;;
  11435. esac
  11436. # We did not find ourselves, most probably we were run as `sh COMMAND'
  11437. # in which case we are not to be found in the path.
  11438. if test "x$as_myself" = x; then
  11439. as_myself=$0
  11440. fi
  11441. if test ! -f "$as_myself"; then
  11442. $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  11443. exit 1
  11444. fi
  11445. # Unset variables that we do not need and which cause bugs (e.g. in
  11446. # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
  11447. # suppresses any "Segmentation fault" message there. '((' could
  11448. # trigger a bug in pdksh 5.2.14.
  11449. for as_var in BASH_ENV ENV MAIL MAILPATH
  11450. do eval test x\${$as_var+set} = xset \
  11451. && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  11452. done
  11453. PS1='$ '
  11454. PS2='> '
  11455. PS4='+ '
  11456. # NLS nuisances.
  11457. LC_ALL=C
  11458. export LC_ALL
  11459. LANGUAGE=C
  11460. export LANGUAGE
  11461. # CDPATH.
  11462. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  11463. # as_fn_error STATUS ERROR [LINENO LOG_FD]
  11464. # ----------------------------------------
  11465. # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  11466. # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  11467. # script with STATUS, using 1 if that was 0.
  11468. as_fn_error ()
  11469. {
  11470. as_status=$1; test $as_status -eq 0 && as_status=1
  11471. if test "$4"; then
  11472. as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  11473. $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
  11474. fi
  11475. $as_echo "$as_me: error: $2" >&2
  11476. as_fn_exit $as_status
  11477. } # as_fn_error
  11478. # as_fn_set_status STATUS
  11479. # -----------------------
  11480. # Set $? to STATUS, without forking.
  11481. as_fn_set_status ()
  11482. {
  11483. return $1
  11484. } # as_fn_set_status
  11485. # as_fn_exit STATUS
  11486. # -----------------
  11487. # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  11488. as_fn_exit ()
  11489. {
  11490. set +e
  11491. as_fn_set_status $1
  11492. exit $1
  11493. } # as_fn_exit
  11494. # as_fn_unset VAR
  11495. # ---------------
  11496. # Portably unset VAR.
  11497. as_fn_unset ()
  11498. {
  11499. { eval $1=; unset $1;}
  11500. }
  11501. as_unset=as_fn_unset
  11502. # as_fn_append VAR VALUE
  11503. # ----------------------
  11504. # Append the text in VALUE to the end of the definition contained in VAR. Take
  11505. # advantage of any shell optimizations that allow amortized linear growth over
  11506. # repeated appends, instead of the typical quadratic growth present in naive
  11507. # implementations.
  11508. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  11509. eval 'as_fn_append ()
  11510. {
  11511. eval $1+=\$2
  11512. }'
  11513. else
  11514. as_fn_append ()
  11515. {
  11516. eval $1=\$$1\$2
  11517. }
  11518. fi # as_fn_append
  11519. # as_fn_arith ARG...
  11520. # ------------------
  11521. # Perform arithmetic evaluation on the ARGs, and store the result in the
  11522. # global $as_val. Take advantage of shells that can avoid forks. The arguments
  11523. # must be portable across $(()) and expr.
  11524. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  11525. eval 'as_fn_arith ()
  11526. {
  11527. as_val=$(( $* ))
  11528. }'
  11529. else
  11530. as_fn_arith ()
  11531. {
  11532. as_val=`expr "$@" || test $? -eq 1`
  11533. }
  11534. fi # as_fn_arith
  11535. if expr a : '\(a\)' >/dev/null 2>&1 &&
  11536. test "X`expr 00001 : '.*\(...\)'`" = X001; then
  11537. as_expr=expr
  11538. else
  11539. as_expr=false
  11540. fi
  11541. if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  11542. as_basename=basename
  11543. else
  11544. as_basename=false
  11545. fi
  11546. if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  11547. as_dirname=dirname
  11548. else
  11549. as_dirname=false
  11550. fi
  11551. as_me=`$as_basename -- "$0" ||
  11552. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  11553. X"$0" : 'X\(//\)$' \| \
  11554. X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  11555. $as_echo X/"$0" |
  11556. sed '/^.*\/\([^/][^/]*\)\/*$/{
  11557. s//\1/
  11558. q
  11559. }
  11560. /^X\/\(\/\/\)$/{
  11561. s//\1/
  11562. q
  11563. }
  11564. /^X\/\(\/\).*/{
  11565. s//\1/
  11566. q
  11567. }
  11568. s/.*/./; q'`
  11569. # Avoid depending upon Character Ranges.
  11570. as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  11571. as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  11572. as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  11573. as_cr_digits='0123456789'
  11574. as_cr_alnum=$as_cr_Letters$as_cr_digits
  11575. ECHO_C= ECHO_N= ECHO_T=
  11576. case `echo -n x` in #(((((
  11577. -n*)
  11578. case `echo 'xy\c'` in
  11579. *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  11580. xy) ECHO_C='\c';;
  11581. *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
  11582. ECHO_T=' ';;
  11583. esac;;
  11584. *)
  11585. ECHO_N='-n';;
  11586. esac
  11587. rm -f conf$$ conf$$.exe conf$$.file
  11588. if test -d conf$$.dir; then
  11589. rm -f conf$$.dir/conf$$.file
  11590. else
  11591. rm -f conf$$.dir
  11592. mkdir conf$$.dir 2>/dev/null
  11593. fi
  11594. if (echo >conf$$.file) 2>/dev/null; then
  11595. if ln -s conf$$.file conf$$ 2>/dev/null; then
  11596. as_ln_s='ln -s'
  11597. # ... but there are two gotchas:
  11598. # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  11599. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  11600. # In both cases, we have to default to `cp -pR'.
  11601. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  11602. as_ln_s='cp -pR'
  11603. elif ln conf$$.file conf$$ 2>/dev/null; then
  11604. as_ln_s=ln
  11605. else
  11606. as_ln_s='cp -pR'
  11607. fi
  11608. else
  11609. as_ln_s='cp -pR'
  11610. fi
  11611. rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  11612. rmdir conf$$.dir 2>/dev/null
  11613. # as_fn_mkdir_p
  11614. # -------------
  11615. # Create "$as_dir" as a directory, including parents if necessary.
  11616. as_fn_mkdir_p ()
  11617. {
  11618. case $as_dir in #(
  11619. -*) as_dir=./$as_dir;;
  11620. esac
  11621. test -d "$as_dir" || eval $as_mkdir_p || {
  11622. as_dirs=
  11623. while :; do
  11624. case $as_dir in #(
  11625. *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  11626. *) as_qdir=$as_dir;;
  11627. esac
  11628. as_dirs="'$as_qdir' $as_dirs"
  11629. as_dir=`$as_dirname -- "$as_dir" ||
  11630. $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  11631. X"$as_dir" : 'X\(//\)[^/]' \| \
  11632. X"$as_dir" : 'X\(//\)$' \| \
  11633. X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  11634. $as_echo X"$as_dir" |
  11635. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  11636. s//\1/
  11637. q
  11638. }
  11639. /^X\(\/\/\)[^/].*/{
  11640. s//\1/
  11641. q
  11642. }
  11643. /^X\(\/\/\)$/{
  11644. s//\1/
  11645. q
  11646. }
  11647. /^X\(\/\).*/{
  11648. s//\1/
  11649. q
  11650. }
  11651. s/.*/./; q'`
  11652. test -d "$as_dir" && break
  11653. done
  11654. test -z "$as_dirs" || eval "mkdir $as_dirs"
  11655. } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
  11656. } # as_fn_mkdir_p
  11657. if mkdir -p . 2>/dev/null; then
  11658. as_mkdir_p='mkdir -p "$as_dir"'
  11659. else
  11660. test -d ./-p && rmdir ./-p
  11661. as_mkdir_p=false
  11662. fi
  11663. # as_fn_executable_p FILE
  11664. # -----------------------
  11665. # Test if FILE is an executable regular file.
  11666. as_fn_executable_p ()
  11667. {
  11668. test -f "$1" && test -x "$1"
  11669. } # as_fn_executable_p
  11670. as_test_x='test -x'
  11671. as_executable_p=as_fn_executable_p
  11672. # Sed expression to map a string onto a valid CPP name.
  11673. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  11674. # Sed expression to map a string onto a valid variable name.
  11675. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  11676. exec 6>&1
  11677. ## ----------------------------------- ##
  11678. ## Main body of $CONFIG_STATUS script. ##
  11679. ## ----------------------------------- ##
  11680. _ASEOF
  11681. test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
  11682. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  11683. # Save the log message, to keep $0 and so on meaningful, and to
  11684. # report actual input values of CONFIG_FILES etc. instead of their
  11685. # values after options handling.
  11686. ac_log="
  11687. This file was extended by libltdl $as_me 2.4.3a, which was
  11688. generated by GNU Autoconf 2.69. Invocation command line was
  11689. CONFIG_FILES = $CONFIG_FILES
  11690. CONFIG_HEADERS = $CONFIG_HEADERS
  11691. CONFIG_LINKS = $CONFIG_LINKS
  11692. CONFIG_COMMANDS = $CONFIG_COMMANDS
  11693. $ $0 $@
  11694. on `(hostname || uname -n) 2>/dev/null | sed 1q`
  11695. "
  11696. _ACEOF
  11697. case $ac_config_files in *"
  11698. "*) set x $ac_config_files; shift; ac_config_files=$*;;
  11699. esac
  11700. case $ac_config_headers in *"
  11701. "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
  11702. esac
  11703. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  11704. # Files that config.status was made for.
  11705. config_files="$ac_config_files"
  11706. config_headers="$ac_config_headers"
  11707. config_commands="$ac_config_commands"
  11708. _ACEOF
  11709. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  11710. ac_cs_usage="\
  11711. \`$as_me' instantiates files and other configuration actions
  11712. from templates according to the current configuration. Unless the files
  11713. and actions are specified as TAGs, all are instantiated by default.
  11714. Usage: $0 [OPTION]... [TAG]...
  11715. -h, --help print this help, then exit
  11716. -V, --version print version number and configuration settings, then exit
  11717. --config print configuration, then exit
  11718. -q, --quiet, --silent
  11719. do not print progress messages
  11720. -d, --debug don't remove temporary files
  11721. --recheck update $as_me by reconfiguring in the same conditions
  11722. --file=FILE[:TEMPLATE]
  11723. instantiate the configuration file FILE
  11724. --header=FILE[:TEMPLATE]
  11725. instantiate the configuration header FILE
  11726. Configuration files:
  11727. $config_files
  11728. Configuration headers:
  11729. $config_headers
  11730. Configuration commands:
  11731. $config_commands
  11732. Report bugs to <bug-libtool@gnu.org>."
  11733. _ACEOF
  11734. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  11735. ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
  11736. ac_cs_version="\\
  11737. libltdl config.status 2.4.3a
  11738. configured by $0, generated by GNU Autoconf 2.69,
  11739. with options \\"\$ac_cs_config\\"
  11740. Copyright (C) 2012 Free Software Foundation, Inc.
  11741. This config.status script is free software; the Free Software Foundation
  11742. gives unlimited permission to copy, distribute and modify it."
  11743. ac_pwd='$ac_pwd'
  11744. srcdir='$srcdir'
  11745. INSTALL='$INSTALL'
  11746. MKDIR_P='$MKDIR_P'
  11747. AWK='$AWK'
  11748. test -n "\$AWK" || AWK=awk
  11749. _ACEOF
  11750. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  11751. # The default lists apply if the user does not specify any file.
  11752. ac_need_defaults=:
  11753. while test $# != 0
  11754. do
  11755. case $1 in
  11756. --*=?*)
  11757. ac_option=`expr "X$1" : 'X\([^=]*\)='`
  11758. ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
  11759. ac_shift=:
  11760. ;;
  11761. --*=)
  11762. ac_option=`expr "X$1" : 'X\([^=]*\)='`
  11763. ac_optarg=
  11764. ac_shift=:
  11765. ;;
  11766. *)
  11767. ac_option=$1
  11768. ac_optarg=$2
  11769. ac_shift=shift
  11770. ;;
  11771. esac
  11772. case $ac_option in
  11773. # Handling of the options.
  11774. -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  11775. ac_cs_recheck=: ;;
  11776. --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
  11777. $as_echo "$ac_cs_version"; exit ;;
  11778. --config | --confi | --conf | --con | --co | --c )
  11779. $as_echo "$ac_cs_config"; exit ;;
  11780. --debug | --debu | --deb | --de | --d | -d )
  11781. debug=: ;;
  11782. --file | --fil | --fi | --f )
  11783. $ac_shift
  11784. case $ac_optarg in
  11785. *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  11786. '') as_fn_error $? "missing file argument" ;;
  11787. esac
  11788. as_fn_append CONFIG_FILES " '$ac_optarg'"
  11789. ac_need_defaults=false;;
  11790. --header | --heade | --head | --hea )
  11791. $ac_shift
  11792. case $ac_optarg in
  11793. *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  11794. esac
  11795. as_fn_append CONFIG_HEADERS " '$ac_optarg'"
  11796. ac_need_defaults=false;;
  11797. --he | --h)
  11798. # Conflict between --help and --header
  11799. as_fn_error $? "ambiguous option: \`$1'
  11800. Try \`$0 --help' for more information.";;
  11801. --help | --hel | -h )
  11802. $as_echo "$ac_cs_usage"; exit ;;
  11803. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  11804. | -silent | --silent | --silen | --sile | --sil | --si | --s)
  11805. ac_cs_silent=: ;;
  11806. # This is an error.
  11807. -*) as_fn_error $? "unrecognized option: \`$1'
  11808. Try \`$0 --help' for more information." ;;
  11809. *) as_fn_append ac_config_targets " $1"
  11810. ac_need_defaults=false ;;
  11811. esac
  11812. shift
  11813. done
  11814. ac_configure_extra_args=
  11815. if $ac_cs_silent; then
  11816. exec 6>/dev/null
  11817. ac_configure_extra_args="$ac_configure_extra_args --silent"
  11818. fi
  11819. _ACEOF
  11820. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  11821. if \$ac_cs_recheck; then
  11822. set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
  11823. shift
  11824. \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
  11825. CONFIG_SHELL='$SHELL'
  11826. export CONFIG_SHELL
  11827. exec "\$@"
  11828. fi
  11829. _ACEOF
  11830. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  11831. exec 5>>config.log
  11832. {
  11833. echo
  11834. sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
  11835. ## Running $as_me. ##
  11836. _ASBOX
  11837. $as_echo "$ac_log"
  11838. } >&5
  11839. _ACEOF
  11840. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  11841. #
  11842. # INIT-COMMANDS
  11843. #
  11844. AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
  11845. # The HP-UX ksh and POSIX shell print the target directory to stdout
  11846. # if CDPATH is set.
  11847. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  11848. sed_quote_subst='$sed_quote_subst'
  11849. double_quote_subst='$double_quote_subst'
  11850. delay_variable_subst='$delay_variable_subst'
  11851. macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
  11852. macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
  11853. AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
  11854. DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
  11855. OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
  11856. enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
  11857. enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
  11858. pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
  11859. enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
  11860. shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
  11861. SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
  11862. ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
  11863. PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
  11864. host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
  11865. host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
  11866. host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
  11867. build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
  11868. build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
  11869. build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
  11870. SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
  11871. Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
  11872. GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
  11873. EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
  11874. FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
  11875. LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
  11876. NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
  11877. LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
  11878. max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
  11879. ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
  11880. exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
  11881. lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
  11882. lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
  11883. lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
  11884. lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
  11885. lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
  11886. reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
  11887. reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
  11888. deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
  11889. file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
  11890. file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
  11891. want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
  11892. sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
  11893. AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
  11894. AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
  11895. archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
  11896. STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
  11897. RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
  11898. old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
  11899. old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
  11900. old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
  11901. lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
  11902. CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
  11903. CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
  11904. compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
  11905. GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
  11906. lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
  11907. lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
  11908. lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
  11909. lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
  11910. 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"`'
  11911. lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
  11912. nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
  11913. lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
  11914. lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
  11915. objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
  11916. MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
  11917. lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
  11918. lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
  11919. lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
  11920. lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
  11921. lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
  11922. need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
  11923. MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
  11924. DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
  11925. NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
  11926. LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
  11927. OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
  11928. OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
  11929. libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
  11930. shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
  11931. extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
  11932. archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
  11933. enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
  11934. export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
  11935. whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
  11936. compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
  11937. old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
  11938. old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
  11939. archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
  11940. archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
  11941. module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
  11942. module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
  11943. with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
  11944. allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
  11945. no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
  11946. hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
  11947. hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
  11948. hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
  11949. hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
  11950. hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
  11951. hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
  11952. hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
  11953. inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
  11954. link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
  11955. always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
  11956. export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
  11957. exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
  11958. include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
  11959. prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
  11960. postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
  11961. file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
  11962. variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
  11963. need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
  11964. need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
  11965. version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
  11966. runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
  11967. shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
  11968. shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
  11969. libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
  11970. library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
  11971. soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
  11972. install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
  11973. postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
  11974. postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
  11975. finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
  11976. finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
  11977. hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
  11978. sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
  11979. configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
  11980. configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
  11981. hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
  11982. enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
  11983. enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
  11984. enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
  11985. old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
  11986. striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
  11987. LTCC='$LTCC'
  11988. LTCFLAGS='$LTCFLAGS'
  11989. compiler='$compiler_DEFAULT'
  11990. # A function that is used when there is no print builtin or printf.
  11991. func_fallback_echo ()
  11992. {
  11993. eval 'cat <<_LTECHO_EOF
  11994. \$1
  11995. _LTECHO_EOF'
  11996. }
  11997. # Quote evaled strings.
  11998. for var in AS \
  11999. DLLTOOL \
  12000. OBJDUMP \
  12001. SHELL \
  12002. ECHO \
  12003. PATH_SEPARATOR \
  12004. SED \
  12005. GREP \
  12006. EGREP \
  12007. FGREP \
  12008. LD \
  12009. NM \
  12010. LN_S \
  12011. lt_SP2NL \
  12012. lt_NL2SP \
  12013. reload_flag \
  12014. deplibs_check_method \
  12015. file_magic_cmd \
  12016. file_magic_glob \
  12017. want_nocaseglob \
  12018. sharedlib_from_linklib_cmd \
  12019. AR \
  12020. AR_FLAGS \
  12021. archiver_list_spec \
  12022. STRIP \
  12023. RANLIB \
  12024. CC \
  12025. CFLAGS \
  12026. compiler \
  12027. lt_cv_sys_global_symbol_pipe \
  12028. lt_cv_sys_global_symbol_to_cdecl \
  12029. lt_cv_sys_global_symbol_to_import \
  12030. lt_cv_sys_global_symbol_to_c_name_address \
  12031. lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
  12032. lt_cv_nm_interface \
  12033. nm_file_list_spec \
  12034. lt_cv_truncate_bin \
  12035. lt_prog_compiler_no_builtin_flag \
  12036. lt_prog_compiler_pic \
  12037. lt_prog_compiler_wl \
  12038. lt_prog_compiler_static \
  12039. lt_cv_prog_compiler_c_o \
  12040. need_locks \
  12041. MANIFEST_TOOL \
  12042. DSYMUTIL \
  12043. NMEDIT \
  12044. LIPO \
  12045. OTOOL \
  12046. OTOOL64 \
  12047. shrext_cmds \
  12048. export_dynamic_flag_spec \
  12049. whole_archive_flag_spec \
  12050. compiler_needs_object \
  12051. with_gnu_ld \
  12052. allow_undefined_flag \
  12053. no_undefined_flag \
  12054. hardcode_libdir_flag_spec \
  12055. hardcode_libdir_separator \
  12056. exclude_expsyms \
  12057. include_expsyms \
  12058. file_list_spec \
  12059. variables_saved_for_relink \
  12060. libname_spec \
  12061. library_names_spec \
  12062. soname_spec \
  12063. install_override_mode \
  12064. finish_eval \
  12065. old_striplib \
  12066. striplib; do
  12067. case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
  12068. *[\\\\\\\`\\"\\\$]*)
  12069. eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
  12070. ;;
  12071. *)
  12072. eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
  12073. ;;
  12074. esac
  12075. done
  12076. # Double-quote double-evaled strings.
  12077. for var in reload_cmds \
  12078. old_postinstall_cmds \
  12079. old_postuninstall_cmds \
  12080. old_archive_cmds \
  12081. extract_expsyms_cmds \
  12082. old_archive_from_new_cmds \
  12083. old_archive_from_expsyms_cmds \
  12084. archive_cmds \
  12085. archive_expsym_cmds \
  12086. module_cmds \
  12087. module_expsym_cmds \
  12088. export_symbols_cmds \
  12089. prelink_cmds \
  12090. postlink_cmds \
  12091. postinstall_cmds \
  12092. postuninstall_cmds \
  12093. finish_cmds \
  12094. sys_lib_search_path_spec \
  12095. configure_time_dlsearch_path \
  12096. configure_time_lt_sys_library_path; do
  12097. case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
  12098. *[\\\\\\\`\\"\\\$]*)
  12099. eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
  12100. ;;
  12101. *)
  12102. eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
  12103. ;;
  12104. esac
  12105. done
  12106. ac_aux_dir='$ac_aux_dir'
  12107. # See if we are running on zsh, and set the options that allow our
  12108. # commands through without removal of \ escapes INIT.
  12109. if test -n "\${ZSH_VERSION+set}"; then
  12110. setopt NO_GLOB_SUBST
  12111. fi
  12112. PACKAGE='$PACKAGE'
  12113. VERSION='$VERSION'
  12114. RM='$RM'
  12115. ofile='$ofile'
  12116. _ACEOF
  12117. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  12118. # Handling of arguments.
  12119. for ac_config_target in $ac_config_targets
  12120. do
  12121. case $ac_config_target in
  12122. "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config-h.in" ;;
  12123. "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
  12124. "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
  12125. "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
  12126. *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
  12127. esac
  12128. done
  12129. # If the user did not use the arguments to specify the items to instantiate,
  12130. # then the envvar interface is used. Set only those that are not.
  12131. # We use the long form for the default assignment because of an extremely
  12132. # bizarre bug on SunOS 4.1.3.
  12133. if $ac_need_defaults; then
  12134. test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
  12135. test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
  12136. test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
  12137. fi
  12138. # Have a temporary directory for convenience. Make it in the build tree
  12139. # simply because there is no reason against having it here, and in addition,
  12140. # creating and moving files from /tmp can sometimes cause problems.
  12141. # Hook for its removal unless debugging.
  12142. # Note that there is a small window in which the directory will not be cleaned:
  12143. # after its creation but before its name has been assigned to `$tmp'.
  12144. $debug ||
  12145. {
  12146. tmp= ac_tmp=
  12147. trap 'exit_status=$?
  12148. : "${ac_tmp:=$tmp}"
  12149. { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
  12150. ' 0
  12151. trap 'as_fn_exit 1' 1 2 13 15
  12152. }
  12153. # Create a (secure) tmp directory for tmp files.
  12154. {
  12155. tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
  12156. test -d "$tmp"
  12157. } ||
  12158. {
  12159. tmp=./conf$$-$RANDOM
  12160. (umask 077 && mkdir "$tmp")
  12161. } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
  12162. ac_tmp=$tmp
  12163. # Set up the scripts for CONFIG_FILES section.
  12164. # No need to generate them if there are no CONFIG_FILES.
  12165. # This happens for instance with `./config.status config.h'.
  12166. if test -n "$CONFIG_FILES"; then
  12167. ac_cr=`echo X | tr X '\015'`
  12168. # On cygwin, bash can eat \r inside `` if the user requested igncr.
  12169. # But we know of no other shell where ac_cr would be empty at this
  12170. # point, so we can use a bashism as a fallback.
  12171. if test "x$ac_cr" = x; then
  12172. eval ac_cr=\$\'\\r\'
  12173. fi
  12174. ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
  12175. if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
  12176. ac_cs_awk_cr='\\r'
  12177. else
  12178. ac_cs_awk_cr=$ac_cr
  12179. fi
  12180. echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
  12181. _ACEOF
  12182. {
  12183. echo "cat >conf$$subs.awk <<_ACEOF" &&
  12184. echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
  12185. echo "_ACEOF"
  12186. } >conf$$subs.sh ||
  12187. as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  12188. ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
  12189. ac_delim='%!_!# '
  12190. for ac_last_try in false false false false false :; do
  12191. . ./conf$$subs.sh ||
  12192. as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  12193. ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
  12194. if test $ac_delim_n = $ac_delim_num; then
  12195. break
  12196. elif $ac_last_try; then
  12197. as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  12198. else
  12199. ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  12200. fi
  12201. done
  12202. rm -f conf$$subs.sh
  12203. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  12204. cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
  12205. _ACEOF
  12206. sed -n '
  12207. h
  12208. s/^/S["/; s/!.*/"]=/
  12209. p
  12210. g
  12211. s/^[^!]*!//
  12212. :repl
  12213. t repl
  12214. s/'"$ac_delim"'$//
  12215. t delim
  12216. :nl
  12217. h
  12218. s/\(.\{148\}\)..*/\1/
  12219. t more1
  12220. s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
  12221. p
  12222. n
  12223. b repl
  12224. :more1
  12225. s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  12226. p
  12227. g
  12228. s/.\{148\}//
  12229. t nl
  12230. :delim
  12231. h
  12232. s/\(.\{148\}\)..*/\1/
  12233. t more2
  12234. s/["\\]/\\&/g; s/^/"/; s/$/"/
  12235. p
  12236. b
  12237. :more2
  12238. s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  12239. p
  12240. g
  12241. s/.\{148\}//
  12242. t delim
  12243. ' <conf$$subs.awk | sed '
  12244. /^[^""]/{
  12245. N
  12246. s/\n//
  12247. }
  12248. ' >>$CONFIG_STATUS || ac_write_fail=1
  12249. rm -f conf$$subs.awk
  12250. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  12251. _ACAWK
  12252. cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
  12253. for (key in S) S_is_set[key] = 1
  12254. FS = ""
  12255. }
  12256. {
  12257. line = $ 0
  12258. nfields = split(line, field, "@")
  12259. substed = 0
  12260. len = length(field[1])
  12261. for (i = 2; i < nfields; i++) {
  12262. key = field[i]
  12263. keylen = length(key)
  12264. if (S_is_set[key]) {
  12265. value = S[key]
  12266. line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
  12267. len += length(value) + length(field[++i])
  12268. substed = 1
  12269. } else
  12270. len += 1 + keylen
  12271. }
  12272. print line
  12273. }
  12274. _ACAWK
  12275. _ACEOF
  12276. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  12277. if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
  12278. sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
  12279. else
  12280. cat
  12281. fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
  12282. || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
  12283. _ACEOF
  12284. # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
  12285. # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
  12286. # trailing colons and then remove the whole line if VPATH becomes empty
  12287. # (actually we leave an empty line to preserve line numbers).
  12288. if test "x$srcdir" = x.; then
  12289. ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
  12290. h
  12291. s///
  12292. s/^/:/
  12293. s/[ ]*$/:/
  12294. s/:\$(srcdir):/:/g
  12295. s/:\${srcdir}:/:/g
  12296. s/:@srcdir@:/:/g
  12297. s/^:*//
  12298. s/:*$//
  12299. x
  12300. s/\(=[ ]*\).*/\1/
  12301. G
  12302. s/\n//
  12303. s/^[^=]*=[ ]*$//
  12304. }'
  12305. fi
  12306. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  12307. fi # test -n "$CONFIG_FILES"
  12308. # Set up the scripts for CONFIG_HEADERS section.
  12309. # No need to generate them if there are no CONFIG_HEADERS.
  12310. # This happens for instance with `./config.status Makefile'.
  12311. if test -n "$CONFIG_HEADERS"; then
  12312. cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
  12313. BEGIN {
  12314. _ACEOF
  12315. # Transform confdefs.h into an awk script `defines.awk', embedded as
  12316. # here-document in config.status, that substitutes the proper values into
  12317. # config.h.in to produce config.h.
  12318. # Create a delimiter string that does not exist in confdefs.h, to ease
  12319. # handling of long lines.
  12320. ac_delim='%!_!# '
  12321. for ac_last_try in false false :; do
  12322. ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
  12323. if test -z "$ac_tt"; then
  12324. break
  12325. elif $ac_last_try; then
  12326. as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
  12327. else
  12328. ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  12329. fi
  12330. done
  12331. # For the awk script, D is an array of macro values keyed by name,
  12332. # likewise P contains macro parameters if any. Preserve backslash
  12333. # newline sequences.
  12334. ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
  12335. sed -n '
  12336. s/.\{148\}/&'"$ac_delim"'/g
  12337. t rset
  12338. :rset
  12339. s/^[ ]*#[ ]*define[ ][ ]*/ /
  12340. t def
  12341. d
  12342. :def
  12343. s/\\$//
  12344. t bsnl
  12345. s/["\\]/\\&/g
  12346. s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
  12347. D["\1"]=" \3"/p
  12348. s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
  12349. d
  12350. :bsnl
  12351. s/["\\]/\\&/g
  12352. s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
  12353. D["\1"]=" \3\\\\\\n"\\/p
  12354. t cont
  12355. s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
  12356. t cont
  12357. d
  12358. :cont
  12359. n
  12360. s/.\{148\}/&'"$ac_delim"'/g
  12361. t clear
  12362. :clear
  12363. s/\\$//
  12364. t bsnlc
  12365. s/["\\]/\\&/g; s/^/"/; s/$/"/p
  12366. d
  12367. :bsnlc
  12368. s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
  12369. b cont
  12370. ' <confdefs.h | sed '
  12371. s/'"$ac_delim"'/"\\\
  12372. "/g' >>$CONFIG_STATUS || ac_write_fail=1
  12373. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  12374. for (key in D) D_is_set[key] = 1
  12375. FS = ""
  12376. }
  12377. /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
  12378. line = \$ 0
  12379. split(line, arg, " ")
  12380. if (arg[1] == "#") {
  12381. defundef = arg[2]
  12382. mac1 = arg[3]
  12383. } else {
  12384. defundef = substr(arg[1], 2)
  12385. mac1 = arg[2]
  12386. }
  12387. split(mac1, mac2, "(") #)
  12388. macro = mac2[1]
  12389. prefix = substr(line, 1, index(line, defundef) - 1)
  12390. if (D_is_set[macro]) {
  12391. # Preserve the white space surrounding the "#".
  12392. print prefix "define", macro P[macro] D[macro]
  12393. next
  12394. } else {
  12395. # Replace #undef with comments. This is necessary, for example,
  12396. # in the case of _POSIX_SOURCE, which is predefined and required
  12397. # on some systems where configure will not decide to define it.
  12398. if (defundef == "undef") {
  12399. print "/*", prefix defundef, macro, "*/"
  12400. next
  12401. }
  12402. }
  12403. }
  12404. { print }
  12405. _ACAWK
  12406. _ACEOF
  12407. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  12408. as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
  12409. fi # test -n "$CONFIG_HEADERS"
  12410. eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
  12411. shift
  12412. for ac_tag
  12413. do
  12414. case $ac_tag in
  12415. :[FHLC]) ac_mode=$ac_tag; continue;;
  12416. esac
  12417. case $ac_mode$ac_tag in
  12418. :[FHL]*:*);;
  12419. :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
  12420. :[FH]-) ac_tag=-:-;;
  12421. :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
  12422. esac
  12423. ac_save_IFS=$IFS
  12424. IFS=:
  12425. set x $ac_tag
  12426. IFS=$ac_save_IFS
  12427. shift
  12428. ac_file=$1
  12429. shift
  12430. case $ac_mode in
  12431. :L) ac_source=$1;;
  12432. :[FH])
  12433. ac_file_inputs=
  12434. for ac_f
  12435. do
  12436. case $ac_f in
  12437. -) ac_f="$ac_tmp/stdin";;
  12438. *) # Look for the file first in the build tree, then in the source tree
  12439. # (if the path is not absolute). The absolute path cannot be DOS-style,
  12440. # because $ac_f cannot contain `:'.
  12441. test -f "$ac_f" ||
  12442. case $ac_f in
  12443. [\\/$]*) false;;
  12444. *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
  12445. esac ||
  12446. as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
  12447. esac
  12448. case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
  12449. as_fn_append ac_file_inputs " '$ac_f'"
  12450. done
  12451. # Let's still pretend it is `configure' which instantiates (i.e., don't
  12452. # use $as_me), people would be surprised to read:
  12453. # /* config.h. Generated by config.status. */
  12454. configure_input='Generated from '`
  12455. $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
  12456. `' by configure.'
  12457. if test x"$ac_file" != x-; then
  12458. configure_input="$ac_file. $configure_input"
  12459. { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
  12460. $as_echo "$as_me: creating $ac_file" >&6;}
  12461. fi
  12462. # Neutralize special characters interpreted by sed in replacement strings.
  12463. case $configure_input in #(
  12464. *\&* | *\|* | *\\* )
  12465. ac_sed_conf_input=`$as_echo "$configure_input" |
  12466. sed 's/[\\\\&|]/\\\\&/g'`;; #(
  12467. *) ac_sed_conf_input=$configure_input;;
  12468. esac
  12469. case $ac_tag in
  12470. *:-:* | *:-) cat >"$ac_tmp/stdin" \
  12471. || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
  12472. esac
  12473. ;;
  12474. esac
  12475. ac_dir=`$as_dirname -- "$ac_file" ||
  12476. $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  12477. X"$ac_file" : 'X\(//\)[^/]' \| \
  12478. X"$ac_file" : 'X\(//\)$' \| \
  12479. X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
  12480. $as_echo X"$ac_file" |
  12481. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  12482. s//\1/
  12483. q
  12484. }
  12485. /^X\(\/\/\)[^/].*/{
  12486. s//\1/
  12487. q
  12488. }
  12489. /^X\(\/\/\)$/{
  12490. s//\1/
  12491. q
  12492. }
  12493. /^X\(\/\).*/{
  12494. s//\1/
  12495. q
  12496. }
  12497. s/.*/./; q'`
  12498. as_dir="$ac_dir"; as_fn_mkdir_p
  12499. ac_builddir=.
  12500. case "$ac_dir" in
  12501. .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  12502. *)
  12503. ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  12504. # A ".." for each directory in $ac_dir_suffix.
  12505. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  12506. case $ac_top_builddir_sub in
  12507. "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  12508. *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  12509. esac ;;
  12510. esac
  12511. ac_abs_top_builddir=$ac_pwd
  12512. ac_abs_builddir=$ac_pwd$ac_dir_suffix
  12513. # for backward compatibility:
  12514. ac_top_builddir=$ac_top_build_prefix
  12515. case $srcdir in
  12516. .) # We are building in place.
  12517. ac_srcdir=.
  12518. ac_top_srcdir=$ac_top_builddir_sub
  12519. ac_abs_top_srcdir=$ac_pwd ;;
  12520. [\\/]* | ?:[\\/]* ) # Absolute name.
  12521. ac_srcdir=$srcdir$ac_dir_suffix;
  12522. ac_top_srcdir=$srcdir
  12523. ac_abs_top_srcdir=$srcdir ;;
  12524. *) # Relative name.
  12525. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  12526. ac_top_srcdir=$ac_top_build_prefix$srcdir
  12527. ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  12528. esac
  12529. ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  12530. case $ac_mode in
  12531. :F)
  12532. #
  12533. # CONFIG_FILE
  12534. #
  12535. case $INSTALL in
  12536. [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
  12537. *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
  12538. esac
  12539. ac_MKDIR_P=$MKDIR_P
  12540. case $MKDIR_P in
  12541. [\\/$]* | ?:[\\/]* ) ;;
  12542. */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
  12543. esac
  12544. _ACEOF
  12545. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  12546. # If the template does not know about datarootdir, expand it.
  12547. # FIXME: This hack should be removed a few years after 2.60.
  12548. ac_datarootdir_hack=; ac_datarootdir_seen=
  12549. ac_sed_dataroot='
  12550. /datarootdir/ {
  12551. p
  12552. q
  12553. }
  12554. /@datadir@/p
  12555. /@docdir@/p
  12556. /@infodir@/p
  12557. /@localedir@/p
  12558. /@mandir@/p'
  12559. case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
  12560. *datarootdir*) ac_datarootdir_seen=yes;;
  12561. *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
  12562. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
  12563. $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
  12564. _ACEOF
  12565. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  12566. ac_datarootdir_hack='
  12567. s&@datadir@&$datadir&g
  12568. s&@docdir@&$docdir&g
  12569. s&@infodir@&$infodir&g
  12570. s&@localedir@&$localedir&g
  12571. s&@mandir@&$mandir&g
  12572. s&\\\${datarootdir}&$datarootdir&g' ;;
  12573. esac
  12574. _ACEOF
  12575. # Neutralize VPATH when `$srcdir' = `.'.
  12576. # Shell code in configure.ac might set extrasub.
  12577. # FIXME: do we really want to maintain this feature?
  12578. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  12579. ac_sed_extra="$ac_vpsub
  12580. $extrasub
  12581. _ACEOF
  12582. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  12583. :t
  12584. /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
  12585. s|@configure_input@|$ac_sed_conf_input|;t t
  12586. s&@top_builddir@&$ac_top_builddir_sub&;t t
  12587. s&@top_build_prefix@&$ac_top_build_prefix&;t t
  12588. s&@srcdir@&$ac_srcdir&;t t
  12589. s&@abs_srcdir@&$ac_abs_srcdir&;t t
  12590. s&@top_srcdir@&$ac_top_srcdir&;t t
  12591. s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
  12592. s&@builddir@&$ac_builddir&;t t
  12593. s&@abs_builddir@&$ac_abs_builddir&;t t
  12594. s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
  12595. s&@INSTALL@&$ac_INSTALL&;t t
  12596. s&@MKDIR_P@&$ac_MKDIR_P&;t t
  12597. $ac_datarootdir_hack
  12598. "
  12599. eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
  12600. >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  12601. test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
  12602. { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
  12603. { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
  12604. "$ac_tmp/out"`; test -z "$ac_out"; } &&
  12605. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  12606. which seems to be undefined. Please make sure it is defined" >&5
  12607. $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  12608. which seems to be undefined. Please make sure it is defined" >&2;}
  12609. rm -f "$ac_tmp/stdin"
  12610. case $ac_file in
  12611. -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
  12612. *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
  12613. esac \
  12614. || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  12615. ;;
  12616. :H)
  12617. #
  12618. # CONFIG_HEADER
  12619. #
  12620. if test x"$ac_file" != x-; then
  12621. {
  12622. $as_echo "/* $configure_input */" \
  12623. && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
  12624. } >"$ac_tmp/config.h" \
  12625. || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  12626. if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
  12627. { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
  12628. $as_echo "$as_me: $ac_file is unchanged" >&6;}
  12629. else
  12630. rm -f "$ac_file"
  12631. mv "$ac_tmp/config.h" "$ac_file" \
  12632. || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  12633. fi
  12634. else
  12635. $as_echo "/* $configure_input */" \
  12636. && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
  12637. || as_fn_error $? "could not create -" "$LINENO" 5
  12638. fi
  12639. # Compute "$ac_file"'s index in $config_headers.
  12640. _am_arg="$ac_file"
  12641. _am_stamp_count=1
  12642. for _am_header in $config_headers :; do
  12643. case $_am_header in
  12644. $_am_arg | $_am_arg:* )
  12645. break ;;
  12646. * )
  12647. _am_stamp_count=`expr $_am_stamp_count + 1` ;;
  12648. esac
  12649. done
  12650. echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
  12651. $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  12652. X"$_am_arg" : 'X\(//\)[^/]' \| \
  12653. X"$_am_arg" : 'X\(//\)$' \| \
  12654. X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
  12655. $as_echo X"$_am_arg" |
  12656. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  12657. s//\1/
  12658. q
  12659. }
  12660. /^X\(\/\/\)[^/].*/{
  12661. s//\1/
  12662. q
  12663. }
  12664. /^X\(\/\/\)$/{
  12665. s//\1/
  12666. q
  12667. }
  12668. /^X\(\/\).*/{
  12669. s//\1/
  12670. q
  12671. }
  12672. s/.*/./; q'`/stamp-h$_am_stamp_count
  12673. ;;
  12674. :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
  12675. $as_echo "$as_me: executing $ac_file commands" >&6;}
  12676. ;;
  12677. esac
  12678. case $ac_file$ac_mode in
  12679. "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
  12680. # Older Autoconf quotes --file arguments for eval, but not when files
  12681. # are listed without --file. Let's play safe and only enable the eval
  12682. # if we detect the quoting.
  12683. case $CONFIG_FILES in
  12684. *\'*) eval set x "$CONFIG_FILES" ;;
  12685. *) set x $CONFIG_FILES ;;
  12686. esac
  12687. shift
  12688. for mf
  12689. do
  12690. # Strip MF so we end up with the name of the file.
  12691. mf=`echo "$mf" | sed -e 's/:.*$//'`
  12692. # Check whether this is an Automake generated Makefile or not.
  12693. # We used to match only the files named 'Makefile.in', but
  12694. # some people rename them; so instead we look at the file content.
  12695. # Grep'ing the first line is not enough: some people post-process
  12696. # each Makefile.in and add a new line on top of each file to say so.
  12697. # Grep'ing the whole file is not good either: AIX grep has a line
  12698. # limit of 2048, but all sed's we know have understand at least 4000.
  12699. if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
  12700. dirpart=`$as_dirname -- "$mf" ||
  12701. $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  12702. X"$mf" : 'X\(//\)[^/]' \| \
  12703. X"$mf" : 'X\(//\)$' \| \
  12704. X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
  12705. $as_echo X"$mf" |
  12706. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  12707. s//\1/
  12708. q
  12709. }
  12710. /^X\(\/\/\)[^/].*/{
  12711. s//\1/
  12712. q
  12713. }
  12714. /^X\(\/\/\)$/{
  12715. s//\1/
  12716. q
  12717. }
  12718. /^X\(\/\).*/{
  12719. s//\1/
  12720. q
  12721. }
  12722. s/.*/./; q'`
  12723. else
  12724. continue
  12725. fi
  12726. # Extract the definition of DEPDIR, am__include, and am__quote
  12727. # from the Makefile without running 'make'.
  12728. DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
  12729. test -z "$DEPDIR" && continue
  12730. am__include=`sed -n 's/^am__include = //p' < "$mf"`
  12731. test -z "$am__include" && continue
  12732. am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
  12733. # Find all dependency output files, they are included files with
  12734. # $(DEPDIR) in their names. We invoke sed twice because it is the
  12735. # simplest approach to changing $(DEPDIR) to its actual value in the
  12736. # expansion.
  12737. for file in `sed -n "
  12738. s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
  12739. sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
  12740. # Make sure the directory exists.
  12741. test -f "$dirpart/$file" && continue
  12742. fdir=`$as_dirname -- "$file" ||
  12743. $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  12744. X"$file" : 'X\(//\)[^/]' \| \
  12745. X"$file" : 'X\(//\)$' \| \
  12746. X"$file" : 'X\(/\)' \| . 2>/dev/null ||
  12747. $as_echo X"$file" |
  12748. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  12749. s//\1/
  12750. q
  12751. }
  12752. /^X\(\/\/\)[^/].*/{
  12753. s//\1/
  12754. q
  12755. }
  12756. /^X\(\/\/\)$/{
  12757. s//\1/
  12758. q
  12759. }
  12760. /^X\(\/\).*/{
  12761. s//\1/
  12762. q
  12763. }
  12764. s/.*/./; q'`
  12765. as_dir=$dirpart/$fdir; as_fn_mkdir_p
  12766. # echo "creating $dirpart/$file"
  12767. echo '# dummy' > "$dirpart/$file"
  12768. done
  12769. done
  12770. }
  12771. ;;
  12772. "libtool":C)
  12773. # See if we are running on zsh, and set the options that allow our
  12774. # commands through without removal of \ escapes.
  12775. if test -n "${ZSH_VERSION+set}"; then
  12776. setopt NO_GLOB_SUBST
  12777. fi
  12778. cfgfile=${ofile}T
  12779. trap "$RM \"$cfgfile\"; exit 1" 1 2 15
  12780. $RM "$cfgfile"
  12781. cat <<_LT_EOF >> "$cfgfile"
  12782. #! $SHELL
  12783. # Generated automatically by $as_me ($PACKAGE) $VERSION
  12784. # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
  12785. # NOTE: Changes made to this file will be lost: look at ltmain.sh.
  12786. # Provide generalized library-building support services.
  12787. # Written by Gordon Matzigkeit, 1996
  12788. # Copyright (C) 2014 Free Software Foundation, Inc.
  12789. # This is free software; see the source for copying conditions. There is NO
  12790. # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  12791. # GNU Libtool is free software; you can redistribute it and/or modify
  12792. # it under the terms of the GNU General Public License as published by
  12793. # the Free Software Foundation; either version 2 of of the License, or
  12794. # (at your option) any later version.
  12795. #
  12796. # As a special exception to the GNU General Public License, if you
  12797. # distribute this file as part of a program or library that is built
  12798. # using GNU Libtool, you may include this file under the same
  12799. # distribution terms that you use for the rest of that program.
  12800. #
  12801. # GNU Libtool is distributed in the hope that it will be useful, but
  12802. # WITHOUT ANY WARRANTY; without even the implied warranty of
  12803. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12804. # GNU General Public License for more details.
  12805. #
  12806. # You should have received a copy of the GNU General Public License
  12807. # along with this program. If not, see <http://www.gnu.org/licenses/>.
  12808. # The names of the tagged configurations supported by this script.
  12809. available_tags=''
  12810. # Configured defaults for sys_lib_dlsearch_path munging.
  12811. : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
  12812. # ### BEGIN LIBTOOL CONFIG
  12813. # Which release of libtool.m4 was used?
  12814. macro_version=$macro_version
  12815. macro_revision=$macro_revision
  12816. # Assembler program.
  12817. AS=$lt_AS
  12818. # DLL creation program.
  12819. DLLTOOL=$lt_DLLTOOL
  12820. # Object dumper program.
  12821. OBJDUMP=$lt_OBJDUMP
  12822. # Whether or not to build shared libraries.
  12823. build_libtool_libs=$enable_shared
  12824. # Whether or not to build static libraries.
  12825. build_old_libs=$enable_static
  12826. # What type of objects to build.
  12827. pic_mode=$pic_mode
  12828. # Whether or not to optimize for fast installation.
  12829. fast_install=$enable_fast_install
  12830. # Shared archive member basename,for filename based shared library versioning on AIX.
  12831. shared_archive_member_spec=$shared_archive_member_spec
  12832. # Shell to use when invoking shell scripts.
  12833. SHELL=$lt_SHELL
  12834. # An echo program that protects backslashes.
  12835. ECHO=$lt_ECHO
  12836. # The PATH separator for the build system.
  12837. PATH_SEPARATOR=$lt_PATH_SEPARATOR
  12838. # The host system.
  12839. host_alias=$host_alias
  12840. host=$host
  12841. host_os=$host_os
  12842. # The build system.
  12843. build_alias=$build_alias
  12844. build=$build
  12845. build_os=$build_os
  12846. # A sed program that does not truncate output.
  12847. SED=$lt_SED
  12848. # Sed that helps us avoid accidentally triggering echo(1) options like -n.
  12849. Xsed="\$SED -e 1s/^X//"
  12850. # A grep program that handles long lines.
  12851. GREP=$lt_GREP
  12852. # An ERE matcher.
  12853. EGREP=$lt_EGREP
  12854. # A literal string matcher.
  12855. FGREP=$lt_FGREP
  12856. # A BSD- or MS-compatible name lister.
  12857. NM=$lt_NM
  12858. # Whether we need soft or hard links.
  12859. LN_S=$lt_LN_S
  12860. # What is the maximum length of a command?
  12861. max_cmd_len=$max_cmd_len
  12862. # Object file suffix (normally "o").
  12863. objext=$ac_objext
  12864. # Executable file suffix (normally "").
  12865. exeext=$exeext
  12866. # whether the shell understands "unset".
  12867. lt_unset=$lt_unset
  12868. # turn spaces into newlines.
  12869. SP2NL=$lt_lt_SP2NL
  12870. # turn newlines into spaces.
  12871. NL2SP=$lt_lt_NL2SP
  12872. # convert \$build file names to \$host format.
  12873. to_host_file_cmd=$lt_cv_to_host_file_cmd
  12874. # convert \$build files to toolchain format.
  12875. to_tool_file_cmd=$lt_cv_to_tool_file_cmd
  12876. # Method to check whether dependent libraries are shared objects.
  12877. deplibs_check_method=$lt_deplibs_check_method
  12878. # Command to use when deplibs_check_method = "file_magic".
  12879. file_magic_cmd=$lt_file_magic_cmd
  12880. # How to find potential files when deplibs_check_method = "file_magic".
  12881. file_magic_glob=$lt_file_magic_glob
  12882. # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
  12883. want_nocaseglob=$lt_want_nocaseglob
  12884. # Command to associate shared and link libraries.
  12885. sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
  12886. # The archiver.
  12887. AR=$lt_AR
  12888. # Flags to create an archive.
  12889. AR_FLAGS=$lt_AR_FLAGS
  12890. # How to feed a file listing to the archiver.
  12891. archiver_list_spec=$lt_archiver_list_spec
  12892. # A symbol stripping program.
  12893. STRIP=$lt_STRIP
  12894. # Commands used to install an old-style archive.
  12895. RANLIB=$lt_RANLIB
  12896. old_postinstall_cmds=$lt_old_postinstall_cmds
  12897. old_postuninstall_cmds=$lt_old_postuninstall_cmds
  12898. # Whether to use a lock for old archive extraction.
  12899. lock_old_archive_extraction=$lock_old_archive_extraction
  12900. # A C compiler.
  12901. LTCC=$lt_CC
  12902. # LTCC compiler flags.
  12903. LTCFLAGS=$lt_CFLAGS
  12904. # Take the output of nm and produce a listing of raw symbols and C names.
  12905. global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
  12906. # Transform the output of nm in a proper C declaration.
  12907. global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
  12908. # Transform the output of nm into a list of symbols to manually relocate.
  12909. global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
  12910. # Transform the output of nm in a C name address pair.
  12911. global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
  12912. # Transform the output of nm in a C name address pair when lib prefix is needed.
  12913. global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
  12914. # The name lister interface.
  12915. nm_interface=$lt_lt_cv_nm_interface
  12916. # Specify filename containing input files for \$NM.
  12917. nm_file_list_spec=$lt_nm_file_list_spec
  12918. # The root where to search for dependent libraries,and where our libraries should be installed.
  12919. lt_sysroot=$lt_sysroot
  12920. # Command to truncate a binary pipe.
  12921. lt_truncate_bin=$lt_lt_cv_truncate_bin
  12922. # The name of the directory that contains temporary libtool files.
  12923. objdir=$objdir
  12924. # Used to examine libraries when file_magic_cmd begins with "file".
  12925. MAGIC_CMD=$MAGIC_CMD
  12926. # Must we lock files when doing compilation?
  12927. need_locks=$lt_need_locks
  12928. # Manifest tool.
  12929. MANIFEST_TOOL=$lt_MANIFEST_TOOL
  12930. # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
  12931. DSYMUTIL=$lt_DSYMUTIL
  12932. # Tool to change global to local symbols on Mac OS X.
  12933. NMEDIT=$lt_NMEDIT
  12934. # Tool to manipulate fat objects and archives on Mac OS X.
  12935. LIPO=$lt_LIPO
  12936. # ldd/readelf like tool for Mach-O binaries on Mac OS X.
  12937. OTOOL=$lt_OTOOL
  12938. # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
  12939. OTOOL64=$lt_OTOOL64
  12940. # Old archive suffix (normally "a").
  12941. libext=$libext
  12942. # Shared library suffix (normally ".so").
  12943. shrext_cmds=$lt_shrext_cmds
  12944. # The commands to extract the exported symbol list from a shared archive.
  12945. extract_expsyms_cmds=$lt_extract_expsyms_cmds
  12946. # Variables whose values should be saved in libtool wrapper scripts and
  12947. # restored at link time.
  12948. variables_saved_for_relink=$lt_variables_saved_for_relink
  12949. # Do we need the "lib" prefix for modules?
  12950. need_lib_prefix=$need_lib_prefix
  12951. # Do we need a version for libraries?
  12952. need_version=$need_version
  12953. # Library versioning type.
  12954. version_type=$version_type
  12955. # Shared library runtime path variable.
  12956. runpath_var=$runpath_var
  12957. # Shared library path variable.
  12958. shlibpath_var=$shlibpath_var
  12959. # Is shlibpath searched before the hard-coded library search path?
  12960. shlibpath_overrides_runpath=$shlibpath_overrides_runpath
  12961. # Format of library name prefix.
  12962. libname_spec=$lt_libname_spec
  12963. # List of archive names. First name is the real one, the rest are links.
  12964. # The last name is the one that the linker finds with -lNAME
  12965. library_names_spec=$lt_library_names_spec
  12966. # The coded name of the library, if different from the real name.
  12967. soname_spec=$lt_soname_spec
  12968. # Permission mode override for installation of shared libraries.
  12969. install_override_mode=$lt_install_override_mode
  12970. # Command to use after installation of a shared archive.
  12971. postinstall_cmds=$lt_postinstall_cmds
  12972. # Command to use after uninstallation of a shared archive.
  12973. postuninstall_cmds=$lt_postuninstall_cmds
  12974. # Commands used to finish a libtool library installation in a directory.
  12975. finish_cmds=$lt_finish_cmds
  12976. # As "finish_cmds", except a single script fragment to be evaled but
  12977. # not shown.
  12978. finish_eval=$lt_finish_eval
  12979. # Whether we should hardcode library paths into libraries.
  12980. hardcode_into_libs=$hardcode_into_libs
  12981. # Compile-time system search path for libraries.
  12982. sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
  12983. # Detected run-time system search path for libraries.
  12984. sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
  12985. # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
  12986. configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
  12987. # Whether dlopen is supported.
  12988. dlopen_support=$enable_dlopen
  12989. # Whether dlopen of programs is supported.
  12990. dlopen_self=$enable_dlopen_self
  12991. # Whether dlopen of statically linked programs is supported.
  12992. dlopen_self_static=$enable_dlopen_self_static
  12993. # Commands to strip libraries.
  12994. old_striplib=$lt_old_striplib
  12995. striplib=$lt_striplib
  12996. # The linker used to build libraries.
  12997. LD=$lt_LD
  12998. # How to create reloadable object files.
  12999. reload_flag=$lt_reload_flag
  13000. reload_cmds=$lt_reload_cmds
  13001. # Commands used to build an old-style archive.
  13002. old_archive_cmds=$lt_old_archive_cmds
  13003. # A language specific compiler.
  13004. CC=$lt_compiler
  13005. # Is the compiler the GNU compiler?
  13006. with_gcc=$GCC
  13007. # Compiler flag to turn off builtin functions.
  13008. no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
  13009. # Additional compiler flags for building library objects.
  13010. pic_flag=$lt_lt_prog_compiler_pic
  13011. # How to pass a linker flag through the compiler.
  13012. wl=$lt_lt_prog_compiler_wl
  13013. # Compiler flag to prevent dynamic linking.
  13014. link_static_flag=$lt_lt_prog_compiler_static
  13015. # Does compiler simultaneously support -c and -o options?
  13016. compiler_c_o=$lt_lt_cv_prog_compiler_c_o
  13017. # Whether or not to add -lc for building shared libraries.
  13018. build_libtool_need_lc=$archive_cmds_need_lc
  13019. # Whether or not to disallow shared libs when runtime libs are static.
  13020. allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
  13021. # Compiler flag to allow reflexive dlopens.
  13022. export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
  13023. # Compiler flag to generate shared objects directly from archives.
  13024. whole_archive_flag_spec=$lt_whole_archive_flag_spec
  13025. # Whether the compiler copes with passing no objects directly.
  13026. compiler_needs_object=$lt_compiler_needs_object
  13027. # Create an old-style archive from a shared archive.
  13028. old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
  13029. # Create a temporary old-style archive to link instead of a shared archive.
  13030. old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
  13031. # Commands used to build a shared archive.
  13032. archive_cmds=$lt_archive_cmds
  13033. archive_expsym_cmds=$lt_archive_expsym_cmds
  13034. # Commands used to build a loadable module if different from building
  13035. # a shared archive.
  13036. module_cmds=$lt_module_cmds
  13037. module_expsym_cmds=$lt_module_expsym_cmds
  13038. # Whether we are building with GNU ld or not.
  13039. with_gnu_ld=$lt_with_gnu_ld
  13040. # Flag that allows shared libraries with undefined symbols to be built.
  13041. allow_undefined_flag=$lt_allow_undefined_flag
  13042. # Flag that enforces no undefined symbols.
  13043. no_undefined_flag=$lt_no_undefined_flag
  13044. # Flag to hardcode \$libdir into a binary during linking.
  13045. # This must work even if \$libdir does not exist
  13046. hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
  13047. # Whether we need a single "-rpath" flag with a separated argument.
  13048. hardcode_libdir_separator=$lt_hardcode_libdir_separator
  13049. # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
  13050. # DIR into the resulting binary.
  13051. hardcode_direct=$hardcode_direct
  13052. # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
  13053. # DIR into the resulting binary and the resulting library dependency is
  13054. # "absolute",i.e impossible to change by setting \$shlibpath_var if the
  13055. # library is relocated.
  13056. hardcode_direct_absolute=$hardcode_direct_absolute
  13057. # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
  13058. # into the resulting binary.
  13059. hardcode_minus_L=$hardcode_minus_L
  13060. # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
  13061. # into the resulting binary.
  13062. hardcode_shlibpath_var=$hardcode_shlibpath_var
  13063. # Set to "yes" if building a shared library automatically hardcodes DIR
  13064. # into the library and all subsequent libraries and executables linked
  13065. # against it.
  13066. hardcode_automatic=$hardcode_automatic
  13067. # Set to yes if linker adds runtime paths of dependent libraries
  13068. # to runtime path list.
  13069. inherit_rpath=$inherit_rpath
  13070. # Whether libtool must link a program against all its dependency libraries.
  13071. link_all_deplibs=$link_all_deplibs
  13072. # Set to "yes" if exported symbols are required.
  13073. always_export_symbols=$always_export_symbols
  13074. # The commands to list exported symbols.
  13075. export_symbols_cmds=$lt_export_symbols_cmds
  13076. # Symbols that should not be listed in the preloaded symbols.
  13077. exclude_expsyms=$lt_exclude_expsyms
  13078. # Symbols that must always be exported.
  13079. include_expsyms=$lt_include_expsyms
  13080. # Commands necessary for linking programs (against libraries) with templates.
  13081. prelink_cmds=$lt_prelink_cmds
  13082. # Commands necessary for finishing linking programs.
  13083. postlink_cmds=$lt_postlink_cmds
  13084. # Specify filename containing input files.
  13085. file_list_spec=$lt_file_list_spec
  13086. # How to hardcode a shared library path into an executable.
  13087. hardcode_action=$hardcode_action
  13088. # ### END LIBTOOL CONFIG
  13089. _LT_EOF
  13090. cat <<'_LT_EOF' >> "$cfgfile"
  13091. # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
  13092. # func_munge_path_list VARIABLE PATH
  13093. # -----------------------------------
  13094. # VARIABLE is name of variable containing _space_ separated list of
  13095. # directories to be munged by the contents of PATH, which is string
  13096. # having a format:
  13097. # "DIR[:DIR]:"
  13098. # string "DIR[ DIR]" will be prepended to VARIABLE
  13099. # ":DIR[:DIR]"
  13100. # string "DIR[ DIR]" will be appended to VARIABLE
  13101. # "DIRP[:DIRP]::[DIRA:]DIRA"
  13102. # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
  13103. # "DIRA[ DIRA]" will be appended to VARIABLE
  13104. # "DIR[:DIR]"
  13105. # VARIABLE will be replaced by "DIR[ DIR]"
  13106. func_munge_path_list ()
  13107. {
  13108. case x$2 in
  13109. x)
  13110. ;;
  13111. *:)
  13112. eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
  13113. ;;
  13114. x:*)
  13115. eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
  13116. ;;
  13117. *::*)
  13118. eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
  13119. eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
  13120. ;;
  13121. *)
  13122. eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
  13123. ;;
  13124. esac
  13125. }
  13126. # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
  13127. func_cc_basename ()
  13128. {
  13129. for cc_temp in $*""; do
  13130. case $cc_temp in
  13131. compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
  13132. distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
  13133. \-*) ;;
  13134. *) break;;
  13135. esac
  13136. done
  13137. func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
  13138. }
  13139. # ### END FUNCTIONS SHARED WITH CONFIGURE
  13140. _LT_EOF
  13141. case $host_os in
  13142. aix3*)
  13143. cat <<\_LT_EOF >> "$cfgfile"
  13144. # AIX sometimes has problems with the GCC collect2 program. For some
  13145. # reason, if we set the COLLECT_NAMES environment variable, the problems
  13146. # vanish in a puff of smoke.
  13147. if test set != "${COLLECT_NAMES+set}"; then
  13148. COLLECT_NAMES=
  13149. export COLLECT_NAMES
  13150. fi
  13151. _LT_EOF
  13152. ;;
  13153. esac
  13154. ltmain=$ac_aux_dir/ltmain.sh
  13155. # We use sed instead of cat because bash on DJGPP gets confused if
  13156. # if finds mixed CR/LF and LF-only lines. Since sed operates in
  13157. # text mode, it properly converts lines to CR/LF. This bash problem
  13158. # is reportedly fixed, but why not run on old versions too?
  13159. sed '$q' "$ltmain" >> "$cfgfile" \
  13160. || (rm -f "$cfgfile"; exit 1)
  13161. mv -f "$cfgfile" "$ofile" ||
  13162. (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
  13163. chmod +x "$ofile"
  13164. ;;
  13165. esac
  13166. done # for ac_tag
  13167. as_fn_exit 0
  13168. _ACEOF
  13169. ac_clean_files=$ac_clean_files_save
  13170. test $ac_write_fail = 0 ||
  13171. as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
  13172. # configure is writing to config.log, and then calls config.status.
  13173. # config.status does its own redirection, appending to config.log.
  13174. # Unfortunately, on DOS this fails, as config.log is still kept open
  13175. # by configure, so config.status won't be able to write to it; its
  13176. # output is simply discarded. So we exec the FD to /dev/null,
  13177. # effectively closing config.log, so it can be properly (re)opened and
  13178. # appended to by config.status. When coming back to configure, we
  13179. # need to make the FD available again.
  13180. if test "$no_create" != yes; then
  13181. ac_cs_success=:
  13182. ac_config_status_args=
  13183. test "$silent" = yes &&
  13184. ac_config_status_args="$ac_config_status_args --quiet"
  13185. exec 5>/dev/null
  13186. $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
  13187. exec 5>>config.log
  13188. # Use ||, not &&, to avoid exiting from the if with $? = 1, which
  13189. # would make configure fail if this is the last instruction.
  13190. $ac_cs_success || as_fn_exit 1
  13191. fi
  13192. if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
  13193. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
  13194. $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
  13195. fi