configure 594 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148
  1. #! /bin/sh
  2. # Guess values for system-dependent variables and create Makefiles.
  3. # Generated by GNU Autoconf 2.68 for libzipper 1.0.3.
  4. #
  5. # Report bugs to <michael@codesrc.com>.
  6. #
  7. #
  8. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
  9. # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
  10. # Foundation, Inc.
  11. #
  12. #
  13. # This configure script is free software; the Free Software Foundation
  14. # gives unlimited permission to copy, distribute and modify it.
  15. ## -------------------- ##
  16. ## M4sh Initialization. ##
  17. ## -------------------- ##
  18. # Be more Bourne compatible
  19. DUALCASE=1; export DUALCASE # for MKS sh
  20. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  21. emulate sh
  22. NULLCMD=:
  23. # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  24. # is contrary to our usage. Disable this feature.
  25. alias -g '${1+"$@"}'='"$@"'
  26. setopt NO_GLOB_SUBST
  27. else
  28. case `(set -o) 2>/dev/null` in #(
  29. *posix*) :
  30. set -o posix ;; #(
  31. *) :
  32. ;;
  33. esac
  34. fi
  35. as_nl='
  36. '
  37. export as_nl
  38. # Printing a long string crashes Solaris 7 /usr/bin/printf.
  39. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  40. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  41. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  42. # Prefer a ksh shell builtin over an external printf program on Solaris,
  43. # but without wasting forks for bash or zsh.
  44. if test -z "$BASH_VERSION$ZSH_VERSION" \
  45. && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
  46. as_echo='print -r --'
  47. as_echo_n='print -rn --'
  48. elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  49. as_echo='printf %s\n'
  50. as_echo_n='printf %s'
  51. else
  52. if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
  53. as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
  54. as_echo_n='/usr/ucb/echo -n'
  55. else
  56. as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  57. as_echo_n_body='eval
  58. arg=$1;
  59. case $arg in #(
  60. *"$as_nl"*)
  61. expr "X$arg" : "X\\(.*\\)$as_nl";
  62. arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  63. esac;
  64. expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
  65. '
  66. export as_echo_n_body
  67. as_echo_n='sh -c $as_echo_n_body as_echo'
  68. fi
  69. export as_echo_body
  70. as_echo='sh -c $as_echo_body as_echo'
  71. fi
  72. # The user is always right.
  73. if test "${PATH_SEPARATOR+set}" != set; then
  74. PATH_SEPARATOR=:
  75. (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  76. (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  77. PATH_SEPARATOR=';'
  78. }
  79. fi
  80. # IFS
  81. # We need space, tab and new line, in precisely that order. Quoting is
  82. # there to prevent editors from complaining about space-tab.
  83. # (If _AS_PATH_WALK were called with IFS unset, it would disable word
  84. # splitting by setting IFS to empty value.)
  85. IFS=" "" $as_nl"
  86. # Find who we are. Look in the path if we contain no directory separator.
  87. as_myself=
  88. case $0 in #((
  89. *[\\/]* ) as_myself=$0 ;;
  90. *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  91. for as_dir in $PATH
  92. do
  93. IFS=$as_save_IFS
  94. test -z "$as_dir" && as_dir=.
  95. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  96. done
  97. IFS=$as_save_IFS
  98. ;;
  99. esac
  100. # We did not find ourselves, most probably we were run as `sh COMMAND'
  101. # in which case we are not to be found in the path.
  102. if test "x$as_myself" = x; then
  103. as_myself=$0
  104. fi
  105. if test ! -f "$as_myself"; then
  106. $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  107. exit 1
  108. fi
  109. # Unset variables that we do not need and which cause bugs (e.g. in
  110. # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
  111. # suppresses any "Segmentation fault" message there. '((' could
  112. # trigger a bug in pdksh 5.2.14.
  113. for as_var in BASH_ENV ENV MAIL MAILPATH
  114. do eval test x\${$as_var+set} = xset \
  115. && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  116. done
  117. PS1='$ '
  118. PS2='> '
  119. PS4='+ '
  120. # NLS nuisances.
  121. LC_ALL=C
  122. export LC_ALL
  123. LANGUAGE=C
  124. export LANGUAGE
  125. # CDPATH.
  126. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  127. if test "x$CONFIG_SHELL" = x; then
  128. as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
  129. emulate sh
  130. NULLCMD=:
  131. # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
  132. # is contrary to our usage. Disable this feature.
  133. alias -g '\${1+\"\$@\"}'='\"\$@\"'
  134. setopt NO_GLOB_SUBST
  135. else
  136. case \`(set -o) 2>/dev/null\` in #(
  137. *posix*) :
  138. set -o posix ;; #(
  139. *) :
  140. ;;
  141. esac
  142. fi
  143. "
  144. as_required="as_fn_return () { (exit \$1); }
  145. as_fn_success () { as_fn_return 0; }
  146. as_fn_failure () { as_fn_return 1; }
  147. as_fn_ret_success () { return 0; }
  148. as_fn_ret_failure () { return 1; }
  149. exitcode=0
  150. as_fn_success || { exitcode=1; echo as_fn_success failed.; }
  151. as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
  152. as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
  153. as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
  154. if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
  155. else
  156. exitcode=1; echo positional parameters were not saved.
  157. fi
  158. test x\$exitcode = x0 || exit 1"
  159. as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
  160. as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
  161. eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
  162. test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
  163. test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
  164. ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  165. ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
  166. ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
  167. PATH=/empty FPATH=/empty; export PATH FPATH
  168. test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
  169. || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
  170. test \$(( 1 + 1 )) = 2 || exit 1"
  171. if (eval "$as_required") 2>/dev/null; then :
  172. as_have_required=yes
  173. else
  174. as_have_required=no
  175. fi
  176. if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
  177. else
  178. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  179. as_found=false
  180. for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  181. do
  182. IFS=$as_save_IFS
  183. test -z "$as_dir" && as_dir=.
  184. as_found=:
  185. case $as_dir in #(
  186. /*)
  187. for as_base in sh bash ksh sh5; do
  188. # Try only shells that exist, to save several forks.
  189. as_shell=$as_dir/$as_base
  190. if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
  191. { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
  192. CONFIG_SHELL=$as_shell as_have_required=yes
  193. if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
  194. break 2
  195. fi
  196. fi
  197. done;;
  198. esac
  199. as_found=false
  200. done
  201. $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
  202. { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
  203. CONFIG_SHELL=$SHELL as_have_required=yes
  204. fi; }
  205. IFS=$as_save_IFS
  206. if test "x$CONFIG_SHELL" != x; then :
  207. # We cannot yet assume a decent shell, so we have to provide a
  208. # neutralization value for shells without unset; and this also
  209. # works around shells that cannot unset nonexistent variables.
  210. # Preserve -v and -x to the replacement shell.
  211. BASH_ENV=/dev/null
  212. ENV=/dev/null
  213. (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  214. export CONFIG_SHELL
  215. case $- in # ((((
  216. *v*x* | *x*v* ) as_opts=-vx ;;
  217. *v* ) as_opts=-v ;;
  218. *x* ) as_opts=-x ;;
  219. * ) as_opts= ;;
  220. esac
  221. exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
  222. fi
  223. if test x$as_have_required = xno; then :
  224. $as_echo "$0: This script requires a shell more modern than all"
  225. $as_echo "$0: the shells that I found on your system."
  226. if test x${ZSH_VERSION+set} = xset ; then
  227. $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
  228. $as_echo "$0: be upgraded to zsh 4.3.4 or later."
  229. else
  230. $as_echo "$0: Please tell bug-autoconf@gnu.org and
  231. $0: michael@codesrc.com about your system, including any
  232. $0: error possibly output before this message. Then install
  233. $0: a modern shell, or manually run the script under such a
  234. $0: shell if you do have one."
  235. fi
  236. exit 1
  237. fi
  238. fi
  239. fi
  240. SHELL=${CONFIG_SHELL-/bin/sh}
  241. export SHELL
  242. # Unset more variables known to interfere with behavior of common tools.
  243. CLICOLOR_FORCE= GREP_OPTIONS=
  244. unset CLICOLOR_FORCE GREP_OPTIONS
  245. ## --------------------- ##
  246. ## M4sh Shell Functions. ##
  247. ## --------------------- ##
  248. # as_fn_unset VAR
  249. # ---------------
  250. # Portably unset VAR.
  251. as_fn_unset ()
  252. {
  253. { eval $1=; unset $1;}
  254. }
  255. as_unset=as_fn_unset
  256. # as_fn_set_status STATUS
  257. # -----------------------
  258. # Set $? to STATUS, without forking.
  259. as_fn_set_status ()
  260. {
  261. return $1
  262. } # as_fn_set_status
  263. # as_fn_exit STATUS
  264. # -----------------
  265. # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  266. as_fn_exit ()
  267. {
  268. set +e
  269. as_fn_set_status $1
  270. exit $1
  271. } # as_fn_exit
  272. # as_fn_mkdir_p
  273. # -------------
  274. # Create "$as_dir" as a directory, including parents if necessary.
  275. as_fn_mkdir_p ()
  276. {
  277. case $as_dir in #(
  278. -*) as_dir=./$as_dir;;
  279. esac
  280. test -d "$as_dir" || eval $as_mkdir_p || {
  281. as_dirs=
  282. while :; do
  283. case $as_dir in #(
  284. *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  285. *) as_qdir=$as_dir;;
  286. esac
  287. as_dirs="'$as_qdir' $as_dirs"
  288. as_dir=`$as_dirname -- "$as_dir" ||
  289. $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  290. X"$as_dir" : 'X\(//\)[^/]' \| \
  291. X"$as_dir" : 'X\(//\)$' \| \
  292. X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  293. $as_echo X"$as_dir" |
  294. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  295. s//\1/
  296. q
  297. }
  298. /^X\(\/\/\)[^/].*/{
  299. s//\1/
  300. q
  301. }
  302. /^X\(\/\/\)$/{
  303. s//\1/
  304. q
  305. }
  306. /^X\(\/\).*/{
  307. s//\1/
  308. q
  309. }
  310. s/.*/./; q'`
  311. test -d "$as_dir" && break
  312. done
  313. test -z "$as_dirs" || eval "mkdir $as_dirs"
  314. } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
  315. } # as_fn_mkdir_p
  316. # as_fn_append VAR VALUE
  317. # ----------------------
  318. # Append the text in VALUE to the end of the definition contained in VAR. Take
  319. # advantage of any shell optimizations that allow amortized linear growth over
  320. # repeated appends, instead of the typical quadratic growth present in naive
  321. # implementations.
  322. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  323. eval 'as_fn_append ()
  324. {
  325. eval $1+=\$2
  326. }'
  327. else
  328. as_fn_append ()
  329. {
  330. eval $1=\$$1\$2
  331. }
  332. fi # as_fn_append
  333. # as_fn_arith ARG...
  334. # ------------------
  335. # Perform arithmetic evaluation on the ARGs, and store the result in the
  336. # global $as_val. Take advantage of shells that can avoid forks. The arguments
  337. # must be portable across $(()) and expr.
  338. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  339. eval 'as_fn_arith ()
  340. {
  341. as_val=$(( $* ))
  342. }'
  343. else
  344. as_fn_arith ()
  345. {
  346. as_val=`expr "$@" || test $? -eq 1`
  347. }
  348. fi # as_fn_arith
  349. # as_fn_error STATUS ERROR [LINENO LOG_FD]
  350. # ----------------------------------------
  351. # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  352. # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  353. # script with STATUS, using 1 if that was 0.
  354. as_fn_error ()
  355. {
  356. as_status=$1; test $as_status -eq 0 && as_status=1
  357. if test "$4"; then
  358. as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  359. $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
  360. fi
  361. $as_echo "$as_me: error: $2" >&2
  362. as_fn_exit $as_status
  363. } # as_fn_error
  364. if expr a : '\(a\)' >/dev/null 2>&1 &&
  365. test "X`expr 00001 : '.*\(...\)'`" = X001; then
  366. as_expr=expr
  367. else
  368. as_expr=false
  369. fi
  370. if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  371. as_basename=basename
  372. else
  373. as_basename=false
  374. fi
  375. if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  376. as_dirname=dirname
  377. else
  378. as_dirname=false
  379. fi
  380. as_me=`$as_basename -- "$0" ||
  381. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  382. X"$0" : 'X\(//\)$' \| \
  383. X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  384. $as_echo X/"$0" |
  385. sed '/^.*\/\([^/][^/]*\)\/*$/{
  386. s//\1/
  387. q
  388. }
  389. /^X\/\(\/\/\)$/{
  390. s//\1/
  391. q
  392. }
  393. /^X\/\(\/\).*/{
  394. s//\1/
  395. q
  396. }
  397. s/.*/./; q'`
  398. # Avoid depending upon Character Ranges.
  399. as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  400. as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  401. as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  402. as_cr_digits='0123456789'
  403. as_cr_alnum=$as_cr_Letters$as_cr_digits
  404. as_lineno_1=$LINENO as_lineno_1a=$LINENO
  405. as_lineno_2=$LINENO as_lineno_2a=$LINENO
  406. eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
  407. test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
  408. # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
  409. sed -n '
  410. p
  411. /[$]LINENO/=
  412. ' <$as_myself |
  413. sed '
  414. s/[$]LINENO.*/&-/
  415. t lineno
  416. b
  417. :lineno
  418. N
  419. :loop
  420. s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
  421. t loop
  422. s/-\n.*//
  423. ' >$as_me.lineno &&
  424. chmod +x "$as_me.lineno" ||
  425. { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
  426. # Don't try to exec as it changes $[0], causing all sort of problems
  427. # (the dirname of $[0] is not the place where we might find the
  428. # original and so on. Autoconf is especially sensitive to this).
  429. . "./$as_me.lineno"
  430. # Exit status is that of the last command.
  431. exit
  432. }
  433. ECHO_C= ECHO_N= ECHO_T=
  434. case `echo -n x` in #(((((
  435. -n*)
  436. case `echo 'xy\c'` in
  437. *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  438. xy) ECHO_C='\c';;
  439. *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
  440. ECHO_T=' ';;
  441. esac;;
  442. *)
  443. ECHO_N='-n';;
  444. esac
  445. rm -f conf$$ conf$$.exe conf$$.file
  446. if test -d conf$$.dir; then
  447. rm -f conf$$.dir/conf$$.file
  448. else
  449. rm -f conf$$.dir
  450. mkdir conf$$.dir 2>/dev/null
  451. fi
  452. if (echo >conf$$.file) 2>/dev/null; then
  453. if ln -s conf$$.file conf$$ 2>/dev/null; then
  454. as_ln_s='ln -s'
  455. # ... but there are two gotchas:
  456. # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  457. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  458. # In both cases, we have to default to `cp -p'.
  459. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  460. as_ln_s='cp -p'
  461. elif ln conf$$.file conf$$ 2>/dev/null; then
  462. as_ln_s=ln
  463. else
  464. as_ln_s='cp -p'
  465. fi
  466. else
  467. as_ln_s='cp -p'
  468. fi
  469. rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  470. rmdir conf$$.dir 2>/dev/null
  471. if mkdir -p . 2>/dev/null; then
  472. as_mkdir_p='mkdir -p "$as_dir"'
  473. else
  474. test -d ./-p && rmdir ./-p
  475. as_mkdir_p=false
  476. fi
  477. if test -x / >/dev/null 2>&1; then
  478. as_test_x='test -x'
  479. else
  480. if ls -dL / >/dev/null 2>&1; then
  481. as_ls_L_option=L
  482. else
  483. as_ls_L_option=
  484. fi
  485. as_test_x='
  486. eval sh -c '\''
  487. if test -d "$1"; then
  488. test -d "$1/.";
  489. else
  490. case $1 in #(
  491. -*)set "./$1";;
  492. esac;
  493. case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
  494. ???[sx]*):;;*)false;;esac;fi
  495. '\'' sh
  496. '
  497. fi
  498. as_executable_p=$as_test_x
  499. # Sed expression to map a string onto a valid CPP name.
  500. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  501. # Sed expression to map a string onto a valid variable name.
  502. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  503. SHELL=${CONFIG_SHELL-/bin/sh}
  504. test -n "$DJDIR" || exec 7<&0 </dev/null
  505. exec 6>&1
  506. # Name of the host.
  507. # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
  508. # so uname gets run too.
  509. ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
  510. #
  511. # Initializations.
  512. #
  513. ac_default_prefix=/usr/local
  514. ac_clean_files=
  515. ac_config_libobj_dir=.
  516. LIBOBJS=
  517. cross_compiling=no
  518. subdirs=
  519. MFLAGS=
  520. MAKEFLAGS=
  521. # Identity of this package.
  522. PACKAGE_NAME='libzipper'
  523. PACKAGE_TARNAME='libzipper'
  524. PACKAGE_VERSION='1.0.3'
  525. PACKAGE_STRING='libzipper 1.0.3'
  526. PACKAGE_BUGREPORT='michael@codesrc.com'
  527. PACKAGE_URL=''
  528. # Factoring default headers for most tests.
  529. ac_includes_default="\
  530. #include <stdio.h>
  531. #ifdef HAVE_SYS_TYPES_H
  532. # include <sys/types.h>
  533. #endif
  534. #ifdef HAVE_SYS_STAT_H
  535. # include <sys/stat.h>
  536. #endif
  537. #ifdef STDC_HEADERS
  538. # include <stdlib.h>
  539. # include <stddef.h>
  540. #else
  541. # ifdef HAVE_STDLIB_H
  542. # include <stdlib.h>
  543. # endif
  544. #endif
  545. #ifdef HAVE_STRING_H
  546. # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  547. # include <memory.h>
  548. # endif
  549. # include <string.h>
  550. #endif
  551. #ifdef HAVE_STRINGS_H
  552. # include <strings.h>
  553. #endif
  554. #ifdef HAVE_INTTYPES_H
  555. # include <inttypes.h>
  556. #endif
  557. #ifdef HAVE_STDINT_H
  558. # include <stdint.h>
  559. #endif
  560. #ifdef HAVE_UNISTD_H
  561. # include <unistd.h>
  562. #endif"
  563. ac_subst_vars='am__EXEEXT_FALSE
  564. am__EXEEXT_TRUE
  565. LTLIBOBJS
  566. LIBOBJS
  567. ZLIB_LIBS
  568. ZLIB_CFLAGS
  569. PKG_CONFIG_LIBDIR
  570. PKG_CONFIG_PATH
  571. PKG_CONFIG
  572. DOXYGEN_PAPER_SIZE
  573. DX_COND_latex_FALSE
  574. DX_COND_latex_TRUE
  575. DX_COND_pdf_FALSE
  576. DX_COND_pdf_TRUE
  577. DX_PDFLATEX
  578. DX_FLAG_pdf
  579. DX_COND_ps_FALSE
  580. DX_COND_ps_TRUE
  581. DX_EGREP
  582. DX_DVIPS
  583. DX_MAKEINDEX
  584. DX_LATEX
  585. DX_FLAG_ps
  586. DX_COND_html_FALSE
  587. DX_COND_html_TRUE
  588. DX_FLAG_html
  589. DX_COND_chi_FALSE
  590. DX_COND_chi_TRUE
  591. DX_FLAG_chi
  592. DX_COND_chm_FALSE
  593. DX_COND_chm_TRUE
  594. DX_HHC
  595. DX_FLAG_chm
  596. DX_COND_xml_FALSE
  597. DX_COND_xml_TRUE
  598. DX_FLAG_xml
  599. DX_COND_rtf_FALSE
  600. DX_COND_rtf_TRUE
  601. DX_FLAG_rtf
  602. DX_COND_man_FALSE
  603. DX_COND_man_TRUE
  604. DX_FLAG_man
  605. DX_COND_dot_FALSE
  606. DX_COND_dot_TRUE
  607. DX_DOT
  608. DX_FLAG_dot
  609. DX_COND_doc_FALSE
  610. DX_COND_doc_TRUE
  611. DX_PERL
  612. DX_DOXYGEN
  613. DX_FLAG_doc
  614. DX_ENV
  615. DX_DOCDIR
  616. DX_CONFIG
  617. DX_PROJECT
  618. HAVE_GNU_STRERROR_FALSE
  619. HAVE_GNU_STRERROR_TRUE
  620. CXXCPP
  621. CPP
  622. OTOOL64
  623. OTOOL
  624. LIPO
  625. NMEDIT
  626. DSYMUTIL
  627. MANIFEST_TOOL
  628. RANLIB
  629. ac_ct_AR
  630. AR
  631. DLLTOOL
  632. OBJDUMP
  633. LN_S
  634. NM
  635. ac_ct_DUMPBIN
  636. DUMPBIN
  637. LD
  638. FGREP
  639. EGREP
  640. GREP
  641. SED
  642. am__fastdepCC_FALSE
  643. am__fastdepCC_TRUE
  644. CCDEPMODE
  645. ac_ct_CC
  646. CFLAGS
  647. CC
  648. LIBTOOL
  649. am__fastdepCXX_FALSE
  650. am__fastdepCXX_TRUE
  651. CXXDEPMODE
  652. AMDEPBACKSLASH
  653. AMDEP_FALSE
  654. AMDEP_TRUE
  655. am__quote
  656. am__include
  657. DEPDIR
  658. OBJEXT
  659. EXEEXT
  660. ac_ct_CXX
  661. CPPFLAGS
  662. LDFLAGS
  663. CXXFLAGS
  664. CXX
  665. libzipper_version
  666. MAINT
  667. MAINTAINER_MODE_FALSE
  668. MAINTAINER_MODE_TRUE
  669. am__untar
  670. am__tar
  671. AMTAR
  672. am__leading_dot
  673. SET_MAKE
  674. AWK
  675. mkdir_p
  676. MKDIR_P
  677. INSTALL_STRIP_PROGRAM
  678. STRIP
  679. install_sh
  680. MAKEINFO
  681. AUTOHEADER
  682. AUTOMAKE
  683. AUTOCONF
  684. ACLOCAL
  685. VERSION
  686. PACKAGE
  687. CYGPATH_W
  688. am__isrc
  689. INSTALL_DATA
  690. INSTALL_SCRIPT
  691. INSTALL_PROGRAM
  692. target_os
  693. target_vendor
  694. target_cpu
  695. target
  696. host_os
  697. host_vendor
  698. host_cpu
  699. host
  700. build_os
  701. build_vendor
  702. build_cpu
  703. build
  704. target_alias
  705. host_alias
  706. build_alias
  707. LIBS
  708. ECHO_T
  709. ECHO_N
  710. ECHO_C
  711. DEFS
  712. mandir
  713. localedir
  714. libdir
  715. psdir
  716. pdfdir
  717. dvidir
  718. htmldir
  719. infodir
  720. docdir
  721. oldincludedir
  722. includedir
  723. localstatedir
  724. sharedstatedir
  725. sysconfdir
  726. datadir
  727. datarootdir
  728. libexecdir
  729. sbindir
  730. bindir
  731. program_transform_name
  732. prefix
  733. exec_prefix
  734. PACKAGE_URL
  735. PACKAGE_BUGREPORT
  736. PACKAGE_STRING
  737. PACKAGE_VERSION
  738. PACKAGE_TARNAME
  739. PACKAGE_NAME
  740. PATH_SEPARATOR
  741. SHELL'
  742. ac_subst_files=''
  743. ac_user_opts='
  744. enable_option_checking
  745. enable_maintainer_mode
  746. enable_dependency_tracking
  747. enable_shared
  748. enable_static
  749. with_pic
  750. enable_fast_install
  751. with_gnu_ld
  752. with_sysroot
  753. enable_libtool_lock
  754. enable_doxygen_doc
  755. enable_doxygen_dot
  756. enable_doxygen_man
  757. enable_doxygen_rtf
  758. enable_doxygen_xml
  759. enable_doxygen_chm
  760. enable_doxygen_chi
  761. enable_doxygen_html
  762. enable_doxygen_ps
  763. enable_doxygen_pdf
  764. '
  765. ac_precious_vars='build_alias
  766. host_alias
  767. target_alias
  768. CXX
  769. CXXFLAGS
  770. LDFLAGS
  771. LIBS
  772. CPPFLAGS
  773. CCC
  774. CC
  775. CFLAGS
  776. CPP
  777. CXXCPP
  778. DOXYGEN_PAPER_SIZE
  779. PKG_CONFIG
  780. PKG_CONFIG_PATH
  781. PKG_CONFIG_LIBDIR
  782. ZLIB_CFLAGS
  783. ZLIB_LIBS'
  784. # Initialize some variables set by options.
  785. ac_init_help=
  786. ac_init_version=false
  787. ac_unrecognized_opts=
  788. ac_unrecognized_sep=
  789. # The variables have the same names as the options, with
  790. # dashes changed to underlines.
  791. cache_file=/dev/null
  792. exec_prefix=NONE
  793. no_create=
  794. no_recursion=
  795. prefix=NONE
  796. program_prefix=NONE
  797. program_suffix=NONE
  798. program_transform_name=s,x,x,
  799. silent=
  800. site=
  801. srcdir=
  802. verbose=
  803. x_includes=NONE
  804. x_libraries=NONE
  805. # Installation directory options.
  806. # These are left unexpanded so users can "make install exec_prefix=/foo"
  807. # and all the variables that are supposed to be based on exec_prefix
  808. # by default will actually change.
  809. # Use braces instead of parens because sh, perl, etc. also accept them.
  810. # (The list follows the same order as the GNU Coding Standards.)
  811. bindir='${exec_prefix}/bin'
  812. sbindir='${exec_prefix}/sbin'
  813. libexecdir='${exec_prefix}/libexec'
  814. datarootdir='${prefix}/share'
  815. datadir='${datarootdir}'
  816. sysconfdir='${prefix}/etc'
  817. sharedstatedir='${prefix}/com'
  818. localstatedir='${prefix}/var'
  819. includedir='${prefix}/include'
  820. oldincludedir='/usr/include'
  821. docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
  822. infodir='${datarootdir}/info'
  823. htmldir='${docdir}'
  824. dvidir='${docdir}'
  825. pdfdir='${docdir}'
  826. psdir='${docdir}'
  827. libdir='${exec_prefix}/lib'
  828. localedir='${datarootdir}/locale'
  829. mandir='${datarootdir}/man'
  830. ac_prev=
  831. ac_dashdash=
  832. for ac_option
  833. do
  834. # If the previous option needs an argument, assign it.
  835. if test -n "$ac_prev"; then
  836. eval $ac_prev=\$ac_option
  837. ac_prev=
  838. continue
  839. fi
  840. case $ac_option in
  841. *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
  842. *=) ac_optarg= ;;
  843. *) ac_optarg=yes ;;
  844. esac
  845. # Accept the important Cygnus configure options, so we can diagnose typos.
  846. case $ac_dashdash$ac_option in
  847. --)
  848. ac_dashdash=yes ;;
  849. -bindir | --bindir | --bindi | --bind | --bin | --bi)
  850. ac_prev=bindir ;;
  851. -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  852. bindir=$ac_optarg ;;
  853. -build | --build | --buil | --bui | --bu)
  854. ac_prev=build_alias ;;
  855. -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  856. build_alias=$ac_optarg ;;
  857. -cache-file | --cache-file | --cache-fil | --cache-fi \
  858. | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  859. ac_prev=cache_file ;;
  860. -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  861. | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  862. cache_file=$ac_optarg ;;
  863. --config-cache | -C)
  864. cache_file=config.cache ;;
  865. -datadir | --datadir | --datadi | --datad)
  866. ac_prev=datadir ;;
  867. -datadir=* | --datadir=* | --datadi=* | --datad=*)
  868. datadir=$ac_optarg ;;
  869. -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
  870. | --dataroo | --dataro | --datar)
  871. ac_prev=datarootdir ;;
  872. -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
  873. | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
  874. datarootdir=$ac_optarg ;;
  875. -disable-* | --disable-*)
  876. ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  877. # Reject names that are not valid shell variable names.
  878. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  879. as_fn_error $? "invalid feature name: $ac_useropt"
  880. ac_useropt_orig=$ac_useropt
  881. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  882. case $ac_user_opts in
  883. *"
  884. "enable_$ac_useropt"
  885. "*) ;;
  886. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
  887. ac_unrecognized_sep=', ';;
  888. esac
  889. eval enable_$ac_useropt=no ;;
  890. -docdir | --docdir | --docdi | --doc | --do)
  891. ac_prev=docdir ;;
  892. -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
  893. docdir=$ac_optarg ;;
  894. -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
  895. ac_prev=dvidir ;;
  896. -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
  897. dvidir=$ac_optarg ;;
  898. -enable-* | --enable-*)
  899. ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  900. # Reject names that are not valid shell variable names.
  901. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  902. as_fn_error $? "invalid feature name: $ac_useropt"
  903. ac_useropt_orig=$ac_useropt
  904. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  905. case $ac_user_opts in
  906. *"
  907. "enable_$ac_useropt"
  908. "*) ;;
  909. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
  910. ac_unrecognized_sep=', ';;
  911. esac
  912. eval enable_$ac_useropt=\$ac_optarg ;;
  913. -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  914. | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  915. | --exec | --exe | --ex)
  916. ac_prev=exec_prefix ;;
  917. -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  918. | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  919. | --exec=* | --exe=* | --ex=*)
  920. exec_prefix=$ac_optarg ;;
  921. -gas | --gas | --ga | --g)
  922. # Obsolete; use --with-gas.
  923. with_gas=yes ;;
  924. -help | --help | --hel | --he | -h)
  925. ac_init_help=long ;;
  926. -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  927. ac_init_help=recursive ;;
  928. -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  929. ac_init_help=short ;;
  930. -host | --host | --hos | --ho)
  931. ac_prev=host_alias ;;
  932. -host=* | --host=* | --hos=* | --ho=*)
  933. host_alias=$ac_optarg ;;
  934. -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
  935. ac_prev=htmldir ;;
  936. -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
  937. | --ht=*)
  938. htmldir=$ac_optarg ;;
  939. -includedir | --includedir | --includedi | --included | --include \
  940. | --includ | --inclu | --incl | --inc)
  941. ac_prev=includedir ;;
  942. -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  943. | --includ=* | --inclu=* | --incl=* | --inc=*)
  944. includedir=$ac_optarg ;;
  945. -infodir | --infodir | --infodi | --infod | --info | --inf)
  946. ac_prev=infodir ;;
  947. -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  948. infodir=$ac_optarg ;;
  949. -libdir | --libdir | --libdi | --libd)
  950. ac_prev=libdir ;;
  951. -libdir=* | --libdir=* | --libdi=* | --libd=*)
  952. libdir=$ac_optarg ;;
  953. -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  954. | --libexe | --libex | --libe)
  955. ac_prev=libexecdir ;;
  956. -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  957. | --libexe=* | --libex=* | --libe=*)
  958. libexecdir=$ac_optarg ;;
  959. -localedir | --localedir | --localedi | --localed | --locale)
  960. ac_prev=localedir ;;
  961. -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
  962. localedir=$ac_optarg ;;
  963. -localstatedir | --localstatedir | --localstatedi | --localstated \
  964. | --localstate | --localstat | --localsta | --localst | --locals)
  965. ac_prev=localstatedir ;;
  966. -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  967. | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
  968. localstatedir=$ac_optarg ;;
  969. -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  970. ac_prev=mandir ;;
  971. -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  972. mandir=$ac_optarg ;;
  973. -nfp | --nfp | --nf)
  974. # Obsolete; use --without-fp.
  975. with_fp=no ;;
  976. -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  977. | --no-cr | --no-c | -n)
  978. no_create=yes ;;
  979. -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  980. | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  981. no_recursion=yes ;;
  982. -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  983. | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  984. | --oldin | --oldi | --old | --ol | --o)
  985. ac_prev=oldincludedir ;;
  986. -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  987. | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  988. | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  989. oldincludedir=$ac_optarg ;;
  990. -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  991. ac_prev=prefix ;;
  992. -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  993. prefix=$ac_optarg ;;
  994. -program-prefix | --program-prefix | --program-prefi | --program-pref \
  995. | --program-pre | --program-pr | --program-p)
  996. ac_prev=program_prefix ;;
  997. -program-prefix=* | --program-prefix=* | --program-prefi=* \
  998. | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  999. program_prefix=$ac_optarg ;;
  1000. -program-suffix | --program-suffix | --program-suffi | --program-suff \
  1001. | --program-suf | --program-su | --program-s)
  1002. ac_prev=program_suffix ;;
  1003. -program-suffix=* | --program-suffix=* | --program-suffi=* \
  1004. | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  1005. program_suffix=$ac_optarg ;;
  1006. -program-transform-name | --program-transform-name \
  1007. | --program-transform-nam | --program-transform-na \
  1008. | --program-transform-n | --program-transform- \
  1009. | --program-transform | --program-transfor \
  1010. | --program-transfo | --program-transf \
  1011. | --program-trans | --program-tran \
  1012. | --progr-tra | --program-tr | --program-t)
  1013. ac_prev=program_transform_name ;;
  1014. -program-transform-name=* | --program-transform-name=* \
  1015. | --program-transform-nam=* | --program-transform-na=* \
  1016. | --program-transform-n=* | --program-transform-=* \
  1017. | --program-transform=* | --program-transfor=* \
  1018. | --program-transfo=* | --program-transf=* \
  1019. | --program-trans=* | --program-tran=* \
  1020. | --progr-tra=* | --program-tr=* | --program-t=*)
  1021. program_transform_name=$ac_optarg ;;
  1022. -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
  1023. ac_prev=pdfdir ;;
  1024. -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
  1025. pdfdir=$ac_optarg ;;
  1026. -psdir | --psdir | --psdi | --psd | --ps)
  1027. ac_prev=psdir ;;
  1028. -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
  1029. psdir=$ac_optarg ;;
  1030. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1031. | -silent | --silent | --silen | --sile | --sil)
  1032. silent=yes ;;
  1033. -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  1034. ac_prev=sbindir ;;
  1035. -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  1036. | --sbi=* | --sb=*)
  1037. sbindir=$ac_optarg ;;
  1038. -sharedstatedir | --sharedstatedir | --sharedstatedi \
  1039. | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  1040. | --sharedst | --shareds | --shared | --share | --shar \
  1041. | --sha | --sh)
  1042. ac_prev=sharedstatedir ;;
  1043. -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  1044. | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  1045. | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  1046. | --sha=* | --sh=*)
  1047. sharedstatedir=$ac_optarg ;;
  1048. -site | --site | --sit)
  1049. ac_prev=site ;;
  1050. -site=* | --site=* | --sit=*)
  1051. site=$ac_optarg ;;
  1052. -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  1053. ac_prev=srcdir ;;
  1054. -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  1055. srcdir=$ac_optarg ;;
  1056. -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  1057. | --syscon | --sysco | --sysc | --sys | --sy)
  1058. ac_prev=sysconfdir ;;
  1059. -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  1060. | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  1061. sysconfdir=$ac_optarg ;;
  1062. -target | --target | --targe | --targ | --tar | --ta | --t)
  1063. ac_prev=target_alias ;;
  1064. -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  1065. target_alias=$ac_optarg ;;
  1066. -v | -verbose | --verbose | --verbos | --verbo | --verb)
  1067. verbose=yes ;;
  1068. -version | --version | --versio | --versi | --vers | -V)
  1069. ac_init_version=: ;;
  1070. -with-* | --with-*)
  1071. ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  1072. # Reject names that are not valid shell variable names.
  1073. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1074. as_fn_error $? "invalid package name: $ac_useropt"
  1075. ac_useropt_orig=$ac_useropt
  1076. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1077. case $ac_user_opts in
  1078. *"
  1079. "with_$ac_useropt"
  1080. "*) ;;
  1081. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
  1082. ac_unrecognized_sep=', ';;
  1083. esac
  1084. eval with_$ac_useropt=\$ac_optarg ;;
  1085. -without-* | --without-*)
  1086. ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  1087. # Reject names that are not valid shell variable names.
  1088. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1089. as_fn_error $? "invalid package name: $ac_useropt"
  1090. ac_useropt_orig=$ac_useropt
  1091. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1092. case $ac_user_opts in
  1093. *"
  1094. "with_$ac_useropt"
  1095. "*) ;;
  1096. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
  1097. ac_unrecognized_sep=', ';;
  1098. esac
  1099. eval with_$ac_useropt=no ;;
  1100. --x)
  1101. # Obsolete; use --with-x.
  1102. with_x=yes ;;
  1103. -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  1104. | --x-incl | --x-inc | --x-in | --x-i)
  1105. ac_prev=x_includes ;;
  1106. -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  1107. | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  1108. x_includes=$ac_optarg ;;
  1109. -x-libraries | --x-libraries | --x-librarie | --x-librari \
  1110. | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  1111. ac_prev=x_libraries ;;
  1112. -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  1113. | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  1114. x_libraries=$ac_optarg ;;
  1115. -*) as_fn_error $? "unrecognized option: \`$ac_option'
  1116. Try \`$0 --help' for more information"
  1117. ;;
  1118. *=*)
  1119. ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  1120. # Reject names that are not valid shell variable names.
  1121. case $ac_envvar in #(
  1122. '' | [0-9]* | *[!_$as_cr_alnum]* )
  1123. as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
  1124. esac
  1125. eval $ac_envvar=\$ac_optarg
  1126. export $ac_envvar ;;
  1127. *)
  1128. # FIXME: should be removed in autoconf 3.0.
  1129. $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  1130. expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  1131. $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  1132. : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
  1133. ;;
  1134. esac
  1135. done
  1136. if test -n "$ac_prev"; then
  1137. ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  1138. as_fn_error $? "missing argument to $ac_option"
  1139. fi
  1140. if test -n "$ac_unrecognized_opts"; then
  1141. case $enable_option_checking in
  1142. no) ;;
  1143. fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
  1144. *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
  1145. esac
  1146. fi
  1147. # Check all directory arguments for consistency.
  1148. for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
  1149. datadir sysconfdir sharedstatedir localstatedir includedir \
  1150. oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
  1151. libdir localedir mandir
  1152. do
  1153. eval ac_val=\$$ac_var
  1154. # Remove trailing slashes.
  1155. case $ac_val in
  1156. */ )
  1157. ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
  1158. eval $ac_var=\$ac_val;;
  1159. esac
  1160. # Be sure to have absolute directory names.
  1161. case $ac_val in
  1162. [\\/$]* | ?:[\\/]* ) continue;;
  1163. NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
  1164. esac
  1165. as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
  1166. done
  1167. # There might be people who depend on the old broken behavior: `$host'
  1168. # used to hold the argument of --host etc.
  1169. # FIXME: To remove some day.
  1170. build=$build_alias
  1171. host=$host_alias
  1172. target=$target_alias
  1173. # FIXME: To remove some day.
  1174. if test "x$host_alias" != x; then
  1175. if test "x$build_alias" = x; then
  1176. cross_compiling=maybe
  1177. $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
  1178. If a cross compiler is detected then cross compile mode will be used" >&2
  1179. elif test "x$build_alias" != "x$host_alias"; then
  1180. cross_compiling=yes
  1181. fi
  1182. fi
  1183. ac_tool_prefix=
  1184. test -n "$host_alias" && ac_tool_prefix=$host_alias-
  1185. test "$silent" = yes && exec 6>/dev/null
  1186. ac_pwd=`pwd` && test -n "$ac_pwd" &&
  1187. ac_ls_di=`ls -di .` &&
  1188. ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
  1189. as_fn_error $? "working directory cannot be determined"
  1190. test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
  1191. as_fn_error $? "pwd does not report name of working directory"
  1192. # Find the source files, if location was not specified.
  1193. if test -z "$srcdir"; then
  1194. ac_srcdir_defaulted=yes
  1195. # Try the directory containing this script, then the parent directory.
  1196. ac_confdir=`$as_dirname -- "$as_myself" ||
  1197. $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1198. X"$as_myself" : 'X\(//\)[^/]' \| \
  1199. X"$as_myself" : 'X\(//\)$' \| \
  1200. X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
  1201. $as_echo X"$as_myself" |
  1202. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  1203. s//\1/
  1204. q
  1205. }
  1206. /^X\(\/\/\)[^/].*/{
  1207. s//\1/
  1208. q
  1209. }
  1210. /^X\(\/\/\)$/{
  1211. s//\1/
  1212. q
  1213. }
  1214. /^X\(\/\).*/{
  1215. s//\1/
  1216. q
  1217. }
  1218. s/.*/./; q'`
  1219. srcdir=$ac_confdir
  1220. if test ! -r "$srcdir/$ac_unique_file"; then
  1221. srcdir=..
  1222. fi
  1223. else
  1224. ac_srcdir_defaulted=no
  1225. fi
  1226. if test ! -r "$srcdir/$ac_unique_file"; then
  1227. test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
  1228. as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
  1229. fi
  1230. ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
  1231. ac_abs_confdir=`(
  1232. cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
  1233. pwd)`
  1234. # When building in place, set srcdir=.
  1235. if test "$ac_abs_confdir" = "$ac_pwd"; then
  1236. srcdir=.
  1237. fi
  1238. # Remove unnecessary trailing slashes from srcdir.
  1239. # Double slashes in file names in object file debugging info
  1240. # mess up M-x gdb in Emacs.
  1241. case $srcdir in
  1242. */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
  1243. esac
  1244. for ac_var in $ac_precious_vars; do
  1245. eval ac_env_${ac_var}_set=\${${ac_var}+set}
  1246. eval ac_env_${ac_var}_value=\$${ac_var}
  1247. eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
  1248. eval ac_cv_env_${ac_var}_value=\$${ac_var}
  1249. done
  1250. #
  1251. # Report the --help message.
  1252. #
  1253. if test "$ac_init_help" = "long"; then
  1254. # Omit some internal or obsolete options to make the list less imposing.
  1255. # This message is too long to be a string in the A/UX 3.1 sh.
  1256. cat <<_ACEOF
  1257. \`configure' configures libzipper 1.0.3 to adapt to many kinds of systems.
  1258. Usage: $0 [OPTION]... [VAR=VALUE]...
  1259. To assign environment variables (e.g., CC, CFLAGS...), specify them as
  1260. VAR=VALUE. See below for descriptions of some of the useful variables.
  1261. Defaults for the options are specified in brackets.
  1262. Configuration:
  1263. -h, --help display this help and exit
  1264. --help=short display options specific to this package
  1265. --help=recursive display the short help of all the included packages
  1266. -V, --version display version information and exit
  1267. -q, --quiet, --silent do not print \`checking ...' messages
  1268. --cache-file=FILE cache test results in FILE [disabled]
  1269. -C, --config-cache alias for \`--cache-file=config.cache'
  1270. -n, --no-create do not create output files
  1271. --srcdir=DIR find the sources in DIR [configure dir or \`..']
  1272. Installation directories:
  1273. --prefix=PREFIX install architecture-independent files in PREFIX
  1274. [$ac_default_prefix]
  1275. --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
  1276. [PREFIX]
  1277. By default, \`make install' will install all the files in
  1278. \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
  1279. an installation prefix other than \`$ac_default_prefix' using \`--prefix',
  1280. for instance \`--prefix=\$HOME'.
  1281. For better control, use the options below.
  1282. Fine tuning of the installation directories:
  1283. --bindir=DIR user executables [EPREFIX/bin]
  1284. --sbindir=DIR system admin executables [EPREFIX/sbin]
  1285. --libexecdir=DIR program executables [EPREFIX/libexec]
  1286. --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
  1287. --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
  1288. --localstatedir=DIR modifiable single-machine data [PREFIX/var]
  1289. --libdir=DIR object code libraries [EPREFIX/lib]
  1290. --includedir=DIR C header files [PREFIX/include]
  1291. --oldincludedir=DIR C header files for non-gcc [/usr/include]
  1292. --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
  1293. --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
  1294. --infodir=DIR info documentation [DATAROOTDIR/info]
  1295. --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
  1296. --mandir=DIR man documentation [DATAROOTDIR/man]
  1297. --docdir=DIR documentation root [DATAROOTDIR/doc/libzipper]
  1298. --htmldir=DIR html documentation [DOCDIR]
  1299. --dvidir=DIR dvi documentation [DOCDIR]
  1300. --pdfdir=DIR pdf documentation [DOCDIR]
  1301. --psdir=DIR ps documentation [DOCDIR]
  1302. _ACEOF
  1303. cat <<\_ACEOF
  1304. Program names:
  1305. --program-prefix=PREFIX prepend PREFIX to installed program names
  1306. --program-suffix=SUFFIX append SUFFIX to installed program names
  1307. --program-transform-name=PROGRAM run sed PROGRAM on installed program names
  1308. System types:
  1309. --build=BUILD configure for building on BUILD [guessed]
  1310. --host=HOST cross-compile to build programs to run on HOST [BUILD]
  1311. --target=TARGET configure for building compilers for TARGET [HOST]
  1312. _ACEOF
  1313. fi
  1314. if test -n "$ac_init_help"; then
  1315. case $ac_init_help in
  1316. short | recursive ) echo "Configuration of libzipper 1.0.3:";;
  1317. esac
  1318. cat <<\_ACEOF
  1319. Optional Features:
  1320. --disable-option-checking ignore unrecognized --enable/--with options
  1321. --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
  1322. --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
  1323. --enable-maintainer-mode enable make rules and dependencies not useful
  1324. (and sometimes confusing) to the casual installer
  1325. --disable-dependency-tracking speeds up one-time build
  1326. --enable-dependency-tracking do not reject slow dependency extractors
  1327. --enable-shared[=PKGS] build shared libraries [default=yes]
  1328. --enable-static[=PKGS] build static libraries [default=yes]
  1329. --enable-fast-install[=PKGS]
  1330. optimize for fast installation [default=yes]
  1331. --disable-libtool-lock avoid locking (might break parallel builds)
  1332. --disable-doxygen-doc don't generate any doxygen documentation
  1333. --enable-doxygen-dot generate graphics for doxygen documentation
  1334. --enable-doxygen-man generate doxygen manual pages
  1335. --enable-doxygen-rtf generate doxygen RTF documentation
  1336. --enable-doxygen-xml generate doxygen XML documentation
  1337. --enable-doxygen-chm generate doxygen compressed HTML help documentation
  1338. --enable-doxygen-chi generate doxygen seperate compressed HTML help index
  1339. file
  1340. --disable-doxygen-html don't generate doxygen plain HTML documentation
  1341. --enable-doxygen-ps generate doxygen PostScript documentation
  1342. --enable-doxygen-pdf generate doxygen PDF documentation
  1343. Optional Packages:
  1344. --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
  1345. --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
  1346. --with-pic try to use only PIC/non-PIC objects [default=use
  1347. both]
  1348. --with-gnu-ld assume the C compiler uses GNU ld [default=no]
  1349. --with-sysroot=DIR Search for dependent libraries within DIR
  1350. (or the compiler's sysroot if not specified).
  1351. Some influential environment variables:
  1352. CXX C++ compiler command
  1353. CXXFLAGS C++ compiler flags
  1354. LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
  1355. nonstandard directory <lib dir>
  1356. LIBS libraries to pass to the linker, e.g. -l<library>
  1357. CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
  1358. you have headers in a nonstandard directory <include dir>
  1359. CC C compiler command
  1360. CFLAGS C compiler flags
  1361. CPP C preprocessor
  1362. CXXCPP C++ preprocessor
  1363. DOXYGEN_PAPER_SIZE
  1364. a4wide (default), a4, letter, legal or executive
  1365. PKG_CONFIG path to pkg-config utility
  1366. PKG_CONFIG_PATH
  1367. directories to add to pkg-config's search path
  1368. PKG_CONFIG_LIBDIR
  1369. path overriding pkg-config's built-in search path
  1370. ZLIB_CFLAGS C compiler flags for ZLIB, overriding pkg-config
  1371. ZLIB_LIBS linker flags for ZLIB, overriding pkg-config
  1372. Use these variables to override the choices made by `configure' or to help
  1373. it to find libraries and programs with nonstandard names/locations.
  1374. Report bugs to <michael@codesrc.com>.
  1375. _ACEOF
  1376. ac_status=$?
  1377. fi
  1378. if test "$ac_init_help" = "recursive"; then
  1379. # If there are subdirs, report their specific --help.
  1380. for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  1381. test -d "$ac_dir" ||
  1382. { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
  1383. continue
  1384. ac_builddir=.
  1385. case "$ac_dir" in
  1386. .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1387. *)
  1388. ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  1389. # A ".." for each directory in $ac_dir_suffix.
  1390. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  1391. case $ac_top_builddir_sub in
  1392. "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1393. *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  1394. esac ;;
  1395. esac
  1396. ac_abs_top_builddir=$ac_pwd
  1397. ac_abs_builddir=$ac_pwd$ac_dir_suffix
  1398. # for backward compatibility:
  1399. ac_top_builddir=$ac_top_build_prefix
  1400. case $srcdir in
  1401. .) # We are building in place.
  1402. ac_srcdir=.
  1403. ac_top_srcdir=$ac_top_builddir_sub
  1404. ac_abs_top_srcdir=$ac_pwd ;;
  1405. [\\/]* | ?:[\\/]* ) # Absolute name.
  1406. ac_srcdir=$srcdir$ac_dir_suffix;
  1407. ac_top_srcdir=$srcdir
  1408. ac_abs_top_srcdir=$srcdir ;;
  1409. *) # Relative name.
  1410. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  1411. ac_top_srcdir=$ac_top_build_prefix$srcdir
  1412. ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  1413. esac
  1414. ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  1415. cd "$ac_dir" || { ac_status=$?; continue; }
  1416. # Check for guested configure.
  1417. if test -f "$ac_srcdir/configure.gnu"; then
  1418. echo &&
  1419. $SHELL "$ac_srcdir/configure.gnu" --help=recursive
  1420. elif test -f "$ac_srcdir/configure"; then
  1421. echo &&
  1422. $SHELL "$ac_srcdir/configure" --help=recursive
  1423. else
  1424. $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  1425. fi || ac_status=$?
  1426. cd "$ac_pwd" || { ac_status=$?; break; }
  1427. done
  1428. fi
  1429. test -n "$ac_init_help" && exit $ac_status
  1430. if $ac_init_version; then
  1431. cat <<\_ACEOF
  1432. libzipper configure 1.0.3
  1433. generated by GNU Autoconf 2.68
  1434. Copyright (C) 2010 Free Software Foundation, Inc.
  1435. This configure script is free software; the Free Software Foundation
  1436. gives unlimited permission to copy, distribute and modify it.
  1437. _ACEOF
  1438. exit
  1439. fi
  1440. ## ------------------------ ##
  1441. ## Autoconf initialization. ##
  1442. ## ------------------------ ##
  1443. # ac_fn_cxx_try_compile LINENO
  1444. # ----------------------------
  1445. # Try to compile conftest.$ac_ext, and return whether this succeeded.
  1446. ac_fn_cxx_try_compile ()
  1447. {
  1448. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1449. rm -f conftest.$ac_objext
  1450. if { { ac_try="$ac_compile"
  1451. case "(($ac_try" in
  1452. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1453. *) ac_try_echo=$ac_try;;
  1454. esac
  1455. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1456. $as_echo "$ac_try_echo"; } >&5
  1457. (eval "$ac_compile") 2>conftest.err
  1458. ac_status=$?
  1459. if test -s conftest.err; then
  1460. grep -v '^ *+' conftest.err >conftest.er1
  1461. cat conftest.er1 >&5
  1462. mv -f conftest.er1 conftest.err
  1463. fi
  1464. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1465. test $ac_status = 0; } && {
  1466. test -z "$ac_cxx_werror_flag" ||
  1467. test ! -s conftest.err
  1468. } && test -s conftest.$ac_objext; then :
  1469. ac_retval=0
  1470. else
  1471. $as_echo "$as_me: failed program was:" >&5
  1472. sed 's/^/| /' conftest.$ac_ext >&5
  1473. ac_retval=1
  1474. fi
  1475. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1476. as_fn_set_status $ac_retval
  1477. } # ac_fn_cxx_try_compile
  1478. # ac_fn_c_try_compile LINENO
  1479. # --------------------------
  1480. # Try to compile conftest.$ac_ext, and return whether this succeeded.
  1481. ac_fn_c_try_compile ()
  1482. {
  1483. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1484. rm -f conftest.$ac_objext
  1485. if { { ac_try="$ac_compile"
  1486. case "(($ac_try" in
  1487. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1488. *) ac_try_echo=$ac_try;;
  1489. esac
  1490. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1491. $as_echo "$ac_try_echo"; } >&5
  1492. (eval "$ac_compile") 2>conftest.err
  1493. ac_status=$?
  1494. if test -s conftest.err; then
  1495. grep -v '^ *+' conftest.err >conftest.er1
  1496. cat conftest.er1 >&5
  1497. mv -f conftest.er1 conftest.err
  1498. fi
  1499. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1500. test $ac_status = 0; } && {
  1501. test -z "$ac_c_werror_flag" ||
  1502. test ! -s conftest.err
  1503. } && test -s conftest.$ac_objext; then :
  1504. ac_retval=0
  1505. else
  1506. $as_echo "$as_me: failed program was:" >&5
  1507. sed 's/^/| /' conftest.$ac_ext >&5
  1508. ac_retval=1
  1509. fi
  1510. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1511. as_fn_set_status $ac_retval
  1512. } # ac_fn_c_try_compile
  1513. # ac_fn_c_try_link LINENO
  1514. # -----------------------
  1515. # Try to link conftest.$ac_ext, and return whether this succeeded.
  1516. ac_fn_c_try_link ()
  1517. {
  1518. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1519. rm -f conftest.$ac_objext conftest$ac_exeext
  1520. if { { ac_try="$ac_link"
  1521. case "(($ac_try" in
  1522. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1523. *) ac_try_echo=$ac_try;;
  1524. esac
  1525. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1526. $as_echo "$ac_try_echo"; } >&5
  1527. (eval "$ac_link") 2>conftest.err
  1528. ac_status=$?
  1529. if test -s conftest.err; then
  1530. grep -v '^ *+' conftest.err >conftest.er1
  1531. cat conftest.er1 >&5
  1532. mv -f conftest.er1 conftest.err
  1533. fi
  1534. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1535. test $ac_status = 0; } && {
  1536. test -z "$ac_c_werror_flag" ||
  1537. test ! -s conftest.err
  1538. } && test -s conftest$ac_exeext && {
  1539. test "$cross_compiling" = yes ||
  1540. $as_test_x conftest$ac_exeext
  1541. }; then :
  1542. ac_retval=0
  1543. else
  1544. $as_echo "$as_me: failed program was:" >&5
  1545. sed 's/^/| /' conftest.$ac_ext >&5
  1546. ac_retval=1
  1547. fi
  1548. # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
  1549. # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
  1550. # interfere with the next link command; also delete a directory that is
  1551. # left behind by Apple's compiler. We do this before executing the actions.
  1552. rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  1553. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1554. as_fn_set_status $ac_retval
  1555. } # ac_fn_c_try_link
  1556. # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
  1557. # -------------------------------------------------------
  1558. # Tests whether HEADER exists and can be compiled using the include files in
  1559. # INCLUDES, setting the cache variable VAR accordingly.
  1560. ac_fn_c_check_header_compile ()
  1561. {
  1562. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1563. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1564. $as_echo_n "checking for $2... " >&6; }
  1565. if eval \${$3+:} false; then :
  1566. $as_echo_n "(cached) " >&6
  1567. else
  1568. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1569. /* end confdefs.h. */
  1570. $4
  1571. #include <$2>
  1572. _ACEOF
  1573. if ac_fn_c_try_compile "$LINENO"; then :
  1574. eval "$3=yes"
  1575. else
  1576. eval "$3=no"
  1577. fi
  1578. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1579. fi
  1580. eval ac_res=\$$3
  1581. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1582. $as_echo "$ac_res" >&6; }
  1583. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1584. } # ac_fn_c_check_header_compile
  1585. # ac_fn_c_try_cpp LINENO
  1586. # ----------------------
  1587. # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
  1588. ac_fn_c_try_cpp ()
  1589. {
  1590. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1591. if { { ac_try="$ac_cpp conftest.$ac_ext"
  1592. case "(($ac_try" in
  1593. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1594. *) ac_try_echo=$ac_try;;
  1595. esac
  1596. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1597. $as_echo "$ac_try_echo"; } >&5
  1598. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
  1599. ac_status=$?
  1600. if test -s conftest.err; then
  1601. grep -v '^ *+' conftest.err >conftest.er1
  1602. cat conftest.er1 >&5
  1603. mv -f conftest.er1 conftest.err
  1604. fi
  1605. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1606. test $ac_status = 0; } > conftest.i && {
  1607. test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  1608. test ! -s conftest.err
  1609. }; then :
  1610. ac_retval=0
  1611. else
  1612. $as_echo "$as_me: failed program was:" >&5
  1613. sed 's/^/| /' conftest.$ac_ext >&5
  1614. ac_retval=1
  1615. fi
  1616. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1617. as_fn_set_status $ac_retval
  1618. } # ac_fn_c_try_cpp
  1619. # ac_fn_c_try_run LINENO
  1620. # ----------------------
  1621. # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
  1622. # that executables *can* be run.
  1623. ac_fn_c_try_run ()
  1624. {
  1625. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1626. if { { ac_try="$ac_link"
  1627. case "(($ac_try" in
  1628. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1629. *) ac_try_echo=$ac_try;;
  1630. esac
  1631. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1632. $as_echo "$ac_try_echo"; } >&5
  1633. (eval "$ac_link") 2>&5
  1634. ac_status=$?
  1635. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1636. test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
  1637. { { case "(($ac_try" in
  1638. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1639. *) ac_try_echo=$ac_try;;
  1640. esac
  1641. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1642. $as_echo "$ac_try_echo"; } >&5
  1643. (eval "$ac_try") 2>&5
  1644. ac_status=$?
  1645. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1646. test $ac_status = 0; }; }; then :
  1647. ac_retval=0
  1648. else
  1649. $as_echo "$as_me: program exited with status $ac_status" >&5
  1650. $as_echo "$as_me: failed program was:" >&5
  1651. sed 's/^/| /' conftest.$ac_ext >&5
  1652. ac_retval=$ac_status
  1653. fi
  1654. rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  1655. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1656. as_fn_set_status $ac_retval
  1657. } # ac_fn_c_try_run
  1658. # ac_fn_c_check_func LINENO FUNC VAR
  1659. # ----------------------------------
  1660. # Tests whether FUNC exists, setting the cache variable VAR accordingly
  1661. ac_fn_c_check_func ()
  1662. {
  1663. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1664. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1665. $as_echo_n "checking for $2... " >&6; }
  1666. if eval \${$3+:} false; then :
  1667. $as_echo_n "(cached) " >&6
  1668. else
  1669. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1670. /* end confdefs.h. */
  1671. /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
  1672. For example, HP-UX 11i <limits.h> declares gettimeofday. */
  1673. #define $2 innocuous_$2
  1674. /* System header to define __stub macros and hopefully few prototypes,
  1675. which can conflict with char $2 (); below.
  1676. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  1677. <limits.h> exists even on freestanding compilers. */
  1678. #ifdef __STDC__
  1679. # include <limits.h>
  1680. #else
  1681. # include <assert.h>
  1682. #endif
  1683. #undef $2
  1684. /* Override any GCC internal prototype to avoid an error.
  1685. Use char because int might match the return type of a GCC
  1686. builtin and then its argument prototype would still apply. */
  1687. #ifdef __cplusplus
  1688. extern "C"
  1689. #endif
  1690. char $2 ();
  1691. /* The GNU C library defines this for functions which it implements
  1692. to always fail with ENOSYS. Some functions are actually named
  1693. something starting with __ and the normal name is an alias. */
  1694. #if defined __stub_$2 || defined __stub___$2
  1695. choke me
  1696. #endif
  1697. int
  1698. main ()
  1699. {
  1700. return $2 ();
  1701. ;
  1702. return 0;
  1703. }
  1704. _ACEOF
  1705. if ac_fn_c_try_link "$LINENO"; then :
  1706. eval "$3=yes"
  1707. else
  1708. eval "$3=no"
  1709. fi
  1710. rm -f core conftest.err conftest.$ac_objext \
  1711. conftest$ac_exeext conftest.$ac_ext
  1712. fi
  1713. eval ac_res=\$$3
  1714. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1715. $as_echo "$ac_res" >&6; }
  1716. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1717. } # ac_fn_c_check_func
  1718. # ac_fn_cxx_try_cpp LINENO
  1719. # ------------------------
  1720. # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
  1721. ac_fn_cxx_try_cpp ()
  1722. {
  1723. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1724. if { { ac_try="$ac_cpp conftest.$ac_ext"
  1725. case "(($ac_try" in
  1726. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1727. *) ac_try_echo=$ac_try;;
  1728. esac
  1729. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1730. $as_echo "$ac_try_echo"; } >&5
  1731. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
  1732. ac_status=$?
  1733. if test -s conftest.err; then
  1734. grep -v '^ *+' conftest.err >conftest.er1
  1735. cat conftest.er1 >&5
  1736. mv -f conftest.er1 conftest.err
  1737. fi
  1738. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1739. test $ac_status = 0; } > conftest.i && {
  1740. test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
  1741. test ! -s conftest.err
  1742. }; then :
  1743. ac_retval=0
  1744. else
  1745. $as_echo "$as_me: failed program was:" >&5
  1746. sed 's/^/| /' conftest.$ac_ext >&5
  1747. ac_retval=1
  1748. fi
  1749. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1750. as_fn_set_status $ac_retval
  1751. } # ac_fn_cxx_try_cpp
  1752. # ac_fn_cxx_try_link LINENO
  1753. # -------------------------
  1754. # Try to link conftest.$ac_ext, and return whether this succeeded.
  1755. ac_fn_cxx_try_link ()
  1756. {
  1757. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1758. rm -f conftest.$ac_objext conftest$ac_exeext
  1759. if { { ac_try="$ac_link"
  1760. case "(($ac_try" in
  1761. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1762. *) ac_try_echo=$ac_try;;
  1763. esac
  1764. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1765. $as_echo "$ac_try_echo"; } >&5
  1766. (eval "$ac_link") 2>conftest.err
  1767. ac_status=$?
  1768. if test -s conftest.err; then
  1769. grep -v '^ *+' conftest.err >conftest.er1
  1770. cat conftest.er1 >&5
  1771. mv -f conftest.er1 conftest.err
  1772. fi
  1773. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1774. test $ac_status = 0; } && {
  1775. test -z "$ac_cxx_werror_flag" ||
  1776. test ! -s conftest.err
  1777. } && test -s conftest$ac_exeext && {
  1778. test "$cross_compiling" = yes ||
  1779. $as_test_x conftest$ac_exeext
  1780. }; then :
  1781. ac_retval=0
  1782. else
  1783. $as_echo "$as_me: failed program was:" >&5
  1784. sed 's/^/| /' conftest.$ac_ext >&5
  1785. ac_retval=1
  1786. fi
  1787. # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
  1788. # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
  1789. # interfere with the next link command; also delete a directory that is
  1790. # left behind by Apple's compiler. We do this before executing the actions.
  1791. rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  1792. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1793. as_fn_set_status $ac_retval
  1794. } # ac_fn_cxx_try_link
  1795. # ac_fn_cxx_check_decl LINENO SYMBOL VAR INCLUDES
  1796. # -----------------------------------------------
  1797. # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
  1798. # accordingly.
  1799. ac_fn_cxx_check_decl ()
  1800. {
  1801. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1802. as_decl_name=`echo $2|sed 's/ *(.*//'`
  1803. as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
  1804. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
  1805. $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
  1806. if eval \${$3+:} false; then :
  1807. $as_echo_n "(cached) " >&6
  1808. else
  1809. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1810. /* end confdefs.h. */
  1811. $4
  1812. int
  1813. main ()
  1814. {
  1815. #ifndef $as_decl_name
  1816. #ifdef __cplusplus
  1817. (void) $as_decl_use;
  1818. #else
  1819. (void) $as_decl_name;
  1820. #endif
  1821. #endif
  1822. ;
  1823. return 0;
  1824. }
  1825. _ACEOF
  1826. if ac_fn_cxx_try_compile "$LINENO"; then :
  1827. eval "$3=yes"
  1828. else
  1829. eval "$3=no"
  1830. fi
  1831. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1832. fi
  1833. eval ac_res=\$$3
  1834. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1835. $as_echo "$ac_res" >&6; }
  1836. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1837. } # ac_fn_cxx_check_decl
  1838. # ac_fn_cxx_check_func LINENO FUNC VAR
  1839. # ------------------------------------
  1840. # Tests whether FUNC exists, setting the cache variable VAR accordingly
  1841. ac_fn_cxx_check_func ()
  1842. {
  1843. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1844. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1845. $as_echo_n "checking for $2... " >&6; }
  1846. if eval \${$3+:} false; then :
  1847. $as_echo_n "(cached) " >&6
  1848. else
  1849. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1850. /* end confdefs.h. */
  1851. /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
  1852. For example, HP-UX 11i <limits.h> declares gettimeofday. */
  1853. #define $2 innocuous_$2
  1854. /* System header to define __stub macros and hopefully few prototypes,
  1855. which can conflict with char $2 (); below.
  1856. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  1857. <limits.h> exists even on freestanding compilers. */
  1858. #ifdef __STDC__
  1859. # include <limits.h>
  1860. #else
  1861. # include <assert.h>
  1862. #endif
  1863. #undef $2
  1864. /* Override any GCC internal prototype to avoid an error.
  1865. Use char because int might match the return type of a GCC
  1866. builtin and then its argument prototype would still apply. */
  1867. #ifdef __cplusplus
  1868. extern "C"
  1869. #endif
  1870. char $2 ();
  1871. /* The GNU C library defines this for functions which it implements
  1872. to always fail with ENOSYS. Some functions are actually named
  1873. something starting with __ and the normal name is an alias. */
  1874. #if defined __stub_$2 || defined __stub___$2
  1875. choke me
  1876. #endif
  1877. int
  1878. main ()
  1879. {
  1880. return $2 ();
  1881. ;
  1882. return 0;
  1883. }
  1884. _ACEOF
  1885. if ac_fn_cxx_try_link "$LINENO"; then :
  1886. eval "$3=yes"
  1887. else
  1888. eval "$3=no"
  1889. fi
  1890. rm -f core conftest.err conftest.$ac_objext \
  1891. conftest$ac_exeext conftest.$ac_ext
  1892. fi
  1893. eval ac_res=\$$3
  1894. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1895. $as_echo "$ac_res" >&6; }
  1896. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1897. } # ac_fn_cxx_check_func
  1898. # ac_fn_cxx_try_run LINENO
  1899. # ------------------------
  1900. # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
  1901. # that executables *can* be run.
  1902. ac_fn_cxx_try_run ()
  1903. {
  1904. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1905. if { { ac_try="$ac_link"
  1906. case "(($ac_try" in
  1907. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1908. *) ac_try_echo=$ac_try;;
  1909. esac
  1910. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1911. $as_echo "$ac_try_echo"; } >&5
  1912. (eval "$ac_link") 2>&5
  1913. ac_status=$?
  1914. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1915. test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
  1916. { { case "(($ac_try" in
  1917. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1918. *) ac_try_echo=$ac_try;;
  1919. esac
  1920. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1921. $as_echo "$ac_try_echo"; } >&5
  1922. (eval "$ac_try") 2>&5
  1923. ac_status=$?
  1924. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1925. test $ac_status = 0; }; }; then :
  1926. ac_retval=0
  1927. else
  1928. $as_echo "$as_me: program exited with status $ac_status" >&5
  1929. $as_echo "$as_me: failed program was:" >&5
  1930. sed 's/^/| /' conftest.$ac_ext >&5
  1931. ac_retval=$ac_status
  1932. fi
  1933. rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  1934. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1935. as_fn_set_status $ac_retval
  1936. } # ac_fn_cxx_try_run
  1937. cat >config.log <<_ACEOF
  1938. This file contains any messages produced by compilers while
  1939. running configure, to aid debugging if configure makes a mistake.
  1940. It was created by libzipper $as_me 1.0.3, which was
  1941. generated by GNU Autoconf 2.68. Invocation command line was
  1942. $ $0 $@
  1943. _ACEOF
  1944. exec 5>>config.log
  1945. {
  1946. cat <<_ASUNAME
  1947. ## --------- ##
  1948. ## Platform. ##
  1949. ## --------- ##
  1950. hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  1951. uname -m = `(uname -m) 2>/dev/null || echo unknown`
  1952. uname -r = `(uname -r) 2>/dev/null || echo unknown`
  1953. uname -s = `(uname -s) 2>/dev/null || echo unknown`
  1954. uname -v = `(uname -v) 2>/dev/null || echo unknown`
  1955. /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  1956. /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
  1957. /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
  1958. /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
  1959. /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  1960. /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
  1961. /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
  1962. /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
  1963. /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
  1964. _ASUNAME
  1965. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1966. for as_dir in $PATH
  1967. do
  1968. IFS=$as_save_IFS
  1969. test -z "$as_dir" && as_dir=.
  1970. $as_echo "PATH: $as_dir"
  1971. done
  1972. IFS=$as_save_IFS
  1973. } >&5
  1974. cat >&5 <<_ACEOF
  1975. ## ----------- ##
  1976. ## Core tests. ##
  1977. ## ----------- ##
  1978. _ACEOF
  1979. # Keep a trace of the command line.
  1980. # Strip out --no-create and --no-recursion so they do not pile up.
  1981. # Strip out --silent because we don't want to record it for future runs.
  1982. # Also quote any args containing shell meta-characters.
  1983. # Make two passes to allow for proper duplicate-argument suppression.
  1984. ac_configure_args=
  1985. ac_configure_args0=
  1986. ac_configure_args1=
  1987. ac_must_keep_next=false
  1988. for ac_pass in 1 2
  1989. do
  1990. for ac_arg
  1991. do
  1992. case $ac_arg in
  1993. -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  1994. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1995. | -silent | --silent | --silen | --sile | --sil)
  1996. continue ;;
  1997. *\'*)
  1998. ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  1999. esac
  2000. case $ac_pass in
  2001. 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
  2002. 2)
  2003. as_fn_append ac_configure_args1 " '$ac_arg'"
  2004. if test $ac_must_keep_next = true; then
  2005. ac_must_keep_next=false # Got value, back to normal.
  2006. else
  2007. case $ac_arg in
  2008. *=* | --config-cache | -C | -disable-* | --disable-* \
  2009. | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
  2010. | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
  2011. | -with-* | --with-* | -without-* | --without-* | --x)
  2012. case "$ac_configure_args0 " in
  2013. "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  2014. esac
  2015. ;;
  2016. -* ) ac_must_keep_next=true ;;
  2017. esac
  2018. fi
  2019. as_fn_append ac_configure_args " '$ac_arg'"
  2020. ;;
  2021. esac
  2022. done
  2023. done
  2024. { ac_configure_args0=; unset ac_configure_args0;}
  2025. { ac_configure_args1=; unset ac_configure_args1;}
  2026. # When interrupted or exit'd, cleanup temporary files, and complete
  2027. # config.log. We remove comments because anyway the quotes in there
  2028. # would cause problems or look ugly.
  2029. # WARNING: Use '\'' to represent an apostrophe within the trap.
  2030. # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
  2031. trap 'exit_status=$?
  2032. # Save into config.log some information that might help in debugging.
  2033. {
  2034. echo
  2035. $as_echo "## ---------------- ##
  2036. ## Cache variables. ##
  2037. ## ---------------- ##"
  2038. echo
  2039. # The following way of writing the cache mishandles newlines in values,
  2040. (
  2041. for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
  2042. eval ac_val=\$$ac_var
  2043. case $ac_val in #(
  2044. *${as_nl}*)
  2045. case $ac_var in #(
  2046. *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  2047. $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  2048. esac
  2049. case $ac_var in #(
  2050. _ | IFS | as_nl) ;; #(
  2051. BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  2052. *) { eval $ac_var=; unset $ac_var;} ;;
  2053. esac ;;
  2054. esac
  2055. done
  2056. (set) 2>&1 |
  2057. case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
  2058. *${as_nl}ac_space=\ *)
  2059. sed -n \
  2060. "s/'\''/'\''\\\\'\'''\''/g;
  2061. s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
  2062. ;; #(
  2063. *)
  2064. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  2065. ;;
  2066. esac |
  2067. sort
  2068. )
  2069. echo
  2070. $as_echo "## ----------------- ##
  2071. ## Output variables. ##
  2072. ## ----------------- ##"
  2073. echo
  2074. for ac_var in $ac_subst_vars
  2075. do
  2076. eval ac_val=\$$ac_var
  2077. case $ac_val in
  2078. *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  2079. esac
  2080. $as_echo "$ac_var='\''$ac_val'\''"
  2081. done | sort
  2082. echo
  2083. if test -n "$ac_subst_files"; then
  2084. $as_echo "## ------------------- ##
  2085. ## File substitutions. ##
  2086. ## ------------------- ##"
  2087. echo
  2088. for ac_var in $ac_subst_files
  2089. do
  2090. eval ac_val=\$$ac_var
  2091. case $ac_val in
  2092. *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  2093. esac
  2094. $as_echo "$ac_var='\''$ac_val'\''"
  2095. done | sort
  2096. echo
  2097. fi
  2098. if test -s confdefs.h; then
  2099. $as_echo "## ----------- ##
  2100. ## confdefs.h. ##
  2101. ## ----------- ##"
  2102. echo
  2103. cat confdefs.h
  2104. echo
  2105. fi
  2106. test "$ac_signal" != 0 &&
  2107. $as_echo "$as_me: caught signal $ac_signal"
  2108. $as_echo "$as_me: exit $exit_status"
  2109. } >&5
  2110. rm -f core *.core core.conftest.* &&
  2111. rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
  2112. exit $exit_status
  2113. ' 0
  2114. for ac_signal in 1 2 13 15; do
  2115. trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
  2116. done
  2117. ac_signal=0
  2118. # confdefs.h avoids OS command line length limits that DEFS can exceed.
  2119. rm -f -r conftest* confdefs.h
  2120. $as_echo "/* confdefs.h */" > confdefs.h
  2121. # Predefined preprocessor variables.
  2122. cat >>confdefs.h <<_ACEOF
  2123. #define PACKAGE_NAME "$PACKAGE_NAME"
  2124. _ACEOF
  2125. cat >>confdefs.h <<_ACEOF
  2126. #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  2127. _ACEOF
  2128. cat >>confdefs.h <<_ACEOF
  2129. #define PACKAGE_VERSION "$PACKAGE_VERSION"
  2130. _ACEOF
  2131. cat >>confdefs.h <<_ACEOF
  2132. #define PACKAGE_STRING "$PACKAGE_STRING"
  2133. _ACEOF
  2134. cat >>confdefs.h <<_ACEOF
  2135. #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  2136. _ACEOF
  2137. cat >>confdefs.h <<_ACEOF
  2138. #define PACKAGE_URL "$PACKAGE_URL"
  2139. _ACEOF
  2140. # Let the site file select an alternate cache file if it wants to.
  2141. # Prefer an explicitly selected file to automatically selected ones.
  2142. ac_site_file1=NONE
  2143. ac_site_file2=NONE
  2144. if test -n "$CONFIG_SITE"; then
  2145. # We do not want a PATH search for config.site.
  2146. case $CONFIG_SITE in #((
  2147. -*) ac_site_file1=./$CONFIG_SITE;;
  2148. */*) ac_site_file1=$CONFIG_SITE;;
  2149. *) ac_site_file1=./$CONFIG_SITE;;
  2150. esac
  2151. elif test "x$prefix" != xNONE; then
  2152. ac_site_file1=$prefix/share/config.site
  2153. ac_site_file2=$prefix/etc/config.site
  2154. else
  2155. ac_site_file1=$ac_default_prefix/share/config.site
  2156. ac_site_file2=$ac_default_prefix/etc/config.site
  2157. fi
  2158. for ac_site_file in "$ac_site_file1" "$ac_site_file2"
  2159. do
  2160. test "x$ac_site_file" = xNONE && continue
  2161. if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
  2162. { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
  2163. $as_echo "$as_me: loading site script $ac_site_file" >&6;}
  2164. sed 's/^/| /' "$ac_site_file" >&5
  2165. . "$ac_site_file" \
  2166. || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  2167. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2168. as_fn_error $? "failed to load site script $ac_site_file
  2169. See \`config.log' for more details" "$LINENO" 5; }
  2170. fi
  2171. done
  2172. if test -r "$cache_file"; then
  2173. # Some versions of bash will fail to source /dev/null (special files
  2174. # actually), so we avoid doing that. DJGPP emulates it as a regular file.
  2175. if test /dev/null != "$cache_file" && test -f "$cache_file"; then
  2176. { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
  2177. $as_echo "$as_me: loading cache $cache_file" >&6;}
  2178. case $cache_file in
  2179. [\\/]* | ?:[\\/]* ) . "$cache_file";;
  2180. *) . "./$cache_file";;
  2181. esac
  2182. fi
  2183. else
  2184. { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
  2185. $as_echo "$as_me: creating cache $cache_file" >&6;}
  2186. >$cache_file
  2187. fi
  2188. # Check that the precious variables saved in the cache have kept the same
  2189. # value.
  2190. ac_cache_corrupted=false
  2191. for ac_var in $ac_precious_vars; do
  2192. eval ac_old_set=\$ac_cv_env_${ac_var}_set
  2193. eval ac_new_set=\$ac_env_${ac_var}_set
  2194. eval ac_old_val=\$ac_cv_env_${ac_var}_value
  2195. eval ac_new_val=\$ac_env_${ac_var}_value
  2196. case $ac_old_set,$ac_new_set in
  2197. set,)
  2198. { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  2199. $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  2200. ac_cache_corrupted=: ;;
  2201. ,set)
  2202. { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
  2203. $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  2204. ac_cache_corrupted=: ;;
  2205. ,);;
  2206. *)
  2207. if test "x$ac_old_val" != "x$ac_new_val"; then
  2208. # differences in whitespace do not lead to failure.
  2209. ac_old_val_w=`echo x $ac_old_val`
  2210. ac_new_val_w=`echo x $ac_new_val`
  2211. if test "$ac_old_val_w" != "$ac_new_val_w"; then
  2212. { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
  2213. $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  2214. ac_cache_corrupted=:
  2215. else
  2216. { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
  2217. $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
  2218. eval $ac_var=\$ac_old_val
  2219. fi
  2220. { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
  2221. $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
  2222. { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
  2223. $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
  2224. fi;;
  2225. esac
  2226. # Pass precious variables to config.status.
  2227. if test "$ac_new_set" = set; then
  2228. case $ac_new_val in
  2229. *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  2230. *) ac_arg=$ac_var=$ac_new_val ;;
  2231. esac
  2232. case " $ac_configure_args " in
  2233. *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
  2234. *) as_fn_append ac_configure_args " '$ac_arg'" ;;
  2235. esac
  2236. fi
  2237. done
  2238. if $ac_cache_corrupted; then
  2239. { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  2240. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2241. { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
  2242. $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  2243. as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
  2244. fi
  2245. ## -------------------- ##
  2246. ## Main body of script. ##
  2247. ## -------------------- ##
  2248. ac_ext=c
  2249. ac_cpp='$CPP $CPPFLAGS'
  2250. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2251. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2252. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2253. ac_aux_dir=
  2254. for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
  2255. if test -f "$ac_dir/install-sh"; then
  2256. ac_aux_dir=$ac_dir
  2257. ac_install_sh="$ac_aux_dir/install-sh -c"
  2258. break
  2259. elif test -f "$ac_dir/install.sh"; then
  2260. ac_aux_dir=$ac_dir
  2261. ac_install_sh="$ac_aux_dir/install.sh -c"
  2262. break
  2263. elif test -f "$ac_dir/shtool"; then
  2264. ac_aux_dir=$ac_dir
  2265. ac_install_sh="$ac_aux_dir/shtool install -c"
  2266. break
  2267. fi
  2268. done
  2269. if test -z "$ac_aux_dir"; then
  2270. as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
  2271. fi
  2272. # These three variables are undocumented and unsupported,
  2273. # and are intended to be withdrawn in a future Autoconf release.
  2274. # They can cause serious problems if a builder's source tree is in a directory
  2275. # whose full name contains unusual characters.
  2276. ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
  2277. ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
  2278. ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
  2279. # Make sure we can run config.sub.
  2280. $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
  2281. as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
  2282. { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
  2283. $as_echo_n "checking build system type... " >&6; }
  2284. if ${ac_cv_build+:} false; then :
  2285. $as_echo_n "(cached) " >&6
  2286. else
  2287. ac_build_alias=$build_alias
  2288. test "x$ac_build_alias" = x &&
  2289. ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
  2290. test "x$ac_build_alias" = x &&
  2291. as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
  2292. ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
  2293. as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
  2294. fi
  2295. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
  2296. $as_echo "$ac_cv_build" >&6; }
  2297. case $ac_cv_build in
  2298. *-*-*) ;;
  2299. *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
  2300. esac
  2301. build=$ac_cv_build
  2302. ac_save_IFS=$IFS; IFS='-'
  2303. set x $ac_cv_build
  2304. shift
  2305. build_cpu=$1
  2306. build_vendor=$2
  2307. shift; shift
  2308. # Remember, the first character of IFS is used to create $*,
  2309. # except with old shells:
  2310. build_os=$*
  2311. IFS=$ac_save_IFS
  2312. case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
  2313. { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
  2314. $as_echo_n "checking host system type... " >&6; }
  2315. if ${ac_cv_host+:} false; then :
  2316. $as_echo_n "(cached) " >&6
  2317. else
  2318. if test "x$host_alias" = x; then
  2319. ac_cv_host=$ac_cv_build
  2320. else
  2321. ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
  2322. as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
  2323. fi
  2324. fi
  2325. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
  2326. $as_echo "$ac_cv_host" >&6; }
  2327. case $ac_cv_host in
  2328. *-*-*) ;;
  2329. *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
  2330. esac
  2331. host=$ac_cv_host
  2332. ac_save_IFS=$IFS; IFS='-'
  2333. set x $ac_cv_host
  2334. shift
  2335. host_cpu=$1
  2336. host_vendor=$2
  2337. shift; shift
  2338. # Remember, the first character of IFS is used to create $*,
  2339. # except with old shells:
  2340. host_os=$*
  2341. IFS=$ac_save_IFS
  2342. case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
  2343. { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
  2344. $as_echo_n "checking target system type... " >&6; }
  2345. if ${ac_cv_target+:} false; then :
  2346. $as_echo_n "(cached) " >&6
  2347. else
  2348. if test "x$target_alias" = x; then
  2349. ac_cv_target=$ac_cv_host
  2350. else
  2351. ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
  2352. as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
  2353. fi
  2354. fi
  2355. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
  2356. $as_echo "$ac_cv_target" >&6; }
  2357. case $ac_cv_target in
  2358. *-*-*) ;;
  2359. *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
  2360. esac
  2361. target=$ac_cv_target
  2362. ac_save_IFS=$IFS; IFS='-'
  2363. set x $ac_cv_target
  2364. shift
  2365. target_cpu=$1
  2366. target_vendor=$2
  2367. shift; shift
  2368. # Remember, the first character of IFS is used to create $*,
  2369. # except with old shells:
  2370. target_os=$*
  2371. IFS=$ac_save_IFS
  2372. case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
  2373. # The aliases save the names the user supplied, while $host etc.
  2374. # will get canonicalized.
  2375. test -n "$target_alias" &&
  2376. test "$program_prefix$program_suffix$program_transform_name" = \
  2377. NONENONEs,x,x, &&
  2378. program_prefix=${target_alias}-
  2379. am__api_version='1.11'
  2380. # Find a good install program. We prefer a C program (faster),
  2381. # so one script is as good as another. But avoid the broken or
  2382. # incompatible versions:
  2383. # SysV /etc/install, /usr/sbin/install
  2384. # SunOS /usr/etc/install
  2385. # IRIX /sbin/install
  2386. # AIX /bin/install
  2387. # AmigaOS /C/install, which installs bootblocks on floppy discs
  2388. # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
  2389. # AFS /usr/afsws/bin/install, which mishandles nonexistent args
  2390. # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  2391. # OS/2's system install, which has a completely different semantic
  2392. # ./install, which can be erroneously created by make from ./install.sh.
  2393. # Reject install programs that cannot install multiple files.
  2394. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
  2395. $as_echo_n "checking for a BSD-compatible install... " >&6; }
  2396. if test -z "$INSTALL"; then
  2397. if ${ac_cv_path_install+:} false; then :
  2398. $as_echo_n "(cached) " >&6
  2399. else
  2400. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2401. for as_dir in $PATH
  2402. do
  2403. IFS=$as_save_IFS
  2404. test -z "$as_dir" && as_dir=.
  2405. # Account for people who put trailing slashes in PATH elements.
  2406. case $as_dir/ in #((
  2407. ./ | .// | /[cC]/* | \
  2408. /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
  2409. ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
  2410. /usr/ucb/* ) ;;
  2411. *)
  2412. # OSF1 and SCO ODT 3.0 have their own names for install.
  2413. # Don't use installbsd from OSF since it installs stuff as root
  2414. # by default.
  2415. for ac_prog in ginstall scoinst install; do
  2416. for ac_exec_ext in '' $ac_executable_extensions; do
  2417. if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
  2418. if test $ac_prog = install &&
  2419. grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  2420. # AIX install. It has an incompatible calling convention.
  2421. :
  2422. elif test $ac_prog = install &&
  2423. grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  2424. # program-specific install script used by HP pwplus--don't use.
  2425. :
  2426. else
  2427. rm -rf conftest.one conftest.two conftest.dir
  2428. echo one > conftest.one
  2429. echo two > conftest.two
  2430. mkdir conftest.dir
  2431. if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
  2432. test -s conftest.one && test -s conftest.two &&
  2433. test -s conftest.dir/conftest.one &&
  2434. test -s conftest.dir/conftest.two
  2435. then
  2436. ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
  2437. break 3
  2438. fi
  2439. fi
  2440. fi
  2441. done
  2442. done
  2443. ;;
  2444. esac
  2445. done
  2446. IFS=$as_save_IFS
  2447. rm -rf conftest.one conftest.two conftest.dir
  2448. fi
  2449. if test "${ac_cv_path_install+set}" = set; then
  2450. INSTALL=$ac_cv_path_install
  2451. else
  2452. # As a last resort, use the slow shell script. Don't cache a
  2453. # value for INSTALL within a source directory, because that will
  2454. # break other packages using the cache if that directory is
  2455. # removed, or if the value is a relative name.
  2456. INSTALL=$ac_install_sh
  2457. fi
  2458. fi
  2459. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
  2460. $as_echo "$INSTALL" >&6; }
  2461. # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  2462. # It thinks the first close brace ends the variable substitution.
  2463. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  2464. test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
  2465. test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  2466. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
  2467. $as_echo_n "checking whether build environment is sane... " >&6; }
  2468. # Just in case
  2469. sleep 1
  2470. echo timestamp > conftest.file
  2471. # Reject unsafe characters in $srcdir or the absolute working directory
  2472. # name. Accept space and tab only in the latter.
  2473. am_lf='
  2474. '
  2475. case `pwd` in
  2476. *[\\\"\#\$\&\'\`$am_lf]*)
  2477. as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
  2478. esac
  2479. case $srcdir in
  2480. *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
  2481. as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
  2482. esac
  2483. # Do `set' in a subshell so we don't clobber the current shell's
  2484. # arguments. Must try -L first in case configure is actually a
  2485. # symlink; some systems play weird games with the mod time of symlinks
  2486. # (eg FreeBSD returns the mod time of the symlink's containing
  2487. # directory).
  2488. if (
  2489. set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
  2490. if test "$*" = "X"; then
  2491. # -L didn't work.
  2492. set X `ls -t "$srcdir/configure" conftest.file`
  2493. fi
  2494. rm -f conftest.file
  2495. if test "$*" != "X $srcdir/configure conftest.file" \
  2496. && test "$*" != "X conftest.file $srcdir/configure"; then
  2497. # If neither matched, then we have a broken ls. This can happen
  2498. # if, for instance, CONFIG_SHELL is bash and it inherits a
  2499. # broken ls alias from the environment. This has actually
  2500. # happened. Such a system could not be considered "sane".
  2501. as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
  2502. alias in your environment" "$LINENO" 5
  2503. fi
  2504. test "$2" = conftest.file
  2505. )
  2506. then
  2507. # Ok.
  2508. :
  2509. else
  2510. as_fn_error $? "newly created file is older than distributed files!
  2511. Check your system clock" "$LINENO" 5
  2512. fi
  2513. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  2514. $as_echo "yes" >&6; }
  2515. test "$program_prefix" != NONE &&
  2516. program_transform_name="s&^&$program_prefix&;$program_transform_name"
  2517. # Use a double $ so make ignores it.
  2518. test "$program_suffix" != NONE &&
  2519. program_transform_name="s&\$&$program_suffix&;$program_transform_name"
  2520. # Double any \ or $.
  2521. # By default was `s,x,x', remove it if useless.
  2522. ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
  2523. program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
  2524. # expand $ac_aux_dir to an absolute path
  2525. am_aux_dir=`cd $ac_aux_dir && pwd`
  2526. if test x"${MISSING+set}" != xset; then
  2527. case $am_aux_dir in
  2528. *\ * | *\ *)
  2529. MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
  2530. *)
  2531. MISSING="\${SHELL} $am_aux_dir/missing" ;;
  2532. esac
  2533. fi
  2534. # Use eval to expand $SHELL
  2535. if eval "$MISSING --run true"; then
  2536. am_missing_run="$MISSING --run "
  2537. else
  2538. am_missing_run=
  2539. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
  2540. $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
  2541. fi
  2542. if test x"${install_sh}" != xset; then
  2543. case $am_aux_dir in
  2544. *\ * | *\ *)
  2545. install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
  2546. *)
  2547. install_sh="\${SHELL} $am_aux_dir/install-sh"
  2548. esac
  2549. fi
  2550. # Installed binaries are usually stripped using `strip' when the user
  2551. # run `make install-strip'. However `strip' might not be the right
  2552. # tool to use in cross-compilation environments, therefore Automake
  2553. # will honor the `STRIP' environment variable to overrule this program.
  2554. if test "$cross_compiling" != no; then
  2555. if test -n "$ac_tool_prefix"; then
  2556. # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  2557. set dummy ${ac_tool_prefix}strip; ac_word=$2
  2558. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2559. $as_echo_n "checking for $ac_word... " >&6; }
  2560. if ${ac_cv_prog_STRIP+:} false; then :
  2561. $as_echo_n "(cached) " >&6
  2562. else
  2563. if test -n "$STRIP"; then
  2564. ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  2565. else
  2566. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2567. for as_dir in $PATH
  2568. do
  2569. IFS=$as_save_IFS
  2570. test -z "$as_dir" && as_dir=.
  2571. for ac_exec_ext in '' $ac_executable_extensions; do
  2572. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2573. ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  2574. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2575. break 2
  2576. fi
  2577. done
  2578. done
  2579. IFS=$as_save_IFS
  2580. fi
  2581. fi
  2582. STRIP=$ac_cv_prog_STRIP
  2583. if test -n "$STRIP"; then
  2584. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
  2585. $as_echo "$STRIP" >&6; }
  2586. else
  2587. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2588. $as_echo "no" >&6; }
  2589. fi
  2590. fi
  2591. if test -z "$ac_cv_prog_STRIP"; then
  2592. ac_ct_STRIP=$STRIP
  2593. # Extract the first word of "strip", so it can be a program name with args.
  2594. set dummy strip; ac_word=$2
  2595. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2596. $as_echo_n "checking for $ac_word... " >&6; }
  2597. if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
  2598. $as_echo_n "(cached) " >&6
  2599. else
  2600. if test -n "$ac_ct_STRIP"; then
  2601. ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  2602. else
  2603. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2604. for as_dir in $PATH
  2605. do
  2606. IFS=$as_save_IFS
  2607. test -z "$as_dir" && as_dir=.
  2608. for ac_exec_ext in '' $ac_executable_extensions; do
  2609. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2610. ac_cv_prog_ac_ct_STRIP="strip"
  2611. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2612. break 2
  2613. fi
  2614. done
  2615. done
  2616. IFS=$as_save_IFS
  2617. fi
  2618. fi
  2619. ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  2620. if test -n "$ac_ct_STRIP"; then
  2621. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
  2622. $as_echo "$ac_ct_STRIP" >&6; }
  2623. else
  2624. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2625. $as_echo "no" >&6; }
  2626. fi
  2627. if test "x$ac_ct_STRIP" = x; then
  2628. STRIP=":"
  2629. else
  2630. case $cross_compiling:$ac_tool_warned in
  2631. yes:)
  2632. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  2633. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  2634. ac_tool_warned=yes ;;
  2635. esac
  2636. STRIP=$ac_ct_STRIP
  2637. fi
  2638. else
  2639. STRIP="$ac_cv_prog_STRIP"
  2640. fi
  2641. fi
  2642. INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
  2643. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
  2644. $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
  2645. if test -z "$MKDIR_P"; then
  2646. if ${ac_cv_path_mkdir+:} false; then :
  2647. $as_echo_n "(cached) " >&6
  2648. else
  2649. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2650. for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
  2651. do
  2652. IFS=$as_save_IFS
  2653. test -z "$as_dir" && as_dir=.
  2654. for ac_prog in mkdir gmkdir; do
  2655. for ac_exec_ext in '' $ac_executable_extensions; do
  2656. { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
  2657. case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
  2658. 'mkdir (GNU coreutils) '* | \
  2659. 'mkdir (coreutils) '* | \
  2660. 'mkdir (fileutils) '4.1*)
  2661. ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
  2662. break 3;;
  2663. esac
  2664. done
  2665. done
  2666. done
  2667. IFS=$as_save_IFS
  2668. fi
  2669. test -d ./--version && rmdir ./--version
  2670. if test "${ac_cv_path_mkdir+set}" = set; then
  2671. MKDIR_P="$ac_cv_path_mkdir -p"
  2672. else
  2673. # As a last resort, use the slow shell script. Don't cache a
  2674. # value for MKDIR_P within a source directory, because that will
  2675. # break other packages using the cache if that directory is
  2676. # removed, or if the value is a relative name.
  2677. MKDIR_P="$ac_install_sh -d"
  2678. fi
  2679. fi
  2680. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
  2681. $as_echo "$MKDIR_P" >&6; }
  2682. mkdir_p="$MKDIR_P"
  2683. case $mkdir_p in
  2684. [\\/$]* | ?:[\\/]*) ;;
  2685. */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
  2686. esac
  2687. for ac_prog in gawk mawk nawk awk
  2688. do
  2689. # Extract the first word of "$ac_prog", so it can be a program name with args.
  2690. set dummy $ac_prog; ac_word=$2
  2691. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2692. $as_echo_n "checking for $ac_word... " >&6; }
  2693. if ${ac_cv_prog_AWK+:} false; then :
  2694. $as_echo_n "(cached) " >&6
  2695. else
  2696. if test -n "$AWK"; then
  2697. ac_cv_prog_AWK="$AWK" # Let the user override the test.
  2698. else
  2699. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2700. for as_dir in $PATH
  2701. do
  2702. IFS=$as_save_IFS
  2703. test -z "$as_dir" && as_dir=.
  2704. for ac_exec_ext in '' $ac_executable_extensions; do
  2705. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2706. ac_cv_prog_AWK="$ac_prog"
  2707. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2708. break 2
  2709. fi
  2710. done
  2711. done
  2712. IFS=$as_save_IFS
  2713. fi
  2714. fi
  2715. AWK=$ac_cv_prog_AWK
  2716. if test -n "$AWK"; then
  2717. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
  2718. $as_echo "$AWK" >&6; }
  2719. else
  2720. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2721. $as_echo "no" >&6; }
  2722. fi
  2723. test -n "$AWK" && break
  2724. done
  2725. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
  2726. $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
  2727. set x ${MAKE-make}
  2728. ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
  2729. if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
  2730. $as_echo_n "(cached) " >&6
  2731. else
  2732. cat >conftest.make <<\_ACEOF
  2733. SHELL = /bin/sh
  2734. all:
  2735. @echo '@@@%%%=$(MAKE)=@@@%%%'
  2736. _ACEOF
  2737. # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
  2738. case `${MAKE-make} -f conftest.make 2>/dev/null` in
  2739. *@@@%%%=?*=@@@%%%*)
  2740. eval ac_cv_prog_make_${ac_make}_set=yes;;
  2741. *)
  2742. eval ac_cv_prog_make_${ac_make}_set=no;;
  2743. esac
  2744. rm -f conftest.make
  2745. fi
  2746. if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
  2747. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  2748. $as_echo "yes" >&6; }
  2749. SET_MAKE=
  2750. else
  2751. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2752. $as_echo "no" >&6; }
  2753. SET_MAKE="MAKE=${MAKE-make}"
  2754. fi
  2755. rm -rf .tst 2>/dev/null
  2756. mkdir .tst 2>/dev/null
  2757. if test -d .tst; then
  2758. am__leading_dot=.
  2759. else
  2760. am__leading_dot=_
  2761. fi
  2762. rmdir .tst 2>/dev/null
  2763. if test "`cd $srcdir && pwd`" != "`pwd`"; then
  2764. # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
  2765. # is not polluted with repeated "-I."
  2766. am__isrc=' -I$(srcdir)'
  2767. # test to see if srcdir already configured
  2768. if test -f $srcdir/config.status; then
  2769. as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
  2770. fi
  2771. fi
  2772. # test whether we have cygpath
  2773. if test -z "$CYGPATH_W"; then
  2774. if (cygpath --version) >/dev/null 2>/dev/null; then
  2775. CYGPATH_W='cygpath -w'
  2776. else
  2777. CYGPATH_W=echo
  2778. fi
  2779. fi
  2780. # Define the identity of the package.
  2781. PACKAGE='libzipper'
  2782. VERSION='1.0.3'
  2783. cat >>confdefs.h <<_ACEOF
  2784. #define PACKAGE "$PACKAGE"
  2785. _ACEOF
  2786. cat >>confdefs.h <<_ACEOF
  2787. #define VERSION "$VERSION"
  2788. _ACEOF
  2789. # Some tools Automake needs.
  2790. ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
  2791. AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
  2792. AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
  2793. AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
  2794. MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
  2795. # We need awk for the "check" target. The system "awk" is bad on
  2796. # some platforms.
  2797. # Always define AMTAR for backward compatibility.
  2798. AMTAR=${AMTAR-"${am_missing_run}tar"}
  2799. am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
  2800. ac_config_headers="$ac_config_headers autoconfig.h"
  2801. ac_config_files="$ac_config_files Makefile Doxyfile libzipper1.pc zipper.1"
  2802. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
  2803. $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
  2804. # Check whether --enable-maintainer-mode was given.
  2805. if test "${enable_maintainer_mode+set}" = set; then :
  2806. enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
  2807. else
  2808. USE_MAINTAINER_MODE=no
  2809. fi
  2810. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
  2811. $as_echo "$USE_MAINTAINER_MODE" >&6; }
  2812. if test $USE_MAINTAINER_MODE = yes; then
  2813. MAINTAINER_MODE_TRUE=
  2814. MAINTAINER_MODE_FALSE='#'
  2815. else
  2816. MAINTAINER_MODE_TRUE='#'
  2817. MAINTAINER_MODE_FALSE=
  2818. fi
  2819. MAINT=$MAINTAINER_MODE_TRUE
  2820. libzipper_version=1.0.3
  2821. ac_ext=cpp
  2822. ac_cpp='$CXXCPP $CPPFLAGS'
  2823. ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2824. ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2825. ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  2826. if test -z "$CXX"; then
  2827. if test -n "$CCC"; then
  2828. CXX=$CCC
  2829. else
  2830. if test -n "$ac_tool_prefix"; then
  2831. for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
  2832. do
  2833. # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  2834. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  2835. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2836. $as_echo_n "checking for $ac_word... " >&6; }
  2837. if ${ac_cv_prog_CXX+:} false; then :
  2838. $as_echo_n "(cached) " >&6
  2839. else
  2840. if test -n "$CXX"; then
  2841. ac_cv_prog_CXX="$CXX" # Let the user override the test.
  2842. else
  2843. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2844. for as_dir in $PATH
  2845. do
  2846. IFS=$as_save_IFS
  2847. test -z "$as_dir" && as_dir=.
  2848. for ac_exec_ext in '' $ac_executable_extensions; do
  2849. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2850. ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
  2851. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2852. break 2
  2853. fi
  2854. done
  2855. done
  2856. IFS=$as_save_IFS
  2857. fi
  2858. fi
  2859. CXX=$ac_cv_prog_CXX
  2860. if test -n "$CXX"; then
  2861. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
  2862. $as_echo "$CXX" >&6; }
  2863. else
  2864. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2865. $as_echo "no" >&6; }
  2866. fi
  2867. test -n "$CXX" && break
  2868. done
  2869. fi
  2870. if test -z "$CXX"; then
  2871. ac_ct_CXX=$CXX
  2872. for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
  2873. do
  2874. # Extract the first word of "$ac_prog", so it can be a program name with args.
  2875. set dummy $ac_prog; ac_word=$2
  2876. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2877. $as_echo_n "checking for $ac_word... " >&6; }
  2878. if ${ac_cv_prog_ac_ct_CXX+:} false; then :
  2879. $as_echo_n "(cached) " >&6
  2880. else
  2881. if test -n "$ac_ct_CXX"; then
  2882. ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
  2883. else
  2884. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2885. for as_dir in $PATH
  2886. do
  2887. IFS=$as_save_IFS
  2888. test -z "$as_dir" && as_dir=.
  2889. for ac_exec_ext in '' $ac_executable_extensions; do
  2890. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2891. ac_cv_prog_ac_ct_CXX="$ac_prog"
  2892. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2893. break 2
  2894. fi
  2895. done
  2896. done
  2897. IFS=$as_save_IFS
  2898. fi
  2899. fi
  2900. ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
  2901. if test -n "$ac_ct_CXX"; then
  2902. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
  2903. $as_echo "$ac_ct_CXX" >&6; }
  2904. else
  2905. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2906. $as_echo "no" >&6; }
  2907. fi
  2908. test -n "$ac_ct_CXX" && break
  2909. done
  2910. if test "x$ac_ct_CXX" = x; then
  2911. CXX="g++"
  2912. else
  2913. case $cross_compiling:$ac_tool_warned in
  2914. yes:)
  2915. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  2916. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  2917. ac_tool_warned=yes ;;
  2918. esac
  2919. CXX=$ac_ct_CXX
  2920. fi
  2921. fi
  2922. fi
  2923. fi
  2924. # Provide some information about the compiler.
  2925. $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
  2926. set X $ac_compile
  2927. ac_compiler=$2
  2928. for ac_option in --version -v -V -qversion; do
  2929. { { ac_try="$ac_compiler $ac_option >&5"
  2930. case "(($ac_try" in
  2931. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2932. *) ac_try_echo=$ac_try;;
  2933. esac
  2934. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2935. $as_echo "$ac_try_echo"; } >&5
  2936. (eval "$ac_compiler $ac_option >&5") 2>conftest.err
  2937. ac_status=$?
  2938. if test -s conftest.err; then
  2939. sed '10a\
  2940. ... rest of stderr output deleted ...
  2941. 10q' conftest.err >conftest.er1
  2942. cat conftest.er1 >&5
  2943. fi
  2944. rm -f conftest.er1 conftest.err
  2945. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2946. test $ac_status = 0; }
  2947. done
  2948. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2949. /* end confdefs.h. */
  2950. int
  2951. main ()
  2952. {
  2953. ;
  2954. return 0;
  2955. }
  2956. _ACEOF
  2957. ac_clean_files_save=$ac_clean_files
  2958. ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
  2959. # Try to create an executable without -o first, disregard a.out.
  2960. # It will help us diagnose broken compilers, and finding out an intuition
  2961. # of exeext.
  2962. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
  2963. $as_echo_n "checking whether the C++ compiler works... " >&6; }
  2964. ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
  2965. # The possible output files:
  2966. ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
  2967. ac_rmfiles=
  2968. for ac_file in $ac_files
  2969. do
  2970. case $ac_file in
  2971. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  2972. * ) ac_rmfiles="$ac_rmfiles $ac_file";;
  2973. esac
  2974. done
  2975. rm -f $ac_rmfiles
  2976. if { { ac_try="$ac_link_default"
  2977. case "(($ac_try" in
  2978. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2979. *) ac_try_echo=$ac_try;;
  2980. esac
  2981. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2982. $as_echo "$ac_try_echo"; } >&5
  2983. (eval "$ac_link_default") 2>&5
  2984. ac_status=$?
  2985. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2986. test $ac_status = 0; }; then :
  2987. # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
  2988. # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
  2989. # in a Makefile. We should not override ac_cv_exeext if it was cached,
  2990. # so that the user can short-circuit this test for compilers unknown to
  2991. # Autoconf.
  2992. for ac_file in $ac_files ''
  2993. do
  2994. test -f "$ac_file" || continue
  2995. case $ac_file in
  2996. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
  2997. ;;
  2998. [ab].out )
  2999. # We found the default executable, but exeext='' is most
  3000. # certainly right.
  3001. break;;
  3002. *.* )
  3003. if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
  3004. then :; else
  3005. ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  3006. fi
  3007. # We set ac_cv_exeext here because the later test for it is not
  3008. # safe: cross compilers may not add the suffix if given an `-o'
  3009. # argument, so we may need to know it at that point already.
  3010. # Even if this section looks crufty: it has the advantage of
  3011. # actually working.
  3012. break;;
  3013. * )
  3014. break;;
  3015. esac
  3016. done
  3017. test "$ac_cv_exeext" = no && ac_cv_exeext=
  3018. else
  3019. ac_file=''
  3020. fi
  3021. if test -z "$ac_file"; then :
  3022. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3023. $as_echo "no" >&6; }
  3024. $as_echo "$as_me: failed program was:" >&5
  3025. sed 's/^/| /' conftest.$ac_ext >&5
  3026. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3027. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3028. as_fn_error 77 "C++ compiler cannot create executables
  3029. See \`config.log' for more details" "$LINENO" 5; }
  3030. else
  3031. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  3032. $as_echo "yes" >&6; }
  3033. fi
  3034. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
  3035. $as_echo_n "checking for C++ compiler default output file name... " >&6; }
  3036. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
  3037. $as_echo "$ac_file" >&6; }
  3038. ac_exeext=$ac_cv_exeext
  3039. rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
  3040. ac_clean_files=$ac_clean_files_save
  3041. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
  3042. $as_echo_n "checking for suffix of executables... " >&6; }
  3043. if { { ac_try="$ac_link"
  3044. case "(($ac_try" in
  3045. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3046. *) ac_try_echo=$ac_try;;
  3047. esac
  3048. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3049. $as_echo "$ac_try_echo"; } >&5
  3050. (eval "$ac_link") 2>&5
  3051. ac_status=$?
  3052. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3053. test $ac_status = 0; }; then :
  3054. # If both `conftest.exe' and `conftest' are `present' (well, observable)
  3055. # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
  3056. # work properly (i.e., refer to `conftest.exe'), while it won't with
  3057. # `rm'.
  3058. for ac_file in conftest.exe conftest conftest.*; do
  3059. test -f "$ac_file" || continue
  3060. case $ac_file in
  3061. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  3062. *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  3063. break;;
  3064. * ) break;;
  3065. esac
  3066. done
  3067. else
  3068. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3069. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3070. as_fn_error $? "cannot compute suffix of executables: cannot compile and link
  3071. See \`config.log' for more details" "$LINENO" 5; }
  3072. fi
  3073. rm -f conftest conftest$ac_cv_exeext
  3074. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
  3075. $as_echo "$ac_cv_exeext" >&6; }
  3076. rm -f conftest.$ac_ext
  3077. EXEEXT=$ac_cv_exeext
  3078. ac_exeext=$EXEEXT
  3079. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3080. /* end confdefs.h. */
  3081. #include <stdio.h>
  3082. int
  3083. main ()
  3084. {
  3085. FILE *f = fopen ("conftest.out", "w");
  3086. return ferror (f) || fclose (f) != 0;
  3087. ;
  3088. return 0;
  3089. }
  3090. _ACEOF
  3091. ac_clean_files="$ac_clean_files conftest.out"
  3092. # Check that the compiler produces executables we can run. If not, either
  3093. # the compiler is broken, or we cross compile.
  3094. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
  3095. $as_echo_n "checking whether we are cross compiling... " >&6; }
  3096. if test "$cross_compiling" != yes; then
  3097. { { ac_try="$ac_link"
  3098. case "(($ac_try" in
  3099. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3100. *) ac_try_echo=$ac_try;;
  3101. esac
  3102. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3103. $as_echo "$ac_try_echo"; } >&5
  3104. (eval "$ac_link") 2>&5
  3105. ac_status=$?
  3106. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3107. test $ac_status = 0; }
  3108. if { ac_try='./conftest$ac_cv_exeext'
  3109. { { case "(($ac_try" in
  3110. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3111. *) ac_try_echo=$ac_try;;
  3112. esac
  3113. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3114. $as_echo "$ac_try_echo"; } >&5
  3115. (eval "$ac_try") 2>&5
  3116. ac_status=$?
  3117. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3118. test $ac_status = 0; }; }; then
  3119. cross_compiling=no
  3120. else
  3121. if test "$cross_compiling" = maybe; then
  3122. cross_compiling=yes
  3123. else
  3124. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3125. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3126. as_fn_error $? "cannot run C++ compiled programs.
  3127. If you meant to cross compile, use \`--host'.
  3128. See \`config.log' for more details" "$LINENO" 5; }
  3129. fi
  3130. fi
  3131. fi
  3132. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
  3133. $as_echo "$cross_compiling" >&6; }
  3134. rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
  3135. ac_clean_files=$ac_clean_files_save
  3136. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
  3137. $as_echo_n "checking for suffix of object files... " >&6; }
  3138. if ${ac_cv_objext+:} false; then :
  3139. $as_echo_n "(cached) " >&6
  3140. else
  3141. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3142. /* end confdefs.h. */
  3143. int
  3144. main ()
  3145. {
  3146. ;
  3147. return 0;
  3148. }
  3149. _ACEOF
  3150. rm -f conftest.o conftest.obj
  3151. if { { ac_try="$ac_compile"
  3152. case "(($ac_try" in
  3153. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3154. *) ac_try_echo=$ac_try;;
  3155. esac
  3156. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3157. $as_echo "$ac_try_echo"; } >&5
  3158. (eval "$ac_compile") 2>&5
  3159. ac_status=$?
  3160. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3161. test $ac_status = 0; }; then :
  3162. for ac_file in conftest.o conftest.obj conftest.*; do
  3163. test -f "$ac_file" || continue;
  3164. case $ac_file in
  3165. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
  3166. *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
  3167. break;;
  3168. esac
  3169. done
  3170. else
  3171. $as_echo "$as_me: failed program was:" >&5
  3172. sed 's/^/| /' conftest.$ac_ext >&5
  3173. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3174. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3175. as_fn_error $? "cannot compute suffix of object files: cannot compile
  3176. See \`config.log' for more details" "$LINENO" 5; }
  3177. fi
  3178. rm -f conftest.$ac_cv_objext conftest.$ac_ext
  3179. fi
  3180. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
  3181. $as_echo "$ac_cv_objext" >&6; }
  3182. OBJEXT=$ac_cv_objext
  3183. ac_objext=$OBJEXT
  3184. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
  3185. $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
  3186. if ${ac_cv_cxx_compiler_gnu+:} false; then :
  3187. $as_echo_n "(cached) " >&6
  3188. else
  3189. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3190. /* end confdefs.h. */
  3191. int
  3192. main ()
  3193. {
  3194. #ifndef __GNUC__
  3195. choke me
  3196. #endif
  3197. ;
  3198. return 0;
  3199. }
  3200. _ACEOF
  3201. if ac_fn_cxx_try_compile "$LINENO"; then :
  3202. ac_compiler_gnu=yes
  3203. else
  3204. ac_compiler_gnu=no
  3205. fi
  3206. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3207. ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
  3208. fi
  3209. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
  3210. $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
  3211. if test $ac_compiler_gnu = yes; then
  3212. GXX=yes
  3213. else
  3214. GXX=
  3215. fi
  3216. ac_test_CXXFLAGS=${CXXFLAGS+set}
  3217. ac_save_CXXFLAGS=$CXXFLAGS
  3218. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
  3219. $as_echo_n "checking whether $CXX accepts -g... " >&6; }
  3220. if ${ac_cv_prog_cxx_g+:} false; then :
  3221. $as_echo_n "(cached) " >&6
  3222. else
  3223. ac_save_cxx_werror_flag=$ac_cxx_werror_flag
  3224. ac_cxx_werror_flag=yes
  3225. ac_cv_prog_cxx_g=no
  3226. CXXFLAGS="-g"
  3227. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3228. /* end confdefs.h. */
  3229. int
  3230. main ()
  3231. {
  3232. ;
  3233. return 0;
  3234. }
  3235. _ACEOF
  3236. if ac_fn_cxx_try_compile "$LINENO"; then :
  3237. ac_cv_prog_cxx_g=yes
  3238. else
  3239. CXXFLAGS=""
  3240. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3241. /* end confdefs.h. */
  3242. int
  3243. main ()
  3244. {
  3245. ;
  3246. return 0;
  3247. }
  3248. _ACEOF
  3249. if ac_fn_cxx_try_compile "$LINENO"; then :
  3250. else
  3251. ac_cxx_werror_flag=$ac_save_cxx_werror_flag
  3252. CXXFLAGS="-g"
  3253. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3254. /* end confdefs.h. */
  3255. int
  3256. main ()
  3257. {
  3258. ;
  3259. return 0;
  3260. }
  3261. _ACEOF
  3262. if ac_fn_cxx_try_compile "$LINENO"; then :
  3263. ac_cv_prog_cxx_g=yes
  3264. fi
  3265. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3266. fi
  3267. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3268. fi
  3269. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3270. ac_cxx_werror_flag=$ac_save_cxx_werror_flag
  3271. fi
  3272. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
  3273. $as_echo "$ac_cv_prog_cxx_g" >&6; }
  3274. if test "$ac_test_CXXFLAGS" = set; then
  3275. CXXFLAGS=$ac_save_CXXFLAGS
  3276. elif test $ac_cv_prog_cxx_g = yes; then
  3277. if test "$GXX" = yes; then
  3278. CXXFLAGS="-g -O2"
  3279. else
  3280. CXXFLAGS="-g"
  3281. fi
  3282. else
  3283. if test "$GXX" = yes; then
  3284. CXXFLAGS="-O2"
  3285. else
  3286. CXXFLAGS=
  3287. fi
  3288. fi
  3289. ac_ext=c
  3290. ac_cpp='$CPP $CPPFLAGS'
  3291. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3292. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3293. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3294. DEPDIR="${am__leading_dot}deps"
  3295. ac_config_commands="$ac_config_commands depfiles"
  3296. am_make=${MAKE-make}
  3297. cat > confinc << 'END'
  3298. am__doit:
  3299. @echo this is the am__doit target
  3300. .PHONY: am__doit
  3301. END
  3302. # If we don't find an include directive, just comment out the code.
  3303. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
  3304. $as_echo_n "checking for style of include used by $am_make... " >&6; }
  3305. am__include="#"
  3306. am__quote=
  3307. _am_result=none
  3308. # First try GNU make style include.
  3309. echo "include confinc" > confmf
  3310. # Ignore all kinds of additional output from `make'.
  3311. case `$am_make -s -f confmf 2> /dev/null` in #(
  3312. *the\ am__doit\ target*)
  3313. am__include=include
  3314. am__quote=
  3315. _am_result=GNU
  3316. ;;
  3317. esac
  3318. # Now try BSD make style include.
  3319. if test "$am__include" = "#"; then
  3320. echo '.include "confinc"' > confmf
  3321. case `$am_make -s -f confmf 2> /dev/null` in #(
  3322. *the\ am__doit\ target*)
  3323. am__include=.include
  3324. am__quote="\""
  3325. _am_result=BSD
  3326. ;;
  3327. esac
  3328. fi
  3329. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
  3330. $as_echo "$_am_result" >&6; }
  3331. rm -f confinc confmf
  3332. # Check whether --enable-dependency-tracking was given.
  3333. if test "${enable_dependency_tracking+set}" = set; then :
  3334. enableval=$enable_dependency_tracking;
  3335. fi
  3336. if test "x$enable_dependency_tracking" != xno; then
  3337. am_depcomp="$ac_aux_dir/depcomp"
  3338. AMDEPBACKSLASH='\'
  3339. fi
  3340. if test "x$enable_dependency_tracking" != xno; then
  3341. AMDEP_TRUE=
  3342. AMDEP_FALSE='#'
  3343. else
  3344. AMDEP_TRUE='#'
  3345. AMDEP_FALSE=
  3346. fi
  3347. depcc="$CXX" am_compiler_list=
  3348. { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
  3349. $as_echo_n "checking dependency style of $depcc... " >&6; }
  3350. if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
  3351. $as_echo_n "(cached) " >&6
  3352. else
  3353. if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  3354. # We make a subdir and do the tests there. Otherwise we can end up
  3355. # making bogus files that we don't know about and never remove. For
  3356. # instance it was reported that on HP-UX the gcc test will end up
  3357. # making a dummy file named `D' -- because `-MD' means `put the output
  3358. # in D'.
  3359. mkdir conftest.dir
  3360. # Copy depcomp to subdir because otherwise we won't find it if we're
  3361. # using a relative directory.
  3362. cp "$am_depcomp" conftest.dir
  3363. cd conftest.dir
  3364. # We will build objects and dependencies in a subdirectory because
  3365. # it helps to detect inapplicable dependency modes. For instance
  3366. # both Tru64's cc and ICC support -MD to output dependencies as a
  3367. # side effect of compilation, but ICC will put the dependencies in
  3368. # the current directory while Tru64 will put them in the object
  3369. # directory.
  3370. mkdir sub
  3371. am_cv_CXX_dependencies_compiler_type=none
  3372. if test "$am_compiler_list" = ""; then
  3373. am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  3374. fi
  3375. am__universal=false
  3376. case " $depcc " in #(
  3377. *\ -arch\ *\ -arch\ *) am__universal=true ;;
  3378. esac
  3379. for depmode in $am_compiler_list; do
  3380. # Setup a source with many dependencies, because some compilers
  3381. # like to wrap large dependency lists on column 80 (with \), and
  3382. # we should not choose a depcomp mode which is confused by this.
  3383. #
  3384. # We need to recreate these files for each test, as the compiler may
  3385. # overwrite some of them when testing with obscure command lines.
  3386. # This happens at least with the AIX C compiler.
  3387. : > sub/conftest.c
  3388. for i in 1 2 3 4 5 6; do
  3389. echo '#include "conftst'$i'.h"' >> sub/conftest.c
  3390. # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
  3391. # Solaris 8's {/usr,}/bin/sh.
  3392. touch sub/conftst$i.h
  3393. done
  3394. echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  3395. # We check with `-c' and `-o' for the sake of the "dashmstdout"
  3396. # mode. It turns out that the SunPro C++ compiler does not properly
  3397. # handle `-M -o', and we need to detect this. Also, some Intel
  3398. # versions had trouble with output in subdirs
  3399. am__obj=sub/conftest.${OBJEXT-o}
  3400. am__minus_obj="-o $am__obj"
  3401. case $depmode in
  3402. gcc)
  3403. # This depmode causes a compiler race in universal mode.
  3404. test "$am__universal" = false || continue
  3405. ;;
  3406. nosideeffect)
  3407. # after this tag, mechanisms are not by side-effect, so they'll
  3408. # only be used when explicitly requested
  3409. if test "x$enable_dependency_tracking" = xyes; then
  3410. continue
  3411. else
  3412. break
  3413. fi
  3414. ;;
  3415. msvisualcpp | msvcmsys)
  3416. # This compiler won't grok `-c -o', but also, the minuso test has
  3417. # not run yet. These depmodes are late enough in the game, and
  3418. # so weak that their functioning should not be impacted.
  3419. am__obj=conftest.${OBJEXT-o}
  3420. am__minus_obj=
  3421. ;;
  3422. none) break ;;
  3423. esac
  3424. if depmode=$depmode \
  3425. source=sub/conftest.c object=$am__obj \
  3426. depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  3427. $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
  3428. >/dev/null 2>conftest.err &&
  3429. grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
  3430. grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  3431. grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
  3432. ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  3433. # icc doesn't choke on unknown options, it will just issue warnings
  3434. # or remarks (even with -Werror). So we grep stderr for any message
  3435. # that says an option was ignored or not supported.
  3436. # When given -MP, icc 7.0 and 7.1 complain thusly:
  3437. # icc: Command line warning: ignoring option '-M'; no argument required
  3438. # The diagnosis changed in icc 8.0:
  3439. # icc: Command line remark: option '-MP' not supported
  3440. if (grep 'ignoring option' conftest.err ||
  3441. grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  3442. am_cv_CXX_dependencies_compiler_type=$depmode
  3443. break
  3444. fi
  3445. fi
  3446. done
  3447. cd ..
  3448. rm -rf conftest.dir
  3449. else
  3450. am_cv_CXX_dependencies_compiler_type=none
  3451. fi
  3452. fi
  3453. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
  3454. $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
  3455. CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
  3456. if
  3457. test "x$enable_dependency_tracking" != xno \
  3458. && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
  3459. am__fastdepCXX_TRUE=
  3460. am__fastdepCXX_FALSE='#'
  3461. else
  3462. am__fastdepCXX_TRUE='#'
  3463. am__fastdepCXX_FALSE=
  3464. fi
  3465. ac_ext=cpp
  3466. ac_cpp='$CXXCPP $CPPFLAGS'
  3467. ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3468. ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3469. ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  3470. case `pwd` in
  3471. *\ * | *\ *)
  3472. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
  3473. $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
  3474. esac
  3475. macro_version='2.4'
  3476. macro_revision='1.3293'
  3477. ltmain="$ac_aux_dir/ltmain.sh"
  3478. # Backslashify metacharacters that are still active within
  3479. # double-quoted strings.
  3480. sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
  3481. # Same as above, but do not quote variable references.
  3482. double_quote_subst='s/\(["`\\]\)/\\\1/g'
  3483. # Sed substitution to delay expansion of an escaped shell variable in a
  3484. # double_quote_subst'ed string.
  3485. delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
  3486. # Sed substitution to delay expansion of an escaped single quote.
  3487. delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
  3488. # Sed substitution to avoid accidental globbing in evaled expressions
  3489. no_glob_subst='s/\*/\\\*/g'
  3490. ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  3491. ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
  3492. ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
  3493. { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
  3494. $as_echo_n "checking how to print strings... " >&6; }
  3495. # Test print first, because it will be a builtin if present.
  3496. if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
  3497. test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
  3498. ECHO='print -r --'
  3499. elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
  3500. ECHO='printf %s\n'
  3501. else
  3502. # Use this function as a fallback that always works.
  3503. func_fallback_echo ()
  3504. {
  3505. eval 'cat <<_LTECHO_EOF
  3506. $1
  3507. _LTECHO_EOF'
  3508. }
  3509. ECHO='func_fallback_echo'
  3510. fi
  3511. # func_echo_all arg...
  3512. # Invoke $ECHO with all args, space-separated.
  3513. func_echo_all ()
  3514. {
  3515. $ECHO ""
  3516. }
  3517. case "$ECHO" in
  3518. printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
  3519. $as_echo "printf" >&6; } ;;
  3520. print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
  3521. $as_echo "print -r" >&6; } ;;
  3522. *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
  3523. $as_echo "cat" >&6; } ;;
  3524. esac
  3525. ac_ext=c
  3526. ac_cpp='$CPP $CPPFLAGS'
  3527. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3528. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3529. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3530. if test -n "$ac_tool_prefix"; then
  3531. # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  3532. set dummy ${ac_tool_prefix}gcc; ac_word=$2
  3533. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3534. $as_echo_n "checking for $ac_word... " >&6; }
  3535. if ${ac_cv_prog_CC+:} false; then :
  3536. $as_echo_n "(cached) " >&6
  3537. else
  3538. if test -n "$CC"; then
  3539. ac_cv_prog_CC="$CC" # Let the user override the test.
  3540. else
  3541. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3542. for as_dir in $PATH
  3543. do
  3544. IFS=$as_save_IFS
  3545. test -z "$as_dir" && as_dir=.
  3546. for ac_exec_ext in '' $ac_executable_extensions; do
  3547. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3548. ac_cv_prog_CC="${ac_tool_prefix}gcc"
  3549. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3550. break 2
  3551. fi
  3552. done
  3553. done
  3554. IFS=$as_save_IFS
  3555. fi
  3556. fi
  3557. CC=$ac_cv_prog_CC
  3558. if test -n "$CC"; then
  3559. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  3560. $as_echo "$CC" >&6; }
  3561. else
  3562. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3563. $as_echo "no" >&6; }
  3564. fi
  3565. fi
  3566. if test -z "$ac_cv_prog_CC"; then
  3567. ac_ct_CC=$CC
  3568. # Extract the first word of "gcc", so it can be a program name with args.
  3569. set dummy gcc; ac_word=$2
  3570. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3571. $as_echo_n "checking for $ac_word... " >&6; }
  3572. if ${ac_cv_prog_ac_ct_CC+:} false; then :
  3573. $as_echo_n "(cached) " >&6
  3574. else
  3575. if test -n "$ac_ct_CC"; then
  3576. ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  3577. else
  3578. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3579. for as_dir in $PATH
  3580. do
  3581. IFS=$as_save_IFS
  3582. test -z "$as_dir" && as_dir=.
  3583. for ac_exec_ext in '' $ac_executable_extensions; do
  3584. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3585. ac_cv_prog_ac_ct_CC="gcc"
  3586. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3587. break 2
  3588. fi
  3589. done
  3590. done
  3591. IFS=$as_save_IFS
  3592. fi
  3593. fi
  3594. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  3595. if test -n "$ac_ct_CC"; then
  3596. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  3597. $as_echo "$ac_ct_CC" >&6; }
  3598. else
  3599. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3600. $as_echo "no" >&6; }
  3601. fi
  3602. if test "x$ac_ct_CC" = x; then
  3603. CC=""
  3604. else
  3605. case $cross_compiling:$ac_tool_warned in
  3606. yes:)
  3607. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  3608. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  3609. ac_tool_warned=yes ;;
  3610. esac
  3611. CC=$ac_ct_CC
  3612. fi
  3613. else
  3614. CC="$ac_cv_prog_CC"
  3615. fi
  3616. if test -z "$CC"; then
  3617. if test -n "$ac_tool_prefix"; then
  3618. # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  3619. set dummy ${ac_tool_prefix}cc; ac_word=$2
  3620. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3621. $as_echo_n "checking for $ac_word... " >&6; }
  3622. if ${ac_cv_prog_CC+:} false; then :
  3623. $as_echo_n "(cached) " >&6
  3624. else
  3625. if test -n "$CC"; then
  3626. ac_cv_prog_CC="$CC" # Let the user override the test.
  3627. else
  3628. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3629. for as_dir in $PATH
  3630. do
  3631. IFS=$as_save_IFS
  3632. test -z "$as_dir" && as_dir=.
  3633. for ac_exec_ext in '' $ac_executable_extensions; do
  3634. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3635. ac_cv_prog_CC="${ac_tool_prefix}cc"
  3636. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3637. break 2
  3638. fi
  3639. done
  3640. done
  3641. IFS=$as_save_IFS
  3642. fi
  3643. fi
  3644. CC=$ac_cv_prog_CC
  3645. if test -n "$CC"; then
  3646. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  3647. $as_echo "$CC" >&6; }
  3648. else
  3649. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3650. $as_echo "no" >&6; }
  3651. fi
  3652. fi
  3653. fi
  3654. if test -z "$CC"; then
  3655. # Extract the first word of "cc", so it can be a program name with args.
  3656. set dummy cc; ac_word=$2
  3657. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3658. $as_echo_n "checking for $ac_word... " >&6; }
  3659. if ${ac_cv_prog_CC+:} false; then :
  3660. $as_echo_n "(cached) " >&6
  3661. else
  3662. if test -n "$CC"; then
  3663. ac_cv_prog_CC="$CC" # Let the user override the test.
  3664. else
  3665. ac_prog_rejected=no
  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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3673. if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  3674. ac_prog_rejected=yes
  3675. continue
  3676. fi
  3677. ac_cv_prog_CC="cc"
  3678. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3679. break 2
  3680. fi
  3681. done
  3682. done
  3683. IFS=$as_save_IFS
  3684. if test $ac_prog_rejected = yes; then
  3685. # We found a bogon in the path, so make sure we never use it.
  3686. set dummy $ac_cv_prog_CC
  3687. shift
  3688. if test $# != 0; then
  3689. # We chose a different compiler from the bogus one.
  3690. # However, it has the same basename, so the bogon will be chosen
  3691. # first if we set CC to just the basename; use the full file name.
  3692. shift
  3693. ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  3694. fi
  3695. fi
  3696. fi
  3697. fi
  3698. CC=$ac_cv_prog_CC
  3699. if test -n "$CC"; then
  3700. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  3701. $as_echo "$CC" >&6; }
  3702. else
  3703. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3704. $as_echo "no" >&6; }
  3705. fi
  3706. fi
  3707. if test -z "$CC"; then
  3708. if test -n "$ac_tool_prefix"; then
  3709. for ac_prog in cl.exe
  3710. do
  3711. # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  3712. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  3713. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3714. $as_echo_n "checking for $ac_word... " >&6; }
  3715. if ${ac_cv_prog_CC+:} false; then :
  3716. $as_echo_n "(cached) " >&6
  3717. else
  3718. if test -n "$CC"; then
  3719. ac_cv_prog_CC="$CC" # Let the user override the test.
  3720. else
  3721. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3722. for as_dir in $PATH
  3723. do
  3724. IFS=$as_save_IFS
  3725. test -z "$as_dir" && as_dir=.
  3726. for ac_exec_ext in '' $ac_executable_extensions; do
  3727. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3728. ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  3729. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3730. break 2
  3731. fi
  3732. done
  3733. done
  3734. IFS=$as_save_IFS
  3735. fi
  3736. fi
  3737. CC=$ac_cv_prog_CC
  3738. if test -n "$CC"; then
  3739. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  3740. $as_echo "$CC" >&6; }
  3741. else
  3742. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3743. $as_echo "no" >&6; }
  3744. fi
  3745. test -n "$CC" && break
  3746. done
  3747. fi
  3748. if test -z "$CC"; then
  3749. ac_ct_CC=$CC
  3750. for ac_prog in cl.exe
  3751. do
  3752. # Extract the first word of "$ac_prog", so it can be a program name with args.
  3753. set dummy $ac_prog; ac_word=$2
  3754. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3755. $as_echo_n "checking for $ac_word... " >&6; }
  3756. if ${ac_cv_prog_ac_ct_CC+:} false; then :
  3757. $as_echo_n "(cached) " >&6
  3758. else
  3759. if test -n "$ac_ct_CC"; then
  3760. ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  3761. else
  3762. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3763. for as_dir in $PATH
  3764. do
  3765. IFS=$as_save_IFS
  3766. test -z "$as_dir" && as_dir=.
  3767. for ac_exec_ext in '' $ac_executable_extensions; do
  3768. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3769. ac_cv_prog_ac_ct_CC="$ac_prog"
  3770. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3771. break 2
  3772. fi
  3773. done
  3774. done
  3775. IFS=$as_save_IFS
  3776. fi
  3777. fi
  3778. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  3779. if test -n "$ac_ct_CC"; then
  3780. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  3781. $as_echo "$ac_ct_CC" >&6; }
  3782. else
  3783. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3784. $as_echo "no" >&6; }
  3785. fi
  3786. test -n "$ac_ct_CC" && break
  3787. done
  3788. if test "x$ac_ct_CC" = x; then
  3789. CC=""
  3790. else
  3791. case $cross_compiling:$ac_tool_warned in
  3792. yes:)
  3793. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  3794. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  3795. ac_tool_warned=yes ;;
  3796. esac
  3797. CC=$ac_ct_CC
  3798. fi
  3799. fi
  3800. fi
  3801. test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3802. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3803. as_fn_error $? "no acceptable C compiler found in \$PATH
  3804. See \`config.log' for more details" "$LINENO" 5; }
  3805. # Provide some information about the compiler.
  3806. $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
  3807. set X $ac_compile
  3808. ac_compiler=$2
  3809. for ac_option in --version -v -V -qversion; do
  3810. { { ac_try="$ac_compiler $ac_option >&5"
  3811. case "(($ac_try" in
  3812. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3813. *) ac_try_echo=$ac_try;;
  3814. esac
  3815. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3816. $as_echo "$ac_try_echo"; } >&5
  3817. (eval "$ac_compiler $ac_option >&5") 2>conftest.err
  3818. ac_status=$?
  3819. if test -s conftest.err; then
  3820. sed '10a\
  3821. ... rest of stderr output deleted ...
  3822. 10q' conftest.err >conftest.er1
  3823. cat conftest.er1 >&5
  3824. fi
  3825. rm -f conftest.er1 conftest.err
  3826. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3827. test $ac_status = 0; }
  3828. done
  3829. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
  3830. $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
  3831. if ${ac_cv_c_compiler_gnu+:} false; then :
  3832. $as_echo_n "(cached) " >&6
  3833. else
  3834. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3835. /* end confdefs.h. */
  3836. int
  3837. main ()
  3838. {
  3839. #ifndef __GNUC__
  3840. choke me
  3841. #endif
  3842. ;
  3843. return 0;
  3844. }
  3845. _ACEOF
  3846. if ac_fn_c_try_compile "$LINENO"; then :
  3847. ac_compiler_gnu=yes
  3848. else
  3849. ac_compiler_gnu=no
  3850. fi
  3851. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3852. ac_cv_c_compiler_gnu=$ac_compiler_gnu
  3853. fi
  3854. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
  3855. $as_echo "$ac_cv_c_compiler_gnu" >&6; }
  3856. if test $ac_compiler_gnu = yes; then
  3857. GCC=yes
  3858. else
  3859. GCC=
  3860. fi
  3861. ac_test_CFLAGS=${CFLAGS+set}
  3862. ac_save_CFLAGS=$CFLAGS
  3863. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
  3864. $as_echo_n "checking whether $CC accepts -g... " >&6; }
  3865. if ${ac_cv_prog_cc_g+:} false; then :
  3866. $as_echo_n "(cached) " >&6
  3867. else
  3868. ac_save_c_werror_flag=$ac_c_werror_flag
  3869. ac_c_werror_flag=yes
  3870. ac_cv_prog_cc_g=no
  3871. CFLAGS="-g"
  3872. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3873. /* end confdefs.h. */
  3874. int
  3875. main ()
  3876. {
  3877. ;
  3878. return 0;
  3879. }
  3880. _ACEOF
  3881. if ac_fn_c_try_compile "$LINENO"; then :
  3882. ac_cv_prog_cc_g=yes
  3883. else
  3884. CFLAGS=""
  3885. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3886. /* end confdefs.h. */
  3887. int
  3888. main ()
  3889. {
  3890. ;
  3891. return 0;
  3892. }
  3893. _ACEOF
  3894. if ac_fn_c_try_compile "$LINENO"; then :
  3895. else
  3896. ac_c_werror_flag=$ac_save_c_werror_flag
  3897. CFLAGS="-g"
  3898. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3899. /* end confdefs.h. */
  3900. int
  3901. main ()
  3902. {
  3903. ;
  3904. return 0;
  3905. }
  3906. _ACEOF
  3907. if ac_fn_c_try_compile "$LINENO"; then :
  3908. ac_cv_prog_cc_g=yes
  3909. fi
  3910. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3911. fi
  3912. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3913. fi
  3914. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3915. ac_c_werror_flag=$ac_save_c_werror_flag
  3916. fi
  3917. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
  3918. $as_echo "$ac_cv_prog_cc_g" >&6; }
  3919. if test "$ac_test_CFLAGS" = set; then
  3920. CFLAGS=$ac_save_CFLAGS
  3921. elif test $ac_cv_prog_cc_g = yes; then
  3922. if test "$GCC" = yes; then
  3923. CFLAGS="-g -O2"
  3924. else
  3925. CFLAGS="-g"
  3926. fi
  3927. else
  3928. if test "$GCC" = yes; then
  3929. CFLAGS="-O2"
  3930. else
  3931. CFLAGS=
  3932. fi
  3933. fi
  3934. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
  3935. $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
  3936. if ${ac_cv_prog_cc_c89+:} false; then :
  3937. $as_echo_n "(cached) " >&6
  3938. else
  3939. ac_cv_prog_cc_c89=no
  3940. ac_save_CC=$CC
  3941. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3942. /* end confdefs.h. */
  3943. #include <stdarg.h>
  3944. #include <stdio.h>
  3945. #include <sys/types.h>
  3946. #include <sys/stat.h>
  3947. /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
  3948. struct buf { int x; };
  3949. FILE * (*rcsopen) (struct buf *, struct stat *, int);
  3950. static char *e (p, i)
  3951. char **p;
  3952. int i;
  3953. {
  3954. return p[i];
  3955. }
  3956. static char *f (char * (*g) (char **, int), char **p, ...)
  3957. {
  3958. char *s;
  3959. va_list v;
  3960. va_start (v,p);
  3961. s = g (p, va_arg (v,int));
  3962. va_end (v);
  3963. return s;
  3964. }
  3965. /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
  3966. function prototypes and stuff, but not '\xHH' hex character constants.
  3967. These don't provoke an error unfortunately, instead are silently treated
  3968. as 'x'. The following induces an error, until -std is added to get
  3969. proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
  3970. array size at least. It's necessary to write '\x00'==0 to get something
  3971. that's true only with -std. */
  3972. int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  3973. /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  3974. inside strings and character constants. */
  3975. #define FOO(x) 'x'
  3976. int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  3977. int test (int i, double x);
  3978. struct s1 {int (*f) (int a);};
  3979. struct s2 {int (*f) (double a);};
  3980. int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  3981. int argc;
  3982. char **argv;
  3983. int
  3984. main ()
  3985. {
  3986. return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
  3987. ;
  3988. return 0;
  3989. }
  3990. _ACEOF
  3991. for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  3992. -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  3993. do
  3994. CC="$ac_save_CC $ac_arg"
  3995. if ac_fn_c_try_compile "$LINENO"; then :
  3996. ac_cv_prog_cc_c89=$ac_arg
  3997. fi
  3998. rm -f core conftest.err conftest.$ac_objext
  3999. test "x$ac_cv_prog_cc_c89" != "xno" && break
  4000. done
  4001. rm -f conftest.$ac_ext
  4002. CC=$ac_save_CC
  4003. fi
  4004. # AC_CACHE_VAL
  4005. case "x$ac_cv_prog_cc_c89" in
  4006. x)
  4007. { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
  4008. $as_echo "none needed" >&6; } ;;
  4009. xno)
  4010. { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
  4011. $as_echo "unsupported" >&6; } ;;
  4012. *)
  4013. CC="$CC $ac_cv_prog_cc_c89"
  4014. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
  4015. $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
  4016. esac
  4017. if test "x$ac_cv_prog_cc_c89" != xno; then :
  4018. fi
  4019. ac_ext=cpp
  4020. ac_cpp='$CXXCPP $CPPFLAGS'
  4021. ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4022. ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4023. ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  4024. depcc="$CC" am_compiler_list=
  4025. { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
  4026. $as_echo_n "checking dependency style of $depcc... " >&6; }
  4027. if ${am_cv_CC_dependencies_compiler_type+:} false; then :
  4028. $as_echo_n "(cached) " >&6
  4029. else
  4030. if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  4031. # We make a subdir and do the tests there. Otherwise we can end up
  4032. # making bogus files that we don't know about and never remove. For
  4033. # instance it was reported that on HP-UX the gcc test will end up
  4034. # making a dummy file named `D' -- because `-MD' means `put the output
  4035. # in D'.
  4036. mkdir conftest.dir
  4037. # Copy depcomp to subdir because otherwise we won't find it if we're
  4038. # using a relative directory.
  4039. cp "$am_depcomp" conftest.dir
  4040. cd conftest.dir
  4041. # We will build objects and dependencies in a subdirectory because
  4042. # it helps to detect inapplicable dependency modes. For instance
  4043. # both Tru64's cc and ICC support -MD to output dependencies as a
  4044. # side effect of compilation, but ICC will put the dependencies in
  4045. # the current directory while Tru64 will put them in the object
  4046. # directory.
  4047. mkdir sub
  4048. am_cv_CC_dependencies_compiler_type=none
  4049. if test "$am_compiler_list" = ""; then
  4050. am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  4051. fi
  4052. am__universal=false
  4053. case " $depcc " in #(
  4054. *\ -arch\ *\ -arch\ *) am__universal=true ;;
  4055. esac
  4056. for depmode in $am_compiler_list; do
  4057. # Setup a source with many dependencies, because some compilers
  4058. # like to wrap large dependency lists on column 80 (with \), and
  4059. # we should not choose a depcomp mode which is confused by this.
  4060. #
  4061. # We need to recreate these files for each test, as the compiler may
  4062. # overwrite some of them when testing with obscure command lines.
  4063. # This happens at least with the AIX C compiler.
  4064. : > sub/conftest.c
  4065. for i in 1 2 3 4 5 6; do
  4066. echo '#include "conftst'$i'.h"' >> sub/conftest.c
  4067. # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
  4068. # Solaris 8's {/usr,}/bin/sh.
  4069. touch sub/conftst$i.h
  4070. done
  4071. echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  4072. # We check with `-c' and `-o' for the sake of the "dashmstdout"
  4073. # mode. It turns out that the SunPro C++ compiler does not properly
  4074. # handle `-M -o', and we need to detect this. Also, some Intel
  4075. # versions had trouble with output in subdirs
  4076. am__obj=sub/conftest.${OBJEXT-o}
  4077. am__minus_obj="-o $am__obj"
  4078. case $depmode in
  4079. gcc)
  4080. # This depmode causes a compiler race in universal mode.
  4081. test "$am__universal" = false || continue
  4082. ;;
  4083. nosideeffect)
  4084. # after this tag, mechanisms are not by side-effect, so they'll
  4085. # only be used when explicitly requested
  4086. if test "x$enable_dependency_tracking" = xyes; then
  4087. continue
  4088. else
  4089. break
  4090. fi
  4091. ;;
  4092. msvisualcpp | msvcmsys)
  4093. # This compiler won't grok `-c -o', but also, the minuso test has
  4094. # not run yet. These depmodes are late enough in the game, and
  4095. # so weak that their functioning should not be impacted.
  4096. am__obj=conftest.${OBJEXT-o}
  4097. am__minus_obj=
  4098. ;;
  4099. none) break ;;
  4100. esac
  4101. if depmode=$depmode \
  4102. source=sub/conftest.c object=$am__obj \
  4103. depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  4104. $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
  4105. >/dev/null 2>conftest.err &&
  4106. grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
  4107. grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  4108. grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
  4109. ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  4110. # icc doesn't choke on unknown options, it will just issue warnings
  4111. # or remarks (even with -Werror). So we grep stderr for any message
  4112. # that says an option was ignored or not supported.
  4113. # When given -MP, icc 7.0 and 7.1 complain thusly:
  4114. # icc: Command line warning: ignoring option '-M'; no argument required
  4115. # The diagnosis changed in icc 8.0:
  4116. # icc: Command line remark: option '-MP' not supported
  4117. if (grep 'ignoring option' conftest.err ||
  4118. grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  4119. am_cv_CC_dependencies_compiler_type=$depmode
  4120. break
  4121. fi
  4122. fi
  4123. done
  4124. cd ..
  4125. rm -rf conftest.dir
  4126. else
  4127. am_cv_CC_dependencies_compiler_type=none
  4128. fi
  4129. fi
  4130. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
  4131. $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
  4132. CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  4133. if
  4134. test "x$enable_dependency_tracking" != xno \
  4135. && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  4136. am__fastdepCC_TRUE=
  4137. am__fastdepCC_FALSE='#'
  4138. else
  4139. am__fastdepCC_TRUE='#'
  4140. am__fastdepCC_FALSE=
  4141. fi
  4142. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
  4143. $as_echo_n "checking for a sed that does not truncate output... " >&6; }
  4144. if ${ac_cv_path_SED+:} false; then :
  4145. $as_echo_n "(cached) " >&6
  4146. else
  4147. ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
  4148. for ac_i in 1 2 3 4 5 6 7; do
  4149. ac_script="$ac_script$as_nl$ac_script"
  4150. done
  4151. echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
  4152. { ac_script=; unset ac_script;}
  4153. if test -z "$SED"; then
  4154. ac_path_SED_found=false
  4155. # Loop through the user's path and test for each of PROGNAME-LIST
  4156. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4157. for as_dir in $PATH
  4158. do
  4159. IFS=$as_save_IFS
  4160. test -z "$as_dir" && as_dir=.
  4161. for ac_prog in sed gsed; do
  4162. for ac_exec_ext in '' $ac_executable_extensions; do
  4163. ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
  4164. { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
  4165. # Check for GNU ac_path_SED and select it if it is found.
  4166. # Check for GNU $ac_path_SED
  4167. case `"$ac_path_SED" --version 2>&1` in
  4168. *GNU*)
  4169. ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
  4170. *)
  4171. ac_count=0
  4172. $as_echo_n 0123456789 >"conftest.in"
  4173. while :
  4174. do
  4175. cat "conftest.in" "conftest.in" >"conftest.tmp"
  4176. mv "conftest.tmp" "conftest.in"
  4177. cp "conftest.in" "conftest.nl"
  4178. $as_echo '' >> "conftest.nl"
  4179. "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
  4180. diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  4181. as_fn_arith $ac_count + 1 && ac_count=$as_val
  4182. if test $ac_count -gt ${ac_path_SED_max-0}; then
  4183. # Best one so far, save it but keep looking for a better one
  4184. ac_cv_path_SED="$ac_path_SED"
  4185. ac_path_SED_max=$ac_count
  4186. fi
  4187. # 10*(2^10) chars as input seems more than enough
  4188. test $ac_count -gt 10 && break
  4189. done
  4190. rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  4191. esac
  4192. $ac_path_SED_found && break 3
  4193. done
  4194. done
  4195. done
  4196. IFS=$as_save_IFS
  4197. if test -z "$ac_cv_path_SED"; then
  4198. as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
  4199. fi
  4200. else
  4201. ac_cv_path_SED=$SED
  4202. fi
  4203. fi
  4204. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
  4205. $as_echo "$ac_cv_path_SED" >&6; }
  4206. SED="$ac_cv_path_SED"
  4207. rm -f conftest.sed
  4208. test -z "$SED" && SED=sed
  4209. Xsed="$SED -e 1s/^X//"
  4210. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
  4211. $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
  4212. if ${ac_cv_path_GREP+:} false; then :
  4213. $as_echo_n "(cached) " >&6
  4214. else
  4215. if test -z "$GREP"; then
  4216. ac_path_GREP_found=false
  4217. # Loop through the user's path and test for each of PROGNAME-LIST
  4218. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4219. for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  4220. do
  4221. IFS=$as_save_IFS
  4222. test -z "$as_dir" && as_dir=.
  4223. for ac_prog in grep ggrep; do
  4224. for ac_exec_ext in '' $ac_executable_extensions; do
  4225. ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
  4226. { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
  4227. # Check for GNU ac_path_GREP and select it if it is found.
  4228. # Check for GNU $ac_path_GREP
  4229. case `"$ac_path_GREP" --version 2>&1` in
  4230. *GNU*)
  4231. ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
  4232. *)
  4233. ac_count=0
  4234. $as_echo_n 0123456789 >"conftest.in"
  4235. while :
  4236. do
  4237. cat "conftest.in" "conftest.in" >"conftest.tmp"
  4238. mv "conftest.tmp" "conftest.in"
  4239. cp "conftest.in" "conftest.nl"
  4240. $as_echo 'GREP' >> "conftest.nl"
  4241. "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  4242. diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  4243. as_fn_arith $ac_count + 1 && ac_count=$as_val
  4244. if test $ac_count -gt ${ac_path_GREP_max-0}; then
  4245. # Best one so far, save it but keep looking for a better one
  4246. ac_cv_path_GREP="$ac_path_GREP"
  4247. ac_path_GREP_max=$ac_count
  4248. fi
  4249. # 10*(2^10) chars as input seems more than enough
  4250. test $ac_count -gt 10 && break
  4251. done
  4252. rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  4253. esac
  4254. $ac_path_GREP_found && break 3
  4255. done
  4256. done
  4257. done
  4258. IFS=$as_save_IFS
  4259. if test -z "$ac_cv_path_GREP"; then
  4260. as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  4261. fi
  4262. else
  4263. ac_cv_path_GREP=$GREP
  4264. fi
  4265. fi
  4266. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
  4267. $as_echo "$ac_cv_path_GREP" >&6; }
  4268. GREP="$ac_cv_path_GREP"
  4269. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
  4270. $as_echo_n "checking for egrep... " >&6; }
  4271. if ${ac_cv_path_EGREP+:} false; then :
  4272. $as_echo_n "(cached) " >&6
  4273. else
  4274. if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
  4275. then ac_cv_path_EGREP="$GREP -E"
  4276. else
  4277. if test -z "$EGREP"; then
  4278. ac_path_EGREP_found=false
  4279. # Loop through the user's path and test for each of PROGNAME-LIST
  4280. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4281. for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  4282. do
  4283. IFS=$as_save_IFS
  4284. test -z "$as_dir" && as_dir=.
  4285. for ac_prog in egrep; do
  4286. for ac_exec_ext in '' $ac_executable_extensions; do
  4287. ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
  4288. { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
  4289. # Check for GNU ac_path_EGREP and select it if it is found.
  4290. # Check for GNU $ac_path_EGREP
  4291. case `"$ac_path_EGREP" --version 2>&1` in
  4292. *GNU*)
  4293. ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
  4294. *)
  4295. ac_count=0
  4296. $as_echo_n 0123456789 >"conftest.in"
  4297. while :
  4298. do
  4299. cat "conftest.in" "conftest.in" >"conftest.tmp"
  4300. mv "conftest.tmp" "conftest.in"
  4301. cp "conftest.in" "conftest.nl"
  4302. $as_echo 'EGREP' >> "conftest.nl"
  4303. "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  4304. diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  4305. as_fn_arith $ac_count + 1 && ac_count=$as_val
  4306. if test $ac_count -gt ${ac_path_EGREP_max-0}; then
  4307. # Best one so far, save it but keep looking for a better one
  4308. ac_cv_path_EGREP="$ac_path_EGREP"
  4309. ac_path_EGREP_max=$ac_count
  4310. fi
  4311. # 10*(2^10) chars as input seems more than enough
  4312. test $ac_count -gt 10 && break
  4313. done
  4314. rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  4315. esac
  4316. $ac_path_EGREP_found && break 3
  4317. done
  4318. done
  4319. done
  4320. IFS=$as_save_IFS
  4321. if test -z "$ac_cv_path_EGREP"; then
  4322. as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  4323. fi
  4324. else
  4325. ac_cv_path_EGREP=$EGREP
  4326. fi
  4327. fi
  4328. fi
  4329. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
  4330. $as_echo "$ac_cv_path_EGREP" >&6; }
  4331. EGREP="$ac_cv_path_EGREP"
  4332. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
  4333. $as_echo_n "checking for fgrep... " >&6; }
  4334. if ${ac_cv_path_FGREP+:} false; then :
  4335. $as_echo_n "(cached) " >&6
  4336. else
  4337. if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
  4338. then ac_cv_path_FGREP="$GREP -F"
  4339. else
  4340. if test -z "$FGREP"; then
  4341. ac_path_FGREP_found=false
  4342. # Loop through the user's path and test for each of PROGNAME-LIST
  4343. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4344. for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  4345. do
  4346. IFS=$as_save_IFS
  4347. test -z "$as_dir" && as_dir=.
  4348. for ac_prog in fgrep; do
  4349. for ac_exec_ext in '' $ac_executable_extensions; do
  4350. ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
  4351. { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
  4352. # Check for GNU ac_path_FGREP and select it if it is found.
  4353. # Check for GNU $ac_path_FGREP
  4354. case `"$ac_path_FGREP" --version 2>&1` in
  4355. *GNU*)
  4356. ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
  4357. *)
  4358. ac_count=0
  4359. $as_echo_n 0123456789 >"conftest.in"
  4360. while :
  4361. do
  4362. cat "conftest.in" "conftest.in" >"conftest.tmp"
  4363. mv "conftest.tmp" "conftest.in"
  4364. cp "conftest.in" "conftest.nl"
  4365. $as_echo 'FGREP' >> "conftest.nl"
  4366. "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
  4367. diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  4368. as_fn_arith $ac_count + 1 && ac_count=$as_val
  4369. if test $ac_count -gt ${ac_path_FGREP_max-0}; then
  4370. # Best one so far, save it but keep looking for a better one
  4371. ac_cv_path_FGREP="$ac_path_FGREP"
  4372. ac_path_FGREP_max=$ac_count
  4373. fi
  4374. # 10*(2^10) chars as input seems more than enough
  4375. test $ac_count -gt 10 && break
  4376. done
  4377. rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  4378. esac
  4379. $ac_path_FGREP_found && break 3
  4380. done
  4381. done
  4382. done
  4383. IFS=$as_save_IFS
  4384. if test -z "$ac_cv_path_FGREP"; then
  4385. as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  4386. fi
  4387. else
  4388. ac_cv_path_FGREP=$FGREP
  4389. fi
  4390. fi
  4391. fi
  4392. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
  4393. $as_echo "$ac_cv_path_FGREP" >&6; }
  4394. FGREP="$ac_cv_path_FGREP"
  4395. test -z "$GREP" && GREP=grep
  4396. # Check whether --with-gnu-ld was given.
  4397. if test "${with_gnu_ld+set}" = set; then :
  4398. withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
  4399. else
  4400. with_gnu_ld=no
  4401. fi
  4402. ac_prog=ld
  4403. if test "$GCC" = yes; then
  4404. # Check if gcc -print-prog-name=ld gives a path.
  4405. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
  4406. $as_echo_n "checking for ld used by $CC... " >&6; }
  4407. case $host in
  4408. *-*-mingw*)
  4409. # gcc leaves a trailing carriage return which upsets mingw
  4410. ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
  4411. *)
  4412. ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
  4413. esac
  4414. case $ac_prog in
  4415. # Accept absolute paths.
  4416. [\\/]* | ?:[\\/]*)
  4417. re_direlt='/[^/][^/]*/\.\./'
  4418. # Canonicalize the pathname of ld
  4419. ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
  4420. while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
  4421. ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
  4422. done
  4423. test -z "$LD" && LD="$ac_prog"
  4424. ;;
  4425. "")
  4426. # If it fails, then pretend we aren't using GCC.
  4427. ac_prog=ld
  4428. ;;
  4429. *)
  4430. # If it is relative, then search for the first ld in PATH.
  4431. with_gnu_ld=unknown
  4432. ;;
  4433. esac
  4434. elif test "$with_gnu_ld" = yes; then
  4435. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
  4436. $as_echo_n "checking for GNU ld... " >&6; }
  4437. else
  4438. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
  4439. $as_echo_n "checking for non-GNU ld... " >&6; }
  4440. fi
  4441. if ${lt_cv_path_LD+:} false; then :
  4442. $as_echo_n "(cached) " >&6
  4443. else
  4444. if test -z "$LD"; then
  4445. lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  4446. for ac_dir in $PATH; do
  4447. IFS="$lt_save_ifs"
  4448. test -z "$ac_dir" && ac_dir=.
  4449. if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
  4450. lt_cv_path_LD="$ac_dir/$ac_prog"
  4451. # Check to see if the program is GNU ld. I'd rather use --version,
  4452. # but apparently some variants of GNU ld only accept -v.
  4453. # Break only if it was the GNU/non-GNU ld that we prefer.
  4454. case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
  4455. *GNU* | *'with BFD'*)
  4456. test "$with_gnu_ld" != no && break
  4457. ;;
  4458. *)
  4459. test "$with_gnu_ld" != yes && break
  4460. ;;
  4461. esac
  4462. fi
  4463. done
  4464. IFS="$lt_save_ifs"
  4465. else
  4466. lt_cv_path_LD="$LD" # Let the user override the test with a path.
  4467. fi
  4468. fi
  4469. LD="$lt_cv_path_LD"
  4470. if test -n "$LD"; then
  4471. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
  4472. $as_echo "$LD" >&6; }
  4473. else
  4474. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4475. $as_echo "no" >&6; }
  4476. fi
  4477. test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
  4478. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
  4479. $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
  4480. if ${lt_cv_prog_gnu_ld+:} false; then :
  4481. $as_echo_n "(cached) " >&6
  4482. else
  4483. # I'd rather use --version here, but apparently some GNU lds only accept -v.
  4484. case `$LD -v 2>&1 </dev/null` in
  4485. *GNU* | *'with BFD'*)
  4486. lt_cv_prog_gnu_ld=yes
  4487. ;;
  4488. *)
  4489. lt_cv_prog_gnu_ld=no
  4490. ;;
  4491. esac
  4492. fi
  4493. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
  4494. $as_echo "$lt_cv_prog_gnu_ld" >&6; }
  4495. with_gnu_ld=$lt_cv_prog_gnu_ld
  4496. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
  4497. $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
  4498. if ${lt_cv_path_NM+:} false; then :
  4499. $as_echo_n "(cached) " >&6
  4500. else
  4501. if test -n "$NM"; then
  4502. # Let the user override the test.
  4503. lt_cv_path_NM="$NM"
  4504. else
  4505. lt_nm_to_check="${ac_tool_prefix}nm"
  4506. if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
  4507. lt_nm_to_check="$lt_nm_to_check nm"
  4508. fi
  4509. for lt_tmp_nm in $lt_nm_to_check; do
  4510. lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  4511. for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
  4512. IFS="$lt_save_ifs"
  4513. test -z "$ac_dir" && ac_dir=.
  4514. tmp_nm="$ac_dir/$lt_tmp_nm"
  4515. if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
  4516. # Check to see if the nm accepts a BSD-compat flag.
  4517. # Adding the `sed 1q' prevents false positives on HP-UX, which says:
  4518. # nm: unknown option "B" ignored
  4519. # Tru64's nm complains that /dev/null is an invalid object file
  4520. case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
  4521. */dev/null* | *'Invalid file or object type'*)
  4522. lt_cv_path_NM="$tmp_nm -B"
  4523. break
  4524. ;;
  4525. *)
  4526. case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
  4527. */dev/null*)
  4528. lt_cv_path_NM="$tmp_nm -p"
  4529. break
  4530. ;;
  4531. *)
  4532. lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
  4533. continue # so that we can try to find one that supports BSD flags
  4534. ;;
  4535. esac
  4536. ;;
  4537. esac
  4538. fi
  4539. done
  4540. IFS="$lt_save_ifs"
  4541. done
  4542. : ${lt_cv_path_NM=no}
  4543. fi
  4544. fi
  4545. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
  4546. $as_echo "$lt_cv_path_NM" >&6; }
  4547. if test "$lt_cv_path_NM" != "no"; then
  4548. NM="$lt_cv_path_NM"
  4549. else
  4550. # Didn't find any BSD compatible name lister, look for dumpbin.
  4551. if test -n "$DUMPBIN"; then :
  4552. # Let the user override the test.
  4553. else
  4554. if test -n "$ac_tool_prefix"; then
  4555. for ac_prog in dumpbin "link -dump"
  4556. do
  4557. # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  4558. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  4559. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4560. $as_echo_n "checking for $ac_word... " >&6; }
  4561. if ${ac_cv_prog_DUMPBIN+:} false; then :
  4562. $as_echo_n "(cached) " >&6
  4563. else
  4564. if test -n "$DUMPBIN"; then
  4565. ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
  4566. else
  4567. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4568. for as_dir in $PATH
  4569. do
  4570. IFS=$as_save_IFS
  4571. test -z "$as_dir" && as_dir=.
  4572. for ac_exec_ext in '' $ac_executable_extensions; do
  4573. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4574. ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
  4575. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4576. break 2
  4577. fi
  4578. done
  4579. done
  4580. IFS=$as_save_IFS
  4581. fi
  4582. fi
  4583. DUMPBIN=$ac_cv_prog_DUMPBIN
  4584. if test -n "$DUMPBIN"; then
  4585. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
  4586. $as_echo "$DUMPBIN" >&6; }
  4587. else
  4588. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4589. $as_echo "no" >&6; }
  4590. fi
  4591. test -n "$DUMPBIN" && break
  4592. done
  4593. fi
  4594. if test -z "$DUMPBIN"; then
  4595. ac_ct_DUMPBIN=$DUMPBIN
  4596. for ac_prog in dumpbin "link -dump"
  4597. do
  4598. # Extract the first word of "$ac_prog", so it can be a program name with args.
  4599. set dummy $ac_prog; ac_word=$2
  4600. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4601. $as_echo_n "checking for $ac_word... " >&6; }
  4602. if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
  4603. $as_echo_n "(cached) " >&6
  4604. else
  4605. if test -n "$ac_ct_DUMPBIN"; then
  4606. ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
  4607. else
  4608. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4609. for as_dir in $PATH
  4610. do
  4611. IFS=$as_save_IFS
  4612. test -z "$as_dir" && as_dir=.
  4613. for ac_exec_ext in '' $ac_executable_extensions; do
  4614. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4615. ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
  4616. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4617. break 2
  4618. fi
  4619. done
  4620. done
  4621. IFS=$as_save_IFS
  4622. fi
  4623. fi
  4624. ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
  4625. if test -n "$ac_ct_DUMPBIN"; then
  4626. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
  4627. $as_echo "$ac_ct_DUMPBIN" >&6; }
  4628. else
  4629. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4630. $as_echo "no" >&6; }
  4631. fi
  4632. test -n "$ac_ct_DUMPBIN" && break
  4633. done
  4634. if test "x$ac_ct_DUMPBIN" = x; then
  4635. DUMPBIN=":"
  4636. else
  4637. case $cross_compiling:$ac_tool_warned in
  4638. yes:)
  4639. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  4640. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  4641. ac_tool_warned=yes ;;
  4642. esac
  4643. DUMPBIN=$ac_ct_DUMPBIN
  4644. fi
  4645. fi
  4646. case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
  4647. *COFF*)
  4648. DUMPBIN="$DUMPBIN -symbols"
  4649. ;;
  4650. *)
  4651. DUMPBIN=:
  4652. ;;
  4653. esac
  4654. fi
  4655. if test "$DUMPBIN" != ":"; then
  4656. NM="$DUMPBIN"
  4657. fi
  4658. fi
  4659. test -z "$NM" && NM=nm
  4660. { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
  4661. $as_echo_n "checking the name lister ($NM) interface... " >&6; }
  4662. if ${lt_cv_nm_interface+:} false; then :
  4663. $as_echo_n "(cached) " >&6
  4664. else
  4665. lt_cv_nm_interface="BSD nm"
  4666. echo "int some_variable = 0;" > conftest.$ac_ext
  4667. (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
  4668. (eval "$ac_compile" 2>conftest.err)
  4669. cat conftest.err >&5
  4670. (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
  4671. (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
  4672. cat conftest.err >&5
  4673. (eval echo "\"\$as_me:$LINENO: output\"" >&5)
  4674. cat conftest.out >&5
  4675. if $GREP 'External.*some_variable' conftest.out > /dev/null; then
  4676. lt_cv_nm_interface="MS dumpbin"
  4677. fi
  4678. rm -f conftest*
  4679. fi
  4680. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
  4681. $as_echo "$lt_cv_nm_interface" >&6; }
  4682. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
  4683. $as_echo_n "checking whether ln -s works... " >&6; }
  4684. LN_S=$as_ln_s
  4685. if test "$LN_S" = "ln -s"; then
  4686. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  4687. $as_echo "yes" >&6; }
  4688. else
  4689. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
  4690. $as_echo "no, using $LN_S" >&6; }
  4691. fi
  4692. # find the maximum length of command line arguments
  4693. { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
  4694. $as_echo_n "checking the maximum length of command line arguments... " >&6; }
  4695. if ${lt_cv_sys_max_cmd_len+:} false; then :
  4696. $as_echo_n "(cached) " >&6
  4697. else
  4698. i=0
  4699. teststring="ABCD"
  4700. case $build_os in
  4701. msdosdjgpp*)
  4702. # On DJGPP, this test can blow up pretty badly due to problems in libc
  4703. # (any single argument exceeding 2000 bytes causes a buffer overrun
  4704. # during glob expansion). Even if it were fixed, the result of this
  4705. # check would be larger than it should be.
  4706. lt_cv_sys_max_cmd_len=12288; # 12K is about right
  4707. ;;
  4708. gnu*)
  4709. # Under GNU Hurd, this test is not required because there is
  4710. # no limit to the length of command line arguments.
  4711. # Libtool will interpret -1 as no limit whatsoever
  4712. lt_cv_sys_max_cmd_len=-1;
  4713. ;;
  4714. cygwin* | mingw* | cegcc*)
  4715. # On Win9x/ME, this test blows up -- it succeeds, but takes
  4716. # about 5 minutes as the teststring grows exponentially.
  4717. # Worse, since 9x/ME are not pre-emptively multitasking,
  4718. # you end up with a "frozen" computer, even though with patience
  4719. # the test eventually succeeds (with a max line length of 256k).
  4720. # Instead, let's just punt: use the minimum linelength reported by
  4721. # all of the supported platforms: 8192 (on NT/2K/XP).
  4722. lt_cv_sys_max_cmd_len=8192;
  4723. ;;
  4724. mint*)
  4725. # On MiNT this can take a long time and run out of memory.
  4726. lt_cv_sys_max_cmd_len=8192;
  4727. ;;
  4728. amigaos*)
  4729. # On AmigaOS with pdksh, this test takes hours, literally.
  4730. # So we just punt and use a minimum line length of 8192.
  4731. lt_cv_sys_max_cmd_len=8192;
  4732. ;;
  4733. netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
  4734. # This has been around since 386BSD, at least. Likely further.
  4735. if test -x /sbin/sysctl; then
  4736. lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
  4737. elif test -x /usr/sbin/sysctl; then
  4738. lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
  4739. else
  4740. lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
  4741. fi
  4742. # And add a safety zone
  4743. lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
  4744. lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
  4745. ;;
  4746. interix*)
  4747. # We know the value 262144 and hardcode it with a safety zone (like BSD)
  4748. lt_cv_sys_max_cmd_len=196608
  4749. ;;
  4750. osf*)
  4751. # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
  4752. # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
  4753. # nice to cause kernel panics so lets avoid the loop below.
  4754. # First set a reasonable default.
  4755. lt_cv_sys_max_cmd_len=16384
  4756. #
  4757. if test -x /sbin/sysconfig; then
  4758. case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
  4759. *1*) lt_cv_sys_max_cmd_len=-1 ;;
  4760. esac
  4761. fi
  4762. ;;
  4763. sco3.2v5*)
  4764. lt_cv_sys_max_cmd_len=102400
  4765. ;;
  4766. sysv5* | sco5v6* | sysv4.2uw2*)
  4767. kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
  4768. if test -n "$kargmax"; then
  4769. lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
  4770. else
  4771. lt_cv_sys_max_cmd_len=32768
  4772. fi
  4773. ;;
  4774. *)
  4775. lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
  4776. if test -n "$lt_cv_sys_max_cmd_len"; then
  4777. lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
  4778. lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
  4779. else
  4780. # Make teststring a little bigger before we do anything with it.
  4781. # a 1K string should be a reasonable start.
  4782. for i in 1 2 3 4 5 6 7 8 ; do
  4783. teststring=$teststring$teststring
  4784. done
  4785. SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
  4786. # If test is not a shell built-in, we'll probably end up computing a
  4787. # maximum length that is only half of the actual maximum length, but
  4788. # we can't tell.
  4789. while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
  4790. = "X$teststring$teststring"; } >/dev/null 2>&1 &&
  4791. test $i != 17 # 1/2 MB should be enough
  4792. do
  4793. i=`expr $i + 1`
  4794. teststring=$teststring$teststring
  4795. done
  4796. # Only check the string length outside the loop.
  4797. lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
  4798. teststring=
  4799. # Add a significant safety factor because C++ compilers can tack on
  4800. # massive amounts of additional arguments before passing them to the
  4801. # linker. It appears as though 1/2 is a usable value.
  4802. lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
  4803. fi
  4804. ;;
  4805. esac
  4806. fi
  4807. if test -n $lt_cv_sys_max_cmd_len ; then
  4808. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
  4809. $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
  4810. else
  4811. { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
  4812. $as_echo "none" >&6; }
  4813. fi
  4814. max_cmd_len=$lt_cv_sys_max_cmd_len
  4815. : ${CP="cp -f"}
  4816. : ${MV="mv -f"}
  4817. : ${RM="rm -f"}
  4818. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
  4819. $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
  4820. # Try some XSI features
  4821. xsi_shell=no
  4822. ( _lt_dummy="a/b/c"
  4823. test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
  4824. = c,a/b,b/c, \
  4825. && eval 'test $(( 1 + 1 )) -eq 2 \
  4826. && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
  4827. && xsi_shell=yes
  4828. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
  4829. $as_echo "$xsi_shell" >&6; }
  4830. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
  4831. $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
  4832. lt_shell_append=no
  4833. ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
  4834. >/dev/null 2>&1 \
  4835. && lt_shell_append=yes
  4836. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
  4837. $as_echo "$lt_shell_append" >&6; }
  4838. if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
  4839. lt_unset=unset
  4840. else
  4841. lt_unset=false
  4842. fi
  4843. # test EBCDIC or ASCII
  4844. case `echo X|tr X '\101'` in
  4845. A) # ASCII based system
  4846. # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
  4847. lt_SP2NL='tr \040 \012'
  4848. lt_NL2SP='tr \015\012 \040\040'
  4849. ;;
  4850. *) # EBCDIC based system
  4851. lt_SP2NL='tr \100 \n'
  4852. lt_NL2SP='tr \r\n \100\100'
  4853. ;;
  4854. esac
  4855. { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
  4856. $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
  4857. if ${lt_cv_to_host_file_cmd+:} false; then :
  4858. $as_echo_n "(cached) " >&6
  4859. else
  4860. case $host in
  4861. *-*-mingw* )
  4862. case $build in
  4863. *-*-mingw* ) # actually msys
  4864. lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
  4865. ;;
  4866. *-*-cygwin* )
  4867. lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
  4868. ;;
  4869. * ) # otherwise, assume *nix
  4870. lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
  4871. ;;
  4872. esac
  4873. ;;
  4874. *-*-cygwin* )
  4875. case $build in
  4876. *-*-mingw* ) # actually msys
  4877. lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
  4878. ;;
  4879. *-*-cygwin* )
  4880. lt_cv_to_host_file_cmd=func_convert_file_noop
  4881. ;;
  4882. * ) # otherwise, assume *nix
  4883. lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
  4884. ;;
  4885. esac
  4886. ;;
  4887. * ) # unhandled hosts (and "normal" native builds)
  4888. lt_cv_to_host_file_cmd=func_convert_file_noop
  4889. ;;
  4890. esac
  4891. fi
  4892. to_host_file_cmd=$lt_cv_to_host_file_cmd
  4893. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
  4894. $as_echo "$lt_cv_to_host_file_cmd" >&6; }
  4895. { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
  4896. $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
  4897. if ${lt_cv_to_tool_file_cmd+:} false; then :
  4898. $as_echo_n "(cached) " >&6
  4899. else
  4900. #assume ordinary cross tools, or native build.
  4901. lt_cv_to_tool_file_cmd=func_convert_file_noop
  4902. case $host in
  4903. *-*-mingw* )
  4904. case $build in
  4905. *-*-mingw* ) # actually msys
  4906. lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
  4907. ;;
  4908. esac
  4909. ;;
  4910. esac
  4911. fi
  4912. to_tool_file_cmd=$lt_cv_to_tool_file_cmd
  4913. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
  4914. $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
  4915. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
  4916. $as_echo_n "checking for $LD option to reload object files... " >&6; }
  4917. if ${lt_cv_ld_reload_flag+:} false; then :
  4918. $as_echo_n "(cached) " >&6
  4919. else
  4920. lt_cv_ld_reload_flag='-r'
  4921. fi
  4922. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
  4923. $as_echo "$lt_cv_ld_reload_flag" >&6; }
  4924. reload_flag=$lt_cv_ld_reload_flag
  4925. case $reload_flag in
  4926. "" | " "*) ;;
  4927. *) reload_flag=" $reload_flag" ;;
  4928. esac
  4929. reload_cmds='$LD$reload_flag -o $output$reload_objs'
  4930. case $host_os in
  4931. cygwin* | mingw* | pw32* | cegcc*)
  4932. if test "$GCC" != yes; then
  4933. reload_cmds=false
  4934. fi
  4935. ;;
  4936. darwin*)
  4937. if test "$GCC" = yes; then
  4938. reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
  4939. else
  4940. reload_cmds='$LD$reload_flag -o $output$reload_objs'
  4941. fi
  4942. ;;
  4943. esac
  4944. if test -n "$ac_tool_prefix"; then
  4945. # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
  4946. set dummy ${ac_tool_prefix}objdump; ac_word=$2
  4947. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4948. $as_echo_n "checking for $ac_word... " >&6; }
  4949. if ${ac_cv_prog_OBJDUMP+:} false; then :
  4950. $as_echo_n "(cached) " >&6
  4951. else
  4952. if test -n "$OBJDUMP"; then
  4953. ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
  4954. else
  4955. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4956. for as_dir in $PATH
  4957. do
  4958. IFS=$as_save_IFS
  4959. test -z "$as_dir" && as_dir=.
  4960. for ac_exec_ext in '' $ac_executable_extensions; do
  4961. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4962. ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
  4963. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4964. break 2
  4965. fi
  4966. done
  4967. done
  4968. IFS=$as_save_IFS
  4969. fi
  4970. fi
  4971. OBJDUMP=$ac_cv_prog_OBJDUMP
  4972. if test -n "$OBJDUMP"; then
  4973. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
  4974. $as_echo "$OBJDUMP" >&6; }
  4975. else
  4976. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4977. $as_echo "no" >&6; }
  4978. fi
  4979. fi
  4980. if test -z "$ac_cv_prog_OBJDUMP"; then
  4981. ac_ct_OBJDUMP=$OBJDUMP
  4982. # Extract the first word of "objdump", so it can be a program name with args.
  4983. set dummy objdump; ac_word=$2
  4984. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4985. $as_echo_n "checking for $ac_word... " >&6; }
  4986. if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
  4987. $as_echo_n "(cached) " >&6
  4988. else
  4989. if test -n "$ac_ct_OBJDUMP"; then
  4990. ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
  4991. else
  4992. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4993. for as_dir in $PATH
  4994. do
  4995. IFS=$as_save_IFS
  4996. test -z "$as_dir" && as_dir=.
  4997. for ac_exec_ext in '' $ac_executable_extensions; do
  4998. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4999. ac_cv_prog_ac_ct_OBJDUMP="objdump"
  5000. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5001. break 2
  5002. fi
  5003. done
  5004. done
  5005. IFS=$as_save_IFS
  5006. fi
  5007. fi
  5008. ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
  5009. if test -n "$ac_ct_OBJDUMP"; then
  5010. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
  5011. $as_echo "$ac_ct_OBJDUMP" >&6; }
  5012. else
  5013. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5014. $as_echo "no" >&6; }
  5015. fi
  5016. if test "x$ac_ct_OBJDUMP" = x; then
  5017. OBJDUMP="false"
  5018. else
  5019. case $cross_compiling:$ac_tool_warned in
  5020. yes:)
  5021. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  5022. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  5023. ac_tool_warned=yes ;;
  5024. esac
  5025. OBJDUMP=$ac_ct_OBJDUMP
  5026. fi
  5027. else
  5028. OBJDUMP="$ac_cv_prog_OBJDUMP"
  5029. fi
  5030. test -z "$OBJDUMP" && OBJDUMP=objdump
  5031. { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
  5032. $as_echo_n "checking how to recognize dependent libraries... " >&6; }
  5033. if ${lt_cv_deplibs_check_method+:} false; then :
  5034. $as_echo_n "(cached) " >&6
  5035. else
  5036. lt_cv_file_magic_cmd='$MAGIC_CMD'
  5037. lt_cv_file_magic_test_file=
  5038. lt_cv_deplibs_check_method='unknown'
  5039. # Need to set the preceding variable on all platforms that support
  5040. # interlibrary dependencies.
  5041. # 'none' -- dependencies not supported.
  5042. # `unknown' -- same as none, but documents that we really don't know.
  5043. # 'pass_all' -- all dependencies passed with no checks.
  5044. # 'test_compile' -- check by making test program.
  5045. # 'file_magic [[regex]]' -- check by looking for files in library path
  5046. # which responds to the $file_magic_cmd with a given extended regex.
  5047. # If you have `file' or equivalent on your system and you're not sure
  5048. # whether `pass_all' will *always* work, you probably want this one.
  5049. case $host_os in
  5050. aix[4-9]*)
  5051. lt_cv_deplibs_check_method=pass_all
  5052. ;;
  5053. beos*)
  5054. lt_cv_deplibs_check_method=pass_all
  5055. ;;
  5056. bsdi[45]*)
  5057. lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
  5058. lt_cv_file_magic_cmd='/usr/bin/file -L'
  5059. lt_cv_file_magic_test_file=/shlib/libc.so
  5060. ;;
  5061. cygwin*)
  5062. # func_win32_libid is a shell function defined in ltmain.sh
  5063. lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
  5064. lt_cv_file_magic_cmd='func_win32_libid'
  5065. ;;
  5066. mingw* | pw32*)
  5067. # Base MSYS/MinGW do not provide the 'file' command needed by
  5068. # func_win32_libid shell function, so use a weaker test based on 'objdump',
  5069. # unless we find 'file', for example because we are cross-compiling.
  5070. # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
  5071. if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
  5072. lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
  5073. lt_cv_file_magic_cmd='func_win32_libid'
  5074. else
  5075. # Keep this pattern in sync with the one in func_win32_libid.
  5076. lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
  5077. lt_cv_file_magic_cmd='$OBJDUMP -f'
  5078. fi
  5079. ;;
  5080. cegcc*)
  5081. # use the weaker test based on 'objdump'. See mingw*.
  5082. lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
  5083. lt_cv_file_magic_cmd='$OBJDUMP -f'
  5084. ;;
  5085. darwin* | rhapsody*)
  5086. lt_cv_deplibs_check_method=pass_all
  5087. ;;
  5088. freebsd* | dragonfly*)
  5089. if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
  5090. case $host_cpu in
  5091. i*86 )
  5092. # Not sure whether the presence of OpenBSD here was a mistake.
  5093. # Let's accept both of them until this is cleared up.
  5094. lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
  5095. lt_cv_file_magic_cmd=/usr/bin/file
  5096. lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
  5097. ;;
  5098. esac
  5099. else
  5100. lt_cv_deplibs_check_method=pass_all
  5101. fi
  5102. ;;
  5103. gnu*)
  5104. lt_cv_deplibs_check_method=pass_all
  5105. ;;
  5106. haiku*)
  5107. lt_cv_deplibs_check_method=pass_all
  5108. ;;
  5109. hpux10.20* | hpux11*)
  5110. lt_cv_file_magic_cmd=/usr/bin/file
  5111. case $host_cpu in
  5112. ia64*)
  5113. lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
  5114. lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
  5115. ;;
  5116. hppa*64*)
  5117. 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]'
  5118. lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
  5119. ;;
  5120. *)
  5121. lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
  5122. lt_cv_file_magic_test_file=/usr/lib/libc.sl
  5123. ;;
  5124. esac
  5125. ;;
  5126. interix[3-9]*)
  5127. # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
  5128. lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
  5129. ;;
  5130. irix5* | irix6* | nonstopux*)
  5131. case $LD in
  5132. *-32|*"-32 ") libmagic=32-bit;;
  5133. *-n32|*"-n32 ") libmagic=N32;;
  5134. *-64|*"-64 ") libmagic=64-bit;;
  5135. *) libmagic=never-match;;
  5136. esac
  5137. lt_cv_deplibs_check_method=pass_all
  5138. ;;
  5139. # This must be Linux ELF.
  5140. linux* | k*bsd*-gnu | kopensolaris*-gnu)
  5141. lt_cv_deplibs_check_method=pass_all
  5142. ;;
  5143. netbsd* | netbsdelf*-gnu)
  5144. if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
  5145. lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
  5146. else
  5147. lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
  5148. fi
  5149. ;;
  5150. newos6*)
  5151. lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
  5152. lt_cv_file_magic_cmd=/usr/bin/file
  5153. lt_cv_file_magic_test_file=/usr/lib/libnls.so
  5154. ;;
  5155. *nto* | *qnx*)
  5156. lt_cv_deplibs_check_method=pass_all
  5157. ;;
  5158. openbsd*)
  5159. if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  5160. lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
  5161. else
  5162. lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
  5163. fi
  5164. ;;
  5165. osf3* | osf4* | osf5*)
  5166. lt_cv_deplibs_check_method=pass_all
  5167. ;;
  5168. rdos*)
  5169. lt_cv_deplibs_check_method=pass_all
  5170. ;;
  5171. solaris*)
  5172. lt_cv_deplibs_check_method=pass_all
  5173. ;;
  5174. sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  5175. lt_cv_deplibs_check_method=pass_all
  5176. ;;
  5177. sysv4 | sysv4.3*)
  5178. case $host_vendor in
  5179. motorola)
  5180. 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]'
  5181. lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
  5182. ;;
  5183. ncr)
  5184. lt_cv_deplibs_check_method=pass_all
  5185. ;;
  5186. sequent)
  5187. lt_cv_file_magic_cmd='/bin/file'
  5188. lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
  5189. ;;
  5190. sni)
  5191. lt_cv_file_magic_cmd='/bin/file'
  5192. lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
  5193. lt_cv_file_magic_test_file=/lib/libc.so
  5194. ;;
  5195. siemens)
  5196. lt_cv_deplibs_check_method=pass_all
  5197. ;;
  5198. pc)
  5199. lt_cv_deplibs_check_method=pass_all
  5200. ;;
  5201. esac
  5202. ;;
  5203. tpf*)
  5204. lt_cv_deplibs_check_method=pass_all
  5205. ;;
  5206. esac
  5207. fi
  5208. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
  5209. $as_echo "$lt_cv_deplibs_check_method" >&6; }
  5210. file_magic_glob=
  5211. want_nocaseglob=no
  5212. if test "$build" = "$host"; then
  5213. case $host_os in
  5214. mingw* | pw32*)
  5215. if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
  5216. want_nocaseglob=yes
  5217. else
  5218. file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
  5219. fi
  5220. ;;
  5221. esac
  5222. fi
  5223. file_magic_cmd=$lt_cv_file_magic_cmd
  5224. deplibs_check_method=$lt_cv_deplibs_check_method
  5225. test -z "$deplibs_check_method" && deplibs_check_method=unknown
  5226. if test -n "$ac_tool_prefix"; then
  5227. # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
  5228. set dummy ${ac_tool_prefix}dlltool; ac_word=$2
  5229. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5230. $as_echo_n "checking for $ac_word... " >&6; }
  5231. if ${ac_cv_prog_DLLTOOL+:} false; then :
  5232. $as_echo_n "(cached) " >&6
  5233. else
  5234. if test -n "$DLLTOOL"; then
  5235. ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
  5236. else
  5237. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5238. for as_dir in $PATH
  5239. do
  5240. IFS=$as_save_IFS
  5241. test -z "$as_dir" && as_dir=.
  5242. for ac_exec_ext in '' $ac_executable_extensions; do
  5243. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5244. ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
  5245. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5246. break 2
  5247. fi
  5248. done
  5249. done
  5250. IFS=$as_save_IFS
  5251. fi
  5252. fi
  5253. DLLTOOL=$ac_cv_prog_DLLTOOL
  5254. if test -n "$DLLTOOL"; then
  5255. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
  5256. $as_echo "$DLLTOOL" >&6; }
  5257. else
  5258. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5259. $as_echo "no" >&6; }
  5260. fi
  5261. fi
  5262. if test -z "$ac_cv_prog_DLLTOOL"; then
  5263. ac_ct_DLLTOOL=$DLLTOOL
  5264. # Extract the first word of "dlltool", so it can be a program name with args.
  5265. set dummy dlltool; ac_word=$2
  5266. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5267. $as_echo_n "checking for $ac_word... " >&6; }
  5268. if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
  5269. $as_echo_n "(cached) " >&6
  5270. else
  5271. if test -n "$ac_ct_DLLTOOL"; then
  5272. ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
  5273. else
  5274. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5275. for as_dir in $PATH
  5276. do
  5277. IFS=$as_save_IFS
  5278. test -z "$as_dir" && as_dir=.
  5279. for ac_exec_ext in '' $ac_executable_extensions; do
  5280. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5281. ac_cv_prog_ac_ct_DLLTOOL="dlltool"
  5282. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5283. break 2
  5284. fi
  5285. done
  5286. done
  5287. IFS=$as_save_IFS
  5288. fi
  5289. fi
  5290. ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
  5291. if test -n "$ac_ct_DLLTOOL"; then
  5292. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
  5293. $as_echo "$ac_ct_DLLTOOL" >&6; }
  5294. else
  5295. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5296. $as_echo "no" >&6; }
  5297. fi
  5298. if test "x$ac_ct_DLLTOOL" = x; then
  5299. DLLTOOL="false"
  5300. else
  5301. case $cross_compiling:$ac_tool_warned in
  5302. yes:)
  5303. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  5304. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  5305. ac_tool_warned=yes ;;
  5306. esac
  5307. DLLTOOL=$ac_ct_DLLTOOL
  5308. fi
  5309. else
  5310. DLLTOOL="$ac_cv_prog_DLLTOOL"
  5311. fi
  5312. test -z "$DLLTOOL" && DLLTOOL=dlltool
  5313. { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
  5314. $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
  5315. if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
  5316. $as_echo_n "(cached) " >&6
  5317. else
  5318. lt_cv_sharedlib_from_linklib_cmd='unknown'
  5319. case $host_os in
  5320. cygwin* | mingw* | pw32* | cegcc*)
  5321. # two different shell functions defined in ltmain.sh
  5322. # decide which to use based on capabilities of $DLLTOOL
  5323. case `$DLLTOOL --help 2>&1` in
  5324. *--identify-strict*)
  5325. lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
  5326. ;;
  5327. *)
  5328. lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
  5329. ;;
  5330. esac
  5331. ;;
  5332. *)
  5333. # fallback: assume linklib IS sharedlib
  5334. lt_cv_sharedlib_from_linklib_cmd="$ECHO"
  5335. ;;
  5336. esac
  5337. fi
  5338. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
  5339. $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
  5340. sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
  5341. test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
  5342. if test -n "$ac_tool_prefix"; then
  5343. for ac_prog in ar
  5344. do
  5345. # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  5346. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  5347. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5348. $as_echo_n "checking for $ac_word... " >&6; }
  5349. if ${ac_cv_prog_AR+:} false; then :
  5350. $as_echo_n "(cached) " >&6
  5351. else
  5352. if test -n "$AR"; then
  5353. ac_cv_prog_AR="$AR" # Let the user override the test.
  5354. else
  5355. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5356. for as_dir in $PATH
  5357. do
  5358. IFS=$as_save_IFS
  5359. test -z "$as_dir" && as_dir=.
  5360. for ac_exec_ext in '' $ac_executable_extensions; do
  5361. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5362. ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
  5363. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5364. break 2
  5365. fi
  5366. done
  5367. done
  5368. IFS=$as_save_IFS
  5369. fi
  5370. fi
  5371. AR=$ac_cv_prog_AR
  5372. if test -n "$AR"; then
  5373. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
  5374. $as_echo "$AR" >&6; }
  5375. else
  5376. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5377. $as_echo "no" >&6; }
  5378. fi
  5379. test -n "$AR" && break
  5380. done
  5381. fi
  5382. if test -z "$AR"; then
  5383. ac_ct_AR=$AR
  5384. for ac_prog in ar
  5385. do
  5386. # Extract the first word of "$ac_prog", so it can be a program name with args.
  5387. set dummy $ac_prog; ac_word=$2
  5388. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5389. $as_echo_n "checking for $ac_word... " >&6; }
  5390. if ${ac_cv_prog_ac_ct_AR+:} false; then :
  5391. $as_echo_n "(cached) " >&6
  5392. else
  5393. if test -n "$ac_ct_AR"; then
  5394. ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
  5395. else
  5396. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5397. for as_dir in $PATH
  5398. do
  5399. IFS=$as_save_IFS
  5400. test -z "$as_dir" && as_dir=.
  5401. for ac_exec_ext in '' $ac_executable_extensions; do
  5402. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5403. ac_cv_prog_ac_ct_AR="$ac_prog"
  5404. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5405. break 2
  5406. fi
  5407. done
  5408. done
  5409. IFS=$as_save_IFS
  5410. fi
  5411. fi
  5412. ac_ct_AR=$ac_cv_prog_ac_ct_AR
  5413. if test -n "$ac_ct_AR"; then
  5414. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
  5415. $as_echo "$ac_ct_AR" >&6; }
  5416. else
  5417. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5418. $as_echo "no" >&6; }
  5419. fi
  5420. test -n "$ac_ct_AR" && break
  5421. done
  5422. if test "x$ac_ct_AR" = x; then
  5423. AR="false"
  5424. else
  5425. case $cross_compiling:$ac_tool_warned in
  5426. yes:)
  5427. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  5428. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  5429. ac_tool_warned=yes ;;
  5430. esac
  5431. AR=$ac_ct_AR
  5432. fi
  5433. fi
  5434. : ${AR=ar}
  5435. : ${AR_FLAGS=cru}
  5436. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
  5437. $as_echo_n "checking for archiver @FILE support... " >&6; }
  5438. if ${lt_cv_ar_at_file+:} false; then :
  5439. $as_echo_n "(cached) " >&6
  5440. else
  5441. lt_cv_ar_at_file=no
  5442. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5443. /* end confdefs.h. */
  5444. int
  5445. main ()
  5446. {
  5447. ;
  5448. return 0;
  5449. }
  5450. _ACEOF
  5451. if ac_fn_cxx_try_compile "$LINENO"; then :
  5452. echo conftest.$ac_objext > conftest.lst
  5453. lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
  5454. { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
  5455. (eval $lt_ar_try) 2>&5
  5456. ac_status=$?
  5457. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  5458. test $ac_status = 0; }
  5459. if test "$ac_status" -eq 0; then
  5460. # Ensure the archiver fails upon bogus file names.
  5461. rm -f conftest.$ac_objext libconftest.a
  5462. { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
  5463. (eval $lt_ar_try) 2>&5
  5464. ac_status=$?
  5465. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  5466. test $ac_status = 0; }
  5467. if test "$ac_status" -ne 0; then
  5468. lt_cv_ar_at_file=@
  5469. fi
  5470. fi
  5471. rm -f conftest.* libconftest.a
  5472. fi
  5473. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5474. fi
  5475. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
  5476. $as_echo "$lt_cv_ar_at_file" >&6; }
  5477. if test "x$lt_cv_ar_at_file" = xno; then
  5478. archiver_list_spec=
  5479. else
  5480. archiver_list_spec=$lt_cv_ar_at_file
  5481. fi
  5482. if test -n "$ac_tool_prefix"; then
  5483. # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  5484. set dummy ${ac_tool_prefix}strip; ac_word=$2
  5485. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5486. $as_echo_n "checking for $ac_word... " >&6; }
  5487. if ${ac_cv_prog_STRIP+:} false; then :
  5488. $as_echo_n "(cached) " >&6
  5489. else
  5490. if test -n "$STRIP"; then
  5491. ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  5492. else
  5493. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5494. for as_dir in $PATH
  5495. do
  5496. IFS=$as_save_IFS
  5497. test -z "$as_dir" && as_dir=.
  5498. for ac_exec_ext in '' $ac_executable_extensions; do
  5499. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5500. ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  5501. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5502. break 2
  5503. fi
  5504. done
  5505. done
  5506. IFS=$as_save_IFS
  5507. fi
  5508. fi
  5509. STRIP=$ac_cv_prog_STRIP
  5510. if test -n "$STRIP"; then
  5511. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
  5512. $as_echo "$STRIP" >&6; }
  5513. else
  5514. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5515. $as_echo "no" >&6; }
  5516. fi
  5517. fi
  5518. if test -z "$ac_cv_prog_STRIP"; then
  5519. ac_ct_STRIP=$STRIP
  5520. # Extract the first word of "strip", so it can be a program name with args.
  5521. set dummy strip; ac_word=$2
  5522. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5523. $as_echo_n "checking for $ac_word... " >&6; }
  5524. if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
  5525. $as_echo_n "(cached) " >&6
  5526. else
  5527. if test -n "$ac_ct_STRIP"; then
  5528. ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  5529. else
  5530. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5531. for as_dir in $PATH
  5532. do
  5533. IFS=$as_save_IFS
  5534. test -z "$as_dir" && as_dir=.
  5535. for ac_exec_ext in '' $ac_executable_extensions; do
  5536. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5537. ac_cv_prog_ac_ct_STRIP="strip"
  5538. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5539. break 2
  5540. fi
  5541. done
  5542. done
  5543. IFS=$as_save_IFS
  5544. fi
  5545. fi
  5546. ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  5547. if test -n "$ac_ct_STRIP"; then
  5548. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
  5549. $as_echo "$ac_ct_STRIP" >&6; }
  5550. else
  5551. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5552. $as_echo "no" >&6; }
  5553. fi
  5554. if test "x$ac_ct_STRIP" = x; then
  5555. STRIP=":"
  5556. else
  5557. case $cross_compiling:$ac_tool_warned in
  5558. yes:)
  5559. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  5560. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  5561. ac_tool_warned=yes ;;
  5562. esac
  5563. STRIP=$ac_ct_STRIP
  5564. fi
  5565. else
  5566. STRIP="$ac_cv_prog_STRIP"
  5567. fi
  5568. test -z "$STRIP" && STRIP=:
  5569. if test -n "$ac_tool_prefix"; then
  5570. # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
  5571. set dummy ${ac_tool_prefix}ranlib; ac_word=$2
  5572. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5573. $as_echo_n "checking for $ac_word... " >&6; }
  5574. if ${ac_cv_prog_RANLIB+:} false; then :
  5575. $as_echo_n "(cached) " >&6
  5576. else
  5577. if test -n "$RANLIB"; then
  5578. ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
  5579. else
  5580. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5581. for as_dir in $PATH
  5582. do
  5583. IFS=$as_save_IFS
  5584. test -z "$as_dir" && as_dir=.
  5585. for ac_exec_ext in '' $ac_executable_extensions; do
  5586. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5587. ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
  5588. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5589. break 2
  5590. fi
  5591. done
  5592. done
  5593. IFS=$as_save_IFS
  5594. fi
  5595. fi
  5596. RANLIB=$ac_cv_prog_RANLIB
  5597. if test -n "$RANLIB"; then
  5598. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
  5599. $as_echo "$RANLIB" >&6; }
  5600. else
  5601. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5602. $as_echo "no" >&6; }
  5603. fi
  5604. fi
  5605. if test -z "$ac_cv_prog_RANLIB"; then
  5606. ac_ct_RANLIB=$RANLIB
  5607. # Extract the first word of "ranlib", so it can be a program name with args.
  5608. set dummy ranlib; ac_word=$2
  5609. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5610. $as_echo_n "checking for $ac_word... " >&6; }
  5611. if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
  5612. $as_echo_n "(cached) " >&6
  5613. else
  5614. if test -n "$ac_ct_RANLIB"; then
  5615. ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
  5616. else
  5617. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5618. for as_dir in $PATH
  5619. do
  5620. IFS=$as_save_IFS
  5621. test -z "$as_dir" && as_dir=.
  5622. for ac_exec_ext in '' $ac_executable_extensions; do
  5623. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5624. ac_cv_prog_ac_ct_RANLIB="ranlib"
  5625. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5626. break 2
  5627. fi
  5628. done
  5629. done
  5630. IFS=$as_save_IFS
  5631. fi
  5632. fi
  5633. ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
  5634. if test -n "$ac_ct_RANLIB"; then
  5635. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
  5636. $as_echo "$ac_ct_RANLIB" >&6; }
  5637. else
  5638. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5639. $as_echo "no" >&6; }
  5640. fi
  5641. if test "x$ac_ct_RANLIB" = x; then
  5642. RANLIB=":"
  5643. else
  5644. case $cross_compiling:$ac_tool_warned in
  5645. yes:)
  5646. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  5647. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  5648. ac_tool_warned=yes ;;
  5649. esac
  5650. RANLIB=$ac_ct_RANLIB
  5651. fi
  5652. else
  5653. RANLIB="$ac_cv_prog_RANLIB"
  5654. fi
  5655. test -z "$RANLIB" && RANLIB=:
  5656. # Determine commands to create old-style static archives.
  5657. old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
  5658. old_postinstall_cmds='chmod 644 $oldlib'
  5659. old_postuninstall_cmds=
  5660. if test -n "$RANLIB"; then
  5661. case $host_os in
  5662. openbsd*)
  5663. old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
  5664. ;;
  5665. *)
  5666. old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
  5667. ;;
  5668. esac
  5669. old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
  5670. fi
  5671. case $host_os in
  5672. darwin*)
  5673. lock_old_archive_extraction=yes ;;
  5674. *)
  5675. lock_old_archive_extraction=no ;;
  5676. esac
  5677. # If no C compiler was specified, use CC.
  5678. LTCC=${LTCC-"$CC"}
  5679. # If no C compiler flags were specified, use CFLAGS.
  5680. LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
  5681. # Allow CC to be a program name with arguments.
  5682. compiler=$CC
  5683. # Check for command to grab the raw symbol name followed by C symbol from nm.
  5684. { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
  5685. $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
  5686. if ${lt_cv_sys_global_symbol_pipe+:} false; then :
  5687. $as_echo_n "(cached) " >&6
  5688. else
  5689. # These are sane defaults that work on at least a few old systems.
  5690. # [They come from Ultrix. What could be older than Ultrix?!! ;)]
  5691. # Character class describing NM global symbol codes.
  5692. symcode='[BCDEGRST]'
  5693. # Regexp to match symbols that can be accessed directly from C.
  5694. sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
  5695. # Define system-specific variables.
  5696. case $host_os in
  5697. aix*)
  5698. symcode='[BCDT]'
  5699. ;;
  5700. cygwin* | mingw* | pw32* | cegcc*)
  5701. symcode='[ABCDGISTW]'
  5702. ;;
  5703. hpux*)
  5704. if test "$host_cpu" = ia64; then
  5705. symcode='[ABCDEGRST]'
  5706. fi
  5707. ;;
  5708. irix* | nonstopux*)
  5709. symcode='[BCDEGRST]'
  5710. ;;
  5711. osf*)
  5712. symcode='[BCDEGQRST]'
  5713. ;;
  5714. solaris*)
  5715. symcode='[BDRT]'
  5716. ;;
  5717. sco3.2v5*)
  5718. symcode='[DT]'
  5719. ;;
  5720. sysv4.2uw2*)
  5721. symcode='[DT]'
  5722. ;;
  5723. sysv5* | sco5v6* | unixware* | OpenUNIX*)
  5724. symcode='[ABDT]'
  5725. ;;
  5726. sysv4)
  5727. symcode='[DFNSTU]'
  5728. ;;
  5729. esac
  5730. # If we're using GNU nm, then use its standard symbol codes.
  5731. case `$NM -V 2>&1` in
  5732. *GNU* | *'with BFD'*)
  5733. symcode='[ABCDGIRSTW]' ;;
  5734. esac
  5735. # Transform an extracted symbol line into a proper C declaration.
  5736. # Some systems (esp. on ia64) link data and code symbols differently,
  5737. # so use this general approach.
  5738. lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
  5739. # Transform an extracted symbol line into symbol name and symbol address
  5740. lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
  5741. 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'"
  5742. # Handle CRLF in mingw tool chain
  5743. opt_cr=
  5744. case $build_os in
  5745. mingw*)
  5746. opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
  5747. ;;
  5748. esac
  5749. # Try without a prefix underscore, then with it.
  5750. for ac_symprfx in "" "_"; do
  5751. # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
  5752. symxfrm="\\1 $ac_symprfx\\2 \\2"
  5753. # Write the raw and C identifiers.
  5754. if test "$lt_cv_nm_interface" = "MS dumpbin"; then
  5755. # Fake it for dumpbin and say T for any non-static function
  5756. # and D for any global variable.
  5757. # Also find C++ and __fastcall symbols from MSVC++,
  5758. # which start with @ or ?.
  5759. lt_cv_sys_global_symbol_pipe="$AWK '"\
  5760. " {last_section=section; section=\$ 3};"\
  5761. " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
  5762. " \$ 0!~/External *\|/{next};"\
  5763. " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
  5764. " {if(hide[section]) next};"\
  5765. " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
  5766. " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
  5767. " s[1]~/^[@?]/{print s[1], s[1]; next};"\
  5768. " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
  5769. " ' prfx=^$ac_symprfx"
  5770. else
  5771. lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
  5772. fi
  5773. lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
  5774. # Check to see that the pipe works correctly.
  5775. pipe_works=no
  5776. rm -f conftest*
  5777. cat > conftest.$ac_ext <<_LT_EOF
  5778. #ifdef __cplusplus
  5779. extern "C" {
  5780. #endif
  5781. char nm_test_var;
  5782. void nm_test_func(void);
  5783. void nm_test_func(void){}
  5784. #ifdef __cplusplus
  5785. }
  5786. #endif
  5787. int main(){nm_test_var='a';nm_test_func();return(0);}
  5788. _LT_EOF
  5789. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  5790. (eval $ac_compile) 2>&5
  5791. ac_status=$?
  5792. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  5793. test $ac_status = 0; }; then
  5794. # Now try to grab the symbols.
  5795. nlist=conftest.nm
  5796. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
  5797. (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
  5798. ac_status=$?
  5799. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  5800. test $ac_status = 0; } && test -s "$nlist"; then
  5801. # Try sorting and uniquifying the output.
  5802. if sort "$nlist" | uniq > "$nlist"T; then
  5803. mv -f "$nlist"T "$nlist"
  5804. else
  5805. rm -f "$nlist"T
  5806. fi
  5807. # Make sure that we snagged all the symbols we need.
  5808. if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
  5809. if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
  5810. cat <<_LT_EOF > conftest.$ac_ext
  5811. /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
  5812. #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
  5813. /* DATA imports from DLLs on WIN32 con't be const, because runtime
  5814. relocations are performed -- see ld's documentation on pseudo-relocs. */
  5815. # define LT_DLSYM_CONST
  5816. #elif defined(__osf__)
  5817. /* This system does not cope well with relocations in const data. */
  5818. # define LT_DLSYM_CONST
  5819. #else
  5820. # define LT_DLSYM_CONST const
  5821. #endif
  5822. #ifdef __cplusplus
  5823. extern "C" {
  5824. #endif
  5825. _LT_EOF
  5826. # Now generate the symbol file.
  5827. eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
  5828. cat <<_LT_EOF >> conftest.$ac_ext
  5829. /* The mapping between symbol names and symbols. */
  5830. LT_DLSYM_CONST struct {
  5831. const char *name;
  5832. void *address;
  5833. }
  5834. lt__PROGRAM__LTX_preloaded_symbols[] =
  5835. {
  5836. { "@PROGRAM@", (void *) 0 },
  5837. _LT_EOF
  5838. $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
  5839. cat <<\_LT_EOF >> conftest.$ac_ext
  5840. {0, (void *) 0}
  5841. };
  5842. /* This works around a problem in FreeBSD linker */
  5843. #ifdef FREEBSD_WORKAROUND
  5844. static const void *lt_preloaded_setup() {
  5845. return lt__PROGRAM__LTX_preloaded_symbols;
  5846. }
  5847. #endif
  5848. #ifdef __cplusplus
  5849. }
  5850. #endif
  5851. _LT_EOF
  5852. # Now try linking the two files.
  5853. mv conftest.$ac_objext conftstm.$ac_objext
  5854. lt_globsym_save_LIBS=$LIBS
  5855. lt_globsym_save_CFLAGS=$CFLAGS
  5856. LIBS="conftstm.$ac_objext"
  5857. CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
  5858. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  5859. (eval $ac_link) 2>&5
  5860. ac_status=$?
  5861. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  5862. test $ac_status = 0; } && test -s conftest${ac_exeext}; then
  5863. pipe_works=yes
  5864. fi
  5865. LIBS=$lt_globsym_save_LIBS
  5866. CFLAGS=$lt_globsym_save_CFLAGS
  5867. else
  5868. echo "cannot find nm_test_func in $nlist" >&5
  5869. fi
  5870. else
  5871. echo "cannot find nm_test_var in $nlist" >&5
  5872. fi
  5873. else
  5874. echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
  5875. fi
  5876. else
  5877. echo "$progname: failed program was:" >&5
  5878. cat conftest.$ac_ext >&5
  5879. fi
  5880. rm -rf conftest* conftst*
  5881. # Do not use the global_symbol_pipe unless it works.
  5882. if test "$pipe_works" = yes; then
  5883. break
  5884. else
  5885. lt_cv_sys_global_symbol_pipe=
  5886. fi
  5887. done
  5888. fi
  5889. if test -z "$lt_cv_sys_global_symbol_pipe"; then
  5890. lt_cv_sys_global_symbol_to_cdecl=
  5891. fi
  5892. if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
  5893. { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
  5894. $as_echo "failed" >&6; }
  5895. else
  5896. { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
  5897. $as_echo "ok" >&6; }
  5898. fi
  5899. # Response file support.
  5900. if test "$lt_cv_nm_interface" = "MS dumpbin"; then
  5901. nm_file_list_spec='@'
  5902. elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
  5903. nm_file_list_spec='@'
  5904. fi
  5905. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
  5906. $as_echo_n "checking for sysroot... " >&6; }
  5907. # Check whether --with-sysroot was given.
  5908. if test "${with_sysroot+set}" = set; then :
  5909. withval=$with_sysroot;
  5910. else
  5911. with_sysroot=no
  5912. fi
  5913. lt_sysroot=
  5914. case ${with_sysroot} in #(
  5915. yes)
  5916. if test "$GCC" = yes; then
  5917. lt_sysroot=`$CC --print-sysroot 2>/dev/null`
  5918. fi
  5919. ;; #(
  5920. /*)
  5921. lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
  5922. ;; #(
  5923. no|'')
  5924. ;; #(
  5925. *)
  5926. { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
  5927. $as_echo "${with_sysroot}" >&6; }
  5928. as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
  5929. ;;
  5930. esac
  5931. { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
  5932. $as_echo "${lt_sysroot:-no}" >&6; }
  5933. # Check whether --enable-libtool-lock was given.
  5934. if test "${enable_libtool_lock+set}" = set; then :
  5935. enableval=$enable_libtool_lock;
  5936. fi
  5937. test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
  5938. # Some flags need to be propagated to the compiler or linker for good
  5939. # libtool support.
  5940. case $host in
  5941. ia64-*-hpux*)
  5942. # Find out which ABI we are using.
  5943. echo 'int i;' > conftest.$ac_ext
  5944. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  5945. (eval $ac_compile) 2>&5
  5946. ac_status=$?
  5947. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  5948. test $ac_status = 0; }; then
  5949. case `/usr/bin/file conftest.$ac_objext` in
  5950. *ELF-32*)
  5951. HPUX_IA64_MODE="32"
  5952. ;;
  5953. *ELF-64*)
  5954. HPUX_IA64_MODE="64"
  5955. ;;
  5956. esac
  5957. fi
  5958. rm -rf conftest*
  5959. ;;
  5960. *-*-irix6*)
  5961. # Find out which ABI we are using.
  5962. echo '#line '$LINENO' "configure"' > conftest.$ac_ext
  5963. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  5964. (eval $ac_compile) 2>&5
  5965. ac_status=$?
  5966. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  5967. test $ac_status = 0; }; then
  5968. if test "$lt_cv_prog_gnu_ld" = yes; then
  5969. case `/usr/bin/file conftest.$ac_objext` in
  5970. *32-bit*)
  5971. LD="${LD-ld} -melf32bsmip"
  5972. ;;
  5973. *N32*)
  5974. LD="${LD-ld} -melf32bmipn32"
  5975. ;;
  5976. *64-bit*)
  5977. LD="${LD-ld} -melf64bmip"
  5978. ;;
  5979. esac
  5980. else
  5981. case `/usr/bin/file conftest.$ac_objext` in
  5982. *32-bit*)
  5983. LD="${LD-ld} -32"
  5984. ;;
  5985. *N32*)
  5986. LD="${LD-ld} -n32"
  5987. ;;
  5988. *64-bit*)
  5989. LD="${LD-ld} -64"
  5990. ;;
  5991. esac
  5992. fi
  5993. fi
  5994. rm -rf conftest*
  5995. ;;
  5996. x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
  5997. s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
  5998. # Find out which ABI we are using.
  5999. echo 'int i;' > conftest.$ac_ext
  6000. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  6001. (eval $ac_compile) 2>&5
  6002. ac_status=$?
  6003. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  6004. test $ac_status = 0; }; then
  6005. case `/usr/bin/file conftest.o` in
  6006. *32-bit*)
  6007. case $host in
  6008. x86_64-*kfreebsd*-gnu)
  6009. LD="${LD-ld} -m elf_i386_fbsd"
  6010. ;;
  6011. x86_64-*linux*)
  6012. LD="${LD-ld} -m elf_i386"
  6013. ;;
  6014. ppc64-*linux*|powerpc64-*linux*)
  6015. LD="${LD-ld} -m elf32ppclinux"
  6016. ;;
  6017. s390x-*linux*)
  6018. LD="${LD-ld} -m elf_s390"
  6019. ;;
  6020. sparc64-*linux*)
  6021. LD="${LD-ld} -m elf32_sparc"
  6022. ;;
  6023. esac
  6024. ;;
  6025. *64-bit*)
  6026. case $host in
  6027. x86_64-*kfreebsd*-gnu)
  6028. LD="${LD-ld} -m elf_x86_64_fbsd"
  6029. ;;
  6030. x86_64-*linux*)
  6031. LD="${LD-ld} -m elf_x86_64"
  6032. ;;
  6033. ppc*-*linux*|powerpc*-*linux*)
  6034. LD="${LD-ld} -m elf64ppc"
  6035. ;;
  6036. s390*-*linux*|s390*-*tpf*)
  6037. LD="${LD-ld} -m elf64_s390"
  6038. ;;
  6039. sparc*-*linux*)
  6040. LD="${LD-ld} -m elf64_sparc"
  6041. ;;
  6042. esac
  6043. ;;
  6044. esac
  6045. fi
  6046. rm -rf conftest*
  6047. ;;
  6048. *-*-sco3.2v5*)
  6049. # On SCO OpenServer 5, we need -belf to get full-featured binaries.
  6050. SAVE_CFLAGS="$CFLAGS"
  6051. CFLAGS="$CFLAGS -belf"
  6052. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
  6053. $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
  6054. if ${lt_cv_cc_needs_belf+:} false; then :
  6055. $as_echo_n "(cached) " >&6
  6056. else
  6057. ac_ext=c
  6058. ac_cpp='$CPP $CPPFLAGS'
  6059. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  6060. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  6061. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  6062. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6063. /* end confdefs.h. */
  6064. int
  6065. main ()
  6066. {
  6067. ;
  6068. return 0;
  6069. }
  6070. _ACEOF
  6071. if ac_fn_c_try_link "$LINENO"; then :
  6072. lt_cv_cc_needs_belf=yes
  6073. else
  6074. lt_cv_cc_needs_belf=no
  6075. fi
  6076. rm -f core conftest.err conftest.$ac_objext \
  6077. conftest$ac_exeext conftest.$ac_ext
  6078. ac_ext=c
  6079. ac_cpp='$CPP $CPPFLAGS'
  6080. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  6081. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  6082. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  6083. fi
  6084. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
  6085. $as_echo "$lt_cv_cc_needs_belf" >&6; }
  6086. if test x"$lt_cv_cc_needs_belf" != x"yes"; then
  6087. # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
  6088. CFLAGS="$SAVE_CFLAGS"
  6089. fi
  6090. ;;
  6091. sparc*-*solaris*)
  6092. # Find out which ABI we are using.
  6093. echo 'int i;' > conftest.$ac_ext
  6094. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  6095. (eval $ac_compile) 2>&5
  6096. ac_status=$?
  6097. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  6098. test $ac_status = 0; }; then
  6099. case `/usr/bin/file conftest.o` in
  6100. *64-bit*)
  6101. case $lt_cv_prog_gnu_ld in
  6102. yes*) LD="${LD-ld} -m elf64_sparc" ;;
  6103. *)
  6104. if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
  6105. LD="${LD-ld} -64"
  6106. fi
  6107. ;;
  6108. esac
  6109. ;;
  6110. esac
  6111. fi
  6112. rm -rf conftest*
  6113. ;;
  6114. esac
  6115. need_locks="$enable_libtool_lock"
  6116. if test -n "$ac_tool_prefix"; then
  6117. # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
  6118. set dummy ${ac_tool_prefix}mt; ac_word=$2
  6119. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6120. $as_echo_n "checking for $ac_word... " >&6; }
  6121. if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
  6122. $as_echo_n "(cached) " >&6
  6123. else
  6124. if test -n "$MANIFEST_TOOL"; then
  6125. ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
  6126. else
  6127. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6128. for as_dir in $PATH
  6129. do
  6130. IFS=$as_save_IFS
  6131. test -z "$as_dir" && as_dir=.
  6132. for ac_exec_ext in '' $ac_executable_extensions; do
  6133. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6134. ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
  6135. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6136. break 2
  6137. fi
  6138. done
  6139. done
  6140. IFS=$as_save_IFS
  6141. fi
  6142. fi
  6143. MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
  6144. if test -n "$MANIFEST_TOOL"; then
  6145. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
  6146. $as_echo "$MANIFEST_TOOL" >&6; }
  6147. else
  6148. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6149. $as_echo "no" >&6; }
  6150. fi
  6151. fi
  6152. if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
  6153. ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
  6154. # Extract the first word of "mt", so it can be a program name with args.
  6155. set dummy mt; ac_word=$2
  6156. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6157. $as_echo_n "checking for $ac_word... " >&6; }
  6158. if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
  6159. $as_echo_n "(cached) " >&6
  6160. else
  6161. if test -n "$ac_ct_MANIFEST_TOOL"; then
  6162. ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
  6163. else
  6164. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6165. for as_dir in $PATH
  6166. do
  6167. IFS=$as_save_IFS
  6168. test -z "$as_dir" && as_dir=.
  6169. for ac_exec_ext in '' $ac_executable_extensions; do
  6170. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6171. ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
  6172. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6173. break 2
  6174. fi
  6175. done
  6176. done
  6177. IFS=$as_save_IFS
  6178. fi
  6179. fi
  6180. ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
  6181. if test -n "$ac_ct_MANIFEST_TOOL"; then
  6182. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
  6183. $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
  6184. else
  6185. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6186. $as_echo "no" >&6; }
  6187. fi
  6188. if test "x$ac_ct_MANIFEST_TOOL" = x; then
  6189. MANIFEST_TOOL=":"
  6190. else
  6191. case $cross_compiling:$ac_tool_warned in
  6192. yes:)
  6193. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  6194. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  6195. ac_tool_warned=yes ;;
  6196. esac
  6197. MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
  6198. fi
  6199. else
  6200. MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
  6201. fi
  6202. test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
  6203. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
  6204. $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
  6205. if ${lt_cv_path_mainfest_tool+:} false; then :
  6206. $as_echo_n "(cached) " >&6
  6207. else
  6208. lt_cv_path_mainfest_tool=no
  6209. echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
  6210. $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
  6211. cat conftest.err >&5
  6212. if $GREP 'Manifest Tool' conftest.out > /dev/null; then
  6213. lt_cv_path_mainfest_tool=yes
  6214. fi
  6215. rm -f conftest*
  6216. fi
  6217. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
  6218. $as_echo "$lt_cv_path_mainfest_tool" >&6; }
  6219. if test "x$lt_cv_path_mainfest_tool" != xyes; then
  6220. MANIFEST_TOOL=:
  6221. fi
  6222. case $host_os in
  6223. rhapsody* | darwin*)
  6224. if test -n "$ac_tool_prefix"; then
  6225. # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
  6226. set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
  6227. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6228. $as_echo_n "checking for $ac_word... " >&6; }
  6229. if ${ac_cv_prog_DSYMUTIL+:} false; then :
  6230. $as_echo_n "(cached) " >&6
  6231. else
  6232. if test -n "$DSYMUTIL"; then
  6233. ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
  6234. else
  6235. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6236. for as_dir in $PATH
  6237. do
  6238. IFS=$as_save_IFS
  6239. test -z "$as_dir" && as_dir=.
  6240. for ac_exec_ext in '' $ac_executable_extensions; do
  6241. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6242. ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
  6243. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6244. break 2
  6245. fi
  6246. done
  6247. done
  6248. IFS=$as_save_IFS
  6249. fi
  6250. fi
  6251. DSYMUTIL=$ac_cv_prog_DSYMUTIL
  6252. if test -n "$DSYMUTIL"; then
  6253. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
  6254. $as_echo "$DSYMUTIL" >&6; }
  6255. else
  6256. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6257. $as_echo "no" >&6; }
  6258. fi
  6259. fi
  6260. if test -z "$ac_cv_prog_DSYMUTIL"; then
  6261. ac_ct_DSYMUTIL=$DSYMUTIL
  6262. # Extract the first word of "dsymutil", so it can be a program name with args.
  6263. set dummy dsymutil; ac_word=$2
  6264. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6265. $as_echo_n "checking for $ac_word... " >&6; }
  6266. if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
  6267. $as_echo_n "(cached) " >&6
  6268. else
  6269. if test -n "$ac_ct_DSYMUTIL"; then
  6270. ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
  6271. else
  6272. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6273. for as_dir in $PATH
  6274. do
  6275. IFS=$as_save_IFS
  6276. test -z "$as_dir" && as_dir=.
  6277. for ac_exec_ext in '' $ac_executable_extensions; do
  6278. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6279. ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
  6280. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6281. break 2
  6282. fi
  6283. done
  6284. done
  6285. IFS=$as_save_IFS
  6286. fi
  6287. fi
  6288. ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
  6289. if test -n "$ac_ct_DSYMUTIL"; then
  6290. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
  6291. $as_echo "$ac_ct_DSYMUTIL" >&6; }
  6292. else
  6293. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6294. $as_echo "no" >&6; }
  6295. fi
  6296. if test "x$ac_ct_DSYMUTIL" = x; then
  6297. DSYMUTIL=":"
  6298. else
  6299. case $cross_compiling:$ac_tool_warned in
  6300. yes:)
  6301. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  6302. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  6303. ac_tool_warned=yes ;;
  6304. esac
  6305. DSYMUTIL=$ac_ct_DSYMUTIL
  6306. fi
  6307. else
  6308. DSYMUTIL="$ac_cv_prog_DSYMUTIL"
  6309. fi
  6310. if test -n "$ac_tool_prefix"; then
  6311. # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
  6312. set dummy ${ac_tool_prefix}nmedit; ac_word=$2
  6313. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6314. $as_echo_n "checking for $ac_word... " >&6; }
  6315. if ${ac_cv_prog_NMEDIT+:} false; then :
  6316. $as_echo_n "(cached) " >&6
  6317. else
  6318. if test -n "$NMEDIT"; then
  6319. ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
  6320. else
  6321. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6322. for as_dir in $PATH
  6323. do
  6324. IFS=$as_save_IFS
  6325. test -z "$as_dir" && as_dir=.
  6326. for ac_exec_ext in '' $ac_executable_extensions; do
  6327. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6328. ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
  6329. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6330. break 2
  6331. fi
  6332. done
  6333. done
  6334. IFS=$as_save_IFS
  6335. fi
  6336. fi
  6337. NMEDIT=$ac_cv_prog_NMEDIT
  6338. if test -n "$NMEDIT"; then
  6339. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
  6340. $as_echo "$NMEDIT" >&6; }
  6341. else
  6342. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6343. $as_echo "no" >&6; }
  6344. fi
  6345. fi
  6346. if test -z "$ac_cv_prog_NMEDIT"; then
  6347. ac_ct_NMEDIT=$NMEDIT
  6348. # Extract the first word of "nmedit", so it can be a program name with args.
  6349. set dummy nmedit; ac_word=$2
  6350. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6351. $as_echo_n "checking for $ac_word... " >&6; }
  6352. if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
  6353. $as_echo_n "(cached) " >&6
  6354. else
  6355. if test -n "$ac_ct_NMEDIT"; then
  6356. ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
  6357. else
  6358. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6359. for as_dir in $PATH
  6360. do
  6361. IFS=$as_save_IFS
  6362. test -z "$as_dir" && as_dir=.
  6363. for ac_exec_ext in '' $ac_executable_extensions; do
  6364. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6365. ac_cv_prog_ac_ct_NMEDIT="nmedit"
  6366. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6367. break 2
  6368. fi
  6369. done
  6370. done
  6371. IFS=$as_save_IFS
  6372. fi
  6373. fi
  6374. ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
  6375. if test -n "$ac_ct_NMEDIT"; then
  6376. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
  6377. $as_echo "$ac_ct_NMEDIT" >&6; }
  6378. else
  6379. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6380. $as_echo "no" >&6; }
  6381. fi
  6382. if test "x$ac_ct_NMEDIT" = x; then
  6383. NMEDIT=":"
  6384. else
  6385. case $cross_compiling:$ac_tool_warned in
  6386. yes:)
  6387. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  6388. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  6389. ac_tool_warned=yes ;;
  6390. esac
  6391. NMEDIT=$ac_ct_NMEDIT
  6392. fi
  6393. else
  6394. NMEDIT="$ac_cv_prog_NMEDIT"
  6395. fi
  6396. if test -n "$ac_tool_prefix"; then
  6397. # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
  6398. set dummy ${ac_tool_prefix}lipo; ac_word=$2
  6399. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6400. $as_echo_n "checking for $ac_word... " >&6; }
  6401. if ${ac_cv_prog_LIPO+:} false; then :
  6402. $as_echo_n "(cached) " >&6
  6403. else
  6404. if test -n "$LIPO"; then
  6405. ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
  6406. else
  6407. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6408. for as_dir in $PATH
  6409. do
  6410. IFS=$as_save_IFS
  6411. test -z "$as_dir" && as_dir=.
  6412. for ac_exec_ext in '' $ac_executable_extensions; do
  6413. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6414. ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
  6415. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6416. break 2
  6417. fi
  6418. done
  6419. done
  6420. IFS=$as_save_IFS
  6421. fi
  6422. fi
  6423. LIPO=$ac_cv_prog_LIPO
  6424. if test -n "$LIPO"; then
  6425. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
  6426. $as_echo "$LIPO" >&6; }
  6427. else
  6428. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6429. $as_echo "no" >&6; }
  6430. fi
  6431. fi
  6432. if test -z "$ac_cv_prog_LIPO"; then
  6433. ac_ct_LIPO=$LIPO
  6434. # Extract the first word of "lipo", so it can be a program name with args.
  6435. set dummy lipo; 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_ac_ct_LIPO+:} false; then :
  6439. $as_echo_n "(cached) " >&6
  6440. else
  6441. if test -n "$ac_ct_LIPO"; then
  6442. ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6451. ac_cv_prog_ac_ct_LIPO="lipo"
  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. ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
  6461. if test -n "$ac_ct_LIPO"; then
  6462. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
  6463. $as_echo "$ac_ct_LIPO" >&6; }
  6464. else
  6465. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6466. $as_echo "no" >&6; }
  6467. fi
  6468. if test "x$ac_ct_LIPO" = x; then
  6469. LIPO=":"
  6470. else
  6471. case $cross_compiling:$ac_tool_warned in
  6472. yes:)
  6473. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  6474. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  6475. ac_tool_warned=yes ;;
  6476. esac
  6477. LIPO=$ac_ct_LIPO
  6478. fi
  6479. else
  6480. LIPO="$ac_cv_prog_LIPO"
  6481. fi
  6482. if test -n "$ac_tool_prefix"; then
  6483. # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
  6484. set dummy ${ac_tool_prefix}otool; ac_word=$2
  6485. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6486. $as_echo_n "checking for $ac_word... " >&6; }
  6487. if ${ac_cv_prog_OTOOL+:} false; then :
  6488. $as_echo_n "(cached) " >&6
  6489. else
  6490. if test -n "$OTOOL"; then
  6491. ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
  6492. else
  6493. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6494. for as_dir in $PATH
  6495. do
  6496. IFS=$as_save_IFS
  6497. test -z "$as_dir" && as_dir=.
  6498. for ac_exec_ext in '' $ac_executable_extensions; do
  6499. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6500. ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
  6501. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6502. break 2
  6503. fi
  6504. done
  6505. done
  6506. IFS=$as_save_IFS
  6507. fi
  6508. fi
  6509. OTOOL=$ac_cv_prog_OTOOL
  6510. if test -n "$OTOOL"; then
  6511. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
  6512. $as_echo "$OTOOL" >&6; }
  6513. else
  6514. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6515. $as_echo "no" >&6; }
  6516. fi
  6517. fi
  6518. if test -z "$ac_cv_prog_OTOOL"; then
  6519. ac_ct_OTOOL=$OTOOL
  6520. # Extract the first word of "otool", so it can be a program name with args.
  6521. set dummy otool; 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_ac_ct_OTOOL+:} false; then :
  6525. $as_echo_n "(cached) " >&6
  6526. else
  6527. if test -n "$ac_ct_OTOOL"; then
  6528. ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6537. ac_cv_prog_ac_ct_OTOOL="otool"
  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. ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
  6547. if test -n "$ac_ct_OTOOL"; then
  6548. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
  6549. $as_echo "$ac_ct_OTOOL" >&6; }
  6550. else
  6551. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6552. $as_echo "no" >&6; }
  6553. fi
  6554. if test "x$ac_ct_OTOOL" = x; then
  6555. OTOOL=":"
  6556. else
  6557. case $cross_compiling:$ac_tool_warned in
  6558. yes:)
  6559. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  6560. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  6561. ac_tool_warned=yes ;;
  6562. esac
  6563. OTOOL=$ac_ct_OTOOL
  6564. fi
  6565. else
  6566. OTOOL="$ac_cv_prog_OTOOL"
  6567. fi
  6568. if test -n "$ac_tool_prefix"; then
  6569. # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
  6570. set dummy ${ac_tool_prefix}otool64; ac_word=$2
  6571. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6572. $as_echo_n "checking for $ac_word... " >&6; }
  6573. if ${ac_cv_prog_OTOOL64+:} false; then :
  6574. $as_echo_n "(cached) " >&6
  6575. else
  6576. if test -n "$OTOOL64"; then
  6577. ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
  6578. else
  6579. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6580. for as_dir in $PATH
  6581. do
  6582. IFS=$as_save_IFS
  6583. test -z "$as_dir" && as_dir=.
  6584. for ac_exec_ext in '' $ac_executable_extensions; do
  6585. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6586. ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
  6587. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6588. break 2
  6589. fi
  6590. done
  6591. done
  6592. IFS=$as_save_IFS
  6593. fi
  6594. fi
  6595. OTOOL64=$ac_cv_prog_OTOOL64
  6596. if test -n "$OTOOL64"; then
  6597. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
  6598. $as_echo "$OTOOL64" >&6; }
  6599. else
  6600. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6601. $as_echo "no" >&6; }
  6602. fi
  6603. fi
  6604. if test -z "$ac_cv_prog_OTOOL64"; then
  6605. ac_ct_OTOOL64=$OTOOL64
  6606. # Extract the first word of "otool64", so it can be a program name with args.
  6607. set dummy otool64; 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_ac_ct_OTOOL64+:} false; then :
  6611. $as_echo_n "(cached) " >&6
  6612. else
  6613. if test -n "$ac_ct_OTOOL64"; then
  6614. ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6623. ac_cv_prog_ac_ct_OTOOL64="otool64"
  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. ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
  6633. if test -n "$ac_ct_OTOOL64"; then
  6634. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
  6635. $as_echo "$ac_ct_OTOOL64" >&6; }
  6636. else
  6637. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6638. $as_echo "no" >&6; }
  6639. fi
  6640. if test "x$ac_ct_OTOOL64" = x; then
  6641. OTOOL64=":"
  6642. else
  6643. case $cross_compiling:$ac_tool_warned in
  6644. yes:)
  6645. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  6646. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  6647. ac_tool_warned=yes ;;
  6648. esac
  6649. OTOOL64=$ac_ct_OTOOL64
  6650. fi
  6651. else
  6652. OTOOL64="$ac_cv_prog_OTOOL64"
  6653. fi
  6654. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
  6655. $as_echo_n "checking for -single_module linker flag... " >&6; }
  6656. if ${lt_cv_apple_cc_single_mod+:} false; then :
  6657. $as_echo_n "(cached) " >&6
  6658. else
  6659. lt_cv_apple_cc_single_mod=no
  6660. if test -z "${LT_MULTI_MODULE}"; then
  6661. # By default we will add the -single_module flag. You can override
  6662. # by either setting the environment variable LT_MULTI_MODULE
  6663. # non-empty at configure time, or by adding -multi_module to the
  6664. # link flags.
  6665. rm -rf libconftest.dylib*
  6666. echo "int foo(void){return 1;}" > conftest.c
  6667. echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
  6668. -dynamiclib -Wl,-single_module conftest.c" >&5
  6669. $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
  6670. -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
  6671. _lt_result=$?
  6672. if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
  6673. lt_cv_apple_cc_single_mod=yes
  6674. else
  6675. cat conftest.err >&5
  6676. fi
  6677. rm -rf libconftest.dylib*
  6678. rm -f conftest.*
  6679. fi
  6680. fi
  6681. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
  6682. $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
  6683. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
  6684. $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
  6685. if ${lt_cv_ld_exported_symbols_list+:} false; then :
  6686. $as_echo_n "(cached) " >&6
  6687. else
  6688. lt_cv_ld_exported_symbols_list=no
  6689. save_LDFLAGS=$LDFLAGS
  6690. echo "_main" > conftest.sym
  6691. LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
  6692. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6693. /* end confdefs.h. */
  6694. int
  6695. main ()
  6696. {
  6697. ;
  6698. return 0;
  6699. }
  6700. _ACEOF
  6701. if ac_fn_c_try_link "$LINENO"; then :
  6702. lt_cv_ld_exported_symbols_list=yes
  6703. else
  6704. lt_cv_ld_exported_symbols_list=no
  6705. fi
  6706. rm -f core conftest.err conftest.$ac_objext \
  6707. conftest$ac_exeext conftest.$ac_ext
  6708. LDFLAGS="$save_LDFLAGS"
  6709. fi
  6710. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
  6711. $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
  6712. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
  6713. $as_echo_n "checking for -force_load linker flag... " >&6; }
  6714. if ${lt_cv_ld_force_load+:} false; then :
  6715. $as_echo_n "(cached) " >&6
  6716. else
  6717. lt_cv_ld_force_load=no
  6718. cat > conftest.c << _LT_EOF
  6719. int forced_loaded() { return 2;}
  6720. _LT_EOF
  6721. echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
  6722. $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
  6723. echo "$AR cru libconftest.a conftest.o" >&5
  6724. $AR cru libconftest.a conftest.o 2>&5
  6725. echo "$RANLIB libconftest.a" >&5
  6726. $RANLIB libconftest.a 2>&5
  6727. cat > conftest.c << _LT_EOF
  6728. int main() { return 0;}
  6729. _LT_EOF
  6730. echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
  6731. $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
  6732. _lt_result=$?
  6733. if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
  6734. lt_cv_ld_force_load=yes
  6735. else
  6736. cat conftest.err >&5
  6737. fi
  6738. rm -f conftest.err libconftest.a conftest conftest.c
  6739. rm -rf conftest.dSYM
  6740. fi
  6741. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
  6742. $as_echo "$lt_cv_ld_force_load" >&6; }
  6743. case $host_os in
  6744. rhapsody* | darwin1.[012])
  6745. _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
  6746. darwin1.*)
  6747. _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
  6748. darwin*) # darwin 5.x on
  6749. # if running on 10.5 or later, the deployment target defaults
  6750. # to the OS version, if on x86, and 10.4, the deployment
  6751. # target defaults to 10.4. Don't you love it?
  6752. case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
  6753. 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
  6754. _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
  6755. 10.[012]*)
  6756. _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
  6757. 10.*)
  6758. _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
  6759. esac
  6760. ;;
  6761. esac
  6762. if test "$lt_cv_apple_cc_single_mod" = "yes"; then
  6763. _lt_dar_single_mod='$single_module'
  6764. fi
  6765. if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
  6766. _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
  6767. else
  6768. _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
  6769. fi
  6770. if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
  6771. _lt_dsymutil='~$DSYMUTIL $lib || :'
  6772. else
  6773. _lt_dsymutil=
  6774. fi
  6775. ;;
  6776. esac
  6777. ac_ext=c
  6778. ac_cpp='$CPP $CPPFLAGS'
  6779. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  6780. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  6781. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  6782. { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
  6783. $as_echo_n "checking how to run the C preprocessor... " >&6; }
  6784. # On Suns, sometimes $CPP names a directory.
  6785. if test -n "$CPP" && test -d "$CPP"; then
  6786. CPP=
  6787. fi
  6788. if test -z "$CPP"; then
  6789. if ${ac_cv_prog_CPP+:} false; then :
  6790. $as_echo_n "(cached) " >&6
  6791. else
  6792. # Double quotes because CPP needs to be expanded
  6793. for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
  6794. do
  6795. ac_preproc_ok=false
  6796. for ac_c_preproc_warn_flag in '' yes
  6797. do
  6798. # Use a header file that comes with gcc, so configuring glibc
  6799. # with a fresh cross-compiler works.
  6800. # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  6801. # <limits.h> exists even on freestanding compilers.
  6802. # On the NeXT, cc -E runs the code through the compiler's parser,
  6803. # not just through cpp. "Syntax error" is here to catch this case.
  6804. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6805. /* end confdefs.h. */
  6806. #ifdef __STDC__
  6807. # include <limits.h>
  6808. #else
  6809. # include <assert.h>
  6810. #endif
  6811. Syntax error
  6812. _ACEOF
  6813. if ac_fn_c_try_cpp "$LINENO"; then :
  6814. else
  6815. # Broken: fails on valid input.
  6816. continue
  6817. fi
  6818. rm -f conftest.err conftest.i conftest.$ac_ext
  6819. # OK, works on sane cases. Now check whether nonexistent headers
  6820. # can be detected and how.
  6821. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6822. /* end confdefs.h. */
  6823. #include <ac_nonexistent.h>
  6824. _ACEOF
  6825. if ac_fn_c_try_cpp "$LINENO"; then :
  6826. # Broken: success on invalid input.
  6827. continue
  6828. else
  6829. # Passes both tests.
  6830. ac_preproc_ok=:
  6831. break
  6832. fi
  6833. rm -f conftest.err conftest.i conftest.$ac_ext
  6834. done
  6835. # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  6836. rm -f conftest.i conftest.err conftest.$ac_ext
  6837. if $ac_preproc_ok; then :
  6838. break
  6839. fi
  6840. done
  6841. ac_cv_prog_CPP=$CPP
  6842. fi
  6843. CPP=$ac_cv_prog_CPP
  6844. else
  6845. ac_cv_prog_CPP=$CPP
  6846. fi
  6847. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
  6848. $as_echo "$CPP" >&6; }
  6849. ac_preproc_ok=false
  6850. for ac_c_preproc_warn_flag in '' yes
  6851. do
  6852. # Use a header file that comes with gcc, so configuring glibc
  6853. # with a fresh cross-compiler works.
  6854. # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  6855. # <limits.h> exists even on freestanding compilers.
  6856. # On the NeXT, cc -E runs the code through the compiler's parser,
  6857. # not just through cpp. "Syntax error" is here to catch this case.
  6858. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6859. /* end confdefs.h. */
  6860. #ifdef __STDC__
  6861. # include <limits.h>
  6862. #else
  6863. # include <assert.h>
  6864. #endif
  6865. Syntax error
  6866. _ACEOF
  6867. if ac_fn_c_try_cpp "$LINENO"; then :
  6868. else
  6869. # Broken: fails on valid input.
  6870. continue
  6871. fi
  6872. rm -f conftest.err conftest.i conftest.$ac_ext
  6873. # OK, works on sane cases. Now check whether nonexistent headers
  6874. # can be detected and how.
  6875. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6876. /* end confdefs.h. */
  6877. #include <ac_nonexistent.h>
  6878. _ACEOF
  6879. if ac_fn_c_try_cpp "$LINENO"; then :
  6880. # Broken: success on invalid input.
  6881. continue
  6882. else
  6883. # Passes both tests.
  6884. ac_preproc_ok=:
  6885. break
  6886. fi
  6887. rm -f conftest.err conftest.i conftest.$ac_ext
  6888. done
  6889. # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  6890. rm -f conftest.i conftest.err conftest.$ac_ext
  6891. if $ac_preproc_ok; then :
  6892. else
  6893. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  6894. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  6895. as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
  6896. See \`config.log' for more details" "$LINENO" 5; }
  6897. fi
  6898. ac_ext=c
  6899. ac_cpp='$CPP $CPPFLAGS'
  6900. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  6901. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  6902. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  6903. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
  6904. $as_echo_n "checking for ANSI C header files... " >&6; }
  6905. if ${ac_cv_header_stdc+:} false; then :
  6906. $as_echo_n "(cached) " >&6
  6907. else
  6908. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6909. /* end confdefs.h. */
  6910. #include <stdlib.h>
  6911. #include <stdarg.h>
  6912. #include <string.h>
  6913. #include <float.h>
  6914. int
  6915. main ()
  6916. {
  6917. ;
  6918. return 0;
  6919. }
  6920. _ACEOF
  6921. if ac_fn_c_try_compile "$LINENO"; then :
  6922. ac_cv_header_stdc=yes
  6923. else
  6924. ac_cv_header_stdc=no
  6925. fi
  6926. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6927. if test $ac_cv_header_stdc = yes; then
  6928. # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  6929. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6930. /* end confdefs.h. */
  6931. #include <string.h>
  6932. _ACEOF
  6933. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  6934. $EGREP "memchr" >/dev/null 2>&1; then :
  6935. else
  6936. ac_cv_header_stdc=no
  6937. fi
  6938. rm -f conftest*
  6939. fi
  6940. if test $ac_cv_header_stdc = yes; then
  6941. # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  6942. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6943. /* end confdefs.h. */
  6944. #include <stdlib.h>
  6945. _ACEOF
  6946. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  6947. $EGREP "free" >/dev/null 2>&1; then :
  6948. else
  6949. ac_cv_header_stdc=no
  6950. fi
  6951. rm -f conftest*
  6952. fi
  6953. if test $ac_cv_header_stdc = yes; then
  6954. # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  6955. if test "$cross_compiling" = yes; then :
  6956. :
  6957. else
  6958. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6959. /* end confdefs.h. */
  6960. #include <ctype.h>
  6961. #include <stdlib.h>
  6962. #if ((' ' & 0x0FF) == 0x020)
  6963. # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  6964. # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  6965. #else
  6966. # define ISLOWER(c) \
  6967. (('a' <= (c) && (c) <= 'i') \
  6968. || ('j' <= (c) && (c) <= 'r') \
  6969. || ('s' <= (c) && (c) <= 'z'))
  6970. # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
  6971. #endif
  6972. #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  6973. int
  6974. main ()
  6975. {
  6976. int i;
  6977. for (i = 0; i < 256; i++)
  6978. if (XOR (islower (i), ISLOWER (i))
  6979. || toupper (i) != TOUPPER (i))
  6980. return 2;
  6981. return 0;
  6982. }
  6983. _ACEOF
  6984. if ac_fn_c_try_run "$LINENO"; then :
  6985. else
  6986. ac_cv_header_stdc=no
  6987. fi
  6988. rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  6989. conftest.$ac_objext conftest.beam conftest.$ac_ext
  6990. fi
  6991. fi
  6992. fi
  6993. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
  6994. $as_echo "$ac_cv_header_stdc" >&6; }
  6995. if test $ac_cv_header_stdc = yes; then
  6996. $as_echo "#define STDC_HEADERS 1" >>confdefs.h
  6997. fi
  6998. # On IRIX 5.3, sys/types and inttypes.h are conflicting.
  6999. for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
  7000. inttypes.h stdint.h unistd.h
  7001. do :
  7002. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  7003. ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
  7004. "
  7005. if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
  7006. cat >>confdefs.h <<_ACEOF
  7007. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  7008. _ACEOF
  7009. fi
  7010. done
  7011. for ac_header in dlfcn.h
  7012. do :
  7013. ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
  7014. "
  7015. if test "x$ac_cv_header_dlfcn_h" = xyes; then :
  7016. cat >>confdefs.h <<_ACEOF
  7017. #define HAVE_DLFCN_H 1
  7018. _ACEOF
  7019. fi
  7020. done
  7021. func_stripname_cnf ()
  7022. {
  7023. case ${2} in
  7024. .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
  7025. *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
  7026. esac
  7027. } # func_stripname_cnf
  7028. # Set options
  7029. enable_dlopen=no
  7030. enable_win32_dll=no
  7031. # Check whether --enable-shared was given.
  7032. if test "${enable_shared+set}" = set; then :
  7033. enableval=$enable_shared; p=${PACKAGE-default}
  7034. case $enableval in
  7035. yes) enable_shared=yes ;;
  7036. no) enable_shared=no ;;
  7037. *)
  7038. enable_shared=no
  7039. # Look at the argument we got. We use all the common list separators.
  7040. lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  7041. for pkg in $enableval; do
  7042. IFS="$lt_save_ifs"
  7043. if test "X$pkg" = "X$p"; then
  7044. enable_shared=yes
  7045. fi
  7046. done
  7047. IFS="$lt_save_ifs"
  7048. ;;
  7049. esac
  7050. else
  7051. enable_shared=yes
  7052. fi
  7053. # Check whether --enable-static was given.
  7054. if test "${enable_static+set}" = set; then :
  7055. enableval=$enable_static; p=${PACKAGE-default}
  7056. case $enableval in
  7057. yes) enable_static=yes ;;
  7058. no) enable_static=no ;;
  7059. *)
  7060. enable_static=no
  7061. # Look at the argument we got. We use all the common list separators.
  7062. lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  7063. for pkg in $enableval; do
  7064. IFS="$lt_save_ifs"
  7065. if test "X$pkg" = "X$p"; then
  7066. enable_static=yes
  7067. fi
  7068. done
  7069. IFS="$lt_save_ifs"
  7070. ;;
  7071. esac
  7072. else
  7073. enable_static=yes
  7074. fi
  7075. # Check whether --with-pic was given.
  7076. if test "${with_pic+set}" = set; then :
  7077. withval=$with_pic; pic_mode="$withval"
  7078. else
  7079. pic_mode=default
  7080. fi
  7081. test -z "$pic_mode" && pic_mode=default
  7082. # Check whether --enable-fast-install was given.
  7083. if test "${enable_fast_install+set}" = set; then :
  7084. enableval=$enable_fast_install; p=${PACKAGE-default}
  7085. case $enableval in
  7086. yes) enable_fast_install=yes ;;
  7087. no) enable_fast_install=no ;;
  7088. *)
  7089. enable_fast_install=no
  7090. # Look at the argument we got. We use all the common list separators.
  7091. lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  7092. for pkg in $enableval; do
  7093. IFS="$lt_save_ifs"
  7094. if test "X$pkg" = "X$p"; then
  7095. enable_fast_install=yes
  7096. fi
  7097. done
  7098. IFS="$lt_save_ifs"
  7099. ;;
  7100. esac
  7101. else
  7102. enable_fast_install=yes
  7103. fi
  7104. # This can be used to rebuild libtool when needed
  7105. LIBTOOL_DEPS="$ltmain"
  7106. # Always use our own libtool.
  7107. LIBTOOL='$(SHELL) $(top_builddir)/libtool'
  7108. test -z "$LN_S" && LN_S="ln -s"
  7109. if test -n "${ZSH_VERSION+set}" ; then
  7110. setopt NO_GLOB_SUBST
  7111. fi
  7112. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
  7113. $as_echo_n "checking for objdir... " >&6; }
  7114. if ${lt_cv_objdir+:} false; then :
  7115. $as_echo_n "(cached) " >&6
  7116. else
  7117. rm -f .libs 2>/dev/null
  7118. mkdir .libs 2>/dev/null
  7119. if test -d .libs; then
  7120. lt_cv_objdir=.libs
  7121. else
  7122. # MS-DOS does not allow filenames that begin with a dot.
  7123. lt_cv_objdir=_libs
  7124. fi
  7125. rmdir .libs 2>/dev/null
  7126. fi
  7127. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
  7128. $as_echo "$lt_cv_objdir" >&6; }
  7129. objdir=$lt_cv_objdir
  7130. cat >>confdefs.h <<_ACEOF
  7131. #define LT_OBJDIR "$lt_cv_objdir/"
  7132. _ACEOF
  7133. case $host_os in
  7134. aix3*)
  7135. # AIX sometimes has problems with the GCC collect2 program. For some
  7136. # reason, if we set the COLLECT_NAMES environment variable, the problems
  7137. # vanish in a puff of smoke.
  7138. if test "X${COLLECT_NAMES+set}" != Xset; then
  7139. COLLECT_NAMES=
  7140. export COLLECT_NAMES
  7141. fi
  7142. ;;
  7143. esac
  7144. # Global variables:
  7145. ofile=libtool
  7146. can_build_shared=yes
  7147. # All known linkers require a `.a' archive for static linking (except MSVC,
  7148. # which needs '.lib').
  7149. libext=a
  7150. with_gnu_ld="$lt_cv_prog_gnu_ld"
  7151. old_CC="$CC"
  7152. old_CFLAGS="$CFLAGS"
  7153. # Set sane defaults for various variables
  7154. test -z "$CC" && CC=cc
  7155. test -z "$LTCC" && LTCC=$CC
  7156. test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
  7157. test -z "$LD" && LD=ld
  7158. test -z "$ac_objext" && ac_objext=o
  7159. for cc_temp in $compiler""; do
  7160. case $cc_temp in
  7161. compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
  7162. distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
  7163. \-*) ;;
  7164. *) break;;
  7165. esac
  7166. done
  7167. cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
  7168. # Only perform the check for file, if the check method requires it
  7169. test -z "$MAGIC_CMD" && MAGIC_CMD=file
  7170. case $deplibs_check_method in
  7171. file_magic*)
  7172. if test "$file_magic_cmd" = '$MAGIC_CMD'; then
  7173. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
  7174. $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
  7175. if ${lt_cv_path_MAGIC_CMD+:} false; then :
  7176. $as_echo_n "(cached) " >&6
  7177. else
  7178. case $MAGIC_CMD in
  7179. [\\/*] | ?:[\\/]*)
  7180. lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
  7181. ;;
  7182. *)
  7183. lt_save_MAGIC_CMD="$MAGIC_CMD"
  7184. lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  7185. ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
  7186. for ac_dir in $ac_dummy; do
  7187. IFS="$lt_save_ifs"
  7188. test -z "$ac_dir" && ac_dir=.
  7189. if test -f $ac_dir/${ac_tool_prefix}file; then
  7190. lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
  7191. if test -n "$file_magic_test_file"; then
  7192. case $deplibs_check_method in
  7193. "file_magic "*)
  7194. file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
  7195. MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  7196. if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
  7197. $EGREP "$file_magic_regex" > /dev/null; then
  7198. :
  7199. else
  7200. cat <<_LT_EOF 1>&2
  7201. *** Warning: the command libtool uses to detect shared libraries,
  7202. *** $file_magic_cmd, produces output that libtool cannot recognize.
  7203. *** The result is that libtool may fail to recognize shared libraries
  7204. *** as such. This will affect the creation of libtool libraries that
  7205. *** depend on shared libraries, but programs linked with such libtool
  7206. *** libraries will work regardless of this problem. Nevertheless, you
  7207. *** may want to report the problem to your system manager and/or to
  7208. *** bug-libtool@gnu.org
  7209. _LT_EOF
  7210. fi ;;
  7211. esac
  7212. fi
  7213. break
  7214. fi
  7215. done
  7216. IFS="$lt_save_ifs"
  7217. MAGIC_CMD="$lt_save_MAGIC_CMD"
  7218. ;;
  7219. esac
  7220. fi
  7221. MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  7222. if test -n "$MAGIC_CMD"; then
  7223. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
  7224. $as_echo "$MAGIC_CMD" >&6; }
  7225. else
  7226. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7227. $as_echo "no" >&6; }
  7228. fi
  7229. if test -z "$lt_cv_path_MAGIC_CMD"; then
  7230. if test -n "$ac_tool_prefix"; then
  7231. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
  7232. $as_echo_n "checking for file... " >&6; }
  7233. if ${lt_cv_path_MAGIC_CMD+:} false; then :
  7234. $as_echo_n "(cached) " >&6
  7235. else
  7236. case $MAGIC_CMD in
  7237. [\\/*] | ?:[\\/]*)
  7238. lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
  7239. ;;
  7240. *)
  7241. lt_save_MAGIC_CMD="$MAGIC_CMD"
  7242. lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  7243. ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
  7244. for ac_dir in $ac_dummy; do
  7245. IFS="$lt_save_ifs"
  7246. test -z "$ac_dir" && ac_dir=.
  7247. if test -f $ac_dir/file; then
  7248. lt_cv_path_MAGIC_CMD="$ac_dir/file"
  7249. if test -n "$file_magic_test_file"; then
  7250. case $deplibs_check_method in
  7251. "file_magic "*)
  7252. file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
  7253. MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  7254. if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
  7255. $EGREP "$file_magic_regex" > /dev/null; then
  7256. :
  7257. else
  7258. cat <<_LT_EOF 1>&2
  7259. *** Warning: the command libtool uses to detect shared libraries,
  7260. *** $file_magic_cmd, produces output that libtool cannot recognize.
  7261. *** The result is that libtool may fail to recognize shared libraries
  7262. *** as such. This will affect the creation of libtool libraries that
  7263. *** depend on shared libraries, but programs linked with such libtool
  7264. *** libraries will work regardless of this problem. Nevertheless, you
  7265. *** may want to report the problem to your system manager and/or to
  7266. *** bug-libtool@gnu.org
  7267. _LT_EOF
  7268. fi ;;
  7269. esac
  7270. fi
  7271. break
  7272. fi
  7273. done
  7274. IFS="$lt_save_ifs"
  7275. MAGIC_CMD="$lt_save_MAGIC_CMD"
  7276. ;;
  7277. esac
  7278. fi
  7279. MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  7280. if test -n "$MAGIC_CMD"; then
  7281. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
  7282. $as_echo "$MAGIC_CMD" >&6; }
  7283. else
  7284. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7285. $as_echo "no" >&6; }
  7286. fi
  7287. else
  7288. MAGIC_CMD=:
  7289. fi
  7290. fi
  7291. fi
  7292. ;;
  7293. esac
  7294. # Use C for the default configuration in the libtool script
  7295. lt_save_CC="$CC"
  7296. ac_ext=c
  7297. ac_cpp='$CPP $CPPFLAGS'
  7298. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  7299. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  7300. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  7301. # Source file extension for C test sources.
  7302. ac_ext=c
  7303. # Object file extension for compiled C test sources.
  7304. objext=o
  7305. objext=$objext
  7306. # Code to be used in simple compile tests
  7307. lt_simple_compile_test_code="int some_variable = 0;"
  7308. # Code to be used in simple link tests
  7309. lt_simple_link_test_code='int main(){return(0);}'
  7310. # If no C compiler was specified, use CC.
  7311. LTCC=${LTCC-"$CC"}
  7312. # If no C compiler flags were specified, use CFLAGS.
  7313. LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
  7314. # Allow CC to be a program name with arguments.
  7315. compiler=$CC
  7316. # Save the default compiler, since it gets overwritten when the other
  7317. # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
  7318. compiler_DEFAULT=$CC
  7319. # save warnings/boilerplate of simple test code
  7320. ac_outfile=conftest.$ac_objext
  7321. echo "$lt_simple_compile_test_code" >conftest.$ac_ext
  7322. eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  7323. _lt_compiler_boilerplate=`cat conftest.err`
  7324. $RM conftest*
  7325. ac_outfile=conftest.$ac_objext
  7326. echo "$lt_simple_link_test_code" >conftest.$ac_ext
  7327. eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  7328. _lt_linker_boilerplate=`cat conftest.err`
  7329. $RM -r conftest*
  7330. if test -n "$compiler"; then
  7331. lt_prog_compiler_no_builtin_flag=
  7332. if test "$GCC" = yes; then
  7333. case $cc_basename in
  7334. nvcc*)
  7335. lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
  7336. *)
  7337. lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
  7338. esac
  7339. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
  7340. $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
  7341. if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
  7342. $as_echo_n "(cached) " >&6
  7343. else
  7344. lt_cv_prog_compiler_rtti_exceptions=no
  7345. ac_outfile=conftest.$ac_objext
  7346. echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  7347. lt_compiler_flag="-fno-rtti -fno-exceptions"
  7348. # Insert the option either (1) after the last *FLAGS variable, or
  7349. # (2) before a word containing "conftest.", or (3) at the end.
  7350. # Note that $ac_compile itself does not contain backslashes and begins
  7351. # with a dollar sign (not a hyphen), so the echo should work correctly.
  7352. # The option is referenced via a variable to avoid confusing sed.
  7353. lt_compile=`echo "$ac_compile" | $SED \
  7354. -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  7355. -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  7356. -e 's:$: $lt_compiler_flag:'`
  7357. (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  7358. (eval "$lt_compile" 2>conftest.err)
  7359. ac_status=$?
  7360. cat conftest.err >&5
  7361. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7362. if (exit $ac_status) && test -s "$ac_outfile"; then
  7363. # The compiler can only warn and ignore the option if not recognized
  7364. # So say no if there are warnings other than the usual output.
  7365. $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
  7366. $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  7367. if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  7368. lt_cv_prog_compiler_rtti_exceptions=yes
  7369. fi
  7370. fi
  7371. $RM conftest*
  7372. fi
  7373. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
  7374. $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
  7375. if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
  7376. lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
  7377. else
  7378. :
  7379. fi
  7380. fi
  7381. lt_prog_compiler_wl=
  7382. lt_prog_compiler_pic=
  7383. lt_prog_compiler_static=
  7384. if test "$GCC" = yes; then
  7385. lt_prog_compiler_wl='-Wl,'
  7386. lt_prog_compiler_static='-static'
  7387. case $host_os in
  7388. aix*)
  7389. # All AIX code is PIC.
  7390. if test "$host_cpu" = ia64; then
  7391. # AIX 5 now supports IA64 processor
  7392. lt_prog_compiler_static='-Bstatic'
  7393. fi
  7394. ;;
  7395. amigaos*)
  7396. case $host_cpu in
  7397. powerpc)
  7398. # see comment about AmigaOS4 .so support
  7399. lt_prog_compiler_pic='-fPIC'
  7400. ;;
  7401. m68k)
  7402. # FIXME: we need at least 68020 code to build shared libraries, but
  7403. # adding the `-m68020' flag to GCC prevents building anything better,
  7404. # like `-m68040'.
  7405. lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
  7406. ;;
  7407. esac
  7408. ;;
  7409. beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
  7410. # PIC is the default for these OSes.
  7411. ;;
  7412. mingw* | cygwin* | pw32* | os2* | cegcc*)
  7413. # This hack is so that the source file can tell whether it is being
  7414. # built for inclusion in a dll (and should export symbols for example).
  7415. # Although the cygwin gcc ignores -fPIC, still need this for old-style
  7416. # (--disable-auto-import) libraries
  7417. lt_prog_compiler_pic='-DDLL_EXPORT'
  7418. ;;
  7419. darwin* | rhapsody*)
  7420. # PIC is the default on this platform
  7421. # Common symbols not allowed in MH_DYLIB files
  7422. lt_prog_compiler_pic='-fno-common'
  7423. ;;
  7424. haiku*)
  7425. # PIC is the default for Haiku.
  7426. # The "-static" flag exists, but is broken.
  7427. lt_prog_compiler_static=
  7428. ;;
  7429. hpux*)
  7430. # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
  7431. # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
  7432. # sets the default TLS model and affects inlining.
  7433. case $host_cpu in
  7434. hppa*64*)
  7435. # +Z the default
  7436. ;;
  7437. *)
  7438. lt_prog_compiler_pic='-fPIC'
  7439. ;;
  7440. esac
  7441. ;;
  7442. interix[3-9]*)
  7443. # Interix 3.x gcc -fpic/-fPIC options generate broken code.
  7444. # Instead, we relocate shared libraries at runtime.
  7445. ;;
  7446. msdosdjgpp*)
  7447. # Just because we use GCC doesn't mean we suddenly get shared libraries
  7448. # on systems that don't support them.
  7449. lt_prog_compiler_can_build_shared=no
  7450. enable_shared=no
  7451. ;;
  7452. *nto* | *qnx*)
  7453. # QNX uses GNU C++, but need to define -shared option too, otherwise
  7454. # it will coredump.
  7455. lt_prog_compiler_pic='-fPIC -shared'
  7456. ;;
  7457. sysv4*MP*)
  7458. if test -d /usr/nec; then
  7459. lt_prog_compiler_pic=-Kconform_pic
  7460. fi
  7461. ;;
  7462. *)
  7463. lt_prog_compiler_pic='-fPIC'
  7464. ;;
  7465. esac
  7466. case $cc_basename in
  7467. nvcc*) # Cuda Compiler Driver 2.2
  7468. lt_prog_compiler_wl='-Xlinker '
  7469. lt_prog_compiler_pic='-Xcompiler -fPIC'
  7470. ;;
  7471. esac
  7472. else
  7473. # PORTME Check for flag to pass linker flags through the system compiler.
  7474. case $host_os in
  7475. aix*)
  7476. lt_prog_compiler_wl='-Wl,'
  7477. if test "$host_cpu" = ia64; then
  7478. # AIX 5 now supports IA64 processor
  7479. lt_prog_compiler_static='-Bstatic'
  7480. else
  7481. lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
  7482. fi
  7483. ;;
  7484. mingw* | cygwin* | pw32* | os2* | cegcc*)
  7485. # This hack is so that the source file can tell whether it is being
  7486. # built for inclusion in a dll (and should export symbols for example).
  7487. lt_prog_compiler_pic='-DDLL_EXPORT'
  7488. ;;
  7489. hpux9* | hpux10* | hpux11*)
  7490. lt_prog_compiler_wl='-Wl,'
  7491. # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
  7492. # not for PA HP-UX.
  7493. case $host_cpu in
  7494. hppa*64*|ia64*)
  7495. # +Z the default
  7496. ;;
  7497. *)
  7498. lt_prog_compiler_pic='+Z'
  7499. ;;
  7500. esac
  7501. # Is there a better lt_prog_compiler_static that works with the bundled CC?
  7502. lt_prog_compiler_static='${wl}-a ${wl}archive'
  7503. ;;
  7504. irix5* | irix6* | nonstopux*)
  7505. lt_prog_compiler_wl='-Wl,'
  7506. # PIC (with -KPIC) is the default.
  7507. lt_prog_compiler_static='-non_shared'
  7508. ;;
  7509. linux* | k*bsd*-gnu | kopensolaris*-gnu)
  7510. case $cc_basename in
  7511. # old Intel for x86_64 which still supported -KPIC.
  7512. ecc*)
  7513. lt_prog_compiler_wl='-Wl,'
  7514. lt_prog_compiler_pic='-KPIC'
  7515. lt_prog_compiler_static='-static'
  7516. ;;
  7517. # icc used to be incompatible with GCC.
  7518. # ICC 10 doesn't accept -KPIC any more.
  7519. icc* | ifort*)
  7520. lt_prog_compiler_wl='-Wl,'
  7521. lt_prog_compiler_pic='-fPIC'
  7522. lt_prog_compiler_static='-static'
  7523. ;;
  7524. # Lahey Fortran 8.1.
  7525. lf95*)
  7526. lt_prog_compiler_wl='-Wl,'
  7527. lt_prog_compiler_pic='--shared'
  7528. lt_prog_compiler_static='--static'
  7529. ;;
  7530. nagfor*)
  7531. # NAG Fortran compiler
  7532. lt_prog_compiler_wl='-Wl,-Wl,,'
  7533. lt_prog_compiler_pic='-PIC'
  7534. lt_prog_compiler_static='-Bstatic'
  7535. ;;
  7536. pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
  7537. # Portland Group compilers (*not* the Pentium gcc compiler,
  7538. # which looks to be a dead project)
  7539. lt_prog_compiler_wl='-Wl,'
  7540. lt_prog_compiler_pic='-fpic'
  7541. lt_prog_compiler_static='-Bstatic'
  7542. ;;
  7543. ccc*)
  7544. lt_prog_compiler_wl='-Wl,'
  7545. # All Alpha code is PIC.
  7546. lt_prog_compiler_static='-non_shared'
  7547. ;;
  7548. xl* | bgxl* | bgf* | mpixl*)
  7549. # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
  7550. lt_prog_compiler_wl='-Wl,'
  7551. lt_prog_compiler_pic='-qpic'
  7552. lt_prog_compiler_static='-qstaticlink'
  7553. ;;
  7554. *)
  7555. case `$CC -V 2>&1 | sed 5q` in
  7556. *Sun\ F* | *Sun*Fortran*)
  7557. # Sun Fortran 8.3 passes all unrecognized flags to the linker
  7558. lt_prog_compiler_pic='-KPIC'
  7559. lt_prog_compiler_static='-Bstatic'
  7560. lt_prog_compiler_wl=''
  7561. ;;
  7562. *Sun\ C*)
  7563. # Sun C 5.9
  7564. lt_prog_compiler_pic='-KPIC'
  7565. lt_prog_compiler_static='-Bstatic'
  7566. lt_prog_compiler_wl='-Wl,'
  7567. ;;
  7568. esac
  7569. ;;
  7570. esac
  7571. ;;
  7572. newsos6)
  7573. lt_prog_compiler_pic='-KPIC'
  7574. lt_prog_compiler_static='-Bstatic'
  7575. ;;
  7576. *nto* | *qnx*)
  7577. # QNX uses GNU C++, but need to define -shared option too, otherwise
  7578. # it will coredump.
  7579. lt_prog_compiler_pic='-fPIC -shared'
  7580. ;;
  7581. osf3* | osf4* | osf5*)
  7582. lt_prog_compiler_wl='-Wl,'
  7583. # All OSF/1 code is PIC.
  7584. lt_prog_compiler_static='-non_shared'
  7585. ;;
  7586. rdos*)
  7587. lt_prog_compiler_static='-non_shared'
  7588. ;;
  7589. solaris*)
  7590. lt_prog_compiler_pic='-KPIC'
  7591. lt_prog_compiler_static='-Bstatic'
  7592. case $cc_basename in
  7593. f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
  7594. lt_prog_compiler_wl='-Qoption ld ';;
  7595. *)
  7596. lt_prog_compiler_wl='-Wl,';;
  7597. esac
  7598. ;;
  7599. sunos4*)
  7600. lt_prog_compiler_wl='-Qoption ld '
  7601. lt_prog_compiler_pic='-PIC'
  7602. lt_prog_compiler_static='-Bstatic'
  7603. ;;
  7604. sysv4 | sysv4.2uw2* | sysv4.3*)
  7605. lt_prog_compiler_wl='-Wl,'
  7606. lt_prog_compiler_pic='-KPIC'
  7607. lt_prog_compiler_static='-Bstatic'
  7608. ;;
  7609. sysv4*MP*)
  7610. if test -d /usr/nec ;then
  7611. lt_prog_compiler_pic='-Kconform_pic'
  7612. lt_prog_compiler_static='-Bstatic'
  7613. fi
  7614. ;;
  7615. sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
  7616. lt_prog_compiler_wl='-Wl,'
  7617. lt_prog_compiler_pic='-KPIC'
  7618. lt_prog_compiler_static='-Bstatic'
  7619. ;;
  7620. unicos*)
  7621. lt_prog_compiler_wl='-Wl,'
  7622. lt_prog_compiler_can_build_shared=no
  7623. ;;
  7624. uts4*)
  7625. lt_prog_compiler_pic='-pic'
  7626. lt_prog_compiler_static='-Bstatic'
  7627. ;;
  7628. *)
  7629. lt_prog_compiler_can_build_shared=no
  7630. ;;
  7631. esac
  7632. fi
  7633. case $host_os in
  7634. # For platforms which do not support PIC, -DPIC is meaningless:
  7635. *djgpp*)
  7636. lt_prog_compiler_pic=
  7637. ;;
  7638. *)
  7639. lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
  7640. ;;
  7641. esac
  7642. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
  7643. $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
  7644. if ${lt_cv_prog_compiler_pic+:} false; then :
  7645. $as_echo_n "(cached) " >&6
  7646. else
  7647. lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
  7648. fi
  7649. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
  7650. $as_echo "$lt_cv_prog_compiler_pic" >&6; }
  7651. lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
  7652. #
  7653. # Check to make sure the PIC flag actually works.
  7654. #
  7655. if test -n "$lt_prog_compiler_pic"; then
  7656. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
  7657. $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
  7658. if ${lt_cv_prog_compiler_pic_works+:} false; then :
  7659. $as_echo_n "(cached) " >&6
  7660. else
  7661. lt_cv_prog_compiler_pic_works=no
  7662. ac_outfile=conftest.$ac_objext
  7663. echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  7664. lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
  7665. # Insert the option either (1) after the last *FLAGS variable, or
  7666. # (2) before a word containing "conftest.", or (3) at the end.
  7667. # Note that $ac_compile itself does not contain backslashes and begins
  7668. # with a dollar sign (not a hyphen), so the echo should work correctly.
  7669. # The option is referenced via a variable to avoid confusing sed.
  7670. lt_compile=`echo "$ac_compile" | $SED \
  7671. -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  7672. -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  7673. -e 's:$: $lt_compiler_flag:'`
  7674. (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  7675. (eval "$lt_compile" 2>conftest.err)
  7676. ac_status=$?
  7677. cat conftest.err >&5
  7678. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7679. if (exit $ac_status) && test -s "$ac_outfile"; then
  7680. # The compiler can only warn and ignore the option if not recognized
  7681. # So say no if there are warnings other than the usual output.
  7682. $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
  7683. $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  7684. if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  7685. lt_cv_prog_compiler_pic_works=yes
  7686. fi
  7687. fi
  7688. $RM conftest*
  7689. fi
  7690. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
  7691. $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
  7692. if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
  7693. case $lt_prog_compiler_pic in
  7694. "" | " "*) ;;
  7695. *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
  7696. esac
  7697. else
  7698. lt_prog_compiler_pic=
  7699. lt_prog_compiler_can_build_shared=no
  7700. fi
  7701. fi
  7702. #
  7703. # Check to make sure the static flag actually works.
  7704. #
  7705. wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
  7706. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
  7707. $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
  7708. if ${lt_cv_prog_compiler_static_works+:} false; then :
  7709. $as_echo_n "(cached) " >&6
  7710. else
  7711. lt_cv_prog_compiler_static_works=no
  7712. save_LDFLAGS="$LDFLAGS"
  7713. LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
  7714. echo "$lt_simple_link_test_code" > conftest.$ac_ext
  7715. if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
  7716. # The linker can only warn and ignore the option if not recognized
  7717. # So say no if there are warnings
  7718. if test -s conftest.err; then
  7719. # Append any errors to the config.log.
  7720. cat conftest.err 1>&5
  7721. $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
  7722. $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  7723. if diff conftest.exp conftest.er2 >/dev/null; then
  7724. lt_cv_prog_compiler_static_works=yes
  7725. fi
  7726. else
  7727. lt_cv_prog_compiler_static_works=yes
  7728. fi
  7729. fi
  7730. $RM -r conftest*
  7731. LDFLAGS="$save_LDFLAGS"
  7732. fi
  7733. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
  7734. $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
  7735. if test x"$lt_cv_prog_compiler_static_works" = xyes; then
  7736. :
  7737. else
  7738. lt_prog_compiler_static=
  7739. fi
  7740. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
  7741. $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
  7742. if ${lt_cv_prog_compiler_c_o+:} false; then :
  7743. $as_echo_n "(cached) " >&6
  7744. else
  7745. lt_cv_prog_compiler_c_o=no
  7746. $RM -r conftest 2>/dev/null
  7747. mkdir conftest
  7748. cd conftest
  7749. mkdir out
  7750. echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  7751. lt_compiler_flag="-o out/conftest2.$ac_objext"
  7752. # Insert the option either (1) after the last *FLAGS variable, or
  7753. # (2) before a word containing "conftest.", or (3) at the end.
  7754. # Note that $ac_compile itself does not contain backslashes and begins
  7755. # with a dollar sign (not a hyphen), so the echo should work correctly.
  7756. lt_compile=`echo "$ac_compile" | $SED \
  7757. -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  7758. -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  7759. -e 's:$: $lt_compiler_flag:'`
  7760. (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  7761. (eval "$lt_compile" 2>out/conftest.err)
  7762. ac_status=$?
  7763. cat out/conftest.err >&5
  7764. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7765. if (exit $ac_status) && test -s out/conftest2.$ac_objext
  7766. then
  7767. # The compiler can only warn and ignore the option if not recognized
  7768. # So say no if there are warnings
  7769. $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
  7770. $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  7771. if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  7772. lt_cv_prog_compiler_c_o=yes
  7773. fi
  7774. fi
  7775. chmod u+w . 2>&5
  7776. $RM conftest*
  7777. # SGI C++ compiler will create directory out/ii_files/ for
  7778. # template instantiation
  7779. test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
  7780. $RM out/* && rmdir out
  7781. cd ..
  7782. $RM -r conftest
  7783. $RM conftest*
  7784. fi
  7785. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
  7786. $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
  7787. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
  7788. $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
  7789. if ${lt_cv_prog_compiler_c_o+:} false; then :
  7790. $as_echo_n "(cached) " >&6
  7791. else
  7792. lt_cv_prog_compiler_c_o=no
  7793. $RM -r conftest 2>/dev/null
  7794. mkdir conftest
  7795. cd conftest
  7796. mkdir out
  7797. echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  7798. lt_compiler_flag="-o out/conftest2.$ac_objext"
  7799. # Insert the option either (1) after the last *FLAGS variable, or
  7800. # (2) before a word containing "conftest.", or (3) at the end.
  7801. # Note that $ac_compile itself does not contain backslashes and begins
  7802. # with a dollar sign (not a hyphen), so the echo should work correctly.
  7803. lt_compile=`echo "$ac_compile" | $SED \
  7804. -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  7805. -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  7806. -e 's:$: $lt_compiler_flag:'`
  7807. (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  7808. (eval "$lt_compile" 2>out/conftest.err)
  7809. ac_status=$?
  7810. cat out/conftest.err >&5
  7811. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7812. if (exit $ac_status) && test -s out/conftest2.$ac_objext
  7813. then
  7814. # The compiler can only warn and ignore the option if not recognized
  7815. # So say no if there are warnings
  7816. $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
  7817. $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  7818. if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  7819. lt_cv_prog_compiler_c_o=yes
  7820. fi
  7821. fi
  7822. chmod u+w . 2>&5
  7823. $RM conftest*
  7824. # SGI C++ compiler will create directory out/ii_files/ for
  7825. # template instantiation
  7826. test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
  7827. $RM out/* && rmdir out
  7828. cd ..
  7829. $RM -r conftest
  7830. $RM conftest*
  7831. fi
  7832. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
  7833. $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
  7834. hard_links="nottested"
  7835. if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
  7836. # do not overwrite the value of need_locks provided by the user
  7837. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
  7838. $as_echo_n "checking if we can lock with hard links... " >&6; }
  7839. hard_links=yes
  7840. $RM conftest*
  7841. ln conftest.a conftest.b 2>/dev/null && hard_links=no
  7842. touch conftest.a
  7843. ln conftest.a conftest.b 2>&5 || hard_links=no
  7844. ln conftest.a conftest.b 2>/dev/null && hard_links=no
  7845. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
  7846. $as_echo "$hard_links" >&6; }
  7847. if test "$hard_links" = no; then
  7848. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
  7849. $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
  7850. need_locks=warn
  7851. fi
  7852. else
  7853. need_locks=no
  7854. fi
  7855. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
  7856. $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
  7857. runpath_var=
  7858. allow_undefined_flag=
  7859. always_export_symbols=no
  7860. archive_cmds=
  7861. archive_expsym_cmds=
  7862. compiler_needs_object=no
  7863. enable_shared_with_static_runtimes=no
  7864. export_dynamic_flag_spec=
  7865. export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  7866. hardcode_automatic=no
  7867. hardcode_direct=no
  7868. hardcode_direct_absolute=no
  7869. hardcode_libdir_flag_spec=
  7870. hardcode_libdir_flag_spec_ld=
  7871. hardcode_libdir_separator=
  7872. hardcode_minus_L=no
  7873. hardcode_shlibpath_var=unsupported
  7874. inherit_rpath=no
  7875. link_all_deplibs=unknown
  7876. module_cmds=
  7877. module_expsym_cmds=
  7878. old_archive_from_new_cmds=
  7879. old_archive_from_expsyms_cmds=
  7880. thread_safe_flag_spec=
  7881. whole_archive_flag_spec=
  7882. # include_expsyms should be a list of space-separated symbols to be *always*
  7883. # included in the symbol list
  7884. include_expsyms=
  7885. # exclude_expsyms can be an extended regexp of symbols to exclude
  7886. # it will be wrapped by ` (' and `)$', so one must not match beginning or
  7887. # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
  7888. # as well as any symbol that contains `d'.
  7889. exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
  7890. # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
  7891. # platforms (ab)use it in PIC code, but their linkers get confused if
  7892. # the symbol is explicitly referenced. Since portable code cannot
  7893. # rely on this symbol name, it's probably fine to never include it in
  7894. # preloaded symbol tables.
  7895. # Exclude shared library initialization/finalization symbols.
  7896. extract_expsyms_cmds=
  7897. case $host_os in
  7898. cygwin* | mingw* | pw32* | cegcc*)
  7899. # FIXME: the MSVC++ port hasn't been tested in a loooong time
  7900. # When not using gcc, we currently assume that we are using
  7901. # Microsoft Visual C++.
  7902. if test "$GCC" != yes; then
  7903. with_gnu_ld=no
  7904. fi
  7905. ;;
  7906. interix*)
  7907. # we just hope/assume this is gcc and not c89 (= MSVC++)
  7908. with_gnu_ld=yes
  7909. ;;
  7910. openbsd*)
  7911. with_gnu_ld=no
  7912. ;;
  7913. linux* | k*bsd*-gnu | gnu*)
  7914. link_all_deplibs=no
  7915. ;;
  7916. esac
  7917. ld_shlibs=yes
  7918. # On some targets, GNU ld is compatible enough with the native linker
  7919. # that we're better off using the native interface for both.
  7920. lt_use_gnu_ld_interface=no
  7921. if test "$with_gnu_ld" = yes; then
  7922. case $host_os in
  7923. aix*)
  7924. # The AIX port of GNU ld has always aspired to compatibility
  7925. # with the native linker. However, as the warning in the GNU ld
  7926. # block says, versions before 2.19.5* couldn't really create working
  7927. # shared libraries, regardless of the interface used.
  7928. case `$LD -v 2>&1` in
  7929. *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
  7930. *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
  7931. *\ \(GNU\ Binutils\)\ [3-9]*) ;;
  7932. *)
  7933. lt_use_gnu_ld_interface=yes
  7934. ;;
  7935. esac
  7936. ;;
  7937. *)
  7938. lt_use_gnu_ld_interface=yes
  7939. ;;
  7940. esac
  7941. fi
  7942. if test "$lt_use_gnu_ld_interface" = yes; then
  7943. # If archive_cmds runs LD, not CC, wlarc should be empty
  7944. wlarc='${wl}'
  7945. # Set some defaults for GNU ld with shared library support. These
  7946. # are reset later if shared libraries are not supported. Putting them
  7947. # here allows them to be overridden if necessary.
  7948. runpath_var=LD_RUN_PATH
  7949. hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  7950. export_dynamic_flag_spec='${wl}--export-dynamic'
  7951. # ancient GNU ld didn't support --whole-archive et. al.
  7952. if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
  7953. whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
  7954. else
  7955. whole_archive_flag_spec=
  7956. fi
  7957. supports_anon_versioning=no
  7958. case `$LD -v 2>&1` in
  7959. *GNU\ gold*) supports_anon_versioning=yes ;;
  7960. *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
  7961. *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
  7962. *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
  7963. *\ 2.11.*) ;; # other 2.11 versions
  7964. *) supports_anon_versioning=yes ;;
  7965. esac
  7966. # See if GNU ld supports shared libraries.
  7967. case $host_os in
  7968. aix[3-9]*)
  7969. # On AIX/PPC, the GNU linker is very broken
  7970. if test "$host_cpu" != ia64; then
  7971. ld_shlibs=no
  7972. cat <<_LT_EOF 1>&2
  7973. *** Warning: the GNU linker, at least up to release 2.19, is reported
  7974. *** to be unable to reliably create shared libraries on AIX.
  7975. *** Therefore, libtool is disabling shared libraries support. If you
  7976. *** really care for shared libraries, you may want to install binutils
  7977. *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
  7978. *** You will then need to restart the configuration process.
  7979. _LT_EOF
  7980. fi
  7981. ;;
  7982. amigaos*)
  7983. case $host_cpu in
  7984. powerpc)
  7985. # see comment about AmigaOS4 .so support
  7986. archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  7987. archive_expsym_cmds=''
  7988. ;;
  7989. m68k)
  7990. 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)'
  7991. hardcode_libdir_flag_spec='-L$libdir'
  7992. hardcode_minus_L=yes
  7993. ;;
  7994. esac
  7995. ;;
  7996. beos*)
  7997. if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  7998. allow_undefined_flag=unsupported
  7999. # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
  8000. # support --undefined. This deserves some investigation. FIXME
  8001. archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  8002. else
  8003. ld_shlibs=no
  8004. fi
  8005. ;;
  8006. cygwin* | mingw* | pw32* | cegcc*)
  8007. # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
  8008. # as there is no search path for DLLs.
  8009. hardcode_libdir_flag_spec='-L$libdir'
  8010. export_dynamic_flag_spec='${wl}--export-all-symbols'
  8011. allow_undefined_flag=unsupported
  8012. always_export_symbols=no
  8013. enable_shared_with_static_runtimes=yes
  8014. 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'
  8015. exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
  8016. if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
  8017. archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  8018. # If the export-symbols file already is a .def file (1st line
  8019. # is EXPORTS), use it as is; otherwise, prepend...
  8020. archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
  8021. cp $export_symbols $output_objdir/$soname.def;
  8022. else
  8023. echo EXPORTS > $output_objdir/$soname.def;
  8024. cat $export_symbols >> $output_objdir/$soname.def;
  8025. fi~
  8026. $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  8027. else
  8028. ld_shlibs=no
  8029. fi
  8030. ;;
  8031. haiku*)
  8032. archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  8033. link_all_deplibs=yes
  8034. ;;
  8035. interix[3-9]*)
  8036. hardcode_direct=no
  8037. hardcode_shlibpath_var=no
  8038. hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
  8039. export_dynamic_flag_spec='${wl}-E'
  8040. # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
  8041. # Instead, shared libraries are loaded at an image base (0x10000000 by
  8042. # default) and relocated if they conflict, which is a slow very memory
  8043. # consuming and fragmenting process. To avoid this, we pick a random,
  8044. # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
  8045. # time. Moving up from 0x10000000 also allows more sbrk(2) space.
  8046. archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
  8047. 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'
  8048. ;;
  8049. gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
  8050. tmp_diet=no
  8051. if test "$host_os" = linux-dietlibc; then
  8052. case $cc_basename in
  8053. diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
  8054. esac
  8055. fi
  8056. if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
  8057. && test "$tmp_diet" = no
  8058. then
  8059. tmp_addflag=' $pic_flag'
  8060. tmp_sharedflag='-shared'
  8061. case $cc_basename,$host_cpu in
  8062. pgcc*) # Portland Group C compiler
  8063. 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'
  8064. tmp_addflag=' $pic_flag'
  8065. ;;
  8066. pgf77* | pgf90* | pgf95* | pgfortran*)
  8067. # Portland Group f77 and f90 compilers
  8068. 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'
  8069. tmp_addflag=' $pic_flag -Mnomain' ;;
  8070. ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
  8071. tmp_addflag=' -i_dynamic' ;;
  8072. efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
  8073. tmp_addflag=' -i_dynamic -nofor_main' ;;
  8074. ifc* | ifort*) # Intel Fortran compiler
  8075. tmp_addflag=' -nofor_main' ;;
  8076. lf95*) # Lahey Fortran 8.1
  8077. whole_archive_flag_spec=
  8078. tmp_sharedflag='--shared' ;;
  8079. xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
  8080. tmp_sharedflag='-qmkshrobj'
  8081. tmp_addflag= ;;
  8082. nvcc*) # Cuda Compiler Driver 2.2
  8083. 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'
  8084. compiler_needs_object=yes
  8085. ;;
  8086. esac
  8087. case `$CC -V 2>&1 | sed 5q` in
  8088. *Sun\ C*) # Sun C 5.9
  8089. 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'
  8090. compiler_needs_object=yes
  8091. tmp_sharedflag='-G' ;;
  8092. *Sun\ F*) # Sun Fortran 8.3
  8093. tmp_sharedflag='-G' ;;
  8094. esac
  8095. archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  8096. if test "x$supports_anon_versioning" = xyes; then
  8097. archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
  8098. cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  8099. echo "local: *; };" >> $output_objdir/$libname.ver~
  8100. $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
  8101. fi
  8102. case $cc_basename in
  8103. xlf* | bgf* | bgxlf* | mpixlf*)
  8104. # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
  8105. whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
  8106. hardcode_libdir_flag_spec=
  8107. hardcode_libdir_flag_spec_ld='-rpath $libdir'
  8108. archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
  8109. if test "x$supports_anon_versioning" = xyes; then
  8110. archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
  8111. cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  8112. echo "local: *; };" >> $output_objdir/$libname.ver~
  8113. $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
  8114. fi
  8115. ;;
  8116. esac
  8117. else
  8118. ld_shlibs=no
  8119. fi
  8120. ;;
  8121. netbsd* | netbsdelf*-gnu)
  8122. if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  8123. archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
  8124. wlarc=
  8125. else
  8126. archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  8127. archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  8128. fi
  8129. ;;
  8130. solaris*)
  8131. if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
  8132. ld_shlibs=no
  8133. cat <<_LT_EOF 1>&2
  8134. *** Warning: The releases 2.8.* of the GNU linker cannot reliably
  8135. *** create shared libraries on Solaris systems. Therefore, libtool
  8136. *** is disabling shared libraries support. We urge you to upgrade GNU
  8137. *** binutils to release 2.9.1 or newer. Another option is to modify
  8138. *** your PATH or compiler configuration so that the native linker is
  8139. *** used, and then restart.
  8140. _LT_EOF
  8141. elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  8142. archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  8143. archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  8144. else
  8145. ld_shlibs=no
  8146. fi
  8147. ;;
  8148. sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
  8149. case `$LD -v 2>&1` in
  8150. *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
  8151. ld_shlibs=no
  8152. cat <<_LT_EOF 1>&2
  8153. *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
  8154. *** reliably create shared libraries on SCO systems. Therefore, libtool
  8155. *** is disabling shared libraries support. We urge you to upgrade GNU
  8156. *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
  8157. *** your PATH or compiler configuration so that the native linker is
  8158. *** used, and then restart.
  8159. _LT_EOF
  8160. ;;
  8161. *)
  8162. # For security reasons, it is highly recommended that you always
  8163. # use absolute paths for naming shared libraries, and exclude the
  8164. # DT_RUNPATH tag from executables and libraries. But doing so
  8165. # requires that you compile everything twice, which is a pain.
  8166. if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  8167. hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  8168. archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  8169. archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  8170. else
  8171. ld_shlibs=no
  8172. fi
  8173. ;;
  8174. esac
  8175. ;;
  8176. sunos4*)
  8177. archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  8178. wlarc=
  8179. hardcode_direct=yes
  8180. hardcode_shlibpath_var=no
  8181. ;;
  8182. *)
  8183. if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  8184. archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  8185. archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  8186. else
  8187. ld_shlibs=no
  8188. fi
  8189. ;;
  8190. esac
  8191. if test "$ld_shlibs" = no; then
  8192. runpath_var=
  8193. hardcode_libdir_flag_spec=
  8194. export_dynamic_flag_spec=
  8195. whole_archive_flag_spec=
  8196. fi
  8197. else
  8198. # PORTME fill in a description of your system's linker (not GNU ld)
  8199. case $host_os in
  8200. aix3*)
  8201. allow_undefined_flag=unsupported
  8202. always_export_symbols=yes
  8203. 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'
  8204. # Note: this linker hardcodes the directories in LIBPATH if there
  8205. # are no directories specified by -L.
  8206. hardcode_minus_L=yes
  8207. if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
  8208. # Neither direct hardcoding nor static linking is supported with a
  8209. # broken collect2.
  8210. hardcode_direct=unsupported
  8211. fi
  8212. ;;
  8213. aix[4-9]*)
  8214. if test "$host_cpu" = ia64; then
  8215. # On IA64, the linker does run time linking by default, so we don't
  8216. # have to do anything special.
  8217. aix_use_runtimelinking=no
  8218. exp_sym_flag='-Bexport'
  8219. no_entry_flag=""
  8220. else
  8221. # If we're using GNU nm, then we don't want the "-C" option.
  8222. # -C means demangle to AIX nm, but means don't demangle with GNU nm
  8223. # Also, AIX nm treats weak defined symbols like other global
  8224. # defined symbols, whereas GNU nm marks them as "W".
  8225. if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
  8226. 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'
  8227. else
  8228. 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'
  8229. fi
  8230. aix_use_runtimelinking=no
  8231. # Test if we are trying to use run time linking or normal
  8232. # AIX style linking. If -brtl is somewhere in LDFLAGS, we
  8233. # need to do runtime linking.
  8234. case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
  8235. for ld_flag in $LDFLAGS; do
  8236. if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
  8237. aix_use_runtimelinking=yes
  8238. break
  8239. fi
  8240. done
  8241. ;;
  8242. esac
  8243. exp_sym_flag='-bexport'
  8244. no_entry_flag='-bnoentry'
  8245. fi
  8246. # When large executables or shared objects are built, AIX ld can
  8247. # have problems creating the table of contents. If linking a library
  8248. # or program results in "error TOC overflow" add -mminimal-toc to
  8249. # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
  8250. # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
  8251. archive_cmds=''
  8252. hardcode_direct=yes
  8253. hardcode_direct_absolute=yes
  8254. hardcode_libdir_separator=':'
  8255. link_all_deplibs=yes
  8256. file_list_spec='${wl}-f,'
  8257. if test "$GCC" = yes; then
  8258. case $host_os in aix4.[012]|aix4.[012].*)
  8259. # We only want to do this on AIX 4.2 and lower, the check
  8260. # below for broken collect2 doesn't work under 4.3+
  8261. collect2name=`${CC} -print-prog-name=collect2`
  8262. if test -f "$collect2name" &&
  8263. strings "$collect2name" | $GREP resolve_lib_name >/dev/null
  8264. then
  8265. # We have reworked collect2
  8266. :
  8267. else
  8268. # We have old collect2
  8269. hardcode_direct=unsupported
  8270. # It fails to find uninstalled libraries when the uninstalled
  8271. # path is not listed in the libpath. Setting hardcode_minus_L
  8272. # to unsupported forces relinking
  8273. hardcode_minus_L=yes
  8274. hardcode_libdir_flag_spec='-L$libdir'
  8275. hardcode_libdir_separator=
  8276. fi
  8277. ;;
  8278. esac
  8279. shared_flag='-shared'
  8280. if test "$aix_use_runtimelinking" = yes; then
  8281. shared_flag="$shared_flag "'${wl}-G'
  8282. fi
  8283. link_all_deplibs=no
  8284. else
  8285. # not using gcc
  8286. if test "$host_cpu" = ia64; then
  8287. # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
  8288. # chokes on -Wl,-G. The following line is correct:
  8289. shared_flag='-G'
  8290. else
  8291. if test "$aix_use_runtimelinking" = yes; then
  8292. shared_flag='${wl}-G'
  8293. else
  8294. shared_flag='${wl}-bM:SRE'
  8295. fi
  8296. fi
  8297. fi
  8298. export_dynamic_flag_spec='${wl}-bexpall'
  8299. # It seems that -bexpall does not export symbols beginning with
  8300. # underscore (_), so it is better to generate a list of symbols to export.
  8301. always_export_symbols=yes
  8302. if test "$aix_use_runtimelinking" = yes; then
  8303. # Warning - without using the other runtime loading flags (-brtl),
  8304. # -berok will link without error, but may produce a broken library.
  8305. allow_undefined_flag='-berok'
  8306. # Determine the default libpath from the value encoded in an
  8307. # empty executable.
  8308. if test "${lt_cv_aix_libpath+set}" = set; then
  8309. aix_libpath=$lt_cv_aix_libpath
  8310. else
  8311. if ${lt_cv_aix_libpath_+:} false; then :
  8312. $as_echo_n "(cached) " >&6
  8313. else
  8314. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8315. /* end confdefs.h. */
  8316. int
  8317. main ()
  8318. {
  8319. ;
  8320. return 0;
  8321. }
  8322. _ACEOF
  8323. if ac_fn_c_try_link "$LINENO"; then :
  8324. lt_aix_libpath_sed='
  8325. /Import File Strings/,/^$/ {
  8326. /^0/ {
  8327. s/^0 *\([^ ]*\) *$/\1/
  8328. p
  8329. }
  8330. }'
  8331. lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  8332. # Check for a 64-bit object if we didn't find anything.
  8333. if test -z "$lt_cv_aix_libpath_"; then
  8334. lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  8335. fi
  8336. fi
  8337. rm -f core conftest.err conftest.$ac_objext \
  8338. conftest$ac_exeext conftest.$ac_ext
  8339. if test -z "$lt_cv_aix_libpath_"; then
  8340. lt_cv_aix_libpath_="/usr/lib:/lib"
  8341. fi
  8342. fi
  8343. aix_libpath=$lt_cv_aix_libpath_
  8344. fi
  8345. hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
  8346. 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"
  8347. else
  8348. if test "$host_cpu" = ia64; then
  8349. hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
  8350. allow_undefined_flag="-z nodefs"
  8351. 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"
  8352. else
  8353. # Determine the default libpath from the value encoded in an
  8354. # empty executable.
  8355. if test "${lt_cv_aix_libpath+set}" = set; then
  8356. aix_libpath=$lt_cv_aix_libpath
  8357. else
  8358. if ${lt_cv_aix_libpath_+:} false; then :
  8359. $as_echo_n "(cached) " >&6
  8360. else
  8361. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8362. /* end confdefs.h. */
  8363. int
  8364. main ()
  8365. {
  8366. ;
  8367. return 0;
  8368. }
  8369. _ACEOF
  8370. if ac_fn_c_try_link "$LINENO"; then :
  8371. lt_aix_libpath_sed='
  8372. /Import File Strings/,/^$/ {
  8373. /^0/ {
  8374. s/^0 *\([^ ]*\) *$/\1/
  8375. p
  8376. }
  8377. }'
  8378. lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  8379. # Check for a 64-bit object if we didn't find anything.
  8380. if test -z "$lt_cv_aix_libpath_"; then
  8381. lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  8382. fi
  8383. fi
  8384. rm -f core conftest.err conftest.$ac_objext \
  8385. conftest$ac_exeext conftest.$ac_ext
  8386. if test -z "$lt_cv_aix_libpath_"; then
  8387. lt_cv_aix_libpath_="/usr/lib:/lib"
  8388. fi
  8389. fi
  8390. aix_libpath=$lt_cv_aix_libpath_
  8391. fi
  8392. hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
  8393. # Warning - without using the other run time loading flags,
  8394. # -berok will link without error, but may produce a broken library.
  8395. no_undefined_flag=' ${wl}-bernotok'
  8396. allow_undefined_flag=' ${wl}-berok'
  8397. if test "$with_gnu_ld" = yes; then
  8398. # We only use this code for GNU lds that support --whole-archive.
  8399. whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
  8400. else
  8401. # Exported symbols can be pulled into shared objects from archives
  8402. whole_archive_flag_spec='$convenience'
  8403. fi
  8404. archive_cmds_need_lc=yes
  8405. # This is similar to how AIX traditionally builds its shared libraries.
  8406. 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'
  8407. fi
  8408. fi
  8409. ;;
  8410. amigaos*)
  8411. case $host_cpu in
  8412. powerpc)
  8413. # see comment about AmigaOS4 .so support
  8414. archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  8415. archive_expsym_cmds=''
  8416. ;;
  8417. m68k)
  8418. 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)'
  8419. hardcode_libdir_flag_spec='-L$libdir'
  8420. hardcode_minus_L=yes
  8421. ;;
  8422. esac
  8423. ;;
  8424. bsdi[45]*)
  8425. export_dynamic_flag_spec=-rdynamic
  8426. ;;
  8427. cygwin* | mingw* | pw32* | cegcc*)
  8428. # When not using gcc, we currently assume that we are using
  8429. # Microsoft Visual C++.
  8430. # hardcode_libdir_flag_spec is actually meaningless, as there is
  8431. # no search path for DLLs.
  8432. case $cc_basename in
  8433. cl*)
  8434. # Native MSVC
  8435. hardcode_libdir_flag_spec=' '
  8436. allow_undefined_flag=unsupported
  8437. always_export_symbols=yes
  8438. file_list_spec='@'
  8439. # Tell ltmain to make .lib files, not .a files.
  8440. libext=lib
  8441. # Tell ltmain to make .dll files, not .so files.
  8442. shrext_cmds=".dll"
  8443. # FIXME: Setting linknames here is a bad hack.
  8444. archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
  8445. archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
  8446. sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
  8447. else
  8448. sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
  8449. fi~
  8450. $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
  8451. linknames='
  8452. # The linker will not automatically build a static lib if we build a DLL.
  8453. # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
  8454. enable_shared_with_static_runtimes=yes
  8455. export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
  8456. # Don't use ranlib
  8457. old_postinstall_cmds='chmod 644 $oldlib'
  8458. postlink_cmds='lt_outputfile="@OUTPUT@"~
  8459. lt_tool_outputfile="@TOOL_OUTPUT@"~
  8460. case $lt_outputfile in
  8461. *.exe|*.EXE) ;;
  8462. *)
  8463. lt_outputfile="$lt_outputfile.exe"
  8464. lt_tool_outputfile="$lt_tool_outputfile.exe"
  8465. ;;
  8466. esac~
  8467. if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
  8468. $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
  8469. $RM "$lt_outputfile.manifest";
  8470. fi'
  8471. ;;
  8472. *)
  8473. # Assume MSVC wrapper
  8474. hardcode_libdir_flag_spec=' '
  8475. allow_undefined_flag=unsupported
  8476. # Tell ltmain to make .lib files, not .a files.
  8477. libext=lib
  8478. # Tell ltmain to make .dll files, not .so files.
  8479. shrext_cmds=".dll"
  8480. # FIXME: Setting linknames here is a bad hack.
  8481. archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
  8482. # The linker will automatically build a .lib file if we build a DLL.
  8483. old_archive_from_new_cmds='true'
  8484. # FIXME: Should let the user specify the lib program.
  8485. old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
  8486. enable_shared_with_static_runtimes=yes
  8487. ;;
  8488. esac
  8489. ;;
  8490. darwin* | rhapsody*)
  8491. archive_cmds_need_lc=no
  8492. hardcode_direct=no
  8493. hardcode_automatic=yes
  8494. hardcode_shlibpath_var=unsupported
  8495. if test "$lt_cv_ld_force_load" = "yes"; then
  8496. 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\"`'
  8497. else
  8498. whole_archive_flag_spec=''
  8499. fi
  8500. link_all_deplibs=yes
  8501. allow_undefined_flag="$_lt_dar_allow_undefined"
  8502. case $cc_basename in
  8503. ifort*) _lt_dar_can_shared=yes ;;
  8504. *) _lt_dar_can_shared=$GCC ;;
  8505. esac
  8506. if test "$_lt_dar_can_shared" = "yes"; then
  8507. output_verbose_link_cmd=func_echo_all
  8508. archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
  8509. module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
  8510. 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}"
  8511. 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}"
  8512. else
  8513. ld_shlibs=no
  8514. fi
  8515. ;;
  8516. dgux*)
  8517. archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  8518. hardcode_libdir_flag_spec='-L$libdir'
  8519. hardcode_shlibpath_var=no
  8520. ;;
  8521. freebsd1*)
  8522. ld_shlibs=no
  8523. ;;
  8524. # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
  8525. # support. Future versions do this automatically, but an explicit c++rt0.o
  8526. # does not break anything, and helps significantly (at the cost of a little
  8527. # extra space).
  8528. freebsd2.2*)
  8529. archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
  8530. hardcode_libdir_flag_spec='-R$libdir'
  8531. hardcode_direct=yes
  8532. hardcode_shlibpath_var=no
  8533. ;;
  8534. # Unfortunately, older versions of FreeBSD 2 do not have this feature.
  8535. freebsd2*)
  8536. archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  8537. hardcode_direct=yes
  8538. hardcode_minus_L=yes
  8539. hardcode_shlibpath_var=no
  8540. ;;
  8541. # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
  8542. freebsd* | dragonfly*)
  8543. archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  8544. hardcode_libdir_flag_spec='-R$libdir'
  8545. hardcode_direct=yes
  8546. hardcode_shlibpath_var=no
  8547. ;;
  8548. hpux9*)
  8549. if test "$GCC" = yes; then
  8550. 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'
  8551. else
  8552. 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'
  8553. fi
  8554. hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
  8555. hardcode_libdir_separator=:
  8556. hardcode_direct=yes
  8557. # hardcode_minus_L: Not really in the search PATH,
  8558. # but as the default location of the library.
  8559. hardcode_minus_L=yes
  8560. export_dynamic_flag_spec='${wl}-E'
  8561. ;;
  8562. hpux10*)
  8563. if test "$GCC" = yes && test "$with_gnu_ld" = no; then
  8564. archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  8565. else
  8566. archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
  8567. fi
  8568. if test "$with_gnu_ld" = no; then
  8569. hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
  8570. hardcode_libdir_flag_spec_ld='+b $libdir'
  8571. hardcode_libdir_separator=:
  8572. hardcode_direct=yes
  8573. hardcode_direct_absolute=yes
  8574. export_dynamic_flag_spec='${wl}-E'
  8575. # hardcode_minus_L: Not really in the search PATH,
  8576. # but as the default location of the library.
  8577. hardcode_minus_L=yes
  8578. fi
  8579. ;;
  8580. hpux11*)
  8581. if test "$GCC" = yes && test "$with_gnu_ld" = no; then
  8582. case $host_cpu in
  8583. hppa*64*)
  8584. archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  8585. ;;
  8586. ia64*)
  8587. archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  8588. ;;
  8589. *)
  8590. archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  8591. ;;
  8592. esac
  8593. else
  8594. case $host_cpu in
  8595. hppa*64*)
  8596. archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  8597. ;;
  8598. ia64*)
  8599. archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  8600. ;;
  8601. *)
  8602. # Older versions of the 11.00 compiler do not understand -b yet
  8603. # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
  8604. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
  8605. $as_echo_n "checking if $CC understands -b... " >&6; }
  8606. if ${lt_cv_prog_compiler__b+:} false; then :
  8607. $as_echo_n "(cached) " >&6
  8608. else
  8609. lt_cv_prog_compiler__b=no
  8610. save_LDFLAGS="$LDFLAGS"
  8611. LDFLAGS="$LDFLAGS -b"
  8612. echo "$lt_simple_link_test_code" > conftest.$ac_ext
  8613. if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
  8614. # The linker can only warn and ignore the option if not recognized
  8615. # So say no if there are warnings
  8616. if test -s conftest.err; then
  8617. # Append any errors to the config.log.
  8618. cat conftest.err 1>&5
  8619. $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
  8620. $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  8621. if diff conftest.exp conftest.er2 >/dev/null; then
  8622. lt_cv_prog_compiler__b=yes
  8623. fi
  8624. else
  8625. lt_cv_prog_compiler__b=yes
  8626. fi
  8627. fi
  8628. $RM -r conftest*
  8629. LDFLAGS="$save_LDFLAGS"
  8630. fi
  8631. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
  8632. $as_echo "$lt_cv_prog_compiler__b" >&6; }
  8633. if test x"$lt_cv_prog_compiler__b" = xyes; then
  8634. archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  8635. else
  8636. archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
  8637. fi
  8638. ;;
  8639. esac
  8640. fi
  8641. if test "$with_gnu_ld" = no; then
  8642. hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
  8643. hardcode_libdir_separator=:
  8644. case $host_cpu in
  8645. hppa*64*|ia64*)
  8646. hardcode_direct=no
  8647. hardcode_shlibpath_var=no
  8648. ;;
  8649. *)
  8650. hardcode_direct=yes
  8651. hardcode_direct_absolute=yes
  8652. export_dynamic_flag_spec='${wl}-E'
  8653. # hardcode_minus_L: Not really in the search PATH,
  8654. # but as the default location of the library.
  8655. hardcode_minus_L=yes
  8656. ;;
  8657. esac
  8658. fi
  8659. ;;
  8660. irix5* | irix6* | nonstopux*)
  8661. if test "$GCC" = yes; then
  8662. 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'
  8663. # Try to use the -exported_symbol ld option, if it does not
  8664. # work, assume that -exports_file does not work either and
  8665. # implicitly export all symbols.
  8666. # This should be the same for all languages, so no per-tag cache variable.
  8667. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
  8668. $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
  8669. if ${lt_cv_irix_exported_symbol+:} false; then :
  8670. $as_echo_n "(cached) " >&6
  8671. else
  8672. save_LDFLAGS="$LDFLAGS"
  8673. LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
  8674. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8675. /* end confdefs.h. */
  8676. int foo (void) { return 0; }
  8677. _ACEOF
  8678. if ac_fn_c_try_link "$LINENO"; then :
  8679. lt_cv_irix_exported_symbol=yes
  8680. else
  8681. lt_cv_irix_exported_symbol=no
  8682. fi
  8683. rm -f core conftest.err conftest.$ac_objext \
  8684. conftest$ac_exeext conftest.$ac_ext
  8685. LDFLAGS="$save_LDFLAGS"
  8686. fi
  8687. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
  8688. $as_echo "$lt_cv_irix_exported_symbol" >&6; }
  8689. if test "$lt_cv_irix_exported_symbol" = yes; then
  8690. 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'
  8691. fi
  8692. else
  8693. 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'
  8694. 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'
  8695. fi
  8696. archive_cmds_need_lc='no'
  8697. hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  8698. hardcode_libdir_separator=:
  8699. inherit_rpath=yes
  8700. link_all_deplibs=yes
  8701. ;;
  8702. netbsd* | netbsdelf*-gnu)
  8703. if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  8704. archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
  8705. else
  8706. archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
  8707. fi
  8708. hardcode_libdir_flag_spec='-R$libdir'
  8709. hardcode_direct=yes
  8710. hardcode_shlibpath_var=no
  8711. ;;
  8712. newsos6)
  8713. archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  8714. hardcode_direct=yes
  8715. hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  8716. hardcode_libdir_separator=:
  8717. hardcode_shlibpath_var=no
  8718. ;;
  8719. *nto* | *qnx*)
  8720. ;;
  8721. openbsd*)
  8722. if test -f /usr/libexec/ld.so; then
  8723. hardcode_direct=yes
  8724. hardcode_shlibpath_var=no
  8725. hardcode_direct_absolute=yes
  8726. if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  8727. archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  8728. archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
  8729. hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
  8730. export_dynamic_flag_spec='${wl}-E'
  8731. else
  8732. case $host_os in
  8733. openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
  8734. archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  8735. hardcode_libdir_flag_spec='-R$libdir'
  8736. ;;
  8737. *)
  8738. archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  8739. hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
  8740. ;;
  8741. esac
  8742. fi
  8743. else
  8744. ld_shlibs=no
  8745. fi
  8746. ;;
  8747. os2*)
  8748. hardcode_libdir_flag_spec='-L$libdir'
  8749. hardcode_minus_L=yes
  8750. allow_undefined_flag=unsupported
  8751. 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'
  8752. old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
  8753. ;;
  8754. osf3*)
  8755. if test "$GCC" = yes; then
  8756. allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
  8757. 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'
  8758. else
  8759. allow_undefined_flag=' -expect_unresolved \*'
  8760. 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'
  8761. fi
  8762. archive_cmds_need_lc='no'
  8763. hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  8764. hardcode_libdir_separator=:
  8765. ;;
  8766. osf4* | osf5*) # as osf3* with the addition of -msym flag
  8767. if test "$GCC" = yes; then
  8768. allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
  8769. 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'
  8770. hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  8771. else
  8772. allow_undefined_flag=' -expect_unresolved \*'
  8773. 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'
  8774. 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~
  8775. $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'
  8776. # Both c and cxx compiler support -rpath directly
  8777. hardcode_libdir_flag_spec='-rpath $libdir'
  8778. fi
  8779. archive_cmds_need_lc='no'
  8780. hardcode_libdir_separator=:
  8781. ;;
  8782. solaris*)
  8783. no_undefined_flag=' -z defs'
  8784. if test "$GCC" = yes; then
  8785. wlarc='${wl}'
  8786. archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  8787. archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  8788. $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'
  8789. else
  8790. case `$CC -V 2>&1` in
  8791. *"Compilers 5.0"*)
  8792. wlarc=''
  8793. archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
  8794. archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  8795. $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
  8796. ;;
  8797. *)
  8798. wlarc='${wl}'
  8799. archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
  8800. archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  8801. $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
  8802. ;;
  8803. esac
  8804. fi
  8805. hardcode_libdir_flag_spec='-R$libdir'
  8806. hardcode_shlibpath_var=no
  8807. case $host_os in
  8808. solaris2.[0-5] | solaris2.[0-5].*) ;;
  8809. *)
  8810. # The compiler driver will combine and reorder linker options,
  8811. # but understands `-z linker_flag'. GCC discards it without `$wl',
  8812. # but is careful enough not to reorder.
  8813. # Supported since Solaris 2.6 (maybe 2.5.1?)
  8814. if test "$GCC" = yes; then
  8815. whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
  8816. else
  8817. whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
  8818. fi
  8819. ;;
  8820. esac
  8821. link_all_deplibs=yes
  8822. ;;
  8823. sunos4*)
  8824. if test "x$host_vendor" = xsequent; then
  8825. # Use $CC to link under sequent, because it throws in some extra .o
  8826. # files that make .init and .fini sections work.
  8827. archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
  8828. else
  8829. archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
  8830. fi
  8831. hardcode_libdir_flag_spec='-L$libdir'
  8832. hardcode_direct=yes
  8833. hardcode_minus_L=yes
  8834. hardcode_shlibpath_var=no
  8835. ;;
  8836. sysv4)
  8837. case $host_vendor in
  8838. sni)
  8839. archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  8840. hardcode_direct=yes # is this really true???
  8841. ;;
  8842. siemens)
  8843. ## LD is ld it makes a PLAMLIB
  8844. ## CC just makes a GrossModule.
  8845. archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
  8846. reload_cmds='$CC -r -o $output$reload_objs'
  8847. hardcode_direct=no
  8848. ;;
  8849. motorola)
  8850. archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  8851. hardcode_direct=no #Motorola manual says yes, but my tests say they lie
  8852. ;;
  8853. esac
  8854. runpath_var='LD_RUN_PATH'
  8855. hardcode_shlibpath_var=no
  8856. ;;
  8857. sysv4.3*)
  8858. archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  8859. hardcode_shlibpath_var=no
  8860. export_dynamic_flag_spec='-Bexport'
  8861. ;;
  8862. sysv4*MP*)
  8863. if test -d /usr/nec; then
  8864. archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  8865. hardcode_shlibpath_var=no
  8866. runpath_var=LD_RUN_PATH
  8867. hardcode_runpath_var=yes
  8868. ld_shlibs=yes
  8869. fi
  8870. ;;
  8871. sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
  8872. no_undefined_flag='${wl}-z,text'
  8873. archive_cmds_need_lc=no
  8874. hardcode_shlibpath_var=no
  8875. runpath_var='LD_RUN_PATH'
  8876. if test "$GCC" = yes; then
  8877. archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  8878. archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  8879. else
  8880. archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  8881. archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  8882. fi
  8883. ;;
  8884. sysv5* | sco3.2v5* | sco5v6*)
  8885. # Note: We can NOT use -z defs as we might desire, because we do not
  8886. # link with -lc, and that would cause any symbols used from libc to
  8887. # always be unresolved, which means just about no library would
  8888. # ever link correctly. If we're not using GNU ld we use -z text
  8889. # though, which does catch some bad symbols but isn't as heavy-handed
  8890. # as -z defs.
  8891. no_undefined_flag='${wl}-z,text'
  8892. allow_undefined_flag='${wl}-z,nodefs'
  8893. archive_cmds_need_lc=no
  8894. hardcode_shlibpath_var=no
  8895. hardcode_libdir_flag_spec='${wl}-R,$libdir'
  8896. hardcode_libdir_separator=':'
  8897. link_all_deplibs=yes
  8898. export_dynamic_flag_spec='${wl}-Bexport'
  8899. runpath_var='LD_RUN_PATH'
  8900. if test "$GCC" = yes; then
  8901. archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  8902. archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  8903. else
  8904. archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  8905. archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  8906. fi
  8907. ;;
  8908. uts4*)
  8909. archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  8910. hardcode_libdir_flag_spec='-L$libdir'
  8911. hardcode_shlibpath_var=no
  8912. ;;
  8913. *)
  8914. ld_shlibs=no
  8915. ;;
  8916. esac
  8917. if test x$host_vendor = xsni; then
  8918. case $host in
  8919. sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
  8920. export_dynamic_flag_spec='${wl}-Blargedynsym'
  8921. ;;
  8922. esac
  8923. fi
  8924. fi
  8925. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
  8926. $as_echo "$ld_shlibs" >&6; }
  8927. test "$ld_shlibs" = no && can_build_shared=no
  8928. with_gnu_ld=$with_gnu_ld
  8929. #
  8930. # Do we need to explicitly link libc?
  8931. #
  8932. case "x$archive_cmds_need_lc" in
  8933. x|xyes)
  8934. # Assume -lc should be added
  8935. archive_cmds_need_lc=yes
  8936. if test "$enable_shared" = yes && test "$GCC" = yes; then
  8937. case $archive_cmds in
  8938. *'~'*)
  8939. # FIXME: we may have to deal with multi-command sequences.
  8940. ;;
  8941. '$CC '*)
  8942. # Test whether the compiler implicitly links with -lc since on some
  8943. # systems, -lgcc has to come before -lc. If gcc already passes -lc
  8944. # to ld, don't add -lc before -lgcc.
  8945. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
  8946. $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
  8947. if ${lt_cv_archive_cmds_need_lc+:} false; then :
  8948. $as_echo_n "(cached) " >&6
  8949. else
  8950. $RM conftest*
  8951. echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  8952. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  8953. (eval $ac_compile) 2>&5
  8954. ac_status=$?
  8955. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  8956. test $ac_status = 0; } 2>conftest.err; then
  8957. soname=conftest
  8958. lib=conftest
  8959. libobjs=conftest.$ac_objext
  8960. deplibs=
  8961. wl=$lt_prog_compiler_wl
  8962. pic_flag=$lt_prog_compiler_pic
  8963. compiler_flags=-v
  8964. linker_flags=-v
  8965. verstring=
  8966. output_objdir=.
  8967. libname=conftest
  8968. lt_save_allow_undefined_flag=$allow_undefined_flag
  8969. allow_undefined_flag=
  8970. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
  8971. (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
  8972. ac_status=$?
  8973. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  8974. test $ac_status = 0; }
  8975. then
  8976. lt_cv_archive_cmds_need_lc=no
  8977. else
  8978. lt_cv_archive_cmds_need_lc=yes
  8979. fi
  8980. allow_undefined_flag=$lt_save_allow_undefined_flag
  8981. else
  8982. cat conftest.err 1>&5
  8983. fi
  8984. $RM conftest*
  8985. fi
  8986. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
  8987. $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
  8988. archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
  8989. ;;
  8990. esac
  8991. fi
  8992. ;;
  8993. esac
  8994. { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
  8995. $as_echo_n "checking dynamic linker characteristics... " >&6; }
  8996. if test "$GCC" = yes; then
  8997. case $host_os in
  8998. darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
  8999. *) lt_awk_arg="/^libraries:/" ;;
  9000. esac
  9001. case $host_os in
  9002. mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
  9003. *) lt_sed_strip_eq="s,=/,/,g" ;;
  9004. esac
  9005. lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
  9006. case $lt_search_path_spec in
  9007. *\;*)
  9008. # if the path contains ";" then we assume it to be the separator
  9009. # otherwise default to the standard path separator (i.e. ":") - it is
  9010. # assumed that no part of a normal pathname contains ";" but that should
  9011. # okay in the real world where ";" in dirpaths is itself problematic.
  9012. lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
  9013. ;;
  9014. *)
  9015. lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
  9016. ;;
  9017. esac
  9018. # Ok, now we have the path, separated by spaces, we can step through it
  9019. # and add multilib dir if necessary.
  9020. lt_tmp_lt_search_path_spec=
  9021. lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
  9022. for lt_sys_path in $lt_search_path_spec; do
  9023. if test -d "$lt_sys_path/$lt_multi_os_dir"; then
  9024. lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
  9025. else
  9026. test -d "$lt_sys_path" && \
  9027. lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
  9028. fi
  9029. done
  9030. lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
  9031. BEGIN {RS=" "; FS="/|\n";} {
  9032. lt_foo="";
  9033. lt_count=0;
  9034. for (lt_i = NF; lt_i > 0; lt_i--) {
  9035. if ($lt_i != "" && $lt_i != ".") {
  9036. if ($lt_i == "..") {
  9037. lt_count++;
  9038. } else {
  9039. if (lt_count == 0) {
  9040. lt_foo="/" $lt_i lt_foo;
  9041. } else {
  9042. lt_count--;
  9043. }
  9044. }
  9045. }
  9046. }
  9047. if (lt_foo != "") { lt_freq[lt_foo]++; }
  9048. if (lt_freq[lt_foo] == 1) { print lt_foo; }
  9049. }'`
  9050. # AWK program above erroneously prepends '/' to C:/dos/paths
  9051. # for these hosts.
  9052. case $host_os in
  9053. mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
  9054. $SED 's,/\([A-Za-z]:\),\1,g'` ;;
  9055. esac
  9056. sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
  9057. else
  9058. sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
  9059. fi
  9060. library_names_spec=
  9061. libname_spec='lib$name'
  9062. soname_spec=
  9063. shrext_cmds=".so"
  9064. postinstall_cmds=
  9065. postuninstall_cmds=
  9066. finish_cmds=
  9067. finish_eval=
  9068. shlibpath_var=
  9069. shlibpath_overrides_runpath=unknown
  9070. version_type=none
  9071. dynamic_linker="$host_os ld.so"
  9072. sys_lib_dlsearch_path_spec="/lib /usr/lib"
  9073. need_lib_prefix=unknown
  9074. hardcode_into_libs=no
  9075. # when you set need_version to no, make sure it does not cause -set_version
  9076. # flags to be left without arguments
  9077. need_version=unknown
  9078. case $host_os in
  9079. aix3*)
  9080. version_type=linux
  9081. library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
  9082. shlibpath_var=LIBPATH
  9083. # AIX 3 has no versioning support, so we append a major version to the name.
  9084. soname_spec='${libname}${release}${shared_ext}$major'
  9085. ;;
  9086. aix[4-9]*)
  9087. version_type=linux
  9088. need_lib_prefix=no
  9089. need_version=no
  9090. hardcode_into_libs=yes
  9091. if test "$host_cpu" = ia64; then
  9092. # AIX 5 supports IA64
  9093. library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
  9094. shlibpath_var=LD_LIBRARY_PATH
  9095. else
  9096. # With GCC up to 2.95.x, collect2 would create an import file
  9097. # for dependence libraries. The import file would start with
  9098. # the line `#! .'. This would cause the generated library to
  9099. # depend on `.', always an invalid library. This was fixed in
  9100. # development snapshots of GCC prior to 3.0.
  9101. case $host_os in
  9102. aix4 | aix4.[01] | aix4.[01].*)
  9103. if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
  9104. echo ' yes '
  9105. echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
  9106. :
  9107. else
  9108. can_build_shared=no
  9109. fi
  9110. ;;
  9111. esac
  9112. # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
  9113. # soname into executable. Probably we can add versioning support to
  9114. # collect2, so additional links can be useful in future.
  9115. if test "$aix_use_runtimelinking" = yes; then
  9116. # If using run time linking (on AIX 4.2 or later) use lib<name>.so
  9117. # instead of lib<name>.a to let people know that these are not
  9118. # typical AIX shared libraries.
  9119. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  9120. else
  9121. # We preserve .a as extension for shared libraries through AIX4.2
  9122. # and later when we are not doing run time linking.
  9123. library_names_spec='${libname}${release}.a $libname.a'
  9124. soname_spec='${libname}${release}${shared_ext}$major'
  9125. fi
  9126. shlibpath_var=LIBPATH
  9127. fi
  9128. ;;
  9129. amigaos*)
  9130. case $host_cpu in
  9131. powerpc)
  9132. # Since July 2007 AmigaOS4 officially supports .so libraries.
  9133. # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
  9134. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  9135. ;;
  9136. m68k)
  9137. library_names_spec='$libname.ixlibrary $libname.a'
  9138. # Create ${libname}_ixlibrary.a entries in /sys/libs.
  9139. 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'
  9140. ;;
  9141. esac
  9142. ;;
  9143. beos*)
  9144. library_names_spec='${libname}${shared_ext}'
  9145. dynamic_linker="$host_os ld.so"
  9146. shlibpath_var=LIBRARY_PATH
  9147. ;;
  9148. bsdi[45]*)
  9149. version_type=linux
  9150. need_version=no
  9151. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  9152. soname_spec='${libname}${release}${shared_ext}$major'
  9153. finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
  9154. shlibpath_var=LD_LIBRARY_PATH
  9155. sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
  9156. sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
  9157. # the default ld.so.conf also contains /usr/contrib/lib and
  9158. # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
  9159. # libtool to hard-code these into programs
  9160. ;;
  9161. cygwin* | mingw* | pw32* | cegcc*)
  9162. version_type=windows
  9163. shrext_cmds=".dll"
  9164. need_version=no
  9165. need_lib_prefix=no
  9166. case $GCC,$cc_basename in
  9167. yes,*)
  9168. # gcc
  9169. library_names_spec='$libname.dll.a'
  9170. # DLL is installed to $(libdir)/../bin by postinstall_cmds
  9171. postinstall_cmds='base_file=`basename \${file}`~
  9172. dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
  9173. dldir=$destdir/`dirname \$dlpath`~
  9174. test -d \$dldir || mkdir -p \$dldir~
  9175. $install_prog $dir/$dlname \$dldir/$dlname~
  9176. chmod a+x \$dldir/$dlname~
  9177. if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
  9178. eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
  9179. fi'
  9180. postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
  9181. dlpath=$dir/\$dldll~
  9182. $RM \$dlpath'
  9183. shlibpath_overrides_runpath=yes
  9184. case $host_os in
  9185. cygwin*)
  9186. # Cygwin DLLs use 'cyg' prefix rather than 'lib'
  9187. soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  9188. sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
  9189. ;;
  9190. mingw* | cegcc*)
  9191. # MinGW DLLs use traditional 'lib' prefix
  9192. soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  9193. ;;
  9194. pw32*)
  9195. # pw32 DLLs use 'pw' prefix rather than 'lib'
  9196. library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  9197. ;;
  9198. esac
  9199. dynamic_linker='Win32 ld.exe'
  9200. ;;
  9201. *,cl*)
  9202. # Native MSVC
  9203. libname_spec='$name'
  9204. soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  9205. library_names_spec='${libname}.dll.lib'
  9206. case $build_os in
  9207. mingw*)
  9208. sys_lib_search_path_spec=
  9209. lt_save_ifs=$IFS
  9210. IFS=';'
  9211. for lt_path in $LIB
  9212. do
  9213. IFS=$lt_save_ifs
  9214. # Let DOS variable expansion print the short 8.3 style file name.
  9215. lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
  9216. sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
  9217. done
  9218. IFS=$lt_save_ifs
  9219. # Convert to MSYS style.
  9220. sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
  9221. ;;
  9222. cygwin*)
  9223. # Convert to unix form, then to dos form, then back to unix form
  9224. # but this time dos style (no spaces!) so that the unix form looks
  9225. # like /cygdrive/c/PROGRA~1:/cygdr...
  9226. sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
  9227. sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
  9228. sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
  9229. ;;
  9230. *)
  9231. sys_lib_search_path_spec="$LIB"
  9232. if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
  9233. # It is most probably a Windows format PATH.
  9234. sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
  9235. else
  9236. sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
  9237. fi
  9238. # FIXME: find the short name or the path components, as spaces are
  9239. # common. (e.g. "Program Files" -> "PROGRA~1")
  9240. ;;
  9241. esac
  9242. # DLL is installed to $(libdir)/../bin by postinstall_cmds
  9243. postinstall_cmds='base_file=`basename \${file}`~
  9244. dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
  9245. dldir=$destdir/`dirname \$dlpath`~
  9246. test -d \$dldir || mkdir -p \$dldir~
  9247. $install_prog $dir/$dlname \$dldir/$dlname'
  9248. postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
  9249. dlpath=$dir/\$dldll~
  9250. $RM \$dlpath'
  9251. shlibpath_overrides_runpath=yes
  9252. dynamic_linker='Win32 link.exe'
  9253. ;;
  9254. *)
  9255. # Assume MSVC wrapper
  9256. library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
  9257. dynamic_linker='Win32 ld.exe'
  9258. ;;
  9259. esac
  9260. # FIXME: first we should search . and the directory the executable is in
  9261. shlibpath_var=PATH
  9262. ;;
  9263. darwin* | rhapsody*)
  9264. dynamic_linker="$host_os dyld"
  9265. version_type=darwin
  9266. need_lib_prefix=no
  9267. need_version=no
  9268. library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
  9269. soname_spec='${libname}${release}${major}$shared_ext'
  9270. shlibpath_overrides_runpath=yes
  9271. shlibpath_var=DYLD_LIBRARY_PATH
  9272. shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
  9273. sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
  9274. sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
  9275. ;;
  9276. dgux*)
  9277. version_type=linux
  9278. need_lib_prefix=no
  9279. need_version=no
  9280. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
  9281. soname_spec='${libname}${release}${shared_ext}$major'
  9282. shlibpath_var=LD_LIBRARY_PATH
  9283. ;;
  9284. freebsd1*)
  9285. dynamic_linker=no
  9286. ;;
  9287. freebsd* | dragonfly*)
  9288. # DragonFly does not have aout. When/if they implement a new
  9289. # versioning mechanism, adjust this.
  9290. if test -x /usr/bin/objformat; then
  9291. objformat=`/usr/bin/objformat`
  9292. else
  9293. case $host_os in
  9294. freebsd[123]*) objformat=aout ;;
  9295. *) objformat=elf ;;
  9296. esac
  9297. fi
  9298. version_type=freebsd-$objformat
  9299. case $version_type in
  9300. freebsd-elf*)
  9301. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
  9302. need_version=no
  9303. need_lib_prefix=no
  9304. ;;
  9305. freebsd-*)
  9306. library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
  9307. need_version=yes
  9308. ;;
  9309. esac
  9310. shlibpath_var=LD_LIBRARY_PATH
  9311. case $host_os in
  9312. freebsd2*)
  9313. shlibpath_overrides_runpath=yes
  9314. ;;
  9315. freebsd3.[01]* | freebsdelf3.[01]*)
  9316. shlibpath_overrides_runpath=yes
  9317. hardcode_into_libs=yes
  9318. ;;
  9319. freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
  9320. freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
  9321. shlibpath_overrides_runpath=no
  9322. hardcode_into_libs=yes
  9323. ;;
  9324. *) # from 4.6 on, and DragonFly
  9325. shlibpath_overrides_runpath=yes
  9326. hardcode_into_libs=yes
  9327. ;;
  9328. esac
  9329. ;;
  9330. gnu*)
  9331. version_type=linux
  9332. need_lib_prefix=no
  9333. need_version=no
  9334. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
  9335. soname_spec='${libname}${release}${shared_ext}$major'
  9336. shlibpath_var=LD_LIBRARY_PATH
  9337. shlibpath_overrides_runpath=no
  9338. hardcode_into_libs=yes
  9339. ;;
  9340. haiku*)
  9341. version_type=linux
  9342. need_lib_prefix=no
  9343. need_version=no
  9344. dynamic_linker="$host_os runtime_loader"
  9345. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
  9346. soname_spec='${libname}${release}${shared_ext}$major'
  9347. shlibpath_var=LIBRARY_PATH
  9348. shlibpath_overrides_runpath=yes
  9349. sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
  9350. hardcode_into_libs=yes
  9351. ;;
  9352. hpux9* | hpux10* | hpux11*)
  9353. # Give a soname corresponding to the major version so that dld.sl refuses to
  9354. # link against other versions.
  9355. version_type=sunos
  9356. need_lib_prefix=no
  9357. need_version=no
  9358. case $host_cpu in
  9359. ia64*)
  9360. shrext_cmds='.so'
  9361. hardcode_into_libs=yes
  9362. dynamic_linker="$host_os dld.so"
  9363. shlibpath_var=LD_LIBRARY_PATH
  9364. shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  9365. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  9366. soname_spec='${libname}${release}${shared_ext}$major'
  9367. if test "X$HPUX_IA64_MODE" = X32; then
  9368. sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
  9369. else
  9370. sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
  9371. fi
  9372. sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  9373. ;;
  9374. hppa*64*)
  9375. shrext_cmds='.sl'
  9376. hardcode_into_libs=yes
  9377. dynamic_linker="$host_os dld.sl"
  9378. shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
  9379. shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  9380. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  9381. soname_spec='${libname}${release}${shared_ext}$major'
  9382. sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
  9383. sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  9384. ;;
  9385. *)
  9386. shrext_cmds='.sl'
  9387. dynamic_linker="$host_os dld.sl"
  9388. shlibpath_var=SHLIB_PATH
  9389. shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
  9390. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  9391. soname_spec='${libname}${release}${shared_ext}$major'
  9392. ;;
  9393. esac
  9394. # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
  9395. postinstall_cmds='chmod 555 $lib'
  9396. # or fails outright, so override atomically:
  9397. install_override_mode=555
  9398. ;;
  9399. interix[3-9]*)
  9400. version_type=linux
  9401. need_lib_prefix=no
  9402. need_version=no
  9403. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  9404. soname_spec='${libname}${release}${shared_ext}$major'
  9405. dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
  9406. shlibpath_var=LD_LIBRARY_PATH
  9407. shlibpath_overrides_runpath=no
  9408. hardcode_into_libs=yes
  9409. ;;
  9410. irix5* | irix6* | nonstopux*)
  9411. case $host_os in
  9412. nonstopux*) version_type=nonstopux ;;
  9413. *)
  9414. if test "$lt_cv_prog_gnu_ld" = yes; then
  9415. version_type=linux
  9416. else
  9417. version_type=irix
  9418. fi ;;
  9419. esac
  9420. need_lib_prefix=no
  9421. need_version=no
  9422. soname_spec='${libname}${release}${shared_ext}$major'
  9423. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
  9424. case $host_os in
  9425. irix5* | nonstopux*)
  9426. libsuff= shlibsuff=
  9427. ;;
  9428. *)
  9429. case $LD in # libtool.m4 will add one of these switches to LD
  9430. *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
  9431. libsuff= shlibsuff= libmagic=32-bit;;
  9432. *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
  9433. libsuff=32 shlibsuff=N32 libmagic=N32;;
  9434. *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
  9435. libsuff=64 shlibsuff=64 libmagic=64-bit;;
  9436. *) libsuff= shlibsuff= libmagic=never-match;;
  9437. esac
  9438. ;;
  9439. esac
  9440. shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
  9441. shlibpath_overrides_runpath=no
  9442. sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
  9443. sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
  9444. hardcode_into_libs=yes
  9445. ;;
  9446. # No shared lib support for Linux oldld, aout, or coff.
  9447. linux*oldld* | linux*aout* | linux*coff*)
  9448. dynamic_linker=no
  9449. ;;
  9450. # This must be Linux ELF.
  9451. linux* | k*bsd*-gnu | kopensolaris*-gnu)
  9452. version_type=linux
  9453. need_lib_prefix=no
  9454. need_version=no
  9455. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  9456. soname_spec='${libname}${release}${shared_ext}$major'
  9457. finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
  9458. shlibpath_var=LD_LIBRARY_PATH
  9459. shlibpath_overrides_runpath=no
  9460. # Some binutils ld are patched to set DT_RUNPATH
  9461. if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
  9462. $as_echo_n "(cached) " >&6
  9463. else
  9464. lt_cv_shlibpath_overrides_runpath=no
  9465. save_LDFLAGS=$LDFLAGS
  9466. save_libdir=$libdir
  9467. eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
  9468. LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
  9469. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9470. /* end confdefs.h. */
  9471. int
  9472. main ()
  9473. {
  9474. ;
  9475. return 0;
  9476. }
  9477. _ACEOF
  9478. if ac_fn_c_try_link "$LINENO"; then :
  9479. if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
  9480. lt_cv_shlibpath_overrides_runpath=yes
  9481. fi
  9482. fi
  9483. rm -f core conftest.err conftest.$ac_objext \
  9484. conftest$ac_exeext conftest.$ac_ext
  9485. LDFLAGS=$save_LDFLAGS
  9486. libdir=$save_libdir
  9487. fi
  9488. shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
  9489. # This implies no fast_install, which is unacceptable.
  9490. # Some rework will be needed to allow for fast_install
  9491. # before this can be enabled.
  9492. hardcode_into_libs=yes
  9493. # Append ld.so.conf contents to the search path
  9494. if test -f /etc/ld.so.conf; then
  9495. 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' ' '`
  9496. sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
  9497. fi
  9498. # We used to test for /lib/ld.so.1 and disable shared libraries on
  9499. # powerpc, because MkLinux only supported shared libraries with the
  9500. # GNU dynamic linker. Since this was broken with cross compilers,
  9501. # most powerpc-linux boxes support dynamic linking these days and
  9502. # people can always --disable-shared, the test was removed, and we
  9503. # assume the GNU/Linux dynamic linker is in use.
  9504. dynamic_linker='GNU/Linux ld.so'
  9505. ;;
  9506. netbsdelf*-gnu)
  9507. version_type=linux
  9508. need_lib_prefix=no
  9509. need_version=no
  9510. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  9511. soname_spec='${libname}${release}${shared_ext}$major'
  9512. shlibpath_var=LD_LIBRARY_PATH
  9513. shlibpath_overrides_runpath=no
  9514. hardcode_into_libs=yes
  9515. dynamic_linker='NetBSD ld.elf_so'
  9516. ;;
  9517. netbsd*)
  9518. version_type=sunos
  9519. need_lib_prefix=no
  9520. need_version=no
  9521. if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  9522. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  9523. finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  9524. dynamic_linker='NetBSD (a.out) ld.so'
  9525. else
  9526. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  9527. soname_spec='${libname}${release}${shared_ext}$major'
  9528. dynamic_linker='NetBSD ld.elf_so'
  9529. fi
  9530. shlibpath_var=LD_LIBRARY_PATH
  9531. shlibpath_overrides_runpath=yes
  9532. hardcode_into_libs=yes
  9533. ;;
  9534. newsos6)
  9535. version_type=linux
  9536. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  9537. shlibpath_var=LD_LIBRARY_PATH
  9538. shlibpath_overrides_runpath=yes
  9539. ;;
  9540. *nto* | *qnx*)
  9541. version_type=qnx
  9542. need_lib_prefix=no
  9543. need_version=no
  9544. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  9545. soname_spec='${libname}${release}${shared_ext}$major'
  9546. shlibpath_var=LD_LIBRARY_PATH
  9547. shlibpath_overrides_runpath=no
  9548. hardcode_into_libs=yes
  9549. dynamic_linker='ldqnx.so'
  9550. ;;
  9551. openbsd*)
  9552. version_type=sunos
  9553. sys_lib_dlsearch_path_spec="/usr/lib"
  9554. need_lib_prefix=no
  9555. # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
  9556. case $host_os in
  9557. openbsd3.3 | openbsd3.3.*) need_version=yes ;;
  9558. *) need_version=no ;;
  9559. esac
  9560. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  9561. finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  9562. shlibpath_var=LD_LIBRARY_PATH
  9563. if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  9564. case $host_os in
  9565. openbsd2.[89] | openbsd2.[89].*)
  9566. shlibpath_overrides_runpath=no
  9567. ;;
  9568. *)
  9569. shlibpath_overrides_runpath=yes
  9570. ;;
  9571. esac
  9572. else
  9573. shlibpath_overrides_runpath=yes
  9574. fi
  9575. ;;
  9576. os2*)
  9577. libname_spec='$name'
  9578. shrext_cmds=".dll"
  9579. need_lib_prefix=no
  9580. library_names_spec='$libname${shared_ext} $libname.a'
  9581. dynamic_linker='OS/2 ld.exe'
  9582. shlibpath_var=LIBPATH
  9583. ;;
  9584. osf3* | osf4* | osf5*)
  9585. version_type=osf
  9586. need_lib_prefix=no
  9587. need_version=no
  9588. soname_spec='${libname}${release}${shared_ext}$major'
  9589. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  9590. shlibpath_var=LD_LIBRARY_PATH
  9591. sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
  9592. sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
  9593. ;;
  9594. rdos*)
  9595. dynamic_linker=no
  9596. ;;
  9597. solaris*)
  9598. version_type=linux
  9599. need_lib_prefix=no
  9600. need_version=no
  9601. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  9602. soname_spec='${libname}${release}${shared_ext}$major'
  9603. shlibpath_var=LD_LIBRARY_PATH
  9604. shlibpath_overrides_runpath=yes
  9605. hardcode_into_libs=yes
  9606. # ldd complains unless libraries are executable
  9607. postinstall_cmds='chmod +x $lib'
  9608. ;;
  9609. sunos4*)
  9610. version_type=sunos
  9611. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  9612. finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
  9613. shlibpath_var=LD_LIBRARY_PATH
  9614. shlibpath_overrides_runpath=yes
  9615. if test "$with_gnu_ld" = yes; then
  9616. need_lib_prefix=no
  9617. fi
  9618. need_version=yes
  9619. ;;
  9620. sysv4 | sysv4.3*)
  9621. version_type=linux
  9622. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  9623. soname_spec='${libname}${release}${shared_ext}$major'
  9624. shlibpath_var=LD_LIBRARY_PATH
  9625. case $host_vendor in
  9626. sni)
  9627. shlibpath_overrides_runpath=no
  9628. need_lib_prefix=no
  9629. runpath_var=LD_RUN_PATH
  9630. ;;
  9631. siemens)
  9632. need_lib_prefix=no
  9633. ;;
  9634. motorola)
  9635. need_lib_prefix=no
  9636. need_version=no
  9637. shlibpath_overrides_runpath=no
  9638. sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
  9639. ;;
  9640. esac
  9641. ;;
  9642. sysv4*MP*)
  9643. if test -d /usr/nec ;then
  9644. version_type=linux
  9645. library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
  9646. soname_spec='$libname${shared_ext}.$major'
  9647. shlibpath_var=LD_LIBRARY_PATH
  9648. fi
  9649. ;;
  9650. sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  9651. version_type=freebsd-elf
  9652. need_lib_prefix=no
  9653. need_version=no
  9654. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
  9655. soname_spec='${libname}${release}${shared_ext}$major'
  9656. shlibpath_var=LD_LIBRARY_PATH
  9657. shlibpath_overrides_runpath=yes
  9658. hardcode_into_libs=yes
  9659. if test "$with_gnu_ld" = yes; then
  9660. sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
  9661. else
  9662. sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
  9663. case $host_os in
  9664. sco3.2v5*)
  9665. sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
  9666. ;;
  9667. esac
  9668. fi
  9669. sys_lib_dlsearch_path_spec='/usr/lib'
  9670. ;;
  9671. tpf*)
  9672. # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
  9673. version_type=linux
  9674. need_lib_prefix=no
  9675. need_version=no
  9676. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  9677. shlibpath_var=LD_LIBRARY_PATH
  9678. shlibpath_overrides_runpath=no
  9679. hardcode_into_libs=yes
  9680. ;;
  9681. uts4*)
  9682. version_type=linux
  9683. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  9684. soname_spec='${libname}${release}${shared_ext}$major'
  9685. shlibpath_var=LD_LIBRARY_PATH
  9686. ;;
  9687. *)
  9688. dynamic_linker=no
  9689. ;;
  9690. esac
  9691. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
  9692. $as_echo "$dynamic_linker" >&6; }
  9693. test "$dynamic_linker" = no && can_build_shared=no
  9694. variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
  9695. if test "$GCC" = yes; then
  9696. variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
  9697. fi
  9698. if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
  9699. sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
  9700. fi
  9701. if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
  9702. sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
  9703. fi
  9704. { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
  9705. $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
  9706. hardcode_action=
  9707. if test -n "$hardcode_libdir_flag_spec" ||
  9708. test -n "$runpath_var" ||
  9709. test "X$hardcode_automatic" = "Xyes" ; then
  9710. # We can hardcode non-existent directories.
  9711. if test "$hardcode_direct" != no &&
  9712. # If the only mechanism to avoid hardcoding is shlibpath_var, we
  9713. # have to relink, otherwise we might link with an installed library
  9714. # when we should be linking with a yet-to-be-installed one
  9715. ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
  9716. test "$hardcode_minus_L" != no; then
  9717. # Linking always hardcodes the temporary library directory.
  9718. hardcode_action=relink
  9719. else
  9720. # We can link without hardcoding, and we can hardcode nonexisting dirs.
  9721. hardcode_action=immediate
  9722. fi
  9723. else
  9724. # We cannot hardcode anything, or else we can only hardcode existing
  9725. # directories.
  9726. hardcode_action=unsupported
  9727. fi
  9728. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
  9729. $as_echo "$hardcode_action" >&6; }
  9730. if test "$hardcode_action" = relink ||
  9731. test "$inherit_rpath" = yes; then
  9732. # Fast installation is not supported
  9733. enable_fast_install=no
  9734. elif test "$shlibpath_overrides_runpath" = yes ||
  9735. test "$enable_shared" = no; then
  9736. # Fast installation is not necessary
  9737. enable_fast_install=needless
  9738. fi
  9739. if test "x$enable_dlopen" != xyes; then
  9740. enable_dlopen=unknown
  9741. enable_dlopen_self=unknown
  9742. enable_dlopen_self_static=unknown
  9743. else
  9744. lt_cv_dlopen=no
  9745. lt_cv_dlopen_libs=
  9746. case $host_os in
  9747. beos*)
  9748. lt_cv_dlopen="load_add_on"
  9749. lt_cv_dlopen_libs=
  9750. lt_cv_dlopen_self=yes
  9751. ;;
  9752. mingw* | pw32* | cegcc*)
  9753. lt_cv_dlopen="LoadLibrary"
  9754. lt_cv_dlopen_libs=
  9755. ;;
  9756. cygwin*)
  9757. lt_cv_dlopen="dlopen"
  9758. lt_cv_dlopen_libs=
  9759. ;;
  9760. darwin*)
  9761. # if libdl is installed we need to link against it
  9762. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
  9763. $as_echo_n "checking for dlopen in -ldl... " >&6; }
  9764. if ${ac_cv_lib_dl_dlopen+:} false; then :
  9765. $as_echo_n "(cached) " >&6
  9766. else
  9767. ac_check_lib_save_LIBS=$LIBS
  9768. LIBS="-ldl $LIBS"
  9769. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9770. /* end confdefs.h. */
  9771. /* Override any GCC internal prototype to avoid an error.
  9772. Use char because int might match the return type of a GCC
  9773. builtin and then its argument prototype would still apply. */
  9774. #ifdef __cplusplus
  9775. extern "C"
  9776. #endif
  9777. char dlopen ();
  9778. int
  9779. main ()
  9780. {
  9781. return dlopen ();
  9782. ;
  9783. return 0;
  9784. }
  9785. _ACEOF
  9786. if ac_fn_c_try_link "$LINENO"; then :
  9787. ac_cv_lib_dl_dlopen=yes
  9788. else
  9789. ac_cv_lib_dl_dlopen=no
  9790. fi
  9791. rm -f core conftest.err conftest.$ac_objext \
  9792. conftest$ac_exeext conftest.$ac_ext
  9793. LIBS=$ac_check_lib_save_LIBS
  9794. fi
  9795. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
  9796. $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
  9797. if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
  9798. lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
  9799. else
  9800. lt_cv_dlopen="dyld"
  9801. lt_cv_dlopen_libs=
  9802. lt_cv_dlopen_self=yes
  9803. fi
  9804. ;;
  9805. *)
  9806. ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
  9807. if test "x$ac_cv_func_shl_load" = xyes; then :
  9808. lt_cv_dlopen="shl_load"
  9809. else
  9810. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
  9811. $as_echo_n "checking for shl_load in -ldld... " >&6; }
  9812. if ${ac_cv_lib_dld_shl_load+:} false; then :
  9813. $as_echo_n "(cached) " >&6
  9814. else
  9815. ac_check_lib_save_LIBS=$LIBS
  9816. LIBS="-ldld $LIBS"
  9817. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9818. /* end confdefs.h. */
  9819. /* Override any GCC internal prototype to avoid an error.
  9820. Use char because int might match the return type of a GCC
  9821. builtin and then its argument prototype would still apply. */
  9822. #ifdef __cplusplus
  9823. extern "C"
  9824. #endif
  9825. char shl_load ();
  9826. int
  9827. main ()
  9828. {
  9829. return shl_load ();
  9830. ;
  9831. return 0;
  9832. }
  9833. _ACEOF
  9834. if ac_fn_c_try_link "$LINENO"; then :
  9835. ac_cv_lib_dld_shl_load=yes
  9836. else
  9837. ac_cv_lib_dld_shl_load=no
  9838. fi
  9839. rm -f core conftest.err conftest.$ac_objext \
  9840. conftest$ac_exeext conftest.$ac_ext
  9841. LIBS=$ac_check_lib_save_LIBS
  9842. fi
  9843. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
  9844. $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
  9845. if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
  9846. lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
  9847. else
  9848. ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
  9849. if test "x$ac_cv_func_dlopen" = xyes; then :
  9850. lt_cv_dlopen="dlopen"
  9851. else
  9852. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
  9853. $as_echo_n "checking for dlopen in -ldl... " >&6; }
  9854. if ${ac_cv_lib_dl_dlopen+:} false; then :
  9855. $as_echo_n "(cached) " >&6
  9856. else
  9857. ac_check_lib_save_LIBS=$LIBS
  9858. LIBS="-ldl $LIBS"
  9859. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9860. /* end confdefs.h. */
  9861. /* Override any GCC internal prototype to avoid an error.
  9862. Use char because int might match the return type of a GCC
  9863. builtin and then its argument prototype would still apply. */
  9864. #ifdef __cplusplus
  9865. extern "C"
  9866. #endif
  9867. char dlopen ();
  9868. int
  9869. main ()
  9870. {
  9871. return dlopen ();
  9872. ;
  9873. return 0;
  9874. }
  9875. _ACEOF
  9876. if ac_fn_c_try_link "$LINENO"; then :
  9877. ac_cv_lib_dl_dlopen=yes
  9878. else
  9879. ac_cv_lib_dl_dlopen=no
  9880. fi
  9881. rm -f core conftest.err conftest.$ac_objext \
  9882. conftest$ac_exeext conftest.$ac_ext
  9883. LIBS=$ac_check_lib_save_LIBS
  9884. fi
  9885. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
  9886. $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
  9887. if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
  9888. lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
  9889. else
  9890. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
  9891. $as_echo_n "checking for dlopen in -lsvld... " >&6; }
  9892. if ${ac_cv_lib_svld_dlopen+:} false; then :
  9893. $as_echo_n "(cached) " >&6
  9894. else
  9895. ac_check_lib_save_LIBS=$LIBS
  9896. LIBS="-lsvld $LIBS"
  9897. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9898. /* end confdefs.h. */
  9899. /* Override any GCC internal prototype to avoid an error.
  9900. Use char because int might match the return type of a GCC
  9901. builtin and then its argument prototype would still apply. */
  9902. #ifdef __cplusplus
  9903. extern "C"
  9904. #endif
  9905. char dlopen ();
  9906. int
  9907. main ()
  9908. {
  9909. return dlopen ();
  9910. ;
  9911. return 0;
  9912. }
  9913. _ACEOF
  9914. if ac_fn_c_try_link "$LINENO"; then :
  9915. ac_cv_lib_svld_dlopen=yes
  9916. else
  9917. ac_cv_lib_svld_dlopen=no
  9918. fi
  9919. rm -f core conftest.err conftest.$ac_objext \
  9920. conftest$ac_exeext conftest.$ac_ext
  9921. LIBS=$ac_check_lib_save_LIBS
  9922. fi
  9923. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
  9924. $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
  9925. if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
  9926. lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
  9927. else
  9928. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
  9929. $as_echo_n "checking for dld_link in -ldld... " >&6; }
  9930. if ${ac_cv_lib_dld_dld_link+:} false; then :
  9931. $as_echo_n "(cached) " >&6
  9932. else
  9933. ac_check_lib_save_LIBS=$LIBS
  9934. LIBS="-ldld $LIBS"
  9935. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9936. /* end confdefs.h. */
  9937. /* Override any GCC internal prototype to avoid an error.
  9938. Use char because int might match the return type of a GCC
  9939. builtin and then its argument prototype would still apply. */
  9940. #ifdef __cplusplus
  9941. extern "C"
  9942. #endif
  9943. char dld_link ();
  9944. int
  9945. main ()
  9946. {
  9947. return dld_link ();
  9948. ;
  9949. return 0;
  9950. }
  9951. _ACEOF
  9952. if ac_fn_c_try_link "$LINENO"; then :
  9953. ac_cv_lib_dld_dld_link=yes
  9954. else
  9955. ac_cv_lib_dld_dld_link=no
  9956. fi
  9957. rm -f core conftest.err conftest.$ac_objext \
  9958. conftest$ac_exeext conftest.$ac_ext
  9959. LIBS=$ac_check_lib_save_LIBS
  9960. fi
  9961. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
  9962. $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
  9963. if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
  9964. lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
  9965. fi
  9966. fi
  9967. fi
  9968. fi
  9969. fi
  9970. fi
  9971. ;;
  9972. esac
  9973. if test "x$lt_cv_dlopen" != xno; then
  9974. enable_dlopen=yes
  9975. else
  9976. enable_dlopen=no
  9977. fi
  9978. case $lt_cv_dlopen in
  9979. dlopen)
  9980. save_CPPFLAGS="$CPPFLAGS"
  9981. test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
  9982. save_LDFLAGS="$LDFLAGS"
  9983. wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
  9984. save_LIBS="$LIBS"
  9985. LIBS="$lt_cv_dlopen_libs $LIBS"
  9986. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
  9987. $as_echo_n "checking whether a program can dlopen itself... " >&6; }
  9988. if ${lt_cv_dlopen_self+:} false; then :
  9989. $as_echo_n "(cached) " >&6
  9990. else
  9991. if test "$cross_compiling" = yes; then :
  9992. lt_cv_dlopen_self=cross
  9993. else
  9994. lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
  9995. lt_status=$lt_dlunknown
  9996. cat > conftest.$ac_ext <<_LT_EOF
  9997. #line $LINENO "configure"
  9998. #include "confdefs.h"
  9999. #if HAVE_DLFCN_H
  10000. #include <dlfcn.h>
  10001. #endif
  10002. #include <stdio.h>
  10003. #ifdef RTLD_GLOBAL
  10004. # define LT_DLGLOBAL RTLD_GLOBAL
  10005. #else
  10006. # ifdef DL_GLOBAL
  10007. # define LT_DLGLOBAL DL_GLOBAL
  10008. # else
  10009. # define LT_DLGLOBAL 0
  10010. # endif
  10011. #endif
  10012. /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
  10013. find out it does not work in some platform. */
  10014. #ifndef LT_DLLAZY_OR_NOW
  10015. # ifdef RTLD_LAZY
  10016. # define LT_DLLAZY_OR_NOW RTLD_LAZY
  10017. # else
  10018. # ifdef DL_LAZY
  10019. # define LT_DLLAZY_OR_NOW DL_LAZY
  10020. # else
  10021. # ifdef RTLD_NOW
  10022. # define LT_DLLAZY_OR_NOW RTLD_NOW
  10023. # else
  10024. # ifdef DL_NOW
  10025. # define LT_DLLAZY_OR_NOW DL_NOW
  10026. # else
  10027. # define LT_DLLAZY_OR_NOW 0
  10028. # endif
  10029. # endif
  10030. # endif
  10031. # endif
  10032. #endif
  10033. /* When -fvisbility=hidden is used, assume the code has been annotated
  10034. correspondingly for the symbols needed. */
  10035. #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
  10036. int fnord () __attribute__((visibility("default")));
  10037. #endif
  10038. int fnord () { return 42; }
  10039. int main ()
  10040. {
  10041. void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
  10042. int status = $lt_dlunknown;
  10043. if (self)
  10044. {
  10045. if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
  10046. else
  10047. {
  10048. if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
  10049. else puts (dlerror ());
  10050. }
  10051. /* dlclose (self); */
  10052. }
  10053. else
  10054. puts (dlerror ());
  10055. return status;
  10056. }
  10057. _LT_EOF
  10058. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  10059. (eval $ac_link) 2>&5
  10060. ac_status=$?
  10061. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  10062. test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
  10063. (./conftest; exit; ) >&5 2>/dev/null
  10064. lt_status=$?
  10065. case x$lt_status in
  10066. x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
  10067. x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
  10068. x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
  10069. esac
  10070. else :
  10071. # compilation failed
  10072. lt_cv_dlopen_self=no
  10073. fi
  10074. fi
  10075. rm -fr conftest*
  10076. fi
  10077. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
  10078. $as_echo "$lt_cv_dlopen_self" >&6; }
  10079. if test "x$lt_cv_dlopen_self" = xyes; then
  10080. wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
  10081. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
  10082. $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
  10083. if ${lt_cv_dlopen_self_static+:} false; then :
  10084. $as_echo_n "(cached) " >&6
  10085. else
  10086. if test "$cross_compiling" = yes; then :
  10087. lt_cv_dlopen_self_static=cross
  10088. else
  10089. lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
  10090. lt_status=$lt_dlunknown
  10091. cat > conftest.$ac_ext <<_LT_EOF
  10092. #line $LINENO "configure"
  10093. #include "confdefs.h"
  10094. #if HAVE_DLFCN_H
  10095. #include <dlfcn.h>
  10096. #endif
  10097. #include <stdio.h>
  10098. #ifdef RTLD_GLOBAL
  10099. # define LT_DLGLOBAL RTLD_GLOBAL
  10100. #else
  10101. # ifdef DL_GLOBAL
  10102. # define LT_DLGLOBAL DL_GLOBAL
  10103. # else
  10104. # define LT_DLGLOBAL 0
  10105. # endif
  10106. #endif
  10107. /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
  10108. find out it does not work in some platform. */
  10109. #ifndef LT_DLLAZY_OR_NOW
  10110. # ifdef RTLD_LAZY
  10111. # define LT_DLLAZY_OR_NOW RTLD_LAZY
  10112. # else
  10113. # ifdef DL_LAZY
  10114. # define LT_DLLAZY_OR_NOW DL_LAZY
  10115. # else
  10116. # ifdef RTLD_NOW
  10117. # define LT_DLLAZY_OR_NOW RTLD_NOW
  10118. # else
  10119. # ifdef DL_NOW
  10120. # define LT_DLLAZY_OR_NOW DL_NOW
  10121. # else
  10122. # define LT_DLLAZY_OR_NOW 0
  10123. # endif
  10124. # endif
  10125. # endif
  10126. # endif
  10127. #endif
  10128. /* When -fvisbility=hidden is used, assume the code has been annotated
  10129. correspondingly for the symbols needed. */
  10130. #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
  10131. int fnord () __attribute__((visibility("default")));
  10132. #endif
  10133. int fnord () { return 42; }
  10134. int main ()
  10135. {
  10136. void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
  10137. int status = $lt_dlunknown;
  10138. if (self)
  10139. {
  10140. if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
  10141. else
  10142. {
  10143. if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
  10144. else puts (dlerror ());
  10145. }
  10146. /* dlclose (self); */
  10147. }
  10148. else
  10149. puts (dlerror ());
  10150. return status;
  10151. }
  10152. _LT_EOF
  10153. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  10154. (eval $ac_link) 2>&5
  10155. ac_status=$?
  10156. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  10157. test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
  10158. (./conftest; exit; ) >&5 2>/dev/null
  10159. lt_status=$?
  10160. case x$lt_status in
  10161. x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
  10162. x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
  10163. x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
  10164. esac
  10165. else :
  10166. # compilation failed
  10167. lt_cv_dlopen_self_static=no
  10168. fi
  10169. fi
  10170. rm -fr conftest*
  10171. fi
  10172. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
  10173. $as_echo "$lt_cv_dlopen_self_static" >&6; }
  10174. fi
  10175. CPPFLAGS="$save_CPPFLAGS"
  10176. LDFLAGS="$save_LDFLAGS"
  10177. LIBS="$save_LIBS"
  10178. ;;
  10179. esac
  10180. case $lt_cv_dlopen_self in
  10181. yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
  10182. *) enable_dlopen_self=unknown ;;
  10183. esac
  10184. case $lt_cv_dlopen_self_static in
  10185. yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
  10186. *) enable_dlopen_self_static=unknown ;;
  10187. esac
  10188. fi
  10189. striplib=
  10190. old_striplib=
  10191. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
  10192. $as_echo_n "checking whether stripping libraries is possible... " >&6; }
  10193. if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
  10194. test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
  10195. test -z "$striplib" && striplib="$STRIP --strip-unneeded"
  10196. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  10197. $as_echo "yes" >&6; }
  10198. else
  10199. # FIXME - insert some real tests, host_os isn't really good enough
  10200. case $host_os in
  10201. darwin*)
  10202. if test -n "$STRIP" ; then
  10203. striplib="$STRIP -x"
  10204. old_striplib="$STRIP -S"
  10205. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  10206. $as_echo "yes" >&6; }
  10207. else
  10208. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  10209. $as_echo "no" >&6; }
  10210. fi
  10211. ;;
  10212. *)
  10213. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  10214. $as_echo "no" >&6; }
  10215. ;;
  10216. esac
  10217. fi
  10218. # Report which library types will actually be built
  10219. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
  10220. $as_echo_n "checking if libtool supports shared libraries... " >&6; }
  10221. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
  10222. $as_echo "$can_build_shared" >&6; }
  10223. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
  10224. $as_echo_n "checking whether to build shared libraries... " >&6; }
  10225. test "$can_build_shared" = "no" && enable_shared=no
  10226. # On AIX, shared libraries and static libraries use the same namespace, and
  10227. # are all built from PIC.
  10228. case $host_os in
  10229. aix3*)
  10230. test "$enable_shared" = yes && enable_static=no
  10231. if test -n "$RANLIB"; then
  10232. archive_cmds="$archive_cmds~\$RANLIB \$lib"
  10233. postinstall_cmds='$RANLIB $lib'
  10234. fi
  10235. ;;
  10236. aix[4-9]*)
  10237. if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
  10238. test "$enable_shared" = yes && enable_static=no
  10239. fi
  10240. ;;
  10241. esac
  10242. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
  10243. $as_echo "$enable_shared" >&6; }
  10244. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
  10245. $as_echo_n "checking whether to build static libraries... " >&6; }
  10246. # Make sure either enable_shared or enable_static is yes.
  10247. test "$enable_shared" = yes || enable_static=yes
  10248. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
  10249. $as_echo "$enable_static" >&6; }
  10250. fi
  10251. ac_ext=cpp
  10252. ac_cpp='$CXXCPP $CPPFLAGS'
  10253. ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  10254. ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  10255. ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  10256. CC="$lt_save_CC"
  10257. if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
  10258. ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
  10259. (test "X$CXX" != "Xg++"))) ; then
  10260. ac_ext=cpp
  10261. ac_cpp='$CXXCPP $CPPFLAGS'
  10262. ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  10263. ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  10264. ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  10265. { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
  10266. $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
  10267. if test -z "$CXXCPP"; then
  10268. if ${ac_cv_prog_CXXCPP+:} false; then :
  10269. $as_echo_n "(cached) " >&6
  10270. else
  10271. # Double quotes because CXXCPP needs to be expanded
  10272. for CXXCPP in "$CXX -E" "/lib/cpp"
  10273. do
  10274. ac_preproc_ok=false
  10275. for ac_cxx_preproc_warn_flag in '' yes
  10276. do
  10277. # Use a header file that comes with gcc, so configuring glibc
  10278. # with a fresh cross-compiler works.
  10279. # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  10280. # <limits.h> exists even on freestanding compilers.
  10281. # On the NeXT, cc -E runs the code through the compiler's parser,
  10282. # not just through cpp. "Syntax error" is here to catch this case.
  10283. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10284. /* end confdefs.h. */
  10285. #ifdef __STDC__
  10286. # include <limits.h>
  10287. #else
  10288. # include <assert.h>
  10289. #endif
  10290. Syntax error
  10291. _ACEOF
  10292. if ac_fn_cxx_try_cpp "$LINENO"; then :
  10293. else
  10294. # Broken: fails on valid input.
  10295. continue
  10296. fi
  10297. rm -f conftest.err conftest.i conftest.$ac_ext
  10298. # OK, works on sane cases. Now check whether nonexistent headers
  10299. # can be detected and how.
  10300. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10301. /* end confdefs.h. */
  10302. #include <ac_nonexistent.h>
  10303. _ACEOF
  10304. if ac_fn_cxx_try_cpp "$LINENO"; then :
  10305. # Broken: success on invalid input.
  10306. continue
  10307. else
  10308. # Passes both tests.
  10309. ac_preproc_ok=:
  10310. break
  10311. fi
  10312. rm -f conftest.err conftest.i conftest.$ac_ext
  10313. done
  10314. # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  10315. rm -f conftest.i conftest.err conftest.$ac_ext
  10316. if $ac_preproc_ok; then :
  10317. break
  10318. fi
  10319. done
  10320. ac_cv_prog_CXXCPP=$CXXCPP
  10321. fi
  10322. CXXCPP=$ac_cv_prog_CXXCPP
  10323. else
  10324. ac_cv_prog_CXXCPP=$CXXCPP
  10325. fi
  10326. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
  10327. $as_echo "$CXXCPP" >&6; }
  10328. ac_preproc_ok=false
  10329. for ac_cxx_preproc_warn_flag in '' yes
  10330. do
  10331. # Use a header file that comes with gcc, so configuring glibc
  10332. # with a fresh cross-compiler works.
  10333. # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  10334. # <limits.h> exists even on freestanding compilers.
  10335. # On the NeXT, cc -E runs the code through the compiler's parser,
  10336. # not just through cpp. "Syntax error" is here to catch this case.
  10337. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10338. /* end confdefs.h. */
  10339. #ifdef __STDC__
  10340. # include <limits.h>
  10341. #else
  10342. # include <assert.h>
  10343. #endif
  10344. Syntax error
  10345. _ACEOF
  10346. if ac_fn_cxx_try_cpp "$LINENO"; then :
  10347. else
  10348. # Broken: fails on valid input.
  10349. continue
  10350. fi
  10351. rm -f conftest.err conftest.i conftest.$ac_ext
  10352. # OK, works on sane cases. Now check whether nonexistent headers
  10353. # can be detected and how.
  10354. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10355. /* end confdefs.h. */
  10356. #include <ac_nonexistent.h>
  10357. _ACEOF
  10358. if ac_fn_cxx_try_cpp "$LINENO"; then :
  10359. # Broken: success on invalid input.
  10360. continue
  10361. else
  10362. # Passes both tests.
  10363. ac_preproc_ok=:
  10364. break
  10365. fi
  10366. rm -f conftest.err conftest.i conftest.$ac_ext
  10367. done
  10368. # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  10369. rm -f conftest.i conftest.err conftest.$ac_ext
  10370. if $ac_preproc_ok; then :
  10371. else
  10372. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  10373. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  10374. as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
  10375. See \`config.log' for more details" "$LINENO" 5; }
  10376. fi
  10377. ac_ext=cpp
  10378. ac_cpp='$CXXCPP $CPPFLAGS'
  10379. ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  10380. ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  10381. ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  10382. else
  10383. _lt_caught_CXX_error=yes
  10384. fi
  10385. ac_ext=cpp
  10386. ac_cpp='$CXXCPP $CPPFLAGS'
  10387. ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  10388. ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  10389. ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  10390. archive_cmds_need_lc_CXX=no
  10391. allow_undefined_flag_CXX=
  10392. always_export_symbols_CXX=no
  10393. archive_expsym_cmds_CXX=
  10394. compiler_needs_object_CXX=no
  10395. export_dynamic_flag_spec_CXX=
  10396. hardcode_direct_CXX=no
  10397. hardcode_direct_absolute_CXX=no
  10398. hardcode_libdir_flag_spec_CXX=
  10399. hardcode_libdir_flag_spec_ld_CXX=
  10400. hardcode_libdir_separator_CXX=
  10401. hardcode_minus_L_CXX=no
  10402. hardcode_shlibpath_var_CXX=unsupported
  10403. hardcode_automatic_CXX=no
  10404. inherit_rpath_CXX=no
  10405. module_cmds_CXX=
  10406. module_expsym_cmds_CXX=
  10407. link_all_deplibs_CXX=unknown
  10408. old_archive_cmds_CXX=$old_archive_cmds
  10409. reload_flag_CXX=$reload_flag
  10410. reload_cmds_CXX=$reload_cmds
  10411. no_undefined_flag_CXX=
  10412. whole_archive_flag_spec_CXX=
  10413. enable_shared_with_static_runtimes_CXX=no
  10414. # Source file extension for C++ test sources.
  10415. ac_ext=cpp
  10416. # Object file extension for compiled C++ test sources.
  10417. objext=o
  10418. objext_CXX=$objext
  10419. # No sense in running all these tests if we already determined that
  10420. # the CXX compiler isn't working. Some variables (like enable_shared)
  10421. # are currently assumed to apply to all compilers on this platform,
  10422. # and will be corrupted by setting them based on a non-working compiler.
  10423. if test "$_lt_caught_CXX_error" != yes; then
  10424. # Code to be used in simple compile tests
  10425. lt_simple_compile_test_code="int some_variable = 0;"
  10426. # Code to be used in simple link tests
  10427. lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
  10428. # ltmain only uses $CC for tagged configurations so make sure $CC is set.
  10429. # If no C compiler was specified, use CC.
  10430. LTCC=${LTCC-"$CC"}
  10431. # If no C compiler flags were specified, use CFLAGS.
  10432. LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
  10433. # Allow CC to be a program name with arguments.
  10434. compiler=$CC
  10435. # save warnings/boilerplate of simple test code
  10436. ac_outfile=conftest.$ac_objext
  10437. echo "$lt_simple_compile_test_code" >conftest.$ac_ext
  10438. eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  10439. _lt_compiler_boilerplate=`cat conftest.err`
  10440. $RM conftest*
  10441. ac_outfile=conftest.$ac_objext
  10442. echo "$lt_simple_link_test_code" >conftest.$ac_ext
  10443. eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  10444. _lt_linker_boilerplate=`cat conftest.err`
  10445. $RM -r conftest*
  10446. # Allow CC to be a program name with arguments.
  10447. lt_save_CC=$CC
  10448. lt_save_CFLAGS=$CFLAGS
  10449. lt_save_LD=$LD
  10450. lt_save_GCC=$GCC
  10451. GCC=$GXX
  10452. lt_save_with_gnu_ld=$with_gnu_ld
  10453. lt_save_path_LD=$lt_cv_path_LD
  10454. if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
  10455. lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
  10456. else
  10457. $as_unset lt_cv_prog_gnu_ld
  10458. fi
  10459. if test -n "${lt_cv_path_LDCXX+set}"; then
  10460. lt_cv_path_LD=$lt_cv_path_LDCXX
  10461. else
  10462. $as_unset lt_cv_path_LD
  10463. fi
  10464. test -z "${LDCXX+set}" || LD=$LDCXX
  10465. CC=${CXX-"c++"}
  10466. CFLAGS=$CXXFLAGS
  10467. compiler=$CC
  10468. compiler_CXX=$CC
  10469. for cc_temp in $compiler""; do
  10470. case $cc_temp in
  10471. compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
  10472. distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
  10473. \-*) ;;
  10474. *) break;;
  10475. esac
  10476. done
  10477. cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
  10478. if test -n "$compiler"; then
  10479. # We don't want -fno-exception when compiling C++ code, so set the
  10480. # no_builtin_flag separately
  10481. if test "$GXX" = yes; then
  10482. lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
  10483. else
  10484. lt_prog_compiler_no_builtin_flag_CXX=
  10485. fi
  10486. if test "$GXX" = yes; then
  10487. # Set up default GNU C++ configuration
  10488. # Check whether --with-gnu-ld was given.
  10489. if test "${with_gnu_ld+set}" = set; then :
  10490. withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
  10491. else
  10492. with_gnu_ld=no
  10493. fi
  10494. ac_prog=ld
  10495. if test "$GCC" = yes; then
  10496. # Check if gcc -print-prog-name=ld gives a path.
  10497. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
  10498. $as_echo_n "checking for ld used by $CC... " >&6; }
  10499. case $host in
  10500. *-*-mingw*)
  10501. # gcc leaves a trailing carriage return which upsets mingw
  10502. ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
  10503. *)
  10504. ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
  10505. esac
  10506. case $ac_prog in
  10507. # Accept absolute paths.
  10508. [\\/]* | ?:[\\/]*)
  10509. re_direlt='/[^/][^/]*/\.\./'
  10510. # Canonicalize the pathname of ld
  10511. ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
  10512. while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
  10513. ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
  10514. done
  10515. test -z "$LD" && LD="$ac_prog"
  10516. ;;
  10517. "")
  10518. # If it fails, then pretend we aren't using GCC.
  10519. ac_prog=ld
  10520. ;;
  10521. *)
  10522. # If it is relative, then search for the first ld in PATH.
  10523. with_gnu_ld=unknown
  10524. ;;
  10525. esac
  10526. elif test "$with_gnu_ld" = yes; then
  10527. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
  10528. $as_echo_n "checking for GNU ld... " >&6; }
  10529. else
  10530. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
  10531. $as_echo_n "checking for non-GNU ld... " >&6; }
  10532. fi
  10533. if ${lt_cv_path_LD+:} false; then :
  10534. $as_echo_n "(cached) " >&6
  10535. else
  10536. if test -z "$LD"; then
  10537. lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  10538. for ac_dir in $PATH; do
  10539. IFS="$lt_save_ifs"
  10540. test -z "$ac_dir" && ac_dir=.
  10541. if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
  10542. lt_cv_path_LD="$ac_dir/$ac_prog"
  10543. # Check to see if the program is GNU ld. I'd rather use --version,
  10544. # but apparently some variants of GNU ld only accept -v.
  10545. # Break only if it was the GNU/non-GNU ld that we prefer.
  10546. case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
  10547. *GNU* | *'with BFD'*)
  10548. test "$with_gnu_ld" != no && break
  10549. ;;
  10550. *)
  10551. test "$with_gnu_ld" != yes && break
  10552. ;;
  10553. esac
  10554. fi
  10555. done
  10556. IFS="$lt_save_ifs"
  10557. else
  10558. lt_cv_path_LD="$LD" # Let the user override the test with a path.
  10559. fi
  10560. fi
  10561. LD="$lt_cv_path_LD"
  10562. if test -n "$LD"; then
  10563. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
  10564. $as_echo "$LD" >&6; }
  10565. else
  10566. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  10567. $as_echo "no" >&6; }
  10568. fi
  10569. test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
  10570. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
  10571. $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
  10572. if ${lt_cv_prog_gnu_ld+:} false; then :
  10573. $as_echo_n "(cached) " >&6
  10574. else
  10575. # I'd rather use --version here, but apparently some GNU lds only accept -v.
  10576. case `$LD -v 2>&1 </dev/null` in
  10577. *GNU* | *'with BFD'*)
  10578. lt_cv_prog_gnu_ld=yes
  10579. ;;
  10580. *)
  10581. lt_cv_prog_gnu_ld=no
  10582. ;;
  10583. esac
  10584. fi
  10585. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
  10586. $as_echo "$lt_cv_prog_gnu_ld" >&6; }
  10587. with_gnu_ld=$lt_cv_prog_gnu_ld
  10588. # Check if GNU C++ uses GNU ld as the underlying linker, since the
  10589. # archiving commands below assume that GNU ld is being used.
  10590. if test "$with_gnu_ld" = yes; then
  10591. archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
  10592. 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'
  10593. hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
  10594. export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
  10595. # If archive_cmds runs LD, not CC, wlarc should be empty
  10596. # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
  10597. # investigate it a little bit more. (MM)
  10598. wlarc='${wl}'
  10599. # ancient GNU ld didn't support --whole-archive et. al.
  10600. if eval "`$CC -print-prog-name=ld` --help 2>&1" |
  10601. $GREP 'no-whole-archive' > /dev/null; then
  10602. whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
  10603. else
  10604. whole_archive_flag_spec_CXX=
  10605. fi
  10606. else
  10607. with_gnu_ld=no
  10608. wlarc=
  10609. # A generic and very simple default shared library creation
  10610. # command for GNU C++ for the case where it uses the native
  10611. # linker, instead of GNU ld. If possible, this setting should
  10612. # overridden to take advantage of the native linker features on
  10613. # the platform it is being used on.
  10614. archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
  10615. fi
  10616. # Commands to make compiler produce verbose output that lists
  10617. # what "hidden" libraries, object files and flags are used when
  10618. # linking a shared library.
  10619. output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
  10620. else
  10621. GXX=no
  10622. with_gnu_ld=no
  10623. wlarc=
  10624. fi
  10625. # PORTME: fill in a description of your system's C++ link characteristics
  10626. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
  10627. $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
  10628. ld_shlibs_CXX=yes
  10629. case $host_os in
  10630. aix3*)
  10631. # FIXME: insert proper C++ library support
  10632. ld_shlibs_CXX=no
  10633. ;;
  10634. aix[4-9]*)
  10635. if test "$host_cpu" = ia64; then
  10636. # On IA64, the linker does run time linking by default, so we don't
  10637. # have to do anything special.
  10638. aix_use_runtimelinking=no
  10639. exp_sym_flag='-Bexport'
  10640. no_entry_flag=""
  10641. else
  10642. aix_use_runtimelinking=no
  10643. # Test if we are trying to use run time linking or normal
  10644. # AIX style linking. If -brtl is somewhere in LDFLAGS, we
  10645. # need to do runtime linking.
  10646. case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
  10647. for ld_flag in $LDFLAGS; do
  10648. case $ld_flag in
  10649. *-brtl*)
  10650. aix_use_runtimelinking=yes
  10651. break
  10652. ;;
  10653. esac
  10654. done
  10655. ;;
  10656. esac
  10657. exp_sym_flag='-bexport'
  10658. no_entry_flag='-bnoentry'
  10659. fi
  10660. # When large executables or shared objects are built, AIX ld can
  10661. # have problems creating the table of contents. If linking a library
  10662. # or program results in "error TOC overflow" add -mminimal-toc to
  10663. # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
  10664. # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
  10665. archive_cmds_CXX=''
  10666. hardcode_direct_CXX=yes
  10667. hardcode_direct_absolute_CXX=yes
  10668. hardcode_libdir_separator_CXX=':'
  10669. link_all_deplibs_CXX=yes
  10670. file_list_spec_CXX='${wl}-f,'
  10671. if test "$GXX" = yes; then
  10672. case $host_os in aix4.[012]|aix4.[012].*)
  10673. # We only want to do this on AIX 4.2 and lower, the check
  10674. # below for broken collect2 doesn't work under 4.3+
  10675. collect2name=`${CC} -print-prog-name=collect2`
  10676. if test -f "$collect2name" &&
  10677. strings "$collect2name" | $GREP resolve_lib_name >/dev/null
  10678. then
  10679. # We have reworked collect2
  10680. :
  10681. else
  10682. # We have old collect2
  10683. hardcode_direct_CXX=unsupported
  10684. # It fails to find uninstalled libraries when the uninstalled
  10685. # path is not listed in the libpath. Setting hardcode_minus_L
  10686. # to unsupported forces relinking
  10687. hardcode_minus_L_CXX=yes
  10688. hardcode_libdir_flag_spec_CXX='-L$libdir'
  10689. hardcode_libdir_separator_CXX=
  10690. fi
  10691. esac
  10692. shared_flag='-shared'
  10693. if test "$aix_use_runtimelinking" = yes; then
  10694. shared_flag="$shared_flag "'${wl}-G'
  10695. fi
  10696. else
  10697. # not using gcc
  10698. if test "$host_cpu" = ia64; then
  10699. # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
  10700. # chokes on -Wl,-G. The following line is correct:
  10701. shared_flag='-G'
  10702. else
  10703. if test "$aix_use_runtimelinking" = yes; then
  10704. shared_flag='${wl}-G'
  10705. else
  10706. shared_flag='${wl}-bM:SRE'
  10707. fi
  10708. fi
  10709. fi
  10710. export_dynamic_flag_spec_CXX='${wl}-bexpall'
  10711. # It seems that -bexpall does not export symbols beginning with
  10712. # underscore (_), so it is better to generate a list of symbols to
  10713. # export.
  10714. always_export_symbols_CXX=yes
  10715. if test "$aix_use_runtimelinking" = yes; then
  10716. # Warning - without using the other runtime loading flags (-brtl),
  10717. # -berok will link without error, but may produce a broken library.
  10718. allow_undefined_flag_CXX='-berok'
  10719. # Determine the default libpath from the value encoded in an empty
  10720. # executable.
  10721. if test "${lt_cv_aix_libpath+set}" = set; then
  10722. aix_libpath=$lt_cv_aix_libpath
  10723. else
  10724. if ${lt_cv_aix_libpath__CXX+:} false; then :
  10725. $as_echo_n "(cached) " >&6
  10726. else
  10727. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10728. /* end confdefs.h. */
  10729. int
  10730. main ()
  10731. {
  10732. ;
  10733. return 0;
  10734. }
  10735. _ACEOF
  10736. if ac_fn_cxx_try_link "$LINENO"; then :
  10737. lt_aix_libpath_sed='
  10738. /Import File Strings/,/^$/ {
  10739. /^0/ {
  10740. s/^0 *\([^ ]*\) *$/\1/
  10741. p
  10742. }
  10743. }'
  10744. lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  10745. # Check for a 64-bit object if we didn't find anything.
  10746. if test -z "$lt_cv_aix_libpath__CXX"; then
  10747. lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  10748. fi
  10749. fi
  10750. rm -f core conftest.err conftest.$ac_objext \
  10751. conftest$ac_exeext conftest.$ac_ext
  10752. if test -z "$lt_cv_aix_libpath__CXX"; then
  10753. lt_cv_aix_libpath__CXX="/usr/lib:/lib"
  10754. fi
  10755. fi
  10756. aix_libpath=$lt_cv_aix_libpath__CXX
  10757. fi
  10758. hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
  10759. 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"
  10760. else
  10761. if test "$host_cpu" = ia64; then
  10762. hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
  10763. allow_undefined_flag_CXX="-z nodefs"
  10764. 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"
  10765. else
  10766. # Determine the default libpath from the value encoded in an
  10767. # empty executable.
  10768. if test "${lt_cv_aix_libpath+set}" = set; then
  10769. aix_libpath=$lt_cv_aix_libpath
  10770. else
  10771. if ${lt_cv_aix_libpath__CXX+:} false; then :
  10772. $as_echo_n "(cached) " >&6
  10773. else
  10774. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10775. /* end confdefs.h. */
  10776. int
  10777. main ()
  10778. {
  10779. ;
  10780. return 0;
  10781. }
  10782. _ACEOF
  10783. if ac_fn_cxx_try_link "$LINENO"; then :
  10784. lt_aix_libpath_sed='
  10785. /Import File Strings/,/^$/ {
  10786. /^0/ {
  10787. s/^0 *\([^ ]*\) *$/\1/
  10788. p
  10789. }
  10790. }'
  10791. lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  10792. # Check for a 64-bit object if we didn't find anything.
  10793. if test -z "$lt_cv_aix_libpath__CXX"; then
  10794. lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  10795. fi
  10796. fi
  10797. rm -f core conftest.err conftest.$ac_objext \
  10798. conftest$ac_exeext conftest.$ac_ext
  10799. if test -z "$lt_cv_aix_libpath__CXX"; then
  10800. lt_cv_aix_libpath__CXX="/usr/lib:/lib"
  10801. fi
  10802. fi
  10803. aix_libpath=$lt_cv_aix_libpath__CXX
  10804. fi
  10805. hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
  10806. # Warning - without using the other run time loading flags,
  10807. # -berok will link without error, but may produce a broken library.
  10808. no_undefined_flag_CXX=' ${wl}-bernotok'
  10809. allow_undefined_flag_CXX=' ${wl}-berok'
  10810. if test "$with_gnu_ld" = yes; then
  10811. # We only use this code for GNU lds that support --whole-archive.
  10812. whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
  10813. else
  10814. # Exported symbols can be pulled into shared objects from archives
  10815. whole_archive_flag_spec_CXX='$convenience'
  10816. fi
  10817. archive_cmds_need_lc_CXX=yes
  10818. # This is similar to how AIX traditionally builds its shared
  10819. # libraries.
  10820. 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'
  10821. fi
  10822. fi
  10823. ;;
  10824. beos*)
  10825. if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  10826. allow_undefined_flag_CXX=unsupported
  10827. # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
  10828. # support --undefined. This deserves some investigation. FIXME
  10829. archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  10830. else
  10831. ld_shlibs_CXX=no
  10832. fi
  10833. ;;
  10834. chorus*)
  10835. case $cc_basename in
  10836. *)
  10837. # FIXME: insert proper C++ library support
  10838. ld_shlibs_CXX=no
  10839. ;;
  10840. esac
  10841. ;;
  10842. cygwin* | mingw* | pw32* | cegcc*)
  10843. case $GXX,$cc_basename in
  10844. ,cl* | no,cl*)
  10845. # Native MSVC
  10846. # hardcode_libdir_flag_spec is actually meaningless, as there is
  10847. # no search path for DLLs.
  10848. hardcode_libdir_flag_spec_CXX=' '
  10849. allow_undefined_flag_CXX=unsupported
  10850. always_export_symbols_CXX=yes
  10851. file_list_spec_CXX='@'
  10852. # Tell ltmain to make .lib files, not .a files.
  10853. libext=lib
  10854. # Tell ltmain to make .dll files, not .so files.
  10855. shrext_cmds=".dll"
  10856. # FIXME: Setting linknames here is a bad hack.
  10857. archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
  10858. archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
  10859. $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
  10860. else
  10861. $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
  10862. fi~
  10863. $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
  10864. linknames='
  10865. # The linker will not automatically build a static lib if we build a DLL.
  10866. # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
  10867. enable_shared_with_static_runtimes_CXX=yes
  10868. # Don't use ranlib
  10869. old_postinstall_cmds_CXX='chmod 644 $oldlib'
  10870. postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
  10871. lt_tool_outputfile="@TOOL_OUTPUT@"~
  10872. case $lt_outputfile in
  10873. *.exe|*.EXE) ;;
  10874. *)
  10875. lt_outputfile="$lt_outputfile.exe"
  10876. lt_tool_outputfile="$lt_tool_outputfile.exe"
  10877. ;;
  10878. esac~
  10879. func_to_tool_file "$lt_outputfile"~
  10880. if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
  10881. $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
  10882. $RM "$lt_outputfile.manifest";
  10883. fi'
  10884. ;;
  10885. *)
  10886. # g++
  10887. # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
  10888. # as there is no search path for DLLs.
  10889. hardcode_libdir_flag_spec_CXX='-L$libdir'
  10890. export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
  10891. allow_undefined_flag_CXX=unsupported
  10892. always_export_symbols_CXX=no
  10893. enable_shared_with_static_runtimes_CXX=yes
  10894. if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
  10895. 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'
  10896. # If the export-symbols file already is a .def file (1st line
  10897. # is EXPORTS), use it as is; otherwise, prepend...
  10898. archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
  10899. cp $export_symbols $output_objdir/$soname.def;
  10900. else
  10901. echo EXPORTS > $output_objdir/$soname.def;
  10902. cat $export_symbols >> $output_objdir/$soname.def;
  10903. fi~
  10904. $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'
  10905. else
  10906. ld_shlibs_CXX=no
  10907. fi
  10908. ;;
  10909. esac
  10910. ;;
  10911. darwin* | rhapsody*)
  10912. archive_cmds_need_lc_CXX=no
  10913. hardcode_direct_CXX=no
  10914. hardcode_automatic_CXX=yes
  10915. hardcode_shlibpath_var_CXX=unsupported
  10916. if test "$lt_cv_ld_force_load" = "yes"; then
  10917. 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\"`'
  10918. else
  10919. whole_archive_flag_spec_CXX=''
  10920. fi
  10921. link_all_deplibs_CXX=yes
  10922. allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
  10923. case $cc_basename in
  10924. ifort*) _lt_dar_can_shared=yes ;;
  10925. *) _lt_dar_can_shared=$GCC ;;
  10926. esac
  10927. if test "$_lt_dar_can_shared" = "yes"; then
  10928. output_verbose_link_cmd=func_echo_all
  10929. 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}"
  10930. module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
  10931. 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}"
  10932. 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}"
  10933. if test "$lt_cv_apple_cc_single_mod" != "yes"; then
  10934. 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}"
  10935. 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}"
  10936. fi
  10937. else
  10938. ld_shlibs_CXX=no
  10939. fi
  10940. ;;
  10941. dgux*)
  10942. case $cc_basename in
  10943. ec++*)
  10944. # FIXME: insert proper C++ library support
  10945. ld_shlibs_CXX=no
  10946. ;;
  10947. ghcx*)
  10948. # Green Hills C++ Compiler
  10949. # FIXME: insert proper C++ library support
  10950. ld_shlibs_CXX=no
  10951. ;;
  10952. *)
  10953. # FIXME: insert proper C++ library support
  10954. ld_shlibs_CXX=no
  10955. ;;
  10956. esac
  10957. ;;
  10958. freebsd[12]*)
  10959. # C++ shared libraries reported to be fairly broken before
  10960. # switch to ELF
  10961. ld_shlibs_CXX=no
  10962. ;;
  10963. freebsd-elf*)
  10964. archive_cmds_need_lc_CXX=no
  10965. ;;
  10966. freebsd* | dragonfly*)
  10967. # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
  10968. # conventions
  10969. ld_shlibs_CXX=yes
  10970. ;;
  10971. gnu*)
  10972. ;;
  10973. haiku*)
  10974. archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  10975. link_all_deplibs_CXX=yes
  10976. ;;
  10977. hpux9*)
  10978. hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
  10979. hardcode_libdir_separator_CXX=:
  10980. export_dynamic_flag_spec_CXX='${wl}-E'
  10981. hardcode_direct_CXX=yes
  10982. hardcode_minus_L_CXX=yes # Not in the search PATH,
  10983. # but as the default
  10984. # location of the library.
  10985. case $cc_basename in
  10986. CC*)
  10987. # FIXME: insert proper C++ library support
  10988. ld_shlibs_CXX=no
  10989. ;;
  10990. aCC*)
  10991. 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'
  10992. # Commands to make compiler produce verbose output that lists
  10993. # what "hidden" libraries, object files and flags are used when
  10994. # linking a shared library.
  10995. #
  10996. # There doesn't appear to be a way to prevent this compiler from
  10997. # explicitly linking system object files so we need to strip them
  10998. # from the output so that they don't get included in the library
  10999. # dependencies.
  11000. 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"'
  11001. ;;
  11002. *)
  11003. if test "$GXX" = yes; then
  11004. 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'
  11005. else
  11006. # FIXME: insert proper C++ library support
  11007. ld_shlibs_CXX=no
  11008. fi
  11009. ;;
  11010. esac
  11011. ;;
  11012. hpux10*|hpux11*)
  11013. if test $with_gnu_ld = no; then
  11014. hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
  11015. hardcode_libdir_separator_CXX=:
  11016. case $host_cpu in
  11017. hppa*64*|ia64*)
  11018. ;;
  11019. *)
  11020. export_dynamic_flag_spec_CXX='${wl}-E'
  11021. ;;
  11022. esac
  11023. fi
  11024. case $host_cpu in
  11025. hppa*64*|ia64*)
  11026. hardcode_direct_CXX=no
  11027. hardcode_shlibpath_var_CXX=no
  11028. ;;
  11029. *)
  11030. hardcode_direct_CXX=yes
  11031. hardcode_direct_absolute_CXX=yes
  11032. hardcode_minus_L_CXX=yes # Not in the search PATH,
  11033. # but as the default
  11034. # location of the library.
  11035. ;;
  11036. esac
  11037. case $cc_basename in
  11038. CC*)
  11039. # FIXME: insert proper C++ library support
  11040. ld_shlibs_CXX=no
  11041. ;;
  11042. aCC*)
  11043. case $host_cpu in
  11044. hppa*64*)
  11045. archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  11046. ;;
  11047. ia64*)
  11048. archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  11049. ;;
  11050. *)
  11051. archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  11052. ;;
  11053. esac
  11054. # Commands to make compiler produce verbose output that lists
  11055. # what "hidden" libraries, object files and flags are used when
  11056. # linking a shared library.
  11057. #
  11058. # There doesn't appear to be a way to prevent this compiler from
  11059. # explicitly linking system object files so we need to strip them
  11060. # from the output so that they don't get included in the library
  11061. # dependencies.
  11062. 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"'
  11063. ;;
  11064. *)
  11065. if test "$GXX" = yes; then
  11066. if test $with_gnu_ld = no; then
  11067. case $host_cpu in
  11068. hppa*64*)
  11069. archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  11070. ;;
  11071. ia64*)
  11072. archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  11073. ;;
  11074. *)
  11075. 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'
  11076. ;;
  11077. esac
  11078. fi
  11079. else
  11080. # FIXME: insert proper C++ library support
  11081. ld_shlibs_CXX=no
  11082. fi
  11083. ;;
  11084. esac
  11085. ;;
  11086. interix[3-9]*)
  11087. hardcode_direct_CXX=no
  11088. hardcode_shlibpath_var_CXX=no
  11089. hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
  11090. export_dynamic_flag_spec_CXX='${wl}-E'
  11091. # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
  11092. # Instead, shared libraries are loaded at an image base (0x10000000 by
  11093. # default) and relocated if they conflict, which is a slow very memory
  11094. # consuming and fragmenting process. To avoid this, we pick a random,
  11095. # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
  11096. # time. Moving up from 0x10000000 also allows more sbrk(2) space.
  11097. 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'
  11098. 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'
  11099. ;;
  11100. irix5* | irix6*)
  11101. case $cc_basename in
  11102. CC*)
  11103. # SGI C++
  11104. 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'
  11105. # Archives containing C++ object files must be created using
  11106. # "CC -ar", where "CC" is the IRIX C++ compiler. This is
  11107. # necessary to make sure instantiated templates are included
  11108. # in the archive.
  11109. old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
  11110. ;;
  11111. *)
  11112. if test "$GXX" = yes; then
  11113. if test "$with_gnu_ld" = no; then
  11114. 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'
  11115. else
  11116. 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'
  11117. fi
  11118. fi
  11119. link_all_deplibs_CXX=yes
  11120. ;;
  11121. esac
  11122. hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
  11123. hardcode_libdir_separator_CXX=:
  11124. inherit_rpath_CXX=yes
  11125. ;;
  11126. linux* | k*bsd*-gnu | kopensolaris*-gnu)
  11127. case $cc_basename in
  11128. KCC*)
  11129. # Kuck and Associates, Inc. (KAI) C++ Compiler
  11130. # KCC will only create a shared library if the output file
  11131. # ends with ".so" (or ".sl" for HP-UX), so rename the library
  11132. # to its proper name (with version) after linking.
  11133. 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'
  11134. 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'
  11135. # Commands to make compiler produce verbose output that lists
  11136. # what "hidden" libraries, object files and flags are used when
  11137. # linking a shared library.
  11138. #
  11139. # There doesn't appear to be a way to prevent this compiler from
  11140. # explicitly linking system object files so we need to strip them
  11141. # from the output so that they don't get included in the library
  11142. # dependencies.
  11143. 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"'
  11144. hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
  11145. export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
  11146. # Archives containing C++ object files must be created using
  11147. # "CC -Bstatic", where "CC" is the KAI C++ compiler.
  11148. old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
  11149. ;;
  11150. icpc* | ecpc* )
  11151. # Intel C++
  11152. with_gnu_ld=yes
  11153. # version 8.0 and above of icpc choke on multiply defined symbols
  11154. # if we add $predep_objects and $postdep_objects, however 7.1 and
  11155. # earlier do not add the objects themselves.
  11156. case `$CC -V 2>&1` in
  11157. *"Version 7."*)
  11158. archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
  11159. 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'
  11160. ;;
  11161. *) # Version 8.0 or newer
  11162. tmp_idyn=
  11163. case $host_cpu in
  11164. ia64*) tmp_idyn=' -i_dynamic';;
  11165. esac
  11166. archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  11167. 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'
  11168. ;;
  11169. esac
  11170. archive_cmds_need_lc_CXX=no
  11171. hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
  11172. export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
  11173. whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
  11174. ;;
  11175. pgCC* | pgcpp*)
  11176. # Portland Group C++ compiler
  11177. case `$CC -V` in
  11178. *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
  11179. prelink_cmds_CXX='tpldir=Template.dir~
  11180. rm -rf $tpldir~
  11181. $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
  11182. compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
  11183. old_archive_cmds_CXX='tpldir=Template.dir~
  11184. rm -rf $tpldir~
  11185. $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
  11186. $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
  11187. $RANLIB $oldlib'
  11188. archive_cmds_CXX='tpldir=Template.dir~
  11189. rm -rf $tpldir~
  11190. $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
  11191. $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
  11192. archive_expsym_cmds_CXX='tpldir=Template.dir~
  11193. rm -rf $tpldir~
  11194. $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
  11195. $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'
  11196. ;;
  11197. *) # Version 6 and above use weak symbols
  11198. archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
  11199. 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'
  11200. ;;
  11201. esac
  11202. hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
  11203. export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
  11204. 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'
  11205. ;;
  11206. cxx*)
  11207. # Compaq C++
  11208. archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
  11209. 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'
  11210. runpath_var=LD_RUN_PATH
  11211. hardcode_libdir_flag_spec_CXX='-rpath $libdir'
  11212. hardcode_libdir_separator_CXX=:
  11213. # Commands to make compiler produce verbose output that lists
  11214. # what "hidden" libraries, object files and flags are used when
  11215. # linking a shared library.
  11216. #
  11217. # There doesn't appear to be a way to prevent this compiler from
  11218. # explicitly linking system object files so we need to strip them
  11219. # from the output so that they don't get included in the library
  11220. # dependencies.
  11221. 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'
  11222. ;;
  11223. xl* | mpixl* | bgxl*)
  11224. # IBM XL 8.0 on PPC, with GNU ld
  11225. hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
  11226. export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
  11227. archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  11228. if test "x$supports_anon_versioning" = xyes; then
  11229. archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
  11230. cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  11231. echo "local: *; };" >> $output_objdir/$libname.ver~
  11232. $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
  11233. fi
  11234. ;;
  11235. *)
  11236. case `$CC -V 2>&1 | sed 5q` in
  11237. *Sun\ C*)
  11238. # Sun C++ 5.9
  11239. no_undefined_flag_CXX=' -zdefs'
  11240. archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  11241. 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'
  11242. hardcode_libdir_flag_spec_CXX='-R$libdir'
  11243. 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'
  11244. compiler_needs_object_CXX=yes
  11245. # Not sure whether something based on
  11246. # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
  11247. # would be better.
  11248. output_verbose_link_cmd='func_echo_all'
  11249. # Archives containing C++ object files must be created using
  11250. # "CC -xar", where "CC" is the Sun C++ compiler. This is
  11251. # necessary to make sure instantiated templates are included
  11252. # in the archive.
  11253. old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
  11254. ;;
  11255. esac
  11256. ;;
  11257. esac
  11258. ;;
  11259. lynxos*)
  11260. # FIXME: insert proper C++ library support
  11261. ld_shlibs_CXX=no
  11262. ;;
  11263. m88k*)
  11264. # FIXME: insert proper C++ library support
  11265. ld_shlibs_CXX=no
  11266. ;;
  11267. mvs*)
  11268. case $cc_basename in
  11269. cxx*)
  11270. # FIXME: insert proper C++ library support
  11271. ld_shlibs_CXX=no
  11272. ;;
  11273. *)
  11274. # FIXME: insert proper C++ library support
  11275. ld_shlibs_CXX=no
  11276. ;;
  11277. esac
  11278. ;;
  11279. netbsd*)
  11280. if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  11281. archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
  11282. wlarc=
  11283. hardcode_libdir_flag_spec_CXX='-R$libdir'
  11284. hardcode_direct_CXX=yes
  11285. hardcode_shlibpath_var_CXX=no
  11286. fi
  11287. # Workaround some broken pre-1.5 toolchains
  11288. output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
  11289. ;;
  11290. *nto* | *qnx*)
  11291. ld_shlibs_CXX=yes
  11292. ;;
  11293. openbsd2*)
  11294. # C++ shared libraries are fairly broken
  11295. ld_shlibs_CXX=no
  11296. ;;
  11297. openbsd*)
  11298. if test -f /usr/libexec/ld.so; then
  11299. hardcode_direct_CXX=yes
  11300. hardcode_shlibpath_var_CXX=no
  11301. hardcode_direct_absolute_CXX=yes
  11302. archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
  11303. hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
  11304. if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  11305. archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
  11306. export_dynamic_flag_spec_CXX='${wl}-E'
  11307. whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
  11308. fi
  11309. output_verbose_link_cmd=func_echo_all
  11310. else
  11311. ld_shlibs_CXX=no
  11312. fi
  11313. ;;
  11314. osf3* | osf4* | osf5*)
  11315. case $cc_basename in
  11316. KCC*)
  11317. # Kuck and Associates, Inc. (KAI) C++ Compiler
  11318. # KCC will only create a shared library if the output file
  11319. # ends with ".so" (or ".sl" for HP-UX), so rename the library
  11320. # to its proper name (with version) after linking.
  11321. 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'
  11322. hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
  11323. hardcode_libdir_separator_CXX=:
  11324. # Archives containing C++ object files must be created using
  11325. # the KAI C++ compiler.
  11326. case $host in
  11327. osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
  11328. *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
  11329. esac
  11330. ;;
  11331. RCC*)
  11332. # Rational C++ 2.4.1
  11333. # FIXME: insert proper C++ library support
  11334. ld_shlibs_CXX=no
  11335. ;;
  11336. cxx*)
  11337. case $host in
  11338. osf3*)
  11339. allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
  11340. 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'
  11341. hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
  11342. ;;
  11343. *)
  11344. allow_undefined_flag_CXX=' -expect_unresolved \*'
  11345. 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'
  11346. archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
  11347. echo "-hidden">> $lib.exp~
  11348. $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~
  11349. $RM $lib.exp'
  11350. hardcode_libdir_flag_spec_CXX='-rpath $libdir'
  11351. ;;
  11352. esac
  11353. hardcode_libdir_separator_CXX=:
  11354. # Commands to make compiler produce verbose output that lists
  11355. # what "hidden" libraries, object files and flags are used when
  11356. # linking a shared library.
  11357. #
  11358. # There doesn't appear to be a way to prevent this compiler from
  11359. # explicitly linking system object files so we need to strip them
  11360. # from the output so that they don't get included in the library
  11361. # dependencies.
  11362. 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"'
  11363. ;;
  11364. *)
  11365. if test "$GXX" = yes && test "$with_gnu_ld" = no; then
  11366. allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
  11367. case $host in
  11368. osf3*)
  11369. 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'
  11370. ;;
  11371. *)
  11372. 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'
  11373. ;;
  11374. esac
  11375. hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
  11376. hardcode_libdir_separator_CXX=:
  11377. # Commands to make compiler produce verbose output that lists
  11378. # what "hidden" libraries, object files and flags are used when
  11379. # linking a shared library.
  11380. output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
  11381. else
  11382. # FIXME: insert proper C++ library support
  11383. ld_shlibs_CXX=no
  11384. fi
  11385. ;;
  11386. esac
  11387. ;;
  11388. psos*)
  11389. # FIXME: insert proper C++ library support
  11390. ld_shlibs_CXX=no
  11391. ;;
  11392. sunos4*)
  11393. case $cc_basename in
  11394. CC*)
  11395. # Sun C++ 4.x
  11396. # FIXME: insert proper C++ library support
  11397. ld_shlibs_CXX=no
  11398. ;;
  11399. lcc*)
  11400. # Lucid
  11401. # FIXME: insert proper C++ library support
  11402. ld_shlibs_CXX=no
  11403. ;;
  11404. *)
  11405. # FIXME: insert proper C++ library support
  11406. ld_shlibs_CXX=no
  11407. ;;
  11408. esac
  11409. ;;
  11410. solaris*)
  11411. case $cc_basename in
  11412. CC* | sunCC*)
  11413. # Sun C++ 4.2, 5.x and Centerline C++
  11414. archive_cmds_need_lc_CXX=yes
  11415. no_undefined_flag_CXX=' -zdefs'
  11416. archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  11417. archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  11418. $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'
  11419. hardcode_libdir_flag_spec_CXX='-R$libdir'
  11420. hardcode_shlibpath_var_CXX=no
  11421. case $host_os in
  11422. solaris2.[0-5] | solaris2.[0-5].*) ;;
  11423. *)
  11424. # The compiler driver will combine and reorder linker options,
  11425. # but understands `-z linker_flag'.
  11426. # Supported since Solaris 2.6 (maybe 2.5.1?)
  11427. whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
  11428. ;;
  11429. esac
  11430. link_all_deplibs_CXX=yes
  11431. output_verbose_link_cmd='func_echo_all'
  11432. # Archives containing C++ object files must be created using
  11433. # "CC -xar", where "CC" is the Sun C++ compiler. This is
  11434. # necessary to make sure instantiated templates are included
  11435. # in the archive.
  11436. old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
  11437. ;;
  11438. gcx*)
  11439. # Green Hills C++ Compiler
  11440. archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
  11441. # The C++ compiler must be used to create the archive.
  11442. old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
  11443. ;;
  11444. *)
  11445. # GNU C++ compiler with Solaris linker
  11446. if test "$GXX" = yes && test "$with_gnu_ld" = no; then
  11447. no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
  11448. if $CC --version | $GREP -v '^2\.7' > /dev/null; then
  11449. archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
  11450. archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  11451. $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
  11452. # Commands to make compiler produce verbose output that lists
  11453. # what "hidden" libraries, object files and flags are used when
  11454. # linking a shared library.
  11455. output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
  11456. else
  11457. # g++ 2.7 appears to require `-G' NOT `-shared' on this
  11458. # platform.
  11459. archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
  11460. archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  11461. $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
  11462. # Commands to make compiler produce verbose output that lists
  11463. # what "hidden" libraries, object files and flags are used when
  11464. # linking a shared library.
  11465. output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
  11466. fi
  11467. hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
  11468. case $host_os in
  11469. solaris2.[0-5] | solaris2.[0-5].*) ;;
  11470. *)
  11471. whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
  11472. ;;
  11473. esac
  11474. fi
  11475. ;;
  11476. esac
  11477. ;;
  11478. sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
  11479. no_undefined_flag_CXX='${wl}-z,text'
  11480. archive_cmds_need_lc_CXX=no
  11481. hardcode_shlibpath_var_CXX=no
  11482. runpath_var='LD_RUN_PATH'
  11483. case $cc_basename in
  11484. CC*)
  11485. archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  11486. archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  11487. ;;
  11488. *)
  11489. archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  11490. archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  11491. ;;
  11492. esac
  11493. ;;
  11494. sysv5* | sco3.2v5* | sco5v6*)
  11495. # Note: We can NOT use -z defs as we might desire, because we do not
  11496. # link with -lc, and that would cause any symbols used from libc to
  11497. # always be unresolved, which means just about no library would
  11498. # ever link correctly. If we're not using GNU ld we use -z text
  11499. # though, which does catch some bad symbols but isn't as heavy-handed
  11500. # as -z defs.
  11501. no_undefined_flag_CXX='${wl}-z,text'
  11502. allow_undefined_flag_CXX='${wl}-z,nodefs'
  11503. archive_cmds_need_lc_CXX=no
  11504. hardcode_shlibpath_var_CXX=no
  11505. hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
  11506. hardcode_libdir_separator_CXX=':'
  11507. link_all_deplibs_CXX=yes
  11508. export_dynamic_flag_spec_CXX='${wl}-Bexport'
  11509. runpath_var='LD_RUN_PATH'
  11510. case $cc_basename in
  11511. CC*)
  11512. archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  11513. archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  11514. old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
  11515. '"$old_archive_cmds_CXX"
  11516. reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
  11517. '"$reload_cmds_CXX"
  11518. ;;
  11519. *)
  11520. archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  11521. archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  11522. ;;
  11523. esac
  11524. ;;
  11525. tandem*)
  11526. case $cc_basename in
  11527. NCC*)
  11528. # NonStop-UX NCC 3.20
  11529. # FIXME: insert proper C++ library support
  11530. ld_shlibs_CXX=no
  11531. ;;
  11532. *)
  11533. # FIXME: insert proper C++ library support
  11534. ld_shlibs_CXX=no
  11535. ;;
  11536. esac
  11537. ;;
  11538. vxworks*)
  11539. # FIXME: insert proper C++ library support
  11540. ld_shlibs_CXX=no
  11541. ;;
  11542. *)
  11543. # FIXME: insert proper C++ library support
  11544. ld_shlibs_CXX=no
  11545. ;;
  11546. esac
  11547. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
  11548. $as_echo "$ld_shlibs_CXX" >&6; }
  11549. test "$ld_shlibs_CXX" = no && can_build_shared=no
  11550. GCC_CXX="$GXX"
  11551. LD_CXX="$LD"
  11552. ## CAVEAT EMPTOR:
  11553. ## There is no encapsulation within the following macros, do not change
  11554. ## the running order or otherwise move them around unless you know exactly
  11555. ## what you are doing...
  11556. # Dependencies to place before and after the object being linked:
  11557. predep_objects_CXX=
  11558. postdep_objects_CXX=
  11559. predeps_CXX=
  11560. postdeps_CXX=
  11561. compiler_lib_search_path_CXX=
  11562. cat > conftest.$ac_ext <<_LT_EOF
  11563. class Foo
  11564. {
  11565. public:
  11566. Foo (void) { a = 0; }
  11567. private:
  11568. int a;
  11569. };
  11570. _LT_EOF
  11571. _lt_libdeps_save_CFLAGS=$CFLAGS
  11572. case "$CC $CFLAGS " in #(
  11573. *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
  11574. *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
  11575. esac
  11576. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  11577. (eval $ac_compile) 2>&5
  11578. ac_status=$?
  11579. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  11580. test $ac_status = 0; }; then
  11581. # Parse the compiler output and extract the necessary
  11582. # objects, libraries and library flags.
  11583. # Sentinel used to keep track of whether or not we are before
  11584. # the conftest object file.
  11585. pre_test_object_deps_done=no
  11586. for p in `eval "$output_verbose_link_cmd"`; do
  11587. case ${prev}${p} in
  11588. -L* | -R* | -l*)
  11589. # Some compilers place space between "-{L,R}" and the path.
  11590. # Remove the space.
  11591. if test $p = "-L" ||
  11592. test $p = "-R"; then
  11593. prev=$p
  11594. continue
  11595. fi
  11596. # Expand the sysroot to ease extracting the directories later.
  11597. if test -z "$prev"; then
  11598. case $p in
  11599. -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
  11600. -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
  11601. -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
  11602. esac
  11603. fi
  11604. case $p in
  11605. =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
  11606. esac
  11607. if test "$pre_test_object_deps_done" = no; then
  11608. case ${prev} in
  11609. -L | -R)
  11610. # Internal compiler library paths should come after those
  11611. # provided the user. The postdeps already come after the
  11612. # user supplied libs so there is no need to process them.
  11613. if test -z "$compiler_lib_search_path_CXX"; then
  11614. compiler_lib_search_path_CXX="${prev}${p}"
  11615. else
  11616. compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
  11617. fi
  11618. ;;
  11619. # The "-l" case would never come before the object being
  11620. # linked, so don't bother handling this case.
  11621. esac
  11622. else
  11623. if test -z "$postdeps_CXX"; then
  11624. postdeps_CXX="${prev}${p}"
  11625. else
  11626. postdeps_CXX="${postdeps_CXX} ${prev}${p}"
  11627. fi
  11628. fi
  11629. prev=
  11630. ;;
  11631. *.lto.$objext) ;; # Ignore GCC LTO objects
  11632. *.$objext)
  11633. # This assumes that the test object file only shows up
  11634. # once in the compiler output.
  11635. if test "$p" = "conftest.$objext"; then
  11636. pre_test_object_deps_done=yes
  11637. continue
  11638. fi
  11639. if test "$pre_test_object_deps_done" = no; then
  11640. if test -z "$predep_objects_CXX"; then
  11641. predep_objects_CXX="$p"
  11642. else
  11643. predep_objects_CXX="$predep_objects_CXX $p"
  11644. fi
  11645. else
  11646. if test -z "$postdep_objects_CXX"; then
  11647. postdep_objects_CXX="$p"
  11648. else
  11649. postdep_objects_CXX="$postdep_objects_CXX $p"
  11650. fi
  11651. fi
  11652. ;;
  11653. *) ;; # Ignore the rest.
  11654. esac
  11655. done
  11656. # Clean up.
  11657. rm -f a.out a.exe
  11658. else
  11659. echo "libtool.m4: error: problem compiling CXX test program"
  11660. fi
  11661. $RM -f confest.$objext
  11662. CFLAGS=$_lt_libdeps_save_CFLAGS
  11663. # PORTME: override above test on systems where it is broken
  11664. case $host_os in
  11665. interix[3-9]*)
  11666. # Interix 3.5 installs completely hosed .la files for C++, so rather than
  11667. # hack all around it, let's just trust "g++" to DTRT.
  11668. predep_objects_CXX=
  11669. postdep_objects_CXX=
  11670. postdeps_CXX=
  11671. ;;
  11672. linux*)
  11673. case `$CC -V 2>&1 | sed 5q` in
  11674. *Sun\ C*)
  11675. # Sun C++ 5.9
  11676. # The more standards-conforming stlport4 library is
  11677. # incompatible with the Cstd library. Avoid specifying
  11678. # it if it's in CXXFLAGS. Ignore libCrun as
  11679. # -library=stlport4 depends on it.
  11680. case " $CXX $CXXFLAGS " in
  11681. *" -library=stlport4 "*)
  11682. solaris_use_stlport4=yes
  11683. ;;
  11684. esac
  11685. if test "$solaris_use_stlport4" != yes; then
  11686. postdeps_CXX='-library=Cstd -library=Crun'
  11687. fi
  11688. ;;
  11689. esac
  11690. ;;
  11691. solaris*)
  11692. case $cc_basename in
  11693. CC* | sunCC*)
  11694. # The more standards-conforming stlport4 library is
  11695. # incompatible with the Cstd library. Avoid specifying
  11696. # it if it's in CXXFLAGS. Ignore libCrun as
  11697. # -library=stlport4 depends on it.
  11698. case " $CXX $CXXFLAGS " in
  11699. *" -library=stlport4 "*)
  11700. solaris_use_stlport4=yes
  11701. ;;
  11702. esac
  11703. # Adding this requires a known-good setup of shared libraries for
  11704. # Sun compiler versions before 5.6, else PIC objects from an old
  11705. # archive will be linked into the output, leading to subtle bugs.
  11706. if test "$solaris_use_stlport4" != yes; then
  11707. postdeps_CXX='-library=Cstd -library=Crun'
  11708. fi
  11709. ;;
  11710. esac
  11711. ;;
  11712. esac
  11713. case " $postdeps_CXX " in
  11714. *" -lc "*) archive_cmds_need_lc_CXX=no ;;
  11715. esac
  11716. compiler_lib_search_dirs_CXX=
  11717. if test -n "${compiler_lib_search_path_CXX}"; then
  11718. compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
  11719. fi
  11720. lt_prog_compiler_wl_CXX=
  11721. lt_prog_compiler_pic_CXX=
  11722. lt_prog_compiler_static_CXX=
  11723. # C++ specific cases for pic, static, wl, etc.
  11724. if test "$GXX" = yes; then
  11725. lt_prog_compiler_wl_CXX='-Wl,'
  11726. lt_prog_compiler_static_CXX='-static'
  11727. case $host_os in
  11728. aix*)
  11729. # All AIX code is PIC.
  11730. if test "$host_cpu" = ia64; then
  11731. # AIX 5 now supports IA64 processor
  11732. lt_prog_compiler_static_CXX='-Bstatic'
  11733. fi
  11734. ;;
  11735. amigaos*)
  11736. case $host_cpu in
  11737. powerpc)
  11738. # see comment about AmigaOS4 .so support
  11739. lt_prog_compiler_pic_CXX='-fPIC'
  11740. ;;
  11741. m68k)
  11742. # FIXME: we need at least 68020 code to build shared libraries, but
  11743. # adding the `-m68020' flag to GCC prevents building anything better,
  11744. # like `-m68040'.
  11745. lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
  11746. ;;
  11747. esac
  11748. ;;
  11749. beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
  11750. # PIC is the default for these OSes.
  11751. ;;
  11752. mingw* | cygwin* | os2* | pw32* | cegcc*)
  11753. # This hack is so that the source file can tell whether it is being
  11754. # built for inclusion in a dll (and should export symbols for example).
  11755. # Although the cygwin gcc ignores -fPIC, still need this for old-style
  11756. # (--disable-auto-import) libraries
  11757. lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
  11758. ;;
  11759. darwin* | rhapsody*)
  11760. # PIC is the default on this platform
  11761. # Common symbols not allowed in MH_DYLIB files
  11762. lt_prog_compiler_pic_CXX='-fno-common'
  11763. ;;
  11764. *djgpp*)
  11765. # DJGPP does not support shared libraries at all
  11766. lt_prog_compiler_pic_CXX=
  11767. ;;
  11768. haiku*)
  11769. # PIC is the default for Haiku.
  11770. # The "-static" flag exists, but is broken.
  11771. lt_prog_compiler_static_CXX=
  11772. ;;
  11773. interix[3-9]*)
  11774. # Interix 3.x gcc -fpic/-fPIC options generate broken code.
  11775. # Instead, we relocate shared libraries at runtime.
  11776. ;;
  11777. sysv4*MP*)
  11778. if test -d /usr/nec; then
  11779. lt_prog_compiler_pic_CXX=-Kconform_pic
  11780. fi
  11781. ;;
  11782. hpux*)
  11783. # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
  11784. # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
  11785. # sets the default TLS model and affects inlining.
  11786. case $host_cpu in
  11787. hppa*64*)
  11788. ;;
  11789. *)
  11790. lt_prog_compiler_pic_CXX='-fPIC'
  11791. ;;
  11792. esac
  11793. ;;
  11794. *qnx* | *nto*)
  11795. # QNX uses GNU C++, but need to define -shared option too, otherwise
  11796. # it will coredump.
  11797. lt_prog_compiler_pic_CXX='-fPIC -shared'
  11798. ;;
  11799. *)
  11800. lt_prog_compiler_pic_CXX='-fPIC'
  11801. ;;
  11802. esac
  11803. else
  11804. case $host_os in
  11805. aix[4-9]*)
  11806. # All AIX code is PIC.
  11807. if test "$host_cpu" = ia64; then
  11808. # AIX 5 now supports IA64 processor
  11809. lt_prog_compiler_static_CXX='-Bstatic'
  11810. else
  11811. lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
  11812. fi
  11813. ;;
  11814. chorus*)
  11815. case $cc_basename in
  11816. cxch68*)
  11817. # Green Hills C++ Compiler
  11818. # _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"
  11819. ;;
  11820. esac
  11821. ;;
  11822. mingw* | cygwin* | os2* | pw32* | cegcc*)
  11823. # This hack is so that the source file can tell whether it is being
  11824. # built for inclusion in a dll (and should export symbols for example).
  11825. lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
  11826. ;;
  11827. dgux*)
  11828. case $cc_basename in
  11829. ec++*)
  11830. lt_prog_compiler_pic_CXX='-KPIC'
  11831. ;;
  11832. ghcx*)
  11833. # Green Hills C++ Compiler
  11834. lt_prog_compiler_pic_CXX='-pic'
  11835. ;;
  11836. *)
  11837. ;;
  11838. esac
  11839. ;;
  11840. freebsd* | dragonfly*)
  11841. # FreeBSD uses GNU C++
  11842. ;;
  11843. hpux9* | hpux10* | hpux11*)
  11844. case $cc_basename in
  11845. CC*)
  11846. lt_prog_compiler_wl_CXX='-Wl,'
  11847. lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
  11848. if test "$host_cpu" != ia64; then
  11849. lt_prog_compiler_pic_CXX='+Z'
  11850. fi
  11851. ;;
  11852. aCC*)
  11853. lt_prog_compiler_wl_CXX='-Wl,'
  11854. lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
  11855. case $host_cpu in
  11856. hppa*64*|ia64*)
  11857. # +Z the default
  11858. ;;
  11859. *)
  11860. lt_prog_compiler_pic_CXX='+Z'
  11861. ;;
  11862. esac
  11863. ;;
  11864. *)
  11865. ;;
  11866. esac
  11867. ;;
  11868. interix*)
  11869. # This is c89, which is MS Visual C++ (no shared libs)
  11870. # Anyone wants to do a port?
  11871. ;;
  11872. irix5* | irix6* | nonstopux*)
  11873. case $cc_basename in
  11874. CC*)
  11875. lt_prog_compiler_wl_CXX='-Wl,'
  11876. lt_prog_compiler_static_CXX='-non_shared'
  11877. # CC pic flag -KPIC is the default.
  11878. ;;
  11879. *)
  11880. ;;
  11881. esac
  11882. ;;
  11883. linux* | k*bsd*-gnu | kopensolaris*-gnu)
  11884. case $cc_basename in
  11885. KCC*)
  11886. # KAI C++ Compiler
  11887. lt_prog_compiler_wl_CXX='--backend -Wl,'
  11888. lt_prog_compiler_pic_CXX='-fPIC'
  11889. ;;
  11890. ecpc* )
  11891. # old Intel C++ for x86_64 which still supported -KPIC.
  11892. lt_prog_compiler_wl_CXX='-Wl,'
  11893. lt_prog_compiler_pic_CXX='-KPIC'
  11894. lt_prog_compiler_static_CXX='-static'
  11895. ;;
  11896. icpc* )
  11897. # Intel C++, used to be incompatible with GCC.
  11898. # ICC 10 doesn't accept -KPIC any more.
  11899. lt_prog_compiler_wl_CXX='-Wl,'
  11900. lt_prog_compiler_pic_CXX='-fPIC'
  11901. lt_prog_compiler_static_CXX='-static'
  11902. ;;
  11903. pgCC* | pgcpp*)
  11904. # Portland Group C++ compiler
  11905. lt_prog_compiler_wl_CXX='-Wl,'
  11906. lt_prog_compiler_pic_CXX='-fpic'
  11907. lt_prog_compiler_static_CXX='-Bstatic'
  11908. ;;
  11909. cxx*)
  11910. # Compaq C++
  11911. # Make sure the PIC flag is empty. It appears that all Alpha
  11912. # Linux and Compaq Tru64 Unix objects are PIC.
  11913. lt_prog_compiler_pic_CXX=
  11914. lt_prog_compiler_static_CXX='-non_shared'
  11915. ;;
  11916. xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
  11917. # IBM XL 8.0, 9.0 on PPC and BlueGene
  11918. lt_prog_compiler_wl_CXX='-Wl,'
  11919. lt_prog_compiler_pic_CXX='-qpic'
  11920. lt_prog_compiler_static_CXX='-qstaticlink'
  11921. ;;
  11922. *)
  11923. case `$CC -V 2>&1 | sed 5q` in
  11924. *Sun\ C*)
  11925. # Sun C++ 5.9
  11926. lt_prog_compiler_pic_CXX='-KPIC'
  11927. lt_prog_compiler_static_CXX='-Bstatic'
  11928. lt_prog_compiler_wl_CXX='-Qoption ld '
  11929. ;;
  11930. esac
  11931. ;;
  11932. esac
  11933. ;;
  11934. lynxos*)
  11935. ;;
  11936. m88k*)
  11937. ;;
  11938. mvs*)
  11939. case $cc_basename in
  11940. cxx*)
  11941. lt_prog_compiler_pic_CXX='-W c,exportall'
  11942. ;;
  11943. *)
  11944. ;;
  11945. esac
  11946. ;;
  11947. netbsd* | netbsdelf*-gnu)
  11948. ;;
  11949. *qnx* | *nto*)
  11950. # QNX uses GNU C++, but need to define -shared option too, otherwise
  11951. # it will coredump.
  11952. lt_prog_compiler_pic_CXX='-fPIC -shared'
  11953. ;;
  11954. osf3* | osf4* | osf5*)
  11955. case $cc_basename in
  11956. KCC*)
  11957. lt_prog_compiler_wl_CXX='--backend -Wl,'
  11958. ;;
  11959. RCC*)
  11960. # Rational C++ 2.4.1
  11961. lt_prog_compiler_pic_CXX='-pic'
  11962. ;;
  11963. cxx*)
  11964. # Digital/Compaq C++
  11965. lt_prog_compiler_wl_CXX='-Wl,'
  11966. # Make sure the PIC flag is empty. It appears that all Alpha
  11967. # Linux and Compaq Tru64 Unix objects are PIC.
  11968. lt_prog_compiler_pic_CXX=
  11969. lt_prog_compiler_static_CXX='-non_shared'
  11970. ;;
  11971. *)
  11972. ;;
  11973. esac
  11974. ;;
  11975. psos*)
  11976. ;;
  11977. solaris*)
  11978. case $cc_basename in
  11979. CC* | sunCC*)
  11980. # Sun C++ 4.2, 5.x and Centerline C++
  11981. lt_prog_compiler_pic_CXX='-KPIC'
  11982. lt_prog_compiler_static_CXX='-Bstatic'
  11983. lt_prog_compiler_wl_CXX='-Qoption ld '
  11984. ;;
  11985. gcx*)
  11986. # Green Hills C++ Compiler
  11987. lt_prog_compiler_pic_CXX='-PIC'
  11988. ;;
  11989. *)
  11990. ;;
  11991. esac
  11992. ;;
  11993. sunos4*)
  11994. case $cc_basename in
  11995. CC*)
  11996. # Sun C++ 4.x
  11997. lt_prog_compiler_pic_CXX='-pic'
  11998. lt_prog_compiler_static_CXX='-Bstatic'
  11999. ;;
  12000. lcc*)
  12001. # Lucid
  12002. lt_prog_compiler_pic_CXX='-pic'
  12003. ;;
  12004. *)
  12005. ;;
  12006. esac
  12007. ;;
  12008. sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
  12009. case $cc_basename in
  12010. CC*)
  12011. lt_prog_compiler_wl_CXX='-Wl,'
  12012. lt_prog_compiler_pic_CXX='-KPIC'
  12013. lt_prog_compiler_static_CXX='-Bstatic'
  12014. ;;
  12015. esac
  12016. ;;
  12017. tandem*)
  12018. case $cc_basename in
  12019. NCC*)
  12020. # NonStop-UX NCC 3.20
  12021. lt_prog_compiler_pic_CXX='-KPIC'
  12022. ;;
  12023. *)
  12024. ;;
  12025. esac
  12026. ;;
  12027. vxworks*)
  12028. ;;
  12029. *)
  12030. lt_prog_compiler_can_build_shared_CXX=no
  12031. ;;
  12032. esac
  12033. fi
  12034. case $host_os in
  12035. # For platforms which do not support PIC, -DPIC is meaningless:
  12036. *djgpp*)
  12037. lt_prog_compiler_pic_CXX=
  12038. ;;
  12039. *)
  12040. lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
  12041. ;;
  12042. esac
  12043. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
  12044. $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
  12045. if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
  12046. $as_echo_n "(cached) " >&6
  12047. else
  12048. lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
  12049. fi
  12050. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
  12051. $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
  12052. lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
  12053. #
  12054. # Check to make sure the PIC flag actually works.
  12055. #
  12056. if test -n "$lt_prog_compiler_pic_CXX"; then
  12057. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
  12058. $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
  12059. if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
  12060. $as_echo_n "(cached) " >&6
  12061. else
  12062. lt_cv_prog_compiler_pic_works_CXX=no
  12063. ac_outfile=conftest.$ac_objext
  12064. echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  12065. lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
  12066. # Insert the option either (1) after the last *FLAGS variable, or
  12067. # (2) before a word containing "conftest.", or (3) at the end.
  12068. # Note that $ac_compile itself does not contain backslashes and begins
  12069. # with a dollar sign (not a hyphen), so the echo should work correctly.
  12070. # The option is referenced via a variable to avoid confusing sed.
  12071. lt_compile=`echo "$ac_compile" | $SED \
  12072. -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  12073. -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  12074. -e 's:$: $lt_compiler_flag:'`
  12075. (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  12076. (eval "$lt_compile" 2>conftest.err)
  12077. ac_status=$?
  12078. cat conftest.err >&5
  12079. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12080. if (exit $ac_status) && test -s "$ac_outfile"; then
  12081. # The compiler can only warn and ignore the option if not recognized
  12082. # So say no if there are warnings other than the usual output.
  12083. $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
  12084. $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  12085. if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  12086. lt_cv_prog_compiler_pic_works_CXX=yes
  12087. fi
  12088. fi
  12089. $RM conftest*
  12090. fi
  12091. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
  12092. $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
  12093. if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
  12094. case $lt_prog_compiler_pic_CXX in
  12095. "" | " "*) ;;
  12096. *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
  12097. esac
  12098. else
  12099. lt_prog_compiler_pic_CXX=
  12100. lt_prog_compiler_can_build_shared_CXX=no
  12101. fi
  12102. fi
  12103. #
  12104. # Check to make sure the static flag actually works.
  12105. #
  12106. wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
  12107. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
  12108. $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
  12109. if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
  12110. $as_echo_n "(cached) " >&6
  12111. else
  12112. lt_cv_prog_compiler_static_works_CXX=no
  12113. save_LDFLAGS="$LDFLAGS"
  12114. LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
  12115. echo "$lt_simple_link_test_code" > conftest.$ac_ext
  12116. if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
  12117. # The linker can only warn and ignore the option if not recognized
  12118. # So say no if there are warnings
  12119. if test -s conftest.err; then
  12120. # Append any errors to the config.log.
  12121. cat conftest.err 1>&5
  12122. $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
  12123. $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  12124. if diff conftest.exp conftest.er2 >/dev/null; then
  12125. lt_cv_prog_compiler_static_works_CXX=yes
  12126. fi
  12127. else
  12128. lt_cv_prog_compiler_static_works_CXX=yes
  12129. fi
  12130. fi
  12131. $RM -r conftest*
  12132. LDFLAGS="$save_LDFLAGS"
  12133. fi
  12134. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
  12135. $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
  12136. if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
  12137. :
  12138. else
  12139. lt_prog_compiler_static_CXX=
  12140. fi
  12141. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
  12142. $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
  12143. if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
  12144. $as_echo_n "(cached) " >&6
  12145. else
  12146. lt_cv_prog_compiler_c_o_CXX=no
  12147. $RM -r conftest 2>/dev/null
  12148. mkdir conftest
  12149. cd conftest
  12150. mkdir out
  12151. echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  12152. lt_compiler_flag="-o out/conftest2.$ac_objext"
  12153. # Insert the option either (1) after the last *FLAGS variable, or
  12154. # (2) before a word containing "conftest.", or (3) at the end.
  12155. # Note that $ac_compile itself does not contain backslashes and begins
  12156. # with a dollar sign (not a hyphen), so the echo should work correctly.
  12157. lt_compile=`echo "$ac_compile" | $SED \
  12158. -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  12159. -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  12160. -e 's:$: $lt_compiler_flag:'`
  12161. (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  12162. (eval "$lt_compile" 2>out/conftest.err)
  12163. ac_status=$?
  12164. cat out/conftest.err >&5
  12165. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12166. if (exit $ac_status) && test -s out/conftest2.$ac_objext
  12167. then
  12168. # The compiler can only warn and ignore the option if not recognized
  12169. # So say no if there are warnings
  12170. $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
  12171. $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  12172. if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  12173. lt_cv_prog_compiler_c_o_CXX=yes
  12174. fi
  12175. fi
  12176. chmod u+w . 2>&5
  12177. $RM conftest*
  12178. # SGI C++ compiler will create directory out/ii_files/ for
  12179. # template instantiation
  12180. test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
  12181. $RM out/* && rmdir out
  12182. cd ..
  12183. $RM -r conftest
  12184. $RM conftest*
  12185. fi
  12186. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
  12187. $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
  12188. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
  12189. $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
  12190. if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
  12191. $as_echo_n "(cached) " >&6
  12192. else
  12193. lt_cv_prog_compiler_c_o_CXX=no
  12194. $RM -r conftest 2>/dev/null
  12195. mkdir conftest
  12196. cd conftest
  12197. mkdir out
  12198. echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  12199. lt_compiler_flag="-o out/conftest2.$ac_objext"
  12200. # Insert the option either (1) after the last *FLAGS variable, or
  12201. # (2) before a word containing "conftest.", or (3) at the end.
  12202. # Note that $ac_compile itself does not contain backslashes and begins
  12203. # with a dollar sign (not a hyphen), so the echo should work correctly.
  12204. lt_compile=`echo "$ac_compile" | $SED \
  12205. -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  12206. -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  12207. -e 's:$: $lt_compiler_flag:'`
  12208. (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  12209. (eval "$lt_compile" 2>out/conftest.err)
  12210. ac_status=$?
  12211. cat out/conftest.err >&5
  12212. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12213. if (exit $ac_status) && test -s out/conftest2.$ac_objext
  12214. then
  12215. # The compiler can only warn and ignore the option if not recognized
  12216. # So say no if there are warnings
  12217. $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
  12218. $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  12219. if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  12220. lt_cv_prog_compiler_c_o_CXX=yes
  12221. fi
  12222. fi
  12223. chmod u+w . 2>&5
  12224. $RM conftest*
  12225. # SGI C++ compiler will create directory out/ii_files/ for
  12226. # template instantiation
  12227. test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
  12228. $RM out/* && rmdir out
  12229. cd ..
  12230. $RM -r conftest
  12231. $RM conftest*
  12232. fi
  12233. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
  12234. $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
  12235. hard_links="nottested"
  12236. if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
  12237. # do not overwrite the value of need_locks provided by the user
  12238. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
  12239. $as_echo_n "checking if we can lock with hard links... " >&6; }
  12240. hard_links=yes
  12241. $RM conftest*
  12242. ln conftest.a conftest.b 2>/dev/null && hard_links=no
  12243. touch conftest.a
  12244. ln conftest.a conftest.b 2>&5 || hard_links=no
  12245. ln conftest.a conftest.b 2>/dev/null && hard_links=no
  12246. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
  12247. $as_echo "$hard_links" >&6; }
  12248. if test "$hard_links" = no; then
  12249. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
  12250. $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
  12251. need_locks=warn
  12252. fi
  12253. else
  12254. need_locks=no
  12255. fi
  12256. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
  12257. $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
  12258. export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  12259. exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
  12260. case $host_os in
  12261. aix[4-9]*)
  12262. # If we're using GNU nm, then we don't want the "-C" option.
  12263. # -C means demangle to AIX nm, but means don't demangle with GNU nm
  12264. # Also, AIX nm treats weak defined symbols like other global defined
  12265. # symbols, whereas GNU nm marks them as "W".
  12266. if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
  12267. 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'
  12268. else
  12269. 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'
  12270. fi
  12271. ;;
  12272. pw32*)
  12273. export_symbols_cmds_CXX="$ltdll_cmds"
  12274. ;;
  12275. cygwin* | mingw* | cegcc*)
  12276. case $cc_basename in
  12277. cl*) ;;
  12278. *)
  12279. 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'
  12280. exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
  12281. ;;
  12282. esac
  12283. ;;
  12284. linux* | k*bsd*-gnu | gnu*)
  12285. link_all_deplibs_CXX=no
  12286. ;;
  12287. *)
  12288. export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  12289. ;;
  12290. esac
  12291. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
  12292. $as_echo "$ld_shlibs_CXX" >&6; }
  12293. test "$ld_shlibs_CXX" = no && can_build_shared=no
  12294. with_gnu_ld_CXX=$with_gnu_ld
  12295. #
  12296. # Do we need to explicitly link libc?
  12297. #
  12298. case "x$archive_cmds_need_lc_CXX" in
  12299. x|xyes)
  12300. # Assume -lc should be added
  12301. archive_cmds_need_lc_CXX=yes
  12302. if test "$enable_shared" = yes && test "$GCC" = yes; then
  12303. case $archive_cmds_CXX in
  12304. *'~'*)
  12305. # FIXME: we may have to deal with multi-command sequences.
  12306. ;;
  12307. '$CC '*)
  12308. # Test whether the compiler implicitly links with -lc since on some
  12309. # systems, -lgcc has to come before -lc. If gcc already passes -lc
  12310. # to ld, don't add -lc before -lgcc.
  12311. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
  12312. $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
  12313. if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
  12314. $as_echo_n "(cached) " >&6
  12315. else
  12316. $RM conftest*
  12317. echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  12318. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  12319. (eval $ac_compile) 2>&5
  12320. ac_status=$?
  12321. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  12322. test $ac_status = 0; } 2>conftest.err; then
  12323. soname=conftest
  12324. lib=conftest
  12325. libobjs=conftest.$ac_objext
  12326. deplibs=
  12327. wl=$lt_prog_compiler_wl_CXX
  12328. pic_flag=$lt_prog_compiler_pic_CXX
  12329. compiler_flags=-v
  12330. linker_flags=-v
  12331. verstring=
  12332. output_objdir=.
  12333. libname=conftest
  12334. lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
  12335. allow_undefined_flag_CXX=
  12336. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
  12337. (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
  12338. ac_status=$?
  12339. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  12340. test $ac_status = 0; }
  12341. then
  12342. lt_cv_archive_cmds_need_lc_CXX=no
  12343. else
  12344. lt_cv_archive_cmds_need_lc_CXX=yes
  12345. fi
  12346. allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
  12347. else
  12348. cat conftest.err 1>&5
  12349. fi
  12350. $RM conftest*
  12351. fi
  12352. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
  12353. $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
  12354. archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
  12355. ;;
  12356. esac
  12357. fi
  12358. ;;
  12359. esac
  12360. { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
  12361. $as_echo_n "checking dynamic linker characteristics... " >&6; }
  12362. library_names_spec=
  12363. libname_spec='lib$name'
  12364. soname_spec=
  12365. shrext_cmds=".so"
  12366. postinstall_cmds=
  12367. postuninstall_cmds=
  12368. finish_cmds=
  12369. finish_eval=
  12370. shlibpath_var=
  12371. shlibpath_overrides_runpath=unknown
  12372. version_type=none
  12373. dynamic_linker="$host_os ld.so"
  12374. sys_lib_dlsearch_path_spec="/lib /usr/lib"
  12375. need_lib_prefix=unknown
  12376. hardcode_into_libs=no
  12377. # when you set need_version to no, make sure it does not cause -set_version
  12378. # flags to be left without arguments
  12379. need_version=unknown
  12380. case $host_os in
  12381. aix3*)
  12382. version_type=linux
  12383. library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
  12384. shlibpath_var=LIBPATH
  12385. # AIX 3 has no versioning support, so we append a major version to the name.
  12386. soname_spec='${libname}${release}${shared_ext}$major'
  12387. ;;
  12388. aix[4-9]*)
  12389. version_type=linux
  12390. need_lib_prefix=no
  12391. need_version=no
  12392. hardcode_into_libs=yes
  12393. if test "$host_cpu" = ia64; then
  12394. # AIX 5 supports IA64
  12395. library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
  12396. shlibpath_var=LD_LIBRARY_PATH
  12397. else
  12398. # With GCC up to 2.95.x, collect2 would create an import file
  12399. # for dependence libraries. The import file would start with
  12400. # the line `#! .'. This would cause the generated library to
  12401. # depend on `.', always an invalid library. This was fixed in
  12402. # development snapshots of GCC prior to 3.0.
  12403. case $host_os in
  12404. aix4 | aix4.[01] | aix4.[01].*)
  12405. if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
  12406. echo ' yes '
  12407. echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
  12408. :
  12409. else
  12410. can_build_shared=no
  12411. fi
  12412. ;;
  12413. esac
  12414. # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
  12415. # soname into executable. Probably we can add versioning support to
  12416. # collect2, so additional links can be useful in future.
  12417. if test "$aix_use_runtimelinking" = yes; then
  12418. # If using run time linking (on AIX 4.2 or later) use lib<name>.so
  12419. # instead of lib<name>.a to let people know that these are not
  12420. # typical AIX shared libraries.
  12421. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  12422. else
  12423. # We preserve .a as extension for shared libraries through AIX4.2
  12424. # and later when we are not doing run time linking.
  12425. library_names_spec='${libname}${release}.a $libname.a'
  12426. soname_spec='${libname}${release}${shared_ext}$major'
  12427. fi
  12428. shlibpath_var=LIBPATH
  12429. fi
  12430. ;;
  12431. amigaos*)
  12432. case $host_cpu in
  12433. powerpc)
  12434. # Since July 2007 AmigaOS4 officially supports .so libraries.
  12435. # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
  12436. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  12437. ;;
  12438. m68k)
  12439. library_names_spec='$libname.ixlibrary $libname.a'
  12440. # Create ${libname}_ixlibrary.a entries in /sys/libs.
  12441. 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'
  12442. ;;
  12443. esac
  12444. ;;
  12445. beos*)
  12446. library_names_spec='${libname}${shared_ext}'
  12447. dynamic_linker="$host_os ld.so"
  12448. shlibpath_var=LIBRARY_PATH
  12449. ;;
  12450. bsdi[45]*)
  12451. version_type=linux
  12452. need_version=no
  12453. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  12454. soname_spec='${libname}${release}${shared_ext}$major'
  12455. finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
  12456. shlibpath_var=LD_LIBRARY_PATH
  12457. sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
  12458. sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
  12459. # the default ld.so.conf also contains /usr/contrib/lib and
  12460. # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
  12461. # libtool to hard-code these into programs
  12462. ;;
  12463. cygwin* | mingw* | pw32* | cegcc*)
  12464. version_type=windows
  12465. shrext_cmds=".dll"
  12466. need_version=no
  12467. need_lib_prefix=no
  12468. case $GCC,$cc_basename in
  12469. yes,*)
  12470. # gcc
  12471. library_names_spec='$libname.dll.a'
  12472. # DLL is installed to $(libdir)/../bin by postinstall_cmds
  12473. postinstall_cmds='base_file=`basename \${file}`~
  12474. dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
  12475. dldir=$destdir/`dirname \$dlpath`~
  12476. test -d \$dldir || mkdir -p \$dldir~
  12477. $install_prog $dir/$dlname \$dldir/$dlname~
  12478. chmod a+x \$dldir/$dlname~
  12479. if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
  12480. eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
  12481. fi'
  12482. postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
  12483. dlpath=$dir/\$dldll~
  12484. $RM \$dlpath'
  12485. shlibpath_overrides_runpath=yes
  12486. case $host_os in
  12487. cygwin*)
  12488. # Cygwin DLLs use 'cyg' prefix rather than 'lib'
  12489. soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  12490. ;;
  12491. mingw* | cegcc*)
  12492. # MinGW DLLs use traditional 'lib' prefix
  12493. soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  12494. ;;
  12495. pw32*)
  12496. # pw32 DLLs use 'pw' prefix rather than 'lib'
  12497. library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  12498. ;;
  12499. esac
  12500. dynamic_linker='Win32 ld.exe'
  12501. ;;
  12502. *,cl*)
  12503. # Native MSVC
  12504. libname_spec='$name'
  12505. soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  12506. library_names_spec='${libname}.dll.lib'
  12507. case $build_os in
  12508. mingw*)
  12509. sys_lib_search_path_spec=
  12510. lt_save_ifs=$IFS
  12511. IFS=';'
  12512. for lt_path in $LIB
  12513. do
  12514. IFS=$lt_save_ifs
  12515. # Let DOS variable expansion print the short 8.3 style file name.
  12516. lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
  12517. sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
  12518. done
  12519. IFS=$lt_save_ifs
  12520. # Convert to MSYS style.
  12521. sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
  12522. ;;
  12523. cygwin*)
  12524. # Convert to unix form, then to dos form, then back to unix form
  12525. # but this time dos style (no spaces!) so that the unix form looks
  12526. # like /cygdrive/c/PROGRA~1:/cygdr...
  12527. sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
  12528. sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
  12529. sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
  12530. ;;
  12531. *)
  12532. sys_lib_search_path_spec="$LIB"
  12533. if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
  12534. # It is most probably a Windows format PATH.
  12535. sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
  12536. else
  12537. sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
  12538. fi
  12539. # FIXME: find the short name or the path components, as spaces are
  12540. # common. (e.g. "Program Files" -> "PROGRA~1")
  12541. ;;
  12542. esac
  12543. # DLL is installed to $(libdir)/../bin by postinstall_cmds
  12544. postinstall_cmds='base_file=`basename \${file}`~
  12545. dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
  12546. dldir=$destdir/`dirname \$dlpath`~
  12547. test -d \$dldir || mkdir -p \$dldir~
  12548. $install_prog $dir/$dlname \$dldir/$dlname'
  12549. postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
  12550. dlpath=$dir/\$dldll~
  12551. $RM \$dlpath'
  12552. shlibpath_overrides_runpath=yes
  12553. dynamic_linker='Win32 link.exe'
  12554. ;;
  12555. *)
  12556. # Assume MSVC wrapper
  12557. library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
  12558. dynamic_linker='Win32 ld.exe'
  12559. ;;
  12560. esac
  12561. # FIXME: first we should search . and the directory the executable is in
  12562. shlibpath_var=PATH
  12563. ;;
  12564. darwin* | rhapsody*)
  12565. dynamic_linker="$host_os dyld"
  12566. version_type=darwin
  12567. need_lib_prefix=no
  12568. need_version=no
  12569. library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
  12570. soname_spec='${libname}${release}${major}$shared_ext'
  12571. shlibpath_overrides_runpath=yes
  12572. shlibpath_var=DYLD_LIBRARY_PATH
  12573. shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
  12574. sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
  12575. ;;
  12576. dgux*)
  12577. version_type=linux
  12578. need_lib_prefix=no
  12579. need_version=no
  12580. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
  12581. soname_spec='${libname}${release}${shared_ext}$major'
  12582. shlibpath_var=LD_LIBRARY_PATH
  12583. ;;
  12584. freebsd1*)
  12585. dynamic_linker=no
  12586. ;;
  12587. freebsd* | dragonfly*)
  12588. # DragonFly does not have aout. When/if they implement a new
  12589. # versioning mechanism, adjust this.
  12590. if test -x /usr/bin/objformat; then
  12591. objformat=`/usr/bin/objformat`
  12592. else
  12593. case $host_os in
  12594. freebsd[123]*) objformat=aout ;;
  12595. *) objformat=elf ;;
  12596. esac
  12597. fi
  12598. version_type=freebsd-$objformat
  12599. case $version_type in
  12600. freebsd-elf*)
  12601. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
  12602. need_version=no
  12603. need_lib_prefix=no
  12604. ;;
  12605. freebsd-*)
  12606. library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
  12607. need_version=yes
  12608. ;;
  12609. esac
  12610. shlibpath_var=LD_LIBRARY_PATH
  12611. case $host_os in
  12612. freebsd2*)
  12613. shlibpath_overrides_runpath=yes
  12614. ;;
  12615. freebsd3.[01]* | freebsdelf3.[01]*)
  12616. shlibpath_overrides_runpath=yes
  12617. hardcode_into_libs=yes
  12618. ;;
  12619. freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
  12620. freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
  12621. shlibpath_overrides_runpath=no
  12622. hardcode_into_libs=yes
  12623. ;;
  12624. *) # from 4.6 on, and DragonFly
  12625. shlibpath_overrides_runpath=yes
  12626. hardcode_into_libs=yes
  12627. ;;
  12628. esac
  12629. ;;
  12630. gnu*)
  12631. version_type=linux
  12632. need_lib_prefix=no
  12633. need_version=no
  12634. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
  12635. soname_spec='${libname}${release}${shared_ext}$major'
  12636. shlibpath_var=LD_LIBRARY_PATH
  12637. shlibpath_overrides_runpath=no
  12638. hardcode_into_libs=yes
  12639. ;;
  12640. haiku*)
  12641. version_type=linux
  12642. need_lib_prefix=no
  12643. need_version=no
  12644. dynamic_linker="$host_os runtime_loader"
  12645. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
  12646. soname_spec='${libname}${release}${shared_ext}$major'
  12647. shlibpath_var=LIBRARY_PATH
  12648. shlibpath_overrides_runpath=yes
  12649. sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
  12650. hardcode_into_libs=yes
  12651. ;;
  12652. hpux9* | hpux10* | hpux11*)
  12653. # Give a soname corresponding to the major version so that dld.sl refuses to
  12654. # link against other versions.
  12655. version_type=sunos
  12656. need_lib_prefix=no
  12657. need_version=no
  12658. case $host_cpu in
  12659. ia64*)
  12660. shrext_cmds='.so'
  12661. hardcode_into_libs=yes
  12662. dynamic_linker="$host_os dld.so"
  12663. shlibpath_var=LD_LIBRARY_PATH
  12664. shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  12665. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  12666. soname_spec='${libname}${release}${shared_ext}$major'
  12667. if test "X$HPUX_IA64_MODE" = X32; then
  12668. sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
  12669. else
  12670. sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
  12671. fi
  12672. sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  12673. ;;
  12674. hppa*64*)
  12675. shrext_cmds='.sl'
  12676. hardcode_into_libs=yes
  12677. dynamic_linker="$host_os dld.sl"
  12678. shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
  12679. shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  12680. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  12681. soname_spec='${libname}${release}${shared_ext}$major'
  12682. sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
  12683. sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  12684. ;;
  12685. *)
  12686. shrext_cmds='.sl'
  12687. dynamic_linker="$host_os dld.sl"
  12688. shlibpath_var=SHLIB_PATH
  12689. shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
  12690. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  12691. soname_spec='${libname}${release}${shared_ext}$major'
  12692. ;;
  12693. esac
  12694. # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
  12695. postinstall_cmds='chmod 555 $lib'
  12696. # or fails outright, so override atomically:
  12697. install_override_mode=555
  12698. ;;
  12699. interix[3-9]*)
  12700. version_type=linux
  12701. need_lib_prefix=no
  12702. need_version=no
  12703. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  12704. soname_spec='${libname}${release}${shared_ext}$major'
  12705. dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
  12706. shlibpath_var=LD_LIBRARY_PATH
  12707. shlibpath_overrides_runpath=no
  12708. hardcode_into_libs=yes
  12709. ;;
  12710. irix5* | irix6* | nonstopux*)
  12711. case $host_os in
  12712. nonstopux*) version_type=nonstopux ;;
  12713. *)
  12714. if test "$lt_cv_prog_gnu_ld" = yes; then
  12715. version_type=linux
  12716. else
  12717. version_type=irix
  12718. fi ;;
  12719. esac
  12720. need_lib_prefix=no
  12721. need_version=no
  12722. soname_spec='${libname}${release}${shared_ext}$major'
  12723. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
  12724. case $host_os in
  12725. irix5* | nonstopux*)
  12726. libsuff= shlibsuff=
  12727. ;;
  12728. *)
  12729. case $LD in # libtool.m4 will add one of these switches to LD
  12730. *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
  12731. libsuff= shlibsuff= libmagic=32-bit;;
  12732. *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
  12733. libsuff=32 shlibsuff=N32 libmagic=N32;;
  12734. *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
  12735. libsuff=64 shlibsuff=64 libmagic=64-bit;;
  12736. *) libsuff= shlibsuff= libmagic=never-match;;
  12737. esac
  12738. ;;
  12739. esac
  12740. shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
  12741. shlibpath_overrides_runpath=no
  12742. sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
  12743. sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
  12744. hardcode_into_libs=yes
  12745. ;;
  12746. # No shared lib support for Linux oldld, aout, or coff.
  12747. linux*oldld* | linux*aout* | linux*coff*)
  12748. dynamic_linker=no
  12749. ;;
  12750. # This must be Linux ELF.
  12751. linux* | k*bsd*-gnu | kopensolaris*-gnu)
  12752. version_type=linux
  12753. need_lib_prefix=no
  12754. need_version=no
  12755. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  12756. soname_spec='${libname}${release}${shared_ext}$major'
  12757. finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
  12758. shlibpath_var=LD_LIBRARY_PATH
  12759. shlibpath_overrides_runpath=no
  12760. # Some binutils ld are patched to set DT_RUNPATH
  12761. if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
  12762. $as_echo_n "(cached) " >&6
  12763. else
  12764. lt_cv_shlibpath_overrides_runpath=no
  12765. save_LDFLAGS=$LDFLAGS
  12766. save_libdir=$libdir
  12767. eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
  12768. LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
  12769. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12770. /* end confdefs.h. */
  12771. int
  12772. main ()
  12773. {
  12774. ;
  12775. return 0;
  12776. }
  12777. _ACEOF
  12778. if ac_fn_cxx_try_link "$LINENO"; then :
  12779. if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
  12780. lt_cv_shlibpath_overrides_runpath=yes
  12781. fi
  12782. fi
  12783. rm -f core conftest.err conftest.$ac_objext \
  12784. conftest$ac_exeext conftest.$ac_ext
  12785. LDFLAGS=$save_LDFLAGS
  12786. libdir=$save_libdir
  12787. fi
  12788. shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
  12789. # This implies no fast_install, which is unacceptable.
  12790. # Some rework will be needed to allow for fast_install
  12791. # before this can be enabled.
  12792. hardcode_into_libs=yes
  12793. # Append ld.so.conf contents to the search path
  12794. if test -f /etc/ld.so.conf; then
  12795. 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' ' '`
  12796. sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
  12797. fi
  12798. # We used to test for /lib/ld.so.1 and disable shared libraries on
  12799. # powerpc, because MkLinux only supported shared libraries with the
  12800. # GNU dynamic linker. Since this was broken with cross compilers,
  12801. # most powerpc-linux boxes support dynamic linking these days and
  12802. # people can always --disable-shared, the test was removed, and we
  12803. # assume the GNU/Linux dynamic linker is in use.
  12804. dynamic_linker='GNU/Linux ld.so'
  12805. ;;
  12806. netbsdelf*-gnu)
  12807. version_type=linux
  12808. need_lib_prefix=no
  12809. need_version=no
  12810. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  12811. soname_spec='${libname}${release}${shared_ext}$major'
  12812. shlibpath_var=LD_LIBRARY_PATH
  12813. shlibpath_overrides_runpath=no
  12814. hardcode_into_libs=yes
  12815. dynamic_linker='NetBSD ld.elf_so'
  12816. ;;
  12817. netbsd*)
  12818. version_type=sunos
  12819. need_lib_prefix=no
  12820. need_version=no
  12821. if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  12822. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  12823. finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  12824. dynamic_linker='NetBSD (a.out) ld.so'
  12825. else
  12826. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  12827. soname_spec='${libname}${release}${shared_ext}$major'
  12828. dynamic_linker='NetBSD ld.elf_so'
  12829. fi
  12830. shlibpath_var=LD_LIBRARY_PATH
  12831. shlibpath_overrides_runpath=yes
  12832. hardcode_into_libs=yes
  12833. ;;
  12834. newsos6)
  12835. version_type=linux
  12836. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  12837. shlibpath_var=LD_LIBRARY_PATH
  12838. shlibpath_overrides_runpath=yes
  12839. ;;
  12840. *nto* | *qnx*)
  12841. version_type=qnx
  12842. need_lib_prefix=no
  12843. need_version=no
  12844. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  12845. soname_spec='${libname}${release}${shared_ext}$major'
  12846. shlibpath_var=LD_LIBRARY_PATH
  12847. shlibpath_overrides_runpath=no
  12848. hardcode_into_libs=yes
  12849. dynamic_linker='ldqnx.so'
  12850. ;;
  12851. openbsd*)
  12852. version_type=sunos
  12853. sys_lib_dlsearch_path_spec="/usr/lib"
  12854. need_lib_prefix=no
  12855. # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
  12856. case $host_os in
  12857. openbsd3.3 | openbsd3.3.*) need_version=yes ;;
  12858. *) need_version=no ;;
  12859. esac
  12860. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  12861. finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  12862. shlibpath_var=LD_LIBRARY_PATH
  12863. if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  12864. case $host_os in
  12865. openbsd2.[89] | openbsd2.[89].*)
  12866. shlibpath_overrides_runpath=no
  12867. ;;
  12868. *)
  12869. shlibpath_overrides_runpath=yes
  12870. ;;
  12871. esac
  12872. else
  12873. shlibpath_overrides_runpath=yes
  12874. fi
  12875. ;;
  12876. os2*)
  12877. libname_spec='$name'
  12878. shrext_cmds=".dll"
  12879. need_lib_prefix=no
  12880. library_names_spec='$libname${shared_ext} $libname.a'
  12881. dynamic_linker='OS/2 ld.exe'
  12882. shlibpath_var=LIBPATH
  12883. ;;
  12884. osf3* | osf4* | osf5*)
  12885. version_type=osf
  12886. need_lib_prefix=no
  12887. need_version=no
  12888. soname_spec='${libname}${release}${shared_ext}$major'
  12889. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  12890. shlibpath_var=LD_LIBRARY_PATH
  12891. sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
  12892. sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
  12893. ;;
  12894. rdos*)
  12895. dynamic_linker=no
  12896. ;;
  12897. solaris*)
  12898. version_type=linux
  12899. need_lib_prefix=no
  12900. need_version=no
  12901. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  12902. soname_spec='${libname}${release}${shared_ext}$major'
  12903. shlibpath_var=LD_LIBRARY_PATH
  12904. shlibpath_overrides_runpath=yes
  12905. hardcode_into_libs=yes
  12906. # ldd complains unless libraries are executable
  12907. postinstall_cmds='chmod +x $lib'
  12908. ;;
  12909. sunos4*)
  12910. version_type=sunos
  12911. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  12912. finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
  12913. shlibpath_var=LD_LIBRARY_PATH
  12914. shlibpath_overrides_runpath=yes
  12915. if test "$with_gnu_ld" = yes; then
  12916. need_lib_prefix=no
  12917. fi
  12918. need_version=yes
  12919. ;;
  12920. sysv4 | sysv4.3*)
  12921. version_type=linux
  12922. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  12923. soname_spec='${libname}${release}${shared_ext}$major'
  12924. shlibpath_var=LD_LIBRARY_PATH
  12925. case $host_vendor in
  12926. sni)
  12927. shlibpath_overrides_runpath=no
  12928. need_lib_prefix=no
  12929. runpath_var=LD_RUN_PATH
  12930. ;;
  12931. siemens)
  12932. need_lib_prefix=no
  12933. ;;
  12934. motorola)
  12935. need_lib_prefix=no
  12936. need_version=no
  12937. shlibpath_overrides_runpath=no
  12938. sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
  12939. ;;
  12940. esac
  12941. ;;
  12942. sysv4*MP*)
  12943. if test -d /usr/nec ;then
  12944. version_type=linux
  12945. library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
  12946. soname_spec='$libname${shared_ext}.$major'
  12947. shlibpath_var=LD_LIBRARY_PATH
  12948. fi
  12949. ;;
  12950. sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  12951. version_type=freebsd-elf
  12952. need_lib_prefix=no
  12953. need_version=no
  12954. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
  12955. soname_spec='${libname}${release}${shared_ext}$major'
  12956. shlibpath_var=LD_LIBRARY_PATH
  12957. shlibpath_overrides_runpath=yes
  12958. hardcode_into_libs=yes
  12959. if test "$with_gnu_ld" = yes; then
  12960. sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
  12961. else
  12962. sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
  12963. case $host_os in
  12964. sco3.2v5*)
  12965. sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
  12966. ;;
  12967. esac
  12968. fi
  12969. sys_lib_dlsearch_path_spec='/usr/lib'
  12970. ;;
  12971. tpf*)
  12972. # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
  12973. version_type=linux
  12974. need_lib_prefix=no
  12975. need_version=no
  12976. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  12977. shlibpath_var=LD_LIBRARY_PATH
  12978. shlibpath_overrides_runpath=no
  12979. hardcode_into_libs=yes
  12980. ;;
  12981. uts4*)
  12982. version_type=linux
  12983. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  12984. soname_spec='${libname}${release}${shared_ext}$major'
  12985. shlibpath_var=LD_LIBRARY_PATH
  12986. ;;
  12987. *)
  12988. dynamic_linker=no
  12989. ;;
  12990. esac
  12991. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
  12992. $as_echo "$dynamic_linker" >&6; }
  12993. test "$dynamic_linker" = no && can_build_shared=no
  12994. variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
  12995. if test "$GCC" = yes; then
  12996. variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
  12997. fi
  12998. if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
  12999. sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
  13000. fi
  13001. if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
  13002. sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
  13003. fi
  13004. { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
  13005. $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
  13006. hardcode_action_CXX=
  13007. if test -n "$hardcode_libdir_flag_spec_CXX" ||
  13008. test -n "$runpath_var_CXX" ||
  13009. test "X$hardcode_automatic_CXX" = "Xyes" ; then
  13010. # We can hardcode non-existent directories.
  13011. if test "$hardcode_direct_CXX" != no &&
  13012. # If the only mechanism to avoid hardcoding is shlibpath_var, we
  13013. # have to relink, otherwise we might link with an installed library
  13014. # when we should be linking with a yet-to-be-installed one
  13015. ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
  13016. test "$hardcode_minus_L_CXX" != no; then
  13017. # Linking always hardcodes the temporary library directory.
  13018. hardcode_action_CXX=relink
  13019. else
  13020. # We can link without hardcoding, and we can hardcode nonexisting dirs.
  13021. hardcode_action_CXX=immediate
  13022. fi
  13023. else
  13024. # We cannot hardcode anything, or else we can only hardcode existing
  13025. # directories.
  13026. hardcode_action_CXX=unsupported
  13027. fi
  13028. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
  13029. $as_echo "$hardcode_action_CXX" >&6; }
  13030. if test "$hardcode_action_CXX" = relink ||
  13031. test "$inherit_rpath_CXX" = yes; then
  13032. # Fast installation is not supported
  13033. enable_fast_install=no
  13034. elif test "$shlibpath_overrides_runpath" = yes ||
  13035. test "$enable_shared" = no; then
  13036. # Fast installation is not necessary
  13037. enable_fast_install=needless
  13038. fi
  13039. fi # test -n "$compiler"
  13040. CC=$lt_save_CC
  13041. CFLAGS=$lt_save_CFLAGS
  13042. LDCXX=$LD
  13043. LD=$lt_save_LD
  13044. GCC=$lt_save_GCC
  13045. with_gnu_ld=$lt_save_with_gnu_ld
  13046. lt_cv_path_LDCXX=$lt_cv_path_LD
  13047. lt_cv_path_LD=$lt_save_path_LD
  13048. lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
  13049. lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
  13050. fi # test "$_lt_caught_CXX_error" != yes
  13051. ac_ext=cpp
  13052. ac_cpp='$CXXCPP $CPPFLAGS'
  13053. ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  13054. ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  13055. ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  13056. ac_config_commands="$ac_config_commands libtool"
  13057. # Only expand once:
  13058. ac_fn_cxx_check_decl "$LINENO" "strerror_r" "ac_cv_have_decl_strerror_r" "$ac_includes_default"
  13059. if test "x$ac_cv_have_decl_strerror_r" = xyes; then :
  13060. ac_have_decl=1
  13061. else
  13062. ac_have_decl=0
  13063. fi
  13064. cat >>confdefs.h <<_ACEOF
  13065. #define HAVE_DECL_STRERROR_R $ac_have_decl
  13066. _ACEOF
  13067. for ac_func in strerror_r
  13068. do :
  13069. ac_fn_cxx_check_func "$LINENO" "strerror_r" "ac_cv_func_strerror_r"
  13070. if test "x$ac_cv_func_strerror_r" = xyes; then :
  13071. cat >>confdefs.h <<_ACEOF
  13072. #define HAVE_STRERROR_R 1
  13073. _ACEOF
  13074. fi
  13075. done
  13076. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strerror_r returns char *" >&5
  13077. $as_echo_n "checking whether strerror_r returns char *... " >&6; }
  13078. if ${ac_cv_func_strerror_r_char_p+:} false; then :
  13079. $as_echo_n "(cached) " >&6
  13080. else
  13081. ac_cv_func_strerror_r_char_p=no
  13082. if test $ac_cv_have_decl_strerror_r = yes; then
  13083. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13084. /* end confdefs.h. */
  13085. $ac_includes_default
  13086. int
  13087. main ()
  13088. {
  13089. char buf[100];
  13090. char x = *strerror_r (0, buf, sizeof buf);
  13091. char *p = strerror_r (0, buf, sizeof buf);
  13092. return !p || x;
  13093. ;
  13094. return 0;
  13095. }
  13096. _ACEOF
  13097. if ac_fn_cxx_try_compile "$LINENO"; then :
  13098. ac_cv_func_strerror_r_char_p=yes
  13099. fi
  13100. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  13101. else
  13102. # strerror_r is not declared. Choose between
  13103. # systems that have relatively inaccessible declarations for the
  13104. # function. BeOS and DEC UNIX 4.0 fall in this category, but the
  13105. # former has a strerror_r that returns char*, while the latter
  13106. # has a strerror_r that returns `int'.
  13107. # This test should segfault on the DEC system.
  13108. if test "$cross_compiling" = yes; then :
  13109. :
  13110. else
  13111. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13112. /* end confdefs.h. */
  13113. $ac_includes_default
  13114. extern char *strerror_r ();
  13115. int
  13116. main ()
  13117. {
  13118. char buf[100];
  13119. char x = *strerror_r (0, buf, sizeof buf);
  13120. return ! isalpha (x);
  13121. ;
  13122. return 0;
  13123. }
  13124. _ACEOF
  13125. if ac_fn_cxx_try_run "$LINENO"; then :
  13126. ac_cv_func_strerror_r_char_p=yes
  13127. fi
  13128. rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  13129. conftest.$ac_objext conftest.beam conftest.$ac_ext
  13130. fi
  13131. fi
  13132. fi
  13133. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strerror_r_char_p" >&5
  13134. $as_echo "$ac_cv_func_strerror_r_char_p" >&6; }
  13135. if test $ac_cv_func_strerror_r_char_p = yes; then
  13136. $as_echo "#define STRERROR_R_CHAR_P 1" >>confdefs.h
  13137. fi
  13138. if test x$ac_cv_func_strerror_r_char_p = xyes; then
  13139. HAVE_GNU_STRERROR_TRUE=
  13140. HAVE_GNU_STRERROR_FALSE='#'
  13141. else
  13142. HAVE_GNU_STRERROR_TRUE='#'
  13143. HAVE_GNU_STRERROR_FALSE=
  13144. fi
  13145. # Files:
  13146. DX_PROJECT=libzipper
  13147. DX_CONFIG=Doxyfile
  13148. DX_DOCDIR=doc
  13149. # Environment variables used inside doxygen.cfg:
  13150. DX_ENV="$DX_ENV SRCDIR='$srcdir'"
  13151. DX_ENV="$DX_ENV PROJECT='$DX_PROJECT'"
  13152. DX_ENV="$DX_ENV DOCDIR='$DX_DOCDIR'"
  13153. DX_ENV="$DX_ENV VERSION='$PACKAGE_VERSION'"
  13154. # Doxygen itself:
  13155. # Check whether --enable-doxygen-doc was given.
  13156. if test "${enable_doxygen_doc+set}" = set; then :
  13157. enableval=$enable_doxygen_doc;
  13158. case "$enableval" in
  13159. #(
  13160. y|Y|yes|Yes|YES)
  13161. DX_FLAG_doc=1
  13162. ;; #(
  13163. n|N|no|No|NO)
  13164. DX_FLAG_doc=0
  13165. ;; #(
  13166. *)
  13167. as_fn_error $? "invalid value '$enableval' given to doxygen-doc" "$LINENO" 5
  13168. ;;
  13169. esac
  13170. else
  13171. DX_FLAG_doc=1
  13172. fi
  13173. if test "$DX_FLAG_doc" = 1; then
  13174. if test -n "$ac_tool_prefix"; then
  13175. # Extract the first word of "${ac_tool_prefix}doxygen", so it can be a program name with args.
  13176. set dummy ${ac_tool_prefix}doxygen; ac_word=$2
  13177. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  13178. $as_echo_n "checking for $ac_word... " >&6; }
  13179. if ${ac_cv_path_DX_DOXYGEN+:} false; then :
  13180. $as_echo_n "(cached) " >&6
  13181. else
  13182. case $DX_DOXYGEN in
  13183. [\\/]* | ?:[\\/]*)
  13184. ac_cv_path_DX_DOXYGEN="$DX_DOXYGEN" # Let the user override the test with a path.
  13185. ;;
  13186. *)
  13187. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  13188. for as_dir in $PATH
  13189. do
  13190. IFS=$as_save_IFS
  13191. test -z "$as_dir" && as_dir=.
  13192. for ac_exec_ext in '' $ac_executable_extensions; do
  13193. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  13194. ac_cv_path_DX_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
  13195. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  13196. break 2
  13197. fi
  13198. done
  13199. done
  13200. IFS=$as_save_IFS
  13201. ;;
  13202. esac
  13203. fi
  13204. DX_DOXYGEN=$ac_cv_path_DX_DOXYGEN
  13205. if test -n "$DX_DOXYGEN"; then
  13206. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_DOXYGEN" >&5
  13207. $as_echo "$DX_DOXYGEN" >&6; }
  13208. else
  13209. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  13210. $as_echo "no" >&6; }
  13211. fi
  13212. fi
  13213. if test -z "$ac_cv_path_DX_DOXYGEN"; then
  13214. ac_pt_DX_DOXYGEN=$DX_DOXYGEN
  13215. # Extract the first word of "doxygen", so it can be a program name with args.
  13216. set dummy doxygen; ac_word=$2
  13217. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  13218. $as_echo_n "checking for $ac_word... " >&6; }
  13219. if ${ac_cv_path_ac_pt_DX_DOXYGEN+:} false; then :
  13220. $as_echo_n "(cached) " >&6
  13221. else
  13222. case $ac_pt_DX_DOXYGEN in
  13223. [\\/]* | ?:[\\/]*)
  13224. ac_cv_path_ac_pt_DX_DOXYGEN="$ac_pt_DX_DOXYGEN" # Let the user override the test with a path.
  13225. ;;
  13226. *)
  13227. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  13228. for as_dir in $PATH
  13229. do
  13230. IFS=$as_save_IFS
  13231. test -z "$as_dir" && as_dir=.
  13232. for ac_exec_ext in '' $ac_executable_extensions; do
  13233. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  13234. ac_cv_path_ac_pt_DX_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
  13235. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  13236. break 2
  13237. fi
  13238. done
  13239. done
  13240. IFS=$as_save_IFS
  13241. ;;
  13242. esac
  13243. fi
  13244. ac_pt_DX_DOXYGEN=$ac_cv_path_ac_pt_DX_DOXYGEN
  13245. if test -n "$ac_pt_DX_DOXYGEN"; then
  13246. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_DOXYGEN" >&5
  13247. $as_echo "$ac_pt_DX_DOXYGEN" >&6; }
  13248. else
  13249. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  13250. $as_echo "no" >&6; }
  13251. fi
  13252. if test "x$ac_pt_DX_DOXYGEN" = x; then
  13253. DX_DOXYGEN=""
  13254. else
  13255. case $cross_compiling:$ac_tool_warned in
  13256. yes:)
  13257. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  13258. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  13259. ac_tool_warned=yes ;;
  13260. esac
  13261. DX_DOXYGEN=$ac_pt_DX_DOXYGEN
  13262. fi
  13263. else
  13264. DX_DOXYGEN="$ac_cv_path_DX_DOXYGEN"
  13265. fi
  13266. if test "$DX_FLAG_doc$DX_DOXYGEN" = 1; then
  13267. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: doxygen not found - will not generate any doxygen documentation" >&5
  13268. $as_echo "$as_me: WARNING: doxygen not found - will not generate any doxygen documentation" >&2;}
  13269. DX_FLAG_doc=0
  13270. fi
  13271. if test -n "$ac_tool_prefix"; then
  13272. # Extract the first word of "${ac_tool_prefix}perl", so it can be a program name with args.
  13273. set dummy ${ac_tool_prefix}perl; ac_word=$2
  13274. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  13275. $as_echo_n "checking for $ac_word... " >&6; }
  13276. if ${ac_cv_path_DX_PERL+:} false; then :
  13277. $as_echo_n "(cached) " >&6
  13278. else
  13279. case $DX_PERL in
  13280. [\\/]* | ?:[\\/]*)
  13281. ac_cv_path_DX_PERL="$DX_PERL" # Let the user override the test with a path.
  13282. ;;
  13283. *)
  13284. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  13285. for as_dir in $PATH
  13286. do
  13287. IFS=$as_save_IFS
  13288. test -z "$as_dir" && as_dir=.
  13289. for ac_exec_ext in '' $ac_executable_extensions; do
  13290. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  13291. ac_cv_path_DX_PERL="$as_dir/$ac_word$ac_exec_ext"
  13292. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  13293. break 2
  13294. fi
  13295. done
  13296. done
  13297. IFS=$as_save_IFS
  13298. ;;
  13299. esac
  13300. fi
  13301. DX_PERL=$ac_cv_path_DX_PERL
  13302. if test -n "$DX_PERL"; then
  13303. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_PERL" >&5
  13304. $as_echo "$DX_PERL" >&6; }
  13305. else
  13306. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  13307. $as_echo "no" >&6; }
  13308. fi
  13309. fi
  13310. if test -z "$ac_cv_path_DX_PERL"; then
  13311. ac_pt_DX_PERL=$DX_PERL
  13312. # Extract the first word of "perl", so it can be a program name with args.
  13313. set dummy perl; ac_word=$2
  13314. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  13315. $as_echo_n "checking for $ac_word... " >&6; }
  13316. if ${ac_cv_path_ac_pt_DX_PERL+:} false; then :
  13317. $as_echo_n "(cached) " >&6
  13318. else
  13319. case $ac_pt_DX_PERL in
  13320. [\\/]* | ?:[\\/]*)
  13321. ac_cv_path_ac_pt_DX_PERL="$ac_pt_DX_PERL" # Let the user override the test with a path.
  13322. ;;
  13323. *)
  13324. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  13325. for as_dir in $PATH
  13326. do
  13327. IFS=$as_save_IFS
  13328. test -z "$as_dir" && as_dir=.
  13329. for ac_exec_ext in '' $ac_executable_extensions; do
  13330. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  13331. ac_cv_path_ac_pt_DX_PERL="$as_dir/$ac_word$ac_exec_ext"
  13332. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  13333. break 2
  13334. fi
  13335. done
  13336. done
  13337. IFS=$as_save_IFS
  13338. ;;
  13339. esac
  13340. fi
  13341. ac_pt_DX_PERL=$ac_cv_path_ac_pt_DX_PERL
  13342. if test -n "$ac_pt_DX_PERL"; then
  13343. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_PERL" >&5
  13344. $as_echo "$ac_pt_DX_PERL" >&6; }
  13345. else
  13346. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  13347. $as_echo "no" >&6; }
  13348. fi
  13349. if test "x$ac_pt_DX_PERL" = x; then
  13350. DX_PERL=""
  13351. else
  13352. case $cross_compiling:$ac_tool_warned in
  13353. yes:)
  13354. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  13355. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  13356. ac_tool_warned=yes ;;
  13357. esac
  13358. DX_PERL=$ac_pt_DX_PERL
  13359. fi
  13360. else
  13361. DX_PERL="$ac_cv_path_DX_PERL"
  13362. fi
  13363. if test "$DX_FLAG_doc$DX_PERL" = 1; then
  13364. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: perl not found - will not generate any doxygen documentation" >&5
  13365. $as_echo "$as_me: WARNING: perl not found - will not generate any doxygen documentation" >&2;}
  13366. DX_FLAG_doc=0
  13367. fi
  13368. :
  13369. fi
  13370. if test "$DX_FLAG_doc" = 1; then
  13371. if :; then
  13372. DX_COND_doc_TRUE=
  13373. DX_COND_doc_FALSE='#'
  13374. else
  13375. DX_COND_doc_TRUE='#'
  13376. DX_COND_doc_FALSE=
  13377. fi
  13378. DX_ENV="$DX_ENV PERL_PATH='$DX_PERL'"
  13379. :
  13380. else
  13381. if false; then
  13382. DX_COND_doc_TRUE=
  13383. DX_COND_doc_FALSE='#'
  13384. else
  13385. DX_COND_doc_TRUE='#'
  13386. DX_COND_doc_FALSE=
  13387. fi
  13388. :
  13389. fi
  13390. # Dot for graphics:
  13391. # Check whether --enable-doxygen-dot was given.
  13392. if test "${enable_doxygen_dot+set}" = set; then :
  13393. enableval=$enable_doxygen_dot;
  13394. case "$enableval" in
  13395. #(
  13396. y|Y|yes|Yes|YES)
  13397. DX_FLAG_dot=1
  13398. test "$DX_FLAG_doc" = "1" \
  13399. || as_fn_error $? "doxygen-dot requires doxygen-dot" "$LINENO" 5
  13400. ;; #(
  13401. n|N|no|No|NO)
  13402. DX_FLAG_dot=0
  13403. ;; #(
  13404. *)
  13405. as_fn_error $? "invalid value '$enableval' given to doxygen-dot" "$LINENO" 5
  13406. ;;
  13407. esac
  13408. else
  13409. DX_FLAG_dot=0
  13410. test "$DX_FLAG_doc" = "1" || DX_FLAG_dot=0
  13411. fi
  13412. if test "$DX_FLAG_dot" = 1; then
  13413. if test -n "$ac_tool_prefix"; then
  13414. # Extract the first word of "${ac_tool_prefix}dot", so it can be a program name with args.
  13415. set dummy ${ac_tool_prefix}dot; ac_word=$2
  13416. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  13417. $as_echo_n "checking for $ac_word... " >&6; }
  13418. if ${ac_cv_path_DX_DOT+:} false; then :
  13419. $as_echo_n "(cached) " >&6
  13420. else
  13421. case $DX_DOT in
  13422. [\\/]* | ?:[\\/]*)
  13423. ac_cv_path_DX_DOT="$DX_DOT" # Let the user override the test with a path.
  13424. ;;
  13425. *)
  13426. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  13427. for as_dir in $PATH
  13428. do
  13429. IFS=$as_save_IFS
  13430. test -z "$as_dir" && as_dir=.
  13431. for ac_exec_ext in '' $ac_executable_extensions; do
  13432. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  13433. ac_cv_path_DX_DOT="$as_dir/$ac_word$ac_exec_ext"
  13434. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  13435. break 2
  13436. fi
  13437. done
  13438. done
  13439. IFS=$as_save_IFS
  13440. ;;
  13441. esac
  13442. fi
  13443. DX_DOT=$ac_cv_path_DX_DOT
  13444. if test -n "$DX_DOT"; then
  13445. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_DOT" >&5
  13446. $as_echo "$DX_DOT" >&6; }
  13447. else
  13448. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  13449. $as_echo "no" >&6; }
  13450. fi
  13451. fi
  13452. if test -z "$ac_cv_path_DX_DOT"; then
  13453. ac_pt_DX_DOT=$DX_DOT
  13454. # Extract the first word of "dot", so it can be a program name with args.
  13455. set dummy dot; ac_word=$2
  13456. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  13457. $as_echo_n "checking for $ac_word... " >&6; }
  13458. if ${ac_cv_path_ac_pt_DX_DOT+:} false; then :
  13459. $as_echo_n "(cached) " >&6
  13460. else
  13461. case $ac_pt_DX_DOT in
  13462. [\\/]* | ?:[\\/]*)
  13463. ac_cv_path_ac_pt_DX_DOT="$ac_pt_DX_DOT" # Let the user override the test with a path.
  13464. ;;
  13465. *)
  13466. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  13467. for as_dir in $PATH
  13468. do
  13469. IFS=$as_save_IFS
  13470. test -z "$as_dir" && as_dir=.
  13471. for ac_exec_ext in '' $ac_executable_extensions; do
  13472. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  13473. ac_cv_path_ac_pt_DX_DOT="$as_dir/$ac_word$ac_exec_ext"
  13474. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  13475. break 2
  13476. fi
  13477. done
  13478. done
  13479. IFS=$as_save_IFS
  13480. ;;
  13481. esac
  13482. fi
  13483. ac_pt_DX_DOT=$ac_cv_path_ac_pt_DX_DOT
  13484. if test -n "$ac_pt_DX_DOT"; then
  13485. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_DOT" >&5
  13486. $as_echo "$ac_pt_DX_DOT" >&6; }
  13487. else
  13488. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  13489. $as_echo "no" >&6; }
  13490. fi
  13491. if test "x$ac_pt_DX_DOT" = x; then
  13492. DX_DOT=""
  13493. else
  13494. case $cross_compiling:$ac_tool_warned in
  13495. yes:)
  13496. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  13497. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  13498. ac_tool_warned=yes ;;
  13499. esac
  13500. DX_DOT=$ac_pt_DX_DOT
  13501. fi
  13502. else
  13503. DX_DOT="$ac_cv_path_DX_DOT"
  13504. fi
  13505. if test "$DX_FLAG_dot$DX_DOT" = 1; then
  13506. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: dot not found - will not generate graphics for doxygen documentation" >&5
  13507. $as_echo "$as_me: WARNING: dot not found - will not generate graphics for doxygen documentation" >&2;}
  13508. DX_FLAG_dot=0
  13509. fi
  13510. :
  13511. fi
  13512. if test "$DX_FLAG_dot" = 1; then
  13513. if :; then
  13514. DX_COND_dot_TRUE=
  13515. DX_COND_dot_FALSE='#'
  13516. else
  13517. DX_COND_dot_TRUE='#'
  13518. DX_COND_dot_FALSE=
  13519. fi
  13520. DX_ENV="$DX_ENV HAVE_DOT='YES'"
  13521. DX_ENV="$DX_ENV DOT_PATH='`expr ".$DX_DOT" : '\(\.\)[^/]*$' \| "x$DX_DOT" : 'x\(.*\)/[^/]*$'`'"
  13522. :
  13523. else
  13524. if false; then
  13525. DX_COND_dot_TRUE=
  13526. DX_COND_dot_FALSE='#'
  13527. else
  13528. DX_COND_dot_TRUE='#'
  13529. DX_COND_dot_FALSE=
  13530. fi
  13531. DX_ENV="$DX_ENV HAVE_DOT='NO'"
  13532. :
  13533. fi
  13534. # Man pages generation:
  13535. # Check whether --enable-doxygen-man was given.
  13536. if test "${enable_doxygen_man+set}" = set; then :
  13537. enableval=$enable_doxygen_man;
  13538. case "$enableval" in
  13539. #(
  13540. y|Y|yes|Yes|YES)
  13541. DX_FLAG_man=1
  13542. test "$DX_FLAG_doc" = "1" \
  13543. || as_fn_error $? "doxygen-man requires doxygen-man" "$LINENO" 5
  13544. ;; #(
  13545. n|N|no|No|NO)
  13546. DX_FLAG_man=0
  13547. ;; #(
  13548. *)
  13549. as_fn_error $? "invalid value '$enableval' given to doxygen-man" "$LINENO" 5
  13550. ;;
  13551. esac
  13552. else
  13553. DX_FLAG_man=0
  13554. test "$DX_FLAG_doc" = "1" || DX_FLAG_man=0
  13555. fi
  13556. if test "$DX_FLAG_man" = 1; then
  13557. :
  13558. fi
  13559. if test "$DX_FLAG_man" = 1; then
  13560. if :; then
  13561. DX_COND_man_TRUE=
  13562. DX_COND_man_FALSE='#'
  13563. else
  13564. DX_COND_man_TRUE='#'
  13565. DX_COND_man_FALSE=
  13566. fi
  13567. DX_ENV="$DX_ENV GENERATE_MAN='YES'"
  13568. :
  13569. else
  13570. if false; then
  13571. DX_COND_man_TRUE=
  13572. DX_COND_man_FALSE='#'
  13573. else
  13574. DX_COND_man_TRUE='#'
  13575. DX_COND_man_FALSE=
  13576. fi
  13577. DX_ENV="$DX_ENV GENERATE_MAN='NO'"
  13578. :
  13579. fi
  13580. # RTF file generation:
  13581. # Check whether --enable-doxygen-rtf was given.
  13582. if test "${enable_doxygen_rtf+set}" = set; then :
  13583. enableval=$enable_doxygen_rtf;
  13584. case "$enableval" in
  13585. #(
  13586. y|Y|yes|Yes|YES)
  13587. DX_FLAG_rtf=1
  13588. test "$DX_FLAG_doc" = "1" \
  13589. || as_fn_error $? "doxygen-rtf requires doxygen-rtf" "$LINENO" 5
  13590. ;; #(
  13591. n|N|no|No|NO)
  13592. DX_FLAG_rtf=0
  13593. ;; #(
  13594. *)
  13595. as_fn_error $? "invalid value '$enableval' given to doxygen-rtf" "$LINENO" 5
  13596. ;;
  13597. esac
  13598. else
  13599. DX_FLAG_rtf=0
  13600. test "$DX_FLAG_doc" = "1" || DX_FLAG_rtf=0
  13601. fi
  13602. if test "$DX_FLAG_rtf" = 1; then
  13603. :
  13604. fi
  13605. if test "$DX_FLAG_rtf" = 1; then
  13606. if :; then
  13607. DX_COND_rtf_TRUE=
  13608. DX_COND_rtf_FALSE='#'
  13609. else
  13610. DX_COND_rtf_TRUE='#'
  13611. DX_COND_rtf_FALSE=
  13612. fi
  13613. DX_ENV="$DX_ENV GENERATE_RTF='YES'"
  13614. :
  13615. else
  13616. if false; then
  13617. DX_COND_rtf_TRUE=
  13618. DX_COND_rtf_FALSE='#'
  13619. else
  13620. DX_COND_rtf_TRUE='#'
  13621. DX_COND_rtf_FALSE=
  13622. fi
  13623. DX_ENV="$DX_ENV GENERATE_RTF='NO'"
  13624. :
  13625. fi
  13626. # XML file generation:
  13627. # Check whether --enable-doxygen-xml was given.
  13628. if test "${enable_doxygen_xml+set}" = set; then :
  13629. enableval=$enable_doxygen_xml;
  13630. case "$enableval" in
  13631. #(
  13632. y|Y|yes|Yes|YES)
  13633. DX_FLAG_xml=1
  13634. test "$DX_FLAG_doc" = "1" \
  13635. || as_fn_error $? "doxygen-xml requires doxygen-xml" "$LINENO" 5
  13636. ;; #(
  13637. n|N|no|No|NO)
  13638. DX_FLAG_xml=0
  13639. ;; #(
  13640. *)
  13641. as_fn_error $? "invalid value '$enableval' given to doxygen-xml" "$LINENO" 5
  13642. ;;
  13643. esac
  13644. else
  13645. DX_FLAG_xml=0
  13646. test "$DX_FLAG_doc" = "1" || DX_FLAG_xml=0
  13647. fi
  13648. if test "$DX_FLAG_xml" = 1; then
  13649. :
  13650. fi
  13651. if test "$DX_FLAG_xml" = 1; then
  13652. if :; then
  13653. DX_COND_xml_TRUE=
  13654. DX_COND_xml_FALSE='#'
  13655. else
  13656. DX_COND_xml_TRUE='#'
  13657. DX_COND_xml_FALSE=
  13658. fi
  13659. DX_ENV="$DX_ENV GENERATE_XML='YES'"
  13660. :
  13661. else
  13662. if false; then
  13663. DX_COND_xml_TRUE=
  13664. DX_COND_xml_FALSE='#'
  13665. else
  13666. DX_COND_xml_TRUE='#'
  13667. DX_COND_xml_FALSE=
  13668. fi
  13669. DX_ENV="$DX_ENV GENERATE_XML='NO'"
  13670. :
  13671. fi
  13672. # (Compressed) HTML help generation:
  13673. # Check whether --enable-doxygen-chm was given.
  13674. if test "${enable_doxygen_chm+set}" = set; then :
  13675. enableval=$enable_doxygen_chm;
  13676. case "$enableval" in
  13677. #(
  13678. y|Y|yes|Yes|YES)
  13679. DX_FLAG_chm=1
  13680. test "$DX_FLAG_doc" = "1" \
  13681. || as_fn_error $? "doxygen-chm requires doxygen-chm" "$LINENO" 5
  13682. ;; #(
  13683. n|N|no|No|NO)
  13684. DX_FLAG_chm=0
  13685. ;; #(
  13686. *)
  13687. as_fn_error $? "invalid value '$enableval' given to doxygen-chm" "$LINENO" 5
  13688. ;;
  13689. esac
  13690. else
  13691. DX_FLAG_chm=0
  13692. test "$DX_FLAG_doc" = "1" || DX_FLAG_chm=0
  13693. fi
  13694. if test "$DX_FLAG_chm" = 1; then
  13695. if test -n "$ac_tool_prefix"; then
  13696. # Extract the first word of "${ac_tool_prefix}hhc", so it can be a program name with args.
  13697. set dummy ${ac_tool_prefix}hhc; 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_DX_HHC+:} false; then :
  13701. $as_echo_n "(cached) " >&6
  13702. else
  13703. case $DX_HHC in
  13704. [\\/]* | ?:[\\/]*)
  13705. ac_cv_path_DX_HHC="$DX_HHC" # 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  13715. ac_cv_path_DX_HHC="$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. DX_HHC=$ac_cv_path_DX_HHC
  13726. if test -n "$DX_HHC"; then
  13727. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_HHC" >&5
  13728. $as_echo "$DX_HHC" >&6; }
  13729. else
  13730. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  13731. $as_echo "no" >&6; }
  13732. fi
  13733. fi
  13734. if test -z "$ac_cv_path_DX_HHC"; then
  13735. ac_pt_DX_HHC=$DX_HHC
  13736. # Extract the first word of "hhc", so it can be a program name with args.
  13737. set dummy hhc; ac_word=$2
  13738. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  13739. $as_echo_n "checking for $ac_word... " >&6; }
  13740. if ${ac_cv_path_ac_pt_DX_HHC+:} false; then :
  13741. $as_echo_n "(cached) " >&6
  13742. else
  13743. case $ac_pt_DX_HHC in
  13744. [\\/]* | ?:[\\/]*)
  13745. ac_cv_path_ac_pt_DX_HHC="$ac_pt_DX_HHC" # Let the user override the test with a path.
  13746. ;;
  13747. *)
  13748. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  13749. for as_dir in $PATH
  13750. do
  13751. IFS=$as_save_IFS
  13752. test -z "$as_dir" && as_dir=.
  13753. for ac_exec_ext in '' $ac_executable_extensions; do
  13754. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  13755. ac_cv_path_ac_pt_DX_HHC="$as_dir/$ac_word$ac_exec_ext"
  13756. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  13757. break 2
  13758. fi
  13759. done
  13760. done
  13761. IFS=$as_save_IFS
  13762. ;;
  13763. esac
  13764. fi
  13765. ac_pt_DX_HHC=$ac_cv_path_ac_pt_DX_HHC
  13766. if test -n "$ac_pt_DX_HHC"; then
  13767. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_HHC" >&5
  13768. $as_echo "$ac_pt_DX_HHC" >&6; }
  13769. else
  13770. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  13771. $as_echo "no" >&6; }
  13772. fi
  13773. if test "x$ac_pt_DX_HHC" = x; then
  13774. DX_HHC=""
  13775. else
  13776. case $cross_compiling:$ac_tool_warned in
  13777. yes:)
  13778. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  13779. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  13780. ac_tool_warned=yes ;;
  13781. esac
  13782. DX_HHC=$ac_pt_DX_HHC
  13783. fi
  13784. else
  13785. DX_HHC="$ac_cv_path_DX_HHC"
  13786. fi
  13787. if test "$DX_FLAG_chm$DX_HHC" = 1; then
  13788. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: hhc not found - will not generate doxygen compressed HTML help documentation" >&5
  13789. $as_echo "$as_me: WARNING: hhc not found - will not generate doxygen compressed HTML help documentation" >&2;}
  13790. DX_FLAG_chm=0
  13791. fi
  13792. :
  13793. fi
  13794. if test "$DX_FLAG_chm" = 1; then
  13795. if :; then
  13796. DX_COND_chm_TRUE=
  13797. DX_COND_chm_FALSE='#'
  13798. else
  13799. DX_COND_chm_TRUE='#'
  13800. DX_COND_chm_FALSE=
  13801. fi
  13802. DX_ENV="$DX_ENV HHC_PATH='$DX_HHC'"
  13803. DX_ENV="$DX_ENV GENERATE_HTML='YES'"
  13804. DX_ENV="$DX_ENV GENERATE_HTMLHELP='YES'"
  13805. :
  13806. else
  13807. if false; then
  13808. DX_COND_chm_TRUE=
  13809. DX_COND_chm_FALSE='#'
  13810. else
  13811. DX_COND_chm_TRUE='#'
  13812. DX_COND_chm_FALSE=
  13813. fi
  13814. DX_ENV="$DX_ENV GENERATE_HTMLHELP='NO'"
  13815. :
  13816. fi
  13817. # Seperate CHI file generation.
  13818. # Check whether --enable-doxygen-chi was given.
  13819. if test "${enable_doxygen_chi+set}" = set; then :
  13820. enableval=$enable_doxygen_chi;
  13821. case "$enableval" in
  13822. #(
  13823. y|Y|yes|Yes|YES)
  13824. DX_FLAG_chi=1
  13825. test "$DX_FLAG_chm" = "1" \
  13826. || as_fn_error $? "doxygen-chi requires doxygen-chi" "$LINENO" 5
  13827. ;; #(
  13828. n|N|no|No|NO)
  13829. DX_FLAG_chi=0
  13830. ;; #(
  13831. *)
  13832. as_fn_error $? "invalid value '$enableval' given to doxygen-chi" "$LINENO" 5
  13833. ;;
  13834. esac
  13835. else
  13836. DX_FLAG_chi=0
  13837. test "$DX_FLAG_chm" = "1" || DX_FLAG_chi=0
  13838. fi
  13839. if test "$DX_FLAG_chi" = 1; then
  13840. :
  13841. fi
  13842. if test "$DX_FLAG_chi" = 1; then
  13843. if :; then
  13844. DX_COND_chi_TRUE=
  13845. DX_COND_chi_FALSE='#'
  13846. else
  13847. DX_COND_chi_TRUE='#'
  13848. DX_COND_chi_FALSE=
  13849. fi
  13850. DX_ENV="$DX_ENV GENERATE_CHI='YES'"
  13851. :
  13852. else
  13853. if false; then
  13854. DX_COND_chi_TRUE=
  13855. DX_COND_chi_FALSE='#'
  13856. else
  13857. DX_COND_chi_TRUE='#'
  13858. DX_COND_chi_FALSE=
  13859. fi
  13860. DX_ENV="$DX_ENV GENERATE_CHI='NO'"
  13861. :
  13862. fi
  13863. # Plain HTML pages generation:
  13864. # Check whether --enable-doxygen-html was given.
  13865. if test "${enable_doxygen_html+set}" = set; then :
  13866. enableval=$enable_doxygen_html;
  13867. case "$enableval" in
  13868. #(
  13869. y|Y|yes|Yes|YES)
  13870. DX_FLAG_html=1
  13871. test "$DX_FLAG_doc" = "1" \
  13872. || as_fn_error $? "doxygen-html requires doxygen-html" "$LINENO" 5
  13873. test "$DX_FLAG_chm" = "0" \
  13874. || as_fn_error $? "doxygen-html contradicts doxygen-html" "$LINENO" 5
  13875. ;; #(
  13876. n|N|no|No|NO)
  13877. DX_FLAG_html=0
  13878. ;; #(
  13879. *)
  13880. as_fn_error $? "invalid value '$enableval' given to doxygen-html" "$LINENO" 5
  13881. ;;
  13882. esac
  13883. else
  13884. DX_FLAG_html=1
  13885. test "$DX_FLAG_doc" = "1" || DX_FLAG_html=0
  13886. test "$DX_FLAG_chm" = "0" || DX_FLAG_html=0
  13887. fi
  13888. if test "$DX_FLAG_html" = 1; then
  13889. :
  13890. fi
  13891. if test "$DX_FLAG_html" = 1; then
  13892. if :; then
  13893. DX_COND_html_TRUE=
  13894. DX_COND_html_FALSE='#'
  13895. else
  13896. DX_COND_html_TRUE='#'
  13897. DX_COND_html_FALSE=
  13898. fi
  13899. DX_ENV="$DX_ENV GENERATE_HTML='YES'"
  13900. :
  13901. else
  13902. if false; then
  13903. DX_COND_html_TRUE=
  13904. DX_COND_html_FALSE='#'
  13905. else
  13906. DX_COND_html_TRUE='#'
  13907. DX_COND_html_FALSE=
  13908. fi
  13909. test "$DX_FLAG_chm" = 1 || DX_ENV="$DX_ENV GENERATE_HTML='NO'"
  13910. :
  13911. fi
  13912. # PostScript file generation:
  13913. # Check whether --enable-doxygen-ps was given.
  13914. if test "${enable_doxygen_ps+set}" = set; then :
  13915. enableval=$enable_doxygen_ps;
  13916. case "$enableval" in
  13917. #(
  13918. y|Y|yes|Yes|YES)
  13919. DX_FLAG_ps=1
  13920. test "$DX_FLAG_doc" = "1" \
  13921. || as_fn_error $? "doxygen-ps requires doxygen-ps" "$LINENO" 5
  13922. ;; #(
  13923. n|N|no|No|NO)
  13924. DX_FLAG_ps=0
  13925. ;; #(
  13926. *)
  13927. as_fn_error $? "invalid value '$enableval' given to doxygen-ps" "$LINENO" 5
  13928. ;;
  13929. esac
  13930. else
  13931. DX_FLAG_ps=0
  13932. test "$DX_FLAG_doc" = "1" || DX_FLAG_ps=0
  13933. fi
  13934. if test "$DX_FLAG_ps" = 1; then
  13935. if test -n "$ac_tool_prefix"; then
  13936. # Extract the first word of "${ac_tool_prefix}latex", so it can be a program name with args.
  13937. set dummy ${ac_tool_prefix}latex; ac_word=$2
  13938. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  13939. $as_echo_n "checking for $ac_word... " >&6; }
  13940. if ${ac_cv_path_DX_LATEX+:} false; then :
  13941. $as_echo_n "(cached) " >&6
  13942. else
  13943. case $DX_LATEX in
  13944. [\\/]* | ?:[\\/]*)
  13945. ac_cv_path_DX_LATEX="$DX_LATEX" # Let the user override the test with a path.
  13946. ;;
  13947. *)
  13948. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  13949. for as_dir in $PATH
  13950. do
  13951. IFS=$as_save_IFS
  13952. test -z "$as_dir" && as_dir=.
  13953. for ac_exec_ext in '' $ac_executable_extensions; do
  13954. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  13955. ac_cv_path_DX_LATEX="$as_dir/$ac_word$ac_exec_ext"
  13956. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  13957. break 2
  13958. fi
  13959. done
  13960. done
  13961. IFS=$as_save_IFS
  13962. ;;
  13963. esac
  13964. fi
  13965. DX_LATEX=$ac_cv_path_DX_LATEX
  13966. if test -n "$DX_LATEX"; then
  13967. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_LATEX" >&5
  13968. $as_echo "$DX_LATEX" >&6; }
  13969. else
  13970. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  13971. $as_echo "no" >&6; }
  13972. fi
  13973. fi
  13974. if test -z "$ac_cv_path_DX_LATEX"; then
  13975. ac_pt_DX_LATEX=$DX_LATEX
  13976. # Extract the first word of "latex", so it can be a program name with args.
  13977. set dummy latex; ac_word=$2
  13978. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  13979. $as_echo_n "checking for $ac_word... " >&6; }
  13980. if ${ac_cv_path_ac_pt_DX_LATEX+:} false; then :
  13981. $as_echo_n "(cached) " >&6
  13982. else
  13983. case $ac_pt_DX_LATEX in
  13984. [\\/]* | ?:[\\/]*)
  13985. ac_cv_path_ac_pt_DX_LATEX="$ac_pt_DX_LATEX" # Let the user override the test with a path.
  13986. ;;
  13987. *)
  13988. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  13989. for as_dir in $PATH
  13990. do
  13991. IFS=$as_save_IFS
  13992. test -z "$as_dir" && as_dir=.
  13993. for ac_exec_ext in '' $ac_executable_extensions; do
  13994. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  13995. ac_cv_path_ac_pt_DX_LATEX="$as_dir/$ac_word$ac_exec_ext"
  13996. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  13997. break 2
  13998. fi
  13999. done
  14000. done
  14001. IFS=$as_save_IFS
  14002. ;;
  14003. esac
  14004. fi
  14005. ac_pt_DX_LATEX=$ac_cv_path_ac_pt_DX_LATEX
  14006. if test -n "$ac_pt_DX_LATEX"; then
  14007. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_LATEX" >&5
  14008. $as_echo "$ac_pt_DX_LATEX" >&6; }
  14009. else
  14010. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  14011. $as_echo "no" >&6; }
  14012. fi
  14013. if test "x$ac_pt_DX_LATEX" = x; then
  14014. DX_LATEX=""
  14015. else
  14016. case $cross_compiling:$ac_tool_warned in
  14017. yes:)
  14018. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  14019. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  14020. ac_tool_warned=yes ;;
  14021. esac
  14022. DX_LATEX=$ac_pt_DX_LATEX
  14023. fi
  14024. else
  14025. DX_LATEX="$ac_cv_path_DX_LATEX"
  14026. fi
  14027. if test "$DX_FLAG_ps$DX_LATEX" = 1; then
  14028. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: latex not found - will not generate doxygen PostScript documentation" >&5
  14029. $as_echo "$as_me: WARNING: latex not found - will not generate doxygen PostScript documentation" >&2;}
  14030. DX_FLAG_ps=0
  14031. fi
  14032. if test -n "$ac_tool_prefix"; then
  14033. # Extract the first word of "${ac_tool_prefix}makeindex", so it can be a program name with args.
  14034. set dummy ${ac_tool_prefix}makeindex; ac_word=$2
  14035. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  14036. $as_echo_n "checking for $ac_word... " >&6; }
  14037. if ${ac_cv_path_DX_MAKEINDEX+:} false; then :
  14038. $as_echo_n "(cached) " >&6
  14039. else
  14040. case $DX_MAKEINDEX in
  14041. [\\/]* | ?:[\\/]*)
  14042. ac_cv_path_DX_MAKEINDEX="$DX_MAKEINDEX" # Let the user override the test with a path.
  14043. ;;
  14044. *)
  14045. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  14046. for as_dir in $PATH
  14047. do
  14048. IFS=$as_save_IFS
  14049. test -z "$as_dir" && as_dir=.
  14050. for ac_exec_ext in '' $ac_executable_extensions; do
  14051. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  14052. ac_cv_path_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
  14053. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  14054. break 2
  14055. fi
  14056. done
  14057. done
  14058. IFS=$as_save_IFS
  14059. ;;
  14060. esac
  14061. fi
  14062. DX_MAKEINDEX=$ac_cv_path_DX_MAKEINDEX
  14063. if test -n "$DX_MAKEINDEX"; then
  14064. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_MAKEINDEX" >&5
  14065. $as_echo "$DX_MAKEINDEX" >&6; }
  14066. else
  14067. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  14068. $as_echo "no" >&6; }
  14069. fi
  14070. fi
  14071. if test -z "$ac_cv_path_DX_MAKEINDEX"; then
  14072. ac_pt_DX_MAKEINDEX=$DX_MAKEINDEX
  14073. # Extract the first word of "makeindex", so it can be a program name with args.
  14074. set dummy makeindex; ac_word=$2
  14075. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  14076. $as_echo_n "checking for $ac_word... " >&6; }
  14077. if ${ac_cv_path_ac_pt_DX_MAKEINDEX+:} false; then :
  14078. $as_echo_n "(cached) " >&6
  14079. else
  14080. case $ac_pt_DX_MAKEINDEX in
  14081. [\\/]* | ?:[\\/]*)
  14082. ac_cv_path_ac_pt_DX_MAKEINDEX="$ac_pt_DX_MAKEINDEX" # Let the user override the test with a path.
  14083. ;;
  14084. *)
  14085. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  14086. for as_dir in $PATH
  14087. do
  14088. IFS=$as_save_IFS
  14089. test -z "$as_dir" && as_dir=.
  14090. for ac_exec_ext in '' $ac_executable_extensions; do
  14091. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  14092. ac_cv_path_ac_pt_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
  14093. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  14094. break 2
  14095. fi
  14096. done
  14097. done
  14098. IFS=$as_save_IFS
  14099. ;;
  14100. esac
  14101. fi
  14102. ac_pt_DX_MAKEINDEX=$ac_cv_path_ac_pt_DX_MAKEINDEX
  14103. if test -n "$ac_pt_DX_MAKEINDEX"; then
  14104. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_MAKEINDEX" >&5
  14105. $as_echo "$ac_pt_DX_MAKEINDEX" >&6; }
  14106. else
  14107. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  14108. $as_echo "no" >&6; }
  14109. fi
  14110. if test "x$ac_pt_DX_MAKEINDEX" = x; then
  14111. DX_MAKEINDEX=""
  14112. else
  14113. case $cross_compiling:$ac_tool_warned in
  14114. yes:)
  14115. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  14116. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  14117. ac_tool_warned=yes ;;
  14118. esac
  14119. DX_MAKEINDEX=$ac_pt_DX_MAKEINDEX
  14120. fi
  14121. else
  14122. DX_MAKEINDEX="$ac_cv_path_DX_MAKEINDEX"
  14123. fi
  14124. if test "$DX_FLAG_ps$DX_MAKEINDEX" = 1; then
  14125. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: makeindex not found - will not generate doxygen PostScript documentation" >&5
  14126. $as_echo "$as_me: WARNING: makeindex not found - will not generate doxygen PostScript documentation" >&2;}
  14127. DX_FLAG_ps=0
  14128. fi
  14129. if test -n "$ac_tool_prefix"; then
  14130. # Extract the first word of "${ac_tool_prefix}dvips", so it can be a program name with args.
  14131. set dummy ${ac_tool_prefix}dvips; ac_word=$2
  14132. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  14133. $as_echo_n "checking for $ac_word... " >&6; }
  14134. if ${ac_cv_path_DX_DVIPS+:} false; then :
  14135. $as_echo_n "(cached) " >&6
  14136. else
  14137. case $DX_DVIPS in
  14138. [\\/]* | ?:[\\/]*)
  14139. ac_cv_path_DX_DVIPS="$DX_DVIPS" # Let the user override the test with a path.
  14140. ;;
  14141. *)
  14142. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  14143. for as_dir in $PATH
  14144. do
  14145. IFS=$as_save_IFS
  14146. test -z "$as_dir" && as_dir=.
  14147. for ac_exec_ext in '' $ac_executable_extensions; do
  14148. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  14149. ac_cv_path_DX_DVIPS="$as_dir/$ac_word$ac_exec_ext"
  14150. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  14151. break 2
  14152. fi
  14153. done
  14154. done
  14155. IFS=$as_save_IFS
  14156. ;;
  14157. esac
  14158. fi
  14159. DX_DVIPS=$ac_cv_path_DX_DVIPS
  14160. if test -n "$DX_DVIPS"; then
  14161. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_DVIPS" >&5
  14162. $as_echo "$DX_DVIPS" >&6; }
  14163. else
  14164. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  14165. $as_echo "no" >&6; }
  14166. fi
  14167. fi
  14168. if test -z "$ac_cv_path_DX_DVIPS"; then
  14169. ac_pt_DX_DVIPS=$DX_DVIPS
  14170. # Extract the first word of "dvips", so it can be a program name with args.
  14171. set dummy dvips; ac_word=$2
  14172. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  14173. $as_echo_n "checking for $ac_word... " >&6; }
  14174. if ${ac_cv_path_ac_pt_DX_DVIPS+:} false; then :
  14175. $as_echo_n "(cached) " >&6
  14176. else
  14177. case $ac_pt_DX_DVIPS in
  14178. [\\/]* | ?:[\\/]*)
  14179. ac_cv_path_ac_pt_DX_DVIPS="$ac_pt_DX_DVIPS" # Let the user override the test with a path.
  14180. ;;
  14181. *)
  14182. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  14183. for as_dir in $PATH
  14184. do
  14185. IFS=$as_save_IFS
  14186. test -z "$as_dir" && as_dir=.
  14187. for ac_exec_ext in '' $ac_executable_extensions; do
  14188. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  14189. ac_cv_path_ac_pt_DX_DVIPS="$as_dir/$ac_word$ac_exec_ext"
  14190. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  14191. break 2
  14192. fi
  14193. done
  14194. done
  14195. IFS=$as_save_IFS
  14196. ;;
  14197. esac
  14198. fi
  14199. ac_pt_DX_DVIPS=$ac_cv_path_ac_pt_DX_DVIPS
  14200. if test -n "$ac_pt_DX_DVIPS"; then
  14201. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_DVIPS" >&5
  14202. $as_echo "$ac_pt_DX_DVIPS" >&6; }
  14203. else
  14204. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  14205. $as_echo "no" >&6; }
  14206. fi
  14207. if test "x$ac_pt_DX_DVIPS" = x; then
  14208. DX_DVIPS=""
  14209. else
  14210. case $cross_compiling:$ac_tool_warned in
  14211. yes:)
  14212. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  14213. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  14214. ac_tool_warned=yes ;;
  14215. esac
  14216. DX_DVIPS=$ac_pt_DX_DVIPS
  14217. fi
  14218. else
  14219. DX_DVIPS="$ac_cv_path_DX_DVIPS"
  14220. fi
  14221. if test "$DX_FLAG_ps$DX_DVIPS" = 1; then
  14222. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: dvips not found - will not generate doxygen PostScript documentation" >&5
  14223. $as_echo "$as_me: WARNING: dvips not found - will not generate doxygen PostScript documentation" >&2;}
  14224. DX_FLAG_ps=0
  14225. fi
  14226. if test -n "$ac_tool_prefix"; then
  14227. # Extract the first word of "${ac_tool_prefix}egrep", so it can be a program name with args.
  14228. set dummy ${ac_tool_prefix}egrep; ac_word=$2
  14229. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  14230. $as_echo_n "checking for $ac_word... " >&6; }
  14231. if ${ac_cv_path_DX_EGREP+:} false; then :
  14232. $as_echo_n "(cached) " >&6
  14233. else
  14234. case $DX_EGREP in
  14235. [\\/]* | ?:[\\/]*)
  14236. ac_cv_path_DX_EGREP="$DX_EGREP" # Let the user override the test with a path.
  14237. ;;
  14238. *)
  14239. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  14240. for as_dir in $PATH
  14241. do
  14242. IFS=$as_save_IFS
  14243. test -z "$as_dir" && as_dir=.
  14244. for ac_exec_ext in '' $ac_executable_extensions; do
  14245. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  14246. ac_cv_path_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
  14247. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  14248. break 2
  14249. fi
  14250. done
  14251. done
  14252. IFS=$as_save_IFS
  14253. ;;
  14254. esac
  14255. fi
  14256. DX_EGREP=$ac_cv_path_DX_EGREP
  14257. if test -n "$DX_EGREP"; then
  14258. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_EGREP" >&5
  14259. $as_echo "$DX_EGREP" >&6; }
  14260. else
  14261. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  14262. $as_echo "no" >&6; }
  14263. fi
  14264. fi
  14265. if test -z "$ac_cv_path_DX_EGREP"; then
  14266. ac_pt_DX_EGREP=$DX_EGREP
  14267. # Extract the first word of "egrep", so it can be a program name with args.
  14268. set dummy egrep; ac_word=$2
  14269. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  14270. $as_echo_n "checking for $ac_word... " >&6; }
  14271. if ${ac_cv_path_ac_pt_DX_EGREP+:} false; then :
  14272. $as_echo_n "(cached) " >&6
  14273. else
  14274. case $ac_pt_DX_EGREP in
  14275. [\\/]* | ?:[\\/]*)
  14276. ac_cv_path_ac_pt_DX_EGREP="$ac_pt_DX_EGREP" # Let the user override the test with a path.
  14277. ;;
  14278. *)
  14279. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  14280. for as_dir in $PATH
  14281. do
  14282. IFS=$as_save_IFS
  14283. test -z "$as_dir" && as_dir=.
  14284. for ac_exec_ext in '' $ac_executable_extensions; do
  14285. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  14286. ac_cv_path_ac_pt_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
  14287. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  14288. break 2
  14289. fi
  14290. done
  14291. done
  14292. IFS=$as_save_IFS
  14293. ;;
  14294. esac
  14295. fi
  14296. ac_pt_DX_EGREP=$ac_cv_path_ac_pt_DX_EGREP
  14297. if test -n "$ac_pt_DX_EGREP"; then
  14298. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_EGREP" >&5
  14299. $as_echo "$ac_pt_DX_EGREP" >&6; }
  14300. else
  14301. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  14302. $as_echo "no" >&6; }
  14303. fi
  14304. if test "x$ac_pt_DX_EGREP" = x; then
  14305. DX_EGREP=""
  14306. else
  14307. case $cross_compiling:$ac_tool_warned in
  14308. yes:)
  14309. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  14310. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  14311. ac_tool_warned=yes ;;
  14312. esac
  14313. DX_EGREP=$ac_pt_DX_EGREP
  14314. fi
  14315. else
  14316. DX_EGREP="$ac_cv_path_DX_EGREP"
  14317. fi
  14318. if test "$DX_FLAG_ps$DX_EGREP" = 1; then
  14319. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: egrep not found - will not generate doxygen PostScript documentation" >&5
  14320. $as_echo "$as_me: WARNING: egrep not found - will not generate doxygen PostScript documentation" >&2;}
  14321. DX_FLAG_ps=0
  14322. fi
  14323. :
  14324. fi
  14325. if test "$DX_FLAG_ps" = 1; then
  14326. if :; then
  14327. DX_COND_ps_TRUE=
  14328. DX_COND_ps_FALSE='#'
  14329. else
  14330. DX_COND_ps_TRUE='#'
  14331. DX_COND_ps_FALSE=
  14332. fi
  14333. :
  14334. else
  14335. if false; then
  14336. DX_COND_ps_TRUE=
  14337. DX_COND_ps_FALSE='#'
  14338. else
  14339. DX_COND_ps_TRUE='#'
  14340. DX_COND_ps_FALSE=
  14341. fi
  14342. :
  14343. fi
  14344. # PDF file generation:
  14345. # Check whether --enable-doxygen-pdf was given.
  14346. if test "${enable_doxygen_pdf+set}" = set; then :
  14347. enableval=$enable_doxygen_pdf;
  14348. case "$enableval" in
  14349. #(
  14350. y|Y|yes|Yes|YES)
  14351. DX_FLAG_pdf=1
  14352. test "$DX_FLAG_doc" = "1" \
  14353. || as_fn_error $? "doxygen-pdf requires doxygen-pdf" "$LINENO" 5
  14354. ;; #(
  14355. n|N|no|No|NO)
  14356. DX_FLAG_pdf=0
  14357. ;; #(
  14358. *)
  14359. as_fn_error $? "invalid value '$enableval' given to doxygen-pdf" "$LINENO" 5
  14360. ;;
  14361. esac
  14362. else
  14363. DX_FLAG_pdf=0
  14364. test "$DX_FLAG_doc" = "1" || DX_FLAG_pdf=0
  14365. fi
  14366. if test "$DX_FLAG_pdf" = 1; then
  14367. if test -n "$ac_tool_prefix"; then
  14368. # Extract the first word of "${ac_tool_prefix}pdflatex", so it can be a program name with args.
  14369. set dummy ${ac_tool_prefix}pdflatex; ac_word=$2
  14370. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  14371. $as_echo_n "checking for $ac_word... " >&6; }
  14372. if ${ac_cv_path_DX_PDFLATEX+:} false; then :
  14373. $as_echo_n "(cached) " >&6
  14374. else
  14375. case $DX_PDFLATEX in
  14376. [\\/]* | ?:[\\/]*)
  14377. ac_cv_path_DX_PDFLATEX="$DX_PDFLATEX" # Let the user override the test with a path.
  14378. ;;
  14379. *)
  14380. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  14381. for as_dir in $PATH
  14382. do
  14383. IFS=$as_save_IFS
  14384. test -z "$as_dir" && as_dir=.
  14385. for ac_exec_ext in '' $ac_executable_extensions; do
  14386. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  14387. ac_cv_path_DX_PDFLATEX="$as_dir/$ac_word$ac_exec_ext"
  14388. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  14389. break 2
  14390. fi
  14391. done
  14392. done
  14393. IFS=$as_save_IFS
  14394. ;;
  14395. esac
  14396. fi
  14397. DX_PDFLATEX=$ac_cv_path_DX_PDFLATEX
  14398. if test -n "$DX_PDFLATEX"; then
  14399. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_PDFLATEX" >&5
  14400. $as_echo "$DX_PDFLATEX" >&6; }
  14401. else
  14402. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  14403. $as_echo "no" >&6; }
  14404. fi
  14405. fi
  14406. if test -z "$ac_cv_path_DX_PDFLATEX"; then
  14407. ac_pt_DX_PDFLATEX=$DX_PDFLATEX
  14408. # Extract the first word of "pdflatex", so it can be a program name with args.
  14409. set dummy pdflatex; ac_word=$2
  14410. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  14411. $as_echo_n "checking for $ac_word... " >&6; }
  14412. if ${ac_cv_path_ac_pt_DX_PDFLATEX+:} false; then :
  14413. $as_echo_n "(cached) " >&6
  14414. else
  14415. case $ac_pt_DX_PDFLATEX in
  14416. [\\/]* | ?:[\\/]*)
  14417. ac_cv_path_ac_pt_DX_PDFLATEX="$ac_pt_DX_PDFLATEX" # Let the user override the test with a path.
  14418. ;;
  14419. *)
  14420. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  14421. for as_dir in $PATH
  14422. do
  14423. IFS=$as_save_IFS
  14424. test -z "$as_dir" && as_dir=.
  14425. for ac_exec_ext in '' $ac_executable_extensions; do
  14426. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  14427. ac_cv_path_ac_pt_DX_PDFLATEX="$as_dir/$ac_word$ac_exec_ext"
  14428. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  14429. break 2
  14430. fi
  14431. done
  14432. done
  14433. IFS=$as_save_IFS
  14434. ;;
  14435. esac
  14436. fi
  14437. ac_pt_DX_PDFLATEX=$ac_cv_path_ac_pt_DX_PDFLATEX
  14438. if test -n "$ac_pt_DX_PDFLATEX"; then
  14439. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_PDFLATEX" >&5
  14440. $as_echo "$ac_pt_DX_PDFLATEX" >&6; }
  14441. else
  14442. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  14443. $as_echo "no" >&6; }
  14444. fi
  14445. if test "x$ac_pt_DX_PDFLATEX" = x; then
  14446. DX_PDFLATEX=""
  14447. else
  14448. case $cross_compiling:$ac_tool_warned in
  14449. yes:)
  14450. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  14451. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  14452. ac_tool_warned=yes ;;
  14453. esac
  14454. DX_PDFLATEX=$ac_pt_DX_PDFLATEX
  14455. fi
  14456. else
  14457. DX_PDFLATEX="$ac_cv_path_DX_PDFLATEX"
  14458. fi
  14459. if test "$DX_FLAG_pdf$DX_PDFLATEX" = 1; then
  14460. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pdflatex not found - will not generate doxygen PDF documentation" >&5
  14461. $as_echo "$as_me: WARNING: pdflatex not found - will not generate doxygen PDF documentation" >&2;}
  14462. DX_FLAG_pdf=0
  14463. fi
  14464. if test -n "$ac_tool_prefix"; then
  14465. # Extract the first word of "${ac_tool_prefix}makeindex", so it can be a program name with args.
  14466. set dummy ${ac_tool_prefix}makeindex; ac_word=$2
  14467. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  14468. $as_echo_n "checking for $ac_word... " >&6; }
  14469. if ${ac_cv_path_DX_MAKEINDEX+:} false; then :
  14470. $as_echo_n "(cached) " >&6
  14471. else
  14472. case $DX_MAKEINDEX in
  14473. [\\/]* | ?:[\\/]*)
  14474. ac_cv_path_DX_MAKEINDEX="$DX_MAKEINDEX" # Let the user override the test with a path.
  14475. ;;
  14476. *)
  14477. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  14478. for as_dir in $PATH
  14479. do
  14480. IFS=$as_save_IFS
  14481. test -z "$as_dir" && as_dir=.
  14482. for ac_exec_ext in '' $ac_executable_extensions; do
  14483. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  14484. ac_cv_path_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
  14485. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  14486. break 2
  14487. fi
  14488. done
  14489. done
  14490. IFS=$as_save_IFS
  14491. ;;
  14492. esac
  14493. fi
  14494. DX_MAKEINDEX=$ac_cv_path_DX_MAKEINDEX
  14495. if test -n "$DX_MAKEINDEX"; then
  14496. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_MAKEINDEX" >&5
  14497. $as_echo "$DX_MAKEINDEX" >&6; }
  14498. else
  14499. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  14500. $as_echo "no" >&6; }
  14501. fi
  14502. fi
  14503. if test -z "$ac_cv_path_DX_MAKEINDEX"; then
  14504. ac_pt_DX_MAKEINDEX=$DX_MAKEINDEX
  14505. # Extract the first word of "makeindex", so it can be a program name with args.
  14506. set dummy makeindex; ac_word=$2
  14507. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  14508. $as_echo_n "checking for $ac_word... " >&6; }
  14509. if ${ac_cv_path_ac_pt_DX_MAKEINDEX+:} false; then :
  14510. $as_echo_n "(cached) " >&6
  14511. else
  14512. case $ac_pt_DX_MAKEINDEX in
  14513. [\\/]* | ?:[\\/]*)
  14514. ac_cv_path_ac_pt_DX_MAKEINDEX="$ac_pt_DX_MAKEINDEX" # Let the user override the test with a path.
  14515. ;;
  14516. *)
  14517. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  14518. for as_dir in $PATH
  14519. do
  14520. IFS=$as_save_IFS
  14521. test -z "$as_dir" && as_dir=.
  14522. for ac_exec_ext in '' $ac_executable_extensions; do
  14523. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  14524. ac_cv_path_ac_pt_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
  14525. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  14526. break 2
  14527. fi
  14528. done
  14529. done
  14530. IFS=$as_save_IFS
  14531. ;;
  14532. esac
  14533. fi
  14534. ac_pt_DX_MAKEINDEX=$ac_cv_path_ac_pt_DX_MAKEINDEX
  14535. if test -n "$ac_pt_DX_MAKEINDEX"; then
  14536. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_MAKEINDEX" >&5
  14537. $as_echo "$ac_pt_DX_MAKEINDEX" >&6; }
  14538. else
  14539. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  14540. $as_echo "no" >&6; }
  14541. fi
  14542. if test "x$ac_pt_DX_MAKEINDEX" = x; then
  14543. DX_MAKEINDEX=""
  14544. else
  14545. case $cross_compiling:$ac_tool_warned in
  14546. yes:)
  14547. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  14548. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  14549. ac_tool_warned=yes ;;
  14550. esac
  14551. DX_MAKEINDEX=$ac_pt_DX_MAKEINDEX
  14552. fi
  14553. else
  14554. DX_MAKEINDEX="$ac_cv_path_DX_MAKEINDEX"
  14555. fi
  14556. if test "$DX_FLAG_pdf$DX_MAKEINDEX" = 1; then
  14557. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: makeindex not found - will not generate doxygen PDF documentation" >&5
  14558. $as_echo "$as_me: WARNING: makeindex not found - will not generate doxygen PDF documentation" >&2;}
  14559. DX_FLAG_pdf=0
  14560. fi
  14561. if test -n "$ac_tool_prefix"; then
  14562. # Extract the first word of "${ac_tool_prefix}egrep", so it can be a program name with args.
  14563. set dummy ${ac_tool_prefix}egrep; ac_word=$2
  14564. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  14565. $as_echo_n "checking for $ac_word... " >&6; }
  14566. if ${ac_cv_path_DX_EGREP+:} false; then :
  14567. $as_echo_n "(cached) " >&6
  14568. else
  14569. case $DX_EGREP in
  14570. [\\/]* | ?:[\\/]*)
  14571. ac_cv_path_DX_EGREP="$DX_EGREP" # Let the user override the test with a path.
  14572. ;;
  14573. *)
  14574. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  14575. for as_dir in $PATH
  14576. do
  14577. IFS=$as_save_IFS
  14578. test -z "$as_dir" && as_dir=.
  14579. for ac_exec_ext in '' $ac_executable_extensions; do
  14580. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  14581. ac_cv_path_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
  14582. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  14583. break 2
  14584. fi
  14585. done
  14586. done
  14587. IFS=$as_save_IFS
  14588. ;;
  14589. esac
  14590. fi
  14591. DX_EGREP=$ac_cv_path_DX_EGREP
  14592. if test -n "$DX_EGREP"; then
  14593. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_EGREP" >&5
  14594. $as_echo "$DX_EGREP" >&6; }
  14595. else
  14596. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  14597. $as_echo "no" >&6; }
  14598. fi
  14599. fi
  14600. if test -z "$ac_cv_path_DX_EGREP"; then
  14601. ac_pt_DX_EGREP=$DX_EGREP
  14602. # Extract the first word of "egrep", so it can be a program name with args.
  14603. set dummy egrep; ac_word=$2
  14604. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  14605. $as_echo_n "checking for $ac_word... " >&6; }
  14606. if ${ac_cv_path_ac_pt_DX_EGREP+:} false; then :
  14607. $as_echo_n "(cached) " >&6
  14608. else
  14609. case $ac_pt_DX_EGREP in
  14610. [\\/]* | ?:[\\/]*)
  14611. ac_cv_path_ac_pt_DX_EGREP="$ac_pt_DX_EGREP" # Let the user override the test with a path.
  14612. ;;
  14613. *)
  14614. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  14615. for as_dir in $PATH
  14616. do
  14617. IFS=$as_save_IFS
  14618. test -z "$as_dir" && as_dir=.
  14619. for ac_exec_ext in '' $ac_executable_extensions; do
  14620. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  14621. ac_cv_path_ac_pt_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
  14622. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  14623. break 2
  14624. fi
  14625. done
  14626. done
  14627. IFS=$as_save_IFS
  14628. ;;
  14629. esac
  14630. fi
  14631. ac_pt_DX_EGREP=$ac_cv_path_ac_pt_DX_EGREP
  14632. if test -n "$ac_pt_DX_EGREP"; then
  14633. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_EGREP" >&5
  14634. $as_echo "$ac_pt_DX_EGREP" >&6; }
  14635. else
  14636. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  14637. $as_echo "no" >&6; }
  14638. fi
  14639. if test "x$ac_pt_DX_EGREP" = x; then
  14640. DX_EGREP=""
  14641. else
  14642. case $cross_compiling:$ac_tool_warned in
  14643. yes:)
  14644. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  14645. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  14646. ac_tool_warned=yes ;;
  14647. esac
  14648. DX_EGREP=$ac_pt_DX_EGREP
  14649. fi
  14650. else
  14651. DX_EGREP="$ac_cv_path_DX_EGREP"
  14652. fi
  14653. if test "$DX_FLAG_pdf$DX_EGREP" = 1; then
  14654. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: egrep not found - will not generate doxygen PDF documentation" >&5
  14655. $as_echo "$as_me: WARNING: egrep not found - will not generate doxygen PDF documentation" >&2;}
  14656. DX_FLAG_pdf=0
  14657. fi
  14658. :
  14659. fi
  14660. if test "$DX_FLAG_pdf" = 1; then
  14661. if :; then
  14662. DX_COND_pdf_TRUE=
  14663. DX_COND_pdf_FALSE='#'
  14664. else
  14665. DX_COND_pdf_TRUE='#'
  14666. DX_COND_pdf_FALSE=
  14667. fi
  14668. :
  14669. else
  14670. if false; then
  14671. DX_COND_pdf_TRUE=
  14672. DX_COND_pdf_FALSE='#'
  14673. else
  14674. DX_COND_pdf_TRUE='#'
  14675. DX_COND_pdf_FALSE=
  14676. fi
  14677. :
  14678. fi
  14679. # LaTeX generation for PS and/or PDF:
  14680. if test "$DX_FLAG_ps" = 1 || test "$DX_FLAG_pdf" = 1; then
  14681. if :; then
  14682. DX_COND_latex_TRUE=
  14683. DX_COND_latex_FALSE='#'
  14684. else
  14685. DX_COND_latex_TRUE='#'
  14686. DX_COND_latex_FALSE=
  14687. fi
  14688. DX_ENV="$DX_ENV GENERATE_LATEX='YES'"
  14689. else
  14690. if false; then
  14691. DX_COND_latex_TRUE=
  14692. DX_COND_latex_FALSE='#'
  14693. else
  14694. DX_COND_latex_TRUE='#'
  14695. DX_COND_latex_FALSE=
  14696. fi
  14697. DX_ENV="$DX_ENV GENERATE_LATEX='NO'"
  14698. fi
  14699. # Paper size for PS and/or PDF:
  14700. case "$DOXYGEN_PAPER_SIZE" in
  14701. #(
  14702. "")
  14703. DOXYGEN_PAPER_SIZE=""
  14704. ;; #(
  14705. a4wide|a4|letter|legal|executive)
  14706. DX_ENV="$DX_ENV PAPER_SIZE='$DOXYGEN_PAPER_SIZE'"
  14707. ;; #(
  14708. *)
  14709. as_fn_error $? "unknown DOXYGEN_PAPER_SIZE='$DOXYGEN_PAPER_SIZE'" "$LINENO" 5
  14710. ;;
  14711. esac
  14712. #For debugging:
  14713. #echo DX_FLAG_doc=$DX_FLAG_doc
  14714. #echo DX_FLAG_dot=$DX_FLAG_dot
  14715. #echo DX_FLAG_man=$DX_FLAG_man
  14716. #echo DX_FLAG_html=$DX_FLAG_html
  14717. #echo DX_FLAG_chm=$DX_FLAG_chm
  14718. #echo DX_FLAG_chi=$DX_FLAG_chi
  14719. #echo DX_FLAG_rtf=$DX_FLAG_rtf
  14720. #echo DX_FLAG_xml=$DX_FLAG_xml
  14721. #echo DX_FLAG_pdf=$DX_FLAG_pdf
  14722. #echo DX_FLAG_ps=$DX_FLAG_ps
  14723. #echo DX_ENV=$DX_ENV
  14724. if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
  14725. if test -n "$ac_tool_prefix"; then
  14726. # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
  14727. set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
  14728. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  14729. $as_echo_n "checking for $ac_word... " >&6; }
  14730. if ${ac_cv_path_PKG_CONFIG+:} false; then :
  14731. $as_echo_n "(cached) " >&6
  14732. else
  14733. case $PKG_CONFIG in
  14734. [\\/]* | ?:[\\/]*)
  14735. ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
  14736. ;;
  14737. *)
  14738. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  14739. for as_dir in $PATH
  14740. do
  14741. IFS=$as_save_IFS
  14742. test -z "$as_dir" && as_dir=.
  14743. for ac_exec_ext in '' $ac_executable_extensions; do
  14744. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  14745. ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
  14746. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  14747. break 2
  14748. fi
  14749. done
  14750. done
  14751. IFS=$as_save_IFS
  14752. ;;
  14753. esac
  14754. fi
  14755. PKG_CONFIG=$ac_cv_path_PKG_CONFIG
  14756. if test -n "$PKG_CONFIG"; then
  14757. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
  14758. $as_echo "$PKG_CONFIG" >&6; }
  14759. else
  14760. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  14761. $as_echo "no" >&6; }
  14762. fi
  14763. fi
  14764. if test -z "$ac_cv_path_PKG_CONFIG"; then
  14765. ac_pt_PKG_CONFIG=$PKG_CONFIG
  14766. # Extract the first word of "pkg-config", so it can be a program name with args.
  14767. set dummy pkg-config; ac_word=$2
  14768. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  14769. $as_echo_n "checking for $ac_word... " >&6; }
  14770. if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
  14771. $as_echo_n "(cached) " >&6
  14772. else
  14773. case $ac_pt_PKG_CONFIG in
  14774. [\\/]* | ?:[\\/]*)
  14775. ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
  14776. ;;
  14777. *)
  14778. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  14779. for as_dir in $PATH
  14780. do
  14781. IFS=$as_save_IFS
  14782. test -z "$as_dir" && as_dir=.
  14783. for ac_exec_ext in '' $ac_executable_extensions; do
  14784. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  14785. ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
  14786. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  14787. break 2
  14788. fi
  14789. done
  14790. done
  14791. IFS=$as_save_IFS
  14792. ;;
  14793. esac
  14794. fi
  14795. ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
  14796. if test -n "$ac_pt_PKG_CONFIG"; then
  14797. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
  14798. $as_echo "$ac_pt_PKG_CONFIG" >&6; }
  14799. else
  14800. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  14801. $as_echo "no" >&6; }
  14802. fi
  14803. if test "x$ac_pt_PKG_CONFIG" = x; then
  14804. PKG_CONFIG=""
  14805. else
  14806. case $cross_compiling:$ac_tool_warned in
  14807. yes:)
  14808. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  14809. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  14810. ac_tool_warned=yes ;;
  14811. esac
  14812. PKG_CONFIG=$ac_pt_PKG_CONFIG
  14813. fi
  14814. else
  14815. PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
  14816. fi
  14817. fi
  14818. if test -n "$PKG_CONFIG"; then
  14819. _pkg_min_version=0.9.0
  14820. { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
  14821. $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
  14822. if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
  14823. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  14824. $as_echo "yes" >&6; }
  14825. else
  14826. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  14827. $as_echo "no" >&6; }
  14828. PKG_CONFIG=""
  14829. fi
  14830. fi
  14831. pkg_failed=no
  14832. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ZLIB" >&5
  14833. $as_echo_n "checking for ZLIB... " >&6; }
  14834. if test -n "$ZLIB_CFLAGS"; then
  14835. pkg_cv_ZLIB_CFLAGS="$ZLIB_CFLAGS"
  14836. elif test -n "$PKG_CONFIG"; then
  14837. if test -n "$PKG_CONFIG" && \
  14838. { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"zlib >= 1.2.3\""; } >&5
  14839. ($PKG_CONFIG --exists --print-errors "zlib >= 1.2.3") 2>&5
  14840. ac_status=$?
  14841. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  14842. test $ac_status = 0; }; then
  14843. pkg_cv_ZLIB_CFLAGS=`$PKG_CONFIG --cflags "zlib >= 1.2.3" 2>/dev/null`
  14844. test "x$?" != "x0" && pkg_failed=yes
  14845. else
  14846. pkg_failed=yes
  14847. fi
  14848. else
  14849. pkg_failed=untried
  14850. fi
  14851. if test -n "$ZLIB_LIBS"; then
  14852. pkg_cv_ZLIB_LIBS="$ZLIB_LIBS"
  14853. elif test -n "$PKG_CONFIG"; then
  14854. if test -n "$PKG_CONFIG" && \
  14855. { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"zlib >= 1.2.3\""; } >&5
  14856. ($PKG_CONFIG --exists --print-errors "zlib >= 1.2.3") 2>&5
  14857. ac_status=$?
  14858. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  14859. test $ac_status = 0; }; then
  14860. pkg_cv_ZLIB_LIBS=`$PKG_CONFIG --libs "zlib >= 1.2.3" 2>/dev/null`
  14861. test "x$?" != "x0" && pkg_failed=yes
  14862. else
  14863. pkg_failed=yes
  14864. fi
  14865. else
  14866. pkg_failed=untried
  14867. fi
  14868. if test $pkg_failed = yes; then
  14869. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  14870. $as_echo "no" >&6; }
  14871. if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  14872. _pkg_short_errors_supported=yes
  14873. else
  14874. _pkg_short_errors_supported=no
  14875. fi
  14876. if test $_pkg_short_errors_supported = yes; then
  14877. ZLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "zlib >= 1.2.3" 2>&1`
  14878. else
  14879. ZLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "zlib >= 1.2.3" 2>&1`
  14880. fi
  14881. # Put the nasty error message in config.log where it belongs
  14882. echo "$ZLIB_PKG_ERRORS" >&5
  14883. as_fn_error $? "zlib 1.2.3 or newer not found." "$LINENO" 5
  14884. elif test $pkg_failed = untried; then
  14885. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  14886. $as_echo "no" >&6; }
  14887. as_fn_error $? "zlib 1.2.3 or newer not found." "$LINENO" 5
  14888. else
  14889. ZLIB_CFLAGS=$pkg_cv_ZLIB_CFLAGS
  14890. ZLIB_LIBS=$pkg_cv_ZLIB_LIBS
  14891. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  14892. $as_echo "yes" >&6; }
  14893. fi
  14894. cat >confcache <<\_ACEOF
  14895. # This file is a shell script that caches the results of configure
  14896. # tests run on this system so they can be shared between configure
  14897. # scripts and configure runs, see configure's option --config-cache.
  14898. # It is not useful on other systems. If it contains results you don't
  14899. # want to keep, you may remove or edit it.
  14900. #
  14901. # config.status only pays attention to the cache file if you give it
  14902. # the --recheck option to rerun configure.
  14903. #
  14904. # `ac_cv_env_foo' variables (set or unset) will be overridden when
  14905. # loading this file, other *unset* `ac_cv_foo' will be assigned the
  14906. # following values.
  14907. _ACEOF
  14908. # The following way of writing the cache mishandles newlines in values,
  14909. # but we know of no workaround that is simple, portable, and efficient.
  14910. # So, we kill variables containing newlines.
  14911. # Ultrix sh set writes to stderr and can't be redirected directly,
  14912. # and sets the high bit in the cache file unless we assign to the vars.
  14913. (
  14914. for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
  14915. eval ac_val=\$$ac_var
  14916. case $ac_val in #(
  14917. *${as_nl}*)
  14918. case $ac_var in #(
  14919. *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  14920. $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  14921. esac
  14922. case $ac_var in #(
  14923. _ | IFS | as_nl) ;; #(
  14924. BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  14925. *) { eval $ac_var=; unset $ac_var;} ;;
  14926. esac ;;
  14927. esac
  14928. done
  14929. (set) 2>&1 |
  14930. case $as_nl`(ac_space=' '; set) 2>&1` in #(
  14931. *${as_nl}ac_space=\ *)
  14932. # `set' does not quote correctly, so add quotes: double-quote
  14933. # substitution turns \\\\ into \\, and sed turns \\ into \.
  14934. sed -n \
  14935. "s/'/'\\\\''/g;
  14936. s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
  14937. ;; #(
  14938. *)
  14939. # `set' quotes correctly as required by POSIX, so do not add quotes.
  14940. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  14941. ;;
  14942. esac |
  14943. sort
  14944. ) |
  14945. sed '
  14946. /^ac_cv_env_/b end
  14947. t clear
  14948. :clear
  14949. s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
  14950. t end
  14951. s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
  14952. :end' >>confcache
  14953. if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
  14954. if test -w "$cache_file"; then
  14955. if test "x$cache_file" != "x/dev/null"; then
  14956. { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
  14957. $as_echo "$as_me: updating cache $cache_file" >&6;}
  14958. if test ! -f "$cache_file" || test -h "$cache_file"; then
  14959. cat confcache >"$cache_file"
  14960. else
  14961. case $cache_file in #(
  14962. */* | ?:*)
  14963. mv -f confcache "$cache_file"$$ &&
  14964. mv -f "$cache_file"$$ "$cache_file" ;; #(
  14965. *)
  14966. mv -f confcache "$cache_file" ;;
  14967. esac
  14968. fi
  14969. fi
  14970. else
  14971. { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
  14972. $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
  14973. fi
  14974. fi
  14975. rm -f confcache
  14976. test "x$prefix" = xNONE && prefix=$ac_default_prefix
  14977. # Let make expand exec_prefix.
  14978. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
  14979. DEFS=-DHAVE_CONFIG_H
  14980. ac_libobjs=
  14981. ac_ltlibobjs=
  14982. U=
  14983. for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
  14984. # 1. Remove the extension, and $U if already installed.
  14985. ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
  14986. ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
  14987. # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
  14988. # will be set to the directory where LIBOBJS objects are built.
  14989. as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
  14990. as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
  14991. done
  14992. LIBOBJS=$ac_libobjs
  14993. LTLIBOBJS=$ac_ltlibobjs
  14994. if test -n "$EXEEXT"; then
  14995. am__EXEEXT_TRUE=
  14996. am__EXEEXT_FALSE='#'
  14997. else
  14998. am__EXEEXT_TRUE='#'
  14999. am__EXEEXT_FALSE=
  15000. fi
  15001. if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
  15002. as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
  15003. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  15004. fi
  15005. if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
  15006. as_fn_error $? "conditional \"AMDEP\" was never defined.
  15007. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  15008. fi
  15009. if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
  15010. as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
  15011. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  15012. fi
  15013. if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
  15014. as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
  15015. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  15016. fi
  15017. if test -z "${HAVE_GNU_STRERROR_TRUE}" && test -z "${HAVE_GNU_STRERROR_FALSE}"; then
  15018. as_fn_error $? "conditional \"HAVE_GNU_STRERROR\" was never defined.
  15019. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  15020. fi
  15021. if test -z "${DX_COND_doc_TRUE}" && test -z "${DX_COND_doc_FALSE}"; then
  15022. as_fn_error $? "conditional \"DX_COND_doc\" was never defined.
  15023. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  15024. fi
  15025. if test -z "${DX_COND_doc_TRUE}" && test -z "${DX_COND_doc_FALSE}"; then
  15026. as_fn_error $? "conditional \"DX_COND_doc\" was never defined.
  15027. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  15028. fi
  15029. if test -z "${DX_COND_dot_TRUE}" && test -z "${DX_COND_dot_FALSE}"; then
  15030. as_fn_error $? "conditional \"DX_COND_dot\" was never defined.
  15031. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  15032. fi
  15033. if test -z "${DX_COND_dot_TRUE}" && test -z "${DX_COND_dot_FALSE}"; then
  15034. as_fn_error $? "conditional \"DX_COND_dot\" was never defined.
  15035. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  15036. fi
  15037. if test -z "${DX_COND_man_TRUE}" && test -z "${DX_COND_man_FALSE}"; then
  15038. as_fn_error $? "conditional \"DX_COND_man\" was never defined.
  15039. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  15040. fi
  15041. if test -z "${DX_COND_man_TRUE}" && test -z "${DX_COND_man_FALSE}"; then
  15042. as_fn_error $? "conditional \"DX_COND_man\" was never defined.
  15043. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  15044. fi
  15045. if test -z "${DX_COND_rtf_TRUE}" && test -z "${DX_COND_rtf_FALSE}"; then
  15046. as_fn_error $? "conditional \"DX_COND_rtf\" was never defined.
  15047. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  15048. fi
  15049. if test -z "${DX_COND_rtf_TRUE}" && test -z "${DX_COND_rtf_FALSE}"; then
  15050. as_fn_error $? "conditional \"DX_COND_rtf\" was never defined.
  15051. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  15052. fi
  15053. if test -z "${DX_COND_xml_TRUE}" && test -z "${DX_COND_xml_FALSE}"; then
  15054. as_fn_error $? "conditional \"DX_COND_xml\" was never defined.
  15055. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  15056. fi
  15057. if test -z "${DX_COND_xml_TRUE}" && test -z "${DX_COND_xml_FALSE}"; then
  15058. as_fn_error $? "conditional \"DX_COND_xml\" was never defined.
  15059. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  15060. fi
  15061. if test -z "${DX_COND_chm_TRUE}" && test -z "${DX_COND_chm_FALSE}"; then
  15062. as_fn_error $? "conditional \"DX_COND_chm\" was never defined.
  15063. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  15064. fi
  15065. if test -z "${DX_COND_chm_TRUE}" && test -z "${DX_COND_chm_FALSE}"; then
  15066. as_fn_error $? "conditional \"DX_COND_chm\" was never defined.
  15067. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  15068. fi
  15069. if test -z "${DX_COND_chi_TRUE}" && test -z "${DX_COND_chi_FALSE}"; then
  15070. as_fn_error $? "conditional \"DX_COND_chi\" was never defined.
  15071. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  15072. fi
  15073. if test -z "${DX_COND_chi_TRUE}" && test -z "${DX_COND_chi_FALSE}"; then
  15074. as_fn_error $? "conditional \"DX_COND_chi\" was never defined.
  15075. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  15076. fi
  15077. if test -z "${DX_COND_html_TRUE}" && test -z "${DX_COND_html_FALSE}"; then
  15078. as_fn_error $? "conditional \"DX_COND_html\" was never defined.
  15079. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  15080. fi
  15081. if test -z "${DX_COND_html_TRUE}" && test -z "${DX_COND_html_FALSE}"; then
  15082. as_fn_error $? "conditional \"DX_COND_html\" was never defined.
  15083. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  15084. fi
  15085. if test -z "${DX_COND_ps_TRUE}" && test -z "${DX_COND_ps_FALSE}"; then
  15086. as_fn_error $? "conditional \"DX_COND_ps\" was never defined.
  15087. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  15088. fi
  15089. if test -z "${DX_COND_ps_TRUE}" && test -z "${DX_COND_ps_FALSE}"; then
  15090. as_fn_error $? "conditional \"DX_COND_ps\" was never defined.
  15091. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  15092. fi
  15093. if test -z "${DX_COND_pdf_TRUE}" && test -z "${DX_COND_pdf_FALSE}"; then
  15094. as_fn_error $? "conditional \"DX_COND_pdf\" was never defined.
  15095. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  15096. fi
  15097. if test -z "${DX_COND_pdf_TRUE}" && test -z "${DX_COND_pdf_FALSE}"; then
  15098. as_fn_error $? "conditional \"DX_COND_pdf\" was never defined.
  15099. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  15100. fi
  15101. if test -z "${DX_COND_latex_TRUE}" && test -z "${DX_COND_latex_FALSE}"; then
  15102. as_fn_error $? "conditional \"DX_COND_latex\" was never defined.
  15103. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  15104. fi
  15105. if test -z "${DX_COND_latex_TRUE}" && test -z "${DX_COND_latex_FALSE}"; then
  15106. as_fn_error $? "conditional \"DX_COND_latex\" was never defined.
  15107. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  15108. fi
  15109. : "${CONFIG_STATUS=./config.status}"
  15110. ac_write_fail=0
  15111. ac_clean_files_save=$ac_clean_files
  15112. ac_clean_files="$ac_clean_files $CONFIG_STATUS"
  15113. { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
  15114. $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
  15115. as_write_fail=0
  15116. cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
  15117. #! $SHELL
  15118. # Generated by $as_me.
  15119. # Run this file to recreate the current configuration.
  15120. # Compiler output produced by configure, useful for debugging
  15121. # configure, is in config.log if it exists.
  15122. debug=false
  15123. ac_cs_recheck=false
  15124. ac_cs_silent=false
  15125. SHELL=\${CONFIG_SHELL-$SHELL}
  15126. export SHELL
  15127. _ASEOF
  15128. cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
  15129. ## -------------------- ##
  15130. ## M4sh Initialization. ##
  15131. ## -------------------- ##
  15132. # Be more Bourne compatible
  15133. DUALCASE=1; export DUALCASE # for MKS sh
  15134. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  15135. emulate sh
  15136. NULLCMD=:
  15137. # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  15138. # is contrary to our usage. Disable this feature.
  15139. alias -g '${1+"$@"}'='"$@"'
  15140. setopt NO_GLOB_SUBST
  15141. else
  15142. case `(set -o) 2>/dev/null` in #(
  15143. *posix*) :
  15144. set -o posix ;; #(
  15145. *) :
  15146. ;;
  15147. esac
  15148. fi
  15149. as_nl='
  15150. '
  15151. export as_nl
  15152. # Printing a long string crashes Solaris 7 /usr/bin/printf.
  15153. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  15154. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  15155. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  15156. # Prefer a ksh shell builtin over an external printf program on Solaris,
  15157. # but without wasting forks for bash or zsh.
  15158. if test -z "$BASH_VERSION$ZSH_VERSION" \
  15159. && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
  15160. as_echo='print -r --'
  15161. as_echo_n='print -rn --'
  15162. elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  15163. as_echo='printf %s\n'
  15164. as_echo_n='printf %s'
  15165. else
  15166. if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
  15167. as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
  15168. as_echo_n='/usr/ucb/echo -n'
  15169. else
  15170. as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  15171. as_echo_n_body='eval
  15172. arg=$1;
  15173. case $arg in #(
  15174. *"$as_nl"*)
  15175. expr "X$arg" : "X\\(.*\\)$as_nl";
  15176. arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  15177. esac;
  15178. expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
  15179. '
  15180. export as_echo_n_body
  15181. as_echo_n='sh -c $as_echo_n_body as_echo'
  15182. fi
  15183. export as_echo_body
  15184. as_echo='sh -c $as_echo_body as_echo'
  15185. fi
  15186. # The user is always right.
  15187. if test "${PATH_SEPARATOR+set}" != set; then
  15188. PATH_SEPARATOR=:
  15189. (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  15190. (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  15191. PATH_SEPARATOR=';'
  15192. }
  15193. fi
  15194. # IFS
  15195. # We need space, tab and new line, in precisely that order. Quoting is
  15196. # there to prevent editors from complaining about space-tab.
  15197. # (If _AS_PATH_WALK were called with IFS unset, it would disable word
  15198. # splitting by setting IFS to empty value.)
  15199. IFS=" "" $as_nl"
  15200. # Find who we are. Look in the path if we contain no directory separator.
  15201. as_myself=
  15202. case $0 in #((
  15203. *[\\/]* ) as_myself=$0 ;;
  15204. *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  15205. for as_dir in $PATH
  15206. do
  15207. IFS=$as_save_IFS
  15208. test -z "$as_dir" && as_dir=.
  15209. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  15210. done
  15211. IFS=$as_save_IFS
  15212. ;;
  15213. esac
  15214. # We did not find ourselves, most probably we were run as `sh COMMAND'
  15215. # in which case we are not to be found in the path.
  15216. if test "x$as_myself" = x; then
  15217. as_myself=$0
  15218. fi
  15219. if test ! -f "$as_myself"; then
  15220. $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  15221. exit 1
  15222. fi
  15223. # Unset variables that we do not need and which cause bugs (e.g. in
  15224. # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
  15225. # suppresses any "Segmentation fault" message there. '((' could
  15226. # trigger a bug in pdksh 5.2.14.
  15227. for as_var in BASH_ENV ENV MAIL MAILPATH
  15228. do eval test x\${$as_var+set} = xset \
  15229. && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  15230. done
  15231. PS1='$ '
  15232. PS2='> '
  15233. PS4='+ '
  15234. # NLS nuisances.
  15235. LC_ALL=C
  15236. export LC_ALL
  15237. LANGUAGE=C
  15238. export LANGUAGE
  15239. # CDPATH.
  15240. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  15241. # as_fn_error STATUS ERROR [LINENO LOG_FD]
  15242. # ----------------------------------------
  15243. # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  15244. # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  15245. # script with STATUS, using 1 if that was 0.
  15246. as_fn_error ()
  15247. {
  15248. as_status=$1; test $as_status -eq 0 && as_status=1
  15249. if test "$4"; then
  15250. as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  15251. $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
  15252. fi
  15253. $as_echo "$as_me: error: $2" >&2
  15254. as_fn_exit $as_status
  15255. } # as_fn_error
  15256. # as_fn_set_status STATUS
  15257. # -----------------------
  15258. # Set $? to STATUS, without forking.
  15259. as_fn_set_status ()
  15260. {
  15261. return $1
  15262. } # as_fn_set_status
  15263. # as_fn_exit STATUS
  15264. # -----------------
  15265. # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  15266. as_fn_exit ()
  15267. {
  15268. set +e
  15269. as_fn_set_status $1
  15270. exit $1
  15271. } # as_fn_exit
  15272. # as_fn_unset VAR
  15273. # ---------------
  15274. # Portably unset VAR.
  15275. as_fn_unset ()
  15276. {
  15277. { eval $1=; unset $1;}
  15278. }
  15279. as_unset=as_fn_unset
  15280. # as_fn_append VAR VALUE
  15281. # ----------------------
  15282. # Append the text in VALUE to the end of the definition contained in VAR. Take
  15283. # advantage of any shell optimizations that allow amortized linear growth over
  15284. # repeated appends, instead of the typical quadratic growth present in naive
  15285. # implementations.
  15286. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  15287. eval 'as_fn_append ()
  15288. {
  15289. eval $1+=\$2
  15290. }'
  15291. else
  15292. as_fn_append ()
  15293. {
  15294. eval $1=\$$1\$2
  15295. }
  15296. fi # as_fn_append
  15297. # as_fn_arith ARG...
  15298. # ------------------
  15299. # Perform arithmetic evaluation on the ARGs, and store the result in the
  15300. # global $as_val. Take advantage of shells that can avoid forks. The arguments
  15301. # must be portable across $(()) and expr.
  15302. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  15303. eval 'as_fn_arith ()
  15304. {
  15305. as_val=$(( $* ))
  15306. }'
  15307. else
  15308. as_fn_arith ()
  15309. {
  15310. as_val=`expr "$@" || test $? -eq 1`
  15311. }
  15312. fi # as_fn_arith
  15313. if expr a : '\(a\)' >/dev/null 2>&1 &&
  15314. test "X`expr 00001 : '.*\(...\)'`" = X001; then
  15315. as_expr=expr
  15316. else
  15317. as_expr=false
  15318. fi
  15319. if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  15320. as_basename=basename
  15321. else
  15322. as_basename=false
  15323. fi
  15324. if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  15325. as_dirname=dirname
  15326. else
  15327. as_dirname=false
  15328. fi
  15329. as_me=`$as_basename -- "$0" ||
  15330. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  15331. X"$0" : 'X\(//\)$' \| \
  15332. X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  15333. $as_echo X/"$0" |
  15334. sed '/^.*\/\([^/][^/]*\)\/*$/{
  15335. s//\1/
  15336. q
  15337. }
  15338. /^X\/\(\/\/\)$/{
  15339. s//\1/
  15340. q
  15341. }
  15342. /^X\/\(\/\).*/{
  15343. s//\1/
  15344. q
  15345. }
  15346. s/.*/./; q'`
  15347. # Avoid depending upon Character Ranges.
  15348. as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  15349. as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  15350. as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  15351. as_cr_digits='0123456789'
  15352. as_cr_alnum=$as_cr_Letters$as_cr_digits
  15353. ECHO_C= ECHO_N= ECHO_T=
  15354. case `echo -n x` in #(((((
  15355. -n*)
  15356. case `echo 'xy\c'` in
  15357. *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  15358. xy) ECHO_C='\c';;
  15359. *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
  15360. ECHO_T=' ';;
  15361. esac;;
  15362. *)
  15363. ECHO_N='-n';;
  15364. esac
  15365. rm -f conf$$ conf$$.exe conf$$.file
  15366. if test -d conf$$.dir; then
  15367. rm -f conf$$.dir/conf$$.file
  15368. else
  15369. rm -f conf$$.dir
  15370. mkdir conf$$.dir 2>/dev/null
  15371. fi
  15372. if (echo >conf$$.file) 2>/dev/null; then
  15373. if ln -s conf$$.file conf$$ 2>/dev/null; then
  15374. as_ln_s='ln -s'
  15375. # ... but there are two gotchas:
  15376. # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  15377. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  15378. # In both cases, we have to default to `cp -p'.
  15379. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  15380. as_ln_s='cp -p'
  15381. elif ln conf$$.file conf$$ 2>/dev/null; then
  15382. as_ln_s=ln
  15383. else
  15384. as_ln_s='cp -p'
  15385. fi
  15386. else
  15387. as_ln_s='cp -p'
  15388. fi
  15389. rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  15390. rmdir conf$$.dir 2>/dev/null
  15391. # as_fn_mkdir_p
  15392. # -------------
  15393. # Create "$as_dir" as a directory, including parents if necessary.
  15394. as_fn_mkdir_p ()
  15395. {
  15396. case $as_dir in #(
  15397. -*) as_dir=./$as_dir;;
  15398. esac
  15399. test -d "$as_dir" || eval $as_mkdir_p || {
  15400. as_dirs=
  15401. while :; do
  15402. case $as_dir in #(
  15403. *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  15404. *) as_qdir=$as_dir;;
  15405. esac
  15406. as_dirs="'$as_qdir' $as_dirs"
  15407. as_dir=`$as_dirname -- "$as_dir" ||
  15408. $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  15409. X"$as_dir" : 'X\(//\)[^/]' \| \
  15410. X"$as_dir" : 'X\(//\)$' \| \
  15411. X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  15412. $as_echo X"$as_dir" |
  15413. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  15414. s//\1/
  15415. q
  15416. }
  15417. /^X\(\/\/\)[^/].*/{
  15418. s//\1/
  15419. q
  15420. }
  15421. /^X\(\/\/\)$/{
  15422. s//\1/
  15423. q
  15424. }
  15425. /^X\(\/\).*/{
  15426. s//\1/
  15427. q
  15428. }
  15429. s/.*/./; q'`
  15430. test -d "$as_dir" && break
  15431. done
  15432. test -z "$as_dirs" || eval "mkdir $as_dirs"
  15433. } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
  15434. } # as_fn_mkdir_p
  15435. if mkdir -p . 2>/dev/null; then
  15436. as_mkdir_p='mkdir -p "$as_dir"'
  15437. else
  15438. test -d ./-p && rmdir ./-p
  15439. as_mkdir_p=false
  15440. fi
  15441. if test -x / >/dev/null 2>&1; then
  15442. as_test_x='test -x'
  15443. else
  15444. if ls -dL / >/dev/null 2>&1; then
  15445. as_ls_L_option=L
  15446. else
  15447. as_ls_L_option=
  15448. fi
  15449. as_test_x='
  15450. eval sh -c '\''
  15451. if test -d "$1"; then
  15452. test -d "$1/.";
  15453. else
  15454. case $1 in #(
  15455. -*)set "./$1";;
  15456. esac;
  15457. case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
  15458. ???[sx]*):;;*)false;;esac;fi
  15459. '\'' sh
  15460. '
  15461. fi
  15462. as_executable_p=$as_test_x
  15463. # Sed expression to map a string onto a valid CPP name.
  15464. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  15465. # Sed expression to map a string onto a valid variable name.
  15466. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  15467. exec 6>&1
  15468. ## ----------------------------------- ##
  15469. ## Main body of $CONFIG_STATUS script. ##
  15470. ## ----------------------------------- ##
  15471. _ASEOF
  15472. test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
  15473. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  15474. # Save the log message, to keep $0 and so on meaningful, and to
  15475. # report actual input values of CONFIG_FILES etc. instead of their
  15476. # values after options handling.
  15477. ac_log="
  15478. This file was extended by libzipper $as_me 1.0.3, which was
  15479. generated by GNU Autoconf 2.68. Invocation command line was
  15480. CONFIG_FILES = $CONFIG_FILES
  15481. CONFIG_HEADERS = $CONFIG_HEADERS
  15482. CONFIG_LINKS = $CONFIG_LINKS
  15483. CONFIG_COMMANDS = $CONFIG_COMMANDS
  15484. $ $0 $@
  15485. on `(hostname || uname -n) 2>/dev/null | sed 1q`
  15486. "
  15487. _ACEOF
  15488. case $ac_config_files in *"
  15489. "*) set x $ac_config_files; shift; ac_config_files=$*;;
  15490. esac
  15491. case $ac_config_headers in *"
  15492. "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
  15493. esac
  15494. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  15495. # Files that config.status was made for.
  15496. config_files="$ac_config_files"
  15497. config_headers="$ac_config_headers"
  15498. config_commands="$ac_config_commands"
  15499. _ACEOF
  15500. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  15501. ac_cs_usage="\
  15502. \`$as_me' instantiates files and other configuration actions
  15503. from templates according to the current configuration. Unless the files
  15504. and actions are specified as TAGs, all are instantiated by default.
  15505. Usage: $0 [OPTION]... [TAG]...
  15506. -h, --help print this help, then exit
  15507. -V, --version print version number and configuration settings, then exit
  15508. --config print configuration, then exit
  15509. -q, --quiet, --silent
  15510. do not print progress messages
  15511. -d, --debug don't remove temporary files
  15512. --recheck update $as_me by reconfiguring in the same conditions
  15513. --file=FILE[:TEMPLATE]
  15514. instantiate the configuration file FILE
  15515. --header=FILE[:TEMPLATE]
  15516. instantiate the configuration header FILE
  15517. Configuration files:
  15518. $config_files
  15519. Configuration headers:
  15520. $config_headers
  15521. Configuration commands:
  15522. $config_commands
  15523. Report bugs to <michael@codesrc.com>."
  15524. _ACEOF
  15525. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  15526. ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
  15527. ac_cs_version="\\
  15528. libzipper config.status 1.0.3
  15529. configured by $0, generated by GNU Autoconf 2.68,
  15530. with options \\"\$ac_cs_config\\"
  15531. Copyright (C) 2010 Free Software Foundation, Inc.
  15532. This config.status script is free software; the Free Software Foundation
  15533. gives unlimited permission to copy, distribute and modify it."
  15534. ac_pwd='$ac_pwd'
  15535. srcdir='$srcdir'
  15536. INSTALL='$INSTALL'
  15537. MKDIR_P='$MKDIR_P'
  15538. AWK='$AWK'
  15539. test -n "\$AWK" || AWK=awk
  15540. _ACEOF
  15541. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  15542. # The default lists apply if the user does not specify any file.
  15543. ac_need_defaults=:
  15544. while test $# != 0
  15545. do
  15546. case $1 in
  15547. --*=?*)
  15548. ac_option=`expr "X$1" : 'X\([^=]*\)='`
  15549. ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
  15550. ac_shift=:
  15551. ;;
  15552. --*=)
  15553. ac_option=`expr "X$1" : 'X\([^=]*\)='`
  15554. ac_optarg=
  15555. ac_shift=:
  15556. ;;
  15557. *)
  15558. ac_option=$1
  15559. ac_optarg=$2
  15560. ac_shift=shift
  15561. ;;
  15562. esac
  15563. case $ac_option in
  15564. # Handling of the options.
  15565. -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  15566. ac_cs_recheck=: ;;
  15567. --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
  15568. $as_echo "$ac_cs_version"; exit ;;
  15569. --config | --confi | --conf | --con | --co | --c )
  15570. $as_echo "$ac_cs_config"; exit ;;
  15571. --debug | --debu | --deb | --de | --d | -d )
  15572. debug=: ;;
  15573. --file | --fil | --fi | --f )
  15574. $ac_shift
  15575. case $ac_optarg in
  15576. *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  15577. '') as_fn_error $? "missing file argument" ;;
  15578. esac
  15579. as_fn_append CONFIG_FILES " '$ac_optarg'"
  15580. ac_need_defaults=false;;
  15581. --header | --heade | --head | --hea )
  15582. $ac_shift
  15583. case $ac_optarg in
  15584. *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  15585. esac
  15586. as_fn_append CONFIG_HEADERS " '$ac_optarg'"
  15587. ac_need_defaults=false;;
  15588. --he | --h)
  15589. # Conflict between --help and --header
  15590. as_fn_error $? "ambiguous option: \`$1'
  15591. Try \`$0 --help' for more information.";;
  15592. --help | --hel | -h )
  15593. $as_echo "$ac_cs_usage"; exit ;;
  15594. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  15595. | -silent | --silent | --silen | --sile | --sil | --si | --s)
  15596. ac_cs_silent=: ;;
  15597. # This is an error.
  15598. -*) as_fn_error $? "unrecognized option: \`$1'
  15599. Try \`$0 --help' for more information." ;;
  15600. *) as_fn_append ac_config_targets " $1"
  15601. ac_need_defaults=false ;;
  15602. esac
  15603. shift
  15604. done
  15605. ac_configure_extra_args=
  15606. if $ac_cs_silent; then
  15607. exec 6>/dev/null
  15608. ac_configure_extra_args="$ac_configure_extra_args --silent"
  15609. fi
  15610. _ACEOF
  15611. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  15612. if \$ac_cs_recheck; then
  15613. set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
  15614. shift
  15615. \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
  15616. CONFIG_SHELL='$SHELL'
  15617. export CONFIG_SHELL
  15618. exec "\$@"
  15619. fi
  15620. _ACEOF
  15621. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  15622. exec 5>>config.log
  15623. {
  15624. echo
  15625. sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
  15626. ## Running $as_me. ##
  15627. _ASBOX
  15628. $as_echo "$ac_log"
  15629. } >&5
  15630. _ACEOF
  15631. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  15632. #
  15633. # INIT-COMMANDS
  15634. #
  15635. AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
  15636. # The HP-UX ksh and POSIX shell print the target directory to stdout
  15637. # if CDPATH is set.
  15638. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  15639. sed_quote_subst='$sed_quote_subst'
  15640. double_quote_subst='$double_quote_subst'
  15641. delay_variable_subst='$delay_variable_subst'
  15642. macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
  15643. macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
  15644. enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
  15645. enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
  15646. pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
  15647. enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
  15648. SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
  15649. ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
  15650. host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
  15651. host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
  15652. host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
  15653. build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
  15654. build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
  15655. build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
  15656. SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
  15657. Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
  15658. GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
  15659. EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
  15660. FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
  15661. LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
  15662. NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
  15663. LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
  15664. max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
  15665. ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
  15666. exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
  15667. lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
  15668. lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
  15669. lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
  15670. lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
  15671. lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
  15672. reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
  15673. reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
  15674. OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
  15675. deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
  15676. file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
  15677. file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
  15678. want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
  15679. DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
  15680. sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
  15681. AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
  15682. AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
  15683. archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
  15684. STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
  15685. RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
  15686. old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
  15687. old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
  15688. old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
  15689. lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
  15690. CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
  15691. CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
  15692. compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
  15693. GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
  15694. lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
  15695. lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
  15696. lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
  15697. 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"`'
  15698. nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
  15699. lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
  15700. objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
  15701. MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
  15702. lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
  15703. lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
  15704. lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
  15705. lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
  15706. lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
  15707. need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
  15708. MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
  15709. DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
  15710. NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
  15711. LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
  15712. OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
  15713. OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
  15714. libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
  15715. shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
  15716. extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
  15717. archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
  15718. enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
  15719. export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
  15720. whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
  15721. compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
  15722. old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
  15723. old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
  15724. archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
  15725. archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
  15726. module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
  15727. module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
  15728. with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
  15729. allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
  15730. no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
  15731. hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
  15732. hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
  15733. hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
  15734. hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
  15735. hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
  15736. hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
  15737. hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
  15738. hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
  15739. inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
  15740. link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
  15741. always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
  15742. export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
  15743. exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
  15744. include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
  15745. prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
  15746. postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
  15747. file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
  15748. variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
  15749. need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
  15750. need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
  15751. version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
  15752. runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
  15753. shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
  15754. shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
  15755. libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
  15756. library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
  15757. soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
  15758. install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
  15759. postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
  15760. postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
  15761. finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
  15762. finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
  15763. hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
  15764. sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
  15765. sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
  15766. hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
  15767. enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
  15768. enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
  15769. enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
  15770. old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
  15771. striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
  15772. compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
  15773. predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
  15774. postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
  15775. predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
  15776. postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
  15777. compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
  15778. LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
  15779. reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
  15780. reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
  15781. old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
  15782. compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
  15783. GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
  15784. lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
  15785. lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
  15786. lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
  15787. lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
  15788. lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
  15789. archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
  15790. enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
  15791. export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
  15792. whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
  15793. compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
  15794. old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
  15795. old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
  15796. archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
  15797. archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
  15798. module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
  15799. module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
  15800. with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
  15801. allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
  15802. no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
  15803. hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
  15804. hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
  15805. hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
  15806. hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
  15807. hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
  15808. hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
  15809. hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
  15810. hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
  15811. inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
  15812. link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
  15813. always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
  15814. export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
  15815. exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
  15816. include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
  15817. prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
  15818. postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
  15819. file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
  15820. hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
  15821. compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
  15822. predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
  15823. postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
  15824. predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
  15825. postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
  15826. compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
  15827. LTCC='$LTCC'
  15828. LTCFLAGS='$LTCFLAGS'
  15829. compiler='$compiler_DEFAULT'
  15830. # A function that is used when there is no print builtin or printf.
  15831. func_fallback_echo ()
  15832. {
  15833. eval 'cat <<_LTECHO_EOF
  15834. \$1
  15835. _LTECHO_EOF'
  15836. }
  15837. # Quote evaled strings.
  15838. for var in SHELL \
  15839. ECHO \
  15840. SED \
  15841. GREP \
  15842. EGREP \
  15843. FGREP \
  15844. LD \
  15845. NM \
  15846. LN_S \
  15847. lt_SP2NL \
  15848. lt_NL2SP \
  15849. reload_flag \
  15850. OBJDUMP \
  15851. deplibs_check_method \
  15852. file_magic_cmd \
  15853. file_magic_glob \
  15854. want_nocaseglob \
  15855. DLLTOOL \
  15856. sharedlib_from_linklib_cmd \
  15857. AR \
  15858. AR_FLAGS \
  15859. archiver_list_spec \
  15860. STRIP \
  15861. RANLIB \
  15862. CC \
  15863. CFLAGS \
  15864. compiler \
  15865. lt_cv_sys_global_symbol_pipe \
  15866. lt_cv_sys_global_symbol_to_cdecl \
  15867. lt_cv_sys_global_symbol_to_c_name_address \
  15868. lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
  15869. nm_file_list_spec \
  15870. lt_prog_compiler_no_builtin_flag \
  15871. lt_prog_compiler_pic \
  15872. lt_prog_compiler_wl \
  15873. lt_prog_compiler_static \
  15874. lt_cv_prog_compiler_c_o \
  15875. need_locks \
  15876. MANIFEST_TOOL \
  15877. DSYMUTIL \
  15878. NMEDIT \
  15879. LIPO \
  15880. OTOOL \
  15881. OTOOL64 \
  15882. shrext_cmds \
  15883. export_dynamic_flag_spec \
  15884. whole_archive_flag_spec \
  15885. compiler_needs_object \
  15886. with_gnu_ld \
  15887. allow_undefined_flag \
  15888. no_undefined_flag \
  15889. hardcode_libdir_flag_spec \
  15890. hardcode_libdir_flag_spec_ld \
  15891. hardcode_libdir_separator \
  15892. exclude_expsyms \
  15893. include_expsyms \
  15894. file_list_spec \
  15895. variables_saved_for_relink \
  15896. libname_spec \
  15897. library_names_spec \
  15898. soname_spec \
  15899. install_override_mode \
  15900. finish_eval \
  15901. old_striplib \
  15902. striplib \
  15903. compiler_lib_search_dirs \
  15904. predep_objects \
  15905. postdep_objects \
  15906. predeps \
  15907. postdeps \
  15908. compiler_lib_search_path \
  15909. LD_CXX \
  15910. reload_flag_CXX \
  15911. compiler_CXX \
  15912. lt_prog_compiler_no_builtin_flag_CXX \
  15913. lt_prog_compiler_pic_CXX \
  15914. lt_prog_compiler_wl_CXX \
  15915. lt_prog_compiler_static_CXX \
  15916. lt_cv_prog_compiler_c_o_CXX \
  15917. export_dynamic_flag_spec_CXX \
  15918. whole_archive_flag_spec_CXX \
  15919. compiler_needs_object_CXX \
  15920. with_gnu_ld_CXX \
  15921. allow_undefined_flag_CXX \
  15922. no_undefined_flag_CXX \
  15923. hardcode_libdir_flag_spec_CXX \
  15924. hardcode_libdir_flag_spec_ld_CXX \
  15925. hardcode_libdir_separator_CXX \
  15926. exclude_expsyms_CXX \
  15927. include_expsyms_CXX \
  15928. file_list_spec_CXX \
  15929. compiler_lib_search_dirs_CXX \
  15930. predep_objects_CXX \
  15931. postdep_objects_CXX \
  15932. predeps_CXX \
  15933. postdeps_CXX \
  15934. compiler_lib_search_path_CXX; do
  15935. case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
  15936. *[\\\\\\\`\\"\\\$]*)
  15937. eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
  15938. ;;
  15939. *)
  15940. eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
  15941. ;;
  15942. esac
  15943. done
  15944. # Double-quote double-evaled strings.
  15945. for var in reload_cmds \
  15946. old_postinstall_cmds \
  15947. old_postuninstall_cmds \
  15948. old_archive_cmds \
  15949. extract_expsyms_cmds \
  15950. old_archive_from_new_cmds \
  15951. old_archive_from_expsyms_cmds \
  15952. archive_cmds \
  15953. archive_expsym_cmds \
  15954. module_cmds \
  15955. module_expsym_cmds \
  15956. export_symbols_cmds \
  15957. prelink_cmds \
  15958. postlink_cmds \
  15959. postinstall_cmds \
  15960. postuninstall_cmds \
  15961. finish_cmds \
  15962. sys_lib_search_path_spec \
  15963. sys_lib_dlsearch_path_spec \
  15964. reload_cmds_CXX \
  15965. old_archive_cmds_CXX \
  15966. old_archive_from_new_cmds_CXX \
  15967. old_archive_from_expsyms_cmds_CXX \
  15968. archive_cmds_CXX \
  15969. archive_expsym_cmds_CXX \
  15970. module_cmds_CXX \
  15971. module_expsym_cmds_CXX \
  15972. export_symbols_cmds_CXX \
  15973. prelink_cmds_CXX \
  15974. postlink_cmds_CXX; do
  15975. case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
  15976. *[\\\\\\\`\\"\\\$]*)
  15977. eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
  15978. ;;
  15979. *)
  15980. eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
  15981. ;;
  15982. esac
  15983. done
  15984. ac_aux_dir='$ac_aux_dir'
  15985. xsi_shell='$xsi_shell'
  15986. lt_shell_append='$lt_shell_append'
  15987. # See if we are running on zsh, and set the options which allow our
  15988. # commands through without removal of \ escapes INIT.
  15989. if test -n "\${ZSH_VERSION+set}" ; then
  15990. setopt NO_GLOB_SUBST
  15991. fi
  15992. PACKAGE='$PACKAGE'
  15993. VERSION='$VERSION'
  15994. TIMESTAMP='$TIMESTAMP'
  15995. RM='$RM'
  15996. ofile='$ofile'
  15997. _ACEOF
  15998. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  15999. # Handling of arguments.
  16000. for ac_config_target in $ac_config_targets
  16001. do
  16002. case $ac_config_target in
  16003. "autoconfig.h") CONFIG_HEADERS="$CONFIG_HEADERS autoconfig.h" ;;
  16004. "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
  16005. "Doxyfile") CONFIG_FILES="$CONFIG_FILES Doxyfile" ;;
  16006. "libzipper1.pc") CONFIG_FILES="$CONFIG_FILES libzipper1.pc" ;;
  16007. "zipper.1") CONFIG_FILES="$CONFIG_FILES zipper.1" ;;
  16008. "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
  16009. "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
  16010. *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
  16011. esac
  16012. done
  16013. # If the user did not use the arguments to specify the items to instantiate,
  16014. # then the envvar interface is used. Set only those that are not.
  16015. # We use the long form for the default assignment because of an extremely
  16016. # bizarre bug on SunOS 4.1.3.
  16017. if $ac_need_defaults; then
  16018. test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
  16019. test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
  16020. test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
  16021. fi
  16022. # Have a temporary directory for convenience. Make it in the build tree
  16023. # simply because there is no reason against having it here, and in addition,
  16024. # creating and moving files from /tmp can sometimes cause problems.
  16025. # Hook for its removal unless debugging.
  16026. # Note that there is a small window in which the directory will not be cleaned:
  16027. # after its creation but before its name has been assigned to `$tmp'.
  16028. $debug ||
  16029. {
  16030. tmp= ac_tmp=
  16031. trap 'exit_status=$?
  16032. : "${ac_tmp:=$tmp}"
  16033. { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
  16034. ' 0
  16035. trap 'as_fn_exit 1' 1 2 13 15
  16036. }
  16037. # Create a (secure) tmp directory for tmp files.
  16038. {
  16039. tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
  16040. test -d "$tmp"
  16041. } ||
  16042. {
  16043. tmp=./conf$$-$RANDOM
  16044. (umask 077 && mkdir "$tmp")
  16045. } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
  16046. ac_tmp=$tmp
  16047. # Set up the scripts for CONFIG_FILES section.
  16048. # No need to generate them if there are no CONFIG_FILES.
  16049. # This happens for instance with `./config.status config.h'.
  16050. if test -n "$CONFIG_FILES"; then
  16051. ac_cr=`echo X | tr X '\015'`
  16052. # On cygwin, bash can eat \r inside `` if the user requested igncr.
  16053. # But we know of no other shell where ac_cr would be empty at this
  16054. # point, so we can use a bashism as a fallback.
  16055. if test "x$ac_cr" = x; then
  16056. eval ac_cr=\$\'\\r\'
  16057. fi
  16058. ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
  16059. if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
  16060. ac_cs_awk_cr='\\r'
  16061. else
  16062. ac_cs_awk_cr=$ac_cr
  16063. fi
  16064. echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
  16065. _ACEOF
  16066. {
  16067. echo "cat >conf$$subs.awk <<_ACEOF" &&
  16068. echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
  16069. echo "_ACEOF"
  16070. } >conf$$subs.sh ||
  16071. as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  16072. ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
  16073. ac_delim='%!_!# '
  16074. for ac_last_try in false false false false false :; do
  16075. . ./conf$$subs.sh ||
  16076. as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  16077. ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
  16078. if test $ac_delim_n = $ac_delim_num; then
  16079. break
  16080. elif $ac_last_try; then
  16081. as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  16082. else
  16083. ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  16084. fi
  16085. done
  16086. rm -f conf$$subs.sh
  16087. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  16088. cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
  16089. _ACEOF
  16090. sed -n '
  16091. h
  16092. s/^/S["/; s/!.*/"]=/
  16093. p
  16094. g
  16095. s/^[^!]*!//
  16096. :repl
  16097. t repl
  16098. s/'"$ac_delim"'$//
  16099. t delim
  16100. :nl
  16101. h
  16102. s/\(.\{148\}\)..*/\1/
  16103. t more1
  16104. s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
  16105. p
  16106. n
  16107. b repl
  16108. :more1
  16109. s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  16110. p
  16111. g
  16112. s/.\{148\}//
  16113. t nl
  16114. :delim
  16115. h
  16116. s/\(.\{148\}\)..*/\1/
  16117. t more2
  16118. s/["\\]/\\&/g; s/^/"/; s/$/"/
  16119. p
  16120. b
  16121. :more2
  16122. s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  16123. p
  16124. g
  16125. s/.\{148\}//
  16126. t delim
  16127. ' <conf$$subs.awk | sed '
  16128. /^[^""]/{
  16129. N
  16130. s/\n//
  16131. }
  16132. ' >>$CONFIG_STATUS || ac_write_fail=1
  16133. rm -f conf$$subs.awk
  16134. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  16135. _ACAWK
  16136. cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
  16137. for (key in S) S_is_set[key] = 1
  16138. FS = ""
  16139. }
  16140. {
  16141. line = $ 0
  16142. nfields = split(line, field, "@")
  16143. substed = 0
  16144. len = length(field[1])
  16145. for (i = 2; i < nfields; i++) {
  16146. key = field[i]
  16147. keylen = length(key)
  16148. if (S_is_set[key]) {
  16149. value = S[key]
  16150. line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
  16151. len += length(value) + length(field[++i])
  16152. substed = 1
  16153. } else
  16154. len += 1 + keylen
  16155. }
  16156. print line
  16157. }
  16158. _ACAWK
  16159. _ACEOF
  16160. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  16161. if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
  16162. sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
  16163. else
  16164. cat
  16165. fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
  16166. || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
  16167. _ACEOF
  16168. # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
  16169. # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
  16170. # trailing colons and then remove the whole line if VPATH becomes empty
  16171. # (actually we leave an empty line to preserve line numbers).
  16172. if test "x$srcdir" = x.; then
  16173. ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
  16174. h
  16175. s///
  16176. s/^/:/
  16177. s/[ ]*$/:/
  16178. s/:\$(srcdir):/:/g
  16179. s/:\${srcdir}:/:/g
  16180. s/:@srcdir@:/:/g
  16181. s/^:*//
  16182. s/:*$//
  16183. x
  16184. s/\(=[ ]*\).*/\1/
  16185. G
  16186. s/\n//
  16187. s/^[^=]*=[ ]*$//
  16188. }'
  16189. fi
  16190. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  16191. fi # test -n "$CONFIG_FILES"
  16192. # Set up the scripts for CONFIG_HEADERS section.
  16193. # No need to generate them if there are no CONFIG_HEADERS.
  16194. # This happens for instance with `./config.status Makefile'.
  16195. if test -n "$CONFIG_HEADERS"; then
  16196. cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
  16197. BEGIN {
  16198. _ACEOF
  16199. # Transform confdefs.h into an awk script `defines.awk', embedded as
  16200. # here-document in config.status, that substitutes the proper values into
  16201. # config.h.in to produce config.h.
  16202. # Create a delimiter string that does not exist in confdefs.h, to ease
  16203. # handling of long lines.
  16204. ac_delim='%!_!# '
  16205. for ac_last_try in false false :; do
  16206. ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
  16207. if test -z "$ac_tt"; then
  16208. break
  16209. elif $ac_last_try; then
  16210. as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
  16211. else
  16212. ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  16213. fi
  16214. done
  16215. # For the awk script, D is an array of macro values keyed by name,
  16216. # likewise P contains macro parameters if any. Preserve backslash
  16217. # newline sequences.
  16218. ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
  16219. sed -n '
  16220. s/.\{148\}/&'"$ac_delim"'/g
  16221. t rset
  16222. :rset
  16223. s/^[ ]*#[ ]*define[ ][ ]*/ /
  16224. t def
  16225. d
  16226. :def
  16227. s/\\$//
  16228. t bsnl
  16229. s/["\\]/\\&/g
  16230. s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
  16231. D["\1"]=" \3"/p
  16232. s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
  16233. d
  16234. :bsnl
  16235. s/["\\]/\\&/g
  16236. s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
  16237. D["\1"]=" \3\\\\\\n"\\/p
  16238. t cont
  16239. s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
  16240. t cont
  16241. d
  16242. :cont
  16243. n
  16244. s/.\{148\}/&'"$ac_delim"'/g
  16245. t clear
  16246. :clear
  16247. s/\\$//
  16248. t bsnlc
  16249. s/["\\]/\\&/g; s/^/"/; s/$/"/p
  16250. d
  16251. :bsnlc
  16252. s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
  16253. b cont
  16254. ' <confdefs.h | sed '
  16255. s/'"$ac_delim"'/"\\\
  16256. "/g' >>$CONFIG_STATUS || ac_write_fail=1
  16257. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  16258. for (key in D) D_is_set[key] = 1
  16259. FS = ""
  16260. }
  16261. /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
  16262. line = \$ 0
  16263. split(line, arg, " ")
  16264. if (arg[1] == "#") {
  16265. defundef = arg[2]
  16266. mac1 = arg[3]
  16267. } else {
  16268. defundef = substr(arg[1], 2)
  16269. mac1 = arg[2]
  16270. }
  16271. split(mac1, mac2, "(") #)
  16272. macro = mac2[1]
  16273. prefix = substr(line, 1, index(line, defundef) - 1)
  16274. if (D_is_set[macro]) {
  16275. # Preserve the white space surrounding the "#".
  16276. print prefix "define", macro P[macro] D[macro]
  16277. next
  16278. } else {
  16279. # Replace #undef with comments. This is necessary, for example,
  16280. # in the case of _POSIX_SOURCE, which is predefined and required
  16281. # on some systems where configure will not decide to define it.
  16282. if (defundef == "undef") {
  16283. print "/*", prefix defundef, macro, "*/"
  16284. next
  16285. }
  16286. }
  16287. }
  16288. { print }
  16289. _ACAWK
  16290. _ACEOF
  16291. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  16292. as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
  16293. fi # test -n "$CONFIG_HEADERS"
  16294. eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
  16295. shift
  16296. for ac_tag
  16297. do
  16298. case $ac_tag in
  16299. :[FHLC]) ac_mode=$ac_tag; continue;;
  16300. esac
  16301. case $ac_mode$ac_tag in
  16302. :[FHL]*:*);;
  16303. :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
  16304. :[FH]-) ac_tag=-:-;;
  16305. :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
  16306. esac
  16307. ac_save_IFS=$IFS
  16308. IFS=:
  16309. set x $ac_tag
  16310. IFS=$ac_save_IFS
  16311. shift
  16312. ac_file=$1
  16313. shift
  16314. case $ac_mode in
  16315. :L) ac_source=$1;;
  16316. :[FH])
  16317. ac_file_inputs=
  16318. for ac_f
  16319. do
  16320. case $ac_f in
  16321. -) ac_f="$ac_tmp/stdin";;
  16322. *) # Look for the file first in the build tree, then in the source tree
  16323. # (if the path is not absolute). The absolute path cannot be DOS-style,
  16324. # because $ac_f cannot contain `:'.
  16325. test -f "$ac_f" ||
  16326. case $ac_f in
  16327. [\\/$]*) false;;
  16328. *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
  16329. esac ||
  16330. as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
  16331. esac
  16332. case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
  16333. as_fn_append ac_file_inputs " '$ac_f'"
  16334. done
  16335. # Let's still pretend it is `configure' which instantiates (i.e., don't
  16336. # use $as_me), people would be surprised to read:
  16337. # /* config.h. Generated by config.status. */
  16338. configure_input='Generated from '`
  16339. $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
  16340. `' by configure.'
  16341. if test x"$ac_file" != x-; then
  16342. configure_input="$ac_file. $configure_input"
  16343. { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
  16344. $as_echo "$as_me: creating $ac_file" >&6;}
  16345. fi
  16346. # Neutralize special characters interpreted by sed in replacement strings.
  16347. case $configure_input in #(
  16348. *\&* | *\|* | *\\* )
  16349. ac_sed_conf_input=`$as_echo "$configure_input" |
  16350. sed 's/[\\\\&|]/\\\\&/g'`;; #(
  16351. *) ac_sed_conf_input=$configure_input;;
  16352. esac
  16353. case $ac_tag in
  16354. *:-:* | *:-) cat >"$ac_tmp/stdin" \
  16355. || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
  16356. esac
  16357. ;;
  16358. esac
  16359. ac_dir=`$as_dirname -- "$ac_file" ||
  16360. $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  16361. X"$ac_file" : 'X\(//\)[^/]' \| \
  16362. X"$ac_file" : 'X\(//\)$' \| \
  16363. X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
  16364. $as_echo X"$ac_file" |
  16365. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  16366. s//\1/
  16367. q
  16368. }
  16369. /^X\(\/\/\)[^/].*/{
  16370. s//\1/
  16371. q
  16372. }
  16373. /^X\(\/\/\)$/{
  16374. s//\1/
  16375. q
  16376. }
  16377. /^X\(\/\).*/{
  16378. s//\1/
  16379. q
  16380. }
  16381. s/.*/./; q'`
  16382. as_dir="$ac_dir"; as_fn_mkdir_p
  16383. ac_builddir=.
  16384. case "$ac_dir" in
  16385. .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  16386. *)
  16387. ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  16388. # A ".." for each directory in $ac_dir_suffix.
  16389. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  16390. case $ac_top_builddir_sub in
  16391. "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  16392. *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  16393. esac ;;
  16394. esac
  16395. ac_abs_top_builddir=$ac_pwd
  16396. ac_abs_builddir=$ac_pwd$ac_dir_suffix
  16397. # for backward compatibility:
  16398. ac_top_builddir=$ac_top_build_prefix
  16399. case $srcdir in
  16400. .) # We are building in place.
  16401. ac_srcdir=.
  16402. ac_top_srcdir=$ac_top_builddir_sub
  16403. ac_abs_top_srcdir=$ac_pwd ;;
  16404. [\\/]* | ?:[\\/]* ) # Absolute name.
  16405. ac_srcdir=$srcdir$ac_dir_suffix;
  16406. ac_top_srcdir=$srcdir
  16407. ac_abs_top_srcdir=$srcdir ;;
  16408. *) # Relative name.
  16409. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  16410. ac_top_srcdir=$ac_top_build_prefix$srcdir
  16411. ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  16412. esac
  16413. ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  16414. case $ac_mode in
  16415. :F)
  16416. #
  16417. # CONFIG_FILE
  16418. #
  16419. case $INSTALL in
  16420. [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
  16421. *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
  16422. esac
  16423. ac_MKDIR_P=$MKDIR_P
  16424. case $MKDIR_P in
  16425. [\\/$]* | ?:[\\/]* ) ;;
  16426. */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
  16427. esac
  16428. _ACEOF
  16429. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  16430. # If the template does not know about datarootdir, expand it.
  16431. # FIXME: This hack should be removed a few years after 2.60.
  16432. ac_datarootdir_hack=; ac_datarootdir_seen=
  16433. ac_sed_dataroot='
  16434. /datarootdir/ {
  16435. p
  16436. q
  16437. }
  16438. /@datadir@/p
  16439. /@docdir@/p
  16440. /@infodir@/p
  16441. /@localedir@/p
  16442. /@mandir@/p'
  16443. case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
  16444. *datarootdir*) ac_datarootdir_seen=yes;;
  16445. *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
  16446. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
  16447. $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
  16448. _ACEOF
  16449. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  16450. ac_datarootdir_hack='
  16451. s&@datadir@&$datadir&g
  16452. s&@docdir@&$docdir&g
  16453. s&@infodir@&$infodir&g
  16454. s&@localedir@&$localedir&g
  16455. s&@mandir@&$mandir&g
  16456. s&\\\${datarootdir}&$datarootdir&g' ;;
  16457. esac
  16458. _ACEOF
  16459. # Neutralize VPATH when `$srcdir' = `.'.
  16460. # Shell code in configure.ac might set extrasub.
  16461. # FIXME: do we really want to maintain this feature?
  16462. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  16463. ac_sed_extra="$ac_vpsub
  16464. $extrasub
  16465. _ACEOF
  16466. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  16467. :t
  16468. /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
  16469. s|@configure_input@|$ac_sed_conf_input|;t t
  16470. s&@top_builddir@&$ac_top_builddir_sub&;t t
  16471. s&@top_build_prefix@&$ac_top_build_prefix&;t t
  16472. s&@srcdir@&$ac_srcdir&;t t
  16473. s&@abs_srcdir@&$ac_abs_srcdir&;t t
  16474. s&@top_srcdir@&$ac_top_srcdir&;t t
  16475. s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
  16476. s&@builddir@&$ac_builddir&;t t
  16477. s&@abs_builddir@&$ac_abs_builddir&;t t
  16478. s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
  16479. s&@INSTALL@&$ac_INSTALL&;t t
  16480. s&@MKDIR_P@&$ac_MKDIR_P&;t t
  16481. $ac_datarootdir_hack
  16482. "
  16483. eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
  16484. >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  16485. test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
  16486. { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
  16487. { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
  16488. "$ac_tmp/out"`; test -z "$ac_out"; } &&
  16489. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  16490. which seems to be undefined. Please make sure it is defined" >&5
  16491. $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  16492. which seems to be undefined. Please make sure it is defined" >&2;}
  16493. rm -f "$ac_tmp/stdin"
  16494. case $ac_file in
  16495. -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
  16496. *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
  16497. esac \
  16498. || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  16499. ;;
  16500. :H)
  16501. #
  16502. # CONFIG_HEADER
  16503. #
  16504. if test x"$ac_file" != x-; then
  16505. {
  16506. $as_echo "/* $configure_input */" \
  16507. && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
  16508. } >"$ac_tmp/config.h" \
  16509. || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  16510. if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
  16511. { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
  16512. $as_echo "$as_me: $ac_file is unchanged" >&6;}
  16513. else
  16514. rm -f "$ac_file"
  16515. mv "$ac_tmp/config.h" "$ac_file" \
  16516. || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  16517. fi
  16518. else
  16519. $as_echo "/* $configure_input */" \
  16520. && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
  16521. || as_fn_error $? "could not create -" "$LINENO" 5
  16522. fi
  16523. # Compute "$ac_file"'s index in $config_headers.
  16524. _am_arg="$ac_file"
  16525. _am_stamp_count=1
  16526. for _am_header in $config_headers :; do
  16527. case $_am_header in
  16528. $_am_arg | $_am_arg:* )
  16529. break ;;
  16530. * )
  16531. _am_stamp_count=`expr $_am_stamp_count + 1` ;;
  16532. esac
  16533. done
  16534. echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
  16535. $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  16536. X"$_am_arg" : 'X\(//\)[^/]' \| \
  16537. X"$_am_arg" : 'X\(//\)$' \| \
  16538. X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
  16539. $as_echo X"$_am_arg" |
  16540. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  16541. s//\1/
  16542. q
  16543. }
  16544. /^X\(\/\/\)[^/].*/{
  16545. s//\1/
  16546. q
  16547. }
  16548. /^X\(\/\/\)$/{
  16549. s//\1/
  16550. q
  16551. }
  16552. /^X\(\/\).*/{
  16553. s//\1/
  16554. q
  16555. }
  16556. s/.*/./; q'`/stamp-h$_am_stamp_count
  16557. ;;
  16558. :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
  16559. $as_echo "$as_me: executing $ac_file commands" >&6;}
  16560. ;;
  16561. esac
  16562. case $ac_file$ac_mode in
  16563. "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
  16564. # Autoconf 2.62 quotes --file arguments for eval, but not when files
  16565. # are listed without --file. Let's play safe and only enable the eval
  16566. # if we detect the quoting.
  16567. case $CONFIG_FILES in
  16568. *\'*) eval set x "$CONFIG_FILES" ;;
  16569. *) set x $CONFIG_FILES ;;
  16570. esac
  16571. shift
  16572. for mf
  16573. do
  16574. # Strip MF so we end up with the name of the file.
  16575. mf=`echo "$mf" | sed -e 's/:.*$//'`
  16576. # Check whether this is an Automake generated Makefile or not.
  16577. # We used to match only the files named `Makefile.in', but
  16578. # some people rename them; so instead we look at the file content.
  16579. # Grep'ing the first line is not enough: some people post-process
  16580. # each Makefile.in and add a new line on top of each file to say so.
  16581. # Grep'ing the whole file is not good either: AIX grep has a line
  16582. # limit of 2048, but all sed's we know have understand at least 4000.
  16583. if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
  16584. dirpart=`$as_dirname -- "$mf" ||
  16585. $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  16586. X"$mf" : 'X\(//\)[^/]' \| \
  16587. X"$mf" : 'X\(//\)$' \| \
  16588. X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
  16589. $as_echo X"$mf" |
  16590. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  16591. s//\1/
  16592. q
  16593. }
  16594. /^X\(\/\/\)[^/].*/{
  16595. s//\1/
  16596. q
  16597. }
  16598. /^X\(\/\/\)$/{
  16599. s//\1/
  16600. q
  16601. }
  16602. /^X\(\/\).*/{
  16603. s//\1/
  16604. q
  16605. }
  16606. s/.*/./; q'`
  16607. else
  16608. continue
  16609. fi
  16610. # Extract the definition of DEPDIR, am__include, and am__quote
  16611. # from the Makefile without running `make'.
  16612. DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
  16613. test -z "$DEPDIR" && continue
  16614. am__include=`sed -n 's/^am__include = //p' < "$mf"`
  16615. test -z "am__include" && continue
  16616. am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
  16617. # When using ansi2knr, U may be empty or an underscore; expand it
  16618. U=`sed -n 's/^U = //p' < "$mf"`
  16619. # Find all dependency output files, they are included files with
  16620. # $(DEPDIR) in their names. We invoke sed twice because it is the
  16621. # simplest approach to changing $(DEPDIR) to its actual value in the
  16622. # expansion.
  16623. for file in `sed -n "
  16624. s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
  16625. sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
  16626. # Make sure the directory exists.
  16627. test -f "$dirpart/$file" && continue
  16628. fdir=`$as_dirname -- "$file" ||
  16629. $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  16630. X"$file" : 'X\(//\)[^/]' \| \
  16631. X"$file" : 'X\(//\)$' \| \
  16632. X"$file" : 'X\(/\)' \| . 2>/dev/null ||
  16633. $as_echo X"$file" |
  16634. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  16635. s//\1/
  16636. q
  16637. }
  16638. /^X\(\/\/\)[^/].*/{
  16639. s//\1/
  16640. q
  16641. }
  16642. /^X\(\/\/\)$/{
  16643. s//\1/
  16644. q
  16645. }
  16646. /^X\(\/\).*/{
  16647. s//\1/
  16648. q
  16649. }
  16650. s/.*/./; q'`
  16651. as_dir=$dirpart/$fdir; as_fn_mkdir_p
  16652. # echo "creating $dirpart/$file"
  16653. echo '# dummy' > "$dirpart/$file"
  16654. done
  16655. done
  16656. }
  16657. ;;
  16658. "libtool":C)
  16659. # See if we are running on zsh, and set the options which allow our
  16660. # commands through without removal of \ escapes.
  16661. if test -n "${ZSH_VERSION+set}" ; then
  16662. setopt NO_GLOB_SUBST
  16663. fi
  16664. cfgfile="${ofile}T"
  16665. trap "$RM \"$cfgfile\"; exit 1" 1 2 15
  16666. $RM "$cfgfile"
  16667. cat <<_LT_EOF >> "$cfgfile"
  16668. #! $SHELL
  16669. # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
  16670. # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
  16671. # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
  16672. # NOTE: Changes made to this file will be lost: look at ltmain.sh.
  16673. #
  16674. # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
  16675. # 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
  16676. # Inc.
  16677. # Written by Gordon Matzigkeit, 1996
  16678. #
  16679. # This file is part of GNU Libtool.
  16680. #
  16681. # GNU Libtool is free software; you can redistribute it and/or
  16682. # modify it under the terms of the GNU General Public License as
  16683. # published by the Free Software Foundation; either version 2 of
  16684. # the License, or (at your option) any later version.
  16685. #
  16686. # As a special exception to the GNU General Public License,
  16687. # if you distribute this file as part of a program or library that
  16688. # is built using GNU Libtool, you may include this file under the
  16689. # same distribution terms that you use for the rest of that program.
  16690. #
  16691. # GNU Libtool is distributed in the hope that it will be useful,
  16692. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  16693. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  16694. # GNU General Public License for more details.
  16695. #
  16696. # You should have received a copy of the GNU General Public License
  16697. # along with GNU Libtool; see the file COPYING. If not, a copy
  16698. # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
  16699. # obtained by writing to the Free Software Foundation, Inc.,
  16700. # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  16701. # The names of the tagged configurations supported by this script.
  16702. available_tags="CXX "
  16703. # ### BEGIN LIBTOOL CONFIG
  16704. # Which release of libtool.m4 was used?
  16705. macro_version=$macro_version
  16706. macro_revision=$macro_revision
  16707. # Whether or not to build shared libraries.
  16708. build_libtool_libs=$enable_shared
  16709. # Whether or not to build static libraries.
  16710. build_old_libs=$enable_static
  16711. # What type of objects to build.
  16712. pic_mode=$pic_mode
  16713. # Whether or not to optimize for fast installation.
  16714. fast_install=$enable_fast_install
  16715. # Shell to use when invoking shell scripts.
  16716. SHELL=$lt_SHELL
  16717. # An echo program that protects backslashes.
  16718. ECHO=$lt_ECHO
  16719. # The host system.
  16720. host_alias=$host_alias
  16721. host=$host
  16722. host_os=$host_os
  16723. # The build system.
  16724. build_alias=$build_alias
  16725. build=$build
  16726. build_os=$build_os
  16727. # A sed program that does not truncate output.
  16728. SED=$lt_SED
  16729. # Sed that helps us avoid accidentally triggering echo(1) options like -n.
  16730. Xsed="\$SED -e 1s/^X//"
  16731. # A grep program that handles long lines.
  16732. GREP=$lt_GREP
  16733. # An ERE matcher.
  16734. EGREP=$lt_EGREP
  16735. # A literal string matcher.
  16736. FGREP=$lt_FGREP
  16737. # A BSD- or MS-compatible name lister.
  16738. NM=$lt_NM
  16739. # Whether we need soft or hard links.
  16740. LN_S=$lt_LN_S
  16741. # What is the maximum length of a command?
  16742. max_cmd_len=$max_cmd_len
  16743. # Object file suffix (normally "o").
  16744. objext=$ac_objext
  16745. # Executable file suffix (normally "").
  16746. exeext=$exeext
  16747. # whether the shell understands "unset".
  16748. lt_unset=$lt_unset
  16749. # turn spaces into newlines.
  16750. SP2NL=$lt_lt_SP2NL
  16751. # turn newlines into spaces.
  16752. NL2SP=$lt_lt_NL2SP
  16753. # convert \$build file names to \$host format.
  16754. to_host_file_cmd=$lt_cv_to_host_file_cmd
  16755. # convert \$build files to toolchain format.
  16756. to_tool_file_cmd=$lt_cv_to_tool_file_cmd
  16757. # An object symbol dumper.
  16758. OBJDUMP=$lt_OBJDUMP
  16759. # Method to check whether dependent libraries are shared objects.
  16760. deplibs_check_method=$lt_deplibs_check_method
  16761. # Command to use when deplibs_check_method = "file_magic".
  16762. file_magic_cmd=$lt_file_magic_cmd
  16763. # How to find potential files when deplibs_check_method = "file_magic".
  16764. file_magic_glob=$lt_file_magic_glob
  16765. # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
  16766. want_nocaseglob=$lt_want_nocaseglob
  16767. # DLL creation program.
  16768. DLLTOOL=$lt_DLLTOOL
  16769. # Command to associate shared and link libraries.
  16770. sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
  16771. # The archiver.
  16772. AR=$lt_AR
  16773. # Flags to create an archive.
  16774. AR_FLAGS=$lt_AR_FLAGS
  16775. # How to feed a file listing to the archiver.
  16776. archiver_list_spec=$lt_archiver_list_spec
  16777. # A symbol stripping program.
  16778. STRIP=$lt_STRIP
  16779. # Commands used to install an old-style archive.
  16780. RANLIB=$lt_RANLIB
  16781. old_postinstall_cmds=$lt_old_postinstall_cmds
  16782. old_postuninstall_cmds=$lt_old_postuninstall_cmds
  16783. # Whether to use a lock for old archive extraction.
  16784. lock_old_archive_extraction=$lock_old_archive_extraction
  16785. # A C compiler.
  16786. LTCC=$lt_CC
  16787. # LTCC compiler flags.
  16788. LTCFLAGS=$lt_CFLAGS
  16789. # Take the output of nm and produce a listing of raw symbols and C names.
  16790. global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
  16791. # Transform the output of nm in a proper C declaration.
  16792. global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
  16793. # Transform the output of nm in a C name address pair.
  16794. global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
  16795. # Transform the output of nm in a C name address pair when lib prefix is needed.
  16796. global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
  16797. # Specify filename containing input files for \$NM.
  16798. nm_file_list_spec=$lt_nm_file_list_spec
  16799. # The root where to search for dependent libraries,and in which our libraries should be installed.
  16800. lt_sysroot=$lt_sysroot
  16801. # The name of the directory that contains temporary libtool files.
  16802. objdir=$objdir
  16803. # Used to examine libraries when file_magic_cmd begins with "file".
  16804. MAGIC_CMD=$MAGIC_CMD
  16805. # Must we lock files when doing compilation?
  16806. need_locks=$lt_need_locks
  16807. # Manifest tool.
  16808. MANIFEST_TOOL=$lt_MANIFEST_TOOL
  16809. # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
  16810. DSYMUTIL=$lt_DSYMUTIL
  16811. # Tool to change global to local symbols on Mac OS X.
  16812. NMEDIT=$lt_NMEDIT
  16813. # Tool to manipulate fat objects and archives on Mac OS X.
  16814. LIPO=$lt_LIPO
  16815. # ldd/readelf like tool for Mach-O binaries on Mac OS X.
  16816. OTOOL=$lt_OTOOL
  16817. # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
  16818. OTOOL64=$lt_OTOOL64
  16819. # Old archive suffix (normally "a").
  16820. libext=$libext
  16821. # Shared library suffix (normally ".so").
  16822. shrext_cmds=$lt_shrext_cmds
  16823. # The commands to extract the exported symbol list from a shared archive.
  16824. extract_expsyms_cmds=$lt_extract_expsyms_cmds
  16825. # Variables whose values should be saved in libtool wrapper scripts and
  16826. # restored at link time.
  16827. variables_saved_for_relink=$lt_variables_saved_for_relink
  16828. # Do we need the "lib" prefix for modules?
  16829. need_lib_prefix=$need_lib_prefix
  16830. # Do we need a version for libraries?
  16831. need_version=$need_version
  16832. # Library versioning type.
  16833. version_type=$version_type
  16834. # Shared library runtime path variable.
  16835. runpath_var=$runpath_var
  16836. # Shared library path variable.
  16837. shlibpath_var=$shlibpath_var
  16838. # Is shlibpath searched before the hard-coded library search path?
  16839. shlibpath_overrides_runpath=$shlibpath_overrides_runpath
  16840. # Format of library name prefix.
  16841. libname_spec=$lt_libname_spec
  16842. # List of archive names. First name is the real one, the rest are links.
  16843. # The last name is the one that the linker finds with -lNAME
  16844. library_names_spec=$lt_library_names_spec
  16845. # The coded name of the library, if different from the real name.
  16846. soname_spec=$lt_soname_spec
  16847. # Permission mode override for installation of shared libraries.
  16848. install_override_mode=$lt_install_override_mode
  16849. # Command to use after installation of a shared archive.
  16850. postinstall_cmds=$lt_postinstall_cmds
  16851. # Command to use after uninstallation of a shared archive.
  16852. postuninstall_cmds=$lt_postuninstall_cmds
  16853. # Commands used to finish a libtool library installation in a directory.
  16854. finish_cmds=$lt_finish_cmds
  16855. # As "finish_cmds", except a single script fragment to be evaled but
  16856. # not shown.
  16857. finish_eval=$lt_finish_eval
  16858. # Whether we should hardcode library paths into libraries.
  16859. hardcode_into_libs=$hardcode_into_libs
  16860. # Compile-time system search path for libraries.
  16861. sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
  16862. # Run-time system search path for libraries.
  16863. sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
  16864. # Whether dlopen is supported.
  16865. dlopen_support=$enable_dlopen
  16866. # Whether dlopen of programs is supported.
  16867. dlopen_self=$enable_dlopen_self
  16868. # Whether dlopen of statically linked programs is supported.
  16869. dlopen_self_static=$enable_dlopen_self_static
  16870. # Commands to strip libraries.
  16871. old_striplib=$lt_old_striplib
  16872. striplib=$lt_striplib
  16873. # The linker used to build libraries.
  16874. LD=$lt_LD
  16875. # How to create reloadable object files.
  16876. reload_flag=$lt_reload_flag
  16877. reload_cmds=$lt_reload_cmds
  16878. # Commands used to build an old-style archive.
  16879. old_archive_cmds=$lt_old_archive_cmds
  16880. # A language specific compiler.
  16881. CC=$lt_compiler
  16882. # Is the compiler the GNU compiler?
  16883. with_gcc=$GCC
  16884. # Compiler flag to turn off builtin functions.
  16885. no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
  16886. # Additional compiler flags for building library objects.
  16887. pic_flag=$lt_lt_prog_compiler_pic
  16888. # How to pass a linker flag through the compiler.
  16889. wl=$lt_lt_prog_compiler_wl
  16890. # Compiler flag to prevent dynamic linking.
  16891. link_static_flag=$lt_lt_prog_compiler_static
  16892. # Does compiler simultaneously support -c and -o options?
  16893. compiler_c_o=$lt_lt_cv_prog_compiler_c_o
  16894. # Whether or not to add -lc for building shared libraries.
  16895. build_libtool_need_lc=$archive_cmds_need_lc
  16896. # Whether or not to disallow shared libs when runtime libs are static.
  16897. allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
  16898. # Compiler flag to allow reflexive dlopens.
  16899. export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
  16900. # Compiler flag to generate shared objects directly from archives.
  16901. whole_archive_flag_spec=$lt_whole_archive_flag_spec
  16902. # Whether the compiler copes with passing no objects directly.
  16903. compiler_needs_object=$lt_compiler_needs_object
  16904. # Create an old-style archive from a shared archive.
  16905. old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
  16906. # Create a temporary old-style archive to link instead of a shared archive.
  16907. old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
  16908. # Commands used to build a shared archive.
  16909. archive_cmds=$lt_archive_cmds
  16910. archive_expsym_cmds=$lt_archive_expsym_cmds
  16911. # Commands used to build a loadable module if different from building
  16912. # a shared archive.
  16913. module_cmds=$lt_module_cmds
  16914. module_expsym_cmds=$lt_module_expsym_cmds
  16915. # Whether we are building with GNU ld or not.
  16916. with_gnu_ld=$lt_with_gnu_ld
  16917. # Flag that allows shared libraries with undefined symbols to be built.
  16918. allow_undefined_flag=$lt_allow_undefined_flag
  16919. # Flag that enforces no undefined symbols.
  16920. no_undefined_flag=$lt_no_undefined_flag
  16921. # Flag to hardcode \$libdir into a binary during linking.
  16922. # This must work even if \$libdir does not exist
  16923. hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
  16924. # If ld is used when linking, flag to hardcode \$libdir into a binary
  16925. # during linking. This must work even if \$libdir does not exist.
  16926. hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
  16927. # Whether we need a single "-rpath" flag with a separated argument.
  16928. hardcode_libdir_separator=$lt_hardcode_libdir_separator
  16929. # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
  16930. # DIR into the resulting binary.
  16931. hardcode_direct=$hardcode_direct
  16932. # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
  16933. # DIR into the resulting binary and the resulting library dependency is
  16934. # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
  16935. # library is relocated.
  16936. hardcode_direct_absolute=$hardcode_direct_absolute
  16937. # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
  16938. # into the resulting binary.
  16939. hardcode_minus_L=$hardcode_minus_L
  16940. # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
  16941. # into the resulting binary.
  16942. hardcode_shlibpath_var=$hardcode_shlibpath_var
  16943. # Set to "yes" if building a shared library automatically hardcodes DIR
  16944. # into the library and all subsequent libraries and executables linked
  16945. # against it.
  16946. hardcode_automatic=$hardcode_automatic
  16947. # Set to yes if linker adds runtime paths of dependent libraries
  16948. # to runtime path list.
  16949. inherit_rpath=$inherit_rpath
  16950. # Whether libtool must link a program against all its dependency libraries.
  16951. link_all_deplibs=$link_all_deplibs
  16952. # Set to "yes" if exported symbols are required.
  16953. always_export_symbols=$always_export_symbols
  16954. # The commands to list exported symbols.
  16955. export_symbols_cmds=$lt_export_symbols_cmds
  16956. # Symbols that should not be listed in the preloaded symbols.
  16957. exclude_expsyms=$lt_exclude_expsyms
  16958. # Symbols that must always be exported.
  16959. include_expsyms=$lt_include_expsyms
  16960. # Commands necessary for linking programs (against libraries) with templates.
  16961. prelink_cmds=$lt_prelink_cmds
  16962. # Commands necessary for finishing linking programs.
  16963. postlink_cmds=$lt_postlink_cmds
  16964. # Specify filename containing input files.
  16965. file_list_spec=$lt_file_list_spec
  16966. # How to hardcode a shared library path into an executable.
  16967. hardcode_action=$hardcode_action
  16968. # The directories searched by this compiler when creating a shared library.
  16969. compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
  16970. # Dependencies to place before and after the objects being linked to
  16971. # create a shared library.
  16972. predep_objects=$lt_predep_objects
  16973. postdep_objects=$lt_postdep_objects
  16974. predeps=$lt_predeps
  16975. postdeps=$lt_postdeps
  16976. # The library search path used internally by the compiler when linking
  16977. # a shared library.
  16978. compiler_lib_search_path=$lt_compiler_lib_search_path
  16979. # ### END LIBTOOL CONFIG
  16980. _LT_EOF
  16981. case $host_os in
  16982. aix3*)
  16983. cat <<\_LT_EOF >> "$cfgfile"
  16984. # AIX sometimes has problems with the GCC collect2 program. For some
  16985. # reason, if we set the COLLECT_NAMES environment variable, the problems
  16986. # vanish in a puff of smoke.
  16987. if test "X${COLLECT_NAMES+set}" != Xset; then
  16988. COLLECT_NAMES=
  16989. export COLLECT_NAMES
  16990. fi
  16991. _LT_EOF
  16992. ;;
  16993. esac
  16994. ltmain="$ac_aux_dir/ltmain.sh"
  16995. # We use sed instead of cat because bash on DJGPP gets confused if
  16996. # if finds mixed CR/LF and LF-only lines. Since sed operates in
  16997. # text mode, it properly converts lines to CR/LF. This bash problem
  16998. # is reportedly fixed, but why not run on old versions too?
  16999. sed '$q' "$ltmain" >> "$cfgfile" \
  17000. || (rm -f "$cfgfile"; exit 1)
  17001. if test x"$xsi_shell" = xyes; then
  17002. sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
  17003. func_dirname ()\
  17004. {\
  17005. \ case ${1} in\
  17006. \ */*) func_dirname_result="${1%/*}${2}" ;;\
  17007. \ * ) func_dirname_result="${3}" ;;\
  17008. \ esac\
  17009. } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
  17010. && mv -f "$cfgfile.tmp" "$cfgfile" \
  17011. || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  17012. test 0 -eq $? || _lt_function_replace_fail=:
  17013. sed -e '/^func_basename ()$/,/^} # func_basename /c\
  17014. func_basename ()\
  17015. {\
  17016. \ func_basename_result="${1##*/}"\
  17017. } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
  17018. && mv -f "$cfgfile.tmp" "$cfgfile" \
  17019. || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  17020. test 0 -eq $? || _lt_function_replace_fail=:
  17021. sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
  17022. func_dirname_and_basename ()\
  17023. {\
  17024. \ case ${1} in\
  17025. \ */*) func_dirname_result="${1%/*}${2}" ;;\
  17026. \ * ) func_dirname_result="${3}" ;;\
  17027. \ esac\
  17028. \ func_basename_result="${1##*/}"\
  17029. } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
  17030. && mv -f "$cfgfile.tmp" "$cfgfile" \
  17031. || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  17032. test 0 -eq $? || _lt_function_replace_fail=:
  17033. sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
  17034. func_stripname ()\
  17035. {\
  17036. \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
  17037. \ # positional parameters, so assign one to ordinary parameter first.\
  17038. \ func_stripname_result=${3}\
  17039. \ func_stripname_result=${func_stripname_result#"${1}"}\
  17040. \ func_stripname_result=${func_stripname_result%"${2}"}\
  17041. } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
  17042. && mv -f "$cfgfile.tmp" "$cfgfile" \
  17043. || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  17044. test 0 -eq $? || _lt_function_replace_fail=:
  17045. sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
  17046. func_split_long_opt ()\
  17047. {\
  17048. \ func_split_long_opt_name=${1%%=*}\
  17049. \ func_split_long_opt_arg=${1#*=}\
  17050. } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
  17051. && mv -f "$cfgfile.tmp" "$cfgfile" \
  17052. || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  17053. test 0 -eq $? || _lt_function_replace_fail=:
  17054. sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
  17055. func_split_short_opt ()\
  17056. {\
  17057. \ func_split_short_opt_arg=${1#??}\
  17058. \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
  17059. } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
  17060. && mv -f "$cfgfile.tmp" "$cfgfile" \
  17061. || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  17062. test 0 -eq $? || _lt_function_replace_fail=:
  17063. sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
  17064. func_lo2o ()\
  17065. {\
  17066. \ case ${1} in\
  17067. \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
  17068. \ *) func_lo2o_result=${1} ;;\
  17069. \ esac\
  17070. } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
  17071. && mv -f "$cfgfile.tmp" "$cfgfile" \
  17072. || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  17073. test 0 -eq $? || _lt_function_replace_fail=:
  17074. sed -e '/^func_xform ()$/,/^} # func_xform /c\
  17075. func_xform ()\
  17076. {\
  17077. func_xform_result=${1%.*}.lo\
  17078. } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
  17079. && mv -f "$cfgfile.tmp" "$cfgfile" \
  17080. || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  17081. test 0 -eq $? || _lt_function_replace_fail=:
  17082. sed -e '/^func_arith ()$/,/^} # func_arith /c\
  17083. func_arith ()\
  17084. {\
  17085. func_arith_result=$(( $* ))\
  17086. } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
  17087. && mv -f "$cfgfile.tmp" "$cfgfile" \
  17088. || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  17089. test 0 -eq $? || _lt_function_replace_fail=:
  17090. sed -e '/^func_len ()$/,/^} # func_len /c\
  17091. func_len ()\
  17092. {\
  17093. func_len_result=${#1}\
  17094. } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
  17095. && mv -f "$cfgfile.tmp" "$cfgfile" \
  17096. || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  17097. test 0 -eq $? || _lt_function_replace_fail=:
  17098. fi
  17099. if test x"$lt_shell_append" = xyes; then
  17100. sed -e '/^func_append ()$/,/^} # func_append /c\
  17101. func_append ()\
  17102. {\
  17103. eval "${1}+=\\${2}"\
  17104. } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
  17105. && mv -f "$cfgfile.tmp" "$cfgfile" \
  17106. || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  17107. test 0 -eq $? || _lt_function_replace_fail=:
  17108. sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
  17109. func_append_quoted ()\
  17110. {\
  17111. \ func_quote_for_eval "${2}"\
  17112. \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
  17113. } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
  17114. && mv -f "$cfgfile.tmp" "$cfgfile" \
  17115. || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  17116. test 0 -eq $? || _lt_function_replace_fail=:
  17117. # Save a `func_append' function call where possible by direct use of '+='
  17118. sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
  17119. && mv -f "$cfgfile.tmp" "$cfgfile" \
  17120. || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  17121. test 0 -eq $? || _lt_function_replace_fail=:
  17122. else
  17123. # Save a `func_append' function call even when '+=' is not available
  17124. sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
  17125. && mv -f "$cfgfile.tmp" "$cfgfile" \
  17126. || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  17127. test 0 -eq $? || _lt_function_replace_fail=:
  17128. fi
  17129. if test x"$_lt_function_replace_fail" = x":"; then
  17130. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
  17131. $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
  17132. fi
  17133. mv -f "$cfgfile" "$ofile" ||
  17134. (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
  17135. chmod +x "$ofile"
  17136. cat <<_LT_EOF >> "$ofile"
  17137. # ### BEGIN LIBTOOL TAG CONFIG: CXX
  17138. # The linker used to build libraries.
  17139. LD=$lt_LD_CXX
  17140. # How to create reloadable object files.
  17141. reload_flag=$lt_reload_flag_CXX
  17142. reload_cmds=$lt_reload_cmds_CXX
  17143. # Commands used to build an old-style archive.
  17144. old_archive_cmds=$lt_old_archive_cmds_CXX
  17145. # A language specific compiler.
  17146. CC=$lt_compiler_CXX
  17147. # Is the compiler the GNU compiler?
  17148. with_gcc=$GCC_CXX
  17149. # Compiler flag to turn off builtin functions.
  17150. no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
  17151. # Additional compiler flags for building library objects.
  17152. pic_flag=$lt_lt_prog_compiler_pic_CXX
  17153. # How to pass a linker flag through the compiler.
  17154. wl=$lt_lt_prog_compiler_wl_CXX
  17155. # Compiler flag to prevent dynamic linking.
  17156. link_static_flag=$lt_lt_prog_compiler_static_CXX
  17157. # Does compiler simultaneously support -c and -o options?
  17158. compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
  17159. # Whether or not to add -lc for building shared libraries.
  17160. build_libtool_need_lc=$archive_cmds_need_lc_CXX
  17161. # Whether or not to disallow shared libs when runtime libs are static.
  17162. allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
  17163. # Compiler flag to allow reflexive dlopens.
  17164. export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
  17165. # Compiler flag to generate shared objects directly from archives.
  17166. whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
  17167. # Whether the compiler copes with passing no objects directly.
  17168. compiler_needs_object=$lt_compiler_needs_object_CXX
  17169. # Create an old-style archive from a shared archive.
  17170. old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
  17171. # Create a temporary old-style archive to link instead of a shared archive.
  17172. old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
  17173. # Commands used to build a shared archive.
  17174. archive_cmds=$lt_archive_cmds_CXX
  17175. archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
  17176. # Commands used to build a loadable module if different from building
  17177. # a shared archive.
  17178. module_cmds=$lt_module_cmds_CXX
  17179. module_expsym_cmds=$lt_module_expsym_cmds_CXX
  17180. # Whether we are building with GNU ld or not.
  17181. with_gnu_ld=$lt_with_gnu_ld_CXX
  17182. # Flag that allows shared libraries with undefined symbols to be built.
  17183. allow_undefined_flag=$lt_allow_undefined_flag_CXX
  17184. # Flag that enforces no undefined symbols.
  17185. no_undefined_flag=$lt_no_undefined_flag_CXX
  17186. # Flag to hardcode \$libdir into a binary during linking.
  17187. # This must work even if \$libdir does not exist
  17188. hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
  17189. # If ld is used when linking, flag to hardcode \$libdir into a binary
  17190. # during linking. This must work even if \$libdir does not exist.
  17191. hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
  17192. # Whether we need a single "-rpath" flag with a separated argument.
  17193. hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
  17194. # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
  17195. # DIR into the resulting binary.
  17196. hardcode_direct=$hardcode_direct_CXX
  17197. # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
  17198. # DIR into the resulting binary and the resulting library dependency is
  17199. # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
  17200. # library is relocated.
  17201. hardcode_direct_absolute=$hardcode_direct_absolute_CXX
  17202. # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
  17203. # into the resulting binary.
  17204. hardcode_minus_L=$hardcode_minus_L_CXX
  17205. # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
  17206. # into the resulting binary.
  17207. hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
  17208. # Set to "yes" if building a shared library automatically hardcodes DIR
  17209. # into the library and all subsequent libraries and executables linked
  17210. # against it.
  17211. hardcode_automatic=$hardcode_automatic_CXX
  17212. # Set to yes if linker adds runtime paths of dependent libraries
  17213. # to runtime path list.
  17214. inherit_rpath=$inherit_rpath_CXX
  17215. # Whether libtool must link a program against all its dependency libraries.
  17216. link_all_deplibs=$link_all_deplibs_CXX
  17217. # Set to "yes" if exported symbols are required.
  17218. always_export_symbols=$always_export_symbols_CXX
  17219. # The commands to list exported symbols.
  17220. export_symbols_cmds=$lt_export_symbols_cmds_CXX
  17221. # Symbols that should not be listed in the preloaded symbols.
  17222. exclude_expsyms=$lt_exclude_expsyms_CXX
  17223. # Symbols that must always be exported.
  17224. include_expsyms=$lt_include_expsyms_CXX
  17225. # Commands necessary for linking programs (against libraries) with templates.
  17226. prelink_cmds=$lt_prelink_cmds_CXX
  17227. # Commands necessary for finishing linking programs.
  17228. postlink_cmds=$lt_postlink_cmds_CXX
  17229. # Specify filename containing input files.
  17230. file_list_spec=$lt_file_list_spec_CXX
  17231. # How to hardcode a shared library path into an executable.
  17232. hardcode_action=$hardcode_action_CXX
  17233. # The directories searched by this compiler when creating a shared library.
  17234. compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
  17235. # Dependencies to place before and after the objects being linked to
  17236. # create a shared library.
  17237. predep_objects=$lt_predep_objects_CXX
  17238. postdep_objects=$lt_postdep_objects_CXX
  17239. predeps=$lt_predeps_CXX
  17240. postdeps=$lt_postdeps_CXX
  17241. # The library search path used internally by the compiler when linking
  17242. # a shared library.
  17243. compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
  17244. # ### END LIBTOOL TAG CONFIG: CXX
  17245. _LT_EOF
  17246. ;;
  17247. esac
  17248. done # for ac_tag
  17249. as_fn_exit 0
  17250. _ACEOF
  17251. ac_clean_files=$ac_clean_files_save
  17252. test $ac_write_fail = 0 ||
  17253. as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
  17254. # configure is writing to config.log, and then calls config.status.
  17255. # config.status does its own redirection, appending to config.log.
  17256. # Unfortunately, on DOS this fails, as config.log is still kept open
  17257. # by configure, so config.status won't be able to write to it; its
  17258. # output is simply discarded. So we exec the FD to /dev/null,
  17259. # effectively closing config.log, so it can be properly (re)opened and
  17260. # appended to by config.status. When coming back to configure, we
  17261. # need to make the FD available again.
  17262. if test "$no_create" != yes; then
  17263. ac_cs_success=:
  17264. ac_config_status_args=
  17265. test "$silent" = yes &&
  17266. ac_config_status_args="$ac_config_status_args --quiet"
  17267. exec 5>/dev/null
  17268. $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
  17269. exec 5>>config.log
  17270. # Use ||, not &&, to avoid exiting from the if with $? = 1, which
  17271. # would make configure fail if this is the last instruction.
  17272. $ac_cs_success || as_fn_exit 1
  17273. fi
  17274. if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
  17275. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
  17276. $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
  17277. fi