configure 599 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284
  1. #! /bin/sh
  2. # Guess values for system-dependent variables and create Makefiles.
  3. # Generated by GNU Autoconf 2.69 for libzipper 1.0.4.
  4. #
  5. # Report bugs to <michael@codesrc.com>.
  6. #
  7. #
  8. # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
  9. #
  10. #
  11. # This configure script is free software; the Free Software Foundation
  12. # gives unlimited permission to copy, distribute and modify it.
  13. ## -------------------- ##
  14. ## M4sh Initialization. ##
  15. ## -------------------- ##
  16. # Be more Bourne compatible
  17. DUALCASE=1; export DUALCASE # for MKS sh
  18. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  19. emulate sh
  20. NULLCMD=:
  21. # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  22. # is contrary to our usage. Disable this feature.
  23. alias -g '${1+"$@"}'='"$@"'
  24. setopt NO_GLOB_SUBST
  25. else
  26. case `(set -o) 2>/dev/null` in #(
  27. *posix*) :
  28. set -o posix ;; #(
  29. *) :
  30. ;;
  31. esac
  32. fi
  33. as_nl='
  34. '
  35. export as_nl
  36. # Printing a long string crashes Solaris 7 /usr/bin/printf.
  37. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  38. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  39. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  40. # Prefer a ksh shell builtin over an external printf program on Solaris,
  41. # but without wasting forks for bash or zsh.
  42. if test -z "$BASH_VERSION$ZSH_VERSION" \
  43. && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
  44. as_echo='print -r --'
  45. as_echo_n='print -rn --'
  46. elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  47. as_echo='printf %s\n'
  48. as_echo_n='printf %s'
  49. else
  50. if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
  51. as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
  52. as_echo_n='/usr/ucb/echo -n'
  53. else
  54. as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  55. as_echo_n_body='eval
  56. arg=$1;
  57. case $arg in #(
  58. *"$as_nl"*)
  59. expr "X$arg" : "X\\(.*\\)$as_nl";
  60. arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  61. esac;
  62. expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
  63. '
  64. export as_echo_n_body
  65. as_echo_n='sh -c $as_echo_n_body as_echo'
  66. fi
  67. export as_echo_body
  68. as_echo='sh -c $as_echo_body as_echo'
  69. fi
  70. # The user is always right.
  71. if test "${PATH_SEPARATOR+set}" != set; then
  72. PATH_SEPARATOR=:
  73. (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  74. (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  75. PATH_SEPARATOR=';'
  76. }
  77. fi
  78. # IFS
  79. # We need space, tab and new line, in precisely that order. Quoting is
  80. # there to prevent editors from complaining about space-tab.
  81. # (If _AS_PATH_WALK were called with IFS unset, it would disable word
  82. # splitting by setting IFS to empty value.)
  83. IFS=" "" $as_nl"
  84. # Find who we are. Look in the path if we contain no directory separator.
  85. as_myself=
  86. case $0 in #((
  87. *[\\/]* ) as_myself=$0 ;;
  88. *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  89. for as_dir in $PATH
  90. do
  91. IFS=$as_save_IFS
  92. test -z "$as_dir" && as_dir=.
  93. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  94. done
  95. IFS=$as_save_IFS
  96. ;;
  97. esac
  98. # We did not find ourselves, most probably we were run as `sh COMMAND'
  99. # in which case we are not to be found in the path.
  100. if test "x$as_myself" = x; then
  101. as_myself=$0
  102. fi
  103. if test ! -f "$as_myself"; then
  104. $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  105. exit 1
  106. fi
  107. # Unset variables that we do not need and which cause bugs (e.g. in
  108. # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
  109. # suppresses any "Segmentation fault" message there. '((' could
  110. # trigger a bug in pdksh 5.2.14.
  111. for as_var in BASH_ENV ENV MAIL MAILPATH
  112. do eval test x\${$as_var+set} = xset \
  113. && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  114. done
  115. PS1='$ '
  116. PS2='> '
  117. PS4='+ '
  118. # NLS nuisances.
  119. LC_ALL=C
  120. export LC_ALL
  121. LANGUAGE=C
  122. export LANGUAGE
  123. # CDPATH.
  124. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  125. # Use a proper internal environment variable to ensure we don't fall
  126. # into an infinite loop, continuously re-executing ourselves.
  127. if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
  128. _as_can_reexec=no; export _as_can_reexec;
  129. # We cannot yet assume a decent shell, so we have to provide a
  130. # neutralization value for shells without unset; and this also
  131. # works around shells that cannot unset nonexistent variables.
  132. # Preserve -v and -x to the replacement shell.
  133. BASH_ENV=/dev/null
  134. ENV=/dev/null
  135. (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  136. case $- in # ((((
  137. *v*x* | *x*v* ) as_opts=-vx ;;
  138. *v* ) as_opts=-v ;;
  139. *x* ) as_opts=-x ;;
  140. * ) as_opts= ;;
  141. esac
  142. exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
  143. # Admittedly, this is quite paranoid, since all the known shells bail
  144. # out after a failed `exec'.
  145. $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
  146. as_fn_exit 255
  147. fi
  148. # We don't want this to propagate to other subprocesses.
  149. { _as_can_reexec=; unset _as_can_reexec;}
  150. if test "x$CONFIG_SHELL" = x; then
  151. as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
  152. emulate sh
  153. NULLCMD=:
  154. # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
  155. # is contrary to our usage. Disable this feature.
  156. alias -g '\${1+\"\$@\"}'='\"\$@\"'
  157. setopt NO_GLOB_SUBST
  158. else
  159. case \`(set -o) 2>/dev/null\` in #(
  160. *posix*) :
  161. set -o posix ;; #(
  162. *) :
  163. ;;
  164. esac
  165. fi
  166. "
  167. as_required="as_fn_return () { (exit \$1); }
  168. as_fn_success () { as_fn_return 0; }
  169. as_fn_failure () { as_fn_return 1; }
  170. as_fn_ret_success () { return 0; }
  171. as_fn_ret_failure () { return 1; }
  172. exitcode=0
  173. as_fn_success || { exitcode=1; echo as_fn_success failed.; }
  174. as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
  175. as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
  176. as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
  177. if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
  178. else
  179. exitcode=1; echo positional parameters were not saved.
  180. fi
  181. test x\$exitcode = x0 || exit 1
  182. test -x / || exit 1"
  183. as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
  184. as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
  185. eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
  186. test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
  187. test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
  188. ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  189. ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
  190. ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
  191. PATH=/empty FPATH=/empty; export PATH FPATH
  192. test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
  193. || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
  194. test \$(( 1 + 1 )) = 2 || exit 1"
  195. if (eval "$as_required") 2>/dev/null; then :
  196. as_have_required=yes
  197. else
  198. as_have_required=no
  199. fi
  200. if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
  201. else
  202. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  203. as_found=false
  204. for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  205. do
  206. IFS=$as_save_IFS
  207. test -z "$as_dir" && as_dir=.
  208. as_found=:
  209. case $as_dir in #(
  210. /*)
  211. for as_base in sh bash ksh sh5; do
  212. # Try only shells that exist, to save several forks.
  213. as_shell=$as_dir/$as_base
  214. if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
  215. { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
  216. CONFIG_SHELL=$as_shell as_have_required=yes
  217. if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
  218. break 2
  219. fi
  220. fi
  221. done;;
  222. esac
  223. as_found=false
  224. done
  225. $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
  226. { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
  227. CONFIG_SHELL=$SHELL as_have_required=yes
  228. fi; }
  229. IFS=$as_save_IFS
  230. if test "x$CONFIG_SHELL" != x; then :
  231. export CONFIG_SHELL
  232. # We cannot yet assume a decent shell, so we have to provide a
  233. # neutralization value for shells without unset; and this also
  234. # works around shells that cannot unset nonexistent variables.
  235. # Preserve -v and -x to the replacement shell.
  236. BASH_ENV=/dev/null
  237. ENV=/dev/null
  238. (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  239. case $- in # ((((
  240. *v*x* | *x*v* ) as_opts=-vx ;;
  241. *v* ) as_opts=-v ;;
  242. *x* ) as_opts=-x ;;
  243. * ) as_opts= ;;
  244. esac
  245. exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
  246. # Admittedly, this is quite paranoid, since all the known shells bail
  247. # out after a failed `exec'.
  248. $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
  249. exit 255
  250. fi
  251. if test x$as_have_required = xno; then :
  252. $as_echo "$0: This script requires a shell more modern than all"
  253. $as_echo "$0: the shells that I found on your system."
  254. if test x${ZSH_VERSION+set} = xset ; then
  255. $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
  256. $as_echo "$0: be upgraded to zsh 4.3.4 or later."
  257. else
  258. $as_echo "$0: Please tell bug-autoconf@gnu.org and
  259. $0: michael@codesrc.com about your system, including any
  260. $0: error possibly output before this message. Then install
  261. $0: a modern shell, or manually run the script under such a
  262. $0: shell if you do have one."
  263. fi
  264. exit 1
  265. fi
  266. fi
  267. fi
  268. SHELL=${CONFIG_SHELL-/bin/sh}
  269. export SHELL
  270. # Unset more variables known to interfere with behavior of common tools.
  271. CLICOLOR_FORCE= GREP_OPTIONS=
  272. unset CLICOLOR_FORCE GREP_OPTIONS
  273. ## --------------------- ##
  274. ## M4sh Shell Functions. ##
  275. ## --------------------- ##
  276. # as_fn_unset VAR
  277. # ---------------
  278. # Portably unset VAR.
  279. as_fn_unset ()
  280. {
  281. { eval $1=; unset $1;}
  282. }
  283. as_unset=as_fn_unset
  284. # as_fn_set_status STATUS
  285. # -----------------------
  286. # Set $? to STATUS, without forking.
  287. as_fn_set_status ()
  288. {
  289. return $1
  290. } # as_fn_set_status
  291. # as_fn_exit STATUS
  292. # -----------------
  293. # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  294. as_fn_exit ()
  295. {
  296. set +e
  297. as_fn_set_status $1
  298. exit $1
  299. } # as_fn_exit
  300. # as_fn_mkdir_p
  301. # -------------
  302. # Create "$as_dir" as a directory, including parents if necessary.
  303. as_fn_mkdir_p ()
  304. {
  305. case $as_dir in #(
  306. -*) as_dir=./$as_dir;;
  307. esac
  308. test -d "$as_dir" || eval $as_mkdir_p || {
  309. as_dirs=
  310. while :; do
  311. case $as_dir in #(
  312. *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  313. *) as_qdir=$as_dir;;
  314. esac
  315. as_dirs="'$as_qdir' $as_dirs"
  316. as_dir=`$as_dirname -- "$as_dir" ||
  317. $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  318. X"$as_dir" : 'X\(//\)[^/]' \| \
  319. X"$as_dir" : 'X\(//\)$' \| \
  320. X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  321. $as_echo X"$as_dir" |
  322. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  323. s//\1/
  324. q
  325. }
  326. /^X\(\/\/\)[^/].*/{
  327. s//\1/
  328. q
  329. }
  330. /^X\(\/\/\)$/{
  331. s//\1/
  332. q
  333. }
  334. /^X\(\/\).*/{
  335. s//\1/
  336. q
  337. }
  338. s/.*/./; q'`
  339. test -d "$as_dir" && break
  340. done
  341. test -z "$as_dirs" || eval "mkdir $as_dirs"
  342. } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
  343. } # as_fn_mkdir_p
  344. # as_fn_executable_p FILE
  345. # -----------------------
  346. # Test if FILE is an executable regular file.
  347. as_fn_executable_p ()
  348. {
  349. test -f "$1" && test -x "$1"
  350. } # as_fn_executable_p
  351. # as_fn_append VAR VALUE
  352. # ----------------------
  353. # Append the text in VALUE to the end of the definition contained in VAR. Take
  354. # advantage of any shell optimizations that allow amortized linear growth over
  355. # repeated appends, instead of the typical quadratic growth present in naive
  356. # implementations.
  357. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  358. eval 'as_fn_append ()
  359. {
  360. eval $1+=\$2
  361. }'
  362. else
  363. as_fn_append ()
  364. {
  365. eval $1=\$$1\$2
  366. }
  367. fi # as_fn_append
  368. # as_fn_arith ARG...
  369. # ------------------
  370. # Perform arithmetic evaluation on the ARGs, and store the result in the
  371. # global $as_val. Take advantage of shells that can avoid forks. The arguments
  372. # must be portable across $(()) and expr.
  373. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  374. eval 'as_fn_arith ()
  375. {
  376. as_val=$(( $* ))
  377. }'
  378. else
  379. as_fn_arith ()
  380. {
  381. as_val=`expr "$@" || test $? -eq 1`
  382. }
  383. fi # as_fn_arith
  384. # as_fn_error STATUS ERROR [LINENO LOG_FD]
  385. # ----------------------------------------
  386. # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  387. # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  388. # script with STATUS, using 1 if that was 0.
  389. as_fn_error ()
  390. {
  391. as_status=$1; test $as_status -eq 0 && as_status=1
  392. if test "$4"; then
  393. as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  394. $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
  395. fi
  396. $as_echo "$as_me: error: $2" >&2
  397. as_fn_exit $as_status
  398. } # as_fn_error
  399. if expr a : '\(a\)' >/dev/null 2>&1 &&
  400. test "X`expr 00001 : '.*\(...\)'`" = X001; then
  401. as_expr=expr
  402. else
  403. as_expr=false
  404. fi
  405. if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  406. as_basename=basename
  407. else
  408. as_basename=false
  409. fi
  410. if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  411. as_dirname=dirname
  412. else
  413. as_dirname=false
  414. fi
  415. as_me=`$as_basename -- "$0" ||
  416. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  417. X"$0" : 'X\(//\)$' \| \
  418. X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  419. $as_echo X/"$0" |
  420. sed '/^.*\/\([^/][^/]*\)\/*$/{
  421. s//\1/
  422. q
  423. }
  424. /^X\/\(\/\/\)$/{
  425. s//\1/
  426. q
  427. }
  428. /^X\/\(\/\).*/{
  429. s//\1/
  430. q
  431. }
  432. s/.*/./; q'`
  433. # Avoid depending upon Character Ranges.
  434. as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  435. as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  436. as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  437. as_cr_digits='0123456789'
  438. as_cr_alnum=$as_cr_Letters$as_cr_digits
  439. as_lineno_1=$LINENO as_lineno_1a=$LINENO
  440. as_lineno_2=$LINENO as_lineno_2a=$LINENO
  441. eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
  442. test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
  443. # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
  444. sed -n '
  445. p
  446. /[$]LINENO/=
  447. ' <$as_myself |
  448. sed '
  449. s/[$]LINENO.*/&-/
  450. t lineno
  451. b
  452. :lineno
  453. N
  454. :loop
  455. s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
  456. t loop
  457. s/-\n.*//
  458. ' >$as_me.lineno &&
  459. chmod +x "$as_me.lineno" ||
  460. { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
  461. # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
  462. # already done that, so ensure we don't try to do so again and fall
  463. # in an infinite loop. This has already happened in practice.
  464. _as_can_reexec=no; export _as_can_reexec
  465. # Don't try to exec as it changes $[0], causing all sort of problems
  466. # (the dirname of $[0] is not the place where we might find the
  467. # original and so on. Autoconf is especially sensitive to this).
  468. . "./$as_me.lineno"
  469. # Exit status is that of the last command.
  470. exit
  471. }
  472. ECHO_C= ECHO_N= ECHO_T=
  473. case `echo -n x` in #(((((
  474. -n*)
  475. case `echo 'xy\c'` in
  476. *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  477. xy) ECHO_C='\c';;
  478. *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
  479. ECHO_T=' ';;
  480. esac;;
  481. *)
  482. ECHO_N='-n';;
  483. esac
  484. rm -f conf$$ conf$$.exe conf$$.file
  485. if test -d conf$$.dir; then
  486. rm -f conf$$.dir/conf$$.file
  487. else
  488. rm -f conf$$.dir
  489. mkdir conf$$.dir 2>/dev/null
  490. fi
  491. if (echo >conf$$.file) 2>/dev/null; then
  492. if ln -s conf$$.file conf$$ 2>/dev/null; then
  493. as_ln_s='ln -s'
  494. # ... but there are two gotchas:
  495. # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  496. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  497. # In both cases, we have to default to `cp -pR'.
  498. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  499. as_ln_s='cp -pR'
  500. elif ln conf$$.file conf$$ 2>/dev/null; then
  501. as_ln_s=ln
  502. else
  503. as_ln_s='cp -pR'
  504. fi
  505. else
  506. as_ln_s='cp -pR'
  507. fi
  508. rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  509. rmdir conf$$.dir 2>/dev/null
  510. if mkdir -p . 2>/dev/null; then
  511. as_mkdir_p='mkdir -p "$as_dir"'
  512. else
  513. test -d ./-p && rmdir ./-p
  514. as_mkdir_p=false
  515. fi
  516. as_test_x='test -x'
  517. as_executable_p=as_fn_executable_p
  518. # Sed expression to map a string onto a valid CPP name.
  519. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  520. # Sed expression to map a string onto a valid variable name.
  521. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  522. SHELL=${CONFIG_SHELL-/bin/sh}
  523. test -n "$DJDIR" || exec 7<&0 </dev/null
  524. exec 6>&1
  525. # Name of the host.
  526. # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
  527. # so uname gets run too.
  528. ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
  529. #
  530. # Initializations.
  531. #
  532. ac_default_prefix=/usr/local
  533. ac_clean_files=
  534. ac_config_libobj_dir=.
  535. LIBOBJS=
  536. cross_compiling=no
  537. subdirs=
  538. MFLAGS=
  539. MAKEFLAGS=
  540. # Identity of this package.
  541. PACKAGE_NAME='libzipper'
  542. PACKAGE_TARNAME='libzipper'
  543. PACKAGE_VERSION='1.0.4'
  544. PACKAGE_STRING='libzipper 1.0.4'
  545. PACKAGE_BUGREPORT='michael@codesrc.com'
  546. PACKAGE_URL=''
  547. # Factoring default headers for most tests.
  548. ac_includes_default="\
  549. #include <stdio.h>
  550. #ifdef HAVE_SYS_TYPES_H
  551. # include <sys/types.h>
  552. #endif
  553. #ifdef HAVE_SYS_STAT_H
  554. # include <sys/stat.h>
  555. #endif
  556. #ifdef STDC_HEADERS
  557. # include <stdlib.h>
  558. # include <stddef.h>
  559. #else
  560. # ifdef HAVE_STDLIB_H
  561. # include <stdlib.h>
  562. # endif
  563. #endif
  564. #ifdef HAVE_STRING_H
  565. # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  566. # include <memory.h>
  567. # endif
  568. # include <string.h>
  569. #endif
  570. #ifdef HAVE_STRINGS_H
  571. # include <strings.h>
  572. #endif
  573. #ifdef HAVE_INTTYPES_H
  574. # include <inttypes.h>
  575. #endif
  576. #ifdef HAVE_STDINT_H
  577. # include <stdint.h>
  578. #endif
  579. #ifdef HAVE_UNISTD_H
  580. # include <unistd.h>
  581. #endif"
  582. ac_subst_vars='am__EXEEXT_FALSE
  583. am__EXEEXT_TRUE
  584. LTLIBOBJS
  585. LIBOBJS
  586. ZLIB_LIBS
  587. ZLIB_CFLAGS
  588. PKG_CONFIG_LIBDIR
  589. PKG_CONFIG_PATH
  590. PKG_CONFIG
  591. DOXYGEN_PAPER_SIZE
  592. DX_COND_latex_FALSE
  593. DX_COND_latex_TRUE
  594. DX_COND_pdf_FALSE
  595. DX_COND_pdf_TRUE
  596. DX_PDFLATEX
  597. DX_FLAG_pdf
  598. DX_COND_ps_FALSE
  599. DX_COND_ps_TRUE
  600. DX_EGREP
  601. DX_DVIPS
  602. DX_MAKEINDEX
  603. DX_LATEX
  604. DX_FLAG_ps
  605. DX_COND_html_FALSE
  606. DX_COND_html_TRUE
  607. DX_FLAG_html
  608. DX_COND_chi_FALSE
  609. DX_COND_chi_TRUE
  610. DX_FLAG_chi
  611. DX_COND_chm_FALSE
  612. DX_COND_chm_TRUE
  613. DX_HHC
  614. DX_FLAG_chm
  615. DX_COND_xml_FALSE
  616. DX_COND_xml_TRUE
  617. DX_FLAG_xml
  618. DX_COND_rtf_FALSE
  619. DX_COND_rtf_TRUE
  620. DX_FLAG_rtf
  621. DX_COND_man_FALSE
  622. DX_COND_man_TRUE
  623. DX_FLAG_man
  624. DX_COND_dot_FALSE
  625. DX_COND_dot_TRUE
  626. DX_DOT
  627. DX_FLAG_dot
  628. DX_COND_doc_FALSE
  629. DX_COND_doc_TRUE
  630. DX_PERL
  631. DX_DOXYGEN
  632. DX_FLAG_doc
  633. DX_ENV
  634. DX_DOCDIR
  635. DX_CONFIG
  636. DX_PROJECT
  637. HAVE_UTIMES_FALSE
  638. HAVE_UTIMES_TRUE
  639. HAVE_PWRITE_FALSE
  640. HAVE_PWRITE_TRUE
  641. HAVE_PREAD_FALSE
  642. HAVE_PREAD_TRUE
  643. HAVE_GNU_STRERROR_FALSE
  644. HAVE_GNU_STRERROR_TRUE
  645. CXXCPP
  646. CPP
  647. OTOOL64
  648. OTOOL
  649. LIPO
  650. NMEDIT
  651. DSYMUTIL
  652. MANIFEST_TOOL
  653. RANLIB
  654. ac_ct_AR
  655. AR
  656. DLLTOOL
  657. OBJDUMP
  658. LN_S
  659. NM
  660. ac_ct_DUMPBIN
  661. DUMPBIN
  662. LD
  663. FGREP
  664. EGREP
  665. GREP
  666. SED
  667. am__fastdepCC_FALSE
  668. am__fastdepCC_TRUE
  669. CCDEPMODE
  670. ac_ct_CC
  671. CFLAGS
  672. CC
  673. LIBTOOL
  674. am__fastdepCXX_FALSE
  675. am__fastdepCXX_TRUE
  676. CXXDEPMODE
  677. am__nodep
  678. AMDEPBACKSLASH
  679. AMDEP_FALSE
  680. AMDEP_TRUE
  681. am__quote
  682. am__include
  683. DEPDIR
  684. OBJEXT
  685. EXEEXT
  686. ac_ct_CXX
  687. CPPFLAGS
  688. LDFLAGS
  689. CXXFLAGS
  690. CXX
  691. libzipper_version
  692. MAINT
  693. MAINTAINER_MODE_FALSE
  694. MAINTAINER_MODE_TRUE
  695. AM_BACKSLASH
  696. AM_DEFAULT_VERBOSITY
  697. AM_DEFAULT_V
  698. AM_V
  699. am__untar
  700. am__tar
  701. AMTAR
  702. am__leading_dot
  703. SET_MAKE
  704. AWK
  705. mkdir_p
  706. MKDIR_P
  707. INSTALL_STRIP_PROGRAM
  708. STRIP
  709. install_sh
  710. MAKEINFO
  711. AUTOHEADER
  712. AUTOMAKE
  713. AUTOCONF
  714. ACLOCAL
  715. VERSION
  716. PACKAGE
  717. CYGPATH_W
  718. am__isrc
  719. INSTALL_DATA
  720. INSTALL_SCRIPT
  721. INSTALL_PROGRAM
  722. target_os
  723. target_vendor
  724. target_cpu
  725. target
  726. host_os
  727. host_vendor
  728. host_cpu
  729. host
  730. build_os
  731. build_vendor
  732. build_cpu
  733. build
  734. target_alias
  735. host_alias
  736. build_alias
  737. LIBS
  738. ECHO_T
  739. ECHO_N
  740. ECHO_C
  741. DEFS
  742. mandir
  743. localedir
  744. libdir
  745. psdir
  746. pdfdir
  747. dvidir
  748. htmldir
  749. infodir
  750. docdir
  751. oldincludedir
  752. includedir
  753. localstatedir
  754. sharedstatedir
  755. sysconfdir
  756. datadir
  757. datarootdir
  758. libexecdir
  759. sbindir
  760. bindir
  761. program_transform_name
  762. prefix
  763. exec_prefix
  764. PACKAGE_URL
  765. PACKAGE_BUGREPORT
  766. PACKAGE_STRING
  767. PACKAGE_VERSION
  768. PACKAGE_TARNAME
  769. PACKAGE_NAME
  770. PATH_SEPARATOR
  771. SHELL'
  772. ac_subst_files=''
  773. ac_user_opts='
  774. enable_option_checking
  775. enable_silent_rules
  776. enable_maintainer_mode
  777. enable_dependency_tracking
  778. enable_shared
  779. enable_static
  780. with_pic
  781. enable_fast_install
  782. with_gnu_ld
  783. with_sysroot
  784. enable_libtool_lock
  785. enable_doxygen_doc
  786. enable_doxygen_dot
  787. enable_doxygen_man
  788. enable_doxygen_rtf
  789. enable_doxygen_xml
  790. enable_doxygen_chm
  791. enable_doxygen_chi
  792. enable_doxygen_html
  793. enable_doxygen_ps
  794. enable_doxygen_pdf
  795. '
  796. ac_precious_vars='build_alias
  797. host_alias
  798. target_alias
  799. CXX
  800. CXXFLAGS
  801. LDFLAGS
  802. LIBS
  803. CPPFLAGS
  804. CCC
  805. CC
  806. CFLAGS
  807. CPP
  808. CXXCPP
  809. DOXYGEN_PAPER_SIZE
  810. PKG_CONFIG
  811. PKG_CONFIG_PATH
  812. PKG_CONFIG_LIBDIR
  813. ZLIB_CFLAGS
  814. ZLIB_LIBS'
  815. # Initialize some variables set by options.
  816. ac_init_help=
  817. ac_init_version=false
  818. ac_unrecognized_opts=
  819. ac_unrecognized_sep=
  820. # The variables have the same names as the options, with
  821. # dashes changed to underlines.
  822. cache_file=/dev/null
  823. exec_prefix=NONE
  824. no_create=
  825. no_recursion=
  826. prefix=NONE
  827. program_prefix=NONE
  828. program_suffix=NONE
  829. program_transform_name=s,x,x,
  830. silent=
  831. site=
  832. srcdir=
  833. verbose=
  834. x_includes=NONE
  835. x_libraries=NONE
  836. # Installation directory options.
  837. # These are left unexpanded so users can "make install exec_prefix=/foo"
  838. # and all the variables that are supposed to be based on exec_prefix
  839. # by default will actually change.
  840. # Use braces instead of parens because sh, perl, etc. also accept them.
  841. # (The list follows the same order as the GNU Coding Standards.)
  842. bindir='${exec_prefix}/bin'
  843. sbindir='${exec_prefix}/sbin'
  844. libexecdir='${exec_prefix}/libexec'
  845. datarootdir='${prefix}/share'
  846. datadir='${datarootdir}'
  847. sysconfdir='${prefix}/etc'
  848. sharedstatedir='${prefix}/com'
  849. localstatedir='${prefix}/var'
  850. includedir='${prefix}/include'
  851. oldincludedir='/usr/include'
  852. docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
  853. infodir='${datarootdir}/info'
  854. htmldir='${docdir}'
  855. dvidir='${docdir}'
  856. pdfdir='${docdir}'
  857. psdir='${docdir}'
  858. libdir='${exec_prefix}/lib'
  859. localedir='${datarootdir}/locale'
  860. mandir='${datarootdir}/man'
  861. ac_prev=
  862. ac_dashdash=
  863. for ac_option
  864. do
  865. # If the previous option needs an argument, assign it.
  866. if test -n "$ac_prev"; then
  867. eval $ac_prev=\$ac_option
  868. ac_prev=
  869. continue
  870. fi
  871. case $ac_option in
  872. *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
  873. *=) ac_optarg= ;;
  874. *) ac_optarg=yes ;;
  875. esac
  876. # Accept the important Cygnus configure options, so we can diagnose typos.
  877. case $ac_dashdash$ac_option in
  878. --)
  879. ac_dashdash=yes ;;
  880. -bindir | --bindir | --bindi | --bind | --bin | --bi)
  881. ac_prev=bindir ;;
  882. -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  883. bindir=$ac_optarg ;;
  884. -build | --build | --buil | --bui | --bu)
  885. ac_prev=build_alias ;;
  886. -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  887. build_alias=$ac_optarg ;;
  888. -cache-file | --cache-file | --cache-fil | --cache-fi \
  889. | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  890. ac_prev=cache_file ;;
  891. -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  892. | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  893. cache_file=$ac_optarg ;;
  894. --config-cache | -C)
  895. cache_file=config.cache ;;
  896. -datadir | --datadir | --datadi | --datad)
  897. ac_prev=datadir ;;
  898. -datadir=* | --datadir=* | --datadi=* | --datad=*)
  899. datadir=$ac_optarg ;;
  900. -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
  901. | --dataroo | --dataro | --datar)
  902. ac_prev=datarootdir ;;
  903. -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
  904. | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
  905. datarootdir=$ac_optarg ;;
  906. -disable-* | --disable-*)
  907. ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  908. # Reject names that are not valid shell variable names.
  909. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  910. as_fn_error $? "invalid feature name: $ac_useropt"
  911. ac_useropt_orig=$ac_useropt
  912. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  913. case $ac_user_opts in
  914. *"
  915. "enable_$ac_useropt"
  916. "*) ;;
  917. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
  918. ac_unrecognized_sep=', ';;
  919. esac
  920. eval enable_$ac_useropt=no ;;
  921. -docdir | --docdir | --docdi | --doc | --do)
  922. ac_prev=docdir ;;
  923. -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
  924. docdir=$ac_optarg ;;
  925. -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
  926. ac_prev=dvidir ;;
  927. -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
  928. dvidir=$ac_optarg ;;
  929. -enable-* | --enable-*)
  930. ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  931. # Reject names that are not valid shell variable names.
  932. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  933. as_fn_error $? "invalid feature name: $ac_useropt"
  934. ac_useropt_orig=$ac_useropt
  935. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  936. case $ac_user_opts in
  937. *"
  938. "enable_$ac_useropt"
  939. "*) ;;
  940. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
  941. ac_unrecognized_sep=', ';;
  942. esac
  943. eval enable_$ac_useropt=\$ac_optarg ;;
  944. -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  945. | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  946. | --exec | --exe | --ex)
  947. ac_prev=exec_prefix ;;
  948. -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  949. | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  950. | --exec=* | --exe=* | --ex=*)
  951. exec_prefix=$ac_optarg ;;
  952. -gas | --gas | --ga | --g)
  953. # Obsolete; use --with-gas.
  954. with_gas=yes ;;
  955. -help | --help | --hel | --he | -h)
  956. ac_init_help=long ;;
  957. -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  958. ac_init_help=recursive ;;
  959. -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  960. ac_init_help=short ;;
  961. -host | --host | --hos | --ho)
  962. ac_prev=host_alias ;;
  963. -host=* | --host=* | --hos=* | --ho=*)
  964. host_alias=$ac_optarg ;;
  965. -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
  966. ac_prev=htmldir ;;
  967. -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
  968. | --ht=*)
  969. htmldir=$ac_optarg ;;
  970. -includedir | --includedir | --includedi | --included | --include \
  971. | --includ | --inclu | --incl | --inc)
  972. ac_prev=includedir ;;
  973. -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  974. | --includ=* | --inclu=* | --incl=* | --inc=*)
  975. includedir=$ac_optarg ;;
  976. -infodir | --infodir | --infodi | --infod | --info | --inf)
  977. ac_prev=infodir ;;
  978. -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  979. infodir=$ac_optarg ;;
  980. -libdir | --libdir | --libdi | --libd)
  981. ac_prev=libdir ;;
  982. -libdir=* | --libdir=* | --libdi=* | --libd=*)
  983. libdir=$ac_optarg ;;
  984. -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  985. | --libexe | --libex | --libe)
  986. ac_prev=libexecdir ;;
  987. -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  988. | --libexe=* | --libex=* | --libe=*)
  989. libexecdir=$ac_optarg ;;
  990. -localedir | --localedir | --localedi | --localed | --locale)
  991. ac_prev=localedir ;;
  992. -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
  993. localedir=$ac_optarg ;;
  994. -localstatedir | --localstatedir | --localstatedi | --localstated \
  995. | --localstate | --localstat | --localsta | --localst | --locals)
  996. ac_prev=localstatedir ;;
  997. -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  998. | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
  999. localstatedir=$ac_optarg ;;
  1000. -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  1001. ac_prev=mandir ;;
  1002. -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  1003. mandir=$ac_optarg ;;
  1004. -nfp | --nfp | --nf)
  1005. # Obsolete; use --without-fp.
  1006. with_fp=no ;;
  1007. -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  1008. | --no-cr | --no-c | -n)
  1009. no_create=yes ;;
  1010. -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  1011. | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  1012. no_recursion=yes ;;
  1013. -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  1014. | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  1015. | --oldin | --oldi | --old | --ol | --o)
  1016. ac_prev=oldincludedir ;;
  1017. -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  1018. | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  1019. | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  1020. oldincludedir=$ac_optarg ;;
  1021. -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  1022. ac_prev=prefix ;;
  1023. -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  1024. prefix=$ac_optarg ;;
  1025. -program-prefix | --program-prefix | --program-prefi | --program-pref \
  1026. | --program-pre | --program-pr | --program-p)
  1027. ac_prev=program_prefix ;;
  1028. -program-prefix=* | --program-prefix=* | --program-prefi=* \
  1029. | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  1030. program_prefix=$ac_optarg ;;
  1031. -program-suffix | --program-suffix | --program-suffi | --program-suff \
  1032. | --program-suf | --program-su | --program-s)
  1033. ac_prev=program_suffix ;;
  1034. -program-suffix=* | --program-suffix=* | --program-suffi=* \
  1035. | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  1036. program_suffix=$ac_optarg ;;
  1037. -program-transform-name | --program-transform-name \
  1038. | --program-transform-nam | --program-transform-na \
  1039. | --program-transform-n | --program-transform- \
  1040. | --program-transform | --program-transfor \
  1041. | --program-transfo | --program-transf \
  1042. | --program-trans | --program-tran \
  1043. | --progr-tra | --program-tr | --program-t)
  1044. ac_prev=program_transform_name ;;
  1045. -program-transform-name=* | --program-transform-name=* \
  1046. | --program-transform-nam=* | --program-transform-na=* \
  1047. | --program-transform-n=* | --program-transform-=* \
  1048. | --program-transform=* | --program-transfor=* \
  1049. | --program-transfo=* | --program-transf=* \
  1050. | --program-trans=* | --program-tran=* \
  1051. | --progr-tra=* | --program-tr=* | --program-t=*)
  1052. program_transform_name=$ac_optarg ;;
  1053. -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
  1054. ac_prev=pdfdir ;;
  1055. -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
  1056. pdfdir=$ac_optarg ;;
  1057. -psdir | --psdir | --psdi | --psd | --ps)
  1058. ac_prev=psdir ;;
  1059. -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
  1060. psdir=$ac_optarg ;;
  1061. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1062. | -silent | --silent | --silen | --sile | --sil)
  1063. silent=yes ;;
  1064. -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  1065. ac_prev=sbindir ;;
  1066. -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  1067. | --sbi=* | --sb=*)
  1068. sbindir=$ac_optarg ;;
  1069. -sharedstatedir | --sharedstatedir | --sharedstatedi \
  1070. | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  1071. | --sharedst | --shareds | --shared | --share | --shar \
  1072. | --sha | --sh)
  1073. ac_prev=sharedstatedir ;;
  1074. -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  1075. | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  1076. | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  1077. | --sha=* | --sh=*)
  1078. sharedstatedir=$ac_optarg ;;
  1079. -site | --site | --sit)
  1080. ac_prev=site ;;
  1081. -site=* | --site=* | --sit=*)
  1082. site=$ac_optarg ;;
  1083. -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  1084. ac_prev=srcdir ;;
  1085. -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  1086. srcdir=$ac_optarg ;;
  1087. -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  1088. | --syscon | --sysco | --sysc | --sys | --sy)
  1089. ac_prev=sysconfdir ;;
  1090. -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  1091. | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  1092. sysconfdir=$ac_optarg ;;
  1093. -target | --target | --targe | --targ | --tar | --ta | --t)
  1094. ac_prev=target_alias ;;
  1095. -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  1096. target_alias=$ac_optarg ;;
  1097. -v | -verbose | --verbose | --verbos | --verbo | --verb)
  1098. verbose=yes ;;
  1099. -version | --version | --versio | --versi | --vers | -V)
  1100. ac_init_version=: ;;
  1101. -with-* | --with-*)
  1102. ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  1103. # Reject names that are not valid shell variable names.
  1104. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1105. as_fn_error $? "invalid package name: $ac_useropt"
  1106. ac_useropt_orig=$ac_useropt
  1107. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1108. case $ac_user_opts in
  1109. *"
  1110. "with_$ac_useropt"
  1111. "*) ;;
  1112. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
  1113. ac_unrecognized_sep=', ';;
  1114. esac
  1115. eval with_$ac_useropt=\$ac_optarg ;;
  1116. -without-* | --without-*)
  1117. ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  1118. # Reject names that are not valid shell variable names.
  1119. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1120. as_fn_error $? "invalid package name: $ac_useropt"
  1121. ac_useropt_orig=$ac_useropt
  1122. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1123. case $ac_user_opts in
  1124. *"
  1125. "with_$ac_useropt"
  1126. "*) ;;
  1127. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
  1128. ac_unrecognized_sep=', ';;
  1129. esac
  1130. eval with_$ac_useropt=no ;;
  1131. --x)
  1132. # Obsolete; use --with-x.
  1133. with_x=yes ;;
  1134. -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  1135. | --x-incl | --x-inc | --x-in | --x-i)
  1136. ac_prev=x_includes ;;
  1137. -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  1138. | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  1139. x_includes=$ac_optarg ;;
  1140. -x-libraries | --x-libraries | --x-librarie | --x-librari \
  1141. | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  1142. ac_prev=x_libraries ;;
  1143. -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  1144. | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  1145. x_libraries=$ac_optarg ;;
  1146. -*) as_fn_error $? "unrecognized option: \`$ac_option'
  1147. Try \`$0 --help' for more information"
  1148. ;;
  1149. *=*)
  1150. ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  1151. # Reject names that are not valid shell variable names.
  1152. case $ac_envvar in #(
  1153. '' | [0-9]* | *[!_$as_cr_alnum]* )
  1154. as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
  1155. esac
  1156. eval $ac_envvar=\$ac_optarg
  1157. export $ac_envvar ;;
  1158. *)
  1159. # FIXME: should be removed in autoconf 3.0.
  1160. $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  1161. expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  1162. $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  1163. : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
  1164. ;;
  1165. esac
  1166. done
  1167. if test -n "$ac_prev"; then
  1168. ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  1169. as_fn_error $? "missing argument to $ac_option"
  1170. fi
  1171. if test -n "$ac_unrecognized_opts"; then
  1172. case $enable_option_checking in
  1173. no) ;;
  1174. fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
  1175. *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
  1176. esac
  1177. fi
  1178. # Check all directory arguments for consistency.
  1179. for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
  1180. datadir sysconfdir sharedstatedir localstatedir includedir \
  1181. oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
  1182. libdir localedir mandir
  1183. do
  1184. eval ac_val=\$$ac_var
  1185. # Remove trailing slashes.
  1186. case $ac_val in
  1187. */ )
  1188. ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
  1189. eval $ac_var=\$ac_val;;
  1190. esac
  1191. # Be sure to have absolute directory names.
  1192. case $ac_val in
  1193. [\\/$]* | ?:[\\/]* ) continue;;
  1194. NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
  1195. esac
  1196. as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
  1197. done
  1198. # There might be people who depend on the old broken behavior: `$host'
  1199. # used to hold the argument of --host etc.
  1200. # FIXME: To remove some day.
  1201. build=$build_alias
  1202. host=$host_alias
  1203. target=$target_alias
  1204. # FIXME: To remove some day.
  1205. if test "x$host_alias" != x; then
  1206. if test "x$build_alias" = x; then
  1207. cross_compiling=maybe
  1208. elif test "x$build_alias" != "x$host_alias"; then
  1209. cross_compiling=yes
  1210. fi
  1211. fi
  1212. ac_tool_prefix=
  1213. test -n "$host_alias" && ac_tool_prefix=$host_alias-
  1214. test "$silent" = yes && exec 6>/dev/null
  1215. ac_pwd=`pwd` && test -n "$ac_pwd" &&
  1216. ac_ls_di=`ls -di .` &&
  1217. ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
  1218. as_fn_error $? "working directory cannot be determined"
  1219. test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
  1220. as_fn_error $? "pwd does not report name of working directory"
  1221. # Find the source files, if location was not specified.
  1222. if test -z "$srcdir"; then
  1223. ac_srcdir_defaulted=yes
  1224. # Try the directory containing this script, then the parent directory.
  1225. ac_confdir=`$as_dirname -- "$as_myself" ||
  1226. $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1227. X"$as_myself" : 'X\(//\)[^/]' \| \
  1228. X"$as_myself" : 'X\(//\)$' \| \
  1229. X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
  1230. $as_echo X"$as_myself" |
  1231. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  1232. s//\1/
  1233. q
  1234. }
  1235. /^X\(\/\/\)[^/].*/{
  1236. s//\1/
  1237. q
  1238. }
  1239. /^X\(\/\/\)$/{
  1240. s//\1/
  1241. q
  1242. }
  1243. /^X\(\/\).*/{
  1244. s//\1/
  1245. q
  1246. }
  1247. s/.*/./; q'`
  1248. srcdir=$ac_confdir
  1249. if test ! -r "$srcdir/$ac_unique_file"; then
  1250. srcdir=..
  1251. fi
  1252. else
  1253. ac_srcdir_defaulted=no
  1254. fi
  1255. if test ! -r "$srcdir/$ac_unique_file"; then
  1256. test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
  1257. as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
  1258. fi
  1259. ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
  1260. ac_abs_confdir=`(
  1261. cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
  1262. pwd)`
  1263. # When building in place, set srcdir=.
  1264. if test "$ac_abs_confdir" = "$ac_pwd"; then
  1265. srcdir=.
  1266. fi
  1267. # Remove unnecessary trailing slashes from srcdir.
  1268. # Double slashes in file names in object file debugging info
  1269. # mess up M-x gdb in Emacs.
  1270. case $srcdir in
  1271. */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
  1272. esac
  1273. for ac_var in $ac_precious_vars; do
  1274. eval ac_env_${ac_var}_set=\${${ac_var}+set}
  1275. eval ac_env_${ac_var}_value=\$${ac_var}
  1276. eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
  1277. eval ac_cv_env_${ac_var}_value=\$${ac_var}
  1278. done
  1279. #
  1280. # Report the --help message.
  1281. #
  1282. if test "$ac_init_help" = "long"; then
  1283. # Omit some internal or obsolete options to make the list less imposing.
  1284. # This message is too long to be a string in the A/UX 3.1 sh.
  1285. cat <<_ACEOF
  1286. \`configure' configures libzipper 1.0.4 to adapt to many kinds of systems.
  1287. Usage: $0 [OPTION]... [VAR=VALUE]...
  1288. To assign environment variables (e.g., CC, CFLAGS...), specify them as
  1289. VAR=VALUE. See below for descriptions of some of the useful variables.
  1290. Defaults for the options are specified in brackets.
  1291. Configuration:
  1292. -h, --help display this help and exit
  1293. --help=short display options specific to this package
  1294. --help=recursive display the short help of all the included packages
  1295. -V, --version display version information and exit
  1296. -q, --quiet, --silent do not print \`checking ...' messages
  1297. --cache-file=FILE cache test results in FILE [disabled]
  1298. -C, --config-cache alias for \`--cache-file=config.cache'
  1299. -n, --no-create do not create output files
  1300. --srcdir=DIR find the sources in DIR [configure dir or \`..']
  1301. Installation directories:
  1302. --prefix=PREFIX install architecture-independent files in PREFIX
  1303. [$ac_default_prefix]
  1304. --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
  1305. [PREFIX]
  1306. By default, \`make install' will install all the files in
  1307. \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
  1308. an installation prefix other than \`$ac_default_prefix' using \`--prefix',
  1309. for instance \`--prefix=\$HOME'.
  1310. For better control, use the options below.
  1311. Fine tuning of the installation directories:
  1312. --bindir=DIR user executables [EPREFIX/bin]
  1313. --sbindir=DIR system admin executables [EPREFIX/sbin]
  1314. --libexecdir=DIR program executables [EPREFIX/libexec]
  1315. --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
  1316. --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
  1317. --localstatedir=DIR modifiable single-machine data [PREFIX/var]
  1318. --libdir=DIR object code libraries [EPREFIX/lib]
  1319. --includedir=DIR C header files [PREFIX/include]
  1320. --oldincludedir=DIR C header files for non-gcc [/usr/include]
  1321. --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
  1322. --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
  1323. --infodir=DIR info documentation [DATAROOTDIR/info]
  1324. --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
  1325. --mandir=DIR man documentation [DATAROOTDIR/man]
  1326. --docdir=DIR documentation root [DATAROOTDIR/doc/libzipper]
  1327. --htmldir=DIR html documentation [DOCDIR]
  1328. --dvidir=DIR dvi documentation [DOCDIR]
  1329. --pdfdir=DIR pdf documentation [DOCDIR]
  1330. --psdir=DIR ps documentation [DOCDIR]
  1331. _ACEOF
  1332. cat <<\_ACEOF
  1333. Program names:
  1334. --program-prefix=PREFIX prepend PREFIX to installed program names
  1335. --program-suffix=SUFFIX append SUFFIX to installed program names
  1336. --program-transform-name=PROGRAM run sed PROGRAM on installed program names
  1337. System types:
  1338. --build=BUILD configure for building on BUILD [guessed]
  1339. --host=HOST cross-compile to build programs to run on HOST [BUILD]
  1340. --target=TARGET configure for building compilers for TARGET [HOST]
  1341. _ACEOF
  1342. fi
  1343. if test -n "$ac_init_help"; then
  1344. case $ac_init_help in
  1345. short | recursive ) echo "Configuration of libzipper 1.0.4:";;
  1346. esac
  1347. cat <<\_ACEOF
  1348. Optional Features:
  1349. --disable-option-checking ignore unrecognized --enable/--with options
  1350. --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
  1351. --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
  1352. --enable-silent-rules less verbose build output (undo: "make V=1")
  1353. --disable-silent-rules verbose build output (undo: "make V=0")
  1354. --enable-maintainer-mode
  1355. enable make rules and dependencies not useful (and
  1356. sometimes confusing) to the casual installer
  1357. --enable-dependency-tracking
  1358. do not reject slow dependency extractors
  1359. --disable-dependency-tracking
  1360. speeds up one-time build
  1361. --enable-shared[=PKGS] build shared libraries [default=yes]
  1362. --enable-static[=PKGS] build static libraries [default=yes]
  1363. --enable-fast-install[=PKGS]
  1364. optimize for fast installation [default=yes]
  1365. --disable-libtool-lock avoid locking (might break parallel builds)
  1366. --disable-doxygen-doc don't generate any doxygen documentation
  1367. --enable-doxygen-dot generate graphics for doxygen documentation
  1368. --enable-doxygen-man generate doxygen manual pages
  1369. --enable-doxygen-rtf generate doxygen RTF documentation
  1370. --enable-doxygen-xml generate doxygen XML documentation
  1371. --enable-doxygen-chm generate doxygen compressed HTML help documentation
  1372. --enable-doxygen-chi generate doxygen seperate compressed HTML help index
  1373. file
  1374. --disable-doxygen-html don't generate doxygen plain HTML documentation
  1375. --enable-doxygen-ps generate doxygen PostScript documentation
  1376. --enable-doxygen-pdf generate doxygen PDF documentation
  1377. Optional Packages:
  1378. --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
  1379. --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
  1380. --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
  1381. both]
  1382. --with-gnu-ld assume the C compiler uses GNU ld [default=no]
  1383. --with-sysroot=DIR Search for dependent libraries within DIR
  1384. (or the compiler's sysroot if not specified).
  1385. Some influential environment variables:
  1386. CXX C++ compiler command
  1387. CXXFLAGS C++ compiler flags
  1388. LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
  1389. nonstandard directory <lib dir>
  1390. LIBS libraries to pass to the linker, e.g. -l<library>
  1391. CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
  1392. you have headers in a nonstandard directory <include dir>
  1393. CC C compiler command
  1394. CFLAGS C compiler flags
  1395. CPP C preprocessor
  1396. CXXCPP C++ preprocessor
  1397. DOXYGEN_PAPER_SIZE
  1398. a4wide (default), a4, letter, legal or executive
  1399. PKG_CONFIG path to pkg-config utility
  1400. PKG_CONFIG_PATH
  1401. directories to add to pkg-config's search path
  1402. PKG_CONFIG_LIBDIR
  1403. path overriding pkg-config's built-in search path
  1404. ZLIB_CFLAGS C compiler flags for ZLIB, overriding pkg-config
  1405. ZLIB_LIBS linker flags for ZLIB, overriding pkg-config
  1406. Use these variables to override the choices made by `configure' or to help
  1407. it to find libraries and programs with nonstandard names/locations.
  1408. Report bugs to <michael@codesrc.com>.
  1409. _ACEOF
  1410. ac_status=$?
  1411. fi
  1412. if test "$ac_init_help" = "recursive"; then
  1413. # If there are subdirs, report their specific --help.
  1414. for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  1415. test -d "$ac_dir" ||
  1416. { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
  1417. continue
  1418. ac_builddir=.
  1419. case "$ac_dir" in
  1420. .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1421. *)
  1422. ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  1423. # A ".." for each directory in $ac_dir_suffix.
  1424. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  1425. case $ac_top_builddir_sub in
  1426. "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1427. *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  1428. esac ;;
  1429. esac
  1430. ac_abs_top_builddir=$ac_pwd
  1431. ac_abs_builddir=$ac_pwd$ac_dir_suffix
  1432. # for backward compatibility:
  1433. ac_top_builddir=$ac_top_build_prefix
  1434. case $srcdir in
  1435. .) # We are building in place.
  1436. ac_srcdir=.
  1437. ac_top_srcdir=$ac_top_builddir_sub
  1438. ac_abs_top_srcdir=$ac_pwd ;;
  1439. [\\/]* | ?:[\\/]* ) # Absolute name.
  1440. ac_srcdir=$srcdir$ac_dir_suffix;
  1441. ac_top_srcdir=$srcdir
  1442. ac_abs_top_srcdir=$srcdir ;;
  1443. *) # Relative name.
  1444. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  1445. ac_top_srcdir=$ac_top_build_prefix$srcdir
  1446. ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  1447. esac
  1448. ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  1449. cd "$ac_dir" || { ac_status=$?; continue; }
  1450. # Check for guested configure.
  1451. if test -f "$ac_srcdir/configure.gnu"; then
  1452. echo &&
  1453. $SHELL "$ac_srcdir/configure.gnu" --help=recursive
  1454. elif test -f "$ac_srcdir/configure"; then
  1455. echo &&
  1456. $SHELL "$ac_srcdir/configure" --help=recursive
  1457. else
  1458. $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  1459. fi || ac_status=$?
  1460. cd "$ac_pwd" || { ac_status=$?; break; }
  1461. done
  1462. fi
  1463. test -n "$ac_init_help" && exit $ac_status
  1464. if $ac_init_version; then
  1465. cat <<\_ACEOF
  1466. libzipper configure 1.0.4
  1467. generated by GNU Autoconf 2.69
  1468. Copyright (C) 2012 Free Software Foundation, Inc.
  1469. This configure script is free software; the Free Software Foundation
  1470. gives unlimited permission to copy, distribute and modify it.
  1471. _ACEOF
  1472. exit
  1473. fi
  1474. ## ------------------------ ##
  1475. ## Autoconf initialization. ##
  1476. ## ------------------------ ##
  1477. # ac_fn_cxx_try_compile LINENO
  1478. # ----------------------------
  1479. # Try to compile conftest.$ac_ext, and return whether this succeeded.
  1480. ac_fn_cxx_try_compile ()
  1481. {
  1482. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1483. rm -f conftest.$ac_objext
  1484. if { { ac_try="$ac_compile"
  1485. case "(($ac_try" in
  1486. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1487. *) ac_try_echo=$ac_try;;
  1488. esac
  1489. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1490. $as_echo "$ac_try_echo"; } >&5
  1491. (eval "$ac_compile") 2>conftest.err
  1492. ac_status=$?
  1493. if test -s conftest.err; then
  1494. grep -v '^ *+' conftest.err >conftest.er1
  1495. cat conftest.er1 >&5
  1496. mv -f conftest.er1 conftest.err
  1497. fi
  1498. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1499. test $ac_status = 0; } && {
  1500. test -z "$ac_cxx_werror_flag" ||
  1501. test ! -s conftest.err
  1502. } && test -s conftest.$ac_objext; then :
  1503. ac_retval=0
  1504. else
  1505. $as_echo "$as_me: failed program was:" >&5
  1506. sed 's/^/| /' conftest.$ac_ext >&5
  1507. ac_retval=1
  1508. fi
  1509. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1510. as_fn_set_status $ac_retval
  1511. } # ac_fn_cxx_try_compile
  1512. # ac_fn_c_try_compile LINENO
  1513. # --------------------------
  1514. # Try to compile conftest.$ac_ext, and return whether this succeeded.
  1515. ac_fn_c_try_compile ()
  1516. {
  1517. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1518. rm -f conftest.$ac_objext
  1519. if { { ac_try="$ac_compile"
  1520. case "(($ac_try" in
  1521. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1522. *) ac_try_echo=$ac_try;;
  1523. esac
  1524. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1525. $as_echo "$ac_try_echo"; } >&5
  1526. (eval "$ac_compile") 2>conftest.err
  1527. ac_status=$?
  1528. if test -s conftest.err; then
  1529. grep -v '^ *+' conftest.err >conftest.er1
  1530. cat conftest.er1 >&5
  1531. mv -f conftest.er1 conftest.err
  1532. fi
  1533. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1534. test $ac_status = 0; } && {
  1535. test -z "$ac_c_werror_flag" ||
  1536. test ! -s conftest.err
  1537. } && test -s conftest.$ac_objext; then :
  1538. ac_retval=0
  1539. else
  1540. $as_echo "$as_me: failed program was:" >&5
  1541. sed 's/^/| /' conftest.$ac_ext >&5
  1542. ac_retval=1
  1543. fi
  1544. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1545. as_fn_set_status $ac_retval
  1546. } # ac_fn_c_try_compile
  1547. # ac_fn_c_try_link LINENO
  1548. # -----------------------
  1549. # Try to link conftest.$ac_ext, and return whether this succeeded.
  1550. ac_fn_c_try_link ()
  1551. {
  1552. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1553. rm -f conftest.$ac_objext conftest$ac_exeext
  1554. if { { ac_try="$ac_link"
  1555. case "(($ac_try" in
  1556. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1557. *) ac_try_echo=$ac_try;;
  1558. esac
  1559. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1560. $as_echo "$ac_try_echo"; } >&5
  1561. (eval "$ac_link") 2>conftest.err
  1562. ac_status=$?
  1563. if test -s conftest.err; then
  1564. grep -v '^ *+' conftest.err >conftest.er1
  1565. cat conftest.er1 >&5
  1566. mv -f conftest.er1 conftest.err
  1567. fi
  1568. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1569. test $ac_status = 0; } && {
  1570. test -z "$ac_c_werror_flag" ||
  1571. test ! -s conftest.err
  1572. } && test -s conftest$ac_exeext && {
  1573. test "$cross_compiling" = yes ||
  1574. test -x conftest$ac_exeext
  1575. }; then :
  1576. ac_retval=0
  1577. else
  1578. $as_echo "$as_me: failed program was:" >&5
  1579. sed 's/^/| /' conftest.$ac_ext >&5
  1580. ac_retval=1
  1581. fi
  1582. # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
  1583. # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
  1584. # interfere with the next link command; also delete a directory that is
  1585. # left behind by Apple's compiler. We do this before executing the actions.
  1586. rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  1587. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1588. as_fn_set_status $ac_retval
  1589. } # ac_fn_c_try_link
  1590. # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
  1591. # -------------------------------------------------------
  1592. # Tests whether HEADER exists and can be compiled using the include files in
  1593. # INCLUDES, setting the cache variable VAR accordingly.
  1594. ac_fn_c_check_header_compile ()
  1595. {
  1596. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1597. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1598. $as_echo_n "checking for $2... " >&6; }
  1599. if eval \${$3+:} false; then :
  1600. $as_echo_n "(cached) " >&6
  1601. else
  1602. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1603. /* end confdefs.h. */
  1604. $4
  1605. #include <$2>
  1606. _ACEOF
  1607. if ac_fn_c_try_compile "$LINENO"; then :
  1608. eval "$3=yes"
  1609. else
  1610. eval "$3=no"
  1611. fi
  1612. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1613. fi
  1614. eval ac_res=\$$3
  1615. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1616. $as_echo "$ac_res" >&6; }
  1617. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1618. } # ac_fn_c_check_header_compile
  1619. # ac_fn_c_try_cpp LINENO
  1620. # ----------------------
  1621. # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
  1622. ac_fn_c_try_cpp ()
  1623. {
  1624. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1625. if { { ac_try="$ac_cpp conftest.$ac_ext"
  1626. case "(($ac_try" in
  1627. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1628. *) ac_try_echo=$ac_try;;
  1629. esac
  1630. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1631. $as_echo "$ac_try_echo"; } >&5
  1632. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
  1633. ac_status=$?
  1634. if test -s conftest.err; then
  1635. grep -v '^ *+' conftest.err >conftest.er1
  1636. cat conftest.er1 >&5
  1637. mv -f conftest.er1 conftest.err
  1638. fi
  1639. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1640. test $ac_status = 0; } > conftest.i && {
  1641. test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  1642. test ! -s conftest.err
  1643. }; then :
  1644. ac_retval=0
  1645. else
  1646. $as_echo "$as_me: failed program was:" >&5
  1647. sed 's/^/| /' conftest.$ac_ext >&5
  1648. ac_retval=1
  1649. fi
  1650. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1651. as_fn_set_status $ac_retval
  1652. } # ac_fn_c_try_cpp
  1653. # ac_fn_c_try_run LINENO
  1654. # ----------------------
  1655. # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
  1656. # that executables *can* be run.
  1657. ac_fn_c_try_run ()
  1658. {
  1659. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1660. if { { ac_try="$ac_link"
  1661. case "(($ac_try" in
  1662. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1663. *) ac_try_echo=$ac_try;;
  1664. esac
  1665. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1666. $as_echo "$ac_try_echo"; } >&5
  1667. (eval "$ac_link") 2>&5
  1668. ac_status=$?
  1669. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1670. test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
  1671. { { case "(($ac_try" in
  1672. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1673. *) ac_try_echo=$ac_try;;
  1674. esac
  1675. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1676. $as_echo "$ac_try_echo"; } >&5
  1677. (eval "$ac_try") 2>&5
  1678. ac_status=$?
  1679. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1680. test $ac_status = 0; }; }; then :
  1681. ac_retval=0
  1682. else
  1683. $as_echo "$as_me: program exited with status $ac_status" >&5
  1684. $as_echo "$as_me: failed program was:" >&5
  1685. sed 's/^/| /' conftest.$ac_ext >&5
  1686. ac_retval=$ac_status
  1687. fi
  1688. rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  1689. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1690. as_fn_set_status $ac_retval
  1691. } # ac_fn_c_try_run
  1692. # ac_fn_c_check_func LINENO FUNC VAR
  1693. # ----------------------------------
  1694. # Tests whether FUNC exists, setting the cache variable VAR accordingly
  1695. ac_fn_c_check_func ()
  1696. {
  1697. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1698. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1699. $as_echo_n "checking for $2... " >&6; }
  1700. if eval \${$3+:} false; then :
  1701. $as_echo_n "(cached) " >&6
  1702. else
  1703. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1704. /* end confdefs.h. */
  1705. /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
  1706. For example, HP-UX 11i <limits.h> declares gettimeofday. */
  1707. #define $2 innocuous_$2
  1708. /* System header to define __stub macros and hopefully few prototypes,
  1709. which can conflict with char $2 (); below.
  1710. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  1711. <limits.h> exists even on freestanding compilers. */
  1712. #ifdef __STDC__
  1713. # include <limits.h>
  1714. #else
  1715. # include <assert.h>
  1716. #endif
  1717. #undef $2
  1718. /* Override any GCC internal prototype to avoid an error.
  1719. Use char because int might match the return type of a GCC
  1720. builtin and then its argument prototype would still apply. */
  1721. #ifdef __cplusplus
  1722. extern "C"
  1723. #endif
  1724. char $2 ();
  1725. /* The GNU C library defines this for functions which it implements
  1726. to always fail with ENOSYS. Some functions are actually named
  1727. something starting with __ and the normal name is an alias. */
  1728. #if defined __stub_$2 || defined __stub___$2
  1729. choke me
  1730. #endif
  1731. int
  1732. main ()
  1733. {
  1734. return $2 ();
  1735. ;
  1736. return 0;
  1737. }
  1738. _ACEOF
  1739. if ac_fn_c_try_link "$LINENO"; then :
  1740. eval "$3=yes"
  1741. else
  1742. eval "$3=no"
  1743. fi
  1744. rm -f core conftest.err conftest.$ac_objext \
  1745. conftest$ac_exeext conftest.$ac_ext
  1746. fi
  1747. eval ac_res=\$$3
  1748. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1749. $as_echo "$ac_res" >&6; }
  1750. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1751. } # ac_fn_c_check_func
  1752. # ac_fn_cxx_try_cpp LINENO
  1753. # ------------------------
  1754. # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
  1755. ac_fn_cxx_try_cpp ()
  1756. {
  1757. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1758. if { { ac_try="$ac_cpp conftest.$ac_ext"
  1759. case "(($ac_try" in
  1760. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1761. *) ac_try_echo=$ac_try;;
  1762. esac
  1763. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1764. $as_echo "$ac_try_echo"; } >&5
  1765. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
  1766. ac_status=$?
  1767. if test -s conftest.err; then
  1768. grep -v '^ *+' conftest.err >conftest.er1
  1769. cat conftest.er1 >&5
  1770. mv -f conftest.er1 conftest.err
  1771. fi
  1772. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1773. test $ac_status = 0; } > conftest.i && {
  1774. test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
  1775. test ! -s conftest.err
  1776. }; then :
  1777. ac_retval=0
  1778. else
  1779. $as_echo "$as_me: failed program was:" >&5
  1780. sed 's/^/| /' conftest.$ac_ext >&5
  1781. ac_retval=1
  1782. fi
  1783. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1784. as_fn_set_status $ac_retval
  1785. } # ac_fn_cxx_try_cpp
  1786. # ac_fn_cxx_try_link LINENO
  1787. # -------------------------
  1788. # Try to link conftest.$ac_ext, and return whether this succeeded.
  1789. ac_fn_cxx_try_link ()
  1790. {
  1791. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1792. rm -f conftest.$ac_objext conftest$ac_exeext
  1793. if { { ac_try="$ac_link"
  1794. case "(($ac_try" in
  1795. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1796. *) ac_try_echo=$ac_try;;
  1797. esac
  1798. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1799. $as_echo "$ac_try_echo"; } >&5
  1800. (eval "$ac_link") 2>conftest.err
  1801. ac_status=$?
  1802. if test -s conftest.err; then
  1803. grep -v '^ *+' conftest.err >conftest.er1
  1804. cat conftest.er1 >&5
  1805. mv -f conftest.er1 conftest.err
  1806. fi
  1807. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1808. test $ac_status = 0; } && {
  1809. test -z "$ac_cxx_werror_flag" ||
  1810. test ! -s conftest.err
  1811. } && test -s conftest$ac_exeext && {
  1812. test "$cross_compiling" = yes ||
  1813. test -x conftest$ac_exeext
  1814. }; then :
  1815. ac_retval=0
  1816. else
  1817. $as_echo "$as_me: failed program was:" >&5
  1818. sed 's/^/| /' conftest.$ac_ext >&5
  1819. ac_retval=1
  1820. fi
  1821. # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
  1822. # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
  1823. # interfere with the next link command; also delete a directory that is
  1824. # left behind by Apple's compiler. We do this before executing the actions.
  1825. rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  1826. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1827. as_fn_set_status $ac_retval
  1828. } # ac_fn_cxx_try_link
  1829. # ac_fn_cxx_check_decl LINENO SYMBOL VAR INCLUDES
  1830. # -----------------------------------------------
  1831. # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
  1832. # accordingly.
  1833. ac_fn_cxx_check_decl ()
  1834. {
  1835. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1836. as_decl_name=`echo $2|sed 's/ *(.*//'`
  1837. as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
  1838. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
  1839. $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
  1840. if eval \${$3+:} false; then :
  1841. $as_echo_n "(cached) " >&6
  1842. else
  1843. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1844. /* end confdefs.h. */
  1845. $4
  1846. int
  1847. main ()
  1848. {
  1849. #ifndef $as_decl_name
  1850. #ifdef __cplusplus
  1851. (void) $as_decl_use;
  1852. #else
  1853. (void) $as_decl_name;
  1854. #endif
  1855. #endif
  1856. ;
  1857. return 0;
  1858. }
  1859. _ACEOF
  1860. if ac_fn_cxx_try_compile "$LINENO"; then :
  1861. eval "$3=yes"
  1862. else
  1863. eval "$3=no"
  1864. fi
  1865. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1866. fi
  1867. eval ac_res=\$$3
  1868. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1869. $as_echo "$ac_res" >&6; }
  1870. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1871. } # ac_fn_cxx_check_decl
  1872. # ac_fn_cxx_check_func LINENO FUNC VAR
  1873. # ------------------------------------
  1874. # Tests whether FUNC exists, setting the cache variable VAR accordingly
  1875. ac_fn_cxx_check_func ()
  1876. {
  1877. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1878. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1879. $as_echo_n "checking for $2... " >&6; }
  1880. if eval \${$3+:} false; then :
  1881. $as_echo_n "(cached) " >&6
  1882. else
  1883. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1884. /* end confdefs.h. */
  1885. /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
  1886. For example, HP-UX 11i <limits.h> declares gettimeofday. */
  1887. #define $2 innocuous_$2
  1888. /* System header to define __stub macros and hopefully few prototypes,
  1889. which can conflict with char $2 (); below.
  1890. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  1891. <limits.h> exists even on freestanding compilers. */
  1892. #ifdef __STDC__
  1893. # include <limits.h>
  1894. #else
  1895. # include <assert.h>
  1896. #endif
  1897. #undef $2
  1898. /* Override any GCC internal prototype to avoid an error.
  1899. Use char because int might match the return type of a GCC
  1900. builtin and then its argument prototype would still apply. */
  1901. #ifdef __cplusplus
  1902. extern "C"
  1903. #endif
  1904. char $2 ();
  1905. /* The GNU C library defines this for functions which it implements
  1906. to always fail with ENOSYS. Some functions are actually named
  1907. something starting with __ and the normal name is an alias. */
  1908. #if defined __stub_$2 || defined __stub___$2
  1909. choke me
  1910. #endif
  1911. int
  1912. main ()
  1913. {
  1914. return $2 ();
  1915. ;
  1916. return 0;
  1917. }
  1918. _ACEOF
  1919. if ac_fn_cxx_try_link "$LINENO"; then :
  1920. eval "$3=yes"
  1921. else
  1922. eval "$3=no"
  1923. fi
  1924. rm -f core conftest.err conftest.$ac_objext \
  1925. conftest$ac_exeext conftest.$ac_ext
  1926. fi
  1927. eval ac_res=\$$3
  1928. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1929. $as_echo "$ac_res" >&6; }
  1930. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1931. } # ac_fn_cxx_check_func
  1932. # ac_fn_cxx_try_run LINENO
  1933. # ------------------------
  1934. # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
  1935. # that executables *can* be run.
  1936. ac_fn_cxx_try_run ()
  1937. {
  1938. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1939. if { { ac_try="$ac_link"
  1940. case "(($ac_try" in
  1941. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1942. *) ac_try_echo=$ac_try;;
  1943. esac
  1944. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1945. $as_echo "$ac_try_echo"; } >&5
  1946. (eval "$ac_link") 2>&5
  1947. ac_status=$?
  1948. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1949. test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
  1950. { { case "(($ac_try" in
  1951. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1952. *) ac_try_echo=$ac_try;;
  1953. esac
  1954. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1955. $as_echo "$ac_try_echo"; } >&5
  1956. (eval "$ac_try") 2>&5
  1957. ac_status=$?
  1958. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1959. test $ac_status = 0; }; }; then :
  1960. ac_retval=0
  1961. else
  1962. $as_echo "$as_me: program exited with status $ac_status" >&5
  1963. $as_echo "$as_me: failed program was:" >&5
  1964. sed 's/^/| /' conftest.$ac_ext >&5
  1965. ac_retval=$ac_status
  1966. fi
  1967. rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  1968. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1969. as_fn_set_status $ac_retval
  1970. } # ac_fn_cxx_try_run
  1971. cat >config.log <<_ACEOF
  1972. This file contains any messages produced by compilers while
  1973. running configure, to aid debugging if configure makes a mistake.
  1974. It was created by libzipper $as_me 1.0.4, which was
  1975. generated by GNU Autoconf 2.69. Invocation command line was
  1976. $ $0 $@
  1977. _ACEOF
  1978. exec 5>>config.log
  1979. {
  1980. cat <<_ASUNAME
  1981. ## --------- ##
  1982. ## Platform. ##
  1983. ## --------- ##
  1984. hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  1985. uname -m = `(uname -m) 2>/dev/null || echo unknown`
  1986. uname -r = `(uname -r) 2>/dev/null || echo unknown`
  1987. uname -s = `(uname -s) 2>/dev/null || echo unknown`
  1988. uname -v = `(uname -v) 2>/dev/null || echo unknown`
  1989. /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  1990. /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
  1991. /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
  1992. /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
  1993. /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  1994. /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
  1995. /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
  1996. /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
  1997. /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
  1998. _ASUNAME
  1999. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2000. for as_dir in $PATH
  2001. do
  2002. IFS=$as_save_IFS
  2003. test -z "$as_dir" && as_dir=.
  2004. $as_echo "PATH: $as_dir"
  2005. done
  2006. IFS=$as_save_IFS
  2007. } >&5
  2008. cat >&5 <<_ACEOF
  2009. ## ----------- ##
  2010. ## Core tests. ##
  2011. ## ----------- ##
  2012. _ACEOF
  2013. # Keep a trace of the command line.
  2014. # Strip out --no-create and --no-recursion so they do not pile up.
  2015. # Strip out --silent because we don't want to record it for future runs.
  2016. # Also quote any args containing shell meta-characters.
  2017. # Make two passes to allow for proper duplicate-argument suppression.
  2018. ac_configure_args=
  2019. ac_configure_args0=
  2020. ac_configure_args1=
  2021. ac_must_keep_next=false
  2022. for ac_pass in 1 2
  2023. do
  2024. for ac_arg
  2025. do
  2026. case $ac_arg in
  2027. -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  2028. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  2029. | -silent | --silent | --silen | --sile | --sil)
  2030. continue ;;
  2031. *\'*)
  2032. ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  2033. esac
  2034. case $ac_pass in
  2035. 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
  2036. 2)
  2037. as_fn_append ac_configure_args1 " '$ac_arg'"
  2038. if test $ac_must_keep_next = true; then
  2039. ac_must_keep_next=false # Got value, back to normal.
  2040. else
  2041. case $ac_arg in
  2042. *=* | --config-cache | -C | -disable-* | --disable-* \
  2043. | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
  2044. | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
  2045. | -with-* | --with-* | -without-* | --without-* | --x)
  2046. case "$ac_configure_args0 " in
  2047. "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  2048. esac
  2049. ;;
  2050. -* ) ac_must_keep_next=true ;;
  2051. esac
  2052. fi
  2053. as_fn_append ac_configure_args " '$ac_arg'"
  2054. ;;
  2055. esac
  2056. done
  2057. done
  2058. { ac_configure_args0=; unset ac_configure_args0;}
  2059. { ac_configure_args1=; unset ac_configure_args1;}
  2060. # When interrupted or exit'd, cleanup temporary files, and complete
  2061. # config.log. We remove comments because anyway the quotes in there
  2062. # would cause problems or look ugly.
  2063. # WARNING: Use '\'' to represent an apostrophe within the trap.
  2064. # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
  2065. trap 'exit_status=$?
  2066. # Save into config.log some information that might help in debugging.
  2067. {
  2068. echo
  2069. $as_echo "## ---------------- ##
  2070. ## Cache variables. ##
  2071. ## ---------------- ##"
  2072. echo
  2073. # The following way of writing the cache mishandles newlines in values,
  2074. (
  2075. for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
  2076. eval ac_val=\$$ac_var
  2077. case $ac_val in #(
  2078. *${as_nl}*)
  2079. case $ac_var in #(
  2080. *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  2081. $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  2082. esac
  2083. case $ac_var in #(
  2084. _ | IFS | as_nl) ;; #(
  2085. BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  2086. *) { eval $ac_var=; unset $ac_var;} ;;
  2087. esac ;;
  2088. esac
  2089. done
  2090. (set) 2>&1 |
  2091. case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
  2092. *${as_nl}ac_space=\ *)
  2093. sed -n \
  2094. "s/'\''/'\''\\\\'\'''\''/g;
  2095. s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
  2096. ;; #(
  2097. *)
  2098. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  2099. ;;
  2100. esac |
  2101. sort
  2102. )
  2103. echo
  2104. $as_echo "## ----------------- ##
  2105. ## Output variables. ##
  2106. ## ----------------- ##"
  2107. echo
  2108. for ac_var in $ac_subst_vars
  2109. do
  2110. eval ac_val=\$$ac_var
  2111. case $ac_val in
  2112. *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  2113. esac
  2114. $as_echo "$ac_var='\''$ac_val'\''"
  2115. done | sort
  2116. echo
  2117. if test -n "$ac_subst_files"; then
  2118. $as_echo "## ------------------- ##
  2119. ## File substitutions. ##
  2120. ## ------------------- ##"
  2121. echo
  2122. for ac_var in $ac_subst_files
  2123. do
  2124. eval ac_val=\$$ac_var
  2125. case $ac_val in
  2126. *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  2127. esac
  2128. $as_echo "$ac_var='\''$ac_val'\''"
  2129. done | sort
  2130. echo
  2131. fi
  2132. if test -s confdefs.h; then
  2133. $as_echo "## ----------- ##
  2134. ## confdefs.h. ##
  2135. ## ----------- ##"
  2136. echo
  2137. cat confdefs.h
  2138. echo
  2139. fi
  2140. test "$ac_signal" != 0 &&
  2141. $as_echo "$as_me: caught signal $ac_signal"
  2142. $as_echo "$as_me: exit $exit_status"
  2143. } >&5
  2144. rm -f core *.core core.conftest.* &&
  2145. rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
  2146. exit $exit_status
  2147. ' 0
  2148. for ac_signal in 1 2 13 15; do
  2149. trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
  2150. done
  2151. ac_signal=0
  2152. # confdefs.h avoids OS command line length limits that DEFS can exceed.
  2153. rm -f -r conftest* confdefs.h
  2154. $as_echo "/* confdefs.h */" > confdefs.h
  2155. # Predefined preprocessor variables.
  2156. cat >>confdefs.h <<_ACEOF
  2157. #define PACKAGE_NAME "$PACKAGE_NAME"
  2158. _ACEOF
  2159. cat >>confdefs.h <<_ACEOF
  2160. #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  2161. _ACEOF
  2162. cat >>confdefs.h <<_ACEOF
  2163. #define PACKAGE_VERSION "$PACKAGE_VERSION"
  2164. _ACEOF
  2165. cat >>confdefs.h <<_ACEOF
  2166. #define PACKAGE_STRING "$PACKAGE_STRING"
  2167. _ACEOF
  2168. cat >>confdefs.h <<_ACEOF
  2169. #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  2170. _ACEOF
  2171. cat >>confdefs.h <<_ACEOF
  2172. #define PACKAGE_URL "$PACKAGE_URL"
  2173. _ACEOF
  2174. # Let the site file select an alternate cache file if it wants to.
  2175. # Prefer an explicitly selected file to automatically selected ones.
  2176. ac_site_file1=NONE
  2177. ac_site_file2=NONE
  2178. if test -n "$CONFIG_SITE"; then
  2179. # We do not want a PATH search for config.site.
  2180. case $CONFIG_SITE in #((
  2181. -*) ac_site_file1=./$CONFIG_SITE;;
  2182. */*) ac_site_file1=$CONFIG_SITE;;
  2183. *) ac_site_file1=./$CONFIG_SITE;;
  2184. esac
  2185. elif test "x$prefix" != xNONE; then
  2186. ac_site_file1=$prefix/share/config.site
  2187. ac_site_file2=$prefix/etc/config.site
  2188. else
  2189. ac_site_file1=$ac_default_prefix/share/config.site
  2190. ac_site_file2=$ac_default_prefix/etc/config.site
  2191. fi
  2192. for ac_site_file in "$ac_site_file1" "$ac_site_file2"
  2193. do
  2194. test "x$ac_site_file" = xNONE && continue
  2195. if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
  2196. { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
  2197. $as_echo "$as_me: loading site script $ac_site_file" >&6;}
  2198. sed 's/^/| /' "$ac_site_file" >&5
  2199. . "$ac_site_file" \
  2200. || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  2201. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2202. as_fn_error $? "failed to load site script $ac_site_file
  2203. See \`config.log' for more details" "$LINENO" 5; }
  2204. fi
  2205. done
  2206. if test -r "$cache_file"; then
  2207. # Some versions of bash will fail to source /dev/null (special files
  2208. # actually), so we avoid doing that. DJGPP emulates it as a regular file.
  2209. if test /dev/null != "$cache_file" && test -f "$cache_file"; then
  2210. { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
  2211. $as_echo "$as_me: loading cache $cache_file" >&6;}
  2212. case $cache_file in
  2213. [\\/]* | ?:[\\/]* ) . "$cache_file";;
  2214. *) . "./$cache_file";;
  2215. esac
  2216. fi
  2217. else
  2218. { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
  2219. $as_echo "$as_me: creating cache $cache_file" >&6;}
  2220. >$cache_file
  2221. fi
  2222. # Check that the precious variables saved in the cache have kept the same
  2223. # value.
  2224. ac_cache_corrupted=false
  2225. for ac_var in $ac_precious_vars; do
  2226. eval ac_old_set=\$ac_cv_env_${ac_var}_set
  2227. eval ac_new_set=\$ac_env_${ac_var}_set
  2228. eval ac_old_val=\$ac_cv_env_${ac_var}_value
  2229. eval ac_new_val=\$ac_env_${ac_var}_value
  2230. case $ac_old_set,$ac_new_set in
  2231. set,)
  2232. { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  2233. $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  2234. ac_cache_corrupted=: ;;
  2235. ,set)
  2236. { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
  2237. $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  2238. ac_cache_corrupted=: ;;
  2239. ,);;
  2240. *)
  2241. if test "x$ac_old_val" != "x$ac_new_val"; then
  2242. # differences in whitespace do not lead to failure.
  2243. ac_old_val_w=`echo x $ac_old_val`
  2244. ac_new_val_w=`echo x $ac_new_val`
  2245. if test "$ac_old_val_w" != "$ac_new_val_w"; then
  2246. { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
  2247. $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  2248. ac_cache_corrupted=:
  2249. else
  2250. { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
  2251. $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
  2252. eval $ac_var=\$ac_old_val
  2253. fi
  2254. { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
  2255. $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
  2256. { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
  2257. $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
  2258. fi;;
  2259. esac
  2260. # Pass precious variables to config.status.
  2261. if test "$ac_new_set" = set; then
  2262. case $ac_new_val in
  2263. *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  2264. *) ac_arg=$ac_var=$ac_new_val ;;
  2265. esac
  2266. case " $ac_configure_args " in
  2267. *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
  2268. *) as_fn_append ac_configure_args " '$ac_arg'" ;;
  2269. esac
  2270. fi
  2271. done
  2272. if $ac_cache_corrupted; then
  2273. { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  2274. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2275. { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
  2276. $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  2277. as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
  2278. fi
  2279. ## -------------------- ##
  2280. ## Main body of script. ##
  2281. ## -------------------- ##
  2282. ac_ext=c
  2283. ac_cpp='$CPP $CPPFLAGS'
  2284. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2285. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2286. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2287. ac_aux_dir=
  2288. for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
  2289. if test -f "$ac_dir/install-sh"; then
  2290. ac_aux_dir=$ac_dir
  2291. ac_install_sh="$ac_aux_dir/install-sh -c"
  2292. break
  2293. elif test -f "$ac_dir/install.sh"; then
  2294. ac_aux_dir=$ac_dir
  2295. ac_install_sh="$ac_aux_dir/install.sh -c"
  2296. break
  2297. elif test -f "$ac_dir/shtool"; then
  2298. ac_aux_dir=$ac_dir
  2299. ac_install_sh="$ac_aux_dir/shtool install -c"
  2300. break
  2301. fi
  2302. done
  2303. if test -z "$ac_aux_dir"; then
  2304. as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
  2305. fi
  2306. # These three variables are undocumented and unsupported,
  2307. # and are intended to be withdrawn in a future Autoconf release.
  2308. # They can cause serious problems if a builder's source tree is in a directory
  2309. # whose full name contains unusual characters.
  2310. ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
  2311. ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
  2312. ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
  2313. # Make sure we can run config.sub.
  2314. $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
  2315. as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
  2316. { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
  2317. $as_echo_n "checking build system type... " >&6; }
  2318. if ${ac_cv_build+:} false; then :
  2319. $as_echo_n "(cached) " >&6
  2320. else
  2321. ac_build_alias=$build_alias
  2322. test "x$ac_build_alias" = x &&
  2323. ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
  2324. test "x$ac_build_alias" = x &&
  2325. as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
  2326. ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
  2327. as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
  2328. fi
  2329. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
  2330. $as_echo "$ac_cv_build" >&6; }
  2331. case $ac_cv_build in
  2332. *-*-*) ;;
  2333. *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
  2334. esac
  2335. build=$ac_cv_build
  2336. ac_save_IFS=$IFS; IFS='-'
  2337. set x $ac_cv_build
  2338. shift
  2339. build_cpu=$1
  2340. build_vendor=$2
  2341. shift; shift
  2342. # Remember, the first character of IFS is used to create $*,
  2343. # except with old shells:
  2344. build_os=$*
  2345. IFS=$ac_save_IFS
  2346. case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
  2347. { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
  2348. $as_echo_n "checking host system type... " >&6; }
  2349. if ${ac_cv_host+:} false; then :
  2350. $as_echo_n "(cached) " >&6
  2351. else
  2352. if test "x$host_alias" = x; then
  2353. ac_cv_host=$ac_cv_build
  2354. else
  2355. ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
  2356. as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
  2357. fi
  2358. fi
  2359. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
  2360. $as_echo "$ac_cv_host" >&6; }
  2361. case $ac_cv_host in
  2362. *-*-*) ;;
  2363. *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
  2364. esac
  2365. host=$ac_cv_host
  2366. ac_save_IFS=$IFS; IFS='-'
  2367. set x $ac_cv_host
  2368. shift
  2369. host_cpu=$1
  2370. host_vendor=$2
  2371. shift; shift
  2372. # Remember, the first character of IFS is used to create $*,
  2373. # except with old shells:
  2374. host_os=$*
  2375. IFS=$ac_save_IFS
  2376. case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
  2377. { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
  2378. $as_echo_n "checking target system type... " >&6; }
  2379. if ${ac_cv_target+:} false; then :
  2380. $as_echo_n "(cached) " >&6
  2381. else
  2382. if test "x$target_alias" = x; then
  2383. ac_cv_target=$ac_cv_host
  2384. else
  2385. ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
  2386. as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
  2387. fi
  2388. fi
  2389. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
  2390. $as_echo "$ac_cv_target" >&6; }
  2391. case $ac_cv_target in
  2392. *-*-*) ;;
  2393. *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
  2394. esac
  2395. target=$ac_cv_target
  2396. ac_save_IFS=$IFS; IFS='-'
  2397. set x $ac_cv_target
  2398. shift
  2399. target_cpu=$1
  2400. target_vendor=$2
  2401. shift; shift
  2402. # Remember, the first character of IFS is used to create $*,
  2403. # except with old shells:
  2404. target_os=$*
  2405. IFS=$ac_save_IFS
  2406. case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
  2407. # The aliases save the names the user supplied, while $host etc.
  2408. # will get canonicalized.
  2409. test -n "$target_alias" &&
  2410. test "$program_prefix$program_suffix$program_transform_name" = \
  2411. NONENONEs,x,x, &&
  2412. program_prefix=${target_alias}-
  2413. am__api_version='1.14'
  2414. # Find a good install program. We prefer a C program (faster),
  2415. # so one script is as good as another. But avoid the broken or
  2416. # incompatible versions:
  2417. # SysV /etc/install, /usr/sbin/install
  2418. # SunOS /usr/etc/install
  2419. # IRIX /sbin/install
  2420. # AIX /bin/install
  2421. # AmigaOS /C/install, which installs bootblocks on floppy discs
  2422. # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
  2423. # AFS /usr/afsws/bin/install, which mishandles nonexistent args
  2424. # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  2425. # OS/2's system install, which has a completely different semantic
  2426. # ./install, which can be erroneously created by make from ./install.sh.
  2427. # Reject install programs that cannot install multiple files.
  2428. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
  2429. $as_echo_n "checking for a BSD-compatible install... " >&6; }
  2430. if test -z "$INSTALL"; then
  2431. if ${ac_cv_path_install+:} false; then :
  2432. $as_echo_n "(cached) " >&6
  2433. else
  2434. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2435. for as_dir in $PATH
  2436. do
  2437. IFS=$as_save_IFS
  2438. test -z "$as_dir" && as_dir=.
  2439. # Account for people who put trailing slashes in PATH elements.
  2440. case $as_dir/ in #((
  2441. ./ | .// | /[cC]/* | \
  2442. /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
  2443. ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
  2444. /usr/ucb/* ) ;;
  2445. *)
  2446. # OSF1 and SCO ODT 3.0 have their own names for install.
  2447. # Don't use installbsd from OSF since it installs stuff as root
  2448. # by default.
  2449. for ac_prog in ginstall scoinst install; do
  2450. for ac_exec_ext in '' $ac_executable_extensions; do
  2451. if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
  2452. if test $ac_prog = install &&
  2453. grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  2454. # AIX install. It has an incompatible calling convention.
  2455. :
  2456. elif test $ac_prog = install &&
  2457. grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  2458. # program-specific install script used by HP pwplus--don't use.
  2459. :
  2460. else
  2461. rm -rf conftest.one conftest.two conftest.dir
  2462. echo one > conftest.one
  2463. echo two > conftest.two
  2464. mkdir conftest.dir
  2465. if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
  2466. test -s conftest.one && test -s conftest.two &&
  2467. test -s conftest.dir/conftest.one &&
  2468. test -s conftest.dir/conftest.two
  2469. then
  2470. ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
  2471. break 3
  2472. fi
  2473. fi
  2474. fi
  2475. done
  2476. done
  2477. ;;
  2478. esac
  2479. done
  2480. IFS=$as_save_IFS
  2481. rm -rf conftest.one conftest.two conftest.dir
  2482. fi
  2483. if test "${ac_cv_path_install+set}" = set; then
  2484. INSTALL=$ac_cv_path_install
  2485. else
  2486. # As a last resort, use the slow shell script. Don't cache a
  2487. # value for INSTALL within a source directory, because that will
  2488. # break other packages using the cache if that directory is
  2489. # removed, or if the value is a relative name.
  2490. INSTALL=$ac_install_sh
  2491. fi
  2492. fi
  2493. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
  2494. $as_echo "$INSTALL" >&6; }
  2495. # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  2496. # It thinks the first close brace ends the variable substitution.
  2497. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  2498. test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
  2499. test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  2500. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
  2501. $as_echo_n "checking whether build environment is sane... " >&6; }
  2502. # Reject unsafe characters in $srcdir or the absolute working directory
  2503. # name. Accept space and tab only in the latter.
  2504. am_lf='
  2505. '
  2506. case `pwd` in
  2507. *[\\\"\#\$\&\'\`$am_lf]*)
  2508. as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
  2509. esac
  2510. case $srcdir in
  2511. *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
  2512. as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
  2513. esac
  2514. # Do 'set' in a subshell so we don't clobber the current shell's
  2515. # arguments. Must try -L first in case configure is actually a
  2516. # symlink; some systems play weird games with the mod time of symlinks
  2517. # (eg FreeBSD returns the mod time of the symlink's containing
  2518. # directory).
  2519. if (
  2520. am_has_slept=no
  2521. for am_try in 1 2; do
  2522. echo "timestamp, slept: $am_has_slept" > conftest.file
  2523. set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
  2524. if test "$*" = "X"; then
  2525. # -L didn't work.
  2526. set X `ls -t "$srcdir/configure" conftest.file`
  2527. fi
  2528. if test "$*" != "X $srcdir/configure conftest.file" \
  2529. && test "$*" != "X conftest.file $srcdir/configure"; then
  2530. # If neither matched, then we have a broken ls. This can happen
  2531. # if, for instance, CONFIG_SHELL is bash and it inherits a
  2532. # broken ls alias from the environment. This has actually
  2533. # happened. Such a system could not be considered "sane".
  2534. as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
  2535. alias in your environment" "$LINENO" 5
  2536. fi
  2537. if test "$2" = conftest.file || test $am_try -eq 2; then
  2538. break
  2539. fi
  2540. # Just in case.
  2541. sleep 1
  2542. am_has_slept=yes
  2543. done
  2544. test "$2" = conftest.file
  2545. )
  2546. then
  2547. # Ok.
  2548. :
  2549. else
  2550. as_fn_error $? "newly created file is older than distributed files!
  2551. Check your system clock" "$LINENO" 5
  2552. fi
  2553. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  2554. $as_echo "yes" >&6; }
  2555. # If we didn't sleep, we still need to ensure time stamps of config.status and
  2556. # generated files are strictly newer.
  2557. am_sleep_pid=
  2558. if grep 'slept: no' conftest.file >/dev/null 2>&1; then
  2559. ( sleep 1 ) &
  2560. am_sleep_pid=$!
  2561. fi
  2562. rm -f conftest.file
  2563. test "$program_prefix" != NONE &&
  2564. program_transform_name="s&^&$program_prefix&;$program_transform_name"
  2565. # Use a double $ so make ignores it.
  2566. test "$program_suffix" != NONE &&
  2567. program_transform_name="s&\$&$program_suffix&;$program_transform_name"
  2568. # Double any \ or $.
  2569. # By default was `s,x,x', remove it if useless.
  2570. ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
  2571. program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
  2572. # Expand $ac_aux_dir to an absolute path.
  2573. am_aux_dir=`cd "$ac_aux_dir" && pwd`
  2574. if test x"${MISSING+set}" != xset; then
  2575. case $am_aux_dir in
  2576. *\ * | *\ *)
  2577. MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
  2578. *)
  2579. MISSING="\${SHELL} $am_aux_dir/missing" ;;
  2580. esac
  2581. fi
  2582. # Use eval to expand $SHELL
  2583. if eval "$MISSING --is-lightweight"; then
  2584. am_missing_run="$MISSING "
  2585. else
  2586. am_missing_run=
  2587. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
  2588. $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
  2589. fi
  2590. if test x"${install_sh}" != xset; then
  2591. case $am_aux_dir in
  2592. *\ * | *\ *)
  2593. install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
  2594. *)
  2595. install_sh="\${SHELL} $am_aux_dir/install-sh"
  2596. esac
  2597. fi
  2598. # Installed binaries are usually stripped using 'strip' when the user
  2599. # run "make install-strip". However 'strip' might not be the right
  2600. # tool to use in cross-compilation environments, therefore Automake
  2601. # will honor the 'STRIP' environment variable to overrule this program.
  2602. if test "$cross_compiling" != no; then
  2603. if test -n "$ac_tool_prefix"; then
  2604. # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  2605. set dummy ${ac_tool_prefix}strip; ac_word=$2
  2606. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2607. $as_echo_n "checking for $ac_word... " >&6; }
  2608. if ${ac_cv_prog_STRIP+:} false; then :
  2609. $as_echo_n "(cached) " >&6
  2610. else
  2611. if test -n "$STRIP"; then
  2612. ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  2613. else
  2614. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2615. for as_dir in $PATH
  2616. do
  2617. IFS=$as_save_IFS
  2618. test -z "$as_dir" && as_dir=.
  2619. for ac_exec_ext in '' $ac_executable_extensions; do
  2620. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2621. ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  2622. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2623. break 2
  2624. fi
  2625. done
  2626. done
  2627. IFS=$as_save_IFS
  2628. fi
  2629. fi
  2630. STRIP=$ac_cv_prog_STRIP
  2631. if test -n "$STRIP"; then
  2632. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
  2633. $as_echo "$STRIP" >&6; }
  2634. else
  2635. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2636. $as_echo "no" >&6; }
  2637. fi
  2638. fi
  2639. if test -z "$ac_cv_prog_STRIP"; then
  2640. ac_ct_STRIP=$STRIP
  2641. # Extract the first word of "strip", so it can be a program name with args.
  2642. set dummy strip; ac_word=$2
  2643. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2644. $as_echo_n "checking for $ac_word... " >&6; }
  2645. if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
  2646. $as_echo_n "(cached) " >&6
  2647. else
  2648. if test -n "$ac_ct_STRIP"; then
  2649. ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  2650. else
  2651. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2652. for as_dir in $PATH
  2653. do
  2654. IFS=$as_save_IFS
  2655. test -z "$as_dir" && as_dir=.
  2656. for ac_exec_ext in '' $ac_executable_extensions; do
  2657. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2658. ac_cv_prog_ac_ct_STRIP="strip"
  2659. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2660. break 2
  2661. fi
  2662. done
  2663. done
  2664. IFS=$as_save_IFS
  2665. fi
  2666. fi
  2667. ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  2668. if test -n "$ac_ct_STRIP"; then
  2669. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
  2670. $as_echo "$ac_ct_STRIP" >&6; }
  2671. else
  2672. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2673. $as_echo "no" >&6; }
  2674. fi
  2675. if test "x$ac_ct_STRIP" = x; then
  2676. STRIP=":"
  2677. else
  2678. case $cross_compiling:$ac_tool_warned in
  2679. yes:)
  2680. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  2681. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  2682. ac_tool_warned=yes ;;
  2683. esac
  2684. STRIP=$ac_ct_STRIP
  2685. fi
  2686. else
  2687. STRIP="$ac_cv_prog_STRIP"
  2688. fi
  2689. fi
  2690. INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
  2691. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
  2692. $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
  2693. if test -z "$MKDIR_P"; then
  2694. if ${ac_cv_path_mkdir+:} false; then :
  2695. $as_echo_n "(cached) " >&6
  2696. else
  2697. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2698. for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
  2699. do
  2700. IFS=$as_save_IFS
  2701. test -z "$as_dir" && as_dir=.
  2702. for ac_prog in mkdir gmkdir; do
  2703. for ac_exec_ext in '' $ac_executable_extensions; do
  2704. as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
  2705. case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
  2706. 'mkdir (GNU coreutils) '* | \
  2707. 'mkdir (coreutils) '* | \
  2708. 'mkdir (fileutils) '4.1*)
  2709. ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
  2710. break 3;;
  2711. esac
  2712. done
  2713. done
  2714. done
  2715. IFS=$as_save_IFS
  2716. fi
  2717. test -d ./--version && rmdir ./--version
  2718. if test "${ac_cv_path_mkdir+set}" = set; then
  2719. MKDIR_P="$ac_cv_path_mkdir -p"
  2720. else
  2721. # As a last resort, use the slow shell script. Don't cache a
  2722. # value for MKDIR_P within a source directory, because that will
  2723. # break other packages using the cache if that directory is
  2724. # removed, or if the value is a relative name.
  2725. MKDIR_P="$ac_install_sh -d"
  2726. fi
  2727. fi
  2728. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
  2729. $as_echo "$MKDIR_P" >&6; }
  2730. for ac_prog in gawk mawk nawk awk
  2731. do
  2732. # Extract the first word of "$ac_prog", so it can be a program name with args.
  2733. set dummy $ac_prog; ac_word=$2
  2734. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2735. $as_echo_n "checking for $ac_word... " >&6; }
  2736. if ${ac_cv_prog_AWK+:} false; then :
  2737. $as_echo_n "(cached) " >&6
  2738. else
  2739. if test -n "$AWK"; then
  2740. ac_cv_prog_AWK="$AWK" # Let the user override the test.
  2741. else
  2742. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2743. for as_dir in $PATH
  2744. do
  2745. IFS=$as_save_IFS
  2746. test -z "$as_dir" && as_dir=.
  2747. for ac_exec_ext in '' $ac_executable_extensions; do
  2748. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2749. ac_cv_prog_AWK="$ac_prog"
  2750. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2751. break 2
  2752. fi
  2753. done
  2754. done
  2755. IFS=$as_save_IFS
  2756. fi
  2757. fi
  2758. AWK=$ac_cv_prog_AWK
  2759. if test -n "$AWK"; then
  2760. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
  2761. $as_echo "$AWK" >&6; }
  2762. else
  2763. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2764. $as_echo "no" >&6; }
  2765. fi
  2766. test -n "$AWK" && break
  2767. done
  2768. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
  2769. $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
  2770. set x ${MAKE-make}
  2771. ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
  2772. if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
  2773. $as_echo_n "(cached) " >&6
  2774. else
  2775. cat >conftest.make <<\_ACEOF
  2776. SHELL = /bin/sh
  2777. all:
  2778. @echo '@@@%%%=$(MAKE)=@@@%%%'
  2779. _ACEOF
  2780. # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
  2781. case `${MAKE-make} -f conftest.make 2>/dev/null` in
  2782. *@@@%%%=?*=@@@%%%*)
  2783. eval ac_cv_prog_make_${ac_make}_set=yes;;
  2784. *)
  2785. eval ac_cv_prog_make_${ac_make}_set=no;;
  2786. esac
  2787. rm -f conftest.make
  2788. fi
  2789. if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
  2790. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  2791. $as_echo "yes" >&6; }
  2792. SET_MAKE=
  2793. else
  2794. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2795. $as_echo "no" >&6; }
  2796. SET_MAKE="MAKE=${MAKE-make}"
  2797. fi
  2798. rm -rf .tst 2>/dev/null
  2799. mkdir .tst 2>/dev/null
  2800. if test -d .tst; then
  2801. am__leading_dot=.
  2802. else
  2803. am__leading_dot=_
  2804. fi
  2805. rmdir .tst 2>/dev/null
  2806. # Check whether --enable-silent-rules was given.
  2807. if test "${enable_silent_rules+set}" = set; then :
  2808. enableval=$enable_silent_rules;
  2809. fi
  2810. case $enable_silent_rules in # (((
  2811. yes) AM_DEFAULT_VERBOSITY=0;;
  2812. no) AM_DEFAULT_VERBOSITY=1;;
  2813. *) AM_DEFAULT_VERBOSITY=1;;
  2814. esac
  2815. am_make=${MAKE-make}
  2816. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
  2817. $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
  2818. if ${am_cv_make_support_nested_variables+:} false; then :
  2819. $as_echo_n "(cached) " >&6
  2820. else
  2821. if $as_echo 'TRUE=$(BAR$(V))
  2822. BAR0=false
  2823. BAR1=true
  2824. V=1
  2825. am__doit:
  2826. @$(TRUE)
  2827. .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
  2828. am_cv_make_support_nested_variables=yes
  2829. else
  2830. am_cv_make_support_nested_variables=no
  2831. fi
  2832. fi
  2833. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
  2834. $as_echo "$am_cv_make_support_nested_variables" >&6; }
  2835. if test $am_cv_make_support_nested_variables = yes; then
  2836. AM_V='$(V)'
  2837. AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
  2838. else
  2839. AM_V=$AM_DEFAULT_VERBOSITY
  2840. AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
  2841. fi
  2842. AM_BACKSLASH='\'
  2843. if test "`cd $srcdir && pwd`" != "`pwd`"; then
  2844. # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
  2845. # is not polluted with repeated "-I."
  2846. am__isrc=' -I$(srcdir)'
  2847. # test to see if srcdir already configured
  2848. if test -f $srcdir/config.status; then
  2849. as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
  2850. fi
  2851. fi
  2852. # test whether we have cygpath
  2853. if test -z "$CYGPATH_W"; then
  2854. if (cygpath --version) >/dev/null 2>/dev/null; then
  2855. CYGPATH_W='cygpath -w'
  2856. else
  2857. CYGPATH_W=echo
  2858. fi
  2859. fi
  2860. # Define the identity of the package.
  2861. PACKAGE='libzipper'
  2862. VERSION='1.0.4'
  2863. cat >>confdefs.h <<_ACEOF
  2864. #define PACKAGE "$PACKAGE"
  2865. _ACEOF
  2866. cat >>confdefs.h <<_ACEOF
  2867. #define VERSION "$VERSION"
  2868. _ACEOF
  2869. # Some tools Automake needs.
  2870. ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
  2871. AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
  2872. AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
  2873. AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
  2874. MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
  2875. # For better backward compatibility. To be removed once Automake 1.9.x
  2876. # dies out for good. For more background, see:
  2877. # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
  2878. # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
  2879. mkdir_p='$(MKDIR_P)'
  2880. # We need awk for the "check" target. The system "awk" is bad on
  2881. # some platforms.
  2882. # Always define AMTAR for backward compatibility. Yes, it's still used
  2883. # in the wild :-( We should find a proper way to deprecate it ...
  2884. AMTAR='$${TAR-tar}'
  2885. # We'll loop over all known methods to create a tar archive until one works.
  2886. _am_tools='gnutar pax cpio none'
  2887. am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
  2888. # POSIX will say in a future version that running "rm -f" with no argument
  2889. # is OK; and we want to be able to make that assumption in our Makefile
  2890. # recipes. So use an aggressive probe to check that the usage we want is
  2891. # actually supported "in the wild" to an acceptable degree.
  2892. # See automake bug#10828.
  2893. # To make any issue more visible, cause the running configure to be aborted
  2894. # by default if the 'rm' program in use doesn't match our expectations; the
  2895. # user can still override this though.
  2896. if rm -f && rm -fr && rm -rf; then : OK; else
  2897. cat >&2 <<'END'
  2898. Oops!
  2899. Your 'rm' program seems unable to run without file operands specified
  2900. on the command line, even when the '-f' option is present. This is contrary
  2901. to the behaviour of most rm programs out there, and not conforming with
  2902. the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
  2903. Please tell bug-automake@gnu.org about your system, including the value
  2904. of your $PATH and any error possibly output before this message. This
  2905. can help us improve future automake versions.
  2906. END
  2907. if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
  2908. echo 'Configuration will proceed anyway, since you have set the' >&2
  2909. echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
  2910. echo >&2
  2911. else
  2912. cat >&2 <<'END'
  2913. Aborting the configuration process, to ensure you take notice of the issue.
  2914. You can download and install GNU coreutils to get an 'rm' implementation
  2915. that behaves properly: <http://www.gnu.org/software/coreutils/>.
  2916. If you want to complete the configuration process using your problematic
  2917. 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
  2918. to "yes", and re-run configure.
  2919. END
  2920. as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
  2921. fi
  2922. fi
  2923. ac_config_headers="$ac_config_headers autoconfig.h"
  2924. ac_config_files="$ac_config_files Makefile Doxyfile libzipper1.pc zipper.1"
  2925. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
  2926. $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
  2927. # Check whether --enable-maintainer-mode was given.
  2928. if test "${enable_maintainer_mode+set}" = set; then :
  2929. enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
  2930. else
  2931. USE_MAINTAINER_MODE=no
  2932. fi
  2933. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
  2934. $as_echo "$USE_MAINTAINER_MODE" >&6; }
  2935. if test $USE_MAINTAINER_MODE = yes; then
  2936. MAINTAINER_MODE_TRUE=
  2937. MAINTAINER_MODE_FALSE='#'
  2938. else
  2939. MAINTAINER_MODE_TRUE='#'
  2940. MAINTAINER_MODE_FALSE=
  2941. fi
  2942. MAINT=$MAINTAINER_MODE_TRUE
  2943. libzipper_version=1.0.4
  2944. ac_ext=cpp
  2945. ac_cpp='$CXXCPP $CPPFLAGS'
  2946. ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2947. ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2948. ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  2949. if test -z "$CXX"; then
  2950. if test -n "$CCC"; then
  2951. CXX=$CCC
  2952. else
  2953. if test -n "$ac_tool_prefix"; then
  2954. for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
  2955. do
  2956. # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  2957. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  2958. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2959. $as_echo_n "checking for $ac_word... " >&6; }
  2960. if ${ac_cv_prog_CXX+:} false; then :
  2961. $as_echo_n "(cached) " >&6
  2962. else
  2963. if test -n "$CXX"; then
  2964. ac_cv_prog_CXX="$CXX" # Let the user override the test.
  2965. else
  2966. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2967. for as_dir in $PATH
  2968. do
  2969. IFS=$as_save_IFS
  2970. test -z "$as_dir" && as_dir=.
  2971. for ac_exec_ext in '' $ac_executable_extensions; do
  2972. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2973. ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
  2974. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2975. break 2
  2976. fi
  2977. done
  2978. done
  2979. IFS=$as_save_IFS
  2980. fi
  2981. fi
  2982. CXX=$ac_cv_prog_CXX
  2983. if test -n "$CXX"; then
  2984. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
  2985. $as_echo "$CXX" >&6; }
  2986. else
  2987. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2988. $as_echo "no" >&6; }
  2989. fi
  2990. test -n "$CXX" && break
  2991. done
  2992. fi
  2993. if test -z "$CXX"; then
  2994. ac_ct_CXX=$CXX
  2995. for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
  2996. do
  2997. # Extract the first word of "$ac_prog", so it can be a program name with args.
  2998. set dummy $ac_prog; ac_word=$2
  2999. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3000. $as_echo_n "checking for $ac_word... " >&6; }
  3001. if ${ac_cv_prog_ac_ct_CXX+:} false; then :
  3002. $as_echo_n "(cached) " >&6
  3003. else
  3004. if test -n "$ac_ct_CXX"; then
  3005. ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
  3006. else
  3007. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3008. for as_dir in $PATH
  3009. do
  3010. IFS=$as_save_IFS
  3011. test -z "$as_dir" && as_dir=.
  3012. for ac_exec_ext in '' $ac_executable_extensions; do
  3013. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  3014. ac_cv_prog_ac_ct_CXX="$ac_prog"
  3015. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3016. break 2
  3017. fi
  3018. done
  3019. done
  3020. IFS=$as_save_IFS
  3021. fi
  3022. fi
  3023. ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
  3024. if test -n "$ac_ct_CXX"; then
  3025. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
  3026. $as_echo "$ac_ct_CXX" >&6; }
  3027. else
  3028. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3029. $as_echo "no" >&6; }
  3030. fi
  3031. test -n "$ac_ct_CXX" && break
  3032. done
  3033. if test "x$ac_ct_CXX" = x; then
  3034. CXX="g++"
  3035. else
  3036. case $cross_compiling:$ac_tool_warned in
  3037. yes:)
  3038. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  3039. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  3040. ac_tool_warned=yes ;;
  3041. esac
  3042. CXX=$ac_ct_CXX
  3043. fi
  3044. fi
  3045. fi
  3046. fi
  3047. # Provide some information about the compiler.
  3048. $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
  3049. set X $ac_compile
  3050. ac_compiler=$2
  3051. for ac_option in --version -v -V -qversion; do
  3052. { { ac_try="$ac_compiler $ac_option >&5"
  3053. case "(($ac_try" in
  3054. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3055. *) ac_try_echo=$ac_try;;
  3056. esac
  3057. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3058. $as_echo "$ac_try_echo"; } >&5
  3059. (eval "$ac_compiler $ac_option >&5") 2>conftest.err
  3060. ac_status=$?
  3061. if test -s conftest.err; then
  3062. sed '10a\
  3063. ... rest of stderr output deleted ...
  3064. 10q' conftest.err >conftest.er1
  3065. cat conftest.er1 >&5
  3066. fi
  3067. rm -f conftest.er1 conftest.err
  3068. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3069. test $ac_status = 0; }
  3070. done
  3071. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3072. /* end confdefs.h. */
  3073. int
  3074. main ()
  3075. {
  3076. ;
  3077. return 0;
  3078. }
  3079. _ACEOF
  3080. ac_clean_files_save=$ac_clean_files
  3081. ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
  3082. # Try to create an executable without -o first, disregard a.out.
  3083. # It will help us diagnose broken compilers, and finding out an intuition
  3084. # of exeext.
  3085. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
  3086. $as_echo_n "checking whether the C++ compiler works... " >&6; }
  3087. ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
  3088. # The possible output files:
  3089. ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
  3090. ac_rmfiles=
  3091. for ac_file in $ac_files
  3092. do
  3093. case $ac_file in
  3094. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  3095. * ) ac_rmfiles="$ac_rmfiles $ac_file";;
  3096. esac
  3097. done
  3098. rm -f $ac_rmfiles
  3099. if { { ac_try="$ac_link_default"
  3100. case "(($ac_try" in
  3101. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3102. *) ac_try_echo=$ac_try;;
  3103. esac
  3104. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3105. $as_echo "$ac_try_echo"; } >&5
  3106. (eval "$ac_link_default") 2>&5
  3107. ac_status=$?
  3108. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3109. test $ac_status = 0; }; then :
  3110. # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
  3111. # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
  3112. # in a Makefile. We should not override ac_cv_exeext if it was cached,
  3113. # so that the user can short-circuit this test for compilers unknown to
  3114. # Autoconf.
  3115. for ac_file in $ac_files ''
  3116. do
  3117. test -f "$ac_file" || continue
  3118. case $ac_file in
  3119. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
  3120. ;;
  3121. [ab].out )
  3122. # We found the default executable, but exeext='' is most
  3123. # certainly right.
  3124. break;;
  3125. *.* )
  3126. if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
  3127. then :; else
  3128. ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  3129. fi
  3130. # We set ac_cv_exeext here because the later test for it is not
  3131. # safe: cross compilers may not add the suffix if given an `-o'
  3132. # argument, so we may need to know it at that point already.
  3133. # Even if this section looks crufty: it has the advantage of
  3134. # actually working.
  3135. break;;
  3136. * )
  3137. break;;
  3138. esac
  3139. done
  3140. test "$ac_cv_exeext" = no && ac_cv_exeext=
  3141. else
  3142. ac_file=''
  3143. fi
  3144. if test -z "$ac_file"; then :
  3145. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3146. $as_echo "no" >&6; }
  3147. $as_echo "$as_me: failed program was:" >&5
  3148. sed 's/^/| /' conftest.$ac_ext >&5
  3149. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3150. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3151. as_fn_error 77 "C++ compiler cannot create executables
  3152. See \`config.log' for more details" "$LINENO" 5; }
  3153. else
  3154. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  3155. $as_echo "yes" >&6; }
  3156. fi
  3157. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
  3158. $as_echo_n "checking for C++ compiler default output file name... " >&6; }
  3159. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
  3160. $as_echo "$ac_file" >&6; }
  3161. ac_exeext=$ac_cv_exeext
  3162. rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
  3163. ac_clean_files=$ac_clean_files_save
  3164. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
  3165. $as_echo_n "checking for suffix of executables... " >&6; }
  3166. if { { ac_try="$ac_link"
  3167. case "(($ac_try" in
  3168. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3169. *) ac_try_echo=$ac_try;;
  3170. esac
  3171. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3172. $as_echo "$ac_try_echo"; } >&5
  3173. (eval "$ac_link") 2>&5
  3174. ac_status=$?
  3175. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3176. test $ac_status = 0; }; then :
  3177. # If both `conftest.exe' and `conftest' are `present' (well, observable)
  3178. # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
  3179. # work properly (i.e., refer to `conftest.exe'), while it won't with
  3180. # `rm'.
  3181. for ac_file in conftest.exe conftest conftest.*; do
  3182. test -f "$ac_file" || continue
  3183. case $ac_file in
  3184. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  3185. *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  3186. break;;
  3187. * ) break;;
  3188. esac
  3189. done
  3190. else
  3191. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3192. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3193. as_fn_error $? "cannot compute suffix of executables: cannot compile and link
  3194. See \`config.log' for more details" "$LINENO" 5; }
  3195. fi
  3196. rm -f conftest conftest$ac_cv_exeext
  3197. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
  3198. $as_echo "$ac_cv_exeext" >&6; }
  3199. rm -f conftest.$ac_ext
  3200. EXEEXT=$ac_cv_exeext
  3201. ac_exeext=$EXEEXT
  3202. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3203. /* end confdefs.h. */
  3204. #include <stdio.h>
  3205. int
  3206. main ()
  3207. {
  3208. FILE *f = fopen ("conftest.out", "w");
  3209. return ferror (f) || fclose (f) != 0;
  3210. ;
  3211. return 0;
  3212. }
  3213. _ACEOF
  3214. ac_clean_files="$ac_clean_files conftest.out"
  3215. # Check that the compiler produces executables we can run. If not, either
  3216. # the compiler is broken, or we cross compile.
  3217. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
  3218. $as_echo_n "checking whether we are cross compiling... " >&6; }
  3219. if test "$cross_compiling" != yes; then
  3220. { { ac_try="$ac_link"
  3221. case "(($ac_try" in
  3222. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3223. *) ac_try_echo=$ac_try;;
  3224. esac
  3225. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3226. $as_echo "$ac_try_echo"; } >&5
  3227. (eval "$ac_link") 2>&5
  3228. ac_status=$?
  3229. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3230. test $ac_status = 0; }
  3231. if { ac_try='./conftest$ac_cv_exeext'
  3232. { { case "(($ac_try" in
  3233. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3234. *) ac_try_echo=$ac_try;;
  3235. esac
  3236. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3237. $as_echo "$ac_try_echo"; } >&5
  3238. (eval "$ac_try") 2>&5
  3239. ac_status=$?
  3240. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3241. test $ac_status = 0; }; }; then
  3242. cross_compiling=no
  3243. else
  3244. if test "$cross_compiling" = maybe; then
  3245. cross_compiling=yes
  3246. else
  3247. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3248. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3249. as_fn_error $? "cannot run C++ compiled programs.
  3250. If you meant to cross compile, use \`--host'.
  3251. See \`config.log' for more details" "$LINENO" 5; }
  3252. fi
  3253. fi
  3254. fi
  3255. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
  3256. $as_echo "$cross_compiling" >&6; }
  3257. rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
  3258. ac_clean_files=$ac_clean_files_save
  3259. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
  3260. $as_echo_n "checking for suffix of object files... " >&6; }
  3261. if ${ac_cv_objext+:} false; then :
  3262. $as_echo_n "(cached) " >&6
  3263. else
  3264. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3265. /* end confdefs.h. */
  3266. int
  3267. main ()
  3268. {
  3269. ;
  3270. return 0;
  3271. }
  3272. _ACEOF
  3273. rm -f conftest.o conftest.obj
  3274. if { { ac_try="$ac_compile"
  3275. case "(($ac_try" in
  3276. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3277. *) ac_try_echo=$ac_try;;
  3278. esac
  3279. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3280. $as_echo "$ac_try_echo"; } >&5
  3281. (eval "$ac_compile") 2>&5
  3282. ac_status=$?
  3283. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3284. test $ac_status = 0; }; then :
  3285. for ac_file in conftest.o conftest.obj conftest.*; do
  3286. test -f "$ac_file" || continue;
  3287. case $ac_file in
  3288. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
  3289. *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
  3290. break;;
  3291. esac
  3292. done
  3293. else
  3294. $as_echo "$as_me: failed program was:" >&5
  3295. sed 's/^/| /' conftest.$ac_ext >&5
  3296. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3297. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3298. as_fn_error $? "cannot compute suffix of object files: cannot compile
  3299. See \`config.log' for more details" "$LINENO" 5; }
  3300. fi
  3301. rm -f conftest.$ac_cv_objext conftest.$ac_ext
  3302. fi
  3303. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
  3304. $as_echo "$ac_cv_objext" >&6; }
  3305. OBJEXT=$ac_cv_objext
  3306. ac_objext=$OBJEXT
  3307. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
  3308. $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
  3309. if ${ac_cv_cxx_compiler_gnu+:} false; then :
  3310. $as_echo_n "(cached) " >&6
  3311. else
  3312. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3313. /* end confdefs.h. */
  3314. int
  3315. main ()
  3316. {
  3317. #ifndef __GNUC__
  3318. choke me
  3319. #endif
  3320. ;
  3321. return 0;
  3322. }
  3323. _ACEOF
  3324. if ac_fn_cxx_try_compile "$LINENO"; then :
  3325. ac_compiler_gnu=yes
  3326. else
  3327. ac_compiler_gnu=no
  3328. fi
  3329. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3330. ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
  3331. fi
  3332. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
  3333. $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
  3334. if test $ac_compiler_gnu = yes; then
  3335. GXX=yes
  3336. else
  3337. GXX=
  3338. fi
  3339. ac_test_CXXFLAGS=${CXXFLAGS+set}
  3340. ac_save_CXXFLAGS=$CXXFLAGS
  3341. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
  3342. $as_echo_n "checking whether $CXX accepts -g... " >&6; }
  3343. if ${ac_cv_prog_cxx_g+:} false; then :
  3344. $as_echo_n "(cached) " >&6
  3345. else
  3346. ac_save_cxx_werror_flag=$ac_cxx_werror_flag
  3347. ac_cxx_werror_flag=yes
  3348. ac_cv_prog_cxx_g=no
  3349. CXXFLAGS="-g"
  3350. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3351. /* end confdefs.h. */
  3352. int
  3353. main ()
  3354. {
  3355. ;
  3356. return 0;
  3357. }
  3358. _ACEOF
  3359. if ac_fn_cxx_try_compile "$LINENO"; then :
  3360. ac_cv_prog_cxx_g=yes
  3361. else
  3362. CXXFLAGS=""
  3363. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3364. /* end confdefs.h. */
  3365. int
  3366. main ()
  3367. {
  3368. ;
  3369. return 0;
  3370. }
  3371. _ACEOF
  3372. if ac_fn_cxx_try_compile "$LINENO"; then :
  3373. else
  3374. ac_cxx_werror_flag=$ac_save_cxx_werror_flag
  3375. CXXFLAGS="-g"
  3376. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3377. /* end confdefs.h. */
  3378. int
  3379. main ()
  3380. {
  3381. ;
  3382. return 0;
  3383. }
  3384. _ACEOF
  3385. if ac_fn_cxx_try_compile "$LINENO"; then :
  3386. ac_cv_prog_cxx_g=yes
  3387. fi
  3388. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3389. fi
  3390. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3391. fi
  3392. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3393. ac_cxx_werror_flag=$ac_save_cxx_werror_flag
  3394. fi
  3395. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
  3396. $as_echo "$ac_cv_prog_cxx_g" >&6; }
  3397. if test "$ac_test_CXXFLAGS" = set; then
  3398. CXXFLAGS=$ac_save_CXXFLAGS
  3399. elif test $ac_cv_prog_cxx_g = yes; then
  3400. if test "$GXX" = yes; then
  3401. CXXFLAGS="-g -O2"
  3402. else
  3403. CXXFLAGS="-g"
  3404. fi
  3405. else
  3406. if test "$GXX" = yes; then
  3407. CXXFLAGS="-O2"
  3408. else
  3409. CXXFLAGS=
  3410. fi
  3411. fi
  3412. ac_ext=c
  3413. ac_cpp='$CPP $CPPFLAGS'
  3414. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3415. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3416. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3417. DEPDIR="${am__leading_dot}deps"
  3418. ac_config_commands="$ac_config_commands depfiles"
  3419. am_make=${MAKE-make}
  3420. cat > confinc << 'END'
  3421. am__doit:
  3422. @echo this is the am__doit target
  3423. .PHONY: am__doit
  3424. END
  3425. # If we don't find an include directive, just comment out the code.
  3426. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
  3427. $as_echo_n "checking for style of include used by $am_make... " >&6; }
  3428. am__include="#"
  3429. am__quote=
  3430. _am_result=none
  3431. # First try GNU make style include.
  3432. echo "include confinc" > confmf
  3433. # Ignore all kinds of additional output from 'make'.
  3434. case `$am_make -s -f confmf 2> /dev/null` in #(
  3435. *the\ am__doit\ target*)
  3436. am__include=include
  3437. am__quote=
  3438. _am_result=GNU
  3439. ;;
  3440. esac
  3441. # Now try BSD make style include.
  3442. if test "$am__include" = "#"; then
  3443. echo '.include "confinc"' > confmf
  3444. case `$am_make -s -f confmf 2> /dev/null` in #(
  3445. *the\ am__doit\ target*)
  3446. am__include=.include
  3447. am__quote="\""
  3448. _am_result=BSD
  3449. ;;
  3450. esac
  3451. fi
  3452. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
  3453. $as_echo "$_am_result" >&6; }
  3454. rm -f confinc confmf
  3455. # Check whether --enable-dependency-tracking was given.
  3456. if test "${enable_dependency_tracking+set}" = set; then :
  3457. enableval=$enable_dependency_tracking;
  3458. fi
  3459. if test "x$enable_dependency_tracking" != xno; then
  3460. am_depcomp="$ac_aux_dir/depcomp"
  3461. AMDEPBACKSLASH='\'
  3462. am__nodep='_no'
  3463. fi
  3464. if test "x$enable_dependency_tracking" != xno; then
  3465. AMDEP_TRUE=
  3466. AMDEP_FALSE='#'
  3467. else
  3468. AMDEP_TRUE='#'
  3469. AMDEP_FALSE=
  3470. fi
  3471. depcc="$CXX" am_compiler_list=
  3472. { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
  3473. $as_echo_n "checking dependency style of $depcc... " >&6; }
  3474. if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
  3475. $as_echo_n "(cached) " >&6
  3476. else
  3477. if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  3478. # We make a subdir and do the tests there. Otherwise we can end up
  3479. # making bogus files that we don't know about and never remove. For
  3480. # instance it was reported that on HP-UX the gcc test will end up
  3481. # making a dummy file named 'D' -- because '-MD' means "put the output
  3482. # in D".
  3483. rm -rf conftest.dir
  3484. mkdir conftest.dir
  3485. # Copy depcomp to subdir because otherwise we won't find it if we're
  3486. # using a relative directory.
  3487. cp "$am_depcomp" conftest.dir
  3488. cd conftest.dir
  3489. # We will build objects and dependencies in a subdirectory because
  3490. # it helps to detect inapplicable dependency modes. For instance
  3491. # both Tru64's cc and ICC support -MD to output dependencies as a
  3492. # side effect of compilation, but ICC will put the dependencies in
  3493. # the current directory while Tru64 will put them in the object
  3494. # directory.
  3495. mkdir sub
  3496. am_cv_CXX_dependencies_compiler_type=none
  3497. if test "$am_compiler_list" = ""; then
  3498. am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  3499. fi
  3500. am__universal=false
  3501. case " $depcc " in #(
  3502. *\ -arch\ *\ -arch\ *) am__universal=true ;;
  3503. esac
  3504. for depmode in $am_compiler_list; do
  3505. # Setup a source with many dependencies, because some compilers
  3506. # like to wrap large dependency lists on column 80 (with \), and
  3507. # we should not choose a depcomp mode which is confused by this.
  3508. #
  3509. # We need to recreate these files for each test, as the compiler may
  3510. # overwrite some of them when testing with obscure command lines.
  3511. # This happens at least with the AIX C compiler.
  3512. : > sub/conftest.c
  3513. for i in 1 2 3 4 5 6; do
  3514. echo '#include "conftst'$i'.h"' >> sub/conftest.c
  3515. # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
  3516. # Solaris 10 /bin/sh.
  3517. echo '/* dummy */' > sub/conftst$i.h
  3518. done
  3519. echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  3520. # We check with '-c' and '-o' for the sake of the "dashmstdout"
  3521. # mode. It turns out that the SunPro C++ compiler does not properly
  3522. # handle '-M -o', and we need to detect this. Also, some Intel
  3523. # versions had trouble with output in subdirs.
  3524. am__obj=sub/conftest.${OBJEXT-o}
  3525. am__minus_obj="-o $am__obj"
  3526. case $depmode in
  3527. gcc)
  3528. # This depmode causes a compiler race in universal mode.
  3529. test "$am__universal" = false || continue
  3530. ;;
  3531. nosideeffect)
  3532. # After this tag, mechanisms are not by side-effect, so they'll
  3533. # only be used when explicitly requested.
  3534. if test "x$enable_dependency_tracking" = xyes; then
  3535. continue
  3536. else
  3537. break
  3538. fi
  3539. ;;
  3540. msvc7 | msvc7msys | msvisualcpp | msvcmsys)
  3541. # This compiler won't grok '-c -o', but also, the minuso test has
  3542. # not run yet. These depmodes are late enough in the game, and
  3543. # so weak that their functioning should not be impacted.
  3544. am__obj=conftest.${OBJEXT-o}
  3545. am__minus_obj=
  3546. ;;
  3547. none) break ;;
  3548. esac
  3549. if depmode=$depmode \
  3550. source=sub/conftest.c object=$am__obj \
  3551. depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  3552. $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
  3553. >/dev/null 2>conftest.err &&
  3554. grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
  3555. grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  3556. grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
  3557. ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  3558. # icc doesn't choke on unknown options, it will just issue warnings
  3559. # or remarks (even with -Werror). So we grep stderr for any message
  3560. # that says an option was ignored or not supported.
  3561. # When given -MP, icc 7.0 and 7.1 complain thusly:
  3562. # icc: Command line warning: ignoring option '-M'; no argument required
  3563. # The diagnosis changed in icc 8.0:
  3564. # icc: Command line remark: option '-MP' not supported
  3565. if (grep 'ignoring option' conftest.err ||
  3566. grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  3567. am_cv_CXX_dependencies_compiler_type=$depmode
  3568. break
  3569. fi
  3570. fi
  3571. done
  3572. cd ..
  3573. rm -rf conftest.dir
  3574. else
  3575. am_cv_CXX_dependencies_compiler_type=none
  3576. fi
  3577. fi
  3578. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
  3579. $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
  3580. CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
  3581. if
  3582. test "x$enable_dependency_tracking" != xno \
  3583. && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
  3584. am__fastdepCXX_TRUE=
  3585. am__fastdepCXX_FALSE='#'
  3586. else
  3587. am__fastdepCXX_TRUE='#'
  3588. am__fastdepCXX_FALSE=
  3589. fi
  3590. ac_ext=cpp
  3591. ac_cpp='$CXXCPP $CPPFLAGS'
  3592. ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3593. ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3594. ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  3595. case `pwd` in
  3596. *\ * | *\ *)
  3597. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
  3598. $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
  3599. esac
  3600. macro_version='2.4.2'
  3601. macro_revision='1.3337'
  3602. ltmain="$ac_aux_dir/ltmain.sh"
  3603. # Backslashify metacharacters that are still active within
  3604. # double-quoted strings.
  3605. sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
  3606. # Same as above, but do not quote variable references.
  3607. double_quote_subst='s/\(["`\\]\)/\\\1/g'
  3608. # Sed substitution to delay expansion of an escaped shell variable in a
  3609. # double_quote_subst'ed string.
  3610. delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
  3611. # Sed substitution to delay expansion of an escaped single quote.
  3612. delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
  3613. # Sed substitution to avoid accidental globbing in evaled expressions
  3614. no_glob_subst='s/\*/\\\*/g'
  3615. ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  3616. ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
  3617. ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
  3618. { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
  3619. $as_echo_n "checking how to print strings... " >&6; }
  3620. # Test print first, because it will be a builtin if present.
  3621. if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
  3622. test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
  3623. ECHO='print -r --'
  3624. elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
  3625. ECHO='printf %s\n'
  3626. else
  3627. # Use this function as a fallback that always works.
  3628. func_fallback_echo ()
  3629. {
  3630. eval 'cat <<_LTECHO_EOF
  3631. $1
  3632. _LTECHO_EOF'
  3633. }
  3634. ECHO='func_fallback_echo'
  3635. fi
  3636. # func_echo_all arg...
  3637. # Invoke $ECHO with all args, space-separated.
  3638. func_echo_all ()
  3639. {
  3640. $ECHO ""
  3641. }
  3642. case "$ECHO" in
  3643. printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
  3644. $as_echo "printf" >&6; } ;;
  3645. print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
  3646. $as_echo "print -r" >&6; } ;;
  3647. *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
  3648. $as_echo "cat" >&6; } ;;
  3649. esac
  3650. ac_ext=c
  3651. ac_cpp='$CPP $CPPFLAGS'
  3652. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3653. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3654. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3655. if test -n "$ac_tool_prefix"; then
  3656. # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  3657. set dummy ${ac_tool_prefix}gcc; ac_word=$2
  3658. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3659. $as_echo_n "checking for $ac_word... " >&6; }
  3660. if ${ac_cv_prog_CC+:} false; then :
  3661. $as_echo_n "(cached) " >&6
  3662. else
  3663. if test -n "$CC"; then
  3664. ac_cv_prog_CC="$CC" # Let the user override the test.
  3665. else
  3666. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3667. for as_dir in $PATH
  3668. do
  3669. IFS=$as_save_IFS
  3670. test -z "$as_dir" && as_dir=.
  3671. for ac_exec_ext in '' $ac_executable_extensions; do
  3672. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  3673. ac_cv_prog_CC="${ac_tool_prefix}gcc"
  3674. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3675. break 2
  3676. fi
  3677. done
  3678. done
  3679. IFS=$as_save_IFS
  3680. fi
  3681. fi
  3682. CC=$ac_cv_prog_CC
  3683. if test -n "$CC"; then
  3684. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  3685. $as_echo "$CC" >&6; }
  3686. else
  3687. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3688. $as_echo "no" >&6; }
  3689. fi
  3690. fi
  3691. if test -z "$ac_cv_prog_CC"; then
  3692. ac_ct_CC=$CC
  3693. # Extract the first word of "gcc", so it can be a program name with args.
  3694. set dummy gcc; ac_word=$2
  3695. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3696. $as_echo_n "checking for $ac_word... " >&6; }
  3697. if ${ac_cv_prog_ac_ct_CC+:} false; then :
  3698. $as_echo_n "(cached) " >&6
  3699. else
  3700. if test -n "$ac_ct_CC"; then
  3701. ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  3702. else
  3703. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3704. for as_dir in $PATH
  3705. do
  3706. IFS=$as_save_IFS
  3707. test -z "$as_dir" && as_dir=.
  3708. for ac_exec_ext in '' $ac_executable_extensions; do
  3709. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  3710. ac_cv_prog_ac_ct_CC="gcc"
  3711. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3712. break 2
  3713. fi
  3714. done
  3715. done
  3716. IFS=$as_save_IFS
  3717. fi
  3718. fi
  3719. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  3720. if test -n "$ac_ct_CC"; then
  3721. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  3722. $as_echo "$ac_ct_CC" >&6; }
  3723. else
  3724. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3725. $as_echo "no" >&6; }
  3726. fi
  3727. if test "x$ac_ct_CC" = x; then
  3728. CC=""
  3729. else
  3730. case $cross_compiling:$ac_tool_warned in
  3731. yes:)
  3732. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  3733. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  3734. ac_tool_warned=yes ;;
  3735. esac
  3736. CC=$ac_ct_CC
  3737. fi
  3738. else
  3739. CC="$ac_cv_prog_CC"
  3740. fi
  3741. if test -z "$CC"; then
  3742. if test -n "$ac_tool_prefix"; then
  3743. # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  3744. set dummy ${ac_tool_prefix}cc; ac_word=$2
  3745. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3746. $as_echo_n "checking for $ac_word... " >&6; }
  3747. if ${ac_cv_prog_CC+:} false; then :
  3748. $as_echo_n "(cached) " >&6
  3749. else
  3750. if test -n "$CC"; then
  3751. ac_cv_prog_CC="$CC" # Let the user override the test.
  3752. else
  3753. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3754. for as_dir in $PATH
  3755. do
  3756. IFS=$as_save_IFS
  3757. test -z "$as_dir" && as_dir=.
  3758. for ac_exec_ext in '' $ac_executable_extensions; do
  3759. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  3760. ac_cv_prog_CC="${ac_tool_prefix}cc"
  3761. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3762. break 2
  3763. fi
  3764. done
  3765. done
  3766. IFS=$as_save_IFS
  3767. fi
  3768. fi
  3769. CC=$ac_cv_prog_CC
  3770. if test -n "$CC"; then
  3771. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  3772. $as_echo "$CC" >&6; }
  3773. else
  3774. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3775. $as_echo "no" >&6; }
  3776. fi
  3777. fi
  3778. fi
  3779. if test -z "$CC"; then
  3780. # Extract the first word of "cc", so it can be a program name with args.
  3781. set dummy cc; ac_word=$2
  3782. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3783. $as_echo_n "checking for $ac_word... " >&6; }
  3784. if ${ac_cv_prog_CC+:} false; then :
  3785. $as_echo_n "(cached) " >&6
  3786. else
  3787. if test -n "$CC"; then
  3788. ac_cv_prog_CC="$CC" # Let the user override the test.
  3789. else
  3790. ac_prog_rejected=no
  3791. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3792. for as_dir in $PATH
  3793. do
  3794. IFS=$as_save_IFS
  3795. test -z "$as_dir" && as_dir=.
  3796. for ac_exec_ext in '' $ac_executable_extensions; do
  3797. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  3798. if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  3799. ac_prog_rejected=yes
  3800. continue
  3801. fi
  3802. ac_cv_prog_CC="cc"
  3803. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3804. break 2
  3805. fi
  3806. done
  3807. done
  3808. IFS=$as_save_IFS
  3809. if test $ac_prog_rejected = yes; then
  3810. # We found a bogon in the path, so make sure we never use it.
  3811. set dummy $ac_cv_prog_CC
  3812. shift
  3813. if test $# != 0; then
  3814. # We chose a different compiler from the bogus one.
  3815. # However, it has the same basename, so the bogon will be chosen
  3816. # first if we set CC to just the basename; use the full file name.
  3817. shift
  3818. ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  3819. fi
  3820. fi
  3821. fi
  3822. fi
  3823. CC=$ac_cv_prog_CC
  3824. if test -n "$CC"; then
  3825. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  3826. $as_echo "$CC" >&6; }
  3827. else
  3828. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3829. $as_echo "no" >&6; }
  3830. fi
  3831. fi
  3832. if test -z "$CC"; then
  3833. if test -n "$ac_tool_prefix"; then
  3834. for ac_prog in cl.exe
  3835. do
  3836. # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  3837. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  3838. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3839. $as_echo_n "checking for $ac_word... " >&6; }
  3840. if ${ac_cv_prog_CC+:} false; then :
  3841. $as_echo_n "(cached) " >&6
  3842. else
  3843. if test -n "$CC"; then
  3844. ac_cv_prog_CC="$CC" # Let the user override the test.
  3845. else
  3846. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3847. for as_dir in $PATH
  3848. do
  3849. IFS=$as_save_IFS
  3850. test -z "$as_dir" && as_dir=.
  3851. for ac_exec_ext in '' $ac_executable_extensions; do
  3852. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  3853. ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  3854. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3855. break 2
  3856. fi
  3857. done
  3858. done
  3859. IFS=$as_save_IFS
  3860. fi
  3861. fi
  3862. CC=$ac_cv_prog_CC
  3863. if test -n "$CC"; then
  3864. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  3865. $as_echo "$CC" >&6; }
  3866. else
  3867. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3868. $as_echo "no" >&6; }
  3869. fi
  3870. test -n "$CC" && break
  3871. done
  3872. fi
  3873. if test -z "$CC"; then
  3874. ac_ct_CC=$CC
  3875. for ac_prog in cl.exe
  3876. do
  3877. # Extract the first word of "$ac_prog", so it can be a program name with args.
  3878. set dummy $ac_prog; ac_word=$2
  3879. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3880. $as_echo_n "checking for $ac_word... " >&6; }
  3881. if ${ac_cv_prog_ac_ct_CC+:} false; then :
  3882. $as_echo_n "(cached) " >&6
  3883. else
  3884. if test -n "$ac_ct_CC"; then
  3885. ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  3886. else
  3887. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3888. for as_dir in $PATH
  3889. do
  3890. IFS=$as_save_IFS
  3891. test -z "$as_dir" && as_dir=.
  3892. for ac_exec_ext in '' $ac_executable_extensions; do
  3893. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  3894. ac_cv_prog_ac_ct_CC="$ac_prog"
  3895. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3896. break 2
  3897. fi
  3898. done
  3899. done
  3900. IFS=$as_save_IFS
  3901. fi
  3902. fi
  3903. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  3904. if test -n "$ac_ct_CC"; then
  3905. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  3906. $as_echo "$ac_ct_CC" >&6; }
  3907. else
  3908. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3909. $as_echo "no" >&6; }
  3910. fi
  3911. test -n "$ac_ct_CC" && break
  3912. done
  3913. if test "x$ac_ct_CC" = x; then
  3914. CC=""
  3915. else
  3916. case $cross_compiling:$ac_tool_warned in
  3917. yes:)
  3918. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  3919. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  3920. ac_tool_warned=yes ;;
  3921. esac
  3922. CC=$ac_ct_CC
  3923. fi
  3924. fi
  3925. fi
  3926. test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3927. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3928. as_fn_error $? "no acceptable C compiler found in \$PATH
  3929. See \`config.log' for more details" "$LINENO" 5; }
  3930. # Provide some information about the compiler.
  3931. $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
  3932. set X $ac_compile
  3933. ac_compiler=$2
  3934. for ac_option in --version -v -V -qversion; do
  3935. { { ac_try="$ac_compiler $ac_option >&5"
  3936. case "(($ac_try" in
  3937. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3938. *) ac_try_echo=$ac_try;;
  3939. esac
  3940. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3941. $as_echo "$ac_try_echo"; } >&5
  3942. (eval "$ac_compiler $ac_option >&5") 2>conftest.err
  3943. ac_status=$?
  3944. if test -s conftest.err; then
  3945. sed '10a\
  3946. ... rest of stderr output deleted ...
  3947. 10q' conftest.err >conftest.er1
  3948. cat conftest.er1 >&5
  3949. fi
  3950. rm -f conftest.er1 conftest.err
  3951. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3952. test $ac_status = 0; }
  3953. done
  3954. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
  3955. $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
  3956. if ${ac_cv_c_compiler_gnu+:} false; then :
  3957. $as_echo_n "(cached) " >&6
  3958. else
  3959. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3960. /* end confdefs.h. */
  3961. int
  3962. main ()
  3963. {
  3964. #ifndef __GNUC__
  3965. choke me
  3966. #endif
  3967. ;
  3968. return 0;
  3969. }
  3970. _ACEOF
  3971. if ac_fn_c_try_compile "$LINENO"; then :
  3972. ac_compiler_gnu=yes
  3973. else
  3974. ac_compiler_gnu=no
  3975. fi
  3976. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3977. ac_cv_c_compiler_gnu=$ac_compiler_gnu
  3978. fi
  3979. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
  3980. $as_echo "$ac_cv_c_compiler_gnu" >&6; }
  3981. if test $ac_compiler_gnu = yes; then
  3982. GCC=yes
  3983. else
  3984. GCC=
  3985. fi
  3986. ac_test_CFLAGS=${CFLAGS+set}
  3987. ac_save_CFLAGS=$CFLAGS
  3988. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
  3989. $as_echo_n "checking whether $CC accepts -g... " >&6; }
  3990. if ${ac_cv_prog_cc_g+:} false; then :
  3991. $as_echo_n "(cached) " >&6
  3992. else
  3993. ac_save_c_werror_flag=$ac_c_werror_flag
  3994. ac_c_werror_flag=yes
  3995. ac_cv_prog_cc_g=no
  3996. CFLAGS="-g"
  3997. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3998. /* end confdefs.h. */
  3999. int
  4000. main ()
  4001. {
  4002. ;
  4003. return 0;
  4004. }
  4005. _ACEOF
  4006. if ac_fn_c_try_compile "$LINENO"; then :
  4007. ac_cv_prog_cc_g=yes
  4008. else
  4009. CFLAGS=""
  4010. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4011. /* end confdefs.h. */
  4012. int
  4013. main ()
  4014. {
  4015. ;
  4016. return 0;
  4017. }
  4018. _ACEOF
  4019. if ac_fn_c_try_compile "$LINENO"; then :
  4020. else
  4021. ac_c_werror_flag=$ac_save_c_werror_flag
  4022. CFLAGS="-g"
  4023. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4024. /* end confdefs.h. */
  4025. int
  4026. main ()
  4027. {
  4028. ;
  4029. return 0;
  4030. }
  4031. _ACEOF
  4032. if ac_fn_c_try_compile "$LINENO"; then :
  4033. ac_cv_prog_cc_g=yes
  4034. fi
  4035. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4036. fi
  4037. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4038. fi
  4039. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4040. ac_c_werror_flag=$ac_save_c_werror_flag
  4041. fi
  4042. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
  4043. $as_echo "$ac_cv_prog_cc_g" >&6; }
  4044. if test "$ac_test_CFLAGS" = set; then
  4045. CFLAGS=$ac_save_CFLAGS
  4046. elif test $ac_cv_prog_cc_g = yes; then
  4047. if test "$GCC" = yes; then
  4048. CFLAGS="-g -O2"
  4049. else
  4050. CFLAGS="-g"
  4051. fi
  4052. else
  4053. if test "$GCC" = yes; then
  4054. CFLAGS="-O2"
  4055. else
  4056. CFLAGS=
  4057. fi
  4058. fi
  4059. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
  4060. $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
  4061. if ${ac_cv_prog_cc_c89+:} false; then :
  4062. $as_echo_n "(cached) " >&6
  4063. else
  4064. ac_cv_prog_cc_c89=no
  4065. ac_save_CC=$CC
  4066. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4067. /* end confdefs.h. */
  4068. #include <stdarg.h>
  4069. #include <stdio.h>
  4070. struct stat;
  4071. /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
  4072. struct buf { int x; };
  4073. FILE * (*rcsopen) (struct buf *, struct stat *, int);
  4074. static char *e (p, i)
  4075. char **p;
  4076. int i;
  4077. {
  4078. return p[i];
  4079. }
  4080. static char *f (char * (*g) (char **, int), char **p, ...)
  4081. {
  4082. char *s;
  4083. va_list v;
  4084. va_start (v,p);
  4085. s = g (p, va_arg (v,int));
  4086. va_end (v);
  4087. return s;
  4088. }
  4089. /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
  4090. function prototypes and stuff, but not '\xHH' hex character constants.
  4091. These don't provoke an error unfortunately, instead are silently treated
  4092. as 'x'. The following induces an error, until -std is added to get
  4093. proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
  4094. array size at least. It's necessary to write '\x00'==0 to get something
  4095. that's true only with -std. */
  4096. int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  4097. /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  4098. inside strings and character constants. */
  4099. #define FOO(x) 'x'
  4100. int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  4101. int test (int i, double x);
  4102. struct s1 {int (*f) (int a);};
  4103. struct s2 {int (*f) (double a);};
  4104. int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  4105. int argc;
  4106. char **argv;
  4107. int
  4108. main ()
  4109. {
  4110. return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
  4111. ;
  4112. return 0;
  4113. }
  4114. _ACEOF
  4115. for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  4116. -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  4117. do
  4118. CC="$ac_save_CC $ac_arg"
  4119. if ac_fn_c_try_compile "$LINENO"; then :
  4120. ac_cv_prog_cc_c89=$ac_arg
  4121. fi
  4122. rm -f core conftest.err conftest.$ac_objext
  4123. test "x$ac_cv_prog_cc_c89" != "xno" && break
  4124. done
  4125. rm -f conftest.$ac_ext
  4126. CC=$ac_save_CC
  4127. fi
  4128. # AC_CACHE_VAL
  4129. case "x$ac_cv_prog_cc_c89" in
  4130. x)
  4131. { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
  4132. $as_echo "none needed" >&6; } ;;
  4133. xno)
  4134. { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
  4135. $as_echo "unsupported" >&6; } ;;
  4136. *)
  4137. CC="$CC $ac_cv_prog_cc_c89"
  4138. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
  4139. $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
  4140. esac
  4141. if test "x$ac_cv_prog_cc_c89" != xno; then :
  4142. fi
  4143. ac_ext=cpp
  4144. ac_cpp='$CXXCPP $CPPFLAGS'
  4145. ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4146. ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4147. ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  4148. ac_ext=c
  4149. ac_cpp='$CPP $CPPFLAGS'
  4150. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4151. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4152. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  4153. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
  4154. $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
  4155. if ${am_cv_prog_cc_c_o+:} false; then :
  4156. $as_echo_n "(cached) " >&6
  4157. else
  4158. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4159. /* end confdefs.h. */
  4160. int
  4161. main ()
  4162. {
  4163. ;
  4164. return 0;
  4165. }
  4166. _ACEOF
  4167. # Make sure it works both with $CC and with simple cc.
  4168. # Following AC_PROG_CC_C_O, we do the test twice because some
  4169. # compilers refuse to overwrite an existing .o file with -o,
  4170. # though they will create one.
  4171. am_cv_prog_cc_c_o=yes
  4172. for am_i in 1 2; do
  4173. if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
  4174. ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
  4175. ac_status=$?
  4176. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4177. (exit $ac_status); } \
  4178. && test -f conftest2.$ac_objext; then
  4179. : OK
  4180. else
  4181. am_cv_prog_cc_c_o=no
  4182. break
  4183. fi
  4184. done
  4185. rm -f core conftest*
  4186. unset am_i
  4187. fi
  4188. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
  4189. $as_echo "$am_cv_prog_cc_c_o" >&6; }
  4190. if test "$am_cv_prog_cc_c_o" != yes; then
  4191. # Losing compiler, so override with the script.
  4192. # FIXME: It is wrong to rewrite CC.
  4193. # But if we don't then we get into trouble of one sort or another.
  4194. # A longer-term fix would be to have automake use am__CC in this case,
  4195. # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
  4196. CC="$am_aux_dir/compile $CC"
  4197. fi
  4198. ac_ext=cpp
  4199. ac_cpp='$CXXCPP $CPPFLAGS'
  4200. ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4201. ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4202. ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  4203. depcc="$CC" am_compiler_list=
  4204. { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
  4205. $as_echo_n "checking dependency style of $depcc... " >&6; }
  4206. if ${am_cv_CC_dependencies_compiler_type+:} false; then :
  4207. $as_echo_n "(cached) " >&6
  4208. else
  4209. if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  4210. # We make a subdir and do the tests there. Otherwise we can end up
  4211. # making bogus files that we don't know about and never remove. For
  4212. # instance it was reported that on HP-UX the gcc test will end up
  4213. # making a dummy file named 'D' -- because '-MD' means "put the output
  4214. # in D".
  4215. rm -rf conftest.dir
  4216. mkdir conftest.dir
  4217. # Copy depcomp to subdir because otherwise we won't find it if we're
  4218. # using a relative directory.
  4219. cp "$am_depcomp" conftest.dir
  4220. cd conftest.dir
  4221. # We will build objects and dependencies in a subdirectory because
  4222. # it helps to detect inapplicable dependency modes. For instance
  4223. # both Tru64's cc and ICC support -MD to output dependencies as a
  4224. # side effect of compilation, but ICC will put the dependencies in
  4225. # the current directory while Tru64 will put them in the object
  4226. # directory.
  4227. mkdir sub
  4228. am_cv_CC_dependencies_compiler_type=none
  4229. if test "$am_compiler_list" = ""; then
  4230. am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  4231. fi
  4232. am__universal=false
  4233. case " $depcc " in #(
  4234. *\ -arch\ *\ -arch\ *) am__universal=true ;;
  4235. esac
  4236. for depmode in $am_compiler_list; do
  4237. # Setup a source with many dependencies, because some compilers
  4238. # like to wrap large dependency lists on column 80 (with \), and
  4239. # we should not choose a depcomp mode which is confused by this.
  4240. #
  4241. # We need to recreate these files for each test, as the compiler may
  4242. # overwrite some of them when testing with obscure command lines.
  4243. # This happens at least with the AIX C compiler.
  4244. : > sub/conftest.c
  4245. for i in 1 2 3 4 5 6; do
  4246. echo '#include "conftst'$i'.h"' >> sub/conftest.c
  4247. # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
  4248. # Solaris 10 /bin/sh.
  4249. echo '/* dummy */' > sub/conftst$i.h
  4250. done
  4251. echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  4252. # We check with '-c' and '-o' for the sake of the "dashmstdout"
  4253. # mode. It turns out that the SunPro C++ compiler does not properly
  4254. # handle '-M -o', and we need to detect this. Also, some Intel
  4255. # versions had trouble with output in subdirs.
  4256. am__obj=sub/conftest.${OBJEXT-o}
  4257. am__minus_obj="-o $am__obj"
  4258. case $depmode in
  4259. gcc)
  4260. # This depmode causes a compiler race in universal mode.
  4261. test "$am__universal" = false || continue
  4262. ;;
  4263. nosideeffect)
  4264. # After this tag, mechanisms are not by side-effect, so they'll
  4265. # only be used when explicitly requested.
  4266. if test "x$enable_dependency_tracking" = xyes; then
  4267. continue
  4268. else
  4269. break
  4270. fi
  4271. ;;
  4272. msvc7 | msvc7msys | msvisualcpp | msvcmsys)
  4273. # This compiler won't grok '-c -o', but also, the minuso test has
  4274. # not run yet. These depmodes are late enough in the game, and
  4275. # so weak that their functioning should not be impacted.
  4276. am__obj=conftest.${OBJEXT-o}
  4277. am__minus_obj=
  4278. ;;
  4279. none) break ;;
  4280. esac
  4281. if depmode=$depmode \
  4282. source=sub/conftest.c object=$am__obj \
  4283. depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  4284. $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
  4285. >/dev/null 2>conftest.err &&
  4286. grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
  4287. grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  4288. grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
  4289. ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  4290. # icc doesn't choke on unknown options, it will just issue warnings
  4291. # or remarks (even with -Werror). So we grep stderr for any message
  4292. # that says an option was ignored or not supported.
  4293. # When given -MP, icc 7.0 and 7.1 complain thusly:
  4294. # icc: Command line warning: ignoring option '-M'; no argument required
  4295. # The diagnosis changed in icc 8.0:
  4296. # icc: Command line remark: option '-MP' not supported
  4297. if (grep 'ignoring option' conftest.err ||
  4298. grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  4299. am_cv_CC_dependencies_compiler_type=$depmode
  4300. break
  4301. fi
  4302. fi
  4303. done
  4304. cd ..
  4305. rm -rf conftest.dir
  4306. else
  4307. am_cv_CC_dependencies_compiler_type=none
  4308. fi
  4309. fi
  4310. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
  4311. $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
  4312. CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  4313. if
  4314. test "x$enable_dependency_tracking" != xno \
  4315. && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  4316. am__fastdepCC_TRUE=
  4317. am__fastdepCC_FALSE='#'
  4318. else
  4319. am__fastdepCC_TRUE='#'
  4320. am__fastdepCC_FALSE=
  4321. fi
  4322. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
  4323. $as_echo_n "checking for a sed that does not truncate output... " >&6; }
  4324. if ${ac_cv_path_SED+:} false; then :
  4325. $as_echo_n "(cached) " >&6
  4326. else
  4327. ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
  4328. for ac_i in 1 2 3 4 5 6 7; do
  4329. ac_script="$ac_script$as_nl$ac_script"
  4330. done
  4331. echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
  4332. { ac_script=; unset ac_script;}
  4333. if test -z "$SED"; then
  4334. ac_path_SED_found=false
  4335. # Loop through the user's path and test for each of PROGNAME-LIST
  4336. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4337. for as_dir in $PATH
  4338. do
  4339. IFS=$as_save_IFS
  4340. test -z "$as_dir" && as_dir=.
  4341. for ac_prog in sed gsed; do
  4342. for ac_exec_ext in '' $ac_executable_extensions; do
  4343. ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
  4344. as_fn_executable_p "$ac_path_SED" || continue
  4345. # Check for GNU ac_path_SED and select it if it is found.
  4346. # Check for GNU $ac_path_SED
  4347. case `"$ac_path_SED" --version 2>&1` in
  4348. *GNU*)
  4349. ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
  4350. *)
  4351. ac_count=0
  4352. $as_echo_n 0123456789 >"conftest.in"
  4353. while :
  4354. do
  4355. cat "conftest.in" "conftest.in" >"conftest.tmp"
  4356. mv "conftest.tmp" "conftest.in"
  4357. cp "conftest.in" "conftest.nl"
  4358. $as_echo '' >> "conftest.nl"
  4359. "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
  4360. diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  4361. as_fn_arith $ac_count + 1 && ac_count=$as_val
  4362. if test $ac_count -gt ${ac_path_SED_max-0}; then
  4363. # Best one so far, save it but keep looking for a better one
  4364. ac_cv_path_SED="$ac_path_SED"
  4365. ac_path_SED_max=$ac_count
  4366. fi
  4367. # 10*(2^10) chars as input seems more than enough
  4368. test $ac_count -gt 10 && break
  4369. done
  4370. rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  4371. esac
  4372. $ac_path_SED_found && break 3
  4373. done
  4374. done
  4375. done
  4376. IFS=$as_save_IFS
  4377. if test -z "$ac_cv_path_SED"; then
  4378. as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
  4379. fi
  4380. else
  4381. ac_cv_path_SED=$SED
  4382. fi
  4383. fi
  4384. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
  4385. $as_echo "$ac_cv_path_SED" >&6; }
  4386. SED="$ac_cv_path_SED"
  4387. rm -f conftest.sed
  4388. test -z "$SED" && SED=sed
  4389. Xsed="$SED -e 1s/^X//"
  4390. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
  4391. $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
  4392. if ${ac_cv_path_GREP+:} false; then :
  4393. $as_echo_n "(cached) " >&6
  4394. else
  4395. if test -z "$GREP"; then
  4396. ac_path_GREP_found=false
  4397. # Loop through the user's path and test for each of PROGNAME-LIST
  4398. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4399. for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  4400. do
  4401. IFS=$as_save_IFS
  4402. test -z "$as_dir" && as_dir=.
  4403. for ac_prog in grep ggrep; do
  4404. for ac_exec_ext in '' $ac_executable_extensions; do
  4405. ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
  4406. as_fn_executable_p "$ac_path_GREP" || continue
  4407. # Check for GNU ac_path_GREP and select it if it is found.
  4408. # Check for GNU $ac_path_GREP
  4409. case `"$ac_path_GREP" --version 2>&1` in
  4410. *GNU*)
  4411. ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
  4412. *)
  4413. ac_count=0
  4414. $as_echo_n 0123456789 >"conftest.in"
  4415. while :
  4416. do
  4417. cat "conftest.in" "conftest.in" >"conftest.tmp"
  4418. mv "conftest.tmp" "conftest.in"
  4419. cp "conftest.in" "conftest.nl"
  4420. $as_echo 'GREP' >> "conftest.nl"
  4421. "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  4422. diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  4423. as_fn_arith $ac_count + 1 && ac_count=$as_val
  4424. if test $ac_count -gt ${ac_path_GREP_max-0}; then
  4425. # Best one so far, save it but keep looking for a better one
  4426. ac_cv_path_GREP="$ac_path_GREP"
  4427. ac_path_GREP_max=$ac_count
  4428. fi
  4429. # 10*(2^10) chars as input seems more than enough
  4430. test $ac_count -gt 10 && break
  4431. done
  4432. rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  4433. esac
  4434. $ac_path_GREP_found && break 3
  4435. done
  4436. done
  4437. done
  4438. IFS=$as_save_IFS
  4439. if test -z "$ac_cv_path_GREP"; then
  4440. as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  4441. fi
  4442. else
  4443. ac_cv_path_GREP=$GREP
  4444. fi
  4445. fi
  4446. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
  4447. $as_echo "$ac_cv_path_GREP" >&6; }
  4448. GREP="$ac_cv_path_GREP"
  4449. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
  4450. $as_echo_n "checking for egrep... " >&6; }
  4451. if ${ac_cv_path_EGREP+:} false; then :
  4452. $as_echo_n "(cached) " >&6
  4453. else
  4454. if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
  4455. then ac_cv_path_EGREP="$GREP -E"
  4456. else
  4457. if test -z "$EGREP"; then
  4458. ac_path_EGREP_found=false
  4459. # Loop through the user's path and test for each of PROGNAME-LIST
  4460. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4461. for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  4462. do
  4463. IFS=$as_save_IFS
  4464. test -z "$as_dir" && as_dir=.
  4465. for ac_prog in egrep; do
  4466. for ac_exec_ext in '' $ac_executable_extensions; do
  4467. ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
  4468. as_fn_executable_p "$ac_path_EGREP" || continue
  4469. # Check for GNU ac_path_EGREP and select it if it is found.
  4470. # Check for GNU $ac_path_EGREP
  4471. case `"$ac_path_EGREP" --version 2>&1` in
  4472. *GNU*)
  4473. ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
  4474. *)
  4475. ac_count=0
  4476. $as_echo_n 0123456789 >"conftest.in"
  4477. while :
  4478. do
  4479. cat "conftest.in" "conftest.in" >"conftest.tmp"
  4480. mv "conftest.tmp" "conftest.in"
  4481. cp "conftest.in" "conftest.nl"
  4482. $as_echo 'EGREP' >> "conftest.nl"
  4483. "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  4484. diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  4485. as_fn_arith $ac_count + 1 && ac_count=$as_val
  4486. if test $ac_count -gt ${ac_path_EGREP_max-0}; then
  4487. # Best one so far, save it but keep looking for a better one
  4488. ac_cv_path_EGREP="$ac_path_EGREP"
  4489. ac_path_EGREP_max=$ac_count
  4490. fi
  4491. # 10*(2^10) chars as input seems more than enough
  4492. test $ac_count -gt 10 && break
  4493. done
  4494. rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  4495. esac
  4496. $ac_path_EGREP_found && break 3
  4497. done
  4498. done
  4499. done
  4500. IFS=$as_save_IFS
  4501. if test -z "$ac_cv_path_EGREP"; then
  4502. as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  4503. fi
  4504. else
  4505. ac_cv_path_EGREP=$EGREP
  4506. fi
  4507. fi
  4508. fi
  4509. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
  4510. $as_echo "$ac_cv_path_EGREP" >&6; }
  4511. EGREP="$ac_cv_path_EGREP"
  4512. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
  4513. $as_echo_n "checking for fgrep... " >&6; }
  4514. if ${ac_cv_path_FGREP+:} false; then :
  4515. $as_echo_n "(cached) " >&6
  4516. else
  4517. if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
  4518. then ac_cv_path_FGREP="$GREP -F"
  4519. else
  4520. if test -z "$FGREP"; then
  4521. ac_path_FGREP_found=false
  4522. # Loop through the user's path and test for each of PROGNAME-LIST
  4523. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4524. for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  4525. do
  4526. IFS=$as_save_IFS
  4527. test -z "$as_dir" && as_dir=.
  4528. for ac_prog in fgrep; do
  4529. for ac_exec_ext in '' $ac_executable_extensions; do
  4530. ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
  4531. as_fn_executable_p "$ac_path_FGREP" || continue
  4532. # Check for GNU ac_path_FGREP and select it if it is found.
  4533. # Check for GNU $ac_path_FGREP
  4534. case `"$ac_path_FGREP" --version 2>&1` in
  4535. *GNU*)
  4536. ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
  4537. *)
  4538. ac_count=0
  4539. $as_echo_n 0123456789 >"conftest.in"
  4540. while :
  4541. do
  4542. cat "conftest.in" "conftest.in" >"conftest.tmp"
  4543. mv "conftest.tmp" "conftest.in"
  4544. cp "conftest.in" "conftest.nl"
  4545. $as_echo 'FGREP' >> "conftest.nl"
  4546. "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
  4547. diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  4548. as_fn_arith $ac_count + 1 && ac_count=$as_val
  4549. if test $ac_count -gt ${ac_path_FGREP_max-0}; then
  4550. # Best one so far, save it but keep looking for a better one
  4551. ac_cv_path_FGREP="$ac_path_FGREP"
  4552. ac_path_FGREP_max=$ac_count
  4553. fi
  4554. # 10*(2^10) chars as input seems more than enough
  4555. test $ac_count -gt 10 && break
  4556. done
  4557. rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  4558. esac
  4559. $ac_path_FGREP_found && break 3
  4560. done
  4561. done
  4562. done
  4563. IFS=$as_save_IFS
  4564. if test -z "$ac_cv_path_FGREP"; then
  4565. as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  4566. fi
  4567. else
  4568. ac_cv_path_FGREP=$FGREP
  4569. fi
  4570. fi
  4571. fi
  4572. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
  4573. $as_echo "$ac_cv_path_FGREP" >&6; }
  4574. FGREP="$ac_cv_path_FGREP"
  4575. test -z "$GREP" && GREP=grep
  4576. # Check whether --with-gnu-ld was given.
  4577. if test "${with_gnu_ld+set}" = set; then :
  4578. withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
  4579. else
  4580. with_gnu_ld=no
  4581. fi
  4582. ac_prog=ld
  4583. if test "$GCC" = yes; then
  4584. # Check if gcc -print-prog-name=ld gives a path.
  4585. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
  4586. $as_echo_n "checking for ld used by $CC... " >&6; }
  4587. case $host in
  4588. *-*-mingw*)
  4589. # gcc leaves a trailing carriage return which upsets mingw
  4590. ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
  4591. *)
  4592. ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
  4593. esac
  4594. case $ac_prog in
  4595. # Accept absolute paths.
  4596. [\\/]* | ?:[\\/]*)
  4597. re_direlt='/[^/][^/]*/\.\./'
  4598. # Canonicalize the pathname of ld
  4599. ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
  4600. while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
  4601. ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
  4602. done
  4603. test -z "$LD" && LD="$ac_prog"
  4604. ;;
  4605. "")
  4606. # If it fails, then pretend we aren't using GCC.
  4607. ac_prog=ld
  4608. ;;
  4609. *)
  4610. # If it is relative, then search for the first ld in PATH.
  4611. with_gnu_ld=unknown
  4612. ;;
  4613. esac
  4614. elif test "$with_gnu_ld" = yes; then
  4615. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
  4616. $as_echo_n "checking for GNU ld... " >&6; }
  4617. else
  4618. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
  4619. $as_echo_n "checking for non-GNU ld... " >&6; }
  4620. fi
  4621. if ${lt_cv_path_LD+:} false; then :
  4622. $as_echo_n "(cached) " >&6
  4623. else
  4624. if test -z "$LD"; then
  4625. lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  4626. for ac_dir in $PATH; do
  4627. IFS="$lt_save_ifs"
  4628. test -z "$ac_dir" && ac_dir=.
  4629. if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
  4630. lt_cv_path_LD="$ac_dir/$ac_prog"
  4631. # Check to see if the program is GNU ld. I'd rather use --version,
  4632. # but apparently some variants of GNU ld only accept -v.
  4633. # Break only if it was the GNU/non-GNU ld that we prefer.
  4634. case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
  4635. *GNU* | *'with BFD'*)
  4636. test "$with_gnu_ld" != no && break
  4637. ;;
  4638. *)
  4639. test "$with_gnu_ld" != yes && break
  4640. ;;
  4641. esac
  4642. fi
  4643. done
  4644. IFS="$lt_save_ifs"
  4645. else
  4646. lt_cv_path_LD="$LD" # Let the user override the test with a path.
  4647. fi
  4648. fi
  4649. LD="$lt_cv_path_LD"
  4650. if test -n "$LD"; then
  4651. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
  4652. $as_echo "$LD" >&6; }
  4653. else
  4654. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4655. $as_echo "no" >&6; }
  4656. fi
  4657. test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
  4658. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
  4659. $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
  4660. if ${lt_cv_prog_gnu_ld+:} false; then :
  4661. $as_echo_n "(cached) " >&6
  4662. else
  4663. # I'd rather use --version here, but apparently some GNU lds only accept -v.
  4664. case `$LD -v 2>&1 </dev/null` in
  4665. *GNU* | *'with BFD'*)
  4666. lt_cv_prog_gnu_ld=yes
  4667. ;;
  4668. *)
  4669. lt_cv_prog_gnu_ld=no
  4670. ;;
  4671. esac
  4672. fi
  4673. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
  4674. $as_echo "$lt_cv_prog_gnu_ld" >&6; }
  4675. with_gnu_ld=$lt_cv_prog_gnu_ld
  4676. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
  4677. $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
  4678. if ${lt_cv_path_NM+:} false; then :
  4679. $as_echo_n "(cached) " >&6
  4680. else
  4681. if test -n "$NM"; then
  4682. # Let the user override the test.
  4683. lt_cv_path_NM="$NM"
  4684. else
  4685. lt_nm_to_check="${ac_tool_prefix}nm"
  4686. if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
  4687. lt_nm_to_check="$lt_nm_to_check nm"
  4688. fi
  4689. for lt_tmp_nm in $lt_nm_to_check; do
  4690. lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  4691. for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
  4692. IFS="$lt_save_ifs"
  4693. test -z "$ac_dir" && ac_dir=.
  4694. tmp_nm="$ac_dir/$lt_tmp_nm"
  4695. if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
  4696. # Check to see if the nm accepts a BSD-compat flag.
  4697. # Adding the `sed 1q' prevents false positives on HP-UX, which says:
  4698. # nm: unknown option "B" ignored
  4699. # Tru64's nm complains that /dev/null is an invalid object file
  4700. case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
  4701. */dev/null* | *'Invalid file or object type'*)
  4702. lt_cv_path_NM="$tmp_nm -B"
  4703. break
  4704. ;;
  4705. *)
  4706. case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
  4707. */dev/null*)
  4708. lt_cv_path_NM="$tmp_nm -p"
  4709. break
  4710. ;;
  4711. *)
  4712. lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
  4713. continue # so that we can try to find one that supports BSD flags
  4714. ;;
  4715. esac
  4716. ;;
  4717. esac
  4718. fi
  4719. done
  4720. IFS="$lt_save_ifs"
  4721. done
  4722. : ${lt_cv_path_NM=no}
  4723. fi
  4724. fi
  4725. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
  4726. $as_echo "$lt_cv_path_NM" >&6; }
  4727. if test "$lt_cv_path_NM" != "no"; then
  4728. NM="$lt_cv_path_NM"
  4729. else
  4730. # Didn't find any BSD compatible name lister, look for dumpbin.
  4731. if test -n "$DUMPBIN"; then :
  4732. # Let the user override the test.
  4733. else
  4734. if test -n "$ac_tool_prefix"; then
  4735. for ac_prog in dumpbin "link -dump"
  4736. do
  4737. # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  4738. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  4739. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4740. $as_echo_n "checking for $ac_word... " >&6; }
  4741. if ${ac_cv_prog_DUMPBIN+:} false; then :
  4742. $as_echo_n "(cached) " >&6
  4743. else
  4744. if test -n "$DUMPBIN"; then
  4745. ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
  4746. else
  4747. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4748. for as_dir in $PATH
  4749. do
  4750. IFS=$as_save_IFS
  4751. test -z "$as_dir" && as_dir=.
  4752. for ac_exec_ext in '' $ac_executable_extensions; do
  4753. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4754. ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
  4755. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4756. break 2
  4757. fi
  4758. done
  4759. done
  4760. IFS=$as_save_IFS
  4761. fi
  4762. fi
  4763. DUMPBIN=$ac_cv_prog_DUMPBIN
  4764. if test -n "$DUMPBIN"; then
  4765. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
  4766. $as_echo "$DUMPBIN" >&6; }
  4767. else
  4768. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4769. $as_echo "no" >&6; }
  4770. fi
  4771. test -n "$DUMPBIN" && break
  4772. done
  4773. fi
  4774. if test -z "$DUMPBIN"; then
  4775. ac_ct_DUMPBIN=$DUMPBIN
  4776. for ac_prog in dumpbin "link -dump"
  4777. do
  4778. # Extract the first word of "$ac_prog", so it can be a program name with args.
  4779. set dummy $ac_prog; ac_word=$2
  4780. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4781. $as_echo_n "checking for $ac_word... " >&6; }
  4782. if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
  4783. $as_echo_n "(cached) " >&6
  4784. else
  4785. if test -n "$ac_ct_DUMPBIN"; then
  4786. ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
  4787. else
  4788. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4789. for as_dir in $PATH
  4790. do
  4791. IFS=$as_save_IFS
  4792. test -z "$as_dir" && as_dir=.
  4793. for ac_exec_ext in '' $ac_executable_extensions; do
  4794. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4795. ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
  4796. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4797. break 2
  4798. fi
  4799. done
  4800. done
  4801. IFS=$as_save_IFS
  4802. fi
  4803. fi
  4804. ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
  4805. if test -n "$ac_ct_DUMPBIN"; then
  4806. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
  4807. $as_echo "$ac_ct_DUMPBIN" >&6; }
  4808. else
  4809. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4810. $as_echo "no" >&6; }
  4811. fi
  4812. test -n "$ac_ct_DUMPBIN" && break
  4813. done
  4814. if test "x$ac_ct_DUMPBIN" = x; then
  4815. DUMPBIN=":"
  4816. else
  4817. case $cross_compiling:$ac_tool_warned in
  4818. yes:)
  4819. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  4820. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  4821. ac_tool_warned=yes ;;
  4822. esac
  4823. DUMPBIN=$ac_ct_DUMPBIN
  4824. fi
  4825. fi
  4826. case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
  4827. *COFF*)
  4828. DUMPBIN="$DUMPBIN -symbols"
  4829. ;;
  4830. *)
  4831. DUMPBIN=:
  4832. ;;
  4833. esac
  4834. fi
  4835. if test "$DUMPBIN" != ":"; then
  4836. NM="$DUMPBIN"
  4837. fi
  4838. fi
  4839. test -z "$NM" && NM=nm
  4840. { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
  4841. $as_echo_n "checking the name lister ($NM) interface... " >&6; }
  4842. if ${lt_cv_nm_interface+:} false; then :
  4843. $as_echo_n "(cached) " >&6
  4844. else
  4845. lt_cv_nm_interface="BSD nm"
  4846. echo "int some_variable = 0;" > conftest.$ac_ext
  4847. (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
  4848. (eval "$ac_compile" 2>conftest.err)
  4849. cat conftest.err >&5
  4850. (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
  4851. (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
  4852. cat conftest.err >&5
  4853. (eval echo "\"\$as_me:$LINENO: output\"" >&5)
  4854. cat conftest.out >&5
  4855. if $GREP 'External.*some_variable' conftest.out > /dev/null; then
  4856. lt_cv_nm_interface="MS dumpbin"
  4857. fi
  4858. rm -f conftest*
  4859. fi
  4860. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
  4861. $as_echo "$lt_cv_nm_interface" >&6; }
  4862. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
  4863. $as_echo_n "checking whether ln -s works... " >&6; }
  4864. LN_S=$as_ln_s
  4865. if test "$LN_S" = "ln -s"; then
  4866. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  4867. $as_echo "yes" >&6; }
  4868. else
  4869. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
  4870. $as_echo "no, using $LN_S" >&6; }
  4871. fi
  4872. # find the maximum length of command line arguments
  4873. { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
  4874. $as_echo_n "checking the maximum length of command line arguments... " >&6; }
  4875. if ${lt_cv_sys_max_cmd_len+:} false; then :
  4876. $as_echo_n "(cached) " >&6
  4877. else
  4878. i=0
  4879. teststring="ABCD"
  4880. case $build_os in
  4881. msdosdjgpp*)
  4882. # On DJGPP, this test can blow up pretty badly due to problems in libc
  4883. # (any single argument exceeding 2000 bytes causes a buffer overrun
  4884. # during glob expansion). Even if it were fixed, the result of this
  4885. # check would be larger than it should be.
  4886. lt_cv_sys_max_cmd_len=12288; # 12K is about right
  4887. ;;
  4888. gnu*)
  4889. # Under GNU Hurd, this test is not required because there is
  4890. # no limit to the length of command line arguments.
  4891. # Libtool will interpret -1 as no limit whatsoever
  4892. lt_cv_sys_max_cmd_len=-1;
  4893. ;;
  4894. cygwin* | mingw* | cegcc*)
  4895. # On Win9x/ME, this test blows up -- it succeeds, but takes
  4896. # about 5 minutes as the teststring grows exponentially.
  4897. # Worse, since 9x/ME are not pre-emptively multitasking,
  4898. # you end up with a "frozen" computer, even though with patience
  4899. # the test eventually succeeds (with a max line length of 256k).
  4900. # Instead, let's just punt: use the minimum linelength reported by
  4901. # all of the supported platforms: 8192 (on NT/2K/XP).
  4902. lt_cv_sys_max_cmd_len=8192;
  4903. ;;
  4904. mint*)
  4905. # On MiNT this can take a long time and run out of memory.
  4906. lt_cv_sys_max_cmd_len=8192;
  4907. ;;
  4908. amigaos*)
  4909. # On AmigaOS with pdksh, this test takes hours, literally.
  4910. # So we just punt and use a minimum line length of 8192.
  4911. lt_cv_sys_max_cmd_len=8192;
  4912. ;;
  4913. netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
  4914. # This has been around since 386BSD, at least. Likely further.
  4915. if test -x /sbin/sysctl; then
  4916. lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
  4917. elif test -x /usr/sbin/sysctl; then
  4918. lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
  4919. else
  4920. lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
  4921. fi
  4922. # And add a safety zone
  4923. lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
  4924. lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
  4925. ;;
  4926. interix*)
  4927. # We know the value 262144 and hardcode it with a safety zone (like BSD)
  4928. lt_cv_sys_max_cmd_len=196608
  4929. ;;
  4930. os2*)
  4931. # The test takes a long time on OS/2.
  4932. lt_cv_sys_max_cmd_len=8192
  4933. ;;
  4934. osf*)
  4935. # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
  4936. # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
  4937. # nice to cause kernel panics so lets avoid the loop below.
  4938. # First set a reasonable default.
  4939. lt_cv_sys_max_cmd_len=16384
  4940. #
  4941. if test -x /sbin/sysconfig; then
  4942. case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
  4943. *1*) lt_cv_sys_max_cmd_len=-1 ;;
  4944. esac
  4945. fi
  4946. ;;
  4947. sco3.2v5*)
  4948. lt_cv_sys_max_cmd_len=102400
  4949. ;;
  4950. sysv5* | sco5v6* | sysv4.2uw2*)
  4951. kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
  4952. if test -n "$kargmax"; then
  4953. lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
  4954. else
  4955. lt_cv_sys_max_cmd_len=32768
  4956. fi
  4957. ;;
  4958. *)
  4959. lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
  4960. if test -n "$lt_cv_sys_max_cmd_len" && \
  4961. test undefined != "$lt_cv_sys_max_cmd_len"; then
  4962. lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
  4963. lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
  4964. else
  4965. # Make teststring a little bigger before we do anything with it.
  4966. # a 1K string should be a reasonable start.
  4967. for i in 1 2 3 4 5 6 7 8 ; do
  4968. teststring=$teststring$teststring
  4969. done
  4970. SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
  4971. # If test is not a shell built-in, we'll probably end up computing a
  4972. # maximum length that is only half of the actual maximum length, but
  4973. # we can't tell.
  4974. while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
  4975. = "X$teststring$teststring"; } >/dev/null 2>&1 &&
  4976. test $i != 17 # 1/2 MB should be enough
  4977. do
  4978. i=`expr $i + 1`
  4979. teststring=$teststring$teststring
  4980. done
  4981. # Only check the string length outside the loop.
  4982. lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
  4983. teststring=
  4984. # Add a significant safety factor because C++ compilers can tack on
  4985. # massive amounts of additional arguments before passing them to the
  4986. # linker. It appears as though 1/2 is a usable value.
  4987. lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
  4988. fi
  4989. ;;
  4990. esac
  4991. fi
  4992. if test -n $lt_cv_sys_max_cmd_len ; then
  4993. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
  4994. $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
  4995. else
  4996. { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
  4997. $as_echo "none" >&6; }
  4998. fi
  4999. max_cmd_len=$lt_cv_sys_max_cmd_len
  5000. : ${CP="cp -f"}
  5001. : ${MV="mv -f"}
  5002. : ${RM="rm -f"}
  5003. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
  5004. $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
  5005. # Try some XSI features
  5006. xsi_shell=no
  5007. ( _lt_dummy="a/b/c"
  5008. test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
  5009. = c,a/b,b/c, \
  5010. && eval 'test $(( 1 + 1 )) -eq 2 \
  5011. && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
  5012. && xsi_shell=yes
  5013. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
  5014. $as_echo "$xsi_shell" >&6; }
  5015. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
  5016. $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
  5017. lt_shell_append=no
  5018. ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
  5019. >/dev/null 2>&1 \
  5020. && lt_shell_append=yes
  5021. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
  5022. $as_echo "$lt_shell_append" >&6; }
  5023. if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
  5024. lt_unset=unset
  5025. else
  5026. lt_unset=false
  5027. fi
  5028. # test EBCDIC or ASCII
  5029. case `echo X|tr X '\101'` in
  5030. A) # ASCII based system
  5031. # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
  5032. lt_SP2NL='tr \040 \012'
  5033. lt_NL2SP='tr \015\012 \040\040'
  5034. ;;
  5035. *) # EBCDIC based system
  5036. lt_SP2NL='tr \100 \n'
  5037. lt_NL2SP='tr \r\n \100\100'
  5038. ;;
  5039. esac
  5040. { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
  5041. $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
  5042. if ${lt_cv_to_host_file_cmd+:} false; then :
  5043. $as_echo_n "(cached) " >&6
  5044. else
  5045. case $host in
  5046. *-*-mingw* )
  5047. case $build in
  5048. *-*-mingw* ) # actually msys
  5049. lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
  5050. ;;
  5051. *-*-cygwin* )
  5052. lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
  5053. ;;
  5054. * ) # otherwise, assume *nix
  5055. lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
  5056. ;;
  5057. esac
  5058. ;;
  5059. *-*-cygwin* )
  5060. case $build in
  5061. *-*-mingw* ) # actually msys
  5062. lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
  5063. ;;
  5064. *-*-cygwin* )
  5065. lt_cv_to_host_file_cmd=func_convert_file_noop
  5066. ;;
  5067. * ) # otherwise, assume *nix
  5068. lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
  5069. ;;
  5070. esac
  5071. ;;
  5072. * ) # unhandled hosts (and "normal" native builds)
  5073. lt_cv_to_host_file_cmd=func_convert_file_noop
  5074. ;;
  5075. esac
  5076. fi
  5077. to_host_file_cmd=$lt_cv_to_host_file_cmd
  5078. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
  5079. $as_echo "$lt_cv_to_host_file_cmd" >&6; }
  5080. { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
  5081. $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
  5082. if ${lt_cv_to_tool_file_cmd+:} false; then :
  5083. $as_echo_n "(cached) " >&6
  5084. else
  5085. #assume ordinary cross tools, or native build.
  5086. lt_cv_to_tool_file_cmd=func_convert_file_noop
  5087. case $host in
  5088. *-*-mingw* )
  5089. case $build in
  5090. *-*-mingw* ) # actually msys
  5091. lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
  5092. ;;
  5093. esac
  5094. ;;
  5095. esac
  5096. fi
  5097. to_tool_file_cmd=$lt_cv_to_tool_file_cmd
  5098. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
  5099. $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
  5100. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
  5101. $as_echo_n "checking for $LD option to reload object files... " >&6; }
  5102. if ${lt_cv_ld_reload_flag+:} false; then :
  5103. $as_echo_n "(cached) " >&6
  5104. else
  5105. lt_cv_ld_reload_flag='-r'
  5106. fi
  5107. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
  5108. $as_echo "$lt_cv_ld_reload_flag" >&6; }
  5109. reload_flag=$lt_cv_ld_reload_flag
  5110. case $reload_flag in
  5111. "" | " "*) ;;
  5112. *) reload_flag=" $reload_flag" ;;
  5113. esac
  5114. reload_cmds='$LD$reload_flag -o $output$reload_objs'
  5115. case $host_os in
  5116. cygwin* | mingw* | pw32* | cegcc*)
  5117. if test "$GCC" != yes; then
  5118. reload_cmds=false
  5119. fi
  5120. ;;
  5121. darwin*)
  5122. if test "$GCC" = yes; then
  5123. reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
  5124. else
  5125. reload_cmds='$LD$reload_flag -o $output$reload_objs'
  5126. fi
  5127. ;;
  5128. esac
  5129. if test -n "$ac_tool_prefix"; then
  5130. # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
  5131. set dummy ${ac_tool_prefix}objdump; ac_word=$2
  5132. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5133. $as_echo_n "checking for $ac_word... " >&6; }
  5134. if ${ac_cv_prog_OBJDUMP+:} false; then :
  5135. $as_echo_n "(cached) " >&6
  5136. else
  5137. if test -n "$OBJDUMP"; then
  5138. ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
  5139. else
  5140. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5141. for as_dir in $PATH
  5142. do
  5143. IFS=$as_save_IFS
  5144. test -z "$as_dir" && as_dir=.
  5145. for ac_exec_ext in '' $ac_executable_extensions; do
  5146. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5147. ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
  5148. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5149. break 2
  5150. fi
  5151. done
  5152. done
  5153. IFS=$as_save_IFS
  5154. fi
  5155. fi
  5156. OBJDUMP=$ac_cv_prog_OBJDUMP
  5157. if test -n "$OBJDUMP"; then
  5158. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
  5159. $as_echo "$OBJDUMP" >&6; }
  5160. else
  5161. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5162. $as_echo "no" >&6; }
  5163. fi
  5164. fi
  5165. if test -z "$ac_cv_prog_OBJDUMP"; then
  5166. ac_ct_OBJDUMP=$OBJDUMP
  5167. # Extract the first word of "objdump", so it can be a program name with args.
  5168. set dummy objdump; ac_word=$2
  5169. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5170. $as_echo_n "checking for $ac_word... " >&6; }
  5171. if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
  5172. $as_echo_n "(cached) " >&6
  5173. else
  5174. if test -n "$ac_ct_OBJDUMP"; then
  5175. ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
  5176. else
  5177. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5178. for as_dir in $PATH
  5179. do
  5180. IFS=$as_save_IFS
  5181. test -z "$as_dir" && as_dir=.
  5182. for ac_exec_ext in '' $ac_executable_extensions; do
  5183. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5184. ac_cv_prog_ac_ct_OBJDUMP="objdump"
  5185. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5186. break 2
  5187. fi
  5188. done
  5189. done
  5190. IFS=$as_save_IFS
  5191. fi
  5192. fi
  5193. ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
  5194. if test -n "$ac_ct_OBJDUMP"; then
  5195. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
  5196. $as_echo "$ac_ct_OBJDUMP" >&6; }
  5197. else
  5198. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5199. $as_echo "no" >&6; }
  5200. fi
  5201. if test "x$ac_ct_OBJDUMP" = x; then
  5202. OBJDUMP="false"
  5203. else
  5204. case $cross_compiling:$ac_tool_warned in
  5205. yes:)
  5206. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  5207. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  5208. ac_tool_warned=yes ;;
  5209. esac
  5210. OBJDUMP=$ac_ct_OBJDUMP
  5211. fi
  5212. else
  5213. OBJDUMP="$ac_cv_prog_OBJDUMP"
  5214. fi
  5215. test -z "$OBJDUMP" && OBJDUMP=objdump
  5216. { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
  5217. $as_echo_n "checking how to recognize dependent libraries... " >&6; }
  5218. if ${lt_cv_deplibs_check_method+:} false; then :
  5219. $as_echo_n "(cached) " >&6
  5220. else
  5221. lt_cv_file_magic_cmd='$MAGIC_CMD'
  5222. lt_cv_file_magic_test_file=
  5223. lt_cv_deplibs_check_method='unknown'
  5224. # Need to set the preceding variable on all platforms that support
  5225. # interlibrary dependencies.
  5226. # 'none' -- dependencies not supported.
  5227. # `unknown' -- same as none, but documents that we really don't know.
  5228. # 'pass_all' -- all dependencies passed with no checks.
  5229. # 'test_compile' -- check by making test program.
  5230. # 'file_magic [[regex]]' -- check by looking for files in library path
  5231. # which responds to the $file_magic_cmd with a given extended regex.
  5232. # If you have `file' or equivalent on your system and you're not sure
  5233. # whether `pass_all' will *always* work, you probably want this one.
  5234. case $host_os in
  5235. aix[4-9]*)
  5236. lt_cv_deplibs_check_method=pass_all
  5237. ;;
  5238. beos*)
  5239. lt_cv_deplibs_check_method=pass_all
  5240. ;;
  5241. bsdi[45]*)
  5242. lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
  5243. lt_cv_file_magic_cmd='/usr/bin/file -L'
  5244. lt_cv_file_magic_test_file=/shlib/libc.so
  5245. ;;
  5246. cygwin*)
  5247. # func_win32_libid is a shell function defined in ltmain.sh
  5248. lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
  5249. lt_cv_file_magic_cmd='func_win32_libid'
  5250. ;;
  5251. mingw* | pw32*)
  5252. # Base MSYS/MinGW do not provide the 'file' command needed by
  5253. # func_win32_libid shell function, so use a weaker test based on 'objdump',
  5254. # unless we find 'file', for example because we are cross-compiling.
  5255. # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
  5256. if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
  5257. lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
  5258. lt_cv_file_magic_cmd='func_win32_libid'
  5259. else
  5260. # Keep this pattern in sync with the one in func_win32_libid.
  5261. lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
  5262. lt_cv_file_magic_cmd='$OBJDUMP -f'
  5263. fi
  5264. ;;
  5265. cegcc*)
  5266. # use the weaker test based on 'objdump'. See mingw*.
  5267. lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
  5268. lt_cv_file_magic_cmd='$OBJDUMP -f'
  5269. ;;
  5270. darwin* | rhapsody*)
  5271. lt_cv_deplibs_check_method=pass_all
  5272. ;;
  5273. freebsd* | dragonfly*)
  5274. if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
  5275. case $host_cpu in
  5276. i*86 )
  5277. # Not sure whether the presence of OpenBSD here was a mistake.
  5278. # Let's accept both of them until this is cleared up.
  5279. lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
  5280. lt_cv_file_magic_cmd=/usr/bin/file
  5281. lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
  5282. ;;
  5283. esac
  5284. else
  5285. lt_cv_deplibs_check_method=pass_all
  5286. fi
  5287. ;;
  5288. haiku*)
  5289. lt_cv_deplibs_check_method=pass_all
  5290. ;;
  5291. hpux10.20* | hpux11*)
  5292. lt_cv_file_magic_cmd=/usr/bin/file
  5293. case $host_cpu in
  5294. ia64*)
  5295. lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
  5296. lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
  5297. ;;
  5298. hppa*64*)
  5299. 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]'
  5300. lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
  5301. ;;
  5302. *)
  5303. lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
  5304. lt_cv_file_magic_test_file=/usr/lib/libc.sl
  5305. ;;
  5306. esac
  5307. ;;
  5308. interix[3-9]*)
  5309. # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
  5310. lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
  5311. ;;
  5312. irix5* | irix6* | nonstopux*)
  5313. case $LD in
  5314. *-32|*"-32 ") libmagic=32-bit;;
  5315. *-n32|*"-n32 ") libmagic=N32;;
  5316. *-64|*"-64 ") libmagic=64-bit;;
  5317. *) libmagic=never-match;;
  5318. esac
  5319. lt_cv_deplibs_check_method=pass_all
  5320. ;;
  5321. # This must be glibc/ELF.
  5322. linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
  5323. lt_cv_deplibs_check_method=pass_all
  5324. ;;
  5325. netbsd* | netbsdelf*-gnu)
  5326. if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
  5327. lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
  5328. else
  5329. lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
  5330. fi
  5331. ;;
  5332. newos6*)
  5333. lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
  5334. lt_cv_file_magic_cmd=/usr/bin/file
  5335. lt_cv_file_magic_test_file=/usr/lib/libnls.so
  5336. ;;
  5337. *nto* | *qnx*)
  5338. lt_cv_deplibs_check_method=pass_all
  5339. ;;
  5340. openbsd*)
  5341. if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  5342. lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
  5343. else
  5344. lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
  5345. fi
  5346. ;;
  5347. osf3* | osf4* | osf5*)
  5348. lt_cv_deplibs_check_method=pass_all
  5349. ;;
  5350. rdos*)
  5351. lt_cv_deplibs_check_method=pass_all
  5352. ;;
  5353. solaris*)
  5354. lt_cv_deplibs_check_method=pass_all
  5355. ;;
  5356. sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  5357. lt_cv_deplibs_check_method=pass_all
  5358. ;;
  5359. sysv4 | sysv4.3*)
  5360. case $host_vendor in
  5361. motorola)
  5362. 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]'
  5363. lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
  5364. ;;
  5365. ncr)
  5366. lt_cv_deplibs_check_method=pass_all
  5367. ;;
  5368. sequent)
  5369. lt_cv_file_magic_cmd='/bin/file'
  5370. lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
  5371. ;;
  5372. sni)
  5373. lt_cv_file_magic_cmd='/bin/file'
  5374. lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
  5375. lt_cv_file_magic_test_file=/lib/libc.so
  5376. ;;
  5377. siemens)
  5378. lt_cv_deplibs_check_method=pass_all
  5379. ;;
  5380. pc)
  5381. lt_cv_deplibs_check_method=pass_all
  5382. ;;
  5383. esac
  5384. ;;
  5385. tpf*)
  5386. lt_cv_deplibs_check_method=pass_all
  5387. ;;
  5388. esac
  5389. fi
  5390. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
  5391. $as_echo "$lt_cv_deplibs_check_method" >&6; }
  5392. file_magic_glob=
  5393. want_nocaseglob=no
  5394. if test "$build" = "$host"; then
  5395. case $host_os in
  5396. mingw* | pw32*)
  5397. if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
  5398. want_nocaseglob=yes
  5399. else
  5400. file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
  5401. fi
  5402. ;;
  5403. esac
  5404. fi
  5405. file_magic_cmd=$lt_cv_file_magic_cmd
  5406. deplibs_check_method=$lt_cv_deplibs_check_method
  5407. test -z "$deplibs_check_method" && deplibs_check_method=unknown
  5408. if test -n "$ac_tool_prefix"; then
  5409. # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
  5410. set dummy ${ac_tool_prefix}dlltool; ac_word=$2
  5411. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5412. $as_echo_n "checking for $ac_word... " >&6; }
  5413. if ${ac_cv_prog_DLLTOOL+:} false; then :
  5414. $as_echo_n "(cached) " >&6
  5415. else
  5416. if test -n "$DLLTOOL"; then
  5417. ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
  5418. else
  5419. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5420. for as_dir in $PATH
  5421. do
  5422. IFS=$as_save_IFS
  5423. test -z "$as_dir" && as_dir=.
  5424. for ac_exec_ext in '' $ac_executable_extensions; do
  5425. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5426. ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
  5427. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5428. break 2
  5429. fi
  5430. done
  5431. done
  5432. IFS=$as_save_IFS
  5433. fi
  5434. fi
  5435. DLLTOOL=$ac_cv_prog_DLLTOOL
  5436. if test -n "$DLLTOOL"; then
  5437. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
  5438. $as_echo "$DLLTOOL" >&6; }
  5439. else
  5440. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5441. $as_echo "no" >&6; }
  5442. fi
  5443. fi
  5444. if test -z "$ac_cv_prog_DLLTOOL"; then
  5445. ac_ct_DLLTOOL=$DLLTOOL
  5446. # Extract the first word of "dlltool", so it can be a program name with args.
  5447. set dummy dlltool; ac_word=$2
  5448. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5449. $as_echo_n "checking for $ac_word... " >&6; }
  5450. if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
  5451. $as_echo_n "(cached) " >&6
  5452. else
  5453. if test -n "$ac_ct_DLLTOOL"; then
  5454. ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
  5455. else
  5456. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5457. for as_dir in $PATH
  5458. do
  5459. IFS=$as_save_IFS
  5460. test -z "$as_dir" && as_dir=.
  5461. for ac_exec_ext in '' $ac_executable_extensions; do
  5462. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5463. ac_cv_prog_ac_ct_DLLTOOL="dlltool"
  5464. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5465. break 2
  5466. fi
  5467. done
  5468. done
  5469. IFS=$as_save_IFS
  5470. fi
  5471. fi
  5472. ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
  5473. if test -n "$ac_ct_DLLTOOL"; then
  5474. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
  5475. $as_echo "$ac_ct_DLLTOOL" >&6; }
  5476. else
  5477. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5478. $as_echo "no" >&6; }
  5479. fi
  5480. if test "x$ac_ct_DLLTOOL" = x; then
  5481. DLLTOOL="false"
  5482. else
  5483. case $cross_compiling:$ac_tool_warned in
  5484. yes:)
  5485. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  5486. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  5487. ac_tool_warned=yes ;;
  5488. esac
  5489. DLLTOOL=$ac_ct_DLLTOOL
  5490. fi
  5491. else
  5492. DLLTOOL="$ac_cv_prog_DLLTOOL"
  5493. fi
  5494. test -z "$DLLTOOL" && DLLTOOL=dlltool
  5495. { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
  5496. $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
  5497. if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
  5498. $as_echo_n "(cached) " >&6
  5499. else
  5500. lt_cv_sharedlib_from_linklib_cmd='unknown'
  5501. case $host_os in
  5502. cygwin* | mingw* | pw32* | cegcc*)
  5503. # two different shell functions defined in ltmain.sh
  5504. # decide which to use based on capabilities of $DLLTOOL
  5505. case `$DLLTOOL --help 2>&1` in
  5506. *--identify-strict*)
  5507. lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
  5508. ;;
  5509. *)
  5510. lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
  5511. ;;
  5512. esac
  5513. ;;
  5514. *)
  5515. # fallback: assume linklib IS sharedlib
  5516. lt_cv_sharedlib_from_linklib_cmd="$ECHO"
  5517. ;;
  5518. esac
  5519. fi
  5520. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
  5521. $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
  5522. sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
  5523. test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
  5524. if test -n "$ac_tool_prefix"; then
  5525. for ac_prog in ar
  5526. do
  5527. # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  5528. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  5529. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5530. $as_echo_n "checking for $ac_word... " >&6; }
  5531. if ${ac_cv_prog_AR+:} false; then :
  5532. $as_echo_n "(cached) " >&6
  5533. else
  5534. if test -n "$AR"; then
  5535. ac_cv_prog_AR="$AR" # Let the user override the test.
  5536. else
  5537. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5538. for as_dir in $PATH
  5539. do
  5540. IFS=$as_save_IFS
  5541. test -z "$as_dir" && as_dir=.
  5542. for ac_exec_ext in '' $ac_executable_extensions; do
  5543. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5544. ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
  5545. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5546. break 2
  5547. fi
  5548. done
  5549. done
  5550. IFS=$as_save_IFS
  5551. fi
  5552. fi
  5553. AR=$ac_cv_prog_AR
  5554. if test -n "$AR"; then
  5555. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
  5556. $as_echo "$AR" >&6; }
  5557. else
  5558. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5559. $as_echo "no" >&6; }
  5560. fi
  5561. test -n "$AR" && break
  5562. done
  5563. fi
  5564. if test -z "$AR"; then
  5565. ac_ct_AR=$AR
  5566. for ac_prog in ar
  5567. do
  5568. # Extract the first word of "$ac_prog", so it can be a program name with args.
  5569. set dummy $ac_prog; ac_word=$2
  5570. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5571. $as_echo_n "checking for $ac_word... " >&6; }
  5572. if ${ac_cv_prog_ac_ct_AR+:} false; then :
  5573. $as_echo_n "(cached) " >&6
  5574. else
  5575. if test -n "$ac_ct_AR"; then
  5576. ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
  5577. else
  5578. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5579. for as_dir in $PATH
  5580. do
  5581. IFS=$as_save_IFS
  5582. test -z "$as_dir" && as_dir=.
  5583. for ac_exec_ext in '' $ac_executable_extensions; do
  5584. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5585. ac_cv_prog_ac_ct_AR="$ac_prog"
  5586. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5587. break 2
  5588. fi
  5589. done
  5590. done
  5591. IFS=$as_save_IFS
  5592. fi
  5593. fi
  5594. ac_ct_AR=$ac_cv_prog_ac_ct_AR
  5595. if test -n "$ac_ct_AR"; then
  5596. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
  5597. $as_echo "$ac_ct_AR" >&6; }
  5598. else
  5599. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5600. $as_echo "no" >&6; }
  5601. fi
  5602. test -n "$ac_ct_AR" && break
  5603. done
  5604. if test "x$ac_ct_AR" = x; then
  5605. AR="false"
  5606. else
  5607. case $cross_compiling:$ac_tool_warned in
  5608. yes:)
  5609. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  5610. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  5611. ac_tool_warned=yes ;;
  5612. esac
  5613. AR=$ac_ct_AR
  5614. fi
  5615. fi
  5616. : ${AR=ar}
  5617. : ${AR_FLAGS=cru}
  5618. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
  5619. $as_echo_n "checking for archiver @FILE support... " >&6; }
  5620. if ${lt_cv_ar_at_file+:} false; then :
  5621. $as_echo_n "(cached) " >&6
  5622. else
  5623. lt_cv_ar_at_file=no
  5624. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5625. /* end confdefs.h. */
  5626. int
  5627. main ()
  5628. {
  5629. ;
  5630. return 0;
  5631. }
  5632. _ACEOF
  5633. if ac_fn_cxx_try_compile "$LINENO"; then :
  5634. echo conftest.$ac_objext > conftest.lst
  5635. lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
  5636. { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
  5637. (eval $lt_ar_try) 2>&5
  5638. ac_status=$?
  5639. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  5640. test $ac_status = 0; }
  5641. if test "$ac_status" -eq 0; then
  5642. # Ensure the archiver fails upon bogus file names.
  5643. rm -f conftest.$ac_objext libconftest.a
  5644. { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
  5645. (eval $lt_ar_try) 2>&5
  5646. ac_status=$?
  5647. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  5648. test $ac_status = 0; }
  5649. if test "$ac_status" -ne 0; then
  5650. lt_cv_ar_at_file=@
  5651. fi
  5652. fi
  5653. rm -f conftest.* libconftest.a
  5654. fi
  5655. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5656. fi
  5657. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
  5658. $as_echo "$lt_cv_ar_at_file" >&6; }
  5659. if test "x$lt_cv_ar_at_file" = xno; then
  5660. archiver_list_spec=
  5661. else
  5662. archiver_list_spec=$lt_cv_ar_at_file
  5663. fi
  5664. if test -n "$ac_tool_prefix"; then
  5665. # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  5666. set dummy ${ac_tool_prefix}strip; ac_word=$2
  5667. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5668. $as_echo_n "checking for $ac_word... " >&6; }
  5669. if ${ac_cv_prog_STRIP+:} false; then :
  5670. $as_echo_n "(cached) " >&6
  5671. else
  5672. if test -n "$STRIP"; then
  5673. ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  5674. else
  5675. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5676. for as_dir in $PATH
  5677. do
  5678. IFS=$as_save_IFS
  5679. test -z "$as_dir" && as_dir=.
  5680. for ac_exec_ext in '' $ac_executable_extensions; do
  5681. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5682. ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  5683. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5684. break 2
  5685. fi
  5686. done
  5687. done
  5688. IFS=$as_save_IFS
  5689. fi
  5690. fi
  5691. STRIP=$ac_cv_prog_STRIP
  5692. if test -n "$STRIP"; then
  5693. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
  5694. $as_echo "$STRIP" >&6; }
  5695. else
  5696. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5697. $as_echo "no" >&6; }
  5698. fi
  5699. fi
  5700. if test -z "$ac_cv_prog_STRIP"; then
  5701. ac_ct_STRIP=$STRIP
  5702. # Extract the first word of "strip", so it can be a program name with args.
  5703. set dummy strip; ac_word=$2
  5704. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5705. $as_echo_n "checking for $ac_word... " >&6; }
  5706. if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
  5707. $as_echo_n "(cached) " >&6
  5708. else
  5709. if test -n "$ac_ct_STRIP"; then
  5710. ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  5711. else
  5712. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5713. for as_dir in $PATH
  5714. do
  5715. IFS=$as_save_IFS
  5716. test -z "$as_dir" && as_dir=.
  5717. for ac_exec_ext in '' $ac_executable_extensions; do
  5718. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5719. ac_cv_prog_ac_ct_STRIP="strip"
  5720. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5721. break 2
  5722. fi
  5723. done
  5724. done
  5725. IFS=$as_save_IFS
  5726. fi
  5727. fi
  5728. ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  5729. if test -n "$ac_ct_STRIP"; then
  5730. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
  5731. $as_echo "$ac_ct_STRIP" >&6; }
  5732. else
  5733. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5734. $as_echo "no" >&6; }
  5735. fi
  5736. if test "x$ac_ct_STRIP" = x; then
  5737. STRIP=":"
  5738. else
  5739. case $cross_compiling:$ac_tool_warned in
  5740. yes:)
  5741. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  5742. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  5743. ac_tool_warned=yes ;;
  5744. esac
  5745. STRIP=$ac_ct_STRIP
  5746. fi
  5747. else
  5748. STRIP="$ac_cv_prog_STRIP"
  5749. fi
  5750. test -z "$STRIP" && STRIP=:
  5751. if test -n "$ac_tool_prefix"; then
  5752. # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
  5753. set dummy ${ac_tool_prefix}ranlib; ac_word=$2
  5754. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5755. $as_echo_n "checking for $ac_word... " >&6; }
  5756. if ${ac_cv_prog_RANLIB+:} false; then :
  5757. $as_echo_n "(cached) " >&6
  5758. else
  5759. if test -n "$RANLIB"; then
  5760. ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
  5761. else
  5762. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5763. for as_dir in $PATH
  5764. do
  5765. IFS=$as_save_IFS
  5766. test -z "$as_dir" && as_dir=.
  5767. for ac_exec_ext in '' $ac_executable_extensions; do
  5768. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5769. ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
  5770. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5771. break 2
  5772. fi
  5773. done
  5774. done
  5775. IFS=$as_save_IFS
  5776. fi
  5777. fi
  5778. RANLIB=$ac_cv_prog_RANLIB
  5779. if test -n "$RANLIB"; then
  5780. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
  5781. $as_echo "$RANLIB" >&6; }
  5782. else
  5783. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5784. $as_echo "no" >&6; }
  5785. fi
  5786. fi
  5787. if test -z "$ac_cv_prog_RANLIB"; then
  5788. ac_ct_RANLIB=$RANLIB
  5789. # Extract the first word of "ranlib", so it can be a program name with args.
  5790. set dummy ranlib; ac_word=$2
  5791. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5792. $as_echo_n "checking for $ac_word... " >&6; }
  5793. if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
  5794. $as_echo_n "(cached) " >&6
  5795. else
  5796. if test -n "$ac_ct_RANLIB"; then
  5797. ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
  5798. else
  5799. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5800. for as_dir in $PATH
  5801. do
  5802. IFS=$as_save_IFS
  5803. test -z "$as_dir" && as_dir=.
  5804. for ac_exec_ext in '' $ac_executable_extensions; do
  5805. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5806. ac_cv_prog_ac_ct_RANLIB="ranlib"
  5807. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5808. break 2
  5809. fi
  5810. done
  5811. done
  5812. IFS=$as_save_IFS
  5813. fi
  5814. fi
  5815. ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
  5816. if test -n "$ac_ct_RANLIB"; then
  5817. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
  5818. $as_echo "$ac_ct_RANLIB" >&6; }
  5819. else
  5820. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5821. $as_echo "no" >&6; }
  5822. fi
  5823. if test "x$ac_ct_RANLIB" = x; then
  5824. RANLIB=":"
  5825. else
  5826. case $cross_compiling:$ac_tool_warned in
  5827. yes:)
  5828. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  5829. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  5830. ac_tool_warned=yes ;;
  5831. esac
  5832. RANLIB=$ac_ct_RANLIB
  5833. fi
  5834. else
  5835. RANLIB="$ac_cv_prog_RANLIB"
  5836. fi
  5837. test -z "$RANLIB" && RANLIB=:
  5838. # Determine commands to create old-style static archives.
  5839. old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
  5840. old_postinstall_cmds='chmod 644 $oldlib'
  5841. old_postuninstall_cmds=
  5842. if test -n "$RANLIB"; then
  5843. case $host_os in
  5844. openbsd*)
  5845. old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
  5846. ;;
  5847. *)
  5848. old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
  5849. ;;
  5850. esac
  5851. old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
  5852. fi
  5853. case $host_os in
  5854. darwin*)
  5855. lock_old_archive_extraction=yes ;;
  5856. *)
  5857. lock_old_archive_extraction=no ;;
  5858. esac
  5859. # If no C compiler was specified, use CC.
  5860. LTCC=${LTCC-"$CC"}
  5861. # If no C compiler flags were specified, use CFLAGS.
  5862. LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
  5863. # Allow CC to be a program name with arguments.
  5864. compiler=$CC
  5865. # Check for command to grab the raw symbol name followed by C symbol from nm.
  5866. { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
  5867. $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
  5868. if ${lt_cv_sys_global_symbol_pipe+:} false; then :
  5869. $as_echo_n "(cached) " >&6
  5870. else
  5871. # These are sane defaults that work on at least a few old systems.
  5872. # [They come from Ultrix. What could be older than Ultrix?!! ;)]
  5873. # Character class describing NM global symbol codes.
  5874. symcode='[BCDEGRST]'
  5875. # Regexp to match symbols that can be accessed directly from C.
  5876. sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
  5877. # Define system-specific variables.
  5878. case $host_os in
  5879. aix*)
  5880. symcode='[BCDT]'
  5881. ;;
  5882. cygwin* | mingw* | pw32* | cegcc*)
  5883. symcode='[ABCDGISTW]'
  5884. ;;
  5885. hpux*)
  5886. if test "$host_cpu" = ia64; then
  5887. symcode='[ABCDEGRST]'
  5888. fi
  5889. ;;
  5890. irix* | nonstopux*)
  5891. symcode='[BCDEGRST]'
  5892. ;;
  5893. osf*)
  5894. symcode='[BCDEGQRST]'
  5895. ;;
  5896. solaris*)
  5897. symcode='[BDRT]'
  5898. ;;
  5899. sco3.2v5*)
  5900. symcode='[DT]'
  5901. ;;
  5902. sysv4.2uw2*)
  5903. symcode='[DT]'
  5904. ;;
  5905. sysv5* | sco5v6* | unixware* | OpenUNIX*)
  5906. symcode='[ABDT]'
  5907. ;;
  5908. sysv4)
  5909. symcode='[DFNSTU]'
  5910. ;;
  5911. esac
  5912. # If we're using GNU nm, then use its standard symbol codes.
  5913. case `$NM -V 2>&1` in
  5914. *GNU* | *'with BFD'*)
  5915. symcode='[ABCDGIRSTW]' ;;
  5916. esac
  5917. # Transform an extracted symbol line into a proper C declaration.
  5918. # Some systems (esp. on ia64) link data and code symbols differently,
  5919. # so use this general approach.
  5920. lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
  5921. # Transform an extracted symbol line into symbol name and symbol address
  5922. lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
  5923. lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
  5924. # Handle CRLF in mingw tool chain
  5925. opt_cr=
  5926. case $build_os in
  5927. mingw*)
  5928. opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
  5929. ;;
  5930. esac
  5931. # Try without a prefix underscore, then with it.
  5932. for ac_symprfx in "" "_"; do
  5933. # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
  5934. symxfrm="\\1 $ac_symprfx\\2 \\2"
  5935. # Write the raw and C identifiers.
  5936. if test "$lt_cv_nm_interface" = "MS dumpbin"; then
  5937. # Fake it for dumpbin and say T for any non-static function
  5938. # and D for any global variable.
  5939. # Also find C++ and __fastcall symbols from MSVC++,
  5940. # which start with @ or ?.
  5941. lt_cv_sys_global_symbol_pipe="$AWK '"\
  5942. " {last_section=section; section=\$ 3};"\
  5943. " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
  5944. " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
  5945. " \$ 0!~/External *\|/{next};"\
  5946. " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
  5947. " {if(hide[section]) next};"\
  5948. " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
  5949. " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
  5950. " s[1]~/^[@?]/{print s[1], s[1]; next};"\
  5951. " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
  5952. " ' prfx=^$ac_symprfx"
  5953. else
  5954. lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
  5955. fi
  5956. lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
  5957. # Check to see that the pipe works correctly.
  5958. pipe_works=no
  5959. rm -f conftest*
  5960. cat > conftest.$ac_ext <<_LT_EOF
  5961. #ifdef __cplusplus
  5962. extern "C" {
  5963. #endif
  5964. char nm_test_var;
  5965. void nm_test_func(void);
  5966. void nm_test_func(void){}
  5967. #ifdef __cplusplus
  5968. }
  5969. #endif
  5970. int main(){nm_test_var='a';nm_test_func();return(0);}
  5971. _LT_EOF
  5972. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  5973. (eval $ac_compile) 2>&5
  5974. ac_status=$?
  5975. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  5976. test $ac_status = 0; }; then
  5977. # Now try to grab the symbols.
  5978. nlist=conftest.nm
  5979. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
  5980. (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
  5981. ac_status=$?
  5982. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  5983. test $ac_status = 0; } && test -s "$nlist"; then
  5984. # Try sorting and uniquifying the output.
  5985. if sort "$nlist" | uniq > "$nlist"T; then
  5986. mv -f "$nlist"T "$nlist"
  5987. else
  5988. rm -f "$nlist"T
  5989. fi
  5990. # Make sure that we snagged all the symbols we need.
  5991. if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
  5992. if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
  5993. cat <<_LT_EOF > conftest.$ac_ext
  5994. /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
  5995. #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
  5996. /* DATA imports from DLLs on WIN32 con't be const, because runtime
  5997. relocations are performed -- see ld's documentation on pseudo-relocs. */
  5998. # define LT_DLSYM_CONST
  5999. #elif defined(__osf__)
  6000. /* This system does not cope well with relocations in const data. */
  6001. # define LT_DLSYM_CONST
  6002. #else
  6003. # define LT_DLSYM_CONST const
  6004. #endif
  6005. #ifdef __cplusplus
  6006. extern "C" {
  6007. #endif
  6008. _LT_EOF
  6009. # Now generate the symbol file.
  6010. eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
  6011. cat <<_LT_EOF >> conftest.$ac_ext
  6012. /* The mapping between symbol names and symbols. */
  6013. LT_DLSYM_CONST struct {
  6014. const char *name;
  6015. void *address;
  6016. }
  6017. lt__PROGRAM__LTX_preloaded_symbols[] =
  6018. {
  6019. { "@PROGRAM@", (void *) 0 },
  6020. _LT_EOF
  6021. $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
  6022. cat <<\_LT_EOF >> conftest.$ac_ext
  6023. {0, (void *) 0}
  6024. };
  6025. /* This works around a problem in FreeBSD linker */
  6026. #ifdef FREEBSD_WORKAROUND
  6027. static const void *lt_preloaded_setup() {
  6028. return lt__PROGRAM__LTX_preloaded_symbols;
  6029. }
  6030. #endif
  6031. #ifdef __cplusplus
  6032. }
  6033. #endif
  6034. _LT_EOF
  6035. # Now try linking the two files.
  6036. mv conftest.$ac_objext conftstm.$ac_objext
  6037. lt_globsym_save_LIBS=$LIBS
  6038. lt_globsym_save_CFLAGS=$CFLAGS
  6039. LIBS="conftstm.$ac_objext"
  6040. CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
  6041. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  6042. (eval $ac_link) 2>&5
  6043. ac_status=$?
  6044. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  6045. test $ac_status = 0; } && test -s conftest${ac_exeext}; then
  6046. pipe_works=yes
  6047. fi
  6048. LIBS=$lt_globsym_save_LIBS
  6049. CFLAGS=$lt_globsym_save_CFLAGS
  6050. else
  6051. echo "cannot find nm_test_func in $nlist" >&5
  6052. fi
  6053. else
  6054. echo "cannot find nm_test_var in $nlist" >&5
  6055. fi
  6056. else
  6057. echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
  6058. fi
  6059. else
  6060. echo "$progname: failed program was:" >&5
  6061. cat conftest.$ac_ext >&5
  6062. fi
  6063. rm -rf conftest* conftst*
  6064. # Do not use the global_symbol_pipe unless it works.
  6065. if test "$pipe_works" = yes; then
  6066. break
  6067. else
  6068. lt_cv_sys_global_symbol_pipe=
  6069. fi
  6070. done
  6071. fi
  6072. if test -z "$lt_cv_sys_global_symbol_pipe"; then
  6073. lt_cv_sys_global_symbol_to_cdecl=
  6074. fi
  6075. if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
  6076. { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
  6077. $as_echo "failed" >&6; }
  6078. else
  6079. { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
  6080. $as_echo "ok" >&6; }
  6081. fi
  6082. # Response file support.
  6083. if test "$lt_cv_nm_interface" = "MS dumpbin"; then
  6084. nm_file_list_spec='@'
  6085. elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
  6086. nm_file_list_spec='@'
  6087. fi
  6088. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
  6089. $as_echo_n "checking for sysroot... " >&6; }
  6090. # Check whether --with-sysroot was given.
  6091. if test "${with_sysroot+set}" = set; then :
  6092. withval=$with_sysroot;
  6093. else
  6094. with_sysroot=no
  6095. fi
  6096. lt_sysroot=
  6097. case ${with_sysroot} in #(
  6098. yes)
  6099. if test "$GCC" = yes; then
  6100. lt_sysroot=`$CC --print-sysroot 2>/dev/null`
  6101. fi
  6102. ;; #(
  6103. /*)
  6104. lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
  6105. ;; #(
  6106. no|'')
  6107. ;; #(
  6108. *)
  6109. { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
  6110. $as_echo "${with_sysroot}" >&6; }
  6111. as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
  6112. ;;
  6113. esac
  6114. { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
  6115. $as_echo "${lt_sysroot:-no}" >&6; }
  6116. # Check whether --enable-libtool-lock was given.
  6117. if test "${enable_libtool_lock+set}" = set; then :
  6118. enableval=$enable_libtool_lock;
  6119. fi
  6120. test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
  6121. # Some flags need to be propagated to the compiler or linker for good
  6122. # libtool support.
  6123. case $host in
  6124. ia64-*-hpux*)
  6125. # Find out which ABI we are using.
  6126. echo 'int i;' > conftest.$ac_ext
  6127. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  6128. (eval $ac_compile) 2>&5
  6129. ac_status=$?
  6130. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  6131. test $ac_status = 0; }; then
  6132. case `/usr/bin/file conftest.$ac_objext` in
  6133. *ELF-32*)
  6134. HPUX_IA64_MODE="32"
  6135. ;;
  6136. *ELF-64*)
  6137. HPUX_IA64_MODE="64"
  6138. ;;
  6139. esac
  6140. fi
  6141. rm -rf conftest*
  6142. ;;
  6143. *-*-irix6*)
  6144. # Find out which ABI we are using.
  6145. echo '#line '$LINENO' "configure"' > conftest.$ac_ext
  6146. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  6147. (eval $ac_compile) 2>&5
  6148. ac_status=$?
  6149. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  6150. test $ac_status = 0; }; then
  6151. if test "$lt_cv_prog_gnu_ld" = yes; then
  6152. case `/usr/bin/file conftest.$ac_objext` in
  6153. *32-bit*)
  6154. LD="${LD-ld} -melf32bsmip"
  6155. ;;
  6156. *N32*)
  6157. LD="${LD-ld} -melf32bmipn32"
  6158. ;;
  6159. *64-bit*)
  6160. LD="${LD-ld} -melf64bmip"
  6161. ;;
  6162. esac
  6163. else
  6164. case `/usr/bin/file conftest.$ac_objext` in
  6165. *32-bit*)
  6166. LD="${LD-ld} -32"
  6167. ;;
  6168. *N32*)
  6169. LD="${LD-ld} -n32"
  6170. ;;
  6171. *64-bit*)
  6172. LD="${LD-ld} -64"
  6173. ;;
  6174. esac
  6175. fi
  6176. fi
  6177. rm -rf conftest*
  6178. ;;
  6179. x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
  6180. s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
  6181. # Find out which ABI we are using.
  6182. echo 'int i;' > conftest.$ac_ext
  6183. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  6184. (eval $ac_compile) 2>&5
  6185. ac_status=$?
  6186. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  6187. test $ac_status = 0; }; then
  6188. case `/usr/bin/file conftest.o` in
  6189. *32-bit*)
  6190. case $host in
  6191. x86_64-*kfreebsd*-gnu)
  6192. LD="${LD-ld} -m elf_i386_fbsd"
  6193. ;;
  6194. x86_64-*linux*)
  6195. case `/usr/bin/file conftest.o` in
  6196. *x86-64*)
  6197. LD="${LD-ld} -m elf32_x86_64"
  6198. ;;
  6199. *)
  6200. LD="${LD-ld} -m elf_i386"
  6201. ;;
  6202. esac
  6203. ;;
  6204. powerpc64le-*)
  6205. LD="${LD-ld} -m elf32lppclinux"
  6206. ;;
  6207. powerpc64-*)
  6208. LD="${LD-ld} -m elf32ppclinux"
  6209. ;;
  6210. s390x-*linux*)
  6211. LD="${LD-ld} -m elf_s390"
  6212. ;;
  6213. sparc64-*linux*)
  6214. LD="${LD-ld} -m elf32_sparc"
  6215. ;;
  6216. esac
  6217. ;;
  6218. *64-bit*)
  6219. case $host in
  6220. x86_64-*kfreebsd*-gnu)
  6221. LD="${LD-ld} -m elf_x86_64_fbsd"
  6222. ;;
  6223. x86_64-*linux*)
  6224. LD="${LD-ld} -m elf_x86_64"
  6225. ;;
  6226. powerpcle-*)
  6227. LD="${LD-ld} -m elf64lppc"
  6228. ;;
  6229. powerpc-*)
  6230. LD="${LD-ld} -m elf64ppc"
  6231. ;;
  6232. s390*-*linux*|s390*-*tpf*)
  6233. LD="${LD-ld} -m elf64_s390"
  6234. ;;
  6235. sparc*-*linux*)
  6236. LD="${LD-ld} -m elf64_sparc"
  6237. ;;
  6238. esac
  6239. ;;
  6240. esac
  6241. fi
  6242. rm -rf conftest*
  6243. ;;
  6244. *-*-sco3.2v5*)
  6245. # On SCO OpenServer 5, we need -belf to get full-featured binaries.
  6246. SAVE_CFLAGS="$CFLAGS"
  6247. CFLAGS="$CFLAGS -belf"
  6248. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
  6249. $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
  6250. if ${lt_cv_cc_needs_belf+:} false; then :
  6251. $as_echo_n "(cached) " >&6
  6252. else
  6253. ac_ext=c
  6254. ac_cpp='$CPP $CPPFLAGS'
  6255. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  6256. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  6257. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  6258. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6259. /* end confdefs.h. */
  6260. int
  6261. main ()
  6262. {
  6263. ;
  6264. return 0;
  6265. }
  6266. _ACEOF
  6267. if ac_fn_c_try_link "$LINENO"; then :
  6268. lt_cv_cc_needs_belf=yes
  6269. else
  6270. lt_cv_cc_needs_belf=no
  6271. fi
  6272. rm -f core conftest.err conftest.$ac_objext \
  6273. conftest$ac_exeext conftest.$ac_ext
  6274. ac_ext=c
  6275. ac_cpp='$CPP $CPPFLAGS'
  6276. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  6277. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  6278. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  6279. fi
  6280. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
  6281. $as_echo "$lt_cv_cc_needs_belf" >&6; }
  6282. if test x"$lt_cv_cc_needs_belf" != x"yes"; then
  6283. # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
  6284. CFLAGS="$SAVE_CFLAGS"
  6285. fi
  6286. ;;
  6287. *-*solaris*)
  6288. # Find out which ABI we are using.
  6289. echo 'int i;' > conftest.$ac_ext
  6290. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  6291. (eval $ac_compile) 2>&5
  6292. ac_status=$?
  6293. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  6294. test $ac_status = 0; }; then
  6295. case `/usr/bin/file conftest.o` in
  6296. *64-bit*)
  6297. case $lt_cv_prog_gnu_ld in
  6298. yes*)
  6299. case $host in
  6300. i?86-*-solaris*)
  6301. LD="${LD-ld} -m elf_x86_64"
  6302. ;;
  6303. sparc*-*-solaris*)
  6304. LD="${LD-ld} -m elf64_sparc"
  6305. ;;
  6306. esac
  6307. # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
  6308. if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
  6309. LD="${LD-ld}_sol2"
  6310. fi
  6311. ;;
  6312. *)
  6313. if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
  6314. LD="${LD-ld} -64"
  6315. fi
  6316. ;;
  6317. esac
  6318. ;;
  6319. esac
  6320. fi
  6321. rm -rf conftest*
  6322. ;;
  6323. esac
  6324. need_locks="$enable_libtool_lock"
  6325. if test -n "$ac_tool_prefix"; then
  6326. # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
  6327. set dummy ${ac_tool_prefix}mt; ac_word=$2
  6328. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6329. $as_echo_n "checking for $ac_word... " >&6; }
  6330. if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
  6331. $as_echo_n "(cached) " >&6
  6332. else
  6333. if test -n "$MANIFEST_TOOL"; then
  6334. ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
  6335. else
  6336. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6337. for as_dir in $PATH
  6338. do
  6339. IFS=$as_save_IFS
  6340. test -z "$as_dir" && as_dir=.
  6341. for ac_exec_ext in '' $ac_executable_extensions; do
  6342. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6343. ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
  6344. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6345. break 2
  6346. fi
  6347. done
  6348. done
  6349. IFS=$as_save_IFS
  6350. fi
  6351. fi
  6352. MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
  6353. if test -n "$MANIFEST_TOOL"; then
  6354. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
  6355. $as_echo "$MANIFEST_TOOL" >&6; }
  6356. else
  6357. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6358. $as_echo "no" >&6; }
  6359. fi
  6360. fi
  6361. if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
  6362. ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
  6363. # Extract the first word of "mt", so it can be a program name with args.
  6364. set dummy mt; ac_word=$2
  6365. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6366. $as_echo_n "checking for $ac_word... " >&6; }
  6367. if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
  6368. $as_echo_n "(cached) " >&6
  6369. else
  6370. if test -n "$ac_ct_MANIFEST_TOOL"; then
  6371. ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
  6372. else
  6373. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6374. for as_dir in $PATH
  6375. do
  6376. IFS=$as_save_IFS
  6377. test -z "$as_dir" && as_dir=.
  6378. for ac_exec_ext in '' $ac_executable_extensions; do
  6379. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6380. ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
  6381. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6382. break 2
  6383. fi
  6384. done
  6385. done
  6386. IFS=$as_save_IFS
  6387. fi
  6388. fi
  6389. ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
  6390. if test -n "$ac_ct_MANIFEST_TOOL"; then
  6391. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
  6392. $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
  6393. else
  6394. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6395. $as_echo "no" >&6; }
  6396. fi
  6397. if test "x$ac_ct_MANIFEST_TOOL" = x; then
  6398. MANIFEST_TOOL=":"
  6399. else
  6400. case $cross_compiling:$ac_tool_warned in
  6401. yes:)
  6402. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  6403. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  6404. ac_tool_warned=yes ;;
  6405. esac
  6406. MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
  6407. fi
  6408. else
  6409. MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
  6410. fi
  6411. test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
  6412. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
  6413. $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
  6414. if ${lt_cv_path_mainfest_tool+:} false; then :
  6415. $as_echo_n "(cached) " >&6
  6416. else
  6417. lt_cv_path_mainfest_tool=no
  6418. echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
  6419. $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
  6420. cat conftest.err >&5
  6421. if $GREP 'Manifest Tool' conftest.out > /dev/null; then
  6422. lt_cv_path_mainfest_tool=yes
  6423. fi
  6424. rm -f conftest*
  6425. fi
  6426. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
  6427. $as_echo "$lt_cv_path_mainfest_tool" >&6; }
  6428. if test "x$lt_cv_path_mainfest_tool" != xyes; then
  6429. MANIFEST_TOOL=:
  6430. fi
  6431. case $host_os in
  6432. rhapsody* | darwin*)
  6433. if test -n "$ac_tool_prefix"; then
  6434. # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
  6435. set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
  6436. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6437. $as_echo_n "checking for $ac_word... " >&6; }
  6438. if ${ac_cv_prog_DSYMUTIL+:} false; then :
  6439. $as_echo_n "(cached) " >&6
  6440. else
  6441. if test -n "$DSYMUTIL"; then
  6442. ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
  6443. else
  6444. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6445. for as_dir in $PATH
  6446. do
  6447. IFS=$as_save_IFS
  6448. test -z "$as_dir" && as_dir=.
  6449. for ac_exec_ext in '' $ac_executable_extensions; do
  6450. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6451. ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
  6452. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6453. break 2
  6454. fi
  6455. done
  6456. done
  6457. IFS=$as_save_IFS
  6458. fi
  6459. fi
  6460. DSYMUTIL=$ac_cv_prog_DSYMUTIL
  6461. if test -n "$DSYMUTIL"; then
  6462. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
  6463. $as_echo "$DSYMUTIL" >&6; }
  6464. else
  6465. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6466. $as_echo "no" >&6; }
  6467. fi
  6468. fi
  6469. if test -z "$ac_cv_prog_DSYMUTIL"; then
  6470. ac_ct_DSYMUTIL=$DSYMUTIL
  6471. # Extract the first word of "dsymutil", so it can be a program name with args.
  6472. set dummy dsymutil; ac_word=$2
  6473. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6474. $as_echo_n "checking for $ac_word... " >&6; }
  6475. if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
  6476. $as_echo_n "(cached) " >&6
  6477. else
  6478. if test -n "$ac_ct_DSYMUTIL"; then
  6479. ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
  6480. else
  6481. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6482. for as_dir in $PATH
  6483. do
  6484. IFS=$as_save_IFS
  6485. test -z "$as_dir" && as_dir=.
  6486. for ac_exec_ext in '' $ac_executable_extensions; do
  6487. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6488. ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
  6489. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6490. break 2
  6491. fi
  6492. done
  6493. done
  6494. IFS=$as_save_IFS
  6495. fi
  6496. fi
  6497. ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
  6498. if test -n "$ac_ct_DSYMUTIL"; then
  6499. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
  6500. $as_echo "$ac_ct_DSYMUTIL" >&6; }
  6501. else
  6502. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6503. $as_echo "no" >&6; }
  6504. fi
  6505. if test "x$ac_ct_DSYMUTIL" = x; then
  6506. DSYMUTIL=":"
  6507. else
  6508. case $cross_compiling:$ac_tool_warned in
  6509. yes:)
  6510. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  6511. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  6512. ac_tool_warned=yes ;;
  6513. esac
  6514. DSYMUTIL=$ac_ct_DSYMUTIL
  6515. fi
  6516. else
  6517. DSYMUTIL="$ac_cv_prog_DSYMUTIL"
  6518. fi
  6519. if test -n "$ac_tool_prefix"; then
  6520. # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
  6521. set dummy ${ac_tool_prefix}nmedit; ac_word=$2
  6522. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6523. $as_echo_n "checking for $ac_word... " >&6; }
  6524. if ${ac_cv_prog_NMEDIT+:} false; then :
  6525. $as_echo_n "(cached) " >&6
  6526. else
  6527. if test -n "$NMEDIT"; then
  6528. ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
  6529. else
  6530. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6531. for as_dir in $PATH
  6532. do
  6533. IFS=$as_save_IFS
  6534. test -z "$as_dir" && as_dir=.
  6535. for ac_exec_ext in '' $ac_executable_extensions; do
  6536. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6537. ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
  6538. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6539. break 2
  6540. fi
  6541. done
  6542. done
  6543. IFS=$as_save_IFS
  6544. fi
  6545. fi
  6546. NMEDIT=$ac_cv_prog_NMEDIT
  6547. if test -n "$NMEDIT"; then
  6548. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
  6549. $as_echo "$NMEDIT" >&6; }
  6550. else
  6551. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6552. $as_echo "no" >&6; }
  6553. fi
  6554. fi
  6555. if test -z "$ac_cv_prog_NMEDIT"; then
  6556. ac_ct_NMEDIT=$NMEDIT
  6557. # Extract the first word of "nmedit", so it can be a program name with args.
  6558. set dummy nmedit; ac_word=$2
  6559. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6560. $as_echo_n "checking for $ac_word... " >&6; }
  6561. if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
  6562. $as_echo_n "(cached) " >&6
  6563. else
  6564. if test -n "$ac_ct_NMEDIT"; then
  6565. ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
  6566. else
  6567. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6568. for as_dir in $PATH
  6569. do
  6570. IFS=$as_save_IFS
  6571. test -z "$as_dir" && as_dir=.
  6572. for ac_exec_ext in '' $ac_executable_extensions; do
  6573. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6574. ac_cv_prog_ac_ct_NMEDIT="nmedit"
  6575. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6576. break 2
  6577. fi
  6578. done
  6579. done
  6580. IFS=$as_save_IFS
  6581. fi
  6582. fi
  6583. ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
  6584. if test -n "$ac_ct_NMEDIT"; then
  6585. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
  6586. $as_echo "$ac_ct_NMEDIT" >&6; }
  6587. else
  6588. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6589. $as_echo "no" >&6; }
  6590. fi
  6591. if test "x$ac_ct_NMEDIT" = x; then
  6592. NMEDIT=":"
  6593. else
  6594. case $cross_compiling:$ac_tool_warned in
  6595. yes:)
  6596. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  6597. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  6598. ac_tool_warned=yes ;;
  6599. esac
  6600. NMEDIT=$ac_ct_NMEDIT
  6601. fi
  6602. else
  6603. NMEDIT="$ac_cv_prog_NMEDIT"
  6604. fi
  6605. if test -n "$ac_tool_prefix"; then
  6606. # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
  6607. set dummy ${ac_tool_prefix}lipo; ac_word=$2
  6608. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6609. $as_echo_n "checking for $ac_word... " >&6; }
  6610. if ${ac_cv_prog_LIPO+:} false; then :
  6611. $as_echo_n "(cached) " >&6
  6612. else
  6613. if test -n "$LIPO"; then
  6614. ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
  6615. else
  6616. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6617. for as_dir in $PATH
  6618. do
  6619. IFS=$as_save_IFS
  6620. test -z "$as_dir" && as_dir=.
  6621. for ac_exec_ext in '' $ac_executable_extensions; do
  6622. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6623. ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
  6624. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6625. break 2
  6626. fi
  6627. done
  6628. done
  6629. IFS=$as_save_IFS
  6630. fi
  6631. fi
  6632. LIPO=$ac_cv_prog_LIPO
  6633. if test -n "$LIPO"; then
  6634. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
  6635. $as_echo "$LIPO" >&6; }
  6636. else
  6637. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6638. $as_echo "no" >&6; }
  6639. fi
  6640. fi
  6641. if test -z "$ac_cv_prog_LIPO"; then
  6642. ac_ct_LIPO=$LIPO
  6643. # Extract the first word of "lipo", so it can be a program name with args.
  6644. set dummy lipo; ac_word=$2
  6645. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6646. $as_echo_n "checking for $ac_word... " >&6; }
  6647. if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
  6648. $as_echo_n "(cached) " >&6
  6649. else
  6650. if test -n "$ac_ct_LIPO"; then
  6651. ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
  6652. else
  6653. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6654. for as_dir in $PATH
  6655. do
  6656. IFS=$as_save_IFS
  6657. test -z "$as_dir" && as_dir=.
  6658. for ac_exec_ext in '' $ac_executable_extensions; do
  6659. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6660. ac_cv_prog_ac_ct_LIPO="lipo"
  6661. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6662. break 2
  6663. fi
  6664. done
  6665. done
  6666. IFS=$as_save_IFS
  6667. fi
  6668. fi
  6669. ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
  6670. if test -n "$ac_ct_LIPO"; then
  6671. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
  6672. $as_echo "$ac_ct_LIPO" >&6; }
  6673. else
  6674. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6675. $as_echo "no" >&6; }
  6676. fi
  6677. if test "x$ac_ct_LIPO" = x; then
  6678. LIPO=":"
  6679. else
  6680. case $cross_compiling:$ac_tool_warned in
  6681. yes:)
  6682. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  6683. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  6684. ac_tool_warned=yes ;;
  6685. esac
  6686. LIPO=$ac_ct_LIPO
  6687. fi
  6688. else
  6689. LIPO="$ac_cv_prog_LIPO"
  6690. fi
  6691. if test -n "$ac_tool_prefix"; then
  6692. # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
  6693. set dummy ${ac_tool_prefix}otool; ac_word=$2
  6694. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6695. $as_echo_n "checking for $ac_word... " >&6; }
  6696. if ${ac_cv_prog_OTOOL+:} false; then :
  6697. $as_echo_n "(cached) " >&6
  6698. else
  6699. if test -n "$OTOOL"; then
  6700. ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
  6701. else
  6702. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6703. for as_dir in $PATH
  6704. do
  6705. IFS=$as_save_IFS
  6706. test -z "$as_dir" && as_dir=.
  6707. for ac_exec_ext in '' $ac_executable_extensions; do
  6708. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6709. ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
  6710. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6711. break 2
  6712. fi
  6713. done
  6714. done
  6715. IFS=$as_save_IFS
  6716. fi
  6717. fi
  6718. OTOOL=$ac_cv_prog_OTOOL
  6719. if test -n "$OTOOL"; then
  6720. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
  6721. $as_echo "$OTOOL" >&6; }
  6722. else
  6723. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6724. $as_echo "no" >&6; }
  6725. fi
  6726. fi
  6727. if test -z "$ac_cv_prog_OTOOL"; then
  6728. ac_ct_OTOOL=$OTOOL
  6729. # Extract the first word of "otool", so it can be a program name with args.
  6730. set dummy otool; ac_word=$2
  6731. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6732. $as_echo_n "checking for $ac_word... " >&6; }
  6733. if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
  6734. $as_echo_n "(cached) " >&6
  6735. else
  6736. if test -n "$ac_ct_OTOOL"; then
  6737. ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
  6738. else
  6739. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6740. for as_dir in $PATH
  6741. do
  6742. IFS=$as_save_IFS
  6743. test -z "$as_dir" && as_dir=.
  6744. for ac_exec_ext in '' $ac_executable_extensions; do
  6745. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6746. ac_cv_prog_ac_ct_OTOOL="otool"
  6747. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6748. break 2
  6749. fi
  6750. done
  6751. done
  6752. IFS=$as_save_IFS
  6753. fi
  6754. fi
  6755. ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
  6756. if test -n "$ac_ct_OTOOL"; then
  6757. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
  6758. $as_echo "$ac_ct_OTOOL" >&6; }
  6759. else
  6760. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6761. $as_echo "no" >&6; }
  6762. fi
  6763. if test "x$ac_ct_OTOOL" = x; then
  6764. OTOOL=":"
  6765. else
  6766. case $cross_compiling:$ac_tool_warned in
  6767. yes:)
  6768. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  6769. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  6770. ac_tool_warned=yes ;;
  6771. esac
  6772. OTOOL=$ac_ct_OTOOL
  6773. fi
  6774. else
  6775. OTOOL="$ac_cv_prog_OTOOL"
  6776. fi
  6777. if test -n "$ac_tool_prefix"; then
  6778. # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
  6779. set dummy ${ac_tool_prefix}otool64; ac_word=$2
  6780. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6781. $as_echo_n "checking for $ac_word... " >&6; }
  6782. if ${ac_cv_prog_OTOOL64+:} false; then :
  6783. $as_echo_n "(cached) " >&6
  6784. else
  6785. if test -n "$OTOOL64"; then
  6786. ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
  6787. else
  6788. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6789. for as_dir in $PATH
  6790. do
  6791. IFS=$as_save_IFS
  6792. test -z "$as_dir" && as_dir=.
  6793. for ac_exec_ext in '' $ac_executable_extensions; do
  6794. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6795. ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
  6796. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6797. break 2
  6798. fi
  6799. done
  6800. done
  6801. IFS=$as_save_IFS
  6802. fi
  6803. fi
  6804. OTOOL64=$ac_cv_prog_OTOOL64
  6805. if test -n "$OTOOL64"; then
  6806. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
  6807. $as_echo "$OTOOL64" >&6; }
  6808. else
  6809. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6810. $as_echo "no" >&6; }
  6811. fi
  6812. fi
  6813. if test -z "$ac_cv_prog_OTOOL64"; then
  6814. ac_ct_OTOOL64=$OTOOL64
  6815. # Extract the first word of "otool64", so it can be a program name with args.
  6816. set dummy otool64; ac_word=$2
  6817. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6818. $as_echo_n "checking for $ac_word... " >&6; }
  6819. if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
  6820. $as_echo_n "(cached) " >&6
  6821. else
  6822. if test -n "$ac_ct_OTOOL64"; then
  6823. ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
  6824. else
  6825. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6826. for as_dir in $PATH
  6827. do
  6828. IFS=$as_save_IFS
  6829. test -z "$as_dir" && as_dir=.
  6830. for ac_exec_ext in '' $ac_executable_extensions; do
  6831. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6832. ac_cv_prog_ac_ct_OTOOL64="otool64"
  6833. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6834. break 2
  6835. fi
  6836. done
  6837. done
  6838. IFS=$as_save_IFS
  6839. fi
  6840. fi
  6841. ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
  6842. if test -n "$ac_ct_OTOOL64"; then
  6843. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
  6844. $as_echo "$ac_ct_OTOOL64" >&6; }
  6845. else
  6846. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6847. $as_echo "no" >&6; }
  6848. fi
  6849. if test "x$ac_ct_OTOOL64" = x; then
  6850. OTOOL64=":"
  6851. else
  6852. case $cross_compiling:$ac_tool_warned in
  6853. yes:)
  6854. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  6855. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  6856. ac_tool_warned=yes ;;
  6857. esac
  6858. OTOOL64=$ac_ct_OTOOL64
  6859. fi
  6860. else
  6861. OTOOL64="$ac_cv_prog_OTOOL64"
  6862. fi
  6863. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
  6864. $as_echo_n "checking for -single_module linker flag... " >&6; }
  6865. if ${lt_cv_apple_cc_single_mod+:} false; then :
  6866. $as_echo_n "(cached) " >&6
  6867. else
  6868. lt_cv_apple_cc_single_mod=no
  6869. if test -z "${LT_MULTI_MODULE}"; then
  6870. # By default we will add the -single_module flag. You can override
  6871. # by either setting the environment variable LT_MULTI_MODULE
  6872. # non-empty at configure time, or by adding -multi_module to the
  6873. # link flags.
  6874. rm -rf libconftest.dylib*
  6875. echo "int foo(void){return 1;}" > conftest.c
  6876. echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
  6877. -dynamiclib -Wl,-single_module conftest.c" >&5
  6878. $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
  6879. -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
  6880. _lt_result=$?
  6881. # If there is a non-empty error log, and "single_module"
  6882. # appears in it, assume the flag caused a linker warning
  6883. if test -s conftest.err && $GREP single_module conftest.err; then
  6884. cat conftest.err >&5
  6885. # Otherwise, if the output was created with a 0 exit code from
  6886. # the compiler, it worked.
  6887. elif test -f libconftest.dylib && test $_lt_result -eq 0; then
  6888. lt_cv_apple_cc_single_mod=yes
  6889. else
  6890. cat conftest.err >&5
  6891. fi
  6892. rm -rf libconftest.dylib*
  6893. rm -f conftest.*
  6894. fi
  6895. fi
  6896. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
  6897. $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
  6898. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
  6899. $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
  6900. if ${lt_cv_ld_exported_symbols_list+:} false; then :
  6901. $as_echo_n "(cached) " >&6
  6902. else
  6903. lt_cv_ld_exported_symbols_list=no
  6904. save_LDFLAGS=$LDFLAGS
  6905. echo "_main" > conftest.sym
  6906. LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
  6907. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6908. /* end confdefs.h. */
  6909. int
  6910. main ()
  6911. {
  6912. ;
  6913. return 0;
  6914. }
  6915. _ACEOF
  6916. if ac_fn_c_try_link "$LINENO"; then :
  6917. lt_cv_ld_exported_symbols_list=yes
  6918. else
  6919. lt_cv_ld_exported_symbols_list=no
  6920. fi
  6921. rm -f core conftest.err conftest.$ac_objext \
  6922. conftest$ac_exeext conftest.$ac_ext
  6923. LDFLAGS="$save_LDFLAGS"
  6924. fi
  6925. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
  6926. $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
  6927. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
  6928. $as_echo_n "checking for -force_load linker flag... " >&6; }
  6929. if ${lt_cv_ld_force_load+:} false; then :
  6930. $as_echo_n "(cached) " >&6
  6931. else
  6932. lt_cv_ld_force_load=no
  6933. cat > conftest.c << _LT_EOF
  6934. int forced_loaded() { return 2;}
  6935. _LT_EOF
  6936. echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
  6937. $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
  6938. echo "$AR cru libconftest.a conftest.o" >&5
  6939. $AR cru libconftest.a conftest.o 2>&5
  6940. echo "$RANLIB libconftest.a" >&5
  6941. $RANLIB libconftest.a 2>&5
  6942. cat > conftest.c << _LT_EOF
  6943. int main() { return 0;}
  6944. _LT_EOF
  6945. echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
  6946. $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
  6947. _lt_result=$?
  6948. if test -s conftest.err && $GREP force_load conftest.err; then
  6949. cat conftest.err >&5
  6950. elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
  6951. lt_cv_ld_force_load=yes
  6952. else
  6953. cat conftest.err >&5
  6954. fi
  6955. rm -f conftest.err libconftest.a conftest conftest.c
  6956. rm -rf conftest.dSYM
  6957. fi
  6958. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
  6959. $as_echo "$lt_cv_ld_force_load" >&6; }
  6960. case $host_os in
  6961. rhapsody* | darwin1.[012])
  6962. _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
  6963. darwin1.*)
  6964. _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
  6965. darwin*) # darwin 5.x on
  6966. # if running on 10.5 or later, the deployment target defaults
  6967. # to the OS version, if on x86, and 10.4, the deployment
  6968. # target defaults to 10.4. Don't you love it?
  6969. case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
  6970. 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
  6971. _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
  6972. 10.[012]*)
  6973. _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
  6974. 10.*)
  6975. _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
  6976. esac
  6977. ;;
  6978. esac
  6979. if test "$lt_cv_apple_cc_single_mod" = "yes"; then
  6980. _lt_dar_single_mod='$single_module'
  6981. fi
  6982. if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
  6983. _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
  6984. else
  6985. _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
  6986. fi
  6987. if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
  6988. _lt_dsymutil='~$DSYMUTIL $lib || :'
  6989. else
  6990. _lt_dsymutil=
  6991. fi
  6992. ;;
  6993. esac
  6994. ac_ext=c
  6995. ac_cpp='$CPP $CPPFLAGS'
  6996. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  6997. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  6998. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  6999. { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
  7000. $as_echo_n "checking how to run the C preprocessor... " >&6; }
  7001. # On Suns, sometimes $CPP names a directory.
  7002. if test -n "$CPP" && test -d "$CPP"; then
  7003. CPP=
  7004. fi
  7005. if test -z "$CPP"; then
  7006. if ${ac_cv_prog_CPP+:} false; then :
  7007. $as_echo_n "(cached) " >&6
  7008. else
  7009. # Double quotes because CPP needs to be expanded
  7010. for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
  7011. do
  7012. ac_preproc_ok=false
  7013. for ac_c_preproc_warn_flag in '' yes
  7014. do
  7015. # Use a header file that comes with gcc, so configuring glibc
  7016. # with a fresh cross-compiler works.
  7017. # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  7018. # <limits.h> exists even on freestanding compilers.
  7019. # On the NeXT, cc -E runs the code through the compiler's parser,
  7020. # not just through cpp. "Syntax error" is here to catch this case.
  7021. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7022. /* end confdefs.h. */
  7023. #ifdef __STDC__
  7024. # include <limits.h>
  7025. #else
  7026. # include <assert.h>
  7027. #endif
  7028. Syntax error
  7029. _ACEOF
  7030. if ac_fn_c_try_cpp "$LINENO"; then :
  7031. else
  7032. # Broken: fails on valid input.
  7033. continue
  7034. fi
  7035. rm -f conftest.err conftest.i conftest.$ac_ext
  7036. # OK, works on sane cases. Now check whether nonexistent headers
  7037. # can be detected and how.
  7038. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7039. /* end confdefs.h. */
  7040. #include <ac_nonexistent.h>
  7041. _ACEOF
  7042. if ac_fn_c_try_cpp "$LINENO"; then :
  7043. # Broken: success on invalid input.
  7044. continue
  7045. else
  7046. # Passes both tests.
  7047. ac_preproc_ok=:
  7048. break
  7049. fi
  7050. rm -f conftest.err conftest.i conftest.$ac_ext
  7051. done
  7052. # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  7053. rm -f conftest.i conftest.err conftest.$ac_ext
  7054. if $ac_preproc_ok; then :
  7055. break
  7056. fi
  7057. done
  7058. ac_cv_prog_CPP=$CPP
  7059. fi
  7060. CPP=$ac_cv_prog_CPP
  7061. else
  7062. ac_cv_prog_CPP=$CPP
  7063. fi
  7064. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
  7065. $as_echo "$CPP" >&6; }
  7066. ac_preproc_ok=false
  7067. for ac_c_preproc_warn_flag in '' yes
  7068. do
  7069. # Use a header file that comes with gcc, so configuring glibc
  7070. # with a fresh cross-compiler works.
  7071. # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  7072. # <limits.h> exists even on freestanding compilers.
  7073. # On the NeXT, cc -E runs the code through the compiler's parser,
  7074. # not just through cpp. "Syntax error" is here to catch this case.
  7075. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7076. /* end confdefs.h. */
  7077. #ifdef __STDC__
  7078. # include <limits.h>
  7079. #else
  7080. # include <assert.h>
  7081. #endif
  7082. Syntax error
  7083. _ACEOF
  7084. if ac_fn_c_try_cpp "$LINENO"; then :
  7085. else
  7086. # Broken: fails on valid input.
  7087. continue
  7088. fi
  7089. rm -f conftest.err conftest.i conftest.$ac_ext
  7090. # OK, works on sane cases. Now check whether nonexistent headers
  7091. # can be detected and how.
  7092. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7093. /* end confdefs.h. */
  7094. #include <ac_nonexistent.h>
  7095. _ACEOF
  7096. if ac_fn_c_try_cpp "$LINENO"; then :
  7097. # Broken: success on invalid input.
  7098. continue
  7099. else
  7100. # Passes both tests.
  7101. ac_preproc_ok=:
  7102. break
  7103. fi
  7104. rm -f conftest.err conftest.i conftest.$ac_ext
  7105. done
  7106. # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  7107. rm -f conftest.i conftest.err conftest.$ac_ext
  7108. if $ac_preproc_ok; then :
  7109. else
  7110. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  7111. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  7112. as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
  7113. See \`config.log' for more details" "$LINENO" 5; }
  7114. fi
  7115. ac_ext=c
  7116. ac_cpp='$CPP $CPPFLAGS'
  7117. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  7118. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  7119. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  7120. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
  7121. $as_echo_n "checking for ANSI C header files... " >&6; }
  7122. if ${ac_cv_header_stdc+:} false; then :
  7123. $as_echo_n "(cached) " >&6
  7124. else
  7125. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7126. /* end confdefs.h. */
  7127. #include <stdlib.h>
  7128. #include <stdarg.h>
  7129. #include <string.h>
  7130. #include <float.h>
  7131. int
  7132. main ()
  7133. {
  7134. ;
  7135. return 0;
  7136. }
  7137. _ACEOF
  7138. if ac_fn_c_try_compile "$LINENO"; then :
  7139. ac_cv_header_stdc=yes
  7140. else
  7141. ac_cv_header_stdc=no
  7142. fi
  7143. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  7144. if test $ac_cv_header_stdc = yes; then
  7145. # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  7146. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7147. /* end confdefs.h. */
  7148. #include <string.h>
  7149. _ACEOF
  7150. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  7151. $EGREP "memchr" >/dev/null 2>&1; then :
  7152. else
  7153. ac_cv_header_stdc=no
  7154. fi
  7155. rm -f conftest*
  7156. fi
  7157. if test $ac_cv_header_stdc = yes; then
  7158. # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  7159. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7160. /* end confdefs.h. */
  7161. #include <stdlib.h>
  7162. _ACEOF
  7163. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  7164. $EGREP "free" >/dev/null 2>&1; then :
  7165. else
  7166. ac_cv_header_stdc=no
  7167. fi
  7168. rm -f conftest*
  7169. fi
  7170. if test $ac_cv_header_stdc = yes; then
  7171. # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  7172. if test "$cross_compiling" = yes; then :
  7173. :
  7174. else
  7175. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7176. /* end confdefs.h. */
  7177. #include <ctype.h>
  7178. #include <stdlib.h>
  7179. #if ((' ' & 0x0FF) == 0x020)
  7180. # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  7181. # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  7182. #else
  7183. # define ISLOWER(c) \
  7184. (('a' <= (c) && (c) <= 'i') \
  7185. || ('j' <= (c) && (c) <= 'r') \
  7186. || ('s' <= (c) && (c) <= 'z'))
  7187. # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
  7188. #endif
  7189. #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  7190. int
  7191. main ()
  7192. {
  7193. int i;
  7194. for (i = 0; i < 256; i++)
  7195. if (XOR (islower (i), ISLOWER (i))
  7196. || toupper (i) != TOUPPER (i))
  7197. return 2;
  7198. return 0;
  7199. }
  7200. _ACEOF
  7201. if ac_fn_c_try_run "$LINENO"; then :
  7202. else
  7203. ac_cv_header_stdc=no
  7204. fi
  7205. rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  7206. conftest.$ac_objext conftest.beam conftest.$ac_ext
  7207. fi
  7208. fi
  7209. fi
  7210. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
  7211. $as_echo "$ac_cv_header_stdc" >&6; }
  7212. if test $ac_cv_header_stdc = yes; then
  7213. $as_echo "#define STDC_HEADERS 1" >>confdefs.h
  7214. fi
  7215. # On IRIX 5.3, sys/types and inttypes.h are conflicting.
  7216. for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
  7217. inttypes.h stdint.h unistd.h
  7218. do :
  7219. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  7220. ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
  7221. "
  7222. if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
  7223. cat >>confdefs.h <<_ACEOF
  7224. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  7225. _ACEOF
  7226. fi
  7227. done
  7228. for ac_header in dlfcn.h
  7229. do :
  7230. ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
  7231. "
  7232. if test "x$ac_cv_header_dlfcn_h" = xyes; then :
  7233. cat >>confdefs.h <<_ACEOF
  7234. #define HAVE_DLFCN_H 1
  7235. _ACEOF
  7236. fi
  7237. done
  7238. func_stripname_cnf ()
  7239. {
  7240. case ${2} in
  7241. .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
  7242. *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
  7243. esac
  7244. } # func_stripname_cnf
  7245. # Set options
  7246. enable_dlopen=no
  7247. enable_win32_dll=no
  7248. # Check whether --enable-shared was given.
  7249. if test "${enable_shared+set}" = set; then :
  7250. enableval=$enable_shared; p=${PACKAGE-default}
  7251. case $enableval in
  7252. yes) enable_shared=yes ;;
  7253. no) enable_shared=no ;;
  7254. *)
  7255. enable_shared=no
  7256. # Look at the argument we got. We use all the common list separators.
  7257. lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  7258. for pkg in $enableval; do
  7259. IFS="$lt_save_ifs"
  7260. if test "X$pkg" = "X$p"; then
  7261. enable_shared=yes
  7262. fi
  7263. done
  7264. IFS="$lt_save_ifs"
  7265. ;;
  7266. esac
  7267. else
  7268. enable_shared=yes
  7269. fi
  7270. # Check whether --enable-static was given.
  7271. if test "${enable_static+set}" = set; then :
  7272. enableval=$enable_static; p=${PACKAGE-default}
  7273. case $enableval in
  7274. yes) enable_static=yes ;;
  7275. no) enable_static=no ;;
  7276. *)
  7277. enable_static=no
  7278. # Look at the argument we got. We use all the common list separators.
  7279. lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  7280. for pkg in $enableval; do
  7281. IFS="$lt_save_ifs"
  7282. if test "X$pkg" = "X$p"; then
  7283. enable_static=yes
  7284. fi
  7285. done
  7286. IFS="$lt_save_ifs"
  7287. ;;
  7288. esac
  7289. else
  7290. enable_static=yes
  7291. fi
  7292. # Check whether --with-pic was given.
  7293. if test "${with_pic+set}" = set; then :
  7294. withval=$with_pic; lt_p=${PACKAGE-default}
  7295. case $withval in
  7296. yes|no) pic_mode=$withval ;;
  7297. *)
  7298. pic_mode=default
  7299. # Look at the argument we got. We use all the common list separators.
  7300. lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  7301. for lt_pkg in $withval; do
  7302. IFS="$lt_save_ifs"
  7303. if test "X$lt_pkg" = "X$lt_p"; then
  7304. pic_mode=yes
  7305. fi
  7306. done
  7307. IFS="$lt_save_ifs"
  7308. ;;
  7309. esac
  7310. else
  7311. pic_mode=default
  7312. fi
  7313. test -z "$pic_mode" && pic_mode=default
  7314. # Check whether --enable-fast-install was given.
  7315. if test "${enable_fast_install+set}" = set; then :
  7316. enableval=$enable_fast_install; p=${PACKAGE-default}
  7317. case $enableval in
  7318. yes) enable_fast_install=yes ;;
  7319. no) enable_fast_install=no ;;
  7320. *)
  7321. enable_fast_install=no
  7322. # Look at the argument we got. We use all the common list separators.
  7323. lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  7324. for pkg in $enableval; do
  7325. IFS="$lt_save_ifs"
  7326. if test "X$pkg" = "X$p"; then
  7327. enable_fast_install=yes
  7328. fi
  7329. done
  7330. IFS="$lt_save_ifs"
  7331. ;;
  7332. esac
  7333. else
  7334. enable_fast_install=yes
  7335. fi
  7336. # This can be used to rebuild libtool when needed
  7337. LIBTOOL_DEPS="$ltmain"
  7338. # Always use our own libtool.
  7339. LIBTOOL='$(SHELL) $(top_builddir)/libtool'
  7340. test -z "$LN_S" && LN_S="ln -s"
  7341. if test -n "${ZSH_VERSION+set}" ; then
  7342. setopt NO_GLOB_SUBST
  7343. fi
  7344. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
  7345. $as_echo_n "checking for objdir... " >&6; }
  7346. if ${lt_cv_objdir+:} false; then :
  7347. $as_echo_n "(cached) " >&6
  7348. else
  7349. rm -f .libs 2>/dev/null
  7350. mkdir .libs 2>/dev/null
  7351. if test -d .libs; then
  7352. lt_cv_objdir=.libs
  7353. else
  7354. # MS-DOS does not allow filenames that begin with a dot.
  7355. lt_cv_objdir=_libs
  7356. fi
  7357. rmdir .libs 2>/dev/null
  7358. fi
  7359. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
  7360. $as_echo "$lt_cv_objdir" >&6; }
  7361. objdir=$lt_cv_objdir
  7362. cat >>confdefs.h <<_ACEOF
  7363. #define LT_OBJDIR "$lt_cv_objdir/"
  7364. _ACEOF
  7365. case $host_os in
  7366. aix3*)
  7367. # AIX sometimes has problems with the GCC collect2 program. For some
  7368. # reason, if we set the COLLECT_NAMES environment variable, the problems
  7369. # vanish in a puff of smoke.
  7370. if test "X${COLLECT_NAMES+set}" != Xset; then
  7371. COLLECT_NAMES=
  7372. export COLLECT_NAMES
  7373. fi
  7374. ;;
  7375. esac
  7376. # Global variables:
  7377. ofile=libtool
  7378. can_build_shared=yes
  7379. # All known linkers require a `.a' archive for static linking (except MSVC,
  7380. # which needs '.lib').
  7381. libext=a
  7382. with_gnu_ld="$lt_cv_prog_gnu_ld"
  7383. old_CC="$CC"
  7384. old_CFLAGS="$CFLAGS"
  7385. # Set sane defaults for various variables
  7386. test -z "$CC" && CC=cc
  7387. test -z "$LTCC" && LTCC=$CC
  7388. test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
  7389. test -z "$LD" && LD=ld
  7390. test -z "$ac_objext" && ac_objext=o
  7391. for cc_temp in $compiler""; do
  7392. case $cc_temp in
  7393. compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
  7394. distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
  7395. \-*) ;;
  7396. *) break;;
  7397. esac
  7398. done
  7399. cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
  7400. # Only perform the check for file, if the check method requires it
  7401. test -z "$MAGIC_CMD" && MAGIC_CMD=file
  7402. case $deplibs_check_method in
  7403. file_magic*)
  7404. if test "$file_magic_cmd" = '$MAGIC_CMD'; then
  7405. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
  7406. $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
  7407. if ${lt_cv_path_MAGIC_CMD+:} false; then :
  7408. $as_echo_n "(cached) " >&6
  7409. else
  7410. case $MAGIC_CMD in
  7411. [\\/*] | ?:[\\/]*)
  7412. lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
  7413. ;;
  7414. *)
  7415. lt_save_MAGIC_CMD="$MAGIC_CMD"
  7416. lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  7417. ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
  7418. for ac_dir in $ac_dummy; do
  7419. IFS="$lt_save_ifs"
  7420. test -z "$ac_dir" && ac_dir=.
  7421. if test -f $ac_dir/${ac_tool_prefix}file; then
  7422. lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
  7423. if test -n "$file_magic_test_file"; then
  7424. case $deplibs_check_method in
  7425. "file_magic "*)
  7426. file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
  7427. MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  7428. if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
  7429. $EGREP "$file_magic_regex" > /dev/null; then
  7430. :
  7431. else
  7432. cat <<_LT_EOF 1>&2
  7433. *** Warning: the command libtool uses to detect shared libraries,
  7434. *** $file_magic_cmd, produces output that libtool cannot recognize.
  7435. *** The result is that libtool may fail to recognize shared libraries
  7436. *** as such. This will affect the creation of libtool libraries that
  7437. *** depend on shared libraries, but programs linked with such libtool
  7438. *** libraries will work regardless of this problem. Nevertheless, you
  7439. *** may want to report the problem to your system manager and/or to
  7440. *** bug-libtool@gnu.org
  7441. _LT_EOF
  7442. fi ;;
  7443. esac
  7444. fi
  7445. break
  7446. fi
  7447. done
  7448. IFS="$lt_save_ifs"
  7449. MAGIC_CMD="$lt_save_MAGIC_CMD"
  7450. ;;
  7451. esac
  7452. fi
  7453. MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  7454. if test -n "$MAGIC_CMD"; then
  7455. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
  7456. $as_echo "$MAGIC_CMD" >&6; }
  7457. else
  7458. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7459. $as_echo "no" >&6; }
  7460. fi
  7461. if test -z "$lt_cv_path_MAGIC_CMD"; then
  7462. if test -n "$ac_tool_prefix"; then
  7463. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
  7464. $as_echo_n "checking for file... " >&6; }
  7465. if ${lt_cv_path_MAGIC_CMD+:} false; then :
  7466. $as_echo_n "(cached) " >&6
  7467. else
  7468. case $MAGIC_CMD in
  7469. [\\/*] | ?:[\\/]*)
  7470. lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
  7471. ;;
  7472. *)
  7473. lt_save_MAGIC_CMD="$MAGIC_CMD"
  7474. lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  7475. ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
  7476. for ac_dir in $ac_dummy; do
  7477. IFS="$lt_save_ifs"
  7478. test -z "$ac_dir" && ac_dir=.
  7479. if test -f $ac_dir/file; then
  7480. lt_cv_path_MAGIC_CMD="$ac_dir/file"
  7481. if test -n "$file_magic_test_file"; then
  7482. case $deplibs_check_method in
  7483. "file_magic "*)
  7484. file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
  7485. MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  7486. if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
  7487. $EGREP "$file_magic_regex" > /dev/null; then
  7488. :
  7489. else
  7490. cat <<_LT_EOF 1>&2
  7491. *** Warning: the command libtool uses to detect shared libraries,
  7492. *** $file_magic_cmd, produces output that libtool cannot recognize.
  7493. *** The result is that libtool may fail to recognize shared libraries
  7494. *** as such. This will affect the creation of libtool libraries that
  7495. *** depend on shared libraries, but programs linked with such libtool
  7496. *** libraries will work regardless of this problem. Nevertheless, you
  7497. *** may want to report the problem to your system manager and/or to
  7498. *** bug-libtool@gnu.org
  7499. _LT_EOF
  7500. fi ;;
  7501. esac
  7502. fi
  7503. break
  7504. fi
  7505. done
  7506. IFS="$lt_save_ifs"
  7507. MAGIC_CMD="$lt_save_MAGIC_CMD"
  7508. ;;
  7509. esac
  7510. fi
  7511. MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  7512. if test -n "$MAGIC_CMD"; then
  7513. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
  7514. $as_echo "$MAGIC_CMD" >&6; }
  7515. else
  7516. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7517. $as_echo "no" >&6; }
  7518. fi
  7519. else
  7520. MAGIC_CMD=:
  7521. fi
  7522. fi
  7523. fi
  7524. ;;
  7525. esac
  7526. # Use C for the default configuration in the libtool script
  7527. lt_save_CC="$CC"
  7528. ac_ext=c
  7529. ac_cpp='$CPP $CPPFLAGS'
  7530. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  7531. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  7532. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  7533. # Source file extension for C test sources.
  7534. ac_ext=c
  7535. # Object file extension for compiled C test sources.
  7536. objext=o
  7537. objext=$objext
  7538. # Code to be used in simple compile tests
  7539. lt_simple_compile_test_code="int some_variable = 0;"
  7540. # Code to be used in simple link tests
  7541. lt_simple_link_test_code='int main(){return(0);}'
  7542. # If no C compiler was specified, use CC.
  7543. LTCC=${LTCC-"$CC"}
  7544. # If no C compiler flags were specified, use CFLAGS.
  7545. LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
  7546. # Allow CC to be a program name with arguments.
  7547. compiler=$CC
  7548. # Save the default compiler, since it gets overwritten when the other
  7549. # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
  7550. compiler_DEFAULT=$CC
  7551. # save warnings/boilerplate of simple test code
  7552. ac_outfile=conftest.$ac_objext
  7553. echo "$lt_simple_compile_test_code" >conftest.$ac_ext
  7554. eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  7555. _lt_compiler_boilerplate=`cat conftest.err`
  7556. $RM conftest*
  7557. ac_outfile=conftest.$ac_objext
  7558. echo "$lt_simple_link_test_code" >conftest.$ac_ext
  7559. eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  7560. _lt_linker_boilerplate=`cat conftest.err`
  7561. $RM -r conftest*
  7562. if test -n "$compiler"; then
  7563. lt_prog_compiler_no_builtin_flag=
  7564. if test "$GCC" = yes; then
  7565. case $cc_basename in
  7566. nvcc*)
  7567. lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
  7568. *)
  7569. lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
  7570. esac
  7571. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
  7572. $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
  7573. if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
  7574. $as_echo_n "(cached) " >&6
  7575. else
  7576. lt_cv_prog_compiler_rtti_exceptions=no
  7577. ac_outfile=conftest.$ac_objext
  7578. echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  7579. lt_compiler_flag="-fno-rtti -fno-exceptions"
  7580. # Insert the option either (1) after the last *FLAGS variable, or
  7581. # (2) before a word containing "conftest.", or (3) at the end.
  7582. # Note that $ac_compile itself does not contain backslashes and begins
  7583. # with a dollar sign (not a hyphen), so the echo should work correctly.
  7584. # The option is referenced via a variable to avoid confusing sed.
  7585. lt_compile=`echo "$ac_compile" | $SED \
  7586. -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  7587. -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  7588. -e 's:$: $lt_compiler_flag:'`
  7589. (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  7590. (eval "$lt_compile" 2>conftest.err)
  7591. ac_status=$?
  7592. cat conftest.err >&5
  7593. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7594. if (exit $ac_status) && test -s "$ac_outfile"; then
  7595. # The compiler can only warn and ignore the option if not recognized
  7596. # So say no if there are warnings other than the usual output.
  7597. $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
  7598. $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  7599. if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  7600. lt_cv_prog_compiler_rtti_exceptions=yes
  7601. fi
  7602. fi
  7603. $RM conftest*
  7604. fi
  7605. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
  7606. $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
  7607. if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
  7608. lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
  7609. else
  7610. :
  7611. fi
  7612. fi
  7613. lt_prog_compiler_wl=
  7614. lt_prog_compiler_pic=
  7615. lt_prog_compiler_static=
  7616. if test "$GCC" = yes; then
  7617. lt_prog_compiler_wl='-Wl,'
  7618. lt_prog_compiler_static='-static'
  7619. case $host_os in
  7620. aix*)
  7621. # All AIX code is PIC.
  7622. if test "$host_cpu" = ia64; then
  7623. # AIX 5 now supports IA64 processor
  7624. lt_prog_compiler_static='-Bstatic'
  7625. fi
  7626. ;;
  7627. amigaos*)
  7628. case $host_cpu in
  7629. powerpc)
  7630. # see comment about AmigaOS4 .so support
  7631. lt_prog_compiler_pic='-fPIC'
  7632. ;;
  7633. m68k)
  7634. # FIXME: we need at least 68020 code to build shared libraries, but
  7635. # adding the `-m68020' flag to GCC prevents building anything better,
  7636. # like `-m68040'.
  7637. lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
  7638. ;;
  7639. esac
  7640. ;;
  7641. beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
  7642. # PIC is the default for these OSes.
  7643. ;;
  7644. mingw* | cygwin* | pw32* | os2* | cegcc*)
  7645. # This hack is so that the source file can tell whether it is being
  7646. # built for inclusion in a dll (and should export symbols for example).
  7647. # Although the cygwin gcc ignores -fPIC, still need this for old-style
  7648. # (--disable-auto-import) libraries
  7649. lt_prog_compiler_pic='-DDLL_EXPORT'
  7650. ;;
  7651. darwin* | rhapsody*)
  7652. # PIC is the default on this platform
  7653. # Common symbols not allowed in MH_DYLIB files
  7654. lt_prog_compiler_pic='-fno-common'
  7655. ;;
  7656. haiku*)
  7657. # PIC is the default for Haiku.
  7658. # The "-static" flag exists, but is broken.
  7659. lt_prog_compiler_static=
  7660. ;;
  7661. hpux*)
  7662. # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
  7663. # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
  7664. # sets the default TLS model and affects inlining.
  7665. case $host_cpu in
  7666. hppa*64*)
  7667. # +Z the default
  7668. ;;
  7669. *)
  7670. lt_prog_compiler_pic='-fPIC'
  7671. ;;
  7672. esac
  7673. ;;
  7674. interix[3-9]*)
  7675. # Interix 3.x gcc -fpic/-fPIC options generate broken code.
  7676. # Instead, we relocate shared libraries at runtime.
  7677. ;;
  7678. msdosdjgpp*)
  7679. # Just because we use GCC doesn't mean we suddenly get shared libraries
  7680. # on systems that don't support them.
  7681. lt_prog_compiler_can_build_shared=no
  7682. enable_shared=no
  7683. ;;
  7684. *nto* | *qnx*)
  7685. # QNX uses GNU C++, but need to define -shared option too, otherwise
  7686. # it will coredump.
  7687. lt_prog_compiler_pic='-fPIC -shared'
  7688. ;;
  7689. sysv4*MP*)
  7690. if test -d /usr/nec; then
  7691. lt_prog_compiler_pic=-Kconform_pic
  7692. fi
  7693. ;;
  7694. *)
  7695. lt_prog_compiler_pic='-fPIC'
  7696. ;;
  7697. esac
  7698. case $cc_basename in
  7699. nvcc*) # Cuda Compiler Driver 2.2
  7700. lt_prog_compiler_wl='-Xlinker '
  7701. if test -n "$lt_prog_compiler_pic"; then
  7702. lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
  7703. fi
  7704. ;;
  7705. esac
  7706. else
  7707. # PORTME Check for flag to pass linker flags through the system compiler.
  7708. case $host_os in
  7709. aix*)
  7710. lt_prog_compiler_wl='-Wl,'
  7711. if test "$host_cpu" = ia64; then
  7712. # AIX 5 now supports IA64 processor
  7713. lt_prog_compiler_static='-Bstatic'
  7714. else
  7715. lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
  7716. fi
  7717. ;;
  7718. mingw* | cygwin* | pw32* | os2* | cegcc*)
  7719. # This hack is so that the source file can tell whether it is being
  7720. # built for inclusion in a dll (and should export symbols for example).
  7721. lt_prog_compiler_pic='-DDLL_EXPORT'
  7722. ;;
  7723. hpux9* | hpux10* | hpux11*)
  7724. lt_prog_compiler_wl='-Wl,'
  7725. # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
  7726. # not for PA HP-UX.
  7727. case $host_cpu in
  7728. hppa*64*|ia64*)
  7729. # +Z the default
  7730. ;;
  7731. *)
  7732. lt_prog_compiler_pic='+Z'
  7733. ;;
  7734. esac
  7735. # Is there a better lt_prog_compiler_static that works with the bundled CC?
  7736. lt_prog_compiler_static='${wl}-a ${wl}archive'
  7737. ;;
  7738. irix5* | irix6* | nonstopux*)
  7739. lt_prog_compiler_wl='-Wl,'
  7740. # PIC (with -KPIC) is the default.
  7741. lt_prog_compiler_static='-non_shared'
  7742. ;;
  7743. linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
  7744. case $cc_basename in
  7745. # old Intel for x86_64 which still supported -KPIC.
  7746. ecc*)
  7747. lt_prog_compiler_wl='-Wl,'
  7748. lt_prog_compiler_pic='-KPIC'
  7749. lt_prog_compiler_static='-static'
  7750. ;;
  7751. # icc used to be incompatible with GCC.
  7752. # ICC 10 doesn't accept -KPIC any more.
  7753. icc* | ifort*)
  7754. lt_prog_compiler_wl='-Wl,'
  7755. lt_prog_compiler_pic='-fPIC'
  7756. lt_prog_compiler_static='-static'
  7757. ;;
  7758. # Lahey Fortran 8.1.
  7759. lf95*)
  7760. lt_prog_compiler_wl='-Wl,'
  7761. lt_prog_compiler_pic='--shared'
  7762. lt_prog_compiler_static='--static'
  7763. ;;
  7764. nagfor*)
  7765. # NAG Fortran compiler
  7766. lt_prog_compiler_wl='-Wl,-Wl,,'
  7767. lt_prog_compiler_pic='-PIC'
  7768. lt_prog_compiler_static='-Bstatic'
  7769. ;;
  7770. pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
  7771. # Portland Group compilers (*not* the Pentium gcc compiler,
  7772. # which looks to be a dead project)
  7773. lt_prog_compiler_wl='-Wl,'
  7774. lt_prog_compiler_pic='-fpic'
  7775. lt_prog_compiler_static='-Bstatic'
  7776. ;;
  7777. ccc*)
  7778. lt_prog_compiler_wl='-Wl,'
  7779. # All Alpha code is PIC.
  7780. lt_prog_compiler_static='-non_shared'
  7781. ;;
  7782. xl* | bgxl* | bgf* | mpixl*)
  7783. # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
  7784. lt_prog_compiler_wl='-Wl,'
  7785. lt_prog_compiler_pic='-qpic'
  7786. lt_prog_compiler_static='-qstaticlink'
  7787. ;;
  7788. *)
  7789. case `$CC -V 2>&1 | sed 5q` in
  7790. *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
  7791. # Sun Fortran 8.3 passes all unrecognized flags to the linker
  7792. lt_prog_compiler_pic='-KPIC'
  7793. lt_prog_compiler_static='-Bstatic'
  7794. lt_prog_compiler_wl=''
  7795. ;;
  7796. *Sun\ F* | *Sun*Fortran*)
  7797. lt_prog_compiler_pic='-KPIC'
  7798. lt_prog_compiler_static='-Bstatic'
  7799. lt_prog_compiler_wl='-Qoption ld '
  7800. ;;
  7801. *Sun\ C*)
  7802. # Sun C 5.9
  7803. lt_prog_compiler_pic='-KPIC'
  7804. lt_prog_compiler_static='-Bstatic'
  7805. lt_prog_compiler_wl='-Wl,'
  7806. ;;
  7807. *Intel*\ [CF]*Compiler*)
  7808. lt_prog_compiler_wl='-Wl,'
  7809. lt_prog_compiler_pic='-fPIC'
  7810. lt_prog_compiler_static='-static'
  7811. ;;
  7812. *Portland\ Group*)
  7813. lt_prog_compiler_wl='-Wl,'
  7814. lt_prog_compiler_pic='-fpic'
  7815. lt_prog_compiler_static='-Bstatic'
  7816. ;;
  7817. esac
  7818. ;;
  7819. esac
  7820. ;;
  7821. newsos6)
  7822. lt_prog_compiler_pic='-KPIC'
  7823. lt_prog_compiler_static='-Bstatic'
  7824. ;;
  7825. *nto* | *qnx*)
  7826. # QNX uses GNU C++, but need to define -shared option too, otherwise
  7827. # it will coredump.
  7828. lt_prog_compiler_pic='-fPIC -shared'
  7829. ;;
  7830. osf3* | osf4* | osf5*)
  7831. lt_prog_compiler_wl='-Wl,'
  7832. # All OSF/1 code is PIC.
  7833. lt_prog_compiler_static='-non_shared'
  7834. ;;
  7835. rdos*)
  7836. lt_prog_compiler_static='-non_shared'
  7837. ;;
  7838. solaris*)
  7839. lt_prog_compiler_pic='-KPIC'
  7840. lt_prog_compiler_static='-Bstatic'
  7841. case $cc_basename in
  7842. f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
  7843. lt_prog_compiler_wl='-Qoption ld ';;
  7844. *)
  7845. lt_prog_compiler_wl='-Wl,';;
  7846. esac
  7847. ;;
  7848. sunos4*)
  7849. lt_prog_compiler_wl='-Qoption ld '
  7850. lt_prog_compiler_pic='-PIC'
  7851. lt_prog_compiler_static='-Bstatic'
  7852. ;;
  7853. sysv4 | sysv4.2uw2* | sysv4.3*)
  7854. lt_prog_compiler_wl='-Wl,'
  7855. lt_prog_compiler_pic='-KPIC'
  7856. lt_prog_compiler_static='-Bstatic'
  7857. ;;
  7858. sysv4*MP*)
  7859. if test -d /usr/nec ;then
  7860. lt_prog_compiler_pic='-Kconform_pic'
  7861. lt_prog_compiler_static='-Bstatic'
  7862. fi
  7863. ;;
  7864. sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
  7865. lt_prog_compiler_wl='-Wl,'
  7866. lt_prog_compiler_pic='-KPIC'
  7867. lt_prog_compiler_static='-Bstatic'
  7868. ;;
  7869. unicos*)
  7870. lt_prog_compiler_wl='-Wl,'
  7871. lt_prog_compiler_can_build_shared=no
  7872. ;;
  7873. uts4*)
  7874. lt_prog_compiler_pic='-pic'
  7875. lt_prog_compiler_static='-Bstatic'
  7876. ;;
  7877. *)
  7878. lt_prog_compiler_can_build_shared=no
  7879. ;;
  7880. esac
  7881. fi
  7882. case $host_os in
  7883. # For platforms which do not support PIC, -DPIC is meaningless:
  7884. *djgpp*)
  7885. lt_prog_compiler_pic=
  7886. ;;
  7887. *)
  7888. lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
  7889. ;;
  7890. esac
  7891. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
  7892. $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
  7893. if ${lt_cv_prog_compiler_pic+:} false; then :
  7894. $as_echo_n "(cached) " >&6
  7895. else
  7896. lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
  7897. fi
  7898. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
  7899. $as_echo "$lt_cv_prog_compiler_pic" >&6; }
  7900. lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
  7901. #
  7902. # Check to make sure the PIC flag actually works.
  7903. #
  7904. if test -n "$lt_prog_compiler_pic"; then
  7905. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
  7906. $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
  7907. if ${lt_cv_prog_compiler_pic_works+:} false; then :
  7908. $as_echo_n "(cached) " >&6
  7909. else
  7910. lt_cv_prog_compiler_pic_works=no
  7911. ac_outfile=conftest.$ac_objext
  7912. echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  7913. lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
  7914. # Insert the option either (1) after the last *FLAGS variable, or
  7915. # (2) before a word containing "conftest.", or (3) at the end.
  7916. # Note that $ac_compile itself does not contain backslashes and begins
  7917. # with a dollar sign (not a hyphen), so the echo should work correctly.
  7918. # The option is referenced via a variable to avoid confusing sed.
  7919. lt_compile=`echo "$ac_compile" | $SED \
  7920. -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  7921. -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  7922. -e 's:$: $lt_compiler_flag:'`
  7923. (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  7924. (eval "$lt_compile" 2>conftest.err)
  7925. ac_status=$?
  7926. cat conftest.err >&5
  7927. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7928. if (exit $ac_status) && test -s "$ac_outfile"; then
  7929. # The compiler can only warn and ignore the option if not recognized
  7930. # So say no if there are warnings other than the usual output.
  7931. $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
  7932. $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  7933. if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  7934. lt_cv_prog_compiler_pic_works=yes
  7935. fi
  7936. fi
  7937. $RM conftest*
  7938. fi
  7939. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
  7940. $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
  7941. if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
  7942. case $lt_prog_compiler_pic in
  7943. "" | " "*) ;;
  7944. *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
  7945. esac
  7946. else
  7947. lt_prog_compiler_pic=
  7948. lt_prog_compiler_can_build_shared=no
  7949. fi
  7950. fi
  7951. #
  7952. # Check to make sure the static flag actually works.
  7953. #
  7954. wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
  7955. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
  7956. $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
  7957. if ${lt_cv_prog_compiler_static_works+:} false; then :
  7958. $as_echo_n "(cached) " >&6
  7959. else
  7960. lt_cv_prog_compiler_static_works=no
  7961. save_LDFLAGS="$LDFLAGS"
  7962. LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
  7963. echo "$lt_simple_link_test_code" > conftest.$ac_ext
  7964. if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
  7965. # The linker can only warn and ignore the option if not recognized
  7966. # So say no if there are warnings
  7967. if test -s conftest.err; then
  7968. # Append any errors to the config.log.
  7969. cat conftest.err 1>&5
  7970. $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
  7971. $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  7972. if diff conftest.exp conftest.er2 >/dev/null; then
  7973. lt_cv_prog_compiler_static_works=yes
  7974. fi
  7975. else
  7976. lt_cv_prog_compiler_static_works=yes
  7977. fi
  7978. fi
  7979. $RM -r conftest*
  7980. LDFLAGS="$save_LDFLAGS"
  7981. fi
  7982. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
  7983. $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
  7984. if test x"$lt_cv_prog_compiler_static_works" = xyes; then
  7985. :
  7986. else
  7987. lt_prog_compiler_static=
  7988. fi
  7989. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
  7990. $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
  7991. if ${lt_cv_prog_compiler_c_o+:} false; then :
  7992. $as_echo_n "(cached) " >&6
  7993. else
  7994. lt_cv_prog_compiler_c_o=no
  7995. $RM -r conftest 2>/dev/null
  7996. mkdir conftest
  7997. cd conftest
  7998. mkdir out
  7999. echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  8000. lt_compiler_flag="-o out/conftest2.$ac_objext"
  8001. # Insert the option either (1) after the last *FLAGS variable, or
  8002. # (2) before a word containing "conftest.", or (3) at the end.
  8003. # Note that $ac_compile itself does not contain backslashes and begins
  8004. # with a dollar sign (not a hyphen), so the echo should work correctly.
  8005. lt_compile=`echo "$ac_compile" | $SED \
  8006. -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  8007. -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  8008. -e 's:$: $lt_compiler_flag:'`
  8009. (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  8010. (eval "$lt_compile" 2>out/conftest.err)
  8011. ac_status=$?
  8012. cat out/conftest.err >&5
  8013. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8014. if (exit $ac_status) && test -s out/conftest2.$ac_objext
  8015. then
  8016. # The compiler can only warn and ignore the option if not recognized
  8017. # So say no if there are warnings
  8018. $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
  8019. $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  8020. if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  8021. lt_cv_prog_compiler_c_o=yes
  8022. fi
  8023. fi
  8024. chmod u+w . 2>&5
  8025. $RM conftest*
  8026. # SGI C++ compiler will create directory out/ii_files/ for
  8027. # template instantiation
  8028. test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
  8029. $RM out/* && rmdir out
  8030. cd ..
  8031. $RM -r conftest
  8032. $RM conftest*
  8033. fi
  8034. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
  8035. $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
  8036. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
  8037. $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
  8038. if ${lt_cv_prog_compiler_c_o+:} false; then :
  8039. $as_echo_n "(cached) " >&6
  8040. else
  8041. lt_cv_prog_compiler_c_o=no
  8042. $RM -r conftest 2>/dev/null
  8043. mkdir conftest
  8044. cd conftest
  8045. mkdir out
  8046. echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  8047. lt_compiler_flag="-o out/conftest2.$ac_objext"
  8048. # Insert the option either (1) after the last *FLAGS variable, or
  8049. # (2) before a word containing "conftest.", or (3) at the end.
  8050. # Note that $ac_compile itself does not contain backslashes and begins
  8051. # with a dollar sign (not a hyphen), so the echo should work correctly.
  8052. lt_compile=`echo "$ac_compile" | $SED \
  8053. -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  8054. -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  8055. -e 's:$: $lt_compiler_flag:'`
  8056. (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  8057. (eval "$lt_compile" 2>out/conftest.err)
  8058. ac_status=$?
  8059. cat out/conftest.err >&5
  8060. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8061. if (exit $ac_status) && test -s out/conftest2.$ac_objext
  8062. then
  8063. # The compiler can only warn and ignore the option if not recognized
  8064. # So say no if there are warnings
  8065. $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
  8066. $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  8067. if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  8068. lt_cv_prog_compiler_c_o=yes
  8069. fi
  8070. fi
  8071. chmod u+w . 2>&5
  8072. $RM conftest*
  8073. # SGI C++ compiler will create directory out/ii_files/ for
  8074. # template instantiation
  8075. test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
  8076. $RM out/* && rmdir out
  8077. cd ..
  8078. $RM -r conftest
  8079. $RM conftest*
  8080. fi
  8081. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
  8082. $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
  8083. hard_links="nottested"
  8084. if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
  8085. # do not overwrite the value of need_locks provided by the user
  8086. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
  8087. $as_echo_n "checking if we can lock with hard links... " >&6; }
  8088. hard_links=yes
  8089. $RM conftest*
  8090. ln conftest.a conftest.b 2>/dev/null && hard_links=no
  8091. touch conftest.a
  8092. ln conftest.a conftest.b 2>&5 || hard_links=no
  8093. ln conftest.a conftest.b 2>/dev/null && hard_links=no
  8094. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
  8095. $as_echo "$hard_links" >&6; }
  8096. if test "$hard_links" = no; then
  8097. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
  8098. $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
  8099. need_locks=warn
  8100. fi
  8101. else
  8102. need_locks=no
  8103. fi
  8104. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
  8105. $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
  8106. runpath_var=
  8107. allow_undefined_flag=
  8108. always_export_symbols=no
  8109. archive_cmds=
  8110. archive_expsym_cmds=
  8111. compiler_needs_object=no
  8112. enable_shared_with_static_runtimes=no
  8113. export_dynamic_flag_spec=
  8114. export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  8115. hardcode_automatic=no
  8116. hardcode_direct=no
  8117. hardcode_direct_absolute=no
  8118. hardcode_libdir_flag_spec=
  8119. hardcode_libdir_separator=
  8120. hardcode_minus_L=no
  8121. hardcode_shlibpath_var=unsupported
  8122. inherit_rpath=no
  8123. link_all_deplibs=unknown
  8124. module_cmds=
  8125. module_expsym_cmds=
  8126. old_archive_from_new_cmds=
  8127. old_archive_from_expsyms_cmds=
  8128. thread_safe_flag_spec=
  8129. whole_archive_flag_spec=
  8130. # include_expsyms should be a list of space-separated symbols to be *always*
  8131. # included in the symbol list
  8132. include_expsyms=
  8133. # exclude_expsyms can be an extended regexp of symbols to exclude
  8134. # it will be wrapped by ` (' and `)$', so one must not match beginning or
  8135. # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
  8136. # as well as any symbol that contains `d'.
  8137. exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
  8138. # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
  8139. # platforms (ab)use it in PIC code, but their linkers get confused if
  8140. # the symbol is explicitly referenced. Since portable code cannot
  8141. # rely on this symbol name, it's probably fine to never include it in
  8142. # preloaded symbol tables.
  8143. # Exclude shared library initialization/finalization symbols.
  8144. extract_expsyms_cmds=
  8145. case $host_os in
  8146. cygwin* | mingw* | pw32* | cegcc*)
  8147. # FIXME: the MSVC++ port hasn't been tested in a loooong time
  8148. # When not using gcc, we currently assume that we are using
  8149. # Microsoft Visual C++.
  8150. if test "$GCC" != yes; then
  8151. with_gnu_ld=no
  8152. fi
  8153. ;;
  8154. interix*)
  8155. # we just hope/assume this is gcc and not c89 (= MSVC++)
  8156. with_gnu_ld=yes
  8157. ;;
  8158. openbsd*)
  8159. with_gnu_ld=no
  8160. ;;
  8161. linux* | k*bsd*-gnu | gnu*)
  8162. link_all_deplibs=no
  8163. ;;
  8164. esac
  8165. ld_shlibs=yes
  8166. # On some targets, GNU ld is compatible enough with the native linker
  8167. # that we're better off using the native interface for both.
  8168. lt_use_gnu_ld_interface=no
  8169. if test "$with_gnu_ld" = yes; then
  8170. case $host_os in
  8171. aix*)
  8172. # The AIX port of GNU ld has always aspired to compatibility
  8173. # with the native linker. However, as the warning in the GNU ld
  8174. # block says, versions before 2.19.5* couldn't really create working
  8175. # shared libraries, regardless of the interface used.
  8176. case `$LD -v 2>&1` in
  8177. *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
  8178. *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
  8179. *\ \(GNU\ Binutils\)\ [3-9]*) ;;
  8180. *)
  8181. lt_use_gnu_ld_interface=yes
  8182. ;;
  8183. esac
  8184. ;;
  8185. *)
  8186. lt_use_gnu_ld_interface=yes
  8187. ;;
  8188. esac
  8189. fi
  8190. if test "$lt_use_gnu_ld_interface" = yes; then
  8191. # If archive_cmds runs LD, not CC, wlarc should be empty
  8192. wlarc='${wl}'
  8193. # Set some defaults for GNU ld with shared library support. These
  8194. # are reset later if shared libraries are not supported. Putting them
  8195. # here allows them to be overridden if necessary.
  8196. runpath_var=LD_RUN_PATH
  8197. hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  8198. export_dynamic_flag_spec='${wl}--export-dynamic'
  8199. # ancient GNU ld didn't support --whole-archive et. al.
  8200. if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
  8201. whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
  8202. else
  8203. whole_archive_flag_spec=
  8204. fi
  8205. supports_anon_versioning=no
  8206. case `$LD -v 2>&1` in
  8207. *GNU\ gold*) supports_anon_versioning=yes ;;
  8208. *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
  8209. *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
  8210. *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
  8211. *\ 2.11.*) ;; # other 2.11 versions
  8212. *) supports_anon_versioning=yes ;;
  8213. esac
  8214. # See if GNU ld supports shared libraries.
  8215. case $host_os in
  8216. aix[3-9]*)
  8217. # On AIX/PPC, the GNU linker is very broken
  8218. if test "$host_cpu" != ia64; then
  8219. ld_shlibs=no
  8220. cat <<_LT_EOF 1>&2
  8221. *** Warning: the GNU linker, at least up to release 2.19, is reported
  8222. *** to be unable to reliably create shared libraries on AIX.
  8223. *** Therefore, libtool is disabling shared libraries support. If you
  8224. *** really care for shared libraries, you may want to install binutils
  8225. *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
  8226. *** You will then need to restart the configuration process.
  8227. _LT_EOF
  8228. fi
  8229. ;;
  8230. amigaos*)
  8231. case $host_cpu in
  8232. powerpc)
  8233. # see comment about AmigaOS4 .so support
  8234. archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  8235. archive_expsym_cmds=''
  8236. ;;
  8237. m68k)
  8238. 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)'
  8239. hardcode_libdir_flag_spec='-L$libdir'
  8240. hardcode_minus_L=yes
  8241. ;;
  8242. esac
  8243. ;;
  8244. beos*)
  8245. if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  8246. allow_undefined_flag=unsupported
  8247. # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
  8248. # support --undefined. This deserves some investigation. FIXME
  8249. archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  8250. else
  8251. ld_shlibs=no
  8252. fi
  8253. ;;
  8254. cygwin* | mingw* | pw32* | cegcc*)
  8255. # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
  8256. # as there is no search path for DLLs.
  8257. hardcode_libdir_flag_spec='-L$libdir'
  8258. export_dynamic_flag_spec='${wl}--export-all-symbols'
  8259. allow_undefined_flag=unsupported
  8260. always_export_symbols=no
  8261. enable_shared_with_static_runtimes=yes
  8262. 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'
  8263. exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
  8264. if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
  8265. archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  8266. # If the export-symbols file already is a .def file (1st line
  8267. # is EXPORTS), use it as is; otherwise, prepend...
  8268. archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
  8269. cp $export_symbols $output_objdir/$soname.def;
  8270. else
  8271. echo EXPORTS > $output_objdir/$soname.def;
  8272. cat $export_symbols >> $output_objdir/$soname.def;
  8273. fi~
  8274. $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  8275. else
  8276. ld_shlibs=no
  8277. fi
  8278. ;;
  8279. haiku*)
  8280. archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  8281. link_all_deplibs=yes
  8282. ;;
  8283. interix[3-9]*)
  8284. hardcode_direct=no
  8285. hardcode_shlibpath_var=no
  8286. hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
  8287. export_dynamic_flag_spec='${wl}-E'
  8288. # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
  8289. # Instead, shared libraries are loaded at an image base (0x10000000 by
  8290. # default) and relocated if they conflict, which is a slow very memory
  8291. # consuming and fragmenting process. To avoid this, we pick a random,
  8292. # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
  8293. # time. Moving up from 0x10000000 also allows more sbrk(2) space.
  8294. archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
  8295. 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'
  8296. ;;
  8297. gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
  8298. tmp_diet=no
  8299. if test "$host_os" = linux-dietlibc; then
  8300. case $cc_basename in
  8301. diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
  8302. esac
  8303. fi
  8304. if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
  8305. && test "$tmp_diet" = no
  8306. then
  8307. tmp_addflag=' $pic_flag'
  8308. tmp_sharedflag='-shared'
  8309. case $cc_basename,$host_cpu in
  8310. pgcc*) # Portland Group C compiler
  8311. 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'
  8312. tmp_addflag=' $pic_flag'
  8313. ;;
  8314. pgf77* | pgf90* | pgf95* | pgfortran*)
  8315. # Portland Group f77 and f90 compilers
  8316. 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'
  8317. tmp_addflag=' $pic_flag -Mnomain' ;;
  8318. ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
  8319. tmp_addflag=' -i_dynamic' ;;
  8320. efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
  8321. tmp_addflag=' -i_dynamic -nofor_main' ;;
  8322. ifc* | ifort*) # Intel Fortran compiler
  8323. tmp_addflag=' -nofor_main' ;;
  8324. lf95*) # Lahey Fortran 8.1
  8325. whole_archive_flag_spec=
  8326. tmp_sharedflag='--shared' ;;
  8327. xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
  8328. tmp_sharedflag='-qmkshrobj'
  8329. tmp_addflag= ;;
  8330. nvcc*) # Cuda Compiler Driver 2.2
  8331. 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'
  8332. compiler_needs_object=yes
  8333. ;;
  8334. esac
  8335. case `$CC -V 2>&1 | sed 5q` in
  8336. *Sun\ C*) # Sun C 5.9
  8337. 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'
  8338. compiler_needs_object=yes
  8339. tmp_sharedflag='-G' ;;
  8340. *Sun\ F*) # Sun Fortran 8.3
  8341. tmp_sharedflag='-G' ;;
  8342. esac
  8343. archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  8344. if test "x$supports_anon_versioning" = xyes; then
  8345. archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
  8346. cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  8347. echo "local: *; };" >> $output_objdir/$libname.ver~
  8348. $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
  8349. fi
  8350. case $cc_basename in
  8351. xlf* | bgf* | bgxlf* | mpixlf*)
  8352. # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
  8353. whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
  8354. hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  8355. archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
  8356. if test "x$supports_anon_versioning" = xyes; then
  8357. archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
  8358. cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  8359. echo "local: *; };" >> $output_objdir/$libname.ver~
  8360. $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
  8361. fi
  8362. ;;
  8363. esac
  8364. else
  8365. ld_shlibs=no
  8366. fi
  8367. ;;
  8368. netbsd* | netbsdelf*-gnu)
  8369. if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  8370. archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
  8371. wlarc=
  8372. else
  8373. archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  8374. archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  8375. fi
  8376. ;;
  8377. solaris*)
  8378. if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
  8379. ld_shlibs=no
  8380. cat <<_LT_EOF 1>&2
  8381. *** Warning: The releases 2.8.* of the GNU linker cannot reliably
  8382. *** create shared libraries on Solaris systems. Therefore, libtool
  8383. *** is disabling shared libraries support. We urge you to upgrade GNU
  8384. *** binutils to release 2.9.1 or newer. Another option is to modify
  8385. *** your PATH or compiler configuration so that the native linker is
  8386. *** used, and then restart.
  8387. _LT_EOF
  8388. elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  8389. archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  8390. archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  8391. else
  8392. ld_shlibs=no
  8393. fi
  8394. ;;
  8395. sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
  8396. case `$LD -v 2>&1` in
  8397. *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
  8398. ld_shlibs=no
  8399. cat <<_LT_EOF 1>&2
  8400. *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
  8401. *** reliably create shared libraries on SCO systems. Therefore, libtool
  8402. *** is disabling shared libraries support. We urge you to upgrade GNU
  8403. *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
  8404. *** your PATH or compiler configuration so that the native linker is
  8405. *** used, and then restart.
  8406. _LT_EOF
  8407. ;;
  8408. *)
  8409. # For security reasons, it is highly recommended that you always
  8410. # use absolute paths for naming shared libraries, and exclude the
  8411. # DT_RUNPATH tag from executables and libraries. But doing so
  8412. # requires that you compile everything twice, which is a pain.
  8413. if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  8414. hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  8415. archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  8416. archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  8417. else
  8418. ld_shlibs=no
  8419. fi
  8420. ;;
  8421. esac
  8422. ;;
  8423. sunos4*)
  8424. archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  8425. wlarc=
  8426. hardcode_direct=yes
  8427. hardcode_shlibpath_var=no
  8428. ;;
  8429. *)
  8430. if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  8431. archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  8432. archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  8433. else
  8434. ld_shlibs=no
  8435. fi
  8436. ;;
  8437. esac
  8438. if test "$ld_shlibs" = no; then
  8439. runpath_var=
  8440. hardcode_libdir_flag_spec=
  8441. export_dynamic_flag_spec=
  8442. whole_archive_flag_spec=
  8443. fi
  8444. else
  8445. # PORTME fill in a description of your system's linker (not GNU ld)
  8446. case $host_os in
  8447. aix3*)
  8448. allow_undefined_flag=unsupported
  8449. always_export_symbols=yes
  8450. 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'
  8451. # Note: this linker hardcodes the directories in LIBPATH if there
  8452. # are no directories specified by -L.
  8453. hardcode_minus_L=yes
  8454. if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
  8455. # Neither direct hardcoding nor static linking is supported with a
  8456. # broken collect2.
  8457. hardcode_direct=unsupported
  8458. fi
  8459. ;;
  8460. aix[4-9]*)
  8461. if test "$host_cpu" = ia64; then
  8462. # On IA64, the linker does run time linking by default, so we don't
  8463. # have to do anything special.
  8464. aix_use_runtimelinking=no
  8465. exp_sym_flag='-Bexport'
  8466. no_entry_flag=""
  8467. else
  8468. # If we're using GNU nm, then we don't want the "-C" option.
  8469. # -C means demangle to AIX nm, but means don't demangle with GNU nm
  8470. # Also, AIX nm treats weak defined symbols like other global
  8471. # defined symbols, whereas GNU nm marks them as "W".
  8472. if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
  8473. export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
  8474. else
  8475. export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
  8476. fi
  8477. aix_use_runtimelinking=no
  8478. # Test if we are trying to use run time linking or normal
  8479. # AIX style linking. If -brtl is somewhere in LDFLAGS, we
  8480. # need to do runtime linking.
  8481. case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
  8482. for ld_flag in $LDFLAGS; do
  8483. if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
  8484. aix_use_runtimelinking=yes
  8485. break
  8486. fi
  8487. done
  8488. ;;
  8489. esac
  8490. exp_sym_flag='-bexport'
  8491. no_entry_flag='-bnoentry'
  8492. fi
  8493. # When large executables or shared objects are built, AIX ld can
  8494. # have problems creating the table of contents. If linking a library
  8495. # or program results in "error TOC overflow" add -mminimal-toc to
  8496. # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
  8497. # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
  8498. archive_cmds=''
  8499. hardcode_direct=yes
  8500. hardcode_direct_absolute=yes
  8501. hardcode_libdir_separator=':'
  8502. link_all_deplibs=yes
  8503. file_list_spec='${wl}-f,'
  8504. if test "$GCC" = yes; then
  8505. case $host_os in aix4.[012]|aix4.[012].*)
  8506. # We only want to do this on AIX 4.2 and lower, the check
  8507. # below for broken collect2 doesn't work under 4.3+
  8508. collect2name=`${CC} -print-prog-name=collect2`
  8509. if test -f "$collect2name" &&
  8510. strings "$collect2name" | $GREP resolve_lib_name >/dev/null
  8511. then
  8512. # We have reworked collect2
  8513. :
  8514. else
  8515. # We have old collect2
  8516. hardcode_direct=unsupported
  8517. # It fails to find uninstalled libraries when the uninstalled
  8518. # path is not listed in the libpath. Setting hardcode_minus_L
  8519. # to unsupported forces relinking
  8520. hardcode_minus_L=yes
  8521. hardcode_libdir_flag_spec='-L$libdir'
  8522. hardcode_libdir_separator=
  8523. fi
  8524. ;;
  8525. esac
  8526. shared_flag='-shared'
  8527. if test "$aix_use_runtimelinking" = yes; then
  8528. shared_flag="$shared_flag "'${wl}-G'
  8529. fi
  8530. link_all_deplibs=no
  8531. else
  8532. # not using gcc
  8533. if test "$host_cpu" = ia64; then
  8534. # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
  8535. # chokes on -Wl,-G. The following line is correct:
  8536. shared_flag='-G'
  8537. else
  8538. if test "$aix_use_runtimelinking" = yes; then
  8539. shared_flag='${wl}-G'
  8540. else
  8541. shared_flag='${wl}-bM:SRE'
  8542. fi
  8543. fi
  8544. fi
  8545. export_dynamic_flag_spec='${wl}-bexpall'
  8546. # It seems that -bexpall does not export symbols beginning with
  8547. # underscore (_), so it is better to generate a list of symbols to export.
  8548. always_export_symbols=yes
  8549. if test "$aix_use_runtimelinking" = yes; then
  8550. # Warning - without using the other runtime loading flags (-brtl),
  8551. # -berok will link without error, but may produce a broken library.
  8552. allow_undefined_flag='-berok'
  8553. # Determine the default libpath from the value encoded in an
  8554. # empty executable.
  8555. if test "${lt_cv_aix_libpath+set}" = set; then
  8556. aix_libpath=$lt_cv_aix_libpath
  8557. else
  8558. if ${lt_cv_aix_libpath_+:} false; then :
  8559. $as_echo_n "(cached) " >&6
  8560. else
  8561. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8562. /* end confdefs.h. */
  8563. int
  8564. main ()
  8565. {
  8566. ;
  8567. return 0;
  8568. }
  8569. _ACEOF
  8570. if ac_fn_c_try_link "$LINENO"; then :
  8571. lt_aix_libpath_sed='
  8572. /Import File Strings/,/^$/ {
  8573. /^0/ {
  8574. s/^0 *\([^ ]*\) *$/\1/
  8575. p
  8576. }
  8577. }'
  8578. lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  8579. # Check for a 64-bit object if we didn't find anything.
  8580. if test -z "$lt_cv_aix_libpath_"; then
  8581. lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  8582. fi
  8583. fi
  8584. rm -f core conftest.err conftest.$ac_objext \
  8585. conftest$ac_exeext conftest.$ac_ext
  8586. if test -z "$lt_cv_aix_libpath_"; then
  8587. lt_cv_aix_libpath_="/usr/lib:/lib"
  8588. fi
  8589. fi
  8590. aix_libpath=$lt_cv_aix_libpath_
  8591. fi
  8592. hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
  8593. archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
  8594. else
  8595. if test "$host_cpu" = ia64; then
  8596. hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
  8597. allow_undefined_flag="-z nodefs"
  8598. 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"
  8599. else
  8600. # Determine the default libpath from the value encoded in an
  8601. # empty executable.
  8602. if test "${lt_cv_aix_libpath+set}" = set; then
  8603. aix_libpath=$lt_cv_aix_libpath
  8604. else
  8605. if ${lt_cv_aix_libpath_+:} false; then :
  8606. $as_echo_n "(cached) " >&6
  8607. else
  8608. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8609. /* end confdefs.h. */
  8610. int
  8611. main ()
  8612. {
  8613. ;
  8614. return 0;
  8615. }
  8616. _ACEOF
  8617. if ac_fn_c_try_link "$LINENO"; then :
  8618. lt_aix_libpath_sed='
  8619. /Import File Strings/,/^$/ {
  8620. /^0/ {
  8621. s/^0 *\([^ ]*\) *$/\1/
  8622. p
  8623. }
  8624. }'
  8625. lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  8626. # Check for a 64-bit object if we didn't find anything.
  8627. if test -z "$lt_cv_aix_libpath_"; then
  8628. lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  8629. fi
  8630. fi
  8631. rm -f core conftest.err conftest.$ac_objext \
  8632. conftest$ac_exeext conftest.$ac_ext
  8633. if test -z "$lt_cv_aix_libpath_"; then
  8634. lt_cv_aix_libpath_="/usr/lib:/lib"
  8635. fi
  8636. fi
  8637. aix_libpath=$lt_cv_aix_libpath_
  8638. fi
  8639. hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
  8640. # Warning - without using the other run time loading flags,
  8641. # -berok will link without error, but may produce a broken library.
  8642. no_undefined_flag=' ${wl}-bernotok'
  8643. allow_undefined_flag=' ${wl}-berok'
  8644. if test "$with_gnu_ld" = yes; then
  8645. # We only use this code for GNU lds that support --whole-archive.
  8646. whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
  8647. else
  8648. # Exported symbols can be pulled into shared objects from archives
  8649. whole_archive_flag_spec='$convenience'
  8650. fi
  8651. archive_cmds_need_lc=yes
  8652. # This is similar to how AIX traditionally builds its shared libraries.
  8653. archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
  8654. fi
  8655. fi
  8656. ;;
  8657. amigaos*)
  8658. case $host_cpu in
  8659. powerpc)
  8660. # see comment about AmigaOS4 .so support
  8661. archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  8662. archive_expsym_cmds=''
  8663. ;;
  8664. m68k)
  8665. 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)'
  8666. hardcode_libdir_flag_spec='-L$libdir'
  8667. hardcode_minus_L=yes
  8668. ;;
  8669. esac
  8670. ;;
  8671. bsdi[45]*)
  8672. export_dynamic_flag_spec=-rdynamic
  8673. ;;
  8674. cygwin* | mingw* | pw32* | cegcc*)
  8675. # When not using gcc, we currently assume that we are using
  8676. # Microsoft Visual C++.
  8677. # hardcode_libdir_flag_spec is actually meaningless, as there is
  8678. # no search path for DLLs.
  8679. case $cc_basename in
  8680. cl*)
  8681. # Native MSVC
  8682. hardcode_libdir_flag_spec=' '
  8683. allow_undefined_flag=unsupported
  8684. always_export_symbols=yes
  8685. file_list_spec='@'
  8686. # Tell ltmain to make .lib files, not .a files.
  8687. libext=lib
  8688. # Tell ltmain to make .dll files, not .so files.
  8689. shrext_cmds=".dll"
  8690. # FIXME: Setting linknames here is a bad hack.
  8691. archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
  8692. archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
  8693. sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
  8694. else
  8695. sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
  8696. fi~
  8697. $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
  8698. linknames='
  8699. # The linker will not automatically build a static lib if we build a DLL.
  8700. # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
  8701. enable_shared_with_static_runtimes=yes
  8702. exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
  8703. export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
  8704. # Don't use ranlib
  8705. old_postinstall_cmds='chmod 644 $oldlib'
  8706. postlink_cmds='lt_outputfile="@OUTPUT@"~
  8707. lt_tool_outputfile="@TOOL_OUTPUT@"~
  8708. case $lt_outputfile in
  8709. *.exe|*.EXE) ;;
  8710. *)
  8711. lt_outputfile="$lt_outputfile.exe"
  8712. lt_tool_outputfile="$lt_tool_outputfile.exe"
  8713. ;;
  8714. esac~
  8715. if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
  8716. $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
  8717. $RM "$lt_outputfile.manifest";
  8718. fi'
  8719. ;;
  8720. *)
  8721. # Assume MSVC wrapper
  8722. hardcode_libdir_flag_spec=' '
  8723. allow_undefined_flag=unsupported
  8724. # Tell ltmain to make .lib files, not .a files.
  8725. libext=lib
  8726. # Tell ltmain to make .dll files, not .so files.
  8727. shrext_cmds=".dll"
  8728. # FIXME: Setting linknames here is a bad hack.
  8729. archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
  8730. # The linker will automatically build a .lib file if we build a DLL.
  8731. old_archive_from_new_cmds='true'
  8732. # FIXME: Should let the user specify the lib program.
  8733. old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
  8734. enable_shared_with_static_runtimes=yes
  8735. ;;
  8736. esac
  8737. ;;
  8738. darwin* | rhapsody*)
  8739. archive_cmds_need_lc=no
  8740. hardcode_direct=no
  8741. hardcode_automatic=yes
  8742. hardcode_shlibpath_var=unsupported
  8743. if test "$lt_cv_ld_force_load" = "yes"; then
  8744. 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\"`'
  8745. else
  8746. whole_archive_flag_spec=''
  8747. fi
  8748. link_all_deplibs=yes
  8749. allow_undefined_flag="$_lt_dar_allow_undefined"
  8750. case $cc_basename in
  8751. ifort*) _lt_dar_can_shared=yes ;;
  8752. *) _lt_dar_can_shared=$GCC ;;
  8753. esac
  8754. if test "$_lt_dar_can_shared" = "yes"; then
  8755. output_verbose_link_cmd=func_echo_all
  8756. archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
  8757. module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
  8758. 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}"
  8759. 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}"
  8760. else
  8761. ld_shlibs=no
  8762. fi
  8763. ;;
  8764. dgux*)
  8765. archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  8766. hardcode_libdir_flag_spec='-L$libdir'
  8767. hardcode_shlibpath_var=no
  8768. ;;
  8769. # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
  8770. # support. Future versions do this automatically, but an explicit c++rt0.o
  8771. # does not break anything, and helps significantly (at the cost of a little
  8772. # extra space).
  8773. freebsd2.2*)
  8774. archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
  8775. hardcode_libdir_flag_spec='-R$libdir'
  8776. hardcode_direct=yes
  8777. hardcode_shlibpath_var=no
  8778. ;;
  8779. # Unfortunately, older versions of FreeBSD 2 do not have this feature.
  8780. freebsd2.*)
  8781. archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  8782. hardcode_direct=yes
  8783. hardcode_minus_L=yes
  8784. hardcode_shlibpath_var=no
  8785. ;;
  8786. # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
  8787. freebsd* | dragonfly*)
  8788. archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  8789. hardcode_libdir_flag_spec='-R$libdir'
  8790. hardcode_direct=yes
  8791. hardcode_shlibpath_var=no
  8792. ;;
  8793. hpux9*)
  8794. if test "$GCC" = yes; then
  8795. archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
  8796. else
  8797. archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
  8798. fi
  8799. hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
  8800. hardcode_libdir_separator=:
  8801. hardcode_direct=yes
  8802. # hardcode_minus_L: Not really in the search PATH,
  8803. # but as the default location of the library.
  8804. hardcode_minus_L=yes
  8805. export_dynamic_flag_spec='${wl}-E'
  8806. ;;
  8807. hpux10*)
  8808. if test "$GCC" = yes && test "$with_gnu_ld" = no; then
  8809. archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  8810. else
  8811. archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
  8812. fi
  8813. if test "$with_gnu_ld" = no; then
  8814. hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
  8815. hardcode_libdir_separator=:
  8816. hardcode_direct=yes
  8817. hardcode_direct_absolute=yes
  8818. export_dynamic_flag_spec='${wl}-E'
  8819. # hardcode_minus_L: Not really in the search PATH,
  8820. # but as the default location of the library.
  8821. hardcode_minus_L=yes
  8822. fi
  8823. ;;
  8824. hpux11*)
  8825. if test "$GCC" = yes && test "$with_gnu_ld" = no; then
  8826. case $host_cpu in
  8827. hppa*64*)
  8828. archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  8829. ;;
  8830. ia64*)
  8831. archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  8832. ;;
  8833. *)
  8834. archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  8835. ;;
  8836. esac
  8837. else
  8838. case $host_cpu in
  8839. hppa*64*)
  8840. archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  8841. ;;
  8842. ia64*)
  8843. archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  8844. ;;
  8845. *)
  8846. # Older versions of the 11.00 compiler do not understand -b yet
  8847. # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
  8848. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
  8849. $as_echo_n "checking if $CC understands -b... " >&6; }
  8850. if ${lt_cv_prog_compiler__b+:} false; then :
  8851. $as_echo_n "(cached) " >&6
  8852. else
  8853. lt_cv_prog_compiler__b=no
  8854. save_LDFLAGS="$LDFLAGS"
  8855. LDFLAGS="$LDFLAGS -b"
  8856. echo "$lt_simple_link_test_code" > conftest.$ac_ext
  8857. if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
  8858. # The linker can only warn and ignore the option if not recognized
  8859. # So say no if there are warnings
  8860. if test -s conftest.err; then
  8861. # Append any errors to the config.log.
  8862. cat conftest.err 1>&5
  8863. $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
  8864. $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  8865. if diff conftest.exp conftest.er2 >/dev/null; then
  8866. lt_cv_prog_compiler__b=yes
  8867. fi
  8868. else
  8869. lt_cv_prog_compiler__b=yes
  8870. fi
  8871. fi
  8872. $RM -r conftest*
  8873. LDFLAGS="$save_LDFLAGS"
  8874. fi
  8875. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
  8876. $as_echo "$lt_cv_prog_compiler__b" >&6; }
  8877. if test x"$lt_cv_prog_compiler__b" = xyes; then
  8878. archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  8879. else
  8880. archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
  8881. fi
  8882. ;;
  8883. esac
  8884. fi
  8885. if test "$with_gnu_ld" = no; then
  8886. hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
  8887. hardcode_libdir_separator=:
  8888. case $host_cpu in
  8889. hppa*64*|ia64*)
  8890. hardcode_direct=no
  8891. hardcode_shlibpath_var=no
  8892. ;;
  8893. *)
  8894. hardcode_direct=yes
  8895. hardcode_direct_absolute=yes
  8896. export_dynamic_flag_spec='${wl}-E'
  8897. # hardcode_minus_L: Not really in the search PATH,
  8898. # but as the default location of the library.
  8899. hardcode_minus_L=yes
  8900. ;;
  8901. esac
  8902. fi
  8903. ;;
  8904. irix5* | irix6* | nonstopux*)
  8905. if test "$GCC" = yes; then
  8906. 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'
  8907. # Try to use the -exported_symbol ld option, if it does not
  8908. # work, assume that -exports_file does not work either and
  8909. # implicitly export all symbols.
  8910. # This should be the same for all languages, so no per-tag cache variable.
  8911. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
  8912. $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
  8913. if ${lt_cv_irix_exported_symbol+:} false; then :
  8914. $as_echo_n "(cached) " >&6
  8915. else
  8916. save_LDFLAGS="$LDFLAGS"
  8917. LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
  8918. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8919. /* end confdefs.h. */
  8920. int foo (void) { return 0; }
  8921. _ACEOF
  8922. if ac_fn_c_try_link "$LINENO"; then :
  8923. lt_cv_irix_exported_symbol=yes
  8924. else
  8925. lt_cv_irix_exported_symbol=no
  8926. fi
  8927. rm -f core conftest.err conftest.$ac_objext \
  8928. conftest$ac_exeext conftest.$ac_ext
  8929. LDFLAGS="$save_LDFLAGS"
  8930. fi
  8931. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
  8932. $as_echo "$lt_cv_irix_exported_symbol" >&6; }
  8933. if test "$lt_cv_irix_exported_symbol" = yes; then
  8934. 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'
  8935. fi
  8936. else
  8937. 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'
  8938. 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'
  8939. fi
  8940. archive_cmds_need_lc='no'
  8941. hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  8942. hardcode_libdir_separator=:
  8943. inherit_rpath=yes
  8944. link_all_deplibs=yes
  8945. ;;
  8946. netbsd* | netbsdelf*-gnu)
  8947. if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  8948. archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
  8949. else
  8950. archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
  8951. fi
  8952. hardcode_libdir_flag_spec='-R$libdir'
  8953. hardcode_direct=yes
  8954. hardcode_shlibpath_var=no
  8955. ;;
  8956. newsos6)
  8957. archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  8958. hardcode_direct=yes
  8959. hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  8960. hardcode_libdir_separator=:
  8961. hardcode_shlibpath_var=no
  8962. ;;
  8963. *nto* | *qnx*)
  8964. ;;
  8965. openbsd*)
  8966. if test -f /usr/libexec/ld.so; then
  8967. hardcode_direct=yes
  8968. hardcode_shlibpath_var=no
  8969. hardcode_direct_absolute=yes
  8970. if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  8971. archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  8972. archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
  8973. hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
  8974. export_dynamic_flag_spec='${wl}-E'
  8975. else
  8976. case $host_os in
  8977. openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
  8978. archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  8979. hardcode_libdir_flag_spec='-R$libdir'
  8980. ;;
  8981. *)
  8982. archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  8983. hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
  8984. ;;
  8985. esac
  8986. fi
  8987. else
  8988. ld_shlibs=no
  8989. fi
  8990. ;;
  8991. os2*)
  8992. hardcode_libdir_flag_spec='-L$libdir'
  8993. hardcode_minus_L=yes
  8994. allow_undefined_flag=unsupported
  8995. archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
  8996. old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
  8997. ;;
  8998. osf3*)
  8999. if test "$GCC" = yes; then
  9000. allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
  9001. 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'
  9002. else
  9003. allow_undefined_flag=' -expect_unresolved \*'
  9004. 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'
  9005. fi
  9006. archive_cmds_need_lc='no'
  9007. hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  9008. hardcode_libdir_separator=:
  9009. ;;
  9010. osf4* | osf5*) # as osf3* with the addition of -msym flag
  9011. if test "$GCC" = yes; then
  9012. allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
  9013. 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'
  9014. hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  9015. else
  9016. allow_undefined_flag=' -expect_unresolved \*'
  9017. 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'
  9018. 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~
  9019. $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'
  9020. # Both c and cxx compiler support -rpath directly
  9021. hardcode_libdir_flag_spec='-rpath $libdir'
  9022. fi
  9023. archive_cmds_need_lc='no'
  9024. hardcode_libdir_separator=:
  9025. ;;
  9026. solaris*)
  9027. no_undefined_flag=' -z defs'
  9028. if test "$GCC" = yes; then
  9029. wlarc='${wl}'
  9030. archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  9031. archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  9032. $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'
  9033. else
  9034. case `$CC -V 2>&1` in
  9035. *"Compilers 5.0"*)
  9036. wlarc=''
  9037. archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
  9038. archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  9039. $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
  9040. ;;
  9041. *)
  9042. wlarc='${wl}'
  9043. archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
  9044. archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  9045. $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
  9046. ;;
  9047. esac
  9048. fi
  9049. hardcode_libdir_flag_spec='-R$libdir'
  9050. hardcode_shlibpath_var=no
  9051. case $host_os in
  9052. solaris2.[0-5] | solaris2.[0-5].*) ;;
  9053. *)
  9054. # The compiler driver will combine and reorder linker options,
  9055. # but understands `-z linker_flag'. GCC discards it without `$wl',
  9056. # but is careful enough not to reorder.
  9057. # Supported since Solaris 2.6 (maybe 2.5.1?)
  9058. if test "$GCC" = yes; then
  9059. whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
  9060. else
  9061. whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
  9062. fi
  9063. ;;
  9064. esac
  9065. link_all_deplibs=yes
  9066. ;;
  9067. sunos4*)
  9068. if test "x$host_vendor" = xsequent; then
  9069. # Use $CC to link under sequent, because it throws in some extra .o
  9070. # files that make .init and .fini sections work.
  9071. archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
  9072. else
  9073. archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
  9074. fi
  9075. hardcode_libdir_flag_spec='-L$libdir'
  9076. hardcode_direct=yes
  9077. hardcode_minus_L=yes
  9078. hardcode_shlibpath_var=no
  9079. ;;
  9080. sysv4)
  9081. case $host_vendor in
  9082. sni)
  9083. archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  9084. hardcode_direct=yes # is this really true???
  9085. ;;
  9086. siemens)
  9087. ## LD is ld it makes a PLAMLIB
  9088. ## CC just makes a GrossModule.
  9089. archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
  9090. reload_cmds='$CC -r -o $output$reload_objs'
  9091. hardcode_direct=no
  9092. ;;
  9093. motorola)
  9094. archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  9095. hardcode_direct=no #Motorola manual says yes, but my tests say they lie
  9096. ;;
  9097. esac
  9098. runpath_var='LD_RUN_PATH'
  9099. hardcode_shlibpath_var=no
  9100. ;;
  9101. sysv4.3*)
  9102. archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  9103. hardcode_shlibpath_var=no
  9104. export_dynamic_flag_spec='-Bexport'
  9105. ;;
  9106. sysv4*MP*)
  9107. if test -d /usr/nec; then
  9108. archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  9109. hardcode_shlibpath_var=no
  9110. runpath_var=LD_RUN_PATH
  9111. hardcode_runpath_var=yes
  9112. ld_shlibs=yes
  9113. fi
  9114. ;;
  9115. sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
  9116. no_undefined_flag='${wl}-z,text'
  9117. archive_cmds_need_lc=no
  9118. hardcode_shlibpath_var=no
  9119. runpath_var='LD_RUN_PATH'
  9120. if test "$GCC" = yes; then
  9121. archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  9122. archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  9123. else
  9124. archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  9125. archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  9126. fi
  9127. ;;
  9128. sysv5* | sco3.2v5* | sco5v6*)
  9129. # Note: We can NOT use -z defs as we might desire, because we do not
  9130. # link with -lc, and that would cause any symbols used from libc to
  9131. # always be unresolved, which means just about no library would
  9132. # ever link correctly. If we're not using GNU ld we use -z text
  9133. # though, which does catch some bad symbols but isn't as heavy-handed
  9134. # as -z defs.
  9135. no_undefined_flag='${wl}-z,text'
  9136. allow_undefined_flag='${wl}-z,nodefs'
  9137. archive_cmds_need_lc=no
  9138. hardcode_shlibpath_var=no
  9139. hardcode_libdir_flag_spec='${wl}-R,$libdir'
  9140. hardcode_libdir_separator=':'
  9141. link_all_deplibs=yes
  9142. export_dynamic_flag_spec='${wl}-Bexport'
  9143. runpath_var='LD_RUN_PATH'
  9144. if test "$GCC" = yes; then
  9145. archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  9146. archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  9147. else
  9148. archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  9149. archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  9150. fi
  9151. ;;
  9152. uts4*)
  9153. archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  9154. hardcode_libdir_flag_spec='-L$libdir'
  9155. hardcode_shlibpath_var=no
  9156. ;;
  9157. *)
  9158. ld_shlibs=no
  9159. ;;
  9160. esac
  9161. if test x$host_vendor = xsni; then
  9162. case $host in
  9163. sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
  9164. export_dynamic_flag_spec='${wl}-Blargedynsym'
  9165. ;;
  9166. esac
  9167. fi
  9168. fi
  9169. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
  9170. $as_echo "$ld_shlibs" >&6; }
  9171. test "$ld_shlibs" = no && can_build_shared=no
  9172. with_gnu_ld=$with_gnu_ld
  9173. #
  9174. # Do we need to explicitly link libc?
  9175. #
  9176. case "x$archive_cmds_need_lc" in
  9177. x|xyes)
  9178. # Assume -lc should be added
  9179. archive_cmds_need_lc=yes
  9180. if test "$enable_shared" = yes && test "$GCC" = yes; then
  9181. case $archive_cmds in
  9182. *'~'*)
  9183. # FIXME: we may have to deal with multi-command sequences.
  9184. ;;
  9185. '$CC '*)
  9186. # Test whether the compiler implicitly links with -lc since on some
  9187. # systems, -lgcc has to come before -lc. If gcc already passes -lc
  9188. # to ld, don't add -lc before -lgcc.
  9189. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
  9190. $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
  9191. if ${lt_cv_archive_cmds_need_lc+:} false; then :
  9192. $as_echo_n "(cached) " >&6
  9193. else
  9194. $RM conftest*
  9195. echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  9196. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  9197. (eval $ac_compile) 2>&5
  9198. ac_status=$?
  9199. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  9200. test $ac_status = 0; } 2>conftest.err; then
  9201. soname=conftest
  9202. lib=conftest
  9203. libobjs=conftest.$ac_objext
  9204. deplibs=
  9205. wl=$lt_prog_compiler_wl
  9206. pic_flag=$lt_prog_compiler_pic
  9207. compiler_flags=-v
  9208. linker_flags=-v
  9209. verstring=
  9210. output_objdir=.
  9211. libname=conftest
  9212. lt_save_allow_undefined_flag=$allow_undefined_flag
  9213. allow_undefined_flag=
  9214. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
  9215. (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
  9216. ac_status=$?
  9217. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  9218. test $ac_status = 0; }
  9219. then
  9220. lt_cv_archive_cmds_need_lc=no
  9221. else
  9222. lt_cv_archive_cmds_need_lc=yes
  9223. fi
  9224. allow_undefined_flag=$lt_save_allow_undefined_flag
  9225. else
  9226. cat conftest.err 1>&5
  9227. fi
  9228. $RM conftest*
  9229. fi
  9230. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
  9231. $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
  9232. archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
  9233. ;;
  9234. esac
  9235. fi
  9236. ;;
  9237. esac
  9238. { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
  9239. $as_echo_n "checking dynamic linker characteristics... " >&6; }
  9240. if test "$GCC" = yes; then
  9241. case $host_os in
  9242. darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
  9243. *) lt_awk_arg="/^libraries:/" ;;
  9244. esac
  9245. case $host_os in
  9246. mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
  9247. *) lt_sed_strip_eq="s,=/,/,g" ;;
  9248. esac
  9249. lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
  9250. case $lt_search_path_spec in
  9251. *\;*)
  9252. # if the path contains ";" then we assume it to be the separator
  9253. # otherwise default to the standard path separator (i.e. ":") - it is
  9254. # assumed that no part of a normal pathname contains ";" but that should
  9255. # okay in the real world where ";" in dirpaths is itself problematic.
  9256. lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
  9257. ;;
  9258. *)
  9259. lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
  9260. ;;
  9261. esac
  9262. # Ok, now we have the path, separated by spaces, we can step through it
  9263. # and add multilib dir if necessary.
  9264. lt_tmp_lt_search_path_spec=
  9265. lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
  9266. for lt_sys_path in $lt_search_path_spec; do
  9267. if test -d "$lt_sys_path/$lt_multi_os_dir"; then
  9268. lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
  9269. else
  9270. test -d "$lt_sys_path" && \
  9271. lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
  9272. fi
  9273. done
  9274. lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
  9275. BEGIN {RS=" "; FS="/|\n";} {
  9276. lt_foo="";
  9277. lt_count=0;
  9278. for (lt_i = NF; lt_i > 0; lt_i--) {
  9279. if ($lt_i != "" && $lt_i != ".") {
  9280. if ($lt_i == "..") {
  9281. lt_count++;
  9282. } else {
  9283. if (lt_count == 0) {
  9284. lt_foo="/" $lt_i lt_foo;
  9285. } else {
  9286. lt_count--;
  9287. }
  9288. }
  9289. }
  9290. }
  9291. if (lt_foo != "") { lt_freq[lt_foo]++; }
  9292. if (lt_freq[lt_foo] == 1) { print lt_foo; }
  9293. }'`
  9294. # AWK program above erroneously prepends '/' to C:/dos/paths
  9295. # for these hosts.
  9296. case $host_os in
  9297. mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
  9298. $SED 's,/\([A-Za-z]:\),\1,g'` ;;
  9299. esac
  9300. sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
  9301. else
  9302. sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
  9303. fi
  9304. library_names_spec=
  9305. libname_spec='lib$name'
  9306. soname_spec=
  9307. shrext_cmds=".so"
  9308. postinstall_cmds=
  9309. postuninstall_cmds=
  9310. finish_cmds=
  9311. finish_eval=
  9312. shlibpath_var=
  9313. shlibpath_overrides_runpath=unknown
  9314. version_type=none
  9315. dynamic_linker="$host_os ld.so"
  9316. sys_lib_dlsearch_path_spec="/lib /usr/lib"
  9317. need_lib_prefix=unknown
  9318. hardcode_into_libs=no
  9319. # when you set need_version to no, make sure it does not cause -set_version
  9320. # flags to be left without arguments
  9321. need_version=unknown
  9322. case $host_os in
  9323. aix3*)
  9324. version_type=linux # correct to gnu/linux during the next big refactor
  9325. library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
  9326. shlibpath_var=LIBPATH
  9327. # AIX 3 has no versioning support, so we append a major version to the name.
  9328. soname_spec='${libname}${release}${shared_ext}$major'
  9329. ;;
  9330. aix[4-9]*)
  9331. version_type=linux # correct to gnu/linux during the next big refactor
  9332. need_lib_prefix=no
  9333. need_version=no
  9334. hardcode_into_libs=yes
  9335. if test "$host_cpu" = ia64; then
  9336. # AIX 5 supports IA64
  9337. library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
  9338. shlibpath_var=LD_LIBRARY_PATH
  9339. else
  9340. # With GCC up to 2.95.x, collect2 would create an import file
  9341. # for dependence libraries. The import file would start with
  9342. # the line `#! .'. This would cause the generated library to
  9343. # depend on `.', always an invalid library. This was fixed in
  9344. # development snapshots of GCC prior to 3.0.
  9345. case $host_os in
  9346. aix4 | aix4.[01] | aix4.[01].*)
  9347. if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
  9348. echo ' yes '
  9349. echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
  9350. :
  9351. else
  9352. can_build_shared=no
  9353. fi
  9354. ;;
  9355. esac
  9356. # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
  9357. # soname into executable. Probably we can add versioning support to
  9358. # collect2, so additional links can be useful in future.
  9359. if test "$aix_use_runtimelinking" = yes; then
  9360. # If using run time linking (on AIX 4.2 or later) use lib<name>.so
  9361. # instead of lib<name>.a to let people know that these are not
  9362. # typical AIX shared libraries.
  9363. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  9364. else
  9365. # We preserve .a as extension for shared libraries through AIX4.2
  9366. # and later when we are not doing run time linking.
  9367. library_names_spec='${libname}${release}.a $libname.a'
  9368. soname_spec='${libname}${release}${shared_ext}$major'
  9369. fi
  9370. shlibpath_var=LIBPATH
  9371. fi
  9372. ;;
  9373. amigaos*)
  9374. case $host_cpu in
  9375. powerpc)
  9376. # Since July 2007 AmigaOS4 officially supports .so libraries.
  9377. # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
  9378. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  9379. ;;
  9380. m68k)
  9381. library_names_spec='$libname.ixlibrary $libname.a'
  9382. # Create ${libname}_ixlibrary.a entries in /sys/libs.
  9383. finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
  9384. ;;
  9385. esac
  9386. ;;
  9387. beos*)
  9388. library_names_spec='${libname}${shared_ext}'
  9389. dynamic_linker="$host_os ld.so"
  9390. shlibpath_var=LIBRARY_PATH
  9391. ;;
  9392. bsdi[45]*)
  9393. version_type=linux # correct to gnu/linux during the next big refactor
  9394. need_version=no
  9395. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  9396. soname_spec='${libname}${release}${shared_ext}$major'
  9397. finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
  9398. shlibpath_var=LD_LIBRARY_PATH
  9399. sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
  9400. sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
  9401. # the default ld.so.conf also contains /usr/contrib/lib and
  9402. # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
  9403. # libtool to hard-code these into programs
  9404. ;;
  9405. cygwin* | mingw* | pw32* | cegcc*)
  9406. version_type=windows
  9407. shrext_cmds=".dll"
  9408. need_version=no
  9409. need_lib_prefix=no
  9410. case $GCC,$cc_basename in
  9411. yes,*)
  9412. # gcc
  9413. library_names_spec='$libname.dll.a'
  9414. # DLL is installed to $(libdir)/../bin by postinstall_cmds
  9415. postinstall_cmds='base_file=`basename \${file}`~
  9416. dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
  9417. dldir=$destdir/`dirname \$dlpath`~
  9418. test -d \$dldir || mkdir -p \$dldir~
  9419. $install_prog $dir/$dlname \$dldir/$dlname~
  9420. chmod a+x \$dldir/$dlname~
  9421. if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
  9422. eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
  9423. fi'
  9424. postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
  9425. dlpath=$dir/\$dldll~
  9426. $RM \$dlpath'
  9427. shlibpath_overrides_runpath=yes
  9428. case $host_os in
  9429. cygwin*)
  9430. # Cygwin DLLs use 'cyg' prefix rather than 'lib'
  9431. soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  9432. sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
  9433. ;;
  9434. mingw* | cegcc*)
  9435. # MinGW DLLs use traditional 'lib' prefix
  9436. soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  9437. ;;
  9438. pw32*)
  9439. # pw32 DLLs use 'pw' prefix rather than 'lib'
  9440. library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  9441. ;;
  9442. esac
  9443. dynamic_linker='Win32 ld.exe'
  9444. ;;
  9445. *,cl*)
  9446. # Native MSVC
  9447. libname_spec='$name'
  9448. soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  9449. library_names_spec='${libname}.dll.lib'
  9450. case $build_os in
  9451. mingw*)
  9452. sys_lib_search_path_spec=
  9453. lt_save_ifs=$IFS
  9454. IFS=';'
  9455. for lt_path in $LIB
  9456. do
  9457. IFS=$lt_save_ifs
  9458. # Let DOS variable expansion print the short 8.3 style file name.
  9459. lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
  9460. sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
  9461. done
  9462. IFS=$lt_save_ifs
  9463. # Convert to MSYS style.
  9464. sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
  9465. ;;
  9466. cygwin*)
  9467. # Convert to unix form, then to dos form, then back to unix form
  9468. # but this time dos style (no spaces!) so that the unix form looks
  9469. # like /cygdrive/c/PROGRA~1:/cygdr...
  9470. sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
  9471. sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
  9472. sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
  9473. ;;
  9474. *)
  9475. sys_lib_search_path_spec="$LIB"
  9476. if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
  9477. # It is most probably a Windows format PATH.
  9478. sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
  9479. else
  9480. sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
  9481. fi
  9482. # FIXME: find the short name or the path components, as spaces are
  9483. # common. (e.g. "Program Files" -> "PROGRA~1")
  9484. ;;
  9485. esac
  9486. # DLL is installed to $(libdir)/../bin by postinstall_cmds
  9487. postinstall_cmds='base_file=`basename \${file}`~
  9488. dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
  9489. dldir=$destdir/`dirname \$dlpath`~
  9490. test -d \$dldir || mkdir -p \$dldir~
  9491. $install_prog $dir/$dlname \$dldir/$dlname'
  9492. postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
  9493. dlpath=$dir/\$dldll~
  9494. $RM \$dlpath'
  9495. shlibpath_overrides_runpath=yes
  9496. dynamic_linker='Win32 link.exe'
  9497. ;;
  9498. *)
  9499. # Assume MSVC wrapper
  9500. library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
  9501. dynamic_linker='Win32 ld.exe'
  9502. ;;
  9503. esac
  9504. # FIXME: first we should search . and the directory the executable is in
  9505. shlibpath_var=PATH
  9506. ;;
  9507. darwin* | rhapsody*)
  9508. dynamic_linker="$host_os dyld"
  9509. version_type=darwin
  9510. need_lib_prefix=no
  9511. need_version=no
  9512. library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
  9513. soname_spec='${libname}${release}${major}$shared_ext'
  9514. shlibpath_overrides_runpath=yes
  9515. shlibpath_var=DYLD_LIBRARY_PATH
  9516. shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
  9517. sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
  9518. sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
  9519. ;;
  9520. dgux*)
  9521. version_type=linux # correct to gnu/linux during the next big refactor
  9522. need_lib_prefix=no
  9523. need_version=no
  9524. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
  9525. soname_spec='${libname}${release}${shared_ext}$major'
  9526. shlibpath_var=LD_LIBRARY_PATH
  9527. ;;
  9528. freebsd* | dragonfly*)
  9529. # DragonFly does not have aout. When/if they implement a new
  9530. # versioning mechanism, adjust this.
  9531. if test -x /usr/bin/objformat; then
  9532. objformat=`/usr/bin/objformat`
  9533. else
  9534. case $host_os in
  9535. freebsd[23].*) objformat=aout ;;
  9536. *) objformat=elf ;;
  9537. esac
  9538. fi
  9539. version_type=freebsd-$objformat
  9540. case $version_type in
  9541. freebsd-elf*)
  9542. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
  9543. need_version=no
  9544. need_lib_prefix=no
  9545. ;;
  9546. freebsd-*)
  9547. library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
  9548. need_version=yes
  9549. ;;
  9550. esac
  9551. shlibpath_var=LD_LIBRARY_PATH
  9552. case $host_os in
  9553. freebsd2.*)
  9554. shlibpath_overrides_runpath=yes
  9555. ;;
  9556. freebsd3.[01]* | freebsdelf3.[01]*)
  9557. shlibpath_overrides_runpath=yes
  9558. hardcode_into_libs=yes
  9559. ;;
  9560. freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
  9561. freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
  9562. shlibpath_overrides_runpath=no
  9563. hardcode_into_libs=yes
  9564. ;;
  9565. *) # from 4.6 on, and DragonFly
  9566. shlibpath_overrides_runpath=yes
  9567. hardcode_into_libs=yes
  9568. ;;
  9569. esac
  9570. ;;
  9571. haiku*)
  9572. version_type=linux # correct to gnu/linux during the next big refactor
  9573. need_lib_prefix=no
  9574. need_version=no
  9575. dynamic_linker="$host_os runtime_loader"
  9576. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
  9577. soname_spec='${libname}${release}${shared_ext}$major'
  9578. shlibpath_var=LIBRARY_PATH
  9579. shlibpath_overrides_runpath=yes
  9580. sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
  9581. hardcode_into_libs=yes
  9582. ;;
  9583. hpux9* | hpux10* | hpux11*)
  9584. # Give a soname corresponding to the major version so that dld.sl refuses to
  9585. # link against other versions.
  9586. version_type=sunos
  9587. need_lib_prefix=no
  9588. need_version=no
  9589. case $host_cpu in
  9590. ia64*)
  9591. shrext_cmds='.so'
  9592. hardcode_into_libs=yes
  9593. dynamic_linker="$host_os dld.so"
  9594. shlibpath_var=LD_LIBRARY_PATH
  9595. shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  9596. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  9597. soname_spec='${libname}${release}${shared_ext}$major'
  9598. if test "X$HPUX_IA64_MODE" = X32; then
  9599. sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
  9600. else
  9601. sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
  9602. fi
  9603. sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  9604. ;;
  9605. hppa*64*)
  9606. shrext_cmds='.sl'
  9607. hardcode_into_libs=yes
  9608. dynamic_linker="$host_os dld.sl"
  9609. shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
  9610. shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  9611. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  9612. soname_spec='${libname}${release}${shared_ext}$major'
  9613. sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
  9614. sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  9615. ;;
  9616. *)
  9617. shrext_cmds='.sl'
  9618. dynamic_linker="$host_os dld.sl"
  9619. shlibpath_var=SHLIB_PATH
  9620. shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
  9621. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  9622. soname_spec='${libname}${release}${shared_ext}$major'
  9623. ;;
  9624. esac
  9625. # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
  9626. postinstall_cmds='chmod 555 $lib'
  9627. # or fails outright, so override atomically:
  9628. install_override_mode=555
  9629. ;;
  9630. interix[3-9]*)
  9631. version_type=linux # correct to gnu/linux during the next big refactor
  9632. need_lib_prefix=no
  9633. need_version=no
  9634. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  9635. soname_spec='${libname}${release}${shared_ext}$major'
  9636. dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
  9637. shlibpath_var=LD_LIBRARY_PATH
  9638. shlibpath_overrides_runpath=no
  9639. hardcode_into_libs=yes
  9640. ;;
  9641. irix5* | irix6* | nonstopux*)
  9642. case $host_os in
  9643. nonstopux*) version_type=nonstopux ;;
  9644. *)
  9645. if test "$lt_cv_prog_gnu_ld" = yes; then
  9646. version_type=linux # correct to gnu/linux during the next big refactor
  9647. else
  9648. version_type=irix
  9649. fi ;;
  9650. esac
  9651. need_lib_prefix=no
  9652. need_version=no
  9653. soname_spec='${libname}${release}${shared_ext}$major'
  9654. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
  9655. case $host_os in
  9656. irix5* | nonstopux*)
  9657. libsuff= shlibsuff=
  9658. ;;
  9659. *)
  9660. case $LD in # libtool.m4 will add one of these switches to LD
  9661. *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
  9662. libsuff= shlibsuff= libmagic=32-bit;;
  9663. *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
  9664. libsuff=32 shlibsuff=N32 libmagic=N32;;
  9665. *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
  9666. libsuff=64 shlibsuff=64 libmagic=64-bit;;
  9667. *) libsuff= shlibsuff= libmagic=never-match;;
  9668. esac
  9669. ;;
  9670. esac
  9671. shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
  9672. shlibpath_overrides_runpath=no
  9673. sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
  9674. sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
  9675. hardcode_into_libs=yes
  9676. ;;
  9677. # No shared lib support for Linux oldld, aout, or coff.
  9678. linux*oldld* | linux*aout* | linux*coff*)
  9679. dynamic_linker=no
  9680. ;;
  9681. # This must be glibc/ELF.
  9682. linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
  9683. version_type=linux # correct to gnu/linux during the next big refactor
  9684. need_lib_prefix=no
  9685. need_version=no
  9686. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  9687. soname_spec='${libname}${release}${shared_ext}$major'
  9688. finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
  9689. shlibpath_var=LD_LIBRARY_PATH
  9690. shlibpath_overrides_runpath=no
  9691. # Some binutils ld are patched to set DT_RUNPATH
  9692. if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
  9693. $as_echo_n "(cached) " >&6
  9694. else
  9695. lt_cv_shlibpath_overrides_runpath=no
  9696. save_LDFLAGS=$LDFLAGS
  9697. save_libdir=$libdir
  9698. eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
  9699. LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
  9700. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9701. /* end confdefs.h. */
  9702. int
  9703. main ()
  9704. {
  9705. ;
  9706. return 0;
  9707. }
  9708. _ACEOF
  9709. if ac_fn_c_try_link "$LINENO"; then :
  9710. if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
  9711. lt_cv_shlibpath_overrides_runpath=yes
  9712. fi
  9713. fi
  9714. rm -f core conftest.err conftest.$ac_objext \
  9715. conftest$ac_exeext conftest.$ac_ext
  9716. LDFLAGS=$save_LDFLAGS
  9717. libdir=$save_libdir
  9718. fi
  9719. shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
  9720. # This implies no fast_install, which is unacceptable.
  9721. # Some rework will be needed to allow for fast_install
  9722. # before this can be enabled.
  9723. hardcode_into_libs=yes
  9724. # Append ld.so.conf contents to the search path
  9725. if test -f /etc/ld.so.conf; then
  9726. 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' ' '`
  9727. sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
  9728. fi
  9729. # We used to test for /lib/ld.so.1 and disable shared libraries on
  9730. # powerpc, because MkLinux only supported shared libraries with the
  9731. # GNU dynamic linker. Since this was broken with cross compilers,
  9732. # most powerpc-linux boxes support dynamic linking these days and
  9733. # people can always --disable-shared, the test was removed, and we
  9734. # assume the GNU/Linux dynamic linker is in use.
  9735. dynamic_linker='GNU/Linux ld.so'
  9736. ;;
  9737. netbsdelf*-gnu)
  9738. version_type=linux
  9739. need_lib_prefix=no
  9740. need_version=no
  9741. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  9742. soname_spec='${libname}${release}${shared_ext}$major'
  9743. shlibpath_var=LD_LIBRARY_PATH
  9744. shlibpath_overrides_runpath=no
  9745. hardcode_into_libs=yes
  9746. dynamic_linker='NetBSD ld.elf_so'
  9747. ;;
  9748. netbsd*)
  9749. version_type=sunos
  9750. need_lib_prefix=no
  9751. need_version=no
  9752. if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  9753. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  9754. finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  9755. dynamic_linker='NetBSD (a.out) ld.so'
  9756. else
  9757. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  9758. soname_spec='${libname}${release}${shared_ext}$major'
  9759. dynamic_linker='NetBSD ld.elf_so'
  9760. fi
  9761. shlibpath_var=LD_LIBRARY_PATH
  9762. shlibpath_overrides_runpath=yes
  9763. hardcode_into_libs=yes
  9764. ;;
  9765. newsos6)
  9766. version_type=linux # correct to gnu/linux during the next big refactor
  9767. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  9768. shlibpath_var=LD_LIBRARY_PATH
  9769. shlibpath_overrides_runpath=yes
  9770. ;;
  9771. *nto* | *qnx*)
  9772. version_type=qnx
  9773. need_lib_prefix=no
  9774. need_version=no
  9775. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  9776. soname_spec='${libname}${release}${shared_ext}$major'
  9777. shlibpath_var=LD_LIBRARY_PATH
  9778. shlibpath_overrides_runpath=no
  9779. hardcode_into_libs=yes
  9780. dynamic_linker='ldqnx.so'
  9781. ;;
  9782. openbsd*)
  9783. version_type=sunos
  9784. sys_lib_dlsearch_path_spec="/usr/lib"
  9785. need_lib_prefix=no
  9786. # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
  9787. case $host_os in
  9788. openbsd3.3 | openbsd3.3.*) need_version=yes ;;
  9789. *) need_version=no ;;
  9790. esac
  9791. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  9792. finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  9793. shlibpath_var=LD_LIBRARY_PATH
  9794. if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  9795. case $host_os in
  9796. openbsd2.[89] | openbsd2.[89].*)
  9797. shlibpath_overrides_runpath=no
  9798. ;;
  9799. *)
  9800. shlibpath_overrides_runpath=yes
  9801. ;;
  9802. esac
  9803. else
  9804. shlibpath_overrides_runpath=yes
  9805. fi
  9806. ;;
  9807. os2*)
  9808. libname_spec='$name'
  9809. shrext_cmds=".dll"
  9810. need_lib_prefix=no
  9811. library_names_spec='$libname${shared_ext} $libname.a'
  9812. dynamic_linker='OS/2 ld.exe'
  9813. shlibpath_var=LIBPATH
  9814. ;;
  9815. osf3* | osf4* | osf5*)
  9816. version_type=osf
  9817. need_lib_prefix=no
  9818. need_version=no
  9819. soname_spec='${libname}${release}${shared_ext}$major'
  9820. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  9821. shlibpath_var=LD_LIBRARY_PATH
  9822. sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
  9823. sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
  9824. ;;
  9825. rdos*)
  9826. dynamic_linker=no
  9827. ;;
  9828. solaris*)
  9829. version_type=linux # correct to gnu/linux during the next big refactor
  9830. need_lib_prefix=no
  9831. need_version=no
  9832. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  9833. soname_spec='${libname}${release}${shared_ext}$major'
  9834. shlibpath_var=LD_LIBRARY_PATH
  9835. shlibpath_overrides_runpath=yes
  9836. hardcode_into_libs=yes
  9837. # ldd complains unless libraries are executable
  9838. postinstall_cmds='chmod +x $lib'
  9839. ;;
  9840. sunos4*)
  9841. version_type=sunos
  9842. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  9843. finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
  9844. shlibpath_var=LD_LIBRARY_PATH
  9845. shlibpath_overrides_runpath=yes
  9846. if test "$with_gnu_ld" = yes; then
  9847. need_lib_prefix=no
  9848. fi
  9849. need_version=yes
  9850. ;;
  9851. sysv4 | sysv4.3*)
  9852. version_type=linux # correct to gnu/linux during the next big refactor
  9853. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  9854. soname_spec='${libname}${release}${shared_ext}$major'
  9855. shlibpath_var=LD_LIBRARY_PATH
  9856. case $host_vendor in
  9857. sni)
  9858. shlibpath_overrides_runpath=no
  9859. need_lib_prefix=no
  9860. runpath_var=LD_RUN_PATH
  9861. ;;
  9862. siemens)
  9863. need_lib_prefix=no
  9864. ;;
  9865. motorola)
  9866. need_lib_prefix=no
  9867. need_version=no
  9868. shlibpath_overrides_runpath=no
  9869. sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
  9870. ;;
  9871. esac
  9872. ;;
  9873. sysv4*MP*)
  9874. if test -d /usr/nec ;then
  9875. version_type=linux # correct to gnu/linux during the next big refactor
  9876. library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
  9877. soname_spec='$libname${shared_ext}.$major'
  9878. shlibpath_var=LD_LIBRARY_PATH
  9879. fi
  9880. ;;
  9881. sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  9882. version_type=freebsd-elf
  9883. need_lib_prefix=no
  9884. need_version=no
  9885. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
  9886. soname_spec='${libname}${release}${shared_ext}$major'
  9887. shlibpath_var=LD_LIBRARY_PATH
  9888. shlibpath_overrides_runpath=yes
  9889. hardcode_into_libs=yes
  9890. if test "$with_gnu_ld" = yes; then
  9891. sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
  9892. else
  9893. sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
  9894. case $host_os in
  9895. sco3.2v5*)
  9896. sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
  9897. ;;
  9898. esac
  9899. fi
  9900. sys_lib_dlsearch_path_spec='/usr/lib'
  9901. ;;
  9902. tpf*)
  9903. # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
  9904. version_type=linux # correct to gnu/linux during the next big refactor
  9905. need_lib_prefix=no
  9906. need_version=no
  9907. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  9908. shlibpath_var=LD_LIBRARY_PATH
  9909. shlibpath_overrides_runpath=no
  9910. hardcode_into_libs=yes
  9911. ;;
  9912. uts4*)
  9913. version_type=linux # correct to gnu/linux during the next big refactor
  9914. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  9915. soname_spec='${libname}${release}${shared_ext}$major'
  9916. shlibpath_var=LD_LIBRARY_PATH
  9917. ;;
  9918. *)
  9919. dynamic_linker=no
  9920. ;;
  9921. esac
  9922. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
  9923. $as_echo "$dynamic_linker" >&6; }
  9924. test "$dynamic_linker" = no && can_build_shared=no
  9925. variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
  9926. if test "$GCC" = yes; then
  9927. variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
  9928. fi
  9929. if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
  9930. sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
  9931. fi
  9932. if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
  9933. sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
  9934. fi
  9935. { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
  9936. $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
  9937. hardcode_action=
  9938. if test -n "$hardcode_libdir_flag_spec" ||
  9939. test -n "$runpath_var" ||
  9940. test "X$hardcode_automatic" = "Xyes" ; then
  9941. # We can hardcode non-existent directories.
  9942. if test "$hardcode_direct" != no &&
  9943. # If the only mechanism to avoid hardcoding is shlibpath_var, we
  9944. # have to relink, otherwise we might link with an installed library
  9945. # when we should be linking with a yet-to-be-installed one
  9946. ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
  9947. test "$hardcode_minus_L" != no; then
  9948. # Linking always hardcodes the temporary library directory.
  9949. hardcode_action=relink
  9950. else
  9951. # We can link without hardcoding, and we can hardcode nonexisting dirs.
  9952. hardcode_action=immediate
  9953. fi
  9954. else
  9955. # We cannot hardcode anything, or else we can only hardcode existing
  9956. # directories.
  9957. hardcode_action=unsupported
  9958. fi
  9959. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
  9960. $as_echo "$hardcode_action" >&6; }
  9961. if test "$hardcode_action" = relink ||
  9962. test "$inherit_rpath" = yes; then
  9963. # Fast installation is not supported
  9964. enable_fast_install=no
  9965. elif test "$shlibpath_overrides_runpath" = yes ||
  9966. test "$enable_shared" = no; then
  9967. # Fast installation is not necessary
  9968. enable_fast_install=needless
  9969. fi
  9970. if test "x$enable_dlopen" != xyes; then
  9971. enable_dlopen=unknown
  9972. enable_dlopen_self=unknown
  9973. enable_dlopen_self_static=unknown
  9974. else
  9975. lt_cv_dlopen=no
  9976. lt_cv_dlopen_libs=
  9977. case $host_os in
  9978. beos*)
  9979. lt_cv_dlopen="load_add_on"
  9980. lt_cv_dlopen_libs=
  9981. lt_cv_dlopen_self=yes
  9982. ;;
  9983. mingw* | pw32* | cegcc*)
  9984. lt_cv_dlopen="LoadLibrary"
  9985. lt_cv_dlopen_libs=
  9986. ;;
  9987. cygwin*)
  9988. lt_cv_dlopen="dlopen"
  9989. lt_cv_dlopen_libs=
  9990. ;;
  9991. darwin*)
  9992. # if libdl is installed we need to link against it
  9993. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
  9994. $as_echo_n "checking for dlopen in -ldl... " >&6; }
  9995. if ${ac_cv_lib_dl_dlopen+:} false; then :
  9996. $as_echo_n "(cached) " >&6
  9997. else
  9998. ac_check_lib_save_LIBS=$LIBS
  9999. LIBS="-ldl $LIBS"
  10000. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10001. /* end confdefs.h. */
  10002. /* Override any GCC internal prototype to avoid an error.
  10003. Use char because int might match the return type of a GCC
  10004. builtin and then its argument prototype would still apply. */
  10005. #ifdef __cplusplus
  10006. extern "C"
  10007. #endif
  10008. char dlopen ();
  10009. int
  10010. main ()
  10011. {
  10012. return dlopen ();
  10013. ;
  10014. return 0;
  10015. }
  10016. _ACEOF
  10017. if ac_fn_c_try_link "$LINENO"; then :
  10018. ac_cv_lib_dl_dlopen=yes
  10019. else
  10020. ac_cv_lib_dl_dlopen=no
  10021. fi
  10022. rm -f core conftest.err conftest.$ac_objext \
  10023. conftest$ac_exeext conftest.$ac_ext
  10024. LIBS=$ac_check_lib_save_LIBS
  10025. fi
  10026. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
  10027. $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
  10028. if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
  10029. lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
  10030. else
  10031. lt_cv_dlopen="dyld"
  10032. lt_cv_dlopen_libs=
  10033. lt_cv_dlopen_self=yes
  10034. fi
  10035. ;;
  10036. *)
  10037. ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
  10038. if test "x$ac_cv_func_shl_load" = xyes; then :
  10039. lt_cv_dlopen="shl_load"
  10040. else
  10041. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
  10042. $as_echo_n "checking for shl_load in -ldld... " >&6; }
  10043. if ${ac_cv_lib_dld_shl_load+:} false; then :
  10044. $as_echo_n "(cached) " >&6
  10045. else
  10046. ac_check_lib_save_LIBS=$LIBS
  10047. LIBS="-ldld $LIBS"
  10048. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10049. /* end confdefs.h. */
  10050. /* Override any GCC internal prototype to avoid an error.
  10051. Use char because int might match the return type of a GCC
  10052. builtin and then its argument prototype would still apply. */
  10053. #ifdef __cplusplus
  10054. extern "C"
  10055. #endif
  10056. char shl_load ();
  10057. int
  10058. main ()
  10059. {
  10060. return shl_load ();
  10061. ;
  10062. return 0;
  10063. }
  10064. _ACEOF
  10065. if ac_fn_c_try_link "$LINENO"; then :
  10066. ac_cv_lib_dld_shl_load=yes
  10067. else
  10068. ac_cv_lib_dld_shl_load=no
  10069. fi
  10070. rm -f core conftest.err conftest.$ac_objext \
  10071. conftest$ac_exeext conftest.$ac_ext
  10072. LIBS=$ac_check_lib_save_LIBS
  10073. fi
  10074. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
  10075. $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
  10076. if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
  10077. lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
  10078. else
  10079. ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
  10080. if test "x$ac_cv_func_dlopen" = xyes; then :
  10081. lt_cv_dlopen="dlopen"
  10082. else
  10083. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
  10084. $as_echo_n "checking for dlopen in -ldl... " >&6; }
  10085. if ${ac_cv_lib_dl_dlopen+:} false; then :
  10086. $as_echo_n "(cached) " >&6
  10087. else
  10088. ac_check_lib_save_LIBS=$LIBS
  10089. LIBS="-ldl $LIBS"
  10090. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10091. /* end confdefs.h. */
  10092. /* Override any GCC internal prototype to avoid an error.
  10093. Use char because int might match the return type of a GCC
  10094. builtin and then its argument prototype would still apply. */
  10095. #ifdef __cplusplus
  10096. extern "C"
  10097. #endif
  10098. char dlopen ();
  10099. int
  10100. main ()
  10101. {
  10102. return dlopen ();
  10103. ;
  10104. return 0;
  10105. }
  10106. _ACEOF
  10107. if ac_fn_c_try_link "$LINENO"; then :
  10108. ac_cv_lib_dl_dlopen=yes
  10109. else
  10110. ac_cv_lib_dl_dlopen=no
  10111. fi
  10112. rm -f core conftest.err conftest.$ac_objext \
  10113. conftest$ac_exeext conftest.$ac_ext
  10114. LIBS=$ac_check_lib_save_LIBS
  10115. fi
  10116. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
  10117. $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
  10118. if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
  10119. lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
  10120. else
  10121. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
  10122. $as_echo_n "checking for dlopen in -lsvld... " >&6; }
  10123. if ${ac_cv_lib_svld_dlopen+:} false; then :
  10124. $as_echo_n "(cached) " >&6
  10125. else
  10126. ac_check_lib_save_LIBS=$LIBS
  10127. LIBS="-lsvld $LIBS"
  10128. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10129. /* end confdefs.h. */
  10130. /* Override any GCC internal prototype to avoid an error.
  10131. Use char because int might match the return type of a GCC
  10132. builtin and then its argument prototype would still apply. */
  10133. #ifdef __cplusplus
  10134. extern "C"
  10135. #endif
  10136. char dlopen ();
  10137. int
  10138. main ()
  10139. {
  10140. return dlopen ();
  10141. ;
  10142. return 0;
  10143. }
  10144. _ACEOF
  10145. if ac_fn_c_try_link "$LINENO"; then :
  10146. ac_cv_lib_svld_dlopen=yes
  10147. else
  10148. ac_cv_lib_svld_dlopen=no
  10149. fi
  10150. rm -f core conftest.err conftest.$ac_objext \
  10151. conftest$ac_exeext conftest.$ac_ext
  10152. LIBS=$ac_check_lib_save_LIBS
  10153. fi
  10154. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
  10155. $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
  10156. if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
  10157. lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
  10158. else
  10159. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
  10160. $as_echo_n "checking for dld_link in -ldld... " >&6; }
  10161. if ${ac_cv_lib_dld_dld_link+:} false; then :
  10162. $as_echo_n "(cached) " >&6
  10163. else
  10164. ac_check_lib_save_LIBS=$LIBS
  10165. LIBS="-ldld $LIBS"
  10166. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10167. /* end confdefs.h. */
  10168. /* Override any GCC internal prototype to avoid an error.
  10169. Use char because int might match the return type of a GCC
  10170. builtin and then its argument prototype would still apply. */
  10171. #ifdef __cplusplus
  10172. extern "C"
  10173. #endif
  10174. char dld_link ();
  10175. int
  10176. main ()
  10177. {
  10178. return dld_link ();
  10179. ;
  10180. return 0;
  10181. }
  10182. _ACEOF
  10183. if ac_fn_c_try_link "$LINENO"; then :
  10184. ac_cv_lib_dld_dld_link=yes
  10185. else
  10186. ac_cv_lib_dld_dld_link=no
  10187. fi
  10188. rm -f core conftest.err conftest.$ac_objext \
  10189. conftest$ac_exeext conftest.$ac_ext
  10190. LIBS=$ac_check_lib_save_LIBS
  10191. fi
  10192. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
  10193. $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
  10194. if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
  10195. lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
  10196. fi
  10197. fi
  10198. fi
  10199. fi
  10200. fi
  10201. fi
  10202. ;;
  10203. esac
  10204. if test "x$lt_cv_dlopen" != xno; then
  10205. enable_dlopen=yes
  10206. else
  10207. enable_dlopen=no
  10208. fi
  10209. case $lt_cv_dlopen in
  10210. dlopen)
  10211. save_CPPFLAGS="$CPPFLAGS"
  10212. test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
  10213. save_LDFLAGS="$LDFLAGS"
  10214. wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
  10215. save_LIBS="$LIBS"
  10216. LIBS="$lt_cv_dlopen_libs $LIBS"
  10217. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
  10218. $as_echo_n "checking whether a program can dlopen itself... " >&6; }
  10219. if ${lt_cv_dlopen_self+:} false; then :
  10220. $as_echo_n "(cached) " >&6
  10221. else
  10222. if test "$cross_compiling" = yes; then :
  10223. lt_cv_dlopen_self=cross
  10224. else
  10225. lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
  10226. lt_status=$lt_dlunknown
  10227. cat > conftest.$ac_ext <<_LT_EOF
  10228. #line $LINENO "configure"
  10229. #include "confdefs.h"
  10230. #if HAVE_DLFCN_H
  10231. #include <dlfcn.h>
  10232. #endif
  10233. #include <stdio.h>
  10234. #ifdef RTLD_GLOBAL
  10235. # define LT_DLGLOBAL RTLD_GLOBAL
  10236. #else
  10237. # ifdef DL_GLOBAL
  10238. # define LT_DLGLOBAL DL_GLOBAL
  10239. # else
  10240. # define LT_DLGLOBAL 0
  10241. # endif
  10242. #endif
  10243. /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
  10244. find out it does not work in some platform. */
  10245. #ifndef LT_DLLAZY_OR_NOW
  10246. # ifdef RTLD_LAZY
  10247. # define LT_DLLAZY_OR_NOW RTLD_LAZY
  10248. # else
  10249. # ifdef DL_LAZY
  10250. # define LT_DLLAZY_OR_NOW DL_LAZY
  10251. # else
  10252. # ifdef RTLD_NOW
  10253. # define LT_DLLAZY_OR_NOW RTLD_NOW
  10254. # else
  10255. # ifdef DL_NOW
  10256. # define LT_DLLAZY_OR_NOW DL_NOW
  10257. # else
  10258. # define LT_DLLAZY_OR_NOW 0
  10259. # endif
  10260. # endif
  10261. # endif
  10262. # endif
  10263. #endif
  10264. /* When -fvisbility=hidden is used, assume the code has been annotated
  10265. correspondingly for the symbols needed. */
  10266. #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
  10267. int fnord () __attribute__((visibility("default")));
  10268. #endif
  10269. int fnord () { return 42; }
  10270. int main ()
  10271. {
  10272. void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
  10273. int status = $lt_dlunknown;
  10274. if (self)
  10275. {
  10276. if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
  10277. else
  10278. {
  10279. if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
  10280. else puts (dlerror ());
  10281. }
  10282. /* dlclose (self); */
  10283. }
  10284. else
  10285. puts (dlerror ());
  10286. return status;
  10287. }
  10288. _LT_EOF
  10289. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  10290. (eval $ac_link) 2>&5
  10291. ac_status=$?
  10292. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  10293. test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
  10294. (./conftest; exit; ) >&5 2>/dev/null
  10295. lt_status=$?
  10296. case x$lt_status in
  10297. x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
  10298. x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
  10299. x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
  10300. esac
  10301. else :
  10302. # compilation failed
  10303. lt_cv_dlopen_self=no
  10304. fi
  10305. fi
  10306. rm -fr conftest*
  10307. fi
  10308. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
  10309. $as_echo "$lt_cv_dlopen_self" >&6; }
  10310. if test "x$lt_cv_dlopen_self" = xyes; then
  10311. wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
  10312. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
  10313. $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
  10314. if ${lt_cv_dlopen_self_static+:} false; then :
  10315. $as_echo_n "(cached) " >&6
  10316. else
  10317. if test "$cross_compiling" = yes; then :
  10318. lt_cv_dlopen_self_static=cross
  10319. else
  10320. lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
  10321. lt_status=$lt_dlunknown
  10322. cat > conftest.$ac_ext <<_LT_EOF
  10323. #line $LINENO "configure"
  10324. #include "confdefs.h"
  10325. #if HAVE_DLFCN_H
  10326. #include <dlfcn.h>
  10327. #endif
  10328. #include <stdio.h>
  10329. #ifdef RTLD_GLOBAL
  10330. # define LT_DLGLOBAL RTLD_GLOBAL
  10331. #else
  10332. # ifdef DL_GLOBAL
  10333. # define LT_DLGLOBAL DL_GLOBAL
  10334. # else
  10335. # define LT_DLGLOBAL 0
  10336. # endif
  10337. #endif
  10338. /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
  10339. find out it does not work in some platform. */
  10340. #ifndef LT_DLLAZY_OR_NOW
  10341. # ifdef RTLD_LAZY
  10342. # define LT_DLLAZY_OR_NOW RTLD_LAZY
  10343. # else
  10344. # ifdef DL_LAZY
  10345. # define LT_DLLAZY_OR_NOW DL_LAZY
  10346. # else
  10347. # ifdef RTLD_NOW
  10348. # define LT_DLLAZY_OR_NOW RTLD_NOW
  10349. # else
  10350. # ifdef DL_NOW
  10351. # define LT_DLLAZY_OR_NOW DL_NOW
  10352. # else
  10353. # define LT_DLLAZY_OR_NOW 0
  10354. # endif
  10355. # endif
  10356. # endif
  10357. # endif
  10358. #endif
  10359. /* When -fvisbility=hidden is used, assume the code has been annotated
  10360. correspondingly for the symbols needed. */
  10361. #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
  10362. int fnord () __attribute__((visibility("default")));
  10363. #endif
  10364. int fnord () { return 42; }
  10365. int main ()
  10366. {
  10367. void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
  10368. int status = $lt_dlunknown;
  10369. if (self)
  10370. {
  10371. if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
  10372. else
  10373. {
  10374. if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
  10375. else puts (dlerror ());
  10376. }
  10377. /* dlclose (self); */
  10378. }
  10379. else
  10380. puts (dlerror ());
  10381. return status;
  10382. }
  10383. _LT_EOF
  10384. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  10385. (eval $ac_link) 2>&5
  10386. ac_status=$?
  10387. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  10388. test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
  10389. (./conftest; exit; ) >&5 2>/dev/null
  10390. lt_status=$?
  10391. case x$lt_status in
  10392. x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
  10393. x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
  10394. x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
  10395. esac
  10396. else :
  10397. # compilation failed
  10398. lt_cv_dlopen_self_static=no
  10399. fi
  10400. fi
  10401. rm -fr conftest*
  10402. fi
  10403. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
  10404. $as_echo "$lt_cv_dlopen_self_static" >&6; }
  10405. fi
  10406. CPPFLAGS="$save_CPPFLAGS"
  10407. LDFLAGS="$save_LDFLAGS"
  10408. LIBS="$save_LIBS"
  10409. ;;
  10410. esac
  10411. case $lt_cv_dlopen_self in
  10412. yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
  10413. *) enable_dlopen_self=unknown ;;
  10414. esac
  10415. case $lt_cv_dlopen_self_static in
  10416. yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
  10417. *) enable_dlopen_self_static=unknown ;;
  10418. esac
  10419. fi
  10420. striplib=
  10421. old_striplib=
  10422. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
  10423. $as_echo_n "checking whether stripping libraries is possible... " >&6; }
  10424. if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
  10425. test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
  10426. test -z "$striplib" && striplib="$STRIP --strip-unneeded"
  10427. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  10428. $as_echo "yes" >&6; }
  10429. else
  10430. # FIXME - insert some real tests, host_os isn't really good enough
  10431. case $host_os in
  10432. darwin*)
  10433. if test -n "$STRIP" ; then
  10434. striplib="$STRIP -x"
  10435. old_striplib="$STRIP -S"
  10436. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  10437. $as_echo "yes" >&6; }
  10438. else
  10439. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  10440. $as_echo "no" >&6; }
  10441. fi
  10442. ;;
  10443. *)
  10444. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  10445. $as_echo "no" >&6; }
  10446. ;;
  10447. esac
  10448. fi
  10449. # Report which library types will actually be built
  10450. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
  10451. $as_echo_n "checking if libtool supports shared libraries... " >&6; }
  10452. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
  10453. $as_echo "$can_build_shared" >&6; }
  10454. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
  10455. $as_echo_n "checking whether to build shared libraries... " >&6; }
  10456. test "$can_build_shared" = "no" && enable_shared=no
  10457. # On AIX, shared libraries and static libraries use the same namespace, and
  10458. # are all built from PIC.
  10459. case $host_os in
  10460. aix3*)
  10461. test "$enable_shared" = yes && enable_static=no
  10462. if test -n "$RANLIB"; then
  10463. archive_cmds="$archive_cmds~\$RANLIB \$lib"
  10464. postinstall_cmds='$RANLIB $lib'
  10465. fi
  10466. ;;
  10467. aix[4-9]*)
  10468. if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
  10469. test "$enable_shared" = yes && enable_static=no
  10470. fi
  10471. ;;
  10472. esac
  10473. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
  10474. $as_echo "$enable_shared" >&6; }
  10475. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
  10476. $as_echo_n "checking whether to build static libraries... " >&6; }
  10477. # Make sure either enable_shared or enable_static is yes.
  10478. test "$enable_shared" = yes || enable_static=yes
  10479. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
  10480. $as_echo "$enable_static" >&6; }
  10481. fi
  10482. ac_ext=cpp
  10483. ac_cpp='$CXXCPP $CPPFLAGS'
  10484. ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  10485. ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  10486. ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  10487. CC="$lt_save_CC"
  10488. if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
  10489. ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
  10490. (test "X$CXX" != "Xg++"))) ; then
  10491. ac_ext=cpp
  10492. ac_cpp='$CXXCPP $CPPFLAGS'
  10493. ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  10494. ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  10495. ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  10496. { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
  10497. $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
  10498. if test -z "$CXXCPP"; then
  10499. if ${ac_cv_prog_CXXCPP+:} false; then :
  10500. $as_echo_n "(cached) " >&6
  10501. else
  10502. # Double quotes because CXXCPP needs to be expanded
  10503. for CXXCPP in "$CXX -E" "/lib/cpp"
  10504. do
  10505. ac_preproc_ok=false
  10506. for ac_cxx_preproc_warn_flag in '' yes
  10507. do
  10508. # Use a header file that comes with gcc, so configuring glibc
  10509. # with a fresh cross-compiler works.
  10510. # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  10511. # <limits.h> exists even on freestanding compilers.
  10512. # On the NeXT, cc -E runs the code through the compiler's parser,
  10513. # not just through cpp. "Syntax error" is here to catch this case.
  10514. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10515. /* end confdefs.h. */
  10516. #ifdef __STDC__
  10517. # include <limits.h>
  10518. #else
  10519. # include <assert.h>
  10520. #endif
  10521. Syntax error
  10522. _ACEOF
  10523. if ac_fn_cxx_try_cpp "$LINENO"; then :
  10524. else
  10525. # Broken: fails on valid input.
  10526. continue
  10527. fi
  10528. rm -f conftest.err conftest.i conftest.$ac_ext
  10529. # OK, works on sane cases. Now check whether nonexistent headers
  10530. # can be detected and how.
  10531. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10532. /* end confdefs.h. */
  10533. #include <ac_nonexistent.h>
  10534. _ACEOF
  10535. if ac_fn_cxx_try_cpp "$LINENO"; then :
  10536. # Broken: success on invalid input.
  10537. continue
  10538. else
  10539. # Passes both tests.
  10540. ac_preproc_ok=:
  10541. break
  10542. fi
  10543. rm -f conftest.err conftest.i conftest.$ac_ext
  10544. done
  10545. # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  10546. rm -f conftest.i conftest.err conftest.$ac_ext
  10547. if $ac_preproc_ok; then :
  10548. break
  10549. fi
  10550. done
  10551. ac_cv_prog_CXXCPP=$CXXCPP
  10552. fi
  10553. CXXCPP=$ac_cv_prog_CXXCPP
  10554. else
  10555. ac_cv_prog_CXXCPP=$CXXCPP
  10556. fi
  10557. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
  10558. $as_echo "$CXXCPP" >&6; }
  10559. ac_preproc_ok=false
  10560. for ac_cxx_preproc_warn_flag in '' yes
  10561. do
  10562. # Use a header file that comes with gcc, so configuring glibc
  10563. # with a fresh cross-compiler works.
  10564. # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  10565. # <limits.h> exists even on freestanding compilers.
  10566. # On the NeXT, cc -E runs the code through the compiler's parser,
  10567. # not just through cpp. "Syntax error" is here to catch this case.
  10568. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10569. /* end confdefs.h. */
  10570. #ifdef __STDC__
  10571. # include <limits.h>
  10572. #else
  10573. # include <assert.h>
  10574. #endif
  10575. Syntax error
  10576. _ACEOF
  10577. if ac_fn_cxx_try_cpp "$LINENO"; then :
  10578. else
  10579. # Broken: fails on valid input.
  10580. continue
  10581. fi
  10582. rm -f conftest.err conftest.i conftest.$ac_ext
  10583. # OK, works on sane cases. Now check whether nonexistent headers
  10584. # can be detected and how.
  10585. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10586. /* end confdefs.h. */
  10587. #include <ac_nonexistent.h>
  10588. _ACEOF
  10589. if ac_fn_cxx_try_cpp "$LINENO"; then :
  10590. # Broken: success on invalid input.
  10591. continue
  10592. else
  10593. # Passes both tests.
  10594. ac_preproc_ok=:
  10595. break
  10596. fi
  10597. rm -f conftest.err conftest.i conftest.$ac_ext
  10598. done
  10599. # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  10600. rm -f conftest.i conftest.err conftest.$ac_ext
  10601. if $ac_preproc_ok; then :
  10602. else
  10603. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  10604. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  10605. as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
  10606. See \`config.log' for more details" "$LINENO" 5; }
  10607. fi
  10608. ac_ext=cpp
  10609. ac_cpp='$CXXCPP $CPPFLAGS'
  10610. ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  10611. ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  10612. ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  10613. else
  10614. _lt_caught_CXX_error=yes
  10615. fi
  10616. ac_ext=cpp
  10617. ac_cpp='$CXXCPP $CPPFLAGS'
  10618. ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  10619. ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  10620. ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  10621. archive_cmds_need_lc_CXX=no
  10622. allow_undefined_flag_CXX=
  10623. always_export_symbols_CXX=no
  10624. archive_expsym_cmds_CXX=
  10625. compiler_needs_object_CXX=no
  10626. export_dynamic_flag_spec_CXX=
  10627. hardcode_direct_CXX=no
  10628. hardcode_direct_absolute_CXX=no
  10629. hardcode_libdir_flag_spec_CXX=
  10630. hardcode_libdir_separator_CXX=
  10631. hardcode_minus_L_CXX=no
  10632. hardcode_shlibpath_var_CXX=unsupported
  10633. hardcode_automatic_CXX=no
  10634. inherit_rpath_CXX=no
  10635. module_cmds_CXX=
  10636. module_expsym_cmds_CXX=
  10637. link_all_deplibs_CXX=unknown
  10638. old_archive_cmds_CXX=$old_archive_cmds
  10639. reload_flag_CXX=$reload_flag
  10640. reload_cmds_CXX=$reload_cmds
  10641. no_undefined_flag_CXX=
  10642. whole_archive_flag_spec_CXX=
  10643. enable_shared_with_static_runtimes_CXX=no
  10644. # Source file extension for C++ test sources.
  10645. ac_ext=cpp
  10646. # Object file extension for compiled C++ test sources.
  10647. objext=o
  10648. objext_CXX=$objext
  10649. # No sense in running all these tests if we already determined that
  10650. # the CXX compiler isn't working. Some variables (like enable_shared)
  10651. # are currently assumed to apply to all compilers on this platform,
  10652. # and will be corrupted by setting them based on a non-working compiler.
  10653. if test "$_lt_caught_CXX_error" != yes; then
  10654. # Code to be used in simple compile tests
  10655. lt_simple_compile_test_code="int some_variable = 0;"
  10656. # Code to be used in simple link tests
  10657. lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
  10658. # ltmain only uses $CC for tagged configurations so make sure $CC is set.
  10659. # If no C compiler was specified, use CC.
  10660. LTCC=${LTCC-"$CC"}
  10661. # If no C compiler flags were specified, use CFLAGS.
  10662. LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
  10663. # Allow CC to be a program name with arguments.
  10664. compiler=$CC
  10665. # save warnings/boilerplate of simple test code
  10666. ac_outfile=conftest.$ac_objext
  10667. echo "$lt_simple_compile_test_code" >conftest.$ac_ext
  10668. eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  10669. _lt_compiler_boilerplate=`cat conftest.err`
  10670. $RM conftest*
  10671. ac_outfile=conftest.$ac_objext
  10672. echo "$lt_simple_link_test_code" >conftest.$ac_ext
  10673. eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  10674. _lt_linker_boilerplate=`cat conftest.err`
  10675. $RM -r conftest*
  10676. # Allow CC to be a program name with arguments.
  10677. lt_save_CC=$CC
  10678. lt_save_CFLAGS=$CFLAGS
  10679. lt_save_LD=$LD
  10680. lt_save_GCC=$GCC
  10681. GCC=$GXX
  10682. lt_save_with_gnu_ld=$with_gnu_ld
  10683. lt_save_path_LD=$lt_cv_path_LD
  10684. if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
  10685. lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
  10686. else
  10687. $as_unset lt_cv_prog_gnu_ld
  10688. fi
  10689. if test -n "${lt_cv_path_LDCXX+set}"; then
  10690. lt_cv_path_LD=$lt_cv_path_LDCXX
  10691. else
  10692. $as_unset lt_cv_path_LD
  10693. fi
  10694. test -z "${LDCXX+set}" || LD=$LDCXX
  10695. CC=${CXX-"c++"}
  10696. CFLAGS=$CXXFLAGS
  10697. compiler=$CC
  10698. compiler_CXX=$CC
  10699. for cc_temp in $compiler""; do
  10700. case $cc_temp in
  10701. compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
  10702. distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
  10703. \-*) ;;
  10704. *) break;;
  10705. esac
  10706. done
  10707. cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
  10708. if test -n "$compiler"; then
  10709. # We don't want -fno-exception when compiling C++ code, so set the
  10710. # no_builtin_flag separately
  10711. if test "$GXX" = yes; then
  10712. lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
  10713. else
  10714. lt_prog_compiler_no_builtin_flag_CXX=
  10715. fi
  10716. if test "$GXX" = yes; then
  10717. # Set up default GNU C++ configuration
  10718. # Check whether --with-gnu-ld was given.
  10719. if test "${with_gnu_ld+set}" = set; then :
  10720. withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
  10721. else
  10722. with_gnu_ld=no
  10723. fi
  10724. ac_prog=ld
  10725. if test "$GCC" = yes; then
  10726. # Check if gcc -print-prog-name=ld gives a path.
  10727. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
  10728. $as_echo_n "checking for ld used by $CC... " >&6; }
  10729. case $host in
  10730. *-*-mingw*)
  10731. # gcc leaves a trailing carriage return which upsets mingw
  10732. ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
  10733. *)
  10734. ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
  10735. esac
  10736. case $ac_prog in
  10737. # Accept absolute paths.
  10738. [\\/]* | ?:[\\/]*)
  10739. re_direlt='/[^/][^/]*/\.\./'
  10740. # Canonicalize the pathname of ld
  10741. ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
  10742. while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
  10743. ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
  10744. done
  10745. test -z "$LD" && LD="$ac_prog"
  10746. ;;
  10747. "")
  10748. # If it fails, then pretend we aren't using GCC.
  10749. ac_prog=ld
  10750. ;;
  10751. *)
  10752. # If it is relative, then search for the first ld in PATH.
  10753. with_gnu_ld=unknown
  10754. ;;
  10755. esac
  10756. elif test "$with_gnu_ld" = yes; then
  10757. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
  10758. $as_echo_n "checking for GNU ld... " >&6; }
  10759. else
  10760. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
  10761. $as_echo_n "checking for non-GNU ld... " >&6; }
  10762. fi
  10763. if ${lt_cv_path_LD+:} false; then :
  10764. $as_echo_n "(cached) " >&6
  10765. else
  10766. if test -z "$LD"; then
  10767. lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  10768. for ac_dir in $PATH; do
  10769. IFS="$lt_save_ifs"
  10770. test -z "$ac_dir" && ac_dir=.
  10771. if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
  10772. lt_cv_path_LD="$ac_dir/$ac_prog"
  10773. # Check to see if the program is GNU ld. I'd rather use --version,
  10774. # but apparently some variants of GNU ld only accept -v.
  10775. # Break only if it was the GNU/non-GNU ld that we prefer.
  10776. case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
  10777. *GNU* | *'with BFD'*)
  10778. test "$with_gnu_ld" != no && break
  10779. ;;
  10780. *)
  10781. test "$with_gnu_ld" != yes && break
  10782. ;;
  10783. esac
  10784. fi
  10785. done
  10786. IFS="$lt_save_ifs"
  10787. else
  10788. lt_cv_path_LD="$LD" # Let the user override the test with a path.
  10789. fi
  10790. fi
  10791. LD="$lt_cv_path_LD"
  10792. if test -n "$LD"; then
  10793. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
  10794. $as_echo "$LD" >&6; }
  10795. else
  10796. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  10797. $as_echo "no" >&6; }
  10798. fi
  10799. test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
  10800. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
  10801. $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
  10802. if ${lt_cv_prog_gnu_ld+:} false; then :
  10803. $as_echo_n "(cached) " >&6
  10804. else
  10805. # I'd rather use --version here, but apparently some GNU lds only accept -v.
  10806. case `$LD -v 2>&1 </dev/null` in
  10807. *GNU* | *'with BFD'*)
  10808. lt_cv_prog_gnu_ld=yes
  10809. ;;
  10810. *)
  10811. lt_cv_prog_gnu_ld=no
  10812. ;;
  10813. esac
  10814. fi
  10815. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
  10816. $as_echo "$lt_cv_prog_gnu_ld" >&6; }
  10817. with_gnu_ld=$lt_cv_prog_gnu_ld
  10818. # Check if GNU C++ uses GNU ld as the underlying linker, since the
  10819. # archiving commands below assume that GNU ld is being used.
  10820. if test "$with_gnu_ld" = yes; then
  10821. archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
  10822. archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  10823. hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
  10824. export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
  10825. # If archive_cmds runs LD, not CC, wlarc should be empty
  10826. # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
  10827. # investigate it a little bit more. (MM)
  10828. wlarc='${wl}'
  10829. # ancient GNU ld didn't support --whole-archive et. al.
  10830. if eval "`$CC -print-prog-name=ld` --help 2>&1" |
  10831. $GREP 'no-whole-archive' > /dev/null; then
  10832. whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
  10833. else
  10834. whole_archive_flag_spec_CXX=
  10835. fi
  10836. else
  10837. with_gnu_ld=no
  10838. wlarc=
  10839. # A generic and very simple default shared library creation
  10840. # command for GNU C++ for the case where it uses the native
  10841. # linker, instead of GNU ld. If possible, this setting should
  10842. # overridden to take advantage of the native linker features on
  10843. # the platform it is being used on.
  10844. archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
  10845. fi
  10846. # Commands to make compiler produce verbose output that lists
  10847. # what "hidden" libraries, object files and flags are used when
  10848. # linking a shared library.
  10849. output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
  10850. else
  10851. GXX=no
  10852. with_gnu_ld=no
  10853. wlarc=
  10854. fi
  10855. # PORTME: fill in a description of your system's C++ link characteristics
  10856. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
  10857. $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
  10858. ld_shlibs_CXX=yes
  10859. case $host_os in
  10860. aix3*)
  10861. # FIXME: insert proper C++ library support
  10862. ld_shlibs_CXX=no
  10863. ;;
  10864. aix[4-9]*)
  10865. if test "$host_cpu" = ia64; then
  10866. # On IA64, the linker does run time linking by default, so we don't
  10867. # have to do anything special.
  10868. aix_use_runtimelinking=no
  10869. exp_sym_flag='-Bexport'
  10870. no_entry_flag=""
  10871. else
  10872. aix_use_runtimelinking=no
  10873. # Test if we are trying to use run time linking or normal
  10874. # AIX style linking. If -brtl is somewhere in LDFLAGS, we
  10875. # need to do runtime linking.
  10876. case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
  10877. for ld_flag in $LDFLAGS; do
  10878. case $ld_flag in
  10879. *-brtl*)
  10880. aix_use_runtimelinking=yes
  10881. break
  10882. ;;
  10883. esac
  10884. done
  10885. ;;
  10886. esac
  10887. exp_sym_flag='-bexport'
  10888. no_entry_flag='-bnoentry'
  10889. fi
  10890. # When large executables or shared objects are built, AIX ld can
  10891. # have problems creating the table of contents. If linking a library
  10892. # or program results in "error TOC overflow" add -mminimal-toc to
  10893. # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
  10894. # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
  10895. archive_cmds_CXX=''
  10896. hardcode_direct_CXX=yes
  10897. hardcode_direct_absolute_CXX=yes
  10898. hardcode_libdir_separator_CXX=':'
  10899. link_all_deplibs_CXX=yes
  10900. file_list_spec_CXX='${wl}-f,'
  10901. if test "$GXX" = yes; then
  10902. case $host_os in aix4.[012]|aix4.[012].*)
  10903. # We only want to do this on AIX 4.2 and lower, the check
  10904. # below for broken collect2 doesn't work under 4.3+
  10905. collect2name=`${CC} -print-prog-name=collect2`
  10906. if test -f "$collect2name" &&
  10907. strings "$collect2name" | $GREP resolve_lib_name >/dev/null
  10908. then
  10909. # We have reworked collect2
  10910. :
  10911. else
  10912. # We have old collect2
  10913. hardcode_direct_CXX=unsupported
  10914. # It fails to find uninstalled libraries when the uninstalled
  10915. # path is not listed in the libpath. Setting hardcode_minus_L
  10916. # to unsupported forces relinking
  10917. hardcode_minus_L_CXX=yes
  10918. hardcode_libdir_flag_spec_CXX='-L$libdir'
  10919. hardcode_libdir_separator_CXX=
  10920. fi
  10921. esac
  10922. shared_flag='-shared'
  10923. if test "$aix_use_runtimelinking" = yes; then
  10924. shared_flag="$shared_flag "'${wl}-G'
  10925. fi
  10926. else
  10927. # not using gcc
  10928. if test "$host_cpu" = ia64; then
  10929. # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
  10930. # chokes on -Wl,-G. The following line is correct:
  10931. shared_flag='-G'
  10932. else
  10933. if test "$aix_use_runtimelinking" = yes; then
  10934. shared_flag='${wl}-G'
  10935. else
  10936. shared_flag='${wl}-bM:SRE'
  10937. fi
  10938. fi
  10939. fi
  10940. export_dynamic_flag_spec_CXX='${wl}-bexpall'
  10941. # It seems that -bexpall does not export symbols beginning with
  10942. # underscore (_), so it is better to generate a list of symbols to
  10943. # export.
  10944. always_export_symbols_CXX=yes
  10945. if test "$aix_use_runtimelinking" = yes; then
  10946. # Warning - without using the other runtime loading flags (-brtl),
  10947. # -berok will link without error, but may produce a broken library.
  10948. allow_undefined_flag_CXX='-berok'
  10949. # Determine the default libpath from the value encoded in an empty
  10950. # executable.
  10951. if test "${lt_cv_aix_libpath+set}" = set; then
  10952. aix_libpath=$lt_cv_aix_libpath
  10953. else
  10954. if ${lt_cv_aix_libpath__CXX+:} false; then :
  10955. $as_echo_n "(cached) " >&6
  10956. else
  10957. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10958. /* end confdefs.h. */
  10959. int
  10960. main ()
  10961. {
  10962. ;
  10963. return 0;
  10964. }
  10965. _ACEOF
  10966. if ac_fn_cxx_try_link "$LINENO"; then :
  10967. lt_aix_libpath_sed='
  10968. /Import File Strings/,/^$/ {
  10969. /^0/ {
  10970. s/^0 *\([^ ]*\) *$/\1/
  10971. p
  10972. }
  10973. }'
  10974. lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  10975. # Check for a 64-bit object if we didn't find anything.
  10976. if test -z "$lt_cv_aix_libpath__CXX"; then
  10977. lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  10978. fi
  10979. fi
  10980. rm -f core conftest.err conftest.$ac_objext \
  10981. conftest$ac_exeext conftest.$ac_ext
  10982. if test -z "$lt_cv_aix_libpath__CXX"; then
  10983. lt_cv_aix_libpath__CXX="/usr/lib:/lib"
  10984. fi
  10985. fi
  10986. aix_libpath=$lt_cv_aix_libpath__CXX
  10987. fi
  10988. hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
  10989. archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
  10990. else
  10991. if test "$host_cpu" = ia64; then
  10992. hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
  10993. allow_undefined_flag_CXX="-z nodefs"
  10994. archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
  10995. else
  10996. # Determine the default libpath from the value encoded in an
  10997. # empty executable.
  10998. if test "${lt_cv_aix_libpath+set}" = set; then
  10999. aix_libpath=$lt_cv_aix_libpath
  11000. else
  11001. if ${lt_cv_aix_libpath__CXX+:} false; then :
  11002. $as_echo_n "(cached) " >&6
  11003. else
  11004. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11005. /* end confdefs.h. */
  11006. int
  11007. main ()
  11008. {
  11009. ;
  11010. return 0;
  11011. }
  11012. _ACEOF
  11013. if ac_fn_cxx_try_link "$LINENO"; then :
  11014. lt_aix_libpath_sed='
  11015. /Import File Strings/,/^$/ {
  11016. /^0/ {
  11017. s/^0 *\([^ ]*\) *$/\1/
  11018. p
  11019. }
  11020. }'
  11021. lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  11022. # Check for a 64-bit object if we didn't find anything.
  11023. if test -z "$lt_cv_aix_libpath__CXX"; then
  11024. lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  11025. fi
  11026. fi
  11027. rm -f core conftest.err conftest.$ac_objext \
  11028. conftest$ac_exeext conftest.$ac_ext
  11029. if test -z "$lt_cv_aix_libpath__CXX"; then
  11030. lt_cv_aix_libpath__CXX="/usr/lib:/lib"
  11031. fi
  11032. fi
  11033. aix_libpath=$lt_cv_aix_libpath__CXX
  11034. fi
  11035. hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
  11036. # Warning - without using the other run time loading flags,
  11037. # -berok will link without error, but may produce a broken library.
  11038. no_undefined_flag_CXX=' ${wl}-bernotok'
  11039. allow_undefined_flag_CXX=' ${wl}-berok'
  11040. if test "$with_gnu_ld" = yes; then
  11041. # We only use this code for GNU lds that support --whole-archive.
  11042. whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
  11043. else
  11044. # Exported symbols can be pulled into shared objects from archives
  11045. whole_archive_flag_spec_CXX='$convenience'
  11046. fi
  11047. archive_cmds_need_lc_CXX=yes
  11048. # This is similar to how AIX traditionally builds its shared
  11049. # libraries.
  11050. archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
  11051. fi
  11052. fi
  11053. ;;
  11054. beos*)
  11055. if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  11056. allow_undefined_flag_CXX=unsupported
  11057. # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
  11058. # support --undefined. This deserves some investigation. FIXME
  11059. archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  11060. else
  11061. ld_shlibs_CXX=no
  11062. fi
  11063. ;;
  11064. chorus*)
  11065. case $cc_basename in
  11066. *)
  11067. # FIXME: insert proper C++ library support
  11068. ld_shlibs_CXX=no
  11069. ;;
  11070. esac
  11071. ;;
  11072. cygwin* | mingw* | pw32* | cegcc*)
  11073. case $GXX,$cc_basename in
  11074. ,cl* | no,cl*)
  11075. # Native MSVC
  11076. # hardcode_libdir_flag_spec is actually meaningless, as there is
  11077. # no search path for DLLs.
  11078. hardcode_libdir_flag_spec_CXX=' '
  11079. allow_undefined_flag_CXX=unsupported
  11080. always_export_symbols_CXX=yes
  11081. file_list_spec_CXX='@'
  11082. # Tell ltmain to make .lib files, not .a files.
  11083. libext=lib
  11084. # Tell ltmain to make .dll files, not .so files.
  11085. shrext_cmds=".dll"
  11086. # FIXME: Setting linknames here is a bad hack.
  11087. archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
  11088. archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
  11089. $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
  11090. else
  11091. $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
  11092. fi~
  11093. $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
  11094. linknames='
  11095. # The linker will not automatically build a static lib if we build a DLL.
  11096. # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
  11097. enable_shared_with_static_runtimes_CXX=yes
  11098. # Don't use ranlib
  11099. old_postinstall_cmds_CXX='chmod 644 $oldlib'
  11100. postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
  11101. lt_tool_outputfile="@TOOL_OUTPUT@"~
  11102. case $lt_outputfile in
  11103. *.exe|*.EXE) ;;
  11104. *)
  11105. lt_outputfile="$lt_outputfile.exe"
  11106. lt_tool_outputfile="$lt_tool_outputfile.exe"
  11107. ;;
  11108. esac~
  11109. func_to_tool_file "$lt_outputfile"~
  11110. if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
  11111. $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
  11112. $RM "$lt_outputfile.manifest";
  11113. fi'
  11114. ;;
  11115. *)
  11116. # g++
  11117. # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
  11118. # as there is no search path for DLLs.
  11119. hardcode_libdir_flag_spec_CXX='-L$libdir'
  11120. export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
  11121. allow_undefined_flag_CXX=unsupported
  11122. always_export_symbols_CXX=no
  11123. enable_shared_with_static_runtimes_CXX=yes
  11124. if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
  11125. archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  11126. # If the export-symbols file already is a .def file (1st line
  11127. # is EXPORTS), use it as is; otherwise, prepend...
  11128. archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
  11129. cp $export_symbols $output_objdir/$soname.def;
  11130. else
  11131. echo EXPORTS > $output_objdir/$soname.def;
  11132. cat $export_symbols >> $output_objdir/$soname.def;
  11133. fi~
  11134. $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  11135. else
  11136. ld_shlibs_CXX=no
  11137. fi
  11138. ;;
  11139. esac
  11140. ;;
  11141. darwin* | rhapsody*)
  11142. archive_cmds_need_lc_CXX=no
  11143. hardcode_direct_CXX=no
  11144. hardcode_automatic_CXX=yes
  11145. hardcode_shlibpath_var_CXX=unsupported
  11146. if test "$lt_cv_ld_force_load" = "yes"; then
  11147. whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
  11148. else
  11149. whole_archive_flag_spec_CXX=''
  11150. fi
  11151. link_all_deplibs_CXX=yes
  11152. allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
  11153. case $cc_basename in
  11154. ifort*) _lt_dar_can_shared=yes ;;
  11155. *) _lt_dar_can_shared=$GCC ;;
  11156. esac
  11157. if test "$_lt_dar_can_shared" = "yes"; then
  11158. output_verbose_link_cmd=func_echo_all
  11159. archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
  11160. module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
  11161. archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
  11162. module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
  11163. if test "$lt_cv_apple_cc_single_mod" != "yes"; then
  11164. archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
  11165. archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
  11166. fi
  11167. else
  11168. ld_shlibs_CXX=no
  11169. fi
  11170. ;;
  11171. dgux*)
  11172. case $cc_basename in
  11173. ec++*)
  11174. # FIXME: insert proper C++ library support
  11175. ld_shlibs_CXX=no
  11176. ;;
  11177. ghcx*)
  11178. # Green Hills C++ Compiler
  11179. # FIXME: insert proper C++ library support
  11180. ld_shlibs_CXX=no
  11181. ;;
  11182. *)
  11183. # FIXME: insert proper C++ library support
  11184. ld_shlibs_CXX=no
  11185. ;;
  11186. esac
  11187. ;;
  11188. freebsd2.*)
  11189. # C++ shared libraries reported to be fairly broken before
  11190. # switch to ELF
  11191. ld_shlibs_CXX=no
  11192. ;;
  11193. freebsd-elf*)
  11194. archive_cmds_need_lc_CXX=no
  11195. ;;
  11196. freebsd* | dragonfly*)
  11197. # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
  11198. # conventions
  11199. ld_shlibs_CXX=yes
  11200. ;;
  11201. haiku*)
  11202. archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  11203. link_all_deplibs_CXX=yes
  11204. ;;
  11205. hpux9*)
  11206. hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
  11207. hardcode_libdir_separator_CXX=:
  11208. export_dynamic_flag_spec_CXX='${wl}-E'
  11209. hardcode_direct_CXX=yes
  11210. hardcode_minus_L_CXX=yes # Not in the search PATH,
  11211. # but as the default
  11212. # location of the library.
  11213. case $cc_basename in
  11214. CC*)
  11215. # FIXME: insert proper C++ library support
  11216. ld_shlibs_CXX=no
  11217. ;;
  11218. aCC*)
  11219. archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
  11220. # Commands to make compiler produce verbose output that lists
  11221. # what "hidden" libraries, object files and flags are used when
  11222. # linking a shared library.
  11223. #
  11224. # There doesn't appear to be a way to prevent this compiler from
  11225. # explicitly linking system object files so we need to strip them
  11226. # from the output so that they don't get included in the library
  11227. # dependencies.
  11228. output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
  11229. ;;
  11230. *)
  11231. if test "$GXX" = yes; then
  11232. archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
  11233. else
  11234. # FIXME: insert proper C++ library support
  11235. ld_shlibs_CXX=no
  11236. fi
  11237. ;;
  11238. esac
  11239. ;;
  11240. hpux10*|hpux11*)
  11241. if test $with_gnu_ld = no; then
  11242. hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
  11243. hardcode_libdir_separator_CXX=:
  11244. case $host_cpu in
  11245. hppa*64*|ia64*)
  11246. ;;
  11247. *)
  11248. export_dynamic_flag_spec_CXX='${wl}-E'
  11249. ;;
  11250. esac
  11251. fi
  11252. case $host_cpu in
  11253. hppa*64*|ia64*)
  11254. hardcode_direct_CXX=no
  11255. hardcode_shlibpath_var_CXX=no
  11256. ;;
  11257. *)
  11258. hardcode_direct_CXX=yes
  11259. hardcode_direct_absolute_CXX=yes
  11260. hardcode_minus_L_CXX=yes # Not in the search PATH,
  11261. # but as the default
  11262. # location of the library.
  11263. ;;
  11264. esac
  11265. case $cc_basename in
  11266. CC*)
  11267. # FIXME: insert proper C++ library support
  11268. ld_shlibs_CXX=no
  11269. ;;
  11270. aCC*)
  11271. case $host_cpu in
  11272. hppa*64*)
  11273. archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  11274. ;;
  11275. ia64*)
  11276. archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  11277. ;;
  11278. *)
  11279. archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  11280. ;;
  11281. esac
  11282. # Commands to make compiler produce verbose output that lists
  11283. # what "hidden" libraries, object files and flags are used when
  11284. # linking a shared library.
  11285. #
  11286. # There doesn't appear to be a way to prevent this compiler from
  11287. # explicitly linking system object files so we need to strip them
  11288. # from the output so that they don't get included in the library
  11289. # dependencies.
  11290. output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
  11291. ;;
  11292. *)
  11293. if test "$GXX" = yes; then
  11294. if test $with_gnu_ld = no; then
  11295. case $host_cpu in
  11296. hppa*64*)
  11297. archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  11298. ;;
  11299. ia64*)
  11300. archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  11301. ;;
  11302. *)
  11303. archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  11304. ;;
  11305. esac
  11306. fi
  11307. else
  11308. # FIXME: insert proper C++ library support
  11309. ld_shlibs_CXX=no
  11310. fi
  11311. ;;
  11312. esac
  11313. ;;
  11314. interix[3-9]*)
  11315. hardcode_direct_CXX=no
  11316. hardcode_shlibpath_var_CXX=no
  11317. hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
  11318. export_dynamic_flag_spec_CXX='${wl}-E'
  11319. # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
  11320. # Instead, shared libraries are loaded at an image base (0x10000000 by
  11321. # default) and relocated if they conflict, which is a slow very memory
  11322. # consuming and fragmenting process. To avoid this, we pick a random,
  11323. # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
  11324. # time. Moving up from 0x10000000 also allows more sbrk(2) space.
  11325. archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
  11326. archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
  11327. ;;
  11328. irix5* | irix6*)
  11329. case $cc_basename in
  11330. CC*)
  11331. # SGI C++
  11332. archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
  11333. # Archives containing C++ object files must be created using
  11334. # "CC -ar", where "CC" is the IRIX C++ compiler. This is
  11335. # necessary to make sure instantiated templates are included
  11336. # in the archive.
  11337. old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
  11338. ;;
  11339. *)
  11340. if test "$GXX" = yes; then
  11341. if test "$with_gnu_ld" = no; then
  11342. archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  11343. else
  11344. archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
  11345. fi
  11346. fi
  11347. link_all_deplibs_CXX=yes
  11348. ;;
  11349. esac
  11350. hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
  11351. hardcode_libdir_separator_CXX=:
  11352. inherit_rpath_CXX=yes
  11353. ;;
  11354. linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
  11355. case $cc_basename in
  11356. KCC*)
  11357. # Kuck and Associates, Inc. (KAI) C++ Compiler
  11358. # KCC will only create a shared library if the output file
  11359. # ends with ".so" (or ".sl" for HP-UX), so rename the library
  11360. # to its proper name (with version) after linking.
  11361. archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
  11362. archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
  11363. # Commands to make compiler produce verbose output that lists
  11364. # what "hidden" libraries, object files and flags are used when
  11365. # linking a shared library.
  11366. #
  11367. # There doesn't appear to be a way to prevent this compiler from
  11368. # explicitly linking system object files so we need to strip them
  11369. # from the output so that they don't get included in the library
  11370. # dependencies.
  11371. output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
  11372. hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
  11373. export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
  11374. # Archives containing C++ object files must be created using
  11375. # "CC -Bstatic", where "CC" is the KAI C++ compiler.
  11376. old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
  11377. ;;
  11378. icpc* | ecpc* )
  11379. # Intel C++
  11380. with_gnu_ld=yes
  11381. # version 8.0 and above of icpc choke on multiply defined symbols
  11382. # if we add $predep_objects and $postdep_objects, however 7.1 and
  11383. # earlier do not add the objects themselves.
  11384. case `$CC -V 2>&1` in
  11385. *"Version 7."*)
  11386. archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
  11387. archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  11388. ;;
  11389. *) # Version 8.0 or newer
  11390. tmp_idyn=
  11391. case $host_cpu in
  11392. ia64*) tmp_idyn=' -i_dynamic';;
  11393. esac
  11394. archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  11395. archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  11396. ;;
  11397. esac
  11398. archive_cmds_need_lc_CXX=no
  11399. hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
  11400. export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
  11401. whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
  11402. ;;
  11403. pgCC* | pgcpp*)
  11404. # Portland Group C++ compiler
  11405. case `$CC -V` in
  11406. *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
  11407. prelink_cmds_CXX='tpldir=Template.dir~
  11408. rm -rf $tpldir~
  11409. $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
  11410. compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
  11411. old_archive_cmds_CXX='tpldir=Template.dir~
  11412. rm -rf $tpldir~
  11413. $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
  11414. $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
  11415. $RANLIB $oldlib'
  11416. archive_cmds_CXX='tpldir=Template.dir~
  11417. rm -rf $tpldir~
  11418. $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
  11419. $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
  11420. archive_expsym_cmds_CXX='tpldir=Template.dir~
  11421. rm -rf $tpldir~
  11422. $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
  11423. $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
  11424. ;;
  11425. *) # Version 6 and above use weak symbols
  11426. archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
  11427. archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
  11428. ;;
  11429. esac
  11430. hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
  11431. export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
  11432. whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
  11433. ;;
  11434. cxx*)
  11435. # Compaq C++
  11436. archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
  11437. archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
  11438. runpath_var=LD_RUN_PATH
  11439. hardcode_libdir_flag_spec_CXX='-rpath $libdir'
  11440. hardcode_libdir_separator_CXX=:
  11441. # Commands to make compiler produce verbose output that lists
  11442. # what "hidden" libraries, object files and flags are used when
  11443. # linking a shared library.
  11444. #
  11445. # There doesn't appear to be a way to prevent this compiler from
  11446. # explicitly linking system object files so we need to strip them
  11447. # from the output so that they don't get included in the library
  11448. # dependencies.
  11449. output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
  11450. ;;
  11451. xl* | mpixl* | bgxl*)
  11452. # IBM XL 8.0 on PPC, with GNU ld
  11453. hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
  11454. export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
  11455. archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  11456. if test "x$supports_anon_versioning" = xyes; then
  11457. archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
  11458. cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  11459. echo "local: *; };" >> $output_objdir/$libname.ver~
  11460. $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
  11461. fi
  11462. ;;
  11463. *)
  11464. case `$CC -V 2>&1 | sed 5q` in
  11465. *Sun\ C*)
  11466. # Sun C++ 5.9
  11467. no_undefined_flag_CXX=' -zdefs'
  11468. archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  11469. archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
  11470. hardcode_libdir_flag_spec_CXX='-R$libdir'
  11471. whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
  11472. compiler_needs_object_CXX=yes
  11473. # Not sure whether something based on
  11474. # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
  11475. # would be better.
  11476. output_verbose_link_cmd='func_echo_all'
  11477. # Archives containing C++ object files must be created using
  11478. # "CC -xar", where "CC" is the Sun C++ compiler. This is
  11479. # necessary to make sure instantiated templates are included
  11480. # in the archive.
  11481. old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
  11482. ;;
  11483. esac
  11484. ;;
  11485. esac
  11486. ;;
  11487. lynxos*)
  11488. # FIXME: insert proper C++ library support
  11489. ld_shlibs_CXX=no
  11490. ;;
  11491. m88k*)
  11492. # FIXME: insert proper C++ library support
  11493. ld_shlibs_CXX=no
  11494. ;;
  11495. mvs*)
  11496. case $cc_basename in
  11497. cxx*)
  11498. # FIXME: insert proper C++ library support
  11499. ld_shlibs_CXX=no
  11500. ;;
  11501. *)
  11502. # FIXME: insert proper C++ library support
  11503. ld_shlibs_CXX=no
  11504. ;;
  11505. esac
  11506. ;;
  11507. netbsd*)
  11508. if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  11509. archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
  11510. wlarc=
  11511. hardcode_libdir_flag_spec_CXX='-R$libdir'
  11512. hardcode_direct_CXX=yes
  11513. hardcode_shlibpath_var_CXX=no
  11514. fi
  11515. # Workaround some broken pre-1.5 toolchains
  11516. output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
  11517. ;;
  11518. *nto* | *qnx*)
  11519. ld_shlibs_CXX=yes
  11520. ;;
  11521. openbsd2*)
  11522. # C++ shared libraries are fairly broken
  11523. ld_shlibs_CXX=no
  11524. ;;
  11525. openbsd*)
  11526. if test -f /usr/libexec/ld.so; then
  11527. hardcode_direct_CXX=yes
  11528. hardcode_shlibpath_var_CXX=no
  11529. hardcode_direct_absolute_CXX=yes
  11530. archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
  11531. hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
  11532. if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  11533. archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
  11534. export_dynamic_flag_spec_CXX='${wl}-E'
  11535. whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
  11536. fi
  11537. output_verbose_link_cmd=func_echo_all
  11538. else
  11539. ld_shlibs_CXX=no
  11540. fi
  11541. ;;
  11542. osf3* | osf4* | osf5*)
  11543. case $cc_basename in
  11544. KCC*)
  11545. # Kuck and Associates, Inc. (KAI) C++ Compiler
  11546. # KCC will only create a shared library if the output file
  11547. # ends with ".so" (or ".sl" for HP-UX), so rename the library
  11548. # to its proper name (with version) after linking.
  11549. archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
  11550. hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
  11551. hardcode_libdir_separator_CXX=:
  11552. # Archives containing C++ object files must be created using
  11553. # the KAI C++ compiler.
  11554. case $host in
  11555. osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
  11556. *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
  11557. esac
  11558. ;;
  11559. RCC*)
  11560. # Rational C++ 2.4.1
  11561. # FIXME: insert proper C++ library support
  11562. ld_shlibs_CXX=no
  11563. ;;
  11564. cxx*)
  11565. case $host in
  11566. osf3*)
  11567. allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
  11568. archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
  11569. hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
  11570. ;;
  11571. *)
  11572. allow_undefined_flag_CXX=' -expect_unresolved \*'
  11573. archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
  11574. archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
  11575. echo "-hidden">> $lib.exp~
  11576. $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
  11577. $RM $lib.exp'
  11578. hardcode_libdir_flag_spec_CXX='-rpath $libdir'
  11579. ;;
  11580. esac
  11581. hardcode_libdir_separator_CXX=:
  11582. # Commands to make compiler produce verbose output that lists
  11583. # what "hidden" libraries, object files and flags are used when
  11584. # linking a shared library.
  11585. #
  11586. # There doesn't appear to be a way to prevent this compiler from
  11587. # explicitly linking system object files so we need to strip them
  11588. # from the output so that they don't get included in the library
  11589. # dependencies.
  11590. output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
  11591. ;;
  11592. *)
  11593. if test "$GXX" = yes && test "$with_gnu_ld" = no; then
  11594. allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
  11595. case $host in
  11596. osf3*)
  11597. archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  11598. ;;
  11599. *)
  11600. archive_cmds_CXX='$CC -shared $pic_flag -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  11601. ;;
  11602. esac
  11603. hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
  11604. hardcode_libdir_separator_CXX=:
  11605. # Commands to make compiler produce verbose output that lists
  11606. # what "hidden" libraries, object files and flags are used when
  11607. # linking a shared library.
  11608. output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
  11609. else
  11610. # FIXME: insert proper C++ library support
  11611. ld_shlibs_CXX=no
  11612. fi
  11613. ;;
  11614. esac
  11615. ;;
  11616. psos*)
  11617. # FIXME: insert proper C++ library support
  11618. ld_shlibs_CXX=no
  11619. ;;
  11620. sunos4*)
  11621. case $cc_basename in
  11622. CC*)
  11623. # Sun C++ 4.x
  11624. # FIXME: insert proper C++ library support
  11625. ld_shlibs_CXX=no
  11626. ;;
  11627. lcc*)
  11628. # Lucid
  11629. # FIXME: insert proper C++ library support
  11630. ld_shlibs_CXX=no
  11631. ;;
  11632. *)
  11633. # FIXME: insert proper C++ library support
  11634. ld_shlibs_CXX=no
  11635. ;;
  11636. esac
  11637. ;;
  11638. solaris*)
  11639. case $cc_basename in
  11640. CC* | sunCC*)
  11641. # Sun C++ 4.2, 5.x and Centerline C++
  11642. archive_cmds_need_lc_CXX=yes
  11643. no_undefined_flag_CXX=' -zdefs'
  11644. archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  11645. archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  11646. $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
  11647. hardcode_libdir_flag_spec_CXX='-R$libdir'
  11648. hardcode_shlibpath_var_CXX=no
  11649. case $host_os in
  11650. solaris2.[0-5] | solaris2.[0-5].*) ;;
  11651. *)
  11652. # The compiler driver will combine and reorder linker options,
  11653. # but understands `-z linker_flag'.
  11654. # Supported since Solaris 2.6 (maybe 2.5.1?)
  11655. whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
  11656. ;;
  11657. esac
  11658. link_all_deplibs_CXX=yes
  11659. output_verbose_link_cmd='func_echo_all'
  11660. # Archives containing C++ object files must be created using
  11661. # "CC -xar", where "CC" is the Sun C++ compiler. This is
  11662. # necessary to make sure instantiated templates are included
  11663. # in the archive.
  11664. old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
  11665. ;;
  11666. gcx*)
  11667. # Green Hills C++ Compiler
  11668. archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
  11669. # The C++ compiler must be used to create the archive.
  11670. old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
  11671. ;;
  11672. *)
  11673. # GNU C++ compiler with Solaris linker
  11674. if test "$GXX" = yes && test "$with_gnu_ld" = no; then
  11675. no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
  11676. if $CC --version | $GREP -v '^2\.7' > /dev/null; then
  11677. archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
  11678. archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  11679. $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
  11680. # Commands to make compiler produce verbose output that lists
  11681. # what "hidden" libraries, object files and flags are used when
  11682. # linking a shared library.
  11683. output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
  11684. else
  11685. # g++ 2.7 appears to require `-G' NOT `-shared' on this
  11686. # platform.
  11687. archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
  11688. archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  11689. $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
  11690. # Commands to make compiler produce verbose output that lists
  11691. # what "hidden" libraries, object files and flags are used when
  11692. # linking a shared library.
  11693. output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
  11694. fi
  11695. hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
  11696. case $host_os in
  11697. solaris2.[0-5] | solaris2.[0-5].*) ;;
  11698. *)
  11699. whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
  11700. ;;
  11701. esac
  11702. fi
  11703. ;;
  11704. esac
  11705. ;;
  11706. sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
  11707. no_undefined_flag_CXX='${wl}-z,text'
  11708. archive_cmds_need_lc_CXX=no
  11709. hardcode_shlibpath_var_CXX=no
  11710. runpath_var='LD_RUN_PATH'
  11711. case $cc_basename in
  11712. CC*)
  11713. archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  11714. archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  11715. ;;
  11716. *)
  11717. archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  11718. archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  11719. ;;
  11720. esac
  11721. ;;
  11722. sysv5* | sco3.2v5* | sco5v6*)
  11723. # Note: We can NOT use -z defs as we might desire, because we do not
  11724. # link with -lc, and that would cause any symbols used from libc to
  11725. # always be unresolved, which means just about no library would
  11726. # ever link correctly. If we're not using GNU ld we use -z text
  11727. # though, which does catch some bad symbols but isn't as heavy-handed
  11728. # as -z defs.
  11729. no_undefined_flag_CXX='${wl}-z,text'
  11730. allow_undefined_flag_CXX='${wl}-z,nodefs'
  11731. archive_cmds_need_lc_CXX=no
  11732. hardcode_shlibpath_var_CXX=no
  11733. hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
  11734. hardcode_libdir_separator_CXX=':'
  11735. link_all_deplibs_CXX=yes
  11736. export_dynamic_flag_spec_CXX='${wl}-Bexport'
  11737. runpath_var='LD_RUN_PATH'
  11738. case $cc_basename in
  11739. CC*)
  11740. archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  11741. archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  11742. old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
  11743. '"$old_archive_cmds_CXX"
  11744. reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
  11745. '"$reload_cmds_CXX"
  11746. ;;
  11747. *)
  11748. archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  11749. archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  11750. ;;
  11751. esac
  11752. ;;
  11753. tandem*)
  11754. case $cc_basename in
  11755. NCC*)
  11756. # NonStop-UX NCC 3.20
  11757. # FIXME: insert proper C++ library support
  11758. ld_shlibs_CXX=no
  11759. ;;
  11760. *)
  11761. # FIXME: insert proper C++ library support
  11762. ld_shlibs_CXX=no
  11763. ;;
  11764. esac
  11765. ;;
  11766. vxworks*)
  11767. # FIXME: insert proper C++ library support
  11768. ld_shlibs_CXX=no
  11769. ;;
  11770. *)
  11771. # FIXME: insert proper C++ library support
  11772. ld_shlibs_CXX=no
  11773. ;;
  11774. esac
  11775. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
  11776. $as_echo "$ld_shlibs_CXX" >&6; }
  11777. test "$ld_shlibs_CXX" = no && can_build_shared=no
  11778. GCC_CXX="$GXX"
  11779. LD_CXX="$LD"
  11780. ## CAVEAT EMPTOR:
  11781. ## There is no encapsulation within the following macros, do not change
  11782. ## the running order or otherwise move them around unless you know exactly
  11783. ## what you are doing...
  11784. # Dependencies to place before and after the object being linked:
  11785. predep_objects_CXX=
  11786. postdep_objects_CXX=
  11787. predeps_CXX=
  11788. postdeps_CXX=
  11789. compiler_lib_search_path_CXX=
  11790. cat > conftest.$ac_ext <<_LT_EOF
  11791. class Foo
  11792. {
  11793. public:
  11794. Foo (void) { a = 0; }
  11795. private:
  11796. int a;
  11797. };
  11798. _LT_EOF
  11799. _lt_libdeps_save_CFLAGS=$CFLAGS
  11800. case "$CC $CFLAGS " in #(
  11801. *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
  11802. *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
  11803. *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
  11804. esac
  11805. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  11806. (eval $ac_compile) 2>&5
  11807. ac_status=$?
  11808. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  11809. test $ac_status = 0; }; then
  11810. # Parse the compiler output and extract the necessary
  11811. # objects, libraries and library flags.
  11812. # Sentinel used to keep track of whether or not we are before
  11813. # the conftest object file.
  11814. pre_test_object_deps_done=no
  11815. for p in `eval "$output_verbose_link_cmd"`; do
  11816. case ${prev}${p} in
  11817. -L* | -R* | -l*)
  11818. # Some compilers place space between "-{L,R}" and the path.
  11819. # Remove the space.
  11820. if test $p = "-L" ||
  11821. test $p = "-R"; then
  11822. prev=$p
  11823. continue
  11824. fi
  11825. # Expand the sysroot to ease extracting the directories later.
  11826. if test -z "$prev"; then
  11827. case $p in
  11828. -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
  11829. -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
  11830. -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
  11831. esac
  11832. fi
  11833. case $p in
  11834. =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
  11835. esac
  11836. if test "$pre_test_object_deps_done" = no; then
  11837. case ${prev} in
  11838. -L | -R)
  11839. # Internal compiler library paths should come after those
  11840. # provided the user. The postdeps already come after the
  11841. # user supplied libs so there is no need to process them.
  11842. if test -z "$compiler_lib_search_path_CXX"; then
  11843. compiler_lib_search_path_CXX="${prev}${p}"
  11844. else
  11845. compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
  11846. fi
  11847. ;;
  11848. # The "-l" case would never come before the object being
  11849. # linked, so don't bother handling this case.
  11850. esac
  11851. else
  11852. if test -z "$postdeps_CXX"; then
  11853. postdeps_CXX="${prev}${p}"
  11854. else
  11855. postdeps_CXX="${postdeps_CXX} ${prev}${p}"
  11856. fi
  11857. fi
  11858. prev=
  11859. ;;
  11860. *.lto.$objext) ;; # Ignore GCC LTO objects
  11861. *.$objext)
  11862. # This assumes that the test object file only shows up
  11863. # once in the compiler output.
  11864. if test "$p" = "conftest.$objext"; then
  11865. pre_test_object_deps_done=yes
  11866. continue
  11867. fi
  11868. if test "$pre_test_object_deps_done" = no; then
  11869. if test -z "$predep_objects_CXX"; then
  11870. predep_objects_CXX="$p"
  11871. else
  11872. predep_objects_CXX="$predep_objects_CXX $p"
  11873. fi
  11874. else
  11875. if test -z "$postdep_objects_CXX"; then
  11876. postdep_objects_CXX="$p"
  11877. else
  11878. postdep_objects_CXX="$postdep_objects_CXX $p"
  11879. fi
  11880. fi
  11881. ;;
  11882. *) ;; # Ignore the rest.
  11883. esac
  11884. done
  11885. # Clean up.
  11886. rm -f a.out a.exe
  11887. else
  11888. echo "libtool.m4: error: problem compiling CXX test program"
  11889. fi
  11890. $RM -f confest.$objext
  11891. CFLAGS=$_lt_libdeps_save_CFLAGS
  11892. # PORTME: override above test on systems where it is broken
  11893. case $host_os in
  11894. interix[3-9]*)
  11895. # Interix 3.5 installs completely hosed .la files for C++, so rather than
  11896. # hack all around it, let's just trust "g++" to DTRT.
  11897. predep_objects_CXX=
  11898. postdep_objects_CXX=
  11899. postdeps_CXX=
  11900. ;;
  11901. linux*)
  11902. case `$CC -V 2>&1 | sed 5q` in
  11903. *Sun\ C*)
  11904. # Sun C++ 5.9
  11905. # The more standards-conforming stlport4 library is
  11906. # incompatible with the Cstd library. Avoid specifying
  11907. # it if it's in CXXFLAGS. Ignore libCrun as
  11908. # -library=stlport4 depends on it.
  11909. case " $CXX $CXXFLAGS " in
  11910. *" -library=stlport4 "*)
  11911. solaris_use_stlport4=yes
  11912. ;;
  11913. esac
  11914. if test "$solaris_use_stlport4" != yes; then
  11915. postdeps_CXX='-library=Cstd -library=Crun'
  11916. fi
  11917. ;;
  11918. esac
  11919. ;;
  11920. solaris*)
  11921. case $cc_basename in
  11922. CC* | sunCC*)
  11923. # The more standards-conforming stlport4 library is
  11924. # incompatible with the Cstd library. Avoid specifying
  11925. # it if it's in CXXFLAGS. Ignore libCrun as
  11926. # -library=stlport4 depends on it.
  11927. case " $CXX $CXXFLAGS " in
  11928. *" -library=stlport4 "*)
  11929. solaris_use_stlport4=yes
  11930. ;;
  11931. esac
  11932. # Adding this requires a known-good setup of shared libraries for
  11933. # Sun compiler versions before 5.6, else PIC objects from an old
  11934. # archive will be linked into the output, leading to subtle bugs.
  11935. if test "$solaris_use_stlport4" != yes; then
  11936. postdeps_CXX='-library=Cstd -library=Crun'
  11937. fi
  11938. ;;
  11939. esac
  11940. ;;
  11941. esac
  11942. case " $postdeps_CXX " in
  11943. *" -lc "*) archive_cmds_need_lc_CXX=no ;;
  11944. esac
  11945. compiler_lib_search_dirs_CXX=
  11946. if test -n "${compiler_lib_search_path_CXX}"; then
  11947. compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
  11948. fi
  11949. lt_prog_compiler_wl_CXX=
  11950. lt_prog_compiler_pic_CXX=
  11951. lt_prog_compiler_static_CXX=
  11952. # C++ specific cases for pic, static, wl, etc.
  11953. if test "$GXX" = yes; then
  11954. lt_prog_compiler_wl_CXX='-Wl,'
  11955. lt_prog_compiler_static_CXX='-static'
  11956. case $host_os in
  11957. aix*)
  11958. # All AIX code is PIC.
  11959. if test "$host_cpu" = ia64; then
  11960. # AIX 5 now supports IA64 processor
  11961. lt_prog_compiler_static_CXX='-Bstatic'
  11962. fi
  11963. ;;
  11964. amigaos*)
  11965. case $host_cpu in
  11966. powerpc)
  11967. # see comment about AmigaOS4 .so support
  11968. lt_prog_compiler_pic_CXX='-fPIC'
  11969. ;;
  11970. m68k)
  11971. # FIXME: we need at least 68020 code to build shared libraries, but
  11972. # adding the `-m68020' flag to GCC prevents building anything better,
  11973. # like `-m68040'.
  11974. lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
  11975. ;;
  11976. esac
  11977. ;;
  11978. beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
  11979. # PIC is the default for these OSes.
  11980. ;;
  11981. mingw* | cygwin* | os2* | pw32* | cegcc*)
  11982. # This hack is so that the source file can tell whether it is being
  11983. # built for inclusion in a dll (and should export symbols for example).
  11984. # Although the cygwin gcc ignores -fPIC, still need this for old-style
  11985. # (--disable-auto-import) libraries
  11986. lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
  11987. ;;
  11988. darwin* | rhapsody*)
  11989. # PIC is the default on this platform
  11990. # Common symbols not allowed in MH_DYLIB files
  11991. lt_prog_compiler_pic_CXX='-fno-common'
  11992. ;;
  11993. *djgpp*)
  11994. # DJGPP does not support shared libraries at all
  11995. lt_prog_compiler_pic_CXX=
  11996. ;;
  11997. haiku*)
  11998. # PIC is the default for Haiku.
  11999. # The "-static" flag exists, but is broken.
  12000. lt_prog_compiler_static_CXX=
  12001. ;;
  12002. interix[3-9]*)
  12003. # Interix 3.x gcc -fpic/-fPIC options generate broken code.
  12004. # Instead, we relocate shared libraries at runtime.
  12005. ;;
  12006. sysv4*MP*)
  12007. if test -d /usr/nec; then
  12008. lt_prog_compiler_pic_CXX=-Kconform_pic
  12009. fi
  12010. ;;
  12011. hpux*)
  12012. # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
  12013. # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
  12014. # sets the default TLS model and affects inlining.
  12015. case $host_cpu in
  12016. hppa*64*)
  12017. ;;
  12018. *)
  12019. lt_prog_compiler_pic_CXX='-fPIC'
  12020. ;;
  12021. esac
  12022. ;;
  12023. *qnx* | *nto*)
  12024. # QNX uses GNU C++, but need to define -shared option too, otherwise
  12025. # it will coredump.
  12026. lt_prog_compiler_pic_CXX='-fPIC -shared'
  12027. ;;
  12028. *)
  12029. lt_prog_compiler_pic_CXX='-fPIC'
  12030. ;;
  12031. esac
  12032. else
  12033. case $host_os in
  12034. aix[4-9]*)
  12035. # All AIX code is PIC.
  12036. if test "$host_cpu" = ia64; then
  12037. # AIX 5 now supports IA64 processor
  12038. lt_prog_compiler_static_CXX='-Bstatic'
  12039. else
  12040. lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
  12041. fi
  12042. ;;
  12043. chorus*)
  12044. case $cc_basename in
  12045. cxch68*)
  12046. # Green Hills C++ Compiler
  12047. # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
  12048. ;;
  12049. esac
  12050. ;;
  12051. mingw* | cygwin* | os2* | pw32* | cegcc*)
  12052. # This hack is so that the source file can tell whether it is being
  12053. # built for inclusion in a dll (and should export symbols for example).
  12054. lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
  12055. ;;
  12056. dgux*)
  12057. case $cc_basename in
  12058. ec++*)
  12059. lt_prog_compiler_pic_CXX='-KPIC'
  12060. ;;
  12061. ghcx*)
  12062. # Green Hills C++ Compiler
  12063. lt_prog_compiler_pic_CXX='-pic'
  12064. ;;
  12065. *)
  12066. ;;
  12067. esac
  12068. ;;
  12069. freebsd* | dragonfly*)
  12070. # FreeBSD uses GNU C++
  12071. ;;
  12072. hpux9* | hpux10* | hpux11*)
  12073. case $cc_basename in
  12074. CC*)
  12075. lt_prog_compiler_wl_CXX='-Wl,'
  12076. lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
  12077. if test "$host_cpu" != ia64; then
  12078. lt_prog_compiler_pic_CXX='+Z'
  12079. fi
  12080. ;;
  12081. aCC*)
  12082. lt_prog_compiler_wl_CXX='-Wl,'
  12083. lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
  12084. case $host_cpu in
  12085. hppa*64*|ia64*)
  12086. # +Z the default
  12087. ;;
  12088. *)
  12089. lt_prog_compiler_pic_CXX='+Z'
  12090. ;;
  12091. esac
  12092. ;;
  12093. *)
  12094. ;;
  12095. esac
  12096. ;;
  12097. interix*)
  12098. # This is c89, which is MS Visual C++ (no shared libs)
  12099. # Anyone wants to do a port?
  12100. ;;
  12101. irix5* | irix6* | nonstopux*)
  12102. case $cc_basename in
  12103. CC*)
  12104. lt_prog_compiler_wl_CXX='-Wl,'
  12105. lt_prog_compiler_static_CXX='-non_shared'
  12106. # CC pic flag -KPIC is the default.
  12107. ;;
  12108. *)
  12109. ;;
  12110. esac
  12111. ;;
  12112. linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
  12113. case $cc_basename in
  12114. KCC*)
  12115. # KAI C++ Compiler
  12116. lt_prog_compiler_wl_CXX='--backend -Wl,'
  12117. lt_prog_compiler_pic_CXX='-fPIC'
  12118. ;;
  12119. ecpc* )
  12120. # old Intel C++ for x86_64 which still supported -KPIC.
  12121. lt_prog_compiler_wl_CXX='-Wl,'
  12122. lt_prog_compiler_pic_CXX='-KPIC'
  12123. lt_prog_compiler_static_CXX='-static'
  12124. ;;
  12125. icpc* )
  12126. # Intel C++, used to be incompatible with GCC.
  12127. # ICC 10 doesn't accept -KPIC any more.
  12128. lt_prog_compiler_wl_CXX='-Wl,'
  12129. lt_prog_compiler_pic_CXX='-fPIC'
  12130. lt_prog_compiler_static_CXX='-static'
  12131. ;;
  12132. pgCC* | pgcpp*)
  12133. # Portland Group C++ compiler
  12134. lt_prog_compiler_wl_CXX='-Wl,'
  12135. lt_prog_compiler_pic_CXX='-fpic'
  12136. lt_prog_compiler_static_CXX='-Bstatic'
  12137. ;;
  12138. cxx*)
  12139. # Compaq C++
  12140. # Make sure the PIC flag is empty. It appears that all Alpha
  12141. # Linux and Compaq Tru64 Unix objects are PIC.
  12142. lt_prog_compiler_pic_CXX=
  12143. lt_prog_compiler_static_CXX='-non_shared'
  12144. ;;
  12145. xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
  12146. # IBM XL 8.0, 9.0 on PPC and BlueGene
  12147. lt_prog_compiler_wl_CXX='-Wl,'
  12148. lt_prog_compiler_pic_CXX='-qpic'
  12149. lt_prog_compiler_static_CXX='-qstaticlink'
  12150. ;;
  12151. *)
  12152. case `$CC -V 2>&1 | sed 5q` in
  12153. *Sun\ C*)
  12154. # Sun C++ 5.9
  12155. lt_prog_compiler_pic_CXX='-KPIC'
  12156. lt_prog_compiler_static_CXX='-Bstatic'
  12157. lt_prog_compiler_wl_CXX='-Qoption ld '
  12158. ;;
  12159. esac
  12160. ;;
  12161. esac
  12162. ;;
  12163. lynxos*)
  12164. ;;
  12165. m88k*)
  12166. ;;
  12167. mvs*)
  12168. case $cc_basename in
  12169. cxx*)
  12170. lt_prog_compiler_pic_CXX='-W c,exportall'
  12171. ;;
  12172. *)
  12173. ;;
  12174. esac
  12175. ;;
  12176. netbsd* | netbsdelf*-gnu)
  12177. ;;
  12178. *qnx* | *nto*)
  12179. # QNX uses GNU C++, but need to define -shared option too, otherwise
  12180. # it will coredump.
  12181. lt_prog_compiler_pic_CXX='-fPIC -shared'
  12182. ;;
  12183. osf3* | osf4* | osf5*)
  12184. case $cc_basename in
  12185. KCC*)
  12186. lt_prog_compiler_wl_CXX='--backend -Wl,'
  12187. ;;
  12188. RCC*)
  12189. # Rational C++ 2.4.1
  12190. lt_prog_compiler_pic_CXX='-pic'
  12191. ;;
  12192. cxx*)
  12193. # Digital/Compaq C++
  12194. lt_prog_compiler_wl_CXX='-Wl,'
  12195. # Make sure the PIC flag is empty. It appears that all Alpha
  12196. # Linux and Compaq Tru64 Unix objects are PIC.
  12197. lt_prog_compiler_pic_CXX=
  12198. lt_prog_compiler_static_CXX='-non_shared'
  12199. ;;
  12200. *)
  12201. ;;
  12202. esac
  12203. ;;
  12204. psos*)
  12205. ;;
  12206. solaris*)
  12207. case $cc_basename in
  12208. CC* | sunCC*)
  12209. # Sun C++ 4.2, 5.x and Centerline C++
  12210. lt_prog_compiler_pic_CXX='-KPIC'
  12211. lt_prog_compiler_static_CXX='-Bstatic'
  12212. lt_prog_compiler_wl_CXX='-Qoption ld '
  12213. ;;
  12214. gcx*)
  12215. # Green Hills C++ Compiler
  12216. lt_prog_compiler_pic_CXX='-PIC'
  12217. ;;
  12218. *)
  12219. ;;
  12220. esac
  12221. ;;
  12222. sunos4*)
  12223. case $cc_basename in
  12224. CC*)
  12225. # Sun C++ 4.x
  12226. lt_prog_compiler_pic_CXX='-pic'
  12227. lt_prog_compiler_static_CXX='-Bstatic'
  12228. ;;
  12229. lcc*)
  12230. # Lucid
  12231. lt_prog_compiler_pic_CXX='-pic'
  12232. ;;
  12233. *)
  12234. ;;
  12235. esac
  12236. ;;
  12237. sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
  12238. case $cc_basename in
  12239. CC*)
  12240. lt_prog_compiler_wl_CXX='-Wl,'
  12241. lt_prog_compiler_pic_CXX='-KPIC'
  12242. lt_prog_compiler_static_CXX='-Bstatic'
  12243. ;;
  12244. esac
  12245. ;;
  12246. tandem*)
  12247. case $cc_basename in
  12248. NCC*)
  12249. # NonStop-UX NCC 3.20
  12250. lt_prog_compiler_pic_CXX='-KPIC'
  12251. ;;
  12252. *)
  12253. ;;
  12254. esac
  12255. ;;
  12256. vxworks*)
  12257. ;;
  12258. *)
  12259. lt_prog_compiler_can_build_shared_CXX=no
  12260. ;;
  12261. esac
  12262. fi
  12263. case $host_os in
  12264. # For platforms which do not support PIC, -DPIC is meaningless:
  12265. *djgpp*)
  12266. lt_prog_compiler_pic_CXX=
  12267. ;;
  12268. *)
  12269. lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
  12270. ;;
  12271. esac
  12272. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
  12273. $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
  12274. if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
  12275. $as_echo_n "(cached) " >&6
  12276. else
  12277. lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
  12278. fi
  12279. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
  12280. $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
  12281. lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
  12282. #
  12283. # Check to make sure the PIC flag actually works.
  12284. #
  12285. if test -n "$lt_prog_compiler_pic_CXX"; then
  12286. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
  12287. $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
  12288. if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
  12289. $as_echo_n "(cached) " >&6
  12290. else
  12291. lt_cv_prog_compiler_pic_works_CXX=no
  12292. ac_outfile=conftest.$ac_objext
  12293. echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  12294. lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
  12295. # Insert the option either (1) after the last *FLAGS variable, or
  12296. # (2) before a word containing "conftest.", or (3) at the end.
  12297. # Note that $ac_compile itself does not contain backslashes and begins
  12298. # with a dollar sign (not a hyphen), so the echo should work correctly.
  12299. # The option is referenced via a variable to avoid confusing sed.
  12300. lt_compile=`echo "$ac_compile" | $SED \
  12301. -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  12302. -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  12303. -e 's:$: $lt_compiler_flag:'`
  12304. (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  12305. (eval "$lt_compile" 2>conftest.err)
  12306. ac_status=$?
  12307. cat conftest.err >&5
  12308. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12309. if (exit $ac_status) && test -s "$ac_outfile"; then
  12310. # The compiler can only warn and ignore the option if not recognized
  12311. # So say no if there are warnings other than the usual output.
  12312. $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
  12313. $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  12314. if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  12315. lt_cv_prog_compiler_pic_works_CXX=yes
  12316. fi
  12317. fi
  12318. $RM conftest*
  12319. fi
  12320. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
  12321. $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
  12322. if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
  12323. case $lt_prog_compiler_pic_CXX in
  12324. "" | " "*) ;;
  12325. *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
  12326. esac
  12327. else
  12328. lt_prog_compiler_pic_CXX=
  12329. lt_prog_compiler_can_build_shared_CXX=no
  12330. fi
  12331. fi
  12332. #
  12333. # Check to make sure the static flag actually works.
  12334. #
  12335. wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
  12336. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
  12337. $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
  12338. if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
  12339. $as_echo_n "(cached) " >&6
  12340. else
  12341. lt_cv_prog_compiler_static_works_CXX=no
  12342. save_LDFLAGS="$LDFLAGS"
  12343. LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
  12344. echo "$lt_simple_link_test_code" > conftest.$ac_ext
  12345. if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
  12346. # The linker can only warn and ignore the option if not recognized
  12347. # So say no if there are warnings
  12348. if test -s conftest.err; then
  12349. # Append any errors to the config.log.
  12350. cat conftest.err 1>&5
  12351. $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
  12352. $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  12353. if diff conftest.exp conftest.er2 >/dev/null; then
  12354. lt_cv_prog_compiler_static_works_CXX=yes
  12355. fi
  12356. else
  12357. lt_cv_prog_compiler_static_works_CXX=yes
  12358. fi
  12359. fi
  12360. $RM -r conftest*
  12361. LDFLAGS="$save_LDFLAGS"
  12362. fi
  12363. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
  12364. $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
  12365. if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
  12366. :
  12367. else
  12368. lt_prog_compiler_static_CXX=
  12369. fi
  12370. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
  12371. $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
  12372. if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
  12373. $as_echo_n "(cached) " >&6
  12374. else
  12375. lt_cv_prog_compiler_c_o_CXX=no
  12376. $RM -r conftest 2>/dev/null
  12377. mkdir conftest
  12378. cd conftest
  12379. mkdir out
  12380. echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  12381. lt_compiler_flag="-o out/conftest2.$ac_objext"
  12382. # Insert the option either (1) after the last *FLAGS variable, or
  12383. # (2) before a word containing "conftest.", or (3) at the end.
  12384. # Note that $ac_compile itself does not contain backslashes and begins
  12385. # with a dollar sign (not a hyphen), so the echo should work correctly.
  12386. lt_compile=`echo "$ac_compile" | $SED \
  12387. -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  12388. -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  12389. -e 's:$: $lt_compiler_flag:'`
  12390. (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  12391. (eval "$lt_compile" 2>out/conftest.err)
  12392. ac_status=$?
  12393. cat out/conftest.err >&5
  12394. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12395. if (exit $ac_status) && test -s out/conftest2.$ac_objext
  12396. then
  12397. # The compiler can only warn and ignore the option if not recognized
  12398. # So say no if there are warnings
  12399. $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
  12400. $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  12401. if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  12402. lt_cv_prog_compiler_c_o_CXX=yes
  12403. fi
  12404. fi
  12405. chmod u+w . 2>&5
  12406. $RM conftest*
  12407. # SGI C++ compiler will create directory out/ii_files/ for
  12408. # template instantiation
  12409. test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
  12410. $RM out/* && rmdir out
  12411. cd ..
  12412. $RM -r conftest
  12413. $RM conftest*
  12414. fi
  12415. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
  12416. $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
  12417. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
  12418. $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
  12419. if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
  12420. $as_echo_n "(cached) " >&6
  12421. else
  12422. lt_cv_prog_compiler_c_o_CXX=no
  12423. $RM -r conftest 2>/dev/null
  12424. mkdir conftest
  12425. cd conftest
  12426. mkdir out
  12427. echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  12428. lt_compiler_flag="-o out/conftest2.$ac_objext"
  12429. # Insert the option either (1) after the last *FLAGS variable, or
  12430. # (2) before a word containing "conftest.", or (3) at the end.
  12431. # Note that $ac_compile itself does not contain backslashes and begins
  12432. # with a dollar sign (not a hyphen), so the echo should work correctly.
  12433. lt_compile=`echo "$ac_compile" | $SED \
  12434. -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  12435. -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  12436. -e 's:$: $lt_compiler_flag:'`
  12437. (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  12438. (eval "$lt_compile" 2>out/conftest.err)
  12439. ac_status=$?
  12440. cat out/conftest.err >&5
  12441. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12442. if (exit $ac_status) && test -s out/conftest2.$ac_objext
  12443. then
  12444. # The compiler can only warn and ignore the option if not recognized
  12445. # So say no if there are warnings
  12446. $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
  12447. $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  12448. if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  12449. lt_cv_prog_compiler_c_o_CXX=yes
  12450. fi
  12451. fi
  12452. chmod u+w . 2>&5
  12453. $RM conftest*
  12454. # SGI C++ compiler will create directory out/ii_files/ for
  12455. # template instantiation
  12456. test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
  12457. $RM out/* && rmdir out
  12458. cd ..
  12459. $RM -r conftest
  12460. $RM conftest*
  12461. fi
  12462. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
  12463. $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
  12464. hard_links="nottested"
  12465. if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
  12466. # do not overwrite the value of need_locks provided by the user
  12467. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
  12468. $as_echo_n "checking if we can lock with hard links... " >&6; }
  12469. hard_links=yes
  12470. $RM conftest*
  12471. ln conftest.a conftest.b 2>/dev/null && hard_links=no
  12472. touch conftest.a
  12473. ln conftest.a conftest.b 2>&5 || hard_links=no
  12474. ln conftest.a conftest.b 2>/dev/null && hard_links=no
  12475. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
  12476. $as_echo "$hard_links" >&6; }
  12477. if test "$hard_links" = no; then
  12478. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
  12479. $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
  12480. need_locks=warn
  12481. fi
  12482. else
  12483. need_locks=no
  12484. fi
  12485. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
  12486. $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
  12487. export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  12488. exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
  12489. case $host_os in
  12490. aix[4-9]*)
  12491. # If we're using GNU nm, then we don't want the "-C" option.
  12492. # -C means demangle to AIX nm, but means don't demangle with GNU nm
  12493. # Also, AIX nm treats weak defined symbols like other global defined
  12494. # symbols, whereas GNU nm marks them as "W".
  12495. if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
  12496. export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
  12497. else
  12498. export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
  12499. fi
  12500. ;;
  12501. pw32*)
  12502. export_symbols_cmds_CXX="$ltdll_cmds"
  12503. ;;
  12504. cygwin* | mingw* | cegcc*)
  12505. case $cc_basename in
  12506. cl*)
  12507. exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
  12508. ;;
  12509. *)
  12510. export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
  12511. exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
  12512. ;;
  12513. esac
  12514. ;;
  12515. linux* | k*bsd*-gnu | gnu*)
  12516. link_all_deplibs_CXX=no
  12517. ;;
  12518. *)
  12519. export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  12520. ;;
  12521. esac
  12522. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
  12523. $as_echo "$ld_shlibs_CXX" >&6; }
  12524. test "$ld_shlibs_CXX" = no && can_build_shared=no
  12525. with_gnu_ld_CXX=$with_gnu_ld
  12526. #
  12527. # Do we need to explicitly link libc?
  12528. #
  12529. case "x$archive_cmds_need_lc_CXX" in
  12530. x|xyes)
  12531. # Assume -lc should be added
  12532. archive_cmds_need_lc_CXX=yes
  12533. if test "$enable_shared" = yes && test "$GCC" = yes; then
  12534. case $archive_cmds_CXX in
  12535. *'~'*)
  12536. # FIXME: we may have to deal with multi-command sequences.
  12537. ;;
  12538. '$CC '*)
  12539. # Test whether the compiler implicitly links with -lc since on some
  12540. # systems, -lgcc has to come before -lc. If gcc already passes -lc
  12541. # to ld, don't add -lc before -lgcc.
  12542. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
  12543. $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
  12544. if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
  12545. $as_echo_n "(cached) " >&6
  12546. else
  12547. $RM conftest*
  12548. echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  12549. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  12550. (eval $ac_compile) 2>&5
  12551. ac_status=$?
  12552. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  12553. test $ac_status = 0; } 2>conftest.err; then
  12554. soname=conftest
  12555. lib=conftest
  12556. libobjs=conftest.$ac_objext
  12557. deplibs=
  12558. wl=$lt_prog_compiler_wl_CXX
  12559. pic_flag=$lt_prog_compiler_pic_CXX
  12560. compiler_flags=-v
  12561. linker_flags=-v
  12562. verstring=
  12563. output_objdir=.
  12564. libname=conftest
  12565. lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
  12566. allow_undefined_flag_CXX=
  12567. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
  12568. (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
  12569. ac_status=$?
  12570. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  12571. test $ac_status = 0; }
  12572. then
  12573. lt_cv_archive_cmds_need_lc_CXX=no
  12574. else
  12575. lt_cv_archive_cmds_need_lc_CXX=yes
  12576. fi
  12577. allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
  12578. else
  12579. cat conftest.err 1>&5
  12580. fi
  12581. $RM conftest*
  12582. fi
  12583. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
  12584. $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
  12585. archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
  12586. ;;
  12587. esac
  12588. fi
  12589. ;;
  12590. esac
  12591. { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
  12592. $as_echo_n "checking dynamic linker characteristics... " >&6; }
  12593. library_names_spec=
  12594. libname_spec='lib$name'
  12595. soname_spec=
  12596. shrext_cmds=".so"
  12597. postinstall_cmds=
  12598. postuninstall_cmds=
  12599. finish_cmds=
  12600. finish_eval=
  12601. shlibpath_var=
  12602. shlibpath_overrides_runpath=unknown
  12603. version_type=none
  12604. dynamic_linker="$host_os ld.so"
  12605. sys_lib_dlsearch_path_spec="/lib /usr/lib"
  12606. need_lib_prefix=unknown
  12607. hardcode_into_libs=no
  12608. # when you set need_version to no, make sure it does not cause -set_version
  12609. # flags to be left without arguments
  12610. need_version=unknown
  12611. case $host_os in
  12612. aix3*)
  12613. version_type=linux # correct to gnu/linux during the next big refactor
  12614. library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
  12615. shlibpath_var=LIBPATH
  12616. # AIX 3 has no versioning support, so we append a major version to the name.
  12617. soname_spec='${libname}${release}${shared_ext}$major'
  12618. ;;
  12619. aix[4-9]*)
  12620. version_type=linux # correct to gnu/linux during the next big refactor
  12621. need_lib_prefix=no
  12622. need_version=no
  12623. hardcode_into_libs=yes
  12624. if test "$host_cpu" = ia64; then
  12625. # AIX 5 supports IA64
  12626. library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
  12627. shlibpath_var=LD_LIBRARY_PATH
  12628. else
  12629. # With GCC up to 2.95.x, collect2 would create an import file
  12630. # for dependence libraries. The import file would start with
  12631. # the line `#! .'. This would cause the generated library to
  12632. # depend on `.', always an invalid library. This was fixed in
  12633. # development snapshots of GCC prior to 3.0.
  12634. case $host_os in
  12635. aix4 | aix4.[01] | aix4.[01].*)
  12636. if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
  12637. echo ' yes '
  12638. echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
  12639. :
  12640. else
  12641. can_build_shared=no
  12642. fi
  12643. ;;
  12644. esac
  12645. # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
  12646. # soname into executable. Probably we can add versioning support to
  12647. # collect2, so additional links can be useful in future.
  12648. if test "$aix_use_runtimelinking" = yes; then
  12649. # If using run time linking (on AIX 4.2 or later) use lib<name>.so
  12650. # instead of lib<name>.a to let people know that these are not
  12651. # typical AIX shared libraries.
  12652. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  12653. else
  12654. # We preserve .a as extension for shared libraries through AIX4.2
  12655. # and later when we are not doing run time linking.
  12656. library_names_spec='${libname}${release}.a $libname.a'
  12657. soname_spec='${libname}${release}${shared_ext}$major'
  12658. fi
  12659. shlibpath_var=LIBPATH
  12660. fi
  12661. ;;
  12662. amigaos*)
  12663. case $host_cpu in
  12664. powerpc)
  12665. # Since July 2007 AmigaOS4 officially supports .so libraries.
  12666. # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
  12667. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  12668. ;;
  12669. m68k)
  12670. library_names_spec='$libname.ixlibrary $libname.a'
  12671. # Create ${libname}_ixlibrary.a entries in /sys/libs.
  12672. finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
  12673. ;;
  12674. esac
  12675. ;;
  12676. beos*)
  12677. library_names_spec='${libname}${shared_ext}'
  12678. dynamic_linker="$host_os ld.so"
  12679. shlibpath_var=LIBRARY_PATH
  12680. ;;
  12681. bsdi[45]*)
  12682. version_type=linux # correct to gnu/linux during the next big refactor
  12683. need_version=no
  12684. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  12685. soname_spec='${libname}${release}${shared_ext}$major'
  12686. finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
  12687. shlibpath_var=LD_LIBRARY_PATH
  12688. sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
  12689. sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
  12690. # the default ld.so.conf also contains /usr/contrib/lib and
  12691. # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
  12692. # libtool to hard-code these into programs
  12693. ;;
  12694. cygwin* | mingw* | pw32* | cegcc*)
  12695. version_type=windows
  12696. shrext_cmds=".dll"
  12697. need_version=no
  12698. need_lib_prefix=no
  12699. case $GCC,$cc_basename in
  12700. yes,*)
  12701. # gcc
  12702. library_names_spec='$libname.dll.a'
  12703. # DLL is installed to $(libdir)/../bin by postinstall_cmds
  12704. postinstall_cmds='base_file=`basename \${file}`~
  12705. dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
  12706. dldir=$destdir/`dirname \$dlpath`~
  12707. test -d \$dldir || mkdir -p \$dldir~
  12708. $install_prog $dir/$dlname \$dldir/$dlname~
  12709. chmod a+x \$dldir/$dlname~
  12710. if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
  12711. eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
  12712. fi'
  12713. postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
  12714. dlpath=$dir/\$dldll~
  12715. $RM \$dlpath'
  12716. shlibpath_overrides_runpath=yes
  12717. case $host_os in
  12718. cygwin*)
  12719. # Cygwin DLLs use 'cyg' prefix rather than 'lib'
  12720. soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  12721. ;;
  12722. mingw* | cegcc*)
  12723. # MinGW DLLs use traditional 'lib' prefix
  12724. soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  12725. ;;
  12726. pw32*)
  12727. # pw32 DLLs use 'pw' prefix rather than 'lib'
  12728. library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  12729. ;;
  12730. esac
  12731. dynamic_linker='Win32 ld.exe'
  12732. ;;
  12733. *,cl*)
  12734. # Native MSVC
  12735. libname_spec='$name'
  12736. soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  12737. library_names_spec='${libname}.dll.lib'
  12738. case $build_os in
  12739. mingw*)
  12740. sys_lib_search_path_spec=
  12741. lt_save_ifs=$IFS
  12742. IFS=';'
  12743. for lt_path in $LIB
  12744. do
  12745. IFS=$lt_save_ifs
  12746. # Let DOS variable expansion print the short 8.3 style file name.
  12747. lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
  12748. sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
  12749. done
  12750. IFS=$lt_save_ifs
  12751. # Convert to MSYS style.
  12752. sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
  12753. ;;
  12754. cygwin*)
  12755. # Convert to unix form, then to dos form, then back to unix form
  12756. # but this time dos style (no spaces!) so that the unix form looks
  12757. # like /cygdrive/c/PROGRA~1:/cygdr...
  12758. sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
  12759. sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
  12760. sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
  12761. ;;
  12762. *)
  12763. sys_lib_search_path_spec="$LIB"
  12764. if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
  12765. # It is most probably a Windows format PATH.
  12766. sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
  12767. else
  12768. sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
  12769. fi
  12770. # FIXME: find the short name or the path components, as spaces are
  12771. # common. (e.g. "Program Files" -> "PROGRA~1")
  12772. ;;
  12773. esac
  12774. # DLL is installed to $(libdir)/../bin by postinstall_cmds
  12775. postinstall_cmds='base_file=`basename \${file}`~
  12776. dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
  12777. dldir=$destdir/`dirname \$dlpath`~
  12778. test -d \$dldir || mkdir -p \$dldir~
  12779. $install_prog $dir/$dlname \$dldir/$dlname'
  12780. postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
  12781. dlpath=$dir/\$dldll~
  12782. $RM \$dlpath'
  12783. shlibpath_overrides_runpath=yes
  12784. dynamic_linker='Win32 link.exe'
  12785. ;;
  12786. *)
  12787. # Assume MSVC wrapper
  12788. library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
  12789. dynamic_linker='Win32 ld.exe'
  12790. ;;
  12791. esac
  12792. # FIXME: first we should search . and the directory the executable is in
  12793. shlibpath_var=PATH
  12794. ;;
  12795. darwin* | rhapsody*)
  12796. dynamic_linker="$host_os dyld"
  12797. version_type=darwin
  12798. need_lib_prefix=no
  12799. need_version=no
  12800. library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
  12801. soname_spec='${libname}${release}${major}$shared_ext'
  12802. shlibpath_overrides_runpath=yes
  12803. shlibpath_var=DYLD_LIBRARY_PATH
  12804. shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
  12805. sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
  12806. ;;
  12807. dgux*)
  12808. version_type=linux # correct to gnu/linux during the next big refactor
  12809. need_lib_prefix=no
  12810. need_version=no
  12811. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
  12812. soname_spec='${libname}${release}${shared_ext}$major'
  12813. shlibpath_var=LD_LIBRARY_PATH
  12814. ;;
  12815. freebsd* | dragonfly*)
  12816. # DragonFly does not have aout. When/if they implement a new
  12817. # versioning mechanism, adjust this.
  12818. if test -x /usr/bin/objformat; then
  12819. objformat=`/usr/bin/objformat`
  12820. else
  12821. case $host_os in
  12822. freebsd[23].*) objformat=aout ;;
  12823. *) objformat=elf ;;
  12824. esac
  12825. fi
  12826. version_type=freebsd-$objformat
  12827. case $version_type in
  12828. freebsd-elf*)
  12829. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
  12830. need_version=no
  12831. need_lib_prefix=no
  12832. ;;
  12833. freebsd-*)
  12834. library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
  12835. need_version=yes
  12836. ;;
  12837. esac
  12838. shlibpath_var=LD_LIBRARY_PATH
  12839. case $host_os in
  12840. freebsd2.*)
  12841. shlibpath_overrides_runpath=yes
  12842. ;;
  12843. freebsd3.[01]* | freebsdelf3.[01]*)
  12844. shlibpath_overrides_runpath=yes
  12845. hardcode_into_libs=yes
  12846. ;;
  12847. freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
  12848. freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
  12849. shlibpath_overrides_runpath=no
  12850. hardcode_into_libs=yes
  12851. ;;
  12852. *) # from 4.6 on, and DragonFly
  12853. shlibpath_overrides_runpath=yes
  12854. hardcode_into_libs=yes
  12855. ;;
  12856. esac
  12857. ;;
  12858. haiku*)
  12859. version_type=linux # correct to gnu/linux during the next big refactor
  12860. need_lib_prefix=no
  12861. need_version=no
  12862. dynamic_linker="$host_os runtime_loader"
  12863. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
  12864. soname_spec='${libname}${release}${shared_ext}$major'
  12865. shlibpath_var=LIBRARY_PATH
  12866. shlibpath_overrides_runpath=yes
  12867. sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
  12868. hardcode_into_libs=yes
  12869. ;;
  12870. hpux9* | hpux10* | hpux11*)
  12871. # Give a soname corresponding to the major version so that dld.sl refuses to
  12872. # link against other versions.
  12873. version_type=sunos
  12874. need_lib_prefix=no
  12875. need_version=no
  12876. case $host_cpu in
  12877. ia64*)
  12878. shrext_cmds='.so'
  12879. hardcode_into_libs=yes
  12880. dynamic_linker="$host_os dld.so"
  12881. shlibpath_var=LD_LIBRARY_PATH
  12882. shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  12883. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  12884. soname_spec='${libname}${release}${shared_ext}$major'
  12885. if test "X$HPUX_IA64_MODE" = X32; then
  12886. sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
  12887. else
  12888. sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
  12889. fi
  12890. sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  12891. ;;
  12892. hppa*64*)
  12893. shrext_cmds='.sl'
  12894. hardcode_into_libs=yes
  12895. dynamic_linker="$host_os dld.sl"
  12896. shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
  12897. shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  12898. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  12899. soname_spec='${libname}${release}${shared_ext}$major'
  12900. sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
  12901. sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  12902. ;;
  12903. *)
  12904. shrext_cmds='.sl'
  12905. dynamic_linker="$host_os dld.sl"
  12906. shlibpath_var=SHLIB_PATH
  12907. shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
  12908. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  12909. soname_spec='${libname}${release}${shared_ext}$major'
  12910. ;;
  12911. esac
  12912. # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
  12913. postinstall_cmds='chmod 555 $lib'
  12914. # or fails outright, so override atomically:
  12915. install_override_mode=555
  12916. ;;
  12917. interix[3-9]*)
  12918. version_type=linux # correct to gnu/linux during the next big refactor
  12919. need_lib_prefix=no
  12920. need_version=no
  12921. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  12922. soname_spec='${libname}${release}${shared_ext}$major'
  12923. dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
  12924. shlibpath_var=LD_LIBRARY_PATH
  12925. shlibpath_overrides_runpath=no
  12926. hardcode_into_libs=yes
  12927. ;;
  12928. irix5* | irix6* | nonstopux*)
  12929. case $host_os in
  12930. nonstopux*) version_type=nonstopux ;;
  12931. *)
  12932. if test "$lt_cv_prog_gnu_ld" = yes; then
  12933. version_type=linux # correct to gnu/linux during the next big refactor
  12934. else
  12935. version_type=irix
  12936. fi ;;
  12937. esac
  12938. need_lib_prefix=no
  12939. need_version=no
  12940. soname_spec='${libname}${release}${shared_ext}$major'
  12941. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
  12942. case $host_os in
  12943. irix5* | nonstopux*)
  12944. libsuff= shlibsuff=
  12945. ;;
  12946. *)
  12947. case $LD in # libtool.m4 will add one of these switches to LD
  12948. *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
  12949. libsuff= shlibsuff= libmagic=32-bit;;
  12950. *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
  12951. libsuff=32 shlibsuff=N32 libmagic=N32;;
  12952. *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
  12953. libsuff=64 shlibsuff=64 libmagic=64-bit;;
  12954. *) libsuff= shlibsuff= libmagic=never-match;;
  12955. esac
  12956. ;;
  12957. esac
  12958. shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
  12959. shlibpath_overrides_runpath=no
  12960. sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
  12961. sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
  12962. hardcode_into_libs=yes
  12963. ;;
  12964. # No shared lib support for Linux oldld, aout, or coff.
  12965. linux*oldld* | linux*aout* | linux*coff*)
  12966. dynamic_linker=no
  12967. ;;
  12968. # This must be glibc/ELF.
  12969. linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
  12970. version_type=linux # correct to gnu/linux during the next big refactor
  12971. need_lib_prefix=no
  12972. need_version=no
  12973. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  12974. soname_spec='${libname}${release}${shared_ext}$major'
  12975. finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
  12976. shlibpath_var=LD_LIBRARY_PATH
  12977. shlibpath_overrides_runpath=no
  12978. # Some binutils ld are patched to set DT_RUNPATH
  12979. if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
  12980. $as_echo_n "(cached) " >&6
  12981. else
  12982. lt_cv_shlibpath_overrides_runpath=no
  12983. save_LDFLAGS=$LDFLAGS
  12984. save_libdir=$libdir
  12985. eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
  12986. LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
  12987. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12988. /* end confdefs.h. */
  12989. int
  12990. main ()
  12991. {
  12992. ;
  12993. return 0;
  12994. }
  12995. _ACEOF
  12996. if ac_fn_cxx_try_link "$LINENO"; then :
  12997. if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
  12998. lt_cv_shlibpath_overrides_runpath=yes
  12999. fi
  13000. fi
  13001. rm -f core conftest.err conftest.$ac_objext \
  13002. conftest$ac_exeext conftest.$ac_ext
  13003. LDFLAGS=$save_LDFLAGS
  13004. libdir=$save_libdir
  13005. fi
  13006. shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
  13007. # This implies no fast_install, which is unacceptable.
  13008. # Some rework will be needed to allow for fast_install
  13009. # before this can be enabled.
  13010. hardcode_into_libs=yes
  13011. # Append ld.so.conf contents to the search path
  13012. if test -f /etc/ld.so.conf; then
  13013. 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' ' '`
  13014. sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
  13015. fi
  13016. # We used to test for /lib/ld.so.1 and disable shared libraries on
  13017. # powerpc, because MkLinux only supported shared libraries with the
  13018. # GNU dynamic linker. Since this was broken with cross compilers,
  13019. # most powerpc-linux boxes support dynamic linking these days and
  13020. # people can always --disable-shared, the test was removed, and we
  13021. # assume the GNU/Linux dynamic linker is in use.
  13022. dynamic_linker='GNU/Linux ld.so'
  13023. ;;
  13024. netbsdelf*-gnu)
  13025. version_type=linux
  13026. need_lib_prefix=no
  13027. need_version=no
  13028. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  13029. soname_spec='${libname}${release}${shared_ext}$major'
  13030. shlibpath_var=LD_LIBRARY_PATH
  13031. shlibpath_overrides_runpath=no
  13032. hardcode_into_libs=yes
  13033. dynamic_linker='NetBSD ld.elf_so'
  13034. ;;
  13035. netbsd*)
  13036. version_type=sunos
  13037. need_lib_prefix=no
  13038. need_version=no
  13039. if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  13040. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  13041. finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  13042. dynamic_linker='NetBSD (a.out) ld.so'
  13043. else
  13044. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  13045. soname_spec='${libname}${release}${shared_ext}$major'
  13046. dynamic_linker='NetBSD ld.elf_so'
  13047. fi
  13048. shlibpath_var=LD_LIBRARY_PATH
  13049. shlibpath_overrides_runpath=yes
  13050. hardcode_into_libs=yes
  13051. ;;
  13052. newsos6)
  13053. version_type=linux # correct to gnu/linux during the next big refactor
  13054. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  13055. shlibpath_var=LD_LIBRARY_PATH
  13056. shlibpath_overrides_runpath=yes
  13057. ;;
  13058. *nto* | *qnx*)
  13059. version_type=qnx
  13060. need_lib_prefix=no
  13061. need_version=no
  13062. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  13063. soname_spec='${libname}${release}${shared_ext}$major'
  13064. shlibpath_var=LD_LIBRARY_PATH
  13065. shlibpath_overrides_runpath=no
  13066. hardcode_into_libs=yes
  13067. dynamic_linker='ldqnx.so'
  13068. ;;
  13069. openbsd*)
  13070. version_type=sunos
  13071. sys_lib_dlsearch_path_spec="/usr/lib"
  13072. need_lib_prefix=no
  13073. # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
  13074. case $host_os in
  13075. openbsd3.3 | openbsd3.3.*) need_version=yes ;;
  13076. *) need_version=no ;;
  13077. esac
  13078. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  13079. finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  13080. shlibpath_var=LD_LIBRARY_PATH
  13081. if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  13082. case $host_os in
  13083. openbsd2.[89] | openbsd2.[89].*)
  13084. shlibpath_overrides_runpath=no
  13085. ;;
  13086. *)
  13087. shlibpath_overrides_runpath=yes
  13088. ;;
  13089. esac
  13090. else
  13091. shlibpath_overrides_runpath=yes
  13092. fi
  13093. ;;
  13094. os2*)
  13095. libname_spec='$name'
  13096. shrext_cmds=".dll"
  13097. need_lib_prefix=no
  13098. library_names_spec='$libname${shared_ext} $libname.a'
  13099. dynamic_linker='OS/2 ld.exe'
  13100. shlibpath_var=LIBPATH
  13101. ;;
  13102. osf3* | osf4* | osf5*)
  13103. version_type=osf
  13104. need_lib_prefix=no
  13105. need_version=no
  13106. soname_spec='${libname}${release}${shared_ext}$major'
  13107. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  13108. shlibpath_var=LD_LIBRARY_PATH
  13109. sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
  13110. sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
  13111. ;;
  13112. rdos*)
  13113. dynamic_linker=no
  13114. ;;
  13115. solaris*)
  13116. version_type=linux # correct to gnu/linux during the next big refactor
  13117. need_lib_prefix=no
  13118. need_version=no
  13119. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  13120. soname_spec='${libname}${release}${shared_ext}$major'
  13121. shlibpath_var=LD_LIBRARY_PATH
  13122. shlibpath_overrides_runpath=yes
  13123. hardcode_into_libs=yes
  13124. # ldd complains unless libraries are executable
  13125. postinstall_cmds='chmod +x $lib'
  13126. ;;
  13127. sunos4*)
  13128. version_type=sunos
  13129. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  13130. finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
  13131. shlibpath_var=LD_LIBRARY_PATH
  13132. shlibpath_overrides_runpath=yes
  13133. if test "$with_gnu_ld" = yes; then
  13134. need_lib_prefix=no
  13135. fi
  13136. need_version=yes
  13137. ;;
  13138. sysv4 | sysv4.3*)
  13139. version_type=linux # correct to gnu/linux during the next big refactor
  13140. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  13141. soname_spec='${libname}${release}${shared_ext}$major'
  13142. shlibpath_var=LD_LIBRARY_PATH
  13143. case $host_vendor in
  13144. sni)
  13145. shlibpath_overrides_runpath=no
  13146. need_lib_prefix=no
  13147. runpath_var=LD_RUN_PATH
  13148. ;;
  13149. siemens)
  13150. need_lib_prefix=no
  13151. ;;
  13152. motorola)
  13153. need_lib_prefix=no
  13154. need_version=no
  13155. shlibpath_overrides_runpath=no
  13156. sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
  13157. ;;
  13158. esac
  13159. ;;
  13160. sysv4*MP*)
  13161. if test -d /usr/nec ;then
  13162. version_type=linux # correct to gnu/linux during the next big refactor
  13163. library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
  13164. soname_spec='$libname${shared_ext}.$major'
  13165. shlibpath_var=LD_LIBRARY_PATH
  13166. fi
  13167. ;;
  13168. sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  13169. version_type=freebsd-elf
  13170. need_lib_prefix=no
  13171. need_version=no
  13172. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
  13173. soname_spec='${libname}${release}${shared_ext}$major'
  13174. shlibpath_var=LD_LIBRARY_PATH
  13175. shlibpath_overrides_runpath=yes
  13176. hardcode_into_libs=yes
  13177. if test "$with_gnu_ld" = yes; then
  13178. sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
  13179. else
  13180. sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
  13181. case $host_os in
  13182. sco3.2v5*)
  13183. sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
  13184. ;;
  13185. esac
  13186. fi
  13187. sys_lib_dlsearch_path_spec='/usr/lib'
  13188. ;;
  13189. tpf*)
  13190. # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
  13191. version_type=linux # correct to gnu/linux during the next big refactor
  13192. need_lib_prefix=no
  13193. need_version=no
  13194. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  13195. shlibpath_var=LD_LIBRARY_PATH
  13196. shlibpath_overrides_runpath=no
  13197. hardcode_into_libs=yes
  13198. ;;
  13199. uts4*)
  13200. version_type=linux # correct to gnu/linux during the next big refactor
  13201. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  13202. soname_spec='${libname}${release}${shared_ext}$major'
  13203. shlibpath_var=LD_LIBRARY_PATH
  13204. ;;
  13205. *)
  13206. dynamic_linker=no
  13207. ;;
  13208. esac
  13209. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
  13210. $as_echo "$dynamic_linker" >&6; }
  13211. test "$dynamic_linker" = no && can_build_shared=no
  13212. variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
  13213. if test "$GCC" = yes; then
  13214. variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
  13215. fi
  13216. if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
  13217. sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
  13218. fi
  13219. if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
  13220. sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
  13221. fi
  13222. { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
  13223. $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
  13224. hardcode_action_CXX=
  13225. if test -n "$hardcode_libdir_flag_spec_CXX" ||
  13226. test -n "$runpath_var_CXX" ||
  13227. test "X$hardcode_automatic_CXX" = "Xyes" ; then
  13228. # We can hardcode non-existent directories.
  13229. if test "$hardcode_direct_CXX" != no &&
  13230. # If the only mechanism to avoid hardcoding is shlibpath_var, we
  13231. # have to relink, otherwise we might link with an installed library
  13232. # when we should be linking with a yet-to-be-installed one
  13233. ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
  13234. test "$hardcode_minus_L_CXX" != no; then
  13235. # Linking always hardcodes the temporary library directory.
  13236. hardcode_action_CXX=relink
  13237. else
  13238. # We can link without hardcoding, and we can hardcode nonexisting dirs.
  13239. hardcode_action_CXX=immediate
  13240. fi
  13241. else
  13242. # We cannot hardcode anything, or else we can only hardcode existing
  13243. # directories.
  13244. hardcode_action_CXX=unsupported
  13245. fi
  13246. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
  13247. $as_echo "$hardcode_action_CXX" >&6; }
  13248. if test "$hardcode_action_CXX" = relink ||
  13249. test "$inherit_rpath_CXX" = yes; then
  13250. # Fast installation is not supported
  13251. enable_fast_install=no
  13252. elif test "$shlibpath_overrides_runpath" = yes ||
  13253. test "$enable_shared" = no; then
  13254. # Fast installation is not necessary
  13255. enable_fast_install=needless
  13256. fi
  13257. fi # test -n "$compiler"
  13258. CC=$lt_save_CC
  13259. CFLAGS=$lt_save_CFLAGS
  13260. LDCXX=$LD
  13261. LD=$lt_save_LD
  13262. GCC=$lt_save_GCC
  13263. with_gnu_ld=$lt_save_with_gnu_ld
  13264. lt_cv_path_LDCXX=$lt_cv_path_LD
  13265. lt_cv_path_LD=$lt_save_path_LD
  13266. lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
  13267. lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
  13268. fi # test "$_lt_caught_CXX_error" != yes
  13269. ac_ext=cpp
  13270. ac_cpp='$CXXCPP $CPPFLAGS'
  13271. ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  13272. ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  13273. ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  13274. ac_config_commands="$ac_config_commands libtool"
  13275. # Only expand once:
  13276. ac_fn_cxx_check_decl "$LINENO" "strerror_r" "ac_cv_have_decl_strerror_r" "$ac_includes_default"
  13277. if test "x$ac_cv_have_decl_strerror_r" = xyes; then :
  13278. ac_have_decl=1
  13279. else
  13280. ac_have_decl=0
  13281. fi
  13282. cat >>confdefs.h <<_ACEOF
  13283. #define HAVE_DECL_STRERROR_R $ac_have_decl
  13284. _ACEOF
  13285. for ac_func in strerror_r
  13286. do :
  13287. ac_fn_cxx_check_func "$LINENO" "strerror_r" "ac_cv_func_strerror_r"
  13288. if test "x$ac_cv_func_strerror_r" = xyes; then :
  13289. cat >>confdefs.h <<_ACEOF
  13290. #define HAVE_STRERROR_R 1
  13291. _ACEOF
  13292. fi
  13293. done
  13294. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strerror_r returns char *" >&5
  13295. $as_echo_n "checking whether strerror_r returns char *... " >&6; }
  13296. if ${ac_cv_func_strerror_r_char_p+:} false; then :
  13297. $as_echo_n "(cached) " >&6
  13298. else
  13299. ac_cv_func_strerror_r_char_p=no
  13300. if test $ac_cv_have_decl_strerror_r = yes; then
  13301. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13302. /* end confdefs.h. */
  13303. $ac_includes_default
  13304. int
  13305. main ()
  13306. {
  13307. char buf[100];
  13308. char x = *strerror_r (0, buf, sizeof buf);
  13309. char *p = strerror_r (0, buf, sizeof buf);
  13310. return !p || x;
  13311. ;
  13312. return 0;
  13313. }
  13314. _ACEOF
  13315. if ac_fn_cxx_try_compile "$LINENO"; then :
  13316. ac_cv_func_strerror_r_char_p=yes
  13317. fi
  13318. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  13319. else
  13320. # strerror_r is not declared. Choose between
  13321. # systems that have relatively inaccessible declarations for the
  13322. # function. BeOS and DEC UNIX 4.0 fall in this category, but the
  13323. # former has a strerror_r that returns char*, while the latter
  13324. # has a strerror_r that returns `int'.
  13325. # This test should segfault on the DEC system.
  13326. if test "$cross_compiling" = yes; then :
  13327. :
  13328. else
  13329. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13330. /* end confdefs.h. */
  13331. $ac_includes_default
  13332. extern char *strerror_r ();
  13333. int
  13334. main ()
  13335. {
  13336. char buf[100];
  13337. char x = *strerror_r (0, buf, sizeof buf);
  13338. return ! isalpha (x);
  13339. ;
  13340. return 0;
  13341. }
  13342. _ACEOF
  13343. if ac_fn_cxx_try_run "$LINENO"; then :
  13344. ac_cv_func_strerror_r_char_p=yes
  13345. fi
  13346. rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  13347. conftest.$ac_objext conftest.beam conftest.$ac_ext
  13348. fi
  13349. fi
  13350. fi
  13351. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strerror_r_char_p" >&5
  13352. $as_echo "$ac_cv_func_strerror_r_char_p" >&6; }
  13353. if test $ac_cv_func_strerror_r_char_p = yes; then
  13354. $as_echo "#define STRERROR_R_CHAR_P 1" >>confdefs.h
  13355. fi
  13356. if test x$ac_cv_func_strerror_r_char_p = xyes; then
  13357. HAVE_GNU_STRERROR_TRUE=
  13358. HAVE_GNU_STRERROR_FALSE='#'
  13359. else
  13360. HAVE_GNU_STRERROR_TRUE='#'
  13361. HAVE_GNU_STRERROR_FALSE=
  13362. fi
  13363. for ac_func in pread pwrite utimes localtime_r
  13364. do :
  13365. as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  13366. ac_fn_cxx_check_func "$LINENO" "$ac_func" "$as_ac_var"
  13367. if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
  13368. cat >>confdefs.h <<_ACEOF
  13369. #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
  13370. _ACEOF
  13371. fi
  13372. done
  13373. if test x$ac_cv_func_pread = xyes; then
  13374. HAVE_PREAD_TRUE=
  13375. HAVE_PREAD_FALSE='#'
  13376. else
  13377. HAVE_PREAD_TRUE='#'
  13378. HAVE_PREAD_FALSE=
  13379. fi
  13380. if test x$ac_cv_func_pwrite = xyes; then
  13381. HAVE_PWRITE_TRUE=
  13382. HAVE_PWRITE_FALSE='#'
  13383. else
  13384. HAVE_PWRITE_TRUE='#'
  13385. HAVE_PWRITE_FALSE=
  13386. fi
  13387. if test x$ac_cv_func_utimes = xyes; then
  13388. HAVE_UTIMES_TRUE=
  13389. HAVE_UTIMES_FALSE='#'
  13390. else
  13391. HAVE_UTIMES_TRUE='#'
  13392. HAVE_UTIMES_FALSE=
  13393. fi
  13394. # Files:
  13395. DX_PROJECT=libzipper
  13396. DX_CONFIG=Doxyfile
  13397. DX_DOCDIR=doc
  13398. # Environment variables used inside doxygen.cfg:
  13399. DX_ENV="$DX_ENV SRCDIR='$srcdir'"
  13400. DX_ENV="$DX_ENV PROJECT='$DX_PROJECT'"
  13401. DX_ENV="$DX_ENV DOCDIR='$DX_DOCDIR'"
  13402. DX_ENV="$DX_ENV VERSION='$PACKAGE_VERSION'"
  13403. # Doxygen itself:
  13404. # Check whether --enable-doxygen-doc was given.
  13405. if test "${enable_doxygen_doc+set}" = set; then :
  13406. enableval=$enable_doxygen_doc;
  13407. case "$enableval" in
  13408. #(
  13409. y|Y|yes|Yes|YES)
  13410. DX_FLAG_doc=1
  13411. ;; #(
  13412. n|N|no|No|NO)
  13413. DX_FLAG_doc=0
  13414. ;; #(
  13415. *)
  13416. as_fn_error $? "invalid value '$enableval' given to doxygen-doc" "$LINENO" 5
  13417. ;;
  13418. esac
  13419. else
  13420. DX_FLAG_doc=1
  13421. fi
  13422. if test "$DX_FLAG_doc" = 1; then
  13423. if test -n "$ac_tool_prefix"; then
  13424. # Extract the first word of "${ac_tool_prefix}doxygen", so it can be a program name with args.
  13425. set dummy ${ac_tool_prefix}doxygen; ac_word=$2
  13426. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  13427. $as_echo_n "checking for $ac_word... " >&6; }
  13428. if ${ac_cv_path_DX_DOXYGEN+:} false; then :
  13429. $as_echo_n "(cached) " >&6
  13430. else
  13431. case $DX_DOXYGEN in
  13432. [\\/]* | ?:[\\/]*)
  13433. ac_cv_path_DX_DOXYGEN="$DX_DOXYGEN" # Let the user override the test with a path.
  13434. ;;
  13435. *)
  13436. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  13437. for as_dir in $PATH
  13438. do
  13439. IFS=$as_save_IFS
  13440. test -z "$as_dir" && as_dir=.
  13441. for ac_exec_ext in '' $ac_executable_extensions; do
  13442. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  13443. ac_cv_path_DX_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
  13444. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  13445. break 2
  13446. fi
  13447. done
  13448. done
  13449. IFS=$as_save_IFS
  13450. ;;
  13451. esac
  13452. fi
  13453. DX_DOXYGEN=$ac_cv_path_DX_DOXYGEN
  13454. if test -n "$DX_DOXYGEN"; then
  13455. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_DOXYGEN" >&5
  13456. $as_echo "$DX_DOXYGEN" >&6; }
  13457. else
  13458. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  13459. $as_echo "no" >&6; }
  13460. fi
  13461. fi
  13462. if test -z "$ac_cv_path_DX_DOXYGEN"; then
  13463. ac_pt_DX_DOXYGEN=$DX_DOXYGEN
  13464. # Extract the first word of "doxygen", so it can be a program name with args.
  13465. set dummy doxygen; ac_word=$2
  13466. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  13467. $as_echo_n "checking for $ac_word... " >&6; }
  13468. if ${ac_cv_path_ac_pt_DX_DOXYGEN+:} false; then :
  13469. $as_echo_n "(cached) " >&6
  13470. else
  13471. case $ac_pt_DX_DOXYGEN in
  13472. [\\/]* | ?:[\\/]*)
  13473. ac_cv_path_ac_pt_DX_DOXYGEN="$ac_pt_DX_DOXYGEN" # Let the user override the test with a path.
  13474. ;;
  13475. *)
  13476. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  13477. for as_dir in $PATH
  13478. do
  13479. IFS=$as_save_IFS
  13480. test -z "$as_dir" && as_dir=.
  13481. for ac_exec_ext in '' $ac_executable_extensions; do
  13482. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  13483. ac_cv_path_ac_pt_DX_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
  13484. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  13485. break 2
  13486. fi
  13487. done
  13488. done
  13489. IFS=$as_save_IFS
  13490. ;;
  13491. esac
  13492. fi
  13493. ac_pt_DX_DOXYGEN=$ac_cv_path_ac_pt_DX_DOXYGEN
  13494. if test -n "$ac_pt_DX_DOXYGEN"; then
  13495. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_DOXYGEN" >&5
  13496. $as_echo "$ac_pt_DX_DOXYGEN" >&6; }
  13497. else
  13498. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  13499. $as_echo "no" >&6; }
  13500. fi
  13501. if test "x$ac_pt_DX_DOXYGEN" = x; then
  13502. DX_DOXYGEN=""
  13503. else
  13504. case $cross_compiling:$ac_tool_warned in
  13505. yes:)
  13506. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  13507. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  13508. ac_tool_warned=yes ;;
  13509. esac
  13510. DX_DOXYGEN=$ac_pt_DX_DOXYGEN
  13511. fi
  13512. else
  13513. DX_DOXYGEN="$ac_cv_path_DX_DOXYGEN"
  13514. fi
  13515. if test "$DX_FLAG_doc$DX_DOXYGEN" = 1; then
  13516. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: doxygen not found - will not generate any doxygen documentation" >&5
  13517. $as_echo "$as_me: WARNING: doxygen not found - will not generate any doxygen documentation" >&2;}
  13518. DX_FLAG_doc=0
  13519. fi
  13520. if test -n "$ac_tool_prefix"; then
  13521. # Extract the first word of "${ac_tool_prefix}perl", so it can be a program name with args.
  13522. set dummy ${ac_tool_prefix}perl; ac_word=$2
  13523. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  13524. $as_echo_n "checking for $ac_word... " >&6; }
  13525. if ${ac_cv_path_DX_PERL+:} false; then :
  13526. $as_echo_n "(cached) " >&6
  13527. else
  13528. case $DX_PERL in
  13529. [\\/]* | ?:[\\/]*)
  13530. ac_cv_path_DX_PERL="$DX_PERL" # Let the user override the test with a path.
  13531. ;;
  13532. *)
  13533. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  13534. for as_dir in $PATH
  13535. do
  13536. IFS=$as_save_IFS
  13537. test -z "$as_dir" && as_dir=.
  13538. for ac_exec_ext in '' $ac_executable_extensions; do
  13539. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  13540. ac_cv_path_DX_PERL="$as_dir/$ac_word$ac_exec_ext"
  13541. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  13542. break 2
  13543. fi
  13544. done
  13545. done
  13546. IFS=$as_save_IFS
  13547. ;;
  13548. esac
  13549. fi
  13550. DX_PERL=$ac_cv_path_DX_PERL
  13551. if test -n "$DX_PERL"; then
  13552. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_PERL" >&5
  13553. $as_echo "$DX_PERL" >&6; }
  13554. else
  13555. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  13556. $as_echo "no" >&6; }
  13557. fi
  13558. fi
  13559. if test -z "$ac_cv_path_DX_PERL"; then
  13560. ac_pt_DX_PERL=$DX_PERL
  13561. # Extract the first word of "perl", so it can be a program name with args.
  13562. set dummy perl; ac_word=$2
  13563. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  13564. $as_echo_n "checking for $ac_word... " >&6; }
  13565. if ${ac_cv_path_ac_pt_DX_PERL+:} false; then :
  13566. $as_echo_n "(cached) " >&6
  13567. else
  13568. case $ac_pt_DX_PERL in
  13569. [\\/]* | ?:[\\/]*)
  13570. ac_cv_path_ac_pt_DX_PERL="$ac_pt_DX_PERL" # Let the user override the test with a path.
  13571. ;;
  13572. *)
  13573. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  13574. for as_dir in $PATH
  13575. do
  13576. IFS=$as_save_IFS
  13577. test -z "$as_dir" && as_dir=.
  13578. for ac_exec_ext in '' $ac_executable_extensions; do
  13579. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  13580. ac_cv_path_ac_pt_DX_PERL="$as_dir/$ac_word$ac_exec_ext"
  13581. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  13582. break 2
  13583. fi
  13584. done
  13585. done
  13586. IFS=$as_save_IFS
  13587. ;;
  13588. esac
  13589. fi
  13590. ac_pt_DX_PERL=$ac_cv_path_ac_pt_DX_PERL
  13591. if test -n "$ac_pt_DX_PERL"; then
  13592. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_PERL" >&5
  13593. $as_echo "$ac_pt_DX_PERL" >&6; }
  13594. else
  13595. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  13596. $as_echo "no" >&6; }
  13597. fi
  13598. if test "x$ac_pt_DX_PERL" = x; then
  13599. DX_PERL=""
  13600. else
  13601. case $cross_compiling:$ac_tool_warned in
  13602. yes:)
  13603. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  13604. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  13605. ac_tool_warned=yes ;;
  13606. esac
  13607. DX_PERL=$ac_pt_DX_PERL
  13608. fi
  13609. else
  13610. DX_PERL="$ac_cv_path_DX_PERL"
  13611. fi
  13612. if test "$DX_FLAG_doc$DX_PERL" = 1; then
  13613. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: perl not found - will not generate any doxygen documentation" >&5
  13614. $as_echo "$as_me: WARNING: perl not found - will not generate any doxygen documentation" >&2;}
  13615. DX_FLAG_doc=0
  13616. fi
  13617. :
  13618. fi
  13619. if test "$DX_FLAG_doc" = 1; then
  13620. DX_COND_doc_TRUE=
  13621. DX_COND_doc_FALSE='#'
  13622. else
  13623. DX_COND_doc_TRUE='#'
  13624. DX_COND_doc_FALSE=
  13625. fi
  13626. if test "$DX_FLAG_doc" = 1; then
  13627. DX_ENV="$DX_ENV PERL_PATH='$DX_PERL'"
  13628. :
  13629. else
  13630. :
  13631. fi
  13632. # Dot for graphics:
  13633. # Check whether --enable-doxygen-dot was given.
  13634. if test "${enable_doxygen_dot+set}" = set; then :
  13635. enableval=$enable_doxygen_dot;
  13636. case "$enableval" in
  13637. #(
  13638. y|Y|yes|Yes|YES)
  13639. DX_FLAG_dot=1
  13640. test "$DX_FLAG_doc" = "1" \
  13641. || as_fn_error $? "doxygen-dot requires doxygen-dot" "$LINENO" 5
  13642. ;; #(
  13643. n|N|no|No|NO)
  13644. DX_FLAG_dot=0
  13645. ;; #(
  13646. *)
  13647. as_fn_error $? "invalid value '$enableval' given to doxygen-dot" "$LINENO" 5
  13648. ;;
  13649. esac
  13650. else
  13651. DX_FLAG_dot=0
  13652. test "$DX_FLAG_doc" = "1" || DX_FLAG_dot=0
  13653. fi
  13654. if test "$DX_FLAG_dot" = 1; then
  13655. if test -n "$ac_tool_prefix"; then
  13656. # Extract the first word of "${ac_tool_prefix}dot", so it can be a program name with args.
  13657. set dummy ${ac_tool_prefix}dot; ac_word=$2
  13658. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  13659. $as_echo_n "checking for $ac_word... " >&6; }
  13660. if ${ac_cv_path_DX_DOT+:} false; then :
  13661. $as_echo_n "(cached) " >&6
  13662. else
  13663. case $DX_DOT in
  13664. [\\/]* | ?:[\\/]*)
  13665. ac_cv_path_DX_DOT="$DX_DOT" # Let the user override the test with a path.
  13666. ;;
  13667. *)
  13668. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  13669. for as_dir in $PATH
  13670. do
  13671. IFS=$as_save_IFS
  13672. test -z "$as_dir" && as_dir=.
  13673. for ac_exec_ext in '' $ac_executable_extensions; do
  13674. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  13675. ac_cv_path_DX_DOT="$as_dir/$ac_word$ac_exec_ext"
  13676. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  13677. break 2
  13678. fi
  13679. done
  13680. done
  13681. IFS=$as_save_IFS
  13682. ;;
  13683. esac
  13684. fi
  13685. DX_DOT=$ac_cv_path_DX_DOT
  13686. if test -n "$DX_DOT"; then
  13687. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_DOT" >&5
  13688. $as_echo "$DX_DOT" >&6; }
  13689. else
  13690. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  13691. $as_echo "no" >&6; }
  13692. fi
  13693. fi
  13694. if test -z "$ac_cv_path_DX_DOT"; then
  13695. ac_pt_DX_DOT=$DX_DOT
  13696. # Extract the first word of "dot", so it can be a program name with args.
  13697. set dummy dot; ac_word=$2
  13698. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  13699. $as_echo_n "checking for $ac_word... " >&6; }
  13700. if ${ac_cv_path_ac_pt_DX_DOT+:} false; then :
  13701. $as_echo_n "(cached) " >&6
  13702. else
  13703. case $ac_pt_DX_DOT in
  13704. [\\/]* | ?:[\\/]*)
  13705. ac_cv_path_ac_pt_DX_DOT="$ac_pt_DX_DOT" # Let the user override the test with a path.
  13706. ;;
  13707. *)
  13708. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  13709. for as_dir in $PATH
  13710. do
  13711. IFS=$as_save_IFS
  13712. test -z "$as_dir" && as_dir=.
  13713. for ac_exec_ext in '' $ac_executable_extensions; do
  13714. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  13715. ac_cv_path_ac_pt_DX_DOT="$as_dir/$ac_word$ac_exec_ext"
  13716. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  13717. break 2
  13718. fi
  13719. done
  13720. done
  13721. IFS=$as_save_IFS
  13722. ;;
  13723. esac
  13724. fi
  13725. ac_pt_DX_DOT=$ac_cv_path_ac_pt_DX_DOT
  13726. if test -n "$ac_pt_DX_DOT"; then
  13727. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_DOT" >&5
  13728. $as_echo "$ac_pt_DX_DOT" >&6; }
  13729. else
  13730. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  13731. $as_echo "no" >&6; }
  13732. fi
  13733. if test "x$ac_pt_DX_DOT" = x; then
  13734. DX_DOT=""
  13735. else
  13736. case $cross_compiling:$ac_tool_warned in
  13737. yes:)
  13738. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  13739. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  13740. ac_tool_warned=yes ;;
  13741. esac
  13742. DX_DOT=$ac_pt_DX_DOT
  13743. fi
  13744. else
  13745. DX_DOT="$ac_cv_path_DX_DOT"
  13746. fi
  13747. if test "$DX_FLAG_dot$DX_DOT" = 1; then
  13748. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: dot not found - will not generate graphics for doxygen documentation" >&5
  13749. $as_echo "$as_me: WARNING: dot not found - will not generate graphics for doxygen documentation" >&2;}
  13750. DX_FLAG_dot=0
  13751. fi
  13752. :
  13753. fi
  13754. if test "$DX_FLAG_dot" = 1; then
  13755. DX_COND_dot_TRUE=
  13756. DX_COND_dot_FALSE='#'
  13757. else
  13758. DX_COND_dot_TRUE='#'
  13759. DX_COND_dot_FALSE=
  13760. fi
  13761. if test "$DX_FLAG_dot" = 1; then
  13762. DX_ENV="$DX_ENV HAVE_DOT='YES'"
  13763. DX_ENV="$DX_ENV DOT_PATH='`expr ".$DX_DOT" : '\(\.\)[^/]*$' \| "x$DX_DOT" : 'x\(.*\)/[^/]*$'`'"
  13764. :
  13765. else
  13766. DX_ENV="$DX_ENV HAVE_DOT='NO'"
  13767. :
  13768. fi
  13769. # Man pages generation:
  13770. # Check whether --enable-doxygen-man was given.
  13771. if test "${enable_doxygen_man+set}" = set; then :
  13772. enableval=$enable_doxygen_man;
  13773. case "$enableval" in
  13774. #(
  13775. y|Y|yes|Yes|YES)
  13776. DX_FLAG_man=1
  13777. test "$DX_FLAG_doc" = "1" \
  13778. || as_fn_error $? "doxygen-man requires doxygen-man" "$LINENO" 5
  13779. ;; #(
  13780. n|N|no|No|NO)
  13781. DX_FLAG_man=0
  13782. ;; #(
  13783. *)
  13784. as_fn_error $? "invalid value '$enableval' given to doxygen-man" "$LINENO" 5
  13785. ;;
  13786. esac
  13787. else
  13788. DX_FLAG_man=0
  13789. test "$DX_FLAG_doc" = "1" || DX_FLAG_man=0
  13790. fi
  13791. if test "$DX_FLAG_man" = 1; then
  13792. :
  13793. fi
  13794. if test "$DX_FLAG_man" = 1; then
  13795. DX_COND_man_TRUE=
  13796. DX_COND_man_FALSE='#'
  13797. else
  13798. DX_COND_man_TRUE='#'
  13799. DX_COND_man_FALSE=
  13800. fi
  13801. if test "$DX_FLAG_man" = 1; then
  13802. DX_ENV="$DX_ENV GENERATE_MAN='YES'"
  13803. :
  13804. else
  13805. DX_ENV="$DX_ENV GENERATE_MAN='NO'"
  13806. :
  13807. fi
  13808. # RTF file generation:
  13809. # Check whether --enable-doxygen-rtf was given.
  13810. if test "${enable_doxygen_rtf+set}" = set; then :
  13811. enableval=$enable_doxygen_rtf;
  13812. case "$enableval" in
  13813. #(
  13814. y|Y|yes|Yes|YES)
  13815. DX_FLAG_rtf=1
  13816. test "$DX_FLAG_doc" = "1" \
  13817. || as_fn_error $? "doxygen-rtf requires doxygen-rtf" "$LINENO" 5
  13818. ;; #(
  13819. n|N|no|No|NO)
  13820. DX_FLAG_rtf=0
  13821. ;; #(
  13822. *)
  13823. as_fn_error $? "invalid value '$enableval' given to doxygen-rtf" "$LINENO" 5
  13824. ;;
  13825. esac
  13826. else
  13827. DX_FLAG_rtf=0
  13828. test "$DX_FLAG_doc" = "1" || DX_FLAG_rtf=0
  13829. fi
  13830. if test "$DX_FLAG_rtf" = 1; then
  13831. :
  13832. fi
  13833. if test "$DX_FLAG_rtf" = 1; then
  13834. DX_COND_rtf_TRUE=
  13835. DX_COND_rtf_FALSE='#'
  13836. else
  13837. DX_COND_rtf_TRUE='#'
  13838. DX_COND_rtf_FALSE=
  13839. fi
  13840. if test "$DX_FLAG_rtf" = 1; then
  13841. DX_ENV="$DX_ENV GENERATE_RTF='YES'"
  13842. :
  13843. else
  13844. DX_ENV="$DX_ENV GENERATE_RTF='NO'"
  13845. :
  13846. fi
  13847. # XML file generation:
  13848. # Check whether --enable-doxygen-xml was given.
  13849. if test "${enable_doxygen_xml+set}" = set; then :
  13850. enableval=$enable_doxygen_xml;
  13851. case "$enableval" in
  13852. #(
  13853. y|Y|yes|Yes|YES)
  13854. DX_FLAG_xml=1
  13855. test "$DX_FLAG_doc" = "1" \
  13856. || as_fn_error $? "doxygen-xml requires doxygen-xml" "$LINENO" 5
  13857. ;; #(
  13858. n|N|no|No|NO)
  13859. DX_FLAG_xml=0
  13860. ;; #(
  13861. *)
  13862. as_fn_error $? "invalid value '$enableval' given to doxygen-xml" "$LINENO" 5
  13863. ;;
  13864. esac
  13865. else
  13866. DX_FLAG_xml=0
  13867. test "$DX_FLAG_doc" = "1" || DX_FLAG_xml=0
  13868. fi
  13869. if test "$DX_FLAG_xml" = 1; then
  13870. :
  13871. fi
  13872. if test "$DX_FLAG_xml" = 1; then
  13873. DX_COND_xml_TRUE=
  13874. DX_COND_xml_FALSE='#'
  13875. else
  13876. DX_COND_xml_TRUE='#'
  13877. DX_COND_xml_FALSE=
  13878. fi
  13879. if test "$DX_FLAG_xml" = 1; then
  13880. DX_ENV="$DX_ENV GENERATE_XML='YES'"
  13881. :
  13882. else
  13883. DX_ENV="$DX_ENV GENERATE_XML='NO'"
  13884. :
  13885. fi
  13886. # (Compressed) HTML help generation:
  13887. # Check whether --enable-doxygen-chm was given.
  13888. if test "${enable_doxygen_chm+set}" = set; then :
  13889. enableval=$enable_doxygen_chm;
  13890. case "$enableval" in
  13891. #(
  13892. y|Y|yes|Yes|YES)
  13893. DX_FLAG_chm=1
  13894. test "$DX_FLAG_doc" = "1" \
  13895. || as_fn_error $? "doxygen-chm requires doxygen-chm" "$LINENO" 5
  13896. ;; #(
  13897. n|N|no|No|NO)
  13898. DX_FLAG_chm=0
  13899. ;; #(
  13900. *)
  13901. as_fn_error $? "invalid value '$enableval' given to doxygen-chm" "$LINENO" 5
  13902. ;;
  13903. esac
  13904. else
  13905. DX_FLAG_chm=0
  13906. test "$DX_FLAG_doc" = "1" || DX_FLAG_chm=0
  13907. fi
  13908. if test "$DX_FLAG_chm" = 1; then
  13909. if test -n "$ac_tool_prefix"; then
  13910. # Extract the first word of "${ac_tool_prefix}hhc", so it can be a program name with args.
  13911. set dummy ${ac_tool_prefix}hhc; ac_word=$2
  13912. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  13913. $as_echo_n "checking for $ac_word... " >&6; }
  13914. if ${ac_cv_path_DX_HHC+:} false; then :
  13915. $as_echo_n "(cached) " >&6
  13916. else
  13917. case $DX_HHC in
  13918. [\\/]* | ?:[\\/]*)
  13919. ac_cv_path_DX_HHC="$DX_HHC" # Let the user override the test with a path.
  13920. ;;
  13921. *)
  13922. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  13923. for as_dir in $PATH
  13924. do
  13925. IFS=$as_save_IFS
  13926. test -z "$as_dir" && as_dir=.
  13927. for ac_exec_ext in '' $ac_executable_extensions; do
  13928. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  13929. ac_cv_path_DX_HHC="$as_dir/$ac_word$ac_exec_ext"
  13930. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  13931. break 2
  13932. fi
  13933. done
  13934. done
  13935. IFS=$as_save_IFS
  13936. ;;
  13937. esac
  13938. fi
  13939. DX_HHC=$ac_cv_path_DX_HHC
  13940. if test -n "$DX_HHC"; then
  13941. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_HHC" >&5
  13942. $as_echo "$DX_HHC" >&6; }
  13943. else
  13944. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  13945. $as_echo "no" >&6; }
  13946. fi
  13947. fi
  13948. if test -z "$ac_cv_path_DX_HHC"; then
  13949. ac_pt_DX_HHC=$DX_HHC
  13950. # Extract the first word of "hhc", so it can be a program name with args.
  13951. set dummy hhc; ac_word=$2
  13952. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  13953. $as_echo_n "checking for $ac_word... " >&6; }
  13954. if ${ac_cv_path_ac_pt_DX_HHC+:} false; then :
  13955. $as_echo_n "(cached) " >&6
  13956. else
  13957. case $ac_pt_DX_HHC in
  13958. [\\/]* | ?:[\\/]*)
  13959. ac_cv_path_ac_pt_DX_HHC="$ac_pt_DX_HHC" # Let the user override the test with a path.
  13960. ;;
  13961. *)
  13962. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  13963. for as_dir in $PATH
  13964. do
  13965. IFS=$as_save_IFS
  13966. test -z "$as_dir" && as_dir=.
  13967. for ac_exec_ext in '' $ac_executable_extensions; do
  13968. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  13969. ac_cv_path_ac_pt_DX_HHC="$as_dir/$ac_word$ac_exec_ext"
  13970. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  13971. break 2
  13972. fi
  13973. done
  13974. done
  13975. IFS=$as_save_IFS
  13976. ;;
  13977. esac
  13978. fi
  13979. ac_pt_DX_HHC=$ac_cv_path_ac_pt_DX_HHC
  13980. if test -n "$ac_pt_DX_HHC"; then
  13981. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_HHC" >&5
  13982. $as_echo "$ac_pt_DX_HHC" >&6; }
  13983. else
  13984. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  13985. $as_echo "no" >&6; }
  13986. fi
  13987. if test "x$ac_pt_DX_HHC" = x; then
  13988. DX_HHC=""
  13989. else
  13990. case $cross_compiling:$ac_tool_warned in
  13991. yes:)
  13992. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  13993. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  13994. ac_tool_warned=yes ;;
  13995. esac
  13996. DX_HHC=$ac_pt_DX_HHC
  13997. fi
  13998. else
  13999. DX_HHC="$ac_cv_path_DX_HHC"
  14000. fi
  14001. if test "$DX_FLAG_chm$DX_HHC" = 1; then
  14002. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: hhc not found - will not generate doxygen compressed HTML help documentation" >&5
  14003. $as_echo "$as_me: WARNING: hhc not found - will not generate doxygen compressed HTML help documentation" >&2;}
  14004. DX_FLAG_chm=0
  14005. fi
  14006. :
  14007. fi
  14008. if test "$DX_FLAG_chm" = 1; then
  14009. DX_COND_chm_TRUE=
  14010. DX_COND_chm_FALSE='#'
  14011. else
  14012. DX_COND_chm_TRUE='#'
  14013. DX_COND_chm_FALSE=
  14014. fi
  14015. if test "$DX_FLAG_chm" = 1; then
  14016. DX_ENV="$DX_ENV HHC_PATH='$DX_HHC'"
  14017. DX_ENV="$DX_ENV GENERATE_HTML='YES'"
  14018. DX_ENV="$DX_ENV GENERATE_HTMLHELP='YES'"
  14019. :
  14020. else
  14021. DX_ENV="$DX_ENV GENERATE_HTMLHELP='NO'"
  14022. :
  14023. fi
  14024. # Seperate CHI file generation.
  14025. # Check whether --enable-doxygen-chi was given.
  14026. if test "${enable_doxygen_chi+set}" = set; then :
  14027. enableval=$enable_doxygen_chi;
  14028. case "$enableval" in
  14029. #(
  14030. y|Y|yes|Yes|YES)
  14031. DX_FLAG_chi=1
  14032. test "$DX_FLAG_chm" = "1" \
  14033. || as_fn_error $? "doxygen-chi requires doxygen-chi" "$LINENO" 5
  14034. ;; #(
  14035. n|N|no|No|NO)
  14036. DX_FLAG_chi=0
  14037. ;; #(
  14038. *)
  14039. as_fn_error $? "invalid value '$enableval' given to doxygen-chi" "$LINENO" 5
  14040. ;;
  14041. esac
  14042. else
  14043. DX_FLAG_chi=0
  14044. test "$DX_FLAG_chm" = "1" || DX_FLAG_chi=0
  14045. fi
  14046. if test "$DX_FLAG_chi" = 1; then
  14047. :
  14048. fi
  14049. if test "$DX_FLAG_chi" = 1; then
  14050. DX_COND_chi_TRUE=
  14051. DX_COND_chi_FALSE='#'
  14052. else
  14053. DX_COND_chi_TRUE='#'
  14054. DX_COND_chi_FALSE=
  14055. fi
  14056. if test "$DX_FLAG_chi" = 1; then
  14057. DX_ENV="$DX_ENV GENERATE_CHI='YES'"
  14058. :
  14059. else
  14060. DX_ENV="$DX_ENV GENERATE_CHI='NO'"
  14061. :
  14062. fi
  14063. # Plain HTML pages generation:
  14064. # Check whether --enable-doxygen-html was given.
  14065. if test "${enable_doxygen_html+set}" = set; then :
  14066. enableval=$enable_doxygen_html;
  14067. case "$enableval" in
  14068. #(
  14069. y|Y|yes|Yes|YES)
  14070. DX_FLAG_html=1
  14071. test "$DX_FLAG_doc" = "1" \
  14072. || as_fn_error $? "doxygen-html requires doxygen-html" "$LINENO" 5
  14073. test "$DX_FLAG_chm" = "0" \
  14074. || as_fn_error $? "doxygen-html contradicts doxygen-html" "$LINENO" 5
  14075. ;; #(
  14076. n|N|no|No|NO)
  14077. DX_FLAG_html=0
  14078. ;; #(
  14079. *)
  14080. as_fn_error $? "invalid value '$enableval' given to doxygen-html" "$LINENO" 5
  14081. ;;
  14082. esac
  14083. else
  14084. DX_FLAG_html=1
  14085. test "$DX_FLAG_doc" = "1" || DX_FLAG_html=0
  14086. test "$DX_FLAG_chm" = "0" || DX_FLAG_html=0
  14087. fi
  14088. if test "$DX_FLAG_html" = 1; then
  14089. :
  14090. fi
  14091. if test "$DX_FLAG_html" = 1; then
  14092. DX_COND_html_TRUE=
  14093. DX_COND_html_FALSE='#'
  14094. else
  14095. DX_COND_html_TRUE='#'
  14096. DX_COND_html_FALSE=
  14097. fi
  14098. if test "$DX_FLAG_html" = 1; then
  14099. DX_ENV="$DX_ENV GENERATE_HTML='YES'"
  14100. :
  14101. else
  14102. test "$DX_FLAG_chm" = 1 || DX_ENV="$DX_ENV GENERATE_HTML='NO'"
  14103. :
  14104. fi
  14105. # PostScript file generation:
  14106. # Check whether --enable-doxygen-ps was given.
  14107. if test "${enable_doxygen_ps+set}" = set; then :
  14108. enableval=$enable_doxygen_ps;
  14109. case "$enableval" in
  14110. #(
  14111. y|Y|yes|Yes|YES)
  14112. DX_FLAG_ps=1
  14113. test "$DX_FLAG_doc" = "1" \
  14114. || as_fn_error $? "doxygen-ps requires doxygen-ps" "$LINENO" 5
  14115. ;; #(
  14116. n|N|no|No|NO)
  14117. DX_FLAG_ps=0
  14118. ;; #(
  14119. *)
  14120. as_fn_error $? "invalid value '$enableval' given to doxygen-ps" "$LINENO" 5
  14121. ;;
  14122. esac
  14123. else
  14124. DX_FLAG_ps=0
  14125. test "$DX_FLAG_doc" = "1" || DX_FLAG_ps=0
  14126. fi
  14127. if test "$DX_FLAG_ps" = 1; then
  14128. if test -n "$ac_tool_prefix"; then
  14129. # Extract the first word of "${ac_tool_prefix}latex", so it can be a program name with args.
  14130. set dummy ${ac_tool_prefix}latex; ac_word=$2
  14131. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  14132. $as_echo_n "checking for $ac_word... " >&6; }
  14133. if ${ac_cv_path_DX_LATEX+:} false; then :
  14134. $as_echo_n "(cached) " >&6
  14135. else
  14136. case $DX_LATEX in
  14137. [\\/]* | ?:[\\/]*)
  14138. ac_cv_path_DX_LATEX="$DX_LATEX" # Let the user override the test with a path.
  14139. ;;
  14140. *)
  14141. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  14142. for as_dir in $PATH
  14143. do
  14144. IFS=$as_save_IFS
  14145. test -z "$as_dir" && as_dir=.
  14146. for ac_exec_ext in '' $ac_executable_extensions; do
  14147. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  14148. ac_cv_path_DX_LATEX="$as_dir/$ac_word$ac_exec_ext"
  14149. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  14150. break 2
  14151. fi
  14152. done
  14153. done
  14154. IFS=$as_save_IFS
  14155. ;;
  14156. esac
  14157. fi
  14158. DX_LATEX=$ac_cv_path_DX_LATEX
  14159. if test -n "$DX_LATEX"; then
  14160. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_LATEX" >&5
  14161. $as_echo "$DX_LATEX" >&6; }
  14162. else
  14163. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  14164. $as_echo "no" >&6; }
  14165. fi
  14166. fi
  14167. if test -z "$ac_cv_path_DX_LATEX"; then
  14168. ac_pt_DX_LATEX=$DX_LATEX
  14169. # Extract the first word of "latex", so it can be a program name with args.
  14170. set dummy latex; ac_word=$2
  14171. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  14172. $as_echo_n "checking for $ac_word... " >&6; }
  14173. if ${ac_cv_path_ac_pt_DX_LATEX+:} false; then :
  14174. $as_echo_n "(cached) " >&6
  14175. else
  14176. case $ac_pt_DX_LATEX in
  14177. [\\/]* | ?:[\\/]*)
  14178. ac_cv_path_ac_pt_DX_LATEX="$ac_pt_DX_LATEX" # Let the user override the test with a path.
  14179. ;;
  14180. *)
  14181. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  14182. for as_dir in $PATH
  14183. do
  14184. IFS=$as_save_IFS
  14185. test -z "$as_dir" && as_dir=.
  14186. for ac_exec_ext in '' $ac_executable_extensions; do
  14187. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  14188. ac_cv_path_ac_pt_DX_LATEX="$as_dir/$ac_word$ac_exec_ext"
  14189. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  14190. break 2
  14191. fi
  14192. done
  14193. done
  14194. IFS=$as_save_IFS
  14195. ;;
  14196. esac
  14197. fi
  14198. ac_pt_DX_LATEX=$ac_cv_path_ac_pt_DX_LATEX
  14199. if test -n "$ac_pt_DX_LATEX"; then
  14200. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_LATEX" >&5
  14201. $as_echo "$ac_pt_DX_LATEX" >&6; }
  14202. else
  14203. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  14204. $as_echo "no" >&6; }
  14205. fi
  14206. if test "x$ac_pt_DX_LATEX" = x; then
  14207. DX_LATEX=""
  14208. else
  14209. case $cross_compiling:$ac_tool_warned in
  14210. yes:)
  14211. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  14212. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  14213. ac_tool_warned=yes ;;
  14214. esac
  14215. DX_LATEX=$ac_pt_DX_LATEX
  14216. fi
  14217. else
  14218. DX_LATEX="$ac_cv_path_DX_LATEX"
  14219. fi
  14220. if test "$DX_FLAG_ps$DX_LATEX" = 1; then
  14221. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: latex not found - will not generate doxygen PostScript documentation" >&5
  14222. $as_echo "$as_me: WARNING: latex not found - will not generate doxygen PostScript documentation" >&2;}
  14223. DX_FLAG_ps=0
  14224. fi
  14225. if test -n "$ac_tool_prefix"; then
  14226. # Extract the first word of "${ac_tool_prefix}makeindex", so it can be a program name with args.
  14227. set dummy ${ac_tool_prefix}makeindex; ac_word=$2
  14228. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  14229. $as_echo_n "checking for $ac_word... " >&6; }
  14230. if ${ac_cv_path_DX_MAKEINDEX+:} false; then :
  14231. $as_echo_n "(cached) " >&6
  14232. else
  14233. case $DX_MAKEINDEX in
  14234. [\\/]* | ?:[\\/]*)
  14235. ac_cv_path_DX_MAKEINDEX="$DX_MAKEINDEX" # Let the user override the test with a path.
  14236. ;;
  14237. *)
  14238. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  14239. for as_dir in $PATH
  14240. do
  14241. IFS=$as_save_IFS
  14242. test -z "$as_dir" && as_dir=.
  14243. for ac_exec_ext in '' $ac_executable_extensions; do
  14244. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  14245. ac_cv_path_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
  14246. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  14247. break 2
  14248. fi
  14249. done
  14250. done
  14251. IFS=$as_save_IFS
  14252. ;;
  14253. esac
  14254. fi
  14255. DX_MAKEINDEX=$ac_cv_path_DX_MAKEINDEX
  14256. if test -n "$DX_MAKEINDEX"; then
  14257. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_MAKEINDEX" >&5
  14258. $as_echo "$DX_MAKEINDEX" >&6; }
  14259. else
  14260. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  14261. $as_echo "no" >&6; }
  14262. fi
  14263. fi
  14264. if test -z "$ac_cv_path_DX_MAKEINDEX"; then
  14265. ac_pt_DX_MAKEINDEX=$DX_MAKEINDEX
  14266. # Extract the first word of "makeindex", so it can be a program name with args.
  14267. set dummy makeindex; ac_word=$2
  14268. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  14269. $as_echo_n "checking for $ac_word... " >&6; }
  14270. if ${ac_cv_path_ac_pt_DX_MAKEINDEX+:} false; then :
  14271. $as_echo_n "(cached) " >&6
  14272. else
  14273. case $ac_pt_DX_MAKEINDEX in
  14274. [\\/]* | ?:[\\/]*)
  14275. ac_cv_path_ac_pt_DX_MAKEINDEX="$ac_pt_DX_MAKEINDEX" # Let the user override the test with a path.
  14276. ;;
  14277. *)
  14278. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  14279. for as_dir in $PATH
  14280. do
  14281. IFS=$as_save_IFS
  14282. test -z "$as_dir" && as_dir=.
  14283. for ac_exec_ext in '' $ac_executable_extensions; do
  14284. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  14285. ac_cv_path_ac_pt_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
  14286. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  14287. break 2
  14288. fi
  14289. done
  14290. done
  14291. IFS=$as_save_IFS
  14292. ;;
  14293. esac
  14294. fi
  14295. ac_pt_DX_MAKEINDEX=$ac_cv_path_ac_pt_DX_MAKEINDEX
  14296. if test -n "$ac_pt_DX_MAKEINDEX"; then
  14297. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_MAKEINDEX" >&5
  14298. $as_echo "$ac_pt_DX_MAKEINDEX" >&6; }
  14299. else
  14300. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  14301. $as_echo "no" >&6; }
  14302. fi
  14303. if test "x$ac_pt_DX_MAKEINDEX" = x; then
  14304. DX_MAKEINDEX=""
  14305. else
  14306. case $cross_compiling:$ac_tool_warned in
  14307. yes:)
  14308. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  14309. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  14310. ac_tool_warned=yes ;;
  14311. esac
  14312. DX_MAKEINDEX=$ac_pt_DX_MAKEINDEX
  14313. fi
  14314. else
  14315. DX_MAKEINDEX="$ac_cv_path_DX_MAKEINDEX"
  14316. fi
  14317. if test "$DX_FLAG_ps$DX_MAKEINDEX" = 1; then
  14318. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: makeindex not found - will not generate doxygen PostScript documentation" >&5
  14319. $as_echo "$as_me: WARNING: makeindex not found - will not generate doxygen PostScript documentation" >&2;}
  14320. DX_FLAG_ps=0
  14321. fi
  14322. if test -n "$ac_tool_prefix"; then
  14323. # Extract the first word of "${ac_tool_prefix}dvips", so it can be a program name with args.
  14324. set dummy ${ac_tool_prefix}dvips; ac_word=$2
  14325. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  14326. $as_echo_n "checking for $ac_word... " >&6; }
  14327. if ${ac_cv_path_DX_DVIPS+:} false; then :
  14328. $as_echo_n "(cached) " >&6
  14329. else
  14330. case $DX_DVIPS in
  14331. [\\/]* | ?:[\\/]*)
  14332. ac_cv_path_DX_DVIPS="$DX_DVIPS" # Let the user override the test with a path.
  14333. ;;
  14334. *)
  14335. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  14336. for as_dir in $PATH
  14337. do
  14338. IFS=$as_save_IFS
  14339. test -z "$as_dir" && as_dir=.
  14340. for ac_exec_ext in '' $ac_executable_extensions; do
  14341. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  14342. ac_cv_path_DX_DVIPS="$as_dir/$ac_word$ac_exec_ext"
  14343. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  14344. break 2
  14345. fi
  14346. done
  14347. done
  14348. IFS=$as_save_IFS
  14349. ;;
  14350. esac
  14351. fi
  14352. DX_DVIPS=$ac_cv_path_DX_DVIPS
  14353. if test -n "$DX_DVIPS"; then
  14354. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_DVIPS" >&5
  14355. $as_echo "$DX_DVIPS" >&6; }
  14356. else
  14357. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  14358. $as_echo "no" >&6; }
  14359. fi
  14360. fi
  14361. if test -z "$ac_cv_path_DX_DVIPS"; then
  14362. ac_pt_DX_DVIPS=$DX_DVIPS
  14363. # Extract the first word of "dvips", so it can be a program name with args.
  14364. set dummy dvips; ac_word=$2
  14365. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  14366. $as_echo_n "checking for $ac_word... " >&6; }
  14367. if ${ac_cv_path_ac_pt_DX_DVIPS+:} false; then :
  14368. $as_echo_n "(cached) " >&6
  14369. else
  14370. case $ac_pt_DX_DVIPS in
  14371. [\\/]* | ?:[\\/]*)
  14372. ac_cv_path_ac_pt_DX_DVIPS="$ac_pt_DX_DVIPS" # Let the user override the test with a path.
  14373. ;;
  14374. *)
  14375. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  14376. for as_dir in $PATH
  14377. do
  14378. IFS=$as_save_IFS
  14379. test -z "$as_dir" && as_dir=.
  14380. for ac_exec_ext in '' $ac_executable_extensions; do
  14381. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  14382. ac_cv_path_ac_pt_DX_DVIPS="$as_dir/$ac_word$ac_exec_ext"
  14383. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  14384. break 2
  14385. fi
  14386. done
  14387. done
  14388. IFS=$as_save_IFS
  14389. ;;
  14390. esac
  14391. fi
  14392. ac_pt_DX_DVIPS=$ac_cv_path_ac_pt_DX_DVIPS
  14393. if test -n "$ac_pt_DX_DVIPS"; then
  14394. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_DVIPS" >&5
  14395. $as_echo "$ac_pt_DX_DVIPS" >&6; }
  14396. else
  14397. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  14398. $as_echo "no" >&6; }
  14399. fi
  14400. if test "x$ac_pt_DX_DVIPS" = x; then
  14401. DX_DVIPS=""
  14402. else
  14403. case $cross_compiling:$ac_tool_warned in
  14404. yes:)
  14405. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  14406. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  14407. ac_tool_warned=yes ;;
  14408. esac
  14409. DX_DVIPS=$ac_pt_DX_DVIPS
  14410. fi
  14411. else
  14412. DX_DVIPS="$ac_cv_path_DX_DVIPS"
  14413. fi
  14414. if test "$DX_FLAG_ps$DX_DVIPS" = 1; then
  14415. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: dvips not found - will not generate doxygen PostScript documentation" >&5
  14416. $as_echo "$as_me: WARNING: dvips not found - will not generate doxygen PostScript documentation" >&2;}
  14417. DX_FLAG_ps=0
  14418. fi
  14419. if test -n "$ac_tool_prefix"; then
  14420. # Extract the first word of "${ac_tool_prefix}egrep", so it can be a program name with args.
  14421. set dummy ${ac_tool_prefix}egrep; ac_word=$2
  14422. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  14423. $as_echo_n "checking for $ac_word... " >&6; }
  14424. if ${ac_cv_path_DX_EGREP+:} false; then :
  14425. $as_echo_n "(cached) " >&6
  14426. else
  14427. case $DX_EGREP in
  14428. [\\/]* | ?:[\\/]*)
  14429. ac_cv_path_DX_EGREP="$DX_EGREP" # Let the user override the test with a path.
  14430. ;;
  14431. *)
  14432. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  14433. for as_dir in $PATH
  14434. do
  14435. IFS=$as_save_IFS
  14436. test -z "$as_dir" && as_dir=.
  14437. for ac_exec_ext in '' $ac_executable_extensions; do
  14438. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  14439. ac_cv_path_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
  14440. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  14441. break 2
  14442. fi
  14443. done
  14444. done
  14445. IFS=$as_save_IFS
  14446. ;;
  14447. esac
  14448. fi
  14449. DX_EGREP=$ac_cv_path_DX_EGREP
  14450. if test -n "$DX_EGREP"; then
  14451. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_EGREP" >&5
  14452. $as_echo "$DX_EGREP" >&6; }
  14453. else
  14454. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  14455. $as_echo "no" >&6; }
  14456. fi
  14457. fi
  14458. if test -z "$ac_cv_path_DX_EGREP"; then
  14459. ac_pt_DX_EGREP=$DX_EGREP
  14460. # Extract the first word of "egrep", so it can be a program name with args.
  14461. set dummy egrep; ac_word=$2
  14462. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  14463. $as_echo_n "checking for $ac_word... " >&6; }
  14464. if ${ac_cv_path_ac_pt_DX_EGREP+:} false; then :
  14465. $as_echo_n "(cached) " >&6
  14466. else
  14467. case $ac_pt_DX_EGREP in
  14468. [\\/]* | ?:[\\/]*)
  14469. ac_cv_path_ac_pt_DX_EGREP="$ac_pt_DX_EGREP" # Let the user override the test with a path.
  14470. ;;
  14471. *)
  14472. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  14473. for as_dir in $PATH
  14474. do
  14475. IFS=$as_save_IFS
  14476. test -z "$as_dir" && as_dir=.
  14477. for ac_exec_ext in '' $ac_executable_extensions; do
  14478. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  14479. ac_cv_path_ac_pt_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
  14480. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  14481. break 2
  14482. fi
  14483. done
  14484. done
  14485. IFS=$as_save_IFS
  14486. ;;
  14487. esac
  14488. fi
  14489. ac_pt_DX_EGREP=$ac_cv_path_ac_pt_DX_EGREP
  14490. if test -n "$ac_pt_DX_EGREP"; then
  14491. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_EGREP" >&5
  14492. $as_echo "$ac_pt_DX_EGREP" >&6; }
  14493. else
  14494. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  14495. $as_echo "no" >&6; }
  14496. fi
  14497. if test "x$ac_pt_DX_EGREP" = x; then
  14498. DX_EGREP=""
  14499. else
  14500. case $cross_compiling:$ac_tool_warned in
  14501. yes:)
  14502. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  14503. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  14504. ac_tool_warned=yes ;;
  14505. esac
  14506. DX_EGREP=$ac_pt_DX_EGREP
  14507. fi
  14508. else
  14509. DX_EGREP="$ac_cv_path_DX_EGREP"
  14510. fi
  14511. if test "$DX_FLAG_ps$DX_EGREP" = 1; then
  14512. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: egrep not found - will not generate doxygen PostScript documentation" >&5
  14513. $as_echo "$as_me: WARNING: egrep not found - will not generate doxygen PostScript documentation" >&2;}
  14514. DX_FLAG_ps=0
  14515. fi
  14516. :
  14517. fi
  14518. if test "$DX_FLAG_ps" = 1; then
  14519. DX_COND_ps_TRUE=
  14520. DX_COND_ps_FALSE='#'
  14521. else
  14522. DX_COND_ps_TRUE='#'
  14523. DX_COND_ps_FALSE=
  14524. fi
  14525. if test "$DX_FLAG_ps" = 1; then
  14526. :
  14527. else
  14528. :
  14529. fi
  14530. # PDF file generation:
  14531. # Check whether --enable-doxygen-pdf was given.
  14532. if test "${enable_doxygen_pdf+set}" = set; then :
  14533. enableval=$enable_doxygen_pdf;
  14534. case "$enableval" in
  14535. #(
  14536. y|Y|yes|Yes|YES)
  14537. DX_FLAG_pdf=1
  14538. test "$DX_FLAG_doc" = "1" \
  14539. || as_fn_error $? "doxygen-pdf requires doxygen-pdf" "$LINENO" 5
  14540. ;; #(
  14541. n|N|no|No|NO)
  14542. DX_FLAG_pdf=0
  14543. ;; #(
  14544. *)
  14545. as_fn_error $? "invalid value '$enableval' given to doxygen-pdf" "$LINENO" 5
  14546. ;;
  14547. esac
  14548. else
  14549. DX_FLAG_pdf=0
  14550. test "$DX_FLAG_doc" = "1" || DX_FLAG_pdf=0
  14551. fi
  14552. if test "$DX_FLAG_pdf" = 1; then
  14553. if test -n "$ac_tool_prefix"; then
  14554. # Extract the first word of "${ac_tool_prefix}pdflatex", so it can be a program name with args.
  14555. set dummy ${ac_tool_prefix}pdflatex; ac_word=$2
  14556. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  14557. $as_echo_n "checking for $ac_word... " >&6; }
  14558. if ${ac_cv_path_DX_PDFLATEX+:} false; then :
  14559. $as_echo_n "(cached) " >&6
  14560. else
  14561. case $DX_PDFLATEX in
  14562. [\\/]* | ?:[\\/]*)
  14563. ac_cv_path_DX_PDFLATEX="$DX_PDFLATEX" # Let the user override the test with a path.
  14564. ;;
  14565. *)
  14566. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  14567. for as_dir in $PATH
  14568. do
  14569. IFS=$as_save_IFS
  14570. test -z "$as_dir" && as_dir=.
  14571. for ac_exec_ext in '' $ac_executable_extensions; do
  14572. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  14573. ac_cv_path_DX_PDFLATEX="$as_dir/$ac_word$ac_exec_ext"
  14574. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  14575. break 2
  14576. fi
  14577. done
  14578. done
  14579. IFS=$as_save_IFS
  14580. ;;
  14581. esac
  14582. fi
  14583. DX_PDFLATEX=$ac_cv_path_DX_PDFLATEX
  14584. if test -n "$DX_PDFLATEX"; then
  14585. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_PDFLATEX" >&5
  14586. $as_echo "$DX_PDFLATEX" >&6; }
  14587. else
  14588. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  14589. $as_echo "no" >&6; }
  14590. fi
  14591. fi
  14592. if test -z "$ac_cv_path_DX_PDFLATEX"; then
  14593. ac_pt_DX_PDFLATEX=$DX_PDFLATEX
  14594. # Extract the first word of "pdflatex", so it can be a program name with args.
  14595. set dummy pdflatex; ac_word=$2
  14596. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  14597. $as_echo_n "checking for $ac_word... " >&6; }
  14598. if ${ac_cv_path_ac_pt_DX_PDFLATEX+:} false; then :
  14599. $as_echo_n "(cached) " >&6
  14600. else
  14601. case $ac_pt_DX_PDFLATEX in
  14602. [\\/]* | ?:[\\/]*)
  14603. ac_cv_path_ac_pt_DX_PDFLATEX="$ac_pt_DX_PDFLATEX" # Let the user override the test with a path.
  14604. ;;
  14605. *)
  14606. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  14607. for as_dir in $PATH
  14608. do
  14609. IFS=$as_save_IFS
  14610. test -z "$as_dir" && as_dir=.
  14611. for ac_exec_ext in '' $ac_executable_extensions; do
  14612. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  14613. ac_cv_path_ac_pt_DX_PDFLATEX="$as_dir/$ac_word$ac_exec_ext"
  14614. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  14615. break 2
  14616. fi
  14617. done
  14618. done
  14619. IFS=$as_save_IFS
  14620. ;;
  14621. esac
  14622. fi
  14623. ac_pt_DX_PDFLATEX=$ac_cv_path_ac_pt_DX_PDFLATEX
  14624. if test -n "$ac_pt_DX_PDFLATEX"; then
  14625. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_PDFLATEX" >&5
  14626. $as_echo "$ac_pt_DX_PDFLATEX" >&6; }
  14627. else
  14628. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  14629. $as_echo "no" >&6; }
  14630. fi
  14631. if test "x$ac_pt_DX_PDFLATEX" = x; then
  14632. DX_PDFLATEX=""
  14633. else
  14634. case $cross_compiling:$ac_tool_warned in
  14635. yes:)
  14636. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  14637. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  14638. ac_tool_warned=yes ;;
  14639. esac
  14640. DX_PDFLATEX=$ac_pt_DX_PDFLATEX
  14641. fi
  14642. else
  14643. DX_PDFLATEX="$ac_cv_path_DX_PDFLATEX"
  14644. fi
  14645. if test "$DX_FLAG_pdf$DX_PDFLATEX" = 1; then
  14646. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pdflatex not found - will not generate doxygen PDF documentation" >&5
  14647. $as_echo "$as_me: WARNING: pdflatex not found - will not generate doxygen PDF documentation" >&2;}
  14648. DX_FLAG_pdf=0
  14649. fi
  14650. if test -n "$ac_tool_prefix"; then
  14651. # Extract the first word of "${ac_tool_prefix}makeindex", so it can be a program name with args.
  14652. set dummy ${ac_tool_prefix}makeindex; ac_word=$2
  14653. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  14654. $as_echo_n "checking for $ac_word... " >&6; }
  14655. if ${ac_cv_path_DX_MAKEINDEX+:} false; then :
  14656. $as_echo_n "(cached) " >&6
  14657. else
  14658. case $DX_MAKEINDEX in
  14659. [\\/]* | ?:[\\/]*)
  14660. ac_cv_path_DX_MAKEINDEX="$DX_MAKEINDEX" # Let the user override the test with a path.
  14661. ;;
  14662. *)
  14663. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  14664. for as_dir in $PATH
  14665. do
  14666. IFS=$as_save_IFS
  14667. test -z "$as_dir" && as_dir=.
  14668. for ac_exec_ext in '' $ac_executable_extensions; do
  14669. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  14670. ac_cv_path_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
  14671. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  14672. break 2
  14673. fi
  14674. done
  14675. done
  14676. IFS=$as_save_IFS
  14677. ;;
  14678. esac
  14679. fi
  14680. DX_MAKEINDEX=$ac_cv_path_DX_MAKEINDEX
  14681. if test -n "$DX_MAKEINDEX"; then
  14682. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_MAKEINDEX" >&5
  14683. $as_echo "$DX_MAKEINDEX" >&6; }
  14684. else
  14685. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  14686. $as_echo "no" >&6; }
  14687. fi
  14688. fi
  14689. if test -z "$ac_cv_path_DX_MAKEINDEX"; then
  14690. ac_pt_DX_MAKEINDEX=$DX_MAKEINDEX
  14691. # Extract the first word of "makeindex", so it can be a program name with args.
  14692. set dummy makeindex; ac_word=$2
  14693. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  14694. $as_echo_n "checking for $ac_word... " >&6; }
  14695. if ${ac_cv_path_ac_pt_DX_MAKEINDEX+:} false; then :
  14696. $as_echo_n "(cached) " >&6
  14697. else
  14698. case $ac_pt_DX_MAKEINDEX in
  14699. [\\/]* | ?:[\\/]*)
  14700. ac_cv_path_ac_pt_DX_MAKEINDEX="$ac_pt_DX_MAKEINDEX" # Let the user override the test with a path.
  14701. ;;
  14702. *)
  14703. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  14704. for as_dir in $PATH
  14705. do
  14706. IFS=$as_save_IFS
  14707. test -z "$as_dir" && as_dir=.
  14708. for ac_exec_ext in '' $ac_executable_extensions; do
  14709. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  14710. ac_cv_path_ac_pt_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
  14711. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  14712. break 2
  14713. fi
  14714. done
  14715. done
  14716. IFS=$as_save_IFS
  14717. ;;
  14718. esac
  14719. fi
  14720. ac_pt_DX_MAKEINDEX=$ac_cv_path_ac_pt_DX_MAKEINDEX
  14721. if test -n "$ac_pt_DX_MAKEINDEX"; then
  14722. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_MAKEINDEX" >&5
  14723. $as_echo "$ac_pt_DX_MAKEINDEX" >&6; }
  14724. else
  14725. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  14726. $as_echo "no" >&6; }
  14727. fi
  14728. if test "x$ac_pt_DX_MAKEINDEX" = x; then
  14729. DX_MAKEINDEX=""
  14730. else
  14731. case $cross_compiling:$ac_tool_warned in
  14732. yes:)
  14733. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  14734. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  14735. ac_tool_warned=yes ;;
  14736. esac
  14737. DX_MAKEINDEX=$ac_pt_DX_MAKEINDEX
  14738. fi
  14739. else
  14740. DX_MAKEINDEX="$ac_cv_path_DX_MAKEINDEX"
  14741. fi
  14742. if test "$DX_FLAG_pdf$DX_MAKEINDEX" = 1; then
  14743. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: makeindex not found - will not generate doxygen PDF documentation" >&5
  14744. $as_echo "$as_me: WARNING: makeindex not found - will not generate doxygen PDF documentation" >&2;}
  14745. DX_FLAG_pdf=0
  14746. fi
  14747. if test -n "$ac_tool_prefix"; then
  14748. # Extract the first word of "${ac_tool_prefix}egrep", so it can be a program name with args.
  14749. set dummy ${ac_tool_prefix}egrep; ac_word=$2
  14750. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  14751. $as_echo_n "checking for $ac_word... " >&6; }
  14752. if ${ac_cv_path_DX_EGREP+:} false; then :
  14753. $as_echo_n "(cached) " >&6
  14754. else
  14755. case $DX_EGREP in
  14756. [\\/]* | ?:[\\/]*)
  14757. ac_cv_path_DX_EGREP="$DX_EGREP" # Let the user override the test with a path.
  14758. ;;
  14759. *)
  14760. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  14761. for as_dir in $PATH
  14762. do
  14763. IFS=$as_save_IFS
  14764. test -z "$as_dir" && as_dir=.
  14765. for ac_exec_ext in '' $ac_executable_extensions; do
  14766. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  14767. ac_cv_path_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
  14768. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  14769. break 2
  14770. fi
  14771. done
  14772. done
  14773. IFS=$as_save_IFS
  14774. ;;
  14775. esac
  14776. fi
  14777. DX_EGREP=$ac_cv_path_DX_EGREP
  14778. if test -n "$DX_EGREP"; then
  14779. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_EGREP" >&5
  14780. $as_echo "$DX_EGREP" >&6; }
  14781. else
  14782. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  14783. $as_echo "no" >&6; }
  14784. fi
  14785. fi
  14786. if test -z "$ac_cv_path_DX_EGREP"; then
  14787. ac_pt_DX_EGREP=$DX_EGREP
  14788. # Extract the first word of "egrep", so it can be a program name with args.
  14789. set dummy egrep; ac_word=$2
  14790. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  14791. $as_echo_n "checking for $ac_word... " >&6; }
  14792. if ${ac_cv_path_ac_pt_DX_EGREP+:} false; then :
  14793. $as_echo_n "(cached) " >&6
  14794. else
  14795. case $ac_pt_DX_EGREP in
  14796. [\\/]* | ?:[\\/]*)
  14797. ac_cv_path_ac_pt_DX_EGREP="$ac_pt_DX_EGREP" # Let the user override the test with a path.
  14798. ;;
  14799. *)
  14800. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  14801. for as_dir in $PATH
  14802. do
  14803. IFS=$as_save_IFS
  14804. test -z "$as_dir" && as_dir=.
  14805. for ac_exec_ext in '' $ac_executable_extensions; do
  14806. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  14807. ac_cv_path_ac_pt_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
  14808. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  14809. break 2
  14810. fi
  14811. done
  14812. done
  14813. IFS=$as_save_IFS
  14814. ;;
  14815. esac
  14816. fi
  14817. ac_pt_DX_EGREP=$ac_cv_path_ac_pt_DX_EGREP
  14818. if test -n "$ac_pt_DX_EGREP"; then
  14819. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_EGREP" >&5
  14820. $as_echo "$ac_pt_DX_EGREP" >&6; }
  14821. else
  14822. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  14823. $as_echo "no" >&6; }
  14824. fi
  14825. if test "x$ac_pt_DX_EGREP" = x; then
  14826. DX_EGREP=""
  14827. else
  14828. case $cross_compiling:$ac_tool_warned in
  14829. yes:)
  14830. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  14831. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  14832. ac_tool_warned=yes ;;
  14833. esac
  14834. DX_EGREP=$ac_pt_DX_EGREP
  14835. fi
  14836. else
  14837. DX_EGREP="$ac_cv_path_DX_EGREP"
  14838. fi
  14839. if test "$DX_FLAG_pdf$DX_EGREP" = 1; then
  14840. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: egrep not found - will not generate doxygen PDF documentation" >&5
  14841. $as_echo "$as_me: WARNING: egrep not found - will not generate doxygen PDF documentation" >&2;}
  14842. DX_FLAG_pdf=0
  14843. fi
  14844. :
  14845. fi
  14846. if test "$DX_FLAG_pdf" = 1; then
  14847. DX_COND_pdf_TRUE=
  14848. DX_COND_pdf_FALSE='#'
  14849. else
  14850. DX_COND_pdf_TRUE='#'
  14851. DX_COND_pdf_FALSE=
  14852. fi
  14853. if test "$DX_FLAG_pdf" = 1; then
  14854. :
  14855. else
  14856. :
  14857. fi
  14858. # LaTeX generation for PS and/or PDF:
  14859. if test "$DX_FLAG_ps" = 1 || test "$DX_FLAG_pdf" = 1; then
  14860. DX_COND_latex_TRUE=
  14861. DX_COND_latex_FALSE='#'
  14862. else
  14863. DX_COND_latex_TRUE='#'
  14864. DX_COND_latex_FALSE=
  14865. fi
  14866. if test "$DX_FLAG_ps" = 1 || test "$DX_FLAG_pdf" = 1; then
  14867. DX_ENV="$DX_ENV GENERATE_LATEX='YES'"
  14868. else
  14869. DX_ENV="$DX_ENV GENERATE_LATEX='NO'"
  14870. fi
  14871. # Paper size for PS and/or PDF:
  14872. case "$DOXYGEN_PAPER_SIZE" in
  14873. #(
  14874. "")
  14875. DOXYGEN_PAPER_SIZE=""
  14876. ;; #(
  14877. a4wide|a4|letter|legal|executive)
  14878. DX_ENV="$DX_ENV PAPER_SIZE='$DOXYGEN_PAPER_SIZE'"
  14879. ;; #(
  14880. *)
  14881. as_fn_error $? "unknown DOXYGEN_PAPER_SIZE='$DOXYGEN_PAPER_SIZE'" "$LINENO" 5
  14882. ;;
  14883. esac
  14884. #For debugging:
  14885. #echo DX_FLAG_doc=$DX_FLAG_doc
  14886. #echo DX_FLAG_dot=$DX_FLAG_dot
  14887. #echo DX_FLAG_man=$DX_FLAG_man
  14888. #echo DX_FLAG_html=$DX_FLAG_html
  14889. #echo DX_FLAG_chm=$DX_FLAG_chm
  14890. #echo DX_FLAG_chi=$DX_FLAG_chi
  14891. #echo DX_FLAG_rtf=$DX_FLAG_rtf
  14892. #echo DX_FLAG_xml=$DX_FLAG_xml
  14893. #echo DX_FLAG_pdf=$DX_FLAG_pdf
  14894. #echo DX_FLAG_ps=$DX_FLAG_ps
  14895. #echo DX_ENV=$DX_ENV
  14896. if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
  14897. if test -n "$ac_tool_prefix"; then
  14898. # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
  14899. set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
  14900. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  14901. $as_echo_n "checking for $ac_word... " >&6; }
  14902. if ${ac_cv_path_PKG_CONFIG+:} false; then :
  14903. $as_echo_n "(cached) " >&6
  14904. else
  14905. case $PKG_CONFIG in
  14906. [\\/]* | ?:[\\/]*)
  14907. ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
  14908. ;;
  14909. *)
  14910. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  14911. for as_dir in $PATH
  14912. do
  14913. IFS=$as_save_IFS
  14914. test -z "$as_dir" && as_dir=.
  14915. for ac_exec_ext in '' $ac_executable_extensions; do
  14916. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  14917. ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
  14918. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  14919. break 2
  14920. fi
  14921. done
  14922. done
  14923. IFS=$as_save_IFS
  14924. ;;
  14925. esac
  14926. fi
  14927. PKG_CONFIG=$ac_cv_path_PKG_CONFIG
  14928. if test -n "$PKG_CONFIG"; then
  14929. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
  14930. $as_echo "$PKG_CONFIG" >&6; }
  14931. else
  14932. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  14933. $as_echo "no" >&6; }
  14934. fi
  14935. fi
  14936. if test -z "$ac_cv_path_PKG_CONFIG"; then
  14937. ac_pt_PKG_CONFIG=$PKG_CONFIG
  14938. # Extract the first word of "pkg-config", so it can be a program name with args.
  14939. set dummy pkg-config; ac_word=$2
  14940. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  14941. $as_echo_n "checking for $ac_word... " >&6; }
  14942. if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
  14943. $as_echo_n "(cached) " >&6
  14944. else
  14945. case $ac_pt_PKG_CONFIG in
  14946. [\\/]* | ?:[\\/]*)
  14947. ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
  14948. ;;
  14949. *)
  14950. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  14951. for as_dir in $PATH
  14952. do
  14953. IFS=$as_save_IFS
  14954. test -z "$as_dir" && as_dir=.
  14955. for ac_exec_ext in '' $ac_executable_extensions; do
  14956. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  14957. ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
  14958. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  14959. break 2
  14960. fi
  14961. done
  14962. done
  14963. IFS=$as_save_IFS
  14964. ;;
  14965. esac
  14966. fi
  14967. ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
  14968. if test -n "$ac_pt_PKG_CONFIG"; then
  14969. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
  14970. $as_echo "$ac_pt_PKG_CONFIG" >&6; }
  14971. else
  14972. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  14973. $as_echo "no" >&6; }
  14974. fi
  14975. if test "x$ac_pt_PKG_CONFIG" = x; then
  14976. PKG_CONFIG=""
  14977. else
  14978. case $cross_compiling:$ac_tool_warned in
  14979. yes:)
  14980. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  14981. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  14982. ac_tool_warned=yes ;;
  14983. esac
  14984. PKG_CONFIG=$ac_pt_PKG_CONFIG
  14985. fi
  14986. else
  14987. PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
  14988. fi
  14989. fi
  14990. if test -n "$PKG_CONFIG"; then
  14991. _pkg_min_version=0.9.0
  14992. { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
  14993. $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
  14994. if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
  14995. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  14996. $as_echo "yes" >&6; }
  14997. else
  14998. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  14999. $as_echo "no" >&6; }
  15000. PKG_CONFIG=""
  15001. fi
  15002. fi
  15003. pkg_failed=no
  15004. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ZLIB" >&5
  15005. $as_echo_n "checking for ZLIB... " >&6; }
  15006. if test -n "$ZLIB_CFLAGS"; then
  15007. pkg_cv_ZLIB_CFLAGS="$ZLIB_CFLAGS"
  15008. elif test -n "$PKG_CONFIG"; then
  15009. if test -n "$PKG_CONFIG" && \
  15010. { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"zlib >= 1.2.3\""; } >&5
  15011. ($PKG_CONFIG --exists --print-errors "zlib >= 1.2.3") 2>&5
  15012. ac_status=$?
  15013. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  15014. test $ac_status = 0; }; then
  15015. pkg_cv_ZLIB_CFLAGS=`$PKG_CONFIG --cflags "zlib >= 1.2.3" 2>/dev/null`
  15016. test "x$?" != "x0" && pkg_failed=yes
  15017. else
  15018. pkg_failed=yes
  15019. fi
  15020. else
  15021. pkg_failed=untried
  15022. fi
  15023. if test -n "$ZLIB_LIBS"; then
  15024. pkg_cv_ZLIB_LIBS="$ZLIB_LIBS"
  15025. elif test -n "$PKG_CONFIG"; then
  15026. if test -n "$PKG_CONFIG" && \
  15027. { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"zlib >= 1.2.3\""; } >&5
  15028. ($PKG_CONFIG --exists --print-errors "zlib >= 1.2.3") 2>&5
  15029. ac_status=$?
  15030. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  15031. test $ac_status = 0; }; then
  15032. pkg_cv_ZLIB_LIBS=`$PKG_CONFIG --libs "zlib >= 1.2.3" 2>/dev/null`
  15033. test "x$?" != "x0" && pkg_failed=yes
  15034. else
  15035. pkg_failed=yes
  15036. fi
  15037. else
  15038. pkg_failed=untried
  15039. fi
  15040. if test $pkg_failed = yes; then
  15041. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  15042. $as_echo "no" >&6; }
  15043. if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  15044. _pkg_short_errors_supported=yes
  15045. else
  15046. _pkg_short_errors_supported=no
  15047. fi
  15048. if test $_pkg_short_errors_supported = yes; then
  15049. ZLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "zlib >= 1.2.3" 2>&1`
  15050. else
  15051. ZLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "zlib >= 1.2.3" 2>&1`
  15052. fi
  15053. # Put the nasty error message in config.log where it belongs
  15054. echo "$ZLIB_PKG_ERRORS" >&5
  15055. as_fn_error $? "zlib 1.2.3 or newer not found." "$LINENO" 5
  15056. elif test $pkg_failed = untried; then
  15057. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  15058. $as_echo "no" >&6; }
  15059. as_fn_error $? "zlib 1.2.3 or newer not found." "$LINENO" 5
  15060. else
  15061. ZLIB_CFLAGS=$pkg_cv_ZLIB_CFLAGS
  15062. ZLIB_LIBS=$pkg_cv_ZLIB_LIBS
  15063. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  15064. $as_echo "yes" >&6; }
  15065. fi
  15066. cat >confcache <<\_ACEOF
  15067. # This file is a shell script that caches the results of configure
  15068. # tests run on this system so they can be shared between configure
  15069. # scripts and configure runs, see configure's option --config-cache.
  15070. # It is not useful on other systems. If it contains results you don't
  15071. # want to keep, you may remove or edit it.
  15072. #
  15073. # config.status only pays attention to the cache file if you give it
  15074. # the --recheck option to rerun configure.
  15075. #
  15076. # `ac_cv_env_foo' variables (set or unset) will be overridden when
  15077. # loading this file, other *unset* `ac_cv_foo' will be assigned the
  15078. # following values.
  15079. _ACEOF
  15080. # The following way of writing the cache mishandles newlines in values,
  15081. # but we know of no workaround that is simple, portable, and efficient.
  15082. # So, we kill variables containing newlines.
  15083. # Ultrix sh set writes to stderr and can't be redirected directly,
  15084. # and sets the high bit in the cache file unless we assign to the vars.
  15085. (
  15086. for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
  15087. eval ac_val=\$$ac_var
  15088. case $ac_val in #(
  15089. *${as_nl}*)
  15090. case $ac_var in #(
  15091. *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  15092. $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  15093. esac
  15094. case $ac_var in #(
  15095. _ | IFS | as_nl) ;; #(
  15096. BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  15097. *) { eval $ac_var=; unset $ac_var;} ;;
  15098. esac ;;
  15099. esac
  15100. done
  15101. (set) 2>&1 |
  15102. case $as_nl`(ac_space=' '; set) 2>&1` in #(
  15103. *${as_nl}ac_space=\ *)
  15104. # `set' does not quote correctly, so add quotes: double-quote
  15105. # substitution turns \\\\ into \\, and sed turns \\ into \.
  15106. sed -n \
  15107. "s/'/'\\\\''/g;
  15108. s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
  15109. ;; #(
  15110. *)
  15111. # `set' quotes correctly as required by POSIX, so do not add quotes.
  15112. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  15113. ;;
  15114. esac |
  15115. sort
  15116. ) |
  15117. sed '
  15118. /^ac_cv_env_/b end
  15119. t clear
  15120. :clear
  15121. s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
  15122. t end
  15123. s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
  15124. :end' >>confcache
  15125. if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
  15126. if test -w "$cache_file"; then
  15127. if test "x$cache_file" != "x/dev/null"; then
  15128. { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
  15129. $as_echo "$as_me: updating cache $cache_file" >&6;}
  15130. if test ! -f "$cache_file" || test -h "$cache_file"; then
  15131. cat confcache >"$cache_file"
  15132. else
  15133. case $cache_file in #(
  15134. */* | ?:*)
  15135. mv -f confcache "$cache_file"$$ &&
  15136. mv -f "$cache_file"$$ "$cache_file" ;; #(
  15137. *)
  15138. mv -f confcache "$cache_file" ;;
  15139. esac
  15140. fi
  15141. fi
  15142. else
  15143. { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
  15144. $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
  15145. fi
  15146. fi
  15147. rm -f confcache
  15148. test "x$prefix" = xNONE && prefix=$ac_default_prefix
  15149. # Let make expand exec_prefix.
  15150. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
  15151. DEFS=-DHAVE_CONFIG_H
  15152. ac_libobjs=
  15153. ac_ltlibobjs=
  15154. U=
  15155. for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
  15156. # 1. Remove the extension, and $U if already installed.
  15157. ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
  15158. ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
  15159. # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
  15160. # will be set to the directory where LIBOBJS objects are built.
  15161. as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
  15162. as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
  15163. done
  15164. LIBOBJS=$ac_libobjs
  15165. LTLIBOBJS=$ac_ltlibobjs
  15166. { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
  15167. $as_echo_n "checking that generated files are newer than configure... " >&6; }
  15168. if test -n "$am_sleep_pid"; then
  15169. # Hide warnings about reused PIDs.
  15170. wait $am_sleep_pid 2>/dev/null
  15171. fi
  15172. { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
  15173. $as_echo "done" >&6; }
  15174. if test -n "$EXEEXT"; then
  15175. am__EXEEXT_TRUE=
  15176. am__EXEEXT_FALSE='#'
  15177. else
  15178. am__EXEEXT_TRUE='#'
  15179. am__EXEEXT_FALSE=
  15180. fi
  15181. if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
  15182. as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
  15183. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  15184. fi
  15185. if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
  15186. as_fn_error $? "conditional \"AMDEP\" was never defined.
  15187. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  15188. fi
  15189. if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
  15190. as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
  15191. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  15192. fi
  15193. if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
  15194. as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
  15195. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  15196. fi
  15197. if test -z "${HAVE_GNU_STRERROR_TRUE}" && test -z "${HAVE_GNU_STRERROR_FALSE}"; then
  15198. as_fn_error $? "conditional \"HAVE_GNU_STRERROR\" was never defined.
  15199. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  15200. fi
  15201. if test -z "${HAVE_PREAD_TRUE}" && test -z "${HAVE_PREAD_FALSE}"; then
  15202. as_fn_error $? "conditional \"HAVE_PREAD\" was never defined.
  15203. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  15204. fi
  15205. if test -z "${HAVE_PWRITE_TRUE}" && test -z "${HAVE_PWRITE_FALSE}"; then
  15206. as_fn_error $? "conditional \"HAVE_PWRITE\" was never defined.
  15207. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  15208. fi
  15209. if test -z "${HAVE_UTIMES_TRUE}" && test -z "${HAVE_UTIMES_FALSE}"; then
  15210. as_fn_error $? "conditional \"HAVE_UTIMES\" was never defined.
  15211. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  15212. fi
  15213. if test -z "${DX_COND_doc_TRUE}" && test -z "${DX_COND_doc_FALSE}"; then
  15214. as_fn_error $? "conditional \"DX_COND_doc\" was never defined.
  15215. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  15216. fi
  15217. if test -z "${DX_COND_dot_TRUE}" && test -z "${DX_COND_dot_FALSE}"; then
  15218. as_fn_error $? "conditional \"DX_COND_dot\" was never defined.
  15219. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  15220. fi
  15221. if test -z "${DX_COND_man_TRUE}" && test -z "${DX_COND_man_FALSE}"; then
  15222. as_fn_error $? "conditional \"DX_COND_man\" was never defined.
  15223. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  15224. fi
  15225. if test -z "${DX_COND_rtf_TRUE}" && test -z "${DX_COND_rtf_FALSE}"; then
  15226. as_fn_error $? "conditional \"DX_COND_rtf\" was never defined.
  15227. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  15228. fi
  15229. if test -z "${DX_COND_xml_TRUE}" && test -z "${DX_COND_xml_FALSE}"; then
  15230. as_fn_error $? "conditional \"DX_COND_xml\" was never defined.
  15231. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  15232. fi
  15233. if test -z "${DX_COND_chm_TRUE}" && test -z "${DX_COND_chm_FALSE}"; then
  15234. as_fn_error $? "conditional \"DX_COND_chm\" was never defined.
  15235. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  15236. fi
  15237. if test -z "${DX_COND_chi_TRUE}" && test -z "${DX_COND_chi_FALSE}"; then
  15238. as_fn_error $? "conditional \"DX_COND_chi\" was never defined.
  15239. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  15240. fi
  15241. if test -z "${DX_COND_html_TRUE}" && test -z "${DX_COND_html_FALSE}"; then
  15242. as_fn_error $? "conditional \"DX_COND_html\" was never defined.
  15243. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  15244. fi
  15245. if test -z "${DX_COND_ps_TRUE}" && test -z "${DX_COND_ps_FALSE}"; then
  15246. as_fn_error $? "conditional \"DX_COND_ps\" was never defined.
  15247. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  15248. fi
  15249. if test -z "${DX_COND_pdf_TRUE}" && test -z "${DX_COND_pdf_FALSE}"; then
  15250. as_fn_error $? "conditional \"DX_COND_pdf\" was never defined.
  15251. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  15252. fi
  15253. if test -z "${DX_COND_latex_TRUE}" && test -z "${DX_COND_latex_FALSE}"; then
  15254. as_fn_error $? "conditional \"DX_COND_latex\" was never defined.
  15255. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  15256. fi
  15257. : "${CONFIG_STATUS=./config.status}"
  15258. ac_write_fail=0
  15259. ac_clean_files_save=$ac_clean_files
  15260. ac_clean_files="$ac_clean_files $CONFIG_STATUS"
  15261. { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
  15262. $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
  15263. as_write_fail=0
  15264. cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
  15265. #! $SHELL
  15266. # Generated by $as_me.
  15267. # Run this file to recreate the current configuration.
  15268. # Compiler output produced by configure, useful for debugging
  15269. # configure, is in config.log if it exists.
  15270. debug=false
  15271. ac_cs_recheck=false
  15272. ac_cs_silent=false
  15273. SHELL=\${CONFIG_SHELL-$SHELL}
  15274. export SHELL
  15275. _ASEOF
  15276. cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
  15277. ## -------------------- ##
  15278. ## M4sh Initialization. ##
  15279. ## -------------------- ##
  15280. # Be more Bourne compatible
  15281. DUALCASE=1; export DUALCASE # for MKS sh
  15282. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  15283. emulate sh
  15284. NULLCMD=:
  15285. # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  15286. # is contrary to our usage. Disable this feature.
  15287. alias -g '${1+"$@"}'='"$@"'
  15288. setopt NO_GLOB_SUBST
  15289. else
  15290. case `(set -o) 2>/dev/null` in #(
  15291. *posix*) :
  15292. set -o posix ;; #(
  15293. *) :
  15294. ;;
  15295. esac
  15296. fi
  15297. as_nl='
  15298. '
  15299. export as_nl
  15300. # Printing a long string crashes Solaris 7 /usr/bin/printf.
  15301. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  15302. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  15303. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  15304. # Prefer a ksh shell builtin over an external printf program on Solaris,
  15305. # but without wasting forks for bash or zsh.
  15306. if test -z "$BASH_VERSION$ZSH_VERSION" \
  15307. && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
  15308. as_echo='print -r --'
  15309. as_echo_n='print -rn --'
  15310. elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  15311. as_echo='printf %s\n'
  15312. as_echo_n='printf %s'
  15313. else
  15314. if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
  15315. as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
  15316. as_echo_n='/usr/ucb/echo -n'
  15317. else
  15318. as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  15319. as_echo_n_body='eval
  15320. arg=$1;
  15321. case $arg in #(
  15322. *"$as_nl"*)
  15323. expr "X$arg" : "X\\(.*\\)$as_nl";
  15324. arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  15325. esac;
  15326. expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
  15327. '
  15328. export as_echo_n_body
  15329. as_echo_n='sh -c $as_echo_n_body as_echo'
  15330. fi
  15331. export as_echo_body
  15332. as_echo='sh -c $as_echo_body as_echo'
  15333. fi
  15334. # The user is always right.
  15335. if test "${PATH_SEPARATOR+set}" != set; then
  15336. PATH_SEPARATOR=:
  15337. (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  15338. (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  15339. PATH_SEPARATOR=';'
  15340. }
  15341. fi
  15342. # IFS
  15343. # We need space, tab and new line, in precisely that order. Quoting is
  15344. # there to prevent editors from complaining about space-tab.
  15345. # (If _AS_PATH_WALK were called with IFS unset, it would disable word
  15346. # splitting by setting IFS to empty value.)
  15347. IFS=" "" $as_nl"
  15348. # Find who we are. Look in the path if we contain no directory separator.
  15349. as_myself=
  15350. case $0 in #((
  15351. *[\\/]* ) as_myself=$0 ;;
  15352. *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  15353. for as_dir in $PATH
  15354. do
  15355. IFS=$as_save_IFS
  15356. test -z "$as_dir" && as_dir=.
  15357. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  15358. done
  15359. IFS=$as_save_IFS
  15360. ;;
  15361. esac
  15362. # We did not find ourselves, most probably we were run as `sh COMMAND'
  15363. # in which case we are not to be found in the path.
  15364. if test "x$as_myself" = x; then
  15365. as_myself=$0
  15366. fi
  15367. if test ! -f "$as_myself"; then
  15368. $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  15369. exit 1
  15370. fi
  15371. # Unset variables that we do not need and which cause bugs (e.g. in
  15372. # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
  15373. # suppresses any "Segmentation fault" message there. '((' could
  15374. # trigger a bug in pdksh 5.2.14.
  15375. for as_var in BASH_ENV ENV MAIL MAILPATH
  15376. do eval test x\${$as_var+set} = xset \
  15377. && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  15378. done
  15379. PS1='$ '
  15380. PS2='> '
  15381. PS4='+ '
  15382. # NLS nuisances.
  15383. LC_ALL=C
  15384. export LC_ALL
  15385. LANGUAGE=C
  15386. export LANGUAGE
  15387. # CDPATH.
  15388. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  15389. # as_fn_error STATUS ERROR [LINENO LOG_FD]
  15390. # ----------------------------------------
  15391. # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  15392. # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  15393. # script with STATUS, using 1 if that was 0.
  15394. as_fn_error ()
  15395. {
  15396. as_status=$1; test $as_status -eq 0 && as_status=1
  15397. if test "$4"; then
  15398. as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  15399. $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
  15400. fi
  15401. $as_echo "$as_me: error: $2" >&2
  15402. as_fn_exit $as_status
  15403. } # as_fn_error
  15404. # as_fn_set_status STATUS
  15405. # -----------------------
  15406. # Set $? to STATUS, without forking.
  15407. as_fn_set_status ()
  15408. {
  15409. return $1
  15410. } # as_fn_set_status
  15411. # as_fn_exit STATUS
  15412. # -----------------
  15413. # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  15414. as_fn_exit ()
  15415. {
  15416. set +e
  15417. as_fn_set_status $1
  15418. exit $1
  15419. } # as_fn_exit
  15420. # as_fn_unset VAR
  15421. # ---------------
  15422. # Portably unset VAR.
  15423. as_fn_unset ()
  15424. {
  15425. { eval $1=; unset $1;}
  15426. }
  15427. as_unset=as_fn_unset
  15428. # as_fn_append VAR VALUE
  15429. # ----------------------
  15430. # Append the text in VALUE to the end of the definition contained in VAR. Take
  15431. # advantage of any shell optimizations that allow amortized linear growth over
  15432. # repeated appends, instead of the typical quadratic growth present in naive
  15433. # implementations.
  15434. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  15435. eval 'as_fn_append ()
  15436. {
  15437. eval $1+=\$2
  15438. }'
  15439. else
  15440. as_fn_append ()
  15441. {
  15442. eval $1=\$$1\$2
  15443. }
  15444. fi # as_fn_append
  15445. # as_fn_arith ARG...
  15446. # ------------------
  15447. # Perform arithmetic evaluation on the ARGs, and store the result in the
  15448. # global $as_val. Take advantage of shells that can avoid forks. The arguments
  15449. # must be portable across $(()) and expr.
  15450. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  15451. eval 'as_fn_arith ()
  15452. {
  15453. as_val=$(( $* ))
  15454. }'
  15455. else
  15456. as_fn_arith ()
  15457. {
  15458. as_val=`expr "$@" || test $? -eq 1`
  15459. }
  15460. fi # as_fn_arith
  15461. if expr a : '\(a\)' >/dev/null 2>&1 &&
  15462. test "X`expr 00001 : '.*\(...\)'`" = X001; then
  15463. as_expr=expr
  15464. else
  15465. as_expr=false
  15466. fi
  15467. if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  15468. as_basename=basename
  15469. else
  15470. as_basename=false
  15471. fi
  15472. if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  15473. as_dirname=dirname
  15474. else
  15475. as_dirname=false
  15476. fi
  15477. as_me=`$as_basename -- "$0" ||
  15478. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  15479. X"$0" : 'X\(//\)$' \| \
  15480. X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  15481. $as_echo X/"$0" |
  15482. sed '/^.*\/\([^/][^/]*\)\/*$/{
  15483. s//\1/
  15484. q
  15485. }
  15486. /^X\/\(\/\/\)$/{
  15487. s//\1/
  15488. q
  15489. }
  15490. /^X\/\(\/\).*/{
  15491. s//\1/
  15492. q
  15493. }
  15494. s/.*/./; q'`
  15495. # Avoid depending upon Character Ranges.
  15496. as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  15497. as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  15498. as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  15499. as_cr_digits='0123456789'
  15500. as_cr_alnum=$as_cr_Letters$as_cr_digits
  15501. ECHO_C= ECHO_N= ECHO_T=
  15502. case `echo -n x` in #(((((
  15503. -n*)
  15504. case `echo 'xy\c'` in
  15505. *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  15506. xy) ECHO_C='\c';;
  15507. *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
  15508. ECHO_T=' ';;
  15509. esac;;
  15510. *)
  15511. ECHO_N='-n';;
  15512. esac
  15513. rm -f conf$$ conf$$.exe conf$$.file
  15514. if test -d conf$$.dir; then
  15515. rm -f conf$$.dir/conf$$.file
  15516. else
  15517. rm -f conf$$.dir
  15518. mkdir conf$$.dir 2>/dev/null
  15519. fi
  15520. if (echo >conf$$.file) 2>/dev/null; then
  15521. if ln -s conf$$.file conf$$ 2>/dev/null; then
  15522. as_ln_s='ln -s'
  15523. # ... but there are two gotchas:
  15524. # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  15525. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  15526. # In both cases, we have to default to `cp -pR'.
  15527. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  15528. as_ln_s='cp -pR'
  15529. elif ln conf$$.file conf$$ 2>/dev/null; then
  15530. as_ln_s=ln
  15531. else
  15532. as_ln_s='cp -pR'
  15533. fi
  15534. else
  15535. as_ln_s='cp -pR'
  15536. fi
  15537. rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  15538. rmdir conf$$.dir 2>/dev/null
  15539. # as_fn_mkdir_p
  15540. # -------------
  15541. # Create "$as_dir" as a directory, including parents if necessary.
  15542. as_fn_mkdir_p ()
  15543. {
  15544. case $as_dir in #(
  15545. -*) as_dir=./$as_dir;;
  15546. esac
  15547. test -d "$as_dir" || eval $as_mkdir_p || {
  15548. as_dirs=
  15549. while :; do
  15550. case $as_dir in #(
  15551. *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  15552. *) as_qdir=$as_dir;;
  15553. esac
  15554. as_dirs="'$as_qdir' $as_dirs"
  15555. as_dir=`$as_dirname -- "$as_dir" ||
  15556. $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  15557. X"$as_dir" : 'X\(//\)[^/]' \| \
  15558. X"$as_dir" : 'X\(//\)$' \| \
  15559. X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  15560. $as_echo X"$as_dir" |
  15561. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  15562. s//\1/
  15563. q
  15564. }
  15565. /^X\(\/\/\)[^/].*/{
  15566. s//\1/
  15567. q
  15568. }
  15569. /^X\(\/\/\)$/{
  15570. s//\1/
  15571. q
  15572. }
  15573. /^X\(\/\).*/{
  15574. s//\1/
  15575. q
  15576. }
  15577. s/.*/./; q'`
  15578. test -d "$as_dir" && break
  15579. done
  15580. test -z "$as_dirs" || eval "mkdir $as_dirs"
  15581. } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
  15582. } # as_fn_mkdir_p
  15583. if mkdir -p . 2>/dev/null; then
  15584. as_mkdir_p='mkdir -p "$as_dir"'
  15585. else
  15586. test -d ./-p && rmdir ./-p
  15587. as_mkdir_p=false
  15588. fi
  15589. # as_fn_executable_p FILE
  15590. # -----------------------
  15591. # Test if FILE is an executable regular file.
  15592. as_fn_executable_p ()
  15593. {
  15594. test -f "$1" && test -x "$1"
  15595. } # as_fn_executable_p
  15596. as_test_x='test -x'
  15597. as_executable_p=as_fn_executable_p
  15598. # Sed expression to map a string onto a valid CPP name.
  15599. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  15600. # Sed expression to map a string onto a valid variable name.
  15601. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  15602. exec 6>&1
  15603. ## ----------------------------------- ##
  15604. ## Main body of $CONFIG_STATUS script. ##
  15605. ## ----------------------------------- ##
  15606. _ASEOF
  15607. test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
  15608. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  15609. # Save the log message, to keep $0 and so on meaningful, and to
  15610. # report actual input values of CONFIG_FILES etc. instead of their
  15611. # values after options handling.
  15612. ac_log="
  15613. This file was extended by libzipper $as_me 1.0.4, which was
  15614. generated by GNU Autoconf 2.69. Invocation command line was
  15615. CONFIG_FILES = $CONFIG_FILES
  15616. CONFIG_HEADERS = $CONFIG_HEADERS
  15617. CONFIG_LINKS = $CONFIG_LINKS
  15618. CONFIG_COMMANDS = $CONFIG_COMMANDS
  15619. $ $0 $@
  15620. on `(hostname || uname -n) 2>/dev/null | sed 1q`
  15621. "
  15622. _ACEOF
  15623. case $ac_config_files in *"
  15624. "*) set x $ac_config_files; shift; ac_config_files=$*;;
  15625. esac
  15626. case $ac_config_headers in *"
  15627. "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
  15628. esac
  15629. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  15630. # Files that config.status was made for.
  15631. config_files="$ac_config_files"
  15632. config_headers="$ac_config_headers"
  15633. config_commands="$ac_config_commands"
  15634. _ACEOF
  15635. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  15636. ac_cs_usage="\
  15637. \`$as_me' instantiates files and other configuration actions
  15638. from templates according to the current configuration. Unless the files
  15639. and actions are specified as TAGs, all are instantiated by default.
  15640. Usage: $0 [OPTION]... [TAG]...
  15641. -h, --help print this help, then exit
  15642. -V, --version print version number and configuration settings, then exit
  15643. --config print configuration, then exit
  15644. -q, --quiet, --silent
  15645. do not print progress messages
  15646. -d, --debug don't remove temporary files
  15647. --recheck update $as_me by reconfiguring in the same conditions
  15648. --file=FILE[:TEMPLATE]
  15649. instantiate the configuration file FILE
  15650. --header=FILE[:TEMPLATE]
  15651. instantiate the configuration header FILE
  15652. Configuration files:
  15653. $config_files
  15654. Configuration headers:
  15655. $config_headers
  15656. Configuration commands:
  15657. $config_commands
  15658. Report bugs to <michael@codesrc.com>."
  15659. _ACEOF
  15660. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  15661. ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
  15662. ac_cs_version="\\
  15663. libzipper config.status 1.0.4
  15664. configured by $0, generated by GNU Autoconf 2.69,
  15665. with options \\"\$ac_cs_config\\"
  15666. Copyright (C) 2012 Free Software Foundation, Inc.
  15667. This config.status script is free software; the Free Software Foundation
  15668. gives unlimited permission to copy, distribute and modify it."
  15669. ac_pwd='$ac_pwd'
  15670. srcdir='$srcdir'
  15671. INSTALL='$INSTALL'
  15672. MKDIR_P='$MKDIR_P'
  15673. AWK='$AWK'
  15674. test -n "\$AWK" || AWK=awk
  15675. _ACEOF
  15676. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  15677. # The default lists apply if the user does not specify any file.
  15678. ac_need_defaults=:
  15679. while test $# != 0
  15680. do
  15681. case $1 in
  15682. --*=?*)
  15683. ac_option=`expr "X$1" : 'X\([^=]*\)='`
  15684. ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
  15685. ac_shift=:
  15686. ;;
  15687. --*=)
  15688. ac_option=`expr "X$1" : 'X\([^=]*\)='`
  15689. ac_optarg=
  15690. ac_shift=:
  15691. ;;
  15692. *)
  15693. ac_option=$1
  15694. ac_optarg=$2
  15695. ac_shift=shift
  15696. ;;
  15697. esac
  15698. case $ac_option in
  15699. # Handling of the options.
  15700. -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  15701. ac_cs_recheck=: ;;
  15702. --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
  15703. $as_echo "$ac_cs_version"; exit ;;
  15704. --config | --confi | --conf | --con | --co | --c )
  15705. $as_echo "$ac_cs_config"; exit ;;
  15706. --debug | --debu | --deb | --de | --d | -d )
  15707. debug=: ;;
  15708. --file | --fil | --fi | --f )
  15709. $ac_shift
  15710. case $ac_optarg in
  15711. *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  15712. '') as_fn_error $? "missing file argument" ;;
  15713. esac
  15714. as_fn_append CONFIG_FILES " '$ac_optarg'"
  15715. ac_need_defaults=false;;
  15716. --header | --heade | --head | --hea )
  15717. $ac_shift
  15718. case $ac_optarg in
  15719. *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  15720. esac
  15721. as_fn_append CONFIG_HEADERS " '$ac_optarg'"
  15722. ac_need_defaults=false;;
  15723. --he | --h)
  15724. # Conflict between --help and --header
  15725. as_fn_error $? "ambiguous option: \`$1'
  15726. Try \`$0 --help' for more information.";;
  15727. --help | --hel | -h )
  15728. $as_echo "$ac_cs_usage"; exit ;;
  15729. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  15730. | -silent | --silent | --silen | --sile | --sil | --si | --s)
  15731. ac_cs_silent=: ;;
  15732. # This is an error.
  15733. -*) as_fn_error $? "unrecognized option: \`$1'
  15734. Try \`$0 --help' for more information." ;;
  15735. *) as_fn_append ac_config_targets " $1"
  15736. ac_need_defaults=false ;;
  15737. esac
  15738. shift
  15739. done
  15740. ac_configure_extra_args=
  15741. if $ac_cs_silent; then
  15742. exec 6>/dev/null
  15743. ac_configure_extra_args="$ac_configure_extra_args --silent"
  15744. fi
  15745. _ACEOF
  15746. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  15747. if \$ac_cs_recheck; then
  15748. set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
  15749. shift
  15750. \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
  15751. CONFIG_SHELL='$SHELL'
  15752. export CONFIG_SHELL
  15753. exec "\$@"
  15754. fi
  15755. _ACEOF
  15756. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  15757. exec 5>>config.log
  15758. {
  15759. echo
  15760. sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
  15761. ## Running $as_me. ##
  15762. _ASBOX
  15763. $as_echo "$ac_log"
  15764. } >&5
  15765. _ACEOF
  15766. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  15767. #
  15768. # INIT-COMMANDS
  15769. #
  15770. AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
  15771. # The HP-UX ksh and POSIX shell print the target directory to stdout
  15772. # if CDPATH is set.
  15773. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  15774. sed_quote_subst='$sed_quote_subst'
  15775. double_quote_subst='$double_quote_subst'
  15776. delay_variable_subst='$delay_variable_subst'
  15777. macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
  15778. macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
  15779. enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
  15780. enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
  15781. pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
  15782. enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
  15783. SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
  15784. ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
  15785. PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
  15786. host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
  15787. host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
  15788. host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
  15789. build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
  15790. build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
  15791. build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
  15792. SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
  15793. Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
  15794. GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
  15795. EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
  15796. FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
  15797. LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
  15798. NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
  15799. LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
  15800. max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
  15801. ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
  15802. exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
  15803. lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
  15804. lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
  15805. lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
  15806. lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
  15807. lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
  15808. reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
  15809. reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
  15810. OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
  15811. deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
  15812. file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
  15813. file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
  15814. want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
  15815. DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
  15816. sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
  15817. AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
  15818. AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
  15819. archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
  15820. STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
  15821. RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
  15822. old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
  15823. old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
  15824. old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
  15825. lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
  15826. CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
  15827. CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
  15828. compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
  15829. GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
  15830. lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
  15831. lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
  15832. lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
  15833. 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"`'
  15834. nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
  15835. lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
  15836. objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
  15837. MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
  15838. lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
  15839. lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
  15840. lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
  15841. lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
  15842. lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
  15843. need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
  15844. MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
  15845. DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
  15846. NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
  15847. LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
  15848. OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
  15849. OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
  15850. libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
  15851. shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
  15852. extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
  15853. archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
  15854. enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
  15855. export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
  15856. whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
  15857. compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
  15858. old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
  15859. old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
  15860. archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
  15861. archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
  15862. module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
  15863. module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
  15864. with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
  15865. allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
  15866. no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
  15867. hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
  15868. hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
  15869. hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
  15870. hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
  15871. hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
  15872. hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
  15873. hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
  15874. inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
  15875. link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
  15876. always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
  15877. export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
  15878. exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
  15879. include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
  15880. prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
  15881. postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
  15882. file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
  15883. variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
  15884. need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
  15885. need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
  15886. version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
  15887. runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
  15888. shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
  15889. shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
  15890. libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
  15891. library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
  15892. soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
  15893. install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
  15894. postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
  15895. postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
  15896. finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
  15897. finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
  15898. hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
  15899. sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
  15900. sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
  15901. hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
  15902. enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
  15903. enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
  15904. enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
  15905. old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
  15906. striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
  15907. compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
  15908. predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
  15909. postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
  15910. predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
  15911. postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
  15912. compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
  15913. LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
  15914. reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
  15915. reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
  15916. old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
  15917. compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
  15918. GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
  15919. lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
  15920. lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
  15921. lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
  15922. lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
  15923. lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
  15924. archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
  15925. enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
  15926. export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
  15927. whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
  15928. compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
  15929. old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
  15930. old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
  15931. archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
  15932. archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
  15933. module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
  15934. module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
  15935. with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
  15936. allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
  15937. no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
  15938. hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
  15939. hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
  15940. hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
  15941. hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
  15942. hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
  15943. hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
  15944. hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
  15945. inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
  15946. link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
  15947. always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
  15948. export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
  15949. exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
  15950. include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
  15951. prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
  15952. postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
  15953. file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
  15954. hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
  15955. compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
  15956. predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
  15957. postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
  15958. predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
  15959. postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
  15960. compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
  15961. LTCC='$LTCC'
  15962. LTCFLAGS='$LTCFLAGS'
  15963. compiler='$compiler_DEFAULT'
  15964. # A function that is used when there is no print builtin or printf.
  15965. func_fallback_echo ()
  15966. {
  15967. eval 'cat <<_LTECHO_EOF
  15968. \$1
  15969. _LTECHO_EOF'
  15970. }
  15971. # Quote evaled strings.
  15972. for var in SHELL \
  15973. ECHO \
  15974. PATH_SEPARATOR \
  15975. SED \
  15976. GREP \
  15977. EGREP \
  15978. FGREP \
  15979. LD \
  15980. NM \
  15981. LN_S \
  15982. lt_SP2NL \
  15983. lt_NL2SP \
  15984. reload_flag \
  15985. OBJDUMP \
  15986. deplibs_check_method \
  15987. file_magic_cmd \
  15988. file_magic_glob \
  15989. want_nocaseglob \
  15990. DLLTOOL \
  15991. sharedlib_from_linklib_cmd \
  15992. AR \
  15993. AR_FLAGS \
  15994. archiver_list_spec \
  15995. STRIP \
  15996. RANLIB \
  15997. CC \
  15998. CFLAGS \
  15999. compiler \
  16000. lt_cv_sys_global_symbol_pipe \
  16001. lt_cv_sys_global_symbol_to_cdecl \
  16002. lt_cv_sys_global_symbol_to_c_name_address \
  16003. lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
  16004. nm_file_list_spec \
  16005. lt_prog_compiler_no_builtin_flag \
  16006. lt_prog_compiler_pic \
  16007. lt_prog_compiler_wl \
  16008. lt_prog_compiler_static \
  16009. lt_cv_prog_compiler_c_o \
  16010. need_locks \
  16011. MANIFEST_TOOL \
  16012. DSYMUTIL \
  16013. NMEDIT \
  16014. LIPO \
  16015. OTOOL \
  16016. OTOOL64 \
  16017. shrext_cmds \
  16018. export_dynamic_flag_spec \
  16019. whole_archive_flag_spec \
  16020. compiler_needs_object \
  16021. with_gnu_ld \
  16022. allow_undefined_flag \
  16023. no_undefined_flag \
  16024. hardcode_libdir_flag_spec \
  16025. hardcode_libdir_separator \
  16026. exclude_expsyms \
  16027. include_expsyms \
  16028. file_list_spec \
  16029. variables_saved_for_relink \
  16030. libname_spec \
  16031. library_names_spec \
  16032. soname_spec \
  16033. install_override_mode \
  16034. finish_eval \
  16035. old_striplib \
  16036. striplib \
  16037. compiler_lib_search_dirs \
  16038. predep_objects \
  16039. postdep_objects \
  16040. predeps \
  16041. postdeps \
  16042. compiler_lib_search_path \
  16043. LD_CXX \
  16044. reload_flag_CXX \
  16045. compiler_CXX \
  16046. lt_prog_compiler_no_builtin_flag_CXX \
  16047. lt_prog_compiler_pic_CXX \
  16048. lt_prog_compiler_wl_CXX \
  16049. lt_prog_compiler_static_CXX \
  16050. lt_cv_prog_compiler_c_o_CXX \
  16051. export_dynamic_flag_spec_CXX \
  16052. whole_archive_flag_spec_CXX \
  16053. compiler_needs_object_CXX \
  16054. with_gnu_ld_CXX \
  16055. allow_undefined_flag_CXX \
  16056. no_undefined_flag_CXX \
  16057. hardcode_libdir_flag_spec_CXX \
  16058. hardcode_libdir_separator_CXX \
  16059. exclude_expsyms_CXX \
  16060. include_expsyms_CXX \
  16061. file_list_spec_CXX \
  16062. compiler_lib_search_dirs_CXX \
  16063. predep_objects_CXX \
  16064. postdep_objects_CXX \
  16065. predeps_CXX \
  16066. postdeps_CXX \
  16067. compiler_lib_search_path_CXX; do
  16068. case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
  16069. *[\\\\\\\`\\"\\\$]*)
  16070. eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
  16071. ;;
  16072. *)
  16073. eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
  16074. ;;
  16075. esac
  16076. done
  16077. # Double-quote double-evaled strings.
  16078. for var in reload_cmds \
  16079. old_postinstall_cmds \
  16080. old_postuninstall_cmds \
  16081. old_archive_cmds \
  16082. extract_expsyms_cmds \
  16083. old_archive_from_new_cmds \
  16084. old_archive_from_expsyms_cmds \
  16085. archive_cmds \
  16086. archive_expsym_cmds \
  16087. module_cmds \
  16088. module_expsym_cmds \
  16089. export_symbols_cmds \
  16090. prelink_cmds \
  16091. postlink_cmds \
  16092. postinstall_cmds \
  16093. postuninstall_cmds \
  16094. finish_cmds \
  16095. sys_lib_search_path_spec \
  16096. sys_lib_dlsearch_path_spec \
  16097. reload_cmds_CXX \
  16098. old_archive_cmds_CXX \
  16099. old_archive_from_new_cmds_CXX \
  16100. old_archive_from_expsyms_cmds_CXX \
  16101. archive_cmds_CXX \
  16102. archive_expsym_cmds_CXX \
  16103. module_cmds_CXX \
  16104. module_expsym_cmds_CXX \
  16105. export_symbols_cmds_CXX \
  16106. prelink_cmds_CXX \
  16107. postlink_cmds_CXX; do
  16108. case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
  16109. *[\\\\\\\`\\"\\\$]*)
  16110. eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
  16111. ;;
  16112. *)
  16113. eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
  16114. ;;
  16115. esac
  16116. done
  16117. ac_aux_dir='$ac_aux_dir'
  16118. xsi_shell='$xsi_shell'
  16119. lt_shell_append='$lt_shell_append'
  16120. # See if we are running on zsh, and set the options which allow our
  16121. # commands through without removal of \ escapes INIT.
  16122. if test -n "\${ZSH_VERSION+set}" ; then
  16123. setopt NO_GLOB_SUBST
  16124. fi
  16125. PACKAGE='$PACKAGE'
  16126. VERSION='$VERSION'
  16127. TIMESTAMP='$TIMESTAMP'
  16128. RM='$RM'
  16129. ofile='$ofile'
  16130. _ACEOF
  16131. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  16132. # Handling of arguments.
  16133. for ac_config_target in $ac_config_targets
  16134. do
  16135. case $ac_config_target in
  16136. "autoconfig.h") CONFIG_HEADERS="$CONFIG_HEADERS autoconfig.h" ;;
  16137. "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
  16138. "Doxyfile") CONFIG_FILES="$CONFIG_FILES Doxyfile" ;;
  16139. "libzipper1.pc") CONFIG_FILES="$CONFIG_FILES libzipper1.pc" ;;
  16140. "zipper.1") CONFIG_FILES="$CONFIG_FILES zipper.1" ;;
  16141. "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
  16142. "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
  16143. *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
  16144. esac
  16145. done
  16146. # If the user did not use the arguments to specify the items to instantiate,
  16147. # then the envvar interface is used. Set only those that are not.
  16148. # We use the long form for the default assignment because of an extremely
  16149. # bizarre bug on SunOS 4.1.3.
  16150. if $ac_need_defaults; then
  16151. test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
  16152. test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
  16153. test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
  16154. fi
  16155. # Have a temporary directory for convenience. Make it in the build tree
  16156. # simply because there is no reason against having it here, and in addition,
  16157. # creating and moving files from /tmp can sometimes cause problems.
  16158. # Hook for its removal unless debugging.
  16159. # Note that there is a small window in which the directory will not be cleaned:
  16160. # after its creation but before its name has been assigned to `$tmp'.
  16161. $debug ||
  16162. {
  16163. tmp= ac_tmp=
  16164. trap 'exit_status=$?
  16165. : "${ac_tmp:=$tmp}"
  16166. { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
  16167. ' 0
  16168. trap 'as_fn_exit 1' 1 2 13 15
  16169. }
  16170. # Create a (secure) tmp directory for tmp files.
  16171. {
  16172. tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
  16173. test -d "$tmp"
  16174. } ||
  16175. {
  16176. tmp=./conf$$-$RANDOM
  16177. (umask 077 && mkdir "$tmp")
  16178. } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
  16179. ac_tmp=$tmp
  16180. # Set up the scripts for CONFIG_FILES section.
  16181. # No need to generate them if there are no CONFIG_FILES.
  16182. # This happens for instance with `./config.status config.h'.
  16183. if test -n "$CONFIG_FILES"; then
  16184. ac_cr=`echo X | tr X '\015'`
  16185. # On cygwin, bash can eat \r inside `` if the user requested igncr.
  16186. # But we know of no other shell where ac_cr would be empty at this
  16187. # point, so we can use a bashism as a fallback.
  16188. if test "x$ac_cr" = x; then
  16189. eval ac_cr=\$\'\\r\'
  16190. fi
  16191. ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
  16192. if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
  16193. ac_cs_awk_cr='\\r'
  16194. else
  16195. ac_cs_awk_cr=$ac_cr
  16196. fi
  16197. echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
  16198. _ACEOF
  16199. {
  16200. echo "cat >conf$$subs.awk <<_ACEOF" &&
  16201. echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
  16202. echo "_ACEOF"
  16203. } >conf$$subs.sh ||
  16204. as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  16205. ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
  16206. ac_delim='%!_!# '
  16207. for ac_last_try in false false false false false :; do
  16208. . ./conf$$subs.sh ||
  16209. as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  16210. ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
  16211. if test $ac_delim_n = $ac_delim_num; then
  16212. break
  16213. elif $ac_last_try; then
  16214. as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  16215. else
  16216. ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  16217. fi
  16218. done
  16219. rm -f conf$$subs.sh
  16220. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  16221. cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
  16222. _ACEOF
  16223. sed -n '
  16224. h
  16225. s/^/S["/; s/!.*/"]=/
  16226. p
  16227. g
  16228. s/^[^!]*!//
  16229. :repl
  16230. t repl
  16231. s/'"$ac_delim"'$//
  16232. t delim
  16233. :nl
  16234. h
  16235. s/\(.\{148\}\)..*/\1/
  16236. t more1
  16237. s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
  16238. p
  16239. n
  16240. b repl
  16241. :more1
  16242. s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  16243. p
  16244. g
  16245. s/.\{148\}//
  16246. t nl
  16247. :delim
  16248. h
  16249. s/\(.\{148\}\)..*/\1/
  16250. t more2
  16251. s/["\\]/\\&/g; s/^/"/; s/$/"/
  16252. p
  16253. b
  16254. :more2
  16255. s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  16256. p
  16257. g
  16258. s/.\{148\}//
  16259. t delim
  16260. ' <conf$$subs.awk | sed '
  16261. /^[^""]/{
  16262. N
  16263. s/\n//
  16264. }
  16265. ' >>$CONFIG_STATUS || ac_write_fail=1
  16266. rm -f conf$$subs.awk
  16267. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  16268. _ACAWK
  16269. cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
  16270. for (key in S) S_is_set[key] = 1
  16271. FS = ""
  16272. }
  16273. {
  16274. line = $ 0
  16275. nfields = split(line, field, "@")
  16276. substed = 0
  16277. len = length(field[1])
  16278. for (i = 2; i < nfields; i++) {
  16279. key = field[i]
  16280. keylen = length(key)
  16281. if (S_is_set[key]) {
  16282. value = S[key]
  16283. line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
  16284. len += length(value) + length(field[++i])
  16285. substed = 1
  16286. } else
  16287. len += 1 + keylen
  16288. }
  16289. print line
  16290. }
  16291. _ACAWK
  16292. _ACEOF
  16293. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  16294. if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
  16295. sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
  16296. else
  16297. cat
  16298. fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
  16299. || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
  16300. _ACEOF
  16301. # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
  16302. # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
  16303. # trailing colons and then remove the whole line if VPATH becomes empty
  16304. # (actually we leave an empty line to preserve line numbers).
  16305. if test "x$srcdir" = x.; then
  16306. ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
  16307. h
  16308. s///
  16309. s/^/:/
  16310. s/[ ]*$/:/
  16311. s/:\$(srcdir):/:/g
  16312. s/:\${srcdir}:/:/g
  16313. s/:@srcdir@:/:/g
  16314. s/^:*//
  16315. s/:*$//
  16316. x
  16317. s/\(=[ ]*\).*/\1/
  16318. G
  16319. s/\n//
  16320. s/^[^=]*=[ ]*$//
  16321. }'
  16322. fi
  16323. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  16324. fi # test -n "$CONFIG_FILES"
  16325. # Set up the scripts for CONFIG_HEADERS section.
  16326. # No need to generate them if there are no CONFIG_HEADERS.
  16327. # This happens for instance with `./config.status Makefile'.
  16328. if test -n "$CONFIG_HEADERS"; then
  16329. cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
  16330. BEGIN {
  16331. _ACEOF
  16332. # Transform confdefs.h into an awk script `defines.awk', embedded as
  16333. # here-document in config.status, that substitutes the proper values into
  16334. # config.h.in to produce config.h.
  16335. # Create a delimiter string that does not exist in confdefs.h, to ease
  16336. # handling of long lines.
  16337. ac_delim='%!_!# '
  16338. for ac_last_try in false false :; do
  16339. ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
  16340. if test -z "$ac_tt"; then
  16341. break
  16342. elif $ac_last_try; then
  16343. as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
  16344. else
  16345. ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  16346. fi
  16347. done
  16348. # For the awk script, D is an array of macro values keyed by name,
  16349. # likewise P contains macro parameters if any. Preserve backslash
  16350. # newline sequences.
  16351. ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
  16352. sed -n '
  16353. s/.\{148\}/&'"$ac_delim"'/g
  16354. t rset
  16355. :rset
  16356. s/^[ ]*#[ ]*define[ ][ ]*/ /
  16357. t def
  16358. d
  16359. :def
  16360. s/\\$//
  16361. t bsnl
  16362. s/["\\]/\\&/g
  16363. s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
  16364. D["\1"]=" \3"/p
  16365. s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
  16366. d
  16367. :bsnl
  16368. s/["\\]/\\&/g
  16369. s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
  16370. D["\1"]=" \3\\\\\\n"\\/p
  16371. t cont
  16372. s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
  16373. t cont
  16374. d
  16375. :cont
  16376. n
  16377. s/.\{148\}/&'"$ac_delim"'/g
  16378. t clear
  16379. :clear
  16380. s/\\$//
  16381. t bsnlc
  16382. s/["\\]/\\&/g; s/^/"/; s/$/"/p
  16383. d
  16384. :bsnlc
  16385. s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
  16386. b cont
  16387. ' <confdefs.h | sed '
  16388. s/'"$ac_delim"'/"\\\
  16389. "/g' >>$CONFIG_STATUS || ac_write_fail=1
  16390. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  16391. for (key in D) D_is_set[key] = 1
  16392. FS = ""
  16393. }
  16394. /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
  16395. line = \$ 0
  16396. split(line, arg, " ")
  16397. if (arg[1] == "#") {
  16398. defundef = arg[2]
  16399. mac1 = arg[3]
  16400. } else {
  16401. defundef = substr(arg[1], 2)
  16402. mac1 = arg[2]
  16403. }
  16404. split(mac1, mac2, "(") #)
  16405. macro = mac2[1]
  16406. prefix = substr(line, 1, index(line, defundef) - 1)
  16407. if (D_is_set[macro]) {
  16408. # Preserve the white space surrounding the "#".
  16409. print prefix "define", macro P[macro] D[macro]
  16410. next
  16411. } else {
  16412. # Replace #undef with comments. This is necessary, for example,
  16413. # in the case of _POSIX_SOURCE, which is predefined and required
  16414. # on some systems where configure will not decide to define it.
  16415. if (defundef == "undef") {
  16416. print "/*", prefix defundef, macro, "*/"
  16417. next
  16418. }
  16419. }
  16420. }
  16421. { print }
  16422. _ACAWK
  16423. _ACEOF
  16424. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  16425. as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
  16426. fi # test -n "$CONFIG_HEADERS"
  16427. eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
  16428. shift
  16429. for ac_tag
  16430. do
  16431. case $ac_tag in
  16432. :[FHLC]) ac_mode=$ac_tag; continue;;
  16433. esac
  16434. case $ac_mode$ac_tag in
  16435. :[FHL]*:*);;
  16436. :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
  16437. :[FH]-) ac_tag=-:-;;
  16438. :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
  16439. esac
  16440. ac_save_IFS=$IFS
  16441. IFS=:
  16442. set x $ac_tag
  16443. IFS=$ac_save_IFS
  16444. shift
  16445. ac_file=$1
  16446. shift
  16447. case $ac_mode in
  16448. :L) ac_source=$1;;
  16449. :[FH])
  16450. ac_file_inputs=
  16451. for ac_f
  16452. do
  16453. case $ac_f in
  16454. -) ac_f="$ac_tmp/stdin";;
  16455. *) # Look for the file first in the build tree, then in the source tree
  16456. # (if the path is not absolute). The absolute path cannot be DOS-style,
  16457. # because $ac_f cannot contain `:'.
  16458. test -f "$ac_f" ||
  16459. case $ac_f in
  16460. [\\/$]*) false;;
  16461. *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
  16462. esac ||
  16463. as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
  16464. esac
  16465. case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
  16466. as_fn_append ac_file_inputs " '$ac_f'"
  16467. done
  16468. # Let's still pretend it is `configure' which instantiates (i.e., don't
  16469. # use $as_me), people would be surprised to read:
  16470. # /* config.h. Generated by config.status. */
  16471. configure_input='Generated from '`
  16472. $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
  16473. `' by configure.'
  16474. if test x"$ac_file" != x-; then
  16475. configure_input="$ac_file. $configure_input"
  16476. { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
  16477. $as_echo "$as_me: creating $ac_file" >&6;}
  16478. fi
  16479. # Neutralize special characters interpreted by sed in replacement strings.
  16480. case $configure_input in #(
  16481. *\&* | *\|* | *\\* )
  16482. ac_sed_conf_input=`$as_echo "$configure_input" |
  16483. sed 's/[\\\\&|]/\\\\&/g'`;; #(
  16484. *) ac_sed_conf_input=$configure_input;;
  16485. esac
  16486. case $ac_tag in
  16487. *:-:* | *:-) cat >"$ac_tmp/stdin" \
  16488. || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
  16489. esac
  16490. ;;
  16491. esac
  16492. ac_dir=`$as_dirname -- "$ac_file" ||
  16493. $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  16494. X"$ac_file" : 'X\(//\)[^/]' \| \
  16495. X"$ac_file" : 'X\(//\)$' \| \
  16496. X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
  16497. $as_echo X"$ac_file" |
  16498. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  16499. s//\1/
  16500. q
  16501. }
  16502. /^X\(\/\/\)[^/].*/{
  16503. s//\1/
  16504. q
  16505. }
  16506. /^X\(\/\/\)$/{
  16507. s//\1/
  16508. q
  16509. }
  16510. /^X\(\/\).*/{
  16511. s//\1/
  16512. q
  16513. }
  16514. s/.*/./; q'`
  16515. as_dir="$ac_dir"; as_fn_mkdir_p
  16516. ac_builddir=.
  16517. case "$ac_dir" in
  16518. .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  16519. *)
  16520. ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  16521. # A ".." for each directory in $ac_dir_suffix.
  16522. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  16523. case $ac_top_builddir_sub in
  16524. "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  16525. *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  16526. esac ;;
  16527. esac
  16528. ac_abs_top_builddir=$ac_pwd
  16529. ac_abs_builddir=$ac_pwd$ac_dir_suffix
  16530. # for backward compatibility:
  16531. ac_top_builddir=$ac_top_build_prefix
  16532. case $srcdir in
  16533. .) # We are building in place.
  16534. ac_srcdir=.
  16535. ac_top_srcdir=$ac_top_builddir_sub
  16536. ac_abs_top_srcdir=$ac_pwd ;;
  16537. [\\/]* | ?:[\\/]* ) # Absolute name.
  16538. ac_srcdir=$srcdir$ac_dir_suffix;
  16539. ac_top_srcdir=$srcdir
  16540. ac_abs_top_srcdir=$srcdir ;;
  16541. *) # Relative name.
  16542. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  16543. ac_top_srcdir=$ac_top_build_prefix$srcdir
  16544. ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  16545. esac
  16546. ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  16547. case $ac_mode in
  16548. :F)
  16549. #
  16550. # CONFIG_FILE
  16551. #
  16552. case $INSTALL in
  16553. [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
  16554. *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
  16555. esac
  16556. ac_MKDIR_P=$MKDIR_P
  16557. case $MKDIR_P in
  16558. [\\/$]* | ?:[\\/]* ) ;;
  16559. */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
  16560. esac
  16561. _ACEOF
  16562. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  16563. # If the template does not know about datarootdir, expand it.
  16564. # FIXME: This hack should be removed a few years after 2.60.
  16565. ac_datarootdir_hack=; ac_datarootdir_seen=
  16566. ac_sed_dataroot='
  16567. /datarootdir/ {
  16568. p
  16569. q
  16570. }
  16571. /@datadir@/p
  16572. /@docdir@/p
  16573. /@infodir@/p
  16574. /@localedir@/p
  16575. /@mandir@/p'
  16576. case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
  16577. *datarootdir*) ac_datarootdir_seen=yes;;
  16578. *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
  16579. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
  16580. $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
  16581. _ACEOF
  16582. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  16583. ac_datarootdir_hack='
  16584. s&@datadir@&$datadir&g
  16585. s&@docdir@&$docdir&g
  16586. s&@infodir@&$infodir&g
  16587. s&@localedir@&$localedir&g
  16588. s&@mandir@&$mandir&g
  16589. s&\\\${datarootdir}&$datarootdir&g' ;;
  16590. esac
  16591. _ACEOF
  16592. # Neutralize VPATH when `$srcdir' = `.'.
  16593. # Shell code in configure.ac might set extrasub.
  16594. # FIXME: do we really want to maintain this feature?
  16595. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  16596. ac_sed_extra="$ac_vpsub
  16597. $extrasub
  16598. _ACEOF
  16599. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  16600. :t
  16601. /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
  16602. s|@configure_input@|$ac_sed_conf_input|;t t
  16603. s&@top_builddir@&$ac_top_builddir_sub&;t t
  16604. s&@top_build_prefix@&$ac_top_build_prefix&;t t
  16605. s&@srcdir@&$ac_srcdir&;t t
  16606. s&@abs_srcdir@&$ac_abs_srcdir&;t t
  16607. s&@top_srcdir@&$ac_top_srcdir&;t t
  16608. s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
  16609. s&@builddir@&$ac_builddir&;t t
  16610. s&@abs_builddir@&$ac_abs_builddir&;t t
  16611. s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
  16612. s&@INSTALL@&$ac_INSTALL&;t t
  16613. s&@MKDIR_P@&$ac_MKDIR_P&;t t
  16614. $ac_datarootdir_hack
  16615. "
  16616. eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
  16617. >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  16618. test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
  16619. { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
  16620. { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
  16621. "$ac_tmp/out"`; test -z "$ac_out"; } &&
  16622. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  16623. which seems to be undefined. Please make sure it is defined" >&5
  16624. $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  16625. which seems to be undefined. Please make sure it is defined" >&2;}
  16626. rm -f "$ac_tmp/stdin"
  16627. case $ac_file in
  16628. -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
  16629. *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
  16630. esac \
  16631. || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  16632. ;;
  16633. :H)
  16634. #
  16635. # CONFIG_HEADER
  16636. #
  16637. if test x"$ac_file" != x-; then
  16638. {
  16639. $as_echo "/* $configure_input */" \
  16640. && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
  16641. } >"$ac_tmp/config.h" \
  16642. || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  16643. if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
  16644. { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
  16645. $as_echo "$as_me: $ac_file is unchanged" >&6;}
  16646. else
  16647. rm -f "$ac_file"
  16648. mv "$ac_tmp/config.h" "$ac_file" \
  16649. || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  16650. fi
  16651. else
  16652. $as_echo "/* $configure_input */" \
  16653. && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
  16654. || as_fn_error $? "could not create -" "$LINENO" 5
  16655. fi
  16656. # Compute "$ac_file"'s index in $config_headers.
  16657. _am_arg="$ac_file"
  16658. _am_stamp_count=1
  16659. for _am_header in $config_headers :; do
  16660. case $_am_header in
  16661. $_am_arg | $_am_arg:* )
  16662. break ;;
  16663. * )
  16664. _am_stamp_count=`expr $_am_stamp_count + 1` ;;
  16665. esac
  16666. done
  16667. echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
  16668. $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  16669. X"$_am_arg" : 'X\(//\)[^/]' \| \
  16670. X"$_am_arg" : 'X\(//\)$' \| \
  16671. X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
  16672. $as_echo X"$_am_arg" |
  16673. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  16674. s//\1/
  16675. q
  16676. }
  16677. /^X\(\/\/\)[^/].*/{
  16678. s//\1/
  16679. q
  16680. }
  16681. /^X\(\/\/\)$/{
  16682. s//\1/
  16683. q
  16684. }
  16685. /^X\(\/\).*/{
  16686. s//\1/
  16687. q
  16688. }
  16689. s/.*/./; q'`/stamp-h$_am_stamp_count
  16690. ;;
  16691. :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
  16692. $as_echo "$as_me: executing $ac_file commands" >&6;}
  16693. ;;
  16694. esac
  16695. case $ac_file$ac_mode in
  16696. "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
  16697. # Older Autoconf quotes --file arguments for eval, but not when files
  16698. # are listed without --file. Let's play safe and only enable the eval
  16699. # if we detect the quoting.
  16700. case $CONFIG_FILES in
  16701. *\'*) eval set x "$CONFIG_FILES" ;;
  16702. *) set x $CONFIG_FILES ;;
  16703. esac
  16704. shift
  16705. for mf
  16706. do
  16707. # Strip MF so we end up with the name of the file.
  16708. mf=`echo "$mf" | sed -e 's/:.*$//'`
  16709. # Check whether this is an Automake generated Makefile or not.
  16710. # We used to match only the files named 'Makefile.in', but
  16711. # some people rename them; so instead we look at the file content.
  16712. # Grep'ing the first line is not enough: some people post-process
  16713. # each Makefile.in and add a new line on top of each file to say so.
  16714. # Grep'ing the whole file is not good either: AIX grep has a line
  16715. # limit of 2048, but all sed's we know have understand at least 4000.
  16716. if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
  16717. dirpart=`$as_dirname -- "$mf" ||
  16718. $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  16719. X"$mf" : 'X\(//\)[^/]' \| \
  16720. X"$mf" : 'X\(//\)$' \| \
  16721. X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
  16722. $as_echo X"$mf" |
  16723. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  16724. s//\1/
  16725. q
  16726. }
  16727. /^X\(\/\/\)[^/].*/{
  16728. s//\1/
  16729. q
  16730. }
  16731. /^X\(\/\/\)$/{
  16732. s//\1/
  16733. q
  16734. }
  16735. /^X\(\/\).*/{
  16736. s//\1/
  16737. q
  16738. }
  16739. s/.*/./; q'`
  16740. else
  16741. continue
  16742. fi
  16743. # Extract the definition of DEPDIR, am__include, and am__quote
  16744. # from the Makefile without running 'make'.
  16745. DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
  16746. test -z "$DEPDIR" && continue
  16747. am__include=`sed -n 's/^am__include = //p' < "$mf"`
  16748. test -z "$am__include" && continue
  16749. am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
  16750. # Find all dependency output files, they are included files with
  16751. # $(DEPDIR) in their names. We invoke sed twice because it is the
  16752. # simplest approach to changing $(DEPDIR) to its actual value in the
  16753. # expansion.
  16754. for file in `sed -n "
  16755. s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
  16756. sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
  16757. # Make sure the directory exists.
  16758. test -f "$dirpart/$file" && continue
  16759. fdir=`$as_dirname -- "$file" ||
  16760. $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  16761. X"$file" : 'X\(//\)[^/]' \| \
  16762. X"$file" : 'X\(//\)$' \| \
  16763. X"$file" : 'X\(/\)' \| . 2>/dev/null ||
  16764. $as_echo X"$file" |
  16765. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  16766. s//\1/
  16767. q
  16768. }
  16769. /^X\(\/\/\)[^/].*/{
  16770. s//\1/
  16771. q
  16772. }
  16773. /^X\(\/\/\)$/{
  16774. s//\1/
  16775. q
  16776. }
  16777. /^X\(\/\).*/{
  16778. s//\1/
  16779. q
  16780. }
  16781. s/.*/./; q'`
  16782. as_dir=$dirpart/$fdir; as_fn_mkdir_p
  16783. # echo "creating $dirpart/$file"
  16784. echo '# dummy' > "$dirpart/$file"
  16785. done
  16786. done
  16787. }
  16788. ;;
  16789. "libtool":C)
  16790. # See if we are running on zsh, and set the options which allow our
  16791. # commands through without removal of \ escapes.
  16792. if test -n "${ZSH_VERSION+set}" ; then
  16793. setopt NO_GLOB_SUBST
  16794. fi
  16795. cfgfile="${ofile}T"
  16796. trap "$RM \"$cfgfile\"; exit 1" 1 2 15
  16797. $RM "$cfgfile"
  16798. cat <<_LT_EOF >> "$cfgfile"
  16799. #! $SHELL
  16800. # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
  16801. # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
  16802. # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
  16803. # NOTE: Changes made to this file will be lost: look at ltmain.sh.
  16804. #
  16805. # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
  16806. # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
  16807. # Foundation, Inc.
  16808. # Written by Gordon Matzigkeit, 1996
  16809. #
  16810. # This file is part of GNU Libtool.
  16811. #
  16812. # GNU Libtool is free software; you can redistribute it and/or
  16813. # modify it under the terms of the GNU General Public License as
  16814. # published by the Free Software Foundation; either version 2 of
  16815. # the License, or (at your option) any later version.
  16816. #
  16817. # As a special exception to the GNU General Public License,
  16818. # if you distribute this file as part of a program or library that
  16819. # is built using GNU Libtool, you may include this file under the
  16820. # same distribution terms that you use for the rest of that program.
  16821. #
  16822. # GNU Libtool is distributed in the hope that it will be useful,
  16823. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  16824. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  16825. # GNU General Public License for more details.
  16826. #
  16827. # You should have received a copy of the GNU General Public License
  16828. # along with GNU Libtool; see the file COPYING. If not, a copy
  16829. # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
  16830. # obtained by writing to the Free Software Foundation, Inc.,
  16831. # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  16832. # The names of the tagged configurations supported by this script.
  16833. available_tags="CXX "
  16834. # ### BEGIN LIBTOOL CONFIG
  16835. # Which release of libtool.m4 was used?
  16836. macro_version=$macro_version
  16837. macro_revision=$macro_revision
  16838. # Whether or not to build shared libraries.
  16839. build_libtool_libs=$enable_shared
  16840. # Whether or not to build static libraries.
  16841. build_old_libs=$enable_static
  16842. # What type of objects to build.
  16843. pic_mode=$pic_mode
  16844. # Whether or not to optimize for fast installation.
  16845. fast_install=$enable_fast_install
  16846. # Shell to use when invoking shell scripts.
  16847. SHELL=$lt_SHELL
  16848. # An echo program that protects backslashes.
  16849. ECHO=$lt_ECHO
  16850. # The PATH separator for the build system.
  16851. PATH_SEPARATOR=$lt_PATH_SEPARATOR
  16852. # The host system.
  16853. host_alias=$host_alias
  16854. host=$host
  16855. host_os=$host_os
  16856. # The build system.
  16857. build_alias=$build_alias
  16858. build=$build
  16859. build_os=$build_os
  16860. # A sed program that does not truncate output.
  16861. SED=$lt_SED
  16862. # Sed that helps us avoid accidentally triggering echo(1) options like -n.
  16863. Xsed="\$SED -e 1s/^X//"
  16864. # A grep program that handles long lines.
  16865. GREP=$lt_GREP
  16866. # An ERE matcher.
  16867. EGREP=$lt_EGREP
  16868. # A literal string matcher.
  16869. FGREP=$lt_FGREP
  16870. # A BSD- or MS-compatible name lister.
  16871. NM=$lt_NM
  16872. # Whether we need soft or hard links.
  16873. LN_S=$lt_LN_S
  16874. # What is the maximum length of a command?
  16875. max_cmd_len=$max_cmd_len
  16876. # Object file suffix (normally "o").
  16877. objext=$ac_objext
  16878. # Executable file suffix (normally "").
  16879. exeext=$exeext
  16880. # whether the shell understands "unset".
  16881. lt_unset=$lt_unset
  16882. # turn spaces into newlines.
  16883. SP2NL=$lt_lt_SP2NL
  16884. # turn newlines into spaces.
  16885. NL2SP=$lt_lt_NL2SP
  16886. # convert \$build file names to \$host format.
  16887. to_host_file_cmd=$lt_cv_to_host_file_cmd
  16888. # convert \$build files to toolchain format.
  16889. to_tool_file_cmd=$lt_cv_to_tool_file_cmd
  16890. # An object symbol dumper.
  16891. OBJDUMP=$lt_OBJDUMP
  16892. # Method to check whether dependent libraries are shared objects.
  16893. deplibs_check_method=$lt_deplibs_check_method
  16894. # Command to use when deplibs_check_method = "file_magic".
  16895. file_magic_cmd=$lt_file_magic_cmd
  16896. # How to find potential files when deplibs_check_method = "file_magic".
  16897. file_magic_glob=$lt_file_magic_glob
  16898. # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
  16899. want_nocaseglob=$lt_want_nocaseglob
  16900. # DLL creation program.
  16901. DLLTOOL=$lt_DLLTOOL
  16902. # Command to associate shared and link libraries.
  16903. sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
  16904. # The archiver.
  16905. AR=$lt_AR
  16906. # Flags to create an archive.
  16907. AR_FLAGS=$lt_AR_FLAGS
  16908. # How to feed a file listing to the archiver.
  16909. archiver_list_spec=$lt_archiver_list_spec
  16910. # A symbol stripping program.
  16911. STRIP=$lt_STRIP
  16912. # Commands used to install an old-style archive.
  16913. RANLIB=$lt_RANLIB
  16914. old_postinstall_cmds=$lt_old_postinstall_cmds
  16915. old_postuninstall_cmds=$lt_old_postuninstall_cmds
  16916. # Whether to use a lock for old archive extraction.
  16917. lock_old_archive_extraction=$lock_old_archive_extraction
  16918. # A C compiler.
  16919. LTCC=$lt_CC
  16920. # LTCC compiler flags.
  16921. LTCFLAGS=$lt_CFLAGS
  16922. # Take the output of nm and produce a listing of raw symbols and C names.
  16923. global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
  16924. # Transform the output of nm in a proper C declaration.
  16925. global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
  16926. # Transform the output of nm in a C name address pair.
  16927. global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
  16928. # Transform the output of nm in a C name address pair when lib prefix is needed.
  16929. global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
  16930. # Specify filename containing input files for \$NM.
  16931. nm_file_list_spec=$lt_nm_file_list_spec
  16932. # The root where to search for dependent libraries,and in which our libraries should be installed.
  16933. lt_sysroot=$lt_sysroot
  16934. # The name of the directory that contains temporary libtool files.
  16935. objdir=$objdir
  16936. # Used to examine libraries when file_magic_cmd begins with "file".
  16937. MAGIC_CMD=$MAGIC_CMD
  16938. # Must we lock files when doing compilation?
  16939. need_locks=$lt_need_locks
  16940. # Manifest tool.
  16941. MANIFEST_TOOL=$lt_MANIFEST_TOOL
  16942. # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
  16943. DSYMUTIL=$lt_DSYMUTIL
  16944. # Tool to change global to local symbols on Mac OS X.
  16945. NMEDIT=$lt_NMEDIT
  16946. # Tool to manipulate fat objects and archives on Mac OS X.
  16947. LIPO=$lt_LIPO
  16948. # ldd/readelf like tool for Mach-O binaries on Mac OS X.
  16949. OTOOL=$lt_OTOOL
  16950. # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
  16951. OTOOL64=$lt_OTOOL64
  16952. # Old archive suffix (normally "a").
  16953. libext=$libext
  16954. # Shared library suffix (normally ".so").
  16955. shrext_cmds=$lt_shrext_cmds
  16956. # The commands to extract the exported symbol list from a shared archive.
  16957. extract_expsyms_cmds=$lt_extract_expsyms_cmds
  16958. # Variables whose values should be saved in libtool wrapper scripts and
  16959. # restored at link time.
  16960. variables_saved_for_relink=$lt_variables_saved_for_relink
  16961. # Do we need the "lib" prefix for modules?
  16962. need_lib_prefix=$need_lib_prefix
  16963. # Do we need a version for libraries?
  16964. need_version=$need_version
  16965. # Library versioning type.
  16966. version_type=$version_type
  16967. # Shared library runtime path variable.
  16968. runpath_var=$runpath_var
  16969. # Shared library path variable.
  16970. shlibpath_var=$shlibpath_var
  16971. # Is shlibpath searched before the hard-coded library search path?
  16972. shlibpath_overrides_runpath=$shlibpath_overrides_runpath
  16973. # Format of library name prefix.
  16974. libname_spec=$lt_libname_spec
  16975. # List of archive names. First name is the real one, the rest are links.
  16976. # The last name is the one that the linker finds with -lNAME
  16977. library_names_spec=$lt_library_names_spec
  16978. # The coded name of the library, if different from the real name.
  16979. soname_spec=$lt_soname_spec
  16980. # Permission mode override for installation of shared libraries.
  16981. install_override_mode=$lt_install_override_mode
  16982. # Command to use after installation of a shared archive.
  16983. postinstall_cmds=$lt_postinstall_cmds
  16984. # Command to use after uninstallation of a shared archive.
  16985. postuninstall_cmds=$lt_postuninstall_cmds
  16986. # Commands used to finish a libtool library installation in a directory.
  16987. finish_cmds=$lt_finish_cmds
  16988. # As "finish_cmds", except a single script fragment to be evaled but
  16989. # not shown.
  16990. finish_eval=$lt_finish_eval
  16991. # Whether we should hardcode library paths into libraries.
  16992. hardcode_into_libs=$hardcode_into_libs
  16993. # Compile-time system search path for libraries.
  16994. sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
  16995. # Run-time system search path for libraries.
  16996. sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
  16997. # Whether dlopen is supported.
  16998. dlopen_support=$enable_dlopen
  16999. # Whether dlopen of programs is supported.
  17000. dlopen_self=$enable_dlopen_self
  17001. # Whether dlopen of statically linked programs is supported.
  17002. dlopen_self_static=$enable_dlopen_self_static
  17003. # Commands to strip libraries.
  17004. old_striplib=$lt_old_striplib
  17005. striplib=$lt_striplib
  17006. # The linker used to build libraries.
  17007. LD=$lt_LD
  17008. # How to create reloadable object files.
  17009. reload_flag=$lt_reload_flag
  17010. reload_cmds=$lt_reload_cmds
  17011. # Commands used to build an old-style archive.
  17012. old_archive_cmds=$lt_old_archive_cmds
  17013. # A language specific compiler.
  17014. CC=$lt_compiler
  17015. # Is the compiler the GNU compiler?
  17016. with_gcc=$GCC
  17017. # Compiler flag to turn off builtin functions.
  17018. no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
  17019. # Additional compiler flags for building library objects.
  17020. pic_flag=$lt_lt_prog_compiler_pic
  17021. # How to pass a linker flag through the compiler.
  17022. wl=$lt_lt_prog_compiler_wl
  17023. # Compiler flag to prevent dynamic linking.
  17024. link_static_flag=$lt_lt_prog_compiler_static
  17025. # Does compiler simultaneously support -c and -o options?
  17026. compiler_c_o=$lt_lt_cv_prog_compiler_c_o
  17027. # Whether or not to add -lc for building shared libraries.
  17028. build_libtool_need_lc=$archive_cmds_need_lc
  17029. # Whether or not to disallow shared libs when runtime libs are static.
  17030. allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
  17031. # Compiler flag to allow reflexive dlopens.
  17032. export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
  17033. # Compiler flag to generate shared objects directly from archives.
  17034. whole_archive_flag_spec=$lt_whole_archive_flag_spec
  17035. # Whether the compiler copes with passing no objects directly.
  17036. compiler_needs_object=$lt_compiler_needs_object
  17037. # Create an old-style archive from a shared archive.
  17038. old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
  17039. # Create a temporary old-style archive to link instead of a shared archive.
  17040. old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
  17041. # Commands used to build a shared archive.
  17042. archive_cmds=$lt_archive_cmds
  17043. archive_expsym_cmds=$lt_archive_expsym_cmds
  17044. # Commands used to build a loadable module if different from building
  17045. # a shared archive.
  17046. module_cmds=$lt_module_cmds
  17047. module_expsym_cmds=$lt_module_expsym_cmds
  17048. # Whether we are building with GNU ld or not.
  17049. with_gnu_ld=$lt_with_gnu_ld
  17050. # Flag that allows shared libraries with undefined symbols to be built.
  17051. allow_undefined_flag=$lt_allow_undefined_flag
  17052. # Flag that enforces no undefined symbols.
  17053. no_undefined_flag=$lt_no_undefined_flag
  17054. # Flag to hardcode \$libdir into a binary during linking.
  17055. # This must work even if \$libdir does not exist
  17056. hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
  17057. # Whether we need a single "-rpath" flag with a separated argument.
  17058. hardcode_libdir_separator=$lt_hardcode_libdir_separator
  17059. # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
  17060. # DIR into the resulting binary.
  17061. hardcode_direct=$hardcode_direct
  17062. # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
  17063. # DIR into the resulting binary and the resulting library dependency is
  17064. # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
  17065. # library is relocated.
  17066. hardcode_direct_absolute=$hardcode_direct_absolute
  17067. # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
  17068. # into the resulting binary.
  17069. hardcode_minus_L=$hardcode_minus_L
  17070. # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
  17071. # into the resulting binary.
  17072. hardcode_shlibpath_var=$hardcode_shlibpath_var
  17073. # Set to "yes" if building a shared library automatically hardcodes DIR
  17074. # into the library and all subsequent libraries and executables linked
  17075. # against it.
  17076. hardcode_automatic=$hardcode_automatic
  17077. # Set to yes if linker adds runtime paths of dependent libraries
  17078. # to runtime path list.
  17079. inherit_rpath=$inherit_rpath
  17080. # Whether libtool must link a program against all its dependency libraries.
  17081. link_all_deplibs=$link_all_deplibs
  17082. # Set to "yes" if exported symbols are required.
  17083. always_export_symbols=$always_export_symbols
  17084. # The commands to list exported symbols.
  17085. export_symbols_cmds=$lt_export_symbols_cmds
  17086. # Symbols that should not be listed in the preloaded symbols.
  17087. exclude_expsyms=$lt_exclude_expsyms
  17088. # Symbols that must always be exported.
  17089. include_expsyms=$lt_include_expsyms
  17090. # Commands necessary for linking programs (against libraries) with templates.
  17091. prelink_cmds=$lt_prelink_cmds
  17092. # Commands necessary for finishing linking programs.
  17093. postlink_cmds=$lt_postlink_cmds
  17094. # Specify filename containing input files.
  17095. file_list_spec=$lt_file_list_spec
  17096. # How to hardcode a shared library path into an executable.
  17097. hardcode_action=$hardcode_action
  17098. # The directories searched by this compiler when creating a shared library.
  17099. compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
  17100. # Dependencies to place before and after the objects being linked to
  17101. # create a shared library.
  17102. predep_objects=$lt_predep_objects
  17103. postdep_objects=$lt_postdep_objects
  17104. predeps=$lt_predeps
  17105. postdeps=$lt_postdeps
  17106. # The library search path used internally by the compiler when linking
  17107. # a shared library.
  17108. compiler_lib_search_path=$lt_compiler_lib_search_path
  17109. # ### END LIBTOOL CONFIG
  17110. _LT_EOF
  17111. case $host_os in
  17112. aix3*)
  17113. cat <<\_LT_EOF >> "$cfgfile"
  17114. # AIX sometimes has problems with the GCC collect2 program. For some
  17115. # reason, if we set the COLLECT_NAMES environment variable, the problems
  17116. # vanish in a puff of smoke.
  17117. if test "X${COLLECT_NAMES+set}" != Xset; then
  17118. COLLECT_NAMES=
  17119. export COLLECT_NAMES
  17120. fi
  17121. _LT_EOF
  17122. ;;
  17123. esac
  17124. ltmain="$ac_aux_dir/ltmain.sh"
  17125. # We use sed instead of cat because bash on DJGPP gets confused if
  17126. # if finds mixed CR/LF and LF-only lines. Since sed operates in
  17127. # text mode, it properly converts lines to CR/LF. This bash problem
  17128. # is reportedly fixed, but why not run on old versions too?
  17129. sed '$q' "$ltmain" >> "$cfgfile" \
  17130. || (rm -f "$cfgfile"; exit 1)
  17131. if test x"$xsi_shell" = xyes; then
  17132. sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
  17133. func_dirname ()\
  17134. {\
  17135. \ case ${1} in\
  17136. \ */*) func_dirname_result="${1%/*}${2}" ;;\
  17137. \ * ) func_dirname_result="${3}" ;;\
  17138. \ esac\
  17139. } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
  17140. && mv -f "$cfgfile.tmp" "$cfgfile" \
  17141. || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  17142. test 0 -eq $? || _lt_function_replace_fail=:
  17143. sed -e '/^func_basename ()$/,/^} # func_basename /c\
  17144. func_basename ()\
  17145. {\
  17146. \ func_basename_result="${1##*/}"\
  17147. } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
  17148. && mv -f "$cfgfile.tmp" "$cfgfile" \
  17149. || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  17150. test 0 -eq $? || _lt_function_replace_fail=:
  17151. sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
  17152. func_dirname_and_basename ()\
  17153. {\
  17154. \ case ${1} in\
  17155. \ */*) func_dirname_result="${1%/*}${2}" ;;\
  17156. \ * ) func_dirname_result="${3}" ;;\
  17157. \ esac\
  17158. \ func_basename_result="${1##*/}"\
  17159. } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
  17160. && mv -f "$cfgfile.tmp" "$cfgfile" \
  17161. || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  17162. test 0 -eq $? || _lt_function_replace_fail=:
  17163. sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
  17164. func_stripname ()\
  17165. {\
  17166. \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
  17167. \ # positional parameters, so assign one to ordinary parameter first.\
  17168. \ func_stripname_result=${3}\
  17169. \ func_stripname_result=${func_stripname_result#"${1}"}\
  17170. \ func_stripname_result=${func_stripname_result%"${2}"}\
  17171. } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
  17172. && mv -f "$cfgfile.tmp" "$cfgfile" \
  17173. || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  17174. test 0 -eq $? || _lt_function_replace_fail=:
  17175. sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
  17176. func_split_long_opt ()\
  17177. {\
  17178. \ func_split_long_opt_name=${1%%=*}\
  17179. \ func_split_long_opt_arg=${1#*=}\
  17180. } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
  17181. && mv -f "$cfgfile.tmp" "$cfgfile" \
  17182. || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  17183. test 0 -eq $? || _lt_function_replace_fail=:
  17184. sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
  17185. func_split_short_opt ()\
  17186. {\
  17187. \ func_split_short_opt_arg=${1#??}\
  17188. \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
  17189. } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
  17190. && mv -f "$cfgfile.tmp" "$cfgfile" \
  17191. || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  17192. test 0 -eq $? || _lt_function_replace_fail=:
  17193. sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
  17194. func_lo2o ()\
  17195. {\
  17196. \ case ${1} in\
  17197. \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
  17198. \ *) func_lo2o_result=${1} ;;\
  17199. \ esac\
  17200. } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
  17201. && mv -f "$cfgfile.tmp" "$cfgfile" \
  17202. || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  17203. test 0 -eq $? || _lt_function_replace_fail=:
  17204. sed -e '/^func_xform ()$/,/^} # func_xform /c\
  17205. func_xform ()\
  17206. {\
  17207. func_xform_result=${1%.*}.lo\
  17208. } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
  17209. && mv -f "$cfgfile.tmp" "$cfgfile" \
  17210. || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  17211. test 0 -eq $? || _lt_function_replace_fail=:
  17212. sed -e '/^func_arith ()$/,/^} # func_arith /c\
  17213. func_arith ()\
  17214. {\
  17215. func_arith_result=$(( $* ))\
  17216. } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
  17217. && mv -f "$cfgfile.tmp" "$cfgfile" \
  17218. || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  17219. test 0 -eq $? || _lt_function_replace_fail=:
  17220. sed -e '/^func_len ()$/,/^} # func_len /c\
  17221. func_len ()\
  17222. {\
  17223. func_len_result=${#1}\
  17224. } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
  17225. && mv -f "$cfgfile.tmp" "$cfgfile" \
  17226. || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  17227. test 0 -eq $? || _lt_function_replace_fail=:
  17228. fi
  17229. if test x"$lt_shell_append" = xyes; then
  17230. sed -e '/^func_append ()$/,/^} # func_append /c\
  17231. func_append ()\
  17232. {\
  17233. eval "${1}+=\\${2}"\
  17234. } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
  17235. && mv -f "$cfgfile.tmp" "$cfgfile" \
  17236. || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  17237. test 0 -eq $? || _lt_function_replace_fail=:
  17238. sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
  17239. func_append_quoted ()\
  17240. {\
  17241. \ func_quote_for_eval "${2}"\
  17242. \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
  17243. } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
  17244. && mv -f "$cfgfile.tmp" "$cfgfile" \
  17245. || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  17246. test 0 -eq $? || _lt_function_replace_fail=:
  17247. # Save a `func_append' function call where possible by direct use of '+='
  17248. sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
  17249. && mv -f "$cfgfile.tmp" "$cfgfile" \
  17250. || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  17251. test 0 -eq $? || _lt_function_replace_fail=:
  17252. else
  17253. # Save a `func_append' function call even when '+=' is not available
  17254. sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
  17255. && mv -f "$cfgfile.tmp" "$cfgfile" \
  17256. || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  17257. test 0 -eq $? || _lt_function_replace_fail=:
  17258. fi
  17259. if test x"$_lt_function_replace_fail" = x":"; then
  17260. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
  17261. $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
  17262. fi
  17263. mv -f "$cfgfile" "$ofile" ||
  17264. (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
  17265. chmod +x "$ofile"
  17266. cat <<_LT_EOF >> "$ofile"
  17267. # ### BEGIN LIBTOOL TAG CONFIG: CXX
  17268. # The linker used to build libraries.
  17269. LD=$lt_LD_CXX
  17270. # How to create reloadable object files.
  17271. reload_flag=$lt_reload_flag_CXX
  17272. reload_cmds=$lt_reload_cmds_CXX
  17273. # Commands used to build an old-style archive.
  17274. old_archive_cmds=$lt_old_archive_cmds_CXX
  17275. # A language specific compiler.
  17276. CC=$lt_compiler_CXX
  17277. # Is the compiler the GNU compiler?
  17278. with_gcc=$GCC_CXX
  17279. # Compiler flag to turn off builtin functions.
  17280. no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
  17281. # Additional compiler flags for building library objects.
  17282. pic_flag=$lt_lt_prog_compiler_pic_CXX
  17283. # How to pass a linker flag through the compiler.
  17284. wl=$lt_lt_prog_compiler_wl_CXX
  17285. # Compiler flag to prevent dynamic linking.
  17286. link_static_flag=$lt_lt_prog_compiler_static_CXX
  17287. # Does compiler simultaneously support -c and -o options?
  17288. compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
  17289. # Whether or not to add -lc for building shared libraries.
  17290. build_libtool_need_lc=$archive_cmds_need_lc_CXX
  17291. # Whether or not to disallow shared libs when runtime libs are static.
  17292. allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
  17293. # Compiler flag to allow reflexive dlopens.
  17294. export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
  17295. # Compiler flag to generate shared objects directly from archives.
  17296. whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
  17297. # Whether the compiler copes with passing no objects directly.
  17298. compiler_needs_object=$lt_compiler_needs_object_CXX
  17299. # Create an old-style archive from a shared archive.
  17300. old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
  17301. # Create a temporary old-style archive to link instead of a shared archive.
  17302. old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
  17303. # Commands used to build a shared archive.
  17304. archive_cmds=$lt_archive_cmds_CXX
  17305. archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
  17306. # Commands used to build a loadable module if different from building
  17307. # a shared archive.
  17308. module_cmds=$lt_module_cmds_CXX
  17309. module_expsym_cmds=$lt_module_expsym_cmds_CXX
  17310. # Whether we are building with GNU ld or not.
  17311. with_gnu_ld=$lt_with_gnu_ld_CXX
  17312. # Flag that allows shared libraries with undefined symbols to be built.
  17313. allow_undefined_flag=$lt_allow_undefined_flag_CXX
  17314. # Flag that enforces no undefined symbols.
  17315. no_undefined_flag=$lt_no_undefined_flag_CXX
  17316. # Flag to hardcode \$libdir into a binary during linking.
  17317. # This must work even if \$libdir does not exist
  17318. hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
  17319. # Whether we need a single "-rpath" flag with a separated argument.
  17320. hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
  17321. # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
  17322. # DIR into the resulting binary.
  17323. hardcode_direct=$hardcode_direct_CXX
  17324. # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
  17325. # DIR into the resulting binary and the resulting library dependency is
  17326. # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
  17327. # library is relocated.
  17328. hardcode_direct_absolute=$hardcode_direct_absolute_CXX
  17329. # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
  17330. # into the resulting binary.
  17331. hardcode_minus_L=$hardcode_minus_L_CXX
  17332. # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
  17333. # into the resulting binary.
  17334. hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
  17335. # Set to "yes" if building a shared library automatically hardcodes DIR
  17336. # into the library and all subsequent libraries and executables linked
  17337. # against it.
  17338. hardcode_automatic=$hardcode_automatic_CXX
  17339. # Set to yes if linker adds runtime paths of dependent libraries
  17340. # to runtime path list.
  17341. inherit_rpath=$inherit_rpath_CXX
  17342. # Whether libtool must link a program against all its dependency libraries.
  17343. link_all_deplibs=$link_all_deplibs_CXX
  17344. # Set to "yes" if exported symbols are required.
  17345. always_export_symbols=$always_export_symbols_CXX
  17346. # The commands to list exported symbols.
  17347. export_symbols_cmds=$lt_export_symbols_cmds_CXX
  17348. # Symbols that should not be listed in the preloaded symbols.
  17349. exclude_expsyms=$lt_exclude_expsyms_CXX
  17350. # Symbols that must always be exported.
  17351. include_expsyms=$lt_include_expsyms_CXX
  17352. # Commands necessary for linking programs (against libraries) with templates.
  17353. prelink_cmds=$lt_prelink_cmds_CXX
  17354. # Commands necessary for finishing linking programs.
  17355. postlink_cmds=$lt_postlink_cmds_CXX
  17356. # Specify filename containing input files.
  17357. file_list_spec=$lt_file_list_spec_CXX
  17358. # How to hardcode a shared library path into an executable.
  17359. hardcode_action=$hardcode_action_CXX
  17360. # The directories searched by this compiler when creating a shared library.
  17361. compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
  17362. # Dependencies to place before and after the objects being linked to
  17363. # create a shared library.
  17364. predep_objects=$lt_predep_objects_CXX
  17365. postdep_objects=$lt_postdep_objects_CXX
  17366. predeps=$lt_predeps_CXX
  17367. postdeps=$lt_postdeps_CXX
  17368. # The library search path used internally by the compiler when linking
  17369. # a shared library.
  17370. compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
  17371. # ### END LIBTOOL TAG CONFIG: CXX
  17372. _LT_EOF
  17373. ;;
  17374. esac
  17375. done # for ac_tag
  17376. as_fn_exit 0
  17377. _ACEOF
  17378. ac_clean_files=$ac_clean_files_save
  17379. test $ac_write_fail = 0 ||
  17380. as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
  17381. # configure is writing to config.log, and then calls config.status.
  17382. # config.status does its own redirection, appending to config.log.
  17383. # Unfortunately, on DOS this fails, as config.log is still kept open
  17384. # by configure, so config.status won't be able to write to it; its
  17385. # output is simply discarded. So we exec the FD to /dev/null,
  17386. # effectively closing config.log, so it can be properly (re)opened and
  17387. # appended to by config.status. When coming back to configure, we
  17388. # need to make the FD available again.
  17389. if test "$no_create" != yes; then
  17390. ac_cs_success=:
  17391. ac_config_status_args=
  17392. test "$silent" = yes &&
  17393. ac_config_status_args="$ac_config_status_args --quiet"
  17394. exec 5>/dev/null
  17395. $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
  17396. exec 5>>config.log
  17397. # Use ||, not &&, to avoid exiting from the if with $? = 1, which
  17398. # would make configure fail if this is the last instruction.
  17399. $ac_cs_success || as_fn_exit 1
  17400. fi
  17401. if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
  17402. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
  17403. $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
  17404. fi