configure 446 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396
  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='$(SHELL) $(top_builddir)/libtool'
  7098. test -z "$LN_S" && LN_S="ln -s"
  7099. if test -n "${ZSH_VERSION+set}"; then
  7100. setopt NO_GLOB_SUBST
  7101. fi
  7102. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
  7103. $as_echo_n "checking for objdir... " >&6; }
  7104. if ${lt_cv_objdir+:} false; then :
  7105. $as_echo_n "(cached) " >&6
  7106. else
  7107. rm -f .libs 2>/dev/null
  7108. mkdir .libs 2>/dev/null
  7109. if test -d .libs; then
  7110. lt_cv_objdir=.libs
  7111. else
  7112. # MS-DOS does not allow filenames that begin with a dot.
  7113. lt_cv_objdir=_libs
  7114. fi
  7115. rmdir .libs 2>/dev/null
  7116. fi
  7117. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
  7118. $as_echo "$lt_cv_objdir" >&6; }
  7119. objdir=$lt_cv_objdir
  7120. cat >>confdefs.h <<_ACEOF
  7121. #define LT_OBJDIR "$lt_cv_objdir/"
  7122. _ACEOF
  7123. case $host_os in
  7124. aix3*)
  7125. # AIX sometimes has problems with the GCC collect2 program. For some
  7126. # reason, if we set the COLLECT_NAMES environment variable, the problems
  7127. # vanish in a puff of smoke.
  7128. if test set != "${COLLECT_NAMES+set}"; then
  7129. COLLECT_NAMES=
  7130. export COLLECT_NAMES
  7131. fi
  7132. ;;
  7133. esac
  7134. # Global variables:
  7135. ofile=libtool
  7136. can_build_shared=yes
  7137. # All known linkers require a '.a' archive for static linking (except MSVC,
  7138. # which needs '.lib').
  7139. libext=a
  7140. with_gnu_ld=$lt_cv_prog_gnu_ld
  7141. old_CC=$CC
  7142. old_CFLAGS=$CFLAGS
  7143. # Set sane defaults for various variables
  7144. test -z "$CC" && CC=cc
  7145. test -z "$LTCC" && LTCC=$CC
  7146. test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
  7147. test -z "$LD" && LD=ld
  7148. test -z "$ac_objext" && ac_objext=o
  7149. func_cc_basename $compiler
  7150. cc_basename=$func_cc_basename_result
  7151. # Only perform the check for file, if the check method requires it
  7152. test -z "$MAGIC_CMD" && MAGIC_CMD=file
  7153. case $deplibs_check_method in
  7154. file_magic*)
  7155. if test "$file_magic_cmd" = '$MAGIC_CMD'; then
  7156. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
  7157. $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
  7158. if ${lt_cv_path_MAGIC_CMD+:} false; then :
  7159. $as_echo_n "(cached) " >&6
  7160. else
  7161. case $MAGIC_CMD in
  7162. [\\/*] | ?:[\\/]*)
  7163. lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
  7164. ;;
  7165. *)
  7166. lt_save_MAGIC_CMD=$MAGIC_CMD
  7167. lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
  7168. ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
  7169. for ac_dir in $ac_dummy; do
  7170. IFS=$lt_save_ifs
  7171. test -z "$ac_dir" && ac_dir=.
  7172. if test -f "$ac_dir/${ac_tool_prefix}file"; then
  7173. lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
  7174. if test -n "$file_magic_test_file"; then
  7175. case $deplibs_check_method in
  7176. "file_magic "*)
  7177. file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
  7178. MAGIC_CMD=$lt_cv_path_MAGIC_CMD
  7179. if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
  7180. $EGREP "$file_magic_regex" > /dev/null; then
  7181. :
  7182. else
  7183. cat <<_LT_EOF 1>&2
  7184. *** Warning: the command libtool uses to detect shared libraries,
  7185. *** $file_magic_cmd, produces output that libtool cannot recognize.
  7186. *** The result is that libtool may fail to recognize shared libraries
  7187. *** as such. This will affect the creation of libtool libraries that
  7188. *** depend on shared libraries, but programs linked with such libtool
  7189. *** libraries will work regardless of this problem. Nevertheless, you
  7190. *** may want to report the problem to your system manager and/or to
  7191. *** bug-libtool@gnu.org
  7192. _LT_EOF
  7193. fi ;;
  7194. esac
  7195. fi
  7196. break
  7197. fi
  7198. done
  7199. IFS=$lt_save_ifs
  7200. MAGIC_CMD=$lt_save_MAGIC_CMD
  7201. ;;
  7202. esac
  7203. fi
  7204. MAGIC_CMD=$lt_cv_path_MAGIC_CMD
  7205. if test -n "$MAGIC_CMD"; then
  7206. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
  7207. $as_echo "$MAGIC_CMD" >&6; }
  7208. else
  7209. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7210. $as_echo "no" >&6; }
  7211. fi
  7212. if test -z "$lt_cv_path_MAGIC_CMD"; then
  7213. if test -n "$ac_tool_prefix"; then
  7214. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
  7215. $as_echo_n "checking for file... " >&6; }
  7216. if ${lt_cv_path_MAGIC_CMD+:} false; then :
  7217. $as_echo_n "(cached) " >&6
  7218. else
  7219. case $MAGIC_CMD in
  7220. [\\/*] | ?:[\\/]*)
  7221. lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
  7222. ;;
  7223. *)
  7224. lt_save_MAGIC_CMD=$MAGIC_CMD
  7225. lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
  7226. ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
  7227. for ac_dir in $ac_dummy; do
  7228. IFS=$lt_save_ifs
  7229. test -z "$ac_dir" && ac_dir=.
  7230. if test -f "$ac_dir/file"; then
  7231. lt_cv_path_MAGIC_CMD=$ac_dir/"file"
  7232. if test -n "$file_magic_test_file"; then
  7233. case $deplibs_check_method in
  7234. "file_magic "*)
  7235. file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
  7236. MAGIC_CMD=$lt_cv_path_MAGIC_CMD
  7237. if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
  7238. $EGREP "$file_magic_regex" > /dev/null; then
  7239. :
  7240. else
  7241. cat <<_LT_EOF 1>&2
  7242. *** Warning: the command libtool uses to detect shared libraries,
  7243. *** $file_magic_cmd, produces output that libtool cannot recognize.
  7244. *** The result is that libtool may fail to recognize shared libraries
  7245. *** as such. This will affect the creation of libtool libraries that
  7246. *** depend on shared libraries, but programs linked with such libtool
  7247. *** libraries will work regardless of this problem. Nevertheless, you
  7248. *** may want to report the problem to your system manager and/or to
  7249. *** bug-libtool@gnu.org
  7250. _LT_EOF
  7251. fi ;;
  7252. esac
  7253. fi
  7254. break
  7255. fi
  7256. done
  7257. IFS=$lt_save_ifs
  7258. MAGIC_CMD=$lt_save_MAGIC_CMD
  7259. ;;
  7260. esac
  7261. fi
  7262. MAGIC_CMD=$lt_cv_path_MAGIC_CMD
  7263. if test -n "$MAGIC_CMD"; then
  7264. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
  7265. $as_echo "$MAGIC_CMD" >&6; }
  7266. else
  7267. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7268. $as_echo "no" >&6; }
  7269. fi
  7270. else
  7271. MAGIC_CMD=:
  7272. fi
  7273. fi
  7274. fi
  7275. ;;
  7276. esac
  7277. # Use C for the default configuration in the libtool script
  7278. lt_save_CC=$CC
  7279. ac_ext=c
  7280. ac_cpp='$CPP $CPPFLAGS'
  7281. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  7282. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  7283. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  7284. # Source file extension for C test sources.
  7285. ac_ext=c
  7286. # Object file extension for compiled C test sources.
  7287. objext=o
  7288. objext=$objext
  7289. # Code to be used in simple compile tests
  7290. lt_simple_compile_test_code="int some_variable = 0;"
  7291. # Code to be used in simple link tests
  7292. lt_simple_link_test_code='int main(){return(0);}'
  7293. # If no C compiler was specified, use CC.
  7294. LTCC=${LTCC-"$CC"}
  7295. # If no C compiler flags were specified, use CFLAGS.
  7296. LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
  7297. # Allow CC to be a program name with arguments.
  7298. compiler=$CC
  7299. # Save the default compiler, since it gets overwritten when the other
  7300. # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
  7301. compiler_DEFAULT=$CC
  7302. # save warnings/boilerplate of simple test code
  7303. ac_outfile=conftest.$ac_objext
  7304. echo "$lt_simple_compile_test_code" >conftest.$ac_ext
  7305. eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  7306. _lt_compiler_boilerplate=`cat conftest.err`
  7307. $RM conftest*
  7308. ac_outfile=conftest.$ac_objext
  7309. echo "$lt_simple_link_test_code" >conftest.$ac_ext
  7310. eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  7311. _lt_linker_boilerplate=`cat conftest.err`
  7312. $RM -r conftest*
  7313. ## CAVEAT EMPTOR:
  7314. ## There is no encapsulation within the following macros, do not change
  7315. ## the running order or otherwise move them around unless you know exactly
  7316. ## what you are doing...
  7317. if test -n "$compiler"; then
  7318. lt_prog_compiler_no_builtin_flag=
  7319. if test yes = "$GCC"; then
  7320. case $cc_basename in
  7321. nvcc*)
  7322. lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
  7323. *)
  7324. lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
  7325. esac
  7326. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
  7327. $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
  7328. if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
  7329. $as_echo_n "(cached) " >&6
  7330. else
  7331. lt_cv_prog_compiler_rtti_exceptions=no
  7332. ac_outfile=conftest.$ac_objext
  7333. echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  7334. lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
  7335. # Insert the option either (1) after the last *FLAGS variable, or
  7336. # (2) before a word containing "conftest.", or (3) at the end.
  7337. # Note that $ac_compile itself does not contain backslashes and begins
  7338. # with a dollar sign (not a hyphen), so the echo should work correctly.
  7339. # The option is referenced via a variable to avoid confusing sed.
  7340. lt_compile=`echo "$ac_compile" | $SED \
  7341. -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  7342. -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  7343. -e 's:$: $lt_compiler_flag:'`
  7344. (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  7345. (eval "$lt_compile" 2>conftest.err)
  7346. ac_status=$?
  7347. cat conftest.err >&5
  7348. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7349. if (exit $ac_status) && test -s "$ac_outfile"; then
  7350. # The compiler can only warn and ignore the option if not recognized
  7351. # So say no if there are warnings other than the usual output.
  7352. $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
  7353. $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  7354. if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  7355. lt_cv_prog_compiler_rtti_exceptions=yes
  7356. fi
  7357. fi
  7358. $RM conftest*
  7359. fi
  7360. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
  7361. $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
  7362. if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
  7363. lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
  7364. else
  7365. :
  7366. fi
  7367. fi
  7368. lt_prog_compiler_wl=
  7369. lt_prog_compiler_pic=
  7370. lt_prog_compiler_static=
  7371. if test yes = "$GCC"; then
  7372. lt_prog_compiler_wl='-Wl,'
  7373. lt_prog_compiler_static='-static'
  7374. case $host_os in
  7375. aix*)
  7376. # All AIX code is PIC.
  7377. if test ia64 = "$host_cpu"; then
  7378. # AIX 5 now supports IA64 processor
  7379. lt_prog_compiler_static='-Bstatic'
  7380. fi
  7381. lt_prog_compiler_pic='-fPIC'
  7382. ;;
  7383. amigaos*)
  7384. case $host_cpu in
  7385. powerpc)
  7386. # see comment about AmigaOS4 .so support
  7387. lt_prog_compiler_pic='-fPIC'
  7388. ;;
  7389. m68k)
  7390. # FIXME: we need at least 68020 code to build shared libraries, but
  7391. # adding the '-m68020' flag to GCC prevents building anything better,
  7392. # like '-m68040'.
  7393. lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
  7394. ;;
  7395. esac
  7396. ;;
  7397. beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
  7398. # PIC is the default for these OSes.
  7399. ;;
  7400. mingw* | cygwin* | pw32* | os2* | cegcc*)
  7401. # This hack is so that the source file can tell whether it is being
  7402. # built for inclusion in a dll (and should export symbols for example).
  7403. # Although the cygwin gcc ignores -fPIC, still need this for old-style
  7404. # (--disable-auto-import) libraries
  7405. lt_prog_compiler_pic='-DDLL_EXPORT'
  7406. case $host_os in
  7407. os2*)
  7408. lt_prog_compiler_static='$wl-static'
  7409. ;;
  7410. esac
  7411. ;;
  7412. darwin* | rhapsody*)
  7413. # PIC is the default on this platform
  7414. # Common symbols not allowed in MH_DYLIB files
  7415. lt_prog_compiler_pic='-fno-common'
  7416. ;;
  7417. haiku*)
  7418. # PIC is the default for Haiku.
  7419. # The "-static" flag exists, but is broken.
  7420. lt_prog_compiler_static=
  7421. ;;
  7422. hpux*)
  7423. # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
  7424. # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
  7425. # sets the default TLS model and affects inlining.
  7426. case $host_cpu in
  7427. hppa*64*)
  7428. # +Z the default
  7429. ;;
  7430. *)
  7431. lt_prog_compiler_pic='-fPIC'
  7432. ;;
  7433. esac
  7434. ;;
  7435. interix[3-9]*)
  7436. # Interix 3.x gcc -fpic/-fPIC options generate broken code.
  7437. # Instead, we relocate shared libraries at runtime.
  7438. ;;
  7439. msdosdjgpp*)
  7440. # Just because we use GCC doesn't mean we suddenly get shared libraries
  7441. # on systems that don't support them.
  7442. lt_prog_compiler_can_build_shared=no
  7443. enable_shared=no
  7444. ;;
  7445. *nto* | *qnx*)
  7446. # QNX uses GNU C++, but need to define -shared option too, otherwise
  7447. # it will coredump.
  7448. lt_prog_compiler_pic='-fPIC -shared'
  7449. ;;
  7450. sysv4*MP*)
  7451. if test -d /usr/nec; then
  7452. lt_prog_compiler_pic=-Kconform_pic
  7453. fi
  7454. ;;
  7455. *)
  7456. lt_prog_compiler_pic='-fPIC'
  7457. ;;
  7458. esac
  7459. case $cc_basename in
  7460. nvcc*) # Cuda Compiler Driver 2.2
  7461. lt_prog_compiler_wl='-Xlinker '
  7462. if test -n "$lt_prog_compiler_pic"; then
  7463. lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
  7464. fi
  7465. ;;
  7466. esac
  7467. else
  7468. # PORTME Check for flag to pass linker flags through the system compiler.
  7469. case $host_os in
  7470. aix*)
  7471. lt_prog_compiler_wl='-Wl,'
  7472. if test ia64 = "$host_cpu"; then
  7473. # AIX 5 now supports IA64 processor
  7474. lt_prog_compiler_static='-Bstatic'
  7475. else
  7476. lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
  7477. fi
  7478. ;;
  7479. darwin* | rhapsody*)
  7480. # PIC is the default on this platform
  7481. # Common symbols not allowed in MH_DYLIB files
  7482. lt_prog_compiler_pic='-fno-common'
  7483. case $cc_basename in
  7484. nagfor*)
  7485. # NAG Fortran compiler
  7486. lt_prog_compiler_wl='-Wl,-Wl,,'
  7487. lt_prog_compiler_pic='-PIC'
  7488. lt_prog_compiler_static='-Bstatic'
  7489. ;;
  7490. esac
  7491. ;;
  7492. mingw* | cygwin* | pw32* | os2* | cegcc*)
  7493. # This hack is so that the source file can tell whether it is being
  7494. # built for inclusion in a dll (and should export symbols for example).
  7495. lt_prog_compiler_pic='-DDLL_EXPORT'
  7496. case $host_os in
  7497. os2*)
  7498. lt_prog_compiler_static='$wl-static'
  7499. ;;
  7500. esac
  7501. ;;
  7502. hpux9* | hpux10* | hpux11*)
  7503. lt_prog_compiler_wl='-Wl,'
  7504. # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
  7505. # not for PA HP-UX.
  7506. case $host_cpu in
  7507. hppa*64*|ia64*)
  7508. # +Z the default
  7509. ;;
  7510. *)
  7511. lt_prog_compiler_pic='+Z'
  7512. ;;
  7513. esac
  7514. # Is there a better lt_prog_compiler_static that works with the bundled CC?
  7515. lt_prog_compiler_static='$wl-a ${wl}archive'
  7516. ;;
  7517. irix5* | irix6* | nonstopux*)
  7518. lt_prog_compiler_wl='-Wl,'
  7519. # PIC (with -KPIC) is the default.
  7520. lt_prog_compiler_static='-non_shared'
  7521. ;;
  7522. linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
  7523. case $cc_basename in
  7524. # old Intel for x86_64, which still supported -KPIC.
  7525. ecc*)
  7526. lt_prog_compiler_wl='-Wl,'
  7527. lt_prog_compiler_pic='-KPIC'
  7528. lt_prog_compiler_static='-static'
  7529. ;;
  7530. # icc used to be incompatible with GCC.
  7531. # ICC 10 doesn't accept -KPIC any more.
  7532. icc* | ifort*)
  7533. lt_prog_compiler_wl='-Wl,'
  7534. lt_prog_compiler_pic='-fPIC'
  7535. lt_prog_compiler_static='-static'
  7536. ;;
  7537. # Lahey Fortran 8.1.
  7538. lf95*)
  7539. lt_prog_compiler_wl='-Wl,'
  7540. lt_prog_compiler_pic='--shared'
  7541. lt_prog_compiler_static='--static'
  7542. ;;
  7543. nagfor*)
  7544. # NAG Fortran compiler
  7545. lt_prog_compiler_wl='-Wl,-Wl,,'
  7546. lt_prog_compiler_pic='-PIC'
  7547. lt_prog_compiler_static='-Bstatic'
  7548. ;;
  7549. tcc*)
  7550. # Fabrice Bellard et al's Tiny C Compiler
  7551. lt_prog_compiler_wl='-Wl,'
  7552. lt_prog_compiler_pic='-fPIC'
  7553. lt_prog_compiler_static='-static'
  7554. ;;
  7555. pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
  7556. # Portland Group compilers (*not* the Pentium gcc compiler,
  7557. # which looks to be a dead project)
  7558. lt_prog_compiler_wl='-Wl,'
  7559. lt_prog_compiler_pic='-fpic'
  7560. lt_prog_compiler_static='-Bstatic'
  7561. ;;
  7562. ccc*)
  7563. lt_prog_compiler_wl='-Wl,'
  7564. # All Alpha code is PIC.
  7565. lt_prog_compiler_static='-non_shared'
  7566. ;;
  7567. xl* | bgxl* | bgf* | mpixl*)
  7568. # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
  7569. lt_prog_compiler_wl='-Wl,'
  7570. lt_prog_compiler_pic='-qpic'
  7571. lt_prog_compiler_static='-qstaticlink'
  7572. ;;
  7573. *)
  7574. case `$CC -V 2>&1 | sed 5q` in
  7575. *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
  7576. # Sun Fortran 8.3 passes all unrecognized flags to the linker
  7577. lt_prog_compiler_pic='-KPIC'
  7578. lt_prog_compiler_static='-Bstatic'
  7579. lt_prog_compiler_wl=''
  7580. ;;
  7581. *Sun\ F* | *Sun*Fortran*)
  7582. lt_prog_compiler_pic='-KPIC'
  7583. lt_prog_compiler_static='-Bstatic'
  7584. lt_prog_compiler_wl='-Qoption ld '
  7585. ;;
  7586. *Sun\ C*)
  7587. # Sun C 5.9
  7588. lt_prog_compiler_pic='-KPIC'
  7589. lt_prog_compiler_static='-Bstatic'
  7590. lt_prog_compiler_wl='-Wl,'
  7591. ;;
  7592. *Intel*\ [CF]*Compiler*)
  7593. lt_prog_compiler_wl='-Wl,'
  7594. lt_prog_compiler_pic='-fPIC'
  7595. lt_prog_compiler_static='-static'
  7596. ;;
  7597. *Portland\ Group*)
  7598. lt_prog_compiler_wl='-Wl,'
  7599. lt_prog_compiler_pic='-fpic'
  7600. lt_prog_compiler_static='-Bstatic'
  7601. ;;
  7602. esac
  7603. ;;
  7604. esac
  7605. ;;
  7606. newsos6)
  7607. lt_prog_compiler_pic='-KPIC'
  7608. lt_prog_compiler_static='-Bstatic'
  7609. ;;
  7610. *nto* | *qnx*)
  7611. # QNX uses GNU C++, but need to define -shared option too, otherwise
  7612. # it will coredump.
  7613. lt_prog_compiler_pic='-fPIC -shared'
  7614. ;;
  7615. osf3* | osf4* | osf5*)
  7616. lt_prog_compiler_wl='-Wl,'
  7617. # All OSF/1 code is PIC.
  7618. lt_prog_compiler_static='-non_shared'
  7619. ;;
  7620. rdos*)
  7621. lt_prog_compiler_static='-non_shared'
  7622. ;;
  7623. solaris*)
  7624. lt_prog_compiler_pic='-KPIC'
  7625. lt_prog_compiler_static='-Bstatic'
  7626. case $cc_basename in
  7627. f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
  7628. lt_prog_compiler_wl='-Qoption ld ';;
  7629. *)
  7630. lt_prog_compiler_wl='-Wl,';;
  7631. esac
  7632. ;;
  7633. sunos4*)
  7634. lt_prog_compiler_wl='-Qoption ld '
  7635. lt_prog_compiler_pic='-PIC'
  7636. lt_prog_compiler_static='-Bstatic'
  7637. ;;
  7638. sysv4 | sysv4.2uw2* | sysv4.3*)
  7639. lt_prog_compiler_wl='-Wl,'
  7640. lt_prog_compiler_pic='-KPIC'
  7641. lt_prog_compiler_static='-Bstatic'
  7642. ;;
  7643. sysv4*MP*)
  7644. if test -d /usr/nec; then
  7645. lt_prog_compiler_pic='-Kconform_pic'
  7646. lt_prog_compiler_static='-Bstatic'
  7647. fi
  7648. ;;
  7649. sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
  7650. lt_prog_compiler_wl='-Wl,'
  7651. lt_prog_compiler_pic='-KPIC'
  7652. lt_prog_compiler_static='-Bstatic'
  7653. ;;
  7654. unicos*)
  7655. lt_prog_compiler_wl='-Wl,'
  7656. lt_prog_compiler_can_build_shared=no
  7657. ;;
  7658. uts4*)
  7659. lt_prog_compiler_pic='-pic'
  7660. lt_prog_compiler_static='-Bstatic'
  7661. ;;
  7662. *)
  7663. lt_prog_compiler_can_build_shared=no
  7664. ;;
  7665. esac
  7666. fi
  7667. case $host_os in
  7668. # For platforms that do not support PIC, -DPIC is meaningless:
  7669. *djgpp*)
  7670. lt_prog_compiler_pic=
  7671. ;;
  7672. *)
  7673. lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
  7674. ;;
  7675. esac
  7676. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
  7677. $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
  7678. if ${lt_cv_prog_compiler_pic+:} false; then :
  7679. $as_echo_n "(cached) " >&6
  7680. else
  7681. lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
  7682. fi
  7683. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
  7684. $as_echo "$lt_cv_prog_compiler_pic" >&6; }
  7685. lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
  7686. #
  7687. # Check to make sure the PIC flag actually works.
  7688. #
  7689. if test -n "$lt_prog_compiler_pic"; then
  7690. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
  7691. $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
  7692. if ${lt_cv_prog_compiler_pic_works+:} false; then :
  7693. $as_echo_n "(cached) " >&6
  7694. else
  7695. lt_cv_prog_compiler_pic_works=no
  7696. ac_outfile=conftest.$ac_objext
  7697. echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  7698. lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
  7699. # Insert the option either (1) after the last *FLAGS variable, or
  7700. # (2) before a word containing "conftest.", or (3) at the end.
  7701. # Note that $ac_compile itself does not contain backslashes and begins
  7702. # with a dollar sign (not a hyphen), so the echo should work correctly.
  7703. # The option is referenced via a variable to avoid confusing sed.
  7704. lt_compile=`echo "$ac_compile" | $SED \
  7705. -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  7706. -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  7707. -e 's:$: $lt_compiler_flag:'`
  7708. (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  7709. (eval "$lt_compile" 2>conftest.err)
  7710. ac_status=$?
  7711. cat conftest.err >&5
  7712. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7713. if (exit $ac_status) && test -s "$ac_outfile"; then
  7714. # The compiler can only warn and ignore the option if not recognized
  7715. # So say no if there are warnings other than the usual output.
  7716. $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
  7717. $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  7718. if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  7719. lt_cv_prog_compiler_pic_works=yes
  7720. fi
  7721. fi
  7722. $RM conftest*
  7723. fi
  7724. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
  7725. $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
  7726. if test yes = "$lt_cv_prog_compiler_pic_works"; then
  7727. case $lt_prog_compiler_pic in
  7728. "" | " "*) ;;
  7729. *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
  7730. esac
  7731. else
  7732. lt_prog_compiler_pic=
  7733. lt_prog_compiler_can_build_shared=no
  7734. fi
  7735. fi
  7736. #
  7737. # Check to make sure the static flag actually works.
  7738. #
  7739. wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
  7740. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
  7741. $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
  7742. if ${lt_cv_prog_compiler_static_works+:} false; then :
  7743. $as_echo_n "(cached) " >&6
  7744. else
  7745. lt_cv_prog_compiler_static_works=no
  7746. save_LDFLAGS=$LDFLAGS
  7747. LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
  7748. echo "$lt_simple_link_test_code" > conftest.$ac_ext
  7749. if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
  7750. # The linker can only warn and ignore the option if not recognized
  7751. # So say no if there are warnings
  7752. if test -s conftest.err; then
  7753. # Append any errors to the config.log.
  7754. cat conftest.err 1>&5
  7755. $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
  7756. $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  7757. if diff conftest.exp conftest.er2 >/dev/null; then
  7758. lt_cv_prog_compiler_static_works=yes
  7759. fi
  7760. else
  7761. lt_cv_prog_compiler_static_works=yes
  7762. fi
  7763. fi
  7764. $RM -r conftest*
  7765. LDFLAGS=$save_LDFLAGS
  7766. fi
  7767. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
  7768. $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
  7769. if test yes = "$lt_cv_prog_compiler_static_works"; then
  7770. :
  7771. else
  7772. lt_prog_compiler_static=
  7773. fi
  7774. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
  7775. $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
  7776. if ${lt_cv_prog_compiler_c_o+:} false; then :
  7777. $as_echo_n "(cached) " >&6
  7778. else
  7779. lt_cv_prog_compiler_c_o=no
  7780. $RM -r conftest 2>/dev/null
  7781. mkdir conftest
  7782. cd conftest
  7783. mkdir out
  7784. echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  7785. lt_compiler_flag="-o out/conftest2.$ac_objext"
  7786. # Insert the option either (1) after the last *FLAGS variable, or
  7787. # (2) before a word containing "conftest.", or (3) at the end.
  7788. # Note that $ac_compile itself does not contain backslashes and begins
  7789. # with a dollar sign (not a hyphen), so the echo should work correctly.
  7790. lt_compile=`echo "$ac_compile" | $SED \
  7791. -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  7792. -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  7793. -e 's:$: $lt_compiler_flag:'`
  7794. (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  7795. (eval "$lt_compile" 2>out/conftest.err)
  7796. ac_status=$?
  7797. cat out/conftest.err >&5
  7798. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7799. if (exit $ac_status) && test -s out/conftest2.$ac_objext
  7800. then
  7801. # The compiler can only warn and ignore the option if not recognized
  7802. # So say no if there are warnings
  7803. $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
  7804. $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  7805. if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  7806. lt_cv_prog_compiler_c_o=yes
  7807. fi
  7808. fi
  7809. chmod u+w . 2>&5
  7810. $RM conftest*
  7811. # SGI C++ compiler will create directory out/ii_files/ for
  7812. # template instantiation
  7813. test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
  7814. $RM out/* && rmdir out
  7815. cd ..
  7816. $RM -r conftest
  7817. $RM conftest*
  7818. fi
  7819. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
  7820. $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
  7821. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
  7822. $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
  7823. if ${lt_cv_prog_compiler_c_o+:} false; then :
  7824. $as_echo_n "(cached) " >&6
  7825. else
  7826. lt_cv_prog_compiler_c_o=no
  7827. $RM -r conftest 2>/dev/null
  7828. mkdir conftest
  7829. cd conftest
  7830. mkdir out
  7831. echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  7832. lt_compiler_flag="-o out/conftest2.$ac_objext"
  7833. # Insert the option either (1) after the last *FLAGS variable, or
  7834. # (2) before a word containing "conftest.", or (3) at the end.
  7835. # Note that $ac_compile itself does not contain backslashes and begins
  7836. # with a dollar sign (not a hyphen), so the echo should work correctly.
  7837. lt_compile=`echo "$ac_compile" | $SED \
  7838. -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  7839. -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  7840. -e 's:$: $lt_compiler_flag:'`
  7841. (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  7842. (eval "$lt_compile" 2>out/conftest.err)
  7843. ac_status=$?
  7844. cat out/conftest.err >&5
  7845. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7846. if (exit $ac_status) && test -s out/conftest2.$ac_objext
  7847. then
  7848. # The compiler can only warn and ignore the option if not recognized
  7849. # So say no if there are warnings
  7850. $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
  7851. $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  7852. if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  7853. lt_cv_prog_compiler_c_o=yes
  7854. fi
  7855. fi
  7856. chmod u+w . 2>&5
  7857. $RM conftest*
  7858. # SGI C++ compiler will create directory out/ii_files/ for
  7859. # template instantiation
  7860. test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
  7861. $RM out/* && rmdir out
  7862. cd ..
  7863. $RM -r conftest
  7864. $RM conftest*
  7865. fi
  7866. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
  7867. $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
  7868. hard_links=nottested
  7869. if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
  7870. # do not overwrite the value of need_locks provided by the user
  7871. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
  7872. $as_echo_n "checking if we can lock with hard links... " >&6; }
  7873. hard_links=yes
  7874. $RM conftest*
  7875. ln conftest.a conftest.b 2>/dev/null && hard_links=no
  7876. touch conftest.a
  7877. ln conftest.a conftest.b 2>&5 || hard_links=no
  7878. ln conftest.a conftest.b 2>/dev/null && hard_links=no
  7879. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
  7880. $as_echo "$hard_links" >&6; }
  7881. if test no = "$hard_links"; then
  7882. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
  7883. $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
  7884. need_locks=warn
  7885. fi
  7886. else
  7887. need_locks=no
  7888. fi
  7889. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
  7890. $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
  7891. runpath_var=
  7892. allow_undefined_flag=
  7893. always_export_symbols=no
  7894. archive_cmds=
  7895. archive_expsym_cmds=
  7896. compiler_needs_object=no
  7897. enable_shared_with_static_runtimes=no
  7898. export_dynamic_flag_spec=
  7899. export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  7900. hardcode_automatic=no
  7901. hardcode_direct=no
  7902. hardcode_direct_absolute=no
  7903. hardcode_libdir_flag_spec=
  7904. hardcode_libdir_separator=
  7905. hardcode_minus_L=no
  7906. hardcode_shlibpath_var=unsupported
  7907. inherit_rpath=no
  7908. link_all_deplibs=unknown
  7909. module_cmds=
  7910. module_expsym_cmds=
  7911. old_archive_from_new_cmds=
  7912. old_archive_from_expsyms_cmds=
  7913. thread_safe_flag_spec=
  7914. whole_archive_flag_spec=
  7915. # include_expsyms should be a list of space-separated symbols to be *always*
  7916. # included in the symbol list
  7917. include_expsyms=
  7918. # exclude_expsyms can be an extended regexp of symbols to exclude
  7919. # it will be wrapped by ' (' and ')$', so one must not match beginning or
  7920. # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
  7921. # as well as any symbol that contains 'd'.
  7922. exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
  7923. # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
  7924. # platforms (ab)use it in PIC code, but their linkers get confused if
  7925. # the symbol is explicitly referenced. Since portable code cannot
  7926. # rely on this symbol name, it's probably fine to never include it in
  7927. # preloaded symbol tables.
  7928. # Exclude shared library initialization/finalization symbols.
  7929. extract_expsyms_cmds=
  7930. case $host_os in
  7931. cygwin* | mingw* | pw32* | cegcc*)
  7932. # FIXME: the MSVC++ port hasn't been tested in a loooong time
  7933. # When not using gcc, we currently assume that we are using
  7934. # Microsoft Visual C++.
  7935. if test yes != "$GCC"; then
  7936. with_gnu_ld=no
  7937. fi
  7938. ;;
  7939. interix*)
  7940. # we just hope/assume this is gcc and not c89 (= MSVC++)
  7941. with_gnu_ld=yes
  7942. ;;
  7943. openbsd* | bitrig*)
  7944. with_gnu_ld=no
  7945. ;;
  7946. esac
  7947. ld_shlibs=yes
  7948. # On some targets, GNU ld is compatible enough with the native linker
  7949. # that we're better off using the native interface for both.
  7950. lt_use_gnu_ld_interface=no
  7951. if test yes = "$with_gnu_ld"; then
  7952. case $host_os in
  7953. aix*)
  7954. # The AIX port of GNU ld has always aspired to compatibility
  7955. # with the native linker. However, as the warning in the GNU ld
  7956. # block says, versions before 2.19.5* couldn't really create working
  7957. # shared libraries, regardless of the interface used.
  7958. case `$LD -v 2>&1` in
  7959. *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
  7960. *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
  7961. *\ \(GNU\ Binutils\)\ [3-9]*) ;;
  7962. *)
  7963. lt_use_gnu_ld_interface=yes
  7964. ;;
  7965. esac
  7966. ;;
  7967. *)
  7968. lt_use_gnu_ld_interface=yes
  7969. ;;
  7970. esac
  7971. fi
  7972. if test yes = "$lt_use_gnu_ld_interface"; then
  7973. # If archive_cmds runs LD, not CC, wlarc should be empty
  7974. wlarc='$wl'
  7975. # Set some defaults for GNU ld with shared library support. These
  7976. # are reset later if shared libraries are not supported. Putting them
  7977. # here allows them to be overridden if necessary.
  7978. runpath_var=LD_RUN_PATH
  7979. hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
  7980. export_dynamic_flag_spec='$wl--export-dynamic'
  7981. # ancient GNU ld didn't support --whole-archive et. al.
  7982. if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
  7983. whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
  7984. else
  7985. whole_archive_flag_spec=
  7986. fi
  7987. supports_anon_versioning=no
  7988. case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
  7989. *GNU\ gold*) supports_anon_versioning=yes ;;
  7990. *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
  7991. *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
  7992. *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
  7993. *\ 2.11.*) ;; # other 2.11 versions
  7994. *) supports_anon_versioning=yes ;;
  7995. esac
  7996. # See if GNU ld supports shared libraries.
  7997. case $host_os in
  7998. aix[3-9]*)
  7999. # On AIX/PPC, the GNU linker is very broken
  8000. if test ia64 != "$host_cpu"; then
  8001. ld_shlibs=no
  8002. cat <<_LT_EOF 1>&2
  8003. *** Warning: the GNU linker, at least up to release 2.19, is reported
  8004. *** to be unable to reliably create shared libraries on AIX.
  8005. *** Therefore, libtool is disabling shared libraries support. If you
  8006. *** really care for shared libraries, you may want to install binutils
  8007. *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
  8008. *** You will then need to restart the configuration process.
  8009. _LT_EOF
  8010. fi
  8011. ;;
  8012. amigaos*)
  8013. case $host_cpu in
  8014. powerpc)
  8015. # see comment about AmigaOS4 .so support
  8016. archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  8017. archive_expsym_cmds=''
  8018. ;;
  8019. m68k)
  8020. 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)'
  8021. hardcode_libdir_flag_spec='-L$libdir'
  8022. hardcode_minus_L=yes
  8023. ;;
  8024. esac
  8025. ;;
  8026. beos*)
  8027. if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  8028. allow_undefined_flag=unsupported
  8029. # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
  8030. # support --undefined. This deserves some investigation. FIXME
  8031. archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  8032. else
  8033. ld_shlibs=no
  8034. fi
  8035. ;;
  8036. cygwin* | mingw* | pw32* | cegcc*)
  8037. # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
  8038. # as there is no search path for DLLs.
  8039. hardcode_libdir_flag_spec='-L$libdir'
  8040. export_dynamic_flag_spec='$wl--export-all-symbols'
  8041. allow_undefined_flag=unsupported
  8042. always_export_symbols=no
  8043. enable_shared_with_static_runtimes=yes
  8044. 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'
  8045. exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
  8046. if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
  8047. archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  8048. # If the export-symbols file already is a .def file, use it as
  8049. # is; otherwise, prepend EXPORTS...
  8050. archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
  8051. cp $export_symbols $output_objdir/$soname.def;
  8052. else
  8053. echo EXPORTS > $output_objdir/$soname.def;
  8054. cat $export_symbols >> $output_objdir/$soname.def;
  8055. fi~
  8056. $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  8057. else
  8058. ld_shlibs=no
  8059. fi
  8060. ;;
  8061. haiku*)
  8062. archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  8063. link_all_deplibs=yes
  8064. ;;
  8065. os2*)
  8066. hardcode_libdir_flag_spec='-L$libdir'
  8067. hardcode_minus_L=yes
  8068. allow_undefined_flag=unsupported
  8069. shrext_cmds=.dll
  8070. archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
  8071. $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
  8072. $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
  8073. $ECHO EXPORTS >> $output_objdir/$libname.def~
  8074. emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
  8075. $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
  8076. emximp -o $lib $output_objdir/$libname.def'
  8077. archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
  8078. $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
  8079. $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
  8080. $ECHO EXPORTS >> $output_objdir/$libname.def~
  8081. prefix_cmds="$SED"~
  8082. if test EXPORTS = "`$SED 1q $export_symbols`"; then
  8083. prefix_cmds="$prefix_cmds -e 1d";
  8084. fi~
  8085. prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
  8086. cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
  8087. $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
  8088. emximp -o $lib $output_objdir/$libname.def'
  8089. old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
  8090. enable_shared_with_static_runtimes=yes
  8091. ;;
  8092. interix[3-9]*)
  8093. hardcode_direct=no
  8094. hardcode_shlibpath_var=no
  8095. hardcode_libdir_flag_spec='$wl-rpath,$libdir'
  8096. export_dynamic_flag_spec='$wl-E'
  8097. # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
  8098. # Instead, shared libraries are loaded at an image base (0x10000000 by
  8099. # default) and relocated if they conflict, which is a slow very memory
  8100. # consuming and fragmenting process. To avoid this, we pick a random,
  8101. # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
  8102. # time. Moving up from 0x10000000 also allows more sbrk(2) space.
  8103. archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
  8104. 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'
  8105. ;;
  8106. gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
  8107. tmp_diet=no
  8108. if test linux-dietlibc = "$host_os"; then
  8109. case $cc_basename in
  8110. diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
  8111. esac
  8112. fi
  8113. if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
  8114. && test no = "$tmp_diet"
  8115. then
  8116. tmp_addflag=' $pic_flag'
  8117. tmp_sharedflag='-shared'
  8118. case $cc_basename,$host_cpu in
  8119. pgcc*) # Portland Group C compiler
  8120. 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'
  8121. tmp_addflag=' $pic_flag'
  8122. ;;
  8123. pgf77* | pgf90* | pgf95* | pgfortran*)
  8124. # Portland Group f77 and f90 compilers
  8125. 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'
  8126. tmp_addflag=' $pic_flag -Mnomain' ;;
  8127. ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
  8128. tmp_addflag=' -i_dynamic' ;;
  8129. efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
  8130. tmp_addflag=' -i_dynamic -nofor_main' ;;
  8131. ifc* | ifort*) # Intel Fortran compiler
  8132. tmp_addflag=' -nofor_main' ;;
  8133. lf95*) # Lahey Fortran 8.1
  8134. whole_archive_flag_spec=
  8135. tmp_sharedflag='--shared' ;;
  8136. nagfor*) # NAGFOR 5.3
  8137. tmp_sharedflag='-Wl,-shared' ;;
  8138. xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
  8139. tmp_sharedflag='-qmkshrobj'
  8140. tmp_addflag= ;;
  8141. nvcc*) # Cuda Compiler Driver 2.2
  8142. 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'
  8143. compiler_needs_object=yes
  8144. ;;
  8145. esac
  8146. case `$CC -V 2>&1 | sed 5q` in
  8147. *Sun\ C*) # Sun C 5.9
  8148. 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'
  8149. compiler_needs_object=yes
  8150. tmp_sharedflag='-G' ;;
  8151. *Sun\ F*) # Sun Fortran 8.3
  8152. tmp_sharedflag='-G' ;;
  8153. esac
  8154. archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  8155. if test yes = "$supports_anon_versioning"; then
  8156. archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
  8157. cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  8158. echo "local: *; };" >> $output_objdir/$libname.ver~
  8159. $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
  8160. fi
  8161. case $cc_basename in
  8162. tcc*)
  8163. export_dynamic_flag_spec='-rdynamic'
  8164. ;;
  8165. xlf* | bgf* | bgxlf* | mpixlf*)
  8166. # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
  8167. whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
  8168. hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
  8169. archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
  8170. if test yes = "$supports_anon_versioning"; then
  8171. archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
  8172. cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  8173. echo "local: *; };" >> $output_objdir/$libname.ver~
  8174. $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
  8175. fi
  8176. ;;
  8177. esac
  8178. else
  8179. ld_shlibs=no
  8180. fi
  8181. ;;
  8182. netbsd*)
  8183. if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  8184. archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
  8185. wlarc=
  8186. else
  8187. archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  8188. archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
  8189. fi
  8190. ;;
  8191. solaris*)
  8192. if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
  8193. ld_shlibs=no
  8194. cat <<_LT_EOF 1>&2
  8195. *** Warning: The releases 2.8.* of the GNU linker cannot reliably
  8196. *** create shared libraries on Solaris systems. Therefore, libtool
  8197. *** is disabling shared libraries support. We urge you to upgrade GNU
  8198. *** binutils to release 2.9.1 or newer. Another option is to modify
  8199. *** your PATH or compiler configuration so that the native linker is
  8200. *** used, and then restart.
  8201. _LT_EOF
  8202. elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  8203. archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  8204. archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
  8205. else
  8206. ld_shlibs=no
  8207. fi
  8208. ;;
  8209. sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
  8210. case `$LD -v 2>&1` in
  8211. *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
  8212. ld_shlibs=no
  8213. cat <<_LT_EOF 1>&2
  8214. *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
  8215. *** reliably create shared libraries on SCO systems. Therefore, libtool
  8216. *** is disabling shared libraries support. We urge you to upgrade GNU
  8217. *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
  8218. *** your PATH or compiler configuration so that the native linker is
  8219. *** used, and then restart.
  8220. _LT_EOF
  8221. ;;
  8222. *)
  8223. # For security reasons, it is highly recommended that you always
  8224. # use absolute paths for naming shared libraries, and exclude the
  8225. # DT_RUNPATH tag from executables and libraries. But doing so
  8226. # requires that you compile everything twice, which is a pain.
  8227. if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  8228. hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
  8229. archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  8230. archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
  8231. else
  8232. ld_shlibs=no
  8233. fi
  8234. ;;
  8235. esac
  8236. ;;
  8237. sunos4*)
  8238. archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  8239. wlarc=
  8240. hardcode_direct=yes
  8241. hardcode_shlibpath_var=no
  8242. ;;
  8243. *)
  8244. if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  8245. archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  8246. archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
  8247. else
  8248. ld_shlibs=no
  8249. fi
  8250. ;;
  8251. esac
  8252. if test no = "$ld_shlibs"; then
  8253. runpath_var=
  8254. hardcode_libdir_flag_spec=
  8255. export_dynamic_flag_spec=
  8256. whole_archive_flag_spec=
  8257. fi
  8258. else
  8259. # PORTME fill in a description of your system's linker (not GNU ld)
  8260. case $host_os in
  8261. aix3*)
  8262. allow_undefined_flag=unsupported
  8263. always_export_symbols=yes
  8264. 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'
  8265. # Note: this linker hardcodes the directories in LIBPATH if there
  8266. # are no directories specified by -L.
  8267. hardcode_minus_L=yes
  8268. if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
  8269. # Neither direct hardcoding nor static linking is supported with a
  8270. # broken collect2.
  8271. hardcode_direct=unsupported
  8272. fi
  8273. ;;
  8274. aix[4-9]*)
  8275. if test ia64 = "$host_cpu"; then
  8276. # On IA64, the linker does run time linking by default, so we don't
  8277. # have to do anything special.
  8278. aix_use_runtimelinking=no
  8279. exp_sym_flag='-Bexport'
  8280. no_entry_flag=
  8281. else
  8282. # If we're using GNU nm, then we don't want the "-C" option.
  8283. # -C means demangle to GNU nm, but means don't demangle to AIX nm.
  8284. # Without the "-l" option, or with the "-B" option, AIX nm treats
  8285. # weak defined symbols like other global defined symbols, whereas
  8286. # GNU nm marks them as "W".
  8287. # While the 'weak' keyword is ignored in the Export File, we need
  8288. # it in the Import File for the 'aix-soname' feature, so we have
  8289. # to replace the "-B" option with "-P" for AIX nm.
  8290. if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
  8291. 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'
  8292. else
  8293. 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'
  8294. fi
  8295. aix_use_runtimelinking=no
  8296. # Test if we are trying to use run time linking or normal
  8297. # AIX style linking. If -brtl is somewhere in LDFLAGS, we
  8298. # have runtime linking enabled, and use it for executables.
  8299. # For shared libraries, we enable/disable runtime linking
  8300. # depending on the kind of the shared library created -
  8301. # when "with_aix_soname,aix_use_runtimelinking" is:
  8302. # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
  8303. # "aix,yes" lib.so shared, rtl:yes, for executables
  8304. # lib.a static archive
  8305. # "both,no" lib.so.V(shr.o) shared, rtl:yes
  8306. # lib.a(lib.so.V) shared, rtl:no, for executables
  8307. # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
  8308. # lib.a(lib.so.V) shared, rtl:no
  8309. # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
  8310. # lib.a static archive
  8311. case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
  8312. for ld_flag in $LDFLAGS; do
  8313. if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
  8314. aix_use_runtimelinking=yes
  8315. break
  8316. fi
  8317. done
  8318. if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
  8319. # With aix-soname=svr4, we create the lib.so.V shared archives only,
  8320. # so we don't have lib.a shared libs to link our executables.
  8321. # We have to force runtime linking in this case.
  8322. aix_use_runtimelinking=yes
  8323. LDFLAGS="$LDFLAGS -Wl,-brtl"
  8324. fi
  8325. ;;
  8326. esac
  8327. exp_sym_flag='-bexport'
  8328. no_entry_flag='-bnoentry'
  8329. fi
  8330. # When large executables or shared objects are built, AIX ld can
  8331. # have problems creating the table of contents. If linking a library
  8332. # or program results in "error TOC overflow" add -mminimal-toc to
  8333. # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
  8334. # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
  8335. archive_cmds=''
  8336. hardcode_direct=yes
  8337. hardcode_direct_absolute=yes
  8338. hardcode_libdir_separator=':'
  8339. link_all_deplibs=yes
  8340. file_list_spec='$wl-f,'
  8341. case $with_aix_soname,$aix_use_runtimelinking in
  8342. aix,*) ;; # traditional, no import file
  8343. svr4,* | *,yes) # use import file
  8344. # The Import File defines what to hardcode.
  8345. hardcode_direct=no
  8346. hardcode_direct_absolute=no
  8347. ;;
  8348. esac
  8349. if test yes = "$GCC"; then
  8350. case $host_os in aix4.[012]|aix4.[012].*)
  8351. # We only want to do this on AIX 4.2 and lower, the check
  8352. # below for broken collect2 doesn't work under 4.3+
  8353. collect2name=`$CC -print-prog-name=collect2`
  8354. if test -f "$collect2name" &&
  8355. strings "$collect2name" | $GREP resolve_lib_name >/dev/null
  8356. then
  8357. # We have reworked collect2
  8358. :
  8359. else
  8360. # We have old collect2
  8361. hardcode_direct=unsupported
  8362. # It fails to find uninstalled libraries when the uninstalled
  8363. # path is not listed in the libpath. Setting hardcode_minus_L
  8364. # to unsupported forces relinking
  8365. hardcode_minus_L=yes
  8366. hardcode_libdir_flag_spec='-L$libdir'
  8367. hardcode_libdir_separator=
  8368. fi
  8369. ;;
  8370. esac
  8371. shared_flag='-shared'
  8372. if test yes = "$aix_use_runtimelinking"; then
  8373. shared_flag="$shared_flag "'$wl-G'
  8374. fi
  8375. # Need to ensure runtime linking is disabled for the traditional
  8376. # shared library, or the linker may eventually find shared libraries
  8377. # /with/ Import File - we do not want to mix them.
  8378. shared_flag_aix='-shared'
  8379. shared_flag_svr4='-shared $wl-G'
  8380. else
  8381. # not using gcc
  8382. if test ia64 = "$host_cpu"; then
  8383. # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
  8384. # chokes on -Wl,-G. The following line is correct:
  8385. shared_flag='-G'
  8386. else
  8387. if test yes = "$aix_use_runtimelinking"; then
  8388. shared_flag='$wl-G'
  8389. else
  8390. shared_flag='$wl-bM:SRE'
  8391. fi
  8392. shared_flag_aix='$wl-bM:SRE'
  8393. shared_flag_svr4='$wl-G'
  8394. fi
  8395. fi
  8396. export_dynamic_flag_spec='$wl-bexpall'
  8397. # It seems that -bexpall does not export symbols beginning with
  8398. # underscore (_), so it is better to generate a list of symbols to export.
  8399. always_export_symbols=yes
  8400. if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
  8401. # Warning - without using the other runtime loading flags (-brtl),
  8402. # -berok will link without error, but may produce a broken library.
  8403. allow_undefined_flag='-berok'
  8404. # Determine the default libpath from the value encoded in an
  8405. # empty executable.
  8406. if test set = "${lt_cv_aix_libpath+set}"; then
  8407. aix_libpath=$lt_cv_aix_libpath
  8408. else
  8409. if ${lt_cv_aix_libpath_+:} false; then :
  8410. $as_echo_n "(cached) " >&6
  8411. else
  8412. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8413. /* end confdefs.h. */
  8414. int
  8415. main ()
  8416. {
  8417. ;
  8418. return 0;
  8419. }
  8420. _ACEOF
  8421. if ac_fn_c_try_link "$LINENO"; then :
  8422. lt_aix_libpath_sed='
  8423. /Import File Strings/,/^$/ {
  8424. /^0/ {
  8425. s/^0 *\([^ ]*\) *$/\1/
  8426. p
  8427. }
  8428. }'
  8429. lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  8430. # Check for a 64-bit object if we didn't find anything.
  8431. if test -z "$lt_cv_aix_libpath_"; then
  8432. lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  8433. fi
  8434. fi
  8435. rm -f core conftest.err conftest.$ac_objext \
  8436. conftest$ac_exeext conftest.$ac_ext
  8437. if test -z "$lt_cv_aix_libpath_"; then
  8438. lt_cv_aix_libpath_=/usr/lib:/lib
  8439. fi
  8440. fi
  8441. aix_libpath=$lt_cv_aix_libpath_
  8442. fi
  8443. hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
  8444. 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
  8445. else
  8446. if test ia64 = "$host_cpu"; then
  8447. hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
  8448. allow_undefined_flag="-z nodefs"
  8449. 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"
  8450. else
  8451. # Determine the default libpath from the value encoded in an
  8452. # empty executable.
  8453. if test set = "${lt_cv_aix_libpath+set}"; then
  8454. aix_libpath=$lt_cv_aix_libpath
  8455. else
  8456. if ${lt_cv_aix_libpath_+:} false; then :
  8457. $as_echo_n "(cached) " >&6
  8458. else
  8459. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8460. /* end confdefs.h. */
  8461. int
  8462. main ()
  8463. {
  8464. ;
  8465. return 0;
  8466. }
  8467. _ACEOF
  8468. if ac_fn_c_try_link "$LINENO"; then :
  8469. lt_aix_libpath_sed='
  8470. /Import File Strings/,/^$/ {
  8471. /^0/ {
  8472. s/^0 *\([^ ]*\) *$/\1/
  8473. p
  8474. }
  8475. }'
  8476. lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  8477. # Check for a 64-bit object if we didn't find anything.
  8478. if test -z "$lt_cv_aix_libpath_"; then
  8479. lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  8480. fi
  8481. fi
  8482. rm -f core conftest.err conftest.$ac_objext \
  8483. conftest$ac_exeext conftest.$ac_ext
  8484. if test -z "$lt_cv_aix_libpath_"; then
  8485. lt_cv_aix_libpath_=/usr/lib:/lib
  8486. fi
  8487. fi
  8488. aix_libpath=$lt_cv_aix_libpath_
  8489. fi
  8490. hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
  8491. # Warning - without using the other run time loading flags,
  8492. # -berok will link without error, but may produce a broken library.
  8493. no_undefined_flag=' $wl-bernotok'
  8494. allow_undefined_flag=' $wl-berok'
  8495. if test yes = "$with_gnu_ld"; then
  8496. # We only use this code for GNU lds that support --whole-archive.
  8497. whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
  8498. else
  8499. # Exported symbols can be pulled into shared objects from archives
  8500. whole_archive_flag_spec='$convenience'
  8501. fi
  8502. archive_cmds_need_lc=yes
  8503. archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
  8504. # -brtl affects multiple linker settings, -berok does not and is overridden later
  8505. compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
  8506. if test svr4 != "$with_aix_soname"; then
  8507. # This is similar to how AIX traditionally builds its shared libraries.
  8508. 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'
  8509. fi
  8510. if test aix != "$with_aix_soname"; then
  8511. 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'
  8512. else
  8513. # used by -dlpreopen to get the symbols
  8514. archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
  8515. fi
  8516. archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
  8517. fi
  8518. fi
  8519. ;;
  8520. amigaos*)
  8521. case $host_cpu in
  8522. powerpc)
  8523. # see comment about AmigaOS4 .so support
  8524. archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  8525. archive_expsym_cmds=''
  8526. ;;
  8527. m68k)
  8528. 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)'
  8529. hardcode_libdir_flag_spec='-L$libdir'
  8530. hardcode_minus_L=yes
  8531. ;;
  8532. esac
  8533. ;;
  8534. bsdi[45]*)
  8535. export_dynamic_flag_spec=-rdynamic
  8536. ;;
  8537. cygwin* | mingw* | pw32* | cegcc*)
  8538. # When not using gcc, we currently assume that we are using
  8539. # Microsoft Visual C++.
  8540. # hardcode_libdir_flag_spec is actually meaningless, as there is
  8541. # no search path for DLLs.
  8542. case $cc_basename in
  8543. cl*)
  8544. # Native MSVC
  8545. hardcode_libdir_flag_spec=' '
  8546. allow_undefined_flag=unsupported
  8547. always_export_symbols=yes
  8548. file_list_spec='@'
  8549. # Tell ltmain to make .lib files, not .a files.
  8550. libext=lib
  8551. # Tell ltmain to make .dll files, not .so files.
  8552. shrext_cmds=.dll
  8553. # FIXME: Setting linknames here is a bad hack.
  8554. archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
  8555. archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
  8556. cp "$export_symbols" "$output_objdir/$soname.def";
  8557. echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
  8558. else
  8559. $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
  8560. fi~
  8561. $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
  8562. linknames='
  8563. # The linker will not automatically build a static lib if we build a DLL.
  8564. # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
  8565. enable_shared_with_static_runtimes=yes
  8566. exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
  8567. export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
  8568. # Don't use ranlib
  8569. old_postinstall_cmds='chmod 644 $oldlib'
  8570. postlink_cmds='lt_outputfile="@OUTPUT@"~
  8571. lt_tool_outputfile="@TOOL_OUTPUT@"~
  8572. case $lt_outputfile in
  8573. *.exe|*.EXE) ;;
  8574. *)
  8575. lt_outputfile=$lt_outputfile.exe
  8576. lt_tool_outputfile=$lt_tool_outputfile.exe
  8577. ;;
  8578. esac~
  8579. if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
  8580. $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
  8581. $RM "$lt_outputfile.manifest";
  8582. fi'
  8583. ;;
  8584. *)
  8585. # Assume MSVC wrapper
  8586. hardcode_libdir_flag_spec=' '
  8587. allow_undefined_flag=unsupported
  8588. # Tell ltmain to make .lib files, not .a files.
  8589. libext=lib
  8590. # Tell ltmain to make .dll files, not .so files.
  8591. shrext_cmds=.dll
  8592. # FIXME: Setting linknames here is a bad hack.
  8593. archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
  8594. # The linker will automatically build a .lib file if we build a DLL.
  8595. old_archive_from_new_cmds='true'
  8596. # FIXME: Should let the user specify the lib program.
  8597. old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
  8598. enable_shared_with_static_runtimes=yes
  8599. ;;
  8600. esac
  8601. ;;
  8602. darwin* | rhapsody*)
  8603. archive_cmds_need_lc=no
  8604. hardcode_direct=no
  8605. hardcode_automatic=yes
  8606. hardcode_shlibpath_var=unsupported
  8607. if test yes = "$lt_cv_ld_force_load"; then
  8608. 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\"`'
  8609. else
  8610. whole_archive_flag_spec=''
  8611. fi
  8612. link_all_deplibs=yes
  8613. allow_undefined_flag=$_lt_dar_allow_undefined
  8614. case $cc_basename in
  8615. ifort*|nagfor*) _lt_dar_can_shared=yes ;;
  8616. *) _lt_dar_can_shared=$GCC ;;
  8617. esac
  8618. if test yes = "$_lt_dar_can_shared"; then
  8619. output_verbose_link_cmd=func_echo_all
  8620. archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
  8621. module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
  8622. 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"
  8623. 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"
  8624. else
  8625. ld_shlibs=no
  8626. fi
  8627. ;;
  8628. dgux*)
  8629. archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  8630. hardcode_libdir_flag_spec='-L$libdir'
  8631. hardcode_shlibpath_var=no
  8632. ;;
  8633. # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
  8634. # support. Future versions do this automatically, but an explicit c++rt0.o
  8635. # does not break anything, and helps significantly (at the cost of a little
  8636. # extra space).
  8637. freebsd2.2*)
  8638. archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
  8639. hardcode_libdir_flag_spec='-R$libdir'
  8640. hardcode_direct=yes
  8641. hardcode_shlibpath_var=no
  8642. ;;
  8643. # Unfortunately, older versions of FreeBSD 2 do not have this feature.
  8644. freebsd2.*)
  8645. archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  8646. hardcode_direct=yes
  8647. hardcode_minus_L=yes
  8648. hardcode_shlibpath_var=no
  8649. ;;
  8650. # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
  8651. freebsd* | dragonfly*)
  8652. archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  8653. hardcode_libdir_flag_spec='-R$libdir'
  8654. hardcode_direct=yes
  8655. hardcode_shlibpath_var=no
  8656. ;;
  8657. hpux9*)
  8658. if test yes = "$GCC"; then
  8659. 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'
  8660. else
  8661. 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'
  8662. fi
  8663. hardcode_libdir_flag_spec='$wl+b $wl$libdir'
  8664. hardcode_libdir_separator=:
  8665. hardcode_direct=yes
  8666. # hardcode_minus_L: Not really in the search PATH,
  8667. # but as the default location of the library.
  8668. hardcode_minus_L=yes
  8669. export_dynamic_flag_spec='$wl-E'
  8670. ;;
  8671. hpux10*)
  8672. if test yes,no = "$GCC,$with_gnu_ld"; then
  8673. archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  8674. else
  8675. archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
  8676. fi
  8677. if test no = "$with_gnu_ld"; then
  8678. hardcode_libdir_flag_spec='$wl+b $wl$libdir'
  8679. hardcode_libdir_separator=:
  8680. hardcode_direct=yes
  8681. hardcode_direct_absolute=yes
  8682. export_dynamic_flag_spec='$wl-E'
  8683. # hardcode_minus_L: Not really in the search PATH,
  8684. # but as the default location of the library.
  8685. hardcode_minus_L=yes
  8686. fi
  8687. ;;
  8688. hpux11*)
  8689. if test yes,no = "$GCC,$with_gnu_ld"; then
  8690. case $host_cpu in
  8691. hppa*64*)
  8692. archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
  8693. ;;
  8694. ia64*)
  8695. archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  8696. ;;
  8697. *)
  8698. archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  8699. ;;
  8700. esac
  8701. else
  8702. case $host_cpu in
  8703. hppa*64*)
  8704. archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
  8705. ;;
  8706. ia64*)
  8707. archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  8708. ;;
  8709. *)
  8710. # Older versions of the 11.00 compiler do not understand -b yet
  8711. # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
  8712. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
  8713. $as_echo_n "checking if $CC understands -b... " >&6; }
  8714. if ${lt_cv_prog_compiler__b+:} false; then :
  8715. $as_echo_n "(cached) " >&6
  8716. else
  8717. lt_cv_prog_compiler__b=no
  8718. save_LDFLAGS=$LDFLAGS
  8719. LDFLAGS="$LDFLAGS -b"
  8720. echo "$lt_simple_link_test_code" > conftest.$ac_ext
  8721. if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
  8722. # The linker can only warn and ignore the option if not recognized
  8723. # So say no if there are warnings
  8724. if test -s conftest.err; then
  8725. # Append any errors to the config.log.
  8726. cat conftest.err 1>&5
  8727. $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
  8728. $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  8729. if diff conftest.exp conftest.er2 >/dev/null; then
  8730. lt_cv_prog_compiler__b=yes
  8731. fi
  8732. else
  8733. lt_cv_prog_compiler__b=yes
  8734. fi
  8735. fi
  8736. $RM -r conftest*
  8737. LDFLAGS=$save_LDFLAGS
  8738. fi
  8739. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
  8740. $as_echo "$lt_cv_prog_compiler__b" >&6; }
  8741. if test yes = "$lt_cv_prog_compiler__b"; then
  8742. archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  8743. else
  8744. archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
  8745. fi
  8746. ;;
  8747. esac
  8748. fi
  8749. if test no = "$with_gnu_ld"; then
  8750. hardcode_libdir_flag_spec='$wl+b $wl$libdir'
  8751. hardcode_libdir_separator=:
  8752. case $host_cpu in
  8753. hppa*64*|ia64*)
  8754. hardcode_direct=no
  8755. hardcode_shlibpath_var=no
  8756. ;;
  8757. *)
  8758. hardcode_direct=yes
  8759. hardcode_direct_absolute=yes
  8760. export_dynamic_flag_spec='$wl-E'
  8761. # hardcode_minus_L: Not really in the search PATH,
  8762. # but as the default location of the library.
  8763. hardcode_minus_L=yes
  8764. ;;
  8765. esac
  8766. fi
  8767. ;;
  8768. irix5* | irix6* | nonstopux*)
  8769. if test yes = "$GCC"; then
  8770. 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'
  8771. # Try to use the -exported_symbol ld option, if it does not
  8772. # work, assume that -exports_file does not work either and
  8773. # implicitly export all symbols.
  8774. # This should be the same for all languages, so no per-tag cache variable.
  8775. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
  8776. $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
  8777. if ${lt_cv_irix_exported_symbol+:} false; then :
  8778. $as_echo_n "(cached) " >&6
  8779. else
  8780. save_LDFLAGS=$LDFLAGS
  8781. LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
  8782. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8783. /* end confdefs.h. */
  8784. int foo (void) { return 0; }
  8785. _ACEOF
  8786. if ac_fn_c_try_link "$LINENO"; then :
  8787. lt_cv_irix_exported_symbol=yes
  8788. else
  8789. lt_cv_irix_exported_symbol=no
  8790. fi
  8791. rm -f core conftest.err conftest.$ac_objext \
  8792. conftest$ac_exeext conftest.$ac_ext
  8793. LDFLAGS=$save_LDFLAGS
  8794. fi
  8795. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
  8796. $as_echo "$lt_cv_irix_exported_symbol" >&6; }
  8797. if test yes = "$lt_cv_irix_exported_symbol"; then
  8798. 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'
  8799. fi
  8800. else
  8801. 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'
  8802. 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'
  8803. fi
  8804. archive_cmds_need_lc='no'
  8805. hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
  8806. hardcode_libdir_separator=:
  8807. inherit_rpath=yes
  8808. link_all_deplibs=yes
  8809. ;;
  8810. linux*)
  8811. case $cc_basename in
  8812. tcc*)
  8813. # Fabrice Bellard et al's Tiny C Compiler
  8814. ld_shlibs=yes
  8815. archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  8816. ;;
  8817. esac
  8818. ;;
  8819. netbsd*)
  8820. if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  8821. archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
  8822. else
  8823. archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
  8824. fi
  8825. hardcode_libdir_flag_spec='-R$libdir'
  8826. hardcode_direct=yes
  8827. hardcode_shlibpath_var=no
  8828. ;;
  8829. newsos6)
  8830. archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  8831. hardcode_direct=yes
  8832. hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
  8833. hardcode_libdir_separator=:
  8834. hardcode_shlibpath_var=no
  8835. ;;
  8836. *nto* | *qnx*)
  8837. ;;
  8838. openbsd* | bitrig*)
  8839. if test -f /usr/libexec/ld.so; then
  8840. hardcode_direct=yes
  8841. hardcode_shlibpath_var=no
  8842. hardcode_direct_absolute=yes
  8843. if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
  8844. archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  8845. archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
  8846. hardcode_libdir_flag_spec='$wl-rpath,$libdir'
  8847. export_dynamic_flag_spec='$wl-E'
  8848. else
  8849. archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  8850. hardcode_libdir_flag_spec='$wl-rpath,$libdir'
  8851. fi
  8852. else
  8853. ld_shlibs=no
  8854. fi
  8855. ;;
  8856. os2*)
  8857. hardcode_libdir_flag_spec='-L$libdir'
  8858. hardcode_minus_L=yes
  8859. allow_undefined_flag=unsupported
  8860. shrext_cmds=.dll
  8861. archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
  8862. $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
  8863. $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
  8864. $ECHO EXPORTS >> $output_objdir/$libname.def~
  8865. emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
  8866. $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
  8867. emximp -o $lib $output_objdir/$libname.def'
  8868. archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
  8869. $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
  8870. $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
  8871. $ECHO EXPORTS >> $output_objdir/$libname.def~
  8872. prefix_cmds="$SED"~
  8873. if test EXPORTS = "`$SED 1q $export_symbols`"; then
  8874. prefix_cmds="$prefix_cmds -e 1d";
  8875. fi~
  8876. prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
  8877. cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
  8878. $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
  8879. emximp -o $lib $output_objdir/$libname.def'
  8880. old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
  8881. enable_shared_with_static_runtimes=yes
  8882. ;;
  8883. osf3*)
  8884. if test yes = "$GCC"; then
  8885. allow_undefined_flag=' $wl-expect_unresolved $wl\*'
  8886. 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'
  8887. else
  8888. allow_undefined_flag=' -expect_unresolved \*'
  8889. 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'
  8890. fi
  8891. archive_cmds_need_lc='no'
  8892. hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
  8893. hardcode_libdir_separator=:
  8894. ;;
  8895. osf4* | osf5*) # as osf3* with the addition of -msym flag
  8896. if test yes = "$GCC"; then
  8897. allow_undefined_flag=' $wl-expect_unresolved $wl\*'
  8898. 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'
  8899. hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
  8900. else
  8901. allow_undefined_flag=' -expect_unresolved \*'
  8902. 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'
  8903. 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~
  8904. $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'
  8905. # Both c and cxx compiler support -rpath directly
  8906. hardcode_libdir_flag_spec='-rpath $libdir'
  8907. fi
  8908. archive_cmds_need_lc='no'
  8909. hardcode_libdir_separator=:
  8910. ;;
  8911. solaris*)
  8912. no_undefined_flag=' -z defs'
  8913. if test yes = "$GCC"; then
  8914. wlarc='$wl'
  8915. archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
  8916. archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  8917. $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'
  8918. else
  8919. case `$CC -V 2>&1` in
  8920. *"Compilers 5.0"*)
  8921. wlarc=''
  8922. archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
  8923. archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  8924. $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
  8925. ;;
  8926. *)
  8927. wlarc='$wl'
  8928. archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
  8929. archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  8930. $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
  8931. ;;
  8932. esac
  8933. fi
  8934. hardcode_libdir_flag_spec='-R$libdir'
  8935. hardcode_shlibpath_var=no
  8936. case $host_os in
  8937. solaris2.[0-5] | solaris2.[0-5].*) ;;
  8938. *)
  8939. # The compiler driver will combine and reorder linker options,
  8940. # but understands '-z linker_flag'. GCC discards it without '$wl',
  8941. # but is careful enough not to reorder.
  8942. # Supported since Solaris 2.6 (maybe 2.5.1?)
  8943. if test yes = "$GCC"; then
  8944. whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
  8945. else
  8946. whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
  8947. fi
  8948. ;;
  8949. esac
  8950. link_all_deplibs=yes
  8951. ;;
  8952. sunos4*)
  8953. if test sequent = "$host_vendor"; then
  8954. # Use $CC to link under sequent, because it throws in some extra .o
  8955. # files that make .init and .fini sections work.
  8956. archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
  8957. else
  8958. archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
  8959. fi
  8960. hardcode_libdir_flag_spec='-L$libdir'
  8961. hardcode_direct=yes
  8962. hardcode_minus_L=yes
  8963. hardcode_shlibpath_var=no
  8964. ;;
  8965. sysv4)
  8966. case $host_vendor in
  8967. sni)
  8968. archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  8969. hardcode_direct=yes # is this really true???
  8970. ;;
  8971. siemens)
  8972. ## LD is ld it makes a PLAMLIB
  8973. ## CC just makes a GrossModule.
  8974. archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
  8975. reload_cmds='$CC -r -o $output$reload_objs'
  8976. hardcode_direct=no
  8977. ;;
  8978. motorola)
  8979. archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  8980. hardcode_direct=no #Motorola manual says yes, but my tests say they lie
  8981. ;;
  8982. esac
  8983. runpath_var='LD_RUN_PATH'
  8984. hardcode_shlibpath_var=no
  8985. ;;
  8986. sysv4.3*)
  8987. archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  8988. hardcode_shlibpath_var=no
  8989. export_dynamic_flag_spec='-Bexport'
  8990. ;;
  8991. sysv4*MP*)
  8992. if test -d /usr/nec; then
  8993. archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  8994. hardcode_shlibpath_var=no
  8995. runpath_var=LD_RUN_PATH
  8996. hardcode_runpath_var=yes
  8997. ld_shlibs=yes
  8998. fi
  8999. ;;
  9000. sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
  9001. no_undefined_flag='$wl-z,text'
  9002. archive_cmds_need_lc=no
  9003. hardcode_shlibpath_var=no
  9004. runpath_var='LD_RUN_PATH'
  9005. if test yes = "$GCC"; then
  9006. archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  9007. archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  9008. else
  9009. archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  9010. archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  9011. fi
  9012. ;;
  9013. sysv5* | sco3.2v5* | sco5v6*)
  9014. # Note: We CANNOT use -z defs as we might desire, because we do not
  9015. # link with -lc, and that would cause any symbols used from libc to
  9016. # always be unresolved, which means just about no library would
  9017. # ever link correctly. If we're not using GNU ld we use -z text
  9018. # though, which does catch some bad symbols but isn't as heavy-handed
  9019. # as -z defs.
  9020. no_undefined_flag='$wl-z,text'
  9021. allow_undefined_flag='$wl-z,nodefs'
  9022. archive_cmds_need_lc=no
  9023. hardcode_shlibpath_var=no
  9024. hardcode_libdir_flag_spec='$wl-R,$libdir'
  9025. hardcode_libdir_separator=':'
  9026. link_all_deplibs=yes
  9027. export_dynamic_flag_spec='$wl-Bexport'
  9028. runpath_var='LD_RUN_PATH'
  9029. if test yes = "$GCC"; then
  9030. archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  9031. archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  9032. else
  9033. archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  9034. archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  9035. fi
  9036. ;;
  9037. uts4*)
  9038. archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  9039. hardcode_libdir_flag_spec='-L$libdir'
  9040. hardcode_shlibpath_var=no
  9041. ;;
  9042. *)
  9043. ld_shlibs=no
  9044. ;;
  9045. esac
  9046. if test sni = "$host_vendor"; then
  9047. case $host in
  9048. sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
  9049. export_dynamic_flag_spec='$wl-Blargedynsym'
  9050. ;;
  9051. esac
  9052. fi
  9053. fi
  9054. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
  9055. $as_echo "$ld_shlibs" >&6; }
  9056. test no = "$ld_shlibs" && can_build_shared=no
  9057. with_gnu_ld=$with_gnu_ld
  9058. #
  9059. # Do we need to explicitly link libc?
  9060. #
  9061. case "x$archive_cmds_need_lc" in
  9062. x|xyes)
  9063. # Assume -lc should be added
  9064. archive_cmds_need_lc=yes
  9065. if test yes,yes = "$GCC,$enable_shared"; then
  9066. case $archive_cmds in
  9067. *'~'*)
  9068. # FIXME: we may have to deal with multi-command sequences.
  9069. ;;
  9070. '$CC '*)
  9071. # Test whether the compiler implicitly links with -lc since on some
  9072. # systems, -lgcc has to come before -lc. If gcc already passes -lc
  9073. # to ld, don't add -lc before -lgcc.
  9074. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
  9075. $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
  9076. if ${lt_cv_archive_cmds_need_lc+:} false; then :
  9077. $as_echo_n "(cached) " >&6
  9078. else
  9079. $RM conftest*
  9080. echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  9081. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  9082. (eval $ac_compile) 2>&5
  9083. ac_status=$?
  9084. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  9085. test $ac_status = 0; } 2>conftest.err; then
  9086. soname=conftest
  9087. lib=conftest
  9088. libobjs=conftest.$ac_objext
  9089. deplibs=
  9090. wl=$lt_prog_compiler_wl
  9091. pic_flag=$lt_prog_compiler_pic
  9092. compiler_flags=-v
  9093. linker_flags=-v
  9094. verstring=
  9095. output_objdir=.
  9096. libname=conftest
  9097. lt_save_allow_undefined_flag=$allow_undefined_flag
  9098. allow_undefined_flag=
  9099. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
  9100. (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
  9101. ac_status=$?
  9102. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  9103. test $ac_status = 0; }
  9104. then
  9105. lt_cv_archive_cmds_need_lc=no
  9106. else
  9107. lt_cv_archive_cmds_need_lc=yes
  9108. fi
  9109. allow_undefined_flag=$lt_save_allow_undefined_flag
  9110. else
  9111. cat conftest.err 1>&5
  9112. fi
  9113. $RM conftest*
  9114. fi
  9115. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
  9116. $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
  9117. archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
  9118. ;;
  9119. esac
  9120. fi
  9121. ;;
  9122. esac
  9123. { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
  9124. $as_echo_n "checking dynamic linker characteristics... " >&6; }
  9125. if test yes = "$GCC"; then
  9126. case $host_os in
  9127. darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
  9128. *) lt_awk_arg='/^libraries:/' ;;
  9129. esac
  9130. case $host_os in
  9131. mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
  9132. *) lt_sed_strip_eq='s|=/|/|g' ;;
  9133. esac
  9134. lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
  9135. case $lt_search_path_spec in
  9136. *\;*)
  9137. # if the path contains ";" then we assume it to be the separator
  9138. # otherwise default to the standard path separator (i.e. ":") - it is
  9139. # assumed that no part of a normal pathname contains ";" but that should
  9140. # okay in the real world where ";" in dirpaths is itself problematic.
  9141. lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
  9142. ;;
  9143. *)
  9144. lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
  9145. ;;
  9146. esac
  9147. # Ok, now we have the path, separated by spaces, we can step through it
  9148. # and add multilib dir if necessary...
  9149. lt_tmp_lt_search_path_spec=
  9150. lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
  9151. # ...but if some path component already ends with the multilib dir we assume
  9152. # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
  9153. case "$lt_multi_os_dir; $lt_search_path_spec " in
  9154. "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
  9155. lt_multi_os_dir=
  9156. ;;
  9157. esac
  9158. for lt_sys_path in $lt_search_path_spec; do
  9159. if test -d "$lt_sys_path$lt_multi_os_dir"; then
  9160. lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
  9161. elif test -n "$lt_multi_os_dir"; then
  9162. test -d "$lt_sys_path" && \
  9163. lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
  9164. fi
  9165. done
  9166. lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
  9167. BEGIN {RS = " "; FS = "/|\n";} {
  9168. lt_foo = "";
  9169. lt_count = 0;
  9170. for (lt_i = NF; lt_i > 0; lt_i--) {
  9171. if ($lt_i != "" && $lt_i != ".") {
  9172. if ($lt_i == "..") {
  9173. lt_count++;
  9174. } else {
  9175. if (lt_count == 0) {
  9176. lt_foo = "/" $lt_i lt_foo;
  9177. } else {
  9178. lt_count--;
  9179. }
  9180. }
  9181. }
  9182. }
  9183. if (lt_foo != "") { lt_freq[lt_foo]++; }
  9184. if (lt_freq[lt_foo] == 1) { print lt_foo; }
  9185. }'`
  9186. # AWK program above erroneously prepends '/' to C:/dos/paths
  9187. # for these hosts.
  9188. case $host_os in
  9189. mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
  9190. $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
  9191. esac
  9192. sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
  9193. else
  9194. sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
  9195. fi
  9196. library_names_spec=
  9197. libname_spec='lib$name'
  9198. soname_spec=
  9199. shrext_cmds=.so
  9200. postinstall_cmds=
  9201. postuninstall_cmds=
  9202. finish_cmds=
  9203. finish_eval=
  9204. shlibpath_var=
  9205. shlibpath_overrides_runpath=unknown
  9206. version_type=none
  9207. dynamic_linker="$host_os ld.so"
  9208. sys_lib_dlsearch_path_spec="/lib /usr/lib"
  9209. need_lib_prefix=unknown
  9210. hardcode_into_libs=no
  9211. # when you set need_version to no, make sure it does not cause -set_version
  9212. # flags to be left without arguments
  9213. need_version=unknown
  9214. case $host_os in
  9215. aix3*)
  9216. version_type=linux # correct to gnu/linux during the next big refactor
  9217. library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
  9218. shlibpath_var=LIBPATH
  9219. # AIX 3 has no versioning support, so we append a major version to the name.
  9220. soname_spec='$libname$release$shared_ext$major'
  9221. ;;
  9222. aix[4-9]*)
  9223. version_type=linux # correct to gnu/linux during the next big refactor
  9224. need_lib_prefix=no
  9225. need_version=no
  9226. hardcode_into_libs=yes
  9227. if test ia64 = "$host_cpu"; then
  9228. # AIX 5 supports IA64
  9229. library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
  9230. shlibpath_var=LD_LIBRARY_PATH
  9231. else
  9232. # With GCC up to 2.95.x, collect2 would create an import file
  9233. # for dependence libraries. The import file would start with
  9234. # the line '#! .'. This would cause the generated library to
  9235. # depend on '.', always an invalid library. This was fixed in
  9236. # development snapshots of GCC prior to 3.0.
  9237. case $host_os in
  9238. aix4 | aix4.[01] | aix4.[01].*)
  9239. if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
  9240. echo ' yes '
  9241. echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
  9242. :
  9243. else
  9244. can_build_shared=no
  9245. fi
  9246. ;;
  9247. esac
  9248. # Using Import Files as archive members, it is possible to support
  9249. # filename-based versioning of shared library archives on AIX. While
  9250. # this would work for both with and without runtime linking, it will
  9251. # prevent static linking of such archives. So we do filename-based
  9252. # shared library versioning with .so extension only, which is used
  9253. # when both runtime linking and shared linking is enabled.
  9254. # Unfortunately, runtime linking may impact performance, so we do
  9255. # not want this to be the default eventually. Also, we use the
  9256. # versioned .so libs for executables only if there is the -brtl
  9257. # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
  9258. # To allow for filename-based versioning support, we need to create
  9259. # libNAME.so.V as an archive file, containing:
  9260. # *) an Import File, referring to the versioned filename of the
  9261. # archive as well as the shared archive member, telling the
  9262. # bitwidth (32 or 64) of that shared object, and providing the
  9263. # list of exported symbols of that shared object, eventually
  9264. # decorated with the 'weak' keyword
  9265. # *) the shared object with the F_LOADONLY flag set, to really avoid
  9266. # it being seen by the linker.
  9267. # At run time we better use the real file rather than another symlink,
  9268. # but for link time we create the symlink libNAME.so -> libNAME.so.V
  9269. case $with_aix_soname,$aix_use_runtimelinking in
  9270. # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
  9271. # soname into executable. Probably we can add versioning support to
  9272. # collect2, so additional links can be useful in future.
  9273. aix,yes) # traditional libtool
  9274. dynamic_linker='AIX unversionable lib.so'
  9275. # If using run time linking (on AIX 4.2 or later) use lib<name>.so
  9276. # instead of lib<name>.a to let people know that these are not
  9277. # typical AIX shared libraries.
  9278. library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  9279. ;;
  9280. aix,no) # traditional AIX only
  9281. dynamic_linker='AIX lib.a(lib.so.V)'
  9282. # We preserve .a as extension for shared libraries through AIX4.2
  9283. # and later when we are not doing run time linking.
  9284. library_names_spec='$libname$release.a $libname.a'
  9285. soname_spec='$libname$release$shared_ext$major'
  9286. ;;
  9287. svr4,*) # full svr4 only
  9288. dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
  9289. library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
  9290. # We do not specify a path in Import Files, so LIBPATH fires.
  9291. shlibpath_overrides_runpath=yes
  9292. ;;
  9293. *,yes) # both, prefer svr4
  9294. dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
  9295. library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
  9296. # unpreferred sharedlib libNAME.a needs extra handling
  9297. 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"'
  9298. 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"'
  9299. # We do not specify a path in Import Files, so LIBPATH fires.
  9300. shlibpath_overrides_runpath=yes
  9301. ;;
  9302. *,no) # both, prefer aix
  9303. dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
  9304. library_names_spec='$libname$release.a $libname.a'
  9305. soname_spec='$libname$release$shared_ext$major'
  9306. # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
  9307. 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)'
  9308. 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"'
  9309. ;;
  9310. esac
  9311. shlibpath_var=LIBPATH
  9312. fi
  9313. ;;
  9314. amigaos*)
  9315. case $host_cpu in
  9316. powerpc)
  9317. # Since July 2007 AmigaOS4 officially supports .so libraries.
  9318. # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
  9319. library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  9320. ;;
  9321. m68k)
  9322. library_names_spec='$libname.ixlibrary $libname.a'
  9323. # Create ${libname}_ixlibrary.a entries in /sys/libs.
  9324. 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'
  9325. ;;
  9326. esac
  9327. ;;
  9328. beos*)
  9329. library_names_spec='$libname$shared_ext'
  9330. dynamic_linker="$host_os ld.so"
  9331. shlibpath_var=LIBRARY_PATH
  9332. ;;
  9333. bsdi[45]*)
  9334. version_type=linux # correct to gnu/linux during the next big refactor
  9335. need_version=no
  9336. library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  9337. soname_spec='$libname$release$shared_ext$major'
  9338. finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
  9339. shlibpath_var=LD_LIBRARY_PATH
  9340. sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
  9341. sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
  9342. # the default ld.so.conf also contains /usr/contrib/lib and
  9343. # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
  9344. # libtool to hard-code these into programs
  9345. ;;
  9346. cygwin* | mingw* | pw32* | cegcc*)
  9347. version_type=windows
  9348. shrext_cmds=.dll
  9349. need_version=no
  9350. need_lib_prefix=no
  9351. case $GCC,$cc_basename in
  9352. yes,*)
  9353. # gcc
  9354. library_names_spec='$libname.dll.a'
  9355. # DLL is installed to $(libdir)/../bin by postinstall_cmds
  9356. postinstall_cmds='base_file=`basename \$file`~
  9357. dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
  9358. dldir=$destdir/`dirname \$dlpath`~
  9359. test -d \$dldir || mkdir -p \$dldir~
  9360. $install_prog $dir/$dlname \$dldir/$dlname~
  9361. chmod a+x \$dldir/$dlname~
  9362. if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
  9363. eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
  9364. fi'
  9365. postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
  9366. dlpath=$dir/\$dldll~
  9367. $RM \$dlpath'
  9368. shlibpath_overrides_runpath=yes
  9369. case $host_os in
  9370. cygwin*)
  9371. # Cygwin DLLs use 'cyg' prefix rather than 'lib'
  9372. soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
  9373. sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
  9374. ;;
  9375. mingw* | cegcc*)
  9376. # MinGW DLLs use traditional 'lib' prefix
  9377. soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
  9378. ;;
  9379. pw32*)
  9380. # pw32 DLLs use 'pw' prefix rather than 'lib'
  9381. library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
  9382. ;;
  9383. esac
  9384. dynamic_linker='Win32 ld.exe'
  9385. ;;
  9386. *,cl*)
  9387. # Native MSVC
  9388. libname_spec='$name'
  9389. soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
  9390. library_names_spec='$libname.dll.lib'
  9391. case $build_os in
  9392. mingw*)
  9393. sys_lib_search_path_spec=
  9394. lt_save_ifs=$IFS
  9395. IFS=';'
  9396. for lt_path in $LIB
  9397. do
  9398. IFS=$lt_save_ifs
  9399. # Let DOS variable expansion print the short 8.3 style file name.
  9400. lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
  9401. sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
  9402. done
  9403. IFS=$lt_save_ifs
  9404. # Convert to MSYS style.
  9405. sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
  9406. ;;
  9407. cygwin*)
  9408. # Convert to unix form, then to dos form, then back to unix form
  9409. # but this time dos style (no spaces!) so that the unix form looks
  9410. # like /cygdrive/c/PROGRA~1:/cygdr...
  9411. sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
  9412. sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
  9413. sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
  9414. ;;
  9415. *)
  9416. sys_lib_search_path_spec=$LIB
  9417. if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
  9418. # It is most probably a Windows format PATH.
  9419. sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
  9420. else
  9421. sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
  9422. fi
  9423. # FIXME: find the short name or the path components, as spaces are
  9424. # common. (e.g. "Program Files" -> "PROGRA~1")
  9425. ;;
  9426. esac
  9427. # DLL is installed to $(libdir)/../bin by postinstall_cmds
  9428. postinstall_cmds='base_file=`basename \$file`~
  9429. dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
  9430. dldir=$destdir/`dirname \$dlpath`~
  9431. test -d \$dldir || mkdir -p \$dldir~
  9432. $install_prog $dir/$dlname \$dldir/$dlname'
  9433. postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
  9434. dlpath=$dir/\$dldll~
  9435. $RM \$dlpath'
  9436. shlibpath_overrides_runpath=yes
  9437. dynamic_linker='Win32 link.exe'
  9438. ;;
  9439. *)
  9440. # Assume MSVC wrapper
  9441. library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
  9442. dynamic_linker='Win32 ld.exe'
  9443. ;;
  9444. esac
  9445. # FIXME: first we should search . and the directory the executable is in
  9446. shlibpath_var=PATH
  9447. ;;
  9448. darwin* | rhapsody*)
  9449. dynamic_linker="$host_os dyld"
  9450. version_type=darwin
  9451. need_lib_prefix=no
  9452. need_version=no
  9453. library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
  9454. soname_spec='$libname$release$major$shared_ext'
  9455. shlibpath_overrides_runpath=yes
  9456. shlibpath_var=DYLD_LIBRARY_PATH
  9457. shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
  9458. sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
  9459. sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
  9460. ;;
  9461. dgux*)
  9462. version_type=linux # correct to gnu/linux during the next big refactor
  9463. need_lib_prefix=no
  9464. need_version=no
  9465. library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  9466. soname_spec='$libname$release$shared_ext$major'
  9467. shlibpath_var=LD_LIBRARY_PATH
  9468. ;;
  9469. freebsd* | dragonfly*)
  9470. # DragonFly does not have aout. When/if they implement a new
  9471. # versioning mechanism, adjust this.
  9472. if test -x /usr/bin/objformat; then
  9473. objformat=`/usr/bin/objformat`
  9474. else
  9475. case $host_os in
  9476. freebsd[23].*) objformat=aout ;;
  9477. *) objformat=elf ;;
  9478. esac
  9479. fi
  9480. version_type=freebsd-$objformat
  9481. case $version_type in
  9482. freebsd-elf*)
  9483. library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  9484. soname_spec='$libname$release$shared_ext$major'
  9485. need_version=no
  9486. need_lib_prefix=no
  9487. ;;
  9488. freebsd-*)
  9489. library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
  9490. need_version=yes
  9491. ;;
  9492. esac
  9493. shlibpath_var=LD_LIBRARY_PATH
  9494. case $host_os in
  9495. freebsd2.*)
  9496. shlibpath_overrides_runpath=yes
  9497. ;;
  9498. freebsd3.[01]* | freebsdelf3.[01]*)
  9499. shlibpath_overrides_runpath=yes
  9500. hardcode_into_libs=yes
  9501. ;;
  9502. freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
  9503. freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
  9504. shlibpath_overrides_runpath=no
  9505. hardcode_into_libs=yes
  9506. ;;
  9507. *) # from 4.6 on, and DragonFly
  9508. shlibpath_overrides_runpath=yes
  9509. hardcode_into_libs=yes
  9510. ;;
  9511. esac
  9512. ;;
  9513. haiku*)
  9514. version_type=linux # correct to gnu/linux during the next big refactor
  9515. need_lib_prefix=no
  9516. need_version=no
  9517. dynamic_linker="$host_os runtime_loader"
  9518. library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  9519. soname_spec='$libname$release$shared_ext$major'
  9520. shlibpath_var=LIBRARY_PATH
  9521. shlibpath_overrides_runpath=no
  9522. sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
  9523. hardcode_into_libs=yes
  9524. ;;
  9525. hpux9* | hpux10* | hpux11*)
  9526. # Give a soname corresponding to the major version so that dld.sl refuses to
  9527. # link against other versions.
  9528. version_type=sunos
  9529. need_lib_prefix=no
  9530. need_version=no
  9531. case $host_cpu in
  9532. ia64*)
  9533. shrext_cmds='.so'
  9534. hardcode_into_libs=yes
  9535. dynamic_linker="$host_os dld.so"
  9536. shlibpath_var=LD_LIBRARY_PATH
  9537. shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  9538. library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  9539. soname_spec='$libname$release$shared_ext$major'
  9540. if test 32 = "$HPUX_IA64_MODE"; then
  9541. sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
  9542. sys_lib_dlsearch_path_spec=/usr/lib/hpux32
  9543. else
  9544. sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
  9545. sys_lib_dlsearch_path_spec=/usr/lib/hpux64
  9546. fi
  9547. ;;
  9548. hppa*64*)
  9549. shrext_cmds='.sl'
  9550. hardcode_into_libs=yes
  9551. dynamic_linker="$host_os dld.sl"
  9552. shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
  9553. shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  9554. library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  9555. soname_spec='$libname$release$shared_ext$major'
  9556. sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
  9557. sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  9558. ;;
  9559. *)
  9560. shrext_cmds='.sl'
  9561. dynamic_linker="$host_os dld.sl"
  9562. shlibpath_var=SHLIB_PATH
  9563. shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
  9564. library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  9565. soname_spec='$libname$release$shared_ext$major'
  9566. ;;
  9567. esac
  9568. # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
  9569. postinstall_cmds='chmod 555 $lib'
  9570. # or fails outright, so override atomically:
  9571. install_override_mode=555
  9572. ;;
  9573. interix[3-9]*)
  9574. version_type=linux # correct to gnu/linux during the next big refactor
  9575. need_lib_prefix=no
  9576. need_version=no
  9577. library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  9578. soname_spec='$libname$release$shared_ext$major'
  9579. dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
  9580. shlibpath_var=LD_LIBRARY_PATH
  9581. shlibpath_overrides_runpath=no
  9582. hardcode_into_libs=yes
  9583. ;;
  9584. irix5* | irix6* | nonstopux*)
  9585. case $host_os in
  9586. nonstopux*) version_type=nonstopux ;;
  9587. *)
  9588. if test yes = "$lt_cv_prog_gnu_ld"; then
  9589. version_type=linux # correct to gnu/linux during the next big refactor
  9590. else
  9591. version_type=irix
  9592. fi ;;
  9593. esac
  9594. need_lib_prefix=no
  9595. need_version=no
  9596. soname_spec='$libname$release$shared_ext$major'
  9597. library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
  9598. case $host_os in
  9599. irix5* | nonstopux*)
  9600. libsuff= shlibsuff=
  9601. ;;
  9602. *)
  9603. case $LD in # libtool.m4 will add one of these switches to LD
  9604. *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
  9605. libsuff= shlibsuff= libmagic=32-bit;;
  9606. *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
  9607. libsuff=32 shlibsuff=N32 libmagic=N32;;
  9608. *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
  9609. libsuff=64 shlibsuff=64 libmagic=64-bit;;
  9610. *) libsuff= shlibsuff= libmagic=never-match;;
  9611. esac
  9612. ;;
  9613. esac
  9614. shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
  9615. shlibpath_overrides_runpath=no
  9616. sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
  9617. sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
  9618. hardcode_into_libs=yes
  9619. ;;
  9620. # No shared lib support for Linux oldld, aout, or coff.
  9621. linux*oldld* | linux*aout* | linux*coff*)
  9622. dynamic_linker=no
  9623. ;;
  9624. linux*android*)
  9625. version_type=none # Android doesn't support versioned libraries.
  9626. need_lib_prefix=no
  9627. need_version=no
  9628. library_names_spec='$libname$release$shared_ext'
  9629. soname_spec='$libname$release$shared_ext'
  9630. finish_cmds=
  9631. shlibpath_var=LD_LIBRARY_PATH
  9632. shlibpath_overrides_runpath=yes
  9633. # This implies no fast_install, which is unacceptable.
  9634. # Some rework will be needed to allow for fast_install
  9635. # before this can be enabled.
  9636. hardcode_into_libs=yes
  9637. dynamic_linker='Android linker'
  9638. # Don't embed -rpath directories since the linker doesn't support them.
  9639. hardcode_libdir_flag_spec='-L$libdir'
  9640. ;;
  9641. # This must be glibc/ELF.
  9642. linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
  9643. version_type=linux # correct to gnu/linux during the next big refactor
  9644. need_lib_prefix=no
  9645. need_version=no
  9646. library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  9647. soname_spec='$libname$release$shared_ext$major'
  9648. finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
  9649. shlibpath_var=LD_LIBRARY_PATH
  9650. shlibpath_overrides_runpath=no
  9651. # Some binutils ld are patched to set DT_RUNPATH
  9652. if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
  9653. $as_echo_n "(cached) " >&6
  9654. else
  9655. lt_cv_shlibpath_overrides_runpath=no
  9656. save_LDFLAGS=$LDFLAGS
  9657. save_libdir=$libdir
  9658. eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
  9659. LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
  9660. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9661. /* end confdefs.h. */
  9662. int
  9663. main ()
  9664. {
  9665. ;
  9666. return 0;
  9667. }
  9668. _ACEOF
  9669. if ac_fn_c_try_link "$LINENO"; then :
  9670. if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
  9671. lt_cv_shlibpath_overrides_runpath=yes
  9672. fi
  9673. fi
  9674. rm -f core conftest.err conftest.$ac_objext \
  9675. conftest$ac_exeext conftest.$ac_ext
  9676. LDFLAGS=$save_LDFLAGS
  9677. libdir=$save_libdir
  9678. fi
  9679. shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
  9680. # This implies no fast_install, which is unacceptable.
  9681. # Some rework will be needed to allow for fast_install
  9682. # before this can be enabled.
  9683. hardcode_into_libs=yes
  9684. # Ideally, we could use ldconfig to report *all* directores which are
  9685. # searched for libraries, however this is still not possible. Aside from not
  9686. # being certain /sbin/ldconfig is available, command
  9687. # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
  9688. # even though it is searched at run-time. Try to do the best guess by
  9689. # appending ld.so.conf contents (and includes) to the search path.
  9690. if test -f /etc/ld.so.conf; then
  9691. 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' ' '`
  9692. sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
  9693. fi
  9694. # We used to test for /lib/ld.so.1 and disable shared libraries on
  9695. # powerpc, because MkLinux only supported shared libraries with the
  9696. # GNU dynamic linker. Since this was broken with cross compilers,
  9697. # most powerpc-linux boxes support dynamic linking these days and
  9698. # people can always --disable-shared, the test was removed, and we
  9699. # assume the GNU/Linux dynamic linker is in use.
  9700. dynamic_linker='GNU/Linux ld.so'
  9701. ;;
  9702. netbsd*)
  9703. version_type=sunos
  9704. need_lib_prefix=no
  9705. need_version=no
  9706. if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  9707. library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
  9708. finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  9709. dynamic_linker='NetBSD (a.out) ld.so'
  9710. else
  9711. library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  9712. soname_spec='$libname$release$shared_ext$major'
  9713. dynamic_linker='NetBSD ld.elf_so'
  9714. fi
  9715. shlibpath_var=LD_LIBRARY_PATH
  9716. shlibpath_overrides_runpath=yes
  9717. hardcode_into_libs=yes
  9718. ;;
  9719. newsos6)
  9720. version_type=linux # correct to gnu/linux during the next big refactor
  9721. library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  9722. shlibpath_var=LD_LIBRARY_PATH
  9723. shlibpath_overrides_runpath=yes
  9724. ;;
  9725. *nto* | *qnx*)
  9726. version_type=qnx
  9727. need_lib_prefix=no
  9728. need_version=no
  9729. library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  9730. soname_spec='$libname$release$shared_ext$major'
  9731. shlibpath_var=LD_LIBRARY_PATH
  9732. shlibpath_overrides_runpath=no
  9733. hardcode_into_libs=yes
  9734. dynamic_linker='ldqnx.so'
  9735. ;;
  9736. openbsd* | bitrig*)
  9737. version_type=sunos
  9738. sys_lib_dlsearch_path_spec=/usr/lib
  9739. need_lib_prefix=no
  9740. if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
  9741. need_version=no
  9742. else
  9743. need_version=yes
  9744. fi
  9745. library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
  9746. finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  9747. shlibpath_var=LD_LIBRARY_PATH
  9748. shlibpath_overrides_runpath=yes
  9749. ;;
  9750. os2*)
  9751. libname_spec='$name'
  9752. version_type=windows
  9753. shrext_cmds=.dll
  9754. need_version=no
  9755. need_lib_prefix=no
  9756. # OS/2 can only load a DLL with a base name of 8 characters or less.
  9757. soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
  9758. v=$($ECHO $release$versuffix | tr -d .-);
  9759. n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
  9760. $ECHO $n$v`$shared_ext'
  9761. library_names_spec='${libname}_dll.$libext'
  9762. dynamic_linker='OS/2 ld.exe'
  9763. shlibpath_var=BEGINLIBPATH
  9764. sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
  9765. sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  9766. postinstall_cmds='base_file=`basename \$file`~
  9767. dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
  9768. dldir=$destdir/`dirname \$dlpath`~
  9769. test -d \$dldir || mkdir -p \$dldir~
  9770. $install_prog $dir/$dlname \$dldir/$dlname~
  9771. chmod a+x \$dldir/$dlname~
  9772. if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
  9773. eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
  9774. fi'
  9775. postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
  9776. dlpath=$dir/\$dldll~
  9777. $RM \$dlpath'
  9778. ;;
  9779. osf3* | osf4* | osf5*)
  9780. version_type=osf
  9781. need_lib_prefix=no
  9782. need_version=no
  9783. soname_spec='$libname$release$shared_ext$major'
  9784. library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  9785. shlibpath_var=LD_LIBRARY_PATH
  9786. sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
  9787. sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  9788. ;;
  9789. rdos*)
  9790. dynamic_linker=no
  9791. ;;
  9792. solaris*)
  9793. version_type=linux # correct to gnu/linux during the next big refactor
  9794. need_lib_prefix=no
  9795. need_version=no
  9796. library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  9797. soname_spec='$libname$release$shared_ext$major'
  9798. shlibpath_var=LD_LIBRARY_PATH
  9799. shlibpath_overrides_runpath=yes
  9800. hardcode_into_libs=yes
  9801. # ldd complains unless libraries are executable
  9802. postinstall_cmds='chmod +x $lib'
  9803. ;;
  9804. sunos4*)
  9805. version_type=sunos
  9806. library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
  9807. finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
  9808. shlibpath_var=LD_LIBRARY_PATH
  9809. shlibpath_overrides_runpath=yes
  9810. if test yes = "$with_gnu_ld"; then
  9811. need_lib_prefix=no
  9812. fi
  9813. need_version=yes
  9814. ;;
  9815. sysv4 | sysv4.3*)
  9816. version_type=linux # correct to gnu/linux during the next big refactor
  9817. library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  9818. soname_spec='$libname$release$shared_ext$major'
  9819. shlibpath_var=LD_LIBRARY_PATH
  9820. case $host_vendor in
  9821. sni)
  9822. shlibpath_overrides_runpath=no
  9823. need_lib_prefix=no
  9824. runpath_var=LD_RUN_PATH
  9825. ;;
  9826. siemens)
  9827. need_lib_prefix=no
  9828. ;;
  9829. motorola)
  9830. need_lib_prefix=no
  9831. need_version=no
  9832. shlibpath_overrides_runpath=no
  9833. sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
  9834. ;;
  9835. esac
  9836. ;;
  9837. sysv4*MP*)
  9838. if test -d /usr/nec; then
  9839. version_type=linux # correct to gnu/linux during the next big refactor
  9840. library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
  9841. soname_spec='$libname$shared_ext.$major'
  9842. shlibpath_var=LD_LIBRARY_PATH
  9843. fi
  9844. ;;
  9845. sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  9846. version_type=sco
  9847. need_lib_prefix=no
  9848. need_version=no
  9849. library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
  9850. soname_spec='$libname$release$shared_ext$major'
  9851. shlibpath_var=LD_LIBRARY_PATH
  9852. shlibpath_overrides_runpath=yes
  9853. hardcode_into_libs=yes
  9854. if test yes = "$with_gnu_ld"; then
  9855. sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
  9856. else
  9857. sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
  9858. case $host_os in
  9859. sco3.2v5*)
  9860. sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
  9861. ;;
  9862. esac
  9863. fi
  9864. sys_lib_dlsearch_path_spec='/usr/lib'
  9865. ;;
  9866. tpf*)
  9867. # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
  9868. version_type=linux # correct to gnu/linux during the next big refactor
  9869. need_lib_prefix=no
  9870. need_version=no
  9871. library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  9872. shlibpath_var=LD_LIBRARY_PATH
  9873. shlibpath_overrides_runpath=no
  9874. hardcode_into_libs=yes
  9875. ;;
  9876. uts4*)
  9877. version_type=linux # correct to gnu/linux during the next big refactor
  9878. library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  9879. soname_spec='$libname$release$shared_ext$major'
  9880. shlibpath_var=LD_LIBRARY_PATH
  9881. ;;
  9882. *)
  9883. dynamic_linker=no
  9884. ;;
  9885. esac
  9886. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
  9887. $as_echo "$dynamic_linker" >&6; }
  9888. test no = "$dynamic_linker" && can_build_shared=no
  9889. variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
  9890. if test yes = "$GCC"; then
  9891. variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
  9892. fi
  9893. if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
  9894. sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
  9895. fi
  9896. if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
  9897. sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
  9898. fi
  9899. # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
  9900. configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
  9901. # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
  9902. func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
  9903. # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
  9904. configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
  9905. { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
  9906. $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
  9907. hardcode_action=
  9908. if test -n "$hardcode_libdir_flag_spec" ||
  9909. test -n "$runpath_var" ||
  9910. test yes = "$hardcode_automatic"; then
  9911. # We can hardcode non-existent directories.
  9912. if test no != "$hardcode_direct" &&
  9913. # If the only mechanism to avoid hardcoding is shlibpath_var, we
  9914. # have to relink, otherwise we might link with an installed library
  9915. # when we should be linking with a yet-to-be-installed one
  9916. ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
  9917. test no != "$hardcode_minus_L"; then
  9918. # Linking always hardcodes the temporary library directory.
  9919. hardcode_action=relink
  9920. else
  9921. # We can link without hardcoding, and we can hardcode nonexisting dirs.
  9922. hardcode_action=immediate
  9923. fi
  9924. else
  9925. # We cannot hardcode anything, or else we can only hardcode existing
  9926. # directories.
  9927. hardcode_action=unsupported
  9928. fi
  9929. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
  9930. $as_echo "$hardcode_action" >&6; }
  9931. if test relink = "$hardcode_action" ||
  9932. test yes = "$inherit_rpath"; then
  9933. # Fast installation is not supported
  9934. enable_fast_install=no
  9935. elif test yes = "$shlibpath_overrides_runpath" ||
  9936. test no = "$enable_shared"; then
  9937. # Fast installation is not necessary
  9938. enable_fast_install=needless
  9939. fi
  9940. if test yes != "$enable_dlopen"; then
  9941. enable_dlopen=unknown
  9942. enable_dlopen_self=unknown
  9943. enable_dlopen_self_static=unknown
  9944. else
  9945. lt_cv_dlopen=no
  9946. lt_cv_dlopen_libs=
  9947. case $host_os in
  9948. beos*)
  9949. lt_cv_dlopen=load_add_on
  9950. lt_cv_dlopen_libs=
  9951. lt_cv_dlopen_self=yes
  9952. ;;
  9953. mingw* | pw32* | cegcc*)
  9954. lt_cv_dlopen=LoadLibrary
  9955. lt_cv_dlopen_libs=
  9956. ;;
  9957. cygwin*)
  9958. lt_cv_dlopen=dlopen
  9959. lt_cv_dlopen_libs=
  9960. ;;
  9961. darwin*)
  9962. # if libdl is installed we need to link against it
  9963. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
  9964. $as_echo_n "checking for dlopen in -ldl... " >&6; }
  9965. if ${ac_cv_lib_dl_dlopen+:} false; then :
  9966. $as_echo_n "(cached) " >&6
  9967. else
  9968. ac_check_lib_save_LIBS=$LIBS
  9969. LIBS="-ldl $LIBS"
  9970. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9971. /* end confdefs.h. */
  9972. /* Override any GCC internal prototype to avoid an error.
  9973. Use char because int might match the return type of a GCC
  9974. builtin and then its argument prototype would still apply. */
  9975. #ifdef __cplusplus
  9976. extern "C"
  9977. #endif
  9978. char dlopen ();
  9979. int
  9980. main ()
  9981. {
  9982. return dlopen ();
  9983. ;
  9984. return 0;
  9985. }
  9986. _ACEOF
  9987. if ac_fn_c_try_link "$LINENO"; then :
  9988. ac_cv_lib_dl_dlopen=yes
  9989. else
  9990. ac_cv_lib_dl_dlopen=no
  9991. fi
  9992. rm -f core conftest.err conftest.$ac_objext \
  9993. conftest$ac_exeext conftest.$ac_ext
  9994. LIBS=$ac_check_lib_save_LIBS
  9995. fi
  9996. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
  9997. $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
  9998. if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
  9999. lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
  10000. else
  10001. lt_cv_dlopen=dyld
  10002. lt_cv_dlopen_libs=
  10003. lt_cv_dlopen_self=yes
  10004. fi
  10005. ;;
  10006. tpf*)
  10007. # Don't try to run any link tests for TPF. We know it's impossible
  10008. # because TPF is a cross-compiler, and we know how we open DSOs.
  10009. lt_cv_dlopen=dlopen
  10010. lt_cv_dlopen_libs=
  10011. lt_cv_dlopen_self=no
  10012. ;;
  10013. *)
  10014. ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
  10015. if test "x$ac_cv_func_shl_load" = xyes; then :
  10016. lt_cv_dlopen=shl_load
  10017. else
  10018. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
  10019. $as_echo_n "checking for shl_load in -ldld... " >&6; }
  10020. if ${ac_cv_lib_dld_shl_load+:} false; then :
  10021. $as_echo_n "(cached) " >&6
  10022. else
  10023. ac_check_lib_save_LIBS=$LIBS
  10024. LIBS="-ldld $LIBS"
  10025. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10026. /* end confdefs.h. */
  10027. /* Override any GCC internal prototype to avoid an error.
  10028. Use char because int might match the return type of a GCC
  10029. builtin and then its argument prototype would still apply. */
  10030. #ifdef __cplusplus
  10031. extern "C"
  10032. #endif
  10033. char shl_load ();
  10034. int
  10035. main ()
  10036. {
  10037. return shl_load ();
  10038. ;
  10039. return 0;
  10040. }
  10041. _ACEOF
  10042. if ac_fn_c_try_link "$LINENO"; then :
  10043. ac_cv_lib_dld_shl_load=yes
  10044. else
  10045. ac_cv_lib_dld_shl_load=no
  10046. fi
  10047. rm -f core conftest.err conftest.$ac_objext \
  10048. conftest$ac_exeext conftest.$ac_ext
  10049. LIBS=$ac_check_lib_save_LIBS
  10050. fi
  10051. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
  10052. $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
  10053. if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
  10054. lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
  10055. else
  10056. ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
  10057. if test "x$ac_cv_func_dlopen" = xyes; then :
  10058. lt_cv_dlopen=dlopen
  10059. else
  10060. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
  10061. $as_echo_n "checking for dlopen in -ldl... " >&6; }
  10062. if ${ac_cv_lib_dl_dlopen+:} false; then :
  10063. $as_echo_n "(cached) " >&6
  10064. else
  10065. ac_check_lib_save_LIBS=$LIBS
  10066. LIBS="-ldl $LIBS"
  10067. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10068. /* end confdefs.h. */
  10069. /* Override any GCC internal prototype to avoid an error.
  10070. Use char because int might match the return type of a GCC
  10071. builtin and then its argument prototype would still apply. */
  10072. #ifdef __cplusplus
  10073. extern "C"
  10074. #endif
  10075. char dlopen ();
  10076. int
  10077. main ()
  10078. {
  10079. return dlopen ();
  10080. ;
  10081. return 0;
  10082. }
  10083. _ACEOF
  10084. if ac_fn_c_try_link "$LINENO"; then :
  10085. ac_cv_lib_dl_dlopen=yes
  10086. else
  10087. ac_cv_lib_dl_dlopen=no
  10088. fi
  10089. rm -f core conftest.err conftest.$ac_objext \
  10090. conftest$ac_exeext conftest.$ac_ext
  10091. LIBS=$ac_check_lib_save_LIBS
  10092. fi
  10093. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
  10094. $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
  10095. if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
  10096. lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
  10097. else
  10098. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
  10099. $as_echo_n "checking for dlopen in -lsvld... " >&6; }
  10100. if ${ac_cv_lib_svld_dlopen+:} false; then :
  10101. $as_echo_n "(cached) " >&6
  10102. else
  10103. ac_check_lib_save_LIBS=$LIBS
  10104. LIBS="-lsvld $LIBS"
  10105. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10106. /* end confdefs.h. */
  10107. /* Override any GCC internal prototype to avoid an error.
  10108. Use char because int might match the return type of a GCC
  10109. builtin and then its argument prototype would still apply. */
  10110. #ifdef __cplusplus
  10111. extern "C"
  10112. #endif
  10113. char dlopen ();
  10114. int
  10115. main ()
  10116. {
  10117. return dlopen ();
  10118. ;
  10119. return 0;
  10120. }
  10121. _ACEOF
  10122. if ac_fn_c_try_link "$LINENO"; then :
  10123. ac_cv_lib_svld_dlopen=yes
  10124. else
  10125. ac_cv_lib_svld_dlopen=no
  10126. fi
  10127. rm -f core conftest.err conftest.$ac_objext \
  10128. conftest$ac_exeext conftest.$ac_ext
  10129. LIBS=$ac_check_lib_save_LIBS
  10130. fi
  10131. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
  10132. $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
  10133. if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
  10134. lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
  10135. else
  10136. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
  10137. $as_echo_n "checking for dld_link in -ldld... " >&6; }
  10138. if ${ac_cv_lib_dld_dld_link+:} false; then :
  10139. $as_echo_n "(cached) " >&6
  10140. else
  10141. ac_check_lib_save_LIBS=$LIBS
  10142. LIBS="-ldld $LIBS"
  10143. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10144. /* end confdefs.h. */
  10145. /* Override any GCC internal prototype to avoid an error.
  10146. Use char because int might match the return type of a GCC
  10147. builtin and then its argument prototype would still apply. */
  10148. #ifdef __cplusplus
  10149. extern "C"
  10150. #endif
  10151. char dld_link ();
  10152. int
  10153. main ()
  10154. {
  10155. return dld_link ();
  10156. ;
  10157. return 0;
  10158. }
  10159. _ACEOF
  10160. if ac_fn_c_try_link "$LINENO"; then :
  10161. ac_cv_lib_dld_dld_link=yes
  10162. else
  10163. ac_cv_lib_dld_dld_link=no
  10164. fi
  10165. rm -f core conftest.err conftest.$ac_objext \
  10166. conftest$ac_exeext conftest.$ac_ext
  10167. LIBS=$ac_check_lib_save_LIBS
  10168. fi
  10169. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
  10170. $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
  10171. if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
  10172. lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
  10173. fi
  10174. fi
  10175. fi
  10176. fi
  10177. fi
  10178. fi
  10179. ;;
  10180. esac
  10181. if test no = "$lt_cv_dlopen"; then
  10182. enable_dlopen=no
  10183. else
  10184. enable_dlopen=yes
  10185. fi
  10186. case $lt_cv_dlopen in
  10187. dlopen)
  10188. save_CPPFLAGS=$CPPFLAGS
  10189. test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
  10190. save_LDFLAGS=$LDFLAGS
  10191. wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
  10192. save_LIBS=$LIBS
  10193. LIBS="$lt_cv_dlopen_libs $LIBS"
  10194. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
  10195. $as_echo_n "checking whether a program can dlopen itself... " >&6; }
  10196. if ${lt_cv_dlopen_self+:} false; then :
  10197. $as_echo_n "(cached) " >&6
  10198. else
  10199. if test yes = "$cross_compiling"; then :
  10200. lt_cv_dlopen_self=cross
  10201. else
  10202. lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
  10203. lt_status=$lt_dlunknown
  10204. cat > conftest.$ac_ext <<_LT_EOF
  10205. #line $LINENO "configure"
  10206. #include "confdefs.h"
  10207. #if HAVE_DLFCN_H
  10208. #include <dlfcn.h>
  10209. #endif
  10210. #include <stdio.h>
  10211. #ifdef RTLD_GLOBAL
  10212. # define LT_DLGLOBAL RTLD_GLOBAL
  10213. #else
  10214. # ifdef DL_GLOBAL
  10215. # define LT_DLGLOBAL DL_GLOBAL
  10216. # else
  10217. # define LT_DLGLOBAL 0
  10218. # endif
  10219. #endif
  10220. /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
  10221. find out it does not work in some platform. */
  10222. #ifndef LT_DLLAZY_OR_NOW
  10223. # ifdef RTLD_LAZY
  10224. # define LT_DLLAZY_OR_NOW RTLD_LAZY
  10225. # else
  10226. # ifdef DL_LAZY
  10227. # define LT_DLLAZY_OR_NOW DL_LAZY
  10228. # else
  10229. # ifdef RTLD_NOW
  10230. # define LT_DLLAZY_OR_NOW RTLD_NOW
  10231. # else
  10232. # ifdef DL_NOW
  10233. # define LT_DLLAZY_OR_NOW DL_NOW
  10234. # else
  10235. # define LT_DLLAZY_OR_NOW 0
  10236. # endif
  10237. # endif
  10238. # endif
  10239. # endif
  10240. #endif
  10241. /* When -fvisibility=hidden is used, assume the code has been annotated
  10242. correspondingly for the symbols needed. */
  10243. #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
  10244. int fnord () __attribute__((visibility("default")));
  10245. #endif
  10246. int fnord () { return 42; }
  10247. int main ()
  10248. {
  10249. void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
  10250. int status = $lt_dlunknown;
  10251. if (self)
  10252. {
  10253. if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
  10254. else
  10255. {
  10256. if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
  10257. else puts (dlerror ());
  10258. }
  10259. /* dlclose (self); */
  10260. }
  10261. else
  10262. puts (dlerror ());
  10263. return status;
  10264. }
  10265. _LT_EOF
  10266. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  10267. (eval $ac_link) 2>&5
  10268. ac_status=$?
  10269. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  10270. test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
  10271. (./conftest; exit; ) >&5 2>/dev/null
  10272. lt_status=$?
  10273. case x$lt_status in
  10274. x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
  10275. x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
  10276. x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
  10277. esac
  10278. else :
  10279. # compilation failed
  10280. lt_cv_dlopen_self=no
  10281. fi
  10282. fi
  10283. rm -fr conftest*
  10284. fi
  10285. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
  10286. $as_echo "$lt_cv_dlopen_self" >&6; }
  10287. if test yes = "$lt_cv_dlopen_self"; then
  10288. wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
  10289. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
  10290. $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
  10291. if ${lt_cv_dlopen_self_static+:} false; then :
  10292. $as_echo_n "(cached) " >&6
  10293. else
  10294. if test yes = "$cross_compiling"; then :
  10295. lt_cv_dlopen_self_static=cross
  10296. else
  10297. lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
  10298. lt_status=$lt_dlunknown
  10299. cat > conftest.$ac_ext <<_LT_EOF
  10300. #line $LINENO "configure"
  10301. #include "confdefs.h"
  10302. #if HAVE_DLFCN_H
  10303. #include <dlfcn.h>
  10304. #endif
  10305. #include <stdio.h>
  10306. #ifdef RTLD_GLOBAL
  10307. # define LT_DLGLOBAL RTLD_GLOBAL
  10308. #else
  10309. # ifdef DL_GLOBAL
  10310. # define LT_DLGLOBAL DL_GLOBAL
  10311. # else
  10312. # define LT_DLGLOBAL 0
  10313. # endif
  10314. #endif
  10315. /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
  10316. find out it does not work in some platform. */
  10317. #ifndef LT_DLLAZY_OR_NOW
  10318. # ifdef RTLD_LAZY
  10319. # define LT_DLLAZY_OR_NOW RTLD_LAZY
  10320. # else
  10321. # ifdef DL_LAZY
  10322. # define LT_DLLAZY_OR_NOW DL_LAZY
  10323. # else
  10324. # ifdef RTLD_NOW
  10325. # define LT_DLLAZY_OR_NOW RTLD_NOW
  10326. # else
  10327. # ifdef DL_NOW
  10328. # define LT_DLLAZY_OR_NOW DL_NOW
  10329. # else
  10330. # define LT_DLLAZY_OR_NOW 0
  10331. # endif
  10332. # endif
  10333. # endif
  10334. # endif
  10335. #endif
  10336. /* When -fvisibility=hidden is used, assume the code has been annotated
  10337. correspondingly for the symbols needed. */
  10338. #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
  10339. int fnord () __attribute__((visibility("default")));
  10340. #endif
  10341. int fnord () { return 42; }
  10342. int main ()
  10343. {
  10344. void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
  10345. int status = $lt_dlunknown;
  10346. if (self)
  10347. {
  10348. if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
  10349. else
  10350. {
  10351. if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
  10352. else puts (dlerror ());
  10353. }
  10354. /* dlclose (self); */
  10355. }
  10356. else
  10357. puts (dlerror ());
  10358. return status;
  10359. }
  10360. _LT_EOF
  10361. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  10362. (eval $ac_link) 2>&5
  10363. ac_status=$?
  10364. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  10365. test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
  10366. (./conftest; exit; ) >&5 2>/dev/null
  10367. lt_status=$?
  10368. case x$lt_status in
  10369. x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
  10370. x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
  10371. x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
  10372. esac
  10373. else :
  10374. # compilation failed
  10375. lt_cv_dlopen_self_static=no
  10376. fi
  10377. fi
  10378. rm -fr conftest*
  10379. fi
  10380. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
  10381. $as_echo "$lt_cv_dlopen_self_static" >&6; }
  10382. fi
  10383. CPPFLAGS=$save_CPPFLAGS
  10384. LDFLAGS=$save_LDFLAGS
  10385. LIBS=$save_LIBS
  10386. ;;
  10387. esac
  10388. case $lt_cv_dlopen_self in
  10389. yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
  10390. *) enable_dlopen_self=unknown ;;
  10391. esac
  10392. case $lt_cv_dlopen_self_static in
  10393. yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
  10394. *) enable_dlopen_self_static=unknown ;;
  10395. esac
  10396. fi
  10397. striplib=
  10398. old_striplib=
  10399. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
  10400. $as_echo_n "checking whether stripping libraries is possible... " >&6; }
  10401. if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
  10402. test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
  10403. test -z "$striplib" && striplib="$STRIP --strip-unneeded"
  10404. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  10405. $as_echo "yes" >&6; }
  10406. else
  10407. # FIXME - insert some real tests, host_os isn't really good enough
  10408. case $host_os in
  10409. darwin*)
  10410. if test -n "$STRIP"; then
  10411. striplib="$STRIP -x"
  10412. old_striplib="$STRIP -S"
  10413. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  10414. $as_echo "yes" >&6; }
  10415. else
  10416. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  10417. $as_echo "no" >&6; }
  10418. fi
  10419. ;;
  10420. *)
  10421. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  10422. $as_echo "no" >&6; }
  10423. ;;
  10424. esac
  10425. fi
  10426. # Report what library types will actually be built
  10427. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
  10428. $as_echo_n "checking if libtool supports shared libraries... " >&6; }
  10429. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
  10430. $as_echo "$can_build_shared" >&6; }
  10431. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
  10432. $as_echo_n "checking whether to build shared libraries... " >&6; }
  10433. test no = "$can_build_shared" && enable_shared=no
  10434. # On AIX, shared libraries and static libraries use the same namespace, and
  10435. # are all built from PIC.
  10436. case $host_os in
  10437. aix3*)
  10438. test yes = "$enable_shared" && enable_static=no
  10439. if test -n "$RANLIB"; then
  10440. archive_cmds="$archive_cmds~\$RANLIB \$lib"
  10441. postinstall_cmds='$RANLIB $lib'
  10442. fi
  10443. ;;
  10444. aix[4-9]*)
  10445. if test ia64 != "$host_cpu"; then
  10446. case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
  10447. yes,aix,yes) ;; # shared object as lib.so file only
  10448. yes,svr4,*) ;; # shared object as lib.so archive member only
  10449. yes,*) enable_static=no ;; # shared object in lib.a archive as well
  10450. esac
  10451. fi
  10452. ;;
  10453. esac
  10454. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
  10455. $as_echo "$enable_shared" >&6; }
  10456. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
  10457. $as_echo_n "checking whether to build static libraries... " >&6; }
  10458. # Make sure either enable_shared or enable_static is yes.
  10459. test yes = "$enable_shared" || enable_static=yes
  10460. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
  10461. $as_echo "$enable_static" >&6; }
  10462. fi
  10463. ac_ext=c
  10464. ac_cpp='$CPP $CPPFLAGS'
  10465. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  10466. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  10467. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  10468. CC=$lt_save_CC
  10469. ac_config_commands="$ac_config_commands libtool"
  10470. # Only expand once:
  10471. { $as_echo "$as_me:${as_lineno-$LINENO}: checking what extension is used for runtime loadable modules" >&5
  10472. $as_echo_n "checking what extension is used for runtime loadable modules... " >&6; }
  10473. if ${libltdl_cv_shlibext+:} false; then :
  10474. $as_echo_n "(cached) " >&6
  10475. else
  10476. module=yes
  10477. eval libltdl_cv_shlibext=$shrext_cmds
  10478. module=no
  10479. eval libltdl_cv_shrext=$shrext_cmds
  10480. fi
  10481. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_shlibext" >&5
  10482. $as_echo "$libltdl_cv_shlibext" >&6; }
  10483. if test -n "$libltdl_cv_shlibext"; then
  10484. cat >>confdefs.h <<_ACEOF
  10485. #define LT_MODULE_EXT "$libltdl_cv_shlibext"
  10486. _ACEOF
  10487. fi
  10488. if test "$libltdl_cv_shrext" != "$libltdl_cv_shlibext"; then
  10489. cat >>confdefs.h <<_ACEOF
  10490. #define LT_SHARED_EXT "$libltdl_cv_shrext"
  10491. _ACEOF
  10492. fi
  10493. if test -n "$shared_archive_member_spec"; then
  10494. cat >>confdefs.h <<_ACEOF
  10495. #define LT_SHARED_LIB_MEMBER "($shared_archive_member_spec.o)"
  10496. _ACEOF
  10497. fi
  10498. { $as_echo "$as_me:${as_lineno-$LINENO}: checking what variable specifies run-time module search path" >&5
  10499. $as_echo_n "checking what variable specifies run-time module search path... " >&6; }
  10500. if ${lt_cv_module_path_var+:} false; then :
  10501. $as_echo_n "(cached) " >&6
  10502. else
  10503. lt_cv_module_path_var=$shlibpath_var
  10504. fi
  10505. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_module_path_var" >&5
  10506. $as_echo "$lt_cv_module_path_var" >&6; }
  10507. if test -n "$lt_cv_module_path_var"; then
  10508. cat >>confdefs.h <<_ACEOF
  10509. #define LT_MODULE_PATH_VAR "$lt_cv_module_path_var"
  10510. _ACEOF
  10511. fi
  10512. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the default library search path" >&5
  10513. $as_echo_n "checking for the default library search path... " >&6; }
  10514. if ${lt_cv_sys_dlsearch_path+:} false; then :
  10515. $as_echo_n "(cached) " >&6
  10516. else
  10517. lt_cv_sys_dlsearch_path=$sys_lib_dlsearch_path_spec
  10518. fi
  10519. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_dlsearch_path" >&5
  10520. $as_echo "$lt_cv_sys_dlsearch_path" >&6; }
  10521. if test -n "$lt_cv_sys_dlsearch_path"; then
  10522. sys_dlsearch_path=
  10523. for dir in $lt_cv_sys_dlsearch_path; do
  10524. if test -z "$sys_dlsearch_path"; then
  10525. sys_dlsearch_path=$dir
  10526. else
  10527. sys_dlsearch_path=$sys_dlsearch_path$PATH_SEPARATOR$dir
  10528. fi
  10529. done
  10530. cat >>confdefs.h <<_ACEOF
  10531. #define LT_DLSEARCH_PATH "$sys_dlsearch_path"
  10532. _ACEOF
  10533. fi
  10534. LT_DLLOADERS=
  10535. ac_ext=c
  10536. ac_cpp='$CPP $CPPFLAGS'
  10537. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  10538. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  10539. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  10540. lt_dlload_save_LIBS=$LIBS
  10541. LIBADD_DLOPEN=
  10542. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
  10543. $as_echo_n "checking for library containing dlopen... " >&6; }
  10544. if ${ac_cv_search_dlopen+:} false; then :
  10545. $as_echo_n "(cached) " >&6
  10546. else
  10547. ac_func_search_save_LIBS=$LIBS
  10548. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10549. /* end confdefs.h. */
  10550. /* Override any GCC internal prototype to avoid an error.
  10551. Use char because int might match the return type of a GCC
  10552. builtin and then its argument prototype would still apply. */
  10553. #ifdef __cplusplus
  10554. extern "C"
  10555. #endif
  10556. char dlopen ();
  10557. int
  10558. main ()
  10559. {
  10560. return dlopen ();
  10561. ;
  10562. return 0;
  10563. }
  10564. _ACEOF
  10565. for ac_lib in '' dl; do
  10566. if test -z "$ac_lib"; then
  10567. ac_res="none required"
  10568. else
  10569. ac_res=-l$ac_lib
  10570. LIBS="-l$ac_lib $ac_func_search_save_LIBS"
  10571. fi
  10572. if ac_fn_c_try_link "$LINENO"; then :
  10573. ac_cv_search_dlopen=$ac_res
  10574. fi
  10575. rm -f core conftest.err conftest.$ac_objext \
  10576. conftest$ac_exeext
  10577. if ${ac_cv_search_dlopen+:} false; then :
  10578. break
  10579. fi
  10580. done
  10581. if ${ac_cv_search_dlopen+:} false; then :
  10582. else
  10583. ac_cv_search_dlopen=no
  10584. fi
  10585. rm conftest.$ac_ext
  10586. LIBS=$ac_func_search_save_LIBS
  10587. fi
  10588. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
  10589. $as_echo "$ac_cv_search_dlopen" >&6; }
  10590. ac_res=$ac_cv_search_dlopen
  10591. if test "$ac_res" != no; then :
  10592. test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
  10593. $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
  10594. if test "$ac_cv_search_dlopen" != "none required"; then
  10595. LIBADD_DLOPEN=-ldl
  10596. fi
  10597. libltdl_cv_lib_dl_dlopen=yes
  10598. LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
  10599. else
  10600. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10601. /* end confdefs.h. */
  10602. #if HAVE_DLFCN_H
  10603. # include <dlfcn.h>
  10604. #endif
  10605. int
  10606. main ()
  10607. {
  10608. dlopen(0, 0);
  10609. ;
  10610. return 0;
  10611. }
  10612. _ACEOF
  10613. if ac_fn_c_try_link "$LINENO"; then :
  10614. $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
  10615. libltdl_cv_func_dlopen=yes
  10616. LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
  10617. else
  10618. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
  10619. $as_echo_n "checking for dlopen in -lsvld... " >&6; }
  10620. if ${ac_cv_lib_svld_dlopen+:} false; then :
  10621. $as_echo_n "(cached) " >&6
  10622. else
  10623. ac_check_lib_save_LIBS=$LIBS
  10624. LIBS="-lsvld $LIBS"
  10625. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10626. /* end confdefs.h. */
  10627. /* Override any GCC internal prototype to avoid an error.
  10628. Use char because int might match the return type of a GCC
  10629. builtin and then its argument prototype would still apply. */
  10630. #ifdef __cplusplus
  10631. extern "C"
  10632. #endif
  10633. char dlopen ();
  10634. int
  10635. main ()
  10636. {
  10637. return dlopen ();
  10638. ;
  10639. return 0;
  10640. }
  10641. _ACEOF
  10642. if ac_fn_c_try_link "$LINENO"; then :
  10643. ac_cv_lib_svld_dlopen=yes
  10644. else
  10645. ac_cv_lib_svld_dlopen=no
  10646. fi
  10647. rm -f core conftest.err conftest.$ac_objext \
  10648. conftest$ac_exeext conftest.$ac_ext
  10649. LIBS=$ac_check_lib_save_LIBS
  10650. fi
  10651. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
  10652. $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
  10653. if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
  10654. $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
  10655. LIBADD_DLOPEN=-lsvld libltdl_cv_func_dlopen=yes
  10656. LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
  10657. fi
  10658. fi
  10659. rm -f core conftest.err conftest.$ac_objext \
  10660. conftest$ac_exeext conftest.$ac_ext
  10661. fi
  10662. if test yes = "$libltdl_cv_func_dlopen" || test yes = "$libltdl_cv_lib_dl_dlopen"
  10663. then
  10664. lt_save_LIBS=$LIBS
  10665. LIBS="$LIBS $LIBADD_DLOPEN"
  10666. for ac_func in dlerror
  10667. do :
  10668. ac_fn_c_check_func "$LINENO" "dlerror" "ac_cv_func_dlerror"
  10669. if test "x$ac_cv_func_dlerror" = xyes; then :
  10670. cat >>confdefs.h <<_ACEOF
  10671. #define HAVE_DLERROR 1
  10672. _ACEOF
  10673. fi
  10674. done
  10675. LIBS=$lt_save_LIBS
  10676. fi
  10677. LIBADD_SHL_LOAD=
  10678. ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
  10679. if test "x$ac_cv_func_shl_load" = xyes; then :
  10680. $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
  10681. LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
  10682. else
  10683. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
  10684. $as_echo_n "checking for shl_load in -ldld... " >&6; }
  10685. if ${ac_cv_lib_dld_shl_load+:} false; then :
  10686. $as_echo_n "(cached) " >&6
  10687. else
  10688. ac_check_lib_save_LIBS=$LIBS
  10689. LIBS="-ldld $LIBS"
  10690. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10691. /* end confdefs.h. */
  10692. /* Override any GCC internal prototype to avoid an error.
  10693. Use char because int might match the return type of a GCC
  10694. builtin and then its argument prototype would still apply. */
  10695. #ifdef __cplusplus
  10696. extern "C"
  10697. #endif
  10698. char shl_load ();
  10699. int
  10700. main ()
  10701. {
  10702. return shl_load ();
  10703. ;
  10704. return 0;
  10705. }
  10706. _ACEOF
  10707. if ac_fn_c_try_link "$LINENO"; then :
  10708. ac_cv_lib_dld_shl_load=yes
  10709. else
  10710. ac_cv_lib_dld_shl_load=no
  10711. fi
  10712. rm -f core conftest.err conftest.$ac_objext \
  10713. conftest$ac_exeext conftest.$ac_ext
  10714. LIBS=$ac_check_lib_save_LIBS
  10715. fi
  10716. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
  10717. $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
  10718. if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
  10719. $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
  10720. LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
  10721. LIBADD_SHL_LOAD=-ldld
  10722. fi
  10723. fi
  10724. case $host_os in
  10725. darwin[1567].*)
  10726. # We only want this for pre-Mac OS X 10.4.
  10727. ac_fn_c_check_func "$LINENO" "_dyld_func_lookup" "ac_cv_func__dyld_func_lookup"
  10728. if test "x$ac_cv_func__dyld_func_lookup" = xyes; then :
  10729. $as_echo "#define HAVE_DYLD 1" >>confdefs.h
  10730. LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dyld.la"
  10731. fi
  10732. ;;
  10733. beos*)
  10734. LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}load_add_on.la"
  10735. ;;
  10736. cygwin* | mingw* | pw32*)
  10737. ac_fn_c_check_decl "$LINENO" "cygwin_conv_path" "ac_cv_have_decl_cygwin_conv_path" "#include <sys/cygwin.h>
  10738. "
  10739. if test "x$ac_cv_have_decl_cygwin_conv_path" = xyes; then :
  10740. ac_have_decl=1
  10741. else
  10742. ac_have_decl=0
  10743. fi
  10744. cat >>confdefs.h <<_ACEOF
  10745. #define HAVE_DECL_CYGWIN_CONV_PATH $ac_have_decl
  10746. _ACEOF
  10747. LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}loadlibrary.la"
  10748. ;;
  10749. esac
  10750. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
  10751. $as_echo_n "checking for dld_link in -ldld... " >&6; }
  10752. if ${ac_cv_lib_dld_dld_link+:} false; then :
  10753. $as_echo_n "(cached) " >&6
  10754. else
  10755. ac_check_lib_save_LIBS=$LIBS
  10756. LIBS="-ldld $LIBS"
  10757. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10758. /* end confdefs.h. */
  10759. /* Override any GCC internal prototype to avoid an error.
  10760. Use char because int might match the return type of a GCC
  10761. builtin and then its argument prototype would still apply. */
  10762. #ifdef __cplusplus
  10763. extern "C"
  10764. #endif
  10765. char dld_link ();
  10766. int
  10767. main ()
  10768. {
  10769. return dld_link ();
  10770. ;
  10771. return 0;
  10772. }
  10773. _ACEOF
  10774. if ac_fn_c_try_link "$LINENO"; then :
  10775. ac_cv_lib_dld_dld_link=yes
  10776. else
  10777. ac_cv_lib_dld_dld_link=no
  10778. fi
  10779. rm -f core conftest.err conftest.$ac_objext \
  10780. conftest$ac_exeext conftest.$ac_ext
  10781. LIBS=$ac_check_lib_save_LIBS
  10782. fi
  10783. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
  10784. $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
  10785. if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
  10786. $as_echo "#define HAVE_DLD 1" >>confdefs.h
  10787. LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dld_link.la"
  10788. fi
  10789. LT_DLPREOPEN=
  10790. if test -n "$LT_DLLOADERS"
  10791. then
  10792. for lt_loader in $LT_DLLOADERS; do
  10793. LT_DLPREOPEN="$LT_DLPREOPEN-dlpreopen $lt_loader "
  10794. done
  10795. $as_echo "#define HAVE_LIBDLLOADER 1" >>confdefs.h
  10796. fi
  10797. LIBADD_DL="$LIBADD_DLOPEN $LIBADD_SHL_LOAD"
  10798. LIBS=$lt_dlload_save_LIBS
  10799. ac_ext=c
  10800. ac_cpp='$CPP $CPPFLAGS'
  10801. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  10802. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  10803. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  10804. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ prefix in compiled symbols" >&5
  10805. $as_echo_n "checking for _ prefix in compiled symbols... " >&6; }
  10806. if ${lt_cv_sys_symbol_underscore+:} false; then :
  10807. $as_echo_n "(cached) " >&6
  10808. else
  10809. lt_cv_sys_symbol_underscore=no
  10810. cat > conftest.$ac_ext <<_LT_EOF
  10811. void nm_test_func(){}
  10812. int main(){nm_test_func;return 0;}
  10813. _LT_EOF
  10814. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  10815. (eval $ac_compile) 2>&5
  10816. ac_status=$?
  10817. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  10818. test $ac_status = 0; }; then
  10819. # Now try to grab the symbols.
  10820. ac_nlist=conftest.nm
  10821. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist\""; } >&5
  10822. (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist) 2>&5
  10823. ac_status=$?
  10824. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  10825. test $ac_status = 0; } && test -s "$ac_nlist"; then
  10826. # See whether the symbols have a leading underscore.
  10827. if grep '^. _nm_test_func' "$ac_nlist" >/dev/null; then
  10828. lt_cv_sys_symbol_underscore=yes
  10829. else
  10830. if grep '^. nm_test_func ' "$ac_nlist" >/dev/null; then
  10831. :
  10832. else
  10833. echo "configure: cannot find nm_test_func in $ac_nlist" >&5
  10834. fi
  10835. fi
  10836. else
  10837. echo "configure: cannot run $lt_cv_sys_global_symbol_pipe" >&5
  10838. fi
  10839. else
  10840. echo "configure: failed program was:" >&5
  10841. cat conftest.c >&5
  10842. fi
  10843. rm -rf conftest*
  10844. fi
  10845. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_symbol_underscore" >&5
  10846. $as_echo "$lt_cv_sys_symbol_underscore" >&6; }
  10847. sys_symbol_underscore=$lt_cv_sys_symbol_underscore
  10848. if test yes = "$lt_cv_sys_symbol_underscore"; then
  10849. if test yes = "$libltdl_cv_func_dlopen" || test yes = "$libltdl_cv_lib_dl_dlopen"; then
  10850. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have to add an underscore for dlsym" >&5
  10851. $as_echo_n "checking whether we have to add an underscore for dlsym... " >&6; }
  10852. if ${libltdl_cv_need_uscore+:} false; then :
  10853. $as_echo_n "(cached) " >&6
  10854. else
  10855. libltdl_cv_need_uscore=unknown
  10856. dlsym_uscore_save_LIBS=$LIBS
  10857. LIBS="$LIBS $LIBADD_DLOPEN"
  10858. libname=conftmod # stay within 8.3 filename limits!
  10859. cat >$libname.$ac_ext <<_LT_EOF
  10860. #line $LINENO "configure"
  10861. #include "confdefs.h"
  10862. /* When -fvisibility=hidden is used, assume the code has been annotated
  10863. correspondingly for the symbols needed. */
  10864. #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
  10865. int fnord () __attribute__((visibility("default")));
  10866. #endif
  10867. int fnord () { return 42; }
  10868. _LT_EOF
  10869. # ltfn_module_cmds module_cmds
  10870. # Execute tilde-delimited MODULE_CMDS with environment primed for
  10871. # $module_cmds or $archive_cmds type content.
  10872. ltfn_module_cmds ()
  10873. {( # subshell avoids polluting parent global environment
  10874. module_cmds_save_ifs=$IFS; IFS='~'
  10875. for cmd in $1; do
  10876. IFS=$module_cmds_save_ifs
  10877. libobjs=$libname.$ac_objext; lib=$libname$libltdl_cv_shlibext
  10878. rpath=/not-exists; soname=$libname$libltdl_cv_shlibext; output_objdir=.
  10879. major=; versuffix=; verstring=; deplibs=
  10880. ECHO=echo; wl=$lt_prog_compiler_wl; allow_undefined_flag=
  10881. eval $cmd
  10882. done
  10883. IFS=$module_cmds_save_ifs
  10884. )}
  10885. # Compile a loadable module using libtool macro expansion results.
  10886. $CC $pic_flag -c $libname.$ac_ext
  10887. ltfn_module_cmds "${module_cmds:-$archive_cmds}"
  10888. # Try to fetch fnord with dlsym().
  10889. libltdl_dlunknown=0; libltdl_dlnouscore=1; libltdl_dluscore=2
  10890. cat >conftest.$ac_ext <<_LT_EOF
  10891. #line $LINENO "configure"
  10892. #include "confdefs.h"
  10893. #if HAVE_DLFCN_H
  10894. #include <dlfcn.h>
  10895. #endif
  10896. #include <stdio.h>
  10897. #ifndef RTLD_GLOBAL
  10898. # ifdef DL_GLOBAL
  10899. # define RTLD_GLOBAL DL_GLOBAL
  10900. # else
  10901. # define RTLD_GLOBAL 0
  10902. # endif
  10903. #endif
  10904. #ifndef RTLD_NOW
  10905. # ifdef DL_NOW
  10906. # define RTLD_NOW DL_NOW
  10907. # else
  10908. # define RTLD_NOW 0
  10909. # endif
  10910. #endif
  10911. int main () {
  10912. void *handle = dlopen ("`pwd`/$libname$libltdl_cv_shlibext", RTLD_GLOBAL|RTLD_NOW);
  10913. int status = $libltdl_dlunknown;
  10914. if (handle) {
  10915. if (dlsym (handle, "fnord"))
  10916. status = $libltdl_dlnouscore;
  10917. else {
  10918. if (dlsym (handle, "_fnord"))
  10919. status = $libltdl_dluscore;
  10920. else
  10921. puts (dlerror ());
  10922. }
  10923. dlclose (handle);
  10924. } else
  10925. puts (dlerror ());
  10926. return status;
  10927. }
  10928. _LT_EOF
  10929. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  10930. (eval $ac_link) 2>&5
  10931. ac_status=$?
  10932. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  10933. test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
  10934. (./conftest; exit; ) >&5 2>/dev/null
  10935. libltdl_status=$?
  10936. case x$libltdl_status in
  10937. x$libltdl_dlnouscore) libltdl_cv_need_uscore=no ;;
  10938. x$libltdl_dluscore) libltdl_cv_need_uscore=yes ;;
  10939. x*) libltdl_cv_need_uscore=unknown ;;
  10940. esac
  10941. fi
  10942. rm -rf conftest* $libname*
  10943. LIBS=$dlsym_uscore_save_LIBS
  10944. fi
  10945. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_need_uscore" >&5
  10946. $as_echo "$libltdl_cv_need_uscore" >&6; }
  10947. fi
  10948. fi
  10949. if test yes = "$libltdl_cv_need_uscore"; then
  10950. $as_echo "#define NEED_USCORE 1" >>confdefs.h
  10951. fi
  10952. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether deplibs are loaded by dlopen" >&5
  10953. $as_echo_n "checking whether deplibs are loaded by dlopen... " >&6; }
  10954. if ${lt_cv_sys_dlopen_deplibs+:} false; then :
  10955. $as_echo_n "(cached) " >&6
  10956. else
  10957. # PORTME does your system automatically load deplibs for dlopen?
  10958. # or its logical equivalent (e.g. shl_load for HP-UX < 11)
  10959. # For now, we just catch OSes we know something about -- in the
  10960. # future, we'll try test this programmatically.
  10961. lt_cv_sys_dlopen_deplibs=unknown
  10962. case $host_os in
  10963. aix3*|aix4.1.*|aix4.2.*)
  10964. # Unknown whether this is true for these versions of AIX, but
  10965. # we want this 'case' here to explicitly catch those versions.
  10966. lt_cv_sys_dlopen_deplibs=unknown
  10967. ;;
  10968. aix[4-9]*)
  10969. lt_cv_sys_dlopen_deplibs=yes
  10970. ;;
  10971. amigaos*)
  10972. case $host_cpu in
  10973. powerpc)
  10974. lt_cv_sys_dlopen_deplibs=no
  10975. ;;
  10976. esac
  10977. ;;
  10978. bitrig*)
  10979. lt_cv_sys_dlopen_deplibs=yes
  10980. ;;
  10981. darwin*)
  10982. # Assuming the user has installed a libdl from somewhere, this is true
  10983. # If you are looking for one http://www.opendarwin.org/projects/dlcompat
  10984. lt_cv_sys_dlopen_deplibs=yes
  10985. ;;
  10986. freebsd* | dragonfly*)
  10987. lt_cv_sys_dlopen_deplibs=yes
  10988. ;;
  10989. gnu* | linux* | k*bsd*-gnu | kopensolaris*-gnu)
  10990. # GNU and its variants, using gnu ld.so (Glibc)
  10991. lt_cv_sys_dlopen_deplibs=yes
  10992. ;;
  10993. hpux10*|hpux11*)
  10994. lt_cv_sys_dlopen_deplibs=yes
  10995. ;;
  10996. interix*)
  10997. lt_cv_sys_dlopen_deplibs=yes
  10998. ;;
  10999. irix[12345]*|irix6.[01]*)
  11000. # Catch all versions of IRIX before 6.2, and indicate that we don't
  11001. # know how it worked for any of those versions.
  11002. lt_cv_sys_dlopen_deplibs=unknown
  11003. ;;
  11004. irix*)
  11005. # The case above catches anything before 6.2, and it's known that
  11006. # at 6.2 and later dlopen does load deplibs.
  11007. lt_cv_sys_dlopen_deplibs=yes
  11008. ;;
  11009. netbsd*)
  11010. lt_cv_sys_dlopen_deplibs=yes
  11011. ;;
  11012. openbsd*)
  11013. lt_cv_sys_dlopen_deplibs=yes
  11014. ;;
  11015. osf[1234]*)
  11016. # dlopen did load deplibs (at least at 4.x), but until the 5.x series,
  11017. # it did *not* use an RPATH in a shared library to find objects the
  11018. # library depends on, so we explicitly say 'no'.
  11019. lt_cv_sys_dlopen_deplibs=no
  11020. ;;
  11021. osf5.0|osf5.0a|osf5.1)
  11022. # dlopen *does* load deplibs and with the right loader patch applied
  11023. # it even uses RPATH in a shared library to search for shared objects
  11024. # that the library depends on, but there's no easy way to know if that
  11025. # patch is installed. Since this is the case, all we can really
  11026. # say is unknown -- it depends on the patch being installed. If
  11027. # it is, this changes to 'yes'. Without it, it would be 'no'.
  11028. lt_cv_sys_dlopen_deplibs=unknown
  11029. ;;
  11030. osf*)
  11031. # the two cases above should catch all versions of osf <= 5.1. Read
  11032. # the comments above for what we know about them.
  11033. # At > 5.1, deplibs are loaded *and* any RPATH in a shared library
  11034. # is used to find them so we can finally say 'yes'.
  11035. lt_cv_sys_dlopen_deplibs=yes
  11036. ;;
  11037. qnx*)
  11038. lt_cv_sys_dlopen_deplibs=yes
  11039. ;;
  11040. solaris*)
  11041. lt_cv_sys_dlopen_deplibs=yes
  11042. ;;
  11043. sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  11044. libltdl_cv_sys_dlopen_deplibs=yes
  11045. ;;
  11046. esac
  11047. fi
  11048. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_dlopen_deplibs" >&5
  11049. $as_echo "$lt_cv_sys_dlopen_deplibs" >&6; }
  11050. if test yes != "$lt_cv_sys_dlopen_deplibs"; then
  11051. $as_echo "#define LTDL_DLOPEN_DEPLIBS 1" >>confdefs.h
  11052. fi
  11053. for ac_header in argz.h
  11054. do :
  11055. ac_fn_c_check_header_compile "$LINENO" "argz.h" "ac_cv_header_argz_h" "$ac_includes_default
  11056. "
  11057. if test "x$ac_cv_header_argz_h" = xyes; then :
  11058. cat >>confdefs.h <<_ACEOF
  11059. #define HAVE_ARGZ_H 1
  11060. _ACEOF
  11061. fi
  11062. done
  11063. ac_fn_c_check_type "$LINENO" "error_t" "ac_cv_type_error_t" "#if defined(HAVE_ARGZ_H)
  11064. # include <argz.h>
  11065. #endif
  11066. "
  11067. if test "x$ac_cv_type_error_t" = xyes; then :
  11068. cat >>confdefs.h <<_ACEOF
  11069. #define HAVE_ERROR_T 1
  11070. _ACEOF
  11071. else
  11072. $as_echo "#define error_t int" >>confdefs.h
  11073. $as_echo "#define __error_t_defined 1" >>confdefs.h
  11074. fi
  11075. LT_ARGZ_H=
  11076. for ac_func in argz_add argz_append argz_count argz_create_sep argz_insert \
  11077. argz_next argz_stringify
  11078. do :
  11079. as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  11080. ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
  11081. if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
  11082. cat >>confdefs.h <<_ACEOF
  11083. #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
  11084. _ACEOF
  11085. else
  11086. LT_ARGZ_H=lt__argz.h; case " $LIBOBJS " in
  11087. *" lt__argz.$ac_objext "* ) ;;
  11088. *) LIBOBJS="$LIBOBJS lt__argz.$ac_objext"
  11089. ;;
  11090. esac
  11091. fi
  11092. done
  11093. if test -z "$LT_ARGZ_H"; then :
  11094. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if argz actually works" >&5
  11095. $as_echo_n "checking if argz actually works... " >&6; }
  11096. if ${lt_cv_sys_argz_works+:} false; then :
  11097. $as_echo_n "(cached) " >&6
  11098. else
  11099. case $host_os in #(
  11100. *cygwin*)
  11101. lt_cv_sys_argz_works=no
  11102. if test no != "$cross_compiling"; then
  11103. lt_cv_sys_argz_works="guessing no"
  11104. else
  11105. lt_sed_extract_leading_digits='s/^\([0-9\.]*\).*/\1/'
  11106. save_IFS=$IFS
  11107. IFS=-.
  11108. set x `uname -r | sed -e "$lt_sed_extract_leading_digits"`
  11109. IFS=$save_IFS
  11110. lt_os_major=${2-0}
  11111. lt_os_minor=${3-0}
  11112. lt_os_micro=${4-0}
  11113. if test 1 -lt "$lt_os_major" \
  11114. || { test 1 -eq "$lt_os_major" \
  11115. && { test 5 -lt "$lt_os_minor" \
  11116. || { test 5 -eq "$lt_os_minor" \
  11117. && test 24 -lt "$lt_os_micro"; }; }; }; then
  11118. lt_cv_sys_argz_works=yes
  11119. fi
  11120. fi
  11121. ;; #(
  11122. *) lt_cv_sys_argz_works=yes ;;
  11123. esac
  11124. fi
  11125. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_argz_works" >&5
  11126. $as_echo "$lt_cv_sys_argz_works" >&6; }
  11127. if test yes = "$lt_cv_sys_argz_works"; then :
  11128. $as_echo "#define HAVE_WORKING_ARGZ 1" >>confdefs.h
  11129. else
  11130. LT_ARGZ_H=lt__argz.h
  11131. case " $LIBOBJS " in
  11132. *" lt__argz.$ac_objext "* ) ;;
  11133. *) LIBOBJS="$LIBOBJS lt__argz.$ac_objext"
  11134. ;;
  11135. esac
  11136. fi
  11137. fi
  11138. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libtool supports -dlopen/-dlpreopen" >&5
  11139. $as_echo_n "checking whether libtool supports -dlopen/-dlpreopen... " >&6; }
  11140. if ${libltdl_cv_preloaded_symbols+:} false; then :
  11141. $as_echo_n "(cached) " >&6
  11142. else
  11143. if test -n "$lt_cv_sys_global_symbol_pipe"; then
  11144. libltdl_cv_preloaded_symbols=yes
  11145. else
  11146. libltdl_cv_preloaded_symbols=no
  11147. fi
  11148. fi
  11149. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_preloaded_symbols" >&5
  11150. $as_echo "$libltdl_cv_preloaded_symbols" >&6; }
  11151. if test yes = "$libltdl_cv_preloaded_symbols"; then
  11152. $as_echo "#define HAVE_PRELOADED_SYMBOLS 1" >>confdefs.h
  11153. fi
  11154. # Check whether --enable-ltdl-install was given.
  11155. if test "${enable_ltdl_install+set}" = set; then :
  11156. enableval=$enable_ltdl_install;
  11157. fi
  11158. case ,$enable_ltdl_install,$enable_ltdl_convenience in
  11159. *yes*) ;;
  11160. *) enable_ltdl_convenience=yes ;;
  11161. esac
  11162. if test no != "${enable_ltdl_install-no}"; then
  11163. INSTALL_LTDL_TRUE=
  11164. INSTALL_LTDL_FALSE='#'
  11165. else
  11166. INSTALL_LTDL_TRUE='#'
  11167. INSTALL_LTDL_FALSE=
  11168. fi
  11169. if test no != "${enable_ltdl_convenience-no}"; then
  11170. CONVENIENCE_LTDL_TRUE=
  11171. CONVENIENCE_LTDL_FALSE='#'
  11172. else
  11173. CONVENIENCE_LTDL_TRUE='#'
  11174. CONVENIENCE_LTDL_FALSE=
  11175. fi
  11176. # In order that ltdl.c can compile, find out the first AC_CONFIG_HEADERS
  11177. # the user used. This is so that ltdl.h can pick up the parent projects
  11178. # config.h file, The first file in AC_CONFIG_HEADERS must contain the
  11179. # definitions required by ltdl.c.
  11180. # FIXME: Remove use of undocumented AC_LIST_HEADERS (2.59 compatibility).
  11181. for ac_header in unistd.h dl.h sys/dl.h dld.h mach-o/dyld.h dirent.h
  11182. do :
  11183. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  11184. ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
  11185. "
  11186. if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
  11187. cat >>confdefs.h <<_ACEOF
  11188. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  11189. _ACEOF
  11190. fi
  11191. done
  11192. for ac_func in closedir opendir readdir
  11193. do :
  11194. as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  11195. ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
  11196. if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
  11197. cat >>confdefs.h <<_ACEOF
  11198. #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
  11199. _ACEOF
  11200. else
  11201. case " $LIBOBJS " in
  11202. *" lt__dirent.$ac_objext "* ) ;;
  11203. *) LIBOBJS="$LIBOBJS lt__dirent.$ac_objext"
  11204. ;;
  11205. esac
  11206. fi
  11207. done
  11208. for ac_func in strlcat strlcpy
  11209. do :
  11210. as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  11211. ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
  11212. if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
  11213. cat >>confdefs.h <<_ACEOF
  11214. #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
  11215. _ACEOF
  11216. else
  11217. case " $LIBOBJS " in
  11218. *" lt__strl.$ac_objext "* ) ;;
  11219. *) LIBOBJS="$LIBOBJS lt__strl.$ac_objext"
  11220. ;;
  11221. esac
  11222. fi
  11223. done
  11224. cat >>confdefs.h <<_ACEOF
  11225. #define LT_LIBEXT "$libext"
  11226. _ACEOF
  11227. name=
  11228. eval "lt_libprefix=\"$libname_spec\""
  11229. cat >>confdefs.h <<_ACEOF
  11230. #define LT_LIBPREFIX "$lt_libprefix"
  11231. _ACEOF
  11232. name=ltdl
  11233. eval "LTDLOPEN=\"$libname_spec\""
  11234. ## -------- ##
  11235. ## Outputs. ##
  11236. ## -------- ##
  11237. ac_config_files="$ac_config_files Makefile"
  11238. cat >confcache <<\_ACEOF
  11239. # This file is a shell script that caches the results of configure
  11240. # tests run on this system so they can be shared between configure
  11241. # scripts and configure runs, see configure's option --config-cache.
  11242. # It is not useful on other systems. If it contains results you don't
  11243. # want to keep, you may remove or edit it.
  11244. #
  11245. # config.status only pays attention to the cache file if you give it
  11246. # the --recheck option to rerun configure.
  11247. #
  11248. # `ac_cv_env_foo' variables (set or unset) will be overridden when
  11249. # loading this file, other *unset* `ac_cv_foo' will be assigned the
  11250. # following values.
  11251. _ACEOF
  11252. # The following way of writing the cache mishandles newlines in values,
  11253. # but we know of no workaround that is simple, portable, and efficient.
  11254. # So, we kill variables containing newlines.
  11255. # Ultrix sh set writes to stderr and can't be redirected directly,
  11256. # and sets the high bit in the cache file unless we assign to the vars.
  11257. (
  11258. for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
  11259. eval ac_val=\$$ac_var
  11260. case $ac_val in #(
  11261. *${as_nl}*)
  11262. case $ac_var in #(
  11263. *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  11264. $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  11265. esac
  11266. case $ac_var in #(
  11267. _ | IFS | as_nl) ;; #(
  11268. BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  11269. *) { eval $ac_var=; unset $ac_var;} ;;
  11270. esac ;;
  11271. esac
  11272. done
  11273. (set) 2>&1 |
  11274. case $as_nl`(ac_space=' '; set) 2>&1` in #(
  11275. *${as_nl}ac_space=\ *)
  11276. # `set' does not quote correctly, so add quotes: double-quote
  11277. # substitution turns \\\\ into \\, and sed turns \\ into \.
  11278. sed -n \
  11279. "s/'/'\\\\''/g;
  11280. s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
  11281. ;; #(
  11282. *)
  11283. # `set' quotes correctly as required by POSIX, so do not add quotes.
  11284. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  11285. ;;
  11286. esac |
  11287. sort
  11288. ) |
  11289. sed '
  11290. /^ac_cv_env_/b end
  11291. t clear
  11292. :clear
  11293. s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
  11294. t end
  11295. s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
  11296. :end' >>confcache
  11297. if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
  11298. if test -w "$cache_file"; then
  11299. if test "x$cache_file" != "x/dev/null"; then
  11300. { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
  11301. $as_echo "$as_me: updating cache $cache_file" >&6;}
  11302. if test ! -f "$cache_file" || test -h "$cache_file"; then
  11303. cat confcache >"$cache_file"
  11304. else
  11305. case $cache_file in #(
  11306. */* | ?:*)
  11307. mv -f confcache "$cache_file"$$ &&
  11308. mv -f "$cache_file"$$ "$cache_file" ;; #(
  11309. *)
  11310. mv -f confcache "$cache_file" ;;
  11311. esac
  11312. fi
  11313. fi
  11314. else
  11315. { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
  11316. $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
  11317. fi
  11318. fi
  11319. rm -f confcache
  11320. test "x$prefix" = xNONE && prefix=$ac_default_prefix
  11321. # Let make expand exec_prefix.
  11322. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
  11323. DEFS=-DHAVE_CONFIG_H
  11324. ac_libobjs=
  11325. ac_ltlibobjs=
  11326. U=
  11327. for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
  11328. # 1. Remove the extension, and $U if already installed.
  11329. ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
  11330. ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
  11331. # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
  11332. # will be set to the directory where LIBOBJS objects are built.
  11333. as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
  11334. as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
  11335. done
  11336. LIBOBJS=$ac_libobjs
  11337. LTLIBOBJS=$ac_ltlibobjs
  11338. if test -n "$EXEEXT"; then
  11339. am__EXEEXT_TRUE=
  11340. am__EXEEXT_FALSE='#'
  11341. else
  11342. am__EXEEXT_TRUE='#'
  11343. am__EXEEXT_FALSE=
  11344. fi
  11345. if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
  11346. as_fn_error $? "conditional \"AMDEP\" was never defined.
  11347. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  11348. fi
  11349. if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
  11350. as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
  11351. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  11352. fi
  11353. if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then
  11354. as_fn_error $? "conditional \"INSTALL_LTDL\" was never defined.
  11355. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  11356. fi
  11357. if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then
  11358. as_fn_error $? "conditional \"CONVENIENCE_LTDL\" was never defined.
  11359. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  11360. fi
  11361. LT_CONFIG_H=config.h
  11362. : "${CONFIG_STATUS=./config.status}"
  11363. ac_write_fail=0
  11364. ac_clean_files_save=$ac_clean_files
  11365. ac_clean_files="$ac_clean_files $CONFIG_STATUS"
  11366. { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
  11367. $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
  11368. as_write_fail=0
  11369. cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
  11370. #! $SHELL
  11371. # Generated by $as_me.
  11372. # Run this file to recreate the current configuration.
  11373. # Compiler output produced by configure, useful for debugging
  11374. # configure, is in config.log if it exists.
  11375. debug=false
  11376. ac_cs_recheck=false
  11377. ac_cs_silent=false
  11378. SHELL=\${CONFIG_SHELL-$SHELL}
  11379. export SHELL
  11380. _ASEOF
  11381. cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
  11382. ## -------------------- ##
  11383. ## M4sh Initialization. ##
  11384. ## -------------------- ##
  11385. # Be more Bourne compatible
  11386. DUALCASE=1; export DUALCASE # for MKS sh
  11387. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  11388. emulate sh
  11389. NULLCMD=:
  11390. # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  11391. # is contrary to our usage. Disable this feature.
  11392. alias -g '${1+"$@"}'='"$@"'
  11393. setopt NO_GLOB_SUBST
  11394. else
  11395. case `(set -o) 2>/dev/null` in #(
  11396. *posix*) :
  11397. set -o posix ;; #(
  11398. *) :
  11399. ;;
  11400. esac
  11401. fi
  11402. as_nl='
  11403. '
  11404. export as_nl
  11405. as_echo='printf %s\n'
  11406. as_echo_n='printf %s'
  11407. # The user is always right.
  11408. if test "${PATH_SEPARATOR+set}" != set; then
  11409. PATH_SEPARATOR=:
  11410. (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  11411. (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  11412. PATH_SEPARATOR=';'
  11413. }
  11414. fi
  11415. # IFS
  11416. # We need space, tab and new line, in precisely that order. Quoting is
  11417. # there to prevent editors from complaining about space-tab.
  11418. # (If _AS_PATH_WALK were called with IFS unset, it would disable word
  11419. # splitting by setting IFS to empty value.)
  11420. IFS=" "" $as_nl"
  11421. # Find who we are. Look in the path if we contain no directory separator.
  11422. as_myself=
  11423. case $0 in #((
  11424. *[\\/]* ) as_myself=$0 ;;
  11425. *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  11426. for as_dir in $PATH
  11427. do
  11428. IFS=$as_save_IFS
  11429. test -z "$as_dir" && as_dir=.
  11430. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  11431. done
  11432. IFS=$as_save_IFS
  11433. ;;
  11434. esac
  11435. # We did not find ourselves, most probably we were run as `sh COMMAND'
  11436. # in which case we are not to be found in the path.
  11437. if test "x$as_myself" = x; then
  11438. as_myself=$0
  11439. fi
  11440. if test ! -f "$as_myself"; then
  11441. $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  11442. exit 1
  11443. fi
  11444. # Unset variables that we do not need and which cause bugs (e.g. in
  11445. # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
  11446. # suppresses any "Segmentation fault" message there. '((' could
  11447. # trigger a bug in pdksh 5.2.14.
  11448. for as_var in BASH_ENV ENV MAIL MAILPATH
  11449. do eval test x\${$as_var+set} = xset \
  11450. && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  11451. done
  11452. PS1='$ '
  11453. PS2='> '
  11454. PS4='+ '
  11455. # NLS nuisances.
  11456. LC_ALL=C
  11457. export LC_ALL
  11458. LANGUAGE=C
  11459. export LANGUAGE
  11460. # CDPATH.
  11461. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  11462. # as_fn_error STATUS ERROR [LINENO LOG_FD]
  11463. # ----------------------------------------
  11464. # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  11465. # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  11466. # script with STATUS, using 1 if that was 0.
  11467. as_fn_error ()
  11468. {
  11469. as_status=$1; test $as_status -eq 0 && as_status=1
  11470. if test "$4"; then
  11471. as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  11472. $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
  11473. fi
  11474. $as_echo "$as_me: error: $2" >&2
  11475. as_fn_exit $as_status
  11476. } # as_fn_error
  11477. # as_fn_set_status STATUS
  11478. # -----------------------
  11479. # Set $? to STATUS, without forking.
  11480. as_fn_set_status ()
  11481. {
  11482. return $1
  11483. } # as_fn_set_status
  11484. # as_fn_exit STATUS
  11485. # -----------------
  11486. # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  11487. as_fn_exit ()
  11488. {
  11489. set +e
  11490. as_fn_set_status $1
  11491. exit $1
  11492. } # as_fn_exit
  11493. # as_fn_unset VAR
  11494. # ---------------
  11495. # Portably unset VAR.
  11496. as_fn_unset ()
  11497. {
  11498. { eval $1=; unset $1;}
  11499. }
  11500. as_unset=as_fn_unset
  11501. # as_fn_append VAR VALUE
  11502. # ----------------------
  11503. # Append the text in VALUE to the end of the definition contained in VAR. Take
  11504. # advantage of any shell optimizations that allow amortized linear growth over
  11505. # repeated appends, instead of the typical quadratic growth present in naive
  11506. # implementations.
  11507. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  11508. eval 'as_fn_append ()
  11509. {
  11510. eval $1+=\$2
  11511. }'
  11512. else
  11513. as_fn_append ()
  11514. {
  11515. eval $1=\$$1\$2
  11516. }
  11517. fi # as_fn_append
  11518. # as_fn_arith ARG...
  11519. # ------------------
  11520. # Perform arithmetic evaluation on the ARGs, and store the result in the
  11521. # global $as_val. Take advantage of shells that can avoid forks. The arguments
  11522. # must be portable across $(()) and expr.
  11523. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  11524. eval 'as_fn_arith ()
  11525. {
  11526. as_val=$(( $* ))
  11527. }'
  11528. else
  11529. as_fn_arith ()
  11530. {
  11531. as_val=`expr "$@" || test $? -eq 1`
  11532. }
  11533. fi # as_fn_arith
  11534. if expr a : '\(a\)' >/dev/null 2>&1 &&
  11535. test "X`expr 00001 : '.*\(...\)'`" = X001; then
  11536. as_expr=expr
  11537. else
  11538. as_expr=false
  11539. fi
  11540. if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  11541. as_basename=basename
  11542. else
  11543. as_basename=false
  11544. fi
  11545. if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  11546. as_dirname=dirname
  11547. else
  11548. as_dirname=false
  11549. fi
  11550. as_me=`$as_basename -- "$0" ||
  11551. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  11552. X"$0" : 'X\(//\)$' \| \
  11553. X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  11554. $as_echo X/"$0" |
  11555. sed '/^.*\/\([^/][^/]*\)\/*$/{
  11556. s//\1/
  11557. q
  11558. }
  11559. /^X\/\(\/\/\)$/{
  11560. s//\1/
  11561. q
  11562. }
  11563. /^X\/\(\/\).*/{
  11564. s//\1/
  11565. q
  11566. }
  11567. s/.*/./; q'`
  11568. # Avoid depending upon Character Ranges.
  11569. as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  11570. as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  11571. as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  11572. as_cr_digits='0123456789'
  11573. as_cr_alnum=$as_cr_Letters$as_cr_digits
  11574. ECHO_C= ECHO_N= ECHO_T=
  11575. case `echo -n x` in #(((((
  11576. -n*)
  11577. case `echo 'xy\c'` in
  11578. *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  11579. xy) ECHO_C='\c';;
  11580. *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
  11581. ECHO_T=' ';;
  11582. esac;;
  11583. *)
  11584. ECHO_N='-n';;
  11585. esac
  11586. rm -f conf$$ conf$$.exe conf$$.file
  11587. if test -d conf$$.dir; then
  11588. rm -f conf$$.dir/conf$$.file
  11589. else
  11590. rm -f conf$$.dir
  11591. mkdir conf$$.dir 2>/dev/null
  11592. fi
  11593. if (echo >conf$$.file) 2>/dev/null; then
  11594. if ln -s conf$$.file conf$$ 2>/dev/null; then
  11595. as_ln_s='ln -s'
  11596. # ... but there are two gotchas:
  11597. # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  11598. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  11599. # In both cases, we have to default to `cp -pR'.
  11600. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  11601. as_ln_s='cp -pR'
  11602. elif ln conf$$.file conf$$ 2>/dev/null; then
  11603. as_ln_s=ln
  11604. else
  11605. as_ln_s='cp -pR'
  11606. fi
  11607. else
  11608. as_ln_s='cp -pR'
  11609. fi
  11610. rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  11611. rmdir conf$$.dir 2>/dev/null
  11612. # as_fn_mkdir_p
  11613. # -------------
  11614. # Create "$as_dir" as a directory, including parents if necessary.
  11615. as_fn_mkdir_p ()
  11616. {
  11617. case $as_dir in #(
  11618. -*) as_dir=./$as_dir;;
  11619. esac
  11620. test -d "$as_dir" || eval $as_mkdir_p || {
  11621. as_dirs=
  11622. while :; do
  11623. case $as_dir in #(
  11624. *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  11625. *) as_qdir=$as_dir;;
  11626. esac
  11627. as_dirs="'$as_qdir' $as_dirs"
  11628. as_dir=`$as_dirname -- "$as_dir" ||
  11629. $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  11630. X"$as_dir" : 'X\(//\)[^/]' \| \
  11631. X"$as_dir" : 'X\(//\)$' \| \
  11632. X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  11633. $as_echo X"$as_dir" |
  11634. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  11635. s//\1/
  11636. q
  11637. }
  11638. /^X\(\/\/\)[^/].*/{
  11639. s//\1/
  11640. q
  11641. }
  11642. /^X\(\/\/\)$/{
  11643. s//\1/
  11644. q
  11645. }
  11646. /^X\(\/\).*/{
  11647. s//\1/
  11648. q
  11649. }
  11650. s/.*/./; q'`
  11651. test -d "$as_dir" && break
  11652. done
  11653. test -z "$as_dirs" || eval "mkdir $as_dirs"
  11654. } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
  11655. } # as_fn_mkdir_p
  11656. if mkdir -p . 2>/dev/null; then
  11657. as_mkdir_p='mkdir -p "$as_dir"'
  11658. else
  11659. test -d ./-p && rmdir ./-p
  11660. as_mkdir_p=false
  11661. fi
  11662. # as_fn_executable_p FILE
  11663. # -----------------------
  11664. # Test if FILE is an executable regular file.
  11665. as_fn_executable_p ()
  11666. {
  11667. test -f "$1" && test -x "$1"
  11668. } # as_fn_executable_p
  11669. as_test_x='test -x'
  11670. as_executable_p=as_fn_executable_p
  11671. # Sed expression to map a string onto a valid CPP name.
  11672. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  11673. # Sed expression to map a string onto a valid variable name.
  11674. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  11675. exec 6>&1
  11676. ## ----------------------------------- ##
  11677. ## Main body of $CONFIG_STATUS script. ##
  11678. ## ----------------------------------- ##
  11679. _ASEOF
  11680. test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
  11681. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  11682. # Save the log message, to keep $0 and so on meaningful, and to
  11683. # report actual input values of CONFIG_FILES etc. instead of their
  11684. # values after options handling.
  11685. ac_log="
  11686. This file was extended by libltdl $as_me 2.4.3a, which was
  11687. generated by GNU Autoconf 2.69. Invocation command line was
  11688. CONFIG_FILES = $CONFIG_FILES
  11689. CONFIG_HEADERS = $CONFIG_HEADERS
  11690. CONFIG_LINKS = $CONFIG_LINKS
  11691. CONFIG_COMMANDS = $CONFIG_COMMANDS
  11692. $ $0 $@
  11693. on `(hostname || uname -n) 2>/dev/null | sed 1q`
  11694. "
  11695. _ACEOF
  11696. case $ac_config_files in *"
  11697. "*) set x $ac_config_files; shift; ac_config_files=$*;;
  11698. esac
  11699. case $ac_config_headers in *"
  11700. "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
  11701. esac
  11702. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  11703. # Files that config.status was made for.
  11704. config_files="$ac_config_files"
  11705. config_headers="$ac_config_headers"
  11706. config_commands="$ac_config_commands"
  11707. _ACEOF
  11708. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  11709. ac_cs_usage="\
  11710. \`$as_me' instantiates files and other configuration actions
  11711. from templates according to the current configuration. Unless the files
  11712. and actions are specified as TAGs, all are instantiated by default.
  11713. Usage: $0 [OPTION]... [TAG]...
  11714. -h, --help print this help, then exit
  11715. -V, --version print version number and configuration settings, then exit
  11716. --config print configuration, then exit
  11717. -q, --quiet, --silent
  11718. do not print progress messages
  11719. -d, --debug don't remove temporary files
  11720. --recheck update $as_me by reconfiguring in the same conditions
  11721. --file=FILE[:TEMPLATE]
  11722. instantiate the configuration file FILE
  11723. --header=FILE[:TEMPLATE]
  11724. instantiate the configuration header FILE
  11725. Configuration files:
  11726. $config_files
  11727. Configuration headers:
  11728. $config_headers
  11729. Configuration commands:
  11730. $config_commands
  11731. Report bugs to <bug-libtool@gnu.org>."
  11732. _ACEOF
  11733. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  11734. ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
  11735. ac_cs_version="\\
  11736. libltdl config.status 2.4.3a
  11737. configured by $0, generated by GNU Autoconf 2.69,
  11738. with options \\"\$ac_cs_config\\"
  11739. Copyright (C) 2012 Free Software Foundation, Inc.
  11740. This config.status script is free software; the Free Software Foundation
  11741. gives unlimited permission to copy, distribute and modify it."
  11742. ac_pwd='$ac_pwd'
  11743. srcdir='$srcdir'
  11744. INSTALL='$INSTALL'
  11745. MKDIR_P='$MKDIR_P'
  11746. AWK='$AWK'
  11747. test -n "\$AWK" || AWK=awk
  11748. _ACEOF
  11749. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  11750. # The default lists apply if the user does not specify any file.
  11751. ac_need_defaults=:
  11752. while test $# != 0
  11753. do
  11754. case $1 in
  11755. --*=?*)
  11756. ac_option=`expr "X$1" : 'X\([^=]*\)='`
  11757. ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
  11758. ac_shift=:
  11759. ;;
  11760. --*=)
  11761. ac_option=`expr "X$1" : 'X\([^=]*\)='`
  11762. ac_optarg=
  11763. ac_shift=:
  11764. ;;
  11765. *)
  11766. ac_option=$1
  11767. ac_optarg=$2
  11768. ac_shift=shift
  11769. ;;
  11770. esac
  11771. case $ac_option in
  11772. # Handling of the options.
  11773. -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  11774. ac_cs_recheck=: ;;
  11775. --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
  11776. $as_echo "$ac_cs_version"; exit ;;
  11777. --config | --confi | --conf | --con | --co | --c )
  11778. $as_echo "$ac_cs_config"; exit ;;
  11779. --debug | --debu | --deb | --de | --d | -d )
  11780. debug=: ;;
  11781. --file | --fil | --fi | --f )
  11782. $ac_shift
  11783. case $ac_optarg in
  11784. *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  11785. '') as_fn_error $? "missing file argument" ;;
  11786. esac
  11787. as_fn_append CONFIG_FILES " '$ac_optarg'"
  11788. ac_need_defaults=false;;
  11789. --header | --heade | --head | --hea )
  11790. $ac_shift
  11791. case $ac_optarg in
  11792. *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  11793. esac
  11794. as_fn_append CONFIG_HEADERS " '$ac_optarg'"
  11795. ac_need_defaults=false;;
  11796. --he | --h)
  11797. # Conflict between --help and --header
  11798. as_fn_error $? "ambiguous option: \`$1'
  11799. Try \`$0 --help' for more information.";;
  11800. --help | --hel | -h )
  11801. $as_echo "$ac_cs_usage"; exit ;;
  11802. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  11803. | -silent | --silent | --silen | --sile | --sil | --si | --s)
  11804. ac_cs_silent=: ;;
  11805. # This is an error.
  11806. -*) as_fn_error $? "unrecognized option: \`$1'
  11807. Try \`$0 --help' for more information." ;;
  11808. *) as_fn_append ac_config_targets " $1"
  11809. ac_need_defaults=false ;;
  11810. esac
  11811. shift
  11812. done
  11813. ac_configure_extra_args=
  11814. if $ac_cs_silent; then
  11815. exec 6>/dev/null
  11816. ac_configure_extra_args="$ac_configure_extra_args --silent"
  11817. fi
  11818. _ACEOF
  11819. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  11820. if \$ac_cs_recheck; then
  11821. set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
  11822. shift
  11823. \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
  11824. CONFIG_SHELL='$SHELL'
  11825. export CONFIG_SHELL
  11826. exec "\$@"
  11827. fi
  11828. _ACEOF
  11829. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  11830. exec 5>>config.log
  11831. {
  11832. echo
  11833. sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
  11834. ## Running $as_me. ##
  11835. _ASBOX
  11836. $as_echo "$ac_log"
  11837. } >&5
  11838. _ACEOF
  11839. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  11840. #
  11841. # INIT-COMMANDS
  11842. #
  11843. AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
  11844. # The HP-UX ksh and POSIX shell print the target directory to stdout
  11845. # if CDPATH is set.
  11846. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  11847. sed_quote_subst='$sed_quote_subst'
  11848. double_quote_subst='$double_quote_subst'
  11849. delay_variable_subst='$delay_variable_subst'
  11850. macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
  11851. macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
  11852. AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
  11853. DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
  11854. OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
  11855. enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
  11856. enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
  11857. pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
  11858. enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
  11859. shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
  11860. SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
  11861. ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
  11862. PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
  11863. host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
  11864. host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
  11865. host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
  11866. build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
  11867. build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
  11868. build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
  11869. SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
  11870. Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
  11871. GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
  11872. EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
  11873. FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
  11874. LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
  11875. NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
  11876. LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
  11877. max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
  11878. ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
  11879. exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
  11880. lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
  11881. lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
  11882. lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
  11883. lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
  11884. lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
  11885. reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
  11886. reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
  11887. deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
  11888. file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
  11889. file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
  11890. want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
  11891. sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
  11892. AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
  11893. AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
  11894. archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
  11895. STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
  11896. RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
  11897. old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
  11898. old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
  11899. old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
  11900. lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
  11901. CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
  11902. CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
  11903. compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
  11904. GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
  11905. lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
  11906. lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
  11907. lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
  11908. lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
  11909. 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"`'
  11910. lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
  11911. nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
  11912. lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
  11913. lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
  11914. objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
  11915. MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
  11916. lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
  11917. lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
  11918. lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
  11919. lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
  11920. lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
  11921. need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
  11922. MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
  11923. DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
  11924. NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
  11925. LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
  11926. OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
  11927. OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
  11928. libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
  11929. shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
  11930. extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
  11931. archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
  11932. enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
  11933. export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
  11934. whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
  11935. compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
  11936. old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
  11937. old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
  11938. archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
  11939. archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
  11940. module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
  11941. module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
  11942. with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
  11943. allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
  11944. no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
  11945. hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
  11946. hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
  11947. hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
  11948. hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
  11949. hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
  11950. hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
  11951. hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
  11952. inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
  11953. link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
  11954. always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
  11955. export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
  11956. exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
  11957. include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
  11958. prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
  11959. postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
  11960. file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
  11961. variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
  11962. need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
  11963. need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
  11964. version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
  11965. runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
  11966. shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
  11967. shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
  11968. libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
  11969. library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
  11970. soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
  11971. install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
  11972. postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
  11973. postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
  11974. finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
  11975. finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
  11976. hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
  11977. sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
  11978. configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
  11979. configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
  11980. hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
  11981. enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
  11982. enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
  11983. enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
  11984. old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
  11985. striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
  11986. LTCC='$LTCC'
  11987. LTCFLAGS='$LTCFLAGS'
  11988. compiler='$compiler_DEFAULT'
  11989. # A function that is used when there is no print builtin or printf.
  11990. func_fallback_echo ()
  11991. {
  11992. eval 'cat <<_LTECHO_EOF
  11993. \$1
  11994. _LTECHO_EOF'
  11995. }
  11996. # Quote evaled strings.
  11997. for var in AS \
  11998. DLLTOOL \
  11999. OBJDUMP \
  12000. SHELL \
  12001. ECHO \
  12002. PATH_SEPARATOR \
  12003. SED \
  12004. GREP \
  12005. EGREP \
  12006. FGREP \
  12007. LD \
  12008. NM \
  12009. LN_S \
  12010. lt_SP2NL \
  12011. lt_NL2SP \
  12012. reload_flag \
  12013. deplibs_check_method \
  12014. file_magic_cmd \
  12015. file_magic_glob \
  12016. want_nocaseglob \
  12017. sharedlib_from_linklib_cmd \
  12018. AR \
  12019. AR_FLAGS \
  12020. archiver_list_spec \
  12021. STRIP \
  12022. RANLIB \
  12023. CC \
  12024. CFLAGS \
  12025. compiler \
  12026. lt_cv_sys_global_symbol_pipe \
  12027. lt_cv_sys_global_symbol_to_cdecl \
  12028. lt_cv_sys_global_symbol_to_import \
  12029. lt_cv_sys_global_symbol_to_c_name_address \
  12030. lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
  12031. lt_cv_nm_interface \
  12032. nm_file_list_spec \
  12033. lt_cv_truncate_bin \
  12034. lt_prog_compiler_no_builtin_flag \
  12035. lt_prog_compiler_pic \
  12036. lt_prog_compiler_wl \
  12037. lt_prog_compiler_static \
  12038. lt_cv_prog_compiler_c_o \
  12039. need_locks \
  12040. MANIFEST_TOOL \
  12041. DSYMUTIL \
  12042. NMEDIT \
  12043. LIPO \
  12044. OTOOL \
  12045. OTOOL64 \
  12046. shrext_cmds \
  12047. export_dynamic_flag_spec \
  12048. whole_archive_flag_spec \
  12049. compiler_needs_object \
  12050. with_gnu_ld \
  12051. allow_undefined_flag \
  12052. no_undefined_flag \
  12053. hardcode_libdir_flag_spec \
  12054. hardcode_libdir_separator \
  12055. exclude_expsyms \
  12056. include_expsyms \
  12057. file_list_spec \
  12058. variables_saved_for_relink \
  12059. libname_spec \
  12060. library_names_spec \
  12061. soname_spec \
  12062. install_override_mode \
  12063. finish_eval \
  12064. old_striplib \
  12065. striplib; do
  12066. case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
  12067. *[\\\\\\\`\\"\\\$]*)
  12068. eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
  12069. ;;
  12070. *)
  12071. eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
  12072. ;;
  12073. esac
  12074. done
  12075. # Double-quote double-evaled strings.
  12076. for var in reload_cmds \
  12077. old_postinstall_cmds \
  12078. old_postuninstall_cmds \
  12079. old_archive_cmds \
  12080. extract_expsyms_cmds \
  12081. old_archive_from_new_cmds \
  12082. old_archive_from_expsyms_cmds \
  12083. archive_cmds \
  12084. archive_expsym_cmds \
  12085. module_cmds \
  12086. module_expsym_cmds \
  12087. export_symbols_cmds \
  12088. prelink_cmds \
  12089. postlink_cmds \
  12090. postinstall_cmds \
  12091. postuninstall_cmds \
  12092. finish_cmds \
  12093. sys_lib_search_path_spec \
  12094. configure_time_dlsearch_path \
  12095. configure_time_lt_sys_library_path; do
  12096. case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
  12097. *[\\\\\\\`\\"\\\$]*)
  12098. eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
  12099. ;;
  12100. *)
  12101. eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
  12102. ;;
  12103. esac
  12104. done
  12105. ac_aux_dir='$ac_aux_dir'
  12106. # See if we are running on zsh, and set the options that allow our
  12107. # commands through without removal of \ escapes INIT.
  12108. if test -n "\${ZSH_VERSION+set}"; then
  12109. setopt NO_GLOB_SUBST
  12110. fi
  12111. PACKAGE='$PACKAGE'
  12112. VERSION='$VERSION'
  12113. RM='$RM'
  12114. ofile='$ofile'
  12115. _ACEOF
  12116. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  12117. # Handling of arguments.
  12118. for ac_config_target in $ac_config_targets
  12119. do
  12120. case $ac_config_target in
  12121. "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config-h.in" ;;
  12122. "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
  12123. "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
  12124. "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
  12125. *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
  12126. esac
  12127. done
  12128. # If the user did not use the arguments to specify the items to instantiate,
  12129. # then the envvar interface is used. Set only those that are not.
  12130. # We use the long form for the default assignment because of an extremely
  12131. # bizarre bug on SunOS 4.1.3.
  12132. if $ac_need_defaults; then
  12133. test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
  12134. test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
  12135. test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
  12136. fi
  12137. # Have a temporary directory for convenience. Make it in the build tree
  12138. # simply because there is no reason against having it here, and in addition,
  12139. # creating and moving files from /tmp can sometimes cause problems.
  12140. # Hook for its removal unless debugging.
  12141. # Note that there is a small window in which the directory will not be cleaned:
  12142. # after its creation but before its name has been assigned to `$tmp'.
  12143. $debug ||
  12144. {
  12145. tmp= ac_tmp=
  12146. trap 'exit_status=$?
  12147. : "${ac_tmp:=$tmp}"
  12148. { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
  12149. ' 0
  12150. trap 'as_fn_exit 1' 1 2 13 15
  12151. }
  12152. # Create a (secure) tmp directory for tmp files.
  12153. {
  12154. tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
  12155. test -d "$tmp"
  12156. } ||
  12157. {
  12158. tmp=./conf$$-$RANDOM
  12159. (umask 077 && mkdir "$tmp")
  12160. } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
  12161. ac_tmp=$tmp
  12162. # Set up the scripts for CONFIG_FILES section.
  12163. # No need to generate them if there are no CONFIG_FILES.
  12164. # This happens for instance with `./config.status config.h'.
  12165. if test -n "$CONFIG_FILES"; then
  12166. ac_cr=`echo X | tr X '\015'`
  12167. # On cygwin, bash can eat \r inside `` if the user requested igncr.
  12168. # But we know of no other shell where ac_cr would be empty at this
  12169. # point, so we can use a bashism as a fallback.
  12170. if test "x$ac_cr" = x; then
  12171. eval ac_cr=\$\'\\r\'
  12172. fi
  12173. ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
  12174. if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
  12175. ac_cs_awk_cr='\\r'
  12176. else
  12177. ac_cs_awk_cr=$ac_cr
  12178. fi
  12179. echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
  12180. _ACEOF
  12181. {
  12182. echo "cat >conf$$subs.awk <<_ACEOF" &&
  12183. echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
  12184. echo "_ACEOF"
  12185. } >conf$$subs.sh ||
  12186. as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  12187. ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
  12188. ac_delim='%!_!# '
  12189. for ac_last_try in false false false false false :; do
  12190. . ./conf$$subs.sh ||
  12191. as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  12192. ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
  12193. if test $ac_delim_n = $ac_delim_num; then
  12194. break
  12195. elif $ac_last_try; then
  12196. as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  12197. else
  12198. ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  12199. fi
  12200. done
  12201. rm -f conf$$subs.sh
  12202. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  12203. cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
  12204. _ACEOF
  12205. sed -n '
  12206. h
  12207. s/^/S["/; s/!.*/"]=/
  12208. p
  12209. g
  12210. s/^[^!]*!//
  12211. :repl
  12212. t repl
  12213. s/'"$ac_delim"'$//
  12214. t delim
  12215. :nl
  12216. h
  12217. s/\(.\{148\}\)..*/\1/
  12218. t more1
  12219. s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
  12220. p
  12221. n
  12222. b repl
  12223. :more1
  12224. s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  12225. p
  12226. g
  12227. s/.\{148\}//
  12228. t nl
  12229. :delim
  12230. h
  12231. s/\(.\{148\}\)..*/\1/
  12232. t more2
  12233. s/["\\]/\\&/g; s/^/"/; s/$/"/
  12234. p
  12235. b
  12236. :more2
  12237. s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  12238. p
  12239. g
  12240. s/.\{148\}//
  12241. t delim
  12242. ' <conf$$subs.awk | sed '
  12243. /^[^""]/{
  12244. N
  12245. s/\n//
  12246. }
  12247. ' >>$CONFIG_STATUS || ac_write_fail=1
  12248. rm -f conf$$subs.awk
  12249. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  12250. _ACAWK
  12251. cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
  12252. for (key in S) S_is_set[key] = 1
  12253. FS = ""
  12254. }
  12255. {
  12256. line = $ 0
  12257. nfields = split(line, field, "@")
  12258. substed = 0
  12259. len = length(field[1])
  12260. for (i = 2; i < nfields; i++) {
  12261. key = field[i]
  12262. keylen = length(key)
  12263. if (S_is_set[key]) {
  12264. value = S[key]
  12265. line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
  12266. len += length(value) + length(field[++i])
  12267. substed = 1
  12268. } else
  12269. len += 1 + keylen
  12270. }
  12271. print line
  12272. }
  12273. _ACAWK
  12274. _ACEOF
  12275. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  12276. if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
  12277. sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
  12278. else
  12279. cat
  12280. fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
  12281. || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
  12282. _ACEOF
  12283. # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
  12284. # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
  12285. # trailing colons and then remove the whole line if VPATH becomes empty
  12286. # (actually we leave an empty line to preserve line numbers).
  12287. if test "x$srcdir" = x.; then
  12288. ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
  12289. h
  12290. s///
  12291. s/^/:/
  12292. s/[ ]*$/:/
  12293. s/:\$(srcdir):/:/g
  12294. s/:\${srcdir}:/:/g
  12295. s/:@srcdir@:/:/g
  12296. s/^:*//
  12297. s/:*$//
  12298. x
  12299. s/\(=[ ]*\).*/\1/
  12300. G
  12301. s/\n//
  12302. s/^[^=]*=[ ]*$//
  12303. }'
  12304. fi
  12305. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  12306. fi # test -n "$CONFIG_FILES"
  12307. # Set up the scripts for CONFIG_HEADERS section.
  12308. # No need to generate them if there are no CONFIG_HEADERS.
  12309. # This happens for instance with `./config.status Makefile'.
  12310. if test -n "$CONFIG_HEADERS"; then
  12311. cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
  12312. BEGIN {
  12313. _ACEOF
  12314. # Transform confdefs.h into an awk script `defines.awk', embedded as
  12315. # here-document in config.status, that substitutes the proper values into
  12316. # config.h.in to produce config.h.
  12317. # Create a delimiter string that does not exist in confdefs.h, to ease
  12318. # handling of long lines.
  12319. ac_delim='%!_!# '
  12320. for ac_last_try in false false :; do
  12321. ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
  12322. if test -z "$ac_tt"; then
  12323. break
  12324. elif $ac_last_try; then
  12325. as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
  12326. else
  12327. ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  12328. fi
  12329. done
  12330. # For the awk script, D is an array of macro values keyed by name,
  12331. # likewise P contains macro parameters if any. Preserve backslash
  12332. # newline sequences.
  12333. ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
  12334. sed -n '
  12335. s/.\{148\}/&'"$ac_delim"'/g
  12336. t rset
  12337. :rset
  12338. s/^[ ]*#[ ]*define[ ][ ]*/ /
  12339. t def
  12340. d
  12341. :def
  12342. s/\\$//
  12343. t bsnl
  12344. s/["\\]/\\&/g
  12345. s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
  12346. D["\1"]=" \3"/p
  12347. s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
  12348. d
  12349. :bsnl
  12350. s/["\\]/\\&/g
  12351. s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
  12352. D["\1"]=" \3\\\\\\n"\\/p
  12353. t cont
  12354. s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
  12355. t cont
  12356. d
  12357. :cont
  12358. n
  12359. s/.\{148\}/&'"$ac_delim"'/g
  12360. t clear
  12361. :clear
  12362. s/\\$//
  12363. t bsnlc
  12364. s/["\\]/\\&/g; s/^/"/; s/$/"/p
  12365. d
  12366. :bsnlc
  12367. s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
  12368. b cont
  12369. ' <confdefs.h | sed '
  12370. s/'"$ac_delim"'/"\\\
  12371. "/g' >>$CONFIG_STATUS || ac_write_fail=1
  12372. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  12373. for (key in D) D_is_set[key] = 1
  12374. FS = ""
  12375. }
  12376. /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
  12377. line = \$ 0
  12378. split(line, arg, " ")
  12379. if (arg[1] == "#") {
  12380. defundef = arg[2]
  12381. mac1 = arg[3]
  12382. } else {
  12383. defundef = substr(arg[1], 2)
  12384. mac1 = arg[2]
  12385. }
  12386. split(mac1, mac2, "(") #)
  12387. macro = mac2[1]
  12388. prefix = substr(line, 1, index(line, defundef) - 1)
  12389. if (D_is_set[macro]) {
  12390. # Preserve the white space surrounding the "#".
  12391. print prefix "define", macro P[macro] D[macro]
  12392. next
  12393. } else {
  12394. # Replace #undef with comments. This is necessary, for example,
  12395. # in the case of _POSIX_SOURCE, which is predefined and required
  12396. # on some systems where configure will not decide to define it.
  12397. if (defundef == "undef") {
  12398. print "/*", prefix defundef, macro, "*/"
  12399. next
  12400. }
  12401. }
  12402. }
  12403. { print }
  12404. _ACAWK
  12405. _ACEOF
  12406. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  12407. as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
  12408. fi # test -n "$CONFIG_HEADERS"
  12409. eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
  12410. shift
  12411. for ac_tag
  12412. do
  12413. case $ac_tag in
  12414. :[FHLC]) ac_mode=$ac_tag; continue;;
  12415. esac
  12416. case $ac_mode$ac_tag in
  12417. :[FHL]*:*);;
  12418. :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
  12419. :[FH]-) ac_tag=-:-;;
  12420. :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
  12421. esac
  12422. ac_save_IFS=$IFS
  12423. IFS=:
  12424. set x $ac_tag
  12425. IFS=$ac_save_IFS
  12426. shift
  12427. ac_file=$1
  12428. shift
  12429. case $ac_mode in
  12430. :L) ac_source=$1;;
  12431. :[FH])
  12432. ac_file_inputs=
  12433. for ac_f
  12434. do
  12435. case $ac_f in
  12436. -) ac_f="$ac_tmp/stdin";;
  12437. *) # Look for the file first in the build tree, then in the source tree
  12438. # (if the path is not absolute). The absolute path cannot be DOS-style,
  12439. # because $ac_f cannot contain `:'.
  12440. test -f "$ac_f" ||
  12441. case $ac_f in
  12442. [\\/$]*) false;;
  12443. *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
  12444. esac ||
  12445. as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
  12446. esac
  12447. case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
  12448. as_fn_append ac_file_inputs " '$ac_f'"
  12449. done
  12450. # Let's still pretend it is `configure' which instantiates (i.e., don't
  12451. # use $as_me), people would be surprised to read:
  12452. # /* config.h. Generated by config.status. */
  12453. configure_input='Generated from '`
  12454. $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
  12455. `' by configure.'
  12456. if test x"$ac_file" != x-; then
  12457. configure_input="$ac_file. $configure_input"
  12458. { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
  12459. $as_echo "$as_me: creating $ac_file" >&6;}
  12460. fi
  12461. # Neutralize special characters interpreted by sed in replacement strings.
  12462. case $configure_input in #(
  12463. *\&* | *\|* | *\\* )
  12464. ac_sed_conf_input=`$as_echo "$configure_input" |
  12465. sed 's/[\\\\&|]/\\\\&/g'`;; #(
  12466. *) ac_sed_conf_input=$configure_input;;
  12467. esac
  12468. case $ac_tag in
  12469. *:-:* | *:-) cat >"$ac_tmp/stdin" \
  12470. || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
  12471. esac
  12472. ;;
  12473. esac
  12474. ac_dir=`$as_dirname -- "$ac_file" ||
  12475. $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  12476. X"$ac_file" : 'X\(//\)[^/]' \| \
  12477. X"$ac_file" : 'X\(//\)$' \| \
  12478. X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
  12479. $as_echo X"$ac_file" |
  12480. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  12481. s//\1/
  12482. q
  12483. }
  12484. /^X\(\/\/\)[^/].*/{
  12485. s//\1/
  12486. q
  12487. }
  12488. /^X\(\/\/\)$/{
  12489. s//\1/
  12490. q
  12491. }
  12492. /^X\(\/\).*/{
  12493. s//\1/
  12494. q
  12495. }
  12496. s/.*/./; q'`
  12497. as_dir="$ac_dir"; as_fn_mkdir_p
  12498. ac_builddir=.
  12499. case "$ac_dir" in
  12500. .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  12501. *)
  12502. ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  12503. # A ".." for each directory in $ac_dir_suffix.
  12504. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  12505. case $ac_top_builddir_sub in
  12506. "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  12507. *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  12508. esac ;;
  12509. esac
  12510. ac_abs_top_builddir=$ac_pwd
  12511. ac_abs_builddir=$ac_pwd$ac_dir_suffix
  12512. # for backward compatibility:
  12513. ac_top_builddir=$ac_top_build_prefix
  12514. case $srcdir in
  12515. .) # We are building in place.
  12516. ac_srcdir=.
  12517. ac_top_srcdir=$ac_top_builddir_sub
  12518. ac_abs_top_srcdir=$ac_pwd ;;
  12519. [\\/]* | ?:[\\/]* ) # Absolute name.
  12520. ac_srcdir=$srcdir$ac_dir_suffix;
  12521. ac_top_srcdir=$srcdir
  12522. ac_abs_top_srcdir=$srcdir ;;
  12523. *) # Relative name.
  12524. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  12525. ac_top_srcdir=$ac_top_build_prefix$srcdir
  12526. ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  12527. esac
  12528. ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  12529. case $ac_mode in
  12530. :F)
  12531. #
  12532. # CONFIG_FILE
  12533. #
  12534. case $INSTALL in
  12535. [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
  12536. *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
  12537. esac
  12538. ac_MKDIR_P=$MKDIR_P
  12539. case $MKDIR_P in
  12540. [\\/$]* | ?:[\\/]* ) ;;
  12541. */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
  12542. esac
  12543. _ACEOF
  12544. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  12545. # If the template does not know about datarootdir, expand it.
  12546. # FIXME: This hack should be removed a few years after 2.60.
  12547. ac_datarootdir_hack=; ac_datarootdir_seen=
  12548. ac_sed_dataroot='
  12549. /datarootdir/ {
  12550. p
  12551. q
  12552. }
  12553. /@datadir@/p
  12554. /@docdir@/p
  12555. /@infodir@/p
  12556. /@localedir@/p
  12557. /@mandir@/p'
  12558. case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
  12559. *datarootdir*) ac_datarootdir_seen=yes;;
  12560. *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
  12561. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
  12562. $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
  12563. _ACEOF
  12564. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  12565. ac_datarootdir_hack='
  12566. s&@datadir@&$datadir&g
  12567. s&@docdir@&$docdir&g
  12568. s&@infodir@&$infodir&g
  12569. s&@localedir@&$localedir&g
  12570. s&@mandir@&$mandir&g
  12571. s&\\\${datarootdir}&$datarootdir&g' ;;
  12572. esac
  12573. _ACEOF
  12574. # Neutralize VPATH when `$srcdir' = `.'.
  12575. # Shell code in configure.ac might set extrasub.
  12576. # FIXME: do we really want to maintain this feature?
  12577. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  12578. ac_sed_extra="$ac_vpsub
  12579. $extrasub
  12580. _ACEOF
  12581. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  12582. :t
  12583. /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
  12584. s|@configure_input@|$ac_sed_conf_input|;t t
  12585. s&@top_builddir@&$ac_top_builddir_sub&;t t
  12586. s&@top_build_prefix@&$ac_top_build_prefix&;t t
  12587. s&@srcdir@&$ac_srcdir&;t t
  12588. s&@abs_srcdir@&$ac_abs_srcdir&;t t
  12589. s&@top_srcdir@&$ac_top_srcdir&;t t
  12590. s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
  12591. s&@builddir@&$ac_builddir&;t t
  12592. s&@abs_builddir@&$ac_abs_builddir&;t t
  12593. s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
  12594. s&@INSTALL@&$ac_INSTALL&;t t
  12595. s&@MKDIR_P@&$ac_MKDIR_P&;t t
  12596. $ac_datarootdir_hack
  12597. "
  12598. eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
  12599. >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  12600. test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
  12601. { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
  12602. { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
  12603. "$ac_tmp/out"`; test -z "$ac_out"; } &&
  12604. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  12605. which seems to be undefined. Please make sure it is defined" >&5
  12606. $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  12607. which seems to be undefined. Please make sure it is defined" >&2;}
  12608. rm -f "$ac_tmp/stdin"
  12609. case $ac_file in
  12610. -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
  12611. *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
  12612. esac \
  12613. || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  12614. ;;
  12615. :H)
  12616. #
  12617. # CONFIG_HEADER
  12618. #
  12619. if test x"$ac_file" != x-; then
  12620. {
  12621. $as_echo "/* $configure_input */" \
  12622. && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
  12623. } >"$ac_tmp/config.h" \
  12624. || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  12625. if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
  12626. { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
  12627. $as_echo "$as_me: $ac_file is unchanged" >&6;}
  12628. else
  12629. rm -f "$ac_file"
  12630. mv "$ac_tmp/config.h" "$ac_file" \
  12631. || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  12632. fi
  12633. else
  12634. $as_echo "/* $configure_input */" \
  12635. && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
  12636. || as_fn_error $? "could not create -" "$LINENO" 5
  12637. fi
  12638. # Compute "$ac_file"'s index in $config_headers.
  12639. _am_arg="$ac_file"
  12640. _am_stamp_count=1
  12641. for _am_header in $config_headers :; do
  12642. case $_am_header in
  12643. $_am_arg | $_am_arg:* )
  12644. break ;;
  12645. * )
  12646. _am_stamp_count=`expr $_am_stamp_count + 1` ;;
  12647. esac
  12648. done
  12649. echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
  12650. $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  12651. X"$_am_arg" : 'X\(//\)[^/]' \| \
  12652. X"$_am_arg" : 'X\(//\)$' \| \
  12653. X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
  12654. $as_echo X"$_am_arg" |
  12655. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  12656. s//\1/
  12657. q
  12658. }
  12659. /^X\(\/\/\)[^/].*/{
  12660. s//\1/
  12661. q
  12662. }
  12663. /^X\(\/\/\)$/{
  12664. s//\1/
  12665. q
  12666. }
  12667. /^X\(\/\).*/{
  12668. s//\1/
  12669. q
  12670. }
  12671. s/.*/./; q'`/stamp-h$_am_stamp_count
  12672. ;;
  12673. :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
  12674. $as_echo "$as_me: executing $ac_file commands" >&6;}
  12675. ;;
  12676. esac
  12677. case $ac_file$ac_mode in
  12678. "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
  12679. # Older Autoconf quotes --file arguments for eval, but not when files
  12680. # are listed without --file. Let's play safe and only enable the eval
  12681. # if we detect the quoting.
  12682. case $CONFIG_FILES in
  12683. *\'*) eval set x "$CONFIG_FILES" ;;
  12684. *) set x $CONFIG_FILES ;;
  12685. esac
  12686. shift
  12687. for mf
  12688. do
  12689. # Strip MF so we end up with the name of the file.
  12690. mf=`echo "$mf" | sed -e 's/:.*$//'`
  12691. # Check whether this is an Automake generated Makefile or not.
  12692. # We used to match only the files named 'Makefile.in', but
  12693. # some people rename them; so instead we look at the file content.
  12694. # Grep'ing the first line is not enough: some people post-process
  12695. # each Makefile.in and add a new line on top of each file to say so.
  12696. # Grep'ing the whole file is not good either: AIX grep has a line
  12697. # limit of 2048, but all sed's we know have understand at least 4000.
  12698. if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
  12699. dirpart=`$as_dirname -- "$mf" ||
  12700. $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  12701. X"$mf" : 'X\(//\)[^/]' \| \
  12702. X"$mf" : 'X\(//\)$' \| \
  12703. X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
  12704. $as_echo X"$mf" |
  12705. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  12706. s//\1/
  12707. q
  12708. }
  12709. /^X\(\/\/\)[^/].*/{
  12710. s//\1/
  12711. q
  12712. }
  12713. /^X\(\/\/\)$/{
  12714. s//\1/
  12715. q
  12716. }
  12717. /^X\(\/\).*/{
  12718. s//\1/
  12719. q
  12720. }
  12721. s/.*/./; q'`
  12722. else
  12723. continue
  12724. fi
  12725. # Extract the definition of DEPDIR, am__include, and am__quote
  12726. # from the Makefile without running 'make'.
  12727. DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
  12728. test -z "$DEPDIR" && continue
  12729. am__include=`sed -n 's/^am__include = //p' < "$mf"`
  12730. test -z "$am__include" && continue
  12731. am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
  12732. # Find all dependency output files, they are included files with
  12733. # $(DEPDIR) in their names. We invoke sed twice because it is the
  12734. # simplest approach to changing $(DEPDIR) to its actual value in the
  12735. # expansion.
  12736. for file in `sed -n "
  12737. s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
  12738. sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
  12739. # Make sure the directory exists.
  12740. test -f "$dirpart/$file" && continue
  12741. fdir=`$as_dirname -- "$file" ||
  12742. $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  12743. X"$file" : 'X\(//\)[^/]' \| \
  12744. X"$file" : 'X\(//\)$' \| \
  12745. X"$file" : 'X\(/\)' \| . 2>/dev/null ||
  12746. $as_echo X"$file" |
  12747. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  12748. s//\1/
  12749. q
  12750. }
  12751. /^X\(\/\/\)[^/].*/{
  12752. s//\1/
  12753. q
  12754. }
  12755. /^X\(\/\/\)$/{
  12756. s//\1/
  12757. q
  12758. }
  12759. /^X\(\/\).*/{
  12760. s//\1/
  12761. q
  12762. }
  12763. s/.*/./; q'`
  12764. as_dir=$dirpart/$fdir; as_fn_mkdir_p
  12765. # echo "creating $dirpart/$file"
  12766. echo '# dummy' > "$dirpart/$file"
  12767. done
  12768. done
  12769. }
  12770. ;;
  12771. "libtool":C)
  12772. # See if we are running on zsh, and set the options that allow our
  12773. # commands through without removal of \ escapes.
  12774. if test -n "${ZSH_VERSION+set}"; then
  12775. setopt NO_GLOB_SUBST
  12776. fi
  12777. cfgfile=${ofile}T
  12778. trap "$RM \"$cfgfile\"; exit 1" 1 2 15
  12779. $RM "$cfgfile"
  12780. cat <<_LT_EOF >> "$cfgfile"
  12781. #! $SHELL
  12782. # Generated automatically by $as_me ($PACKAGE) $VERSION
  12783. # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
  12784. # NOTE: Changes made to this file will be lost: look at ltmain.sh.
  12785. # Provide generalized library-building support services.
  12786. # Written by Gordon Matzigkeit, 1996
  12787. # Copyright (C) 2014 Free Software Foundation, Inc.
  12788. # This is free software; see the source for copying conditions. There is NO
  12789. # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  12790. # GNU Libtool is free software; you can redistribute it and/or modify
  12791. # it under the terms of the GNU General Public License as published by
  12792. # the Free Software Foundation; either version 2 of of the License, or
  12793. # (at your option) any later version.
  12794. #
  12795. # As a special exception to the GNU General Public License, if you
  12796. # distribute this file as part of a program or library that is built
  12797. # using GNU Libtool, you may include this file under the same
  12798. # distribution terms that you use for the rest of that program.
  12799. #
  12800. # GNU Libtool is distributed in the hope that it will be useful, but
  12801. # WITHOUT ANY WARRANTY; without even the implied warranty of
  12802. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12803. # GNU General Public License for more details.
  12804. #
  12805. # You should have received a copy of the GNU General Public License
  12806. # along with this program. If not, see <http://www.gnu.org/licenses/>.
  12807. # The names of the tagged configurations supported by this script.
  12808. available_tags=''
  12809. # Configured defaults for sys_lib_dlsearch_path munging.
  12810. : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
  12811. # ### BEGIN LIBTOOL CONFIG
  12812. # Which release of libtool.m4 was used?
  12813. macro_version=$macro_version
  12814. macro_revision=$macro_revision
  12815. # Assembler program.
  12816. AS=$lt_AS
  12817. # DLL creation program.
  12818. DLLTOOL=$lt_DLLTOOL
  12819. # Object dumper program.
  12820. OBJDUMP=$lt_OBJDUMP
  12821. # Whether or not to build shared libraries.
  12822. build_libtool_libs=$enable_shared
  12823. # Whether or not to build static libraries.
  12824. build_old_libs=$enable_static
  12825. # What type of objects to build.
  12826. pic_mode=$pic_mode
  12827. # Whether or not to optimize for fast installation.
  12828. fast_install=$enable_fast_install
  12829. # Shared archive member basename,for filename based shared library versioning on AIX.
  12830. shared_archive_member_spec=$shared_archive_member_spec
  12831. # Shell to use when invoking shell scripts.
  12832. SHELL=$lt_SHELL
  12833. # An echo program that protects backslashes.
  12834. ECHO=$lt_ECHO
  12835. # The PATH separator for the build system.
  12836. PATH_SEPARATOR=$lt_PATH_SEPARATOR
  12837. # The host system.
  12838. host_alias=$host_alias
  12839. host=$host
  12840. host_os=$host_os
  12841. # The build system.
  12842. build_alias=$build_alias
  12843. build=$build
  12844. build_os=$build_os
  12845. # A sed program that does not truncate output.
  12846. SED=$lt_SED
  12847. # Sed that helps us avoid accidentally triggering echo(1) options like -n.
  12848. Xsed="\$SED -e 1s/^X//"
  12849. # A grep program that handles long lines.
  12850. GREP=$lt_GREP
  12851. # An ERE matcher.
  12852. EGREP=$lt_EGREP
  12853. # A literal string matcher.
  12854. FGREP=$lt_FGREP
  12855. # A BSD- or MS-compatible name lister.
  12856. NM=$lt_NM
  12857. # Whether we need soft or hard links.
  12858. LN_S=$lt_LN_S
  12859. # What is the maximum length of a command?
  12860. max_cmd_len=$max_cmd_len
  12861. # Object file suffix (normally "o").
  12862. objext=$ac_objext
  12863. # Executable file suffix (normally "").
  12864. exeext=$exeext
  12865. # whether the shell understands "unset".
  12866. lt_unset=$lt_unset
  12867. # turn spaces into newlines.
  12868. SP2NL=$lt_lt_SP2NL
  12869. # turn newlines into spaces.
  12870. NL2SP=$lt_lt_NL2SP
  12871. # convert \$build file names to \$host format.
  12872. to_host_file_cmd=$lt_cv_to_host_file_cmd
  12873. # convert \$build files to toolchain format.
  12874. to_tool_file_cmd=$lt_cv_to_tool_file_cmd
  12875. # Method to check whether dependent libraries are shared objects.
  12876. deplibs_check_method=$lt_deplibs_check_method
  12877. # Command to use when deplibs_check_method = "file_magic".
  12878. file_magic_cmd=$lt_file_magic_cmd
  12879. # How to find potential files when deplibs_check_method = "file_magic".
  12880. file_magic_glob=$lt_file_magic_glob
  12881. # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
  12882. want_nocaseglob=$lt_want_nocaseglob
  12883. # Command to associate shared and link libraries.
  12884. sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
  12885. # The archiver.
  12886. AR=$lt_AR
  12887. # Flags to create an archive.
  12888. AR_FLAGS=$lt_AR_FLAGS
  12889. # How to feed a file listing to the archiver.
  12890. archiver_list_spec=$lt_archiver_list_spec
  12891. # A symbol stripping program.
  12892. STRIP=$lt_STRIP
  12893. # Commands used to install an old-style archive.
  12894. RANLIB=$lt_RANLIB
  12895. old_postinstall_cmds=$lt_old_postinstall_cmds
  12896. old_postuninstall_cmds=$lt_old_postuninstall_cmds
  12897. # Whether to use a lock for old archive extraction.
  12898. lock_old_archive_extraction=$lock_old_archive_extraction
  12899. # A C compiler.
  12900. LTCC=$lt_CC
  12901. # LTCC compiler flags.
  12902. LTCFLAGS=$lt_CFLAGS
  12903. # Take the output of nm and produce a listing of raw symbols and C names.
  12904. global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
  12905. # Transform the output of nm in a proper C declaration.
  12906. global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
  12907. # Transform the output of nm into a list of symbols to manually relocate.
  12908. global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
  12909. # Transform the output of nm in a C name address pair.
  12910. global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
  12911. # Transform the output of nm in a C name address pair when lib prefix is needed.
  12912. global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
  12913. # The name lister interface.
  12914. nm_interface=$lt_lt_cv_nm_interface
  12915. # Specify filename containing input files for \$NM.
  12916. nm_file_list_spec=$lt_nm_file_list_spec
  12917. # The root where to search for dependent libraries,and where our libraries should be installed.
  12918. lt_sysroot=$lt_sysroot
  12919. # Command to truncate a binary pipe.
  12920. lt_truncate_bin=$lt_lt_cv_truncate_bin
  12921. # The name of the directory that contains temporary libtool files.
  12922. objdir=$objdir
  12923. # Used to examine libraries when file_magic_cmd begins with "file".
  12924. MAGIC_CMD=$MAGIC_CMD
  12925. # Must we lock files when doing compilation?
  12926. need_locks=$lt_need_locks
  12927. # Manifest tool.
  12928. MANIFEST_TOOL=$lt_MANIFEST_TOOL
  12929. # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
  12930. DSYMUTIL=$lt_DSYMUTIL
  12931. # Tool to change global to local symbols on Mac OS X.
  12932. NMEDIT=$lt_NMEDIT
  12933. # Tool to manipulate fat objects and archives on Mac OS X.
  12934. LIPO=$lt_LIPO
  12935. # ldd/readelf like tool for Mach-O binaries on Mac OS X.
  12936. OTOOL=$lt_OTOOL
  12937. # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
  12938. OTOOL64=$lt_OTOOL64
  12939. # Old archive suffix (normally "a").
  12940. libext=$libext
  12941. # Shared library suffix (normally ".so").
  12942. shrext_cmds=$lt_shrext_cmds
  12943. # The commands to extract the exported symbol list from a shared archive.
  12944. extract_expsyms_cmds=$lt_extract_expsyms_cmds
  12945. # Variables whose values should be saved in libtool wrapper scripts and
  12946. # restored at link time.
  12947. variables_saved_for_relink=$lt_variables_saved_for_relink
  12948. # Do we need the "lib" prefix for modules?
  12949. need_lib_prefix=$need_lib_prefix
  12950. # Do we need a version for libraries?
  12951. need_version=$need_version
  12952. # Library versioning type.
  12953. version_type=$version_type
  12954. # Shared library runtime path variable.
  12955. runpath_var=$runpath_var
  12956. # Shared library path variable.
  12957. shlibpath_var=$shlibpath_var
  12958. # Is shlibpath searched before the hard-coded library search path?
  12959. shlibpath_overrides_runpath=$shlibpath_overrides_runpath
  12960. # Format of library name prefix.
  12961. libname_spec=$lt_libname_spec
  12962. # List of archive names. First name is the real one, the rest are links.
  12963. # The last name is the one that the linker finds with -lNAME
  12964. library_names_spec=$lt_library_names_spec
  12965. # The coded name of the library, if different from the real name.
  12966. soname_spec=$lt_soname_spec
  12967. # Permission mode override for installation of shared libraries.
  12968. install_override_mode=$lt_install_override_mode
  12969. # Command to use after installation of a shared archive.
  12970. postinstall_cmds=$lt_postinstall_cmds
  12971. # Command to use after uninstallation of a shared archive.
  12972. postuninstall_cmds=$lt_postuninstall_cmds
  12973. # Commands used to finish a libtool library installation in a directory.
  12974. finish_cmds=$lt_finish_cmds
  12975. # As "finish_cmds", except a single script fragment to be evaled but
  12976. # not shown.
  12977. finish_eval=$lt_finish_eval
  12978. # Whether we should hardcode library paths into libraries.
  12979. hardcode_into_libs=$hardcode_into_libs
  12980. # Compile-time system search path for libraries.
  12981. sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
  12982. # Detected run-time system search path for libraries.
  12983. sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
  12984. # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
  12985. configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
  12986. # Whether dlopen is supported.
  12987. dlopen_support=$enable_dlopen
  12988. # Whether dlopen of programs is supported.
  12989. dlopen_self=$enable_dlopen_self
  12990. # Whether dlopen of statically linked programs is supported.
  12991. dlopen_self_static=$enable_dlopen_self_static
  12992. # Commands to strip libraries.
  12993. old_striplib=$lt_old_striplib
  12994. striplib=$lt_striplib
  12995. # The linker used to build libraries.
  12996. LD=$lt_LD
  12997. # How to create reloadable object files.
  12998. reload_flag=$lt_reload_flag
  12999. reload_cmds=$lt_reload_cmds
  13000. # Commands used to build an old-style archive.
  13001. old_archive_cmds=$lt_old_archive_cmds
  13002. # A language specific compiler.
  13003. CC=$lt_compiler
  13004. # Is the compiler the GNU compiler?
  13005. with_gcc=$GCC
  13006. # Compiler flag to turn off builtin functions.
  13007. no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
  13008. # Additional compiler flags for building library objects.
  13009. pic_flag=$lt_lt_prog_compiler_pic
  13010. # How to pass a linker flag through the compiler.
  13011. wl=$lt_lt_prog_compiler_wl
  13012. # Compiler flag to prevent dynamic linking.
  13013. link_static_flag=$lt_lt_prog_compiler_static
  13014. # Does compiler simultaneously support -c and -o options?
  13015. compiler_c_o=$lt_lt_cv_prog_compiler_c_o
  13016. # Whether or not to add -lc for building shared libraries.
  13017. build_libtool_need_lc=$archive_cmds_need_lc
  13018. # Whether or not to disallow shared libs when runtime libs are static.
  13019. allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
  13020. # Compiler flag to allow reflexive dlopens.
  13021. export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
  13022. # Compiler flag to generate shared objects directly from archives.
  13023. whole_archive_flag_spec=$lt_whole_archive_flag_spec
  13024. # Whether the compiler copes with passing no objects directly.
  13025. compiler_needs_object=$lt_compiler_needs_object
  13026. # Create an old-style archive from a shared archive.
  13027. old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
  13028. # Create a temporary old-style archive to link instead of a shared archive.
  13029. old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
  13030. # Commands used to build a shared archive.
  13031. archive_cmds=$lt_archive_cmds
  13032. archive_expsym_cmds=$lt_archive_expsym_cmds
  13033. # Commands used to build a loadable module if different from building
  13034. # a shared archive.
  13035. module_cmds=$lt_module_cmds
  13036. module_expsym_cmds=$lt_module_expsym_cmds
  13037. # Whether we are building with GNU ld or not.
  13038. with_gnu_ld=$lt_with_gnu_ld
  13039. # Flag that allows shared libraries with undefined symbols to be built.
  13040. allow_undefined_flag=$lt_allow_undefined_flag
  13041. # Flag that enforces no undefined symbols.
  13042. no_undefined_flag=$lt_no_undefined_flag
  13043. # Flag to hardcode \$libdir into a binary during linking.
  13044. # This must work even if \$libdir does not exist
  13045. hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
  13046. # Whether we need a single "-rpath" flag with a separated argument.
  13047. hardcode_libdir_separator=$lt_hardcode_libdir_separator
  13048. # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
  13049. # DIR into the resulting binary.
  13050. hardcode_direct=$hardcode_direct
  13051. # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
  13052. # DIR into the resulting binary and the resulting library dependency is
  13053. # "absolute",i.e impossible to change by setting \$shlibpath_var if the
  13054. # library is relocated.
  13055. hardcode_direct_absolute=$hardcode_direct_absolute
  13056. # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
  13057. # into the resulting binary.
  13058. hardcode_minus_L=$hardcode_minus_L
  13059. # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
  13060. # into the resulting binary.
  13061. hardcode_shlibpath_var=$hardcode_shlibpath_var
  13062. # Set to "yes" if building a shared library automatically hardcodes DIR
  13063. # into the library and all subsequent libraries and executables linked
  13064. # against it.
  13065. hardcode_automatic=$hardcode_automatic
  13066. # Set to yes if linker adds runtime paths of dependent libraries
  13067. # to runtime path list.
  13068. inherit_rpath=$inherit_rpath
  13069. # Whether libtool must link a program against all its dependency libraries.
  13070. link_all_deplibs=$link_all_deplibs
  13071. # Set to "yes" if exported symbols are required.
  13072. always_export_symbols=$always_export_symbols
  13073. # The commands to list exported symbols.
  13074. export_symbols_cmds=$lt_export_symbols_cmds
  13075. # Symbols that should not be listed in the preloaded symbols.
  13076. exclude_expsyms=$lt_exclude_expsyms
  13077. # Symbols that must always be exported.
  13078. include_expsyms=$lt_include_expsyms
  13079. # Commands necessary for linking programs (against libraries) with templates.
  13080. prelink_cmds=$lt_prelink_cmds
  13081. # Commands necessary for finishing linking programs.
  13082. postlink_cmds=$lt_postlink_cmds
  13083. # Specify filename containing input files.
  13084. file_list_spec=$lt_file_list_spec
  13085. # How to hardcode a shared library path into an executable.
  13086. hardcode_action=$hardcode_action
  13087. # ### END LIBTOOL CONFIG
  13088. _LT_EOF
  13089. cat <<'_LT_EOF' >> "$cfgfile"
  13090. # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
  13091. # func_munge_path_list VARIABLE PATH
  13092. # -----------------------------------
  13093. # VARIABLE is name of variable containing _space_ separated list of
  13094. # directories to be munged by the contents of PATH, which is string
  13095. # having a format:
  13096. # "DIR[:DIR]:"
  13097. # string "DIR[ DIR]" will be prepended to VARIABLE
  13098. # ":DIR[:DIR]"
  13099. # string "DIR[ DIR]" will be appended to VARIABLE
  13100. # "DIRP[:DIRP]::[DIRA:]DIRA"
  13101. # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
  13102. # "DIRA[ DIRA]" will be appended to VARIABLE
  13103. # "DIR[:DIR]"
  13104. # VARIABLE will be replaced by "DIR[ DIR]"
  13105. func_munge_path_list ()
  13106. {
  13107. case x$2 in
  13108. x)
  13109. ;;
  13110. *:)
  13111. eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
  13112. ;;
  13113. x:*)
  13114. eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
  13115. ;;
  13116. *::*)
  13117. eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
  13118. eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
  13119. ;;
  13120. *)
  13121. eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
  13122. ;;
  13123. esac
  13124. }
  13125. # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
  13126. func_cc_basename ()
  13127. {
  13128. for cc_temp in $*""; do
  13129. case $cc_temp in
  13130. compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
  13131. distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
  13132. \-*) ;;
  13133. *) break;;
  13134. esac
  13135. done
  13136. func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
  13137. }
  13138. # ### END FUNCTIONS SHARED WITH CONFIGURE
  13139. _LT_EOF
  13140. case $host_os in
  13141. aix3*)
  13142. cat <<\_LT_EOF >> "$cfgfile"
  13143. # AIX sometimes has problems with the GCC collect2 program. For some
  13144. # reason, if we set the COLLECT_NAMES environment variable, the problems
  13145. # vanish in a puff of smoke.
  13146. if test set != "${COLLECT_NAMES+set}"; then
  13147. COLLECT_NAMES=
  13148. export COLLECT_NAMES
  13149. fi
  13150. _LT_EOF
  13151. ;;
  13152. esac
  13153. ltmain=$ac_aux_dir/ltmain.sh
  13154. # We use sed instead of cat because bash on DJGPP gets confused if
  13155. # if finds mixed CR/LF and LF-only lines. Since sed operates in
  13156. # text mode, it properly converts lines to CR/LF. This bash problem
  13157. # is reportedly fixed, but why not run on old versions too?
  13158. sed '$q' "$ltmain" >> "$cfgfile" \
  13159. || (rm -f "$cfgfile"; exit 1)
  13160. mv -f "$cfgfile" "$ofile" ||
  13161. (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
  13162. chmod +x "$ofile"
  13163. ;;
  13164. esac
  13165. done # for ac_tag
  13166. as_fn_exit 0
  13167. _ACEOF
  13168. ac_clean_files=$ac_clean_files_save
  13169. test $ac_write_fail = 0 ||
  13170. as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
  13171. # configure is writing to config.log, and then calls config.status.
  13172. # config.status does its own redirection, appending to config.log.
  13173. # Unfortunately, on DOS this fails, as config.log is still kept open
  13174. # by configure, so config.status won't be able to write to it; its
  13175. # output is simply discarded. So we exec the FD to /dev/null,
  13176. # effectively closing config.log, so it can be properly (re)opened and
  13177. # appended to by config.status. When coming back to configure, we
  13178. # need to make the FD available again.
  13179. if test "$no_create" != yes; then
  13180. ac_cs_success=:
  13181. ac_config_status_args=
  13182. test "$silent" = yes &&
  13183. ac_config_status_args="$ac_config_status_args --quiet"
  13184. exec 5>/dev/null
  13185. $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
  13186. exec 5>>config.log
  13187. # Use ||, not &&, to avoid exiting from the if with $? = 1, which
  13188. # would make configure fail if this is the last instruction.
  13189. $ac_cs_success || as_fn_exit 1
  13190. fi
  13191. if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
  13192. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
  13193. $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
  13194. fi